##### TDDSurfaceDesc

##### Unit

DDirectDraw

##### Declaration

TDDSurfaceDesc = record
dwSize: Longint ;
dwFlags: Longint ;
dwHeight: Longint ;
dwWidth: Longint ;
lPitch: LongInt ;
dwBackBufferCount: Longint ;
case Integer of
0: (
dwMipMapCount: Longint ;
dwAlphaBitDepth: Longint ;
dwReserved: Longint ;
lpSurface: Pointer ;
ddckCKDestOverlay: TDDColorKey;
ddckCKDestBlt: TDDColorKey;
ddckCKSrcOverlay: TDDColorKey;
ddckCKSrcBlt: TDDColorKey;
ddpfPixelFormat: TDDPixelFormat;
ddsCaps: TDDSCaps;
) ;
1: (
dwZBufferBitDepth: Longint ;
) ;
2: (
dwRefreshRate: Longint ;
) ;
end ;
PDDSurfaceDesc = ^TDDSurfaceDesc;

##### Description

The TDDSurfaceDesc structure contains a description of the surface to be created.

See DDSURFACEDESC for more information.