##### TDirectDraw2 object

The TDirectDraw2 is a descendent of TDirectDraw. It encapsulates all the functionality of the IDirectDraw2 and IDDVideoPortContainer interfaces which are accessible through the Interface2 and DDVideoPortContainer properties.

This requires at least version 2 of DirectX installed.

##### Unit

DDirectDraw

##### Properties

Clippers | GDISurface | Palettes
ClipperCount | HELCaps | PaletteCount
DDVideoPortContainer | Interface1 | ScanLine
Direct3D | Interface2 | Surfaces
DisplayMode | IsVerticalBlank | SurfaceCount
DriverCaps | LoadBitmap | VideoPortCount
FourCCCodes | LoadPalette | VideoPorts
FourCCCodeCount | MonitorFrequency | VideoPortStatus

##### Methods

Create | FlipToGDISurface | SetCooperativeLevel
Destroy | GetAvailableVidMem | SetDisplayMode
EnumerateDisplayModes | GetVideoPortConnectionInfo | WaitForVerticalBlank
EnumerateSurfaces | Notification |
EnumerateVideoPorts | RestoreDisplayMode |