Blt
Expand Minimize

CaptureToSysMem routine

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

Syntax


PFND3DDDI_CAPTURETOSYSMEM CaptureToSysMem;

__checkReturn HRESULT APIENTRY CaptureToSysMem(
  _In_  HANDLE hDevice,
  _In_  const D3DDDIARG_CAPTURETOSYSMEM *pData
)
{ ... }

Parameters

hDevice [in]

A handle to the display device (graphics context).

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 codeDescription
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.

Requirements

Version

Available in Windows Vista and later versions of the Windows operating systems.

Header

D3dumddi.h (include D3dumddi.h)

See also

D3DDDIARG_CAPTURETOSYSMEM
D3DDDI_DEVICEFUNCS

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft