DXGKDDI_SETINTERRUPTTARGETPRESENTID - NtDoc

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

DXGKDDI_SETINTERRUPTTARGETPRESENTID DxgkddiSetinterrupttargetpresentid;

NTSTATUS DxgkddiSetinterrupttargetpresentid(
  IN_CONST_HANDLE hAdapter,
  IN_CONST_PDXGKARG_SETINTERRUPTTARGETPRESENTID pSetInterruptTargetPresentId
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-d3dkmddi-dxgkddi_setinterrupttargetpresentid)

Description

The OS calls a display driver's DXGKDDI_SETINTERRUPTTARGETPRESENTID function to specify the target PresentId that should result in a Vsync interrupt being raised when the corresponding flip is completed.

Parameters

hAdapter

[in] A handle to a context block that is associated with a display adapter. The display miniport driver previously provided this handle to the DirectX graphics kernel subsystem in the MiniportDeviceContext output parameter of the DxgkDdiAddDevice function.

pSetInterruptTargetPresentId

[in] Pointer to a DXGKARG_SETINTERRUPTTARGETPRESENTID structure containing the parameters for this function.

Return value

DXGKDDI_SETINTERRUPTTARGETPRESENTID returns STATUS_SUCCESS. The driver should always return a success code.

Remarks

DXGKDDI_SETINTERRUPTTARGETPRESENTID is called at the device interrupt level to synchronize with DXGKDDI_SETVIDPNSOURCEADDRESS and the VSync interrupt.

See Specifying Vsync interrupt behavior for more information.

See also

DXGKARG_SETINTERRUPTTARGETPRESENTID