Microsoft DirectX 8.1 (C++) |
The GetUserData method retrieves the application-defined persistent data.
Syntax
HRESULT GetUserData(
BYTE *pData,
long *pSize
);
Parameters
pData
Pointer to a buffer that receives the data. To determine the size of buffer to allocate, set this parameter to NULL. The required size is returned in pSize.
pSize
Pointer to a variable that receives the size of the data, in bytes.
Return Value
Returns S_OK if successful, or E_POINTER otherwise.
See Also