Share via


DDHAL_GETSCANLINEDATA (Compact 2013)

3/26/2014

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

See Also

Reference

DirectDraw Display Driver Structures
LPDDHAL_GETSCANLINE
DDRAWI_DIRECTDRAW_GBL