IDirect3DRMObject::DeleteDestroyCallback

HRESULT DeleteDestroyCallback(D3DRMOBJECTCALLBACK d3drmObjProc,

LPVOID lpArg);

Removes a function previously registered with the IDirect3DRMObject::AddDestroyCallback method.

·Returns D3DRM_OK if successful, or an error otherwise. For a list of possible return codes, see Direct3D Retained-Mode Return Values.

d3drmObjProc

User-defined D3DRMOBJECTCALLBACK callback function that will be called when the object is destroyed.

lpArg

Address of application-defined data passed to the callback function.