// 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 referenceNo description available.
The D3DDDIARG_CAPTURETOSYSMEM structure describes the parameters of a bit-block transfer (bitblt) from a capture buffer to a video memory surface.
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.
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.