IDirect3DRMTexture::InitFromSurface
Initializes a texture by using the data from a given DirectDraw surface.
HRESULT InitFromSurface(
LPDIRECTDRAWSURFACE lpDDS
);
Parameters
lpDDS
Address of a DirectDraw surface from which initialization information is drawn.
Return Values
Returns D3DRM_OK if successful, or an error otherwise. For a list of possible return codes, see Direct3D Retained-Mode Return Values.
See Also
IDirect3DRMTexture::InitFromFile, IDirect3DRMTexture::InitFromResource