D3DDDIARG_CAPTURETOSYSMEM structure

The D3DDDIARG_CAPTURETOSYSMEM structure describes the parameters of a bit-block transfer (bitblt) from a capture buffer to a video memory surface.

Syntax

typedef struct _D3DDDIARG_CAPTURETOSYSMEM {
  HANDLE hSrcResource;
  RECT   SrcRect;
  HANDLE hDstResource;
  UINT   DstSubResourceIndex;
  RECT   DstRect;
} D3DDDIARG_CAPTURETOSYSMEM;

Members

hSrcResource

[in] A handle to the source resource.

SrcRect

[in] A RECT structure for the source rectangle.

hDstResource

[in] A handle to the destination resource.

DstSubResourceIndex

[in] The index to the destination surface within the resource.

DstRect

[in] A RECT structure for the destination rectangle.

Remarks

Because the source resource that is specified by the hSrcResource member is a capture buffer, it is guaranteed to be a stand alone resource. Therefore, in a call to CaptureToSysMem, the Microsoft Direct3D runtime is not required to supply an index to a sub source surface within the resource. However, an index to a sub source surface is required when the runtime calls the user-mode display driver's Blt function to perform a more general bitblt.

Requirements

   
Minimum supported client Available in Windows Vista and later versions of the Windows operating systems.
Header d3dumddi.h (include D3dumddi.h)

See Also

Blt

CaptureToSysMem

RECT