pdh[3:3]: remove unnecessary tests doneinPdhLookupPerfNameByIndexW
Dmitry Timoshkov
dmitry at codeweavers.com
Mon Feb 11 03:59:40 CST 2008
"Jeff Latimer" <lats at yless4u.com.au> wrote:
> My understanding of your question is: if I am removing the tests in one
> place then they should not be be necessary in the other. This is not
> the case. A call to PdhLookupPerfNameByIndexA will call
> PdhLookupPerfNameByIndexW and thus execute the all tests. The way it is
> at the moment the tests get executed twice (in the negative), this
> change ensures that they only execute once.
That's true for index, but not for machine.
--
Dmitry.
More information about the wine-devel
mailing list