title: Query maximum webcam resolution in OpenCV
body: <p>I'm dealing with several types of cameras and I need to know the maximum resolution each one is capable.</p>
  
  <p>Is there a way to query such property in OpenCV?</p>
  
  <p>If not, is there any other way? The application will work under Windows (by the moment) and all the project is being developed using C++.</p>