setupapi - ReactOS Merge 20050205

Alexandre Julliard julliard at
Wed Feb 9 01:56:32 CST 2005

Steven Edwards <steven_ed4153 at> writes:

> --- Alexandre Julliard <julliard at> wrote:
> > You shouldn't do that kind of preventive version check, you should
> > always call the function and then deal with failures appropriately.
> Sorry I am a little dense. If both functions are just no-ops on Win9x then the app should not be
> calling them anyway right? or if they are then in that mode they would be expecting that return
> value?

That's why the version checks are unnecessary. Apps that check the
version won't use these functions anyway, and apps that don't check
will just work. There's no point at all in adding extra checks to
deliberately break a function, unless of course an app really depends
on the broken behavior.

Alexandre Julliard
julliard at

More information about the wine-devel mailing list