Microsoft DirectX 9.0 |
The SetUserData method sets application-defined persistent data.
Syntax
HRESULT SetUserData(
BYTE *pData,
long Size
)
Parameters
pData
Pointer to a buffer containing the data.
Size
Size of the data, in bytes.
Return Value
Returns S_OK if successful, or E_OUTOFMEMORY if there is insufficient memory.
Requirements
Header: Include Qedit.h. This header file is not compatible with Microsoft® Direct3D® headers later than version 7.
Library: Use strmiids.lib.
See Also