##### EnumerateSurfaces

##### Applies to

TDirectDraw

##### Declaration

procedure EnumerateSurfaces( Flags: Longint; const SurfaceDesc: TDDSurfaceDesc; List: TList );

##### Description

Calls the interface EnumSurfaces method to enumerate all of the existing or possible surfaces that meet search criterion specified. For each surface enumerated a TDirectDrawSurface reference is added to the List.
See IDirectDraw2::EnumSurfaces for more information.