Microsoft DirectX 9.0 |
The GetMaxLength method retrieves the maximum number of bytes this buffer can hold.
Syntax
HRESULT GetMaxLength(
DWORD* pcbMaxLength
);
Parameters
pcbMaxLength
[out] Pointer to a variable that receives the buffer's maximum size, in bytes.
Return Value
Returns S_OK if successful. Otherwise, returns an HRESULT value indicating the cause of the error.
See Also