Re: kernel32/volume: Don't modify the last error in GetVolumeInformation

2012-05-29 Thread Alexandre Goujon
On Tue, May 29, 2012 at 7:07 PM, Alexandre Julliard wrote: > Alexandre Goujon writes: > > > @@ -729,6 +731,8 @@ BOOL WINAPI GetVolumeInformationW( LPCWSTR root, > LPWSTR label, DWORD label_len, > > } > > else > > { > > +/* At this point, last error is ERROR_

Re: kernel32/volume: Don't modify the last error in GetVolumeInformation

2012-05-29 Thread Alexandre Julliard
Alexandre Goujon writes: > @@ -729,6 +731,8 @@ BOOL WINAPI GetVolumeInformationW( LPCWSTR root, LPWSTR > label, DWORD label_len, > } > else > { > +/* At this point, last error is ERROR_NOT_SUPPORTED. Restoring > the previous one */ > +SetLastEr