Creates contents of Image to D3D surface.
function CreateD3DSurfaceFromImage(const Image: TImageData; Surface: IDirect3DSurface9): Boolean;
ImagingDirect3D9 (at line 148)
Surface must exist before calling this function so it can be used to fill various types of surfaces (textures surfaces, offscreen, depth buffer, ...). Surface must be lockable for function to work.