// d3d10umddi.h
PFND3D11_1DDI_GETCAPTUREHANDLE Pfnd3d111DdiGetcapturehandle;
VOID Pfnd3d111DdiGetcapturehandle(
D3D10DDI_HDEVICE hDevice,
D3D11_1DDI_GETCAPTUREHANDLEDATA *pHandleData
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
Returns the handle for a specified resource that was allocated by the driver. This function also returns the size and location of specified data within the resource.
hDeviceA handle to the display device (graphics context).
pHandleDataA pointer to a D3D11_1DDI_GETCAPTUREHANDLEDATA structure that defines the resource allocation.
Before the Microsoft Direct3D runtime calls the GetCaptureHandle function, it sets the hResource and ArrayIndex members of the D3D11_1DDI_GETCAPTUREHANDLEDATA structure to specify a resource. When this function is called, the driver updates the structure with the kernel mode allocation handle associated with the specified resource, as well as the size of the resource data and its offset within an allocated block of memory.
Note The Direct3D runtime calls this function only for resources that were created with the D3D11_DDI_BIND_CAPTURE flag.
D3D11_1DDI_GETCAPTUREHANDLEDATA