// d3dkmddi.h
DXGKDDI_GETSCANLINE DxgkddiGetscanline;
NTSTATUS DxgkddiGetscanline(
[in] IN_CONST_HANDLE hAdapter,
[in/out] INOUT_PDXGKARG_GETSCANLINE pGetScanLine
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
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.
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.
DxgkDdiGetScanLine returns STATUS_SUCCESS if it succeeds; otherwise, it returns one of the error codes defined in Ntstatus.h.
DxgkDdiGetScanLine should be made pageable.