mpr: Changes comparison of dwScope in WNetOpenEnum function
Juan Lang
juan.lang at gmail.com
Mon Sep 24 13:06:38 CDT 2007
Hi Konstantin,
- providerTable->table[index].dwEnumScopes
& dwScope)
+ providerTable->table[index].dwEnumScopes
& WNNC_ENUM_GLOBAL)
This change looks correct, but it should be changed in the next block as well:
ret = providerTable->table[index].openEnum(
dwScope, dwType, dwUsage, lpNet, &handle);
It also looks incorrect in _enumerateGlobalPassthroughW:
ret = providerTable->table[enumerator->providerIndex].
openEnum(enumerator->dwScope, enumerator->dwType,
enumerator->dwUsage, enumerator->lpNet,
&enumerator->handle);
In fact, all of these usages of dwScope look to confuse the two
meanings. (D'oh.)
--Juan
More information about the wine-devel
mailing list