Re: ntdll: return some sane values for the FileFsVolumeInformation class members in NtQueryVolumeInformationFile.
24 Nov
2010
24 Nov
'10
6:14 a.m.
On 11/23/2010 01:05 PM, Louis Lenders wrote:
This patch makes previously tests pass and fixes http://bugs.winehq.org/show_bug.cgi?id=21466. (A search through the registry on windows showed that at least the VolumeLabel and SerialNumber are not stored in the registry, so we just return some sane values)
+ static const WCHAR volumelabelW[] = {'w','i','n','e','_','d','i','s','k',0}; + + info->VolumeSerialNumber = 0x15112000; You should take that info from the volume (as it's done now in GetVolumeInformation) instead of hard-coded invalid values. I'm guessing some of that kernel32 functionality will need to be moved to ntdll.
Vitaliy.
5496
Age (days ago)
5496
Last active (days ago)
0 comments
1 participants
participants (1)
-
Vitaliy Margolen