Previous | Next |
The GetLength method retrieves the size of the used portion of the buffer.
Syntax
HRESULT GetLength(
DWORD* pdwLength
);
Parameters
pdwLength
[out] Pointer to a double word containing the length of the buffer in bytes.
Return Values
If the method succeeds, it returns S_OK. If it fails, it returns an HRESULT error code.
Return code | Description |
E_POINTER | pdwLength is NULL. |
See Also
Previous | Next |