Re: Detecting Available Resolutions Part Deux

From: Iain (idownsXXXX_at_dircon.co.uk)
Date: 03/16/04


Date: Tue, 16 Mar 2004 14:51:07 -0000

There are 2 ways of getting this information.

With older drivers - Video For Windows - you have the choice of the dialog
or nothing.

with newer drivers WDM compliant there is (usually? always?) an interface
IAMStreamConfig defined which lets you enumerate formats..

The way I tackled the VFW mess is simply to prepare a list of formats that
the device MIGHT support and attempt to set them.

If this succeeded I ticked the format and could use it in a selection list.

Iain
"Jon Evans" <anonymous@discussions.microsoft.com> wrote in message
news:BFA26C28-345D-46B2-8C66-BA1EB0F9162D@microsoft.com...
> I have a capture device that if you bring up the properties of its pin you
get a dialog with 16 different resolutions available.
>
> Programatically I can get the capture device's capabilities, but according
to them there are only 3 resolutions.
>
> I know I've posted a similar question recently, so am I now correct in
assuming that it is IMPOSSIBLE programatically build your own list of such
resolutions ?
>
> Maybe I'm tackling this the wrong way. Is it possible to save the entire
config of a capture device and then force it to use that config next time
your app starts e.g. a service engineer initially configures the system,
goes away and from then on every time the app starts (after a power cut for
example) the app will use the engineers settings ? Or should I be using
something other than DirectShow for industrial applications ?
>
> TTFN,
> Jon



Relevant Pages

  • Re: Migrating app from 3.2v4.2 to OpenServer 5.0.7?
    ... > application talks directly to the device with its own drivers. ... from SCO Unix 3.2v4.2 to OpenServer 5.0.7. ... The app is working fine. ... 3.2v4.2 might be difficult to install on current hardware. ...
    (comp.unix.sco.misc)
  • Re: Pentium 1.8Ghz / Windows 2000 / Delphi 6 problem
    ... There's a difference between a user mode DLL, ... User mode DLL's will not affect the control word *across ... >any DLL's that your app is using, ... For drivers, they may well change and forget to restore the FPU ...
    (comp.lang.pascal.delphi.misc)
  • Re: Need a new video card...
    ... There should be a checkbox somewhere on your display drivers that say ... something about "show all resolutions" or "show only resolutions this ... Overscan compensation allows ...
    (microsoft.public.windows.mediacenter)
  • Re: Excel import with x64 machine
    ... don't know much about x64 architecture...): I guess when the app is ... You are accessing Excel data, right, excel is still 32 bit, you can't possibly have worksheets larger than 2GB. ... Drivers to the 32 Bit OleDB Drivers. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Connecting to Informix
    ... > This particular app will be just retrieving and displaying data. ... which included the ODBC drivers. ... This will give you examples of connection strings for OleDb & ODBC ...
    (microsoft.public.dotnet.languages.csharp)