IDirect3DTexture::Load

HRESULT Load(LPDIRECT3DTEXTURE lpD3DTexture);

Loads a texture that was created with the DDSCAPS_ALLOCONLOAD flag, which indicates that memory for the DirectDraw surface is not allocated until the surface is loaded by using this method.

·Returns D3D_OK if successful, or an error otherwise. For a list of possible return values, see Direct3D Immediate-Mode Return Values.

lpD3DTexture

Address of the texture to load.