function GetInputFormats( var NumFormats: DWord; pFormats: PDDPixelFormat; Flags: Longint ): Longint;
Calls the interface GetInputFormats method to retrieve the input formats supported by the DirectDraw VideoPort object. Returns the total number of codes. See IDirectDrawVideoPort::GetInputFormats for more information.