diff --git a/crates/libs/metadata/src/reader.rs b/crates/libs/metadata/src/reader.rs index 3445a7ad2b..b962c68eae 100644 --- a/crates/libs/metadata/src/reader.rs +++ b/crates/libs/metadata/src/reader.rs @@ -252,4 +252,4 @@ impl Reader { pub const REMAP_TYPES: [(TypeName, TypeName); 2] = [(TypeName::D2D_MATRIX_3X2_F, TypeName::Matrix3x2), (TypeName::D3DMATRIX, TypeName::Matrix4x4)]; // TODO: get rid of at least the second tuple if not the whole thing. -pub const CORE_TYPES: [(TypeName, Type); 11] = [(TypeName::GUID, Type::GUID), (TypeName::IUnknown, Type::IUnknown), (TypeName::HResult, Type::HRESULT), (TypeName::HRESULT, Type::HRESULT), (TypeName::HSTRING, Type::String), (TypeName::BSTR, Type::BSTR), (TypeName::IInspectable, Type::IInspectable), (TypeName::PSTR, Type::PSTR), (TypeName::PWSTR, Type::PWSTR), (TypeName::Type, Type::Type), (TypeName::CHAR, Type::U8)]; +pub const CORE_TYPES: [(TypeName, Type); 11] = [(TypeName::GUID, Type::GUID), (TypeName::IUnknown, Type::IUnknown), (TypeName::HResult, Type::HRESULT), (TypeName::HRESULT, Type::HRESULT), (TypeName::HSTRING, Type::String), (TypeName::BSTR, Type::BSTR), (TypeName::IInspectable, Type::IInspectable), (TypeName::PSTR, Type::PSTR), (TypeName::PWSTR, Type::PWSTR), (TypeName::Type, Type::Type), (TypeName::CHAR, Type::I8)]; diff --git a/crates/libs/sys/src/Windows/Wdk/Foundation/mod.rs b/crates/libs/sys/src/Windows/Wdk/Foundation/mod.rs index 82e400bba6..ab5d2aa4f8 100644 --- a/crates/libs/sys/src/Windows/Wdk/Foundation/mod.rs +++ b/crates/libs/sys/src/Windows/Wdk/Foundation/mod.rs @@ -1516,8 +1516,8 @@ pub struct IRP { pub IoStatus: super::super::Win32::System::IO::IO_STATUS_BLOCK, pub RequestorMode: i8, pub PendingReturned: super::super::Win32::Foundation::BOOLEAN, - pub StackCount: u8, - pub CurrentLocation: u8, + pub StackCount: i8, + pub CurrentLocation: i8, pub Cancel: super::super::Win32::Foundation::BOOLEAN, pub CancelIrql: u8, pub ApcEnvironment: i8, diff --git a/crates/libs/sys/src/Windows/Wdk/Graphics/Direct3D/mod.rs b/crates/libs/sys/src/Windows/Wdk/Graphics/Direct3D/mod.rs index 3691b35782..83b53195da 100644 --- a/crates/libs/sys/src/Windows/Wdk/Graphics/Direct3D/mod.rs +++ b/crates/libs/sys/src/Windows/Wdk/Graphics/Direct3D/mod.rs @@ -15332,7 +15332,7 @@ pub struct OUTPUTDUPL_CONTEXT_DEBUG_INFO { pub AccumulatedPresents: u32, pub LastPresentTime: i64, pub LastMouseTime: i64, - pub ProcessName: [u8; 16], + pub ProcessName: [i8; 16], } impl ::core::marker::Copy for OUTPUTDUPL_CONTEXT_DEBUG_INFO {} impl ::core::clone::Clone for OUTPUTDUPL_CONTEXT_DEBUG_INFO { diff --git a/crates/libs/sys/src/Windows/Wdk/NetworkManagement/Ndis/mod.rs b/crates/libs/sys/src/Windows/Wdk/NetworkManagement/Ndis/mod.rs index a1b197f631..b070d6e0e7 100644 --- a/crates/libs/sys/src/Windows/Wdk/NetworkManagement/Ndis/mod.rs +++ b/crates/libs/sys/src/Windows/Wdk/NetworkManagement/Ndis/mod.rs @@ -4130,7 +4130,7 @@ pub struct NDIS_WMI_ENUM_ADAPTER { pub IfIndex: u32, pub NetLuid: super::super::super::Win32::NetworkManagement::Ndis::NET_LUID_LH, pub DeviceNameLength: u16, - pub DeviceName: [u8; 1], + pub DeviceName: [i8; 1], } #[cfg(feature = "Win32_NetworkManagement_Ndis")] impl ::core::marker::Copy for NDIS_WMI_ENUM_ADAPTER {} diff --git a/crates/libs/sys/src/Windows/Wdk/Storage/FileSystem/mod.rs b/crates/libs/sys/src/Windows/Wdk/Storage/FileSystem/mod.rs index 67fe027a87..9985035d50 100644 --- a/crates/libs/sys/src/Windows/Wdk/Storage/FileSystem/mod.rs +++ b/crates/libs/sys/src/Windows/Wdk/Storage/FileSystem/mod.rs @@ -832,8 +832,8 @@ pub mod Minifilters; ::windows_targets::link!("ntdll.dll" "system" #[doc = "Required features: `\"Win32_System_Kernel\"`"] fn RtlPrefixString(string1 : *const super::super::super::Win32::System::Kernel:: STRING, string2 : *const super::super::super::Win32::System::Kernel:: STRING, caseinsensitive : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: BOOLEAN); ::windows_targets::link!("ntdll.dll" "system" fn RtlQueryPackageIdentity(tokenobject : *const ::core::ffi::c_void, packagefullname : ::windows_sys::core::PWSTR, packagesize : *mut usize, appid : ::windows_sys::core::PWSTR, appidsize : *mut usize, packaged : *mut super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS); ::windows_targets::link!("ntdll.dll" "system" fn RtlQueryPackageIdentityEx(tokenobject : *const ::core::ffi::c_void, packagefullname : ::windows_sys::core::PWSTR, packagesize : *mut usize, appid : ::windows_sys::core::PWSTR, appidsize : *mut usize, dynamicid : *mut ::windows_sys::core::GUID, flags : *mut u64) -> super::super::super::Win32::Foundation:: NTSTATUS); -::windows_targets::link!("ntdll.dll" "system" fn RtlQueryProcessPlaceholderCompatibilityMode() -> u8); -::windows_targets::link!("ntdll.dll" "system" fn RtlQueryThreadPlaceholderCompatibilityMode() -> u8); +::windows_targets::link!("ntdll.dll" "system" fn RtlQueryProcessPlaceholderCompatibilityMode() -> i8); +::windows_targets::link!("ntdll.dll" "system" fn RtlQueryThreadPlaceholderCompatibilityMode() -> i8); ::windows_targets::link!("ntdll.dll" "system" fn RtlRandom(seed : *mut u32) -> u32); ::windows_targets::link!("ntdll.dll" "system" fn RtlRandomEx(seed : *mut u32) -> u32); #[cfg(feature = "Wdk_Foundation")] @@ -849,8 +849,8 @@ pub mod Minifilters; ::windows_targets::link!("ntdll.dll" "system" #[doc = "Required features: `\"Win32_Security\"`"] fn RtlSetGroupSecurityDescriptor(securitydescriptor : super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR, group : super::super::super::Win32::Foundation:: PSID, groupdefaulted : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS); #[cfg(feature = "Win32_Security")] ::windows_targets::link!("ntdll.dll" "system" #[doc = "Required features: `\"Win32_Security\"`"] fn RtlSetOwnerSecurityDescriptor(securitydescriptor : super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR, owner : super::super::super::Win32::Foundation:: PSID, ownerdefaulted : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS); -::windows_targets::link!("ntdll.dll" "system" fn RtlSetProcessPlaceholderCompatibilityMode(mode : u8) -> u8); -::windows_targets::link!("ntdll.dll" "system" fn RtlSetThreadPlaceholderCompatibilityMode(mode : u8) -> u8); +::windows_targets::link!("ntdll.dll" "system" fn RtlSetProcessPlaceholderCompatibilityMode(mode : i8) -> i8); +::windows_targets::link!("ntdll.dll" "system" fn RtlSetThreadPlaceholderCompatibilityMode(mode : i8) -> i8); ::windows_targets::link!("ntdll.dll" "system" fn RtlSubAuthorityCountSid(sid : super::super::super::Win32::Foundation:: PSID) -> *mut u8); ::windows_targets::link!("ntdll.dll" "system" fn RtlSubAuthoritySid(sid : super::super::super::Win32::Foundation:: PSID, subauthority : u32) -> *mut u32); ::windows_targets::link!("ntdll.dll" "system" fn RtlTimeToSecondsSince1980(time : *const i64, elapsedseconds : *mut u32) -> super::super::super::Win32::Foundation:: BOOLEAN); @@ -2599,7 +2599,7 @@ pub struct FILE_FULL_EA_INFORMATION { pub Flags: u8, pub EaNameLength: u8, pub EaValueLength: u16, - pub EaName: [u8; 1], + pub EaName: [i8; 1], } impl ::core::marker::Copy for FILE_FULL_EA_INFORMATION {} impl ::core::clone::Clone for FILE_FULL_EA_INFORMATION { @@ -2611,7 +2611,7 @@ impl ::core::clone::Clone for FILE_FULL_EA_INFORMATION { pub struct FILE_GET_EA_INFORMATION { pub NextEntryOffset: u32, pub EaNameLength: u8, - pub EaName: [u8; 1], + pub EaName: [i8; 1], } impl ::core::marker::Copy for FILE_GET_EA_INFORMATION {} impl ::core::clone::Clone for FILE_GET_EA_INFORMATION { @@ -3189,7 +3189,7 @@ pub struct FILE_PIPE_PEEK_BUFFER { pub ReadDataAvailable: u32, pub NumberOfMessages: u32, pub MessageLength: u32, - pub Data: [u8; 1], + pub Data: [i8; 1], } impl ::core::marker::Copy for FILE_PIPE_PEEK_BUFFER {} impl ::core::clone::Clone for FILE_PIPE_PEEK_BUFFER { @@ -3489,7 +3489,7 @@ impl ::core::clone::Clone for FILE_TIMESTAMPS { pub struct FILE_TRACKING_INFORMATION { pub DestinationFile: super::super::super::Win32::Foundation::HANDLE, pub ObjectInformationLength: u32, - pub ObjectInformation: [u8; 1], + pub ObjectInformation: [i8; 1], } impl ::core::marker::Copy for FILE_TRACKING_INFORMATION {} impl ::core::clone::Clone for FILE_TRACKING_INFORMATION { diff --git a/crates/libs/sys/src/Windows/Wdk/System/SystemServices/mod.rs b/crates/libs/sys/src/Windows/Wdk/System/SystemServices/mod.rs index 2e4162eaf7..d2b9c801a8 100644 --- a/crates/libs/sys/src/Windows/Wdk/System/SystemServices/mod.rs +++ b/crates/libs/sys/src/Windows/Wdk/System/SystemServices/mod.rs @@ -1575,7 +1575,7 @@ ::windows_targets::link!("ntdll.dll" "system" fn RtlUnicodeToUTF8N(utf8stringdestination : ::windows_sys::core::PSTR, utf8stringmaxbytecount : u32, utf8stringactualbytecount : *mut u32, unicodestringsource : *const u16, unicodestringbytecount : u32) -> super::super::super::Win32::Foundation:: NTSTATUS); ::windows_targets::link!("ntdll.dll" "system" fn RtlUpcaseUnicodeChar(sourcecharacter : u16) -> u16); ::windows_targets::link!("ntdll.dll" "system" fn RtlUpcaseUnicodeString(destinationstring : *mut super::super::super::Win32::Foundation:: UNICODE_STRING, sourcestring : *const super::super::super::Win32::Foundation:: UNICODE_STRING, allocatedestinationstring : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS); -::windows_targets::link!("ntdll.dll" "system" fn RtlUpperChar(character : u8) -> u8); +::windows_targets::link!("ntdll.dll" "system" fn RtlUpperChar(character : i8) -> i8); #[cfg(feature = "Win32_System_Kernel")] ::windows_targets::link!("ntdll.dll" "system" #[doc = "Required features: `\"Win32_System_Kernel\"`"] fn RtlUpperString(destinationstring : *mut super::super::super::Win32::System::Kernel:: STRING, sourcestring : *const super::super::super::Win32::System::Kernel:: STRING)); #[cfg(feature = "Win32_Security")] @@ -5269,7 +5269,7 @@ impl ::core::clone::Clone for CM_EISA_SLOT_INFORMATION { pub struct CM_FLOPPY_DEVICE_DATA { pub Version: u16, pub Revision: u16, - pub Size: [u8; 8], + pub Size: [i8; 8], pub MaxDensity: u32, pub MountDensity: u32, pub StepRateHeadUnloadTime: u8, @@ -14885,7 +14885,7 @@ pub struct RTL_BALANCED_LINKS { pub Parent: *mut RTL_BALANCED_LINKS, pub LeftChild: *mut RTL_BALANCED_LINKS, pub RightChild: *mut RTL_BALANCED_LINKS, - pub Balance: u8, + pub Balance: i8, pub Reserved: [u8; 3], } impl ::core::marker::Copy for RTL_BALANCED_LINKS {} @@ -15156,7 +15156,7 @@ pub struct SOC_SUBSYSTEM_FAILURE_DETAILS { pub FirmwareVersion: u64, pub HardwareVersion: u64, pub UnifiedFailureRegionSize: u32, - pub UnifiedFailureRegion: [u8; 1], + pub UnifiedFailureRegion: [i8; 1], } impl ::core::marker::Copy for SOC_SUBSYSTEM_FAILURE_DETAILS {} impl ::core::clone::Clone for SOC_SUBSYSTEM_FAILURE_DETAILS { @@ -15582,8 +15582,8 @@ impl ::core::clone::Clone for WHEA128A { #[repr(C)] pub struct WHEAP_ACPI_TIMEOUT_EVENT { pub WheaEventLogEntry: WHEA_EVENT_LOG_ENTRY, - pub TableType: [u8; 32], - pub TableRequest: [u8; 32], + pub TableType: [i8; 32], + pub TableRequest: [i8; 32], } impl ::core::marker::Copy for WHEAP_ACPI_TIMEOUT_EVENT {} impl ::core::clone::Clone for WHEAP_ACPI_TIMEOUT_EVENT { @@ -15692,7 +15692,7 @@ impl ::core::clone::Clone for WHEAP_CMCI_RESTART_EVENT { #[repr(C, packed(1))] pub struct WHEAP_CREATE_GENERIC_RECORD_EVENT { pub WheaEventLogEntry: WHEA_EVENT_LOG_ENTRY, - pub Error: [u8; 32], + pub Error: [i8; 32], pub EntryCount: u32, pub Status: super::super::super::Win32::Foundation::NTSTATUS, } @@ -15720,7 +15720,7 @@ impl ::core::clone::Clone for WHEAP_DEFERRED_EVENT { #[repr(C)] pub struct WHEAP_DEVICE_DRV_EVENT { pub WheaEventLogEntry: WHEA_EVENT_LOG_ENTRY, - pub Function: [u8; 32], + pub Function: [i8; 32], } impl ::core::marker::Copy for WHEAP_DEVICE_DRV_EVENT {} impl ::core::clone::Clone for WHEAP_DEVICE_DRV_EVENT { @@ -15814,7 +15814,7 @@ impl ::core::clone::Clone for WHEAP_ERR_SRC_ARRAY_INVALID_EVENT { pub struct WHEAP_ERR_SRC_INVALID_EVENT { pub WheaEventLogEntry: WHEA_EVENT_LOG_ENTRY, pub ErrDescriptor: super::super::super::Win32::System::Diagnostics::Debug::WHEA_ERROR_SOURCE_DESCRIPTOR, - pub Error: [u8; 32], + pub Error: [i8; 32], } #[cfg(feature = "Win32_System_Diagnostics_Debug")] impl ::core::marker::Copy for WHEAP_ERR_SRC_INVALID_EVENT {} @@ -15841,7 +15841,7 @@ impl ::core::clone::Clone for WHEAP_FOUND_ERROR_IN_BANK_EVENT { #[repr(C, packed(1))] pub struct WHEAP_GENERIC_ERR_MEM_MAP_EVENT { pub WheaEventLogEntry: WHEA_EVENT_LOG_ENTRY, - pub MapReason: [u8; 32], + pub MapReason: [i8; 32], pub PhysicalAddress: u64, pub Length: u64, } @@ -16002,7 +16002,7 @@ impl ::core::clone::Clone for WHEAP_PLUGIN_PFA_EVENT { #[repr(C, packed(1))] pub struct WHEAP_PROCESS_EINJ_EVENT { pub WheaEventLogEntry: WHEA_EVENT_LOG_ENTRY, - pub Error: [u8; 32], + pub Error: [i8; 32], pub InjectionActionTableValid: super::super::super::Win32::Foundation::BOOLEAN, pub BeginInjectionInstructionCount: u32, pub GetTriggerErrorActionTableInstructionCount: u32, @@ -16024,8 +16024,8 @@ impl ::core::clone::Clone for WHEAP_PROCESS_EINJ_EVENT { #[repr(C, packed(1))] pub struct WHEAP_PROCESS_HEST_EVENT { pub WheaEventLogEntry: WHEA_EVENT_LOG_ENTRY, - pub Error: [u8; 32], - pub EntryType: [u8; 32], + pub Error: [i8; 32], + pub EntryType: [i8; 32], pub EntryIndex: u32, pub HestValid: super::super::super::Win32::Foundation::BOOLEAN, pub CmcCount: u32, diff --git a/crates/libs/sys/src/Windows/Win32/Devices/Bluetooth/mod.rs b/crates/libs/sys/src/Windows/Win32/Devices/Bluetooth/mod.rs index 2753c80719..34e1f1239d 100644 --- a/crates/libs/sys/src/Windows/Win32/Devices/Bluetooth/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Devices/Bluetooth/mod.rs @@ -1198,7 +1198,7 @@ pub struct BTH_DEVICE_INFO { pub flags: u32, pub address: u64, pub classOfDevice: u32, - pub name: [u8; 248], + pub name: [i8; 248], } impl ::core::marker::Copy for BTH_DEVICE_INFO {} impl ::core::clone::Clone for BTH_DEVICE_INFO { @@ -1572,7 +1572,7 @@ pub union SDP_ELEMENT_DATA_0 { pub int64: i64, pub int32: i32, pub int16: i16, - pub int8: u8, + pub int8: i8, pub uint128: SDP_ULARGE_INTEGER_16, pub uint64: u64, pub uint32: u32, diff --git a/crates/libs/sys/src/Windows/Win32/Devices/Communication/mod.rs b/crates/libs/sys/src/Windows/Win32/Devices/Communication/mod.rs index 8d7d13d787..bf343b6103 100644 --- a/crates/libs/sys/src/Windows/Win32/Devices/Communication/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Devices/Communication/mod.rs @@ -26,7 +26,7 @@ ::windows_targets::link!("kernel32.dll" "system" fn SetDefaultCommConfigA(lpszname : ::windows_sys::core::PCSTR, lpcc : *const COMMCONFIG, dwsize : u32) -> super::super::Foundation:: BOOL); ::windows_targets::link!("kernel32.dll" "system" fn SetDefaultCommConfigW(lpszname : ::windows_sys::core::PCWSTR, lpcc : *const COMMCONFIG, dwsize : u32) -> super::super::Foundation:: BOOL); ::windows_targets::link!("kernel32.dll" "system" fn SetupComm(hfile : super::super::Foundation:: HANDLE, dwinqueue : u32, dwoutqueue : u32) -> super::super::Foundation:: BOOL); -::windows_targets::link!("kernel32.dll" "system" fn TransmitCommChar(hfile : super::super::Foundation:: HANDLE, cchar : u8) -> super::super::Foundation:: BOOL); +::windows_targets::link!("kernel32.dll" "system" fn TransmitCommChar(hfile : super::super::Foundation:: HANDLE, cchar : i8) -> super::super::Foundation:: BOOL); #[cfg(feature = "Win32_System_IO")] ::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_System_IO\"`"] fn WaitCommEvent(hfile : super::super::Foundation:: HANDLE, lpevtmask : *mut COMM_EVENT_MASK, lpoverlapped : *mut super::super::System::IO:: OVERLAPPED) -> super::super::Foundation:: BOOL); pub const CE_BREAK: CLEAR_COMM_ERROR_FLAGS = 16u32; @@ -282,11 +282,11 @@ pub struct DCB { pub ByteSize: u8, pub Parity: DCB_PARITY, pub StopBits: DCB_STOP_BITS, - pub XonChar: u8, - pub XoffChar: u8, - pub ErrorChar: u8, - pub EofChar: u8, - pub EvtChar: u8, + pub XonChar: i8, + pub XoffChar: i8, + pub ErrorChar: i8, + pub EofChar: i8, + pub EvtChar: i8, pub wReserved1: u16, } impl ::core::marker::Copy for DCB {} diff --git a/crates/libs/sys/src/Windows/Win32/Devices/DeviceAndDriverInstallation/mod.rs b/crates/libs/sys/src/Windows/Win32/Devices/DeviceAndDriverInstallation/mod.rs index 3c81ff6d13..1d84d1295a 100644 --- a/crates/libs/sys/src/Windows/Win32/Devices/DeviceAndDriverInstallation/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Devices/DeviceAndDriverInstallation/mod.rs @@ -2595,7 +2595,7 @@ pub struct CONFLICT_DETAILS_A { pub CD_dnDevInst: u32, pub CD_rdResDes: usize, pub CD_ulFlags: CM_CDFLAGS, - pub CD_szDescription: [u8; 260], + pub CD_szDescription: [i8; 260], } impl ::core::marker::Copy for CONFLICT_DETAILS_A {} impl ::core::clone::Clone for CONFLICT_DETAILS_A { @@ -2892,7 +2892,7 @@ pub struct FILE_IN_CABINET_INFO_A { pub DosDate: u16, pub DosTime: u16, pub DosAttribs: u16, - pub FullTargetName: [u8; 260], + pub FullTargetName: [i8; 260], } #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] impl ::core::marker::Copy for FILE_IN_CABINET_INFO_A {} @@ -2911,7 +2911,7 @@ pub struct FILE_IN_CABINET_INFO_A { pub DosDate: u16, pub DosTime: u16, pub DosAttribs: u16, - pub FullTargetName: [u8; 260], + pub FullTargetName: [i8; 260], } #[cfg(target_arch = "x86")] impl ::core::marker::Copy for FILE_IN_CABINET_INFO_A {} @@ -2964,7 +2964,7 @@ pub type HDEVINFO = isize; #[repr(C, packed(1))] pub struct HWPROFILEINFO_A { pub HWPI_ulHWProfile: u32, - pub HWPI_szFriendlyName: [u8; 80], + pub HWPI_szFriendlyName: [i8; 80], pub HWPI_dwFlags: u32, } impl ::core::marker::Copy for HWPROFILEINFO_A {} @@ -3534,7 +3534,7 @@ impl ::core::clone::Clone for SP_ALTPLATFORM_INFO_V3_0 { #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] pub struct SP_BACKUP_QUEUE_PARAMS_V1_A { pub cbSize: u32, - pub FullInfPath: [u8; 260], + pub FullInfPath: [i8; 260], pub FilenameOffset: i32, } #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] @@ -3549,7 +3549,7 @@ impl ::core::clone::Clone for SP_BACKUP_QUEUE_PARAMS_V1_A { #[cfg(target_arch = "x86")] pub struct SP_BACKUP_QUEUE_PARAMS_V1_A { pub cbSize: u32, - pub FullInfPath: [u8; 260], + pub FullInfPath: [i8; 260], pub FilenameOffset: i32, } #[cfg(target_arch = "x86")] @@ -3594,9 +3594,9 @@ impl ::core::clone::Clone for SP_BACKUP_QUEUE_PARAMS_V1_W { #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] pub struct SP_BACKUP_QUEUE_PARAMS_V2_A { pub cbSize: u32, - pub FullInfPath: [u8; 260], + pub FullInfPath: [i8; 260], pub FilenameOffset: i32, - pub ReinstallInstance: [u8; 260], + pub ReinstallInstance: [i8; 260], } #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] impl ::core::marker::Copy for SP_BACKUP_QUEUE_PARAMS_V2_A {} @@ -3610,9 +3610,9 @@ impl ::core::clone::Clone for SP_BACKUP_QUEUE_PARAMS_V2_A { #[cfg(target_arch = "x86")] pub struct SP_BACKUP_QUEUE_PARAMS_V2_A { pub cbSize: u32, - pub FullInfPath: [u8; 260], + pub FullInfPath: [i8; 260], pub FilenameOffset: i32, - pub ReinstallInstance: [u8; 260], + pub ReinstallInstance: [i8; 260], } #[cfg(target_arch = "x86")] impl ::core::marker::Copy for SP_BACKUP_QUEUE_PARAMS_V2_A {} @@ -3786,7 +3786,7 @@ impl ::core::clone::Clone for SP_DEVICE_INTERFACE_DATA { #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] pub struct SP_DEVICE_INTERFACE_DETAIL_DATA_A { pub cbSize: u32, - pub DevicePath: [u8; 1], + pub DevicePath: [i8; 1], } #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] impl ::core::marker::Copy for SP_DEVICE_INTERFACE_DETAIL_DATA_A {} @@ -3800,7 +3800,7 @@ impl ::core::clone::Clone for SP_DEVICE_INTERFACE_DETAIL_DATA_A { #[cfg(target_arch = "x86")] pub struct SP_DEVICE_INTERFACE_DETAIL_DATA_A { pub cbSize: u32, - pub DevicePath: [u8; 1], + pub DevicePath: [i8; 1], } #[cfg(target_arch = "x86")] impl ::core::marker::Copy for SP_DEVICE_INTERFACE_DETAIL_DATA_A {} @@ -3876,7 +3876,7 @@ pub struct SP_DEVINFO_LIST_DETAIL_DATA_A { pub cbSize: u32, pub ClassGuid: ::windows_sys::core::GUID, pub RemoteMachineHandle: super::super::Foundation::HANDLE, - pub RemoteMachineName: [u8; 263], + pub RemoteMachineName: [i8; 263], } #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] impl ::core::marker::Copy for SP_DEVINFO_LIST_DETAIL_DATA_A {} @@ -3892,7 +3892,7 @@ pub struct SP_DEVINFO_LIST_DETAIL_DATA_A { pub cbSize: u32, pub ClassGuid: ::windows_sys::core::GUID, pub RemoteMachineHandle: super::super::Foundation::HANDLE, - pub RemoteMachineName: [u8; 263], + pub RemoteMachineName: [i8; 263], } #[cfg(target_arch = "x86")] impl ::core::marker::Copy for SP_DEVINFO_LIST_DETAIL_DATA_A {} @@ -3946,7 +3946,7 @@ pub struct SP_DEVINSTALL_PARAMS_A { pub FileQueue: *mut ::core::ffi::c_void, pub ClassInstallReserved: usize, pub Reserved: u32, - pub DriverPath: [u8; 260], + pub DriverPath: [i8; 260], } #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] impl ::core::marker::Copy for SP_DEVINSTALL_PARAMS_A {} @@ -3968,7 +3968,7 @@ pub struct SP_DEVINSTALL_PARAMS_A { pub FileQueue: *mut ::core::ffi::c_void, pub ClassInstallReserved: usize, pub Reserved: u32, - pub DriverPath: [u8; 260], + pub DriverPath: [i8; 260], } #[cfg(target_arch = "x86")] impl ::core::marker::Copy for SP_DEVINSTALL_PARAMS_A {} @@ -4028,9 +4028,9 @@ pub struct SP_DRVINFO_DATA_V1_A { pub cbSize: u32, pub DriverType: u32, pub Reserved: usize, - pub Description: [u8; 256], - pub MfgName: [u8; 256], - pub ProviderName: [u8; 256], + pub Description: [i8; 256], + pub MfgName: [i8; 256], + pub ProviderName: [i8; 256], } #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] impl ::core::marker::Copy for SP_DRVINFO_DATA_V1_A {} @@ -4046,9 +4046,9 @@ pub struct SP_DRVINFO_DATA_V1_A { pub cbSize: u32, pub DriverType: u32, pub Reserved: usize, - pub Description: [u8; 256], - pub MfgName: [u8; 256], - pub ProviderName: [u8; 256], + pub Description: [i8; 256], + pub MfgName: [i8; 256], + pub ProviderName: [i8; 256], } #[cfg(target_arch = "x86")] impl ::core::marker::Copy for SP_DRVINFO_DATA_V1_A {} @@ -4100,9 +4100,9 @@ pub struct SP_DRVINFO_DATA_V2_A { pub cbSize: u32, pub DriverType: u32, pub Reserved: usize, - pub Description: [u8; 256], - pub MfgName: [u8; 256], - pub ProviderName: [u8; 256], + pub Description: [i8; 256], + pub MfgName: [i8; 256], + pub ProviderName: [i8; 256], pub DriverDate: super::super::Foundation::FILETIME, pub DriverVersion: u64, } @@ -4120,9 +4120,9 @@ pub struct SP_DRVINFO_DATA_V2_A { pub cbSize: u32, pub DriverType: u32, pub Reserved: usize, - pub Description: [u8; 256], - pub MfgName: [u8; 256], - pub ProviderName: [u8; 256], + pub Description: [i8; 256], + pub MfgName: [i8; 256], + pub ProviderName: [i8; 256], pub DriverDate: super::super::Foundation::FILETIME, pub DriverVersion: u64, } @@ -4182,10 +4182,10 @@ pub struct SP_DRVINFO_DETAIL_DATA_A { pub CompatIDsOffset: u32, pub CompatIDsLength: u32, pub Reserved: usize, - pub SectionName: [u8; 256], - pub InfFileName: [u8; 260], - pub DrvDescription: [u8; 256], - pub HardwareID: [u8; 1], + pub SectionName: [i8; 256], + pub InfFileName: [i8; 260], + pub DrvDescription: [i8; 256], + pub HardwareID: [i8; 1], } #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] impl ::core::marker::Copy for SP_DRVINFO_DETAIL_DATA_A {} @@ -4203,10 +4203,10 @@ pub struct SP_DRVINFO_DETAIL_DATA_A { pub CompatIDsOffset: u32, pub CompatIDsLength: u32, pub Reserved: usize, - pub SectionName: [u8; 256], - pub InfFileName: [u8; 260], - pub DrvDescription: [u8; 256], - pub HardwareID: [u8; 1], + pub SectionName: [i8; 256], + pub InfFileName: [i8; 260], + pub DrvDescription: [i8; 256], + pub HardwareID: [i8; 1], } #[cfg(target_arch = "x86")] impl ::core::marker::Copy for SP_DRVINFO_DETAIL_DATA_A {} @@ -4452,9 +4452,9 @@ impl ::core::clone::Clone for SP_INF_INFORMATION { #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] pub struct SP_INF_SIGNER_INFO_V1_A { pub cbSize: u32, - pub CatalogFile: [u8; 260], - pub DigitalSigner: [u8; 260], - pub DigitalSignerVersion: [u8; 260], + pub CatalogFile: [i8; 260], + pub DigitalSigner: [i8; 260], + pub DigitalSignerVersion: [i8; 260], } #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] impl ::core::marker::Copy for SP_INF_SIGNER_INFO_V1_A {} @@ -4468,9 +4468,9 @@ impl ::core::clone::Clone for SP_INF_SIGNER_INFO_V1_A { #[cfg(target_arch = "x86")] pub struct SP_INF_SIGNER_INFO_V1_A { pub cbSize: u32, - pub CatalogFile: [u8; 260], - pub DigitalSigner: [u8; 260], - pub DigitalSignerVersion: [u8; 260], + pub CatalogFile: [i8; 260], + pub DigitalSigner: [i8; 260], + pub DigitalSignerVersion: [i8; 260], } #[cfg(target_arch = "x86")] impl ::core::marker::Copy for SP_INF_SIGNER_INFO_V1_A {} @@ -4516,9 +4516,9 @@ impl ::core::clone::Clone for SP_INF_SIGNER_INFO_V1_W { #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] pub struct SP_INF_SIGNER_INFO_V2_A { pub cbSize: u32, - pub CatalogFile: [u8; 260], - pub DigitalSigner: [u8; 260], - pub DigitalSignerVersion: [u8; 260], + pub CatalogFile: [i8; 260], + pub DigitalSigner: [i8; 260], + pub DigitalSignerVersion: [i8; 260], pub SignerScore: u32, } #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] @@ -4533,9 +4533,9 @@ impl ::core::clone::Clone for SP_INF_SIGNER_INFO_V2_A { #[cfg(target_arch = "x86")] pub struct SP_INF_SIGNER_INFO_V2_A { pub cbSize: u32, - pub CatalogFile: [u8; 260], - pub DigitalSigner: [u8; 260], - pub DigitalSignerVersion: [u8; 260], + pub CatalogFile: [i8; 260], + pub DigitalSigner: [i8; 260], + pub DigitalSignerVersion: [i8; 260], pub SignerScore: u32, } #[cfg(target_arch = "x86")] @@ -4674,8 +4674,8 @@ impl ::core::clone::Clone for SP_NEWDEVICEWIZARD_DATA { #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] pub struct SP_ORIGINAL_FILE_INFO_A { pub cbSize: u32, - pub OriginalInfName: [u8; 260], - pub OriginalCatalogName: [u8; 260], + pub OriginalInfName: [i8; 260], + pub OriginalCatalogName: [i8; 260], } #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] impl ::core::marker::Copy for SP_ORIGINAL_FILE_INFO_A {} @@ -4689,8 +4689,8 @@ impl ::core::clone::Clone for SP_ORIGINAL_FILE_INFO_A { #[cfg(target_arch = "x86")] pub struct SP_ORIGINAL_FILE_INFO_A { pub cbSize: u32, - pub OriginalInfName: [u8; 260], - pub OriginalCatalogName: [u8; 260], + pub OriginalInfName: [i8; 260], + pub OriginalCatalogName: [i8; 260], } #[cfg(target_arch = "x86")] impl ::core::marker::Copy for SP_ORIGINAL_FILE_INFO_A {} @@ -4733,7 +4733,7 @@ impl ::core::clone::Clone for SP_ORIGINAL_FILE_INFO_W { #[repr(C)] pub struct SP_POWERMESSAGEWAKE_PARAMS_A { pub ClassInstallHeader: SP_CLASSINSTALL_HEADER, - pub PowerMessageWake: [u8; 512], + pub PowerMessageWake: [i8; 512], } impl ::core::marker::Copy for SP_POWERMESSAGEWAKE_PARAMS_A {} impl ::core::clone::Clone for SP_POWERMESSAGEWAKE_PARAMS_A { @@ -4930,10 +4930,10 @@ impl ::core::clone::Clone for SP_REMOVEDEVICE_PARAMS { #[repr(C)] pub struct SP_SELECTDEVICE_PARAMS_A { pub ClassInstallHeader: SP_CLASSINSTALL_HEADER, - pub Title: [u8; 60], - pub Instructions: [u8; 256], - pub ListLabel: [u8; 30], - pub SubTitle: [u8; 256], + pub Title: [i8; 60], + pub Instructions: [i8; 256], + pub ListLabel: [i8; 30], + pub SubTitle: [i8; 256], pub Reserved: [u8; 2], } impl ::core::marker::Copy for SP_SELECTDEVICE_PARAMS_A {} @@ -4979,8 +4979,8 @@ impl ::core::clone::Clone for SP_SELECTDEVICE_PARAMS_W { #[repr(C)] pub struct SP_TROUBLESHOOTER_PARAMS_A { pub ClassInstallHeader: SP_CLASSINSTALL_HEADER, - pub ChmFile: [u8; 260], - pub HtmlTroubleShooter: [u8; 260], + pub ChmFile: [i8; 260], + pub HtmlTroubleShooter: [i8; 260], } impl ::core::marker::Copy for SP_TROUBLESHOOTER_PARAMS_A {} impl ::core::clone::Clone for SP_TROUBLESHOOTER_PARAMS_A { diff --git a/crates/libs/sys/src/Windows/Win32/Devices/Display/mod.rs b/crates/libs/sys/src/Windows/Win32/Devices/Display/mod.rs index aac56b5929..dfb0b147fb 100644 --- a/crates/libs/sys/src/Windows/Win32/Devices/Display/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Devices/Display/mod.rs @@ -3590,8 +3590,8 @@ impl ::core::clone::Clone for TYPE1_FONT { } #[repr(C)] pub struct VGA_CHAR { - pub Char: u8, - pub Attributes: u8, + pub Char: i8, + pub Attributes: i8, } impl ::core::marker::Copy for VGA_CHAR {} impl ::core::clone::Clone for VGA_CHAR { diff --git a/crates/libs/sys/src/Windows/Win32/Devices/Fax/mod.rs b/crates/libs/sys/src/Windows/Win32/Devices/Fax/mod.rs index 3ec379eef3..4487c3795e 100644 --- a/crates/libs/sys/src/Windows/Win32/Devices/Fax/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Devices/Fax/mod.rs @@ -678,7 +678,7 @@ impl ::core::clone::Clone for FAX_CONFIGURATIONW { pub struct FAX_CONTEXT_INFOA { pub SizeOfStruct: u32, pub hDC: super::super::Graphics::Gdi::HDC, - pub ServerName: [u8; 16], + pub ServerName: [i8; 16], } #[cfg(feature = "Win32_Graphics_Gdi")] impl ::core::marker::Copy for FAX_CONTEXT_INFOA {} diff --git a/crates/libs/sys/src/Windows/Win32/Devices/HumanInterfaceDevice/mod.rs b/crates/libs/sys/src/Windows/Win32/Devices/HumanInterfaceDevice/mod.rs index aacfe11bf3..39b422ed6c 100644 --- a/crates/libs/sys/src/Windows/Win32/Devices/HumanInterfaceDevice/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Devices/HumanInterfaceDevice/mod.rs @@ -2646,7 +2646,7 @@ pub struct DIACTIONFORMATA { pub hInstString: super::super::Foundation::HINSTANCE, pub ftTimeStamp: super::super::Foundation::FILETIME, pub dwCRC: u32, - pub tszActionMap: [u8; 260], + pub tszActionMap: [i8; 260], } impl ::core::marker::Copy for DIACTIONFORMATA {} impl ::core::clone::Clone for DIACTIONFORMATA { @@ -2846,7 +2846,7 @@ impl ::core::clone::Clone for DIDEVCAPS_DX3 { } #[repr(C)] pub struct DIDEVICEIMAGEINFOA { - pub tszImagePath: [u8; 260], + pub tszImagePath: [i8; 260], pub dwFlags: u32, pub dwViewID: u32, pub rcOverlay: super::super::Foundation::RECT, @@ -2922,8 +2922,8 @@ pub struct DIDEVICEINSTANCEA { pub guidInstance: ::windows_sys::core::GUID, pub guidProduct: ::windows_sys::core::GUID, pub dwDevType: u32, - pub tszInstanceName: [u8; 260], - pub tszProductName: [u8; 260], + pub tszInstanceName: [i8; 260], + pub tszProductName: [i8; 260], pub guidFFDriver: ::windows_sys::core::GUID, pub wUsagePage: u16, pub wUsage: u16, @@ -2958,8 +2958,8 @@ pub struct DIDEVICEINSTANCE_DX3A { pub guidInstance: ::windows_sys::core::GUID, pub guidProduct: ::windows_sys::core::GUID, pub dwDevType: u32, - pub tszInstanceName: [u8; 260], - pub tszProductName: [u8; 260], + pub tszInstanceName: [i8; 260], + pub tszProductName: [i8; 260], } impl ::core::marker::Copy for DIDEVICEINSTANCE_DX3A {} impl ::core::clone::Clone for DIDEVICEINSTANCE_DX3A { @@ -3016,7 +3016,7 @@ pub struct DIDEVICEOBJECTINSTANCEA { pub dwOfs: u32, pub dwType: u32, pub dwFlags: u32, - pub tszName: [u8; 260], + pub tszName: [i8; 260], pub dwFFMaxForce: u32, pub dwFFForceResolution: u32, pub wCollectionNumber: u16, @@ -3064,7 +3064,7 @@ pub struct DIDEVICEOBJECTINSTANCE_DX3A { pub dwOfs: u32, pub dwType: u32, pub dwFlags: u32, - pub tszName: [u8; 260], + pub tszName: [i8; 260], } impl ::core::marker::Copy for DIDEVICEOBJECTINSTANCE_DX3A {} impl ::core::clone::Clone for DIDEVICEOBJECTINSTANCE_DX3A { @@ -3156,7 +3156,7 @@ pub struct DIEFFECTINFOA { pub dwEffType: u32, pub dwStaticParams: u32, pub dwDynamicParams: u32, - pub tszName: [u8; 260], + pub tszName: [i8; 260], } impl ::core::marker::Copy for DIEFFECTINFOA {} impl ::core::clone::Clone for DIEFFECTINFOA { @@ -3258,7 +3258,7 @@ pub struct DIFILEEFFECT { pub dwSize: u32, pub GuidEffect: ::windows_sys::core::GUID, pub lpDiEffect: *mut DIEFFECT, - pub szFriendlyName: [u8; 260], + pub szFriendlyName: [i8; 260], } impl ::core::marker::Copy for DIFILEEFFECT {} impl ::core::clone::Clone for DIFILEEFFECT { diff --git a/crates/libs/sys/src/Windows/Win32/Devices/Tapi/mod.rs b/crates/libs/sys/src/Windows/Win32/Devices/Tapi/mod.rs index 87dce62eb6..a07838891c 100644 --- a/crates/libs/sys/src/Windows/Win32/Devices/Tapi/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Devices/Tapi/mod.rs @@ -2022,9 +2022,9 @@ pub type TERMINAL_STATE = i32; pub type TERMINAL_TYPE = i32; #[repr(C)] pub struct ADDRALIAS { - pub rgchName: [u8; 41], - pub rgchEName: [u8; 11], - pub rgchSrvr: [u8; 12], + pub rgchName: [i8; 41], + pub rgchEName: [i8; 11], + pub rgchSrvr: [i8; 12], pub dibDetail: u32, pub r#type: u16, } @@ -3387,10 +3387,10 @@ impl ::core::clone::Clone for LINEQUEUELIST { } #[repr(C)] pub struct LINEREQMAKECALL { - pub szDestAddress: [u8; 80], - pub szAppName: [u8; 40], - pub szCalledParty: [u8; 40], - pub szComment: [u8; 80], + pub szDestAddress: [i8; 80], + pub szAppName: [i8; 40], + pub szCalledParty: [i8; 40], + pub szComment: [i8; 80], } impl ::core::marker::Copy for LINEREQMAKECALL {} impl ::core::clone::Clone for LINEREQMAKECALL { @@ -3415,14 +3415,14 @@ impl ::core::clone::Clone for LINEREQMAKECALLW { pub struct LINEREQMEDIACALL { pub hWnd: super::super::Foundation::HWND, pub wRequestID: super::super::Foundation::WPARAM, - pub szDeviceClass: [u8; 40], + pub szDeviceClass: [i8; 40], pub ucDeviceID: [u8; 40], pub dwSize: u32, pub dwSecure: u32, - pub szDestAddress: [u8; 80], - pub szAppName: [u8; 40], - pub szCalledParty: [u8; 40], - pub szComment: [u8; 80], + pub szDestAddress: [i8; 80], + pub szAppName: [i8; 40], + pub szCalledParty: [i8; 40], + pub szComment: [i8; 80], } impl ::core::marker::Copy for LINEREQMEDIACALL {} impl ::core::clone::Clone for LINEREQMEDIACALL { @@ -3681,7 +3681,7 @@ impl ::core::clone::Clone for NSID { #[repr(C)] pub union NSID_0 { pub alias: ADDRALIAS, - pub rgchInterNet: [u8; 1], + pub rgchInterNet: [i8; 1], } impl ::core::marker::Copy for NSID_0 {} impl ::core::clone::Clone for NSID_0 { diff --git a/crates/libs/sys/src/Windows/Win32/Globalization/mod.rs b/crates/libs/sys/src/Windows/Win32/Globalization/mod.rs index 5e9dd95454..933718525a 100644 --- a/crates/libs/sys/src/Windows/Win32/Globalization/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Globalization/mod.rs @@ -4490,7 +4490,7 @@ pub struct CPINFOEXA { pub LeadByte: [u8; 12], pub UnicodeDefaultChar: u16, pub CodePage: u32, - pub CodePageName: [u8; 260], + pub CodePageName: [i8; 260], } impl ::core::marker::Copy for CPINFOEXA {} impl ::core::clone::Clone for CPINFOEXA { diff --git a/crates/libs/sys/src/Windows/Win32/Graphics/Gdi/mod.rs b/crates/libs/sys/src/Windows/Win32/Graphics/Gdi/mod.rs index bc0f19f5d3..a9bca81360 100644 --- a/crates/libs/sys/src/Windows/Win32/Graphics/Gdi/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Graphics/Gdi/mod.rs @@ -2651,11 +2651,11 @@ impl ::core::clone::Clone for DIBSECTION { #[repr(C)] pub struct DISPLAY_DEVICEA { pub cb: u32, - pub DeviceName: [u8; 32], - pub DeviceString: [u8; 128], + pub DeviceName: [i8; 32], + pub DeviceString: [i8; 128], pub StateFlags: u32, - pub DeviceID: [u8; 128], - pub DeviceKey: [u8; 128], + pub DeviceID: [i8; 128], + pub DeviceKey: [i8; 128], } impl ::core::marker::Copy for DISPLAY_DEVICEA {} impl ::core::clone::Clone for DISPLAY_DEVICEA { @@ -4015,7 +4015,7 @@ pub struct LOGFONTA { pub lfClipPrecision: FONT_CLIP_PRECISION, pub lfQuality: FONT_QUALITY, pub lfPitchAndFamily: u8, - pub lfFaceName: [u8; 32], + pub lfFaceName: [i8; 32], } impl ::core::marker::Copy for LOGFONTA {} impl ::core::clone::Clone for LOGFONTA { @@ -4127,7 +4127,7 @@ impl ::core::clone::Clone for MONITORINFO { #[repr(C)] pub struct MONITORINFOEXA { pub monitorInfo: MONITORINFO, - pub szDevice: [u8; 32], + pub szDevice: [i8; 32], } impl ::core::marker::Copy for MONITORINFOEXA {} impl ::core::clone::Clone for MONITORINFOEXA { @@ -4438,7 +4438,7 @@ impl ::core::clone::Clone for RGBTRIPLE { #[repr(C)] pub struct RGNDATA { pub rdh: RGNDATAHEADER, - pub Buffer: [u8; 1], + pub Buffer: [i8; 1], } impl ::core::marker::Copy for RGNDATA {} impl ::core::clone::Clone for RGNDATA { diff --git a/crates/libs/sys/src/Windows/Win32/Graphics/Printing/mod.rs b/crates/libs/sys/src/Windows/Win32/Graphics/Printing/mod.rs index afe5255b9d..996ca38bed 100644 --- a/crates/libs/sys/src/Windows/Win32/Graphics/Printing/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Graphics/Printing/mod.rs @@ -2293,7 +2293,7 @@ pub struct CORE_PRINTER_DRIVERA { pub CoreDriverGUID: ::windows_sys::core::GUID, pub ftDriverDate: super::super::Foundation::FILETIME, pub dwlDriverVersion: u64, - pub szPackageID: [u8; 260], + pub szPackageID: [i8; 260], } impl ::core::marker::Copy for CORE_PRINTER_DRIVERA {} impl ::core::clone::Clone for CORE_PRINTER_DRIVERA { diff --git a/crates/libs/sys/src/Windows/Win32/Media/Audio/mod.rs b/crates/libs/sys/src/Windows/Win32/Media/Audio/mod.rs index 28789411ae..7944b86b63 100644 --- a/crates/libs/sys/src/Windows/Win32/Media/Audio/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Media/Audio/mod.rs @@ -963,11 +963,11 @@ pub struct ACMDRIVERDETAILSA { pub cFormatTags: u32, pub cFilterTags: u32, pub hicon: super::super::UI::WindowsAndMessaging::HICON, - pub szShortName: [u8; 32], - pub szLongName: [u8; 128], - pub szCopyright: [u8; 80], - pub szLicensing: [u8; 128], - pub szFeatures: [u8; 512], + pub szShortName: [i8; 32], + pub szLongName: [i8; 128], + pub szCopyright: [i8; 80], + pub szLicensing: [i8; 128], + pub szFeatures: [i8; 512], } #[cfg(feature = "Win32_UI_WindowsAndMessaging")] impl ::core::marker::Copy for ACMDRIVERDETAILSA {} @@ -1127,8 +1127,8 @@ pub struct ACMFILTERCHOOSEA { pub pwfltr: *mut WAVEFILTER, pub cbwfltr: u32, pub pszTitle: ::windows_sys::core::PCSTR, - pub szFilterTag: [u8; 48], - pub szFilter: [u8; 128], + pub szFilterTag: [i8; 48], + pub szFilter: [i8; 128], pub pszName: ::windows_sys::core::PSTR, pub cchName: u32, pub fdwEnum: u32, @@ -1177,7 +1177,7 @@ pub struct ACMFILTERDETAILSA { pub fdwSupport: u32, pub pwfltr: *mut WAVEFILTER, pub cbwfltr: u32, - pub szFilter: [u8; 128], + pub szFilter: [i8; 128], } impl ::core::marker::Copy for ACMFILTERDETAILSA {} impl ::core::clone::Clone for ACMFILTERDETAILSA { @@ -1209,7 +1209,7 @@ pub struct ACMFILTERTAGDETAILSA { pub cbFilterSize: u32, pub fdwSupport: u32, pub cStandardFilters: u32, - pub szFilterTag: [u8; 48], + pub szFilterTag: [i8; 48], } impl ::core::marker::Copy for ACMFILTERTAGDETAILSA {} impl ::core::clone::Clone for ACMFILTERTAGDETAILSA { @@ -1241,8 +1241,8 @@ pub struct ACMFORMATCHOOSEA { pub pwfx: *mut WAVEFORMATEX, pub cbwfx: u32, pub pszTitle: ::windows_sys::core::PCSTR, - pub szFormatTag: [u8; 48], - pub szFormat: [u8; 128], + pub szFormatTag: [i8; 48], + pub szFormat: [i8; 128], pub pszName: ::windows_sys::core::PSTR, pub cchName: u32, pub fdwEnum: u32, @@ -1291,7 +1291,7 @@ pub struct ACMFORMATDETAILSA { pub fdwSupport: u32, pub pwfx: *mut WAVEFORMATEX, pub cbwfx: u32, - pub szFormat: [u8; 128], + pub szFormat: [i8; 128], } impl ::core::marker::Copy for ACMFORMATDETAILSA {} impl ::core::clone::Clone for ACMFORMATDETAILSA { @@ -1307,7 +1307,7 @@ pub struct ACMFORMATTAGDETAILSA { pub cbFormatSize: u32, pub fdwSupport: u32, pub cStandardFormats: u32, - pub szFormatTag: [u8; 48], + pub szFormatTag: [i8; 48], } impl ::core::marker::Copy for ACMFORMATTAGDETAILSA {} impl ::core::clone::Clone for ACMFORMATTAGDETAILSA { @@ -1459,7 +1459,7 @@ pub struct AUXCAPS2A { pub wMid: u16, pub wPid: u16, pub vDriverVersion: u32, - pub szPname: [u8; 32], + pub szPname: [i8; 32], pub wTechnology: u16, pub wReserved1: u16, pub dwSupport: u32, @@ -1497,7 +1497,7 @@ pub struct AUXCAPSA { pub wMid: u16, pub wPid: u16, pub vDriverVersion: u32, - pub szPname: [u8; 32], + pub szPname: [i8; 32], pub wTechnology: u16, pub wReserved1: u16, pub dwSupport: u32, @@ -1633,7 +1633,7 @@ pub struct MIDIINCAPS2A { pub wMid: u16, pub wPid: u16, pub vDriverVersion: u32, - pub szPname: [u8; 32], + pub szPname: [i8; 32], pub dwSupport: u32, pub ManufacturerGuid: ::windows_sys::core::GUID, pub ProductGuid: ::windows_sys::core::GUID, @@ -1667,7 +1667,7 @@ pub struct MIDIINCAPSA { pub wMid: u16, pub wPid: u16, pub vDriverVersion: u32, - pub szPname: [u8; 32], + pub szPname: [i8; 32], pub dwSupport: u32, } impl ::core::marker::Copy for MIDIINCAPSA {} @@ -1695,7 +1695,7 @@ pub struct MIDIOUTCAPS2A { pub wMid: u16, pub wPid: u16, pub vDriverVersion: u32, - pub szPname: [u8; 32], + pub szPname: [i8; 32], pub wTechnology: u16, pub wVoices: u16, pub wNotes: u16, @@ -1737,7 +1737,7 @@ pub struct MIDIOUTCAPSA { pub wMid: u16, pub wPid: u16, pub vDriverVersion: u32, - pub szPname: [u8; 32], + pub szPname: [i8; 32], pub wTechnology: u16, pub wVoices: u16, pub wNotes: u16, @@ -1807,7 +1807,7 @@ pub struct MIXERCAPS2A { pub wMid: u16, pub wPid: u16, pub vDriverVersion: u32, - pub szPname: [u8; 32], + pub szPname: [i8; 32], pub fdwSupport: u32, pub cDestinations: u32, pub ManufacturerGuid: ::windows_sys::core::GUID, @@ -1843,7 +1843,7 @@ pub struct MIXERCAPSA { pub wMid: u16, pub wPid: u16, pub vDriverVersion: u32, - pub szPname: [u8; 32], + pub szPname: [i8; 32], pub fdwSupport: u32, pub cDestinations: u32, } @@ -1875,8 +1875,8 @@ pub struct MIXERCONTROLA { pub dwControlType: u32, pub fdwControl: u32, pub cMultipleItems: u32, - pub szShortName: [u8; 16], - pub szName: [u8; 64], + pub szShortName: [i8; 16], + pub szName: [i8; 64], pub Bounds: MIXERCONTROLA_0, pub Metrics: MIXERCONTROLA_1, } @@ -1972,7 +1972,7 @@ impl ::core::clone::Clone for MIXERCONTROLDETAILS_BOOLEAN { pub struct MIXERCONTROLDETAILS_LISTTEXTA { pub dwParam1: u32, pub dwParam2: u32, - pub szName: [u8; 64], + pub szName: [i8; 64], } impl ::core::marker::Copy for MIXERCONTROLDETAILS_LISTTEXTA {} impl ::core::clone::Clone for MIXERCONTROLDETAILS_LISTTEXTA { @@ -2088,8 +2088,8 @@ pub struct MIXERLINEA { pub cChannels: u32, pub cConnections: u32, pub cControls: u32, - pub szShortName: [u8; 16], - pub szName: [u8; 64], + pub szShortName: [i8; 16], + pub szName: [i8; 64], pub Target: MIXERLINEA_0, } impl ::core::marker::Copy for MIXERLINEA {} @@ -2105,7 +2105,7 @@ pub struct MIXERLINEA_0 { pub wMid: u16, pub wPid: u16, pub vDriverVersion: u32, - pub szPname: [u8; 32], + pub szPname: [i8; 32], } impl ::core::marker::Copy for MIXERLINEA_0 {} impl ::core::clone::Clone for MIXERLINEA_0 { @@ -2523,7 +2523,7 @@ pub struct WAVEINCAPS2A { pub wMid: u16, pub wPid: u16, pub vDriverVersion: u32, - pub szPname: [u8; 32], + pub szPname: [i8; 32], pub dwFormats: u32, pub wChannels: u16, pub wReserved1: u16, @@ -2561,7 +2561,7 @@ pub struct WAVEINCAPSA { pub wMid: u16, pub wPid: u16, pub vDriverVersion: u32, - pub szPname: [u8; 32], + pub szPname: [i8; 32], pub dwFormats: u32, pub wChannels: u16, pub wReserved1: u16, @@ -2593,7 +2593,7 @@ pub struct WAVEOUTCAPS2A { pub wMid: u16, pub wPid: u16, pub vDriverVersion: u32, - pub szPname: [u8; 32], + pub szPname: [i8; 32], pub dwFormats: u32, pub wChannels: u16, pub wReserved1: u16, @@ -2633,7 +2633,7 @@ pub struct WAVEOUTCAPSA { pub wMid: u16, pub wPid: u16, pub vDriverVersion: u32, - pub szPname: [u8; 32], + pub szPname: [i8; 32], pub dwFormats: u32, pub wChannels: u16, pub wReserved1: u16, diff --git a/crates/libs/sys/src/Windows/Win32/Media/KernelStreaming/mod.rs b/crates/libs/sys/src/Windows/Win32/Media/KernelStreaming/mod.rs index ad55ce74ad..fb852474db 100644 --- a/crates/libs/sys/src/Windows/Win32/Media/KernelStreaming/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Media/KernelStreaming/mod.rs @@ -3775,7 +3775,7 @@ pub struct KSGOP_USERDATA { pub sc: u32, pub reserved1: u32, pub cFields: u8, - pub l21Data: [u8; 3], + pub l21Data: [i8; 3], } impl ::core::marker::Copy for KSGOP_USERDATA {} impl ::core::clone::Clone for KSGOP_USERDATA { diff --git a/crates/libs/sys/src/Windows/Win32/Media/Multimedia/mod.rs b/crates/libs/sys/src/Windows/Win32/Media/Multimedia/mod.rs index bab098f47f..986c6cadda 100644 --- a/crates/libs/sys/src/Windows/Win32/Media/Multimedia/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Media/Multimedia/mod.rs @@ -4966,7 +4966,7 @@ pub struct AVIFILEINFOA { pub dwRate: u32, pub dwLength: u32, pub dwEditCount: u32, - pub szFileType: [u8; 64], + pub szFileType: [i8; 64], } impl ::core::marker::Copy for AVIFILEINFOA {} impl ::core::clone::Clone for AVIFILEINFOA { @@ -5014,7 +5014,7 @@ pub struct AVISTREAMINFOA { pub rcFrame: super::super::Foundation::RECT, pub dwEditCount: u32, pub dwFormatChangeCount: u32, - pub szName: [u8; 64], + pub szName: [i8; 64], } impl ::core::marker::Copy for AVISTREAMINFOA {} impl ::core::clone::Clone for AVISTREAMINFOA { @@ -5791,7 +5791,7 @@ impl ::core::clone::Clone for IMAADPCMWAVEFORMAT { pub struct JOYCAPS2A { pub wMid: u16, pub wPid: u16, - pub szPname: [u8; 32], + pub szPname: [i8; 32], pub wXmin: u32, pub wXmax: u32, pub wYmin: u32, @@ -5811,8 +5811,8 @@ pub struct JOYCAPS2A { pub wMaxAxes: u32, pub wNumAxes: u32, pub wMaxButtons: u32, - pub szRegKey: [u8; 32], - pub szOEMVxD: [u8; 260], + pub szRegKey: [i8; 32], + pub szOEMVxD: [i8; 260], pub ManufacturerGuid: ::windows_sys::core::GUID, pub ProductGuid: ::windows_sys::core::GUID, pub NameGuid: ::windows_sys::core::GUID, @@ -5863,7 +5863,7 @@ impl ::core::clone::Clone for JOYCAPS2W { pub struct JOYCAPSA { pub wMid: u16, pub wPid: u16, - pub szPname: [u8; 32], + pub szPname: [i8; 32], pub wXmin: u32, pub wXmax: u32, pub wYmin: u32, @@ -5883,8 +5883,8 @@ pub struct JOYCAPSA { pub wMaxAxes: u32, pub wNumAxes: u32, pub wMaxButtons: u32, - pub szRegKey: [u8; 32], - pub szOEMVxD: [u8; 260], + pub szRegKey: [i8; 32], + pub szOEMVxD: [i8; 260], } impl ::core::marker::Copy for JOYCAPSA {} impl ::core::clone::Clone for JOYCAPSA { @@ -7388,8 +7388,8 @@ impl ::core::clone::Clone for YAMAHA_ADPCMWAVEFORMAT { #[repr(C)] pub struct s_RIFFWAVE_inst { pub bUnshiftedNote: u8, - pub chFineTune: u8, - pub chGain: u8, + pub chFineTune: i8, + pub chGain: i8, pub bLowNote: u8, pub bHighNote: u8, pub bLowVelocity: u8, diff --git a/crates/libs/sys/src/Windows/Win32/NetworkManagement/Dns/mod.rs b/crates/libs/sys/src/Windows/Win32/NetworkManagement/Dns/mod.rs index 735b9ea009..b94dcf06a2 100644 --- a/crates/libs/sys/src/Windows/Win32/NetworkManagement/Dns/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/NetworkManagement/Dns/mod.rs @@ -474,7 +474,7 @@ impl ::core::clone::Clone for DNS_AAAA_DATA { } #[repr(C)] pub struct DNS_ADDR { - pub MaxSa: [u8; 32], + pub MaxSa: [i8; 32], pub Data: DNS_ADDR_0, } impl ::core::marker::Copy for DNS_ADDR {} @@ -727,7 +727,7 @@ impl ::core::clone::Clone for DNS_CUSTOM_SERVER_0 { } #[repr(C)] pub union DNS_CUSTOM_SERVER_1 { - pub MaxSa: [u8; 32], + pub MaxSa: [i8; 32], } impl ::core::marker::Copy for DNS_CUSTOM_SERVER_1 {} impl ::core::clone::Clone for DNS_CUSTOM_SERVER_1 { @@ -823,7 +823,7 @@ impl ::core::clone::Clone for DNS_LOC_DATA { #[repr(C)] pub struct DNS_MESSAGE_BUFFER { pub MessageHead: DNS_HEADER, - pub MessageBody: [u8; 1], + pub MessageBody: [i8; 1], } impl ::core::marker::Copy for DNS_MESSAGE_BUFFER {} impl ::core::clone::Clone for DNS_MESSAGE_BUFFER { @@ -1045,7 +1045,7 @@ impl ::core::clone::Clone for DNS_PTR_DATAW { } #[repr(C)] pub struct DNS_QUERY_CANCEL { - pub Reserved: [u8; 32], + pub Reserved: [i8; 32], } impl ::core::marker::Copy for DNS_QUERY_CANCEL {} impl ::core::clone::Clone for DNS_QUERY_CANCEL { diff --git a/crates/libs/sys/src/Windows/Win32/NetworkManagement/IpHelper/mod.rs b/crates/libs/sys/src/Windows/Win32/NetworkManagement/IpHelper/mod.rs index 3cb9aa2da3..f8f6056fee 100644 --- a/crates/libs/sys/src/Windows/Win32/NetworkManagement/IpHelper/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/NetworkManagement/IpHelper/mod.rs @@ -1072,12 +1072,12 @@ impl ::core::clone::Clone for DNS_SETTINGS2 { } #[repr(C)] pub struct FIXED_INFO_W2KSP1 { - pub HostName: [u8; 132], - pub DomainName: [u8; 132], + pub HostName: [i8; 132], + pub DomainName: [i8; 132], pub CurrentDnsServer: *mut IP_ADDR_STRING, pub DnsServerList: IP_ADDR_STRING, pub NodeType: u32, - pub ScopeId: [u8; 260], + pub ScopeId: [i8; 260], pub EnableRouting: u32, pub EnableProxy: u32, pub EnableDns: u32, @@ -1540,8 +1540,8 @@ impl ::core::clone::Clone for IP_ADAPTER_INDEX_MAP { pub struct IP_ADAPTER_INFO { pub Next: *mut IP_ADAPTER_INFO, pub ComboIndex: u32, - pub AdapterName: [u8; 260], - pub Description: [u8; 132], + pub AdapterName: [i8; 260], + pub Description: [i8; 132], pub AddressLength: u32, pub Address: [u8; 8], pub Index: u32, @@ -1835,7 +1835,7 @@ impl ::core::clone::Clone for IP_ADDRESS_PREFIX { } #[repr(C)] pub struct IP_ADDRESS_STRING { - pub String: [u8; 16], + pub String: [i8; 16], } impl ::core::marker::Copy for IP_ADDRESS_STRING {} impl ::core::clone::Clone for IP_ADDRESS_STRING { diff --git a/crates/libs/sys/src/Windows/Win32/NetworkManagement/Ndis/mod.rs b/crates/libs/sys/src/Windows/Win32/NetworkManagement/Ndis/mod.rs index 3bee92fe93..937133c257 100644 --- a/crates/libs/sys/src/Windows/Win32/NetworkManagement/Ndis/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/NetworkManagement/Ndis/mod.rs @@ -3388,7 +3388,7 @@ pub struct NDIS_WMI_ENUM_ADAPTER { pub IfIndex: u32, pub NetLuid: NET_LUID_LH, pub DeviceNameLength: u16, - pub DeviceName: [u8; 1], + pub DeviceName: [i8; 1], } impl ::core::marker::Copy for NDIS_WMI_ENUM_ADAPTER {} impl ::core::clone::Clone for NDIS_WMI_ENUM_ADAPTER { diff --git a/crates/libs/sys/src/Windows/Win32/NetworkManagement/NetManagement/mod.rs b/crates/libs/sys/src/Windows/Win32/NetworkManagement/NetManagement/mod.rs index 1bb87e19f0..80fa6ac054 100644 --- a/crates/libs/sys/src/Windows/Win32/NetworkManagement/NetManagement/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/NetworkManagement/NetManagement/mod.rs @@ -2935,7 +2935,7 @@ impl ::core::clone::Clone for ERROR_LOG { pub struct FLAT_STRING { pub MaximumLength: i16, pub Length: i16, - pub Buffer: [u8; 1], + pub Buffer: [i8; 1], } impl ::core::marker::Copy for FLAT_STRING {} impl ::core::clone::Clone for FLAT_STRING { diff --git a/crates/libs/sys/src/Windows/Win32/NetworkManagement/NetworkDiagnosticsFramework/mod.rs b/crates/libs/sys/src/Windows/Win32/NetworkManagement/NetworkDiagnosticsFramework/mod.rs index 0dd799029b..78cd174af9 100644 --- a/crates/libs/sys/src/Windows/Win32/NetworkManagement/NetworkDiagnosticsFramework/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/NetworkManagement/NetworkDiagnosticsFramework/mod.rs @@ -106,7 +106,7 @@ pub type UI_INFO_TYPE = i32; #[repr(C)] pub struct DIAG_SOCKADDR { pub family: u16, - pub data: [u8; 126], + pub data: [i8; 126], } impl ::core::marker::Copy for DIAG_SOCKADDR {} impl ::core::clone::Clone for DIAG_SOCKADDR { diff --git a/crates/libs/sys/src/Windows/Win32/NetworkManagement/Rras/mod.rs b/crates/libs/sys/src/Windows/Win32/NetworkManagement/Rras/mod.rs index 94920f77c2..8aed8343eb 100644 --- a/crates/libs/sys/src/Windows/Win32/NetworkManagement/Rras/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/NetworkManagement/Rras/mod.rs @@ -2228,7 +2228,7 @@ impl ::core::clone::Clone for RASADPARAMS { pub struct RASAMBA { pub dwSize: u32, pub dwError: u32, - pub szNetBiosError: [u8; 17], + pub szNetBiosError: [i8; 17], pub bLana: u8, } impl ::core::marker::Copy for RASAMBA {} @@ -2255,7 +2255,7 @@ pub struct RASAUTODIALENTRYA { pub dwSize: u32, pub dwFlags: u32, pub dwDialingLocation: u32, - pub szEntry: [u8; 257], + pub szEntry: [i8; 257], } impl ::core::marker::Copy for RASAUTODIALENTRYA {} impl ::core::clone::Clone for RASAUTODIALENTRYA { @@ -2295,10 +2295,10 @@ impl ::core::clone::Clone for RASCOMMSETTINGS { pub struct RASCONNA { pub dwSize: u32, pub hrasconn: HRASCONN, - pub szEntryName: [u8; 257], - pub szDeviceType: [u8; 17], - pub szDeviceName: [u8; 129], - pub szPhonebook: [u8; 260], + pub szEntryName: [i8; 257], + pub szDeviceType: [i8; 17], + pub szDeviceName: [i8; 129], + pub szPhonebook: [i8; 260], pub dwSubEntry: u32, pub guidEntry: ::windows_sys::core::GUID, pub dwFlags: u32, @@ -2318,10 +2318,10 @@ impl ::core::clone::Clone for RASCONNA { pub struct RASCONNA { pub dwSize: u32, pub hrasconn: HRASCONN, - pub szEntryName: [u8; 257], - pub szDeviceType: [u8; 17], - pub szDeviceName: [u8; 129], - pub szPhonebook: [u8; 260], + pub szEntryName: [i8; 257], + pub szDeviceType: [i8; 17], + pub szDeviceName: [i8; 129], + pub szPhonebook: [i8; 260], pub dwSubEntry: u32, pub guidEntry: ::windows_sys::core::GUID, pub dwFlags: u32, @@ -2343,9 +2343,9 @@ pub struct RASCONNSTATUSA { pub dwSize: u32, pub rasconnstate: RASCONNSTATE, pub dwError: u32, - pub szDeviceType: [u8; 17], - pub szDeviceName: [u8; 129], - pub szPhoneNumber: [u8; 129], + pub szDeviceType: [i8; 17], + pub szDeviceName: [i8; 129], + pub szPhoneNumber: [i8; 129], pub localEndPoint: RASTUNNELENDPOINT, pub remoteEndPoint: RASTUNNELENDPOINT, pub rasconnsubstate: RASCONNSUBSTATE, @@ -2430,9 +2430,9 @@ impl ::core::clone::Clone for RASCONNW { pub struct RASCREDENTIALSA { pub dwSize: u32, pub dwMask: u32, - pub szUserName: [u8; 257], - pub szPassword: [u8; 257], - pub szDomain: [u8; 16], + pub szUserName: [i8; 257], + pub szPassword: [i8; 257], + pub szDomain: [i8; 16], } impl ::core::marker::Copy for RASCREDENTIALSA {} impl ::core::clone::Clone for RASCREDENTIALSA { @@ -2482,8 +2482,8 @@ impl ::core::clone::Clone for RASCUSTOMSCRIPTEXTENSIONS { #[repr(C)] pub struct RASDEVINFOA { pub dwSize: u32, - pub szDeviceType: [u8; 17], - pub szDeviceName: [u8; 129], + pub szDeviceType: [i8; 17], + pub szDeviceName: [i8; 129], } impl ::core::marker::Copy for RASDEVINFOA {} impl ::core::clone::Clone for RASDEVINFOA { @@ -2570,12 +2570,12 @@ impl ::core::clone::Clone for RASDIALEXTENSIONS { #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] pub struct RASDIALPARAMSA { pub dwSize: u32, - pub szEntryName: [u8; 257], - pub szPhoneNumber: [u8; 129], - pub szCallbackNumber: [u8; 129], - pub szUserName: [u8; 257], - pub szPassword: [u8; 257], - pub szDomain: [u8; 16], + pub szEntryName: [i8; 257], + pub szPhoneNumber: [i8; 129], + pub szCallbackNumber: [i8; 129], + pub szUserName: [i8; 257], + pub szPassword: [i8; 257], + pub szDomain: [i8; 16], pub dwSubEntry: u32, pub dwCallbackId: usize, pub dwIfIndex: u32, @@ -2593,12 +2593,12 @@ impl ::core::clone::Clone for RASDIALPARAMSA { #[cfg(target_arch = "x86")] pub struct RASDIALPARAMSA { pub dwSize: u32, - pub szEntryName: [u8; 257], - pub szPhoneNumber: [u8; 129], - pub szCallbackNumber: [u8; 129], - pub szUserName: [u8; 257], - pub szPassword: [u8; 257], - pub szDomain: [u8; 16], + pub szEntryName: [i8; 257], + pub szPhoneNumber: [i8; 129], + pub szCallbackNumber: [i8; 129], + pub szUserName: [i8; 257], + pub szPassword: [i8; 257], + pub szDomain: [i8; 16], pub dwSubEntry: u32, pub dwCallbackId: usize, pub dwIfIndex: u32, @@ -2671,7 +2671,7 @@ impl ::core::clone::Clone for RASEAPINFO { } #[repr(C)] pub struct RASEAPUSERIDENTITYA { - pub szUserName: [u8; 257], + pub szUserName: [i8; 257], pub dwSizeofEapInfo: u32, pub pbEapInfo: [u8; 1], } @@ -2701,8 +2701,8 @@ pub struct RASENTRYA { pub dwfOptions: u32, pub dwCountryID: u32, pub dwCountryCode: u32, - pub szAreaCode: [u8; 11], - pub szLocalPhoneNumber: [u8; 129], + pub szAreaCode: [i8; 11], + pub szLocalPhoneNumber: [i8; 129], pub dwAlternateOffset: u32, pub ipaddr: RASIPADDR, pub ipaddrDns: RASIPADDR, @@ -2712,15 +2712,15 @@ pub struct RASENTRYA { pub dwFrameSize: u32, pub dwfNetProtocols: u32, pub dwFramingProtocol: u32, - pub szScript: [u8; 260], - pub szAutodialDll: [u8; 260], - pub szAutodialFunc: [u8; 260], - pub szDeviceType: [u8; 17], - pub szDeviceName: [u8; 129], - pub szX25PadType: [u8; 33], - pub szX25Address: [u8; 201], - pub szX25Facilities: [u8; 201], - pub szX25UserData: [u8; 201], + pub szScript: [i8; 260], + pub szAutodialDll: [i8; 260], + pub szAutodialFunc: [i8; 260], + pub szDeviceType: [i8; 17], + pub szDeviceName: [i8; 129], + pub szX25PadType: [i8; 33], + pub szX25Address: [i8; 201], + pub szX25Facilities: [i8; 201], + pub szX25UserData: [i8; 201], pub dwChannels: u32, pub dwReserved1: u32, pub dwReserved2: u32, @@ -2735,14 +2735,14 @@ pub struct RASENTRYA { pub dwEncryptionType: u32, pub dwCustomAuthKey: u32, pub guidId: ::windows_sys::core::GUID, - pub szCustomDialDll: [u8; 260], + pub szCustomDialDll: [i8; 260], pub dwVpnStrategy: u32, pub dwfOptions2: u32, pub dwfOptions3: u32, - pub szDnsSuffix: [u8; 256], + pub szDnsSuffix: [i8; 256], pub dwTcpWindowSize: u32, - pub szPrerequisitePbk: [u8; 260], - pub szPrerequisiteEntry: [u8; 257], + pub szPrerequisitePbk: [i8; 260], + pub szPrerequisiteEntry: [i8; 257], pub dwRedialCount: u32, pub dwRedialPause: u32, pub ipv6addrDns: super::super::Networking::WinSock::IN6_ADDR, @@ -2752,8 +2752,8 @@ pub struct RASENTRYA { pub ipv6addr: super::super::Networking::WinSock::IN6_ADDR, pub dwIPv6PrefixLength: u32, pub dwNetworkOutageTime: u32, - pub szIDi: [u8; 257], - pub szIDr: [u8; 257], + pub szIDi: [i8; 257], + pub szIDr: [i8; 257], pub fIsImsConfig: super::super::Foundation::BOOL, pub IdiType: IKEV2_ID_PAYLOAD_TYPE, pub IdrType: IKEV2_ID_PAYLOAD_TYPE, @@ -2775,7 +2775,7 @@ pub struct RASENTRYDLGA { pub dwFlags: u32, pub xDlg: i32, pub yDlg: i32, - pub szEntry: [u8; 257], + pub szEntry: [i8; 257], pub dwError: u32, pub reserved: usize, pub reserved2: usize, @@ -2796,7 +2796,7 @@ pub struct RASENTRYDLGA { pub dwFlags: u32, pub xDlg: i32, pub yDlg: i32, - pub szEntry: [u8; 257], + pub szEntry: [i8; 257], pub dwError: u32, pub reserved: usize, pub reserved2: usize, @@ -2854,9 +2854,9 @@ impl ::core::clone::Clone for RASENTRYDLGW { #[repr(C)] pub struct RASENTRYNAMEA { pub dwSize: u32, - pub szEntryName: [u8; 257], + pub szEntryName: [i8; 257], pub dwFlags: u32, - pub szPhonebookPath: [u8; 261], + pub szPhonebookPath: [i8; 261], } impl ::core::marker::Copy for RASENTRYNAMEA {} impl ::core::clone::Clone for RASENTRYNAMEA { @@ -3043,9 +3043,9 @@ pub struct RASNOUSERA { pub dwSize: u32, pub dwFlags: u32, pub dwTimeoutMs: u32, - pub szUserName: [u8; 257], - pub szPassword: [u8; 257], - pub szDomain: [u8; 16], + pub szUserName: [i8; 257], + pub szPassword: [i8; 257], + pub szDomain: [i8; 16], } impl ::core::marker::Copy for RASNOUSERA {} impl ::core::clone::Clone for RASNOUSERA { @@ -3175,8 +3175,8 @@ impl ::core::clone::Clone for RASPPPCCP { pub struct RASPPPIPA { pub dwSize: u32, pub dwError: u32, - pub szIpAddress: [u8; 16], - pub szServerIpAddress: [u8; 16], + pub szIpAddress: [i8; 16], + pub szServerIpAddress: [i8; 16], pub dwOptions: u32, pub dwServerOptions: u32, } @@ -3220,7 +3220,7 @@ impl ::core::clone::Clone for RASPPPIPW { pub struct RASPPPIPXA { pub dwSize: u32, pub dwError: u32, - pub szIpxAddress: [u8; 22], + pub szIpxAddress: [i8; 22], } impl ::core::marker::Copy for RASPPPIPXA {} impl ::core::clone::Clone for RASPPPIPXA { @@ -3242,7 +3242,7 @@ pub struct RASPPPLCPA { pub fMultilink: super::super::Foundation::BOOL, pub dwTerminateReason: u32, pub dwServerTerminateReason: u32, - pub szReplyMessage: [u8; 1024], + pub szReplyMessage: [i8; 1024], pub dwOptions: u32, pub dwServerOptions: u32, } @@ -3281,8 +3281,8 @@ pub struct RASPPPNBFA { pub dwSize: u32, pub dwError: u32, pub dwNetBiosError: u32, - pub szNetBiosError: [u8; 17], - pub szWorkstationName: [u8; 17], + pub szNetBiosError: [i8; 17], + pub szWorkstationName: [i8; 17], pub bLana: u8, } impl ::core::marker::Copy for RASPPPNBFA {} @@ -3346,9 +3346,9 @@ impl ::core::clone::Clone for RASPPP_PROJECTION_INFO { pub struct RASSUBENTRYA { pub dwSize: u32, pub dwfFlags: u32, - pub szDeviceType: [u8; 17], - pub szDeviceName: [u8; 129], - pub szLocalPhoneNumber: [u8; 129], + pub szDeviceType: [i8; 17], + pub szDeviceName: [i8; 129], + pub szLocalPhoneNumber: [i8; 129], pub dwAlternateOffset: u32, } impl ::core::marker::Copy for RASSUBENTRYA {} @@ -3686,7 +3686,7 @@ impl ::core::clone::Clone for RAS_PROJECTION_INFO_0 { pub struct RAS_SECURITY_INFO { pub LastError: u32, pub BytesReceived: u32, - pub DeviceName: [u8; 129], + pub DeviceName: [i8; 129], } impl ::core::marker::Copy for RAS_SECURITY_INFO {} impl ::core::clone::Clone for RAS_SECURITY_INFO { @@ -4040,8 +4040,8 @@ pub struct SECURITY_MESSAGE { pub dwMsgId: SECURITY_MESSAGE_MSG_ID, pub hPort: isize, pub dwError: u32, - pub UserName: [u8; 257], - pub Domain: [u8; 16], + pub UserName: [i8; 257], + pub Domain: [i8; 16], } impl ::core::marker::Copy for SECURITY_MESSAGE {} impl ::core::clone::Clone for SECURITY_MESSAGE { diff --git a/crates/libs/sys/src/Windows/Win32/NetworkManagement/Snmp/mod.rs b/crates/libs/sys/src/Windows/Win32/NetworkManagement/Snmp/mod.rs index 0c3bbd29f1..c61629092e 100644 --- a/crates/libs/sys/src/Windows/Win32/NetworkManagement/Snmp/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/NetworkManagement/Snmp/mod.rs @@ -444,10 +444,10 @@ impl ::core::clone::Clone for smiVALUE_0 { } #[repr(C)] pub struct smiVENDORINFO { - pub vendorName: [u8; 64], - pub vendorContact: [u8; 64], - pub vendorVersionId: [u8; 32], - pub vendorVersionDate: [u8; 32], + pub vendorName: [i8; 64], + pub vendorContact: [i8; 64], + pub vendorVersionId: [i8; 32], + pub vendorVersionDate: [i8; 32], pub vendorEnterprise: u32, } impl ::core::marker::Copy for smiVENDORINFO {} diff --git a/crates/libs/sys/src/Windows/Win32/Networking/ActiveDirectory/mod.rs b/crates/libs/sys/src/Windows/Win32/Networking/ActiveDirectory/mod.rs index 82a2ea228c..2251e6e8b2 100644 --- a/crates/libs/sys/src/Windows/Win32/Networking/ActiveDirectory/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Networking/ActiveDirectory/mod.rs @@ -1863,8 +1863,8 @@ pub struct DSBITEMA { pub dwMask: u32, pub dwState: u32, pub dwStateMask: u32, - pub szDisplayName: [u8; 64], - pub szIconLocation: [u8; 260], + pub szDisplayName: [i8; 64], + pub szIconLocation: [i8; 260], pub iIconResID: i32, } impl ::core::marker::Copy for DSBITEMA {} diff --git a/crates/libs/sys/src/Windows/Win32/Networking/Ldap/mod.rs b/crates/libs/sys/src/Windows/Win32/Networking/Ldap/mod.rs index 9bf980d568..c500210fd2 100644 --- a/crates/libs/sys/src/Windows/Win32/Networking/Ldap/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Networking/Ldap/mod.rs @@ -6,7 +6,7 @@ ::windows_targets::link!("wldap32.dll" "cdecl" fn ber_bvdup(pberval : *mut LDAP_BERVAL) -> *mut LDAP_BERVAL); ::windows_targets::link!("wldap32.dll" "cdecl" fn ber_bvecfree(pberval : *mut *mut LDAP_BERVAL)); ::windows_targets::link!("wldap32.dll" "cdecl" fn ber_bvfree(bv : *mut LDAP_BERVAL)); -::windows_targets::link!("wldap32.dll" "cdecl" fn ber_first_element(pberelement : *mut BerElement, plen : *mut u32, ppopaque : *mut *mut u8) -> u32); +::windows_targets::link!("wldap32.dll" "cdecl" fn ber_first_element(pberelement : *mut BerElement, plen : *mut u32, ppopaque : *mut *mut i8) -> u32); ::windows_targets::link!("wldap32.dll" "cdecl" fn ber_flatten(pberelement : *mut BerElement, pberval : *mut *mut LDAP_BERVAL) -> i32); ::windows_targets::link!("wldap32.dll" "cdecl" fn ber_free(pberelement : *mut BerElement, fbuf : i32)); ::windows_targets::link!("wldap32.dll" "cdecl" fn ber_init(pberval : *mut LDAP_BERVAL) -> *mut BerElement); diff --git a/crates/libs/sys/src/Windows/Win32/Networking/WinInet/mod.rs b/crates/libs/sys/src/Windows/Win32/Networking/WinInet/mod.rs index f3838fab5d..47e1794d6f 100644 --- a/crates/libs/sys/src/Windows/Win32/Networking/WinInet/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Networking/WinInet/mod.rs @@ -1607,12 +1607,12 @@ impl ::core::clone::Clone for GOPHER_ATTRIBUTE_TYPE_0 { } #[repr(C)] pub struct GOPHER_FIND_DATAA { - pub DisplayString: [u8; 129], + pub DisplayString: [i8; 129], pub GopherType: GOPHER_TYPE, pub SizeLow: u32, pub SizeHigh: u32, pub LastModificationTime: super::super::Foundation::FILETIME, - pub Locator: [u8; 654], + pub Locator: [i8; 654], } impl ::core::marker::Copy for GOPHER_FIND_DATAA {} impl ::core::clone::Clone for GOPHER_FIND_DATAA { @@ -1924,7 +1924,7 @@ impl ::core::clone::Clone for INTERNET_CACHE_CONFIG_INFOA_0 { } #[repr(C)] pub struct INTERNET_CACHE_CONFIG_INFOA_0_0 { - pub CachePath: [u8; 260], + pub CachePath: [i8; 260], pub dwCacheSize: u32, } impl ::core::marker::Copy for INTERNET_CACHE_CONFIG_INFOA_0_0 {} @@ -1976,7 +1976,7 @@ impl ::core::clone::Clone for INTERNET_CACHE_CONFIG_INFOW_0_0 { } #[repr(C)] pub struct INTERNET_CACHE_CONFIG_PATH_ENTRYA { - pub CachePath: [u8; 260], + pub CachePath: [i8; 260], pub dwCacheSize: u32, } impl ::core::marker::Copy for INTERNET_CACHE_CONFIG_PATH_ENTRYA {} @@ -2104,7 +2104,7 @@ pub struct INTERNET_CACHE_GROUP_INFOA { pub dwDiskUsage: u32, pub dwDiskQuota: u32, pub dwOwnerStorage: [u32; 4], - pub szGroupName: [u8; 120], + pub szGroupName: [i8; 120], } impl ::core::marker::Copy for INTERNET_CACHE_GROUP_INFOA {} impl ::core::clone::Clone for INTERNET_CACHE_GROUP_INFOA { diff --git a/crates/libs/sys/src/Windows/Win32/Networking/WinSock/mod.rs b/crates/libs/sys/src/Windows/Win32/Networking/WinSock/mod.rs index a95653d6d5..59418ca987 100644 --- a/crates/libs/sys/src/Windows/Win32/Networking/WinSock/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Networking/WinSock/mod.rs @@ -4034,7 +4034,7 @@ impl ::core::clone::Clone for NLA_BLOB { } #[repr(C)] pub union NLA_BLOB_0 { - pub rawData: [u8; 1], + pub rawData: [i8; 1], pub interfaceData: NLA_BLOB_0_2, pub locationData: NLA_BLOB_0_3, pub connectivity: NLA_BLOB_0_1, @@ -4085,7 +4085,7 @@ impl ::core::clone::Clone for NLA_BLOB_0_1 { pub struct NLA_BLOB_0_2 { pub dwType: u32, pub dwSpeed: u32, - pub adapterName: [u8; 1], + pub adapterName: [i8; 1], } impl ::core::marker::Copy for NLA_BLOB_0_2 {} impl ::core::clone::Clone for NLA_BLOB_0_2 { @@ -4095,7 +4095,7 @@ impl ::core::clone::Clone for NLA_BLOB_0_2 { } #[repr(C)] pub struct NLA_BLOB_0_3 { - pub information: [u8; 1], + pub information: [i8; 1], } impl ::core::marker::Copy for NLA_BLOB_0_3 {} impl ::core::clone::Clone for NLA_BLOB_0_3 { @@ -4845,7 +4845,7 @@ impl ::core::clone::Clone for SNAP_HEADER { #[repr(C)] pub struct SOCKADDR { pub sa_family: ADDRESS_FAMILY, - pub sa_data: [u8; 14], + pub sa_data: [i8; 14], } impl ::core::marker::Copy for SOCKADDR {} impl ::core::clone::Clone for SOCKADDR { @@ -4883,7 +4883,7 @@ pub struct SOCKADDR_IN { pub sin_family: ADDRESS_FAMILY, pub sin_port: u16, pub sin_addr: IN_ADDR, - pub sin_zero: [u8; 8], + pub sin_zero: [i8; 8], } impl ::core::marker::Copy for SOCKADDR_IN {} impl ::core::clone::Clone for SOCKADDR_IN { @@ -4956,8 +4956,8 @@ impl ::core::clone::Clone for SOCKADDR_INET { #[repr(C)] pub struct SOCKADDR_IPX { pub sa_family: i16, - pub sa_netnum: [u8; 4], - pub sa_nodenum: [u8; 6], + pub sa_netnum: [i8; 4], + pub sa_nodenum: [i8; 6], pub sa_socket: u16, } impl ::core::marker::Copy for SOCKADDR_IPX {} @@ -4970,7 +4970,7 @@ impl ::core::clone::Clone for SOCKADDR_IPX { pub struct SOCKADDR_IRDA { pub irdaAddressFamily: u16, pub irdaDeviceID: [u8; 4], - pub irdaServiceName: [u8; 25], + pub irdaServiceName: [i8; 25], } impl ::core::marker::Copy for SOCKADDR_IRDA {} impl ::core::clone::Clone for SOCKADDR_IRDA { @@ -4982,7 +4982,7 @@ impl ::core::clone::Clone for SOCKADDR_IRDA { pub struct SOCKADDR_NB { pub snb_family: i16, pub snb_type: u16, - pub snb_name: [u8; 16], + pub snb_name: [i8; 16], } impl ::core::marker::Copy for SOCKADDR_NB {} impl ::core::clone::Clone for SOCKADDR_NB { @@ -4993,9 +4993,9 @@ impl ::core::clone::Clone for SOCKADDR_NB { #[repr(C)] pub struct SOCKADDR_STORAGE { pub ss_family: ADDRESS_FAMILY, - pub __ss_pad1: [u8; 6], + pub __ss_pad1: [i8; 6], pub __ss_align: i64, - pub __ss_pad2: [u8; 112], + pub __ss_pad2: [i8; 112], } impl ::core::marker::Copy for SOCKADDR_STORAGE {} impl ::core::clone::Clone for SOCKADDR_STORAGE { @@ -5006,9 +5006,9 @@ impl ::core::clone::Clone for SOCKADDR_STORAGE { #[repr(C)] pub struct SOCKADDR_STORAGE_XP { pub ss_family: i16, - pub __ss_pad1: [u8; 6], + pub __ss_pad1: [i8; 6], pub __ss_align: i64, - pub __ss_pad2: [u8; 112], + pub __ss_pad2: [i8; 112], } impl ::core::marker::Copy for SOCKADDR_STORAGE_XP {} impl ::core::clone::Clone for SOCKADDR_STORAGE_XP { @@ -5033,7 +5033,7 @@ impl ::core::clone::Clone for SOCKADDR_TP { #[repr(C)] pub struct SOCKADDR_UN { pub sun_family: ADDRESS_FAMILY, - pub sun_path: [u8; 108], + pub sun_path: [i8; 108], } impl ::core::marker::Copy for SOCKADDR_UN {} impl ::core::clone::Clone for SOCKADDR_UN { @@ -5543,7 +5543,7 @@ impl ::core::clone::Clone for WCE_DEVICELIST { #[repr(C)] pub struct WCE_IRDA_DEVICE_INFO { pub irdaDeviceID: [u8; 4], - pub irdaDeviceName: [u8; 22], + pub irdaDeviceName: [i8; 22], pub Reserved: [u8; 2], } impl ::core::marker::Copy for WCE_IRDA_DEVICE_INFO {} @@ -5566,8 +5566,8 @@ impl ::core::clone::Clone for WINDOWS_DEVICELIST { #[repr(C)] pub struct WINDOWS_IAS_QUERY { pub irdaDeviceID: [u8; 4], - pub irdaClassName: [u8; 64], - pub irdaAttribName: [u8; 256], + pub irdaClassName: [i8; 64], + pub irdaAttribName: [i8; 256], pub irdaAttribType: u32, pub irdaAttribute: WINDOWS_IAS_QUERY_0, } @@ -5614,8 +5614,8 @@ impl ::core::clone::Clone for WINDOWS_IAS_QUERY_0_1 { } #[repr(C)] pub struct WINDOWS_IAS_SET { - pub irdaClassName: [u8; 64], - pub irdaAttribName: [u8; 256], + pub irdaClassName: [i8; 64], + pub irdaAttribName: [i8; 256], pub irdaAttribType: u32, pub irdaAttribute: WINDOWS_IAS_SET_0, } @@ -5663,7 +5663,7 @@ impl ::core::clone::Clone for WINDOWS_IAS_SET_0_1 { #[repr(C)] pub struct WINDOWS_IRDA_DEVICE_INFO { pub irdaDeviceID: [u8; 4], - pub irdaDeviceName: [u8; 22], + pub irdaDeviceName: [i8; 22], pub irdaDeviceHints1: u8, pub irdaDeviceHints2: u8, pub irdaCharSet: u8, @@ -5786,8 +5786,8 @@ pub struct WSADATA { pub iMaxSockets: u16, pub iMaxUdpDg: u16, pub lpVendorInfo: ::windows_sys::core::PSTR, - pub szDescription: [u8; 257], - pub szSystemStatus: [u8; 129], + pub szDescription: [i8; 257], + pub szSystemStatus: [i8; 129], } #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] impl ::core::marker::Copy for WSADATA {} @@ -5802,8 +5802,8 @@ impl ::core::clone::Clone for WSADATA { pub struct WSADATA { pub wVersion: u16, pub wHighVersion: u16, - pub szDescription: [u8; 257], - pub szSystemStatus: [u8; 129], + pub szDescription: [i8; 257], + pub szSystemStatus: [i8; 129], pub iMaxSockets: u16, pub iMaxUdpDg: u16, pub lpVendorInfo: ::windows_sys::core::PSTR, @@ -5994,7 +5994,7 @@ pub struct WSAPROTOCOL_INFOA { pub iSecurityScheme: i32, pub dwMessageSize: u32, pub dwProviderReserved: u32, - pub szProtocol: [u8; 256], + pub szProtocol: [i8; 256], } impl ::core::marker::Copy for WSAPROTOCOL_INFOA {} impl ::core::clone::Clone for WSAPROTOCOL_INFOA { diff --git a/crates/libs/sys/src/Windows/Win32/Networking/WindowsWebServices/mod.rs b/crates/libs/sys/src/Windows/Win32/Networking/WindowsWebServices/mod.rs index 8462c4ffd8..305cc54c91 100644 --- a/crates/libs/sys/src/Windows/Win32/Networking/WindowsWebServices/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Networking/WindowsWebServices/mod.rs @@ -2750,8 +2750,8 @@ impl ::core::clone::Clone for WS_INT64_DESCRIPTION { } #[repr(C)] pub struct WS_INT8_DESCRIPTION { - pub minValue: u8, - pub maxValue: u8, + pub minValue: i8, + pub maxValue: i8, } impl ::core::marker::Copy for WS_INT8_DESCRIPTION {} impl ::core::clone::Clone for WS_INT8_DESCRIPTION { diff --git a/crates/libs/sys/src/Windows/Win32/Security/Authentication/Identity/mod.rs b/crates/libs/sys/src/Windows/Win32/Security/Authentication/Identity/mod.rs index 1931ad065a..1289d01c59 100644 --- a/crates/libs/sys/src/Windows/Win32/Security/Authentication/Identity/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Security/Authentication/Identity/mod.rs @@ -2350,7 +2350,7 @@ impl ::core::clone::Clone for CENTRAL_ACCESS_POLICY_ENTRY { } #[repr(C)] pub struct CLEAR_BLOCK { - pub data: [u8; 8], + pub data: [i8; 8], } impl ::core::marker::Copy for CLEAR_BLOCK {} impl ::core::clone::Clone for CLEAR_BLOCK { diff --git a/crates/libs/sys/src/Windows/Win32/Security/Cryptography/mod.rs b/crates/libs/sys/src/Windows/Win32/Security/Cryptography/mod.rs index fa5092183b..6ed5cd85f8 100644 --- a/crates/libs/sys/src/Windows/Win32/Security/Cryptography/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Security/Cryptography/mod.rs @@ -9067,7 +9067,7 @@ pub struct PROV_ENUMALGS { pub aiAlgid: ALG_ID, pub dwBitLen: u32, pub dwNameLen: u32, - pub szName: [u8; 20], + pub szName: [i8; 20], } impl ::core::marker::Copy for PROV_ENUMALGS {} impl ::core::clone::Clone for PROV_ENUMALGS { @@ -9083,9 +9083,9 @@ pub struct PROV_ENUMALGS_EX { pub dwMaxLen: u32, pub dwProtocols: u32, pub dwNameLen: u32, - pub szName: [u8; 20], + pub szName: [i8; 20], pub dwLongNameLen: u32, - pub szLongName: [u8; 40], + pub szLongName: [i8; 40], } impl ::core::marker::Copy for PROV_ENUMALGS_EX {} impl ::core::clone::Clone for PROV_ENUMALGS_EX { diff --git a/crates/libs/sys/src/Windows/Win32/Security/mod.rs b/crates/libs/sys/src/Windows/Win32/Security/mod.rs index 85c76038cf..415778f498 100644 --- a/crates/libs/sys/src/Windows/Win32/Security/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Security/mod.rs @@ -1495,7 +1495,7 @@ impl ::core::clone::Clone for TOKEN_PRIVILEGES { } #[repr(C)] pub struct TOKEN_SOURCE { - pub SourceName: [u8; 8], + pub SourceName: [i8; 8], pub SourceIdentifier: super::Foundation::LUID, } impl ::core::marker::Copy for TOKEN_SOURCE {} diff --git a/crates/libs/sys/src/Windows/Win32/Storage/Cabinets/mod.rs b/crates/libs/sys/src/Windows/Win32/Storage/Cabinets/mod.rs index b8f40def12..cd8612ab88 100644 --- a/crates/libs/sys/src/Windows/Win32/Storage/Cabinets/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Storage/Cabinets/mod.rs @@ -91,9 +91,9 @@ pub struct CCAB { pub iDisk: i32, pub fFailOnIncompressible: i32, pub setID: u16, - pub szDisk: [u8; 256], - pub szCab: [u8; 256], - pub szCabPath: [u8; 256], + pub szDisk: [i8; 256], + pub szCab: [i8; 256], + pub szCabPath: [i8; 256], } impl ::core::marker::Copy for CCAB {} impl ::core::clone::Clone for CCAB { @@ -219,7 +219,7 @@ impl ::core::clone::Clone for FDINOTIFICATION { #[repr(C)] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] pub struct FDISPILLFILE { - pub ach: [u8; 2], + pub ach: [i8; 2], pub cbFile: i32, } #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] @@ -233,7 +233,7 @@ impl ::core::clone::Clone for FDISPILLFILE { #[repr(C, packed(1))] #[cfg(target_arch = "x86")] pub struct FDISPILLFILE { - pub ach: [u8; 2], + pub ach: [i8; 2], pub cbFile: i32, } #[cfg(target_arch = "x86")] diff --git a/crates/libs/sys/src/Windows/Win32/Storage/FileSystem/mod.rs b/crates/libs/sys/src/Windows/Win32/Storage/FileSystem/mod.rs index ccfee62b7c..9a57c97d4d 100644 --- a/crates/libs/sys/src/Windows/Win32/Storage/FileSystem/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Storage/FileSystem/mod.rs @@ -3060,9 +3060,9 @@ impl ::core::clone::Clone for NTMS_ASYNC_IO { pub struct NTMS_CHANGERINFORMATIONA { pub Number: u32, pub ChangerType: ::windows_sys::core::GUID, - pub szSerialNumber: [u8; 32], - pub szRevision: [u8; 32], - pub szDeviceName: [u8; 64], + pub szSerialNumber: [i8; 32], + pub szRevision: [i8; 32], + pub szDeviceName: [i8; 64], pub ScsiPort: u16, pub ScsiBus: u16, pub ScsiTarget: u16, @@ -3096,8 +3096,8 @@ impl ::core::clone::Clone for NTMS_CHANGERINFORMATIONW { } #[repr(C)] pub struct NTMS_CHANGERTYPEINFORMATIONA { - pub szVendor: [u8; 128], - pub szProduct: [u8; 128], + pub szVendor: [i8; 128], + pub szProduct: [i8; 128], pub DeviceType: u32, } impl ::core::marker::Copy for NTMS_CHANGERTYPEINFORMATIONA {} @@ -3137,9 +3137,9 @@ pub struct NTMS_DRIVEINFORMATIONA { pub Number: u32, pub State: u32, pub DriveType: ::windows_sys::core::GUID, - pub szDeviceName: [u8; 64], - pub szSerialNumber: [u8; 32], - pub szRevision: [u8; 32], + pub szDeviceName: [i8; 64], + pub szSerialNumber: [i8; 32], + pub szRevision: [i8; 32], pub ScsiPort: u16, pub ScsiBus: u16, pub ScsiTarget: u16, @@ -3184,8 +3184,8 @@ impl ::core::clone::Clone for NTMS_DRIVEINFORMATIONW { } #[repr(C)] pub struct NTMS_DRIVETYPEINFORMATIONA { - pub szVendor: [u8; 128], - pub szProduct: [u8; 128], + pub szVendor: [i8; 128], + pub szProduct: [i8; 128], pub NumberOfHeads: u32, pub DeviceType: FILE_DEVICE_TYPE, } @@ -3262,9 +3262,9 @@ pub struct NTMS_I1_LIBREQUESTINFORMATIONA { pub SlotId: ::windows_sys::core::GUID, pub TimeQueued: super::super::Foundation::SYSTEMTIME, pub TimeCompleted: super::super::Foundation::SYSTEMTIME, - pub szApplication: [u8; 64], - pub szUser: [u8; 64], - pub szComputer: [u8; 64], + pub szApplication: [i8; 64], + pub szUser: [i8; 64], + pub szComputer: [i8; 64], } impl ::core::marker::Copy for NTMS_I1_LIBREQUESTINFORMATIONA {} impl ::core::clone::Clone for NTMS_I1_LIBREQUESTINFORMATIONA { @@ -3303,8 +3303,8 @@ pub struct NTMS_I1_OBJECTINFORMATIONA { pub ObjectGuid: ::windows_sys::core::GUID, pub Enabled: super::super::Foundation::BOOL, pub dwOperationalState: u32, - pub szName: [u8; 64], - pub szDescription: [u8; 127], + pub szName: [i8; 64], + pub szDescription: [i8; 127], pub Info: NTMS_I1_OBJECTINFORMATIONA_0, } impl ::core::marker::Copy for NTMS_I1_OBJECTINFORMATIONA {} @@ -3385,14 +3385,14 @@ pub struct NTMS_I1_OPREQUESTINFORMATIONA { pub Request: u32, pub Submitted: super::super::Foundation::SYSTEMTIME, pub State: u32, - pub szMessage: [u8; 127], + pub szMessage: [i8; 127], pub Arg1Type: u32, pub Arg1: ::windows_sys::core::GUID, pub Arg2Type: u32, pub Arg2: ::windows_sys::core::GUID, - pub szApplication: [u8; 64], - pub szUser: [u8; 64], - pub szComputer: [u8; 64], + pub szApplication: [i8; 64], + pub szUser: [i8; 64], + pub szComputer: [i8; 64], } impl ::core::marker::Copy for NTMS_I1_OPREQUESTINFORMATIONA {} impl ::core::clone::Clone for NTMS_I1_OPREQUESTINFORMATIONA { @@ -3428,8 +3428,8 @@ pub struct NTMS_I1_PARTITIONINFORMATIONA { pub Side: u16, pub dwOmidLabelIdLength: u32, pub OmidLabelId: [u8; 255], - pub szOmidLabelType: [u8; 64], - pub szOmidLabelInfo: [u8; 256], + pub szOmidLabelType: [i8; 64], + pub szOmidLabelInfo: [i8; 256], pub dwMountCount: u32, pub dwAllocateCount: u32, } @@ -3466,9 +3466,9 @@ pub struct NTMS_I1_PMIDINFORMATIONA { pub LocationType: u32, pub MediaType: ::windows_sys::core::GUID, pub HomeSlot: ::windows_sys::core::GUID, - pub szBarCode: [u8; 64], + pub szBarCode: [i8; 64], pub BarCodeState: u32, - pub szSequenceNumber: [u8; 32], + pub szSequenceNumber: [i8; 32], pub MediaState: u32, pub dwNumberOfPartitions: u32, } @@ -3569,9 +3569,9 @@ pub struct NTMS_LIBREQUESTINFORMATIONA { pub SlotId: ::windows_sys::core::GUID, pub TimeQueued: super::super::Foundation::SYSTEMTIME, pub TimeCompleted: super::super::Foundation::SYSTEMTIME, - pub szApplication: [u8; 64], - pub szUser: [u8; 64], - pub szComputer: [u8; 64], + pub szApplication: [i8; 64], + pub szUser: [i8; 64], + pub szComputer: [i8; 64], pub dwErrorCode: u32, pub WorkItemId: ::windows_sys::core::GUID, pub dwPriority: u32, @@ -3680,8 +3680,8 @@ pub struct NTMS_OBJECTINFORMATIONA { pub ObjectGuid: ::windows_sys::core::GUID, pub Enabled: super::super::Foundation::BOOL, pub dwOperationalState: u32, - pub szName: [u8; 64], - pub szDescription: [u8; 127], + pub szName: [i8; 64], + pub szDescription: [i8; 127], pub Info: NTMS_OBJECTINFORMATIONA_0, } impl ::core::marker::Copy for NTMS_OBJECTINFORMATIONA {} @@ -3764,14 +3764,14 @@ pub struct NTMS_OPREQUESTINFORMATIONA { pub Request: u32, pub Submitted: super::super::Foundation::SYSTEMTIME, pub State: u32, - pub szMessage: [u8; 256], + pub szMessage: [i8; 256], pub Arg1Type: u32, pub Arg1: ::windows_sys::core::GUID, pub Arg2Type: u32, pub Arg2: ::windows_sys::core::GUID, - pub szApplication: [u8; 64], - pub szUser: [u8; 64], - pub szComputer: [u8; 64], + pub szApplication: [i8; 64], + pub szUser: [i8; 64], + pub szComputer: [i8; 64], } impl ::core::marker::Copy for NTMS_OPREQUESTINFORMATIONA {} impl ::core::clone::Clone for NTMS_OPREQUESTINFORMATIONA { @@ -3807,8 +3807,8 @@ pub struct NTMS_PARTITIONINFORMATIONA { pub Side: u16, pub dwOmidLabelIdLength: u32, pub OmidLabelId: [u8; 255], - pub szOmidLabelType: [u8; 64], - pub szOmidLabelInfo: [u8; 256], + pub szOmidLabelType: [i8; 64], + pub szOmidLabelInfo: [i8; 256], pub dwMountCount: u32, pub dwAllocateCount: u32, pub Capacity: i64, @@ -3847,9 +3847,9 @@ pub struct NTMS_PMIDINFORMATIONA { pub LocationType: u32, pub MediaType: ::windows_sys::core::GUID, pub HomeSlot: ::windows_sys::core::GUID, - pub szBarCode: [u8; 64], + pub szBarCode: [i8; 64], pub BarCodeState: u32, - pub szSequenceNumber: [u8; 32], + pub szSequenceNumber: [i8; 32], pub MediaState: u32, pub dwNumberOfPartitions: u32, pub dwMediaTypeCode: u32, @@ -3904,7 +3904,7 @@ pub struct OFSTRUCT { pub nErrCode: u16, pub Reserved1: u16, pub Reserved2: u16, - pub szPathName: [u8; 128], + pub szPathName: [i8; 128], } impl ::core::marker::Copy for OFSTRUCT {} impl ::core::clone::Clone for OFSTRUCT { @@ -4745,8 +4745,8 @@ pub struct WIN32_FIND_DATAA { pub nFileSizeLow: u32, pub dwReserved0: u32, pub dwReserved1: u32, - pub cFileName: [u8; 260], - pub cAlternateFileName: [u8; 14], + pub cFileName: [i8; 260], + pub cAlternateFileName: [i8; 14], } impl ::core::marker::Copy for WIN32_FIND_DATAA {} impl ::core::clone::Clone for WIN32_FIND_DATAA { diff --git a/crates/libs/sys/src/Windows/Win32/Storage/IscsiDisc/mod.rs b/crates/libs/sys/src/Windows/Win32/Storage/IscsiDisc/mod.rs index d6b993f115..044387b0d8 100644 --- a/crates/libs/sys/src/Windows/Win32/Storage/IscsiDisc/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Storage/IscsiDisc/mod.rs @@ -728,12 +728,12 @@ impl ::core::clone::Clone for ISCSI_CONNECTION_INFO_EX { #[doc = "Required features: `\"Win32_System_Ioctl\"`"] #[cfg(feature = "Win32_System_Ioctl")] pub struct ISCSI_DEVICE_ON_SESSIONA { - pub InitiatorName: [u8; 256], - pub TargetName: [u8; 224], + pub InitiatorName: [i8; 256], + pub TargetName: [i8; 224], pub ScsiAddress: SCSI_ADDRESS, pub DeviceInterfaceType: ::windows_sys::core::GUID, - pub DeviceInterfaceName: [u8; 260], - pub LegacyName: [u8; 260], + pub DeviceInterfaceName: [i8; 260], + pub LegacyName: [i8; 260], pub StorageDeviceNumber: super::super::System::Ioctl::STORAGE_DEVICE_NUMBER, pub DeviceInstance: u32, } @@ -846,9 +846,9 @@ impl ::core::clone::Clone for ISCSI_SESSION_INFO_EX { } #[repr(C)] pub struct ISCSI_TARGET_MAPPINGA { - pub InitiatorName: [u8; 256], - pub TargetName: [u8; 224], - pub OSDeviceName: [u8; 260], + pub InitiatorName: [i8; 256], + pub TargetName: [i8; 224], + pub OSDeviceName: [i8; 260], pub SessionId: ISCSI_UNIQUE_SESSION_ID, pub OSBusNumber: u32, pub OSTargetNumber: u32, @@ -880,8 +880,8 @@ impl ::core::clone::Clone for ISCSI_TARGET_MAPPINGW { } #[repr(C)] pub struct ISCSI_TARGET_PORTALA { - pub SymbolicName: [u8; 256], - pub Address: [u8; 256], + pub SymbolicName: [i8; 256], + pub Address: [i8; 256], pub Socket: u16, } impl ::core::marker::Copy for ISCSI_TARGET_PORTALA {} @@ -926,10 +926,10 @@ impl ::core::clone::Clone for ISCSI_TARGET_PORTAL_GROUPW { } #[repr(C)] pub struct ISCSI_TARGET_PORTAL_INFOA { - pub InitiatorName: [u8; 256], + pub InitiatorName: [i8; 256], pub InitiatorPortNumber: u32, - pub SymbolicName: [u8; 256], - pub Address: [u8; 256], + pub SymbolicName: [i8; 256], + pub Address: [i8; 256], pub Socket: u16, } impl ::core::marker::Copy for ISCSI_TARGET_PORTAL_INFOA {} @@ -954,10 +954,10 @@ impl ::core::clone::Clone for ISCSI_TARGET_PORTAL_INFOW { } #[repr(C)] pub struct ISCSI_TARGET_PORTAL_INFO_EXA { - pub InitiatorName: [u8; 256], + pub InitiatorName: [i8; 256], pub InitiatorPortNumber: u32, - pub SymbolicName: [u8; 256], - pub Address: [u8; 256], + pub SymbolicName: [i8; 256], + pub Address: [i8; 256], pub Socket: u16, pub SecurityFlags: u64, pub LoginOptions: ISCSI_LOGIN_OPTIONS, @@ -1275,9 +1275,9 @@ impl ::core::clone::Clone for NV_SEP_CACHE_PARAMETER_0_0 { } #[repr(C)] pub struct PERSISTENT_ISCSI_LOGIN_INFOA { - pub TargetName: [u8; 224], + pub TargetName: [i8; 224], pub IsInformationalSession: super::super::Foundation::BOOLEAN, - pub InitiatorInstance: [u8; 256], + pub InitiatorInstance: [i8; 256], pub InitiatorPortNumber: u32, pub TargetPortal: ISCSI_TARGET_PORTALA, pub SecurityFlags: u64, diff --git a/crates/libs/sys/src/Windows/Win32/Storage/Jet/mod.rs b/crates/libs/sys/src/Windows/Win32/Storage/Jet/mod.rs index 381caa5864..b50c18dddd 100644 --- a/crates/libs/sys/src/Windows/Win32/Storage/Jet/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Storage/Jet/mod.rs @@ -1443,12 +1443,12 @@ impl ::core::clone::Clone for JET_BKINFO_0 { } #[repr(C)] pub struct JET_BKLOGTIME { - pub bSeconds: u8, - pub bMinutes: u8, - pub bHours: u8, - pub bDay: u8, - pub bMonth: u8, - pub bYear: u8, + pub bSeconds: i8, + pub bMinutes: i8, + pub bHours: i8, + pub bDay: i8, + pub bMonth: i8, + pub bYear: i8, pub Anonymous1: JET_BKLOGTIME_0, pub Anonymous2: JET_BKLOGTIME_1, } @@ -1460,7 +1460,7 @@ impl ::core::clone::Clone for JET_BKLOGTIME { } #[repr(C)] pub union JET_BKLOGTIME_0 { - pub bFiller1: u8, + pub bFiller1: i8, pub Anonymous: JET_BKLOGTIME_0_0, } impl ::core::marker::Copy for JET_BKLOGTIME_0 {} @@ -1481,7 +1481,7 @@ impl ::core::clone::Clone for JET_BKLOGTIME_0_0 { } #[repr(C)] pub union JET_BKLOGTIME_1 { - pub bFiller2: u8, + pub bFiller2: i8, pub Anonymous: JET_BKLOGTIME_1_0, } impl ::core::marker::Copy for JET_BKLOGTIME_1 {} @@ -1511,8 +1511,8 @@ pub struct JET_COLUMNBASE_A { pub wFiller: u16, pub cbMax: u32, pub grbit: u32, - pub szBaseTableName: [u8; 256], - pub szBaseColumnName: [u8; 256], + pub szBaseTableName: [i8; 256], + pub szBaseColumnName: [i8; 256], } impl ::core::marker::Copy for JET_COLUMNBASE_A {} impl ::core::clone::Clone for JET_COLUMNBASE_A { @@ -2433,7 +2433,7 @@ pub struct JET_LOGINFO_A { pub cbSize: u32, pub ulGenLow: u32, pub ulGenHigh: u32, - pub szBaseName: [u8; 4], + pub szBaseName: [i8; 4], } impl ::core::marker::Copy for JET_LOGINFO_A {} impl ::core::clone::Clone for JET_LOGINFO_A { @@ -2456,12 +2456,12 @@ impl ::core::clone::Clone for JET_LOGINFO_W { } #[repr(C)] pub struct JET_LOGTIME { - pub bSeconds: u8, - pub bMinutes: u8, - pub bHours: u8, - pub bDay: u8, - pub bMonth: u8, - pub bYear: u8, + pub bSeconds: i8, + pub bMinutes: i8, + pub bHours: i8, + pub bDay: i8, + pub bMonth: i8, + pub bYear: i8, pub Anonymous1: JET_LOGTIME_0, pub Anonymous2: JET_LOGTIME_1, } @@ -2473,7 +2473,7 @@ impl ::core::clone::Clone for JET_LOGTIME { } #[repr(C)] pub union JET_LOGTIME_0 { - pub bFiller1: u8, + pub bFiller1: i8, pub Anonymous: JET_LOGTIME_0_0, } impl ::core::marker::Copy for JET_LOGTIME_0 {} @@ -2494,7 +2494,7 @@ impl ::core::clone::Clone for JET_LOGTIME_0_0 { } #[repr(C)] pub union JET_LOGTIME_1 { - pub bFiller2: u8, + pub bFiller2: i8, pub Anonymous: JET_LOGTIME_1_0, } impl ::core::marker::Copy for JET_LOGTIME_1 {} @@ -2947,7 +2947,7 @@ impl ::core::clone::Clone for JET_SETSYSPARAM_W { pub struct JET_SIGNATURE { pub ulRandom: u32, pub logtimeCreate: JET_LOGTIME, - pub szComputerName: [u8; 16], + pub szComputerName: [i8; 16], } impl ::core::marker::Copy for JET_SIGNATURE {} impl ::core::clone::Clone for JET_SIGNATURE { diff --git a/crates/libs/sys/src/Windows/Win32/Storage/Nvme/mod.rs b/crates/libs/sys/src/Windows/Win32/Storage/Nvme/mod.rs index b22b594b84..e9152cef18 100644 --- a/crates/libs/sys/src/Windows/Win32/Storage/Nvme/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/Storage/Nvme/mod.rs @@ -4913,10 +4913,10 @@ impl ::core::clone::Clone for NVME_SANITIZE_STATUS_LOG { } #[repr(C)] pub struct NVME_SCSI_NAME_STRING { - pub PCIVendorID: [u8; 4], - pub ModelNumber: [u8; 40], - pub NamespaceID: [u8; 4], - pub SerialNumber: [u8; 20], + pub PCIVendorID: [i8; 4], + pub ModelNumber: [i8; 40], + pub NamespaceID: [i8; 4], + pub SerialNumber: [i8; 20], } impl ::core::marker::Copy for NVME_SCSI_NAME_STRING {} impl ::core::clone::Clone for NVME_SCSI_NAME_STRING { diff --git a/crates/libs/sys/src/Windows/Win32/System/Com/StructuredStorage/mod.rs b/crates/libs/sys/src/Windows/Win32/System/Com/StructuredStorage/mod.rs index bbb6db1ab0..227b3c7980 100644 --- a/crates/libs/sys/src/Windows/Win32/System/Com/StructuredStorage/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/Com/StructuredStorage/mod.rs @@ -720,7 +720,7 @@ impl ::core::clone::Clone for PROPVARIANT_0_0 { #[doc = "Required features: `\"Win32_System_Variant\"`"] #[cfg(feature = "Win32_System_Variant")] pub union PROPVARIANT_0_0_0 { - pub cVal: u8, + pub cVal: i8, pub bVal: u8, pub iVal: i16, pub uiVal: u16, diff --git a/crates/libs/sys/src/Windows/Win32/System/Console/mod.rs b/crates/libs/sys/src/Windows/Win32/System/Console/mod.rs index 06a1ea9d28..2a31eea884 100644 --- a/crates/libs/sys/src/Windows/Win32/System/Console/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/Console/mod.rs @@ -9,7 +9,7 @@ ::windows_targets::link!("kernel32.dll" "system" fn ExpungeConsoleCommandHistoryA(exename : ::windows_sys::core::PCSTR)); ::windows_targets::link!("kernel32.dll" "system" fn ExpungeConsoleCommandHistoryW(exename : ::windows_sys::core::PCWSTR)); ::windows_targets::link!("kernel32.dll" "system" fn FillConsoleOutputAttribute(hconsoleoutput : super::super::Foundation:: HANDLE, wattribute : u16, nlength : u32, dwwritecoord : COORD, lpnumberofattrswritten : *mut u32) -> super::super::Foundation:: BOOL); -::windows_targets::link!("kernel32.dll" "system" fn FillConsoleOutputCharacterA(hconsoleoutput : super::super::Foundation:: HANDLE, ccharacter : u8, nlength : u32, dwwritecoord : COORD, lpnumberofcharswritten : *mut u32) -> super::super::Foundation:: BOOL); +::windows_targets::link!("kernel32.dll" "system" fn FillConsoleOutputCharacterA(hconsoleoutput : super::super::Foundation:: HANDLE, ccharacter : i8, nlength : u32, dwwritecoord : COORD, lpnumberofcharswritten : *mut u32) -> super::super::Foundation:: BOOL); ::windows_targets::link!("kernel32.dll" "system" fn FillConsoleOutputCharacterW(hconsoleoutput : super::super::Foundation:: HANDLE, ccharacter : u16, nlength : u32, dwwritecoord : COORD, lpnumberofcharswritten : *mut u32) -> super::super::Foundation:: BOOL); ::windows_targets::link!("kernel32.dll" "system" fn FlushConsoleInputBuffer(hconsoleinput : super::super::Foundation:: HANDLE) -> super::super::Foundation:: BOOL); ::windows_targets::link!("kernel32.dll" "system" fn FreeConsole() -> super::super::Foundation:: BOOL); @@ -193,7 +193,7 @@ impl ::core::clone::Clone for CHAR_INFO { #[repr(C)] pub union CHAR_INFO_0 { pub UnicodeChar: u16, - pub AsciiChar: u8, + pub AsciiChar: i8, } impl ::core::marker::Copy for CHAR_INFO_0 {} impl ::core::clone::Clone for CHAR_INFO_0 { @@ -373,7 +373,7 @@ impl ::core::clone::Clone for KEY_EVENT_RECORD { #[repr(C)] pub union KEY_EVENT_RECORD_0 { pub UnicodeChar: u16, - pub AsciiChar: u8, + pub AsciiChar: i8, } impl ::core::marker::Copy for KEY_EVENT_RECORD_0 {} impl ::core::clone::Clone for KEY_EVENT_RECORD_0 { diff --git a/crates/libs/sys/src/Windows/Win32/System/CorrelationVector/mod.rs b/crates/libs/sys/src/Windows/Win32/System/CorrelationVector/mod.rs index 955032df8c..83a1e6ad82 100644 --- a/crates/libs/sys/src/Windows/Win32/System/CorrelationVector/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/CorrelationVector/mod.rs @@ -9,8 +9,8 @@ pub const RTL_CORRELATION_VECTOR_V2_LENGTH: u32 = 128u32; pub const RTL_CORRELATION_VECTOR_V2_PREFIX_LENGTH: u32 = 22u32; #[repr(C)] pub struct CORRELATION_VECTOR { - pub Version: u8, - pub Vector: [u8; 129], + pub Version: i8, + pub Vector: [i8; 129], } impl ::core::marker::Copy for CORRELATION_VECTOR {} impl ::core::clone::Clone for CORRELATION_VECTOR { diff --git a/crates/libs/sys/src/Windows/Win32/System/DataExchange/mod.rs b/crates/libs/sys/src/Windows/Win32/System/DataExchange/mod.rs index 6ce0d2fb34..0f34bd677b 100644 --- a/crates/libs/sys/src/Windows/Win32/System/DataExchange/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/DataExchange/mod.rs @@ -471,7 +471,7 @@ pub struct MONHSZSTRUCTA { pub dwTime: u32, pub hsz: HSZ, pub hTask: super::super::Foundation::HANDLE, - pub str: [u8; 1], + pub str: [i8; 1], } impl ::core::marker::Copy for MONHSZSTRUCTA {} impl ::core::clone::Clone for MONHSZSTRUCTA { diff --git a/crates/libs/sys/src/Windows/Win32/System/Diagnostics/Debug/Extensions/mod.rs b/crates/libs/sys/src/Windows/Win32/System/Diagnostics/Debug/Extensions/mod.rs index 1afae6935d..a6cd409eab 100644 --- a/crates/libs/sys/src/Windows/Win32/System/Diagnostics/Debug/Extensions/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/Diagnostics/Debug/Extensions/mod.rs @@ -2233,8 +2233,8 @@ pub struct DBG_THREAD_ATTRIBUTES { pub BlockedOnTID: u64, pub CritSecAddress: u64, pub Timeout_msec: u32, - pub StringData: [u8; 100], - pub SymName: [u8; 100], + pub StringData: [i8; 100], + pub SymName: [i8; 100], } impl ::core::marker::Copy for DBG_THREAD_ATTRIBUTES {} impl ::core::clone::Clone for DBG_THREAD_ATTRIBUTES { @@ -2254,11 +2254,11 @@ pub struct DEBUG_ANALYSIS_PROCESSOR_INFO { pub CurrentVoltage: u32, pub MaxClockSpeed: u32, pub ProcessorType: u32, - pub DeviceID: [u8; 32], - pub Manufacturer: [u8; 64], - pub Name: [u8; 64], - pub Version: [u8; 64], - pub Description: [u8; 64], + pub DeviceID: [i8; 32], + pub Manufacturer: [i8; 64], + pub Name: [i8; 64], + pub Version: [i8; 64], + pub Description: [i8; 64], } impl ::core::marker::Copy for DEBUG_ANALYSIS_PROCESSOR_INFO {} impl ::core::clone::Clone for DEBUG_ANALYSIS_PROCESSOR_INFO { @@ -2359,8 +2359,8 @@ pub struct DEBUG_DECODE_ERROR { pub SizeOfStruct: u32, pub Code: u32, pub TreatAsStatus: super::super::super::super::Foundation::BOOL, - pub Source: [u8; 64], - pub Message: [u8; 260], + pub Source: [i8; 64], + pub Message: [i8; 260], } impl ::core::marker::Copy for DEBUG_DECODE_ERROR {} impl ::core::clone::Clone for DEBUG_DECODE_ERROR { @@ -2666,9 +2666,9 @@ impl ::core::clone::Clone for DEBUG_PNP_TRIAGE_INFO { pub struct DEBUG_POOLTAG_DESCRIPTION { pub SizeOfStruct: u32, pub PoolTag: u32, - pub Description: [u8; 260], - pub Binary: [u8; 32], - pub Owner: [u8; 32], + pub Description: [i8; 260], + pub Binary: [i8; 32], + pub Owner: [i8; 32], } impl ::core::marker::Copy for DEBUG_POOLTAG_DESCRIPTION {} impl ::core::clone::Clone for DEBUG_POOLTAG_DESCRIPTION { @@ -2687,7 +2687,7 @@ pub struct DEBUG_POOL_DATA { pub ProcessBilled: u64, pub Anonymous: DEBUG_POOL_DATA_0, pub Reserved2: [u64; 4], - pub PoolTagDescription: [u8; 64], + pub PoolTagDescription: [i8; 64], } impl ::core::marker::Copy for DEBUG_POOL_DATA {} impl ::core::clone::Clone for DEBUG_POOL_DATA { @@ -2747,7 +2747,7 @@ pub struct DEBUG_PROCESSOR_IDENTIFICATION_AMD64 { pub Family: u32, pub Model: u32, pub Stepping: u32, - pub VendorString: [u8; 16], + pub VendorString: [i8; 16], } impl ::core::marker::Copy for DEBUG_PROCESSOR_IDENTIFICATION_AMD64 {} impl ::core::clone::Clone for DEBUG_PROCESSOR_IDENTIFICATION_AMD64 { @@ -2759,7 +2759,7 @@ impl ::core::clone::Clone for DEBUG_PROCESSOR_IDENTIFICATION_AMD64 { pub struct DEBUG_PROCESSOR_IDENTIFICATION_ARM { pub Model: u32, pub Revision: u32, - pub VendorString: [u8; 16], + pub VendorString: [i8; 16], } impl ::core::marker::Copy for DEBUG_PROCESSOR_IDENTIFICATION_ARM {} impl ::core::clone::Clone for DEBUG_PROCESSOR_IDENTIFICATION_ARM { @@ -2771,7 +2771,7 @@ impl ::core::clone::Clone for DEBUG_PROCESSOR_IDENTIFICATION_ARM { pub struct DEBUG_PROCESSOR_IDENTIFICATION_ARM64 { pub Model: u32, pub Revision: u32, - pub VendorString: [u8; 16], + pub VendorString: [i8; 16], } impl ::core::marker::Copy for DEBUG_PROCESSOR_IDENTIFICATION_ARM64 {} impl ::core::clone::Clone for DEBUG_PROCESSOR_IDENTIFICATION_ARM64 { @@ -2785,7 +2785,7 @@ pub struct DEBUG_PROCESSOR_IDENTIFICATION_IA64 { pub Revision: u32, pub Family: u32, pub ArchRev: u32, - pub VendorString: [u8; 16], + pub VendorString: [i8; 16], } impl ::core::marker::Copy for DEBUG_PROCESSOR_IDENTIFICATION_IA64 {} impl ::core::clone::Clone for DEBUG_PROCESSOR_IDENTIFICATION_IA64 { @@ -2798,7 +2798,7 @@ pub struct DEBUG_PROCESSOR_IDENTIFICATION_X86 { pub Family: u32, pub Model: u32, pub Stepping: u32, - pub VendorString: [u8; 16], + pub VendorString: [i8; 16], } impl ::core::marker::Copy for DEBUG_PROCESSOR_IDENTIFICATION_X86 {} impl ::core::clone::Clone for DEBUG_PROCESSOR_IDENTIFICATION_X86 { @@ -2848,17 +2848,17 @@ pub struct DEBUG_SMBIOS_INFO { pub BiosMinorRelease: u8, pub FirmwareMajorRelease: u8, pub FirmwareMinorRelease: u8, - pub BaseBoardManufacturer: [u8; 64], - pub BaseBoardProduct: [u8; 64], - pub BaseBoardVersion: [u8; 64], - pub BiosReleaseDate: [u8; 64], - pub BiosVendor: [u8; 64], - pub BiosVersion: [u8; 64], - pub SystemFamily: [u8; 64], - pub SystemManufacturer: [u8; 64], - pub SystemProductName: [u8; 64], - pub SystemSKU: [u8; 64], - pub SystemVersion: [u8; 64], + pub BaseBoardManufacturer: [i8; 64], + pub BaseBoardProduct: [i8; 64], + pub BaseBoardVersion: [i8; 64], + pub BiosReleaseDate: [i8; 64], + pub BiosVendor: [i8; 64], + pub BiosVersion: [i8; 64], + pub SystemFamily: [i8; 64], + pub SystemManufacturer: [i8; 64], + pub SystemProductName: [i8; 64], + pub SystemSKU: [i8; 64], + pub SystemVersion: [i8; 64], } impl ::core::marker::Copy for DEBUG_SMBIOS_INFO {} impl ::core::clone::Clone for DEBUG_SMBIOS_INFO { @@ -3801,7 +3801,7 @@ pub struct KDEXT_FILELOCK_OWNER { pub OwnerThread: u64, pub WaitIrp: u64, pub DeviceObject: u64, - pub BlockingDirver: [u8; 32], + pub BlockingDirver: [i8; 32], } impl ::core::marker::Copy for KDEXT_FILELOCK_OWNER {} impl ::core::clone::Clone for KDEXT_FILELOCK_OWNER { @@ -3876,11 +3876,11 @@ pub struct OS_INFO { pub ServicePackBuild: u32, pub Architecture: u32, pub Lcid: u32, - pub Name: [u8; 64], - pub FullName: [u8; 256], - pub Language: [u8; 30], - pub BuildVersion: [u8; 64], - pub ServicePackString: [u8; 64], + pub Name: [i8; 64], + pub FullName: [i8; 256], + pub Language: [i8; 30], + pub BuildVersion: [i8; 64], + pub ServicePackString: [i8; 64], } impl ::core::marker::Copy for OS_INFO {} impl ::core::clone::Clone for OS_INFO { @@ -3906,9 +3906,9 @@ pub struct OS_INFO_v1 { pub Suite: u32, pub s: OS_INFO_v1_1, pub SrvPackNumber: u32, - pub Language: [u8; 30], - pub OsString: [u8; 64], - pub ServicePackString: [u8; 64], + pub Language: [i8; 30], + pub OsString: [i8; 64], + pub ServicePackString: [i8; 64], } impl ::core::marker::Copy for OS_INFO_v1 {} impl ::core::clone::Clone for OS_INFO_v1 { @@ -4246,7 +4246,7 @@ pub struct TARGET_DEBUG_INFO { pub CrashTime: u64, pub OsInfo: OS_INFO, pub Cpu: CPU_INFO, - pub DumpFile: [u8; 260], + pub DumpFile: [i8; 260], } impl ::core::marker::Copy for TARGET_DEBUG_INFO {} impl ::core::clone::Clone for TARGET_DEBUG_INFO { @@ -4266,9 +4266,9 @@ pub struct TARGET_DEBUG_INFO_v1 { pub Mode: u64, pub OsInfo: OS_INFO_v1, pub Cpu: CPU_INFO_v1, - pub DumpFile: [u8; 260], + pub DumpFile: [i8; 260], pub FailureData: *mut ::core::ffi::c_void, - pub StackTr: [u8; 4096], + pub StackTr: [i8; 4096], } impl ::core::marker::Copy for TARGET_DEBUG_INFO_v1 {} impl ::core::clone::Clone for TARGET_DEBUG_INFO_v1 { @@ -4286,7 +4286,7 @@ pub struct TARGET_DEBUG_INFO_v2 { pub CrashTime: u64, pub OsInfo: OS_INFO, pub Cpu: CPU_INFO_v2, - pub DumpFile: [u8; 260], + pub DumpFile: [i8; 260], } impl ::core::marker::Copy for TARGET_DEBUG_INFO_v2 {} impl ::core::clone::Clone for TARGET_DEBUG_INFO_v2 { @@ -4502,14 +4502,14 @@ impl ::core::clone::Clone for WINDBG_OLD_EXTENSION_APIS { } #[repr(C)] pub struct XML_DRIVER_NODE_INFO { - pub FileName: [u8; 64], + pub FileName: [i8; 64], pub FileSize: u64, pub CreationDate: u64, - pub Version: [u8; 64], - pub Manufacturer: [u8; 260], - pub ProductName: [u8; 260], - pub Group: [u8; 260], - pub Altitude: [u8; 260], + pub Version: [i8; 64], + pub Manufacturer: [i8; 260], + pub ProductName: [i8; 260], + pub Group: [i8; 260], + pub Altitude: [i8; 260], } impl ::core::marker::Copy for XML_DRIVER_NODE_INFO {} impl ::core::clone::Clone for XML_DRIVER_NODE_INFO { diff --git a/crates/libs/sys/src/Windows/Win32/System/Diagnostics/Debug/mod.rs b/crates/libs/sys/src/Windows/Win32/System/Diagnostics/Debug/mod.rs index eabdf5cdb2..001a00e6a9 100644 --- a/crates/libs/sys/src/Windows/Win32/System/Diagnostics/Debug/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/Diagnostics/Debug/mod.rs @@ -2819,7 +2819,7 @@ pub struct DUMP_HEADER32 { pub BugCheckParameter2: u32, pub BugCheckParameter3: u32, pub BugCheckParameter4: u32, - pub VersionUser: [u8; 32], + pub VersionUser: [i8; 32], pub PaeEnabled: u8, pub KdSecondaryVersion: u8, pub Spare3: [u8; 2], @@ -2827,7 +2827,7 @@ pub struct DUMP_HEADER32 { pub Anonymous: DUMP_HEADER32_0, pub ContextRecord: [u8; 1200], pub Exception: EXCEPTION_RECORD32, - pub Comment: [u8; 128], + pub Comment: [i8; 128], pub Attributes: DUMP_FILE_ATTRIBUTES, pub BootId: u32, pub _reserved0: [u8; 1760], @@ -2877,7 +2877,7 @@ pub struct DUMP_HEADER64 { pub BugCheckParameter2: u64, pub BugCheckParameter3: u64, pub BugCheckParameter4: u64, - pub VersionUser: [u8; 32], + pub VersionUser: [i8; 32], pub KdDebuggerDataBlock: u64, pub Anonymous: DUMP_HEADER64_0, pub ContextRecord: [u8; 3000], @@ -2885,7 +2885,7 @@ pub struct DUMP_HEADER64 { pub DumpType: u32, pub RequiredDumpSpace: i64, pub SystemTime: i64, - pub Comment: [u8; 128], + pub Comment: [i8; 128], pub SystemUpTime: i64, pub MiniDumpFields: u32, pub SecondaryDataState: u32, @@ -3109,7 +3109,7 @@ pub struct IMAGEHLP_DEFERRED_SYMBOL_LOAD { pub BaseOfImage: u32, pub CheckSum: u32, pub TimeDateStamp: u32, - pub FileName: [u8; 260], + pub FileName: [i8; 260], pub Reparse: super::super::super::Foundation::BOOLEAN, pub hFile: super::super::super::Foundation::HANDLE, } @@ -3127,7 +3127,7 @@ pub struct IMAGEHLP_DEFERRED_SYMBOL_LOAD64 { pub BaseOfImage: u64, pub CheckSum: u32, pub TimeDateStamp: u32, - pub FileName: [u8; 260], + pub FileName: [i8; 260], pub Reparse: super::super::super::Foundation::BOOLEAN, pub hFile: super::super::super::Foundation::HANDLE, pub Flags: u32, @@ -3295,9 +3295,9 @@ pub struct IMAGEHLP_MODULE { pub CheckSum: u32, pub NumSyms: u32, pub SymType: SYM_TYPE, - pub ModuleName: [u8; 32], - pub ImageName: [u8; 256], - pub LoadedImageName: [u8; 256], + pub ModuleName: [i8; 32], + pub ImageName: [i8; 256], + pub LoadedImageName: [i8; 256], } #[cfg(target_arch = "x86")] impl ::core::marker::Copy for IMAGEHLP_MODULE {} @@ -3316,12 +3316,12 @@ pub struct IMAGEHLP_MODULE64 { pub CheckSum: u32, pub NumSyms: u32, pub SymType: SYM_TYPE, - pub ModuleName: [u8; 32], - pub ImageName: [u8; 256], - pub LoadedImageName: [u8; 256], - pub LoadedPdbName: [u8; 256], + pub ModuleName: [i8; 32], + pub ImageName: [i8; 256], + pub LoadedImageName: [i8; 256], + pub LoadedPdbName: [i8; 256], pub CVSig: u32, - pub CVData: [u8; 780], + pub CVData: [i8; 780], pub PdbSig: u32, pub PdbSig70: ::windows_sys::core::GUID, pub PdbAge: u32, @@ -3446,7 +3446,7 @@ pub struct IMAGEHLP_SYMBOL { pub Size: u32, pub Flags: u32, pub MaxNameLength: u32, - pub Name: [u8; 1], + pub Name: [i8; 1], } #[cfg(target_arch = "x86")] impl ::core::marker::Copy for IMAGEHLP_SYMBOL {} @@ -3463,7 +3463,7 @@ pub struct IMAGEHLP_SYMBOL64 { pub Size: u32, pub Flags: u32, pub MaxNameLength: u32, - pub Name: [u8; 1], + pub Name: [i8; 1], } impl ::core::marker::Copy for IMAGEHLP_SYMBOL64 {} impl ::core::clone::Clone for IMAGEHLP_SYMBOL64 { @@ -3474,7 +3474,7 @@ impl ::core::clone::Clone for IMAGEHLP_SYMBOL64 { #[repr(C)] pub struct IMAGEHLP_SYMBOL64_PACKAGE { pub sym: IMAGEHLP_SYMBOL64, - pub name: [u8; 2001], + pub name: [i8; 2001], } impl ::core::marker::Copy for IMAGEHLP_SYMBOL64_PACKAGE {} impl ::core::clone::Clone for IMAGEHLP_SYMBOL64_PACKAGE { @@ -3544,7 +3544,7 @@ impl ::core::clone::Clone for IMAGEHLP_SYMBOLW_PACKAGE { #[cfg(target_arch = "x86")] pub struct IMAGEHLP_SYMBOL_PACKAGE { pub sym: IMAGEHLP_SYMBOL, - pub name: [u8; 2001], + pub name: [i8; 2001], } #[cfg(target_arch = "x86")] impl ::core::marker::Copy for IMAGEHLP_SYMBOL_PACKAGE {} @@ -3558,7 +3558,7 @@ impl ::core::clone::Clone for IMAGEHLP_SYMBOL_PACKAGE { pub struct IMAGEHLP_SYMBOL_SRC { pub sizeofstruct: u32, pub r#type: u32, - pub file: [u8; 260], + pub file: [i8; 260], } impl ::core::marker::Copy for IMAGEHLP_SYMBOL_SRC {} impl ::core::clone::Clone for IMAGEHLP_SYMBOL_SRC { @@ -6005,8 +6005,8 @@ pub struct SRCCODEINFO { pub SizeOfStruct: u32, pub Key: *mut ::core::ffi::c_void, pub ModBase: u64, - pub Obj: [u8; 261], - pub FileName: [u8; 261], + pub Obj: [i8; 261], + pub FileName: [i8; 261], pub LineNumber: u32, pub Address: u64, } @@ -6113,7 +6113,7 @@ pub struct SYMBOL_INFO { pub Tag: u32, pub NameLen: u32, pub MaxNameLen: u32, - pub Name: [u8; 1], + pub Name: [i8; 1], } impl ::core::marker::Copy for SYMBOL_INFO {} impl ::core::clone::Clone for SYMBOL_INFO { @@ -6148,7 +6148,7 @@ impl ::core::clone::Clone for SYMBOL_INFOW { #[repr(C)] pub struct SYMBOL_INFO_PACKAGE { pub si: SYMBOL_INFO, - pub name: [u8; 2001], + pub name: [i8; 2001], } impl ::core::marker::Copy for SYMBOL_INFO_PACKAGE {} impl ::core::clone::Clone for SYMBOL_INFO_PACKAGE { @@ -6182,12 +6182,12 @@ impl ::core::clone::Clone for SYMSRV_EXTENDED_OUTPUT_DATA { #[repr(C)] pub struct SYMSRV_INDEX_INFO { pub sizeofstruct: u32, - pub file: [u8; 261], + pub file: [i8; 261], pub stripped: super::super::super::Foundation::BOOL, pub timestamp: u32, pub size: u32, - pub dbgfile: [u8; 261], - pub pdbfile: [u8; 261], + pub dbgfile: [i8; 261], + pub pdbfile: [i8; 261], pub guid: ::windows_sys::core::GUID, pub sig: u32, pub age: u32, diff --git a/crates/libs/sys/src/Windows/Win32/System/Diagnostics/ToolHelp/mod.rs b/crates/libs/sys/src/Windows/Win32/System/Diagnostics/ToolHelp/mod.rs index 1dc554db4b..96e70cfc10 100644 --- a/crates/libs/sys/src/Windows/Win32/System/Diagnostics/ToolHelp/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/Diagnostics/ToolHelp/mod.rs @@ -70,8 +70,8 @@ pub struct MODULEENTRY32 { pub modBaseAddr: *mut u8, pub modBaseSize: u32, pub hModule: super::super::super::Foundation::HMODULE, - pub szModule: [u8; 256], - pub szExePath: [u8; 260], + pub szModule: [i8; 256], + pub szExePath: [i8; 260], } impl ::core::marker::Copy for MODULEENTRY32 {} impl ::core::clone::Clone for MODULEENTRY32 { @@ -109,7 +109,7 @@ pub struct PROCESSENTRY32 { pub th32ParentProcessID: u32, pub pcPriClassBase: i32, pub dwFlags: u32, - pub szExeFile: [u8; 260], + pub szExeFile: [i8; 260], } impl ::core::marker::Copy for PROCESSENTRY32 {} impl ::core::clone::Clone for PROCESSENTRY32 { diff --git a/crates/libs/sys/src/Windows/Win32/System/DistributedTransactionCoordinator/mod.rs b/crates/libs/sys/src/Windows/Win32/System/DistributedTransactionCoordinator/mod.rs index f0b76e6fb5..076ab34ce9 100644 --- a/crates/libs/sys/src/Windows/Win32/System/DistributedTransactionCoordinator/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/DistributedTransactionCoordinator/mod.rs @@ -373,7 +373,7 @@ pub struct XID { pub formatID: i32, pub gtrid_length: i32, pub bqual_length: i32, - pub data: [u8; 128], + pub data: [i8; 128], } impl ::core::marker::Copy for XID {} impl ::core::clone::Clone for XID { @@ -383,7 +383,7 @@ impl ::core::clone::Clone for XID { } #[repr(C)] pub struct xa_switch_t { - pub name: [u8; 32], + pub name: [i8; 32], pub flags: i32, pub version: i32, pub xa_open_entry: isize, diff --git a/crates/libs/sys/src/Windows/Win32/System/GroupPolicy/mod.rs b/crates/libs/sys/src/Windows/Win32/System/GroupPolicy/mod.rs index 7f26d50c15..f91d372fbf 100644 --- a/crates/libs/sys/src/Windows/Win32/System/GroupPolicy/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/GroupPolicy/mod.rs @@ -361,7 +361,7 @@ pub struct GROUP_POLICY_OBJECTA { pub lpDSPath: ::windows_sys::core::PSTR, pub lpFileSysPath: ::windows_sys::core::PSTR, pub lpDisplayName: ::windows_sys::core::PSTR, - pub szGPOName: [u8; 50], + pub szGPOName: [i8; 50], pub GPOLink: GPO_LINK, pub lParam: super::super::Foundation::LPARAM, pub pNext: *mut GROUP_POLICY_OBJECTA, diff --git a/crates/libs/sys/src/Windows/Win32/System/Iis/mod.rs b/crates/libs/sys/src/Windows/Win32/System/Iis/mod.rs index a4e94b5409..6d1de061ba 100644 --- a/crates/libs/sys/src/Windows/Win32/System/Iis/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/Iis/mod.rs @@ -1039,7 +1039,7 @@ pub struct EXTENSION_CONTROL_BLOCK { pub dwVersion: u32, pub ConnID: HCONN, pub dwHttpStatusCode: u32, - pub lpszLogData: [u8; 80], + pub lpszLogData: [i8; 80], pub lpszMethod: ::windows_sys::core::PSTR, pub lpszQueryString: ::windows_sys::core::PSTR, pub lpszPathInfo: ::windows_sys::core::PSTR, @@ -1225,7 +1225,7 @@ impl ::core::clone::Clone for HSE_UNICODE_URL_MAPEX_INFO { } #[repr(C)] pub struct HSE_URL_MAPEX_INFO { - pub lpszPath: [u8; 260], + pub lpszPath: [i8; 260], pub dwFlags: u32, pub cchMatchingPath: u32, pub cchMatchingURL: u32, @@ -1254,7 +1254,7 @@ impl ::core::clone::Clone for HSE_VECTOR_ELEMENT { #[repr(C)] pub struct HSE_VERSION_INFO { pub dwExtensionVersion: u32, - pub lpszExtensionDesc: [u8; 256], + pub lpszExtensionDesc: [i8; 256], } impl ::core::marker::Copy for HSE_VERSION_INFO {} impl ::core::clone::Clone for HSE_VERSION_INFO { @@ -1402,7 +1402,7 @@ impl ::core::clone::Clone for HTTP_FILTER_URL_MAP_EX { pub struct HTTP_FILTER_VERSION { pub dwServerFilterVersion: u32, pub dwFilterVersion: u32, - pub lpszFilterDesc: [u8; 257], + pub lpszFilterDesc: [i8; 257], pub dwFlags: u32, } impl ::core::marker::Copy for HTTP_FILTER_VERSION {} diff --git a/crates/libs/sys/src/Windows/Win32/System/Ioctl/mod.rs b/crates/libs/sys/src/Windows/Win32/System/Ioctl/mod.rs index 0b4751cb4f..ccf29e1757 100644 --- a/crates/libs/sys/src/Windows/Win32/System/Ioctl/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/Ioctl/mod.rs @@ -2326,7 +2326,7 @@ impl ::core::clone::Clone for DEVICEDUMP_PRIVATE_SUBSECTION { pub struct DEVICEDUMP_PUBLIC_SUBSECTION { pub dwFlags: u32, pub GPLogTable: [GP_LOG_PAGE_DESCRIPTOR; 16], - pub szDescription: [u8; 16], + pub szDescription: [i8; 16], pub bData: [u8; 1], } impl ::core::marker::Copy for DEVICEDUMP_PUBLIC_SUBSECTION {} @@ -4078,7 +4078,7 @@ impl ::core::clone::Clone for FILE_STORAGE_TIER_REGION { } #[repr(C)] pub struct FILE_SYSTEM_RECOGNITION_INFORMATION { - pub FileSystem: [u8; 9], + pub FileSystem: [i8; 9], } impl ::core::marker::Copy for FILE_SYSTEM_RECOGNITION_INFORMATION {} impl ::core::clone::Clone for FILE_SYSTEM_RECOGNITION_INFORMATION { @@ -5874,7 +5874,7 @@ pub struct SCM_PD_DEVICE_INFO { pub ManufacturingYear: u8, pub SerialNumber4Byte: u32, pub SerialNumberLengthInChars: u32, - pub SerialNumber: [u8; 1], + pub SerialNumber: [i8; 1], } impl ::core::marker::Copy for SCM_PD_DEVICE_INFO {} impl ::core::clone::Clone for SCM_PD_DEVICE_INFO { diff --git a/crates/libs/sys/src/Windows/Win32/System/Ole/mod.rs b/crates/libs/sys/src/Windows/Win32/System/Ole/mod.rs index 5d03a3de6e..e1c79faf36 100644 --- a/crates/libs/sys/src/Windows/Win32/System/Ole/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/Ole/mod.rs @@ -284,7 +284,7 @@ ::windows_targets::link!("oleaut32.dll" "system" fn VarBoolFromDec(pdecin : *const super::super::Foundation:: DECIMAL, pboolout : *mut super::super::Foundation:: VARIANT_BOOL) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_System_Com")] ::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VarBoolFromDisp(pdispin : super::Com:: IDispatch, lcid : u32, pboolout : *mut super::super::Foundation:: VARIANT_BOOL) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("oleaut32.dll" "system" fn VarBoolFromI1(cin : u8, pboolout : *mut super::super::Foundation:: VARIANT_BOOL) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("oleaut32.dll" "system" fn VarBoolFromI1(cin : i8, pboolout : *mut super::super::Foundation:: VARIANT_BOOL) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarBoolFromI2(sin : i16, pboolout : *mut super::super::Foundation:: VARIANT_BOOL) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarBoolFromI4(lin : i32, pboolout : *mut super::super::Foundation:: VARIANT_BOOL) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarBoolFromI8(i64in : i64, pboolout : *mut super::super::Foundation:: VARIANT_BOOL) -> ::windows_sys::core::HRESULT); @@ -304,7 +304,7 @@ ::windows_targets::link!("oleaut32.dll" "system" fn VarBstrFromDec(pdecin : *const super::super::Foundation:: DECIMAL, lcid : u32, dwflags : u32, pbstrout : *mut ::windows_sys::core::BSTR) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_System_Com")] ::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VarBstrFromDisp(pdispin : super::Com:: IDispatch, lcid : u32, dwflags : u32, pbstrout : *mut ::windows_sys::core::BSTR) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("oleaut32.dll" "system" fn VarBstrFromI1(cin : u8, lcid : u32, dwflags : u32, pbstrout : *mut ::windows_sys::core::BSTR) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("oleaut32.dll" "system" fn VarBstrFromI1(cin : i8, lcid : u32, dwflags : u32, pbstrout : *mut ::windows_sys::core::BSTR) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarBstrFromI2(ival : i16, lcid : u32, dwflags : u32, pbstrout : *mut ::windows_sys::core::BSTR) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarBstrFromI4(lin : i32, lcid : u32, dwflags : u32, pbstrout : *mut ::windows_sys::core::BSTR) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarBstrFromI8(i64in : i64, lcid : u32, dwflags : u32, pbstrout : *mut ::windows_sys::core::BSTR) -> ::windows_sys::core::HRESULT); @@ -337,7 +337,7 @@ #[cfg(feature = "Win32_System_Com")] ::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VarCyFromDisp(pdispin : super::Com:: IDispatch, lcid : u32, pcyout : *mut super::Com:: CY) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_System_Com")] -::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VarCyFromI1(cin : u8, pcyout : *mut super::Com:: CY) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VarCyFromI1(cin : i8, pcyout : *mut super::Com:: CY) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_System_Com")] ::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VarCyFromI2(sin : i16, pcyout : *mut super::Com:: CY) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_System_Com")] @@ -378,7 +378,7 @@ ::windows_targets::link!("oleaut32.dll" "system" fn VarDateFromDec(pdecin : *const super::super::Foundation:: DECIMAL, pdateout : *mut f64) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_System_Com")] ::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VarDateFromDisp(pdispin : super::Com:: IDispatch, lcid : u32, pdateout : *mut f64) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("oleaut32.dll" "system" fn VarDateFromI1(cin : u8, pdateout : *mut f64) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("oleaut32.dll" "system" fn VarDateFromI1(cin : i8, pdateout : *mut f64) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarDateFromI2(sin : i16, pdateout : *mut f64) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarDateFromI4(lin : i32, pdateout : *mut f64) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarDateFromI8(i64in : i64, pdateout : *mut f64) -> ::windows_sys::core::HRESULT); @@ -403,7 +403,7 @@ ::windows_targets::link!("oleaut32.dll" "system" fn VarDecFromDate(datein : f64, pdecout : *mut super::super::Foundation:: DECIMAL) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_System_Com")] ::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VarDecFromDisp(pdispin : super::Com:: IDispatch, lcid : u32, pdecout : *mut super::super::Foundation:: DECIMAL) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("oleaut32.dll" "system" fn VarDecFromI1(cin : u8, pdecout : *mut super::super::Foundation:: DECIMAL) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("oleaut32.dll" "system" fn VarDecFromI1(cin : i8, pdecout : *mut super::super::Foundation:: DECIMAL) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarDecFromI2(uiin : i16, pdecout : *mut super::super::Foundation:: DECIMAL) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarDecFromI4(lin : i32, pdecout : *mut super::super::Foundation:: DECIMAL) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarDecFromI8(i64in : i64, pdecout : *mut super::super::Foundation:: DECIMAL) -> ::windows_sys::core::HRESULT); @@ -461,7 +461,7 @@ ::windows_targets::link!("oleaut32.dll" "system" fn VarI2FromDec(pdecin : *const super::super::Foundation:: DECIMAL, psout : *mut i16) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_System_Com")] ::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VarI2FromDisp(pdispin : super::Com:: IDispatch, lcid : u32, psout : *mut i16) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("oleaut32.dll" "system" fn VarI2FromI1(cin : u8, psout : *mut i16) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("oleaut32.dll" "system" fn VarI2FromI1(cin : i8, psout : *mut i16) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarI2FromI4(lin : i32, psout : *mut i16) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarI2FromI8(i64in : i64, psout : *mut i16) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarI2FromR4(fltin : f32, psout : *mut i16) -> ::windows_sys::core::HRESULT); @@ -478,7 +478,7 @@ ::windows_targets::link!("oleaut32.dll" "system" fn VarI4FromDec(pdecin : *const super::super::Foundation:: DECIMAL, plout : *mut i32) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_System_Com")] ::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VarI4FromDisp(pdispin : super::Com:: IDispatch, lcid : u32, plout : *mut i32) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("oleaut32.dll" "system" fn VarI4FromI1(cin : u8, plout : *mut i32) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("oleaut32.dll" "system" fn VarI4FromI1(cin : i8, plout : *mut i32) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarI4FromI2(sin : i16, plout : *mut i32) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarI4FromI8(i64in : i64, plout : *mut i32) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarI4FromR4(fltin : f32, plout : *mut i32) -> ::windows_sys::core::HRESULT); @@ -495,7 +495,7 @@ ::windows_targets::link!("oleaut32.dll" "system" fn VarI8FromDec(pdecin : *const super::super::Foundation:: DECIMAL, pi64out : *mut i64) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_System_Com")] ::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VarI8FromDisp(pdispin : super::Com:: IDispatch, lcid : u32, pi64out : *mut i64) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("oleaut32.dll" "system" fn VarI8FromI1(cin : u8, pi64out : *mut i64) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("oleaut32.dll" "system" fn VarI8FromI1(cin : i8, pi64out : *mut i64) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarI8FromI2(sin : i16, pi64out : *mut i64) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarI8FromR4(fltin : f32, pi64out : *mut i64) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarI8FromR8(dblin : f64, pi64out : *mut i64) -> ::windows_sys::core::HRESULT); @@ -534,7 +534,7 @@ ::windows_targets::link!("oleaut32.dll" "system" fn VarR4FromDec(pdecin : *const super::super::Foundation:: DECIMAL, pfltout : *mut f32) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_System_Com")] ::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VarR4FromDisp(pdispin : super::Com:: IDispatch, lcid : u32, pfltout : *mut f32) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("oleaut32.dll" "system" fn VarR4FromI1(cin : u8, pfltout : *mut f32) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("oleaut32.dll" "system" fn VarR4FromI1(cin : i8, pfltout : *mut f32) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarR4FromI2(sin : i16, pfltout : *mut f32) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarR4FromI4(lin : i32, pfltout : *mut f32) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarR4FromI8(i64in : i64, pfltout : *mut f32) -> ::windows_sys::core::HRESULT); @@ -551,7 +551,7 @@ ::windows_targets::link!("oleaut32.dll" "system" fn VarR8FromDec(pdecin : *const super::super::Foundation:: DECIMAL, pdblout : *mut f64) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_System_Com")] ::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VarR8FromDisp(pdispin : super::Com:: IDispatch, lcid : u32, pdblout : *mut f64) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("oleaut32.dll" "system" fn VarR8FromI1(cin : u8, pdblout : *mut f64) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("oleaut32.dll" "system" fn VarR8FromI1(cin : i8, pdblout : *mut f64) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarR8FromI2(sin : i16, pdblout : *mut f64) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarR8FromI4(lin : i32, pdblout : *mut f64) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarR8FromI8(i64in : i64, pdblout : *mut f64) -> ::windows_sys::core::HRESULT); @@ -575,7 +575,7 @@ ::windows_targets::link!("oleaut32.dll" "system" fn VarUI1FromDec(pdecin : *const super::super::Foundation:: DECIMAL, pbout : *mut u8) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_System_Com")] ::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VarUI1FromDisp(pdispin : super::Com:: IDispatch, lcid : u32, pbout : *mut u8) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("oleaut32.dll" "system" fn VarUI1FromI1(cin : u8, pbout : *mut u8) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("oleaut32.dll" "system" fn VarUI1FromI1(cin : i8, pbout : *mut u8) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarUI1FromI2(sin : i16, pbout : *mut u8) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarUI1FromI4(lin : i32, pbout : *mut u8) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarUI1FromI8(i64in : i64, pbout : *mut u8) -> ::windows_sys::core::HRESULT); @@ -592,7 +592,7 @@ ::windows_targets::link!("oleaut32.dll" "system" fn VarUI2FromDec(pdecin : *const super::super::Foundation:: DECIMAL, puiout : *mut u16) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_System_Com")] ::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VarUI2FromDisp(pdispin : super::Com:: IDispatch, lcid : u32, puiout : *mut u16) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("oleaut32.dll" "system" fn VarUI2FromI1(cin : u8, puiout : *mut u16) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("oleaut32.dll" "system" fn VarUI2FromI1(cin : i8, puiout : *mut u16) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarUI2FromI2(uiin : i16, puiout : *mut u16) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarUI2FromI4(lin : i32, puiout : *mut u16) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarUI2FromI8(i64in : i64, puiout : *mut u16) -> ::windows_sys::core::HRESULT); @@ -609,7 +609,7 @@ ::windows_targets::link!("oleaut32.dll" "system" fn VarUI4FromDec(pdecin : *const super::super::Foundation:: DECIMAL, pulout : *mut u32) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_System_Com")] ::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VarUI4FromDisp(pdispin : super::Com:: IDispatch, lcid : u32, pulout : *mut u32) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("oleaut32.dll" "system" fn VarUI4FromI1(cin : u8, pulout : *mut u32) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("oleaut32.dll" "system" fn VarUI4FromI1(cin : i8, pulout : *mut u32) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarUI4FromI2(uiin : i16, pulout : *mut u32) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarUI4FromI4(lin : i32, pulout : *mut u32) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarUI4FromI8(i64in : i64, plout : *mut u32) -> ::windows_sys::core::HRESULT); @@ -626,7 +626,7 @@ ::windows_targets::link!("oleaut32.dll" "system" fn VarUI8FromDec(pdecin : *const super::super::Foundation:: DECIMAL, pi64out : *mut u64) -> ::windows_sys::core::HRESULT); #[cfg(feature = "Win32_System_Com")] ::windows_targets::link!("oleaut32.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`"] fn VarUI8FromDisp(pdispin : super::Com:: IDispatch, lcid : u32, pi64out : *mut u64) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("oleaut32.dll" "system" fn VarUI8FromI1(cin : u8, pi64out : *mut u64) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("oleaut32.dll" "system" fn VarUI8FromI1(cin : i8, pi64out : *mut u64) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarUI8FromI2(sin : i16, pi64out : *mut u64) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarUI8FromI8(ui64in : i64, pi64out : *mut u64) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("oleaut32.dll" "system" fn VarUI8FromR4(fltin : f32, pi64out : *mut u64) -> ::windows_sys::core::HRESULT); @@ -2191,7 +2191,7 @@ pub struct OLEUICHANGEICONA { pub hResource: super::super::Foundation::HRSRC, pub hMetaPict: super::super::Foundation::HGLOBAL, pub clsid: ::windows_sys::core::GUID, - pub szIconExe: [u8; 260], + pub szIconExe: [i8; 260], pub cchIconExe: i32, } impl ::core::marker::Copy for OLEUICHANGEICONA {} @@ -3188,7 +3188,7 @@ pub union _wireVARIANT_0 { pub ppdispVal: *mut super::Com::IDispatch, pub pparray: *mut *mut *mut _wireSAFEARRAY, pub pvarVal: *mut *mut _wireVARIANT, - pub cVal: u8, + pub cVal: i8, pub uiVal: u16, pub ulVal: u32, pub ullVal: u64, diff --git a/crates/libs/sys/src/Windows/Win32/System/PasswordManagement/mod.rs b/crates/libs/sys/src/Windows/Win32/System/PasswordManagement/mod.rs index 2418f32b8d..46c55b3b48 100644 --- a/crates/libs/sys/src/Windows/Win32/System/PasswordManagement/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/PasswordManagement/mod.rs @@ -2,7 +2,7 @@ ::windows_targets::link!("advapi32.dll" "system" fn MSChapSrvChangePassword2(servername : ::windows_sys::core::PCWSTR, username : ::windows_sys::core::PCWSTR, newpasswordencryptedwitholdnt : *const SAMPR_ENCRYPTED_USER_PASSWORD, oldntowfpasswordencryptedwithnewnt : *const ENCRYPTED_LM_OWF_PASSWORD, lmpresent : super::super::Foundation:: BOOLEAN, newpasswordencryptedwitholdlm : *const SAMPR_ENCRYPTED_USER_PASSWORD, oldlmowfpasswordencryptedwithnewlmornt : *const ENCRYPTED_LM_OWF_PASSWORD) -> u32); #[repr(C)] pub struct CYPHER_BLOCK { - pub data: [u8; 8], + pub data: [i8; 8], } impl ::core::marker::Copy for CYPHER_BLOCK {} impl ::core::clone::Clone for CYPHER_BLOCK { diff --git a/crates/libs/sys/src/Windows/Win32/System/RemoteDesktop/mod.rs b/crates/libs/sys/src/Windows/Win32/System/RemoteDesktop/mod.rs index 384807e3ae..a2c243049d 100644 --- a/crates/libs/sys/src/Windows/Win32/System/RemoteDesktop/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/RemoteDesktop/mod.rs @@ -813,7 +813,7 @@ impl ::core::clone::Clone for BITMAP_RENDERER_STATISTICS { } #[repr(C, packed(1))] pub struct CHANNEL_DEF { - pub name: [u8; 8], + pub name: [i8; 8], pub options: u32, } impl ::core::marker::Copy for CHANNEL_DEF {} @@ -862,8 +862,8 @@ impl ::core::clone::Clone for CLIENT_DISPLAY { } #[repr(C)] pub struct PRODUCT_INFOA { - pub CompanyName: [u8; 256], - pub ProductID: [u8; 4], + pub CompanyName: [i8; 256], + pub ProductID: [i8; 4], } impl ::core::marker::Copy for PRODUCT_INFOA {} impl ::core::clone::Clone for PRODUCT_INFOA { @@ -1272,25 +1272,25 @@ impl ::core::clone::Clone for WRDS_SETTINGS_1 { } #[repr(C)] pub struct WTSCLIENTA { - pub ClientName: [u8; 21], - pub Domain: [u8; 18], - pub UserName: [u8; 21], - pub WorkDirectory: [u8; 261], - pub InitialProgram: [u8; 261], + pub ClientName: [i8; 21], + pub Domain: [i8; 18], + pub UserName: [i8; 21], + pub WorkDirectory: [i8; 261], + pub InitialProgram: [i8; 261], pub EncryptionLevel: u8, pub ClientAddressFamily: u32, pub ClientAddress: [u16; 31], pub HRes: u16, pub VRes: u16, pub ColorDepth: u16, - pub ClientDirectory: [u8; 261], + pub ClientDirectory: [i8; 261], pub ClientBuildNumber: u32, pub ClientHardwareId: u32, pub ClientProductId: u16, pub OutBufCountHost: u16, pub OutBufCountClient: u16, pub OutBufLength: u16, - pub DeviceId: [u8; 261], + pub DeviceId: [i8; 261], } impl ::core::marker::Copy for WTSCLIENTA {} impl ::core::clone::Clone for WTSCLIENTA { @@ -1334,11 +1334,11 @@ pub struct WTSCONFIGINFOA { pub fDisablePrinterRedirection: u32, pub fDisableDefaultMainClientPrinter: u32, pub ShadowSettings: u32, - pub LogonUserName: [u8; 21], - pub LogonDomain: [u8; 18], - pub WorkDirectory: [u8; 261], - pub InitialProgram: [u8; 261], - pub ApplicationName: [u8; 261], + pub LogonUserName: [i8; 21], + pub LogonDomain: [i8; 18], + pub WorkDirectory: [i8; 261], + pub InitialProgram: [i8; 261], + pub ApplicationName: [i8; 261], } impl ::core::marker::Copy for WTSCONFIGINFOA {} impl ::core::clone::Clone for WTSCONFIGINFOA { @@ -1376,9 +1376,9 @@ pub struct WTSINFOA { pub OutgoingFrames: u32, pub IncomingCompressedBytes: u32, pub OutgoingCompressedBy: u32, - pub WinStationName: [u8; 32], - pub Domain: [u8; 17], - pub UserName: [u8; 21], + pub WinStationName: [i8; 32], + pub Domain: [i8; 17], + pub UserName: [i8; 21], pub ConnectTime: i64, pub DisconnectTime: i64, pub LastInputTime: i64, @@ -1418,9 +1418,9 @@ pub struct WTSINFOEX_LEVEL1_A { pub SessionId: u32, pub SessionState: WTS_CONNECTSTATE_CLASS, pub SessionFlags: i32, - pub WinStationName: [u8; 33], - pub UserName: [u8; 21], - pub DomainName: [u8; 18], + pub WinStationName: [i8; 33], + pub UserName: [i8; 21], + pub DomainName: [i8; 18], pub LogonTime: i64, pub ConnectTime: i64, pub DisconnectTime: i64, @@ -1538,11 +1538,11 @@ pub struct WTSLISTENERCONFIGA { pub SecurityLayer: u32, pub MinEncryptionLevel: u32, pub UserAuthentication: u32, - pub Comment: [u8; 61], - pub LogonUserName: [u8; 21], - pub LogonDomain: [u8; 18], - pub WorkDirectory: [u8; 261], - pub InitialProgram: [u8; 261], + pub Comment: [i8; 61], + pub LogonUserName: [i8; 21], + pub LogonDomain: [i8; 18], + pub WorkDirectory: [i8; 261], + pub InitialProgram: [i8; 261], } impl ::core::marker::Copy for WTSLISTENERCONFIGA {} impl ::core::clone::Clone for WTSLISTENERCONFIGA { @@ -1675,11 +1675,11 @@ pub struct WTSUSERCONFIGA { pub ReconnectSettings: u32, pub ShadowingSettings: u32, pub TerminalServerRemoteHomeDir: u32, - pub InitialProgram: [u8; 261], - pub WorkDirectory: [u8; 261], - pub TerminalServerProfilePath: [u8; 261], - pub TerminalServerHomeDir: [u8; 261], - pub TerminalServerHomeDirDrive: [u8; 4], + pub InitialProgram: [i8; 261], + pub WorkDirectory: [i8; 261], + pub TerminalServerProfilePath: [i8; 261], + pub TerminalServerHomeDir: [i8; 261], + pub TerminalServerHomeDirDrive: [i8; 4], } impl ::core::marker::Copy for WTSUSERCONFIGA {} impl ::core::clone::Clone for WTSUSERCONFIGA { diff --git a/crates/libs/sys/src/Windows/Win32/System/Restore/mod.rs b/crates/libs/sys/src/Windows/Win32/System/Restore/mod.rs index de3e7c4188..7e990b5dfa 100644 --- a/crates/libs/sys/src/Windows/Win32/System/Restore/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/Restore/mod.rs @@ -38,7 +38,7 @@ pub struct RESTOREPOINTINFOA { pub dwEventType: RESTOREPOINTINFO_EVENT_TYPE, pub dwRestorePtType: RESTOREPOINTINFO_TYPE, pub llSequenceNumber: i64, - pub szDescription: [u8; 64], + pub szDescription: [i8; 64], } impl ::core::marker::Copy for RESTOREPOINTINFOA {} impl ::core::clone::Clone for RESTOREPOINTINFOA { diff --git a/crates/libs/sys/src/Windows/Win32/System/SystemInformation/mod.rs b/crates/libs/sys/src/Windows/Win32/System/SystemInformation/mod.rs index f20cd763ac..fc232c95a3 100644 --- a/crates/libs/sys/src/Windows/Win32/System/SystemInformation/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/SystemInformation/mod.rs @@ -602,7 +602,7 @@ pub struct OSVERSIONINFOA { pub dwMinorVersion: u32, pub dwBuildNumber: u32, pub dwPlatformId: u32, - pub szCSDVersion: [u8; 128], + pub szCSDVersion: [i8; 128], } impl ::core::marker::Copy for OSVERSIONINFOA {} impl ::core::clone::Clone for OSVERSIONINFOA { @@ -617,7 +617,7 @@ pub struct OSVERSIONINFOEXA { pub dwMinorVersion: u32, pub dwBuildNumber: u32, pub dwPlatformId: u32, - pub szCSDVersion: [u8; 128], + pub szCSDVersion: [i8; 128], pub wServicePackMajor: u16, pub wServicePackMinor: u16, pub wSuiteMask: u16, diff --git a/crates/libs/sys/src/Windows/Win32/System/SystemServices/mod.rs b/crates/libs/sys/src/Windows/Win32/System/SystemServices/mod.rs index 610898d52a..5c83829b3a 100644 --- a/crates/libs/sys/src/Windows/Win32/System/SystemServices/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/SystemServices/mod.rs @@ -3479,7 +3479,7 @@ impl ::core::clone::Clone for IMAGE_HOT_PATCH_INFO { #[repr(C)] pub struct IMAGE_IMPORT_BY_NAME { pub Hint: u16, - pub Name: [u8; 1], + pub Name: [i8; 1], } impl ::core::marker::Copy for IMAGE_IMPORT_BY_NAME {} impl ::core::clone::Clone for IMAGE_IMPORT_BY_NAME { @@ -3557,8 +3557,8 @@ impl ::core::clone::Clone for IMAGE_LINENUMBER_0 { #[repr(C, packed(2))] pub struct IMAGE_OS2_HEADER { pub ne_magic: u16, - pub ne_ver: u8, - pub ne_rev: u8, + pub ne_ver: i8, + pub ne_rev: i8, pub ne_enttab: u16, pub ne_cbenttab: u16, pub ne_crc: i32, @@ -3757,7 +3757,7 @@ impl ::core::clone::Clone for IMAGE_RESOURCE_DIRECTORY_ENTRY_1_0 { #[repr(C)] pub struct IMAGE_RESOURCE_DIRECTORY_STRING { pub Length: u16, - pub NameString: [u8; 1], + pub NameString: [i8; 1], } impl ::core::marker::Copy for IMAGE_RESOURCE_DIRECTORY_STRING {} impl ::core::clone::Clone for IMAGE_RESOURCE_DIRECTORY_STRING { diff --git a/crates/libs/sys/src/Windows/Win32/System/Variant/mod.rs b/crates/libs/sys/src/Windows/Win32/System/Variant/mod.rs index 14c00671fd..e10cca4c14 100644 --- a/crates/libs/sys/src/Windows/Win32/System/Variant/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/Variant/mod.rs @@ -321,7 +321,7 @@ pub union VARIANT_0_0_0 { pub pparray: *mut *mut super::Com::SAFEARRAY, pub pvarVal: *mut VARIANT, pub byref: *mut ::core::ffi::c_void, - pub cVal: u8, + pub cVal: i8, pub uiVal: u16, pub ulVal: u32, pub ullVal: u64, diff --git a/crates/libs/sys/src/Windows/Win32/System/VirtualDosMachines/mod.rs b/crates/libs/sys/src/Windows/Win32/System/VirtualDosMachines/mod.rs index bab2f851cc..5789cb8b0f 100644 --- a/crates/libs/sys/src/Windows/Win32/System/VirtualDosMachines/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/VirtualDosMachines/mod.rs @@ -117,8 +117,8 @@ impl ::core::clone::Clone for GLOBALENTRY { } #[repr(C)] pub struct IMAGE_NOTE { - pub Module: [u8; 10], - pub FileName: [u8; 256], + pub Module: [i8; 10], + pub FileName: [i8; 256], pub hModule: u16, pub hTask: u16, } @@ -131,10 +131,10 @@ impl ::core::clone::Clone for IMAGE_NOTE { #[repr(C, packed(4))] pub struct MODULEENTRY { pub dwSize: u32, - pub szModule: [u8; 10], + pub szModule: [i8; 10], pub hModule: super::super::Foundation::HANDLE, pub wcUsage: u16, - pub szExePath: [u8; 256], + pub szExePath: [i8; 256], pub wNext: u16, } impl ::core::marker::Copy for MODULEENTRY {} @@ -148,8 +148,8 @@ pub struct SEGMENT_NOTE { pub Selector1: u16, pub Selector2: u16, pub Segment: u16, - pub Module: [u8; 10], - pub FileName: [u8; 256], + pub Module: [i8; 10], + pub FileName: [i8; 256], pub Type: u16, pub Length: u32, } @@ -313,8 +313,8 @@ pub struct VDM_SEGINFO { pub SegNumber: u16, pub Length: u32, pub Type: u16, - pub ModuleName: [u8; 9], - pub FileName: [u8; 255], + pub ModuleName: [i8; 9], + pub FileName: [i8; 255], } impl ::core::marker::Copy for VDM_SEGINFO {} impl ::core::clone::Clone for VDM_SEGINFO { diff --git a/crates/libs/sys/src/Windows/Win32/System/WindowsProgramming/mod.rs b/crates/libs/sys/src/Windows/Win32/System/WindowsProgramming/mod.rs index 0e2dc31835..0d030bf3bb 100644 --- a/crates/libs/sys/src/Windows/Win32/System/WindowsProgramming/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/System/WindowsProgramming/mod.rs @@ -1049,7 +1049,7 @@ pub struct CABINFOA { pub pszCab: ::windows_sys::core::PSTR, pub pszInf: ::windows_sys::core::PSTR, pub pszSection: ::windows_sys::core::PSTR, - pub szSrcPath: [u8; 260], + pub szSrcPath: [i8; 260], pub dwFlags: u32, } impl ::core::marker::Copy for CABINFOA {} @@ -1306,8 +1306,8 @@ pub type HWINWATCH = isize; #[repr(C)] pub struct HW_PROFILE_INFOA { pub dwDockInfo: u32, - pub szHwProfileGuid: [u8; 39], - pub szHwProfileName: [u8; 80], + pub szHwProfileGuid: [i8; 39], + pub szHwProfileName: [i8; 80], } impl ::core::marker::Copy for HW_PROFILE_INFOA {} impl ::core::clone::Clone for HW_PROFILE_INFOA { @@ -1535,12 +1535,12 @@ impl ::core::clone::Clone for LDR_DATA_TABLE_ENTRY_0 { } #[repr(C)] pub struct PERUSERSECTIONA { - pub szGUID: [u8; 59], - pub szDispName: [u8; 128], - pub szLocale: [u8; 10], - pub szStub: [u8; 1040], - pub szVersion: [u8; 32], - pub szCompID: [u8; 128], + pub szGUID: [i8; 59], + pub szDispName: [i8; 128], + pub szLocale: [i8; 10], + pub szStub: [i8; 1040], + pub szVersion: [i8; 32], + pub szCompID: [i8; 128], pub dwIsInstalled: u32, pub bRollback: super::super::Foundation::BOOL, } diff --git a/crates/libs/sys/src/Windows/Win32/UI/ColorSystem/mod.rs b/crates/libs/sys/src/Windows/Win32/UI/ColorSystem/mod.rs index 1520348c5a..5bb6690b37 100644 --- a/crates/libs/sys/src/Windows/Win32/UI/ColorSystem/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/UI/ColorSystem/mod.rs @@ -659,7 +659,7 @@ pub struct LOGCOLORSPACEA { pub lcsGammaRed: u32, pub lcsGammaGreen: u32, pub lcsGammaBlue: u32, - pub lcsFilename: [u8; 260], + pub lcsFilename: [i8; 260], } #[cfg(feature = "Win32_Graphics_Gdi")] impl ::core::marker::Copy for LOGCOLORSPACEA {} diff --git a/crates/libs/sys/src/Windows/Win32/UI/Controls/mod.rs b/crates/libs/sys/src/Windows/Win32/UI/Controls/mod.rs index e159cdc83c..517c5dbb78 100644 --- a/crates/libs/sys/src/Windows/Win32/UI/Controls/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/UI/Controls/mod.rs @@ -4856,15 +4856,15 @@ impl ::core::clone::Clone for BUTTON_SPLITINFO { #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] #[cfg(feature = "Win32_Graphics_Gdi")] pub struct CCINFOA { - pub szClass: [u8; 32], + pub szClass: [i8; 32], pub flOptions: u32, - pub szDesc: [u8; 32], + pub szDesc: [i8; 32], pub cxDefault: u32, pub cyDefault: u32, pub flStyleDefault: u32, pub flExtStyleDefault: u32, pub flCtrlTypeMask: u32, - pub szTextDefault: [u8; 256], + pub szTextDefault: [i8; 256], pub cStyleFlags: i32, pub aStyleFlags: *mut CCSTYLEFLAGA, pub lpfnStyle: LPFNCCSTYLEA, @@ -4912,7 +4912,7 @@ impl ::core::clone::Clone for CCINFOW { pub struct CCSTYLEA { pub flStyle: u32, pub flExtStyle: u32, - pub szText: [u8; 256], + pub szText: [i8; 256], pub lgid: u16, pub wReserved1: u16, } @@ -5817,7 +5817,7 @@ impl ::core::clone::Clone for NMBCHOTITEM { pub struct NMCBEDRAGBEGINA { pub hdr: NMHDR, pub iItemid: i32, - pub szText: [u8; 260], + pub szText: [i8; 260], } impl ::core::marker::Copy for NMCBEDRAGBEGINA {} impl ::core::clone::Clone for NMCBEDRAGBEGINA { @@ -5842,7 +5842,7 @@ pub struct NMCBEENDEDITA { pub hdr: NMHDR, pub fChanged: super::super::Foundation::BOOL, pub iNewSelection: i32, - pub szText: [u8; 260], + pub szText: [i8; 260], pub iWhy: i32, } impl ::core::marker::Copy for NMCBEENDEDITA {} @@ -5971,7 +5971,7 @@ pub struct NMDATETIMEFORMATA { pub pszFormat: ::windows_sys::core::PCSTR, pub st: super::super::Foundation::SYSTEMTIME, pub pszDisplay: ::windows_sys::core::PCSTR, - pub szDisplay: [u8; 64], + pub szDisplay: [i8; 64], } impl ::core::marker::Copy for NMDATETIMEFORMATA {} impl ::core::clone::Clone for NMDATETIMEFORMATA { @@ -6845,7 +6845,7 @@ impl ::core::clone::Clone for NMTTCUSTOMDRAW { pub struct NMTTDISPINFOA { pub hdr: NMHDR, pub lpszText: ::windows_sys::core::PSTR, - pub szText: [u8; 80], + pub szText: [i8; 80], pub hinst: super::super::Foundation::HINSTANCE, pub uFlags: TOOLTIP_FLAGS, pub lParam: super::super::Foundation::LPARAM, diff --git a/crates/libs/sys/src/Windows/Win32/UI/Input/Ime/mod.rs b/crates/libs/sys/src/Windows/Win32/UI/Input/Ime/mod.rs index 62c3c844ff..04f093181d 100644 --- a/crates/libs/sys/src/Windows/Win32/UI/Input/Ime/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/UI/Input/Ime/mod.rs @@ -1379,7 +1379,7 @@ pub struct IMEMENUITEMINFOA { pub hbmpChecked: super::super::super::Graphics::Gdi::HBITMAP, pub hbmpUnchecked: super::super::super::Graphics::Gdi::HBITMAP, pub dwItemData: u32, - pub szString: [u8; 80], + pub szString: [i8; 80], pub hbmpItem: super::super::super::Graphics::Gdi::HBITMAP, } #[cfg(feature = "Win32_Graphics_Gdi")] @@ -1416,9 +1416,9 @@ impl ::core::clone::Clone for IMEMENUITEMINFOW { pub struct IMESHF { pub cbShf: u16, pub verDic: u16, - pub szTitle: [u8; 48], - pub szDescription: [u8; 256], - pub szCopyright: [u8; 128], + pub szTitle: [i8; 48], + pub szDescription: [i8; 256], + pub szCopyright: [i8; 128], } impl ::core::marker::Copy for IMESHF {} impl ::core::clone::Clone for IMESHF { @@ -1665,7 +1665,7 @@ impl ::core::clone::Clone for SOFTKBDDATA { #[repr(C)] pub struct STYLEBUFA { pub dwStyle: u32, - pub szDescription: [u8; 32], + pub szDescription: [i8; 32], } impl ::core::marker::Copy for STYLEBUFA {} impl ::core::clone::Clone for STYLEBUFA { diff --git a/crates/libs/sys/src/Windows/Win32/UI/Input/KeyboardAndMouse/mod.rs b/crates/libs/sys/src/Windows/Win32/UI/Input/KeyboardAndMouse/mod.rs index ee52a3c626..819c8f4816 100644 --- a/crates/libs/sys/src/Windows/Win32/UI/Input/KeyboardAndMouse/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/UI/Input/KeyboardAndMouse/mod.rs @@ -53,9 +53,9 @@ #[cfg(feature = "Win32_UI_TextServices")] ::windows_targets::link!("user32.dll" "system" #[doc = "Required features: `\"Win32_UI_TextServices\"`"] fn UnloadKeyboardLayout(hkl : super::super::TextServices:: HKL) -> super::super::super::Foundation:: BOOL); ::windows_targets::link!("user32.dll" "system" fn UnregisterHotKey(hwnd : super::super::super::Foundation:: HWND, id : i32) -> super::super::super::Foundation:: BOOL); -::windows_targets::link!("user32.dll" "system" fn VkKeyScanA(ch : u8) -> i16); +::windows_targets::link!("user32.dll" "system" fn VkKeyScanA(ch : i8) -> i16); #[cfg(feature = "Win32_UI_TextServices")] -::windows_targets::link!("user32.dll" "system" #[doc = "Required features: `\"Win32_UI_TextServices\"`"] fn VkKeyScanExA(ch : u8, dwhkl : super::super::TextServices:: HKL) -> i16); +::windows_targets::link!("user32.dll" "system" #[doc = "Required features: `\"Win32_UI_TextServices\"`"] fn VkKeyScanExA(ch : i8, dwhkl : super::super::TextServices:: HKL) -> i16); #[cfg(feature = "Win32_UI_TextServices")] ::windows_targets::link!("user32.dll" "system" #[doc = "Required features: `\"Win32_UI_TextServices\"`"] fn VkKeyScanExW(ch : u16, dwhkl : super::super::TextServices:: HKL) -> i16); ::windows_targets::link!("user32.dll" "system" fn VkKeyScanW(ch : u16) -> i16); diff --git a/crates/libs/sys/src/Windows/Win32/UI/Shell/PropertiesSystem/mod.rs b/crates/libs/sys/src/Windows/Win32/UI/Shell/PropertiesSystem/mod.rs index 5f2ad0a8d1..e4db820e44 100644 --- a/crates/libs/sys/src/Windows/Win32/UI/Shell/PropertiesSystem/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/UI/Shell/PropertiesSystem/mod.rs @@ -373,16 +373,16 @@ impl ::core::clone::Clone for PROPERTYKEY { pub struct PROPPRG { pub flPrg: u16, pub flPrgInit: u16, - pub achTitle: [u8; 30], - pub achCmdLine: [u8; 128], - pub achWorkDir: [u8; 64], + pub achTitle: [i8; 30], + pub achCmdLine: [i8; 128], + pub achWorkDir: [i8; 64], pub wHotKey: u16, - pub achIconFile: [u8; 80], + pub achIconFile: [i8; 80], pub wIconIndex: u16, pub dwEnhModeFlags: u32, pub dwRealModeFlags: u32, - pub achOtherFile: [u8; 80], - pub achPIFFile: [u8; 260], + pub achOtherFile: [i8; 80], + pub achPIFFile: [i8; 260], } impl ::core::marker::Copy for PROPPRG {} impl ::core::clone::Clone for PROPPRG { diff --git a/crates/libs/sys/src/Windows/Win32/UI/Shell/mod.rs b/crates/libs/sys/src/Windows/Win32/UI/Shell/mod.rs index 8575985248..c4b57ee911 100644 --- a/crates/libs/sys/src/Windows/Win32/UI/Shell/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/UI/Shell/mod.rs @@ -218,7 +218,7 @@ pub mod PropertiesSystem; ::windows_targets::link!("propsys.dll" "system" #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_Common\"`"] fn InitVariantFromStrRet(pstrret : *const Common:: STRRET, pidl : *const Common:: ITEMIDLIST, pvar : *mut super::super::System::Variant:: VARIANT) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("shlwapi.dll" "system" fn IntlStrEqWorkerA(fcasesens : super::super::Foundation:: BOOL, lpstring1 : ::windows_sys::core::PCSTR, lpstring2 : ::windows_sys::core::PCSTR, nchar : i32) -> super::super::Foundation:: BOOL); ::windows_targets::link!("shlwapi.dll" "system" fn IntlStrEqWorkerW(fcasesens : super::super::Foundation:: BOOL, lpstring1 : ::windows_sys::core::PCWSTR, lpstring2 : ::windows_sys::core::PCWSTR, nchar : i32) -> super::super::Foundation:: BOOL); -::windows_targets::link!("shlwapi.dll" "system" fn IsCharSpaceA(wch : u8) -> super::super::Foundation:: BOOL); +::windows_targets::link!("shlwapi.dll" "system" fn IsCharSpaceA(wch : i8) -> super::super::Foundation:: BOOL); ::windows_targets::link!("shlwapi.dll" "system" fn IsCharSpaceW(wch : u16) -> super::super::Foundation:: BOOL); ::windows_targets::link!("shlwapi.dll" "system" fn IsInternetESCEnabled() -> super::super::Foundation:: BOOL); ::windows_targets::link!("shell32.dll" "system" fn IsLFNDriveA(pszpath : ::windows_sys::core::PCSTR) -> super::super::Foundation:: BOOL); @@ -729,7 +729,7 @@ pub mod PropertiesSystem; ::windows_targets::link!("shell32.dll" "system" fn SHStartNetConnectionDialogW(hwnd : super::super::Foundation:: HWND, pszremotename : ::windows_sys::core::PCWSTR, dwtype : u32) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("shlwapi.dll" "system" fn SHStrDupA(psz : ::windows_sys::core::PCSTR, ppwsz : *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT); ::windows_targets::link!("shlwapi.dll" "system" fn SHStrDupW(psz : ::windows_sys::core::PCWSTR, ppwsz : *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT); -::windows_targets::link!("shlwapi.dll" "system" fn SHStripMneumonicA(pszmenu : ::windows_sys::core::PSTR) -> u8); +::windows_targets::link!("shlwapi.dll" "system" fn SHStripMneumonicA(pszmenu : ::windows_sys::core::PSTR) -> i8); ::windows_targets::link!("shlwapi.dll" "system" fn SHStripMneumonicW(pszmenu : ::windows_sys::core::PWSTR) -> u16); ::windows_targets::link!("shell32.dll" "system" fn SHTestTokenMembership(htoken : super::super::Foundation:: HANDLE, ulrid : u32) -> super::super::Foundation:: BOOL); ::windows_targets::link!("shlwapi.dll" "system" fn SHUnicodeToAnsi(pwszsrc : ::windows_sys::core::PCWSTR, pszdst : ::windows_sys::core::PSTR, cchbuf : i32) -> i32); @@ -6181,7 +6181,7 @@ impl ::core::clone::Clone for DROPFILES { #[repr(C, packed(1))] pub struct EXP_DARWIN_LINK { pub dbh: DATABLOCK_HEADER, - pub szDarwinID: [u8; 260], + pub szDarwinID: [i8; 260], pub szwDarwinID: [u16; 260], } impl ::core::marker::Copy for EXP_DARWIN_LINK {} @@ -6219,7 +6219,7 @@ impl ::core::clone::Clone for EXP_SPECIAL_FOLDER { pub struct EXP_SZ_LINK { pub cbSize: u32, pub dwSignature: u32, - pub szTarget: [u8; 260], + pub szTarget: [i8; 260], pub swzTarget: [u16; 260], } impl ::core::marker::Copy for EXP_SZ_LINK {} @@ -6252,7 +6252,7 @@ pub struct FILEDESCRIPTORA { pub ftLastWriteTime: super::super::Foundation::FILETIME, pub nFileSizeHigh: u32, pub nFileSizeLow: u32, - pub cFileName: [u8; 260], + pub cFileName: [i8; 260], } impl ::core::marker::Copy for FILEDESCRIPTORA {} impl ::core::clone::Clone for FILEDESCRIPTORA { @@ -6362,7 +6362,7 @@ pub struct HELPWININFOA { pub dx: i32, pub dy: i32, pub wMax: i32, - pub rgchMember: [u8; 2], + pub rgchMember: [i8; 2], } impl ::core::marker::Copy for HELPWININFOA {} impl ::core::clone::Clone for HELPWININFOA { @@ -6461,8 +6461,8 @@ impl ::core::clone::Clone for KNOWNFOLDER_DEFINITION { #[repr(C)] pub struct MULTIKEYHELPA { pub mkSize: u32, - pub mkKeylist: u8, - pub szKeyphrase: [u8; 1], + pub mkKeylist: i8, + pub szKeyphrase: [i8; 1], } impl ::core::marker::Copy for MULTIKEYHELPA {} impl ::core::clone::Clone for MULTIKEYHELPA { @@ -6507,9 +6507,9 @@ pub struct NEWCPLINFOA { pub dwHelpContext: u32, pub lData: isize, pub hIcon: super::WindowsAndMessaging::HICON, - pub szName: [u8; 32], - pub szInfo: [u8; 64], - pub szHelpFile: [u8; 128], + pub szName: [i8; 32], + pub szInfo: [i8; 64], + pub szHelpFile: [i8; 128], } #[cfg(feature = "Win32_UI_WindowsAndMessaging")] impl ::core::marker::Copy for NEWCPLINFOA {} @@ -6551,12 +6551,12 @@ pub struct NOTIFYICONDATAA { pub uFlags: NOTIFY_ICON_DATA_FLAGS, pub uCallbackMessage: u32, pub hIcon: super::WindowsAndMessaging::HICON, - pub szTip: [u8; 128], + pub szTip: [i8; 128], pub dwState: NOTIFY_ICON_STATE, pub dwStateMask: u32, - pub szInfo: [u8; 256], + pub szInfo: [i8; 256], pub Anonymous: NOTIFYICONDATAA_0, - pub szInfoTitle: [u8; 64], + pub szInfoTitle: [i8; 64], pub dwInfoFlags: NOTIFY_ICON_INFOTIP_FLAGS, pub guidItem: ::windows_sys::core::GUID, pub hBalloonIcon: super::WindowsAndMessaging::HICON, @@ -6600,12 +6600,12 @@ pub struct NOTIFYICONDATAA { pub uFlags: NOTIFY_ICON_DATA_FLAGS, pub uCallbackMessage: u32, pub hIcon: super::WindowsAndMessaging::HICON, - pub szTip: [u8; 128], + pub szTip: [i8; 128], pub dwState: NOTIFY_ICON_STATE, pub dwStateMask: u32, - pub szInfo: [u8; 256], + pub szInfo: [i8; 256], pub Anonymous: NOTIFYICONDATAA_0, - pub szInfoTitle: [u8; 64], + pub szInfoTitle: [i8; 64], pub dwInfoFlags: NOTIFY_ICON_INFOTIP_FLAGS, pub guidItem: ::windows_sys::core::GUID, pub hBalloonIcon: super::WindowsAndMessaging::HICON, @@ -7638,8 +7638,8 @@ pub struct SHFILEINFOA { pub hIcon: super::WindowsAndMessaging::HICON, pub iIcon: i32, pub dwAttributes: u32, - pub szDisplayName: [u8; 260], - pub szTypeName: [u8; 80], + pub szDisplayName: [i8; 260], + pub szTypeName: [i8; 80], } #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] #[cfg(feature = "Win32_UI_WindowsAndMessaging")] @@ -7659,8 +7659,8 @@ pub struct SHFILEINFOA { pub hIcon: super::WindowsAndMessaging::HICON, pub iIcon: i32, pub dwAttributes: u32, - pub szDisplayName: [u8; 260], - pub szTypeName: [u8; 80], + pub szDisplayName: [i8; 260], + pub szTypeName: [i8; 80], } #[cfg(target_arch = "x86")] #[cfg(feature = "Win32_UI_WindowsAndMessaging")] diff --git a/crates/libs/sys/src/Windows/Win32/UI/WindowsAndMessaging/mod.rs b/crates/libs/sys/src/Windows/Win32/UI/WindowsAndMessaging/mod.rs index 29594542a3..ee54ed0aa8 100644 --- a/crates/libs/sys/src/Windows/Win32/UI/WindowsAndMessaging/mod.rs +++ b/crates/libs/sys/src/Windows/Win32/UI/WindowsAndMessaging/mod.rs @@ -234,12 +234,12 @@ ::windows_targets::link!("user32.dll" "system" #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] fn InsertMenuItemW(hmenu : HMENU, item : u32, fbyposition : super::super::Foundation:: BOOL, lpmi : *const MENUITEMINFOW) -> super::super::Foundation:: BOOL); ::windows_targets::link!("user32.dll" "system" fn InsertMenuW(hmenu : HMENU, uposition : u32, uflags : MENU_ITEM_FLAGS, uidnewitem : usize, lpnewitem : ::windows_sys::core::PCWSTR) -> super::super::Foundation:: BOOL); ::windows_targets::link!("user32.dll" "system" fn InternalGetWindowText(hwnd : super::super::Foundation:: HWND, pstring : ::windows_sys::core::PWSTR, cchmaxcount : i32) -> i32); -::windows_targets::link!("user32.dll" "system" fn IsCharAlphaA(ch : u8) -> super::super::Foundation:: BOOL); -::windows_targets::link!("user32.dll" "system" fn IsCharAlphaNumericA(ch : u8) -> super::super::Foundation:: BOOL); +::windows_targets::link!("user32.dll" "system" fn IsCharAlphaA(ch : i8) -> super::super::Foundation:: BOOL); +::windows_targets::link!("user32.dll" "system" fn IsCharAlphaNumericA(ch : i8) -> super::super::Foundation:: BOOL); ::windows_targets::link!("user32.dll" "system" fn IsCharAlphaNumericW(ch : u16) -> super::super::Foundation:: BOOL); ::windows_targets::link!("user32.dll" "system" fn IsCharAlphaW(ch : u16) -> super::super::Foundation:: BOOL); -::windows_targets::link!("user32.dll" "system" fn IsCharLowerA(ch : u8) -> super::super::Foundation:: BOOL); -::windows_targets::link!("user32.dll" "system" fn IsCharUpperA(ch : u8) -> super::super::Foundation:: BOOL); +::windows_targets::link!("user32.dll" "system" fn IsCharLowerA(ch : i8) -> super::super::Foundation:: BOOL); +::windows_targets::link!("user32.dll" "system" fn IsCharUpperA(ch : i8) -> super::super::Foundation:: BOOL); ::windows_targets::link!("user32.dll" "system" fn IsCharUpperW(ch : u16) -> super::super::Foundation:: BOOL); ::windows_targets::link!("user32.dll" "system" fn IsChild(hwndparent : super::super::Foundation:: HWND, hwnd : super::super::Foundation:: HWND) -> super::super::Foundation:: BOOL); ::windows_targets::link!("user32.dll" "system" fn IsDialogMessageA(hdlg : super::super::Foundation:: HWND, lpmsg : *const MSG) -> super::super::Foundation:: BOOL); @@ -3068,7 +3068,7 @@ pub struct DEV_BROADCAST_DEVICEINTERFACE_A { pub dbcc_devicetype: u32, pub dbcc_reserved: u32, pub dbcc_classguid: ::windows_sys::core::GUID, - pub dbcc_name: [u8; 1], + pub dbcc_name: [i8; 1], } impl ::core::marker::Copy for DEV_BROADCAST_DEVICEINTERFACE_A {} impl ::core::clone::Clone for DEV_BROADCAST_DEVICEINTERFACE_A { @@ -3199,7 +3199,7 @@ pub struct DEV_BROADCAST_PORT_A { pub dbcp_size: u32, pub dbcp_devicetype: u32, pub dbcp_reserved: u32, - pub dbcp_name: [u8; 1], + pub dbcp_name: [i8; 1], } impl ::core::marker::Copy for DEV_BROADCAST_PORT_A {} impl ::core::clone::Clone for DEV_BROADCAST_PORT_A { @@ -3408,8 +3408,8 @@ pub struct ICONINFOEXA { pub hbmMask: super::super::Graphics::Gdi::HBITMAP, pub hbmColor: super::super::Graphics::Gdi::HBITMAP, pub wResID: u16, - pub szModName: [u8; 260], - pub szResName: [u8; 260], + pub szModName: [i8; 260], + pub szResName: [i8; 260], } #[cfg(feature = "Win32_Graphics_Gdi")] impl ::core::marker::Copy for ICONINFOEXA {} @@ -4295,7 +4295,7 @@ impl ::core::clone::Clone for _DEV_BROADCAST_HEADER { #[repr(C)] pub struct _DEV_BROADCAST_USERDEFINED { pub dbud_dbh: DEV_BROADCAST_HDR, - pub dbud_szName: [u8; 1], + pub dbud_szName: [i8; 1], } impl ::core::marker::Copy for _DEV_BROADCAST_USERDEFINED {} impl ::core::clone::Clone for _DEV_BROADCAST_USERDEFINED { diff --git a/crates/libs/windows/src/Windows/Wdk/Foundation/mod.rs b/crates/libs/windows/src/Windows/Wdk/Foundation/mod.rs index b37937ca1b..67e724e715 100644 --- a/crates/libs/windows/src/Windows/Wdk/Foundation/mod.rs +++ b/crates/libs/windows/src/Windows/Wdk/Foundation/mod.rs @@ -3245,8 +3245,8 @@ pub struct IRP { pub IoStatus: super::super::Win32::System::IO::IO_STATUS_BLOCK, pub RequestorMode: i8, pub PendingReturned: super::super::Win32::Foundation::BOOLEAN, - pub StackCount: u8, - pub CurrentLocation: u8, + pub StackCount: i8, + pub CurrentLocation: i8, pub Cancel: super::super::Win32::Foundation::BOOLEAN, pub CancelIrql: u8, pub ApcEnvironment: i8, diff --git a/crates/libs/windows/src/Windows/Wdk/Graphics/Direct3D/mod.rs b/crates/libs/windows/src/Windows/Wdk/Graphics/Direct3D/mod.rs index d6ad6c7d5e..96a05de4bd 100644 --- a/crates/libs/windows/src/Windows/Wdk/Graphics/Direct3D/mod.rs +++ b/crates/libs/windows/src/Windows/Wdk/Graphics/Direct3D/mod.rs @@ -33778,7 +33778,7 @@ pub struct OUTPUTDUPL_CONTEXT_DEBUG_INFO { pub AccumulatedPresents: u32, pub LastPresentTime: i64, pub LastMouseTime: i64, - pub ProcessName: [u8; 16], + pub ProcessName: [i8; 16], } impl ::core::marker::Copy for OUTPUTDUPL_CONTEXT_DEBUG_INFO {} impl ::core::clone::Clone for OUTPUTDUPL_CONTEXT_DEBUG_INFO { diff --git a/crates/libs/windows/src/Windows/Wdk/NetworkManagement/Ndis/mod.rs b/crates/libs/windows/src/Windows/Wdk/NetworkManagement/Ndis/mod.rs index 25a6e4dd8d..4bafbcd363 100644 --- a/crates/libs/windows/src/Windows/Wdk/NetworkManagement/Ndis/mod.rs +++ b/crates/libs/windows/src/Windows/Wdk/NetworkManagement/Ndis/mod.rs @@ -7690,7 +7690,7 @@ pub struct NDIS_WMI_ENUM_ADAPTER { pub IfIndex: u32, pub NetLuid: super::super::super::Win32::NetworkManagement::Ndis::NET_LUID_LH, pub DeviceNameLength: u16, - pub DeviceName: [u8; 1], + pub DeviceName: [i8; 1], } #[cfg(feature = "Win32_NetworkManagement_Ndis")] impl ::core::marker::Copy for NDIS_WMI_ENUM_ADAPTER {} diff --git a/crates/libs/windows/src/Windows/Wdk/Storage/FileSystem/mod.rs b/crates/libs/windows/src/Windows/Wdk/Storage/FileSystem/mod.rs index 4d7d9c537b..7e2434b1d8 100644 --- a/crates/libs/windows/src/Windows/Wdk/Storage/FileSystem/mod.rs +++ b/crates/libs/windows/src/Windows/Wdk/Storage/FileSystem/mod.rs @@ -3737,13 +3737,13 @@ pub unsafe fn RtlQueryPackageIdentityEx(tokenobject: *const ::core::ffi::c_void, RtlQueryPackageIdentityEx(tokenobject, ::core::mem::transmute(packagefullname), packagesize, ::core::mem::transmute(appid), ::core::mem::transmute(appidsize.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(dynamicid.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(flags.unwrap_or(::std::ptr::null_mut()))) } #[inline] -pub unsafe fn RtlQueryProcessPlaceholderCompatibilityMode() -> u8 { - ::windows_targets::link!("ntdll.dll" "system" fn RtlQueryProcessPlaceholderCompatibilityMode() -> u8); +pub unsafe fn RtlQueryProcessPlaceholderCompatibilityMode() -> i8 { + ::windows_targets::link!("ntdll.dll" "system" fn RtlQueryProcessPlaceholderCompatibilityMode() -> i8); RtlQueryProcessPlaceholderCompatibilityMode() } #[inline] -pub unsafe fn RtlQueryThreadPlaceholderCompatibilityMode() -> u8 { - ::windows_targets::link!("ntdll.dll" "system" fn RtlQueryThreadPlaceholderCompatibilityMode() -> u8); +pub unsafe fn RtlQueryThreadPlaceholderCompatibilityMode() -> i8 { + ::windows_targets::link!("ntdll.dll" "system" fn RtlQueryThreadPlaceholderCompatibilityMode() -> i8); RtlQueryThreadPlaceholderCompatibilityMode() } #[inline] @@ -3826,13 +3826,13 @@ where RtlSetOwnerSecurityDescriptor(securitydescriptor, owner.into_param().abi(), ownerdefaulted.into_param().abi()) } #[inline] -pub unsafe fn RtlSetProcessPlaceholderCompatibilityMode(mode: u8) -> u8 { - ::windows_targets::link!("ntdll.dll" "system" fn RtlSetProcessPlaceholderCompatibilityMode(mode : u8) -> u8); +pub unsafe fn RtlSetProcessPlaceholderCompatibilityMode(mode: i8) -> i8 { + ::windows_targets::link!("ntdll.dll" "system" fn RtlSetProcessPlaceholderCompatibilityMode(mode : i8) -> i8); RtlSetProcessPlaceholderCompatibilityMode(mode) } #[inline] -pub unsafe fn RtlSetThreadPlaceholderCompatibilityMode(mode: u8) -> u8 { - ::windows_targets::link!("ntdll.dll" "system" fn RtlSetThreadPlaceholderCompatibilityMode(mode : u8) -> u8); +pub unsafe fn RtlSetThreadPlaceholderCompatibilityMode(mode: i8) -> i8 { + ::windows_targets::link!("ntdll.dll" "system" fn RtlSetThreadPlaceholderCompatibilityMode(mode : i8) -> i8); RtlSetThreadPlaceholderCompatibilityMode(mode) } #[inline] @@ -7891,7 +7891,7 @@ pub struct FILE_FULL_EA_INFORMATION { pub Flags: u8, pub EaNameLength: u8, pub EaValueLength: u16, - pub EaName: [u8; 1], + pub EaName: [i8; 1], } impl ::core::marker::Copy for FILE_FULL_EA_INFORMATION {} impl ::core::clone::Clone for FILE_FULL_EA_INFORMATION { @@ -7922,7 +7922,7 @@ impl ::core::default::Default for FILE_FULL_EA_INFORMATION { pub struct FILE_GET_EA_INFORMATION { pub NextEntryOffset: u32, pub EaNameLength: u8, - pub EaName: [u8; 1], + pub EaName: [i8; 1], } impl ::core::marker::Copy for FILE_GET_EA_INFORMATION {} impl ::core::clone::Clone for FILE_GET_EA_INFORMATION { @@ -9322,7 +9322,7 @@ pub struct FILE_PIPE_PEEK_BUFFER { pub ReadDataAvailable: u32, pub NumberOfMessages: u32, pub MessageLength: u32, - pub Data: [u8; 1], + pub Data: [i8; 1], } impl ::core::marker::Copy for FILE_PIPE_PEEK_BUFFER {} impl ::core::clone::Clone for FILE_PIPE_PEEK_BUFFER { @@ -10036,7 +10036,7 @@ impl ::core::default::Default for FILE_TIMESTAMPS { pub struct FILE_TRACKING_INFORMATION { pub DestinationFile: super::super::super::Win32::Foundation::HANDLE, pub ObjectInformationLength: u32, - pub ObjectInformation: [u8; 1], + pub ObjectInformation: [i8; 1], } impl ::core::marker::Copy for FILE_TRACKING_INFORMATION {} impl ::core::clone::Clone for FILE_TRACKING_INFORMATION { diff --git a/crates/libs/windows/src/Windows/Wdk/System/SystemServices/mod.rs b/crates/libs/windows/src/Windows/Wdk/System/SystemServices/mod.rs index 930fd87eac..43392c0216 100644 --- a/crates/libs/windows/src/Windows/Wdk/System/SystemServices/mod.rs +++ b/crates/libs/windows/src/Windows/Wdk/System/SystemServices/mod.rs @@ -6997,8 +6997,8 @@ where RtlUpcaseUnicodeString(destinationstring, sourcestring, allocatedestinationstring.into_param().abi()) } #[inline] -pub unsafe fn RtlUpperChar(character: u8) -> u8 { - ::windows_targets::link!("ntdll.dll" "system" fn RtlUpperChar(character : u8) -> u8); +pub unsafe fn RtlUpperChar(character: i8) -> i8 { + ::windows_targets::link!("ntdll.dll" "system" fn RtlUpperChar(character : i8) -> i8); RtlUpperChar(character) } #[doc = "Required features: `\"Win32_System_Kernel\"`"] @@ -14013,7 +14013,7 @@ impl ::core::default::Default for CM_EISA_SLOT_INFORMATION { pub struct CM_FLOPPY_DEVICE_DATA { pub Version: u16, pub Revision: u16, - pub Size: [u8; 8], + pub Size: [i8; 8], pub MaxDensity: u32, pub MountDensity: u32, pub StepRateHeadUnloadTime: u8, @@ -34984,7 +34984,7 @@ pub struct RTL_BALANCED_LINKS { pub Parent: *mut RTL_BALANCED_LINKS, pub LeftChild: *mut RTL_BALANCED_LINKS, pub RightChild: *mut RTL_BALANCED_LINKS, - pub Balance: u8, + pub Balance: i8, pub Reserved: [u8; 3], } impl ::core::marker::Copy for RTL_BALANCED_LINKS {} @@ -35563,7 +35563,7 @@ pub struct SOC_SUBSYSTEM_FAILURE_DETAILS { pub FirmwareVersion: u64, pub HardwareVersion: u64, pub UnifiedFailureRegionSize: u32, - pub UnifiedFailureRegion: [u8; 1], + pub UnifiedFailureRegion: [i8; 1], } impl ::core::marker::Copy for SOC_SUBSYSTEM_FAILURE_DETAILS {} impl ::core::clone::Clone for SOC_SUBSYSTEM_FAILURE_DETAILS { @@ -36508,8 +36508,8 @@ impl ::core::default::Default for WHEA128A { #[repr(C)] pub struct WHEAP_ACPI_TIMEOUT_EVENT { pub WheaEventLogEntry: WHEA_EVENT_LOG_ENTRY, - pub TableType: [u8; 32], - pub TableRequest: [u8; 32], + pub TableType: [i8; 32], + pub TableRequest: [i8; 32], } impl ::core::marker::Copy for WHEAP_ACPI_TIMEOUT_EVENT {} impl ::core::clone::Clone for WHEAP_ACPI_TIMEOUT_EVENT { @@ -36686,7 +36686,7 @@ impl ::core::default::Default for WHEAP_CMCI_RESTART_EVENT { #[repr(C, packed(1))] pub struct WHEAP_CREATE_GENERIC_RECORD_EVENT { pub WheaEventLogEntry: WHEA_EVENT_LOG_ENTRY, - pub Error: [u8; 32], + pub Error: [i8; 32], pub EntryCount: u32, pub Status: super::super::super::Win32::Foundation::NTSTATUS, } @@ -36732,7 +36732,7 @@ impl ::core::default::Default for WHEAP_DEFERRED_EVENT { #[repr(C)] pub struct WHEAP_DEVICE_DRV_EVENT { pub WheaEventLogEntry: WHEA_EVENT_LOG_ENTRY, - pub Function: [u8; 32], + pub Function: [i8; 32], } impl ::core::marker::Copy for WHEAP_DEVICE_DRV_EVENT {} impl ::core::clone::Clone for WHEAP_DEVICE_DRV_EVENT { @@ -36884,7 +36884,7 @@ impl ::core::default::Default for WHEAP_ERR_SRC_ARRAY_INVALID_EVENT { pub struct WHEAP_ERR_SRC_INVALID_EVENT { pub WheaEventLogEntry: WHEA_EVENT_LOG_ENTRY, pub ErrDescriptor: super::super::super::Win32::System::Diagnostics::Debug::WHEA_ERROR_SOURCE_DESCRIPTOR, - pub Error: [u8; 32], + pub Error: [i8; 32], } #[cfg(feature = "Win32_System_Diagnostics_Debug")] impl ::core::marker::Copy for WHEAP_ERR_SRC_INVALID_EVENT {} @@ -36929,7 +36929,7 @@ impl ::core::default::Default for WHEAP_FOUND_ERROR_IN_BANK_EVENT { #[repr(C, packed(1))] pub struct WHEAP_GENERIC_ERR_MEM_MAP_EVENT { pub WheaEventLogEntry: WHEA_EVENT_LOG_ENTRY, - pub MapReason: [u8; 32], + pub MapReason: [i8; 32], pub PhysicalAddress: u64, pub Length: u64, } @@ -37186,7 +37186,7 @@ impl ::core::default::Default for WHEAP_PLUGIN_PFA_EVENT { #[repr(C, packed(1))] pub struct WHEAP_PROCESS_EINJ_EVENT { pub WheaEventLogEntry: WHEA_EVENT_LOG_ENTRY, - pub Error: [u8; 32], + pub Error: [i8; 32], pub InjectionActionTableValid: super::super::super::Win32::Foundation::BOOLEAN, pub BeginInjectionInstructionCount: u32, pub GetTriggerErrorActionTableInstructionCount: u32, @@ -37216,8 +37216,8 @@ impl ::core::default::Default for WHEAP_PROCESS_EINJ_EVENT { #[repr(C, packed(1))] pub struct WHEAP_PROCESS_HEST_EVENT { pub WheaEventLogEntry: WHEA_EVENT_LOG_ENTRY, - pub Error: [u8; 32], - pub EntryType: [u8; 32], + pub Error: [i8; 32], + pub EntryType: [i8; 32], pub EntryIndex: u32, pub HestValid: super::super::super::Win32::Foundation::BOOLEAN, pub CmcCount: u32, diff --git a/crates/libs/windows/src/Windows/Win32/Devices/Bluetooth/mod.rs b/crates/libs/windows/src/Windows/Win32/Devices/Bluetooth/mod.rs index f20aa335a1..fb6342ba0f 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/Bluetooth/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/Bluetooth/mod.rs @@ -1847,7 +1847,7 @@ pub struct BTH_DEVICE_INFO { pub flags: u32, pub address: u64, pub classOfDevice: u32, - pub name: [u8; 248], + pub name: [i8; 248], } impl ::core::marker::Copy for BTH_DEVICE_INFO {} impl ::core::clone::Clone for BTH_DEVICE_INFO { @@ -2671,7 +2671,7 @@ pub union SDP_ELEMENT_DATA_0 { pub int64: i64, pub int32: i32, pub int16: i16, - pub int8: u8, + pub int8: i8, pub uint128: SDP_ULARGE_INTEGER_16, pub uint64: u64, pub uint32: u32, diff --git a/crates/libs/windows/src/Windows/Win32/Devices/Communication/mod.rs b/crates/libs/windows/src/Windows/Win32/Devices/Communication/mod.rs index d793add359..ea0f166125 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/Communication/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/Communication/mod.rs @@ -219,11 +219,11 @@ where SetupComm(hfile.into_param().abi(), dwinqueue, dwoutqueue).ok() } #[inline] -pub unsafe fn TransmitCommChar(hfile: P0, cchar: u8) -> ::windows_core::Result<()> +pub unsafe fn TransmitCommChar(hfile: P0, cchar: i8) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam, { - ::windows_targets::link!("kernel32.dll" "system" fn TransmitCommChar(hfile : super::super::Foundation:: HANDLE, cchar : u8) -> super::super::Foundation:: BOOL); + ::windows_targets::link!("kernel32.dll" "system" fn TransmitCommChar(hfile : super::super::Foundation:: HANDLE, cchar : i8) -> super::super::Foundation:: BOOL); TransmitCommChar(hfile.into_param().abi(), cchar).ok() } #[doc = "Required features: `\"Win32_System_IO\"`"] @@ -995,11 +995,11 @@ pub struct DCB { pub ByteSize: u8, pub Parity: DCB_PARITY, pub StopBits: DCB_STOP_BITS, - pub XonChar: u8, - pub XoffChar: u8, - pub ErrorChar: u8, - pub EofChar: u8, - pub EvtChar: u8, + pub XonChar: i8, + pub XoffChar: i8, + pub ErrorChar: i8, + pub EofChar: i8, + pub EvtChar: i8, pub wReserved1: u16, } impl ::core::marker::Copy for DCB {} diff --git a/crates/libs/windows/src/Windows/Win32/Devices/DeviceAndDriverInstallation/mod.rs b/crates/libs/windows/src/Windows/Win32/Devices/DeviceAndDriverInstallation/mod.rs index 52d68a3a38..a3a214b9a9 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/DeviceAndDriverInstallation/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/DeviceAndDriverInstallation/mod.rs @@ -7494,7 +7494,7 @@ pub struct CONFLICT_DETAILS_A { pub CD_dnDevInst: u32, pub CD_rdResDes: usize, pub CD_ulFlags: CM_CDFLAGS, - pub CD_szDescription: [u8; 260], + pub CD_szDescription: [i8; 260], } impl ::core::marker::Copy for CONFLICT_DETAILS_A {} impl ::core::clone::Clone for CONFLICT_DETAILS_A { @@ -7989,7 +7989,7 @@ pub struct FILE_IN_CABINET_INFO_A { pub DosDate: u16, pub DosTime: u16, pub DosAttribs: u16, - pub FullTargetName: [u8; 260], + pub FullTargetName: [i8; 260], } #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] impl ::core::marker::Copy for FILE_IN_CABINET_INFO_A {} @@ -8018,7 +8018,7 @@ pub struct FILE_IN_CABINET_INFO_A { pub DosDate: u16, pub DosTime: u16, pub DosAttribs: u16, - pub FullTargetName: [u8; 260], + pub FullTargetName: [i8; 260], } #[cfg(target_arch = "x86")] impl ::core::marker::Copy for FILE_IN_CABINET_INFO_A {} @@ -8153,7 +8153,7 @@ impl ::windows_core::TypeKind for HDEVINFO { #[repr(C, packed(1))] pub struct HWPROFILEINFO_A { pub HWPI_ulHWProfile: u32, - pub HWPI_szFriendlyName: [u8; 80], + pub HWPI_szFriendlyName: [i8; 80], pub HWPI_dwFlags: u32, } impl ::core::marker::Copy for HWPROFILEINFO_A {} @@ -9055,7 +9055,7 @@ impl ::core::default::Default for SP_ALTPLATFORM_INFO_V3_0 { #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] pub struct SP_BACKUP_QUEUE_PARAMS_V1_A { pub cbSize: u32, - pub FullInfPath: [u8; 260], + pub FullInfPath: [i8; 260], pub FilenameOffset: i32, } #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] @@ -9080,7 +9080,7 @@ impl ::core::default::Default for SP_BACKUP_QUEUE_PARAMS_V1_A { #[cfg(target_arch = "x86")] pub struct SP_BACKUP_QUEUE_PARAMS_V1_A { pub cbSize: u32, - pub FullInfPath: [u8; 260], + pub FullInfPath: [i8; 260], pub FilenameOffset: i32, } #[cfg(target_arch = "x86")] @@ -9155,9 +9155,9 @@ impl ::core::default::Default for SP_BACKUP_QUEUE_PARAMS_V1_W { #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] pub struct SP_BACKUP_QUEUE_PARAMS_V2_A { pub cbSize: u32, - pub FullInfPath: [u8; 260], + pub FullInfPath: [i8; 260], pub FilenameOffset: i32, - pub ReinstallInstance: [u8; 260], + pub ReinstallInstance: [i8; 260], } #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] impl ::core::marker::Copy for SP_BACKUP_QUEUE_PARAMS_V2_A {} @@ -9181,9 +9181,9 @@ impl ::core::default::Default for SP_BACKUP_QUEUE_PARAMS_V2_A { #[cfg(target_arch = "x86")] pub struct SP_BACKUP_QUEUE_PARAMS_V2_A { pub cbSize: u32, - pub FullInfPath: [u8; 260], + pub FullInfPath: [i8; 260], pub FilenameOffset: i32, - pub ReinstallInstance: [u8; 260], + pub ReinstallInstance: [i8; 260], } #[cfg(target_arch = "x86")] impl ::core::marker::Copy for SP_BACKUP_QUEUE_PARAMS_V2_A {} @@ -9471,7 +9471,7 @@ impl ::core::default::Default for SP_DEVICE_INTERFACE_DATA { #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] pub struct SP_DEVICE_INTERFACE_DETAIL_DATA_A { pub cbSize: u32, - pub DevicePath: [u8; 1], + pub DevicePath: [i8; 1], } #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] impl ::core::marker::Copy for SP_DEVICE_INTERFACE_DETAIL_DATA_A {} @@ -9495,7 +9495,7 @@ impl ::core::default::Default for SP_DEVICE_INTERFACE_DETAIL_DATA_A { #[cfg(target_arch = "x86")] pub struct SP_DEVICE_INTERFACE_DETAIL_DATA_A { pub cbSize: u32, - pub DevicePath: [u8; 1], + pub DevicePath: [i8; 1], } #[cfg(target_arch = "x86")] impl ::core::marker::Copy for SP_DEVICE_INTERFACE_DETAIL_DATA_A {} @@ -9621,7 +9621,7 @@ pub struct SP_DEVINFO_LIST_DETAIL_DATA_A { pub cbSize: u32, pub ClassGuid: ::windows_core::GUID, pub RemoteMachineHandle: super::super::Foundation::HANDLE, - pub RemoteMachineName: [u8; 263], + pub RemoteMachineName: [i8; 263], } #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] impl ::core::marker::Copy for SP_DEVINFO_LIST_DETAIL_DATA_A {} @@ -9647,7 +9647,7 @@ pub struct SP_DEVINFO_LIST_DETAIL_DATA_A { pub cbSize: u32, pub ClassGuid: ::windows_core::GUID, pub RemoteMachineHandle: super::super::Foundation::HANDLE, - pub RemoteMachineName: [u8; 263], + pub RemoteMachineName: [i8; 263], } #[cfg(target_arch = "x86")] impl ::core::marker::Copy for SP_DEVINFO_LIST_DETAIL_DATA_A {} @@ -9731,7 +9731,7 @@ pub struct SP_DEVINSTALL_PARAMS_A { pub FileQueue: *mut ::core::ffi::c_void, pub ClassInstallReserved: usize, pub Reserved: u32, - pub DriverPath: [u8; 260], + pub DriverPath: [i8; 260], } #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] impl ::core::marker::Copy for SP_DEVINSTALL_PARAMS_A {} @@ -9763,7 +9763,7 @@ pub struct SP_DEVINSTALL_PARAMS_A { pub FileQueue: *mut ::core::ffi::c_void, pub ClassInstallReserved: usize, pub Reserved: u32, - pub DriverPath: [u8; 260], + pub DriverPath: [i8; 260], } #[cfg(target_arch = "x86")] impl ::core::marker::Copy for SP_DEVINSTALL_PARAMS_A {} @@ -9853,9 +9853,9 @@ pub struct SP_DRVINFO_DATA_V1_A { pub cbSize: u32, pub DriverType: u32, pub Reserved: usize, - pub Description: [u8; 256], - pub MfgName: [u8; 256], - pub ProviderName: [u8; 256], + pub Description: [i8; 256], + pub MfgName: [i8; 256], + pub ProviderName: [i8; 256], } #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] impl ::core::marker::Copy for SP_DRVINFO_DATA_V1_A {} @@ -9881,9 +9881,9 @@ pub struct SP_DRVINFO_DATA_V1_A { pub cbSize: u32, pub DriverType: u32, pub Reserved: usize, - pub Description: [u8; 256], - pub MfgName: [u8; 256], - pub ProviderName: [u8; 256], + pub Description: [i8; 256], + pub MfgName: [i8; 256], + pub ProviderName: [i8; 256], } #[cfg(target_arch = "x86")] impl ::core::marker::Copy for SP_DRVINFO_DATA_V1_A {} @@ -9965,9 +9965,9 @@ pub struct SP_DRVINFO_DATA_V2_A { pub cbSize: u32, pub DriverType: u32, pub Reserved: usize, - pub Description: [u8; 256], - pub MfgName: [u8; 256], - pub ProviderName: [u8; 256], + pub Description: [i8; 256], + pub MfgName: [i8; 256], + pub ProviderName: [i8; 256], pub DriverDate: super::super::Foundation::FILETIME, pub DriverVersion: u64, } @@ -9995,9 +9995,9 @@ pub struct SP_DRVINFO_DATA_V2_A { pub cbSize: u32, pub DriverType: u32, pub Reserved: usize, - pub Description: [u8; 256], - pub MfgName: [u8; 256], - pub ProviderName: [u8; 256], + pub Description: [i8; 256], + pub MfgName: [i8; 256], + pub ProviderName: [i8; 256], pub DriverDate: super::super::Foundation::FILETIME, pub DriverVersion: u64, } @@ -10087,10 +10087,10 @@ pub struct SP_DRVINFO_DETAIL_DATA_A { pub CompatIDsOffset: u32, pub CompatIDsLength: u32, pub Reserved: usize, - pub SectionName: [u8; 256], - pub InfFileName: [u8; 260], - pub DrvDescription: [u8; 256], - pub HardwareID: [u8; 1], + pub SectionName: [i8; 256], + pub InfFileName: [i8; 260], + pub DrvDescription: [i8; 256], + pub HardwareID: [i8; 1], } #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] impl ::core::marker::Copy for SP_DRVINFO_DETAIL_DATA_A {} @@ -10118,10 +10118,10 @@ pub struct SP_DRVINFO_DETAIL_DATA_A { pub CompatIDsOffset: u32, pub CompatIDsLength: u32, pub Reserved: usize, - pub SectionName: [u8; 256], - pub InfFileName: [u8; 260], - pub DrvDescription: [u8; 256], - pub HardwareID: [u8; 1], + pub SectionName: [i8; 256], + pub InfFileName: [i8; 260], + pub DrvDescription: [i8; 256], + pub HardwareID: [i8; 1], } #[cfg(target_arch = "x86")] impl ::core::marker::Copy for SP_DRVINFO_DETAIL_DATA_A {} @@ -10497,9 +10497,9 @@ impl ::core::default::Default for SP_INF_INFORMATION { #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] pub struct SP_INF_SIGNER_INFO_V1_A { pub cbSize: u32, - pub CatalogFile: [u8; 260], - pub DigitalSigner: [u8; 260], - pub DigitalSignerVersion: [u8; 260], + pub CatalogFile: [i8; 260], + pub DigitalSigner: [i8; 260], + pub DigitalSignerVersion: [i8; 260], } #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] impl ::core::marker::Copy for SP_INF_SIGNER_INFO_V1_A {} @@ -10523,9 +10523,9 @@ impl ::core::default::Default for SP_INF_SIGNER_INFO_V1_A { #[cfg(target_arch = "x86")] pub struct SP_INF_SIGNER_INFO_V1_A { pub cbSize: u32, - pub CatalogFile: [u8; 260], - pub DigitalSigner: [u8; 260], - pub DigitalSignerVersion: [u8; 260], + pub CatalogFile: [i8; 260], + pub DigitalSigner: [i8; 260], + pub DigitalSignerVersion: [i8; 260], } #[cfg(target_arch = "x86")] impl ::core::marker::Copy for SP_INF_SIGNER_INFO_V1_A {} @@ -10601,9 +10601,9 @@ impl ::core::default::Default for SP_INF_SIGNER_INFO_V1_W { #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] pub struct SP_INF_SIGNER_INFO_V2_A { pub cbSize: u32, - pub CatalogFile: [u8; 260], - pub DigitalSigner: [u8; 260], - pub DigitalSignerVersion: [u8; 260], + pub CatalogFile: [i8; 260], + pub DigitalSigner: [i8; 260], + pub DigitalSignerVersion: [i8; 260], pub SignerScore: u32, } #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] @@ -10628,9 +10628,9 @@ impl ::core::default::Default for SP_INF_SIGNER_INFO_V2_A { #[cfg(target_arch = "x86")] pub struct SP_INF_SIGNER_INFO_V2_A { pub cbSize: u32, - pub CatalogFile: [u8; 260], - pub DigitalSigner: [u8; 260], - pub DigitalSignerVersion: [u8; 260], + pub CatalogFile: [i8; 260], + pub DigitalSigner: [i8; 260], + pub DigitalSignerVersion: [i8; 260], pub SignerScore: u32, } #[cfg(target_arch = "x86")] @@ -10847,8 +10847,8 @@ impl ::core::default::Default for SP_NEWDEVICEWIZARD_DATA { #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] pub struct SP_ORIGINAL_FILE_INFO_A { pub cbSize: u32, - pub OriginalInfName: [u8; 260], - pub OriginalCatalogName: [u8; 260], + pub OriginalInfName: [i8; 260], + pub OriginalCatalogName: [i8; 260], } #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] impl ::core::marker::Copy for SP_ORIGINAL_FILE_INFO_A {} @@ -10872,8 +10872,8 @@ impl ::core::default::Default for SP_ORIGINAL_FILE_INFO_A { #[cfg(target_arch = "x86")] pub struct SP_ORIGINAL_FILE_INFO_A { pub cbSize: u32, - pub OriginalInfName: [u8; 260], - pub OriginalCatalogName: [u8; 260], + pub OriginalInfName: [i8; 260], + pub OriginalCatalogName: [i8; 260], } #[cfg(target_arch = "x86")] impl ::core::marker::Copy for SP_ORIGINAL_FILE_INFO_A {} @@ -10946,7 +10946,7 @@ impl ::core::default::Default for SP_ORIGINAL_FILE_INFO_W { #[repr(C)] pub struct SP_POWERMESSAGEWAKE_PARAMS_A { pub ClassInstallHeader: SP_CLASSINSTALL_HEADER, - pub PowerMessageWake: [u8; 512], + pub PowerMessageWake: [i8; 512], } impl ::core::marker::Copy for SP_POWERMESSAGEWAKE_PARAMS_A {} impl ::core::clone::Clone for SP_POWERMESSAGEWAKE_PARAMS_A { @@ -11271,10 +11271,10 @@ impl ::core::default::Default for SP_REMOVEDEVICE_PARAMS { #[repr(C)] pub struct SP_SELECTDEVICE_PARAMS_A { pub ClassInstallHeader: SP_CLASSINSTALL_HEADER, - pub Title: [u8; 60], - pub Instructions: [u8; 256], - pub ListLabel: [u8; 30], - pub SubTitle: [u8; 256], + pub Title: [i8; 60], + pub Instructions: [i8; 256], + pub ListLabel: [i8; 30], + pub SubTitle: [i8; 256], pub Reserved: [u8; 2], } impl ::core::marker::Copy for SP_SELECTDEVICE_PARAMS_A {} @@ -11348,8 +11348,8 @@ impl ::core::default::Default for SP_SELECTDEVICE_PARAMS_W { #[repr(C)] pub struct SP_TROUBLESHOOTER_PARAMS_A { pub ClassInstallHeader: SP_CLASSINSTALL_HEADER, - pub ChmFile: [u8; 260], - pub HtmlTroubleShooter: [u8; 260], + pub ChmFile: [i8; 260], + pub HtmlTroubleShooter: [i8; 260], } impl ::core::marker::Copy for SP_TROUBLESHOOTER_PARAMS_A {} impl ::core::clone::Clone for SP_TROUBLESHOOTER_PARAMS_A { diff --git a/crates/libs/windows/src/Windows/Win32/Devices/Display/mod.rs b/crates/libs/windows/src/Windows/Win32/Devices/Display/mod.rs index 97ed6daed6..7b8e9c9541 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/Display/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/Display/mod.rs @@ -8228,8 +8228,8 @@ impl ::core::default::Default for TYPE1_FONT { } #[repr(C)] pub struct VGA_CHAR { - pub Char: u8, - pub Attributes: u8, + pub Char: i8, + pub Attributes: i8, } impl ::core::marker::Copy for VGA_CHAR {} impl ::core::clone::Clone for VGA_CHAR { diff --git a/crates/libs/windows/src/Windows/Win32/Devices/Fax/mod.rs b/crates/libs/windows/src/Windows/Win32/Devices/Fax/mod.rs index eaf6333e61..666e9b1e3a 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/Fax/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/Fax/mod.rs @@ -7282,7 +7282,7 @@ impl ::core::default::Default for FAX_CONFIGURATIONW { pub struct FAX_CONTEXT_INFOA { pub SizeOfStruct: u32, pub hDC: super::super::Graphics::Gdi::HDC, - pub ServerName: [u8; 16], + pub ServerName: [i8; 16], } #[cfg(feature = "Win32_Graphics_Gdi")] impl ::core::marker::Copy for FAX_CONTEXT_INFOA {} diff --git a/crates/libs/windows/src/Windows/Win32/Devices/Geolocation/mod.rs b/crates/libs/windows/src/Windows/Win32/Devices/Geolocation/mod.rs index 3eb76d78ec..9a815c7221 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/Geolocation/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/Geolocation/mod.rs @@ -2365,7 +2365,7 @@ impl ::core::default::Default for GNSS_NI_RESPONSE { pub struct GNSS_NMEA_DATA { pub Size: u32, pub Version: u32, - pub NmeaSentences: [u8; 256], + pub NmeaSentences: [i8; 256], } impl ::core::marker::Copy for GNSS_NMEA_DATA {} impl ::core::clone::Clone for GNSS_NMEA_DATA { @@ -2596,7 +2596,7 @@ pub struct GNSS_SUPL_CERT_CONFIG { pub Size: u32, pub Version: u32, pub CertAction: GNSS_SUPL_CERT_ACTION, - pub SuplCertName: [u8; 260], + pub SuplCertName: [i8; 260], pub CertSize: u32, pub Unused: [u8; 512], pub CertData: [u8; 1], @@ -2630,8 +2630,8 @@ impl ::core::default::Default for GNSS_SUPL_CERT_CONFIG { pub struct GNSS_SUPL_HSLP_CONFIG { pub Size: u32, pub Version: u32, - pub SuplHslp: [u8; 260], - pub SuplHslpFromImsi: [u8; 260], + pub SuplHslp: [i8; 260], + pub SuplHslpFromImsi: [i8; 260], pub Reserved: u32, pub Unused: [u8; 512], } @@ -2666,7 +2666,7 @@ pub struct GNSS_SUPL_NI_INFO { pub Version: u32, pub RequestorId: [u16; 260], pub ClientName: [u16; 260], - pub SuplNiUrl: [u8; 260], + pub SuplNiUrl: [i8; 260], } impl ::core::marker::Copy for GNSS_SUPL_NI_INFO {} impl ::core::clone::Clone for GNSS_SUPL_NI_INFO { @@ -2758,8 +2758,8 @@ impl ::core::default::Default for GNSS_SUPL_VERSION_2 { pub struct GNSS_V2UPL_CONFIG { pub Size: u32, pub Version: u32, - pub MPC: [u8; 260], - pub PDE: [u8; 260], + pub MPC: [i8; 260], + pub PDE: [i8; 260], pub ApplicationTypeIndicator_MR: u8, pub Unused: [u8; 512], } diff --git a/crates/libs/windows/src/Windows/Win32/Devices/HumanInterfaceDevice/mod.rs b/crates/libs/windows/src/Windows/Win32/Devices/HumanInterfaceDevice/mod.rs index 286a978bfd..e42203580a 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/HumanInterfaceDevice/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/HumanInterfaceDevice/mod.rs @@ -4575,7 +4575,7 @@ pub struct DIACTIONFORMATA { pub hInstString: super::super::Foundation::HINSTANCE, pub ftTimeStamp: super::super::Foundation::FILETIME, pub dwCRC: u32, - pub tszActionMap: [u8; 260], + pub tszActionMap: [i8; 260], } impl ::core::marker::Copy for DIACTIONFORMATA {} impl ::core::clone::Clone for DIACTIONFORMATA { @@ -5040,7 +5040,7 @@ impl ::core::default::Default for DIDEVCAPS_DX3 { } #[repr(C)] pub struct DIDEVICEIMAGEINFOA { - pub tszImagePath: [u8; 260], + pub tszImagePath: [i8; 260], pub dwFlags: u32, pub dwViewID: u32, pub rcOverlay: super::super::Foundation::RECT, @@ -5192,8 +5192,8 @@ pub struct DIDEVICEINSTANCEA { pub guidInstance: ::windows_core::GUID, pub guidProduct: ::windows_core::GUID, pub dwDevType: u32, - pub tszInstanceName: [u8; 260], - pub tszProductName: [u8; 260], + pub tszInstanceName: [i8; 260], + pub tszProductName: [i8; 260], pub guidFFDriver: ::windows_core::GUID, pub wUsagePage: u16, pub wUsage: u16, @@ -5266,8 +5266,8 @@ pub struct DIDEVICEINSTANCE_DX3A { pub guidInstance: ::windows_core::GUID, pub guidProduct: ::windows_core::GUID, pub dwDevType: u32, - pub tszInstanceName: [u8; 260], - pub tszProductName: [u8; 260], + pub tszInstanceName: [i8; 260], + pub tszProductName: [i8; 260], } impl ::core::marker::Copy for DIDEVICEINSTANCE_DX3A {} impl ::core::clone::Clone for DIDEVICEINSTANCE_DX3A { @@ -5400,7 +5400,7 @@ pub struct DIDEVICEOBJECTINSTANCEA { pub dwOfs: u32, pub dwType: u32, pub dwFlags: u32, - pub tszName: [u8; 260], + pub tszName: [i8; 260], pub dwFFMaxForce: u32, pub dwFFForceResolution: u32, pub wCollectionNumber: u16, @@ -5518,7 +5518,7 @@ pub struct DIDEVICEOBJECTINSTANCE_DX3A { pub dwOfs: u32, pub dwType: u32, pub dwFlags: u32, - pub tszName: [u8; 260], + pub tszName: [i8; 260], } impl ::core::marker::Copy for DIDEVICEOBJECTINSTANCE_DX3A {} impl ::core::clone::Clone for DIDEVICEOBJECTINSTANCE_DX3A { @@ -5739,7 +5739,7 @@ pub struct DIEFFECTINFOA { pub dwEffType: u32, pub dwStaticParams: u32, pub dwDynamicParams: u32, - pub tszName: [u8; 260], + pub tszName: [i8; 260], } impl ::core::marker::Copy for DIEFFECTINFOA {} impl ::core::clone::Clone for DIEFFECTINFOA { @@ -5988,7 +5988,7 @@ pub struct DIFILEEFFECT { pub dwSize: u32, pub GuidEffect: ::windows_core::GUID, pub lpDiEffect: *mut DIEFFECT, - pub szFriendlyName: [u8; 260], + pub szFriendlyName: [i8; 260], } impl ::core::marker::Copy for DIFILEEFFECT {} impl ::core::clone::Clone for DIFILEEFFECT { diff --git a/crates/libs/windows/src/Windows/Win32/Devices/ImageAcquisition/mod.rs b/crates/libs/windows/src/Windows/Win32/Devices/ImageAcquisition/mod.rs index 97d039ef17..5b15a66349 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/ImageAcquisition/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/ImageAcquisition/mod.rs @@ -3059,7 +3059,7 @@ pub struct VAL { pub ppButtonNames: *mut *mut u16, pub pHandle: *mut super::super::Foundation::HANDLE, pub lReserved: i32, - pub szVal: [u8; 255], + pub szVal: [i8; 255], } impl ::core::marker::Copy for VAL {} impl ::core::clone::Clone for VAL { diff --git a/crates/libs/windows/src/Windows/Win32/Devices/Tapi/mod.rs b/crates/libs/windows/src/Windows/Win32/Devices/Tapi/mod.rs index bca0dd0e41..1f6a25fba0 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/Tapi/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/Tapi/mod.rs @@ -10557,9 +10557,9 @@ impl ::core::fmt::Debug for TERMINAL_TYPE { } #[repr(C)] pub struct ADDRALIAS { - pub rgchName: [u8; 41], - pub rgchEName: [u8; 11], - pub rgchSrvr: [u8; 12], + pub rgchName: [i8; 41], + pub rgchEName: [i8; 11], + pub rgchSrvr: [i8; 12], pub dibDetail: u32, pub r#type: u16, } @@ -12730,10 +12730,10 @@ impl ::core::default::Default for LINEQUEUELIST { } #[repr(C)] pub struct LINEREQMAKECALL { - pub szDestAddress: [u8; 80], - pub szAppName: [u8; 40], - pub szCalledParty: [u8; 40], - pub szComment: [u8; 80], + pub szDestAddress: [i8; 80], + pub szAppName: [i8; 40], + pub szCalledParty: [i8; 40], + pub szComment: [i8; 80], } impl ::core::marker::Copy for LINEREQMAKECALL {} impl ::core::clone::Clone for LINEREQMAKECALL { @@ -12785,14 +12785,14 @@ impl ::core::default::Default for LINEREQMAKECALLW { pub struct LINEREQMEDIACALL { pub hWnd: super::super::Foundation::HWND, pub wRequestID: super::super::Foundation::WPARAM, - pub szDeviceClass: [u8; 40], + pub szDeviceClass: [i8; 40], pub ucDeviceID: [u8; 40], pub dwSize: u32, pub dwSecure: u32, - pub szDestAddress: [u8; 80], - pub szAppName: [u8; 40], - pub szCalledParty: [u8; 40], - pub szComment: [u8; 80], + pub szDestAddress: [i8; 80], + pub szAppName: [i8; 40], + pub szCalledParty: [i8; 40], + pub szComment: [i8; 80], } impl ::core::marker::Copy for LINEREQMEDIACALL {} impl ::core::clone::Clone for LINEREQMEDIACALL { @@ -13293,7 +13293,7 @@ impl ::core::default::Default for NSID { #[repr(C)] pub union NSID_0 { pub alias: ADDRALIAS, - pub rgchInterNet: [u8; 1], + pub rgchInterNet: [i8; 1], } impl ::core::marker::Copy for NSID_0 {} impl ::core::clone::Clone for NSID_0 { diff --git a/crates/libs/windows/src/Windows/Win32/Globalization/impl.rs b/crates/libs/windows/src/Windows/Win32/Globalization/impl.rs index ba2f16567d..50d635ae7f 100644 --- a/crates/libs/windows/src/Windows/Win32/Globalization/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Globalization/impl.rs @@ -563,7 +563,7 @@ impl IMLangStringAStr_Vtbl { } pub trait IMLangStringBufA_Impl: Sized { fn GetStatus(&self, plflags: *mut i32, pcchbuf: *mut i32) -> ::windows_core::Result<()>; - fn LockBuf(&self, cchoffset: i32, cchmaxlock: i32, ppszbuf: *mut *mut u8, pcchbuf: *mut i32) -> ::windows_core::Result<()>; + fn LockBuf(&self, cchoffset: i32, cchmaxlock: i32, ppszbuf: *mut *mut i8, pcchbuf: *mut i32) -> ::windows_core::Result<()>; fn UnlockBuf(&self, pszbuf: &::windows_core::PCSTR, cchoffset: i32, cchwrite: i32) -> ::windows_core::Result<()>; fn Insert(&self, cchoffset: i32, cchmaxinsert: i32, pcchactual: *mut i32) -> ::windows_core::Result<()>; fn Delete(&self, cchoffset: i32, cchdelete: i32) -> ::windows_core::Result<()>; @@ -576,7 +576,7 @@ impl IMLangStringBufA_Vtbl { let this = (*this).get_impl(); this.GetStatus(::core::mem::transmute_copy(&plflags), ::core::mem::transmute_copy(&pcchbuf)).into() } - unsafe extern "system" fn LockBuf, Impl: IMLangStringBufA_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, cchoffset: i32, cchmaxlock: i32, ppszbuf: *mut *mut u8, pcchbuf: *mut i32) -> ::windows_core::HRESULT { + unsafe extern "system" fn LockBuf, Impl: IMLangStringBufA_Impl, const OFFSET: isize>(this: *mut ::core::ffi::c_void, cchoffset: i32, cchmaxlock: i32, ppszbuf: *mut *mut i8, pcchbuf: *mut i32) -> ::windows_core::HRESULT { let this = (this as *const *const ()).offset(OFFSET) as *const Identity; let this = (*this).get_impl(); this.LockBuf(::core::mem::transmute_copy(&cchoffset), ::core::mem::transmute_copy(&cchmaxlock), ::core::mem::transmute_copy(&ppszbuf), ::core::mem::transmute_copy(&pcchbuf)).into() diff --git a/crates/libs/windows/src/Windows/Win32/Globalization/mod.rs b/crates/libs/windows/src/Windows/Win32/Globalization/mod.rs index 73319f2cdb..a0cfd684f0 100644 --- a/crates/libs/windows/src/Windows/Win32/Globalization/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Globalization/mod.rs @@ -7495,7 +7495,7 @@ impl IMLangStringBufA { pub unsafe fn GetStatus(&self, plflags: ::core::option::Option<*mut i32>, pcchbuf: ::core::option::Option<*mut i32>) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).GetStatus)(::windows_core::Interface::as_raw(self), ::core::mem::transmute(plflags.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pcchbuf.unwrap_or(::std::ptr::null_mut()))).ok() } - pub unsafe fn LockBuf(&self, cchoffset: i32, cchmaxlock: i32, ppszbuf: *mut *mut u8, pcchbuf: ::core::option::Option<*mut i32>) -> ::windows_core::Result<()> { + pub unsafe fn LockBuf(&self, cchoffset: i32, cchmaxlock: i32, ppszbuf: *mut *mut i8, pcchbuf: ::core::option::Option<*mut i32>) -> ::windows_core::Result<()> { (::windows_core::Interface::vtable(self).LockBuf)(::windows_core::Interface::as_raw(self), cchoffset, cchmaxlock, ppszbuf, ::core::mem::transmute(pcchbuf.unwrap_or(::std::ptr::null_mut()))).ok() } pub unsafe fn UnlockBuf(&self, pszbuf: P0, cchoffset: i32, cchwrite: i32) -> ::windows_core::Result<()> @@ -7516,7 +7516,7 @@ impl IMLangStringBufA { pub struct IMLangStringBufA_Vtbl { pub base__: ::windows_core::IUnknown_Vtbl, pub GetStatus: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, plflags: *mut i32, pcchbuf: *mut i32) -> ::windows_core::HRESULT, - pub LockBuf: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, cchoffset: i32, cchmaxlock: i32, ppszbuf: *mut *mut u8, pcchbuf: *mut i32) -> ::windows_core::HRESULT, + pub LockBuf: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, cchoffset: i32, cchmaxlock: i32, ppszbuf: *mut *mut i8, pcchbuf: *mut i32) -> ::windows_core::HRESULT, pub UnlockBuf: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pszbuf: ::windows_core::PCSTR, cchoffset: i32, cchwrite: i32) -> ::windows_core::HRESULT, pub Insert: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, cchoffset: i32, cchmaxinsert: i32, pcchactual: *mut i32) -> ::windows_core::HRESULT, pub Delete: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, cchoffset: i32, cchdelete: i32) -> ::windows_core::HRESULT, @@ -13588,7 +13588,7 @@ pub struct CPINFOEXA { pub LeadByte: [u8; 12], pub UnicodeDefaultChar: u16, pub CodePage: u32, - pub CodePageName: [u8; 260], + pub CodePageName: [i8; 260], } impl ::core::marker::Copy for CPINFOEXA {} impl ::core::clone::Clone for CPINFOEXA { diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D9/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D9/mod.rs index 756c6d5abd..31e6285407 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D9/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D9/mod.rs @@ -4153,9 +4153,9 @@ impl ::core::fmt::Debug for D3DZBUFFERTYPE { #[repr(C)] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] pub struct D3DADAPTER_IDENTIFIER9 { - pub Driver: [u8; 512], - pub Description: [u8; 512], - pub DeviceName: [u8; 32], + pub Driver: [i8; 512], + pub Description: [i8; 512], + pub DeviceName: [i8; 32], pub DriverVersion: i64, pub VendorId: u32, pub DeviceId: u32, @@ -4185,9 +4185,9 @@ impl ::core::default::Default for D3DADAPTER_IDENTIFIER9 { #[repr(C, packed(4))] #[cfg(target_arch = "x86")] pub struct D3DADAPTER_IDENTIFIER9 { - pub Driver: [u8; 512], - pub Description: [u8; 512], - pub DeviceName: [u8; 32], + pub Driver: [i8; 512], + pub Description: [i8; 512], + pub DeviceName: [i8; 32], pub DriverVersion: i64, pub VendorId: u32, pub DeviceId: u32, diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/DirectDraw/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/DirectDraw/mod.rs index a81904a5fe..d695c4b7f3 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/DirectDraw/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/DirectDraw/mod.rs @@ -2981,8 +2981,8 @@ impl ::core::default::Default for DBLNODE { } #[repr(C)] pub struct DD32BITDRIVERDATA { - pub szName: [u8; 260], - pub szEntryPoint: [u8; 64], + pub szName: [i8; 260], + pub szEntryPoint: [i8; 64], pub dwContext: u32, } impl ::core::marker::Copy for DD32BITDRIVERDATA {} @@ -4170,8 +4170,8 @@ impl ::core::default::Default for DDCORECAPS { } #[repr(C)] pub struct DDDEVICEIDENTIFIER { - pub szDriver: [u8; 512], - pub szDescription: [u8; 512], + pub szDriver: [i8; 512], + pub szDescription: [i8; 512], pub liDriverVersion: i64, pub dwVendorId: u32, pub dwDeviceId: u32, @@ -4206,8 +4206,8 @@ impl ::core::default::Default for DDDEVICEIDENTIFIER { } #[repr(C)] pub struct DDDEVICEIDENTIFIER2 { - pub szDriver: [u8; 512], - pub szDescription: [u8; 512], + pub szDriver: [i8; 512], + pub szDescription: [i8; 512], pub liDriverVersion: i64, pub dwVendorId: u32, pub dwDeviceId: u32, @@ -8992,7 +8992,7 @@ pub struct DDRAWI_DIRECTDRAW_GBL { pub dwAliasedLockCnt: u32, pub dwReserved3: usize, pub hDD: usize, - pub cObsolete: [u8; 12], + pub cObsolete: [i8; 12], pub dwReserved1: u32, pub dwReserved2: u32, pub dbnOverlayRoot: DBLNODE, @@ -9023,7 +9023,7 @@ pub struct DDRAWI_DIRECTDRAW_GBL { pub lpD3DExtendedCaps: usize, pub dwDOSBoxEvent: u32, pub rectDesktop: super::super::Foundation::RECT, - pub cDriverName: [u8; 32], + pub cDriverName: [i8; 32], pub lpD3DHALCallbacks3: usize, pub dwNumZPixelFormats: u32, pub lpZPixelFormats: *mut DDPIXELFORMAT, diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Gdi/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Gdi/mod.rs index 99ea581da8..e845f71f39 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Gdi/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Gdi/mod.rs @@ -7476,11 +7476,11 @@ impl ::core::default::Default for DIBSECTION { #[repr(C)] pub struct DISPLAY_DEVICEA { pub cb: u32, - pub DeviceName: [u8; 32], - pub DeviceString: [u8; 128], + pub DeviceName: [i8; 32], + pub DeviceString: [i8; 128], pub StateFlags: u32, - pub DeviceID: [u8; 128], - pub DeviceKey: [u8; 128], + pub DeviceID: [i8; 128], + pub DeviceKey: [i8; 128], } impl ::core::marker::Copy for DISPLAY_DEVICEA {} impl ::core::clone::Clone for DISPLAY_DEVICEA { @@ -11102,7 +11102,7 @@ pub struct LOGFONTA { pub lfClipPrecision: FONT_CLIP_PRECISION, pub lfQuality: FONT_QUALITY, pub lfPitchAndFamily: u8, - pub lfFaceName: [u8; 32], + pub lfFaceName: [i8; 32], } impl ::core::marker::Copy for LOGFONTA {} impl ::core::clone::Clone for LOGFONTA { @@ -11385,7 +11385,7 @@ impl ::core::default::Default for MONITORINFO { #[repr(C)] pub struct MONITORINFOEXA { pub monitorInfo: MONITORINFO, - pub szDevice: [u8; 32], + pub szDevice: [i8; 32], } impl ::core::marker::Copy for MONITORINFOEXA {} impl ::core::clone::Clone for MONITORINFOEXA { @@ -12224,7 +12224,7 @@ impl ::core::default::Default for RGBTRIPLE { #[repr(C)] pub struct RGNDATA { pub rdh: RGNDATAHEADER, - pub Buffer: [u8; 1], + pub Buffer: [i8; 1], } impl ::core::marker::Copy for RGNDATA {} impl ::core::clone::Clone for RGNDATA { diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Printing/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Printing/mod.rs index 6e2de0cbc6..399b586542 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Printing/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Printing/mod.rs @@ -8959,7 +8959,7 @@ pub struct CORE_PRINTER_DRIVERA { pub CoreDriverGUID: ::windows_core::GUID, pub ftDriverDate: super::super::Foundation::FILETIME, pub dwlDriverVersion: u64, - pub szPackageID: [u8; 260], + pub szPackageID: [i8; 260], } impl ::core::marker::Copy for CORE_PRINTER_DRIVERA {} impl ::core::clone::Clone for CORE_PRINTER_DRIVERA { diff --git a/crates/libs/windows/src/Windows/Win32/Media/Audio/DirectMusic/mod.rs b/crates/libs/windows/src/Windows/Win32/Media/Audio/DirectMusic/mod.rs index 75ee5c8068..791a926ade 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/Audio/DirectMusic/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/Audio/DirectMusic/mod.rs @@ -2032,9 +2032,9 @@ impl ::core::default::Default for DMUS_WAVES_REVERB_PARAMS { #[repr(C)] pub struct DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_1_DATA { pub DeviceId: ::windows_core::GUID, - pub DescriptionA: [u8; 256], + pub DescriptionA: [i8; 256], pub DescriptionW: [u16; 256], - pub ModuleA: [u8; 260], + pub ModuleA: [i8; 260], pub ModuleW: [u16; 260], pub Type: DIRECTSOUNDDEVICE_TYPE, pub DataFlow: DIRECTSOUNDDEVICE_DATAFLOW, diff --git a/crates/libs/windows/src/Windows/Win32/Media/Audio/mod.rs b/crates/libs/windows/src/Windows/Win32/Media/Audio/mod.rs index 443c210bd2..c54b278bc5 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/Audio/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/Audio/mod.rs @@ -4779,11 +4779,11 @@ pub struct ACMDRIVERDETAILSA { pub cFormatTags: u32, pub cFilterTags: u32, pub hicon: super::super::UI::WindowsAndMessaging::HICON, - pub szShortName: [u8; 32], - pub szLongName: [u8; 128], - pub szCopyright: [u8; 80], - pub szLicensing: [u8; 128], - pub szFeatures: [u8; 512], + pub szShortName: [i8; 32], + pub szLongName: [i8; 128], + pub szCopyright: [i8; 80], + pub szLicensing: [i8; 128], + pub szFeatures: [i8; 512], } #[cfg(feature = "Win32_UI_WindowsAndMessaging")] impl ::core::marker::Copy for ACMDRIVERDETAILSA {} @@ -5011,8 +5011,8 @@ pub struct ACMFILTERCHOOSEA { pub pwfltr: *mut WAVEFILTER, pub cbwfltr: u32, pub pszTitle: ::windows_core::PCSTR, - pub szFilterTag: [u8; 48], - pub szFilter: [u8; 128], + pub szFilterTag: [i8; 48], + pub szFilter: [i8; 128], pub pszName: ::windows_core::PSTR, pub cchName: u32, pub fdwEnum: u32, @@ -5077,7 +5077,7 @@ pub struct ACMFILTERDETAILSA { pub fdwSupport: u32, pub pwfltr: *mut WAVEFILTER, pub cbwfltr: u32, - pub szFilter: [u8; 128], + pub szFilter: [i8; 128], } impl ::core::marker::Copy for ACMFILTERDETAILSA {} impl ::core::clone::Clone for ACMFILTERDETAILSA { @@ -5125,7 +5125,7 @@ pub struct ACMFILTERTAGDETAILSA { pub cbFilterSize: u32, pub fdwSupport: u32, pub cStandardFilters: u32, - pub szFilterTag: [u8; 48], + pub szFilterTag: [i8; 48], } impl ::core::marker::Copy for ACMFILTERTAGDETAILSA {} impl ::core::clone::Clone for ACMFILTERTAGDETAILSA { @@ -5173,8 +5173,8 @@ pub struct ACMFORMATCHOOSEA { pub pwfx: *mut WAVEFORMATEX, pub cbwfx: u32, pub pszTitle: ::windows_core::PCSTR, - pub szFormatTag: [u8; 48], - pub szFormat: [u8; 128], + pub szFormatTag: [i8; 48], + pub szFormat: [i8; 128], pub pszName: ::windows_core::PSTR, pub cchName: u32, pub fdwEnum: u32, @@ -5239,7 +5239,7 @@ pub struct ACMFORMATDETAILSA { pub fdwSupport: u32, pub pwfx: *mut WAVEFORMATEX, pub cbwfx: u32, - pub szFormat: [u8; 128], + pub szFormat: [i8; 128], } impl ::core::marker::Copy for ACMFORMATDETAILSA {} impl ::core::clone::Clone for ACMFORMATDETAILSA { @@ -5263,7 +5263,7 @@ pub struct ACMFORMATTAGDETAILSA { pub cbFormatSize: u32, pub fdwSupport: u32, pub cStandardFormats: u32, - pub szFormatTag: [u8; 48], + pub szFormatTag: [i8; 48], } impl ::core::marker::Copy for ACMFORMATTAGDETAILSA {} impl ::core::clone::Clone for ACMFORMATTAGDETAILSA { @@ -5543,7 +5543,7 @@ pub struct AUXCAPS2A { pub wMid: u16, pub wPid: u16, pub vDriverVersion: u32, - pub szPname: [u8; 32], + pub szPname: [i8; 32], pub wTechnology: u16, pub wReserved1: u16, pub dwSupport: u32, @@ -5597,7 +5597,7 @@ pub struct AUXCAPSA { pub wMid: u16, pub wPid: u16, pub vDriverVersion: u32, - pub szPname: [u8; 32], + pub szPname: [i8; 32], pub wTechnology: u16, pub wReserved1: u16, pub dwSupport: u32, @@ -6186,7 +6186,7 @@ pub struct MIDIINCAPS2A { pub wMid: u16, pub wPid: u16, pub vDriverVersion: u32, - pub szPname: [u8; 32], + pub szPname: [i8; 32], pub dwSupport: u32, pub ManufacturerGuid: ::windows_core::GUID, pub ProductGuid: ::windows_core::GUID, @@ -6236,7 +6236,7 @@ pub struct MIDIINCAPSA { pub wMid: u16, pub wPid: u16, pub vDriverVersion: u32, - pub szPname: [u8; 32], + pub szPname: [i8; 32], pub dwSupport: u32, } impl ::core::marker::Copy for MIDIINCAPSA {} @@ -6280,7 +6280,7 @@ pub struct MIDIOUTCAPS2A { pub wMid: u16, pub wPid: u16, pub vDriverVersion: u32, - pub szPname: [u8; 32], + pub szPname: [i8; 32], pub wTechnology: u16, pub wVoices: u16, pub wNotes: u16, @@ -6338,7 +6338,7 @@ pub struct MIDIOUTCAPSA { pub wMid: u16, pub wPid: u16, pub vDriverVersion: u32, - pub szPname: [u8; 32], + pub szPname: [i8; 32], pub wTechnology: u16, pub wVoices: u16, pub wNotes: u16, @@ -6448,7 +6448,7 @@ pub struct MIXERCAPS2A { pub wMid: u16, pub wPid: u16, pub vDriverVersion: u32, - pub szPname: [u8; 32], + pub szPname: [i8; 32], pub fdwSupport: u32, pub cDestinations: u32, pub ManufacturerGuid: ::windows_core::GUID, @@ -6500,7 +6500,7 @@ pub struct MIXERCAPSA { pub wMid: u16, pub wPid: u16, pub vDriverVersion: u32, - pub szPname: [u8; 32], + pub szPname: [i8; 32], pub fdwSupport: u32, pub cDestinations: u32, } @@ -6548,8 +6548,8 @@ pub struct MIXERCONTROLA { pub dwControlType: u32, pub fdwControl: u32, pub cMultipleItems: u32, - pub szShortName: [u8; 16], - pub szName: [u8; 64], + pub szShortName: [i8; 16], + pub szName: [i8; 64], pub Bounds: MIXERCONTROLA_0, pub Metrics: MIXERCONTROLA_1, } @@ -6709,7 +6709,7 @@ impl ::core::default::Default for MIXERCONTROLDETAILS_BOOLEAN { pub struct MIXERCONTROLDETAILS_LISTTEXTA { pub dwParam1: u32, pub dwParam2: u32, - pub szName: [u8; 64], + pub szName: [i8; 64], } impl ::core::marker::Copy for MIXERCONTROLDETAILS_LISTTEXTA {} impl ::core::clone::Clone for MIXERCONTROLDETAILS_LISTTEXTA { @@ -6897,8 +6897,8 @@ pub struct MIXERLINEA { pub cChannels: u32, pub cConnections: u32, pub cControls: u32, - pub szShortName: [u8; 16], - pub szName: [u8; 64], + pub szShortName: [i8; 16], + pub szName: [i8; 64], pub Target: MIXERLINEA_0, } impl ::core::marker::Copy for MIXERLINEA {} @@ -6922,7 +6922,7 @@ pub struct MIXERLINEA_0 { pub wMid: u16, pub wPid: u16, pub vDriverVersion: u32, - pub szPname: [u8; 32], + pub szPname: [i8; 32], } impl ::core::marker::Copy for MIXERLINEA_0 {} impl ::core::clone::Clone for MIXERLINEA_0 { @@ -7539,7 +7539,7 @@ pub struct WAVEINCAPS2A { pub wMid: u16, pub wPid: u16, pub vDriverVersion: u32, - pub szPname: [u8; 32], + pub szPname: [i8; 32], pub dwFormats: u32, pub wChannels: u16, pub wReserved1: u16, @@ -7593,7 +7593,7 @@ pub struct WAVEINCAPSA { pub wMid: u16, pub wPid: u16, pub vDriverVersion: u32, - pub szPname: [u8; 32], + pub szPname: [i8; 32], pub dwFormats: u32, pub wChannels: u16, pub wReserved1: u16, @@ -7641,7 +7641,7 @@ pub struct WAVEOUTCAPS2A { pub wMid: u16, pub wPid: u16, pub vDriverVersion: u32, - pub szPname: [u8; 32], + pub szPname: [i8; 32], pub dwFormats: u32, pub wChannels: u16, pub wReserved1: u16, @@ -7697,7 +7697,7 @@ pub struct WAVEOUTCAPSA { pub wMid: u16, pub wPid: u16, pub vDriverVersion: u32, - pub szPname: [u8; 32], + pub szPname: [i8; 32], pub dwFormats: u32, pub wChannels: u16, pub wReserved1: u16, diff --git a/crates/libs/windows/src/Windows/Win32/Media/DirectShow/Tv/mod.rs b/crates/libs/windows/src/Windows/Win32/Media/DirectShow/Tv/mod.rs index 4271761d17..9f1b98f930 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/DirectShow/Tv/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/DirectShow/Tv/mod.rs @@ -23042,7 +23042,7 @@ impl ::core::default::Default for DvbParentalRatingDescriptor { } #[repr(C)] pub struct DvbParentalRatingParam { - pub szCountryCode: [u8; 4], + pub szCountryCode: [i8; 4], pub bRating: u8, } impl ::core::marker::Copy for DvbParentalRatingParam {} @@ -23155,7 +23155,7 @@ impl ::core::default::Default for KSM_BDA_CAS_CAPTURETOKEN { pub struct KSM_BDA_CAS_CLOSEMMIDIALOG { pub NodeMethod: super::super::KernelStreaming::KSM_NODE, pub ulDialogRequest: u32, - pub cLanguage: [u8; 12], + pub cLanguage: [i8; 12], pub ulDialogNumber: u32, pub ulReason: u32, } @@ -23183,7 +23183,7 @@ impl ::core::default::Default for KSM_BDA_CAS_CLOSEMMIDIALOG { pub struct KSM_BDA_CAS_ENTITLEMENTTOKEN { pub NodeMethod: super::super::KernelStreaming::KSM_NODE, pub ulDialogRequest: u32, - pub cLanguage: [u8; 12], + pub cLanguage: [i8; 12], pub ulRequestType: u32, pub ulEntitlementTokenLen: u32, pub argbEntitlementToken: [u8; 1], @@ -23212,7 +23212,7 @@ impl ::core::default::Default for KSM_BDA_CAS_ENTITLEMENTTOKEN { pub struct KSM_BDA_CAS_OPENBROADCASTMMI { pub NodeMethod: super::super::KernelStreaming::KSM_NODE, pub ulDialogRequest: u32, - pub cLanguage: [u8; 12], + pub cLanguage: [i8; 12], pub ulEventId: u32, } #[cfg(feature = "Win32_Media_KernelStreaming")] @@ -23368,7 +23368,7 @@ impl ::core::default::Default for KSM_BDA_GDDS_TUNEXMLFROMIDX { pub struct KSM_BDA_GPNV_GETVALUE { pub Method: super::super::KernelStreaming::KSIDENTIFIER, pub ulNameLength: u32, - pub cLanguage: [u8; 12], + pub cLanguage: [i8; 12], pub argbData: [u8; 1], } #[cfg(feature = "Win32_Media_KernelStreaming")] @@ -23420,7 +23420,7 @@ impl ::core::default::Default for KSM_BDA_GPNV_NAMEINDEX { pub struct KSM_BDA_GPNV_SETVALUE { pub Method: super::super::KernelStreaming::KSIDENTIFIER, pub ulDialogRequest: u32, - pub cLanguage: [u8; 12], + pub cLanguage: [i8; 12], pub ulNameLength: u32, pub ulValueLength: u32, pub argbName: [u8; 1], @@ -23782,7 +23782,7 @@ impl ::core::default::Default for KSM_BDA_WMDRMTUNER_GETPIDPROTECTION { pub struct KSM_BDA_WMDRMTUNER_PURCHASEENTITLEMENT { pub NodeMethod: super::super::KernelStreaming::KSM_NODE, pub ulDialogRequest: u32, - pub cLanguage: [u8; 12], + pub cLanguage: [i8; 12], pub ulPurchaseTokenLength: u32, pub argbDataBuffer: [u8; 1], } diff --git a/crates/libs/windows/src/Windows/Win32/Media/KernelStreaming/mod.rs b/crates/libs/windows/src/Windows/Win32/Media/KernelStreaming/mod.rs index d8a0c4adfe..f6529fdc02 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/KernelStreaming/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/KernelStreaming/mod.rs @@ -8277,7 +8277,7 @@ pub struct KSGOP_USERDATA { pub sc: u32, pub reserved1: u32, pub cFields: u8, - pub l21Data: [u8; 3], + pub l21Data: [i8; 3], } impl ::core::marker::Copy for KSGOP_USERDATA {} impl ::core::clone::Clone for KSGOP_USERDATA { diff --git a/crates/libs/windows/src/Windows/Win32/Media/Multimedia/mod.rs b/crates/libs/windows/src/Windows/Win32/Media/Multimedia/mod.rs index 2cb8e4e960..decde64991 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/Multimedia/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/Multimedia/mod.rs @@ -6342,7 +6342,7 @@ pub struct AVIFILEINFOA { pub dwRate: u32, pub dwLength: u32, pub dwEditCount: u32, - pub szFileType: [u8; 64], + pub szFileType: [i8; 64], } impl ::core::marker::Copy for AVIFILEINFOA {} impl ::core::clone::Clone for AVIFILEINFOA { @@ -6454,7 +6454,7 @@ pub struct AVISTREAMINFOA { pub rcFrame: super::super::Foundation::RECT, pub dwEditCount: u32, pub dwFormatChangeCount: u32, - pub szName: [u8; 64], + pub szName: [i8; 64], } impl ::core::marker::Copy for AVISTREAMINFOA {} impl ::core::clone::Clone for AVISTREAMINFOA { @@ -8162,7 +8162,7 @@ impl ::core::default::Default for IMAADPCMWAVEFORMAT { pub struct JOYCAPS2A { pub wMid: u16, pub wPid: u16, - pub szPname: [u8; 32], + pub szPname: [i8; 32], pub wXmin: u32, pub wXmax: u32, pub wYmin: u32, @@ -8182,8 +8182,8 @@ pub struct JOYCAPS2A { pub wMaxAxes: u32, pub wNumAxes: u32, pub wMaxButtons: u32, - pub szRegKey: [u8; 32], - pub szOEMVxD: [u8; 260], + pub szRegKey: [i8; 32], + pub szOEMVxD: [i8; 260], pub ManufacturerGuid: ::windows_core::GUID, pub ProductGuid: ::windows_core::GUID, pub NameGuid: ::windows_core::GUID, @@ -8250,7 +8250,7 @@ impl ::core::default::Default for JOYCAPS2W { pub struct JOYCAPSA { pub wMid: u16, pub wPid: u16, - pub szPname: [u8; 32], + pub szPname: [i8; 32], pub wXmin: u32, pub wXmax: u32, pub wYmin: u32, @@ -8270,8 +8270,8 @@ pub struct JOYCAPSA { pub wMaxAxes: u32, pub wNumAxes: u32, pub wMaxButtons: u32, - pub szRegKey: [u8; 32], - pub szOEMVxD: [u8; 260], + pub szRegKey: [i8; 32], + pub szOEMVxD: [i8; 260], } impl ::core::marker::Copy for JOYCAPSA {} impl ::core::clone::Clone for JOYCAPSA { @@ -10678,8 +10678,8 @@ impl ::core::default::Default for YAMAHA_ADPCMWAVEFORMAT { #[repr(C)] pub struct s_RIFFWAVE_inst { pub bUnshiftedNote: u8, - pub chFineTune: u8, - pub chGain: u8, + pub chFineTune: i8, + pub chGain: i8, pub bLowNote: u8, pub bHighNote: u8, pub bLowVelocity: u8, diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/Dns/mod.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/Dns/mod.rs index 068de403bf..ef33ac9389 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/Dns/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/Dns/mod.rs @@ -966,7 +966,7 @@ impl ::core::default::Default for DNS_AAAA_DATA { } #[repr(C)] pub struct DNS_ADDR { - pub MaxSa: [u8; 32], + pub MaxSa: [i8; 32], pub Data: DNS_ADDR_0, } impl ::core::marker::Copy for DNS_ADDR {} @@ -1519,7 +1519,7 @@ impl ::core::default::Default for DNS_CUSTOM_SERVER_0 { } #[repr(C)] pub union DNS_CUSTOM_SERVER_1 { - pub MaxSa: [u8; 32], + pub MaxSa: [i8; 32], } impl ::core::marker::Copy for DNS_CUSTOM_SERVER_1 {} impl ::core::clone::Clone for DNS_CUSTOM_SERVER_1 { @@ -1715,7 +1715,7 @@ impl ::core::default::Default for DNS_LOC_DATA { #[repr(C)] pub struct DNS_MESSAGE_BUFFER { pub MessageHead: DNS_HEADER, - pub MessageBody: [u8; 1], + pub MessageBody: [i8; 1], } impl ::core::marker::Copy for DNS_MESSAGE_BUFFER {} impl ::core::clone::Clone for DNS_MESSAGE_BUFFER { @@ -2268,7 +2268,7 @@ impl ::core::default::Default for DNS_PTR_DATAW { } #[repr(C)] pub struct DNS_QUERY_CANCEL { - pub Reserved: [u8; 32], + pub Reserved: [i8; 32], } impl ::core::marker::Copy for DNS_QUERY_CANCEL {} impl ::core::clone::Clone for DNS_QUERY_CANCEL { diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/IpHelper/mod.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/IpHelper/mod.rs index 20fb1200db..b4fd579c37 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/IpHelper/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/IpHelper/mod.rs @@ -2633,12 +2633,12 @@ impl ::core::default::Default for DNS_SETTINGS2 { } #[repr(C)] pub struct FIXED_INFO_W2KSP1 { - pub HostName: [u8; 132], - pub DomainName: [u8; 132], + pub HostName: [i8; 132], + pub DomainName: [i8; 132], pub CurrentDnsServer: *mut IP_ADDR_STRING, pub DnsServerList: IP_ADDR_STRING, pub NodeType: u32, - pub ScopeId: [u8; 260], + pub ScopeId: [i8; 260], pub EnableRouting: u32, pub EnableProxy: u32, pub EnableDns: u32, @@ -3595,8 +3595,8 @@ impl ::core::default::Default for IP_ADAPTER_INDEX_MAP { pub struct IP_ADAPTER_INFO { pub Next: *mut IP_ADAPTER_INFO, pub ComboIndex: u32, - pub AdapterName: [u8; 260], - pub Description: [u8; 132], + pub AdapterName: [i8; 260], + pub Description: [i8; 132], pub AddressLength: u32, pub Address: [u8; 8], pub Index: u32, @@ -4177,7 +4177,7 @@ impl ::core::default::Default for IP_ADDRESS_PREFIX { } #[repr(C)] pub struct IP_ADDRESS_STRING { - pub String: [u8; 16], + pub String: [i8; 16], } impl ::core::marker::Copy for IP_ADDRESS_STRING {} impl ::core::clone::Clone for IP_ADDRESS_STRING { diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/Ndis/mod.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/Ndis/mod.rs index b41024f363..2f3d0f1afd 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/Ndis/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/Ndis/mod.rs @@ -5732,7 +5732,7 @@ pub struct NDIS_WMI_ENUM_ADAPTER { pub IfIndex: u32, pub NetLuid: NET_LUID_LH, pub DeviceNameLength: u16, - pub DeviceName: [u8; 1], + pub DeviceName: [i8; 1], } impl ::core::marker::Copy for NDIS_WMI_ENUM_ADAPTER {} impl ::core::clone::Clone for NDIS_WMI_ENUM_ADAPTER { diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetManagement/mod.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetManagement/mod.rs index a520a05255..7b51a5c541 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetManagement/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetManagement/mod.rs @@ -6153,7 +6153,7 @@ impl ::core::default::Default for ERROR_LOG { pub struct FLAT_STRING { pub MaximumLength: i16, pub Length: i16, - pub Buffer: [u8; 1], + pub Buffer: [i8; 1], } impl ::core::marker::Copy for FLAT_STRING {} impl ::core::clone::Clone for FLAT_STRING { diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetworkDiagnosticsFramework/mod.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetworkDiagnosticsFramework/mod.rs index 4c252c648a..dee04c42e4 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetworkDiagnosticsFramework/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetworkDiagnosticsFramework/mod.rs @@ -433,7 +433,7 @@ impl ::core::fmt::Debug for UI_INFO_TYPE { #[repr(C)] pub struct DIAG_SOCKADDR { pub family: u16, - pub data: [u8; 126], + pub data: [i8; 126], } impl ::core::marker::Copy for DIAG_SOCKADDR {} impl ::core::clone::Clone for DIAG_SOCKADDR { diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/Rras/mod.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/Rras/mod.rs index c0272a41d2..19f27b84df 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/Rras/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/Rras/mod.rs @@ -5724,7 +5724,7 @@ impl ::core::default::Default for RASADPARAMS { pub struct RASAMBA { pub dwSize: u32, pub dwError: u32, - pub szNetBiosError: [u8; 17], + pub szNetBiosError: [i8; 17], pub bLana: u8, } impl ::core::marker::Copy for RASAMBA {} @@ -5789,7 +5789,7 @@ pub struct RASAUTODIALENTRYA { pub dwSize: u32, pub dwFlags: u32, pub dwDialingLocation: u32, - pub szEntry: [u8; 257], + pub szEntry: [i8; 257], } impl ::core::marker::Copy for RASAUTODIALENTRYA {} impl ::core::clone::Clone for RASAUTODIALENTRYA { @@ -5886,10 +5886,10 @@ impl ::core::default::Default for RASCOMMSETTINGS { pub struct RASCONNA { pub dwSize: u32, pub hrasconn: HRASCONN, - pub szEntryName: [u8; 257], - pub szDeviceType: [u8; 17], - pub szDeviceName: [u8; 129], - pub szPhonebook: [u8; 260], + pub szEntryName: [i8; 257], + pub szDeviceType: [i8; 17], + pub szDeviceName: [i8; 129], + pub szPhonebook: [i8; 260], pub dwSubEntry: u32, pub guidEntry: ::windows_core::GUID, pub dwFlags: u32, @@ -5919,10 +5919,10 @@ impl ::core::default::Default for RASCONNA { pub struct RASCONNA { pub dwSize: u32, pub hrasconn: HRASCONN, - pub szEntryName: [u8; 257], - pub szDeviceType: [u8; 17], - pub szDeviceName: [u8; 129], - pub szPhonebook: [u8; 260], + pub szEntryName: [i8; 257], + pub szDeviceType: [i8; 17], + pub szDeviceName: [i8; 129], + pub szPhonebook: [i8; 260], pub dwSubEntry: u32, pub guidEntry: ::windows_core::GUID, pub dwFlags: u32, @@ -5954,9 +5954,9 @@ pub struct RASCONNSTATUSA { pub dwSize: u32, pub rasconnstate: RASCONNSTATE, pub dwError: u32, - pub szDeviceType: [u8; 17], - pub szDeviceName: [u8; 129], - pub szPhoneNumber: [u8; 129], + pub szDeviceType: [i8; 17], + pub szDeviceName: [i8; 129], + pub szPhoneNumber: [i8; 129], pub localEndPoint: RASTUNNELENDPOINT, pub remoteEndPoint: RASTUNNELENDPOINT, pub rasconnsubstate: RASCONNSUBSTATE, @@ -6081,9 +6081,9 @@ impl ::core::default::Default for RASCONNW { pub struct RASCREDENTIALSA { pub dwSize: u32, pub dwMask: u32, - pub szUserName: [u8; 257], - pub szPassword: [u8; 257], - pub szDomain: [u8; 16], + pub szUserName: [i8; 257], + pub szPassword: [i8; 257], + pub szDomain: [i8; 16], } impl ::core::marker::Copy for RASCREDENTIALSA {} impl ::core::clone::Clone for RASCREDENTIALSA { @@ -6198,8 +6198,8 @@ impl ::core::default::Default for RASCUSTOMSCRIPTEXTENSIONS { #[repr(C)] pub struct RASDEVINFOA { pub dwSize: u32, - pub szDeviceType: [u8; 17], - pub szDeviceName: [u8; 129], + pub szDeviceType: [i8; 17], + pub szDeviceName: [i8; 129], } impl ::core::marker::Copy for RASDEVINFOA {} impl ::core::clone::Clone for RASDEVINFOA { @@ -6360,12 +6360,12 @@ impl ::core::default::Default for RASDIALEXTENSIONS { #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] pub struct RASDIALPARAMSA { pub dwSize: u32, - pub szEntryName: [u8; 257], - pub szPhoneNumber: [u8; 129], - pub szCallbackNumber: [u8; 129], - pub szUserName: [u8; 257], - pub szPassword: [u8; 257], - pub szDomain: [u8; 16], + pub szEntryName: [i8; 257], + pub szPhoneNumber: [i8; 129], + pub szCallbackNumber: [i8; 129], + pub szUserName: [i8; 257], + pub szPassword: [i8; 257], + pub szDomain: [i8; 16], pub dwSubEntry: u32, pub dwCallbackId: usize, pub dwIfIndex: u32, @@ -6393,12 +6393,12 @@ impl ::core::default::Default for RASDIALPARAMSA { #[cfg(target_arch = "x86")] pub struct RASDIALPARAMSA { pub dwSize: u32, - pub szEntryName: [u8; 257], - pub szPhoneNumber: [u8; 129], - pub szCallbackNumber: [u8; 129], - pub szUserName: [u8; 257], - pub szPassword: [u8; 257], - pub szDomain: [u8; 16], + pub szEntryName: [i8; 257], + pub szPhoneNumber: [i8; 129], + pub szCallbackNumber: [i8; 129], + pub szUserName: [i8; 257], + pub szPassword: [i8; 257], + pub szDomain: [i8; 16], pub dwSubEntry: u32, pub dwCallbackId: usize, pub dwIfIndex: u32, @@ -6509,7 +6509,7 @@ impl ::core::default::Default for RASEAPINFO { } #[repr(C)] pub struct RASEAPUSERIDENTITYA { - pub szUserName: [u8; 257], + pub szUserName: [i8; 257], pub dwSizeofEapInfo: u32, pub pbEapInfo: [u8; 1], } @@ -6577,8 +6577,8 @@ pub struct RASENTRYA { pub dwfOptions: u32, pub dwCountryID: u32, pub dwCountryCode: u32, - pub szAreaCode: [u8; 11], - pub szLocalPhoneNumber: [u8; 129], + pub szAreaCode: [i8; 11], + pub szLocalPhoneNumber: [i8; 129], pub dwAlternateOffset: u32, pub ipaddr: RASIPADDR, pub ipaddrDns: RASIPADDR, @@ -6588,15 +6588,15 @@ pub struct RASENTRYA { pub dwFrameSize: u32, pub dwfNetProtocols: u32, pub dwFramingProtocol: u32, - pub szScript: [u8; 260], - pub szAutodialDll: [u8; 260], - pub szAutodialFunc: [u8; 260], - pub szDeviceType: [u8; 17], - pub szDeviceName: [u8; 129], - pub szX25PadType: [u8; 33], - pub szX25Address: [u8; 201], - pub szX25Facilities: [u8; 201], - pub szX25UserData: [u8; 201], + pub szScript: [i8; 260], + pub szAutodialDll: [i8; 260], + pub szAutodialFunc: [i8; 260], + pub szDeviceType: [i8; 17], + pub szDeviceName: [i8; 129], + pub szX25PadType: [i8; 33], + pub szX25Address: [i8; 201], + pub szX25Facilities: [i8; 201], + pub szX25UserData: [i8; 201], pub dwChannels: u32, pub dwReserved1: u32, pub dwReserved2: u32, @@ -6611,14 +6611,14 @@ pub struct RASENTRYA { pub dwEncryptionType: u32, pub dwCustomAuthKey: u32, pub guidId: ::windows_core::GUID, - pub szCustomDialDll: [u8; 260], + pub szCustomDialDll: [i8; 260], pub dwVpnStrategy: u32, pub dwfOptions2: u32, pub dwfOptions3: u32, - pub szDnsSuffix: [u8; 256], + pub szDnsSuffix: [i8; 256], pub dwTcpWindowSize: u32, - pub szPrerequisitePbk: [u8; 260], - pub szPrerequisiteEntry: [u8; 257], + pub szPrerequisitePbk: [i8; 260], + pub szPrerequisiteEntry: [i8; 257], pub dwRedialCount: u32, pub dwRedialPause: u32, pub ipv6addrDns: super::super::Networking::WinSock::IN6_ADDR, @@ -6628,8 +6628,8 @@ pub struct RASENTRYA { pub ipv6addr: super::super::Networking::WinSock::IN6_ADDR, pub dwIPv6PrefixLength: u32, pub dwNetworkOutageTime: u32, - pub szIDi: [u8; 257], - pub szIDr: [u8; 257], + pub szIDi: [i8; 257], + pub szIDr: [i8; 257], pub fIsImsConfig: super::super::Foundation::BOOL, pub IdiType: IKEV2_ID_PAYLOAD_TYPE, pub IdrType: IKEV2_ID_PAYLOAD_TYPE, @@ -6661,7 +6661,7 @@ pub struct RASENTRYDLGA { pub dwFlags: u32, pub xDlg: i32, pub yDlg: i32, - pub szEntry: [u8; 257], + pub szEntry: [i8; 257], pub dwError: u32, pub reserved: usize, pub reserved2: usize, @@ -6692,7 +6692,7 @@ pub struct RASENTRYDLGA { pub dwFlags: u32, pub xDlg: i32, pub yDlg: i32, - pub szEntry: [u8; 257], + pub szEntry: [i8; 257], pub dwError: u32, pub reserved: usize, pub reserved2: usize, @@ -6780,9 +6780,9 @@ impl ::core::default::Default for RASENTRYDLGW { #[repr(C)] pub struct RASENTRYNAMEA { pub dwSize: u32, - pub szEntryName: [u8; 257], + pub szEntryName: [i8; 257], pub dwFlags: u32, - pub szPhonebookPath: [u8; 261], + pub szPhonebookPath: [i8; 261], } impl ::core::marker::Copy for RASENTRYNAMEA {} impl ::core::clone::Clone for RASENTRYNAMEA { @@ -7079,9 +7079,9 @@ pub struct RASNOUSERA { pub dwSize: u32, pub dwFlags: u32, pub dwTimeoutMs: u32, - pub szUserName: [u8; 257], - pub szPassword: [u8; 257], - pub szDomain: [u8; 16], + pub szUserName: [i8; 257], + pub szPassword: [i8; 257], + pub szDomain: [i8; 16], } impl ::core::marker::Copy for RASNOUSERA {} impl ::core::clone::Clone for RASNOUSERA { @@ -7308,8 +7308,8 @@ impl ::core::default::Default for RASPPPCCP { pub struct RASPPPIPA { pub dwSize: u32, pub dwError: u32, - pub szIpAddress: [u8; 16], - pub szServerIpAddress: [u8; 16], + pub szIpAddress: [i8; 16], + pub szServerIpAddress: [i8; 16], pub dwOptions: u32, pub dwServerOptions: u32, } @@ -7410,7 +7410,7 @@ impl ::core::default::Default for RASPPPIPW { pub struct RASPPPIPXA { pub dwSize: u32, pub dwError: u32, - pub szIpxAddress: [u8; 22], + pub szIpxAddress: [i8; 22], } impl ::core::marker::Copy for RASPPPIPXA {} impl ::core::clone::Clone for RASPPPIPXA { @@ -7451,7 +7451,7 @@ pub struct RASPPPLCPA { pub fMultilink: super::super::Foundation::BOOL, pub dwTerminateReason: u32, pub dwServerTerminateReason: u32, - pub szReplyMessage: [u8; 1024], + pub szReplyMessage: [i8; 1024], pub dwOptions: u32, pub dwServerOptions: u32, } @@ -7560,8 +7560,8 @@ pub struct RASPPPNBFA { pub dwSize: u32, pub dwError: u32, pub dwNetBiosError: u32, - pub szNetBiosError: [u8; 17], - pub szWorkstationName: [u8; 17], + pub szNetBiosError: [i8; 17], + pub szWorkstationName: [i8; 17], pub bLana: u8, } impl ::core::marker::Copy for RASPPPNBFA {} @@ -7673,9 +7673,9 @@ impl ::core::default::Default for RASPPP_PROJECTION_INFO { pub struct RASSUBENTRYA { pub dwSize: u32, pub dwfFlags: u32, - pub szDeviceType: [u8; 17], - pub szDeviceName: [u8; 129], - pub szLocalPhoneNumber: [u8; 129], + pub szDeviceType: [i8; 17], + pub szDeviceName: [i8; 129], + pub szLocalPhoneNumber: [i8; 129], pub dwAlternateOffset: u32, } impl ::core::marker::Copy for RASSUBENTRYA {} @@ -8337,7 +8337,7 @@ impl ::core::default::Default for RAS_PROJECTION_INFO_0 { pub struct RAS_SECURITY_INFO { pub LastError: u32, pub BytesReceived: u32, - pub DeviceName: [u8; 129], + pub DeviceName: [i8; 129], } impl ::core::marker::Copy for RAS_SECURITY_INFO {} impl ::core::clone::Clone for RAS_SECURITY_INFO { @@ -9152,8 +9152,8 @@ pub struct SECURITY_MESSAGE { pub dwMsgId: SECURITY_MESSAGE_MSG_ID, pub hPort: isize, pub dwError: u32, - pub UserName: [u8; 257], - pub Domain: [u8; 16], + pub UserName: [i8; 257], + pub Domain: [i8; 16], } impl ::core::marker::Copy for SECURITY_MESSAGE {} impl ::core::clone::Clone for SECURITY_MESSAGE { diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/Snmp/mod.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/Snmp/mod.rs index a1be00e06a..1ee7927da9 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/Snmp/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/Snmp/mod.rs @@ -1049,10 +1049,10 @@ impl ::core::default::Default for smiVALUE_0 { } #[repr(C)] pub struct smiVENDORINFO { - pub vendorName: [u8; 64], - pub vendorContact: [u8; 64], - pub vendorVersionId: [u8; 32], - pub vendorVersionDate: [u8; 32], + pub vendorName: [i8; 64], + pub vendorContact: [i8; 64], + pub vendorVersionId: [i8; 32], + pub vendorVersionDate: [i8; 32], pub vendorEnterprise: u32, } impl ::core::marker::Copy for smiVENDORINFO {} diff --git a/crates/libs/windows/src/Windows/Win32/Networking/ActiveDirectory/mod.rs b/crates/libs/windows/src/Windows/Win32/Networking/ActiveDirectory/mod.rs index d273713952..bce53e9671 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/ActiveDirectory/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/ActiveDirectory/mod.rs @@ -11351,8 +11351,8 @@ pub struct DSBITEMA { pub dwMask: u32, pub dwState: u32, pub dwStateMask: u32, - pub szDisplayName: [u8; 64], - pub szIconLocation: [u8; 260], + pub szDisplayName: [i8; 64], + pub szIconLocation: [i8; 260], pub iIconResID: i32, } impl ::core::marker::Copy for DSBITEMA {} diff --git a/crates/libs/windows/src/Windows/Win32/Networking/Ldap/mod.rs b/crates/libs/windows/src/Windows/Win32/Networking/Ldap/mod.rs index aa7a7a20b2..b58e10f109 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/Ldap/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/Ldap/mod.rs @@ -39,8 +39,8 @@ pub unsafe fn ber_bvfree(bv: *mut LDAP_BERVAL) { ber_bvfree(bv) } #[inline] -pub unsafe fn ber_first_element(pberelement: *mut BerElement, plen: *mut u32, ppopaque: *mut *mut u8) -> u32 { - ::windows_targets::link!("wldap32.dll" "cdecl" fn ber_first_element(pberelement : *mut BerElement, plen : *mut u32, ppopaque : *mut *mut u8) -> u32); +pub unsafe fn ber_first_element(pberelement: *mut BerElement, plen: *mut u32, ppopaque: *mut *mut i8) -> u32 { + ::windows_targets::link!("wldap32.dll" "cdecl" fn ber_first_element(pberelement : *mut BerElement, plen : *mut u32, ppopaque : *mut *mut i8) -> u32); ber_first_element(pberelement, plen, ppopaque) } #[inline] diff --git a/crates/libs/windows/src/Windows/Win32/Networking/WinInet/mod.rs b/crates/libs/windows/src/Windows/Win32/Networking/WinInet/mod.rs index 44e9029187..764aab55aa 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/WinInet/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/WinInet/mod.rs @@ -4178,12 +4178,12 @@ impl ::core::default::Default for GOPHER_ATTRIBUTE_TYPE_0 { } #[repr(C)] pub struct GOPHER_FIND_DATAA { - pub DisplayString: [u8; 129], + pub DisplayString: [i8; 129], pub GopherType: GOPHER_TYPE, pub SizeLow: u32, pub SizeHigh: u32, pub LastModificationTime: super::super::Foundation::FILETIME, - pub Locator: [u8; 654], + pub Locator: [i8; 654], } impl ::core::marker::Copy for GOPHER_FIND_DATAA {} impl ::core::clone::Clone for GOPHER_FIND_DATAA { @@ -4987,7 +4987,7 @@ impl ::core::default::Default for INTERNET_CACHE_CONFIG_INFOA_0 { } #[repr(C)] pub struct INTERNET_CACHE_CONFIG_INFOA_0_0 { - pub CachePath: [u8; 260], + pub CachePath: [i8; 260], pub dwCacheSize: u32, } impl ::core::marker::Copy for INTERNET_CACHE_CONFIG_INFOA_0_0 {} @@ -5093,7 +5093,7 @@ impl ::core::default::Default for INTERNET_CACHE_CONFIG_INFOW_0_0 { } #[repr(C)] pub struct INTERNET_CACHE_CONFIG_PATH_ENTRYA { - pub CachePath: [u8; 260], + pub CachePath: [i8; 260], pub dwCacheSize: u32, } impl ::core::marker::Copy for INTERNET_CACHE_CONFIG_PATH_ENTRYA {} @@ -5329,7 +5329,7 @@ pub struct INTERNET_CACHE_GROUP_INFOA { pub dwDiskUsage: u32, pub dwDiskQuota: u32, pub dwOwnerStorage: [u32; 4], - pub szGroupName: [u8; 120], + pub szGroupName: [i8; 120], } impl ::core::marker::Copy for INTERNET_CACHE_GROUP_INFOA {} impl ::core::clone::Clone for INTERNET_CACHE_GROUP_INFOA { diff --git a/crates/libs/windows/src/Windows/Win32/Networking/WinSock/mod.rs b/crates/libs/windows/src/Windows/Win32/Networking/WinSock/mod.rs index b02e46e7ce..ded3eb1fbf 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/WinSock/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/WinSock/mod.rs @@ -8370,7 +8370,7 @@ impl ::core::default::Default for NLA_BLOB { } #[repr(C)] pub union NLA_BLOB_0 { - pub rawData: [u8; 1], + pub rawData: [i8; 1], pub interfaceData: NLA_BLOB_0_2, pub locationData: NLA_BLOB_0_3, pub connectivity: NLA_BLOB_0_1, @@ -8486,7 +8486,7 @@ impl ::core::default::Default for NLA_BLOB_0_1 { pub struct NLA_BLOB_0_2 { pub dwType: u32, pub dwSpeed: u32, - pub adapterName: [u8; 1], + pub adapterName: [i8; 1], } impl ::core::marker::Copy for NLA_BLOB_0_2 {} impl ::core::clone::Clone for NLA_BLOB_0_2 { @@ -8515,7 +8515,7 @@ impl ::core::default::Default for NLA_BLOB_0_2 { } #[repr(C)] pub struct NLA_BLOB_0_3 { - pub information: [u8; 1], + pub information: [i8; 1], } impl ::core::marker::Copy for NLA_BLOB_0_3 {} impl ::core::clone::Clone for NLA_BLOB_0_3 { @@ -10350,7 +10350,7 @@ impl ::core::default::Default for SNAP_HEADER { #[repr(C)] pub struct SOCKADDR { pub sa_family: ADDRESS_FAMILY, - pub sa_data: [u8; 14], + pub sa_data: [i8; 14], } impl ::core::marker::Copy for SOCKADDR {} impl ::core::clone::Clone for SOCKADDR { @@ -10445,7 +10445,7 @@ pub struct SOCKADDR_IN { pub sin_family: ADDRESS_FAMILY, pub sin_port: u16, pub sin_addr: IN_ADDR, - pub sin_zero: [u8; 8], + pub sin_zero: [i8; 8], } impl ::core::marker::Copy for SOCKADDR_IN {} impl ::core::clone::Clone for SOCKADDR_IN { @@ -10577,8 +10577,8 @@ impl ::core::default::Default for SOCKADDR_INET { #[repr(C)] pub struct SOCKADDR_IPX { pub sa_family: i16, - pub sa_netnum: [u8; 4], - pub sa_nodenum: [u8; 6], + pub sa_netnum: [i8; 4], + pub sa_nodenum: [i8; 6], pub sa_socket: u16, } impl ::core::marker::Copy for SOCKADDR_IPX {} @@ -10610,7 +10610,7 @@ impl ::core::default::Default for SOCKADDR_IPX { pub struct SOCKADDR_IRDA { pub irdaAddressFamily: u16, pub irdaDeviceID: [u8; 4], - pub irdaServiceName: [u8; 25], + pub irdaServiceName: [i8; 25], } impl ::core::marker::Copy for SOCKADDR_IRDA {} impl ::core::clone::Clone for SOCKADDR_IRDA { @@ -10641,7 +10641,7 @@ impl ::core::default::Default for SOCKADDR_IRDA { pub struct SOCKADDR_NB { pub snb_family: i16, pub snb_type: u16, - pub snb_name: [u8; 16], + pub snb_name: [i8; 16], } impl ::core::marker::Copy for SOCKADDR_NB {} impl ::core::clone::Clone for SOCKADDR_NB { @@ -10671,9 +10671,9 @@ impl ::core::default::Default for SOCKADDR_NB { #[repr(C)] pub struct SOCKADDR_STORAGE { pub ss_family: ADDRESS_FAMILY, - pub __ss_pad1: [u8; 6], + pub __ss_pad1: [i8; 6], pub __ss_align: i64, - pub __ss_pad2: [u8; 112], + pub __ss_pad2: [i8; 112], } impl ::core::marker::Copy for SOCKADDR_STORAGE {} impl ::core::clone::Clone for SOCKADDR_STORAGE { @@ -10703,9 +10703,9 @@ impl ::core::default::Default for SOCKADDR_STORAGE { #[repr(C)] pub struct SOCKADDR_STORAGE_XP { pub ss_family: i16, - pub __ss_pad1: [u8; 6], + pub __ss_pad1: [i8; 6], pub __ss_align: i64, - pub __ss_pad2: [u8; 112], + pub __ss_pad2: [i8; 112], } impl ::core::marker::Copy for SOCKADDR_STORAGE_XP {} impl ::core::clone::Clone for SOCKADDR_STORAGE_XP { @@ -10768,7 +10768,7 @@ impl ::core::default::Default for SOCKADDR_TP { #[repr(C)] pub struct SOCKADDR_UN { pub sun_family: ADDRESS_FAMILY, - pub sun_path: [u8; 108], + pub sun_path: [i8; 108], } impl ::core::marker::Copy for SOCKADDR_UN {} impl ::core::clone::Clone for SOCKADDR_UN { @@ -11971,7 +11971,7 @@ impl ::core::default::Default for WCE_DEVICELIST { #[repr(C)] pub struct WCE_IRDA_DEVICE_INFO { pub irdaDeviceID: [u8; 4], - pub irdaDeviceName: [u8; 22], + pub irdaDeviceName: [i8; 22], pub Reserved: [u8; 2], } impl ::core::marker::Copy for WCE_IRDA_DEVICE_INFO {} @@ -12032,8 +12032,8 @@ impl ::core::default::Default for WINDOWS_DEVICELIST { #[repr(C)] pub struct WINDOWS_IAS_QUERY { pub irdaDeviceID: [u8; 4], - pub irdaClassName: [u8; 64], - pub irdaAttribName: [u8; 256], + pub irdaClassName: [i8; 64], + pub irdaAttribName: [i8; 256], pub irdaAttribType: u32, pub irdaAttribute: WINDOWS_IAS_QUERY_0, } @@ -12134,8 +12134,8 @@ impl ::core::default::Default for WINDOWS_IAS_QUERY_0_1 { } #[repr(C)] pub struct WINDOWS_IAS_SET { - pub irdaClassName: [u8; 64], - pub irdaAttribName: [u8; 256], + pub irdaClassName: [i8; 64], + pub irdaAttribName: [i8; 256], pub irdaAttribType: u32, pub irdaAttribute: WINDOWS_IAS_SET_0, } @@ -12237,7 +12237,7 @@ impl ::core::default::Default for WINDOWS_IAS_SET_0_1 { #[repr(C)] pub struct WINDOWS_IRDA_DEVICE_INFO { pub irdaDeviceID: [u8; 4], - pub irdaDeviceName: [u8; 22], + pub irdaDeviceName: [i8; 22], pub irdaDeviceHints1: u8, pub irdaDeviceHints2: u8, pub irdaCharSet: u8, @@ -12506,8 +12506,8 @@ pub struct WSADATA { pub iMaxSockets: u16, pub iMaxUdpDg: u16, pub lpVendorInfo: ::windows_core::PSTR, - pub szDescription: [u8; 257], - pub szSystemStatus: [u8; 129], + pub szDescription: [i8; 257], + pub szSystemStatus: [i8; 129], } #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] impl ::core::marker::Copy for WSADATA {} @@ -12546,8 +12546,8 @@ impl ::core::default::Default for WSADATA { pub struct WSADATA { pub wVersion: u16, pub wHighVersion: u16, - pub szDescription: [u8; 257], - pub szSystemStatus: [u8; 129], + pub szDescription: [i8; 257], + pub szSystemStatus: [i8; 129], pub iMaxSockets: u16, pub iMaxUdpDg: u16, pub lpVendorInfo: ::windows_core::PSTR, @@ -13007,7 +13007,7 @@ pub struct WSAPROTOCOL_INFOA { pub iSecurityScheme: i32, pub dwMessageSize: u32, pub dwProviderReserved: u32, - pub szProtocol: [u8; 256], + pub szProtocol: [i8; 256], } impl ::core::marker::Copy for WSAPROTOCOL_INFOA {} impl ::core::clone::Clone for WSAPROTOCOL_INFOA { diff --git a/crates/libs/windows/src/Windows/Win32/Networking/WindowsWebServices/mod.rs b/crates/libs/windows/src/Windows/Win32/Networking/WindowsWebServices/mod.rs index 4425ece065..12823e6847 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/WindowsWebServices/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/WindowsWebServices/mod.rs @@ -6899,8 +6899,8 @@ impl ::core::default::Default for WS_INT64_DESCRIPTION { } #[repr(C)] pub struct WS_INT8_DESCRIPTION { - pub minValue: u8, - pub maxValue: u8, + pub minValue: i8, + pub maxValue: i8, } impl ::core::marker::Copy for WS_INT8_DESCRIPTION {} impl ::core::clone::Clone for WS_INT8_DESCRIPTION { diff --git a/crates/libs/windows/src/Windows/Win32/Security/Authentication/Identity/mod.rs b/crates/libs/windows/src/Windows/Win32/Security/Authentication/Identity/mod.rs index c280f1debf..cedd63bdd1 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/Authentication/Identity/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/Authentication/Identity/mod.rs @@ -4865,7 +4865,7 @@ impl ::core::default::Default for CENTRAL_ACCESS_POLICY_ENTRY { } #[repr(C)] pub struct CLEAR_BLOCK { - pub data: [u8; 8], + pub data: [i8; 8], } impl ::core::marker::Copy for CLEAR_BLOCK {} impl ::core::clone::Clone for CLEAR_BLOCK { diff --git a/crates/libs/windows/src/Windows/Win32/Security/Cryptography/mod.rs b/crates/libs/windows/src/Windows/Win32/Security/Cryptography/mod.rs index 5e6e3289e2..fed9d6aec6 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/Cryptography/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/Cryptography/mod.rs @@ -20970,7 +20970,7 @@ pub struct PROV_ENUMALGS { pub aiAlgid: ALG_ID, pub dwBitLen: u32, pub dwNameLen: u32, - pub szName: [u8; 20], + pub szName: [i8; 20], } impl ::core::marker::Copy for PROV_ENUMALGS {} impl ::core::clone::Clone for PROV_ENUMALGS { @@ -21005,9 +21005,9 @@ pub struct PROV_ENUMALGS_EX { pub dwMaxLen: u32, pub dwProtocols: u32, pub dwNameLen: u32, - pub szName: [u8; 20], + pub szName: [i8; 20], pub dwLongNameLen: u32, - pub szLongName: [u8; 40], + pub szLongName: [i8; 40], } impl ::core::marker::Copy for PROV_ENUMALGS_EX {} impl ::core::clone::Clone for PROV_ENUMALGS_EX { diff --git a/crates/libs/windows/src/Windows/Win32/Security/mod.rs b/crates/libs/windows/src/Windows/Win32/Security/mod.rs index 502ff1f6a5..0ec9d3d6b3 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/mod.rs @@ -4656,7 +4656,7 @@ impl ::core::default::Default for TOKEN_PRIVILEGES { } #[repr(C)] pub struct TOKEN_SOURCE { - pub SourceName: [u8; 8], + pub SourceName: [i8; 8], pub SourceIdentifier: super::Foundation::LUID, } impl ::core::marker::Copy for TOKEN_SOURCE {} diff --git a/crates/libs/windows/src/Windows/Win32/Storage/Cabinets/mod.rs b/crates/libs/windows/src/Windows/Win32/Storage/Cabinets/mod.rs index 151c66145c..4610b50927 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/Cabinets/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/Cabinets/mod.rs @@ -196,9 +196,9 @@ pub struct CCAB { pub iDisk: i32, pub fFailOnIncompressible: i32, pub setID: u16, - pub szDisk: [u8; 256], - pub szCab: [u8; 256], - pub szCabPath: [u8; 256], + pub szDisk: [i8; 256], + pub szCab: [i8; 256], + pub szCabPath: [i8; 256], } impl ::core::marker::Copy for CCAB {} impl ::core::clone::Clone for CCAB { @@ -486,7 +486,7 @@ impl ::core::default::Default for FDINOTIFICATION { #[repr(C)] #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] pub struct FDISPILLFILE { - pub ach: [u8; 2], + pub ach: [i8; 2], pub cbFile: i32, } #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] @@ -510,7 +510,7 @@ impl ::core::default::Default for FDISPILLFILE { #[repr(C, packed(1))] #[cfg(target_arch = "x86")] pub struct FDISPILLFILE { - pub ach: [u8; 2], + pub ach: [i8; 2], pub cbFile: i32, } #[cfg(target_arch = "x86")] diff --git a/crates/libs/windows/src/Windows/Win32/Storage/FileSystem/mod.rs b/crates/libs/windows/src/Windows/Win32/Storage/FileSystem/mod.rs index 21c155a9f7..0992233fd4 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/FileSystem/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/FileSystem/mod.rs @@ -10349,9 +10349,9 @@ impl ::core::default::Default for NTMS_ASYNC_IO { pub struct NTMS_CHANGERINFORMATIONA { pub Number: u32, pub ChangerType: ::windows_core::GUID, - pub szSerialNumber: [u8; 32], - pub szRevision: [u8; 32], - pub szDeviceName: [u8; 64], + pub szSerialNumber: [i8; 32], + pub szRevision: [i8; 32], + pub szDeviceName: [i8; 64], pub ScsiPort: u16, pub ScsiBus: u16, pub ScsiTarget: u16, @@ -10423,8 +10423,8 @@ impl ::core::default::Default for NTMS_CHANGERINFORMATIONW { } #[repr(C)] pub struct NTMS_CHANGERTYPEINFORMATIONA { - pub szVendor: [u8; 128], - pub szProduct: [u8; 128], + pub szVendor: [i8; 128], + pub szProduct: [i8; 128], pub DeviceType: u32, } impl ::core::marker::Copy for NTMS_CHANGERTYPEINFORMATIONA {} @@ -10521,9 +10521,9 @@ pub struct NTMS_DRIVEINFORMATIONA { pub Number: u32, pub State: u32, pub DriveType: ::windows_core::GUID, - pub szDeviceName: [u8; 64], - pub szSerialNumber: [u8; 32], - pub szRevision: [u8; 32], + pub szDeviceName: [i8; 64], + pub szSerialNumber: [i8; 32], + pub szRevision: [i8; 32], pub ScsiPort: u16, pub ScsiBus: u16, pub ScsiTarget: u16, @@ -10640,8 +10640,8 @@ impl ::core::default::Default for NTMS_DRIVEINFORMATIONW { } #[repr(C)] pub struct NTMS_DRIVETYPEINFORMATIONA { - pub szVendor: [u8; 128], - pub szProduct: [u8; 128], + pub szVendor: [i8; 128], + pub szProduct: [i8; 128], pub NumberOfHeads: u32, pub DeviceType: FILE_DEVICE_TYPE, } @@ -10836,9 +10836,9 @@ pub struct NTMS_I1_LIBREQUESTINFORMATIONA { pub SlotId: ::windows_core::GUID, pub TimeQueued: super::super::Foundation::SYSTEMTIME, pub TimeCompleted: super::super::Foundation::SYSTEMTIME, - pub szApplication: [u8; 64], - pub szUser: [u8; 64], - pub szComputer: [u8; 64], + pub szApplication: [i8; 64], + pub szUser: [i8; 64], + pub szComputer: [i8; 64], } impl ::core::marker::Copy for NTMS_I1_LIBREQUESTINFORMATIONA {} impl ::core::clone::Clone for NTMS_I1_LIBREQUESTINFORMATIONA { @@ -10943,8 +10943,8 @@ pub struct NTMS_I1_OBJECTINFORMATIONA { pub ObjectGuid: ::windows_core::GUID, pub Enabled: super::super::Foundation::BOOL, pub dwOperationalState: u32, - pub szName: [u8; 64], - pub szDescription: [u8; 127], + pub szName: [i8; 64], + pub szDescription: [i8; 127], pub Info: NTMS_I1_OBJECTINFORMATIONA_0, } impl ::core::marker::Copy for NTMS_I1_OBJECTINFORMATIONA {} @@ -11057,14 +11057,14 @@ pub struct NTMS_I1_OPREQUESTINFORMATIONA { pub Request: u32, pub Submitted: super::super::Foundation::SYSTEMTIME, pub State: u32, - pub szMessage: [u8; 127], + pub szMessage: [i8; 127], pub Arg1Type: u32, pub Arg1: ::windows_core::GUID, pub Arg2Type: u32, pub Arg2: ::windows_core::GUID, - pub szApplication: [u8; 64], - pub szUser: [u8; 64], - pub szComputer: [u8; 64], + pub szApplication: [i8; 64], + pub szUser: [i8; 64], + pub szComputer: [i8; 64], } impl ::core::marker::Copy for NTMS_I1_OPREQUESTINFORMATIONA {} impl ::core::clone::Clone for NTMS_I1_OPREQUESTINFORMATIONA { @@ -11138,8 +11138,8 @@ pub struct NTMS_I1_PARTITIONINFORMATIONA { pub Side: u16, pub dwOmidLabelIdLength: u32, pub OmidLabelId: [u8; 255], - pub szOmidLabelType: [u8; 64], - pub szOmidLabelInfo: [u8; 256], + pub szOmidLabelType: [i8; 64], + pub szOmidLabelInfo: [i8; 256], pub dwMountCount: u32, pub dwAllocateCount: u32, } @@ -11214,9 +11214,9 @@ pub struct NTMS_I1_PMIDINFORMATIONA { pub LocationType: u32, pub MediaType: ::windows_core::GUID, pub HomeSlot: ::windows_core::GUID, - pub szBarCode: [u8; 64], + pub szBarCode: [i8; 64], pub BarCodeState: u32, - pub szSequenceNumber: [u8; 32], + pub szSequenceNumber: [i8; 32], pub MediaState: u32, pub dwNumberOfPartitions: u32, } @@ -11482,9 +11482,9 @@ pub struct NTMS_LIBREQUESTINFORMATIONA { pub SlotId: ::windows_core::GUID, pub TimeQueued: super::super::Foundation::SYSTEMTIME, pub TimeCompleted: super::super::Foundation::SYSTEMTIME, - pub szApplication: [u8; 64], - pub szUser: [u8; 64], - pub szComputer: [u8; 64], + pub szApplication: [i8; 64], + pub szUser: [i8; 64], + pub szComputer: [i8; 64], pub dwErrorCode: u32, pub WorkItemId: ::windows_core::GUID, pub dwPriority: u32, @@ -11770,8 +11770,8 @@ pub struct NTMS_OBJECTINFORMATIONA { pub ObjectGuid: ::windows_core::GUID, pub Enabled: super::super::Foundation::BOOL, pub dwOperationalState: u32, - pub szName: [u8; 64], - pub szDescription: [u8; 127], + pub szName: [i8; 64], + pub szDescription: [i8; 127], pub Info: NTMS_OBJECTINFORMATIONA_0, } impl ::core::marker::Copy for NTMS_OBJECTINFORMATIONA {} @@ -11886,14 +11886,14 @@ pub struct NTMS_OPREQUESTINFORMATIONA { pub Request: u32, pub Submitted: super::super::Foundation::SYSTEMTIME, pub State: u32, - pub szMessage: [u8; 256], + pub szMessage: [i8; 256], pub Arg1Type: u32, pub Arg1: ::windows_core::GUID, pub Arg2Type: u32, pub Arg2: ::windows_core::GUID, - pub szApplication: [u8; 64], - pub szUser: [u8; 64], - pub szComputer: [u8; 64], + pub szApplication: [i8; 64], + pub szUser: [i8; 64], + pub szComputer: [i8; 64], } impl ::core::marker::Copy for NTMS_OPREQUESTINFORMATIONA {} impl ::core::clone::Clone for NTMS_OPREQUESTINFORMATIONA { @@ -11967,8 +11967,8 @@ pub struct NTMS_PARTITIONINFORMATIONA { pub Side: u16, pub dwOmidLabelIdLength: u32, pub OmidLabelId: [u8; 255], - pub szOmidLabelType: [u8; 64], - pub szOmidLabelInfo: [u8; 256], + pub szOmidLabelType: [i8; 64], + pub szOmidLabelInfo: [i8; 256], pub dwMountCount: u32, pub dwAllocateCount: u32, pub Capacity: i64, @@ -12069,9 +12069,9 @@ pub struct NTMS_PMIDINFORMATIONA { pub LocationType: u32, pub MediaType: ::windows_core::GUID, pub HomeSlot: ::windows_core::GUID, - pub szBarCode: [u8; 64], + pub szBarCode: [i8; 64], pub BarCodeState: u32, - pub szSequenceNumber: [u8; 32], + pub szSequenceNumber: [i8; 32], pub MediaState: u32, pub dwNumberOfPartitions: u32, pub dwMediaTypeCode: u32, @@ -12213,7 +12213,7 @@ pub struct OFSTRUCT { pub nErrCode: u16, pub Reserved1: u16, pub Reserved2: u16, - pub szPathName: [u8; 128], + pub szPathName: [i8; 128], } impl ::core::marker::Copy for OFSTRUCT {} impl ::core::clone::Clone for OFSTRUCT { @@ -14289,8 +14289,8 @@ pub struct WIN32_FIND_DATAA { pub nFileSizeLow: u32, pub dwReserved0: u32, pub dwReserved1: u32, - pub cFileName: [u8; 260], - pub cAlternateFileName: [u8; 14], + pub cFileName: [i8; 260], + pub cAlternateFileName: [i8; 14], } impl ::core::marker::Copy for WIN32_FIND_DATAA {} impl ::core::clone::Clone for WIN32_FIND_DATAA { diff --git a/crates/libs/windows/src/Windows/Win32/Storage/IscsiDisc/mod.rs b/crates/libs/windows/src/Windows/Win32/Storage/IscsiDisc/mod.rs index 6e8c66285d..2c29ed3b51 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/IscsiDisc/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/IscsiDisc/mod.rs @@ -1854,12 +1854,12 @@ impl ::core::default::Default for ISCSI_CONNECTION_INFO_EX { #[doc = "Required features: `\"Win32_System_Ioctl\"`"] #[cfg(feature = "Win32_System_Ioctl")] pub struct ISCSI_DEVICE_ON_SESSIONA { - pub InitiatorName: [u8; 256], - pub TargetName: [u8; 224], + pub InitiatorName: [i8; 256], + pub TargetName: [i8; 224], pub ScsiAddress: SCSI_ADDRESS, pub DeviceInterfaceType: ::windows_core::GUID, - pub DeviceInterfaceName: [u8; 260], - pub LegacyName: [u8; 260], + pub DeviceInterfaceName: [i8; 260], + pub LegacyName: [i8; 260], pub StorageDeviceNumber: super::super::System::Ioctl::STORAGE_DEVICE_NUMBER, pub DeviceInstance: u32, } @@ -2124,9 +2124,9 @@ impl ::core::default::Default for ISCSI_SESSION_INFO_EX { } #[repr(C)] pub struct ISCSI_TARGET_MAPPINGA { - pub InitiatorName: [u8; 256], - pub TargetName: [u8; 224], - pub OSDeviceName: [u8; 260], + pub InitiatorName: [i8; 256], + pub TargetName: [i8; 224], + pub OSDeviceName: [i8; 260], pub SessionId: ISCSI_UNIQUE_SESSION_ID, pub OSBusNumber: u32, pub OSTargetNumber: u32, @@ -2196,8 +2196,8 @@ impl ::core::default::Default for ISCSI_TARGET_MAPPINGW { } #[repr(C)] pub struct ISCSI_TARGET_PORTALA { - pub SymbolicName: [u8; 256], - pub Address: [u8; 256], + pub SymbolicName: [i8; 256], + pub Address: [i8; 256], pub Socket: u16, } impl ::core::marker::Copy for ISCSI_TARGET_PORTALA {} @@ -2318,10 +2318,10 @@ impl ::core::default::Default for ISCSI_TARGET_PORTAL_GROUPW { } #[repr(C)] pub struct ISCSI_TARGET_PORTAL_INFOA { - pub InitiatorName: [u8; 256], + pub InitiatorName: [i8; 256], pub InitiatorPortNumber: u32, - pub SymbolicName: [u8; 256], - pub Address: [u8; 256], + pub SymbolicName: [i8; 256], + pub Address: [i8; 256], pub Socket: u16, } impl ::core::marker::Copy for ISCSI_TARGET_PORTAL_INFOA {} @@ -2384,10 +2384,10 @@ impl ::core::default::Default for ISCSI_TARGET_PORTAL_INFOW { } #[repr(C)] pub struct ISCSI_TARGET_PORTAL_INFO_EXA { - pub InitiatorName: [u8; 256], + pub InitiatorName: [i8; 256], pub InitiatorPortNumber: u32, - pub SymbolicName: [u8; 256], - pub Address: [u8; 256], + pub SymbolicName: [i8; 256], + pub Address: [i8; 256], pub Socket: u16, pub SecurityFlags: u64, pub LoginOptions: ISCSI_LOGIN_OPTIONS, @@ -3135,9 +3135,9 @@ impl ::core::default::Default for NV_SEP_CACHE_PARAMETER_0_0 { } #[repr(C)] pub struct PERSISTENT_ISCSI_LOGIN_INFOA { - pub TargetName: [u8; 224], + pub TargetName: [i8; 224], pub IsInformationalSession: super::super::Foundation::BOOLEAN, - pub InitiatorInstance: [u8; 256], + pub InitiatorInstance: [i8; 256], pub InitiatorPortNumber: u32, pub TargetPortal: ISCSI_TARGET_PORTALA, pub SecurityFlags: u64, diff --git a/crates/libs/windows/src/Windows/Win32/Storage/Jet/mod.rs b/crates/libs/windows/src/Windows/Win32/Storage/Jet/mod.rs index 43216abe48..50ad173661 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/Jet/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/Jet/mod.rs @@ -3268,12 +3268,12 @@ impl ::core::default::Default for JET_BKINFO_0 { } #[repr(C)] pub struct JET_BKLOGTIME { - pub bSeconds: u8, - pub bMinutes: u8, - pub bHours: u8, - pub bDay: u8, - pub bMonth: u8, - pub bYear: u8, + pub bSeconds: i8, + pub bMinutes: i8, + pub bHours: i8, + pub bDay: i8, + pub bMonth: i8, + pub bYear: i8, pub Anonymous1: JET_BKLOGTIME_0, pub Anonymous2: JET_BKLOGTIME_1, } @@ -3293,7 +3293,7 @@ impl ::core::default::Default for JET_BKLOGTIME { } #[repr(C)] pub union JET_BKLOGTIME_0 { - pub bFiller1: u8, + pub bFiller1: i8, pub Anonymous: JET_BKLOGTIME_0_0, } impl ::core::marker::Copy for JET_BKLOGTIME_0 {} @@ -3341,7 +3341,7 @@ impl ::core::default::Default for JET_BKLOGTIME_0_0 { } #[repr(C)] pub union JET_BKLOGTIME_1 { - pub bFiller2: u8, + pub bFiller2: i8, pub Anonymous: JET_BKLOGTIME_1_0, } impl ::core::marker::Copy for JET_BKLOGTIME_1 {} @@ -3398,8 +3398,8 @@ pub struct JET_COLUMNBASE_A { pub wFiller: u16, pub cbMax: u32, pub grbit: u32, - pub szBaseTableName: [u8; 256], - pub szBaseColumnName: [u8; 256], + pub szBaseTableName: [i8; 256], + pub szBaseColumnName: [i8; 256], } impl ::core::marker::Copy for JET_COLUMNBASE_A {} impl ::core::clone::Clone for JET_COLUMNBASE_A { @@ -5135,7 +5135,7 @@ pub struct JET_LOGINFO_A { pub cbSize: u32, pub ulGenLow: u32, pub ulGenHigh: u32, - pub szBaseName: [u8; 4], + pub szBaseName: [i8; 4], } impl ::core::marker::Copy for JET_LOGINFO_A {} impl ::core::clone::Clone for JET_LOGINFO_A { @@ -5196,12 +5196,12 @@ impl ::core::default::Default for JET_LOGINFO_W { } #[repr(C)] pub struct JET_LOGTIME { - pub bSeconds: u8, - pub bMinutes: u8, - pub bHours: u8, - pub bDay: u8, - pub bMonth: u8, - pub bYear: u8, + pub bSeconds: i8, + pub bMinutes: i8, + pub bHours: i8, + pub bDay: i8, + pub bMonth: i8, + pub bYear: i8, pub Anonymous1: JET_LOGTIME_0, pub Anonymous2: JET_LOGTIME_1, } @@ -5221,7 +5221,7 @@ impl ::core::default::Default for JET_LOGTIME { } #[repr(C)] pub union JET_LOGTIME_0 { - pub bFiller1: u8, + pub bFiller1: i8, pub Anonymous: JET_LOGTIME_0_0, } impl ::core::marker::Copy for JET_LOGTIME_0 {} @@ -5269,7 +5269,7 @@ impl ::core::default::Default for JET_LOGTIME_0_0 { } #[repr(C)] pub union JET_LOGTIME_1 { - pub bFiller2: u8, + pub bFiller2: i8, pub Anonymous: JET_LOGTIME_1_0, } impl ::core::marker::Copy for JET_LOGTIME_1 {} @@ -6210,7 +6210,7 @@ impl ::core::default::Default for JET_SETSYSPARAM_W { pub struct JET_SIGNATURE { pub ulRandom: u32, pub logtimeCreate: JET_LOGTIME, - pub szComputerName: [u8; 16], + pub szComputerName: [i8; 16], } impl ::core::marker::Copy for JET_SIGNATURE {} impl ::core::clone::Clone for JET_SIGNATURE { diff --git a/crates/libs/windows/src/Windows/Win32/Storage/Nvme/mod.rs b/crates/libs/windows/src/Windows/Win32/Storage/Nvme/mod.rs index 2fd4b0aef0..b089250430 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/Nvme/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/Nvme/mod.rs @@ -10618,10 +10618,10 @@ impl ::core::default::Default for NVME_SANITIZE_STATUS_LOG { } #[repr(C)] pub struct NVME_SCSI_NAME_STRING { - pub PCIVendorID: [u8; 4], - pub ModelNumber: [u8; 40], - pub NamespaceID: [u8; 4], - pub SerialNumber: [u8; 20], + pub PCIVendorID: [i8; 4], + pub ModelNumber: [i8; 40], + pub NamespaceID: [i8; 4], + pub SerialNumber: [i8; 20], } impl ::core::marker::Copy for NVME_SCSI_NAME_STRING {} impl ::core::clone::Clone for NVME_SCSI_NAME_STRING { diff --git a/crates/libs/windows/src/Windows/Win32/System/Com/StructuredStorage/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Com/StructuredStorage/mod.rs index 7aa1052a8e..58a93db86d 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Com/StructuredStorage/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Com/StructuredStorage/mod.rs @@ -2752,7 +2752,7 @@ impl ::core::default::Default for PROPVARIANT_0_0 { #[doc = "Required features: `\"Win32_System_Variant\"`"] #[cfg(feature = "Win32_System_Variant")] pub union PROPVARIANT_0_0_0 { - pub cVal: u8, + pub cVal: i8, pub bVal: u8, pub iVal: i16, pub uiVal: u16, diff --git a/crates/libs/windows/src/Windows/Win32/System/Console/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Console/mod.rs index db40181021..c901f226ad 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Console/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Console/mod.rs @@ -79,11 +79,11 @@ where FillConsoleOutputAttribute(hconsoleoutput.into_param().abi(), wattribute, nlength, ::core::mem::transmute(dwwritecoord), lpnumberofattrswritten).ok() } #[inline] -pub unsafe fn FillConsoleOutputCharacterA(hconsoleoutput: P0, ccharacter: u8, nlength: u32, dwwritecoord: COORD, lpnumberofcharswritten: *mut u32) -> ::windows_core::Result<()> +pub unsafe fn FillConsoleOutputCharacterA(hconsoleoutput: P0, ccharacter: i8, nlength: u32, dwwritecoord: COORD, lpnumberofcharswritten: *mut u32) -> ::windows_core::Result<()> where P0: ::windows_core::IntoParam, { - ::windows_targets::link!("kernel32.dll" "system" fn FillConsoleOutputCharacterA(hconsoleoutput : super::super::Foundation:: HANDLE, ccharacter : u8, nlength : u32, dwwritecoord : COORD, lpnumberofcharswritten : *mut u32) -> super::super::Foundation:: BOOL); + ::windows_targets::link!("kernel32.dll" "system" fn FillConsoleOutputCharacterA(hconsoleoutput : super::super::Foundation:: HANDLE, ccharacter : i8, nlength : u32, dwwritecoord : COORD, lpnumberofcharswritten : *mut u32) -> super::super::Foundation:: BOOL); FillConsoleOutputCharacterA(hconsoleoutput.into_param().abi(), ccharacter, nlength, ::core::mem::transmute(dwwritecoord), lpnumberofcharswritten).ok() } #[inline] @@ -895,7 +895,7 @@ impl ::core::default::Default for CHAR_INFO { #[repr(C)] pub union CHAR_INFO_0 { pub UnicodeChar: u16, - pub AsciiChar: u8, + pub AsciiChar: i8, } impl ::core::marker::Copy for CHAR_INFO_0 {} impl ::core::clone::Clone for CHAR_INFO_0 { @@ -1323,7 +1323,7 @@ impl ::core::default::Default for KEY_EVENT_RECORD { #[repr(C)] pub union KEY_EVENT_RECORD_0 { pub UnicodeChar: u16, - pub AsciiChar: u8, + pub AsciiChar: i8, } impl ::core::marker::Copy for KEY_EVENT_RECORD_0 {} impl ::core::clone::Clone for KEY_EVENT_RECORD_0 { diff --git a/crates/libs/windows/src/Windows/Win32/System/CorrelationVector/mod.rs b/crates/libs/windows/src/Windows/Win32/System/CorrelationVector/mod.rs index ead252a6ce..1d87df2be7 100644 --- a/crates/libs/windows/src/Windows/Win32/System/CorrelationVector/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/CorrelationVector/mod.rs @@ -25,8 +25,8 @@ pub const RTL_CORRELATION_VECTOR_V2_LENGTH: u32 = 128u32; pub const RTL_CORRELATION_VECTOR_V2_PREFIX_LENGTH: u32 = 22u32; #[repr(C)] pub struct CORRELATION_VECTOR { - pub Version: u8, - pub Vector: [u8; 129], + pub Version: i8, + pub Vector: [i8; 129], } impl ::core::marker::Copy for CORRELATION_VECTOR {} impl ::core::clone::Clone for CORRELATION_VECTOR { diff --git a/crates/libs/windows/src/Windows/Win32/System/DataExchange/mod.rs b/crates/libs/windows/src/Windows/Win32/System/DataExchange/mod.rs index 0d642fffe3..c2b99032ce 100644 --- a/crates/libs/windows/src/Windows/Win32/System/DataExchange/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/DataExchange/mod.rs @@ -1501,7 +1501,7 @@ pub struct MONHSZSTRUCTA { pub dwTime: u32, pub hsz: HSZ, pub hTask: super::super::Foundation::HANDLE, - pub str: [u8; 1], + pub str: [i8; 1], } impl ::core::marker::Copy for MONHSZSTRUCTA {} impl ::core::clone::Clone for MONHSZSTRUCTA { diff --git a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/Extensions/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/Extensions/mod.rs index bbc583d961..eab9137cca 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/Extensions/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/Extensions/mod.rs @@ -20846,8 +20846,8 @@ pub struct DBG_THREAD_ATTRIBUTES { pub BlockedOnTID: u64, pub CritSecAddress: u64, pub Timeout_msec: u32, - pub StringData: [u8; 100], - pub SymName: [u8; 100], + pub StringData: [i8; 100], + pub SymName: [i8; 100], } impl ::core::marker::Copy for DBG_THREAD_ATTRIBUTES {} impl ::core::clone::Clone for DBG_THREAD_ATTRIBUTES { @@ -20886,11 +20886,11 @@ pub struct DEBUG_ANALYSIS_PROCESSOR_INFO { pub CurrentVoltage: u32, pub MaxClockSpeed: u32, pub ProcessorType: u32, - pub DeviceID: [u8; 32], - pub Manufacturer: [u8; 64], - pub Name: [u8; 64], - pub Version: [u8; 64], - pub Description: [u8; 64], + pub DeviceID: [i8; 32], + pub Manufacturer: [i8; 64], + pub Name: [i8; 64], + pub Version: [i8; 64], + pub Description: [i8; 64], } impl ::core::marker::Copy for DEBUG_ANALYSIS_PROCESSOR_INFO {} impl ::core::clone::Clone for DEBUG_ANALYSIS_PROCESSOR_INFO { @@ -21153,8 +21153,8 @@ pub struct DEBUG_DECODE_ERROR { pub SizeOfStruct: u32, pub Code: u32, pub TreatAsStatus: super::super::super::super::Foundation::BOOL, - pub Source: [u8; 64], - pub Message: [u8; 260], + pub Source: [i8; 64], + pub Message: [i8; 260], } impl ::core::marker::Copy for DEBUG_DECODE_ERROR {} impl ::core::clone::Clone for DEBUG_DECODE_ERROR { @@ -21921,9 +21921,9 @@ impl ::core::default::Default for DEBUG_PNP_TRIAGE_INFO { pub struct DEBUG_POOLTAG_DESCRIPTION { pub SizeOfStruct: u32, pub PoolTag: u32, - pub Description: [u8; 260], - pub Binary: [u8; 32], - pub Owner: [u8; 32], + pub Description: [i8; 260], + pub Binary: [i8; 32], + pub Owner: [i8; 32], } impl ::core::marker::Copy for DEBUG_POOLTAG_DESCRIPTION {} impl ::core::clone::Clone for DEBUG_POOLTAG_DESCRIPTION { @@ -21961,7 +21961,7 @@ pub struct DEBUG_POOL_DATA { pub ProcessBilled: u64, pub Anonymous: DEBUG_POOL_DATA_0, pub Reserved2: [u64; 4], - pub PoolTagDescription: [u8; 64], + pub PoolTagDescription: [i8; 64], } impl ::core::marker::Copy for DEBUG_POOL_DATA {} impl ::core::clone::Clone for DEBUG_POOL_DATA { @@ -22083,7 +22083,7 @@ pub struct DEBUG_PROCESSOR_IDENTIFICATION_AMD64 { pub Family: u32, pub Model: u32, pub Stepping: u32, - pub VendorString: [u8; 16], + pub VendorString: [i8; 16], } impl ::core::marker::Copy for DEBUG_PROCESSOR_IDENTIFICATION_AMD64 {} impl ::core::clone::Clone for DEBUG_PROCESSOR_IDENTIFICATION_AMD64 { @@ -22114,7 +22114,7 @@ impl ::core::default::Default for DEBUG_PROCESSOR_IDENTIFICATION_AMD64 { pub struct DEBUG_PROCESSOR_IDENTIFICATION_ARM { pub Model: u32, pub Revision: u32, - pub VendorString: [u8; 16], + pub VendorString: [i8; 16], } impl ::core::marker::Copy for DEBUG_PROCESSOR_IDENTIFICATION_ARM {} impl ::core::clone::Clone for DEBUG_PROCESSOR_IDENTIFICATION_ARM { @@ -22145,7 +22145,7 @@ impl ::core::default::Default for DEBUG_PROCESSOR_IDENTIFICATION_ARM { pub struct DEBUG_PROCESSOR_IDENTIFICATION_ARM64 { pub Model: u32, pub Revision: u32, - pub VendorString: [u8; 16], + pub VendorString: [i8; 16], } impl ::core::marker::Copy for DEBUG_PROCESSOR_IDENTIFICATION_ARM64 {} impl ::core::clone::Clone for DEBUG_PROCESSOR_IDENTIFICATION_ARM64 { @@ -22178,7 +22178,7 @@ pub struct DEBUG_PROCESSOR_IDENTIFICATION_IA64 { pub Revision: u32, pub Family: u32, pub ArchRev: u32, - pub VendorString: [u8; 16], + pub VendorString: [i8; 16], } impl ::core::marker::Copy for DEBUG_PROCESSOR_IDENTIFICATION_IA64 {} impl ::core::clone::Clone for DEBUG_PROCESSOR_IDENTIFICATION_IA64 { @@ -22210,7 +22210,7 @@ pub struct DEBUG_PROCESSOR_IDENTIFICATION_X86 { pub Family: u32, pub Model: u32, pub Stepping: u32, - pub VendorString: [u8; 16], + pub VendorString: [i8; 16], } impl ::core::marker::Copy for DEBUG_PROCESSOR_IDENTIFICATION_X86 {} impl ::core::clone::Clone for DEBUG_PROCESSOR_IDENTIFICATION_X86 { @@ -22317,17 +22317,17 @@ pub struct DEBUG_SMBIOS_INFO { pub BiosMinorRelease: u8, pub FirmwareMajorRelease: u8, pub FirmwareMinorRelease: u8, - pub BaseBoardManufacturer: [u8; 64], - pub BaseBoardProduct: [u8; 64], - pub BaseBoardVersion: [u8; 64], - pub BiosReleaseDate: [u8; 64], - pub BiosVendor: [u8; 64], - pub BiosVersion: [u8; 64], - pub SystemFamily: [u8; 64], - pub SystemManufacturer: [u8; 64], - pub SystemProductName: [u8; 64], - pub SystemSKU: [u8; 64], - pub SystemVersion: [u8; 64], + pub BaseBoardManufacturer: [i8; 64], + pub BaseBoardProduct: [i8; 64], + pub BaseBoardVersion: [i8; 64], + pub BiosReleaseDate: [i8; 64], + pub BiosVendor: [i8; 64], + pub BiosVersion: [i8; 64], + pub SystemFamily: [i8; 64], + pub SystemManufacturer: [i8; 64], + pub SystemProductName: [i8; 64], + pub SystemSKU: [i8; 64], + pub SystemVersion: [i8; 64], } impl ::core::marker::Copy for DEBUG_SMBIOS_INFO {} impl ::core::clone::Clone for DEBUG_SMBIOS_INFO { @@ -24708,7 +24708,7 @@ pub struct KDEXT_FILELOCK_OWNER { pub OwnerThread: u64, pub WaitIrp: u64, pub DeviceObject: u64, - pub BlockingDirver: [u8; 32], + pub BlockingDirver: [i8; 32], } impl ::core::marker::Copy for KDEXT_FILELOCK_OWNER {} impl ::core::clone::Clone for KDEXT_FILELOCK_OWNER { @@ -24878,11 +24878,11 @@ pub struct OS_INFO { pub ServicePackBuild: u32, pub Architecture: u32, pub Lcid: u32, - pub Name: [u8; 64], - pub FullName: [u8; 256], - pub Language: [u8; 30], - pub BuildVersion: [u8; 64], - pub ServicePackString: [u8; 64], + pub Name: [i8; 64], + pub FullName: [i8; 256], + pub Language: [i8; 30], + pub BuildVersion: [i8; 64], + pub ServicePackString: [i8; 64], } impl ::core::marker::Copy for OS_INFO {} impl ::core::clone::Clone for OS_INFO { @@ -24964,9 +24964,9 @@ pub struct OS_INFO_v1 { pub Suite: u32, pub s: OS_INFO_v1_1, pub SrvPackNumber: u32, - pub Language: [u8; 30], - pub OsString: [u8; 64], - pub ServicePackString: [u8; 64], + pub Language: [i8; 30], + pub OsString: [i8; 64], + pub ServicePackString: [i8; 64], } impl ::core::marker::Copy for OS_INFO_v1 {} impl ::core::clone::Clone for OS_INFO_v1 { @@ -25732,7 +25732,7 @@ pub struct TARGET_DEBUG_INFO { pub CrashTime: u64, pub OsInfo: OS_INFO, pub Cpu: CPU_INFO, - pub DumpFile: [u8; 260], + pub DumpFile: [i8; 260], } impl ::core::marker::Copy for TARGET_DEBUG_INFO {} impl ::core::clone::Clone for TARGET_DEBUG_INFO { @@ -25760,9 +25760,9 @@ pub struct TARGET_DEBUG_INFO_v1 { pub Mode: u64, pub OsInfo: OS_INFO_v1, pub Cpu: CPU_INFO_v1, - pub DumpFile: [u8; 260], + pub DumpFile: [i8; 260], pub FailureData: *mut ::core::ffi::c_void, - pub StackTr: [u8; 4096], + pub StackTr: [i8; 4096], } impl ::core::marker::Copy for TARGET_DEBUG_INFO_v1 {} impl ::core::clone::Clone for TARGET_DEBUG_INFO_v1 { @@ -25788,7 +25788,7 @@ pub struct TARGET_DEBUG_INFO_v2 { pub CrashTime: u64, pub OsInfo: OS_INFO, pub Cpu: CPU_INFO_v2, - pub DumpFile: [u8; 260], + pub DumpFile: [i8; 260], } impl ::core::marker::Copy for TARGET_DEBUG_INFO_v2 {} impl ::core::clone::Clone for TARGET_DEBUG_INFO_v2 { @@ -26219,14 +26219,14 @@ impl ::core::default::Default for WINDBG_OLD_EXTENSION_APIS { } #[repr(C)] pub struct XML_DRIVER_NODE_INFO { - pub FileName: [u8; 64], + pub FileName: [i8; 64], pub FileSize: u64, pub CreationDate: u64, - pub Version: [u8; 64], - pub Manufacturer: [u8; 260], - pub ProductName: [u8; 260], - pub Group: [u8; 260], - pub Altitude: [u8; 260], + pub Version: [i8; 64], + pub Manufacturer: [i8; 260], + pub ProductName: [i8; 260], + pub Group: [i8; 260], + pub Altitude: [i8; 260], } impl ::core::marker::Copy for XML_DRIVER_NODE_INFO {} impl ::core::clone::Clone for XML_DRIVER_NODE_INFO { diff --git a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/mod.rs index 6ce0c8156b..5d9388b7de 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/mod.rs @@ -6892,7 +6892,7 @@ pub struct DUMP_HEADER32 { pub BugCheckParameter2: u32, pub BugCheckParameter3: u32, pub BugCheckParameter4: u32, - pub VersionUser: [u8; 32], + pub VersionUser: [i8; 32], pub PaeEnabled: u8, pub KdSecondaryVersion: u8, pub Spare3: [u8; 2], @@ -6900,7 +6900,7 @@ pub struct DUMP_HEADER32 { pub Anonymous: DUMP_HEADER32_0, pub ContextRecord: [u8; 1200], pub Exception: EXCEPTION_RECORD32, - pub Comment: [u8; 128], + pub Comment: [i8; 128], pub Attributes: DUMP_FILE_ATTRIBUTES, pub BootId: u32, pub _reserved0: [u8; 1760], @@ -6966,7 +6966,7 @@ pub struct DUMP_HEADER64 { pub BugCheckParameter2: u64, pub BugCheckParameter3: u64, pub BugCheckParameter4: u64, - pub VersionUser: [u8; 32], + pub VersionUser: [i8; 32], pub KdDebuggerDataBlock: u64, pub Anonymous: DUMP_HEADER64_0, pub ContextRecord: [u8; 3000], @@ -6974,7 +6974,7 @@ pub struct DUMP_HEADER64 { pub DumpType: u32, pub RequiredDumpSpace: i64, pub SystemTime: i64, - pub Comment: [u8; 128], + pub Comment: [i8; 128], pub SystemUpTime: i64, pub MiniDumpFields: u32, pub SecondaryDataState: u32, @@ -7454,7 +7454,7 @@ pub struct IMAGEHLP_DEFERRED_SYMBOL_LOAD { pub BaseOfImage: u32, pub CheckSum: u32, pub TimeDateStamp: u32, - pub FileName: [u8; 260], + pub FileName: [i8; 260], pub Reparse: super::super::super::Foundation::BOOLEAN, pub hFile: super::super::super::Foundation::HANDLE, } @@ -7496,7 +7496,7 @@ pub struct IMAGEHLP_DEFERRED_SYMBOL_LOAD64 { pub BaseOfImage: u64, pub CheckSum: u32, pub TimeDateStamp: u32, - pub FileName: [u8; 260], + pub FileName: [i8; 260], pub Reparse: super::super::super::Foundation::BOOLEAN, pub hFile: super::super::super::Foundation::HANDLE, pub Flags: u32, @@ -7888,9 +7888,9 @@ pub struct IMAGEHLP_MODULE { pub CheckSum: u32, pub NumSyms: u32, pub SymType: SYM_TYPE, - pub ModuleName: [u8; 32], - pub ImageName: [u8; 256], - pub LoadedImageName: [u8; 256], + pub ModuleName: [i8; 32], + pub ImageName: [i8; 256], + pub LoadedImageName: [i8; 256], } #[cfg(target_arch = "x86")] impl ::core::marker::Copy for IMAGEHLP_MODULE {} @@ -7933,12 +7933,12 @@ pub struct IMAGEHLP_MODULE64 { pub CheckSum: u32, pub NumSyms: u32, pub SymType: SYM_TYPE, - pub ModuleName: [u8; 32], - pub ImageName: [u8; 256], - pub LoadedImageName: [u8; 256], - pub LoadedPdbName: [u8; 256], + pub ModuleName: [i8; 32], + pub ImageName: [i8; 256], + pub LoadedImageName: [i8; 256], + pub LoadedPdbName: [i8; 256], pub CVSig: u32, - pub CVData: [u8; 780], + pub CVData: [i8; 780], pub PdbSig: u32, pub PdbSig70: ::windows_core::GUID, pub PdbAge: u32, @@ -8282,7 +8282,7 @@ pub struct IMAGEHLP_SYMBOL { pub Size: u32, pub Flags: u32, pub MaxNameLength: u32, - pub Name: [u8; 1], + pub Name: [i8; 1], } #[cfg(target_arch = "x86")] impl ::core::marker::Copy for IMAGEHLP_SYMBOL {} @@ -8323,7 +8323,7 @@ pub struct IMAGEHLP_SYMBOL64 { pub Size: u32, pub Flags: u32, pub MaxNameLength: u32, - pub Name: [u8; 1], + pub Name: [i8; 1], } impl ::core::marker::Copy for IMAGEHLP_SYMBOL64 {} impl ::core::clone::Clone for IMAGEHLP_SYMBOL64 { @@ -8353,7 +8353,7 @@ impl ::core::default::Default for IMAGEHLP_SYMBOL64 { #[repr(C)] pub struct IMAGEHLP_SYMBOL64_PACKAGE { pub sym: IMAGEHLP_SYMBOL64, - pub name: [u8; 2001], + pub name: [i8; 2001], } impl ::core::marker::Copy for IMAGEHLP_SYMBOL64_PACKAGE {} impl ::core::clone::Clone for IMAGEHLP_SYMBOL64_PACKAGE { @@ -8528,7 +8528,7 @@ impl ::core::default::Default for IMAGEHLP_SYMBOLW_PACKAGE { #[cfg(target_arch = "x86")] pub struct IMAGEHLP_SYMBOL_PACKAGE { pub sym: IMAGEHLP_SYMBOL, - pub name: [u8; 2001], + pub name: [i8; 2001], } #[cfg(target_arch = "x86")] impl ::core::marker::Copy for IMAGEHLP_SYMBOL_PACKAGE {} @@ -8566,7 +8566,7 @@ impl ::core::default::Default for IMAGEHLP_SYMBOL_PACKAGE { pub struct IMAGEHLP_SYMBOL_SRC { pub sizeofstruct: u32, pub r#type: u32, - pub file: [u8; 260], + pub file: [i8; 260], } impl ::core::marker::Copy for IMAGEHLP_SYMBOL_SRC {} impl ::core::clone::Clone for IMAGEHLP_SYMBOL_SRC { @@ -13132,8 +13132,8 @@ pub struct SRCCODEINFO { pub SizeOfStruct: u32, pub Key: *mut ::core::ffi::c_void, pub ModBase: u64, - pub Obj: [u8; 261], - pub FileName: [u8; 261], + pub Obj: [i8; 261], + pub FileName: [i8; 261], pub LineNumber: u32, pub Address: u64, } @@ -13354,7 +13354,7 @@ pub struct SYMBOL_INFO { pub Tag: u32, pub NameLen: u32, pub MaxNameLen: u32, - pub Name: [u8; 1], + pub Name: [i8; 1], } impl ::core::marker::Copy for SYMBOL_INFO {} impl ::core::clone::Clone for SYMBOL_INFO { @@ -13459,7 +13459,7 @@ impl ::core::default::Default for SYMBOL_INFOW { #[repr(C)] pub struct SYMBOL_INFO_PACKAGE { pub si: SYMBOL_INFO, - pub name: [u8; 2001], + pub name: [i8; 2001], } impl ::core::marker::Copy for SYMBOL_INFO_PACKAGE {} impl ::core::clone::Clone for SYMBOL_INFO_PACKAGE { @@ -13550,12 +13550,12 @@ impl ::core::default::Default for SYMSRV_EXTENDED_OUTPUT_DATA { #[repr(C)] pub struct SYMSRV_INDEX_INFO { pub sizeofstruct: u32, - pub file: [u8; 261], + pub file: [i8; 261], pub stripped: super::super::super::Foundation::BOOL, pub timestamp: u32, pub size: u32, - pub dbgfile: [u8; 261], - pub pdbfile: [u8; 261], + pub dbgfile: [i8; 261], + pub pdbfile: [i8; 261], pub guid: ::windows_core::GUID, pub sig: u32, pub age: u32, diff --git a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/ToolHelp/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/ToolHelp/mod.rs index 03a6d0e5b7..35905283e9 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/ToolHelp/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/ToolHelp/mod.rs @@ -262,8 +262,8 @@ pub struct MODULEENTRY32 { pub modBaseAddr: *mut u8, pub modBaseSize: u32, pub hModule: super::super::super::Foundation::HMODULE, - pub szModule: [u8; 256], - pub szExePath: [u8; 260], + pub szModule: [i8; 256], + pub szExePath: [i8; 260], } impl ::core::marker::Copy for MODULEENTRY32 {} impl ::core::clone::Clone for MODULEENTRY32 { @@ -339,7 +339,7 @@ pub struct PROCESSENTRY32 { pub th32ParentProcessID: u32, pub pcPriClassBase: i32, pub dwFlags: u32, - pub szExeFile: [u8; 260], + pub szExeFile: [i8; 260], } impl ::core::marker::Copy for PROCESSENTRY32 {} impl ::core::clone::Clone for PROCESSENTRY32 { diff --git a/crates/libs/windows/src/Windows/Win32/System/DistributedTransactionCoordinator/mod.rs b/crates/libs/windows/src/Windows/Win32/System/DistributedTransactionCoordinator/mod.rs index a68ced3390..c598e1af8c 100644 --- a/crates/libs/windows/src/Windows/Win32/System/DistributedTransactionCoordinator/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/DistributedTransactionCoordinator/mod.rs @@ -2455,7 +2455,7 @@ pub struct XID { pub formatID: i32, pub gtrid_length: i32, pub bqual_length: i32, - pub data: [u8; 128], + pub data: [i8; 128], } impl ::core::marker::Copy for XID {} impl ::core::clone::Clone for XID { @@ -2484,7 +2484,7 @@ impl ::core::default::Default for XID { } #[repr(C)] pub struct xa_switch_t { - pub name: [u8; 32], + pub name: [i8; 32], pub flags: i32, pub version: i32, pub xa_open_entry: isize, diff --git a/crates/libs/windows/src/Windows/Win32/System/GroupPolicy/mod.rs b/crates/libs/windows/src/Windows/Win32/System/GroupPolicy/mod.rs index 7101a811af..f14a369444 100644 --- a/crates/libs/windows/src/Windows/Win32/System/GroupPolicy/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/GroupPolicy/mod.rs @@ -4992,7 +4992,7 @@ pub struct GROUP_POLICY_OBJECTA { pub lpDSPath: ::windows_core::PSTR, pub lpFileSysPath: ::windows_core::PSTR, pub lpDisplayName: ::windows_core::PSTR, - pub szGPOName: [u8; 50], + pub szGPOName: [i8; 50], pub GPOLink: GPO_LINK, pub lParam: super::super::Foundation::LPARAM, pub pNext: *mut GROUP_POLICY_OBJECTA, diff --git a/crates/libs/windows/src/Windows/Win32/System/Iis/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Iis/mod.rs index ba2ef9546b..0680ac48f2 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Iis/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Iis/mod.rs @@ -2167,7 +2167,7 @@ pub struct EXTENSION_CONTROL_BLOCK { pub dwVersion: u32, pub ConnID: HCONN, pub dwHttpStatusCode: u32, - pub lpszLogData: [u8; 80], + pub lpszLogData: [i8; 80], pub lpszMethod: ::windows_core::PSTR, pub lpszQueryString: ::windows_core::PSTR, pub lpszPathInfo: ::windows_core::PSTR, @@ -2628,7 +2628,7 @@ impl ::core::default::Default for HSE_UNICODE_URL_MAPEX_INFO { } #[repr(C)] pub struct HSE_URL_MAPEX_INFO { - pub lpszPath: [u8; 260], + pub lpszPath: [i8; 260], pub dwFlags: u32, pub cchMatchingPath: u32, pub cchMatchingURL: u32, @@ -2695,7 +2695,7 @@ impl ::core::default::Default for HSE_VECTOR_ELEMENT { #[repr(C)] pub struct HSE_VERSION_INFO { pub dwExtensionVersion: u32, - pub lpszExtensionDesc: [u8; 256], + pub lpszExtensionDesc: [i8; 256], } impl ::core::marker::Copy for HSE_VERSION_INFO {} impl ::core::clone::Clone for HSE_VERSION_INFO { @@ -3057,7 +3057,7 @@ impl ::core::default::Default for HTTP_FILTER_URL_MAP_EX { pub struct HTTP_FILTER_VERSION { pub dwServerFilterVersion: u32, pub dwFilterVersion: u32, - pub lpszFilterDesc: [u8; 257], + pub lpszFilterDesc: [i8; 257], pub dwFlags: u32, } impl ::core::marker::Copy for HTTP_FILTER_VERSION {} diff --git a/crates/libs/windows/src/Windows/Win32/System/Ioctl/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Ioctl/mod.rs index 09d6633fab..9228696bad 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Ioctl/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Ioctl/mod.rs @@ -4353,7 +4353,7 @@ impl ::core::default::Default for DEVICEDUMP_PRIVATE_SUBSECTION { pub struct DEVICEDUMP_PUBLIC_SUBSECTION { pub dwFlags: u32, pub GPLogTable: [GP_LOG_PAGE_DESCRIPTOR; 16], - pub szDescription: [u8; 16], + pub szDescription: [i8; 16], pub bData: [u8; 1], } impl ::core::marker::Copy for DEVICEDUMP_PUBLIC_SUBSECTION {} @@ -8362,7 +8362,7 @@ impl ::core::default::Default for FILE_STORAGE_TIER_REGION { } #[repr(C)] pub struct FILE_SYSTEM_RECOGNITION_INFORMATION { - pub FileSystem: [u8; 9], + pub FileSystem: [i8; 9], } impl ::core::marker::Copy for FILE_SYSTEM_RECOGNITION_INFORMATION {} impl ::core::clone::Clone for FILE_SYSTEM_RECOGNITION_INFORMATION { @@ -12698,7 +12698,7 @@ pub struct SCM_PD_DEVICE_INFO { pub ManufacturingYear: u8, pub SerialNumber4Byte: u32, pub SerialNumberLengthInChars: u32, - pub SerialNumber: [u8; 1], + pub SerialNumber: [i8; 1], } impl ::core::marker::Copy for SCM_PD_DEVICE_INFO {} impl ::core::clone::Clone for SCM_PD_DEVICE_INFO { diff --git a/crates/libs/windows/src/Windows/Win32/System/Ole/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Ole/mod.rs index 433c02c539..ff1a513dd6 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Ole/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Ole/mod.rs @@ -1396,8 +1396,8 @@ where VarBoolFromDisp(pdispin.into_param().abi(), lcid, &mut result__).from_abi(result__) } #[inline] -pub unsafe fn VarBoolFromI1(cin: u8) -> ::windows_core::Result { - ::windows_targets::link!("oleaut32.dll" "system" fn VarBoolFromI1(cin : u8, pboolout : *mut super::super::Foundation:: VARIANT_BOOL) -> ::windows_core::HRESULT); +pub unsafe fn VarBoolFromI1(cin: i8) -> ::windows_core::Result { + ::windows_targets::link!("oleaut32.dll" "system" fn VarBoolFromI1(cin : i8, pboolout : *mut super::super::Foundation:: VARIANT_BOOL) -> ::windows_core::HRESULT); let mut result__ = ::std::mem::zeroed(); VarBoolFromI1(cin, &mut result__).from_abi(result__) } @@ -1524,8 +1524,8 @@ where VarBstrFromDisp(pdispin.into_param().abi(), lcid, dwflags, &mut result__).from_abi(result__) } #[inline] -pub unsafe fn VarBstrFromI1(cin: u8, lcid: u32, dwflags: u32) -> ::windows_core::Result<::windows_core::BSTR> { - ::windows_targets::link!("oleaut32.dll" "system" fn VarBstrFromI1(cin : u8, lcid : u32, dwflags : u32, pbstrout : *mut ::std::mem::MaybeUninit <::windows_core::BSTR >) -> ::windows_core::HRESULT); +pub unsafe fn VarBstrFromI1(cin: i8, lcid: u32, dwflags: u32) -> ::windows_core::Result<::windows_core::BSTR> { + ::windows_targets::link!("oleaut32.dll" "system" fn VarBstrFromI1(cin : i8, lcid : u32, dwflags : u32, pbstrout : *mut ::std::mem::MaybeUninit <::windows_core::BSTR >) -> ::windows_core::HRESULT); let mut result__ = ::std::mem::zeroed(); VarBstrFromI1(cin, lcid, dwflags, &mut result__).from_abi(result__) } @@ -1677,8 +1677,8 @@ where #[doc = "Required features: `\"Win32_System_Com\"`"] #[cfg(feature = "Win32_System_Com")] #[inline] -pub unsafe fn VarCyFromI1(cin: u8) -> ::windows_core::Result { - ::windows_targets::link!("oleaut32.dll" "system" fn VarCyFromI1(cin : u8, pcyout : *mut super::Com:: CY) -> ::windows_core::HRESULT); +pub unsafe fn VarCyFromI1(cin: i8) -> ::windows_core::Result { + ::windows_targets::link!("oleaut32.dll" "system" fn VarCyFromI1(cin : i8, pcyout : *mut super::Com:: CY) -> ::windows_core::HRESULT); let mut result__ = ::std::mem::zeroed(); VarCyFromI1(cin, &mut result__).from_abi(result__) } @@ -1856,8 +1856,8 @@ where VarDateFromDisp(pdispin.into_param().abi(), lcid, &mut result__).from_abi(result__) } #[inline] -pub unsafe fn VarDateFromI1(cin: u8) -> ::windows_core::Result { - ::windows_targets::link!("oleaut32.dll" "system" fn VarDateFromI1(cin : u8, pdateout : *mut f64) -> ::windows_core::HRESULT); +pub unsafe fn VarDateFromI1(cin: i8) -> ::windows_core::Result { + ::windows_targets::link!("oleaut32.dll" "system" fn VarDateFromI1(cin : i8, pdateout : *mut f64) -> ::windows_core::HRESULT); let mut result__ = ::std::mem::zeroed(); VarDateFromI1(cin, &mut result__).from_abi(result__) } @@ -2005,8 +2005,8 @@ where VarDecFromDisp(pdispin.into_param().abi(), lcid, &mut result__).from_abi(result__) } #[inline] -pub unsafe fn VarDecFromI1(cin: u8) -> ::windows_core::Result { - ::windows_targets::link!("oleaut32.dll" "system" fn VarDecFromI1(cin : u8, pdecout : *mut super::super::Foundation:: DECIMAL) -> ::windows_core::HRESULT); +pub unsafe fn VarDecFromI1(cin: i8) -> ::windows_core::Result { + ::windows_targets::link!("oleaut32.dll" "system" fn VarDecFromI1(cin : i8, pdecout : *mut super::super::Foundation:: DECIMAL) -> ::windows_core::HRESULT); let mut result__ = ::std::mem::zeroed(); VarDecFromI1(cin, &mut result__).from_abi(result__) } @@ -2308,8 +2308,8 @@ where VarI2FromDisp(pdispin.into_param().abi(), lcid, &mut result__).from_abi(result__) } #[inline] -pub unsafe fn VarI2FromI1(cin: u8) -> ::windows_core::Result { - ::windows_targets::link!("oleaut32.dll" "system" fn VarI2FromI1(cin : u8, psout : *mut i16) -> ::windows_core::HRESULT); +pub unsafe fn VarI2FromI1(cin: i8) -> ::windows_core::Result { + ::windows_targets::link!("oleaut32.dll" "system" fn VarI2FromI1(cin : i8, psout : *mut i16) -> ::windows_core::HRESULT); let mut result__ = ::std::mem::zeroed(); VarI2FromI1(cin, &mut result__).from_abi(result__) } @@ -2411,8 +2411,8 @@ where VarI4FromDisp(pdispin.into_param().abi(), lcid, &mut result__).from_abi(result__) } #[inline] -pub unsafe fn VarI4FromI1(cin: u8) -> ::windows_core::Result { - ::windows_targets::link!("oleaut32.dll" "system" fn VarI4FromI1(cin : u8, plout : *mut i32) -> ::windows_core::HRESULT); +pub unsafe fn VarI4FromI1(cin: i8) -> ::windows_core::Result { + ::windows_targets::link!("oleaut32.dll" "system" fn VarI4FromI1(cin : i8, plout : *mut i32) -> ::windows_core::HRESULT); let mut result__ = ::std::mem::zeroed(); VarI4FromI1(cin, &mut result__).from_abi(result__) } @@ -2514,8 +2514,8 @@ where VarI8FromDisp(pdispin.into_param().abi(), lcid, &mut result__).from_abi(result__) } #[inline] -pub unsafe fn VarI8FromI1(cin: u8) -> ::windows_core::Result { - ::windows_targets::link!("oleaut32.dll" "system" fn VarI8FromI1(cin : u8, pi64out : *mut i64) -> ::windows_core::HRESULT); +pub unsafe fn VarI8FromI1(cin: i8) -> ::windows_core::Result { + ::windows_targets::link!("oleaut32.dll" "system" fn VarI8FromI1(cin : i8, pi64out : *mut i64) -> ::windows_core::HRESULT); let mut result__ = ::std::mem::zeroed(); VarI8FromI1(cin, &mut result__).from_abi(result__) } @@ -2709,8 +2709,8 @@ where VarR4FromDisp(pdispin.into_param().abi(), lcid, &mut result__).from_abi(result__) } #[inline] -pub unsafe fn VarR4FromI1(cin: u8) -> ::windows_core::Result { - ::windows_targets::link!("oleaut32.dll" "system" fn VarR4FromI1(cin : u8, pfltout : *mut f32) -> ::windows_core::HRESULT); +pub unsafe fn VarR4FromI1(cin: i8) -> ::windows_core::Result { + ::windows_targets::link!("oleaut32.dll" "system" fn VarR4FromI1(cin : i8, pfltout : *mut f32) -> ::windows_core::HRESULT); let mut result__ = ::std::mem::zeroed(); VarR4FromI1(cin, &mut result__).from_abi(result__) } @@ -2811,8 +2811,8 @@ where VarR8FromDisp(pdispin.into_param().abi(), lcid, &mut result__).from_abi(result__) } #[inline] -pub unsafe fn VarR8FromI1(cin: u8, pdblout: *mut f64) -> ::windows_core::Result<()> { - ::windows_targets::link!("oleaut32.dll" "system" fn VarR8FromI1(cin : u8, pdblout : *mut f64) -> ::windows_core::HRESULT); +pub unsafe fn VarR8FromI1(cin: i8, pdblout: *mut f64) -> ::windows_core::Result<()> { + ::windows_targets::link!("oleaut32.dll" "system" fn VarR8FromI1(cin : i8, pdblout : *mut f64) -> ::windows_core::HRESULT); VarR8FromI1(cin, pdblout).ok() } #[inline] @@ -2949,8 +2949,8 @@ where VarUI1FromDisp(pdispin.into_param().abi(), lcid, &mut result__).from_abi(result__) } #[inline] -pub unsafe fn VarUI1FromI1(cin: u8) -> ::windows_core::Result { - ::windows_targets::link!("oleaut32.dll" "system" fn VarUI1FromI1(cin : u8, pbout : *mut u8) -> ::windows_core::HRESULT); +pub unsafe fn VarUI1FromI1(cin: i8) -> ::windows_core::Result { + ::windows_targets::link!("oleaut32.dll" "system" fn VarUI1FromI1(cin : i8, pbout : *mut u8) -> ::windows_core::HRESULT); let mut result__ = ::std::mem::zeroed(); VarUI1FromI1(cin, &mut result__).from_abi(result__) } @@ -3052,8 +3052,8 @@ where VarUI2FromDisp(pdispin.into_param().abi(), lcid, &mut result__).from_abi(result__) } #[inline] -pub unsafe fn VarUI2FromI1(cin: u8) -> ::windows_core::Result { - ::windows_targets::link!("oleaut32.dll" "system" fn VarUI2FromI1(cin : u8, puiout : *mut u16) -> ::windows_core::HRESULT); +pub unsafe fn VarUI2FromI1(cin: i8) -> ::windows_core::Result { + ::windows_targets::link!("oleaut32.dll" "system" fn VarUI2FromI1(cin : i8, puiout : *mut u16) -> ::windows_core::HRESULT); let mut result__ = ::std::mem::zeroed(); VarUI2FromI1(cin, &mut result__).from_abi(result__) } @@ -3154,8 +3154,8 @@ where VarUI4FromDisp(pdispin.into_param().abi(), lcid, &mut result__).from_abi(result__) } #[inline] -pub unsafe fn VarUI4FromI1(cin: u8) -> ::windows_core::Result { - ::windows_targets::link!("oleaut32.dll" "system" fn VarUI4FromI1(cin : u8, pulout : *mut u32) -> ::windows_core::HRESULT); +pub unsafe fn VarUI4FromI1(cin: i8) -> ::windows_core::Result { + ::windows_targets::link!("oleaut32.dll" "system" fn VarUI4FromI1(cin : i8, pulout : *mut u32) -> ::windows_core::HRESULT); let mut result__ = ::std::mem::zeroed(); VarUI4FromI1(cin, &mut result__).from_abi(result__) } @@ -3257,8 +3257,8 @@ where VarUI8FromDisp(pdispin.into_param().abi(), lcid, &mut result__).from_abi(result__) } #[inline] -pub unsafe fn VarUI8FromI1(cin: u8) -> ::windows_core::Result { - ::windows_targets::link!("oleaut32.dll" "system" fn VarUI8FromI1(cin : u8, pi64out : *mut u64) -> ::windows_core::HRESULT); +pub unsafe fn VarUI8FromI1(cin: i8) -> ::windows_core::Result { + ::windows_targets::link!("oleaut32.dll" "system" fn VarUI8FromI1(cin : i8, pi64out : *mut u64) -> ::windows_core::HRESULT); let mut result__ = ::std::mem::zeroed(); VarUI8FromI1(cin, &mut result__).from_abi(result__) } @@ -11162,7 +11162,7 @@ pub struct OLEUICHANGEICONA { pub hResource: super::super::Foundation::HRSRC, pub hMetaPict: super::super::Foundation::HGLOBAL, pub clsid: ::windows_core::GUID, - pub szIconExe: [u8; 260], + pub szIconExe: [i8; 260], pub cchIconExe: i32, } impl ::core::marker::Copy for OLEUICHANGEICONA {} @@ -13229,7 +13229,7 @@ pub union _wireVARIANT_0 { pub ppdispVal: *mut ::core::option::Option, pub pparray: *mut *mut *mut _wireSAFEARRAY, pub pvarVal: *mut *mut _wireVARIANT, - pub cVal: u8, + pub cVal: i8, pub uiVal: u16, pub ulVal: u32, pub ullVal: u64, diff --git a/crates/libs/windows/src/Windows/Win32/System/PasswordManagement/mod.rs b/crates/libs/windows/src/Windows/Win32/System/PasswordManagement/mod.rs index 7d8ea4db6a..b7d0bb1654 100644 --- a/crates/libs/windows/src/Windows/Win32/System/PasswordManagement/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/PasswordManagement/mod.rs @@ -20,7 +20,7 @@ where } #[repr(C)] pub struct CYPHER_BLOCK { - pub data: [u8; 8], + pub data: [i8; 8], } impl ::core::marker::Copy for CYPHER_BLOCK {} impl ::core::clone::Clone for CYPHER_BLOCK { diff --git a/crates/libs/windows/src/Windows/Win32/System/RemoteDesktop/mod.rs b/crates/libs/windows/src/Windows/Win32/System/RemoteDesktop/mod.rs index 1d5d59f58d..e99627490e 100644 --- a/crates/libs/windows/src/Windows/Win32/System/RemoteDesktop/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/RemoteDesktop/mod.rs @@ -5915,7 +5915,7 @@ impl ::core::default::Default for BITMAP_RENDERER_STATISTICS { } #[repr(C, packed(1))] pub struct CHANNEL_DEF { - pub name: [u8; 8], + pub name: [i8; 8], pub options: u32, } impl ::core::marker::Copy for CHANNEL_DEF {} @@ -6023,8 +6023,8 @@ impl ::core::default::Default for CLIENT_DISPLAY { } #[repr(C)] pub struct PRODUCT_INFOA { - pub CompanyName: [u8; 256], - pub ProductID: [u8; 4], + pub CompanyName: [i8; 256], + pub ProductID: [i8; 4], } impl ::core::marker::Copy for PRODUCT_INFOA {} impl ::core::clone::Clone for PRODUCT_INFOA { @@ -6810,25 +6810,25 @@ impl ::core::default::Default for WRDS_SETTINGS_1 { } #[repr(C)] pub struct WTSCLIENTA { - pub ClientName: [u8; 21], - pub Domain: [u8; 18], - pub UserName: [u8; 21], - pub WorkDirectory: [u8; 261], - pub InitialProgram: [u8; 261], + pub ClientName: [i8; 21], + pub Domain: [i8; 18], + pub UserName: [i8; 21], + pub WorkDirectory: [i8; 261], + pub InitialProgram: [i8; 261], pub EncryptionLevel: u8, pub ClientAddressFamily: u32, pub ClientAddress: [u16; 31], pub HRes: u16, pub VRes: u16, pub ColorDepth: u16, - pub ClientDirectory: [u8; 261], + pub ClientDirectory: [i8; 261], pub ClientBuildNumber: u32, pub ClientHardwareId: u32, pub ClientProductId: u16, pub OutBufCountHost: u16, pub OutBufCountClient: u16, pub OutBufLength: u16, - pub DeviceId: [u8; 261], + pub DeviceId: [i8; 261], } impl ::core::marker::Copy for WTSCLIENTA {} impl ::core::clone::Clone for WTSCLIENTA { @@ -6986,11 +6986,11 @@ pub struct WTSCONFIGINFOA { pub fDisablePrinterRedirection: u32, pub fDisableDefaultMainClientPrinter: u32, pub ShadowSettings: u32, - pub LogonUserName: [u8; 21], - pub LogonDomain: [u8; 18], - pub WorkDirectory: [u8; 261], - pub InitialProgram: [u8; 261], - pub ApplicationName: [u8; 261], + pub LogonUserName: [i8; 21], + pub LogonDomain: [i8; 18], + pub WorkDirectory: [i8; 261], + pub InitialProgram: [i8; 261], + pub ApplicationName: [i8; 261], } impl ::core::marker::Copy for WTSCONFIGINFOA {} impl ::core::clone::Clone for WTSCONFIGINFOA { @@ -7090,9 +7090,9 @@ pub struct WTSINFOA { pub OutgoingFrames: u32, pub IncomingCompressedBytes: u32, pub OutgoingCompressedBy: u32, - pub WinStationName: [u8; 32], - pub Domain: [u8; 17], - pub UserName: [u8; 21], + pub WinStationName: [i8; 32], + pub Domain: [i8; 17], + pub UserName: [i8; 21], pub ConnectTime: i64, pub DisconnectTime: i64, pub LastInputTime: i64, @@ -7184,9 +7184,9 @@ pub struct WTSINFOEX_LEVEL1_A { pub SessionId: u32, pub SessionState: WTS_CONNECTSTATE_CLASS, pub SessionFlags: i32, - pub WinStationName: [u8; 33], - pub UserName: [u8; 21], - pub DomainName: [u8; 18], + pub WinStationName: [i8; 33], + pub UserName: [i8; 21], + pub DomainName: [i8; 18], pub LogonTime: i64, pub ConnectTime: i64, pub DisconnectTime: i64, @@ -7430,11 +7430,11 @@ pub struct WTSLISTENERCONFIGA { pub SecurityLayer: u32, pub MinEncryptionLevel: u32, pub UserAuthentication: u32, - pub Comment: [u8; 61], - pub LogonUserName: [u8; 21], - pub LogonDomain: [u8; 18], - pub WorkDirectory: [u8; 261], - pub InitialProgram: [u8; 261], + pub Comment: [i8; 61], + pub LogonUserName: [i8; 21], + pub LogonDomain: [i8; 18], + pub WorkDirectory: [i8; 261], + pub InitialProgram: [i8; 261], } impl ::core::marker::Copy for WTSLISTENERCONFIGA {} impl ::core::clone::Clone for WTSLISTENERCONFIGA { @@ -7824,11 +7824,11 @@ pub struct WTSUSERCONFIGA { pub ReconnectSettings: u32, pub ShadowingSettings: u32, pub TerminalServerRemoteHomeDir: u32, - pub InitialProgram: [u8; 261], - pub WorkDirectory: [u8; 261], - pub TerminalServerProfilePath: [u8; 261], - pub TerminalServerHomeDir: [u8; 261], - pub TerminalServerHomeDirDrive: [u8; 4], + pub InitialProgram: [i8; 261], + pub WorkDirectory: [i8; 261], + pub TerminalServerProfilePath: [i8; 261], + pub TerminalServerHomeDir: [i8; 261], + pub TerminalServerHomeDirDrive: [i8; 4], } impl ::core::marker::Copy for WTSUSERCONFIGA {} impl ::core::clone::Clone for WTSUSERCONFIGA { diff --git a/crates/libs/windows/src/Windows/Win32/System/Restore/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Restore/mod.rs index 15ab9f32fe..adafd0ffd0 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Restore/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Restore/mod.rs @@ -70,7 +70,7 @@ pub struct RESTOREPOINTINFOA { pub dwEventType: RESTOREPOINTINFO_EVENT_TYPE, pub dwRestorePtType: RESTOREPOINTINFO_TYPE, pub llSequenceNumber: i64, - pub szDescription: [u8; 64], + pub szDescription: [i8; 64], } impl ::core::marker::Copy for RESTOREPOINTINFOA {} impl ::core::clone::Clone for RESTOREPOINTINFOA { diff --git a/crates/libs/windows/src/Windows/Win32/System/SystemInformation/mod.rs b/crates/libs/windows/src/Windows/Win32/System/SystemInformation/mod.rs index 6127d53890..f4c965df66 100644 --- a/crates/libs/windows/src/Windows/Win32/System/SystemInformation/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/SystemInformation/mod.rs @@ -1207,7 +1207,7 @@ pub struct OSVERSIONINFOA { pub dwMinorVersion: u32, pub dwBuildNumber: u32, pub dwPlatformId: u32, - pub szCSDVersion: [u8; 128], + pub szCSDVersion: [i8; 128], } impl ::core::marker::Copy for OSVERSIONINFOA {} impl ::core::clone::Clone for OSVERSIONINFOA { @@ -1241,7 +1241,7 @@ pub struct OSVERSIONINFOEXA { pub dwMinorVersion: u32, pub dwBuildNumber: u32, pub dwPlatformId: u32, - pub szCSDVersion: [u8; 128], + pub szCSDVersion: [i8; 128], pub wServicePackMajor: u16, pub wServicePackMinor: u16, pub wSuiteMask: u16, diff --git a/crates/libs/windows/src/Windows/Win32/System/SystemServices/mod.rs b/crates/libs/windows/src/Windows/Win32/System/SystemServices/mod.rs index 43a1d60686..70dd2ed3a4 100644 --- a/crates/libs/windows/src/Windows/Win32/System/SystemServices/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/SystemServices/mod.rs @@ -4989,7 +4989,7 @@ impl ::core::default::Default for IMAGE_HOT_PATCH_INFO { #[repr(C)] pub struct IMAGE_IMPORT_BY_NAME { pub Hint: u16, - pub Name: [u8; 1], + pub Name: [i8; 1], } impl ::core::marker::Copy for IMAGE_IMPORT_BY_NAME {} impl ::core::clone::Clone for IMAGE_IMPORT_BY_NAME { @@ -5134,8 +5134,8 @@ impl ::core::default::Default for IMAGE_LINENUMBER_0 { #[repr(C, packed(2))] pub struct IMAGE_OS2_HEADER { pub ne_magic: u16, - pub ne_ver: u8, - pub ne_rev: u8, + pub ne_ver: i8, + pub ne_rev: i8, pub ne_enttab: u16, pub ne_cbenttab: u16, pub ne_crc: i32, @@ -5501,7 +5501,7 @@ impl ::core::default::Default for IMAGE_RESOURCE_DIRECTORY_ENTRY_1_0 { #[repr(C)] pub struct IMAGE_RESOURCE_DIRECTORY_STRING { pub Length: u16, - pub NameString: [u8; 1], + pub NameString: [i8; 1], } impl ::core::marker::Copy for IMAGE_RESOURCE_DIRECTORY_STRING {} impl ::core::clone::Clone for IMAGE_RESOURCE_DIRECTORY_STRING { diff --git a/crates/libs/windows/src/Windows/Win32/System/Variant/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Variant/mod.rs index 304001b484..fd25134e00 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Variant/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Variant/mod.rs @@ -956,7 +956,7 @@ pub union VARIANT_0_0_0 { pub pparray: *mut *mut super::Com::SAFEARRAY, pub pvarVal: *mut VARIANT, pub byref: *mut ::core::ffi::c_void, - pub cVal: u8, + pub cVal: i8, pub uiVal: u16, pub ulVal: u32, pub ullVal: u64, diff --git a/crates/libs/windows/src/Windows/Win32/System/VirtualDosMachines/mod.rs b/crates/libs/windows/src/Windows/Win32/System/VirtualDosMachines/mod.rs index b087b4419f..176e6b3d38 100644 --- a/crates/libs/windows/src/Windows/Win32/System/VirtualDosMachines/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/VirtualDosMachines/mod.rs @@ -125,8 +125,8 @@ impl ::core::default::Default for GLOBALENTRY { } #[repr(C)] pub struct IMAGE_NOTE { - pub Module: [u8; 10], - pub FileName: [u8; 256], + pub Module: [i8; 10], + pub FileName: [i8; 256], pub hModule: u16, pub hTask: u16, } @@ -158,10 +158,10 @@ impl ::core::default::Default for IMAGE_NOTE { #[repr(C, packed(4))] pub struct MODULEENTRY { pub dwSize: u32, - pub szModule: [u8; 10], + pub szModule: [i8; 10], pub hModule: super::super::Foundation::HANDLE, pub wcUsage: u16, - pub szExePath: [u8; 256], + pub szExePath: [i8; 256], pub wNext: u16, } impl ::core::marker::Copy for MODULEENTRY {} @@ -183,8 +183,8 @@ pub struct SEGMENT_NOTE { pub Selector1: u16, pub Selector2: u16, pub Segment: u16, - pub Module: [u8; 10], - pub FileName: [u8; 256], + pub Module: [i8; 10], + pub FileName: [i8; 256], pub Type: u16, pub Length: u32, } @@ -558,8 +558,8 @@ pub struct VDM_SEGINFO { pub SegNumber: u16, pub Length: u32, pub Type: u16, - pub ModuleName: [u8; 9], - pub FileName: [u8; 255], + pub ModuleName: [i8; 9], + pub FileName: [i8; 255], } impl ::core::marker::Copy for VDM_SEGINFO {} impl ::core::clone::Clone for VDM_SEGINFO { diff --git a/crates/libs/windows/src/Windows/Win32/System/WindowsProgramming/mod.rs b/crates/libs/windows/src/Windows/Win32/System/WindowsProgramming/mod.rs index e36f8142f4..ca4d270a70 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WindowsProgramming/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WindowsProgramming/mod.rs @@ -3047,7 +3047,7 @@ pub struct CABINFOA { pub pszCab: ::windows_core::PSTR, pub pszInf: ::windows_core::PSTR, pub pszSection: ::windows_core::PSTR, - pub szSrcPath: [u8; 260], + pub szSrcPath: [i8; 260], pub dwFlags: u32, } impl ::core::marker::Copy for CABINFOA {} @@ -3698,8 +3698,8 @@ impl ::windows_core::TypeKind for HWINWATCH { #[repr(C)] pub struct HW_PROFILE_INFOA { pub dwDockInfo: u32, - pub szHwProfileGuid: [u8; 39], - pub szHwProfileName: [u8; 80], + pub szHwProfileGuid: [i8; 39], + pub szHwProfileName: [i8; 80], } impl ::core::marker::Copy for HW_PROFILE_INFOA {} impl ::core::clone::Clone for HW_PROFILE_INFOA { @@ -4160,12 +4160,12 @@ impl ::core::default::Default for LDR_DATA_TABLE_ENTRY_0 { } #[repr(C)] pub struct PERUSERSECTIONA { - pub szGUID: [u8; 59], - pub szDispName: [u8; 128], - pub szLocale: [u8; 10], - pub szStub: [u8; 1040], - pub szVersion: [u8; 32], - pub szCompID: [u8; 128], + pub szGUID: [i8; 59], + pub szDispName: [i8; 128], + pub szLocale: [i8; 10], + pub szStub: [i8; 1040], + pub szVersion: [i8; 32], + pub szCompID: [i8; 128], pub dwIsInstalled: u32, pub bRollback: super::super::Foundation::BOOL, } diff --git a/crates/libs/windows/src/Windows/Win32/UI/ColorSystem/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/ColorSystem/mod.rs index a71938aa3b..3e35efdacf 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/ColorSystem/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/ColorSystem/mod.rs @@ -2037,7 +2037,7 @@ pub struct LOGCOLORSPACEA { pub lcsGammaRed: u32, pub lcsGammaGreen: u32, pub lcsGammaBlue: u32, - pub lcsFilename: [u8; 260], + pub lcsFilename: [i8; 260], } #[cfg(feature = "Win32_Graphics_Gdi")] impl ::core::marker::Copy for LOGCOLORSPACEA {} diff --git a/crates/libs/windows/src/Windows/Win32/UI/Controls/RichEdit/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/Controls/RichEdit/mod.rs index 2a8c505f89..72b4c8c0f1 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Controls/RichEdit/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Controls/RichEdit/mod.rs @@ -7462,7 +7462,7 @@ pub struct CHARFORMATA { pub crTextColor: super::super::super::Foundation::COLORREF, pub bCharSet: super::super::super::Graphics::Gdi::FONT_CHARSET, pub bPitchAndFamily: u8, - pub szFaceName: [u8; 32], + pub szFaceName: [i8; 32], } #[cfg(feature = "Win32_Graphics_Gdi")] impl ::core::marker::Copy for CHARFORMATA {} diff --git a/crates/libs/windows/src/Windows/Win32/UI/Controls/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/Controls/mod.rs index ee21f7ad10..1eee4656f3 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Controls/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Controls/mod.rs @@ -11744,15 +11744,15 @@ impl ::core::default::Default for BUTTON_SPLITINFO { #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] #[cfg(feature = "Win32_Graphics_Gdi")] pub struct CCINFOA { - pub szClass: [u8; 32], + pub szClass: [i8; 32], pub flOptions: u32, - pub szDesc: [u8; 32], + pub szDesc: [i8; 32], pub cxDefault: u32, pub cyDefault: u32, pub flStyleDefault: u32, pub flExtStyleDefault: u32, pub flCtrlTypeMask: u32, - pub szTextDefault: [u8; 256], + pub szTextDefault: [i8; 256], pub cStyleFlags: i32, pub aStyleFlags: *mut CCSTYLEFLAGA, pub lpfnStyle: LPFNCCSTYLEA, @@ -11860,7 +11860,7 @@ impl ::core::default::Default for CCINFOW { pub struct CCSTYLEA { pub flStyle: u32, pub flExtStyle: u32, - pub szText: [u8; 256], + pub szText: [i8; 256], pub lgid: u16, pub wReserved1: u16, } @@ -14150,7 +14150,7 @@ impl ::core::default::Default for NMBCHOTITEM { pub struct NMCBEDRAGBEGINA { pub hdr: NMHDR, pub iItemid: i32, - pub szText: [u8; 260], + pub szText: [i8; 260], } impl ::core::marker::Copy for NMCBEDRAGBEGINA {} impl ::core::clone::Clone for NMCBEDRAGBEGINA { @@ -14213,7 +14213,7 @@ pub struct NMCBEENDEDITA { pub hdr: NMHDR, pub fChanged: super::super::Foundation::BOOL, pub iNewSelection: i32, - pub szText: [u8; 260], + pub szText: [i8; 260], pub iWhy: i32, } impl ::core::marker::Copy for NMCBEENDEDITA {} @@ -14523,7 +14523,7 @@ pub struct NMDATETIMEFORMATA { pub pszFormat: ::windows_core::PCSTR, pub st: super::super::Foundation::SYSTEMTIME, pub pszDisplay: ::windows_core::PCSTR, - pub szDisplay: [u8; 64], + pub szDisplay: [i8; 64], } impl ::core::marker::Copy for NMDATETIMEFORMATA {} impl ::core::clone::Clone for NMDATETIMEFORMATA { @@ -16582,7 +16582,7 @@ impl ::core::default::Default for NMTTCUSTOMDRAW { pub struct NMTTDISPINFOA { pub hdr: NMHDR, pub lpszText: ::windows_core::PSTR, - pub szText: [u8; 80], + pub szText: [i8; 80], pub hinst: super::super::Foundation::HINSTANCE, pub uFlags: TOOLTIP_FLAGS, pub lParam: super::super::Foundation::LPARAM, diff --git a/crates/libs/windows/src/Windows/Win32/UI/Input/Ime/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/Input/Ime/mod.rs index d44e1aeb0f..989e48e41f 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Input/Ime/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Input/Ime/mod.rs @@ -5312,7 +5312,7 @@ pub struct IMEMENUITEMINFOA { pub hbmpChecked: super::super::super::Graphics::Gdi::HBITMAP, pub hbmpUnchecked: super::super::super::Graphics::Gdi::HBITMAP, pub dwItemData: u32, - pub szString: [u8; 80], + pub szString: [i8; 80], pub hbmpItem: super::super::super::Graphics::Gdi::HBITMAP, } #[cfg(feature = "Win32_Graphics_Gdi")] @@ -5397,9 +5397,9 @@ impl ::core::default::Default for IMEMENUITEMINFOW { pub struct IMESHF { pub cbShf: u16, pub verDic: u16, - pub szTitle: [u8; 48], - pub szDescription: [u8; 256], - pub szCopyright: [u8; 128], + pub szTitle: [i8; 48], + pub szDescription: [i8; 256], + pub szCopyright: [i8; 128], } impl ::core::marker::Copy for IMESHF {} impl ::core::clone::Clone for IMESHF { @@ -5871,7 +5871,7 @@ impl ::core::default::Default for SOFTKBDDATA { #[repr(C)] pub struct STYLEBUFA { pub dwStyle: u32, - pub szDescription: [u8; 32], + pub szDescription: [i8; 32], } impl ::core::marker::Copy for STYLEBUFA {} impl ::core::clone::Clone for STYLEBUFA { diff --git a/crates/libs/windows/src/Windows/Win32/UI/Input/KeyboardAndMouse/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/Input/KeyboardAndMouse/mod.rs index 0db57f7e36..6a0db7f6c6 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Input/KeyboardAndMouse/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Input/KeyboardAndMouse/mod.rs @@ -302,18 +302,18 @@ where UnregisterHotKey(hwnd.into_param().abi(), id).ok() } #[inline] -pub unsafe fn VkKeyScanA(ch: u8) -> i16 { - ::windows_targets::link!("user32.dll" "system" fn VkKeyScanA(ch : u8) -> i16); +pub unsafe fn VkKeyScanA(ch: i8) -> i16 { + ::windows_targets::link!("user32.dll" "system" fn VkKeyScanA(ch : i8) -> i16); VkKeyScanA(ch) } #[doc = "Required features: `\"Win32_UI_TextServices\"`"] #[cfg(feature = "Win32_UI_TextServices")] #[inline] -pub unsafe fn VkKeyScanExA(ch: u8, dwhkl: P0) -> i16 +pub unsafe fn VkKeyScanExA(ch: i8, dwhkl: P0) -> i16 where P0: ::windows_core::IntoParam, { - ::windows_targets::link!("user32.dll" "system" fn VkKeyScanExA(ch : u8, dwhkl : super::super::TextServices:: HKL) -> i16); + ::windows_targets::link!("user32.dll" "system" fn VkKeyScanExA(ch : i8, dwhkl : super::super::TextServices:: HKL) -> i16); VkKeyScanExA(ch, dwhkl.into_param().abi()) } #[doc = "Required features: `\"Win32_UI_TextServices\"`"] diff --git a/crates/libs/windows/src/Windows/Win32/UI/Shell/PropertiesSystem/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/Shell/PropertiesSystem/mod.rs index ede8004718..bf47daa74c 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Shell/PropertiesSystem/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Shell/PropertiesSystem/mod.rs @@ -2955,16 +2955,16 @@ impl ::core::default::Default for PROPERTYKEY { pub struct PROPPRG { pub flPrg: u16, pub flPrgInit: u16, - pub achTitle: [u8; 30], - pub achCmdLine: [u8; 128], - pub achWorkDir: [u8; 64], + pub achTitle: [i8; 30], + pub achCmdLine: [i8; 128], + pub achWorkDir: [i8; 64], pub wHotKey: u16, - pub achIconFile: [u8; 80], + pub achIconFile: [i8; 80], pub wIconIndex: u16, pub dwEnhModeFlags: u32, pub dwRealModeFlags: u32, - pub achOtherFile: [u8; 80], - pub achPIFFile: [u8; 260], + pub achOtherFile: [i8; 80], + pub achPIFFile: [i8; 260], } impl ::core::marker::Copy for PROPPRG {} impl ::core::clone::Clone for PROPPRG { diff --git a/crates/libs/windows/src/Windows/Win32/UI/Shell/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/Shell/mod.rs index 30ba54ae22..2e2e21a2de 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Shell/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Shell/mod.rs @@ -1286,8 +1286,8 @@ where IntlStrEqWorkerW(fcasesens.into_param().abi(), lpstring1.into_param().abi(), lpstring2.into_param().abi(), nchar) } #[inline] -pub unsafe fn IsCharSpaceA(wch: u8) -> super::super::Foundation::BOOL { - ::windows_targets::link!("shlwapi.dll" "system" fn IsCharSpaceA(wch : u8) -> super::super::Foundation:: BOOL); +pub unsafe fn IsCharSpaceA(wch: i8) -> super::super::Foundation::BOOL { + ::windows_targets::link!("shlwapi.dll" "system" fn IsCharSpaceA(wch : i8) -> super::super::Foundation:: BOOL); IsCharSpaceA(wch) } #[inline] @@ -4632,8 +4632,8 @@ where SHStrDupW(psz.into_param().abi(), &mut result__).from_abi(result__) } #[inline] -pub unsafe fn SHStripMneumonicA(pszmenu: ::windows_core::PSTR) -> u8 { - ::windows_targets::link!("shlwapi.dll" "system" fn SHStripMneumonicA(pszmenu : ::windows_core::PSTR) -> u8); +pub unsafe fn SHStripMneumonicA(pszmenu: ::windows_core::PSTR) -> i8 { + ::windows_targets::link!("shlwapi.dll" "system" fn SHStripMneumonicA(pszmenu : ::windows_core::PSTR) -> i8); SHStripMneumonicA(::core::mem::transmute(pszmenu)) } #[inline] @@ -41989,7 +41989,7 @@ impl ::core::default::Default for DROPFILES { #[repr(C, packed(1))] pub struct EXP_DARWIN_LINK { pub dbh: DATABLOCK_HEADER, - pub szDarwinID: [u8; 260], + pub szDarwinID: [i8; 260], pub szwDarwinID: [u16; 260], } impl ::core::marker::Copy for EXP_DARWIN_LINK {} @@ -42051,7 +42051,7 @@ impl ::core::default::Default for EXP_SPECIAL_FOLDER { pub struct EXP_SZ_LINK { pub cbSize: u32, pub dwSignature: u32, - pub szTarget: [u8; 260], + pub szTarget: [i8; 260], pub swzTarget: [u16; 260], } impl ::core::marker::Copy for EXP_SZ_LINK {} @@ -42111,7 +42111,7 @@ pub struct FILEDESCRIPTORA { pub ftLastWriteTime: super::super::Foundation::FILETIME, pub nFileSizeHigh: u32, pub nFileSizeLow: u32, - pub cFileName: [u8; 260], + pub cFileName: [i8; 260], } impl ::core::marker::Copy for FILEDESCRIPTORA {} impl ::core::clone::Clone for FILEDESCRIPTORA { @@ -42344,7 +42344,7 @@ pub struct HELPWININFOA { pub dx: i32, pub dy: i32, pub wMax: i32, - pub rgchMember: [u8; 2], + pub rgchMember: [i8; 2], } impl ::core::marker::Copy for HELPWININFOA {} impl ::core::clone::Clone for HELPWININFOA { @@ -42616,8 +42616,8 @@ impl ::core::default::Default for KNOWNFOLDER_DEFINITION { #[repr(C)] pub struct MULTIKEYHELPA { pub mkSize: u32, - pub mkKeylist: u8, - pub szKeyphrase: [u8; 1], + pub mkKeylist: i8, + pub szKeyphrase: [i8; 1], } impl ::core::marker::Copy for MULTIKEYHELPA {} impl ::core::clone::Clone for MULTIKEYHELPA { @@ -42724,9 +42724,9 @@ pub struct NEWCPLINFOA { pub dwHelpContext: u32, pub lData: isize, pub hIcon: super::WindowsAndMessaging::HICON, - pub szName: [u8; 32], - pub szInfo: [u8; 64], - pub szHelpFile: [u8; 128], + pub szName: [i8; 32], + pub szInfo: [i8; 64], + pub szHelpFile: [i8; 128], } #[cfg(feature = "Win32_UI_WindowsAndMessaging")] impl ::core::marker::Copy for NEWCPLINFOA {} @@ -42788,12 +42788,12 @@ pub struct NOTIFYICONDATAA { pub uFlags: NOTIFY_ICON_DATA_FLAGS, pub uCallbackMessage: u32, pub hIcon: super::WindowsAndMessaging::HICON, - pub szTip: [u8; 128], + pub szTip: [i8; 128], pub dwState: NOTIFY_ICON_STATE, pub dwStateMask: u32, - pub szInfo: [u8; 256], + pub szInfo: [i8; 256], pub Anonymous: NOTIFYICONDATAA_0, - pub szInfoTitle: [u8; 64], + pub szInfoTitle: [i8; 64], pub dwInfoFlags: NOTIFY_ICON_INFOTIP_FLAGS, pub guidItem: ::windows_core::GUID, pub hBalloonIcon: super::WindowsAndMessaging::HICON, @@ -42861,12 +42861,12 @@ pub struct NOTIFYICONDATAA { pub uFlags: NOTIFY_ICON_DATA_FLAGS, pub uCallbackMessage: u32, pub hIcon: super::WindowsAndMessaging::HICON, - pub szTip: [u8; 128], + pub szTip: [i8; 128], pub dwState: NOTIFY_ICON_STATE, pub dwStateMask: u32, - pub szInfo: [u8; 256], + pub szInfo: [i8; 256], pub Anonymous: NOTIFYICONDATAA_0, - pub szInfoTitle: [u8; 64], + pub szInfoTitle: [i8; 64], pub dwInfoFlags: NOTIFY_ICON_INFOTIP_FLAGS, pub guidItem: ::windows_core::GUID, pub hBalloonIcon: super::WindowsAndMessaging::HICON, @@ -44763,8 +44763,8 @@ pub struct SHFILEINFOA { pub hIcon: super::WindowsAndMessaging::HICON, pub iIcon: i32, pub dwAttributes: u32, - pub szDisplayName: [u8; 260], - pub szTypeName: [u8; 80], + pub szDisplayName: [i8; 260], + pub szTypeName: [i8; 80], } #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] #[cfg(feature = "Win32_UI_WindowsAndMessaging")] @@ -44796,8 +44796,8 @@ pub struct SHFILEINFOA { pub hIcon: super::WindowsAndMessaging::HICON, pub iIcon: i32, pub dwAttributes: u32, - pub szDisplayName: [u8; 260], - pub szTypeName: [u8; 80], + pub szDisplayName: [i8; 260], + pub szTypeName: [i8; 80], } #[cfg(target_arch = "x86")] #[cfg(feature = "Win32_UI_WindowsAndMessaging")] diff --git a/crates/libs/windows/src/Windows/Win32/UI/WindowsAndMessaging/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/WindowsAndMessaging/mod.rs index adf5af305d..090fb93637 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/WindowsAndMessaging/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/WindowsAndMessaging/mod.rs @@ -1732,13 +1732,13 @@ where InternalGetWindowText(hwnd.into_param().abi(), ::core::mem::transmute(pstring.as_ptr()), pstring.len().try_into().unwrap()) } #[inline] -pub unsafe fn IsCharAlphaA(ch: u8) -> ::windows_core::Result<()> { - ::windows_targets::link!("user32.dll" "system" fn IsCharAlphaA(ch : u8) -> super::super::Foundation:: BOOL); +pub unsafe fn IsCharAlphaA(ch: i8) -> ::windows_core::Result<()> { + ::windows_targets::link!("user32.dll" "system" fn IsCharAlphaA(ch : i8) -> super::super::Foundation:: BOOL); IsCharAlphaA(ch).ok() } #[inline] -pub unsafe fn IsCharAlphaNumericA(ch: u8) -> ::windows_core::Result<()> { - ::windows_targets::link!("user32.dll" "system" fn IsCharAlphaNumericA(ch : u8) -> super::super::Foundation:: BOOL); +pub unsafe fn IsCharAlphaNumericA(ch: i8) -> ::windows_core::Result<()> { + ::windows_targets::link!("user32.dll" "system" fn IsCharAlphaNumericA(ch : i8) -> super::super::Foundation:: BOOL); IsCharAlphaNumericA(ch).ok() } #[inline] @@ -1752,13 +1752,13 @@ pub unsafe fn IsCharAlphaW(ch: u16) -> ::windows_core::Result<()> { IsCharAlphaW(ch).ok() } #[inline] -pub unsafe fn IsCharLowerA(ch: u8) -> ::windows_core::Result<()> { - ::windows_targets::link!("user32.dll" "system" fn IsCharLowerA(ch : u8) -> super::super::Foundation:: BOOL); +pub unsafe fn IsCharLowerA(ch: i8) -> ::windows_core::Result<()> { + ::windows_targets::link!("user32.dll" "system" fn IsCharLowerA(ch : i8) -> super::super::Foundation:: BOOL); IsCharLowerA(ch).ok() } #[inline] -pub unsafe fn IsCharUpperA(ch: u8) -> ::windows_core::Result<()> { - ::windows_targets::link!("user32.dll" "system" fn IsCharUpperA(ch : u8) -> super::super::Foundation:: BOOL); +pub unsafe fn IsCharUpperA(ch: i8) -> ::windows_core::Result<()> { + ::windows_targets::link!("user32.dll" "system" fn IsCharUpperA(ch : i8) -> super::super::Foundation:: BOOL); IsCharUpperA(ch).ok() } #[inline] @@ -8169,7 +8169,7 @@ pub struct DEV_BROADCAST_DEVICEINTERFACE_A { pub dbcc_devicetype: u32, pub dbcc_reserved: u32, pub dbcc_classguid: ::windows_core::GUID, - pub dbcc_name: [u8; 1], + pub dbcc_name: [i8; 1], } impl ::core::marker::Copy for DEV_BROADCAST_DEVICEINTERFACE_A {} impl ::core::clone::Clone for DEV_BROADCAST_DEVICEINTERFACE_A { @@ -8471,7 +8471,7 @@ pub struct DEV_BROADCAST_PORT_A { pub dbcp_size: u32, pub dbcp_devicetype: u32, pub dbcp_reserved: u32, - pub dbcp_name: [u8; 1], + pub dbcp_name: [i8; 1], } impl ::core::marker::Copy for DEV_BROADCAST_PORT_A {} impl ::core::clone::Clone for DEV_BROADCAST_PORT_A { @@ -9117,8 +9117,8 @@ pub struct ICONINFOEXA { pub hbmMask: super::super::Graphics::Gdi::HBITMAP, pub hbmColor: super::super::Graphics::Gdi::HBITMAP, pub wResID: u16, - pub szModName: [u8; 260], - pub szResName: [u8; 260], + pub szModName: [i8; 260], + pub szResName: [i8; 260], } #[cfg(feature = "Win32_Graphics_Gdi")] impl ::core::marker::Copy for ICONINFOEXA {} @@ -11112,7 +11112,7 @@ impl ::core::default::Default for _DEV_BROADCAST_HEADER { #[repr(C)] pub struct _DEV_BROADCAST_USERDEFINED { pub dbud_dbh: DEV_BROADCAST_HDR, - pub dbud_szName: [u8; 1], + pub dbud_szName: [i8; 1], } impl ::core::marker::Copy for _DEV_BROADCAST_USERDEFINED {} impl ::core::clone::Clone for _DEV_BROADCAST_USERDEFINED { diff --git a/crates/tests/standalone/src/b_arch.rs b/crates/tests/standalone/src/b_arch.rs index fe38d8ebab..4c633c6577 100644 --- a/crates/tests/standalone/src/b_arch.rs +++ b/crates/tests/standalone/src/b_arch.rs @@ -20,8 +20,8 @@ pub struct WSADATA { pub iMaxSockets: u16, pub iMaxUdpDg: u16, pub lpVendorInfo: PSTR, - pub szDescription: [u8; 257], - pub szSystemStatus: [u8; 129], + pub szDescription: [i8; 257], + pub szSystemStatus: [i8; 129], } #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] impl ::core::marker::Copy for WSADATA {} @@ -36,8 +36,8 @@ impl ::core::clone::Clone for WSADATA { pub struct WSADATA { pub wVersion: u16, pub wHighVersion: u16, - pub szDescription: [u8; 257], - pub szSystemStatus: [u8; 129], + pub szDescription: [i8; 257], + pub szSystemStatus: [i8; 129], pub iMaxSockets: u16, pub iMaxUdpDg: u16, pub lpVendorInfo: PSTR, diff --git a/crates/tests/standalone/src/b_depends.rs b/crates/tests/standalone/src/b_depends.rs index 52eb3b5429..fa524d78ec 100644 --- a/crates/tests/standalone/src/b_depends.rs +++ b/crates/tests/standalone/src/b_depends.rs @@ -56,7 +56,7 @@ pub type PSTR = *mut u8; #[repr(C)] pub struct SOCKADDR { pub sa_family: ADDRESS_FAMILY, - pub sa_data: [u8; 14], + pub sa_data: [i8; 14], } impl ::core::marker::Copy for SOCKADDR {} impl ::core::clone::Clone for SOCKADDR {