Closed docwilco closed 4 months ago
We fixed this on the metadata side already, but haven't ingested that new metadata yet on the Rust side. See also: https://github.com/microsoft/win32metadata/issues/1856#issuecomment-2059966655
Yep, I'm just waiting for a release of the Win32 metadata.
Oooh, shiny! Thank you! <3
Summary
The Rust IMMDevice::GetState takes an "out" parameter (
pdwstate: *mut u32
), and returns a value of typeDEVICE_STATE
:The VTable implementation for that is:
This looks wrong to me, as the C++ side of things defines IMMDevice::GetState as:
This makes me think the Rust definition should be:
With the VTable entry being:
I'm not super familiar with the windows-rs crate internals just yet, so I'm not sure if this is generated code where the generator should be updated, or if this is code that should now be updated manually?
Crate manifest
No response
Crate code
No response