https://bugs.winehq.org/show_bug.cgi?id=42446
--- Comment #34 from Stan markau0@lycos.com --- (In reply to Louis Lenders from comment #31)
changing
c = strrchrW( volumenameW, '\' );
to
c = strrchrW( volumenameW, '/' );
results in correct volumename being returned and Native Access then works normally.
Hi Stan, just checked but that single change breaks the tests in kernel32/tests so I guess a fix is more complicated then this single change
Maybe some things are sending a backslash path to GetVolumePathNameW and some things are sending a forward slash path to GetVolumePathNameW.
Anyway, something is wrong with the forward slashes and back slashes in regards to GetVolumePathNameW