##### TDirectDrawSurface2 object

The TDirectDrawSurface2 is a descendent of TDirectDrawSurface. It encapsulates the IDirectDrawSurface2 interface, which is accessible through the Interface2 property. The new Direct3DTexture property provides the interface to the Direct3D Texture associated with this surface.

This requires at least version 2 of DirectX installed.

##### Unit

DDirectDraw

##### Properties

Caps | Interface2 | Palette
Clipper | IsLost | PixelFormat
Direct3DTexture | OverlayPosition | SurfaceDesc
Interface1 | Owner |

##### Methods

AddAttachedSurface | EnumerateAttachedSurfaces | ReleaseDC
AddOverlayDirtyRect | EnumerateOverlayZOrders | ReloadBitmap
Blt | Flip | Restore
BltBatch | GetAttachedSurface | SetColorKey
BltFast | GetBltStatus | SetRGBColorKey
ColorMatchRGB | GetColorKey | Unlock
CopyBitmap | GetDC | UpdateOverlay
Create | GetFlipStatus | UpdateOverlayDisplay
CreateDuplicate | Lock | UpdateOverlayZOrder
DeleteAttachedSurface | PageLock |
Destroy | PageUnlock |