Share via


DDHAL_GETSCANLINEDATA (Windows Embedded CE 6.0)

1/6/2010

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

Syntax

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

Members

  • dwScanLine
    Indicates the number of the scan line.
  • ddRVal
    Passes the DirectDraw return values.

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

Header ddrawi.h
Windows Embedded CE Windows Embedded CE 6.0 and later

See Also

Reference

LPDDHAL_GETSCANLINE
DDRAWI_DIRECTDRAW_GBL

Concepts

DirectDraw Display Driver Structures