Vendor things
This commit is contained in:
parent
5deceec006
commit
977e3c17e5
19434 changed files with 10682014 additions and 0 deletions
2224
third-party/vendor/windows-sys/src/Windows/Wdk/Foundation/mod.rs
vendored
Normal file
2224
third-party/vendor/windows-sys/src/Windows/Wdk/Foundation/mod.rs
vendored
Normal file
File diff suppressed because it is too large
Load diff
17032
third-party/vendor/windows-sys/src/Windows/Wdk/Graphics/Direct3D/mod.rs
vendored
Normal file
17032
third-party/vendor/windows-sys/src/Windows/Wdk/Graphics/Direct3D/mod.rs
vendored
Normal file
File diff suppressed because it is too large
Load diff
3
third-party/vendor/windows-sys/src/Windows/Wdk/Graphics/mod.rs
vendored
Normal file
3
third-party/vendor/windows-sys/src/Windows/Wdk/Graphics/mod.rs
vendored
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
#[cfg(feature = "Wdk_Graphics_Direct3D")]
|
||||
#[doc = "Required features: `\"Wdk_Graphics_Direct3D\"`"]
|
||||
pub mod Direct3D;
|
||||
2077
third-party/vendor/windows-sys/src/Windows/Wdk/Storage/FileSystem/Minifilters/mod.rs
vendored
Normal file
2077
third-party/vendor/windows-sys/src/Windows/Wdk/Storage/FileSystem/Minifilters/mod.rs
vendored
Normal file
File diff suppressed because it is too large
Load diff
6233
third-party/vendor/windows-sys/src/Windows/Wdk/Storage/FileSystem/mod.rs
vendored
Normal file
6233
third-party/vendor/windows-sys/src/Windows/Wdk/Storage/FileSystem/mod.rs
vendored
Normal file
File diff suppressed because it is too large
Load diff
3
third-party/vendor/windows-sys/src/Windows/Wdk/Storage/mod.rs
vendored
Normal file
3
third-party/vendor/windows-sys/src/Windows/Wdk/Storage/mod.rs
vendored
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
#[cfg(feature = "Wdk_Storage_FileSystem")]
|
||||
#[doc = "Required features: `\"Wdk_Storage_FileSystem\"`"]
|
||||
pub mod FileSystem;
|
||||
2
third-party/vendor/windows-sys/src/Windows/Wdk/System/IO/mod.rs
vendored
Normal file
2
third-party/vendor/windows-sys/src/Windows/Wdk/System/IO/mod.rs
vendored
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))]
|
||||
::windows_targets::link!("ntdll.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_IO\"`"] fn NtDeviceIoControlFile(filehandle : super::super::super::Win32::Foundation:: HANDLE, event : super::super::super::Win32::Foundation:: HANDLE, apcroutine : super::super::super::Win32::System::IO:: PIO_APC_ROUTINE, apccontext : *const ::core::ffi::c_void, iostatusblock : *mut super::super::super::Win32::System::IO:: IO_STATUS_BLOCK, iocontrolcode : u32, inputbuffer : *const ::core::ffi::c_void, inputbufferlength : u32, outputbuffer : *mut ::core::ffi::c_void, outputbufferlength : u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
|
||||
49
third-party/vendor/windows-sys/src/Windows/Wdk/System/OfflineRegistry/mod.rs
vendored
Normal file
49
third-party/vendor/windows-sys/src/Windows/Wdk/System/OfflineRegistry/mod.rs
vendored
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("offreg.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ORCloseHive(handle : ORHKEY) -> super::super::super::Win32::Foundation:: WIN32_ERROR);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("offreg.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ORCloseKey(keyhandle : ORHKEY) -> super::super::super::Win32::Foundation:: WIN32_ERROR);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("offreg.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ORCreateHive(horkey : *mut ORHKEY) -> super::super::super::Win32::Foundation:: WIN32_ERROR);
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))]
|
||||
::windows_targets::link!("offreg.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn ORCreateKey(keyhandle : ORHKEY, lpsubkey : ::windows_sys::core::PCWSTR, lpclass : ::windows_sys::core::PCWSTR, dwoptions : u32, psecuritydescriptor : super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR, phkresult : *mut ORHKEY, pdwdisposition : *mut u32) -> super::super::super::Win32::Foundation:: WIN32_ERROR);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("offreg.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ORDeleteKey(handle : ORHKEY, lpsubkey : ::windows_sys::core::PCWSTR) -> super::super::super::Win32::Foundation:: WIN32_ERROR);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("offreg.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ORDeleteValue(handle : ORHKEY, lpvaluename : ::windows_sys::core::PCWSTR) -> super::super::super::Win32::Foundation:: WIN32_ERROR);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("offreg.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn OREnumKey(handle : ORHKEY, dwindex : u32, lpname : ::windows_sys::core::PWSTR, lpcname : *mut u32, lpclass : ::windows_sys::core::PWSTR, lpcclass : *mut u32, lpftlastwritetime : *mut super::super::super::Win32::Foundation:: FILETIME) -> super::super::super::Win32::Foundation:: WIN32_ERROR);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("offreg.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn OREnumValue(handle : ORHKEY, dwindex : u32, lpvaluename : ::windows_sys::core::PWSTR, lpcvaluename : *mut u32, lptype : *mut u32, lpdata : *mut u8, lpcbdata : *mut u32) -> super::super::super::Win32::Foundation:: WIN32_ERROR);
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))]
|
||||
::windows_targets::link!("offreg.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn ORGetKeySecurity(handle : ORHKEY, securityinformation : u32, psecuritydescriptor : super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR, lpcbsecuritydescriptor : *mut u32) -> super::super::super::Win32::Foundation:: WIN32_ERROR);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("offreg.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ORGetValue(handle : ORHKEY, lpsubkey : ::windows_sys::core::PCWSTR, lpvalue : ::windows_sys::core::PCWSTR, pdwtype : *mut u32, pvdata : *mut ::core::ffi::c_void, pcbdata : *mut u32) -> super::super::super::Win32::Foundation:: WIN32_ERROR);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("offreg.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ORGetVersion(pdwmajorversion : *mut u32, pdwminorversion : *mut u32) -> super::super::super::Win32::Foundation:: WIN32_ERROR);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("offreg.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ORGetVirtualFlags(handle : ORHKEY, pdwflags : *mut u32) -> super::super::super::Win32::Foundation:: WIN32_ERROR);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("offreg.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ORMergeHives(hivehandles : *const ORHKEY, hivecount : u32, phkresult : *mut ORHKEY) -> super::super::super::Win32::Foundation:: WIN32_ERROR);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("offreg.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn OROpenHive(filepath : ::windows_sys::core::PCWSTR, horkey : *mut ORHKEY) -> super::super::super::Win32::Foundation:: WIN32_ERROR);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("offreg.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn OROpenHiveByHandle(filehandle : super::super::super::Win32::Foundation:: HANDLE, horkey : *mut ORHKEY) -> super::super::super::Win32::Foundation:: WIN32_ERROR);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("offreg.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn OROpenKey(handle : ORHKEY, lpsubkey : ::windows_sys::core::PCWSTR, phkresult : *mut ORHKEY) -> super::super::super::Win32::Foundation:: WIN32_ERROR);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("offreg.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ORQueryInfoKey(handle : ORHKEY, lpclass : ::windows_sys::core::PWSTR, lpcclass : *mut u32, lpcsubkeys : *mut u32, lpcmaxsubkeylen : *mut u32, lpcmaxclasslen : *mut u32, lpcvalues : *mut u32, lpcmaxvaluenamelen : *mut u32, lpcmaxvaluelen : *mut u32, lpcbsecuritydescriptor : *mut u32, lpftlastwritetime : *mut super::super::super::Win32::Foundation:: FILETIME) -> super::super::super::Win32::Foundation:: WIN32_ERROR);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("offreg.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ORRenameKey(handle : ORHKEY, lpnewname : ::windows_sys::core::PCWSTR) -> super::super::super::Win32::Foundation:: WIN32_ERROR);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("offreg.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ORSaveHive(horkey : ORHKEY, hivepath : ::windows_sys::core::PCWSTR, osmajorversion : u32, osminorversion : u32) -> super::super::super::Win32::Foundation:: WIN32_ERROR);
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))]
|
||||
::windows_targets::link!("offreg.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn ORSetKeySecurity(handle : ORHKEY, securityinformation : u32, psecuritydescriptor : super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR) -> super::super::super::Win32::Foundation:: WIN32_ERROR);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("offreg.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ORSetValue(handle : ORHKEY, lpvaluename : ::windows_sys::core::PCWSTR, dwtype : u32, lpdata : *const u8, cbdata : u32) -> super::super::super::Win32::Foundation:: WIN32_ERROR);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("offreg.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ORSetVirtualFlags(handle : ORHKEY, dwflags : u32) -> super::super::super::Win32::Foundation:: WIN32_ERROR);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("offreg.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ORShutdown() -> super::super::super::Win32::Foundation:: WIN32_ERROR);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("offreg.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ORStart() -> super::super::super::Win32::Foundation:: WIN32_ERROR);
|
||||
pub type ORHKEY = isize;
|
||||
74
third-party/vendor/windows-sys/src/Windows/Wdk/System/Registry/mod.rs
vendored
Normal file
74
third-party/vendor/windows-sys/src/Windows/Wdk/System/Registry/mod.rs
vendored
Normal file
|
|
@ -0,0 +1,74 @@
|
|||
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_IO"))]
|
||||
::windows_targets::link!("ntdll.dll" "system" #[doc = "Required features: `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`"] fn NtNotifyChangeMultipleKeys(masterkeyhandle : super::super::super::Win32::Foundation:: HANDLE, count : u32, subordinateobjects : *const super::super::Foundation:: OBJECT_ATTRIBUTES, event : super::super::super::Win32::Foundation:: HANDLE, apcroutine : super::super::super::Win32::System::IO:: PIO_APC_ROUTINE, apccontext : *const ::core::ffi::c_void, iostatusblock : *mut super::super::super::Win32::System::IO:: IO_STATUS_BLOCK, completionfilter : u32, watchtree : super::super::super::Win32::Foundation:: BOOLEAN, buffer : *mut ::core::ffi::c_void, buffersize : u32, asynchronous : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("ntdll.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NtQueryMultipleValueKey(keyhandle : super::super::super::Win32::Foundation:: HANDLE, valueentries : *mut KEY_VALUE_ENTRY, entrycount : u32, valuebuffer : *mut ::core::ffi::c_void, bufferlength : *mut u32, requiredbufferlength : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("ntdll.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NtRenameKey(keyhandle : super::super::super::Win32::Foundation:: HANDLE, newname : *const super::super::super::Win32::Foundation:: UNICODE_STRING) -> super::super::super::Win32::Foundation:: NTSTATUS);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("ntdll.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NtSetInformationKey(keyhandle : super::super::super::Win32::Foundation:: HANDLE, keysetinformationclass : KEY_SET_INFORMATION_CLASS, keysetinformation : *const ::core::ffi::c_void, keysetinformationlength : u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("ntdll.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ZwSetInformationKey(keyhandle : super::super::super::Win32::Foundation:: HANDLE, keysetinformationclass : KEY_SET_INFORMATION_CLASS, keysetinformation : *const ::core::ffi::c_void, keysetinformationlength : u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
|
||||
pub const KeyControlFlagsInformation: KEY_SET_INFORMATION_CLASS = 2i32;
|
||||
pub const KeySetDebugInformation: KEY_SET_INFORMATION_CLASS = 4i32;
|
||||
pub const KeySetHandleTagsInformation: KEY_SET_INFORMATION_CLASS = 5i32;
|
||||
pub const KeySetLayerInformation: KEY_SET_INFORMATION_CLASS = 6i32;
|
||||
pub const KeySetVirtualizationInformation: KEY_SET_INFORMATION_CLASS = 3i32;
|
||||
pub const KeyWow64FlagsInformation: KEY_SET_INFORMATION_CLASS = 1i32;
|
||||
pub const KeyWriteTimeInformation: KEY_SET_INFORMATION_CLASS = 0i32;
|
||||
pub const MaxKeySetInfoClass: KEY_SET_INFORMATION_CLASS = 7i32;
|
||||
pub type KEY_SET_INFORMATION_CLASS = i32;
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub struct KEY_VALUE_ENTRY {
|
||||
pub ValueName: *mut super::super::super::Win32::Foundation::UNICODE_STRING,
|
||||
pub DataLength: u32,
|
||||
pub DataOffset: u32,
|
||||
pub Type: u32,
|
||||
}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::marker::Copy for KEY_VALUE_ENTRY {}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::clone::Clone for KEY_VALUE_ENTRY {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub struct REG_QUERY_MULTIPLE_VALUE_KEY_INFORMATION {
|
||||
pub Object: *mut ::core::ffi::c_void,
|
||||
pub ValueEntries: *mut KEY_VALUE_ENTRY,
|
||||
pub EntryCount: u32,
|
||||
pub ValueBuffer: *mut ::core::ffi::c_void,
|
||||
pub BufferLength: *mut u32,
|
||||
pub RequiredBufferLength: *mut u32,
|
||||
pub CallContext: *mut ::core::ffi::c_void,
|
||||
pub ObjectContext: *mut ::core::ffi::c_void,
|
||||
pub Reserved: *mut ::core::ffi::c_void,
|
||||
}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::marker::Copy for REG_QUERY_MULTIPLE_VALUE_KEY_INFORMATION {}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::clone::Clone for REG_QUERY_MULTIPLE_VALUE_KEY_INFORMATION {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct REG_SET_INFORMATION_KEY_INFORMATION {
|
||||
pub Object: *mut ::core::ffi::c_void,
|
||||
pub KeySetInformationClass: KEY_SET_INFORMATION_CLASS,
|
||||
pub KeySetInformation: *mut ::core::ffi::c_void,
|
||||
pub KeySetInformationLength: u32,
|
||||
pub CallContext: *mut ::core::ffi::c_void,
|
||||
pub ObjectContext: *mut ::core::ffi::c_void,
|
||||
pub Reserved: *mut ::core::ffi::c_void,
|
||||
}
|
||||
impl ::core::marker::Copy for REG_SET_INFORMATION_KEY_INFORMATION {}
|
||||
impl ::core::clone::Clone for REG_SET_INFORMATION_KEY_INFORMATION {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
18
third-party/vendor/windows-sys/src/Windows/Wdk/System/SystemInformation/mod.rs
vendored
Normal file
18
third-party/vendor/windows-sys/src/Windows/Wdk/System/SystemInformation/mod.rs
vendored
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("ntdll.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NtQuerySystemInformation(systeminformationclass : SYSTEM_INFORMATION_CLASS, systeminformation : *mut ::core::ffi::c_void, systeminformationlength : u32, returnlength : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("ntdll.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NtQuerySystemTime(systemtime : *mut i64) -> super::super::super::Win32::Foundation:: NTSTATUS);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("ntdll.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NtQueryTimerResolution(maximumtime : *mut u32, minimumtime : *mut u32, currenttime : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
|
||||
pub const SystemBasicInformation: SYSTEM_INFORMATION_CLASS = 0i32;
|
||||
pub const SystemCodeIntegrityInformation: SYSTEM_INFORMATION_CLASS = 103i32;
|
||||
pub const SystemExceptionInformation: SYSTEM_INFORMATION_CLASS = 33i32;
|
||||
pub const SystemInterruptInformation: SYSTEM_INFORMATION_CLASS = 23i32;
|
||||
pub const SystemLookasideInformation: SYSTEM_INFORMATION_CLASS = 45i32;
|
||||
pub const SystemPerformanceInformation: SYSTEM_INFORMATION_CLASS = 2i32;
|
||||
pub const SystemPolicyInformation: SYSTEM_INFORMATION_CLASS = 134i32;
|
||||
pub const SystemProcessInformation: SYSTEM_INFORMATION_CLASS = 5i32;
|
||||
pub const SystemProcessorPerformanceInformation: SYSTEM_INFORMATION_CLASS = 8i32;
|
||||
pub const SystemRegistryQuotaInformation: SYSTEM_INFORMATION_CLASS = 37i32;
|
||||
pub const SystemTimeOfDayInformation: SYSTEM_INFORMATION_CLASS = 3i32;
|
||||
pub type SYSTEM_INFORMATION_CLASS = i32;
|
||||
21130
third-party/vendor/windows-sys/src/Windows/Wdk/System/SystemServices/mod.rs
vendored
Normal file
21130
third-party/vendor/windows-sys/src/Windows/Wdk/System/SystemServices/mod.rs
vendored
Normal file
File diff suppressed because it is too large
Load diff
127
third-party/vendor/windows-sys/src/Windows/Wdk/System/Threading/mod.rs
vendored
Normal file
127
third-party/vendor/windows-sys/src/Windows/Wdk/System/Threading/mod.rs
vendored
Normal file
|
|
@ -0,0 +1,127 @@
|
|||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("ntdll.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NtQueryInformationProcess(processhandle : super::super::super::Win32::Foundation:: HANDLE, processinformationclass : PROCESSINFOCLASS, processinformation : *mut ::core::ffi::c_void, processinformationlength : u32, returnlength : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("ntdll.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NtQueryInformationThread(threadhandle : super::super::super::Win32::Foundation:: HANDLE, threadinformationclass : THREADINFOCLASS, threadinformation : *mut ::core::ffi::c_void, threadinformationlength : u32, returnlength : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("ntdll.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NtSetInformationThread(threadhandle : super::super::super::Win32::Foundation:: HANDLE, threadinformationclass : THREADINFOCLASS, threadinformation : *const ::core::ffi::c_void, threadinformationlength : u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("ntdll.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NtWaitForSingleObject(handle : super::super::super::Win32::Foundation:: HANDLE, alertable : super::super::super::Win32::Foundation:: BOOLEAN, timeout : *mut i64) -> super::super::super::Win32::Foundation:: NTSTATUS);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("ntdll.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ZwSetInformationThread(threadhandle : super::super::super::Win32::Foundation:: HANDLE, threadinformationclass : THREADINFOCLASS, threadinformation : *const ::core::ffi::c_void, threadinformationlength : u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
|
||||
pub const MaxProcessInfoClass: PROCESSINFOCLASS = 83i32;
|
||||
pub const MaxThreadInfoClass: THREADINFOCLASS = 56i32;
|
||||
pub const ProcessAccessToken: PROCESSINFOCLASS = 9i32;
|
||||
pub const ProcessAffinityMask: PROCESSINFOCLASS = 21i32;
|
||||
pub const ProcessAffinityUpdateMode: PROCESSINFOCLASS = 45i32;
|
||||
pub const ProcessBasePriority: PROCESSINFOCLASS = 5i32;
|
||||
pub const ProcessBasicInformation: PROCESSINFOCLASS = 0i32;
|
||||
pub const ProcessBreakOnTermination: PROCESSINFOCLASS = 29i32;
|
||||
pub const ProcessCheckStackExtentsMode: PROCESSINFOCLASS = 59i32;
|
||||
pub const ProcessCommandLineInformation: PROCESSINFOCLASS = 60i32;
|
||||
pub const ProcessCommitReleaseInformation: PROCESSINFOCLASS = 65i32;
|
||||
pub const ProcessCookie: PROCESSINFOCLASS = 36i32;
|
||||
pub const ProcessCycleTime: PROCESSINFOCLASS = 38i32;
|
||||
pub const ProcessDebugFlags: PROCESSINFOCLASS = 31i32;
|
||||
pub const ProcessDebugObjectHandle: PROCESSINFOCLASS = 30i32;
|
||||
pub const ProcessDebugPort: PROCESSINFOCLASS = 7i32;
|
||||
pub const ProcessDefaultHardErrorMode: PROCESSINFOCLASS = 12i32;
|
||||
pub const ProcessDeviceMap: PROCESSINFOCLASS = 23i32;
|
||||
pub const ProcessDynamicFunctionTableInformation: PROCESSINFOCLASS = 53i32;
|
||||
pub const ProcessEnableAlignmentFaultFixup: PROCESSINFOCLASS = 17i32;
|
||||
pub const ProcessEnergyTrackingState: PROCESSINFOCLASS = 82i32;
|
||||
pub const ProcessExceptionPort: PROCESSINFOCLASS = 8i32;
|
||||
pub const ProcessExecuteFlags: PROCESSINFOCLASS = 34i32;
|
||||
pub const ProcessFaultInformation: PROCESSINFOCLASS = 63i32;
|
||||
pub const ProcessForegroundInformation: PROCESSINFOCLASS = 25i32;
|
||||
pub const ProcessGroupInformation: PROCESSINFOCLASS = 47i32;
|
||||
pub const ProcessHandleCheckingMode: PROCESSINFOCLASS = 54i32;
|
||||
pub const ProcessHandleCount: PROCESSINFOCLASS = 20i32;
|
||||
pub const ProcessHandleInformation: PROCESSINFOCLASS = 51i32;
|
||||
pub const ProcessHandleTable: PROCESSINFOCLASS = 58i32;
|
||||
pub const ProcessHandleTracing: PROCESSINFOCLASS = 32i32;
|
||||
pub const ProcessImageFileMapping: PROCESSINFOCLASS = 44i32;
|
||||
pub const ProcessImageFileName: PROCESSINFOCLASS = 27i32;
|
||||
pub const ProcessImageFileNameWin32: PROCESSINFOCLASS = 43i32;
|
||||
pub const ProcessImageInformation: PROCESSINFOCLASS = 37i32;
|
||||
pub const ProcessInPrivate: PROCESSINFOCLASS = 70i32;
|
||||
pub const ProcessInstrumentationCallback: PROCESSINFOCLASS = 40i32;
|
||||
pub const ProcessIoCounters: PROCESSINFOCLASS = 2i32;
|
||||
pub const ProcessIoPortHandlers: PROCESSINFOCLASS = 13i32;
|
||||
pub const ProcessIoPriority: PROCESSINFOCLASS = 33i32;
|
||||
pub const ProcessKeepAliveCount: PROCESSINFOCLASS = 55i32;
|
||||
pub const ProcessLUIDDeviceMapsEnabled: PROCESSINFOCLASS = 28i32;
|
||||
pub const ProcessLdtInformation: PROCESSINFOCLASS = 10i32;
|
||||
pub const ProcessLdtSize: PROCESSINFOCLASS = 11i32;
|
||||
pub const ProcessMemoryAllocationMode: PROCESSINFOCLASS = 46i32;
|
||||
pub const ProcessMemoryExhaustion: PROCESSINFOCLASS = 62i32;
|
||||
pub const ProcessMitigationPolicy: PROCESSINFOCLASS = 52i32;
|
||||
pub const ProcessOwnerInformation: PROCESSINFOCLASS = 49i32;
|
||||
pub const ProcessPagePriority: PROCESSINFOCLASS = 39i32;
|
||||
pub const ProcessPooledUsageAndLimits: PROCESSINFOCLASS = 14i32;
|
||||
pub const ProcessPriorityBoost: PROCESSINFOCLASS = 22i32;
|
||||
pub const ProcessPriorityClass: PROCESSINFOCLASS = 18i32;
|
||||
pub const ProcessProtectionInformation: PROCESSINFOCLASS = 61i32;
|
||||
pub const ProcessQuotaLimits: PROCESSINFOCLASS = 1i32;
|
||||
pub const ProcessRaisePriority: PROCESSINFOCLASS = 6i32;
|
||||
pub const ProcessRaiseUMExceptionOnInvalidHandleClose: PROCESSINFOCLASS = 71i32;
|
||||
pub const ProcessReserved1Information: PROCESSINFOCLASS = 66i32;
|
||||
pub const ProcessReserved2Information: PROCESSINFOCLASS = 67i32;
|
||||
pub const ProcessRevokeFileHandles: PROCESSINFOCLASS = 56i32;
|
||||
pub const ProcessSessionInformation: PROCESSINFOCLASS = 24i32;
|
||||
pub const ProcessSubsystemInformation: PROCESSINFOCLASS = 75i32;
|
||||
pub const ProcessSubsystemProcess: PROCESSINFOCLASS = 68i32;
|
||||
pub const ProcessTelemetryIdInformation: PROCESSINFOCLASS = 64i32;
|
||||
pub const ProcessThreadStackAllocation: PROCESSINFOCLASS = 41i32;
|
||||
pub const ProcessTimes: PROCESSINFOCLASS = 4i32;
|
||||
pub const ProcessTlsInformation: PROCESSINFOCLASS = 35i32;
|
||||
pub const ProcessTokenVirtualizationEnabled: PROCESSINFOCLASS = 48i32;
|
||||
pub const ProcessUserModeIOPL: PROCESSINFOCLASS = 16i32;
|
||||
pub const ProcessVmCounters: PROCESSINFOCLASS = 3i32;
|
||||
pub const ProcessWin32kSyscallFilterInformation: PROCESSINFOCLASS = 79i32;
|
||||
pub const ProcessWindowInformation: PROCESSINFOCLASS = 50i32;
|
||||
pub const ProcessWorkingSetControl: PROCESSINFOCLASS = 57i32;
|
||||
pub const ProcessWorkingSetWatch: PROCESSINFOCLASS = 15i32;
|
||||
pub const ProcessWorkingSetWatchEx: PROCESSINFOCLASS = 42i32;
|
||||
pub const ProcessWow64Information: PROCESSINFOCLASS = 26i32;
|
||||
pub const ProcessWx86Information: PROCESSINFOCLASS = 19i32;
|
||||
pub const ThreadActualBasePriority: THREADINFOCLASS = 25i32;
|
||||
pub const ThreadActualGroupAffinity: THREADINFOCLASS = 41i32;
|
||||
pub const ThreadAffinityMask: THREADINFOCLASS = 4i32;
|
||||
pub const ThreadAmILastThread: THREADINFOCLASS = 12i32;
|
||||
pub const ThreadBasePriority: THREADINFOCLASS = 3i32;
|
||||
pub const ThreadBasicInformation: THREADINFOCLASS = 0i32;
|
||||
pub const ThreadBreakOnTermination: THREADINFOCLASS = 18i32;
|
||||
pub const ThreadCSwitchMon: THREADINFOCLASS = 27i32;
|
||||
pub const ThreadCSwitchPmu: THREADINFOCLASS = 28i32;
|
||||
pub const ThreadCounterProfiling: THREADINFOCLASS = 32i32;
|
||||
pub const ThreadCpuAccountingInformation: THREADINFOCLASS = 34i32;
|
||||
pub const ThreadCycleTime: THREADINFOCLASS = 23i32;
|
||||
pub const ThreadDescriptorTableEntry: THREADINFOCLASS = 6i32;
|
||||
pub const ThreadDynamicCodePolicyInfo: THREADINFOCLASS = 42i32;
|
||||
pub const ThreadEnableAlignmentFaultFixup: THREADINFOCLASS = 7i32;
|
||||
pub const ThreadEventPair_Reusable: THREADINFOCLASS = 8i32;
|
||||
pub const ThreadGroupInformation: THREADINFOCLASS = 30i32;
|
||||
pub const ThreadHideFromDebugger: THREADINFOCLASS = 17i32;
|
||||
pub const ThreadIdealProcessor: THREADINFOCLASS = 13i32;
|
||||
pub const ThreadIdealProcessorEx: THREADINFOCLASS = 33i32;
|
||||
pub const ThreadImpersonationToken: THREADINFOCLASS = 5i32;
|
||||
pub const ThreadIoPriority: THREADINFOCLASS = 22i32;
|
||||
pub const ThreadIsIoPending: THREADINFOCLASS = 16i32;
|
||||
pub const ThreadIsTerminated: THREADINFOCLASS = 20i32;
|
||||
pub const ThreadLastSystemCall: THREADINFOCLASS = 21i32;
|
||||
pub const ThreadPagePriority: THREADINFOCLASS = 24i32;
|
||||
pub const ThreadPerformanceCount: THREADINFOCLASS = 11i32;
|
||||
pub const ThreadPriority: THREADINFOCLASS = 2i32;
|
||||
pub const ThreadPriorityBoost: THREADINFOCLASS = 14i32;
|
||||
pub const ThreadQuerySetWin32StartAddress: THREADINFOCLASS = 9i32;
|
||||
pub const ThreadSetTlsArrayAddress: THREADINFOCLASS = 15i32;
|
||||
pub const ThreadSubsystemInformation: THREADINFOCLASS = 45i32;
|
||||
pub const ThreadSuspendCount: THREADINFOCLASS = 35i32;
|
||||
pub const ThreadSwitchLegacyState: THREADINFOCLASS = 19i32;
|
||||
pub const ThreadTebInformation: THREADINFOCLASS = 26i32;
|
||||
pub const ThreadTimes: THREADINFOCLASS = 1i32;
|
||||
pub const ThreadUmsInformation: THREADINFOCLASS = 31i32;
|
||||
pub const ThreadWow64Context: THREADINFOCLASS = 29i32;
|
||||
pub const ThreadZeroTlsCell: THREADINFOCLASS = 10i32;
|
||||
pub type PROCESSINFOCLASS = i32;
|
||||
pub type THREADINFOCLASS = i32;
|
||||
18
third-party/vendor/windows-sys/src/Windows/Wdk/System/mod.rs
vendored
Normal file
18
third-party/vendor/windows-sys/src/Windows/Wdk/System/mod.rs
vendored
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
#[cfg(feature = "Wdk_System_IO")]
|
||||
#[doc = "Required features: `\"Wdk_System_IO\"`"]
|
||||
pub mod IO;
|
||||
#[cfg(feature = "Wdk_System_OfflineRegistry")]
|
||||
#[doc = "Required features: `\"Wdk_System_OfflineRegistry\"`"]
|
||||
pub mod OfflineRegistry;
|
||||
#[cfg(feature = "Wdk_System_Registry")]
|
||||
#[doc = "Required features: `\"Wdk_System_Registry\"`"]
|
||||
pub mod Registry;
|
||||
#[cfg(feature = "Wdk_System_SystemInformation")]
|
||||
#[doc = "Required features: `\"Wdk_System_SystemInformation\"`"]
|
||||
pub mod SystemInformation;
|
||||
#[cfg(feature = "Wdk_System_SystemServices")]
|
||||
#[doc = "Required features: `\"Wdk_System_SystemServices\"`"]
|
||||
pub mod SystemServices;
|
||||
#[cfg(feature = "Wdk_System_Threading")]
|
||||
#[doc = "Required features: `\"Wdk_System_Threading\"`"]
|
||||
pub mod Threading;
|
||||
12
third-party/vendor/windows-sys/src/Windows/Wdk/mod.rs
vendored
Normal file
12
third-party/vendor/windows-sys/src/Windows/Wdk/mod.rs
vendored
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
#[cfg(feature = "Wdk_Foundation")]
|
||||
#[doc = "Required features: `\"Wdk_Foundation\"`"]
|
||||
pub mod Foundation;
|
||||
#[cfg(feature = "Wdk_Graphics")]
|
||||
#[doc = "Required features: `\"Wdk_Graphics\"`"]
|
||||
pub mod Graphics;
|
||||
#[cfg(feature = "Wdk_Storage")]
|
||||
#[doc = "Required features: `\"Wdk_Storage\"`"]
|
||||
pub mod Storage;
|
||||
#[cfg(feature = "Wdk_System")]
|
||||
#[doc = "Required features: `\"Wdk_System\"`"]
|
||||
pub mod System;
|
||||
558
third-party/vendor/windows-sys/src/Windows/Win32/Data/HtmlHelp/mod.rs
vendored
Normal file
558
third-party/vendor/windows-sys/src/Windows/Win32/Data/HtmlHelp/mod.rs
vendored
Normal file
|
|
@ -0,0 +1,558 @@
|
|||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("htmlhelp.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn HtmlHelpA(hwndcaller : super::super::Foundation:: HWND, pszfile : ::windows_sys::core::PCSTR, ucommand : u32, dwdata : usize) -> super::super::Foundation:: HWND);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("htmlhelp.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn HtmlHelpW(hwndcaller : super::super::Foundation:: HWND, pszfile : ::windows_sys::core::PCWSTR, ucommand : u32, dwdata : usize) -> super::super::Foundation:: HWND);
|
||||
pub type IITDatabase = *mut ::core::ffi::c_void;
|
||||
pub type IITPropList = *mut ::core::ffi::c_void;
|
||||
pub type IITResultSet = *mut ::core::ffi::c_void;
|
||||
pub type IStemSink = *mut ::core::ffi::c_void;
|
||||
pub type IStemmerConfig = *mut ::core::ffi::c_void;
|
||||
pub type IWordBreakerConfig = *mut ::core::ffi::c_void;
|
||||
pub const CLSID_IITCmdInt: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x4662daa2_d393_11d0_9a56_00c04fb68bf7);
|
||||
pub const CLSID_IITDatabase: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x66673452_8c23_11d0_a84e_00aa006c7d01);
|
||||
pub const CLSID_IITDatabaseLocal: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x4662daa9_d393_11d0_9a56_00c04fb68bf7);
|
||||
pub const CLSID_IITGroupUpdate: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x4662daa4_d393_11d0_9a56_00c04fb68bf7);
|
||||
pub const CLSID_IITIndexBuild: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x8fa0d5aa_dedf_11d0_9a61_00c04fb68bf7);
|
||||
pub const CLSID_IITPropList: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x4662daae_d393_11d0_9a56_00c04fb68bf7);
|
||||
pub const CLSID_IITResultSet: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x4662daa7_d393_11d0_9a56_00c04fb68bf7);
|
||||
pub const CLSID_IITSvMgr: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x4662daa3_d393_11d0_9a56_00c04fb68bf7);
|
||||
pub const CLSID_IITWWFilterBuild: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x8fa0d5ab_dedf_11d0_9a61_00c04fb68bf7);
|
||||
pub const CLSID_IITWordWheel: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xd73725c2_8c12_11d0_a84e_00aa006c7d01);
|
||||
pub const CLSID_IITWordWheelLocal: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x4662daa8_d393_11d0_9a56_00c04fb68bf7);
|
||||
pub const CLSID_IITWordWheelUpdate: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x4662daa5_d393_11d0_9a56_00c04fb68bf7);
|
||||
pub const CLSID_ITEngStemmer: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x8fa0d5a8_dedf_11d0_9a61_00c04fb68bf7);
|
||||
pub const CLSID_ITStdBreaker: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x4662daaf_d393_11d0_9a56_00c04fb68bf7);
|
||||
pub const E_ALL_WILD: ::windows_sys::core::HRESULT = -2147479467i32;
|
||||
pub const E_ALREADYINIT: ::windows_sys::core::HRESULT = -2147479421i32;
|
||||
pub const E_ALREADYOPEN: ::windows_sys::core::HRESULT = -2147479533i32;
|
||||
pub const E_ASSERT: ::windows_sys::core::HRESULT = -2147479546i32;
|
||||
pub const E_BADBREAKER: ::windows_sys::core::HRESULT = -2147479469i32;
|
||||
pub const E_BADFILE: ::windows_sys::core::HRESULT = -2147479549i32;
|
||||
pub const E_BADFILTERSIZE: ::windows_sys::core::HRESULT = -2147479528i32;
|
||||
pub const E_BADFORMAT: ::windows_sys::core::HRESULT = -2147479548i32;
|
||||
pub const E_BADINDEXFLAGS: ::windows_sys::core::HRESULT = -2147479456i32;
|
||||
pub const E_BADPARAM: ::windows_sys::core::HRESULT = -2147479535i32;
|
||||
pub const E_BADRANGEOP: ::windows_sys::core::HRESULT = -2147479459i32;
|
||||
pub const E_BADVALUE: ::windows_sys::core::HRESULT = -2147479468i32;
|
||||
pub const E_BADVERSION: ::windows_sys::core::HRESULT = -2147479550i32;
|
||||
pub const E_CANTFINDDLL: ::windows_sys::core::HRESULT = -2147479538i32;
|
||||
pub const E_DISKFULL: ::windows_sys::core::HRESULT = -2147479496i32;
|
||||
pub const E_DUPLICATE: ::windows_sys::core::HRESULT = -2147479551i32;
|
||||
pub const E_EXPECTEDTERM: ::windows_sys::core::HRESULT = -2147479465i32;
|
||||
pub const E_FILECLOSE: ::windows_sys::core::HRESULT = -2147479503i32;
|
||||
pub const E_FILECREATE: ::windows_sys::core::HRESULT = -2147479504i32;
|
||||
pub const E_FILEDELETE: ::windows_sys::core::HRESULT = -2147479499i32;
|
||||
pub const E_FILEINVALID: ::windows_sys::core::HRESULT = -2147479498i32;
|
||||
pub const E_FILENOTFOUND: ::windows_sys::core::HRESULT = -2147479497i32;
|
||||
pub const E_FILEREAD: ::windows_sys::core::HRESULT = -2147479502i32;
|
||||
pub const E_FILESEEK: ::windows_sys::core::HRESULT = -2147479501i32;
|
||||
pub const E_FILEWRITE: ::windows_sys::core::HRESULT = -2147479500i32;
|
||||
pub const E_GETLASTERROR: ::windows_sys::core::HRESULT = -2147479536i32;
|
||||
pub const E_GROUPIDTOOBIG: ::windows_sys::core::HRESULT = -2147479542i32;
|
||||
pub const E_INTERRUPT: ::windows_sys::core::HRESULT = -2147479545i32;
|
||||
pub const E_INVALIDSTATE: ::windows_sys::core::HRESULT = -2147479534i32;
|
||||
pub const E_MISSINGPROP: ::windows_sys::core::HRESULT = -2147479424i32;
|
||||
pub const E_MISSLPAREN: ::windows_sys::core::HRESULT = -2147479464i32;
|
||||
pub const E_MISSQUOTE: ::windows_sys::core::HRESULT = -2147479462i32;
|
||||
pub const E_MISSRPAREN: ::windows_sys::core::HRESULT = -2147479463i32;
|
||||
pub const E_NAMETOOLONG: ::windows_sys::core::HRESULT = -2147479520i32;
|
||||
pub const E_NOHANDLE: ::windows_sys::core::HRESULT = -2147479537i32;
|
||||
pub const E_NOKEYPROP: ::windows_sys::core::HRESULT = -2147479417i32;
|
||||
pub const E_NOMERGEDDATA: ::windows_sys::core::HRESULT = -2147479540i32;
|
||||
pub const E_NOPERMISSION: ::windows_sys::core::HRESULT = -2147479547i32;
|
||||
pub const E_NOSTEMMER: ::windows_sys::core::HRESULT = -2147479454i32;
|
||||
pub const E_NOTEXIST: ::windows_sys::core::HRESULT = -2147479552i32;
|
||||
pub const E_NOTFOUND: ::windows_sys::core::HRESULT = -2147479539i32;
|
||||
pub const E_NOTINIT: ::windows_sys::core::HRESULT = -2147479420i32;
|
||||
pub const E_NOTOPEN: ::windows_sys::core::HRESULT = -2147479533i32;
|
||||
pub const E_NOTSUPPORTED: ::windows_sys::core::HRESULT = -2147479544i32;
|
||||
pub const E_NULLQUERY: ::windows_sys::core::HRESULT = -2147479461i32;
|
||||
pub const E_OUTOFRANGE: ::windows_sys::core::HRESULT = -2147479543i32;
|
||||
pub const E_PROPLISTEMPTY: ::windows_sys::core::HRESULT = -2147479422i32;
|
||||
pub const E_PROPLISTNOTEMPTY: ::windows_sys::core::HRESULT = -2147479423i32;
|
||||
pub const E_RESULTSETEMPTY: ::windows_sys::core::HRESULT = -2147479419i32;
|
||||
pub const E_STOPWORD: ::windows_sys::core::HRESULT = -2147479460i32;
|
||||
pub const E_TOODEEP: ::windows_sys::core::HRESULT = -2147479466i32;
|
||||
pub const E_TOOMANYCOLUMNS: ::windows_sys::core::HRESULT = -2147479418i32;
|
||||
pub const E_TOOMANYDUPS: ::windows_sys::core::HRESULT = -2147479471i32;
|
||||
pub const E_TOOMANYOBJECTS: ::windows_sys::core::HRESULT = -2147479527i32;
|
||||
pub const E_TOOMANYTITLES: ::windows_sys::core::HRESULT = -2147479541i32;
|
||||
pub const E_TOOMANYTOPICS: ::windows_sys::core::HRESULT = -2147479472i32;
|
||||
pub const E_TREETOOBIG: ::windows_sys::core::HRESULT = -2147479470i32;
|
||||
pub const E_UNKNOWN_TRANSPORT: ::windows_sys::core::HRESULT = -2147479530i32;
|
||||
pub const E_UNMATCHEDTYPE: ::windows_sys::core::HRESULT = -2147479458i32;
|
||||
pub const E_UNSUPPORTED_TRANSPORT: ::windows_sys::core::HRESULT = -2147479529i32;
|
||||
pub const E_WILD_IN_DTYPE: ::windows_sys::core::HRESULT = -2147479455i32;
|
||||
pub const E_WORDTOOLONG: ::windows_sys::core::HRESULT = -2147479457i32;
|
||||
pub const HHACT_BACK: i32 = 7i32;
|
||||
pub const HHACT_CONTRACT: i32 = 6i32;
|
||||
pub const HHACT_CUSTOMIZE: i32 = 16i32;
|
||||
pub const HHACT_EXPAND: i32 = 5i32;
|
||||
pub const HHACT_FORWARD: i32 = 8i32;
|
||||
pub const HHACT_HIGHLIGHT: i32 = 15i32;
|
||||
pub const HHACT_HOME: i32 = 11i32;
|
||||
pub const HHACT_JUMP1: i32 = 17i32;
|
||||
pub const HHACT_JUMP2: i32 = 18i32;
|
||||
pub const HHACT_LAST_ENUM: i32 = 23i32;
|
||||
pub const HHACT_NOTES: i32 = 22i32;
|
||||
pub const HHACT_OPTIONS: i32 = 13i32;
|
||||
pub const HHACT_PRINT: i32 = 14i32;
|
||||
pub const HHACT_REFRESH: i32 = 10i32;
|
||||
pub const HHACT_STOP: i32 = 9i32;
|
||||
pub const HHACT_SYNC: i32 = 12i32;
|
||||
pub const HHACT_TAB_CONTENTS: i32 = 0i32;
|
||||
pub const HHACT_TAB_FAVORITES: i32 = 4i32;
|
||||
pub const HHACT_TAB_HISTORY: i32 = 3i32;
|
||||
pub const HHACT_TAB_INDEX: i32 = 1i32;
|
||||
pub const HHACT_TAB_SEARCH: i32 = 2i32;
|
||||
pub const HHACT_TOC_NEXT: i32 = 20i32;
|
||||
pub const HHACT_TOC_PREV: i32 = 21i32;
|
||||
pub const HHACT_ZOOM: i32 = 19i32;
|
||||
pub const HHN_FIRST: u32 = 4294966436u32;
|
||||
pub const HHN_LAST: u32 = 4294966417u32;
|
||||
pub const HHN_NAVCOMPLETE: u32 = 4294966436u32;
|
||||
pub const HHN_TRACK: u32 = 4294966435u32;
|
||||
pub const HHN_WINDOW_CREATE: u32 = 4294966434u32;
|
||||
pub const HHWIN_BUTTON_BACK: u32 = 4u32;
|
||||
pub const HHWIN_BUTTON_BROWSE_BCK: u32 = 256u32;
|
||||
pub const HHWIN_BUTTON_BROWSE_FWD: u32 = 128u32;
|
||||
pub const HHWIN_BUTTON_CONTENTS: u32 = 1024u32;
|
||||
pub const HHWIN_BUTTON_EXPAND: u32 = 2u32;
|
||||
pub const HHWIN_BUTTON_FAVORITES: u32 = 131072u32;
|
||||
pub const HHWIN_BUTTON_FORWARD: u32 = 8u32;
|
||||
pub const HHWIN_BUTTON_HISTORY: u32 = 65536u32;
|
||||
pub const HHWIN_BUTTON_HOME: u32 = 64u32;
|
||||
pub const HHWIN_BUTTON_INDEX: u32 = 16384u32;
|
||||
pub const HHWIN_BUTTON_JUMP1: u32 = 262144u32;
|
||||
pub const HHWIN_BUTTON_JUMP2: u32 = 524288u32;
|
||||
pub const HHWIN_BUTTON_NOTES: u32 = 512u32;
|
||||
pub const HHWIN_BUTTON_OPTIONS: u32 = 4096u32;
|
||||
pub const HHWIN_BUTTON_PRINT: u32 = 8192u32;
|
||||
pub const HHWIN_BUTTON_REFRESH: u32 = 32u32;
|
||||
pub const HHWIN_BUTTON_SEARCH: u32 = 32768u32;
|
||||
pub const HHWIN_BUTTON_STOP: u32 = 16u32;
|
||||
pub const HHWIN_BUTTON_SYNC: u32 = 2048u32;
|
||||
pub const HHWIN_BUTTON_TOC_NEXT: u32 = 2097152u32;
|
||||
pub const HHWIN_BUTTON_TOC_PREV: u32 = 4194304u32;
|
||||
pub const HHWIN_BUTTON_ZOOM: u32 = 1048576u32;
|
||||
pub const HHWIN_NAVTAB_BOTTOM: i32 = 2i32;
|
||||
pub const HHWIN_NAVTAB_LEFT: i32 = 1i32;
|
||||
pub const HHWIN_NAVTAB_TOP: i32 = 0i32;
|
||||
pub const HHWIN_NAVTYPE_AUTHOR: i32 = 5i32;
|
||||
pub const HHWIN_NAVTYPE_CUSTOM_FIRST: i32 = 11i32;
|
||||
pub const HHWIN_NAVTYPE_FAVORITES: i32 = 3i32;
|
||||
pub const HHWIN_NAVTYPE_HISTORY: i32 = 4i32;
|
||||
pub const HHWIN_NAVTYPE_INDEX: i32 = 1i32;
|
||||
pub const HHWIN_NAVTYPE_SEARCH: i32 = 2i32;
|
||||
pub const HHWIN_NAVTYPE_TOC: i32 = 0i32;
|
||||
pub const HHWIN_PARAM_CUR_TAB: u32 = 8192u32;
|
||||
pub const HHWIN_PARAM_EXPANSION: u32 = 512u32;
|
||||
pub const HHWIN_PARAM_EXSTYLES: u32 = 8u32;
|
||||
pub const HHWIN_PARAM_HISTORY_COUNT: u32 = 4096u32;
|
||||
pub const HHWIN_PARAM_INFOTYPES: u32 = 128u32;
|
||||
pub const HHWIN_PARAM_NAV_WIDTH: u32 = 32u32;
|
||||
pub const HHWIN_PARAM_PROPERTIES: u32 = 2u32;
|
||||
pub const HHWIN_PARAM_RECT: u32 = 16u32;
|
||||
pub const HHWIN_PARAM_SHOWSTATE: u32 = 64u32;
|
||||
pub const HHWIN_PARAM_STYLES: u32 = 4u32;
|
||||
pub const HHWIN_PARAM_TABORDER: u32 = 2048u32;
|
||||
pub const HHWIN_PARAM_TABPOS: u32 = 1024u32;
|
||||
pub const HHWIN_PARAM_TB_FLAGS: u32 = 256u32;
|
||||
pub const HHWIN_PROP_AUTO_SYNC: u32 = 256u32;
|
||||
pub const HHWIN_PROP_CHANGE_TITLE: u32 = 8192u32;
|
||||
pub const HHWIN_PROP_MENU: u32 = 65536u32;
|
||||
pub const HHWIN_PROP_NAV_ONLY_WIN: u32 = 16384u32;
|
||||
pub const HHWIN_PROP_NODEF_EXSTYLES: u32 = 16u32;
|
||||
pub const HHWIN_PROP_NODEF_STYLES: u32 = 8u32;
|
||||
pub const HHWIN_PROP_NOTB_TEXT: u32 = 64u32;
|
||||
pub const HHWIN_PROP_NOTITLEBAR: u32 = 4u32;
|
||||
pub const HHWIN_PROP_NO_TOOLBAR: u32 = 32768u32;
|
||||
pub const HHWIN_PROP_ONTOP: u32 = 2u32;
|
||||
pub const HHWIN_PROP_POST_QUIT: u32 = 128u32;
|
||||
pub const HHWIN_PROP_TAB_ADVSEARCH: u32 = 131072u32;
|
||||
pub const HHWIN_PROP_TAB_AUTOHIDESHOW: u32 = 1u32;
|
||||
pub const HHWIN_PROP_TAB_CUSTOM1: u32 = 524288u32;
|
||||
pub const HHWIN_PROP_TAB_CUSTOM2: u32 = 1048576u32;
|
||||
pub const HHWIN_PROP_TAB_CUSTOM3: u32 = 2097152u32;
|
||||
pub const HHWIN_PROP_TAB_CUSTOM4: u32 = 4194304u32;
|
||||
pub const HHWIN_PROP_TAB_CUSTOM5: u32 = 8388608u32;
|
||||
pub const HHWIN_PROP_TAB_CUSTOM6: u32 = 16777216u32;
|
||||
pub const HHWIN_PROP_TAB_CUSTOM7: u32 = 33554432u32;
|
||||
pub const HHWIN_PROP_TAB_CUSTOM8: u32 = 67108864u32;
|
||||
pub const HHWIN_PROP_TAB_CUSTOM9: u32 = 134217728u32;
|
||||
pub const HHWIN_PROP_TAB_FAVORITES: u32 = 4096u32;
|
||||
pub const HHWIN_PROP_TAB_HISTORY: u32 = 2048u32;
|
||||
pub const HHWIN_PROP_TAB_SEARCH: u32 = 1024u32;
|
||||
pub const HHWIN_PROP_TRACKING: u32 = 512u32;
|
||||
pub const HHWIN_PROP_TRI_PANE: u32 = 32u32;
|
||||
pub const HHWIN_PROP_USER_POS: u32 = 262144u32;
|
||||
pub const HHWIN_TB_MARGIN: u32 = 268435456u32;
|
||||
pub const HH_ALINK_LOOKUP: HTML_HELP_COMMAND = 19i32;
|
||||
pub const HH_CLOSE_ALL: HTML_HELP_COMMAND = 18i32;
|
||||
pub const HH_DISPLAY_INDEX: HTML_HELP_COMMAND = 2i32;
|
||||
pub const HH_DISPLAY_SEARCH: HTML_HELP_COMMAND = 3i32;
|
||||
pub const HH_DISPLAY_TEXT_POPUP: HTML_HELP_COMMAND = 14i32;
|
||||
pub const HH_DISPLAY_TOC: HTML_HELP_COMMAND = 1i32;
|
||||
pub const HH_DISPLAY_TOPIC: HTML_HELP_COMMAND = 0i32;
|
||||
pub const HH_ENUM_CATEGORY: HTML_HELP_COMMAND = 21i32;
|
||||
pub const HH_ENUM_CATEGORY_IT: HTML_HELP_COMMAND = 22i32;
|
||||
pub const HH_ENUM_INFO_TYPE: HTML_HELP_COMMAND = 7i32;
|
||||
pub const HH_FTS_DEFAULT_PROXIMITY: HTML_HELP_COMMAND = -1i32;
|
||||
pub const HH_GET_LAST_ERROR: HTML_HELP_COMMAND = 20i32;
|
||||
pub const HH_GET_WIN_HANDLE: HTML_HELP_COMMAND = 6i32;
|
||||
pub const HH_GET_WIN_TYPE: HTML_HELP_COMMAND = 5i32;
|
||||
pub const HH_GPROPID_CONTENT_LANGUAGE: HH_GPROPID = 5i32;
|
||||
pub const HH_GPROPID_CURRENT_SUBSET: HH_GPROPID = 4i32;
|
||||
pub const HH_GPROPID_SINGLETHREAD: HH_GPROPID = 1i32;
|
||||
pub const HH_GPROPID_TOOLBAR_MARGIN: HH_GPROPID = 2i32;
|
||||
pub const HH_GPROPID_UI_LANGUAGE: HH_GPROPID = 3i32;
|
||||
pub const HH_HELP_CONTEXT: HTML_HELP_COMMAND = 15i32;
|
||||
pub const HH_HELP_FINDER: HTML_HELP_COMMAND = 0i32;
|
||||
pub const HH_INITIALIZE: HTML_HELP_COMMAND = 28i32;
|
||||
pub const HH_KEYWORD_LOOKUP: HTML_HELP_COMMAND = 13i32;
|
||||
pub const HH_MAX_TABS: HTML_HELP_COMMAND = 19i32;
|
||||
pub const HH_MAX_TABS_CUSTOM: HTML_HELP_COMMAND = 9i32;
|
||||
pub const HH_PRETRANSLATEMESSAGE: HTML_HELP_COMMAND = 253i32;
|
||||
pub const HH_RESERVED1: HTML_HELP_COMMAND = 10i32;
|
||||
pub const HH_RESERVED2: HTML_HELP_COMMAND = 11i32;
|
||||
pub const HH_RESERVED3: HTML_HELP_COMMAND = 12i32;
|
||||
pub const HH_RESET_IT_FILTER: HTML_HELP_COMMAND = 23i32;
|
||||
pub const HH_SAFE_DISPLAY_TOPIC: HTML_HELP_COMMAND = 32i32;
|
||||
pub const HH_SET_EXCLUSIVE_FILTER: HTML_HELP_COMMAND = 25i32;
|
||||
pub const HH_SET_GLOBAL_PROPERTY: HTML_HELP_COMMAND = 252i32;
|
||||
pub const HH_SET_INCLUSIVE_FILTER: HTML_HELP_COMMAND = 24i32;
|
||||
pub const HH_SET_INFO_TYPE: HTML_HELP_COMMAND = 8i32;
|
||||
pub const HH_SET_QUERYSERVICE: HTML_HELP_COMMAND = 30i32;
|
||||
pub const HH_SET_WIN_TYPE: HTML_HELP_COMMAND = 4i32;
|
||||
pub const HH_SYNC: HTML_HELP_COMMAND = 9i32;
|
||||
pub const HH_TAB_AUTHOR: i32 = 5i32;
|
||||
pub const HH_TAB_CONTENTS: i32 = 0i32;
|
||||
pub const HH_TAB_CUSTOM_FIRST: i32 = 11i32;
|
||||
pub const HH_TAB_CUSTOM_LAST: i32 = 19i32;
|
||||
pub const HH_TAB_FAVORITES: i32 = 3i32;
|
||||
pub const HH_TAB_HISTORY: i32 = 4i32;
|
||||
pub const HH_TAB_INDEX: i32 = 1i32;
|
||||
pub const HH_TAB_SEARCH: i32 = 2i32;
|
||||
pub const HH_TP_HELP_CONTEXTMENU: HTML_HELP_COMMAND = 16i32;
|
||||
pub const HH_TP_HELP_WM_HELP: HTML_HELP_COMMAND = 17i32;
|
||||
pub const HH_UNINITIALIZE: HTML_HELP_COMMAND = 29i32;
|
||||
pub const IDTB_BACK: u32 = 204u32;
|
||||
pub const IDTB_BROWSE_BACK: u32 = 212u32;
|
||||
pub const IDTB_BROWSE_FWD: u32 = 211u32;
|
||||
pub const IDTB_CONTENTS: u32 = 213u32;
|
||||
pub const IDTB_CONTRACT: u32 = 201u32;
|
||||
pub const IDTB_CUSTOMIZE: u32 = 221u32;
|
||||
pub const IDTB_EXPAND: u32 = 200u32;
|
||||
pub const IDTB_FAVORITES: u32 = 217u32;
|
||||
pub const IDTB_FORWARD: u32 = 209u32;
|
||||
pub const IDTB_HISTORY: u32 = 216u32;
|
||||
pub const IDTB_HOME: u32 = 205u32;
|
||||
pub const IDTB_INDEX: u32 = 214u32;
|
||||
pub const IDTB_JUMP1: u32 = 218u32;
|
||||
pub const IDTB_JUMP2: u32 = 219u32;
|
||||
pub const IDTB_NOTES: u32 = 210u32;
|
||||
pub const IDTB_OPTIONS: u32 = 208u32;
|
||||
pub const IDTB_PRINT: u32 = 207u32;
|
||||
pub const IDTB_REFRESH: u32 = 203u32;
|
||||
pub const IDTB_SEARCH: u32 = 215u32;
|
||||
pub const IDTB_STOP: u32 = 202u32;
|
||||
pub const IDTB_SYNC: u32 = 206u32;
|
||||
pub const IDTB_TOC_NEXT: u32 = 223u32;
|
||||
pub const IDTB_TOC_PREV: u32 = 224u32;
|
||||
pub const IDTB_ZOOM: u32 = 222u32;
|
||||
pub const IITWBC_BREAK_ACCEPT_WILDCARDS: u32 = 1u32;
|
||||
pub const IITWBC_BREAK_AND_STEM: u32 = 2u32;
|
||||
pub const ITWW_CBKEY_MAX: u32 = 1024u32;
|
||||
pub const ITWW_OPEN_NOCONNECT: u32 = 1u32;
|
||||
pub const IT_EXCLUSIVE: i32 = 1i32;
|
||||
pub const IT_HIDDEN: i32 = 2i32;
|
||||
pub const IT_INCLUSIVE: i32 = 0i32;
|
||||
pub const MAX_COLUMNS: u32 = 256u32;
|
||||
pub const PRIORITY_HIGH: PRIORITY = 2i32;
|
||||
pub const PRIORITY_LOW: PRIORITY = 0i32;
|
||||
pub const PRIORITY_NORMAL: PRIORITY = 1i32;
|
||||
pub const PROP_ADD: u32 = 0u32;
|
||||
pub const PROP_DELETE: u32 = 1u32;
|
||||
pub const PROP_UPDATE: u32 = 2u32;
|
||||
pub const STDPROP_DISPLAYKEY: u32 = 101u32;
|
||||
pub const STDPROP_INDEX_BREAK: u32 = 204u32;
|
||||
pub const STDPROP_INDEX_DTYPE: u32 = 202u32;
|
||||
pub const STDPROP_INDEX_LENGTH: u32 = 203u32;
|
||||
pub const STDPROP_INDEX_TERM: u32 = 210u32;
|
||||
pub const STDPROP_INDEX_TERM_RAW_LENGTH: u32 = 211u32;
|
||||
pub const STDPROP_INDEX_TEXT: u32 = 200u32;
|
||||
pub const STDPROP_INDEX_VFLD: u32 = 201u32;
|
||||
pub const STDPROP_KEY: u32 = 4u32;
|
||||
pub const STDPROP_SORTKEY: u32 = 100u32;
|
||||
pub const STDPROP_SORTORDINAL: u32 = 102u32;
|
||||
pub const STDPROP_TITLE: u32 = 2u32;
|
||||
pub const STDPROP_UID: u32 = 1u32;
|
||||
pub const STDPROP_USERDATA: u32 = 3u32;
|
||||
pub const STDPROP_USERPROP_BASE: u32 = 65536u32;
|
||||
pub const STDPROP_USERPROP_MAX: u32 = 2147483647u32;
|
||||
pub const SZ_WWDEST_GLOBAL: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("GLOBAL");
|
||||
pub const SZ_WWDEST_KEY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("KEY");
|
||||
pub const SZ_WWDEST_OCC: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("OCC");
|
||||
pub const TYPE_POINTER: u32 = 1u32;
|
||||
pub const TYPE_STRING: u32 = 2u32;
|
||||
pub const TYPE_VALUE: u32 = 0u32;
|
||||
pub type HH_GPROPID = i32;
|
||||
pub type HTML_HELP_COMMAND = i32;
|
||||
pub type PRIORITY = i32;
|
||||
#[repr(C)]
|
||||
pub struct COLUMNSTATUS {
|
||||
pub cPropCount: i32,
|
||||
pub cPropsLoaded: i32,
|
||||
}
|
||||
impl ::core::marker::Copy for COLUMNSTATUS {}
|
||||
impl ::core::clone::Clone for COLUMNSTATUS {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub struct CProperty {
|
||||
pub dwPropID: u32,
|
||||
pub cbData: u32,
|
||||
pub dwType: u32,
|
||||
pub Anonymous: CProperty_0,
|
||||
pub fPersist: super::super::Foundation::BOOL,
|
||||
}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::marker::Copy for CProperty {}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::clone::Clone for CProperty {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub union CProperty_0 {
|
||||
pub lpszwData: ::windows_sys::core::PWSTR,
|
||||
pub lpvData: *mut ::core::ffi::c_void,
|
||||
pub dwValue: u32,
|
||||
}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::marker::Copy for CProperty_0 {}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::clone::Clone for CProperty_0 {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_UI_Controls\"`"]
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Controls"))]
|
||||
pub struct HHNTRACK {
|
||||
pub hdr: super::super::UI::Controls::NMHDR,
|
||||
pub pszCurUrl: ::windows_sys::core::PCSTR,
|
||||
pub idAction: i32,
|
||||
pub phhWinType: *mut HH_WINTYPE,
|
||||
}
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Controls"))]
|
||||
impl ::core::marker::Copy for HHNTRACK {}
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Controls"))]
|
||||
impl ::core::clone::Clone for HHNTRACK {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_UI_Controls\"`"]
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Controls"))]
|
||||
pub struct HHN_NOTIFY {
|
||||
pub hdr: super::super::UI::Controls::NMHDR,
|
||||
pub pszUrl: ::windows_sys::core::PCSTR,
|
||||
}
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Controls"))]
|
||||
impl ::core::marker::Copy for HHN_NOTIFY {}
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Controls"))]
|
||||
impl ::core::clone::Clone for HHN_NOTIFY {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub struct HH_AKLINK {
|
||||
pub cbStruct: i32,
|
||||
pub fReserved: super::super::Foundation::BOOL,
|
||||
pub pszKeywords: *mut i8,
|
||||
pub pszUrl: *mut i8,
|
||||
pub pszMsgText: *mut i8,
|
||||
pub pszMsgTitle: *mut i8,
|
||||
pub pszWindow: *mut i8,
|
||||
pub fIndexOnFail: super::super::Foundation::BOOL,
|
||||
}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::marker::Copy for HH_AKLINK {}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::clone::Clone for HH_AKLINK {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct HH_ENUM_CAT {
|
||||
pub cbStruct: i32,
|
||||
pub pszCatName: ::windows_sys::core::PCSTR,
|
||||
pub pszCatDescription: ::windows_sys::core::PCSTR,
|
||||
}
|
||||
impl ::core::marker::Copy for HH_ENUM_CAT {}
|
||||
impl ::core::clone::Clone for HH_ENUM_CAT {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct HH_ENUM_IT {
|
||||
pub cbStruct: i32,
|
||||
pub iType: i32,
|
||||
pub pszCatName: ::windows_sys::core::PCSTR,
|
||||
pub pszITName: ::windows_sys::core::PCSTR,
|
||||
pub pszITDescription: ::windows_sys::core::PCSTR,
|
||||
}
|
||||
impl ::core::marker::Copy for HH_ENUM_IT {}
|
||||
impl ::core::clone::Clone for HH_ENUM_IT {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub struct HH_FTS_QUERY {
|
||||
pub cbStruct: i32,
|
||||
pub fUniCodeStrings: super::super::Foundation::BOOL,
|
||||
pub pszSearchQuery: *mut i8,
|
||||
pub iProximity: i32,
|
||||
pub fStemmedSearch: super::super::Foundation::BOOL,
|
||||
pub fTitleOnly: super::super::Foundation::BOOL,
|
||||
pub fExecute: super::super::Foundation::BOOL,
|
||||
pub pszWindow: *mut i8,
|
||||
}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::marker::Copy for HH_FTS_QUERY {}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::clone::Clone for HH_FTS_QUERY {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"]
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))]
|
||||
pub struct HH_GLOBAL_PROPERTY {
|
||||
pub id: HH_GPROPID,
|
||||
pub var: super::super::System::Variant::VARIANT,
|
||||
}
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))]
|
||||
impl ::core::marker::Copy for HH_GLOBAL_PROPERTY {}
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant"))]
|
||||
impl ::core::clone::Clone for HH_GLOBAL_PROPERTY {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub struct HH_POPUP {
|
||||
pub cbStruct: i32,
|
||||
pub hinst: super::super::Foundation::HINSTANCE,
|
||||
pub idString: u32,
|
||||
pub pszText: *mut i8,
|
||||
pub pt: super::super::Foundation::POINT,
|
||||
pub clrForeground: super::super::Foundation::COLORREF,
|
||||
pub clrBackground: super::super::Foundation::COLORREF,
|
||||
pub rcMargins: super::super::Foundation::RECT,
|
||||
pub pszFont: *mut i8,
|
||||
}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::marker::Copy for HH_POPUP {}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::clone::Clone for HH_POPUP {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct HH_SET_INFOTYPE {
|
||||
pub cbStruct: i32,
|
||||
pub pszCatName: ::windows_sys::core::PCSTR,
|
||||
pub pszInfoTypeName: ::windows_sys::core::PCSTR,
|
||||
}
|
||||
impl ::core::marker::Copy for HH_SET_INFOTYPE {}
|
||||
impl ::core::clone::Clone for HH_SET_INFOTYPE {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub struct HH_WINTYPE {
|
||||
pub cbStruct: i32,
|
||||
pub fUniCodeStrings: super::super::Foundation::BOOL,
|
||||
pub pszType: *mut i8,
|
||||
pub fsValidMembers: u32,
|
||||
pub fsWinProperties: u32,
|
||||
pub pszCaption: *mut i8,
|
||||
pub dwStyles: u32,
|
||||
pub dwExStyles: u32,
|
||||
pub rcWindowPos: super::super::Foundation::RECT,
|
||||
pub nShowState: i32,
|
||||
pub hwndHelp: super::super::Foundation::HWND,
|
||||
pub hwndCaller: super::super::Foundation::HWND,
|
||||
pub paInfoTypes: *mut u32,
|
||||
pub hwndToolBar: super::super::Foundation::HWND,
|
||||
pub hwndNavigation: super::super::Foundation::HWND,
|
||||
pub hwndHTML: super::super::Foundation::HWND,
|
||||
pub iNavWidth: i32,
|
||||
pub rcHTML: super::super::Foundation::RECT,
|
||||
pub pszToc: *mut i8,
|
||||
pub pszIndex: *mut i8,
|
||||
pub pszFile: *mut i8,
|
||||
pub pszHome: *mut i8,
|
||||
pub fsToolBarFlags: u32,
|
||||
pub fNotExpanded: super::super::Foundation::BOOL,
|
||||
pub curNavType: i32,
|
||||
pub tabpos: i32,
|
||||
pub idNotify: i32,
|
||||
pub tabOrder: [u8; 20],
|
||||
pub cHistory: i32,
|
||||
pub pszJump1: *mut i8,
|
||||
pub pszJump2: *mut i8,
|
||||
pub pszUrlJump1: *mut i8,
|
||||
pub pszUrlJump2: *mut i8,
|
||||
pub rcMinSize: super::super::Foundation::RECT,
|
||||
pub cbInfoTypes: i32,
|
||||
pub pszCustomTabs: *mut i8,
|
||||
}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::marker::Copy for HH_WINTYPE {}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::clone::Clone for HH_WINTYPE {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct ROWSTATUS {
|
||||
pub lRowFirst: i32,
|
||||
pub cRows: i32,
|
||||
pub cProperties: i32,
|
||||
pub cRowsTotal: i32,
|
||||
}
|
||||
impl ::core::marker::Copy for ROWSTATUS {}
|
||||
impl ::core::clone::Clone for ROWSTATUS {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
pub type PFNCOLHEAPFREE = ::core::option::Option<unsafe extern "system" fn(param0: *mut ::core::ffi::c_void) -> i32>;
|
||||
279
third-party/vendor/windows-sys/src/Windows/Win32/Data/RightsManagement/mod.rs
vendored
Normal file
279
third-party/vendor/windows-sys/src/Windows/Win32/Data/RightsManagement/mod.rs
vendored
Normal file
|
|
@ -0,0 +1,279 @@
|
|||
::windows_targets::link!("msdrm.dll" "system" fn DRMAcquireAdvisories(hlicensestorage : u32, wszlicense : ::windows_sys::core::PCWSTR, wszurl : ::windows_sys::core::PCWSTR, pvcontext : *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("msdrm.dll" "system" fn DRMAcquireIssuanceLicenseTemplate(hclient : u32, uflags : u32, pvreserved : *mut ::core::ffi::c_void, ctemplates : u32, pwsztemplateids : *const ::windows_sys::core::PCWSTR, wszurl : ::windows_sys::core::PCWSTR, pvcontext : *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("msdrm.dll" "system" fn DRMAcquireLicense(hsession : u32, uflags : u32, wszgroupidentitycredential : ::windows_sys::core::PCWSTR, wszrequestedrights : ::windows_sys::core::PCWSTR, wszcustomdata : ::windows_sys::core::PCWSTR, wszurl : ::windows_sys::core::PCWSTR, pvcontext : *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("msdrm.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DRMActivate(hclient : u32, uflags : u32, ulangid : u32, pactservinfo : *mut DRM_ACTSERV_INFO, pvcontext : *mut ::core::ffi::c_void, hparentwnd : super::super::Foundation:: HWND) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("msdrm.dll" "system" fn DRMAddLicense(hlicensestorage : u32, uflags : u32, wszlicense : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("msdrm.dll" "system" fn DRMAddRightWithUser(hissuancelicense : u32, hright : u32, huser : u32) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("msdrm.dll" "system" fn DRMAttest(henablingprincipal : u32, wszdata : ::windows_sys::core::PCWSTR, etype : DRMATTESTTYPE, pcattestedblob : *mut u32, wszattestedblob : ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("msdrm.dll" "system" fn DRMCheckSecurity(henv : u32, clevel : u32) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("msdrm.dll" "system" fn DRMClearAllRights(hissuancelicense : u32) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("msdrm.dll" "system" fn DRMCloseEnvironmentHandle(henv : u32) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("msdrm.dll" "system" fn DRMCloseHandle(handle : u32) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("msdrm.dll" "system" fn DRMClosePubHandle(hpub : u32) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("msdrm.dll" "system" fn DRMCloseQueryHandle(hquery : u32) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("msdrm.dll" "system" fn DRMCloseSession(hsession : u32) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("msdrm.dll" "system" fn DRMConstructCertificateChain(ccertificates : u32, rgwszcertificates : *const ::windows_sys::core::PCWSTR, pcchain : *mut u32, wszchain : ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("msdrm.dll" "system" fn DRMCreateBoundLicense(henv : u32, pparams : *mut DRMBOUNDLICENSEPARAMS, wszlicensechain : ::windows_sys::core::PCWSTR, phboundlicense : *mut u32, pherrorlog : *mut u32) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("msdrm.dll" "system" fn DRMCreateClientSession(pfncallback : DRMCALLBACK, ucallbackversion : u32, wszgroupidprovidertype : ::windows_sys::core::PCWSTR, wszgroupid : ::windows_sys::core::PCWSTR, phclient : *mut u32) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("msdrm.dll" "system" fn DRMCreateEnablingBitsDecryptor(hboundlicense : u32, wszright : ::windows_sys::core::PCWSTR, hauxlib : u32, wszauxplug : ::windows_sys::core::PCWSTR, phdecryptor : *mut u32) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("msdrm.dll" "system" fn DRMCreateEnablingBitsEncryptor(hboundlicense : u32, wszright : ::windows_sys::core::PCWSTR, hauxlib : u32, wszauxplug : ::windows_sys::core::PCWSTR, phencryptor : *mut u32) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("msdrm.dll" "system" fn DRMCreateEnablingPrincipal(henv : u32, hlibrary : u32, wszobject : ::windows_sys::core::PCWSTR, pidprincipal : *mut DRMID, wszcredentials : ::windows_sys::core::PCWSTR, phenablingprincipal : *mut u32) -> ::windows_sys::core::HRESULT);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("msdrm.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DRMCreateIssuanceLicense(psttimefrom : *mut super::super::Foundation:: SYSTEMTIME, psttimeuntil : *mut super::super::Foundation:: SYSTEMTIME, wszreferralinfoname : ::windows_sys::core::PCWSTR, wszreferralinfourl : ::windows_sys::core::PCWSTR, howner : u32, wszissuancelicense : ::windows_sys::core::PCWSTR, hboundlicense : u32, phissuancelicense : *mut u32) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("msdrm.dll" "system" fn DRMCreateLicenseStorageSession(henv : u32, hdefaultlibrary : u32, hclient : u32, uflags : u32, wszissuancelicense : ::windows_sys::core::PCWSTR, phlicensestorage : *mut u32) -> ::windows_sys::core::HRESULT);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("msdrm.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DRMCreateRight(wszrightname : ::windows_sys::core::PCWSTR, pstfrom : *mut super::super::Foundation:: SYSTEMTIME, pstuntil : *mut super::super::Foundation:: SYSTEMTIME, cextendedinfo : u32, pwszextendedinfoname : *const ::windows_sys::core::PCWSTR, pwszextendedinfovalue : *const ::windows_sys::core::PCWSTR, phright : *mut u32) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("msdrm.dll" "system" fn DRMCreateUser(wszusername : ::windows_sys::core::PCWSTR, wszuserid : ::windows_sys::core::PCWSTR, wszuseridtype : ::windows_sys::core::PCWSTR, phuser : *mut u32) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("msdrm.dll" "system" fn DRMDecode(wszalgid : ::windows_sys::core::PCWSTR, wszencodedstring : ::windows_sys::core::PCWSTR, pudecodeddatalen : *mut u32, pbdecodeddata : *mut u8) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("msdrm.dll" "system" fn DRMDeconstructCertificateChain(wszchain : ::windows_sys::core::PCWSTR, iwhich : u32, pccert : *mut u32, wszcert : ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("msdrm.dll" "system" fn DRMDecrypt(hcryptoprovider : u32, iposition : u32, cnuminbytes : u32, pbindata : *mut u8, pcnumoutbytes : *mut u32, pboutdata : *mut u8) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("msdrm.dll" "system" fn DRMDeleteLicense(hsession : u32, wszlicenseid : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("msdrm.dll" "system" fn DRMDuplicateEnvironmentHandle(htocopy : u32, phcopy : *mut u32) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("msdrm.dll" "system" fn DRMDuplicateHandle(htocopy : u32, phcopy : *mut u32) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("msdrm.dll" "system" fn DRMDuplicatePubHandle(hpubin : u32, phpubout : *mut u32) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("msdrm.dll" "system" fn DRMDuplicateSession(hsessionin : u32, phsessionout : *mut u32) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("msdrm.dll" "system" fn DRMEncode(wszalgid : ::windows_sys::core::PCWSTR, udatalen : u32, pbdecodeddata : *mut u8, puencodedstringlen : *mut u32, wszencodedstring : ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("msdrm.dll" "system" fn DRMEncrypt(hcryptoprovider : u32, iposition : u32, cnuminbytes : u32, pbindata : *mut u8, pcnumoutbytes : *mut u32, pboutdata : *mut u8) -> ::windows_sys::core::HRESULT);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("msdrm.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DRMEnumerateLicense(hsession : u32, uflags : u32, uindex : u32, pfsharedflag : *mut super::super::Foundation:: BOOL, pucertificatedatalen : *mut u32, wszcertificatedata : ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("msdrm.dll" "system" fn DRMGetApplicationSpecificData(hissuancelicense : u32, uindex : u32, punamelength : *mut u32, wszname : ::windows_sys::core::PWSTR, puvaluelength : *mut u32, wszvalue : ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("msdrm.dll" "system" fn DRMGetBoundLicenseAttribute(hqueryroot : u32, wszattribute : ::windows_sys::core::PCWSTR, iwhich : u32, peencoding : *mut DRMENCODINGTYPE, pcbuffer : *mut u32, pbbuffer : *mut u8) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("msdrm.dll" "system" fn DRMGetBoundLicenseAttributeCount(hqueryroot : u32, wszattribute : ::windows_sys::core::PCWSTR, pcattributes : *mut u32) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("msdrm.dll" "system" fn DRMGetBoundLicenseObject(hqueryroot : u32, wszsubobjecttype : ::windows_sys::core::PCWSTR, iwhich : u32, phsubobject : *mut u32) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("msdrm.dll" "system" fn DRMGetBoundLicenseObjectCount(hqueryroot : u32, wszsubobjecttype : ::windows_sys::core::PCWSTR, pcsubobjects : *mut u32) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("msdrm.dll" "system" fn DRMGetCertificateChainCount(wszchain : ::windows_sys::core::PCWSTR, pccertcount : *mut u32) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("msdrm.dll" "system" fn DRMGetClientVersion(pdrmclientversioninfo : *mut DRM_CLIENT_VERSION_INFO) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("msdrm.dll" "system" fn DRMGetEnvironmentInfo(handle : u32, wszattribute : ::windows_sys::core::PCWSTR, peencoding : *mut DRMENCODINGTYPE, pcbuffer : *mut u32, pbbuffer : *mut u8) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("msdrm.dll" "system" fn DRMGetInfo(handle : u32, wszattribute : ::windows_sys::core::PCWSTR, peencoding : *const DRMENCODINGTYPE, pcbuffer : *mut u32, pbbuffer : *mut u8) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("msdrm.dll" "system" fn DRMGetIntervalTime(hissuancelicense : u32, pcdays : *mut u32) -> ::windows_sys::core::HRESULT);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("msdrm.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DRMGetIssuanceLicenseInfo(hissuancelicense : u32, psttimefrom : *mut super::super::Foundation:: SYSTEMTIME, psttimeuntil : *mut super::super::Foundation:: SYSTEMTIME, uflags : u32, pudistributionpointnamelength : *mut u32, wszdistributionpointname : ::windows_sys::core::PWSTR, pudistributionpointurllength : *mut u32, wszdistributionpointurl : ::windows_sys::core::PWSTR, phowner : *mut u32, pfofficial : *mut super::super::Foundation:: BOOL) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("msdrm.dll" "system" fn DRMGetIssuanceLicenseTemplate(hissuancelicense : u32, puissuancelicensetemplatelength : *mut u32, wszissuancelicensetemplate : ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("msdrm.dll" "system" fn DRMGetMetaData(hissuancelicense : u32, pucontentidlength : *mut u32, wszcontentid : ::windows_sys::core::PWSTR, pucontentidtypelength : *mut u32, wszcontentidtype : ::windows_sys::core::PWSTR, puskuidlength : *mut u32, wszskuid : ::windows_sys::core::PWSTR, puskuidtypelength : *mut u32, wszskuidtype : ::windows_sys::core::PWSTR, pucontenttypelength : *mut u32, wszcontenttype : ::windows_sys::core::PWSTR, pucontentnamelength : *mut u32, wszcontentname : ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("msdrm.dll" "system" fn DRMGetNameAndDescription(hissuancelicense : u32, uindex : u32, pulcid : *mut u32, punamelength : *mut u32, wszname : ::windows_sys::core::PWSTR, pudescriptionlength : *mut u32, wszdescription : ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("msdrm.dll" "system" fn DRMGetOwnerLicense(hissuancelicense : u32, puownerlicenselength : *mut u32, wszownerlicense : ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("msdrm.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DRMGetProcAddress(hlibrary : u32, wszprocname : ::windows_sys::core::PCWSTR, ppfnprocaddress : *mut super::super::Foundation:: FARPROC) -> ::windows_sys::core::HRESULT);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("msdrm.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DRMGetRevocationPoint(hissuancelicense : u32, puidlength : *mut u32, wszid : ::windows_sys::core::PWSTR, puidtypelength : *mut u32, wszidtype : ::windows_sys::core::PWSTR, puurllength : *mut u32, wszrl : ::windows_sys::core::PWSTR, pstfrequency : *mut super::super::Foundation:: SYSTEMTIME, punamelength : *mut u32, wszname : ::windows_sys::core::PWSTR, pupublickeylength : *mut u32, wszpublickey : ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("msdrm.dll" "system" fn DRMGetRightExtendedInfo(hright : u32, uindex : u32, puextendedinfonamelength : *mut u32, wszextendedinfoname : ::windows_sys::core::PWSTR, puextendedinfovaluelength : *mut u32, wszextendedinfovalue : ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("msdrm.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DRMGetRightInfo(hright : u32, purightnamelength : *mut u32, wszrightname : ::windows_sys::core::PWSTR, pstfrom : *mut super::super::Foundation:: SYSTEMTIME, pstuntil : *mut super::super::Foundation:: SYSTEMTIME) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("msdrm.dll" "system" fn DRMGetSecurityProvider(uflags : u32, putypelen : *mut u32, wsztype : ::windows_sys::core::PWSTR, pupathlen : *mut u32, wszpath : ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("msdrm.dll" "system" fn DRMGetServiceLocation(hclient : u32, uservicetype : u32, uservicelocation : u32, wszissuancelicense : ::windows_sys::core::PCWSTR, puserviceurllength : *mut u32, wszserviceurl : ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("msdrm.dll" "system" fn DRMGetSignedIssuanceLicense(henv : u32, hissuancelicense : u32, uflags : u32, pbsymkey : *mut u8, cbsymkey : u32, wszsymkeytype : ::windows_sys::core::PCWSTR, wszclientlicensorcertificate : ::windows_sys::core::PCWSTR, pfncallback : DRMCALLBACK, wszurl : ::windows_sys::core::PCWSTR, pvcontext : *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("msdrm.dll" "system" fn DRMGetSignedIssuanceLicenseEx(henv : u32, hissuancelicense : u32, uflags : u32, pbsymkey : *const u8, cbsymkey : u32, wszsymkeytype : ::windows_sys::core::PCWSTR, pvreserved : *const ::core::ffi::c_void, henablingprincipal : u32, hboundlicenseclc : u32, pfncallback : DRMCALLBACK, pvcontext : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("msdrm.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DRMGetTime(henv : u32, etimeridtype : DRMTIMETYPE, potimeobject : *mut super::super::Foundation:: SYSTEMTIME) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("msdrm.dll" "system" fn DRMGetUnboundLicenseAttribute(hqueryroot : u32, wszattributetype : ::windows_sys::core::PCWSTR, iwhich : u32, peencoding : *mut DRMENCODINGTYPE, pcbuffer : *mut u32, pbbuffer : *mut u8) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("msdrm.dll" "system" fn DRMGetUnboundLicenseAttributeCount(hqueryroot : u32, wszattributetype : ::windows_sys::core::PCWSTR, pcattributes : *mut u32) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("msdrm.dll" "system" fn DRMGetUnboundLicenseObject(hqueryroot : u32, wszsubobjecttype : ::windows_sys::core::PCWSTR, iindex : u32, phsubquery : *mut u32) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("msdrm.dll" "system" fn DRMGetUnboundLicenseObjectCount(hqueryroot : u32, wszsubobjecttype : ::windows_sys::core::PCWSTR, pcsubobjects : *mut u32) -> ::windows_sys::core::HRESULT);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("msdrm.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DRMGetUsagePolicy(hissuancelicense : u32, uindex : u32, peusagepolicytype : *mut DRM_USAGEPOLICY_TYPE, pfexclusion : *mut super::super::Foundation:: BOOL, punamelength : *mut u32, wszname : ::windows_sys::core::PWSTR, puminversionlength : *mut u32, wszminversion : ::windows_sys::core::PWSTR, pumaxversionlength : *mut u32, wszmaxversion : ::windows_sys::core::PWSTR, pupublickeylength : *mut u32, wszpublickey : ::windows_sys::core::PWSTR, pudigestalgorithmlength : *mut u32, wszdigestalgorithm : ::windows_sys::core::PWSTR, pcbdigest : *mut u32, pbdigest : *mut u8) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("msdrm.dll" "system" fn DRMGetUserInfo(huser : u32, puusernamelength : *mut u32, wszusername : ::windows_sys::core::PWSTR, puuseridlength : *mut u32, wszuserid : ::windows_sys::core::PWSTR, puuseridtypelength : *mut u32, wszuseridtype : ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("msdrm.dll" "system" fn DRMGetUserRights(hissuancelicense : u32, huser : u32, uindex : u32, phright : *mut u32) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("msdrm.dll" "system" fn DRMGetUsers(hissuancelicense : u32, uindex : u32, phuser : *mut u32) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("msdrm.dll" "system" fn DRMInitEnvironment(esecurityprovidertype : DRMSECURITYPROVIDERTYPE, especification : DRMSPECTYPE, wszsecurityprovider : ::windows_sys::core::PCWSTR, wszmanifestcredentials : ::windows_sys::core::PCWSTR, wszmachinecredentials : ::windows_sys::core::PCWSTR, phenv : *mut u32, phdefaultlibrary : *mut u32) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("msdrm.dll" "system" fn DRMIsActivated(hclient : u32, uflags : u32, pactservinfo : *mut DRM_ACTSERV_INFO) -> ::windows_sys::core::HRESULT);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("msdrm.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DRMIsWindowProtected(hwnd : super::super::Foundation:: HWND, pfprotected : *mut super::super::Foundation:: BOOL) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("msdrm.dll" "system" fn DRMLoadLibrary(henv : u32, especification : DRMSPECTYPE, wszlibraryprovider : ::windows_sys::core::PCWSTR, wszcredentials : ::windows_sys::core::PCWSTR, phlibrary : *mut u32) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("msdrm.dll" "system" fn DRMParseUnboundLicense(wszcertificate : ::windows_sys::core::PCWSTR, phqueryroot : *mut u32) -> ::windows_sys::core::HRESULT);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("msdrm.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DRMRegisterContent(fregister : super::super::Foundation:: BOOL) -> ::windows_sys::core::HRESULT);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("msdrm.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DRMRegisterProtectedWindow(henv : u32, hwnd : super::super::Foundation:: HWND) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("msdrm.dll" "system" fn DRMRegisterRevocationList(henv : u32, wszrevocationlist : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("msdrm.dll" "system" fn DRMRepair() -> ::windows_sys::core::HRESULT);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("msdrm.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DRMSetApplicationSpecificData(hissuancelicense : u32, fdelete : super::super::Foundation:: BOOL, wszname : ::windows_sys::core::PCWSTR, wszvalue : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("msdrm.dll" "system" fn DRMSetGlobalOptions(eglobaloptions : DRMGLOBALOPTIONS, pvdata : *mut ::core::ffi::c_void, dwlen : u32) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("msdrm.dll" "system" fn DRMSetIntervalTime(hissuancelicense : u32, cdays : u32) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("msdrm.dll" "system" fn DRMSetMetaData(hissuancelicense : u32, wszcontentid : ::windows_sys::core::PCWSTR, wszcontentidtype : ::windows_sys::core::PCWSTR, wszskuid : ::windows_sys::core::PCWSTR, wszskuidtype : ::windows_sys::core::PCWSTR, wszcontenttype : ::windows_sys::core::PCWSTR, wszcontentname : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("msdrm.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DRMSetNameAndDescription(hissuancelicense : u32, fdelete : super::super::Foundation:: BOOL, lcid : u32, wszname : ::windows_sys::core::PCWSTR, wszdescription : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("msdrm.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DRMSetRevocationPoint(hissuancelicense : u32, fdelete : super::super::Foundation:: BOOL, wszid : ::windows_sys::core::PCWSTR, wszidtype : ::windows_sys::core::PCWSTR, wszurl : ::windows_sys::core::PCWSTR, pstfrequency : *mut super::super::Foundation:: SYSTEMTIME, wszname : ::windows_sys::core::PCWSTR, wszpublickey : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("msdrm.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DRMSetUsagePolicy(hissuancelicense : u32, eusagepolicytype : DRM_USAGEPOLICY_TYPE, fdelete : super::super::Foundation:: BOOL, fexclusion : super::super::Foundation:: BOOL, wszname : ::windows_sys::core::PCWSTR, wszminversion : ::windows_sys::core::PCWSTR, wszmaxversion : ::windows_sys::core::PCWSTR, wszpublickey : ::windows_sys::core::PCWSTR, wszdigestalgorithm : ::windows_sys::core::PCWSTR, pbdigest : *mut u8, cbdigest : u32) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("msdrm.dll" "system" fn DRMVerify(wszdata : ::windows_sys::core::PCWSTR, pcattesteddata : *mut u32, wszattesteddata : ::windows_sys::core::PWSTR, petype : *mut DRMATTESTTYPE, pcprincipal : *mut u32, wszprincipal : ::windows_sys::core::PWSTR, pcmanifest : *mut u32, wszmanifest : ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT);
|
||||
pub const DRMACTSERVINFOVERSION: u32 = 0u32;
|
||||
pub const DRMATTESTTYPE_FULLENVIRONMENT: DRMATTESTTYPE = 0i32;
|
||||
pub const DRMATTESTTYPE_HASHONLY: DRMATTESTTYPE = 1i32;
|
||||
pub const DRMBINDINGFLAGS_IGNORE_VALIDITY_INTERVALS: u32 = 1u32;
|
||||
pub const DRMBOUNDLICENSEPARAMSVERSION: u32 = 1u32;
|
||||
pub const DRMCALLBACKVERSION: u32 = 1u32;
|
||||
pub const DRMCLIENTSTRUCTVERSION: u32 = 1u32;
|
||||
pub const DRMENCODINGTYPE_BASE64: DRMENCODINGTYPE = 0i32;
|
||||
pub const DRMENCODINGTYPE_LONG: DRMENCODINGTYPE = 2i32;
|
||||
pub const DRMENCODINGTYPE_RAW: DRMENCODINGTYPE = 5i32;
|
||||
pub const DRMENCODINGTYPE_STRING: DRMENCODINGTYPE = 1i32;
|
||||
pub const DRMENCODINGTYPE_TIME: DRMENCODINGTYPE = 3i32;
|
||||
pub const DRMENCODINGTYPE_UINT: DRMENCODINGTYPE = 4i32;
|
||||
pub const DRMENVHANDLE_INVALID: u32 = 0u32;
|
||||
pub const DRMGLOBALOPTIONS_USE_SERVERSECURITYPROCESSOR: DRMGLOBALOPTIONS = 1i32;
|
||||
pub const DRMGLOBALOPTIONS_USE_WINHTTP: DRMGLOBALOPTIONS = 0i32;
|
||||
pub const DRMHANDLE_INVALID: u32 = 0u32;
|
||||
pub const DRMHSESSION_INVALID: u32 = 0u32;
|
||||
pub const DRMIDVERSION: u32 = 0u32;
|
||||
pub const DRMLICENSEACQDATAVERSION: u32 = 0u32;
|
||||
pub const DRMPUBHANDLE_INVALID: u32 = 0u32;
|
||||
pub const DRMQUERYHANDLE_INVALID: u32 = 0u32;
|
||||
pub const DRMSECURITYPROVIDERTYPE_SOFTWARESECREP: DRMSECURITYPROVIDERTYPE = 0i32;
|
||||
pub const DRMSPECTYPE_FILENAME: DRMSPECTYPE = 1i32;
|
||||
pub const DRMSPECTYPE_UNKNOWN: DRMSPECTYPE = 0i32;
|
||||
pub const DRMTIMETYPE_SYSTEMLOCAL: DRMTIMETYPE = 1i32;
|
||||
pub const DRMTIMETYPE_SYSTEMUTC: DRMTIMETYPE = 0i32;
|
||||
pub const DRM_ACTIVATE_CANCEL: u32 = 8u32;
|
||||
pub const DRM_ACTIVATE_DELAYED: u32 = 64u32;
|
||||
pub const DRM_ACTIVATE_GROUPIDENTITY: u32 = 2u32;
|
||||
pub const DRM_ACTIVATE_MACHINE: u32 = 1u32;
|
||||
pub const DRM_ACTIVATE_SHARED_GROUPIDENTITY: u32 = 32u32;
|
||||
pub const DRM_ACTIVATE_SILENT: u32 = 16u32;
|
||||
pub const DRM_ACTIVATE_TEMPORARY: u32 = 4u32;
|
||||
pub const DRM_ADD_LICENSE_NOPERSIST: u32 = 0u32;
|
||||
pub const DRM_ADD_LICENSE_PERSIST: u32 = 1u32;
|
||||
pub const DRM_AILT_CANCEL: u32 = 4u32;
|
||||
pub const DRM_AILT_NONSILENT: u32 = 1u32;
|
||||
pub const DRM_AILT_OBTAIN_ALL: u32 = 2u32;
|
||||
pub const DRM_AL_CANCEL: u32 = 4u32;
|
||||
pub const DRM_AL_FETCHNOADVISORY: u32 = 8u32;
|
||||
pub const DRM_AL_NONSILENT: u32 = 1u32;
|
||||
pub const DRM_AL_NOPERSIST: u32 = 2u32;
|
||||
pub const DRM_AL_NOUI: u32 = 16u32;
|
||||
pub const DRM_AUTO_GENERATE_KEY: u32 = 16u32;
|
||||
pub const DRM_DEFAULTGROUPIDTYPE_PASSPORT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PassportAuthProvider");
|
||||
pub const DRM_DEFAULTGROUPIDTYPE_WINDOWSAUTH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("WindowsAuthProvider");
|
||||
pub const DRM_DISTRIBUTION_POINT_LICENSE_ACQUISITION: DRM_DISTRIBUTION_POINT_INFO = 0i32;
|
||||
pub const DRM_DISTRIBUTION_POINT_PUBLISHING: DRM_DISTRIBUTION_POINT_INFO = 1i32;
|
||||
pub const DRM_DISTRIBUTION_POINT_REFERRAL_INFO: DRM_DISTRIBUTION_POINT_INFO = 2i32;
|
||||
pub const DRM_EL_CLIENTLICENSOR: u32 = 128u32;
|
||||
pub const DRM_EL_CLIENTLICENSOR_LID: u32 = 256u32;
|
||||
pub const DRM_EL_EUL: u32 = 32u32;
|
||||
pub const DRM_EL_EUL_LID: u32 = 64u32;
|
||||
pub const DRM_EL_EXPIRED: u32 = 4096u32;
|
||||
pub const DRM_EL_GROUPIDENTITY: u32 = 2u32;
|
||||
pub const DRM_EL_GROUPIDENTITY_LID: u32 = 8u32;
|
||||
pub const DRM_EL_GROUPIDENTITY_NAME: u32 = 4u32;
|
||||
pub const DRM_EL_ISSUANCELICENSE_TEMPLATE: u32 = 16384u32;
|
||||
pub const DRM_EL_ISSUANCELICENSE_TEMPLATE_LID: u32 = 32768u32;
|
||||
pub const DRM_EL_ISSUERNAME: u32 = 8192u32;
|
||||
pub const DRM_EL_MACHINE: u32 = 1u32;
|
||||
pub const DRM_EL_REVOCATIONLIST: u32 = 1024u32;
|
||||
pub const DRM_EL_REVOCATIONLIST_LID: u32 = 2048u32;
|
||||
pub const DRM_EL_SPECIFIED_CLIENTLICENSOR: u32 = 512u32;
|
||||
pub const DRM_EL_SPECIFIED_GROUPIDENTITY: u32 = 16u32;
|
||||
pub const DRM_LOCKBOXTYPE_BLACKBOX: u32 = 2u32;
|
||||
pub const DRM_LOCKBOXTYPE_DEFAULT: u32 = 2u32;
|
||||
pub const DRM_LOCKBOXTYPE_NONE: u32 = 0u32;
|
||||
pub const DRM_LOCKBOXTYPE_WHITEBOX: u32 = 1u32;
|
||||
pub const DRM_MSG_ACQUIRE_ADVISORY: DRM_STATUS_MSG = 3i32;
|
||||
pub const DRM_MSG_ACQUIRE_CLIENTLICENSOR: DRM_STATUS_MSG = 5i32;
|
||||
pub const DRM_MSG_ACQUIRE_ISSUANCE_LICENSE_TEMPLATE: DRM_STATUS_MSG = 6i32;
|
||||
pub const DRM_MSG_ACQUIRE_LICENSE: DRM_STATUS_MSG = 2i32;
|
||||
pub const DRM_MSG_ACTIVATE_GROUPIDENTITY: DRM_STATUS_MSG = 1i32;
|
||||
pub const DRM_MSG_ACTIVATE_MACHINE: DRM_STATUS_MSG = 0i32;
|
||||
pub const DRM_MSG_SIGN_ISSUANCE_LICENSE: DRM_STATUS_MSG = 4i32;
|
||||
pub const DRM_OWNER_LICENSE_NOPERSIST: u32 = 32u32;
|
||||
pub const DRM_REUSE_KEY: u32 = 64u32;
|
||||
pub const DRM_SERVER_ISSUANCELICENSE: u32 = 8u32;
|
||||
pub const DRM_SERVICE_LOCATION_ENTERPRISE: u32 = 2u32;
|
||||
pub const DRM_SERVICE_LOCATION_INTERNET: u32 = 1u32;
|
||||
pub const DRM_SERVICE_TYPE_ACTIVATION: u32 = 1u32;
|
||||
pub const DRM_SERVICE_TYPE_CERTIFICATION: u32 = 2u32;
|
||||
pub const DRM_SERVICE_TYPE_CLIENTLICENSOR: u32 = 8u32;
|
||||
pub const DRM_SERVICE_TYPE_PUBLISHING: u32 = 4u32;
|
||||
pub const DRM_SERVICE_TYPE_SILENT: u32 = 16u32;
|
||||
pub const DRM_SIGN_CANCEL: u32 = 4u32;
|
||||
pub const DRM_SIGN_OFFLINE: u32 = 2u32;
|
||||
pub const DRM_SIGN_ONLINE: u32 = 1u32;
|
||||
pub const DRM_USAGEPOLICY_TYPE_BYDIGEST: DRM_USAGEPOLICY_TYPE = 2i32;
|
||||
pub const DRM_USAGEPOLICY_TYPE_BYNAME: DRM_USAGEPOLICY_TYPE = 0i32;
|
||||
pub const DRM_USAGEPOLICY_TYPE_BYPUBLICKEY: DRM_USAGEPOLICY_TYPE = 1i32;
|
||||
pub const DRM_USAGEPOLICY_TYPE_OSEXCLUSION: DRM_USAGEPOLICY_TYPE = 3i32;
|
||||
pub const MSDRM_CLIENT_ZONE: u32 = 52992u32;
|
||||
pub const MSDRM_POLICY_ZONE: u32 = 37632u32;
|
||||
pub type DRMATTESTTYPE = i32;
|
||||
pub type DRMENCODINGTYPE = i32;
|
||||
pub type DRMGLOBALOPTIONS = i32;
|
||||
pub type DRMSECURITYPROVIDERTYPE = i32;
|
||||
pub type DRMSPECTYPE = i32;
|
||||
pub type DRMTIMETYPE = i32;
|
||||
pub type DRM_DISTRIBUTION_POINT_INFO = i32;
|
||||
pub type DRM_STATUS_MSG = i32;
|
||||
pub type DRM_USAGEPOLICY_TYPE = i32;
|
||||
#[repr(C)]
|
||||
pub struct DRMBOUNDLICENSEPARAMS {
|
||||
pub uVersion: u32,
|
||||
pub hEnablingPrincipal: u32,
|
||||
pub hSecureStore: u32,
|
||||
pub wszRightsRequested: ::windows_sys::core::PWSTR,
|
||||
pub wszRightsGroup: ::windows_sys::core::PWSTR,
|
||||
pub idResource: DRMID,
|
||||
pub cAuthenticatorCount: u32,
|
||||
pub rghAuthenticators: *mut u32,
|
||||
pub wszDefaultEnablingPrincipalCredentials: ::windows_sys::core::PWSTR,
|
||||
pub dwFlags: u32,
|
||||
}
|
||||
impl ::core::marker::Copy for DRMBOUNDLICENSEPARAMS {}
|
||||
impl ::core::clone::Clone for DRMBOUNDLICENSEPARAMS {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct DRMID {
|
||||
pub uVersion: u32,
|
||||
pub wszIDType: ::windows_sys::core::PWSTR,
|
||||
pub wszID: ::windows_sys::core::PWSTR,
|
||||
}
|
||||
impl ::core::marker::Copy for DRMID {}
|
||||
impl ::core::clone::Clone for DRMID {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct DRM_ACTSERV_INFO {
|
||||
pub uVersion: u32,
|
||||
pub wszPubKey: ::windows_sys::core::PWSTR,
|
||||
pub wszURL: ::windows_sys::core::PWSTR,
|
||||
}
|
||||
impl ::core::marker::Copy for DRM_ACTSERV_INFO {}
|
||||
impl ::core::clone::Clone for DRM_ACTSERV_INFO {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct DRM_CLIENT_VERSION_INFO {
|
||||
pub uStructVersion: u32,
|
||||
pub dwVersion: [u32; 4],
|
||||
pub wszHierarchy: [u16; 256],
|
||||
pub wszProductId: [u16; 256],
|
||||
pub wszProductDescription: [u16; 256],
|
||||
}
|
||||
impl ::core::marker::Copy for DRM_CLIENT_VERSION_INFO {}
|
||||
impl ::core::clone::Clone for DRM_CLIENT_VERSION_INFO {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct DRM_LICENSE_ACQ_DATA {
|
||||
pub uVersion: u32,
|
||||
pub wszURL: ::windows_sys::core::PWSTR,
|
||||
pub wszLocalFilename: ::windows_sys::core::PWSTR,
|
||||
pub pbPostData: *mut u8,
|
||||
pub dwPostDataSize: u32,
|
||||
pub wszFriendlyName: ::windows_sys::core::PWSTR,
|
||||
}
|
||||
impl ::core::marker::Copy for DRM_LICENSE_ACQ_DATA {}
|
||||
impl ::core::clone::Clone for DRM_LICENSE_ACQ_DATA {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
pub type DRMCALLBACK = ::core::option::Option<unsafe extern "system" fn(param0: DRM_STATUS_MSG, param1: ::windows_sys::core::HRESULT, param2: *mut ::core::ffi::c_void, param3: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT>;
|
||||
6
third-party/vendor/windows-sys/src/Windows/Win32/Data/mod.rs
vendored
Normal file
6
third-party/vendor/windows-sys/src/Windows/Win32/Data/mod.rs
vendored
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
#[cfg(feature = "Win32_Data_HtmlHelp")]
|
||||
#[doc = "Required features: `\"Win32_Data_HtmlHelp\"`"]
|
||||
pub mod HtmlHelp;
|
||||
#[cfg(feature = "Win32_Data_RightsManagement")]
|
||||
#[doc = "Required features: `\"Win32_Data_RightsManagement\"`"]
|
||||
pub mod RightsManagement;
|
||||
1380
third-party/vendor/windows-sys/src/Windows/Win32/Devices/AllJoyn/mod.rs
vendored
Normal file
1380
third-party/vendor/windows-sys/src/Windows/Win32/Devices/AllJoyn/mod.rs
vendored
Normal file
File diff suppressed because it is too large
Load diff
2356
third-party/vendor/windows-sys/src/Windows/Win32/Devices/BiometricFramework/mod.rs
vendored
Normal file
2356
third-party/vendor/windows-sys/src/Windows/Win32/Devices/BiometricFramework/mod.rs
vendored
Normal file
File diff suppressed because it is too large
Load diff
1850
third-party/vendor/windows-sys/src/Windows/Win32/Devices/Bluetooth/mod.rs
vendored
Normal file
1850
third-party/vendor/windows-sys/src/Windows/Win32/Devices/Bluetooth/mod.rs
vendored
Normal file
File diff suppressed because it is too large
Load diff
375
third-party/vendor/windows-sys/src/Windows/Win32/Devices/Communication/mod.rs
vendored
Normal file
375
third-party/vendor/windows-sys/src/Windows/Win32/Devices/Communication/mod.rs
vendored
Normal file
|
|
@ -0,0 +1,375 @@
|
|||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BuildCommDCBA(lpdef : ::windows_sys::core::PCSTR, lpdcb : *mut DCB) -> super::super::Foundation:: BOOL);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BuildCommDCBAndTimeoutsA(lpdef : ::windows_sys::core::PCSTR, lpdcb : *mut DCB, lpcommtimeouts : *mut COMMTIMEOUTS) -> super::super::Foundation:: BOOL);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BuildCommDCBAndTimeoutsW(lpdef : ::windows_sys::core::PCWSTR, lpdcb : *mut DCB, lpcommtimeouts : *mut COMMTIMEOUTS) -> super::super::Foundation:: BOOL);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BuildCommDCBW(lpdef : ::windows_sys::core::PCWSTR, lpdcb : *mut DCB) -> super::super::Foundation:: BOOL);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ClearCommBreak(hfile : super::super::Foundation:: HANDLE) -> super::super::Foundation:: BOOL);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ClearCommError(hfile : super::super::Foundation:: HANDLE, lperrors : *mut CLEAR_COMM_ERROR_FLAGS, lpstat : *mut COMSTAT) -> super::super::Foundation:: BOOL);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CommConfigDialogA(lpszname : ::windows_sys::core::PCSTR, hwnd : super::super::Foundation:: HWND, lpcc : *mut COMMCONFIG) -> super::super::Foundation:: BOOL);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CommConfigDialogW(lpszname : ::windows_sys::core::PCWSTR, hwnd : super::super::Foundation:: HWND, lpcc : *mut COMMCONFIG) -> super::super::Foundation:: BOOL);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn EscapeCommFunction(hfile : super::super::Foundation:: HANDLE, dwfunc : ESCAPE_COMM_FUNCTION) -> super::super::Foundation:: BOOL);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetCommConfig(hcommdev : super::super::Foundation:: HANDLE, lpcc : *mut COMMCONFIG, lpdwsize : *mut u32) -> super::super::Foundation:: BOOL);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetCommMask(hfile : super::super::Foundation:: HANDLE, lpevtmask : *mut COMM_EVENT_MASK) -> super::super::Foundation:: BOOL);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetCommModemStatus(hfile : super::super::Foundation:: HANDLE, lpmodemstat : *mut MODEM_STATUS_FLAGS) -> super::super::Foundation:: BOOL);
|
||||
::windows_targets::link!("api-ms-win-core-comm-l1-1-2.dll" "system" fn GetCommPorts(lpportnumbers : *mut u32, uportnumberscount : u32, puportnumbersfound : *mut u32) -> u32);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetCommProperties(hfile : super::super::Foundation:: HANDLE, lpcommprop : *mut COMMPROP) -> super::super::Foundation:: BOOL);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetCommState(hfile : super::super::Foundation:: HANDLE, lpdcb : *mut DCB) -> super::super::Foundation:: BOOL);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetCommTimeouts(hfile : super::super::Foundation:: HANDLE, lpcommtimeouts : *mut COMMTIMEOUTS) -> super::super::Foundation:: BOOL);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetDefaultCommConfigA(lpszname : ::windows_sys::core::PCSTR, lpcc : *mut COMMCONFIG, lpdwsize : *mut u32) -> super::super::Foundation:: BOOL);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetDefaultCommConfigW(lpszname : ::windows_sys::core::PCWSTR, lpcc : *mut COMMCONFIG, lpdwsize : *mut u32) -> super::super::Foundation:: BOOL);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("api-ms-win-core-comm-l1-1-1.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn OpenCommPort(uportnumber : u32, dwdesiredaccess : u32, dwflagsandattributes : u32) -> super::super::Foundation:: HANDLE);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PurgeComm(hfile : super::super::Foundation:: HANDLE, dwflags : PURGE_COMM_FLAGS) -> super::super::Foundation:: BOOL);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetCommBreak(hfile : super::super::Foundation:: HANDLE) -> super::super::Foundation:: BOOL);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetCommConfig(hcommdev : super::super::Foundation:: HANDLE, lpcc : *const COMMCONFIG, dwsize : u32) -> super::super::Foundation:: BOOL);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetCommMask(hfile : super::super::Foundation:: HANDLE, dwevtmask : COMM_EVENT_MASK) -> super::super::Foundation:: BOOL);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetCommState(hfile : super::super::Foundation:: HANDLE, lpdcb : *const DCB) -> super::super::Foundation:: BOOL);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetCommTimeouts(hfile : super::super::Foundation:: HANDLE, lpcommtimeouts : *const COMMTIMEOUTS) -> super::super::Foundation:: BOOL);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetDefaultCommConfigA(lpszname : ::windows_sys::core::PCSTR, lpcc : *const COMMCONFIG, dwsize : u32) -> super::super::Foundation:: BOOL);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetDefaultCommConfigW(lpszname : ::windows_sys::core::PCWSTR, lpcc : *const COMMCONFIG, dwsize : u32) -> super::super::Foundation:: BOOL);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetupComm(hfile : super::super::Foundation:: HANDLE, dwinqueue : u32, dwoutqueue : u32) -> super::super::Foundation:: BOOL);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn TransmitCommChar(hfile : super::super::Foundation:: HANDLE, cchar : u8) -> super::super::Foundation:: BOOL);
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))]
|
||||
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"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;
|
||||
pub const CE_FRAME: CLEAR_COMM_ERROR_FLAGS = 8u32;
|
||||
pub const CE_OVERRUN: CLEAR_COMM_ERROR_FLAGS = 2u32;
|
||||
pub const CE_RXOVER: CLEAR_COMM_ERROR_FLAGS = 1u32;
|
||||
pub const CE_RXPARITY: CLEAR_COMM_ERROR_FLAGS = 4u32;
|
||||
pub const CLRBREAK: ESCAPE_COMM_FUNCTION = 9u32;
|
||||
pub const CLRDTR: ESCAPE_COMM_FUNCTION = 6u32;
|
||||
pub const CLRRTS: ESCAPE_COMM_FUNCTION = 4u32;
|
||||
pub const DIALOPTION_BILLING: MODEMDEVCAPS_DIAL_OPTIONS = 64u32;
|
||||
pub const DIALOPTION_DIALTONE: MODEMDEVCAPS_DIAL_OPTIONS = 256u32;
|
||||
pub const DIALOPTION_QUIET: MODEMDEVCAPS_DIAL_OPTIONS = 128u32;
|
||||
pub const EVENPARITY: DCB_PARITY = 2u8;
|
||||
pub const EV_BREAK: COMM_EVENT_MASK = 64u32;
|
||||
pub const EV_CTS: COMM_EVENT_MASK = 8u32;
|
||||
pub const EV_DSR: COMM_EVENT_MASK = 16u32;
|
||||
pub const EV_ERR: COMM_EVENT_MASK = 128u32;
|
||||
pub const EV_EVENT1: COMM_EVENT_MASK = 2048u32;
|
||||
pub const EV_EVENT2: COMM_EVENT_MASK = 4096u32;
|
||||
pub const EV_PERR: COMM_EVENT_MASK = 512u32;
|
||||
pub const EV_RING: COMM_EVENT_MASK = 256u32;
|
||||
pub const EV_RLSD: COMM_EVENT_MASK = 32u32;
|
||||
pub const EV_RX80FULL: COMM_EVENT_MASK = 1024u32;
|
||||
pub const EV_RXCHAR: COMM_EVENT_MASK = 1u32;
|
||||
pub const EV_RXFLAG: COMM_EVENT_MASK = 2u32;
|
||||
pub const EV_TXEMPTY: COMM_EVENT_MASK = 4u32;
|
||||
pub const MARKPARITY: DCB_PARITY = 3u8;
|
||||
pub const MAXLENGTH_NAI: u32 = 72u32;
|
||||
pub const MAXLENGTH_UICCDATASTORE: u32 = 10u32;
|
||||
pub const MDMSPKRFLAG_CALLSETUP: MODEMDEVCAPS_SPEAKER_MODE = 8u32;
|
||||
pub const MDMSPKRFLAG_DIAL: MODEMDEVCAPS_SPEAKER_MODE = 2u32;
|
||||
pub const MDMSPKRFLAG_OFF: MODEMDEVCAPS_SPEAKER_MODE = 1u32;
|
||||
pub const MDMSPKRFLAG_ON: MODEMDEVCAPS_SPEAKER_MODE = 4u32;
|
||||
pub const MDMSPKR_CALLSETUP: MODEMSETTINGS_SPEAKER_MODE = 8u32;
|
||||
pub const MDMSPKR_DIAL: MODEMSETTINGS_SPEAKER_MODE = 2u32;
|
||||
pub const MDMSPKR_OFF: MODEMSETTINGS_SPEAKER_MODE = 1u32;
|
||||
pub const MDMSPKR_ON: MODEMSETTINGS_SPEAKER_MODE = 4u32;
|
||||
pub const MDMVOLFLAG_HIGH: MODEMDEVCAPS_SPEAKER_VOLUME = 4u32;
|
||||
pub const MDMVOLFLAG_LOW: MODEMDEVCAPS_SPEAKER_VOLUME = 1u32;
|
||||
pub const MDMVOLFLAG_MEDIUM: MODEMDEVCAPS_SPEAKER_VOLUME = 2u32;
|
||||
pub const MDMVOL_HIGH: MODEM_SPEAKER_VOLUME = 2u32;
|
||||
pub const MDMVOL_LOW: MODEM_SPEAKER_VOLUME = 0u32;
|
||||
pub const MDMVOL_MEDIUM: MODEM_SPEAKER_VOLUME = 1u32;
|
||||
pub const MDM_ANALOG_RLP_OFF: u32 = 1u32;
|
||||
pub const MDM_ANALOG_RLP_ON: u32 = 0u32;
|
||||
pub const MDM_ANALOG_V34: u32 = 2u32;
|
||||
pub const MDM_AUTO_ML_2: u32 = 2u32;
|
||||
pub const MDM_AUTO_ML_DEFAULT: u32 = 0u32;
|
||||
pub const MDM_AUTO_ML_NONE: u32 = 1u32;
|
||||
pub const MDM_AUTO_SPEED_DEFAULT: u32 = 0u32;
|
||||
pub const MDM_BEARERMODE_ANALOG: u32 = 0u32;
|
||||
pub const MDM_BEARERMODE_GSM: u32 = 2u32;
|
||||
pub const MDM_BEARERMODE_ISDN: u32 = 1u32;
|
||||
pub const MDM_BLIND_DIAL: u32 = 512u32;
|
||||
pub const MDM_CCITT_OVERRIDE: u32 = 64u32;
|
||||
pub const MDM_CELLULAR: u32 = 8u32;
|
||||
pub const MDM_COMPRESSION: u32 = 1u32;
|
||||
pub const MDM_DIAGNOSTICS: u32 = 2048u32;
|
||||
pub const MDM_ERROR_CONTROL: u32 = 2u32;
|
||||
pub const MDM_FLOWCONTROL_HARD: u32 = 16u32;
|
||||
pub const MDM_FLOWCONTROL_SOFT: u32 = 32u32;
|
||||
pub const MDM_FORCED_EC: u32 = 4u32;
|
||||
pub const MDM_HDLCPPP_AUTH_CHAP: u32 = 3u32;
|
||||
pub const MDM_HDLCPPP_AUTH_DEFAULT: u32 = 0u32;
|
||||
pub const MDM_HDLCPPP_AUTH_MSCHAP: u32 = 4u32;
|
||||
pub const MDM_HDLCPPP_AUTH_NONE: u32 = 1u32;
|
||||
pub const MDM_HDLCPPP_AUTH_PAP: u32 = 2u32;
|
||||
pub const MDM_HDLCPPP_ML_2: u32 = 2u32;
|
||||
pub const MDM_HDLCPPP_ML_DEFAULT: u32 = 0u32;
|
||||
pub const MDM_HDLCPPP_ML_NONE: u32 = 1u32;
|
||||
pub const MDM_HDLCPPP_SPEED_56K: u32 = 2u32;
|
||||
pub const MDM_HDLCPPP_SPEED_64K: u32 = 1u32;
|
||||
pub const MDM_HDLCPPP_SPEED_DEFAULT: u32 = 0u32;
|
||||
pub const MDM_MASK_AUTO_SPEED: u32 = 7u32;
|
||||
pub const MDM_MASK_BEARERMODE: u32 = 61440u32;
|
||||
pub const MDM_MASK_HDLCPPP_SPEED: u32 = 7u32;
|
||||
pub const MDM_MASK_PROTOCOLDATA: u32 = 267386880u32;
|
||||
pub const MDM_MASK_PROTOCOLID: u32 = 983040u32;
|
||||
pub const MDM_MASK_V110_SPEED: u32 = 15u32;
|
||||
pub const MDM_MASK_V120_SPEED: u32 = 7u32;
|
||||
pub const MDM_MASK_X75_DATA: u32 = 7u32;
|
||||
pub const MDM_PIAFS_INCOMING: u32 = 0u32;
|
||||
pub const MDM_PIAFS_OUTGOING: u32 = 1u32;
|
||||
pub const MDM_PROTOCOLID_ANALOG: u32 = 7u32;
|
||||
pub const MDM_PROTOCOLID_AUTO: u32 = 6u32;
|
||||
pub const MDM_PROTOCOLID_DEFAULT: u32 = 0u32;
|
||||
pub const MDM_PROTOCOLID_GPRS: u32 = 8u32;
|
||||
pub const MDM_PROTOCOLID_HDLCPPP: u32 = 1u32;
|
||||
pub const MDM_PROTOCOLID_PIAFS: u32 = 9u32;
|
||||
pub const MDM_PROTOCOLID_V110: u32 = 4u32;
|
||||
pub const MDM_PROTOCOLID_V120: u32 = 5u32;
|
||||
pub const MDM_PROTOCOLID_V128: u32 = 2u32;
|
||||
pub const MDM_PROTOCOLID_X75: u32 = 3u32;
|
||||
pub const MDM_SHIFT_AUTO_ML: u32 = 6u32;
|
||||
pub const MDM_SHIFT_AUTO_SPEED: u32 = 0u32;
|
||||
pub const MDM_SHIFT_BEARERMODE: u32 = 12u32;
|
||||
pub const MDM_SHIFT_EXTENDEDINFO: u32 = 12u32;
|
||||
pub const MDM_SHIFT_HDLCPPP_AUTH: u32 = 3u32;
|
||||
pub const MDM_SHIFT_HDLCPPP_ML: u32 = 6u32;
|
||||
pub const MDM_SHIFT_HDLCPPP_SPEED: u32 = 0u32;
|
||||
pub const MDM_SHIFT_PROTOCOLDATA: u32 = 20u32;
|
||||
pub const MDM_SHIFT_PROTOCOLID: u32 = 16u32;
|
||||
pub const MDM_SHIFT_PROTOCOLINFO: u32 = 16u32;
|
||||
pub const MDM_SHIFT_V110_SPEED: u32 = 0u32;
|
||||
pub const MDM_SHIFT_V120_ML: u32 = 6u32;
|
||||
pub const MDM_SHIFT_V120_SPEED: u32 = 0u32;
|
||||
pub const MDM_SHIFT_X75_DATA: u32 = 0u32;
|
||||
pub const MDM_SPEED_ADJUST: u32 = 128u32;
|
||||
pub const MDM_TONE_DIAL: u32 = 256u32;
|
||||
pub const MDM_V110_SPEED_12DOT0K: u32 = 5u32;
|
||||
pub const MDM_V110_SPEED_14DOT4K: u32 = 6u32;
|
||||
pub const MDM_V110_SPEED_19DOT2K: u32 = 7u32;
|
||||
pub const MDM_V110_SPEED_1DOT2K: u32 = 1u32;
|
||||
pub const MDM_V110_SPEED_28DOT8K: u32 = 8u32;
|
||||
pub const MDM_V110_SPEED_2DOT4K: u32 = 2u32;
|
||||
pub const MDM_V110_SPEED_38DOT4K: u32 = 9u32;
|
||||
pub const MDM_V110_SPEED_4DOT8K: u32 = 3u32;
|
||||
pub const MDM_V110_SPEED_57DOT6K: u32 = 10u32;
|
||||
pub const MDM_V110_SPEED_9DOT6K: u32 = 4u32;
|
||||
pub const MDM_V110_SPEED_DEFAULT: u32 = 0u32;
|
||||
pub const MDM_V120_ML_2: u32 = 2u32;
|
||||
pub const MDM_V120_ML_DEFAULT: u32 = 0u32;
|
||||
pub const MDM_V120_ML_NONE: u32 = 1u32;
|
||||
pub const MDM_V120_SPEED_56K: u32 = 2u32;
|
||||
pub const MDM_V120_SPEED_64K: u32 = 1u32;
|
||||
pub const MDM_V120_SPEED_DEFAULT: u32 = 0u32;
|
||||
pub const MDM_V23_OVERRIDE: u32 = 1024u32;
|
||||
pub const MDM_X75_DATA_128K: u32 = 2u32;
|
||||
pub const MDM_X75_DATA_64K: u32 = 1u32;
|
||||
pub const MDM_X75_DATA_BTX: u32 = 4u32;
|
||||
pub const MDM_X75_DATA_DEFAULT: u32 = 0u32;
|
||||
pub const MDM_X75_DATA_T_70: u32 = 3u32;
|
||||
pub const MS_CTS_ON: MODEM_STATUS_FLAGS = 16u32;
|
||||
pub const MS_DSR_ON: MODEM_STATUS_FLAGS = 32u32;
|
||||
pub const MS_RING_ON: MODEM_STATUS_FLAGS = 64u32;
|
||||
pub const MS_RLSD_ON: MODEM_STATUS_FLAGS = 128u32;
|
||||
pub const NOPARITY: DCB_PARITY = 0u8;
|
||||
pub const ODDPARITY: DCB_PARITY = 1u8;
|
||||
pub const ONE5STOPBITS: DCB_STOP_BITS = 1u8;
|
||||
pub const ONESTOPBIT: DCB_STOP_BITS = 0u8;
|
||||
pub const PARITY_EVEN: COMMPROP_STOP_PARITY = 1024u16;
|
||||
pub const PARITY_MARK: COMMPROP_STOP_PARITY = 2048u16;
|
||||
pub const PARITY_NONE: COMMPROP_STOP_PARITY = 256u16;
|
||||
pub const PARITY_ODD: COMMPROP_STOP_PARITY = 512u16;
|
||||
pub const PARITY_SPACE: COMMPROP_STOP_PARITY = 4096u16;
|
||||
pub const PURGE_RXABORT: PURGE_COMM_FLAGS = 2u32;
|
||||
pub const PURGE_RXCLEAR: PURGE_COMM_FLAGS = 8u32;
|
||||
pub const PURGE_TXABORT: PURGE_COMM_FLAGS = 1u32;
|
||||
pub const PURGE_TXCLEAR: PURGE_COMM_FLAGS = 4u32;
|
||||
pub const SETBREAK: ESCAPE_COMM_FUNCTION = 8u32;
|
||||
pub const SETDTR: ESCAPE_COMM_FUNCTION = 5u32;
|
||||
pub const SETRTS: ESCAPE_COMM_FUNCTION = 3u32;
|
||||
pub const SETXOFF: ESCAPE_COMM_FUNCTION = 1u32;
|
||||
pub const SETXON: ESCAPE_COMM_FUNCTION = 2u32;
|
||||
pub const SID_3GPP_SUPSVCMODEL: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xd7d08e07_d767_4478_b14a_eecc87ea12f7);
|
||||
pub const SPACEPARITY: DCB_PARITY = 4u8;
|
||||
pub const STOPBITS_10: COMMPROP_STOP_PARITY = 1u16;
|
||||
pub const STOPBITS_15: COMMPROP_STOP_PARITY = 2u16;
|
||||
pub const STOPBITS_20: COMMPROP_STOP_PARITY = 4u16;
|
||||
pub const TWOSTOPBITS: DCB_STOP_BITS = 2u8;
|
||||
pub type CLEAR_COMM_ERROR_FLAGS = u32;
|
||||
pub type COMMPROP_STOP_PARITY = u16;
|
||||
pub type COMM_EVENT_MASK = u32;
|
||||
pub type DCB_PARITY = u8;
|
||||
pub type DCB_STOP_BITS = u8;
|
||||
pub type ESCAPE_COMM_FUNCTION = u32;
|
||||
pub type MODEMDEVCAPS_DIAL_OPTIONS = u32;
|
||||
pub type MODEMDEVCAPS_SPEAKER_MODE = u32;
|
||||
pub type MODEMDEVCAPS_SPEAKER_VOLUME = u32;
|
||||
pub type MODEMSETTINGS_SPEAKER_MODE = u32;
|
||||
pub type MODEM_SPEAKER_VOLUME = u32;
|
||||
pub type MODEM_STATUS_FLAGS = u32;
|
||||
pub type PURGE_COMM_FLAGS = u32;
|
||||
#[repr(C)]
|
||||
pub struct COMMCONFIG {
|
||||
pub dwSize: u32,
|
||||
pub wVersion: u16,
|
||||
pub wReserved: u16,
|
||||
pub dcb: DCB,
|
||||
pub dwProviderSubType: u32,
|
||||
pub dwProviderOffset: u32,
|
||||
pub dwProviderSize: u32,
|
||||
pub wcProviderData: [u16; 1],
|
||||
}
|
||||
impl ::core::marker::Copy for COMMCONFIG {}
|
||||
impl ::core::clone::Clone for COMMCONFIG {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct COMMPROP {
|
||||
pub wPacketLength: u16,
|
||||
pub wPacketVersion: u16,
|
||||
pub dwServiceMask: u32,
|
||||
pub dwReserved1: u32,
|
||||
pub dwMaxTxQueue: u32,
|
||||
pub dwMaxRxQueue: u32,
|
||||
pub dwMaxBaud: u32,
|
||||
pub dwProvSubType: u32,
|
||||
pub dwProvCapabilities: u32,
|
||||
pub dwSettableParams: u32,
|
||||
pub dwSettableBaud: u32,
|
||||
pub wSettableData: u16,
|
||||
pub wSettableStopParity: COMMPROP_STOP_PARITY,
|
||||
pub dwCurrentTxQueue: u32,
|
||||
pub dwCurrentRxQueue: u32,
|
||||
pub dwProvSpec1: u32,
|
||||
pub dwProvSpec2: u32,
|
||||
pub wcProvChar: [u16; 1],
|
||||
}
|
||||
impl ::core::marker::Copy for COMMPROP {}
|
||||
impl ::core::clone::Clone for COMMPROP {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct COMMTIMEOUTS {
|
||||
pub ReadIntervalTimeout: u32,
|
||||
pub ReadTotalTimeoutMultiplier: u32,
|
||||
pub ReadTotalTimeoutConstant: u32,
|
||||
pub WriteTotalTimeoutMultiplier: u32,
|
||||
pub WriteTotalTimeoutConstant: u32,
|
||||
}
|
||||
impl ::core::marker::Copy for COMMTIMEOUTS {}
|
||||
impl ::core::clone::Clone for COMMTIMEOUTS {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct COMSTAT {
|
||||
pub _bitfield: u32,
|
||||
pub cbInQue: u32,
|
||||
pub cbOutQue: u32,
|
||||
}
|
||||
impl ::core::marker::Copy for COMSTAT {}
|
||||
impl ::core::clone::Clone for COMSTAT {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct DCB {
|
||||
pub DCBlength: u32,
|
||||
pub BaudRate: u32,
|
||||
pub _bitfield: u32,
|
||||
pub wReserved: u16,
|
||||
pub XonLim: u16,
|
||||
pub XoffLim: u16,
|
||||
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 wReserved1: u16,
|
||||
}
|
||||
impl ::core::marker::Copy for DCB {}
|
||||
impl ::core::clone::Clone for DCB {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct MODEMDEVCAPS {
|
||||
pub dwActualSize: u32,
|
||||
pub dwRequiredSize: u32,
|
||||
pub dwDevSpecificOffset: u32,
|
||||
pub dwDevSpecificSize: u32,
|
||||
pub dwModemProviderVersion: u32,
|
||||
pub dwModemManufacturerOffset: u32,
|
||||
pub dwModemManufacturerSize: u32,
|
||||
pub dwModemModelOffset: u32,
|
||||
pub dwModemModelSize: u32,
|
||||
pub dwModemVersionOffset: u32,
|
||||
pub dwModemVersionSize: u32,
|
||||
pub dwDialOptions: MODEMDEVCAPS_DIAL_OPTIONS,
|
||||
pub dwCallSetupFailTimer: u32,
|
||||
pub dwInactivityTimeout: u32,
|
||||
pub dwSpeakerVolume: MODEMDEVCAPS_SPEAKER_VOLUME,
|
||||
pub dwSpeakerMode: MODEMDEVCAPS_SPEAKER_MODE,
|
||||
pub dwModemOptions: u32,
|
||||
pub dwMaxDTERate: u32,
|
||||
pub dwMaxDCERate: u32,
|
||||
pub abVariablePortion: [u8; 1],
|
||||
}
|
||||
impl ::core::marker::Copy for MODEMDEVCAPS {}
|
||||
impl ::core::clone::Clone for MODEMDEVCAPS {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct MODEMSETTINGS {
|
||||
pub dwActualSize: u32,
|
||||
pub dwRequiredSize: u32,
|
||||
pub dwDevSpecificOffset: u32,
|
||||
pub dwDevSpecificSize: u32,
|
||||
pub dwCallSetupFailTimer: u32,
|
||||
pub dwInactivityTimeout: u32,
|
||||
pub dwSpeakerVolume: MODEM_SPEAKER_VOLUME,
|
||||
pub dwSpeakerMode: MODEMSETTINGS_SPEAKER_MODE,
|
||||
pub dwPreferredModemOptions: u32,
|
||||
pub dwNegotiatedModemOptions: u32,
|
||||
pub dwNegotiatedDCERate: u32,
|
||||
pub abVariablePortion: [u8; 1],
|
||||
}
|
||||
impl ::core::marker::Copy for MODEMSETTINGS {}
|
||||
impl ::core::clone::Clone for MODEMSETTINGS {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
5430
third-party/vendor/windows-sys/src/Windows/Win32/Devices/DeviceAndDriverInstallation/mod.rs
vendored
Normal file
5430
third-party/vendor/windows-sys/src/Windows/Win32/Devices/DeviceAndDriverInstallation/mod.rs
vendored
Normal file
File diff suppressed because it is too large
Load diff
182
third-party/vendor/windows-sys/src/Windows/Win32/Devices/DeviceQuery/mod.rs
vendored
Normal file
182
third-party/vendor/windows-sys/src/Windows/Win32/Devices/DeviceQuery/mod.rs
vendored
Normal file
|
|
@ -0,0 +1,182 @@
|
|||
::windows_targets::link!("api-ms-win-devices-query-l1-1-0.dll" "system" fn DevCloseObjectQuery(hdevquery : HDEVQUERY) -> ());
|
||||
#[cfg(feature = "Win32_Devices_Properties")]
|
||||
::windows_targets::link!("api-ms-win-devices-query-l1-1-0.dll" "system" #[doc = "Required features: `\"Win32_Devices_Properties\"`"] fn DevCreateObjectQuery(objecttype : DEV_OBJECT_TYPE, queryflags : u32, crequestedproperties : u32, prequestedproperties : *const super::Properties:: DEVPROPCOMPKEY, cfilterexpressioncount : u32, pfilter : *const DEVPROP_FILTER_EXPRESSION, pcallback : PDEV_QUERY_RESULT_CALLBACK, pcontext : *const ::core::ffi::c_void, phdevquery : *mut HDEVQUERY) -> ::windows_sys::core::HRESULT);
|
||||
#[cfg(feature = "Win32_Devices_Properties")]
|
||||
::windows_targets::link!("api-ms-win-devices-query-l1-1-1.dll" "system" #[doc = "Required features: `\"Win32_Devices_Properties\"`"] fn DevCreateObjectQueryEx(objecttype : DEV_OBJECT_TYPE, queryflags : u32, crequestedproperties : u32, prequestedproperties : *const super::Properties:: DEVPROPCOMPKEY, cfilterexpressioncount : u32, pfilter : *const DEVPROP_FILTER_EXPRESSION, cextendedparametercount : u32, pextendedparameters : *const DEV_QUERY_PARAMETER, pcallback : PDEV_QUERY_RESULT_CALLBACK, pcontext : *const ::core::ffi::c_void, phdevquery : *mut HDEVQUERY) -> ::windows_sys::core::HRESULT);
|
||||
#[cfg(feature = "Win32_Devices_Properties")]
|
||||
::windows_targets::link!("api-ms-win-devices-query-l1-1-0.dll" "system" #[doc = "Required features: `\"Win32_Devices_Properties\"`"] fn DevCreateObjectQueryFromId(objecttype : DEV_OBJECT_TYPE, pszobjectid : ::windows_sys::core::PCWSTR, queryflags : u32, crequestedproperties : u32, prequestedproperties : *const super::Properties:: DEVPROPCOMPKEY, cfilterexpressioncount : u32, pfilter : *const DEVPROP_FILTER_EXPRESSION, pcallback : PDEV_QUERY_RESULT_CALLBACK, pcontext : *const ::core::ffi::c_void, phdevquery : *mut HDEVQUERY) -> ::windows_sys::core::HRESULT);
|
||||
#[cfg(feature = "Win32_Devices_Properties")]
|
||||
::windows_targets::link!("api-ms-win-devices-query-l1-1-1.dll" "system" #[doc = "Required features: `\"Win32_Devices_Properties\"`"] fn DevCreateObjectQueryFromIdEx(objecttype : DEV_OBJECT_TYPE, pszobjectid : ::windows_sys::core::PCWSTR, queryflags : u32, crequestedproperties : u32, prequestedproperties : *const super::Properties:: DEVPROPCOMPKEY, cfilterexpressioncount : u32, pfilter : *const DEVPROP_FILTER_EXPRESSION, cextendedparametercount : u32, pextendedparameters : *const DEV_QUERY_PARAMETER, pcallback : PDEV_QUERY_RESULT_CALLBACK, pcontext : *const ::core::ffi::c_void, phdevquery : *mut HDEVQUERY) -> ::windows_sys::core::HRESULT);
|
||||
#[cfg(feature = "Win32_Devices_Properties")]
|
||||
::windows_targets::link!("api-ms-win-devices-query-l1-1-0.dll" "system" #[doc = "Required features: `\"Win32_Devices_Properties\"`"] fn DevCreateObjectQueryFromIds(objecttype : DEV_OBJECT_TYPE, pszzobjectids : ::windows_sys::core::PCWSTR, queryflags : u32, crequestedproperties : u32, prequestedproperties : *const super::Properties:: DEVPROPCOMPKEY, cfilterexpressioncount : u32, pfilter : *const DEVPROP_FILTER_EXPRESSION, pcallback : PDEV_QUERY_RESULT_CALLBACK, pcontext : *const ::core::ffi::c_void, phdevquery : *mut HDEVQUERY) -> ::windows_sys::core::HRESULT);
|
||||
#[cfg(feature = "Win32_Devices_Properties")]
|
||||
::windows_targets::link!("api-ms-win-devices-query-l1-1-1.dll" "system" #[doc = "Required features: `\"Win32_Devices_Properties\"`"] fn DevCreateObjectQueryFromIdsEx(objecttype : DEV_OBJECT_TYPE, pszzobjectids : ::windows_sys::core::PCWSTR, queryflags : u32, crequestedproperties : u32, prequestedproperties : *const super::Properties:: DEVPROPCOMPKEY, cfilterexpressioncount : u32, pfilter : *const DEVPROP_FILTER_EXPRESSION, cextendedparametercount : u32, pextendedparameters : *const DEV_QUERY_PARAMETER, pcallback : PDEV_QUERY_RESULT_CALLBACK, pcontext : *const ::core::ffi::c_void, phdevquery : *mut HDEVQUERY) -> ::windows_sys::core::HRESULT);
|
||||
#[cfg(feature = "Win32_Devices_Properties")]
|
||||
::windows_targets::link!("api-ms-win-devices-query-l1-1-0.dll" "system" #[doc = "Required features: `\"Win32_Devices_Properties\"`"] fn DevFindProperty(pkey : *const super::Properties:: DEVPROPKEY, store : super::Properties:: DEVPROPSTORE, pszlocalename : ::windows_sys::core::PCWSTR, cproperties : u32, pproperties : *const super::Properties:: DEVPROPERTY) -> *mut super::Properties:: DEVPROPERTY);
|
||||
#[cfg(feature = "Win32_Devices_Properties")]
|
||||
::windows_targets::link!("api-ms-win-devices-query-l1-1-0.dll" "system" #[doc = "Required features: `\"Win32_Devices_Properties\"`"] fn DevFreeObjectProperties(cpropertycount : u32, pproperties : *const super::Properties:: DEVPROPERTY) -> ());
|
||||
#[cfg(feature = "Win32_Devices_Properties")]
|
||||
::windows_targets::link!("api-ms-win-devices-query-l1-1-0.dll" "system" #[doc = "Required features: `\"Win32_Devices_Properties\"`"] fn DevFreeObjects(cobjectcount : u32, pobjects : *const DEV_OBJECT) -> ());
|
||||
#[cfg(feature = "Win32_Devices_Properties")]
|
||||
::windows_targets::link!("api-ms-win-devices-query-l1-1-0.dll" "system" #[doc = "Required features: `\"Win32_Devices_Properties\"`"] fn DevGetObjectProperties(objecttype : DEV_OBJECT_TYPE, pszobjectid : ::windows_sys::core::PCWSTR, queryflags : u32, crequestedproperties : u32, prequestedproperties : *const super::Properties:: DEVPROPCOMPKEY, pcpropertycount : *mut u32, ppproperties : *mut *mut super::Properties:: DEVPROPERTY) -> ::windows_sys::core::HRESULT);
|
||||
#[cfg(feature = "Win32_Devices_Properties")]
|
||||
::windows_targets::link!("api-ms-win-devices-query-l1-1-1.dll" "system" #[doc = "Required features: `\"Win32_Devices_Properties\"`"] fn DevGetObjectPropertiesEx(objecttype : DEV_OBJECT_TYPE, pszobjectid : ::windows_sys::core::PCWSTR, queryflags : u32, crequestedproperties : u32, prequestedproperties : *const super::Properties:: DEVPROPCOMPKEY, cextendedparametercount : u32, pextendedparameters : *const DEV_QUERY_PARAMETER, pcpropertycount : *mut u32, ppproperties : *mut *mut super::Properties:: DEVPROPERTY) -> ::windows_sys::core::HRESULT);
|
||||
#[cfg(feature = "Win32_Devices_Properties")]
|
||||
::windows_targets::link!("api-ms-win-devices-query-l1-1-0.dll" "system" #[doc = "Required features: `\"Win32_Devices_Properties\"`"] fn DevGetObjects(objecttype : DEV_OBJECT_TYPE, queryflags : u32, crequestedproperties : u32, prequestedproperties : *const super::Properties:: DEVPROPCOMPKEY, cfilterexpressioncount : u32, pfilter : *const DEVPROP_FILTER_EXPRESSION, pcobjectcount : *mut u32, ppobjects : *mut *mut DEV_OBJECT) -> ::windows_sys::core::HRESULT);
|
||||
#[cfg(feature = "Win32_Devices_Properties")]
|
||||
::windows_targets::link!("api-ms-win-devices-query-l1-1-1.dll" "system" #[doc = "Required features: `\"Win32_Devices_Properties\"`"] fn DevGetObjectsEx(objecttype : DEV_OBJECT_TYPE, queryflags : u32, crequestedproperties : u32, prequestedproperties : *const super::Properties:: DEVPROPCOMPKEY, cfilterexpressioncount : u32, pfilter : *const DEVPROP_FILTER_EXPRESSION, cextendedparametercount : u32, pextendedparameters : *const DEV_QUERY_PARAMETER, pcobjectcount : *mut u32, ppobjects : *mut *mut DEV_OBJECT) -> ::windows_sys::core::HRESULT);
|
||||
pub const DEVPROP_OPERATOR_AND_CLOSE: DEVPROP_OPERATOR = 2097152u32;
|
||||
pub const DEVPROP_OPERATOR_AND_OPEN: DEVPROP_OPERATOR = 1048576u32;
|
||||
pub const DEVPROP_OPERATOR_ARRAY_CONTAINS: DEVPROP_OPERATOR = 268435456u32;
|
||||
pub const DEVPROP_OPERATOR_BEGINS_WITH: DEVPROP_OPERATOR = 9u32;
|
||||
pub const DEVPROP_OPERATOR_BEGINS_WITH_IGNORE_CASE: DEVPROP_OPERATOR = 131081u32;
|
||||
pub const DEVPROP_OPERATOR_BITWISE_AND: DEVPROP_OPERATOR = 7u32;
|
||||
pub const DEVPROP_OPERATOR_BITWISE_OR: DEVPROP_OPERATOR = 8u32;
|
||||
pub const DEVPROP_OPERATOR_CONTAINS: DEVPROP_OPERATOR = 11u32;
|
||||
pub const DEVPROP_OPERATOR_CONTAINS_IGNORE_CASE: DEVPROP_OPERATOR = 131083u32;
|
||||
pub const DEVPROP_OPERATOR_ENDS_WITH: DEVPROP_OPERATOR = 10u32;
|
||||
pub const DEVPROP_OPERATOR_ENDS_WITH_IGNORE_CASE: DEVPROP_OPERATOR = 131082u32;
|
||||
pub const DEVPROP_OPERATOR_EQUALS: DEVPROP_OPERATOR = 2u32;
|
||||
pub const DEVPROP_OPERATOR_EQUALS_IGNORE_CASE: DEVPROP_OPERATOR = 131074u32;
|
||||
pub const DEVPROP_OPERATOR_EXISTS: DEVPROP_OPERATOR = 1u32;
|
||||
pub const DEVPROP_OPERATOR_GREATER_THAN: DEVPROP_OPERATOR = 3u32;
|
||||
pub const DEVPROP_OPERATOR_GREATER_THAN_EQUALS: DEVPROP_OPERATOR = 5u32;
|
||||
pub const DEVPROP_OPERATOR_LESS_THAN: DEVPROP_OPERATOR = 4u32;
|
||||
pub const DEVPROP_OPERATOR_LESS_THAN_EQUALS: DEVPROP_OPERATOR = 6u32;
|
||||
pub const DEVPROP_OPERATOR_LIST_CONTAINS: DEVPROP_OPERATOR = 4096u32;
|
||||
pub const DEVPROP_OPERATOR_LIST_CONTAINS_IGNORE_CASE: DEVPROP_OPERATOR = 135168u32;
|
||||
pub const DEVPROP_OPERATOR_LIST_ELEMENT_BEGINS_WITH: DEVPROP_OPERATOR = 8192u32;
|
||||
pub const DEVPROP_OPERATOR_LIST_ELEMENT_BEGINS_WITH_IGNORE_CASE: DEVPROP_OPERATOR = 139264u32;
|
||||
pub const DEVPROP_OPERATOR_LIST_ELEMENT_CONTAINS: DEVPROP_OPERATOR = 16384u32;
|
||||
pub const DEVPROP_OPERATOR_LIST_ELEMENT_CONTAINS_IGNORE_CASE: DEVPROP_OPERATOR = 147456u32;
|
||||
pub const DEVPROP_OPERATOR_LIST_ELEMENT_ENDS_WITH: DEVPROP_OPERATOR = 12288u32;
|
||||
pub const DEVPROP_OPERATOR_LIST_ELEMENT_ENDS_WITH_IGNORE_CASE: DEVPROP_OPERATOR = 143360u32;
|
||||
pub const DEVPROP_OPERATOR_MASK_ARRAY: DEVPROP_OPERATOR = 4026531840u32;
|
||||
pub const DEVPROP_OPERATOR_MASK_EVAL: DEVPROP_OPERATOR = 4095u32;
|
||||
pub const DEVPROP_OPERATOR_MASK_LIST: DEVPROP_OPERATOR = 61440u32;
|
||||
pub const DEVPROP_OPERATOR_MASK_LOGICAL: DEVPROP_OPERATOR = 267386880u32;
|
||||
pub const DEVPROP_OPERATOR_MASK_MODIFIER: DEVPROP_OPERATOR = 983040u32;
|
||||
pub const DEVPROP_OPERATOR_MASK_NOT_LOGICAL: DEVPROP_OPERATOR = 4027580415u32;
|
||||
pub const DEVPROP_OPERATOR_MODIFIER_IGNORE_CASE: DEVPROP_OPERATOR = 131072u32;
|
||||
pub const DEVPROP_OPERATOR_MODIFIER_NOT: DEVPROP_OPERATOR = 65536u32;
|
||||
pub const DEVPROP_OPERATOR_NONE: DEVPROP_OPERATOR = 0u32;
|
||||
pub const DEVPROP_OPERATOR_NOT_CLOSE: DEVPROP_OPERATOR = 6291456u32;
|
||||
pub const DEVPROP_OPERATOR_NOT_EQUALS: DEVPROP_OPERATOR = 65538u32;
|
||||
pub const DEVPROP_OPERATOR_NOT_EQUALS_IGNORE_CASE: DEVPROP_OPERATOR = 196610u32;
|
||||
pub const DEVPROP_OPERATOR_NOT_EXISTS: DEVPROP_OPERATOR = 65537u32;
|
||||
pub const DEVPROP_OPERATOR_NOT_OPEN: DEVPROP_OPERATOR = 5242880u32;
|
||||
pub const DEVPROP_OPERATOR_OR_CLOSE: DEVPROP_OPERATOR = 4194304u32;
|
||||
pub const DEVPROP_OPERATOR_OR_OPEN: DEVPROP_OPERATOR = 3145728u32;
|
||||
pub const DevObjectTypeAEP: DEV_OBJECT_TYPE = 5i32;
|
||||
pub const DevObjectTypeAEPContainer: DEV_OBJECT_TYPE = 6i32;
|
||||
pub const DevObjectTypeAEPService: DEV_OBJECT_TYPE = 10i32;
|
||||
pub const DevObjectTypeDevice: DEV_OBJECT_TYPE = 3i32;
|
||||
pub const DevObjectTypeDeviceContainer: DEV_OBJECT_TYPE = 2i32;
|
||||
pub const DevObjectTypeDeviceContainerDisplay: DEV_OBJECT_TYPE = 9i32;
|
||||
pub const DevObjectTypeDeviceInstallerClass: DEV_OBJECT_TYPE = 7i32;
|
||||
pub const DevObjectTypeDeviceInterface: DEV_OBJECT_TYPE = 1i32;
|
||||
pub const DevObjectTypeDeviceInterfaceClass: DEV_OBJECT_TYPE = 4i32;
|
||||
pub const DevObjectTypeDeviceInterfaceDisplay: DEV_OBJECT_TYPE = 8i32;
|
||||
pub const DevObjectTypeDevicePanel: DEV_OBJECT_TYPE = 11i32;
|
||||
pub const DevObjectTypeUnknown: DEV_OBJECT_TYPE = 0i32;
|
||||
pub const DevQueryFlagAllProperties: DEV_QUERY_FLAGS = 2i32;
|
||||
pub const DevQueryFlagAsyncClose: DEV_QUERY_FLAGS = 8i32;
|
||||
pub const DevQueryFlagLocalize: DEV_QUERY_FLAGS = 4i32;
|
||||
pub const DevQueryFlagNone: DEV_QUERY_FLAGS = 0i32;
|
||||
pub const DevQueryFlagUpdateResults: DEV_QUERY_FLAGS = 1i32;
|
||||
pub const DevQueryResultAdd: DEV_QUERY_RESULT_ACTION = 1i32;
|
||||
pub const DevQueryResultRemove: DEV_QUERY_RESULT_ACTION = 3i32;
|
||||
pub const DevQueryResultStateChange: DEV_QUERY_RESULT_ACTION = 0i32;
|
||||
pub const DevQueryResultUpdate: DEV_QUERY_RESULT_ACTION = 2i32;
|
||||
pub const DevQueryStateAborted: DEV_QUERY_STATE = 2i32;
|
||||
pub const DevQueryStateClosed: DEV_QUERY_STATE = 3i32;
|
||||
pub const DevQueryStateEnumCompleted: DEV_QUERY_STATE = 1i32;
|
||||
pub const DevQueryStateInitialized: DEV_QUERY_STATE = 0i32;
|
||||
pub type DEVPROP_OPERATOR = u32;
|
||||
pub type DEV_OBJECT_TYPE = i32;
|
||||
pub type DEV_QUERY_FLAGS = i32;
|
||||
pub type DEV_QUERY_RESULT_ACTION = i32;
|
||||
pub type DEV_QUERY_STATE = i32;
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Devices_Properties\"`"]
|
||||
#[cfg(feature = "Win32_Devices_Properties")]
|
||||
pub struct DEVPROP_FILTER_EXPRESSION {
|
||||
pub Operator: DEVPROP_OPERATOR,
|
||||
pub Property: super::Properties::DEVPROPERTY,
|
||||
}
|
||||
#[cfg(feature = "Win32_Devices_Properties")]
|
||||
impl ::core::marker::Copy for DEVPROP_FILTER_EXPRESSION {}
|
||||
#[cfg(feature = "Win32_Devices_Properties")]
|
||||
impl ::core::clone::Clone for DEVPROP_FILTER_EXPRESSION {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Devices_Properties\"`"]
|
||||
#[cfg(feature = "Win32_Devices_Properties")]
|
||||
pub struct DEV_OBJECT {
|
||||
pub ObjectType: DEV_OBJECT_TYPE,
|
||||
pub pszObjectId: ::windows_sys::core::PCWSTR,
|
||||
pub cPropertyCount: u32,
|
||||
pub pProperties: *const super::Properties::DEVPROPERTY,
|
||||
}
|
||||
#[cfg(feature = "Win32_Devices_Properties")]
|
||||
impl ::core::marker::Copy for DEV_OBJECT {}
|
||||
#[cfg(feature = "Win32_Devices_Properties")]
|
||||
impl ::core::clone::Clone for DEV_OBJECT {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Devices_Properties\"`"]
|
||||
#[cfg(feature = "Win32_Devices_Properties")]
|
||||
pub struct DEV_QUERY_PARAMETER {
|
||||
pub Key: super::Properties::DEVPROPKEY,
|
||||
pub Type: super::Properties::DEVPROPTYPE,
|
||||
pub BufferSize: u32,
|
||||
pub Buffer: *mut ::core::ffi::c_void,
|
||||
}
|
||||
#[cfg(feature = "Win32_Devices_Properties")]
|
||||
impl ::core::marker::Copy for DEV_QUERY_PARAMETER {}
|
||||
#[cfg(feature = "Win32_Devices_Properties")]
|
||||
impl ::core::clone::Clone for DEV_QUERY_PARAMETER {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Devices_Properties\"`"]
|
||||
#[cfg(feature = "Win32_Devices_Properties")]
|
||||
pub struct DEV_QUERY_RESULT_ACTION_DATA {
|
||||
pub Action: DEV_QUERY_RESULT_ACTION,
|
||||
pub Data: DEV_QUERY_RESULT_ACTION_DATA_0,
|
||||
}
|
||||
#[cfg(feature = "Win32_Devices_Properties")]
|
||||
impl ::core::marker::Copy for DEV_QUERY_RESULT_ACTION_DATA {}
|
||||
#[cfg(feature = "Win32_Devices_Properties")]
|
||||
impl ::core::clone::Clone for DEV_QUERY_RESULT_ACTION_DATA {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Devices_Properties\"`"]
|
||||
#[cfg(feature = "Win32_Devices_Properties")]
|
||||
pub union DEV_QUERY_RESULT_ACTION_DATA_0 {
|
||||
pub State: DEV_QUERY_STATE,
|
||||
pub DeviceObject: DEV_OBJECT,
|
||||
}
|
||||
#[cfg(feature = "Win32_Devices_Properties")]
|
||||
impl ::core::marker::Copy for DEV_QUERY_RESULT_ACTION_DATA_0 {}
|
||||
#[cfg(feature = "Win32_Devices_Properties")]
|
||||
impl ::core::clone::Clone for DEV_QUERY_RESULT_ACTION_DATA_0 {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
pub type HDEVQUERY = isize;
|
||||
#[doc = "Required features: `\"Win32_Devices_Properties\"`"]
|
||||
#[cfg(feature = "Win32_Devices_Properties")]
|
||||
pub type PDEV_QUERY_RESULT_CALLBACK = ::core::option::Option<unsafe extern "system" fn(hdevquery: HDEVQUERY, pcontext: *const ::core::ffi::c_void, pactiondata: *const DEV_QUERY_RESULT_ACTION_DATA) -> ()>;
|
||||
4802
third-party/vendor/windows-sys/src/Windows/Win32/Devices/Display/mod.rs
vendored
Normal file
4802
third-party/vendor/windows-sys/src/Windows/Win32/Devices/Display/mod.rs
vendored
Normal file
File diff suppressed because it is too large
Load diff
131
third-party/vendor/windows-sys/src/Windows/Win32/Devices/Enumeration/Pnp/mod.rs
vendored
Normal file
131
third-party/vendor/windows-sys/src/Windows/Win32/Devices/Enumeration/Pnp/mod.rs
vendored
Normal file
|
|
@ -0,0 +1,131 @@
|
|||
::windows_targets::link!("cfgmgr32.dll" "system" fn SwDeviceClose(hswdevice : HSWDEVICE) -> ());
|
||||
#[cfg(all(feature = "Win32_Devices_Properties", feature = "Win32_Foundation", feature = "Win32_Security"))]
|
||||
::windows_targets::link!("cfgmgr32.dll" "system" #[doc = "Required features: `\"Win32_Devices_Properties\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn SwDeviceCreate(pszenumeratorname : ::windows_sys::core::PCWSTR, pszparentdeviceinstance : ::windows_sys::core::PCWSTR, pcreateinfo : *const SW_DEVICE_CREATE_INFO, cpropertycount : u32, pproperties : *const super::super::Properties:: DEVPROPERTY, pcallback : SW_DEVICE_CREATE_CALLBACK, pcontext : *const ::core::ffi::c_void, phswdevice : *mut HSWDEVICE) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("cfgmgr32.dll" "system" fn SwDeviceGetLifetime(hswdevice : HSWDEVICE, plifetime : *mut SW_DEVICE_LIFETIME) -> ::windows_sys::core::HRESULT);
|
||||
#[cfg(feature = "Win32_Devices_Properties")]
|
||||
::windows_targets::link!("cfgmgr32.dll" "system" #[doc = "Required features: `\"Win32_Devices_Properties\"`"] fn SwDeviceInterfacePropertySet(hswdevice : HSWDEVICE, pszdeviceinterfaceid : ::windows_sys::core::PCWSTR, cpropertycount : u32, pproperties : *const super::super::Properties:: DEVPROPERTY) -> ::windows_sys::core::HRESULT);
|
||||
#[cfg(all(feature = "Win32_Devices_Properties", feature = "Win32_Foundation"))]
|
||||
::windows_targets::link!("cfgmgr32.dll" "system" #[doc = "Required features: `\"Win32_Devices_Properties\"`, `\"Win32_Foundation\"`"] fn SwDeviceInterfaceRegister(hswdevice : HSWDEVICE, pinterfaceclassguid : *const ::windows_sys::core::GUID, pszreferencestring : ::windows_sys::core::PCWSTR, cpropertycount : u32, pproperties : *const super::super::Properties:: DEVPROPERTY, fenabled : super::super::super::Foundation:: BOOL, ppszdeviceinterfaceid : *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("cfgmgr32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SwDeviceInterfaceSetState(hswdevice : HSWDEVICE, pszdeviceinterfaceid : ::windows_sys::core::PCWSTR, fenabled : super::super::super::Foundation:: BOOL) -> ::windows_sys::core::HRESULT);
|
||||
#[cfg(feature = "Win32_Devices_Properties")]
|
||||
::windows_targets::link!("cfgmgr32.dll" "system" #[doc = "Required features: `\"Win32_Devices_Properties\"`"] fn SwDevicePropertySet(hswdevice : HSWDEVICE, cpropertycount : u32, pproperties : *const super::super::Properties:: DEVPROPERTY) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("cfgmgr32.dll" "system" fn SwDeviceSetLifetime(hswdevice : HSWDEVICE, lifetime : SW_DEVICE_LIFETIME) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("cfgmgr32.dll" "system" fn SwMemFree(pmem : *const ::core::ffi::c_void) -> ());
|
||||
pub type IUPnPAddressFamilyControl = *mut ::core::ffi::c_void;
|
||||
pub type IUPnPAsyncResult = *mut ::core::ffi::c_void;
|
||||
pub type IUPnPDescriptionDocument = *mut ::core::ffi::c_void;
|
||||
pub type IUPnPDescriptionDocumentCallback = *mut ::core::ffi::c_void;
|
||||
pub type IUPnPDevice = *mut ::core::ffi::c_void;
|
||||
pub type IUPnPDeviceControl = *mut ::core::ffi::c_void;
|
||||
pub type IUPnPDeviceControlHttpHeaders = *mut ::core::ffi::c_void;
|
||||
pub type IUPnPDeviceDocumentAccess = *mut ::core::ffi::c_void;
|
||||
pub type IUPnPDeviceDocumentAccessEx = *mut ::core::ffi::c_void;
|
||||
pub type IUPnPDeviceFinder = *mut ::core::ffi::c_void;
|
||||
pub type IUPnPDeviceFinderAddCallbackWithInterface = *mut ::core::ffi::c_void;
|
||||
pub type IUPnPDeviceFinderCallback = *mut ::core::ffi::c_void;
|
||||
pub type IUPnPDeviceProvider = *mut ::core::ffi::c_void;
|
||||
pub type IUPnPDevices = *mut ::core::ffi::c_void;
|
||||
pub type IUPnPEventSink = *mut ::core::ffi::c_void;
|
||||
pub type IUPnPEventSource = *mut ::core::ffi::c_void;
|
||||
pub type IUPnPHttpHeaderControl = *mut ::core::ffi::c_void;
|
||||
pub type IUPnPRegistrar = *mut ::core::ffi::c_void;
|
||||
pub type IUPnPRemoteEndpointInfo = *mut ::core::ffi::c_void;
|
||||
pub type IUPnPReregistrar = *mut ::core::ffi::c_void;
|
||||
pub type IUPnPService = *mut ::core::ffi::c_void;
|
||||
pub type IUPnPServiceAsync = *mut ::core::ffi::c_void;
|
||||
pub type IUPnPServiceCallback = *mut ::core::ffi::c_void;
|
||||
pub type IUPnPServiceDocumentAccess = *mut ::core::ffi::c_void;
|
||||
pub type IUPnPServiceEnumProperty = *mut ::core::ffi::c_void;
|
||||
pub type IUPnPServices = *mut ::core::ffi::c_void;
|
||||
pub const ADDRESS_FAMILY_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("AddressFamily");
|
||||
pub const FAULT_ACTION_SPECIFIC_BASE: u32 = 600u32;
|
||||
pub const FAULT_ACTION_SPECIFIC_MAX: u32 = 899u32;
|
||||
pub const FAULT_DEVICE_INTERNAL_ERROR: u32 = 501u32;
|
||||
pub const FAULT_INVALID_ACTION: u32 = 401u32;
|
||||
pub const FAULT_INVALID_ARG: u32 = 402u32;
|
||||
pub const FAULT_INVALID_SEQUENCE_NUMBER: u32 = 403u32;
|
||||
pub const FAULT_INVALID_VARIABLE: u32 = 404u32;
|
||||
pub const REMOTE_ADDRESS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RemoteAddress");
|
||||
pub const SWDeviceCapabilitiesDriverRequired: SW_DEVICE_CAPABILITIES = 8i32;
|
||||
pub const SWDeviceCapabilitiesNoDisplayInUI: SW_DEVICE_CAPABILITIES = 4i32;
|
||||
pub const SWDeviceCapabilitiesNone: SW_DEVICE_CAPABILITIES = 0i32;
|
||||
pub const SWDeviceCapabilitiesRemovable: SW_DEVICE_CAPABILITIES = 1i32;
|
||||
pub const SWDeviceCapabilitiesSilentInstall: SW_DEVICE_CAPABILITIES = 2i32;
|
||||
pub const SWDeviceLifetimeHandle: SW_DEVICE_LIFETIME = 0i32;
|
||||
pub const SWDeviceLifetimeMax: SW_DEVICE_LIFETIME = 2i32;
|
||||
pub const SWDeviceLifetimeParentPresent: SW_DEVICE_LIFETIME = 1i32;
|
||||
pub const UPNP_ADDRESSFAMILY_BOTH: u32 = 3u32;
|
||||
pub const UPNP_ADDRESSFAMILY_IPv4: u32 = 1u32;
|
||||
pub const UPNP_ADDRESSFAMILY_IPv6: u32 = 2u32;
|
||||
pub const UPNP_E_ACTION_REQUEST_FAILED: ::windows_sys::core::HRESULT = -2147220976i32;
|
||||
pub const UPNP_E_ACTION_SPECIFIC_BASE: ::windows_sys::core::HRESULT = -2147220736i32;
|
||||
pub const UPNP_E_DEVICE_ELEMENT_EXPECTED: ::windows_sys::core::HRESULT = -2147220991i32;
|
||||
pub const UPNP_E_DEVICE_ERROR: ::windows_sys::core::HRESULT = -2147220972i32;
|
||||
pub const UPNP_E_DEVICE_NODE_INCOMPLETE: ::windows_sys::core::HRESULT = -2147220988i32;
|
||||
pub const UPNP_E_DEVICE_NOTREGISTERED: ::windows_sys::core::HRESULT = -2147180494i32;
|
||||
pub const UPNP_E_DEVICE_RUNNING: ::windows_sys::core::HRESULT = -2147180495i32;
|
||||
pub const UPNP_E_DEVICE_TIMEOUT: ::windows_sys::core::HRESULT = -2147220969i32;
|
||||
pub const UPNP_E_DUPLICATE_NOT_ALLOWED: ::windows_sys::core::HRESULT = -2147180511i32;
|
||||
pub const UPNP_E_DUPLICATE_SERVICE_ID: ::windows_sys::core::HRESULT = -2147180510i32;
|
||||
pub const UPNP_E_ERROR_PROCESSING_RESPONSE: ::windows_sys::core::HRESULT = -2147220970i32;
|
||||
pub const UPNP_E_EVENT_SUBSCRIPTION_FAILED: ::windows_sys::core::HRESULT = -2147220223i32;
|
||||
pub const UPNP_E_ICON_ELEMENT_EXPECTED: ::windows_sys::core::HRESULT = -2147220987i32;
|
||||
pub const UPNP_E_ICON_NODE_INCOMPLETE: ::windows_sys::core::HRESULT = -2147220986i32;
|
||||
pub const UPNP_E_INVALID_ACTION: ::windows_sys::core::HRESULT = -2147220985i32;
|
||||
pub const UPNP_E_INVALID_ARGUMENTS: ::windows_sys::core::HRESULT = -2147220984i32;
|
||||
pub const UPNP_E_INVALID_DESCRIPTION: ::windows_sys::core::HRESULT = -2147180509i32;
|
||||
pub const UPNP_E_INVALID_DOCUMENT: ::windows_sys::core::HRESULT = -2147220224i32;
|
||||
pub const UPNP_E_INVALID_ICON: ::windows_sys::core::HRESULT = -2147180507i32;
|
||||
pub const UPNP_E_INVALID_ROOT_NAMESPACE: ::windows_sys::core::HRESULT = -2147180505i32;
|
||||
pub const UPNP_E_INVALID_SERVICE: ::windows_sys::core::HRESULT = -2147180508i32;
|
||||
pub const UPNP_E_INVALID_VARIABLE: ::windows_sys::core::HRESULT = -2147220973i32;
|
||||
pub const UPNP_E_INVALID_XML: ::windows_sys::core::HRESULT = -2147180506i32;
|
||||
pub const UPNP_E_OUT_OF_SYNC: ::windows_sys::core::HRESULT = -2147220983i32;
|
||||
pub const UPNP_E_PROTOCOL_ERROR: ::windows_sys::core::HRESULT = -2147220971i32;
|
||||
pub const UPNP_E_REQUIRED_ELEMENT_ERROR: ::windows_sys::core::HRESULT = -2147180512i32;
|
||||
pub const UPNP_E_ROOT_ELEMENT_EXPECTED: ::windows_sys::core::HRESULT = -2147220992i32;
|
||||
pub const UPNP_E_SERVICE_ELEMENT_EXPECTED: ::windows_sys::core::HRESULT = -2147220990i32;
|
||||
pub const UPNP_E_SERVICE_NODE_INCOMPLETE: ::windows_sys::core::HRESULT = -2147220989i32;
|
||||
pub const UPNP_E_SUFFIX_TOO_LONG: ::windows_sys::core::HRESULT = -2147180504i32;
|
||||
pub const UPNP_E_TRANSPORT_ERROR: ::windows_sys::core::HRESULT = -2147220975i32;
|
||||
pub const UPNP_E_URLBASE_PRESENT: ::windows_sys::core::HRESULT = -2147180503i32;
|
||||
pub const UPNP_E_VALUE_TOO_LONG: ::windows_sys::core::HRESULT = -2147180496i32;
|
||||
pub const UPNP_E_VARIABLE_VALUE_UNKNOWN: ::windows_sys::core::HRESULT = -2147220974i32;
|
||||
pub const UPNP_SERVICE_DELAY_SCPD_AND_SUBSCRIPTION: u32 = 1u32;
|
||||
pub const UPnPDescriptionDocument: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x1d8a9b47_3a28_4ce2_8a4b_bd34e45bceeb);
|
||||
pub const UPnPDescriptionDocumentEx: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x33fd0563_d81a_4393_83cc_0195b1da2f91);
|
||||
pub const UPnPDevice: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xa32552c5_ba61_457a_b59a_a2561e125e33);
|
||||
pub const UPnPDeviceFinder: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xe2085f28_feb7_404a_b8e7_e659bdeaaa02);
|
||||
pub const UPnPDeviceFinderEx: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x181b54fc_380b_4a75_b3f1_4ac45e9605b0);
|
||||
pub const UPnPDevices: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xb9e84ffd_ad3c_40a4_b835_0882ebcbaaa8);
|
||||
pub const UPnPRegistrar: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x204810b9_73b2_11d4_bf42_00b0d0118b56);
|
||||
pub const UPnPRemoteEndpointInfo: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x2e5e84e9_4049_4244_b728_2d24227157c7);
|
||||
pub const UPnPService: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xc624ba95_fbcb_4409_8c03_8cceec533ef1);
|
||||
pub const UPnPServices: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xc0bc4b4a_a406_4efc_932f_b8546b8100cc);
|
||||
pub type SW_DEVICE_CAPABILITIES = i32;
|
||||
pub type SW_DEVICE_LIFETIME = i32;
|
||||
pub type HSWDEVICE = isize;
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"]
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))]
|
||||
pub struct SW_DEVICE_CREATE_INFO {
|
||||
pub cbSize: u32,
|
||||
pub pszInstanceId: ::windows_sys::core::PCWSTR,
|
||||
pub pszzHardwareIds: ::windows_sys::core::PCWSTR,
|
||||
pub pszzCompatibleIds: ::windows_sys::core::PCWSTR,
|
||||
pub pContainerId: *const ::windows_sys::core::GUID,
|
||||
pub CapabilityFlags: u32,
|
||||
pub pszDeviceDescription: ::windows_sys::core::PCWSTR,
|
||||
pub pszDeviceLocation: ::windows_sys::core::PCWSTR,
|
||||
pub pSecurityDescriptor: *const super::super::super::Security::SECURITY_DESCRIPTOR,
|
||||
}
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))]
|
||||
impl ::core::marker::Copy for SW_DEVICE_CREATE_INFO {}
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))]
|
||||
impl ::core::clone::Clone for SW_DEVICE_CREATE_INFO {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
pub type SW_DEVICE_CREATE_CALLBACK = ::core::option::Option<unsafe extern "system" fn(hswdevice: HSWDEVICE, createresult: ::windows_sys::core::HRESULT, pcontext: *const ::core::ffi::c_void, pszdeviceinstanceid: ::windows_sys::core::PCWSTR) -> ()>;
|
||||
3
third-party/vendor/windows-sys/src/Windows/Win32/Devices/Enumeration/mod.rs
vendored
Normal file
3
third-party/vendor/windows-sys/src/Windows/Win32/Devices/Enumeration/mod.rs
vendored
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
#[cfg(feature = "Win32_Devices_Enumeration_Pnp")]
|
||||
#[doc = "Required features: `\"Win32_Devices_Enumeration_Pnp\"`"]
|
||||
pub mod Pnp;
|
||||
1752
third-party/vendor/windows-sys/src/Windows/Win32/Devices/Fax/mod.rs
vendored
Normal file
1752
third-party/vendor/windows-sys/src/Windows/Win32/Devices/Fax/mod.rs
vendored
Normal file
File diff suppressed because it is too large
Load diff
4489
third-party/vendor/windows-sys/src/Windows/Win32/Devices/HumanInterfaceDevice/mod.rs
vendored
Normal file
4489
third-party/vendor/windows-sys/src/Windows/Win32/Devices/HumanInterfaceDevice/mod.rs
vendored
Normal file
File diff suppressed because it is too large
Load diff
2617
third-party/vendor/windows-sys/src/Windows/Win32/Devices/PortableDevices/mod.rs
vendored
Normal file
2617
third-party/vendor/windows-sys/src/Windows/Win32/Devices/PortableDevices/mod.rs
vendored
Normal file
File diff suppressed because it is too large
Load diff
274
third-party/vendor/windows-sys/src/Windows/Win32/Devices/Properties/mod.rs
vendored
Normal file
274
third-party/vendor/windows-sys/src/Windows/Win32/Devices/Properties/mod.rs
vendored
Normal file
|
|
@ -0,0 +1,274 @@
|
|||
pub const DEVPKEY_DevQuery_ObjectType: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x13673f42_a3d6_49f6_b4da_ae46e0c5237c), pid: 2 };
|
||||
pub const DEVPKEY_DeviceClass_Characteristics: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x4321918b_f69e_470d_a5de_4d88c75ad24b), pid: 29 };
|
||||
pub const DEVPKEY_DeviceClass_ClassCoInstallers: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x713d1703_a2e2_49f5_9214_56472ef3da5c), pid: 2 };
|
||||
pub const DEVPKEY_DeviceClass_ClassInstaller: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x259abffc_50a7_47ce_af08_68c9a7d73366), pid: 5 };
|
||||
pub const DEVPKEY_DeviceClass_ClassName: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x259abffc_50a7_47ce_af08_68c9a7d73366), pid: 3 };
|
||||
pub const DEVPKEY_DeviceClass_DHPRebalanceOptOut: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xd14d3ef3_66cf_4ba2_9d38_0ddb37ab4701), pid: 2 };
|
||||
pub const DEVPKEY_DeviceClass_DefaultService: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x259abffc_50a7_47ce_af08_68c9a7d73366), pid: 11 };
|
||||
pub const DEVPKEY_DeviceClass_DevType: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x4321918b_f69e_470d_a5de_4d88c75ad24b), pid: 27 };
|
||||
pub const DEVPKEY_DeviceClass_Exclusive: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x4321918b_f69e_470d_a5de_4d88c75ad24b), pid: 28 };
|
||||
pub const DEVPKEY_DeviceClass_Icon: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x259abffc_50a7_47ce_af08_68c9a7d73366), pid: 4 };
|
||||
pub const DEVPKEY_DeviceClass_IconPath: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x259abffc_50a7_47ce_af08_68c9a7d73366), pid: 12 };
|
||||
pub const DEVPKEY_DeviceClass_LowerFilters: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x4321918b_f69e_470d_a5de_4d88c75ad24b), pid: 20 };
|
||||
pub const DEVPKEY_DeviceClass_Name: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x259abffc_50a7_47ce_af08_68c9a7d73366), pid: 2 };
|
||||
pub const DEVPKEY_DeviceClass_NoDisplayClass: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x259abffc_50a7_47ce_af08_68c9a7d73366), pid: 8 };
|
||||
pub const DEVPKEY_DeviceClass_NoInstallClass: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x259abffc_50a7_47ce_af08_68c9a7d73366), pid: 7 };
|
||||
pub const DEVPKEY_DeviceClass_NoUseClass: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x259abffc_50a7_47ce_af08_68c9a7d73366), pid: 10 };
|
||||
pub const DEVPKEY_DeviceClass_PropPageProvider: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x259abffc_50a7_47ce_af08_68c9a7d73366), pid: 6 };
|
||||
pub const DEVPKEY_DeviceClass_Security: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x4321918b_f69e_470d_a5de_4d88c75ad24b), pid: 25 };
|
||||
pub const DEVPKEY_DeviceClass_SecuritySDS: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x4321918b_f69e_470d_a5de_4d88c75ad24b), pid: 26 };
|
||||
pub const DEVPKEY_DeviceClass_SilentInstall: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x259abffc_50a7_47ce_af08_68c9a7d73366), pid: 9 };
|
||||
pub const DEVPKEY_DeviceClass_UpperFilters: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x4321918b_f69e_470d_a5de_4d88c75ad24b), pid: 19 };
|
||||
pub const DEVPKEY_DeviceContainer_Address: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x78c34fc8_104a_4aca_9ea4_524d52996e57), pid: 51 };
|
||||
pub const DEVPKEY_DeviceContainer_AlwaysShowDeviceAsConnected: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x78c34fc8_104a_4aca_9ea4_524d52996e57), pid: 101 };
|
||||
pub const DEVPKEY_DeviceContainer_AssociationArray: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x78c34fc8_104a_4aca_9ea4_524d52996e57), pid: 80 };
|
||||
pub const DEVPKEY_DeviceContainer_BaselineExperienceId: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x78c34fc8_104a_4aca_9ea4_524d52996e57), pid: 78 };
|
||||
pub const DEVPKEY_DeviceContainer_Category: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x78c34fc8_104a_4aca_9ea4_524d52996e57), pid: 90 };
|
||||
pub const DEVPKEY_DeviceContainer_CategoryGroup_Desc: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x78c34fc8_104a_4aca_9ea4_524d52996e57), pid: 94 };
|
||||
pub const DEVPKEY_DeviceContainer_CategoryGroup_Icon: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x78c34fc8_104a_4aca_9ea4_524d52996e57), pid: 95 };
|
||||
pub const DEVPKEY_DeviceContainer_Category_Desc_Plural: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x78c34fc8_104a_4aca_9ea4_524d52996e57), pid: 92 };
|
||||
pub const DEVPKEY_DeviceContainer_Category_Desc_Singular: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x78c34fc8_104a_4aca_9ea4_524d52996e57), pid: 91 };
|
||||
pub const DEVPKEY_DeviceContainer_Category_Icon: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x78c34fc8_104a_4aca_9ea4_524d52996e57), pid: 93 };
|
||||
pub const DEVPKEY_DeviceContainer_ConfigFlags: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x78c34fc8_104a_4aca_9ea4_524d52996e57), pid: 105 };
|
||||
pub const DEVPKEY_DeviceContainer_CustomPrivilegedPackageFamilyNames: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x78c34fc8_104a_4aca_9ea4_524d52996e57), pid: 107 };
|
||||
pub const DEVPKEY_DeviceContainer_DeviceDescription1: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x78c34fc8_104a_4aca_9ea4_524d52996e57), pid: 81 };
|
||||
pub const DEVPKEY_DeviceContainer_DeviceDescription2: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x78c34fc8_104a_4aca_9ea4_524d52996e57), pid: 82 };
|
||||
pub const DEVPKEY_DeviceContainer_DeviceFunctionSubRank: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x78c34fc8_104a_4aca_9ea4_524d52996e57), pid: 100 };
|
||||
pub const DEVPKEY_DeviceContainer_DiscoveryMethod: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x78c34fc8_104a_4aca_9ea4_524d52996e57), pid: 52 };
|
||||
pub const DEVPKEY_DeviceContainer_ExperienceId: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x78c34fc8_104a_4aca_9ea4_524d52996e57), pid: 89 };
|
||||
pub const DEVPKEY_DeviceContainer_FriendlyName: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x656a3bb3_ecc0_43fd_8477_4ae0404a96cd), pid: 12288 };
|
||||
pub const DEVPKEY_DeviceContainer_HasProblem: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x78c34fc8_104a_4aca_9ea4_524d52996e57), pid: 83 };
|
||||
pub const DEVPKEY_DeviceContainer_Icon: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x78c34fc8_104a_4aca_9ea4_524d52996e57), pid: 57 };
|
||||
pub const DEVPKEY_DeviceContainer_InstallInProgress: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x83da6326_97a6_4088_9453_a1923f573b29), pid: 9 };
|
||||
pub const DEVPKEY_DeviceContainer_IsAuthenticated: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x78c34fc8_104a_4aca_9ea4_524d52996e57), pid: 54 };
|
||||
pub const DEVPKEY_DeviceContainer_IsConnected: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x78c34fc8_104a_4aca_9ea4_524d52996e57), pid: 55 };
|
||||
pub const DEVPKEY_DeviceContainer_IsDefaultDevice: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x78c34fc8_104a_4aca_9ea4_524d52996e57), pid: 86 };
|
||||
pub const DEVPKEY_DeviceContainer_IsDeviceUniquelyIdentifiable: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x78c34fc8_104a_4aca_9ea4_524d52996e57), pid: 79 };
|
||||
pub const DEVPKEY_DeviceContainer_IsEncrypted: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x78c34fc8_104a_4aca_9ea4_524d52996e57), pid: 53 };
|
||||
pub const DEVPKEY_DeviceContainer_IsLocalMachine: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x78c34fc8_104a_4aca_9ea4_524d52996e57), pid: 70 };
|
||||
pub const DEVPKEY_DeviceContainer_IsMetadataSearchInProgress: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x78c34fc8_104a_4aca_9ea4_524d52996e57), pid: 72 };
|
||||
pub const DEVPKEY_DeviceContainer_IsNetworkDevice: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x78c34fc8_104a_4aca_9ea4_524d52996e57), pid: 85 };
|
||||
pub const DEVPKEY_DeviceContainer_IsNotInterestingForDisplay: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x78c34fc8_104a_4aca_9ea4_524d52996e57), pid: 74 };
|
||||
pub const DEVPKEY_DeviceContainer_IsPaired: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x78c34fc8_104a_4aca_9ea4_524d52996e57), pid: 56 };
|
||||
pub const DEVPKEY_DeviceContainer_IsRebootRequired: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x78c34fc8_104a_4aca_9ea4_524d52996e57), pid: 108 };
|
||||
pub const DEVPKEY_DeviceContainer_IsSharedDevice: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x78c34fc8_104a_4aca_9ea4_524d52996e57), pid: 84 };
|
||||
pub const DEVPKEY_DeviceContainer_IsShowInDisconnectedState: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x78c34fc8_104a_4aca_9ea4_524d52996e57), pid: 68 };
|
||||
pub const DEVPKEY_DeviceContainer_Last_Connected: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x78c34fc8_104a_4aca_9ea4_524d52996e57), pid: 67 };
|
||||
pub const DEVPKEY_DeviceContainer_Last_Seen: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x78c34fc8_104a_4aca_9ea4_524d52996e57), pid: 66 };
|
||||
pub const DEVPKEY_DeviceContainer_LaunchDeviceStageFromExplorer: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x78c34fc8_104a_4aca_9ea4_524d52996e57), pid: 77 };
|
||||
pub const DEVPKEY_DeviceContainer_LaunchDeviceStageOnDeviceConnect: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x78c34fc8_104a_4aca_9ea4_524d52996e57), pid: 76 };
|
||||
pub const DEVPKEY_DeviceContainer_Manufacturer: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x656a3bb3_ecc0_43fd_8477_4ae0404a96cd), pid: 8192 };
|
||||
pub const DEVPKEY_DeviceContainer_MetadataCabinet: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x78c34fc8_104a_4aca_9ea4_524d52996e57), pid: 87 };
|
||||
pub const DEVPKEY_DeviceContainer_MetadataChecksum: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x78c34fc8_104a_4aca_9ea4_524d52996e57), pid: 73 };
|
||||
pub const DEVPKEY_DeviceContainer_MetadataPath: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x78c34fc8_104a_4aca_9ea4_524d52996e57), pid: 71 };
|
||||
pub const DEVPKEY_DeviceContainer_ModelName: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x656a3bb3_ecc0_43fd_8477_4ae0404a96cd), pid: 8194 };
|
||||
pub const DEVPKEY_DeviceContainer_ModelNumber: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x656a3bb3_ecc0_43fd_8477_4ae0404a96cd), pid: 8195 };
|
||||
pub const DEVPKEY_DeviceContainer_PrimaryCategory: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x78c34fc8_104a_4aca_9ea4_524d52996e57), pid: 97 };
|
||||
pub const DEVPKEY_DeviceContainer_PrivilegedPackageFamilyNames: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x78c34fc8_104a_4aca_9ea4_524d52996e57), pid: 106 };
|
||||
pub const DEVPKEY_DeviceContainer_RequiresPairingElevation: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x78c34fc8_104a_4aca_9ea4_524d52996e57), pid: 88 };
|
||||
pub const DEVPKEY_DeviceContainer_RequiresUninstallElevation: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x78c34fc8_104a_4aca_9ea4_524d52996e57), pid: 99 };
|
||||
pub const DEVPKEY_DeviceContainer_UnpairUninstall: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x78c34fc8_104a_4aca_9ea4_524d52996e57), pid: 98 };
|
||||
pub const DEVPKEY_DeviceContainer_Version: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x78c34fc8_104a_4aca_9ea4_524d52996e57), pid: 65 };
|
||||
pub const DEVPKEY_DeviceInterfaceClass_DefaultInterface: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x14c83a99_0b3f_44b7_be4c_a178d3990564), pid: 2 };
|
||||
pub const DEVPKEY_DeviceInterfaceClass_Name: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x14c83a99_0b3f_44b7_be4c_a178d3990564), pid: 3 };
|
||||
pub const DEVPKEY_DeviceInterface_Autoplay_Silent: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x434dd28f_9e75_450a_9ab9_ff61e618bad0), pid: 2 };
|
||||
pub const DEVPKEY_DeviceInterface_ClassGuid: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x026e516e_b814_414b_83cd_856d6fef4822), pid: 4 };
|
||||
pub const DEVPKEY_DeviceInterface_Enabled: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x026e516e_b814_414b_83cd_856d6fef4822), pid: 3 };
|
||||
pub const DEVPKEY_DeviceInterface_FriendlyName: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x026e516e_b814_414b_83cd_856d6fef4822), pid: 2 };
|
||||
pub const DEVPKEY_DeviceInterface_ReferenceString: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x026e516e_b814_414b_83cd_856d6fef4822), pid: 5 };
|
||||
pub const DEVPKEY_DeviceInterface_Restricted: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x026e516e_b814_414b_83cd_856d6fef4822), pid: 6 };
|
||||
pub const DEVPKEY_DeviceInterface_SchematicName: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x026e516e_b814_414b_83cd_856d6fef4822), pid: 9 };
|
||||
pub const DEVPKEY_DeviceInterface_UnrestrictedAppCapabilities: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x026e516e_b814_414b_83cd_856d6fef4822), pid: 8 };
|
||||
pub const DEVPKEY_Device_AdditionalSoftwareRequested: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xa8b865dd_2e3d_4094_ad97_e593a70c75d6), pid: 19 };
|
||||
pub const DEVPKEY_Device_Address: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xa45c254e_df1c_4efd_8020_67d146a850e0), pid: 30 };
|
||||
pub const DEVPKEY_Device_AssignedToGuest: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x540b947e_8b40_45bc_a8a2_6a0b894cbda2), pid: 24 };
|
||||
pub const DEVPKEY_Device_BaseContainerId: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xa45c254e_df1c_4efd_8020_67d146a850e0), pid: 38 };
|
||||
pub const DEVPKEY_Device_BiosDeviceName: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x540b947e_8b40_45bc_a8a2_6a0b894cbda2), pid: 10 };
|
||||
pub const DEVPKEY_Device_BusNumber: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xa45c254e_df1c_4efd_8020_67d146a850e0), pid: 23 };
|
||||
pub const DEVPKEY_Device_BusRelations: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x4340a6c5_93fa_4706_972c_7b648008a5a7), pid: 7 };
|
||||
pub const DEVPKEY_Device_BusReportedDeviceDesc: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x540b947e_8b40_45bc_a8a2_6a0b894cbda2), pid: 4 };
|
||||
pub const DEVPKEY_Device_BusTypeGuid: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xa45c254e_df1c_4efd_8020_67d146a850e0), pid: 21 };
|
||||
pub const DEVPKEY_Device_Capabilities: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xa45c254e_df1c_4efd_8020_67d146a850e0), pid: 17 };
|
||||
pub const DEVPKEY_Device_Characteristics: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xa45c254e_df1c_4efd_8020_67d146a850e0), pid: 29 };
|
||||
pub const DEVPKEY_Device_Children: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x4340a6c5_93fa_4706_972c_7b648008a5a7), pid: 9 };
|
||||
pub const DEVPKEY_Device_Class: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xa45c254e_df1c_4efd_8020_67d146a850e0), pid: 9 };
|
||||
pub const DEVPKEY_Device_ClassGuid: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xa45c254e_df1c_4efd_8020_67d146a850e0), pid: 10 };
|
||||
pub const DEVPKEY_Device_CompatibleIds: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xa45c254e_df1c_4efd_8020_67d146a850e0), pid: 4 };
|
||||
pub const DEVPKEY_Device_ConfigFlags: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xa45c254e_df1c_4efd_8020_67d146a850e0), pid: 12 };
|
||||
pub const DEVPKEY_Device_ConfigurationId: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x540b947e_8b40_45bc_a8a2_6a0b894cbda2), pid: 7 };
|
||||
pub const DEVPKEY_Device_ContainerId: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x8c7ed206_3f8a_4827_b3ab_ae9e1faefc6c), pid: 2 };
|
||||
pub const DEVPKEY_Device_CreatorProcessId: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x540b947e_8b40_45bc_a8a2_6a0b894cbda2), pid: 25 };
|
||||
pub const DEVPKEY_Device_DHP_Rebalance_Policy: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x540b947e_8b40_45bc_a8a2_6a0b894cbda2), pid: 2 };
|
||||
pub const DEVPKEY_Device_DebuggerSafe: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x540b947e_8b40_45bc_a8a2_6a0b894cbda2), pid: 12 };
|
||||
pub const DEVPKEY_Device_DependencyDependents: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x540b947e_8b40_45bc_a8a2_6a0b894cbda2), pid: 21 };
|
||||
pub const DEVPKEY_Device_DependencyProviders: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x540b947e_8b40_45bc_a8a2_6a0b894cbda2), pid: 20 };
|
||||
pub const DEVPKEY_Device_DevNodeStatus: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x4340a6c5_93fa_4706_972c_7b648008a5a7), pid: 2 };
|
||||
pub const DEVPKEY_Device_DevType: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xa45c254e_df1c_4efd_8020_67d146a850e0), pid: 27 };
|
||||
pub const DEVPKEY_Device_DeviceDesc: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xa45c254e_df1c_4efd_8020_67d146a850e0), pid: 2 };
|
||||
pub const DEVPKEY_Device_Driver: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xa45c254e_df1c_4efd_8020_67d146a850e0), pid: 11 };
|
||||
pub const DEVPKEY_Device_DriverCoInstallers: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xa8b865dd_2e3d_4094_ad97_e593a70c75d6), pid: 11 };
|
||||
pub const DEVPKEY_Device_DriverDate: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xa8b865dd_2e3d_4094_ad97_e593a70c75d6), pid: 2 };
|
||||
pub const DEVPKEY_Device_DriverDesc: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xa8b865dd_2e3d_4094_ad97_e593a70c75d6), pid: 4 };
|
||||
pub const DEVPKEY_Device_DriverInfPath: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xa8b865dd_2e3d_4094_ad97_e593a70c75d6), pid: 5 };
|
||||
pub const DEVPKEY_Device_DriverInfSection: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xa8b865dd_2e3d_4094_ad97_e593a70c75d6), pid: 6 };
|
||||
pub const DEVPKEY_Device_DriverInfSectionExt: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xa8b865dd_2e3d_4094_ad97_e593a70c75d6), pid: 7 };
|
||||
pub const DEVPKEY_Device_DriverLogoLevel: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xa8b865dd_2e3d_4094_ad97_e593a70c75d6), pid: 15 };
|
||||
pub const DEVPKEY_Device_DriverProblemDesc: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x540b947e_8b40_45bc_a8a2_6a0b894cbda2), pid: 11 };
|
||||
pub const DEVPKEY_Device_DriverPropPageProvider: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xa8b865dd_2e3d_4094_ad97_e593a70c75d6), pid: 10 };
|
||||
pub const DEVPKEY_Device_DriverProvider: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xa8b865dd_2e3d_4094_ad97_e593a70c75d6), pid: 9 };
|
||||
pub const DEVPKEY_Device_DriverRank: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xa8b865dd_2e3d_4094_ad97_e593a70c75d6), pid: 14 };
|
||||
pub const DEVPKEY_Device_DriverVersion: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xa8b865dd_2e3d_4094_ad97_e593a70c75d6), pid: 3 };
|
||||
pub const DEVPKEY_Device_EjectionRelations: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x4340a6c5_93fa_4706_972c_7b648008a5a7), pid: 4 };
|
||||
pub const DEVPKEY_Device_EnumeratorName: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xa45c254e_df1c_4efd_8020_67d146a850e0), pid: 24 };
|
||||
pub const DEVPKEY_Device_Exclusive: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xa45c254e_df1c_4efd_8020_67d146a850e0), pid: 28 };
|
||||
pub const DEVPKEY_Device_ExtendedAddress: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x540b947e_8b40_45bc_a8a2_6a0b894cbda2), pid: 23 };
|
||||
pub const DEVPKEY_Device_ExtendedConfigurationIds: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x540b947e_8b40_45bc_a8a2_6a0b894cbda2), pid: 15 };
|
||||
pub const DEVPKEY_Device_FirmwareDate: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x540b947e_8b40_45bc_a8a2_6a0b894cbda2), pid: 17 };
|
||||
pub const DEVPKEY_Device_FirmwareRevision: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x540b947e_8b40_45bc_a8a2_6a0b894cbda2), pid: 19 };
|
||||
pub const DEVPKEY_Device_FirmwareVendor: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x540b947e_8b40_45bc_a8a2_6a0b894cbda2), pid: 26 };
|
||||
pub const DEVPKEY_Device_FirmwareVersion: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x540b947e_8b40_45bc_a8a2_6a0b894cbda2), pid: 18 };
|
||||
pub const DEVPKEY_Device_FirstInstallDate: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x83da6326_97a6_4088_9453_a1923f573b29), pid: 101 };
|
||||
pub const DEVPKEY_Device_FriendlyName: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xa45c254e_df1c_4efd_8020_67d146a850e0), pid: 14 };
|
||||
pub const DEVPKEY_Device_FriendlyNameAttributes: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x80d81ea6_7473_4b0c_8216_efc11a2c4c8b), pid: 3 };
|
||||
pub const DEVPKEY_Device_GenericDriverInstalled: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xa8b865dd_2e3d_4094_ad97_e593a70c75d6), pid: 18 };
|
||||
pub const DEVPKEY_Device_HardwareIds: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xa45c254e_df1c_4efd_8020_67d146a850e0), pid: 3 };
|
||||
pub const DEVPKEY_Device_HasProblem: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x540b947e_8b40_45bc_a8a2_6a0b894cbda2), pid: 6 };
|
||||
pub const DEVPKEY_Device_InLocalMachineContainer: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x8c7ed206_3f8a_4827_b3ab_ae9e1faefc6c), pid: 4 };
|
||||
pub const DEVPKEY_Device_InstallDate: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x83da6326_97a6_4088_9453_a1923f573b29), pid: 100 };
|
||||
pub const DEVPKEY_Device_InstallState: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xa45c254e_df1c_4efd_8020_67d146a850e0), pid: 36 };
|
||||
pub const DEVPKEY_Device_InstanceId: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x78c34fc8_104a_4aca_9ea4_524d52996e57), pid: 256 };
|
||||
pub const DEVPKEY_Device_IsAssociateableByUserAction: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x80d81ea6_7473_4b0c_8216_efc11a2c4c8b), pid: 7 };
|
||||
pub const DEVPKEY_Device_IsPresent: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x540b947e_8b40_45bc_a8a2_6a0b894cbda2), pid: 5 };
|
||||
pub const DEVPKEY_Device_IsRebootRequired: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x540b947e_8b40_45bc_a8a2_6a0b894cbda2), pid: 16 };
|
||||
pub const DEVPKEY_Device_LastArrivalDate: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x83da6326_97a6_4088_9453_a1923f573b29), pid: 102 };
|
||||
pub const DEVPKEY_Device_LastRemovalDate: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x83da6326_97a6_4088_9453_a1923f573b29), pid: 103 };
|
||||
pub const DEVPKEY_Device_Legacy: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x80497100_8c73_48b9_aad9_ce387e19c56e), pid: 3 };
|
||||
pub const DEVPKEY_Device_LegacyBusType: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xa45c254e_df1c_4efd_8020_67d146a850e0), pid: 22 };
|
||||
pub const DEVPKEY_Device_LocationInfo: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xa45c254e_df1c_4efd_8020_67d146a850e0), pid: 15 };
|
||||
pub const DEVPKEY_Device_LocationPaths: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xa45c254e_df1c_4efd_8020_67d146a850e0), pid: 37 };
|
||||
pub const DEVPKEY_Device_LowerFilters: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xa45c254e_df1c_4efd_8020_67d146a850e0), pid: 20 };
|
||||
pub const DEVPKEY_Device_Manufacturer: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xa45c254e_df1c_4efd_8020_67d146a850e0), pid: 13 };
|
||||
pub const DEVPKEY_Device_ManufacturerAttributes: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x80d81ea6_7473_4b0c_8216_efc11a2c4c8b), pid: 4 };
|
||||
pub const DEVPKEY_Device_MatchingDeviceId: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xa8b865dd_2e3d_4094_ad97_e593a70c75d6), pid: 8 };
|
||||
pub const DEVPKEY_Device_Model: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x78c34fc8_104a_4aca_9ea4_524d52996e57), pid: 39 };
|
||||
pub const DEVPKEY_Device_ModelId: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x80d81ea6_7473_4b0c_8216_efc11a2c4c8b), pid: 2 };
|
||||
pub const DEVPKEY_Device_NoConnectSound: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xa8b865dd_2e3d_4094_ad97_e593a70c75d6), pid: 17 };
|
||||
pub const DEVPKEY_Device_Numa_Node: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x540b947e_8b40_45bc_a8a2_6a0b894cbda2), pid: 3 };
|
||||
pub const DEVPKEY_Device_Numa_Proximity_Domain: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x540b947e_8b40_45bc_a8a2_6a0b894cbda2), pid: 1 };
|
||||
pub const DEVPKEY_Device_PDOName: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xa45c254e_df1c_4efd_8020_67d146a850e0), pid: 16 };
|
||||
pub const DEVPKEY_Device_Parent: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x4340a6c5_93fa_4706_972c_7b648008a5a7), pid: 8 };
|
||||
pub const DEVPKEY_Device_PhysicalDeviceLocation: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x540b947e_8b40_45bc_a8a2_6a0b894cbda2), pid: 9 };
|
||||
pub const DEVPKEY_Device_PostInstallInProgress: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x540b947e_8b40_45bc_a8a2_6a0b894cbda2), pid: 13 };
|
||||
pub const DEVPKEY_Device_PowerData: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xa45c254e_df1c_4efd_8020_67d146a850e0), pid: 32 };
|
||||
pub const DEVPKEY_Device_PowerRelations: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x4340a6c5_93fa_4706_972c_7b648008a5a7), pid: 6 };
|
||||
pub const DEVPKEY_Device_PresenceNotForDevice: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x80d81ea6_7473_4b0c_8216_efc11a2c4c8b), pid: 5 };
|
||||
pub const DEVPKEY_Device_ProblemCode: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x4340a6c5_93fa_4706_972c_7b648008a5a7), pid: 3 };
|
||||
pub const DEVPKEY_Device_ProblemStatus: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x4340a6c5_93fa_4706_972c_7b648008a5a7), pid: 12 };
|
||||
pub const DEVPKEY_Device_RemovalPolicy: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xa45c254e_df1c_4efd_8020_67d146a850e0), pid: 33 };
|
||||
pub const DEVPKEY_Device_RemovalPolicyDefault: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xa45c254e_df1c_4efd_8020_67d146a850e0), pid: 34 };
|
||||
pub const DEVPKEY_Device_RemovalPolicyOverride: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xa45c254e_df1c_4efd_8020_67d146a850e0), pid: 35 };
|
||||
pub const DEVPKEY_Device_RemovalRelations: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x4340a6c5_93fa_4706_972c_7b648008a5a7), pid: 5 };
|
||||
pub const DEVPKEY_Device_Reported: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x80497100_8c73_48b9_aad9_ce387e19c56e), pid: 2 };
|
||||
pub const DEVPKEY_Device_ReportedDeviceIdsHash: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x540b947e_8b40_45bc_a8a2_6a0b894cbda2), pid: 8 };
|
||||
pub const DEVPKEY_Device_ResourcePickerExceptions: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xa8b865dd_2e3d_4094_ad97_e593a70c75d6), pid: 13 };
|
||||
pub const DEVPKEY_Device_ResourcePickerTags: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xa8b865dd_2e3d_4094_ad97_e593a70c75d6), pid: 12 };
|
||||
pub const DEVPKEY_Device_SafeRemovalRequired: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xafd97640_86a3_4210_b67c_289c41aabe55), pid: 2 };
|
||||
pub const DEVPKEY_Device_SafeRemovalRequiredOverride: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xafd97640_86a3_4210_b67c_289c41aabe55), pid: 3 };
|
||||
pub const DEVPKEY_Device_Security: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xa45c254e_df1c_4efd_8020_67d146a850e0), pid: 25 };
|
||||
pub const DEVPKEY_Device_SecuritySDS: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xa45c254e_df1c_4efd_8020_67d146a850e0), pid: 26 };
|
||||
pub const DEVPKEY_Device_Service: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xa45c254e_df1c_4efd_8020_67d146a850e0), pid: 6 };
|
||||
pub const DEVPKEY_Device_SessionId: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x83da6326_97a6_4088_9453_a1923f573b29), pid: 6 };
|
||||
pub const DEVPKEY_Device_ShowInUninstallUI: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x80d81ea6_7473_4b0c_8216_efc11a2c4c8b), pid: 8 };
|
||||
pub const DEVPKEY_Device_Siblings: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x4340a6c5_93fa_4706_972c_7b648008a5a7), pid: 10 };
|
||||
pub const DEVPKEY_Device_SignalStrength: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x80d81ea6_7473_4b0c_8216_efc11a2c4c8b), pid: 6 };
|
||||
pub const DEVPKEY_Device_SoftRestartSupported: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x540b947e_8b40_45bc_a8a2_6a0b894cbda2), pid: 22 };
|
||||
pub const DEVPKEY_Device_Stack: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x540b947e_8b40_45bc_a8a2_6a0b894cbda2), pid: 14 };
|
||||
pub const DEVPKEY_Device_TransportRelations: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x4340a6c5_93fa_4706_972c_7b648008a5a7), pid: 11 };
|
||||
pub const DEVPKEY_Device_UINumber: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xa45c254e_df1c_4efd_8020_67d146a850e0), pid: 18 };
|
||||
pub const DEVPKEY_Device_UINumberDescFormat: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xa45c254e_df1c_4efd_8020_67d146a850e0), pid: 31 };
|
||||
pub const DEVPKEY_Device_UpperFilters: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xa45c254e_df1c_4efd_8020_67d146a850e0), pid: 19 };
|
||||
pub const DEVPKEY_DrvPkg_BrandingIcon: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xcf73bb51_3abf_44a2_85e0_9a3dc7a12132), pid: 7 };
|
||||
pub const DEVPKEY_DrvPkg_DetailedDescription: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xcf73bb51_3abf_44a2_85e0_9a3dc7a12132), pid: 4 };
|
||||
pub const DEVPKEY_DrvPkg_DocumentationLink: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xcf73bb51_3abf_44a2_85e0_9a3dc7a12132), pid: 5 };
|
||||
pub const DEVPKEY_DrvPkg_Icon: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xcf73bb51_3abf_44a2_85e0_9a3dc7a12132), pid: 6 };
|
||||
pub const DEVPKEY_DrvPkg_Model: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xcf73bb51_3abf_44a2_85e0_9a3dc7a12132), pid: 2 };
|
||||
pub const DEVPKEY_DrvPkg_VendorWebSite: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xcf73bb51_3abf_44a2_85e0_9a3dc7a12132), pid: 3 };
|
||||
pub const DEVPKEY_NAME: DEVPROPKEY = DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xb725f130_47ef_101a_a5f1_02608c9eebac), pid: 10 };
|
||||
pub const DEVPROPID_FIRST_USABLE: u32 = 2u32;
|
||||
pub const DEVPROP_FALSE: DEVPROP_BOOLEAN = 0u8;
|
||||
pub const DEVPROP_MASK_TYPE: u32 = 4095u32;
|
||||
pub const DEVPROP_MASK_TYPEMOD: u32 = 61440u32;
|
||||
pub const DEVPROP_STORE_SYSTEM: DEVPROPSTORE = 0i32;
|
||||
pub const DEVPROP_STORE_USER: DEVPROPSTORE = 1i32;
|
||||
pub const DEVPROP_TRUE: DEVPROP_BOOLEAN = 255u8;
|
||||
pub const DEVPROP_TYPEMOD_ARRAY: u32 = 4096u32;
|
||||
pub const DEVPROP_TYPEMOD_LIST: u32 = 8192u32;
|
||||
pub const DEVPROP_TYPE_BINARY: DEVPROPTYPE = 4099u32;
|
||||
pub const DEVPROP_TYPE_BOOLEAN: DEVPROPTYPE = 17u32;
|
||||
pub const DEVPROP_TYPE_BYTE: DEVPROPTYPE = 3u32;
|
||||
pub const DEVPROP_TYPE_CURRENCY: DEVPROPTYPE = 14u32;
|
||||
pub const DEVPROP_TYPE_DATE: DEVPROPTYPE = 15u32;
|
||||
pub const DEVPROP_TYPE_DECIMAL: DEVPROPTYPE = 12u32;
|
||||
pub const DEVPROP_TYPE_DEVPROPKEY: DEVPROPTYPE = 21u32;
|
||||
pub const DEVPROP_TYPE_DEVPROPTYPE: DEVPROPTYPE = 22u32;
|
||||
pub const DEVPROP_TYPE_DOUBLE: DEVPROPTYPE = 11u32;
|
||||
pub const DEVPROP_TYPE_EMPTY: DEVPROPTYPE = 0u32;
|
||||
pub const DEVPROP_TYPE_ERROR: DEVPROPTYPE = 23u32;
|
||||
pub const DEVPROP_TYPE_FILETIME: DEVPROPTYPE = 16u32;
|
||||
pub const DEVPROP_TYPE_FLOAT: DEVPROPTYPE = 10u32;
|
||||
pub const DEVPROP_TYPE_GUID: DEVPROPTYPE = 13u32;
|
||||
pub const DEVPROP_TYPE_INT16: DEVPROPTYPE = 4u32;
|
||||
pub const DEVPROP_TYPE_INT32: DEVPROPTYPE = 6u32;
|
||||
pub const DEVPROP_TYPE_INT64: DEVPROPTYPE = 8u32;
|
||||
pub const DEVPROP_TYPE_NTSTATUS: DEVPROPTYPE = 24u32;
|
||||
pub const DEVPROP_TYPE_NULL: DEVPROPTYPE = 1u32;
|
||||
pub const DEVPROP_TYPE_SBYTE: DEVPROPTYPE = 2u32;
|
||||
pub const DEVPROP_TYPE_SECURITY_DESCRIPTOR: DEVPROPTYPE = 19u32;
|
||||
pub const DEVPROP_TYPE_SECURITY_DESCRIPTOR_STRING: DEVPROPTYPE = 20u32;
|
||||
pub const DEVPROP_TYPE_STRING: DEVPROPTYPE = 18u32;
|
||||
pub const DEVPROP_TYPE_STRING_INDIRECT: DEVPROPTYPE = 25u32;
|
||||
pub const DEVPROP_TYPE_STRING_LIST: DEVPROPTYPE = 8210u32;
|
||||
pub const DEVPROP_TYPE_UINT16: DEVPROPTYPE = 5u32;
|
||||
pub const DEVPROP_TYPE_UINT32: DEVPROPTYPE = 7u32;
|
||||
pub const DEVPROP_TYPE_UINT64: DEVPROPTYPE = 9u32;
|
||||
pub const MAX_DEVPROP_TYPE: u32 = 25u32;
|
||||
pub const MAX_DEVPROP_TYPEMOD: u32 = 8192u32;
|
||||
pub type DEVPROPSTORE = i32;
|
||||
pub type DEVPROPTYPE = u32;
|
||||
#[repr(C)]
|
||||
pub struct DEVPROPCOMPKEY {
|
||||
pub Key: DEVPROPKEY,
|
||||
pub Store: DEVPROPSTORE,
|
||||
pub LocaleName: ::windows_sys::core::PCWSTR,
|
||||
}
|
||||
impl ::core::marker::Copy for DEVPROPCOMPKEY {}
|
||||
impl ::core::clone::Clone for DEVPROPCOMPKEY {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct DEVPROPERTY {
|
||||
pub CompKey: DEVPROPCOMPKEY,
|
||||
pub Type: DEVPROPTYPE,
|
||||
pub BufferSize: u32,
|
||||
pub Buffer: *mut ::core::ffi::c_void,
|
||||
}
|
||||
impl ::core::marker::Copy for DEVPROPERTY {}
|
||||
impl ::core::clone::Clone for DEVPROPERTY {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct DEVPROPKEY {
|
||||
pub fmtid: ::windows_sys::core::GUID,
|
||||
pub pid: u32,
|
||||
}
|
||||
impl ::core::marker::Copy for DEVPROPKEY {}
|
||||
impl ::core::clone::Clone for DEVPROPKEY {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
pub type DEVPROP_BOOLEAN = u8;
|
||||
122
third-party/vendor/windows-sys/src/Windows/Win32/Devices/Pwm/mod.rs
vendored
Normal file
122
third-party/vendor/windows-sys/src/Windows/Win32/Devices/Pwm/mod.rs
vendored
Normal file
|
|
@ -0,0 +1,122 @@
|
|||
pub const GUID_DEVINTERFACE_PWM_CONTROLLER: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x60824b4c_eed1_4c9c_b49c_1b961461a819);
|
||||
pub const GUID_DEVINTERFACE_PWM_CONTROLLER_WSZ: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("{60824B4C-EED1-4C9C-B49C-1B961461A819}");
|
||||
pub const IOCTL_PWM_CONTROLLER_GET_ACTUAL_PERIOD: u32 = 262148u32;
|
||||
pub const IOCTL_PWM_CONTROLLER_GET_INFO: u32 = 262144u32;
|
||||
pub const IOCTL_PWM_CONTROLLER_SET_DESIRED_PERIOD: u32 = 294920u32;
|
||||
pub const IOCTL_PWM_PIN_GET_ACTIVE_DUTY_CYCLE_PERCENTAGE: u32 = 262544u32;
|
||||
pub const IOCTL_PWM_PIN_GET_POLARITY: u32 = 262552u32;
|
||||
pub const IOCTL_PWM_PIN_IS_STARTED: u32 = 262568u32;
|
||||
pub const IOCTL_PWM_PIN_SET_ACTIVE_DUTY_CYCLE_PERCENTAGE: u32 = 295316u32;
|
||||
pub const IOCTL_PWM_PIN_SET_POLARITY: u32 = 295324u32;
|
||||
pub const IOCTL_PWM_PIN_START: u32 = 295331u32;
|
||||
pub const IOCTL_PWM_PIN_STOP: u32 = 295335u32;
|
||||
pub const PWM_ACTIVE_HIGH: PWM_POLARITY = 0i32;
|
||||
pub const PWM_ACTIVE_LOW: PWM_POLARITY = 1i32;
|
||||
pub const PWM_IOCTL_ID_CONTROLLER_GET_ACTUAL_PERIOD: i32 = 1i32;
|
||||
pub const PWM_IOCTL_ID_CONTROLLER_GET_INFO: i32 = 0i32;
|
||||
pub const PWM_IOCTL_ID_CONTROLLER_SET_DESIRED_PERIOD: i32 = 2i32;
|
||||
pub const PWM_IOCTL_ID_PIN_GET_ACTIVE_DUTY_CYCLE_PERCENTAGE: i32 = 100i32;
|
||||
pub const PWM_IOCTL_ID_PIN_GET_POLARITY: i32 = 102i32;
|
||||
pub const PWM_IOCTL_ID_PIN_IS_STARTED: i32 = 106i32;
|
||||
pub const PWM_IOCTL_ID_PIN_SET_ACTIVE_DUTY_CYCLE_PERCENTAGE: i32 = 101i32;
|
||||
pub const PWM_IOCTL_ID_PIN_SET_POLARITY: i32 = 103i32;
|
||||
pub const PWM_IOCTL_ID_PIN_START: i32 = 104i32;
|
||||
pub const PWM_IOCTL_ID_PIN_STOP: i32 = 105i32;
|
||||
pub type PWM_POLARITY = i32;
|
||||
#[repr(C)]
|
||||
pub struct PWM_CONTROLLER_GET_ACTUAL_PERIOD_OUTPUT {
|
||||
pub ActualPeriod: u64,
|
||||
}
|
||||
impl ::core::marker::Copy for PWM_CONTROLLER_GET_ACTUAL_PERIOD_OUTPUT {}
|
||||
impl ::core::clone::Clone for PWM_CONTROLLER_GET_ACTUAL_PERIOD_OUTPUT {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct PWM_CONTROLLER_INFO {
|
||||
pub Size: usize,
|
||||
pub PinCount: u32,
|
||||
pub MinimumPeriod: u64,
|
||||
pub MaximumPeriod: u64,
|
||||
}
|
||||
impl ::core::marker::Copy for PWM_CONTROLLER_INFO {}
|
||||
impl ::core::clone::Clone for PWM_CONTROLLER_INFO {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct PWM_CONTROLLER_SET_DESIRED_PERIOD_INPUT {
|
||||
pub DesiredPeriod: u64,
|
||||
}
|
||||
impl ::core::marker::Copy for PWM_CONTROLLER_SET_DESIRED_PERIOD_INPUT {}
|
||||
impl ::core::clone::Clone for PWM_CONTROLLER_SET_DESIRED_PERIOD_INPUT {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct PWM_CONTROLLER_SET_DESIRED_PERIOD_OUTPUT {
|
||||
pub ActualPeriod: u64,
|
||||
}
|
||||
impl ::core::marker::Copy for PWM_CONTROLLER_SET_DESIRED_PERIOD_OUTPUT {}
|
||||
impl ::core::clone::Clone for PWM_CONTROLLER_SET_DESIRED_PERIOD_OUTPUT {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct PWM_PIN_GET_ACTIVE_DUTY_CYCLE_PERCENTAGE_OUTPUT {
|
||||
pub Percentage: u64,
|
||||
}
|
||||
impl ::core::marker::Copy for PWM_PIN_GET_ACTIVE_DUTY_CYCLE_PERCENTAGE_OUTPUT {}
|
||||
impl ::core::clone::Clone for PWM_PIN_GET_ACTIVE_DUTY_CYCLE_PERCENTAGE_OUTPUT {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct PWM_PIN_GET_POLARITY_OUTPUT {
|
||||
pub Polarity: PWM_POLARITY,
|
||||
}
|
||||
impl ::core::marker::Copy for PWM_PIN_GET_POLARITY_OUTPUT {}
|
||||
impl ::core::clone::Clone for PWM_PIN_GET_POLARITY_OUTPUT {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub struct PWM_PIN_IS_STARTED_OUTPUT {
|
||||
pub IsStarted: super::super::Foundation::BOOLEAN,
|
||||
}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::marker::Copy for PWM_PIN_IS_STARTED_OUTPUT {}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::clone::Clone for PWM_PIN_IS_STARTED_OUTPUT {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct PWM_PIN_SET_ACTIVE_DUTY_CYCLE_PERCENTAGE_INPUT {
|
||||
pub Percentage: u64,
|
||||
}
|
||||
impl ::core::marker::Copy for PWM_PIN_SET_ACTIVE_DUTY_CYCLE_PERCENTAGE_INPUT {}
|
||||
impl ::core::clone::Clone for PWM_PIN_SET_ACTIVE_DUTY_CYCLE_PERCENTAGE_INPUT {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct PWM_PIN_SET_POLARITY_INPUT {
|
||||
pub Polarity: PWM_POLARITY,
|
||||
}
|
||||
impl ::core::marker::Copy for PWM_PIN_SET_POLARITY_INPUT {}
|
||||
impl ::core::clone::Clone for PWM_PIN_SET_POLARITY_INPUT {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
907
third-party/vendor/windows-sys/src/Windows/Win32/Devices/Sensors/mod.rs
vendored
Normal file
907
third-party/vendor/windows-sys/src/Windows/Win32/Devices/Sensors/mod.rs
vendored
Normal file
|
|
@ -0,0 +1,907 @@
|
|||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant", feature = "Win32_UI_Shell_PropertiesSystem"))]
|
||||
::windows_targets::link!("sensorsutilsv2.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`"] fn CollectionsListAllocateBufferAndSerialize(sourcecollection : *const SENSOR_COLLECTION_LIST, ptargetbuffersizeinbytes : *mut u32, ptargetbuffer : *mut *mut u8) -> super::super::Foundation:: NTSTATUS);
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant", feature = "Win32_UI_Shell_PropertiesSystem"))]
|
||||
::windows_targets::link!("sensorsutilsv2.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`"] fn CollectionsListCopyAndMarshall(target : *mut SENSOR_COLLECTION_LIST, source : *const SENSOR_COLLECTION_LIST) -> super::super::Foundation:: NTSTATUS);
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant", feature = "Win32_UI_Shell_PropertiesSystem"))]
|
||||
::windows_targets::link!("sensorsutilsv2.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`"] fn CollectionsListDeserializeFromBuffer(sourcebuffersizeinbytes : u32, sourcebuffer : *const u8, targetcollection : *mut SENSOR_COLLECTION_LIST) -> super::super::Foundation:: NTSTATUS);
|
||||
::windows_targets::link!("sensorsutilsv2.dll" "system" fn CollectionsListGetFillableCount(buffersizebytes : u32) -> u32);
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant", feature = "Win32_UI_Shell_PropertiesSystem"))]
|
||||
::windows_targets::link!("sensorsutilsv2.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`"] fn CollectionsListGetMarshalledSize(collection : *const SENSOR_COLLECTION_LIST) -> u32);
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant", feature = "Win32_UI_Shell_PropertiesSystem"))]
|
||||
::windows_targets::link!("sensorsutilsv2.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`"] fn CollectionsListGetMarshalledSizeWithoutSerialization(collection : *const SENSOR_COLLECTION_LIST) -> u32);
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant", feature = "Win32_UI_Shell_PropertiesSystem"))]
|
||||
::windows_targets::link!("sensorsutilsv2.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`"] fn CollectionsListGetSerializedSize(collection : *const SENSOR_COLLECTION_LIST) -> u32);
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant", feature = "Win32_UI_Shell_PropertiesSystem"))]
|
||||
::windows_targets::link!("sensorsutilsv2.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`"] fn CollectionsListMarshall(target : *mut SENSOR_COLLECTION_LIST) -> super::super::Foundation:: NTSTATUS);
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant", feature = "Win32_UI_Shell_PropertiesSystem"))]
|
||||
::windows_targets::link!("sensorsutilsv2.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`"] fn CollectionsListSerializeToBuffer(sourcecollection : *const SENSOR_COLLECTION_LIST, targetbuffersizeinbytes : u32, targetbuffer : *mut u8) -> super::super::Foundation:: NTSTATUS);
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant", feature = "Win32_UI_Shell_PropertiesSystem"))]
|
||||
::windows_targets::link!("sensorsutilsv2.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`"] fn CollectionsListSortSubscribedActivitiesByConfidence(thresholds : *const SENSOR_COLLECTION_LIST, pcollection : *mut SENSOR_COLLECTION_LIST) -> super::super::Foundation:: NTSTATUS);
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant", feature = "Win32_UI_Shell_PropertiesSystem"))]
|
||||
::windows_targets::link!("sensorsutilsv2.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`"] fn CollectionsListUpdateMarshalledPointer(collection : *mut SENSOR_COLLECTION_LIST) -> super::super::Foundation:: NTSTATUS);
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant", feature = "Win32_UI_Shell_PropertiesSystem"))]
|
||||
::windows_targets::link!("sensorsutilsv2.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`"] fn EvaluateActivityThresholds(newsample : *const SENSOR_COLLECTION_LIST, oldsample : *const SENSOR_COLLECTION_LIST, thresholds : *const SENSOR_COLLECTION_LIST) -> super::super::Foundation:: BOOLEAN);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("sensorsutilsv2.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetPerformanceTime(timems : *mut u32) -> super::super::Foundation:: NTSTATUS);
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant"))]
|
||||
::windows_targets::link!("sensorsutilsv2.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] fn InitPropVariantFromCLSIDArray(members : *const ::windows_sys::core::GUID, size : u32, ppropvar : *mut super::super::System::Com::StructuredStorage:: PROPVARIANT) -> ::windows_sys::core::HRESULT);
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant"))]
|
||||
::windows_targets::link!("sensorsutilsv2.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] fn InitPropVariantFromFloat(fltval : f32, ppropvar : *mut super::super::System::Com::StructuredStorage:: PROPVARIANT) -> ::windows_sys::core::HRESULT);
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant", feature = "Win32_UI_Shell_PropertiesSystem"))]
|
||||
::windows_targets::link!("sensorsutilsv2.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`"] fn IsCollectionListSame(lista : *const SENSOR_COLLECTION_LIST, listb : *const SENSOR_COLLECTION_LIST) -> super::super::Foundation:: BOOLEAN);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("sensorsutilsv2.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn IsGUIDPresentInList(guidarray : *const ::windows_sys::core::GUID, arraylength : u32, guidelem : *const ::windows_sys::core::GUID) -> super::super::Foundation:: BOOLEAN);
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant", feature = "Win32_UI_Shell_PropertiesSystem"))]
|
||||
::windows_targets::link!("sensorsutilsv2.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`"] fn IsKeyPresentInCollectionList(plist : *const SENSOR_COLLECTION_LIST, pkey : *const super::super::UI::Shell::PropertiesSystem:: PROPERTYKEY) -> super::super::Foundation:: BOOLEAN);
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Shell_PropertiesSystem"))]
|
||||
::windows_targets::link!("sensorsutilsv2.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_UI_Shell_PropertiesSystem\"`"] fn IsKeyPresentInPropertyList(plist : *const SENSOR_PROPERTY_LIST, pkey : *const super::super::UI::Shell::PropertiesSystem:: PROPERTYKEY) -> super::super::Foundation:: BOOLEAN);
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant", feature = "Win32_UI_Shell_PropertiesSystem"))]
|
||||
::windows_targets::link!("sensorsutilsv2.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`"] fn IsSensorSubscribed(subscriptionlist : *const SENSOR_COLLECTION_LIST, currenttype : ::windows_sys::core::GUID) -> super::super::Foundation:: BOOLEAN);
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant", feature = "Win32_UI_Shell_PropertiesSystem"))]
|
||||
::windows_targets::link!("sensorsutilsv2.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`"] fn PropKeyFindKeyGetBool(plist : *const SENSOR_COLLECTION_LIST, pkey : *const super::super::UI::Shell::PropertiesSystem:: PROPERTYKEY, pretvalue : *mut super::super::Foundation:: BOOL) -> super::super::Foundation:: NTSTATUS);
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant", feature = "Win32_UI_Shell_PropertiesSystem"))]
|
||||
::windows_targets::link!("sensorsutilsv2.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`"] fn PropKeyFindKeyGetDouble(plist : *const SENSOR_COLLECTION_LIST, pkey : *const super::super::UI::Shell::PropertiesSystem:: PROPERTYKEY, pretvalue : *mut f64) -> super::super::Foundation:: NTSTATUS);
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant", feature = "Win32_UI_Shell_PropertiesSystem"))]
|
||||
::windows_targets::link!("sensorsutilsv2.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`"] fn PropKeyFindKeyGetFileTime(plist : *const SENSOR_COLLECTION_LIST, pkey : *const super::super::UI::Shell::PropertiesSystem:: PROPERTYKEY, pretvalue : *mut super::super::Foundation:: FILETIME) -> super::super::Foundation:: NTSTATUS);
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant", feature = "Win32_UI_Shell_PropertiesSystem"))]
|
||||
::windows_targets::link!("sensorsutilsv2.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`"] fn PropKeyFindKeyGetFloat(plist : *const SENSOR_COLLECTION_LIST, pkey : *const super::super::UI::Shell::PropertiesSystem:: PROPERTYKEY, pretvalue : *mut f32) -> super::super::Foundation:: NTSTATUS);
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant", feature = "Win32_UI_Shell_PropertiesSystem"))]
|
||||
::windows_targets::link!("sensorsutilsv2.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`"] fn PropKeyFindKeyGetGuid(plist : *const SENSOR_COLLECTION_LIST, pkey : *const super::super::UI::Shell::PropertiesSystem:: PROPERTYKEY, pretvalue : *mut ::windows_sys::core::GUID) -> super::super::Foundation:: NTSTATUS);
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant", feature = "Win32_UI_Shell_PropertiesSystem"))]
|
||||
::windows_targets::link!("sensorsutilsv2.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`"] fn PropKeyFindKeyGetInt32(plist : *const SENSOR_COLLECTION_LIST, pkey : *const super::super::UI::Shell::PropertiesSystem:: PROPERTYKEY, pretvalue : *mut i32) -> super::super::Foundation:: NTSTATUS);
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant", feature = "Win32_UI_Shell_PropertiesSystem"))]
|
||||
::windows_targets::link!("sensorsutilsv2.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`"] fn PropKeyFindKeyGetInt64(plist : *const SENSOR_COLLECTION_LIST, pkey : *const super::super::UI::Shell::PropertiesSystem:: PROPERTYKEY, pretvalue : *mut i64) -> super::super::Foundation:: NTSTATUS);
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant", feature = "Win32_UI_Shell_PropertiesSystem"))]
|
||||
::windows_targets::link!("sensorsutilsv2.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`"] fn PropKeyFindKeyGetNthInt64(plist : *const SENSOR_COLLECTION_LIST, pkey : *const super::super::UI::Shell::PropertiesSystem:: PROPERTYKEY, occurrence : u32, pretvalue : *mut i64) -> super::super::Foundation:: NTSTATUS);
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant", feature = "Win32_UI_Shell_PropertiesSystem"))]
|
||||
::windows_targets::link!("sensorsutilsv2.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`"] fn PropKeyFindKeyGetNthUlong(plist : *const SENSOR_COLLECTION_LIST, pkey : *const super::super::UI::Shell::PropertiesSystem:: PROPERTYKEY, occurrence : u32, pretvalue : *mut u32) -> super::super::Foundation:: NTSTATUS);
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant", feature = "Win32_UI_Shell_PropertiesSystem"))]
|
||||
::windows_targets::link!("sensorsutilsv2.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`"] fn PropKeyFindKeyGetNthUshort(plist : *const SENSOR_COLLECTION_LIST, pkey : *const super::super::UI::Shell::PropertiesSystem:: PROPERTYKEY, occurrence : u32, pretvalue : *mut u16) -> super::super::Foundation:: NTSTATUS);
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant", feature = "Win32_UI_Shell_PropertiesSystem"))]
|
||||
::windows_targets::link!("sensorsutilsv2.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`"] fn PropKeyFindKeyGetPropVariant(plist : *const SENSOR_COLLECTION_LIST, pkey : *const super::super::UI::Shell::PropertiesSystem:: PROPERTYKEY, typecheck : super::super::Foundation:: BOOLEAN, pvalue : *mut super::super::System::Com::StructuredStorage:: PROPVARIANT) -> super::super::Foundation:: NTSTATUS);
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant", feature = "Win32_UI_Shell_PropertiesSystem"))]
|
||||
::windows_targets::link!("sensorsutilsv2.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`"] fn PropKeyFindKeyGetUlong(plist : *const SENSOR_COLLECTION_LIST, pkey : *const super::super::UI::Shell::PropertiesSystem:: PROPERTYKEY, pretvalue : *mut u32) -> super::super::Foundation:: NTSTATUS);
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant", feature = "Win32_UI_Shell_PropertiesSystem"))]
|
||||
::windows_targets::link!("sensorsutilsv2.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`"] fn PropKeyFindKeyGetUshort(plist : *const SENSOR_COLLECTION_LIST, pkey : *const super::super::UI::Shell::PropertiesSystem:: PROPERTYKEY, pretvalue : *mut u16) -> super::super::Foundation:: NTSTATUS);
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant", feature = "Win32_UI_Shell_PropertiesSystem"))]
|
||||
::windows_targets::link!("sensorsutilsv2.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`"] fn PropKeyFindKeySetPropVariant(plist : *mut SENSOR_COLLECTION_LIST, pkey : *const super::super::UI::Shell::PropertiesSystem:: PROPERTYKEY, typecheck : super::super::Foundation:: BOOLEAN, pvalue : *const super::super::System::Com::StructuredStorage:: PROPVARIANT) -> super::super::Foundation:: NTSTATUS);
|
||||
#[cfg(all(feature = "Win32_Devices_Properties", feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant"))]
|
||||
::windows_targets::link!("sensorsutilsv2.dll" "system" #[doc = "Required features: `\"Win32_Devices_Properties\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] fn PropVariantGetInformation(propvariantvalue : *const super::super::System::Com::StructuredStorage:: PROPVARIANT, propvariantoffset : *mut u32, propvariantsize : *mut u32, propvariantpointer : *mut *mut ::core::ffi::c_void, remappedtype : *mut super::Properties:: DEVPROPTYPE) -> super::super::Foundation:: NTSTATUS);
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Shell_PropertiesSystem"))]
|
||||
::windows_targets::link!("sensorsutilsv2.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_UI_Shell_PropertiesSystem\"`"] fn PropertiesListCopy(target : *mut SENSOR_PROPERTY_LIST, source : *const SENSOR_PROPERTY_LIST) -> super::super::Foundation:: NTSTATUS);
|
||||
::windows_targets::link!("sensorsutilsv2.dll" "system" fn PropertiesListGetFillableCount(buffersizebytes : u32) -> u32);
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant", feature = "Win32_UI_Shell_PropertiesSystem"))]
|
||||
::windows_targets::link!("sensorsutilsv2.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`"] fn SensorCollectionGetAt(index : u32, psensorslist : *const SENSOR_COLLECTION_LIST, pkey : *mut super::super::UI::Shell::PropertiesSystem:: PROPERTYKEY, pvalue : *mut super::super::System::Com::StructuredStorage:: PROPVARIANT) -> super::super::Foundation:: NTSTATUS);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("sensorsutilsv2.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SerializationBufferAllocate(sizeinbytes : u32, pbuffer : *mut *mut u8) -> super::super::Foundation:: NTSTATUS);
|
||||
::windows_targets::link!("sensorsutilsv2.dll" "system" fn SerializationBufferFree(buffer : *const u8) -> ());
|
||||
pub type ILocationPermissions = *mut ::core::ffi::c_void;
|
||||
pub type ISensor = *mut ::core::ffi::c_void;
|
||||
pub type ISensorCollection = *mut ::core::ffi::c_void;
|
||||
pub type ISensorDataReport = *mut ::core::ffi::c_void;
|
||||
pub type ISensorEvents = *mut ::core::ffi::c_void;
|
||||
pub type ISensorManager = *mut ::core::ffi::c_void;
|
||||
pub type ISensorManagerEvents = *mut ::core::ffi::c_void;
|
||||
pub const AXIS_MAX: AXIS = 3i32;
|
||||
pub const AXIS_X: AXIS = 0i32;
|
||||
pub const AXIS_Y: AXIS = 1i32;
|
||||
pub const AXIS_Z: AXIS = 2i32;
|
||||
pub const ActivityStateCount: ACTIVITY_STATE_COUNT = 8i32;
|
||||
pub const ActivityState_Biking: ACTIVITY_STATE = 64i32;
|
||||
pub const ActivityState_Fidgeting: ACTIVITY_STATE = 4i32;
|
||||
pub const ActivityState_Force_Dword: ACTIVITY_STATE = -1i32;
|
||||
pub const ActivityState_Idle: ACTIVITY_STATE = 128i32;
|
||||
pub const ActivityState_InVehicle: ACTIVITY_STATE = 32i32;
|
||||
pub const ActivityState_Max: ACTIVITY_STATE = 256i32;
|
||||
pub const ActivityState_Running: ACTIVITY_STATE = 16i32;
|
||||
pub const ActivityState_Stationary: ACTIVITY_STATE = 2i32;
|
||||
pub const ActivityState_Unknown: ACTIVITY_STATE = 1i32;
|
||||
pub const ActivityState_Walking: ACTIVITY_STATE = 8i32;
|
||||
pub const ElevationChangeMode_Elevator: ELEVATION_CHANGE_MODE = 1i32;
|
||||
pub const ElevationChangeMode_Force_Dword: ELEVATION_CHANGE_MODE = -1i32;
|
||||
pub const ElevationChangeMode_Max: ELEVATION_CHANGE_MODE = 3i32;
|
||||
pub const ElevationChangeMode_Stepping: ELEVATION_CHANGE_MODE = 2i32;
|
||||
pub const ElevationChangeMode_Unknown: ELEVATION_CHANGE_MODE = 0i32;
|
||||
pub const GNSS_CLEAR_ALL_ASSISTANCE_DATA: u32 = 1u32;
|
||||
pub const GUID_DEVINTERFACE_SENSOR: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xba1bb692_9b7a_4833_9a1e_525ed134e7e2);
|
||||
pub const GUID_SensorCategory_All: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xc317c286_c468_4288_9975_d4c4587c442c);
|
||||
pub const GUID_SensorCategory_Biometric: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xca19690f_a2c7_477d_a99e_99ec6e2b5648);
|
||||
pub const GUID_SensorCategory_Electrical: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xfb73fcd8_fc4a_483c_ac58_27b691c6beff);
|
||||
pub const GUID_SensorCategory_Environmental: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x323439aa_7f66_492b_ba0c_73e9aa0a65d5);
|
||||
pub const GUID_SensorCategory_Light: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x17a665c0_9063_4216_b202_5c7a255e18ce);
|
||||
pub const GUID_SensorCategory_Location: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xbfa794e4_f964_4fdb_90f6_51056bfe4b44);
|
||||
pub const GUID_SensorCategory_Mechanical: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x8d131d68_8ef7_4656_80b5_cccbd93791c5);
|
||||
pub const GUID_SensorCategory_Motion: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xcd09daf1_3b2e_4c3d_b598_b5e5ff93fd46);
|
||||
pub const GUID_SensorCategory_Orientation: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9e6c04b6_96fe_4954_b726_68682a473f69);
|
||||
pub const GUID_SensorCategory_Other: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x2c90e7a9_f4c9_4fa2_af37_56d471fe5a3d);
|
||||
pub const GUID_SensorCategory_PersonalActivity: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xf1609081_1e12_412b_a14d_cbb0e95bd2e5);
|
||||
pub const GUID_SensorCategory_Scanner: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xb000e77e_f5b5_420f_815d_0270a726f270);
|
||||
pub const GUID_SensorCategory_Unsupported: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x2beae7fa_19b0_48c5_a1f6_b5480dc206b0);
|
||||
pub const GUID_SensorType_Accelerometer3D: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xc2fb0f5f_e2d2_4c78_bcd0_352a9582819d);
|
||||
pub const GUID_SensorType_ActivityDetection: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9d9e0118_1807_4f2e_96e4_2ce57142e196);
|
||||
pub const GUID_SensorType_AmbientLight: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x97f115c8_599a_4153_8894_d2d12899918a);
|
||||
pub const GUID_SensorType_Barometer: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0e903829_ff8a_4a93_97df_3dcbde402288);
|
||||
pub const GUID_SensorType_Custom: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xe83af229_8640_4d18_a213_e22675ebb2c3);
|
||||
pub const GUID_SensorType_FloorElevation: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xade4987f_7ac4_4dfa_9722_0a027181c747);
|
||||
pub const GUID_SensorType_GeomagneticOrientation: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xe77195f8_2d1f_4823_971b_1c4467556c9d);
|
||||
pub const GUID_SensorType_GravityVector: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x03b52c73_bb76_463f_9524_38de76eb700b);
|
||||
pub const GUID_SensorType_Gyrometer3D: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x09485f5a_759e_42c2_bd4b_a349b75c8643);
|
||||
pub const GUID_SensorType_HingeAngle: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x82358065_f4c4_4da1_b272_13c23332a207);
|
||||
pub const GUID_SensorType_Humidity: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x5c72bf67_bd7e_4257_990b_98a3ba3b400a);
|
||||
pub const GUID_SensorType_LinearAccelerometer: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x038b0283_97b4_41c8_bc24_5ff1aa48fec7);
|
||||
pub const GUID_SensorType_Magnetometer3D: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x55e5effb_15c7_40df_8698_a84b7c863c53);
|
||||
pub const GUID_SensorType_Orientation: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xcdb5d8f7_3cfd_41c8_8542_cce622cf5d6e);
|
||||
pub const GUID_SensorType_Pedometer: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xb19f89af_e3eb_444b_8dea_202575a71599);
|
||||
pub const GUID_SensorType_Proximity: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x5220dae9_3179_4430_9f90_06266d2a34de);
|
||||
pub const GUID_SensorType_RelativeOrientation: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x40993b51_4706_44dc_98d5_c920c037ffab);
|
||||
pub const GUID_SensorType_SimpleDeviceOrientation: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x86a19291_0482_402c_bf4c_addac52b1c39);
|
||||
pub const GUID_SensorType_Temperature: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x04fd0ec4_d5da_45fa_95a9_5db38ee19306);
|
||||
pub const HumanPresenceDetectionTypeCount: HUMAN_PRESENCE_DETECTION_TYPE_COUNT = 4i32;
|
||||
pub const HumanPresenceDetectionType_AudioBiometric: HUMAN_PRESENCE_DETECTION_TYPE = 8i32;
|
||||
pub const HumanPresenceDetectionType_FacialBiometric: HUMAN_PRESENCE_DETECTION_TYPE = 4i32;
|
||||
pub const HumanPresenceDetectionType_Force_Dword: HUMAN_PRESENCE_DETECTION_TYPE = -1i32;
|
||||
pub const HumanPresenceDetectionType_VendorDefinedBiometric: HUMAN_PRESENCE_DETECTION_TYPE = 2i32;
|
||||
pub const HumanPresenceDetectionType_VendorDefinedNonBiometric: HUMAN_PRESENCE_DETECTION_TYPE = 1i32;
|
||||
pub const LOCATION_DESIRED_ACCURACY_DEFAULT: LOCATION_DESIRED_ACCURACY = 0i32;
|
||||
pub const LOCATION_DESIRED_ACCURACY_HIGH: LOCATION_DESIRED_ACCURACY = 1i32;
|
||||
pub const LOCATION_POSITION_SOURCE_CELLULAR: LOCATION_POSITION_SOURCE = 0i32;
|
||||
pub const LOCATION_POSITION_SOURCE_IPADDRESS: LOCATION_POSITION_SOURCE = 3i32;
|
||||
pub const LOCATION_POSITION_SOURCE_SATELLITE: LOCATION_POSITION_SOURCE = 1i32;
|
||||
pub const LOCATION_POSITION_SOURCE_UNKNOWN: LOCATION_POSITION_SOURCE = 4i32;
|
||||
pub const LOCATION_POSITION_SOURCE_WIFI: LOCATION_POSITION_SOURCE = 2i32;
|
||||
pub const MAGNETOMETER_ACCURACY_APPROXIMATE: MagnetometerAccuracy = 2i32;
|
||||
pub const MAGNETOMETER_ACCURACY_HIGH: MagnetometerAccuracy = 3i32;
|
||||
pub const MAGNETOMETER_ACCURACY_UNKNOWN: MagnetometerAccuracy = 0i32;
|
||||
pub const MAGNETOMETER_ACCURACY_UNRELIABLE: MagnetometerAccuracy = 1i32;
|
||||
pub const MagnetometerAccuracy_Approximate: MAGNETOMETER_ACCURACY = 2i32;
|
||||
pub const MagnetometerAccuracy_High: MAGNETOMETER_ACCURACY = 3i32;
|
||||
pub const MagnetometerAccuracy_Unknown: MAGNETOMETER_ACCURACY = 0i32;
|
||||
pub const MagnetometerAccuracy_Unreliable: MAGNETOMETER_ACCURACY = 1i32;
|
||||
pub const PedometerStepTypeCount: PEDOMETER_STEP_TYPE_COUNT = 3i32;
|
||||
pub const PedometerStepType_Force_Dword: PEDOMETER_STEP_TYPE = -1i32;
|
||||
pub const PedometerStepType_Max: PEDOMETER_STEP_TYPE = 8i32;
|
||||
pub const PedometerStepType_Running: PEDOMETER_STEP_TYPE = 4i32;
|
||||
pub const PedometerStepType_Unknown: PEDOMETER_STEP_TYPE = 1i32;
|
||||
pub const PedometerStepType_Walking: PEDOMETER_STEP_TYPE = 2i32;
|
||||
pub const ProximityType_Force_Dword: PROXIMITY_TYPE = -1i32;
|
||||
pub const ProximityType_HumanProximity: PROXIMITY_TYPE = 1i32;
|
||||
pub const ProximityType_ObjectProximity: PROXIMITY_TYPE = 0i32;
|
||||
pub const Proximity_Sensor_Human_Engagement_Capable: PROXIMITY_SENSOR_CAPABILITIES = 2i32;
|
||||
pub const Proximity_Sensor_Human_Presence_Capable: PROXIMITY_SENSOR_CAPABILITIES = 1i32;
|
||||
pub const Proximity_Sensor_Supported_Capabilities: PROXIMITY_SENSOR_CAPABILITIES = 3i32;
|
||||
pub const SENSOR_CATEGORY_ALL: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xc317c286_c468_4288_9975_d4c4587c442c);
|
||||
pub const SENSOR_CATEGORY_BIOMETRIC: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xca19690f_a2c7_477d_a99e_99ec6e2b5648);
|
||||
pub const SENSOR_CATEGORY_ELECTRICAL: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xfb73fcd8_fc4a_483c_ac58_27b691c6beff);
|
||||
pub const SENSOR_CATEGORY_ENVIRONMENTAL: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x323439aa_7f66_492b_ba0c_73e9aa0a65d5);
|
||||
pub const SENSOR_CATEGORY_LIGHT: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x17a665c0_9063_4216_b202_5c7a255e18ce);
|
||||
pub const SENSOR_CATEGORY_LOCATION: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xbfa794e4_f964_4fdb_90f6_51056bfe4b44);
|
||||
pub const SENSOR_CATEGORY_MECHANICAL: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x8d131d68_8ef7_4656_80b5_cccbd93791c5);
|
||||
pub const SENSOR_CATEGORY_MOTION: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xcd09daf1_3b2e_4c3d_b598_b5e5ff93fd46);
|
||||
pub const SENSOR_CATEGORY_ORIENTATION: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9e6c04b6_96fe_4954_b726_68682a473f69);
|
||||
pub const SENSOR_CATEGORY_OTHER: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x2c90e7a9_f4c9_4fa2_af37_56d471fe5a3d);
|
||||
pub const SENSOR_CATEGORY_SCANNER: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xb000e77e_f5b5_420f_815d_0270a726f270);
|
||||
pub const SENSOR_CATEGORY_UNSUPPORTED: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x2beae7fa_19b0_48c5_a1f6_b5480dc206b0);
|
||||
pub const SENSOR_CONNECTION_TYPE_PC_ATTACHED: SensorConnectionType = 1i32;
|
||||
pub const SENSOR_CONNECTION_TYPE_PC_EXTERNAL: SensorConnectionType = 2i32;
|
||||
pub const SENSOR_CONNECTION_TYPE_PC_INTEGRATED: SensorConnectionType = 0i32;
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_ABSOLUTE_PRESSURE_PASCAL: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x38564a7c_f2f2_49bb_9b2b_ba60f66a58df), pid: 5 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_ACCELERATION_X_G: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x3f8a69a2_07c5_4e48_a965_cd797aab56d5), pid: 2 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_ACCELERATION_Y_G: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x3f8a69a2_07c5_4e48_a965_cd797aab56d5), pid: 3 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_ACCELERATION_Z_G: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x3f8a69a2_07c5_4e48_a965_cd797aab56d5), pid: 4 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_ADDRESS1: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x055c74d8_ca6f_47d6_95c6_1ed3637a0ff4), pid: 23 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_ADDRESS2: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x055c74d8_ca6f_47d6_95c6_1ed3637a0ff4), pid: 24 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_ALTITUDE_ANTENNA_SEALEVEL_METERS: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x055c74d8_ca6f_47d6_95c6_1ed3637a0ff4), pid: 36 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_ALTITUDE_ELLIPSOID_ERROR_METERS: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x055c74d8_ca6f_47d6_95c6_1ed3637a0ff4), pid: 29 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_ALTITUDE_ELLIPSOID_METERS: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x055c74d8_ca6f_47d6_95c6_1ed3637a0ff4), pid: 5 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_ALTITUDE_SEALEVEL_ERROR_METERS: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x055c74d8_ca6f_47d6_95c6_1ed3637a0ff4), pid: 30 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_ALTITUDE_SEALEVEL_METERS: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x055c74d8_ca6f_47d6_95c6_1ed3637a0ff4), pid: 4 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_ANGULAR_ACCELERATION_X_DEGREES_PER_SECOND_SQUARED: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x3f8a69a2_07c5_4e48_a965_cd797aab56d5), pid: 5 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_ANGULAR_ACCELERATION_Y_DEGREES_PER_SECOND_SQUARED: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x3f8a69a2_07c5_4e48_a965_cd797aab56d5), pid: 6 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_ANGULAR_ACCELERATION_Z_DEGREES_PER_SECOND_SQUARED: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x3f8a69a2_07c5_4e48_a965_cd797aab56d5), pid: 7 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_ANGULAR_VELOCITY_X_DEGREES_PER_SECOND: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x3f8a69a2_07c5_4e48_a965_cd797aab56d5), pid: 10 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_ANGULAR_VELOCITY_Y_DEGREES_PER_SECOND: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x3f8a69a2_07c5_4e48_a965_cd797aab56d5), pid: 11 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_ANGULAR_VELOCITY_Z_DEGREES_PER_SECOND: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x3f8a69a2_07c5_4e48_a965_cd797aab56d5), pid: 12 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_ATMOSPHERIC_PRESSURE_BAR: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x8b0aa2f1_2d57_42ee_8cc0_4d27622b46c4), pid: 4 };
|
||||
pub const SENSOR_DATA_TYPE_BIOMETRIC_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x2299288a_6d9e_4b0b_b7ec_3528f89e40af);
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_BOOLEAN_SWITCH_ARRAY_STATES: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x38564a7c_f2f2_49bb_9b2b_ba60f66a58df), pid: 10 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_BOOLEAN_SWITCH_STATE: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x38564a7c_f2f2_49bb_9b2b_ba60f66a58df), pid: 2 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_CAPACITANCE_FARAD: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xbbb246d1_e242_4780_a2d3_cded84f35842), pid: 4 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_CITY: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x055c74d8_ca6f_47d6_95c6_1ed3637a0ff4), pid: 25 };
|
||||
pub const SENSOR_DATA_TYPE_COMMON_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xdb5e0cf2_cf1f_4c18_b46c_d86011d62150);
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_COUNTRY_REGION: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x055c74d8_ca6f_47d6_95c6_1ed3637a0ff4), pid: 28 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_CURRENT_AMPS: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xbbb246d1_e242_4780_a2d3_cded84f35842), pid: 3 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_CUSTOM_BOOLEAN_ARRAY: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xb14c764f_07cf_41e8_9d82_ebe3d0776a6f), pid: 6 };
|
||||
pub const SENSOR_DATA_TYPE_CUSTOM_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xb14c764f_07cf_41e8_9d82_ebe3d0776a6f);
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_CUSTOM_USAGE: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xb14c764f_07cf_41e8_9d82_ebe3d0776a6f), pid: 5 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_CUSTOM_VALUE1: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xb14c764f_07cf_41e8_9d82_ebe3d0776a6f), pid: 7 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_CUSTOM_VALUE10: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xb14c764f_07cf_41e8_9d82_ebe3d0776a6f), pid: 16 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_CUSTOM_VALUE11: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xb14c764f_07cf_41e8_9d82_ebe3d0776a6f), pid: 17 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_CUSTOM_VALUE12: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xb14c764f_07cf_41e8_9d82_ebe3d0776a6f), pid: 18 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_CUSTOM_VALUE13: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xb14c764f_07cf_41e8_9d82_ebe3d0776a6f), pid: 19 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_CUSTOM_VALUE14: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xb14c764f_07cf_41e8_9d82_ebe3d0776a6f), pid: 20 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_CUSTOM_VALUE15: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xb14c764f_07cf_41e8_9d82_ebe3d0776a6f), pid: 21 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_CUSTOM_VALUE16: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xb14c764f_07cf_41e8_9d82_ebe3d0776a6f), pid: 22 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_CUSTOM_VALUE17: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xb14c764f_07cf_41e8_9d82_ebe3d0776a6f), pid: 23 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_CUSTOM_VALUE18: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xb14c764f_07cf_41e8_9d82_ebe3d0776a6f), pid: 24 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_CUSTOM_VALUE19: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xb14c764f_07cf_41e8_9d82_ebe3d0776a6f), pid: 25 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_CUSTOM_VALUE2: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xb14c764f_07cf_41e8_9d82_ebe3d0776a6f), pid: 8 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_CUSTOM_VALUE20: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xb14c764f_07cf_41e8_9d82_ebe3d0776a6f), pid: 26 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_CUSTOM_VALUE21: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xb14c764f_07cf_41e8_9d82_ebe3d0776a6f), pid: 27 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_CUSTOM_VALUE22: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xb14c764f_07cf_41e8_9d82_ebe3d0776a6f), pid: 28 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_CUSTOM_VALUE23: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xb14c764f_07cf_41e8_9d82_ebe3d0776a6f), pid: 29 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_CUSTOM_VALUE24: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xb14c764f_07cf_41e8_9d82_ebe3d0776a6f), pid: 30 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_CUSTOM_VALUE25: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xb14c764f_07cf_41e8_9d82_ebe3d0776a6f), pid: 31 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_CUSTOM_VALUE26: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xb14c764f_07cf_41e8_9d82_ebe3d0776a6f), pid: 32 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_CUSTOM_VALUE27: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xb14c764f_07cf_41e8_9d82_ebe3d0776a6f), pid: 33 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_CUSTOM_VALUE28: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xb14c764f_07cf_41e8_9d82_ebe3d0776a6f), pid: 34 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_CUSTOM_VALUE3: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xb14c764f_07cf_41e8_9d82_ebe3d0776a6f), pid: 9 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_CUSTOM_VALUE4: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xb14c764f_07cf_41e8_9d82_ebe3d0776a6f), pid: 10 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_CUSTOM_VALUE5: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xb14c764f_07cf_41e8_9d82_ebe3d0776a6f), pid: 11 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_CUSTOM_VALUE6: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xb14c764f_07cf_41e8_9d82_ebe3d0776a6f), pid: 12 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_CUSTOM_VALUE7: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xb14c764f_07cf_41e8_9d82_ebe3d0776a6f), pid: 13 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_CUSTOM_VALUE8: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xb14c764f_07cf_41e8_9d82_ebe3d0776a6f), pid: 14 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_CUSTOM_VALUE9: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xb14c764f_07cf_41e8_9d82_ebe3d0776a6f), pid: 15 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_DGPS_DATA_AGE: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x055c74d8_ca6f_47d6_95c6_1ed3637a0ff4), pid: 35 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_DIFFERENTIAL_REFERENCE_STATION_ID: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x055c74d8_ca6f_47d6_95c6_1ed3637a0ff4), pid: 37 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_DISTANCE_X_METERS: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x1637d8a2_4248_4275_865d_558de84aedfd), pid: 8 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_DISTANCE_Y_METERS: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x1637d8a2_4248_4275_865d_558de84aedfd), pid: 9 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_DISTANCE_Z_METERS: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x1637d8a2_4248_4275_865d_558de84aedfd), pid: 10 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_ELECTRICAL_FREQUENCY_HERTZ: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xbbb246d1_e242_4780_a2d3_cded84f35842), pid: 9 };
|
||||
pub const SENSOR_DATA_TYPE_ELECTRICAL_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xbbb246d1_e242_4780_a2d3_cded84f35842);
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_ELECTRICAL_PERCENT_OF_RANGE: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xbbb246d1_e242_4780_a2d3_cded84f35842), pid: 8 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_ELECTRICAL_POWER_WATTS: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xbbb246d1_e242_4780_a2d3_cded84f35842), pid: 7 };
|
||||
pub const SENSOR_DATA_TYPE_ENVIRONMENTAL_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x8b0aa2f1_2d57_42ee_8cc0_4d27622b46c4);
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_ERROR_RADIUS_METERS: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x055c74d8_ca6f_47d6_95c6_1ed3637a0ff4), pid: 22 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_FIX_QUALITY: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x055c74d8_ca6f_47d6_95c6_1ed3637a0ff4), pid: 10 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_FIX_TYPE: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x055c74d8_ca6f_47d6_95c6_1ed3637a0ff4), pid: 11 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_FORCE_NEWTONS: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x38564a7c_f2f2_49bb_9b2b_ba60f66a58df), pid: 4 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_GAUGE_PRESSURE_PASCAL: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x38564a7c_f2f2_49bb_9b2b_ba60f66a58df), pid: 6 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_GEOIDAL_SEPARATION: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x055c74d8_ca6f_47d6_95c6_1ed3637a0ff4), pid: 34 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_GPS_OPERATION_MODE: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x055c74d8_ca6f_47d6_95c6_1ed3637a0ff4), pid: 32 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_GPS_SELECTION_MODE: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x055c74d8_ca6f_47d6_95c6_1ed3637a0ff4), pid: 31 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_GPS_STATUS: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x055c74d8_ca6f_47d6_95c6_1ed3637a0ff4), pid: 33 };
|
||||
pub const SENSOR_DATA_TYPE_GUID_MECHANICAL_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x38564a7c_f2f2_49bb_9b2b_ba60f66a58df);
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_HORIZONAL_DILUTION_OF_PRECISION: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x055c74d8_ca6f_47d6_95c6_1ed3637a0ff4), pid: 13 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_HUMAN_PRESENCE: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x2299288a_6d9e_4b0b_b7ec_3528f89e40af), pid: 2 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_HUMAN_PROXIMITY_METERS: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x2299288a_6d9e_4b0b_b7ec_3528f89e40af), pid: 3 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_INDUCTANCE_HENRY: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xbbb246d1_e242_4780_a2d3_cded84f35842), pid: 6 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_LATITUDE_DEGREES: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x055c74d8_ca6f_47d6_95c6_1ed3637a0ff4), pid: 2 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_LIGHT_CHROMACITY: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xe4c77ce2_dcb7_46e9_8439_4fec548833a6), pid: 4 };
|
||||
pub const SENSOR_DATA_TYPE_LIGHT_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xe4c77ce2_dcb7_46e9_8439_4fec548833a6);
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_LIGHT_LEVEL_LUX: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xe4c77ce2_dcb7_46e9_8439_4fec548833a6), pid: 2 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_LIGHT_TEMPERATURE_KELVIN: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xe4c77ce2_dcb7_46e9_8439_4fec548833a6), pid: 3 };
|
||||
pub const SENSOR_DATA_TYPE_LOCATION_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x055c74d8_ca6f_47d6_95c6_1ed3637a0ff4);
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_LOCATION_SOURCE: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x055c74d8_ca6f_47d6_95c6_1ed3637a0ff4), pid: 40 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_LONGITUDE_DEGREES: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x055c74d8_ca6f_47d6_95c6_1ed3637a0ff4), pid: 3 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_MAGNETIC_FIELD_STRENGTH_X_MILLIGAUSS: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x1637d8a2_4248_4275_865d_558de84aedfd), pid: 19 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_MAGNETIC_FIELD_STRENGTH_Y_MILLIGAUSS: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x1637d8a2_4248_4275_865d_558de84aedfd), pid: 20 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_MAGNETIC_FIELD_STRENGTH_Z_MILLIGAUSS: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x1637d8a2_4248_4275_865d_558de84aedfd), pid: 21 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_MAGNETIC_HEADING_COMPENSATED_MAGNETIC_NORTH_DEGREES: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x1637d8a2_4248_4275_865d_558de84aedfd), pid: 11 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_MAGNETIC_HEADING_COMPENSATED_TRUE_NORTH_DEGREES: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x1637d8a2_4248_4275_865d_558de84aedfd), pid: 12 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_MAGNETIC_HEADING_DEGREES: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x055c74d8_ca6f_47d6_95c6_1ed3637a0ff4), pid: 8 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_MAGNETIC_HEADING_MAGNETIC_NORTH_DEGREES: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x1637d8a2_4248_4275_865d_558de84aedfd), pid: 13 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_MAGNETIC_HEADING_TRUE_NORTH_DEGREES: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x1637d8a2_4248_4275_865d_558de84aedfd), pid: 14 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_MAGNETIC_HEADING_X_DEGREES: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x1637d8a2_4248_4275_865d_558de84aedfd), pid: 5 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_MAGNETIC_HEADING_Y_DEGREES: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x1637d8a2_4248_4275_865d_558de84aedfd), pid: 6 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_MAGNETIC_HEADING_Z_DEGREES: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x1637d8a2_4248_4275_865d_558de84aedfd), pid: 7 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_MAGNETIC_VARIATION: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x055c74d8_ca6f_47d6_95c6_1ed3637a0ff4), pid: 9 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_MAGNETOMETER_ACCURACY: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x1637d8a2_4248_4275_865d_558de84aedfd), pid: 22 };
|
||||
pub const SENSOR_DATA_TYPE_MOTION_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x3f8a69a2_07c5_4e48_a965_cd797aab56d5);
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_MOTION_STATE: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x3f8a69a2_07c5_4e48_a965_cd797aab56d5), pid: 9 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_MULTIVALUE_SWITCH_STATE: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x38564a7c_f2f2_49bb_9b2b_ba60f66a58df), pid: 3 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_NMEA_SENTENCE: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x055c74d8_ca6f_47d6_95c6_1ed3637a0ff4), pid: 38 };
|
||||
pub const SENSOR_DATA_TYPE_ORIENTATION_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x1637d8a2_4248_4275_865d_558de84aedfd);
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_POSITION_DILUTION_OF_PRECISION: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x055c74d8_ca6f_47d6_95c6_1ed3637a0ff4), pid: 12 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_POSTALCODE: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x055c74d8_ca6f_47d6_95c6_1ed3637a0ff4), pid: 27 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_QUADRANT_ANGLE_DEGREES: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x1637d8a2_4248_4275_865d_558de84aedfd), pid: 15 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_QUATERNION: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x1637d8a2_4248_4275_865d_558de84aedfd), pid: 17 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_RELATIVE_HUMIDITY_PERCENT: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x8b0aa2f1_2d57_42ee_8cc0_4d27622b46c4), pid: 3 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_RESISTANCE_OHMS: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xbbb246d1_e242_4780_a2d3_cded84f35842), pid: 5 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_RFID_TAG_40_BIT: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xd7a59a3c_3421_44ab_8d3a_9de8ab6c4cae), pid: 2 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_ROTATION_MATRIX: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x1637d8a2_4248_4275_865d_558de84aedfd), pid: 16 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_SATELLITES_IN_VIEW: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x055c74d8_ca6f_47d6_95c6_1ed3637a0ff4), pid: 17 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_SATELLITES_IN_VIEW_AZIMUTH: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x055c74d8_ca6f_47d6_95c6_1ed3637a0ff4), pid: 20 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_SATELLITES_IN_VIEW_ELEVATION: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x055c74d8_ca6f_47d6_95c6_1ed3637a0ff4), pid: 19 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_SATELLITES_IN_VIEW_ID: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x055c74d8_ca6f_47d6_95c6_1ed3637a0ff4), pid: 39 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_SATELLITES_IN_VIEW_PRNS: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x055c74d8_ca6f_47d6_95c6_1ed3637a0ff4), pid: 18 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_SATELLITES_IN_VIEW_STN_RATIO: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x055c74d8_ca6f_47d6_95c6_1ed3637a0ff4), pid: 21 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_SATELLITES_USED_COUNT: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x055c74d8_ca6f_47d6_95c6_1ed3637a0ff4), pid: 15 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_SATELLITES_USED_PRNS: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x055c74d8_ca6f_47d6_95c6_1ed3637a0ff4), pid: 16 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_SATELLITES_USED_PRNS_AND_CONSTELLATIONS: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x055c74d8_ca6f_47d6_95c6_1ed3637a0ff4), pid: 41 };
|
||||
pub const SENSOR_DATA_TYPE_SCANNER_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xd7a59a3c_3421_44ab_8d3a_9de8ab6c4cae);
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_SIMPLE_DEVICE_ORIENTATION: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x1637d8a2_4248_4275_865d_558de84aedfd), pid: 18 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_SPEED_KNOTS: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x055c74d8_ca6f_47d6_95c6_1ed3637a0ff4), pid: 6 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_SPEED_METERS_PER_SECOND: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x3f8a69a2_07c5_4e48_a965_cd797aab56d5), pid: 8 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_STATE_PROVINCE: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x055c74d8_ca6f_47d6_95c6_1ed3637a0ff4), pid: 26 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_STRAIN: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x38564a7c_f2f2_49bb_9b2b_ba60f66a58df), pid: 7 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_TEMPERATURE_CELSIUS: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x8b0aa2f1_2d57_42ee_8cc0_4d27622b46c4), pid: 2 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_TILT_X_DEGREES: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x1637d8a2_4248_4275_865d_558de84aedfd), pid: 2 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_TILT_Y_DEGREES: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x1637d8a2_4248_4275_865d_558de84aedfd), pid: 3 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_TILT_Z_DEGREES: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x1637d8a2_4248_4275_865d_558de84aedfd), pid: 4 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_TIMESTAMP: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xdb5e0cf2_cf1f_4c18_b46c_d86011d62150), pid: 2 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_TOUCH_STATE: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x2299288a_6d9e_4b0b_b7ec_3528f89e40af), pid: 4 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_TRUE_HEADING_DEGREES: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x055c74d8_ca6f_47d6_95c6_1ed3637a0ff4), pid: 7 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_VERTICAL_DILUTION_OF_PRECISION: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x055c74d8_ca6f_47d6_95c6_1ed3637a0ff4), pid: 14 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_VOLTAGE_VOLTS: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xbbb246d1_e242_4780_a2d3_cded84f35842), pid: 2 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_WEIGHT_KILOGRAMS: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x38564a7c_f2f2_49bb_9b2b_ba60f66a58df), pid: 8 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_WIND_DIRECTION_DEGREES_ANTICLOCKWISE: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x8b0aa2f1_2d57_42ee_8cc0_4d27622b46c4), pid: 5 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_DATA_TYPE_WIND_SPEED_METERS_PER_SECOND: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x8b0aa2f1_2d57_42ee_8cc0_4d27622b46c4), pid: 6 };
|
||||
pub const SENSOR_ERROR_PARAMETER_COMMON_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x77112bcd_fce1_4f43_b8b8_a88256adb4b3);
|
||||
pub const SENSOR_EVENT_ACCELEROMETER_SHAKE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x825f5a94_0f48_4396_9ca0_6ecb5c99d915);
|
||||
pub const SENSOR_EVENT_DATA_UPDATED: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x2ed0f2a4_0087_41d3_87db_6773370b3c88);
|
||||
pub const SENSOR_EVENT_PARAMETER_COMMON_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x64346e30_8728_4b34_bdf6_4f52442c5c28);
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_EVENT_PARAMETER_EVENT_ID: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x64346e30_8728_4b34_bdf6_4f52442c5c28), pid: 2 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_EVENT_PARAMETER_STATE: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x64346e30_8728_4b34_bdf6_4f52442c5c28), pid: 3 };
|
||||
pub const SENSOR_EVENT_PROPERTY_CHANGED: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x2358f099_84c9_4d3d_90df_c2421e2b2045);
|
||||
pub const SENSOR_EVENT_STATE_CHANGED: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xbfd96016_6bd7_4560_ad34_f2f6607e8f81);
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_PROPERTY_ACCURACY: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x7f8383ec_d3ec_495c_a8cf_b8bbe85c2920), pid: 17 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_PROPERTY_CHANGE_SENSITIVITY: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x7f8383ec_d3ec_495c_a8cf_b8bbe85c2920), pid: 14 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_PROPERTY_CLEAR_ASSISTANCE_DATA: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xe1e962f4_6e65_45f7_9c36_d487b7b1bd34), pid: 2 };
|
||||
pub const SENSOR_PROPERTY_COMMON_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x7f8383ec_d3ec_495c_a8cf_b8bbe85c2920);
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_PROPERTY_CONNECTION_TYPE: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x7f8383ec_d3ec_495c_a8cf_b8bbe85c2920), pid: 11 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_PROPERTY_CURRENT_REPORT_INTERVAL: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x7f8383ec_d3ec_495c_a8cf_b8bbe85c2920), pid: 13 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_PROPERTY_DESCRIPTION: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x7f8383ec_d3ec_495c_a8cf_b8bbe85c2920), pid: 10 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_PROPERTY_DEVICE_PATH: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x7f8383ec_d3ec_495c_a8cf_b8bbe85c2920), pid: 15 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_PROPERTY_FRIENDLY_NAME: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x7f8383ec_d3ec_495c_a8cf_b8bbe85c2920), pid: 9 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_PROPERTY_HID_USAGE: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x7f8383ec_d3ec_495c_a8cf_b8bbe85c2920), pid: 22 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_PROPERTY_LIGHT_RESPONSE_CURVE: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x7f8383ec_d3ec_495c_a8cf_b8bbe85c2920), pid: 16 };
|
||||
pub const SENSOR_PROPERTY_LIST_HEADER_SIZE: u32 = 8u32;
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_PROPERTY_LOCATION_DESIRED_ACCURACY: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x7f8383ec_d3ec_495c_a8cf_b8bbe85c2920), pid: 19 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_PROPERTY_MANUFACTURER: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x7f8383ec_d3ec_495c_a8cf_b8bbe85c2920), pid: 6 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_PROPERTY_MIN_REPORT_INTERVAL: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x7f8383ec_d3ec_495c_a8cf_b8bbe85c2920), pid: 12 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_PROPERTY_MODEL: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x7f8383ec_d3ec_495c_a8cf_b8bbe85c2920), pid: 7 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_PROPERTY_PERSISTENT_UNIQUE_ID: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x7f8383ec_d3ec_495c_a8cf_b8bbe85c2920), pid: 5 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_PROPERTY_RADIO_STATE: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x7f8383ec_d3ec_495c_a8cf_b8bbe85c2920), pid: 23 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_PROPERTY_RADIO_STATE_PREVIOUS: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x7f8383ec_d3ec_495c_a8cf_b8bbe85c2920), pid: 24 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_PROPERTY_RANGE_MAXIMUM: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x7f8383ec_d3ec_495c_a8cf_b8bbe85c2920), pid: 21 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_PROPERTY_RANGE_MINIMUM: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x7f8383ec_d3ec_495c_a8cf_b8bbe85c2920), pid: 20 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_PROPERTY_RESOLUTION: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x7f8383ec_d3ec_495c_a8cf_b8bbe85c2920), pid: 18 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_PROPERTY_SERIAL_NUMBER: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x7f8383ec_d3ec_495c_a8cf_b8bbe85c2920), pid: 8 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_PROPERTY_STATE: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x7f8383ec_d3ec_495c_a8cf_b8bbe85c2920), pid: 3 };
|
||||
pub const SENSOR_PROPERTY_TEST_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xe1e962f4_6e65_45f7_9c36_d487b7b1bd34);
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_PROPERTY_TURN_ON_OFF_NMEA: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0xe1e962f4_6e65_45f7_9c36_d487b7b1bd34), pid: 3 };
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub const SENSOR_PROPERTY_TYPE: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x7f8383ec_d3ec_495c_a8cf_b8bbe85c2920), pid: 2 };
|
||||
pub const SENSOR_STATE_ACCESS_DENIED: SensorState = 4i32;
|
||||
pub const SENSOR_STATE_ERROR: SensorState = 5i32;
|
||||
pub const SENSOR_STATE_INITIALIZING: SensorState = 3i32;
|
||||
pub const SENSOR_STATE_MAX: SensorState = 5i32;
|
||||
pub const SENSOR_STATE_MIN: SensorState = 0i32;
|
||||
pub const SENSOR_STATE_NOT_AVAILABLE: SensorState = 1i32;
|
||||
pub const SENSOR_STATE_NO_DATA: SensorState = 2i32;
|
||||
pub const SENSOR_STATE_READY: SensorState = 0i32;
|
||||
pub const SENSOR_TYPE_ACCELEROMETER_1D: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xc04d2387_7340_4cc2_991e_3b18cb8ef2f4);
|
||||
pub const SENSOR_TYPE_ACCELEROMETER_2D: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xb2c517a8_f6b5_4ba6_a423_5df560b4cc07);
|
||||
pub const SENSOR_TYPE_ACCELEROMETER_3D: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xc2fb0f5f_e2d2_4c78_bcd0_352a9582819d);
|
||||
pub const SENSOR_TYPE_AGGREGATED_DEVICE_ORIENTATION: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xcdb5d8f7_3cfd_41c8_8542_cce622cf5d6e);
|
||||
pub const SENSOR_TYPE_AGGREGATED_QUADRANT_ORIENTATION: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9f81f1af_c4ab_4307_9904_c828bfb90829);
|
||||
pub const SENSOR_TYPE_AGGREGATED_SIMPLE_DEVICE_ORIENTATION: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x86a19291_0482_402c_bf4c_addac52b1c39);
|
||||
pub const SENSOR_TYPE_AMBIENT_LIGHT: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x97f115c8_599a_4153_8894_d2d12899918a);
|
||||
pub const SENSOR_TYPE_BARCODE_SCANNER: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x990b3d8f_85bb_45ff_914d_998c04f372df);
|
||||
pub const SENSOR_TYPE_BOOLEAN_SWITCH: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9c7e371f_1041_460b_8d5c_71e4752e350c);
|
||||
pub const SENSOR_TYPE_BOOLEAN_SWITCH_ARRAY: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x545c8ba5_b143_4545_868f_ca7fd986b4f6);
|
||||
pub const SENSOR_TYPE_CAPACITANCE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xca2ffb1c_2317_49c0_a0b4_b63ce63461a0);
|
||||
pub const SENSOR_TYPE_COMPASS_1D: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xa415f6c5_cb50_49d0_8e62_a8270bd7a26c);
|
||||
pub const SENSOR_TYPE_COMPASS_2D: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x15655cc0_997a_4d30_84db_57caba3648bb);
|
||||
pub const SENSOR_TYPE_COMPASS_3D: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x76b5ce0d_17dd_414d_93a1_e127f40bdf6e);
|
||||
pub const SENSOR_TYPE_CURRENT: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x5adc9fce_15a0_4bbe_a1ad_2d38a9ae831c);
|
||||
pub const SENSOR_TYPE_CUSTOM: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xe83af229_8640_4d18_a213_e22675ebb2c3);
|
||||
pub const SENSOR_TYPE_DISTANCE_1D: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x5f14ab2f_1407_4306_a93f_b1dbabe4f9c0);
|
||||
pub const SENSOR_TYPE_DISTANCE_2D: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x5cf9a46c_a9a2_4e55_b6a1_a04aafa95a92);
|
||||
pub const SENSOR_TYPE_DISTANCE_3D: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xa20cae31_0e25_4772_9fe5_96608a1354b2);
|
||||
pub const SENSOR_TYPE_ELECTRICAL_POWER: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x212f10f5_14ab_4376_9a43_a7794098c2fe);
|
||||
pub const SENSOR_TYPE_ENVIRONMENTAL_ATMOSPHERIC_PRESSURE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0e903829_ff8a_4a93_97df_3dcbde402288);
|
||||
pub const SENSOR_TYPE_ENVIRONMENTAL_HUMIDITY: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x5c72bf67_bd7e_4257_990b_98a3ba3b400a);
|
||||
pub const SENSOR_TYPE_ENVIRONMENTAL_TEMPERATURE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x04fd0ec4_d5da_45fa_95a9_5db38ee19306);
|
||||
pub const SENSOR_TYPE_ENVIRONMENTAL_WIND_DIRECTION: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9ef57a35_9306_434d_af09_37fa5a9c00bd);
|
||||
pub const SENSOR_TYPE_ENVIRONMENTAL_WIND_SPEED: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xdd50607b_a45f_42cd_8efd_ec61761c4226);
|
||||
pub const SENSOR_TYPE_FORCE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xc2ab2b02_1a1c_4778_a81b_954a1788cc75);
|
||||
pub const SENSOR_TYPE_FREQUENCY: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x8cd2cbb6_73e6_4640_a709_72ae8fb60d7f);
|
||||
pub const SENSOR_TYPE_GYROMETER_1D: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xfa088734_f552_4584_8324_edfaf649652c);
|
||||
pub const SENSOR_TYPE_GYROMETER_2D: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x31ef4f83_919b_48bf_8de0_5d7a9d240556);
|
||||
pub const SENSOR_TYPE_GYROMETER_3D: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x09485f5a_759e_42c2_bd4b_a349b75c8643);
|
||||
pub const SENSOR_TYPE_HUMAN_PRESENCE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xc138c12b_ad52_451c_9375_87f518ff10c6);
|
||||
pub const SENSOR_TYPE_HUMAN_PROXIMITY: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x5220dae9_3179_4430_9f90_06266d2a34de);
|
||||
pub const SENSOR_TYPE_INCLINOMETER_1D: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xb96f98c5_7a75_4ba7_94e9_ac868c966dd8);
|
||||
pub const SENSOR_TYPE_INCLINOMETER_2D: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xab140f6d_83eb_4264_b70b_b16a5b256a01);
|
||||
pub const SENSOR_TYPE_INCLINOMETER_3D: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xb84919fb_ea85_4976_8444_6f6f5c6d31db);
|
||||
pub const SENSOR_TYPE_INDUCTANCE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xdc1d933f_c435_4c7d_a2fe_607192a524d3);
|
||||
pub const SENSOR_TYPE_LOCATION_BROADCAST: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xd26988cf_5162_4039_bb17_4c58b698e44a);
|
||||
pub const SENSOR_TYPE_LOCATION_DEAD_RECKONING: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x1a37d538_f28b_42da_9fce_a9d0a2a6d829);
|
||||
pub const SENSOR_TYPE_LOCATION_GPS: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xed4ca589_327a_4ff9_a560_91da4b48275e);
|
||||
pub const SENSOR_TYPE_LOCATION_LOOKUP: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x3b2eae4a_72ce_436d_96d2_3c5b8570e987);
|
||||
pub const SENSOR_TYPE_LOCATION_OTHER: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9b2d0566_0368_4f71_b88d_533f132031de);
|
||||
pub const SENSOR_TYPE_LOCATION_STATIC: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x095f8184_0fa9_4445_8e6e_b70f320b6b4c);
|
||||
pub const SENSOR_TYPE_LOCATION_TRIANGULATION: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x691c341a_5406_4fe1_942f_2246cbeb39e0);
|
||||
pub const SENSOR_TYPE_MOTION_DETECTOR: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x5c7c1a12_30a5_43b9_a4b2_cf09ec5b7be8);
|
||||
pub const SENSOR_TYPE_MULTIVALUE_SWITCH: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xb3ee4d76_37a4_4402_b25e_99c60a775fa1);
|
||||
pub const SENSOR_TYPE_POTENTIOMETER: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x2b3681a9_cadc_45aa_a6ff_54957c8bb440);
|
||||
pub const SENSOR_TYPE_PRESSURE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x26d31f34_6352_41cf_b793_ea0713d53d77);
|
||||
pub const SENSOR_TYPE_RESISTANCE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9993d2c8_c157_4a52_a7b5_195c76037231);
|
||||
pub const SENSOR_TYPE_RFID_SCANNER: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x44328ef5_02dd_4e8d_ad5d_9249832b2eca);
|
||||
pub const SENSOR_TYPE_SCALE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xc06dd92c_7feb_438e_9bf6_82207fff5bb8);
|
||||
pub const SENSOR_TYPE_SPEEDOMETER: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x6bd73c1f_0bb4_4310_81b2_dfc18a52bf94);
|
||||
pub const SENSOR_TYPE_STRAIN: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xc6d1ec0e_6803_4361_ad3d_85bcc58c6d29);
|
||||
pub const SENSOR_TYPE_TOUCH: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x17db3018_06c4_4f7d_81af_9274b7599c27);
|
||||
pub const SENSOR_TYPE_UNKNOWN: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x10ba83e3_ef4f_41ed_9885_a87d6435a8e1);
|
||||
pub const SENSOR_TYPE_VOLTAGE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xc5484637_4fb7_4953_98b8_a56d8aa1fb1e);
|
||||
pub const SIMPLE_DEVICE_ORIENTATION_NOT_ROTATED: SimpleDeviceOrientation = 0i32;
|
||||
pub const SIMPLE_DEVICE_ORIENTATION_ROTATED_180: SimpleDeviceOrientation = 2i32;
|
||||
pub const SIMPLE_DEVICE_ORIENTATION_ROTATED_270: SimpleDeviceOrientation = 3i32;
|
||||
pub const SIMPLE_DEVICE_ORIENTATION_ROTATED_90: SimpleDeviceOrientation = 1i32;
|
||||
pub const SIMPLE_DEVICE_ORIENTATION_ROTATED_FACE_DOWN: SimpleDeviceOrientation = 5i32;
|
||||
pub const SIMPLE_DEVICE_ORIENTATION_ROTATED_FACE_UP: SimpleDeviceOrientation = 4i32;
|
||||
pub const Sensor: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xe97ced00_523a_4133_bf6f_d3a2dae7f6ba);
|
||||
pub const SensorCollection: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x79c43adb_a429_469f_aa39_2f2b74b75937);
|
||||
pub const SensorConnectionType_Attached: SENSOR_CONNECTION_TYPES = 1i32;
|
||||
pub const SensorConnectionType_External: SENSOR_CONNECTION_TYPES = 2i32;
|
||||
pub const SensorConnectionType_Integrated: SENSOR_CONNECTION_TYPES = 0i32;
|
||||
pub const SensorDataReport: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x4ea9d6ef_694b_4218_8816_ccda8da74bba);
|
||||
pub const SensorManager: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x77a1c827_fcd2_4689_8915_9d613cc5fa3e);
|
||||
pub const SensorState_Active: SENSOR_STATE = 2i32;
|
||||
pub const SensorState_Error: SENSOR_STATE = 3i32;
|
||||
pub const SensorState_Idle: SENSOR_STATE = 1i32;
|
||||
pub const SensorState_Initializing: SENSOR_STATE = 0i32;
|
||||
pub const SimpleDeviceOrientation_Facedown: SIMPLE_DEVICE_ORIENTATION = 5i32;
|
||||
pub const SimpleDeviceOrientation_Faceup: SIMPLE_DEVICE_ORIENTATION = 4i32;
|
||||
pub const SimpleDeviceOrientation_NotRotated: SIMPLE_DEVICE_ORIENTATION = 0i32;
|
||||
pub const SimpleDeviceOrientation_Rotated180DegreesCounterclockwise: SIMPLE_DEVICE_ORIENTATION = 2i32;
|
||||
pub const SimpleDeviceOrientation_Rotated270DegreesCounterclockwise: SIMPLE_DEVICE_ORIENTATION = 3i32;
|
||||
pub const SimpleDeviceOrientation_Rotated90DegreesCounterclockwise: SIMPLE_DEVICE_ORIENTATION = 1i32;
|
||||
pub type ACTIVITY_STATE = i32;
|
||||
pub type ACTIVITY_STATE_COUNT = i32;
|
||||
pub type AXIS = i32;
|
||||
pub type ELEVATION_CHANGE_MODE = i32;
|
||||
pub type HUMAN_PRESENCE_DETECTION_TYPE = i32;
|
||||
pub type HUMAN_PRESENCE_DETECTION_TYPE_COUNT = i32;
|
||||
pub type LOCATION_DESIRED_ACCURACY = i32;
|
||||
pub type LOCATION_POSITION_SOURCE = i32;
|
||||
pub type MAGNETOMETER_ACCURACY = i32;
|
||||
pub type MagnetometerAccuracy = i32;
|
||||
pub type PEDOMETER_STEP_TYPE = i32;
|
||||
pub type PEDOMETER_STEP_TYPE_COUNT = i32;
|
||||
pub type PROXIMITY_SENSOR_CAPABILITIES = i32;
|
||||
pub type PROXIMITY_TYPE = i32;
|
||||
pub type SENSOR_CONNECTION_TYPES = i32;
|
||||
pub type SENSOR_STATE = i32;
|
||||
pub type SIMPLE_DEVICE_ORIENTATION = i32;
|
||||
pub type SensorConnectionType = i32;
|
||||
pub type SensorState = i32;
|
||||
pub type SimpleDeviceOrientation = i32;
|
||||
#[repr(C)]
|
||||
pub struct MATRIX3X3 {
|
||||
pub Anonymous: MATRIX3X3_0,
|
||||
}
|
||||
impl ::core::marker::Copy for MATRIX3X3 {}
|
||||
impl ::core::clone::Clone for MATRIX3X3 {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub union MATRIX3X3_0 {
|
||||
pub Anonymous1: MATRIX3X3_0_0,
|
||||
pub Anonymous2: MATRIX3X3_0_1,
|
||||
pub M: [f32; 9],
|
||||
}
|
||||
impl ::core::marker::Copy for MATRIX3X3_0 {}
|
||||
impl ::core::clone::Clone for MATRIX3X3_0 {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct MATRIX3X3_0_0 {
|
||||
pub A11: f32,
|
||||
pub A12: f32,
|
||||
pub A13: f32,
|
||||
pub A21: f32,
|
||||
pub A22: f32,
|
||||
pub A23: f32,
|
||||
pub A31: f32,
|
||||
pub A32: f32,
|
||||
pub A33: f32,
|
||||
}
|
||||
impl ::core::marker::Copy for MATRIX3X3_0_0 {}
|
||||
impl ::core::clone::Clone for MATRIX3X3_0_0 {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct MATRIX3X3_0_1 {
|
||||
pub V1: VEC3D,
|
||||
pub V2: VEC3D,
|
||||
pub V3: VEC3D,
|
||||
}
|
||||
impl ::core::marker::Copy for MATRIX3X3_0_1 {}
|
||||
impl ::core::clone::Clone for MATRIX3X3_0_1 {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct QUATERNION {
|
||||
pub X: f32,
|
||||
pub Y: f32,
|
||||
pub Z: f32,
|
||||
pub W: f32,
|
||||
}
|
||||
impl ::core::marker::Copy for QUATERNION {}
|
||||
impl ::core::clone::Clone for QUATERNION {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant", feature = "Win32_UI_Shell_PropertiesSystem"))]
|
||||
pub struct SENSOR_COLLECTION_LIST {
|
||||
pub AllocatedSizeInBytes: u32,
|
||||
pub Count: u32,
|
||||
pub List: [SENSOR_VALUE_PAIR; 1],
|
||||
}
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant", feature = "Win32_UI_Shell_PropertiesSystem"))]
|
||||
impl ::core::marker::Copy for SENSOR_COLLECTION_LIST {}
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant", feature = "Win32_UI_Shell_PropertiesSystem"))]
|
||||
impl ::core::clone::Clone for SENSOR_COLLECTION_LIST {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
pub struct SENSOR_PROPERTY_LIST {
|
||||
pub AllocatedSizeInBytes: u32,
|
||||
pub Count: u32,
|
||||
pub List: [super::super::UI::Shell::PropertiesSystem::PROPERTYKEY; 1],
|
||||
}
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
impl ::core::marker::Copy for SENSOR_PROPERTY_LIST {}
|
||||
#[cfg(feature = "Win32_UI_Shell_PropertiesSystem")]
|
||||
impl ::core::clone::Clone for SENSOR_PROPERTY_LIST {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`"]
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant", feature = "Win32_UI_Shell_PropertiesSystem"))]
|
||||
pub struct SENSOR_VALUE_PAIR {
|
||||
pub Key: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY,
|
||||
pub Value: super::super::System::Com::StructuredStorage::PROPVARIANT,
|
||||
}
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant", feature = "Win32_UI_Shell_PropertiesSystem"))]
|
||||
impl ::core::marker::Copy for SENSOR_VALUE_PAIR {}
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant", feature = "Win32_UI_Shell_PropertiesSystem"))]
|
||||
impl ::core::clone::Clone for SENSOR_VALUE_PAIR {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct VEC3D {
|
||||
pub X: f32,
|
||||
pub Y: f32,
|
||||
pub Z: f32,
|
||||
}
|
||||
impl ::core::marker::Copy for VEC3D {}
|
||||
impl ::core::clone::Clone for VEC3D {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
308
third-party/vendor/windows-sys/src/Windows/Win32/Devices/SerialCommunication/mod.rs
vendored
Normal file
308
third-party/vendor/windows-sys/src/Windows/Win32/Devices/SerialCommunication/mod.rs
vendored
Normal file
|
|
@ -0,0 +1,308 @@
|
|||
::windows_targets::link!("msports.dll" "system" fn ComDBClaimNextFreePort(hcomdb : HCOMDB, comnumber : *mut u32) -> i32);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("msports.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ComDBClaimPort(hcomdb : HCOMDB, comnumber : u32, forceclaim : super::super::Foundation:: BOOL, forced : *mut super::super::Foundation:: BOOL) -> i32);
|
||||
::windows_targets::link!("msports.dll" "system" fn ComDBClose(hcomdb : HCOMDB) -> i32);
|
||||
::windows_targets::link!("msports.dll" "system" fn ComDBGetCurrentPortUsage(hcomdb : HCOMDB, buffer : *mut u8, buffersize : u32, reporttype : u32, maxportsreported : *mut u32) -> i32);
|
||||
::windows_targets::link!("msports.dll" "system" fn ComDBOpen(phcomdb : *mut HCOMDB) -> i32);
|
||||
::windows_targets::link!("msports.dll" "system" fn ComDBReleasePort(hcomdb : HCOMDB, comnumber : u32) -> i32);
|
||||
::windows_targets::link!("msports.dll" "system" fn ComDBResizeDatabase(hcomdb : HCOMDB, newsize : u32) -> i32);
|
||||
pub const CDB_REPORT_BITS: u32 = 0u32;
|
||||
pub const CDB_REPORT_BYTES: u32 = 1u32;
|
||||
pub const COMDB_MAX_PORTS_ARBITRATED: u32 = 4096u32;
|
||||
pub const COMDB_MIN_PORTS_ARBITRATED: u32 = 256u32;
|
||||
#[doc = "Required features: `\"Win32_Devices_Properties\"`"]
|
||||
#[cfg(feature = "Win32_Devices_Properties")]
|
||||
pub const DEVPKEY_DeviceInterface_Serial_PortName: super::Properties::DEVPROPKEY = super::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x4c6bf15c_4c03_4aac_91f5_64c0f852bcf4), pid: 4 };
|
||||
#[doc = "Required features: `\"Win32_Devices_Properties\"`"]
|
||||
#[cfg(feature = "Win32_Devices_Properties")]
|
||||
pub const DEVPKEY_DeviceInterface_Serial_UsbProductId: super::Properties::DEVPROPKEY = super::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x4c6bf15c_4c03_4aac_91f5_64c0f852bcf4), pid: 3 };
|
||||
#[doc = "Required features: `\"Win32_Devices_Properties\"`"]
|
||||
#[cfg(feature = "Win32_Devices_Properties")]
|
||||
pub const DEVPKEY_DeviceInterface_Serial_UsbVendorId: super::Properties::DEVPROPKEY = super::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x4c6bf15c_4c03_4aac_91f5_64c0f852bcf4), pid: 2 };
|
||||
pub const EVEN_PARITY: u32 = 2u32;
|
||||
pub const IOCTL_INTERNAL_SERENUM_REMOVE_SELF: u32 = 3604999u32;
|
||||
pub const IOCTL_SERIAL_APPLY_DEFAULT_CONFIGURATION: u32 = 1769632u32;
|
||||
pub const IOCTL_SERIAL_CLEAR_STATS: u32 = 1769616u32;
|
||||
pub const IOCTL_SERIAL_CLR_DTR: u32 = 1769512u32;
|
||||
pub const IOCTL_SERIAL_CLR_RTS: u32 = 1769524u32;
|
||||
pub const IOCTL_SERIAL_CONFIG_SIZE: u32 = 1769600u32;
|
||||
pub const IOCTL_SERIAL_GET_BAUD_RATE: u32 = 1769552u32;
|
||||
pub const IOCTL_SERIAL_GET_CHARS: u32 = 1769560u32;
|
||||
pub const IOCTL_SERIAL_GET_COMMCONFIG: u32 = 1769604u32;
|
||||
pub const IOCTL_SERIAL_GET_COMMSTATUS: u32 = 1769580u32;
|
||||
pub const IOCTL_SERIAL_GET_DTRRTS: u32 = 1769592u32;
|
||||
pub const IOCTL_SERIAL_GET_HANDFLOW: u32 = 1769568u32;
|
||||
pub const IOCTL_SERIAL_GET_LINE_CONTROL: u32 = 1769556u32;
|
||||
pub const IOCTL_SERIAL_GET_MODEMSTATUS: u32 = 1769576u32;
|
||||
pub const IOCTL_SERIAL_GET_MODEM_CONTROL: u32 = 1769620u32;
|
||||
pub const IOCTL_SERIAL_GET_PROPERTIES: u32 = 1769588u32;
|
||||
pub const IOCTL_SERIAL_GET_STATS: u32 = 1769612u32;
|
||||
pub const IOCTL_SERIAL_GET_TIMEOUTS: u32 = 1769504u32;
|
||||
pub const IOCTL_SERIAL_GET_WAIT_MASK: u32 = 1769536u32;
|
||||
pub const IOCTL_SERIAL_IMMEDIATE_CHAR: u32 = 1769496u32;
|
||||
pub const IOCTL_SERIAL_INTERNAL_BASIC_SETTINGS: u32 = 1769484u32;
|
||||
pub const IOCTL_SERIAL_INTERNAL_CANCEL_WAIT_WAKE: u32 = 1769480u32;
|
||||
pub const IOCTL_SERIAL_INTERNAL_DO_WAIT_WAKE: u32 = 1769476u32;
|
||||
pub const IOCTL_SERIAL_INTERNAL_RESTORE_SETTINGS: u32 = 1769488u32;
|
||||
pub const IOCTL_SERIAL_PURGE: u32 = 1769548u32;
|
||||
pub const IOCTL_SERIAL_RESET_DEVICE: u32 = 1769516u32;
|
||||
pub const IOCTL_SERIAL_SET_BAUD_RATE: u32 = 1769476u32;
|
||||
pub const IOCTL_SERIAL_SET_BREAK_OFF: u32 = 1769492u32;
|
||||
pub const IOCTL_SERIAL_SET_BREAK_ON: u32 = 1769488u32;
|
||||
pub const IOCTL_SERIAL_SET_CHARS: u32 = 1769564u32;
|
||||
pub const IOCTL_SERIAL_SET_COMMCONFIG: u32 = 1769608u32;
|
||||
pub const IOCTL_SERIAL_SET_DTR: u32 = 1769508u32;
|
||||
pub const IOCTL_SERIAL_SET_FIFO_CONTROL: u32 = 1769628u32;
|
||||
pub const IOCTL_SERIAL_SET_HANDFLOW: u32 = 1769572u32;
|
||||
pub const IOCTL_SERIAL_SET_INTERVAL_TIMER_RESOLUTION: u32 = 1769636u32;
|
||||
pub const IOCTL_SERIAL_SET_LINE_CONTROL: u32 = 1769484u32;
|
||||
pub const IOCTL_SERIAL_SET_MODEM_CONTROL: u32 = 1769624u32;
|
||||
pub const IOCTL_SERIAL_SET_QUEUE_SIZE: u32 = 1769480u32;
|
||||
pub const IOCTL_SERIAL_SET_RTS: u32 = 1769520u32;
|
||||
pub const IOCTL_SERIAL_SET_TIMEOUTS: u32 = 1769500u32;
|
||||
pub const IOCTL_SERIAL_SET_WAIT_MASK: u32 = 1769540u32;
|
||||
pub const IOCTL_SERIAL_SET_XOFF: u32 = 1769528u32;
|
||||
pub const IOCTL_SERIAL_SET_XON: u32 = 1769532u32;
|
||||
pub const IOCTL_SERIAL_WAIT_ON_MASK: u32 = 1769544u32;
|
||||
pub const IOCTL_SERIAL_XOFF_COUNTER: u32 = 1769584u32;
|
||||
pub const MARK_PARITY: u32 = 3u32;
|
||||
pub const NO_PARITY: u32 = 0u32;
|
||||
pub const ODD_PARITY: u32 = 1u32;
|
||||
pub const SERIAL_EV_BREAK: u32 = 64u32;
|
||||
pub const SERIAL_EV_CTS: u32 = 8u32;
|
||||
pub const SERIAL_EV_DSR: u32 = 16u32;
|
||||
pub const SERIAL_EV_ERR: u32 = 128u32;
|
||||
pub const SERIAL_EV_EVENT1: u32 = 2048u32;
|
||||
pub const SERIAL_EV_EVENT2: u32 = 4096u32;
|
||||
pub const SERIAL_EV_PERR: u32 = 512u32;
|
||||
pub const SERIAL_EV_RING: u32 = 256u32;
|
||||
pub const SERIAL_EV_RLSD: u32 = 32u32;
|
||||
pub const SERIAL_EV_RX80FULL: u32 = 1024u32;
|
||||
pub const SERIAL_EV_RXCHAR: u32 = 1u32;
|
||||
pub const SERIAL_EV_RXFLAG: u32 = 2u32;
|
||||
pub const SERIAL_EV_TXEMPTY: u32 = 4u32;
|
||||
pub const SERIAL_LSRMST_ESCAPE: u16 = 0u16;
|
||||
pub const SERIAL_LSRMST_LSR_DATA: u16 = 1u16;
|
||||
pub const SERIAL_LSRMST_LSR_NODATA: u16 = 2u16;
|
||||
pub const SERIAL_LSRMST_MST: u16 = 3u16;
|
||||
pub const SERIAL_PURGE_RXABORT: u32 = 2u32;
|
||||
pub const SERIAL_PURGE_RXCLEAR: u32 = 8u32;
|
||||
pub const SERIAL_PURGE_TXABORT: u32 = 1u32;
|
||||
pub const SERIAL_PURGE_TXCLEAR: u32 = 4u32;
|
||||
pub const SPACE_PARITY: u32 = 4u32;
|
||||
pub const STOP_BITS_1_5: u32 = 1u32;
|
||||
pub const STOP_BITS_2: u32 = 2u32;
|
||||
pub const STOP_BIT_1: u32 = 0u32;
|
||||
pub const SerenumFirstHalf: SERENUM_PORTION = 0i32;
|
||||
pub const SerenumSecondHalf: SERENUM_PORTION = 1i32;
|
||||
pub const SerenumWhole: SERENUM_PORTION = 2i32;
|
||||
pub type SERENUM_PORTION = i32;
|
||||
pub type HCOMDB = isize;
|
||||
#[repr(C)]
|
||||
pub struct SERENUM_PORT_DESC {
|
||||
pub Size: u32,
|
||||
pub PortHandle: *mut ::core::ffi::c_void,
|
||||
pub PortAddress: i64,
|
||||
pub Reserved: [u16; 1],
|
||||
}
|
||||
impl ::core::marker::Copy for SERENUM_PORT_DESC {}
|
||||
impl ::core::clone::Clone for SERENUM_PORT_DESC {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct SERENUM_PORT_PARAMETERS {
|
||||
pub Size: u32,
|
||||
pub ReadAccessor: PSERENUM_READPORT,
|
||||
pub WriteAccessor: PSERENUM_WRITEPORT,
|
||||
pub SerPortAddress: *mut ::core::ffi::c_void,
|
||||
pub HardwareHandle: *mut ::core::ffi::c_void,
|
||||
pub Portion: SERENUM_PORTION,
|
||||
pub NumberAxis: u16,
|
||||
pub Reserved: [u16; 3],
|
||||
}
|
||||
impl ::core::marker::Copy for SERENUM_PORT_PARAMETERS {}
|
||||
impl ::core::clone::Clone for SERENUM_PORT_PARAMETERS {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct SERIALCONFIG {
|
||||
pub Size: u32,
|
||||
pub Version: u16,
|
||||
pub SubType: u32,
|
||||
pub ProvOffset: u32,
|
||||
pub ProviderSize: u32,
|
||||
pub ProviderData: [u16; 1],
|
||||
}
|
||||
impl ::core::marker::Copy for SERIALCONFIG {}
|
||||
impl ::core::clone::Clone for SERIALCONFIG {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct SERIALPERF_STATS {
|
||||
pub ReceivedCount: u32,
|
||||
pub TransmittedCount: u32,
|
||||
pub FrameErrorCount: u32,
|
||||
pub SerialOverrunErrorCount: u32,
|
||||
pub BufferOverrunErrorCount: u32,
|
||||
pub ParityErrorCount: u32,
|
||||
}
|
||||
impl ::core::marker::Copy for SERIALPERF_STATS {}
|
||||
impl ::core::clone::Clone for SERIALPERF_STATS {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct SERIAL_BASIC_SETTINGS {
|
||||
pub Timeouts: SERIAL_TIMEOUTS,
|
||||
pub HandFlow: SERIAL_HANDFLOW,
|
||||
pub RxFifo: u32,
|
||||
pub TxFifo: u32,
|
||||
}
|
||||
impl ::core::marker::Copy for SERIAL_BASIC_SETTINGS {}
|
||||
impl ::core::clone::Clone for SERIAL_BASIC_SETTINGS {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct SERIAL_BAUD_RATE {
|
||||
pub BaudRate: u32,
|
||||
}
|
||||
impl ::core::marker::Copy for SERIAL_BAUD_RATE {}
|
||||
impl ::core::clone::Clone for SERIAL_BAUD_RATE {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct SERIAL_CHARS {
|
||||
pub EofChar: u8,
|
||||
pub ErrorChar: u8,
|
||||
pub BreakChar: u8,
|
||||
pub EventChar: u8,
|
||||
pub XonChar: u8,
|
||||
pub XoffChar: u8,
|
||||
}
|
||||
impl ::core::marker::Copy for SERIAL_CHARS {}
|
||||
impl ::core::clone::Clone for SERIAL_CHARS {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct SERIAL_COMMPROP {
|
||||
pub PacketLength: u16,
|
||||
pub PacketVersion: u16,
|
||||
pub ServiceMask: u32,
|
||||
pub Reserved1: u32,
|
||||
pub MaxTxQueue: u32,
|
||||
pub MaxRxQueue: u32,
|
||||
pub MaxBaud: u32,
|
||||
pub ProvSubType: u32,
|
||||
pub ProvCapabilities: u32,
|
||||
pub SettableParams: u32,
|
||||
pub SettableBaud: u32,
|
||||
pub SettableData: u16,
|
||||
pub SettableStopParity: u16,
|
||||
pub CurrentTxQueue: u32,
|
||||
pub CurrentRxQueue: u32,
|
||||
pub ProvSpec1: u32,
|
||||
pub ProvSpec2: u32,
|
||||
pub ProvChar: [u16; 1],
|
||||
}
|
||||
impl ::core::marker::Copy for SERIAL_COMMPROP {}
|
||||
impl ::core::clone::Clone for SERIAL_COMMPROP {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct SERIAL_HANDFLOW {
|
||||
pub ControlHandShake: u32,
|
||||
pub FlowReplace: u32,
|
||||
pub XonLimit: i32,
|
||||
pub XoffLimit: i32,
|
||||
}
|
||||
impl ::core::marker::Copy for SERIAL_HANDFLOW {}
|
||||
impl ::core::clone::Clone for SERIAL_HANDFLOW {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct SERIAL_LINE_CONTROL {
|
||||
pub StopBits: u8,
|
||||
pub Parity: u8,
|
||||
pub WordLength: u8,
|
||||
}
|
||||
impl ::core::marker::Copy for SERIAL_LINE_CONTROL {}
|
||||
impl ::core::clone::Clone for SERIAL_LINE_CONTROL {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct SERIAL_QUEUE_SIZE {
|
||||
pub InSize: u32,
|
||||
pub OutSize: u32,
|
||||
}
|
||||
impl ::core::marker::Copy for SERIAL_QUEUE_SIZE {}
|
||||
impl ::core::clone::Clone for SERIAL_QUEUE_SIZE {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub struct SERIAL_STATUS {
|
||||
pub Errors: u32,
|
||||
pub HoldReasons: u32,
|
||||
pub AmountInInQueue: u32,
|
||||
pub AmountInOutQueue: u32,
|
||||
pub EofReceived: super::super::Foundation::BOOLEAN,
|
||||
pub WaitForImmediate: super::super::Foundation::BOOLEAN,
|
||||
}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::marker::Copy for SERIAL_STATUS {}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::clone::Clone for SERIAL_STATUS {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct SERIAL_TIMEOUTS {
|
||||
pub ReadIntervalTimeout: u32,
|
||||
pub ReadTotalTimeoutMultiplier: u32,
|
||||
pub ReadTotalTimeoutConstant: u32,
|
||||
pub WriteTotalTimeoutMultiplier: u32,
|
||||
pub WriteTotalTimeoutConstant: u32,
|
||||
}
|
||||
impl ::core::marker::Copy for SERIAL_TIMEOUTS {}
|
||||
impl ::core::clone::Clone for SERIAL_TIMEOUTS {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct SERIAL_XOFF_COUNTER {
|
||||
pub Timeout: u32,
|
||||
pub Counter: i32,
|
||||
pub XoffChar: u8,
|
||||
}
|
||||
impl ::core::marker::Copy for SERIAL_XOFF_COUNTER {}
|
||||
impl ::core::clone::Clone for SERIAL_XOFF_COUNTER {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
pub type PSERENUM_READPORT = ::core::option::Option<unsafe extern "system" fn(serportaddress: *const ::core::ffi::c_void) -> u8>;
|
||||
pub type PSERENUM_WRITEPORT = ::core::option::Option<unsafe extern "system" fn(serportaddress: *const ::core::ffi::c_void, value: u8) -> ()>;
|
||||
4033
third-party/vendor/windows-sys/src/Windows/Win32/Devices/Tapi/mod.rs
vendored
Normal file
4033
third-party/vendor/windows-sys/src/Windows/Win32/Devices/Tapi/mod.rs
vendored
Normal file
File diff suppressed because it is too large
Load diff
3981
third-party/vendor/windows-sys/src/Windows/Win32/Devices/Usb/mod.rs
vendored
Normal file
3981
third-party/vendor/windows-sys/src/Windows/Win32/Devices/Usb/mod.rs
vendored
Normal file
File diff suppressed because it is too large
Load diff
1091
third-party/vendor/windows-sys/src/Windows/Win32/Devices/WebServicesOnDevices/mod.rs
vendored
Normal file
1091
third-party/vendor/windows-sys/src/Windows/Win32/Devices/WebServicesOnDevices/mod.rs
vendored
Normal file
File diff suppressed because it is too large
Load diff
54
third-party/vendor/windows-sys/src/Windows/Win32/Devices/mod.rs
vendored
Normal file
54
third-party/vendor/windows-sys/src/Windows/Win32/Devices/mod.rs
vendored
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
#[cfg(feature = "Win32_Devices_AllJoyn")]
|
||||
#[doc = "Required features: `\"Win32_Devices_AllJoyn\"`"]
|
||||
pub mod AllJoyn;
|
||||
#[cfg(feature = "Win32_Devices_BiometricFramework")]
|
||||
#[doc = "Required features: `\"Win32_Devices_BiometricFramework\"`"]
|
||||
pub mod BiometricFramework;
|
||||
#[cfg(feature = "Win32_Devices_Bluetooth")]
|
||||
#[doc = "Required features: `\"Win32_Devices_Bluetooth\"`"]
|
||||
pub mod Bluetooth;
|
||||
#[cfg(feature = "Win32_Devices_Communication")]
|
||||
#[doc = "Required features: `\"Win32_Devices_Communication\"`"]
|
||||
pub mod Communication;
|
||||
#[cfg(feature = "Win32_Devices_DeviceAndDriverInstallation")]
|
||||
#[doc = "Required features: `\"Win32_Devices_DeviceAndDriverInstallation\"`"]
|
||||
pub mod DeviceAndDriverInstallation;
|
||||
#[cfg(feature = "Win32_Devices_DeviceQuery")]
|
||||
#[doc = "Required features: `\"Win32_Devices_DeviceQuery\"`"]
|
||||
pub mod DeviceQuery;
|
||||
#[cfg(feature = "Win32_Devices_Display")]
|
||||
#[doc = "Required features: `\"Win32_Devices_Display\"`"]
|
||||
pub mod Display;
|
||||
#[cfg(feature = "Win32_Devices_Enumeration")]
|
||||
#[doc = "Required features: `\"Win32_Devices_Enumeration\"`"]
|
||||
pub mod Enumeration;
|
||||
#[cfg(feature = "Win32_Devices_Fax")]
|
||||
#[doc = "Required features: `\"Win32_Devices_Fax\"`"]
|
||||
pub mod Fax;
|
||||
#[cfg(feature = "Win32_Devices_HumanInterfaceDevice")]
|
||||
#[doc = "Required features: `\"Win32_Devices_HumanInterfaceDevice\"`"]
|
||||
pub mod HumanInterfaceDevice;
|
||||
#[cfg(feature = "Win32_Devices_PortableDevices")]
|
||||
#[doc = "Required features: `\"Win32_Devices_PortableDevices\"`"]
|
||||
pub mod PortableDevices;
|
||||
#[cfg(feature = "Win32_Devices_Properties")]
|
||||
#[doc = "Required features: `\"Win32_Devices_Properties\"`"]
|
||||
pub mod Properties;
|
||||
#[cfg(feature = "Win32_Devices_Pwm")]
|
||||
#[doc = "Required features: `\"Win32_Devices_Pwm\"`"]
|
||||
pub mod Pwm;
|
||||
#[cfg(feature = "Win32_Devices_Sensors")]
|
||||
#[doc = "Required features: `\"Win32_Devices_Sensors\"`"]
|
||||
pub mod Sensors;
|
||||
#[cfg(feature = "Win32_Devices_SerialCommunication")]
|
||||
#[doc = "Required features: `\"Win32_Devices_SerialCommunication\"`"]
|
||||
pub mod SerialCommunication;
|
||||
#[cfg(feature = "Win32_Devices_Tapi")]
|
||||
#[doc = "Required features: `\"Win32_Devices_Tapi\"`"]
|
||||
pub mod Tapi;
|
||||
#[cfg(feature = "Win32_Devices_Usb")]
|
||||
#[doc = "Required features: `\"Win32_Devices_Usb\"`"]
|
||||
pub mod Usb;
|
||||
#[cfg(feature = "Win32_Devices_WebServicesOnDevices")]
|
||||
#[doc = "Required features: `\"Win32_Devices_WebServicesOnDevices\"`"]
|
||||
pub mod WebServicesOnDevices;
|
||||
10367
third-party/vendor/windows-sys/src/Windows/Win32/Foundation/mod.rs
vendored
Normal file
10367
third-party/vendor/windows-sys/src/Windows/Win32/Foundation/mod.rs
vendored
Normal file
File diff suppressed because it is too large
Load diff
117
third-party/vendor/windows-sys/src/Windows/Win32/Gaming/mod.rs
vendored
Normal file
117
third-party/vendor/windows-sys/src/Windows/Win32/Gaming/mod.rs
vendored
Normal file
|
|
@ -0,0 +1,117 @@
|
|||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("api-ms-win-gaming-tcui-l1-1-1.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CheckGamingPrivilegeSilently(privilegeid : u32, scope : ::windows_sys::core::HSTRING, policy : ::windows_sys::core::HSTRING, hasprivilege : *mut super::Foundation:: BOOL) -> ::windows_sys::core::HRESULT);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("api-ms-win-gaming-tcui-l1-1-2.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CheckGamingPrivilegeSilentlyForUser(user : ::windows_sys::core::IInspectable, privilegeid : u32, scope : ::windows_sys::core::HSTRING, policy : ::windows_sys::core::HSTRING, hasprivilege : *mut super::Foundation:: BOOL) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("api-ms-win-gaming-tcui-l1-1-1.dll" "system" fn CheckGamingPrivilegeWithUI(privilegeid : u32, scope : ::windows_sys::core::HSTRING, policy : ::windows_sys::core::HSTRING, friendlymessage : ::windows_sys::core::HSTRING, completionroutine : GameUICompletionRoutine, context : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("api-ms-win-gaming-tcui-l1-1-2.dll" "system" fn CheckGamingPrivilegeWithUIForUser(user : ::windows_sys::core::IInspectable, privilegeid : u32, scope : ::windows_sys::core::HSTRING, policy : ::windows_sys::core::HSTRING, friendlymessage : ::windows_sys::core::HSTRING, completionroutine : GameUICompletionRoutine, context : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("api-ms-win-gaming-expandedresources-l1-1-0.dll" "system" fn GetExpandedResourceExclusiveCpuCount(exclusivecpucount : *mut u32) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("api-ms-win-gaming-deviceinformation-l1-1-0.dll" "system" fn GetGamingDeviceModelInformation(information : *mut GAMING_DEVICE_MODEL_INFORMATION) -> ::windows_sys::core::HRESULT);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("api-ms-win-gaming-expandedresources-l1-1-0.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn HasExpandedResources(hasexpandedresources : *mut super::Foundation:: BOOL) -> ::windows_sys::core::HRESULT);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("api-ms-win-gaming-tcui-l1-1-0.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ProcessPendingGameUI(waitforcompletion : super::Foundation:: BOOL) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("api-ms-win-gaming-expandedresources-l1-1-0.dll" "system" fn ReleaseExclusiveCpuSets() -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("api-ms-win-gaming-tcui-l1-1-0.dll" "system" fn ShowChangeFriendRelationshipUI(targetuserxuid : ::windows_sys::core::HSTRING, completionroutine : GameUICompletionRoutine, context : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("api-ms-win-gaming-tcui-l1-1-2.dll" "system" fn ShowChangeFriendRelationshipUIForUser(user : ::windows_sys::core::IInspectable, targetuserxuid : ::windows_sys::core::HSTRING, completionroutine : GameUICompletionRoutine, context : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("api-ms-win-gaming-tcui-l1-1-4.dll" "system" fn ShowCustomizeUserProfileUI(completionroutine : GameUICompletionRoutine, context : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("api-ms-win-gaming-tcui-l1-1-4.dll" "system" fn ShowCustomizeUserProfileUIForUser(user : ::windows_sys::core::IInspectable, completionroutine : GameUICompletionRoutine, context : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("api-ms-win-gaming-tcui-l1-1-4.dll" "system" fn ShowFindFriendsUI(completionroutine : GameUICompletionRoutine, context : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("api-ms-win-gaming-tcui-l1-1-4.dll" "system" fn ShowFindFriendsUIForUser(user : ::windows_sys::core::IInspectable, completionroutine : GameUICompletionRoutine, context : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("api-ms-win-gaming-tcui-l1-1-4.dll" "system" fn ShowGameInfoUI(titleid : u32, completionroutine : GameUICompletionRoutine, context : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("api-ms-win-gaming-tcui-l1-1-4.dll" "system" fn ShowGameInfoUIForUser(user : ::windows_sys::core::IInspectable, titleid : u32, completionroutine : GameUICompletionRoutine, context : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("api-ms-win-gaming-tcui-l1-1-0.dll" "system" fn ShowGameInviteUI(serviceconfigurationid : ::windows_sys::core::HSTRING, sessiontemplatename : ::windows_sys::core::HSTRING, sessionid : ::windows_sys::core::HSTRING, invitationdisplaytext : ::windows_sys::core::HSTRING, completionroutine : GameUICompletionRoutine, context : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("api-ms-win-gaming-tcui-l1-1-2.dll" "system" fn ShowGameInviteUIForUser(user : ::windows_sys::core::IInspectable, serviceconfigurationid : ::windows_sys::core::HSTRING, sessiontemplatename : ::windows_sys::core::HSTRING, sessionid : ::windows_sys::core::HSTRING, invitationdisplaytext : ::windows_sys::core::HSTRING, completionroutine : GameUICompletionRoutine, context : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("api-ms-win-gaming-tcui-l1-1-3.dll" "system" fn ShowGameInviteUIWithContext(serviceconfigurationid : ::windows_sys::core::HSTRING, sessiontemplatename : ::windows_sys::core::HSTRING, sessionid : ::windows_sys::core::HSTRING, invitationdisplaytext : ::windows_sys::core::HSTRING, customactivationcontext : ::windows_sys::core::HSTRING, completionroutine : GameUICompletionRoutine, context : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("api-ms-win-gaming-tcui-l1-1-3.dll" "system" fn ShowGameInviteUIWithContextForUser(user : ::windows_sys::core::IInspectable, serviceconfigurationid : ::windows_sys::core::HSTRING, sessiontemplatename : ::windows_sys::core::HSTRING, sessionid : ::windows_sys::core::HSTRING, invitationdisplaytext : ::windows_sys::core::HSTRING, customactivationcontext : ::windows_sys::core::HSTRING, completionroutine : GameUICompletionRoutine, context : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("api-ms-win-gaming-tcui-l1-1-0.dll" "system" fn ShowPlayerPickerUI(promptdisplaytext : ::windows_sys::core::HSTRING, xuids : *const ::windows_sys::core::HSTRING, xuidscount : usize, preselectedxuids : *const ::windows_sys::core::HSTRING, preselectedxuidscount : usize, minselectioncount : usize, maxselectioncount : usize, completionroutine : PlayerPickerUICompletionRoutine, context : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("api-ms-win-gaming-tcui-l1-1-2.dll" "system" fn ShowPlayerPickerUIForUser(user : ::windows_sys::core::IInspectable, promptdisplaytext : ::windows_sys::core::HSTRING, xuids : *const ::windows_sys::core::HSTRING, xuidscount : usize, preselectedxuids : *const ::windows_sys::core::HSTRING, preselectedxuidscount : usize, minselectioncount : usize, maxselectioncount : usize, completionroutine : PlayerPickerUICompletionRoutine, context : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("api-ms-win-gaming-tcui-l1-1-0.dll" "system" fn ShowProfileCardUI(targetuserxuid : ::windows_sys::core::HSTRING, completionroutine : GameUICompletionRoutine, context : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("api-ms-win-gaming-tcui-l1-1-2.dll" "system" fn ShowProfileCardUIForUser(user : ::windows_sys::core::IInspectable, targetuserxuid : ::windows_sys::core::HSTRING, completionroutine : GameUICompletionRoutine, context : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("api-ms-win-gaming-tcui-l1-1-0.dll" "system" fn ShowTitleAchievementsUI(titleid : u32, completionroutine : GameUICompletionRoutine, context : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("api-ms-win-gaming-tcui-l1-1-2.dll" "system" fn ShowTitleAchievementsUIForUser(user : ::windows_sys::core::IInspectable, titleid : u32, completionroutine : GameUICompletionRoutine, context : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("api-ms-win-gaming-tcui-l1-1-4.dll" "system" fn ShowUserSettingsUI(completionroutine : GameUICompletionRoutine, context : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("api-ms-win-gaming-tcui-l1-1-4.dll" "system" fn ShowUserSettingsUIForUser(user : ::windows_sys::core::IInspectable, completionroutine : GameUICompletionRoutine, context : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("api-ms-win-gaming-tcui-l1-1-0.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn TryCancelPendingGameUI() -> super::Foundation:: BOOL);
|
||||
pub type IGameExplorer = *mut ::core::ffi::c_void;
|
||||
pub type IGameExplorer2 = *mut ::core::ffi::c_void;
|
||||
pub type IGameStatistics = *mut ::core::ffi::c_void;
|
||||
pub type IGameStatisticsMgr = *mut ::core::ffi::c_void;
|
||||
pub type IXblIdpAuthManager = *mut ::core::ffi::c_void;
|
||||
pub type IXblIdpAuthManager2 = *mut ::core::ffi::c_void;
|
||||
pub type IXblIdpAuthTokenResult = *mut ::core::ffi::c_void;
|
||||
pub type IXblIdpAuthTokenResult2 = *mut ::core::ffi::c_void;
|
||||
pub const GAMESTATS_OPEN_CREATED: GAMESTATS_OPEN_RESULT = 0i32;
|
||||
pub const GAMESTATS_OPEN_OPENED: GAMESTATS_OPEN_RESULT = 1i32;
|
||||
pub const GAMESTATS_OPEN_OPENONLY: GAMESTATS_OPEN_TYPE = 1i32;
|
||||
pub const GAMESTATS_OPEN_OPENORCREATE: GAMESTATS_OPEN_TYPE = 0i32;
|
||||
pub const GAMING_DEVICE_DEVICE_ID_NONE: GAMING_DEVICE_DEVICE_ID = 0i32;
|
||||
pub const GAMING_DEVICE_DEVICE_ID_XBOX_ONE: GAMING_DEVICE_DEVICE_ID = 1988865574i32;
|
||||
pub const GAMING_DEVICE_DEVICE_ID_XBOX_ONE_S: GAMING_DEVICE_DEVICE_ID = 712204761i32;
|
||||
pub const GAMING_DEVICE_DEVICE_ID_XBOX_ONE_X: GAMING_DEVICE_DEVICE_ID = 1523980231i32;
|
||||
pub const GAMING_DEVICE_DEVICE_ID_XBOX_ONE_X_DEVKIT: GAMING_DEVICE_DEVICE_ID = 284675555i32;
|
||||
pub const GAMING_DEVICE_DEVICE_ID_XBOX_SERIES_S: GAMING_DEVICE_DEVICE_ID = 489159355i32;
|
||||
pub const GAMING_DEVICE_DEVICE_ID_XBOX_SERIES_X: GAMING_DEVICE_DEVICE_ID = 796540415i32;
|
||||
pub const GAMING_DEVICE_DEVICE_ID_XBOX_SERIES_X_DEVKIT: GAMING_DEVICE_DEVICE_ID = -561359263i32;
|
||||
pub const GAMING_DEVICE_VENDOR_ID_MICROSOFT: GAMING_DEVICE_VENDOR_ID = -1024700366i32;
|
||||
pub const GAMING_DEVICE_VENDOR_ID_NONE: GAMING_DEVICE_VENDOR_ID = 0i32;
|
||||
pub const GIS_ALL_USERS: GAME_INSTALL_SCOPE = 3i32;
|
||||
pub const GIS_CURRENT_USER: GAME_INSTALL_SCOPE = 2i32;
|
||||
pub const GIS_NOT_INSTALLED: GAME_INSTALL_SCOPE = 1i32;
|
||||
pub const GameExplorer: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9a5ea990_3034_4d6f_9128_01f3c61022bc);
|
||||
pub const GameStatistics: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xdbc85a2c_c0dc_4961_b6e2_d28b62c11ad4);
|
||||
pub const ID_GDF_THUMBNAIL_STR: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("__GDF_THUMBNAIL");
|
||||
pub const ID_GDF_XML_STR: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("__GDF_XML");
|
||||
pub const XBL_IDP_AUTH_TOKEN_STATUS_LOAD_MSA_ACCOUNT_FAILED: XBL_IDP_AUTH_TOKEN_STATUS = 3i32;
|
||||
pub const XBL_IDP_AUTH_TOKEN_STATUS_MSA_INTERRUPT: XBL_IDP_AUTH_TOKEN_STATUS = 5i32;
|
||||
pub const XBL_IDP_AUTH_TOKEN_STATUS_NO_ACCOUNT_SET: XBL_IDP_AUTH_TOKEN_STATUS = 2i32;
|
||||
pub const XBL_IDP_AUTH_TOKEN_STATUS_OFFLINE_NO_CONSENT: XBL_IDP_AUTH_TOKEN_STATUS = 6i32;
|
||||
pub const XBL_IDP_AUTH_TOKEN_STATUS_OFFLINE_SUCCESS: XBL_IDP_AUTH_TOKEN_STATUS = 1i32;
|
||||
pub const XBL_IDP_AUTH_TOKEN_STATUS_SUCCESS: XBL_IDP_AUTH_TOKEN_STATUS = 0i32;
|
||||
pub const XBL_IDP_AUTH_TOKEN_STATUS_UNKNOWN: XBL_IDP_AUTH_TOKEN_STATUS = -1i32;
|
||||
pub const XBL_IDP_AUTH_TOKEN_STATUS_VIEW_NOT_SET: XBL_IDP_AUTH_TOKEN_STATUS = 7i32;
|
||||
pub const XBL_IDP_AUTH_TOKEN_STATUS_XBOX_VETO: XBL_IDP_AUTH_TOKEN_STATUS = 4i32;
|
||||
pub const XPRIVILEGE_ADD_FRIEND: KnownGamingPrivileges = 255i32;
|
||||
pub const XPRIVILEGE_BROADCAST: KnownGamingPrivileges = 190i32;
|
||||
pub const XPRIVILEGE_CLOUD_GAMING_JOIN_SESSION: KnownGamingPrivileges = 208i32;
|
||||
pub const XPRIVILEGE_CLOUD_GAMING_MANAGE_SESSION: KnownGamingPrivileges = 207i32;
|
||||
pub const XPRIVILEGE_CLOUD_SAVED_GAMES: KnownGamingPrivileges = 209i32;
|
||||
pub const XPRIVILEGE_COMMUNICATIONS: KnownGamingPrivileges = 252i32;
|
||||
pub const XPRIVILEGE_COMMUNICATION_VOICE_INGAME: KnownGamingPrivileges = 205i32;
|
||||
pub const XPRIVILEGE_COMMUNICATION_VOICE_SKYPE: KnownGamingPrivileges = 206i32;
|
||||
pub const XPRIVILEGE_GAME_DVR: KnownGamingPrivileges = 198i32;
|
||||
pub const XPRIVILEGE_MULTIPLAYER_PARTIES: KnownGamingPrivileges = 203i32;
|
||||
pub const XPRIVILEGE_MULTIPLAYER_SESSIONS: KnownGamingPrivileges = 254i32;
|
||||
pub const XPRIVILEGE_PREMIUM_CONTENT: KnownGamingPrivileges = 214i32;
|
||||
pub const XPRIVILEGE_PREMIUM_VIDEO: KnownGamingPrivileges = 224i32;
|
||||
pub const XPRIVILEGE_PROFILE_VIEWING: KnownGamingPrivileges = 249i32;
|
||||
pub const XPRIVILEGE_PURCHASE_CONTENT: KnownGamingPrivileges = 245i32;
|
||||
pub const XPRIVILEGE_SHARE_CONTENT: KnownGamingPrivileges = 211i32;
|
||||
pub const XPRIVILEGE_SHARE_KINECT_CONTENT: KnownGamingPrivileges = 199i32;
|
||||
pub const XPRIVILEGE_SOCIAL_NETWORK_SHARING: KnownGamingPrivileges = 220i32;
|
||||
pub const XPRIVILEGE_SUBSCRIPTION_CONTENT: KnownGamingPrivileges = 219i32;
|
||||
pub const XPRIVILEGE_USER_CREATED_CONTENT: KnownGamingPrivileges = 247i32;
|
||||
pub const XPRIVILEGE_VIDEO_COMMUNICATIONS: KnownGamingPrivileges = 235i32;
|
||||
pub const XPRIVILEGE_VIEW_FRIENDS_LIST: KnownGamingPrivileges = 197i32;
|
||||
pub const XblIdpAuthManager: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xce23534b_56d8_4978_86a2_7ee570640468);
|
||||
pub const XblIdpAuthTokenResult: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9f493441_744a_410c_ae2b_9a22f7c7731f);
|
||||
pub type GAMESTATS_OPEN_RESULT = i32;
|
||||
pub type GAMESTATS_OPEN_TYPE = i32;
|
||||
pub type GAME_INSTALL_SCOPE = i32;
|
||||
pub type GAMING_DEVICE_DEVICE_ID = i32;
|
||||
pub type GAMING_DEVICE_VENDOR_ID = i32;
|
||||
pub type KnownGamingPrivileges = i32;
|
||||
pub type XBL_IDP_AUTH_TOKEN_STATUS = i32;
|
||||
#[repr(C)]
|
||||
pub struct GAMING_DEVICE_MODEL_INFORMATION {
|
||||
pub vendorId: GAMING_DEVICE_VENDOR_ID,
|
||||
pub deviceId: GAMING_DEVICE_DEVICE_ID,
|
||||
}
|
||||
impl ::core::marker::Copy for GAMING_DEVICE_MODEL_INFORMATION {}
|
||||
impl ::core::clone::Clone for GAMING_DEVICE_MODEL_INFORMATION {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
pub type GameUICompletionRoutine = ::core::option::Option<unsafe extern "system" fn(returncode: ::windows_sys::core::HRESULT, context: *const ::core::ffi::c_void) -> ()>;
|
||||
pub type PlayerPickerUICompletionRoutine = ::core::option::Option<unsafe extern "system" fn(returncode: ::windows_sys::core::HRESULT, context: *const ::core::ffi::c_void, selectedxuids: *const ::windows_sys::core::HSTRING, selectedxuidscount: usize) -> ()>;
|
||||
5559
third-party/vendor/windows-sys/src/Windows/Win32/Globalization/mod.rs
vendored
Normal file
5559
third-party/vendor/windows-sys/src/Windows/Win32/Globalization/mod.rs
vendored
Normal file
File diff suppressed because it is too large
Load diff
294
third-party/vendor/windows-sys/src/Windows/Win32/Graphics/Dwm/mod.rs
vendored
Normal file
294
third-party/vendor/windows-sys/src/Windows/Win32/Graphics/Dwm/mod.rs
vendored
Normal file
|
|
@ -0,0 +1,294 @@
|
|||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("dwmapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DwmAttachMilContent(hwnd : super::super::Foundation:: HWND) -> ::windows_sys::core::HRESULT);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("dwmapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DwmDefWindowProc(hwnd : super::super::Foundation:: HWND, msg : u32, wparam : super::super::Foundation:: WPARAM, lparam : super::super::Foundation:: LPARAM, plresult : *mut super::super::Foundation:: LRESULT) -> super::super::Foundation:: BOOL);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("dwmapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DwmDetachMilContent(hwnd : super::super::Foundation:: HWND) -> ::windows_sys::core::HRESULT);
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
|
||||
::windows_targets::link!("dwmapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`"] fn DwmEnableBlurBehindWindow(hwnd : super::super::Foundation:: HWND, pblurbehind : *const DWM_BLURBEHIND) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("dwmapi.dll" "system" fn DwmEnableComposition(ucompositionaction : u32) -> ::windows_sys::core::HRESULT);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("dwmapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DwmEnableMMCSS(fenablemmcss : super::super::Foundation:: BOOL) -> ::windows_sys::core::HRESULT);
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Controls"))]
|
||||
::windows_targets::link!("dwmapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_UI_Controls\"`"] fn DwmExtendFrameIntoClientArea(hwnd : super::super::Foundation:: HWND, pmarinset : *const super::super::UI::Controls:: MARGINS) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("dwmapi.dll" "system" fn DwmFlush() -> ::windows_sys::core::HRESULT);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("dwmapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DwmGetColorizationColor(pcrcolorization : *mut u32, pfopaqueblend : *mut super::super::Foundation:: BOOL) -> ::windows_sys::core::HRESULT);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("dwmapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DwmGetCompositionTimingInfo(hwnd : super::super::Foundation:: HWND, ptiminginfo : *mut DWM_TIMING_INFO) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("dwmapi.dll" "system" fn DwmGetGraphicsStreamClient(uindex : u32, pclientuuid : *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("dwmapi.dll" "system" fn DwmGetGraphicsStreamTransformHint(uindex : u32, ptransform : *mut MilMatrix3x2D) -> ::windows_sys::core::HRESULT);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("dwmapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DwmGetTransportAttributes(pfisremoting : *mut super::super::Foundation:: BOOL, pfisconnected : *mut super::super::Foundation:: BOOL, pdwgeneration : *mut u32) -> ::windows_sys::core::HRESULT);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("dwmapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DwmGetUnmetTabRequirements(appwindow : super::super::Foundation:: HWND, value : *mut DWM_TAB_WINDOW_REQUIREMENTS) -> ::windows_sys::core::HRESULT);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("dwmapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DwmGetWindowAttribute(hwnd : super::super::Foundation:: HWND, dwattribute : u32, pvattribute : *mut ::core::ffi::c_void, cbattribute : u32) -> ::windows_sys::core::HRESULT);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("dwmapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DwmInvalidateIconicBitmaps(hwnd : super::super::Foundation:: HWND) -> ::windows_sys::core::HRESULT);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("dwmapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DwmIsCompositionEnabled(pfenabled : *mut super::super::Foundation:: BOOL) -> ::windows_sys::core::HRESULT);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("dwmapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DwmModifyPreviousDxFrameDuration(hwnd : super::super::Foundation:: HWND, crefreshes : i32, frelative : super::super::Foundation:: BOOL) -> ::windows_sys::core::HRESULT);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("dwmapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DwmQueryThumbnailSourceSize(hthumbnail : isize, psize : *mut super::super::Foundation:: SIZE) -> ::windows_sys::core::HRESULT);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("dwmapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DwmRegisterThumbnail(hwnddestination : super::super::Foundation:: HWND, hwndsource : super::super::Foundation:: HWND, phthumbnailid : *mut isize) -> ::windows_sys::core::HRESULT);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("dwmapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DwmRenderGesture(gt : GESTURE_TYPE, ccontacts : u32, pdwpointerid : *const u32, ppoints : *const super::super::Foundation:: POINT) -> ::windows_sys::core::HRESULT);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("dwmapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DwmSetDxFrameDuration(hwnd : super::super::Foundation:: HWND, crefreshes : i32) -> ::windows_sys::core::HRESULT);
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
|
||||
::windows_targets::link!("dwmapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`"] fn DwmSetIconicLivePreviewBitmap(hwnd : super::super::Foundation:: HWND, hbmp : super::Gdi:: HBITMAP, pptclient : *const super::super::Foundation:: POINT, dwsitflags : u32) -> ::windows_sys::core::HRESULT);
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
|
||||
::windows_targets::link!("dwmapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`"] fn DwmSetIconicThumbnail(hwnd : super::super::Foundation:: HWND, hbmp : super::Gdi:: HBITMAP, dwsitflags : u32) -> ::windows_sys::core::HRESULT);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("dwmapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DwmSetPresentParameters(hwnd : super::super::Foundation:: HWND, ppresentparams : *mut DWM_PRESENT_PARAMETERS) -> ::windows_sys::core::HRESULT);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("dwmapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DwmSetWindowAttribute(hwnd : super::super::Foundation:: HWND, dwattribute : u32, pvattribute : *const ::core::ffi::c_void, cbattribute : u32) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("dwmapi.dll" "system" fn DwmShowContact(dwpointerid : u32, eshowcontact : DWM_SHOWCONTACT) -> ::windows_sys::core::HRESULT);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("dwmapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DwmTetherContact(dwpointerid : u32, fenable : super::super::Foundation:: BOOL, pttether : super::super::Foundation:: POINT) -> ::windows_sys::core::HRESULT);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("dwmapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DwmTransitionOwnedWindow(hwnd : super::super::Foundation:: HWND, target : DWMTRANSITION_OWNEDWINDOW_TARGET) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("dwmapi.dll" "system" fn DwmUnregisterThumbnail(hthumbnailid : isize) -> ::windows_sys::core::HRESULT);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("dwmapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DwmUpdateThumbnailProperties(hthumbnailid : isize, ptnproperties : *const DWM_THUMBNAIL_PROPERTIES) -> ::windows_sys::core::HRESULT);
|
||||
pub const DWMFLIP3D_DEFAULT: DWMFLIP3DWINDOWPOLICY = 0i32;
|
||||
pub const DWMFLIP3D_EXCLUDEABOVE: DWMFLIP3DWINDOWPOLICY = 2i32;
|
||||
pub const DWMFLIP3D_EXCLUDEBELOW: DWMFLIP3DWINDOWPOLICY = 1i32;
|
||||
pub const DWMFLIP3D_LAST: DWMFLIP3DWINDOWPOLICY = 3i32;
|
||||
pub const DWMNCRP_DISABLED: DWMNCRENDERINGPOLICY = 1i32;
|
||||
pub const DWMNCRP_ENABLED: DWMNCRENDERINGPOLICY = 2i32;
|
||||
pub const DWMNCRP_LAST: DWMNCRENDERINGPOLICY = 3i32;
|
||||
pub const DWMNCRP_USEWINDOWSTYLE: DWMNCRENDERINGPOLICY = 0i32;
|
||||
pub const DWMSBT_AUTO: DWM_SYSTEMBACKDROP_TYPE = 0i32;
|
||||
pub const DWMSBT_MAINWINDOW: DWM_SYSTEMBACKDROP_TYPE = 2i32;
|
||||
pub const DWMSBT_NONE: DWM_SYSTEMBACKDROP_TYPE = 1i32;
|
||||
pub const DWMSBT_TABBEDWINDOW: DWM_SYSTEMBACKDROP_TYPE = 4i32;
|
||||
pub const DWMSBT_TRANSIENTWINDOW: DWM_SYSTEMBACKDROP_TYPE = 3i32;
|
||||
pub const DWMSC_ALL: DWM_SHOWCONTACT = 4294967295u32;
|
||||
pub const DWMSC_DOWN: DWM_SHOWCONTACT = 1u32;
|
||||
pub const DWMSC_DRAG: DWM_SHOWCONTACT = 4u32;
|
||||
pub const DWMSC_HOLD: DWM_SHOWCONTACT = 8u32;
|
||||
pub const DWMSC_NONE: DWM_SHOWCONTACT = 0u32;
|
||||
pub const DWMSC_PENBARREL: DWM_SHOWCONTACT = 16u32;
|
||||
pub const DWMSC_UP: DWM_SHOWCONTACT = 2u32;
|
||||
pub const DWMTRANSITION_OWNEDWINDOW_NULL: DWMTRANSITION_OWNEDWINDOW_TARGET = -1i32;
|
||||
pub const DWMTRANSITION_OWNEDWINDOW_REPOSITION: DWMTRANSITION_OWNEDWINDOW_TARGET = 0i32;
|
||||
pub const DWMTWR_APP_COMPAT: DWM_TAB_WINDOW_REQUIREMENTS = 512i32;
|
||||
pub const DWMTWR_GROUP_POLICY: DWM_TAB_WINDOW_REQUIREMENTS = 256i32;
|
||||
pub const DWMTWR_IMPLEMENTED_BY_SYSTEM: DWM_TAB_WINDOW_REQUIREMENTS = 1i32;
|
||||
pub const DWMTWR_NONE: DWM_TAB_WINDOW_REQUIREMENTS = 0i32;
|
||||
pub const DWMTWR_TABBING_ENABLED: DWM_TAB_WINDOW_REQUIREMENTS = 64i32;
|
||||
pub const DWMTWR_USER_POLICY: DWM_TAB_WINDOW_REQUIREMENTS = 128i32;
|
||||
pub const DWMTWR_WINDOW_DWM_ATTRIBUTES: DWM_TAB_WINDOW_REQUIREMENTS = 16i32;
|
||||
pub const DWMTWR_WINDOW_MARGINS: DWM_TAB_WINDOW_REQUIREMENTS = 32i32;
|
||||
pub const DWMTWR_WINDOW_REGION: DWM_TAB_WINDOW_REQUIREMENTS = 8i32;
|
||||
pub const DWMTWR_WINDOW_RELATIONSHIP: DWM_TAB_WINDOW_REQUIREMENTS = 2i32;
|
||||
pub const DWMTWR_WINDOW_STYLES: DWM_TAB_WINDOW_REQUIREMENTS = 4i32;
|
||||
pub const DWMWA_ALLOW_NCPAINT: DWMWINDOWATTRIBUTE = 4i32;
|
||||
pub const DWMWA_BORDER_COLOR: DWMWINDOWATTRIBUTE = 34i32;
|
||||
pub const DWMWA_CAPTION_BUTTON_BOUNDS: DWMWINDOWATTRIBUTE = 5i32;
|
||||
pub const DWMWA_CAPTION_COLOR: DWMWINDOWATTRIBUTE = 35i32;
|
||||
pub const DWMWA_CLOAK: DWMWINDOWATTRIBUTE = 13i32;
|
||||
pub const DWMWA_CLOAKED: DWMWINDOWATTRIBUTE = 14i32;
|
||||
pub const DWMWA_COLOR_DEFAULT: u32 = 4294967295u32;
|
||||
pub const DWMWA_COLOR_NONE: u32 = 4294967294u32;
|
||||
pub const DWMWA_DISALLOW_PEEK: DWMWINDOWATTRIBUTE = 11i32;
|
||||
pub const DWMWA_EXCLUDED_FROM_PEEK: DWMWINDOWATTRIBUTE = 12i32;
|
||||
pub const DWMWA_EXTENDED_FRAME_BOUNDS: DWMWINDOWATTRIBUTE = 9i32;
|
||||
pub const DWMWA_FLIP3D_POLICY: DWMWINDOWATTRIBUTE = 8i32;
|
||||
pub const DWMWA_FORCE_ICONIC_REPRESENTATION: DWMWINDOWATTRIBUTE = 7i32;
|
||||
pub const DWMWA_FREEZE_REPRESENTATION: DWMWINDOWATTRIBUTE = 15i32;
|
||||
pub const DWMWA_HAS_ICONIC_BITMAP: DWMWINDOWATTRIBUTE = 10i32;
|
||||
pub const DWMWA_LAST: DWMWINDOWATTRIBUTE = 39i32;
|
||||
pub const DWMWA_NCRENDERING_ENABLED: DWMWINDOWATTRIBUTE = 1i32;
|
||||
pub const DWMWA_NCRENDERING_POLICY: DWMWINDOWATTRIBUTE = 2i32;
|
||||
pub const DWMWA_NONCLIENT_RTL_LAYOUT: DWMWINDOWATTRIBUTE = 6i32;
|
||||
pub const DWMWA_PASSIVE_UPDATE_MODE: DWMWINDOWATTRIBUTE = 16i32;
|
||||
pub const DWMWA_SYSTEMBACKDROP_TYPE: DWMWINDOWATTRIBUTE = 38i32;
|
||||
pub const DWMWA_TEXT_COLOR: DWMWINDOWATTRIBUTE = 36i32;
|
||||
pub const DWMWA_TRANSITIONS_FORCEDISABLED: DWMWINDOWATTRIBUTE = 3i32;
|
||||
pub const DWMWA_USE_HOSTBACKDROPBRUSH: DWMWINDOWATTRIBUTE = 17i32;
|
||||
pub const DWMWA_USE_IMMERSIVE_DARK_MODE: DWMWINDOWATTRIBUTE = 20i32;
|
||||
pub const DWMWA_VISIBLE_FRAME_BORDER_THICKNESS: DWMWINDOWATTRIBUTE = 37i32;
|
||||
pub const DWMWA_WINDOW_CORNER_PREFERENCE: DWMWINDOWATTRIBUTE = 33i32;
|
||||
pub const DWMWCP_DEFAULT: DWM_WINDOW_CORNER_PREFERENCE = 0i32;
|
||||
pub const DWMWCP_DONOTROUND: DWM_WINDOW_CORNER_PREFERENCE = 1i32;
|
||||
pub const DWMWCP_ROUND: DWM_WINDOW_CORNER_PREFERENCE = 2i32;
|
||||
pub const DWMWCP_ROUNDSMALL: DWM_WINDOW_CORNER_PREFERENCE = 3i32;
|
||||
pub const DWM_BB_BLURREGION: u32 = 2u32;
|
||||
pub const DWM_BB_ENABLE: u32 = 1u32;
|
||||
pub const DWM_BB_TRANSITIONONMAXIMIZED: u32 = 4u32;
|
||||
pub const DWM_CLOAKED_APP: u32 = 1u32;
|
||||
pub const DWM_CLOAKED_INHERITED: u32 = 4u32;
|
||||
pub const DWM_CLOAKED_SHELL: u32 = 2u32;
|
||||
pub const DWM_EC_DISABLECOMPOSITION: u32 = 0u32;
|
||||
pub const DWM_EC_ENABLECOMPOSITION: u32 = 1u32;
|
||||
pub const DWM_FRAME_DURATION_DEFAULT: i32 = -1i32;
|
||||
pub const DWM_SIT_DISPLAYFRAME: u32 = 1u32;
|
||||
pub const DWM_SOURCE_FRAME_SAMPLING_COVERAGE: DWM_SOURCE_FRAME_SAMPLING = 1i32;
|
||||
pub const DWM_SOURCE_FRAME_SAMPLING_LAST: DWM_SOURCE_FRAME_SAMPLING = 2i32;
|
||||
pub const DWM_SOURCE_FRAME_SAMPLING_POINT: DWM_SOURCE_FRAME_SAMPLING = 0i32;
|
||||
pub const DWM_TNP_OPACITY: u32 = 4u32;
|
||||
pub const DWM_TNP_RECTDESTINATION: u32 = 1u32;
|
||||
pub const DWM_TNP_RECTSOURCE: u32 = 2u32;
|
||||
pub const DWM_TNP_SOURCECLIENTAREAONLY: u32 = 16u32;
|
||||
pub const DWM_TNP_VISIBLE: u32 = 8u32;
|
||||
pub const GT_PEN_DOUBLETAP: GESTURE_TYPE = 1i32;
|
||||
pub const GT_PEN_PRESSANDHOLD: GESTURE_TYPE = 3i32;
|
||||
pub const GT_PEN_PRESSANDHOLDABORT: GESTURE_TYPE = 4i32;
|
||||
pub const GT_PEN_RIGHTTAP: GESTURE_TYPE = 2i32;
|
||||
pub const GT_PEN_TAP: GESTURE_TYPE = 0i32;
|
||||
pub const GT_TOUCH_DOUBLETAP: GESTURE_TYPE = 6i32;
|
||||
pub const GT_TOUCH_PRESSANDHOLD: GESTURE_TYPE = 8i32;
|
||||
pub const GT_TOUCH_PRESSANDHOLDABORT: GESTURE_TYPE = 9i32;
|
||||
pub const GT_TOUCH_PRESSANDTAP: GESTURE_TYPE = 10i32;
|
||||
pub const GT_TOUCH_RIGHTTAP: GESTURE_TYPE = 7i32;
|
||||
pub const GT_TOUCH_TAP: GESTURE_TYPE = 5i32;
|
||||
pub const c_DwmMaxAdapters: u32 = 16u32;
|
||||
pub const c_DwmMaxMonitors: u32 = 16u32;
|
||||
pub const c_DwmMaxQueuedBuffers: u32 = 8u32;
|
||||
pub type DWMFLIP3DWINDOWPOLICY = i32;
|
||||
pub type DWMNCRENDERINGPOLICY = i32;
|
||||
pub type DWMTRANSITION_OWNEDWINDOW_TARGET = i32;
|
||||
pub type DWMWINDOWATTRIBUTE = i32;
|
||||
pub type DWM_SHOWCONTACT = u32;
|
||||
pub type DWM_SOURCE_FRAME_SAMPLING = i32;
|
||||
pub type DWM_SYSTEMBACKDROP_TYPE = i32;
|
||||
pub type DWM_TAB_WINDOW_REQUIREMENTS = i32;
|
||||
pub type DWM_WINDOW_CORNER_PREFERENCE = i32;
|
||||
pub type GESTURE_TYPE = i32;
|
||||
#[repr(C, packed(1))]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`"]
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
|
||||
pub struct DWM_BLURBEHIND {
|
||||
pub dwFlags: u32,
|
||||
pub fEnable: super::super::Foundation::BOOL,
|
||||
pub hRgnBlur: super::Gdi::HRGN,
|
||||
pub fTransitionOnMaximized: super::super::Foundation::BOOL,
|
||||
}
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
|
||||
impl ::core::marker::Copy for DWM_BLURBEHIND {}
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
|
||||
impl ::core::clone::Clone for DWM_BLURBEHIND {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C, packed(1))]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub struct DWM_PRESENT_PARAMETERS {
|
||||
pub cbSize: u32,
|
||||
pub fQueue: super::super::Foundation::BOOL,
|
||||
pub cRefreshStart: u64,
|
||||
pub cBuffer: u32,
|
||||
pub fUseSourceRate: super::super::Foundation::BOOL,
|
||||
pub rateSource: UNSIGNED_RATIO,
|
||||
pub cRefreshesPerFrame: u32,
|
||||
pub eSampling: DWM_SOURCE_FRAME_SAMPLING,
|
||||
}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::marker::Copy for DWM_PRESENT_PARAMETERS {}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::clone::Clone for DWM_PRESENT_PARAMETERS {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C, packed(1))]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub struct DWM_THUMBNAIL_PROPERTIES {
|
||||
pub dwFlags: u32,
|
||||
pub rcDestination: super::super::Foundation::RECT,
|
||||
pub rcSource: super::super::Foundation::RECT,
|
||||
pub opacity: u8,
|
||||
pub fVisible: super::super::Foundation::BOOL,
|
||||
pub fSourceClientAreaOnly: super::super::Foundation::BOOL,
|
||||
}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::marker::Copy for DWM_THUMBNAIL_PROPERTIES {}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::clone::Clone for DWM_THUMBNAIL_PROPERTIES {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C, packed(1))]
|
||||
pub struct DWM_TIMING_INFO {
|
||||
pub cbSize: u32,
|
||||
pub rateRefresh: UNSIGNED_RATIO,
|
||||
pub qpcRefreshPeriod: u64,
|
||||
pub rateCompose: UNSIGNED_RATIO,
|
||||
pub qpcVBlank: u64,
|
||||
pub cRefresh: u64,
|
||||
pub cDXRefresh: u32,
|
||||
pub qpcCompose: u64,
|
||||
pub cFrame: u64,
|
||||
pub cDXPresent: u32,
|
||||
pub cRefreshFrame: u64,
|
||||
pub cFrameSubmitted: u64,
|
||||
pub cDXPresentSubmitted: u32,
|
||||
pub cFrameConfirmed: u64,
|
||||
pub cDXPresentConfirmed: u32,
|
||||
pub cRefreshConfirmed: u64,
|
||||
pub cDXRefreshConfirmed: u32,
|
||||
pub cFramesLate: u64,
|
||||
pub cFramesOutstanding: u32,
|
||||
pub cFrameDisplayed: u64,
|
||||
pub qpcFrameDisplayed: u64,
|
||||
pub cRefreshFrameDisplayed: u64,
|
||||
pub cFrameComplete: u64,
|
||||
pub qpcFrameComplete: u64,
|
||||
pub cFramePending: u64,
|
||||
pub qpcFramePending: u64,
|
||||
pub cFramesDisplayed: u64,
|
||||
pub cFramesComplete: u64,
|
||||
pub cFramesPending: u64,
|
||||
pub cFramesAvailable: u64,
|
||||
pub cFramesDropped: u64,
|
||||
pub cFramesMissed: u64,
|
||||
pub cRefreshNextDisplayed: u64,
|
||||
pub cRefreshNextPresented: u64,
|
||||
pub cRefreshesDisplayed: u64,
|
||||
pub cRefreshesPresented: u64,
|
||||
pub cRefreshStarted: u64,
|
||||
pub cPixelsReceived: u64,
|
||||
pub cPixelsDrawn: u64,
|
||||
pub cBuffersEmpty: u64,
|
||||
}
|
||||
impl ::core::marker::Copy for DWM_TIMING_INFO {}
|
||||
impl ::core::clone::Clone for DWM_TIMING_INFO {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C, packed(1))]
|
||||
pub struct MilMatrix3x2D {
|
||||
pub S_11: f64,
|
||||
pub S_12: f64,
|
||||
pub S_21: f64,
|
||||
pub S_22: f64,
|
||||
pub DX: f64,
|
||||
pub DY: f64,
|
||||
}
|
||||
impl ::core::marker::Copy for MilMatrix3x2D {}
|
||||
impl ::core::clone::Clone for MilMatrix3x2D {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C, packed(1))]
|
||||
pub struct UNSIGNED_RATIO {
|
||||
pub uiNumerator: u32,
|
||||
pub uiDenominator: u32,
|
||||
}
|
||||
impl ::core::marker::Copy for UNSIGNED_RATIO {}
|
||||
impl ::core::clone::Clone for UNSIGNED_RATIO {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
5221
third-party/vendor/windows-sys/src/Windows/Win32/Graphics/Gdi/mod.rs
vendored
Normal file
5221
third-party/vendor/windows-sys/src/Windows/Win32/Graphics/Gdi/mod.rs
vendored
Normal file
File diff suppressed because it is too large
Load diff
2639
third-party/vendor/windows-sys/src/Windows/Win32/Graphics/GdiPlus/mod.rs
vendored
Normal file
2639
third-party/vendor/windows-sys/src/Windows/Win32/Graphics/GdiPlus/mod.rs
vendored
Normal file
File diff suppressed because it is too large
Load diff
2
third-party/vendor/windows-sys/src/Windows/Win32/Graphics/Hlsl/mod.rs
vendored
Normal file
2
third-party/vendor/windows-sys/src/Windows/Win32/Graphics/Hlsl/mod.rs
vendored
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
pub const D3DCOMPILE_OPTIMIZATION_LEVEL2: u32 = 49152u32;
|
||||
pub const D3D_COMPILE_STANDARD_FILE_INCLUDE: u32 = 1u32;
|
||||
1312
third-party/vendor/windows-sys/src/Windows/Win32/Graphics/OpenGL/mod.rs
vendored
Normal file
1312
third-party/vendor/windows-sys/src/Windows/Win32/Graphics/OpenGL/mod.rs
vendored
Normal file
File diff suppressed because it is too large
Load diff
34
third-party/vendor/windows-sys/src/Windows/Win32/Graphics/Printing/PrintTicket/mod.rs
vendored
Normal file
34
third-party/vendor/windows-sys/src/Windows/Win32/Graphics/Printing/PrintTicket/mod.rs
vendored
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
#[cfg(feature = "Win32_Storage_Xps")]
|
||||
::windows_targets::link!("prntvpt.dll" "system" #[doc = "Required features: `\"Win32_Storage_Xps\"`"] fn PTCloseProvider(hprovider : super::super::super::Storage::Xps:: HPTPROVIDER) -> ::windows_sys::core::HRESULT);
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Storage_Xps", feature = "Win32_System_Com"))]
|
||||
::windows_targets::link!("prntvpt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Storage_Xps\"`, `\"Win32_System_Com\"`"] fn PTConvertDevModeToPrintTicket(hprovider : super::super::super::Storage::Xps:: HPTPROVIDER, cbdevmode : u32, pdevmode : *const super::super::Gdi:: DEVMODEA, scope : EPrintTicketScope, pprintticket : super::super::super::System::Com:: IStream) -> ::windows_sys::core::HRESULT);
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Storage_Xps", feature = "Win32_System_Com"))]
|
||||
::windows_targets::link!("prntvpt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Storage_Xps\"`, `\"Win32_System_Com\"`"] fn PTConvertPrintTicketToDevMode(hprovider : super::super::super::Storage::Xps:: HPTPROVIDER, pprintticket : super::super::super::System::Com:: IStream, basedevmodetype : EDefaultDevmodeType, scope : EPrintTicketScope, pcbdevmode : *mut u32, ppdevmode : *mut *mut super::super::Gdi:: DEVMODEA, pbstrerrormessage : *mut ::windows_sys::core::BSTR) -> ::windows_sys::core::HRESULT);
|
||||
#[cfg(all(feature = "Win32_Storage_Xps", feature = "Win32_System_Com"))]
|
||||
::windows_targets::link!("prntvpt.dll" "system" #[doc = "Required features: `\"Win32_Storage_Xps\"`, `\"Win32_System_Com\"`"] fn PTGetPrintCapabilities(hprovider : super::super::super::Storage::Xps:: HPTPROVIDER, pprintticket : super::super::super::System::Com:: IStream, pcapabilities : super::super::super::System::Com:: IStream, pbstrerrormessage : *mut ::windows_sys::core::BSTR) -> ::windows_sys::core::HRESULT);
|
||||
#[cfg(all(feature = "Win32_Storage_Xps", feature = "Win32_System_Com"))]
|
||||
::windows_targets::link!("prntvpt.dll" "system" #[doc = "Required features: `\"Win32_Storage_Xps\"`, `\"Win32_System_Com\"`"] fn PTGetPrintDeviceCapabilities(hprovider : super::super::super::Storage::Xps:: HPTPROVIDER, pprintticket : super::super::super::System::Com:: IStream, pdevicecapabilities : super::super::super::System::Com:: IStream, pbstrerrormessage : *mut ::windows_sys::core::BSTR) -> ::windows_sys::core::HRESULT);
|
||||
#[cfg(all(feature = "Win32_Storage_Xps", feature = "Win32_System_Com"))]
|
||||
::windows_targets::link!("prntvpt.dll" "system" #[doc = "Required features: `\"Win32_Storage_Xps\"`, `\"Win32_System_Com\"`"] fn PTGetPrintDeviceResources(hprovider : super::super::super::Storage::Xps:: HPTPROVIDER, pszlocalename : ::windows_sys::core::PCWSTR, pprintticket : super::super::super::System::Com:: IStream, pdeviceresources : super::super::super::System::Com:: IStream, pbstrerrormessage : *mut ::windows_sys::core::BSTR) -> ::windows_sys::core::HRESULT);
|
||||
#[cfg(all(feature = "Win32_Storage_Xps", feature = "Win32_System_Com"))]
|
||||
::windows_targets::link!("prntvpt.dll" "system" #[doc = "Required features: `\"Win32_Storage_Xps\"`, `\"Win32_System_Com\"`"] fn PTMergeAndValidatePrintTicket(hprovider : super::super::super::Storage::Xps:: HPTPROVIDER, pbaseticket : super::super::super::System::Com:: IStream, pdeltaticket : super::super::super::System::Com:: IStream, scope : EPrintTicketScope, presultticket : super::super::super::System::Com:: IStream, pbstrerrormessage : *mut ::windows_sys::core::BSTR) -> ::windows_sys::core::HRESULT);
|
||||
#[cfg(feature = "Win32_Storage_Xps")]
|
||||
::windows_targets::link!("prntvpt.dll" "system" #[doc = "Required features: `\"Win32_Storage_Xps\"`"] fn PTOpenProvider(pszprintername : ::windows_sys::core::PCWSTR, dwversion : u32, phprovider : *mut super::super::super::Storage::Xps:: HPTPROVIDER) -> ::windows_sys::core::HRESULT);
|
||||
#[cfg(feature = "Win32_Storage_Xps")]
|
||||
::windows_targets::link!("prntvpt.dll" "system" #[doc = "Required features: `\"Win32_Storage_Xps\"`"] fn PTOpenProviderEx(pszprintername : ::windows_sys::core::PCWSTR, dwmaxversion : u32, dwprefversion : u32, phprovider : *mut super::super::super::Storage::Xps:: HPTPROVIDER, pusedversion : *mut u32) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("prntvpt.dll" "system" fn PTQuerySchemaVersionSupport(pszprintername : ::windows_sys::core::PCWSTR, pmaxversion : *mut u32) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("prntvpt.dll" "system" fn PTReleaseMemory(pbuffer : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
|
||||
pub const E_DELTA_PRINTTICKET_FORMAT: u32 = 2147745797u32;
|
||||
pub const E_PRINTCAPABILITIES_FORMAT: u32 = 2147745796u32;
|
||||
pub const E_PRINTDEVICECAPABILITIES_FORMAT: u32 = 2147745798u32;
|
||||
pub const E_PRINTTICKET_FORMAT: u32 = 2147745795u32;
|
||||
pub const PRINTTICKET_ISTREAM_APIS: u32 = 1u32;
|
||||
pub const S_PT_CONFLICT_RESOLVED: u32 = 262146u32;
|
||||
pub const S_PT_NO_CONFLICT: u32 = 262145u32;
|
||||
pub const kPTDocumentScope: EPrintTicketScope = 1i32;
|
||||
pub const kPTJobScope: EPrintTicketScope = 2i32;
|
||||
pub const kPTPageScope: EPrintTicketScope = 0i32;
|
||||
pub const kPrinterDefaultDevmode: EDefaultDevmodeType = 1i32;
|
||||
pub const kUserDefaultDevmode: EDefaultDevmodeType = 0i32;
|
||||
pub type EDefaultDevmodeType = i32;
|
||||
pub type EPrintTicketScope = i32;
|
||||
5787
third-party/vendor/windows-sys/src/Windows/Win32/Graphics/Printing/mod.rs
vendored
Normal file
5787
third-party/vendor/windows-sys/src/Windows/Win32/Graphics/Printing/mod.rs
vendored
Normal file
File diff suppressed because it is too large
Load diff
18
third-party/vendor/windows-sys/src/Windows/Win32/Graphics/mod.rs
vendored
Normal file
18
third-party/vendor/windows-sys/src/Windows/Win32/Graphics/mod.rs
vendored
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
#[cfg(feature = "Win32_Graphics_Dwm")]
|
||||
#[doc = "Required features: `\"Win32_Graphics_Dwm\"`"]
|
||||
pub mod Dwm;
|
||||
#[cfg(feature = "Win32_Graphics_Gdi")]
|
||||
#[doc = "Required features: `\"Win32_Graphics_Gdi\"`"]
|
||||
pub mod Gdi;
|
||||
#[cfg(feature = "Win32_Graphics_GdiPlus")]
|
||||
#[doc = "Required features: `\"Win32_Graphics_GdiPlus\"`"]
|
||||
pub mod GdiPlus;
|
||||
#[cfg(feature = "Win32_Graphics_Hlsl")]
|
||||
#[doc = "Required features: `\"Win32_Graphics_Hlsl\"`"]
|
||||
pub mod Hlsl;
|
||||
#[cfg(feature = "Win32_Graphics_OpenGL")]
|
||||
#[doc = "Required features: `\"Win32_Graphics_OpenGL\"`"]
|
||||
pub mod OpenGL;
|
||||
#[cfg(feature = "Win32_Graphics_Printing")]
|
||||
#[doc = "Required features: `\"Win32_Graphics_Printing\"`"]
|
||||
pub mod Printing;
|
||||
|
|
@ -0,0 +1,121 @@
|
|||
::windows_targets::link!("mdmlocalmanagement.dll" "system" fn ApplyLocalManagementSyncML(syncmlrequest : ::windows_sys::core::PCWSTR, syncmlresult : *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("mdmregistration.dll" "system" fn DiscoverManagementService(pszupn : ::windows_sys::core::PCWSTR, ppmgmtinfo : *mut *mut MANAGEMENT_SERVICE_INFO) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("mdmregistration.dll" "system" fn DiscoverManagementServiceEx(pszupn : ::windows_sys::core::PCWSTR, pszdiscoveryservicecandidate : ::windows_sys::core::PCWSTR, ppmgmtinfo : *mut *mut MANAGEMENT_SERVICE_INFO) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("mdmregistration.dll" "system" fn GetDeviceManagementConfigInfo(providerid : ::windows_sys::core::PCWSTR, configstringbufferlength : *mut u32, configstring : ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("mdmregistration.dll" "system" fn GetDeviceRegistrationInfo(deviceinformationclass : REGISTRATION_INFORMATION_CLASS, ppdeviceregistrationinfo : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("mdmregistration.dll" "system" fn GetManagementAppHyperlink(cchhyperlink : u32, pszhyperlink : ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("mdmregistration.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn IsDeviceRegisteredWithManagement(pfisdeviceregisteredwithmanagement : *mut super::super::Foundation:: BOOL, cchupn : u32, pszupn : ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("mdmregistration.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn IsManagementRegistrationAllowed(pfismanagementregistrationallowed : *mut super::super::Foundation:: BOOL) -> ::windows_sys::core::HRESULT);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("mdmregistration.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn IsMdmUxWithoutAadAllowed(isenrollmentallowed : *mut super::super::Foundation:: BOOL) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("mdmregistration.dll" "system" fn RegisterDeviceDualEnrollMmpcUsingAADDeviceCredentials(cchenrollmentid : u32, pszenrollmentid : ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("mdmlocalmanagement.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RegisterDeviceWithLocalManagement(alreadyregistered : *mut super::super::Foundation:: BOOL) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("mdmregistration.dll" "system" fn RegisterDeviceWithManagement(pszupn : ::windows_sys::core::PCWSTR, ppszmdmserviceuri : ::windows_sys::core::PCWSTR, ppzsaccesstoken : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("mdmregistration.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RegisterDeviceWithManagementUsingAADCredentials(usertoken : super::super::Foundation:: HANDLE) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("mdmregistration.dll" "system" fn RegisterDeviceWithManagementUsingAADDeviceCredentials() -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("mdmregistration.dll" "system" fn RegisterDeviceWithManagementUsingAADDeviceCredentials2(mdmapplicationid : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("mdmregistration.dll" "system" fn SetDeviceManagementConfigInfo(providerid : ::windows_sys::core::PCWSTR, configstring : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("mdmregistration.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetManagedExternally(ismanagedexternally : super::super::Foundation:: BOOL) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("mdmlocalmanagement.dll" "system" fn UnregisterDeviceWithLocalManagement() -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("mdmregistration.dll" "system" fn UnregisterDeviceWithManagement(enrollmentid : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT);
|
||||
pub const DEVICEREGISTRATIONTYPE_MAM: u32 = 5u32;
|
||||
pub const DEVICEREGISTRATIONTYPE_MDM_DEVICEWIDE_WITH_AAD: u32 = 6u32;
|
||||
pub const DEVICEREGISTRATIONTYPE_MDM_ONLY: u32 = 0u32;
|
||||
pub const DEVICEREGISTRATIONTYPE_MDM_USERSPECIFIC_WITH_AAD: u32 = 13u32;
|
||||
pub const DEVICE_ENROLLER_FACILITY_CODE: u32 = 24u32;
|
||||
pub const DeviceRegistrationBasicInfo: REGISTRATION_INFORMATION_CLASS = 1i32;
|
||||
pub const MDM_REGISTRATION_FACILITY_CODE: u32 = 25u32;
|
||||
pub const MENROLL_E_CERTAUTH_FAILED_TO_FIND_CERT: ::windows_sys::core::HRESULT = -2145910744i32;
|
||||
pub const MENROLL_E_CERTPOLICY_PRIVATEKEYCREATION_FAILED: ::windows_sys::core::HRESULT = -2145910745i32;
|
||||
pub const MENROLL_E_CONNECTIVITY: ::windows_sys::core::HRESULT = -2145910768i32;
|
||||
pub const MENROLL_E_DEVICECAPREACHED: ::windows_sys::core::HRESULT = -2145910765i32;
|
||||
pub const MENROLL_E_DEVICENOTSUPPORTED: ::windows_sys::core::HRESULT = -2145910764i32;
|
||||
pub const MENROLL_E_DEVICE_ALREADY_ENROLLED: ::windows_sys::core::HRESULT = -2145910774i32;
|
||||
pub const MENROLL_E_DEVICE_AUTHENTICATION_ERROR: ::windows_sys::core::HRESULT = -2145910782i32;
|
||||
pub const MENROLL_E_DEVICE_AUTHORIZATION_ERROR: ::windows_sys::core::HRESULT = -2145910781i32;
|
||||
pub const MENROLL_E_DEVICE_CERTIFCATEREQUEST_ERROR: ::windows_sys::core::HRESULT = -2145910780i32;
|
||||
pub const MENROLL_E_DEVICE_CERTIFICATEREQUEST_ERROR: ::windows_sys::core::HRESULT = -2145910780i32;
|
||||
pub const MENROLL_E_DEVICE_CONFIGMGRSERVER_ERROR: ::windows_sys::core::HRESULT = -2145910779i32;
|
||||
pub const MENROLL_E_DEVICE_INTERNALSERVICE_ERROR: ::windows_sys::core::HRESULT = -2145910778i32;
|
||||
pub const MENROLL_E_DEVICE_INVALIDSECURITY_ERROR: ::windows_sys::core::HRESULT = -2145910777i32;
|
||||
pub const MENROLL_E_DEVICE_MANAGEMENT_BLOCKED: ::windows_sys::core::HRESULT = -2145910746i32;
|
||||
pub const MENROLL_E_DEVICE_MESSAGE_FORMAT_ERROR: ::windows_sys::core::HRESULT = -2145910783i32;
|
||||
pub const MENROLL_E_DEVICE_NOT_ENROLLED: ::windows_sys::core::HRESULT = -2145910773i32;
|
||||
pub const MENROLL_E_DEVICE_UNKNOWN_ERROR: ::windows_sys::core::HRESULT = -2145910776i32;
|
||||
pub const MENROLL_E_DISCOVERY_SEC_CERT_DATE_INVALID: ::windows_sys::core::HRESULT = -2145910771i32;
|
||||
pub const MENROLL_E_EMPTY_MESSAGE: ::windows_sys::core::HRESULT = -2145910743i32;
|
||||
pub const MENROLL_E_ENROLLMENTDATAINVALID: ::windows_sys::core::HRESULT = -2145910759i32;
|
||||
pub const MENROLL_E_ENROLLMENT_IN_PROGRESS: ::windows_sys::core::HRESULT = -2145910775i32;
|
||||
pub const MENROLL_E_INMAINTENANCE: ::windows_sys::core::HRESULT = -2145910761i32;
|
||||
pub const MENROLL_E_INSECUREREDIRECT: ::windows_sys::core::HRESULT = -2145910758i32;
|
||||
pub const MENROLL_E_INVALIDSSLCERT: ::windows_sys::core::HRESULT = -2145910766i32;
|
||||
pub const MENROLL_E_MDM_NOT_CONFIGURED: ::windows_sys::core::HRESULT = -2145910735i32;
|
||||
pub const MENROLL_E_NOTELIGIBLETORENEW: ::windows_sys::core::HRESULT = -2145910762i32;
|
||||
pub const MENROLL_E_NOTSUPPORTED: ::windows_sys::core::HRESULT = -2145910763i32;
|
||||
pub const MENROLL_E_NOT_SUPPORTED: ::windows_sys::core::HRESULT = -2145910763i32;
|
||||
pub const MENROLL_E_PASSWORD_NEEDED: ::windows_sys::core::HRESULT = -2145910770i32;
|
||||
pub const MENROLL_E_PLATFORM_LICENSE_ERROR: ::windows_sys::core::HRESULT = -2145910756i32;
|
||||
pub const MENROLL_E_PLATFORM_UNKNOWN_ERROR: ::windows_sys::core::HRESULT = -2145910755i32;
|
||||
pub const MENROLL_E_PLATFORM_WRONG_STATE: ::windows_sys::core::HRESULT = -2145910757i32;
|
||||
pub const MENROLL_E_PROV_CSP_APPMGMT: ::windows_sys::core::HRESULT = -2145910747i32;
|
||||
pub const MENROLL_E_PROV_CSP_CERTSTORE: ::windows_sys::core::HRESULT = -2145910754i32;
|
||||
pub const MENROLL_E_PROV_CSP_DMCLIENT: ::windows_sys::core::HRESULT = -2145910752i32;
|
||||
pub const MENROLL_E_PROV_CSP_MISC: ::windows_sys::core::HRESULT = -2145910750i32;
|
||||
pub const MENROLL_E_PROV_CSP_PFW: ::windows_sys::core::HRESULT = -2145910751i32;
|
||||
pub const MENROLL_E_PROV_CSP_W7: ::windows_sys::core::HRESULT = -2145910753i32;
|
||||
pub const MENROLL_E_PROV_SSLCERTNOTFOUND: ::windows_sys::core::HRESULT = -2145910748i32;
|
||||
pub const MENROLL_E_PROV_UNKNOWN: ::windows_sys::core::HRESULT = -2145910749i32;
|
||||
pub const MENROLL_E_USERLICENSE: ::windows_sys::core::HRESULT = -2145910760i32;
|
||||
pub const MENROLL_E_USER_CANCELED: ::windows_sys::core::HRESULT = -2145910742i32;
|
||||
pub const MENROLL_E_USER_CANCELLED: ::windows_sys::core::HRESULT = -2145910736i32;
|
||||
pub const MENROLL_E_USER_LICENSE: ::windows_sys::core::HRESULT = -2145910760i32;
|
||||
pub const MENROLL_E_WAB_ERROR: ::windows_sys::core::HRESULT = -2145910769i32;
|
||||
pub const MREGISTER_E_DEVICE_ALREADY_REGISTERED: ::windows_sys::core::HRESULT = -2145845238i32;
|
||||
pub const MREGISTER_E_DEVICE_AUTHENTICATION_ERROR: ::windows_sys::core::HRESULT = -2145845246i32;
|
||||
pub const MREGISTER_E_DEVICE_AUTHORIZATION_ERROR: ::windows_sys::core::HRESULT = -2145845245i32;
|
||||
pub const MREGISTER_E_DEVICE_CERTIFCATEREQUEST_ERROR: ::windows_sys::core::HRESULT = -2145845244i32;
|
||||
pub const MREGISTER_E_DEVICE_CONFIGMGRSERVER_ERROR: ::windows_sys::core::HRESULT = -2145845243i32;
|
||||
pub const MREGISTER_E_DEVICE_INTERNALSERVICE_ERROR: ::windows_sys::core::HRESULT = -2145845242i32;
|
||||
pub const MREGISTER_E_DEVICE_INVALIDSECURITY_ERROR: ::windows_sys::core::HRESULT = -2145845241i32;
|
||||
pub const MREGISTER_E_DEVICE_MESSAGE_FORMAT_ERROR: ::windows_sys::core::HRESULT = -2145845247i32;
|
||||
pub const MREGISTER_E_DEVICE_NOT_AD_REGISTERED_ERROR: ::windows_sys::core::HRESULT = -2145845235i32;
|
||||
pub const MREGISTER_E_DEVICE_NOT_REGISTERED: ::windows_sys::core::HRESULT = -2145845237i32;
|
||||
pub const MREGISTER_E_DEVICE_UNKNOWN_ERROR: ::windows_sys::core::HRESULT = -2145845240i32;
|
||||
pub const MREGISTER_E_DISCOVERY_FAILED: ::windows_sys::core::HRESULT = -2145845234i32;
|
||||
pub const MREGISTER_E_DISCOVERY_REDIRECTED: ::windows_sys::core::HRESULT = -2145845236i32;
|
||||
pub const MREGISTER_E_REGISTRATION_IN_PROGRESS: ::windows_sys::core::HRESULT = -2145845239i32;
|
||||
pub const MaxDeviceInfoClass: REGISTRATION_INFORMATION_CLASS = 2i32;
|
||||
pub type REGISTRATION_INFORMATION_CLASS = i32;
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub struct MANAGEMENT_REGISTRATION_INFO {
|
||||
pub fDeviceRegisteredWithManagement: super::super::Foundation::BOOL,
|
||||
pub dwDeviceRegistionKind: u32,
|
||||
pub pszUPN: ::windows_sys::core::PWSTR,
|
||||
pub pszMDMServiceUri: ::windows_sys::core::PWSTR,
|
||||
}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::marker::Copy for MANAGEMENT_REGISTRATION_INFO {}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::clone::Clone for MANAGEMENT_REGISTRATION_INFO {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct MANAGEMENT_SERVICE_INFO {
|
||||
pub pszMDMServiceUri: ::windows_sys::core::PWSTR,
|
||||
pub pszAuthenticationUri: ::windows_sys::core::PWSTR,
|
||||
}
|
||||
impl ::core::marker::Copy for MANAGEMENT_SERVICE_INFO {}
|
||||
impl ::core::clone::Clone for MANAGEMENT_SERVICE_INFO {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
3
third-party/vendor/windows-sys/src/Windows/Win32/Management/mod.rs
vendored
Normal file
3
third-party/vendor/windows-sys/src/Windows/Win32/Management/mod.rs
vendored
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
#[cfg(feature = "Win32_Management_MobileDeviceManagementRegistration")]
|
||||
#[doc = "Required features: `\"Win32_Management_MobileDeviceManagementRegistration\"`"]
|
||||
pub mod MobileDeviceManagementRegistration;
|
||||
2814
third-party/vendor/windows-sys/src/Windows/Win32/Media/Audio/mod.rs
vendored
Normal file
2814
third-party/vendor/windows-sys/src/Windows/Win32/Media/Audio/mod.rs
vendored
Normal file
File diff suppressed because it is too large
Load diff
125
third-party/vendor/windows-sys/src/Windows/Win32/Media/DxMediaObjects/mod.rs
vendored
Normal file
125
third-party/vendor/windows-sys/src/Windows/Win32/Media/DxMediaObjects/mod.rs
vendored
Normal file
|
|
@ -0,0 +1,125 @@
|
|||
::windows_targets::link!("msdmo.dll" "system" fn DMOEnum(guidcategory : *const ::windows_sys::core::GUID, dwflags : u32, cintypes : u32, pintypes : *const DMO_PARTIAL_MEDIATYPE, couttypes : u32, pouttypes : *const DMO_PARTIAL_MEDIATYPE, ppenum : *mut IEnumDMO) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("msdmo.dll" "system" fn DMOGetName(clsiddmo : *const ::windows_sys::core::GUID, szname : ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("msdmo.dll" "system" fn DMOGetTypes(clsiddmo : *const ::windows_sys::core::GUID, ulinputtypesrequested : u32, pulinputtypessupplied : *mut u32, pinputtypes : *mut DMO_PARTIAL_MEDIATYPE, uloutputtypesrequested : u32, puloutputtypessupplied : *mut u32, poutputtypes : *mut DMO_PARTIAL_MEDIATYPE) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("msdmo.dll" "system" fn DMORegister(szname : ::windows_sys::core::PCWSTR, clsiddmo : *const ::windows_sys::core::GUID, guidcategory : *const ::windows_sys::core::GUID, dwflags : u32, cintypes : u32, pintypes : *const DMO_PARTIAL_MEDIATYPE, couttypes : u32, pouttypes : *const DMO_PARTIAL_MEDIATYPE) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("msdmo.dll" "system" fn DMOUnregister(clsiddmo : *const ::windows_sys::core::GUID, guidcategory : *const ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("msdmo.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MoCopyMediaType(pmtdest : *mut DMO_MEDIA_TYPE, pmtsrc : *const DMO_MEDIA_TYPE) -> ::windows_sys::core::HRESULT);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("msdmo.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MoCreateMediaType(ppmt : *mut *mut DMO_MEDIA_TYPE, cbformat : u32) -> ::windows_sys::core::HRESULT);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("msdmo.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MoDeleteMediaType(pmt : *mut DMO_MEDIA_TYPE) -> ::windows_sys::core::HRESULT);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("msdmo.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MoDuplicateMediaType(ppmtdest : *mut *mut DMO_MEDIA_TYPE, pmtsrc : *const DMO_MEDIA_TYPE) -> ::windows_sys::core::HRESULT);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("msdmo.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MoFreeMediaType(pmt : *mut DMO_MEDIA_TYPE) -> ::windows_sys::core::HRESULT);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("msdmo.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MoInitMediaType(pmt : *mut DMO_MEDIA_TYPE, cbformat : u32) -> ::windows_sys::core::HRESULT);
|
||||
pub type IDMOQualityControl = *mut ::core::ffi::c_void;
|
||||
pub type IDMOVideoOutputOptimizations = *mut ::core::ffi::c_void;
|
||||
pub type IEnumDMO = *mut ::core::ffi::c_void;
|
||||
pub type IMediaBuffer = *mut ::core::ffi::c_void;
|
||||
pub type IMediaObject = *mut ::core::ffi::c_void;
|
||||
pub type IMediaObjectInPlace = *mut ::core::ffi::c_void;
|
||||
pub const DMOCATEGORY_ACOUSTIC_ECHO_CANCEL: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xbf963d80_c559_11d0_8a2b_00a0c9255ac1);
|
||||
pub const DMOCATEGORY_AGC: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xe88c9ba0_c557_11d0_8a2b_00a0c9255ac1);
|
||||
pub const DMOCATEGORY_AUDIO_CAPTURE_EFFECT: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xf665aaba_3e09_4920_aa5f_219811148f09);
|
||||
pub const DMOCATEGORY_AUDIO_DECODER: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x57f2db8b_e6bb_4513_9d43_dcd2a6593125);
|
||||
pub const DMOCATEGORY_AUDIO_EFFECT: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xf3602b3f_0592_48df_a4cd_674721e7ebeb);
|
||||
pub const DMOCATEGORY_AUDIO_ENCODER: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x33d9a761_90c8_11d0_bd43_00a0c911ce86);
|
||||
pub const DMOCATEGORY_AUDIO_NOISE_SUPPRESS: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xe07f903f_62fd_4e60_8cdd_dea7236665b5);
|
||||
pub const DMOCATEGORY_VIDEO_DECODER: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x4a69b442_28be_4991_969c_b500adf5d8a8);
|
||||
pub const DMOCATEGORY_VIDEO_EFFECT: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xd990ee14_776c_4723_be46_3da2f56f10b9);
|
||||
pub const DMOCATEGORY_VIDEO_ENCODER: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x33d9a760_90c8_11d0_bd43_00a0c911ce86);
|
||||
pub const DMO_ENUMF_INCLUDE_KEYED: DMO_ENUM_FLAGS = 1i32;
|
||||
pub const DMO_E_INVALIDSTREAMINDEX: ::windows_sys::core::HRESULT = -2147220991i32;
|
||||
pub const DMO_E_INVALIDTYPE: ::windows_sys::core::HRESULT = -2147220990i32;
|
||||
pub const DMO_E_NOTACCEPTING: ::windows_sys::core::HRESULT = -2147220988i32;
|
||||
pub const DMO_E_NO_MORE_ITEMS: ::windows_sys::core::HRESULT = -2147220986i32;
|
||||
pub const DMO_E_TYPE_NOT_ACCEPTED: ::windows_sys::core::HRESULT = -2147220987i32;
|
||||
pub const DMO_E_TYPE_NOT_SET: ::windows_sys::core::HRESULT = -2147220989i32;
|
||||
pub const DMO_INPLACE_NORMAL: _DMO_INPLACE_PROCESS_FLAGS = 0i32;
|
||||
pub const DMO_INPLACE_ZERO: _DMO_INPLACE_PROCESS_FLAGS = 1i32;
|
||||
pub const DMO_INPUT_DATA_BUFFERF_DISCONTINUITY: _DMO_INPUT_DATA_BUFFER_FLAGS = 8i32;
|
||||
pub const DMO_INPUT_DATA_BUFFERF_SYNCPOINT: _DMO_INPUT_DATA_BUFFER_FLAGS = 1i32;
|
||||
pub const DMO_INPUT_DATA_BUFFERF_TIME: _DMO_INPUT_DATA_BUFFER_FLAGS = 2i32;
|
||||
pub const DMO_INPUT_DATA_BUFFERF_TIMELENGTH: _DMO_INPUT_DATA_BUFFER_FLAGS = 4i32;
|
||||
pub const DMO_INPUT_STATUSF_ACCEPT_DATA: _DMO_INPUT_STATUS_FLAGS = 1i32;
|
||||
pub const DMO_INPUT_STREAMF_FIXED_SAMPLE_SIZE: _DMO_INPUT_STREAM_INFO_FLAGS = 4i32;
|
||||
pub const DMO_INPUT_STREAMF_HOLDS_BUFFERS: _DMO_INPUT_STREAM_INFO_FLAGS = 8i32;
|
||||
pub const DMO_INPUT_STREAMF_SINGLE_SAMPLE_PER_BUFFER: _DMO_INPUT_STREAM_INFO_FLAGS = 2i32;
|
||||
pub const DMO_INPUT_STREAMF_WHOLE_SAMPLES: _DMO_INPUT_STREAM_INFO_FLAGS = 1i32;
|
||||
pub const DMO_OUTPUT_DATA_BUFFERF_DISCONTINUITY: _DMO_OUTPUT_DATA_BUFFER_FLAGS = 8i32;
|
||||
pub const DMO_OUTPUT_DATA_BUFFERF_INCOMPLETE: _DMO_OUTPUT_DATA_BUFFER_FLAGS = 16777216i32;
|
||||
pub const DMO_OUTPUT_DATA_BUFFERF_SYNCPOINT: _DMO_OUTPUT_DATA_BUFFER_FLAGS = 1i32;
|
||||
pub const DMO_OUTPUT_DATA_BUFFERF_TIME: _DMO_OUTPUT_DATA_BUFFER_FLAGS = 2i32;
|
||||
pub const DMO_OUTPUT_DATA_BUFFERF_TIMELENGTH: _DMO_OUTPUT_DATA_BUFFER_FLAGS = 4i32;
|
||||
pub const DMO_OUTPUT_STREAMF_DISCARDABLE: _DMO_OUTPUT_STREAM_INFO_FLAGS = 8i32;
|
||||
pub const DMO_OUTPUT_STREAMF_FIXED_SAMPLE_SIZE: _DMO_OUTPUT_STREAM_INFO_FLAGS = 4i32;
|
||||
pub const DMO_OUTPUT_STREAMF_OPTIONAL: _DMO_OUTPUT_STREAM_INFO_FLAGS = 16i32;
|
||||
pub const DMO_OUTPUT_STREAMF_SINGLE_SAMPLE_PER_BUFFER: _DMO_OUTPUT_STREAM_INFO_FLAGS = 2i32;
|
||||
pub const DMO_OUTPUT_STREAMF_WHOLE_SAMPLES: _DMO_OUTPUT_STREAM_INFO_FLAGS = 1i32;
|
||||
pub const DMO_PROCESS_OUTPUT_DISCARD_WHEN_NO_BUFFER: _DMO_PROCESS_OUTPUT_FLAGS = 1i32;
|
||||
pub const DMO_QUALITY_STATUS_ENABLED: _DMO_QUALITY_STATUS_FLAGS = 1i32;
|
||||
pub const DMO_REGISTERF_IS_KEYED: DMO_REGISTER_FLAGS = 1i32;
|
||||
pub const DMO_SET_TYPEF_CLEAR: _DMO_SET_TYPE_FLAGS = 2i32;
|
||||
pub const DMO_SET_TYPEF_TEST_ONLY: _DMO_SET_TYPE_FLAGS = 1i32;
|
||||
pub const DMO_VOSF_NEEDS_PREVIOUS_SAMPLE: _DMO_VIDEO_OUTPUT_STREAM_FLAGS = 1i32;
|
||||
pub type DMO_ENUM_FLAGS = i32;
|
||||
pub type DMO_REGISTER_FLAGS = i32;
|
||||
pub type _DMO_INPLACE_PROCESS_FLAGS = i32;
|
||||
pub type _DMO_INPUT_DATA_BUFFER_FLAGS = i32;
|
||||
pub type _DMO_INPUT_STATUS_FLAGS = i32;
|
||||
pub type _DMO_INPUT_STREAM_INFO_FLAGS = i32;
|
||||
pub type _DMO_OUTPUT_DATA_BUFFER_FLAGS = i32;
|
||||
pub type _DMO_OUTPUT_STREAM_INFO_FLAGS = i32;
|
||||
pub type _DMO_PROCESS_OUTPUT_FLAGS = i32;
|
||||
pub type _DMO_QUALITY_STATUS_FLAGS = i32;
|
||||
pub type _DMO_SET_TYPE_FLAGS = i32;
|
||||
pub type _DMO_VIDEO_OUTPUT_STREAM_FLAGS = i32;
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub struct DMO_MEDIA_TYPE {
|
||||
pub majortype: ::windows_sys::core::GUID,
|
||||
pub subtype: ::windows_sys::core::GUID,
|
||||
pub bFixedSizeSamples: super::super::Foundation::BOOL,
|
||||
pub bTemporalCompression: super::super::Foundation::BOOL,
|
||||
pub lSampleSize: u32,
|
||||
pub formattype: ::windows_sys::core::GUID,
|
||||
pub pUnk: ::windows_sys::core::IUnknown,
|
||||
pub cbFormat: u32,
|
||||
pub pbFormat: *mut u8,
|
||||
}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::marker::Copy for DMO_MEDIA_TYPE {}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::clone::Clone for DMO_MEDIA_TYPE {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct DMO_OUTPUT_DATA_BUFFER {
|
||||
pub pBuffer: IMediaBuffer,
|
||||
pub dwStatus: u32,
|
||||
pub rtTimestamp: i64,
|
||||
pub rtTimelength: i64,
|
||||
}
|
||||
impl ::core::marker::Copy for DMO_OUTPUT_DATA_BUFFER {}
|
||||
impl ::core::clone::Clone for DMO_OUTPUT_DATA_BUFFER {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct DMO_PARTIAL_MEDIATYPE {
|
||||
pub r#type: ::windows_sys::core::GUID,
|
||||
pub subtype: ::windows_sys::core::GUID,
|
||||
}
|
||||
impl ::core::marker::Copy for DMO_PARTIAL_MEDIATYPE {}
|
||||
impl ::core::clone::Clone for DMO_PARTIAL_MEDIATYPE {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
7630
third-party/vendor/windows-sys/src/Windows/Win32/Media/KernelStreaming/mod.rs
vendored
Normal file
7630
third-party/vendor/windows-sys/src/Windows/Win32/Media/KernelStreaming/mod.rs
vendored
Normal file
File diff suppressed because it is too large
Load diff
7660
third-party/vendor/windows-sys/src/Windows/Win32/Media/Multimedia/mod.rs
vendored
Normal file
7660
third-party/vendor/windows-sys/src/Windows/Win32/Media/Multimedia/mod.rs
vendored
Normal file
File diff suppressed because it is too large
Load diff
202
third-party/vendor/windows-sys/src/Windows/Win32/Media/Streaming/mod.rs
vendored
Normal file
202
third-party/vendor/windows-sys/src/Windows/Win32/Media/Streaming/mod.rs
vendored
Normal file
|
|
@ -0,0 +1,202 @@
|
|||
#[doc = "Required features: `\"Win32_Devices_Properties\"`"]
|
||||
#[cfg(feature = "Win32_Devices_Properties")]
|
||||
pub const DEVPKEY_Device_DLNACAP: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x88ad39db_0d0c_4a38_8435_4043826b5c91), pid: 16 };
|
||||
#[doc = "Required features: `\"Win32_Devices_Properties\"`"]
|
||||
#[cfg(feature = "Win32_Devices_Properties")]
|
||||
pub const DEVPKEY_Device_DLNADOC: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x88ad39db_0d0c_4a38_8435_4043826b5c91), pid: 15 };
|
||||
#[doc = "Required features: `\"Win32_Devices_Properties\"`"]
|
||||
#[cfg(feature = "Win32_Devices_Properties")]
|
||||
pub const DEVPKEY_Device_MaxVolume: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x88ad39db_0d0c_4a38_8435_4043826b5c91), pid: 19 };
|
||||
#[doc = "Required features: `\"Win32_Devices_Properties\"`"]
|
||||
#[cfg(feature = "Win32_Devices_Properties")]
|
||||
pub const DEVPKEY_Device_PacketWakeSupported: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x88ad39db_0d0c_4a38_8435_4043826b5c91), pid: 0 };
|
||||
#[doc = "Required features: `\"Win32_Devices_Properties\"`"]
|
||||
#[cfg(feature = "Win32_Devices_Properties")]
|
||||
pub const DEVPKEY_Device_SendPacketWakeSupported: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x88ad39db_0d0c_4a38_8435_4043826b5c91), pid: 1 };
|
||||
#[doc = "Required features: `\"Win32_Devices_Properties\"`"]
|
||||
#[cfg(feature = "Win32_Devices_Properties")]
|
||||
pub const DEVPKEY_Device_SinkProtocolInfo: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x88ad39db_0d0c_4a38_8435_4043826b5c91), pid: 14 };
|
||||
#[doc = "Required features: `\"Win32_Devices_Properties\"`"]
|
||||
#[cfg(feature = "Win32_Devices_Properties")]
|
||||
pub const DEVPKEY_Device_SupportsAudio: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x88ad39db_0d0c_4a38_8435_4043826b5c91), pid: 8 };
|
||||
#[doc = "Required features: `\"Win32_Devices_Properties\"`"]
|
||||
#[cfg(feature = "Win32_Devices_Properties")]
|
||||
pub const DEVPKEY_Device_SupportsImages: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x88ad39db_0d0c_4a38_8435_4043826b5c91), pid: 10 };
|
||||
#[doc = "Required features: `\"Win32_Devices_Properties\"`"]
|
||||
#[cfg(feature = "Win32_Devices_Properties")]
|
||||
pub const DEVPKEY_Device_SupportsMute: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x88ad39db_0d0c_4a38_8435_4043826b5c91), pid: 18 };
|
||||
#[doc = "Required features: `\"Win32_Devices_Properties\"`"]
|
||||
#[cfg(feature = "Win32_Devices_Properties")]
|
||||
pub const DEVPKEY_Device_SupportsSearch: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x88ad39db_0d0c_4a38_8435_4043826b5c91), pid: 17 };
|
||||
#[doc = "Required features: `\"Win32_Devices_Properties\"`"]
|
||||
#[cfg(feature = "Win32_Devices_Properties")]
|
||||
pub const DEVPKEY_Device_SupportsSetNextAVT: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x88ad39db_0d0c_4a38_8435_4043826b5c91), pid: 20 };
|
||||
#[doc = "Required features: `\"Win32_Devices_Properties\"`"]
|
||||
#[cfg(feature = "Win32_Devices_Properties")]
|
||||
pub const DEVPKEY_Device_SupportsVideo: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x88ad39db_0d0c_4a38_8435_4043826b5c91), pid: 9 };
|
||||
#[doc = "Required features: `\"Win32_Devices_Properties\"`"]
|
||||
#[cfg(feature = "Win32_Devices_Properties")]
|
||||
pub const DEVPKEY_Device_UDN: super::super::Devices::Properties::DEVPROPKEY = super::super::Devices::Properties::DEVPROPKEY { fmtid: ::windows_sys::core::GUID::from_u128(0x88ad39db_0d0c_4a38_8435_4043826b5c91), pid: 6 };
|
||||
pub const GUID_DEVINTERFACE_DMP: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x25b4e268_2a05_496e_803b_266837fbda4b);
|
||||
pub const GUID_DEVINTERFACE_DMR: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xd0875fb4_2196_4c7a_a63d_e416addd60a1);
|
||||
pub const GUID_DEVINTERFACE_DMS: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xc96037ae_a558_4470_b432_115a31b85553);
|
||||
pub const MF_MEDIASOURCE_STATUS_INFO_FULLYSUPPORTED: MF_MEDIASOURCE_STATUS_INFO = 0i32;
|
||||
pub const MF_MEDIASOURCE_STATUS_INFO_UNKNOWN: MF_MEDIASOURCE_STATUS_INFO = 1i32;
|
||||
pub const MF_TRANSFER_VIDEO_FRAME_DEFAULT: MF_TRANSFER_VIDEO_FRAME_FLAGS = 0i32;
|
||||
pub const MF_TRANSFER_VIDEO_FRAME_IGNORE_PAR: MF_TRANSFER_VIDEO_FRAME_FLAGS = 2i32;
|
||||
pub const MF_TRANSFER_VIDEO_FRAME_STRETCH: MF_TRANSFER_VIDEO_FRAME_FLAGS = 1i32;
|
||||
pub type MF_MEDIASOURCE_STATUS_INFO = i32;
|
||||
pub type MF_TRANSFER_VIDEO_FRAME_FLAGS = i32;
|
||||
#[repr(C)]
|
||||
pub struct CapturedMetadataExposureCompensation {
|
||||
pub Flags: u64,
|
||||
pub Value: i32,
|
||||
}
|
||||
impl ::core::marker::Copy for CapturedMetadataExposureCompensation {}
|
||||
impl ::core::clone::Clone for CapturedMetadataExposureCompensation {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct CapturedMetadataISOGains {
|
||||
pub AnalogGain: f32,
|
||||
pub DigitalGain: f32,
|
||||
}
|
||||
impl ::core::marker::Copy for CapturedMetadataISOGains {}
|
||||
impl ::core::clone::Clone for CapturedMetadataISOGains {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct CapturedMetadataWhiteBalanceGains {
|
||||
pub R: f32,
|
||||
pub G: f32,
|
||||
pub B: f32,
|
||||
}
|
||||
impl ::core::marker::Copy for CapturedMetadataWhiteBalanceGains {}
|
||||
impl ::core::clone::Clone for CapturedMetadataWhiteBalanceGains {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct FaceCharacterization {
|
||||
pub BlinkScoreLeft: u32,
|
||||
pub BlinkScoreRight: u32,
|
||||
pub FacialExpression: u32,
|
||||
pub FacialExpressionScore: u32,
|
||||
}
|
||||
impl ::core::marker::Copy for FaceCharacterization {}
|
||||
impl ::core::clone::Clone for FaceCharacterization {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct FaceCharacterizationBlobHeader {
|
||||
pub Size: u32,
|
||||
pub Count: u32,
|
||||
}
|
||||
impl ::core::marker::Copy for FaceCharacterizationBlobHeader {}
|
||||
impl ::core::clone::Clone for FaceCharacterizationBlobHeader {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub struct FaceRectInfo {
|
||||
pub Region: super::super::Foundation::RECT,
|
||||
pub confidenceLevel: i32,
|
||||
}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::marker::Copy for FaceRectInfo {}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::clone::Clone for FaceRectInfo {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct FaceRectInfoBlobHeader {
|
||||
pub Size: u32,
|
||||
pub Count: u32,
|
||||
}
|
||||
impl ::core::marker::Copy for FaceRectInfoBlobHeader {}
|
||||
impl ::core::clone::Clone for FaceRectInfoBlobHeader {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct HistogramBlobHeader {
|
||||
pub Size: u32,
|
||||
pub Histograms: u32,
|
||||
}
|
||||
impl ::core::marker::Copy for HistogramBlobHeader {}
|
||||
impl ::core::clone::Clone for HistogramBlobHeader {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct HistogramDataHeader {
|
||||
pub Size: u32,
|
||||
pub ChannelMask: u32,
|
||||
pub Linear: u32,
|
||||
}
|
||||
impl ::core::marker::Copy for HistogramDataHeader {}
|
||||
impl ::core::clone::Clone for HistogramDataHeader {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub struct HistogramGrid {
|
||||
pub Width: u32,
|
||||
pub Height: u32,
|
||||
pub Region: super::super::Foundation::RECT,
|
||||
}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::marker::Copy for HistogramGrid {}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::clone::Clone for HistogramGrid {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub struct HistogramHeader {
|
||||
pub Size: u32,
|
||||
pub Bins: u32,
|
||||
pub FourCC: u32,
|
||||
pub ChannelMasks: u32,
|
||||
pub Grid: HistogramGrid,
|
||||
}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::marker::Copy for HistogramHeader {}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::clone::Clone for HistogramHeader {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct MetadataTimeStamps {
|
||||
pub Flags: u32,
|
||||
pub Device: i64,
|
||||
pub Presentation: i64,
|
||||
}
|
||||
impl ::core::marker::Copy for MetadataTimeStamps {}
|
||||
impl ::core::clone::Clone for MetadataTimeStamps {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
1237
third-party/vendor/windows-sys/src/Windows/Win32/Media/WindowsMediaFormat/mod.rs
vendored
Normal file
1237
third-party/vendor/windows-sys/src/Windows/Win32/Media/WindowsMediaFormat/mod.rs
vendored
Normal file
File diff suppressed because it is too large
Load diff
237
third-party/vendor/windows-sys/src/Windows/Win32/Media/mod.rs
vendored
Normal file
237
third-party/vendor/windows-sys/src/Windows/Win32/Media/mod.rs
vendored
Normal file
|
|
@ -0,0 +1,237 @@
|
|||
#[cfg(feature = "Win32_Media_Audio")]
|
||||
#[doc = "Required features: `\"Win32_Media_Audio\"`"]
|
||||
pub mod Audio;
|
||||
#[cfg(feature = "Win32_Media_DxMediaObjects")]
|
||||
#[doc = "Required features: `\"Win32_Media_DxMediaObjects\"`"]
|
||||
pub mod DxMediaObjects;
|
||||
#[cfg(feature = "Win32_Media_KernelStreaming")]
|
||||
#[doc = "Required features: `\"Win32_Media_KernelStreaming\"`"]
|
||||
pub mod KernelStreaming;
|
||||
#[cfg(feature = "Win32_Media_Multimedia")]
|
||||
#[doc = "Required features: `\"Win32_Media_Multimedia\"`"]
|
||||
pub mod Multimedia;
|
||||
#[cfg(feature = "Win32_Media_Streaming")]
|
||||
#[doc = "Required features: `\"Win32_Media_Streaming\"`"]
|
||||
pub mod Streaming;
|
||||
#[cfg(feature = "Win32_Media_WindowsMediaFormat")]
|
||||
#[doc = "Required features: `\"Win32_Media_WindowsMediaFormat\"`"]
|
||||
pub mod WindowsMediaFormat;
|
||||
::windows_targets::link!("winmm.dll" "system" fn timeBeginPeriod(uperiod : u32) -> u32);
|
||||
::windows_targets::link!("winmm.dll" "system" fn timeEndPeriod(uperiod : u32) -> u32);
|
||||
::windows_targets::link!("winmm.dll" "system" fn timeGetDevCaps(ptc : *mut TIMECAPS, cbtc : u32) -> u32);
|
||||
::windows_targets::link!("winmm.dll" "system" fn timeGetSystemTime(pmmt : *mut MMTIME, cbmmt : u32) -> u32);
|
||||
::windows_targets::link!("winmm.dll" "system" fn timeGetTime() -> u32);
|
||||
::windows_targets::link!("winmm.dll" "system" fn timeKillEvent(utimerid : u32) -> u32);
|
||||
::windows_targets::link!("winmm.dll" "system" fn timeSetEvent(udelay : u32, uresolution : u32, fptc : LPTIMECALLBACK, dwuser : usize, fuevent : u32) -> u32);
|
||||
pub type IReferenceClock = *mut ::core::ffi::c_void;
|
||||
pub type IReferenceClock2 = *mut ::core::ffi::c_void;
|
||||
pub type IReferenceClockTimerControl = *mut ::core::ffi::c_void;
|
||||
pub const ED_DEVCAP_ATN_READ: TIMECODE_SAMPLE_FLAGS = 5047u32;
|
||||
pub const ED_DEVCAP_RTC_READ: TIMECODE_SAMPLE_FLAGS = 5050u32;
|
||||
pub const ED_DEVCAP_TIMECODE_READ: TIMECODE_SAMPLE_FLAGS = 4121u32;
|
||||
pub const JOYERR_BASE: u32 = 160u32;
|
||||
pub const MAXERRORLENGTH: u32 = 256u32;
|
||||
pub const MAXPNAMELEN: u32 = 32u32;
|
||||
pub const MCIERR_BASE: u32 = 256u32;
|
||||
pub const MCI_CD_OFFSET: u32 = 1088u32;
|
||||
pub const MCI_SEQ_OFFSET: u32 = 1216u32;
|
||||
pub const MCI_STRING_OFFSET: u32 = 512u32;
|
||||
pub const MCI_VD_OFFSET: u32 = 1024u32;
|
||||
pub const MCI_WAVE_OFFSET: u32 = 1152u32;
|
||||
pub const MIDIERR_BASE: u32 = 64u32;
|
||||
pub const MIXERR_BASE: u32 = 1024u32;
|
||||
pub const MMSYSERR_ALLOCATED: u32 = 4u32;
|
||||
pub const MMSYSERR_BADDB: u32 = 14u32;
|
||||
pub const MMSYSERR_BADDEVICEID: u32 = 2u32;
|
||||
pub const MMSYSERR_BADERRNUM: u32 = 9u32;
|
||||
pub const MMSYSERR_BASE: u32 = 0u32;
|
||||
pub const MMSYSERR_DELETEERROR: u32 = 18u32;
|
||||
pub const MMSYSERR_ERROR: u32 = 1u32;
|
||||
pub const MMSYSERR_HANDLEBUSY: u32 = 12u32;
|
||||
pub const MMSYSERR_INVALFLAG: u32 = 10u32;
|
||||
pub const MMSYSERR_INVALHANDLE: u32 = 5u32;
|
||||
pub const MMSYSERR_INVALIDALIAS: u32 = 13u32;
|
||||
pub const MMSYSERR_INVALPARAM: u32 = 11u32;
|
||||
pub const MMSYSERR_KEYNOTFOUND: u32 = 15u32;
|
||||
pub const MMSYSERR_LASTERROR: u32 = 21u32;
|
||||
pub const MMSYSERR_MOREDATA: u32 = 21u32;
|
||||
pub const MMSYSERR_NODRIVER: u32 = 6u32;
|
||||
pub const MMSYSERR_NODRIVERCB: u32 = 20u32;
|
||||
pub const MMSYSERR_NOERROR: u32 = 0u32;
|
||||
pub const MMSYSERR_NOMEM: u32 = 7u32;
|
||||
pub const MMSYSERR_NOTENABLED: u32 = 3u32;
|
||||
pub const MMSYSERR_NOTSUPPORTED: u32 = 8u32;
|
||||
pub const MMSYSERR_READERROR: u32 = 16u32;
|
||||
pub const MMSYSERR_VALNOTFOUND: u32 = 19u32;
|
||||
pub const MMSYSERR_WRITEERROR: u32 = 17u32;
|
||||
pub const MM_ADLIB: u32 = 9u32;
|
||||
pub const MM_DRVM_CLOSE: u32 = 977u32;
|
||||
pub const MM_DRVM_DATA: u32 = 978u32;
|
||||
pub const MM_DRVM_ERROR: u32 = 979u32;
|
||||
pub const MM_DRVM_OPEN: u32 = 976u32;
|
||||
pub const MM_JOY1BUTTONDOWN: u32 = 949u32;
|
||||
pub const MM_JOY1BUTTONUP: u32 = 951u32;
|
||||
pub const MM_JOY1MOVE: u32 = 928u32;
|
||||
pub const MM_JOY1ZMOVE: u32 = 930u32;
|
||||
pub const MM_JOY2BUTTONDOWN: u32 = 950u32;
|
||||
pub const MM_JOY2BUTTONUP: u32 = 952u32;
|
||||
pub const MM_JOY2MOVE: u32 = 929u32;
|
||||
pub const MM_JOY2ZMOVE: u32 = 931u32;
|
||||
pub const MM_MCINOTIFY: u32 = 953u32;
|
||||
pub const MM_MCISIGNAL: u32 = 971u32;
|
||||
pub const MM_MICROSOFT: u32 = 1u32;
|
||||
pub const MM_MIDI_MAPPER: u32 = 1u32;
|
||||
pub const MM_MIM_CLOSE: u32 = 962u32;
|
||||
pub const MM_MIM_DATA: u32 = 963u32;
|
||||
pub const MM_MIM_ERROR: u32 = 965u32;
|
||||
pub const MM_MIM_LONGDATA: u32 = 964u32;
|
||||
pub const MM_MIM_LONGERROR: u32 = 966u32;
|
||||
pub const MM_MIM_MOREDATA: u32 = 972u32;
|
||||
pub const MM_MIM_OPEN: u32 = 961u32;
|
||||
pub const MM_MIXM_CONTROL_CHANGE: u32 = 977u32;
|
||||
pub const MM_MIXM_LINE_CHANGE: u32 = 976u32;
|
||||
pub const MM_MOM_CLOSE: u32 = 968u32;
|
||||
pub const MM_MOM_DONE: u32 = 969u32;
|
||||
pub const MM_MOM_OPEN: u32 = 967u32;
|
||||
pub const MM_MOM_POSITIONCB: u32 = 970u32;
|
||||
pub const MM_MPU401_MIDIIN: u32 = 11u32;
|
||||
pub const MM_MPU401_MIDIOUT: u32 = 10u32;
|
||||
pub const MM_PC_JOYSTICK: u32 = 12u32;
|
||||
pub const MM_SNDBLST_MIDIIN: u32 = 4u32;
|
||||
pub const MM_SNDBLST_MIDIOUT: u32 = 3u32;
|
||||
pub const MM_SNDBLST_SYNTH: u32 = 5u32;
|
||||
pub const MM_SNDBLST_WAVEIN: u32 = 7u32;
|
||||
pub const MM_SNDBLST_WAVEOUT: u32 = 6u32;
|
||||
pub const MM_STREAM_CLOSE: u32 = 981u32;
|
||||
pub const MM_STREAM_DONE: u32 = 982u32;
|
||||
pub const MM_STREAM_ERROR: u32 = 983u32;
|
||||
pub const MM_STREAM_OPEN: u32 = 980u32;
|
||||
pub const MM_WAVE_MAPPER: u32 = 2u32;
|
||||
pub const MM_WIM_CLOSE: u32 = 959u32;
|
||||
pub const MM_WIM_DATA: u32 = 960u32;
|
||||
pub const MM_WIM_OPEN: u32 = 958u32;
|
||||
pub const MM_WOM_CLOSE: u32 = 956u32;
|
||||
pub const MM_WOM_DONE: u32 = 957u32;
|
||||
pub const MM_WOM_OPEN: u32 = 955u32;
|
||||
pub const TIMERR_BASE: u32 = 96u32;
|
||||
pub const TIMERR_NOCANDO: u32 = 97u32;
|
||||
pub const TIMERR_NOERROR: u32 = 0u32;
|
||||
pub const TIMERR_STRUCT: u32 = 129u32;
|
||||
pub const TIME_BYTES: u32 = 4u32;
|
||||
pub const TIME_CALLBACK_EVENT_PULSE: u32 = 32u32;
|
||||
pub const TIME_CALLBACK_EVENT_SET: u32 = 16u32;
|
||||
pub const TIME_CALLBACK_FUNCTION: u32 = 0u32;
|
||||
pub const TIME_KILL_SYNCHRONOUS: u32 = 256u32;
|
||||
pub const TIME_MIDI: u32 = 16u32;
|
||||
pub const TIME_MS: u32 = 1u32;
|
||||
pub const TIME_ONESHOT: u32 = 0u32;
|
||||
pub const TIME_PERIODIC: u32 = 1u32;
|
||||
pub const TIME_SAMPLES: u32 = 2u32;
|
||||
pub const TIME_SMPTE: u32 = 8u32;
|
||||
pub const TIME_TICKS: u32 = 32u32;
|
||||
pub const WAVERR_BASE: u32 = 32u32;
|
||||
pub type TIMECODE_SAMPLE_FLAGS = u32;
|
||||
pub type HTASK = isize;
|
||||
#[repr(C, packed(1))]
|
||||
pub struct MMTIME {
|
||||
pub wType: u32,
|
||||
pub u: MMTIME_0,
|
||||
}
|
||||
impl ::core::marker::Copy for MMTIME {}
|
||||
impl ::core::clone::Clone for MMTIME {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C, packed(1))]
|
||||
pub union MMTIME_0 {
|
||||
pub ms: u32,
|
||||
pub sample: u32,
|
||||
pub cb: u32,
|
||||
pub ticks: u32,
|
||||
pub smpte: MMTIME_0_1,
|
||||
pub midi: MMTIME_0_0,
|
||||
}
|
||||
impl ::core::marker::Copy for MMTIME_0 {}
|
||||
impl ::core::clone::Clone for MMTIME_0 {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C, packed(1))]
|
||||
pub struct MMTIME_0_0 {
|
||||
pub songptrpos: u32,
|
||||
}
|
||||
impl ::core::marker::Copy for MMTIME_0_0 {}
|
||||
impl ::core::clone::Clone for MMTIME_0_0 {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct MMTIME_0_1 {
|
||||
pub hour: u8,
|
||||
pub min: u8,
|
||||
pub sec: u8,
|
||||
pub frame: u8,
|
||||
pub fps: u8,
|
||||
pub dummy: u8,
|
||||
pub pad: [u8; 2],
|
||||
}
|
||||
impl ::core::marker::Copy for MMTIME_0_1 {}
|
||||
impl ::core::clone::Clone for MMTIME_0_1 {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct TIMECAPS {
|
||||
pub wPeriodMin: u32,
|
||||
pub wPeriodMax: u32,
|
||||
}
|
||||
impl ::core::marker::Copy for TIMECAPS {}
|
||||
impl ::core::clone::Clone for TIMECAPS {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub union TIMECODE {
|
||||
pub Anonymous: TIMECODE_0,
|
||||
pub qw: u64,
|
||||
}
|
||||
impl ::core::marker::Copy for TIMECODE {}
|
||||
impl ::core::clone::Clone for TIMECODE {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct TIMECODE_0 {
|
||||
pub wFrameRate: u16,
|
||||
pub wFrameFract: u16,
|
||||
pub dwFrames: u32,
|
||||
}
|
||||
impl ::core::marker::Copy for TIMECODE_0 {}
|
||||
impl ::core::clone::Clone for TIMECODE_0 {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct TIMECODE_SAMPLE {
|
||||
pub qwTick: i64,
|
||||
pub timecode: TIMECODE,
|
||||
pub dwUser: u32,
|
||||
pub dwFlags: TIMECODE_SAMPLE_FLAGS,
|
||||
}
|
||||
impl ::core::marker::Copy for TIMECODE_SAMPLE {}
|
||||
impl ::core::clone::Clone for TIMECODE_SAMPLE {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[doc = "Required features: `\"Win32_Media_Multimedia\"`"]
|
||||
#[cfg(feature = "Win32_Media_Multimedia")]
|
||||
pub type LPDRVCALLBACK = ::core::option::Option<unsafe extern "system" fn(hdrvr: Multimedia::HDRVR, umsg: u32, dwuser: usize, dw1: usize, dw2: usize) -> ()>;
|
||||
pub type LPTIMECALLBACK = ::core::option::Option<unsafe extern "system" fn(utimerid: u32, umsg: u32, dwuser: usize, dw1: usize, dw2: usize) -> ()>;
|
||||
2878
third-party/vendor/windows-sys/src/Windows/Win32/NetworkManagement/Dhcp/mod.rs
vendored
Normal file
2878
third-party/vendor/windows-sys/src/Windows/Win32/NetworkManagement/Dhcp/mod.rs
vendored
Normal file
File diff suppressed because it is too large
Load diff
2170
third-party/vendor/windows-sys/src/Windows/Win32/NetworkManagement/Dns/mod.rs
vendored
Normal file
2170
third-party/vendor/windows-sys/src/Windows/Win32/NetworkManagement/Dns/mod.rs
vendored
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,22 @@
|
|||
pub const ICW_ALREADYRUN: u32 = 4u32;
|
||||
pub const ICW_CHECKSTATUS: u32 = 1u32;
|
||||
pub const ICW_FULLPRESENT: u32 = 1u32;
|
||||
pub const ICW_FULL_SMARTSTART: u32 = 2048u32;
|
||||
pub const ICW_LAUNCHEDFULL: u32 = 256u32;
|
||||
pub const ICW_LAUNCHEDMANUAL: u32 = 512u32;
|
||||
pub const ICW_LAUNCHFULL: u32 = 256u32;
|
||||
pub const ICW_LAUNCHMANUAL: u32 = 512u32;
|
||||
pub const ICW_MANUALPRESENT: u32 = 2u32;
|
||||
pub const ICW_MAX_ACCTNAME: u32 = 256u32;
|
||||
pub const ICW_MAX_EMAILADDR: u32 = 128u32;
|
||||
pub const ICW_MAX_EMAILNAME: u32 = 64u32;
|
||||
pub const ICW_MAX_LOGONNAME: u32 = 256u32;
|
||||
pub const ICW_MAX_PASSWORD: u32 = 256u32;
|
||||
pub const ICW_MAX_RASNAME: u32 = 256u32;
|
||||
pub const ICW_MAX_SERVERNAME: u32 = 64u32;
|
||||
pub const ICW_REGKEYCOMPLETED: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("Completed");
|
||||
pub const ICW_REGPATHSETTINGS: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("Software\\Microsoft\\Internet Connection Wizard");
|
||||
pub const ICW_USEDEFAULTS: u32 = 1u32;
|
||||
pub const ICW_USE_SHELLNEXT: u32 = 1024u32;
|
||||
pub type PFNCHECKCONNECTIONWIZARD = ::core::option::Option<unsafe extern "system" fn(param0: u32, param1: *mut u32) -> u32>;
|
||||
pub type PFNSETSHELLNEXT = ::core::option::Option<unsafe extern "system" fn(param0: ::windows_sys::core::PCSTR) -> u32>;
|
||||
4412
third-party/vendor/windows-sys/src/Windows/Win32/NetworkManagement/IpHelper/mod.rs
vendored
Normal file
4412
third-party/vendor/windows-sys/src/Windows/Win32/NetworkManagement/IpHelper/mod.rs
vendored
Normal file
File diff suppressed because it is too large
Load diff
94
third-party/vendor/windows-sys/src/Windows/Win32/NetworkManagement/Multicast/mod.rs
vendored
Normal file
94
third-party/vendor/windows-sys/src/Windows/Win32/NetworkManagement/Multicast/mod.rs
vendored
Normal file
|
|
@ -0,0 +1,94 @@
|
|||
::windows_targets::link!("dhcpcsvc.dll" "system" fn McastApiCleanup() -> ());
|
||||
::windows_targets::link!("dhcpcsvc.dll" "system" fn McastApiStartup(version : *mut u32) -> u32);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("dhcpcsvc.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn McastEnumerateScopes(addrfamily : u16, requery : super::super::Foundation:: BOOL, pscopelist : *mut MCAST_SCOPE_ENTRY, pscopelen : *mut u32, pscopecount : *mut u32) -> u32);
|
||||
::windows_targets::link!("dhcpcsvc.dll" "system" fn McastGenUID(prequestid : *mut MCAST_CLIENT_UID) -> u32);
|
||||
::windows_targets::link!("dhcpcsvc.dll" "system" fn McastReleaseAddress(addrfamily : u16, prequestid : *mut MCAST_CLIENT_UID, preleaserequest : *mut MCAST_LEASE_REQUEST) -> u32);
|
||||
::windows_targets::link!("dhcpcsvc.dll" "system" fn McastRenewAddress(addrfamily : u16, prequestid : *mut MCAST_CLIENT_UID, prenewrequest : *mut MCAST_LEASE_REQUEST, prenewresponse : *mut MCAST_LEASE_RESPONSE) -> u32);
|
||||
::windows_targets::link!("dhcpcsvc.dll" "system" fn McastRequestAddress(addrfamily : u16, prequestid : *mut MCAST_CLIENT_UID, pscopectx : *mut MCAST_SCOPE_CTX, paddrrequest : *mut MCAST_LEASE_REQUEST, paddrresponse : *mut MCAST_LEASE_RESPONSE) -> u32);
|
||||
pub const MCAST_API_CURRENT_VERSION: i32 = 1i32;
|
||||
pub const MCAST_API_VERSION_0: i32 = 0i32;
|
||||
pub const MCAST_API_VERSION_1: i32 = 1i32;
|
||||
pub const MCAST_CLIENT_ID_LEN: u32 = 17u32;
|
||||
#[repr(C)]
|
||||
pub union IPNG_ADDRESS {
|
||||
pub IpAddrV4: u32,
|
||||
pub IpAddrV6: [u8; 16],
|
||||
}
|
||||
impl ::core::marker::Copy for IPNG_ADDRESS {}
|
||||
impl ::core::clone::Clone for IPNG_ADDRESS {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct MCAST_CLIENT_UID {
|
||||
pub ClientUID: *mut u8,
|
||||
pub ClientUIDLength: u32,
|
||||
}
|
||||
impl ::core::marker::Copy for MCAST_CLIENT_UID {}
|
||||
impl ::core::clone::Clone for MCAST_CLIENT_UID {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct MCAST_LEASE_REQUEST {
|
||||
pub LeaseStartTime: i32,
|
||||
pub MaxLeaseStartTime: i32,
|
||||
pub LeaseDuration: u32,
|
||||
pub MinLeaseDuration: u32,
|
||||
pub ServerAddress: IPNG_ADDRESS,
|
||||
pub MinAddrCount: u16,
|
||||
pub AddrCount: u16,
|
||||
pub pAddrBuf: *mut u8,
|
||||
}
|
||||
impl ::core::marker::Copy for MCAST_LEASE_REQUEST {}
|
||||
impl ::core::clone::Clone for MCAST_LEASE_REQUEST {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct MCAST_LEASE_RESPONSE {
|
||||
pub LeaseStartTime: i32,
|
||||
pub LeaseEndTime: i32,
|
||||
pub ServerAddress: IPNG_ADDRESS,
|
||||
pub AddrCount: u16,
|
||||
pub pAddrBuf: *mut u8,
|
||||
}
|
||||
impl ::core::marker::Copy for MCAST_LEASE_RESPONSE {}
|
||||
impl ::core::clone::Clone for MCAST_LEASE_RESPONSE {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct MCAST_SCOPE_CTX {
|
||||
pub ScopeID: IPNG_ADDRESS,
|
||||
pub Interface: IPNG_ADDRESS,
|
||||
pub ServerID: IPNG_ADDRESS,
|
||||
}
|
||||
impl ::core::marker::Copy for MCAST_SCOPE_CTX {}
|
||||
impl ::core::clone::Clone for MCAST_SCOPE_CTX {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub struct MCAST_SCOPE_ENTRY {
|
||||
pub ScopeCtx: MCAST_SCOPE_CTX,
|
||||
pub LastAddr: IPNG_ADDRESS,
|
||||
pub TTL: u32,
|
||||
pub ScopeDesc: super::super::Foundation::UNICODE_STRING,
|
||||
}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::marker::Copy for MCAST_SCOPE_ENTRY {}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::clone::Clone for MCAST_SCOPE_ENTRY {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
3997
third-party/vendor/windows-sys/src/Windows/Win32/NetworkManagement/Ndis/mod.rs
vendored
Normal file
3997
third-party/vendor/windows-sys/src/Windows/Win32/NetworkManagement/Ndis/mod.rs
vendored
Normal file
File diff suppressed because it is too large
Load diff
274
third-party/vendor/windows-sys/src/Windows/Win32/NetworkManagement/NetBios/mod.rs
vendored
Normal file
274
third-party/vendor/windows-sys/src/Windows/Win32/NetworkManagement/NetBios/mod.rs
vendored
Normal file
|
|
@ -0,0 +1,274 @@
|
|||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("netapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn Netbios(pncb : *mut NCB) -> u8);
|
||||
pub const ALL_TRANSPORTS: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("M\u{0}\u{0}\u{0}");
|
||||
pub const ASYNCH: u32 = 128u32;
|
||||
pub const CALL_PENDING: u32 = 2u32;
|
||||
pub const DEREGISTERED: u32 = 5u32;
|
||||
pub const DUPLICATE: u32 = 6u32;
|
||||
pub const DUPLICATE_DEREG: u32 = 7u32;
|
||||
pub const GROUP_NAME: u32 = 128u32;
|
||||
pub const HANGUP_COMPLETE: u32 = 5u32;
|
||||
pub const HANGUP_PENDING: u32 = 4u32;
|
||||
pub const LISTEN_OUTSTANDING: u32 = 1u32;
|
||||
pub const MAX_LANA: u32 = 254u32;
|
||||
pub const MS_NBF: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("MNBF");
|
||||
pub const NAME_FLAGS_MASK: u32 = 135u32;
|
||||
pub const NCBACTION: u32 = 119u32;
|
||||
pub const NCBADDGRNAME: u32 = 54u32;
|
||||
pub const NCBADDNAME: u32 = 48u32;
|
||||
pub const NCBASTAT: u32 = 51u32;
|
||||
pub const NCBCALL: u32 = 16u32;
|
||||
pub const NCBCANCEL: u32 = 53u32;
|
||||
pub const NCBCHAINSEND: u32 = 23u32;
|
||||
pub const NCBCHAINSENDNA: u32 = 114u32;
|
||||
pub const NCBDELNAME: u32 = 49u32;
|
||||
pub const NCBDGRECV: u32 = 33u32;
|
||||
pub const NCBDGRECVBC: u32 = 35u32;
|
||||
pub const NCBDGSEND: u32 = 32u32;
|
||||
pub const NCBDGSENDBC: u32 = 34u32;
|
||||
pub const NCBENUM: u32 = 55u32;
|
||||
pub const NCBFINDNAME: u32 = 120u32;
|
||||
pub const NCBHANGUP: u32 = 18u32;
|
||||
pub const NCBLANSTALERT: u32 = 115u32;
|
||||
pub const NCBLISTEN: u32 = 17u32;
|
||||
pub const NCBNAMSZ: u32 = 16u32;
|
||||
pub const NCBRECV: u32 = 21u32;
|
||||
pub const NCBRECVANY: u32 = 22u32;
|
||||
pub const NCBRESET: u32 = 50u32;
|
||||
pub const NCBSEND: u32 = 20u32;
|
||||
pub const NCBSENDNA: u32 = 113u32;
|
||||
pub const NCBSSTAT: u32 = 52u32;
|
||||
pub const NCBTRACE: u32 = 121u32;
|
||||
pub const NCBUNLINK: u32 = 112u32;
|
||||
pub const NRC_ACTSES: u32 = 15u32;
|
||||
pub const NRC_BADDR: u32 = 7u32;
|
||||
pub const NRC_BRIDGE: u32 = 35u32;
|
||||
pub const NRC_BUFLEN: u32 = 1u32;
|
||||
pub const NRC_CANCEL: u32 = 38u32;
|
||||
pub const NRC_CANOCCR: u32 = 36u32;
|
||||
pub const NRC_CMDCAN: u32 = 11u32;
|
||||
pub const NRC_CMDTMO: u32 = 5u32;
|
||||
pub const NRC_DUPENV: u32 = 48u32;
|
||||
pub const NRC_DUPNAME: u32 = 13u32;
|
||||
pub const NRC_ENVNOTDEF: u32 = 52u32;
|
||||
pub const NRC_GOODRET: u32 = 0u32;
|
||||
pub const NRC_IFBUSY: u32 = 33u32;
|
||||
pub const NRC_ILLCMD: u32 = 3u32;
|
||||
pub const NRC_ILLNN: u32 = 19u32;
|
||||
pub const NRC_INCOMP: u32 = 6u32;
|
||||
pub const NRC_INUSE: u32 = 22u32;
|
||||
pub const NRC_INVADDRESS: u32 = 57u32;
|
||||
pub const NRC_INVDDID: u32 = 59u32;
|
||||
pub const NRC_LOCKFAIL: u32 = 60u32;
|
||||
pub const NRC_LOCTFUL: u32 = 17u32;
|
||||
pub const NRC_MAXAPPS: u32 = 54u32;
|
||||
pub const NRC_NAMCONF: u32 = 25u32;
|
||||
pub const NRC_NAMERR: u32 = 23u32;
|
||||
pub const NRC_NAMTFUL: u32 = 14u32;
|
||||
pub const NRC_NOCALL: u32 = 20u32;
|
||||
pub const NRC_NORES: u32 = 9u32;
|
||||
pub const NRC_NORESOURCES: u32 = 56u32;
|
||||
pub const NRC_NOSAPS: u32 = 55u32;
|
||||
pub const NRC_NOWILD: u32 = 21u32;
|
||||
pub const NRC_OPENERR: u32 = 63u32;
|
||||
pub const NRC_OSRESNOTAV: u32 = 53u32;
|
||||
pub const NRC_PENDING: u32 = 255u32;
|
||||
pub const NRC_REMTFUL: u32 = 18u32;
|
||||
pub const NRC_SABORT: u32 = 24u32;
|
||||
pub const NRC_SCLOSED: u32 = 10u32;
|
||||
pub const NRC_SNUMOUT: u32 = 8u32;
|
||||
pub const NRC_SYSTEM: u32 = 64u32;
|
||||
pub const NRC_TOOMANY: u32 = 34u32;
|
||||
pub const REGISTERED: u32 = 4u32;
|
||||
pub const REGISTERING: u32 = 0u32;
|
||||
pub const SESSION_ABORTED: u32 = 6u32;
|
||||
pub const SESSION_ESTABLISHED: u32 = 3u32;
|
||||
pub const UNIQUE_NAME: u32 = 0u32;
|
||||
#[repr(C)]
|
||||
pub struct ACTION_HEADER {
|
||||
pub transport_id: u32,
|
||||
pub action_code: u16,
|
||||
pub reserved: u16,
|
||||
}
|
||||
impl ::core::marker::Copy for ACTION_HEADER {}
|
||||
impl ::core::clone::Clone for ACTION_HEADER {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct ADAPTER_STATUS {
|
||||
pub adapter_address: [u8; 6],
|
||||
pub rev_major: u8,
|
||||
pub reserved0: u8,
|
||||
pub adapter_type: u8,
|
||||
pub rev_minor: u8,
|
||||
pub duration: u16,
|
||||
pub frmr_recv: u16,
|
||||
pub frmr_xmit: u16,
|
||||
pub iframe_recv_err: u16,
|
||||
pub xmit_aborts: u16,
|
||||
pub xmit_success: u32,
|
||||
pub recv_success: u32,
|
||||
pub iframe_xmit_err: u16,
|
||||
pub recv_buff_unavail: u16,
|
||||
pub t1_timeouts: u16,
|
||||
pub ti_timeouts: u16,
|
||||
pub reserved1: u32,
|
||||
pub free_ncbs: u16,
|
||||
pub max_cfg_ncbs: u16,
|
||||
pub max_ncbs: u16,
|
||||
pub xmit_buf_unavail: u16,
|
||||
pub max_dgram_size: u16,
|
||||
pub pending_sess: u16,
|
||||
pub max_cfg_sess: u16,
|
||||
pub max_sess: u16,
|
||||
pub max_sess_pkt_size: u16,
|
||||
pub name_count: u16,
|
||||
}
|
||||
impl ::core::marker::Copy for ADAPTER_STATUS {}
|
||||
impl ::core::clone::Clone for ADAPTER_STATUS {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct FIND_NAME_BUFFER {
|
||||
pub length: u8,
|
||||
pub access_control: u8,
|
||||
pub frame_control: u8,
|
||||
pub destination_addr: [u8; 6],
|
||||
pub source_addr: [u8; 6],
|
||||
pub routing_info: [u8; 18],
|
||||
}
|
||||
impl ::core::marker::Copy for FIND_NAME_BUFFER {}
|
||||
impl ::core::clone::Clone for FIND_NAME_BUFFER {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct FIND_NAME_HEADER {
|
||||
pub node_count: u16,
|
||||
pub reserved: u8,
|
||||
pub unique_group: u8,
|
||||
}
|
||||
impl ::core::marker::Copy for FIND_NAME_HEADER {}
|
||||
impl ::core::clone::Clone for FIND_NAME_HEADER {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct LANA_ENUM {
|
||||
pub length: u8,
|
||||
pub lana: [u8; 255],
|
||||
}
|
||||
impl ::core::marker::Copy for LANA_ENUM {}
|
||||
impl ::core::clone::Clone for LANA_ENUM {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct NAME_BUFFER {
|
||||
pub name: [u8; 16],
|
||||
pub name_num: u8,
|
||||
pub name_flags: u8,
|
||||
}
|
||||
impl ::core::marker::Copy for NAME_BUFFER {}
|
||||
impl ::core::clone::Clone for NAME_BUFFER {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub struct NCB {
|
||||
pub ncb_command: u8,
|
||||
pub ncb_retcode: u8,
|
||||
pub ncb_lsn: u8,
|
||||
pub ncb_num: u8,
|
||||
pub ncb_buffer: *mut u8,
|
||||
pub ncb_length: u16,
|
||||
pub ncb_callname: [u8; 16],
|
||||
pub ncb_name: [u8; 16],
|
||||
pub ncb_rto: u8,
|
||||
pub ncb_sto: u8,
|
||||
pub ncb_post: isize,
|
||||
pub ncb_lana_num: u8,
|
||||
pub ncb_cmd_cplt: u8,
|
||||
pub ncb_reserve: [u8; 18],
|
||||
pub ncb_event: super::super::Foundation::HANDLE,
|
||||
}
|
||||
#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::marker::Copy for NCB {}
|
||||
#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::clone::Clone for NCB {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(target_arch = "x86")]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub struct NCB {
|
||||
pub ncb_command: u8,
|
||||
pub ncb_retcode: u8,
|
||||
pub ncb_lsn: u8,
|
||||
pub ncb_num: u8,
|
||||
pub ncb_buffer: *mut u8,
|
||||
pub ncb_length: u16,
|
||||
pub ncb_callname: [u8; 16],
|
||||
pub ncb_name: [u8; 16],
|
||||
pub ncb_rto: u8,
|
||||
pub ncb_sto: u8,
|
||||
pub ncb_post: isize,
|
||||
pub ncb_lana_num: u8,
|
||||
pub ncb_cmd_cplt: u8,
|
||||
pub ncb_reserve: [u8; 10],
|
||||
pub ncb_event: super::super::Foundation::HANDLE,
|
||||
}
|
||||
#[cfg(target_arch = "x86")]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::marker::Copy for NCB {}
|
||||
#[cfg(target_arch = "x86")]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::clone::Clone for NCB {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct SESSION_BUFFER {
|
||||
pub lsn: u8,
|
||||
pub state: u8,
|
||||
pub local_name: [u8; 16],
|
||||
pub remote_name: [u8; 16],
|
||||
pub rcvs_outstanding: u8,
|
||||
pub sends_outstanding: u8,
|
||||
}
|
||||
impl ::core::marker::Copy for SESSION_BUFFER {}
|
||||
impl ::core::clone::Clone for SESSION_BUFFER {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct SESSION_HEADER {
|
||||
pub sess_name: u8,
|
||||
pub num_sess: u8,
|
||||
pub rcv_dg_outstanding: u8,
|
||||
pub rcv_any_outstanding: u8,
|
||||
}
|
||||
impl ::core::marker::Copy for SESSION_HEADER {}
|
||||
impl ::core::clone::Clone for SESSION_HEADER {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
6564
third-party/vendor/windows-sys/src/Windows/Win32/NetworkManagement/NetManagement/mod.rs
vendored
Normal file
6564
third-party/vendor/windows-sys/src/Windows/Win32/NetworkManagement/NetManagement/mod.rs
vendored
Normal file
File diff suppressed because it is too large
Load diff
246
third-party/vendor/windows-sys/src/Windows/Win32/NetworkManagement/NetShell/mod.rs
vendored
Normal file
246
third-party/vendor/windows-sys/src/Windows/Win32/NetworkManagement/NetShell/mod.rs
vendored
Normal file
|
|
@ -0,0 +1,246 @@
|
|||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("netsh.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MatchEnumTag(hmodule : super::super::Foundation:: HANDLE, pwcarg : ::windows_sys::core::PCWSTR, dwnumarg : u32, penumtable : *const TOKEN_VALUE, pdwvalue : *mut u32) -> u32);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("netsh.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MatchToken(pwszusertoken : ::windows_sys::core::PCWSTR, pwszcmdtoken : ::windows_sys::core::PCWSTR) -> super::super::Foundation:: BOOL);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("netsh.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PreprocessCommand(hmodule : super::super::Foundation:: HANDLE, ppwcarguments : *mut ::windows_sys::core::PWSTR, dwcurrentindex : u32, dwargcount : u32, ptttags : *mut TAG_TYPE, dwtagcount : u32, dwminargs : u32, dwmaxargs : u32, pdwtagtype : *mut u32) -> u32);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("netsh.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PrintError(hmodule : super::super::Foundation:: HANDLE, dwerrid : u32, ...) -> u32);
|
||||
::windows_targets::link!("netsh.dll" "cdecl" fn PrintMessage(pwszformat : ::windows_sys::core::PCWSTR, ...) -> u32);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("netsh.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PrintMessageFromModule(hmodule : super::super::Foundation:: HANDLE, dwmsgid : u32, ...) -> u32);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("netsh.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RegisterContext(pchildcontext : *const NS_CONTEXT_ATTRIBUTES) -> u32);
|
||||
::windows_targets::link!("netsh.dll" "system" fn RegisterHelper(pguidparentcontext : *const ::windows_sys::core::GUID, pfnregistersubcontext : *const NS_HELPER_ATTRIBUTES) -> u32);
|
||||
pub const CMD_FLAG_HIDDEN: NS_CMD_FLAGS = 32i32;
|
||||
pub const CMD_FLAG_INTERACTIVE: NS_CMD_FLAGS = 2i32;
|
||||
pub const CMD_FLAG_LIMIT_MASK: NS_CMD_FLAGS = 65535i32;
|
||||
pub const CMD_FLAG_LOCAL: NS_CMD_FLAGS = 8i32;
|
||||
pub const CMD_FLAG_ONLINE: NS_CMD_FLAGS = 16i32;
|
||||
pub const CMD_FLAG_PRIORITY: NS_CMD_FLAGS = -2147483648i32;
|
||||
pub const CMD_FLAG_PRIVATE: NS_CMD_FLAGS = 1i32;
|
||||
pub const DEFAULT_CONTEXT_PRIORITY: u32 = 100u32;
|
||||
pub const ERROR_CMD_NOT_FOUND: u32 = 15004u32;
|
||||
pub const ERROR_CONTEXT_ALREADY_REGISTERED: u32 = 15019u32;
|
||||
pub const ERROR_CONTINUE_IN_PARENT_CONTEXT: u32 = 15016u32;
|
||||
pub const ERROR_DLL_LOAD_FAILED: u32 = 15006u32;
|
||||
pub const ERROR_ENTRY_PT_NOT_FOUND: u32 = 15005u32;
|
||||
pub const ERROR_HELPER_ALREADY_REGISTERED: u32 = 15018u32;
|
||||
pub const ERROR_INIT_DISPLAY: u32 = 15007u32;
|
||||
pub const ERROR_INVALID_OPTION_TAG: u32 = 15009u32;
|
||||
pub const ERROR_INVALID_OPTION_VALUE: u32 = 15014u32;
|
||||
pub const ERROR_INVALID_SYNTAX: u32 = 15001u32;
|
||||
pub const ERROR_MISSING_OPTION: u32 = 15011u32;
|
||||
pub const ERROR_NO_CHANGE: u32 = 15003u32;
|
||||
pub const ERROR_NO_ENTRIES: u32 = 15000u32;
|
||||
pub const ERROR_NO_TAG: u32 = 15010u32;
|
||||
pub const ERROR_OKAY: u32 = 15015u32;
|
||||
pub const ERROR_PARSING_FAILURE: u32 = 15020u32;
|
||||
pub const ERROR_PROTOCOL_NOT_IN_TRANSPORT: u32 = 15002u32;
|
||||
pub const ERROR_SHOW_USAGE: u32 = 15013u32;
|
||||
pub const ERROR_SUPPRESS_OUTPUT: u32 = 15017u32;
|
||||
pub const ERROR_TAG_ALREADY_PRESENT: u32 = 15008u32;
|
||||
pub const ERROR_TRANSPORT_NOT_PRESENT: u32 = 15012u32;
|
||||
pub const GET_RESOURCE_STRING_FN_NAME: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("GetResourceString");
|
||||
pub const MAX_NAME_LEN: u32 = 48u32;
|
||||
pub const NETSH_ARG_DELIMITER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("=");
|
||||
pub const NETSH_CMD_DELIMITER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!(" ");
|
||||
pub const NETSH_COMMIT: NS_MODE_CHANGE = 0i32;
|
||||
pub const NETSH_COMMIT_STATE: NS_MODE_CHANGE = 3i32;
|
||||
pub const NETSH_ERROR_BASE: u32 = 15000u32;
|
||||
pub const NETSH_ERROR_END: u32 = 15019u32;
|
||||
pub const NETSH_FLUSH: NS_MODE_CHANGE = 2i32;
|
||||
pub const NETSH_MAX_CMD_TOKEN_LENGTH: u32 = 128u32;
|
||||
pub const NETSH_MAX_TOKEN_LENGTH: u32 = 64u32;
|
||||
pub const NETSH_SAVE: NS_MODE_CHANGE = 4i32;
|
||||
pub const NETSH_UNCOMMIT: NS_MODE_CHANGE = 1i32;
|
||||
pub const NETSH_VERSION_50: u32 = 20480u32;
|
||||
pub const NS_EVENT_FROM_N: NS_EVENTS = 4i32;
|
||||
pub const NS_EVENT_FROM_START: NS_EVENTS = 8i32;
|
||||
pub const NS_EVENT_LAST_N: NS_EVENTS = 1i32;
|
||||
pub const NS_EVENT_LAST_SECS: NS_EVENTS = 2i32;
|
||||
pub const NS_EVENT_LOOP: NS_EVENTS = 65536i32;
|
||||
pub const NS_GET_EVENT_IDS_FN_NAME: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("GetEventIds");
|
||||
pub const NS_REQ_ALLOW_MULTIPLE: NS_REQS = 2i32;
|
||||
pub const NS_REQ_ONE_OR_MORE: NS_REQS = 3i32;
|
||||
pub const NS_REQ_PRESENT: NS_REQS = 1i32;
|
||||
pub const NS_REQ_ZERO: NS_REQS = 0i32;
|
||||
pub type NS_CMD_FLAGS = i32;
|
||||
pub type NS_EVENTS = i32;
|
||||
pub type NS_MODE_CHANGE = i32;
|
||||
pub type NS_REQS = i32;
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub struct CMD_ENTRY {
|
||||
pub pwszCmdToken: ::windows_sys::core::PCWSTR,
|
||||
pub pfnCmdHandler: PFN_HANDLE_CMD,
|
||||
pub dwShortCmdHelpToken: u32,
|
||||
pub dwCmdHlpToken: u32,
|
||||
pub dwFlags: u32,
|
||||
pub pOsVersionCheck: PNS_OSVERSIONCHECK,
|
||||
pub pfnCustomHelpFn: PFN_CUSTOM_HELP,
|
||||
}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::marker::Copy for CMD_ENTRY {}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::clone::Clone for CMD_ENTRY {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub struct CMD_GROUP_ENTRY {
|
||||
pub pwszCmdGroupToken: ::windows_sys::core::PCWSTR,
|
||||
pub dwShortCmdHelpToken: u32,
|
||||
pub ulCmdGroupSize: u32,
|
||||
pub dwFlags: u32,
|
||||
pub pCmdGroup: *mut CMD_ENTRY,
|
||||
pub pOsVersionCheck: PNS_OSVERSIONCHECK,
|
||||
}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::marker::Copy for CMD_GROUP_ENTRY {}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::clone::Clone for CMD_GROUP_ENTRY {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub struct NS_CONTEXT_ATTRIBUTES {
|
||||
pub Anonymous: NS_CONTEXT_ATTRIBUTES_0,
|
||||
pub pwszContext: ::windows_sys::core::PWSTR,
|
||||
pub guidHelper: ::windows_sys::core::GUID,
|
||||
pub dwFlags: u32,
|
||||
pub ulPriority: u32,
|
||||
pub ulNumTopCmds: u32,
|
||||
pub pTopCmds: *mut CMD_ENTRY,
|
||||
pub ulNumGroups: u32,
|
||||
pub pCmdGroups: *mut CMD_GROUP_ENTRY,
|
||||
pub pfnCommitFn: PNS_CONTEXT_COMMIT_FN,
|
||||
pub pfnDumpFn: PNS_CONTEXT_DUMP_FN,
|
||||
pub pfnConnectFn: PNS_CONTEXT_CONNECT_FN,
|
||||
pub pReserved: *mut ::core::ffi::c_void,
|
||||
pub pfnOsVersionCheck: PNS_OSVERSIONCHECK,
|
||||
}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::marker::Copy for NS_CONTEXT_ATTRIBUTES {}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::clone::Clone for NS_CONTEXT_ATTRIBUTES {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub union NS_CONTEXT_ATTRIBUTES_0 {
|
||||
pub Anonymous: NS_CONTEXT_ATTRIBUTES_0_0,
|
||||
pub _ullAlign: u64,
|
||||
}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::marker::Copy for NS_CONTEXT_ATTRIBUTES_0 {}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::clone::Clone for NS_CONTEXT_ATTRIBUTES_0 {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub struct NS_CONTEXT_ATTRIBUTES_0_0 {
|
||||
pub dwVersion: u32,
|
||||
pub dwReserved: u32,
|
||||
}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::marker::Copy for NS_CONTEXT_ATTRIBUTES_0_0 {}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::clone::Clone for NS_CONTEXT_ATTRIBUTES_0_0 {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct NS_HELPER_ATTRIBUTES {
|
||||
pub Anonymous: NS_HELPER_ATTRIBUTES_0,
|
||||
pub guidHelper: ::windows_sys::core::GUID,
|
||||
pub pfnStart: PNS_HELPER_START_FN,
|
||||
pub pfnStop: PNS_HELPER_STOP_FN,
|
||||
}
|
||||
impl ::core::marker::Copy for NS_HELPER_ATTRIBUTES {}
|
||||
impl ::core::clone::Clone for NS_HELPER_ATTRIBUTES {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub union NS_HELPER_ATTRIBUTES_0 {
|
||||
pub Anonymous: NS_HELPER_ATTRIBUTES_0_0,
|
||||
pub _ullAlign: u64,
|
||||
}
|
||||
impl ::core::marker::Copy for NS_HELPER_ATTRIBUTES_0 {}
|
||||
impl ::core::clone::Clone for NS_HELPER_ATTRIBUTES_0 {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct NS_HELPER_ATTRIBUTES_0_0 {
|
||||
pub dwVersion: u32,
|
||||
pub dwReserved: u32,
|
||||
}
|
||||
impl ::core::marker::Copy for NS_HELPER_ATTRIBUTES_0_0 {}
|
||||
impl ::core::clone::Clone for NS_HELPER_ATTRIBUTES_0_0 {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub struct TAG_TYPE {
|
||||
pub pwszTag: ::windows_sys::core::PCWSTR,
|
||||
pub dwRequired: u32,
|
||||
pub bPresent: super::super::Foundation::BOOL,
|
||||
}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::marker::Copy for TAG_TYPE {}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::clone::Clone for TAG_TYPE {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct TOKEN_VALUE {
|
||||
pub pwszToken: ::windows_sys::core::PCWSTR,
|
||||
pub dwValue: u32,
|
||||
}
|
||||
impl ::core::marker::Copy for TOKEN_VALUE {}
|
||||
impl ::core::clone::Clone for TOKEN_VALUE {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub type PFN_CUSTOM_HELP = ::core::option::Option<unsafe extern "system" fn(hmodule: super::super::Foundation::HANDLE, pwszcmdtoken: ::windows_sys::core::PCWSTR) -> ()>;
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub type PFN_HANDLE_CMD = ::core::option::Option<unsafe extern "system" fn(pwszmachine: ::windows_sys::core::PCWSTR, ppwcarguments: *mut ::windows_sys::core::PWSTR, dwcurrentindex: u32, dwargcount: u32, dwflags: u32, pvdata: *const ::core::ffi::c_void, pbdone: *mut super::super::Foundation::BOOL) -> u32>;
|
||||
pub type PGET_RESOURCE_STRING_FN = ::core::option::Option<unsafe extern "system" fn(dwmsgid: u32, lpbuffer: ::windows_sys::core::PCWSTR, nbuffermax: u32) -> u32>;
|
||||
pub type PNS_CONTEXT_COMMIT_FN = ::core::option::Option<unsafe extern "system" fn(dwaction: u32) -> u32>;
|
||||
pub type PNS_CONTEXT_CONNECT_FN = ::core::option::Option<unsafe extern "system" fn(pwszmachine: ::windows_sys::core::PCWSTR) -> u32>;
|
||||
pub type PNS_CONTEXT_DUMP_FN = ::core::option::Option<unsafe extern "system" fn(pwszrouter: ::windows_sys::core::PCWSTR, ppwcarguments: *const ::windows_sys::core::PCWSTR, dwargcount: u32, pvdata: *const ::core::ffi::c_void) -> u32>;
|
||||
pub type PNS_DLL_INIT_FN = ::core::option::Option<unsafe extern "system" fn(dwnetshversion: u32, preserved: *mut ::core::ffi::c_void) -> u32>;
|
||||
pub type PNS_DLL_STOP_FN = ::core::option::Option<unsafe extern "system" fn(dwreserved: u32) -> u32>;
|
||||
pub type PNS_HELPER_START_FN = ::core::option::Option<unsafe extern "system" fn(pguidparent: *const ::windows_sys::core::GUID, dwversion: u32) -> u32>;
|
||||
pub type PNS_HELPER_STOP_FN = ::core::option::Option<unsafe extern "system" fn(dwreserved: u32) -> u32>;
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub type PNS_OSVERSIONCHECK = ::core::option::Option<unsafe extern "system" fn(cimostype: u32, cimosproductsuite: u32, cimosversion: ::windows_sys::core::PCWSTR, cimosbuildnumber: ::windows_sys::core::PCWSTR, cimservicepackmajorversion: ::windows_sys::core::PCWSTR, cimservicepackminorversion: ::windows_sys::core::PCWSTR, uireserved: u32, dwreserved: u32) -> super::super::Foundation::BOOL>;
|
||||
|
|
@ -0,0 +1,326 @@
|
|||
::windows_targets::link!("ndfapi.dll" "system" fn NdfCancelIncident(handle : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("ndfapi.dll" "system" fn NdfCloseIncident(handle : *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("ndfapi.dll" "system" fn NdfCreateConnectivityIncident(handle : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("ndfapi.dll" "system" fn NdfCreateDNSIncident(hostname : ::windows_sys::core::PCWSTR, querytype : u16, handle : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
|
||||
#[cfg(feature = "Win32_Networking_WinSock")]
|
||||
::windows_targets::link!("ndfapi.dll" "system" #[doc = "Required features: `\"Win32_Networking_WinSock\"`"] fn NdfCreateGroupingIncident(cloudname : ::windows_sys::core::PCWSTR, groupname : ::windows_sys::core::PCWSTR, identity : ::windows_sys::core::PCWSTR, invitation : ::windows_sys::core::PCWSTR, addresses : *const super::super::Networking::WinSock:: SOCKET_ADDRESS_LIST, appid : ::windows_sys::core::PCWSTR, handle : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("ndfapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NdfCreateIncident(helperclassname : ::windows_sys::core::PCWSTR, celt : u32, attributes : *const HELPER_ATTRIBUTE, handle : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("ndfapi.dll" "system" fn NdfCreateNetConnectionIncident(handle : *mut *mut ::core::ffi::c_void, id : ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("ndfapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NdfCreatePnrpIncident(cloudname : ::windows_sys::core::PCWSTR, peername : ::windows_sys::core::PCWSTR, diagnosepublish : super::super::Foundation:: BOOL, appid : ::windows_sys::core::PCWSTR, handle : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("ndfapi.dll" "system" fn NdfCreateSharingIncident(uncpath : ::windows_sys::core::PCWSTR, handle : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("ndfapi.dll" "system" fn NdfCreateWebIncident(url : ::windows_sys::core::PCWSTR, handle : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("ndfapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NdfCreateWebIncidentEx(url : ::windows_sys::core::PCWSTR, usewinhttp : super::super::Foundation:: BOOL, modulename : ::windows_sys::core::PCWSTR, handle : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
|
||||
#[cfg(all(feature = "Win32_Networking_WinSock", feature = "Win32_Security"))]
|
||||
::windows_targets::link!("ndfapi.dll" "system" #[doc = "Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Security\"`"] fn NdfCreateWinSockIncident(sock : super::super::Networking::WinSock:: SOCKET, host : ::windows_sys::core::PCWSTR, port : u16, appid : ::windows_sys::core::PCWSTR, userid : *const super::super::Security:: SID, handle : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("ndfapi.dll" "system" fn NdfDiagnoseIncident(handle : *const ::core::ffi::c_void, rootcausecount : *mut u32, rootcauses : *mut *mut RootCauseInfo, dwwait : u32, dwflags : u32) -> ::windows_sys::core::HRESULT);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("ndfapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NdfExecuteDiagnosis(handle : *const ::core::ffi::c_void, hwnd : super::super::Foundation:: HWND) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("ndfapi.dll" "system" fn NdfGetTraceFile(handle : *const ::core::ffi::c_void, tracefilelocation : *mut ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("ndfapi.dll" "system" fn NdfRepairIncident(handle : *const ::core::ffi::c_void, repairex : *const RepairInfoEx, dwwait : u32) -> ::windows_sys::core::HRESULT);
|
||||
pub type INetDiagExtensibleHelper = *mut ::core::ffi::c_void;
|
||||
pub type INetDiagHelper = *mut ::core::ffi::c_void;
|
||||
pub type INetDiagHelperEx = *mut ::core::ffi::c_void;
|
||||
pub type INetDiagHelperInfo = *mut ::core::ffi::c_void;
|
||||
pub type INetDiagHelperUtilFactory = *mut ::core::ffi::c_void;
|
||||
pub const AT_BOOLEAN: ATTRIBUTE_TYPE = 1i32;
|
||||
pub const AT_GUID: ATTRIBUTE_TYPE = 11i32;
|
||||
pub const AT_INT16: ATTRIBUTE_TYPE = 4i32;
|
||||
pub const AT_INT32: ATTRIBUTE_TYPE = 6i32;
|
||||
pub const AT_INT64: ATTRIBUTE_TYPE = 8i32;
|
||||
pub const AT_INT8: ATTRIBUTE_TYPE = 2i32;
|
||||
pub const AT_INVALID: ATTRIBUTE_TYPE = 0i32;
|
||||
pub const AT_LIFE_TIME: ATTRIBUTE_TYPE = 12i32;
|
||||
pub const AT_OCTET_STRING: ATTRIBUTE_TYPE = 14i32;
|
||||
pub const AT_SOCKADDR: ATTRIBUTE_TYPE = 13i32;
|
||||
pub const AT_STRING: ATTRIBUTE_TYPE = 10i32;
|
||||
pub const AT_UINT16: ATTRIBUTE_TYPE = 5i32;
|
||||
pub const AT_UINT32: ATTRIBUTE_TYPE = 7i32;
|
||||
pub const AT_UINT64: ATTRIBUTE_TYPE = 9i32;
|
||||
pub const AT_UINT8: ATTRIBUTE_TYPE = 3i32;
|
||||
pub const DF_IMPERSONATION: u32 = 2147483648u32;
|
||||
pub const DF_TRACELESS: u32 = 1073741824u32;
|
||||
pub const DS_CONFIRMED: DIAGNOSIS_STATUS = 1i32;
|
||||
pub const DS_DEFERRED: DIAGNOSIS_STATUS = 4i32;
|
||||
pub const DS_INDETERMINATE: DIAGNOSIS_STATUS = 3i32;
|
||||
pub const DS_NOT_IMPLEMENTED: DIAGNOSIS_STATUS = 0i32;
|
||||
pub const DS_PASSTHROUGH: DIAGNOSIS_STATUS = 5i32;
|
||||
pub const DS_REJECTED: DIAGNOSIS_STATUS = 2i32;
|
||||
pub const NDF_ADD_CAPTURE_TRACE: u32 = 1u32;
|
||||
pub const NDF_APPLY_INCLUSION_LIST_FILTER: u32 = 2u32;
|
||||
pub const NDF_ERROR_START: u32 = 63744u32;
|
||||
pub const NDF_E_BAD_PARAM: ::windows_sys::core::HRESULT = -2146895611i32;
|
||||
pub const NDF_E_CANCELLED: ::windows_sys::core::HRESULT = -2146895614i32;
|
||||
pub const NDF_E_DISABLED: ::windows_sys::core::HRESULT = -2146895612i32;
|
||||
pub const NDF_E_LENGTH_EXCEEDED: ::windows_sys::core::HRESULT = -2146895616i32;
|
||||
pub const NDF_E_NOHELPERCLASS: ::windows_sys::core::HRESULT = -2146895615i32;
|
||||
pub const NDF_E_PROBLEM_PRESENT: ::windows_sys::core::HRESULT = -2146895608i32;
|
||||
pub const NDF_E_UNKNOWN: ::windows_sys::core::HRESULT = -2146895609i32;
|
||||
pub const NDF_E_VALIDATION: ::windows_sys::core::HRESULT = -2146895610i32;
|
||||
pub const NDF_INBOUND_FLAG_EDGETRAVERSAL: u32 = 1u32;
|
||||
pub const NDF_INBOUND_FLAG_HEALTHCHECK: u32 = 2u32;
|
||||
pub const PT_DOWN_STREAM_HEALTH: PROBLEM_TYPE = 4i32;
|
||||
pub const PT_HIGHER_UTILIZATION: PROBLEM_TYPE = 16i32;
|
||||
pub const PT_HIGH_UTILIZATION: PROBLEM_TYPE = 8i32;
|
||||
pub const PT_INVALID: PROBLEM_TYPE = 0i32;
|
||||
pub const PT_LOWER_HEALTH: PROBLEM_TYPE = 2i32;
|
||||
pub const PT_LOW_HEALTH: PROBLEM_TYPE = 1i32;
|
||||
pub const PT_UP_STREAM_UTILIZATION: PROBLEM_TYPE = 32i32;
|
||||
pub const RCF_ISCONFIRMED: u32 = 2u32;
|
||||
pub const RCF_ISLEAF: u32 = 1u32;
|
||||
pub const RCF_ISTHIRDPARTY: u32 = 4u32;
|
||||
pub const RF_CONTACT_ADMIN: u32 = 131072u32;
|
||||
pub const RF_INFORMATION_ONLY: u32 = 33554432u32;
|
||||
pub const RF_REPRO: u32 = 2097152u32;
|
||||
pub const RF_RESERVED: u32 = 1073741824u32;
|
||||
pub const RF_RESERVED_CA: u32 = 2147483648u32;
|
||||
pub const RF_RESERVED_LNI: u32 = 65536u32;
|
||||
pub const RF_SHOW_EVENTS: u32 = 8388608u32;
|
||||
pub const RF_UI_ONLY: u32 = 16777216u32;
|
||||
pub const RF_USER_ACTION: u32 = 268435456u32;
|
||||
pub const RF_USER_CONFIRMATION: u32 = 134217728u32;
|
||||
pub const RF_VALIDATE_HELPTOPIC: u32 = 4194304u32;
|
||||
pub const RF_WORKAROUND: u32 = 536870912u32;
|
||||
pub const RR_NORISK: REPAIR_RISK = 2i32;
|
||||
pub const RR_NOROLLBACK: REPAIR_RISK = 0i32;
|
||||
pub const RR_ROLLBACK: REPAIR_RISK = 1i32;
|
||||
pub const RS_APPLICATION: REPAIR_SCOPE = 2i32;
|
||||
pub const RS_DEFERRED: REPAIR_STATUS = 3i32;
|
||||
pub const RS_NOT_IMPLEMENTED: REPAIR_STATUS = 0i32;
|
||||
pub const RS_PROCESS: REPAIR_SCOPE = 3i32;
|
||||
pub const RS_REPAIRED: REPAIR_STATUS = 1i32;
|
||||
pub const RS_SYSTEM: REPAIR_SCOPE = 0i32;
|
||||
pub const RS_UNREPAIRED: REPAIR_STATUS = 2i32;
|
||||
pub const RS_USER: REPAIR_SCOPE = 1i32;
|
||||
pub const RS_USER_ACTION: REPAIR_STATUS = 4i32;
|
||||
pub const UIT_DUI: UI_INFO_TYPE = 4i32;
|
||||
pub const UIT_HELP_PANE: UI_INFO_TYPE = 3i32;
|
||||
pub const UIT_INVALID: UI_INFO_TYPE = 0i32;
|
||||
pub const UIT_NONE: UI_INFO_TYPE = 1i32;
|
||||
pub const UIT_SHELL_COMMAND: UI_INFO_TYPE = 2i32;
|
||||
pub type ATTRIBUTE_TYPE = i32;
|
||||
pub type DIAGNOSIS_STATUS = i32;
|
||||
pub type PROBLEM_TYPE = i32;
|
||||
pub type REPAIR_RISK = i32;
|
||||
pub type REPAIR_SCOPE = i32;
|
||||
pub type REPAIR_STATUS = i32;
|
||||
pub type UI_INFO_TYPE = i32;
|
||||
#[repr(C)]
|
||||
pub struct DIAG_SOCKADDR {
|
||||
pub family: u16,
|
||||
pub data: [u8; 126],
|
||||
}
|
||||
impl ::core::marker::Copy for DIAG_SOCKADDR {}
|
||||
impl ::core::clone::Clone for DIAG_SOCKADDR {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct DiagnosticsInfo {
|
||||
pub cost: i32,
|
||||
pub flags: u32,
|
||||
}
|
||||
impl ::core::marker::Copy for DiagnosticsInfo {}
|
||||
impl ::core::clone::Clone for DiagnosticsInfo {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub struct HELPER_ATTRIBUTE {
|
||||
pub pwszName: ::windows_sys::core::PWSTR,
|
||||
pub r#type: ATTRIBUTE_TYPE,
|
||||
pub Anonymous: HELPER_ATTRIBUTE_0,
|
||||
}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::marker::Copy for HELPER_ATTRIBUTE {}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::clone::Clone for HELPER_ATTRIBUTE {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub union HELPER_ATTRIBUTE_0 {
|
||||
pub Boolean: super::super::Foundation::BOOL,
|
||||
pub Char: u8,
|
||||
pub Byte: u8,
|
||||
pub Short: i16,
|
||||
pub Word: u16,
|
||||
pub Int: i32,
|
||||
pub DWord: u32,
|
||||
pub Int64: i64,
|
||||
pub UInt64: u64,
|
||||
pub PWStr: ::windows_sys::core::PWSTR,
|
||||
pub Guid: ::windows_sys::core::GUID,
|
||||
pub LifeTime: LIFE_TIME,
|
||||
pub Address: DIAG_SOCKADDR,
|
||||
pub OctetString: OCTET_STRING,
|
||||
}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::marker::Copy for HELPER_ATTRIBUTE_0 {}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::clone::Clone for HELPER_ATTRIBUTE_0 {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub struct HYPOTHESIS {
|
||||
pub pwszClassName: ::windows_sys::core::PWSTR,
|
||||
pub pwszDescription: ::windows_sys::core::PWSTR,
|
||||
pub celt: u32,
|
||||
pub rgAttributes: *mut HELPER_ATTRIBUTE,
|
||||
}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::marker::Copy for HYPOTHESIS {}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::clone::Clone for HYPOTHESIS {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct HelperAttributeInfo {
|
||||
pub pwszName: ::windows_sys::core::PWSTR,
|
||||
pub r#type: ATTRIBUTE_TYPE,
|
||||
}
|
||||
impl ::core::marker::Copy for HelperAttributeInfo {}
|
||||
impl ::core::clone::Clone for HelperAttributeInfo {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub struct HypothesisResult {
|
||||
pub hypothesis: HYPOTHESIS,
|
||||
pub pathStatus: DIAGNOSIS_STATUS,
|
||||
}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::marker::Copy for HypothesisResult {}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::clone::Clone for HypothesisResult {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub struct LIFE_TIME {
|
||||
pub startTime: super::super::Foundation::FILETIME,
|
||||
pub endTime: super::super::Foundation::FILETIME,
|
||||
}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::marker::Copy for LIFE_TIME {}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::clone::Clone for LIFE_TIME {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct OCTET_STRING {
|
||||
pub dwLength: u32,
|
||||
pub lpValue: *mut u8,
|
||||
}
|
||||
impl ::core::marker::Copy for OCTET_STRING {}
|
||||
impl ::core::clone::Clone for OCTET_STRING {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct RepairInfo {
|
||||
pub guid: ::windows_sys::core::GUID,
|
||||
pub pwszClassName: ::windows_sys::core::PWSTR,
|
||||
pub pwszDescription: ::windows_sys::core::PWSTR,
|
||||
pub sidType: u32,
|
||||
pub cost: i32,
|
||||
pub flags: u32,
|
||||
pub scope: REPAIR_SCOPE,
|
||||
pub risk: REPAIR_RISK,
|
||||
pub UiInfo: UiInfo,
|
||||
pub rootCauseIndex: i32,
|
||||
}
|
||||
impl ::core::marker::Copy for RepairInfo {}
|
||||
impl ::core::clone::Clone for RepairInfo {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct RepairInfoEx {
|
||||
pub repair: RepairInfo,
|
||||
pub repairRank: u16,
|
||||
}
|
||||
impl ::core::marker::Copy for RepairInfoEx {}
|
||||
impl ::core::clone::Clone for RepairInfoEx {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct RootCauseInfo {
|
||||
pub pwszDescription: ::windows_sys::core::PWSTR,
|
||||
pub rootCauseID: ::windows_sys::core::GUID,
|
||||
pub rootCauseFlags: u32,
|
||||
pub networkInterfaceID: ::windows_sys::core::GUID,
|
||||
pub pRepairs: *mut RepairInfoEx,
|
||||
pub repairCount: u16,
|
||||
}
|
||||
impl ::core::marker::Copy for RootCauseInfo {}
|
||||
impl ::core::clone::Clone for RootCauseInfo {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct ShellCommandInfo {
|
||||
pub pwszOperation: ::windows_sys::core::PWSTR,
|
||||
pub pwszFile: ::windows_sys::core::PWSTR,
|
||||
pub pwszParameters: ::windows_sys::core::PWSTR,
|
||||
pub pwszDirectory: ::windows_sys::core::PWSTR,
|
||||
pub nShowCmd: u32,
|
||||
}
|
||||
impl ::core::marker::Copy for ShellCommandInfo {}
|
||||
impl ::core::clone::Clone for ShellCommandInfo {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct UiInfo {
|
||||
pub r#type: UI_INFO_TYPE,
|
||||
pub Anonymous: UiInfo_0,
|
||||
}
|
||||
impl ::core::marker::Copy for UiInfo {}
|
||||
impl ::core::clone::Clone for UiInfo {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub union UiInfo_0 {
|
||||
pub pwzNull: ::windows_sys::core::PWSTR,
|
||||
pub ShellInfo: ShellCommandInfo,
|
||||
pub pwzHelpUrl: ::windows_sys::core::PWSTR,
|
||||
pub pwzDui: ::windows_sys::core::PWSTR,
|
||||
}
|
||||
impl ::core::marker::Copy for UiInfo_0 {}
|
||||
impl ::core::clone::Clone for UiInfo_0 {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
1716
third-party/vendor/windows-sys/src/Windows/Win32/NetworkManagement/P2P/mod.rs
vendored
Normal file
1716
third-party/vendor/windows-sys/src/Windows/Win32/NetworkManagement/P2P/mod.rs
vendored
Normal file
File diff suppressed because it is too large
Load diff
2110
third-party/vendor/windows-sys/src/Windows/Win32/NetworkManagement/QoS/mod.rs
vendored
Normal file
2110
third-party/vendor/windows-sys/src/Windows/Win32/NetworkManagement/QoS/mod.rs
vendored
Normal file
File diff suppressed because it is too large
Load diff
4524
third-party/vendor/windows-sys/src/Windows/Win32/NetworkManagement/Rras/mod.rs
vendored
Normal file
4524
third-party/vendor/windows-sys/src/Windows/Win32/NetworkManagement/Rras/mod.rs
vendored
Normal file
File diff suppressed because it is too large
Load diff
531
third-party/vendor/windows-sys/src/Windows/Win32/NetworkManagement/Snmp/mod.rs
vendored
Normal file
531
third-party/vendor/windows-sys/src/Windows/Win32/NetworkManagement/Snmp/mod.rs
vendored
Normal file
|
|
@ -0,0 +1,531 @@
|
|||
::windows_targets::link!("wsnmp32.dll" "system" fn SnmpCancelMsg(session : isize, reqid : i32) -> u32);
|
||||
::windows_targets::link!("wsnmp32.dll" "system" fn SnmpCleanup() -> u32);
|
||||
::windows_targets::link!("wsnmp32.dll" "system" fn SnmpCleanupEx() -> u32);
|
||||
::windows_targets::link!("wsnmp32.dll" "system" fn SnmpClose(session : isize) -> u32);
|
||||
::windows_targets::link!("wsnmp32.dll" "system" fn SnmpContextToStr(context : isize, string : *mut smiOCTETS) -> u32);
|
||||
::windows_targets::link!("wsnmp32.dll" "system" fn SnmpCountVbl(vbl : isize) -> u32);
|
||||
::windows_targets::link!("wsnmp32.dll" "system" fn SnmpCreatePdu(session : isize, pdu_type : SNMP_PDU_TYPE, request_id : i32, error_status : i32, error_index : i32, varbindlist : isize) -> isize);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("wsnmp32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SnmpCreateSession(hwnd : super::super::Foundation:: HWND, wmsg : u32, fcallback : SNMPAPI_CALLBACK, lpclientdata : *mut ::core::ffi::c_void) -> isize);
|
||||
::windows_targets::link!("wsnmp32.dll" "system" fn SnmpCreateVbl(session : isize, name : *mut smiOID, value : *mut smiVALUE) -> isize);
|
||||
::windows_targets::link!("wsnmp32.dll" "system" fn SnmpDecodeMsg(session : isize, srcentity : *mut isize, dstentity : *mut isize, context : *mut isize, pdu : *mut isize, msgbufdesc : *mut smiOCTETS) -> u32);
|
||||
::windows_targets::link!("wsnmp32.dll" "system" fn SnmpDeleteVb(vbl : isize, index : u32) -> u32);
|
||||
::windows_targets::link!("wsnmp32.dll" "system" fn SnmpDuplicatePdu(session : isize, pdu : isize) -> isize);
|
||||
::windows_targets::link!("wsnmp32.dll" "system" fn SnmpDuplicateVbl(session : isize, vbl : isize) -> isize);
|
||||
::windows_targets::link!("wsnmp32.dll" "system" fn SnmpEncodeMsg(session : isize, srcentity : isize, dstentity : isize, context : isize, pdu : isize, msgbufdesc : *mut smiOCTETS) -> u32);
|
||||
::windows_targets::link!("wsnmp32.dll" "system" fn SnmpEntityToStr(entity : isize, size : u32, string : ::windows_sys::core::PSTR) -> u32);
|
||||
::windows_targets::link!("wsnmp32.dll" "system" fn SnmpFreeContext(context : isize) -> u32);
|
||||
::windows_targets::link!("wsnmp32.dll" "system" fn SnmpFreeDescriptor(syntax : u32, descriptor : *mut smiOCTETS) -> u32);
|
||||
::windows_targets::link!("wsnmp32.dll" "system" fn SnmpFreeEntity(entity : isize) -> u32);
|
||||
::windows_targets::link!("wsnmp32.dll" "system" fn SnmpFreePdu(pdu : isize) -> u32);
|
||||
::windows_targets::link!("wsnmp32.dll" "system" fn SnmpFreeVbl(vbl : isize) -> u32);
|
||||
::windows_targets::link!("wsnmp32.dll" "system" fn SnmpGetLastError(session : isize) -> u32);
|
||||
::windows_targets::link!("wsnmp32.dll" "system" fn SnmpGetPduData(pdu : isize, pdu_type : *mut SNMP_PDU_TYPE, request_id : *mut i32, error_status : *mut SNMP_ERROR, error_index : *mut i32, varbindlist : *mut isize) -> u32);
|
||||
::windows_targets::link!("wsnmp32.dll" "system" fn SnmpGetRetransmitMode(nretransmitmode : *mut SNMP_STATUS) -> u32);
|
||||
::windows_targets::link!("wsnmp32.dll" "system" fn SnmpGetRetry(hentity : isize, npolicyretry : *mut u32, nactualretry : *mut u32) -> u32);
|
||||
::windows_targets::link!("wsnmp32.dll" "system" fn SnmpGetTimeout(hentity : isize, npolicytimeout : *mut u32, nactualtimeout : *mut u32) -> u32);
|
||||
::windows_targets::link!("wsnmp32.dll" "system" fn SnmpGetTranslateMode(ntranslatemode : *mut SNMP_API_TRANSLATE_MODE) -> u32);
|
||||
::windows_targets::link!("wsnmp32.dll" "system" fn SnmpGetVb(vbl : isize, index : u32, name : *mut smiOID, value : *mut smiVALUE) -> u32);
|
||||
::windows_targets::link!("wsnmp32.dll" "system" fn SnmpGetVendorInfo(vendorinfo : *mut smiVENDORINFO) -> u32);
|
||||
::windows_targets::link!("wsnmp32.dll" "system" fn SnmpListen(hentity : isize, lstatus : SNMP_STATUS) -> u32);
|
||||
::windows_targets::link!("wsnmp32.dll" "system" fn SnmpListenEx(hentity : isize, lstatus : u32, nuseentityaddr : u32) -> u32);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("mgmtapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SnmpMgrClose(session : *mut ::core::ffi::c_void) -> super::super::Foundation:: BOOL);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("mgmtapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SnmpMgrCtl(session : *mut ::core::ffi::c_void, dwctlcode : u32, lpvinbuffer : *mut ::core::ffi::c_void, cbinbuffer : u32, lpvoutbuffer : *mut ::core::ffi::c_void, cboutbuffer : u32, lpcbbytesreturned : *mut u32) -> super::super::Foundation:: BOOL);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("mgmtapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SnmpMgrGetTrap(enterprise : *mut AsnObjectIdentifier, ipaddress : *mut AsnOctetString, generictrap : *mut SNMP_GENERICTRAP, specifictrap : *mut i32, timestamp : *mut u32, variablebindings : *mut SnmpVarBindList) -> super::super::Foundation:: BOOL);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("mgmtapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SnmpMgrGetTrapEx(enterprise : *mut AsnObjectIdentifier, agentaddress : *mut AsnOctetString, sourceaddress : *mut AsnOctetString, generictrap : *mut SNMP_GENERICTRAP, specifictrap : *mut i32, community : *mut AsnOctetString, timestamp : *mut u32, variablebindings : *mut SnmpVarBindList) -> super::super::Foundation:: BOOL);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("mgmtapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SnmpMgrOidToStr(oid : *mut AsnObjectIdentifier, string : *mut ::windows_sys::core::PSTR) -> super::super::Foundation:: BOOL);
|
||||
::windows_targets::link!("mgmtapi.dll" "system" fn SnmpMgrOpen(lpagentaddress : ::windows_sys::core::PCSTR, lpagentcommunity : ::windows_sys::core::PCSTR, ntimeout : i32, nretries : i32) -> *mut ::core::ffi::c_void);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("mgmtapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SnmpMgrRequest(session : *mut ::core::ffi::c_void, requesttype : u8, variablebindings : *mut SnmpVarBindList, errorstatus : *mut SNMP_ERROR_STATUS, errorindex : *mut i32) -> i32);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("mgmtapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SnmpMgrStrToOid(string : ::windows_sys::core::PCSTR, oid : *mut AsnObjectIdentifier) -> super::super::Foundation:: BOOL);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("mgmtapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SnmpMgrTrapListen(phtrapavailable : *mut super::super::Foundation:: HANDLE) -> super::super::Foundation:: BOOL);
|
||||
::windows_targets::link!("wsnmp32.dll" "system" fn SnmpOidCompare(xoid : *mut smiOID, yoid : *mut smiOID, maxlen : u32, result : *mut i32) -> u32);
|
||||
::windows_targets::link!("wsnmp32.dll" "system" fn SnmpOidCopy(srcoid : *mut smiOID, dstoid : *mut smiOID) -> u32);
|
||||
::windows_targets::link!("wsnmp32.dll" "system" fn SnmpOidToStr(srcoid : *const smiOID, size : u32, string : ::windows_sys::core::PSTR) -> u32);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("wsnmp32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SnmpOpen(hwnd : super::super::Foundation:: HWND, wmsg : u32) -> isize);
|
||||
::windows_targets::link!("wsnmp32.dll" "system" fn SnmpRecvMsg(session : isize, srcentity : *mut isize, dstentity : *mut isize, context : *mut isize, pdu : *mut isize) -> u32);
|
||||
::windows_targets::link!("wsnmp32.dll" "system" fn SnmpRegister(session : isize, srcentity : isize, dstentity : isize, context : isize, notification : *mut smiOID, state : SNMP_STATUS) -> u32);
|
||||
::windows_targets::link!("wsnmp32.dll" "system" fn SnmpSendMsg(session : isize, srcentity : isize, dstentity : isize, context : isize, pdu : isize) -> u32);
|
||||
::windows_targets::link!("wsnmp32.dll" "system" fn SnmpSetPduData(pdu : isize, pdu_type : *const i32, request_id : *const i32, non_repeaters : *const i32, max_repetitions : *const i32, varbindlist : *const isize) -> u32);
|
||||
::windows_targets::link!("wsnmp32.dll" "system" fn SnmpSetPort(hentity : isize, nport : u32) -> u32);
|
||||
::windows_targets::link!("wsnmp32.dll" "system" fn SnmpSetRetransmitMode(nretransmitmode : SNMP_STATUS) -> u32);
|
||||
::windows_targets::link!("wsnmp32.dll" "system" fn SnmpSetRetry(hentity : isize, npolicyretry : u32) -> u32);
|
||||
::windows_targets::link!("wsnmp32.dll" "system" fn SnmpSetTimeout(hentity : isize, npolicytimeout : u32) -> u32);
|
||||
::windows_targets::link!("wsnmp32.dll" "system" fn SnmpSetTranslateMode(ntranslatemode : SNMP_API_TRANSLATE_MODE) -> u32);
|
||||
::windows_targets::link!("wsnmp32.dll" "system" fn SnmpSetVb(vbl : isize, index : u32, name : *mut smiOID, value : *mut smiVALUE) -> u32);
|
||||
::windows_targets::link!("wsnmp32.dll" "system" fn SnmpStartup(nmajorversion : *mut u32, nminorversion : *mut u32, nlevel : *mut u32, ntranslatemode : *mut SNMP_API_TRANSLATE_MODE, nretransmitmode : *mut SNMP_STATUS) -> u32);
|
||||
::windows_targets::link!("wsnmp32.dll" "system" fn SnmpStartupEx(nmajorversion : *mut u32, nminorversion : *mut u32, nlevel : *mut u32, ntranslatemode : *mut SNMP_API_TRANSLATE_MODE, nretransmitmode : *mut SNMP_STATUS) -> u32);
|
||||
::windows_targets::link!("wsnmp32.dll" "system" fn SnmpStrToContext(session : isize, string : *mut smiOCTETS) -> isize);
|
||||
::windows_targets::link!("wsnmp32.dll" "system" fn SnmpStrToEntity(session : isize, string : ::windows_sys::core::PCSTR) -> isize);
|
||||
::windows_targets::link!("wsnmp32.dll" "system" fn SnmpStrToOid(string : ::windows_sys::core::PCSTR, dstoid : *mut smiOID) -> u32);
|
||||
::windows_targets::link!("snmpapi.dll" "system" fn SnmpSvcGetUptime() -> u32);
|
||||
::windows_targets::link!("snmpapi.dll" "system" fn SnmpSvcSetLogLevel(nloglevel : SNMP_LOG) -> ());
|
||||
::windows_targets::link!("snmpapi.dll" "system" fn SnmpSvcSetLogType(nlogtype : i32) -> ());
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("snmpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SnmpUtilAsnAnyCpy(panydst : *mut AsnAny, panysrc : *mut AsnAny) -> i32);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("snmpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SnmpUtilAsnAnyFree(pany : *mut AsnAny) -> ());
|
||||
::windows_targets::link!("snmpapi.dll" "cdecl" fn SnmpUtilDbgPrint(nloglevel : SNMP_LOG, szformat : ::windows_sys::core::PCSTR, ...) -> ());
|
||||
::windows_targets::link!("snmpapi.dll" "system" fn SnmpUtilIdsToA(ids : *mut u32, idlength : u32) -> ::windows_sys::core::PSTR);
|
||||
::windows_targets::link!("snmpapi.dll" "system" fn SnmpUtilMemAlloc(nbytes : u32) -> *mut ::core::ffi::c_void);
|
||||
::windows_targets::link!("snmpapi.dll" "system" fn SnmpUtilMemFree(pmem : *mut ::core::ffi::c_void) -> ());
|
||||
::windows_targets::link!("snmpapi.dll" "system" fn SnmpUtilMemReAlloc(pmem : *mut ::core::ffi::c_void, nbytes : u32) -> *mut ::core::ffi::c_void);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("snmpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SnmpUtilOctetsCmp(poctets1 : *mut AsnOctetString, poctets2 : *mut AsnOctetString) -> i32);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("snmpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SnmpUtilOctetsCpy(poctetsdst : *mut AsnOctetString, poctetssrc : *mut AsnOctetString) -> i32);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("snmpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SnmpUtilOctetsFree(poctets : *mut AsnOctetString) -> ());
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("snmpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SnmpUtilOctetsNCmp(poctets1 : *mut AsnOctetString, poctets2 : *mut AsnOctetString, nchars : u32) -> i32);
|
||||
::windows_targets::link!("snmpapi.dll" "system" fn SnmpUtilOidAppend(poiddst : *mut AsnObjectIdentifier, poidsrc : *mut AsnObjectIdentifier) -> i32);
|
||||
::windows_targets::link!("snmpapi.dll" "system" fn SnmpUtilOidCmp(poid1 : *mut AsnObjectIdentifier, poid2 : *mut AsnObjectIdentifier) -> i32);
|
||||
::windows_targets::link!("snmpapi.dll" "system" fn SnmpUtilOidCpy(poiddst : *mut AsnObjectIdentifier, poidsrc : *mut AsnObjectIdentifier) -> i32);
|
||||
::windows_targets::link!("snmpapi.dll" "system" fn SnmpUtilOidFree(poid : *mut AsnObjectIdentifier) -> ());
|
||||
::windows_targets::link!("snmpapi.dll" "system" fn SnmpUtilOidNCmp(poid1 : *mut AsnObjectIdentifier, poid2 : *mut AsnObjectIdentifier, nsubids : u32) -> i32);
|
||||
::windows_targets::link!("snmpapi.dll" "system" fn SnmpUtilOidToA(oid : *mut AsnObjectIdentifier) -> ::windows_sys::core::PSTR);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("snmpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SnmpUtilPrintAsnAny(pany : *mut AsnAny) -> ());
|
||||
::windows_targets::link!("snmpapi.dll" "system" fn SnmpUtilPrintOid(oid : *mut AsnObjectIdentifier) -> ());
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("snmpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SnmpUtilVarBindCpy(pvbdst : *mut SnmpVarBind, pvbsrc : *mut SnmpVarBind) -> i32);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("snmpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SnmpUtilVarBindFree(pvb : *mut SnmpVarBind) -> ());
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("snmpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SnmpUtilVarBindListCpy(pvbldst : *mut SnmpVarBindList, pvblsrc : *mut SnmpVarBindList) -> i32);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("snmpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SnmpUtilVarBindListFree(pvbl : *mut SnmpVarBindList) -> ());
|
||||
pub const ASN_APPLICATION: u32 = 64u32;
|
||||
pub const ASN_CONSTRUCTOR: u32 = 32u32;
|
||||
pub const ASN_CONTEXT: u32 = 128u32;
|
||||
pub const ASN_CONTEXTSPECIFIC: u32 = 128u32;
|
||||
pub const ASN_PRIMATIVE: u32 = 0u32;
|
||||
pub const ASN_PRIMITIVE: u32 = 0u32;
|
||||
pub const ASN_PRIVATE: u32 = 192u32;
|
||||
pub const ASN_UNIVERSAL: u32 = 0u32;
|
||||
pub const DEFAULT_SNMPTRAP_PORT_IPX: u32 = 36880u32;
|
||||
pub const DEFAULT_SNMPTRAP_PORT_UDP: u32 = 162u32;
|
||||
pub const DEFAULT_SNMP_PORT_IPX: u32 = 36879u32;
|
||||
pub const DEFAULT_SNMP_PORT_UDP: u32 = 161u32;
|
||||
pub const MAXOBJIDSIZE: u32 = 128u32;
|
||||
pub const MAXOBJIDSTRSIZE: u32 = 1408u32;
|
||||
pub const MAXVENDORINFO: u32 = 32u32;
|
||||
pub const MGMCTL_SETAGENTPORT: u32 = 1u32;
|
||||
pub const SNMPAPI_ALLOC_ERROR: u32 = 2u32;
|
||||
pub const SNMPAPI_CONTEXT_INVALID: u32 = 3u32;
|
||||
pub const SNMPAPI_CONTEXT_UNKNOWN: u32 = 4u32;
|
||||
pub const SNMPAPI_ENTITY_INVALID: u32 = 5u32;
|
||||
pub const SNMPAPI_ENTITY_UNKNOWN: u32 = 6u32;
|
||||
pub const SNMPAPI_ERROR: u32 = 0u32;
|
||||
pub const SNMPAPI_FAILURE: u32 = 0u32;
|
||||
pub const SNMPAPI_HWND_INVALID: u32 = 20u32;
|
||||
pub const SNMPAPI_INDEX_INVALID: u32 = 7u32;
|
||||
pub const SNMPAPI_M2M_SUPPORT: u32 = 3u32;
|
||||
pub const SNMPAPI_MESSAGE_INVALID: u32 = 19u32;
|
||||
pub const SNMPAPI_MODE_INVALID: u32 = 16u32;
|
||||
pub const SNMPAPI_NOERROR: u32 = 1u32;
|
||||
pub const SNMPAPI_NOOP: u32 = 8u32;
|
||||
pub const SNMPAPI_NOT_INITIALIZED: u32 = 18u32;
|
||||
pub const SNMPAPI_NO_SUPPORT: u32 = 0u32;
|
||||
pub const SNMPAPI_OFF: SNMP_STATUS = 0u32;
|
||||
pub const SNMPAPI_OID_INVALID: u32 = 9u32;
|
||||
pub const SNMPAPI_ON: SNMP_STATUS = 1u32;
|
||||
pub const SNMPAPI_OPERATION_INVALID: u32 = 10u32;
|
||||
pub const SNMPAPI_OTHER_ERROR: u32 = 99u32;
|
||||
pub const SNMPAPI_OUTPUT_TRUNCATED: u32 = 11u32;
|
||||
pub const SNMPAPI_PDU_INVALID: u32 = 12u32;
|
||||
pub const SNMPAPI_SESSION_INVALID: u32 = 13u32;
|
||||
pub const SNMPAPI_SIZE_INVALID: u32 = 17u32;
|
||||
pub const SNMPAPI_SUCCESS: u32 = 1u32;
|
||||
pub const SNMPAPI_SYNTAX_INVALID: u32 = 14u32;
|
||||
pub const SNMPAPI_TL_INVALID_PARAM: u32 = 106u32;
|
||||
pub const SNMPAPI_TL_IN_USE: u32 = 107u32;
|
||||
pub const SNMPAPI_TL_NOT_AVAILABLE: u32 = 102u32;
|
||||
pub const SNMPAPI_TL_NOT_INITIALIZED: u32 = 100u32;
|
||||
pub const SNMPAPI_TL_NOT_SUPPORTED: u32 = 101u32;
|
||||
pub const SNMPAPI_TL_OTHER: u32 = 199u32;
|
||||
pub const SNMPAPI_TL_PDU_TOO_BIG: u32 = 109u32;
|
||||
pub const SNMPAPI_TL_RESOURCE_ERROR: u32 = 103u32;
|
||||
pub const SNMPAPI_TL_SRC_INVALID: u32 = 105u32;
|
||||
pub const SNMPAPI_TL_TIMEOUT: u32 = 108u32;
|
||||
pub const SNMPAPI_TL_UNDELIVERABLE: u32 = 104u32;
|
||||
pub const SNMPAPI_TRANSLATED: SNMP_API_TRANSLATE_MODE = 0u32;
|
||||
pub const SNMPAPI_UNTRANSLATED_V1: SNMP_API_TRANSLATE_MODE = 1u32;
|
||||
pub const SNMPAPI_UNTRANSLATED_V2: SNMP_API_TRANSLATE_MODE = 2u32;
|
||||
pub const SNMPAPI_V1_SUPPORT: u32 = 1u32;
|
||||
pub const SNMPAPI_V2_SUPPORT: u32 = 2u32;
|
||||
pub const SNMPAPI_VBL_INVALID: u32 = 15u32;
|
||||
pub const SNMPLISTEN_ALL_ADDR: u32 = 1u32;
|
||||
pub const SNMPLISTEN_USEENTITY_ADDR: u32 = 0u32;
|
||||
pub const SNMP_ACCESS_NONE: u32 = 0u32;
|
||||
pub const SNMP_ACCESS_NOTIFY: u32 = 1u32;
|
||||
pub const SNMP_ACCESS_READ_CREATE: u32 = 4u32;
|
||||
pub const SNMP_ACCESS_READ_ONLY: u32 = 2u32;
|
||||
pub const SNMP_ACCESS_READ_WRITE: u32 = 3u32;
|
||||
pub const SNMP_AUTHAPI_INVALID_MSG_TYPE: u32 = 31u32;
|
||||
pub const SNMP_AUTHAPI_INVALID_VERSION: u32 = 30u32;
|
||||
pub const SNMP_AUTHAPI_TRIV_AUTH_FAILED: u32 = 32u32;
|
||||
pub const SNMP_BERAPI_INVALID_LENGTH: u32 = 10u32;
|
||||
pub const SNMP_BERAPI_INVALID_OBJELEM: u32 = 14u32;
|
||||
pub const SNMP_BERAPI_INVALID_TAG: u32 = 11u32;
|
||||
pub const SNMP_BERAPI_OVERFLOW: u32 = 12u32;
|
||||
pub const SNMP_BERAPI_SHORT_BUFFER: u32 = 13u32;
|
||||
pub const SNMP_ERRORSTATUS_AUTHORIZATIONERROR: SNMP_ERROR_STATUS = 16u32;
|
||||
pub const SNMP_ERRORSTATUS_BADVALUE: SNMP_ERROR_STATUS = 3u32;
|
||||
pub const SNMP_ERRORSTATUS_COMMITFAILED: SNMP_ERROR_STATUS = 14u32;
|
||||
pub const SNMP_ERRORSTATUS_GENERR: SNMP_ERROR_STATUS = 5u32;
|
||||
pub const SNMP_ERRORSTATUS_INCONSISTENTNAME: SNMP_ERROR_STATUS = 18u32;
|
||||
pub const SNMP_ERRORSTATUS_INCONSISTENTVALUE: SNMP_ERROR_STATUS = 12u32;
|
||||
pub const SNMP_ERRORSTATUS_NOACCESS: SNMP_ERROR_STATUS = 6u32;
|
||||
pub const SNMP_ERRORSTATUS_NOCREATION: SNMP_ERROR_STATUS = 11u32;
|
||||
pub const SNMP_ERRORSTATUS_NOERROR: SNMP_ERROR_STATUS = 0u32;
|
||||
pub const SNMP_ERRORSTATUS_NOSUCHNAME: SNMP_ERROR_STATUS = 2u32;
|
||||
pub const SNMP_ERRORSTATUS_NOTWRITABLE: SNMP_ERROR_STATUS = 17u32;
|
||||
pub const SNMP_ERRORSTATUS_READONLY: SNMP_ERROR_STATUS = 4u32;
|
||||
pub const SNMP_ERRORSTATUS_RESOURCEUNAVAILABLE: SNMP_ERROR_STATUS = 13u32;
|
||||
pub const SNMP_ERRORSTATUS_TOOBIG: SNMP_ERROR_STATUS = 1u32;
|
||||
pub const SNMP_ERRORSTATUS_UNDOFAILED: SNMP_ERROR_STATUS = 15u32;
|
||||
pub const SNMP_ERRORSTATUS_WRONGENCODING: SNMP_ERROR_STATUS = 9u32;
|
||||
pub const SNMP_ERRORSTATUS_WRONGLENGTH: SNMP_ERROR_STATUS = 8u32;
|
||||
pub const SNMP_ERRORSTATUS_WRONGTYPE: SNMP_ERROR_STATUS = 7u32;
|
||||
pub const SNMP_ERRORSTATUS_WRONGVALUE: SNMP_ERROR_STATUS = 10u32;
|
||||
pub const SNMP_ERROR_AUTHORIZATIONERROR: SNMP_ERROR = 16u32;
|
||||
pub const SNMP_ERROR_BADVALUE: SNMP_ERROR = 3u32;
|
||||
pub const SNMP_ERROR_COMMITFAILED: SNMP_ERROR = 14u32;
|
||||
pub const SNMP_ERROR_GENERR: SNMP_ERROR = 5u32;
|
||||
pub const SNMP_ERROR_INCONSISTENTNAME: SNMP_ERROR = 18u32;
|
||||
pub const SNMP_ERROR_INCONSISTENTVALUE: SNMP_ERROR = 12u32;
|
||||
pub const SNMP_ERROR_NOACCESS: SNMP_ERROR = 6u32;
|
||||
pub const SNMP_ERROR_NOCREATION: SNMP_ERROR = 11u32;
|
||||
pub const SNMP_ERROR_NOERROR: SNMP_ERROR = 0u32;
|
||||
pub const SNMP_ERROR_NOSUCHNAME: SNMP_ERROR = 2u32;
|
||||
pub const SNMP_ERROR_NOTWRITABLE: SNMP_ERROR = 17u32;
|
||||
pub const SNMP_ERROR_READONLY: SNMP_ERROR = 4u32;
|
||||
pub const SNMP_ERROR_RESOURCEUNAVAILABLE: SNMP_ERROR = 13u32;
|
||||
pub const SNMP_ERROR_TOOBIG: SNMP_ERROR = 1u32;
|
||||
pub const SNMP_ERROR_UNDOFAILED: SNMP_ERROR = 15u32;
|
||||
pub const SNMP_ERROR_WRONGENCODING: SNMP_ERROR = 9u32;
|
||||
pub const SNMP_ERROR_WRONGLENGTH: SNMP_ERROR = 8u32;
|
||||
pub const SNMP_ERROR_WRONGTYPE: SNMP_ERROR = 7u32;
|
||||
pub const SNMP_ERROR_WRONGVALUE: SNMP_ERROR = 10u32;
|
||||
pub const SNMP_EXTENSION_GET: SNMP_EXTENSION_REQUEST_TYPE = 160u32;
|
||||
pub const SNMP_EXTENSION_GET_NEXT: SNMP_EXTENSION_REQUEST_TYPE = 161u32;
|
||||
pub const SNMP_EXTENSION_SET_CLEANUP: SNMP_EXTENSION_REQUEST_TYPE = 226u32;
|
||||
pub const SNMP_EXTENSION_SET_COMMIT: SNMP_EXTENSION_REQUEST_TYPE = 163u32;
|
||||
pub const SNMP_EXTENSION_SET_TEST: SNMP_EXTENSION_REQUEST_TYPE = 224u32;
|
||||
pub const SNMP_EXTENSION_SET_UNDO: SNMP_EXTENSION_REQUEST_TYPE = 225u32;
|
||||
pub const SNMP_GENERICTRAP_AUTHFAILURE: SNMP_GENERICTRAP = 4u32;
|
||||
pub const SNMP_GENERICTRAP_COLDSTART: SNMP_GENERICTRAP = 0u32;
|
||||
pub const SNMP_GENERICTRAP_EGPNEIGHLOSS: SNMP_GENERICTRAP = 5u32;
|
||||
pub const SNMP_GENERICTRAP_ENTERSPECIFIC: SNMP_GENERICTRAP = 6u32;
|
||||
pub const SNMP_GENERICTRAP_LINKDOWN: SNMP_GENERICTRAP = 2u32;
|
||||
pub const SNMP_GENERICTRAP_LINKUP: SNMP_GENERICTRAP = 3u32;
|
||||
pub const SNMP_GENERICTRAP_WARMSTART: SNMP_GENERICTRAP = 1u32;
|
||||
pub const SNMP_LOG_ERROR: SNMP_LOG = 2i32;
|
||||
pub const SNMP_LOG_FATAL: SNMP_LOG = 1i32;
|
||||
pub const SNMP_LOG_SILENT: SNMP_LOG = 0i32;
|
||||
pub const SNMP_LOG_TRACE: SNMP_LOG = 4i32;
|
||||
pub const SNMP_LOG_VERBOSE: SNMP_LOG = 5i32;
|
||||
pub const SNMP_LOG_WARNING: SNMP_LOG = 3i32;
|
||||
pub const SNMP_MAX_OID_LEN: u32 = 128u32;
|
||||
pub const SNMP_MEM_ALLOC_ERROR: u32 = 1u32;
|
||||
pub const SNMP_MGMTAPI_AGAIN: u32 = 45u32;
|
||||
pub const SNMP_MGMTAPI_INVALID_BUFFER: u32 = 48u32;
|
||||
pub const SNMP_MGMTAPI_INVALID_CTL: u32 = 46u32;
|
||||
pub const SNMP_MGMTAPI_INVALID_SESSION: u32 = 47u32;
|
||||
pub const SNMP_MGMTAPI_NOTRAPS: u32 = 44u32;
|
||||
pub const SNMP_MGMTAPI_SELECT_FDERRORS: u32 = 41u32;
|
||||
pub const SNMP_MGMTAPI_TIMEOUT: u32 = 40u32;
|
||||
pub const SNMP_MGMTAPI_TRAP_DUPINIT: u32 = 43u32;
|
||||
pub const SNMP_MGMTAPI_TRAP_ERRORS: u32 = 42u32;
|
||||
pub const SNMP_OUTPUT_TO_CONSOLE: SNMP_OUTPUT_LOG_TYPE = 1u32;
|
||||
pub const SNMP_OUTPUT_TO_DEBUGGER: SNMP_OUTPUT_LOG_TYPE = 8u32;
|
||||
pub const SNMP_OUTPUT_TO_EVENTLOG: u32 = 4u32;
|
||||
pub const SNMP_OUTPUT_TO_LOGFILE: SNMP_OUTPUT_LOG_TYPE = 2u32;
|
||||
pub const SNMP_PDUAPI_INVALID_ES: u32 = 21u32;
|
||||
pub const SNMP_PDUAPI_INVALID_GT: u32 = 22u32;
|
||||
pub const SNMP_PDUAPI_UNRECOGNIZED_PDU: u32 = 20u32;
|
||||
pub const SNMP_PDU_GET: SNMP_PDU_TYPE = 160u32;
|
||||
pub const SNMP_PDU_GETBULK: SNMP_PDU_TYPE = 165u32;
|
||||
pub const SNMP_PDU_GETNEXT: SNMP_PDU_TYPE = 161u32;
|
||||
pub const SNMP_PDU_RESPONSE: SNMP_PDU_TYPE = 162u32;
|
||||
pub const SNMP_PDU_SET: SNMP_PDU_TYPE = 163u32;
|
||||
pub const SNMP_PDU_TRAP: SNMP_PDU_TYPE = 167u32;
|
||||
pub const SNMP_TRAP_AUTHFAIL: u32 = 4u32;
|
||||
pub const SNMP_TRAP_COLDSTART: u32 = 0u32;
|
||||
pub const SNMP_TRAP_EGPNEIGHBORLOSS: u32 = 5u32;
|
||||
pub const SNMP_TRAP_ENTERPRISESPECIFIC: u32 = 6u32;
|
||||
pub const SNMP_TRAP_LINKDOWN: u32 = 2u32;
|
||||
pub const SNMP_TRAP_LINKUP: u32 = 3u32;
|
||||
pub const SNMP_TRAP_WARMSTART: u32 = 1u32;
|
||||
pub type SNMP_API_TRANSLATE_MODE = u32;
|
||||
pub type SNMP_ERROR = u32;
|
||||
pub type SNMP_ERROR_STATUS = u32;
|
||||
pub type SNMP_EXTENSION_REQUEST_TYPE = u32;
|
||||
pub type SNMP_GENERICTRAP = u32;
|
||||
pub type SNMP_LOG = i32;
|
||||
pub type SNMP_OUTPUT_LOG_TYPE = u32;
|
||||
pub type SNMP_PDU_TYPE = u32;
|
||||
pub type SNMP_STATUS = u32;
|
||||
#[repr(C, packed(4))]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub struct AsnAny {
|
||||
pub asnType: u8,
|
||||
pub asnValue: AsnAny_0,
|
||||
}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::marker::Copy for AsnAny {}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::clone::Clone for AsnAny {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C, packed(4))]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub union AsnAny_0 {
|
||||
pub number: i32,
|
||||
pub unsigned32: u32,
|
||||
pub counter64: u64,
|
||||
pub string: AsnOctetString,
|
||||
pub bits: AsnOctetString,
|
||||
pub object: AsnObjectIdentifier,
|
||||
pub sequence: AsnOctetString,
|
||||
pub address: AsnOctetString,
|
||||
pub counter: u32,
|
||||
pub gauge: u32,
|
||||
pub ticks: u32,
|
||||
pub arbitrary: AsnOctetString,
|
||||
}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::marker::Copy for AsnAny_0 {}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::clone::Clone for AsnAny_0 {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C, packed(4))]
|
||||
#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
|
||||
pub struct AsnObjectIdentifier {
|
||||
pub idLength: u32,
|
||||
pub ids: *mut u32,
|
||||
}
|
||||
#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
|
||||
impl ::core::marker::Copy for AsnObjectIdentifier {}
|
||||
#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
|
||||
impl ::core::clone::Clone for AsnObjectIdentifier {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[cfg(target_arch = "x86")]
|
||||
pub struct AsnObjectIdentifier {
|
||||
pub idLength: u32,
|
||||
pub ids: *mut u32,
|
||||
}
|
||||
#[cfg(target_arch = "x86")]
|
||||
impl ::core::marker::Copy for AsnObjectIdentifier {}
|
||||
#[cfg(target_arch = "x86")]
|
||||
impl ::core::clone::Clone for AsnObjectIdentifier {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C, packed(4))]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub struct AsnOctetString {
|
||||
pub stream: *mut u8,
|
||||
pub length: u32,
|
||||
pub dynamic: super::super::Foundation::BOOL,
|
||||
}
|
||||
#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::marker::Copy for AsnOctetString {}
|
||||
#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::clone::Clone for AsnOctetString {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(target_arch = "x86")]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub struct AsnOctetString {
|
||||
pub stream: *mut u8,
|
||||
pub length: u32,
|
||||
pub dynamic: super::super::Foundation::BOOL,
|
||||
}
|
||||
#[cfg(target_arch = "x86")]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::marker::Copy for AsnOctetString {}
|
||||
#[cfg(target_arch = "x86")]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::clone::Clone for AsnOctetString {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C, packed(4))]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub struct SnmpVarBind {
|
||||
pub name: AsnObjectIdentifier,
|
||||
pub value: AsnAny,
|
||||
}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::marker::Copy for SnmpVarBind {}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::clone::Clone for SnmpVarBind {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C, packed(4))]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub struct SnmpVarBindList {
|
||||
pub list: *mut SnmpVarBind,
|
||||
pub len: u32,
|
||||
}
|
||||
#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::marker::Copy for SnmpVarBindList {}
|
||||
#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::clone::Clone for SnmpVarBindList {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(target_arch = "x86")]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub struct SnmpVarBindList {
|
||||
pub list: *mut SnmpVarBind,
|
||||
pub len: u32,
|
||||
}
|
||||
#[cfg(target_arch = "x86")]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::marker::Copy for SnmpVarBindList {}
|
||||
#[cfg(target_arch = "x86")]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::clone::Clone for SnmpVarBindList {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct smiCNTR64 {
|
||||
pub hipart: u32,
|
||||
pub lopart: u32,
|
||||
}
|
||||
impl ::core::marker::Copy for smiCNTR64 {}
|
||||
impl ::core::clone::Clone for smiCNTR64 {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct smiOCTETS {
|
||||
pub len: u32,
|
||||
pub ptr: *mut u8,
|
||||
}
|
||||
impl ::core::marker::Copy for smiOCTETS {}
|
||||
impl ::core::clone::Clone for smiOCTETS {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct smiOID {
|
||||
pub len: u32,
|
||||
pub ptr: *mut u32,
|
||||
}
|
||||
impl ::core::marker::Copy for smiOID {}
|
||||
impl ::core::clone::Clone for smiOID {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct smiVALUE {
|
||||
pub syntax: u32,
|
||||
pub value: smiVALUE_0,
|
||||
}
|
||||
impl ::core::marker::Copy for smiVALUE {}
|
||||
impl ::core::clone::Clone for smiVALUE {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub union smiVALUE_0 {
|
||||
pub sNumber: i32,
|
||||
pub uNumber: u32,
|
||||
pub hNumber: smiCNTR64,
|
||||
pub string: smiOCTETS,
|
||||
pub oid: smiOID,
|
||||
pub empty: u8,
|
||||
}
|
||||
impl ::core::marker::Copy for smiVALUE_0 {}
|
||||
impl ::core::clone::Clone for smiVALUE_0 {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct smiVENDORINFO {
|
||||
pub vendorName: [u8; 64],
|
||||
pub vendorContact: [u8; 64],
|
||||
pub vendorVersionId: [u8; 32],
|
||||
pub vendorVersionDate: [u8; 32],
|
||||
pub vendorEnterprise: u32,
|
||||
}
|
||||
impl ::core::marker::Copy for smiVENDORINFO {}
|
||||
impl ::core::clone::Clone for smiVENDORINFO {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
pub type PFNSNMPCLEANUPEX = ::core::option::Option<unsafe extern "system" fn() -> u32>;
|
||||
pub type PFNSNMPEXTENSIONCLOSE = ::core::option::Option<unsafe extern "system" fn() -> ()>;
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub type PFNSNMPEXTENSIONINIT = ::core::option::Option<unsafe extern "system" fn(dwuptimereference: u32, phsubagenttrapevent: *mut super::super::Foundation::HANDLE, pfirstsupportedregion: *mut AsnObjectIdentifier) -> super::super::Foundation::BOOL>;
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub type PFNSNMPEXTENSIONINITEX = ::core::option::Option<unsafe extern "system" fn(pnextsupportedregion: *mut AsnObjectIdentifier) -> super::super::Foundation::BOOL>;
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub type PFNSNMPEXTENSIONMONITOR = ::core::option::Option<unsafe extern "system" fn(pagentmgmtdata: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL>;
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub type PFNSNMPEXTENSIONQUERY = ::core::option::Option<unsafe extern "system" fn(bpdutype: u8, pvarbindlist: *mut SnmpVarBindList, perrorstatus: *mut i32, perrorindex: *mut i32) -> super::super::Foundation::BOOL>;
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub type PFNSNMPEXTENSIONQUERYEX = ::core::option::Option<unsafe extern "system" fn(nrequesttype: u32, ntransactionid: u32, pvarbindlist: *mut SnmpVarBindList, pcontextinfo: *mut AsnOctetString, perrorstatus: *mut i32, perrorindex: *mut i32) -> super::super::Foundation::BOOL>;
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub type PFNSNMPEXTENSIONTRAP = ::core::option::Option<unsafe extern "system" fn(penterpriseoid: *mut AsnObjectIdentifier, pgenerictrapid: *mut i32, pspecifictrapid: *mut i32, ptimestamp: *mut u32, pvarbindlist: *mut SnmpVarBindList) -> super::super::Foundation::BOOL>;
|
||||
pub type PFNSNMPSTARTUPEX = ::core::option::Option<unsafe extern "system" fn(param0: *mut u32, param1: *mut u32, param2: *mut u32, param3: *mut u32, param4: *mut u32) -> u32>;
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub type SNMPAPI_CALLBACK = ::core::option::Option<unsafe extern "system" fn(hsession: isize, hwnd: super::super::Foundation::HWND, wmsg: u32, wparam: super::super::Foundation::WPARAM, lparam: super::super::Foundation::LPARAM, lpclientdata: *mut ::core::ffi::c_void) -> u32>;
|
||||
550
third-party/vendor/windows-sys/src/Windows/Win32/NetworkManagement/WNet/mod.rs
vendored
Normal file
550
third-party/vendor/windows-sys/src/Windows/Win32/NetworkManagement/WNet/mod.rs
vendored
Normal file
|
|
@ -0,0 +1,550 @@
|
|||
::windows_targets::link!("mpr.dll" "system" fn MultinetGetConnectionPerformanceA(lpnetresource : *const NETRESOURCEA, lpnetconnectinfostruct : *mut NETCONNECTINFOSTRUCT) -> u32);
|
||||
::windows_targets::link!("mpr.dll" "system" fn MultinetGetConnectionPerformanceW(lpnetresource : *const NETRESOURCEW, lpnetconnectinfostruct : *mut NETCONNECTINFOSTRUCT) -> u32);
|
||||
::windows_targets::link!("davclnt.dll" "system" fn NPAddConnection(lpnetresource : *const NETRESOURCEW, lppassword : ::windows_sys::core::PCWSTR, lpusername : ::windows_sys::core::PCWSTR) -> u32);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("davclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NPAddConnection3(hwndowner : super::super::Foundation:: HWND, lpnetresource : *const NETRESOURCEW, lppassword : ::windows_sys::core::PCWSTR, lpusername : ::windows_sys::core::PCWSTR, dwflags : NET_USE_CONNECT_FLAGS) -> u32);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("ntlanman.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NPAddConnection4(hwndowner : super::super::Foundation:: HWND, lpnetresource : *const NETRESOURCEW, lpauthbuffer : *const ::core::ffi::c_void, cbauthbuffer : u32, dwflags : u32, lpuseoptions : *const u8, cbuseoptions : u32) -> u32);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("davclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NPCancelConnection(lpname : ::windows_sys::core::PCWSTR, fforce : super::super::Foundation:: BOOL) -> u32);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("ntlanman.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NPCancelConnection2(lpname : ::windows_sys::core::PCWSTR, fforce : super::super::Foundation:: BOOL, dwflags : u32) -> u32);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("davclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NPCloseEnum(henum : super::super::Foundation:: HANDLE) -> u32);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("davclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NPEnumResource(henum : super::super::Foundation:: HANDLE, lpccount : *mut u32, lpbuffer : *mut ::core::ffi::c_void, lpbuffersize : *mut u32) -> u32);
|
||||
::windows_targets::link!("davclnt.dll" "system" fn NPFormatNetworkName(lpremotename : ::windows_sys::core::PCWSTR, lpformattedname : ::windows_sys::core::PWSTR, lpnlength : *mut u32, dwflags : NETWORK_NAME_FORMAT_FLAGS, dwavecharperline : u32) -> u32);
|
||||
::windows_targets::link!("davclnt.dll" "system" fn NPGetCaps(ndex : u32) -> u32);
|
||||
::windows_targets::link!("davclnt.dll" "system" fn NPGetConnection(lplocalname : ::windows_sys::core::PCWSTR, lpremotename : ::windows_sys::core::PWSTR, lpnbufferlen : *mut u32) -> u32);
|
||||
::windows_targets::link!("ntlanman.dll" "system" fn NPGetConnection3(lplocalname : ::windows_sys::core::PCWSTR, dwlevel : u32, lpbuffer : *mut ::core::ffi::c_void, lpbuffersize : *mut u32) -> u32);
|
||||
::windows_targets::link!("ntlanman.dll" "system" fn NPGetConnectionPerformance(lpremotename : ::windows_sys::core::PCWSTR, lpnetconnectinfo : *mut NETCONNECTINFOSTRUCT) -> u32);
|
||||
::windows_targets::link!("ntlanman.dll" "system" fn NPGetPersistentUseOptionsForConnection(lpremotepath : ::windows_sys::core::PCWSTR, lpreaduseoptions : *const u8, cbreaduseoptions : u32, lpwriteuseoptions : *mut u8, lpsizewriteuseoptions : *mut u32) -> u32);
|
||||
::windows_targets::link!("davclnt.dll" "system" fn NPGetResourceInformation(lpnetresource : *const NETRESOURCEW, lpbuffer : *mut ::core::ffi::c_void, lpbuffersize : *mut u32, lplpsystem : *mut ::windows_sys::core::PWSTR) -> u32);
|
||||
::windows_targets::link!("davclnt.dll" "system" fn NPGetResourceParent(lpnetresource : *const NETRESOURCEW, lpbuffer : *mut ::core::ffi::c_void, lpbuffersize : *mut u32) -> u32);
|
||||
::windows_targets::link!("davclnt.dll" "system" fn NPGetUniversalName(lplocalpath : ::windows_sys::core::PCWSTR, dwinfolevel : UNC_INFO_LEVEL, lpbuffer : *mut ::core::ffi::c_void, lpbuffersize : *mut u32) -> u32);
|
||||
::windows_targets::link!("davclnt.dll" "system" fn NPGetUser(lpname : ::windows_sys::core::PCWSTR, lpusername : ::windows_sys::core::PWSTR, lpnbufferlen : *mut u32) -> u32);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("davclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NPOpenEnum(dwscope : u32, dwtype : u32, dwusage : u32, lpnetresource : *const NETRESOURCEW, lphenum : *mut super::super::Foundation:: HANDLE) -> u32);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetAddConnection2A(lpnetresource : *const NETRESOURCEA, lppassword : ::windows_sys::core::PCSTR, lpusername : ::windows_sys::core::PCSTR, dwflags : u32) -> super::super::Foundation:: WIN32_ERROR);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetAddConnection2W(lpnetresource : *const NETRESOURCEW, lppassword : ::windows_sys::core::PCWSTR, lpusername : ::windows_sys::core::PCWSTR, dwflags : u32) -> super::super::Foundation:: WIN32_ERROR);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetAddConnection3A(hwndowner : super::super::Foundation:: HWND, lpnetresource : *const NETRESOURCEA, lppassword : ::windows_sys::core::PCSTR, lpusername : ::windows_sys::core::PCSTR, dwflags : u32) -> super::super::Foundation:: WIN32_ERROR);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetAddConnection3W(hwndowner : super::super::Foundation:: HWND, lpnetresource : *const NETRESOURCEW, lppassword : ::windows_sys::core::PCWSTR, lpusername : ::windows_sys::core::PCWSTR, dwflags : u32) -> super::super::Foundation:: WIN32_ERROR);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetAddConnection4A(hwndowner : super::super::Foundation:: HWND, lpnetresource : *const NETRESOURCEA, pauthbuffer : *const ::core::ffi::c_void, cbauthbuffer : u32, dwflags : u32, lpuseoptions : *const u8, cbuseoptions : u32) -> super::super::Foundation:: WIN32_ERROR);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetAddConnection4W(hwndowner : super::super::Foundation:: HWND, lpnetresource : *const NETRESOURCEW, pauthbuffer : *const ::core::ffi::c_void, cbauthbuffer : u32, dwflags : u32, lpuseoptions : *const u8, cbuseoptions : u32) -> super::super::Foundation:: WIN32_ERROR);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetAddConnectionA(lpremotename : ::windows_sys::core::PCSTR, lppassword : ::windows_sys::core::PCSTR, lplocalname : ::windows_sys::core::PCSTR) -> super::super::Foundation:: WIN32_ERROR);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetAddConnectionW(lpremotename : ::windows_sys::core::PCWSTR, lppassword : ::windows_sys::core::PCWSTR, lplocalname : ::windows_sys::core::PCWSTR) -> super::super::Foundation:: WIN32_ERROR);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetCancelConnection2A(lpname : ::windows_sys::core::PCSTR, dwflags : u32, fforce : super::super::Foundation:: BOOL) -> super::super::Foundation:: WIN32_ERROR);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetCancelConnection2W(lpname : ::windows_sys::core::PCWSTR, dwflags : u32, fforce : super::super::Foundation:: BOOL) -> super::super::Foundation:: WIN32_ERROR);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetCancelConnectionA(lpname : ::windows_sys::core::PCSTR, fforce : super::super::Foundation:: BOOL) -> super::super::Foundation:: WIN32_ERROR);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetCancelConnectionW(lpname : ::windows_sys::core::PCWSTR, fforce : super::super::Foundation:: BOOL) -> super::super::Foundation:: WIN32_ERROR);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetCloseEnum(henum : super::super::Foundation:: HANDLE) -> super::super::Foundation:: WIN32_ERROR);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetConnectionDialog(hwnd : super::super::Foundation:: HWND, dwtype : u32) -> super::super::Foundation:: WIN32_ERROR);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetConnectionDialog1A(lpconndlgstruct : *mut CONNECTDLGSTRUCTA) -> super::super::Foundation:: WIN32_ERROR);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetConnectionDialog1W(lpconndlgstruct : *mut CONNECTDLGSTRUCTW) -> super::super::Foundation:: WIN32_ERROR);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetDisconnectDialog(hwnd : super::super::Foundation:: HWND, dwtype : u32) -> super::super::Foundation:: WIN32_ERROR);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetDisconnectDialog1A(lpconndlgstruct : *const DISCDLGSTRUCTA) -> super::super::Foundation:: WIN32_ERROR);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetDisconnectDialog1W(lpconndlgstruct : *const DISCDLGSTRUCTW) -> super::super::Foundation:: WIN32_ERROR);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetEnumResourceA(henum : super::super::Foundation:: HANDLE, lpccount : *mut u32, lpbuffer : *mut ::core::ffi::c_void, lpbuffersize : *mut u32) -> super::super::Foundation:: WIN32_ERROR);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetEnumResourceW(henum : super::super::Foundation:: HANDLE, lpccount : *mut u32, lpbuffer : *mut ::core::ffi::c_void, lpbuffersize : *mut u32) -> super::super::Foundation:: WIN32_ERROR);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetGetConnectionA(lplocalname : ::windows_sys::core::PCSTR, lpremotename : ::windows_sys::core::PSTR, lpnlength : *mut u32) -> super::super::Foundation:: WIN32_ERROR);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetGetConnectionW(lplocalname : ::windows_sys::core::PCWSTR, lpremotename : ::windows_sys::core::PWSTR, lpnlength : *mut u32) -> super::super::Foundation:: WIN32_ERROR);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetGetLastErrorA(lperror : *mut u32, lperrorbuf : ::windows_sys::core::PSTR, nerrorbufsize : u32, lpnamebuf : ::windows_sys::core::PSTR, nnamebufsize : u32) -> super::super::Foundation:: WIN32_ERROR);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetGetLastErrorW(lperror : *mut u32, lperrorbuf : ::windows_sys::core::PWSTR, nerrorbufsize : u32, lpnamebuf : ::windows_sys::core::PWSTR, nnamebufsize : u32) -> super::super::Foundation:: WIN32_ERROR);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetGetNetworkInformationA(lpprovider : ::windows_sys::core::PCSTR, lpnetinfostruct : *mut NETINFOSTRUCT) -> super::super::Foundation:: WIN32_ERROR);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetGetNetworkInformationW(lpprovider : ::windows_sys::core::PCWSTR, lpnetinfostruct : *mut NETINFOSTRUCT) -> super::super::Foundation:: WIN32_ERROR);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetGetProviderNameA(dwnettype : u32, lpprovidername : ::windows_sys::core::PSTR, lpbuffersize : *mut u32) -> super::super::Foundation:: WIN32_ERROR);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetGetProviderNameW(dwnettype : u32, lpprovidername : ::windows_sys::core::PWSTR, lpbuffersize : *mut u32) -> super::super::Foundation:: WIN32_ERROR);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetGetResourceInformationA(lpnetresource : *const NETRESOURCEA, lpbuffer : *mut ::core::ffi::c_void, lpcbbuffer : *mut u32, lplpsystem : *mut ::windows_sys::core::PSTR) -> super::super::Foundation:: WIN32_ERROR);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetGetResourceInformationW(lpnetresource : *const NETRESOURCEW, lpbuffer : *mut ::core::ffi::c_void, lpcbbuffer : *mut u32, lplpsystem : *mut ::windows_sys::core::PWSTR) -> super::super::Foundation:: WIN32_ERROR);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetGetResourceParentA(lpnetresource : *const NETRESOURCEA, lpbuffer : *mut ::core::ffi::c_void, lpcbbuffer : *mut u32) -> super::super::Foundation:: WIN32_ERROR);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetGetResourceParentW(lpnetresource : *const NETRESOURCEW, lpbuffer : *mut ::core::ffi::c_void, lpcbbuffer : *mut u32) -> super::super::Foundation:: WIN32_ERROR);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetGetUniversalNameA(lplocalpath : ::windows_sys::core::PCSTR, dwinfolevel : UNC_INFO_LEVEL, lpbuffer : *mut ::core::ffi::c_void, lpbuffersize : *mut u32) -> super::super::Foundation:: WIN32_ERROR);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetGetUniversalNameW(lplocalpath : ::windows_sys::core::PCWSTR, dwinfolevel : UNC_INFO_LEVEL, lpbuffer : *mut ::core::ffi::c_void, lpbuffersize : *mut u32) -> super::super::Foundation:: WIN32_ERROR);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetGetUserA(lpname : ::windows_sys::core::PCSTR, lpusername : ::windows_sys::core::PSTR, lpnlength : *mut u32) -> super::super::Foundation:: WIN32_ERROR);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetGetUserW(lpname : ::windows_sys::core::PCWSTR, lpusername : ::windows_sys::core::PWSTR, lpnlength : *mut u32) -> super::super::Foundation:: WIN32_ERROR);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetOpenEnumA(dwscope : NET_RESOURCE_SCOPE, dwtype : NET_RESOURCE_TYPE, dwusage : WNET_OPEN_ENUM_USAGE, lpnetresource : *const NETRESOURCEA, lphenum : *mut super::super::Foundation:: HANDLE) -> super::super::Foundation:: WIN32_ERROR);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetOpenEnumW(dwscope : NET_RESOURCE_SCOPE, dwtype : NET_RESOURCE_TYPE, dwusage : WNET_OPEN_ENUM_USAGE, lpnetresource : *const NETRESOURCEW, lphenum : *mut super::super::Foundation:: HANDLE) -> super::super::Foundation:: WIN32_ERROR);
|
||||
::windows_targets::link!("mpr.dll" "system" fn WNetSetLastErrorA(err : u32, lperror : ::windows_sys::core::PCSTR, lpproviders : ::windows_sys::core::PCSTR) -> ());
|
||||
::windows_targets::link!("mpr.dll" "system" fn WNetSetLastErrorW(err : u32, lperror : ::windows_sys::core::PCWSTR, lpproviders : ::windows_sys::core::PCWSTR) -> ());
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetUseConnection4A(hwndowner : super::super::Foundation:: HWND, lpnetresource : *const NETRESOURCEA, pauthbuffer : *const ::core::ffi::c_void, cbauthbuffer : u32, dwflags : u32, lpuseoptions : *const u8, cbuseoptions : u32, lpaccessname : ::windows_sys::core::PSTR, lpbuffersize : *mut u32, lpresult : *mut u32) -> super::super::Foundation:: WIN32_ERROR);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetUseConnection4W(hwndowner : super::super::Foundation:: HWND, lpnetresource : *const NETRESOURCEW, pauthbuffer : *const ::core::ffi::c_void, cbauthbuffer : u32, dwflags : u32, lpuseoptions : *const u8, cbuseoptions : u32, lpaccessname : ::windows_sys::core::PWSTR, lpbuffersize : *mut u32, lpresult : *mut u32) -> super::super::Foundation:: WIN32_ERROR);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetUseConnectionA(hwndowner : super::super::Foundation:: HWND, lpnetresource : *const NETRESOURCEA, lppassword : ::windows_sys::core::PCSTR, lpuserid : ::windows_sys::core::PCSTR, dwflags : NET_USE_CONNECT_FLAGS, lpaccessname : ::windows_sys::core::PSTR, lpbuffersize : *mut u32, lpresult : *mut u32) -> super::super::Foundation:: WIN32_ERROR);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetUseConnectionW(hwndowner : super::super::Foundation:: HWND, lpnetresource : *const NETRESOURCEW, lppassword : ::windows_sys::core::PCWSTR, lpuserid : ::windows_sys::core::PCWSTR, dwflags : NET_USE_CONNECT_FLAGS, lpaccessname : ::windows_sys::core::PWSTR, lpbuffersize : *mut u32, lpresult : *mut u32) -> super::super::Foundation:: WIN32_ERROR);
|
||||
pub const CONNDLG_CONN_POINT: CONNECTDLGSTRUCT_FLAGS = 2u32;
|
||||
pub const CONNDLG_HIDE_BOX: CONNECTDLGSTRUCT_FLAGS = 8u32;
|
||||
pub const CONNDLG_NOT_PERSIST: CONNECTDLGSTRUCT_FLAGS = 32u32;
|
||||
pub const CONNDLG_PERSIST: CONNECTDLGSTRUCT_FLAGS = 16u32;
|
||||
pub const CONNDLG_RO_PATH: CONNECTDLGSTRUCT_FLAGS = 1u32;
|
||||
pub const CONNDLG_USE_MRU: CONNECTDLGSTRUCT_FLAGS = 4u32;
|
||||
pub const CONNECT_CMD_SAVECRED: NET_USE_CONNECT_FLAGS = 4096u32;
|
||||
pub const CONNECT_COMMANDLINE: NET_USE_CONNECT_FLAGS = 2048u32;
|
||||
pub const CONNECT_CRED_RESET: u32 = 8192u32;
|
||||
pub const CONNECT_CURRENT_MEDIA: u32 = 512u32;
|
||||
pub const CONNECT_DEFERRED: NET_USE_CONNECT_FLAGS = 1024u32;
|
||||
pub const CONNECT_GLOBAL_MAPPING: u32 = 262144u32;
|
||||
pub const CONNECT_INTERACTIVE: NET_USE_CONNECT_FLAGS = 8u32;
|
||||
pub const CONNECT_LOCALDRIVE: u32 = 256u32;
|
||||
pub const CONNECT_NEED_DRIVE: u32 = 32u32;
|
||||
pub const CONNECT_PROMPT: NET_USE_CONNECT_FLAGS = 16u32;
|
||||
pub const CONNECT_REDIRECT: NET_USE_CONNECT_FLAGS = 128u32;
|
||||
pub const CONNECT_REFCOUNT: u32 = 64u32;
|
||||
pub const CONNECT_REQUIRE_INTEGRITY: u32 = 16384u32;
|
||||
pub const CONNECT_REQUIRE_PRIVACY: u32 = 32768u32;
|
||||
pub const CONNECT_RESERVED: u32 = 4278190080u32;
|
||||
pub const CONNECT_TEMPORARY: NET_USE_CONNECT_FLAGS = 4u32;
|
||||
pub const CONNECT_UPDATE_PROFILE: NET_USE_CONNECT_FLAGS = 1u32;
|
||||
pub const CONNECT_UPDATE_RECENT: NET_USE_CONNECT_FLAGS = 2u32;
|
||||
pub const CONNECT_WRITE_THROUGH_SEMANTICS: u32 = 65536u32;
|
||||
pub const DISC_NO_FORCE: DISCDLGSTRUCT_FLAGS = 64u32;
|
||||
pub const DISC_UPDATE_PROFILE: DISCDLGSTRUCT_FLAGS = 1u32;
|
||||
pub const NETINFO_DISKRED: NETINFOSTRUCT_CHARACTERISTICS = 4u32;
|
||||
pub const NETINFO_DLL16: NETINFOSTRUCT_CHARACTERISTICS = 1u32;
|
||||
pub const NETINFO_PRINTERRED: NETINFOSTRUCT_CHARACTERISTICS = 8u32;
|
||||
pub const NETPROPERTY_PERSISTENT: u32 = 1u32;
|
||||
pub const NOTIFY_POST: u32 = 2u32;
|
||||
pub const NOTIFY_PRE: u32 = 1u32;
|
||||
pub const REMOTE_NAME_INFO_LEVEL: UNC_INFO_LEVEL = 2u32;
|
||||
pub const RESOURCEDISPLAYTYPE_DIRECTORY: u32 = 9u32;
|
||||
pub const RESOURCEDISPLAYTYPE_NDSCONTAINER: u32 = 11u32;
|
||||
pub const RESOURCEDISPLAYTYPE_NETWORK: u32 = 6u32;
|
||||
pub const RESOURCEDISPLAYTYPE_ROOT: u32 = 7u32;
|
||||
pub const RESOURCEDISPLAYTYPE_SHAREADMIN: u32 = 8u32;
|
||||
pub const RESOURCETYPE_ANY: NET_RESOURCE_TYPE = 0u32;
|
||||
pub const RESOURCETYPE_DISK: NET_RESOURCE_TYPE = 1u32;
|
||||
pub const RESOURCETYPE_PRINT: NET_RESOURCE_TYPE = 2u32;
|
||||
pub const RESOURCETYPE_RESERVED: u32 = 8u32;
|
||||
pub const RESOURCETYPE_UNKNOWN: u32 = 4294967295u32;
|
||||
pub const RESOURCEUSAGE_ALL: WNET_OPEN_ENUM_USAGE = 19u32;
|
||||
pub const RESOURCEUSAGE_ATTACHED: WNET_OPEN_ENUM_USAGE = 16u32;
|
||||
pub const RESOURCEUSAGE_CONNECTABLE: WNET_OPEN_ENUM_USAGE = 1u32;
|
||||
pub const RESOURCEUSAGE_CONTAINER: WNET_OPEN_ENUM_USAGE = 2u32;
|
||||
pub const RESOURCEUSAGE_NOLOCALDEVICE: u32 = 4u32;
|
||||
pub const RESOURCEUSAGE_NONE: WNET_OPEN_ENUM_USAGE = 0u32;
|
||||
pub const RESOURCEUSAGE_RESERVED: u32 = 2147483648u32;
|
||||
pub const RESOURCEUSAGE_SIBLING: u32 = 8u32;
|
||||
pub const RESOURCE_CONNECTED: NET_RESOURCE_SCOPE = 1u32;
|
||||
pub const RESOURCE_CONTEXT: NET_RESOURCE_SCOPE = 5u32;
|
||||
pub const RESOURCE_GLOBALNET: NET_RESOURCE_SCOPE = 2u32;
|
||||
pub const RESOURCE_RECENT: u32 = 4u32;
|
||||
pub const RESOURCE_REMEMBERED: NET_RESOURCE_SCOPE = 3u32;
|
||||
pub const UNIVERSAL_NAME_INFO_LEVEL: UNC_INFO_LEVEL = 1u32;
|
||||
pub const WNCON_DYNAMIC: u32 = 8u32;
|
||||
pub const WNCON_FORNETCARD: u32 = 1u32;
|
||||
pub const WNCON_NOTROUTED: u32 = 2u32;
|
||||
pub const WNCON_SLOWLINK: u32 = 4u32;
|
||||
pub const WNDN_MKDIR: NPDIRECTORY_NOTIFY_OPERATION = 1u32;
|
||||
pub const WNDN_MVDIR: NPDIRECTORY_NOTIFY_OPERATION = 3u32;
|
||||
pub const WNDN_RMDIR: NPDIRECTORY_NOTIFY_OPERATION = 2u32;
|
||||
pub const WNDT_NETWORK: u32 = 1u32;
|
||||
pub const WNDT_NORMAL: u32 = 0u32;
|
||||
pub const WNFMT_ABBREVIATED: NETWORK_NAME_FORMAT_FLAGS = 2u32;
|
||||
pub const WNFMT_CONNECTION: u32 = 32u32;
|
||||
pub const WNFMT_INENUM: u32 = 16u32;
|
||||
pub const WNFMT_MULTILINE: NETWORK_NAME_FORMAT_FLAGS = 1u32;
|
||||
pub const WNGETCON_CONNECTED: u32 = 0u32;
|
||||
pub const WNGETCON_DISCONNECTED: u32 = 1u32;
|
||||
pub const WNNC_ADMIN: u32 = 9u32;
|
||||
pub const WNNC_ADM_DIRECTORYNOTIFY: u32 = 2u32;
|
||||
pub const WNNC_ADM_GETDIRECTORYTYPE: u32 = 1u32;
|
||||
pub const WNNC_CONNECTION: u32 = 6u32;
|
||||
pub const WNNC_CONNECTION_FLAGS: u32 = 13u32;
|
||||
pub const WNNC_CON_ADDCONNECTION: u32 = 1u32;
|
||||
pub const WNNC_CON_ADDCONNECTION3: u32 = 8u32;
|
||||
pub const WNNC_CON_ADDCONNECTION4: u32 = 16u32;
|
||||
pub const WNNC_CON_CANCELCONNECTION: u32 = 2u32;
|
||||
pub const WNNC_CON_CANCELCONNECTION2: u32 = 32u32;
|
||||
pub const WNNC_CON_DEFER: u32 = 128u32;
|
||||
pub const WNNC_CON_GETCONNECTIONS: u32 = 4u32;
|
||||
pub const WNNC_CON_GETPERFORMANCE: u32 = 64u32;
|
||||
pub const WNNC_DIALOG: u32 = 8u32;
|
||||
pub const WNNC_DLG_DEVICEMODE: u32 = 1u32;
|
||||
pub const WNNC_DLG_FORMATNETWORKNAME: u32 = 128u32;
|
||||
pub const WNNC_DLG_GETRESOURCEINFORMATION: u32 = 2048u32;
|
||||
pub const WNNC_DLG_GETRESOURCEPARENT: u32 = 512u32;
|
||||
pub const WNNC_DLG_PERMISSIONEDITOR: u32 = 256u32;
|
||||
pub const WNNC_DLG_PROPERTYDIALOG: u32 = 32u32;
|
||||
pub const WNNC_DLG_SEARCHDIALOG: u32 = 64u32;
|
||||
pub const WNNC_DRIVER_VERSION: u32 = 3u32;
|
||||
pub const WNNC_ENUMERATION: u32 = 11u32;
|
||||
pub const WNNC_ENUM_CONTEXT: u32 = 4u32;
|
||||
pub const WNNC_ENUM_GLOBAL: u32 = 1u32;
|
||||
pub const WNNC_ENUM_LOCAL: u32 = 2u32;
|
||||
pub const WNNC_ENUM_SHAREABLE: u32 = 8u32;
|
||||
pub const WNNC_NET_NONE: u32 = 0u32;
|
||||
pub const WNNC_NET_TYPE: u32 = 2u32;
|
||||
pub const WNNC_SPEC_VERSION: u32 = 1u32;
|
||||
pub const WNNC_SPEC_VERSION51: u32 = 327681u32;
|
||||
pub const WNNC_START: u32 = 12u32;
|
||||
pub const WNNC_USER: u32 = 4u32;
|
||||
pub const WNNC_USR_GETUSER: u32 = 1u32;
|
||||
pub const WNNC_WAIT_FOR_START: u32 = 1u32;
|
||||
pub const WNPERMC_AUDIT: u32 = 2u32;
|
||||
pub const WNPERMC_OWNER: u32 = 4u32;
|
||||
pub const WNPERMC_PERM: u32 = 1u32;
|
||||
pub const WNPERM_DLG_AUDIT: WNPERM_DLG = 1u32;
|
||||
pub const WNPERM_DLG_OWNER: WNPERM_DLG = 2u32;
|
||||
pub const WNPERM_DLG_PERM: WNPERM_DLG = 0u32;
|
||||
pub const WNPS_DIR: NP_PROPERTY_DIALOG_SELECTION = 1u32;
|
||||
pub const WNPS_FILE: NP_PROPERTY_DIALOG_SELECTION = 0u32;
|
||||
pub const WNPS_MULT: NP_PROPERTY_DIALOG_SELECTION = 2u32;
|
||||
pub const WNSRCH_REFRESH_FIRST_LEVEL: u32 = 1u32;
|
||||
pub const WNTYPE_COMM: u32 = 4u32;
|
||||
pub const WNTYPE_DRIVE: u32 = 1u32;
|
||||
pub const WNTYPE_FILE: u32 = 2u32;
|
||||
pub const WNTYPE_PRINTER: u32 = 3u32;
|
||||
pub const WN_CREDENTIAL_CLASS: u32 = 2u32;
|
||||
pub const WN_NETWORK_CLASS: u32 = 1u32;
|
||||
pub const WN_NT_PASSWORD_CHANGED: u32 = 2u32;
|
||||
pub const WN_PRIMARY_AUTHENT_CLASS: u32 = 4u32;
|
||||
pub const WN_SERVICE_CLASS: u32 = 8u32;
|
||||
pub const WN_VALID_LOGON_ACCOUNT: u32 = 1u32;
|
||||
pub type CONNECTDLGSTRUCT_FLAGS = u32;
|
||||
pub type DISCDLGSTRUCT_FLAGS = u32;
|
||||
pub type NETINFOSTRUCT_CHARACTERISTICS = u32;
|
||||
pub type NETWORK_NAME_FORMAT_FLAGS = u32;
|
||||
pub type NET_RESOURCE_SCOPE = u32;
|
||||
pub type NET_RESOURCE_TYPE = u32;
|
||||
pub type NET_USE_CONNECT_FLAGS = u32;
|
||||
pub type NPDIRECTORY_NOTIFY_OPERATION = u32;
|
||||
pub type NP_PROPERTY_DIALOG_SELECTION = u32;
|
||||
pub type UNC_INFO_LEVEL = u32;
|
||||
pub type WNET_OPEN_ENUM_USAGE = u32;
|
||||
pub type WNPERM_DLG = u32;
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub struct CONNECTDLGSTRUCTA {
|
||||
pub cbStructure: u32,
|
||||
pub hwndOwner: super::super::Foundation::HWND,
|
||||
pub lpConnRes: *mut NETRESOURCEA,
|
||||
pub dwFlags: CONNECTDLGSTRUCT_FLAGS,
|
||||
pub dwDevNum: u32,
|
||||
}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::marker::Copy for CONNECTDLGSTRUCTA {}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::clone::Clone for CONNECTDLGSTRUCTA {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub struct CONNECTDLGSTRUCTW {
|
||||
pub cbStructure: u32,
|
||||
pub hwndOwner: super::super::Foundation::HWND,
|
||||
pub lpConnRes: *mut NETRESOURCEW,
|
||||
pub dwFlags: CONNECTDLGSTRUCT_FLAGS,
|
||||
pub dwDevNum: u32,
|
||||
}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::marker::Copy for CONNECTDLGSTRUCTW {}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::clone::Clone for CONNECTDLGSTRUCTW {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub struct DISCDLGSTRUCTA {
|
||||
pub cbStructure: u32,
|
||||
pub hwndOwner: super::super::Foundation::HWND,
|
||||
pub lpLocalName: ::windows_sys::core::PSTR,
|
||||
pub lpRemoteName: ::windows_sys::core::PSTR,
|
||||
pub dwFlags: DISCDLGSTRUCT_FLAGS,
|
||||
}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::marker::Copy for DISCDLGSTRUCTA {}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::clone::Clone for DISCDLGSTRUCTA {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub struct DISCDLGSTRUCTW {
|
||||
pub cbStructure: u32,
|
||||
pub hwndOwner: super::super::Foundation::HWND,
|
||||
pub lpLocalName: ::windows_sys::core::PWSTR,
|
||||
pub lpRemoteName: ::windows_sys::core::PWSTR,
|
||||
pub dwFlags: DISCDLGSTRUCT_FLAGS,
|
||||
}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::marker::Copy for DISCDLGSTRUCTW {}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::clone::Clone for DISCDLGSTRUCTW {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct NETCONNECTINFOSTRUCT {
|
||||
pub cbStructure: u32,
|
||||
pub dwFlags: u32,
|
||||
pub dwSpeed: u32,
|
||||
pub dwDelay: u32,
|
||||
pub dwOptDataSize: u32,
|
||||
}
|
||||
impl ::core::marker::Copy for NETCONNECTINFOSTRUCT {}
|
||||
impl ::core::clone::Clone for NETCONNECTINFOSTRUCT {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub struct NETINFOSTRUCT {
|
||||
pub cbStructure: u32,
|
||||
pub dwProviderVersion: u32,
|
||||
pub dwStatus: super::super::Foundation::WIN32_ERROR,
|
||||
pub dwCharacteristics: NETINFOSTRUCT_CHARACTERISTICS,
|
||||
pub dwHandle: usize,
|
||||
pub wNetType: u16,
|
||||
pub dwPrinters: u32,
|
||||
pub dwDrives: u32,
|
||||
}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::marker::Copy for NETINFOSTRUCT {}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::clone::Clone for NETINFOSTRUCT {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct NETRESOURCEA {
|
||||
pub dwScope: NET_RESOURCE_SCOPE,
|
||||
pub dwType: NET_RESOURCE_TYPE,
|
||||
pub dwDisplayType: u32,
|
||||
pub dwUsage: u32,
|
||||
pub lpLocalName: ::windows_sys::core::PSTR,
|
||||
pub lpRemoteName: ::windows_sys::core::PSTR,
|
||||
pub lpComment: ::windows_sys::core::PSTR,
|
||||
pub lpProvider: ::windows_sys::core::PSTR,
|
||||
}
|
||||
impl ::core::marker::Copy for NETRESOURCEA {}
|
||||
impl ::core::clone::Clone for NETRESOURCEA {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct NETRESOURCEW {
|
||||
pub dwScope: NET_RESOURCE_SCOPE,
|
||||
pub dwType: NET_RESOURCE_TYPE,
|
||||
pub dwDisplayType: u32,
|
||||
pub dwUsage: u32,
|
||||
pub lpLocalName: ::windows_sys::core::PWSTR,
|
||||
pub lpRemoteName: ::windows_sys::core::PWSTR,
|
||||
pub lpComment: ::windows_sys::core::PWSTR,
|
||||
pub lpProvider: ::windows_sys::core::PWSTR,
|
||||
}
|
||||
impl ::core::marker::Copy for NETRESOURCEW {}
|
||||
impl ::core::clone::Clone for NETRESOURCEW {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub struct NOTIFYADD {
|
||||
pub hwndOwner: super::super::Foundation::HWND,
|
||||
pub NetResource: NETRESOURCEA,
|
||||
pub dwAddFlags: NET_USE_CONNECT_FLAGS,
|
||||
}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::marker::Copy for NOTIFYADD {}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::clone::Clone for NOTIFYADD {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub struct NOTIFYCANCEL {
|
||||
pub lpName: ::windows_sys::core::PWSTR,
|
||||
pub lpProvider: ::windows_sys::core::PWSTR,
|
||||
pub dwFlags: u32,
|
||||
pub fForce: super::super::Foundation::BOOL,
|
||||
}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::marker::Copy for NOTIFYCANCEL {}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::clone::Clone for NOTIFYCANCEL {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct NOTIFYINFO {
|
||||
pub dwNotifyStatus: u32,
|
||||
pub dwOperationStatus: u32,
|
||||
pub lpContext: *mut ::core::ffi::c_void,
|
||||
}
|
||||
impl ::core::marker::Copy for NOTIFYINFO {}
|
||||
impl ::core::clone::Clone for NOTIFYINFO {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct REMOTE_NAME_INFOA {
|
||||
pub lpUniversalName: ::windows_sys::core::PSTR,
|
||||
pub lpConnectionName: ::windows_sys::core::PSTR,
|
||||
pub lpRemainingPath: ::windows_sys::core::PSTR,
|
||||
}
|
||||
impl ::core::marker::Copy for REMOTE_NAME_INFOA {}
|
||||
impl ::core::clone::Clone for REMOTE_NAME_INFOA {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct REMOTE_NAME_INFOW {
|
||||
pub lpUniversalName: ::windows_sys::core::PWSTR,
|
||||
pub lpConnectionName: ::windows_sys::core::PWSTR,
|
||||
pub lpRemainingPath: ::windows_sys::core::PWSTR,
|
||||
}
|
||||
impl ::core::marker::Copy for REMOTE_NAME_INFOW {}
|
||||
impl ::core::clone::Clone for REMOTE_NAME_INFOW {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct UNIVERSAL_NAME_INFOA {
|
||||
pub lpUniversalName: ::windows_sys::core::PSTR,
|
||||
}
|
||||
impl ::core::marker::Copy for UNIVERSAL_NAME_INFOA {}
|
||||
impl ::core::clone::Clone for UNIVERSAL_NAME_INFOA {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct UNIVERSAL_NAME_INFOW {
|
||||
pub lpUniversalName: ::windows_sys::core::PWSTR,
|
||||
}
|
||||
impl ::core::marker::Copy for UNIVERSAL_NAME_INFOW {}
|
||||
impl ::core::clone::Clone for UNIVERSAL_NAME_INFOW {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub type PF_AddConnectNotify = ::core::option::Option<unsafe extern "system" fn(lpnotifyinfo: *mut NOTIFYINFO, lpaddinfo: *const NOTIFYADD) -> u32>;
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub type PF_CancelConnectNotify = ::core::option::Option<unsafe extern "system" fn(lpnotifyinfo: *mut NOTIFYINFO, lpcancelinfo: *const NOTIFYCANCEL) -> u32>;
|
||||
pub type PF_NPAddConnection = ::core::option::Option<unsafe extern "system" fn(lpnetresource: *const NETRESOURCEW, lppassword: ::windows_sys::core::PCWSTR, lpusername: ::windows_sys::core::PCWSTR) -> u32>;
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub type PF_NPAddConnection3 = ::core::option::Option<unsafe extern "system" fn(hwndowner: super::super::Foundation::HWND, lpnetresource: *const NETRESOURCEW, lppassword: ::windows_sys::core::PCWSTR, lpusername: ::windows_sys::core::PCWSTR, dwflags: u32) -> u32>;
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub type PF_NPAddConnection4 = ::core::option::Option<unsafe extern "system" fn(hwndowner: super::super::Foundation::HWND, lpnetresource: *const NETRESOURCEW, lpauthbuffer: *const ::core::ffi::c_void, cbauthbuffer: u32, dwflags: u32, lpuseoptions: *const u8, cbuseoptions: u32) -> u32>;
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub type PF_NPCancelConnection = ::core::option::Option<unsafe extern "system" fn(lpname: ::windows_sys::core::PCWSTR, fforce: super::super::Foundation::BOOL) -> u32>;
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub type PF_NPCancelConnection2 = ::core::option::Option<unsafe extern "system" fn(lpname: ::windows_sys::core::PCWSTR, fforce: super::super::Foundation::BOOL, dwflags: u32) -> u32>;
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub type PF_NPCloseEnum = ::core::option::Option<unsafe extern "system" fn(henum: super::super::Foundation::HANDLE) -> u32>;
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub type PF_NPDeviceMode = ::core::option::Option<unsafe extern "system" fn(hparent: super::super::Foundation::HWND) -> u32>;
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub type PF_NPDirectoryNotify = ::core::option::Option<unsafe extern "system" fn(hwnd: super::super::Foundation::HWND, lpdir: ::windows_sys::core::PCWSTR, dwoper: u32) -> u32>;
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub type PF_NPEnumResource = ::core::option::Option<unsafe extern "system" fn(henum: super::super::Foundation::HANDLE, lpccount: *mut u32, lpbuffer: *mut ::core::ffi::c_void, lpbuffersize: *mut u32) -> u32>;
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub type PF_NPFMXEditPerm = ::core::option::Option<unsafe extern "system" fn(lpdrivename: ::windows_sys::core::PCWSTR, hwndfmx: super::super::Foundation::HWND, ndialogtype: u32) -> u32>;
|
||||
pub type PF_NPFMXGetPermCaps = ::core::option::Option<unsafe extern "system" fn(lpdrivename: ::windows_sys::core::PCWSTR) -> u32>;
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub type PF_NPFMXGetPermHelp = ::core::option::Option<unsafe extern "system" fn(lpdrivename: ::windows_sys::core::PCWSTR, ndialogtype: u32, fdirectory: super::super::Foundation::BOOL, lpfilenamebuffer: *mut ::core::ffi::c_void, lpbuffersize: *mut u32, lpnhelpcontext: *mut u32) -> u32>;
|
||||
pub type PF_NPFormatNetworkName = ::core::option::Option<unsafe extern "system" fn(lpremotename: ::windows_sys::core::PCWSTR, lpformattedname: ::windows_sys::core::PWSTR, lpnlength: *mut u32, dwflags: u32, dwavecharperline: u32) -> u32>;
|
||||
pub type PF_NPGetCaps = ::core::option::Option<unsafe extern "system" fn(ndex: u32) -> u32>;
|
||||
pub type PF_NPGetConnection = ::core::option::Option<unsafe extern "system" fn(lplocalname: ::windows_sys::core::PCWSTR, lpremotename: ::windows_sys::core::PWSTR, lpnbufferlen: *mut u32) -> u32>;
|
||||
pub type PF_NPGetConnection3 = ::core::option::Option<unsafe extern "system" fn(lplocalname: ::windows_sys::core::PCWSTR, dwlevel: u32, lpbuffer: *mut ::core::ffi::c_void, lpbuffersize: *mut u32) -> u32>;
|
||||
pub type PF_NPGetConnectionPerformance = ::core::option::Option<unsafe extern "system" fn(lpremotename: ::windows_sys::core::PCWSTR, lpnetconnectinfo: *mut NETCONNECTINFOSTRUCT) -> u32>;
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub type PF_NPGetDirectoryType = ::core::option::Option<unsafe extern "system" fn(lpname: ::windows_sys::core::PCWSTR, lptype: *const i32, bflushcache: super::super::Foundation::BOOL) -> u32>;
|
||||
pub type PF_NPGetPersistentUseOptionsForConnection = ::core::option::Option<unsafe extern "system" fn(lpremotepath: ::windows_sys::core::PCWSTR, lpreaduseoptions: *const u8, cbreaduseoptions: u32, lpwriteuseoptions: *mut u8, lpsizewriteuseoptions: *mut u32) -> u32>;
|
||||
pub type PF_NPGetPropertyText = ::core::option::Option<unsafe extern "system" fn(ibutton: u32, npropsel: u32, lpname: ::windows_sys::core::PCWSTR, lpbuttonname: ::windows_sys::core::PWSTR, nbuttonnamelen: u32, ntype: u32) -> u32>;
|
||||
pub type PF_NPGetResourceInformation = ::core::option::Option<unsafe extern "system" fn(lpnetresource: *const NETRESOURCEW, lpbuffer: *mut ::core::ffi::c_void, lpbuffersize: *mut u32, lplpsystem: *mut ::windows_sys::core::PWSTR) -> u32>;
|
||||
pub type PF_NPGetResourceParent = ::core::option::Option<unsafe extern "system" fn(lpnetresource: *const NETRESOURCEW, lpbuffer: *mut ::core::ffi::c_void, lpbuffersize: *mut u32) -> u32>;
|
||||
pub type PF_NPGetUniversalName = ::core::option::Option<unsafe extern "system" fn(lplocalpath: ::windows_sys::core::PCWSTR, dwinfolevel: u32, lpbuffer: *mut ::core::ffi::c_void, lpnbuffersize: *mut u32) -> u32>;
|
||||
pub type PF_NPGetUser = ::core::option::Option<unsafe extern "system" fn(lpname: ::windows_sys::core::PCWSTR, lpusername: ::windows_sys::core::PWSTR, lpnbufferlen: *mut u32) -> u32>;
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub type PF_NPLogonNotify = ::core::option::Option<unsafe extern "system" fn(lplogonid: *const super::super::Foundation::LUID, lpauthentinfotype: ::windows_sys::core::PCWSTR, lpauthentinfo: *const ::core::ffi::c_void, lppreviousauthentinfotype: ::windows_sys::core::PCWSTR, lppreviousauthentinfo: *const ::core::ffi::c_void, lpstationname: ::windows_sys::core::PCWSTR, stationhandle: *const ::core::ffi::c_void, lplogonscript: *mut ::windows_sys::core::PWSTR) -> u32>;
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub type PF_NPOpenEnum = ::core::option::Option<unsafe extern "system" fn(dwscope: u32, dwtype: u32, dwusage: u32, lpnetresource: *const NETRESOURCEW, lphenum: *mut super::super::Foundation::HANDLE) -> u32>;
|
||||
pub type PF_NPPasswordChangeNotify = ::core::option::Option<unsafe extern "system" fn(lpauthentinfotype: ::windows_sys::core::PCWSTR, lpauthentinfo: *const ::core::ffi::c_void, lppreviousauthentinfotype: ::windows_sys::core::PCWSTR, lppreviousauthentinfo: *const ::core::ffi::c_void, lpstationname: ::windows_sys::core::PCWSTR, stationhandle: *const ::core::ffi::c_void, dwchangeinfo: u32) -> u32>;
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub type PF_NPPropertyDialog = ::core::option::Option<unsafe extern "system" fn(hwndparent: super::super::Foundation::HWND, ibuttondlg: u32, npropsel: u32, lpfilename: ::windows_sys::core::PCWSTR, ntype: u32) -> u32>;
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub type PF_NPSearchDialog = ::core::option::Option<unsafe extern "system" fn(hwndparent: super::super::Foundation::HWND, lpnetresource: *const NETRESOURCEW, lpbuffer: *mut ::core::ffi::c_void, cbbuffer: u32, lpnflags: *mut u32) -> u32>;
|
||||
74
third-party/vendor/windows-sys/src/Windows/Win32/NetworkManagement/WebDav/mod.rs
vendored
Normal file
74
third-party/vendor/windows-sys/src/Windows/Win32/NetworkManagement/WebDav/mod.rs
vendored
Normal file
|
|
@ -0,0 +1,74 @@
|
|||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("netapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DavAddConnection(connectionhandle : *mut super::super::Foundation:: HANDLE, remotename : ::windows_sys::core::PCWSTR, username : ::windows_sys::core::PCWSTR, password : ::windows_sys::core::PCWSTR, clientcert : *const u8, certsize : u32) -> u32);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("davclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DavCancelConnectionsToServer(lpname : ::windows_sys::core::PCWSTR, fforce : super::super::Foundation:: BOOL) -> u32);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("netapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DavDeleteConnection(connectionhandle : super::super::Foundation:: HANDLE) -> u32);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("netapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DavFlushFile(hfile : super::super::Foundation:: HANDLE) -> u32);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("netapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DavGetExtendedError(hfile : super::super::Foundation:: HANDLE, exterror : *mut u32, exterrorstring : ::windows_sys::core::PWSTR, cchsize : *mut u32) -> u32);
|
||||
::windows_targets::link!("netapi32.dll" "system" fn DavGetHTTPFromUNCPath(uncpath : ::windows_sys::core::PCWSTR, url : ::windows_sys::core::PWSTR, lpsize : *mut u32) -> u32);
|
||||
::windows_targets::link!("davclnt.dll" "system" fn DavGetTheLockOwnerOfTheFile(filename : ::windows_sys::core::PCWSTR, lockownername : ::windows_sys::core::PWSTR, lockownernamelengthinbytes : *mut u32) -> u32);
|
||||
::windows_targets::link!("netapi32.dll" "system" fn DavGetUNCFromHTTPPath(url : ::windows_sys::core::PCWSTR, uncpath : ::windows_sys::core::PWSTR, lpsize : *mut u32) -> u32);
|
||||
::windows_targets::link!("davclnt.dll" "system" fn DavInvalidateCache(urlname : ::windows_sys::core::PCWSTR) -> u32);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("davclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DavRegisterAuthCallback(callback : PFNDAVAUTHCALLBACK, version : u32) -> u32);
|
||||
::windows_targets::link!("davclnt.dll" "system" fn DavUnregisterAuthCallback(hcallback : u32) -> ());
|
||||
pub const CancelRequest: AUTHNEXTSTEP = 2i32;
|
||||
pub const DAV_AUTHN_SCHEME_BASIC: u32 = 1u32;
|
||||
pub const DAV_AUTHN_SCHEME_CERT: u32 = 65536u32;
|
||||
pub const DAV_AUTHN_SCHEME_DIGEST: u32 = 8u32;
|
||||
pub const DAV_AUTHN_SCHEME_FBA: u32 = 1048576u32;
|
||||
pub const DAV_AUTHN_SCHEME_NEGOTIATE: u32 = 16u32;
|
||||
pub const DAV_AUTHN_SCHEME_NTLM: u32 = 2u32;
|
||||
pub const DAV_AUTHN_SCHEME_PASSPORT: u32 = 4u32;
|
||||
pub const DefaultBehavior: AUTHNEXTSTEP = 0i32;
|
||||
pub const RetryRequest: AUTHNEXTSTEP = 1i32;
|
||||
pub type AUTHNEXTSTEP = i32;
|
||||
#[repr(C)]
|
||||
pub struct DAV_CALLBACK_AUTH_BLOB {
|
||||
pub pBuffer: *mut ::core::ffi::c_void,
|
||||
pub ulSize: u32,
|
||||
pub ulType: u32,
|
||||
}
|
||||
impl ::core::marker::Copy for DAV_CALLBACK_AUTH_BLOB {}
|
||||
impl ::core::clone::Clone for DAV_CALLBACK_AUTH_BLOB {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct DAV_CALLBACK_AUTH_UNP {
|
||||
pub pszUserName: ::windows_sys::core::PWSTR,
|
||||
pub ulUserNameLength: u32,
|
||||
pub pszPassword: ::windows_sys::core::PWSTR,
|
||||
pub ulPasswordLength: u32,
|
||||
}
|
||||
impl ::core::marker::Copy for DAV_CALLBACK_AUTH_UNP {}
|
||||
impl ::core::clone::Clone for DAV_CALLBACK_AUTH_UNP {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub struct DAV_CALLBACK_CRED {
|
||||
pub AuthBlob: DAV_CALLBACK_AUTH_BLOB,
|
||||
pub UNPBlob: DAV_CALLBACK_AUTH_UNP,
|
||||
pub bAuthBlobValid: super::super::Foundation::BOOL,
|
||||
pub bSave: super::super::Foundation::BOOL,
|
||||
}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::marker::Copy for DAV_CALLBACK_CRED {}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::clone::Clone for DAV_CALLBACK_CRED {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub type PFNDAVAUTHCALLBACK = ::core::option::Option<unsafe extern "system" fn(lpwzservername: ::windows_sys::core::PCWSTR, lpwzremotename: ::windows_sys::core::PCWSTR, dwauthscheme: u32, dwflags: u32, pcallbackcred: *mut DAV_CALLBACK_CRED, nextstep: *mut AUTHNEXTSTEP, pfreecred: *mut PFNDAVAUTHCALLBACK_FREECRED) -> u32>;
|
||||
pub type PFNDAVAUTHCALLBACK_FREECRED = ::core::option::Option<unsafe extern "system" fn(pbuffer: *const ::core::ffi::c_void) -> u32>;
|
||||
6327
third-party/vendor/windows-sys/src/Windows/Win32/NetworkManagement/WiFi/mod.rs
vendored
Normal file
6327
third-party/vendor/windows-sys/src/Windows/Win32/NetworkManagement/WiFi/mod.rs
vendored
Normal file
File diff suppressed because it is too large
Load diff
194
third-party/vendor/windows-sys/src/Windows/Win32/NetworkManagement/WindowsConnectionManager/mod.rs
vendored
Normal file
194
third-party/vendor/windows-sys/src/Windows/Win32/NetworkManagement/WindowsConnectionManager/mod.rs
vendored
Normal file
|
|
@ -0,0 +1,194 @@
|
|||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("ondemandconnroutehelper.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FreeInterfaceContextTable(interfacecontexttable : *const NET_INTERFACE_CONTEXT_TABLE) -> ());
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("ondemandconnroutehelper.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetInterfaceContextTableForHostName(hostname : ::windows_sys::core::PCWSTR, proxyname : ::windows_sys::core::PCWSTR, flags : u32, connectionprofilefilterrawdata : *const u8, connectionprofilefilterrawdatasize : u32, interfacecontexttable : *mut *mut NET_INTERFACE_CONTEXT_TABLE) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("ondemandconnroutehelper.dll" "system" fn OnDemandGetRoutingHint(destinationhostname : ::windows_sys::core::PCWSTR, interfaceindex : *mut u32) -> ::windows_sys::core::HRESULT);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("ondemandconnroutehelper.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn OnDemandRegisterNotification(callback : ONDEMAND_NOTIFICATION_CALLBACK, callbackcontext : *const ::core::ffi::c_void, registrationhandle : *mut super::super::Foundation:: HANDLE) -> ::windows_sys::core::HRESULT);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("ondemandconnroutehelper.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn OnDemandUnRegisterNotification(registrationhandle : super::super::Foundation:: HANDLE) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("wcmapi.dll" "system" fn WcmFreeMemory(pmemory : *mut ::core::ffi::c_void) -> ());
|
||||
::windows_targets::link!("wcmapi.dll" "system" fn WcmGetProfileList(preserved : *const ::core::ffi::c_void, ppprofilelist : *mut *mut WCM_PROFILE_INFO_LIST) -> u32);
|
||||
::windows_targets::link!("wcmapi.dll" "system" fn WcmQueryProperty(pinterface : *const ::windows_sys::core::GUID, strprofilename : ::windows_sys::core::PCWSTR, property : WCM_PROPERTY, preserved : *const ::core::ffi::c_void, pdwdatasize : *mut u32, ppdata : *mut *mut u8) -> u32);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("wcmapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WcmSetProfileList(pprofilelist : *const WCM_PROFILE_INFO_LIST, dwposition : u32, fignoreunknownprofiles : super::super::Foundation:: BOOL, preserved : *const ::core::ffi::c_void) -> u32);
|
||||
::windows_targets::link!("wcmapi.dll" "system" fn WcmSetProperty(pinterface : *const ::windows_sys::core::GUID, strprofilename : ::windows_sys::core::PCWSTR, property : WCM_PROPERTY, preserved : *const ::core::ffi::c_void, dwdatasize : u32, pbdata : *const u8) -> u32);
|
||||
pub const NET_INTERFACE_FLAG_CONNECT_IF_NEEDED: u32 = 1u32;
|
||||
pub const NET_INTERFACE_FLAG_NONE: u32 = 0u32;
|
||||
pub const WCM_API_VERSION: u32 = 1u32;
|
||||
pub const WCM_API_VERSION_1_0: u32 = 1u32;
|
||||
pub const WCM_CONNECTION_COST_APPROACHINGDATALIMIT: WCM_CONNECTION_COST = 524288i32;
|
||||
pub const WCM_CONNECTION_COST_CONGESTED: WCM_CONNECTION_COST = 131072i32;
|
||||
pub const WCM_CONNECTION_COST_FIXED: WCM_CONNECTION_COST = 2i32;
|
||||
pub const WCM_CONNECTION_COST_OVERDATALIMIT: WCM_CONNECTION_COST = 65536i32;
|
||||
pub const WCM_CONNECTION_COST_ROAMING: WCM_CONNECTION_COST = 262144i32;
|
||||
pub const WCM_CONNECTION_COST_SOURCE_DEFAULT: WCM_CONNECTION_COST_SOURCE = 0i32;
|
||||
pub const WCM_CONNECTION_COST_SOURCE_GP: WCM_CONNECTION_COST_SOURCE = 1i32;
|
||||
pub const WCM_CONNECTION_COST_SOURCE_OPERATOR: WCM_CONNECTION_COST_SOURCE = 3i32;
|
||||
pub const WCM_CONNECTION_COST_SOURCE_USER: WCM_CONNECTION_COST_SOURCE = 2i32;
|
||||
pub const WCM_CONNECTION_COST_UNKNOWN: WCM_CONNECTION_COST = 0i32;
|
||||
pub const WCM_CONNECTION_COST_UNRESTRICTED: WCM_CONNECTION_COST = 1i32;
|
||||
pub const WCM_CONNECTION_COST_VARIABLE: WCM_CONNECTION_COST = 4i32;
|
||||
pub const WCM_MAX_PROFILE_NAME: u32 = 256u32;
|
||||
pub const WCM_UNKNOWN_DATAPLAN_STATUS: u32 = 4294967295u32;
|
||||
pub const wcm_global_property_domain_policy: WCM_PROPERTY = 0i32;
|
||||
pub const wcm_global_property_minimize_policy: WCM_PROPERTY = 1i32;
|
||||
pub const wcm_global_property_powermanagement_policy: WCM_PROPERTY = 3i32;
|
||||
pub const wcm_global_property_roaming_policy: WCM_PROPERTY = 2i32;
|
||||
pub const wcm_intf_property_connection_cost: WCM_PROPERTY = 4i32;
|
||||
pub const wcm_intf_property_dataplan_status: WCM_PROPERTY = 5i32;
|
||||
pub const wcm_intf_property_hotspot_profile: WCM_PROPERTY = 6i32;
|
||||
pub const wcm_media_ethernet: WCM_MEDIA_TYPE = 1i32;
|
||||
pub const wcm_media_invalid: WCM_MEDIA_TYPE = 4i32;
|
||||
pub const wcm_media_max: WCM_MEDIA_TYPE = 5i32;
|
||||
pub const wcm_media_mbn: WCM_MEDIA_TYPE = 3i32;
|
||||
pub const wcm_media_unknown: WCM_MEDIA_TYPE = 0i32;
|
||||
pub const wcm_media_wlan: WCM_MEDIA_TYPE = 2i32;
|
||||
pub type WCM_CONNECTION_COST = i32;
|
||||
pub type WCM_CONNECTION_COST_SOURCE = i32;
|
||||
pub type WCM_MEDIA_TYPE = i32;
|
||||
pub type WCM_PROPERTY = i32;
|
||||
#[repr(C)]
|
||||
pub struct NET_INTERFACE_CONTEXT {
|
||||
pub InterfaceIndex: u32,
|
||||
pub ConfigurationName: ::windows_sys::core::PWSTR,
|
||||
}
|
||||
impl ::core::marker::Copy for NET_INTERFACE_CONTEXT {}
|
||||
impl ::core::clone::Clone for NET_INTERFACE_CONTEXT {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub struct NET_INTERFACE_CONTEXT_TABLE {
|
||||
pub InterfaceContextHandle: super::super::Foundation::HANDLE,
|
||||
pub NumberOfEntries: u32,
|
||||
pub InterfaceContextArray: *mut NET_INTERFACE_CONTEXT,
|
||||
}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::marker::Copy for NET_INTERFACE_CONTEXT_TABLE {}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::clone::Clone for NET_INTERFACE_CONTEXT_TABLE {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub struct WCM_BILLING_CYCLE_INFO {
|
||||
pub StartDate: super::super::Foundation::FILETIME,
|
||||
pub Duration: WCM_TIME_INTERVAL,
|
||||
pub Reset: super::super::Foundation::BOOL,
|
||||
}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::marker::Copy for WCM_BILLING_CYCLE_INFO {}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::clone::Clone for WCM_BILLING_CYCLE_INFO {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct WCM_CONNECTION_COST_DATA {
|
||||
pub ConnectionCost: u32,
|
||||
pub CostSource: WCM_CONNECTION_COST_SOURCE,
|
||||
}
|
||||
impl ::core::marker::Copy for WCM_CONNECTION_COST_DATA {}
|
||||
impl ::core::clone::Clone for WCM_CONNECTION_COST_DATA {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub struct WCM_DATAPLAN_STATUS {
|
||||
pub UsageData: WCM_USAGE_DATA,
|
||||
pub DataLimitInMegabytes: u32,
|
||||
pub InboundBandwidthInKbps: u32,
|
||||
pub OutboundBandwidthInKbps: u32,
|
||||
pub BillingCycle: WCM_BILLING_CYCLE_INFO,
|
||||
pub MaxTransferSizeInMegabytes: u32,
|
||||
pub Reserved: u32,
|
||||
}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::marker::Copy for WCM_DATAPLAN_STATUS {}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::clone::Clone for WCM_DATAPLAN_STATUS {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub struct WCM_POLICY_VALUE {
|
||||
pub fValue: super::super::Foundation::BOOL,
|
||||
pub fIsGroupPolicy: super::super::Foundation::BOOL,
|
||||
}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::marker::Copy for WCM_POLICY_VALUE {}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::clone::Clone for WCM_POLICY_VALUE {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct WCM_PROFILE_INFO {
|
||||
pub strProfileName: [u16; 256],
|
||||
pub AdapterGUID: ::windows_sys::core::GUID,
|
||||
pub Media: WCM_MEDIA_TYPE,
|
||||
}
|
||||
impl ::core::marker::Copy for WCM_PROFILE_INFO {}
|
||||
impl ::core::clone::Clone for WCM_PROFILE_INFO {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct WCM_PROFILE_INFO_LIST {
|
||||
pub dwNumberOfItems: u32,
|
||||
pub ProfileInfo: [WCM_PROFILE_INFO; 1],
|
||||
}
|
||||
impl ::core::marker::Copy for WCM_PROFILE_INFO_LIST {}
|
||||
impl ::core::clone::Clone for WCM_PROFILE_INFO_LIST {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct WCM_TIME_INTERVAL {
|
||||
pub wYear: u16,
|
||||
pub wMonth: u16,
|
||||
pub wDay: u16,
|
||||
pub wHour: u16,
|
||||
pub wMinute: u16,
|
||||
pub wSecond: u16,
|
||||
pub wMilliseconds: u16,
|
||||
}
|
||||
impl ::core::marker::Copy for WCM_TIME_INTERVAL {}
|
||||
impl ::core::clone::Clone for WCM_TIME_INTERVAL {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub struct WCM_USAGE_DATA {
|
||||
pub UsageInMegabytes: u32,
|
||||
pub LastSyncTime: super::super::Foundation::FILETIME,
|
||||
}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::marker::Copy for WCM_USAGE_DATA {}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::clone::Clone for WCM_USAGE_DATA {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
pub type ONDEMAND_NOTIFICATION_CALLBACK = ::core::option::Option<unsafe extern "system" fn(param0: *const ::core::ffi::c_void) -> ()>;
|
||||
5625
third-party/vendor/windows-sys/src/Windows/Win32/NetworkManagement/WindowsFilteringPlatform/mod.rs
vendored
Normal file
5625
third-party/vendor/windows-sys/src/Windows/Win32/NetworkManagement/WindowsFilteringPlatform/mod.rs
vendored
Normal file
File diff suppressed because it is too large
Load diff
385
third-party/vendor/windows-sys/src/Windows/Win32/NetworkManagement/WindowsFirewall/mod.rs
vendored
Normal file
385
third-party/vendor/windows-sys/src/Windows/Win32/NetworkManagement/WindowsFirewall/mod.rs
vendored
Normal file
|
|
@ -0,0 +1,385 @@
|
|||
::windows_targets::link!("netshell.dll" "system" fn NcFreeNetconProperties(pprops : *mut NETCON_PROPERTIES) -> ());
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("netshell.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NcIsValidConnectionName(pszwname : ::windows_sys::core::PCWSTR) -> super::super::Foundation:: BOOL);
|
||||
::windows_targets::link!("api-ms-win-net-isolation-l1-1-0.dll" "system" fn NetworkIsolationDiagnoseConnectFailureAndGetInfo(wszservername : ::windows_sys::core::PCWSTR, netisoerror : *mut NETISO_ERROR_TYPE) -> u32);
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))]
|
||||
::windows_targets::link!("api-ms-win-net-isolation-l1-1-0.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn NetworkIsolationEnumAppContainers(flags : u32, pdwnumpublicappcs : *mut u32, pppublicappcs : *mut *mut INET_FIREWALL_APP_CONTAINER) -> u32);
|
||||
#[cfg(feature = "Win32_System_Ole")]
|
||||
::windows_targets::link!("firewallapi.dll" "system" #[doc = "Required features: `\"Win32_System_Ole\"`"] fn NetworkIsolationEnumerateAppContainerRules(newenum : *mut super::super::System::Ole:: IEnumVARIANT) -> ::windows_sys::core::HRESULT);
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))]
|
||||
::windows_targets::link!("api-ms-win-net-isolation-l1-1-0.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn NetworkIsolationFreeAppContainers(ppublicappcs : *const INET_FIREWALL_APP_CONTAINER) -> u32);
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))]
|
||||
::windows_targets::link!("api-ms-win-net-isolation-l1-1-0.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn NetworkIsolationGetAppContainerConfig(pdwnumpublicappcs : *mut u32, appcontainersids : *mut *mut super::super::Security:: SID_AND_ATTRIBUTES) -> u32);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("firewallapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NetworkIsolationGetEnterpriseIdAsync(wszservername : ::windows_sys::core::PCWSTR, dwflags : u32, context : *const ::core::ffi::c_void, callback : PNETISO_EDP_ID_CALLBACK_FN, hoperation : *mut super::super::Foundation:: HANDLE) -> u32);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("firewallapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NetworkIsolationGetEnterpriseIdClose(hoperation : super::super::Foundation:: HANDLE, bwaitforoperation : super::super::Foundation:: BOOL) -> u32);
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))]
|
||||
::windows_targets::link!("api-ms-win-net-isolation-l1-1-0.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn NetworkIsolationRegisterForAppContainerChanges(flags : u32, callback : PAC_CHANGES_CALLBACK_FN, context : *const ::core::ffi::c_void, registrationobject : *mut super::super::Foundation:: HANDLE) -> u32);
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))]
|
||||
::windows_targets::link!("api-ms-win-net-isolation-l1-1-0.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn NetworkIsolationSetAppContainerConfig(dwnumpublicappcs : u32, appcontainersids : *const super::super::Security:: SID_AND_ATTRIBUTES) -> u32);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("api-ms-win-net-isolation-l1-1-0.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NetworkIsolationSetupAppContainerBinaries(applicationcontainersid : super::super::Foundation:: PSID, packagefullname : ::windows_sys::core::PCWSTR, packagefolder : ::windows_sys::core::PCWSTR, displayname : ::windows_sys::core::PCWSTR, bbinariesfullycomputed : super::super::Foundation:: BOOL, binaries : *const ::windows_sys::core::PCWSTR, binariescount : u32) -> ::windows_sys::core::HRESULT);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("api-ms-win-net-isolation-l1-1-0.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NetworkIsolationUnregisterForAppContainerChanges(registrationobject : super::super::Foundation:: HANDLE) -> u32);
|
||||
pub type IDynamicPortMapping = *mut ::core::ffi::c_void;
|
||||
pub type IDynamicPortMappingCollection = *mut ::core::ffi::c_void;
|
||||
pub type IEnumNetConnection = *mut ::core::ffi::c_void;
|
||||
pub type IEnumNetSharingEveryConnection = *mut ::core::ffi::c_void;
|
||||
pub type IEnumNetSharingPortMapping = *mut ::core::ffi::c_void;
|
||||
pub type IEnumNetSharingPrivateConnection = *mut ::core::ffi::c_void;
|
||||
pub type IEnumNetSharingPublicConnection = *mut ::core::ffi::c_void;
|
||||
pub type INATEventManager = *mut ::core::ffi::c_void;
|
||||
pub type INATExternalIPAddressCallback = *mut ::core::ffi::c_void;
|
||||
pub type INATNumberOfEntriesCallback = *mut ::core::ffi::c_void;
|
||||
pub type INetConnection = *mut ::core::ffi::c_void;
|
||||
pub type INetConnectionConnectUi = *mut ::core::ffi::c_void;
|
||||
pub type INetConnectionManager = *mut ::core::ffi::c_void;
|
||||
pub type INetConnectionProps = *mut ::core::ffi::c_void;
|
||||
pub type INetFwAuthorizedApplication = *mut ::core::ffi::c_void;
|
||||
pub type INetFwAuthorizedApplications = *mut ::core::ffi::c_void;
|
||||
pub type INetFwIcmpSettings = *mut ::core::ffi::c_void;
|
||||
pub type INetFwMgr = *mut ::core::ffi::c_void;
|
||||
pub type INetFwOpenPort = *mut ::core::ffi::c_void;
|
||||
pub type INetFwOpenPorts = *mut ::core::ffi::c_void;
|
||||
pub type INetFwPolicy = *mut ::core::ffi::c_void;
|
||||
pub type INetFwPolicy2 = *mut ::core::ffi::c_void;
|
||||
pub type INetFwProduct = *mut ::core::ffi::c_void;
|
||||
pub type INetFwProducts = *mut ::core::ffi::c_void;
|
||||
pub type INetFwProfile = *mut ::core::ffi::c_void;
|
||||
pub type INetFwRemoteAdminSettings = *mut ::core::ffi::c_void;
|
||||
pub type INetFwRule = *mut ::core::ffi::c_void;
|
||||
pub type INetFwRule2 = *mut ::core::ffi::c_void;
|
||||
pub type INetFwRule3 = *mut ::core::ffi::c_void;
|
||||
pub type INetFwRules = *mut ::core::ffi::c_void;
|
||||
pub type INetFwService = *mut ::core::ffi::c_void;
|
||||
pub type INetFwServiceRestriction = *mut ::core::ffi::c_void;
|
||||
pub type INetFwServices = *mut ::core::ffi::c_void;
|
||||
pub type INetSharingConfiguration = *mut ::core::ffi::c_void;
|
||||
pub type INetSharingEveryConnectionCollection = *mut ::core::ffi::c_void;
|
||||
pub type INetSharingManager = *mut ::core::ffi::c_void;
|
||||
pub type INetSharingPortMapping = *mut ::core::ffi::c_void;
|
||||
pub type INetSharingPortMappingCollection = *mut ::core::ffi::c_void;
|
||||
pub type INetSharingPortMappingProps = *mut ::core::ffi::c_void;
|
||||
pub type INetSharingPrivateConnectionCollection = *mut ::core::ffi::c_void;
|
||||
pub type INetSharingPublicConnectionCollection = *mut ::core::ffi::c_void;
|
||||
pub type IStaticPortMapping = *mut ::core::ffi::c_void;
|
||||
pub type IStaticPortMappingCollection = *mut ::core::ffi::c_void;
|
||||
pub type IUPnPNAT = *mut ::core::ffi::c_void;
|
||||
pub const FW_DYNAMIC_KEYWORD_ADDRESS_ENUM_FLAGS_ALL: FW_DYNAMIC_KEYWORD_ADDRESS_ENUM_FLAGS = 3i32;
|
||||
pub const FW_DYNAMIC_KEYWORD_ADDRESS_ENUM_FLAGS_AUTO_RESOLVE: FW_DYNAMIC_KEYWORD_ADDRESS_ENUM_FLAGS = 1i32;
|
||||
pub const FW_DYNAMIC_KEYWORD_ADDRESS_ENUM_FLAGS_NON_AUTO_RESOLVE: FW_DYNAMIC_KEYWORD_ADDRESS_ENUM_FLAGS = 2i32;
|
||||
pub const FW_DYNAMIC_KEYWORD_ADDRESS_FLAGS_AUTO_RESOLVE: FW_DYNAMIC_KEYWORD_ADDRESS_FLAGS = 1i32;
|
||||
pub const FW_DYNAMIC_KEYWORD_ORIGIN_INVALID: FW_DYNAMIC_KEYWORD_ORIGIN_TYPE = 0i32;
|
||||
pub const FW_DYNAMIC_KEYWORD_ORIGIN_LOCAL: FW_DYNAMIC_KEYWORD_ORIGIN_TYPE = 1i32;
|
||||
pub const FW_DYNAMIC_KEYWORD_ORIGIN_MDM: FW_DYNAMIC_KEYWORD_ORIGIN_TYPE = 2i32;
|
||||
pub const ICSSC_DEFAULT: SHARINGCONNECTION_ENUM_FLAGS = 0i32;
|
||||
pub const ICSSC_ENABLED: SHARINGCONNECTION_ENUM_FLAGS = 1i32;
|
||||
pub const ICSSHARINGTYPE_PRIVATE: SHARINGCONNECTIONTYPE = 1i32;
|
||||
pub const ICSSHARINGTYPE_PUBLIC: SHARINGCONNECTIONTYPE = 0i32;
|
||||
pub const ICSTT_IPADDRESS: ICS_TARGETTYPE = 1i32;
|
||||
pub const ICSTT_NAME: ICS_TARGETTYPE = 0i32;
|
||||
pub const INET_FIREWALL_AC_BINARY: INET_FIREWALL_AC_CREATION_TYPE = 2i32;
|
||||
pub const INET_FIREWALL_AC_CHANGE_CREATE: INET_FIREWALL_AC_CHANGE_TYPE = 1i32;
|
||||
pub const INET_FIREWALL_AC_CHANGE_DELETE: INET_FIREWALL_AC_CHANGE_TYPE = 2i32;
|
||||
pub const INET_FIREWALL_AC_CHANGE_INVALID: INET_FIREWALL_AC_CHANGE_TYPE = 0i32;
|
||||
pub const INET_FIREWALL_AC_CHANGE_MAX: INET_FIREWALL_AC_CHANGE_TYPE = 3i32;
|
||||
pub const INET_FIREWALL_AC_MAX: INET_FIREWALL_AC_CREATION_TYPE = 4i32;
|
||||
pub const INET_FIREWALL_AC_NONE: INET_FIREWALL_AC_CREATION_TYPE = 0i32;
|
||||
pub const INET_FIREWALL_AC_PACKAGE_ID_ONLY: INET_FIREWALL_AC_CREATION_TYPE = 1i32;
|
||||
pub const NCCF_ALLOW_DUPLICATION: NETCON_CHARACTERISTIC_FLAGS = 2i32;
|
||||
pub const NCCF_ALLOW_REMOVAL: NETCON_CHARACTERISTIC_FLAGS = 4i32;
|
||||
pub const NCCF_ALLOW_RENAME: NETCON_CHARACTERISTIC_FLAGS = 8i32;
|
||||
pub const NCCF_ALL_USERS: NETCON_CHARACTERISTIC_FLAGS = 1i32;
|
||||
pub const NCCF_BLUETOOTH_MASK: NETCON_CHARACTERISTIC_FLAGS = 983040i32;
|
||||
pub const NCCF_BRANDED: NETCON_CHARACTERISTIC_FLAGS = 128i32;
|
||||
pub const NCCF_BRIDGED: NETCON_CHARACTERISTIC_FLAGS = 512i32;
|
||||
pub const NCCF_DEFAULT: NETCON_CHARACTERISTIC_FLAGS = 2048i32;
|
||||
pub const NCCF_FIREWALLED: NETCON_CHARACTERISTIC_FLAGS = 1024i32;
|
||||
pub const NCCF_HOMENET_CAPABLE: NETCON_CHARACTERISTIC_FLAGS = 4096i32;
|
||||
pub const NCCF_HOSTED_NETWORK: NETCON_CHARACTERISTIC_FLAGS = 65536i32;
|
||||
pub const NCCF_INCOMING_ONLY: NETCON_CHARACTERISTIC_FLAGS = 32i32;
|
||||
pub const NCCF_LAN_MASK: NETCON_CHARACTERISTIC_FLAGS = 15728640i32;
|
||||
pub const NCCF_NONE: NETCON_CHARACTERISTIC_FLAGS = 0i32;
|
||||
pub const NCCF_OUTGOING_ONLY: NETCON_CHARACTERISTIC_FLAGS = 64i32;
|
||||
pub const NCCF_QUARANTINED: NETCON_CHARACTERISTIC_FLAGS = 16384i32;
|
||||
pub const NCCF_RESERVED: NETCON_CHARACTERISTIC_FLAGS = 32768i32;
|
||||
pub const NCCF_SHARED: NETCON_CHARACTERISTIC_FLAGS = 256i32;
|
||||
pub const NCCF_SHARED_PRIVATE: NETCON_CHARACTERISTIC_FLAGS = 8192i32;
|
||||
pub const NCCF_VIRTUAL_STATION: NETCON_CHARACTERISTIC_FLAGS = 131072i32;
|
||||
pub const NCCF_WIFI_DIRECT: NETCON_CHARACTERISTIC_FLAGS = 262144i32;
|
||||
pub const NCME_DEFAULT: NETCONMGR_ENUM_FLAGS = 0i32;
|
||||
pub const NCME_HIDDEN: NETCONMGR_ENUM_FLAGS = 1i32;
|
||||
pub const NCM_BRIDGE: NETCON_MEDIATYPE = 7i32;
|
||||
pub const NCM_DIRECT: NETCON_MEDIATYPE = 1i32;
|
||||
pub const NCM_ISDN: NETCON_MEDIATYPE = 2i32;
|
||||
pub const NCM_LAN: NETCON_MEDIATYPE = 3i32;
|
||||
pub const NCM_NONE: NETCON_MEDIATYPE = 0i32;
|
||||
pub const NCM_PHONE: NETCON_MEDIATYPE = 4i32;
|
||||
pub const NCM_PPPOE: NETCON_MEDIATYPE = 6i32;
|
||||
pub const NCM_SHAREDACCESSHOST_LAN: NETCON_MEDIATYPE = 8i32;
|
||||
pub const NCM_SHAREDACCESSHOST_RAS: NETCON_MEDIATYPE = 9i32;
|
||||
pub const NCM_TUNNEL: NETCON_MEDIATYPE = 5i32;
|
||||
pub const NCS_ACTION_REQUIRED: NETCON_STATUS = 13i32;
|
||||
pub const NCS_ACTION_REQUIRED_RETRY: NETCON_STATUS = 14i32;
|
||||
pub const NCS_AUTHENTICATING: NETCON_STATUS = 8i32;
|
||||
pub const NCS_AUTHENTICATION_FAILED: NETCON_STATUS = 10i32;
|
||||
pub const NCS_AUTHENTICATION_SUCCEEDED: NETCON_STATUS = 9i32;
|
||||
pub const NCS_CONNECTED: NETCON_STATUS = 2i32;
|
||||
pub const NCS_CONNECTING: NETCON_STATUS = 1i32;
|
||||
pub const NCS_CONNECT_FAILED: NETCON_STATUS = 15i32;
|
||||
pub const NCS_CREDENTIALS_REQUIRED: NETCON_STATUS = 12i32;
|
||||
pub const NCS_DISCONNECTED: NETCON_STATUS = 0i32;
|
||||
pub const NCS_DISCONNECTING: NETCON_STATUS = 3i32;
|
||||
pub const NCS_HARDWARE_DISABLED: NETCON_STATUS = 5i32;
|
||||
pub const NCS_HARDWARE_MALFUNCTION: NETCON_STATUS = 6i32;
|
||||
pub const NCS_HARDWARE_NOT_PRESENT: NETCON_STATUS = 4i32;
|
||||
pub const NCS_INVALID_ADDRESS: NETCON_STATUS = 11i32;
|
||||
pub const NCS_MEDIA_DISCONNECTED: NETCON_STATUS = 7i32;
|
||||
pub const NCT_BRIDGE: NETCON_TYPE = 6i32;
|
||||
pub const NCT_DIRECT_CONNECT: NETCON_TYPE = 0i32;
|
||||
pub const NCT_INBOUND: NETCON_TYPE = 1i32;
|
||||
pub const NCT_INTERNET: NETCON_TYPE = 2i32;
|
||||
pub const NCT_LAN: NETCON_TYPE = 3i32;
|
||||
pub const NCT_PHONE: NETCON_TYPE = 4i32;
|
||||
pub const NCT_TUNNEL: NETCON_TYPE = 5i32;
|
||||
pub const NCUC_DEFAULT: NETCONUI_CONNECT_FLAGS = 0i32;
|
||||
pub const NCUC_ENABLE_DISABLE: NETCONUI_CONNECT_FLAGS = 2i32;
|
||||
pub const NCUC_NO_UI: NETCONUI_CONNECT_FLAGS = 1i32;
|
||||
pub const NETCON_MAX_NAME_LEN: u32 = 256u32;
|
||||
pub const NETISO_ERROR_TYPE_INTERNET_CLIENT: NETISO_ERROR_TYPE = 2i32;
|
||||
pub const NETISO_ERROR_TYPE_INTERNET_CLIENT_SERVER: NETISO_ERROR_TYPE = 3i32;
|
||||
pub const NETISO_ERROR_TYPE_MAX: NETISO_ERROR_TYPE = 4i32;
|
||||
pub const NETISO_ERROR_TYPE_NONE: NETISO_ERROR_TYPE = 0i32;
|
||||
pub const NETISO_ERROR_TYPE_PRIVATE_NETWORK: NETISO_ERROR_TYPE = 1i32;
|
||||
pub const NETISO_FLAG_FORCE_COMPUTE_BINARIES: NETISO_FLAG = 1i32;
|
||||
pub const NETISO_FLAG_MAX: NETISO_FLAG = 2i32;
|
||||
pub const NETISO_GEID_FOR_NEUTRAL_AWARE: u32 = 2u32;
|
||||
pub const NETISO_GEID_FOR_WDAG: u32 = 1u32;
|
||||
pub const NET_FW_ACTION_ALLOW: NET_FW_ACTION = 1i32;
|
||||
pub const NET_FW_ACTION_BLOCK: NET_FW_ACTION = 0i32;
|
||||
pub const NET_FW_ACTION_MAX: NET_FW_ACTION = 2i32;
|
||||
pub const NET_FW_AUTHENTICATE_AND_ENCRYPT: NET_FW_AUTHENTICATE_TYPE = 4i32;
|
||||
pub const NET_FW_AUTHENTICATE_AND_NEGOTIATE_ENCRYPTION: NET_FW_AUTHENTICATE_TYPE = 3i32;
|
||||
pub const NET_FW_AUTHENTICATE_NONE: NET_FW_AUTHENTICATE_TYPE = 0i32;
|
||||
pub const NET_FW_AUTHENTICATE_NO_ENCAPSULATION: NET_FW_AUTHENTICATE_TYPE = 1i32;
|
||||
pub const NET_FW_AUTHENTICATE_WITH_INTEGRITY: NET_FW_AUTHENTICATE_TYPE = 2i32;
|
||||
pub const NET_FW_EDGE_TRAVERSAL_TYPE_ALLOW: NET_FW_EDGE_TRAVERSAL_TYPE = 1i32;
|
||||
pub const NET_FW_EDGE_TRAVERSAL_TYPE_DEFER_TO_APP: NET_FW_EDGE_TRAVERSAL_TYPE = 2i32;
|
||||
pub const NET_FW_EDGE_TRAVERSAL_TYPE_DEFER_TO_USER: NET_FW_EDGE_TRAVERSAL_TYPE = 3i32;
|
||||
pub const NET_FW_EDGE_TRAVERSAL_TYPE_DENY: NET_FW_EDGE_TRAVERSAL_TYPE = 0i32;
|
||||
pub const NET_FW_IP_PROTOCOL_ANY: NET_FW_IP_PROTOCOL = 256i32;
|
||||
pub const NET_FW_IP_PROTOCOL_TCP: NET_FW_IP_PROTOCOL = 6i32;
|
||||
pub const NET_FW_IP_PROTOCOL_UDP: NET_FW_IP_PROTOCOL = 17i32;
|
||||
pub const NET_FW_IP_VERSION_ANY: NET_FW_IP_VERSION = 2i32;
|
||||
pub const NET_FW_IP_VERSION_MAX: NET_FW_IP_VERSION = 3i32;
|
||||
pub const NET_FW_IP_VERSION_V4: NET_FW_IP_VERSION = 0i32;
|
||||
pub const NET_FW_IP_VERSION_V6: NET_FW_IP_VERSION = 1i32;
|
||||
pub const NET_FW_MODIFY_STATE_GP_OVERRIDE: NET_FW_MODIFY_STATE = 1i32;
|
||||
pub const NET_FW_MODIFY_STATE_INBOUND_BLOCKED: NET_FW_MODIFY_STATE = 2i32;
|
||||
pub const NET_FW_MODIFY_STATE_OK: NET_FW_MODIFY_STATE = 0i32;
|
||||
pub const NET_FW_POLICY_EFFECTIVE: NET_FW_POLICY_TYPE = 2i32;
|
||||
pub const NET_FW_POLICY_GROUP: NET_FW_POLICY_TYPE = 0i32;
|
||||
pub const NET_FW_POLICY_LOCAL: NET_FW_POLICY_TYPE = 1i32;
|
||||
pub const NET_FW_POLICY_TYPE_MAX: NET_FW_POLICY_TYPE = 3i32;
|
||||
pub const NET_FW_PROFILE2_ALL: NET_FW_PROFILE_TYPE2 = 2147483647i32;
|
||||
pub const NET_FW_PROFILE2_DOMAIN: NET_FW_PROFILE_TYPE2 = 1i32;
|
||||
pub const NET_FW_PROFILE2_PRIVATE: NET_FW_PROFILE_TYPE2 = 2i32;
|
||||
pub const NET_FW_PROFILE2_PUBLIC: NET_FW_PROFILE_TYPE2 = 4i32;
|
||||
pub const NET_FW_PROFILE_CURRENT: NET_FW_PROFILE_TYPE = 2i32;
|
||||
pub const NET_FW_PROFILE_DOMAIN: NET_FW_PROFILE_TYPE = 0i32;
|
||||
pub const NET_FW_PROFILE_STANDARD: NET_FW_PROFILE_TYPE = 1i32;
|
||||
pub const NET_FW_PROFILE_TYPE_MAX: NET_FW_PROFILE_TYPE = 3i32;
|
||||
pub const NET_FW_RULE_CATEGORY_BOOT: NET_FW_RULE_CATEGORY = 0i32;
|
||||
pub const NET_FW_RULE_CATEGORY_CONSEC: NET_FW_RULE_CATEGORY = 3i32;
|
||||
pub const NET_FW_RULE_CATEGORY_FIREWALL: NET_FW_RULE_CATEGORY = 2i32;
|
||||
pub const NET_FW_RULE_CATEGORY_MAX: NET_FW_RULE_CATEGORY = 4i32;
|
||||
pub const NET_FW_RULE_CATEGORY_STEALTH: NET_FW_RULE_CATEGORY = 1i32;
|
||||
pub const NET_FW_RULE_DIR_IN: NET_FW_RULE_DIRECTION = 1i32;
|
||||
pub const NET_FW_RULE_DIR_MAX: NET_FW_RULE_DIRECTION = 3i32;
|
||||
pub const NET_FW_RULE_DIR_OUT: NET_FW_RULE_DIRECTION = 2i32;
|
||||
pub const NET_FW_SCOPE_ALL: NET_FW_SCOPE = 0i32;
|
||||
pub const NET_FW_SCOPE_CUSTOM: NET_FW_SCOPE = 2i32;
|
||||
pub const NET_FW_SCOPE_LOCAL_SUBNET: NET_FW_SCOPE = 1i32;
|
||||
pub const NET_FW_SCOPE_MAX: NET_FW_SCOPE = 3i32;
|
||||
pub const NET_FW_SERVICE_FILE_AND_PRINT: NET_FW_SERVICE_TYPE = 0i32;
|
||||
pub const NET_FW_SERVICE_NONE: NET_FW_SERVICE_TYPE = 3i32;
|
||||
pub const NET_FW_SERVICE_REMOTE_DESKTOP: NET_FW_SERVICE_TYPE = 2i32;
|
||||
pub const NET_FW_SERVICE_TYPE_MAX: NET_FW_SERVICE_TYPE = 4i32;
|
||||
pub const NET_FW_SERVICE_UPNP: NET_FW_SERVICE_TYPE = 1i32;
|
||||
pub const NetFwAuthorizedApplication: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xec9846b3_2762_4a6b_a214_6acb603462d2);
|
||||
pub const NetFwMgr: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x304ce942_6e39_40d8_943a_b913c40c9cd4);
|
||||
pub const NetFwOpenPort: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0ca545c6_37ad_4a6c_bf92_9f7610067ef5);
|
||||
pub const NetFwPolicy2: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xe2b3c97f_6ae1_41ac_817a_f6f92166d7dd);
|
||||
pub const NetFwProduct: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9d745ed8_c514_4d1d_bf42_751fed2d5ac7);
|
||||
pub const NetFwProducts: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xcc19079b_8272_4d73_bb70_cdb533527b61);
|
||||
pub const NetFwRule: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x2c5bc43e_3369_4c33_ab0c_be9469677af4);
|
||||
pub const NetSharingManager: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x5c63c1ad_3956_4ff8_8486_40034758315b);
|
||||
pub const S_OBJECT_NO_LONGER_VALID: ::windows_sys::core::HRESULT = 2i32;
|
||||
pub const UPnPNAT: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xae1e00aa_3fd5_403c_8a27_2bbdc30cd0e1);
|
||||
pub type FW_DYNAMIC_KEYWORD_ADDRESS_ENUM_FLAGS = i32;
|
||||
pub type FW_DYNAMIC_KEYWORD_ADDRESS_FLAGS = i32;
|
||||
pub type FW_DYNAMIC_KEYWORD_ORIGIN_TYPE = i32;
|
||||
pub type ICS_TARGETTYPE = i32;
|
||||
pub type INET_FIREWALL_AC_CHANGE_TYPE = i32;
|
||||
pub type INET_FIREWALL_AC_CREATION_TYPE = i32;
|
||||
pub type NETCONMGR_ENUM_FLAGS = i32;
|
||||
pub type NETCONUI_CONNECT_FLAGS = i32;
|
||||
pub type NETCON_CHARACTERISTIC_FLAGS = i32;
|
||||
pub type NETCON_MEDIATYPE = i32;
|
||||
pub type NETCON_STATUS = i32;
|
||||
pub type NETCON_TYPE = i32;
|
||||
pub type NETISO_ERROR_TYPE = i32;
|
||||
pub type NETISO_FLAG = i32;
|
||||
pub type NET_FW_ACTION = i32;
|
||||
pub type NET_FW_AUTHENTICATE_TYPE = i32;
|
||||
pub type NET_FW_EDGE_TRAVERSAL_TYPE = i32;
|
||||
pub type NET_FW_IP_PROTOCOL = i32;
|
||||
pub type NET_FW_IP_VERSION = i32;
|
||||
pub type NET_FW_MODIFY_STATE = i32;
|
||||
pub type NET_FW_POLICY_TYPE = i32;
|
||||
pub type NET_FW_PROFILE_TYPE = i32;
|
||||
pub type NET_FW_PROFILE_TYPE2 = i32;
|
||||
pub type NET_FW_RULE_CATEGORY = i32;
|
||||
pub type NET_FW_RULE_DIRECTION = i32;
|
||||
pub type NET_FW_SCOPE = i32;
|
||||
pub type NET_FW_SERVICE_TYPE = i32;
|
||||
pub type SHARINGCONNECTIONTYPE = i32;
|
||||
pub type SHARINGCONNECTION_ENUM_FLAGS = i32;
|
||||
#[repr(C)]
|
||||
pub struct FW_DYNAMIC_KEYWORD_ADDRESS0 {
|
||||
pub id: ::windows_sys::core::GUID,
|
||||
pub keyword: ::windows_sys::core::PCWSTR,
|
||||
pub flags: u32,
|
||||
pub addresses: ::windows_sys::core::PCWSTR,
|
||||
}
|
||||
impl ::core::marker::Copy for FW_DYNAMIC_KEYWORD_ADDRESS0 {}
|
||||
impl ::core::clone::Clone for FW_DYNAMIC_KEYWORD_ADDRESS0 {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct FW_DYNAMIC_KEYWORD_ADDRESS_DATA0 {
|
||||
pub dynamicKeywordAddress: FW_DYNAMIC_KEYWORD_ADDRESS0,
|
||||
pub next: *mut FW_DYNAMIC_KEYWORD_ADDRESS_DATA0,
|
||||
pub schemaVersion: u16,
|
||||
pub originType: FW_DYNAMIC_KEYWORD_ORIGIN_TYPE,
|
||||
}
|
||||
impl ::core::marker::Copy for FW_DYNAMIC_KEYWORD_ADDRESS_DATA0 {}
|
||||
impl ::core::clone::Clone for FW_DYNAMIC_KEYWORD_ADDRESS_DATA0 {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct INET_FIREWALL_AC_BINARIES {
|
||||
pub count: u32,
|
||||
pub binaries: *mut ::windows_sys::core::PWSTR,
|
||||
}
|
||||
impl ::core::marker::Copy for INET_FIREWALL_AC_BINARIES {}
|
||||
impl ::core::clone::Clone for INET_FIREWALL_AC_BINARIES {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"]
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))]
|
||||
pub struct INET_FIREWALL_AC_CAPABILITIES {
|
||||
pub count: u32,
|
||||
pub capabilities: *mut super::super::Security::SID_AND_ATTRIBUTES,
|
||||
}
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))]
|
||||
impl ::core::marker::Copy for INET_FIREWALL_AC_CAPABILITIES {}
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))]
|
||||
impl ::core::clone::Clone for INET_FIREWALL_AC_CAPABILITIES {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"]
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))]
|
||||
pub struct INET_FIREWALL_AC_CHANGE {
|
||||
pub changeType: INET_FIREWALL_AC_CHANGE_TYPE,
|
||||
pub createType: INET_FIREWALL_AC_CREATION_TYPE,
|
||||
pub appContainerSid: *mut super::super::Security::SID,
|
||||
pub userSid: *mut super::super::Security::SID,
|
||||
pub displayName: ::windows_sys::core::PWSTR,
|
||||
pub Anonymous: INET_FIREWALL_AC_CHANGE_0,
|
||||
}
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))]
|
||||
impl ::core::marker::Copy for INET_FIREWALL_AC_CHANGE {}
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))]
|
||||
impl ::core::clone::Clone for INET_FIREWALL_AC_CHANGE {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"]
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))]
|
||||
pub union INET_FIREWALL_AC_CHANGE_0 {
|
||||
pub capabilities: INET_FIREWALL_AC_CAPABILITIES,
|
||||
pub binaries: INET_FIREWALL_AC_BINARIES,
|
||||
}
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))]
|
||||
impl ::core::marker::Copy for INET_FIREWALL_AC_CHANGE_0 {}
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))]
|
||||
impl ::core::clone::Clone for INET_FIREWALL_AC_CHANGE_0 {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"]
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))]
|
||||
pub struct INET_FIREWALL_APP_CONTAINER {
|
||||
pub appContainerSid: *mut super::super::Security::SID,
|
||||
pub userSid: *mut super::super::Security::SID,
|
||||
pub appContainerName: ::windows_sys::core::PWSTR,
|
||||
pub displayName: ::windows_sys::core::PWSTR,
|
||||
pub description: ::windows_sys::core::PWSTR,
|
||||
pub capabilities: INET_FIREWALL_AC_CAPABILITIES,
|
||||
pub binaries: INET_FIREWALL_AC_BINARIES,
|
||||
pub workingDirectory: ::windows_sys::core::PWSTR,
|
||||
pub packageFullName: ::windows_sys::core::PWSTR,
|
||||
}
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))]
|
||||
impl ::core::marker::Copy for INET_FIREWALL_APP_CONTAINER {}
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))]
|
||||
impl ::core::clone::Clone for INET_FIREWALL_APP_CONTAINER {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct NETCON_PROPERTIES {
|
||||
pub guidId: ::windows_sys::core::GUID,
|
||||
pub pszwName: ::windows_sys::core::PWSTR,
|
||||
pub pszwDeviceName: ::windows_sys::core::PWSTR,
|
||||
pub Status: NETCON_STATUS,
|
||||
pub MediaType: NETCON_MEDIATYPE,
|
||||
pub dwCharacter: u32,
|
||||
pub clsidThisObject: ::windows_sys::core::GUID,
|
||||
pub clsidUiObject: ::windows_sys::core::GUID,
|
||||
}
|
||||
impl ::core::marker::Copy for NETCON_PROPERTIES {}
|
||||
impl ::core::clone::Clone for NETCON_PROPERTIES {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"]
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))]
|
||||
pub type PAC_CHANGES_CALLBACK_FN = ::core::option::Option<unsafe extern "system" fn(context: *const ::core::ffi::c_void, pchange: *const INET_FIREWALL_AC_CHANGE) -> ()>;
|
||||
pub type PFN_FWADDDYNAMICKEYWORDADDRESS0 = ::core::option::Option<unsafe extern "system" fn(dynamickeywordaddress: *const FW_DYNAMIC_KEYWORD_ADDRESS0) -> u32>;
|
||||
pub type PFN_FWDELETEDYNAMICKEYWORDADDRESS0 = ::core::option::Option<unsafe extern "system" fn(dynamickeywordaddressid: ::windows_sys::core::GUID) -> u32>;
|
||||
pub type PFN_FWENUMDYNAMICKEYWORDADDRESSBYID0 = ::core::option::Option<unsafe extern "system" fn(dynamickeywordaddressid: ::windows_sys::core::GUID, dynamickeywordaddressdata: *mut *mut FW_DYNAMIC_KEYWORD_ADDRESS_DATA0) -> u32>;
|
||||
pub type PFN_FWENUMDYNAMICKEYWORDADDRESSESBYTYPE0 = ::core::option::Option<unsafe extern "system" fn(flags: u32, dynamickeywordaddressdata: *mut *mut FW_DYNAMIC_KEYWORD_ADDRESS_DATA0) -> u32>;
|
||||
pub type PFN_FWFREEDYNAMICKEYWORDADDRESSDATA0 = ::core::option::Option<unsafe extern "system" fn(dynamickeywordaddressdata: *const FW_DYNAMIC_KEYWORD_ADDRESS_DATA0) -> u32>;
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub type PFN_FWUPDATEDYNAMICKEYWORDADDRESS0 = ::core::option::Option<unsafe extern "system" fn(dynamickeywordaddressid: ::windows_sys::core::GUID, updatedaddresses: ::windows_sys::core::PCWSTR, append: super::super::Foundation::BOOL) -> u32>;
|
||||
pub type PNETISO_EDP_ID_CALLBACK_FN = ::core::option::Option<unsafe extern "system" fn(context: *mut ::core::ffi::c_void, wszenterpriseid: ::windows_sys::core::PCWSTR, dwerr: u32) -> ()>;
|
||||
|
|
@ -0,0 +1,179 @@
|
|||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("wnvapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WnvOpen() -> super::super::Foundation:: HANDLE);
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))]
|
||||
::windows_targets::link!("wnvapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_IO\"`"] fn WnvRequestNotification(wnvhandle : super::super::Foundation:: HANDLE, notificationparam : *mut WNV_NOTIFICATION_PARAM, overlapped : *mut super::super::System::IO:: OVERLAPPED, bytestransferred : *mut u32) -> u32);
|
||||
pub const WNV_API_MAJOR_VERSION_1: u32 = 1u32;
|
||||
pub const WNV_API_MINOR_VERSION_0: u32 = 0u32;
|
||||
pub const WnvCustomerAddressAdded: WNV_CA_NOTIFICATION_TYPE = 0i32;
|
||||
pub const WnvCustomerAddressDeleted: WNV_CA_NOTIFICATION_TYPE = 1i32;
|
||||
pub const WnvCustomerAddressMax: WNV_CA_NOTIFICATION_TYPE = 3i32;
|
||||
pub const WnvCustomerAddressMoved: WNV_CA_NOTIFICATION_TYPE = 2i32;
|
||||
pub const WnvCustomerAddressType: WNV_OBJECT_TYPE = 1i32;
|
||||
pub const WnvNotificationTypeMax: WNV_NOTIFICATION_TYPE = 3i32;
|
||||
pub const WnvObjectChangeType: WNV_NOTIFICATION_TYPE = 2i32;
|
||||
pub const WnvObjectTypeMax: WNV_OBJECT_TYPE = 2i32;
|
||||
pub const WnvPolicyMismatchType: WNV_NOTIFICATION_TYPE = 0i32;
|
||||
pub const WnvProviderAddressType: WNV_OBJECT_TYPE = 0i32;
|
||||
pub const WnvRedirectType: WNV_NOTIFICATION_TYPE = 1i32;
|
||||
pub type WNV_CA_NOTIFICATION_TYPE = i32;
|
||||
pub type WNV_NOTIFICATION_TYPE = i32;
|
||||
pub type WNV_OBJECT_TYPE = i32;
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Networking_WinSock\"`"]
|
||||
#[cfg(feature = "Win32_Networking_WinSock")]
|
||||
pub struct WNV_CUSTOMER_ADDRESS_CHANGE_PARAM {
|
||||
pub MACAddress: super::super::Networking::WinSock::DL_EUI48,
|
||||
pub CAFamily: super::super::Networking::WinSock::ADDRESS_FAMILY,
|
||||
pub CA: WNV_IP_ADDRESS,
|
||||
pub VirtualSubnetId: u32,
|
||||
pub PAFamily: super::super::Networking::WinSock::ADDRESS_FAMILY,
|
||||
pub PA: WNV_IP_ADDRESS,
|
||||
pub NotificationReason: WNV_CA_NOTIFICATION_TYPE,
|
||||
}
|
||||
#[cfg(feature = "Win32_Networking_WinSock")]
|
||||
impl ::core::marker::Copy for WNV_CUSTOMER_ADDRESS_CHANGE_PARAM {}
|
||||
#[cfg(feature = "Win32_Networking_WinSock")]
|
||||
impl ::core::clone::Clone for WNV_CUSTOMER_ADDRESS_CHANGE_PARAM {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Networking_WinSock\"`"]
|
||||
#[cfg(feature = "Win32_Networking_WinSock")]
|
||||
pub struct WNV_IP_ADDRESS {
|
||||
pub IP: WNV_IP_ADDRESS_0,
|
||||
}
|
||||
#[cfg(feature = "Win32_Networking_WinSock")]
|
||||
impl ::core::marker::Copy for WNV_IP_ADDRESS {}
|
||||
#[cfg(feature = "Win32_Networking_WinSock")]
|
||||
impl ::core::clone::Clone for WNV_IP_ADDRESS {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Networking_WinSock\"`"]
|
||||
#[cfg(feature = "Win32_Networking_WinSock")]
|
||||
pub union WNV_IP_ADDRESS_0 {
|
||||
pub v4: super::super::Networking::WinSock::IN_ADDR,
|
||||
pub v6: super::super::Networking::WinSock::IN6_ADDR,
|
||||
pub Addr: [u8; 16],
|
||||
}
|
||||
#[cfg(feature = "Win32_Networking_WinSock")]
|
||||
impl ::core::marker::Copy for WNV_IP_ADDRESS_0 {}
|
||||
#[cfg(feature = "Win32_Networking_WinSock")]
|
||||
impl ::core::clone::Clone for WNV_IP_ADDRESS_0 {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct WNV_NOTIFICATION_PARAM {
|
||||
pub Header: WNV_OBJECT_HEADER,
|
||||
pub NotificationType: WNV_NOTIFICATION_TYPE,
|
||||
pub PendingNotifications: u32,
|
||||
pub Buffer: *mut u8,
|
||||
}
|
||||
impl ::core::marker::Copy for WNV_NOTIFICATION_PARAM {}
|
||||
impl ::core::clone::Clone for WNV_NOTIFICATION_PARAM {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Networking_WinSock\"`"]
|
||||
#[cfg(feature = "Win32_Networking_WinSock")]
|
||||
pub struct WNV_OBJECT_CHANGE_PARAM {
|
||||
pub ObjectType: WNV_OBJECT_TYPE,
|
||||
pub ObjectParam: WNV_OBJECT_CHANGE_PARAM_0,
|
||||
}
|
||||
#[cfg(feature = "Win32_Networking_WinSock")]
|
||||
impl ::core::marker::Copy for WNV_OBJECT_CHANGE_PARAM {}
|
||||
#[cfg(feature = "Win32_Networking_WinSock")]
|
||||
impl ::core::clone::Clone for WNV_OBJECT_CHANGE_PARAM {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Networking_WinSock\"`"]
|
||||
#[cfg(feature = "Win32_Networking_WinSock")]
|
||||
pub union WNV_OBJECT_CHANGE_PARAM_0 {
|
||||
pub ProviderAddressChange: WNV_PROVIDER_ADDRESS_CHANGE_PARAM,
|
||||
pub CustomerAddressChange: WNV_CUSTOMER_ADDRESS_CHANGE_PARAM,
|
||||
}
|
||||
#[cfg(feature = "Win32_Networking_WinSock")]
|
||||
impl ::core::marker::Copy for WNV_OBJECT_CHANGE_PARAM_0 {}
|
||||
#[cfg(feature = "Win32_Networking_WinSock")]
|
||||
impl ::core::clone::Clone for WNV_OBJECT_CHANGE_PARAM_0 {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct WNV_OBJECT_HEADER {
|
||||
pub MajorVersion: u8,
|
||||
pub MinorVersion: u8,
|
||||
pub Size: u32,
|
||||
}
|
||||
impl ::core::marker::Copy for WNV_OBJECT_HEADER {}
|
||||
impl ::core::clone::Clone for WNV_OBJECT_HEADER {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Networking_WinSock\"`"]
|
||||
#[cfg(feature = "Win32_Networking_WinSock")]
|
||||
pub struct WNV_POLICY_MISMATCH_PARAM {
|
||||
pub CAFamily: super::super::Networking::WinSock::ADDRESS_FAMILY,
|
||||
pub PAFamily: super::super::Networking::WinSock::ADDRESS_FAMILY,
|
||||
pub VirtualSubnetId: u32,
|
||||
pub CA: WNV_IP_ADDRESS,
|
||||
pub PA: WNV_IP_ADDRESS,
|
||||
}
|
||||
#[cfg(feature = "Win32_Networking_WinSock")]
|
||||
impl ::core::marker::Copy for WNV_POLICY_MISMATCH_PARAM {}
|
||||
#[cfg(feature = "Win32_Networking_WinSock")]
|
||||
impl ::core::clone::Clone for WNV_POLICY_MISMATCH_PARAM {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Networking_WinSock\"`"]
|
||||
#[cfg(feature = "Win32_Networking_WinSock")]
|
||||
pub struct WNV_PROVIDER_ADDRESS_CHANGE_PARAM {
|
||||
pub PAFamily: super::super::Networking::WinSock::ADDRESS_FAMILY,
|
||||
pub PA: WNV_IP_ADDRESS,
|
||||
pub AddressState: super::super::Networking::WinSock::NL_DAD_STATE,
|
||||
}
|
||||
#[cfg(feature = "Win32_Networking_WinSock")]
|
||||
impl ::core::marker::Copy for WNV_PROVIDER_ADDRESS_CHANGE_PARAM {}
|
||||
#[cfg(feature = "Win32_Networking_WinSock")]
|
||||
impl ::core::clone::Clone for WNV_PROVIDER_ADDRESS_CHANGE_PARAM {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Networking_WinSock\"`"]
|
||||
#[cfg(feature = "Win32_Networking_WinSock")]
|
||||
pub struct WNV_REDIRECT_PARAM {
|
||||
pub CAFamily: super::super::Networking::WinSock::ADDRESS_FAMILY,
|
||||
pub PAFamily: super::super::Networking::WinSock::ADDRESS_FAMILY,
|
||||
pub NewPAFamily: super::super::Networking::WinSock::ADDRESS_FAMILY,
|
||||
pub VirtualSubnetId: u32,
|
||||
pub CA: WNV_IP_ADDRESS,
|
||||
pub PA: WNV_IP_ADDRESS,
|
||||
pub NewPA: WNV_IP_ADDRESS,
|
||||
}
|
||||
#[cfg(feature = "Win32_Networking_WinSock")]
|
||||
impl ::core::marker::Copy for WNV_REDIRECT_PARAM {}
|
||||
#[cfg(feature = "Win32_Networking_WinSock")]
|
||||
impl ::core::clone::Clone for WNV_REDIRECT_PARAM {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
63
third-party/vendor/windows-sys/src/Windows/Win32/NetworkManagement/mod.rs
vendored
Normal file
63
third-party/vendor/windows-sys/src/Windows/Win32/NetworkManagement/mod.rs
vendored
Normal file
|
|
@ -0,0 +1,63 @@
|
|||
#[cfg(feature = "Win32_NetworkManagement_Dhcp")]
|
||||
#[doc = "Required features: `\"Win32_NetworkManagement_Dhcp\"`"]
|
||||
pub mod Dhcp;
|
||||
#[cfg(feature = "Win32_NetworkManagement_Dns")]
|
||||
#[doc = "Required features: `\"Win32_NetworkManagement_Dns\"`"]
|
||||
pub mod Dns;
|
||||
#[cfg(feature = "Win32_NetworkManagement_InternetConnectionWizard")]
|
||||
#[doc = "Required features: `\"Win32_NetworkManagement_InternetConnectionWizard\"`"]
|
||||
pub mod InternetConnectionWizard;
|
||||
#[cfg(feature = "Win32_NetworkManagement_IpHelper")]
|
||||
#[doc = "Required features: `\"Win32_NetworkManagement_IpHelper\"`"]
|
||||
pub mod IpHelper;
|
||||
#[cfg(feature = "Win32_NetworkManagement_Multicast")]
|
||||
#[doc = "Required features: `\"Win32_NetworkManagement_Multicast\"`"]
|
||||
pub mod Multicast;
|
||||
#[cfg(feature = "Win32_NetworkManagement_Ndis")]
|
||||
#[doc = "Required features: `\"Win32_NetworkManagement_Ndis\"`"]
|
||||
pub mod Ndis;
|
||||
#[cfg(feature = "Win32_NetworkManagement_NetBios")]
|
||||
#[doc = "Required features: `\"Win32_NetworkManagement_NetBios\"`"]
|
||||
pub mod NetBios;
|
||||
#[cfg(feature = "Win32_NetworkManagement_NetManagement")]
|
||||
#[doc = "Required features: `\"Win32_NetworkManagement_NetManagement\"`"]
|
||||
pub mod NetManagement;
|
||||
#[cfg(feature = "Win32_NetworkManagement_NetShell")]
|
||||
#[doc = "Required features: `\"Win32_NetworkManagement_NetShell\"`"]
|
||||
pub mod NetShell;
|
||||
#[cfg(feature = "Win32_NetworkManagement_NetworkDiagnosticsFramework")]
|
||||
#[doc = "Required features: `\"Win32_NetworkManagement_NetworkDiagnosticsFramework\"`"]
|
||||
pub mod NetworkDiagnosticsFramework;
|
||||
#[cfg(feature = "Win32_NetworkManagement_P2P")]
|
||||
#[doc = "Required features: `\"Win32_NetworkManagement_P2P\"`"]
|
||||
pub mod P2P;
|
||||
#[cfg(feature = "Win32_NetworkManagement_QoS")]
|
||||
#[doc = "Required features: `\"Win32_NetworkManagement_QoS\"`"]
|
||||
pub mod QoS;
|
||||
#[cfg(feature = "Win32_NetworkManagement_Rras")]
|
||||
#[doc = "Required features: `\"Win32_NetworkManagement_Rras\"`"]
|
||||
pub mod Rras;
|
||||
#[cfg(feature = "Win32_NetworkManagement_Snmp")]
|
||||
#[doc = "Required features: `\"Win32_NetworkManagement_Snmp\"`"]
|
||||
pub mod Snmp;
|
||||
#[cfg(feature = "Win32_NetworkManagement_WNet")]
|
||||
#[doc = "Required features: `\"Win32_NetworkManagement_WNet\"`"]
|
||||
pub mod WNet;
|
||||
#[cfg(feature = "Win32_NetworkManagement_WebDav")]
|
||||
#[doc = "Required features: `\"Win32_NetworkManagement_WebDav\"`"]
|
||||
pub mod WebDav;
|
||||
#[cfg(feature = "Win32_NetworkManagement_WiFi")]
|
||||
#[doc = "Required features: `\"Win32_NetworkManagement_WiFi\"`"]
|
||||
pub mod WiFi;
|
||||
#[cfg(feature = "Win32_NetworkManagement_WindowsConnectionManager")]
|
||||
#[doc = "Required features: `\"Win32_NetworkManagement_WindowsConnectionManager\"`"]
|
||||
pub mod WindowsConnectionManager;
|
||||
#[cfg(feature = "Win32_NetworkManagement_WindowsFilteringPlatform")]
|
||||
#[doc = "Required features: `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`"]
|
||||
pub mod WindowsFilteringPlatform;
|
||||
#[cfg(feature = "Win32_NetworkManagement_WindowsFirewall")]
|
||||
#[doc = "Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`"]
|
||||
pub mod WindowsFirewall;
|
||||
#[cfg(feature = "Win32_NetworkManagement_WindowsNetworkVirtualization")]
|
||||
#[doc = "Required features: `\"Win32_NetworkManagement_WindowsNetworkVirtualization\"`"]
|
||||
pub mod WindowsNetworkVirtualization;
|
||||
3338
third-party/vendor/windows-sys/src/Windows/Win32/Networking/ActiveDirectory/mod.rs
vendored
Normal file
3338
third-party/vendor/windows-sys/src/Windows/Win32/Networking/ActiveDirectory/mod.rs
vendored
Normal file
File diff suppressed because it is too large
Load diff
5031
third-party/vendor/windows-sys/src/Windows/Win32/Networking/Clustering/mod.rs
vendored
Normal file
5031
third-party/vendor/windows-sys/src/Windows/Win32/Networking/Clustering/mod.rs
vendored
Normal file
File diff suppressed because it is too large
Load diff
1861
third-party/vendor/windows-sys/src/Windows/Win32/Networking/HttpServer/mod.rs
vendored
Normal file
1861
third-party/vendor/windows-sys/src/Windows/Win32/Networking/HttpServer/mod.rs
vendored
Normal file
File diff suppressed because it is too large
Load diff
1070
third-party/vendor/windows-sys/src/Windows/Win32/Networking/Ldap/mod.rs
vendored
Normal file
1070
third-party/vendor/windows-sys/src/Windows/Win32/Networking/Ldap/mod.rs
vendored
Normal file
File diff suppressed because it is too large
Load diff
113
third-party/vendor/windows-sys/src/Windows/Win32/Networking/WebSocket/mod.rs
vendored
Normal file
113
third-party/vendor/windows-sys/src/Windows/Win32/Networking/WebSocket/mod.rs
vendored
Normal file
|
|
@ -0,0 +1,113 @@
|
|||
::windows_targets::link!("websocket.dll" "system" fn WebSocketAbortHandle(hwebsocket : WEB_SOCKET_HANDLE) -> ());
|
||||
::windows_targets::link!("websocket.dll" "system" fn WebSocketBeginClientHandshake(hwebsocket : WEB_SOCKET_HANDLE, pszsubprotocols : *const ::windows_sys::core::PCSTR, ulsubprotocolcount : u32, pszextensions : *const ::windows_sys::core::PCSTR, ulextensioncount : u32, pinitialheaders : *const WEB_SOCKET_HTTP_HEADER, ulinitialheadercount : u32, padditionalheaders : *mut *mut WEB_SOCKET_HTTP_HEADER, puladditionalheadercount : *mut u32) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("websocket.dll" "system" fn WebSocketBeginServerHandshake(hwebsocket : WEB_SOCKET_HANDLE, pszsubprotocolselected : ::windows_sys::core::PCSTR, pszextensionselected : *const ::windows_sys::core::PCSTR, ulextensionselectedcount : u32, prequestheaders : *const WEB_SOCKET_HTTP_HEADER, ulrequestheadercount : u32, presponseheaders : *mut *mut WEB_SOCKET_HTTP_HEADER, pulresponseheadercount : *mut u32) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("websocket.dll" "system" fn WebSocketCompleteAction(hwebsocket : WEB_SOCKET_HANDLE, pvactioncontext : *const ::core::ffi::c_void, ulbytestransferred : u32) -> ());
|
||||
::windows_targets::link!("websocket.dll" "system" fn WebSocketCreateClientHandle(pproperties : *const WEB_SOCKET_PROPERTY, ulpropertycount : u32, phwebsocket : *mut WEB_SOCKET_HANDLE) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("websocket.dll" "system" fn WebSocketCreateServerHandle(pproperties : *const WEB_SOCKET_PROPERTY, ulpropertycount : u32, phwebsocket : *mut WEB_SOCKET_HANDLE) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("websocket.dll" "system" fn WebSocketDeleteHandle(hwebsocket : WEB_SOCKET_HANDLE) -> ());
|
||||
::windows_targets::link!("websocket.dll" "system" fn WebSocketEndClientHandshake(hwebsocket : WEB_SOCKET_HANDLE, presponseheaders : *const WEB_SOCKET_HTTP_HEADER, ulreponseheadercount : u32, pulselectedextensions : *mut u32, pulselectedextensioncount : *mut u32, pulselectedsubprotocol : *mut u32) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("websocket.dll" "system" fn WebSocketEndServerHandshake(hwebsocket : WEB_SOCKET_HANDLE) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("websocket.dll" "system" fn WebSocketGetAction(hwebsocket : WEB_SOCKET_HANDLE, eactionqueue : WEB_SOCKET_ACTION_QUEUE, pdatabuffers : *mut WEB_SOCKET_BUFFER, puldatabuffercount : *mut u32, paction : *mut WEB_SOCKET_ACTION, pbuffertype : *mut WEB_SOCKET_BUFFER_TYPE, pvapplicationcontext : *mut *mut ::core::ffi::c_void, pvactioncontext : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("websocket.dll" "system" fn WebSocketGetGlobalProperty(etype : WEB_SOCKET_PROPERTY_TYPE, pvvalue : *mut ::core::ffi::c_void, ulsize : *mut u32) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("websocket.dll" "system" fn WebSocketReceive(hwebsocket : WEB_SOCKET_HANDLE, pbuffer : *const WEB_SOCKET_BUFFER, pvcontext : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("websocket.dll" "system" fn WebSocketSend(hwebsocket : WEB_SOCKET_HANDLE, buffertype : WEB_SOCKET_BUFFER_TYPE, pbuffer : *const WEB_SOCKET_BUFFER, context : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
|
||||
pub const WEB_SOCKET_ABORTED_CLOSE_STATUS: WEB_SOCKET_CLOSE_STATUS = 1006i32;
|
||||
pub const WEB_SOCKET_ALLOCATED_BUFFER_PROPERTY_TYPE: WEB_SOCKET_PROPERTY_TYPE = 3i32;
|
||||
pub const WEB_SOCKET_ALL_ACTION_QUEUE: WEB_SOCKET_ACTION_QUEUE = 3i32;
|
||||
pub const WEB_SOCKET_BINARY_FRAGMENT_BUFFER_TYPE: WEB_SOCKET_BUFFER_TYPE = -2147483645i32;
|
||||
pub const WEB_SOCKET_BINARY_MESSAGE_BUFFER_TYPE: WEB_SOCKET_BUFFER_TYPE = -2147483646i32;
|
||||
pub const WEB_SOCKET_CLOSE_BUFFER_TYPE: WEB_SOCKET_BUFFER_TYPE = -2147483644i32;
|
||||
pub const WEB_SOCKET_DISABLE_MASKING_PROPERTY_TYPE: WEB_SOCKET_PROPERTY_TYPE = 2i32;
|
||||
pub const WEB_SOCKET_DISABLE_UTF8_VERIFICATION_PROPERTY_TYPE: WEB_SOCKET_PROPERTY_TYPE = 4i32;
|
||||
pub const WEB_SOCKET_EMPTY_CLOSE_STATUS: WEB_SOCKET_CLOSE_STATUS = 1005i32;
|
||||
pub const WEB_SOCKET_ENDPOINT_UNAVAILABLE_CLOSE_STATUS: WEB_SOCKET_CLOSE_STATUS = 1001i32;
|
||||
pub const WEB_SOCKET_INDICATE_RECEIVE_COMPLETE_ACTION: WEB_SOCKET_ACTION = 4i32;
|
||||
pub const WEB_SOCKET_INDICATE_SEND_COMPLETE_ACTION: WEB_SOCKET_ACTION = 2i32;
|
||||
pub const WEB_SOCKET_INVALID_DATA_TYPE_CLOSE_STATUS: WEB_SOCKET_CLOSE_STATUS = 1003i32;
|
||||
pub const WEB_SOCKET_INVALID_PAYLOAD_CLOSE_STATUS: WEB_SOCKET_CLOSE_STATUS = 1007i32;
|
||||
pub const WEB_SOCKET_KEEPALIVE_INTERVAL_PROPERTY_TYPE: WEB_SOCKET_PROPERTY_TYPE = 5i32;
|
||||
pub const WEB_SOCKET_MAX_CLOSE_REASON_LENGTH: u32 = 123u32;
|
||||
pub const WEB_SOCKET_MESSAGE_TOO_BIG_CLOSE_STATUS: WEB_SOCKET_CLOSE_STATUS = 1009i32;
|
||||
pub const WEB_SOCKET_NO_ACTION: WEB_SOCKET_ACTION = 0i32;
|
||||
pub const WEB_SOCKET_PING_PONG_BUFFER_TYPE: WEB_SOCKET_BUFFER_TYPE = -2147483643i32;
|
||||
pub const WEB_SOCKET_POLICY_VIOLATION_CLOSE_STATUS: WEB_SOCKET_CLOSE_STATUS = 1008i32;
|
||||
pub const WEB_SOCKET_PROTOCOL_ERROR_CLOSE_STATUS: WEB_SOCKET_CLOSE_STATUS = 1002i32;
|
||||
pub const WEB_SOCKET_RECEIVE_ACTION_QUEUE: WEB_SOCKET_ACTION_QUEUE = 2i32;
|
||||
pub const WEB_SOCKET_RECEIVE_BUFFER_SIZE_PROPERTY_TYPE: WEB_SOCKET_PROPERTY_TYPE = 0i32;
|
||||
pub const WEB_SOCKET_RECEIVE_FROM_NETWORK_ACTION: WEB_SOCKET_ACTION = 3i32;
|
||||
pub const WEB_SOCKET_SECURE_HANDSHAKE_ERROR_CLOSE_STATUS: WEB_SOCKET_CLOSE_STATUS = 1015i32;
|
||||
pub const WEB_SOCKET_SEND_ACTION_QUEUE: WEB_SOCKET_ACTION_QUEUE = 1i32;
|
||||
pub const WEB_SOCKET_SEND_BUFFER_SIZE_PROPERTY_TYPE: WEB_SOCKET_PROPERTY_TYPE = 1i32;
|
||||
pub const WEB_SOCKET_SEND_TO_NETWORK_ACTION: WEB_SOCKET_ACTION = 1i32;
|
||||
pub const WEB_SOCKET_SERVER_ERROR_CLOSE_STATUS: WEB_SOCKET_CLOSE_STATUS = 1011i32;
|
||||
pub const WEB_SOCKET_SUCCESS_CLOSE_STATUS: WEB_SOCKET_CLOSE_STATUS = 1000i32;
|
||||
pub const WEB_SOCKET_SUPPORTED_VERSIONS_PROPERTY_TYPE: WEB_SOCKET_PROPERTY_TYPE = 6i32;
|
||||
pub const WEB_SOCKET_UNSOLICITED_PONG_BUFFER_TYPE: WEB_SOCKET_BUFFER_TYPE = -2147483642i32;
|
||||
pub const WEB_SOCKET_UNSUPPORTED_EXTENSIONS_CLOSE_STATUS: WEB_SOCKET_CLOSE_STATUS = 1010i32;
|
||||
pub const WEB_SOCKET_UTF8_FRAGMENT_BUFFER_TYPE: WEB_SOCKET_BUFFER_TYPE = -2147483647i32;
|
||||
pub const WEB_SOCKET_UTF8_MESSAGE_BUFFER_TYPE: WEB_SOCKET_BUFFER_TYPE = -2147483648i32;
|
||||
pub type WEB_SOCKET_ACTION = i32;
|
||||
pub type WEB_SOCKET_ACTION_QUEUE = i32;
|
||||
pub type WEB_SOCKET_BUFFER_TYPE = i32;
|
||||
pub type WEB_SOCKET_CLOSE_STATUS = i32;
|
||||
pub type WEB_SOCKET_PROPERTY_TYPE = i32;
|
||||
#[repr(C)]
|
||||
pub union WEB_SOCKET_BUFFER {
|
||||
pub Data: WEB_SOCKET_BUFFER_1,
|
||||
pub CloseStatus: WEB_SOCKET_BUFFER_0,
|
||||
}
|
||||
impl ::core::marker::Copy for WEB_SOCKET_BUFFER {}
|
||||
impl ::core::clone::Clone for WEB_SOCKET_BUFFER {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct WEB_SOCKET_BUFFER_0 {
|
||||
pub pbReason: *mut u8,
|
||||
pub ulReasonLength: u32,
|
||||
pub usStatus: u16,
|
||||
}
|
||||
impl ::core::marker::Copy for WEB_SOCKET_BUFFER_0 {}
|
||||
impl ::core::clone::Clone for WEB_SOCKET_BUFFER_0 {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct WEB_SOCKET_BUFFER_1 {
|
||||
pub pbBuffer: *mut u8,
|
||||
pub ulBufferLength: u32,
|
||||
}
|
||||
impl ::core::marker::Copy for WEB_SOCKET_BUFFER_1 {}
|
||||
impl ::core::clone::Clone for WEB_SOCKET_BUFFER_1 {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
pub type WEB_SOCKET_HANDLE = isize;
|
||||
#[repr(C)]
|
||||
pub struct WEB_SOCKET_HTTP_HEADER {
|
||||
pub pcName: ::windows_sys::core::PSTR,
|
||||
pub ulNameLength: u32,
|
||||
pub pcValue: ::windows_sys::core::PSTR,
|
||||
pub ulValueLength: u32,
|
||||
}
|
||||
impl ::core::marker::Copy for WEB_SOCKET_HTTP_HEADER {}
|
||||
impl ::core::clone::Clone for WEB_SOCKET_HTTP_HEADER {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct WEB_SOCKET_PROPERTY {
|
||||
pub Type: WEB_SOCKET_PROPERTY_TYPE,
|
||||
pub pvValue: *mut ::core::ffi::c_void,
|
||||
pub ulValueSize: u32,
|
||||
}
|
||||
impl ::core::marker::Copy for WEB_SOCKET_PROPERTY {}
|
||||
impl ::core::clone::Clone for WEB_SOCKET_PROPERTY {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
1401
third-party/vendor/windows-sys/src/Windows/Win32/Networking/WinHttp/mod.rs
vendored
Normal file
1401
third-party/vendor/windows-sys/src/Windows/Win32/Networking/WinHttp/mod.rs
vendored
Normal file
File diff suppressed because it is too large
Load diff
3018
third-party/vendor/windows-sys/src/Windows/Win32/Networking/WinInet/mod.rs
vendored
Normal file
3018
third-party/vendor/windows-sys/src/Windows/Win32/Networking/WinInet/mod.rs
vendored
Normal file
File diff suppressed because it is too large
Load diff
6724
third-party/vendor/windows-sys/src/Windows/Win32/Networking/WinSock/mod.rs
vendored
Normal file
6724
third-party/vendor/windows-sys/src/Windows/Win32/Networking/WinSock/mod.rs
vendored
Normal file
File diff suppressed because it is too large
Load diff
5175
third-party/vendor/windows-sys/src/Windows/Win32/Networking/WindowsWebServices/mod.rs
vendored
Normal file
5175
third-party/vendor/windows-sys/src/Windows/Win32/Networking/WindowsWebServices/mod.rs
vendored
Normal file
File diff suppressed because it is too large
Load diff
27
third-party/vendor/windows-sys/src/Windows/Win32/Networking/mod.rs
vendored
Normal file
27
third-party/vendor/windows-sys/src/Windows/Win32/Networking/mod.rs
vendored
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
#[cfg(feature = "Win32_Networking_ActiveDirectory")]
|
||||
#[doc = "Required features: `\"Win32_Networking_ActiveDirectory\"`"]
|
||||
pub mod ActiveDirectory;
|
||||
#[cfg(feature = "Win32_Networking_Clustering")]
|
||||
#[doc = "Required features: `\"Win32_Networking_Clustering\"`"]
|
||||
pub mod Clustering;
|
||||
#[cfg(feature = "Win32_Networking_HttpServer")]
|
||||
#[doc = "Required features: `\"Win32_Networking_HttpServer\"`"]
|
||||
pub mod HttpServer;
|
||||
#[cfg(feature = "Win32_Networking_Ldap")]
|
||||
#[doc = "Required features: `\"Win32_Networking_Ldap\"`"]
|
||||
pub mod Ldap;
|
||||
#[cfg(feature = "Win32_Networking_WebSocket")]
|
||||
#[doc = "Required features: `\"Win32_Networking_WebSocket\"`"]
|
||||
pub mod WebSocket;
|
||||
#[cfg(feature = "Win32_Networking_WinHttp")]
|
||||
#[doc = "Required features: `\"Win32_Networking_WinHttp\"`"]
|
||||
pub mod WinHttp;
|
||||
#[cfg(feature = "Win32_Networking_WinInet")]
|
||||
#[doc = "Required features: `\"Win32_Networking_WinInet\"`"]
|
||||
pub mod WinInet;
|
||||
#[cfg(feature = "Win32_Networking_WinSock")]
|
||||
#[doc = "Required features: `\"Win32_Networking_WinSock\"`"]
|
||||
pub mod WinSock;
|
||||
#[cfg(feature = "Win32_Networking_WindowsWebServices")]
|
||||
#[doc = "Required features: `\"Win32_Networking_WindowsWebServices\"`"]
|
||||
pub mod WindowsWebServices;
|
||||
240
third-party/vendor/windows-sys/src/Windows/Win32/Security/AppLocker/mod.rs
vendored
Normal file
240
third-party/vendor/windows-sys/src/Windows/Win32/Security/AppLocker/mod.rs
vendored
Normal file
|
|
@ -0,0 +1,240 @@
|
|||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SaferCloseLevel(hlevelhandle : super:: SAFER_LEVEL_HANDLE) -> super::super::Foundation:: BOOL);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SaferComputeTokenFromLevel(levelhandle : super:: SAFER_LEVEL_HANDLE, inaccesstoken : super::super::Foundation:: HANDLE, outaccesstoken : *mut super::super::Foundation:: HANDLE, dwflags : SAFER_COMPUTE_TOKEN_FROM_LEVEL_FLAGS, lpreserved : *mut ::core::ffi::c_void) -> super::super::Foundation:: BOOL);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SaferCreateLevel(dwscopeid : u32, dwlevelid : u32, openflags : u32, plevelhandle : *mut super:: SAFER_LEVEL_HANDLE, lpreserved : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SaferGetLevelInformation(levelhandle : super:: SAFER_LEVEL_HANDLE, dwinfotype : SAFER_OBJECT_INFO_CLASS, lpquerybuffer : *mut ::core::ffi::c_void, dwinbuffersize : u32, lpdwoutbuffersize : *mut u32) -> super::super::Foundation:: BOOL);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SaferGetPolicyInformation(dwscopeid : u32, saferpolicyinfoclass : SAFER_POLICY_INFO_CLASS, infobuffersize : u32, infobuffer : *mut ::core::ffi::c_void, infobufferretsize : *mut u32, lpreserved : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL);
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
|
||||
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`"] fn SaferIdentifyLevel(dwnumproperties : u32, pcodeproperties : *const SAFER_CODE_PROPERTIES_V2, plevelhandle : *mut super:: SAFER_LEVEL_HANDLE, lpreserved : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SaferRecordEventLogEntry(hlevel : super:: SAFER_LEVEL_HANDLE, sztargetpath : ::windows_sys::core::PCWSTR, lpreserved : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SaferSetLevelInformation(levelhandle : super:: SAFER_LEVEL_HANDLE, dwinfotype : SAFER_OBJECT_INFO_CLASS, lpquerybuffer : *const ::core::ffi::c_void, dwinbuffersize : u32) -> super::super::Foundation:: BOOL);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SaferSetPolicyInformation(dwscopeid : u32, saferpolicyinfoclass : SAFER_POLICY_INFO_CLASS, infobuffersize : u32, infobuffer : *const ::core::ffi::c_void, lpreserved : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SaferiIsExecutableFileType(szfullpathname : ::windows_sys::core::PCWSTR, bfromshellexecute : super::super::Foundation:: BOOLEAN) -> super::super::Foundation:: BOOL);
|
||||
pub const SAFER_CRITERIA_APPX_PACKAGE: u32 = 32u32;
|
||||
pub const SAFER_CRITERIA_AUTHENTICODE: u32 = 8u32;
|
||||
pub const SAFER_CRITERIA_IMAGEHASH: u32 = 4u32;
|
||||
pub const SAFER_CRITERIA_IMAGEPATH: u32 = 1u32;
|
||||
pub const SAFER_CRITERIA_IMAGEPATH_NT: u32 = 4096u32;
|
||||
pub const SAFER_CRITERIA_NOSIGNEDHASH: u32 = 2u32;
|
||||
pub const SAFER_CRITERIA_URLZONE: u32 = 16u32;
|
||||
pub const SAFER_LEVELID_CONSTRAINED: u32 = 65536u32;
|
||||
pub const SAFER_LEVELID_DISALLOWED: u32 = 0u32;
|
||||
pub const SAFER_LEVELID_FULLYTRUSTED: u32 = 262144u32;
|
||||
pub const SAFER_LEVELID_NORMALUSER: u32 = 131072u32;
|
||||
pub const SAFER_LEVELID_UNTRUSTED: u32 = 4096u32;
|
||||
pub const SAFER_LEVEL_OPEN: u32 = 1u32;
|
||||
pub const SAFER_MAX_DESCRIPTION_SIZE: u32 = 256u32;
|
||||
pub const SAFER_MAX_FRIENDLYNAME_SIZE: u32 = 256u32;
|
||||
pub const SAFER_MAX_HASH_SIZE: u32 = 64u32;
|
||||
pub const SAFER_POLICY_BLOCK_CLIENT_UI: u32 = 8192u32;
|
||||
pub const SAFER_POLICY_HASH_DUPLICATE: u32 = 262144u32;
|
||||
pub const SAFER_POLICY_JOBID_CONSTRAINED: u32 = 67108864u32;
|
||||
pub const SAFER_POLICY_JOBID_MASK: u32 = 4278190080u32;
|
||||
pub const SAFER_POLICY_JOBID_UNTRUSTED: u32 = 50331648u32;
|
||||
pub const SAFER_POLICY_ONLY_AUDIT: u32 = 4096u32;
|
||||
pub const SAFER_POLICY_ONLY_EXES: u32 = 65536u32;
|
||||
pub const SAFER_POLICY_SANDBOX_INERT: u32 = 131072u32;
|
||||
pub const SAFER_POLICY_UIFLAGS_HIDDEN: u32 = 4u32;
|
||||
pub const SAFER_POLICY_UIFLAGS_INFORMATION_PROMPT: u32 = 1u32;
|
||||
pub const SAFER_POLICY_UIFLAGS_MASK: u32 = 255u32;
|
||||
pub const SAFER_POLICY_UIFLAGS_OPTION_PROMPT: u32 = 2u32;
|
||||
pub const SAFER_SCOPEID_MACHINE: u32 = 1u32;
|
||||
pub const SAFER_SCOPEID_USER: u32 = 2u32;
|
||||
pub const SAFER_TOKEN_COMPARE_ONLY: SAFER_COMPUTE_TOKEN_FROM_LEVEL_FLAGS = 2u32;
|
||||
pub const SAFER_TOKEN_MAKE_INERT: SAFER_COMPUTE_TOKEN_FROM_LEVEL_FLAGS = 4u32;
|
||||
pub const SAFER_TOKEN_NULL_IF_EQUAL: SAFER_COMPUTE_TOKEN_FROM_LEVEL_FLAGS = 1u32;
|
||||
pub const SAFER_TOKEN_WANT_FLAGS: SAFER_COMPUTE_TOKEN_FROM_LEVEL_FLAGS = 8u32;
|
||||
pub const SRP_POLICY_APPX: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("APPX");
|
||||
pub const SRP_POLICY_DLL: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DLL");
|
||||
pub const SRP_POLICY_EXE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EXE");
|
||||
pub const SRP_POLICY_MANAGEDINSTALLER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("MANAGEDINSTALLER");
|
||||
pub const SRP_POLICY_MSI: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("MSI");
|
||||
pub const SRP_POLICY_NOV2: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("IGNORESRPV2");
|
||||
pub const SRP_POLICY_SCRIPT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SCRIPT");
|
||||
pub const SRP_POLICY_SHELL: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SHELL");
|
||||
pub const SRP_POLICY_WLDPCONFIGCI: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("WLDPCONFIGCI");
|
||||
pub const SRP_POLICY_WLDPMSI: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("WLDPMSI");
|
||||
pub const SRP_POLICY_WLDPSCRIPT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("WLDPSCRIPT");
|
||||
pub const SaferIdentityDefault: SAFER_IDENTIFICATION_TYPES = 0i32;
|
||||
pub const SaferIdentityTypeCertificate: SAFER_IDENTIFICATION_TYPES = 4i32;
|
||||
pub const SaferIdentityTypeImageHash: SAFER_IDENTIFICATION_TYPES = 2i32;
|
||||
pub const SaferIdentityTypeImageName: SAFER_IDENTIFICATION_TYPES = 1i32;
|
||||
pub const SaferIdentityTypeUrlZone: SAFER_IDENTIFICATION_TYPES = 3i32;
|
||||
pub const SaferObjectAllIdentificationGuids: SAFER_OBJECT_INFO_CLASS = 14i32;
|
||||
pub const SaferObjectBuiltin: SAFER_OBJECT_INFO_CLASS = 5i32;
|
||||
pub const SaferObjectDefaultOwner: SAFER_OBJECT_INFO_CLASS = 10i32;
|
||||
pub const SaferObjectDeletedPrivileges: SAFER_OBJECT_INFO_CLASS = 9i32;
|
||||
pub const SaferObjectDescription: SAFER_OBJECT_INFO_CLASS = 4i32;
|
||||
pub const SaferObjectDisableMaxPrivilege: SAFER_OBJECT_INFO_CLASS = 7i32;
|
||||
pub const SaferObjectDisallowed: SAFER_OBJECT_INFO_CLASS = 6i32;
|
||||
pub const SaferObjectExtendedError: SAFER_OBJECT_INFO_CLASS = 16i32;
|
||||
pub const SaferObjectFriendlyName: SAFER_OBJECT_INFO_CLASS = 3i32;
|
||||
pub const SaferObjectInvertDeletedPrivileges: SAFER_OBJECT_INFO_CLASS = 8i32;
|
||||
pub const SaferObjectLevelId: SAFER_OBJECT_INFO_CLASS = 1i32;
|
||||
pub const SaferObjectRestrictedSidsAdded: SAFER_OBJECT_INFO_CLASS = 13i32;
|
||||
pub const SaferObjectRestrictedSidsInverted: SAFER_OBJECT_INFO_CLASS = 12i32;
|
||||
pub const SaferObjectScopeId: SAFER_OBJECT_INFO_CLASS = 2i32;
|
||||
pub const SaferObjectSidsToDisable: SAFER_OBJECT_INFO_CLASS = 11i32;
|
||||
pub const SaferObjectSingleIdentification: SAFER_OBJECT_INFO_CLASS = 15i32;
|
||||
pub const SaferPolicyAuthenticodeEnabled: SAFER_POLICY_INFO_CLASS = 7i32;
|
||||
pub const SaferPolicyDefaultLevel: SAFER_POLICY_INFO_CLASS = 3i32;
|
||||
pub const SaferPolicyDefaultLevelFlags: SAFER_POLICY_INFO_CLASS = 6i32;
|
||||
pub const SaferPolicyEnableTransparentEnforcement: SAFER_POLICY_INFO_CLASS = 2i32;
|
||||
pub const SaferPolicyEvaluateUserScope: SAFER_POLICY_INFO_CLASS = 4i32;
|
||||
pub const SaferPolicyLevelList: SAFER_POLICY_INFO_CLASS = 1i32;
|
||||
pub const SaferPolicyScopeFlags: SAFER_POLICY_INFO_CLASS = 5i32;
|
||||
pub type SAFER_COMPUTE_TOKEN_FROM_LEVEL_FLAGS = u32;
|
||||
pub type SAFER_IDENTIFICATION_TYPES = i32;
|
||||
pub type SAFER_OBJECT_INFO_CLASS = i32;
|
||||
pub type SAFER_POLICY_INFO_CLASS = i32;
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`"]
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
|
||||
pub struct SAFER_CODE_PROPERTIES_V1 {
|
||||
pub cbSize: u32,
|
||||
pub dwCheckFlags: u32,
|
||||
pub ImagePath: ::windows_sys::core::PCWSTR,
|
||||
pub hImageFileHandle: super::super::Foundation::HANDLE,
|
||||
pub UrlZoneId: u32,
|
||||
pub ImageHash: [u8; 64],
|
||||
pub dwImageHashSize: u32,
|
||||
pub ImageSize: i64,
|
||||
pub HashAlgorithm: super::Cryptography::ALG_ID,
|
||||
pub pByteBlock: *mut u8,
|
||||
pub hWndParent: super::super::Foundation::HWND,
|
||||
pub dwWVTUIChoice: u32,
|
||||
}
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
|
||||
impl ::core::marker::Copy for SAFER_CODE_PROPERTIES_V1 {}
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
|
||||
impl ::core::clone::Clone for SAFER_CODE_PROPERTIES_V1 {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`"]
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
|
||||
pub struct SAFER_CODE_PROPERTIES_V2 {
|
||||
pub cbSize: u32,
|
||||
pub dwCheckFlags: u32,
|
||||
pub ImagePath: ::windows_sys::core::PCWSTR,
|
||||
pub hImageFileHandle: super::super::Foundation::HANDLE,
|
||||
pub UrlZoneId: u32,
|
||||
pub ImageHash: [u8; 64],
|
||||
pub dwImageHashSize: u32,
|
||||
pub ImageSize: i64,
|
||||
pub HashAlgorithm: super::Cryptography::ALG_ID,
|
||||
pub pByteBlock: *mut u8,
|
||||
pub hWndParent: super::super::Foundation::HWND,
|
||||
pub dwWVTUIChoice: u32,
|
||||
pub PackageMoniker: ::windows_sys::core::PCWSTR,
|
||||
pub PackagePublisher: ::windows_sys::core::PCWSTR,
|
||||
pub PackageName: ::windows_sys::core::PCWSTR,
|
||||
pub PackageVersion: u64,
|
||||
pub PackageIsFramework: super::super::Foundation::BOOL,
|
||||
}
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
|
||||
impl ::core::marker::Copy for SAFER_CODE_PROPERTIES_V2 {}
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
|
||||
impl ::core::clone::Clone for SAFER_CODE_PROPERTIES_V2 {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`"]
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
|
||||
pub struct SAFER_HASH_IDENTIFICATION {
|
||||
pub header: SAFER_IDENTIFICATION_HEADER,
|
||||
pub Description: [u16; 256],
|
||||
pub FriendlyName: [u16; 256],
|
||||
pub HashSize: u32,
|
||||
pub ImageHash: [u8; 64],
|
||||
pub HashAlgorithm: super::Cryptography::ALG_ID,
|
||||
pub ImageSize: i64,
|
||||
pub dwSaferFlags: u32,
|
||||
}
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
|
||||
impl ::core::marker::Copy for SAFER_HASH_IDENTIFICATION {}
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
|
||||
impl ::core::clone::Clone for SAFER_HASH_IDENTIFICATION {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`"]
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
|
||||
pub struct SAFER_HASH_IDENTIFICATION2 {
|
||||
pub hashIdentification: SAFER_HASH_IDENTIFICATION,
|
||||
pub HashSize: u32,
|
||||
pub ImageHash: [u8; 64],
|
||||
pub HashAlgorithm: super::Cryptography::ALG_ID,
|
||||
}
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
|
||||
impl ::core::marker::Copy for SAFER_HASH_IDENTIFICATION2 {}
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
|
||||
impl ::core::clone::Clone for SAFER_HASH_IDENTIFICATION2 {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub struct SAFER_IDENTIFICATION_HEADER {
|
||||
pub dwIdentificationType: SAFER_IDENTIFICATION_TYPES,
|
||||
pub cbStructSize: u32,
|
||||
pub IdentificationGuid: ::windows_sys::core::GUID,
|
||||
pub lastModified: super::super::Foundation::FILETIME,
|
||||
}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::marker::Copy for SAFER_IDENTIFICATION_HEADER {}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::clone::Clone for SAFER_IDENTIFICATION_HEADER {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub struct SAFER_PATHNAME_IDENTIFICATION {
|
||||
pub header: SAFER_IDENTIFICATION_HEADER,
|
||||
pub Description: [u16; 256],
|
||||
pub ImageName: ::windows_sys::core::PWSTR,
|
||||
pub dwSaferFlags: u32,
|
||||
}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::marker::Copy for SAFER_PATHNAME_IDENTIFICATION {}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::clone::Clone for SAFER_PATHNAME_IDENTIFICATION {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub struct SAFER_URLZONE_IDENTIFICATION {
|
||||
pub header: SAFER_IDENTIFICATION_HEADER,
|
||||
pub UrlZoneId: u32,
|
||||
pub dwSaferFlags: u32,
|
||||
}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::marker::Copy for SAFER_URLZONE_IDENTIFICATION {}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::clone::Clone for SAFER_URLZONE_IDENTIFICATION {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
8213
third-party/vendor/windows-sys/src/Windows/Win32/Security/Authentication/Identity/mod.rs
vendored
Normal file
8213
third-party/vendor/windows-sys/src/Windows/Win32/Security/Authentication/Identity/mod.rs
vendored
Normal file
File diff suppressed because it is too large
Load diff
3
third-party/vendor/windows-sys/src/Windows/Win32/Security/Authentication/mod.rs
vendored
Normal file
3
third-party/vendor/windows-sys/src/Windows/Win32/Security/Authentication/mod.rs
vendored
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
#[cfg(feature = "Win32_Security_Authentication_Identity")]
|
||||
#[doc = "Required features: `\"Win32_Security_Authentication_Identity\"`"]
|
||||
pub mod Identity;
|
||||
1362
third-party/vendor/windows-sys/src/Windows/Win32/Security/Authorization/mod.rs
vendored
Normal file
1362
third-party/vendor/windows-sys/src/Windows/Win32/Security/Authorization/mod.rs
vendored
Normal file
File diff suppressed because it is too large
Load diff
1081
third-party/vendor/windows-sys/src/Windows/Win32/Security/Credentials/mod.rs
vendored
Normal file
1081
third-party/vendor/windows-sys/src/Windows/Win32/Security/Credentials/mod.rs
vendored
Normal file
File diff suppressed because it is too large
Load diff
217
third-party/vendor/windows-sys/src/Windows/Win32/Security/Cryptography/Catalog/mod.rs
vendored
Normal file
217
third-party/vendor/windows-sys/src/Windows/Win32/Security/Cryptography/Catalog/mod.rs
vendored
Normal file
|
|
@ -0,0 +1,217 @@
|
|||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptCATAdminAcquireContext(phcatadmin : *mut isize, pgsubsystem : *const ::windows_sys::core::GUID, dwflags : u32) -> super::super::super::Foundation:: BOOL);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptCATAdminAcquireContext2(phcatadmin : *mut isize, pgsubsystem : *const ::windows_sys::core::GUID, pwszhashalgorithm : ::windows_sys::core::PCWSTR, pstronghashpolicy : *const super:: CERT_STRONG_SIGN_PARA, dwflags : u32) -> super::super::super::Foundation:: BOOL);
|
||||
::windows_targets::link!("wintrust.dll" "system" fn CryptCATAdminAddCatalog(hcatadmin : isize, pwszcatalogfile : ::windows_sys::core::PCWSTR, pwszselectbasename : ::windows_sys::core::PCWSTR, dwflags : u32) -> isize);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptCATAdminCalcHashFromFileHandle(hfile : super::super::super::Foundation:: HANDLE, pcbhash : *mut u32, pbhash : *mut u8, dwflags : u32) -> super::super::super::Foundation:: BOOL);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptCATAdminCalcHashFromFileHandle2(hcatadmin : isize, hfile : super::super::super::Foundation:: HANDLE, pcbhash : *mut u32, pbhash : *mut u8, dwflags : u32) -> super::super::super::Foundation:: BOOL);
|
||||
::windows_targets::link!("wintrust.dll" "system" fn CryptCATAdminEnumCatalogFromHash(hcatadmin : isize, pbhash : *const u8, cbhash : u32, dwflags : u32, phprevcatinfo : *mut isize) -> isize);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptCATAdminPauseServiceForBackup(dwflags : u32, fresume : super::super::super::Foundation:: BOOL) -> super::super::super::Foundation:: BOOL);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptCATAdminReleaseCatalogContext(hcatadmin : isize, hcatinfo : isize, dwflags : u32) -> super::super::super::Foundation:: BOOL);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptCATAdminReleaseContext(hcatadmin : isize, dwflags : u32) -> super::super::super::Foundation:: BOOL);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptCATAdminRemoveCatalog(hcatadmin : isize, pwszcatalogfile : ::windows_sys::core::PCWSTR, dwflags : u32) -> super::super::super::Foundation:: BOOL);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptCATAdminResolveCatalogPath(hcatadmin : isize, pwszcatalogfile : ::windows_sys::core::PCWSTR, pscatinfo : *mut CATALOG_INFO, dwflags : u32) -> super::super::super::Foundation:: BOOL);
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Sip"))]
|
||||
::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Sip\"`"] fn CryptCATAllocSortedMemberInfo(hcatalog : super::super::super::Foundation:: HANDLE, pwszreferencetag : ::windows_sys::core::PCWSTR) -> *mut CRYPTCATMEMBER);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptCATCDFClose(pcdf : *mut CRYPTCATCDF) -> super::super::super::Foundation:: BOOL);
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Sip"))]
|
||||
::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Sip\"`"] fn CryptCATCDFEnumAttributes(pcdf : *mut CRYPTCATCDF, pmember : *mut CRYPTCATMEMBER, pprevattr : *mut CRYPTCATATTRIBUTE, pfnparseerror : PFN_CDF_PARSE_ERROR_CALLBACK) -> *mut CRYPTCATATTRIBUTE);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptCATCDFEnumCatAttributes(pcdf : *mut CRYPTCATCDF, pprevattr : *mut CRYPTCATATTRIBUTE, pfnparseerror : PFN_CDF_PARSE_ERROR_CALLBACK) -> *mut CRYPTCATATTRIBUTE);
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Sip"))]
|
||||
::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Sip\"`"] fn CryptCATCDFEnumMembers(pcdf : *mut CRYPTCATCDF, pprevmember : *mut CRYPTCATMEMBER, pfnparseerror : PFN_CDF_PARSE_ERROR_CALLBACK) -> *mut CRYPTCATMEMBER);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptCATCDFOpen(pwszfilepath : ::windows_sys::core::PCWSTR, pfnparseerror : PFN_CDF_PARSE_ERROR_CALLBACK) -> *mut CRYPTCATCDF);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptCATCatalogInfoFromContext(hcatinfo : isize, pscatinfo : *mut CATALOG_INFO, dwflags : u32) -> super::super::super::Foundation:: BOOL);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptCATClose(hcatalog : super::super::super::Foundation:: HANDLE) -> super::super::super::Foundation:: BOOL);
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Sip"))]
|
||||
::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Sip\"`"] fn CryptCATEnumerateAttr(hcatalog : super::super::super::Foundation:: HANDLE, pcatmember : *mut CRYPTCATMEMBER, pprevattr : *mut CRYPTCATATTRIBUTE) -> *mut CRYPTCATATTRIBUTE);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptCATEnumerateCatAttr(hcatalog : super::super::super::Foundation:: HANDLE, pprevattr : *mut CRYPTCATATTRIBUTE) -> *mut CRYPTCATATTRIBUTE);
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Sip"))]
|
||||
::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Sip\"`"] fn CryptCATEnumerateMember(hcatalog : super::super::super::Foundation:: HANDLE, pprevmember : *mut CRYPTCATMEMBER) -> *mut CRYPTCATMEMBER);
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Sip"))]
|
||||
::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Sip\"`"] fn CryptCATFreeSortedMemberInfo(hcatalog : super::super::super::Foundation:: HANDLE, pcatmember : *mut CRYPTCATMEMBER) -> ());
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Sip"))]
|
||||
::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Sip\"`"] fn CryptCATGetAttrInfo(hcatalog : super::super::super::Foundation:: HANDLE, pcatmember : *mut CRYPTCATMEMBER, pwszreferencetag : ::windows_sys::core::PCWSTR) -> *mut CRYPTCATATTRIBUTE);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptCATGetCatAttrInfo(hcatalog : super::super::super::Foundation:: HANDLE, pwszreferencetag : ::windows_sys::core::PCWSTR) -> *mut CRYPTCATATTRIBUTE);
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Sip"))]
|
||||
::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Sip\"`"] fn CryptCATGetMemberInfo(hcatalog : super::super::super::Foundation:: HANDLE, pwszreferencetag : ::windows_sys::core::PCWSTR) -> *mut CRYPTCATMEMBER);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptCATHandleFromStore(pcatstore : *mut CRYPTCATSTORE) -> super::super::super::Foundation:: HANDLE);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptCATOpen(pwszfilename : ::windows_sys::core::PCWSTR, fdwopenflags : CRYPTCAT_OPEN_FLAGS, hprov : usize, dwpublicversion : CRYPTCAT_VERSION, dwencodingtype : u32) -> super::super::super::Foundation:: HANDLE);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptCATPersistStore(hcatalog : super::super::super::Foundation:: HANDLE) -> super::super::super::Foundation:: BOOL);
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Sip"))]
|
||||
::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Sip\"`"] fn CryptCATPutAttrInfo(hcatalog : super::super::super::Foundation:: HANDLE, pcatmember : *mut CRYPTCATMEMBER, pwszreferencetag : ::windows_sys::core::PCWSTR, dwattrtypeandaction : u32, cbdata : u32, pbdata : *mut u8) -> *mut CRYPTCATATTRIBUTE);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptCATPutCatAttrInfo(hcatalog : super::super::super::Foundation:: HANDLE, pwszreferencetag : ::windows_sys::core::PCWSTR, dwattrtypeandaction : u32, cbdata : u32, pbdata : *mut u8) -> *mut CRYPTCATATTRIBUTE);
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Sip"))]
|
||||
::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Sip\"`"] fn CryptCATPutMemberInfo(hcatalog : super::super::super::Foundation:: HANDLE, pwszfilename : ::windows_sys::core::PCWSTR, pwszreferencetag : ::windows_sys::core::PCWSTR, pgsubjecttype : *mut ::windows_sys::core::GUID, dwcertversion : u32, cbsipindirectdata : u32, pbsipindirectdata : *mut u8) -> *mut CRYPTCATMEMBER);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptCATStoreFromHandle(hcatalog : super::super::super::Foundation:: HANDLE) -> *mut CRYPTCATSTORE);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn IsCatalogFile(hfile : super::super::super::Foundation:: HANDLE, pwszfilename : ::windows_sys::core::PCWSTR) -> super::super::super::Foundation:: BOOL);
|
||||
pub const CRYPTCAT_ADDCATALOG_HARDLINK: u32 = 1u32;
|
||||
pub const CRYPTCAT_ADDCATALOG_NONE: u32 = 0u32;
|
||||
pub const CRYPTCAT_ATTR_AUTHENTICATED: u32 = 268435456u32;
|
||||
pub const CRYPTCAT_ATTR_DATAASCII: u32 = 65536u32;
|
||||
pub const CRYPTCAT_ATTR_DATABASE64: u32 = 131072u32;
|
||||
pub const CRYPTCAT_ATTR_DATAREPLACE: u32 = 262144u32;
|
||||
pub const CRYPTCAT_ATTR_NAMEASCII: u32 = 1u32;
|
||||
pub const CRYPTCAT_ATTR_NAMEOBJID: u32 = 2u32;
|
||||
pub const CRYPTCAT_ATTR_NO_AUTO_COMPAT_ENTRY: u32 = 16777216u32;
|
||||
pub const CRYPTCAT_ATTR_UNAUTHENTICATED: u32 = 536870912u32;
|
||||
pub const CRYPTCAT_E_AREA_ATTRIBUTE: u32 = 131072u32;
|
||||
pub const CRYPTCAT_E_AREA_HEADER: u32 = 0u32;
|
||||
pub const CRYPTCAT_E_AREA_MEMBER: u32 = 65536u32;
|
||||
pub const CRYPTCAT_E_CDF_ATTR_TOOFEWVALUES: u32 = 131074u32;
|
||||
pub const CRYPTCAT_E_CDF_ATTR_TYPECOMBO: u32 = 131076u32;
|
||||
pub const CRYPTCAT_E_CDF_BAD_GUID_CONV: u32 = 131073u32;
|
||||
pub const CRYPTCAT_E_CDF_DUPLICATE: u32 = 2u32;
|
||||
pub const CRYPTCAT_E_CDF_MEMBER_FILENOTFOUND: u32 = 65540u32;
|
||||
pub const CRYPTCAT_E_CDF_MEMBER_FILE_PATH: u32 = 65537u32;
|
||||
pub const CRYPTCAT_E_CDF_MEMBER_INDIRECTDATA: u32 = 65538u32;
|
||||
pub const CRYPTCAT_E_CDF_TAGNOTFOUND: u32 = 4u32;
|
||||
pub const CRYPTCAT_E_CDF_UNSUPPORTED: u32 = 1u32;
|
||||
pub const CRYPTCAT_FILEEXT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CAT");
|
||||
pub const CRYPTCAT_MAX_MEMBERTAG: u32 = 64u32;
|
||||
pub const CRYPTCAT_MEMBER_SORTED: u32 = 1073741824u32;
|
||||
pub const CRYPTCAT_OPEN_ALWAYS: CRYPTCAT_OPEN_FLAGS = 2u32;
|
||||
pub const CRYPTCAT_OPEN_CREATENEW: CRYPTCAT_OPEN_FLAGS = 1u32;
|
||||
pub const CRYPTCAT_OPEN_EXCLUDE_PAGE_HASHES: CRYPTCAT_OPEN_FLAGS = 65536u32;
|
||||
pub const CRYPTCAT_OPEN_EXISTING: CRYPTCAT_OPEN_FLAGS = 4u32;
|
||||
pub const CRYPTCAT_OPEN_FLAGS_MASK: CRYPTCAT_OPEN_FLAGS = 4294901760u32;
|
||||
pub const CRYPTCAT_OPEN_INCLUDE_PAGE_HASHES: CRYPTCAT_OPEN_FLAGS = 131072u32;
|
||||
pub const CRYPTCAT_OPEN_NO_CONTENT_HCRYPTMSG: CRYPTCAT_OPEN_FLAGS = 536870912u32;
|
||||
pub const CRYPTCAT_OPEN_SORTED: CRYPTCAT_OPEN_FLAGS = 1073741824u32;
|
||||
pub const CRYPTCAT_OPEN_VERIFYSIGHASH: CRYPTCAT_OPEN_FLAGS = 268435456u32;
|
||||
pub const CRYPTCAT_VERSION_1: CRYPTCAT_VERSION = 256u32;
|
||||
pub const CRYPTCAT_VERSION_2: CRYPTCAT_VERSION = 512u32;
|
||||
pub const szOID_CATALOG_LIST: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.12.1.1");
|
||||
pub const szOID_CATALOG_LIST_MEMBER: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.12.1.2");
|
||||
pub const szOID_CATALOG_LIST_MEMBER2: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.12.1.3");
|
||||
pub type CRYPTCAT_OPEN_FLAGS = u32;
|
||||
pub type CRYPTCAT_VERSION = u32;
|
||||
#[repr(C)]
|
||||
pub struct CATALOG_INFO {
|
||||
pub cbStruct: u32,
|
||||
pub wszCatalogFile: [u16; 260],
|
||||
}
|
||||
impl ::core::marker::Copy for CATALOG_INFO {}
|
||||
impl ::core::clone::Clone for CATALOG_INFO {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct CRYPTCATATTRIBUTE {
|
||||
pub cbStruct: u32,
|
||||
pub pwszReferenceTag: ::windows_sys::core::PWSTR,
|
||||
pub dwAttrTypeAndAction: u32,
|
||||
pub cbValue: u32,
|
||||
pub pbValue: *mut u8,
|
||||
pub dwReserved: u32,
|
||||
}
|
||||
impl ::core::marker::Copy for CRYPTCATATTRIBUTE {}
|
||||
impl ::core::clone::Clone for CRYPTCATATTRIBUTE {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub struct CRYPTCATCDF {
|
||||
pub cbStruct: u32,
|
||||
pub hFile: super::super::super::Foundation::HANDLE,
|
||||
pub dwCurFilePos: u32,
|
||||
pub dwLastMemberOffset: u32,
|
||||
pub fEOF: super::super::super::Foundation::BOOL,
|
||||
pub pwszResultDir: ::windows_sys::core::PWSTR,
|
||||
pub hCATStore: super::super::super::Foundation::HANDLE,
|
||||
}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::marker::Copy for CRYPTCATCDF {}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::clone::Clone for CRYPTCATCDF {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Sip\"`"]
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Sip"))]
|
||||
pub struct CRYPTCATMEMBER {
|
||||
pub cbStruct: u32,
|
||||
pub pwszReferenceTag: ::windows_sys::core::PWSTR,
|
||||
pub pwszFileName: ::windows_sys::core::PWSTR,
|
||||
pub gSubjectType: ::windows_sys::core::GUID,
|
||||
pub fdwMemberFlags: u32,
|
||||
pub pIndirectData: *mut super::Sip::SIP_INDIRECT_DATA,
|
||||
pub dwCertVersion: u32,
|
||||
pub dwReserved: u32,
|
||||
pub hReserved: super::super::super::Foundation::HANDLE,
|
||||
pub sEncodedIndirectData: super::CRYPT_INTEGER_BLOB,
|
||||
pub sEncodedMemberInfo: super::CRYPT_INTEGER_BLOB,
|
||||
}
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Sip"))]
|
||||
impl ::core::marker::Copy for CRYPTCATMEMBER {}
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Sip"))]
|
||||
impl ::core::clone::Clone for CRYPTCATMEMBER {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub struct CRYPTCATSTORE {
|
||||
pub cbStruct: u32,
|
||||
pub dwPublicVersion: u32,
|
||||
pub pwszP7File: ::windows_sys::core::PWSTR,
|
||||
pub hProv: usize,
|
||||
pub dwEncodingType: u32,
|
||||
pub fdwStoreFlags: CRYPTCAT_OPEN_FLAGS,
|
||||
pub hReserved: super::super::super::Foundation::HANDLE,
|
||||
pub hAttrs: super::super::super::Foundation::HANDLE,
|
||||
pub hCryptMsg: *mut ::core::ffi::c_void,
|
||||
pub hSorted: super::super::super::Foundation::HANDLE,
|
||||
}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::marker::Copy for CRYPTCATSTORE {}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::clone::Clone for CRYPTCATSTORE {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Sip\"`"]
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Sip"))]
|
||||
pub struct MS_ADDINFO_CATALOGMEMBER {
|
||||
pub cbStruct: u32,
|
||||
pub pStore: *mut CRYPTCATSTORE,
|
||||
pub pMember: *mut CRYPTCATMEMBER,
|
||||
}
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Sip"))]
|
||||
impl ::core::marker::Copy for MS_ADDINFO_CATALOGMEMBER {}
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Sip"))]
|
||||
impl ::core::clone::Clone for MS_ADDINFO_CATALOGMEMBER {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
pub type PFN_CDF_PARSE_ERROR_CALLBACK = ::core::option::Option<unsafe extern "system" fn(dwerrorarea: u32, dwlocalerror: u32, pwszline: ::windows_sys::core::PCWSTR) -> ()>;
|
||||
2494
third-party/vendor/windows-sys/src/Windows/Win32/Security/Cryptography/Certificates/mod.rs
vendored
Normal file
2494
third-party/vendor/windows-sys/src/Windows/Win32/Security/Cryptography/Certificates/mod.rs
vendored
Normal file
File diff suppressed because it is too large
Load diff
241
third-party/vendor/windows-sys/src/Windows/Win32/Security/Cryptography/Sip/mod.rs
vendored
Normal file
241
third-party/vendor/windows-sys/src/Windows/Win32/Security/Cryptography/Sip/mod.rs
vendored
Normal file
|
|
@ -0,0 +1,241 @@
|
|||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptSIPAddProvider(psnewprov : *mut SIP_ADD_NEWPROVIDER) -> super::super::super::Foundation:: BOOL);
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))]
|
||||
::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`"] fn CryptSIPCreateIndirectData(psubjectinfo : *mut SIP_SUBJECTINFO, pcbindirectdata : *mut u32, pindirectdata : *mut SIP_INDIRECT_DATA) -> super::super::super::Foundation:: BOOL);
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))]
|
||||
::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`"] fn CryptSIPGetCaps(psubjinfo : *const SIP_SUBJECTINFO, pcaps : *mut SIP_CAP_SET_V3) -> super::super::super::Foundation:: BOOL);
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))]
|
||||
::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`"] fn CryptSIPGetSealedDigest(psubjectinfo : *const SIP_SUBJECTINFO, psig : *const u8, dwsig : u32, pbdigest : *mut u8, pcbdigest : *mut u32) -> super::super::super::Foundation:: BOOL);
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))]
|
||||
::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`"] fn CryptSIPGetSignedDataMsg(psubjectinfo : *mut SIP_SUBJECTINFO, pdwencodingtype : *mut super:: CERT_QUERY_ENCODING_TYPE, dwindex : u32, pcbsigneddatamsg : *mut u32, pbsigneddatamsg : *mut u8) -> super::super::super::Foundation:: BOOL);
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))]
|
||||
::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`"] fn CryptSIPLoad(pgsubject : *const ::windows_sys::core::GUID, dwflags : u32, psipdispatch : *mut SIP_DISPATCH_INFO) -> super::super::super::Foundation:: BOOL);
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))]
|
||||
::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`"] fn CryptSIPPutSignedDataMsg(psubjectinfo : *mut SIP_SUBJECTINFO, dwencodingtype : super:: CERT_QUERY_ENCODING_TYPE, pdwindex : *mut u32, cbsigneddatamsg : u32, pbsigneddatamsg : *mut u8) -> super::super::super::Foundation:: BOOL);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptSIPRemoveProvider(pgprov : *mut ::windows_sys::core::GUID) -> super::super::super::Foundation:: BOOL);
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))]
|
||||
::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`"] fn CryptSIPRemoveSignedDataMsg(psubjectinfo : *mut SIP_SUBJECTINFO, dwindex : u32) -> super::super::super::Foundation:: BOOL);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptSIPRetrieveSubjectGuid(filename : ::windows_sys::core::PCWSTR, hfilein : super::super::super::Foundation:: HANDLE, pgsubject : *mut ::windows_sys::core::GUID) -> super::super::super::Foundation:: BOOL);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptSIPRetrieveSubjectGuidForCatalogFile(filename : ::windows_sys::core::PCWSTR, hfilein : super::super::super::Foundation:: HANDLE, pgsubject : *mut ::windows_sys::core::GUID) -> super::super::super::Foundation:: BOOL);
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))]
|
||||
::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`"] fn CryptSIPVerifyIndirectData(psubjectinfo : *mut SIP_SUBJECTINFO, pindirectdata : *mut SIP_INDIRECT_DATA) -> super::super::super::Foundation:: BOOL);
|
||||
pub const MSSIP_ADDINFO_BLOB: u32 = 3u32;
|
||||
pub const MSSIP_ADDINFO_CATMEMBER: u32 = 2u32;
|
||||
pub const MSSIP_ADDINFO_FLAT: u32 = 1u32;
|
||||
pub const MSSIP_ADDINFO_NONE: u32 = 0u32;
|
||||
pub const MSSIP_ADDINFO_NONMSSIP: u32 = 500u32;
|
||||
pub const MSSIP_FLAGS_MULTI_HASH: u32 = 262144u32;
|
||||
pub const MSSIP_FLAGS_PROHIBIT_RESIZE_ON_CREATE: u32 = 65536u32;
|
||||
pub const MSSIP_FLAGS_USE_CATALOG: u32 = 131072u32;
|
||||
pub const SIP_CAP_FLAG_SEALING: u32 = 1u32;
|
||||
pub const SIP_CAP_SET_CUR_VER: u32 = 3u32;
|
||||
pub const SIP_CAP_SET_VERSION_2: u32 = 2u32;
|
||||
pub const SIP_CAP_SET_VERSION_3: u32 = 3u32;
|
||||
pub const SIP_MAX_MAGIC_NUMBER: u32 = 4u32;
|
||||
pub const SPC_MARKER_CHECK_CURRENTLY_SUPPORTED_FLAGS: u32 = 1u32;
|
||||
pub const SPC_MARKER_CHECK_SKIP_SIP_INDIRECT_DATA_FLAG: u32 = 1u32;
|
||||
pub const SPC_RELAXED_PE_MARKER_CHECK: u32 = 2048u32;
|
||||
#[repr(C)]
|
||||
pub struct MS_ADDINFO_BLOB {
|
||||
pub cbStruct: u32,
|
||||
pub cbMemObject: u32,
|
||||
pub pbMemObject: *mut u8,
|
||||
pub cbMemSignedMsg: u32,
|
||||
pub pbMemSignedMsg: *mut u8,
|
||||
}
|
||||
impl ::core::marker::Copy for MS_ADDINFO_BLOB {}
|
||||
impl ::core::clone::Clone for MS_ADDINFO_BLOB {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct MS_ADDINFO_FLAT {
|
||||
pub cbStruct: u32,
|
||||
pub pIndirectData: *mut SIP_INDIRECT_DATA,
|
||||
}
|
||||
impl ::core::marker::Copy for MS_ADDINFO_FLAT {}
|
||||
impl ::core::clone::Clone for MS_ADDINFO_FLAT {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct SIP_ADD_NEWPROVIDER {
|
||||
pub cbStruct: u32,
|
||||
pub pgSubject: *mut ::windows_sys::core::GUID,
|
||||
pub pwszDLLFileName: ::windows_sys::core::PWSTR,
|
||||
pub pwszMagicNumber: ::windows_sys::core::PWSTR,
|
||||
pub pwszIsFunctionName: ::windows_sys::core::PWSTR,
|
||||
pub pwszGetFuncName: ::windows_sys::core::PWSTR,
|
||||
pub pwszPutFuncName: ::windows_sys::core::PWSTR,
|
||||
pub pwszCreateFuncName: ::windows_sys::core::PWSTR,
|
||||
pub pwszVerifyFuncName: ::windows_sys::core::PWSTR,
|
||||
pub pwszRemoveFuncName: ::windows_sys::core::PWSTR,
|
||||
pub pwszIsFunctionNameFmt2: ::windows_sys::core::PWSTR,
|
||||
pub pwszGetCapFuncName: ::windows_sys::core::PWSTR,
|
||||
}
|
||||
impl ::core::marker::Copy for SIP_ADD_NEWPROVIDER {}
|
||||
impl ::core::clone::Clone for SIP_ADD_NEWPROVIDER {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub struct SIP_CAP_SET_V2 {
|
||||
pub cbSize: u32,
|
||||
pub dwVersion: u32,
|
||||
pub isMultiSign: super::super::super::Foundation::BOOL,
|
||||
pub dwReserved: u32,
|
||||
}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::marker::Copy for SIP_CAP_SET_V2 {}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::clone::Clone for SIP_CAP_SET_V2 {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub struct SIP_CAP_SET_V3 {
|
||||
pub cbSize: u32,
|
||||
pub dwVersion: u32,
|
||||
pub isMultiSign: super::super::super::Foundation::BOOL,
|
||||
pub Anonymous: SIP_CAP_SET_V3_0,
|
||||
}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::marker::Copy for SIP_CAP_SET_V3 {}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::clone::Clone for SIP_CAP_SET_V3 {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub union SIP_CAP_SET_V3_0 {
|
||||
pub dwFlags: u32,
|
||||
pub dwReserved: u32,
|
||||
}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::marker::Copy for SIP_CAP_SET_V3_0 {}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::clone::Clone for SIP_CAP_SET_V3_0 {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`"]
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))]
|
||||
pub struct SIP_DISPATCH_INFO {
|
||||
pub cbSize: u32,
|
||||
pub hSIP: super::super::super::Foundation::HANDLE,
|
||||
pub pfGet: pCryptSIPGetSignedDataMsg,
|
||||
pub pfPut: pCryptSIPPutSignedDataMsg,
|
||||
pub pfCreate: pCryptSIPCreateIndirectData,
|
||||
pub pfVerify: pCryptSIPVerifyIndirectData,
|
||||
pub pfRemove: pCryptSIPRemoveSignedDataMsg,
|
||||
}
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))]
|
||||
impl ::core::marker::Copy for SIP_DISPATCH_INFO {}
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))]
|
||||
impl ::core::clone::Clone for SIP_DISPATCH_INFO {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct SIP_INDIRECT_DATA {
|
||||
pub Data: super::CRYPT_ATTRIBUTE_TYPE_VALUE,
|
||||
pub DigestAlgorithm: super::CRYPT_ALGORITHM_IDENTIFIER,
|
||||
pub Digest: super::CRYPT_INTEGER_BLOB,
|
||||
}
|
||||
impl ::core::marker::Copy for SIP_INDIRECT_DATA {}
|
||||
impl ::core::clone::Clone for SIP_INDIRECT_DATA {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`"]
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))]
|
||||
pub struct SIP_SUBJECTINFO {
|
||||
pub cbSize: u32,
|
||||
pub pgSubjectType: *mut ::windows_sys::core::GUID,
|
||||
pub hFile: super::super::super::Foundation::HANDLE,
|
||||
pub pwsFileName: ::windows_sys::core::PCWSTR,
|
||||
pub pwsDisplayName: ::windows_sys::core::PCWSTR,
|
||||
pub dwReserved1: u32,
|
||||
pub dwIntVersion: u32,
|
||||
pub hProv: usize,
|
||||
pub DigestAlgorithm: super::CRYPT_ALGORITHM_IDENTIFIER,
|
||||
pub dwFlags: u32,
|
||||
pub dwEncodingType: u32,
|
||||
pub dwReserved2: u32,
|
||||
pub fdwCAPISettings: u32,
|
||||
pub fdwSecuritySettings: u32,
|
||||
pub dwIndex: u32,
|
||||
pub dwUnionChoice: u32,
|
||||
pub Anonymous: SIP_SUBJECTINFO_0,
|
||||
pub pClientData: *mut ::core::ffi::c_void,
|
||||
}
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))]
|
||||
impl ::core::marker::Copy for SIP_SUBJECTINFO {}
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))]
|
||||
impl ::core::clone::Clone for SIP_SUBJECTINFO {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`"]
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))]
|
||||
pub union SIP_SUBJECTINFO_0 {
|
||||
pub psFlat: *mut MS_ADDINFO_FLAT,
|
||||
pub psCatMember: *mut super::Catalog::MS_ADDINFO_CATALOGMEMBER,
|
||||
pub psBlob: *mut MS_ADDINFO_BLOB,
|
||||
}
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))]
|
||||
impl ::core::marker::Copy for SIP_SUBJECTINFO_0 {}
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))]
|
||||
impl ::core::clone::Clone for SIP_SUBJECTINFO_0 {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`"]
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))]
|
||||
pub type pCryptSIPCreateIndirectData = ::core::option::Option<unsafe extern "system" fn(psubjectinfo: *mut SIP_SUBJECTINFO, pcbindirectdata: *mut u32, pindirectdata: *mut SIP_INDIRECT_DATA) -> super::super::super::Foundation::BOOL>;
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`"]
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))]
|
||||
pub type pCryptSIPGetCaps = ::core::option::Option<unsafe extern "system" fn(psubjinfo: *const SIP_SUBJECTINFO, pcaps: *mut SIP_CAP_SET_V3) -> super::super::super::Foundation::BOOL>;
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`"]
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))]
|
||||
pub type pCryptSIPGetSealedDigest = ::core::option::Option<unsafe extern "system" fn(psubjectinfo: *const SIP_SUBJECTINFO, psig: *const u8, dwsig: u32, pbdigest: *mut u8, pcbdigest: *mut u32) -> super::super::super::Foundation::BOOL>;
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`"]
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))]
|
||||
pub type pCryptSIPGetSignedDataMsg = ::core::option::Option<unsafe extern "system" fn(psubjectinfo: *mut SIP_SUBJECTINFO, pdwencodingtype: *mut u32, dwindex: u32, pcbsigneddatamsg: *mut u32, pbsigneddatamsg: *mut u8) -> super::super::super::Foundation::BOOL>;
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`"]
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))]
|
||||
pub type pCryptSIPPutSignedDataMsg = ::core::option::Option<unsafe extern "system" fn(psubjectinfo: *mut SIP_SUBJECTINFO, dwencodingtype: u32, pdwindex: *mut u32, cbsigneddatamsg: u32, pbsigneddatamsg: *mut u8) -> super::super::super::Foundation::BOOL>;
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`"]
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))]
|
||||
pub type pCryptSIPRemoveSignedDataMsg = ::core::option::Option<unsafe extern "system" fn(psubjectinfo: *mut SIP_SUBJECTINFO, dwindex: u32) -> super::super::super::Foundation::BOOL>;
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`"]
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))]
|
||||
pub type pCryptSIPVerifyIndirectData = ::core::option::Option<unsafe extern "system" fn(psubjectinfo: *mut SIP_SUBJECTINFO, pindirectdata: *mut SIP_INDIRECT_DATA) -> super::super::super::Foundation::BOOL>;
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub type pfnIsFileSupported = ::core::option::Option<unsafe extern "system" fn(hfile: super::super::super::Foundation::HANDLE, pgsubject: *mut ::windows_sys::core::GUID) -> super::super::super::Foundation::BOOL>;
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub type pfnIsFileSupportedName = ::core::option::Option<unsafe extern "system" fn(pwszfilename: ::windows_sys::core::PCWSTR, pgsubject: *mut ::windows_sys::core::GUID) -> super::super::super::Foundation::BOOL>;
|
||||
792
third-party/vendor/windows-sys/src/Windows/Win32/Security/Cryptography/UI/mod.rs
vendored
Normal file
792
third-party/vendor/windows-sys/src/Windows/Win32/Security/Cryptography/UI/mod.rs
vendored
Normal file
|
|
@ -0,0 +1,792 @@
|
|||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("cryptui.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertSelectionGetSerializedBlob(pcsi : *const CERT_SELECTUI_INPUT, ppoutbuffer : *mut *mut ::core::ffi::c_void, puloutbuffersize : *mut u32) -> ::windows_sys::core::HRESULT);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("cryptui.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptUIDlgCertMgr(pcryptuicertmgr : *const CRYPTUI_CERT_MGR_STRUCT) -> super::super::super::Foundation:: BOOL);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("cryptui.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptUIDlgSelectCertificateFromStore(hcertstore : super:: HCERTSTORE, hwnd : super::super::super::Foundation:: HWND, pwsztitle : ::windows_sys::core::PCWSTR, pwszdisplaystring : ::windows_sys::core::PCWSTR, dwdontusecolumn : u32, dwflags : u32, pvreserved : *const ::core::ffi::c_void) -> *mut super:: CERT_CONTEXT);
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip", feature = "Win32_Security_WinTrust", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
|
||||
::windows_targets::link!("cryptui.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Security_WinTrust\"`, `\"Win32_UI_Controls\"`, `\"Win32_UI_WindowsAndMessaging\"`"] fn CryptUIDlgViewCertificateA(pcertviewinfo : *const CRYPTUI_VIEWCERTIFICATE_STRUCTA, pfpropertieschanged : *mut super::super::super::Foundation:: BOOL) -> super::super::super::Foundation:: BOOL);
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip", feature = "Win32_Security_WinTrust", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
|
||||
::windows_targets::link!("cryptui.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Security_WinTrust\"`, `\"Win32_UI_Controls\"`, `\"Win32_UI_WindowsAndMessaging\"`"] fn CryptUIDlgViewCertificateW(pcertviewinfo : *const CRYPTUI_VIEWCERTIFICATE_STRUCTW, pfpropertieschanged : *mut super::super::super::Foundation:: BOOL) -> super::super::super::Foundation:: BOOL);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("cryptui.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptUIDlgViewContext(dwcontexttype : u32, pvcontext : *const ::core::ffi::c_void, hwnd : super::super::super::Foundation:: HWND, pwsztitle : ::windows_sys::core::PCWSTR, dwflags : u32, pvreserved : *const ::core::ffi::c_void) -> super::super::super::Foundation:: BOOL);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("cryptui.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptUIWizDigitalSign(dwflags : u32, hwndparent : super::super::super::Foundation:: HWND, pwszwizardtitle : ::windows_sys::core::PCWSTR, pdigitalsigninfo : *const CRYPTUI_WIZ_DIGITAL_SIGN_INFO, ppsigncontext : *mut *mut CRYPTUI_WIZ_DIGITAL_SIGN_CONTEXT) -> super::super::super::Foundation:: BOOL);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("cryptui.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptUIWizExport(dwflags : CRYPTUI_WIZ_FLAGS, hwndparent : super::super::super::Foundation:: HWND, pwszwizardtitle : ::windows_sys::core::PCWSTR, pexportinfo : *const CRYPTUI_WIZ_EXPORT_INFO, pvoid : *const ::core::ffi::c_void) -> super::super::super::Foundation:: BOOL);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("cryptui.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptUIWizFreeDigitalSignContext(psigncontext : *const CRYPTUI_WIZ_DIGITAL_SIGN_CONTEXT) -> super::super::super::Foundation:: BOOL);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("cryptui.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptUIWizImport(dwflags : CRYPTUI_WIZ_FLAGS, hwndparent : super::super::super::Foundation:: HWND, pwszwizardtitle : ::windows_sys::core::PCWSTR, pimportsrc : *const CRYPTUI_WIZ_IMPORT_SRC_INFO, hdestcertstore : super:: HCERTSTORE) -> super::super::super::Foundation:: BOOL);
|
||||
pub const ACTION_REVOCATION_DEFAULT_CACHE: u32 = 131072u32;
|
||||
pub const ACTION_REVOCATION_DEFAULT_ONLINE: u32 = 65536u32;
|
||||
pub const CERTVIEW_CRYPTUI_LPARAM: u32 = 8388608u32;
|
||||
pub const CERT_CREDENTIAL_PROVIDER_ID: i32 = -509i32;
|
||||
pub const CERT_DISPWELL_DISTRUST_ADD_CA_CERT: u32 = 8u32;
|
||||
pub const CERT_DISPWELL_DISTRUST_ADD_LEAF_CERT: u32 = 9u32;
|
||||
pub const CERT_DISPWELL_DISTRUST_CA_CERT: u32 = 6u32;
|
||||
pub const CERT_DISPWELL_DISTRUST_LEAF_CERT: u32 = 7u32;
|
||||
pub const CERT_DISPWELL_SELECT: u32 = 1u32;
|
||||
pub const CERT_DISPWELL_TRUST_ADD_CA_CERT: u32 = 4u32;
|
||||
pub const CERT_DISPWELL_TRUST_ADD_LEAF_CERT: u32 = 5u32;
|
||||
pub const CERT_DISPWELL_TRUST_CA_CERT: u32 = 2u32;
|
||||
pub const CERT_DISPWELL_TRUST_LEAF_CERT: u32 = 3u32;
|
||||
pub const CERT_FILTER_INCLUDE_V1_CERTS: u32 = 1u32;
|
||||
pub const CERT_FILTER_ISSUER_CERTS_ONLY: u32 = 16u32;
|
||||
pub const CERT_FILTER_KEY_EXISTS: u32 = 32u32;
|
||||
pub const CERT_FILTER_LEAF_CERTS_ONLY: u32 = 8u32;
|
||||
pub const CERT_FILTER_OP_EQUALITY: u32 = 3u32;
|
||||
pub const CERT_FILTER_OP_EXISTS: u32 = 1u32;
|
||||
pub const CERT_FILTER_OP_NOT_EXISTS: u32 = 2u32;
|
||||
pub const CERT_FILTER_VALID_SIGNATURE: u32 = 4u32;
|
||||
pub const CERT_FILTER_VALID_TIME_RANGE: u32 = 2u32;
|
||||
pub const CERT_TRUST_DO_FULL_SEARCH: u32 = 1u32;
|
||||
pub const CERT_TRUST_DO_FULL_TRUST: u32 = 5u32;
|
||||
pub const CERT_TRUST_MASK: u32 = 16777215u32;
|
||||
pub const CERT_TRUST_PERMIT_MISSING_CRLS: u32 = 2u32;
|
||||
pub const CERT_VALIDITY_AFTER_END: u32 = 2u32;
|
||||
pub const CERT_VALIDITY_BEFORE_START: u32 = 1u32;
|
||||
pub const CERT_VALIDITY_CERTIFICATE_REVOKED: u32 = 8u32;
|
||||
pub const CERT_VALIDITY_CRL_OUT_OF_DATE: u32 = 1073741824u32;
|
||||
pub const CERT_VALIDITY_EXPLICITLY_DISTRUSTED: u32 = 16777216u32;
|
||||
pub const CERT_VALIDITY_EXTENDED_USAGE_FAILURE: u32 = 32u32;
|
||||
pub const CERT_VALIDITY_ISSUER_DISTRUST: u32 = 33554432u32;
|
||||
pub const CERT_VALIDITY_ISSUER_INVALID: u32 = 256u32;
|
||||
pub const CERT_VALIDITY_KEY_USAGE_EXT_FAILURE: u32 = 16u32;
|
||||
pub const CERT_VALIDITY_MASK_TRUST: u32 = 4294901760u32;
|
||||
pub const CERT_VALIDITY_MASK_VALIDITY: u32 = 65535u32;
|
||||
pub const CERT_VALIDITY_NAME_CONSTRAINTS_FAILURE: u32 = 64u32;
|
||||
pub const CERT_VALIDITY_NO_CRL_FOUND: u32 = 536870912u32;
|
||||
pub const CERT_VALIDITY_NO_ISSUER_CERT_FOUND: u32 = 268435456u32;
|
||||
pub const CERT_VALIDITY_NO_TRUST_DATA: u32 = 2147483648u32;
|
||||
pub const CERT_VALIDITY_OTHER_ERROR: u32 = 2048u32;
|
||||
pub const CERT_VALIDITY_OTHER_EXTENSION_FAILURE: u32 = 512u32;
|
||||
pub const CERT_VALIDITY_PERIOD_NESTING_FAILURE: u32 = 1024u32;
|
||||
pub const CERT_VALIDITY_SIGNATURE_FAILS: u32 = 4u32;
|
||||
pub const CERT_VALIDITY_UNKNOWN_CRITICAL_EXTENSION: u32 = 128u32;
|
||||
pub const CM_ADD_CERT_STORES: CERT_VIEWPROPERTIES_STRUCT_FLAGS = 512u32;
|
||||
pub const CM_ENABLEHOOK: CERT_VIEWPROPERTIES_STRUCT_FLAGS = 1u32;
|
||||
pub const CM_ENABLETEMPLATE: CERT_VIEWPROPERTIES_STRUCT_FLAGS = 8u32;
|
||||
pub const CM_HIDE_ADVANCEPAGE: CERT_VIEWPROPERTIES_STRUCT_FLAGS = 16u32;
|
||||
pub const CM_HIDE_DETAILPAGE: CERT_VIEWPROPERTIES_STRUCT_FLAGS = 256u32;
|
||||
pub const CM_HIDE_TRUSTPAGE: CERT_VIEWPROPERTIES_STRUCT_FLAGS = 32u32;
|
||||
pub const CM_NO_EDITTRUST: CERT_VIEWPROPERTIES_STRUCT_FLAGS = 128u32;
|
||||
pub const CM_NO_NAMECHANGE: CERT_VIEWPROPERTIES_STRUCT_FLAGS = 64u32;
|
||||
pub const CM_SHOW_HELP: CERT_VIEWPROPERTIES_STRUCT_FLAGS = 2u32;
|
||||
pub const CM_SHOW_HELPICON: CERT_VIEWPROPERTIES_STRUCT_FLAGS = 4u32;
|
||||
pub const CM_VIEWFLAGS_MASK: u32 = 16777215u32;
|
||||
pub const CRYPTDLG_ACTION_MASK: u32 = 4294901760u32;
|
||||
pub const CRYPTDLG_CACHE_ONLY_URL_RETRIEVAL: u32 = 268435456u32;
|
||||
pub const CRYPTDLG_DISABLE_AIA: u32 = 134217728u32;
|
||||
pub const CRYPTDLG_POLICY_MASK: u32 = 65535u32;
|
||||
pub const CRYPTDLG_REVOCATION_CACHE: u32 = 1073741824u32;
|
||||
pub const CRYPTDLG_REVOCATION_DEFAULT: u32 = 0u32;
|
||||
pub const CRYPTDLG_REVOCATION_NONE: u32 = 536870912u32;
|
||||
pub const CRYPTDLG_REVOCATION_ONLINE: u32 = 2147483648u32;
|
||||
pub const CRYPTUI_ACCEPT_DECLINE_STYLE: CRYPTUI_VIEWCERTIFICATE_FLAGS = 64u32;
|
||||
pub const CRYPTUI_CACHE_ONLY_URL_RETRIEVAL: CRYPTUI_VIEWCERTIFICATE_FLAGS = 262144u32;
|
||||
pub const CRYPTUI_CERT_MGR_PUBLISHER_TAB: u32 = 4u32;
|
||||
pub const CRYPTUI_CERT_MGR_SINGLE_TAB_FLAG: u32 = 32768u32;
|
||||
pub const CRYPTUI_CERT_MGR_TAB_MASK: u32 = 15u32;
|
||||
pub const CRYPTUI_DISABLE_ADDTOSTORE: CRYPTUI_VIEWCERTIFICATE_FLAGS = 16u32;
|
||||
pub const CRYPTUI_DISABLE_EDITPROPERTIES: CRYPTUI_VIEWCERTIFICATE_FLAGS = 4u32;
|
||||
pub const CRYPTUI_DISABLE_EXPORT: CRYPTUI_VIEWCERTIFICATE_FLAGS = 8192u32;
|
||||
pub const CRYPTUI_DISABLE_HTMLLINK: CRYPTUI_VIEWCERTIFICATE_FLAGS = 65536u32;
|
||||
pub const CRYPTUI_DISABLE_ISSUERSTATEMENT: CRYPTUI_VIEWCERTIFICATE_FLAGS = 131072u32;
|
||||
pub const CRYPTUI_DONT_OPEN_STORES: CRYPTUI_VIEWCERTIFICATE_FLAGS = 256u32;
|
||||
pub const CRYPTUI_ENABLE_ADDTOSTORE: CRYPTUI_VIEWCERTIFICATE_FLAGS = 32u32;
|
||||
pub const CRYPTUI_ENABLE_EDITPROPERTIES: CRYPTUI_VIEWCERTIFICATE_FLAGS = 8u32;
|
||||
pub const CRYPTUI_ENABLE_REVOCATION_CHECKING: CRYPTUI_VIEWCERTIFICATE_FLAGS = 2048u32;
|
||||
pub const CRYPTUI_ENABLE_REVOCATION_CHECK_CHAIN: CRYPTUI_VIEWCERTIFICATE_FLAGS = 32768u32;
|
||||
pub const CRYPTUI_ENABLE_REVOCATION_CHECK_CHAIN_EXCLUDE_ROOT: CRYPTUI_VIEWCERTIFICATE_FLAGS = 2048u32;
|
||||
pub const CRYPTUI_ENABLE_REVOCATION_CHECK_END_CERT: CRYPTUI_VIEWCERTIFICATE_FLAGS = 16384u32;
|
||||
pub const CRYPTUI_HIDE_DETAILPAGE: CRYPTUI_VIEWCERTIFICATE_FLAGS = 2u32;
|
||||
pub const CRYPTUI_HIDE_HIERARCHYPAGE: CRYPTUI_VIEWCERTIFICATE_FLAGS = 1u32;
|
||||
pub const CRYPTUI_IGNORE_UNTRUSTED_ROOT: CRYPTUI_VIEWCERTIFICATE_FLAGS = 128u32;
|
||||
pub const CRYPTUI_ONLY_OPEN_ROOT_STORE: CRYPTUI_VIEWCERTIFICATE_FLAGS = 512u32;
|
||||
pub const CRYPTUI_SELECT_EXPIRATION_COLUMN: u64 = 32u64;
|
||||
pub const CRYPTUI_SELECT_FRIENDLYNAME_COLUMN: u64 = 8u64;
|
||||
pub const CRYPTUI_SELECT_INTENDEDUSE_COLUMN: u64 = 4u64;
|
||||
pub const CRYPTUI_SELECT_ISSUEDBY_COLUMN: u64 = 2u64;
|
||||
pub const CRYPTUI_SELECT_ISSUEDTO_COLUMN: u64 = 1u64;
|
||||
pub const CRYPTUI_SELECT_LOCATION_COLUMN: u64 = 16u64;
|
||||
pub const CRYPTUI_WARN_REMOTE_TRUST: CRYPTUI_VIEWCERTIFICATE_FLAGS = 4096u32;
|
||||
pub const CRYPTUI_WARN_UNTRUSTED_ROOT: CRYPTUI_VIEWCERTIFICATE_FLAGS = 1024u32;
|
||||
pub const CRYPTUI_WIZ_DIGITAL_SIGN_ADD_CHAIN: CRYPTUI_WIZ_DIGITAL_ADDITIONAL_CERT_CHOICE = 1u32;
|
||||
pub const CRYPTUI_WIZ_DIGITAL_SIGN_ADD_CHAIN_NO_ROOT: CRYPTUI_WIZ_DIGITAL_ADDITIONAL_CERT_CHOICE = 2u32;
|
||||
pub const CRYPTUI_WIZ_DIGITAL_SIGN_ADD_NONE: CRYPTUI_WIZ_DIGITAL_ADDITIONAL_CERT_CHOICE = 0u32;
|
||||
pub const CRYPTUI_WIZ_DIGITAL_SIGN_CERT: CRYPTUI_WIZ_DIGITAL_SIGN = 1u32;
|
||||
pub const CRYPTUI_WIZ_DIGITAL_SIGN_COMMERCIAL: CRYPTUI_WIZ_DIGITAL_SIGN_SIG_TYPE = 1u32;
|
||||
pub const CRYPTUI_WIZ_DIGITAL_SIGN_EXCLUDE_PAGE_HASHES: u32 = 2u32;
|
||||
pub const CRYPTUI_WIZ_DIGITAL_SIGN_INCLUDE_PAGE_HASHES: u32 = 4u32;
|
||||
pub const CRYPTUI_WIZ_DIGITAL_SIGN_INDIVIDUAL: CRYPTUI_WIZ_DIGITAL_SIGN_SIG_TYPE = 2u32;
|
||||
pub const CRYPTUI_WIZ_DIGITAL_SIGN_NONE: CRYPTUI_WIZ_DIGITAL_SIGN = 0u32;
|
||||
pub const CRYPTUI_WIZ_DIGITAL_SIGN_PVK: CRYPTUI_WIZ_DIGITAL_SIGN = 3u32;
|
||||
pub const CRYPTUI_WIZ_DIGITAL_SIGN_PVK_FILE: CRYPTUI_WIZ_DIGITAL_SIGN_PVK_OPTION = 1u32;
|
||||
pub const CRYPTUI_WIZ_DIGITAL_SIGN_PVK_PROV: CRYPTUI_WIZ_DIGITAL_SIGN_PVK_OPTION = 2u32;
|
||||
pub const CRYPTUI_WIZ_DIGITAL_SIGN_STORE: CRYPTUI_WIZ_DIGITAL_SIGN = 2u32;
|
||||
pub const CRYPTUI_WIZ_DIGITAL_SIGN_SUBJECT_BLOB: CRYPTUI_WIZ_DIGITAL_SIGN_SUBJECT = 2u32;
|
||||
pub const CRYPTUI_WIZ_DIGITAL_SIGN_SUBJECT_FILE: CRYPTUI_WIZ_DIGITAL_SIGN_SUBJECT = 1u32;
|
||||
pub const CRYPTUI_WIZ_DIGITAL_SIGN_SUBJECT_NONE: CRYPTUI_WIZ_DIGITAL_SIGN_SUBJECT = 0u32;
|
||||
pub const CRYPTUI_WIZ_EXPORT_CERT_CONTEXT: CRYPTUI_WIZ_EXPORT_SUBJECT = 1u32;
|
||||
pub const CRYPTUI_WIZ_EXPORT_CERT_STORE: CRYPTUI_WIZ_EXPORT_SUBJECT = 4u32;
|
||||
pub const CRYPTUI_WIZ_EXPORT_CERT_STORE_CERTIFICATES_ONLY: CRYPTUI_WIZ_EXPORT_SUBJECT = 5u32;
|
||||
pub const CRYPTUI_WIZ_EXPORT_CRL_CONTEXT: CRYPTUI_WIZ_EXPORT_SUBJECT = 3u32;
|
||||
pub const CRYPTUI_WIZ_EXPORT_CTL_CONTEXT: CRYPTUI_WIZ_EXPORT_SUBJECT = 2u32;
|
||||
pub const CRYPTUI_WIZ_EXPORT_FORMAT_BASE64: CRYPTUI_WIZ_EXPORT_FORMAT = 4u32;
|
||||
pub const CRYPTUI_WIZ_EXPORT_FORMAT_CRL: CRYPTUI_WIZ_EXPORT_FORMAT = 6u32;
|
||||
pub const CRYPTUI_WIZ_EXPORT_FORMAT_CTL: CRYPTUI_WIZ_EXPORT_FORMAT = 7u32;
|
||||
pub const CRYPTUI_WIZ_EXPORT_FORMAT_DER: CRYPTUI_WIZ_EXPORT_FORMAT = 1u32;
|
||||
pub const CRYPTUI_WIZ_EXPORT_FORMAT_PFX: CRYPTUI_WIZ_EXPORT_FORMAT = 2u32;
|
||||
pub const CRYPTUI_WIZ_EXPORT_FORMAT_PKCS7: CRYPTUI_WIZ_EXPORT_FORMAT = 3u32;
|
||||
pub const CRYPTUI_WIZ_EXPORT_FORMAT_SERIALIZED_CERT_STORE: u32 = 5u32;
|
||||
pub const CRYPTUI_WIZ_EXPORT_NO_DELETE_PRIVATE_KEY: CRYPTUI_WIZ_FLAGS = 512u32;
|
||||
pub const CRYPTUI_WIZ_EXPORT_PRIVATE_KEY: CRYPTUI_WIZ_FLAGS = 256u32;
|
||||
pub const CRYPTUI_WIZ_IGNORE_NO_UI_FLAG_FOR_CSPS: CRYPTUI_WIZ_FLAGS = 2u32;
|
||||
pub const CRYPTUI_WIZ_IMPORT_ALLOW_CERT: CRYPTUI_WIZ_FLAGS = 131072u32;
|
||||
pub const CRYPTUI_WIZ_IMPORT_ALLOW_CRL: CRYPTUI_WIZ_FLAGS = 262144u32;
|
||||
pub const CRYPTUI_WIZ_IMPORT_ALLOW_CTL: CRYPTUI_WIZ_FLAGS = 524288u32;
|
||||
pub const CRYPTUI_WIZ_IMPORT_NO_CHANGE_DEST_STORE: CRYPTUI_WIZ_FLAGS = 65536u32;
|
||||
pub const CRYPTUI_WIZ_IMPORT_REMOTE_DEST_STORE: CRYPTUI_WIZ_FLAGS = 4194304u32;
|
||||
pub const CRYPTUI_WIZ_IMPORT_SUBJECT_CERT_CONTEXT: CRYPTUI_WIZ_IMPORT_SUBJECT_OPTION = 2u32;
|
||||
pub const CRYPTUI_WIZ_IMPORT_SUBJECT_CERT_STORE: CRYPTUI_WIZ_IMPORT_SUBJECT_OPTION = 5u32;
|
||||
pub const CRYPTUI_WIZ_IMPORT_SUBJECT_CRL_CONTEXT: CRYPTUI_WIZ_IMPORT_SUBJECT_OPTION = 4u32;
|
||||
pub const CRYPTUI_WIZ_IMPORT_SUBJECT_CTL_CONTEXT: CRYPTUI_WIZ_IMPORT_SUBJECT_OPTION = 3u32;
|
||||
pub const CRYPTUI_WIZ_IMPORT_SUBJECT_FILE: CRYPTUI_WIZ_IMPORT_SUBJECT_OPTION = 1u32;
|
||||
pub const CRYPTUI_WIZ_IMPORT_TO_CURRENTUSER: CRYPTUI_WIZ_FLAGS = 2097152u32;
|
||||
pub const CRYPTUI_WIZ_IMPORT_TO_LOCALMACHINE: CRYPTUI_WIZ_FLAGS = 1048576u32;
|
||||
pub const CRYPTUI_WIZ_NO_UI: CRYPTUI_WIZ_FLAGS = 1u32;
|
||||
pub const CRYPTUI_WIZ_NO_UI_EXCEPT_CSP: CRYPTUI_WIZ_FLAGS = 3u32;
|
||||
pub const CRYTPDLG_FLAGS_MASK: u32 = 4278190080u32;
|
||||
pub const CSS_ALLOWMULTISELECT: CERT_SELECT_STRUCT_FLAGS = 4u32;
|
||||
pub const CSS_ENABLEHOOK: CERT_SELECT_STRUCT_FLAGS = 2u32;
|
||||
pub const CSS_ENABLETEMPLATE: CERT_SELECT_STRUCT_FLAGS = 32u32;
|
||||
pub const CSS_ENABLETEMPLATEHANDLE: CERT_SELECT_STRUCT_FLAGS = 64u32;
|
||||
pub const CSS_HIDE_PROPERTIES: CERT_SELECT_STRUCT_FLAGS = 1u32;
|
||||
pub const CSS_SELECTCERT_MASK: u32 = 16777215u32;
|
||||
pub const CSS_SHOW_HELP: CERT_SELECT_STRUCT_FLAGS = 16u32;
|
||||
pub const CTL_MODIFY_REQUEST_ADD_NOT_TRUSTED: CTL_MODIFY_REQUEST_OPERATION = 1u32;
|
||||
pub const CTL_MODIFY_REQUEST_ADD_TRUSTED: CTL_MODIFY_REQUEST_OPERATION = 3u32;
|
||||
pub const CTL_MODIFY_REQUEST_REMOVE: CTL_MODIFY_REQUEST_OPERATION = 2u32;
|
||||
pub const POLICY_IGNORE_NON_CRITICAL_BC: u32 = 1u32;
|
||||
pub const SELCERT_ALGORITHM: u32 = 105u32;
|
||||
pub const SELCERT_CERTLIST: u32 = 102u32;
|
||||
pub const SELCERT_FINEPRINT: u32 = 101u32;
|
||||
pub const SELCERT_ISSUED_TO: u32 = 103u32;
|
||||
pub const SELCERT_PROPERTIES: u32 = 100u32;
|
||||
pub const SELCERT_SERIAL_NUM: u32 = 106u32;
|
||||
pub const SELCERT_THUMBPRINT: u32 = 107u32;
|
||||
pub const SELCERT_VALIDITY: u32 = 104u32;
|
||||
pub const szCERT_CERTIFICATE_ACTION_VERIFY: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("{7801ebd0-cf4b-11d0-851f-0060979387ea}");
|
||||
pub type CERT_SELECT_STRUCT_FLAGS = u32;
|
||||
pub type CERT_VIEWPROPERTIES_STRUCT_FLAGS = u32;
|
||||
pub type CRYPTUI_VIEWCERTIFICATE_FLAGS = u32;
|
||||
pub type CRYPTUI_WIZ_DIGITAL_ADDITIONAL_CERT_CHOICE = u32;
|
||||
pub type CRYPTUI_WIZ_DIGITAL_SIGN = u32;
|
||||
pub type CRYPTUI_WIZ_DIGITAL_SIGN_PVK_OPTION = u32;
|
||||
pub type CRYPTUI_WIZ_DIGITAL_SIGN_SIG_TYPE = u32;
|
||||
pub type CRYPTUI_WIZ_DIGITAL_SIGN_SUBJECT = u32;
|
||||
pub type CRYPTUI_WIZ_EXPORT_FORMAT = u32;
|
||||
pub type CRYPTUI_WIZ_EXPORT_SUBJECT = u32;
|
||||
pub type CRYPTUI_WIZ_FLAGS = u32;
|
||||
pub type CRYPTUI_WIZ_IMPORT_SUBJECT_OPTION = u32;
|
||||
pub type CTL_MODIFY_REQUEST_OPERATION = u32;
|
||||
#[repr(C)]
|
||||
pub struct CERT_FILTER_DATA {
|
||||
pub dwSize: u32,
|
||||
pub cExtensionChecks: u32,
|
||||
pub arrayExtensionChecks: *mut CERT_FILTER_EXTENSION_MATCH,
|
||||
pub dwCheckingFlags: u32,
|
||||
}
|
||||
impl ::core::marker::Copy for CERT_FILTER_DATA {}
|
||||
impl ::core::clone::Clone for CERT_FILTER_DATA {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct CERT_FILTER_EXTENSION_MATCH {
|
||||
pub szExtensionOID: ::windows_sys::core::PCSTR,
|
||||
pub dwTestOperation: u32,
|
||||
pub pbTestData: *mut u8,
|
||||
pub cbTestData: u32,
|
||||
}
|
||||
impl ::core::marker::Copy for CERT_FILTER_EXTENSION_MATCH {}
|
||||
impl ::core::clone::Clone for CERT_FILTER_EXTENSION_MATCH {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub struct CERT_SELECTUI_INPUT {
|
||||
pub hStore: super::HCERTSTORE,
|
||||
pub prgpChain: *mut *mut super::CERT_CHAIN_CONTEXT,
|
||||
pub cChain: u32,
|
||||
}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::marker::Copy for CERT_SELECTUI_INPUT {}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::clone::Clone for CERT_SELECTUI_INPUT {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub struct CERT_SELECT_STRUCT_A {
|
||||
pub dwSize: u32,
|
||||
pub hwndParent: super::super::super::Foundation::HWND,
|
||||
pub hInstance: super::super::super::Foundation::HINSTANCE,
|
||||
pub pTemplateName: ::windows_sys::core::PCSTR,
|
||||
pub dwFlags: CERT_SELECT_STRUCT_FLAGS,
|
||||
pub szTitle: ::windows_sys::core::PCSTR,
|
||||
pub cCertStore: u32,
|
||||
pub arrayCertStore: *mut super::HCERTSTORE,
|
||||
pub szPurposeOid: ::windows_sys::core::PCSTR,
|
||||
pub cCertContext: u32,
|
||||
pub arrayCertContext: *mut *mut super::CERT_CONTEXT,
|
||||
pub lCustData: super::super::super::Foundation::LPARAM,
|
||||
pub pfnHook: PFNCMHOOKPROC,
|
||||
pub pfnFilter: PFNCMFILTERPROC,
|
||||
pub szHelpFileName: ::windows_sys::core::PCSTR,
|
||||
pub dwHelpId: u32,
|
||||
pub hprov: usize,
|
||||
}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::marker::Copy for CERT_SELECT_STRUCT_A {}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::clone::Clone for CERT_SELECT_STRUCT_A {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub struct CERT_SELECT_STRUCT_W {
|
||||
pub dwSize: u32,
|
||||
pub hwndParent: super::super::super::Foundation::HWND,
|
||||
pub hInstance: super::super::super::Foundation::HINSTANCE,
|
||||
pub pTemplateName: ::windows_sys::core::PCWSTR,
|
||||
pub dwFlags: CERT_SELECT_STRUCT_FLAGS,
|
||||
pub szTitle: ::windows_sys::core::PCWSTR,
|
||||
pub cCertStore: u32,
|
||||
pub arrayCertStore: *mut super::HCERTSTORE,
|
||||
pub szPurposeOid: ::windows_sys::core::PCSTR,
|
||||
pub cCertContext: u32,
|
||||
pub arrayCertContext: *mut *mut super::CERT_CONTEXT,
|
||||
pub lCustData: super::super::super::Foundation::LPARAM,
|
||||
pub pfnHook: PFNCMHOOKPROC,
|
||||
pub pfnFilter: PFNCMFILTERPROC,
|
||||
pub szHelpFileName: ::windows_sys::core::PCWSTR,
|
||||
pub dwHelpId: u32,
|
||||
pub hprov: usize,
|
||||
}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::marker::Copy for CERT_SELECT_STRUCT_W {}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::clone::Clone for CERT_SELECT_STRUCT_W {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub struct CERT_VERIFY_CERTIFICATE_TRUST {
|
||||
pub cbSize: u32,
|
||||
pub pccert: *const super::CERT_CONTEXT,
|
||||
pub dwFlags: u32,
|
||||
pub dwIgnoreErr: u32,
|
||||
pub pdwErrors: *mut u32,
|
||||
pub pszUsageOid: ::windows_sys::core::PSTR,
|
||||
pub hprov: usize,
|
||||
pub cRootStores: u32,
|
||||
pub rghstoreRoots: *mut super::HCERTSTORE,
|
||||
pub cStores: u32,
|
||||
pub rghstoreCAs: *mut super::HCERTSTORE,
|
||||
pub cTrustStores: u32,
|
||||
pub rghstoreTrust: *mut super::HCERTSTORE,
|
||||
pub lCustData: super::super::super::Foundation::LPARAM,
|
||||
pub pfnTrustHelper: PFNTRUSTHELPER,
|
||||
pub pcChain: *mut u32,
|
||||
pub prgChain: *mut *mut *mut super::CERT_CONTEXT,
|
||||
pub prgdwErrors: *mut *mut u32,
|
||||
pub prgpbTrustInfo: *mut *mut super::CRYPT_INTEGER_BLOB,
|
||||
}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::marker::Copy for CERT_VERIFY_CERTIFICATE_TRUST {}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::clone::Clone for CERT_VERIFY_CERTIFICATE_TRUST {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_UI_Controls\"`, `\"Win32_UI_WindowsAndMessaging\"`"]
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
|
||||
pub struct CERT_VIEWPROPERTIES_STRUCT_A {
|
||||
pub dwSize: u32,
|
||||
pub hwndParent: super::super::super::Foundation::HWND,
|
||||
pub hInstance: super::super::super::Foundation::HINSTANCE,
|
||||
pub dwFlags: CERT_VIEWPROPERTIES_STRUCT_FLAGS,
|
||||
pub szTitle: ::windows_sys::core::PCSTR,
|
||||
pub pCertContext: *const super::CERT_CONTEXT,
|
||||
pub arrayPurposes: *mut ::windows_sys::core::PSTR,
|
||||
pub cArrayPurposes: u32,
|
||||
pub cRootStores: u32,
|
||||
pub rghstoreRoots: *mut super::HCERTSTORE,
|
||||
pub cStores: u32,
|
||||
pub rghstoreCAs: *mut super::HCERTSTORE,
|
||||
pub cTrustStores: u32,
|
||||
pub rghstoreTrust: *mut super::HCERTSTORE,
|
||||
pub hprov: usize,
|
||||
pub lCustData: super::super::super::Foundation::LPARAM,
|
||||
pub dwPad: u32,
|
||||
pub szHelpFileName: ::windows_sys::core::PCSTR,
|
||||
pub dwHelpId: u32,
|
||||
pub nStartPage: u32,
|
||||
pub cArrayPropSheetPages: u32,
|
||||
pub arrayPropSheetPages: *mut super::super::super::UI::Controls::PROPSHEETPAGEA,
|
||||
}
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
|
||||
impl ::core::marker::Copy for CERT_VIEWPROPERTIES_STRUCT_A {}
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
|
||||
impl ::core::clone::Clone for CERT_VIEWPROPERTIES_STRUCT_A {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_UI_Controls\"`, `\"Win32_UI_WindowsAndMessaging\"`"]
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
|
||||
pub struct CERT_VIEWPROPERTIES_STRUCT_W {
|
||||
pub dwSize: u32,
|
||||
pub hwndParent: super::super::super::Foundation::HWND,
|
||||
pub hInstance: super::super::super::Foundation::HINSTANCE,
|
||||
pub dwFlags: CERT_VIEWPROPERTIES_STRUCT_FLAGS,
|
||||
pub szTitle: ::windows_sys::core::PCWSTR,
|
||||
pub pCertContext: *const super::CERT_CONTEXT,
|
||||
pub arrayPurposes: *mut ::windows_sys::core::PSTR,
|
||||
pub cArrayPurposes: u32,
|
||||
pub cRootStores: u32,
|
||||
pub rghstoreRoots: *mut super::HCERTSTORE,
|
||||
pub cStores: u32,
|
||||
pub rghstoreCAs: *mut super::HCERTSTORE,
|
||||
pub cTrustStores: u32,
|
||||
pub rghstoreTrust: *mut super::HCERTSTORE,
|
||||
pub hprov: usize,
|
||||
pub lCustData: super::super::super::Foundation::LPARAM,
|
||||
pub dwPad: u32,
|
||||
pub szHelpFileName: ::windows_sys::core::PCWSTR,
|
||||
pub dwHelpId: u32,
|
||||
pub nStartPage: u32,
|
||||
pub cArrayPropSheetPages: u32,
|
||||
pub arrayPropSheetPages: *mut super::super::super::UI::Controls::PROPSHEETPAGEA,
|
||||
}
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
|
||||
impl ::core::marker::Copy for CERT_VIEWPROPERTIES_STRUCT_W {}
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
|
||||
impl ::core::clone::Clone for CERT_VIEWPROPERTIES_STRUCT_W {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub struct CRYPTUI_CERT_MGR_STRUCT {
|
||||
pub dwSize: u32,
|
||||
pub hwndParent: super::super::super::Foundation::HWND,
|
||||
pub dwFlags: u32,
|
||||
pub pwszTitle: ::windows_sys::core::PCWSTR,
|
||||
pub pszInitUsageOID: ::windows_sys::core::PCSTR,
|
||||
}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::marker::Copy for CRYPTUI_CERT_MGR_STRUCT {}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::clone::Clone for CRYPTUI_CERT_MGR_STRUCT {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub struct CRYPTUI_INITDIALOG_STRUCT {
|
||||
pub lParam: super::super::super::Foundation::LPARAM,
|
||||
pub pCertContext: *const super::CERT_CONTEXT,
|
||||
}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::marker::Copy for CRYPTUI_INITDIALOG_STRUCT {}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::clone::Clone for CRYPTUI_INITDIALOG_STRUCT {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Security_WinTrust\"`, `\"Win32_UI_Controls\"`, `\"Win32_UI_WindowsAndMessaging\"`"]
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip", feature = "Win32_Security_WinTrust", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
|
||||
pub struct CRYPTUI_VIEWCERTIFICATE_STRUCTA {
|
||||
pub dwSize: u32,
|
||||
pub hwndParent: super::super::super::Foundation::HWND,
|
||||
pub dwFlags: CRYPTUI_VIEWCERTIFICATE_FLAGS,
|
||||
pub szTitle: ::windows_sys::core::PCSTR,
|
||||
pub pCertContext: *const super::CERT_CONTEXT,
|
||||
pub rgszPurposes: *const ::windows_sys::core::PCSTR,
|
||||
pub cPurposes: u32,
|
||||
pub Anonymous: CRYPTUI_VIEWCERTIFICATE_STRUCTA_0,
|
||||
pub fpCryptProviderDataTrustedUsage: super::super::super::Foundation::BOOL,
|
||||
pub idxSigner: u32,
|
||||
pub idxCert: u32,
|
||||
pub fCounterSigner: super::super::super::Foundation::BOOL,
|
||||
pub idxCounterSigner: u32,
|
||||
pub cStores: u32,
|
||||
pub rghStores: *mut super::HCERTSTORE,
|
||||
pub cPropSheetPages: u32,
|
||||
pub rgPropSheetPages: *mut super::super::super::UI::Controls::PROPSHEETPAGEA,
|
||||
pub nStartPage: u32,
|
||||
}
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip", feature = "Win32_Security_WinTrust", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
|
||||
impl ::core::marker::Copy for CRYPTUI_VIEWCERTIFICATE_STRUCTA {}
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip", feature = "Win32_Security_WinTrust", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
|
||||
impl ::core::clone::Clone for CRYPTUI_VIEWCERTIFICATE_STRUCTA {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Security_WinTrust\"`, `\"Win32_UI_Controls\"`, `\"Win32_UI_WindowsAndMessaging\"`"]
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip", feature = "Win32_Security_WinTrust", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
|
||||
pub union CRYPTUI_VIEWCERTIFICATE_STRUCTA_0 {
|
||||
pub pCryptProviderData: *const super::super::WinTrust::CRYPT_PROVIDER_DATA,
|
||||
pub hWVTStateData: super::super::super::Foundation::HANDLE,
|
||||
}
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip", feature = "Win32_Security_WinTrust", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
|
||||
impl ::core::marker::Copy for CRYPTUI_VIEWCERTIFICATE_STRUCTA_0 {}
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip", feature = "Win32_Security_WinTrust", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
|
||||
impl ::core::clone::Clone for CRYPTUI_VIEWCERTIFICATE_STRUCTA_0 {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Security_WinTrust\"`, `\"Win32_UI_Controls\"`, `\"Win32_UI_WindowsAndMessaging\"`"]
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip", feature = "Win32_Security_WinTrust", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
|
||||
pub struct CRYPTUI_VIEWCERTIFICATE_STRUCTW {
|
||||
pub dwSize: u32,
|
||||
pub hwndParent: super::super::super::Foundation::HWND,
|
||||
pub dwFlags: CRYPTUI_VIEWCERTIFICATE_FLAGS,
|
||||
pub szTitle: ::windows_sys::core::PCWSTR,
|
||||
pub pCertContext: *const super::CERT_CONTEXT,
|
||||
pub rgszPurposes: *const ::windows_sys::core::PCSTR,
|
||||
pub cPurposes: u32,
|
||||
pub Anonymous: CRYPTUI_VIEWCERTIFICATE_STRUCTW_0,
|
||||
pub fpCryptProviderDataTrustedUsage: super::super::super::Foundation::BOOL,
|
||||
pub idxSigner: u32,
|
||||
pub idxCert: u32,
|
||||
pub fCounterSigner: super::super::super::Foundation::BOOL,
|
||||
pub idxCounterSigner: u32,
|
||||
pub cStores: u32,
|
||||
pub rghStores: *mut super::HCERTSTORE,
|
||||
pub cPropSheetPages: u32,
|
||||
pub rgPropSheetPages: *mut super::super::super::UI::Controls::PROPSHEETPAGEW,
|
||||
pub nStartPage: u32,
|
||||
}
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip", feature = "Win32_Security_WinTrust", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
|
||||
impl ::core::marker::Copy for CRYPTUI_VIEWCERTIFICATE_STRUCTW {}
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip", feature = "Win32_Security_WinTrust", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
|
||||
impl ::core::clone::Clone for CRYPTUI_VIEWCERTIFICATE_STRUCTW {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Security_WinTrust\"`, `\"Win32_UI_Controls\"`, `\"Win32_UI_WindowsAndMessaging\"`"]
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip", feature = "Win32_Security_WinTrust", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
|
||||
pub union CRYPTUI_VIEWCERTIFICATE_STRUCTW_0 {
|
||||
pub pCryptProviderData: *const super::super::WinTrust::CRYPT_PROVIDER_DATA,
|
||||
pub hWVTStateData: super::super::super::Foundation::HANDLE,
|
||||
}
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip", feature = "Win32_Security_WinTrust", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
|
||||
impl ::core::marker::Copy for CRYPTUI_VIEWCERTIFICATE_STRUCTW_0 {}
|
||||
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip", feature = "Win32_Security_WinTrust", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
|
||||
impl ::core::clone::Clone for CRYPTUI_VIEWCERTIFICATE_STRUCTW_0 {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct CRYPTUI_WIZ_DIGITAL_SIGN_BLOB_INFO {
|
||||
pub dwSize: u32,
|
||||
pub pGuidSubject: *mut ::windows_sys::core::GUID,
|
||||
pub cbBlob: u32,
|
||||
pub pbBlob: *mut u8,
|
||||
pub pwszDisplayName: ::windows_sys::core::PCWSTR,
|
||||
}
|
||||
impl ::core::marker::Copy for CRYPTUI_WIZ_DIGITAL_SIGN_BLOB_INFO {}
|
||||
impl ::core::clone::Clone for CRYPTUI_WIZ_DIGITAL_SIGN_BLOB_INFO {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct CRYPTUI_WIZ_DIGITAL_SIGN_CERT_PVK_INFO {
|
||||
pub dwSize: u32,
|
||||
pub pwszSigningCertFileName: ::windows_sys::core::PWSTR,
|
||||
pub dwPvkChoice: CRYPTUI_WIZ_DIGITAL_SIGN_PVK_OPTION,
|
||||
pub Anonymous: CRYPTUI_WIZ_DIGITAL_SIGN_CERT_PVK_INFO_0,
|
||||
}
|
||||
impl ::core::marker::Copy for CRYPTUI_WIZ_DIGITAL_SIGN_CERT_PVK_INFO {}
|
||||
impl ::core::clone::Clone for CRYPTUI_WIZ_DIGITAL_SIGN_CERT_PVK_INFO {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub union CRYPTUI_WIZ_DIGITAL_SIGN_CERT_PVK_INFO_0 {
|
||||
pub pPvkFileInfo: *mut CRYPTUI_WIZ_DIGITAL_SIGN_PVK_FILE_INFO,
|
||||
pub pPvkProvInfo: *mut super::CRYPT_KEY_PROV_INFO,
|
||||
}
|
||||
impl ::core::marker::Copy for CRYPTUI_WIZ_DIGITAL_SIGN_CERT_PVK_INFO_0 {}
|
||||
impl ::core::clone::Clone for CRYPTUI_WIZ_DIGITAL_SIGN_CERT_PVK_INFO_0 {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct CRYPTUI_WIZ_DIGITAL_SIGN_CONTEXT {
|
||||
pub dwSize: u32,
|
||||
pub cbBlob: u32,
|
||||
pub pbBlob: *mut u8,
|
||||
}
|
||||
impl ::core::marker::Copy for CRYPTUI_WIZ_DIGITAL_SIGN_CONTEXT {}
|
||||
impl ::core::clone::Clone for CRYPTUI_WIZ_DIGITAL_SIGN_CONTEXT {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct CRYPTUI_WIZ_DIGITAL_SIGN_EXTENDED_INFO {
|
||||
pub dwSize: u32,
|
||||
pub dwAttrFlags: CRYPTUI_WIZ_DIGITAL_SIGN_SIG_TYPE,
|
||||
pub pwszDescription: ::windows_sys::core::PCWSTR,
|
||||
pub pwszMoreInfoLocation: ::windows_sys::core::PCWSTR,
|
||||
pub pszHashAlg: ::windows_sys::core::PCSTR,
|
||||
pub pwszSigningCertDisplayString: ::windows_sys::core::PCWSTR,
|
||||
pub hAdditionalCertStore: super::HCERTSTORE,
|
||||
pub psAuthenticated: *mut super::CRYPT_ATTRIBUTES,
|
||||
pub psUnauthenticated: *mut super::CRYPT_ATTRIBUTES,
|
||||
}
|
||||
impl ::core::marker::Copy for CRYPTUI_WIZ_DIGITAL_SIGN_EXTENDED_INFO {}
|
||||
impl ::core::clone::Clone for CRYPTUI_WIZ_DIGITAL_SIGN_EXTENDED_INFO {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub struct CRYPTUI_WIZ_DIGITAL_SIGN_INFO {
|
||||
pub dwSize: u32,
|
||||
pub dwSubjectChoice: CRYPTUI_WIZ_DIGITAL_SIGN_SUBJECT,
|
||||
pub Anonymous1: CRYPTUI_WIZ_DIGITAL_SIGN_INFO_0,
|
||||
pub dwSigningCertChoice: CRYPTUI_WIZ_DIGITAL_SIGN,
|
||||
pub Anonymous2: CRYPTUI_WIZ_DIGITAL_SIGN_INFO_1,
|
||||
pub pwszTimestampURL: ::windows_sys::core::PCWSTR,
|
||||
pub dwAdditionalCertChoice: CRYPTUI_WIZ_DIGITAL_ADDITIONAL_CERT_CHOICE,
|
||||
pub pSignExtInfo: *mut CRYPTUI_WIZ_DIGITAL_SIGN_EXTENDED_INFO,
|
||||
}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::marker::Copy for CRYPTUI_WIZ_DIGITAL_SIGN_INFO {}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::clone::Clone for CRYPTUI_WIZ_DIGITAL_SIGN_INFO {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub union CRYPTUI_WIZ_DIGITAL_SIGN_INFO_0 {
|
||||
pub pwszFileName: ::windows_sys::core::PCWSTR,
|
||||
pub pSignBlobInfo: *mut CRYPTUI_WIZ_DIGITAL_SIGN_BLOB_INFO,
|
||||
}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::marker::Copy for CRYPTUI_WIZ_DIGITAL_SIGN_INFO_0 {}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::clone::Clone for CRYPTUI_WIZ_DIGITAL_SIGN_INFO_0 {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub union CRYPTUI_WIZ_DIGITAL_SIGN_INFO_1 {
|
||||
pub pSigningCertContext: *const super::CERT_CONTEXT,
|
||||
pub pSigningCertStore: *mut CRYPTUI_WIZ_DIGITAL_SIGN_STORE_INFO,
|
||||
pub pSigningCertPvkInfo: *mut CRYPTUI_WIZ_DIGITAL_SIGN_CERT_PVK_INFO,
|
||||
}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::marker::Copy for CRYPTUI_WIZ_DIGITAL_SIGN_INFO_1 {}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::clone::Clone for CRYPTUI_WIZ_DIGITAL_SIGN_INFO_1 {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct CRYPTUI_WIZ_DIGITAL_SIGN_PVK_FILE_INFO {
|
||||
pub dwSize: u32,
|
||||
pub pwszPvkFileName: ::windows_sys::core::PWSTR,
|
||||
pub pwszProvName: ::windows_sys::core::PWSTR,
|
||||
pub dwProvType: u32,
|
||||
}
|
||||
impl ::core::marker::Copy for CRYPTUI_WIZ_DIGITAL_SIGN_PVK_FILE_INFO {}
|
||||
impl ::core::clone::Clone for CRYPTUI_WIZ_DIGITAL_SIGN_PVK_FILE_INFO {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub struct CRYPTUI_WIZ_DIGITAL_SIGN_STORE_INFO {
|
||||
pub dwSize: u32,
|
||||
pub cCertStore: u32,
|
||||
pub rghCertStore: *mut super::HCERTSTORE,
|
||||
pub pFilterCallback: PFNCFILTERPROC,
|
||||
pub pvCallbackData: *mut ::core::ffi::c_void,
|
||||
}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::marker::Copy for CRYPTUI_WIZ_DIGITAL_SIGN_STORE_INFO {}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::clone::Clone for CRYPTUI_WIZ_DIGITAL_SIGN_STORE_INFO {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub struct CRYPTUI_WIZ_EXPORT_CERTCONTEXT_INFO {
|
||||
pub dwSize: u32,
|
||||
pub dwExportFormat: CRYPTUI_WIZ_EXPORT_FORMAT,
|
||||
pub fExportChain: super::super::super::Foundation::BOOL,
|
||||
pub fExportPrivateKeys: super::super::super::Foundation::BOOL,
|
||||
pub pwszPassword: ::windows_sys::core::PCWSTR,
|
||||
pub fStrongEncryption: super::super::super::Foundation::BOOL,
|
||||
}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::marker::Copy for CRYPTUI_WIZ_EXPORT_CERTCONTEXT_INFO {}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::clone::Clone for CRYPTUI_WIZ_EXPORT_CERTCONTEXT_INFO {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub struct CRYPTUI_WIZ_EXPORT_INFO {
|
||||
pub dwSize: u32,
|
||||
pub pwszExportFileName: ::windows_sys::core::PCWSTR,
|
||||
pub dwSubjectChoice: CRYPTUI_WIZ_EXPORT_SUBJECT,
|
||||
pub Anonymous: CRYPTUI_WIZ_EXPORT_INFO_0,
|
||||
pub cStores: u32,
|
||||
pub rghStores: *mut super::HCERTSTORE,
|
||||
}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::marker::Copy for CRYPTUI_WIZ_EXPORT_INFO {}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::clone::Clone for CRYPTUI_WIZ_EXPORT_INFO {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub union CRYPTUI_WIZ_EXPORT_INFO_0 {
|
||||
pub pCertContext: *const super::CERT_CONTEXT,
|
||||
pub pCTLContext: *mut super::CTL_CONTEXT,
|
||||
pub pCRLContext: *mut super::CRL_CONTEXT,
|
||||
pub hCertStore: super::HCERTSTORE,
|
||||
}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::marker::Copy for CRYPTUI_WIZ_EXPORT_INFO_0 {}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::clone::Clone for CRYPTUI_WIZ_EXPORT_INFO_0 {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub struct CRYPTUI_WIZ_IMPORT_SRC_INFO {
|
||||
pub dwSize: u32,
|
||||
pub dwSubjectChoice: CRYPTUI_WIZ_IMPORT_SUBJECT_OPTION,
|
||||
pub Anonymous: CRYPTUI_WIZ_IMPORT_SRC_INFO_0,
|
||||
pub dwFlags: super::CRYPT_KEY_FLAGS,
|
||||
pub pwszPassword: ::windows_sys::core::PCWSTR,
|
||||
}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::marker::Copy for CRYPTUI_WIZ_IMPORT_SRC_INFO {}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::clone::Clone for CRYPTUI_WIZ_IMPORT_SRC_INFO {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub union CRYPTUI_WIZ_IMPORT_SRC_INFO_0 {
|
||||
pub pwszFileName: ::windows_sys::core::PCWSTR,
|
||||
pub pCertContext: *const super::CERT_CONTEXT,
|
||||
pub pCTLContext: *mut super::CTL_CONTEXT,
|
||||
pub pCRLContext: *mut super::CRL_CONTEXT,
|
||||
pub hCertStore: super::HCERTSTORE,
|
||||
}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::marker::Copy for CRYPTUI_WIZ_IMPORT_SRC_INFO_0 {}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::clone::Clone for CRYPTUI_WIZ_IMPORT_SRC_INFO_0 {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub struct CTL_MODIFY_REQUEST {
|
||||
pub pccert: *const super::CERT_CONTEXT,
|
||||
pub dwOperation: CTL_MODIFY_REQUEST_OPERATION,
|
||||
pub dwError: u32,
|
||||
}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::marker::Copy for CTL_MODIFY_REQUEST {}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::clone::Clone for CTL_MODIFY_REQUEST {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub type PFNCFILTERPROC = ::core::option::Option<unsafe extern "system" fn(pcertcontext: *const super::CERT_CONTEXT, pfinitialselectedcert: *mut super::super::super::Foundation::BOOL, pvcallbackdata: *mut ::core::ffi::c_void) -> super::super::super::Foundation::BOOL>;
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub type PFNCMFILTERPROC = ::core::option::Option<unsafe extern "system" fn(pcertcontext: *const super::CERT_CONTEXT, param1: super::super::super::Foundation::LPARAM, param2: u32, param3: u32) -> super::super::super::Foundation::BOOL>;
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub type PFNCMHOOKPROC = ::core::option::Option<unsafe extern "system" fn(hwnddialog: super::super::super::Foundation::HWND, message: u32, wparam: super::super::super::Foundation::WPARAM, lparam: super::super::super::Foundation::LPARAM) -> u32>;
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub type PFNTRUSTHELPER = ::core::option::Option<unsafe extern "system" fn(pcertcontext: *const super::CERT_CONTEXT, lcustdata: super::super::super::Foundation::LPARAM, fleafcertificate: super::super::super::Foundation::BOOL, pbtrustblob: *mut u8) -> ::windows_sys::core::HRESULT>;
|
||||
10500
third-party/vendor/windows-sys/src/Windows/Win32/Security/Cryptography/mod.rs
vendored
Normal file
10500
third-party/vendor/windows-sys/src/Windows/Win32/Security/Cryptography/mod.rs
vendored
Normal file
File diff suppressed because it is too large
Load diff
227
third-party/vendor/windows-sys/src/Windows/Win32/Security/DiagnosticDataQuery/mod.rs
vendored
Normal file
227
third-party/vendor/windows-sys/src/Windows/Win32/Security/DiagnosticDataQuery/mod.rs
vendored
Normal file
|
|
@ -0,0 +1,227 @@
|
|||
::windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqCancelDiagnosticRecordOperation(hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqCloseSession(hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqCreateSession(accesslevel : DdqAccessLevel, hsession : *mut super:: HDIAGNOSTIC_DATA_QUERY_SESSION) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqExtractDiagnosticReport(hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION, reportstoretype : u32, reportkey : ::windows_sys::core::PCWSTR, destinationpath : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqFreeDiagnosticRecordLocaleTags(htagdescription : super:: HDIAGNOSTIC_EVENT_TAG_DESCRIPTION) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqFreeDiagnosticRecordPage(hrecord : super:: HDIAGNOSTIC_RECORD) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqFreeDiagnosticRecordProducerCategories(hcategorydescription : super:: HDIAGNOSTIC_EVENT_CATEGORY_DESCRIPTION) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqFreeDiagnosticRecordProducers(hproducerdescription : super:: HDIAGNOSTIC_EVENT_PRODUCER_DESCRIPTION) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqFreeDiagnosticReport(hreport : super:: HDIAGNOSTIC_REPORT) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqGetDiagnosticDataAccessLevelAllowed(accesslevel : *mut DdqAccessLevel) -> ::windows_sys::core::HRESULT);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("diagnosticdataquery.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DdqGetDiagnosticRecordAtIndex(hrecord : super:: HDIAGNOSTIC_RECORD, index : u32, record : *mut DIAGNOSTIC_DATA_RECORD) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqGetDiagnosticRecordBinaryDistribution(hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION, producernames : *const ::windows_sys::core::PCWSTR, producernamecount : u32, topnbinaries : u32, binarystats : *mut *mut DIAGNOSTIC_DATA_EVENT_BINARY_STATS, statcount : *mut u32) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqGetDiagnosticRecordCategoryAtIndex(hcategorydescription : super:: HDIAGNOSTIC_EVENT_CATEGORY_DESCRIPTION, index : u32, categorydescription : *mut DIAGNOSTIC_DATA_EVENT_CATEGORY_DESCRIPTION) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqGetDiagnosticRecordCategoryCount(hcategorydescription : super:: HDIAGNOSTIC_EVENT_CATEGORY_DESCRIPTION, categorydescriptioncount : *mut u32) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqGetDiagnosticRecordCount(hrecord : super:: HDIAGNOSTIC_RECORD, recordcount : *mut u32) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqGetDiagnosticRecordLocaleTagAtIndex(htagdescription : super:: HDIAGNOSTIC_EVENT_TAG_DESCRIPTION, index : u32, tagdescription : *mut DIAGNOSTIC_DATA_EVENT_TAG_DESCRIPTION) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqGetDiagnosticRecordLocaleTagCount(htagdescription : super:: HDIAGNOSTIC_EVENT_TAG_DESCRIPTION, tagdescriptioncount : *mut u32) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqGetDiagnosticRecordLocaleTags(hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION, locale : ::windows_sys::core::PCWSTR, htagdescription : *mut super:: HDIAGNOSTIC_EVENT_TAG_DESCRIPTION) -> ::windows_sys::core::HRESULT);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("diagnosticdataquery.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DdqGetDiagnosticRecordPage(hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION, searchcriteria : *const DIAGNOSTIC_DATA_SEARCH_CRITERIA, offset : u32, pagerecordcount : u32, baserowid : i64, hrecord : *mut super:: HDIAGNOSTIC_RECORD) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqGetDiagnosticRecordPayload(hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION, rowid : i64, payload : *mut ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqGetDiagnosticRecordProducerAtIndex(hproducerdescription : super:: HDIAGNOSTIC_EVENT_PRODUCER_DESCRIPTION, index : u32, producerdescription : *mut DIAGNOSTIC_DATA_EVENT_PRODUCER_DESCRIPTION) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqGetDiagnosticRecordProducerCategories(hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION, producername : ::windows_sys::core::PCWSTR, hcategorydescription : *mut super:: HDIAGNOSTIC_EVENT_CATEGORY_DESCRIPTION) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqGetDiagnosticRecordProducerCount(hproducerdescription : super:: HDIAGNOSTIC_EVENT_PRODUCER_DESCRIPTION, producerdescriptioncount : *mut u32) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqGetDiagnosticRecordProducers(hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION, hproducerdescription : *mut super:: HDIAGNOSTIC_EVENT_PRODUCER_DESCRIPTION) -> ::windows_sys::core::HRESULT);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("diagnosticdataquery.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DdqGetDiagnosticRecordStats(hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION, searchcriteria : *const DIAGNOSTIC_DATA_SEARCH_CRITERIA, recordcount : *mut u32, minrowid : *mut i64, maxrowid : *mut i64) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqGetDiagnosticRecordSummary(hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION, producernames : *const ::windows_sys::core::PCWSTR, producernamecount : u32, generalstats : *mut DIAGNOSTIC_DATA_GENERAL_STATS) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqGetDiagnosticRecordTagDistribution(hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION, producernames : *const ::windows_sys::core::PCWSTR, producernamecount : u32, tagstats : *mut *mut DIAGNOSTIC_DATA_EVENT_TAG_STATS, statcount : *mut u32) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqGetDiagnosticReport(hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION, reportstoretype : u32, hreport : *mut super:: HDIAGNOSTIC_REPORT) -> ::windows_sys::core::HRESULT);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("diagnosticdataquery.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DdqGetDiagnosticReportAtIndex(hreport : super:: HDIAGNOSTIC_REPORT, index : u32, report : *mut DIAGNOSTIC_REPORT_DATA) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqGetDiagnosticReportCount(hreport : super:: HDIAGNOSTIC_REPORT, reportcount : *mut u32) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqGetDiagnosticReportStoreReportCount(hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION, reportstoretype : u32, reportcount : *mut u32) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqGetSessionAccessLevel(hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION, accesslevel : *mut DdqAccessLevel) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqGetTranscriptConfiguration(hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION, currentconfig : *mut DIAGNOSTIC_DATA_EVENT_TRANSCRIPT_CONFIGURATION) -> ::windows_sys::core::HRESULT);
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
::windows_targets::link!("diagnosticdataquery.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DdqIsDiagnosticRecordSampledIn(hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION, providergroup : *const ::windows_sys::core::GUID, providerid : *const ::windows_sys::core::GUID, providername : ::windows_sys::core::PCWSTR, eventid : *const u32, eventname : ::windows_sys::core::PCWSTR, eventversion : *const u32, eventkeywords : *const u64, issampledin : *mut super::super::Foundation:: BOOL) -> ::windows_sys::core::HRESULT);
|
||||
::windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqSetTranscriptConfiguration(hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION, desiredconfig : *const DIAGNOSTIC_DATA_EVENT_TRANSCRIPT_CONFIGURATION) -> ::windows_sys::core::HRESULT);
|
||||
pub const AllUserData: DdqAccessLevel = 2i32;
|
||||
pub const CurrentUserData: DdqAccessLevel = 1i32;
|
||||
pub const NoData: DdqAccessLevel = 0i32;
|
||||
pub type DdqAccessLevel = i32;
|
||||
#[repr(C)]
|
||||
pub struct DIAGNOSTIC_DATA_EVENT_BINARY_STATS {
|
||||
pub moduleName: ::windows_sys::core::PWSTR,
|
||||
pub friendlyModuleName: ::windows_sys::core::PWSTR,
|
||||
pub eventCount: u32,
|
||||
pub uploadSizeBytes: u64,
|
||||
}
|
||||
impl ::core::marker::Copy for DIAGNOSTIC_DATA_EVENT_BINARY_STATS {}
|
||||
impl ::core::clone::Clone for DIAGNOSTIC_DATA_EVENT_BINARY_STATS {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct DIAGNOSTIC_DATA_EVENT_CATEGORY_DESCRIPTION {
|
||||
pub id: i32,
|
||||
pub name: ::windows_sys::core::PWSTR,
|
||||
}
|
||||
impl ::core::marker::Copy for DIAGNOSTIC_DATA_EVENT_CATEGORY_DESCRIPTION {}
|
||||
impl ::core::clone::Clone for DIAGNOSTIC_DATA_EVENT_CATEGORY_DESCRIPTION {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct DIAGNOSTIC_DATA_EVENT_PRODUCER_DESCRIPTION {
|
||||
pub name: ::windows_sys::core::PWSTR,
|
||||
}
|
||||
impl ::core::marker::Copy for DIAGNOSTIC_DATA_EVENT_PRODUCER_DESCRIPTION {}
|
||||
impl ::core::clone::Clone for DIAGNOSTIC_DATA_EVENT_PRODUCER_DESCRIPTION {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct DIAGNOSTIC_DATA_EVENT_TAG_DESCRIPTION {
|
||||
pub privacyTag: i32,
|
||||
pub name: ::windows_sys::core::PWSTR,
|
||||
pub description: ::windows_sys::core::PWSTR,
|
||||
}
|
||||
impl ::core::marker::Copy for DIAGNOSTIC_DATA_EVENT_TAG_DESCRIPTION {}
|
||||
impl ::core::clone::Clone for DIAGNOSTIC_DATA_EVENT_TAG_DESCRIPTION {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct DIAGNOSTIC_DATA_EVENT_TAG_STATS {
|
||||
pub privacyTag: i32,
|
||||
pub eventCount: u32,
|
||||
}
|
||||
impl ::core::marker::Copy for DIAGNOSTIC_DATA_EVENT_TAG_STATS {}
|
||||
impl ::core::clone::Clone for DIAGNOSTIC_DATA_EVENT_TAG_STATS {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct DIAGNOSTIC_DATA_EVENT_TRANSCRIPT_CONFIGURATION {
|
||||
pub hoursOfHistoryToKeep: u32,
|
||||
pub maxStoreMegabytes: u32,
|
||||
pub requestedMaxStoreMegabytes: u32,
|
||||
}
|
||||
impl ::core::marker::Copy for DIAGNOSTIC_DATA_EVENT_TRANSCRIPT_CONFIGURATION {}
|
||||
impl ::core::clone::Clone for DIAGNOSTIC_DATA_EVENT_TRANSCRIPT_CONFIGURATION {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct DIAGNOSTIC_DATA_GENERAL_STATS {
|
||||
pub optInLevel: u32,
|
||||
pub transcriptSizeBytes: u64,
|
||||
pub oldestEventTimestamp: u64,
|
||||
pub totalEventCountLast24Hours: u32,
|
||||
pub averageDailyEvents: f32,
|
||||
}
|
||||
impl ::core::marker::Copy for DIAGNOSTIC_DATA_GENERAL_STATS {}
|
||||
impl ::core::clone::Clone for DIAGNOSTIC_DATA_GENERAL_STATS {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub struct DIAGNOSTIC_DATA_RECORD {
|
||||
pub rowId: i64,
|
||||
pub timestamp: u64,
|
||||
pub eventKeywords: u64,
|
||||
pub fullEventName: ::windows_sys::core::PWSTR,
|
||||
pub providerGroupGuid: ::windows_sys::core::PWSTR,
|
||||
pub producerName: ::windows_sys::core::PWSTR,
|
||||
pub privacyTags: *mut i32,
|
||||
pub privacyTagCount: u32,
|
||||
pub categoryIds: *mut i32,
|
||||
pub categoryIdCount: u32,
|
||||
pub isCoreData: super::super::Foundation::BOOL,
|
||||
pub extra1: ::windows_sys::core::PWSTR,
|
||||
pub extra2: ::windows_sys::core::PWSTR,
|
||||
pub extra3: ::windows_sys::core::PWSTR,
|
||||
}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::marker::Copy for DIAGNOSTIC_DATA_RECORD {}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::clone::Clone for DIAGNOSTIC_DATA_RECORD {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub struct DIAGNOSTIC_DATA_SEARCH_CRITERIA {
|
||||
pub producerNames: *const ::windows_sys::core::PCWSTR,
|
||||
pub producerNameCount: u32,
|
||||
pub textToMatch: ::windows_sys::core::PCWSTR,
|
||||
pub categoryIds: *const i32,
|
||||
pub categoryIdCount: u32,
|
||||
pub privacyTags: *const i32,
|
||||
pub privacyTagCount: u32,
|
||||
pub coreDataOnly: super::super::Foundation::BOOL,
|
||||
}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::marker::Copy for DIAGNOSTIC_DATA_SEARCH_CRITERIA {}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::clone::Clone for DIAGNOSTIC_DATA_SEARCH_CRITERIA {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[doc = "Required features: `\"Win32_Foundation\"`"]
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
pub struct DIAGNOSTIC_REPORT_DATA {
|
||||
pub signature: DIAGNOSTIC_REPORT_SIGNATURE,
|
||||
pub bucketId: ::windows_sys::core::GUID,
|
||||
pub reportId: ::windows_sys::core::GUID,
|
||||
pub creationTime: super::super::Foundation::FILETIME,
|
||||
pub sizeInBytes: u64,
|
||||
pub cabId: ::windows_sys::core::PWSTR,
|
||||
pub reportStatus: u32,
|
||||
pub reportIntegratorId: ::windows_sys::core::GUID,
|
||||
pub fileNames: *mut ::windows_sys::core::PWSTR,
|
||||
pub fileCount: u32,
|
||||
pub friendlyEventName: ::windows_sys::core::PWSTR,
|
||||
pub applicationName: ::windows_sys::core::PWSTR,
|
||||
pub applicationPath: ::windows_sys::core::PWSTR,
|
||||
pub description: ::windows_sys::core::PWSTR,
|
||||
pub bucketIdString: ::windows_sys::core::PWSTR,
|
||||
pub legacyBucketId: u64,
|
||||
pub reportKey: ::windows_sys::core::PWSTR,
|
||||
}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::marker::Copy for DIAGNOSTIC_REPORT_DATA {}
|
||||
#[cfg(feature = "Win32_Foundation")]
|
||||
impl ::core::clone::Clone for DIAGNOSTIC_REPORT_DATA {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct DIAGNOSTIC_REPORT_PARAMETER {
|
||||
pub name: [u16; 129],
|
||||
pub value: [u16; 260],
|
||||
}
|
||||
impl ::core::marker::Copy for DIAGNOSTIC_REPORT_PARAMETER {}
|
||||
impl ::core::clone::Clone for DIAGNOSTIC_REPORT_PARAMETER {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
pub struct DIAGNOSTIC_REPORT_SIGNATURE {
|
||||
pub eventName: [u16; 65],
|
||||
pub parameters: [DIAGNOSTIC_REPORT_PARAMETER; 10],
|
||||
}
|
||||
impl ::core::marker::Copy for DIAGNOSTIC_REPORT_SIGNATURE {}
|
||||
impl ::core::clone::Clone for DIAGNOSTIC_REPORT_SIGNATURE {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue