Migrating DirectDraw Flags
The following list shows the changes to the DirectDraw API flags from previous versions of Windows CE to Windows Mobile 5.0.
The following flags in the structure DDSURFACEDESC are no longer supported:
- DDSD_ALL
- DDSD_ALPHABITDEPTH
- DDSD_LINEARSIZE
- DDSD_MIPMAPCOUNT
- DDSD_TEXTURESTAGE
- DDSD_ZBUFFERBITDEPTH
The following flags have been added to the structure DDSURFACEDESC:
- DDSD_SURFACESIZE
- DDSD_XPITCH
The following flags in the structure DDPIXELFORMAT are no longer supported:
- DDPF_BUMPDUDV
- DDPF_BUMPHEIGHT
- DDPF_COMPRESSED
- DDPF_LUMINANCE
- DDPF_LUMINANCEPIXELS
- DDPF_PALETTEINDEXED1
- DDPF_PALETTEINDEXED2
- DDPF_PALETTEINDEXED4
- DDPF_PALETTEINDEXED8
- DDPF_PALETTEINDEXEDTO8
- DDPF_RGBTOYUV
- DDPF_STENCILPIXELS
- DDPF_YUV
- DDPF_ZBUFFER
- DDPF_ZPIXELS
The following flag has been added to the structure DDPIXELFORMAT
- DDPF_PALETTEINDEXED
The flag DDENUM_NONDISPLAYDEVICES is no longer supported in the DirectDrawEnumerateEx function.
The following flags in the structure DDSCAPS are no longer supported:
- DDSCAPS_3D
- DDSCAPS_3DDEVICE
- DDSCAPS_ALLOCONLOAD
- DDSCAPS_COMPLEX
- DDSCAPS_HWCODEC
- DDSCAPS_LIVEVIDEO
- DDSCAPS_LOCALVIDMEM
- DDSCAPS_MIPMAP
- DDSCAPS_MODEX
- DDSCAPS_NONLOCALVIDMEM
- DDSCAPS_OFFSCREENPLAIN
- DDSCAPS_OPTIMIZED
- DDSCAPS_OWNDC
- DDSCAPS_PRIMARYSURFACELEFT
- DDSCAPS_STANDARDVGAMODE
- DDSCAPS_TEXTURE
- DDSCAPS_VIDEOPORT
- DDSCAPS_VISIBLE
- DDSCAPS_ZBUFFER
The following flags have been added to the structure DDSCAPS:
- DDSCAPS_DYNAMIC
- DDSCAPS_NATIVEROTATION
- DDSCAPS_NOTUSERLOCKABLE
- DDSCAPS_READONLY
The following flags in the structure DDCAPS are no longer supported:
- DDPCAPS_8BIT
- DDPCAPS_8BITENTRIES
- DDPCAPS_ALLOW256
- DDPCAPS_PRIMARYSURFACELEFT
- DDPCAPS_VSYNC
- DDPCAPS_1BIT
- DDPCAPS_2BIT
- DDPCAPS_4BIT
- DDCKEYCAPS_DESTBLTYUV
- DDCKEYCAPS_DESTOVERLAY
- DDCKEYCAPS_DESTOVERLAYCLRSPACE
- DDCKEYCAPS_DESTOVERLAYONEACTIVE
- DDCKEYCAPS_DESTOVERLAYYUV
- DDCKEYCAPS_NOCOSTOVERLAY
- DDCKEYCAPS_SRCBLTYUV
- DDCKEYCAPS_SRCOVERLAY
- DDCKEYCAPS_SRCOVERLAYCLRSPACE
- DDCKEYCAPS_SRCOVERLAYCLRSPACEYUV
- DDCKEYCAPS_SRCOVERLAYONEACTIVE
- DDCKEYCAPS_SRCOVERLAYYUV
The following flag has been added to the structure DDCAPS:
- DDCKEYCAPS_BOTHBLT
The following flags in the interface IDirectDraw::SetCooperativeLevel are no longer supported:
- DDSCL_CREATEDEVICEWINDOW
- DDSCL_EXCLUSIVE
- DDSCL_NOWINDOWCHANGES
The following flag in the interface IDirectDraw::WaitForVerticalBlank is no longer supported:
- DDWAITVB_BLOCKBEGINEVENT
The following flags in the interface IDirectDrawSurface::Blt are no longer supported:
- DDBLT_DDFX
- DDBLT_DDROPS
- DDBLT_DEPTHFILL
- DDBLT_ROTATIONANGLE
- DDBLT_ASYNC
- DDBLT_WAIT
The following flags have been added to the interface IDirectDrawSurface::Blt:
- DDBLT_WAITNOTBUSY
- DDBLT_WAITVSYNC
The following flags in the interface IDirectDrawSurface::AlphaBlt are no longer supported:
- DDABLT_KEYSRC
- DDABLT_MIRRORLEFTRIGHT
- DDABLT_MIRRORUPDOWN
- DDABLT_DEGRADEARGBSCALING
- DDABLT_HARDWAREONLY
- DDABLT_WAIT
- DDABLT_FILTERENABLE
- DDABLT_FILTERDISABLE
- DDABLT_DONOTWAIT
- DDABLT_USEFILLVALUE
- DDABLT_SOFTWAREONLY
- DDABLT_FILTERTRANSPBORDER
The following flags have been added to the interface IDirectDrawSurface::AlphaBlt:
- DDABLT_ALPHADESTNEG
- DDABLT_ALPHASRCNEG
- DDABLT_COLORFILL
- DDABLT_WAITNOTBUSY
- DDABLT_WAITVSYNC
The following flags in the interface IDirectDrawSurface::Flip are no longer supported:
- DDFLIP_NOVSYNC
- DDFLIP_WAIT
The following flags have been added to the interface IDirectDrawSurface::Flip:
- DDFLIP_INTERVAL3
- DDFLIP_WAITNOTBUSY
- DDFLIP_WAITVSYNC
The following flags in the interface IDirectDrawSurface::UpdateOverlay are no longer supported:
- DDOVER_ADDDIRTYRECT
- DDOVER_ALPHADESTCONSTOVERRIDE
- DDOVER_ALPHADESTSURFACEOVERRIDE
- DDOVER_ALPHAEDGEBLEND
- DDOVER_ALPHASRCCONSTOVERRIDE
- DDOVER_ALPHASRCSURFACEOVERRIDE
- DDOVER_AUTOFLIP
- DDOVER_BOB
- DDOVER_BOBHARDWARE
- DDOVER_DDFX
- DDOVER_OVERRIDEBOBWEAVE
- DDOVER_INTERLEAVED
The following flags have been added to the interface IDirectDrawSurface::UpdateOverlay:
- DDOVER_ALPHACONSTOVERRIDE
- DDOVER_MIRRORLEFTRIGHT
- DDOVER_MIRRORUPDOWN
- DDOVER_WAITNOTBUSY
- DDOVER_WAITVSYNC
The following flags in the interface IDirectDrawSurface::Lock are no longer supported:
- DDLOCK_EVENT
- DDLOCK_SURFACEMEMORYPTR
- DDLOCK_WAIT
- DDLOCK_NOSYSLOCK
The following flags have been added to the interface IDirectDrawSurface::Lock:
- DDLOCK_DISCARD
- DDLOCK_WAITNOTBUSY
The following flag in the interface IDirectDrawSurface::EnumOverlayZOrders is no longer supported:
- DDENUMOVERLAYZ_FRONTTOBACK
Send Feedback on this topic to the authors