HRESULT SetAppData(DWORD ulData);
Sets the 32 bits of application-specific data in the object.
·Returns D3DRM_OK if successful, or an error otherwise. For a list of possible return codes, see Direct3D Retained-Mode Return Values.
ulData
User-defined data to be stored with the object.