D3DDDIARG_CAPTURETOSYSMEM - NtDoc

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

typedef struct _D3DDDIARG_CAPTURETOSYSMEM {
  [in] HANDLE hSrcResource;
  [in] RECT   SrcRect;
  [in] HANDLE hDstResource;
  [in] UINT   DstSubResourceIndex;
  [in] RECT   DstRect;
} D3DDDIARG_CAPTURETOSYSMEM;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-d3dumddi-_d3dddiarg_capturetosysmem)

_D3DDDIARG_CAPTURETOSYSMEM structure

Description

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

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.

See also

Blt

CaptureToSysMem

RECT