Skip to content

Commit 9858843

Browse files
committed
Update windows-bindgen
1 parent 2ec1a5f commit 9858843

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

std/src/sys/windows/c/windows_sys.lst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2483,7 +2483,6 @@ Windows.Win32.System.SystemInformation.GetSystemTimeAsFileTime
24832483
Windows.Win32.System.SystemInformation.GetWindowsDirectoryW
24842484
Windows.Win32.System.SystemInformation.PROCESSOR_ARCHITECTURE
24852485
Windows.Win32.System.SystemInformation.SYSTEM_INFO
2486-
Windows.Win32.System.SystemServices.ALL_PROCESSOR_GROUPS
24872486
Windows.Win32.System.SystemServices.DLL_PROCESS_DETACH
24882487
Windows.Win32.System.SystemServices.DLL_THREAD_DETACH
24892488
Windows.Win32.System.SystemServices.EXCEPTION_MAXIMUM_PARAMETERS
@@ -2492,6 +2491,7 @@ Windows.Win32.System.SystemServices.IO_REPARSE_TAG_SYMLINK
24922491
Windows.Win32.System.Threading.ABOVE_NORMAL_PRIORITY_CLASS
24932492
Windows.Win32.System.Threading.AcquireSRWLockExclusive
24942493
Windows.Win32.System.Threading.AcquireSRWLockShared
2494+
Windows.Win32.System.Threading.ALL_PROCESSOR_GROUPS
24952495
Windows.Win32.System.Threading.BELOW_NORMAL_PRIORITY_CLASS
24962496
Windows.Win32.System.Threading.CREATE_BREAKAWAY_FROM_JOB
24972497
Windows.Win32.System.Threading.CREATE_DEFAULT_ERROR_MODE

std/src/sys/windows/c/windows_sys.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
// regenerate the bindings.
55
//
66
// ignore-tidy-filelength
7-
// Bindings generated by `windows-bindgen` 0.51.1
7+
// Bindings generated by `windows-bindgen` 0.52.0
88

99
#![allow(non_snake_case, non_upper_case_globals, non_camel_case_types, dead_code, clippy::all)]
1010
#[link(name = "advapi32")]
@@ -63,7 +63,7 @@ extern "system" {
6363
lpnewfilename: PCWSTR,
6464
lpprogressroutine: LPPROGRESS_ROUTINE,
6565
lpdata: *const ::core::ffi::c_void,
66-
pbcancel: *mut i32,
66+
pbcancel: *mut BOOL,
6767
dwcopyflags: u32,
6868
) -> BOOL;
6969
}
@@ -619,7 +619,7 @@ extern "system" {
619619
lpmultibytestr: PSTR,
620620
cbmultibyte: i32,
621621
lpdefaultchar: PCSTR,
622-
lpuseddefaultchar: *mut i32,
622+
lpuseddefaultchar: *mut BOOL,
623623
) -> i32;
624624
}
625625
#[link(name = "kernel32")]
@@ -869,7 +869,7 @@ pub const AF_INET: ADDRESS_FAMILY = 2u16;
869869
pub const AF_INET6: ADDRESS_FAMILY = 23u16;
870870
pub const AF_UNIX: u16 = 1u16;
871871
pub const AF_UNSPEC: ADDRESS_FAMILY = 0u16;
872-
pub const ALL_PROCESSOR_GROUPS: u32 = 65535u32;
872+
pub const ALL_PROCESSOR_GROUPS: u16 = 65535u16;
873873
#[repr(C)]
874874
pub union ARM64_NT_NEON128 {
875875
pub Anonymous: ARM64_NT_NEON128_0,

0 commit comments

Comments
 (0)