Removed CPU pixelformat conversion after I found a method of obtaining the IDirectDraw-interface through a DirectX7 method (DirectDrawSurface2::GetDDInterface). Using async hardware blitting, but still have to map buffer memory to client memory and copy data to memory capture. Several issues remain, like the surface loss when alt-tabbing.