Update windows-bindgen

This commit is contained in:
Chris Denton 2023-11-17 12:13:38 +00:00
parent df58704701
commit 00a12af3ca
No known key found for this signature in database
GPG Key ID: 713472F2F45627DE
4 changed files with 10 additions and 10 deletions

View File

@ -6130,9 +6130,9 @@ dependencies = [
[[package]] [[package]]
name = "windows-bindgen" name = "windows-bindgen"
version = "0.51.1" version = "0.52.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bc1f16b778125675feee0d15d6dd9f6af0e3ac52b3233d63a10aa39230c1cd75" checksum = "970efb0b6849eb8a87a898f586af7cc167567b070014c7434514c0bde0ca341c"
dependencies = [ dependencies = [
"proc-macro2", "proc-macro2",
"rayon", "rayon",
@ -6142,9 +6142,9 @@ dependencies = [
[[package]] [[package]]
name = "windows-metadata" name = "windows-metadata"
version = "0.51.1" version = "0.52.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "753135d996f9da437c0b31dbde3032489a61708361929bcc07d4fba0b161000e" checksum = "218fd59201e26acdbb894fa2b302d1de84bf3eec7d0eb894ac8e9c5a854ee4ef"
[[package]] [[package]]
name = "windows-sys" name = "windows-sys"

View File

@ -2483,7 +2483,6 @@ Windows.Win32.System.SystemInformation.GetSystemTimeAsFileTime
Windows.Win32.System.SystemInformation.GetWindowsDirectoryW Windows.Win32.System.SystemInformation.GetWindowsDirectoryW
Windows.Win32.System.SystemInformation.PROCESSOR_ARCHITECTURE Windows.Win32.System.SystemInformation.PROCESSOR_ARCHITECTURE
Windows.Win32.System.SystemInformation.SYSTEM_INFO Windows.Win32.System.SystemInformation.SYSTEM_INFO
Windows.Win32.System.SystemServices.ALL_PROCESSOR_GROUPS
Windows.Win32.System.SystemServices.DLL_PROCESS_DETACH Windows.Win32.System.SystemServices.DLL_PROCESS_DETACH
Windows.Win32.System.SystemServices.DLL_THREAD_DETACH Windows.Win32.System.SystemServices.DLL_THREAD_DETACH
Windows.Win32.System.SystemServices.EXCEPTION_MAXIMUM_PARAMETERS Windows.Win32.System.SystemServices.EXCEPTION_MAXIMUM_PARAMETERS
@ -2492,6 +2491,7 @@ Windows.Win32.System.SystemServices.IO_REPARSE_TAG_SYMLINK
Windows.Win32.System.Threading.ABOVE_NORMAL_PRIORITY_CLASS Windows.Win32.System.Threading.ABOVE_NORMAL_PRIORITY_CLASS
Windows.Win32.System.Threading.AcquireSRWLockExclusive Windows.Win32.System.Threading.AcquireSRWLockExclusive
Windows.Win32.System.Threading.AcquireSRWLockShared Windows.Win32.System.Threading.AcquireSRWLockShared
Windows.Win32.System.Threading.ALL_PROCESSOR_GROUPS
Windows.Win32.System.Threading.BELOW_NORMAL_PRIORITY_CLASS Windows.Win32.System.Threading.BELOW_NORMAL_PRIORITY_CLASS
Windows.Win32.System.Threading.CREATE_BREAKAWAY_FROM_JOB Windows.Win32.System.Threading.CREATE_BREAKAWAY_FROM_JOB
Windows.Win32.System.Threading.CREATE_DEFAULT_ERROR_MODE Windows.Win32.System.Threading.CREATE_DEFAULT_ERROR_MODE

View File

@ -4,7 +4,7 @@
// regenerate the bindings. // regenerate the bindings.
// //
// ignore-tidy-filelength // ignore-tidy-filelength
// Bindings generated by `windows-bindgen` 0.51.1 // Bindings generated by `windows-bindgen` 0.52.0
#![allow(non_snake_case, non_upper_case_globals, non_camel_case_types, dead_code, clippy::all)] #![allow(non_snake_case, non_upper_case_globals, non_camel_case_types, dead_code, clippy::all)]
#[link(name = "advapi32")] #[link(name = "advapi32")]
@ -63,7 +63,7 @@ pub fn CopyFileExW(
lpnewfilename: PCWSTR, lpnewfilename: PCWSTR,
lpprogressroutine: LPPROGRESS_ROUTINE, lpprogressroutine: LPPROGRESS_ROUTINE,
lpdata: *const ::core::ffi::c_void, lpdata: *const ::core::ffi::c_void,
pbcancel: *mut i32, pbcancel: *mut BOOL,
dwcopyflags: u32, dwcopyflags: u32,
) -> BOOL; ) -> BOOL;
} }
@ -619,7 +619,7 @@ pub fn WideCharToMultiByte(
lpmultibytestr: PSTR, lpmultibytestr: PSTR,
cbmultibyte: i32, cbmultibyte: i32,
lpdefaultchar: PCSTR, lpdefaultchar: PCSTR,
lpuseddefaultchar: *mut i32, lpuseddefaultchar: *mut BOOL,
) -> i32; ) -> i32;
} }
#[link(name = "kernel32")] #[link(name = "kernel32")]
@ -869,7 +869,7 @@ fn clone(&self) -> Self {
pub const AF_INET6: ADDRESS_FAMILY = 23u16; pub const AF_INET6: ADDRESS_FAMILY = 23u16;
pub const AF_UNIX: u16 = 1u16; pub const AF_UNIX: u16 = 1u16;
pub const AF_UNSPEC: ADDRESS_FAMILY = 0u16; pub const AF_UNSPEC: ADDRESS_FAMILY = 0u16;
pub const ALL_PROCESSOR_GROUPS: u32 = 65535u32; pub const ALL_PROCESSOR_GROUPS: u16 = 65535u16;
#[repr(C)] #[repr(C)]
pub union ARM64_NT_NEON128 { pub union ARM64_NT_NEON128 {
pub Anonymous: ARM64_NT_NEON128_0, pub Anonymous: ARM64_NT_NEON128_0,

View File

@ -4,4 +4,4 @@ version = "0.1.0"
edition = "2021" edition = "2021"
[dependencies.windows-bindgen] [dependencies.windows-bindgen]
version = "0.51.1" version = "0.52.0"