// d3dkmddi.h
DXGKCB_GETCAPTUREADDRESS DxgkcbGetcaptureaddress;
NTSTATUS DxgkcbGetcaptureaddress(
[in/out] INOUT_PDXGKARGCB_GETCAPTUREADDRESS unnamedParam1
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
DXGKCB_GETCAPTUREADDRESS retrieves the physical address and segment identifier of a capture buffer that is associated with the given allocation handle.
unnamedParam1 [in/out]A pointer to a DXGKARGCB_GETCAPTUREADDRESS structure that describes parameters for retrieving information about a capture buffer.
DXGKCB_GETCAPTUREADDRESS returns one of the following values:
| Return code | Description |
|---|---|
| STATUS_SUCCESS | DXGKCB_GETCAPTUREADDRESS successfully retrieved the capture buffer information. |
| STATUS_INVALID_PARAMETER | The allocation handle that is specified in the hAllocation member of the DXGKARGCB_GETCAPTUREADDRESS structure that the pData parameter pointed to was either invalid or did not represent a capture buffer. |
DXGKCB_GETCAPTUREADDRESS might also return other error codes that are defined in Ntstatus.h.
DXGKCB_XXX functions are implemented by Dxgkrnl. To use this callback function, set the appropriate members of DXGKARGCB_GETCAPTUREADDRESS and then call DxgkCbGetCaptureAddress via the DXGKRNL_INTERFACE.