HRESULT GetMaterial(LPDIRECT3DRMMATERIAL* lplpMaterial);
Retrieves the material of a Direct3DRMFace object.
·Returns D3DRM_OK if successful, or an error otherwise. For a list of possible return codes, see Direct3D Retained-Mode Return Values.
lplpMaterial
Address of a variable that will be filled with a pointer to the Direct3DRMMaterial object applied to the face.