http://bugs.winehq.org/show_bug.cgi?id=21466
Summary: implement FileFsVolumeInformation class for ntdll.NtQueryVolumeInformationFile Product: Wine Version: 1.1.37 Platform: x86 URL: http://download.avgfree.com/filedir/inst/avg_free_stf_ en_90_730a1834.exe OS/Version: Linux Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: ntdll AssignedTo: wine-bugs@winehq.org ReportedBy: focht@gmx.net
Hello,
AVG's free 8.x/9.x antivirus edition installer uses native API for various operations.
The installer creates empty UTF8 log files (c:\windows\temp\*avg9*.log) because of the (silenced) FileFsVolumeInformation class stub in ntdll.NtQueryVolumeInformationFile.
A simple implementation (even returning zero-filled FILE_FS_VOLUME_INFORMATION) helps the installer to properly write installer/debug log files with UTF8 content.
--- snip --- ... 002d:Call ntdll.RtlDosPathNameToNtPathName_U(00162a58 L"\\?\C:\windows\temp\Davg9inst_2010-01-24_11-39.log",0032f814,00000000,00000000) ret=0041d4de 002d:Ret ntdll.RtlDosPathNameToNtPathName_U() retval=00000001 ret=0041d4de ... 002d:Call ntdll.ZwOpenFile(0032f828,00120000,0032f7f4,0032f80c,00000003,00004020) ret=0041d380 002d:Ret ntdll.ZwOpenFile() retval=00000000 ret=0041d380 ... 002d:Call ntdll.ZwQueryVolumeInformationFile(00000068,0032f80c,0032f51c,00000238,00000001) ret=0041d3c0 002d:fixme:ntdll:NtQueryVolumeInformationFile 0x68: volume info not supported 002d:Ret ntdll.ZwQueryVolumeInformationFile() retval=c0000002 ret=0041d3c0 002d:Call ntdll.RtlNtStatusToDosError(c0000002) ret=0041d4a5 002d:Ret ntdll.RtlNtStatusToDosError() retval=00000001 ret=0041d4a5 ... 002d:Call ntdll.ZwClose(00000068) ret=0041d09b 002d:Ret ntdll.ZwClose() retval=00000000 ret=0041d09b ... --- snip ---
Regards