HRESULT GetScanLine(LPDWORD lpdwScanLine);
Retrieves the scanline that is currently being drawn on the monitor.
·Returns DD_OK if successful, or one of the following error values otherwise:
lpdwScanLine
Address of the variable that will contain the scanline the display is currently on.