Infosys在阅读器中打开 / AI 翻译

ADS · 0 次阅读

AdsAmsPortEnabledEx

Returns the state of the ADS client connection.

LONG AdsAmsPortEnabledEx(
  LONG       nPort,
  BOOL*      pbEnabled
);

Parameter

nPort

[in] port number of an ADS port that had previously been opened with AdsPortOpenEx or AdsPortOpen.

pbEnabled

[out] Buffer for the state value.

Return value

Returns the function's error state.

Sample

-