HRESULT SetTexture(LPDIRECT3DRMTEXTURE lpD3DRMTexture);
Sets the texture of the frame.
·Returns D3DRM_OK if successful, or an error otherwise. For a list of possible return codes, see Direct3D Retained-Mode Return Values.
lpD3DRMTexture
Address of a variable that represents the Direct3DRMTexture object to be used.
The texture is used for meshes in the frame when the D3DRMMATERIALMODE enumerated type is D3DRMMATERIAL_FROMFRAME. To disable the frame's texture, use a NULL texture.