http://bugs.winehq.org/show_bug.cgi?id=32925
Bug #: 32925 Summary: KERNEL32.dll.GetVolumeInformationByHandleW is not implemented Product: Wine Version: 1.5.23 Platform: x86-64 URL: http://www.winuae.net/files/InstallWinUAE2510.exe OS/Version: Windows Status: UNCONFIRMED Severity: normal Priority: P2 Component: kernel32 AssignedTo: wine-bugs@winehq.org ReportedBy: markk@clara.co.uk Classification: Unclassified
The latest beta build of WinUAE tries to call KERNEL32.dll.GetVolumeInformationByHandleW, which is implemented in Windows Vista and later. But even after setting the OS level to Vista with winecfg, Wine exits reporting: wine: Call from 0x7bc4d010 to unimplemented function KERNEL32.dll.GetVolumeInformationByHandleW, aborting wine: Unimplemented function KERNEL32.dll.GetVolumeInformationByHandleW called at address 0x7bc4d010 (thread 0009), starting debugger...
GetVolumeInformationByHandleW seems similar to the earlier GetVolumeInformation function, but instead of a root directory path (e.g. "D:") you pass a file handle.
To reproduce: - Download and run the WinUAE 2.5.1 installer. - Download http://www.winuae.net/files/b/winuae_GetVolumeInformationByHandleW.zip and replace winuae.exe with the one from that archive. - Run winuae.exe - When the WinUAE Properties window opens, click Hard drives in the tree-view to the left. Click Add Directory or Archive... then enter (for example) "test" in the Device name and Volume label fields, and C:\ for Path. Click OK. - Click Configurations in the tree-view. Type something in the Name field (e.g. test.uae) and click Save. Wine should crash.