In Windows XP/Vista/Windows 7, In the control panel, There is a Scanners and Camera window. I would like a program that enumerates all the cameras, and as many properties as is reasonable.
That is, I want you a simple struct with the properties. Something that looks like this:
struct CameraStruct {
std::string Name;
std::string Prop1;
std::string Prop2;
...
}
I then want a function which queries the operating system and returns an array of them. Something like this:
std::vector<CameraStruct> GetAllCameraInfo();
If you are familiar with the API, this should be a pretty simple project.
## Deliverables
Please also deliver a Visual Studio Project file.