AdsSyncReadReq
Reads data synchronously from an ADS server.
LONG AdsSyncReadReq(
PAmsAddr pAddr,
ULONG nIndexGroup,
ULONG nIndexOffset,
ULONG nLength,
PVOID pData
);
Parameter
pAddr
[in] Structure with NetId and port number of the ADS server.
nIndexGroup
[in] Index Group.
nIndexOffset
[in] Index Offset.
nLength
[in] Length of the data in bytes.
pData
[out] Pointer to a data buffer that will receive the data.
Return value
Returns the function's error state.
See also