DXGKCB_GETCAPTUREADDRESS callback function (d3dkmddi.h)
DXGKCB_GETCAPTUREADDRESS retrieves the physical address and segment identifier of a capture buffer that is associated with the given allocation handle.
Syntax
DXGKCB_GETCAPTUREADDRESS DxgkcbGetcaptureaddress;
NTSTATUS DxgkcbGetcaptureaddress(
[in/out] INOUT_PDXGKARGCB_GETCAPTUREADDRESS unnamedParam1
)
{...}
Parameters
[in/out] unnamedParam1
A pointer to a DXGKARGCB_GETCAPTUREADDRESS structure that describes parameters for retrieving information about a capture buffer.
Return value
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.
Remarks
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.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista (WDDM 1.0) |
Target Platform | Desktop |
Header | d3dkmddi.h (include D3dkmddi.h) |
IRQL | PASSIVE_LEVEL |