Creates image filled with contents of input D3D surface.
function CreateImageFromD3DSurface(Surface: IDirect3DSurface9; var Image: TImageData): Boolean;
ImagingDirect3D9 (at line 151)
Surface must be lockable for function to work.