to complete __CaptureBufferDX9