Direct3DRMCreate

HRESULT Direct3DRMCreate(LPDIRECT3DRM FAR * lplpD3DRM);

Creates an instance of a Direct3DRM object.

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

lplpD3DRM

Address of a pointer that will be initialized with a valid Direct3DRM pointer if the call succeeds.