winapi-rs
winapi-rs copied to clipboard
CONTEXT should be aligned to 16-byte boundary
winapi::um::winnt::CONTEXT needs to be aligned to a 16-byte boundary. Here is a forum post referring to this issue I have confirmed this on my system.
There is a FIXME for this struct in the winapi source. What is required to align structs with the existing struct!{} macro?
This will be fixed in winapi 0.4 when the minimum Rust version is bumped to support #[repr(align(N))]