Read
Reads the value of a variable from an ADS device as a byte stream.
HRESULT Read(
long indexGroup,
long indexOffset,
long cbLen,
long* pcbRead,
[out, size_is(cbLen),
length_is(*pcbRead)] byte* pData
);
Parameter
indexGroup | [in] Variable of type long containing the index group of the variable to be read. |
indexOffset | [in] Variable of type long containing the index offset of the variable to be read. |
cbLen | [in] Number of bytes to be read from the variable. |
pcbRead | [out] Pointer to a variable which returns the number of bytes (really) read. |
pData | [out, size_is(cbLen), length_is(*pcbRead)] Pointer to the first element of a byte array with length cbLen of the data to be read from a variable in an ADS device. |