IDirect3DRMTexture::InitFromResource

HRESULT InitFromResource(HRSRC rs);

Initializes a Direct3DRMTexture object from a specified resource.

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

rs

Handle of the specified resource.