IDirect3DRMObject::SetName

Sets the object's name.

HRESULT SetName(
const char * lpName
);

Parameters

lpName

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

Return Values

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

See Also

IDirect3DRMObject::GetName