GetFormatInformation() help

Aug 1, 2010 at 1:07 AM

Hi,

I want to use uncompressed video format. I tried to query its right format info. by try calling in Test2 application code

GetFormatInformation(pcs, 0, i+1, &pFormats[i]); 

GetFormatInformation(pcs, 2, i+1, &pFormats[i]); and

GetFormatInformation(pcs, 3, i+1, &pFormats[i]).

They all return error message:

The driver reports no format supported or an error getting formats. Error code = 0

I wonder whether the drive code not support or the application calling method is wrong. Please help. many thanks.