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

ADS · 0 次阅读

adsAmsPortEnabledEx

Returns a truth value indicating whether the passed port is open (thread-safe).

long adsAmsPortEnabledEx (
  long     lj_port,
  JNIBool  lj_pEnabled
);

Parameter

  • long: lj_port port number of an ADS port that had previously been opened with AdsPortOpenEx or AdsPortOpen.
  • JNIBool: j_pEnabled JNIBool buffer which contains the truth value after the call.

Return value

long: returns the error state of the function.