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 code | Description |
|---|---|
|
All resources for the bitblt are in GPU-accessible memory. |
|
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 |
|
See also
Send comments about this topic to Microsoft
Build date: 11/29/2012