AmsNetId
Property returning the AmsNetId of the TwinCAT system in question as a character string.
HRESULT AmsNetId(
[out,retval] BSTR* pVal,
);
Parameters
pVal | [out, retval] |
Return Values
HRESULT == S_OK | Reading successful. |
HRESULT != S_OK | Error during reading of AmsNetId. |
Comments
After AmsNetId has been called, AmsNetId is available as a character string. The memory for the character string is provided by the system and does not have to be allocated by the calling application. If this method is called from C or C++ without "wrapper" functions, the calling application is responsible for releasing the memory via SysFreeString.