setupapi: SetupDiGetClassDevsExW should ignore DIGCF_ALLCLASSES if class set

Henri Verbeet hverbeet at gmail.com
Tue May 6 10:04:46 CDT 2014


On 6 May 2014 16:05, Mark Harmstone <hellas at burntcomma.com> wrote:
> +    if (flags & DIGCF_ALLCLASSES && class)
> +        flags -= DIGCF_ALLCLASSES;
This works, of course, but the usual way to do that kind of thing
would be "if (class) flags &= ~DIGCF_ALLCLASSES;"



More information about the wine-devel mailing list