Migrating DDHAL functionality (Windows Embedded CE 6.0)
1/6/2010
The following list shows the changes to the DirectDraw display driver HAL header files from previous versions.
Callback Functions
- The following DirectDrawPalette callback functions are no longer supported:
- DestroyPalette
- SetEntries
- DDHAL_DDPALETTECALLBACKS is no longer supported.
- The following DirectDrawSurface Callback Functions are no longer supported:
- AddAttachedSurface
- Blt
- SetClipList
- SetPalette
- Added LPDDHALSURFCB_SETCOLORKEY to the DirectDrawSurface callback functions.
- The following Video Port extension callback functions are no longer supported:
- CanCreateVideoPort
- CreateVideoPort
- DestroyVideoPort
- FlipVideoPort
- GetVideoPortBandwidth
- GetVideoPortConnectInfo
- GetVideoPortField
- GetVideoPortFlipStatus
- GetVideoPortInputFormats
- GetVideoPortLine
- GetVideoPortOutputFormats
- GetVideoSignalStatus
- HalColorControl (video port control callback)
- UpdateVideoPort
- WaitForVideoPortSync
- The color control callback function HalColorControl (color control callback) has been renamed to LPDDHALCOLORCB_COLORCONTROL.
- The following DirectDraw display driver callback functions are no longer supported:
- LPDDHAL_CREATEPALETTE
- LPDDHAL_DESTROYDRIVER
- LPDDHAL_FLIPTOGDISURFACE
- LPDDHAL_SETEXCLUSIVEMODE
- LPDDHAL_SETMODE
- The following miscellaneous callback functions are no longer supported:
- GetHeapAlignment
- GetSysmemBltStatus
- UpdateNonLocalHeap
- The DestroySurface callback function has been renamed LPDDHALSURFCB_DESTROYSURFACE.
- The Flip callback function has been renamed LPDDHALSURFCB_FLIP.
- The GetBltStatus callback function has been renamed LPDDHALSURFCB_GETBLTSTATUS.
- The GetFlipStatus callback function has been renamed LPDDHALSURFCB_GETFLIPSTATUS.
- The Lock callback function has been renamed LPDDHALSURFCB_LOCK.
- The SetOverlayPosition callback function has been renamed LPDDHALSURFCB_SETOVERLAYPOSITION.
- The SetPalette callback function is no longer supported.
- The Unlock callback function has been renamed LPDDHALSURFCB_UNLOCK.
- The UpdateOverlay callback function has been renamed LPDDHALSURFCB_UPDATEOVERLAY.
- The GetDriverInfo callback function has been renamed to LPDDHAL_GETDRIVERINFO.
- The GetAvailDriverMemory callback function has been renamed to LPDDHAL_GETAVAILDRIVERMEMORY.
- Added the callback function LPDDHAL_GETDEVICEIDENTIFIER.
Structures
The following structures are no longer supported:
- DDHAL_CANCREATEVPORTDATA
- DDHAL_CREATEVPORTDATA
- DDHAL_DESTROYVPORTDATA
- DDHAL_FLIPVPORTDATA
- DDHAL_GETVPORTBANDWIDTHDATA
- DDHAL_GETVPORTCONNECTDATA
- DDHAL_GETVPORTFIELDDATA
- DDHAL_GETVPORTFLIPSTATUSDATA
- DDHAL_GETVPORTINPUTFORMATDATA
- DDHAL_GETVPORTLINEDATA
- DDHAL_GETVPORTOUTPUTFORMATDATA
- DDHAL_GETVPORTSIGNALDATA
- DDHAL_UPDATEVPORTDATA
- DDHAL_VPORTCOLORDATA
- DDHAL_WAITFORVPORTSYNCDATA
- DDRAWI_DDVIDEOPORT_INT
- DDRAWI_DDVIDEOPORT_LCL
- DDNONLOCALVIDMEMCAPS
- VIDMEM
- VIDMEMINFO
- DDHAL_DESTROYDRIVERDATA
- DDHAL_FLIPTOGDISURFACEDATA
- DDHAL_SETENTRIESDATA
- DDHAL_SETEXCLUSIVEMODEDATA
- DDHAL_SETMODEDATA
- DDRAWI_DIRECTDRAW_INT
- DDRAWI_DIRECTDRAW_LCL
- ATTACHLIST
- DBLNODE
- DDCORECAPS
- DDHAL_ADDATTACHEDSURFACEDATA
- DDHAL_BLTDATA
- DDHAL_SETCLIPLISTDATA
- DDMORESURFACECAPS
- DDRAWI_DDRAWSURFACE_GBL
- DDRAWI_DDRAWSURFACE_GBL_MORE
- DDRAWI_DDRAWSURFACE_INT
- DDRAWI_DDRAWSURFACE_MORE
- DDHALMODEINFO
- DDHAL_GETHEAPALIGNMENTDATA
- DDHAL_UPDATENONLOCALHEAPDATA
- DDHAL_DESTROYPALETTEDATA
- DDHAL_CREATEPALETTEDATA
- DDHAL_SETPALETTEDATA
- DDRAWI_DDRAWPALETTE_GBL
The following structures have been modified:
- DDHAL_DDCALLBACKS
- removed LPDDHAL_DESTROYDRIVER DestroyDriver
- removed LPDDHAL_SETCOLORKEY SetColorKey
- removed LPDDHAL_SETMODE SetMode
- removed LPDDHAL_SETEXCLUSIVEMODE SetExclusiveMode
- removed LPDDHAL_FLIPTOGDISURFACE FlipToGDISurface
- DDHAL_DDCOLORCONTROLCALLBACKS
- added LPDDHALCOLORCB_GAMMACONTROL GammaControl
- DDHAL_DDMISCELLANEOUSCALLBACKS
- removed LPDDHAL_UPDATENONLOCALHEAP UpdateNonLocalHeap
- removed LPDDHAL_GETHEAPALIGNMENT GetHeapAlignment
- removed LPDDHALSURFCB_GETBLTSTATUS GetSysmemBltStatus
- added LPDDHAL_GETDEVICEIDENTIFIER GetDeviceIdentifier
- DDHAL_LOCKDATA:
- removed LPDDHALSURFCB_LOCK Lock
- DDHAL_UNLOCKDATA:
- removed LPDDHALSURFCB_UNLOCK Unlock
- DDHAL_UPDATEOVERLAYDATA:
- removed LPDDHALSURFCB_UPDATEOVERLAY UpdateOverlay
- DDHAL_SETOVERLAYPOSITIONDATA:
- removed LPDDHALSURFCB_SETOVERLAYPOSITION SetOverlayPosition
- DDHAL_FLIPDATA:
- removed LPDDHALSURFCB_FLIP Flip
- DDHAL_DESTROYSURFACEDATA:
- removed LPDDHALSURFCB_DESTROYSURFACE DestroySurface
- DDHAL_SETCOLORKEYDATA:
- removed LPDDHALSURFCB_SETCOLORKEY SetColorKey
- DDHAL_GETBLTSTATUSDATA:
- removed LPDDHALSURFCB_GETBLTSTATUS GetBltStatus
- DDHAL_GETFLIPSTATUSDATA:
- removed LPDDHALSURFCB_GETFLIPSTATUS GetFlipStatus
- DDHAL_CANCREATESURFACEDATA:
- removed LPDDAHL_CANCREATESURFACE CanCreateSurface
- DDHAL_CREATESURFACEDATA:
- removed LPDDHAL_CREATESURFACE CreateSurface
- removed DWORD hEvent
- removed LPDDHAL_WAITFORVERTICALBLANK WaitForVerticalBlank
- DDHAL_GETSCANLINEDATA:
- removed LPDDHAL_GETSCANLINE GetScanLine
- DDHAL_GETAVAILDRIVERMEMORYDATA:
- removed LPDDHAL_GETAVAILDRIVERMEMORY GetAvailDriverMemory
- removed DDSCAPSEX ddsCapsEx
- DDHAL_GETDRIVERINFODATA:
- removed ULONG_PTR dwContext
- DDHAL_DDSURFACECALLBACKS:
- removed LPDDHALSURFCB_SETCLIPLIST SetClipList
- removed LPDDHALSURFCB_BLT Blt
- removed LPDDHALSURFCB_ADDATTACHEDSURFACE AddAttachedSurface
- removed LPVOID reserved4
- DDHALINFO:
- removed VIDMEMINFO vmiData
- removed DWORD dwMonitorFrequency
- removed DWORD dwModeIndex
- removed DWORD dwNumModes
- removed LPDDHALMODEINFO lpModeInfo
- removed LPVOID lpPDevice
- removed DWORD hInstance
- removed ULONG_PTR lpD3DGlobalDriverData
- removed ULONG_PTR lpD3DHALCallbacks
- removed LPDDHAL_DDEXEBUFCALLBACKS lpDDExeBufCallbacks
- changed DDCORECAPS ddCaps to DDCAPS ddcaps
- added DDCAPS ddHelCaps
- DDRAWI_DIRECTDRAW_GBL:
- Updated all structure members to the new format.
- DDRAWI_DDRAWCLIPPER_GBL:
- Updated all structure members to the new format.
- The following structures have been added:
- DDHAL_GETDEVICEIDENTIFIERDATA
- DDHAL_GAMMACONTROLDATA
- DDRAWI_DDRAWCOLORCONTROL_LCL
- DDRAWI_DDRAWGAMMACONTROL_LCL
Macros
- The following DDHAL macros are no longer supported:
- GET_LPDDRAWSURFACE_GBL_MORE
- SURFACE_PHYSICALVIDMEM