DirectX SDK

DirectDrawSurface7

Applications use the methods of the DirectDrawSurface7 class to create DirectDrawSurface objects and work with system-level variables. This section is a reference to the methods of this class. For a conceptual overview, see Surfaces.

The methods of the DirectDrawSurface7 class can be organized into the following groups:

Allocating memory IsLost
  Restore
Attaching surfaces AddAttachedSurface
  DeleteAttachedSurface
GetAttachedSurface
GetAttachedSurfaceEnum
Blitting Blt
  BltColorFill
BltFast
BltFx
BltToDC
GetBltStatus
Color keying GetColorKey
  SetColorKey
Device contexts GetDC
  ReleaseDC
Drawing and text DrawBox
  DrawCircle
DrawEllipse
DrawLine
DrawRoundedBox
DrawText
GetDrawStyle
GetDrawWidth
GetFillColor
GetFillStyle
GetFontBackColor
GetFontTransparency
GetForeColor
SetDrawStyle
SetDrawWidth
SetFillColor
SetFillStyle
SetFont
SetFontBackColor
SetFontTransparency
SetForeColor
Flipping Flip
  GetFlipStatus
Locking GetLockedArray
  GetLockedPixel
Lock
SetLockedPixel
Unlock
Miscellaneous GetDirectDraw
  GetDirectDrawColorControl
GetDirectDrawGammaControl
Overlays GetOverlayPosition
  GetOverlayZOrdersEnum
SetOverlayPosition
UpdateOverlay
UpdateOverlayFx
UpdateOverlayZOrder
Surface capabilities GetCaps
Surface clipper GetClipper
  SetClipper
Surface characteristics ChangeUniquenessValue
  GetPixelFormat
GetSurfaceDesc
GetUniquenessValue
Surface palettes GetPalette
  SetPalette
Textures GetLOD
  GetPriority
SetLOD
SetPriority