In the windows-rs docs the rgrc field of NCCALCSIZE_PARAMS is a bool, but the microsoft docs and the winapi crate docs say it should be a [RECT; 3]
Yes, I still need to add support for struct fields of arrays.
https://github.com/microsoft/windows-rs/blob/master/crates/gen/src/type.rs#L103-L109
Why use a wrong type (bool) instead of todo!() or something like that? People will struggle to realize what's wrong with their code.
I'm having the same issue with bindings::windows::win32::security::TOKEN_PRIVILEGES.
Ryan added a tweak to make it easier to identify such APIs. I'll get this fixed asap.
Sorry for the delay. This is now fixed as of https://github.com/microsoft/windows-rs/pull/608.
Most helpful comment
Why use a wrong type (bool) instead of
todo!()or something like that? People will struggle to realize what's wrong with their code.