DXGKDDI_GETSCANLINE callback function

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_CONST_HANDLE hAdapter,
  INOUT_PDXGKARG_GETSCANLINE pGetScanLine
)
{...}

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 Microsoft DirectX graphics kernel subsystem in the MiniportDeviceContext output parameter of the DxgkDdiAddDevice function.

pGetScanLine

[in/out] 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

   
Windows version Available in Windows Vista and later versions of the Windows operating systems.
Target Platform Desktop
Header d3dkmddi.h
IRQL PASSIVE_LEVEL

See Also

DXGKARG_GETSCANLINE

DxgkDdiAddDevice