Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
The DDRAWI_DDRAWSURFACE_LCLstructure contains local data for each individual DirectDrawSurfaceobject.
typedef struct _DDRAWI_DDRAWSURFACE_LCL { LPDDRAWI_DDRAWSURFACE_MORE lpSurfMore ; LPDDRAWI_DDRAWSURFACE_GBL lpGbl ; ULONG_PTR hDDSurface ; LPATTACHLIST lpAttachList ; LPATTACHLIST lpAttachListFrom ; DWORD dwLocalRefCnt ; DWORD dwProcessId ; DWORD dwFlags ; DDSCAPS ddsCaps ; union { LPDDRAWI_DDRAWPALETTE_INT lpDDPalette ; LPDDRAWI_DDRAWPALETTE_INT lp16DDPalette ; }; union { LPDDRAWI_DDRAWCLIPPER_LCL lpDDClipper ; LPDDRAWI_DDRAWCLIPPER_INT lp16DDClipper ; }; DWORD dwModeCreateIn ; DWORD dwBackBufferCount ; DDCOLORKEY ddckCKDestBlt ; DDCOLORKEY ddckCKSrcBlt ; DWORD hDC ; ULONG_PTR dwReserved1 ; DDCOLORKEY ddckCDSrcOverlay ; DDCOLORKEY ddckCKDestOverlay ; LPDDRAWI_DDRAWSURFACE_INT lpSurfaceOverlaying ; DBLNODE dbnOverlayNode ; RECT rcOverlaySrc ; RECT rcOverlayDest ; DWORD dwClrXparent ; DWORD dwAlpha ; LONG lOverlayX ; LONG lOverlayY ; }; typedef struct _DDRAWI_DDRAWSURFACE_LCL DDRAWI_DDRAWSURFACE_LCL;
Members
Flag | Usage |
---|---|
DDRAWISURF_ATTACHED | Indicates the surface is attached to another surface. |
DDRAWISURF_ATTACHED_FROM | Indicates this surface has other surfaces attached to it. |
DDRAWISURF_BACKBUFFER | Indicates the surface was originally a back buffer. |
DDRAWISURF_DATAISALIASED | This flag is used by DirectDraw and should not be set by the driver. |
DDRAWISURF_DCIBUSY | This flag is used by DirectDraw and should not be set by the driver. |
DDRAWISURF_DCILOCK | This flag is used by DirectDraw and should not be set by the driver. |
DDRAWISURF_EMPTYSURFACE | This flag is used by DirectDraw and should not be set by the driver. |
DDRAWISURF_FRONTBUFFER | Indicates the surface was originally a front buffer. |
DDRAWISURF_GETDCNULL | This flag is used by DirectDraw and should not be set by the driver. |
DDRAWISURF_HASCKEYDESTBLT | Indicates the surface has CKDestBlt. |
DDRAWISURF_HASCKEYDESTOVERLAY | Indicates the surface has CKDestOverlay. |
DDRAWISURF_HASCKEYSRCBLT | Indicates the surface has CKSrcBlt. |
DDRAWISURF_HASCKEYSRCOVERLAY | Indicates the surface has CKSrcOverlay. |
DDRAWISURF_HASDC | This flag is used by DirectDraw and should not be set by the driver. |
DDRAWISURF_HASOVERLAYDATA | Indicates the surface has overlay data. |
DDRAWISURF_HASPIXELFORMAT | Indicates the surface has pixel format data. |
DDRAWISURF_HELCB | This flag is used by DirectDraw and should not be set by the driver. |
DDRAWISURF_HW_CKEYDESTBLT | This flag is used by DirectDraw and should not be set by the driver. |
DDRAWISURF_HW_CKEYDESTOVERLAY | This flag is used by DirectDraw and should not be set by the driver. |
DDRAWISURF_HW_CKEYSRCBLT | This flag is used by DirectDraw and should not be set by the driver. |
DDRAWISURF_HW_CKEYSRCOVERLAY | This flag is used by DirectDraw and should not be set by the driver. |
DDRAWISURF_IMPLICITCREATE | This flag is used by DirectDraw and should not be set by the driver. |
DDRAWISURF_IMPLICITROOT | This flag is used by DirectDraw and should not be set by the driver. |
DDRAWISURF_INMASTERSPRITELIST | This flag is reserved for future use. |
DDRAWISURF_INVALID | Indicates the surface has been invalidated by a mode set. |
DDRAWISURF_ISFREE | This flag is used by DirectDraw and should not be set by the driver. |
DDRAWISURF_LOCKEXCLUDEDCURSOR | This flag is used by DirectDraw and should not be set by the driver. |
DDRAWISURF_PARTOFPRIMARYCHAIN | Indicates the surface is part of a primary chain. |
DDRAWISURF_SETGAMMA | This flag is used by DirectDraw and should not be set by the driver. |
DDRAWISURF_SW_CKEYDESTBLT | This flag is used by DirectDraw and should not be set by the driver. |
DDRAWISURF_SW_CKEYDESTOVERLAY | This flag is used by DirectDraw and should not be set by the driver. |
DDRAWISURF_SW_CKEYSRCBLT | This flag is used by DirectDraw and should not be set by the driver. |
DDRAWISURF_SW_CKEYSRCOVERLAY | This flag is used by DirectDraw and should not be set by the driver. |
Remarks
Every member of the structure after the dwReserved1 member is only allocated if the surface can be used for overlays. When this part of the structure is allocated, ddckCDSrcOverlaymust not be moved from the start of this area.
Last updated on Tuesday, July 13, 2004