Re: mpr: Changes comparison of dwScope in WNetOpenEnum function

2007-09-27 Thread Juan Lang
Hi Konstantin, > I have one more question. To add realization of new function, I can add it in > struct WNetProvider? For example: > > typedef struct _WNetProvider (snip) > PF_NPGetResourceInformation getResourceInformation; //my added function > } WNetProvider, *PWNetProvider; > > It is corre

Re: mpr: Changes comparison of dwScope in WNetOpenEnum function

2007-09-26 Thread Konstantin Kondratyuk
Hello! > Your patch should probably fix both of those, then (and please ignore > my earlier comment.) I have resent my patch, having added in it the passed corrections. I have one more question. To add realization of new function, I can add it in struct WNetProvider? For example: typedef struc

Re: mpr: Changes comparison of dwScope in WNetOpenEnum function

2007-09-25 Thread Juan Lang
> The following condition in _globalEnumeratorAdvance() looks incorrect: > > for (; enumerator->providerIndex < providerTable->numProviders && > !(enumerator->dwScope & providerTable->table > [enumerator->providerIndex].dwEnumScopes); > enumerator->providerIndex++

Re: mpr: Changes comparison of dwScope in WNetOpenEnum function

2007-09-25 Thread Konstantin Kondratyuk
Hello, Juan! > 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:

Re: mpr: Changes comparison of dwScope in WNetOpenEnum function

2007-09-24 Thread Juan Lang
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: