DXGKDDI_GETSCANLINE callback function (d3dkmddi.h)

The DxgkDdiGetScanLine function determines whether the specified video present target of a video present network (VidPN) is in vertical blanking mode and retrieves the current scan line.

Syntax

DXGKDDI_GETSCANLINE DxgkddiGetscanline;

NTSTATUS DxgkddiGetscanline(
  [in]     IN_CONST_HANDLE hAdapter,
  [in/out] INOUT_PDXGKARG_GETSCANLINE pGetScanLine
)
{...}

Parameters

[in] hAdapter

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

[in/out] pGetScanLine

A pointer to a DXGKARG_GETSCANLINE structure that contains the vertical blanking status of a video present target.

Return value

DxgkDdiGetScanLine returns STATUS_SUCCESS if it succeeds; otherwise, it returns one of the error codes defined in Ntstatus.h.

Remarks

DxgkDdiGetScanLine should be made pageable.

Requirements

Requirement Value
Minimum supported client Windows Vista
Target Platform Desktop
Header d3dkmddi.h
IRQL PASSIVE_LEVEL

See also

DXGKARG_GETSCANLINE

DxgkDdiAddDevice