PFND3DDDI_CAPTURETOSYSMEM - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// d3dumddi.h

PFND3DDDI_CAPTURETOSYSMEM Pfnd3dddiCapturetosysmem;

HRESULT Pfnd3dddiCapturetosysmem(
  HANDLE hDevice,
  const D3DDDIARG_CAPTURETOSYSMEM *unnamedParam2
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-d3dumddi-pfnd3dddi_capturetosysmem)

PFND3DDDI_CAPTURETOSYSMEM callback function

Description

The CaptureToSysMem function copies the contents of a capture buffer to a destination surface.

Parameters

hDevice

A handle to the display device (graphics context).

unnamedParam2

pData [in]

A pointer to a D3DDDIARG_CAPTURETOSYSMEM structure that describes the parameters of the bit-block transfer (bitblt).

Return value

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.

Remarks

The CaptureToSysMem function is similar to the Blt function except that CaptureToSysMem supports copying only from a capture buffer.

See also

D3DDDIARG_CAPTURETOSYSMEM

D3DDDI_DEVICEFUNCS