IDirect3DRM::LoadTextureFromResource

HRESULT LoadTextureFromResource(HRSRC rs,

LPDIRECT3DRMTEXTURE * lplpD3DRMTexture);

Loads a texture 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 resource.

lplpD3DRMTexture

Address of a pointer to be initialized with a valid Direct3DRMTexture object if the call succeeds.