The camera I test on W2K has only one format, described by windows as RGB 24 (fourcc=0). Zbarcam does not recognize this format.
The 24 bit format of zbar is BGR3, but it is not recognized by windows. When I apply the following trick:
bih->biCompression = 0; //fmt;
plus some workarounds to get things going, then I get zbarcam working.
The tested camera is Z-Star provided by vmware with a driver found on the net.
This case may be important if there are more cameras that have only RGB 24 format. The list of formats is available through the api dialog I suggested to enable (https://sourceforge.net/tracker/?func=detail&aid=3337995&group_id=189236&atid=928518)
I know you're stopping to support vfw, but if it will be the only option in 0.11, isn't it worth a bit of work? Probably my work.
If I were to proceed with the RGB 24 format, please suggest the solution.