Compartilhar via


LPDDHAL_GETSCANLINE (Windows CE 5.0)

Send Feedback

This callback function gets the current scan line.

typedef DWORD (* LPDDHAL_GETSCANLINE)(  LPDDHAL_GETSCANLINEDATA lpgsld);

Parameters

Return Values

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

OS Versions: Windows CE 2.12 and later. Version 2.12 requires DXPAK 1.0 or later.
Header: Ddrawi.h.
Link Library: Developer implemented.

See Also

DirectDraw Display Driver Callback Functions | DDHAL_GETSCANLINEDATA | DDHAL_DRIVER_HANDLED | DDHAL_DRIVER_NOTHANDLED

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.