Microsoft Windows CE 3.0  

DDHAL_GETSCANLINEDATA

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 DDHAL_GETSCANLINEDATAstructure returns the scan line. This structure passes the information to the DirectDraw HAL GetScanLinecallback function.

typedef struct _DDHAL_GETSCANLINEDATA {
LPDDRAWI_DIRECTDRAW_GBL
lpDD
;
DWORD
dwScanLine
;
HRESULT
ddRVal
;
LPDDHAL_GETSCANLINE
GetScanLine
;
} DDHAL_GETSCANLINEDATA;

Members

lpDD
Pointer to the DDRAWI_DIRECTDRAW_GBLstructure that represents the DirectDraw object.
dwScanLine
Indicates the number of the scan line.
ddRVal
Passes the DirectDraw return values.
GetScanLine
This member is used by DirectDraw and should not be filled in by the driver.

Remarks

The returned scan line value in dwScanLinemust 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 vblank. For example, in a case where you're running at a screen resolution of 640x480, and you have 12 scan lines during vertical blank, the values returned to GetScanLinerange from 0 to 491.



 Last updated on Tuesday, July 13, 2004

© 2004 Microsoft Corporation. All rights reserved.