From 148f4ebdda2a04ff8afb9a3493aaf53b552e67e6 Mon Sep 17 00:00:00 2001 From: Kenny Kerr Date: Tue, 27 Feb 2024 14:44:02 -0600 Subject: [PATCH] Release 0.54.0 (#2894) --- crates/libs/bindgen/Cargo.toml | 4 +- crates/libs/core/Cargo.toml | 2 +- crates/libs/core/src/imp/bindings.rs | 2 +- crates/libs/core/src/imp/com_bindings.rs | 2 +- crates/libs/metadata/Cargo.toml | 2 +- crates/libs/metadata/src/bindings.rs | 2 +- crates/libs/registry/Cargo.toml | 2 +- crates/libs/registry/src/bindings.rs | 2 +- crates/libs/result/Cargo.toml | 2 +- crates/libs/result/src/bindings.rs | 2 +- crates/libs/version/Cargo.toml | 2 +- crates/libs/version/src/bindings.rs | 2 +- crates/libs/windows/Cargo.toml | 4 +- .../json_validator_winrt/src/bindings.rs | 2 +- .../src/bindings.rs | 2 +- crates/tests/component/src/bindings.rs | 2 +- crates/tests/component_client/src/bindings.rs | 2 +- crates/tests/riddle/src/generic_interfaces.rs | 2 +- crates/tests/riddle/src/module_attributes.rs | 2 +- crates/tests/riddle/src/nested_module.rs | 2 +- crates/tests/riddle/src/nested_struct.rs | 2 +- crates/tests/riddle/src/params.rs | 2 +- crates/tests/riddle/src/struct.rs | 2 +- crates/tests/riddle/src/win32_struct.rs | 2 +- crates/tests/riddle/src/winrt_struct.rs | 2 +- crates/tests/standalone/src/b_arch.rs | 2 +- .../standalone/src/b_arch_dependencies.rs | 2 +- crates/tests/standalone/src/b_bstr.rs | 2 +- crates/tests/standalone/src/b_calendar.rs | 2 +- .../tests/standalone/src/b_constant_types.rs | 2 +- crates/tests/standalone/src/b_depends.rs | 2 +- crates/tests/standalone/src/b_enumeration.rs | 2 +- crates/tests/standalone/src/b_enumerator.rs | 2 +- crates/tests/standalone/src/b_guid.rs | 2 +- crates/tests/standalone/src/b_hresult.rs | 2 +- crates/tests/standalone/src/b_hstring.rs | 2 +- crates/tests/standalone/src/b_include_me.rs | 2 +- crates/tests/standalone/src/b_inspectable.rs | 2 +- crates/tests/standalone/src/b_nested.rs | 2 +- crates/tests/standalone/src/b_none.rs | 2 +- crates/tests/standalone/src/b_overloads.rs | 2 +- crates/tests/standalone/src/b_pcstr.rs | 2 +- crates/tests/standalone/src/b_pcwstr.rs | 2 +- crates/tests/standalone/src/b_pstr.rs | 2 +- crates/tests/standalone/src/b_pwstr.rs | 2 +- crates/tests/standalone/src/b_std.rs | 2 +- crates/tests/standalone/src/b_stringable.rs | 2 +- crates/tests/standalone/src/b_test.rs | 2 +- crates/tests/standalone/src/b_unknown.rs | 2 +- crates/tests/standalone/src/b_uri.rs | 2 +- crates/tests/standalone/src/b_variant.rs | 2 +- crates/tests/standalone/src/b_vtbl.rs | 70 ------------------- crates/tests/standalone/src/b_vtbl_0.rs | 2 +- crates/tests/standalone/src/b_vtbl_1.rs | 2 +- crates/tests/standalone/src/b_vtbl_2.rs | 2 +- crates/tests/standalone/src/b_vtbl_3.rs | 2 +- crates/tests/standalone/src/b_vtbl_4.rs | 2 +- .../tests/standalone/src/b_win_enumerator.rs | 2 +- crates/tools/riddle/Cargo.toml | 2 +- 59 files changed, 60 insertions(+), 130 deletions(-) delete mode 100644 crates/tests/standalone/src/b_vtbl.rs diff --git a/crates/libs/bindgen/Cargo.toml b/crates/libs/bindgen/Cargo.toml index f71fa4f664..cef772e75b 100644 --- a/crates/libs/bindgen/Cargo.toml +++ b/crates/libs/bindgen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "windows-bindgen" -version = "0.53.0" +version = "0.54.0" authors = ["Microsoft"] edition = "2021" rust-version = "1.70" @@ -21,7 +21,7 @@ default = ["metadata"] metadata = [] [dependencies] -windows-metadata = { path = "../metadata", version = "0.53.0" } +windows-metadata = { path = "../metadata", version = "0.54.0" } rayon = "1.7" [dependencies.syn] diff --git a/crates/libs/core/Cargo.toml b/crates/libs/core/Cargo.toml index 0edb8bdda3..1bc8d9771d 100644 --- a/crates/libs/core/Cargo.toml +++ b/crates/libs/core/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "windows-core" -version = "0.53.0" +version = "0.54.0" authors = ["Microsoft"] edition = "2021" rust-version = "1.62" diff --git a/crates/libs/core/src/imp/bindings.rs b/crates/libs/core/src/imp/bindings.rs index 3a8bbd8542..05bbb13e7c 100644 --- a/crates/libs/core/src/imp/bindings.rs +++ b/crates/libs/core/src/imp/bindings.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.53.0 +// Bindings generated by `windows-bindgen` 0.54.0 #![allow(non_snake_case, non_upper_case_globals, non_camel_case_types, dead_code, clippy::all)] ::windows_targets::link!("api-ms-win-core-winrt-l1-1-0.dll" "system" fn RoGetActivationFactory(activatableclassid : * mut::core::ffi::c_void, iid : *const GUID, factory : *mut *mut ::core::ffi::c_void) -> HRESULT); diff --git a/crates/libs/core/src/imp/com_bindings.rs b/crates/libs/core/src/imp/com_bindings.rs index 4e3a30bfd1..8bb23a6983 100644 --- a/crates/libs/core/src/imp/com_bindings.rs +++ b/crates/libs/core/src/imp/com_bindings.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.53.0 +// Bindings generated by `windows-bindgen` 0.54.0 #![allow(non_snake_case, non_upper_case_globals, non_camel_case_types, dead_code, clippy::all)] #[inline] diff --git a/crates/libs/metadata/Cargo.toml b/crates/libs/metadata/Cargo.toml index 351bf02b5d..42de60f8b3 100644 --- a/crates/libs/metadata/Cargo.toml +++ b/crates/libs/metadata/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "windows-metadata" -version = "0.53.0" +version = "0.54.0" authors = ["Microsoft"] edition = "2021" rust-version = "1.70" diff --git a/crates/libs/metadata/src/bindings.rs b/crates/libs/metadata/src/bindings.rs index 22968ad077..c636cb9f8f 100644 --- a/crates/libs/metadata/src/bindings.rs +++ b/crates/libs/metadata/src/bindings.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.53.0 +// Bindings generated by `windows-bindgen` 0.54.0 #![allow(non_snake_case, non_upper_case_globals, non_camel_case_types, dead_code, clippy::all)] pub type CorElementType = u8; diff --git a/crates/libs/registry/Cargo.toml b/crates/libs/registry/Cargo.toml index b322335af7..4910e1a5f5 100644 --- a/crates/libs/registry/Cargo.toml +++ b/crates/libs/registry/Cargo.toml @@ -27,5 +27,5 @@ version = "0.1.0" path = "../result" [dev-dependencies.windows-bindgen] -version = "0.53.0" +version = "0.54.0" path = "../bindgen" diff --git a/crates/libs/registry/src/bindings.rs b/crates/libs/registry/src/bindings.rs index 2801215e9d..0248689484 100644 --- a/crates/libs/registry/src/bindings.rs +++ b/crates/libs/registry/src/bindings.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.53.0 +// Bindings generated by `windows-bindgen` 0.54.0 #![allow( non_snake_case, diff --git a/crates/libs/result/Cargo.toml b/crates/libs/result/Cargo.toml index 8a68a841c2..eaa645b053 100644 --- a/crates/libs/result/Cargo.toml +++ b/crates/libs/result/Cargo.toml @@ -23,5 +23,5 @@ version = "0.52.3" path = "../targets" [dev-dependencies.windows-bindgen] -version = "0.53.0" +version = "0.54.0" path = "../bindgen" diff --git a/crates/libs/result/src/bindings.rs b/crates/libs/result/src/bindings.rs index 5809d03cb5..9cad75a99d 100644 --- a/crates/libs/result/src/bindings.rs +++ b/crates/libs/result/src/bindings.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.53.0 +// Bindings generated by `windows-bindgen` 0.54.0 #![allow( non_snake_case, diff --git a/crates/libs/version/Cargo.toml b/crates/libs/version/Cargo.toml index a073420553..ffe60ac0d7 100644 --- a/crates/libs/version/Cargo.toml +++ b/crates/libs/version/Cargo.toml @@ -22,5 +22,5 @@ version = "0.52.3" path = "../targets" [dev-dependencies.windows-bindgen] -version = "0.53.0" +version = "0.54.0" path = "../bindgen" diff --git a/crates/libs/version/src/bindings.rs b/crates/libs/version/src/bindings.rs index dbefa3204c..25ef6a4afb 100644 --- a/crates/libs/version/src/bindings.rs +++ b/crates/libs/version/src/bindings.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.53.0 +// Bindings generated by `windows-bindgen` 0.54.0 #![allow( non_snake_case, diff --git a/crates/libs/windows/Cargo.toml b/crates/libs/windows/Cargo.toml index cbe92c783b..484259f573 100644 --- a/crates/libs/windows/Cargo.toml +++ b/crates/libs/windows/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "windows" -version = "0.53.0" +version = "0.54.0" authors = ["Microsoft"] edition = "2021" rust-version = "1.62" @@ -22,7 +22,7 @@ targets = [] rustdoc-args = ["--cfg", "docsrs"] [dependencies] -windows-core = { path = "../core", version = "0.53.0" } +windows-core = { path = "../core", version = "0.54.0" } windows-targets = { path = "../targets", version = "0.52.3" } windows-implement = { path = "../implement", version = "0.53.0", optional = true } windows-interface = { path = "../interface", version = "0.53.0", optional = true } diff --git a/crates/samples/components/json_validator_winrt/src/bindings.rs b/crates/samples/components/json_validator_winrt/src/bindings.rs index c0de2d11b7..31c7c99c3c 100644 --- a/crates/samples/components/json_validator_winrt/src/bindings.rs +++ b/crates/samples/components/json_validator_winrt/src/bindings.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.53.0 +// Bindings generated by `windows-bindgen` 0.54.0 #![allow( non_snake_case, diff --git a/crates/samples/components/json_validator_winrt_client/src/bindings.rs b/crates/samples/components/json_validator_winrt_client/src/bindings.rs index 472f5684d2..f0780cb127 100644 --- a/crates/samples/components/json_validator_winrt_client/src/bindings.rs +++ b/crates/samples/components/json_validator_winrt_client/src/bindings.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.53.0 +// Bindings generated by `windows-bindgen` 0.54.0 #![allow( non_snake_case, diff --git a/crates/tests/component/src/bindings.rs b/crates/tests/component/src/bindings.rs index d83f329ce4..1d2fe58711 100644 --- a/crates/tests/component/src/bindings.rs +++ b/crates/tests/component/src/bindings.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.53.0 +// Bindings generated by `windows-bindgen` 0.54.0 #![allow( non_snake_case, diff --git a/crates/tests/component_client/src/bindings.rs b/crates/tests/component_client/src/bindings.rs index 544bb889a9..7b4ac636b6 100644 --- a/crates/tests/component_client/src/bindings.rs +++ b/crates/tests/component_client/src/bindings.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.53.0 +// Bindings generated by `windows-bindgen` 0.54.0 #![allow( non_snake_case, diff --git a/crates/tests/riddle/src/generic_interfaces.rs b/crates/tests/riddle/src/generic_interfaces.rs index 1d39c67eaf..870feb6421 100644 --- a/crates/tests/riddle/src/generic_interfaces.rs +++ b/crates/tests/riddle/src/generic_interfaces.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.53.0 +// Bindings generated by `windows-bindgen` 0.54.0 #![allow( non_snake_case, diff --git a/crates/tests/riddle/src/module_attributes.rs b/crates/tests/riddle/src/module_attributes.rs index e7c8c93f5e..d8162bb8cc 100644 --- a/crates/tests/riddle/src/module_attributes.rs +++ b/crates/tests/riddle/src/module_attributes.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.53.0 +// Bindings generated by `windows-bindgen` 0.54.0 #![allow( non_snake_case, diff --git a/crates/tests/riddle/src/nested_module.rs b/crates/tests/riddle/src/nested_module.rs index 1f7834f742..d857a5aaf5 100644 --- a/crates/tests/riddle/src/nested_module.rs +++ b/crates/tests/riddle/src/nested_module.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.53.0 +// Bindings generated by `windows-bindgen` 0.54.0 #![allow( non_snake_case, diff --git a/crates/tests/riddle/src/nested_struct.rs b/crates/tests/riddle/src/nested_struct.rs index 8063de411c..79766bc6eb 100644 --- a/crates/tests/riddle/src/nested_struct.rs +++ b/crates/tests/riddle/src/nested_struct.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.53.0 +// Bindings generated by `windows-bindgen` 0.54.0 #![allow( non_snake_case, diff --git a/crates/tests/riddle/src/params.rs b/crates/tests/riddle/src/params.rs index e0ff51ff59..a2a0a449f6 100644 --- a/crates/tests/riddle/src/params.rs +++ b/crates/tests/riddle/src/params.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.53.0 +// Bindings generated by `windows-bindgen` 0.54.0 #![allow( non_snake_case, diff --git a/crates/tests/riddle/src/struct.rs b/crates/tests/riddle/src/struct.rs index 4562269a84..bba4102b62 100644 --- a/crates/tests/riddle/src/struct.rs +++ b/crates/tests/riddle/src/struct.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.53.0 +// Bindings generated by `windows-bindgen` 0.54.0 #![allow( non_snake_case, diff --git a/crates/tests/riddle/src/win32_struct.rs b/crates/tests/riddle/src/win32_struct.rs index 93a954208d..ff89da3c60 100644 --- a/crates/tests/riddle/src/win32_struct.rs +++ b/crates/tests/riddle/src/win32_struct.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.53.0 +// Bindings generated by `windows-bindgen` 0.54.0 #![allow( non_snake_case, diff --git a/crates/tests/riddle/src/winrt_struct.rs b/crates/tests/riddle/src/winrt_struct.rs index e7c8c93f5e..d8162bb8cc 100644 --- a/crates/tests/riddle/src/winrt_struct.rs +++ b/crates/tests/riddle/src/winrt_struct.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.53.0 +// Bindings generated by `windows-bindgen` 0.54.0 #![allow( non_snake_case, diff --git a/crates/tests/standalone/src/b_arch.rs b/crates/tests/standalone/src/b_arch.rs index 3155d4bcc8..e0f017b81f 100644 --- a/crates/tests/standalone/src/b_arch.rs +++ b/crates/tests/standalone/src/b_arch.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.53.0 +// Bindings generated by `windows-bindgen` 0.54.0 #![allow( non_snake_case, diff --git a/crates/tests/standalone/src/b_arch_dependencies.rs b/crates/tests/standalone/src/b_arch_dependencies.rs index 1935bab361..82cf614c0e 100644 --- a/crates/tests/standalone/src/b_arch_dependencies.rs +++ b/crates/tests/standalone/src/b_arch_dependencies.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.53.0 +// Bindings generated by `windows-bindgen` 0.54.0 #![allow( non_snake_case, diff --git a/crates/tests/standalone/src/b_bstr.rs b/crates/tests/standalone/src/b_bstr.rs index f70438b791..2cf17d2ba3 100644 --- a/crates/tests/standalone/src/b_bstr.rs +++ b/crates/tests/standalone/src/b_bstr.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.53.0 +// Bindings generated by `windows-bindgen` 0.54.0 #![allow( non_snake_case, diff --git a/crates/tests/standalone/src/b_calendar.rs b/crates/tests/standalone/src/b_calendar.rs index aaad96435b..ff3c3a0263 100644 --- a/crates/tests/standalone/src/b_calendar.rs +++ b/crates/tests/standalone/src/b_calendar.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.53.0 +// Bindings generated by `windows-bindgen` 0.54.0 #![allow( non_snake_case, diff --git a/crates/tests/standalone/src/b_constant_types.rs b/crates/tests/standalone/src/b_constant_types.rs index 16d16ac47a..477b139513 100644 --- a/crates/tests/standalone/src/b_constant_types.rs +++ b/crates/tests/standalone/src/b_constant_types.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.53.0 +// Bindings generated by `windows-bindgen` 0.54.0 #![allow( non_snake_case, diff --git a/crates/tests/standalone/src/b_depends.rs b/crates/tests/standalone/src/b_depends.rs index 75b4094c07..3901ae0c39 100644 --- a/crates/tests/standalone/src/b_depends.rs +++ b/crates/tests/standalone/src/b_depends.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.53.0 +// Bindings generated by `windows-bindgen` 0.54.0 #![allow( non_snake_case, diff --git a/crates/tests/standalone/src/b_enumeration.rs b/crates/tests/standalone/src/b_enumeration.rs index 5013a95bbd..c159b8e11f 100644 --- a/crates/tests/standalone/src/b_enumeration.rs +++ b/crates/tests/standalone/src/b_enumeration.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.53.0 +// Bindings generated by `windows-bindgen` 0.54.0 #![allow( non_snake_case, diff --git a/crates/tests/standalone/src/b_enumerator.rs b/crates/tests/standalone/src/b_enumerator.rs index adfe627078..3b20a77f19 100644 --- a/crates/tests/standalone/src/b_enumerator.rs +++ b/crates/tests/standalone/src/b_enumerator.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.53.0 +// Bindings generated by `windows-bindgen` 0.54.0 #![allow( non_snake_case, diff --git a/crates/tests/standalone/src/b_guid.rs b/crates/tests/standalone/src/b_guid.rs index 5175d02720..fd02e94bb4 100644 --- a/crates/tests/standalone/src/b_guid.rs +++ b/crates/tests/standalone/src/b_guid.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.53.0 +// Bindings generated by `windows-bindgen` 0.54.0 #![allow( non_snake_case, diff --git a/crates/tests/standalone/src/b_hresult.rs b/crates/tests/standalone/src/b_hresult.rs index eedf640ea6..e58dae666a 100644 --- a/crates/tests/standalone/src/b_hresult.rs +++ b/crates/tests/standalone/src/b_hresult.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.53.0 +// Bindings generated by `windows-bindgen` 0.54.0 #![allow( non_snake_case, diff --git a/crates/tests/standalone/src/b_hstring.rs b/crates/tests/standalone/src/b_hstring.rs index 9c5a38b01b..96052a0426 100644 --- a/crates/tests/standalone/src/b_hstring.rs +++ b/crates/tests/standalone/src/b_hstring.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.53.0 +// Bindings generated by `windows-bindgen` 0.54.0 #![allow( non_snake_case, diff --git a/crates/tests/standalone/src/b_include_me.rs b/crates/tests/standalone/src/b_include_me.rs index ad967df1c3..a5ccfa5805 100644 --- a/crates/tests/standalone/src/b_include_me.rs +++ b/crates/tests/standalone/src/b_include_me.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.53.0 +// Bindings generated by `windows-bindgen` 0.54.0 #[inline] pub unsafe fn GetVersion() -> u32 { diff --git a/crates/tests/standalone/src/b_inspectable.rs b/crates/tests/standalone/src/b_inspectable.rs index bc0cce6597..6e37f94f58 100644 --- a/crates/tests/standalone/src/b_inspectable.rs +++ b/crates/tests/standalone/src/b_inspectable.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.53.0 +// Bindings generated by `windows-bindgen` 0.54.0 #![allow( non_snake_case, diff --git a/crates/tests/standalone/src/b_nested.rs b/crates/tests/standalone/src/b_nested.rs index 25fbd55a1d..1643ac879e 100644 --- a/crates/tests/standalone/src/b_nested.rs +++ b/crates/tests/standalone/src/b_nested.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.53.0 +// Bindings generated by `windows-bindgen` 0.54.0 #![allow( non_snake_case, diff --git a/crates/tests/standalone/src/b_none.rs b/crates/tests/standalone/src/b_none.rs index ef3629a9b7..75e91c3d79 100644 --- a/crates/tests/standalone/src/b_none.rs +++ b/crates/tests/standalone/src/b_none.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.53.0 +// Bindings generated by `windows-bindgen` 0.54.0 #![allow( non_snake_case, diff --git a/crates/tests/standalone/src/b_overloads.rs b/crates/tests/standalone/src/b_overloads.rs index e3cb59c3ad..5c21975d57 100644 --- a/crates/tests/standalone/src/b_overloads.rs +++ b/crates/tests/standalone/src/b_overloads.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.53.0 +// Bindings generated by `windows-bindgen` 0.54.0 #![allow( non_snake_case, diff --git a/crates/tests/standalone/src/b_pcstr.rs b/crates/tests/standalone/src/b_pcstr.rs index 26938cfb5e..e640f224a5 100644 --- a/crates/tests/standalone/src/b_pcstr.rs +++ b/crates/tests/standalone/src/b_pcstr.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.53.0 +// Bindings generated by `windows-bindgen` 0.54.0 #![allow( non_snake_case, diff --git a/crates/tests/standalone/src/b_pcwstr.rs b/crates/tests/standalone/src/b_pcwstr.rs index f76a92ae82..df406d0f33 100644 --- a/crates/tests/standalone/src/b_pcwstr.rs +++ b/crates/tests/standalone/src/b_pcwstr.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.53.0 +// Bindings generated by `windows-bindgen` 0.54.0 #![allow( non_snake_case, diff --git a/crates/tests/standalone/src/b_pstr.rs b/crates/tests/standalone/src/b_pstr.rs index 66aca588e6..08a5ab950b 100644 --- a/crates/tests/standalone/src/b_pstr.rs +++ b/crates/tests/standalone/src/b_pstr.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.53.0 +// Bindings generated by `windows-bindgen` 0.54.0 #![allow( non_snake_case, diff --git a/crates/tests/standalone/src/b_pwstr.rs b/crates/tests/standalone/src/b_pwstr.rs index 5f0a183968..11fa2221dd 100644 --- a/crates/tests/standalone/src/b_pwstr.rs +++ b/crates/tests/standalone/src/b_pwstr.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.53.0 +// Bindings generated by `windows-bindgen` 0.54.0 #![allow( non_snake_case, diff --git a/crates/tests/standalone/src/b_std.rs b/crates/tests/standalone/src/b_std.rs index b526216970..e4aff0ea00 100644 --- a/crates/tests/standalone/src/b_std.rs +++ b/crates/tests/standalone/src/b_std.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.53.0 +// Bindings generated by `windows-bindgen` 0.54.0 #![allow( non_snake_case, diff --git a/crates/tests/standalone/src/b_stringable.rs b/crates/tests/standalone/src/b_stringable.rs index 786d9e7f21..984607f770 100644 --- a/crates/tests/standalone/src/b_stringable.rs +++ b/crates/tests/standalone/src/b_stringable.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.53.0 +// Bindings generated by `windows-bindgen` 0.54.0 #![allow( non_snake_case, diff --git a/crates/tests/standalone/src/b_test.rs b/crates/tests/standalone/src/b_test.rs index 86ddc3c581..2326af00fb 100644 --- a/crates/tests/standalone/src/b_test.rs +++ b/crates/tests/standalone/src/b_test.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.53.0 +// Bindings generated by `windows-bindgen` 0.54.0 #![allow( non_snake_case, diff --git a/crates/tests/standalone/src/b_unknown.rs b/crates/tests/standalone/src/b_unknown.rs index acb5f08c7d..0dc7c6e5ec 100644 --- a/crates/tests/standalone/src/b_unknown.rs +++ b/crates/tests/standalone/src/b_unknown.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.53.0 +// Bindings generated by `windows-bindgen` 0.54.0 #![allow( non_snake_case, diff --git a/crates/tests/standalone/src/b_uri.rs b/crates/tests/standalone/src/b_uri.rs index 4b4c084650..f64a0101e9 100644 --- a/crates/tests/standalone/src/b_uri.rs +++ b/crates/tests/standalone/src/b_uri.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.53.0 +// Bindings generated by `windows-bindgen` 0.54.0 #![allow( non_snake_case, diff --git a/crates/tests/standalone/src/b_variant.rs b/crates/tests/standalone/src/b_variant.rs index 4c896e79b8..f4c3c0cb76 100644 --- a/crates/tests/standalone/src/b_variant.rs +++ b/crates/tests/standalone/src/b_variant.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.53.0 +// Bindings generated by `windows-bindgen` 0.54.0 #![allow( non_snake_case, diff --git a/crates/tests/standalone/src/b_vtbl.rs b/crates/tests/standalone/src/b_vtbl.rs deleted file mode 100644 index 42ed8614f2..0000000000 --- a/crates/tests/standalone/src/b_vtbl.rs +++ /dev/null @@ -1,70 +0,0 @@ -// Bindings generated by `windows-bindgen` 0.53.0 - -#![allow( - non_snake_case, - non_upper_case_globals, - non_camel_case_types, - dead_code, - clippy::all -)] -#[repr(C)] -pub struct GUID { - pub data1: u32, - pub data2: u16, - pub data3: u16, - pub data4: [u8; 8], -} -impl ::core::marker::Copy for GUID {} -impl ::core::clone::Clone for GUID { - fn clone(&self) -> Self { - *self - } -} -impl GUID { - pub const fn from_u128(uuid: u128) -> Self { - Self { - data1: (uuid >> 96) as u32, - data2: (uuid >> 80 & 0xffff) as u16, - data3: (uuid >> 64 & 0xffff) as u16, - data4: (uuid as u64).to_be_bytes(), - } - } -} -pub type HRESULT = i32; -pub const IID_IActivationFactory: GUID = GUID::from_u128(0x00000035_0000_0000_c000_000000000046); -#[repr(C)] -#[doc(hidden)] -pub struct IActivationFactory_Vtbl { - pub base__: IInspectable_Vtbl, - pub ActivateInstance: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut *mut ::core::ffi::c_void, - ) -> HRESULT, -} -pub const IID_IInspectable: GUID = GUID::from_u128(0xaf86e2e0_b12d_4c6a_9c5a_d7aa65101e90); -#[repr(C)] -pub struct IInspectable_Vtbl { - pub base: IUnknown_Vtbl, - pub GetIids: unsafe extern "system" fn( - this: *mut std::ffi::c_void, - count: *mut u32, - values: *mut *mut GUID, - ) -> HRESULT, - pub GetRuntimeClassName: unsafe extern "system" fn( - this: *mut std::ffi::c_void, - value: *mut *mut std::ffi::c_void, - ) -> HRESULT, - pub GetTrustLevel: - unsafe extern "system" fn(this: *mut std::ffi::c_void, value: *mut i32) -> HRESULT, -} -pub const IID_IUnknown: GUID = GUID::from_u128(0x00000000_0000_0000_c000_000000000046); -#[repr(C)] -pub struct IUnknown_Vtbl { - pub QueryInterface: unsafe extern "system" fn( - this: *mut ::core::ffi::c_void, - iid: *const GUID, - interface: *mut *mut ::core::ffi::c_void, - ) -> HRESULT, - pub AddRef: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> u32, - pub Release: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> u32, -} diff --git a/crates/tests/standalone/src/b_vtbl_0.rs b/crates/tests/standalone/src/b_vtbl_0.rs index 6e90ce1c5e..e5be8b2cdf 100644 --- a/crates/tests/standalone/src/b_vtbl_0.rs +++ b/crates/tests/standalone/src/b_vtbl_0.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.53.0 +// Bindings generated by `windows-bindgen` 0.54.0 #![allow( non_snake_case, diff --git a/crates/tests/standalone/src/b_vtbl_1.rs b/crates/tests/standalone/src/b_vtbl_1.rs index e658a6b52e..3aefaccfb0 100644 --- a/crates/tests/standalone/src/b_vtbl_1.rs +++ b/crates/tests/standalone/src/b_vtbl_1.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.53.0 +// Bindings generated by `windows-bindgen` 0.54.0 #![allow( non_snake_case, diff --git a/crates/tests/standalone/src/b_vtbl_2.rs b/crates/tests/standalone/src/b_vtbl_2.rs index 0b40779cff..49e82ead20 100644 --- a/crates/tests/standalone/src/b_vtbl_2.rs +++ b/crates/tests/standalone/src/b_vtbl_2.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.53.0 +// Bindings generated by `windows-bindgen` 0.54.0 #![allow( non_snake_case, diff --git a/crates/tests/standalone/src/b_vtbl_3.rs b/crates/tests/standalone/src/b_vtbl_3.rs index 120d11b3cd..1a5ec88afe 100644 --- a/crates/tests/standalone/src/b_vtbl_3.rs +++ b/crates/tests/standalone/src/b_vtbl_3.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.53.0 +// Bindings generated by `windows-bindgen` 0.54.0 #![allow( non_snake_case, diff --git a/crates/tests/standalone/src/b_vtbl_4.rs b/crates/tests/standalone/src/b_vtbl_4.rs index 924d5c8028..217fb2de80 100644 --- a/crates/tests/standalone/src/b_vtbl_4.rs +++ b/crates/tests/standalone/src/b_vtbl_4.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.53.0 +// Bindings generated by `windows-bindgen` 0.54.0 #![allow( non_snake_case, diff --git a/crates/tests/standalone/src/b_win_enumerator.rs b/crates/tests/standalone/src/b_win_enumerator.rs index 2c6b6c5fdf..3648f528d7 100644 --- a/crates/tests/standalone/src/b_win_enumerator.rs +++ b/crates/tests/standalone/src/b_win_enumerator.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.53.0 +// Bindings generated by `windows-bindgen` 0.54.0 #![allow( non_snake_case, diff --git a/crates/tools/riddle/Cargo.toml b/crates/tools/riddle/Cargo.toml index 52db1c2b33..e945b3ec5d 100644 --- a/crates/tools/riddle/Cargo.toml +++ b/crates/tools/riddle/Cargo.toml @@ -11,5 +11,5 @@ readme = "readme.md" [dependencies.windows-bindgen] path = "../../libs/bindgen" -version = "0.53.0" +version = "0.54.0" default-features = false