Previous | Next |
The GetMaxLength method retrieves the maximum size to which a buffer can be set.
Syntax
HRESULT GetMaxLength(
DWORD* pdwLength
);
Parameters
pdwLength
[out] Pointer to a double word containing the maximum length 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 |