windows-sys breaking changes
Updated December 4, 2026
On this page
Latest version 0.101.0, released November 30, 2026. Source repository
Its 0.40.0 release requires Rust 1.49 or later. Rust end of life dates.
windows-sys 0.60.0 breaking changes
- Removed
GUID
The From<&str> conversion for GUID was replaced by a fallible TryFrom<&str>. Code that calls GUID::from on a string must switch to try_from and handle the Result. github.com
windows-sys 0.59.0 breaking changes
- Removed
windows_sys::core::HSTRING
windows_sys::core::HSTRING was removed in windows-sys 0.59.0 crates.io - Removed
windows_sys::core::IInspectable
windows_sys::core::IInspectable was removed in windows-sys 0.59.0 crates.io - Removed
windows_sys::core::IUnknown
windows_sys::core::IUnknown was removed in windows-sys 0.59.0 crates.io - Configuration changed
Code must use Rust 1.60 or later to build against this release. github.com
windows-sys 0.53.0 breaking changes
- Removed
Support code for Windows 7 was removed, so code relying on it no longer compiles or works. github.com - Behavior changed
Generated bindings use a signed byte for C's char type, which can change the type seen by code that uses it. github.com
windows-sys 0.52.0 breaking changes
- Removed
windows_sys::Wdk
windows_sys::Wdk was removed in windows-sys 0.52.0 crates.io - Removed
windows_sys::Win32
windows_sys::Win32 was removed in windows-sys 0.52.0 crates.io - Configuration changed
The crates now use Rust edition 2021, so older compilers that do not support that edition may fail to build them. github.com
windows-sys 0.48.0 breaking changes
- Signature changed
windows_sys::Win32::Data::HtmlHelp::HH_POPUP::hinst
Was hinst: super::super::Foundation::HINSTANCE; now hinst: super::super::Foundation::HMODULE. crates.io - Signature changed
windows_sys::Win32::Devices::AllJoyn::alljoyn_interfacedescription_translation_callback_ptr
Was type alljoyn_interfacedescription_translation_callback_ptr = ::core::option::Option<unsafe extern "system" fn(sourcelanguage: ::windows_sys::core::PCSTR, targetlanguage: ::windows_sys::core::PCSTR, sourcetext... crates.io - Signature changed
windows_sys::Win32::Devices::BiometricFramework::PIBIO_FRAMEWORK_VSM_STORAGE_RESERVED_1_FN
Was type PIBIO_FRAMEWORK_VSM_STORAGE_RESERVED_1_FN = ::core::option::Option<unsafe extern "system" fn(pipeline: *mut WINBIO_PIPELINE, reserved1: usize, reserved2: *mut usize) -> ::windows_sys::core::HRESULT>; now type... crates.io - Signature changed
windows_sys::Win32::Devices::BiometricFramework::PIBIO_FRAMEWORK_VSM_STORAGE_RESERVED_2_FN
Was type PIBIO_FRAMEWORK_VSM_STORAGE_RESERVED_2_FN = ::core::option::Option<unsafe extern "system" fn(pipeline: *mut WINBIO_PIPELINE, reserved1: *mut u8, reserved2: usize) -> ::windows_sys::core::HRESULT>; now type... crates.io - Signature changed
windows_sys::Win32::Devices::BiometricFramework::PIBIO_FRAMEWORK_VSM_STORAGE_RESERVED_3_FN
Was type PIBIO_FRAMEWORK_VSM_STORAGE_RESERVED_3_FN = ::core::option::Option<unsafe extern "system" fn(pipeline: *mut WINBIO_PIPELINE) -> ::windows_sys::core::HRESULT>; now type PIBIO_FRAMEWORK_VSM_STORAGE_RESERVED_3_FN =... crates.io - Signature changed
windows_sys::Win32::Devices::BiometricFramework::PIBIO_STORAGE_RESERVED_1_FN
Was type PIBIO_STORAGE_RESERVED_1_FN = ::core::option::Option<unsafe extern "system" fn(pipeline: *mut WINBIO_PIPELINE, identity: *mut WINBIO_IDENTITY, reserved1: *mut u64, reserved2: *mut u64) -> ::windows_sys::core::HRESULT>; now type... crates.io - Signature changed
windows_sys::Win32::Devices::BiometricFramework::PIBIO_STORAGE_RESERVED_2_FN
Was type PIBIO_STORAGE_RESERVED_2_FN = ::core::option::Option<unsafe extern "system" fn(pipeline: *mut WINBIO_PIPELINE, identity: *mut WINBIO_IDENTITY) -> ::windows_sys::core::HRESULT>; now type PIBIO_STORAGE_RESERVED_2_FN =... crates.io - Signature changed
windows_sys::Win32::Devices::Bluetooth::BTH_DEVICE_INFO::name
Was name: [super::super::Foundation::CHAR; 248]; now name: [u8; 248]. crates.io - Signature changed
windows_sys::Win32::Devices::Bluetooth::SDP_ELEMENT_DATA_0::int8
Was int8: super::super::Foundation::CHAR; now int8: u8. crates.io - Signature changed
windows_sys::Win32::Devices::Communication::DCB::EofChar
Was EofChar: super::super::Foundation::CHAR; now EofChar: u8. crates.io
And 581 more in this version. Sign up to see every change
windows-sys 0.45.0 breaking changes
- Signature changed
windows_sys::Win32::Data::HtmlHelp::HH_ALINK_LOOKUP
Was const HH_ALINK_LOOKUP: u32; now const HH_ALINK_LOOKUP: HTML_HELP_COMMAND. crates.io - Signature changed
windows_sys::Win32::Data::HtmlHelp::HH_CLOSE_ALL
Was const HH_CLOSE_ALL: u32; now const HH_CLOSE_ALL: HTML_HELP_COMMAND. crates.io - Signature changed
windows_sys::Win32::Data::HtmlHelp::HH_DISPLAY_INDEX
Was const HH_DISPLAY_INDEX: u32; now const HH_DISPLAY_INDEX: HTML_HELP_COMMAND. crates.io - Signature changed
windows_sys::Win32::Data::HtmlHelp::HH_DISPLAY_SEARCH
Was const HH_DISPLAY_SEARCH: u32; now const HH_DISPLAY_SEARCH: HTML_HELP_COMMAND. crates.io - Signature changed
windows_sys::Win32::Data::HtmlHelp::HH_DISPLAY_TEXT_POPUP
Was const HH_DISPLAY_TEXT_POPUP: u32; now const HH_DISPLAY_TEXT_POPUP: HTML_HELP_COMMAND. crates.io - Signature changed
windows_sys::Win32::Data::HtmlHelp::HH_DISPLAY_TOC
Was const HH_DISPLAY_TOC: u32; now const HH_DISPLAY_TOC: HTML_HELP_COMMAND. crates.io - Signature changed
windows_sys::Win32::Data::HtmlHelp::HH_DISPLAY_TOPIC
Was const HH_DISPLAY_TOPIC: u32; now const HH_DISPLAY_TOPIC: HTML_HELP_COMMAND. crates.io - Signature changed
windows_sys::Win32::Data::HtmlHelp::HH_ENUM_CATEGORY
Was const HH_ENUM_CATEGORY: u32; now const HH_ENUM_CATEGORY: HTML_HELP_COMMAND. crates.io - Signature changed
windows_sys::Win32::Data::HtmlHelp::HH_ENUM_CATEGORY_IT
Was const HH_ENUM_CATEGORY_IT: u32; now const HH_ENUM_CATEGORY_IT: HTML_HELP_COMMAND. crates.io - Signature changed
windows_sys::Win32::Data::HtmlHelp::HH_ENUM_INFO_TYPE
Was const HH_ENUM_INFO_TYPE: u32; now const HH_ENUM_INFO_TYPE: HTML_HELP_COMMAND. crates.io
And 2,032 more in this version. Sign up to see every change
Older versions
9 older versions, each with its first changes. Sign up to see every change
Show 9 older versions
windows-sys 0.44.0 breaking changes
- Removed
The windows-sys crate no longer provides the major COM APIs, so code that uses them must switch to the windows crate or another source. github.com
windows-sys 0.42.0 breaking changes
- Signature changed
windows_sys::core::HSTRING
Was type HSTRING = *mut core::ffi::c_void; now type HSTRING = *mut ::core::ffi::c_void. crates.io - Signature changed
windows_sys::core::IInspectable
Was type IInspectable = *mut core::ffi::c_void; now type IInspectable = *mut ::core::ffi::c_void. crates.io
And 524 more in this version.
windows-sys 0.40.0 breaking changes
- Removed
The windows-sys crate was trimmed to Win32 features and modules only, so code that relied on other modules or features may no longer compile. github.com - Configuration changed
Users on older Rust toolchains must upgrade to Rust 1.49 or later to build windows-sys. github.com
windows-sys 0.36.0 breaking changes
- Removed
The heap functions were made private in this release, so code that calls them directly will no longer compile. Use the public APIs instead. github.com - Signature changed
windows_sys::Win32::Data::HtmlHelp::SZ_WWDEST_GLOBAL
Was const SZ_WWDEST_GLOBAL: &'static str; now const SZ_WWDEST_GLOBAL: &str. crates.io
And 1,715 more in this version.
windows-sys 0.35.0 breaking changes
- Signature changed
windows_sys::Win32::Foundation::PSID
Was type PSID = isize; now type PSID = *mut ::core::ffi::c_void. crates.io - Signature changed
windows_sys::Win32::Graphics::OpenGL::PIXELFORMATDESCRIPTOR::dwFlags
Was dwFlags: u32; now dwFlags: PFD_FLAGS. crates.io
And 9 more in this version.
windows-sys 0.34.0 breaking changes
- Behavior changed
The generator no longer emits IDispatch members, so code that referenced them in generated output may need to change. github.com
windows-sys 0.33.0 breaking changes
- Signature changed
windows_sys::Win32::AI::MachineLearning::DirectML::DML_INPUT_GRAPH_EDGE_DESC::Name
Was Name: super::super::super::Foundation::PSTR; now Name: ::windows_sys::core::PCSTR. crates.io - Signature changed
windows_sys::Win32::AI::MachineLearning::DirectML::DML_INTERMEDIATE_GRAPH_EDGE_DESC::Name
Was Name: super::super::super::Foundation::PSTR; now Name: ::windows_sys::core::PCSTR. crates.io
And 953 more in this version.
windows-sys 0.32.0 breaking changes
- Behavior changed
Delegate types now require Send, so delegate implementations that are not Send will no longer compile and must be made Send. github.com - Signature changed
windows_sys::Win32::AI::MachineLearning::DirectML::DML_ACTIVATION_CELU_OPERATOR_DESC::InputTensor
Was InputTensor: *mut DML_TENSOR_DESC; now InputTensor: *const DML_TENSOR_DESC. crates.io
And 725 more in this version.
windows-sys 0.30.0 breaking changes
- Removed
std
The std feature was removed from the crate. Code or manifests that enable the std feature must stop enabling it. github.com
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.