Microsoft Windows CE 3.0  

GetScanLine

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

pgsld
Pointer to a DDHAL_GETSCANLINEDATAstructure that contains the scan line information.

Return Values

Returns one of the following values:

  • DDHAL_DRIVER_HANDLED
  • DDHAL_DRIVER_NOTHANDLED

    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

    © 2004 Microsoft Corporation. All rights reserved.