LPDDHAL_GETSCANLINE (Windows Embedded CE 6.0)
1/6/2010
This callback function gets the current scan line.
Syntax
typedef DWORD (* LPDDHAL_GETSCANLINE)(
LPDDHAL_GETSCANLINEDATA lpgsld
);
Parameters
- lpgsld
[in, out] Pointer to a DDHAL_GETSCANLINEDATA structure that contains the scan line information.
Return Value
Returns one of the following values:
Remarks
The returned scan line value in the dwScanLine member of the DDHAL_GETSCANLINEDATA structure 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 are running at a screen resolution of 640x480, and you have 12 scan lines during vertical blank, the values returned by GetScanLine could range from 0 to 491.
An example implementation of this callback function, named GetScanLine32, can be found in the sample IGS driver source code.
Requirements
Header | ddrawi.h |
Library | Developer Implemented |
Windows Embedded CE | Windows Embedded CE 6.0 and later |
See Also
Reference
Concepts
DirectDraw Display Driver Callback Functions
DDHAL Callback Return Values
DDHAL Callback Return Values