Share via


DDHAL_DDCALLBACKS (Windows Embedded CE 6.0)

1/6/2010

This structure contains the DirectDraw callback functions. It is included in the DDHALINFO structure.

Syntax

typedef struct _DDHAL_DDCALLBACKS {
  DWORD dwSize;
  DWORD dwFlags;
  LPDDHAL_CREATESURFACE CreateSurface;
  LPDDHAL_WAITFORVERTICALBLANK WaitForVerticalBlank;
  LPDDHAL_CANCREATESURFACE CanCreateSurface;
  LPDDHAL_CREATEPALETTE CreatePalette;
  LPDDHAL_GETSCANLINE GetScanLine;
} DDHAL_DDCALLBACKS;
typedef DDHAL_DDCALLBACKS FAR *LPDDHAL_DDCALLBACKS;

Members

  • dwSize
    Size of the structure. This parameter must be initialized before the structure is used.
  • dwFlags
    Indicates whether the DirectDraw functions are implemented.

    The following table shows the possible flags.

    Flag Description

    DDHAL_CB32_CANCREATESURFACE

    Indicates whether the LPDDHAL_CANCREATESURFACE callback function is implemented.

    DDHAL_CB32_CREATESURFACE

    Indicates whether the LPDDHAL_CREATESURFACE callback function is implemented.

    DDHAL_CB32_GETSCANLINE

    Indicates whether the LPDDHAL_GETSCANLINE callback function is implemented.

    DDHAL_CB32_WAITFORVERTICALBLANK

    Indicates whether the LPDDHAL_WAITFORVERTICALBLANK callback function is implemented.

  • CreatePalette
    Unsupported. Must be set to NULL.
  • GetScanLine
    Pointer to the driver's implementation of the LPDDHAL_GETSCANLINE callback function.

Remarks

This structure contains the entry points in the display driver that DirectDraw calls. Entries that the display driver does not use should be set to NULL.

Requirements

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

See Also

Reference

DDHALINFO
LPDDHAL_CANCREATESURFACE
LPDDHAL_CREATESURFACE
LPDDHAL_GETSCANLINE
LPDDHAL_WAITFORVERTICALBLANK

Concepts

DDHAL Callback Structures