Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
The GetScanLinecallback function gets the current scan line.
DWORD __stdcall GetScanLine( LPDDHAL_GETSCANLINEDATA pgsld );
Parameters
Return Values
Returns one of the following values:
Remarks
The returned scan line value in the dwScanLine member of the DDHAL_GETSCANLINEDATAstructure must be between 0 and <n>, where scan line 0 is the first visible scan line on the screen and <n> is the last visible scan line, plus any scan lines that occur during vertical blank. For example, if you're running at a screen resolution of 640x480, and you have 12 scan lines during vertical blank, the values returned by GetScanLinecould range from 0 to 491.
An example implementation of this callback function ( GetScanLine32) can be found in the sample IGS driver source code.
Last updated on Tuesday, July 13, 2004