AdsGetLocalAddress

Returns the local NetId and port number.

LONG AdsGetLocalAddress(
     PAmsAddr  pAddr
);

Parameter

pAddr

[out] Pointer to the structure of type AmsAddr.

Return value

Returns the function's error status.

Example

See example 2.