// d3dkmthk.h
typedef struct _D3DKMT_GETSCANLINE {
[in] D3DKMT_HANDLE hAdapter;
[in] D3DDDI_VIDEO_PRESENT_SOURCE_ID VidPnSourceId;
[out] BOOLEAN InVerticalBlank;
[out] UINT ScanLine;
} D3DKMT_GETSCANLINE;
View the official Windows Driver Kit DDI referenceNo description available.
The D3DKMT_GETSCANLINE structure contains information about a video present source's vertical blanking status.
hAdapter [in]A handle to a graphics adapter.
VidPnSourceId [in]The identifier of a graphics adapter's video present source.
InVerticalBlank [out]A Boolean variable that receives TRUE if the video present source is in vertical blanking mode and FALSE if the video present source is not in vertical blanking mode.
ScanLine [out]The video present source's current scan line.
A video present path represents a connection between a video present source (view) and a video present target (output) on a graphics adapter. For more information about video present networks, paths, sources, and targets, see Introduction to Video Present Networks.