On Thu, May 21, 2020 at 2:59 PM Zebediah Figura zfigura@codeweavers.com wrote:
On 5/21/20 3:50 PM, Erich E. Hoover wrote:
On Thu, May 21, 2020 at 12:48 PM Alexandre Julliard julliard@winehq.org wrote:
... Couldn't this go through some Win32 APIs instead of directly accessing mountmgr?
GetVolumeInformationW
That retrieves the volume (aka filesystem) serial number, not the disk drive serial number. The latter is distinguished by being alphanumeric and more than 8 bytes long.
My guess is IOCTL_STORAGE_GET_MEDIA_SERIAL_NUMBER, but I haven't tried to verify this. ...
Sorry, was trying to be helpful and didn't pay close enough attention. If that ioctl is correct then probably the answer is that it needs to be implemented, as it doesn't look like we have support for it at the moment.
Best, Erich