Expand Minimize

DxgkDdiGetScanLine routine

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


PDXGKDDI_GETSCANLINE DxgkDdiGetScanLine;

NTSTATUS APIENTRY DxgkDdiGetScanLine(
  _In_     const HANDLE hAdapter,
  _Inout_  DXGKARG_GETSCANLINE *pGetScanLine
)
{ ... }

Parameters

hAdapter [in]

[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]

[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

Version

Available in Windows Vista and later versions of the Windows operating systems.

Header

D3dkmddi.h (include D3dkmddi.h)

IRQL

PASSIVE_LEVEL

See also

DXGKARG_GETSCANLINE
DxgkDdiAddDevice

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft