procedure GetCurrentVideoFormat(var width, height: integer; var format: AnsiString);
Description
Allows you to set read the video format. You can read supported formats with the VideoFormats property.
The format parameter is equivalent to VideoFormats.Format. Or you can simply pass an empty string.