[PATCH 3/3] wbemprox: Get the disk drive serial number from mountmgr.

Erich E. Hoover erich.e.hoover at gmail.com
Sat May 23 13:49:23 CDT 2020


On Thu, May 21, 2020 at 4:26 PM Erich E. Hoover
<erich.e.hoover at gmail.com> wrote:
>
> On Thu, May 21, 2020 at 2:59 PM Zebediah Figura <zfigura at codeweavers.com> wrote:
> > ...
> > 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.

I think the correct one for this is IOCTL_STORAGE_QUERY_PROPERTY with
StorageDeviceProperty, which is only partially implemented right now.

Unfortunately for me, the thing I'm trying to do _is_ work with the
volume information - which looks like it involves figuring out how to
implement IRP_MJ_QUERY_VOLUME_INFORMATION.

Best,
Erich



More information about the wine-devel mailing list