次の方法で共有


DDRAWI_DIRECTDRAW_GBL (Windows Embedded CE 6.0)

1/6/2010

This structure contains the global DirectDraw data that can be shared between object instances.

Syntax

typedef struct _DDRAWI_DIRECTDRAW_GBL {
  wchar_t DeviceName[DD_DEVICE_ENUM_NAME_LENGTH];
  DWORD ProcessFlags;
  Driver_t* Device;
  DDHAL_DDCALLBACKS DDCallbacks;
  DDHAL_DDSURFACECALLBACKS DDSurfaceCallbacks;
  DDHAL_DDPALETTECALLBACKS DDPaletteCallbacks;
  LPDDHAL_GETDRIVERINFO GetDriverInfo;
  DDHAL_DDMISCELLANEOUSCALLBACKS DDMiscCallbacks;
  DDHAL_DDCOLORCONTROLCALLBACKS DDColorCallbacks;
  DDCAPS ddCaps;
  DDCAPS ddHelCaps;
  LPDWORD lpdwFourCC;
  LPDDRAWI_DDRAWSURFACE_LCL pSurfaceList;
  LPDDRAWI_DDRAWCOLORCONTROL_LCL pColorControlList;
  LPDDRAWI_DDRAWGAMMACONTROL_LCL pGammaControlList;
  LPDDRAWI_DDRAWSURFACE_LCL *pOverlays;
  RECT *rcOverlayDest;
  DWORD dwGDISurfReserved1;
} DDRAWI_DIRECTDRAW_GBL;

Members

  • DeviceName[DD_DEVICE_ENUM_NAME_LENGTH]
    This member is used by DirectDraw and should not be filled in by the driver.
  • ProcessFlags
    Contains the DirectDraw object's control flags.

    The following table shows the possible flags.

    Flag Description

    DDRAWI_ATTACHEDTODESKTOP

    Reserved for future use.

    DDRAWI_CHANGINGMODE

    Reserved for future use.

    DDRAWI_DDRAWDATANOTFETCHED

    Reserved for future use.

    DDRAWI_DISPLAYDRV

    Indicates the driver is the display driver.

    DDRAWI_EMULATIONINITIALIZED

    Used by DirectDraw and should not be set by the driver.

    DDRAWI_EXTENDEDALIGNMENT

    Used by DirectDraw and should not be set by the driver.

    DDRAWI_FLIPEDTOGDI

    Indicates the driver has been flipped to show the GDI surface.

    DDRAWI_FULLSCREEN

    Indicates the driver is in full-screen mode.

    DDRAWI_GDIDRV

    Reserved for future use.

    DDRAWI_HASCKEYDESTOVERLAY

    Used by DirectDraw and should not be set by the driver.

    DDRAWI_HASCKEYSRCOVERLAY

    Used by DirectDraw and should not be set by the driver.

    DDRAWI_HASGDIPALETTE

    Used by DirectDraw and should not be set by the driver.

    DDRAWI_HASGDIPALETTE_EXCLUSIVE

    Reserved for future use.

    DDRAWI_MODECHANGED

    Used by DirectDraw and should not be set by the driver.

    DDRAWI_MODEX

    Used by DirectDraw and should not be set by the driver.

    DDRAWI_MODEXILLEGAL

    Indicates that ModeX is not supported by this hardware.

    DDRAWI_NEEDSWIN16FORVRAMLOCK

    Used by DirectDraw and should not be set by the driver.

    DDRAWI_NOEMULATION

    Used by DirectDraw and should not be set by the driver.

    DDRAWI_NOHARDWARE

    Used by DirectDraw and should not be set by the driver.

    DDRAWI_PALETTEINIT

    Used by DirectDraw and should not be set by the driver.

    DDRAWI_PDEVICEVRAMBITCLEARED

    Used by DirectDraw and should not be set by the driver.

    DDRAWI_SECONDARYDRIVERLOADED

    Used by DirectDraw and should not be set by the driver.

    DDRAWI_STANDARDVGA

    Used by DirectDraw and should not be set by the driver.

    DDRAWI_UMODELOADED

    Reserved for future use.

    DDRAWI_VIRTUALDESKTOP

    Used by DirectDraw and should not be set by the driver.

  • Device
    This member is used by DirectDraw and should not be filled in by the driver.
  • DDCallbacks
    This member is used by DirectDraw and should not be filled in by the driver.
  • DDSurfaceCallbacks
    This member is used by DirectDraw and should not be filled in by the driver.
  • DDPaletteCallbacks
    This member is used by DirectDraw and should not be filled in by the driver.
  • GetDriverInfo
    This member is used by DirectDraw and should not be filled in by the driver.
  • DDMiscCallbacks
    This member is used by DirectDraw and should not be filled in by the driver.
  • DDColorCallbacks
    This member is used by DirectDraw and should not be filled in by the driver.
  • ddCaps
    Pointer to a DDCAPS structure that contains the driver's hardware capabilities.
  • ddHelCaps
    Pointer to a DDCAPS structure that contains the driver's software emulated capabilities.
  • lpdwFourCC
    This member is used by DirectDraw and should not be filled in by the driver.
  • pSurfaceList
    This member is used by DirectDraw and should not be filled in by the driver.
  • pColorControlList
    This member is used by DirectDraw and should not be filled in by the driver.
  • pGammaControlList
    This member is used by DirectDraw and should not be filled in by the driver.
  • pOverlays
    This member is used by DirectDraw and should not be filled in by the driver.
  • rcOverlayDest
    This member is used by DirectDraw and should not be filled in by the driver.
  • dwGDISurfReserved1
    This member is used by DirectDraw and should not be filled in by the driver.

Requirements

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

See Also

Concepts

DirectDraw Display Driver Structures