Alexandre Goujon ale.goujon@gmail.com 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 */
SetLastError(lastError);
You should never need to do that sort of thing, there are no guarantees about last error on success.