IDirectDrawSurface Interface Method Groups

Applications use the methods of the IDirectDrawSurface interface to create DirectDrawSurface objects and work with system-level variables. The methods can be organized into the following groups:

Allocating memory Initialize

IsLost

Restore

Attaching surfaces AddAttachedSurface

DeleteAttachedSurface

EnumAttachedSurfaces

GetAttachedSurface

Blitting Blt

BltBatch

BltFast

Color keys GetColorKey

SetColorKey

Device contexts GetDC

ReleaseDC

Flipping surfaces Flip

IUnknown AddRef

QueryInterface

Release

Locking surfaces Lock

PageLock

PageUnlock

Unlock

Miscellaneous GetDDInterface

Overlays AddOverlayDirtyRect

EnumOverlayZOrders

GetOverlayPosition

SetOverlayPosition

UpdateOverlay

UpdateOverlayDisplay

UpdateOverlayZOrder

Status GetBltStatus

GetFlipStatus

Surface capabilities GetCaps

Surface clipper GetClipper

SetClipper

Surface description GetPixelFormat

GetSurfaceDesc

Surface palettes GetPalette

SetPalette

All COM interfaces inherit the IUnknown interface methods, which are listed in the "IUnknown" group above. These three methods allow additional interfaces to be added to the DirectDrawSurface object without affecting the functionality of the original interface.