HRESULT GetNamedObject(const char * lpName,
LPDIRECT3DRMOBJECT* lplpD3DRMObject);
Finds a Direct3DRMObject, given its name.
·Returns D3DRM_OK if successful, or an error otherwise. For a list of possible return codes, see Direct3D Retained-Mode Return Values.
lpName
Name of the object to be searched for.
lplpD3DRMObject
Address of a pointer to be initialized with a valid Direct3DRMObject pointer if the call succeeds.