// d3dumddi.h
PFND3DDDI_CAPTURETOSYSMEM Pfnd3dddiCapturetosysmem;
HRESULT Pfnd3dddiCapturetosysmem(
HANDLE hDevice,
const D3DDDIARG_CAPTURETOSYSMEM *unnamedParam2
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
The CaptureToSysMem function copies the contents of a capture buffer to a destination surface.
hDeviceA handle to the display device (graphics context).
unnamedParam2pData [in]
A pointer to a D3DDDIARG_CAPTURETOSYSMEM structure that describes the parameters of the bit-block transfer (bitblt).
CaptureToSysMem returns one of the following values:
| Return code | Description |
|---|---|
| S_OK | All resources for the bitblt are in GPU-accessible memory. |
| E_OUTOFMEMORY | CaptureToSysMem could not allocate the required memory for it to complete. |
The CaptureToSysMem function is similar to the Blt function except that CaptureToSysMem supports copying only from a capture buffer.