##### EnumerateVideoPorts

##### Applies to

TDirectDraw2

##### Declaration

procedure EnumerateVideoPorts( Flags: Longint; const VideoPortCaps: TDDVideoPortCaps; List: TList );

##### Description

Calls the IDDVideoPortContainter interface's EnumVideoPorts method to enumerate all of the video ports that the hardware exposes that are compatible with a provided video port description. For each video port enumerated a TDDVideoPortCaps record pointer is added to List. See IDDVideoPortContainer::EnumVideoPorts for more information.

Valid only with DirectX 5 or above.

##### Note

You SHOULD NOT modify or release the records added to List.