Share via


DDHAL_GETSCANLINEDATA (Windows CE 5.0)

Send Feedback

This structure returns the scan line. This structure passes the information to the DirectDraw hardware abstraction layer (DDHAL) GetScanLine callback function.

typedef struct _DDHAL_GETSCANLINEDATA {LPDDRAWI_DIRECTDRAW_GBLlpDD;DWORDdwScanLine;HRESULTddRVal;LPDDHAL_GETSCANLINEGetScanLine;} DDHAL_GETSCANLINEDATA;

Members

  • lpDD**
    Pointer to the DDRAWI_DIRECTDRAW_GBL structure that represents the DirectDraw object.
  • dwScanLine**
    Indicates the number of the scan line.
  • ddRVal**
    Passes the DirectDraw return values.
  • GetScanLine**
    Used by DirectDraw and should not be filled in by the driver.

Remarks

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

Requirements

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

See Also

GetScanLine | DDRAWI_DIRECTDRAW_GBL | DirectDraw Structures

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.