IDirect3DRMObject::SetName

HRESULT SetName(const char * lpName);

Sets the object's name.

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

lpName

User-defined data to be the name for the object.