kernel32: Implement GetVolumePathName.

Erich Hoover ehoover at
Tue Oct 4 10:32:50 CDT 2011

Real Name:
    Erich Hoover

    This patch implements GetVolumePathName by using the full folder
path and working backward until stat() returns a different device.  I
encountered issues with having this function unimplemented after
installing Portal 2 and attempting to launch the game for the first
time (the "completing installation" failed).  After looking into the
issue, I found that steam has been updated in such a way that the
"first run installation" calls CreateFile using FILE_OPEN_BY_FILE_ID
(lookup by inode).  Since my steam installation is on a different
filesystem than my root partition, this meant that steam passed the
wrong root search path to CreateFile and resulted in steam being
unable to locate its files.

    kernel32: Implement GetVolumePathName.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-kernel32-Implement-GetVolumePathName.patch
Type: text/x-patch
Size: 4409 bytes
Desc: not available
URL: <>

More information about the wine-patches mailing list