Closed Stovent closed 1 week ago
https://kennykerr.ca/rust-getting-started/how-are-crates-built.html
Will forward to the Win32 metadata repo.
Ideally you should use the IOCTL_STORAGE_*
codes over IOCTL_CDROM_*
. But yep, can confirm they're missing. We'll get them added.
@mikebattista I see you assigned yourself here, if you'd like can use my branch as a start rafael/additional-devices
Your changes look good. Basically what I started, but you're further ahead. I'll assign to you to finish up with a PR.
Thank you for your quick response!
@kennykerr sorry to ping you but I'd like to know when this change will be available in windows-rs ? not necessarily a release but just a branch or commit I can use.
I can investigate that but we need a metadata release first.
There's a new win32metadata package on NuGet as of today just not yet a corresponding wdkmetadata package, if that helps you.
The wdkmetadata package will be released tomorrow if you want to wait.
Thanks, I can wait it's for a personal project, I'm not in a hurry
@stovent You can wire up your project to the rafael/update-metadata
branch on windows-rs. (After I update libs and pass some smoke tests.)
Thank you very much! I've tested and it works
Summary
I noticed while trying to read from a CD drive that the IOCTLCDROM* constant for DeviceIoControl were missing in this crate, they do not show in the feature search page (version 0.58.0). I'm referring to those codes https://learn.microsoft.com/en-us/previous-versions/windows/drivers/storage/cd-rom-io-control-codes.