Bewerken

Delen via


D3DDDIARG_CAPTURETOSYSMEM structure (d3dumddi.h)

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 {
  [in] HANDLE hSrcResource;
  [in] RECT   SrcRect;
  [in] HANDLE hDstResource;
  [in] UINT   DstSubResourceIndex;
  [in] RECT   DstRect;
} D3DDDIARG_CAPTURETOSYSMEM;

Members

[in] hSrcResource

A handle to the source resource.

[in] SrcRect

A RECT structure for the source rectangle.

[in] hDstResource

A handle to the destination resource.

[in] DstSubResourceIndex

The index to the destination surface within the resource.

[in] DstRect

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

Requirement Value
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