[INFO] fetching crate conpty-bindings 0.0.0... [INFO] checking conpty-bindings-0.0.0 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate conpty-bindings 0.0.0 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate conpty-bindings 0.0.0 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate conpty-bindings 0.0.0 [INFO] finished tweaking crates.io crate conpty-bindings 0.0.0 [INFO] tweaked toml for crates.io crate conpty-bindings 0.0.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 11 packages to latest compatible versions [INFO] [stderr] Adding const-sha1 v0.2.0 (latest: v0.3.0) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] [stderr] Adding windows v0.19.0 (latest: v0.58.0) [INFO] [stderr] Adding windows_gen v0.19.0 (latest: v0.31.0) [INFO] [stderr] Adding windows_macros v0.19.0 (latest: v0.31.0) [INFO] [stderr] Adding windows_quote v0.19.0 (latest: v0.30.0) [INFO] [stderr] Adding windows_reader v0.19.0 (latest: v0.31.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded windows_macros v0.19.0 [INFO] [stderr] Downloaded windows_quote v0.19.0 [INFO] [stderr] Downloaded windows_gen v0.19.0 [INFO] [stderr] Downloaded windows v0.19.0 [INFO] [stderr] Downloaded windows_reader v0.19.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1abd23aaac59499027753c7885510ae2a87f68ae5dc2695f1495804efd9c6312 [INFO] running `Command { std: "docker" "start" "-a" "1abd23aaac59499027753c7885510ae2a87f68ae5dc2695f1495804efd9c6312", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1abd23aaac59499027753c7885510ae2a87f68ae5dc2695f1495804efd9c6312", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1abd23aaac59499027753c7885510ae2a87f68ae5dc2695f1495804efd9c6312", kill_on_drop: false }` [INFO] [stdout] 1abd23aaac59499027753c7885510ae2a87f68ae5dc2695f1495804efd9c6312 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c024c199dc541b44022d1969718f0e657fde66bca8e43df5679f3b1f11c6e10b [INFO] running `Command { std: "docker" "start" "-a" "c024c199dc541b44022d1969718f0e657fde66bca8e43df5679f3b1f11c6e10b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling windows_quote v0.19.0 [INFO] [stderr] Compiling windows_reader v0.19.0 [INFO] [stderr] Compiling const-sha1 v0.2.0 [INFO] [stderr] Checking windows_gen v0.19.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling windows_macros v0.19.0 [INFO] [stderr] Compiling windows v0.19.0 [INFO] [stderr] Compiling conpty-bindings v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> /opt/rustwide/target/debug/build/conpty-bindings-fd565586bb227ce6/out/windows.rs:1:251459 [INFO] [stdout] | [INFO] [stdout] 1 | ... { if ! value . 0 . is_null ( ) { unsafe { :: std :: boxed :: Box :: from_raw ( value . 0 ) ; } } } } } impl < 'a > :: windows :: Into... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1 | # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod Windows { # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod Win32 { # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod Devices { # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod Display { # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct HEAPALIGNMENT { pub dwSize : u32 , pub ddsCaps : super::super::Graphics::DirectDraw:: DDSCAPS , pub dwReserved : u32 , pub ExecuteBuffer : SURFACEALIGNMENT , pub Overlay : SURFACEALIGNMENT , pub Texture : SURFACEALIGNMENT , pub ZBuffer : SURFACEALIGNMENT , pub AlphaBuffer : SURFACEALIGNMENT , pub Offscreen : SURFACEALIGNMENT , pub FlipTarget : SURFACEALIGNMENT } impl HEAPALIGNMENT { } impl :: std :: cmp :: PartialEq for HEAPALIGNMENT { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for HEAPALIGNMENT { } unsafe impl :: windows :: Abi for HEAPALIGNMENT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SURFACEALIGNMENT { pub Anonymous : SURFACEALIGNMENT_0 } impl SURFACEALIGNMENT { } impl :: std :: cmp :: PartialEq for SURFACEALIGNMENT { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for SURFACEALIGNMENT { } unsafe impl :: windows :: Abi for SURFACEALIGNMENT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union SURFACEALIGNMENT_0 { pub Linear : SURFACEALIGNMENT_0_0 , pub Rectangular : SURFACEALIGNMENT_0_1 } impl SURFACEALIGNMENT_0 { } impl :: std :: cmp :: PartialEq for SURFACEALIGNMENT_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for SURFACEALIGNMENT_0 { } unsafe impl :: windows :: Abi for SURFACEALIGNMENT_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SURFACEALIGNMENT_0_0 { pub dwStartAlignment : u32 , pub dwPitchAlignment : u32 , pub dwFlags : u32 , pub dwReserved2 : u32 } impl SURFACEALIGNMENT_0_0 { } impl :: std :: default :: Default for SURFACEALIGNMENT_0_0 { fn default ( ) -> Self { Self { dwStartAlignment : 0 , dwPitchAlignment : 0 , dwFlags : 0 , dwReserved2 : 0 } } } impl :: std :: fmt :: Debug for SURFACEALIGNMENT_0_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Linear_e__Struct" ) . field ( "dwStartAlignment" , & self . dwStartAlignment ) . field ( "dwPitchAlignment" , & self . dwPitchAlignment ) . field ( "dwFlags" , & self . dwFlags ) . field ( "dwReserved2" , & self . dwReserved2 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SURFACEALIGNMENT_0_0 { fn eq ( & self , other : & Self ) -> bool { self . dwStartAlignment == other . dwStartAlignment && self . dwPitchAlignment == other . dwPitchAlignment && self . dwFlags == other . dwFlags && self . dwReserved2 == other . dwReserved2 } } impl :: std :: cmp :: Eq for SURFACEALIGNMENT_0_0 { } unsafe impl :: windows :: Abi for SURFACEALIGNMENT_0_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SURFACEALIGNMENT_0_1 { pub dwXAlignment : u32 , pub dwYAlignment : u32 , pub dwFlags : u32 , pub dwReserved2 : u32 } impl SURFACEALIGNMENT_0_1 { } impl :: std :: default :: Default for SURFACEALIGNMENT_0_1 { fn default ( ) -> Self { Self { dwXAlignment : 0 , dwYAlignment : 0 , dwFlags : 0 , dwReserved2 : 0 } } } impl :: std :: fmt :: Debug for SURFACEALIGNMENT_0_1 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Rectangular_e__Struct" ) . field ( "dwXAlignment" , & self . dwXAlignment ) . field ( "dwYAlignment" , & self . dwYAlignment ) . field ( "dwFlags" , & self . dwFlags ) . field ( "dwReserved2" , & self . dwReserved2 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SURFACEALIGNMENT_0_1 { fn eq ( & self , other : & Self ) -> bool { self . dwXAlignment == other . dwXAlignment && self . dwYAlignment == other . dwYAlignment && self . dwFlags == other . dwFlags && self . dwReserved2 == other . dwReserved2 } } impl :: std :: cmp :: Eq for SURFACEALIGNMENT_0_1 { } unsafe impl :: windows :: Abi for SURFACEALIGNMENT_0_1 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct VMEMHEAP { pub dwFlags : u32 , pub stride : u32 , pub freeList : * mut :: std :: ffi :: c_void , pub allocList : * mut :: std :: ffi :: c_void , pub dwTotalSize : u32 , pub fpGARTLin : usize , pub fpGARTDev : usize , pub dwCommitedSize : u32 , pub dwCoalesceCount : u32 , pub Alignment : HEAPALIGNMENT , pub ddsCapsEx : super::super::Graphics::DirectDraw:: DDSCAPSEX , pub ddsCapsExAlt : super::super::Graphics::DirectDraw:: DDSCAPSEX , pub liPhysAGPBase : i64 , pub hdevAGP : super::super::Foundation:: HANDLE , pub pvPhysRsrv : * mut :: std :: ffi :: c_void , pub pAgpCommitMask : * mut u8 , pub dwAgpCommitMaskSize : u32 } impl VMEMHEAP { } impl :: std :: cmp :: PartialEq for VMEMHEAP { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for VMEMHEAP { } unsafe impl :: windows :: Abi for VMEMHEAP { type Abi = Self ; type DefaultType = Self ; } } } # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod Foundation { pub const APPMODEL_ERROR_DYNAMIC_PROPERTY_INVALID : i32 = 15705i32 ; pub const APPMODEL_ERROR_DYNAMIC_PROPERTY_READ_FAILED : i32 = 15704i32 ; pub const APPMODEL_ERROR_NO_APPLICATION : i32 = 15703i32 ; pub const APPMODEL_ERROR_NO_MUTABLE_DIRECTORY : i32 = 15707i32 ; pub const APPMODEL_ERROR_NO_PACKAGE : i32 = 15700i32 ; pub const APPMODEL_ERROR_PACKAGE_IDENTITY_CORRUPT : i32 = 15702i32 ; pub const APPMODEL_ERROR_PACKAGE_NOT_AVAILABLE : i32 = 15706i32 ; pub const APPMODEL_ERROR_PACKAGE_RUNTIME_CORRUPT : i32 = 15701i32 ; pub const APPX_E_BLOCK_HASH_INVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2146958841i32 as _ ) ; pub const APPX_E_CORRUPT_CONTENT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146958842i32 as _ ) ; pub const APPX_E_DELTA_APPENDED_PACKAGE_NOT_ALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146958832i32 as _ ) ; pub const APPX_E_DELTA_BASELINE_VERSION_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2146958835i32 as _ ) ; pub const APPX_E_DELTA_PACKAGE_MISSING_FILE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146958834i32 as _ ) ; pub const APPX_E_FILE_COMPRESSION_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2146958828i32 as _ ) ; pub const APPX_E_INTERLEAVING_NOT_ALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146958847i32 as _ ) ; pub const APPX_E_INVALID_APPINSTALLER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146958836i32 as _ ) ; pub const APPX_E_INVALID_BLOCKMAP : :: windows :: HRESULT = :: windows :: HRESULT ( -2146958843i32 as _ ) ; pub const APPX_E_INVALID_CONTENTGROUPMAP : :: windows :: HRESULT = :: windows :: HRESULT ( -2146958837i32 as _ ) ; pub const APPX_E_INVALID_DELTA_PACKAGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146958833i32 as _ ) ; pub const APPX_E_INVALID_ENCRYPTION_EXCLUSION_FILE_LIST : :: windows :: HRESULT = :: windows :: HRESULT ( -2146958826i32 as _ ) ; pub const APPX_E_INVALID_KEY_INFO : :: windows :: HRESULT = :: windows :: HRESULT ( -2146958838i32 as _ ) ; pub const APPX_E_INVALID_MANIFEST : :: windows :: HRESULT = :: windows :: HRESULT ( -2146958844i32 as _ ) ; pub const APPX_E_INVALID_PACKAGESIGNCONFIG : :: windows :: HRESULT = :: windows :: HRESULT ( -2146958830i32 as _ ) ; pub const APPX_E_INVALID_PACKAGING_LAYOUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146958831i32 as _ ) ; pub const APPX_E_INVALID_PAYLOAD_PACKAGE_EXTENSION : :: windows :: HRESULT = :: windows :: HRESULT ( -2146958827i32 as _ ) ; pub const APPX_E_INVALID_SIP_CLIENT_DATA : :: windows :: HRESULT = :: windows :: HRESULT ( -2146958839i32 as _ ) ; pub const APPX_E_MISSING_REQUIRED_FILE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146958845i32 as _ ) ; pub const APPX_E_PACKAGING_INTERNAL : :: windows :: HRESULT = :: windows :: HRESULT ( -2146958848i32 as _ ) ; pub const APPX_E_RELATIONSHIPS_NOT_ALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146958846i32 as _ ) ; pub const APPX_E_REQUESTED_RANGE_TOO_LARGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146958840i32 as _ ) ; pub const APPX_E_RESOURCESPRI_NOT_ALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146958829i32 as _ ) ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct APP_LOCAL_DEVICE_ID { pub value : [ u8 ;32 ] } impl APP_LOCAL_DEVICE_ID { } impl :: std :: default :: Default for APP_LOCAL_DEVICE_ID { fn default ( ) -> Self { Self { value : [ 0 ;32 ] } } } impl :: std :: fmt :: Debug for APP_LOCAL_DEVICE_ID { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "APP_LOCAL_DEVICE_ID" ) . field ( "value" , & self . value ) . finish ( ) } } impl :: std :: cmp :: PartialEq for APP_LOCAL_DEVICE_ID { fn eq ( & self , other : & Self ) -> bool { self . value == other . value } } impl :: std :: cmp :: Eq for APP_LOCAL_DEVICE_ID { } unsafe impl :: windows :: Abi for APP_LOCAL_DEVICE_ID { type Abi = Self ; type DefaultType = Self ; } pub const APP_LOCAL_DEVICE_ID_SIZE : u32 = 32u32 ; # [ repr ( transparent ) ] # [ derive ( :: std :: default :: Default , :: std :: clone :: Clone , :: std :: marker :: Copy , :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: fmt :: Debug ) ] pub struct BOOL ( pub i32 ) ; unsafe impl :: windows :: Abi for BOOL { type Abi = Self ; type DefaultType = Self ; } impl BOOL { # [ inline ] pub fn as_bool ( self ) -> bool { ! ( self . 0 == 0 ) } # [ inline ] pub fn ok ( self ) -> :: windows :: Result < ( ) > { if self . as_bool ( ) { Ok ( ( ) ) } else { Err ( :: windows :: HRESULT :: from_thread ( ) . into ( ) ) } } # [ inline ] # [ track_caller ] pub fn unwrap ( self ) { self . ok ( ) . unwrap ( ) ; } # [ inline ] # [ track_caller ] pub fn expect ( self , msg : & str ) { self . ok ( ) . expect ( msg ) ; } } impl :: std :: convert :: From < BOOL > for bool { fn from ( value : BOOL ) -> Self { value . as_bool ( ) } } impl :: std :: convert :: From < & BOOL > for bool { fn from ( value : & BOOL ) -> Self { value . as_bool ( ) } } impl :: std :: convert :: From < bool > for BOOL { fn from ( value : bool ) -> Self { if value { BOOL ( 1 ) } else { BOOL ( 0 ) } } } impl :: std :: convert :: From < & bool > for BOOL { fn from ( value : & bool ) -> Self { ( * value ) . into ( ) } } impl :: std :: cmp :: PartialEq < bool > for BOOL { fn eq ( & self , other : & bool ) -> bool { self . as_bool ( ) == * other } } impl :: std :: cmp :: PartialEq < BOOL > for bool { fn eq ( & self , other : & BOOL ) -> bool { * self == other . as_bool ( ) } } impl std :: ops :: Not for BOOL { type Output = Self ; fn not ( self ) -> Self :: Output { if self . as_bool ( ) { BOOL ( 0 ) } else { BOOL ( 1 ) } } } impl < 'a > :: windows :: IntoParam < 'a , BOOL > for bool { fn into_param ( self ) -> :: windows :: Param < 'a , BOOL > { :: windows :: Param :: Owned ( self . into ( ) ) } } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: Eq ) ] pub struct BSTR ( * mut u16 ) ; impl BSTR { # [ doc = r" Create an empty `BSTR`." ] # [ doc = r"" ] # [ doc = r" This function does not allocate memory." ] pub fn new ( ) -> Self { Self ( std :: ptr :: null_mut ( ) ) } # [ doc = r" Returns `true` if the string is empty." ] pub fn is_empty ( & self ) -> bool { self . 0 . is_null ( ) } # [ doc = r" Returns the length of the string." ] pub fn len ( & self ) -> usize { if self . is_empty ( ) { return 0 ; } unsafe { SysStringLen ( self ) as usize } } # [ doc = r" Create a `BSTR` from a slice of 16-bit characters." ] pub fn from_wide ( value : & [ u16 ] ) -> Self { if value . len ( ) == 0 { return Self ( :: std :: ptr :: null_mut ( ) ) ; } unsafe { SysAllocStringLen ( PWSTR ( value . as_ptr ( ) as _ ) , value . len ( ) as u32 , ) } } # [ doc = r" Get the string as 16-bit characters." ] pub fn as_wide ( & self ) -> & [ u16 ] { if self . 0 . is_null ( ) { return & [ ] ; } unsafe { :: std :: slice :: from_raw_parts ( self . 0 as * const u16 , self . len ( ) ) } } } impl :: std :: clone :: Clone for BSTR { fn clone ( & self ) -> Self { Self :: from_wide ( self . as_wide ( ) ) } } impl :: std :: convert :: From < & str > for BSTR { fn from ( value : & str ) -> Self { let value : :: std :: vec :: Vec < u16 > = value . encode_utf16 ( ) . collect ( ) ; Self :: from_wide ( & value ) } } impl :: std :: convert :: From < :: std :: string :: String > for BSTR { fn from ( value : :: std :: string :: String ) -> Self { value . as_str ( ) . into ( ) } } impl :: std :: convert :: From < & :: std :: string :: String > for BSTR { fn from ( value : & :: std :: string :: String ) -> Self { value . as_str ( ) . into ( ) } } impl < 'a > :: std :: convert :: TryFrom < & 'a BSTR > for :: std :: string :: String { type Error = :: std :: string :: FromUtf16Error ; fn try_from ( value : & BSTR ) -> :: std :: result :: Result < Self , Self :: Error > { :: std :: string :: String :: from_utf16 ( value . as_wide ( ) ) } } impl :: std :: convert :: TryFrom < BSTR > for :: std :: string :: String { type Error = :: std :: string :: FromUtf16Error ; fn try_from ( value : BSTR ) -> :: std :: result :: Result < Self , Self :: Error > { :: std :: string :: String :: try_from ( & value ) } } impl :: std :: default :: Default for BSTR { fn default ( ) -> Self { Self ( :: std :: ptr :: null_mut ( ) ) } } impl :: std :: fmt :: Display for BSTR { fn fmt ( & self , f : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { use :: std :: fmt :: Write ; for c in :: std :: char :: decode_utf16 ( self . as_wide ( ) . iter ( ) . cloned ( ) ) { f . write_char ( c . map_err ( | _ | :: std :: fmt :: Error ) ? ) ? } Ok ( ( ) ) } } impl :: std :: fmt :: Debug for BSTR { fn fmt ( & self , f : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { :: std :: write ! ( f , "{}" , self ) } } impl :: std :: cmp :: PartialEq for BSTR { fn eq ( & self , other : & Self ) -> bool { self . as_wide ( ) == other . as_wide ( ) } } impl :: std :: cmp :: PartialEq < :: std :: string :: String > for BSTR { fn eq ( & self , other : & :: std :: string :: String ) -> bool { self == other . as_str ( ) } } impl :: std :: cmp :: PartialEq < str > for BSTR { fn eq ( & self , other : & str ) -> bool { self == other } } impl :: std :: cmp :: PartialEq < & str > for BSTR { fn eq ( & self , other : && str ) -> bool { self . as_wide ( ) . iter ( ) . copied ( ) . eq ( other . encode_utf16 ( ) ) } } impl :: std :: cmp :: PartialEq < BSTR > for & str { fn eq ( & self , other : & BSTR ) -> bool { other == self } } impl :: std :: ops :: Drop for BSTR { fn drop ( & mut self ) { if ! self . 0 . is_null ( ) { unsafe { SysFreeString ( self as & Self ) } } } } unsafe impl :: windows :: Abi for BSTR { type Abi = * mut u16 ; type DefaultType = Self ; fn set_abi ( & mut self ) -> * mut * mut u16 { debug_assert ! ( self . 0 . is_null ( ) ) ; & mut self . 0 as * mut _ as _ } } pub type BSTR_abi = * mut u16 ; pub const BT_E_SPURIOUS_ACTIVATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2146958592i32 as _ ) ; pub const CACHE_E_FIRST : i32 = -2147221136i32 ; pub const CACHE_E_LAST : i32 = -2147221121i32 ; pub const CACHE_E_NOCACHE_UPDATED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221136i32 as _ ) ; pub const CACHE_S_FIRST : i32 = 262512i32 ; pub const CACHE_S_FORMATETC_NOTSUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( 262512i32 as _ ) ; pub const CACHE_S_LAST : i32 = 262527i32 ; pub const CACHE_S_SAMECACHE : :: windows :: HRESULT = :: windows :: HRESULT ( 262513i32 as _ ) ; pub const CACHE_S_SOMECACHES_NOTUPDATED : :: windows :: HRESULT = :: windows :: HRESULT ( 262514i32 as _ ) ; pub const CAT_E_CATIDNOEXIST : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221152i32 as _ ) ; pub const CAT_E_FIRST : i32 = -2147221152i32 ; pub const CAT_E_LAST : i32 = -2147221151i32 ; pub const CAT_E_NODESCRIPTION : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221151i32 as _ ) ; pub const CERTSRV_E_ADMIN_DENIED_REQUEST : :: windows :: HRESULT = :: windows :: HRESULT ( -2146877420i32 as _ ) ; pub const CERTSRV_E_ALIGNMENT_FAULT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146877424i32 as _ ) ; pub const CERTSRV_E_ARCHIVED_KEY_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875388i32 as _ ) ; pub const CERTSRV_E_ARCHIVED_KEY_UNEXPECTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875376i32 as _ ) ; pub const CERTSRV_E_BAD_RENEWAL_CERT_ATTRIBUTE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146877426i32 as _ ) ; pub const CERTSRV_E_BAD_RENEWAL_SUBJECT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875386i32 as _ ) ; pub const CERTSRV_E_BAD_REQUESTSTATUS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146877437i32 as _ ) ; pub const CERTSRV_E_BAD_REQUESTSUBJECT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146877439i32 as _ ) ; pub const CERTSRV_E_BAD_REQUEST_KEY_ARCHIVAL : :: windows :: HRESULT = :: windows :: HRESULT ( -2146877428i32 as _ ) ; pub const CERTSRV_E_BAD_TEMPLATE_VERSION : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875385i32 as _ ) ; pub const CERTSRV_E_CERT_TYPE_OVERLAP : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875372i32 as _ ) ; pub const CERTSRV_E_CORRUPT_KEY_ATTESTATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875365i32 as _ ) ; pub const CERTSRV_E_DOWNLEVEL_DC_SSL_OR_UPGRADE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146877421i32 as _ ) ; pub const CERTSRV_E_ENCODING_LENGTH : :: windows :: HRESULT = :: windows :: HRESULT ( -2146877433i32 as _ ) ; pub const CERTSRV_E_ENCRYPTION_CERT_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146877416i32 as _ ) ; pub const CERTSRV_E_ENROLL_DENIED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146877423i32 as _ ) ; pub const CERTSRV_E_EXPIRED_CHALLENGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875364i32 as _ ) ; pub const CERTSRV_E_INVALID_ATTESTATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875367i32 as _ ) ; pub const CERTSRV_E_INVALID_CA_CERTIFICATE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146877435i32 as _ ) ; pub const CERTSRV_E_INVALID_EK : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875369i32 as _ ) ; pub const CERTSRV_E_INVALID_IDBINDING : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875368i32 as _ ) ; pub const CERTSRV_E_INVALID_REQUESTID : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875362i32 as _ ) ; pub const CERTSRV_E_INVALID_RESPONSE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875363i32 as _ ) ; pub const CERTSRV_E_ISSUANCE_POLICY_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875380i32 as _ ) ; pub const CERTSRV_E_KEY_ARCHIVAL_NOT_CONFIGURED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146877430i32 as _ ) ; pub const CERTSRV_E_KEY_ATTESTATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875366i32 as _ ) ; pub const CERTSRV_E_KEY_ATTESTATION_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146877417i32 as _ ) ; pub const CERTSRV_E_KEY_LENGTH : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875375i32 as _ ) ; pub const CERTSRV_E_NO_CAADMIN_DEFINED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146877427i32 as _ ) ; pub const CERTSRV_E_NO_CERT_TYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875391i32 as _ ) ; pub const CERTSRV_E_NO_DB_SESSIONS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146877425i32 as _ ) ; pub const CERTSRV_E_NO_POLICY_SERVER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146877419i32 as _ ) ; pub const CERTSRV_E_NO_REQUEST : :: windows :: HRESULT = :: windows :: HRESULT ( -2146877438i32 as _ ) ; pub const CERTSRV_E_NO_VALID_KRA : :: windows :: HRESULT = :: windows :: HRESULT ( -2146877429i32 as _ ) ; pub const CERTSRV_E_PENDING_CLIENT_RESPONSE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875360i32 as _ ) ; pub const CERTSRV_E_PROPERTY_EMPTY : :: windows :: HRESULT = :: windows :: HRESULT ( -2146877436i32 as _ ) ; pub const CERTSRV_E_RENEWAL_BAD_PUBLIC_KEY : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875370i32 as _ ) ; pub const CERTSRV_E_REQUEST_PRECERTIFICATE_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875361i32 as _ ) ; pub const CERTSRV_E_RESTRICTEDOFFICER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146877431i32 as _ ) ; pub const CERTSRV_E_ROLECONFLICT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146877432i32 as _ ) ; pub const CERTSRV_E_SERVER_SUSPENDED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146877434i32 as _ ) ; pub const CERTSRV_E_SIGNATURE_COUNT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875382i32 as _ ) ; pub const CERTSRV_E_SIGNATURE_POLICY_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875383i32 as _ ) ; pub const CERTSRV_E_SIGNATURE_REJECTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875381i32 as _ ) ; pub const CERTSRV_E_SMIME_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875387i32 as _ ) ; pub const CERTSRV_E_SUBJECT_ALT_NAME_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875389i32 as _ ) ; pub const CERTSRV_E_SUBJECT_DIRECTORY_GUID_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875378i32 as _ ) ; pub const CERTSRV_E_SUBJECT_DNS_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875377i32 as _ ) ; pub const CERTSRV_E_SUBJECT_EMAIL_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875374i32 as _ ) ; pub const CERTSRV_E_SUBJECT_UPN_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875379i32 as _ ) ; pub const CERTSRV_E_TEMPLATE_CONFLICT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875390i32 as _ ) ; pub const CERTSRV_E_TEMPLATE_DENIED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146877422i32 as _ ) ; pub const CERTSRV_E_TEMPLATE_POLICY_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875384i32 as _ ) ; pub const CERTSRV_E_TOO_MANY_SIGNATURES : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875371i32 as _ ) ; pub const CERTSRV_E_UNKNOWN_CERT_TYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875373i32 as _ ) ; pub const CERTSRV_E_UNSUPPORTED_CERT_TYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146875392i32 as _ ) ; pub const CERTSRV_E_WEAK_SIGNATURE_OR_KEY : :: windows :: HRESULT = :: windows :: HRESULT ( -2146877418i32 as _ ) ; pub const CERT_E_CHAINING : :: windows :: HRESULT = :: windows :: HRESULT ( -2146762486i32 as _ ) ; pub const CERT_E_CN_NO_MATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2146762481i32 as _ ) ; pub const CERT_E_CRITICAL : :: windows :: HRESULT = :: windows :: HRESULT ( -2146762491i32 as _ ) ; pub const CERT_E_EXPIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146762495i32 as _ ) ; pub const CERT_E_INVALID_NAME : :: windows :: HRESULT = :: windows :: HRESULT ( -2146762476i32 as _ ) ; pub const CERT_E_INVALID_POLICY : :: windows :: HRESULT = :: windows :: HRESULT ( -2146762477i32 as _ ) ; pub const CERT_E_ISSUERCHAINING : :: windows :: HRESULT = :: windows :: HRESULT ( -2146762489i32 as _ ) ; pub const CERT_E_MALFORMED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146762488i32 as _ ) ; pub const CERT_E_PATHLENCONST : :: windows :: HRESULT = :: windows :: HRESULT ( -2146762492i32 as _ ) ; pub const CERT_E_PURPOSE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146762490i32 as _ ) ; pub const CERT_E_REVOCATION_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146762482i32 as _ ) ; pub const CERT_E_REVOKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146762484i32 as _ ) ; pub const CERT_E_ROLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146762493i32 as _ ) ; pub const CERT_E_UNTRUSTEDCA : :: windows :: HRESULT = :: windows :: HRESULT ( -2146762478i32 as _ ) ; pub const CERT_E_UNTRUSTEDROOT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146762487i32 as _ ) ; pub const CERT_E_UNTRUSTEDTESTROOT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146762483i32 as _ ) ; pub const CERT_E_VALIDITYPERIODNESTING : :: windows :: HRESULT = :: windows :: HRESULT ( -2146762494i32 as _ ) ; pub const CERT_E_WRONG_USAGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146762480i32 as _ ) ; pub const CLASSFACTORY_E_FIRST : i32 = -2147221232i32 ; pub const CLASSFACTORY_E_LAST : i32 = -2147221217i32 ; pub const CLASSFACTORY_S_FIRST : i32 = 262416i32 ; pub const CLASSFACTORY_S_LAST : i32 = 262431i32 ; pub const CLASS_E_CLASSNOTAVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221231i32 as _ ) ; pub const CLASS_E_NOAGGREGATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221232i32 as _ ) ; pub const CLASS_E_NOTLICENSED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221230i32 as _ ) ; pub const CLIENTSITE_E_FIRST : i32 = -2147221104i32 ; pub const CLIENTSITE_E_LAST : i32 = -2147221089i32 ; pub const CLIENTSITE_S_FIRST : i32 = 262544i32 ; pub const CLIENTSITE_S_LAST : i32 = 262559i32 ; pub const CLIPBRD_E_BAD_DATA : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221037i32 as _ ) ; pub const CLIPBRD_E_CANT_CLOSE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221036i32 as _ ) ; pub const CLIPBRD_E_CANT_EMPTY : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221039i32 as _ ) ; pub const CLIPBRD_E_CANT_OPEN : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221040i32 as _ ) ; pub const CLIPBRD_E_CANT_SET : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221038i32 as _ ) ; pub const CLIPBRD_E_FIRST : i32 = -2147221040i32 ; pub const CLIPBRD_E_LAST : i32 = -2147221025i32 ; pub const CLIPBRD_S_FIRST : i32 = 262608i32 ; pub const CLIPBRD_S_LAST : i32 = 262623i32 ; pub const COMADMIN_E_ALREADYINSTALLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368508i32 as _ ) ; pub const COMADMIN_E_AMBIGUOUS_APPLICATION_NAME : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368420i32 as _ ) ; pub const COMADMIN_E_AMBIGUOUS_PARTITION_NAME : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368419i32 as _ ) ; pub const COMADMIN_E_APPDIRNOTFOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368481i32 as _ ) ; pub const COMADMIN_E_APPLICATIONEXISTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368501i32 as _ ) ; pub const COMADMIN_E_APPLID_MATCHES_CLSID : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368442i32 as _ ) ; pub const COMADMIN_E_APP_FILE_READFAIL : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368504i32 as _ ) ; pub const COMADMIN_E_APP_FILE_VERSION : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368503i32 as _ ) ; pub const COMADMIN_E_APP_FILE_WRITEFAIL : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368505i32 as _ ) ; pub const COMADMIN_E_APP_NOT_RUNNING : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367478i32 as _ ) ; pub const COMADMIN_E_AUTHENTICATIONLEVEL : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368493i32 as _ ) ; pub const COMADMIN_E_BADPATH : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368502i32 as _ ) ; pub const COMADMIN_E_BADREGISTRYLIBID : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368482i32 as _ ) ; pub const COMADMIN_E_BADREGISTRYPROGID : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368494i32 as _ ) ; pub const COMADMIN_E_BASEPARTITION_REQUIRED_IN_SET : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367457i32 as _ ) ; pub const COMADMIN_E_BASE_PARTITION_ONLY : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368432i32 as _ ) ; pub const COMADMIN_E_CANNOT_ALIAS_EVENTCLASS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367456i32 as _ ) ; pub const COMADMIN_E_CANTCOPYFILE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368499i32 as _ ) ; pub const COMADMIN_E_CANTMAKEINPROCSERVICE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367468i32 as _ ) ; pub const COMADMIN_E_CANTRECYCLELIBRARYAPPS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367473i32 as _ ) ; pub const COMADMIN_E_CANTRECYCLESERVICEAPPS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367471i32 as _ ) ; pub const COMADMIN_E_CANT_SUBSCRIBE_TO_COMPONENT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368435i32 as _ ) ; pub const COMADMIN_E_CAN_NOT_EXPORT_APP_PROXY : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368438i32 as _ ) ; pub const COMADMIN_E_CAN_NOT_EXPORT_SYS_APP : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368436i32 as _ ) ; pub const COMADMIN_E_CAN_NOT_START_APP : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368437i32 as _ ) ; pub const COMADMIN_E_CAT_BITNESSMISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368382i32 as _ ) ; pub const COMADMIN_E_CAT_DUPLICATE_PARTITION_NAME : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368425i32 as _ ) ; pub const COMADMIN_E_CAT_IMPORTED_COMPONENTS_NOT_ALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368421i32 as _ ) ; pub const COMADMIN_E_CAT_INVALID_PARTITION_NAME : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368424i32 as _ ) ; pub const COMADMIN_E_CAT_PARTITION_IN_USE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368423i32 as _ ) ; pub const COMADMIN_E_CAT_PAUSE_RESUME_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368379i32 as _ ) ; pub const COMADMIN_E_CAT_SERVERFAULT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368378i32 as _ ) ; pub const COMADMIN_E_CAT_UNACCEPTABLEBITNESS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368381i32 as _ ) ; pub const COMADMIN_E_CAT_WRONGAPPBITNESS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368380i32 as _ ) ; pub const COMADMIN_E_CLSIDORIIDMISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368488i32 as _ ) ; pub const COMADMIN_E_COMPFILE_BADTLB : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368472i32 as _ ) ; pub const COMADMIN_E_COMPFILE_CLASSNOTAVAIL : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368473i32 as _ ) ; pub const COMADMIN_E_COMPFILE_DOESNOTEXIST : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368476i32 as _ ) ; pub const COMADMIN_E_COMPFILE_GETCLASSOBJ : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368474i32 as _ ) ; pub const COMADMIN_E_COMPFILE_LOADDLLFAIL : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368475i32 as _ ) ; pub const COMADMIN_E_COMPFILE_NOREGISTRAR : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368460i32 as _ ) ; pub const COMADMIN_E_COMPFILE_NOTINSTALLABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368471i32 as _ ) ; pub const COMADMIN_E_COMPONENTEXISTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368455i32 as _ ) ; pub const COMADMIN_E_COMP_MOVE_BAD_DEST : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368466i32 as _ ) ; pub const COMADMIN_E_COMP_MOVE_DEST : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367459i32 as _ ) ; pub const COMADMIN_E_COMP_MOVE_LOCKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368467i32 as _ ) ; pub const COMADMIN_E_COMP_MOVE_PRIVATE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367458i32 as _ ) ; pub const COMADMIN_E_COMP_MOVE_SOURCE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367460i32 as _ ) ; pub const COMADMIN_E_COREQCOMPINSTALLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368459i32 as _ ) ; pub const COMADMIN_E_DEFAULT_PARTITION_NOT_IN_SET : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367466i32 as _ ) ; pub const COMADMIN_E_DLLLOADFAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368483i32 as _ ) ; pub const COMADMIN_E_DLLREGISTERSERVER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368486i32 as _ ) ; pub const COMADMIN_E_EVENTCLASS_CANT_BE_SUBSCRIBER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368434i32 as _ ) ; pub const COMADMIN_E_FILE_PARTITION_DUPLICATE_FILES : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368422i32 as _ ) ; pub const COMADMIN_E_INVALIDUSERIDS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368496i32 as _ ) ; pub const COMADMIN_E_INVALID_PARTITION : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367477i32 as _ ) ; pub const COMADMIN_E_KEYMISSING : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368509i32 as _ ) ; pub const COMADMIN_E_LEGACYCOMPS_NOT_ALLOWED_IN_1_0_FORMAT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367462i32 as _ ) ; pub const COMADMIN_E_LEGACYCOMPS_NOT_ALLOWED_IN_NONBASE_PARTITIONS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367461i32 as _ ) ; pub const COMADMIN_E_LIB_APP_PROXY_INCOMPATIBLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368433i32 as _ ) ; pub const COMADMIN_E_MIG_SCHEMANOTFOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368383i32 as _ ) ; pub const COMADMIN_E_MIG_VERSIONNOTSUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368384i32 as _ ) ; pub const COMADMIN_E_NOREGISTRYCLSID : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368495i32 as _ ) ; pub const COMADMIN_E_NOSERVERSHARE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368485i32 as _ ) ; pub const COMADMIN_E_NOTCHANGEABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368470i32 as _ ) ; pub const COMADMIN_E_NOTDELETEABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368469i32 as _ ) ; pub const COMADMIN_E_NOTINREGISTRY : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368450i32 as _ ) ; pub const COMADMIN_E_NOUSER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368497i32 as _ ) ; pub const COMADMIN_E_OBJECTERRORS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368511i32 as _ ) ; pub const COMADMIN_E_OBJECTEXISTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368456i32 as _ ) ; pub const COMADMIN_E_OBJECTINVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368510i32 as _ ) ; pub const COMADMIN_E_OBJECTNOTPOOLABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368449i32 as _ ) ; pub const COMADMIN_E_OBJECT_DOES_NOT_EXIST : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367479i32 as _ ) ; pub const COMADMIN_E_OBJECT_PARENT_MISSING : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367480i32 as _ ) ; pub const COMADMIN_E_PARTITIONS_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367452i32 as _ ) ; pub const COMADMIN_E_PARTITION_ACCESSDENIED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367464i32 as _ ) ; pub const COMADMIN_E_PARTITION_MSI_ONLY : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367463i32 as _ ) ; pub const COMADMIN_E_PAUSEDPROCESSMAYNOTBERECYCLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367469i32 as _ ) ; pub const COMADMIN_E_PRIVATE_ACCESSDENIED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367455i32 as _ ) ; pub const COMADMIN_E_PROCESSALREADYRECYCLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367470i32 as _ ) ; pub const COMADMIN_E_PROGIDINUSEBYCLSID : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367467i32 as _ ) ; pub const COMADMIN_E_PROPERTYSAVEFAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368457i32 as _ ) ; pub const COMADMIN_E_PROPERTY_OVERFLOW : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368452i32 as _ ) ; pub const COMADMIN_E_RECYCLEDPROCESSMAYNOTBEPAUSED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367465i32 as _ ) ; pub const COMADMIN_E_REGDB_ALREADYRUNNING : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368395i32 as _ ) ; pub const COMADMIN_E_REGDB_NOTINITIALIZED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368398i32 as _ ) ; pub const COMADMIN_E_REGDB_NOTOPEN : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368397i32 as _ ) ; pub const COMADMIN_E_REGDB_SYSTEMERR : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368396i32 as _ ) ; pub const COMADMIN_E_REGFILE_CORRUPT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368453i32 as _ ) ; pub const COMADMIN_E_REGISTERTLB : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368464i32 as _ ) ; pub const COMADMIN_E_REGISTRARFAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368477i32 as _ ) ; pub const COMADMIN_E_REGISTRY_ACCESSDENIED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367453i32 as _ ) ; pub const COMADMIN_E_REMOTEINTERFACE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368487i32 as _ ) ; pub const COMADMIN_E_REQUIRES_DIFFERENT_PLATFORM : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368439i32 as _ ) ; pub const COMADMIN_E_ROLEEXISTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368500i32 as _ ) ; pub const COMADMIN_E_ROLE_DOES_NOT_EXIST : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368441i32 as _ ) ; pub const COMADMIN_E_SAFERINVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367454i32 as _ ) ; pub const COMADMIN_E_SERVICENOTINSTALLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368458i32 as _ ) ; pub const COMADMIN_E_SESSION : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368468i32 as _ ) ; pub const COMADMIN_E_START_APP_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368431i32 as _ ) ; pub const COMADMIN_E_START_APP_NEEDS_COMPONENTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368440i32 as _ ) ; pub const COMADMIN_E_SVCAPP_NOT_POOLABLE_OR_RECYCLABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367475i32 as _ ) ; pub const COMADMIN_E_SYSTEMAPP : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368461i32 as _ ) ; pub const COMADMIN_E_USERPASSWDNOTVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368492i32 as _ ) ; pub const COMADMIN_E_USER_IN_SET : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367474i32 as _ ) ; pub const COMQC_E_APPLICATION_NOT_QUEUED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146368000i32 as _ ) ; pub const COMQC_E_BAD_MESSAGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367996i32 as _ ) ; pub const COMQC_E_NO_IPERSISTSTREAM : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367997i32 as _ ) ; pub const COMQC_E_NO_QUEUEABLE_INTERFACES : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367999i32 as _ ) ; pub const COMQC_E_QUEUING_SERVICE_NOT_AVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367998i32 as _ ) ; pub const COMQC_E_UNAUTHENTICATED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367995i32 as _ ) ; pub const COMQC_E_UNTRUSTED_ENQUEUER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367994i32 as _ ) ; pub const CONTEXT_E_ABORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147164158i32 as _ ) ; pub const CONTEXT_E_ABORTING : :: windows :: HRESULT = :: windows :: HRESULT ( -2147164157i32 as _ ) ; pub const CONTEXT_E_FIRST : i32 = -2147164160i32 ; pub const CONTEXT_E_LAST : i32 = -2147164113i32 ; pub const CONTEXT_E_NOCONTEXT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147164156i32 as _ ) ; pub const CONTEXT_E_NOJIT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147164122i32 as _ ) ; pub const CONTEXT_E_NOTRANSACTION : :: windows :: HRESULT = :: windows :: HRESULT ( -2147164121i32 as _ ) ; pub const CONTEXT_E_OLDREF : :: windows :: HRESULT = :: windows :: HRESULT ( -2147164153i32 as _ ) ; pub const CONTEXT_E_ROLENOTFOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2147164148i32 as _ ) ; pub const CONTEXT_E_SYNCH_TIMEOUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147164154i32 as _ ) ; pub const CONTEXT_E_TMNOTAVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147164145i32 as _ ) ; pub const CONTEXT_E_WOULD_DEADLOCK : :: windows :: HRESULT = :: windows :: HRESULT ( -2147164155i32 as _ ) ; pub const CONTEXT_S_FIRST : i32 = 319488i32 ; pub const CONTEXT_S_LAST : i32 = 319535i32 ; pub const CONVERT10_E_FIRST : i32 = -2147221056i32 ; pub const CONVERT10_E_LAST : i32 = -2147221041i32 ; pub const CONVERT10_E_OLESTREAM_BITMAP_TO_DIB : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221053i32 as _ ) ; pub const CONVERT10_E_OLESTREAM_FMT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221054i32 as _ ) ; pub const CONVERT10_E_OLESTREAM_GET : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221056i32 as _ ) ; pub const CONVERT10_E_OLESTREAM_PUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221055i32 as _ ) ; pub const CONVERT10_E_STG_DIB_TO_BITMAP : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221050i32 as _ ) ; pub const CONVERT10_E_STG_FMT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221052i32 as _ ) ; pub const CONVERT10_E_STG_NO_STD_STREAM : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221051i32 as _ ) ; pub const CONVERT10_S_FIRST : i32 = 262592i32 ; pub const CONVERT10_S_LAST : i32 = 262607i32 ; pub const CONVERT10_S_NO_PRESENTATION : :: windows :: HRESULT = :: windows :: HRESULT ( 262592i32 as _ ) ; pub const CO_E_ACCESSCHECKFAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417814i32 as _ ) ; pub const CO_E_ACESINWRONGORDER : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417798i32 as _ ) ; pub const CO_E_ACNOTINITIALIZED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417793i32 as _ ) ; pub const CO_E_ACTIVATIONFAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147164127i32 as _ ) ; pub const CO_E_ACTIVATIONFAILED_CATALOGERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2147164125i32 as _ ) ; pub const CO_E_ACTIVATIONFAILED_EVENTLOGGED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147164126i32 as _ ) ; pub const CO_E_ACTIVATIONFAILED_TIMEOUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147164124i32 as _ ) ; pub const CO_E_ALREADYINITIALIZED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221007i32 as _ ) ; pub const CO_E_APPDIDNTREG : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220994i32 as _ ) ; pub const CO_E_APPNOTFOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221003i32 as _ ) ; pub const CO_E_APPSINGLEUSE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221002i32 as _ ) ; pub const CO_E_ASYNC_WORK_REJECTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467223i32 as _ ) ; pub const CO_E_ATTEMPT_TO_CREATE_OUTSIDE_CLIENT_CONTEXT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467228i32 as _ ) ; pub const CO_E_BAD_PATH : :: windows :: HRESULT = :: windows :: HRESULT ( -2146959356i32 as _ ) ; pub const CO_E_BAD_SERVER_NAME : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467244i32 as _ ) ; pub const CO_E_CALL_OUT_OF_TX_SCOPE_NOT_ALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147164112i32 as _ ) ; pub const CO_E_CANCEL_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417792i32 as _ ) ; pub const CO_E_CANTDETERMINECLASS : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221006i32 as _ ) ; pub const CO_E_CANT_REMOTE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467245i32 as _ ) ; pub const CO_E_CLASSSTRING : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221005i32 as _ ) ; pub const CO_E_CLASS_CREATE_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146959359i32 as _ ) ; pub const CO_E_CLASS_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467225i32 as _ ) ; pub const CO_E_CLRNOTAVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467224i32 as _ ) ; pub const CO_E_CLSREG_INCONSISTENT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467233i32 as _ ) ; pub const CO_E_CONVERSIONFAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417810i32 as _ ) ; pub const CO_E_CREATEPROCESS_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467240i32 as _ ) ; pub const CO_E_DBERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2147164117i32 as _ ) ; pub const CO_E_DECODEFAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417795i32 as _ ) ; pub const CO_E_DLLNOTFOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221000i32 as _ ) ; pub const CO_E_ELEVATION_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146959337i32 as _ ) ; pub const CO_E_ERRORINAPP : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221001i32 as _ ) ; pub const CO_E_ERRORINDLL : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220999i32 as _ ) ; pub const CO_E_EXCEEDSYSACLLIMIT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417799i32 as _ ) ; pub const CO_E_EXIT_TRANSACTION_SCOPE_NOT_CALLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147164111i32 as _ ) ; pub const CO_E_FAILEDTOCLOSEHANDLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417800i32 as _ ) ; pub const CO_E_FAILEDTOCREATEFILE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417801i32 as _ ) ; pub const CO_E_FAILEDTOGENUUID : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417802i32 as _ ) ; pub const CO_E_FAILEDTOGETSECCTX : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417820i32 as _ ) ; pub const CO_E_FAILEDTOGETTOKENINFO : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417818i32 as _ ) ; pub const CO_E_FAILEDTOGETWINDIR : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417804i32 as _ ) ; pub const CO_E_FAILEDTOIMPERSONATE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417821i32 as _ ) ; pub const CO_E_FAILEDTOOPENPROCESSTOKEN : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417796i32 as _ ) ; pub const CO_E_FAILEDTOOPENTHREADTOKEN : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417819i32 as _ ) ; pub const CO_E_FAILEDTOQUERYCLIENTBLANKET : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417816i32 as _ ) ; pub const CO_E_FAILEDTOSETDACL : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417815i32 as _ ) ; pub const CO_E_FIRST : i32 = -2147221008i32 ; pub const CO_E_IIDREG_INCONSISTENT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467232i32 as _ ) ; pub const CO_E_IIDSTRING : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221004i32 as _ ) ; pub const CO_E_INCOMPATIBLESTREAMVERSION : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417797i32 as _ ) ; pub const CO_E_INITIALIZATIONFAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147164123i32 as _ ) ; pub const CO_E_INIT_CLASS_CACHE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467255i32 as _ ) ; pub const CO_E_INIT_MEMORY_ALLOCATOR : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467256i32 as _ ) ; pub const CO_E_INIT_ONLY_SINGLE_THREADED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467246i32 as _ ) ; pub const CO_E_INIT_RPC_CHANNEL : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467254i32 as _ ) ; pub const CO_E_INIT_SCM_EXEC_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467247i32 as _ ) ; pub const CO_E_INIT_SCM_FILE_MAPPING_EXISTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467249i32 as _ ) ; pub const CO_E_INIT_SCM_MAP_VIEW_OF_FILE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467248i32 as _ ) ; pub const CO_E_INIT_SCM_MUTEX_EXISTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467250i32 as _ ) ; pub const CO_E_INIT_SHARED_ALLOCATOR : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467257i32 as _ ) ; pub const CO_E_INIT_TLS : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467258i32 as _ ) ; pub const CO_E_INIT_TLS_CHANNEL_CONTROL : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467252i32 as _ ) ; pub const CO_E_INIT_TLS_SET_CHANNEL_CONTROL : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467253i32 as _ ) ; pub const CO_E_INIT_UNACCEPTED_USER_ALLOCATOR : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467251i32 as _ ) ; pub const CO_E_INVALIDSID : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417811i32 as _ ) ; pub const CO_E_ISOLEVELMISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2147164113i32 as _ ) ; pub const CO_E_LAST : i32 = -2147220993i32 ; pub const CO_E_LAUNCH_PERMSSION_DENIED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467237i32 as _ ) ; pub const CO_E_LOOKUPACCNAMEFAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417806i32 as _ ) ; pub const CO_E_LOOKUPACCSIDFAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417808i32 as _ ) ; pub const CO_E_MALFORMED_SPN : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467213i32 as _ ) ; pub const CO_E_MISSING_DISPLAYNAME : :: windows :: HRESULT = :: windows :: HRESULT ( -2146959339i32 as _ ) ; pub const CO_E_MSI_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467229i32 as _ ) ; pub const CO_E_NETACCESSAPIFAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417813i32 as _ ) ; pub const CO_E_NOCOOKIES : :: windows :: HRESULT = :: windows :: HRESULT ( -2147164118i32 as _ ) ; pub const CO_E_NOIISINTRINSICS : :: windows :: HRESULT = :: windows :: HRESULT ( -2147164119i32 as _ ) ; pub const CO_E_NOMATCHINGNAMEFOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417807i32 as _ ) ; pub const CO_E_NOMATCHINGSIDFOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417809i32 as _ ) ; pub const CO_E_NOSYNCHRONIZATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2147164114i32 as _ ) ; pub const CO_E_NOTCONSTRUCTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147164115i32 as _ ) ; pub const CO_E_NOTINITIALIZED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221008i32 as _ ) ; pub const CO_E_NOTPOOLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147164116i32 as _ ) ; pub const CO_E_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467231i32 as _ ) ; pub const CO_E_NO_SECCTX_IN_ACTIVATE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467221i32 as _ ) ; pub const CO_E_OBJISREG : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220996i32 as _ ) ; pub const CO_E_OBJNOTCONNECTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220995i32 as _ ) ; pub const CO_E_OBJNOTREG : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220997i32 as _ ) ; pub const CO_E_OBJSRV_RPC_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146959354i32 as _ ) ; pub const CO_E_OLE1DDE_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467242i32 as _ ) ; pub const CO_E_PATHTOOLONG : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417803i32 as _ ) ; pub const CO_E_PREMATURE_STUB_RUNDOWN : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467211i32 as _ ) ; pub const CO_E_RELEASED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220993i32 as _ ) ; pub const CO_E_RELOAD_DLL : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467230i32 as _ ) ; pub const CO_E_REMOTE_COMMUNICATION_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467235i32 as _ ) ; pub const CO_E_RUNAS_CREATEPROCESS_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467239i32 as _ ) ; pub const CO_E_RUNAS_LOGON_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467238i32 as _ ) ; pub const CO_E_RUNAS_SYNTAX : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467241i32 as _ ) ; pub const CO_E_RUNAS_VALUE_MUST_BE_AAA : :: windows :: HRESULT = :: windows :: HRESULT ( -2146959338i32 as _ ) ; pub const CO_E_SCM_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2146959358i32 as _ ) ; pub const CO_E_SCM_RPC_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146959357i32 as _ ) ; pub const CO_E_SERVER_EXEC_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146959355i32 as _ ) ; pub const CO_E_SERVER_INIT_TIMEOUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467222i32 as _ ) ; pub const CO_E_SERVER_NOT_PAUSED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467226i32 as _ ) ; pub const CO_E_SERVER_PAUSED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467227i32 as _ ) ; pub const CO_E_SERVER_START_TIMEOUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467234i32 as _ ) ; pub const CO_E_SERVER_STOPPING : :: windows :: HRESULT = :: windows :: HRESULT ( -2146959352i32 as _ ) ; pub const CO_E_SETSERLHNDLFAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417805i32 as _ ) ; pub const CO_E_START_SERVICE_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467236i32 as _ ) ; pub const CO_E_SXS_CONFIG : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467214i32 as _ ) ; pub const CO_E_THREADINGMODEL_CHANGED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147164120i32 as _ ) ; pub const CO_E_THREADPOOL_CONFIG : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467215i32 as _ ) ; pub const CO_E_TRACKER_CONFIG : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467216i32 as _ ) ; pub const CO_E_TRUSTEEDOESNTMATCHCLIENT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417817i32 as _ ) ; pub const CO_E_UNREVOKED_REGISTRATION_ON_APARTMENT_SHUTDOWN : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467212i32 as _ ) ; pub const CO_E_WRONGOSFORAPP : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220998i32 as _ ) ; pub const CO_E_WRONGTRUSTEENAMESYNTAX : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417812i32 as _ ) ; pub const CO_E_WRONG_SERVER_IDENTITY : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467243i32 as _ ) ; pub const CO_S_FIRST : i32 = 262640i32 ; pub const CO_S_LAST : i32 = 262655i32 ; pub const CO_S_MACHINENAMENOTFOUND : :: windows :: HRESULT = :: windows :: HRESULT ( 524307i32 as _ ) ; pub const CO_S_NOTALLINTERFACES : :: windows :: HRESULT = :: windows :: HRESULT ( 524306i32 as _ ) ; pub const CRYPT_E_ALREADY_DECRYPTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146889719i32 as _ ) ; pub const CRYPT_E_ASN1_BADARGS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881271i32 as _ ) ; pub const CRYPT_E_ASN1_BADPDU : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881272i32 as _ ) ; pub const CRYPT_E_ASN1_BADREAL : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881270i32 as _ ) ; pub const CRYPT_E_ASN1_BADTAG : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881269i32 as _ ) ; pub const CRYPT_E_ASN1_CHOICE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881268i32 as _ ) ; pub const CRYPT_E_ASN1_CONSTRAINT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881275i32 as _ ) ; pub const CRYPT_E_ASN1_CORRUPT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881277i32 as _ ) ; pub const CRYPT_E_ASN1_EOD : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881278i32 as _ ) ; pub const CRYPT_E_ASN1_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881280i32 as _ ) ; pub const CRYPT_E_ASN1_EXTENDED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881023i32 as _ ) ; pub const CRYPT_E_ASN1_INTERNAL : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881279i32 as _ ) ; pub const CRYPT_E_ASN1_LARGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881276i32 as _ ) ; pub const CRYPT_E_ASN1_MEMORY : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881274i32 as _ ) ; pub const CRYPT_E_ASN1_NOEOD : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881022i32 as _ ) ; pub const CRYPT_E_ASN1_NYI : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881228i32 as _ ) ; pub const CRYPT_E_ASN1_OVERFLOW : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881273i32 as _ ) ; pub const CRYPT_E_ASN1_PDU_TYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881229i32 as _ ) ; pub const CRYPT_E_ASN1_RULE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881267i32 as _ ) ; pub const CRYPT_E_ASN1_UTF8 : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881266i32 as _ ) ; pub const CRYPT_E_ATTRIBUTES_MISSING : :: windows :: HRESULT = :: windows :: HRESULT ( -2146889713i32 as _ ) ; pub const CRYPT_E_AUTH_ATTR_MISSING : :: windows :: HRESULT = :: windows :: HRESULT ( -2146889722i32 as _ ) ; pub const CRYPT_E_BAD_ENCODE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885630i32 as _ ) ; pub const CRYPT_E_BAD_LEN : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885631i32 as _ ) ; pub const CRYPT_E_BAD_MSG : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885619i32 as _ ) ; pub const CRYPT_E_CONTROL_TYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146889716i32 as _ ) ; pub const CRYPT_E_DELETED_PREV : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885624i32 as _ ) ; pub const CRYPT_E_EXISTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885627i32 as _ ) ; pub const CRYPT_E_FILERESIZED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885595i32 as _ ) ; pub const CRYPT_E_FILE_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885629i32 as _ ) ; pub const CRYPT_E_HASH_VALUE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146889721i32 as _ ) ; pub const CRYPT_E_INVALID_IA5_STRING : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885598i32 as _ ) ; pub const CRYPT_E_INVALID_INDEX : :: windows :: HRESULT = :: windows :: HRESULT ( -2146889720i32 as _ ) ; pub const CRYPT_E_INVALID_MSG_TYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146889724i32 as _ ) ; pub const CRYPT_E_INVALID_NUMERIC_STRING : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885600i32 as _ ) ; pub const CRYPT_E_INVALID_PRINTABLE_STRING : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885599i32 as _ ) ; pub const CRYPT_E_INVALID_X500_STRING : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885597i32 as _ ) ; pub const CRYPT_E_ISSUER_SERIALNUMBER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146889715i32 as _ ) ; pub const CRYPT_E_MISSING_PUBKEY_PARA : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885588i32 as _ ) ; pub const CRYPT_E_MSG_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2146889727i32 as _ ) ; pub const CRYPT_E_NOT_CHAR_STRING : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885596i32 as _ ) ; pub const CRYPT_E_NOT_DECRYPTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146889718i32 as _ ) ; pub const CRYPT_E_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885628i32 as _ ) ; pub const CRYPT_E_NOT_IN_CTL : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885590i32 as _ ) ; pub const CRYPT_E_NOT_IN_REVOCATION_DATABASE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885612i32 as _ ) ; pub const CRYPT_E_NO_DECRYPT_CERT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885620i32 as _ ) ; pub const CRYPT_E_NO_KEY_PROPERTY : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885621i32 as _ ) ; pub const CRYPT_E_NO_MATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885623i32 as _ ) ; pub const CRYPT_E_NO_PROVIDER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885626i32 as _ ) ; pub const CRYPT_E_NO_REVOCATION_CHECK : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885614i32 as _ ) ; pub const CRYPT_E_NO_REVOCATION_DLL : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885615i32 as _ ) ; pub const CRYPT_E_NO_SIGNER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885618i32 as _ ) ; pub const CRYPT_E_NO_TRUSTED_SIGNER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885589i32 as _ ) ; pub const CRYPT_E_NO_VERIFY_USAGE_CHECK : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885592i32 as _ ) ; pub const CRYPT_E_NO_VERIFY_USAGE_DLL : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885593i32 as _ ) ; pub const CRYPT_E_OBJECT_LOCATOR_OBJECT_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885587i32 as _ ) ; pub const CRYPT_E_OID_FORMAT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146889725i32 as _ ) ; pub const CRYPT_E_OSS_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881536i32 as _ ) ; pub const CRYPT_E_PENDING_CLOSE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885617i32 as _ ) ; pub const CRYPT_E_RECIPIENT_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2146889717i32 as _ ) ; pub const CRYPT_E_REVOCATION_OFFLINE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885613i32 as _ ) ; pub const CRYPT_E_REVOKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885616i32 as _ ) ; pub const CRYPT_E_SECURITY_SETTINGS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885594i32 as _ ) ; pub const CRYPT_E_SELF_SIGNED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885625i32 as _ ) ; pub const CRYPT_E_SIGNER_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2146889714i32 as _ ) ; pub const CRYPT_E_STREAM_INSUFFICIENT_DATA : :: windows :: HRESULT = :: windows :: HRESULT ( -2146889711i32 as _ ) ; pub const CRYPT_E_STREAM_MSG_NOT_READY : :: windows :: HRESULT = :: windows :: HRESULT ( -2146889712i32 as _ ) ; pub const CRYPT_E_UNEXPECTED_ENCODING : :: windows :: HRESULT = :: windows :: HRESULT ( -2146889723i32 as _ ) ; pub const CRYPT_E_UNEXPECTED_MSG_TYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885622i32 as _ ) ; pub const CRYPT_E_UNKNOWN_ALGO : :: windows :: HRESULT = :: windows :: HRESULT ( -2146889726i32 as _ ) ; pub const CRYPT_E_VERIFY_USAGE_OFFLINE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146885591i32 as _ ) ; pub const CRYPT_I_NEW_PROTECTION_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( 593938i32 as _ ) ; pub const CS_E_ADMIN_LIMIT_EXCEEDED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221139i32 as _ ) ; pub const CS_E_CLASS_NOTFOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221146i32 as _ ) ; pub const CS_E_FIRST : i32 = -2147221148i32 ; pub const CS_E_INTERNAL_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221137i32 as _ ) ; pub const CS_E_INVALID_PATH : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221141i32 as _ ) ; pub const CS_E_INVALID_VERSION : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221145i32 as _ ) ; pub const CS_E_LAST : i32 = -2147221137i32 ; pub const CS_E_NETWORK_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221140i32 as _ ) ; pub const CS_E_NOT_DELETABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221147i32 as _ ) ; pub const CS_E_NO_CLASSSTORE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221144i32 as _ ) ; pub const CS_E_OBJECT_ALREADY_EXISTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221142i32 as _ ) ; pub const CS_E_OBJECT_NOTFOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221143i32 as _ ) ; pub const CS_E_PACKAGE_NOTFOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221148i32 as _ ) ; pub const CS_E_SCHEMA_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221138i32 as _ ) ; pub unsafe fn CloseHandle < 'a , > ( hobject : impl :: windows :: IntoParam < 'a , HANDLE > , ) -> BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn CloseHandle ( hobject : HANDLE ) -> BOOL ; } CloseHandle ( hobject . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CompareObjectHandles < 'a , > ( hfirstobjecthandle : impl :: windows :: IntoParam < 'a , HANDLE > , hsecondobjecthandle : impl :: windows :: IntoParam < 'a , HANDLE > , ) -> BOOL { # [ cfg ( windows ) ] { # [ link ( name ="onecoreuap" ) ] extern "system" { fn CompareObjectHandles ( hfirstobjecthandle : HANDLE , hsecondobjecthandle : HANDLE ) -> BOOL ; } CompareObjectHandles ( hfirstobjecthandle . into_param ( ) . abi ( ) , hsecondobjecthandle . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub const D2DERR_BAD_NUMBER : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238895i32 as _ ) ; pub const D2DERR_BITMAP_BOUND_AS_TARGET : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238875i32 as _ ) ; pub const D2DERR_BITMAP_CANNOT_DRAW : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238879i32 as _ ) ; pub const D2DERR_CYCLIC_GRAPH : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238880i32 as _ ) ; pub const D2DERR_DISPLAY_FORMAT_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238903i32 as _ ) ; pub const D2DERR_DISPLAY_STATE_INVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238906i32 as _ ) ; pub const D2DERR_EFFECT_IS_NOT_REGISTERED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238872i32 as _ ) ; pub const D2DERR_EXCEEDS_MAX_BITMAP_SIZE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238883i32 as _ ) ; pub const D2DERR_INCOMPATIBLE_BRUSH_TYPES : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238888i32 as _ ) ; pub const D2DERR_INSUFFICIENT_DEVICE_CAPABILITIES : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238874i32 as _ ) ; pub const D2DERR_INTERMEDIATE_TOO_LARGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238873i32 as _ ) ; pub const D2DERR_INTERNAL_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238904i32 as _ ) ; pub const D2DERR_INVALID_CALL : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238902i32 as _ ) ; pub const D2DERR_INVALID_GLYPH_IMAGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238866i32 as _ ) ; pub const D2DERR_INVALID_GRAPH_CONFIGURATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238882i32 as _ ) ; pub const D2DERR_INVALID_INTERNAL_GRAPH_CONFIGURATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238881i32 as _ ) ; pub const D2DERR_INVALID_PROPERTY : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238871i32 as _ ) ; pub const D2DERR_INVALID_TARGET : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238876i32 as _ ) ; pub const D2DERR_LAYER_ALREADY_IN_USE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238893i32 as _ ) ; pub const D2DERR_MAX_TEXTURE_SIZE_EXCEEDED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238897i32 as _ ) ; pub const D2DERR_NOT_INITIALIZED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238910i32 as _ ) ; pub const D2DERR_NO_HARDWARE_DEVICE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238901i32 as _ ) ; pub const D2DERR_NO_SUBPROPERTIES : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238870i32 as _ ) ; pub const D2DERR_ORIGINAL_TARGET_NOT_BOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238877i32 as _ ) ; pub const D2DERR_OUTSTANDING_BITMAP_REFERENCES : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238878i32 as _ ) ; pub const D2DERR_POP_CALL_DID_NOT_MATCH_PUSH : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238892i32 as _ ) ; pub const D2DERR_PRINT_FORMAT_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238868i32 as _ ) ; pub const D2DERR_PRINT_JOB_CLOSED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238869i32 as _ ) ; pub const D2DERR_PUSH_POP_UNBALANCED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238890i32 as _ ) ; pub const D2DERR_RECREATE_TARGET : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238900i32 as _ ) ; pub const D2DERR_RENDER_TARGET_HAS_LAYER_OR_CLIPRECT : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238889i32 as _ ) ; pub const D2DERR_SCANNER_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238908i32 as _ ) ; pub const D2DERR_SCREEN_ACCESS_DENIED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238907i32 as _ ) ; pub const D2DERR_SHADER_COMPILE_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238898i32 as _ ) ; pub const D2DERR_TARGET_NOT_GDI_COMPATIBLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238886i32 as _ ) ; pub const D2DERR_TEXT_EFFECT_IS_WRONG_TYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238885i32 as _ ) ; pub const D2DERR_TEXT_RENDERER_NOT_RELEASED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238884i32 as _ ) ; pub const D2DERR_TOO_MANY_SHADER_ELEMENTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238899i32 as _ ) ; pub const D2DERR_TOO_MANY_TRANSFORM_INPUTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238867i32 as _ ) ; pub const D2DERR_UNSUPPORTED_OPERATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238909i32 as _ ) ; pub const D2DERR_UNSUPPORTED_VERSION : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238896i32 as _ ) ; pub const D2DERR_WIN32_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238887i32 as _ ) ; pub const D2DERR_WRONG_FACTORY : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238894i32 as _ ) ; pub const D2DERR_WRONG_RESOURCE_DOMAIN : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238891i32 as _ ) ; pub const D2DERR_WRONG_STATE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238911i32 as _ ) ; pub const D2DERR_ZERO_VECTOR : :: windows :: HRESULT = :: windows :: HRESULT ( -2003238905i32 as _ ) ; pub const D3D10_ERROR_FILE_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2005336062i32 as _ ) ; pub const D3D10_ERROR_TOO_MANY_UNIQUE_STATE_OBJECTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2005336063i32 as _ ) ; pub const D3D11_ERROR_DEFERRED_CONTEXT_MAP_WITHOUT_INITIAL_DISCARD : :: windows :: HRESULT = :: windows :: HRESULT ( -2005139452i32 as _ ) ; pub const D3D11_ERROR_FILE_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2005139454i32 as _ ) ; pub const D3D11_ERROR_TOO_MANY_UNIQUE_STATE_OBJECTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2005139455i32 as _ ) ; pub const D3D11_ERROR_TOO_MANY_UNIQUE_VIEW_OBJECTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2005139453i32 as _ ) ; pub const D3D12_ERROR_ADAPTER_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2005008383i32 as _ ) ; pub const D3D12_ERROR_DRIVER_VERSION_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2005008382i32 as _ ) ; pub const DATA_E_FIRST : i32 = -2147221200i32 ; pub const DATA_E_LAST : i32 = -2147221185i32 ; pub const DATA_S_FIRST : i32 = 262448i32 ; pub const DATA_S_LAST : i32 = 262463i32 ; pub const DATA_S_SAMEFORMATETC : :: windows :: HRESULT = :: windows :: HRESULT ( 262448i32 as _ ) ; pub const DBG_APP_NOT_IDLE : NTSTATUS = NTSTATUS ( -1073676286i32 as _ ) ; pub const DBG_COMMAND_EXCEPTION : NTSTATUS = NTSTATUS ( 1073807369i32 as _ ) ; pub const DBG_CONTINUE : NTSTATUS = NTSTATUS ( 65538i32 as _ ) ; pub const DBG_CONTROL_BREAK : NTSTATUS = NTSTATUS ( 1073807368i32 as _ ) ; pub const DBG_CONTROL_C : NTSTATUS = NTSTATUS ( 1073807365i32 as _ ) ; pub const DBG_EXCEPTION_HANDLED : NTSTATUS = NTSTATUS ( 65537i32 as _ ) ; pub const DBG_EXCEPTION_NOT_HANDLED : NTSTATUS = NTSTATUS ( -2147418111i32 as _ ) ; pub const DBG_NO_STATE_CHANGE : NTSTATUS = NTSTATUS ( -1073676287i32 as _ ) ; pub const DBG_PRINTEXCEPTION_C : NTSTATUS = NTSTATUS ( 1073807366i32 as _ ) ; pub const DBG_PRINTEXCEPTION_WIDE_C : NTSTATUS = NTSTATUS ( 1073807370i32 as _ ) ; pub const DBG_REPLY_LATER : NTSTATUS = NTSTATUS ( 1073807361i32 as _ ) ; pub const DBG_RIPEXCEPTION : NTSTATUS = NTSTATUS ( 1073807367i32 as _ ) ; pub const DBG_TERMINATE_PROCESS : NTSTATUS = NTSTATUS ( 1073807364i32 as _ ) ; pub const DBG_TERMINATE_THREAD : NTSTATUS = NTSTATUS ( 1073807363i32 as _ ) ; pub const DBG_UNABLE_TO_PROVIDE_HANDLE : NTSTATUS = NTSTATUS ( 1073807362i32 as _ ) ; pub const DCOMPOSITION_ERROR_SURFACE_BEING_RENDERED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003302399i32 as _ ) ; pub const DCOMPOSITION_ERROR_SURFACE_NOT_BEING_RENDERED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003302398i32 as _ ) ; pub const DCOMPOSITION_ERROR_WINDOW_ALREADY_COMPOSED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003302400i32 as _ ) ; pub const DIGSIG_E_CRYPTO : :: windows :: HRESULT = :: windows :: HRESULT ( -2146762744i32 as _ ) ; pub const DIGSIG_E_DECODE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146762746i32 as _ ) ; pub const DIGSIG_E_ENCODE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146762747i32 as _ ) ; pub const DIGSIG_E_EXTENSIBILITY : :: windows :: HRESULT = :: windows :: HRESULT ( -2146762745i32 as _ ) ; pub const DISP_E_ARRAYISLOCKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147352563i32 as _ ) ; pub const DISP_E_BADCALLEE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147352560i32 as _ ) ; pub const DISP_E_BADINDEX : :: windows :: HRESULT = :: windows :: HRESULT ( -2147352565i32 as _ ) ; pub const DISP_E_BADPARAMCOUNT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147352562i32 as _ ) ; pub const DISP_E_BADVARTYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147352568i32 as _ ) ; pub const DISP_E_BUFFERTOOSMALL : :: windows :: HRESULT = :: windows :: HRESULT ( -2147352557i32 as _ ) ; pub const DISP_E_DIVBYZERO : :: windows :: HRESULT = :: windows :: HRESULT ( -2147352558i32 as _ ) ; pub const DISP_E_EXCEPTION : :: windows :: HRESULT = :: windows :: HRESULT ( -2147352567i32 as _ ) ; pub const DISP_E_MEMBERNOTFOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2147352573i32 as _ ) ; pub const DISP_E_NONAMEDARGS : :: windows :: HRESULT = :: windows :: HRESULT ( -2147352569i32 as _ ) ; pub const DISP_E_NOTACOLLECTION : :: windows :: HRESULT = :: windows :: HRESULT ( -2147352559i32 as _ ) ; pub const DISP_E_OVERFLOW : :: windows :: HRESULT = :: windows :: HRESULT ( -2147352566i32 as _ ) ; pub const DISP_E_PARAMNOTFOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2147352572i32 as _ ) ; pub const DISP_E_PARAMNOTOPTIONAL : :: windows :: HRESULT = :: windows :: HRESULT ( -2147352561i32 as _ ) ; pub const DISP_E_TYPEMISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2147352571i32 as _ ) ; pub const DISP_E_UNKNOWNINTERFACE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147352575i32 as _ ) ; pub const DISP_E_UNKNOWNLCID : :: windows :: HRESULT = :: windows :: HRESULT ( -2147352564i32 as _ ) ; pub const DISP_E_UNKNOWNNAME : :: windows :: HRESULT = :: windows :: HRESULT ( -2147352570i32 as _ ) ; pub const DM_COPY : u32 = 2u32 ; pub const DM_MODIFY : u32 = 8u32 ; pub const DM_PROMPT : u32 = 4u32 ; pub const DM_UPDATE : u32 = 1u32 ; pub const DNS_INFO_ADDED_LOCAL_WINS : i32 = 9753i32 ; pub const DNS_INFO_AXFR_COMPLETE : i32 = 9751i32 ; pub const DNS_INFO_NO_RECORDS : i32 = 9501i32 ; pub const DNS_REQUEST_PENDING : i32 = 9506i32 ; pub const DNS_STATUS_CONTINUE_NEEDED : i32 = 9801i32 ; pub const DNS_STATUS_DOTTED_NAME : i32 = 9558i32 ; pub const DNS_STATUS_FQDN : i32 = 9557i32 ; pub const DNS_STATUS_SINGLE_PART_NAME : i32 = 9559i32 ; pub const DNS_WARNING_DOMAIN_UNDELETED : i32 = 9716i32 ; pub const DNS_WARNING_PTR_CREATE_FAILED : i32 = 9715i32 ; pub const DRAGDROP_E_ALREADYREGISTERED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221247i32 as _ ) ; pub const DRAGDROP_E_CONCURRENT_DRAG_ATTEMPTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221245i32 as _ ) ; pub const DRAGDROP_E_FIRST : i32 = -2147221248i32 ; pub const DRAGDROP_E_INVALIDHWND : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221246i32 as _ ) ; pub const DRAGDROP_E_LAST : i32 = -2147221233i32 ; pub const DRAGDROP_E_NOTREGISTERED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221248i32 as _ ) ; pub const DRAGDROP_S_CANCEL : :: windows :: HRESULT = :: windows :: HRESULT ( 262401i32 as _ ) ; pub const DRAGDROP_S_DROP : :: windows :: HRESULT = :: windows :: HRESULT ( 262400i32 as _ ) ; pub const DRAGDROP_S_FIRST : i32 = 262400i32 ; pub const DRAGDROP_S_LAST : i32 = 262415i32 ; pub const DRAGDROP_S_USEDEFAULTCURSORS : :: windows :: HRESULT = :: windows :: HRESULT ( 262402i32 as _ ) ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct DUPLICATE_HANDLE_OPTIONS ( pub u32 ) ; pub const DUPLICATE_CLOSE_SOURCE : DUPLICATE_HANDLE_OPTIONS = DUPLICATE_HANDLE_OPTIONS ( 1u32 ) ; pub const DUPLICATE_SAME_ACCESS : DUPLICATE_HANDLE_OPTIONS = DUPLICATE_HANDLE_OPTIONS ( 2u32 ) ; impl :: std :: convert :: From < u32 > for DUPLICATE_HANDLE_OPTIONS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for DUPLICATE_HANDLE_OPTIONS { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for DUPLICATE_HANDLE_OPTIONS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for DUPLICATE_HANDLE_OPTIONS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for DUPLICATE_HANDLE_OPTIONS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for DUPLICATE_HANDLE_OPTIONS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub const DV_E_CLIPFORMAT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221398i32 as _ ) ; pub const DV_E_DVASPECT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221397i32 as _ ) ; pub const DV_E_DVTARGETDEVICE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221403i32 as _ ) ; pub const DV_E_DVTARGETDEVICE_SIZE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221396i32 as _ ) ; pub const DV_E_FORMATETC : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221404i32 as _ ) ; pub const DV_E_LINDEX : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221400i32 as _ ) ; pub const DV_E_NOIVIEWOBJECT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221395i32 as _ ) ; pub const DV_E_STATDATA : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221401i32 as _ ) ; pub const DV_E_STGMEDIUM : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221402i32 as _ ) ; pub const DV_E_TYMED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221399i32 as _ ) ; pub const DWMERR_CATASTROPHIC_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003302654i32 as _ ) ; pub const DWMERR_STATE_TRANSITION_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003302656i32 as _ ) ; pub const DWMERR_THEME_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003302655i32 as _ ) ; pub const DWM_E_ADAPTER_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2144980987i32 as _ ) ; pub const DWM_E_COMPOSITIONDISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144980991i32 as _ ) ; pub const DWM_E_NOT_QUEUING_PRESENTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144980988i32 as _ ) ; pub const DWM_E_NO_REDIRECTION_SURFACE_AVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144980989i32 as _ ) ; pub const DWM_E_REMOTING_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144980990i32 as _ ) ; pub const DWM_E_TEXTURE_TOO_LARGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144980985i32 as _ ) ; pub const DWM_S_GDI_REDIRECTION_SURFACE : :: windows :: HRESULT = :: windows :: HRESULT ( 2502661i32 as _ ) ; pub const DWM_S_GDI_REDIRECTION_SURFACE_BLT_VIA_GDI : :: windows :: HRESULT = :: windows :: HRESULT ( 2502664i32 as _ ) ; pub const DWRITE_E_ALREADYREGISTERED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003283962i32 as _ ) ; pub const DWRITE_E_CACHEFORMAT : :: windows :: HRESULT = :: windows :: HRESULT ( -2003283961i32 as _ ) ; pub const DWRITE_E_CACHEVERSION : :: windows :: HRESULT = :: windows :: HRESULT ( -2003283960i32 as _ ) ; pub const DWRITE_E_FILEACCESS : :: windows :: HRESULT = :: windows :: HRESULT ( -2003283964i32 as _ ) ; pub const DWRITE_E_FILEFORMAT : :: windows :: HRESULT = :: windows :: HRESULT ( -2003283968i32 as _ ) ; pub const DWRITE_E_FILENOTFOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2003283965i32 as _ ) ; pub const DWRITE_E_FLOWDIRECTIONCONFLICTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2003283957i32 as _ ) ; pub const DWRITE_E_FONTCOLLECTIONOBSOLETE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003283963i32 as _ ) ; pub const DWRITE_E_NOCOLOR : :: windows :: HRESULT = :: windows :: HRESULT ( -2003283956i32 as _ ) ; pub const DWRITE_E_NOFONT : :: windows :: HRESULT = :: windows :: HRESULT ( -2003283966i32 as _ ) ; pub const DWRITE_E_TEXTRENDERERINCOMPATIBLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003283958i32 as _ ) ; pub const DWRITE_E_UNEXPECTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003283967i32 as _ ) ; pub const DWRITE_E_UNSUPPORTEDOPERATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2003283959i32 as _ ) ; pub const DXCORE_ERROR_EVENT_NOT_UNREGISTERED : :: windows :: HRESULT = :: windows :: HRESULT ( -2004877311i32 as _ ) ; pub const DXGI_DDI_ERR_NONEXCLUSIVE : :: windows :: HRESULT = :: windows :: HRESULT ( -2005204989i32 as _ ) ; pub const DXGI_DDI_ERR_UNSUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2005204990i32 as _ ) ; pub const DXGI_DDI_ERR_WASSTILLDRAWING : :: windows :: HRESULT = :: windows :: HRESULT ( -2005204991i32 as _ ) ; pub const DXGI_STATUS_CLIPPED : :: windows :: HRESULT = :: windows :: HRESULT ( 142213122i32 as _ ) ; pub const DXGI_STATUS_DDA_WAS_STILL_DRAWING : :: windows :: HRESULT = :: windows :: HRESULT ( 142213130i32 as _ ) ; pub const DXGI_STATUS_GRAPHICS_VIDPN_SOURCE_IN_USE : :: windows :: HRESULT = :: windows :: HRESULT ( 142213126i32 as _ ) ; pub const DXGI_STATUS_MODE_CHANGED : :: windows :: HRESULT = :: windows :: HRESULT ( 142213127i32 as _ ) ; pub const DXGI_STATUS_MODE_CHANGE_IN_PROGRESS : :: windows :: HRESULT = :: windows :: HRESULT ( 142213128i32 as _ ) ; pub const DXGI_STATUS_NO_DESKTOP_ACCESS : :: windows :: HRESULT = :: windows :: HRESULT ( 142213125i32 as _ ) ; pub const DXGI_STATUS_NO_REDIRECTION : :: windows :: HRESULT = :: windows :: HRESULT ( 142213124i32 as _ ) ; pub const DXGI_STATUS_OCCLUDED : :: windows :: HRESULT = :: windows :: HRESULT ( 142213121i32 as _ ) ; pub const DXGI_STATUS_PRESENT_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( 142213167i32 as _ ) ; pub const DXGI_STATUS_UNOCCLUDED : :: windows :: HRESULT = :: windows :: HRESULT ( 142213129i32 as _ ) ; pub unsafe fn DuplicateHandle < 'a , > ( hsourceprocesshandle : impl :: windows :: IntoParam < 'a , HANDLE > , hsourcehandle : impl :: windows :: IntoParam < 'a , HANDLE > , htargetprocesshandle : impl :: windows :: IntoParam < 'a , HANDLE > , lptargethandle : * mut HANDLE , dwdesiredaccess : u32 , binherithandle : impl :: windows :: IntoParam < 'a , BOOL > , dwoptions : DUPLICATE_HANDLE_OPTIONS , ) -> BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn DuplicateHandle ( hsourceprocesshandle : HANDLE , hsourcehandle : HANDLE , htargetprocesshandle : HANDLE , lptargethandle : * mut HANDLE , dwdesiredaccess : u32 , binherithandle : BOOL , dwoptions : DUPLICATE_HANDLE_OPTIONS ) -> BOOL ; } DuplicateHandle ( hsourceprocesshandle . into_param ( ) . abi ( ) , hsourcehandle . into_param ( ) . abi ( ) , htargetprocesshandle . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lptargethandle ) , :: std :: mem :: transmute ( dwdesiredaccess ) , binherithandle . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwoptions ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub const EAS_E_ADMINS_CANNOT_CHANGE_PASSWORD : :: windows :: HRESULT = :: windows :: HRESULT ( -2141913080i32 as _ ) ; pub const EAS_E_ADMINS_HAVE_BLANK_PASSWORD : :: windows :: HRESULT = :: windows :: HRESULT ( -2141913081i32 as _ ) ; pub const EAS_E_CONNECTED_ADMINS_NEED_TO_CHANGE_PASSWORD : :: windows :: HRESULT = :: windows :: HRESULT ( -2141913077i32 as _ ) ; pub const EAS_E_CURRENT_CONNECTED_USER_NEED_TO_CHANGE_PASSWORD : :: windows :: HRESULT = :: windows :: HRESULT ( -2141913075i32 as _ ) ; pub const EAS_E_CURRENT_USER_HAS_BLANK_PASSWORD : :: windows :: HRESULT = :: windows :: HRESULT ( -2141913084i32 as _ ) ; pub const EAS_E_LOCAL_CONTROLLED_USERS_CANNOT_CHANGE_PASSWORD : :: windows :: HRESULT = :: windows :: HRESULT ( -2141913079i32 as _ ) ; pub const EAS_E_PASSWORD_POLICY_NOT_ENFORCEABLE_FOR_CONNECTED_ADMINS : :: windows :: HRESULT = :: windows :: HRESULT ( -2141913078i32 as _ ) ; pub const EAS_E_PASSWORD_POLICY_NOT_ENFORCEABLE_FOR_CURRENT_CONNECTED_USER : :: windows :: HRESULT = :: windows :: HRESULT ( -2141913076i32 as _ ) ; pub const EAS_E_POLICY_COMPLIANT_WITH_ACTIONS : :: windows :: HRESULT = :: windows :: HRESULT ( -2141913086i32 as _ ) ; pub const EAS_E_POLICY_NOT_MANAGED_BY_OS : :: windows :: HRESULT = :: windows :: HRESULT ( -2141913087i32 as _ ) ; pub const EAS_E_REQUESTED_POLICY_NOT_ENFORCEABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2141913085i32 as _ ) ; pub const EAS_E_REQUESTED_POLICY_PASSWORD_EXPIRATION_INCOMPATIBLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2141913083i32 as _ ) ; pub const EAS_E_USER_CANNOT_CHANGE_PASSWORD : :: windows :: HRESULT = :: windows :: HRESULT ( -2141913082i32 as _ ) ; pub const ENUM_E_FIRST : i32 = -2147221072i32 ; pub const ENUM_E_LAST : i32 = -2147221057i32 ; pub const ENUM_S_FIRST : i32 = 262576i32 ; pub const ENUM_S_LAST : i32 = 262591i32 ; pub const EPT_NT_CANT_CREATE : NTSTATUS = NTSTATUS ( -1073610676i32 as _ ) ; pub const EPT_NT_CANT_PERFORM_OP : NTSTATUS = NTSTATUS ( -1073610699i32 as _ ) ; pub const EPT_NT_INVALID_ENTRY : NTSTATUS = NTSTATUS ( -1073610700i32 as _ ) ; pub const EPT_NT_NOT_REGISTERED : NTSTATUS = NTSTATUS ( -1073610698i32 as _ ) ; pub const ERROR_ALL_SIDS_FILTERED : :: windows :: HRESULT = :: windows :: HRESULT ( -1073151998i32 as _ ) ; pub const ERROR_ATTRIBUTE_NOT_PRESENT : :: windows :: HRESULT = :: windows :: HRESULT ( -2138898422i32 as _ ) ; pub const ERROR_AUDITING_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -1073151999i32 as _ ) ; pub const ERROR_BIZRULES_NOT_ENABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -1073151997i32 as _ ) ; pub const ERROR_CLIP_DEVICE_LICENSE_MISSING : :: windows :: HRESULT = :: windows :: HRESULT ( -1058406397i32 as _ ) ; pub const ERROR_CLIP_KEYHOLDER_LICENSE_MISSING_OR_INVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -1058406395i32 as _ ) ; pub const ERROR_CLIP_LICENSE_DEVICE_ID_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -1058406390i32 as _ ) ; pub const ERROR_CLIP_LICENSE_EXPIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -1058406394i32 as _ ) ; pub const ERROR_CLIP_LICENSE_HARDWARE_ID_OUT_OF_TOLERANCE : :: windows :: HRESULT = :: windows :: HRESULT ( -1058406391i32 as _ ) ; pub const ERROR_CLIP_LICENSE_INVALID_SIGNATURE : :: windows :: HRESULT = :: windows :: HRESULT ( -1058406396i32 as _ ) ; pub const ERROR_CLIP_LICENSE_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -1058406398i32 as _ ) ; pub const ERROR_CLIP_LICENSE_NOT_SIGNED : :: windows :: HRESULT = :: windows :: HRESULT ( -1058406392i32 as _ ) ; pub const ERROR_CLIP_LICENSE_SIGNED_BY_UNKNOWN_SOURCE : :: windows :: HRESULT = :: windows :: HRESULT ( -1058406393i32 as _ ) ; pub const ERROR_CRED_REQUIRES_CONFIRMATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2146865127i32 as _ ) ; pub const ERROR_DBG_ATTACH_PROCESS_FAILURE_LOCKDOWN : :: windows :: HRESULT = :: windows :: HRESULT ( -2135949310i32 as _ ) ; pub const ERROR_DBG_CONNECT_SERVER_FAILURE_LOCKDOWN : :: windows :: HRESULT = :: windows :: HRESULT ( -2135949309i32 as _ ) ; pub const ERROR_DBG_CREATE_PROCESS_FAILURE_LOCKDOWN : :: windows :: HRESULT = :: windows :: HRESULT ( -2135949311i32 as _ ) ; pub const ERROR_DBG_START_SERVER_FAILURE_LOCKDOWN : :: windows :: HRESULT = :: windows :: HRESULT ( -2135949308i32 as _ ) ; pub const ERROR_FLT_ALREADY_ENLISTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2145452005i32 as _ ) ; pub const ERROR_FLT_CBDQ_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2145452018i32 as _ ) ; pub const ERROR_FLT_CONTEXT_ALLOCATION_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2145452010i32 as _ ) ; pub const ERROR_FLT_CONTEXT_ALREADY_DEFINED : :: windows :: HRESULT = :: windows :: HRESULT ( -2145452030i32 as _ ) ; pub const ERROR_FLT_CONTEXT_ALREADY_LINKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2145452004i32 as _ ) ; pub const ERROR_FLT_DELETING_OBJECT : :: windows :: HRESULT = :: windows :: HRESULT ( -2145452021i32 as _ ) ; pub const ERROR_FLT_DISALLOW_FAST_IO : :: windows :: HRESULT = :: windows :: HRESULT ( -2145452028i32 as _ ) ; pub const ERROR_FLT_DO_NOT_ATTACH : :: windows :: HRESULT = :: windows :: HRESULT ( -2145452017i32 as _ ) ; pub const ERROR_FLT_DO_NOT_DETACH : :: windows :: HRESULT = :: windows :: HRESULT ( -2145452016i32 as _ ) ; pub const ERROR_FLT_DUPLICATE_ENTRY : :: windows :: HRESULT = :: windows :: HRESULT ( -2145452019i32 as _ ) ; pub const ERROR_FLT_FILTER_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2145452013i32 as _ ) ; pub const ERROR_FLT_FILTER_NOT_READY : :: windows :: HRESULT = :: windows :: HRESULT ( -2145452024i32 as _ ) ; pub const ERROR_FLT_INSTANCE_ALTITUDE_COLLISION : :: windows :: HRESULT = :: windows :: HRESULT ( -2145452015i32 as _ ) ; pub const ERROR_FLT_INSTANCE_NAME_COLLISION : :: windows :: HRESULT = :: windows :: HRESULT ( -2145452014i32 as _ ) ; pub const ERROR_FLT_INSTANCE_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2145452011i32 as _ ) ; pub const ERROR_FLT_INTERNAL_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2145452022i32 as _ ) ; pub const ERROR_FLT_INVALID_ASYNCHRONOUS_REQUEST : :: windows :: HRESULT = :: windows :: HRESULT ( -2145452029i32 as _ ) ; pub const ERROR_FLT_INVALID_CONTEXT_REGISTRATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2145452009i32 as _ ) ; pub const ERROR_FLT_INVALID_NAME_REQUEST : :: windows :: HRESULT = :: windows :: HRESULT ( -2145452027i32 as _ ) ; pub const ERROR_FLT_IO_COMPLETE : :: windows :: HRESULT = :: windows :: HRESULT ( 2031617i32 as _ ) ; pub const ERROR_FLT_MUST_BE_NONPAGED_POOL : :: windows :: HRESULT = :: windows :: HRESULT ( -2145452020i32 as _ ) ; pub const ERROR_FLT_NAME_CACHE_MISS : :: windows :: HRESULT = :: windows :: HRESULT ( -2145452008i32 as _ ) ; pub const ERROR_FLT_NOT_INITIALIZED : :: windows :: HRESULT = :: windows :: HRESULT ( -2145452025i32 as _ ) ; pub const ERROR_FLT_NOT_SAFE_TO_POST_OPERATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2145452026i32 as _ ) ; pub const ERROR_FLT_NO_DEVICE_OBJECT : :: windows :: HRESULT = :: windows :: HRESULT ( -2145452007i32 as _ ) ; pub const ERROR_FLT_NO_HANDLER_DEFINED : :: windows :: HRESULT = :: windows :: HRESULT ( -2145452031i32 as _ ) ; pub const ERROR_FLT_NO_WAITER_FOR_REPLY : :: windows :: HRESULT = :: windows :: HRESULT ( -2145452000i32 as _ ) ; pub const ERROR_FLT_POST_OPERATION_CLEANUP : :: windows :: HRESULT = :: windows :: HRESULT ( -2145452023i32 as _ ) ; pub const ERROR_FLT_REGISTRATION_BUSY : :: windows :: HRESULT = :: windows :: HRESULT ( -2145451997i32 as _ ) ; pub const ERROR_FLT_VOLUME_ALREADY_MOUNTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2145452006i32 as _ ) ; pub const ERROR_FLT_VOLUME_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2145452012i32 as _ ) ; pub const ERROR_GRAPHICS_ADAPTER_ACCESS_NOT_EXCLUDED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242181i32 as _ ) ; pub const ERROR_GRAPHICS_ADAPTER_CHAIN_NOT_READY : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242189i32 as _ ) ; pub const ERROR_GRAPHICS_ADAPTER_MUST_HAVE_AT_LEAST_ONE_SOURCE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242456i32 as _ ) ; pub const ERROR_GRAPHICS_ADAPTER_MUST_HAVE_AT_LEAST_ONE_TARGET : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242455i32 as _ ) ; pub const ERROR_GRAPHICS_ADAPTER_WAS_RESET : :: windows :: HRESULT = :: windows :: HRESULT ( -1071243261i32 as _ ) ; pub const ERROR_GRAPHICS_ALLOCATION_BUSY : :: windows :: HRESULT = :: windows :: HRESULT ( -1071243006i32 as _ ) ; pub const ERROR_GRAPHICS_ALLOCATION_CLOSED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242990i32 as _ ) ; pub const ERROR_GRAPHICS_ALLOCATION_CONTENT_LOST : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242986i32 as _ ) ; pub const ERROR_GRAPHICS_ALLOCATION_INVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -1071243002i32 as _ ) ; pub const ERROR_GRAPHICS_CANCEL_VIDPN_TOPOLOGY_AUGMENTATION : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242406i32 as _ ) ; pub const ERROR_GRAPHICS_CANNOTCOLORCONVERT : :: windows :: HRESULT = :: windows :: HRESULT ( -1071243256i32 as _ ) ; pub const ERROR_GRAPHICS_CANT_ACCESS_ACTIVE_VIDPN : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242429i32 as _ ) ; pub const ERROR_GRAPHICS_CANT_EVICT_PINNED_ALLOCATION : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242999i32 as _ ) ; pub const ERROR_GRAPHICS_CANT_LOCK_MEMORY : :: windows :: HRESULT = :: windows :: HRESULT ( -1071243007i32 as _ ) ; pub const ERROR_GRAPHICS_CANT_RENDER_LOCKED_ALLOCATION : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242991i32 as _ ) ; pub const ERROR_GRAPHICS_CHAINLINKS_NOT_ENUMERATED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242190i32 as _ ) ; pub const ERROR_GRAPHICS_CHAINLINKS_NOT_POWERED_ON : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242187i32 as _ ) ; pub const ERROR_GRAPHICS_CHAINLINKS_NOT_STARTED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242188i32 as _ ) ; pub const ERROR_GRAPHICS_CHILD_DESCRIPTOR_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242239i32 as _ ) ; pub const ERROR_GRAPHICS_CLIENTVIDPN_NOT_SET : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242404i32 as _ ) ; pub const ERROR_GRAPHICS_COPP_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241983i32 as _ ) ; pub const ERROR_GRAPHICS_DATASET_IS_EMPTY : :: windows :: HRESULT = :: windows :: HRESULT ( 2499403i32 as _ ) ; pub const ERROR_GRAPHICS_DDCCI_CURRENT_CURRENT_VALUE_GREATER_THAN_MAXIMUM_VALUE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241768i32 as _ ) ; pub const ERROR_GRAPHICS_DDCCI_INVALID_DATA : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241851i32 as _ ) ; pub const ERROR_GRAPHICS_DDCCI_INVALID_MESSAGE_CHECKSUM : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241845i32 as _ ) ; pub const ERROR_GRAPHICS_DDCCI_INVALID_MESSAGE_COMMAND : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241847i32 as _ ) ; pub const ERROR_GRAPHICS_DDCCI_INVALID_MESSAGE_LENGTH : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241846i32 as _ ) ; pub const ERROR_GRAPHICS_DDCCI_MONITOR_RETURNED_INVALID_TIMING_STATUS_BYTE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241850i32 as _ ) ; pub const ERROR_GRAPHICS_DDCCI_VCP_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241852i32 as _ ) ; pub const ERROR_GRAPHICS_DEPENDABLE_CHILD_STATUS : :: windows :: HRESULT = :: windows :: HRESULT ( 1076241468i32 as _ ) ; pub const ERROR_GRAPHICS_DISPLAY_DEVICE_NOT_ATTACHED_TO_DESKTOP : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241758i32 as _ ) ; pub const ERROR_GRAPHICS_DRIVER_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -1071243255i32 as _ ) ; pub const ERROR_GRAPHICS_EMPTY_ADAPTER_MONITOR_MODE_SUPPORT_INTERSECTION : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242459i32 as _ ) ; pub const ERROR_GRAPHICS_FREQUENCYRANGE_ALREADY_IN_SET : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242465i32 as _ ) ; pub const ERROR_GRAPHICS_FREQUENCYRANGE_NOT_IN_SET : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242467i32 as _ ) ; pub const ERROR_GRAPHICS_GAMMA_RAMP_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242424i32 as _ ) ; pub const ERROR_GRAPHICS_GPU_EXCEPTION_ON_DEVICE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242752i32 as _ ) ; pub const ERROR_GRAPHICS_I2C_DEVICE_DOES_NOT_EXIST : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241855i32 as _ ) ; pub const ERROR_GRAPHICS_I2C_ERROR_RECEIVING_DATA : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241853i32 as _ ) ; pub const ERROR_GRAPHICS_I2C_ERROR_TRANSMITTING_DATA : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241854i32 as _ ) ; pub const ERROR_GRAPHICS_I2C_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241856i32 as _ ) ; pub const ERROR_GRAPHICS_INCOMPATIBLE_PRIVATE_FORMAT : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242411i32 as _ ) ; pub const ERROR_GRAPHICS_INCONSISTENT_DEVICE_LINK_STATE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242186i32 as _ ) ; pub const ERROR_GRAPHICS_INDIRECT_DISPLAY_ABANDON_SWAPCHAIN : :: windows :: HRESULT = :: windows :: HRESULT ( -1071243246i32 as _ ) ; pub const ERROR_GRAPHICS_INDIRECT_DISPLAY_DEVICE_STOPPED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071243245i32 as _ ) ; pub const ERROR_GRAPHICS_INSUFFICIENT_DMA_BUFFER : :: windows :: HRESULT = :: windows :: HRESULT ( -1071243263i32 as _ ) ; pub const ERROR_GRAPHICS_INTERNAL_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241753i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_ACTIVE_REGION : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242485i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_ALLOCATION_HANDLE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242988i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_ALLOCATION_INSTANCE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242989i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_ALLOCATION_USAGE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242992i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_CLIENT_TYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242405i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_COLORBASIS : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242434i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_COPYPROTECTION_TYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242417i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_DISPLAY_ADAPTER : :: windows :: HRESULT = :: windows :: HRESULT ( -1071243262i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_DRIVER_MODEL : :: windows :: HRESULT = :: windows :: HRESULT ( -1071243260i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_FREQUENCY : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242486i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_GAMMA_RAMP : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242425i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_MODE_PRUNING_ALGORITHM : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242410i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_MONITORDESCRIPTOR : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242453i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_MONITORDESCRIPTORSET : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242454i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_MONITOR_CAPABILITY_ORIGIN : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242409i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_MONITOR_FREQUENCYRANGE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242468i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_MONITOR_FREQUENCYRANGESET : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242469i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_MONITOR_FREQUENCYRANGE_CONSTRAINT : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242408i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_MONITOR_SOURCEMODESET : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242463i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_MONITOR_SOURCE_MODE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242462i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_PATH_CONTENT_GEOMETRY_TRANSFORMATION : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242427i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_PATH_CONTENT_TYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242418i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_PATH_IMPORTANCE_ORDINAL : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242428i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_PHYSICAL_MONITOR_HANDLE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241844i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_PIXELFORMAT : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242435i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_PIXELVALUEACCESSMODE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242433i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_POINTER : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241756i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_PRIMARYSURFACE_SIZE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242438i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_SCANLINE_ORDERING : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242414i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_STRIDE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242436i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_TOTAL_REGION : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242484i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_VIDEOPRESENTSOURCESET : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242475i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_VIDEOPRESENTTARGETSET : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242474i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_VIDEO_PRESENT_SOURCE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242492i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_VIDEO_PRESENT_SOURCE_MODE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242480i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_VIDEO_PRESENT_TARGET : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242491i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_VIDEO_PRESENT_TARGET_MODE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242479i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_VIDPN : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242493i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_VIDPN_PRESENT_PATH : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242471i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_VIDPN_SOURCEMODESET : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242488i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_VIDPN_TARGETMODESET : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242487i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_VIDPN_TARGET_SUBSET_TYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242449i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_VIDPN_TOPOLOGY : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242496i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_VIDPN_TOPOLOGY_RECOMMENDATION_REASON : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242419i32 as _ ) ; pub const ERROR_GRAPHICS_INVALID_VISIBLEREGION_SIZE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242437i32 as _ ) ; pub const ERROR_GRAPHICS_LEADLINK_NOT_ENUMERATED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242191i32 as _ ) ; pub const ERROR_GRAPHICS_LEADLINK_START_DEFERRED : :: windows :: HRESULT = :: windows :: HRESULT ( 1076241463i32 as _ ) ; pub const ERROR_GRAPHICS_MAX_NUM_PATHS_REACHED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242407i32 as _ ) ; pub const ERROR_GRAPHICS_MCA_INTERNAL_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241848i32 as _ ) ; pub const ERROR_GRAPHICS_MCA_INVALID_CAPABILITIES_STRING : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241849i32 as _ ) ; pub const ERROR_GRAPHICS_MCA_INVALID_TECHNOLOGY_TYPE_RETURNED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241762i32 as _ ) ; pub const ERROR_GRAPHICS_MCA_INVALID_VCP_VERSION : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241767i32 as _ ) ; pub const ERROR_GRAPHICS_MCA_MCCS_VERSION_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241765i32 as _ ) ; pub const ERROR_GRAPHICS_MCA_MONITOR_VIOLATES_MCCS_SPECIFICATION : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241766i32 as _ ) ; pub const ERROR_GRAPHICS_MCA_UNSUPPORTED_COLOR_TEMPERATURE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241761i32 as _ ) ; pub const ERROR_GRAPHICS_MCA_UNSUPPORTED_MCCS_VERSION : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241764i32 as _ ) ; pub const ERROR_GRAPHICS_MIRRORING_DEVICES_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241757i32 as _ ) ; pub const ERROR_GRAPHICS_MODE_ALREADY_IN_MODESET : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242476i32 as _ ) ; pub const ERROR_GRAPHICS_MODE_ID_MUST_BE_UNIQUE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242460i32 as _ ) ; pub const ERROR_GRAPHICS_MODE_NOT_IN_MODESET : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242422i32 as _ ) ; pub const ERROR_GRAPHICS_MODE_NOT_PINNED : :: windows :: HRESULT = :: windows :: HRESULT ( 2499335i32 as _ ) ; pub const ERROR_GRAPHICS_MONITORDESCRIPTOR_ALREADY_IN_SET : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242451i32 as _ ) ; pub const ERROR_GRAPHICS_MONITORDESCRIPTOR_ID_MUST_BE_UNIQUE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242450i32 as _ ) ; pub const ERROR_GRAPHICS_MONITORDESCRIPTOR_NOT_IN_SET : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242452i32 as _ ) ; pub const ERROR_GRAPHICS_MONITOR_COULD_NOT_BE_ASSOCIATED_WITH_ADAPTER : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242444i32 as _ ) ; pub const ERROR_GRAPHICS_MONITOR_NOT_CONNECTED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242440i32 as _ ) ; pub const ERROR_GRAPHICS_MONITOR_NO_LONGER_EXISTS : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241843i32 as _ ) ; pub const ERROR_GRAPHICS_MULTISAMPLING_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242423i32 as _ ) ; pub const ERROR_GRAPHICS_NOT_A_LINKED_ADAPTER : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242192i32 as _ ) ; pub const ERROR_GRAPHICS_NOT_EXCLUSIVE_MODE_OWNER : :: windows :: HRESULT = :: windows :: HRESULT ( -1071243264i32 as _ ) ; pub const ERROR_GRAPHICS_NOT_POST_DEVICE_DRIVER : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242184i32 as _ ) ; pub const ERROR_GRAPHICS_NO_ACTIVE_VIDPN : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242442i32 as _ ) ; pub const ERROR_GRAPHICS_NO_AVAILABLE_IMPORTANCE_ORDINALS : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242412i32 as _ ) ; pub const ERROR_GRAPHICS_NO_AVAILABLE_VIDPN_TARGET : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242445i32 as _ ) ; pub const ERROR_GRAPHICS_NO_DISPLAY_DEVICE_CORRESPONDS_TO_NAME : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241759i32 as _ ) ; pub const ERROR_GRAPHICS_NO_DISPLAY_MODE_MANAGEMENT_SUPPORT : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242431i32 as _ ) ; pub const ERROR_GRAPHICS_NO_MONITORS_CORRESPOND_TO_DISPLAY_DEVICE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241755i32 as _ ) ; pub const ERROR_GRAPHICS_NO_MORE_ELEMENTS_IN_DATASET : :: windows :: HRESULT = :: windows :: HRESULT ( 2499404i32 as _ ) ; pub const ERROR_GRAPHICS_NO_PREFERRED_MODE : :: windows :: HRESULT = :: windows :: HRESULT ( 2499358i32 as _ ) ; pub const ERROR_GRAPHICS_NO_RECOMMENDED_FUNCTIONAL_VIDPN : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242461i32 as _ ) ; pub const ERROR_GRAPHICS_NO_RECOMMENDED_VIDPN_TOPOLOGY : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242470i32 as _ ) ; pub const ERROR_GRAPHICS_NO_VIDEO_MEMORY : :: windows :: HRESULT = :: windows :: HRESULT ( -1071243008i32 as _ ) ; pub const ERROR_GRAPHICS_NO_VIDPNMGR : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242443i32 as _ ) ; pub const ERROR_GRAPHICS_ONLY_CONSOLE_SESSION_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241760i32 as _ ) ; pub const ERROR_GRAPHICS_OPM_ALL_HDCP_HARDWARE_ALREADY_IN_USE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241960i32 as _ ) ; pub const ERROR_GRAPHICS_OPM_DRIVER_INTERNAL_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241954i32 as _ ) ; pub const ERROR_GRAPHICS_OPM_HDCP_SRM_NEVER_SET : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241962i32 as _ ) ; pub const ERROR_GRAPHICS_OPM_INTERNAL_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241973i32 as _ ) ; pub const ERROR_GRAPHICS_OPM_INVALID_CONFIGURATION_REQUEST : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241951i32 as _ ) ; pub const ERROR_GRAPHICS_OPM_INVALID_ENCRYPTED_PARAMETERS : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241981i32 as _ ) ; pub const ERROR_GRAPHICS_OPM_INVALID_HANDLE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241972i32 as _ ) ; pub const ERROR_GRAPHICS_OPM_INVALID_INFORMATION_REQUEST : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241955i32 as _ ) ; pub const ERROR_GRAPHICS_OPM_INVALID_SRM : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241966i32 as _ ) ; pub const ERROR_GRAPHICS_OPM_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241984i32 as _ ) ; pub const ERROR_GRAPHICS_OPM_NO_VIDEO_OUTPUTS_EXIST : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241979i32 as _ ) ; pub const ERROR_GRAPHICS_OPM_OUTPUT_DOES_NOT_SUPPORT_ACP : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241964i32 as _ ) ; pub const ERROR_GRAPHICS_OPM_OUTPUT_DOES_NOT_SUPPORT_CGMSA : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241963i32 as _ ) ; pub const ERROR_GRAPHICS_OPM_OUTPUT_DOES_NOT_SUPPORT_HDCP : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241965i32 as _ ) ; pub const ERROR_GRAPHICS_OPM_RESOLUTION_TOO_HIGH : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241961i32 as _ ) ; pub const ERROR_GRAPHICS_OPM_SESSION_TYPE_CHANGE_IN_PROGRESS : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241957i32 as _ ) ; pub const ERROR_GRAPHICS_OPM_SIGNALING_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241952i32 as _ ) ; pub const ERROR_GRAPHICS_OPM_SPANNING_MODE_ENABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241969i32 as _ ) ; pub const ERROR_GRAPHICS_OPM_THEATER_MODE_ENABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241968i32 as _ ) ; pub const ERROR_GRAPHICS_OPM_VIDEO_OUTPUT_DOES_NOT_HAVE_COPP_SEMANTICS : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241956i32 as _ ) ; pub const ERROR_GRAPHICS_OPM_VIDEO_OUTPUT_DOES_NOT_HAVE_OPM_SEMANTICS : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241953i32 as _ ) ; pub const ERROR_GRAPHICS_OPM_VIDEO_OUTPUT_NO_LONGER_EXISTS : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241958i32 as _ ) ; pub const ERROR_GRAPHICS_PARAMETER_ARRAY_TOO_SMALL : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241754i32 as _ ) ; pub const ERROR_GRAPHICS_PARTIAL_DATA_POPULATED : :: windows :: HRESULT = :: windows :: HRESULT ( 1076240394i32 as _ ) ; pub const ERROR_GRAPHICS_PATH_ALREADY_IN_TOPOLOGY : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242477i32 as _ ) ; pub const ERROR_GRAPHICS_PATH_CONTENT_GEOMETRY_TRANSFORMATION_NOT_PINNED : :: windows :: HRESULT = :: windows :: HRESULT ( 2499409i32 as _ ) ; pub const ERROR_GRAPHICS_PATH_CONTENT_GEOMETRY_TRANSFORMATION_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242426i32 as _ ) ; pub const ERROR_GRAPHICS_PATH_NOT_IN_TOPOLOGY : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242457i32 as _ ) ; pub const ERROR_GRAPHICS_PINNED_MODE_MUST_REMAIN_IN_SET : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242478i32 as _ ) ; pub const ERROR_GRAPHICS_POLLING_TOO_FREQUENTLY : :: windows :: HRESULT = :: windows :: HRESULT ( 1076241465i32 as _ ) ; pub const ERROR_GRAPHICS_PRESENT_BUFFER_NOT_BOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -1071243248i32 as _ ) ; pub const ERROR_GRAPHICS_PRESENT_DENIED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071243257i32 as _ ) ; pub const ERROR_GRAPHICS_PRESENT_INVALID_WINDOW : :: windows :: HRESULT = :: windows :: HRESULT ( -1071243249i32 as _ ) ; pub const ERROR_GRAPHICS_PRESENT_MODE_CHANGED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071243259i32 as _ ) ; pub const ERROR_GRAPHICS_PRESENT_OCCLUDED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071243258i32 as _ ) ; pub const ERROR_GRAPHICS_PRESENT_REDIRECTION_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071243253i32 as _ ) ; pub const ERROR_GRAPHICS_PRESENT_UNOCCLUDED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071243252i32 as _ ) ; pub const ERROR_GRAPHICS_PVP_HFS_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241967i32 as _ ) ; pub const ERROR_GRAPHICS_PVP_INVALID_CERTIFICATE_LENGTH : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241970i32 as _ ) ; pub const ERROR_GRAPHICS_RESOURCES_NOT_RELATED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242448i32 as _ ) ; pub const ERROR_GRAPHICS_SESSION_TYPE_CHANGE_IN_PROGRESS : :: windows :: HRESULT = :: windows :: HRESULT ( -1071249944i32 as _ ) ; pub const ERROR_GRAPHICS_SKIP_ALLOCATION_PREPARATION : :: windows :: HRESULT = :: windows :: HRESULT ( 1076240897i32 as _ ) ; pub const ERROR_GRAPHICS_SOURCE_ALREADY_IN_SET : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242473i32 as _ ) ; pub const ERROR_GRAPHICS_SOURCE_ID_MUST_BE_UNIQUE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242447i32 as _ ) ; pub const ERROR_GRAPHICS_SOURCE_NOT_IN_TOPOLOGY : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242439i32 as _ ) ; pub const ERROR_GRAPHICS_SPECIFIED_CHILD_ALREADY_CONNECTED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242240i32 as _ ) ; pub const ERROR_GRAPHICS_STALE_MODESET : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242464i32 as _ ) ; pub const ERROR_GRAPHICS_STALE_VIDPN_TOPOLOGY : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242441i32 as _ ) ; pub const ERROR_GRAPHICS_START_DEFERRED : :: windows :: HRESULT = :: windows :: HRESULT ( 1076241466i32 as _ ) ; pub const ERROR_GRAPHICS_TARGET_ALREADY_IN_SET : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242472i32 as _ ) ; pub const ERROR_GRAPHICS_TARGET_ID_MUST_BE_UNIQUE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242446i32 as _ ) ; pub const ERROR_GRAPHICS_TARGET_NOT_IN_TOPOLOGY : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242432i32 as _ ) ; pub const ERROR_GRAPHICS_TOO_MANY_REFERENCES : :: windows :: HRESULT = :: windows :: HRESULT ( -1071243005i32 as _ ) ; pub const ERROR_GRAPHICS_TOPOLOGY_CHANGES_NOT_ALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242413i32 as _ ) ; pub const ERROR_GRAPHICS_TRY_AGAIN_LATER : :: windows :: HRESULT = :: windows :: HRESULT ( -1071243004i32 as _ ) ; pub const ERROR_GRAPHICS_TRY_AGAIN_NOW : :: windows :: HRESULT = :: windows :: HRESULT ( -1071243003i32 as _ ) ; pub const ERROR_GRAPHICS_UAB_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071241982i32 as _ ) ; pub const ERROR_GRAPHICS_UNASSIGNED_MODESET_ALREADY_EXISTS : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242416i32 as _ ) ; pub const ERROR_GRAPHICS_UNKNOWN_CHILD_STATUS : :: windows :: HRESULT = :: windows :: HRESULT ( 1076241455i32 as _ ) ; pub const ERROR_GRAPHICS_UNSWIZZLING_APERTURE_UNAVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071243001i32 as _ ) ; pub const ERROR_GRAPHICS_UNSWIZZLING_APERTURE_UNSUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071243000i32 as _ ) ; pub const ERROR_GRAPHICS_VAIL_FAILED_TO_SEND_CREATE_SUPERWETINK_MESSAGE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071243244i32 as _ ) ; pub const ERROR_GRAPHICS_VAIL_FAILED_TO_SEND_DESTROY_SUPERWETINK_MESSAGE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071243243i32 as _ ) ; pub const ERROR_GRAPHICS_VAIL_STATE_CHANGED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071243247i32 as _ ) ; pub const ERROR_GRAPHICS_VIDEO_PRESENT_TARGETS_LESS_THAN_SOURCES : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242458i32 as _ ) ; pub const ERROR_GRAPHICS_VIDPN_MODALITY_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242490i32 as _ ) ; pub const ERROR_GRAPHICS_VIDPN_SOURCE_IN_USE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242430i32 as _ ) ; pub const ERROR_GRAPHICS_VIDPN_TOPOLOGY_CURRENTLY_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242494i32 as _ ) ; pub const ERROR_GRAPHICS_VIDPN_TOPOLOGY_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242495i32 as _ ) ; pub const ERROR_GRAPHICS_WINDOWDC_NOT_AVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071243251i32 as _ ) ; pub const ERROR_GRAPHICS_WINDOWLESS_PRESENT_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071243250i32 as _ ) ; pub const ERROR_GRAPHICS_WRONG_ALLOCATION_DEVICE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071242987i32 as _ ) ; pub const ERROR_HUNG_DISPLAY_DRIVER_THREAD : :: windows :: HRESULT = :: windows :: HRESULT ( -2144993279i32 as _ ) ; pub const ERROR_IO_PREEMPTED : :: windows :: HRESULT = :: windows :: HRESULT ( -1996423167i32 as _ ) ; pub const ERROR_MONITOR_INVALID_DESCRIPTOR_CHECKSUM : :: windows :: HRESULT = :: windows :: HRESULT ( -1071247357i32 as _ ) ; pub const ERROR_MONITOR_INVALID_DETAILED_TIMING_BLOCK : :: windows :: HRESULT = :: windows :: HRESULT ( -1071247351i32 as _ ) ; pub const ERROR_MONITOR_INVALID_MANUFACTURE_DATE : :: windows :: HRESULT = :: windows :: HRESULT ( -1071247350i32 as _ ) ; pub const ERROR_MONITOR_INVALID_SERIAL_NUMBER_MONDSC_BLOCK : :: windows :: HRESULT = :: windows :: HRESULT ( -1071247354i32 as _ ) ; pub const ERROR_MONITOR_INVALID_STANDARD_TIMING_BLOCK : :: windows :: HRESULT = :: windows :: HRESULT ( -1071247356i32 as _ ) ; pub const ERROR_MONITOR_INVALID_USER_FRIENDLY_MONDSC_BLOCK : :: windows :: HRESULT = :: windows :: HRESULT ( -1071247353i32 as _ ) ; pub const ERROR_MONITOR_NO_DESCRIPTOR : :: windows :: HRESULT = :: windows :: HRESULT ( 2494465i32 as _ ) ; pub const ERROR_MONITOR_NO_MORE_DESCRIPTOR_DATA : :: windows :: HRESULT = :: windows :: HRESULT ( -1071247352i32 as _ ) ; pub const ERROR_MONITOR_UNKNOWN_DESCRIPTOR_FORMAT : :: windows :: HRESULT = :: windows :: HRESULT ( 2494466i32 as _ ) ; pub const ERROR_MONITOR_WMI_DATABLOCK_REGISTRATION_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -1071247355i32 as _ ) ; pub const ERROR_NOT_A_TIERED_VOLUME : :: windows :: HRESULT = :: windows :: HRESULT ( -2138898423i32 as _ ) ; pub const ERROR_NO_APPLICABLE_APP_LICENSES_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -1058406399i32 as _ ) ; pub const ERROR_QUIC_HANDSHAKE_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143223808i32 as _ ) ; pub const ERROR_QUIC_VER_NEG_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143223807i32 as _ ) ; pub const ERROR_SECCORE_INVALID_COMMAND : :: windows :: HRESULT = :: windows :: HRESULT ( -1058537472i32 as _ ) ; pub const ERROR_SMB_BAD_CLUSTER_DIALECT : :: windows :: HRESULT = :: windows :: HRESULT ( -1067646975i32 as _ ) ; pub const ERROR_SMB_NO_PREAUTH_INTEGRITY_HASH_OVERLAP : :: windows :: HRESULT = :: windows :: HRESULT ( -1067646976i32 as _ ) ; pub const ERROR_SPACES_ALLOCATION_SIZE_INVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2132344818i32 as _ ) ; pub const ERROR_SPACES_DRIVE_OPERATIONAL_STATE_INVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2132344814i32 as _ ) ; pub const ERROR_SPACES_DRIVE_REDUNDANCY_INVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2132344826i32 as _ ) ; pub const ERROR_SPACES_DRIVE_SECTOR_SIZE_INVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2132344828i32 as _ ) ; pub const ERROR_SPACES_ENCLOSURE_AWARE_INVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2132344817i32 as _ ) ; pub const ERROR_SPACES_ENTRY_INCOMPLETE : :: windows :: HRESULT = :: windows :: HRESULT ( -2132344813i32 as _ ) ; pub const ERROR_SPACES_ENTRY_INVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2132344812i32 as _ ) ; pub const ERROR_SPACES_EXTENDED_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2132344820i32 as _ ) ; pub const ERROR_SPACES_FAULT_DOMAIN_TYPE_INVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2132344831i32 as _ ) ; pub const ERROR_SPACES_INTERLEAVE_LENGTH_INVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2132344823i32 as _ ) ; pub const ERROR_SPACES_INTERNAL_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2132344830i32 as _ ) ; pub const ERROR_SPACES_NOT_ENOUGH_DRIVES : :: windows :: HRESULT = :: windows :: HRESULT ( -2132344821i32 as _ ) ; pub const ERROR_SPACES_NUMBER_OF_COLUMNS_INVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2132344822i32 as _ ) ; pub const ERROR_SPACES_NUMBER_OF_DATA_COPIES_INVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2132344825i32 as _ ) ; pub const ERROR_SPACES_NUMBER_OF_GROUPS_INVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2132344815i32 as _ ) ; pub const ERROR_SPACES_PARITY_LAYOUT_INVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2132344824i32 as _ ) ; pub const ERROR_SPACES_POOL_WAS_DELETED : :: windows :: HRESULT = :: windows :: HRESULT ( 15138817i32 as _ ) ; pub const ERROR_SPACES_PROVISIONING_TYPE_INVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2132344819i32 as _ ) ; pub const ERROR_SPACES_RESILIENCY_TYPE_INVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2132344829i32 as _ ) ; pub const ERROR_SPACES_WRITE_CACHE_SIZE_INVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2132344816i32 as _ ) ; pub const ERROR_SVHDX_ERROR_NOT_AVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -1067647232i32 as _ ) ; pub const ERROR_SVHDX_ERROR_STORED : :: windows :: HRESULT = :: windows :: HRESULT ( -1067712512i32 as _ ) ; pub const ERROR_SVHDX_NO_INITIATOR : :: windows :: HRESULT = :: windows :: HRESULT ( -1067647221i32 as _ ) ; pub const ERROR_SVHDX_RESERVATION_CONFLICT : :: windows :: HRESULT = :: windows :: HRESULT ( -1067647225i32 as _ ) ; pub const ERROR_SVHDX_UNIT_ATTENTION_AVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -1067647231i32 as _ ) ; pub const ERROR_SVHDX_UNIT_ATTENTION_CAPACITY_DATA_CHANGED : :: windows :: HRESULT = :: windows :: HRESULT ( -1067647230i32 as _ ) ; pub const ERROR_SVHDX_UNIT_ATTENTION_OPERATING_DEFINITION_CHANGED : :: windows :: HRESULT = :: windows :: HRESULT ( -1067647226i32 as _ ) ; pub const ERROR_SVHDX_UNIT_ATTENTION_REGISTRATIONS_PREEMPTED : :: windows :: HRESULT = :: windows :: HRESULT ( -1067647227i32 as _ ) ; pub const ERROR_SVHDX_UNIT_ATTENTION_RESERVATIONS_PREEMPTED : :: windows :: HRESULT = :: windows :: HRESULT ( -1067647229i32 as _ ) ; pub const ERROR_SVHDX_UNIT_ATTENTION_RESERVATIONS_RELEASED : :: windows :: HRESULT = :: windows :: HRESULT ( -1067647228i32 as _ ) ; pub const ERROR_SVHDX_VERSION_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -1067647223i32 as _ ) ; pub const ERROR_SVHDX_WRONG_FILE_TYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -1067647224i32 as _ ) ; pub const ERROR_TIERING_ALREADY_PROCESSING : :: windows :: HRESULT = :: windows :: HRESULT ( -2138898426i32 as _ ) ; pub const ERROR_TIERING_CANNOT_PIN_OBJECT : :: windows :: HRESULT = :: windows :: HRESULT ( -2138898425i32 as _ ) ; pub const ERROR_TIERING_FILE_IS_NOT_PINNED : :: windows :: HRESULT = :: windows :: HRESULT ( -2138898424i32 as _ ) ; pub const ERROR_TIERING_INVALID_FILE_ID : :: windows :: HRESULT = :: windows :: HRESULT ( -2138898428i32 as _ ) ; pub const ERROR_TIERING_NOT_SUPPORTED_ON_VOLUME : :: windows :: HRESULT = :: windows :: HRESULT ( -2138898431i32 as _ ) ; pub const ERROR_TIERING_STORAGE_TIER_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2138898429i32 as _ ) ; pub const ERROR_TIERING_VOLUME_DISMOUNT_IN_PROGRESS : :: windows :: HRESULT = :: windows :: HRESULT ( -2138898430i32 as _ ) ; pub const ERROR_TIERING_WRONG_CLUSTER_NODE : :: windows :: HRESULT = :: windows :: HRESULT ( -2138898427i32 as _ ) ; pub const ERROR_VHDSET_BACKING_STORAGE_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -1067647220i32 as _ ) ; pub const ERROR_VHD_SHARED : :: windows :: HRESULT = :: windows :: HRESULT ( -1067647222i32 as _ ) ; pub const ERROR_VOLSNAP_ACTIVATION_TIMEOUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2138963966i32 as _ ) ; pub const ERROR_VOLSNAP_BOOTFILE_NOT_VALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2138963967i32 as _ ) ; pub const EVENT_E_ALL_SUBSCRIBERS_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220991i32 as _ ) ; pub const EVENT_E_CANT_MODIFY_OR_DELETE_CONFIGURED_OBJECT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220978i32 as _ ) ; pub const EVENT_E_CANT_MODIFY_OR_DELETE_UNCONFIGURED_OBJECT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220979i32 as _ ) ; pub const EVENT_E_COMPLUS_NOT_INSTALLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220980i32 as _ ) ; pub const EVENT_E_FIRST : i32 = -2147220992i32 ; pub const EVENT_E_INTERNALERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220986i32 as _ ) ; pub const EVENT_E_INTERNALEXCEPTION : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220987i32 as _ ) ; pub const EVENT_E_INVALID_EVENT_CLASS_PARTITION : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220977i32 as _ ) ; pub const EVENT_E_INVALID_PER_USER_SID : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220985i32 as _ ) ; pub const EVENT_E_LAST : i32 = -2147220961i32 ; pub const EVENT_E_MISSING_EVENTCLASS : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220982i32 as _ ) ; pub const EVENT_E_NOT_ALL_REMOVED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220981i32 as _ ) ; pub const EVENT_E_PER_USER_SID_NOT_LOGGED_ON : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220976i32 as _ ) ; pub const EVENT_E_QUERYFIELD : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220988i32 as _ ) ; pub const EVENT_E_QUERYSYNTAX : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220989i32 as _ ) ; pub const EVENT_E_TOO_MANY_METHODS : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220983i32 as _ ) ; pub const EVENT_E_USER_EXCEPTION : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220984i32 as _ ) ; pub const EVENT_S_FIRST : i32 = 262656i32 ; pub const EVENT_S_LAST : i32 = 262687i32 ; pub const EVENT_S_NOSUBSCRIBERS : :: windows :: HRESULT = :: windows :: HRESULT ( 262658i32 as _ ) ; pub const EVENT_S_SOME_SUBSCRIBERS_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( 262656i32 as _ ) ; pub const E_ABORT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467260i32 as _ ) ; pub const E_ACCESSDENIED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147024891i32 as _ ) ; pub const E_APPLICATION_ACTIVATION_EXEC_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927141i32 as _ ) ; pub const E_APPLICATION_ACTIVATION_TIMED_OUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927142i32 as _ ) ; pub const E_APPLICATION_EXITING : :: windows :: HRESULT = :: windows :: HRESULT ( -2147483622i32 as _ ) ; pub const E_APPLICATION_MANAGER_NOT_RUNNING : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927145i32 as _ ) ; pub const E_APPLICATION_NOT_REGISTERED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927148i32 as _ ) ; pub const E_APPLICATION_TEMPORARY_LICENSE_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927140i32 as _ ) ; pub const E_APPLICATION_TRIAL_LICENSE_EXPIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927139i32 as _ ) ; pub const E_APPLICATION_VIEW_EXITING : :: windows :: HRESULT = :: windows :: HRESULT ( -2147483621i32 as _ ) ; pub const E_ASYNC_OPERATION_NOT_STARTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147483623i32 as _ ) ; pub const E_AUDIO_ENGINE_NODE_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2140798975i32 as _ ) ; pub const E_BLUETOOTH_ATT_ATTRIBUTE_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2140864502i32 as _ ) ; pub const E_BLUETOOTH_ATT_ATTRIBUTE_NOT_LONG : :: windows :: HRESULT = :: windows :: HRESULT ( -2140864501i32 as _ ) ; pub const E_BLUETOOTH_ATT_INSUFFICIENT_AUTHENTICATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2140864507i32 as _ ) ; pub const E_BLUETOOTH_ATT_INSUFFICIENT_AUTHORIZATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2140864504i32 as _ ) ; pub const E_BLUETOOTH_ATT_INSUFFICIENT_ENCRYPTION : :: windows :: HRESULT = :: windows :: HRESULT ( -2140864497i32 as _ ) ; pub const E_BLUETOOTH_ATT_INSUFFICIENT_ENCRYPTION_KEY_SIZE : :: windows :: HRESULT = :: windows :: HRESULT ( -2140864500i32 as _ ) ; pub const E_BLUETOOTH_ATT_INSUFFICIENT_RESOURCES : :: windows :: HRESULT = :: windows :: HRESULT ( -2140864495i32 as _ ) ; pub const E_BLUETOOTH_ATT_INVALID_ATTRIBUTE_VALUE_LENGTH : :: windows :: HRESULT = :: windows :: HRESULT ( -2140864499i32 as _ ) ; pub const E_BLUETOOTH_ATT_INVALID_HANDLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2140864511i32 as _ ) ; pub const E_BLUETOOTH_ATT_INVALID_OFFSET : :: windows :: HRESULT = :: windows :: HRESULT ( -2140864505i32 as _ ) ; pub const E_BLUETOOTH_ATT_INVALID_PDU : :: windows :: HRESULT = :: windows :: HRESULT ( -2140864508i32 as _ ) ; pub const E_BLUETOOTH_ATT_PREPARE_QUEUE_FULL : :: windows :: HRESULT = :: windows :: HRESULT ( -2140864503i32 as _ ) ; pub const E_BLUETOOTH_ATT_READ_NOT_PERMITTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140864510i32 as _ ) ; pub const E_BLUETOOTH_ATT_REQUEST_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140864506i32 as _ ) ; pub const E_BLUETOOTH_ATT_UNKNOWN_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2140860416i32 as _ ) ; pub const E_BLUETOOTH_ATT_UNLIKELY : :: windows :: HRESULT = :: windows :: HRESULT ( -2140864498i32 as _ ) ; pub const E_BLUETOOTH_ATT_UNSUPPORTED_GROUP_TYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2140864496i32 as _ ) ; pub const E_BLUETOOTH_ATT_WRITE_NOT_PERMITTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140864509i32 as _ ) ; pub const E_BOUNDS : :: windows :: HRESULT = :: windows :: HRESULT ( -2147483637i32 as _ ) ; pub const E_CHANGED_STATE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147483636i32 as _ ) ; pub const E_ELEVATED_ACTIVATION_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927151i32 as _ ) ; pub const E_FAIL : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467259i32 as _ ) ; pub const E_FULL_ADMIN_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927149i32 as _ ) ; pub const E_HANDLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147024890i32 as _ ) ; pub const E_HDAUDIO_CONNECTION_LIST_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140798973i32 as _ ) ; pub const E_HDAUDIO_EMPTY_CONNECTION_LIST : :: windows :: HRESULT = :: windows :: HRESULT ( -2140798974i32 as _ ) ; pub const E_HDAUDIO_NO_LOGICAL_DEVICES_CREATED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140798972i32 as _ ) ; pub const E_HDAUDIO_NULL_LINKED_LIST_ENTRY : :: windows :: HRESULT = :: windows :: HRESULT ( -2140798971i32 as _ ) ; pub const E_ILLEGAL_DELEGATE_ASSIGNMENT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147483624i32 as _ ) ; pub const E_ILLEGAL_METHOD_CALL : :: windows :: HRESULT = :: windows :: HRESULT ( -2147483634i32 as _ ) ; pub const E_ILLEGAL_STATE_CHANGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147483635i32 as _ ) ; pub const E_INVALIDARG : :: windows :: HRESULT = :: windows :: HRESULT ( -2147024809i32 as _ ) ; pub const E_INVALID_PROTOCOL_FORMAT : :: windows :: HRESULT = :: windows :: HRESULT ( -2089418750i32 as _ ) ; pub const E_INVALID_PROTOCOL_OPERATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2089418751i32 as _ ) ; pub const E_MBN_BAD_SIM : :: windows :: HRESULT = :: windows :: HRESULT ( -2141945342i32 as _ ) ; pub const E_MBN_CONTEXT_NOT_ACTIVATED : :: windows :: HRESULT = :: windows :: HRESULT ( -2141945343i32 as _ ) ; pub const E_MBN_DATA_CLASS_NOT_AVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2141945341i32 as _ ) ; pub const E_MBN_DEFAULT_PROFILE_EXIST : :: windows :: HRESULT = :: windows :: HRESULT ( -2141945319i32 as _ ) ; pub const E_MBN_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2141945326i32 as _ ) ; pub const E_MBN_INVALID_ACCESS_STRING : :: windows :: HRESULT = :: windows :: HRESULT ( -2141945340i32 as _ ) ; pub const E_MBN_INVALID_CACHE : :: windows :: HRESULT = :: windows :: HRESULT ( -2141945332i32 as _ ) ; pub const E_MBN_INVALID_PROFILE : :: windows :: HRESULT = :: windows :: HRESULT ( -2141945320i32 as _ ) ; pub const E_MBN_MAX_ACTIVATED_CONTEXTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2141945339i32 as _ ) ; pub const E_MBN_NOT_REGISTERED : :: windows :: HRESULT = :: windows :: HRESULT ( -2141945331i32 as _ ) ; pub const E_MBN_PACKET_SVC_DETACHED : :: windows :: HRESULT = :: windows :: HRESULT ( -2141945338i32 as _ ) ; pub const E_MBN_PIN_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2141945327i32 as _ ) ; pub const E_MBN_PIN_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2141945329i32 as _ ) ; pub const E_MBN_PIN_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2141945328i32 as _ ) ; pub const E_MBN_PROVIDERS_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2141945330i32 as _ ) ; pub const E_MBN_PROVIDER_NOT_VISIBLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2141945337i32 as _ ) ; pub const E_MBN_RADIO_POWER_OFF : :: windows :: HRESULT = :: windows :: HRESULT ( -2141945336i32 as _ ) ; pub const E_MBN_SERVICE_NOT_ACTIVATED : :: windows :: HRESULT = :: windows :: HRESULT ( -2141945335i32 as _ ) ; pub const E_MBN_SIM_NOT_INSERTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2141945334i32 as _ ) ; pub const E_MBN_SMS_ENCODING_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2141945312i32 as _ ) ; pub const E_MBN_SMS_FILTER_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2141945311i32 as _ ) ; pub const E_MBN_SMS_FORMAT_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2141945305i32 as _ ) ; pub const E_MBN_SMS_INVALID_MEMORY_INDEX : :: windows :: HRESULT = :: windows :: HRESULT ( -2141945310i32 as _ ) ; pub const E_MBN_SMS_LANG_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2141945309i32 as _ ) ; pub const E_MBN_SMS_MEMORY_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2141945308i32 as _ ) ; pub const E_MBN_SMS_MEMORY_FULL : :: windows :: HRESULT = :: windows :: HRESULT ( -2141945303i32 as _ ) ; pub const E_MBN_SMS_NETWORK_TIMEOUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2141945307i32 as _ ) ; pub const E_MBN_SMS_OPERATION_NOT_ALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -2141945304i32 as _ ) ; pub const E_MBN_SMS_UNKNOWN_SMSC_ADDRESS : :: windows :: HRESULT = :: windows :: HRESULT ( -2141945306i32 as _ ) ; pub const E_MBN_VOICE_CALL_IN_PROGRESS : :: windows :: HRESULT = :: windows :: HRESULT ( -2141945333i32 as _ ) ; pub const E_MONITOR_RESOLUTION_TOO_LOW : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927152i32 as _ ) ; pub const E_MULTIPLE_EXTENSIONS_FOR_APPLICATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927147i32 as _ ) ; pub const E_MULTIPLE_PACKAGES_FOR_FAMILY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927146i32 as _ ) ; pub const E_NOINTERFACE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467262i32 as _ ) ; pub const E_NOTIMPL : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467263i32 as _ ) ; pub const E_OUTOFMEMORY : :: windows :: HRESULT = :: windows :: HRESULT ( -2147024882i32 as _ ) ; pub const E_POINTER : :: windows :: HRESULT = :: windows :: HRESULT ( -2147467261i32 as _ ) ; pub const E_PROTOCOL_EXTENSIONS_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2089418749i32 as _ ) ; pub const E_PROTOCOL_VERSION_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2089418747i32 as _ ) ; pub const E_SKYDRIVE_FILE_NOT_UPLOADED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927133i32 as _ ) ; pub const E_SKYDRIVE_ROOT_TARGET_CANNOT_INDEX : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927134i32 as _ ) ; pub const E_SKYDRIVE_ROOT_TARGET_FILE_SYSTEM_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927136i32 as _ ) ; pub const E_SKYDRIVE_ROOT_TARGET_OVERLAP : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927135i32 as _ ) ; pub const E_SKYDRIVE_ROOT_TARGET_VOLUME_ROOT_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927131i32 as _ ) ; pub const E_SKYDRIVE_UPDATE_AVAILABILITY_FAIL : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927132i32 as _ ) ; pub const E_STRING_NOT_NULL_TERMINATED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147483625i32 as _ ) ; pub const E_SUBPROTOCOL_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2089418748i32 as _ ) ; pub const E_SYNCENGINE_CLIENT_UPDATE_NEEDED : :: windows :: HRESULT = :: windows :: HRESULT ( -2013081594i32 as _ ) ; pub const E_SYNCENGINE_FILE_IDENTIFIER_UNKNOWN : :: windows :: HRESULT = :: windows :: HRESULT ( -2013085694i32 as _ ) ; pub const E_SYNCENGINE_FILE_SIZE_EXCEEDS_REMAINING_QUOTA : :: windows :: HRESULT = :: windows :: HRESULT ( -2013089790i32 as _ ) ; pub const E_SYNCENGINE_FILE_SIZE_OVER_LIMIT : :: windows :: HRESULT = :: windows :: HRESULT ( -2013089791i32 as _ ) ; pub const E_SYNCENGINE_FILE_SYNC_PARTNER_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2013089787i32 as _ ) ; pub const E_SYNCENGINE_FOLDER_INACCESSIBLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2013081599i32 as _ ) ; pub const E_SYNCENGINE_FOLDER_IN_REDIRECTION : :: windows :: HRESULT = :: windows :: HRESULT ( -2013081589i32 as _ ) ; pub const E_SYNCENGINE_FOLDER_ITEM_COUNT_LIMIT_EXCEEDED : :: windows :: HRESULT = :: windows :: HRESULT ( -2013089788i32 as _ ) ; pub const E_SYNCENGINE_PATH_LENGTH_LIMIT_EXCEEDED : :: windows :: HRESULT = :: windows :: HRESULT ( -2013081596i32 as _ ) ; pub const E_SYNCENGINE_PROXY_AUTHENTICATION_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2013081593i32 as _ ) ; pub const E_SYNCENGINE_REMOTE_PATH_LENGTH_LIMIT_EXCEEDED : :: windows :: HRESULT = :: windows :: HRESULT ( -2013081595i32 as _ ) ; pub const E_SYNCENGINE_REQUEST_BLOCKED_BY_SERVICE : :: windows :: HRESULT = :: windows :: HRESULT ( -2013085690i32 as _ ) ; pub const E_SYNCENGINE_REQUEST_BLOCKED_DUE_TO_CLIENT_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2013085689i32 as _ ) ; pub const E_SYNCENGINE_SERVICE_AUTHENTICATION_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2013085693i32 as _ ) ; pub const E_SYNCENGINE_SERVICE_RETURNED_UNEXPECTED_SIZE : :: windows :: HRESULT = :: windows :: HRESULT ( -2013085691i32 as _ ) ; pub const E_SYNCENGINE_STORAGE_SERVICE_BLOCKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2013081590i32 as _ ) ; pub const E_SYNCENGINE_STORAGE_SERVICE_PROVISIONING_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2013081592i32 as _ ) ; pub const E_SYNCENGINE_SYNC_PAUSED_BY_SERVICE : :: windows :: HRESULT = :: windows :: HRESULT ( -2013089786i32 as _ ) ; pub const E_SYNCENGINE_UNKNOWN_SERVICE_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2013085692i32 as _ ) ; pub const E_SYNCENGINE_UNSUPPORTED_FILE_NAME : :: windows :: HRESULT = :: windows :: HRESULT ( -2013089789i32 as _ ) ; pub const E_SYNCENGINE_UNSUPPORTED_FOLDER_NAME : :: windows :: HRESULT = :: windows :: HRESULT ( -2013081598i32 as _ ) ; pub const E_SYNCENGINE_UNSUPPORTED_MARKET : :: windows :: HRESULT = :: windows :: HRESULT ( -2013081597i32 as _ ) ; pub const E_SYNCENGINE_UNSUPPORTED_REPARSE_POINT : :: windows :: HRESULT = :: windows :: HRESULT ( -2013081591i32 as _ ) ; pub const E_UAC_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927150i32 as _ ) ; pub const E_UNEXPECTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147418113i32 as _ ) ; pub const FACILTIY_MUI_ERROR_CODE : u32 = 11u32 ; pub type FARPROC = unsafe extern "system" fn ( ) -> isize ; pub const FA_E_HOMEGROUP_NOT_AVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927198i32 as _ ) ; pub const FA_E_MAX_PERSISTED_ITEMS_REACHED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927200i32 as _ ) ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct FILETIME { pub dwLowDateTime : u32 , pub dwHighDateTime : u32 } impl FILETIME { } impl :: std :: default :: Default for FILETIME { fn default ( ) -> Self { Self { dwLowDateTime : 0 , dwHighDateTime : 0 } } } impl :: std :: fmt :: Debug for FILETIME { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "FILETIME" ) . field ( "dwLowDateTime" , & self . dwLowDateTime ) . field ( "dwHighDateTime" , & self . dwHighDateTime ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FILETIME { fn eq ( & self , other : & Self ) -> bool { self . dwLowDateTime == other . dwLowDateTime && self . dwHighDateTime == other . dwHighDateTime } } impl :: std :: cmp :: Eq for FILETIME { } unsafe impl :: windows :: Abi for FILETIME { type Abi = Self ; type DefaultType = Self ; } pub const FRS_ERR_AUTHENTICATION : i32 = 8008i32 ; pub const FRS_ERR_CHILD_TO_PARENT_COMM : i32 = 8011i32 ; pub const FRS_ERR_INSUFFICIENT_PRIV : i32 = 8007i32 ; pub const FRS_ERR_INTERNAL : i32 = 8005i32 ; pub const FRS_ERR_INTERNAL_API : i32 = 8004i32 ; pub const FRS_ERR_INVALID_API_SEQUENCE : i32 = 8001i32 ; pub const FRS_ERR_INVALID_SERVICE_PARAMETER : i32 = 8017i32 ; pub const FRS_ERR_PARENT_AUTHENTICATION : i32 = 8010i32 ; pub const FRS_ERR_PARENT_INSUFFICIENT_PRIV : i32 = 8009i32 ; pub const FRS_ERR_PARENT_TO_CHILD_COMM : i32 = 8012i32 ; pub const FRS_ERR_SERVICE_COMM : i32 = 8006i32 ; pub const FRS_ERR_STARTING_SERVICE : i32 = 8002i32 ; pub const FRS_ERR_STOPPING_SERVICE : i32 = 8003i32 ; pub const FRS_ERR_SYSVOL_DEMOTE : i32 = 8016i32 ; pub const FRS_ERR_SYSVOL_IS_BUSY : i32 = 8015i32 ; pub const FRS_ERR_SYSVOL_POPULATE : i32 = 8013i32 ; pub const FRS_ERR_SYSVOL_POPULATE_TIMEOUT : i32 = 8014i32 ; pub const FVE_E_AAD_ENDPOINT_BUSY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272159i32 as _ ) ; pub const FVE_E_ACTION_NOT_ALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272375i32 as _ ) ; pub const FVE_E_ADBACKUP_NOT_ENABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272171i32 as _ ) ; pub const FVE_E_AD_ATTR_NOT_SET : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272370i32 as _ ) ; pub const FVE_E_AD_BACKUP_REQUIRED_POLICY_NOT_SET_FIXED_DRIVE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272165i32 as _ ) ; pub const FVE_E_AD_BACKUP_REQUIRED_POLICY_NOT_SET_OS_DRIVE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272166i32 as _ ) ; pub const FVE_E_AD_BACKUP_REQUIRED_POLICY_NOT_SET_REMOVABLE_DRIVE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272164i32 as _ ) ; pub const FVE_E_AD_GUID_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272369i32 as _ ) ; pub const FVE_E_AD_INSUFFICIENT_BUFFER : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272358i32 as _ ) ; pub const FVE_E_AD_INVALID_DATASIZE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272372i32 as _ ) ; pub const FVE_E_AD_INVALID_DATATYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272373i32 as _ ) ; pub const FVE_E_AD_NO_VALUES : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272371i32 as _ ) ; pub const FVE_E_AD_SCHEMA_NOT_INSTALLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272374i32 as _ ) ; pub const FVE_E_AUTH_INVALID_APPLICATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272316i32 as _ ) ; pub const FVE_E_AUTH_INVALID_CONFIG : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272315i32 as _ ) ; pub const FVE_E_AUTOUNLOCK_ENABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272343i32 as _ ) ; pub const FVE_E_BAD_DATA : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272362i32 as _ ) ; pub const FVE_E_BAD_INFORMATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272368i32 as _ ) ; pub const FVE_E_BAD_PARTITION_SIZE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272364i32 as _ ) ; pub const FVE_E_BCD_APPLICATIONS_PATH_INCORRECT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272302i32 as _ ) ; pub const FVE_E_BOOTABLE_CDDVD : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272336i32 as _ ) ; pub const FVE_E_BUFFER_TOO_LARGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272177i32 as _ ) ; pub const FVE_E_CANNOT_ENCRYPT_NO_KEY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272338i32 as _ ) ; pub const FVE_E_CANNOT_SET_FVEK_ENCRYPTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272339i32 as _ ) ; pub const FVE_E_CANT_LOCK_AUTOUNLOCK_ENABLED_VOLUME : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272233i32 as _ ) ; pub const FVE_E_CLUSTERING_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272354i32 as _ ) ; pub const FVE_E_CONV_READ : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272357i32 as _ ) ; pub const FVE_E_CONV_RECOVERY_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272248i32 as _ ) ; pub const FVE_E_CONV_WRITE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272356i32 as _ ) ; pub const FVE_E_DEBUGGER_ENABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272305i32 as _ ) ; pub const FVE_E_DEVICELOCKOUT_COUNTER_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272178i32 as _ ) ; pub const FVE_E_DEVICE_LOCKOUT_COUNTER_UNAVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272179i32 as _ ) ; pub const FVE_E_DEVICE_NOT_JOINED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272160i32 as _ ) ; pub const FVE_E_DE_DEVICE_LOCKEDOUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272182i32 as _ ) ; pub const FVE_E_DE_FIXED_DATA_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272187i32 as _ ) ; pub const FVE_E_DE_HARDWARE_NOT_COMPLIANT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272186i32 as _ ) ; pub const FVE_E_DE_OS_VOLUME_NOT_PROTECTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272183i32 as _ ) ; pub const FVE_E_DE_PREVENTED_FOR_OS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272175i32 as _ ) ; pub const FVE_E_DE_PROTECTION_NOT_YET_ENABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272181i32 as _ ) ; pub const FVE_E_DE_PROTECTION_SUSPENDED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272184i32 as _ ) ; pub const FVE_E_DE_VOLUME_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272173i32 as _ ) ; pub const FVE_E_DE_VOLUME_OPTED_OUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272174i32 as _ ) ; pub const FVE_E_DE_WINRE_NOT_CONFIGURED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272185i32 as _ ) ; pub const FVE_E_DRY_RUN_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272307i32 as _ ) ; pub const FVE_E_DV_NOT_ALLOWED_BY_GP : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272271i32 as _ ) ; pub const FVE_E_DV_NOT_SUPPORTED_ON_FS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272272i32 as _ ) ; pub const FVE_E_EDRIVE_BAND_IN_USE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272208i32 as _ ) ; pub const FVE_E_EDRIVE_DISALLOWED_BY_GP : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272207i32 as _ ) ; pub const FVE_E_EDRIVE_DRY_RUN_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272196i32 as _ ) ; pub const FVE_E_EDRIVE_DV_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272204i32 as _ ) ; pub const FVE_E_EDRIVE_INCOMPATIBLE_FIRMWARE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272193i32 as _ ) ; pub const FVE_E_EDRIVE_INCOMPATIBLE_VOLUME : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272206i32 as _ ) ; pub const FVE_E_EDRIVE_NO_FAILOVER_TO_SW : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272209i32 as _ ) ; pub const FVE_E_EFI_ONLY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272228i32 as _ ) ; pub const FVE_E_ENH_PIN_INVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272231i32 as _ ) ; pub const FVE_E_EOW_NOT_SUPPORTED_IN_VERSION : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272172i32 as _ ) ; pub const FVE_E_EXECUTE_REQUEST_SENT_TOO_SOON : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272162i32 as _ ) ; pub const FVE_E_FAILED_AUTHENTICATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272345i32 as _ ) ; pub const FVE_E_FAILED_SECTOR_SIZE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272346i32 as _ ) ; pub const FVE_E_FAILED_WRONG_FS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272365i32 as _ ) ; pub const FVE_E_FIPS_DISABLE_PROTECTION_NOT_ALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272314i32 as _ ) ; pub const FVE_E_FIPS_HASH_KDF_NOT_ALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272232i32 as _ ) ; pub const FVE_E_FIPS_PREVENTS_EXTERNAL_KEY_EXPORT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272328i32 as _ ) ; pub const FVE_E_FIPS_PREVENTS_PASSPHRASE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272276i32 as _ ) ; pub const FVE_E_FIPS_PREVENTS_RECOVERY_PASSWORD : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272329i32 as _ ) ; pub const FVE_E_FIPS_RNG_CHECK_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272330i32 as _ ) ; pub const FVE_E_FIRMWARE_TYPE_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272312i32 as _ ) ; pub const FVE_E_FOREIGN_VOLUME : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272349i32 as _ ) ; pub const FVE_E_FS_MOUNTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272309i32 as _ ) ; pub const FVE_E_FS_NOT_EXTENDED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272313i32 as _ ) ; pub const FVE_E_FULL_ENCRYPTION_NOT_ALLOWED_ON_TP_STORAGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272219i32 as _ ) ; pub const FVE_E_HIDDEN_VOLUME : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272298i32 as _ ) ; pub const FVE_E_INVALID_BITLOCKER_OID : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272274i32 as _ ) ; pub const FVE_E_INVALID_DATUM_TYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272229i32 as _ ) ; pub const FVE_E_INVALID_KEY_FORMAT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272332i32 as _ ) ; pub const FVE_E_INVALID_NKP_CERT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272225i32 as _ ) ; pub const FVE_E_INVALID_PASSWORD_FORMAT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272331i32 as _ ) ; pub const FVE_E_INVALID_PIN_CHARS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272230i32 as _ ) ; pub const FVE_E_INVALID_PIN_CHARS_DETAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272180i32 as _ ) ; pub const FVE_E_INVALID_PROTECTOR_TYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272326i32 as _ ) ; pub const FVE_E_INVALID_STARTUP_OPTIONS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272293i32 as _ ) ; pub const FVE_E_KEYFILE_INVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272323i32 as _ ) ; pub const FVE_E_KEYFILE_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272324i32 as _ ) ; pub const FVE_E_KEYFILE_NO_VMK : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272322i32 as _ ) ; pub const FVE_E_KEY_LENGTH_NOT_SUPPORTED_BY_EDRIVE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272217i32 as _ ) ; pub const FVE_E_KEY_PROTECTOR_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272279i32 as _ ) ; pub const FVE_E_KEY_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272355i32 as _ ) ; pub const FVE_E_KEY_ROTATION_NOT_ENABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272161i32 as _ ) ; pub const FVE_E_KEY_ROTATION_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272163i32 as _ ) ; pub const FVE_E_LIVEID_ACCOUNT_BLOCKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272189i32 as _ ) ; pub const FVE_E_LIVEID_ACCOUNT_SUSPENDED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272190i32 as _ ) ; pub const FVE_E_LOCKED_VOLUME : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272384i32 as _ ) ; pub const FVE_E_MOR_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272299i32 as _ ) ; pub const FVE_E_MULTIPLE_NKP_CERTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272227i32 as _ ) ; pub const FVE_E_NON_BITLOCKER_KU : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272237i32 as _ ) ; pub const FVE_E_NON_BITLOCKER_OID : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272251i32 as _ ) ; pub const FVE_E_NOT_ACTIVATED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272376i32 as _ ) ; pub const FVE_E_NOT_ALLOWED_IN_SAFE_MODE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272320i32 as _ ) ; pub const FVE_E_NOT_ALLOWED_IN_VERSION : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272301i32 as _ ) ; pub const FVE_E_NOT_ALLOWED_ON_CLUSTER : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272210i32 as _ ) ; pub const FVE_E_NOT_ALLOWED_ON_CSV_STACK : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272211i32 as _ ) ; pub const FVE_E_NOT_ALLOWED_TO_UPGRADE_WHILE_CONVERTING : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272205i32 as _ ) ; pub const FVE_E_NOT_DATA_VOLUME : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272359i32 as _ ) ; pub const FVE_E_NOT_DECRYPTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272327i32 as _ ) ; pub const FVE_E_NOT_DE_VOLUME : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272169i32 as _ ) ; pub const FVE_E_NOT_ENCRYPTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272383i32 as _ ) ; pub const FVE_E_NOT_ON_STACK : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272310i32 as _ ) ; pub const FVE_E_NOT_OS_VOLUME : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272344i32 as _ ) ; pub const FVE_E_NOT_PROVISIONED_ON_ALL_VOLUMES : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272188i32 as _ ) ; pub const FVE_E_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272363i32 as _ ) ; pub const FVE_E_NO_AUTOUNLOCK_MASTER_KEY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272300i32 as _ ) ; pub const FVE_E_NO_BOOTMGR_METRIC : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272379i32 as _ ) ; pub const FVE_E_NO_BOOTSECTOR_METRIC : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272380i32 as _ ) ; pub const FVE_E_NO_EXISTING_PASSPHRASE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272216i32 as _ ) ; pub const FVE_E_NO_EXISTING_PIN : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272224i32 as _ ) ; pub const FVE_E_NO_FEATURE_LICENSE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272294i32 as _ ) ; pub const FVE_E_NO_LICENSE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272311i32 as _ ) ; pub const FVE_E_NO_MBR_METRIC : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272381i32 as _ ) ; pub const FVE_E_NO_PASSPHRASE_WITH_TPM : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272213i32 as _ ) ; pub const FVE_E_NO_PREBOOT_KEYBOARD_DETECTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272203i32 as _ ) ; pub const FVE_E_NO_PREBOOT_KEYBOARD_OR_WINRE_DETECTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272202i32 as _ ) ; pub const FVE_E_NO_PROTECTORS_TO_TEST : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272325i32 as _ ) ; pub const FVE_E_NO_SUCH_CAPABILITY_ON_TARGET : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272176i32 as _ ) ; pub const FVE_E_NO_TPM_BIOS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272382i32 as _ ) ; pub const FVE_E_NO_TPM_WITH_PASSPHRASE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272212i32 as _ ) ; pub const FVE_E_OPERATION_NOT_SUPPORTED_ON_VISTA_VOLUME : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272234i32 as _ ) ; pub const FVE_E_OSV_KSR_NOT_ALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272167i32 as _ ) ; pub const FVE_E_OS_NOT_PROTECTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272352i32 as _ ) ; pub const FVE_E_OS_VOLUME_PASSPHRASE_NOT_ALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272275i32 as _ ) ; pub const FVE_E_OVERLAPPED_UPDATE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272348i32 as _ ) ; pub const FVE_E_PASSPHRASE_PROTECTOR_CHANGE_BY_STD_USER_DISALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272191i32 as _ ) ; pub const FVE_E_PASSPHRASE_TOO_LONG : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272214i32 as _ ) ; pub const FVE_E_PIN_INVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272317i32 as _ ) ; pub const FVE_E_PIN_PROTECTOR_CHANGE_BY_STD_USER_DISALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272222i32 as _ ) ; pub const FVE_E_POLICY_CONFLICT_FDV_RK_OFF_AUK_ON : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272253i32 as _ ) ; pub const FVE_E_POLICY_CONFLICT_FDV_RP_OFF_ADB_ON : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272239i32 as _ ) ; pub const FVE_E_POLICY_CONFLICT_OSV_RP_OFF_ADB_ON : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272240i32 as _ ) ; pub const FVE_E_POLICY_CONFLICT_RDV_RK_OFF_AUK_ON : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272252i32 as _ ) ; pub const FVE_E_POLICY_CONFLICT_RDV_RP_OFF_ADB_ON : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272238i32 as _ ) ; pub const FVE_E_POLICY_CONFLICT_RO_AND_STARTUP_KEY_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272249i32 as _ ) ; pub const FVE_E_POLICY_INVALID_ENHANCED_BCD_SETTINGS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272194i32 as _ ) ; pub const FVE_E_POLICY_INVALID_PASSPHRASE_LENGTH : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272256i32 as _ ) ; pub const FVE_E_POLICY_INVALID_PIN_LENGTH : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272280i32 as _ ) ; pub const FVE_E_POLICY_PASSPHRASE_NOT_ALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272278i32 as _ ) ; pub const FVE_E_POLICY_PASSPHRASE_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272277i32 as _ ) ; pub const FVE_E_POLICY_PASSPHRASE_REQUIRES_ASCII : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272220i32 as _ ) ; pub const FVE_E_POLICY_PASSPHRASE_TOO_SIMPLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272255i32 as _ ) ; pub const FVE_E_POLICY_PASSWORD_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272340i32 as _ ) ; pub const FVE_E_POLICY_PROHIBITS_SELFSIGNED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272250i32 as _ ) ; pub const FVE_E_POLICY_RECOVERY_KEY_NOT_ALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272290i32 as _ ) ; pub const FVE_E_POLICY_RECOVERY_KEY_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272289i32 as _ ) ; pub const FVE_E_POLICY_RECOVERY_PASSWORD_NOT_ALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272292i32 as _ ) ; pub const FVE_E_POLICY_RECOVERY_PASSWORD_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272291i32 as _ ) ; pub const FVE_E_POLICY_REQUIRES_RECOVERY_PASSWORD_ON_TOUCH_DEVICE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272200i32 as _ ) ; pub const FVE_E_POLICY_REQUIRES_STARTUP_PIN_ON_TOUCH_DEVICE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272201i32 as _ ) ; pub const FVE_E_POLICY_STARTUP_KEY_NOT_ALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272286i32 as _ ) ; pub const FVE_E_POLICY_STARTUP_KEY_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272285i32 as _ ) ; pub const FVE_E_POLICY_STARTUP_PIN_KEY_NOT_ALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272284i32 as _ ) ; pub const FVE_E_POLICY_STARTUP_PIN_KEY_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272283i32 as _ ) ; pub const FVE_E_POLICY_STARTUP_PIN_NOT_ALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272288i32 as _ ) ; pub const FVE_E_POLICY_STARTUP_PIN_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272287i32 as _ ) ; pub const FVE_E_POLICY_STARTUP_TPM_NOT_ALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272282i32 as _ ) ; pub const FVE_E_POLICY_STARTUP_TPM_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272281i32 as _ ) ; pub const FVE_E_POLICY_USER_CERTIFICATE_NOT_ALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272270i32 as _ ) ; pub const FVE_E_POLICY_USER_CERTIFICATE_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272269i32 as _ ) ; pub const FVE_E_POLICY_USER_CERT_MUST_BE_HW : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272268i32 as _ ) ; pub const FVE_E_POLICY_USER_CONFIGURE_FDV_AUTOUNLOCK_NOT_ALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272267i32 as _ ) ; pub const FVE_E_POLICY_USER_CONFIGURE_RDV_AUTOUNLOCK_NOT_ALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272266i32 as _ ) ; pub const FVE_E_POLICY_USER_CONFIGURE_RDV_NOT_ALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272265i32 as _ ) ; pub const FVE_E_POLICY_USER_DISABLE_RDV_NOT_ALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272263i32 as _ ) ; pub const FVE_E_POLICY_USER_ENABLE_RDV_NOT_ALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272264i32 as _ ) ; pub const FVE_E_PRIVATEKEY_AUTH_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272236i32 as _ ) ; pub const FVE_E_PROTECTION_CANNOT_BE_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272168i32 as _ ) ; pub const FVE_E_PROTECTION_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272351i32 as _ ) ; pub const FVE_E_PROTECTOR_CHANGE_MAX_PASSPHRASE_CHANGE_ATTEMPTS_REACHED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272192i32 as _ ) ; pub const FVE_E_PROTECTOR_CHANGE_MAX_PIN_CHANGE_ATTEMPTS_REACHED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272221i32 as _ ) ; pub const FVE_E_PROTECTOR_CHANGE_PASSPHRASE_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272215i32 as _ ) ; pub const FVE_E_PROTECTOR_CHANGE_PIN_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272223i32 as _ ) ; pub const FVE_E_PROTECTOR_EXISTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272335i32 as _ ) ; pub const FVE_E_PROTECTOR_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272333i32 as _ ) ; pub const FVE_E_PUBKEY_NOT_ALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272296i32 as _ ) ; pub const FVE_E_RAW_ACCESS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272304i32 as _ ) ; pub const FVE_E_RAW_BLOCKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272303i32 as _ ) ; pub const FVE_E_REBOOT_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272306i32 as _ ) ; pub const FVE_E_RECOVERY_KEY_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272350i32 as _ ) ; pub const FVE_E_RECOVERY_PARTITION : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272254i32 as _ ) ; pub const FVE_E_RELATIVE_PATH : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272334i32 as _ ) ; pub const FVE_E_REMOVAL_OF_DRA_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272235i32 as _ ) ; pub const FVE_E_REMOVAL_OF_NKP_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272226i32 as _ ) ; pub const FVE_E_SECUREBOOT_CONFIGURATION_INVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272197i32 as _ ) ; pub const FVE_E_SECUREBOOT_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272198i32 as _ ) ; pub const FVE_E_SECURE_KEY_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272377i32 as _ ) ; pub const FVE_E_SHADOW_COPY_PRESENT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272195i32 as _ ) ; pub const FVE_E_SYSTEM_VOLUME : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272366i32 as _ ) ; pub const FVE_E_TOKEN_NOT_IMPERSONATED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272308i32 as _ ) ; pub const FVE_E_TOO_SMALL : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272367i32 as _ ) ; pub const FVE_E_TPM_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272321i32 as _ ) ; pub const FVE_E_TPM_INVALID_PCR : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272319i32 as _ ) ; pub const FVE_E_TPM_NOT_OWNED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272360i32 as _ ) ; pub const FVE_E_TPM_NO_VMK : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272318i32 as _ ) ; pub const FVE_E_TPM_SRK_AUTH_NOT_ZERO : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272347i32 as _ ) ; pub const FVE_E_TRANSIENT_STATE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272297i32 as _ ) ; pub const FVE_E_VIRTUALIZED_SPACE_TOO_BIG : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272247i32 as _ ) ; pub const FVE_E_VOLUME_BOUND_ALREADY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272353i32 as _ ) ; pub const FVE_E_VOLUME_EXTEND_PREVENTS_EOW_DECRYPT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272170i32 as _ ) ; pub const FVE_E_VOLUME_HANDLE_OPEN : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272295i32 as _ ) ; pub const FVE_E_VOLUME_NOT_BOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272361i32 as _ ) ; pub const FVE_E_VOLUME_TOO_SMALL : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272273i32 as _ ) ; pub const FVE_E_WIPE_CANCEL_NOT_APPLICABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272199i32 as _ ) ; pub const FVE_E_WIPE_NOT_ALLOWED_ON_TP_STORAGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272218i32 as _ ) ; pub const FVE_E_WRONG_BOOTMGR : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272378i32 as _ ) ; pub const FVE_E_WRONG_BOOTSECTOR : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272342i32 as _ ) ; pub const FVE_E_WRONG_SYSTEM_FS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144272341i32 as _ ) ; pub const FWP_E_ACTION_INCOMPATIBLE_WITH_LAYER : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206804i32 as _ ) ; pub const FWP_E_ACTION_INCOMPATIBLE_WITH_SUBLAYER : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206803i32 as _ ) ; pub const FWP_E_ALREADY_EXISTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206839i32 as _ ) ; pub const FWP_E_BUILTIN_OBJECT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206825i32 as _ ) ; pub const FWP_E_CALLOUT_NOTIFICATION_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206793i32 as _ ) ; pub const FWP_E_CALLOUT_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206847i32 as _ ) ; pub const FWP_E_CONDITION_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206846i32 as _ ) ; pub const FWP_E_CONNECTIONS_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206783i32 as _ ) ; pub const FWP_E_CONTEXT_INCOMPATIBLE_WITH_CALLOUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206801i32 as _ ) ; pub const FWP_E_CONTEXT_INCOMPATIBLE_WITH_LAYER : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206802i32 as _ ) ; pub const FWP_E_DROP_NOICMP : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206588i32 as _ ) ; pub const FWP_E_DUPLICATE_AUTH_METHOD : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206788i32 as _ ) ; pub const FWP_E_DUPLICATE_CONDITION : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206806i32 as _ ) ; pub const FWP_E_DUPLICATE_KEYMOD : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206805i32 as _ ) ; pub const FWP_E_DYNAMIC_SESSION_IN_PROGRESS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206837i32 as _ ) ; pub const FWP_E_EM_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206798i32 as _ ) ; pub const FWP_E_FILTER_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206845i32 as _ ) ; pub const FWP_E_IKEEXT_NOT_RUNNING : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206780i32 as _ ) ; pub const FWP_E_INCOMPATIBLE_AUTH_METHOD : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206800i32 as _ ) ; pub const FWP_E_INCOMPATIBLE_CIPHER_TRANSFORM : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206790i32 as _ ) ; pub const FWP_E_INCOMPATIBLE_DH_GROUP : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206799i32 as _ ) ; pub const FWP_E_INCOMPATIBLE_LAYER : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206828i32 as _ ) ; pub const FWP_E_INCOMPATIBLE_SA_STATE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206821i32 as _ ) ; pub const FWP_E_INCOMPATIBLE_TXN : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206831i32 as _ ) ; pub const FWP_E_INVALID_ACTION_TYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206812i32 as _ ) ; pub const FWP_E_INVALID_AUTH_TRANSFORM : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206792i32 as _ ) ; pub const FWP_E_INVALID_CIPHER_TRANSFORM : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206791i32 as _ ) ; pub const FWP_E_INVALID_DNS_NAME : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206782i32 as _ ) ; pub const FWP_E_INVALID_ENUMERATOR : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206819i32 as _ ) ; pub const FWP_E_INVALID_FLAGS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206818i32 as _ ) ; pub const FWP_E_INVALID_INTERVAL : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206815i32 as _ ) ; pub const FWP_E_INVALID_NET_MASK : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206817i32 as _ ) ; pub const FWP_E_INVALID_PARAMETER : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206795i32 as _ ) ; pub const FWP_E_INVALID_RANGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206816i32 as _ ) ; pub const FWP_E_INVALID_TRANSFORM_COMBINATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206789i32 as _ ) ; pub const FWP_E_INVALID_TUNNEL_ENDPOINT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206787i32 as _ ) ; pub const FWP_E_INVALID_WEIGHT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206811i32 as _ ) ; pub const FWP_E_IN_USE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206838i32 as _ ) ; pub const FWP_E_KEY_DICTATION_INVALID_KEYING_MATERIAL : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206784i32 as _ ) ; pub const FWP_E_KEY_DICTATOR_ALREADY_REGISTERED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206785i32 as _ ) ; pub const FWP_E_KM_CLIENTS_ONLY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206827i32 as _ ) ; pub const FWP_E_L2_DRIVER_NOT_READY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206786i32 as _ ) ; pub const FWP_E_LAYER_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206844i32 as _ ) ; pub const FWP_E_LIFETIME_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206826i32 as _ ) ; pub const FWP_E_MATCH_TYPE_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206810i32 as _ ) ; pub const FWP_E_NET_EVENTS_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206829i32 as _ ) ; pub const FWP_E_NEVER_MATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206797i32 as _ ) ; pub const FWP_E_NOTIFICATION_DROPPED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206823i32 as _ ) ; pub const FWP_E_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206840i32 as _ ) ; pub const FWP_E_NO_TXN_IN_PROGRESS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206835i32 as _ ) ; pub const FWP_E_NULL_DISPLAY_NAME : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206813i32 as _ ) ; pub const FWP_E_NULL_POINTER : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206820i32 as _ ) ; pub const FWP_E_OUT_OF_BOUNDS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206808i32 as _ ) ; pub const FWP_E_PROVIDER_CONTEXT_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206796i32 as _ ) ; pub const FWP_E_PROVIDER_CONTEXT_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206842i32 as _ ) ; pub const FWP_E_PROVIDER_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206843i32 as _ ) ; pub const FWP_E_RESERVED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206807i32 as _ ) ; pub const FWP_E_SESSION_ABORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206832i32 as _ ) ; pub const FWP_E_STILL_ON : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206781i32 as _ ) ; pub const FWP_E_SUBLAYER_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206841i32 as _ ) ; pub const FWP_E_TIMEOUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206830i32 as _ ) ; pub const FWP_E_TOO_MANY_CALLOUTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206824i32 as _ ) ; pub const FWP_E_TOO_MANY_SUBLAYERS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206794i32 as _ ) ; pub const FWP_E_TRAFFIC_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206822i32 as _ ) ; pub const FWP_E_TXN_ABORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206833i32 as _ ) ; pub const FWP_E_TXN_IN_PROGRESS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206834i32 as _ ) ; pub const FWP_E_TYPE_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206809i32 as _ ) ; pub const FWP_E_WRONG_SESSION : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206836i32 as _ ) ; pub const FWP_E_ZERO_LENGTH_ARRAY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144206814i32 as _ ) ; pub const GCN_E_DEFAULTNAMESPACE_EXISTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2143616983i32 as _ ) ; pub const GCN_E_MODULE_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2143616991i32 as _ ) ; pub const GCN_E_NETADAPTER_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2143616986i32 as _ ) ; pub const GCN_E_NETADAPTER_TIMEOUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2143616987i32 as _ ) ; pub const GCN_E_NETCOMPARTMENT_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2143616985i32 as _ ) ; pub const GCN_E_NETINTERFACE_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2143616984i32 as _ ) ; pub const GCN_E_NO_REQUEST_HANDLERS : :: windows :: HRESULT = :: windows :: HRESULT ( -2143616990i32 as _ ) ; pub const GCN_E_REQUEST_UNSUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143616989i32 as _ ) ; pub const GCN_E_RUNTIMEKEYS_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143616988i32 as _ ) ; pub unsafe fn GetHandleInformation < 'a , > ( hobject : impl :: windows :: IntoParam < 'a , HANDLE > , lpdwflags : * mut u32 , ) -> BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetHandleInformation ( hobject : HANDLE , lpdwflags : * mut u32 ) -> BOOL ; } GetHandleInformation ( hobject . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpdwflags ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( transparent ) ] pub struct HANDLE ( pub isize ) ; impl HANDLE { } impl :: std :: default :: Default for HANDLE { fn default ( ) -> Self { Self ( 0 ) } } impl HANDLE { pub const NULL : Self = Self ( 0 ) ; pub fn is_null ( & self ) -> bool { self . 0 == 0 } } impl :: std :: fmt :: Debug for HANDLE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "HANDLE" ) . field ( "Value" , & self .0 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for HANDLE { fn eq ( & self , other : & Self ) -> bool { self .0 == other .0 } } impl :: std :: cmp :: Eq for HANDLE { } unsafe impl :: windows :: Abi for HANDLE { type Abi = Self ; type DefaultType = Self ; } impl HANDLE { pub const INVALID : Self = Self ( - 1 ) ; pub fn is_invalid ( & self ) -> bool { self . 0 == - 1 } } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct HANDLE_FLAGS ( pub u32 ) ; pub const HANDLE_FLAG_INHERIT : HANDLE_FLAGS = HANDLE_FLAGS ( 1u32 ) ; pub const HANDLE_FLAG_PROTECT_FROM_CLOSE : HANDLE_FLAGS = HANDLE_FLAGS ( 2u32 ) ; impl :: std :: convert :: From < u32 > for HANDLE_FLAGS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for HANDLE_FLAGS { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for HANDLE_FLAGS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for HANDLE_FLAGS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for HANDLE_FLAGS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for HANDLE_FLAGS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub const HCN_E_ADAPTER_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2143617018i32 as _ ) ; pub const HCN_E_ADDR_INVALID_OR_RESERVED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143616977i32 as _ ) ; pub const HCN_E_DEGRADED_OPERATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2143617001i32 as _ ) ; pub const HCN_E_ENDPOINT_ALREADY_ATTACHED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143617004i32 as _ ) ; pub const HCN_E_ENDPOINT_NAMESPACE_ALREADY_EXISTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2143616981i32 as _ ) ; pub const HCN_E_ENDPOINT_NOT_ATTACHED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143616972i32 as _ ) ; pub const HCN_E_ENDPOINT_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2143617022i32 as _ ) ; pub const HCN_E_ENDPOINT_NOT_LOCAL : :: windows :: HRESULT = :: windows :: HRESULT ( -2143616971i32 as _ ) ; pub const HCN_E_ENDPOINT_SHARING_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143616995i32 as _ ) ; pub const HCN_E_ENTITY_HAS_REFERENCES : :: windows :: HRESULT = :: windows :: HRESULT ( -2143616980i32 as _ ) ; pub const HCN_E_GUID_CONVERSION_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143616999i32 as _ ) ; pub const HCN_E_ICS_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143616982i32 as _ ) ; pub const HCN_E_INVALID_ENDPOINT : :: windows :: HRESULT = :: windows :: HRESULT ( -2143617012i32 as _ ) ; pub const HCN_E_INVALID_INTERNAL_PORT : :: windows :: HRESULT = :: windows :: HRESULT ( -2143616979i32 as _ ) ; pub const HCN_E_INVALID_IP : :: windows :: HRESULT = :: windows :: HRESULT ( -2143616994i32 as _ ) ; pub const HCN_E_INVALID_IP_SUBNET : :: windows :: HRESULT = :: windows :: HRESULT ( -2143616973i32 as _ ) ; pub const HCN_E_INVALID_JSON : :: windows :: HRESULT = :: windows :: HRESULT ( -2143616997i32 as _ ) ; pub const HCN_E_INVALID_JSON_REFERENCE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143616996i32 as _ ) ; pub const HCN_E_INVALID_NETWORK : :: windows :: HRESULT = :: windows :: HRESULT ( -2143617014i32 as _ ) ; pub const HCN_E_INVALID_NETWORK_TYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143617013i32 as _ ) ; pub const HCN_E_INVALID_POLICY : :: windows :: HRESULT = :: windows :: HRESULT ( -2143617011i32 as _ ) ; pub const HCN_E_INVALID_POLICY_TYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143617010i32 as _ ) ; pub const HCN_E_INVALID_PREFIX : :: windows :: HRESULT = :: windows :: HRESULT ( -2143616976i32 as _ ) ; pub const HCN_E_INVALID_REMOTE_ENDPOINT_OPERATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2143617009i32 as _ ) ; pub const HCN_E_INVALID_SUBNET : :: windows :: HRESULT = :: windows :: HRESULT ( -2143616974i32 as _ ) ; pub const HCN_E_LAYER_ALREADY_EXISTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2143617007i32 as _ ) ; pub const HCN_E_LAYER_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2143617021i32 as _ ) ; pub const HCN_E_MANAGER_STOPPED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143616992i32 as _ ) ; pub const HCN_E_MAPPING_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143617002i32 as _ ) ; pub const HCN_E_NAMESPACE_ATTACH_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143616978i32 as _ ) ; pub const HCN_E_NETWORK_ALREADY_EXISTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2143617008i32 as _ ) ; pub const HCN_E_NETWORK_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2143617023i32 as _ ) ; pub const HCN_E_OBJECT_USED_AFTER_UNLOAD : :: windows :: HRESULT = :: windows :: HRESULT ( -2143616975i32 as _ ) ; pub const HCN_E_POLICY_ALREADY_EXISTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2143617006i32 as _ ) ; pub const HCN_E_POLICY_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2143617016i32 as _ ) ; pub const HCN_E_PORT_ALREADY_EXISTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2143617005i32 as _ ) ; pub const HCN_E_PORT_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2143617017i32 as _ ) ; pub const HCN_E_REGKEY_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143616998i32 as _ ) ; pub const HCN_E_REQUEST_UNSUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143617003i32 as _ ) ; pub const HCN_E_SHARED_SWITCH_MODIFICATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2143617000i32 as _ ) ; pub const HCN_E_SUBNET_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2143617019i32 as _ ) ; pub const HCN_E_SWITCH_EXTENSION_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2143616993i32 as _ ) ; pub const HCN_E_SWITCH_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2143617020i32 as _ ) ; pub const HCN_E_VFP_PORTSETTING_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2143617015i32 as _ ) ; pub const HCN_INTERFACEPARAMETERS_ALREADY_APPLIED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143616970i32 as _ ) ; pub const HCS_E_ACCESS_DENIED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878885i32 as _ ) ; pub const HCS_E_CONNECTION_CLOSED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878902i32 as _ ) ; pub const HCS_E_CONNECTION_TIMEOUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878903i32 as _ ) ; pub const HCS_E_CONNECT_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878904i32 as _ ) ; pub const HCS_E_GUEST_CRITICAL_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878884i32 as _ ) ; pub const HCS_E_HYPERV_NOT_INSTALLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878910i32 as _ ) ; pub const HCS_E_IMAGE_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878911i32 as _ ) ; pub const HCS_E_INVALID_JSON : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878899i32 as _ ) ; pub const HCS_E_INVALID_LAYER : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878894i32 as _ ) ; pub const HCS_E_INVALID_STATE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878907i32 as _ ) ; pub const HCS_E_OPERATION_ALREADY_STARTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878890i32 as _ ) ; pub const HCS_E_OPERATION_NOT_STARTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878891i32 as _ ) ; pub const HCS_E_OPERATION_PENDING : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878889i32 as _ ) ; pub const HCS_E_OPERATION_RESULT_ALLOCATION_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878886i32 as _ ) ; pub const HCS_E_OPERATION_SYSTEM_CALLBACK_ALREADY_SET : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878887i32 as _ ) ; pub const HCS_E_OPERATION_TIMEOUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878888i32 as _ ) ; pub const HCS_E_PROCESS_ALREADY_STOPPED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878881i32 as _ ) ; pub const HCS_E_PROCESS_INFO_NOT_AVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878883i32 as _ ) ; pub const HCS_E_PROTOCOL_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878895i32 as _ ) ; pub const HCS_E_SERVICE_DISCONNECT : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878882i32 as _ ) ; pub const HCS_E_SERVICE_NOT_AVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878892i32 as _ ) ; pub const HCS_E_SYSTEM_ALREADY_EXISTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878897i32 as _ ) ; pub const HCS_E_SYSTEM_ALREADY_STOPPED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878896i32 as _ ) ; pub const HCS_E_SYSTEM_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878898i32 as _ ) ; pub const HCS_E_TERMINATED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878905i32 as _ ) ; pub const HCS_E_TERMINATED_DURING_START : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878912i32 as _ ) ; pub const HCS_E_UNEXPECTED_EXIT : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878906i32 as _ ) ; pub const HCS_E_UNKNOWN_MESSAGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878901i32 as _ ) ; pub const HCS_E_UNSUPPORTED_PROTOCOL_VERSION : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878900i32 as _ ) ; pub const HCS_E_WINDOWS_INSIDER_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878893i32 as _ ) ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( transparent ) ] pub struct HINSTANCE ( pub isize ) ; impl HINSTANCE { } impl :: std :: default :: Default for HINSTANCE { fn default ( ) -> Self { Self ( 0 ) } } impl HINSTANCE { pub const NULL : Self = Self ( 0 ) ; pub fn is_null ( & self ) -> bool { self . 0 == 0 } } impl :: std :: fmt :: Debug for HINSTANCE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "HINSTANCE" ) . field ( "Value" , & self .0 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for HINSTANCE { fn eq ( & self , other : & Self ) -> bool { self .0 == other .0 } } impl :: std :: cmp :: Eq for HINSTANCE { } unsafe impl :: windows :: Abi for HINSTANCE { type Abi = Self ; type DefaultType = Self ; } pub const HTTP_E_STATUS_AMBIGUOUS : :: windows :: HRESULT = :: windows :: HRESULT ( -2145844948i32 as _ ) ; pub const HTTP_E_STATUS_BAD_GATEWAY : :: windows :: HRESULT = :: windows :: HRESULT ( -2145844746i32 as _ ) ; pub const HTTP_E_STATUS_BAD_METHOD : :: windows :: HRESULT = :: windows :: HRESULT ( -2145844843i32 as _ ) ; pub const HTTP_E_STATUS_BAD_REQUEST : :: windows :: HRESULT = :: windows :: HRESULT ( -2145844848i32 as _ ) ; pub const HTTP_E_STATUS_CONFLICT : :: windows :: HRESULT = :: windows :: HRESULT ( -2145844839i32 as _ ) ; pub const HTTP_E_STATUS_DENIED : :: windows :: HRESULT = :: windows :: HRESULT ( -2145844847i32 as _ ) ; pub const HTTP_E_STATUS_EXPECTATION_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2145844831i32 as _ ) ; pub const HTTP_E_STATUS_FORBIDDEN : :: windows :: HRESULT = :: windows :: HRESULT ( -2145844845i32 as _ ) ; pub const HTTP_E_STATUS_GATEWAY_TIMEOUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2145844744i32 as _ ) ; pub const HTTP_E_STATUS_GONE : :: windows :: HRESULT = :: windows :: HRESULT ( -2145844838i32 as _ ) ; pub const HTTP_E_STATUS_LENGTH_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2145844837i32 as _ ) ; pub const HTTP_E_STATUS_MOVED : :: windows :: HRESULT = :: windows :: HRESULT ( -2145844947i32 as _ ) ; pub const HTTP_E_STATUS_NONE_ACCEPTABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2145844842i32 as _ ) ; pub const HTTP_E_STATUS_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2145844844i32 as _ ) ; pub const HTTP_E_STATUS_NOT_MODIFIED : :: windows :: HRESULT = :: windows :: HRESULT ( -2145844944i32 as _ ) ; pub const HTTP_E_STATUS_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2145844747i32 as _ ) ; pub const HTTP_E_STATUS_PAYMENT_REQ : :: windows :: HRESULT = :: windows :: HRESULT ( -2145844846i32 as _ ) ; pub const HTTP_E_STATUS_PRECOND_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2145844836i32 as _ ) ; pub const HTTP_E_STATUS_PROXY_AUTH_REQ : :: windows :: HRESULT = :: windows :: HRESULT ( -2145844841i32 as _ ) ; pub const HTTP_E_STATUS_RANGE_NOT_SATISFIABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2145844832i32 as _ ) ; pub const HTTP_E_STATUS_REDIRECT : :: windows :: HRESULT = :: windows :: HRESULT ( -2145844946i32 as _ ) ; pub const HTTP_E_STATUS_REDIRECT_KEEP_VERB : :: windows :: HRESULT = :: windows :: HRESULT ( -2145844941i32 as _ ) ; pub const HTTP_E_STATUS_REDIRECT_METHOD : :: windows :: HRESULT = :: windows :: HRESULT ( -2145844945i32 as _ ) ; pub const HTTP_E_STATUS_REQUEST_TIMEOUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2145844840i32 as _ ) ; pub const HTTP_E_STATUS_REQUEST_TOO_LARGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2145844835i32 as _ ) ; pub const HTTP_E_STATUS_SERVER_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2145844748i32 as _ ) ; pub const HTTP_E_STATUS_SERVICE_UNAVAIL : :: windows :: HRESULT = :: windows :: HRESULT ( -2145844745i32 as _ ) ; pub const HTTP_E_STATUS_UNEXPECTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2145845247i32 as _ ) ; pub const HTTP_E_STATUS_UNEXPECTED_CLIENT_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2145845244i32 as _ ) ; pub const HTTP_E_STATUS_UNEXPECTED_REDIRECTION : :: windows :: HRESULT = :: windows :: HRESULT ( -2145845245i32 as _ ) ; pub const HTTP_E_STATUS_UNEXPECTED_SERVER_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2145845243i32 as _ ) ; pub const HTTP_E_STATUS_UNSUPPORTED_MEDIA : :: windows :: HRESULT = :: windows :: HRESULT ( -2145844833i32 as _ ) ; pub const HTTP_E_STATUS_URI_TOO_LONG : :: windows :: HRESULT = :: windows :: HRESULT ( -2145844834i32 as _ ) ; pub const HTTP_E_STATUS_USE_PROXY : :: windows :: HRESULT = :: windows :: HRESULT ( -2145844943i32 as _ ) ; pub const HTTP_E_STATUS_VERSION_NOT_SUP : :: windows :: HRESULT = :: windows :: HRESULT ( -2145844743i32 as _ ) ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( transparent ) ] pub struct HWND ( pub isize ) ; impl HWND { } impl :: std :: default :: Default for HWND { fn default ( ) -> Self { Self ( 0 ) } } impl HWND { pub const NULL : Self = Self ( 0 ) ; pub fn is_null ( & self ) -> bool { self . 0 == 0 } } impl :: std :: fmt :: Debug for HWND { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "HWND" ) . field ( "Value" , & self .0 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for HWND { fn eq ( & self , other : & Self ) -> bool { self .0 == other .0 } } impl :: std :: cmp :: Eq for HWND { } unsafe impl :: windows :: Abi for HWND { type Abi = Self ; type DefaultType = Self ; } pub const INPLACE_E_FIRST : i32 = -2147221088i32 ; pub const INPLACE_E_LAST : i32 = -2147221073i32 ; pub const INPLACE_E_NOTOOLSPACE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221087i32 as _ ) ; pub const INPLACE_E_NOTUNDOABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221088i32 as _ ) ; pub const INPLACE_S_FIRST : i32 = 262560i32 ; pub const INPLACE_S_LAST : i32 = 262575i32 ; pub const INPLACE_S_TRUNCATED : :: windows :: HRESULT = :: windows :: HRESULT ( 262560i32 as _ ) ; pub const INPUT_E_DEVICE_INFO : :: windows :: HRESULT = :: windows :: HRESULT ( -2143289338i32 as _ ) ; pub const INPUT_E_DEVICE_PROPERTY : :: windows :: HRESULT = :: windows :: HRESULT ( -2143289336i32 as _ ) ; pub const INPUT_E_FRAME : :: windows :: HRESULT = :: windows :: HRESULT ( -2143289340i32 as _ ) ; pub const INPUT_E_HISTORY : :: windows :: HRESULT = :: windows :: HRESULT ( -2143289339i32 as _ ) ; pub const INPUT_E_MULTIMODAL : :: windows :: HRESULT = :: windows :: HRESULT ( -2143289342i32 as _ ) ; pub const INPUT_E_OUT_OF_ORDER : :: windows :: HRESULT = :: windows :: HRESULT ( -2143289344i32 as _ ) ; pub const INPUT_E_PACKET : :: windows :: HRESULT = :: windows :: HRESULT ( -2143289341i32 as _ ) ; pub const INPUT_E_REENTRANCY : :: windows :: HRESULT = :: windows :: HRESULT ( -2143289343i32 as _ ) ; pub const INPUT_E_TRANSFORM : :: windows :: HRESULT = :: windows :: HRESULT ( -2143289337i32 as _ ) ; pub const INVALID_HANDLE_VALUE : HANDLE = HANDLE ( -1i32 as _ ) ; pub const JSCRIPT_E_CANTEXECUTE : :: windows :: HRESULT = :: windows :: HRESULT ( -1996357631i32 as _ ) ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( transparent ) ] pub struct LPARAM ( pub isize ) ; impl LPARAM { } impl :: std :: default :: Default for LPARAM { fn default ( ) -> Self { Self ( 0 ) } } impl LPARAM { pub const NULL : Self = Self ( 0 ) ; pub fn is_null ( & self ) -> bool { self . 0 == 0 } } impl :: std :: fmt :: Debug for LPARAM { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "LPARAM" ) . field ( "Value" , & self .0 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for LPARAM { fn eq ( & self , other : & Self ) -> bool { self .0 == other .0 } } impl :: std :: cmp :: Eq for LPARAM { } unsafe impl :: windows :: Abi for LPARAM { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( transparent ) ] pub struct LRESULT ( pub i32 ) ; impl LRESULT { } impl :: std :: default :: Default for LRESULT { fn default ( ) -> Self { Self ( 0 ) } } impl LRESULT { pub const NULL : Self = Self ( 0 ) ; pub fn is_null ( & self ) -> bool { self . 0 == 0 } } impl :: std :: fmt :: Debug for LRESULT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "LRESULT" ) . field ( "Value" , & self .0 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for LRESULT { fn eq ( & self , other : & Self ) -> bool { self .0 == other .0 } } impl :: std :: cmp :: Eq for LRESULT { } unsafe impl :: windows :: Abi for LRESULT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( transparent ) ] pub struct LSTATUS ( pub i32 ) ; impl LSTATUS { } impl :: std :: default :: Default for LSTATUS { fn default ( ) -> Self { Self ( 0 ) } } impl LSTATUS { pub const NULL : Self = Self ( 0 ) ; pub fn is_null ( & self ) -> bool { self . 0 == 0 } } impl :: std :: fmt :: Debug for LSTATUS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "LSTATUS" ) . field ( "Value" , & self .0 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for LSTATUS { fn eq ( & self , other : & Self ) -> bool { self .0 == other .0 } } impl :: std :: cmp :: Eq for LSTATUS { } unsafe impl :: windows :: Abi for LSTATUS { type Abi = Self ; type DefaultType = Self ; } pub const MARSHAL_E_FIRST : i32 = -2147221216i32 ; pub const MARSHAL_E_LAST : i32 = -2147221201i32 ; pub const MARSHAL_S_FIRST : i32 = 262432i32 ; pub const MARSHAL_S_LAST : i32 = 262447i32 ; pub const MAX_PATH : u32 = 260u32 ; pub const MEM_E_INVALID_LINK : :: windows :: HRESULT = :: windows :: HRESULT ( -2146959344i32 as _ ) ; pub const MEM_E_INVALID_ROOT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146959351i32 as _ ) ; pub const MEM_E_INVALID_SIZE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146959343i32 as _ ) ; pub const MILAVERR_INSUFFICIENTVIDEORESOURCES : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303160i32 as _ ) ; pub const MILAVERR_INVALIDWMPVERSION : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303161i32 as _ ) ; pub const MILAVERR_MEDIAPLAYERCLOSED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303155i32 as _ ) ; pub const MILAVERR_MODULENOTLOADED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303163i32 as _ ) ; pub const MILAVERR_NOCLOCK : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303168i32 as _ ) ; pub const MILAVERR_NOMEDIATYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303167i32 as _ ) ; pub const MILAVERR_NOREADYFRAMES : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303164i32 as _ ) ; pub const MILAVERR_NOVIDEOMIXER : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303166i32 as _ ) ; pub const MILAVERR_NOVIDEOPRESENTER : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303165i32 as _ ) ; pub const MILAVERR_REQUESTEDTEXTURETOOBIG : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303158i32 as _ ) ; pub const MILAVERR_SEEKFAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303157i32 as _ ) ; pub const MILAVERR_UNEXPECTEDWMPFAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303156i32 as _ ) ; pub const MILAVERR_UNKNOWNHARDWAREERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303154i32 as _ ) ; pub const MILAVERR_VIDEOACCELERATIONNOTAVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303159i32 as _ ) ; pub const MILAVERR_WMPFACTORYNOTREGISTERED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303162i32 as _ ) ; pub const MILEFFECTSERR_ALREADYATTACHEDTOLISTENER : :: windows :: HRESULT = :: windows :: HRESULT ( -2003302888i32 as _ ) ; pub const MILEFFECTSERR_CONNECTORNOTASSOCIATEDWITHEFFECT : :: windows :: HRESULT = :: windows :: HRESULT ( -2003302894i32 as _ ) ; pub const MILEFFECTSERR_CONNECTORNOTCONNECTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003302895i32 as _ ) ; pub const MILEFFECTSERR_CYCLEDETECTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003302892i32 as _ ) ; pub const MILEFFECTSERR_EFFECTALREADYINAGRAPH : :: windows :: HRESULT = :: windows :: HRESULT ( -2003302890i32 as _ ) ; pub const MILEFFECTSERR_EFFECTHASNOCHILDREN : :: windows :: HRESULT = :: windows :: HRESULT ( -2003302889i32 as _ ) ; pub const MILEFFECTSERR_EFFECTINMORETHANONEGRAPH : :: windows :: HRESULT = :: windows :: HRESULT ( -2003302891i32 as _ ) ; pub const MILEFFECTSERR_EFFECTNOTPARTOFGROUP : :: windows :: HRESULT = :: windows :: HRESULT ( -2003302897i32 as _ ) ; pub const MILEFFECTSERR_EMPTYBOUNDS : :: windows :: HRESULT = :: windows :: HRESULT ( -2003302886i32 as _ ) ; pub const MILEFFECTSERR_NOINPUTSOURCEATTACHED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003302896i32 as _ ) ; pub const MILEFFECTSERR_NOTAFFINETRANSFORM : :: windows :: HRESULT = :: windows :: HRESULT ( -2003302887i32 as _ ) ; pub const MILEFFECTSERR_OUTPUTSIZETOOLARGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003302885i32 as _ ) ; pub const MILEFFECTSERR_RESERVED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003302893i32 as _ ) ; pub const MILEFFECTSERR_UNKNOWNPROPERTY : :: windows :: HRESULT = :: windows :: HRESULT ( -2003302898i32 as _ ) ; pub const MILERR_ADAPTER_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304290i32 as _ ) ; pub const MILERR_ALREADYLOCKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304314i32 as _ ) ; pub const MILERR_ALREADY_INITIALIZED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304305i32 as _ ) ; pub const MILERR_BADNUMBER : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304438i32 as _ ) ; pub const MILERR_COLORSPACE_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304289i32 as _ ) ; pub const MILERR_DEVICECANNOTRENDERTEXT : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304312i32 as _ ) ; pub const MILERR_DISPLAYFORMATNOTSUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304316i32 as _ ) ; pub const MILERR_DISPLAYID_ACCESS_DENIED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304287i32 as _ ) ; pub const MILERR_DISPLAYSTATEINVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304442i32 as _ ) ; pub const MILERR_DXGI_ENUMERATION_OUT_OF_SYNC : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304291i32 as _ ) ; pub const MILERR_GENERIC_IGNORE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304309i32 as _ ) ; pub const MILERR_GLYPHBITMAPMISSED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304311i32 as _ ) ; pub const MILERR_INSUFFICIENTBUFFER : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304446i32 as _ ) ; pub const MILERR_INTERNALERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304320i32 as _ ) ; pub const MILERR_INVALIDCALL : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304315i32 as _ ) ; pub const MILERR_MALFORMEDGLYPHCACHE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304310i32 as _ ) ; pub const MILERR_MALFORMED_GUIDELINE_DATA : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304308i32 as _ ) ; pub const MILERR_MAX_TEXTURE_SIZE_EXCEEDED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304294i32 as _ ) ; pub const MILERR_MISMATCHED_SIZE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304304i32 as _ ) ; pub const MILERR_MROW_READLOCK_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304297i32 as _ ) ; pub const MILERR_MROW_UPDATE_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304296i32 as _ ) ; pub const MILERR_NEED_RECREATE_AND_PRESENT : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304306i32 as _ ) ; pub const MILERR_NONINVERTIBLEMATRIX : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304441i32 as _ ) ; pub const MILERR_NOTLOCKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304313i32 as _ ) ; pub const MILERR_NOT_QUEUING_PRESENTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304300i32 as _ ) ; pub const MILERR_NO_HARDWARE_DEVICE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304307i32 as _ ) ; pub const MILERR_NO_REDIRECTION_SURFACE_AVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304303i32 as _ ) ; pub const MILERR_NO_REDIRECTION_SURFACE_RETRY_LATER : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304299i32 as _ ) ; pub const MILERR_OBJECTBUSY : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304447i32 as _ ) ; pub const MILERR_PREFILTER_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304288i32 as _ ) ; pub const MILERR_QPC_TIME_WENT_BACKWARD : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304293i32 as _ ) ; pub const MILERR_QUEUED_PRESENT_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304301i32 as _ ) ; pub const MILERR_REMOTING_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304302i32 as _ ) ; pub const MILERR_SCANNER_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304444i32 as _ ) ; pub const MILERR_SCREENACCESSDENIED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304443i32 as _ ) ; pub const MILERR_SHADER_COMPILE_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304295i32 as _ ) ; pub const MILERR_TERMINATED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304439i32 as _ ) ; pub const MILERR_TOOMANYSHADERELEMNTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304298i32 as _ ) ; pub const MILERR_WIN32ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304445i32 as _ ) ; pub const MILERR_ZEROVECTOR : :: windows :: HRESULT = :: windows :: HRESULT ( -2003304440i32 as _ ) ; pub const MK_E_CANTOPENFILE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221014i32 as _ ) ; pub const MK_E_CONNECTMANUALLY : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221024i32 as _ ) ; pub const MK_E_ENUMERATION_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221009i32 as _ ) ; pub const MK_E_EXCEEDEDDEADLINE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221023i32 as _ ) ; pub const MK_E_FIRST : i32 = -2147221024i32 ; pub const MK_E_INTERMEDIATEINTERFACENOTSUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221017i32 as _ ) ; pub const MK_E_INVALIDEXTENSION : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221018i32 as _ ) ; pub const MK_E_LAST : i32 = -2147221009i32 ; pub const MK_E_MUSTBOTHERUSER : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221013i32 as _ ) ; pub const MK_E_NEEDGENERIC : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221022i32 as _ ) ; pub const MK_E_NOINVERSE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221012i32 as _ ) ; pub const MK_E_NOOBJECT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221019i32 as _ ) ; pub const MK_E_NOPREFIX : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221010i32 as _ ) ; pub const MK_E_NOSTORAGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221011i32 as _ ) ; pub const MK_E_NOTBINDABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221016i32 as _ ) ; pub const MK_E_NOTBOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221015i32 as _ ) ; pub const MK_E_NO_NORMALIZED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146959353i32 as _ ) ; pub const MK_E_SYNTAX : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221020i32 as _ ) ; pub const MK_E_UNAVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221021i32 as _ ) ; pub const MK_S_FIRST : i32 = 262624i32 ; pub const MK_S_HIM : :: windows :: HRESULT = :: windows :: HRESULT ( 262629i32 as _ ) ; pub const MK_S_LAST : i32 = 262639i32 ; pub const MK_S_ME : :: windows :: HRESULT = :: windows :: HRESULT ( 262628i32 as _ ) ; pub const MK_S_MONIKERALREADYREGISTERED : :: windows :: HRESULT = :: windows :: HRESULT ( 262631i32 as _ ) ; pub const MK_S_REDUCED_TO_SELF : :: windows :: HRESULT = :: windows :: HRESULT ( 262626i32 as _ ) ; pub const MK_S_US : :: windows :: HRESULT = :: windows :: HRESULT ( 262630i32 as _ ) ; pub const MSDTC_E_DUPLICATE_RESOURCE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146367743i32 as _ ) ; pub const MSSIPOTF_E_BADVERSION : :: windows :: HRESULT = :: windows :: HRESULT ( -2146865131i32 as _ ) ; pub const MSSIPOTF_E_BAD_FIRST_TABLE_PLACEMENT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146865144i32 as _ ) ; pub const MSSIPOTF_E_BAD_MAGICNUMBER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146865148i32 as _ ) ; pub const MSSIPOTF_E_BAD_OFFSET_TABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146865147i32 as _ ) ; pub const MSSIPOTF_E_CANTGETOBJECT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146865150i32 as _ ) ; pub const MSSIPOTF_E_CRYPT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146865132i32 as _ ) ; pub const MSSIPOTF_E_DSIG_STRUCTURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146865130i32 as _ ) ; pub const MSSIPOTF_E_FAILED_HINTS_CHECK : :: windows :: HRESULT = :: windows :: HRESULT ( -2146865135i32 as _ ) ; pub const MSSIPOTF_E_FAILED_POLICY : :: windows :: HRESULT = :: windows :: HRESULT ( -2146865136i32 as _ ) ; pub const MSSIPOTF_E_FILE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146865133i32 as _ ) ; pub const MSSIPOTF_E_FILETOOSMALL : :: windows :: HRESULT = :: windows :: HRESULT ( -2146865141i32 as _ ) ; pub const MSSIPOTF_E_FILE_CHECKSUM : :: windows :: HRESULT = :: windows :: HRESULT ( -2146865139i32 as _ ) ; pub const MSSIPOTF_E_NOHEADTABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146865149i32 as _ ) ; pub const MSSIPOTF_E_NOT_OPENTYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146865134i32 as _ ) ; pub const MSSIPOTF_E_OUTOFMEMRANGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146865151i32 as _ ) ; pub const MSSIPOTF_E_PCONST_CHECK : :: windows :: HRESULT = :: windows :: HRESULT ( -2146865129i32 as _ ) ; pub const MSSIPOTF_E_STRUCTURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146865128i32 as _ ) ; pub const MSSIPOTF_E_TABLES_OVERLAP : :: windows :: HRESULT = :: windows :: HRESULT ( -2146865143i32 as _ ) ; pub const MSSIPOTF_E_TABLE_CHECKSUM : :: windows :: HRESULT = :: windows :: HRESULT ( -2146865140i32 as _ ) ; pub const MSSIPOTF_E_TABLE_LONGWORD : :: windows :: HRESULT = :: windows :: HRESULT ( -2146865145i32 as _ ) ; pub const MSSIPOTF_E_TABLE_PADBYTES : :: windows :: HRESULT = :: windows :: HRESULT ( -2146865142i32 as _ ) ; pub const MSSIPOTF_E_TABLE_TAGORDER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146865146i32 as _ ) ; pub const NAP_E_CONFLICTING_ID : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927741i32 as _ ) ; pub const NAP_E_ENTITY_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927730i32 as _ ) ; pub const NAP_E_ID_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927734i32 as _ ) ; pub const NAP_E_INVALID_PACKET : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927743i32 as _ ) ; pub const NAP_E_MAXSIZE_TOO_SMALL : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927733i32 as _ ) ; pub const NAP_E_MISMATCHED_ID : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927736i32 as _ ) ; pub const NAP_E_MISSING_SOH : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927742i32 as _ ) ; pub const NAP_E_NETSH_GROUPPOLICY_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927729i32 as _ ) ; pub const NAP_E_NOT_INITIALIZED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927737i32 as _ ) ; pub const NAP_E_NOT_PENDING : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927735i32 as _ ) ; pub const NAP_E_NOT_REGISTERED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927738i32 as _ ) ; pub const NAP_E_NO_CACHED_SOH : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927740i32 as _ ) ; pub const NAP_E_SERVICE_NOT_RUNNING : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927732i32 as _ ) ; pub const NAP_E_SHV_CONFIG_EXISTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927727i32 as _ ) ; pub const NAP_E_SHV_CONFIG_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927726i32 as _ ) ; pub const NAP_E_SHV_TIMEOUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927725i32 as _ ) ; pub const NAP_E_STILL_BOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927739i32 as _ ) ; pub const NAP_E_TOO_MANY_CALLS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144927728i32 as _ ) ; pub const NAP_S_CERT_ALREADY_PRESENT : :: windows :: HRESULT = :: windows :: HRESULT ( 2555917i32 as _ ) ; pub type NEARPROC = unsafe extern "system" fn ( ) -> isize ; pub const NOERROR : u32 = 0u32 ; pub const NTE_AUTHENTICATION_IGNORED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893775i32 as _ ) ; pub const NTE_BAD_ALGID : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893816i32 as _ ) ; pub const NTE_BAD_DATA : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893819i32 as _ ) ; pub const NTE_BAD_FLAGS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893815i32 as _ ) ; pub const NTE_BAD_HASH : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893822i32 as _ ) ; pub const NTE_BAD_HASH_STATE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893812i32 as _ ) ; pub const NTE_BAD_KEY : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893821i32 as _ ) ; pub const NTE_BAD_KEYSET : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893802i32 as _ ) ; pub const NTE_BAD_KEYSET_PARAM : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893793i32 as _ ) ; pub const NTE_BAD_KEY_STATE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893813i32 as _ ) ; pub const NTE_BAD_LEN : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893820i32 as _ ) ; pub const NTE_BAD_PROVIDER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893805i32 as _ ) ; pub const NTE_BAD_PROV_TYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893804i32 as _ ) ; pub const NTE_BAD_PUBLIC_KEY : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893803i32 as _ ) ; pub const NTE_BAD_SIGNATURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893818i32 as _ ) ; pub const NTE_BAD_TYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893814i32 as _ ) ; pub const NTE_BAD_UID : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893823i32 as _ ) ; pub const NTE_BAD_VER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893817i32 as _ ) ; pub const NTE_BUFFERS_OVERLAP : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893781i32 as _ ) ; pub const NTE_BUFFER_TOO_SMALL : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893784i32 as _ ) ; pub const NTE_DECRYPTION_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893780i32 as _ ) ; pub const NTE_DEVICE_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893771i32 as _ ) ; pub const NTE_DEVICE_NOT_READY : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893776i32 as _ ) ; pub const NTE_DOUBLE_ENCRYPT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893806i32 as _ ) ; pub const NTE_ENCRYPTION_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893772i32 as _ ) ; pub const NTE_EXISTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893809i32 as _ ) ; pub const NTE_FAIL : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893792i32 as _ ) ; pub const NTE_FIXEDPARAMETER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893787i32 as _ ) ; pub const NTE_HMAC_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893777i32 as _ ) ; pub const NTE_INCORRECT_PASSWORD : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893773i32 as _ ) ; pub const NTE_INTERNAL_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893779i32 as _ ) ; pub const NTE_INVALID_HANDLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893786i32 as _ ) ; pub const NTE_INVALID_PARAMETER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893785i32 as _ ) ; pub const NTE_KEYSET_ENTRY_BAD : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893798i32 as _ ) ; pub const NTE_KEYSET_NOT_DEF : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893799i32 as _ ) ; pub const NTE_NOT_ACTIVE_CONSOLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893768i32 as _ ) ; pub const NTE_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893807i32 as _ ) ; pub const NTE_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893783i32 as _ ) ; pub const NTE_NO_KEY : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893811i32 as _ ) ; pub const NTE_NO_MEMORY : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893810i32 as _ ) ; pub const NTE_NO_MORE_ITEMS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893782i32 as _ ) ; pub const NTE_OP_OK : u32 = 0u32 ; pub const NTE_PASSWORD_CHANGE_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893769i32 as _ ) ; pub const NTE_PERM : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893808i32 as _ ) ; pub const NTE_PROVIDER_DLL_FAIL : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893795i32 as _ ) ; pub const NTE_PROV_DLL_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893794i32 as _ ) ; pub const NTE_PROV_TYPE_ENTRY_BAD : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893800i32 as _ ) ; pub const NTE_PROV_TYPE_NOT_DEF : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893801i32 as _ ) ; pub const NTE_PROV_TYPE_NO_MATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893797i32 as _ ) ; pub const NTE_SIGNATURE_FILE_BAD : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893796i32 as _ ) ; pub const NTE_SILENT_CONTEXT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893790i32 as _ ) ; pub const NTE_SYS_ERR : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893791i32 as _ ) ; pub const NTE_TEMPORARY_PROFILE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893788i32 as _ ) ; pub const NTE_TOKEN_KEYSET_STORAGE_FULL : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893789i32 as _ ) ; pub const NTE_UI_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893778i32 as _ ) ; pub const NTE_USER_CANCELLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893770i32 as _ ) ; pub const NTE_VALIDATION_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893774i32 as _ ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: default :: Default , :: std :: clone :: Clone , :: std :: marker :: Copy , :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: fmt :: Debug ) ] pub struct NTSTATUS ( pub u32 ) ; impl NTSTATUS { # [ inline ] pub const fn is_ok ( self ) -> bool { self . 0 & 0x8000_0000 == 0 } # [ inline ] pub const fn is_err ( self ) -> bool { ! self . is_ok ( ) } # [ inline ] pub const fn to_hresult ( self ) -> :: windows :: HRESULT { :: windows :: HRESULT ( self . 0 | 0x1000_0000 ) } # [ inline ] pub fn ok ( self ) -> :: windows :: Result < ( ) > { if self . is_ok ( ) { Ok ( ( ) ) } else { Err ( :: windows :: Error :: fast_error ( self . to_hresult ( ) ) ) } } } unsafe impl :: windows :: Abi for NTSTATUS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct NTSTATUS_FACILITY_CODE ( pub u32 ) ; pub const FACILITY_DEBUGGER : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 1u32 ) ; pub const FACILITY_RPC_RUNTIME : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 2u32 ) ; pub const FACILITY_RPC_STUBS : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 3u32 ) ; pub const FACILITY_IO_ERROR_CODE : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 4u32 ) ; pub const FACILITY_CODCLASS_ERROR_CODE : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 6u32 ) ; pub const FACILITY_NTWIN32 : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 7u32 ) ; pub const FACILITY_NTCERT : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 8u32 ) ; pub const FACILITY_NTSSPI : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 9u32 ) ; pub const FACILITY_TERMINAL_SERVER : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 10u32 ) ; pub const FACILITY_USB_ERROR_CODE : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 16u32 ) ; pub const FACILITY_HID_ERROR_CODE : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 17u32 ) ; pub const FACILITY_FIREWIRE_ERROR_CODE : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 18u32 ) ; pub const FACILITY_CLUSTER_ERROR_CODE : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 19u32 ) ; pub const FACILITY_ACPI_ERROR_CODE : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 20u32 ) ; pub const FACILITY_SXS_ERROR_CODE : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 21u32 ) ; pub const FACILITY_TRANSACTION : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 25u32 ) ; pub const FACILITY_COMMONLOG : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 26u32 ) ; pub const FACILITY_VIDEO : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 27u32 ) ; pub const FACILITY_FILTER_MANAGER : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 28u32 ) ; pub const FACILITY_MONITOR : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 29u32 ) ; pub const FACILITY_GRAPHICS_KERNEL : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 30u32 ) ; pub const FACILITY_DRIVER_FRAMEWORK : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 32u32 ) ; pub const FACILITY_FVE_ERROR_CODE : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 33u32 ) ; pub const FACILITY_FWP_ERROR_CODE : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 34u32 ) ; pub const FACILITY_NDIS_ERROR_CODE : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 35u32 ) ; pub const FACILITY_QUIC_ERROR_CODE : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 36u32 ) ; pub const FACILITY_TPM : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 41u32 ) ; pub const FACILITY_RTPM : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 42u32 ) ; pub const FACILITY_HYPERVISOR : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 53u32 ) ; pub const FACILITY_IPSEC : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 54u32 ) ; pub const FACILITY_VIRTUALIZATION : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 55u32 ) ; pub const FACILITY_VOLMGR : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 56u32 ) ; pub const FACILITY_BCD_ERROR_CODE : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 57u32 ) ; pub const FACILITY_WIN32K_NTUSER : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 62u32 ) ; pub const FACILITY_WIN32K_NTGDI : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 63u32 ) ; pub const FACILITY_RESUME_KEY_FILTER : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 64u32 ) ; pub const FACILITY_RDBSS : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 65u32 ) ; pub const FACILITY_BTH_ATT : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 66u32 ) ; pub const FACILITY_SECUREBOOT : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 67u32 ) ; pub const FACILITY_AUDIO_KERNEL : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 68u32 ) ; pub const FACILITY_VSM : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 69u32 ) ; pub const FACILITY_VOLSNAP : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 80u32 ) ; pub const FACILITY_SDBUS : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 81u32 ) ; pub const FACILITY_SHARED_VHDX : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 92u32 ) ; pub const FACILITY_SMB : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 93u32 ) ; pub const FACILITY_XVS : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 94u32 ) ; pub const FACILITY_INTERIX : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 153u32 ) ; pub const FACILITY_SPACES : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 231u32 ) ; pub const FACILITY_SECURITY_CORE : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 232u32 ) ; pub const FACILITY_SYSTEM_INTEGRITY : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 233u32 ) ; pub const FACILITY_LICENSING : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 234u32 ) ; pub const FACILITY_PLATFORM_MANIFEST : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 235u32 ) ; pub const FACILITY_APP_EXEC : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 236u32 ) ; pub const FACILITY_MAXIMUM_VALUE : NTSTATUS_FACILITY_CODE = NTSTATUS_FACILITY_CODE ( 237u32 ) ; impl :: std :: convert :: From < u32 > for NTSTATUS_FACILITY_CODE { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for NTSTATUS_FACILITY_CODE { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for NTSTATUS_FACILITY_CODE { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for NTSTATUS_FACILITY_CODE { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for NTSTATUS_FACILITY_CODE { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for NTSTATUS_FACILITY_CODE { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub const OLEOBJ_E_FIRST : i32 = -2147221120i32 ; pub const OLEOBJ_E_INVALIDVERB : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221119i32 as _ ) ; pub const OLEOBJ_E_LAST : i32 = -2147221105i32 ; pub const OLEOBJ_E_NOVERBS : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221120i32 as _ ) ; pub const OLEOBJ_S_CANNOT_DOVERB_NOW : :: windows :: HRESULT = :: windows :: HRESULT ( 262529i32 as _ ) ; pub const OLEOBJ_S_FIRST : i32 = 262528i32 ; pub const OLEOBJ_S_INVALIDHWND : :: windows :: HRESULT = :: windows :: HRESULT ( 262530i32 as _ ) ; pub const OLEOBJ_S_INVALIDVERB : :: windows :: HRESULT = :: windows :: HRESULT ( 262528i32 as _ ) ; pub const OLEOBJ_S_LAST : i32 = 262543i32 ; pub const OLE_E_ADVF : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221503i32 as _ ) ; pub const OLE_E_ADVISENOTSUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221501i32 as _ ) ; pub const OLE_E_BLANK : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221497i32 as _ ) ; pub const OLE_E_CANTCONVERT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221487i32 as _ ) ; pub const OLE_E_CANT_BINDTOSOURCE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221494i32 as _ ) ; pub const OLE_E_CANT_GETMONIKER : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221495i32 as _ ) ; pub const OLE_E_CLASSDIFF : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221496i32 as _ ) ; pub const OLE_E_ENUM_NOMORE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221502i32 as _ ) ; pub const OLE_E_FIRST : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221504i32 as _ ) ; pub const OLE_E_INVALIDHWND : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221489i32 as _ ) ; pub const OLE_E_INVALIDRECT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221491i32 as _ ) ; pub const OLE_E_LAST : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221249i32 as _ ) ; pub const OLE_E_NOCACHE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221498i32 as _ ) ; pub const OLE_E_NOCONNECTION : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221500i32 as _ ) ; pub const OLE_E_NOSTORAGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221486i32 as _ ) ; pub const OLE_E_NOTRUNNING : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221499i32 as _ ) ; pub const OLE_E_NOT_INPLACEACTIVE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221488i32 as _ ) ; pub const OLE_E_OLEVERB : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221504i32 as _ ) ; pub const OLE_E_PROMPTSAVECANCELLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221492i32 as _ ) ; pub const OLE_E_STATIC : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221493i32 as _ ) ; pub const OLE_E_WRONGCOMPOBJ : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221490i32 as _ ) ; pub const OLE_S_FIRST : :: windows :: HRESULT = :: windows :: HRESULT ( 262144i32 as _ ) ; pub const OLE_S_LAST : :: windows :: HRESULT = :: windows :: HRESULT ( 262399i32 as _ ) ; pub const OLE_S_MAC_CLIPFORMAT : :: windows :: HRESULT = :: windows :: HRESULT ( 262146i32 as _ ) ; pub const OLE_S_STATIC : :: windows :: HRESULT = :: windows :: HRESULT ( 262145i32 as _ ) ; pub const OLE_S_USEREG : :: windows :: HRESULT = :: windows :: HRESULT ( 262144i32 as _ ) ; pub const ONL_CONNECTION_COUNT_LIMIT : :: windows :: HRESULT = :: windows :: HRESULT ( -2138701811i32 as _ ) ; pub const ONL_E_ACCESS_DENIED_BY_TOU : :: windows :: HRESULT = :: windows :: HRESULT ( -2138701822i32 as _ ) ; pub const ONL_E_ACCOUNT_LOCKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2138701817i32 as _ ) ; pub const ONL_E_ACCOUNT_SUSPENDED_ABUSE : :: windows :: HRESULT = :: windows :: HRESULT ( -2138701813i32 as _ ) ; pub const ONL_E_ACCOUNT_SUSPENDED_COMPROIMISE : :: windows :: HRESULT = :: windows :: HRESULT ( -2138701814i32 as _ ) ; pub const ONL_E_ACCOUNT_UPDATE_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2138701819i32 as _ ) ; pub const ONL_E_ACTION_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2138701812i32 as _ ) ; pub const ONL_E_CONNECTED_ACCOUNT_CAN_NOT_SIGNOUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2138701810i32 as _ ) ; pub const ONL_E_EMAIL_VERIFICATION_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2138701815i32 as _ ) ; pub const ONL_E_FORCESIGNIN : :: windows :: HRESULT = :: windows :: HRESULT ( -2138701818i32 as _ ) ; pub const ONL_E_INVALID_APPLICATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2138701821i32 as _ ) ; pub const ONL_E_INVALID_AUTHENTICATION_TARGET : :: windows :: HRESULT = :: windows :: HRESULT ( -2138701823i32 as _ ) ; pub const ONL_E_PARENTAL_CONSENT_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2138701816i32 as _ ) ; pub const ONL_E_PASSWORD_UPDATE_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2138701820i32 as _ ) ; pub const ONL_E_REQUEST_THROTTLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2138701808i32 as _ ) ; pub const ONL_E_USER_AUTHENTICATION_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2138701809i32 as _ ) ; pub const OR_INVALID_OID : i32 = 1911i32 ; pub const OR_INVALID_OXID : i32 = 1910i32 ; pub const OR_INVALID_SET : i32 = 1912i32 ; pub const OSS_ACCESS_SERIALIZATION_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881517i32 as _ ) ; pub const OSS_API_DLL_NOT_LINKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881495i32 as _ ) ; pub const OSS_BAD_ARG : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881530i32 as _ ) ; pub const OSS_BAD_ENCRULES : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881514i32 as _ ) ; pub const OSS_BAD_PTR : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881525i32 as _ ) ; pub const OSS_BAD_TABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881521i32 as _ ) ; pub const OSS_BAD_TIME : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881524i32 as _ ) ; pub const OSS_BAD_VERSION : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881529i32 as _ ) ; pub const OSS_BERDER_DLL_NOT_LINKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881494i32 as _ ) ; pub const OSS_CANT_CLOSE_TRACE_FILE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881490i32 as _ ) ; pub const OSS_CANT_OPEN_TRACE_FILE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881509i32 as _ ) ; pub const OSS_CANT_OPEN_TRACE_WINDOW : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881512i32 as _ ) ; pub const OSS_COMPARATOR_CODE_NOT_LINKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881499i32 as _ ) ; pub const OSS_COMPARATOR_DLL_NOT_LINKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881500i32 as _ ) ; pub const OSS_CONSTRAINT_DLL_NOT_LINKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881501i32 as _ ) ; pub const OSS_CONSTRAINT_VIOLATED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881519i32 as _ ) ; pub const OSS_COPIER_DLL_NOT_LINKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881502i32 as _ ) ; pub const OSS_DATA_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881531i32 as _ ) ; pub const OSS_FATAL_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881518i32 as _ ) ; pub const OSS_INDEFINITE_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881523i32 as _ ) ; pub const OSS_LIMITED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881526i32 as _ ) ; pub const OSS_MEM_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881522i32 as _ ) ; pub const OSS_MEM_MGR_DLL_NOT_LINKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881498i32 as _ ) ; pub const OSS_MORE_BUF : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881535i32 as _ ) ; pub const OSS_MORE_INPUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881532i32 as _ ) ; pub const OSS_MUTEX_NOT_CREATED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881491i32 as _ ) ; pub const OSS_NEGATIVE_UINTEGER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881534i32 as _ ) ; pub const OSS_NULL_FCN : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881515i32 as _ ) ; pub const OSS_NULL_TBL : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881516i32 as _ ) ; pub const OSS_OID_DLL_NOT_LINKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881510i32 as _ ) ; pub const OSS_OPEN_TYPE_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881492i32 as _ ) ; pub const OSS_OUT_MEMORY : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881528i32 as _ ) ; pub const OSS_OUT_OF_RANGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881503i32 as _ ) ; pub const OSS_PDU_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881527i32 as _ ) ; pub const OSS_PDU_RANGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881533i32 as _ ) ; pub const OSS_PDV_CODE_NOT_LINKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881496i32 as _ ) ; pub const OSS_PDV_DLL_NOT_LINKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881497i32 as _ ) ; pub const OSS_PER_DLL_NOT_LINKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881493i32 as _ ) ; pub const OSS_REAL_CODE_NOT_LINKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881504i32 as _ ) ; pub const OSS_REAL_DLL_NOT_LINKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881505i32 as _ ) ; pub const OSS_TABLE_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881507i32 as _ ) ; pub const OSS_TOO_LONG : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881520i32 as _ ) ; pub const OSS_TRACE_FILE_ALREADY_OPEN : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881508i32 as _ ) ; pub const OSS_TYPE_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881506i32 as _ ) ; pub const OSS_UNAVAIL_ENCRULES : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881513i32 as _ ) ; pub const OSS_UNIMPLEMENTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146881511i32 as _ ) ; pub const PEERDIST_ERROR_ALREADY_COMPLETED : i32 = 4060i32 ; pub const PEERDIST_ERROR_ALREADY_EXISTS : i32 = 4058i32 ; pub const PEERDIST_ERROR_ALREADY_INITIALIZED : i32 = 4055i32 ; pub const PEERDIST_ERROR_CANNOT_PARSE_CONTENTINFO : i32 = 4051i32 ; pub const PEERDIST_ERROR_CONTENTINFO_VERSION_UNSUPPORTED : i32 = 4050i32 ; pub const PEERDIST_ERROR_INVALIDATED : i32 = 4057i32 ; pub const PEERDIST_ERROR_INVALID_CONFIGURATION : i32 = 4063i32 ; pub const PEERDIST_ERROR_MISSING_DATA : i32 = 4052i32 ; pub const PEERDIST_ERROR_NOT_INITIALIZED : i32 = 4054i32 ; pub const PEERDIST_ERROR_NOT_LICENSED : i32 = 4064i32 ; pub const PEERDIST_ERROR_NO_MORE : i32 = 4053i32 ; pub const PEERDIST_ERROR_OPERATION_NOTFOUND : i32 = 4059i32 ; pub const PEERDIST_ERROR_OUT_OF_BOUNDS : i32 = 4061i32 ; pub const PEERDIST_ERROR_SERVICE_UNAVAILABLE : i32 = 4065i32 ; pub const PEERDIST_ERROR_SHUTDOWN_IN_PROGRESS : i32 = 4056i32 ; pub const PEERDIST_ERROR_TRUST_FAILURE : i32 = 4066i32 ; pub const PEERDIST_ERROR_VERSION_UNSUPPORTED : i32 = 4062i32 ; pub const PEER_E_ALREADY_LISTENING : :: windows :: HRESULT = :: windows :: HRESULT ( -2140995321i32 as _ ) ; pub const PEER_E_CANNOT_CONVERT_PEER_NAME : :: windows :: HRESULT = :: windows :: HRESULT ( -2140979199i32 as _ ) ; pub const PEER_E_CANNOT_START_SERVICE : :: windows :: HRESULT = :: windows :: HRESULT ( -2140995581i32 as _ ) ; pub const PEER_E_CERT_STORE_CORRUPTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140993535i32 as _ ) ; pub const PEER_E_CHAIN_TOO_LONG : :: windows :: HRESULT = :: windows :: HRESULT ( -2140993789i32 as _ ) ; pub const PEER_E_CIRCULAR_CHAIN_DETECTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140993786i32 as _ ) ; pub const PEER_E_CLASSIFIER_TOO_LONG : :: windows :: HRESULT = :: windows :: HRESULT ( -2140995071i32 as _ ) ; pub const PEER_E_CLOUD_NAME_AMBIGUOUS : :: windows :: HRESULT = :: windows :: HRESULT ( -2140991483i32 as _ ) ; pub const PEER_E_CONNECTION_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140995319i32 as _ ) ; pub const PEER_E_CONNECTION_NOT_AUTHENTICATED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140995318i32 as _ ) ; pub const PEER_E_CONNECTION_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2140995325i32 as _ ) ; pub const PEER_E_CONNECTION_REFUSED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140995317i32 as _ ) ; pub const PEER_E_CONNECT_SELF : :: windows :: HRESULT = :: windows :: HRESULT ( -2140995322i32 as _ ) ; pub const PEER_E_CONTACT_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2140971007i32 as _ ) ; pub const PEER_E_DATABASE_ACCESSDENIED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140994814i32 as _ ) ; pub const PEER_E_DATABASE_ALREADY_PRESENT : :: windows :: HRESULT = :: windows :: HRESULT ( -2140994811i32 as _ ) ; pub const PEER_E_DATABASE_NOT_PRESENT : :: windows :: HRESULT = :: windows :: HRESULT ( -2140994810i32 as _ ) ; pub const PEER_E_DBINITIALIZATION_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140994813i32 as _ ) ; pub const PEER_E_DBNAME_CHANGED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140995567i32 as _ ) ; pub const PEER_E_DEFERRED_VALIDATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2140987344i32 as _ ) ; pub const PEER_E_DUPLICATE_GRAPH : :: windows :: HRESULT = :: windows :: HRESULT ( -2140995566i32 as _ ) ; pub const PEER_E_EVENT_HANDLE_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2140994303i32 as _ ) ; pub const PEER_E_FW_BLOCKED_BY_POLICY : :: windows :: HRESULT = :: windows :: HRESULT ( -2140966903i32 as _ ) ; pub const PEER_E_FW_BLOCKED_BY_SHIELDS_UP : :: windows :: HRESULT = :: windows :: HRESULT ( -2140966902i32 as _ ) ; pub const PEER_E_FW_DECLINED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140966901i32 as _ ) ; pub const PEER_E_FW_EXCEPTION_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140966904i32 as _ ) ; pub const PEER_E_GRAPH_IN_USE : :: windows :: HRESULT = :: windows :: HRESULT ( -2140995563i32 as _ ) ; pub const PEER_E_GRAPH_NOT_READY : :: windows :: HRESULT = :: windows :: HRESULT ( -2140995565i32 as _ ) ; pub const PEER_E_GRAPH_SHUTTING_DOWN : :: windows :: HRESULT = :: windows :: HRESULT ( -2140995564i32 as _ ) ; pub const PEER_E_GROUPS_EXIST : :: windows :: HRESULT = :: windows :: HRESULT ( -2140995068i32 as _ ) ; pub const PEER_E_GROUP_IN_USE : :: windows :: HRESULT = :: windows :: HRESULT ( -2140987246i32 as _ ) ; pub const PEER_E_GROUP_NOT_READY : :: windows :: HRESULT = :: windows :: HRESULT ( -2140987247i32 as _ ) ; pub const PEER_E_IDENTITY_DELETED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140987232i32 as _ ) ; pub const PEER_E_IDENTITY_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2140994559i32 as _ ) ; pub const PEER_E_INVALID_ADDRESS : :: windows :: HRESULT = :: windows :: HRESULT ( -2140966905i32 as _ ) ; pub const PEER_E_INVALID_ATTRIBUTES : :: windows :: HRESULT = :: windows :: HRESULT ( -2140994046i32 as _ ) ; pub const PEER_E_INVALID_CLASSIFIER : :: windows :: HRESULT = :: windows :: HRESULT ( -2140987296i32 as _ ) ; pub const PEER_E_INVALID_CLASSIFIER_PROPERTY : :: windows :: HRESULT = :: windows :: HRESULT ( -2140987278i32 as _ ) ; pub const PEER_E_INVALID_CREDENTIAL : :: windows :: HRESULT = :: windows :: HRESULT ( -2140987262i32 as _ ) ; pub const PEER_E_INVALID_CREDENTIAL_INFO : :: windows :: HRESULT = :: windows :: HRESULT ( -2140987263i32 as _ ) ; pub const PEER_E_INVALID_DATABASE : :: windows :: HRESULT = :: windows :: HRESULT ( -2140995562i32 as _ ) ; pub const PEER_E_INVALID_FRIENDLY_NAME : :: windows :: HRESULT = :: windows :: HRESULT ( -2140987280i32 as _ ) ; pub const PEER_E_INVALID_GRAPH : :: windows :: HRESULT = :: windows :: HRESULT ( -2140995568i32 as _ ) ; pub const PEER_E_INVALID_GROUP : :: windows :: HRESULT = :: windows :: HRESULT ( -2140987245i32 as _ ) ; pub const PEER_E_INVALID_GROUP_PROPERTIES : :: windows :: HRESULT = :: windows :: HRESULT ( -2140987328i32 as _ ) ; pub const PEER_E_INVALID_PEER_HOST_NAME : :: windows :: HRESULT = :: windows :: HRESULT ( -2140979198i32 as _ ) ; pub const PEER_E_INVALID_PEER_NAME : :: windows :: HRESULT = :: windows :: HRESULT ( -2140987312i32 as _ ) ; pub const PEER_E_INVALID_RECORD : :: windows :: HRESULT = :: windows :: HRESULT ( -2140987376i32 as _ ) ; pub const PEER_E_INVALID_RECORD_EXPIRATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2140987264i32 as _ ) ; pub const PEER_E_INVALID_RECORD_SIZE : :: windows :: HRESULT = :: windows :: HRESULT ( -2140987261i32 as _ ) ; pub const PEER_E_INVALID_ROLE_PROPERTY : :: windows :: HRESULT = :: windows :: HRESULT ( -2140987279i32 as _ ) ; pub const PEER_E_INVALID_SEARCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2140994047i32 as _ ) ; pub const PEER_E_INVALID_TIME_PERIOD : :: windows :: HRESULT = :: windows :: HRESULT ( -2140993787i32 as _ ) ; pub const PEER_E_INVITATION_NOT_TRUSTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140993791i32 as _ ) ; pub const PEER_E_INVITE_CANCELLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140966912i32 as _ ) ; pub const PEER_E_INVITE_RESPONSE_NOT_AVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2140966911i32 as _ ) ; pub const PEER_E_IPV6_NOT_INSTALLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140995583i32 as _ ) ; pub const PEER_E_MAX_RECORD_SIZE_EXCEEDED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140994812i32 as _ ) ; pub const PEER_E_NODE_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2140995320i32 as _ ) ; pub const PEER_E_NOT_AUTHORIZED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140987360i32 as _ ) ; pub const PEER_E_NOT_INITIALIZED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140995582i32 as _ ) ; pub const PEER_E_NOT_LICENSED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140995580i32 as _ ) ; pub const PEER_E_NOT_SIGNED_IN : :: windows :: HRESULT = :: windows :: HRESULT ( -2140966909i32 as _ ) ; pub const PEER_E_NO_CLOUD : :: windows :: HRESULT = :: windows :: HRESULT ( -2140991487i32 as _ ) ; pub const PEER_E_NO_KEY_ACCESS : :: windows :: HRESULT = :: windows :: HRESULT ( -2140995069i32 as _ ) ; pub const PEER_E_NO_MEMBERS_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2140987244i32 as _ ) ; pub const PEER_E_NO_MEMBER_CONNECTIONS : :: windows :: HRESULT = :: windows :: HRESULT ( -2140987243i32 as _ ) ; pub const PEER_E_NO_MORE : :: windows :: HRESULT = :: windows :: HRESULT ( -2140979197i32 as _ ) ; pub const PEER_E_PASSWORD_DOES_NOT_MEET_POLICY : :: windows :: HRESULT = :: windows :: HRESULT ( -2140987359i32 as _ ) ; pub const PEER_E_PNRP_DUPLICATE_PEER_NAME : :: windows :: HRESULT = :: windows :: HRESULT ( -2140979195i32 as _ ) ; pub const PEER_E_PRIVACY_DECLINED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140966908i32 as _ ) ; pub const PEER_E_RECORD_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2140994815i32 as _ ) ; pub const PEER_E_SERVICE_NOT_AVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2140987231i32 as _ ) ; pub const PEER_E_TIMEOUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2140966907i32 as _ ) ; pub const PEER_E_TOO_MANY_ATTRIBUTES : :: windows :: HRESULT = :: windows :: HRESULT ( -2140995561i32 as _ ) ; pub const PEER_E_TOO_MANY_IDENTITIES : :: windows :: HRESULT = :: windows :: HRESULT ( -2140995070i32 as _ ) ; pub const PEER_E_UNABLE_TO_LISTEN : :: windows :: HRESULT = :: windows :: HRESULT ( -2140987242i32 as _ ) ; pub const PEER_E_UNSUPPORTED_VERSION : :: windows :: HRESULT = :: windows :: HRESULT ( -2140987248i32 as _ ) ; pub const PEER_S_ALREADY_A_MEMBER : :: windows :: HRESULT = :: windows :: HRESULT ( 6488070i32 as _ ) ; pub const PEER_S_ALREADY_CONNECTED : :: windows :: HRESULT = :: windows :: HRESULT ( 6496256i32 as _ ) ; pub const PEER_S_GRAPH_DATA_CREATED : :: windows :: HRESULT = :: windows :: HRESULT ( 6488065i32 as _ ) ; pub const PEER_S_NO_CONNECTIVITY : :: windows :: HRESULT = :: windows :: HRESULT ( 6488069i32 as _ ) ; pub const PEER_S_NO_EVENT_DATA : :: windows :: HRESULT = :: windows :: HRESULT ( 6488066i32 as _ ) ; pub const PEER_S_SUBSCRIPTION_EXISTS : :: windows :: HRESULT = :: windows :: HRESULT ( 6512640i32 as _ ) ; pub const PERSIST_E_NOTSELFSIZING : :: windows :: HRESULT = :: windows :: HRESULT ( -2146762741i32 as _ ) ; pub const PERSIST_E_SIZEDEFINITE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146762743i32 as _ ) ; pub const PERSIST_E_SIZEINDEFINITE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146762742i32 as _ ) ; pub const PLA_E_CABAPI_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144337645i32 as _ ) ; pub const PLA_E_CONFLICT_INCL_EXCL_API : :: windows :: HRESULT = :: windows :: HRESULT ( -2144337659i32 as _ ) ; pub const PLA_E_CREDENTIALS_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144337661i32 as _ ) ; pub const PLA_E_DCS_ALREADY_EXISTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144337737i32 as _ ) ; pub const PLA_E_DCS_IN_USE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144337750i32 as _ ) ; pub const PLA_E_DCS_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2144337918i32 as _ ) ; pub const PLA_E_DCS_NOT_RUNNING : :: windows :: HRESULT = :: windows :: HRESULT ( -2144337660i32 as _ ) ; pub const PLA_E_DCS_SINGLETON_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144337662i32 as _ ) ; pub const PLA_E_DCS_START_WAIT_TIMEOUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144337654i32 as _ ) ; pub const PLA_E_DC_ALREADY_EXISTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144337655i32 as _ ) ; pub const PLA_E_DC_START_WAIT_TIMEOUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144337653i32 as _ ) ; pub const PLA_E_EXE_ALREADY_CONFIGURED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144337657i32 as _ ) ; pub const PLA_E_EXE_FULL_PATH_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144337650i32 as _ ) ; pub const PLA_E_EXE_PATH_NOT_VALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2144337656i32 as _ ) ; pub const PLA_E_INVALID_SESSION_NAME : :: windows :: HRESULT = :: windows :: HRESULT ( -2144337649i32 as _ ) ; pub const PLA_E_NETWORK_EXE_NOT_VALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2144337658i32 as _ ) ; pub const PLA_E_NO_DUPLICATES : :: windows :: HRESULT = :: windows :: HRESULT ( -2144337651i32 as _ ) ; pub const PLA_E_NO_MIN_DISK : :: windows :: HRESULT = :: windows :: HRESULT ( -2144337808i32 as _ ) ; pub const PLA_E_PLA_CHANNEL_NOT_ENABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144337648i32 as _ ) ; pub const PLA_E_PROPERTY_CONFLICT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144337663i32 as _ ) ; pub const PLA_E_REPORT_WAIT_TIMEOUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144337652i32 as _ ) ; pub const PLA_E_RULES_MANAGER_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144337646i32 as _ ) ; pub const PLA_E_TASKSCHED_CHANNEL_NOT_ENABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144337647i32 as _ ) ; pub const PLA_E_TOO_MANY_FOLDERS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144337851i32 as _ ) ; pub const PLA_S_PROPERTY_IGNORED : :: windows :: HRESULT = :: windows :: HRESULT ( 3145984i32 as _ ) ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct POINT { pub x : i32 , pub y : i32 } impl POINT { } impl :: std :: default :: Default for POINT { fn default ( ) -> Self { Self { x : 0 , y : 0 } } } impl :: std :: fmt :: Debug for POINT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "POINT" ) . field ( "x" , & self . x ) . field ( "y" , & self . y ) . finish ( ) } } impl :: std :: cmp :: PartialEq for POINT { fn eq ( & self , other : & Self ) -> bool { self . x == other . x && self . y == other . y } } impl :: std :: cmp :: Eq for POINT { } unsafe impl :: windows :: Abi for POINT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct POINTL { pub x : i32 , pub y : i32 } impl POINTL { } impl :: std :: default :: Default for POINTL { fn default ( ) -> Self { Self { x : 0 , y : 0 } } } impl :: std :: fmt :: Debug for POINTL { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "POINTL" ) . field ( "x" , & self . x ) . field ( "y" , & self . y ) . finish ( ) } } impl :: std :: cmp :: PartialEq for POINTL { fn eq ( & self , other : & Self ) -> bool { self . x == other . x && self . y == other . y } } impl :: std :: cmp :: Eq for POINTL { } unsafe impl :: windows :: Abi for POINTL { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct POINTS { pub x : i16 , pub y : i16 } impl POINTS { } impl :: std :: default :: Default for POINTS { fn default ( ) -> Self { Self { x : 0 , y : 0 } } } impl :: std :: fmt :: Debug for POINTS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "POINTS" ) . field ( "x" , & self . x ) . field ( "y" , & self . y ) . finish ( ) } } impl :: std :: cmp :: PartialEq for POINTS { fn eq ( & self , other : & Self ) -> bool { self . x == other . x && self . y == other . y } } impl :: std :: cmp :: Eq for POINTS { } unsafe impl :: windows :: Abi for POINTS { type Abi = Self ; type DefaultType = Self ; } pub type PROC = unsafe extern "system" fn ( ) -> isize ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( transparent ) ] pub struct PSID ( pub isize ) ; impl PSID { } impl :: std :: default :: Default for PSID { fn default ( ) -> Self { Self ( 0 ) } } impl PSID { pub const NULL : Self = Self ( 0 ) ; pub fn is_null ( & self ) -> bool { self . 0 == 0 } } impl :: std :: fmt :: Debug for PSID { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "PSID" ) . field ( "Value" , & self .0 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PSID { fn eq ( & self , other : & Self ) -> bool { self .0 == other .0 } } impl :: std :: cmp :: Eq for PSID { } unsafe impl :: windows :: Abi for PSID { type Abi = Self ; type DefaultType = Self ; } # [ repr ( transparent ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy , :: std :: cmp :: Eq , :: std :: fmt :: Debug ) ] pub struct PSTR ( pub * mut u8 ) ; impl PSTR { pub const NULL : Self = Self ( :: std :: ptr :: null_mut ( ) ) ; pub fn is_null ( & self ) -> bool { self . 0 . is_null ( ) } } impl :: std :: default :: Default for PSTR { fn default ( ) -> Self { Self ( :: std :: ptr :: null_mut ( ) ) } } impl :: std :: cmp :: PartialEq for PSTR { fn eq ( & self , other : & Self ) -> bool { self . 0 == other . 0 } } unsafe impl :: windows :: Abi for PSTR { type Abi = Self ; type DefaultType = Self ; fn drop_param ( param : & mut :: windows :: Param < '_ , Self > ) { if let :: windows :: Param :: Boxed ( value ) = param { if ! value . 0 . is_null ( ) { unsafe { let _ = :: std :: boxed :: Box :: from_raw ( value . 0 ) ; } } } } } impl < 'a > :: windows :: IntoParam < 'a , PSTR > for & 'a str { fn into_param ( self ) -> :: windows :: Param < 'a , PSTR > { :: windows :: Param :: Boxed ( PSTR ( :: std :: boxed :: Box :: < [ u8 ] > :: into_raw ( self . bytes ( ) . chain ( :: std :: iter :: once ( 0 ) ) . collect :: < std :: vec :: Vec < u8 >> ( ) . into_boxed_slice ( ) ) as _ ) ) } } impl < 'a > :: windows :: IntoParam < 'a , PSTR > for String { fn into_param ( self ) -> :: windows :: Param < 'a , PSTR > { :: windows :: Param :: Boxed ( PSTR ( :: std :: boxed :: Box :: < [ u8 ] > :: into_raw ( self . bytes ( ) . chain ( :: std :: iter :: once ( 0 ) ) . collect :: < std :: vec :: Vec < u8 >> ( ) . into_boxed_slice ( ) ) as _ ) ) } } # [ repr ( transparent ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy , :: std :: cmp :: Eq , :: std :: fmt :: Debug ) ] pub struct PWSTR ( pub * mut u16 ) ; impl PWSTR { pub const NULL : Self = Self ( :: std :: ptr :: null_mut ( ) ) ; pub fn is_null ( & self ) -> bool { self . 0 . is_null ( ) } } impl :: std :: default :: Default for PWSTR { fn default ( ) -> Self { Self ( :: std :: ptr :: null_mut ( ) ) } } impl :: std :: cmp :: PartialEq for PWSTR { fn eq ( & self , other : & Self ) -> bool { self . 0 == other . 0 } } unsafe impl :: windows :: Abi for PWSTR { type Abi = Self ; type DefaultType = Self ; fn drop_param ( param : & mut :: windows :: Param < '_ , Self > ) { if let :: windows :: Param :: Boxed ( value ) = param { if ! value . 0 . is_null ( ) { unsafe { :: std :: boxed :: Box :: from_raw ( value . 0 ) ; } } } } } impl < 'a > :: windows :: IntoParam < 'a , PWSTR > for & 'a str { fn into_param ( self ) -> :: windows :: Param < 'a , PWSTR > { :: windows :: Param :: Boxed ( PWSTR ( :: std :: boxed :: Box :: < [ u16 ] > :: into_raw ( self . encode_utf16 ( ) . chain ( :: std :: iter :: once ( 0 ) ) . collect :: < std :: vec :: Vec < u16 >> ( ) . into_boxed_slice ( ) ) as _ ) ) } } impl < 'a > :: windows :: IntoParam < 'a , PWSTR > for String { fn into_param ( self ) -> :: windows :: Param < 'a , PWSTR > { :: windows :: Param :: Boxed ( PWSTR ( :: std :: boxed :: Box :: < [ u16 ] > :: into_raw ( self . encode_utf16 ( ) . chain ( :: std :: iter :: once ( 0 ) ) . collect :: < std :: vec :: Vec < u16 >> ( ) . into_boxed_slice ( ) ) as _ ) ) } } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct RECT { pub left : i32 , pub top : i32 , pub right : i32 , pub bottom : i32 } impl RECT { } impl :: std :: default :: Default for RECT { fn default ( ) -> Self { Self { left : 0 , top : 0 , right : 0 , bottom : 0 } } } impl :: std :: fmt :: Debug for RECT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "RECT" ) . field ( "left" , & self . left ) . field ( "top" , & self . top ) . field ( "right" , & self . right ) . field ( "bottom" , & self . bottom ) . finish ( ) } } impl :: std :: cmp :: PartialEq for RECT { fn eq ( & self , other : & Self ) -> bool { self . left == other . left && self . top == other . top && self . right == other . right && self . bottom == other . bottom } } impl :: std :: cmp :: Eq for RECT { } unsafe impl :: windows :: Abi for RECT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct RECTL { pub left : i32 , pub top : i32 , pub right : i32 , pub bottom : i32 } impl RECTL { } impl :: std :: default :: Default for RECTL { fn default ( ) -> Self { Self { left : 0 , top : 0 , right : 0 , bottom : 0 } } } impl :: std :: fmt :: Debug for RECTL { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "RECTL" ) . field ( "left" , & self . left ) . field ( "top" , & self . top ) . field ( "right" , & self . right ) . field ( "bottom" , & self . bottom ) . finish ( ) } } impl :: std :: cmp :: PartialEq for RECTL { fn eq ( & self , other : & Self ) -> bool { self . left == other . left && self . top == other . top && self . right == other . right && self . bottom == other . bottom } } impl :: std :: cmp :: Eq for RECTL { } unsafe impl :: windows :: Abi for RECTL { type Abi = Self ; type DefaultType = Self ; } pub const REGDB_E_BADTHREADINGMODEL : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221162i32 as _ ) ; pub const REGDB_E_CLASSNOTREG : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221164i32 as _ ) ; pub const REGDB_E_FIRST : i32 = -2147221168i32 ; pub const REGDB_E_IIDNOTREG : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221163i32 as _ ) ; pub const REGDB_E_INVALIDVALUE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221165i32 as _ ) ; pub const REGDB_E_KEYMISSING : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221166i32 as _ ) ; pub const REGDB_E_LAST : i32 = -2147221153i32 ; pub const REGDB_E_PACKAGEPOLICYVIOLATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221161i32 as _ ) ; pub const REGDB_E_READREGDB : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221168i32 as _ ) ; pub const REGDB_E_WRITEREGDB : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221167i32 as _ ) ; pub const REGDB_S_FIRST : i32 = 262480i32 ; pub const REGDB_S_LAST : i32 = 262495i32 ; pub const RO_E_BLOCKED_CROSS_ASTA_CALL : :: windows :: HRESULT = :: windows :: HRESULT ( -2147483617i32 as _ ) ; pub const RO_E_CANNOT_ACTIVATE_FULL_TRUST_SERVER : :: windows :: HRESULT = :: windows :: HRESULT ( -2147483616i32 as _ ) ; pub const RO_E_CANNOT_ACTIVATE_UNIVERSAL_APPLICATION_SERVER : :: windows :: HRESULT = :: windows :: HRESULT ( -2147483615i32 as _ ) ; pub const RO_E_CHANGE_NOTIFICATION_IN_PROGRESS : :: windows :: HRESULT = :: windows :: HRESULT ( -2147483627i32 as _ ) ; pub const RO_E_CLOSED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147483629i32 as _ ) ; pub const RO_E_COMMITTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147483618i32 as _ ) ; pub const RO_E_ERROR_STRING_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2147483626i32 as _ ) ; pub const RO_E_EXCLUSIVE_WRITE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147483628i32 as _ ) ; pub const RO_E_INVALID_METADATA_FILE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147483630i32 as _ ) ; pub const RO_E_METADATA_INVALID_TYPE_FORMAT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147483631i32 as _ ) ; pub const RO_E_METADATA_NAME_IS_NAMESPACE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147483632i32 as _ ) ; pub const RO_E_METADATA_NAME_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2147483633i32 as _ ) ; pub const RO_E_MUST_BE_AGILE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147483620i32 as _ ) ; pub const RO_E_UNSUPPORTED_FROM_MTA : :: windows :: HRESULT = :: windows :: HRESULT ( -2147483619i32 as _ ) ; pub const RPC_E_ACCESS_DENIED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417829i32 as _ ) ; pub const RPC_E_ATTEMPTED_MULTITHREAD : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417854i32 as _ ) ; pub const RPC_E_CALL_CANCELED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147418110i32 as _ ) ; pub const RPC_E_CALL_COMPLETE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417833i32 as _ ) ; pub const RPC_E_CALL_REJECTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147418111i32 as _ ) ; pub const RPC_E_CANTCALLOUT_AGAIN : :: windows :: HRESULT = :: windows :: HRESULT ( -2147418095i32 as _ ) ; pub const RPC_E_CANTCALLOUT_INASYNCCALL : :: windows :: HRESULT = :: windows :: HRESULT ( -2147418108i32 as _ ) ; pub const RPC_E_CANTCALLOUT_INEXTERNALCALL : :: windows :: HRESULT = :: windows :: HRESULT ( -2147418107i32 as _ ) ; pub const RPC_E_CANTCALLOUT_ININPUTSYNCCALL : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417843i32 as _ ) ; pub const RPC_E_CANTPOST_INSENDCALL : :: windows :: HRESULT = :: windows :: HRESULT ( -2147418109i32 as _ ) ; pub const RPC_E_CANTTRANSMIT_CALL : :: windows :: HRESULT = :: windows :: HRESULT ( -2147418102i32 as _ ) ; pub const RPC_E_CHANGED_MODE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417850i32 as _ ) ; pub const RPC_E_CLIENT_CANTMARSHAL_DATA : :: windows :: HRESULT = :: windows :: HRESULT ( -2147418101i32 as _ ) ; pub const RPC_E_CLIENT_CANTUNMARSHAL_DATA : :: windows :: HRESULT = :: windows :: HRESULT ( -2147418100i32 as _ ) ; pub const RPC_E_CLIENT_DIED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147418104i32 as _ ) ; pub const RPC_E_CONNECTION_TERMINATED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147418106i32 as _ ) ; pub const RPC_E_DISCONNECTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417848i32 as _ ) ; pub const RPC_E_FAULT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417852i32 as _ ) ; pub const RPC_E_FULLSIC_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417823i32 as _ ) ; pub const RPC_E_INVALIDMETHOD : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417849i32 as _ ) ; pub const RPC_E_INVALID_CALLDATA : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417844i32 as _ ) ; pub const RPC_E_INVALID_DATA : :: windows :: HRESULT = :: windows :: HRESULT ( -2147418097i32 as _ ) ; pub const RPC_E_INVALID_DATAPACKET : :: windows :: HRESULT = :: windows :: HRESULT ( -2147418103i32 as _ ) ; pub const RPC_E_INVALID_EXTENSION : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417838i32 as _ ) ; pub const RPC_E_INVALID_HEADER : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417839i32 as _ ) ; pub const RPC_E_INVALID_IPID : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417837i32 as _ ) ; pub const RPC_E_INVALID_OBJECT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417836i32 as _ ) ; pub const RPC_E_INVALID_OBJREF : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417827i32 as _ ) ; pub const RPC_E_INVALID_PARAMETER : :: windows :: HRESULT = :: windows :: HRESULT ( -2147418096i32 as _ ) ; pub const RPC_E_INVALID_STD_NAME : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417822i32 as _ ) ; pub const RPC_E_NOT_REGISTERED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417853i32 as _ ) ; pub const RPC_E_NO_CONTEXT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417826i32 as _ ) ; pub const RPC_E_NO_GOOD_SECURITY_PACKAGES : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417830i32 as _ ) ; pub const RPC_E_NO_SYNC : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417824i32 as _ ) ; pub const RPC_E_OUT_OF_RESOURCES : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417855i32 as _ ) ; pub const RPC_E_REMOTE_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417828i32 as _ ) ; pub const RPC_E_RETRY : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417847i32 as _ ) ; pub const RPC_E_SERVERCALL_REJECTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417845i32 as _ ) ; pub const RPC_E_SERVERCALL_RETRYLATER : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417846i32 as _ ) ; pub const RPC_E_SERVERFAULT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417851i32 as _ ) ; pub const RPC_E_SERVER_CANTMARSHAL_DATA : :: windows :: HRESULT = :: windows :: HRESULT ( -2147418099i32 as _ ) ; pub const RPC_E_SERVER_CANTUNMARSHAL_DATA : :: windows :: HRESULT = :: windows :: HRESULT ( -2147418098i32 as _ ) ; pub const RPC_E_SERVER_DIED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147418105i32 as _ ) ; pub const RPC_E_SERVER_DIED_DNE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147418094i32 as _ ) ; pub const RPC_E_SYS_CALL_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417856i32 as _ ) ; pub const RPC_E_THREAD_NOT_INIT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417841i32 as _ ) ; pub const RPC_E_TIMEOUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417825i32 as _ ) ; pub const RPC_E_TOO_LATE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417831i32 as _ ) ; pub const RPC_E_UNEXPECTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147352577i32 as _ ) ; pub const RPC_E_UNSECURE_CALL : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417832i32 as _ ) ; pub const RPC_E_VERSION_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417840i32 as _ ) ; pub const RPC_E_WRONG_THREAD : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417842i32 as _ ) ; pub const RPC_NT_ADDRESS_ERROR : NTSTATUS = NTSTATUS ( -1073610683i32 as _ ) ; pub const RPC_NT_ALREADY_LISTENING : NTSTATUS = NTSTATUS ( -1073610738i32 as _ ) ; pub const RPC_NT_ALREADY_REGISTERED : NTSTATUS = NTSTATUS ( -1073610740i32 as _ ) ; pub const RPC_NT_BAD_STUB_DATA : NTSTATUS = NTSTATUS ( -1073545204i32 as _ ) ; pub const RPC_NT_BINDING_HAS_NO_AUTH : NTSTATUS = NTSTATUS ( -1073610705i32 as _ ) ; pub const RPC_NT_BINDING_INCOMPLETE : NTSTATUS = NTSTATUS ( -1073610671i32 as _ ) ; pub const RPC_NT_BYTE_COUNT_TOO_SMALL : NTSTATUS = NTSTATUS ( -1073545205i32 as _ ) ; pub const RPC_NT_CALL_CANCELLED : NTSTATUS = NTSTATUS ( -1073610672i32 as _ ) ; pub const RPC_NT_CALL_FAILED : NTSTATUS = NTSTATUS ( -1073610725i32 as _ ) ; pub const RPC_NT_CALL_FAILED_DNE : NTSTATUS = NTSTATUS ( -1073610724i32 as _ ) ; pub const RPC_NT_CALL_IN_PROGRESS : NTSTATUS = NTSTATUS ( -1073610679i32 as _ ) ; pub const RPC_NT_CANNOT_SUPPORT : NTSTATUS = NTSTATUS ( -1073610687i32 as _ ) ; pub const RPC_NT_CANT_CREATE_ENDPOINT : NTSTATUS = NTSTATUS ( -1073610731i32 as _ ) ; pub const RPC_NT_COMM_FAILURE : NTSTATUS = NTSTATUS ( -1073610670i32 as _ ) ; pub const RPC_NT_COOKIE_AUTH_FAILED : NTSTATUS = NTSTATUS ( -1073610651i32 as _ ) ; pub const RPC_NT_DUPLICATE_ENDPOINT : NTSTATUS = NTSTATUS ( -1073610711i32 as _ ) ; pub const RPC_NT_ENTRY_ALREADY_EXISTS : NTSTATUS = NTSTATUS ( -1073610691i32 as _ ) ; pub const RPC_NT_ENTRY_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073610690i32 as _ ) ; pub const RPC_NT_ENUM_VALUE_OUT_OF_RANGE : NTSTATUS = NTSTATUS ( -1073545206i32 as _ ) ; pub const RPC_NT_FP_DIV_ZERO : NTSTATUS = NTSTATUS ( -1073610682i32 as _ ) ; pub const RPC_NT_FP_OVERFLOW : NTSTATUS = NTSTATUS ( -1073610680i32 as _ ) ; pub const RPC_NT_FP_UNDERFLOW : NTSTATUS = NTSTATUS ( -1073610681i32 as _ ) ; pub const RPC_NT_GROUP_MEMBER_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073610677i32 as _ ) ; pub const RPC_NT_INCOMPLETE_NAME : NTSTATUS = NTSTATUS ( -1073610696i32 as _ ) ; pub const RPC_NT_INTERFACE_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073610692i32 as _ ) ; pub const RPC_NT_INTERNAL_ERROR : NTSTATUS = NTSTATUS ( -1073610685i32 as _ ) ; pub const RPC_NT_INVALID_ASYNC_CALL : NTSTATUS = NTSTATUS ( -1073610653i32 as _ ) ; pub const RPC_NT_INVALID_ASYNC_HANDLE : NTSTATUS = NTSTATUS ( -1073610654i32 as _ ) ; pub const RPC_NT_INVALID_AUTH_IDENTITY : NTSTATUS = NTSTATUS ( -1073610702i32 as _ ) ; pub const RPC_NT_INVALID_BINDING : NTSTATUS = NTSTATUS ( -1073610749i32 as _ ) ; pub const RPC_NT_INVALID_BOUND : NTSTATUS = NTSTATUS ( -1073610717i32 as _ ) ; pub const RPC_NT_INVALID_ENDPOINT_FORMAT : NTSTATUS = NTSTATUS ( -1073610745i32 as _ ) ; pub const RPC_NT_INVALID_ES_ACTION : NTSTATUS = NTSTATUS ( -1073545127i32 as _ ) ; pub const RPC_NT_INVALID_NAF_ID : NTSTATUS = NTSTATUS ( -1073610688i32 as _ ) ; pub const RPC_NT_INVALID_NAME_SYNTAX : NTSTATUS = NTSTATUS ( -1073610715i32 as _ ) ; pub const RPC_NT_INVALID_NETWORK_OPTIONS : NTSTATUS = NTSTATUS ( -1073610727i32 as _ ) ; pub const RPC_NT_INVALID_NET_ADDR : NTSTATUS = NTSTATUS ( -1073610744i32 as _ ) ; pub const RPC_NT_INVALID_OBJECT : NTSTATUS = NTSTATUS ( -1073610675i32 as _ ) ; pub const RPC_NT_INVALID_PIPE_OBJECT : NTSTATUS = NTSTATUS ( -1073545124i32 as _ ) ; pub const RPC_NT_INVALID_PIPE_OPERATION : NTSTATUS = NTSTATUS ( -1073545123i32 as _ ) ; pub const RPC_NT_INVALID_RPC_PROTSEQ : NTSTATUS = NTSTATUS ( -1073610747i32 as _ ) ; pub const RPC_NT_INVALID_STRING_BINDING : NTSTATUS = NTSTATUS ( -1073610751i32 as _ ) ; pub const RPC_NT_INVALID_STRING_UUID : NTSTATUS = NTSTATUS ( -1073610746i32 as _ ) ; pub const RPC_NT_INVALID_TAG : NTSTATUS = NTSTATUS ( -1073610718i32 as _ ) ; pub const RPC_NT_INVALID_TIMEOUT : NTSTATUS = NTSTATUS ( -1073610742i32 as _ ) ; pub const RPC_NT_INVALID_VERS_OPTION : NTSTATUS = NTSTATUS ( -1073610695i32 as _ ) ; pub const RPC_NT_MAX_CALLS_TOO_SMALL : NTSTATUS = NTSTATUS ( -1073610709i32 as _ ) ; pub const RPC_NT_NAME_SERVICE_UNAVAILABLE : NTSTATUS = NTSTATUS ( -1073610689i32 as _ ) ; pub const RPC_NT_NOTHING_TO_EXPORT : NTSTATUS = NTSTATUS ( -1073610697i32 as _ ) ; pub const RPC_NT_NOT_ALL_OBJS_UNEXPORTED : NTSTATUS = NTSTATUS ( -1073610693i32 as _ ) ; pub const RPC_NT_NOT_CANCELLED : NTSTATUS = NTSTATUS ( -1073610664i32 as _ ) ; pub const RPC_NT_NOT_LISTENING : NTSTATUS = NTSTATUS ( -1073610736i32 as _ ) ; pub const RPC_NT_NOT_RPC_ERROR : NTSTATUS = NTSTATUS ( -1073610667i32 as _ ) ; pub const RPC_NT_NO_BINDINGS : NTSTATUS = NTSTATUS ( -1073610733i32 as _ ) ; pub const RPC_NT_NO_CALL_ACTIVE : NTSTATUS = NTSTATUS ( -1073610726i32 as _ ) ; pub const RPC_NT_NO_CONTEXT_AVAILABLE : NTSTATUS = NTSTATUS ( -1073610686i32 as _ ) ; pub const RPC_NT_NO_ENDPOINT_FOUND : NTSTATUS = NTSTATUS ( -1073610743i32 as _ ) ; pub const RPC_NT_NO_ENTRY_NAME : NTSTATUS = NTSTATUS ( -1073610716i32 as _ ) ; pub const RPC_NT_NO_INTERFACES : NTSTATUS = NTSTATUS ( -1073610673i32 as _ ) ; pub const RPC_NT_NO_MORE_BINDINGS : NTSTATUS = NTSTATUS ( -1073610678i32 as _ ) ; pub const RPC_NT_NO_MORE_ENTRIES : NTSTATUS = NTSTATUS ( -1073545215i32 as _ ) ; pub const RPC_NT_NO_MORE_MEMBERS : NTSTATUS = NTSTATUS ( -1073610694i32 as _ ) ; pub const RPC_NT_NO_PRINC_NAME : NTSTATUS = NTSTATUS ( -1073610668i32 as _ ) ; pub const RPC_NT_NO_PROTSEQS : NTSTATUS = NTSTATUS ( -1073610732i32 as _ ) ; pub const RPC_NT_NO_PROTSEQS_REGISTERED : NTSTATUS = NTSTATUS ( -1073610737i32 as _ ) ; pub const RPC_NT_NULL_REF_POINTER : NTSTATUS = NTSTATUS ( -1073545207i32 as _ ) ; pub const RPC_NT_OBJECT_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073610741i32 as _ ) ; pub const RPC_NT_OUT_OF_RESOURCES : NTSTATUS = NTSTATUS ( -1073610730i32 as _ ) ; pub const RPC_NT_PIPE_CLOSED : NTSTATUS = NTSTATUS ( -1073545121i32 as _ ) ; pub const RPC_NT_PIPE_DISCIPLINE_ERROR : NTSTATUS = NTSTATUS ( -1073545120i32 as _ ) ; pub const RPC_NT_PIPE_EMPTY : NTSTATUS = NTSTATUS ( -1073545119i32 as _ ) ; pub const RPC_NT_PROCNUM_OUT_OF_RANGE : NTSTATUS = NTSTATUS ( -1073610706i32 as _ ) ; pub const RPC_NT_PROTOCOL_ERROR : NTSTATUS = NTSTATUS ( -1073610723i32 as _ ) ; pub const RPC_NT_PROTSEQ_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073610707i32 as _ ) ; pub const RPC_NT_PROTSEQ_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1073610748i32 as _ ) ; pub const RPC_NT_PROXY_ACCESS_DENIED : NTSTATUS = NTSTATUS ( -1073610652i32 as _ ) ; pub const RPC_NT_SEC_PKG_ERROR : NTSTATUS = NTSTATUS ( -1073610665i32 as _ ) ; pub const RPC_NT_SEND_INCOMPLETE : NTSTATUS = NTSTATUS ( 1073873071i32 as _ ) ; pub const RPC_NT_SERVER_TOO_BUSY : NTSTATUS = NTSTATUS ( -1073610728i32 as _ ) ; pub const RPC_NT_SERVER_UNAVAILABLE : NTSTATUS = NTSTATUS ( -1073610729i32 as _ ) ; pub const RPC_NT_SS_CANNOT_GET_CALL_HANDLE : NTSTATUS = NTSTATUS ( -1073545208i32 as _ ) ; pub const RPC_NT_SS_CHAR_TRANS_OPEN_FAIL : NTSTATUS = NTSTATUS ( -1073545214i32 as _ ) ; pub const RPC_NT_SS_CHAR_TRANS_SHORT_FILE : NTSTATUS = NTSTATUS ( -1073545213i32 as _ ) ; pub const RPC_NT_SS_CONTEXT_DAMAGED : NTSTATUS = NTSTATUS ( -1073545210i32 as _ ) ; pub const RPC_NT_SS_CONTEXT_MISMATCH : NTSTATUS = NTSTATUS ( -1073545211i32 as _ ) ; pub const RPC_NT_SS_HANDLES_MISMATCH : NTSTATUS = NTSTATUS ( -1073545209i32 as _ ) ; pub const RPC_NT_SS_IN_NULL_CONTEXT : NTSTATUS = NTSTATUS ( -1073545212i32 as _ ) ; pub const RPC_NT_STRING_TOO_LONG : NTSTATUS = NTSTATUS ( -1073610708i32 as _ ) ; pub const RPC_NT_TYPE_ALREADY_REGISTERED : NTSTATUS = NTSTATUS ( -1073610739i32 as _ ) ; pub const RPC_NT_UNKNOWN_AUTHN_LEVEL : NTSTATUS = NTSTATUS ( -1073610703i32 as _ ) ; pub const RPC_NT_UNKNOWN_AUTHN_SERVICE : NTSTATUS = NTSTATUS ( -1073610704i32 as _ ) ; pub const RPC_NT_UNKNOWN_AUTHN_TYPE : NTSTATUS = NTSTATUS ( -1073610710i32 as _ ) ; pub const RPC_NT_UNKNOWN_AUTHZ_SERVICE : NTSTATUS = NTSTATUS ( -1073610701i32 as _ ) ; pub const RPC_NT_UNKNOWN_IF : NTSTATUS = NTSTATUS ( -1073610734i32 as _ ) ; pub const RPC_NT_UNKNOWN_MGR_TYPE : NTSTATUS = NTSTATUS ( -1073610735i32 as _ ) ; pub const RPC_NT_UNSUPPORTED_AUTHN_LEVEL : NTSTATUS = NTSTATUS ( -1073610669i32 as _ ) ; pub const RPC_NT_UNSUPPORTED_NAME_SYNTAX : NTSTATUS = NTSTATUS ( -1073610714i32 as _ ) ; pub const RPC_NT_UNSUPPORTED_TRANS_SYN : NTSTATUS = NTSTATUS ( -1073610721i32 as _ ) ; pub const RPC_NT_UNSUPPORTED_TYPE : NTSTATUS = NTSTATUS ( -1073610719i32 as _ ) ; pub const RPC_NT_UUID_LOCAL_ONLY : NTSTATUS = NTSTATUS ( 1073872982i32 as _ ) ; pub const RPC_NT_UUID_NO_ADDRESS : NTSTATUS = NTSTATUS ( -1073610712i32 as _ ) ; pub const RPC_NT_WRONG_ES_VERSION : NTSTATUS = NTSTATUS ( -1073545126i32 as _ ) ; pub const RPC_NT_WRONG_KIND_OF_BINDING : NTSTATUS = NTSTATUS ( -1073610750i32 as _ ) ; pub const RPC_NT_WRONG_PIPE_VERSION : NTSTATUS = NTSTATUS ( -1073545122i32 as _ ) ; pub const RPC_NT_WRONG_STUB_VERSION : NTSTATUS = NTSTATUS ( -1073545125i32 as _ ) ; pub const RPC_NT_ZERO_DIVIDE : NTSTATUS = NTSTATUS ( -1073610684i32 as _ ) ; pub const RPC_S_CALLPENDING : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417835i32 as _ ) ; pub const RPC_S_WAITONTIMER : :: windows :: HRESULT = :: windows :: HRESULT ( -2147417834i32 as _ ) ; pub const RPC_X_BAD_STUB_DATA : i32 = 1783i32 ; pub const RPC_X_BYTE_COUNT_TOO_SMALL : i32 = 1782i32 ; pub const RPC_X_ENUM_VALUE_OUT_OF_RANGE : i32 = 1781i32 ; pub const RPC_X_INVALID_ES_ACTION : i32 = 1827i32 ; pub const RPC_X_INVALID_PIPE_OBJECT : i32 = 1830i32 ; pub const RPC_X_NO_MORE_ENTRIES : i32 = 1772i32 ; pub const RPC_X_NULL_REF_POINTER : i32 = 1780i32 ; pub const RPC_X_PIPE_CLOSED : i32 = 1916i32 ; pub const RPC_X_PIPE_DISCIPLINE_ERROR : i32 = 1917i32 ; pub const RPC_X_PIPE_EMPTY : i32 = 1918i32 ; pub const RPC_X_SS_CANNOT_GET_CALL_HANDLE : i32 = 1779i32 ; pub const RPC_X_SS_CHAR_TRANS_OPEN_FAIL : i32 = 1773i32 ; pub const RPC_X_SS_CHAR_TRANS_SHORT_FILE : i32 = 1774i32 ; pub const RPC_X_SS_CONTEXT_DAMAGED : i32 = 1777i32 ; pub const RPC_X_SS_HANDLES_MISMATCH : i32 = 1778i32 ; pub const RPC_X_SS_IN_NULL_CONTEXT : i32 = 1775i32 ; pub const RPC_X_WRONG_ES_VERSION : i32 = 1828i32 ; pub const RPC_X_WRONG_PIPE_ORDER : i32 = 1831i32 ; pub const RPC_X_WRONG_PIPE_VERSION : i32 = 1832i32 ; pub const RPC_X_WRONG_STUB_VERSION : i32 = 1829i32 ; pub unsafe fn RtlNtStatusToDosError < 'a , > ( status : impl :: windows :: IntoParam < 'a , NTSTATUS > , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="ntdll" ) ] extern "system" { fn RtlNtStatusToDosError ( status : NTSTATUS ) -> u32 ; } RtlNtStatusToDosError ( status . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub const SCARD_E_BAD_SEEK : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435031i32 as _ ) ; pub const SCARD_E_CANCELLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435070i32 as _ ) ; pub const SCARD_E_CANT_DISPOSE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435058i32 as _ ) ; pub const SCARD_E_CARD_UNSUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435044i32 as _ ) ; pub const SCARD_E_CERTIFICATE_UNAVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435027i32 as _ ) ; pub const SCARD_E_COMM_DATA_LOST : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435025i32 as _ ) ; pub const SCARD_E_DIR_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435037i32 as _ ) ; pub const SCARD_E_DUPLICATE_READER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435045i32 as _ ) ; pub const SCARD_E_FILE_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435036i32 as _ ) ; pub const SCARD_E_ICC_CREATEORDER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435039i32 as _ ) ; pub const SCARD_E_ICC_INSTALLATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435040i32 as _ ) ; pub const SCARD_E_INSUFFICIENT_BUFFER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435064i32 as _ ) ; pub const SCARD_E_INVALID_ATR : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435051i32 as _ ) ; pub const SCARD_E_INVALID_CHV : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435030i32 as _ ) ; pub const SCARD_E_INVALID_HANDLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435069i32 as _ ) ; pub const SCARD_E_INVALID_PARAMETER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435068i32 as _ ) ; pub const SCARD_E_INVALID_TARGET : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435067i32 as _ ) ; pub const SCARD_E_INVALID_VALUE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435055i32 as _ ) ; pub const SCARD_E_NOT_READY : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435056i32 as _ ) ; pub const SCARD_E_NOT_TRANSACTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435050i32 as _ ) ; pub const SCARD_E_NO_ACCESS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435033i32 as _ ) ; pub const SCARD_E_NO_DIR : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435035i32 as _ ) ; pub const SCARD_E_NO_FILE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435034i32 as _ ) ; pub const SCARD_E_NO_KEY_CONTAINER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435024i32 as _ ) ; pub const SCARD_E_NO_MEMORY : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435066i32 as _ ) ; pub const SCARD_E_NO_PIN_CACHE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435021i32 as _ ) ; pub const SCARD_E_NO_READERS_AVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435026i32 as _ ) ; pub const SCARD_E_NO_SERVICE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435043i32 as _ ) ; pub const SCARD_E_NO_SMARTCARD : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435060i32 as _ ) ; pub const SCARD_E_NO_SUCH_CERTIFICATE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435028i32 as _ ) ; pub const SCARD_E_PCI_TOO_SMALL : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435047i32 as _ ) ; pub const SCARD_E_PIN_CACHE_EXPIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435022i32 as _ ) ; pub const SCARD_E_PROTO_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435057i32 as _ ) ; pub const SCARD_E_READER_UNAVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435049i32 as _ ) ; pub const SCARD_E_READER_UNSUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435046i32 as _ ) ; pub const SCARD_E_READ_ONLY_CARD : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435020i32 as _ ) ; pub const SCARD_E_SERVER_TOO_BUSY : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435023i32 as _ ) ; pub const SCARD_E_SERVICE_STOPPED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435042i32 as _ ) ; pub const SCARD_E_SHARING_VIOLATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435061i32 as _ ) ; pub const SCARD_E_SYSTEM_CANCELLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435054i32 as _ ) ; pub const SCARD_E_TIMEOUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435062i32 as _ ) ; pub const SCARD_E_UNEXPECTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435041i32 as _ ) ; pub const SCARD_E_UNKNOWN_CARD : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435059i32 as _ ) ; pub const SCARD_E_UNKNOWN_READER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435063i32 as _ ) ; pub const SCARD_E_UNKNOWN_RES_MNG : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435029i32 as _ ) ; pub const SCARD_E_UNSUPPORTED_FEATURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435038i32 as _ ) ; pub const SCARD_E_WRITE_TOO_MANY : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435032i32 as _ ) ; pub const SCARD_F_COMM_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435053i32 as _ ) ; pub const SCARD_F_INTERNAL_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435071i32 as _ ) ; pub const SCARD_F_UNKNOWN_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435052i32 as _ ) ; pub const SCARD_F_WAITED_TOO_LONG : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435065i32 as _ ) ; pub const SCARD_P_SHUTDOWN : :: windows :: HRESULT = :: windows :: HRESULT ( -2146435048i32 as _ ) ; pub const SCARD_W_CACHE_ITEM_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2146434960i32 as _ ) ; pub const SCARD_W_CACHE_ITEM_STALE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146434959i32 as _ ) ; pub const SCARD_W_CACHE_ITEM_TOO_BIG : :: windows :: HRESULT = :: windows :: HRESULT ( -2146434958i32 as _ ) ; pub const SCARD_W_CANCELLED_BY_USER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146434962i32 as _ ) ; pub const SCARD_W_CARD_NOT_AUTHENTICATED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146434961i32 as _ ) ; pub const SCARD_W_CHV_BLOCKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146434964i32 as _ ) ; pub const SCARD_W_EOF : :: windows :: HRESULT = :: windows :: HRESULT ( -2146434963i32 as _ ) ; pub const SCARD_W_REMOVED_CARD : :: windows :: HRESULT = :: windows :: HRESULT ( -2146434967i32 as _ ) ; pub const SCARD_W_RESET_CARD : :: windows :: HRESULT = :: windows :: HRESULT ( -2146434968i32 as _ ) ; pub const SCARD_W_SECURITY_VIOLATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2146434966i32 as _ ) ; pub const SCARD_W_UNPOWERED_CARD : :: windows :: HRESULT = :: windows :: HRESULT ( -2146434969i32 as _ ) ; pub const SCARD_W_UNRESPONSIVE_CARD : :: windows :: HRESULT = :: windows :: HRESULT ( -2146434970i32 as _ ) ; pub const SCARD_W_UNSUPPORTED_CARD : :: windows :: HRESULT = :: windows :: HRESULT ( -2146434971i32 as _ ) ; pub const SCARD_W_WRONG_CHV : :: windows :: HRESULT = :: windows :: HRESULT ( -2146434965i32 as _ ) ; pub const SCHED_E_ACCOUNT_DBASE_CORRUPT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147216623i32 as _ ) ; pub const SCHED_E_ACCOUNT_INFORMATION_NOT_SET : :: windows :: HRESULT = :: windows :: HRESULT ( -2147216625i32 as _ ) ; pub const SCHED_E_ACCOUNT_NAME_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2147216624i32 as _ ) ; pub const SCHED_E_ALREADY_RUNNING : :: windows :: HRESULT = :: windows :: HRESULT ( -2147216609i32 as _ ) ; pub const SCHED_E_CANNOT_OPEN_TASK : :: windows :: HRESULT = :: windows :: HRESULT ( -2147216627i32 as _ ) ; pub const SCHED_E_DEPRECATED_FEATURE_USED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147216592i32 as _ ) ; pub const SCHED_E_INVALIDVALUE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147216616i32 as _ ) ; pub const SCHED_E_INVALID_TASK : :: windows :: HRESULT = :: windows :: HRESULT ( -2147216626i32 as _ ) ; pub const SCHED_E_INVALID_TASK_HASH : :: windows :: HRESULT = :: windows :: HRESULT ( -2147216607i32 as _ ) ; pub const SCHED_E_MALFORMEDXML : :: windows :: HRESULT = :: windows :: HRESULT ( -2147216614i32 as _ ) ; pub const SCHED_E_MISSINGNODE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147216615i32 as _ ) ; pub const SCHED_E_NAMESPACE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147216617i32 as _ ) ; pub const SCHED_E_NO_SECURITY_SERVICES : :: windows :: HRESULT = :: windows :: HRESULT ( -2147216622i32 as _ ) ; pub const SCHED_E_PAST_END_BOUNDARY : :: windows :: HRESULT = :: windows :: HRESULT ( -2147216610i32 as _ ) ; pub const SCHED_E_SERVICE_NOT_AVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147216606i32 as _ ) ; pub const SCHED_E_SERVICE_NOT_INSTALLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147216628i32 as _ ) ; pub const SCHED_E_SERVICE_NOT_LOCALSYSTEM : i32 = 6200i32 ; pub const SCHED_E_SERVICE_NOT_RUNNING : :: windows :: HRESULT = :: windows :: HRESULT ( -2147216619i32 as _ ) ; pub const SCHED_E_SERVICE_TOO_BUSY : :: windows :: HRESULT = :: windows :: HRESULT ( -2147216605i32 as _ ) ; pub const SCHED_E_START_ON_DEMAND : :: windows :: HRESULT = :: windows :: HRESULT ( -2147216600i32 as _ ) ; pub const SCHED_E_TASK_ATTEMPTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147216604i32 as _ ) ; pub const SCHED_E_TASK_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147216602i32 as _ ) ; pub const SCHED_E_TASK_NOT_READY : :: windows :: HRESULT = :: windows :: HRESULT ( -2147216630i32 as _ ) ; pub const SCHED_E_TASK_NOT_RUNNING : :: windows :: HRESULT = :: windows :: HRESULT ( -2147216629i32 as _ ) ; pub const SCHED_E_TASK_NOT_UBPM_COMPAT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147216599i32 as _ ) ; pub const SCHED_E_TASK_NOT_V1_COMPAT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147216601i32 as _ ) ; pub const SCHED_E_TOO_MANY_NODES : :: windows :: HRESULT = :: windows :: HRESULT ( -2147216611i32 as _ ) ; pub const SCHED_E_TRIGGER_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2147216631i32 as _ ) ; pub const SCHED_E_UNEXPECTEDNODE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147216618i32 as _ ) ; pub const SCHED_E_UNKNOWN_OBJECT_VERSION : :: windows :: HRESULT = :: windows :: HRESULT ( -2147216621i32 as _ ) ; pub const SCHED_E_UNSUPPORTED_ACCOUNT_OPTION : :: windows :: HRESULT = :: windows :: HRESULT ( -2147216620i32 as _ ) ; pub const SCHED_E_USER_NOT_LOGGED_ON : :: windows :: HRESULT = :: windows :: HRESULT ( -2147216608i32 as _ ) ; pub const SCHED_S_BATCH_LOGON_PROBLEM : :: windows :: HRESULT = :: windows :: HRESULT ( 267036i32 as _ ) ; pub const SCHED_S_EVENT_TRIGGER : :: windows :: HRESULT = :: windows :: HRESULT ( 267016i32 as _ ) ; pub const SCHED_S_SOME_TRIGGERS_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( 267035i32 as _ ) ; pub const SCHED_S_TASK_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( 267010i32 as _ ) ; pub const SCHED_S_TASK_HAS_NOT_RUN : :: windows :: HRESULT = :: windows :: HRESULT ( 267011i32 as _ ) ; pub const SCHED_S_TASK_NOT_SCHEDULED : :: windows :: HRESULT = :: windows :: HRESULT ( 267013i32 as _ ) ; pub const SCHED_S_TASK_NO_MORE_RUNS : :: windows :: HRESULT = :: windows :: HRESULT ( 267012i32 as _ ) ; pub const SCHED_S_TASK_NO_VALID_TRIGGERS : :: windows :: HRESULT = :: windows :: HRESULT ( 267015i32 as _ ) ; pub const SCHED_S_TASK_QUEUED : :: windows :: HRESULT = :: windows :: HRESULT ( 267045i32 as _ ) ; pub const SCHED_S_TASK_READY : :: windows :: HRESULT = :: windows :: HRESULT ( 267008i32 as _ ) ; pub const SCHED_S_TASK_RUNNING : :: windows :: HRESULT = :: windows :: HRESULT ( 267009i32 as _ ) ; pub const SCHED_S_TASK_TERMINATED : :: windows :: HRESULT = :: windows :: HRESULT ( 267014i32 as _ ) ; pub const SDIAG_E_CANCELLED : i32 = -2143551232i32 ; pub const SDIAG_E_CANNOTRUN : i32 = -2143551224i32 ; pub const SDIAG_E_DISABLED : i32 = -2143551226i32 ; pub const SDIAG_E_MANAGEDHOST : i32 = -2143551229i32 ; pub const SDIAG_E_NOVERIFIER : i32 = -2143551228i32 ; pub const SDIAG_E_POWERSHELL : i32 = -2143551230i32 ; pub const SDIAG_E_RESOURCE : i32 = -2143551222i32 ; pub const SDIAG_E_ROOTCAUSE : i32 = -2143551221i32 ; pub const SDIAG_E_SCRIPT : i32 = -2143551231i32 ; pub const SDIAG_E_TRUST : i32 = -2143551225i32 ; pub const SDIAG_E_VERSION : i32 = -2143551223i32 ; pub const SDIAG_S_CANNOTRUN : i32 = 3932421i32 ; pub const SEC_E_ALGORITHM_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893007i32 as _ ) ; pub const SEC_E_APPLICATION_PROTOCOL_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892953i32 as _ ) ; pub const SEC_E_BAD_BINDINGS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892986i32 as _ ) ; pub const SEC_E_BAD_PKGID : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893034i32 as _ ) ; pub const SEC_E_BUFFER_TOO_SMALL : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893023i32 as _ ) ; pub const SEC_E_CANNOT_INSTALL : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893049i32 as _ ) ; pub const SEC_E_CANNOT_PACK : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893047i32 as _ ) ; pub const SEC_E_CERT_EXPIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893016i32 as _ ) ; pub const SEC_E_CERT_UNKNOWN : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893017i32 as _ ) ; pub const SEC_E_CERT_WRONG_USAGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892983i32 as _ ) ; pub const SEC_E_CONTEXT_EXPIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893033i32 as _ ) ; pub const SEC_E_CROSSREALM_DELEGATION_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892969i32 as _ ) ; pub const SEC_E_CRYPTO_SYSTEM_INVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893001i32 as _ ) ; pub const SEC_E_DECRYPT_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893008i32 as _ ) ; pub const SEC_E_DELEGATION_POLICY : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892962i32 as _ ) ; pub const SEC_E_DELEGATION_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892987i32 as _ ) ; pub const SEC_E_DOWNGRADE_DETECTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892976i32 as _ ) ; pub const SEC_E_ENCRYPT_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893015i32 as _ ) ; pub const SEC_E_EXT_BUFFER_TOO_SMALL : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892950i32 as _ ) ; pub const SEC_E_ILLEGAL_MESSAGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893018i32 as _ ) ; pub const SEC_E_INCOMPLETE_CREDENTIALS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893024i32 as _ ) ; pub const SEC_E_INCOMPLETE_MESSAGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893032i32 as _ ) ; pub const SEC_E_INSUFFICIENT_BUFFERS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892949i32 as _ ) ; pub const SEC_E_INSUFFICIENT_MEMORY : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893056i32 as _ ) ; pub const SEC_E_INTERNAL_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893052i32 as _ ) ; pub const SEC_E_INVALID_HANDLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893055i32 as _ ) ; pub const SEC_E_INVALID_PARAMETER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892963i32 as _ ) ; pub const SEC_E_INVALID_TOKEN : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893048i32 as _ ) ; pub const SEC_E_INVALID_UPN_NAME : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892951i32 as _ ) ; pub const SEC_E_ISSUING_CA_UNTRUSTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892974i32 as _ ) ; pub const SEC_E_ISSUING_CA_UNTRUSTED_KDC : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892967i32 as _ ) ; pub const SEC_E_KDC_CERT_EXPIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892966i32 as _ ) ; pub const SEC_E_KDC_CERT_REVOKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892965i32 as _ ) ; pub const SEC_E_KDC_INVALID_REQUEST : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892992i32 as _ ) ; pub const SEC_E_KDC_UNABLE_TO_REFER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892991i32 as _ ) ; pub const SEC_E_KDC_UNKNOWN_ETYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892990i32 as _ ) ; pub const SEC_E_LOGON_DENIED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893044i32 as _ ) ; pub const SEC_E_MAX_REFERRALS_EXCEEDED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893000i32 as _ ) ; pub const SEC_E_MESSAGE_ALTERED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893041i32 as _ ) ; pub const SEC_E_MULTIPLE_ACCOUNTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892985i32 as _ ) ; pub const SEC_E_MUST_BE_KDC : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892999i32 as _ ) ; pub const SEC_E_MUTUAL_AUTH_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892957i32 as _ ) ; pub const SEC_E_NOT_OWNER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893050i32 as _ ) ; pub const SEC_E_NO_AUTHENTICATING_AUTHORITY : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893039i32 as _ ) ; pub const SEC_E_NO_CONTEXT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892959i32 as _ ) ; pub const SEC_E_NO_CREDENTIALS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893042i32 as _ ) ; pub const SEC_E_NO_IMPERSONATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893045i32 as _ ) ; pub const SEC_E_NO_IP_ADDRESSES : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893003i32 as _ ) ; pub const SEC_E_NO_KERB_KEY : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892984i32 as _ ) ; pub const SEC_E_NO_PA_DATA : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892996i32 as _ ) ; pub const SEC_E_NO_S4U_PROT_SUPPORT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892970i32 as _ ) ; pub const SEC_E_NO_TGT_REPLY : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893004i32 as _ ) ; pub const SEC_E_OK : :: windows :: HRESULT = :: windows :: HRESULT ( 0i32 as _ ) ; pub const SEC_E_ONLY_HTTPS_ALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892955i32 as _ ) ; pub const SEC_E_OUT_OF_SEQUENCE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893040i32 as _ ) ; pub const SEC_E_PKINIT_CLIENT_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892972i32 as _ ) ; pub const SEC_E_PKINIT_NAME_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892995i32 as _ ) ; pub const SEC_E_PKU2U_CERT_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892958i32 as _ ) ; pub const SEC_E_POLICY_NLTM_ONLY : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892961i32 as _ ) ; pub const SEC_E_QOP_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893046i32 as _ ) ; pub const SEC_E_REVOCATION_OFFLINE_C : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892973i32 as _ ) ; pub const SEC_E_REVOCATION_OFFLINE_KDC : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892968i32 as _ ) ; pub const SEC_E_SECPKG_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893051i32 as _ ) ; pub const SEC_E_SECURITY_QOS_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893006i32 as _ ) ; pub const SEC_E_SHUTDOWN_IN_PROGRESS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892993i32 as _ ) ; pub const SEC_E_SMARTCARD_CERT_EXPIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892971i32 as _ ) ; pub const SEC_E_SMARTCARD_CERT_REVOKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892975i32 as _ ) ; pub const SEC_E_SMARTCARD_LOGON_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892994i32 as _ ) ; pub const SEC_E_STRONG_CRYPTO_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892998i32 as _ ) ; pub const SEC_E_TARGET_UNKNOWN : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893053i32 as _ ) ; pub const SEC_E_TIME_SKEW : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893020i32 as _ ) ; pub const SEC_E_TOO_MANY_PRINCIPALS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892997i32 as _ ) ; pub const SEC_E_UNFINISHED_CONTEXT_DELETED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893005i32 as _ ) ; pub const SEC_E_UNKNOWN_CREDENTIALS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893043i32 as _ ) ; pub const SEC_E_UNSUPPORTED_FUNCTION : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893054i32 as _ ) ; pub const SEC_E_UNSUPPORTED_PREAUTH : :: windows :: HRESULT = :: windows :: HRESULT ( -2146892989i32 as _ ) ; pub const SEC_E_UNTRUSTED_ROOT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893019i32 as _ ) ; pub const SEC_E_WRONG_CREDENTIAL_HANDLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893002i32 as _ ) ; pub const SEC_E_WRONG_PRINCIPAL : :: windows :: HRESULT = :: windows :: HRESULT ( -2146893022i32 as _ ) ; pub const SEC_I_ASYNC_CALL_PENDING : :: windows :: HRESULT = :: windows :: HRESULT ( 590696i32 as _ ) ; pub const SEC_I_COMPLETE_AND_CONTINUE : :: windows :: HRESULT = :: windows :: HRESULT ( 590612i32 as _ ) ; pub const SEC_I_COMPLETE_NEEDED : :: windows :: HRESULT = :: windows :: HRESULT ( 590611i32 as _ ) ; pub const SEC_I_CONTEXT_EXPIRED : :: windows :: HRESULT = :: windows :: HRESULT ( 590615i32 as _ ) ; pub const SEC_I_CONTINUE_NEEDED : :: windows :: HRESULT = :: windows :: HRESULT ( 590610i32 as _ ) ; pub const SEC_I_CONTINUE_NEEDED_MESSAGE_OK : :: windows :: HRESULT = :: windows :: HRESULT ( 590694i32 as _ ) ; pub const SEC_I_GENERIC_EXTENSION_RECEIVED : :: windows :: HRESULT = :: windows :: HRESULT ( 590614i32 as _ ) ; pub const SEC_I_INCOMPLETE_CREDENTIALS : :: windows :: HRESULT = :: windows :: HRESULT ( 590624i32 as _ ) ; pub const SEC_I_LOCAL_LOGON : :: windows :: HRESULT = :: windows :: HRESULT ( 590613i32 as _ ) ; pub const SEC_I_MESSAGE_FRAGMENT : :: windows :: HRESULT = :: windows :: HRESULT ( 590692i32 as _ ) ; pub const SEC_I_NO_LSA_CONTEXT : :: windows :: HRESULT = :: windows :: HRESULT ( 590627i32 as _ ) ; pub const SEC_I_NO_RENEGOTIATION : :: windows :: HRESULT = :: windows :: HRESULT ( 590688i32 as _ ) ; pub const SEC_I_RENEGOTIATE : :: windows :: HRESULT = :: windows :: HRESULT ( 590625i32 as _ ) ; pub const SEC_I_SIGNATURE_NEEDED : :: windows :: HRESULT = :: windows :: HRESULT ( 590684i32 as _ ) ; pub const SEVERITY_ERROR : u32 = 1u32 ; pub const SEVERITY_SUCCESS : u32 = 0u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SIZE { pub cx : i32 , pub cy : i32 } impl SIZE { } impl :: std :: default :: Default for SIZE { fn default ( ) -> Self { Self { cx : 0 , cy : 0 } } } impl :: std :: fmt :: Debug for SIZE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SIZE" ) . field ( "cx" , & self . cx ) . field ( "cy" , & self . cy ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SIZE { fn eq ( & self , other : & Self ) -> bool { self . cx == other . cx && self . cy == other . cy } } impl :: std :: cmp :: Eq for SIZE { } unsafe impl :: windows :: Abi for SIZE { type Abi = Self ; type DefaultType = Self ; } pub const SPAPI_E_AUTHENTICODE_DISALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500032i32 as _ ) ; pub const SPAPI_E_AUTHENTICODE_PUBLISHER_NOT_TRUSTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500029i32 as _ ) ; pub const SPAPI_E_AUTHENTICODE_TRUSTED_PUBLISHER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500031i32 as _ ) ; pub const SPAPI_E_AUTHENTICODE_TRUST_NOT_ESTABLISHED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500030i32 as _ ) ; pub const SPAPI_E_BAD_INTERFACE_INSTALLSECT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500067i32 as _ ) ; pub const SPAPI_E_BAD_SECTION_NAME_LINE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500607i32 as _ ) ; pub const SPAPI_E_BAD_SERVICE_INSTALLSECT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500073i32 as _ ) ; pub const SPAPI_E_CANT_LOAD_CLASS_ICON : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500084i32 as _ ) ; pub const SPAPI_E_CANT_REMOVE_DEVINST : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500046i32 as _ ) ; pub const SPAPI_E_CLASS_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500095i32 as _ ) ; pub const SPAPI_E_DEVICE_INSTALLER_NOT_READY : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500026i32 as _ ) ; pub const SPAPI_E_DEVICE_INSTALL_BLOCKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500024i32 as _ ) ; pub const SPAPI_E_DEVICE_INTERFACE_ACTIVE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500069i32 as _ ) ; pub const SPAPI_E_DEVICE_INTERFACE_REMOVED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500068i32 as _ ) ; pub const SPAPI_E_DEVINFO_DATA_LOCKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500077i32 as _ ) ; pub const SPAPI_E_DEVINFO_LIST_LOCKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500078i32 as _ ) ; pub const SPAPI_E_DEVINFO_NOT_REGISTERED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500088i32 as _ ) ; pub const SPAPI_E_DEVINSTALL_QUEUE_NONNATIVE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500048i32 as _ ) ; pub const SPAPI_E_DEVINST_ALREADY_EXISTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500089i32 as _ ) ; pub const SPAPI_E_DI_BAD_PATH : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500076i32 as _ ) ; pub const SPAPI_E_DI_DONT_INSTALL : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500053i32 as _ ) ; pub const SPAPI_E_DI_DO_DEFAULT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500082i32 as _ ) ; pub const SPAPI_E_DI_FUNCTION_OBSOLETE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500034i32 as _ ) ; pub const SPAPI_E_DI_NOFILECOPY : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500081i32 as _ ) ; pub const SPAPI_E_DI_POSTPROCESSING_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500058i32 as _ ) ; pub const SPAPI_E_DRIVER_INSTALL_BLOCKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500023i32 as _ ) ; pub const SPAPI_E_DRIVER_NONNATIVE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500044i32 as _ ) ; pub const SPAPI_E_DRIVER_STORE_ADD_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500025i32 as _ ) ; pub const SPAPI_E_DRIVER_STORE_DELETE_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500020i32 as _ ) ; pub const SPAPI_E_DUPLICATE_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500094i32 as _ ) ; pub const SPAPI_E_ERROR_NOT_INSTALLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146496512i32 as _ ) ; pub const SPAPI_E_EXPECTED_SECTION_NAME : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500608i32 as _ ) ; pub const SPAPI_E_FILEQUEUE_LOCKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500074i32 as _ ) ; pub const SPAPI_E_FILE_HASH_NOT_IN_CATALOG : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500021i32 as _ ) ; pub const SPAPI_E_GENERAL_SYNTAX : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500605i32 as _ ) ; pub const SPAPI_E_INCORRECTLY_COPIED_INF : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500041i32 as _ ) ; pub const SPAPI_E_INF_IN_USE_BY_DEVICES : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500035i32 as _ ) ; pub const SPAPI_E_INVALID_CLASS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500090i32 as _ ) ; pub const SPAPI_E_INVALID_CLASS_INSTALLER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500083i32 as _ ) ; pub const SPAPI_E_INVALID_COINSTALLER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500057i32 as _ ) ; pub const SPAPI_E_INVALID_DEVINST_NAME : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500091i32 as _ ) ; pub const SPAPI_E_INVALID_FILTER_DRIVER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500052i32 as _ ) ; pub const SPAPI_E_INVALID_HWPROFILE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500080i32 as _ ) ; pub const SPAPI_E_INVALID_INF_LOGCONFIG : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500054i32 as _ ) ; pub const SPAPI_E_INVALID_MACHINENAME : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500064i32 as _ ) ; pub const SPAPI_E_INVALID_PROPPAGE_PROVIDER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500060i32 as _ ) ; pub const SPAPI_E_INVALID_REFERENCE_STRING : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500065i32 as _ ) ; pub const SPAPI_E_INVALID_REG_PROPERTY : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500087i32 as _ ) ; pub const SPAPI_E_INVALID_TARGET : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500045i32 as _ ) ; pub const SPAPI_E_IN_WOW64 : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500043i32 as _ ) ; pub const SPAPI_E_KEY_DOES_NOT_EXIST : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500092i32 as _ ) ; pub const SPAPI_E_LINE_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500350i32 as _ ) ; pub const SPAPI_E_MACHINE_UNAVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500062i32 as _ ) ; pub const SPAPI_E_NON_WINDOWS_DRIVER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500050i32 as _ ) ; pub const SPAPI_E_NON_WINDOWS_NT_DRIVER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500051i32 as _ ) ; pub const SPAPI_E_NOT_AN_INSTALLED_OEM_INF : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500036i32 as _ ) ; pub const SPAPI_E_NOT_DISABLEABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500047i32 as _ ) ; pub const SPAPI_E_NO_ASSOCIATED_CLASS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500096i32 as _ ) ; pub const SPAPI_E_NO_ASSOCIATED_SERVICE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500071i32 as _ ) ; pub const SPAPI_E_NO_AUTHENTICODE_CATALOG : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500033i32 as _ ) ; pub const SPAPI_E_NO_BACKUP : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500349i32 as _ ) ; pub const SPAPI_E_NO_CATALOG_FOR_OEM_INF : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500049i32 as _ ) ; pub const SPAPI_E_NO_CLASSINSTALL_PARAMS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500075i32 as _ ) ; pub const SPAPI_E_NO_CLASS_DRIVER_LIST : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500072i32 as _ ) ; pub const SPAPI_E_NO_COMPAT_DRIVERS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500056i32 as _ ) ; pub const SPAPI_E_NO_CONFIGMGR_SERVICES : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500061i32 as _ ) ; pub const SPAPI_E_NO_DEFAULT_DEVICE_INTERFACE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500070i32 as _ ) ; pub const SPAPI_E_NO_DEVICE_ICON : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500055i32 as _ ) ; pub const SPAPI_E_NO_DEVICE_SELECTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500079i32 as _ ) ; pub const SPAPI_E_NO_DRIVER_SELECTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500093i32 as _ ) ; pub const SPAPI_E_NO_INF : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500086i32 as _ ) ; pub const SPAPI_E_NO_SUCH_DEVICE_INTERFACE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500059i32 as _ ) ; pub const SPAPI_E_NO_SUCH_DEVINST : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500085i32 as _ ) ; pub const SPAPI_E_NO_SUCH_INTERFACE_CLASS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500066i32 as _ ) ; pub const SPAPI_E_ONLY_VALIDATE_VIA_AUTHENTICODE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500027i32 as _ ) ; pub const SPAPI_E_PNP_REGISTRY_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500038i32 as _ ) ; pub const SPAPI_E_REMOTE_COMM_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500063i32 as _ ) ; pub const SPAPI_E_REMOTE_REQUEST_UNSUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500037i32 as _ ) ; pub const SPAPI_E_SCE_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500040i32 as _ ) ; pub const SPAPI_E_SECTION_NAME_TOO_LONG : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500606i32 as _ ) ; pub const SPAPI_E_SECTION_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500351i32 as _ ) ; pub const SPAPI_E_SET_SYSTEM_RESTORE_POINT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500042i32 as _ ) ; pub const SPAPI_E_SIGNATURE_OSATTRIBUTE_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500028i32 as _ ) ; pub const SPAPI_E_UNKNOWN_EXCEPTION : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500039i32 as _ ) ; pub const SPAPI_E_UNRECOVERABLE_STACK_OVERFLOW : :: windows :: HRESULT = :: windows :: HRESULT ( -2146499840i32 as _ ) ; pub const SPAPI_E_WRONG_INF_STYLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500352i32 as _ ) ; pub const SPAPI_E_WRONG_INF_TYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146500022i32 as _ ) ; pub const SQLITE_E_ABORT : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574332i32 as _ ) ; pub const SQLITE_E_ABORT_ROLLBACK : :: windows :: HRESULT = :: windows :: HRESULT ( -2018573820i32 as _ ) ; pub const SQLITE_E_AUTH : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574313i32 as _ ) ; pub const SQLITE_E_BUSY : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574331i32 as _ ) ; pub const SQLITE_E_BUSY_RECOVERY : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574075i32 as _ ) ; pub const SQLITE_E_BUSY_SNAPSHOT : :: windows :: HRESULT = :: windows :: HRESULT ( -2018573819i32 as _ ) ; pub const SQLITE_E_CANTOPEN : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574322i32 as _ ) ; pub const SQLITE_E_CANTOPEN_CONVPATH : :: windows :: HRESULT = :: windows :: HRESULT ( -2018573298i32 as _ ) ; pub const SQLITE_E_CANTOPEN_FULLPATH : :: windows :: HRESULT = :: windows :: HRESULT ( -2018573554i32 as _ ) ; pub const SQLITE_E_CANTOPEN_ISDIR : :: windows :: HRESULT = :: windows :: HRESULT ( -2018573810i32 as _ ) ; pub const SQLITE_E_CANTOPEN_NOTEMPDIR : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574066i32 as _ ) ; pub const SQLITE_E_CONSTRAINT : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574317i32 as _ ) ; pub const SQLITE_E_CONSTRAINT_CHECK : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574061i32 as _ ) ; pub const SQLITE_E_CONSTRAINT_COMMITHOOK : :: windows :: HRESULT = :: windows :: HRESULT ( -2018573805i32 as _ ) ; pub const SQLITE_E_CONSTRAINT_FOREIGNKEY : :: windows :: HRESULT = :: windows :: HRESULT ( -2018573549i32 as _ ) ; pub const SQLITE_E_CONSTRAINT_FUNCTION : :: windows :: HRESULT = :: windows :: HRESULT ( -2018573293i32 as _ ) ; pub const SQLITE_E_CONSTRAINT_NOTNULL : :: windows :: HRESULT = :: windows :: HRESULT ( -2018573037i32 as _ ) ; pub const SQLITE_E_CONSTRAINT_PRIMARYKEY : :: windows :: HRESULT = :: windows :: HRESULT ( -2018572781i32 as _ ) ; pub const SQLITE_E_CONSTRAINT_ROWID : :: windows :: HRESULT = :: windows :: HRESULT ( -2018571757i32 as _ ) ; pub const SQLITE_E_CONSTRAINT_TRIGGER : :: windows :: HRESULT = :: windows :: HRESULT ( -2018572525i32 as _ ) ; pub const SQLITE_E_CONSTRAINT_UNIQUE : :: windows :: HRESULT = :: windows :: HRESULT ( -2018572269i32 as _ ) ; pub const SQLITE_E_CONSTRAINT_VTAB : :: windows :: HRESULT = :: windows :: HRESULT ( -2018572013i32 as _ ) ; pub const SQLITE_E_CORRUPT : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574325i32 as _ ) ; pub const SQLITE_E_CORRUPT_VTAB : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574069i32 as _ ) ; pub const SQLITE_E_DONE : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574235i32 as _ ) ; pub const SQLITE_E_EMPTY : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574320i32 as _ ) ; pub const SQLITE_E_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574335i32 as _ ) ; pub const SQLITE_E_FORMAT : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574312i32 as _ ) ; pub const SQLITE_E_FULL : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574323i32 as _ ) ; pub const SQLITE_E_INTERNAL : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574334i32 as _ ) ; pub const SQLITE_E_INTERRUPT : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574327i32 as _ ) ; pub const SQLITE_E_IOERR : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574326i32 as _ ) ; pub const SQLITE_E_IOERR_ACCESS : :: windows :: HRESULT = :: windows :: HRESULT ( -2018570998i32 as _ ) ; pub const SQLITE_E_IOERR_AUTH : :: windows :: HRESULT = :: windows :: HRESULT ( -2018567677i32 as _ ) ; pub const SQLITE_E_IOERR_BLOCKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2018571510i32 as _ ) ; pub const SQLITE_E_IOERR_CHECKRESERVEDLOCK : :: windows :: HRESULT = :: windows :: HRESULT ( -2018570742i32 as _ ) ; pub const SQLITE_E_IOERR_CLOSE : :: windows :: HRESULT = :: windows :: HRESULT ( -2018570230i32 as _ ) ; pub const SQLITE_E_IOERR_CONVPATH : :: windows :: HRESULT = :: windows :: HRESULT ( -2018567670i32 as _ ) ; pub const SQLITE_E_IOERR_DELETE : :: windows :: HRESULT = :: windows :: HRESULT ( -2018571766i32 as _ ) ; pub const SQLITE_E_IOERR_DELETE_NOENT : :: windows :: HRESULT = :: windows :: HRESULT ( -2018568438i32 as _ ) ; pub const SQLITE_E_IOERR_DIR_CLOSE : :: windows :: HRESULT = :: windows :: HRESULT ( -2018569974i32 as _ ) ; pub const SQLITE_E_IOERR_DIR_FSYNC : :: windows :: HRESULT = :: windows :: HRESULT ( -2018573046i32 as _ ) ; pub const SQLITE_E_IOERR_FSTAT : :: windows :: HRESULT = :: windows :: HRESULT ( -2018572534i32 as _ ) ; pub const SQLITE_E_IOERR_FSYNC : :: windows :: HRESULT = :: windows :: HRESULT ( -2018573302i32 as _ ) ; pub const SQLITE_E_IOERR_GETTEMPPATH : :: windows :: HRESULT = :: windows :: HRESULT ( -2018567926i32 as _ ) ; pub const SQLITE_E_IOERR_LOCK : :: windows :: HRESULT = :: windows :: HRESULT ( -2018570486i32 as _ ) ; pub const SQLITE_E_IOERR_MMAP : :: windows :: HRESULT = :: windows :: HRESULT ( -2018568182i32 as _ ) ; pub const SQLITE_E_IOERR_NOMEM : :: windows :: HRESULT = :: windows :: HRESULT ( -2018571254i32 as _ ) ; pub const SQLITE_E_IOERR_RDLOCK : :: windows :: HRESULT = :: windows :: HRESULT ( -2018572022i32 as _ ) ; pub const SQLITE_E_IOERR_READ : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574070i32 as _ ) ; pub const SQLITE_E_IOERR_SEEK : :: windows :: HRESULT = :: windows :: HRESULT ( -2018568694i32 as _ ) ; pub const SQLITE_E_IOERR_SHMLOCK : :: windows :: HRESULT = :: windows :: HRESULT ( -2018569206i32 as _ ) ; pub const SQLITE_E_IOERR_SHMMAP : :: windows :: HRESULT = :: windows :: HRESULT ( -2018568950i32 as _ ) ; pub const SQLITE_E_IOERR_SHMOPEN : :: windows :: HRESULT = :: windows :: HRESULT ( -2018569718i32 as _ ) ; pub const SQLITE_E_IOERR_SHMSIZE : :: windows :: HRESULT = :: windows :: HRESULT ( -2018569462i32 as _ ) ; pub const SQLITE_E_IOERR_SHORT_READ : :: windows :: HRESULT = :: windows :: HRESULT ( -2018573814i32 as _ ) ; pub const SQLITE_E_IOERR_TRUNCATE : :: windows :: HRESULT = :: windows :: HRESULT ( -2018572790i32 as _ ) ; pub const SQLITE_E_IOERR_UNLOCK : :: windows :: HRESULT = :: windows :: HRESULT ( -2018572278i32 as _ ) ; pub const SQLITE_E_IOERR_VNODE : :: windows :: HRESULT = :: windows :: HRESULT ( -2018567678i32 as _ ) ; pub const SQLITE_E_IOERR_WRITE : :: windows :: HRESULT = :: windows :: HRESULT ( -2018573558i32 as _ ) ; pub const SQLITE_E_LOCKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574330i32 as _ ) ; pub const SQLITE_E_LOCKED_SHAREDCACHE : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574074i32 as _ ) ; pub const SQLITE_E_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574316i32 as _ ) ; pub const SQLITE_E_MISUSE : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574315i32 as _ ) ; pub const SQLITE_E_NOLFS : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574314i32 as _ ) ; pub const SQLITE_E_NOMEM : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574329i32 as _ ) ; pub const SQLITE_E_NOTADB : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574310i32 as _ ) ; pub const SQLITE_E_NOTFOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574324i32 as _ ) ; pub const SQLITE_E_NOTICE : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574309i32 as _ ) ; pub const SQLITE_E_NOTICE_RECOVER_ROLLBACK : :: windows :: HRESULT = :: windows :: HRESULT ( -2018573797i32 as _ ) ; pub const SQLITE_E_NOTICE_RECOVER_WAL : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574053i32 as _ ) ; pub const SQLITE_E_PERM : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574333i32 as _ ) ; pub const SQLITE_E_PROTOCOL : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574321i32 as _ ) ; pub const SQLITE_E_RANGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574311i32 as _ ) ; pub const SQLITE_E_READONLY : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574328i32 as _ ) ; pub const SQLITE_E_READONLY_CANTLOCK : :: windows :: HRESULT = :: windows :: HRESULT ( -2018573816i32 as _ ) ; pub const SQLITE_E_READONLY_DBMOVED : :: windows :: HRESULT = :: windows :: HRESULT ( -2018573304i32 as _ ) ; pub const SQLITE_E_READONLY_RECOVERY : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574072i32 as _ ) ; pub const SQLITE_E_READONLY_ROLLBACK : :: windows :: HRESULT = :: windows :: HRESULT ( -2018573560i32 as _ ) ; pub const SQLITE_E_ROW : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574236i32 as _ ) ; pub const SQLITE_E_SCHEMA : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574319i32 as _ ) ; pub const SQLITE_E_TOOBIG : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574318i32 as _ ) ; pub const SQLITE_E_WARNING : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574308i32 as _ ) ; pub const SQLITE_E_WARNING_AUTOINDEX : :: windows :: HRESULT = :: windows :: HRESULT ( -2018574052i32 as _ ) ; pub const STATEREPOSITORY_ERROR_CACHE_CORRUPTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140733422i32 as _ ) ; pub const STATEREPOSITORY_ERROR_DICTIONARY_CORRUPTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140733435i32 as _ ) ; pub const STATEREPOSITORY_E_BLOCKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140733434i32 as _ ) ; pub const STATEREPOSITORY_E_BUSY_RECOVERY_RETRY : :: windows :: HRESULT = :: windows :: HRESULT ( -2140733432i32 as _ ) ; pub const STATEREPOSITORY_E_BUSY_RECOVERY_TIMEOUT_EXCEEDED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140733427i32 as _ ) ; pub const STATEREPOSITORY_E_BUSY_RETRY : :: windows :: HRESULT = :: windows :: HRESULT ( -2140733433i32 as _ ) ; pub const STATEREPOSITORY_E_BUSY_TIMEOUT_EXCEEDED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140733428i32 as _ ) ; pub const STATEREPOSITORY_E_CONCURRENCY_LOCKING_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2140733439i32 as _ ) ; pub const STATEREPOSITORY_E_CONFIGURATION_INVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2140733437i32 as _ ) ; pub const STATEREPOSITORY_E_LOCKED_RETRY : :: windows :: HRESULT = :: windows :: HRESULT ( -2140733431i32 as _ ) ; pub const STATEREPOSITORY_E_LOCKED_SHAREDCACHE_RETRY : :: windows :: HRESULT = :: windows :: HRESULT ( -2140733430i32 as _ ) ; pub const STATEREPOSITORY_E_LOCKED_SHAREDCACHE_TIMEOUT_EXCEEDED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140733425i32 as _ ) ; pub const STATEREPOSITORY_E_LOCKED_TIMEOUT_EXCEEDED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140733426i32 as _ ) ; pub const STATEREPOSITORY_E_SERVICE_STOP_IN_PROGRESS : :: windows :: HRESULT = :: windows :: HRESULT ( -2140733424i32 as _ ) ; pub const STATEREPOSITORY_E_STATEMENT_INPROGRESS : :: windows :: HRESULT = :: windows :: HRESULT ( -2140733438i32 as _ ) ; pub const STATEREPOSITORY_E_TRANSACTION_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140733429i32 as _ ) ; pub const STATEREPOSITORY_E_UNKNOWN_SCHEMA_VERSION : :: windows :: HRESULT = :: windows :: HRESULT ( -2140733436i32 as _ ) ; pub const STATEREPOSITORY_TRANSACTION_CALLER_ID_CHANGED : :: windows :: HRESULT = :: windows :: HRESULT ( 6750227i32 as _ ) ; pub const STATEREPOSITORY_TRANSACTION_IN_PROGRESS : :: windows :: HRESULT = :: windows :: HRESULT ( 6750228i32 as _ ) ; pub const STATEREPOSTORY_E_NESTED_TRANSACTION_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2140733423i32 as _ ) ; pub const STATUS_ABANDONED : NTSTATUS = NTSTATUS ( 128i32 as _ ) ; pub const STATUS_ABANDONED_WAIT_0 : NTSTATUS = NTSTATUS ( 128i32 as _ ) ; pub const STATUS_ABANDONED_WAIT_63 : NTSTATUS = NTSTATUS ( 191i32 as _ ) ; pub const STATUS_ABANDON_HIBERFILE : NTSTATUS = NTSTATUS ( 1073741875i32 as _ ) ; pub const STATUS_ABIOS_INVALID_COMMAND : NTSTATUS = NTSTATUS ( -1073741549i32 as _ ) ; pub const STATUS_ABIOS_INVALID_LID : NTSTATUS = NTSTATUS ( -1073741548i32 as _ ) ; pub const STATUS_ABIOS_INVALID_SELECTOR : NTSTATUS = NTSTATUS ( -1073741546i32 as _ ) ; pub const STATUS_ABIOS_LID_ALREADY_OWNED : NTSTATUS = NTSTATUS ( -1073741551i32 as _ ) ; pub const STATUS_ABIOS_LID_NOT_EXIST : NTSTATUS = NTSTATUS ( -1073741552i32 as _ ) ; pub const STATUS_ABIOS_NOT_LID_OWNER : NTSTATUS = NTSTATUS ( -1073741550i32 as _ ) ; pub const STATUS_ABIOS_NOT_PRESENT : NTSTATUS = NTSTATUS ( -1073741553i32 as _ ) ; pub const STATUS_ABIOS_SELECTOR_NOT_AVAILABLE : NTSTATUS = NTSTATUS ( -1073741547i32 as _ ) ; pub const STATUS_ACCESS_AUDIT_BY_POLICY : NTSTATUS = NTSTATUS ( 1073741874i32 as _ ) ; pub const STATUS_ACCESS_DISABLED_BY_POLICY_DEFAULT : NTSTATUS = NTSTATUS ( -1073740959i32 as _ ) ; pub const STATUS_ACCESS_DISABLED_BY_POLICY_OTHER : NTSTATUS = NTSTATUS ( -1073740956i32 as _ ) ; pub const STATUS_ACCESS_DISABLED_BY_POLICY_PATH : NTSTATUS = NTSTATUS ( -1073740958i32 as _ ) ; pub const STATUS_ACCESS_DISABLED_BY_POLICY_PUBLISHER : NTSTATUS = NTSTATUS ( -1073740957i32 as _ ) ; pub const STATUS_ACCESS_DISABLED_NO_SAFER_UI_BY_POLICY : NTSTATUS = NTSTATUS ( -1073740942i32 as _ ) ; pub const STATUS_ACCESS_VIOLATION : NTSTATUS = NTSTATUS ( -1073741819i32 as _ ) ; pub const STATUS_ACPI_ACQUIRE_GLOBAL_LOCK : NTSTATUS = NTSTATUS ( -1072431086i32 as _ ) ; pub const STATUS_ACPI_ADDRESS_NOT_MAPPED : NTSTATUS = NTSTATUS ( -1072431092i32 as _ ) ; pub const STATUS_ACPI_ALREADY_INITIALIZED : NTSTATUS = NTSTATUS ( -1072431085i32 as _ ) ; pub const STATUS_ACPI_ASSERT_FAILED : NTSTATUS = NTSTATUS ( -1072431101i32 as _ ) ; pub const STATUS_ACPI_FATAL : NTSTATUS = NTSTATUS ( -1072431098i32 as _ ) ; pub const STATUS_ACPI_HANDLER_COLLISION : NTSTATUS = NTSTATUS ( -1072431090i32 as _ ) ; pub const STATUS_ACPI_INCORRECT_ARGUMENT_COUNT : NTSTATUS = NTSTATUS ( -1072431093i32 as _ ) ; pub const STATUS_ACPI_INVALID_ACCESS_SIZE : NTSTATUS = NTSTATUS ( -1072431087i32 as _ ) ; pub const STATUS_ACPI_INVALID_ARGTYPE : NTSTATUS = NTSTATUS ( -1072431096i32 as _ ) ; pub const STATUS_ACPI_INVALID_ARGUMENT : NTSTATUS = NTSTATUS ( -1072431099i32 as _ ) ; pub const STATUS_ACPI_INVALID_DATA : NTSTATUS = NTSTATUS ( -1072431089i32 as _ ) ; pub const STATUS_ACPI_INVALID_EVENTTYPE : NTSTATUS = NTSTATUS ( -1072431091i32 as _ ) ; pub const STATUS_ACPI_INVALID_INDEX : NTSTATUS = NTSTATUS ( -1072431100i32 as _ ) ; pub const STATUS_ACPI_INVALID_MUTEX_LEVEL : NTSTATUS = NTSTATUS ( -1072431083i32 as _ ) ; pub const STATUS_ACPI_INVALID_OBJTYPE : NTSTATUS = NTSTATUS ( -1072431095i32 as _ ) ; pub const STATUS_ACPI_INVALID_OPCODE : NTSTATUS = NTSTATUS ( -1072431103i32 as _ ) ; pub const STATUS_ACPI_INVALID_REGION : NTSTATUS = NTSTATUS ( -1072431088i32 as _ ) ; pub const STATUS_ACPI_INVALID_SUPERNAME : NTSTATUS = NTSTATUS ( -1072431097i32 as _ ) ; pub const STATUS_ACPI_INVALID_TABLE : NTSTATUS = NTSTATUS ( -1072431079i32 as _ ) ; pub const STATUS_ACPI_INVALID_TARGETTYPE : NTSTATUS = NTSTATUS ( -1072431094i32 as _ ) ; pub const STATUS_ACPI_MUTEX_NOT_OWNED : NTSTATUS = NTSTATUS ( -1072431082i32 as _ ) ; pub const STATUS_ACPI_MUTEX_NOT_OWNER : NTSTATUS = NTSTATUS ( -1072431081i32 as _ ) ; pub const STATUS_ACPI_NOT_INITIALIZED : NTSTATUS = NTSTATUS ( -1072431084i32 as _ ) ; pub const STATUS_ACPI_POWER_REQUEST_FAILED : NTSTATUS = NTSTATUS ( -1072431071i32 as _ ) ; pub const STATUS_ACPI_REG_HANDLER_FAILED : NTSTATUS = NTSTATUS ( -1072431072i32 as _ ) ; pub const STATUS_ACPI_RS_ACCESS : NTSTATUS = NTSTATUS ( -1072431080i32 as _ ) ; pub const STATUS_ACPI_STACK_OVERFLOW : NTSTATUS = NTSTATUS ( -1072431102i32 as _ ) ; pub const STATUS_ADAPTER_HARDWARE_ERROR : NTSTATUS = NTSTATUS ( -1073741630i32 as _ ) ; pub const STATUS_ADDRESS_ALREADY_ASSOCIATED : NTSTATUS = NTSTATUS ( -1073741256i32 as _ ) ; pub const STATUS_ADDRESS_ALREADY_EXISTS : NTSTATUS = NTSTATUS ( -1073741302i32 as _ ) ; pub const STATUS_ADDRESS_CLOSED : NTSTATUS = NTSTATUS ( -1073741301i32 as _ ) ; pub const STATUS_ADDRESS_NOT_ASSOCIATED : NTSTATUS = NTSTATUS ( -1073741255i32 as _ ) ; pub const STATUS_ADMINLESS_ACCESS_DENIED : NTSTATUS = NTSTATUS ( -1073700348i32 as _ ) ; pub const STATUS_ADVANCED_INSTALLER_FAILED : NTSTATUS = NTSTATUS ( -1072365536i32 as _ ) ; pub const STATUS_AGENTS_EXHAUSTED : NTSTATUS = NTSTATUS ( -1073741691i32 as _ ) ; pub const STATUS_ALERTED : NTSTATUS = NTSTATUS ( 257i32 as _ ) ; pub const STATUS_ALIAS_EXISTS : NTSTATUS = NTSTATUS ( -1073741484i32 as _ ) ; pub const STATUS_ALLOCATE_BUCKET : NTSTATUS = NTSTATUS ( -1073741265i32 as _ ) ; pub const STATUS_ALLOTTED_SPACE_EXCEEDED : NTSTATUS = NTSTATUS ( -1073741671i32 as _ ) ; pub const STATUS_ALL_SIDS_FILTERED : NTSTATUS = NTSTATUS ( -1073740962i32 as _ ) ; pub const STATUS_ALL_USER_TRUST_QUOTA_EXCEEDED : NTSTATUS = NTSTATUS ( -1073740798i32 as _ ) ; pub const STATUS_ALPC_CHECK_COMPLETION_LIST : NTSTATUS = NTSTATUS ( 1073741872i32 as _ ) ; pub const STATUS_ALREADY_COMMITTED : NTSTATUS = NTSTATUS ( -1073741791i32 as _ ) ; pub const STATUS_ALREADY_COMPLETE : NTSTATUS = NTSTATUS ( 255i32 as _ ) ; pub const STATUS_ALREADY_DISCONNECTED : NTSTATUS = NTSTATUS ( -2147483611i32 as _ ) ; pub const STATUS_ALREADY_HAS_STREAM_ID : NTSTATUS = NTSTATUS ( -1073740530i32 as _ ) ; pub const STATUS_ALREADY_INITIALIZED : NTSTATUS = NTSTATUS ( -1073740528i32 as _ ) ; pub const STATUS_ALREADY_REGISTERED : NTSTATUS = NTSTATUS ( -1073740008i32 as _ ) ; pub const STATUS_ALREADY_WIN32 : NTSTATUS = NTSTATUS ( 1073741851i32 as _ ) ; pub const STATUS_AMBIGUOUS_SYSTEM_DEVICE : NTSTATUS = NTSTATUS ( -1073740719i32 as _ ) ; pub const STATUS_APC_RETURNED_WHILE_IMPERSONATING : NTSTATUS = NTSTATUS ( -1073740015i32 as _ ) ; pub const STATUS_APISET_NOT_HOSTED : NTSTATUS = NTSTATUS ( -1073740671i32 as _ ) ; pub const STATUS_APISET_NOT_PRESENT : NTSTATUS = NTSTATUS ( -1073740670i32 as _ ) ; pub const STATUS_APPEXEC_CONDITION_NOT_SATISFIED : NTSTATUS = NTSTATUS ( -1058275328i32 as _ ) ; pub const STATUS_APPEXEC_HANDLE_INVALIDATED : NTSTATUS = NTSTATUS ( -1058275327i32 as _ ) ; pub const STATUS_APPEXEC_HOST_ID_MISMATCH : NTSTATUS = NTSTATUS ( -1058275322i32 as _ ) ; pub const STATUS_APPEXEC_INVALID_HOST_GENERATION : NTSTATUS = NTSTATUS ( -1058275326i32 as _ ) ; pub const STATUS_APPEXEC_INVALID_HOST_STATE : NTSTATUS = NTSTATUS ( -1058275324i32 as _ ) ; pub const STATUS_APPEXEC_NO_DONOR : NTSTATUS = NTSTATUS ( -1058275323i32 as _ ) ; pub const STATUS_APPEXEC_UNEXPECTED_PROCESS_REGISTRATION : NTSTATUS = NTSTATUS ( -1058275325i32 as _ ) ; pub const STATUS_APPEXEC_UNKNOWN_USER : NTSTATUS = NTSTATUS ( -1058275321i32 as _ ) ; pub const STATUS_APPHELP_BLOCK : NTSTATUS = NTSTATUS ( -1073740963i32 as _ ) ; pub const STATUS_APPX_FILE_NOT_ENCRYPTED : NTSTATUS = NTSTATUS ( -1073740634i32 as _ ) ; pub const STATUS_APPX_INTEGRITY_FAILURE_CLR_NGEN : NTSTATUS = NTSTATUS ( -1073740673i32 as _ ) ; pub const STATUS_APP_DATA_CORRUPT : NTSTATUS = NTSTATUS ( -1073700221i32 as _ ) ; pub const STATUS_APP_DATA_EXPIRED : NTSTATUS = NTSTATUS ( -1073700222i32 as _ ) ; pub const STATUS_APP_DATA_LIMIT_EXCEEDED : NTSTATUS = NTSTATUS ( -1073700220i32 as _ ) ; pub const STATUS_APP_DATA_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073700223i32 as _ ) ; pub const STATUS_APP_DATA_REBOOT_REQUIRED : NTSTATUS = NTSTATUS ( -1073700219i32 as _ ) ; pub const STATUS_APP_INIT_FAILURE : NTSTATUS = NTSTATUS ( -1073741499i32 as _ ) ; pub const STATUS_ARBITRATION_UNHANDLED : NTSTATUS = NTSTATUS ( 1073741862i32 as _ ) ; pub const STATUS_ARRAY_BOUNDS_EXCEEDED : NTSTATUS = NTSTATUS ( -1073741684i32 as _ ) ; pub const STATUS_ASSERTION_FAILURE : NTSTATUS = NTSTATUS ( -1073740768i32 as _ ) ; pub const STATUS_ATTACHED_EXECUTABLE_MEMORY_WRITE : NTSTATUS = NTSTATUS ( -1073739995i32 as _ ) ; pub const STATUS_ATTRIBUTE_NOT_PRESENT : NTSTATUS = NTSTATUS ( -1073740532i32 as _ ) ; pub const STATUS_AUDIO_ENGINE_NODE_NOT_FOUND : NTSTATUS = NTSTATUS ( -1069285375i32 as _ ) ; pub const STATUS_AUDITING_DISABLED : NTSTATUS = NTSTATUS ( -1073740970i32 as _ ) ; pub const STATUS_AUDIT_FAILED : NTSTATUS = NTSTATUS ( -1073741244i32 as _ ) ; pub const STATUS_AUTHIP_FAILURE : NTSTATUS = NTSTATUS ( -1073700730i32 as _ ) ; pub const STATUS_AUTH_TAG_MISMATCH : NTSTATUS = NTSTATUS ( -1073700862i32 as _ ) ; pub const STATUS_BACKUP_CONTROLLER : NTSTATUS = NTSTATUS ( -1073741433i32 as _ ) ; pub const STATUS_BAD_BINDINGS : NTSTATUS = NTSTATUS ( -1073740965i32 as _ ) ; pub const STATUS_BAD_CLUSTERS : NTSTATUS = NTSTATUS ( -1073739771i32 as _ ) ; pub const STATUS_BAD_COMPRESSION_BUFFER : NTSTATUS = NTSTATUS ( -1073741246i32 as _ ) ; pub const STATUS_BAD_CURRENT_DIRECTORY : NTSTATUS = NTSTATUS ( 1073741831i32 as _ ) ; pub const STATUS_BAD_DATA : NTSTATUS = NTSTATUS ( -1073739509i32 as _ ) ; pub const STATUS_BAD_DESCRIPTOR_FORMAT : NTSTATUS = NTSTATUS ( -1073741593i32 as _ ) ; pub const STATUS_BAD_DEVICE_TYPE : NTSTATUS = NTSTATUS ( -1073741621i32 as _ ) ; pub const STATUS_BAD_DLL_ENTRYPOINT : NTSTATUS = NTSTATUS ( -1073741231i32 as _ ) ; pub const STATUS_BAD_FILE_TYPE : NTSTATUS = NTSTATUS ( -1073739517i32 as _ ) ; pub const STATUS_BAD_FUNCTION_TABLE : NTSTATUS = NTSTATUS ( -1073741569i32 as _ ) ; pub const STATUS_BAD_IMPERSONATION_LEVEL : NTSTATUS = NTSTATUS ( -1073741659i32 as _ ) ; pub const STATUS_BAD_INHERITANCE_ACL : NTSTATUS = NTSTATUS ( -1073741699i32 as _ ) ; pub const STATUS_BAD_INITIAL_PC : NTSTATUS = NTSTATUS ( -1073741814i32 as _ ) ; pub const STATUS_BAD_INITIAL_STACK : NTSTATUS = NTSTATUS ( -1073741815i32 as _ ) ; pub const STATUS_BAD_KEY : NTSTATUS = NTSTATUS ( -1073739510i32 as _ ) ; pub const STATUS_BAD_LOGON_SESSION_STATE : NTSTATUS = NTSTATUS ( -1073741564i32 as _ ) ; pub const STATUS_BAD_MASTER_BOOT_RECORD : NTSTATUS = NTSTATUS ( -1073741655i32 as _ ) ; pub const STATUS_BAD_MCFG_TABLE : NTSTATUS = NTSTATUS ( -1073739512i32 as _ ) ; pub const STATUS_BAD_NETWORK_NAME : NTSTATUS = NTSTATUS ( -1073741620i32 as _ ) ; pub const STATUS_BAD_NETWORK_PATH : NTSTATUS = NTSTATUS ( -1073741634i32 as _ ) ; pub const STATUS_BAD_REMOTE_ADAPTER : NTSTATUS = NTSTATUS ( -1073741627i32 as _ ) ; pub const STATUS_BAD_SERVICE_ENTRYPOINT : NTSTATUS = NTSTATUS ( -1073741230i32 as _ ) ; pub const STATUS_BAD_STACK : NTSTATUS = NTSTATUS ( -1073741784i32 as _ ) ; pub const STATUS_BAD_TOKEN_TYPE : NTSTATUS = NTSTATUS ( -1073741656i32 as _ ) ; pub const STATUS_BAD_VALIDATION_CLASS : NTSTATUS = NTSTATUS ( -1073741657i32 as _ ) ; pub const STATUS_BAD_WORKING_SET_LIMIT : NTSTATUS = NTSTATUS ( -1073741748i32 as _ ) ; pub const STATUS_BCD_NOT_ALL_ENTRIES_IMPORTED : NTSTATUS = NTSTATUS ( -2143748095i32 as _ ) ; pub const STATUS_BCD_NOT_ALL_ENTRIES_SYNCHRONIZED : NTSTATUS = NTSTATUS ( -2143748093i32 as _ ) ; pub const STATUS_BCD_TOO_MANY_ELEMENTS : NTSTATUS = NTSTATUS ( -1070006270i32 as _ ) ; pub const STATUS_BEGINNING_OF_MEDIA : NTSTATUS = NTSTATUS ( -2147483617i32 as _ ) ; pub const STATUS_BEYOND_VDL : NTSTATUS = NTSTATUS ( -1073740750i32 as _ ) ; pub const STATUS_BIOS_FAILED_TO_CONNECT_INTERRUPT : NTSTATUS = NTSTATUS ( -1073741458i32 as _ ) ; pub const STATUS_BIZRULES_NOT_ENABLED : NTSTATUS = NTSTATUS ( 1073741876i32 as _ ) ; pub const STATUS_BLOCKED_BY_PARENTAL_CONTROLS : NTSTATUS = NTSTATUS ( -1073740664i32 as _ ) ; pub const STATUS_BLOCK_TOO_MANY_REFERENCES : NTSTATUS = NTSTATUS ( -1073740660i32 as _ ) ; pub const STATUS_BREAKPOINT : NTSTATUS = NTSTATUS ( -2147483645i32 as _ ) ; pub const STATUS_BTH_ATT_ATTRIBUTE_NOT_FOUND : NTSTATUS = NTSTATUS ( -1069416438i32 as _ ) ; pub const STATUS_BTH_ATT_ATTRIBUTE_NOT_LONG : NTSTATUS = NTSTATUS ( -1069416437i32 as _ ) ; pub const STATUS_BTH_ATT_INSUFFICIENT_AUTHENTICATION : NTSTATUS = NTSTATUS ( -1069416443i32 as _ ) ; pub const STATUS_BTH_ATT_INSUFFICIENT_AUTHORIZATION : NTSTATUS = NTSTATUS ( -1069416440i32 as _ ) ; pub const STATUS_BTH_ATT_INSUFFICIENT_ENCRYPTION : NTSTATUS = NTSTATUS ( -1069416433i32 as _ ) ; pub const STATUS_BTH_ATT_INSUFFICIENT_ENCRYPTION_KEY_SIZE : NTSTATUS = NTSTATUS ( -1069416436i32 as _ ) ; pub const STATUS_BTH_ATT_INSUFFICIENT_RESOURCES : NTSTATUS = NTSTATUS ( -1069416431i32 as _ ) ; pub const STATUS_BTH_ATT_INVALID_ATTRIBUTE_VALUE_LENGTH : NTSTATUS = NTSTATUS ( -1069416435i32 as _ ) ; pub const STATUS_BTH_ATT_INVALID_HANDLE : NTSTATUS = NTSTATUS ( -1069416447i32 as _ ) ; pub const STATUS_BTH_ATT_INVALID_OFFSET : NTSTATUS = NTSTATUS ( -1069416441i32 as _ ) ; pub const STATUS_BTH_ATT_INVALID_PDU : NTSTATUS = NTSTATUS ( -1069416444i32 as _ ) ; pub const STATUS_BTH_ATT_PREPARE_QUEUE_FULL : NTSTATUS = NTSTATUS ( -1069416439i32 as _ ) ; pub const STATUS_BTH_ATT_READ_NOT_PERMITTED : NTSTATUS = NTSTATUS ( -1069416446i32 as _ ) ; pub const STATUS_BTH_ATT_REQUEST_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1069416442i32 as _ ) ; pub const STATUS_BTH_ATT_UNKNOWN_ERROR : NTSTATUS = NTSTATUS ( -1069412352i32 as _ ) ; pub const STATUS_BTH_ATT_UNLIKELY : NTSTATUS = NTSTATUS ( -1069416434i32 as _ ) ; pub const STATUS_BTH_ATT_UNSUPPORTED_GROUP_TYPE : NTSTATUS = NTSTATUS ( -1069416432i32 as _ ) ; pub const STATUS_BTH_ATT_WRITE_NOT_PERMITTED : NTSTATUS = NTSTATUS ( -1069416445i32 as _ ) ; pub const STATUS_BUFFER_ALL_ZEROS : NTSTATUS = NTSTATUS ( 279i32 as _ ) ; pub const STATUS_BUFFER_OVERFLOW : NTSTATUS = NTSTATUS ( -2147483643i32 as _ ) ; pub const STATUS_BUFFER_TOO_SMALL : NTSTATUS = NTSTATUS ( -1073741789i32 as _ ) ; pub const STATUS_BUS_RESET : NTSTATUS = NTSTATUS ( -2147483619i32 as _ ) ; pub const STATUS_CACHE_PAGE_LOCKED : NTSTATUS = NTSTATUS ( 277i32 as _ ) ; pub const STATUS_CALLBACK_BYPASS : NTSTATUS = NTSTATUS ( -1073740541i32 as _ ) ; pub const STATUS_CALLBACK_INVOKE_INLINE : NTSTATUS = NTSTATUS ( -1073740661i32 as _ ) ; pub const STATUS_CALLBACK_POP_STACK : NTSTATUS = NTSTATUS ( -1073740765i32 as _ ) ; pub const STATUS_CALLBACK_RETURNED_LANG : NTSTATUS = NTSTATUS ( -1073740001i32 as _ ) ; pub const STATUS_CALLBACK_RETURNED_LDR_LOCK : NTSTATUS = NTSTATUS ( -1073740002i32 as _ ) ; pub const STATUS_CALLBACK_RETURNED_PRI_BACK : NTSTATUS = NTSTATUS ( -1073740000i32 as _ ) ; pub const STATUS_CALLBACK_RETURNED_THREAD_AFFINITY : NTSTATUS = NTSTATUS ( -1073739999i32 as _ ) ; pub const STATUS_CALLBACK_RETURNED_THREAD_PRIORITY : NTSTATUS = NTSTATUS ( -1073740005i32 as _ ) ; pub const STATUS_CALLBACK_RETURNED_TRANSACTION : NTSTATUS = NTSTATUS ( -1073740003i32 as _ ) ; pub const STATUS_CALLBACK_RETURNED_WHILE_IMPERSONATING : NTSTATUS = NTSTATUS ( -1073740016i32 as _ ) ; pub const STATUS_CANCELLED : NTSTATUS = NTSTATUS ( -1073741536i32 as _ ) ; pub const STATUS_CANNOT_ABORT_TRANSACTIONS : NTSTATUS = NTSTATUS ( -1072103347i32 as _ ) ; pub const STATUS_CANNOT_ACCEPT_TRANSACTED_WORK : NTSTATUS = NTSTATUS ( -1072103348i32 as _ ) ; pub const STATUS_CANNOT_BREAK_OPLOCK : NTSTATUS = NTSTATUS ( -1073739511i32 as _ ) ; pub const STATUS_CANNOT_DELETE : NTSTATUS = NTSTATUS ( -1073741535i32 as _ ) ; pub const STATUS_CANNOT_EXECUTE_FILE_IN_TRANSACTION : NTSTATUS = NTSTATUS ( -1072103356i32 as _ ) ; pub const STATUS_CANNOT_GRANT_REQUESTED_OPLOCK : NTSTATUS = NTSTATUS ( -2147483602i32 as _ ) ; pub const STATUS_CANNOT_IMPERSONATE : NTSTATUS = NTSTATUS ( -1073741555i32 as _ ) ; pub const STATUS_CANNOT_LOAD_REGISTRY_FILE : NTSTATUS = NTSTATUS ( -1073741288i32 as _ ) ; pub const STATUS_CANNOT_MAKE : NTSTATUS = NTSTATUS ( -1073741078i32 as _ ) ; pub const STATUS_CANNOT_SWITCH_RUNLEVEL : NTSTATUS = NTSTATUS ( -1073700543i32 as _ ) ; pub const STATUS_CANT_ACCESS_DOMAIN_INFO : NTSTATUS = NTSTATUS ( -1073741606i32 as _ ) ; pub const STATUS_CANT_BREAK_TRANSACTIONAL_DEPENDENCY : NTSTATUS = NTSTATUS ( -1072103369i32 as _ ) ; pub const STATUS_CANT_CLEAR_ENCRYPTION_FLAG : NTSTATUS = NTSTATUS ( -1073740616i32 as _ ) ; pub const STATUS_CANT_CREATE_MORE_STREAM_MINIVERSIONS : NTSTATUS = NTSTATUS ( -1072103386i32 as _ ) ; pub const STATUS_CANT_CROSS_RM_BOUNDARY : NTSTATUS = NTSTATUS ( -1072103368i32 as _ ) ; pub const STATUS_CANT_DISABLE_MANDATORY : NTSTATUS = NTSTATUS ( -1073741731i32 as _ ) ; pub const STATUS_CANT_ENABLE_DENY_ONLY : NTSTATUS = NTSTATUS ( -1073741133i32 as _ ) ; pub const STATUS_CANT_OPEN_ANONYMOUS : NTSTATUS = NTSTATUS ( -1073741658i32 as _ ) ; pub const STATUS_CANT_OPEN_MINIVERSION_WITH_MODIFY_INTENT : NTSTATUS = NTSTATUS ( -1072103387i32 as _ ) ; pub const STATUS_CANT_RECOVER_WITH_HANDLE_OPEN : NTSTATUS = NTSTATUS ( -2145845199i32 as _ ) ; pub const STATUS_CANT_TERMINATE_SELF : NTSTATUS = NTSTATUS ( -1073741605i32 as _ ) ; pub const STATUS_CANT_WAIT : NTSTATUS = NTSTATUS ( -1073741608i32 as _ ) ; pub const STATUS_CARDBUS_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( 1073741863i32 as _ ) ; pub const STATUS_CASE_DIFFERING_NAMES_IN_DIR : NTSTATUS = NTSTATUS ( -1073740621i32 as _ ) ; pub const STATUS_CASE_SENSITIVE_PATH : NTSTATUS = NTSTATUS ( -1073740614i32 as _ ) ; pub const STATUS_CC_NEEDS_CALLBACK_SECTION_DRAIN : NTSTATUS = NTSTATUS ( -1073700856i32 as _ ) ; pub const STATUS_CERTIFICATE_MAPPING_NOT_UNIQUE : NTSTATUS = NTSTATUS ( -1073740012i32 as _ ) ; pub const STATUS_CHECKING_FILE_SYSTEM : NTSTATUS = NTSTATUS ( 1073741844i32 as _ ) ; pub const STATUS_CHECKOUT_REQUIRED : NTSTATUS = NTSTATUS ( -1073739518i32 as _ ) ; pub const STATUS_CHILD_MUST_BE_VOLATILE : NTSTATUS = NTSTATUS ( -1073741439i32 as _ ) ; pub const STATUS_CHILD_PROCESS_BLOCKED : NTSTATUS = NTSTATUS ( -1073740643i32 as _ ) ; pub const STATUS_CIMFS_IMAGE_CORRUPT : NTSTATUS = NTSTATUS ( -1073692671i32 as _ ) ; pub const STATUS_CLEANER_CARTRIDGE_INSTALLED : NTSTATUS = NTSTATUS ( -2147483609i32 as _ ) ; pub const STATUS_CLIENT_SERVER_PARAMETERS_INVALID : NTSTATUS = NTSTATUS ( -1073741277i32 as _ ) ; pub const STATUS_CLIP_DEVICE_LICENSE_MISSING : NTSTATUS = NTSTATUS ( -1058406397i32 as _ ) ; pub const STATUS_CLIP_KEYHOLDER_LICENSE_MISSING_OR_INVALID : NTSTATUS = NTSTATUS ( -1058406395i32 as _ ) ; pub const STATUS_CLIP_LICENSE_DEVICE_ID_MISMATCH : NTSTATUS = NTSTATUS ( -1058406390i32 as _ ) ; pub const STATUS_CLIP_LICENSE_EXPIRED : NTSTATUS = NTSTATUS ( -1058406394i32 as _ ) ; pub const STATUS_CLIP_LICENSE_HARDWARE_ID_OUT_OF_TOLERANCE : NTSTATUS = NTSTATUS ( -1058406391i32 as _ ) ; pub const STATUS_CLIP_LICENSE_INVALID_SIGNATURE : NTSTATUS = NTSTATUS ( -1058406396i32 as _ ) ; pub const STATUS_CLIP_LICENSE_NOT_FOUND : NTSTATUS = NTSTATUS ( -1058406398i32 as _ ) ; pub const STATUS_CLIP_LICENSE_NOT_SIGNED : NTSTATUS = NTSTATUS ( -1058406392i32 as _ ) ; pub const STATUS_CLIP_LICENSE_SIGNED_BY_UNKNOWN_SOURCE : NTSTATUS = NTSTATUS ( -1058406393i32 as _ ) ; pub const STATUS_CLOUD_FILE_ACCESS_DENIED : NTSTATUS = NTSTATUS ( -1073688808i32 as _ ) ; pub const STATUS_CLOUD_FILE_ALREADY_CONNECTED : NTSTATUS = NTSTATUS ( -1073688823i32 as _ ) ; pub const STATUS_CLOUD_FILE_AUTHENTICATION_FAILED : NTSTATUS = NTSTATUS ( -1073688817i32 as _ ) ; pub const STATUS_CLOUD_FILE_CONNECTED_PROVIDER_ONLY : NTSTATUS = NTSTATUS ( -1073688819i32 as _ ) ; pub const STATUS_CLOUD_FILE_DEHYDRATION_DISALLOWED : NTSTATUS = NTSTATUS ( -1073688800i32 as _ ) ; pub const STATUS_CLOUD_FILE_INCOMPATIBLE_HARDLINKS : NTSTATUS = NTSTATUS ( -1073688807i32 as _ ) ; pub const STATUS_CLOUD_FILE_INSUFFICIENT_RESOURCES : NTSTATUS = NTSTATUS ( -1073688816i32 as _ ) ; pub const STATUS_CLOUD_FILE_INVALID_REQUEST : NTSTATUS = NTSTATUS ( -1073688821i32 as _ ) ; pub const STATUS_CLOUD_FILE_IN_USE : NTSTATUS = NTSTATUS ( -1073688812i32 as _ ) ; pub const STATUS_CLOUD_FILE_METADATA_CORRUPT : NTSTATUS = NTSTATUS ( -1073688830i32 as _ ) ; pub const STATUS_CLOUD_FILE_METADATA_TOO_LARGE : NTSTATUS = NTSTATUS ( -1073688829i32 as _ ) ; pub const STATUS_CLOUD_FILE_NETWORK_UNAVAILABLE : NTSTATUS = NTSTATUS ( -1073688815i32 as _ ) ; pub const STATUS_CLOUD_FILE_NOT_IN_SYNC : NTSTATUS = NTSTATUS ( -1073688824i32 as _ ) ; pub const STATUS_CLOUD_FILE_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1073688822i32 as _ ) ; pub const STATUS_CLOUD_FILE_NOT_UNDER_SYNC_ROOT : NTSTATUS = NTSTATUS ( -1073688813i32 as _ ) ; pub const STATUS_CLOUD_FILE_PINNED : NTSTATUS = NTSTATUS ( -1073688811i32 as _ ) ; pub const STATUS_CLOUD_FILE_PROPERTY_BLOB_CHECKSUM_MISMATCH : NTSTATUS = NTSTATUS ( -2147430656i32 as _ ) ; pub const STATUS_CLOUD_FILE_PROPERTY_BLOB_TOO_LARGE : NTSTATUS = NTSTATUS ( -2147430652i32 as _ ) ; pub const STATUS_CLOUD_FILE_PROPERTY_CORRUPT : NTSTATUS = NTSTATUS ( -1073688809i32 as _ ) ; pub const STATUS_CLOUD_FILE_PROPERTY_LOCK_CONFLICT : NTSTATUS = NTSTATUS ( -1073688806i32 as _ ) ; pub const STATUS_CLOUD_FILE_PROPERTY_VERSION_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1073688826i32 as _ ) ; pub const STATUS_CLOUD_FILE_PROVIDER_NOT_RUNNING : NTSTATUS = NTSTATUS ( -1073688831i32 as _ ) ; pub const STATUS_CLOUD_FILE_PROVIDER_TERMINATED : NTSTATUS = NTSTATUS ( -1073688803i32 as _ ) ; pub const STATUS_CLOUD_FILE_READ_ONLY_VOLUME : NTSTATUS = NTSTATUS ( -1073688820i32 as _ ) ; pub const STATUS_CLOUD_FILE_REQUEST_ABORTED : NTSTATUS = NTSTATUS ( -1073688810i32 as _ ) ; pub const STATUS_CLOUD_FILE_REQUEST_CANCELED : NTSTATUS = NTSTATUS ( -1073688805i32 as _ ) ; pub const STATUS_CLOUD_FILE_REQUEST_TIMEOUT : NTSTATUS = NTSTATUS ( -1073688801i32 as _ ) ; pub const STATUS_CLOUD_FILE_SYNC_ROOT_METADATA_CORRUPT : NTSTATUS = NTSTATUS ( -1073688832i32 as _ ) ; pub const STATUS_CLOUD_FILE_TOO_MANY_PROPERTY_BLOBS : NTSTATUS = NTSTATUS ( -2147430651i32 as _ ) ; pub const STATUS_CLOUD_FILE_UNSUCCESSFUL : NTSTATUS = NTSTATUS ( -1073688814i32 as _ ) ; pub const STATUS_CLOUD_FILE_VALIDATION_FAILED : NTSTATUS = NTSTATUS ( -1073688818i32 as _ ) ; pub const STATUS_CLUSTER_CAM_TICKET_REPLAY_DETECTED : NTSTATUS = NTSTATUS ( -1072496591i32 as _ ) ; pub const STATUS_CLUSTER_CSV_AUTO_PAUSE_ERROR : NTSTATUS = NTSTATUS ( -1072496607i32 as _ ) ; pub const STATUS_CLUSTER_CSV_INVALID_HANDLE : NTSTATUS = NTSTATUS ( -1072496599i32 as _ ) ; pub const STATUS_CLUSTER_CSV_NOT_REDIRECTED : NTSTATUS = NTSTATUS ( -1072496605i32 as _ ) ; pub const STATUS_CLUSTER_CSV_NO_SNAPSHOTS : NTSTATUS = NTSTATUS ( -1072496601i32 as _ ) ; pub const STATUS_CLUSTER_CSV_READ_OPLOCK_BREAK_IN_PROGRESS : NTSTATUS = NTSTATUS ( -1072496608i32 as _ ) ; pub const STATUS_CLUSTER_CSV_REDIRECTED : NTSTATUS = NTSTATUS ( -1072496606i32 as _ ) ; pub const STATUS_CLUSTER_CSV_SNAPSHOT_CREATION_IN_PROGRESS : NTSTATUS = NTSTATUS ( -1072496603i32 as _ ) ; pub const STATUS_CLUSTER_CSV_SUPPORTED_ONLY_ON_COORDINATOR : NTSTATUS = NTSTATUS ( -1072496592i32 as _ ) ; pub const STATUS_CLUSTER_CSV_VOLUME_DRAINING : NTSTATUS = NTSTATUS ( -1072496604i32 as _ ) ; pub const STATUS_CLUSTER_CSV_VOLUME_DRAINING_SUCCEEDED_DOWNLEVEL : NTSTATUS = NTSTATUS ( -1072496602i32 as _ ) ; pub const STATUS_CLUSTER_CSV_VOLUME_NOT_LOCAL : NTSTATUS = NTSTATUS ( -1072496615i32 as _ ) ; pub const STATUS_CLUSTER_INVALID_NETWORK : NTSTATUS = NTSTATUS ( -1072496624i32 as _ ) ; pub const STATUS_CLUSTER_INVALID_NETWORK_PROVIDER : NTSTATUS = NTSTATUS ( -1072496629i32 as _ ) ; pub const STATUS_CLUSTER_INVALID_NODE : NTSTATUS = NTSTATUS ( -1072496639i32 as _ ) ; pub const STATUS_CLUSTER_INVALID_REQUEST : NTSTATUS = NTSTATUS ( -1072496630i32 as _ ) ; pub const STATUS_CLUSTER_JOIN_IN_PROGRESS : NTSTATUS = NTSTATUS ( -1072496637i32 as _ ) ; pub const STATUS_CLUSTER_JOIN_NOT_IN_PROGRESS : NTSTATUS = NTSTATUS ( -1072496625i32 as _ ) ; pub const STATUS_CLUSTER_LOCAL_NODE_NOT_FOUND : NTSTATUS = NTSTATUS ( -1072496635i32 as _ ) ; pub const STATUS_CLUSTER_NETINTERFACE_EXISTS : NTSTATUS = NTSTATUS ( -1072496632i32 as _ ) ; pub const STATUS_CLUSTER_NETINTERFACE_NOT_FOUND : NTSTATUS = NTSTATUS ( -1072496631i32 as _ ) ; pub const STATUS_CLUSTER_NETWORK_ALREADY_OFFLINE : NTSTATUS = NTSTATUS ( -2146238460i32 as _ ) ; pub const STATUS_CLUSTER_NETWORK_ALREADY_ONLINE : NTSTATUS = NTSTATUS ( -2146238461i32 as _ ) ; pub const STATUS_CLUSTER_NETWORK_EXISTS : NTSTATUS = NTSTATUS ( -1072496634i32 as _ ) ; pub const STATUS_CLUSTER_NETWORK_NOT_FOUND : NTSTATUS = NTSTATUS ( -1072496633i32 as _ ) ; pub const STATUS_CLUSTER_NETWORK_NOT_INTERNAL : NTSTATUS = NTSTATUS ( -1072496618i32 as _ ) ; pub const STATUS_CLUSTER_NODE_ALREADY_DOWN : NTSTATUS = NTSTATUS ( -2146238462i32 as _ ) ; pub const STATUS_CLUSTER_NODE_ALREADY_MEMBER : NTSTATUS = NTSTATUS ( -2146238459i32 as _ ) ; pub const STATUS_CLUSTER_NODE_ALREADY_UP : NTSTATUS = NTSTATUS ( -2146238463i32 as _ ) ; pub const STATUS_CLUSTER_NODE_DOWN : NTSTATUS = NTSTATUS ( -1072496628i32 as _ ) ; pub const STATUS_CLUSTER_NODE_EXISTS : NTSTATUS = NTSTATUS ( -1072496638i32 as _ ) ; pub const STATUS_CLUSTER_NODE_NOT_FOUND : NTSTATUS = NTSTATUS ( -1072496636i32 as _ ) ; pub const STATUS_CLUSTER_NODE_NOT_MEMBER : NTSTATUS = NTSTATUS ( -1072496626i32 as _ ) ; pub const STATUS_CLUSTER_NODE_NOT_PAUSED : NTSTATUS = NTSTATUS ( -1072496620i32 as _ ) ; pub const STATUS_CLUSTER_NODE_PAUSED : NTSTATUS = NTSTATUS ( -1072496621i32 as _ ) ; pub const STATUS_CLUSTER_NODE_UNREACHABLE : NTSTATUS = NTSTATUS ( -1072496627i32 as _ ) ; pub const STATUS_CLUSTER_NODE_UP : NTSTATUS = NTSTATUS ( -1072496622i32 as _ ) ; pub const STATUS_CLUSTER_NON_CSV_PATH : NTSTATUS = NTSTATUS ( -1072496616i32 as _ ) ; pub const STATUS_CLUSTER_NO_NET_ADAPTERS : NTSTATUS = NTSTATUS ( -1072496623i32 as _ ) ; pub const STATUS_CLUSTER_NO_SECURITY_CONTEXT : NTSTATUS = NTSTATUS ( -1072496619i32 as _ ) ; pub const STATUS_CLUSTER_POISONED : NTSTATUS = NTSTATUS ( -1072496617i32 as _ ) ; pub const STATUS_COMMITMENT_LIMIT : NTSTATUS = NTSTATUS ( -1073741523i32 as _ ) ; pub const STATUS_COMMITMENT_MINIMUM : NTSTATUS = NTSTATUS ( -1073741112i32 as _ ) ; pub const STATUS_COMPRESSED_FILE_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1073740677i32 as _ ) ; pub const STATUS_COMPRESSION_DISABLED : NTSTATUS = NTSTATUS ( -1073740762i32 as _ ) ; pub const STATUS_COMPRESSION_NOT_ALLOWED_IN_TRANSACTION : NTSTATUS = NTSTATUS ( -1072103338i32 as _ ) ; pub const STATUS_COMPRESSION_NOT_BENEFICIAL : NTSTATUS = NTSTATUS ( -1073740689i32 as _ ) ; pub const STATUS_CONFLICTING_ADDRESSES : NTSTATUS = NTSTATUS ( -1073741800i32 as _ ) ; pub const STATUS_CONNECTION_ABORTED : NTSTATUS = NTSTATUS ( -1073741247i32 as _ ) ; pub const STATUS_CONNECTION_ACTIVE : NTSTATUS = NTSTATUS ( -1073741253i32 as _ ) ; pub const STATUS_CONNECTION_COUNT_LIMIT : NTSTATUS = NTSTATUS ( -1073741242i32 as _ ) ; pub const STATUS_CONNECTION_DISCONNECTED : NTSTATUS = NTSTATUS ( -1073741300i32 as _ ) ; pub const STATUS_CONNECTION_INVALID : NTSTATUS = NTSTATUS ( -1073741254i32 as _ ) ; pub const STATUS_CONNECTION_IN_USE : NTSTATUS = NTSTATUS ( -1073741560i32 as _ ) ; pub const STATUS_CONNECTION_REFUSED : NTSTATUS = NTSTATUS ( -1073741258i32 as _ ) ; pub const STATUS_CONNECTION_RESET : NTSTATUS = NTSTATUS ( -1073741299i32 as _ ) ; pub const STATUS_CONTAINER_ASSIGNED : NTSTATUS = NTSTATUS ( -1073740536i32 as _ ) ; pub const STATUS_CONTENT_BLOCKED : NTSTATUS = NTSTATUS ( -1073739772i32 as _ ) ; pub const STATUS_CONTEXT_MISMATCH : NTSTATUS = NTSTATUS ( -1073740007i32 as _ ) ; pub const STATUS_CONTEXT_STOWED_EXCEPTION : NTSTATUS = NTSTATUS ( -1073741188i32 as _ ) ; pub const STATUS_CONTROL_C_EXIT : NTSTATUS = NTSTATUS ( -1073741510i32 as _ ) ; pub const STATUS_CONTROL_STACK_VIOLATION : NTSTATUS = NTSTATUS ( -1073741390i32 as _ ) ; pub const STATUS_CONVERT_TO_LARGE : NTSTATUS = NTSTATUS ( -1073741268i32 as _ ) ; pub const STATUS_COPY_PROTECTION_FAILURE : NTSTATUS = NTSTATUS ( -1073741051i32 as _ ) ; pub const STATUS_CORRUPT_LOG_CLEARED : NTSTATUS = NTSTATUS ( -1073739763i32 as _ ) ; pub const STATUS_CORRUPT_LOG_CORRUPTED : NTSTATUS = NTSTATUS ( -1073739766i32 as _ ) ; pub const STATUS_CORRUPT_LOG_DELETED_FULL : NTSTATUS = NTSTATUS ( -1073739764i32 as _ ) ; pub const STATUS_CORRUPT_LOG_OVERFULL : NTSTATUS = NTSTATUS ( -1073739767i32 as _ ) ; pub const STATUS_CORRUPT_LOG_UNAVAILABLE : NTSTATUS = NTSTATUS ( -1073739765i32 as _ ) ; pub const STATUS_CORRUPT_LOG_UPLEVEL_RECORDS : NTSTATUS = NTSTATUS ( -1073739759i32 as _ ) ; pub const STATUS_CORRUPT_SYSTEM_FILE : NTSTATUS = NTSTATUS ( -1073741116i32 as _ ) ; pub const STATUS_COULD_NOT_INTERPRET : NTSTATUS = NTSTATUS ( -1073741639i32 as _ ) ; pub const STATUS_COULD_NOT_RESIZE_LOG : NTSTATUS = NTSTATUS ( -2145845239i32 as _ ) ; pub const STATUS_CPU_SET_INVALID : NTSTATUS = NTSTATUS ( -1073741393i32 as _ ) ; pub const STATUS_CRASH_DUMP : NTSTATUS = NTSTATUS ( 278i32 as _ ) ; pub const STATUS_CRC_ERROR : NTSTATUS = NTSTATUS ( -1073741761i32 as _ ) ; pub const STATUS_CRED_REQUIRES_CONFIRMATION : NTSTATUS = NTSTATUS ( -1073740736i32 as _ ) ; pub const STATUS_CRM_PROTOCOL_ALREADY_EXISTS : NTSTATUS = NTSTATUS ( -1072103409i32 as _ ) ; pub const STATUS_CRM_PROTOCOL_NOT_FOUND : NTSTATUS = NTSTATUS ( -1072103407i32 as _ ) ; pub const STATUS_CROSSREALM_DELEGATION_FAILURE : NTSTATUS = NTSTATUS ( -1073740789i32 as _ ) ; pub const STATUS_CROSS_PARTITION_VIOLATION : NTSTATUS = NTSTATUS ( -1073740277i32 as _ ) ; pub const STATUS_CRYPTO_SYSTEM_INVALID : NTSTATUS = NTSTATUS ( -1073741069i32 as _ ) ; pub const STATUS_CSS_AUTHENTICATION_FAILURE : NTSTATUS = NTSTATUS ( -1073741050i32 as _ ) ; pub const STATUS_CSS_KEY_NOT_ESTABLISHED : NTSTATUS = NTSTATUS ( -1073741048i32 as _ ) ; pub const STATUS_CSS_KEY_NOT_PRESENT : NTSTATUS = NTSTATUS ( -1073741049i32 as _ ) ; pub const STATUS_CSS_REGION_MISMATCH : NTSTATUS = NTSTATUS ( -1073741046i32 as _ ) ; pub const STATUS_CSS_RESETS_EXHAUSTED : NTSTATUS = NTSTATUS ( -1073741045i32 as _ ) ; pub const STATUS_CSS_SCRAMBLED_SECTOR : NTSTATUS = NTSTATUS ( -1073741047i32 as _ ) ; pub const STATUS_CSV_IO_PAUSE_TIMEOUT : NTSTATUS = NTSTATUS ( -1072496600i32 as _ ) ; pub const STATUS_CS_ENCRYPTION_EXISTING_ENCRYPTED_FILE : NTSTATUS = NTSTATUS ( -1073740733i32 as _ ) ; pub const STATUS_CS_ENCRYPTION_FILE_NOT_CSE : NTSTATUS = NTSTATUS ( -1073740731i32 as _ ) ; pub const STATUS_CS_ENCRYPTION_INVALID_SERVER_RESPONSE : NTSTATUS = NTSTATUS ( -1073740735i32 as _ ) ; pub const STATUS_CS_ENCRYPTION_NEW_ENCRYPTED_FILE : NTSTATUS = NTSTATUS ( -1073740732i32 as _ ) ; pub const STATUS_CS_ENCRYPTION_UNSUPPORTED_SERVER : NTSTATUS = NTSTATUS ( -1073740734i32 as _ ) ; pub const STATUS_CTLOG_INCONSISTENT_TRACKING_FILE : NTSTATUS = NTSTATUS ( -1069940700i32 as _ ) ; pub const STATUS_CTLOG_INVALID_TRACKING_STATE : NTSTATUS = NTSTATUS ( -1069940701i32 as _ ) ; pub const STATUS_CTLOG_LOGFILE_SIZE_EXCEEDED_MAXSIZE : NTSTATUS = NTSTATUS ( -1069940703i32 as _ ) ; pub const STATUS_CTLOG_TRACKING_NOT_INITIALIZED : NTSTATUS = NTSTATUS ( -1069940704i32 as _ ) ; pub const STATUS_CTLOG_VHD_CHANGED_OFFLINE : NTSTATUS = NTSTATUS ( -1069940702i32 as _ ) ; pub const STATUS_CTL_FILE_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1073741737i32 as _ ) ; pub const STATUS_CTX_BAD_VIDEO_MODE : NTSTATUS = NTSTATUS ( -1073086440i32 as _ ) ; pub const STATUS_CTX_CDM_CONNECT : NTSTATUS = NTSTATUS ( 1074397188i32 as _ ) ; pub const STATUS_CTX_CDM_DISCONNECT : NTSTATUS = NTSTATUS ( 1074397189i32 as _ ) ; pub const STATUS_CTX_CLIENT_LICENSE_IN_USE : NTSTATUS = NTSTATUS ( -1073086412i32 as _ ) ; pub const STATUS_CTX_CLIENT_LICENSE_NOT_SET : NTSTATUS = NTSTATUS ( -1073086413i32 as _ ) ; pub const STATUS_CTX_CLIENT_QUERY_TIMEOUT : NTSTATUS = NTSTATUS ( -1073086426i32 as _ ) ; pub const STATUS_CTX_CLOSE_PENDING : NTSTATUS = NTSTATUS ( -1073086458i32 as _ ) ; pub const STATUS_CTX_CONSOLE_CONNECT : NTSTATUS = NTSTATUS ( -1073086424i32 as _ ) ; pub const STATUS_CTX_CONSOLE_DISCONNECT : NTSTATUS = NTSTATUS ( -1073086425i32 as _ ) ; pub const STATUS_CTX_GRAPHICS_INVALID : NTSTATUS = NTSTATUS ( -1073086430i32 as _ ) ; pub const STATUS_CTX_INVALID_MODEMNAME : NTSTATUS = NTSTATUS ( -1073086455i32 as _ ) ; pub const STATUS_CTX_INVALID_PD : NTSTATUS = NTSTATUS ( -1073086462i32 as _ ) ; pub const STATUS_CTX_INVALID_WD : NTSTATUS = NTSTATUS ( -1073086418i32 as _ ) ; pub const STATUS_CTX_LICENSE_CLIENT_INVALID : NTSTATUS = NTSTATUS ( -1073086446i32 as _ ) ; pub const STATUS_CTX_LICENSE_EXPIRED : NTSTATUS = NTSTATUS ( -1073086444i32 as _ ) ; pub const STATUS_CTX_LICENSE_NOT_AVAILABLE : NTSTATUS = NTSTATUS ( -1073086445i32 as _ ) ; pub const STATUS_CTX_LOGON_DISABLED : NTSTATUS = NTSTATUS ( -1073086409i32 as _ ) ; pub const STATUS_CTX_MODEM_INF_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073086456i32 as _ ) ; pub const STATUS_CTX_MODEM_RESPONSE_BUSY : NTSTATUS = NTSTATUS ( -1073086450i32 as _ ) ; pub const STATUS_CTX_MODEM_RESPONSE_NO_CARRIER : NTSTATUS = NTSTATUS ( -1073086452i32 as _ ) ; pub const STATUS_CTX_MODEM_RESPONSE_NO_DIALTONE : NTSTATUS = NTSTATUS ( -1073086451i32 as _ ) ; pub const STATUS_CTX_MODEM_RESPONSE_TIMEOUT : NTSTATUS = NTSTATUS ( -1073086453i32 as _ ) ; pub const STATUS_CTX_MODEM_RESPONSE_VOICE : NTSTATUS = NTSTATUS ( -1073086449i32 as _ ) ; pub const STATUS_CTX_NOT_CONSOLE : NTSTATUS = NTSTATUS ( -1073086428i32 as _ ) ; pub const STATUS_CTX_NO_OUTBUF : NTSTATUS = NTSTATUS ( -1073086457i32 as _ ) ; pub const STATUS_CTX_PD_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073086461i32 as _ ) ; pub const STATUS_CTX_RESPONSE_ERROR : NTSTATUS = NTSTATUS ( -1073086454i32 as _ ) ; pub const STATUS_CTX_SECURITY_LAYER_ERROR : NTSTATUS = NTSTATUS ( -1073086408i32 as _ ) ; pub const STATUS_CTX_SHADOW_DENIED : NTSTATUS = NTSTATUS ( -1073086422i32 as _ ) ; pub const STATUS_CTX_SHADOW_DISABLED : NTSTATUS = NTSTATUS ( -1073086415i32 as _ ) ; pub const STATUS_CTX_SHADOW_ENDED_BY_MODE_CHANGE : NTSTATUS = NTSTATUS ( -1073086411i32 as _ ) ; pub const STATUS_CTX_SHADOW_INVALID : NTSTATUS = NTSTATUS ( -1073086416i32 as _ ) ; pub const STATUS_CTX_SHADOW_NOT_RUNNING : NTSTATUS = NTSTATUS ( -1073086410i32 as _ ) ; pub const STATUS_CTX_TD_ERROR : NTSTATUS = NTSTATUS ( -1073086448i32 as _ ) ; pub const STATUS_CTX_WD_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073086417i32 as _ ) ; pub const STATUS_CTX_WINSTATION_ACCESS_DENIED : NTSTATUS = NTSTATUS ( -1073086421i32 as _ ) ; pub const STATUS_CTX_WINSTATION_BUSY : NTSTATUS = NTSTATUS ( -1073086441i32 as _ ) ; pub const STATUS_CTX_WINSTATION_NAME_COLLISION : NTSTATUS = NTSTATUS ( -1073086442i32 as _ ) ; pub const STATUS_CTX_WINSTATION_NAME_INVALID : NTSTATUS = NTSTATUS ( -1073086463i32 as _ ) ; pub const STATUS_CTX_WINSTATION_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073086443i32 as _ ) ; pub const STATUS_CURRENT_DOMAIN_NOT_ALLOWED : NTSTATUS = NTSTATUS ( -1073741079i32 as _ ) ; pub const STATUS_CURRENT_TRANSACTION_NOT_VALID : NTSTATUS = NTSTATUS ( -1072103400i32 as _ ) ; pub const STATUS_DATATYPE_MISALIGNMENT : NTSTATUS = NTSTATUS ( -2147483646i32 as _ ) ; pub const STATUS_DATATYPE_MISALIGNMENT_ERROR : NTSTATUS = NTSTATUS ( -1073741115i32 as _ ) ; pub const STATUS_DATA_CHECKSUM_ERROR : NTSTATUS = NTSTATUS ( -1073740688i32 as _ ) ; pub const STATUS_DATA_ERROR : NTSTATUS = NTSTATUS ( -1073741762i32 as _ ) ; pub const STATUS_DATA_LATE_ERROR : NTSTATUS = NTSTATUS ( -1073741763i32 as _ ) ; pub const STATUS_DATA_LOST_REPAIR : NTSTATUS = NTSTATUS ( -2147481597i32 as _ ) ; pub const STATUS_DATA_NOT_ACCEPTED : NTSTATUS = NTSTATUS ( -1073741285i32 as _ ) ; pub const STATUS_DATA_OVERRUN : NTSTATUS = NTSTATUS ( -1073741764i32 as _ ) ; pub const STATUS_DATA_OVERWRITTEN : NTSTATUS = NTSTATUS ( 304i32 as _ ) ; pub const STATUS_DAX_MAPPING_EXISTS : NTSTATUS = NTSTATUS ( -1073740644i32 as _ ) ; pub const STATUS_DEBUGGER_INACTIVE : NTSTATUS = NTSTATUS ( -1073740972i32 as _ ) ; pub const STATUS_DEBUG_ATTACH_FAILED : NTSTATUS = NTSTATUS ( -1073741287i32 as _ ) ; pub const STATUS_DECRYPTION_FAILED : NTSTATUS = NTSTATUS ( -1073741173i32 as _ ) ; pub const STATUS_DELAY_LOAD_FAILED : NTSTATUS = NTSTATUS ( -1073740782i32 as _ ) ; pub const STATUS_DELETE_PENDING : NTSTATUS = NTSTATUS ( -1073741738i32 as _ ) ; pub const STATUS_DESTINATION_ELEMENT_FULL : NTSTATUS = NTSTATUS ( -1073741180i32 as _ ) ; pub const STATUS_DEVICE_ALREADY_ATTACHED : NTSTATUS = NTSTATUS ( -1073741768i32 as _ ) ; pub const STATUS_DEVICE_BUSY : NTSTATUS = NTSTATUS ( -2147483631i32 as _ ) ; pub const STATUS_DEVICE_CONFIGURATION_ERROR : NTSTATUS = NTSTATUS ( -1073741438i32 as _ ) ; pub const STATUS_DEVICE_DATA_ERROR : NTSTATUS = NTSTATUS ( -1073741668i32 as _ ) ; pub const STATUS_DEVICE_DOES_NOT_EXIST : NTSTATUS = NTSTATUS ( -1073741632i32 as _ ) ; pub const STATUS_DEVICE_DOOR_OPEN : NTSTATUS = NTSTATUS ( -2147482999i32 as _ ) ; pub const STATUS_DEVICE_ENUMERATION_ERROR : NTSTATUS = NTSTATUS ( -1073740954i32 as _ ) ; pub const STATUS_DEVICE_FEATURE_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1073740701i32 as _ ) ; pub const STATUS_DEVICE_HARDWARE_ERROR : NTSTATUS = NTSTATUS ( -1073740669i32 as _ ) ; pub const STATUS_DEVICE_HINT_NAME_BUFFER_TOO_SMALL : NTSTATUS = NTSTATUS ( -1073740650i32 as _ ) ; pub const STATUS_DEVICE_HUNG : NTSTATUS = NTSTATUS ( -1073740537i32 as _ ) ; pub const STATUS_DEVICE_INSUFFICIENT_RESOURCES : NTSTATUS = NTSTATUS ( -1073740696i32 as _ ) ; pub const STATUS_DEVICE_IN_MAINTENANCE : NTSTATUS = NTSTATUS ( -1073740647i32 as _ ) ; pub const STATUS_DEVICE_NOT_CONNECTED : NTSTATUS = NTSTATUS ( -1073741667i32 as _ ) ; pub const STATUS_DEVICE_NOT_PARTITIONED : NTSTATUS = NTSTATUS ( -1073741452i32 as _ ) ; pub const STATUS_DEVICE_NOT_READY : NTSTATUS = NTSTATUS ( -1073741661i32 as _ ) ; pub const STATUS_DEVICE_OFF_LINE : NTSTATUS = NTSTATUS ( -2147483632i32 as _ ) ; pub const STATUS_DEVICE_PAPER_EMPTY : NTSTATUS = NTSTATUS ( -2147483634i32 as _ ) ; pub const STATUS_DEVICE_POWERED_OFF : NTSTATUS = NTSTATUS ( -2147483633i32 as _ ) ; pub const STATUS_DEVICE_POWER_CYCLE_REQUIRED : NTSTATUS = NTSTATUS ( -2147483599i32 as _ ) ; pub const STATUS_DEVICE_POWER_FAILURE : NTSTATUS = NTSTATUS ( -1073741666i32 as _ ) ; pub const STATUS_DEVICE_PROTOCOL_ERROR : NTSTATUS = NTSTATUS ( -1073741434i32 as _ ) ; pub const STATUS_DEVICE_REMOVED : NTSTATUS = NTSTATUS ( -1073741130i32 as _ ) ; pub const STATUS_DEVICE_REQUIRES_CLEANING : NTSTATUS = NTSTATUS ( -2147483000i32 as _ ) ; pub const STATUS_DEVICE_SUPPORT_IN_PROGRESS : NTSTATUS = NTSTATUS ( -2147483600i32 as _ ) ; pub const STATUS_DEVICE_UNREACHABLE : NTSTATUS = NTSTATUS ( -1073740700i32 as _ ) ; pub const STATUS_DEVICE_UNRESPONSIVE : NTSTATUS = NTSTATUS ( -1073740534i32 as _ ) ; pub const STATUS_DFS_EXIT_PATH_FOUND : NTSTATUS = NTSTATUS ( -1073741669i32 as _ ) ; pub const STATUS_DFS_UNAVAILABLE : NTSTATUS = NTSTATUS ( -1073741203i32 as _ ) ; pub const STATUS_DIRECTORY_IS_A_REPARSE_POINT : NTSTATUS = NTSTATUS ( -1073741183i32 as _ ) ; pub const STATUS_DIRECTORY_NOT_EMPTY : NTSTATUS = NTSTATUS ( -1073741567i32 as _ ) ; pub const STATUS_DIRECTORY_NOT_RM : NTSTATUS = NTSTATUS ( -1072103416i32 as _ ) ; pub const STATUS_DIRECTORY_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1073740676i32 as _ ) ; pub const STATUS_DIRECTORY_SERVICE_REQUIRED : NTSTATUS = NTSTATUS ( -1073741135i32 as _ ) ; pub const STATUS_DISK_CORRUPT_ERROR : NTSTATUS = NTSTATUS ( -1073741774i32 as _ ) ; pub const STATUS_DISK_FULL : NTSTATUS = NTSTATUS ( -1073741697i32 as _ ) ; pub const STATUS_DISK_OPERATION_FAILED : NTSTATUS = NTSTATUS ( -1073741462i32 as _ ) ; pub const STATUS_DISK_QUOTA_EXCEEDED : NTSTATUS = NTSTATUS ( -1073739774i32 as _ ) ; pub const STATUS_DISK_RECALIBRATE_FAILED : NTSTATUS = NTSTATUS ( -1073741463i32 as _ ) ; pub const STATUS_DISK_REPAIR_DISABLED : NTSTATUS = NTSTATUS ( -1073739776i32 as _ ) ; pub const STATUS_DISK_REPAIR_REDIRECTED : NTSTATUS = NTSTATUS ( 1073743879i32 as _ ) ; pub const STATUS_DISK_REPAIR_UNSUCCESSFUL : NTSTATUS = NTSTATUS ( -1073739768i32 as _ ) ; pub const STATUS_DISK_RESET_FAILED : NTSTATUS = NTSTATUS ( -1073741461i32 as _ ) ; pub const STATUS_DISK_RESOURCES_EXHAUSTED : NTSTATUS = NTSTATUS ( -1073740703i32 as _ ) ; pub const STATUS_DLL_INIT_FAILED : NTSTATUS = NTSTATUS ( -1073741502i32 as _ ) ; pub const STATUS_DLL_INIT_FAILED_LOGOFF : NTSTATUS = NTSTATUS ( -1073741205i32 as _ ) ; pub const STATUS_DLL_MIGHT_BE_INCOMPATIBLE : NTSTATUS = NTSTATUS ( -2147483604i32 as _ ) ; pub const STATUS_DLL_MIGHT_BE_INSECURE : NTSTATUS = NTSTATUS ( -2147483605i32 as _ ) ; pub const STATUS_DLL_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073741515i32 as _ ) ; pub const STATUS_DOMAIN_CONTROLLER_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073741261i32 as _ ) ; pub const STATUS_DOMAIN_CTRLR_CONFIG_ERROR : NTSTATUS = NTSTATUS ( -1073741474i32 as _ ) ; pub const STATUS_DOMAIN_EXISTS : NTSTATUS = NTSTATUS ( -1073741600i32 as _ ) ; pub const STATUS_DOMAIN_LIMIT_EXCEEDED : NTSTATUS = NTSTATUS ( -1073741599i32 as _ ) ; pub const STATUS_DOMAIN_TRUST_INCONSISTENT : NTSTATUS = NTSTATUS ( -1073741413i32 as _ ) ; pub const STATUS_DRIVERS_LEAKING_LOCKED_PAGES : NTSTATUS = NTSTATUS ( 1073741869i32 as _ ) ; pub const STATUS_DRIVER_BLOCKED : NTSTATUS = NTSTATUS ( -1073740948i32 as _ ) ; pub const STATUS_DRIVER_BLOCKED_CRITICAL : NTSTATUS = NTSTATUS ( -1073740949i32 as _ ) ; pub const STATUS_DRIVER_CANCEL_TIMEOUT : NTSTATUS = NTSTATUS ( -1073741282i32 as _ ) ; pub const STATUS_DRIVER_DATABASE_ERROR : NTSTATUS = NTSTATUS ( -1073740947i32 as _ ) ; pub const STATUS_DRIVER_ENTRYPOINT_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073741213i32 as _ ) ; pub const STATUS_DRIVER_FAILED_PRIOR_UNLOAD : NTSTATUS = NTSTATUS ( -1073740914i32 as _ ) ; pub const STATUS_DRIVER_FAILED_SLEEP : NTSTATUS = NTSTATUS ( -1073741118i32 as _ ) ; pub const STATUS_DRIVER_INTERNAL_ERROR : NTSTATUS = NTSTATUS ( -1073741437i32 as _ ) ; pub const STATUS_DRIVER_ORDINAL_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073741214i32 as _ ) ; pub const STATUS_DRIVER_PROCESS_TERMINATED : NTSTATUS = NTSTATUS ( -1073740720i32 as _ ) ; pub const STATUS_DRIVER_UNABLE_TO_LOAD : NTSTATUS = NTSTATUS ( -1073741204i32 as _ ) ; pub const STATUS_DS_ADMIN_LIMIT_EXCEEDED : NTSTATUS = NTSTATUS ( -1073741119i32 as _ ) ; pub const STATUS_DS_AG_CANT_HAVE_UNIVERSAL_MEMBER : NTSTATUS = NTSTATUS ( -1073740968i32 as _ ) ; pub const STATUS_DS_ATTRIBUTE_OR_VALUE_EXISTS : NTSTATUS = NTSTATUS ( -1073741148i32 as _ ) ; pub const STATUS_DS_ATTRIBUTE_TYPE_UNDEFINED : NTSTATUS = NTSTATUS ( -1073741149i32 as _ ) ; pub const STATUS_DS_BUSY : NTSTATUS = NTSTATUS ( -1073741147i32 as _ ) ; pub const STATUS_DS_CANT_MOD_OBJ_CLASS : NTSTATUS = NTSTATUS ( -1073741138i32 as _ ) ; pub const STATUS_DS_CANT_MOD_PRIMARYGROUPID : NTSTATUS = NTSTATUS ( -1073741104i32 as _ ) ; pub const STATUS_DS_CANT_ON_NON_LEAF : NTSTATUS = NTSTATUS ( -1073741140i32 as _ ) ; pub const STATUS_DS_CANT_ON_RDN : NTSTATUS = NTSTATUS ( -1073741139i32 as _ ) ; pub const STATUS_DS_CANT_START : NTSTATUS = NTSTATUS ( -1073741087i32 as _ ) ; pub const STATUS_DS_CROSS_DOM_MOVE_FAILED : NTSTATUS = NTSTATUS ( -1073741137i32 as _ ) ; pub const STATUS_DS_DOMAIN_NAME_EXISTS_IN_FOREST : NTSTATUS = NTSTATUS ( -1073740774i32 as _ ) ; pub const STATUS_DS_DOMAIN_RENAME_IN_PROGRESS : NTSTATUS = NTSTATUS ( -1073739775i32 as _ ) ; pub const STATUS_DS_DUPLICATE_ID_FOUND : NTSTATUS = NTSTATUS ( -1073740795i32 as _ ) ; pub const STATUS_DS_FLAT_NAME_EXISTS_IN_FOREST : NTSTATUS = NTSTATUS ( -1073740773i32 as _ ) ; pub const STATUS_DS_GC_NOT_AVAILABLE : NTSTATUS = NTSTATUS ( -1073741136i32 as _ ) ; pub const STATUS_DS_GC_REQUIRED : NTSTATUS = NTSTATUS ( -1073741084i32 as _ ) ; pub const STATUS_DS_GLOBAL_CANT_HAVE_CROSSDOMAIN_MEMBER : NTSTATUS = NTSTATUS ( -1073741094i32 as _ ) ; pub const STATUS_DS_GLOBAL_CANT_HAVE_LOCAL_MEMBER : NTSTATUS = NTSTATUS ( -1073741097i32 as _ ) ; pub const STATUS_DS_GLOBAL_CANT_HAVE_UNIVERSAL_MEMBER : NTSTATUS = NTSTATUS ( -1073741096i32 as _ ) ; pub const STATUS_DS_GROUP_CONVERSION_ERROR : NTSTATUS = NTSTATUS ( -1073740794i32 as _ ) ; pub const STATUS_DS_HAVE_PRIMARY_MEMBERS : NTSTATUS = NTSTATUS ( -1073741092i32 as _ ) ; pub const STATUS_DS_INCORRECT_ROLE_OWNER : NTSTATUS = NTSTATUS ( -1073741143i32 as _ ) ; pub const STATUS_DS_INIT_FAILURE : NTSTATUS = NTSTATUS ( -1073741086i32 as _ ) ; pub const STATUS_DS_INIT_FAILURE_CONSOLE : NTSTATUS = NTSTATUS ( -1073741076i32 as _ ) ; pub const STATUS_DS_INVALID_ATTRIBUTE_SYNTAX : NTSTATUS = NTSTATUS ( -1073741150i32 as _ ) ; pub const STATUS_DS_INVALID_GROUP_TYPE : NTSTATUS = NTSTATUS ( -1073741100i32 as _ ) ; pub const STATUS_DS_LOCAL_CANT_HAVE_CROSSDOMAIN_LOCAL_MEMBER : NTSTATUS = NTSTATUS ( -1073741093i32 as _ ) ; pub const STATUS_DS_LOCAL_MEMBER_OF_LOCAL_ONLY : NTSTATUS = NTSTATUS ( -1073741083i32 as _ ) ; pub const STATUS_DS_MACHINE_ACCOUNT_QUOTA_EXCEEDED : NTSTATUS = NTSTATUS ( -1073741081i32 as _ ) ; pub const STATUS_DS_MEMBERSHIP_EVALUATED_LOCALLY : NTSTATUS = NTSTATUS ( 289i32 as _ ) ; pub const STATUS_DS_NAME_NOT_UNIQUE : NTSTATUS = NTSTATUS ( -1073740796i32 as _ ) ; pub const STATUS_DS_NO_ATTRIBUTE_OR_VALUE : NTSTATUS = NTSTATUS ( -1073741151i32 as _ ) ; pub const STATUS_DS_NO_FPO_IN_UNIVERSAL_GROUPS : NTSTATUS = NTSTATUS ( -1073741082i32 as _ ) ; pub const STATUS_DS_NO_MORE_RIDS : NTSTATUS = NTSTATUS ( -1073741144i32 as _ ) ; pub const STATUS_DS_NO_NEST_GLOBALGROUP_IN_MIXEDDOMAIN : NTSTATUS = NTSTATUS ( -1073741099i32 as _ ) ; pub const STATUS_DS_NO_NEST_LOCALGROUP_IN_MIXEDDOMAIN : NTSTATUS = NTSTATUS ( -1073741098i32 as _ ) ; pub const STATUS_DS_NO_RIDS_ALLOCATED : NTSTATUS = NTSTATUS ( -1073741145i32 as _ ) ; pub const STATUS_DS_OBJ_CLASS_VIOLATION : NTSTATUS = NTSTATUS ( -1073741141i32 as _ ) ; pub const STATUS_DS_OID_MAPPED_GROUP_CANT_HAVE_MEMBERS : NTSTATUS = NTSTATUS ( -1073700729i32 as _ ) ; pub const STATUS_DS_OID_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073700728i32 as _ ) ; pub const STATUS_DS_RIDMGR_DISABLED : NTSTATUS = NTSTATUS ( -1073741126i32 as _ ) ; pub const STATUS_DS_RIDMGR_INIT_ERROR : NTSTATUS = NTSTATUS ( -1073741142i32 as _ ) ; pub const STATUS_DS_SAM_INIT_FAILURE : NTSTATUS = NTSTATUS ( -1073741109i32 as _ ) ; pub const STATUS_DS_SAM_INIT_FAILURE_CONSOLE : NTSTATUS = NTSTATUS ( -1073741075i32 as _ ) ; pub const STATUS_DS_SENSITIVE_GROUP_VIOLATION : NTSTATUS = NTSTATUS ( -1073741107i32 as _ ) ; pub const STATUS_DS_SHUTTING_DOWN : NTSTATUS = NTSTATUS ( 1073742704i32 as _ ) ; pub const STATUS_DS_SRC_SID_EXISTS_IN_FOREST : NTSTATUS = NTSTATUS ( -1073740775i32 as _ ) ; pub const STATUS_DS_UNAVAILABLE : NTSTATUS = NTSTATUS ( -1073741146i32 as _ ) ; pub const STATUS_DS_UNIVERSAL_CANT_HAVE_LOCAL_MEMBER : NTSTATUS = NTSTATUS ( -1073741095i32 as _ ) ; pub const STATUS_DS_VERSION_CHECK_FAILURE : NTSTATUS = NTSTATUS ( -1073740971i32 as _ ) ; pub const STATUS_DUPLICATE_NAME : NTSTATUS = NTSTATUS ( -1073741635i32 as _ ) ; pub const STATUS_DUPLICATE_OBJECTID : NTSTATUS = NTSTATUS ( -1073741270i32 as _ ) ; pub const STATUS_DUPLICATE_PRIVILEGES : NTSTATUS = NTSTATUS ( -1073741402i32 as _ ) ; pub const STATUS_DYNAMIC_CODE_BLOCKED : NTSTATUS = NTSTATUS ( -1073740284i32 as _ ) ; pub const STATUS_EAS_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1073741745i32 as _ ) ; pub const STATUS_EA_CORRUPT_ERROR : NTSTATUS = NTSTATUS ( -1073741741i32 as _ ) ; pub const STATUS_EA_LIST_INCONSISTENT : NTSTATUS = NTSTATUS ( -2147483628i32 as _ ) ; pub const STATUS_EA_TOO_LARGE : NTSTATUS = NTSTATUS ( -1073741744i32 as _ ) ; pub const STATUS_EFS_ALG_BLOB_TOO_BIG : NTSTATUS = NTSTATUS ( -1073740974i32 as _ ) ; pub const STATUS_EFS_NOT_ALLOWED_IN_TRANSACTION : NTSTATUS = NTSTATUS ( -1072103362i32 as _ ) ; pub const STATUS_ELEVATION_REQUIRED : NTSTATUS = NTSTATUS ( -1073740756i32 as _ ) ; pub const STATUS_ENCLAVE_FAILURE : NTSTATUS = NTSTATUS ( -1073740657i32 as _ ) ; pub const STATUS_ENCLAVE_IS_TERMINATING : NTSTATUS = NTSTATUS ( -1073740526i32 as _ ) ; pub const STATUS_ENCLAVE_NOT_TERMINATED : NTSTATUS = NTSTATUS ( -1073740527i32 as _ ) ; pub const STATUS_ENCLAVE_VIOLATION : NTSTATUS = NTSTATUS ( -1073740638i32 as _ ) ; pub const STATUS_ENCOUNTERED_WRITE_IN_PROGRESS : NTSTATUS = NTSTATUS ( -1073740749i32 as _ ) ; pub const STATUS_ENCRYPTED_IO_NOT_POSSIBLE : NTSTATUS = NTSTATUS ( -1073739760i32 as _ ) ; pub const STATUS_ENCRYPTING_METADATA_DISALLOWED : NTSTATUS = NTSTATUS ( -1073740617i32 as _ ) ; pub const STATUS_ENCRYPTION_DISABLED : NTSTATUS = NTSTATUS ( -1073740618i32 as _ ) ; pub const STATUS_ENCRYPTION_FAILED : NTSTATUS = NTSTATUS ( -1073741174i32 as _ ) ; pub const STATUS_END_OF_FILE : NTSTATUS = NTSTATUS ( -1073741807i32 as _ ) ; pub const STATUS_END_OF_MEDIA : NTSTATUS = NTSTATUS ( -2147483618i32 as _ ) ; pub const STATUS_ENLISTMENT_NOT_FOUND : NTSTATUS = NTSTATUS ( -1072103344i32 as _ ) ; pub const STATUS_ENLISTMENT_NOT_SUPERIOR : NTSTATUS = NTSTATUS ( -1072103373i32 as _ ) ; pub const STATUS_ENTRYPOINT_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073741511i32 as _ ) ; pub const STATUS_EOF_ON_GHOSTED_RANGE : NTSTATUS = NTSTATUS ( -1073700857i32 as _ ) ; pub const STATUS_EOM_OVERFLOW : NTSTATUS = NTSTATUS ( -1073741449i32 as _ ) ; pub const STATUS_ERROR_PROCESS_NOT_IN_JOB : NTSTATUS = NTSTATUS ( -1073741394i32 as _ ) ; pub const STATUS_EVALUATION_EXPIRATION : NTSTATUS = NTSTATUS ( -1073741208i32 as _ ) ; pub const STATUS_EVENTLOG_CANT_START : NTSTATUS = NTSTATUS ( -1073741425i32 as _ ) ; pub const STATUS_EVENTLOG_FILE_CHANGED : NTSTATUS = NTSTATUS ( -1073741417i32 as _ ) ; pub const STATUS_EVENTLOG_FILE_CORRUPT : NTSTATUS = NTSTATUS ( -1073741426i32 as _ ) ; pub const STATUS_EVENT_DONE : NTSTATUS = NTSTATUS ( 1073741842i32 as _ ) ; pub const STATUS_EVENT_PENDING : NTSTATUS = NTSTATUS ( 1073741843i32 as _ ) ; pub const STATUS_EXECUTABLE_MEMORY_WRITE : NTSTATUS = NTSTATUS ( -1073739997i32 as _ ) ; pub const STATUS_EXPIRED_HANDLE : NTSTATUS = NTSTATUS ( -1072103328i32 as _ ) ; pub const STATUS_EXTERNAL_BACKING_PROVIDER_UNKNOWN : NTSTATUS = NTSTATUS ( -1073740690i32 as _ ) ; pub const STATUS_EXTERNAL_SYSKEY_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1073740639i32 as _ ) ; pub const STATUS_EXTRANEOUS_INFORMATION : NTSTATUS = NTSTATUS ( -2147483625i32 as _ ) ; pub const STATUS_FAILED_DRIVER_ENTRY : NTSTATUS = NTSTATUS ( -1073740955i32 as _ ) ; pub const STATUS_FAILED_STACK_SWITCH : NTSTATUS = NTSTATUS ( -1073740941i32 as _ ) ; pub const STATUS_FAIL_CHECK : NTSTATUS = NTSTATUS ( -1073741271i32 as _ ) ; pub const STATUS_FAIL_FAST_EXCEPTION : NTSTATUS = NTSTATUS ( -1073740286i32 as _ ) ; pub const STATUS_FASTPATH_REJECTED : NTSTATUS = NTSTATUS ( -1073700844i32 as _ ) ; pub const STATUS_FATAL_APP_EXIT : NTSTATUS = NTSTATUS ( 1073741845i32 as _ ) ; pub const STATUS_FATAL_MEMORY_EXHAUSTION : NTSTATUS = NTSTATUS ( -1073741395i32 as _ ) ; pub const STATUS_FATAL_USER_CALLBACK_EXCEPTION : NTSTATUS = NTSTATUS ( -1073740771i32 as _ ) ; pub const STATUS_FILEMARK_DETECTED : NTSTATUS = NTSTATUS ( -2147483621i32 as _ ) ; pub const STATUS_FILES_OPEN : NTSTATUS = NTSTATUS ( -1073741561i32 as _ ) ; pub const STATUS_FILE_CHECKED_OUT : NTSTATUS = NTSTATUS ( -1073739519i32 as _ ) ; pub const STATUS_FILE_CLOSED : NTSTATUS = NTSTATUS ( -1073741528i32 as _ ) ; pub const STATUS_FILE_CORRUPT_ERROR : NTSTATUS = NTSTATUS ( -1073741566i32 as _ ) ; pub const STATUS_FILE_DELETED : NTSTATUS = NTSTATUS ( -1073741533i32 as _ ) ; pub const STATUS_FILE_ENCRYPTED : NTSTATUS = NTSTATUS ( -1073741165i32 as _ ) ; pub const STATUS_FILE_FORCED_CLOSED : NTSTATUS = NTSTATUS ( -1073741642i32 as _ ) ; pub const STATUS_FILE_HANDLE_REVOKED : NTSTATUS = NTSTATUS ( -1073739504i32 as _ ) ; pub const STATUS_FILE_IDENTITY_NOT_PERSISTENT : NTSTATUS = NTSTATUS ( -1072103370i32 as _ ) ; pub const STATUS_FILE_INVALID : NTSTATUS = NTSTATUS ( -1073741672i32 as _ ) ; pub const STATUS_FILE_IS_A_DIRECTORY : NTSTATUS = NTSTATUS ( -1073741638i32 as _ ) ; pub const STATUS_FILE_IS_OFFLINE : NTSTATUS = NTSTATUS ( -1073741209i32 as _ ) ; pub const STATUS_FILE_LOCKED_WITH_ONLY_READERS : NTSTATUS = NTSTATUS ( 298i32 as _ ) ; pub const STATUS_FILE_LOCKED_WITH_WRITERS : NTSTATUS = NTSTATUS ( 299i32 as _ ) ; pub const STATUS_FILE_LOCK_CONFLICT : NTSTATUS = NTSTATUS ( -1073741740i32 as _ ) ; pub const STATUS_FILE_METADATA_OPTIMIZATION_IN_PROGRESS : NTSTATUS = NTSTATUS ( -1073741397i32 as _ ) ; pub const STATUS_FILE_NOT_AVAILABLE : NTSTATUS = NTSTATUS ( -1073740697i32 as _ ) ; pub const STATUS_FILE_NOT_ENCRYPTED : NTSTATUS = NTSTATUS ( -1073741167i32 as _ ) ; pub const STATUS_FILE_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1073740620i32 as _ ) ; pub const STATUS_FILE_PROTECTED_UNDER_DPL : NTSTATUS = NTSTATUS ( -1073740637i32 as _ ) ; pub const STATUS_FILE_RENAMED : NTSTATUS = NTSTATUS ( -1073741611i32 as _ ) ; pub const STATUS_FILE_SNAP_INVALID_PARAMETER : NTSTATUS = NTSTATUS ( -1073679099i32 as _ ) ; pub const STATUS_FILE_SNAP_IN_PROGRESS : NTSTATUS = NTSTATUS ( -1073679104i32 as _ ) ; pub const STATUS_FILE_SNAP_IO_NOT_COORDINATED : NTSTATUS = NTSTATUS ( -1073679101i32 as _ ) ; pub const STATUS_FILE_SNAP_MODIFY_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1073679102i32 as _ ) ; pub const STATUS_FILE_SNAP_UNEXPECTED_ERROR : NTSTATUS = NTSTATUS ( -1073679100i32 as _ ) ; pub const STATUS_FILE_SNAP_USER_SECTION_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1073679103i32 as _ ) ; pub const STATUS_FILE_SYSTEM_LIMITATION : NTSTATUS = NTSTATUS ( -1073740761i32 as _ ) ; pub const STATUS_FILE_SYSTEM_VIRTUALIZATION_BUSY : NTSTATUS = NTSTATUS ( -1073689085i32 as _ ) ; pub const STATUS_FILE_SYSTEM_VIRTUALIZATION_INVALID_OPERATION : NTSTATUS = NTSTATUS ( -1073689083i32 as _ ) ; pub const STATUS_FILE_SYSTEM_VIRTUALIZATION_METADATA_CORRUPT : NTSTATUS = NTSTATUS ( -1073689086i32 as _ ) ; pub const STATUS_FILE_SYSTEM_VIRTUALIZATION_PROVIDER_UNKNOWN : NTSTATUS = NTSTATUS ( -1073689084i32 as _ ) ; pub const STATUS_FILE_SYSTEM_VIRTUALIZATION_UNAVAILABLE : NTSTATUS = NTSTATUS ( -1073689087i32 as _ ) ; pub const STATUS_FILE_TOO_LARGE : NTSTATUS = NTSTATUS ( -1073739516i32 as _ ) ; pub const STATUS_FIRMWARE_IMAGE_INVALID : NTSTATUS = NTSTATUS ( -1073740667i32 as _ ) ; pub const STATUS_FIRMWARE_SLOT_INVALID : NTSTATUS = NTSTATUS ( -1073740668i32 as _ ) ; pub const STATUS_FIRMWARE_UPDATED : NTSTATUS = NTSTATUS ( 1073741868i32 as _ ) ; pub const STATUS_FLOATED_SECTION : NTSTATUS = NTSTATUS ( -1072103349i32 as _ ) ; pub const STATUS_FLOAT_DENORMAL_OPERAND : NTSTATUS = NTSTATUS ( -1073741683i32 as _ ) ; pub const STATUS_FLOAT_DIVIDE_BY_ZERO : NTSTATUS = NTSTATUS ( -1073741682i32 as _ ) ; pub const STATUS_FLOAT_INEXACT_RESULT : NTSTATUS = NTSTATUS ( -1073741681i32 as _ ) ; pub const STATUS_FLOAT_INVALID_OPERATION : NTSTATUS = NTSTATUS ( -1073741680i32 as _ ) ; pub const STATUS_FLOAT_MULTIPLE_FAULTS : NTSTATUS = NTSTATUS ( -1073741132i32 as _ ) ; pub const STATUS_FLOAT_MULTIPLE_TRAPS : NTSTATUS = NTSTATUS ( -1073741131i32 as _ ) ; pub const STATUS_FLOAT_OVERFLOW : NTSTATUS = NTSTATUS ( -1073741679i32 as _ ) ; pub const STATUS_FLOAT_STACK_CHECK : NTSTATUS = NTSTATUS ( -1073741678i32 as _ ) ; pub const STATUS_FLOAT_UNDERFLOW : NTSTATUS = NTSTATUS ( -1073741677i32 as _ ) ; pub const STATUS_FLOPPY_BAD_REGISTERS : NTSTATUS = NTSTATUS ( -1073741464i32 as _ ) ; pub const STATUS_FLOPPY_ID_MARK_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073741467i32 as _ ) ; pub const STATUS_FLOPPY_UNKNOWN_ERROR : NTSTATUS = NTSTATUS ( -1073741465i32 as _ ) ; pub const STATUS_FLOPPY_VOLUME : NTSTATUS = NTSTATUS ( -1073741468i32 as _ ) ; pub const STATUS_FLOPPY_WRONG_CYLINDER : NTSTATUS = NTSTATUS ( -1073741466i32 as _ ) ; pub const STATUS_FLT_ALREADY_ENLISTED : NTSTATUS = NTSTATUS ( -1071906789i32 as _ ) ; pub const STATUS_FLT_BUFFER_TOO_SMALL : NTSTATUS = NTSTATUS ( -2145648639i32 as _ ) ; pub const STATUS_FLT_CBDQ_DISABLED : NTSTATUS = NTSTATUS ( -1071906802i32 as _ ) ; pub const STATUS_FLT_CONTEXT_ALLOCATION_NOT_FOUND : NTSTATUS = NTSTATUS ( -1071906794i32 as _ ) ; pub const STATUS_FLT_CONTEXT_ALREADY_DEFINED : NTSTATUS = NTSTATUS ( -1071906814i32 as _ ) ; pub const STATUS_FLT_CONTEXT_ALREADY_LINKED : NTSTATUS = NTSTATUS ( -1071906788i32 as _ ) ; pub const STATUS_FLT_DELETING_OBJECT : NTSTATUS = NTSTATUS ( -1071906805i32 as _ ) ; pub const STATUS_FLT_DISALLOW_FAST_IO : NTSTATUS = NTSTATUS ( -1071906812i32 as _ ) ; pub const STATUS_FLT_DO_NOT_ATTACH : NTSTATUS = NTSTATUS ( -1071906801i32 as _ ) ; pub const STATUS_FLT_DO_NOT_DETACH : NTSTATUS = NTSTATUS ( -1071906800i32 as _ ) ; pub const STATUS_FLT_DUPLICATE_ENTRY : NTSTATUS = NTSTATUS ( -1071906803i32 as _ ) ; pub const STATUS_FLT_FILTER_NOT_FOUND : NTSTATUS = NTSTATUS ( -1071906797i32 as _ ) ; pub const STATUS_FLT_FILTER_NOT_READY : NTSTATUS = NTSTATUS ( -1071906808i32 as _ ) ; pub const STATUS_FLT_INSTANCE_ALTITUDE_COLLISION : NTSTATUS = NTSTATUS ( -1071906799i32 as _ ) ; pub const STATUS_FLT_INSTANCE_NAME_COLLISION : NTSTATUS = NTSTATUS ( -1071906798i32 as _ ) ; pub const STATUS_FLT_INSTANCE_NOT_FOUND : NTSTATUS = NTSTATUS ( -1071906795i32 as _ ) ; pub const STATUS_FLT_INTERNAL_ERROR : NTSTATUS = NTSTATUS ( -1071906806i32 as _ ) ; pub const STATUS_FLT_INVALID_ASYNCHRONOUS_REQUEST : NTSTATUS = NTSTATUS ( -1071906813i32 as _ ) ; pub const STATUS_FLT_INVALID_CONTEXT_REGISTRATION : NTSTATUS = NTSTATUS ( -1071906793i32 as _ ) ; pub const STATUS_FLT_INVALID_NAME_REQUEST : NTSTATUS = NTSTATUS ( -1071906811i32 as _ ) ; pub const STATUS_FLT_IO_COMPLETE : NTSTATUS = NTSTATUS ( 1835009i32 as _ ) ; pub const STATUS_FLT_MUST_BE_NONPAGED_POOL : NTSTATUS = NTSTATUS ( -1071906804i32 as _ ) ; pub const STATUS_FLT_NAME_CACHE_MISS : NTSTATUS = NTSTATUS ( -1071906792i32 as _ ) ; pub const STATUS_FLT_NOT_INITIALIZED : NTSTATUS = NTSTATUS ( -1071906809i32 as _ ) ; pub const STATUS_FLT_NOT_SAFE_TO_POST_OPERATION : NTSTATUS = NTSTATUS ( -1071906810i32 as _ ) ; pub const STATUS_FLT_NO_DEVICE_OBJECT : NTSTATUS = NTSTATUS ( -1071906791i32 as _ ) ; pub const STATUS_FLT_NO_HANDLER_DEFINED : NTSTATUS = NTSTATUS ( -1071906815i32 as _ ) ; pub const STATUS_FLT_NO_WAITER_FOR_REPLY : NTSTATUS = NTSTATUS ( -1071906784i32 as _ ) ; pub const STATUS_FLT_POST_OPERATION_CLEANUP : NTSTATUS = NTSTATUS ( -1071906807i32 as _ ) ; pub const STATUS_FLT_REGISTRATION_BUSY : NTSTATUS = NTSTATUS ( -1071906781i32 as _ ) ; pub const STATUS_FLT_VOLUME_ALREADY_MOUNTED : NTSTATUS = NTSTATUS ( -1071906790i32 as _ ) ; pub const STATUS_FLT_VOLUME_NOT_FOUND : NTSTATUS = NTSTATUS ( -1071906796i32 as _ ) ; pub const STATUS_FORMS_AUTH_REQUIRED : NTSTATUS = NTSTATUS ( -1073739515i32 as _ ) ; pub const STATUS_FOUND_OUT_OF_SCOPE : NTSTATUS = NTSTATUS ( -1073741266i32 as _ ) ; pub const STATUS_FREE_SPACE_TOO_FRAGMENTED : NTSTATUS = NTSTATUS ( -1073740645i32 as _ ) ; pub const STATUS_FREE_VM_NOT_AT_BASE : NTSTATUS = NTSTATUS ( -1073741665i32 as _ ) ; pub const STATUS_FSFILTER_OP_COMPLETED_SUCCESSFULLY : NTSTATUS = NTSTATUS ( 294i32 as _ ) ; pub const STATUS_FS_DRIVER_REQUIRED : NTSTATUS = NTSTATUS ( -1073741412i32 as _ ) ; pub const STATUS_FT_DI_SCAN_REQUIRED : NTSTATUS = NTSTATUS ( -1073740692i32 as _ ) ; pub const STATUS_FT_MISSING_MEMBER : NTSTATUS = NTSTATUS ( -1073741473i32 as _ ) ; pub const STATUS_FT_ORPHANING : NTSTATUS = NTSTATUS ( -1073741459i32 as _ ) ; pub const STATUS_FT_READ_FAILURE : NTSTATUS = NTSTATUS ( -1073740629i32 as _ ) ; pub const STATUS_FT_READ_FROM_COPY : NTSTATUS = NTSTATUS ( 1073741877i32 as _ ) ; pub const STATUS_FT_READ_RECOVERY_FROM_BACKUP : NTSTATUS = NTSTATUS ( 1073741834i32 as _ ) ; pub const STATUS_FT_WRITE_FAILURE : NTSTATUS = NTSTATUS ( -1073740693i32 as _ ) ; pub const STATUS_FT_WRITE_RECOVERY : NTSTATUS = NTSTATUS ( 1073741835i32 as _ ) ; pub const STATUS_FULLSCREEN_MODE : NTSTATUS = NTSTATUS ( -1073741479i32 as _ ) ; pub const STATUS_FVE_ACTION_NOT_ALLOWED : NTSTATUS = NTSTATUS ( -1071579127i32 as _ ) ; pub const STATUS_FVE_AUTH_INVALID_APPLICATION : NTSTATUS = NTSTATUS ( -1071579109i32 as _ ) ; pub const STATUS_FVE_AUTH_INVALID_CONFIG : NTSTATUS = NTSTATUS ( -1071579108i32 as _ ) ; pub const STATUS_FVE_BAD_DATA : NTSTATUS = NTSTATUS ( -1071579126i32 as _ ) ; pub const STATUS_FVE_BAD_INFORMATION : NTSTATUS = NTSTATUS ( -1071579134i32 as _ ) ; pub const STATUS_FVE_BAD_METADATA_POINTER : NTSTATUS = NTSTATUS ( -1071579105i32 as _ ) ; pub const STATUS_FVE_BAD_PARTITION_SIZE : NTSTATUS = NTSTATUS ( -1071579131i32 as _ ) ; pub const STATUS_FVE_CONV_READ_ERROR : NTSTATUS = NTSTATUS ( -1071579123i32 as _ ) ; pub const STATUS_FVE_CONV_RECOVERY_FAILED : NTSTATUS = NTSTATUS ( -1071579096i32 as _ ) ; pub const STATUS_FVE_CONV_WRITE_ERROR : NTSTATUS = NTSTATUS ( -1071579122i32 as _ ) ; pub const STATUS_FVE_DEBUGGER_ENABLED : NTSTATUS = NTSTATUS ( -1071579107i32 as _ ) ; pub const STATUS_FVE_DEVICE_LOCKEDOUT : NTSTATUS = NTSTATUS ( -1071579077i32 as _ ) ; pub const STATUS_FVE_DRY_RUN_FAILED : NTSTATUS = NTSTATUS ( -1071579106i32 as _ ) ; pub const STATUS_FVE_EDRIVE_DRY_RUN_FAILED : NTSTATUS = NTSTATUS ( -1071579080i32 as _ ) ; pub const STATUS_FVE_ENH_PIN_INVALID : NTSTATUS = NTSTATUS ( -1071579087i32 as _ ) ; pub const STATUS_FVE_FAILED_AUTHENTICATION : NTSTATUS = NTSTATUS ( -1071579119i32 as _ ) ; pub const STATUS_FVE_FAILED_SECTOR_SIZE : NTSTATUS = NTSTATUS ( -1071579120i32 as _ ) ; pub const STATUS_FVE_FAILED_WRONG_FS : NTSTATUS = NTSTATUS ( -1071579132i32 as _ ) ; pub const STATUS_FVE_FS_MOUNTED : NTSTATUS = NTSTATUS ( -1071579129i32 as _ ) ; pub const STATUS_FVE_FS_NOT_EXTENDED : NTSTATUS = NTSTATUS ( -1071579130i32 as _ ) ; pub const STATUS_FVE_FULL_ENCRYPTION_NOT_ALLOWED_ON_TP_STORAGE : NTSTATUS = NTSTATUS ( -1071579086i32 as _ ) ; pub const STATUS_FVE_INVALID_DATUM_TYPE : NTSTATUS = NTSTATUS ( -1071579094i32 as _ ) ; pub const STATUS_FVE_KEYFILE_INVALID : NTSTATUS = NTSTATUS ( -1071579116i32 as _ ) ; pub const STATUS_FVE_KEYFILE_NOT_FOUND : NTSTATUS = NTSTATUS ( -1071579117i32 as _ ) ; pub const STATUS_FVE_KEYFILE_NO_VMK : NTSTATUS = NTSTATUS ( -1071579115i32 as _ ) ; pub const STATUS_FVE_LOCKED_VOLUME : NTSTATUS = NTSTATUS ( -1071579136i32 as _ ) ; pub const STATUS_FVE_MOR_FAILED : NTSTATUS = NTSTATUS ( -1071579099i32 as _ ) ; pub const STATUS_FVE_NOT_ALLOWED_ON_CLUSTER : NTSTATUS = NTSTATUS ( -1071579083i32 as _ ) ; pub const STATUS_FVE_NOT_ALLOWED_ON_CSV_STACK : NTSTATUS = NTSTATUS ( -1071579084i32 as _ ) ; pub const STATUS_FVE_NOT_ALLOWED_TO_UPGRADE_WHILE_CONVERTING : NTSTATUS = NTSTATUS ( -1071579082i32 as _ ) ; pub const STATUS_FVE_NOT_DATA_VOLUME : NTSTATUS = NTSTATUS ( -1071579124i32 as _ ) ; pub const STATUS_FVE_NOT_DE_VOLUME : NTSTATUS = NTSTATUS ( -1071579075i32 as _ ) ; pub const STATUS_FVE_NOT_ENCRYPTED : NTSTATUS = NTSTATUS ( -1071579135i32 as _ ) ; pub const STATUS_FVE_NOT_OS_VOLUME : NTSTATUS = NTSTATUS ( -1071579118i32 as _ ) ; pub const STATUS_FVE_NO_AUTOUNLOCK_MASTER_KEY : NTSTATUS = NTSTATUS ( -1071579100i32 as _ ) ; pub const STATUS_FVE_NO_FEATURE_LICENSE : NTSTATUS = NTSTATUS ( -1071579098i32 as _ ) ; pub const STATUS_FVE_NO_LICENSE : NTSTATUS = NTSTATUS ( -1071579128i32 as _ ) ; pub const STATUS_FVE_OLD_METADATA_COPY : NTSTATUS = NTSTATUS ( -1071579104i32 as _ ) ; pub const STATUS_FVE_OSV_KSR_NOT_ALLOWED : NTSTATUS = NTSTATUS ( -1071579072i32 as _ ) ; pub const STATUS_FVE_OVERLAPPED_UPDATE : NTSTATUS = NTSTATUS ( -1071579121i32 as _ ) ; pub const STATUS_FVE_PARTIAL_METADATA : NTSTATUS = NTSTATUS ( -2145320959i32 as _ ) ; pub const STATUS_FVE_PIN_INVALID : NTSTATUS = NTSTATUS ( -1071579110i32 as _ ) ; pub const STATUS_FVE_POLICY_USER_DISABLE_RDV_NOT_ALLOWED : NTSTATUS = NTSTATUS ( -1071579097i32 as _ ) ; pub const STATUS_FVE_PROTECTION_CANNOT_BE_DISABLED : NTSTATUS = NTSTATUS ( -1071579073i32 as _ ) ; pub const STATUS_FVE_PROTECTION_DISABLED : NTSTATUS = NTSTATUS ( -1071579074i32 as _ ) ; pub const STATUS_FVE_RAW_ACCESS : NTSTATUS = NTSTATUS ( -1071579102i32 as _ ) ; pub const STATUS_FVE_RAW_BLOCKED : NTSTATUS = NTSTATUS ( -1071579101i32 as _ ) ; pub const STATUS_FVE_REBOOT_REQUIRED : NTSTATUS = NTSTATUS ( -1071579103i32 as _ ) ; pub const STATUS_FVE_SECUREBOOT_CONFIG_CHANGE : NTSTATUS = NTSTATUS ( -1071579078i32 as _ ) ; pub const STATUS_FVE_SECUREBOOT_DISABLED : NTSTATUS = NTSTATUS ( -1071579079i32 as _ ) ; pub const STATUS_FVE_TOO_SMALL : NTSTATUS = NTSTATUS ( -1071579133i32 as _ ) ; pub const STATUS_FVE_TPM_DISABLED : NTSTATUS = NTSTATUS ( -1071579114i32 as _ ) ; pub const STATUS_FVE_TPM_INVALID_PCR : NTSTATUS = NTSTATUS ( -1071579112i32 as _ ) ; pub const STATUS_FVE_TPM_NO_VMK : NTSTATUS = NTSTATUS ( -1071579111i32 as _ ) ; pub const STATUS_FVE_TPM_SRK_AUTH_NOT_ZERO : NTSTATUS = NTSTATUS ( -1071579113i32 as _ ) ; pub const STATUS_FVE_TRANSIENT_STATE : NTSTATUS = NTSTATUS ( -2145320958i32 as _ ) ; pub const STATUS_FVE_VIRTUALIZED_SPACE_TOO_BIG : NTSTATUS = NTSTATUS ( -1071579095i32 as _ ) ; pub const STATUS_FVE_VOLUME_EXTEND_PREVENTS_EOW_DECRYPT : NTSTATUS = NTSTATUS ( -1071579076i32 as _ ) ; pub const STATUS_FVE_VOLUME_NOT_BOUND : NTSTATUS = NTSTATUS ( -1071579125i32 as _ ) ; pub const STATUS_FVE_VOLUME_TOO_SMALL : NTSTATUS = NTSTATUS ( -1071579088i32 as _ ) ; pub const STATUS_FVE_WIPE_CANCEL_NOT_APPLICABLE : NTSTATUS = NTSTATUS ( -1071579081i32 as _ ) ; pub const STATUS_FVE_WIPE_NOT_ALLOWED_ON_TP_STORAGE : NTSTATUS = NTSTATUS ( -1071579085i32 as _ ) ; pub const STATUS_FWP_ACTION_INCOMPATIBLE_WITH_LAYER : NTSTATUS = NTSTATUS ( -1071513556i32 as _ ) ; pub const STATUS_FWP_ACTION_INCOMPATIBLE_WITH_SUBLAYER : NTSTATUS = NTSTATUS ( -1071513555i32 as _ ) ; pub const STATUS_FWP_ALREADY_EXISTS : NTSTATUS = NTSTATUS ( -1071513591i32 as _ ) ; pub const STATUS_FWP_BUILTIN_OBJECT : NTSTATUS = NTSTATUS ( -1071513577i32 as _ ) ; pub const STATUS_FWP_CALLOUT_NOTIFICATION_FAILED : NTSTATUS = NTSTATUS ( -1071513545i32 as _ ) ; pub const STATUS_FWP_CALLOUT_NOT_FOUND : NTSTATUS = NTSTATUS ( -1071513599i32 as _ ) ; pub const STATUS_FWP_CANNOT_PEND : NTSTATUS = NTSTATUS ( -1071513341i32 as _ ) ; pub const STATUS_FWP_CONDITION_NOT_FOUND : NTSTATUS = NTSTATUS ( -1071513598i32 as _ ) ; pub const STATUS_FWP_CONNECTIONS_DISABLED : NTSTATUS = NTSTATUS ( -1071513535i32 as _ ) ; pub const STATUS_FWP_CONTEXT_INCOMPATIBLE_WITH_CALLOUT : NTSTATUS = NTSTATUS ( -1071513553i32 as _ ) ; pub const STATUS_FWP_CONTEXT_INCOMPATIBLE_WITH_LAYER : NTSTATUS = NTSTATUS ( -1071513554i32 as _ ) ; pub const STATUS_FWP_DROP_NOICMP : NTSTATUS = NTSTATUS ( -1071513340i32 as _ ) ; pub const STATUS_FWP_DUPLICATE_AUTH_METHOD : NTSTATUS = NTSTATUS ( -1071513540i32 as _ ) ; pub const STATUS_FWP_DUPLICATE_CONDITION : NTSTATUS = NTSTATUS ( -1071513558i32 as _ ) ; pub const STATUS_FWP_DUPLICATE_KEYMOD : NTSTATUS = NTSTATUS ( -1071513557i32 as _ ) ; pub const STATUS_FWP_DYNAMIC_SESSION_IN_PROGRESS : NTSTATUS = NTSTATUS ( -1071513589i32 as _ ) ; pub const STATUS_FWP_EM_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1071513550i32 as _ ) ; pub const STATUS_FWP_FILTER_NOT_FOUND : NTSTATUS = NTSTATUS ( -1071513597i32 as _ ) ; pub const STATUS_FWP_IKEEXT_NOT_RUNNING : NTSTATUS = NTSTATUS ( -1071513532i32 as _ ) ; pub const STATUS_FWP_INCOMPATIBLE_AUTH_METHOD : NTSTATUS = NTSTATUS ( -1071513552i32 as _ ) ; pub const STATUS_FWP_INCOMPATIBLE_CIPHER_TRANSFORM : NTSTATUS = NTSTATUS ( -1071513542i32 as _ ) ; pub const STATUS_FWP_INCOMPATIBLE_DH_GROUP : NTSTATUS = NTSTATUS ( -1071513551i32 as _ ) ; pub const STATUS_FWP_INCOMPATIBLE_LAYER : NTSTATUS = NTSTATUS ( -1071513580i32 as _ ) ; pub const STATUS_FWP_INCOMPATIBLE_SA_STATE : NTSTATUS = NTSTATUS ( -1071513573i32 as _ ) ; pub const STATUS_FWP_INCOMPATIBLE_TXN : NTSTATUS = NTSTATUS ( -1071513583i32 as _ ) ; pub const STATUS_FWP_INJECT_HANDLE_CLOSING : NTSTATUS = NTSTATUS ( -1071513343i32 as _ ) ; pub const STATUS_FWP_INJECT_HANDLE_STALE : NTSTATUS = NTSTATUS ( -1071513342i32 as _ ) ; pub const STATUS_FWP_INVALID_ACTION_TYPE : NTSTATUS = NTSTATUS ( -1071513564i32 as _ ) ; pub const STATUS_FWP_INVALID_AUTH_TRANSFORM : NTSTATUS = NTSTATUS ( -1071513544i32 as _ ) ; pub const STATUS_FWP_INVALID_CIPHER_TRANSFORM : NTSTATUS = NTSTATUS ( -1071513543i32 as _ ) ; pub const STATUS_FWP_INVALID_DNS_NAME : NTSTATUS = NTSTATUS ( -1071513534i32 as _ ) ; pub const STATUS_FWP_INVALID_ENUMERATOR : NTSTATUS = NTSTATUS ( -1071513571i32 as _ ) ; pub const STATUS_FWP_INVALID_FLAGS : NTSTATUS = NTSTATUS ( -1071513570i32 as _ ) ; pub const STATUS_FWP_INVALID_INTERVAL : NTSTATUS = NTSTATUS ( -1071513567i32 as _ ) ; pub const STATUS_FWP_INVALID_NET_MASK : NTSTATUS = NTSTATUS ( -1071513569i32 as _ ) ; pub const STATUS_FWP_INVALID_PARAMETER : NTSTATUS = NTSTATUS ( -1071513547i32 as _ ) ; pub const STATUS_FWP_INVALID_RANGE : NTSTATUS = NTSTATUS ( -1071513568i32 as _ ) ; pub const STATUS_FWP_INVALID_TRANSFORM_COMBINATION : NTSTATUS = NTSTATUS ( -1071513541i32 as _ ) ; pub const STATUS_FWP_INVALID_TUNNEL_ENDPOINT : NTSTATUS = NTSTATUS ( -1071513539i32 as _ ) ; pub const STATUS_FWP_INVALID_WEIGHT : NTSTATUS = NTSTATUS ( -1071513563i32 as _ ) ; pub const STATUS_FWP_IN_USE : NTSTATUS = NTSTATUS ( -1071513590i32 as _ ) ; pub const STATUS_FWP_KEY_DICTATION_INVALID_KEYING_MATERIAL : NTSTATUS = NTSTATUS ( -1071513536i32 as _ ) ; pub const STATUS_FWP_KEY_DICTATOR_ALREADY_REGISTERED : NTSTATUS = NTSTATUS ( -1071513537i32 as _ ) ; pub const STATUS_FWP_KM_CLIENTS_ONLY : NTSTATUS = NTSTATUS ( -1071513579i32 as _ ) ; pub const STATUS_FWP_L2_DRIVER_NOT_READY : NTSTATUS = NTSTATUS ( -1071513538i32 as _ ) ; pub const STATUS_FWP_LAYER_NOT_FOUND : NTSTATUS = NTSTATUS ( -1071513596i32 as _ ) ; pub const STATUS_FWP_LIFETIME_MISMATCH : NTSTATUS = NTSTATUS ( -1071513578i32 as _ ) ; pub const STATUS_FWP_MATCH_TYPE_MISMATCH : NTSTATUS = NTSTATUS ( -1071513562i32 as _ ) ; pub const STATUS_FWP_NET_EVENTS_DISABLED : NTSTATUS = NTSTATUS ( -1071513581i32 as _ ) ; pub const STATUS_FWP_NEVER_MATCH : NTSTATUS = NTSTATUS ( -1071513549i32 as _ ) ; pub const STATUS_FWP_NOTIFICATION_DROPPED : NTSTATUS = NTSTATUS ( -1071513575i32 as _ ) ; pub const STATUS_FWP_NOT_FOUND : NTSTATUS = NTSTATUS ( -1071513592i32 as _ ) ; pub const STATUS_FWP_NO_TXN_IN_PROGRESS : NTSTATUS = NTSTATUS ( -1071513587i32 as _ ) ; pub const STATUS_FWP_NULL_DISPLAY_NAME : NTSTATUS = NTSTATUS ( -1071513565i32 as _ ) ; pub const STATUS_FWP_NULL_POINTER : NTSTATUS = NTSTATUS ( -1071513572i32 as _ ) ; pub const STATUS_FWP_OUT_OF_BOUNDS : NTSTATUS = NTSTATUS ( -1071513560i32 as _ ) ; pub const STATUS_FWP_PROVIDER_CONTEXT_MISMATCH : NTSTATUS = NTSTATUS ( -1071513548i32 as _ ) ; pub const STATUS_FWP_PROVIDER_CONTEXT_NOT_FOUND : NTSTATUS = NTSTATUS ( -1071513594i32 as _ ) ; pub const STATUS_FWP_PROVIDER_NOT_FOUND : NTSTATUS = NTSTATUS ( -1071513595i32 as _ ) ; pub const STATUS_FWP_RESERVED : NTSTATUS = NTSTATUS ( -1071513559i32 as _ ) ; pub const STATUS_FWP_SESSION_ABORTED : NTSTATUS = NTSTATUS ( -1071513584i32 as _ ) ; pub const STATUS_FWP_STILL_ON : NTSTATUS = NTSTATUS ( -1071513533i32 as _ ) ; pub const STATUS_FWP_SUBLAYER_NOT_FOUND : NTSTATUS = NTSTATUS ( -1071513593i32 as _ ) ; pub const STATUS_FWP_TCPIP_NOT_READY : NTSTATUS = NTSTATUS ( -1071513344i32 as _ ) ; pub const STATUS_FWP_TIMEOUT : NTSTATUS = NTSTATUS ( -1071513582i32 as _ ) ; pub const STATUS_FWP_TOO_MANY_CALLOUTS : NTSTATUS = NTSTATUS ( -1071513576i32 as _ ) ; pub const STATUS_FWP_TOO_MANY_SUBLAYERS : NTSTATUS = NTSTATUS ( -1071513546i32 as _ ) ; pub const STATUS_FWP_TRAFFIC_MISMATCH : NTSTATUS = NTSTATUS ( -1071513574i32 as _ ) ; pub const STATUS_FWP_TXN_ABORTED : NTSTATUS = NTSTATUS ( -1071513585i32 as _ ) ; pub const STATUS_FWP_TXN_IN_PROGRESS : NTSTATUS = NTSTATUS ( -1071513586i32 as _ ) ; pub const STATUS_FWP_TYPE_MISMATCH : NTSTATUS = NTSTATUS ( -1071513561i32 as _ ) ; pub const STATUS_FWP_WRONG_SESSION : NTSTATUS = NTSTATUS ( -1071513588i32 as _ ) ; pub const STATUS_FWP_ZERO_LENGTH_ARRAY : NTSTATUS = NTSTATUS ( -1071513566i32 as _ ) ; pub const STATUS_GDI_HANDLE_LEAK : NTSTATUS = NTSTATUS ( -2143354879i32 as _ ) ; pub const STATUS_GENERIC_COMMAND_FAILED : NTSTATUS = NTSTATUS ( -1072365530i32 as _ ) ; pub const STATUS_GENERIC_NOT_MAPPED : NTSTATUS = NTSTATUS ( -1073741594i32 as _ ) ; pub const STATUS_GHOSTED : NTSTATUS = NTSTATUS ( 303i32 as _ ) ; pub const STATUS_GPIO_CLIENT_INFORMATION_INVALID : NTSTATUS = NTSTATUS ( -1073700574i32 as _ ) ; pub const STATUS_GPIO_INCOMPATIBLE_CONNECT_MODE : NTSTATUS = NTSTATUS ( -1073700570i32 as _ ) ; pub const STATUS_GPIO_INTERRUPT_ALREADY_UNMASKED : NTSTATUS = NTSTATUS ( -2147442393i32 as _ ) ; pub const STATUS_GPIO_INVALID_REGISTRATION_PACKET : NTSTATUS = NTSTATUS ( -1073700572i32 as _ ) ; pub const STATUS_GPIO_OPERATION_DENIED : NTSTATUS = NTSTATUS ( -1073700571i32 as _ ) ; pub const STATUS_GPIO_VERSION_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1073700573i32 as _ ) ; pub const STATUS_GRACEFUL_DISCONNECT : NTSTATUS = NTSTATUS ( -1073741257i32 as _ ) ; pub const STATUS_GRAPHICS_ADAPTER_ACCESS_NOT_EXCLUDED : NTSTATUS = NTSTATUS ( -1071774661i32 as _ ) ; pub const STATUS_GRAPHICS_ADAPTER_CHAIN_NOT_READY : NTSTATUS = NTSTATUS ( -1071774669i32 as _ ) ; pub const STATUS_GRAPHICS_ADAPTER_MUST_HAVE_AT_LEAST_ONE_SOURCE : NTSTATUS = NTSTATUS ( -1071774936i32 as _ ) ; pub const STATUS_GRAPHICS_ADAPTER_MUST_HAVE_AT_LEAST_ONE_TARGET : NTSTATUS = NTSTATUS ( -1071774935i32 as _ ) ; pub const STATUS_GRAPHICS_ADAPTER_WAS_RESET : NTSTATUS = NTSTATUS ( -1071775741i32 as _ ) ; pub const STATUS_GRAPHICS_ALLOCATION_BUSY : NTSTATUS = NTSTATUS ( -1071775486i32 as _ ) ; pub const STATUS_GRAPHICS_ALLOCATION_CLOSED : NTSTATUS = NTSTATUS ( -1071775470i32 as _ ) ; pub const STATUS_GRAPHICS_ALLOCATION_CONTENT_LOST : NTSTATUS = NTSTATUS ( -1071775466i32 as _ ) ; pub const STATUS_GRAPHICS_ALLOCATION_INVALID : NTSTATUS = NTSTATUS ( -1071775482i32 as _ ) ; pub const STATUS_GRAPHICS_CANCEL_VIDPN_TOPOLOGY_AUGMENTATION : NTSTATUS = NTSTATUS ( -1071774886i32 as _ ) ; pub const STATUS_GRAPHICS_CANNOTCOLORCONVERT : NTSTATUS = NTSTATUS ( -1071775736i32 as _ ) ; pub const STATUS_GRAPHICS_CANT_ACCESS_ACTIVE_VIDPN : NTSTATUS = NTSTATUS ( -1071774909i32 as _ ) ; pub const STATUS_GRAPHICS_CANT_EVICT_PINNED_ALLOCATION : NTSTATUS = NTSTATUS ( -1071775479i32 as _ ) ; pub const STATUS_GRAPHICS_CANT_LOCK_MEMORY : NTSTATUS = NTSTATUS ( -1071775487i32 as _ ) ; pub const STATUS_GRAPHICS_CANT_RENDER_LOCKED_ALLOCATION : NTSTATUS = NTSTATUS ( -1071775471i32 as _ ) ; pub const STATUS_GRAPHICS_CHAINLINKS_NOT_ENUMERATED : NTSTATUS = NTSTATUS ( -1071774670i32 as _ ) ; pub const STATUS_GRAPHICS_CHAINLINKS_NOT_POWERED_ON : NTSTATUS = NTSTATUS ( -1071774667i32 as _ ) ; pub const STATUS_GRAPHICS_CHAINLINKS_NOT_STARTED : NTSTATUS = NTSTATUS ( -1071774668i32 as _ ) ; pub const STATUS_GRAPHICS_CHILD_DESCRIPTOR_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1071774719i32 as _ ) ; pub const STATUS_GRAPHICS_CLIENTVIDPN_NOT_SET : NTSTATUS = NTSTATUS ( -1071774884i32 as _ ) ; pub const STATUS_GRAPHICS_COPP_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1071774463i32 as _ ) ; pub const STATUS_GRAPHICS_DATASET_IS_EMPTY : NTSTATUS = NTSTATUS ( 1075708747i32 as _ ) ; pub const STATUS_GRAPHICS_DDCCI_INVALID_CAPABILITIES_STRING : NTSTATUS = NTSTATUS ( -1071774329i32 as _ ) ; pub const STATUS_GRAPHICS_DDCCI_INVALID_DATA : NTSTATUS = NTSTATUS ( -1071774331i32 as _ ) ; pub const STATUS_GRAPHICS_DDCCI_INVALID_MESSAGE_CHECKSUM : NTSTATUS = NTSTATUS ( -1071774325i32 as _ ) ; pub const STATUS_GRAPHICS_DDCCI_INVALID_MESSAGE_COMMAND : NTSTATUS = NTSTATUS ( -1071774327i32 as _ ) ; pub const STATUS_GRAPHICS_DDCCI_INVALID_MESSAGE_LENGTH : NTSTATUS = NTSTATUS ( -1071774326i32 as _ ) ; pub const STATUS_GRAPHICS_DDCCI_MONITOR_RETURNED_INVALID_TIMING_STATUS_BYTE : NTSTATUS = NTSTATUS ( -1071774330i32 as _ ) ; pub const STATUS_GRAPHICS_DDCCI_VCP_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1071774332i32 as _ ) ; pub const STATUS_GRAPHICS_DEPENDABLE_CHILD_STATUS : NTSTATUS = NTSTATUS ( 1075708988i32 as _ ) ; pub const STATUS_GRAPHICS_DISPLAY_DEVICE_NOT_ATTACHED_TO_DESKTOP : NTSTATUS = NTSTATUS ( -1071774238i32 as _ ) ; pub const STATUS_GRAPHICS_DRIVER_MISMATCH : NTSTATUS = NTSTATUS ( -1071775735i32 as _ ) ; pub const STATUS_GRAPHICS_EMPTY_ADAPTER_MONITOR_MODE_SUPPORT_INTERSECTION : NTSTATUS = NTSTATUS ( -1071774939i32 as _ ) ; pub const STATUS_GRAPHICS_FREQUENCYRANGE_ALREADY_IN_SET : NTSTATUS = NTSTATUS ( -1071774945i32 as _ ) ; pub const STATUS_GRAPHICS_FREQUENCYRANGE_NOT_IN_SET : NTSTATUS = NTSTATUS ( -1071774947i32 as _ ) ; pub const STATUS_GRAPHICS_GAMMA_RAMP_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1071774904i32 as _ ) ; pub const STATUS_GRAPHICS_GPU_EXCEPTION_ON_DEVICE : NTSTATUS = NTSTATUS ( -1071775232i32 as _ ) ; pub const STATUS_GRAPHICS_I2C_DEVICE_DOES_NOT_EXIST : NTSTATUS = NTSTATUS ( -1071774335i32 as _ ) ; pub const STATUS_GRAPHICS_I2C_ERROR_RECEIVING_DATA : NTSTATUS = NTSTATUS ( -1071774333i32 as _ ) ; pub const STATUS_GRAPHICS_I2C_ERROR_TRANSMITTING_DATA : NTSTATUS = NTSTATUS ( -1071774334i32 as _ ) ; pub const STATUS_GRAPHICS_I2C_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1071774336i32 as _ ) ; pub const STATUS_GRAPHICS_INCOMPATIBLE_PRIVATE_FORMAT : NTSTATUS = NTSTATUS ( -1071774891i32 as _ ) ; pub const STATUS_GRAPHICS_INCONSISTENT_DEVICE_LINK_STATE : NTSTATUS = NTSTATUS ( -1071774666i32 as _ ) ; pub const STATUS_GRAPHICS_INDIRECT_DISPLAY_ABANDON_SWAPCHAIN : NTSTATUS = NTSTATUS ( -1071775726i32 as _ ) ; pub const STATUS_GRAPHICS_INDIRECT_DISPLAY_DEVICE_STOPPED : NTSTATUS = NTSTATUS ( -1071775725i32 as _ ) ; pub const STATUS_GRAPHICS_INSUFFICIENT_DMA_BUFFER : NTSTATUS = NTSTATUS ( -1071775743i32 as _ ) ; pub const STATUS_GRAPHICS_INTERNAL_ERROR : NTSTATUS = NTSTATUS ( -1071774233i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_ACTIVE_REGION : NTSTATUS = NTSTATUS ( -1071774965i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_ALLOCATION_HANDLE : NTSTATUS = NTSTATUS ( -1071775468i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_ALLOCATION_INSTANCE : NTSTATUS = NTSTATUS ( -1071775469i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_ALLOCATION_USAGE : NTSTATUS = NTSTATUS ( -1071775472i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_CLIENT_TYPE : NTSTATUS = NTSTATUS ( -1071774885i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_COLORBASIS : NTSTATUS = NTSTATUS ( -1071774914i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_COPYPROTECTION_TYPE : NTSTATUS = NTSTATUS ( -1071774897i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_DISPLAY_ADAPTER : NTSTATUS = NTSTATUS ( -1071775742i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_DRIVER_MODEL : NTSTATUS = NTSTATUS ( -1071775740i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_FREQUENCY : NTSTATUS = NTSTATUS ( -1071774966i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_GAMMA_RAMP : NTSTATUS = NTSTATUS ( -1071774905i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_MODE_PRUNING_ALGORITHM : NTSTATUS = NTSTATUS ( -1071774890i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_MONITORDESCRIPTOR : NTSTATUS = NTSTATUS ( -1071774933i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_MONITORDESCRIPTORSET : NTSTATUS = NTSTATUS ( -1071774934i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_MONITOR_CAPABILITY_ORIGIN : NTSTATUS = NTSTATUS ( -1071774889i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_MONITOR_FREQUENCYRANGE : NTSTATUS = NTSTATUS ( -1071774948i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_MONITOR_FREQUENCYRANGESET : NTSTATUS = NTSTATUS ( -1071774949i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_MONITOR_FREQUENCYRANGE_CONSTRAINT : NTSTATUS = NTSTATUS ( -1071774888i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_MONITOR_SOURCEMODESET : NTSTATUS = NTSTATUS ( -1071774943i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_MONITOR_SOURCE_MODE : NTSTATUS = NTSTATUS ( -1071774942i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_PATH_CONTENT_GEOMETRY_TRANSFORMATION : NTSTATUS = NTSTATUS ( -1071774907i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_PATH_CONTENT_TYPE : NTSTATUS = NTSTATUS ( -1071774898i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_PATH_IMPORTANCE_ORDINAL : NTSTATUS = NTSTATUS ( -1071774908i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_PHYSICAL_MONITOR_HANDLE : NTSTATUS = NTSTATUS ( -1071774324i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_PIXELFORMAT : NTSTATUS = NTSTATUS ( -1071774915i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_PIXELVALUEACCESSMODE : NTSTATUS = NTSTATUS ( -1071774913i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_POINTER : NTSTATUS = NTSTATUS ( -1071774236i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_PRIMARYSURFACE_SIZE : NTSTATUS = NTSTATUS ( -1071774918i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_SCANLINE_ORDERING : NTSTATUS = NTSTATUS ( -1071774894i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_STRIDE : NTSTATUS = NTSTATUS ( -1071774916i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_TOTAL_REGION : NTSTATUS = NTSTATUS ( -1071774964i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_VIDEOPRESENTSOURCESET : NTSTATUS = NTSTATUS ( -1071774955i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_VIDEOPRESENTTARGETSET : NTSTATUS = NTSTATUS ( -1071774954i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_VIDEO_PRESENT_SOURCE : NTSTATUS = NTSTATUS ( -1071774972i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_VIDEO_PRESENT_SOURCE_MODE : NTSTATUS = NTSTATUS ( -1071774960i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_VIDEO_PRESENT_TARGET : NTSTATUS = NTSTATUS ( -1071774971i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_VIDEO_PRESENT_TARGET_MODE : NTSTATUS = NTSTATUS ( -1071774959i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_VIDPN : NTSTATUS = NTSTATUS ( -1071774973i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_VIDPN_PRESENT_PATH : NTSTATUS = NTSTATUS ( -1071774951i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_VIDPN_SOURCEMODESET : NTSTATUS = NTSTATUS ( -1071774968i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_VIDPN_TARGETMODESET : NTSTATUS = NTSTATUS ( -1071774967i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_VIDPN_TARGET_SUBSET_TYPE : NTSTATUS = NTSTATUS ( -1071774929i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_VIDPN_TOPOLOGY : NTSTATUS = NTSTATUS ( -1071774976i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_VIDPN_TOPOLOGY_RECOMMENDATION_REASON : NTSTATUS = NTSTATUS ( -1071774899i32 as _ ) ; pub const STATUS_GRAPHICS_INVALID_VISIBLEREGION_SIZE : NTSTATUS = NTSTATUS ( -1071774917i32 as _ ) ; pub const STATUS_GRAPHICS_LEADLINK_NOT_ENUMERATED : NTSTATUS = NTSTATUS ( -1071774671i32 as _ ) ; pub const STATUS_GRAPHICS_LEADLINK_START_DEFERRED : NTSTATUS = NTSTATUS ( 1075708983i32 as _ ) ; pub const STATUS_GRAPHICS_MAX_NUM_PATHS_REACHED : NTSTATUS = NTSTATUS ( -1071774887i32 as _ ) ; pub const STATUS_GRAPHICS_MCA_INTERNAL_ERROR : NTSTATUS = NTSTATUS ( -1071774328i32 as _ ) ; pub const STATUS_GRAPHICS_MIRRORING_DEVICES_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1071774237i32 as _ ) ; pub const STATUS_GRAPHICS_MODE_ALREADY_IN_MODESET : NTSTATUS = NTSTATUS ( -1071774956i32 as _ ) ; pub const STATUS_GRAPHICS_MODE_ID_MUST_BE_UNIQUE : NTSTATUS = NTSTATUS ( -1071774940i32 as _ ) ; pub const STATUS_GRAPHICS_MODE_NOT_IN_MODESET : NTSTATUS = NTSTATUS ( -1071774902i32 as _ ) ; pub const STATUS_GRAPHICS_MODE_NOT_PINNED : NTSTATUS = NTSTATUS ( 1075708679i32 as _ ) ; pub const STATUS_GRAPHICS_MONITORDESCRIPTOR_ALREADY_IN_SET : NTSTATUS = NTSTATUS ( -1071774931i32 as _ ) ; pub const STATUS_GRAPHICS_MONITORDESCRIPTOR_ID_MUST_BE_UNIQUE : NTSTATUS = NTSTATUS ( -1071774930i32 as _ ) ; pub const STATUS_GRAPHICS_MONITORDESCRIPTOR_NOT_IN_SET : NTSTATUS = NTSTATUS ( -1071774932i32 as _ ) ; pub const STATUS_GRAPHICS_MONITOR_COULD_NOT_BE_ASSOCIATED_WITH_ADAPTER : NTSTATUS = NTSTATUS ( -1071774924i32 as _ ) ; pub const STATUS_GRAPHICS_MONITOR_NOT_CONNECTED : NTSTATUS = NTSTATUS ( -1071774920i32 as _ ) ; pub const STATUS_GRAPHICS_MONITOR_NO_LONGER_EXISTS : NTSTATUS = NTSTATUS ( -1071774323i32 as _ ) ; pub const STATUS_GRAPHICS_MULTISAMPLING_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1071774903i32 as _ ) ; pub const STATUS_GRAPHICS_NOT_A_LINKED_ADAPTER : NTSTATUS = NTSTATUS ( -1071774672i32 as _ ) ; pub const STATUS_GRAPHICS_NOT_EXCLUSIVE_MODE_OWNER : NTSTATUS = NTSTATUS ( -1071775744i32 as _ ) ; pub const STATUS_GRAPHICS_NOT_POST_DEVICE_DRIVER : NTSTATUS = NTSTATUS ( -1071774664i32 as _ ) ; pub const STATUS_GRAPHICS_NO_ACTIVE_VIDPN : NTSTATUS = NTSTATUS ( -1071774922i32 as _ ) ; pub const STATUS_GRAPHICS_NO_AVAILABLE_IMPORTANCE_ORDINALS : NTSTATUS = NTSTATUS ( -1071774892i32 as _ ) ; pub const STATUS_GRAPHICS_NO_AVAILABLE_VIDPN_TARGET : NTSTATUS = NTSTATUS ( -1071774925i32 as _ ) ; pub const STATUS_GRAPHICS_NO_DISPLAY_DEVICE_CORRESPONDS_TO_NAME : NTSTATUS = NTSTATUS ( -1071774239i32 as _ ) ; pub const STATUS_GRAPHICS_NO_DISPLAY_MODE_MANAGEMENT_SUPPORT : NTSTATUS = NTSTATUS ( -1071774911i32 as _ ) ; pub const STATUS_GRAPHICS_NO_MONITORS_CORRESPOND_TO_DISPLAY_DEVICE : NTSTATUS = NTSTATUS ( -1071774235i32 as _ ) ; pub const STATUS_GRAPHICS_NO_MORE_ELEMENTS_IN_DATASET : NTSTATUS = NTSTATUS ( 1075708748i32 as _ ) ; pub const STATUS_GRAPHICS_NO_PREFERRED_MODE : NTSTATUS = NTSTATUS ( 1075708702i32 as _ ) ; pub const STATUS_GRAPHICS_NO_RECOMMENDED_FUNCTIONAL_VIDPN : NTSTATUS = NTSTATUS ( -1071774941i32 as _ ) ; pub const STATUS_GRAPHICS_NO_RECOMMENDED_VIDPN_TOPOLOGY : NTSTATUS = NTSTATUS ( -1071774950i32 as _ ) ; pub const STATUS_GRAPHICS_NO_VIDEO_MEMORY : NTSTATUS = NTSTATUS ( -1071775488i32 as _ ) ; pub const STATUS_GRAPHICS_NO_VIDPNMGR : NTSTATUS = NTSTATUS ( -1071774923i32 as _ ) ; pub const STATUS_GRAPHICS_ONLY_CONSOLE_SESSION_SUPPORTED : NTSTATUS = NTSTATUS ( -1071774240i32 as _ ) ; pub const STATUS_GRAPHICS_OPM_ALL_HDCP_HARDWARE_ALREADY_IN_USE : NTSTATUS = NTSTATUS ( -1071774440i32 as _ ) ; pub const STATUS_GRAPHICS_OPM_DRIVER_INTERNAL_ERROR : NTSTATUS = NTSTATUS ( -1071774434i32 as _ ) ; pub const STATUS_GRAPHICS_OPM_HDCP_SRM_NEVER_SET : NTSTATUS = NTSTATUS ( -1071774442i32 as _ ) ; pub const STATUS_GRAPHICS_OPM_INTERNAL_ERROR : NTSTATUS = NTSTATUS ( -1071774453i32 as _ ) ; pub const STATUS_GRAPHICS_OPM_INVALID_CONFIGURATION_REQUEST : NTSTATUS = NTSTATUS ( -1071774431i32 as _ ) ; pub const STATUS_GRAPHICS_OPM_INVALID_ENCRYPTED_PARAMETERS : NTSTATUS = NTSTATUS ( -1071774461i32 as _ ) ; pub const STATUS_GRAPHICS_OPM_INVALID_HANDLE : NTSTATUS = NTSTATUS ( -1071774452i32 as _ ) ; pub const STATUS_GRAPHICS_OPM_INVALID_INFORMATION_REQUEST : NTSTATUS = NTSTATUS ( -1071774435i32 as _ ) ; pub const STATUS_GRAPHICS_OPM_INVALID_SRM : NTSTATUS = NTSTATUS ( -1071774446i32 as _ ) ; pub const STATUS_GRAPHICS_OPM_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1071774464i32 as _ ) ; pub const STATUS_GRAPHICS_OPM_NO_PROTECTED_OUTPUTS_EXIST : NTSTATUS = NTSTATUS ( -1071774459i32 as _ ) ; pub const STATUS_GRAPHICS_OPM_OUTPUT_DOES_NOT_SUPPORT_ACP : NTSTATUS = NTSTATUS ( -1071774444i32 as _ ) ; pub const STATUS_GRAPHICS_OPM_OUTPUT_DOES_NOT_SUPPORT_CGMSA : NTSTATUS = NTSTATUS ( -1071774443i32 as _ ) ; pub const STATUS_GRAPHICS_OPM_OUTPUT_DOES_NOT_SUPPORT_HDCP : NTSTATUS = NTSTATUS ( -1071774445i32 as _ ) ; pub const STATUS_GRAPHICS_OPM_PROTECTED_OUTPUT_DOES_NOT_HAVE_COPP_SEMANTICS : NTSTATUS = NTSTATUS ( -1071774436i32 as _ ) ; pub const STATUS_GRAPHICS_OPM_PROTECTED_OUTPUT_DOES_NOT_HAVE_OPM_SEMANTICS : NTSTATUS = NTSTATUS ( -1071774433i32 as _ ) ; pub const STATUS_GRAPHICS_OPM_PROTECTED_OUTPUT_NO_LONGER_EXISTS : NTSTATUS = NTSTATUS ( -1071774438i32 as _ ) ; pub const STATUS_GRAPHICS_OPM_RESOLUTION_TOO_HIGH : NTSTATUS = NTSTATUS ( -1071774441i32 as _ ) ; pub const STATUS_GRAPHICS_OPM_SIGNALING_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1071774432i32 as _ ) ; pub const STATUS_GRAPHICS_OPM_SPANNING_MODE_ENABLED : NTSTATUS = NTSTATUS ( -1071774449i32 as _ ) ; pub const STATUS_GRAPHICS_OPM_THEATER_MODE_ENABLED : NTSTATUS = NTSTATUS ( -1071774448i32 as _ ) ; pub const STATUS_GRAPHICS_PARAMETER_ARRAY_TOO_SMALL : NTSTATUS = NTSTATUS ( -1071774234i32 as _ ) ; pub const STATUS_GRAPHICS_PARTIAL_DATA_POPULATED : NTSTATUS = NTSTATUS ( 1075707914i32 as _ ) ; pub const STATUS_GRAPHICS_PATH_ALREADY_IN_TOPOLOGY : NTSTATUS = NTSTATUS ( -1071774957i32 as _ ) ; pub const STATUS_GRAPHICS_PATH_CONTENT_GEOMETRY_TRANSFORMATION_NOT_PINNED : NTSTATUS = NTSTATUS ( 1075708753i32 as _ ) ; pub const STATUS_GRAPHICS_PATH_CONTENT_GEOMETRY_TRANSFORMATION_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1071774906i32 as _ ) ; pub const STATUS_GRAPHICS_PATH_NOT_IN_TOPOLOGY : NTSTATUS = NTSTATUS ( -1071774937i32 as _ ) ; pub const STATUS_GRAPHICS_PINNED_MODE_MUST_REMAIN_IN_SET : NTSTATUS = NTSTATUS ( -1071774958i32 as _ ) ; pub const STATUS_GRAPHICS_POLLING_TOO_FREQUENTLY : NTSTATUS = NTSTATUS ( 1075708985i32 as _ ) ; pub const STATUS_GRAPHICS_PRESENT_BUFFER_NOT_BOUND : NTSTATUS = NTSTATUS ( -1071775728i32 as _ ) ; pub const STATUS_GRAPHICS_PRESENT_DENIED : NTSTATUS = NTSTATUS ( -1071775737i32 as _ ) ; pub const STATUS_GRAPHICS_PRESENT_INVALID_WINDOW : NTSTATUS = NTSTATUS ( -1071775729i32 as _ ) ; pub const STATUS_GRAPHICS_PRESENT_MODE_CHANGED : NTSTATUS = NTSTATUS ( -1071775739i32 as _ ) ; pub const STATUS_GRAPHICS_PRESENT_OCCLUDED : NTSTATUS = NTSTATUS ( -1071775738i32 as _ ) ; pub const STATUS_GRAPHICS_PRESENT_REDIRECTION_DISABLED : NTSTATUS = NTSTATUS ( -1071775733i32 as _ ) ; pub const STATUS_GRAPHICS_PRESENT_UNOCCLUDED : NTSTATUS = NTSTATUS ( -1071775732i32 as _ ) ; pub const STATUS_GRAPHICS_PVP_HFS_FAILED : NTSTATUS = NTSTATUS ( -1071774447i32 as _ ) ; pub const STATUS_GRAPHICS_PVP_INVALID_CERTIFICATE_LENGTH : NTSTATUS = NTSTATUS ( -1071774450i32 as _ ) ; pub const STATUS_GRAPHICS_RESOURCES_NOT_RELATED : NTSTATUS = NTSTATUS ( -1071774928i32 as _ ) ; pub const STATUS_GRAPHICS_SESSION_TYPE_CHANGE_IN_PROGRESS : NTSTATUS = NTSTATUS ( -1071774232i32 as _ ) ; pub const STATUS_GRAPHICS_SKIP_ALLOCATION_PREPARATION : NTSTATUS = NTSTATUS ( 1075708417i32 as _ ) ; pub const STATUS_GRAPHICS_SOURCE_ALREADY_IN_SET : NTSTATUS = NTSTATUS ( -1071774953i32 as _ ) ; pub const STATUS_GRAPHICS_SOURCE_ID_MUST_BE_UNIQUE : NTSTATUS = NTSTATUS ( -1071774927i32 as _ ) ; pub const STATUS_GRAPHICS_SOURCE_NOT_IN_TOPOLOGY : NTSTATUS = NTSTATUS ( -1071774919i32 as _ ) ; pub const STATUS_GRAPHICS_SPECIFIED_CHILD_ALREADY_CONNECTED : NTSTATUS = NTSTATUS ( -1071774720i32 as _ ) ; pub const STATUS_GRAPHICS_STALE_MODESET : NTSTATUS = NTSTATUS ( -1071774944i32 as _ ) ; pub const STATUS_GRAPHICS_STALE_VIDPN_TOPOLOGY : NTSTATUS = NTSTATUS ( -1071774921i32 as _ ) ; pub const STATUS_GRAPHICS_START_DEFERRED : NTSTATUS = NTSTATUS ( 1075708986i32 as _ ) ; pub const STATUS_GRAPHICS_TARGET_ALREADY_IN_SET : NTSTATUS = NTSTATUS ( -1071774952i32 as _ ) ; pub const STATUS_GRAPHICS_TARGET_ID_MUST_BE_UNIQUE : NTSTATUS = NTSTATUS ( -1071774926i32 as _ ) ; pub const STATUS_GRAPHICS_TARGET_NOT_IN_TOPOLOGY : NTSTATUS = NTSTATUS ( -1071774912i32 as _ ) ; pub const STATUS_GRAPHICS_TOO_MANY_REFERENCES : NTSTATUS = NTSTATUS ( -1071775485i32 as _ ) ; pub const STATUS_GRAPHICS_TOPOLOGY_CHANGES_NOT_ALLOWED : NTSTATUS = NTSTATUS ( -1071774893i32 as _ ) ; pub const STATUS_GRAPHICS_TRY_AGAIN_LATER : NTSTATUS = NTSTATUS ( -1071775484i32 as _ ) ; pub const STATUS_GRAPHICS_TRY_AGAIN_NOW : NTSTATUS = NTSTATUS ( -1071775483i32 as _ ) ; pub const STATUS_GRAPHICS_UAB_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1071774462i32 as _ ) ; pub const STATUS_GRAPHICS_UNASSIGNED_MODESET_ALREADY_EXISTS : NTSTATUS = NTSTATUS ( -1071774896i32 as _ ) ; pub const STATUS_GRAPHICS_UNKNOWN_CHILD_STATUS : NTSTATUS = NTSTATUS ( 1075708975i32 as _ ) ; pub const STATUS_GRAPHICS_UNSWIZZLING_APERTURE_UNAVAILABLE : NTSTATUS = NTSTATUS ( -1071775481i32 as _ ) ; pub const STATUS_GRAPHICS_UNSWIZZLING_APERTURE_UNSUPPORTED : NTSTATUS = NTSTATUS ( -1071775480i32 as _ ) ; pub const STATUS_GRAPHICS_VAIL_STATE_CHANGED : NTSTATUS = NTSTATUS ( -1071775727i32 as _ ) ; pub const STATUS_GRAPHICS_VIDEO_PRESENT_TARGETS_LESS_THAN_SOURCES : NTSTATUS = NTSTATUS ( -1071774938i32 as _ ) ; pub const STATUS_GRAPHICS_VIDPN_MODALITY_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1071774970i32 as _ ) ; pub const STATUS_GRAPHICS_VIDPN_SOURCE_IN_USE : NTSTATUS = NTSTATUS ( -1071774910i32 as _ ) ; pub const STATUS_GRAPHICS_VIDPN_TOPOLOGY_CURRENTLY_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1071774974i32 as _ ) ; pub const STATUS_GRAPHICS_VIDPN_TOPOLOGY_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1071774975i32 as _ ) ; pub const STATUS_GRAPHICS_WINDOWDC_NOT_AVAILABLE : NTSTATUS = NTSTATUS ( -1071775731i32 as _ ) ; pub const STATUS_GRAPHICS_WINDOWLESS_PRESENT_DISABLED : NTSTATUS = NTSTATUS ( -1071775730i32 as _ ) ; pub const STATUS_GRAPHICS_WRONG_ALLOCATION_DEVICE : NTSTATUS = NTSTATUS ( -1071775467i32 as _ ) ; pub const STATUS_GROUP_EXISTS : NTSTATUS = NTSTATUS ( -1073741723i32 as _ ) ; pub const STATUS_GUARD_PAGE_VIOLATION : NTSTATUS = NTSTATUS ( -2147483647i32 as _ ) ; pub const STATUS_GUIDS_EXHAUSTED : NTSTATUS = NTSTATUS ( -1073741693i32 as _ ) ; pub const STATUS_GUID_SUBSTITUTION_MADE : NTSTATUS = NTSTATUS ( -2147483636i32 as _ ) ; pub const STATUS_HANDLES_CLOSED : NTSTATUS = NTSTATUS ( -2147483638i32 as _ ) ; pub const STATUS_HANDLE_NOT_CLOSABLE : NTSTATUS = NTSTATUS ( -1073741259i32 as _ ) ; pub const STATUS_HANDLE_NO_LONGER_VALID : NTSTATUS = NTSTATUS ( -1072103384i32 as _ ) ; pub const STATUS_HANDLE_REVOKED : NTSTATUS = NTSTATUS ( -1073700858i32 as _ ) ; pub const STATUS_HARDWARE_MEMORY_ERROR : NTSTATUS = NTSTATUS ( -1073740023i32 as _ ) ; pub const STATUS_HASH_NOT_PRESENT : NTSTATUS = NTSTATUS ( -1073700607i32 as _ ) ; pub const STATUS_HASH_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1073700608i32 as _ ) ; pub const STATUS_HDAUDIO_CONNECTION_LIST_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1069285373i32 as _ ) ; pub const STATUS_HDAUDIO_EMPTY_CONNECTION_LIST : NTSTATUS = NTSTATUS ( -1069285374i32 as _ ) ; pub const STATUS_HDAUDIO_NO_LOGICAL_DEVICES_CREATED : NTSTATUS = NTSTATUS ( -1069285372i32 as _ ) ; pub const STATUS_HDAUDIO_NULL_LINKED_LIST_ENTRY : NTSTATUS = NTSTATUS ( -1069285371i32 as _ ) ; pub const STATUS_HEAP_CORRUPTION : NTSTATUS = NTSTATUS ( -1073740940i32 as _ ) ; pub const STATUS_HEURISTIC_DAMAGE_POSSIBLE : NTSTATUS = NTSTATUS ( 1075380225i32 as _ ) ; pub const STATUS_HIBERNATED : NTSTATUS = NTSTATUS ( 1073741866i32 as _ ) ; pub const STATUS_HIBERNATION_FAILURE : NTSTATUS = NTSTATUS ( -1073740783i32 as _ ) ; pub const STATUS_HIVE_UNLOADED : NTSTATUS = NTSTATUS ( -1073740763i32 as _ ) ; pub const STATUS_HMAC_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1073700863i32 as _ ) ; pub const STATUS_HOPLIMIT_EXCEEDED : NTSTATUS = NTSTATUS ( -1073700846i32 as _ ) ; pub const STATUS_HOST_DOWN : NTSTATUS = NTSTATUS ( -1073740976i32 as _ ) ; pub const STATUS_HOST_UNREACHABLE : NTSTATUS = NTSTATUS ( -1073741251i32 as _ ) ; pub const STATUS_HUNG_DISPLAY_DRIVER_THREAD : NTSTATUS = NTSTATUS ( -1073740779i32 as _ ) ; pub const STATUS_HV_ACCESS_DENIED : NTSTATUS = NTSTATUS ( -1070268410i32 as _ ) ; pub const STATUS_HV_ACKNOWLEDGED : NTSTATUS = NTSTATUS ( -1070268394i32 as _ ) ; pub const STATUS_HV_CPUID_FEATURE_VALIDATION_ERROR : NTSTATUS = NTSTATUS ( -1070268356i32 as _ ) ; pub const STATUS_HV_CPUID_XSAVE_FEATURE_VALIDATION_ERROR : NTSTATUS = NTSTATUS ( -1070268355i32 as _ ) ; pub const STATUS_HV_EVENT_BUFFER_ALREADY_FREED : NTSTATUS = NTSTATUS ( -1070268300i32 as _ ) ; pub const STATUS_HV_FEATURE_UNAVAILABLE : NTSTATUS = NTSTATUS ( -1070268386i32 as _ ) ; pub const STATUS_HV_INACTIVE : NTSTATUS = NTSTATUS ( -1070268388i32 as _ ) ; pub const STATUS_HV_INSUFFICIENT_BUFFER : NTSTATUS = NTSTATUS ( -1070268365i32 as _ ) ; pub const STATUS_HV_INSUFFICIENT_BUFFERS : NTSTATUS = NTSTATUS ( -1070268397i32 as _ ) ; pub const STATUS_HV_INSUFFICIENT_CONTIGUOUS_MEMORY : NTSTATUS = NTSTATUS ( -1070268299i32 as _ ) ; pub const STATUS_HV_INSUFFICIENT_DEVICE_DOMAINS : NTSTATUS = NTSTATUS ( -1070268360i32 as _ ) ; pub const STATUS_HV_INSUFFICIENT_MEMORY : NTSTATUS = NTSTATUS ( -1070268405i32 as _ ) ; pub const STATUS_HV_INSUFFICIENT_ROOT_MEMORY : NTSTATUS = NTSTATUS ( -1070268301i32 as _ ) ; pub const STATUS_HV_INVALID_ALIGNMENT : NTSTATUS = NTSTATUS ( -1070268412i32 as _ ) ; pub const STATUS_HV_INVALID_CONNECTION_ID : NTSTATUS = NTSTATUS ( -1070268398i32 as _ ) ; pub const STATUS_HV_INVALID_CPU_GROUP_ID : NTSTATUS = NTSTATUS ( -1070268305i32 as _ ) ; pub const STATUS_HV_INVALID_CPU_GROUP_STATE : NTSTATUS = NTSTATUS ( -1070268304i32 as _ ) ; pub const STATUS_HV_INVALID_DEVICE_ID : NTSTATUS = NTSTATUS ( -1070268329i32 as _ ) ; pub const STATUS_HV_INVALID_DEVICE_STATE : NTSTATUS = NTSTATUS ( -1070268328i32 as _ ) ; pub const STATUS_HV_INVALID_HYPERCALL_CODE : NTSTATUS = NTSTATUS ( -1070268414i32 as _ ) ; pub const STATUS_HV_INVALID_HYPERCALL_INPUT : NTSTATUS = NTSTATUS ( -1070268413i32 as _ ) ; pub const STATUS_HV_INVALID_LP_INDEX : NTSTATUS = NTSTATUS ( -1070268351i32 as _ ) ; pub const STATUS_HV_INVALID_PARAMETER : NTSTATUS = NTSTATUS ( -1070268411i32 as _ ) ; pub const STATUS_HV_INVALID_PARTITION_ID : NTSTATUS = NTSTATUS ( -1070268403i32 as _ ) ; pub const STATUS_HV_INVALID_PARTITION_STATE : NTSTATUS = NTSTATUS ( -1070268409i32 as _ ) ; pub const STATUS_HV_INVALID_PORT_ID : NTSTATUS = NTSTATUS ( -1070268399i32 as _ ) ; pub const STATUS_HV_INVALID_PROXIMITY_DOMAIN_INFO : NTSTATUS = NTSTATUS ( -1070268390i32 as _ ) ; pub const STATUS_HV_INVALID_REGISTER_VALUE : NTSTATUS = NTSTATUS ( -1070268336i32 as _ ) ; pub const STATUS_HV_INVALID_SAVE_RESTORE_STATE : NTSTATUS = NTSTATUS ( -1070268393i32 as _ ) ; pub const STATUS_HV_INVALID_SYNIC_STATE : NTSTATUS = NTSTATUS ( -1070268392i32 as _ ) ; pub const STATUS_HV_INVALID_VP_INDEX : NTSTATUS = NTSTATUS ( -1070268402i32 as _ ) ; pub const STATUS_HV_INVALID_VP_STATE : NTSTATUS = NTSTATUS ( -1070268395i32 as _ ) ; pub const STATUS_HV_INVALID_VTL_STATE : NTSTATUS = NTSTATUS ( -1070268335i32 as _ ) ; pub const STATUS_HV_NOT_ACKNOWLEDGED : NTSTATUS = NTSTATUS ( -1070268396i32 as _ ) ; pub const STATUS_HV_NOT_ALLOWED_WITH_NESTED_VIRT_ACTIVE : NTSTATUS = NTSTATUS ( -1070268302i32 as _ ) ; pub const STATUS_HV_NOT_PRESENT : NTSTATUS = NTSTATUS ( -1070264320i32 as _ ) ; pub const STATUS_HV_NO_DATA : NTSTATUS = NTSTATUS ( -1070268389i32 as _ ) ; pub const STATUS_HV_NO_RESOURCES : NTSTATUS = NTSTATUS ( -1070268387i32 as _ ) ; pub const STATUS_HV_NX_NOT_DETECTED : NTSTATUS = NTSTATUS ( -1070268331i32 as _ ) ; pub const STATUS_HV_OBJECT_IN_USE : NTSTATUS = NTSTATUS ( -1070268391i32 as _ ) ; pub const STATUS_HV_OPERATION_DENIED : NTSTATUS = NTSTATUS ( -1070268408i32 as _ ) ; pub const STATUS_HV_OPERATION_FAILED : NTSTATUS = NTSTATUS ( -1070268303i32 as _ ) ; pub const STATUS_HV_PAGE_REQUEST_INVALID : NTSTATUS = NTSTATUS ( -1070268320i32 as _ ) ; pub const STATUS_HV_PARTITION_TOO_DEEP : NTSTATUS = NTSTATUS ( -1070268404i32 as _ ) ; pub const STATUS_HV_PENDING_PAGE_REQUESTS : NTSTATUS = NTSTATUS ( 3473497i32 as _ ) ; pub const STATUS_HV_PROCESSOR_STARTUP_TIMEOUT : NTSTATUS = NTSTATUS ( -1070268354i32 as _ ) ; pub const STATUS_HV_PROPERTY_VALUE_OUT_OF_RANGE : NTSTATUS = NTSTATUS ( -1070268406i32 as _ ) ; pub const STATUS_HV_SMX_ENABLED : NTSTATUS = NTSTATUS ( -1070268353i32 as _ ) ; pub const STATUS_HV_UNKNOWN_PROPERTY : NTSTATUS = NTSTATUS ( -1070268407i32 as _ ) ; pub const STATUS_ILLEGAL_CHARACTER : NTSTATUS = NTSTATUS ( -1073741471i32 as _ ) ; pub const STATUS_ILLEGAL_DLL_RELOCATION : NTSTATUS = NTSTATUS ( -1073741207i32 as _ ) ; pub const STATUS_ILLEGAL_ELEMENT_ADDRESS : NTSTATUS = NTSTATUS ( -1073741179i32 as _ ) ; pub const STATUS_ILLEGAL_FLOAT_CONTEXT : NTSTATUS = NTSTATUS ( -1073741494i32 as _ ) ; pub const STATUS_ILLEGAL_FUNCTION : NTSTATUS = NTSTATUS ( -1073741649i32 as _ ) ; pub const STATUS_ILLEGAL_INSTRUCTION : NTSTATUS = NTSTATUS ( -1073741795i32 as _ ) ; pub const STATUS_ILL_FORMED_PASSWORD : NTSTATUS = NTSTATUS ( -1073741717i32 as _ ) ; pub const STATUS_ILL_FORMED_SERVICE_ENTRY : NTSTATUS = NTSTATUS ( -1073741472i32 as _ ) ; pub const STATUS_IMAGE_ALREADY_LOADED : NTSTATUS = NTSTATUS ( -1073741554i32 as _ ) ; pub const STATUS_IMAGE_ALREADY_LOADED_AS_DLL : NTSTATUS = NTSTATUS ( -1073741411i32 as _ ) ; pub const STATUS_IMAGE_AT_DIFFERENT_BASE : NTSTATUS = NTSTATUS ( 1073741878i32 as _ ) ; pub const STATUS_IMAGE_CERT_EXPIRED : NTSTATUS = NTSTATUS ( -1073740283i32 as _ ) ; pub const STATUS_IMAGE_CERT_REVOKED : NTSTATUS = NTSTATUS ( -1073740285i32 as _ ) ; pub const STATUS_IMAGE_CHECKSUM_MISMATCH : NTSTATUS = NTSTATUS ( -1073741279i32 as _ ) ; pub const STATUS_IMAGE_MACHINE_TYPE_MISMATCH : NTSTATUS = NTSTATUS ( 1073741838i32 as _ ) ; pub const STATUS_IMAGE_MACHINE_TYPE_MISMATCH_EXE : NTSTATUS = NTSTATUS ( 1073741859i32 as _ ) ; pub const STATUS_IMAGE_MP_UP_MISMATCH : NTSTATUS = NTSTATUS ( -1073741239i32 as _ ) ; pub const STATUS_IMAGE_NOT_AT_BASE : NTSTATUS = NTSTATUS ( 1073741827i32 as _ ) ; pub const STATUS_IMAGE_SUBSYSTEM_NOT_PRESENT : NTSTATUS = NTSTATUS ( -1073741405i32 as _ ) ; pub const STATUS_IMPLEMENTATION_LIMIT : NTSTATUS = NTSTATUS ( -1073740757i32 as _ ) ; pub const STATUS_INCOMPATIBLE_DRIVER_BLOCKED : NTSTATUS = NTSTATUS ( -1073740764i32 as _ ) ; pub const STATUS_INCOMPATIBLE_FILE_MAP : NTSTATUS = NTSTATUS ( -1073741747i32 as _ ) ; pub const STATUS_INCOMPATIBLE_WITH_GLOBAL_SHORT_NAME_REGISTRY_SETTING : NTSTATUS = NTSTATUS ( -1073741410i32 as _ ) ; pub const STATUS_INCORRECT_ACCOUNT_TYPE : NTSTATUS = NTSTATUS ( -1073700727i32 as _ ) ; pub const STATUS_INDOUBT_TRANSACTIONS_EXIST : NTSTATUS = NTSTATUS ( -1072103366i32 as _ ) ; pub const STATUS_INFO_LENGTH_MISMATCH : NTSTATUS = NTSTATUS ( -1073741820i32 as _ ) ; pub const STATUS_INSTANCE_NOT_AVAILABLE : NTSTATUS = NTSTATUS ( -1073741653i32 as _ ) ; pub const STATUS_INSTRUCTION_MISALIGNMENT : NTSTATUS = NTSTATUS ( -1073741654i32 as _ ) ; pub const STATUS_INSUFFICIENT_LOGON_INFO : NTSTATUS = NTSTATUS ( -1073741232i32 as _ ) ; pub const STATUS_INSUFFICIENT_NVRAM_RESOURCES : NTSTATUS = NTSTATUS ( -1073740716i32 as _ ) ; pub const STATUS_INSUFFICIENT_POWER : NTSTATUS = NTSTATUS ( -1073741090i32 as _ ) ; pub const STATUS_INSUFFICIENT_RESOURCES : NTSTATUS = NTSTATUS ( -1073741670i32 as _ ) ; pub const STATUS_INSUFFICIENT_RESOURCE_FOR_SPECIFIED_SHARED_SECTION_SIZE : NTSTATUS = NTSTATUS ( -1073740778i32 as _ ) ; pub const STATUS_INSUFF_SERVER_RESOURCES : NTSTATUS = NTSTATUS ( -1073741307i32 as _ ) ; pub const STATUS_INTEGER_DIVIDE_BY_ZERO : NTSTATUS = NTSTATUS ( -1073741676i32 as _ ) ; pub const STATUS_INTEGER_OVERFLOW : NTSTATUS = NTSTATUS ( -1073741675i32 as _ ) ; pub const STATUS_INTERMIXED_KERNEL_EA_OPERATION : NTSTATUS = NTSTATUS ( -1073740687i32 as _ ) ; pub const STATUS_INTERNAL_DB_CORRUPTION : NTSTATUS = NTSTATUS ( -1073741596i32 as _ ) ; pub const STATUS_INTERNAL_DB_ERROR : NTSTATUS = NTSTATUS ( -1073741480i32 as _ ) ; pub const STATUS_INTERNAL_ERROR : NTSTATUS = NTSTATUS ( -1073741595i32 as _ ) ; pub const STATUS_INTERRUPTED : NTSTATUS = NTSTATUS ( -1073740523i32 as _ ) ; pub const STATUS_INTERRUPT_STILL_CONNECTED : NTSTATUS = NTSTATUS ( 296i32 as _ ) ; pub const STATUS_INTERRUPT_VECTOR_ALREADY_CONNECTED : NTSTATUS = NTSTATUS ( 295i32 as _ ) ; pub const STATUS_INVALID_ACCOUNT_NAME : NTSTATUS = NTSTATUS ( -1073741726i32 as _ ) ; pub const STATUS_INVALID_ACE_CONDITION : NTSTATUS = NTSTATUS ( -1073741406i32 as _ ) ; pub const STATUS_INVALID_ACL : NTSTATUS = NTSTATUS ( -1073741705i32 as _ ) ; pub const STATUS_INVALID_ADDRESS : NTSTATUS = NTSTATUS ( -1073741503i32 as _ ) ; pub const STATUS_INVALID_ADDRESS_COMPONENT : NTSTATUS = NTSTATUS ( -1073741305i32 as _ ) ; pub const STATUS_INVALID_ADDRESS_WILDCARD : NTSTATUS = NTSTATUS ( -1073741304i32 as _ ) ; pub const STATUS_INVALID_BLOCK_LENGTH : NTSTATUS = NTSTATUS ( -1073741453i32 as _ ) ; pub const STATUS_INVALID_BUFFER_SIZE : NTSTATUS = NTSTATUS ( -1073741306i32 as _ ) ; pub const STATUS_INVALID_CAP : NTSTATUS = NTSTATUS ( -1073740539i32 as _ ) ; pub const STATUS_INVALID_CID : NTSTATUS = NTSTATUS ( -1073741813i32 as _ ) ; pub const STATUS_INVALID_COMPUTER_NAME : NTSTATUS = NTSTATUS ( -1073741534i32 as _ ) ; pub const STATUS_INVALID_CONNECTION : NTSTATUS = NTSTATUS ( -1073741504i32 as _ ) ; pub const STATUS_INVALID_CRUNTIME_PARAMETER : NTSTATUS = NTSTATUS ( -1073740777i32 as _ ) ; pub const STATUS_INVALID_DEVICE_OBJECT_PARAMETER : NTSTATUS = NTSTATUS ( -1073740951i32 as _ ) ; pub const STATUS_INVALID_DEVICE_REQUEST : NTSTATUS = NTSTATUS ( -1073741808i32 as _ ) ; pub const STATUS_INVALID_DEVICE_STATE : NTSTATUS = NTSTATUS ( -1073741436i32 as _ ) ; pub const STATUS_INVALID_DISPOSITION : NTSTATUS = NTSTATUS ( -1073741786i32 as _ ) ; pub const STATUS_INVALID_DOMAIN_ROLE : NTSTATUS = NTSTATUS ( -1073741602i32 as _ ) ; pub const STATUS_INVALID_DOMAIN_STATE : NTSTATUS = NTSTATUS ( -1073741603i32 as _ ) ; pub const STATUS_INVALID_EA_FLAG : NTSTATUS = NTSTATUS ( -2147483627i32 as _ ) ; pub const STATUS_INVALID_EA_NAME : NTSTATUS = NTSTATUS ( -2147483629i32 as _ ) ; pub const STATUS_INVALID_EXCEPTION_HANDLER : NTSTATUS = NTSTATUS ( -1073741403i32 as _ ) ; pub const STATUS_INVALID_FIELD_IN_PARAMETER_LIST : NTSTATUS = NTSTATUS ( -1073740683i32 as _ ) ; pub const STATUS_INVALID_FILE_FOR_SECTION : NTSTATUS = NTSTATUS ( -1073741792i32 as _ ) ; pub const STATUS_INVALID_GROUP_ATTRIBUTES : NTSTATUS = NTSTATUS ( -1073741660i32 as _ ) ; pub const STATUS_INVALID_HANDLE : NTSTATUS = NTSTATUS ( -1073741816i32 as _ ) ; pub const STATUS_INVALID_HW_PROFILE : NTSTATUS = NTSTATUS ( -1073741216i32 as _ ) ; pub const STATUS_INVALID_IDN_NORMALIZATION : NTSTATUS = NTSTATUS ( -1073740010i32 as _ ) ; pub const STATUS_INVALID_ID_AUTHORITY : NTSTATUS = NTSTATUS ( -1073741692i32 as _ ) ; pub const STATUS_INVALID_IMAGE_FORMAT : NTSTATUS = NTSTATUS ( -1073741701i32 as _ ) ; pub const STATUS_INVALID_IMAGE_HASH : NTSTATUS = NTSTATUS ( -1073740760i32 as _ ) ; pub const STATUS_INVALID_IMAGE_LE_FORMAT : NTSTATUS = NTSTATUS ( -1073741522i32 as _ ) ; pub const STATUS_INVALID_IMAGE_NE_FORMAT : NTSTATUS = NTSTATUS ( -1073741541i32 as _ ) ; pub const STATUS_INVALID_IMAGE_NOT_MZ : NTSTATUS = NTSTATUS ( -1073741521i32 as _ ) ; pub const STATUS_INVALID_IMAGE_PROTECT : NTSTATUS = NTSTATUS ( -1073741520i32 as _ ) ; pub const STATUS_INVALID_IMAGE_WIN_16 : NTSTATUS = NTSTATUS ( -1073741519i32 as _ ) ; pub const STATUS_INVALID_IMAGE_WIN_32 : NTSTATUS = NTSTATUS ( -1073740967i32 as _ ) ; pub const STATUS_INVALID_IMAGE_WIN_64 : NTSTATUS = NTSTATUS ( -1073740966i32 as _ ) ; pub const STATUS_INVALID_IMPORT_OF_NON_DLL : NTSTATUS = NTSTATUS ( -1073740945i32 as _ ) ; pub const STATUS_INVALID_INFO_CLASS : NTSTATUS = NTSTATUS ( -1073741821i32 as _ ) ; pub const STATUS_INVALID_INITIATOR_TARGET_PATH : NTSTATUS = NTSTATUS ( -1073740681i32 as _ ) ; pub const STATUS_INVALID_KERNEL_INFO_VERSION : NTSTATUS = NTSTATUS ( -1073700860i32 as _ ) ; pub const STATUS_INVALID_LABEL : NTSTATUS = NTSTATUS ( -1073740730i32 as _ ) ; pub const STATUS_INVALID_LDT_DESCRIPTOR : NTSTATUS = NTSTATUS ( -1073741542i32 as _ ) ; pub const STATUS_INVALID_LDT_OFFSET : NTSTATUS = NTSTATUS ( -1073741543i32 as _ ) ; pub const STATUS_INVALID_LDT_SIZE : NTSTATUS = NTSTATUS ( -1073741544i32 as _ ) ; pub const STATUS_INVALID_LEVEL : NTSTATUS = NTSTATUS ( -1073741496i32 as _ ) ; pub const STATUS_INVALID_LOCK_RANGE : NTSTATUS = NTSTATUS ( -1073741407i32 as _ ) ; pub const STATUS_INVALID_LOCK_SEQUENCE : NTSTATUS = NTSTATUS ( -1073741794i32 as _ ) ; pub const STATUS_INVALID_LOGON_HOURS : NTSTATUS = NTSTATUS ( -1073741713i32 as _ ) ; pub const STATUS_INVALID_LOGON_TYPE : NTSTATUS = NTSTATUS ( -1073741557i32 as _ ) ; pub const STATUS_INVALID_MEMBER : NTSTATUS = NTSTATUS ( -1073741445i32 as _ ) ; pub const STATUS_INVALID_MESSAGE : NTSTATUS = NTSTATUS ( -1073740030i32 as _ ) ; pub const STATUS_INVALID_NETWORK_RESPONSE : NTSTATUS = NTSTATUS ( -1073741629i32 as _ ) ; pub const STATUS_INVALID_OFFSET_ALIGNMENT : NTSTATUS = NTSTATUS ( -1073740684i32 as _ ) ; pub const STATUS_INVALID_OPLOCK_PROTOCOL : NTSTATUS = NTSTATUS ( -1073741597i32 as _ ) ; pub const STATUS_INVALID_OWNER : NTSTATUS = NTSTATUS ( -1073741734i32 as _ ) ; pub const STATUS_INVALID_PACKAGE_SID_LENGTH : NTSTATUS = NTSTATUS ( -1073700350i32 as _ ) ; pub const STATUS_INVALID_PAGE_PROTECTION : NTSTATUS = NTSTATUS ( -1073741755i32 as _ ) ; pub const STATUS_INVALID_PARAMETER : NTSTATUS = NTSTATUS ( -1073741811i32 as _ ) ; pub const STATUS_INVALID_PARAMETER_1 : NTSTATUS = NTSTATUS ( -1073741585i32 as _ ) ; pub const STATUS_INVALID_PARAMETER_10 : NTSTATUS = NTSTATUS ( -1073741576i32 as _ ) ; pub const STATUS_INVALID_PARAMETER_11 : NTSTATUS = NTSTATUS ( -1073741575i32 as _ ) ; pub const STATUS_INVALID_PARAMETER_12 : NTSTATUS = NTSTATUS ( -1073741574i32 as _ ) ; pub const STATUS_INVALID_PARAMETER_2 : NTSTATUS = NTSTATUS ( -1073741584i32 as _ ) ; pub const STATUS_INVALID_PARAMETER_3 : NTSTATUS = NTSTATUS ( -1073741583i32 as _ ) ; pub const STATUS_INVALID_PARAMETER_4 : NTSTATUS = NTSTATUS ( -1073741582i32 as _ ) ; pub const STATUS_INVALID_PARAMETER_5 : NTSTATUS = NTSTATUS ( -1073741581i32 as _ ) ; pub const STATUS_INVALID_PARAMETER_6 : NTSTATUS = NTSTATUS ( -1073741580i32 as _ ) ; pub const STATUS_INVALID_PARAMETER_7 : NTSTATUS = NTSTATUS ( -1073741579i32 as _ ) ; pub const STATUS_INVALID_PARAMETER_8 : NTSTATUS = NTSTATUS ( -1073741578i32 as _ ) ; pub const STATUS_INVALID_PARAMETER_9 : NTSTATUS = NTSTATUS ( -1073741577i32 as _ ) ; pub const STATUS_INVALID_PARAMETER_MIX : NTSTATUS = NTSTATUS ( -1073741776i32 as _ ) ; pub const STATUS_INVALID_PEP_INFO_VERSION : NTSTATUS = NTSTATUS ( -1073700859i32 as _ ) ; pub const STATUS_INVALID_PIPE_STATE : NTSTATUS = NTSTATUS ( -1073741651i32 as _ ) ; pub const STATUS_INVALID_PLUGPLAY_DEVICE_PATH : NTSTATUS = NTSTATUS ( -1073741215i32 as _ ) ; pub const STATUS_INVALID_PORT_ATTRIBUTES : NTSTATUS = NTSTATUS ( -1073741778i32 as _ ) ; pub const STATUS_INVALID_PORT_HANDLE : NTSTATUS = NTSTATUS ( -1073741758i32 as _ ) ; pub const STATUS_INVALID_PRIMARY_GROUP : NTSTATUS = NTSTATUS ( -1073741733i32 as _ ) ; pub const STATUS_INVALID_QUOTA_LOWER : NTSTATUS = NTSTATUS ( -1073741775i32 as _ ) ; pub const STATUS_INVALID_READ_MODE : NTSTATUS = NTSTATUS ( -1073741644i32 as _ ) ; pub const STATUS_INVALID_RUNLEVEL_SETTING : NTSTATUS = NTSTATUS ( -1073700542i32 as _ ) ; pub const STATUS_INVALID_SECURITY_DESCR : NTSTATUS = NTSTATUS ( -1073741703i32 as _ ) ; pub const STATUS_INVALID_SERVER_STATE : NTSTATUS = NTSTATUS ( -1073741604i32 as _ ) ; pub const STATUS_INVALID_SESSION : NTSTATUS = NTSTATUS ( -1073740715i32 as _ ) ; pub const STATUS_INVALID_SID : NTSTATUS = NTSTATUS ( -1073741704i32 as _ ) ; pub const STATUS_INVALID_SIGNATURE : NTSTATUS = NTSTATUS ( -1073700864i32 as _ ) ; pub const STATUS_INVALID_STATE_TRANSITION : NTSTATUS = NTSTATUS ( -1073700861i32 as _ ) ; pub const STATUS_INVALID_SUB_AUTHORITY : NTSTATUS = NTSTATUS ( -1073741706i32 as _ ) ; pub const STATUS_INVALID_SYSTEM_SERVICE : NTSTATUS = NTSTATUS ( -1073741796i32 as _ ) ; pub const STATUS_INVALID_TASK_INDEX : NTSTATUS = NTSTATUS ( -1073740543i32 as _ ) ; pub const STATUS_INVALID_TASK_NAME : NTSTATUS = NTSTATUS ( -1073740544i32 as _ ) ; pub const STATUS_INVALID_THREAD : NTSTATUS = NTSTATUS ( -1073740004i32 as _ ) ; pub const STATUS_INVALID_TOKEN : NTSTATUS = NTSTATUS ( -1073740699i32 as _ ) ; pub const STATUS_INVALID_TRANSACTION : NTSTATUS = NTSTATUS ( -1072103422i32 as _ ) ; pub const STATUS_INVALID_UNWIND_TARGET : NTSTATUS = NTSTATUS ( -1073741783i32 as _ ) ; pub const STATUS_INVALID_USER_BUFFER : NTSTATUS = NTSTATUS ( -1073741592i32 as _ ) ; pub const STATUS_INVALID_USER_PRINCIPAL_NAME : NTSTATUS = NTSTATUS ( -1073740772i32 as _ ) ; pub const STATUS_INVALID_VARIANT : NTSTATUS = NTSTATUS ( -1073741262i32 as _ ) ; pub const STATUS_INVALID_VIEW_SIZE : NTSTATUS = NTSTATUS ( -1073741793i32 as _ ) ; pub const STATUS_INVALID_VOLUME_LABEL : NTSTATUS = NTSTATUS ( -1073741690i32 as _ ) ; pub const STATUS_INVALID_WEIGHT : NTSTATUS = NTSTATUS ( -1073740712i32 as _ ) ; pub const STATUS_INVALID_WORKSTATION : NTSTATUS = NTSTATUS ( -1073741712i32 as _ ) ; pub const STATUS_IN_PAGE_ERROR : NTSTATUS = NTSTATUS ( -1073741818i32 as _ ) ; pub const STATUS_IO_DEVICE_ERROR : NTSTATUS = NTSTATUS ( -1073741435i32 as _ ) ; pub const STATUS_IO_DEVICE_INVALID_DATA : NTSTATUS = NTSTATUS ( -1073741392i32 as _ ) ; pub const STATUS_IO_OPERATION_TIMEOUT : NTSTATUS = NTSTATUS ( -1073740675i32 as _ ) ; pub const STATUS_IO_PREEMPTED : NTSTATUS = NTSTATUS ( -1068433407i32 as _ ) ; pub const STATUS_IO_PRIVILEGE_FAILED : NTSTATUS = NTSTATUS ( -1073741513i32 as _ ) ; pub const STATUS_IO_REISSUE_AS_CACHED : NTSTATUS = NTSTATUS ( -1073479623i32 as _ ) ; pub const STATUS_IO_REPARSE_DATA_INVALID : NTSTATUS = NTSTATUS ( -1073741192i32 as _ ) ; pub const STATUS_IO_REPARSE_TAG_INVALID : NTSTATUS = NTSTATUS ( -1073741194i32 as _ ) ; pub const STATUS_IO_REPARSE_TAG_MISMATCH : NTSTATUS = NTSTATUS ( -1073741193i32 as _ ) ; pub const STATUS_IO_REPARSE_TAG_NOT_HANDLED : NTSTATUS = NTSTATUS ( -1073741191i32 as _ ) ; pub const STATUS_IO_TIMEOUT : NTSTATUS = NTSTATUS ( -1073741643i32 as _ ) ; pub const STATUS_IO_UNALIGNED_WRITE : NTSTATUS = NTSTATUS ( -1073741391i32 as _ ) ; pub const STATUS_IPSEC_AUTH_FIREWALL_DROP : NTSTATUS = NTSTATUS ( -1070202872i32 as _ ) ; pub const STATUS_IPSEC_BAD_SPI : NTSTATUS = NTSTATUS ( -1070202879i32 as _ ) ; pub const STATUS_IPSEC_CLEAR_TEXT_DROP : NTSTATUS = NTSTATUS ( -1070202873i32 as _ ) ; pub const STATUS_IPSEC_DOSP_BLOCK : NTSTATUS = NTSTATUS ( -1070170112i32 as _ ) ; pub const STATUS_IPSEC_DOSP_INVALID_PACKET : NTSTATUS = NTSTATUS ( -1070170110i32 as _ ) ; pub const STATUS_IPSEC_DOSP_KEYMOD_NOT_ALLOWED : NTSTATUS = NTSTATUS ( -1070170107i32 as _ ) ; pub const STATUS_IPSEC_DOSP_MAX_ENTRIES : NTSTATUS = NTSTATUS ( -1070170108i32 as _ ) ; pub const STATUS_IPSEC_DOSP_MAX_PER_IP_RATELIMIT_QUEUES : NTSTATUS = NTSTATUS ( -1070170106i32 as _ ) ; pub const STATUS_IPSEC_DOSP_RECEIVED_MULTICAST : NTSTATUS = NTSTATUS ( -1070170111i32 as _ ) ; pub const STATUS_IPSEC_DOSP_STATE_LOOKUP_FAILED : NTSTATUS = NTSTATUS ( -1070170109i32 as _ ) ; pub const STATUS_IPSEC_INTEGRITY_CHECK_FAILED : NTSTATUS = NTSTATUS ( -1070202874i32 as _ ) ; pub const STATUS_IPSEC_INVALID_PACKET : NTSTATUS = NTSTATUS ( -1070202875i32 as _ ) ; pub const STATUS_IPSEC_QUEUE_OVERFLOW : NTSTATUS = NTSTATUS ( -1073700848i32 as _ ) ; pub const STATUS_IPSEC_REPLAY_CHECK_FAILED : NTSTATUS = NTSTATUS ( -1070202876i32 as _ ) ; pub const STATUS_IPSEC_SA_LIFETIME_EXPIRED : NTSTATUS = NTSTATUS ( -1070202878i32 as _ ) ; pub const STATUS_IPSEC_THROTTLE_DROP : NTSTATUS = NTSTATUS ( -1070202871i32 as _ ) ; pub const STATUS_IPSEC_WRONG_SA : NTSTATUS = NTSTATUS ( -1070202877i32 as _ ) ; pub const STATUS_IP_ADDRESS_CONFLICT1 : NTSTATUS = NTSTATUS ( -1073741228i32 as _ ) ; pub const STATUS_IP_ADDRESS_CONFLICT2 : NTSTATUS = NTSTATUS ( -1073741227i32 as _ ) ; pub const STATUS_ISSUING_CA_UNTRUSTED : NTSTATUS = NTSTATUS ( -1073740918i32 as _ ) ; pub const STATUS_ISSUING_CA_UNTRUSTED_KDC : NTSTATUS = NTSTATUS ( -1073740787i32 as _ ) ; pub const STATUS_JOB_NOT_EMPTY : NTSTATUS = NTSTATUS ( -1073740529i32 as _ ) ; pub const STATUS_JOB_NO_CONTAINER : NTSTATUS = NTSTATUS ( -1073740535i32 as _ ) ; pub const STATUS_JOURNAL_DELETE_IN_PROGRESS : NTSTATUS = NTSTATUS ( -1073741129i32 as _ ) ; pub const STATUS_JOURNAL_ENTRY_DELETED : NTSTATUS = NTSTATUS ( -1073741105i32 as _ ) ; pub const STATUS_JOURNAL_NOT_ACTIVE : NTSTATUS = NTSTATUS ( -1073741128i32 as _ ) ; pub const STATUS_KDC_CERT_EXPIRED : NTSTATUS = NTSTATUS ( -1073740786i32 as _ ) ; pub const STATUS_KDC_CERT_REVOKED : NTSTATUS = NTSTATUS ( -1073740785i32 as _ ) ; pub const STATUS_KDC_INVALID_REQUEST : NTSTATUS = NTSTATUS ( -1073741061i32 as _ ) ; pub const STATUS_KDC_UNABLE_TO_REFER : NTSTATUS = NTSTATUS ( -1073741060i32 as _ ) ; pub const STATUS_KDC_UNKNOWN_ETYPE : NTSTATUS = NTSTATUS ( -1073741059i32 as _ ) ; pub const STATUS_KERNEL_APC : NTSTATUS = NTSTATUS ( 256i32 as _ ) ; pub const STATUS_KERNEL_EXECUTABLE_MEMORY_WRITE : NTSTATUS = NTSTATUS ( -1073739996i32 as _ ) ; pub const STATUS_KEY_DELETED : NTSTATUS = NTSTATUS ( -1073741444i32 as _ ) ; pub const STATUS_KEY_HAS_CHILDREN : NTSTATUS = NTSTATUS ( -1073741440i32 as _ ) ; pub const STATUS_LAST_ADMIN : NTSTATUS = NTSTATUS ( -1073741719i32 as _ ) ; pub const STATUS_LICENSE_QUOTA_EXCEEDED : NTSTATUS = NTSTATUS ( -1073741223i32 as _ ) ; pub const STATUS_LICENSE_VIOLATION : NTSTATUS = NTSTATUS ( -1073741206i32 as _ ) ; pub const STATUS_LINK_FAILED : NTSTATUS = NTSTATUS ( -1073741506i32 as _ ) ; pub const STATUS_LINK_TIMEOUT : NTSTATUS = NTSTATUS ( -1073741505i32 as _ ) ; pub const STATUS_LM_CROSS_ENCRYPTION_REQUIRED : NTSTATUS = NTSTATUS ( -1073741441i32 as _ ) ; pub const STATUS_LOCAL_DISCONNECT : NTSTATUS = NTSTATUS ( -1073741509i32 as _ ) ; pub const STATUS_LOCAL_USER_SESSION_KEY : NTSTATUS = NTSTATUS ( 1073741830i32 as _ ) ; pub const STATUS_LOCK_NOT_GRANTED : NTSTATUS = NTSTATUS ( -1073741739i32 as _ ) ; pub const STATUS_LOGIN_TIME_RESTRICTION : NTSTATUS = NTSTATUS ( -1073741241i32 as _ ) ; pub const STATUS_LOGIN_WKSTA_RESTRICTION : NTSTATUS = NTSTATUS ( -1073741240i32 as _ ) ; pub const STATUS_LOGON_NOT_GRANTED : NTSTATUS = NTSTATUS ( -1073741483i32 as _ ) ; pub const STATUS_LOGON_SERVER_CONFLICT : NTSTATUS = NTSTATUS ( -1073741518i32 as _ ) ; pub const STATUS_LOGON_SESSION_COLLISION : NTSTATUS = NTSTATUS ( -1073741563i32 as _ ) ; pub const STATUS_LOGON_SESSION_EXISTS : NTSTATUS = NTSTATUS ( -1073741586i32 as _ ) ; pub const STATUS_LOG_APPENDED_FLUSH_FAILED : NTSTATUS = NTSTATUS ( -1072037841i32 as _ ) ; pub const STATUS_LOG_ARCHIVE_IN_PROGRESS : NTSTATUS = NTSTATUS ( -1072037855i32 as _ ) ; pub const STATUS_LOG_ARCHIVE_NOT_IN_PROGRESS : NTSTATUS = NTSTATUS ( -1072037856i32 as _ ) ; pub const STATUS_LOG_BLOCKS_EXHAUSTED : NTSTATUS = NTSTATUS ( -1072037882i32 as _ ) ; pub const STATUS_LOG_BLOCK_INCOMPLETE : NTSTATUS = NTSTATUS ( -1072037884i32 as _ ) ; pub const STATUS_LOG_BLOCK_INVALID : NTSTATUS = NTSTATUS ( -1072037878i32 as _ ) ; pub const STATUS_LOG_BLOCK_VERSION : NTSTATUS = NTSTATUS ( -1072037879i32 as _ ) ; pub const STATUS_LOG_CANT_DELETE : NTSTATUS = NTSTATUS ( -1072037871i32 as _ ) ; pub const STATUS_LOG_CLIENT_ALREADY_REGISTERED : NTSTATUS = NTSTATUS ( -1072037852i32 as _ ) ; pub const STATUS_LOG_CLIENT_NOT_REGISTERED : NTSTATUS = NTSTATUS ( -1072037851i32 as _ ) ; pub const STATUS_LOG_CONTAINER_LIMIT_EXCEEDED : NTSTATUS = NTSTATUS ( -1072037870i32 as _ ) ; pub const STATUS_LOG_CONTAINER_OPEN_FAILED : NTSTATUS = NTSTATUS ( -1072037847i32 as _ ) ; pub const STATUS_LOG_CONTAINER_READ_FAILED : NTSTATUS = NTSTATUS ( -1072037849i32 as _ ) ; pub const STATUS_LOG_CONTAINER_STATE_INVALID : NTSTATUS = NTSTATUS ( -1072037846i32 as _ ) ; pub const STATUS_LOG_CONTAINER_WRITE_FAILED : NTSTATUS = NTSTATUS ( -1072037848i32 as _ ) ; pub const STATUS_LOG_CORRUPTION_DETECTED : NTSTATUS = NTSTATUS ( -1072103376i32 as _ ) ; pub const STATUS_LOG_DEDICATED : NTSTATUS = NTSTATUS ( -1072037857i32 as _ ) ; pub const STATUS_LOG_EPHEMERAL : NTSTATUS = NTSTATUS ( -1072037854i32 as _ ) ; pub const STATUS_LOG_FILE_FULL : NTSTATUS = NTSTATUS ( -1073741432i32 as _ ) ; pub const STATUS_LOG_FULL : NTSTATUS = NTSTATUS ( -1072037859i32 as _ ) ; pub const STATUS_LOG_FULL_HANDLER_IN_PROGRESS : NTSTATUS = NTSTATUS ( -1072037850i32 as _ ) ; pub const STATUS_LOG_GROWTH_FAILED : NTSTATUS = NTSTATUS ( -1072103399i32 as _ ) ; pub const STATUS_LOG_HARD_ERROR : NTSTATUS = NTSTATUS ( 1073741850i32 as _ ) ; pub const STATUS_LOG_INCONSISTENT_SECURITY : NTSTATUS = NTSTATUS ( -1072037842i32 as _ ) ; pub const STATUS_LOG_INVALID_RANGE : NTSTATUS = NTSTATUS ( -1072037883i32 as _ ) ; pub const STATUS_LOG_METADATA_CORRUPT : NTSTATUS = NTSTATUS ( -1072037875i32 as _ ) ; pub const STATUS_LOG_METADATA_FLUSH_FAILED : NTSTATUS = NTSTATUS ( -1072037843i32 as _ ) ; pub const STATUS_LOG_METADATA_INCONSISTENT : NTSTATUS = NTSTATUS ( -1072037873i32 as _ ) ; pub const STATUS_LOG_METADATA_INVALID : NTSTATUS = NTSTATUS ( -1072037874i32 as _ ) ; pub const STATUS_LOG_MULTIPLEXED : NTSTATUS = NTSTATUS ( -1072037858i32 as _ ) ; pub const STATUS_LOG_NOT_ENOUGH_CONTAINERS : NTSTATUS = NTSTATUS ( -1072037853i32 as _ ) ; pub const STATUS_LOG_NO_RESTART : NTSTATUS = NTSTATUS ( 1075445772i32 as _ ) ; pub const STATUS_LOG_PINNED : NTSTATUS = NTSTATUS ( -1072037844i32 as _ ) ; pub const STATUS_LOG_PINNED_ARCHIVE_TAIL : NTSTATUS = NTSTATUS ( -1072037864i32 as _ ) ; pub const STATUS_LOG_PINNED_RESERVATION : NTSTATUS = NTSTATUS ( -1072037840i32 as _ ) ; pub const STATUS_LOG_POLICY_ALREADY_INSTALLED : NTSTATUS = NTSTATUS ( -1072037868i32 as _ ) ; pub const STATUS_LOG_POLICY_CONFLICT : NTSTATUS = NTSTATUS ( -1072037865i32 as _ ) ; pub const STATUS_LOG_POLICY_INVALID : NTSTATUS = NTSTATUS ( -1072037866i32 as _ ) ; pub const STATUS_LOG_POLICY_NOT_INSTALLED : NTSTATUS = NTSTATUS ( -1072037867i32 as _ ) ; pub const STATUS_LOG_READ_CONTEXT_INVALID : NTSTATUS = NTSTATUS ( -1072037881i32 as _ ) ; pub const STATUS_LOG_READ_MODE_INVALID : NTSTATUS = NTSTATUS ( -1072037877i32 as _ ) ; pub const STATUS_LOG_RECORDS_RESERVED_INVALID : NTSTATUS = NTSTATUS ( -1072037862i32 as _ ) ; pub const STATUS_LOG_RECORD_NONEXISTENT : NTSTATUS = NTSTATUS ( -1072037863i32 as _ ) ; pub const STATUS_LOG_RESERVATION_INVALID : NTSTATUS = NTSTATUS ( -1072037872i32 as _ ) ; pub const STATUS_LOG_RESIZE_INVALID_SIZE : NTSTATUS = NTSTATUS ( -1072103413i32 as _ ) ; pub const STATUS_LOG_RESTART_INVALID : NTSTATUS = NTSTATUS ( -1072037880i32 as _ ) ; pub const STATUS_LOG_SECTOR_INVALID : NTSTATUS = NTSTATUS ( -1072037887i32 as _ ) ; pub const STATUS_LOG_SECTOR_PARITY_INVALID : NTSTATUS = NTSTATUS ( -1072037886i32 as _ ) ; pub const STATUS_LOG_SECTOR_REMAPPED : NTSTATUS = NTSTATUS ( -1072037885i32 as _ ) ; pub const STATUS_LOG_SPACE_RESERVED_INVALID : NTSTATUS = NTSTATUS ( -1072037861i32 as _ ) ; pub const STATUS_LOG_START_OF_LOG : NTSTATUS = NTSTATUS ( -1072037869i32 as _ ) ; pub const STATUS_LOG_STATE_INVALID : NTSTATUS = NTSTATUS ( -1072037845i32 as _ ) ; pub const STATUS_LOG_TAIL_INVALID : NTSTATUS = NTSTATUS ( -1072037860i32 as _ ) ; pub const STATUS_LONGJUMP : NTSTATUS = NTSTATUS ( -2147483610i32 as _ ) ; pub const STATUS_LOST_MODE_LOGON_RESTRICTION : NTSTATUS = NTSTATUS ( -1073741043i32 as _ ) ; pub const STATUS_LOST_WRITEBEHIND_DATA : NTSTATUS = NTSTATUS ( -1073741278i32 as _ ) ; pub const STATUS_LOST_WRITEBEHIND_DATA_LOCAL_DISK_ERROR : NTSTATUS = NTSTATUS ( -1073700734i32 as _ ) ; pub const STATUS_LOST_WRITEBEHIND_DATA_NETWORK_DISCONNECTED : NTSTATUS = NTSTATUS ( -1073700736i32 as _ ) ; pub const STATUS_LOST_WRITEBEHIND_DATA_NETWORK_SERVER_ERROR : NTSTATUS = NTSTATUS ( -1073700735i32 as _ ) ; pub const STATUS_LPAC_ACCESS_DENIED : NTSTATUS = NTSTATUS ( -1073700349i32 as _ ) ; pub const STATUS_LPC_HANDLE_COUNT_EXCEEDED : NTSTATUS = NTSTATUS ( -1073739998i32 as _ ) ; pub const STATUS_LPC_INVALID_CONNECTION_USAGE : NTSTATUS = NTSTATUS ( -1073740026i32 as _ ) ; pub const STATUS_LPC_RECEIVE_BUFFER_EXPECTED : NTSTATUS = NTSTATUS ( -1073740027i32 as _ ) ; pub const STATUS_LPC_REPLY_LOST : NTSTATUS = NTSTATUS ( -1073741229i32 as _ ) ; pub const STATUS_LPC_REQUESTS_NOT_ALLOWED : NTSTATUS = NTSTATUS ( -1073740025i32 as _ ) ; pub const STATUS_LUIDS_EXHAUSTED : NTSTATUS = NTSTATUS ( -1073741707i32 as _ ) ; pub const STATUS_MAGAZINE_NOT_PRESENT : NTSTATUS = NTSTATUS ( -1073741178i32 as _ ) ; pub const STATUS_MAPPED_ALIGNMENT : NTSTATUS = NTSTATUS ( -1073741280i32 as _ ) ; pub const STATUS_MAPPED_FILE_SIZE_ZERO : NTSTATUS = NTSTATUS ( -1073741538i32 as _ ) ; pub const STATUS_MARKED_TO_DISALLOW_WRITES : NTSTATUS = NTSTATUS ( -1073740659i32 as _ ) ; pub const STATUS_MARSHALL_OVERFLOW : NTSTATUS = NTSTATUS ( -1073741263i32 as _ ) ; pub const STATUS_MAX_REFERRALS_EXCEEDED : NTSTATUS = NTSTATUS ( -1073741068i32 as _ ) ; pub const STATUS_MCA_EXCEPTION : NTSTATUS = NTSTATUS ( -1073740013i32 as _ ) ; pub const STATUS_MCA_OCCURED : NTSTATUS = NTSTATUS ( -1073740950i32 as _ ) ; pub const STATUS_MEDIA_CHANGED : NTSTATUS = NTSTATUS ( -2147483620i32 as _ ) ; pub const STATUS_MEDIA_CHECK : NTSTATUS = NTSTATUS ( -2147483616i32 as _ ) ; pub const STATUS_MEDIA_WRITE_PROTECTED : NTSTATUS = NTSTATUS ( -1073741662i32 as _ ) ; pub const STATUS_MEMBERS_PRIMARY_GROUP : NTSTATUS = NTSTATUS ( -1073741529i32 as _ ) ; pub const STATUS_MEMBER_IN_ALIAS : NTSTATUS = NTSTATUS ( -1073741485i32 as _ ) ; pub const STATUS_MEMBER_IN_GROUP : NTSTATUS = NTSTATUS ( -1073741721i32 as _ ) ; pub const STATUS_MEMBER_NOT_IN_ALIAS : NTSTATUS = NTSTATUS ( -1073741486i32 as _ ) ; pub const STATUS_MEMBER_NOT_IN_GROUP : NTSTATUS = NTSTATUS ( -1073741720i32 as _ ) ; pub const STATUS_MEMORY_NOT_ALLOCATED : NTSTATUS = NTSTATUS ( -1073741664i32 as _ ) ; pub const STATUS_MESSAGE_LOST : NTSTATUS = NTSTATUS ( -1073740031i32 as _ ) ; pub const STATUS_MESSAGE_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073741559i32 as _ ) ; pub const STATUS_MESSAGE_RETRIEVED : NTSTATUS = NTSTATUS ( 1073741870i32 as _ ) ; pub const STATUS_MFT_TOO_FRAGMENTED : NTSTATUS = NTSTATUS ( -1073741052i32 as _ ) ; pub const STATUS_MINIVERSION_INACCESSIBLE_FROM_SPECIFIED_TRANSACTION : NTSTATUS = NTSTATUS ( -1072103388i32 as _ ) ; pub const STATUS_MISSING_SYSTEMFILE : NTSTATUS = NTSTATUS ( -1073741501i32 as _ ) ; pub const STATUS_MONITOR_INVALID_DESCRIPTOR_CHECKSUM : NTSTATUS = NTSTATUS ( -1071841277i32 as _ ) ; pub const STATUS_MONITOR_INVALID_DETAILED_TIMING_BLOCK : NTSTATUS = NTSTATUS ( -1071841271i32 as _ ) ; pub const STATUS_MONITOR_INVALID_MANUFACTURE_DATE : NTSTATUS = NTSTATUS ( -1071841270i32 as _ ) ; pub const STATUS_MONITOR_INVALID_SERIAL_NUMBER_MONDSC_BLOCK : NTSTATUS = NTSTATUS ( -1071841274i32 as _ ) ; pub const STATUS_MONITOR_INVALID_STANDARD_TIMING_BLOCK : NTSTATUS = NTSTATUS ( -1071841276i32 as _ ) ; pub const STATUS_MONITOR_INVALID_USER_FRIENDLY_MONDSC_BLOCK : NTSTATUS = NTSTATUS ( -1071841273i32 as _ ) ; pub const STATUS_MONITOR_NO_DESCRIPTOR : NTSTATUS = NTSTATUS ( -1071841279i32 as _ ) ; pub const STATUS_MONITOR_NO_MORE_DESCRIPTOR_DATA : NTSTATUS = NTSTATUS ( -1071841272i32 as _ ) ; pub const STATUS_MONITOR_UNKNOWN_DESCRIPTOR_FORMAT : NTSTATUS = NTSTATUS ( -1071841278i32 as _ ) ; pub const STATUS_MONITOR_WMI_DATABLOCK_REGISTRATION_FAILED : NTSTATUS = NTSTATUS ( -1071841275i32 as _ ) ; pub const STATUS_MORE_ENTRIES : NTSTATUS = NTSTATUS ( 261i32 as _ ) ; pub const STATUS_MORE_PROCESSING_REQUIRED : NTSTATUS = NTSTATUS ( -1073741802i32 as _ ) ; pub const STATUS_MOUNT_POINT_NOT_RESOLVED : NTSTATUS = NTSTATUS ( -1073740952i32 as _ ) ; pub const STATUS_MP_PROCESSOR_MISMATCH : NTSTATUS = NTSTATUS ( 1073741865i32 as _ ) ; pub const STATUS_MUI_FILE_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073020927i32 as _ ) ; pub const STATUS_MUI_FILE_NOT_LOADED : NTSTATUS = NTSTATUS ( -1073020922i32 as _ ) ; pub const STATUS_MUI_INVALID_FILE : NTSTATUS = NTSTATUS ( -1073020926i32 as _ ) ; pub const STATUS_MUI_INVALID_LOCALE_NAME : NTSTATUS = NTSTATUS ( -1073020924i32 as _ ) ; pub const STATUS_MUI_INVALID_RC_CONFIG : NTSTATUS = NTSTATUS ( -1073020925i32 as _ ) ; pub const STATUS_MUI_INVALID_ULTIMATEFALLBACK_NAME : NTSTATUS = NTSTATUS ( -1073020923i32 as _ ) ; pub const STATUS_MULTIPLE_FAULT_VIOLATION : NTSTATUS = NTSTATUS ( -1073741080i32 as _ ) ; pub const STATUS_MUST_BE_KDC : NTSTATUS = NTSTATUS ( -1073741067i32 as _ ) ; pub const STATUS_MUTANT_LIMIT_EXCEEDED : NTSTATUS = NTSTATUS ( -1073741423i32 as _ ) ; pub const STATUS_MUTANT_NOT_OWNED : NTSTATUS = NTSTATUS ( -1073741754i32 as _ ) ; pub const STATUS_MUTUAL_AUTHENTICATION_FAILED : NTSTATUS = NTSTATUS ( -1073741117i32 as _ ) ; pub const STATUS_NAME_TOO_LONG : NTSTATUS = NTSTATUS ( -1073741562i32 as _ ) ; pub const STATUS_NDIS_ADAPTER_NOT_FOUND : NTSTATUS = NTSTATUS ( -1071448058i32 as _ ) ; pub const STATUS_NDIS_ADAPTER_NOT_READY : NTSTATUS = NTSTATUS ( -1071448047i32 as _ ) ; pub const STATUS_NDIS_ADAPTER_REMOVED : NTSTATUS = NTSTATUS ( -1071448040i32 as _ ) ; pub const STATUS_NDIS_ALREADY_MAPPED : NTSTATUS = NTSTATUS ( -1071448035i32 as _ ) ; pub const STATUS_NDIS_BAD_CHARACTERISTICS : NTSTATUS = NTSTATUS ( -1071448059i32 as _ ) ; pub const STATUS_NDIS_BAD_VERSION : NTSTATUS = NTSTATUS ( -1071448060i32 as _ ) ; pub const STATUS_NDIS_BUFFER_TOO_SHORT : NTSTATUS = NTSTATUS ( -1071448042i32 as _ ) ; pub const STATUS_NDIS_CLOSING : NTSTATUS = NTSTATUS ( -1071448062i32 as _ ) ; pub const STATUS_NDIS_DEVICE_FAILED : NTSTATUS = NTSTATUS ( -1071448056i32 as _ ) ; pub const STATUS_NDIS_DOT11_AP_BAND_CURRENTLY_NOT_AVAILABLE : NTSTATUS = NTSTATUS ( -1071439866i32 as _ ) ; pub const STATUS_NDIS_DOT11_AP_BAND_NOT_ALLOWED : NTSTATUS = NTSTATUS ( -1071439864i32 as _ ) ; pub const STATUS_NDIS_DOT11_AP_CHANNEL_CURRENTLY_NOT_AVAILABLE : NTSTATUS = NTSTATUS ( -1071439867i32 as _ ) ; pub const STATUS_NDIS_DOT11_AP_CHANNEL_NOT_ALLOWED : NTSTATUS = NTSTATUS ( -1071439865i32 as _ ) ; pub const STATUS_NDIS_DOT11_AUTO_CONFIG_ENABLED : NTSTATUS = NTSTATUS ( -1071439872i32 as _ ) ; pub const STATUS_NDIS_DOT11_MEDIA_IN_USE : NTSTATUS = NTSTATUS ( -1071439871i32 as _ ) ; pub const STATUS_NDIS_DOT11_POWER_STATE_INVALID : NTSTATUS = NTSTATUS ( -1071439870i32 as _ ) ; pub const STATUS_NDIS_ERROR_READING_FILE : NTSTATUS = NTSTATUS ( -1071448036i32 as _ ) ; pub const STATUS_NDIS_FILE_NOT_FOUND : NTSTATUS = NTSTATUS ( -1071448037i32 as _ ) ; pub const STATUS_NDIS_GROUP_ADDRESS_IN_USE : NTSTATUS = NTSTATUS ( -1071448038i32 as _ ) ; pub const STATUS_NDIS_INDICATION_REQUIRED : NTSTATUS = NTSTATUS ( 1076035585i32 as _ ) ; pub const STATUS_NDIS_INTERFACE_NOT_FOUND : NTSTATUS = NTSTATUS ( -1071448021i32 as _ ) ; pub const STATUS_NDIS_INVALID_ADDRESS : NTSTATUS = NTSTATUS ( -1071448030i32 as _ ) ; pub const STATUS_NDIS_INVALID_DATA : NTSTATUS = NTSTATUS ( -1071448043i32 as _ ) ; pub const STATUS_NDIS_INVALID_DEVICE_REQUEST : NTSTATUS = NTSTATUS ( -1071448048i32 as _ ) ; pub const STATUS_NDIS_INVALID_LENGTH : NTSTATUS = NTSTATUS ( -1071448044i32 as _ ) ; pub const STATUS_NDIS_INVALID_OID : NTSTATUS = NTSTATUS ( -1071448041i32 as _ ) ; pub const STATUS_NDIS_INVALID_PACKET : NTSTATUS = NTSTATUS ( -1071448049i32 as _ ) ; pub const STATUS_NDIS_INVALID_PORT : NTSTATUS = NTSTATUS ( -1071448019i32 as _ ) ; pub const STATUS_NDIS_INVALID_PORT_STATE : NTSTATUS = NTSTATUS ( -1071448018i32 as _ ) ; pub const STATUS_NDIS_LOW_POWER_STATE : NTSTATUS = NTSTATUS ( -1071448017i32 as _ ) ; pub const STATUS_NDIS_MEDIA_DISCONNECTED : NTSTATUS = NTSTATUS ( -1071448033i32 as _ ) ; pub const STATUS_NDIS_MULTICAST_EXISTS : NTSTATUS = NTSTATUS ( -1071448054i32 as _ ) ; pub const STATUS_NDIS_MULTICAST_FULL : NTSTATUS = NTSTATUS ( -1071448055i32 as _ ) ; pub const STATUS_NDIS_MULTICAST_NOT_FOUND : NTSTATUS = NTSTATUS ( -1071448053i32 as _ ) ; pub const STATUS_NDIS_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1071447877i32 as _ ) ; pub const STATUS_NDIS_NO_QUEUES : NTSTATUS = NTSTATUS ( -1071448015i32 as _ ) ; pub const STATUS_NDIS_OFFLOAD_CONNECTION_REJECTED : NTSTATUS = NTSTATUS ( -1071443950i32 as _ ) ; pub const STATUS_NDIS_OFFLOAD_PATH_REJECTED : NTSTATUS = NTSTATUS ( -1071443949i32 as _ ) ; pub const STATUS_NDIS_OFFLOAD_POLICY : NTSTATUS = NTSTATUS ( -1071443953i32 as _ ) ; pub const STATUS_NDIS_OPEN_FAILED : NTSTATUS = NTSTATUS ( -1071448057i32 as _ ) ; pub const STATUS_NDIS_PAUSED : NTSTATUS = NTSTATUS ( -1071448022i32 as _ ) ; pub const STATUS_NDIS_PM_PROTOCOL_OFFLOAD_LIST_FULL : NTSTATUS = NTSTATUS ( -1071439868i32 as _ ) ; pub const STATUS_NDIS_PM_WOL_PATTERN_LIST_FULL : NTSTATUS = NTSTATUS ( -1071439869i32 as _ ) ; pub const STATUS_NDIS_REINIT_REQUIRED : NTSTATUS = NTSTATUS ( -1071448016i32 as _ ) ; pub const STATUS_NDIS_REQUEST_ABORTED : NTSTATUS = NTSTATUS ( -1071448052i32 as _ ) ; pub const STATUS_NDIS_RESET_IN_PROGRESS : NTSTATUS = NTSTATUS ( -1071448051i32 as _ ) ; pub const STATUS_NDIS_RESOURCE_CONFLICT : NTSTATUS = NTSTATUS ( -1071448034i32 as _ ) ; pub const STATUS_NDIS_UNSUPPORTED_MEDIA : NTSTATUS = NTSTATUS ( -1071448039i32 as _ ) ; pub const STATUS_NDIS_UNSUPPORTED_REVISION : NTSTATUS = NTSTATUS ( -1071448020i32 as _ ) ; pub const STATUS_ND_QUEUE_OVERFLOW : NTSTATUS = NTSTATUS ( -1073700847i32 as _ ) ; pub const STATUS_NEEDS_REGISTRATION : NTSTATUS = NTSTATUS ( -1073740663i32 as _ ) ; pub const STATUS_NEEDS_REMEDIATION : NTSTATUS = NTSTATUS ( -1073740702i32 as _ ) ; pub const STATUS_NETLOGON_NOT_STARTED : NTSTATUS = NTSTATUS ( -1073741422i32 as _ ) ; pub const STATUS_NETWORK_ACCESS_DENIED : NTSTATUS = NTSTATUS ( -1073741622i32 as _ ) ; pub const STATUS_NETWORK_ACCESS_DENIED_EDP : NTSTATUS = NTSTATUS ( -1073740658i32 as _ ) ; pub const STATUS_NETWORK_BUSY : NTSTATUS = NTSTATUS ( -1073741633i32 as _ ) ; pub const STATUS_NETWORK_CREDENTIAL_CONFLICT : NTSTATUS = NTSTATUS ( -1073741419i32 as _ ) ; pub const STATUS_NETWORK_NAME_DELETED : NTSTATUS = NTSTATUS ( -1073741623i32 as _ ) ; pub const STATUS_NETWORK_OPEN_RESTRICTION : NTSTATUS = NTSTATUS ( -1073741311i32 as _ ) ; pub const STATUS_NETWORK_SESSION_EXPIRED : NTSTATUS = NTSTATUS ( -1073740964i32 as _ ) ; pub const STATUS_NETWORK_UNREACHABLE : NTSTATUS = NTSTATUS ( -1073741252i32 as _ ) ; pub const STATUS_NET_WRITE_FAULT : NTSTATUS = NTSTATUS ( -1073741614i32 as _ ) ; pub const STATUS_NOINTERFACE : NTSTATUS = NTSTATUS ( -1073741127i32 as _ ) ; pub const STATUS_NOLOGON_INTERDOMAIN_TRUST_ACCOUNT : NTSTATUS = NTSTATUS ( -1073741416i32 as _ ) ; pub const STATUS_NOLOGON_SERVER_TRUST_ACCOUNT : NTSTATUS = NTSTATUS ( -1073741414i32 as _ ) ; pub const STATUS_NOLOGON_WORKSTATION_TRUST_ACCOUNT : NTSTATUS = NTSTATUS ( -1073741415i32 as _ ) ; pub const STATUS_NONCONTINUABLE_EXCEPTION : NTSTATUS = NTSTATUS ( -1073741787i32 as _ ) ; pub const STATUS_NONEXISTENT_EA_ENTRY : NTSTATUS = NTSTATUS ( -1073741743i32 as _ ) ; pub const STATUS_NONEXISTENT_SECTOR : NTSTATUS = NTSTATUS ( -1073741803i32 as _ ) ; pub const STATUS_NONE_MAPPED : NTSTATUS = NTSTATUS ( -1073741709i32 as _ ) ; pub const STATUS_NOTHING_TO_TERMINATE : NTSTATUS = NTSTATUS ( 290i32 as _ ) ; pub const STATUS_NOTIFICATION_GUID_ALREADY_DEFINED : NTSTATUS = NTSTATUS ( -1073741404i32 as _ ) ; pub const STATUS_NOTIFY_CLEANUP : NTSTATUS = NTSTATUS ( 267i32 as _ ) ; pub const STATUS_NOTIFY_ENUM_DIR : NTSTATUS = NTSTATUS ( 268i32 as _ ) ; pub const STATUS_NOT_ALLOWED_ON_SYSTEM_FILE : NTSTATUS = NTSTATUS ( -1073741401i32 as _ ) ; pub const STATUS_NOT_ALL_ASSIGNED : NTSTATUS = NTSTATUS ( 262i32 as _ ) ; pub const STATUS_NOT_APPCONTAINER : NTSTATUS = NTSTATUS ( -1073700352i32 as _ ) ; pub const STATUS_NOT_A_CLOUD_FILE : NTSTATUS = NTSTATUS ( -1073688825i32 as _ ) ; pub const STATUS_NOT_A_CLOUD_SYNC_ROOT : NTSTATUS = NTSTATUS ( -1073688802i32 as _ ) ; pub const STATUS_NOT_A_DAX_VOLUME : NTSTATUS = NTSTATUS ( -1073740623i32 as _ ) ; pub const STATUS_NOT_A_DIRECTORY : NTSTATUS = NTSTATUS ( -1073741565i32 as _ ) ; pub const STATUS_NOT_A_REPARSE_POINT : NTSTATUS = NTSTATUS ( -1073741195i32 as _ ) ; pub const STATUS_NOT_A_TIERED_VOLUME : NTSTATUS = NTSTATUS ( -1073740531i32 as _ ) ; pub const STATUS_NOT_CAPABLE : NTSTATUS = NTSTATUS ( -1073740759i32 as _ ) ; pub const STATUS_NOT_CLIENT_SESSION : NTSTATUS = NTSTATUS ( -1073741289i32 as _ ) ; pub const STATUS_NOT_COMMITTED : NTSTATUS = NTSTATUS ( -1073741779i32 as _ ) ; pub const STATUS_NOT_DAX_MAPPABLE : NTSTATUS = NTSTATUS ( -1073740622i32 as _ ) ; pub const STATUS_NOT_EXPORT_FORMAT : NTSTATUS = NTSTATUS ( -1073741166i32 as _ ) ; pub const STATUS_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073741275i32 as _ ) ; pub const STATUS_NOT_GUI_PROCESS : NTSTATUS = NTSTATUS ( -1073740538i32 as _ ) ; pub const STATUS_NOT_IMPLEMENTED : NTSTATUS = NTSTATUS ( -1073741822i32 as _ ) ; pub const STATUS_NOT_LOCKED : NTSTATUS = NTSTATUS ( -1073741782i32 as _ ) ; pub const STATUS_NOT_LOGON_PROCESS : NTSTATUS = NTSTATUS ( -1073741587i32 as _ ) ; pub const STATUS_NOT_MAPPED_DATA : NTSTATUS = NTSTATUS ( -1073741688i32 as _ ) ; pub const STATUS_NOT_MAPPED_VIEW : NTSTATUS = NTSTATUS ( -1073741799i32 as _ ) ; pub const STATUS_NOT_READ_FROM_COPY : NTSTATUS = NTSTATUS ( -1073740694i32 as _ ) ; pub const STATUS_NOT_REDUNDANT_STORAGE : NTSTATUS = NTSTATUS ( -1073740679i32 as _ ) ; pub const STATUS_NOT_REGISTRY_FILE : NTSTATUS = NTSTATUS ( -1073741476i32 as _ ) ; pub const STATUS_NOT_SAFE_MODE_DRIVER : NTSTATUS = NTSTATUS ( -1073740961i32 as _ ) ; pub const STATUS_NOT_SAME_DEVICE : NTSTATUS = NTSTATUS ( -1073741612i32 as _ ) ; pub const STATUS_NOT_SAME_OBJECT : NTSTATUS = NTSTATUS ( -1073741396i32 as _ ) ; pub const STATUS_NOT_SERVER_SESSION : NTSTATUS = NTSTATUS ( -1073741290i32 as _ ) ; pub const STATUS_NOT_SNAPSHOT_VOLUME : NTSTATUS = NTSTATUS ( -1072103353i32 as _ ) ; pub const STATUS_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1073741637i32 as _ ) ; pub const STATUS_NOT_SUPPORTED_IN_APPCONTAINER : NTSTATUS = NTSTATUS ( -1073700351i32 as _ ) ; pub const STATUS_NOT_SUPPORTED_ON_DAX : NTSTATUS = NTSTATUS ( -1073740646i32 as _ ) ; pub const STATUS_NOT_SUPPORTED_ON_SBS : NTSTATUS = NTSTATUS ( -1073741056i32 as _ ) ; pub const STATUS_NOT_SUPPORTED_WITH_BTT : NTSTATUS = NTSTATUS ( -1073740619i32 as _ ) ; pub const STATUS_NOT_TINY_STREAM : NTSTATUS = NTSTATUS ( -1073741274i32 as _ ) ; pub const STATUS_NO_ACE_CONDITION : NTSTATUS = NTSTATUS ( -2147483601i32 as _ ) ; pub const STATUS_NO_APPLICABLE_APP_LICENSES_FOUND : NTSTATUS = NTSTATUS ( -1058406399i32 as _ ) ; pub const STATUS_NO_APPLICATION_PACKAGE : NTSTATUS = NTSTATUS ( -1073741398i32 as _ ) ; pub const STATUS_NO_BROWSER_SERVERS_FOUND : NTSTATUS = NTSTATUS ( -1073741284i32 as _ ) ; pub const STATUS_NO_CALLBACK_ACTIVE : NTSTATUS = NTSTATUS ( -1073741224i32 as _ ) ; pub const STATUS_NO_DATA_DETECTED : NTSTATUS = NTSTATUS ( -2147483614i32 as _ ) ; pub const STATUS_NO_EAS_ON_FILE : NTSTATUS = NTSTATUS ( -1073741742i32 as _ ) ; pub const STATUS_NO_EFS : NTSTATUS = NTSTATUS ( -1073741170i32 as _ ) ; pub const STATUS_NO_EVENT_PAIR : NTSTATUS = NTSTATUS ( -1073741490i32 as _ ) ; pub const STATUS_NO_GUID_TRANSLATION : NTSTATUS = NTSTATUS ( -1073741556i32 as _ ) ; pub const STATUS_NO_IMPERSONATION_TOKEN : NTSTATUS = NTSTATUS ( -1073741732i32 as _ ) ; pub const STATUS_NO_INHERITANCE : NTSTATUS = NTSTATUS ( -2147483637i32 as _ ) ; pub const STATUS_NO_IP_ADDRESSES : NTSTATUS = NTSTATUS ( -1073741071i32 as _ ) ; pub const STATUS_NO_KERB_KEY : NTSTATUS = NTSTATUS ( -1073741022i32 as _ ) ; pub const STATUS_NO_KEY : NTSTATUS = NTSTATUS ( -1073739508i32 as _ ) ; pub const STATUS_NO_LDT : NTSTATUS = NTSTATUS ( -1073741545i32 as _ ) ; pub const STATUS_NO_LINK_TRACKING_IN_TRANSACTION : NTSTATUS = NTSTATUS ( -1072103335i32 as _ ) ; pub const STATUS_NO_LOGON_SERVERS : NTSTATUS = NTSTATUS ( -1073741730i32 as _ ) ; pub const STATUS_NO_LOG_SPACE : NTSTATUS = NTSTATUS ( -1073741443i32 as _ ) ; pub const STATUS_NO_MATCH : NTSTATUS = NTSTATUS ( -1073741198i32 as _ ) ; pub const STATUS_NO_MEDIA : NTSTATUS = NTSTATUS ( -1073741448i32 as _ ) ; pub const STATUS_NO_MEDIA_IN_DEVICE : NTSTATUS = NTSTATUS ( -1073741805i32 as _ ) ; pub const STATUS_NO_MEMORY : NTSTATUS = NTSTATUS ( -1073741801i32 as _ ) ; pub const STATUS_NO_MORE_EAS : NTSTATUS = NTSTATUS ( -2147483630i32 as _ ) ; pub const STATUS_NO_MORE_ENTRIES : NTSTATUS = NTSTATUS ( -2147483622i32 as _ ) ; pub const STATUS_NO_MORE_FILES : NTSTATUS = NTSTATUS ( -2147483642i32 as _ ) ; pub const STATUS_NO_MORE_MATCHES : NTSTATUS = NTSTATUS ( -1073741197i32 as _ ) ; pub const STATUS_NO_PAGEFILE : NTSTATUS = NTSTATUS ( -1073741497i32 as _ ) ; pub const STATUS_NO_PA_DATA : NTSTATUS = NTSTATUS ( -1073741064i32 as _ ) ; pub const STATUS_NO_PHYSICALLY_ALIGNED_FREE_SPACE_FOUND : NTSTATUS = NTSTATUS ( -1073740635i32 as _ ) ; pub const STATUS_NO_QUOTAS_FOR_ACCOUNT : NTSTATUS = NTSTATUS ( 269i32 as _ ) ; pub const STATUS_NO_RANGES_PROCESSED : NTSTATUS = NTSTATUS ( -1073740704i32 as _ ) ; pub const STATUS_NO_RECOVERY_POLICY : NTSTATUS = NTSTATUS ( -1073741171i32 as _ ) ; pub const STATUS_NO_S4U_PROT_SUPPORT : NTSTATUS = NTSTATUS ( -1073740790i32 as _ ) ; pub const STATUS_NO_SAVEPOINT_WITH_OPEN_FILES : NTSTATUS = NTSTATUS ( -1072103352i32 as _ ) ; pub const STATUS_NO_SECRETS : NTSTATUS = NTSTATUS ( -1073740943i32 as _ ) ; pub const STATUS_NO_SECURITY_CONTEXT : NTSTATUS = NTSTATUS ( -1073740755i32 as _ ) ; pub const STATUS_NO_SECURITY_ON_OBJECT : NTSTATUS = NTSTATUS ( -1073741609i32 as _ ) ; pub const STATUS_NO_SPOOL_SPACE : NTSTATUS = NTSTATUS ( -1073741625i32 as _ ) ; pub const STATUS_NO_SUCH_ALIAS : NTSTATUS = NTSTATUS ( -1073741487i32 as _ ) ; pub const STATUS_NO_SUCH_DEVICE : NTSTATUS = NTSTATUS ( -1073741810i32 as _ ) ; pub const STATUS_NO_SUCH_DOMAIN : NTSTATUS = NTSTATUS ( -1073741601i32 as _ ) ; pub const STATUS_NO_SUCH_FILE : NTSTATUS = NTSTATUS ( -1073741809i32 as _ ) ; pub const STATUS_NO_SUCH_GROUP : NTSTATUS = NTSTATUS ( -1073741722i32 as _ ) ; pub const STATUS_NO_SUCH_MEMBER : NTSTATUS = NTSTATUS ( -1073741446i32 as _ ) ; pub const STATUS_NO_SUCH_PACKAGE : NTSTATUS = NTSTATUS ( -1073741570i32 as _ ) ; pub const STATUS_NO_SUCH_PRIVILEGE : NTSTATUS = NTSTATUS ( -1073741728i32 as _ ) ; pub const STATUS_NO_TGT_REPLY : NTSTATUS = NTSTATUS ( -1073741073i32 as _ ) ; pub const STATUS_NO_TOKEN : NTSTATUS = NTSTATUS ( -1073741700i32 as _ ) ; pub const STATUS_NO_TRACKING_SERVICE : NTSTATUS = NTSTATUS ( -1073741153i32 as _ ) ; pub const STATUS_NO_TRUST_LSA_SECRET : NTSTATUS = NTSTATUS ( -1073741430i32 as _ ) ; pub const STATUS_NO_TRUST_SAM_ACCOUNT : NTSTATUS = NTSTATUS ( -1073741429i32 as _ ) ; pub const STATUS_NO_TXF_METADATA : NTSTATUS = NTSTATUS ( -2145845207i32 as _ ) ; pub const STATUS_NO_UNICODE_TRANSLATION : NTSTATUS = NTSTATUS ( -1073740009i32 as _ ) ; pub const STATUS_NO_USER_KEYS : NTSTATUS = NTSTATUS ( -1073741168i32 as _ ) ; pub const STATUS_NO_USER_SESSION_KEY : NTSTATUS = NTSTATUS ( -1073741310i32 as _ ) ; pub const STATUS_NO_WORK_DONE : NTSTATUS = NTSTATUS ( -2147483598i32 as _ ) ; pub const STATUS_NO_YIELD_PERFORMED : NTSTATUS = NTSTATUS ( 1073741860i32 as _ ) ; pub const STATUS_NTLM_BLOCKED : NTSTATUS = NTSTATUS ( -1073740776i32 as _ ) ; pub const STATUS_NT_CROSS_ENCRYPTION_REQUIRED : NTSTATUS = NTSTATUS ( -1073741475i32 as _ ) ; pub const STATUS_NULL_LM_PASSWORD : NTSTATUS = NTSTATUS ( 1073741837i32 as _ ) ; pub const STATUS_OBJECTID_EXISTS : NTSTATUS = NTSTATUS ( -1073741269i32 as _ ) ; pub const STATUS_OBJECTID_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073741072i32 as _ ) ; pub const STATUS_OBJECT_NAME_COLLISION : NTSTATUS = NTSTATUS ( -1073741771i32 as _ ) ; pub const STATUS_OBJECT_NAME_EXISTS : NTSTATUS = NTSTATUS ( 1073741824i32 as _ ) ; pub const STATUS_OBJECT_NAME_INVALID : NTSTATUS = NTSTATUS ( -1073741773i32 as _ ) ; pub const STATUS_OBJECT_NAME_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073741772i32 as _ ) ; pub const STATUS_OBJECT_NOT_EXTERNALLY_BACKED : NTSTATUS = NTSTATUS ( -1073740691i32 as _ ) ; pub const STATUS_OBJECT_NO_LONGER_EXISTS : NTSTATUS = NTSTATUS ( -1072103391i32 as _ ) ; pub const STATUS_OBJECT_PATH_INVALID : NTSTATUS = NTSTATUS ( -1073741767i32 as _ ) ; pub const STATUS_OBJECT_PATH_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073741766i32 as _ ) ; pub const STATUS_OBJECT_PATH_SYNTAX_BAD : NTSTATUS = NTSTATUS ( -1073741765i32 as _ ) ; pub const STATUS_OBJECT_TYPE_MISMATCH : NTSTATUS = NTSTATUS ( -1073741788i32 as _ ) ; pub const STATUS_OFFLOAD_READ_FILE_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1073700189i32 as _ ) ; pub const STATUS_OFFLOAD_READ_FLT_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1073700191i32 as _ ) ; pub const STATUS_OFFLOAD_WRITE_FILE_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1073700188i32 as _ ) ; pub const STATUS_OFFLOAD_WRITE_FLT_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1073700190i32 as _ ) ; pub const STATUS_ONLY_IF_CONNECTED : NTSTATUS = NTSTATUS ( -1073741108i32 as _ ) ; pub const STATUS_OPEN_FAILED : NTSTATUS = NTSTATUS ( -1073741514i32 as _ ) ; pub const STATUS_OPERATION_IN_PROGRESS : NTSTATUS = NTSTATUS ( -1073740682i32 as _ ) ; pub const STATUS_OPERATION_NOT_SUPPORTED_IN_TRANSACTION : NTSTATUS = NTSTATUS ( -1072103334i32 as _ ) ; pub const STATUS_OPLOCK_BREAK_IN_PROGRESS : NTSTATUS = NTSTATUS ( 264i32 as _ ) ; pub const STATUS_OPLOCK_HANDLE_CLOSED : NTSTATUS = NTSTATUS ( 534i32 as _ ) ; pub const STATUS_OPLOCK_NOT_GRANTED : NTSTATUS = NTSTATUS ( -1073741598i32 as _ ) ; pub const STATUS_OPLOCK_SWITCHED_TO_NEW_HANDLE : NTSTATUS = NTSTATUS ( 533i32 as _ ) ; pub const STATUS_ORDINAL_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073741512i32 as _ ) ; pub const STATUS_ORPHAN_NAME_EXHAUSTED : NTSTATUS = NTSTATUS ( -1073739762i32 as _ ) ; pub const STATUS_PACKAGE_NOT_AVAILABLE : NTSTATUS = NTSTATUS ( -1073740649i32 as _ ) ; pub const STATUS_PACKAGE_UPDATING : NTSTATUS = NTSTATUS ( -1073740695i32 as _ ) ; pub const STATUS_PAGEFILE_CREATE_FAILED : NTSTATUS = NTSTATUS ( -1073741498i32 as _ ) ; pub const STATUS_PAGEFILE_QUOTA : NTSTATUS = NTSTATUS ( -1073741817i32 as _ ) ; pub const STATUS_PAGEFILE_QUOTA_EXCEEDED : NTSTATUS = NTSTATUS ( -1073741524i32 as _ ) ; pub const STATUS_PAGE_FAULT_COPY_ON_WRITE : NTSTATUS = NTSTATUS ( 274i32 as _ ) ; pub const STATUS_PAGE_FAULT_DEMAND_ZERO : NTSTATUS = NTSTATUS ( 273i32 as _ ) ; pub const STATUS_PAGE_FAULT_GUARD_PAGE : NTSTATUS = NTSTATUS ( 275i32 as _ ) ; pub const STATUS_PAGE_FAULT_PAGING_FILE : NTSTATUS = NTSTATUS ( 276i32 as _ ) ; pub const STATUS_PAGE_FAULT_TRANSITION : NTSTATUS = NTSTATUS ( 272i32 as _ ) ; pub const STATUS_PARAMETER_QUOTA_EXCEEDED : NTSTATUS = NTSTATUS ( -1073740784i32 as _ ) ; pub const STATUS_PARITY_ERROR : NTSTATUS = NTSTATUS ( -1073741781i32 as _ ) ; pub const STATUS_PARTIAL_COPY : NTSTATUS = NTSTATUS ( -2147483635i32 as _ ) ; pub const STATUS_PARTITION_FAILURE : NTSTATUS = NTSTATUS ( -1073741454i32 as _ ) ; pub const STATUS_PARTITION_TERMINATING : NTSTATUS = NTSTATUS ( -1073740640i32 as _ ) ; pub const STATUS_PASSWORD_CHANGE_REQUIRED : NTSTATUS = NTSTATUS ( -1073741044i32 as _ ) ; pub const STATUS_PASSWORD_RESTRICTION : NTSTATUS = NTSTATUS ( -1073741716i32 as _ ) ; pub const STATUS_PATCH_CONFLICT : NTSTATUS = NTSTATUS ( -1073740628i32 as _ ) ; pub const STATUS_PATCH_DEFERRED : NTSTATUS = NTSTATUS ( 1073741879i32 as _ ) ; pub const STATUS_PATH_NOT_COVERED : NTSTATUS = NTSTATUS ( -1073741225i32 as _ ) ; pub const STATUS_PCP_ATTESTATION_CHALLENGE_NOT_SET : NTSTATUS = NTSTATUS ( -1071046638i32 as _ ) ; pub const STATUS_PCP_AUTHENTICATION_FAILED : NTSTATUS = NTSTATUS ( -1071046648i32 as _ ) ; pub const STATUS_PCP_AUTHENTICATION_IGNORED : NTSTATUS = NTSTATUS ( -1071046647i32 as _ ) ; pub const STATUS_PCP_BUFFER_LENGTH_MISMATCH : NTSTATUS = NTSTATUS ( -1071046626i32 as _ ) ; pub const STATUS_PCP_BUFFER_TOO_SMALL : NTSTATUS = NTSTATUS ( -1071046650i32 as _ ) ; pub const STATUS_PCP_CLAIM_TYPE_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1071046628i32 as _ ) ; pub const STATUS_PCP_DEVICE_NOT_FOUND : NTSTATUS = NTSTATUS ( -1071046643i32 as _ ) ; pub const STATUS_PCP_DEVICE_NOT_READY : NTSTATUS = NTSTATUS ( -1071046655i32 as _ ) ; pub const STATUS_PCP_ERROR_MASK : NTSTATUS = NTSTATUS ( -1071046656i32 as _ ) ; pub const STATUS_PCP_FLAG_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1071046652i32 as _ ) ; pub const STATUS_PCP_IFX_RSA_KEY_CREATION_BLOCKED : NTSTATUS = NTSTATUS ( -1071046625i32 as _ ) ; pub const STATUS_PCP_INTERNAL_ERROR : NTSTATUS = NTSTATUS ( -1071046649i32 as _ ) ; pub const STATUS_PCP_INVALID_HANDLE : NTSTATUS = NTSTATUS ( -1071046654i32 as _ ) ; pub const STATUS_PCP_INVALID_PARAMETER : NTSTATUS = NTSTATUS ( -1071046653i32 as _ ) ; pub const STATUS_PCP_KEY_ALREADY_FINALIZED : NTSTATUS = NTSTATUS ( -1071046636i32 as _ ) ; pub const STATUS_PCP_KEY_HANDLE_INVALIDATED : NTSTATUS = NTSTATUS ( -1071046622i32 as _ ) ; pub const STATUS_PCP_KEY_NOT_AIK : NTSTATUS = NTSTATUS ( -1071046631i32 as _ ) ; pub const STATUS_PCP_KEY_NOT_AUTHENTICATED : NTSTATUS = NTSTATUS ( -1071046632i32 as _ ) ; pub const STATUS_PCP_KEY_NOT_FINALIZED : NTSTATUS = NTSTATUS ( -1071046639i32 as _ ) ; pub const STATUS_PCP_KEY_NOT_LOADED : NTSTATUS = NTSTATUS ( -1071046641i32 as _ ) ; pub const STATUS_PCP_KEY_NOT_SIGNING_KEY : NTSTATUS = NTSTATUS ( -1071046630i32 as _ ) ; pub const STATUS_PCP_KEY_USAGE_POLICY_INVALID : NTSTATUS = NTSTATUS ( -1071046634i32 as _ ) ; pub const STATUS_PCP_KEY_USAGE_POLICY_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1071046635i32 as _ ) ; pub const STATUS_PCP_LOCKED_OUT : NTSTATUS = NTSTATUS ( -1071046629i32 as _ ) ; pub const STATUS_PCP_NOT_PCR_BOUND : NTSTATUS = NTSTATUS ( -1071046637i32 as _ ) ; pub const STATUS_PCP_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1071046651i32 as _ ) ; pub const STATUS_PCP_NO_KEY_CERTIFICATION : NTSTATUS = NTSTATUS ( -1071046640i32 as _ ) ; pub const STATUS_PCP_POLICY_NOT_FOUND : NTSTATUS = NTSTATUS ( -1071046646i32 as _ ) ; pub const STATUS_PCP_PROFILE_NOT_FOUND : NTSTATUS = NTSTATUS ( -1071046645i32 as _ ) ; pub const STATUS_PCP_RAW_POLICY_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1071046623i32 as _ ) ; pub const STATUS_PCP_SOFT_KEY_ERROR : NTSTATUS = NTSTATUS ( -1071046633i32 as _ ) ; pub const STATUS_PCP_TICKET_MISSING : NTSTATUS = NTSTATUS ( -1071046624i32 as _ ) ; pub const STATUS_PCP_TPM_VERSION_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1071046627i32 as _ ) ; pub const STATUS_PCP_UNSUPPORTED_PSS_SALT : NTSTATUS = NTSTATUS ( 1076437027i32 as _ ) ; pub const STATUS_PCP_VALIDATION_FAILED : NTSTATUS = NTSTATUS ( -1071046644i32 as _ ) ; pub const STATUS_PCP_WRONG_PARENT : NTSTATUS = NTSTATUS ( -1071046642i32 as _ ) ; pub const STATUS_PENDING : NTSTATUS = NTSTATUS ( 259i32 as _ ) ; pub const STATUS_PER_USER_TRUST_QUOTA_EXCEEDED : NTSTATUS = NTSTATUS ( -1073740799i32 as _ ) ; pub const STATUS_PIPE_BROKEN : NTSTATUS = NTSTATUS ( -1073741493i32 as _ ) ; pub const STATUS_PIPE_BUSY : NTSTATUS = NTSTATUS ( -1073741650i32 as _ ) ; pub const STATUS_PIPE_CLOSING : NTSTATUS = NTSTATUS ( -1073741647i32 as _ ) ; pub const STATUS_PIPE_CONNECTED : NTSTATUS = NTSTATUS ( -1073741646i32 as _ ) ; pub const STATUS_PIPE_DISCONNECTED : NTSTATUS = NTSTATUS ( -1073741648i32 as _ ) ; pub const STATUS_PIPE_EMPTY : NTSTATUS = NTSTATUS ( -1073741607i32 as _ ) ; pub const STATUS_PIPE_LISTENING : NTSTATUS = NTSTATUS ( -1073741645i32 as _ ) ; pub const STATUS_PIPE_NOT_AVAILABLE : NTSTATUS = NTSTATUS ( -1073741652i32 as _ ) ; pub const STATUS_PKINIT_CLIENT_FAILURE : NTSTATUS = NTSTATUS ( -1073740916i32 as _ ) ; pub const STATUS_PKINIT_FAILURE : NTSTATUS = NTSTATUS ( -1073741024i32 as _ ) ; pub const STATUS_PKINIT_NAME_MISMATCH : NTSTATUS = NTSTATUS ( -1073741063i32 as _ ) ; pub const STATUS_PKU2U_CERT_FAILURE : NTSTATUS = NTSTATUS ( -1073740753i32 as _ ) ; pub const STATUS_PLATFORM_MANIFEST_BINARY_ID_NOT_FOUND : NTSTATUS = NTSTATUS ( -1058340859i32 as _ ) ; pub const STATUS_PLATFORM_MANIFEST_CATALOG_NOT_AUTHORIZED : NTSTATUS = NTSTATUS ( -1058340860i32 as _ ) ; pub const STATUS_PLATFORM_MANIFEST_FILE_NOT_AUTHORIZED : NTSTATUS = NTSTATUS ( -1058340861i32 as _ ) ; pub const STATUS_PLATFORM_MANIFEST_INVALID : NTSTATUS = NTSTATUS ( -1058340862i32 as _ ) ; pub const STATUS_PLATFORM_MANIFEST_NOT_ACTIVE : NTSTATUS = NTSTATUS ( -1058340858i32 as _ ) ; pub const STATUS_PLATFORM_MANIFEST_NOT_AUTHORIZED : NTSTATUS = NTSTATUS ( -1058340863i32 as _ ) ; pub const STATUS_PLATFORM_MANIFEST_NOT_SIGNED : NTSTATUS = NTSTATUS ( -1058340857i32 as _ ) ; pub const STATUS_PLUGPLAY_NO_DEVICE : NTSTATUS = NTSTATUS ( -1073741218i32 as _ ) ; pub const STATUS_PLUGPLAY_QUERY_VETOED : NTSTATUS = NTSTATUS ( -2147483608i32 as _ ) ; pub const STATUS_PNP_BAD_MPS_TABLE : NTSTATUS = NTSTATUS ( -1073479627i32 as _ ) ; pub const STATUS_PNP_DEVICE_CONFIGURATION_PENDING : NTSTATUS = NTSTATUS ( -1073740651i32 as _ ) ; pub const STATUS_PNP_DRIVER_CONFIGURATION_INCOMPLETE : NTSTATUS = NTSTATUS ( -1073740653i32 as _ ) ; pub const STATUS_PNP_DRIVER_CONFIGURATION_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073740654i32 as _ ) ; pub const STATUS_PNP_DRIVER_PACKAGE_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073740655i32 as _ ) ; pub const STATUS_PNP_FUNCTION_DRIVER_REQUIRED : NTSTATUS = NTSTATUS ( -1073740652i32 as _ ) ; pub const STATUS_PNP_INVALID_ID : NTSTATUS = NTSTATUS ( -1073479624i32 as _ ) ; pub const STATUS_PNP_IRQ_TRANSLATION_FAILED : NTSTATUS = NTSTATUS ( -1073479625i32 as _ ) ; pub const STATUS_PNP_NO_COMPAT_DRIVERS : NTSTATUS = NTSTATUS ( -1073740656i32 as _ ) ; pub const STATUS_PNP_REBOOT_REQUIRED : NTSTATUS = NTSTATUS ( -1073741102i32 as _ ) ; pub const STATUS_PNP_RESTART_ENUMERATION : NTSTATUS = NTSTATUS ( -1073741106i32 as _ ) ; pub const STATUS_PNP_TRANSLATION_FAILED : NTSTATUS = NTSTATUS ( -1073479626i32 as _ ) ; pub const STATUS_POLICY_OBJECT_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073741158i32 as _ ) ; pub const STATUS_POLICY_ONLY_IN_DS : NTSTATUS = NTSTATUS ( -1073741157i32 as _ ) ; pub const STATUS_PORT_ALREADY_HAS_COMPLETION_LIST : NTSTATUS = NTSTATUS ( -1073740006i32 as _ ) ; pub const STATUS_PORT_ALREADY_SET : NTSTATUS = NTSTATUS ( -1073741752i32 as _ ) ; pub const STATUS_PORT_CLOSED : NTSTATUS = NTSTATUS ( -1073740032i32 as _ ) ; pub const STATUS_PORT_CONNECTION_REFUSED : NTSTATUS = NTSTATUS ( -1073741759i32 as _ ) ; pub const STATUS_PORT_DISCONNECTED : NTSTATUS = NTSTATUS ( -1073741769i32 as _ ) ; pub const STATUS_PORT_DO_NOT_DISTURB : NTSTATUS = NTSTATUS ( -1073741770i32 as _ ) ; pub const STATUS_PORT_MESSAGE_TOO_LONG : NTSTATUS = NTSTATUS ( -1073741777i32 as _ ) ; pub const STATUS_PORT_NOT_SET : NTSTATUS = NTSTATUS ( -1073740973i32 as _ ) ; pub const STATUS_PORT_UNREACHABLE : NTSTATUS = NTSTATUS ( -1073741249i32 as _ ) ; pub const STATUS_POSSIBLE_DEADLOCK : NTSTATUS = NTSTATUS ( -1073741420i32 as _ ) ; pub const STATUS_POWER_STATE_INVALID : NTSTATUS = NTSTATUS ( -1073741101i32 as _ ) ; pub const STATUS_PREDEFINED_HANDLE : NTSTATUS = NTSTATUS ( 1073741846i32 as _ ) ; pub const STATUS_PRENT4_MACHINE_ACCOUNT : NTSTATUS = NTSTATUS ( -1073740969i32 as _ ) ; pub const STATUS_PRIMARY_TRANSPORT_CONNECT_FAILED : NTSTATUS = NTSTATUS ( 270i32 as _ ) ; pub const STATUS_PRINT_CANCELLED : NTSTATUS = NTSTATUS ( -1073741624i32 as _ ) ; pub const STATUS_PRINT_QUEUE_FULL : NTSTATUS = NTSTATUS ( -1073741626i32 as _ ) ; pub const STATUS_PRIVILEGED_INSTRUCTION : NTSTATUS = NTSTATUS ( -1073741674i32 as _ ) ; pub const STATUS_PRIVILEGE_NOT_HELD : NTSTATUS = NTSTATUS ( -1073741727i32 as _ ) ; pub const STATUS_PROACTIVE_SCAN_IN_PROGRESS : NTSTATUS = NTSTATUS ( -1073739761i32 as _ ) ; pub const STATUS_PROCEDURE_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073741702i32 as _ ) ; pub const STATUS_PROCESS_CLONED : NTSTATUS = NTSTATUS ( 297i32 as _ ) ; pub const STATUS_PROCESS_IN_JOB : NTSTATUS = NTSTATUS ( 292i32 as _ ) ; pub const STATUS_PROCESS_IS_PROTECTED : NTSTATUS = NTSTATUS ( -1073740014i32 as _ ) ; pub const STATUS_PROCESS_IS_TERMINATING : NTSTATUS = NTSTATUS ( -1073741558i32 as _ ) ; pub const STATUS_PROCESS_NOT_IN_JOB : NTSTATUS = NTSTATUS ( 291i32 as _ ) ; pub const STATUS_PROFILING_AT_LIMIT : NTSTATUS = NTSTATUS ( -1073741613i32 as _ ) ; pub const STATUS_PROFILING_NOT_STARTED : NTSTATUS = NTSTATUS ( -1073741641i32 as _ ) ; pub const STATUS_PROFILING_NOT_STOPPED : NTSTATUS = NTSTATUS ( -1073741640i32 as _ ) ; pub const STATUS_PROPSET_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073741264i32 as _ ) ; pub const STATUS_PROTOCOL_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1073700845i32 as _ ) ; pub const STATUS_PROTOCOL_UNREACHABLE : NTSTATUS = NTSTATUS ( -1073741250i32 as _ ) ; pub const STATUS_PTE_CHANGED : NTSTATUS = NTSTATUS ( -1073740748i32 as _ ) ; pub const STATUS_PURGE_FAILED : NTSTATUS = NTSTATUS ( -1073740747i32 as _ ) ; pub const STATUS_PWD_HISTORY_CONFLICT : NTSTATUS = NTSTATUS ( -1073741220i32 as _ ) ; pub const STATUS_PWD_TOO_LONG : NTSTATUS = NTSTATUS ( -1073741190i32 as _ ) ; pub const STATUS_PWD_TOO_RECENT : NTSTATUS = NTSTATUS ( -1073741221i32 as _ ) ; pub const STATUS_PWD_TOO_SHORT : NTSTATUS = NTSTATUS ( -1073741222i32 as _ ) ; pub const STATUS_QUERY_STORAGE_ERROR : NTSTATUS = NTSTATUS ( -2143682559i32 as _ ) ; pub const STATUS_QUIC_HANDSHAKE_FAILURE : NTSTATUS = NTSTATUS ( -1071382528i32 as _ ) ; pub const STATUS_QUIC_VER_NEG_FAILURE : NTSTATUS = NTSTATUS ( -1071382527i32 as _ ) ; pub const STATUS_QUOTA_ACTIVITY : NTSTATUS = NTSTATUS ( -1073740662i32 as _ ) ; pub const STATUS_QUOTA_EXCEEDED : NTSTATUS = NTSTATUS ( -1073741756i32 as _ ) ; pub const STATUS_QUOTA_LIST_INCONSISTENT : NTSTATUS = NTSTATUS ( -1073741210i32 as _ ) ; pub const STATUS_QUOTA_NOT_ENABLED : NTSTATUS = NTSTATUS ( -1073741399i32 as _ ) ; pub const STATUS_RANGE_LIST_CONFLICT : NTSTATUS = NTSTATUS ( -1073741182i32 as _ ) ; pub const STATUS_RANGE_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073741172i32 as _ ) ; pub const STATUS_RANGE_NOT_LOCKED : NTSTATUS = NTSTATUS ( -1073741698i32 as _ ) ; pub const STATUS_RDBSS_CONTINUE_OPERATION : NTSTATUS = NTSTATUS ( -1069481982i32 as _ ) ; pub const STATUS_RDBSS_POST_OPERATION : NTSTATUS = NTSTATUS ( -1069481981i32 as _ ) ; pub const STATUS_RDBSS_RESTART_OPERATION : NTSTATUS = NTSTATUS ( -1069481983i32 as _ ) ; pub const STATUS_RDBSS_RETRY_LOOKUP : NTSTATUS = NTSTATUS ( -1069481980i32 as _ ) ; pub const STATUS_RDP_PROTOCOL_ERROR : NTSTATUS = NTSTATUS ( -1073086414i32 as _ ) ; pub const STATUS_RECEIVE_EXPEDITED : NTSTATUS = NTSTATUS ( 1073741840i32 as _ ) ; pub const STATUS_RECEIVE_PARTIAL : NTSTATUS = NTSTATUS ( 1073741839i32 as _ ) ; pub const STATUS_RECEIVE_PARTIAL_EXPEDITED : NTSTATUS = NTSTATUS ( 1073741841i32 as _ ) ; pub const STATUS_RECOVERY_FAILURE : NTSTATUS = NTSTATUS ( -1073741273i32 as _ ) ; pub const STATUS_RECOVERY_NOT_NEEDED : NTSTATUS = NTSTATUS ( 1075380276i32 as _ ) ; pub const STATUS_RECURSIVE_DISPATCH : NTSTATUS = NTSTATUS ( -1073740028i32 as _ ) ; pub const STATUS_REDIRECTOR_HAS_OPEN_HANDLES : NTSTATUS = NTSTATUS ( -2147483613i32 as _ ) ; pub const STATUS_REDIRECTOR_NOT_STARTED : NTSTATUS = NTSTATUS ( -1073741573i32 as _ ) ; pub const STATUS_REDIRECTOR_PAUSED : NTSTATUS = NTSTATUS ( -1073741615i32 as _ ) ; pub const STATUS_REDIRECTOR_STARTED : NTSTATUS = NTSTATUS ( -1073741572i32 as _ ) ; pub const STATUS_REGISTRY_CORRUPT : NTSTATUS = NTSTATUS ( -1073741492i32 as _ ) ; pub const STATUS_REGISTRY_HIVE_RECOVERED : NTSTATUS = NTSTATUS ( -2147483606i32 as _ ) ; pub const STATUS_REGISTRY_IO_FAILED : NTSTATUS = NTSTATUS ( -1073741491i32 as _ ) ; pub const STATUS_REGISTRY_QUOTA_LIMIT : NTSTATUS = NTSTATUS ( -1073741226i32 as _ ) ; pub const STATUS_REGISTRY_RECOVERED : NTSTATUS = NTSTATUS ( 1073741833i32 as _ ) ; pub const STATUS_REG_NAT_CONSUMPTION : NTSTATUS = NTSTATUS ( -1073741111i32 as _ ) ; pub const STATUS_REINITIALIZATION_NEEDED : NTSTATUS = NTSTATUS ( -1073741177i32 as _ ) ; pub const STATUS_REMOTE_DISCONNECT : NTSTATUS = NTSTATUS ( -1073741508i32 as _ ) ; pub const STATUS_REMOTE_FILE_VERSION_MISMATCH : NTSTATUS = NTSTATUS ( -1072103412i32 as _ ) ; pub const STATUS_REMOTE_NOT_LISTENING : NTSTATUS = NTSTATUS ( -1073741636i32 as _ ) ; pub const STATUS_REMOTE_RESOURCES : NTSTATUS = NTSTATUS ( -1073741507i32 as _ ) ; pub const STATUS_REMOTE_SESSION_LIMIT : NTSTATUS = NTSTATUS ( -1073741418i32 as _ ) ; pub const STATUS_REMOTE_STORAGE_MEDIA_ERROR : NTSTATUS = NTSTATUS ( -1073741154i32 as _ ) ; pub const STATUS_REMOTE_STORAGE_NOT_ACTIVE : NTSTATUS = NTSTATUS ( -1073741155i32 as _ ) ; pub const STATUS_REPAIR_NEEDED : NTSTATUS = NTSTATUS ( -1073741400i32 as _ ) ; pub const STATUS_REPARSE : NTSTATUS = NTSTATUS ( 260i32 as _ ) ; pub const STATUS_REPARSE_ATTRIBUTE_CONFLICT : NTSTATUS = NTSTATUS ( -1073741134i32 as _ ) ; pub const STATUS_REPARSE_GLOBAL : NTSTATUS = NTSTATUS ( 872i32 as _ ) ; pub const STATUS_REPARSE_OBJECT : NTSTATUS = NTSTATUS ( 280i32 as _ ) ; pub const STATUS_REPARSE_POINT_ENCOUNTERED : NTSTATUS = NTSTATUS ( -1073740533i32 as _ ) ; pub const STATUS_REPARSE_POINT_NOT_RESOLVED : NTSTATUS = NTSTATUS ( -1073741184i32 as _ ) ; pub const STATUS_REPLY_MESSAGE_MISMATCH : NTSTATUS = NTSTATUS ( -1073741281i32 as _ ) ; pub const STATUS_REQUEST_ABORTED : NTSTATUS = NTSTATUS ( -1073741248i32 as _ ) ; pub const STATUS_REQUEST_CANCELED : NTSTATUS = NTSTATUS ( -1073740029i32 as _ ) ; pub const STATUS_REQUEST_NOT_ACCEPTED : NTSTATUS = NTSTATUS ( -1073741616i32 as _ ) ; pub const STATUS_REQUEST_OUT_OF_SEQUENCE : NTSTATUS = NTSTATUS ( -1073740758i32 as _ ) ; pub const STATUS_REQUEST_PAUSED : NTSTATUS = NTSTATUS ( -1073740711i32 as _ ) ; pub const STATUS_RESIDENT_FILE_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1073740678i32 as _ ) ; pub const STATUS_RESOURCEMANAGER_NOT_FOUND : NTSTATUS = NTSTATUS ( -1072103345i32 as _ ) ; pub const STATUS_RESOURCEMANAGER_READ_ONLY : NTSTATUS = NTSTATUS ( 514i32 as _ ) ; pub const STATUS_RESOURCE_DATA_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073741687i32 as _ ) ; pub const STATUS_RESOURCE_ENUM_USER_STOP : NTSTATUS = NTSTATUS ( -1073020921i32 as _ ) ; pub const STATUS_RESOURCE_IN_USE : NTSTATUS = NTSTATUS ( -1073740024i32 as _ ) ; pub const STATUS_RESOURCE_LANG_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073741308i32 as _ ) ; pub const STATUS_RESOURCE_NAME_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073741685i32 as _ ) ; pub const STATUS_RESOURCE_NOT_OWNED : NTSTATUS = NTSTATUS ( -1073741212i32 as _ ) ; pub const STATUS_RESOURCE_REQUIREMENTS_CHANGED : NTSTATUS = NTSTATUS ( 281i32 as _ ) ; pub const STATUS_RESOURCE_TYPE_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073741686i32 as _ ) ; pub const STATUS_RESTART_BOOT_APPLICATION : NTSTATUS = NTSTATUS ( -1073740717i32 as _ ) ; pub const STATUS_RESUME_HIBERNATION : NTSTATUS = NTSTATUS ( 1073741867i32 as _ ) ; pub const STATUS_RETRY : NTSTATUS = NTSTATUS ( -1073741267i32 as _ ) ; pub const STATUS_RETURN_ADDRESS_HIJACK_ATTEMPT : NTSTATUS = NTSTATUS ( -2147483597i32 as _ ) ; pub const STATUS_REVISION_MISMATCH : NTSTATUS = NTSTATUS ( -1073741735i32 as _ ) ; pub const STATUS_REVOCATION_OFFLINE_C : NTSTATUS = NTSTATUS ( -1073740917i32 as _ ) ; pub const STATUS_REVOCATION_OFFLINE_KDC : NTSTATUS = NTSTATUS ( -1073740788i32 as _ ) ; pub const STATUS_RING_NEWLY_EMPTY : NTSTATUS = NTSTATUS ( 531i32 as _ ) ; pub const STATUS_RING_PREVIOUSLY_ABOVE_QUOTA : NTSTATUS = NTSTATUS ( 530i32 as _ ) ; pub const STATUS_RING_PREVIOUSLY_EMPTY : NTSTATUS = NTSTATUS ( 528i32 as _ ) ; pub const STATUS_RING_PREVIOUSLY_FULL : NTSTATUS = NTSTATUS ( 529i32 as _ ) ; pub const STATUS_RING_SIGNAL_OPPOSITE_ENDPOINT : NTSTATUS = NTSTATUS ( 532i32 as _ ) ; pub const STATUS_RKF_ACTIVE_KEY : NTSTATUS = NTSTATUS ( -1069547514i32 as _ ) ; pub const STATUS_RKF_BLOB_FULL : NTSTATUS = NTSTATUS ( -1069547517i32 as _ ) ; pub const STATUS_RKF_DUPLICATE_KEY : NTSTATUS = NTSTATUS ( -1069547518i32 as _ ) ; pub const STATUS_RKF_FILE_BLOCKED : NTSTATUS = NTSTATUS ( -1069547515i32 as _ ) ; pub const STATUS_RKF_KEY_NOT_FOUND : NTSTATUS = NTSTATUS ( -1069547519i32 as _ ) ; pub const STATUS_RKF_STORE_FULL : NTSTATUS = NTSTATUS ( -1069547516i32 as _ ) ; pub const STATUS_RM_ALREADY_STARTED : NTSTATUS = NTSTATUS ( 1075380277i32 as _ ) ; pub const STATUS_RM_CANNOT_BE_FROZEN_FOR_SNAPSHOT : NTSTATUS = NTSTATUS ( -1072103331i32 as _ ) ; pub const STATUS_RM_DISCONNECTED : NTSTATUS = NTSTATUS ( -1072103374i32 as _ ) ; pub const STATUS_RM_METADATA_CORRUPT : NTSTATUS = NTSTATUS ( -1072103418i32 as _ ) ; pub const STATUS_RM_NOT_ACTIVE : NTSTATUS = NTSTATUS ( -1072103419i32 as _ ) ; pub const STATUS_ROLLBACK_TIMER_EXPIRED : NTSTATUS = NTSTATUS ( -1072103364i32 as _ ) ; pub const STATUS_RTPM_CONTEXT_COMPLETE : NTSTATUS = NTSTATUS ( 2699265i32 as _ ) ; pub const STATUS_RTPM_CONTEXT_CONTINUE : NTSTATUS = NTSTATUS ( 2699264i32 as _ ) ; pub const STATUS_RTPM_INVALID_CONTEXT : NTSTATUS = NTSTATUS ( -1071042556i32 as _ ) ; pub const STATUS_RTPM_NO_RESULT : NTSTATUS = NTSTATUS ( -1071042558i32 as _ ) ; pub const STATUS_RTPM_PCR_READ_INCOMPLETE : NTSTATUS = NTSTATUS ( -1071042557i32 as _ ) ; pub const STATUS_RTPM_UNSUPPORTED_CMD : NTSTATUS = NTSTATUS ( -1071042555i32 as _ ) ; pub const STATUS_RUNLEVEL_SWITCH_AGENT_TIMEOUT : NTSTATUS = NTSTATUS ( -1073700539i32 as _ ) ; pub const STATUS_RUNLEVEL_SWITCH_IN_PROGRESS : NTSTATUS = NTSTATUS ( -1073700538i32 as _ ) ; pub const STATUS_RUNLEVEL_SWITCH_TIMEOUT : NTSTATUS = NTSTATUS ( -1073700541i32 as _ ) ; pub const STATUS_RWRAW_ENCRYPTED_FILE_NOT_ENCRYPTED : NTSTATUS = NTSTATUS ( -1073740633i32 as _ ) ; pub const STATUS_RWRAW_ENCRYPTED_INVALID_EDATAINFO_FILEOFFSET : NTSTATUS = NTSTATUS ( -1073740632i32 as _ ) ; pub const STATUS_RWRAW_ENCRYPTED_INVALID_EDATAINFO_FILERANGE : NTSTATUS = NTSTATUS ( -1073740631i32 as _ ) ; pub const STATUS_RWRAW_ENCRYPTED_INVALID_EDATAINFO_PARAMETER : NTSTATUS = NTSTATUS ( -1073740630i32 as _ ) ; pub const STATUS_RXACT_COMMITTED : NTSTATUS = NTSTATUS ( 266i32 as _ ) ; pub const STATUS_RXACT_COMMIT_FAILURE : NTSTATUS = NTSTATUS ( -1073741539i32 as _ ) ; pub const STATUS_RXACT_COMMIT_NECESSARY : NTSTATUS = NTSTATUS ( -2147483624i32 as _ ) ; pub const STATUS_RXACT_INVALID_STATE : NTSTATUS = NTSTATUS ( -1073741540i32 as _ ) ; pub const STATUS_RXACT_STATE_CREATED : NTSTATUS = NTSTATUS ( 1073741828i32 as _ ) ; pub const STATUS_SAM_INIT_FAILURE : NTSTATUS = NTSTATUS ( -1073741085i32 as _ ) ; pub const STATUS_SAM_NEED_BOOTKEY_FLOPPY : NTSTATUS = NTSTATUS ( -1073741088i32 as _ ) ; pub const STATUS_SAM_NEED_BOOTKEY_PASSWORD : NTSTATUS = NTSTATUS ( -1073741089i32 as _ ) ; pub const STATUS_SCRUB_DATA_DISABLED : NTSTATUS = NTSTATUS ( -1073740680i32 as _ ) ; pub const STATUS_SECCORE_INVALID_COMMAND : NTSTATUS = NTSTATUS ( -1058537472i32 as _ ) ; pub const STATUS_SECONDARY_IC_PROVIDER_NOT_REGISTERED : NTSTATUS = NTSTATUS ( -1073700575i32 as _ ) ; pub const STATUS_SECRET_TOO_LONG : NTSTATUS = NTSTATUS ( -1073741481i32 as _ ) ; pub const STATUS_SECTION_NOT_EXTENDED : NTSTATUS = NTSTATUS ( -1073741689i32 as _ ) ; pub const STATUS_SECTION_NOT_IMAGE : NTSTATUS = NTSTATUS ( -1073741751i32 as _ ) ; pub const STATUS_SECTION_PROTECTION : NTSTATUS = NTSTATUS ( -1073741746i32 as _ ) ; pub const STATUS_SECTION_TOO_BIG : NTSTATUS = NTSTATUS ( -1073741760i32 as _ ) ; pub const STATUS_SECUREBOOT_FILE_REPLACED : NTSTATUS = NTSTATUS ( -1069350905i32 as _ ) ; pub const STATUS_SECUREBOOT_INVALID_POLICY : NTSTATUS = NTSTATUS ( -1069350909i32 as _ ) ; pub const STATUS_SECUREBOOT_NOT_BASE_POLICY : NTSTATUS = NTSTATUS ( -1069350897i32 as _ ) ; pub const STATUS_SECUREBOOT_NOT_ENABLED : NTSTATUS = NTSTATUS ( -2143092730i32 as _ ) ; pub const STATUS_SECUREBOOT_NOT_SUPPLEMENTAL_POLICY : NTSTATUS = NTSTATUS ( -1069350896i32 as _ ) ; pub const STATUS_SECUREBOOT_PLATFORM_ID_MISMATCH : NTSTATUS = NTSTATUS ( -1069350901i32 as _ ) ; pub const STATUS_SECUREBOOT_POLICY_MISSING_ANTIROLLBACKVERSION : NTSTATUS = NTSTATUS ( -1069350902i32 as _ ) ; pub const STATUS_SECUREBOOT_POLICY_NOT_AUTHORIZED : NTSTATUS = NTSTATUS ( -1069350904i32 as _ ) ; pub const STATUS_SECUREBOOT_POLICY_NOT_SIGNED : NTSTATUS = NTSTATUS ( -1069350907i32 as _ ) ; pub const STATUS_SECUREBOOT_POLICY_PUBLISHER_NOT_FOUND : NTSTATUS = NTSTATUS ( -1069350908i32 as _ ) ; pub const STATUS_SECUREBOOT_POLICY_ROLLBACK_DETECTED : NTSTATUS = NTSTATUS ( -1069350900i32 as _ ) ; pub const STATUS_SECUREBOOT_POLICY_UNKNOWN : NTSTATUS = NTSTATUS ( -1069350903i32 as _ ) ; pub const STATUS_SECUREBOOT_POLICY_UPGRADE_MISMATCH : NTSTATUS = NTSTATUS ( -1069350899i32 as _ ) ; pub const STATUS_SECUREBOOT_POLICY_VIOLATION : NTSTATUS = NTSTATUS ( -1069350910i32 as _ ) ; pub const STATUS_SECUREBOOT_REQUIRED_POLICY_FILE_MISSING : NTSTATUS = NTSTATUS ( -1069350898i32 as _ ) ; pub const STATUS_SECUREBOOT_ROLLBACK_DETECTED : NTSTATUS = NTSTATUS ( -1069350911i32 as _ ) ; pub const STATUS_SECURITY_STREAM_IS_INCONSISTENT : NTSTATUS = NTSTATUS ( -1073741408i32 as _ ) ; pub const STATUS_SEGMENT_NOTIFICATION : NTSTATUS = NTSTATUS ( 1073741829i32 as _ ) ; pub const STATUS_SEMAPHORE_LIMIT_EXCEEDED : NTSTATUS = NTSTATUS ( -1073741753i32 as _ ) ; pub const STATUS_SERIAL_COUNTER_TIMEOUT : NTSTATUS = NTSTATUS ( 1073741836i32 as _ ) ; pub const STATUS_SERIAL_MORE_WRITES : NTSTATUS = NTSTATUS ( 1073741832i32 as _ ) ; pub const STATUS_SERIAL_NO_DEVICE_INITED : NTSTATUS = NTSTATUS ( -1073741488i32 as _ ) ; pub const STATUS_SERVER_DISABLED : NTSTATUS = NTSTATUS ( -1073741696i32 as _ ) ; pub const STATUS_SERVER_HAS_OPEN_HANDLES : NTSTATUS = NTSTATUS ( -2147483612i32 as _ ) ; pub const STATUS_SERVER_NOT_DISABLED : NTSTATUS = NTSTATUS ( -1073741695i32 as _ ) ; pub const STATUS_SERVER_SHUTDOWN_IN_PROGRESS : NTSTATUS = NTSTATUS ( -1073741057i32 as _ ) ; pub const STATUS_SERVER_SID_MISMATCH : NTSTATUS = NTSTATUS ( -1073741152i32 as _ ) ; pub const STATUS_SERVER_UNAVAILABLE : NTSTATUS = NTSTATUS ( -1073740698i32 as _ ) ; pub const STATUS_SERVICES_FAILED_AUTOSTART : NTSTATUS = NTSTATUS ( 1073783108i32 as _ ) ; pub const STATUS_SERVICE_NOTIFICATION : NTSTATUS = NTSTATUS ( 1073741848i32 as _ ) ; pub const STATUS_SETMARK_DETECTED : NTSTATUS = NTSTATUS ( -2147483615i32 as _ ) ; pub const STATUS_SET_CONTEXT_DENIED : NTSTATUS = NTSTATUS ( -1073740278i32 as _ ) ; pub const STATUS_SEVERITY_ERROR : u32 = 3u32 ; pub const STATUS_SEVERITY_INFORMATIONAL : u32 = 1u32 ; pub const STATUS_SEVERITY_SUCCESS : u32 = 0u32 ; pub const STATUS_SEVERITY_WARNING : u32 = 2u32 ; pub const STATUS_SHARED_IRQ_BUSY : NTSTATUS = NTSTATUS ( -1073741460i32 as _ ) ; pub const STATUS_SHARED_POLICY : NTSTATUS = NTSTATUS ( -1073741159i32 as _ ) ; pub const STATUS_SHARE_UNAVAILABLE : NTSTATUS = NTSTATUS ( -1073740672i32 as _ ) ; pub const STATUS_SHARING_PAUSED : NTSTATUS = NTSTATUS ( -1073741617i32 as _ ) ; pub const STATUS_SHARING_VIOLATION : NTSTATUS = NTSTATUS ( -1073741757i32 as _ ) ; pub const STATUS_SHORT_NAMES_NOT_ENABLED_ON_VOLUME : NTSTATUS = NTSTATUS ( -1073741409i32 as _ ) ; pub const STATUS_SHUTDOWN_IN_PROGRESS : NTSTATUS = NTSTATUS ( -1073741058i32 as _ ) ; pub const STATUS_SINGLE_STEP : NTSTATUS = NTSTATUS ( -2147483644i32 as _ ) ; pub const STATUS_SMARTCARD_CARD_BLOCKED : NTSTATUS = NTSTATUS ( -1073740927i32 as _ ) ; pub const STATUS_SMARTCARD_CARD_NOT_AUTHENTICATED : NTSTATUS = NTSTATUS ( -1073740926i32 as _ ) ; pub const STATUS_SMARTCARD_CERT_EXPIRED : NTSTATUS = NTSTATUS ( -1073740915i32 as _ ) ; pub const STATUS_SMARTCARD_CERT_REVOKED : NTSTATUS = NTSTATUS ( -1073740919i32 as _ ) ; pub const STATUS_SMARTCARD_IO_ERROR : NTSTATUS = NTSTATUS ( -1073740921i32 as _ ) ; pub const STATUS_SMARTCARD_LOGON_REQUIRED : NTSTATUS = NTSTATUS ( -1073741062i32 as _ ) ; pub const STATUS_SMARTCARD_NO_CARD : NTSTATUS = NTSTATUS ( -1073740925i32 as _ ) ; pub const STATUS_SMARTCARD_NO_CERTIFICATE : NTSTATUS = NTSTATUS ( -1073740923i32 as _ ) ; pub const STATUS_SMARTCARD_NO_KEYSET : NTSTATUS = NTSTATUS ( -1073740922i32 as _ ) ; pub const STATUS_SMARTCARD_NO_KEY_CONTAINER : NTSTATUS = NTSTATUS ( -1073740924i32 as _ ) ; pub const STATUS_SMARTCARD_SILENT_CONTEXT : NTSTATUS = NTSTATUS ( -1073740913i32 as _ ) ; pub const STATUS_SMARTCARD_SUBSYSTEM_FAILURE : NTSTATUS = NTSTATUS ( -1073741023i32 as _ ) ; pub const STATUS_SMARTCARD_WRONG_PIN : NTSTATUS = NTSTATUS ( -1073740928i32 as _ ) ; pub const STATUS_SMB1_NOT_AVAILABLE : NTSTATUS = NTSTATUS ( -1073740525i32 as _ ) ; pub const STATUS_SMB_BAD_CLUSTER_DIALECT : NTSTATUS = NTSTATUS ( -1067646975i32 as _ ) ; pub const STATUS_SMB_GUEST_LOGON_BLOCKED : NTSTATUS = NTSTATUS ( -1067646974i32 as _ ) ; pub const STATUS_SMB_NO_PREAUTH_INTEGRITY_HASH_OVERLAP : NTSTATUS = NTSTATUS ( -1067646976i32 as _ ) ; pub const STATUS_SMI_PRIMITIVE_INSTALLER_FAILED : NTSTATUS = NTSTATUS ( -1072365531i32 as _ ) ; pub const STATUS_SMR_GARBAGE_COLLECTION_REQUIRED : NTSTATUS = NTSTATUS ( -1073740524i32 as _ ) ; pub const STATUS_SOME_NOT_MAPPED : NTSTATUS = NTSTATUS ( 263i32 as _ ) ; pub const STATUS_SOURCE_ELEMENT_EMPTY : NTSTATUS = NTSTATUS ( -1073741181i32 as _ ) ; pub const STATUS_SPACES_ALLOCATION_SIZE_INVALID : NTSTATUS = NTSTATUS ( -1058602994i32 as _ ) ; pub const STATUS_SPACES_COMPLETE : NTSTATUS = NTSTATUS ( 15138818i32 as _ ) ; pub const STATUS_SPACES_CORRUPT_METADATA : NTSTATUS = NTSTATUS ( -1058602986i32 as _ ) ; pub const STATUS_SPACES_DRIVE_LOST_DATA : NTSTATUS = NTSTATUS ( -1058602979i32 as _ ) ; pub const STATUS_SPACES_DRIVE_NOT_READY : NTSTATUS = NTSTATUS ( -1058602981i32 as _ ) ; pub const STATUS_SPACES_DRIVE_OPERATIONAL_STATE_INVALID : NTSTATUS = NTSTATUS ( -1058602990i32 as _ ) ; pub const STATUS_SPACES_DRIVE_REDUNDANCY_INVALID : NTSTATUS = NTSTATUS ( -1058603002i32 as _ ) ; pub const STATUS_SPACES_DRIVE_SECTOR_SIZE_INVALID : NTSTATUS = NTSTATUS ( -1058603004i32 as _ ) ; pub const STATUS_SPACES_DRIVE_SPLIT : NTSTATUS = NTSTATUS ( -1058602980i32 as _ ) ; pub const STATUS_SPACES_DRT_FULL : NTSTATUS = NTSTATUS ( -1058602985i32 as _ ) ; pub const STATUS_SPACES_ENCLOSURE_AWARE_INVALID : NTSTATUS = NTSTATUS ( -1058602993i32 as _ ) ; pub const STATUS_SPACES_ENTRY_INCOMPLETE : NTSTATUS = NTSTATUS ( -1058602978i32 as _ ) ; pub const STATUS_SPACES_ENTRY_INVALID : NTSTATUS = NTSTATUS ( -1058602977i32 as _ ) ; pub const STATUS_SPACES_EXTENDED_ERROR : NTSTATUS = NTSTATUS ( -1058602996i32 as _ ) ; pub const STATUS_SPACES_FAULT_DOMAIN_TYPE_INVALID : NTSTATUS = NTSTATUS ( -1058603007i32 as _ ) ; pub const STATUS_SPACES_INCONSISTENCY : NTSTATUS = NTSTATUS ( -1058602984i32 as _ ) ; pub const STATUS_SPACES_INTERLEAVE_LENGTH_INVALID : NTSTATUS = NTSTATUS ( -1058602999i32 as _ ) ; pub const STATUS_SPACES_LOG_NOT_READY : NTSTATUS = NTSTATUS ( -1058602983i32 as _ ) ; pub const STATUS_SPACES_MAP_REQUIRED : NTSTATUS = NTSTATUS ( -1058602988i32 as _ ) ; pub const STATUS_SPACES_MARK_DIRTY : NTSTATUS = NTSTATUS ( -1058602976i32 as _ ) ; pub const STATUS_SPACES_NOT_ENOUGH_DRIVES : NTSTATUS = NTSTATUS ( -1058602997i32 as _ ) ; pub const STATUS_SPACES_NO_REDUNDANCY : NTSTATUS = NTSTATUS ( -1058602982i32 as _ ) ; pub const STATUS_SPACES_NUMBER_OF_COLUMNS_INVALID : NTSTATUS = NTSTATUS ( -1058602998i32 as _ ) ; pub const STATUS_SPACES_NUMBER_OF_DATA_COPIES_INVALID : NTSTATUS = NTSTATUS ( -1058603001i32 as _ ) ; pub const STATUS_SPACES_NUMBER_OF_GROUPS_INVALID : NTSTATUS = NTSTATUS ( -1058602991i32 as _ ) ; pub const STATUS_SPACES_PAUSE : NTSTATUS = NTSTATUS ( 15138817i32 as _ ) ; pub const STATUS_SPACES_PROVISIONING_TYPE_INVALID : NTSTATUS = NTSTATUS ( -1058602995i32 as _ ) ; pub const STATUS_SPACES_REDIRECT : NTSTATUS = NTSTATUS ( 15138819i32 as _ ) ; pub const STATUS_SPACES_REPAIRED : NTSTATUS = NTSTATUS ( 15138816i32 as _ ) ; pub const STATUS_SPACES_RESILIENCY_TYPE_INVALID : NTSTATUS = NTSTATUS ( -1058603005i32 as _ ) ; pub const STATUS_SPACES_UNSUPPORTED_VERSION : NTSTATUS = NTSTATUS ( -1058602987i32 as _ ) ; pub const STATUS_SPACES_UPDATE_COLUMN_STATE : NTSTATUS = NTSTATUS ( -1058602989i32 as _ ) ; pub const STATUS_SPACES_WRITE_CACHE_SIZE_INVALID : NTSTATUS = NTSTATUS ( -1058602992i32 as _ ) ; pub const STATUS_SPARSE_NOT_ALLOWED_IN_TRANSACTION : NTSTATUS = NTSTATUS ( -1072103351i32 as _ ) ; pub const STATUS_SPECIAL_ACCOUNT : NTSTATUS = NTSTATUS ( -1073741532i32 as _ ) ; pub const STATUS_SPECIAL_GROUP : NTSTATUS = NTSTATUS ( -1073741531i32 as _ ) ; pub const STATUS_SPECIAL_USER : NTSTATUS = NTSTATUS ( -1073741530i32 as _ ) ; pub const STATUS_STACK_BUFFER_OVERRUN : NTSTATUS = NTSTATUS ( -1073740791i32 as _ ) ; pub const STATUS_STACK_OVERFLOW : NTSTATUS = NTSTATUS ( -1073741571i32 as _ ) ; pub const STATUS_STACK_OVERFLOW_READ : NTSTATUS = NTSTATUS ( -1073741272i32 as _ ) ; pub const STATUS_STOPPED_ON_SYMLINK : NTSTATUS = NTSTATUS ( -2147483603i32 as _ ) ; pub const STATUS_STORAGE_LOST_DATA_PERSISTENCE : NTSTATUS = NTSTATUS ( -1073740642i32 as _ ) ; pub const STATUS_STORAGE_RESERVE_ALREADY_EXISTS : NTSTATUS = NTSTATUS ( -1073740625i32 as _ ) ; pub const STATUS_STORAGE_RESERVE_DOES_NOT_EXIST : NTSTATUS = NTSTATUS ( -1073740626i32 as _ ) ; pub const STATUS_STORAGE_RESERVE_ID_INVALID : NTSTATUS = NTSTATUS ( -1073740627i32 as _ ) ; pub const STATUS_STORAGE_RESERVE_NOT_EMPTY : NTSTATUS = NTSTATUS ( -1073740624i32 as _ ) ; pub const STATUS_STORAGE_TOPOLOGY_ID_MISMATCH : NTSTATUS = NTSTATUS ( -1073740666i32 as _ ) ; pub const STATUS_STOWED_EXCEPTION : NTSTATUS = NTSTATUS ( -1073741189i32 as _ ) ; pub const STATUS_STREAM_MINIVERSION_NOT_FOUND : NTSTATUS = NTSTATUS ( -1072103390i32 as _ ) ; pub const STATUS_STREAM_MINIVERSION_NOT_VALID : NTSTATUS = NTSTATUS ( -1072103389i32 as _ ) ; pub const STATUS_STRICT_CFG_VIOLATION : NTSTATUS = NTSTATUS ( -1073740282i32 as _ ) ; pub const STATUS_STRONG_CRYPTO_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1073741066i32 as _ ) ; pub const STATUS_SUCCESS : NTSTATUS = NTSTATUS ( 0i32 as _ ) ; pub const STATUS_SUSPEND_COUNT_EXCEEDED : NTSTATUS = NTSTATUS ( -1073741750i32 as _ ) ; pub const STATUS_SVHDX_ERROR_NOT_AVAILABLE : NTSTATUS = NTSTATUS ( -1067647232i32 as _ ) ; pub const STATUS_SVHDX_ERROR_STORED : NTSTATUS = NTSTATUS ( -1067712512i32 as _ ) ; pub const STATUS_SVHDX_NO_INITIATOR : NTSTATUS = NTSTATUS ( -1067647221i32 as _ ) ; pub const STATUS_SVHDX_RESERVATION_CONFLICT : NTSTATUS = NTSTATUS ( -1067647225i32 as _ ) ; pub const STATUS_SVHDX_UNIT_ATTENTION_AVAILABLE : NTSTATUS = NTSTATUS ( -1067647231i32 as _ ) ; pub const STATUS_SVHDX_UNIT_ATTENTION_CAPACITY_DATA_CHANGED : NTSTATUS = NTSTATUS ( -1067647230i32 as _ ) ; pub const STATUS_SVHDX_UNIT_ATTENTION_OPERATING_DEFINITION_CHANGED : NTSTATUS = NTSTATUS ( -1067647226i32 as _ ) ; pub const STATUS_SVHDX_UNIT_ATTENTION_REGISTRATIONS_PREEMPTED : NTSTATUS = NTSTATUS ( -1067647227i32 as _ ) ; pub const STATUS_SVHDX_UNIT_ATTENTION_RESERVATIONS_PREEMPTED : NTSTATUS = NTSTATUS ( -1067647229i32 as _ ) ; pub const STATUS_SVHDX_UNIT_ATTENTION_RESERVATIONS_RELEASED : NTSTATUS = NTSTATUS ( -1067647228i32 as _ ) ; pub const STATUS_SVHDX_VERSION_MISMATCH : NTSTATUS = NTSTATUS ( -1067647223i32 as _ ) ; pub const STATUS_SVHDX_WRONG_FILE_TYPE : NTSTATUS = NTSTATUS ( -1067647224i32 as _ ) ; pub const STATUS_SXS_ACTIVATION_CONTEXT_DISABLED : NTSTATUS = NTSTATUS ( -1072365561i32 as _ ) ; pub const STATUS_SXS_ASSEMBLY_IS_NOT_A_DEPLOYMENT : NTSTATUS = NTSTATUS ( -1072365538i32 as _ ) ; pub const STATUS_SXS_ASSEMBLY_MISSING : NTSTATUS = NTSTATUS ( -1072365556i32 as _ ) ; pub const STATUS_SXS_ASSEMBLY_NOT_FOUND : NTSTATUS = NTSTATUS ( -1072365564i32 as _ ) ; pub const STATUS_SXS_CANT_GEN_ACTCTX : NTSTATUS = NTSTATUS ( -1072365566i32 as _ ) ; pub const STATUS_SXS_COMPONENT_STORE_CORRUPT : NTSTATUS = NTSTATUS ( -1072365542i32 as _ ) ; pub const STATUS_SXS_CORRUPTION : NTSTATUS = NTSTATUS ( -1072365547i32 as _ ) ; pub const STATUS_SXS_CORRUPT_ACTIVATION_STACK : NTSTATUS = NTSTATUS ( -1072365548i32 as _ ) ; pub const STATUS_SXS_EARLY_DEACTIVATION : NTSTATUS = NTSTATUS ( -1072365553i32 as _ ) ; pub const STATUS_SXS_FILE_HASH_MISMATCH : NTSTATUS = NTSTATUS ( -1072365541i32 as _ ) ; pub const STATUS_SXS_FILE_HASH_MISSING : NTSTATUS = NTSTATUS ( -1072365529i32 as _ ) ; pub const STATUS_SXS_FILE_NOT_PART_OF_ASSEMBLY : NTSTATUS = NTSTATUS ( -1072365537i32 as _ ) ; pub const STATUS_SXS_IDENTITIES_DIFFERENT : NTSTATUS = NTSTATUS ( -1072365539i32 as _ ) ; pub const STATUS_SXS_IDENTITY_DUPLICATE_ATTRIBUTE : NTSTATUS = NTSTATUS ( -1072365544i32 as _ ) ; pub const STATUS_SXS_IDENTITY_PARSE_ERROR : NTSTATUS = NTSTATUS ( -1072365543i32 as _ ) ; pub const STATUS_SXS_INVALID_ACTCTXDATA_FORMAT : NTSTATUS = NTSTATUS ( -1072365565i32 as _ ) ; pub const STATUS_SXS_INVALID_DEACTIVATION : NTSTATUS = NTSTATUS ( -1072365552i32 as _ ) ; pub const STATUS_SXS_INVALID_IDENTITY_ATTRIBUTE_NAME : NTSTATUS = NTSTATUS ( -1072365545i32 as _ ) ; pub const STATUS_SXS_INVALID_IDENTITY_ATTRIBUTE_VALUE : NTSTATUS = NTSTATUS ( -1072365546i32 as _ ) ; pub const STATUS_SXS_KEY_NOT_FOUND : NTSTATUS = NTSTATUS ( -1072365560i32 as _ ) ; pub const STATUS_SXS_MANIFEST_FORMAT_ERROR : NTSTATUS = NTSTATUS ( -1072365563i32 as _ ) ; pub const STATUS_SXS_MANIFEST_IDENTITY_SAME_BUT_CONTENTS_DIFFERENT : NTSTATUS = NTSTATUS ( -1072365540i32 as _ ) ; pub const STATUS_SXS_MANIFEST_PARSE_ERROR : NTSTATUS = NTSTATUS ( -1072365562i32 as _ ) ; pub const STATUS_SXS_MANIFEST_TOO_BIG : NTSTATUS = NTSTATUS ( -1072365534i32 as _ ) ; pub const STATUS_SXS_MULTIPLE_DEACTIVATION : NTSTATUS = NTSTATUS ( -1072365551i32 as _ ) ; pub const STATUS_SXS_PROCESS_DEFAULT_ALREADY_SET : NTSTATUS = NTSTATUS ( -1072365554i32 as _ ) ; pub const STATUS_SXS_PROCESS_TERMINATION_REQUESTED : NTSTATUS = NTSTATUS ( -1072365549i32 as _ ) ; pub const STATUS_SXS_RELEASE_ACTIVATION_CONTEXT : NTSTATUS = NTSTATUS ( 1075118093i32 as _ ) ; pub const STATUS_SXS_SECTION_NOT_FOUND : NTSTATUS = NTSTATUS ( -1072365567i32 as _ ) ; pub const STATUS_SXS_SETTING_NOT_REGISTERED : NTSTATUS = NTSTATUS ( -1072365533i32 as _ ) ; pub const STATUS_SXS_SYSTEM_DEFAULT_ACTIVATION_CONTEXT_EMPTY : NTSTATUS = NTSTATUS ( -1072365550i32 as _ ) ; pub const STATUS_SXS_THREAD_QUERIES_DISABLED : NTSTATUS = NTSTATUS ( -1072365557i32 as _ ) ; pub const STATUS_SXS_TRANSACTION_CLOSURE_INCOMPLETE : NTSTATUS = NTSTATUS ( -1072365532i32 as _ ) ; pub const STATUS_SXS_VERSION_CONFLICT : NTSTATUS = NTSTATUS ( -1072365559i32 as _ ) ; pub const STATUS_SXS_WRONG_SECTION_TYPE : NTSTATUS = NTSTATUS ( -1072365558i32 as _ ) ; pub const STATUS_SYMLINK_CLASS_DISABLED : NTSTATUS = NTSTATUS ( -1073740011i32 as _ ) ; pub const STATUS_SYNCHRONIZATION_REQUIRED : NTSTATUS = NTSTATUS ( -1073741516i32 as _ ) ; pub const STATUS_SYSTEM_DEVICE_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073740718i32 as _ ) ; pub const STATUS_SYSTEM_HIVE_TOO_LARGE : NTSTATUS = NTSTATUS ( -1073740946i32 as _ ) ; pub const STATUS_SYSTEM_IMAGE_BAD_SIGNATURE : NTSTATUS = NTSTATUS ( -1073741103i32 as _ ) ; pub const STATUS_SYSTEM_INTEGRITY_INVALID_POLICY : NTSTATUS = NTSTATUS ( -1058471933i32 as _ ) ; pub const STATUS_SYSTEM_INTEGRITY_POLICY_NOT_SIGNED : NTSTATUS = NTSTATUS ( -1058471932i32 as _ ) ; pub const STATUS_SYSTEM_INTEGRITY_POLICY_VIOLATION : NTSTATUS = NTSTATUS ( -1058471934i32 as _ ) ; pub const STATUS_SYSTEM_INTEGRITY_ROLLBACK_DETECTED : NTSTATUS = NTSTATUS ( -1058471935i32 as _ ) ; pub const STATUS_SYSTEM_INTEGRITY_SUPPLEMENTAL_POLICY_NOT_AUTHORIZED : NTSTATUS = NTSTATUS ( -1058471930i32 as _ ) ; pub const STATUS_SYSTEM_INTEGRITY_TOO_MANY_POLICIES : NTSTATUS = NTSTATUS ( -1058471931i32 as _ ) ; pub const STATUS_SYSTEM_NEEDS_REMEDIATION : NTSTATUS = NTSTATUS ( -1073740674i32 as _ ) ; pub const STATUS_SYSTEM_POWERSTATE_COMPLEX_TRANSITION : NTSTATUS = NTSTATUS ( 1073741873i32 as _ ) ; pub const STATUS_SYSTEM_POWERSTATE_TRANSITION : NTSTATUS = NTSTATUS ( 1073741871i32 as _ ) ; pub const STATUS_SYSTEM_PROCESS_TERMINATED : NTSTATUS = NTSTATUS ( -1073741286i32 as _ ) ; pub const STATUS_SYSTEM_SHUTDOWN : NTSTATUS = NTSTATUS ( -1073741077i32 as _ ) ; pub const STATUS_THREADPOOL_FREE_LIBRARY_ON_COMPLETION_FAILED : NTSTATUS = NTSTATUS ( -1073740018i32 as _ ) ; pub const STATUS_THREADPOOL_HANDLE_EXCEPTION : NTSTATUS = NTSTATUS ( -1073740022i32 as _ ) ; pub const STATUS_THREADPOOL_RELEASED_DURING_OPERATION : NTSTATUS = NTSTATUS ( -1073740017i32 as _ ) ; pub const STATUS_THREADPOOL_RELEASE_MUTEX_ON_COMPLETION_FAILED : NTSTATUS = NTSTATUS ( -1073740019i32 as _ ) ; pub const STATUS_THREADPOOL_RELEASE_SEMAPHORE_ON_COMPLETION_FAILED : NTSTATUS = NTSTATUS ( -1073740020i32 as _ ) ; pub const STATUS_THREADPOOL_SET_EVENT_ON_COMPLETION_FAILED : NTSTATUS = NTSTATUS ( -1073740021i32 as _ ) ; pub const STATUS_THREAD_ALREADY_IN_SESSION : NTSTATUS = NTSTATUS ( -1073740714i32 as _ ) ; pub const STATUS_THREAD_ALREADY_IN_TASK : NTSTATUS = NTSTATUS ( -1073740542i32 as _ ) ; pub const STATUS_THREAD_IS_TERMINATING : NTSTATUS = NTSTATUS ( -1073741749i32 as _ ) ; pub const STATUS_THREAD_NOT_IN_PROCESS : NTSTATUS = NTSTATUS ( -1073741526i32 as _ ) ; pub const STATUS_THREAD_NOT_IN_SESSION : NTSTATUS = NTSTATUS ( -1073740713i32 as _ ) ; pub const STATUS_THREAD_NOT_RUNNING : NTSTATUS = NTSTATUS ( -1073740522i32 as _ ) ; pub const STATUS_THREAD_WAS_SUSPENDED : NTSTATUS = NTSTATUS ( 1073741825i32 as _ ) ; pub const STATUS_TIMEOUT : NTSTATUS = NTSTATUS ( 258i32 as _ ) ; pub const STATUS_TIMER_NOT_CANCELED : NTSTATUS = NTSTATUS ( -1073741812i32 as _ ) ; pub const STATUS_TIMER_RESOLUTION_NOT_SET : NTSTATUS = NTSTATUS ( -1073741243i32 as _ ) ; pub const STATUS_TIMER_RESUME_IGNORED : NTSTATUS = NTSTATUS ( 1073741861i32 as _ ) ; pub const STATUS_TIME_DIFFERENCE_AT_DC : NTSTATUS = NTSTATUS ( -1073741517i32 as _ ) ; pub const STATUS_TM_IDENTITY_MISMATCH : NTSTATUS = NTSTATUS ( -1072103350i32 as _ ) ; pub const STATUS_TM_INITIALIZATION_FAILED : NTSTATUS = NTSTATUS ( -1072103420i32 as _ ) ; pub const STATUS_TM_VOLATILE : NTSTATUS = NTSTATUS ( -1072103365i32 as _ ) ; pub const STATUS_TOKEN_ALREADY_IN_USE : NTSTATUS = NTSTATUS ( -1073741525i32 as _ ) ; pub const STATUS_TOO_LATE : NTSTATUS = NTSTATUS ( -1073741431i32 as _ ) ; pub const STATUS_TOO_MANY_ADDRESSES : NTSTATUS = NTSTATUS ( -1073741303i32 as _ ) ; pub const STATUS_TOO_MANY_COMMANDS : NTSTATUS = NTSTATUS ( -1073741631i32 as _ ) ; pub const STATUS_TOO_MANY_CONTEXT_IDS : NTSTATUS = NTSTATUS ( -1073741478i32 as _ ) ; pub const STATUS_TOO_MANY_GUIDS_REQUESTED : NTSTATUS = NTSTATUS ( -1073741694i32 as _ ) ; pub const STATUS_TOO_MANY_LINKS : NTSTATUS = NTSTATUS ( -1073741211i32 as _ ) ; pub const STATUS_TOO_MANY_LUIDS_REQUESTED : NTSTATUS = NTSTATUS ( -1073741708i32 as _ ) ; pub const STATUS_TOO_MANY_NAMES : NTSTATUS = NTSTATUS ( -1073741619i32 as _ ) ; pub const STATUS_TOO_MANY_NODES : NTSTATUS = NTSTATUS ( -1073741298i32 as _ ) ; pub const STATUS_TOO_MANY_OPENED_FILES : NTSTATUS = NTSTATUS ( -1073741537i32 as _ ) ; pub const STATUS_TOO_MANY_PAGING_FILES : NTSTATUS = NTSTATUS ( -1073741673i32 as _ ) ; pub const STATUS_TOO_MANY_PRINCIPALS : NTSTATUS = NTSTATUS ( -1073741065i32 as _ ) ; pub const STATUS_TOO_MANY_SECRETS : NTSTATUS = NTSTATUS ( -1073741482i32 as _ ) ; pub const STATUS_TOO_MANY_SEGMENT_DESCRIPTORS : NTSTATUS = NTSTATUS ( -1073740685i32 as _ ) ; pub const STATUS_TOO_MANY_SESSIONS : NTSTATUS = NTSTATUS ( -1073741618i32 as _ ) ; pub const STATUS_TOO_MANY_SIDS : NTSTATUS = NTSTATUS ( -1073741442i32 as _ ) ; pub const STATUS_TOO_MANY_THREADS : NTSTATUS = NTSTATUS ( -1073741527i32 as _ ) ; pub const STATUS_TPM_20_E_ASYMMETRIC : NTSTATUS = NTSTATUS ( -1071054719i32 as _ ) ; pub const STATUS_TPM_20_E_ATTRIBUTES : NTSTATUS = NTSTATUS ( -1071054718i32 as _ ) ; pub const STATUS_TPM_20_E_AUTHSIZE : NTSTATUS = NTSTATUS ( -1071054524i32 as _ ) ; pub const STATUS_TPM_20_E_AUTH_CONTEXT : NTSTATUS = NTSTATUS ( -1071054523i32 as _ ) ; pub const STATUS_TPM_20_E_AUTH_FAIL : NTSTATUS = NTSTATUS ( -1071054706i32 as _ ) ; pub const STATUS_TPM_20_E_AUTH_MISSING : NTSTATUS = NTSTATUS ( -1071054555i32 as _ ) ; pub const STATUS_TPM_20_E_AUTH_TYPE : NTSTATUS = NTSTATUS ( -1071054556i32 as _ ) ; pub const STATUS_TPM_20_E_AUTH_UNAVAILABLE : NTSTATUS = NTSTATUS ( -1071054545i32 as _ ) ; pub const STATUS_TPM_20_E_BAD_AUTH : NTSTATUS = NTSTATUS ( -1071054686i32 as _ ) ; pub const STATUS_TPM_20_E_BAD_CONTEXT : NTSTATUS = NTSTATUS ( -1071054512i32 as _ ) ; pub const STATUS_TPM_20_E_BINDING : NTSTATUS = NTSTATUS ( -1071054683i32 as _ ) ; pub const STATUS_TPM_20_E_COMMAND_CODE : NTSTATUS = NTSTATUS ( -1071054525i32 as _ ) ; pub const STATUS_TPM_20_E_COMMAND_SIZE : NTSTATUS = NTSTATUS ( -1071054526i32 as _ ) ; pub const STATUS_TPM_20_E_CPHASH : NTSTATUS = NTSTATUS ( -1071054511i32 as _ ) ; pub const STATUS_TPM_20_E_CURVE : NTSTATUS = NTSTATUS ( -1071054682i32 as _ ) ; pub const STATUS_TPM_20_E_DISABLED : NTSTATUS = NTSTATUS ( -1071054560i32 as _ ) ; pub const STATUS_TPM_20_E_ECC_CURVE : NTSTATUS = NTSTATUS ( -1071054557i32 as _ ) ; pub const STATUS_TPM_20_E_ECC_POINT : NTSTATUS = NTSTATUS ( -1071054681i32 as _ ) ; pub const STATUS_TPM_20_E_EXCLUSIVE : NTSTATUS = NTSTATUS ( -1071054559i32 as _ ) ; pub const STATUS_TPM_20_E_EXPIRED : NTSTATUS = NTSTATUS ( -1071054685i32 as _ ) ; pub const STATUS_TPM_20_E_FAILURE : NTSTATUS = NTSTATUS ( -1071054591i32 as _ ) ; pub const STATUS_TPM_20_E_HANDLE : NTSTATUS = NTSTATUS ( -1071054709i32 as _ ) ; pub const STATUS_TPM_20_E_HASH : NTSTATUS = NTSTATUS ( -1071054717i32 as _ ) ; pub const STATUS_TPM_20_E_HIERARCHY : NTSTATUS = NTSTATUS ( -1071054715i32 as _ ) ; pub const STATUS_TPM_20_E_HMAC : NTSTATUS = NTSTATUS ( -1071054567i32 as _ ) ; pub const STATUS_TPM_20_E_INITIALIZE : NTSTATUS = NTSTATUS ( -1071054592i32 as _ ) ; pub const STATUS_TPM_20_E_INSUFFICIENT : NTSTATUS = NTSTATUS ( -1071054694i32 as _ ) ; pub const STATUS_TPM_20_E_INTEGRITY : NTSTATUS = NTSTATUS ( -1071054689i32 as _ ) ; pub const STATUS_TPM_20_E_KDF : NTSTATUS = NTSTATUS ( -1071054708i32 as _ ) ; pub const STATUS_TPM_20_E_KEY : NTSTATUS = NTSTATUS ( -1071054692i32 as _ ) ; pub const STATUS_TPM_20_E_KEY_SIZE : NTSTATUS = NTSTATUS ( -1071054713i32 as _ ) ; pub const STATUS_TPM_20_E_MGF : NTSTATUS = NTSTATUS ( -1071054712i32 as _ ) ; pub const STATUS_TPM_20_E_MODE : NTSTATUS = NTSTATUS ( -1071054711i32 as _ ) ; pub const STATUS_TPM_20_E_NEEDS_TEST : NTSTATUS = NTSTATUS ( -1071054509i32 as _ ) ; pub const STATUS_TPM_20_E_NONCE : NTSTATUS = NTSTATUS ( -1071054705i32 as _ ) ; pub const STATUS_TPM_20_E_NO_RESULT : NTSTATUS = NTSTATUS ( -1071054508i32 as _ ) ; pub const STATUS_TPM_20_E_NV_AUTHORIZATION : NTSTATUS = NTSTATUS ( -1071054519i32 as _ ) ; pub const STATUS_TPM_20_E_NV_DEFINED : NTSTATUS = NTSTATUS ( -1071054516i32 as _ ) ; pub const STATUS_TPM_20_E_NV_LOCKED : NTSTATUS = NTSTATUS ( -1071054520i32 as _ ) ; pub const STATUS_TPM_20_E_NV_RANGE : NTSTATUS = NTSTATUS ( -1071054522i32 as _ ) ; pub const STATUS_TPM_20_E_NV_SIZE : NTSTATUS = NTSTATUS ( -1071054521i32 as _ ) ; pub const STATUS_TPM_20_E_NV_SPACE : NTSTATUS = NTSTATUS ( -1071054517i32 as _ ) ; pub const STATUS_TPM_20_E_NV_UNINITIALIZED : NTSTATUS = NTSTATUS ( -1071054518i32 as _ ) ; pub const STATUS_TPM_20_E_PARENT : NTSTATUS = NTSTATUS ( -1071054510i32 as _ ) ; pub const STATUS_TPM_20_E_PCR : NTSTATUS = NTSTATUS ( -1071054553i32 as _ ) ; pub const STATUS_TPM_20_E_PCR_CHANGED : NTSTATUS = NTSTATUS ( -1071054552i32 as _ ) ; pub const STATUS_TPM_20_E_POLICY : NTSTATUS = NTSTATUS ( -1071054554i32 as _ ) ; pub const STATUS_TPM_20_E_POLICY_CC : NTSTATUS = NTSTATUS ( -1071054684i32 as _ ) ; pub const STATUS_TPM_20_E_POLICY_FAIL : NTSTATUS = NTSTATUS ( -1071054691i32 as _ ) ; pub const STATUS_TPM_20_E_PP : NTSTATUS = NTSTATUS ( -1071054704i32 as _ ) ; pub const STATUS_TPM_20_E_PRIVATE : NTSTATUS = NTSTATUS ( -1071054581i32 as _ ) ; pub const STATUS_TPM_20_E_RANGE : NTSTATUS = NTSTATUS ( -1071054707i32 as _ ) ; pub const STATUS_TPM_20_E_REBOOT : NTSTATUS = NTSTATUS ( -1071054544i32 as _ ) ; pub const STATUS_TPM_20_E_RESERVED_BITS : NTSTATUS = NTSTATUS ( -1071054687i32 as _ ) ; pub const STATUS_TPM_20_E_SCHEME : NTSTATUS = NTSTATUS ( -1071054702i32 as _ ) ; pub const STATUS_TPM_20_E_SELECTOR : NTSTATUS = NTSTATUS ( -1071054696i32 as _ ) ; pub const STATUS_TPM_20_E_SENSITIVE : NTSTATUS = NTSTATUS ( -1071054507i32 as _ ) ; pub const STATUS_TPM_20_E_SEQUENCE : NTSTATUS = NTSTATUS ( -1071054589i32 as _ ) ; pub const STATUS_TPM_20_E_SIGNATURE : NTSTATUS = NTSTATUS ( -1071054693i32 as _ ) ; pub const STATUS_TPM_20_E_SIZE : NTSTATUS = NTSTATUS ( -1071054699i32 as _ ) ; pub const STATUS_TPM_20_E_SYMMETRIC : NTSTATUS = NTSTATUS ( -1071054698i32 as _ ) ; pub const STATUS_TPM_20_E_TAG : NTSTATUS = NTSTATUS ( -1071054697i32 as _ ) ; pub const STATUS_TPM_20_E_TICKET : NTSTATUS = NTSTATUS ( -1071054688i32 as _ ) ; pub const STATUS_TPM_20_E_TOO_MANY_CONTEXTS : NTSTATUS = NTSTATUS ( -1071054546i32 as _ ) ; pub const STATUS_TPM_20_E_TYPE : NTSTATUS = NTSTATUS ( -1071054710i32 as _ ) ; pub const STATUS_TPM_20_E_UNBALANCED : NTSTATUS = NTSTATUS ( -1071054543i32 as _ ) ; pub const STATUS_TPM_20_E_UPGRADE : NTSTATUS = NTSTATUS ( -1071054547i32 as _ ) ; pub const STATUS_TPM_20_E_VALUE : NTSTATUS = NTSTATUS ( -1071054716i32 as _ ) ; pub const STATUS_TPM_ACCESS_DENIED : NTSTATUS = NTSTATUS ( -1071050748i32 as _ ) ; pub const STATUS_TPM_AREA_LOCKED : NTSTATUS = NTSTATUS ( -1071054788i32 as _ ) ; pub const STATUS_TPM_AUDITFAILURE : NTSTATUS = NTSTATUS ( -1071054844i32 as _ ) ; pub const STATUS_TPM_AUDITFAIL_SUCCESSFUL : NTSTATUS = NTSTATUS ( -1071054799i32 as _ ) ; pub const STATUS_TPM_AUDITFAIL_UNSUCCESSFUL : NTSTATUS = NTSTATUS ( -1071054800i32 as _ ) ; pub const STATUS_TPM_AUTH2FAIL : NTSTATUS = NTSTATUS ( -1071054819i32 as _ ) ; pub const STATUS_TPM_AUTHFAIL : NTSTATUS = NTSTATUS ( -1071054847i32 as _ ) ; pub const STATUS_TPM_AUTH_CONFLICT : NTSTATUS = NTSTATUS ( -1071054789i32 as _ ) ; pub const STATUS_TPM_BADCONTEXT : NTSTATUS = NTSTATUS ( -1071054758i32 as _ ) ; pub const STATUS_TPM_BADINDEX : NTSTATUS = NTSTATUS ( -1071054846i32 as _ ) ; pub const STATUS_TPM_BADTAG : NTSTATUS = NTSTATUS ( -1071054818i32 as _ ) ; pub const STATUS_TPM_BAD_ATTRIBUTES : NTSTATUS = NTSTATUS ( -1071054782i32 as _ ) ; pub const STATUS_TPM_BAD_COUNTER : NTSTATUS = NTSTATUS ( -1071054779i32 as _ ) ; pub const STATUS_TPM_BAD_DATASIZE : NTSTATUS = NTSTATUS ( -1071054805i32 as _ ) ; pub const STATUS_TPM_BAD_DELEGATE : NTSTATUS = NTSTATUS ( -1071054759i32 as _ ) ; pub const STATUS_TPM_BAD_HANDLE : NTSTATUS = NTSTATUS ( -1071054760i32 as _ ) ; pub const STATUS_TPM_BAD_KEY_PROPERTY : NTSTATUS = NTSTATUS ( -1071054808i32 as _ ) ; pub const STATUS_TPM_BAD_LOCALITY : NTSTATUS = NTSTATUS ( -1071054787i32 as _ ) ; pub const STATUS_TPM_BAD_MIGRATION : NTSTATUS = NTSTATUS ( -1071054807i32 as _ ) ; pub const STATUS_TPM_BAD_MODE : NTSTATUS = NTSTATUS ( -1071054804i32 as _ ) ; pub const STATUS_TPM_BAD_ORDINAL : NTSTATUS = NTSTATUS ( -1071054838i32 as _ ) ; pub const STATUS_TPM_BAD_PARAMETER : NTSTATUS = NTSTATUS ( -1071054845i32 as _ ) ; pub const STATUS_TPM_BAD_PARAM_SIZE : NTSTATUS = NTSTATUS ( -1071054823i32 as _ ) ; pub const STATUS_TPM_BAD_PRESENCE : NTSTATUS = NTSTATUS ( -1071054803i32 as _ ) ; pub const STATUS_TPM_BAD_SCHEME : NTSTATUS = NTSTATUS ( -1071054806i32 as _ ) ; pub const STATUS_TPM_BAD_SIGNATURE : NTSTATUS = NTSTATUS ( -1071054750i32 as _ ) ; pub const STATUS_TPM_BAD_TYPE : NTSTATUS = NTSTATUS ( -1071054796i32 as _ ) ; pub const STATUS_TPM_BAD_VERSION : NTSTATUS = NTSTATUS ( -1071054802i32 as _ ) ; pub const STATUS_TPM_CLEAR_DISABLED : NTSTATUS = NTSTATUS ( -1071054843i32 as _ ) ; pub const STATUS_TPM_COMMAND_BLOCKED : NTSTATUS = NTSTATUS ( -1071053824i32 as _ ) ; pub const STATUS_TPM_COMMAND_CANCELED : NTSTATUS = NTSTATUS ( -1071050751i32 as _ ) ; pub const STATUS_TPM_CONTEXT_GAP : NTSTATUS = NTSTATUS ( -1071054777i32 as _ ) ; pub const STATUS_TPM_DAA_INPUT_DATA0 : NTSTATUS = NTSTATUS ( -1071054767i32 as _ ) ; pub const STATUS_TPM_DAA_INPUT_DATA1 : NTSTATUS = NTSTATUS ( -1071054766i32 as _ ) ; pub const STATUS_TPM_DAA_ISSUER_SETTINGS : NTSTATUS = NTSTATUS ( -1071054765i32 as _ ) ; pub const STATUS_TPM_DAA_ISSUER_VALIDITY : NTSTATUS = NTSTATUS ( -1071054762i32 as _ ) ; pub const STATUS_TPM_DAA_RESOURCES : NTSTATUS = NTSTATUS ( -1071054768i32 as _ ) ; pub const STATUS_TPM_DAA_STAGE : NTSTATUS = NTSTATUS ( -1071054763i32 as _ ) ; pub const STATUS_TPM_DAA_TPM_SETTINGS : NTSTATUS = NTSTATUS ( -1071054764i32 as _ ) ; pub const STATUS_TPM_DAA_WRONG_W : NTSTATUS = NTSTATUS ( -1071054761i32 as _ ) ; pub const STATUS_TPM_DEACTIVATED : NTSTATUS = NTSTATUS ( -1071054842i32 as _ ) ; pub const STATUS_TPM_DECRYPT_ERROR : NTSTATUS = NTSTATUS ( -1071054815i32 as _ ) ; pub const STATUS_TPM_DEFEND_LOCK_RUNNING : NTSTATUS = NTSTATUS ( -1071052797i32 as _ ) ; pub const STATUS_TPM_DELEGATE_ADMIN : NTSTATUS = NTSTATUS ( -1071054771i32 as _ ) ; pub const STATUS_TPM_DELEGATE_FAMILY : NTSTATUS = NTSTATUS ( -1071054772i32 as _ ) ; pub const STATUS_TPM_DELEGATE_LOCK : NTSTATUS = NTSTATUS ( -1071054773i32 as _ ) ; pub const STATUS_TPM_DISABLED : NTSTATUS = NTSTATUS ( -1071054841i32 as _ ) ; pub const STATUS_TPM_DISABLED_CMD : NTSTATUS = NTSTATUS ( -1071054840i32 as _ ) ; pub const STATUS_TPM_DOING_SELFTEST : NTSTATUS = NTSTATUS ( -1071052798i32 as _ ) ; pub const STATUS_TPM_DUPLICATE_VHANDLE : NTSTATUS = NTSTATUS ( -1071053822i32 as _ ) ; pub const STATUS_TPM_EMBEDDED_COMMAND_BLOCKED : NTSTATUS = NTSTATUS ( -1071053821i32 as _ ) ; pub const STATUS_TPM_EMBEDDED_COMMAND_UNSUPPORTED : NTSTATUS = NTSTATUS ( -1071053820i32 as _ ) ; pub const STATUS_TPM_ENCRYPT_ERROR : NTSTATUS = NTSTATUS ( -1071054816i32 as _ ) ; pub const STATUS_TPM_ERROR_MASK : NTSTATUS = NTSTATUS ( -1071054848i32 as _ ) ; pub const STATUS_TPM_FAIL : NTSTATUS = NTSTATUS ( -1071054839i32 as _ ) ; pub const STATUS_TPM_FAILEDSELFTEST : NTSTATUS = NTSTATUS ( -1071054820i32 as _ ) ; pub const STATUS_TPM_FAMILYCOUNT : NTSTATUS = NTSTATUS ( -1071054784i32 as _ ) ; pub const STATUS_TPM_INAPPROPRIATE_ENC : NTSTATUS = NTSTATUS ( -1071054834i32 as _ ) ; pub const STATUS_TPM_INAPPROPRIATE_SIG : NTSTATUS = NTSTATUS ( -1071054809i32 as _ ) ; pub const STATUS_TPM_INSTALL_DISABLED : NTSTATUS = NTSTATUS ( -1071054837i32 as _ ) ; pub const STATUS_TPM_INSUFFICIENT_BUFFER : NTSTATUS = NTSTATUS ( -1071050747i32 as _ ) ; pub const STATUS_TPM_INVALID_AUTHHANDLE : NTSTATUS = NTSTATUS ( -1071054814i32 as _ ) ; pub const STATUS_TPM_INVALID_FAMILY : NTSTATUS = NTSTATUS ( -1071054793i32 as _ ) ; pub const STATUS_TPM_INVALID_HANDLE : NTSTATUS = NTSTATUS ( -1071053823i32 as _ ) ; pub const STATUS_TPM_INVALID_KEYHANDLE : NTSTATUS = NTSTATUS ( -1071054836i32 as _ ) ; pub const STATUS_TPM_INVALID_KEYUSAGE : NTSTATUS = NTSTATUS ( -1071054812i32 as _ ) ; pub const STATUS_TPM_INVALID_PCR_INFO : NTSTATUS = NTSTATUS ( -1071054832i32 as _ ) ; pub const STATUS_TPM_INVALID_POSTINIT : NTSTATUS = NTSTATUS ( -1071054810i32 as _ ) ; pub const STATUS_TPM_INVALID_RESOURCE : NTSTATUS = NTSTATUS ( -1071054795i32 as _ ) ; pub const STATUS_TPM_INVALID_STRUCTURE : NTSTATUS = NTSTATUS ( -1071054781i32 as _ ) ; pub const STATUS_TPM_IOERROR : NTSTATUS = NTSTATUS ( -1071054817i32 as _ ) ; pub const STATUS_TPM_KEYNOTFOUND : NTSTATUS = NTSTATUS ( -1071054835i32 as _ ) ; pub const STATUS_TPM_KEY_NOTSUPPORTED : NTSTATUS = NTSTATUS ( -1071054790i32 as _ ) ; pub const STATUS_TPM_KEY_OWNER_CONTROL : NTSTATUS = NTSTATUS ( -1071054780i32 as _ ) ; pub const STATUS_TPM_MAXNVWRITES : NTSTATUS = NTSTATUS ( -1071054776i32 as _ ) ; pub const STATUS_TPM_MA_AUTHORITY : NTSTATUS = NTSTATUS ( -1071054753i32 as _ ) ; pub const STATUS_TPM_MA_DESTINATION : NTSTATUS = NTSTATUS ( -1071054755i32 as _ ) ; pub const STATUS_TPM_MA_SOURCE : NTSTATUS = NTSTATUS ( -1071054754i32 as _ ) ; pub const STATUS_TPM_MA_TICKET_SIGNATURE : NTSTATUS = NTSTATUS ( -1071054756i32 as _ ) ; pub const STATUS_TPM_MIGRATEFAIL : NTSTATUS = NTSTATUS ( -1071054833i32 as _ ) ; pub const STATUS_TPM_NEEDS_SELFTEST : NTSTATUS = NTSTATUS ( -1071052799i32 as _ ) ; pub const STATUS_TPM_NOCONTEXTSPACE : NTSTATUS = NTSTATUS ( -1071054749i32 as _ ) ; pub const STATUS_TPM_NOOPERATOR : NTSTATUS = NTSTATUS ( -1071054775i32 as _ ) ; pub const STATUS_TPM_NOSPACE : NTSTATUS = NTSTATUS ( -1071054831i32 as _ ) ; pub const STATUS_TPM_NOSRK : NTSTATUS = NTSTATUS ( -1071054830i32 as _ ) ; pub const STATUS_TPM_NOTFIPS : NTSTATUS = NTSTATUS ( -1071054794i32 as _ ) ; pub const STATUS_TPM_NOTLOCAL : NTSTATUS = NTSTATUS ( -1071054797i32 as _ ) ; pub const STATUS_TPM_NOTRESETABLE : NTSTATUS = NTSTATUS ( -1071054798i32 as _ ) ; pub const STATUS_TPM_NOTSEALED_BLOB : NTSTATUS = NTSTATUS ( -1071054829i32 as _ ) ; pub const STATUS_TPM_NOT_FOUND : NTSTATUS = NTSTATUS ( -1071050749i32 as _ ) ; pub const STATUS_TPM_NOT_FULLWRITE : NTSTATUS = NTSTATUS ( -1071054778i32 as _ ) ; pub const STATUS_TPM_NO_ENDORSEMENT : NTSTATUS = NTSTATUS ( -1071054813i32 as _ ) ; pub const STATUS_TPM_NO_NV_PERMISSION : NTSTATUS = NTSTATUS ( -1071054792i32 as _ ) ; pub const STATUS_TPM_NO_WRAP_TRANSPORT : NTSTATUS = NTSTATUS ( -1071054801i32 as _ ) ; pub const STATUS_TPM_OWNER_CONTROL : NTSTATUS = NTSTATUS ( -1071054769i32 as _ ) ; pub const STATUS_TPM_OWNER_SET : NTSTATUS = NTSTATUS ( -1071054828i32 as _ ) ; pub const STATUS_TPM_PERMANENTEK : NTSTATUS = NTSTATUS ( -1071054751i32 as _ ) ; pub const STATUS_TPM_PER_NOWRITE : NTSTATUS = NTSTATUS ( -1071054785i32 as _ ) ; pub const STATUS_TPM_PPI_FUNCTION_UNSUPPORTED : NTSTATUS = NTSTATUS ( -1071050746i32 as _ ) ; pub const STATUS_TPM_READ_ONLY : NTSTATUS = NTSTATUS ( -1071054786i32 as _ ) ; pub const STATUS_TPM_REQUIRES_SIGN : NTSTATUS = NTSTATUS ( -1071054791i32 as _ ) ; pub const STATUS_TPM_RESOURCEMISSING : NTSTATUS = NTSTATUS ( -1071054774i32 as _ ) ; pub const STATUS_TPM_RESOURCES : NTSTATUS = NTSTATUS ( -1071054827i32 as _ ) ; pub const STATUS_TPM_RETRY : NTSTATUS = NTSTATUS ( -1071052800i32 as _ ) ; pub const STATUS_TPM_SHA_ERROR : NTSTATUS = NTSTATUS ( -1071054821i32 as _ ) ; pub const STATUS_TPM_SHA_THREAD : NTSTATUS = NTSTATUS ( -1071054822i32 as _ ) ; pub const STATUS_TPM_SHORTRANDOM : NTSTATUS = NTSTATUS ( -1071054826i32 as _ ) ; pub const STATUS_TPM_SIZE : NTSTATUS = NTSTATUS ( -1071054825i32 as _ ) ; pub const STATUS_TPM_TOOMANYCONTEXTS : NTSTATUS = NTSTATUS ( -1071054757i32 as _ ) ; pub const STATUS_TPM_TOO_MANY_CONTEXTS : NTSTATUS = NTSTATUS ( -1071050750i32 as _ ) ; pub const STATUS_TPM_TRANSPORT_NOTEXCLUSIVE : NTSTATUS = NTSTATUS ( -1071054770i32 as _ ) ; pub const STATUS_TPM_WRITE_LOCKED : NTSTATUS = NTSTATUS ( -1071054783i32 as _ ) ; pub const STATUS_TPM_WRONGPCRVAL : NTSTATUS = NTSTATUS ( -1071054824i32 as _ ) ; pub const STATUS_TPM_WRONG_ENTITYTYPE : NTSTATUS = NTSTATUS ( -1071054811i32 as _ ) ; pub const STATUS_TPM_ZERO_EXHAUST_ENABLED : NTSTATUS = NTSTATUS ( -1071038464i32 as _ ) ; pub const STATUS_TRANSACTED_MAPPING_UNSUPPORTED_REMOTE : NTSTATUS = NTSTATUS ( -1072103360i32 as _ ) ; pub const STATUS_TRANSACTIONAL_CONFLICT : NTSTATUS = NTSTATUS ( -1072103423i32 as _ ) ; pub const STATUS_TRANSACTIONAL_OPEN_NOT_ALLOWED : NTSTATUS = NTSTATUS ( -1072103361i32 as _ ) ; pub const STATUS_TRANSACTIONMANAGER_IDENTITY_MISMATCH : NTSTATUS = NTSTATUS ( -1072103332i32 as _ ) ; pub const STATUS_TRANSACTIONMANAGER_NOT_FOUND : NTSTATUS = NTSTATUS ( -1072103343i32 as _ ) ; pub const STATUS_TRANSACTIONMANAGER_NOT_ONLINE : NTSTATUS = NTSTATUS ( -1072103342i32 as _ ) ; pub const STATUS_TRANSACTIONMANAGER_RECOVERY_NAME_COLLISION : NTSTATUS = NTSTATUS ( -1072103341i32 as _ ) ; pub const STATUS_TRANSACTIONS_NOT_FROZEN : NTSTATUS = NTSTATUS ( -1072103355i32 as _ ) ; pub const STATUS_TRANSACTIONS_UNSUPPORTED_REMOTE : NTSTATUS = NTSTATUS ( -1072103414i32 as _ ) ; pub const STATUS_TRANSACTION_ABORTED : NTSTATUS = NTSTATUS ( -1073741297i32 as _ ) ; pub const STATUS_TRANSACTION_ALREADY_ABORTED : NTSTATUS = NTSTATUS ( -1072103403i32 as _ ) ; pub const STATUS_TRANSACTION_ALREADY_COMMITTED : NTSTATUS = NTSTATUS ( -1072103402i32 as _ ) ; pub const STATUS_TRANSACTION_FREEZE_IN_PROGRESS : NTSTATUS = NTSTATUS ( -1072103354i32 as _ ) ; pub const STATUS_TRANSACTION_INTEGRITY_VIOLATED : NTSTATUS = NTSTATUS ( -1072103333i32 as _ ) ; pub const STATUS_TRANSACTION_INVALID_ID : NTSTATUS = NTSTATUS ( -1073741292i32 as _ ) ; pub const STATUS_TRANSACTION_INVALID_MARSHALL_BUFFER : NTSTATUS = NTSTATUS ( -1072103401i32 as _ ) ; pub const STATUS_TRANSACTION_INVALID_TYPE : NTSTATUS = NTSTATUS ( -1073741291i32 as _ ) ; pub const STATUS_TRANSACTION_MUST_WRITETHROUGH : NTSTATUS = NTSTATUS ( -1072103330i32 as _ ) ; pub const STATUS_TRANSACTION_NOT_ACTIVE : NTSTATUS = NTSTATUS ( -1072103421i32 as _ ) ; pub const STATUS_TRANSACTION_NOT_ENLISTED : NTSTATUS = NTSTATUS ( -1072103327i32 as _ ) ; pub const STATUS_TRANSACTION_NOT_FOUND : NTSTATUS = NTSTATUS ( -1072103346i32 as _ ) ; pub const STATUS_TRANSACTION_NOT_JOINED : NTSTATUS = NTSTATUS ( -1072103417i32 as _ ) ; pub const STATUS_TRANSACTION_NOT_REQUESTED : NTSTATUS = NTSTATUS ( -1072103404i32 as _ ) ; pub const STATUS_TRANSACTION_NOT_ROOT : NTSTATUS = NTSTATUS ( -1072103340i32 as _ ) ; pub const STATUS_TRANSACTION_NO_MATCH : NTSTATUS = NTSTATUS ( -1073741294i32 as _ ) ; pub const STATUS_TRANSACTION_NO_RELEASE : NTSTATUS = NTSTATUS ( -1073741295i32 as _ ) ; pub const STATUS_TRANSACTION_NO_SUPERIOR : NTSTATUS = NTSTATUS ( -1072103329i32 as _ ) ; pub const STATUS_TRANSACTION_OBJECT_EXPIRED : NTSTATUS = NTSTATUS ( -1072103339i32 as _ ) ; pub const STATUS_TRANSACTION_PROPAGATION_FAILED : NTSTATUS = NTSTATUS ( -1072103408i32 as _ ) ; pub const STATUS_TRANSACTION_RECORD_TOO_LONG : NTSTATUS = NTSTATUS ( -1072103336i32 as _ ) ; pub const STATUS_TRANSACTION_REQUEST_NOT_VALID : NTSTATUS = NTSTATUS ( -1072103405i32 as _ ) ; pub const STATUS_TRANSACTION_REQUIRED_PROMOTION : NTSTATUS = NTSTATUS ( -1072103357i32 as _ ) ; pub const STATUS_TRANSACTION_RESPONDED : NTSTATUS = NTSTATUS ( -1073741293i32 as _ ) ; pub const STATUS_TRANSACTION_RESPONSE_NOT_ENLISTED : NTSTATUS = NTSTATUS ( -1072103337i32 as _ ) ; pub const STATUS_TRANSACTION_SCOPE_CALLBACKS_NOT_SET : NTSTATUS = NTSTATUS ( -2145845182i32 as _ ) ; pub const STATUS_TRANSACTION_SUPERIOR_EXISTS : NTSTATUS = NTSTATUS ( -1072103406i32 as _ ) ; pub const STATUS_TRANSACTION_TIMED_OUT : NTSTATUS = NTSTATUS ( -1073741296i32 as _ ) ; pub const STATUS_TRANSLATION_COMPLETE : NTSTATUS = NTSTATUS ( 288i32 as _ ) ; pub const STATUS_TRANSPORT_FULL : NTSTATUS = NTSTATUS ( -1073741110i32 as _ ) ; pub const STATUS_TRIGGERED_EXECUTABLE_MEMORY_WRITE : NTSTATUS = NTSTATUS ( -1073739994i32 as _ ) ; pub const STATUS_TRIM_READ_ZERO_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1073740686i32 as _ ) ; pub const STATUS_TRUSTED_DOMAIN_FAILURE : NTSTATUS = NTSTATUS ( -1073741428i32 as _ ) ; pub const STATUS_TRUSTED_RELATIONSHIP_FAILURE : NTSTATUS = NTSTATUS ( -1073741427i32 as _ ) ; pub const STATUS_TRUST_FAILURE : NTSTATUS = NTSTATUS ( -1073741424i32 as _ ) ; pub const STATUS_TS_INCOMPATIBLE_SESSIONS : NTSTATUS = NTSTATUS ( -1073086407i32 as _ ) ; pub const STATUS_TS_VIDEO_SUBSYSTEM_ERROR : NTSTATUS = NTSTATUS ( -1073086406i32 as _ ) ; pub const STATUS_TXF_ATTRIBUTE_CORRUPT : NTSTATUS = NTSTATUS ( -1072103363i32 as _ ) ; pub const STATUS_TXF_DIR_NOT_EMPTY : NTSTATUS = NTSTATUS ( -1072103367i32 as _ ) ; pub const STATUS_TXF_METADATA_ALREADY_PRESENT : NTSTATUS = NTSTATUS ( -2145845183i32 as _ ) ; pub const STATUS_UNABLE_TO_DECOMMIT_VM : NTSTATUS = NTSTATUS ( -1073741780i32 as _ ) ; pub const STATUS_UNABLE_TO_DELETE_SECTION : NTSTATUS = NTSTATUS ( -1073741797i32 as _ ) ; pub const STATUS_UNABLE_TO_FREE_VM : NTSTATUS = NTSTATUS ( -1073741798i32 as _ ) ; pub const STATUS_UNABLE_TO_LOCK_MEDIA : NTSTATUS = NTSTATUS ( -1073741451i32 as _ ) ; pub const STATUS_UNABLE_TO_UNLOAD_MEDIA : NTSTATUS = NTSTATUS ( -1073741450i32 as _ ) ; pub const STATUS_UNDEFINED_CHARACTER : NTSTATUS = NTSTATUS ( -1073741469i32 as _ ) ; pub const STATUS_UNDEFINED_SCOPE : NTSTATUS = NTSTATUS ( -1073740540i32 as _ ) ; pub const STATUS_UNEXPECTED_IO_ERROR : NTSTATUS = NTSTATUS ( -1073741591i32 as _ ) ; pub const STATUS_UNEXPECTED_MM_CREATE_ERR : NTSTATUS = NTSTATUS ( -1073741590i32 as _ ) ; pub const STATUS_UNEXPECTED_MM_EXTEND_ERR : NTSTATUS = NTSTATUS ( -1073741588i32 as _ ) ; pub const STATUS_UNEXPECTED_MM_MAP_ERROR : NTSTATUS = NTSTATUS ( -1073741589i32 as _ ) ; pub const STATUS_UNEXPECTED_NETWORK_ERROR : NTSTATUS = NTSTATUS ( -1073741628i32 as _ ) ; pub const STATUS_UNFINISHED_CONTEXT_DELETED : NTSTATUS = NTSTATUS ( -1073741074i32 as _ ) ; pub const STATUS_UNHANDLED_EXCEPTION : NTSTATUS = NTSTATUS ( -1073741500i32 as _ ) ; pub const STATUS_UNKNOWN_REVISION : NTSTATUS = NTSTATUS ( -1073741736i32 as _ ) ; pub const STATUS_UNMAPPABLE_CHARACTER : NTSTATUS = NTSTATUS ( -1073741470i32 as _ ) ; pub const STATUS_UNRECOGNIZED_MEDIA : NTSTATUS = NTSTATUS ( -1073741804i32 as _ ) ; pub const STATUS_UNRECOGNIZED_VOLUME : NTSTATUS = NTSTATUS ( -1073741489i32 as _ ) ; pub const STATUS_UNSATISFIED_DEPENDENCIES : NTSTATUS = NTSTATUS ( -1073740615i32 as _ ) ; pub const STATUS_UNSUCCESSFUL : NTSTATUS = NTSTATUS ( -1073741823i32 as _ ) ; pub const STATUS_UNSUPPORTED_COMPRESSION : NTSTATUS = NTSTATUS ( -1073741217i32 as _ ) ; pub const STATUS_UNSUPPORTED_PREAUTH : NTSTATUS = NTSTATUS ( -1073740975i32 as _ ) ; pub const STATUS_UNWIND : NTSTATUS = NTSTATUS ( -1073741785i32 as _ ) ; pub const STATUS_UNWIND_CONSOLIDATE : NTSTATUS = NTSTATUS ( -2147483607i32 as _ ) ; pub const STATUS_USER2USER_REQUIRED : NTSTATUS = NTSTATUS ( -1073740792i32 as _ ) ; pub const STATUS_USER_APC : NTSTATUS = NTSTATUS ( 192i32 as _ ) ; pub const STATUS_USER_DELETE_TRUST_QUOTA_EXCEEDED : NTSTATUS = NTSTATUS ( -1073740797i32 as _ ) ; pub const STATUS_USER_EXISTS : NTSTATUS = NTSTATUS ( -1073741725i32 as _ ) ; pub const STATUS_USER_MAPPED_FILE : NTSTATUS = NTSTATUS ( -1073741245i32 as _ ) ; pub const STATUS_USER_SESSION_DELETED : NTSTATUS = NTSTATUS ( -1073741309i32 as _ ) ; pub const STATUS_VALIDATE_CONTINUE : NTSTATUS = NTSTATUS ( -1073741199i32 as _ ) ; pub const STATUS_VALID_CATALOG_HASH : NTSTATUS = NTSTATUS ( 301i32 as _ ) ; pub const STATUS_VALID_IMAGE_HASH : NTSTATUS = NTSTATUS ( 300i32 as _ ) ; pub const STATUS_VALID_STRONG_CODE_HASH : NTSTATUS = NTSTATUS ( 302i32 as _ ) ; pub const STATUS_VARIABLE_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073741568i32 as _ ) ; pub const STATUS_VDM_DISALLOWED : NTSTATUS = NTSTATUS ( -1073740780i32 as _ ) ; pub const STATUS_VDM_HARD_ERROR : NTSTATUS = NTSTATUS ( -1073741283i32 as _ ) ; pub const STATUS_VERIFIER_STOP : NTSTATUS = NTSTATUS ( -1073740767i32 as _ ) ; pub const STATUS_VERIFY_REQUIRED : NTSTATUS = NTSTATUS ( -2147483626i32 as _ ) ; pub const STATUS_VHDSET_BACKING_STORAGE_NOT_FOUND : NTSTATUS = NTSTATUS ( -1067647220i32 as _ ) ; pub const STATUS_VHD_ALREADY_AT_OR_BELOW_MINIMUM_VIRTUAL_SIZE : NTSTATUS = NTSTATUS ( -1069940685i32 as _ ) ; pub const STATUS_VHD_BITMAP_MISMATCH : NTSTATUS = NTSTATUS ( -1069940724i32 as _ ) ; pub const STATUS_VHD_BLOCK_ALLOCATION_FAILURE : NTSTATUS = NTSTATUS ( -1069940727i32 as _ ) ; pub const STATUS_VHD_BLOCK_ALLOCATION_TABLE_CORRUPT : NTSTATUS = NTSTATUS ( -1069940726i32 as _ ) ; pub const STATUS_VHD_CHANGE_TRACKING_DISABLED : NTSTATUS = NTSTATUS ( -1069940694i32 as _ ) ; pub const STATUS_VHD_CHILD_PARENT_ID_MISMATCH : NTSTATUS = NTSTATUS ( -1069940722i32 as _ ) ; pub const STATUS_VHD_CHILD_PARENT_SIZE_MISMATCH : NTSTATUS = NTSTATUS ( -1069940713i32 as _ ) ; pub const STATUS_VHD_CHILD_PARENT_TIMESTAMP_MISMATCH : NTSTATUS = NTSTATUS ( -1069940721i32 as _ ) ; pub const STATUS_VHD_COULD_NOT_COMPUTE_MINIMUM_VIRTUAL_SIZE : NTSTATUS = NTSTATUS ( -1069940686i32 as _ ) ; pub const STATUS_VHD_DIFFERENCING_CHAIN_CYCLE_DETECTED : NTSTATUS = NTSTATUS ( -1069940712i32 as _ ) ; pub const STATUS_VHD_DIFFERENCING_CHAIN_ERROR_IN_PARENT : NTSTATUS = NTSTATUS ( -1069940711i32 as _ ) ; pub const STATUS_VHD_DRIVE_FOOTER_CHECKSUM_MISMATCH : NTSTATUS = NTSTATUS ( -1069940734i32 as _ ) ; pub const STATUS_VHD_DRIVE_FOOTER_CORRUPT : NTSTATUS = NTSTATUS ( -1069940733i32 as _ ) ; pub const STATUS_VHD_DRIVE_FOOTER_MISSING : NTSTATUS = NTSTATUS ( -1069940735i32 as _ ) ; pub const STATUS_VHD_FORMAT_UNKNOWN : NTSTATUS = NTSTATUS ( -1069940732i32 as _ ) ; pub const STATUS_VHD_FORMAT_UNSUPPORTED_VERSION : NTSTATUS = NTSTATUS ( -1069940731i32 as _ ) ; pub const STATUS_VHD_INVALID_BLOCK_SIZE : NTSTATUS = NTSTATUS ( -1069940725i32 as _ ) ; pub const STATUS_VHD_INVALID_CHANGE_TRACKING_ID : NTSTATUS = NTSTATUS ( -1069940695i32 as _ ) ; pub const STATUS_VHD_INVALID_FILE_SIZE : NTSTATUS = NTSTATUS ( -1069940717i32 as _ ) ; pub const STATUS_VHD_INVALID_SIZE : NTSTATUS = NTSTATUS ( -1069940718i32 as _ ) ; pub const STATUS_VHD_INVALID_STATE : NTSTATUS = NTSTATUS ( -1069940708i32 as _ ) ; pub const STATUS_VHD_INVALID_TYPE : NTSTATUS = NTSTATUS ( -1069940709i32 as _ ) ; pub const STATUS_VHD_METADATA_FULL : NTSTATUS = NTSTATUS ( -1069940696i32 as _ ) ; pub const STATUS_VHD_METADATA_READ_FAILURE : NTSTATUS = NTSTATUS ( -1069940720i32 as _ ) ; pub const STATUS_VHD_METADATA_WRITE_FAILURE : NTSTATUS = NTSTATUS ( -1069940719i32 as _ ) ; pub const STATUS_VHD_MISSING_CHANGE_TRACKING_INFORMATION : NTSTATUS = NTSTATUS ( -1069940688i32 as _ ) ; pub const STATUS_VHD_PARENT_VHD_ACCESS_DENIED : NTSTATUS = NTSTATUS ( -1069940714i32 as _ ) ; pub const STATUS_VHD_PARENT_VHD_NOT_FOUND : NTSTATUS = NTSTATUS ( -1069940723i32 as _ ) ; pub const STATUS_VHD_RESIZE_WOULD_TRUNCATE_DATA : NTSTATUS = NTSTATUS ( -1069940687i32 as _ ) ; pub const STATUS_VHD_SHARED : NTSTATUS = NTSTATUS ( -1067647222i32 as _ ) ; pub const STATUS_VHD_SPARSE_HEADER_CHECKSUM_MISMATCH : NTSTATUS = NTSTATUS ( -1069940730i32 as _ ) ; pub const STATUS_VHD_SPARSE_HEADER_CORRUPT : NTSTATUS = NTSTATUS ( -1069940728i32 as _ ) ; pub const STATUS_VHD_SPARSE_HEADER_UNSUPPORTED_VERSION : NTSTATUS = NTSTATUS ( -1069940729i32 as _ ) ; pub const STATUS_VIDEO_DRIVER_DEBUG_REPORT_REQUEST : NTSTATUS = NTSTATUS ( 1075511532i32 as _ ) ; pub const STATUS_VIDEO_HUNG_DISPLAY_DRIVER_THREAD : NTSTATUS = NTSTATUS ( -1071972118i32 as _ ) ; pub const STATUS_VIDEO_HUNG_DISPLAY_DRIVER_THREAD_RECOVERED : NTSTATUS = NTSTATUS ( -2145713941i32 as _ ) ; pub const STATUS_VID_CHILD_GPA_PAGE_SET_CORRUPTED : NTSTATUS = NTSTATUS ( -1070137330i32 as _ ) ; pub const STATUS_VID_DUPLICATE_HANDLER : NTSTATUS = NTSTATUS ( -1070137343i32 as _ ) ; pub const STATUS_VID_EXCEEDED_KM_CONTEXT_COUNT_LIMIT : NTSTATUS = NTSTATUS ( -1070137314i32 as _ ) ; pub const STATUS_VID_EXCEEDED_MBP_ENTRY_MAP_LIMIT : NTSTATUS = NTSTATUS ( -1070137332i32 as _ ) ; pub const STATUS_VID_HANDLER_NOT_PRESENT : NTSTATUS = NTSTATUS ( -1070137340i32 as _ ) ; pub const STATUS_VID_INVALID_CHILD_GPA_PAGE_SET : NTSTATUS = NTSTATUS ( -1070137310i32 as _ ) ; pub const STATUS_VID_INVALID_GPA_RANGE_HANDLE : NTSTATUS = NTSTATUS ( -1070137323i32 as _ ) ; pub const STATUS_VID_INVALID_MEMORY_BLOCK_HANDLE : NTSTATUS = NTSTATUS ( -1070137326i32 as _ ) ; pub const STATUS_VID_INVALID_MESSAGE_QUEUE_HANDLE : NTSTATUS = NTSTATUS ( -1070137324i32 as _ ) ; pub const STATUS_VID_INVALID_NUMA_NODE_INDEX : NTSTATUS = NTSTATUS ( -1070137328i32 as _ ) ; pub const STATUS_VID_INVALID_NUMA_SETTINGS : NTSTATUS = NTSTATUS ( -1070137329i32 as _ ) ; pub const STATUS_VID_INVALID_OBJECT_NAME : NTSTATUS = NTSTATUS ( -1070137339i32 as _ ) ; pub const STATUS_VID_INVALID_PPM_HANDLE : NTSTATUS = NTSTATUS ( -1070137320i32 as _ ) ; pub const STATUS_VID_INVALID_PROCESSOR_STATE : NTSTATUS = NTSTATUS ( -1070137315i32 as _ ) ; pub const STATUS_VID_KM_INTERFACE_ALREADY_INITIALIZED : NTSTATUS = NTSTATUS ( -1070137313i32 as _ ) ; pub const STATUS_VID_MBPS_ARE_LOCKED : NTSTATUS = NTSTATUS ( -1070137319i32 as _ ) ; pub const STATUS_VID_MBP_ALREADY_LOCKED_USING_RESERVED_PAGE : NTSTATUS = NTSTATUS ( -1070137307i32 as _ ) ; pub const STATUS_VID_MBP_COUNT_EXCEEDED_LIMIT : NTSTATUS = NTSTATUS ( -1070137306i32 as _ ) ; pub const STATUS_VID_MB_PROPERTY_ALREADY_SET_RESET : NTSTATUS = NTSTATUS ( -1070137312i32 as _ ) ; pub const STATUS_VID_MB_STILL_REFERENCED : NTSTATUS = NTSTATUS ( -1070137331i32 as _ ) ; pub const STATUS_VID_MEMORY_BLOCK_LOCK_COUNT_EXCEEDED : NTSTATUS = NTSTATUS ( -1070137321i32 as _ ) ; pub const STATUS_VID_MESSAGE_QUEUE_ALREADY_EXISTS : NTSTATUS = NTSTATUS ( -1070137333i32 as _ ) ; pub const STATUS_VID_MESSAGE_QUEUE_CLOSED : NTSTATUS = NTSTATUS ( -1070137318i32 as _ ) ; pub const STATUS_VID_MESSAGE_QUEUE_NAME_TOO_LONG : NTSTATUS = NTSTATUS ( -1070137337i32 as _ ) ; pub const STATUS_VID_MMIO_RANGE_DESTROYED : NTSTATUS = NTSTATUS ( -1070137311i32 as _ ) ; pub const STATUS_VID_NOTIFICATION_QUEUE_ALREADY_ASSOCIATED : NTSTATUS = NTSTATUS ( -1070137327i32 as _ ) ; pub const STATUS_VID_NO_MEMORY_BLOCK_NOTIFICATION_QUEUE : NTSTATUS = NTSTATUS ( -1070137322i32 as _ ) ; pub const STATUS_VID_PAGE_RANGE_OVERFLOW : NTSTATUS = NTSTATUS ( -1070137325i32 as _ ) ; pub const STATUS_VID_PARTITION_ALREADY_EXISTS : NTSTATUS = NTSTATUS ( -1070137336i32 as _ ) ; pub const STATUS_VID_PARTITION_DOES_NOT_EXIST : NTSTATUS = NTSTATUS ( -1070137335i32 as _ ) ; pub const STATUS_VID_PARTITION_NAME_NOT_FOUND : NTSTATUS = NTSTATUS ( -1070137334i32 as _ ) ; pub const STATUS_VID_PARTITION_NAME_TOO_LONG : NTSTATUS = NTSTATUS ( -1070137338i32 as _ ) ; pub const STATUS_VID_QUEUE_FULL : NTSTATUS = NTSTATUS ( -1070137341i32 as _ ) ; pub const STATUS_VID_REMOTE_NODE_PARENT_GPA_PAGES_USED : NTSTATUS = NTSTATUS ( -2143879167i32 as _ ) ; pub const STATUS_VID_RESERVE_PAGE_SET_IS_BEING_USED : NTSTATUS = NTSTATUS ( -1070137309i32 as _ ) ; pub const STATUS_VID_RESERVE_PAGE_SET_TOO_SMALL : NTSTATUS = NTSTATUS ( -1070137308i32 as _ ) ; pub const STATUS_VID_SAVED_STATE_CORRUPT : NTSTATUS = NTSTATUS ( -1070137305i32 as _ ) ; pub const STATUS_VID_SAVED_STATE_INCOMPATIBLE : NTSTATUS = NTSTATUS ( -1070137303i32 as _ ) ; pub const STATUS_VID_SAVED_STATE_UNRECOGNIZED_ITEM : NTSTATUS = NTSTATUS ( -1070137304i32 as _ ) ; pub const STATUS_VID_STOP_PENDING : NTSTATUS = NTSTATUS ( -1070137316i32 as _ ) ; pub const STATUS_VID_TOO_MANY_HANDLERS : NTSTATUS = NTSTATUS ( -1070137342i32 as _ ) ; pub const STATUS_VID_VIRTUAL_PROCESSOR_LIMIT_EXCEEDED : NTSTATUS = NTSTATUS ( -1070137317i32 as _ ) ; pub const STATUS_VID_VTL_ACCESS_DENIED : NTSTATUS = NTSTATUS ( -1070137302i32 as _ ) ; pub const STATUS_VIRTDISK_DISK_ALREADY_OWNED : NTSTATUS = NTSTATUS ( -1069940706i32 as _ ) ; pub const STATUS_VIRTDISK_DISK_ONLINE_AND_WRITABLE : NTSTATUS = NTSTATUS ( -1069940705i32 as _ ) ; pub const STATUS_VIRTDISK_NOT_VIRTUAL_DISK : NTSTATUS = NTSTATUS ( -1069940715i32 as _ ) ; pub const STATUS_VIRTDISK_PROVIDER_NOT_FOUND : NTSTATUS = NTSTATUS ( -1069940716i32 as _ ) ; pub const STATUS_VIRTDISK_UNSUPPORTED_DISK_SECTOR_SIZE : NTSTATUS = NTSTATUS ( -1069940707i32 as _ ) ; pub const STATUS_VIRTUAL_CIRCUIT_CLOSED : NTSTATUS = NTSTATUS ( -1073741610i32 as _ ) ; pub const STATUS_VIRTUAL_DISK_LIMITATION : NTSTATUS = NTSTATUS ( -1069940710i32 as _ ) ; pub const STATUS_VIRUS_DELETED : NTSTATUS = NTSTATUS ( -1073739513i32 as _ ) ; pub const STATUS_VIRUS_INFECTED : NTSTATUS = NTSTATUS ( -1073739514i32 as _ ) ; pub const STATUS_VOLMGR_ALL_DISKS_FAILED : NTSTATUS = NTSTATUS ( -1070071767i32 as _ ) ; pub const STATUS_VOLMGR_BAD_BOOT_DISK : NTSTATUS = NTSTATUS ( -1070071729i32 as _ ) ; pub const STATUS_VOLMGR_DATABASE_FULL : NTSTATUS = NTSTATUS ( -1070071807i32 as _ ) ; pub const STATUS_VOLMGR_DIFFERENT_SECTOR_SIZE : NTSTATUS = NTSTATUS ( -1070071730i32 as _ ) ; pub const STATUS_VOLMGR_DISK_CONFIGURATION_CORRUPTED : NTSTATUS = NTSTATUS ( -1070071806i32 as _ ) ; pub const STATUS_VOLMGR_DISK_CONFIGURATION_NOT_IN_SYNC : NTSTATUS = NTSTATUS ( -1070071805i32 as _ ) ; pub const STATUS_VOLMGR_DISK_CONTAINS_NON_SIMPLE_VOLUME : NTSTATUS = NTSTATUS ( -1070071803i32 as _ ) ; pub const STATUS_VOLMGR_DISK_DUPLICATE : NTSTATUS = NTSTATUS ( -1070071802i32 as _ ) ; pub const STATUS_VOLMGR_DISK_DYNAMIC : NTSTATUS = NTSTATUS ( -1070071801i32 as _ ) ; pub const STATUS_VOLMGR_DISK_ID_INVALID : NTSTATUS = NTSTATUS ( -1070071800i32 as _ ) ; pub const STATUS_VOLMGR_DISK_INVALID : NTSTATUS = NTSTATUS ( -1070071799i32 as _ ) ; pub const STATUS_VOLMGR_DISK_LAST_VOTER : NTSTATUS = NTSTATUS ( -1070071798i32 as _ ) ; pub const STATUS_VOLMGR_DISK_LAYOUT_INVALID : NTSTATUS = NTSTATUS ( -1070071797i32 as _ ) ; pub const STATUS_VOLMGR_DISK_LAYOUT_NON_BASIC_BETWEEN_BASIC_PARTITIONS : NTSTATUS = NTSTATUS ( -1070071796i32 as _ ) ; pub const STATUS_VOLMGR_DISK_LAYOUT_NOT_CYLINDER_ALIGNED : NTSTATUS = NTSTATUS ( -1070071795i32 as _ ) ; pub const STATUS_VOLMGR_DISK_LAYOUT_PARTITIONS_TOO_SMALL : NTSTATUS = NTSTATUS ( -1070071794i32 as _ ) ; pub const STATUS_VOLMGR_DISK_LAYOUT_PRIMARY_BETWEEN_LOGICAL_PARTITIONS : NTSTATUS = NTSTATUS ( -1070071793i32 as _ ) ; pub const STATUS_VOLMGR_DISK_LAYOUT_TOO_MANY_PARTITIONS : NTSTATUS = NTSTATUS ( -1070071792i32 as _ ) ; pub const STATUS_VOLMGR_DISK_MISSING : NTSTATUS = NTSTATUS ( -1070071791i32 as _ ) ; pub const STATUS_VOLMGR_DISK_NOT_EMPTY : NTSTATUS = NTSTATUS ( -1070071790i32 as _ ) ; pub const STATUS_VOLMGR_DISK_NOT_ENOUGH_SPACE : NTSTATUS = NTSTATUS ( -1070071789i32 as _ ) ; pub const STATUS_VOLMGR_DISK_REVECTORING_FAILED : NTSTATUS = NTSTATUS ( -1070071788i32 as _ ) ; pub const STATUS_VOLMGR_DISK_SECTOR_SIZE_INVALID : NTSTATUS = NTSTATUS ( -1070071787i32 as _ ) ; pub const STATUS_VOLMGR_DISK_SET_NOT_CONTAINED : NTSTATUS = NTSTATUS ( -1070071786i32 as _ ) ; pub const STATUS_VOLMGR_DISK_USED_BY_MULTIPLE_MEMBERS : NTSTATUS = NTSTATUS ( -1070071785i32 as _ ) ; pub const STATUS_VOLMGR_DISK_USED_BY_MULTIPLE_PLEXES : NTSTATUS = NTSTATUS ( -1070071784i32 as _ ) ; pub const STATUS_VOLMGR_DYNAMIC_DISK_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1070071783i32 as _ ) ; pub const STATUS_VOLMGR_EXTENT_ALREADY_USED : NTSTATUS = NTSTATUS ( -1070071782i32 as _ ) ; pub const STATUS_VOLMGR_EXTENT_NOT_CONTIGUOUS : NTSTATUS = NTSTATUS ( -1070071781i32 as _ ) ; pub const STATUS_VOLMGR_EXTENT_NOT_IN_PUBLIC_REGION : NTSTATUS = NTSTATUS ( -1070071780i32 as _ ) ; pub const STATUS_VOLMGR_EXTENT_NOT_SECTOR_ALIGNED : NTSTATUS = NTSTATUS ( -1070071779i32 as _ ) ; pub const STATUS_VOLMGR_EXTENT_OVERLAPS_EBR_PARTITION : NTSTATUS = NTSTATUS ( -1070071778i32 as _ ) ; pub const STATUS_VOLMGR_EXTENT_VOLUME_LENGTHS_DO_NOT_MATCH : NTSTATUS = NTSTATUS ( -1070071777i32 as _ ) ; pub const STATUS_VOLMGR_FAULT_TOLERANT_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1070071776i32 as _ ) ; pub const STATUS_VOLMGR_INCOMPLETE_DISK_MIGRATION : NTSTATUS = NTSTATUS ( -2143813630i32 as _ ) ; pub const STATUS_VOLMGR_INCOMPLETE_REGENERATION : NTSTATUS = NTSTATUS ( -2143813631i32 as _ ) ; pub const STATUS_VOLMGR_INTERLEAVE_LENGTH_INVALID : NTSTATUS = NTSTATUS ( -1070071775i32 as _ ) ; pub const STATUS_VOLMGR_MAXIMUM_REGISTERED_USERS : NTSTATUS = NTSTATUS ( -1070071774i32 as _ ) ; pub const STATUS_VOLMGR_MEMBER_INDEX_DUPLICATE : NTSTATUS = NTSTATUS ( -1070071772i32 as _ ) ; pub const STATUS_VOLMGR_MEMBER_INDEX_INVALID : NTSTATUS = NTSTATUS ( -1070071771i32 as _ ) ; pub const STATUS_VOLMGR_MEMBER_IN_SYNC : NTSTATUS = NTSTATUS ( -1070071773i32 as _ ) ; pub const STATUS_VOLMGR_MEMBER_MISSING : NTSTATUS = NTSTATUS ( -1070071770i32 as _ ) ; pub const STATUS_VOLMGR_MEMBER_NOT_DETACHED : NTSTATUS = NTSTATUS ( -1070071769i32 as _ ) ; pub const STATUS_VOLMGR_MEMBER_REGENERATING : NTSTATUS = NTSTATUS ( -1070071768i32 as _ ) ; pub const STATUS_VOLMGR_MIRROR_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1070071717i32 as _ ) ; pub const STATUS_VOLMGR_NOTIFICATION_RESET : NTSTATUS = NTSTATUS ( -1070071764i32 as _ ) ; pub const STATUS_VOLMGR_NOT_PRIMARY_PACK : NTSTATUS = NTSTATUS ( -1070071726i32 as _ ) ; pub const STATUS_VOLMGR_NO_REGISTERED_USERS : NTSTATUS = NTSTATUS ( -1070071766i32 as _ ) ; pub const STATUS_VOLMGR_NO_SUCH_USER : NTSTATUS = NTSTATUS ( -1070071765i32 as _ ) ; pub const STATUS_VOLMGR_NO_VALID_LOG_COPIES : NTSTATUS = NTSTATUS ( -1070071720i32 as _ ) ; pub const STATUS_VOLMGR_NUMBER_OF_DISKS_INVALID : NTSTATUS = NTSTATUS ( -1070071718i32 as _ ) ; pub const STATUS_VOLMGR_NUMBER_OF_DISKS_IN_MEMBER_INVALID : NTSTATUS = NTSTATUS ( -1070071723i32 as _ ) ; pub const STATUS_VOLMGR_NUMBER_OF_DISKS_IN_PLEX_INVALID : NTSTATUS = NTSTATUS ( -1070071724i32 as _ ) ; pub const STATUS_VOLMGR_NUMBER_OF_EXTENTS_INVALID : NTSTATUS = NTSTATUS ( -1070071731i32 as _ ) ; pub const STATUS_VOLMGR_NUMBER_OF_MEMBERS_INVALID : NTSTATUS = NTSTATUS ( -1070071763i32 as _ ) ; pub const STATUS_VOLMGR_NUMBER_OF_PLEXES_INVALID : NTSTATUS = NTSTATUS ( -1070071762i32 as _ ) ; pub const STATUS_VOLMGR_PACK_CONFIG_OFFLINE : NTSTATUS = NTSTATUS ( -1070071728i32 as _ ) ; pub const STATUS_VOLMGR_PACK_CONFIG_ONLINE : NTSTATUS = NTSTATUS ( -1070071727i32 as _ ) ; pub const STATUS_VOLMGR_PACK_CONFIG_UPDATE_FAILED : NTSTATUS = NTSTATUS ( -1070071804i32 as _ ) ; pub const STATUS_VOLMGR_PACK_DUPLICATE : NTSTATUS = NTSTATUS ( -1070071761i32 as _ ) ; pub const STATUS_VOLMGR_PACK_HAS_QUORUM : NTSTATUS = NTSTATUS ( -1070071756i32 as _ ) ; pub const STATUS_VOLMGR_PACK_ID_INVALID : NTSTATUS = NTSTATUS ( -1070071760i32 as _ ) ; pub const STATUS_VOLMGR_PACK_INVALID : NTSTATUS = NTSTATUS ( -1070071759i32 as _ ) ; pub const STATUS_VOLMGR_PACK_LOG_UPDATE_FAILED : NTSTATUS = NTSTATUS ( -1070071725i32 as _ ) ; pub const STATUS_VOLMGR_PACK_NAME_INVALID : NTSTATUS = NTSTATUS ( -1070071758i32 as _ ) ; pub const STATUS_VOLMGR_PACK_OFFLINE : NTSTATUS = NTSTATUS ( -1070071757i32 as _ ) ; pub const STATUS_VOLMGR_PACK_WITHOUT_QUORUM : NTSTATUS = NTSTATUS ( -1070071755i32 as _ ) ; pub const STATUS_VOLMGR_PARTITION_STYLE_INVALID : NTSTATUS = NTSTATUS ( -1070071754i32 as _ ) ; pub const STATUS_VOLMGR_PARTITION_UPDATE_FAILED : NTSTATUS = NTSTATUS ( -1070071753i32 as _ ) ; pub const STATUS_VOLMGR_PLEX_INDEX_DUPLICATE : NTSTATUS = NTSTATUS ( -1070071751i32 as _ ) ; pub const STATUS_VOLMGR_PLEX_INDEX_INVALID : NTSTATUS = NTSTATUS ( -1070071750i32 as _ ) ; pub const STATUS_VOLMGR_PLEX_IN_SYNC : NTSTATUS = NTSTATUS ( -1070071752i32 as _ ) ; pub const STATUS_VOLMGR_PLEX_LAST_ACTIVE : NTSTATUS = NTSTATUS ( -1070071749i32 as _ ) ; pub const STATUS_VOLMGR_PLEX_MISSING : NTSTATUS = NTSTATUS ( -1070071748i32 as _ ) ; pub const STATUS_VOLMGR_PLEX_NOT_RAID5 : NTSTATUS = NTSTATUS ( -1070071745i32 as _ ) ; pub const STATUS_VOLMGR_PLEX_NOT_SIMPLE : NTSTATUS = NTSTATUS ( -1070071744i32 as _ ) ; pub const STATUS_VOLMGR_PLEX_NOT_SIMPLE_SPANNED : NTSTATUS = NTSTATUS ( -1070071721i32 as _ ) ; pub const STATUS_VOLMGR_PLEX_REGENERATING : NTSTATUS = NTSTATUS ( -1070071747i32 as _ ) ; pub const STATUS_VOLMGR_PLEX_TYPE_INVALID : NTSTATUS = NTSTATUS ( -1070071746i32 as _ ) ; pub const STATUS_VOLMGR_PRIMARY_PACK_PRESENT : NTSTATUS = NTSTATUS ( -1070071719i32 as _ ) ; pub const STATUS_VOLMGR_RAID5_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1070071716i32 as _ ) ; pub const STATUS_VOLMGR_STRUCTURE_SIZE_INVALID : NTSTATUS = NTSTATUS ( -1070071743i32 as _ ) ; pub const STATUS_VOLMGR_TOO_MANY_NOTIFICATION_REQUESTS : NTSTATUS = NTSTATUS ( -1070071742i32 as _ ) ; pub const STATUS_VOLMGR_TRANSACTION_IN_PROGRESS : NTSTATUS = NTSTATUS ( -1070071741i32 as _ ) ; pub const STATUS_VOLMGR_UNEXPECTED_DISK_LAYOUT_CHANGE : NTSTATUS = NTSTATUS ( -1070071740i32 as _ ) ; pub const STATUS_VOLMGR_VOLUME_CONTAINS_MISSING_DISK : NTSTATUS = NTSTATUS ( -1070071739i32 as _ ) ; pub const STATUS_VOLMGR_VOLUME_ID_INVALID : NTSTATUS = NTSTATUS ( -1070071738i32 as _ ) ; pub const STATUS_VOLMGR_VOLUME_LENGTH_INVALID : NTSTATUS = NTSTATUS ( -1070071737i32 as _ ) ; pub const STATUS_VOLMGR_VOLUME_LENGTH_NOT_SECTOR_SIZE_MULTIPLE : NTSTATUS = NTSTATUS ( -1070071736i32 as _ ) ; pub const STATUS_VOLMGR_VOLUME_MIRRORED : NTSTATUS = NTSTATUS ( -1070071722i32 as _ ) ; pub const STATUS_VOLMGR_VOLUME_NOT_MIRRORED : NTSTATUS = NTSTATUS ( -1070071735i32 as _ ) ; pub const STATUS_VOLMGR_VOLUME_NOT_RETAINED : NTSTATUS = NTSTATUS ( -1070071734i32 as _ ) ; pub const STATUS_VOLMGR_VOLUME_OFFLINE : NTSTATUS = NTSTATUS ( -1070071733i32 as _ ) ; pub const STATUS_VOLMGR_VOLUME_RETAINED : NTSTATUS = NTSTATUS ( -1070071732i32 as _ ) ; pub const STATUS_VOLSNAP_ACTIVATION_TIMEOUT : NTSTATUS = NTSTATUS ( -1068498940i32 as _ ) ; pub const STATUS_VOLSNAP_BOOTFILE_NOT_VALID : NTSTATUS = NTSTATUS ( -1068498941i32 as _ ) ; pub const STATUS_VOLSNAP_HIBERNATE_READY : NTSTATUS = NTSTATUS ( 293i32 as _ ) ; pub const STATUS_VOLSNAP_PREPARE_HIBERNATE : NTSTATUS = NTSTATUS ( -1073740793i32 as _ ) ; pub const STATUS_VOLUME_DIRTY : NTSTATUS = NTSTATUS ( -1073739770i32 as _ ) ; pub const STATUS_VOLUME_DISMOUNTED : NTSTATUS = NTSTATUS ( -1073741202i32 as _ ) ; pub const STATUS_VOLUME_MOUNTED : NTSTATUS = NTSTATUS ( 265i32 as _ ) ; pub const STATUS_VOLUME_NOT_CLUSTER_ALIGNED : NTSTATUS = NTSTATUS ( -1073740636i32 as _ ) ; pub const STATUS_VOLUME_NOT_UPGRADED : NTSTATUS = NTSTATUS ( -1073741156i32 as _ ) ; pub const STATUS_VRF_CFG_AND_IO_ENABLED : NTSTATUS = NTSTATUS ( -1073740641i32 as _ ) ; pub const STATUS_VSM_DMA_PROTECTION_NOT_IN_USE : NTSTATUS = NTSTATUS ( -1069219839i32 as _ ) ; pub const STATUS_VSM_NOT_INITIALIZED : NTSTATUS = NTSTATUS ( -1069219840i32 as _ ) ; pub const STATUS_WAIT_0 : NTSTATUS = NTSTATUS ( 0i32 as _ ) ; pub const STATUS_WAIT_1 : NTSTATUS = NTSTATUS ( 1i32 as _ ) ; pub const STATUS_WAIT_2 : NTSTATUS = NTSTATUS ( 2i32 as _ ) ; pub const STATUS_WAIT_3 : NTSTATUS = NTSTATUS ( 3i32 as _ ) ; pub const STATUS_WAIT_63 : NTSTATUS = NTSTATUS ( 63i32 as _ ) ; pub const STATUS_WAIT_FOR_OPLOCK : NTSTATUS = NTSTATUS ( 871i32 as _ ) ; pub const STATUS_WAKE_SYSTEM : NTSTATUS = NTSTATUS ( 1073742484i32 as _ ) ; pub const STATUS_WAKE_SYSTEM_DEBUGGER : NTSTATUS = NTSTATUS ( -2147483641i32 as _ ) ; pub const STATUS_WAS_LOCKED : NTSTATUS = NTSTATUS ( 1073741849i32 as _ ) ; pub const STATUS_WAS_UNLOCKED : NTSTATUS = NTSTATUS ( 1073741847i32 as _ ) ; pub const STATUS_WIM_NOT_BOOTABLE : NTSTATUS = NTSTATUS ( -1073740665i32 as _ ) ; pub const STATUS_WMI_ALREADY_DISABLED : NTSTATUS = NTSTATUS ( -1073741054i32 as _ ) ; pub const STATUS_WMI_ALREADY_ENABLED : NTSTATUS = NTSTATUS ( -1073741053i32 as _ ) ; pub const STATUS_WMI_GUID_DISCONNECTED : NTSTATUS = NTSTATUS ( -1073741055i32 as _ ) ; pub const STATUS_WMI_GUID_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073741163i32 as _ ) ; pub const STATUS_WMI_INSTANCE_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073741162i32 as _ ) ; pub const STATUS_WMI_ITEMID_NOT_FOUND : NTSTATUS = NTSTATUS ( -1073741161i32 as _ ) ; pub const STATUS_WMI_NOT_SUPPORTED : NTSTATUS = NTSTATUS ( -1073741091i32 as _ ) ; pub const STATUS_WMI_READ_ONLY : NTSTATUS = NTSTATUS ( -1073741114i32 as _ ) ; pub const STATUS_WMI_SET_FAILURE : NTSTATUS = NTSTATUS ( -1073741113i32 as _ ) ; pub const STATUS_WMI_TRY_AGAIN : NTSTATUS = NTSTATUS ( -1073741160i32 as _ ) ; pub const STATUS_WOF_FILE_RESOURCE_TABLE_CORRUPT : NTSTATUS = NTSTATUS ( -1073700185i32 as _ ) ; pub const STATUS_WOF_WIM_HEADER_CORRUPT : NTSTATUS = NTSTATUS ( -1073700187i32 as _ ) ; pub const STATUS_WOF_WIM_RESOURCE_TABLE_CORRUPT : NTSTATUS = NTSTATUS ( -1073700186i32 as _ ) ; pub const STATUS_WORKING_SET_LIMIT_RANGE : NTSTATUS = NTSTATUS ( 1073741826i32 as _ ) ; pub const STATUS_WORKING_SET_QUOTA : NTSTATUS = NTSTATUS ( -1073741663i32 as _ ) ; pub const STATUS_WOW_ASSERTION : NTSTATUS = NTSTATUS ( -1073702760i32 as _ ) ; pub const STATUS_WRONG_COMPARTMENT : NTSTATUS = NTSTATUS ( -1073700731i32 as _ ) ; pub const STATUS_WRONG_CREDENTIAL_HANDLE : NTSTATUS = NTSTATUS ( -1073741070i32 as _ ) ; pub const STATUS_WRONG_EFS : NTSTATUS = NTSTATUS ( -1073741169i32 as _ ) ; pub const STATUS_WRONG_PASSWORD_CORE : NTSTATUS = NTSTATUS ( -1073741495i32 as _ ) ; pub const STATUS_WRONG_VOLUME : NTSTATUS = NTSTATUS ( -1073741806i32 as _ ) ; pub const STATUS_WX86_BREAKPOINT : NTSTATUS = NTSTATUS ( 1073741855i32 as _ ) ; pub const STATUS_WX86_CONTINUE : NTSTATUS = NTSTATUS ( 1073741853i32 as _ ) ; pub const STATUS_WX86_CREATEWX86TIB : NTSTATUS = NTSTATUS ( 1073741864i32 as _ ) ; pub const STATUS_WX86_EXCEPTION_CHAIN : NTSTATUS = NTSTATUS ( 1073741858i32 as _ ) ; pub const STATUS_WX86_EXCEPTION_CONTINUE : NTSTATUS = NTSTATUS ( 1073741856i32 as _ ) ; pub const STATUS_WX86_EXCEPTION_LASTCHANCE : NTSTATUS = NTSTATUS ( 1073741857i32 as _ ) ; pub const STATUS_WX86_FLOAT_STACK_CHECK : NTSTATUS = NTSTATUS ( -1073741200i32 as _ ) ; pub const STATUS_WX86_INTERNAL_ERROR : NTSTATUS = NTSTATUS ( -1073741201i32 as _ ) ; pub const STATUS_WX86_SINGLE_STEP : NTSTATUS = NTSTATUS ( 1073741854i32 as _ ) ; pub const STATUS_WX86_UNSIMULATE : NTSTATUS = NTSTATUS ( 1073741852i32 as _ ) ; pub const STATUS_XMLDSIG_ERROR : NTSTATUS = NTSTATUS ( -1073700732i32 as _ ) ; pub const STATUS_XML_ENCODING_MISMATCH : NTSTATUS = NTSTATUS ( -1072365535i32 as _ ) ; pub const STATUS_XML_PARSE_ERROR : NTSTATUS = NTSTATUS ( -1073700733i32 as _ ) ; pub const STG_E_ABNORMALAPIEXIT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286790i32 as _ ) ; pub const STG_E_ACCESSDENIED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147287035i32 as _ ) ; pub const STG_E_BADBASEADDRESS : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286768i32 as _ ) ; pub const STG_E_CANTSAVE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286781i32 as _ ) ; pub const STG_E_CSS_AUTHENTICATION_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286266i32 as _ ) ; pub const STG_E_CSS_KEY_NOT_ESTABLISHED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286264i32 as _ ) ; pub const STG_E_CSS_KEY_NOT_PRESENT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286265i32 as _ ) ; pub const STG_E_CSS_REGION_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286262i32 as _ ) ; pub const STG_E_CSS_SCRAMBLED_SECTOR : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286263i32 as _ ) ; pub const STG_E_DEVICE_UNRESPONSIVE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286518i32 as _ ) ; pub const STG_E_DISKISWRITEPROTECTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147287021i32 as _ ) ; pub const STG_E_DOCFILECORRUPT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286775i32 as _ ) ; pub const STG_E_DOCFILETOOLARGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286767i32 as _ ) ; pub const STG_E_EXTANTMARSHALLINGS : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286776i32 as _ ) ; pub const STG_E_FILEALREADYEXISTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286960i32 as _ ) ; pub const STG_E_FILENOTFOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2147287038i32 as _ ) ; pub const STG_E_FIRMWARE_IMAGE_INVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286519i32 as _ ) ; pub const STG_E_FIRMWARE_SLOT_INVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286520i32 as _ ) ; pub const STG_E_INCOMPLETE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286527i32 as _ ) ; pub const STG_E_INSUFFICIENTMEMORY : :: windows :: HRESULT = :: windows :: HRESULT ( -2147287032i32 as _ ) ; pub const STG_E_INUSE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286784i32 as _ ) ; pub const STG_E_INVALIDFLAG : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286785i32 as _ ) ; pub const STG_E_INVALIDFUNCTION : :: windows :: HRESULT = :: windows :: HRESULT ( -2147287039i32 as _ ) ; pub const STG_E_INVALIDHANDLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147287034i32 as _ ) ; pub const STG_E_INVALIDHEADER : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286789i32 as _ ) ; pub const STG_E_INVALIDNAME : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286788i32 as _ ) ; pub const STG_E_INVALIDPARAMETER : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286953i32 as _ ) ; pub const STG_E_INVALIDPOINTER : :: windows :: HRESULT = :: windows :: HRESULT ( -2147287031i32 as _ ) ; pub const STG_E_LOCKVIOLATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2147287007i32 as _ ) ; pub const STG_E_MEDIUMFULL : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286928i32 as _ ) ; pub const STG_E_NOMOREFILES : :: windows :: HRESULT = :: windows :: HRESULT ( -2147287022i32 as _ ) ; pub const STG_E_NOTCURRENT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286783i32 as _ ) ; pub const STG_E_NOTFILEBASEDSTORAGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286777i32 as _ ) ; pub const STG_E_NOTSIMPLEFORMAT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286766i32 as _ ) ; pub const STG_E_OLDDLL : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286779i32 as _ ) ; pub const STG_E_OLDFORMAT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286780i32 as _ ) ; pub const STG_E_PATHNOTFOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2147287037i32 as _ ) ; pub const STG_E_PROPSETMISMATCHED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286800i32 as _ ) ; pub const STG_E_READFAULT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147287010i32 as _ ) ; pub const STG_E_RESETS_EXHAUSTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286261i32 as _ ) ; pub const STG_E_REVERTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286782i32 as _ ) ; pub const STG_E_SEEKERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2147287015i32 as _ ) ; pub const STG_E_SHAREREQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286778i32 as _ ) ; pub const STG_E_SHAREVIOLATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2147287008i32 as _ ) ; pub const STG_E_STATUS_COPY_PROTECTION_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286267i32 as _ ) ; pub const STG_E_TERMINATED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286526i32 as _ ) ; pub const STG_E_TOOMANYOPENFILES : :: windows :: HRESULT = :: windows :: HRESULT ( -2147287036i32 as _ ) ; pub const STG_E_UNIMPLEMENTEDFUNCTION : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286786i32 as _ ) ; pub const STG_E_UNKNOWN : :: windows :: HRESULT = :: windows :: HRESULT ( -2147286787i32 as _ ) ; pub const STG_E_WRITEFAULT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147287011i32 as _ ) ; pub const STG_S_BLOCK : :: windows :: HRESULT = :: windows :: HRESULT ( 197121i32 as _ ) ; pub const STG_S_CANNOTCONSOLIDATE : :: windows :: HRESULT = :: windows :: HRESULT ( 197126i32 as _ ) ; pub const STG_S_CONSOLIDATIONFAILED : :: windows :: HRESULT = :: windows :: HRESULT ( 197125i32 as _ ) ; pub const STG_S_CONVERTED : :: windows :: HRESULT = :: windows :: HRESULT ( 197120i32 as _ ) ; pub const STG_S_MONITORING : :: windows :: HRESULT = :: windows :: HRESULT ( 197123i32 as _ ) ; pub const STG_S_MULTIPLEOPENS : :: windows :: HRESULT = :: windows :: HRESULT ( 197124i32 as _ ) ; pub const STG_S_POWER_CYCLE_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( 197127i32 as _ ) ; pub const STG_S_RETRYNOW : :: windows :: HRESULT = :: windows :: HRESULT ( 197122i32 as _ ) ; pub const STORE_ERROR_LICENSE_REVOKED : i32 = 15864i32 ; pub const STORE_ERROR_PENDING_COM_TRANSACTION : i32 = 15863i32 ; pub const STORE_ERROR_UNLICENSED : i32 = 15861i32 ; pub const STORE_ERROR_UNLICENSED_USER : i32 = 15862i32 ; pub const STRICT : u32 = 1u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SYSTEMTIME { pub wYear : u16 , pub wMonth : u16 , pub wDayOfWeek : u16 , pub wDay : u16 , pub wHour : u16 , pub wMinute : u16 , pub wSecond : u16 , pub wMilliseconds : u16 } impl SYSTEMTIME { } impl :: std :: default :: Default for SYSTEMTIME { fn default ( ) -> Self { Self { wYear : 0 , wMonth : 0 , wDayOfWeek : 0 , wDay : 0 , wHour : 0 , wMinute : 0 , wSecond : 0 , wMilliseconds : 0 } } } impl :: std :: fmt :: Debug for SYSTEMTIME { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SYSTEMTIME" ) . field ( "wYear" , & self . wYear ) . field ( "wMonth" , & self . wMonth ) . field ( "wDayOfWeek" , & self . wDayOfWeek ) . field ( "wDay" , & self . wDay ) . field ( "wHour" , & self . wHour ) . field ( "wMinute" , & self . wMinute ) . field ( "wSecond" , & self . wSecond ) . field ( "wMilliseconds" , & self . wMilliseconds ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SYSTEMTIME { fn eq ( & self , other : & Self ) -> bool { self . wYear == other . wYear && self . wMonth == other . wMonth && self . wDayOfWeek == other . wDayOfWeek && self . wDay == other . wDay && self . wHour == other . wHour && self . wMinute == other . wMinute && self . wSecond == other . wSecond && self . wMilliseconds == other . wMilliseconds } } impl :: std :: cmp :: Eq for SYSTEMTIME { } unsafe impl :: windows :: Abi for SYSTEMTIME { type Abi = Self ; type DefaultType = Self ; } pub const S_APPLICATION_ACTIVATION_ERROR_HANDLED_BY_DIALOG : :: windows :: HRESULT = :: windows :: HRESULT ( 2556505i32 as _ ) ; pub const S_FALSE : :: windows :: HRESULT = :: windows :: HRESULT ( 1i32 as _ ) ; pub const S_OK : :: windows :: HRESULT = :: windows :: HRESULT ( 0i32 as _ ) ; pub const S_STORE_LAUNCHED_FOR_REMEDIATION : :: windows :: HRESULT = :: windows :: HRESULT ( 2556504i32 as _ ) ; pub unsafe fn SetHandleInformation < 'a , > ( hobject : impl :: windows :: IntoParam < 'a , HANDLE > , dwmask : u32 , dwflags : HANDLE_FLAGS , ) -> BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn SetHandleInformation ( hobject : HANDLE , dwmask : u32 , dwflags : HANDLE_FLAGS ) -> BOOL ; } SetHandleInformation ( hobject . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwmask ) , :: std :: mem :: transmute ( dwflags ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SysAddRefString < 'a , > ( bstrstring : impl :: windows :: IntoParam < 'a , BSTR > , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="OLEAUT32" ) ] extern "system" { fn SysAddRefString ( bstrstring : BSTR_abi ) -> :: windows :: HRESULT ; } SysAddRefString ( bstrstring . into_param ( ) . abi ( ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SysAllocString < 'a , > ( psz : impl :: windows :: IntoParam < 'a , PWSTR > , ) -> BSTR { # [ cfg ( windows ) ] { # [ link ( name ="OLEAUT32" ) ] extern "system" { fn SysAllocString ( psz : PWSTR ) -> BSTR ; } SysAllocString ( psz . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SysAllocStringByteLen < 'a , > ( psz : impl :: windows :: IntoParam < 'a , PSTR > , len : u32 , ) -> BSTR { # [ cfg ( windows ) ] { # [ link ( name ="OLEAUT32" ) ] extern "system" { fn SysAllocStringByteLen ( psz : PSTR , len : u32 ) -> BSTR ; } SysAllocStringByteLen ( psz . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( len ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SysAllocStringLen < 'a , > ( strin : impl :: windows :: IntoParam < 'a , PWSTR > , ui : u32 , ) -> BSTR { # [ cfg ( windows ) ] { # [ link ( name ="OLEAUT32" ) ] extern "system" { fn SysAllocStringLen ( strin : PWSTR , ui : u32 ) -> BSTR ; } SysAllocStringLen ( strin . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ui ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SysFreeString < 'a , > ( bstrstring : impl :: windows :: IntoParam < 'a , BSTR > , ) { # [ cfg ( windows ) ] { # [ link ( name ="OLEAUT32" ) ] extern "system" { fn SysFreeString ( bstrstring : BSTR_abi ) ; } SysFreeString ( bstrstring . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SysReAllocString < 'a , > ( pbstr : * mut BSTR , psz : impl :: windows :: IntoParam < 'a , PWSTR > , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="OLEAUT32" ) ] extern "system" { fn SysReAllocString ( pbstr : * mut BSTR_abi , psz : PWSTR ) -> i32 ; } SysReAllocString ( :: std :: mem :: transmute ( pbstr ) , psz . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SysReAllocStringLen < 'a , > ( pbstr : * mut BSTR , psz : impl :: windows :: IntoParam < 'a , PWSTR > , len : u32 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="OLEAUT32" ) ] extern "system" { fn SysReAllocStringLen ( pbstr : * mut BSTR_abi , psz : PWSTR , len : u32 ) -> i32 ; } SysReAllocStringLen ( :: std :: mem :: transmute ( pbstr ) , psz . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( len ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SysReleaseString < 'a , > ( bstrstring : impl :: windows :: IntoParam < 'a , BSTR > , ) { # [ cfg ( windows ) ] { # [ link ( name ="OLEAUT32" ) ] extern "system" { fn SysReleaseString ( bstrstring : BSTR_abi ) ; } SysReleaseString ( bstrstring . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SysStringByteLen < 'a , > ( bstr : impl :: windows :: IntoParam < 'a , BSTR > , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="OLEAUT32" ) ] extern "system" { fn SysStringByteLen ( bstr : BSTR_abi ) -> u32 ; } SysStringByteLen ( bstr . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SysStringLen < 'a , > ( pbstr : impl :: windows :: IntoParam < 'a , BSTR > , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="OLEAUT32" ) ] extern "system" { fn SysStringLen ( pbstr : BSTR_abi ) -> u32 ; } SysStringLen ( pbstr . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub const TBSIMP_E_BUFFER_TOO_SMALL : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796160i32 as _ ) ; pub const TBSIMP_E_CLEANUP_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796159i32 as _ ) ; pub const TBSIMP_E_COMMAND_CANCELED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796149i32 as _ ) ; pub const TBSIMP_E_COMMAND_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796143i32 as _ ) ; pub const TBSIMP_E_DUPLICATE_VHANDLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796154i32 as _ ) ; pub const TBSIMP_E_HASH_BAD_KEY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796155i32 as _ ) ; pub const TBSIMP_E_HASH_TABLE_FULL : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796138i32 as _ ) ; pub const TBSIMP_E_INVALID_CONTEXT_HANDLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796158i32 as _ ) ; pub const TBSIMP_E_INVALID_CONTEXT_PARAM : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796157i32 as _ ) ; pub const TBSIMP_E_INVALID_OUTPUT_POINTER : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796153i32 as _ ) ; pub const TBSIMP_E_INVALID_PARAMETER : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796152i32 as _ ) ; pub const TBSIMP_E_INVALID_RESOURCE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796140i32 as _ ) ; pub const TBSIMP_E_LIST_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796146i32 as _ ) ; pub const TBSIMP_E_LIST_NO_MORE_ITEMS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796147i32 as _ ) ; pub const TBSIMP_E_NOTHING_TO_UNLOAD : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796139i32 as _ ) ; pub const TBSIMP_E_NOT_ENOUGH_SPACE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796145i32 as _ ) ; pub const TBSIMP_E_NOT_ENOUGH_TPM_CONTEXTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796144i32 as _ ) ; pub const TBSIMP_E_NO_EVENT_LOG : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796133i32 as _ ) ; pub const TBSIMP_E_OUT_OF_MEMORY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796148i32 as _ ) ; pub const TBSIMP_E_PPI_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796135i32 as _ ) ; pub const TBSIMP_E_RESOURCE_EXPIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796141i32 as _ ) ; pub const TBSIMP_E_RPC_INIT_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796151i32 as _ ) ; pub const TBSIMP_E_SCHEDULER_NOT_RUNNING : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796150i32 as _ ) ; pub const TBSIMP_E_TOO_MANY_RESOURCES : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796136i32 as _ ) ; pub const TBSIMP_E_TOO_MANY_TBS_CONTEXTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796137i32 as _ ) ; pub const TBSIMP_E_TPM_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796156i32 as _ ) ; pub const TBSIMP_E_TPM_INCOMPATIBLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796134i32 as _ ) ; pub const TBSIMP_E_UNKNOWN_ORDINAL : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796142i32 as _ ) ; pub const TBS_E_ACCESS_DENIED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144845806i32 as _ ) ; pub const TBS_E_BAD_PARAMETER : :: windows :: HRESULT = :: windows :: HRESULT ( -2144845822i32 as _ ) ; pub const TBS_E_BUFFER_TOO_LARGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144845810i32 as _ ) ; pub const TBS_E_COMMAND_CANCELED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144845811i32 as _ ) ; pub const TBS_E_INSUFFICIENT_BUFFER : :: windows :: HRESULT = :: windows :: HRESULT ( -2144845819i32 as _ ) ; pub const TBS_E_INTERNAL_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2144845823i32 as _ ) ; pub const TBS_E_INVALID_CONTEXT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144845820i32 as _ ) ; pub const TBS_E_INVALID_CONTEXT_PARAM : :: windows :: HRESULT = :: windows :: HRESULT ( -2144845817i32 as _ ) ; pub const TBS_E_INVALID_OUTPUT_POINTER : :: windows :: HRESULT = :: windows :: HRESULT ( -2144845821i32 as _ ) ; pub const TBS_E_IOERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2144845818i32 as _ ) ; pub const TBS_E_NO_EVENT_LOG : :: windows :: HRESULT = :: windows :: HRESULT ( -2144845807i32 as _ ) ; pub const TBS_E_OWNERAUTH_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2144845803i32 as _ ) ; pub const TBS_E_PPI_FUNCTION_UNSUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144845804i32 as _ ) ; pub const TBS_E_PPI_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144845812i32 as _ ) ; pub const TBS_E_PROVISIONING_INCOMPLETE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144845802i32 as _ ) ; pub const TBS_E_PROVISIONING_NOT_ALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144845805i32 as _ ) ; pub const TBS_E_SERVICE_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144845808i32 as _ ) ; pub const TBS_E_SERVICE_NOT_RUNNING : :: windows :: HRESULT = :: windows :: HRESULT ( -2144845816i32 as _ ) ; pub const TBS_E_SERVICE_START_PENDING : :: windows :: HRESULT = :: windows :: HRESULT ( -2144845813i32 as _ ) ; pub const TBS_E_TOO_MANY_RESOURCES : :: windows :: HRESULT = :: windows :: HRESULT ( -2144845814i32 as _ ) ; pub const TBS_E_TOO_MANY_TBS_CONTEXTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144845815i32 as _ ) ; pub const TBS_E_TPM_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2144845809i32 as _ ) ; pub const TPC_E_INITIALIZE_FAIL : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220957i32 as _ ) ; pub const TPC_E_INVALID_CONFIGURATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220935i32 as _ ) ; pub const TPC_E_INVALID_DATA_FROM_RECOGNIZER : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220934i32 as _ ) ; pub const TPC_E_INVALID_INPUT_RECT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220967i32 as _ ) ; pub const TPC_E_INVALID_PACKET_DESCRIPTION : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220941i32 as _ ) ; pub const TPC_E_INVALID_PROPERTY : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220927i32 as _ ) ; pub const TPC_E_INVALID_RIGHTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220938i32 as _ ) ; pub const TPC_E_INVALID_STROKE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220958i32 as _ ) ; pub const TPC_E_NOT_RELEVANT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220942i32 as _ ) ; pub const TPC_E_NO_DEFAULT_TABLET : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220974i32 as _ ) ; pub const TPC_E_OUT_OF_ORDER_CALL : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220937i32 as _ ) ; pub const TPC_E_QUEUE_FULL : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220936i32 as _ ) ; pub const TPC_E_RECOGNIZER_NOT_REGISTERED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220939i32 as _ ) ; pub const TPC_E_UNKNOWN_PROPERTY : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220965i32 as _ ) ; pub const TPC_S_INTERRUPTED : :: windows :: HRESULT = :: windows :: HRESULT ( 262739i32 as _ ) ; pub const TPC_S_NO_DATA_TO_PROCESS : :: windows :: HRESULT = :: windows :: HRESULT ( 262740i32 as _ ) ; pub const TPC_S_TRUNCATED : :: windows :: HRESULT = :: windows :: HRESULT ( 262738i32 as _ ) ; pub const TPMAPI_E_ACCESS_DENIED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796408i32 as _ ) ; pub const TPMAPI_E_AUTHORIZATION_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796407i32 as _ ) ; pub const TPMAPI_E_AUTHORIZATION_REVOKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796378i32 as _ ) ; pub const TPMAPI_E_AUTHORIZING_KEY_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796376i32 as _ ) ; pub const TPMAPI_E_BUFFER_TOO_SMALL : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796410i32 as _ ) ; pub const TPMAPI_E_EMPTY_TCG_LOG : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796390i32 as _ ) ; pub const TPMAPI_E_ENCRYPTION_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796400i32 as _ ) ; pub const TPMAPI_E_ENDORSEMENT_AUTH_NOT_NULL : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796379i32 as _ ) ; pub const TPMAPI_E_FIPS_RNG_CHECK_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796391i32 as _ ) ; pub const TPMAPI_E_INTERNAL_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796409i32 as _ ) ; pub const TPMAPI_E_INVALID_AUTHORIZATION_SIGNATURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796375i32 as _ ) ; pub const TPMAPI_E_INVALID_CONTEXT_HANDLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796406i32 as _ ) ; pub const TPMAPI_E_INVALID_CONTEXT_PARAMS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796395i32 as _ ) ; pub const TPMAPI_E_INVALID_DELEGATE_BLOB : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796396i32 as _ ) ; pub const TPMAPI_E_INVALID_ENCODING : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796402i32 as _ ) ; pub const TPMAPI_E_INVALID_KEY_BLOB : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796394i32 as _ ) ; pub const TPMAPI_E_INVALID_KEY_PARAMS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796399i32 as _ ) ; pub const TPMAPI_E_INVALID_KEY_SIZE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796401i32 as _ ) ; pub const TPMAPI_E_INVALID_MIGRATION_AUTHORIZATION_BLOB : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796398i32 as _ ) ; pub const TPMAPI_E_INVALID_OUTPUT_POINTER : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796413i32 as _ ) ; pub const TPMAPI_E_INVALID_OWNER_AUTH : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796392i32 as _ ) ; pub const TPMAPI_E_INVALID_PARAMETER : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796412i32 as _ ) ; pub const TPMAPI_E_INVALID_PCR_DATA : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796393i32 as _ ) ; pub const TPMAPI_E_INVALID_PCR_INDEX : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796397i32 as _ ) ; pub const TPMAPI_E_INVALID_POLICYAUTH_BLOB_TYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796370i32 as _ ) ; pub const TPMAPI_E_INVALID_STATE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796416i32 as _ ) ; pub const TPMAPI_E_INVALID_TCG_LOG_ENTRY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796389i32 as _ ) ; pub const TPMAPI_E_INVALID_TPM_VERSION : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796371i32 as _ ) ; pub const TPMAPI_E_MALFORMED_AUTHORIZATION_KEY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796377i32 as _ ) ; pub const TPMAPI_E_MALFORMED_AUTHORIZATION_OTHER : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796373i32 as _ ) ; pub const TPMAPI_E_MALFORMED_AUTHORIZATION_POLICY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796374i32 as _ ) ; pub const TPMAPI_E_MESSAGE_TOO_LARGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796403i32 as _ ) ; pub const TPMAPI_E_NOT_ENOUGH_DATA : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796415i32 as _ ) ; pub const TPMAPI_E_NO_AUTHORIZATION_CHAIN_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796382i32 as _ ) ; pub const TPMAPI_E_NV_BITS_NOT_DEFINED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796385i32 as _ ) ; pub const TPMAPI_E_NV_BITS_NOT_READY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796384i32 as _ ) ; pub const TPMAPI_E_OUT_OF_MEMORY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796411i32 as _ ) ; pub const TPMAPI_E_OWNER_AUTH_NOT_NULL : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796380i32 as _ ) ; pub const TPMAPI_E_POLICY_DENIES_OPERATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796386i32 as _ ) ; pub const TPMAPI_E_SEALING_KEY_CHANGED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796372i32 as _ ) ; pub const TPMAPI_E_SEALING_KEY_NOT_AVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796383i32 as _ ) ; pub const TPMAPI_E_SVN_COUNTER_NOT_AVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796381i32 as _ ) ; pub const TPMAPI_E_TBS_COMMUNICATION_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796405i32 as _ ) ; pub const TPMAPI_E_TCG_INVALID_DIGEST_ENTRY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796387i32 as _ ) ; pub const TPMAPI_E_TCG_SEPARATOR_ABSENT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796388i32 as _ ) ; pub const TPMAPI_E_TOO_MUCH_DATA : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796414i32 as _ ) ; pub const TPMAPI_E_TPM_COMMAND_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2144796404i32 as _ ) ; pub const TPM_20_E_ASYMMETRIC : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862079i32 as _ ) ; pub const TPM_20_E_ATTRIBUTES : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862078i32 as _ ) ; pub const TPM_20_E_AUTHSIZE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861884i32 as _ ) ; pub const TPM_20_E_AUTH_CONTEXT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861883i32 as _ ) ; pub const TPM_20_E_AUTH_FAIL : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862066i32 as _ ) ; pub const TPM_20_E_AUTH_MISSING : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861915i32 as _ ) ; pub const TPM_20_E_AUTH_TYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861916i32 as _ ) ; pub const TPM_20_E_AUTH_UNAVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861905i32 as _ ) ; pub const TPM_20_E_BAD_AUTH : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862046i32 as _ ) ; pub const TPM_20_E_BAD_CONTEXT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861872i32 as _ ) ; pub const TPM_20_E_BINDING : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862043i32 as _ ) ; pub const TPM_20_E_CANCELED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144859895i32 as _ ) ; pub const TPM_20_E_COMMAND_CODE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861885i32 as _ ) ; pub const TPM_20_E_COMMAND_SIZE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861886i32 as _ ) ; pub const TPM_20_E_CONTEXT_GAP : :: windows :: HRESULT = :: windows :: HRESULT ( -2144859903i32 as _ ) ; pub const TPM_20_E_CPHASH : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861871i32 as _ ) ; pub const TPM_20_E_CURVE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862042i32 as _ ) ; pub const TPM_20_E_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861920i32 as _ ) ; pub const TPM_20_E_ECC_CURVE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861917i32 as _ ) ; pub const TPM_20_E_ECC_POINT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862041i32 as _ ) ; pub const TPM_20_E_EXCLUSIVE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861919i32 as _ ) ; pub const TPM_20_E_EXPIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862045i32 as _ ) ; pub const TPM_20_E_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861951i32 as _ ) ; pub const TPM_20_E_HANDLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862069i32 as _ ) ; pub const TPM_20_E_HASH : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862077i32 as _ ) ; pub const TPM_20_E_HIERARCHY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862075i32 as _ ) ; pub const TPM_20_E_HMAC : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861927i32 as _ ) ; pub const TPM_20_E_INITIALIZE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861952i32 as _ ) ; pub const TPM_20_E_INSUFFICIENT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862054i32 as _ ) ; pub const TPM_20_E_INTEGRITY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862049i32 as _ ) ; pub const TPM_20_E_KDF : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862068i32 as _ ) ; pub const TPM_20_E_KEY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862052i32 as _ ) ; pub const TPM_20_E_KEY_SIZE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862073i32 as _ ) ; pub const TPM_20_E_LOCALITY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144859897i32 as _ ) ; pub const TPM_20_E_LOCKOUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144859871i32 as _ ) ; pub const TPM_20_E_MEMORY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144859900i32 as _ ) ; pub const TPM_20_E_MGF : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862072i32 as _ ) ; pub const TPM_20_E_MODE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862071i32 as _ ) ; pub const TPM_20_E_NEEDS_TEST : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861869i32 as _ ) ; pub const TPM_20_E_NONCE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862065i32 as _ ) ; pub const TPM_20_E_NO_RESULT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861868i32 as _ ) ; pub const TPM_20_E_NV_AUTHORIZATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861879i32 as _ ) ; pub const TPM_20_E_NV_DEFINED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861876i32 as _ ) ; pub const TPM_20_E_NV_LOCKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861880i32 as _ ) ; pub const TPM_20_E_NV_RANGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861882i32 as _ ) ; pub const TPM_20_E_NV_RATE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144859872i32 as _ ) ; pub const TPM_20_E_NV_SIZE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861881i32 as _ ) ; pub const TPM_20_E_NV_SPACE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861877i32 as _ ) ; pub const TPM_20_E_NV_UNAVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144859869i32 as _ ) ; pub const TPM_20_E_NV_UNINITIALIZED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861878i32 as _ ) ; pub const TPM_20_E_OBJECT_HANDLES : :: windows :: HRESULT = :: windows :: HRESULT ( -2144859898i32 as _ ) ; pub const TPM_20_E_OBJECT_MEMORY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144859902i32 as _ ) ; pub const TPM_20_E_PARENT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861870i32 as _ ) ; pub const TPM_20_E_PCR : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861913i32 as _ ) ; pub const TPM_20_E_PCR_CHANGED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861912i32 as _ ) ; pub const TPM_20_E_POLICY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861914i32 as _ ) ; pub const TPM_20_E_POLICY_CC : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862044i32 as _ ) ; pub const TPM_20_E_POLICY_FAIL : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862051i32 as _ ) ; pub const TPM_20_E_PP : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862064i32 as _ ) ; pub const TPM_20_E_PRIVATE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861941i32 as _ ) ; pub const TPM_20_E_RANGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862067i32 as _ ) ; pub const TPM_20_E_REBOOT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861904i32 as _ ) ; pub const TPM_20_E_RESERVED_BITS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862047i32 as _ ) ; pub const TPM_20_E_RETRY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144859870i32 as _ ) ; pub const TPM_20_E_SCHEME : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862062i32 as _ ) ; pub const TPM_20_E_SELECTOR : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862056i32 as _ ) ; pub const TPM_20_E_SENSITIVE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861867i32 as _ ) ; pub const TPM_20_E_SEQUENCE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861949i32 as _ ) ; pub const TPM_20_E_SESSION_HANDLES : :: windows :: HRESULT = :: windows :: HRESULT ( -2144859899i32 as _ ) ; pub const TPM_20_E_SESSION_MEMORY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144859901i32 as _ ) ; pub const TPM_20_E_SIGNATURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862053i32 as _ ) ; pub const TPM_20_E_SIZE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862059i32 as _ ) ; pub const TPM_20_E_SYMMETRIC : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862058i32 as _ ) ; pub const TPM_20_E_TAG : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862057i32 as _ ) ; pub const TPM_20_E_TESTING : :: windows :: HRESULT = :: windows :: HRESULT ( -2144859894i32 as _ ) ; pub const TPM_20_E_TICKET : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862048i32 as _ ) ; pub const TPM_20_E_TOO_MANY_CONTEXTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861906i32 as _ ) ; pub const TPM_20_E_TYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862070i32 as _ ) ; pub const TPM_20_E_UNBALANCED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861903i32 as _ ) ; pub const TPM_20_E_UPGRADE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861907i32 as _ ) ; pub const TPM_20_E_VALUE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862076i32 as _ ) ; pub const TPM_20_E_YIELDED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144859896i32 as _ ) ; pub const TPM_E_AREA_LOCKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862148i32 as _ ) ; pub const TPM_E_ATTESTATION_CHALLENGE_NOT_SET : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795630i32 as _ ) ; pub const TPM_E_AUDITFAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862204i32 as _ ) ; pub const TPM_E_AUDITFAIL_SUCCESSFUL : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862159i32 as _ ) ; pub const TPM_E_AUDITFAIL_UNSUCCESSFUL : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862160i32 as _ ) ; pub const TPM_E_AUTH2FAIL : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862179i32 as _ ) ; pub const TPM_E_AUTHFAIL : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862207i32 as _ ) ; pub const TPM_E_AUTH_CONFLICT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862149i32 as _ ) ; pub const TPM_E_BADCONTEXT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862118i32 as _ ) ; pub const TPM_E_BADINDEX : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862206i32 as _ ) ; pub const TPM_E_BADTAG : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862178i32 as _ ) ; pub const TPM_E_BAD_ATTRIBUTES : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862142i32 as _ ) ; pub const TPM_E_BAD_COUNTER : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862139i32 as _ ) ; pub const TPM_E_BAD_DATASIZE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862165i32 as _ ) ; pub const TPM_E_BAD_DELEGATE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862119i32 as _ ) ; pub const TPM_E_BAD_HANDLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862120i32 as _ ) ; pub const TPM_E_BAD_KEY_PROPERTY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862168i32 as _ ) ; pub const TPM_E_BAD_LOCALITY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862147i32 as _ ) ; pub const TPM_E_BAD_MIGRATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862167i32 as _ ) ; pub const TPM_E_BAD_MODE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862164i32 as _ ) ; pub const TPM_E_BAD_ORDINAL : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862198i32 as _ ) ; pub const TPM_E_BAD_PARAMETER : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862205i32 as _ ) ; pub const TPM_E_BAD_PARAM_SIZE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862183i32 as _ ) ; pub const TPM_E_BAD_PRESENCE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862163i32 as _ ) ; pub const TPM_E_BAD_SCHEME : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862166i32 as _ ) ; pub const TPM_E_BAD_SIGNATURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862110i32 as _ ) ; pub const TPM_E_BAD_TYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862156i32 as _ ) ; pub const TPM_E_BAD_VERSION : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862162i32 as _ ) ; pub const TPM_E_BUFFER_LENGTH_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795618i32 as _ ) ; pub const TPM_E_CLAIM_TYPE_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795620i32 as _ ) ; pub const TPM_E_CLEAR_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862203i32 as _ ) ; pub const TPM_E_COMMAND_BLOCKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861184i32 as _ ) ; pub const TPM_E_CONTEXT_GAP : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862137i32 as _ ) ; pub const TPM_E_DAA_INPUT_DATA0 : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862127i32 as _ ) ; pub const TPM_E_DAA_INPUT_DATA1 : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862126i32 as _ ) ; pub const TPM_E_DAA_ISSUER_SETTINGS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862125i32 as _ ) ; pub const TPM_E_DAA_ISSUER_VALIDITY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862122i32 as _ ) ; pub const TPM_E_DAA_RESOURCES : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862128i32 as _ ) ; pub const TPM_E_DAA_STAGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862123i32 as _ ) ; pub const TPM_E_DAA_TPM_SETTINGS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862124i32 as _ ) ; pub const TPM_E_DAA_WRONG_W : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862121i32 as _ ) ; pub const TPM_E_DEACTIVATED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862202i32 as _ ) ; pub const TPM_E_DECRYPT_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862175i32 as _ ) ; pub const TPM_E_DEFEND_LOCK_RUNNING : :: windows :: HRESULT = :: windows :: HRESULT ( -2144860157i32 as _ ) ; pub const TPM_E_DELEGATE_ADMIN : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862131i32 as _ ) ; pub const TPM_E_DELEGATE_FAMILY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862132i32 as _ ) ; pub const TPM_E_DELEGATE_LOCK : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862133i32 as _ ) ; pub const TPM_E_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862201i32 as _ ) ; pub const TPM_E_DISABLED_CMD : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862200i32 as _ ) ; pub const TPM_E_DOING_SELFTEST : :: windows :: HRESULT = :: windows :: HRESULT ( -2144860158i32 as _ ) ; pub const TPM_E_DUPLICATE_VHANDLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861182i32 as _ ) ; pub const TPM_E_EMBEDDED_COMMAND_BLOCKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861181i32 as _ ) ; pub const TPM_E_EMBEDDED_COMMAND_UNSUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861180i32 as _ ) ; pub const TPM_E_ENCRYPT_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862176i32 as _ ) ; pub const TPM_E_ERROR_MASK : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862208i32 as _ ) ; pub const TPM_E_FAIL : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862199i32 as _ ) ; pub const TPM_E_FAILEDSELFTEST : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862180i32 as _ ) ; pub const TPM_E_FAMILYCOUNT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862144i32 as _ ) ; pub const TPM_E_INAPPROPRIATE_ENC : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862194i32 as _ ) ; pub const TPM_E_INAPPROPRIATE_SIG : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862169i32 as _ ) ; pub const TPM_E_INSTALL_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862197i32 as _ ) ; pub const TPM_E_INVALID_AUTHHANDLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862174i32 as _ ) ; pub const TPM_E_INVALID_FAMILY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862153i32 as _ ) ; pub const TPM_E_INVALID_HANDLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144861183i32 as _ ) ; pub const TPM_E_INVALID_KEYHANDLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862196i32 as _ ) ; pub const TPM_E_INVALID_KEYUSAGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862172i32 as _ ) ; pub const TPM_E_INVALID_OWNER_AUTH : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795135i32 as _ ) ; pub const TPM_E_INVALID_PCR_INFO : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862192i32 as _ ) ; pub const TPM_E_INVALID_POSTINIT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862170i32 as _ ) ; pub const TPM_E_INVALID_RESOURCE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862155i32 as _ ) ; pub const TPM_E_INVALID_STRUCTURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862141i32 as _ ) ; pub const TPM_E_IOERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862177i32 as _ ) ; pub const TPM_E_KEYNOTFOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862195i32 as _ ) ; pub const TPM_E_KEY_ALREADY_FINALIZED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795628i32 as _ ) ; pub const TPM_E_KEY_NOTSUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862150i32 as _ ) ; pub const TPM_E_KEY_NOT_AUTHENTICATED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795624i32 as _ ) ; pub const TPM_E_KEY_NOT_FINALIZED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795631i32 as _ ) ; pub const TPM_E_KEY_NOT_LOADED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795633i32 as _ ) ; pub const TPM_E_KEY_NOT_SIGNING_KEY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795622i32 as _ ) ; pub const TPM_E_KEY_OWNER_CONTROL : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862140i32 as _ ) ; pub const TPM_E_KEY_USAGE_POLICY_INVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795626i32 as _ ) ; pub const TPM_E_KEY_USAGE_POLICY_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795627i32 as _ ) ; pub const TPM_E_LOCKED_OUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795621i32 as _ ) ; pub const TPM_E_MAXNVWRITES : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862136i32 as _ ) ; pub const TPM_E_MA_AUTHORITY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862113i32 as _ ) ; pub const TPM_E_MA_DESTINATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862115i32 as _ ) ; pub const TPM_E_MA_SOURCE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862114i32 as _ ) ; pub const TPM_E_MA_TICKET_SIGNATURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862116i32 as _ ) ; pub const TPM_E_MIGRATEFAIL : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862193i32 as _ ) ; pub const TPM_E_NEEDS_SELFTEST : :: windows :: HRESULT = :: windows :: HRESULT ( -2144860159i32 as _ ) ; pub const TPM_E_NOCONTEXTSPACE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862109i32 as _ ) ; pub const TPM_E_NOOPERATOR : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862135i32 as _ ) ; pub const TPM_E_NOSPACE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862191i32 as _ ) ; pub const TPM_E_NOSRK : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862190i32 as _ ) ; pub const TPM_E_NOTFIPS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862154i32 as _ ) ; pub const TPM_E_NOTLOCAL : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862157i32 as _ ) ; pub const TPM_E_NOTRESETABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862158i32 as _ ) ; pub const TPM_E_NOTSEALED_BLOB : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862189i32 as _ ) ; pub const TPM_E_NOT_FULLWRITE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862138i32 as _ ) ; pub const TPM_E_NOT_PCR_BOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795629i32 as _ ) ; pub const TPM_E_NO_ENDORSEMENT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862173i32 as _ ) ; pub const TPM_E_NO_KEY_CERTIFICATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795632i32 as _ ) ; pub const TPM_E_NO_NV_PERMISSION : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862152i32 as _ ) ; pub const TPM_E_NO_WRAP_TRANSPORT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862161i32 as _ ) ; pub const TPM_E_OWNER_CONTROL : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862129i32 as _ ) ; pub const TPM_E_OWNER_SET : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862188i32 as _ ) ; pub const TPM_E_PCP_AUTHENTICATION_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795640i32 as _ ) ; pub const TPM_E_PCP_AUTHENTICATION_IGNORED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795639i32 as _ ) ; pub const TPM_E_PCP_BUFFER_TOO_SMALL : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795642i32 as _ ) ; pub const TPM_E_PCP_DEVICE_NOT_READY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795647i32 as _ ) ; pub const TPM_E_PCP_ERROR_MASK : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795648i32 as _ ) ; pub const TPM_E_PCP_FLAG_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795644i32 as _ ) ; pub const TPM_E_PCP_IFX_RSA_KEY_CREATION_BLOCKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795617i32 as _ ) ; pub const TPM_E_PCP_INTERNAL_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795641i32 as _ ) ; pub const TPM_E_PCP_INVALID_HANDLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795646i32 as _ ) ; pub const TPM_E_PCP_INVALID_PARAMETER : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795645i32 as _ ) ; pub const TPM_E_PCP_KEY_HANDLE_INVALIDATED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795614i32 as _ ) ; pub const TPM_E_PCP_KEY_NOT_AIK : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795623i32 as _ ) ; pub const TPM_E_PCP_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795643i32 as _ ) ; pub const TPM_E_PCP_PLATFORM_CLAIM_MAY_BE_OUTDATED : :: windows :: HRESULT = :: windows :: HRESULT ( 1076429860i32 as _ ) ; pub const TPM_E_PCP_PLATFORM_CLAIM_OUTDATED : :: windows :: HRESULT = :: windows :: HRESULT ( 1076429861i32 as _ ) ; pub const TPM_E_PCP_PLATFORM_CLAIM_REBOOT : :: windows :: HRESULT = :: windows :: HRESULT ( 1076429862i32 as _ ) ; pub const TPM_E_PCP_POLICY_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795638i32 as _ ) ; pub const TPM_E_PCP_PROFILE_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795637i32 as _ ) ; pub const TPM_E_PCP_RAW_POLICY_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795615i32 as _ ) ; pub const TPM_E_PCP_TICKET_MISSING : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795616i32 as _ ) ; pub const TPM_E_PCP_UNSUPPORTED_PSS_SALT : :: windows :: HRESULT = :: windows :: HRESULT ( 1076429859i32 as _ ) ; pub const TPM_E_PCP_VALIDATION_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795636i32 as _ ) ; pub const TPM_E_PCP_WRONG_PARENT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795634i32 as _ ) ; pub const TPM_E_PERMANENTEK : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862111i32 as _ ) ; pub const TPM_E_PER_NOWRITE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862145i32 as _ ) ; pub const TPM_E_PPI_ACPI_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795904i32 as _ ) ; pub const TPM_E_PPI_BIOS_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795902i32 as _ ) ; pub const TPM_E_PPI_BLOCKED_IN_BIOS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795900i32 as _ ) ; pub const TPM_E_PPI_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795901i32 as _ ) ; pub const TPM_E_PPI_USER_ABORT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795903i32 as _ ) ; pub const TPM_E_PROVISIONING_INCOMPLETE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795136i32 as _ ) ; pub const TPM_E_READ_ONLY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862146i32 as _ ) ; pub const TPM_E_REQUIRES_SIGN : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862151i32 as _ ) ; pub const TPM_E_RESOURCEMISSING : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862134i32 as _ ) ; pub const TPM_E_RESOURCES : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862187i32 as _ ) ; pub const TPM_E_RETRY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144860160i32 as _ ) ; pub const TPM_E_SHA_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862181i32 as _ ) ; pub const TPM_E_SHA_THREAD : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862182i32 as _ ) ; pub const TPM_E_SHORTRANDOM : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862186i32 as _ ) ; pub const TPM_E_SIZE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862185i32 as _ ) ; pub const TPM_E_SOFT_KEY_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795625i32 as _ ) ; pub const TPM_E_TOOMANYCONTEXTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862117i32 as _ ) ; pub const TPM_E_TOO_MUCH_DATA : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795134i32 as _ ) ; pub const TPM_E_TRANSPORT_NOTEXCLUSIVE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862130i32 as _ ) ; pub const TPM_E_VERSION_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795619i32 as _ ) ; pub const TPM_E_WRITE_LOCKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862143i32 as _ ) ; pub const TPM_E_WRONGPCRVAL : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862184i32 as _ ) ; pub const TPM_E_WRONG_ENTITYTYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144862171i32 as _ ) ; pub const TPM_E_ZERO_EXHAUST_ENABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144795392i32 as _ ) ; pub const TRUST_E_ACTION_UNKNOWN : :: windows :: HRESULT = :: windows :: HRESULT ( -2146762750i32 as _ ) ; pub const TRUST_E_BAD_DIGEST : :: windows :: HRESULT = :: windows :: HRESULT ( -2146869232i32 as _ ) ; pub const TRUST_E_BASIC_CONSTRAINTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146869223i32 as _ ) ; pub const TRUST_E_CERT_SIGNATURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146869244i32 as _ ) ; pub const TRUST_E_COUNTER_SIGNER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146869245i32 as _ ) ; pub const TRUST_E_EXPLICIT_DISTRUST : :: windows :: HRESULT = :: windows :: HRESULT ( -2146762479i32 as _ ) ; pub const TRUST_E_FAIL : :: windows :: HRESULT = :: windows :: HRESULT ( -2146762485i32 as _ ) ; pub const TRUST_E_FINANCIAL_CRITERIA : :: windows :: HRESULT = :: windows :: HRESULT ( -2146869218i32 as _ ) ; pub const TRUST_E_MALFORMED_SIGNATURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146869231i32 as _ ) ; pub const TRUST_E_NOSIGNATURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146762496i32 as _ ) ; pub const TRUST_E_NO_SIGNER_CERT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146869246i32 as _ ) ; pub const TRUST_E_PROVIDER_UNKNOWN : :: windows :: HRESULT = :: windows :: HRESULT ( -2146762751i32 as _ ) ; pub const TRUST_E_SUBJECT_FORM_UNKNOWN : :: windows :: HRESULT = :: windows :: HRESULT ( -2146762749i32 as _ ) ; pub const TRUST_E_SUBJECT_NOT_TRUSTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146762748i32 as _ ) ; pub const TRUST_E_SYSTEM_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2146869247i32 as _ ) ; pub const TRUST_E_TIME_STAMP : :: windows :: HRESULT = :: windows :: HRESULT ( -2146869243i32 as _ ) ; pub const TYPE_E_AMBIGUOUSNAME : :: windows :: HRESULT = :: windows :: HRESULT ( -2147319764i32 as _ ) ; pub const TYPE_E_BADMODULEKIND : :: windows :: HRESULT = :: windows :: HRESULT ( -2147317571i32 as _ ) ; pub const TYPE_E_BUFFERTOOSMALL : :: windows :: HRESULT = :: windows :: HRESULT ( -2147319786i32 as _ ) ; pub const TYPE_E_CANTCREATETMPFILE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147316573i32 as _ ) ; pub const TYPE_E_CANTLOADLIBRARY : :: windows :: HRESULT = :: windows :: HRESULT ( -2147312566i32 as _ ) ; pub const TYPE_E_CIRCULARTYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147312508i32 as _ ) ; pub const TYPE_E_DLLFUNCTIONNOTFOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2147319761i32 as _ ) ; pub const TYPE_E_DUPLICATEID : :: windows :: HRESULT = :: windows :: HRESULT ( -2147317562i32 as _ ) ; pub const TYPE_E_ELEMENTNOTFOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2147319765i32 as _ ) ; pub const TYPE_E_FIELDNOTFOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2147319785i32 as _ ) ; pub const TYPE_E_INCONSISTENTPROPFUNCS : :: windows :: HRESULT = :: windows :: HRESULT ( -2147312509i32 as _ ) ; pub const TYPE_E_INVALIDID : :: windows :: HRESULT = :: windows :: HRESULT ( -2147317553i32 as _ ) ; pub const TYPE_E_INVALIDSTATE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147319767i32 as _ ) ; pub const TYPE_E_INVDATAREAD : :: windows :: HRESULT = :: windows :: HRESULT ( -2147319784i32 as _ ) ; pub const TYPE_E_IOERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2147316574i32 as _ ) ; pub const TYPE_E_LIBNOTREGISTERED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147319779i32 as _ ) ; pub const TYPE_E_NAMECONFLICT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147319763i32 as _ ) ; pub const TYPE_E_OUTOFBOUNDS : :: windows :: HRESULT = :: windows :: HRESULT ( -2147316575i32 as _ ) ; pub const TYPE_E_QUALIFIEDNAMEDISALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147319768i32 as _ ) ; pub const TYPE_E_REGISTRYACCESS : :: windows :: HRESULT = :: windows :: HRESULT ( -2147319780i32 as _ ) ; pub const TYPE_E_SIZETOOBIG : :: windows :: HRESULT = :: windows :: HRESULT ( -2147317563i32 as _ ) ; pub const TYPE_E_TYPEMISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2147316576i32 as _ ) ; pub const TYPE_E_UNDEFINEDTYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147319769i32 as _ ) ; pub const TYPE_E_UNKNOWNLCID : :: windows :: HRESULT = :: windows :: HRESULT ( -2147319762i32 as _ ) ; pub const TYPE_E_UNSUPFORMAT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147319783i32 as _ ) ; pub const TYPE_E_WRONGTYPEKIND : :: windows :: HRESULT = :: windows :: HRESULT ( -2147319766i32 as _ ) ; pub const UCEERR_BLOCKSFULL : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303415i32 as _ ) ; pub const UCEERR_CHANNELSYNCABANDONED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303404i32 as _ ) ; pub const UCEERR_CHANNELSYNCTIMEDOUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303405i32 as _ ) ; pub const UCEERR_COMMANDTRANSPORTDENIED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303400i32 as _ ) ; pub const UCEERR_CONNECTIONIDLOOKUPFAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303416i32 as _ ) ; pub const UCEERR_CTXSTACKFRSTTARGETNULL : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303417i32 as _ ) ; pub const UCEERR_FEEDBACK_UNSUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303401i32 as _ ) ; pub const UCEERR_GRAPHICSSTREAMALREADYOPEN : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303392i32 as _ ) ; pub const UCEERR_GRAPHICSSTREAMUNAVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303399i32 as _ ) ; pub const UCEERR_HANDLELOOKUPFAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303419i32 as _ ) ; pub const UCEERR_ILLEGALHANDLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303420i32 as _ ) ; pub const UCEERR_ILLEGALPACKET : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303422i32 as _ ) ; pub const UCEERR_ILLEGALRECORDTYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303412i32 as _ ) ; pub const UCEERR_INVALIDPACKETHEADER : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303424i32 as _ ) ; pub const UCEERR_MALFORMEDPACKET : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303421i32 as _ ) ; pub const UCEERR_MEMORYFAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303414i32 as _ ) ; pub const UCEERR_MISSINGBEGINCOMMAND : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303406i32 as _ ) ; pub const UCEERR_MISSINGENDCOMMAND : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303407i32 as _ ) ; pub const UCEERR_NO_MULTIPLE_WORKER_THREADS : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303409i32 as _ ) ; pub const UCEERR_OUTOFHANDLES : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303411i32 as _ ) ; pub const UCEERR_PACKETRECORDOUTOFRANGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303413i32 as _ ) ; pub const UCEERR_PARTITION_ZOMBIED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303389i32 as _ ) ; pub const UCEERR_REMOTINGNOTSUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303408i32 as _ ) ; pub const UCEERR_RENDERTHREADFAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303418i32 as _ ) ; pub const UCEERR_TRANSPORTDISCONNECTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303391i32 as _ ) ; pub const UCEERR_TRANSPORTOVERLOADED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303390i32 as _ ) ; pub const UCEERR_TRANSPORTUNAVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303402i32 as _ ) ; pub const UCEERR_UNCHANGABLE_UPDATE_ATTEMPTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303410i32 as _ ) ; pub const UCEERR_UNKNOWNPACKET : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303423i32 as _ ) ; pub const UCEERR_UNSUPPORTEDTRANSPORTVERSION : :: windows :: HRESULT = :: windows :: HRESULT ( -2003303403i32 as _ ) ; pub const UI_E_AMBIGUOUS_MATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2144731126i32 as _ ) ; pub const UI_E_BOOLEAN_EXPECTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144731128i32 as _ ) ; pub const UI_E_CREATE_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144731135i32 as _ ) ; pub const UI_E_DIFFERENT_OWNER : :: windows :: HRESULT = :: windows :: HRESULT ( -2144731127i32 as _ ) ; pub const UI_E_END_KEYFRAME_NOT_DETERMINED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144730876i32 as _ ) ; pub const UI_E_FP_OVERFLOW : :: windows :: HRESULT = :: windows :: HRESULT ( -2144731125i32 as _ ) ; pub const UI_E_ILLEGAL_REENTRANCY : :: windows :: HRESULT = :: windows :: HRESULT ( -2144731133i32 as _ ) ; pub const UI_E_INVALID_DIMENSION : :: windows :: HRESULT = :: windows :: HRESULT ( -2144730869i32 as _ ) ; pub const UI_E_INVALID_OUTPUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2144731129i32 as _ ) ; pub const UI_E_LOOPS_OVERLAP : :: windows :: HRESULT = :: windows :: HRESULT ( -2144730875i32 as _ ) ; pub const UI_E_OBJECT_SEALED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144731132i32 as _ ) ; pub const UI_E_PRIMITIVE_OUT_OF_BOUNDS : :: windows :: HRESULT = :: windows :: HRESULT ( -2144730868i32 as _ ) ; pub const UI_E_SHUTDOWN_CALLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144731134i32 as _ ) ; pub const UI_E_START_KEYFRAME_AFTER_END : :: windows :: HRESULT = :: windows :: HRESULT ( -2144730877i32 as _ ) ; pub const UI_E_STORYBOARD_ACTIVE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144730879i32 as _ ) ; pub const UI_E_STORYBOARD_NOT_PLAYING : :: windows :: HRESULT = :: windows :: HRESULT ( -2144730878i32 as _ ) ; pub const UI_E_TIMER_CLIENT_ALREADY_CONNECTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144730870i32 as _ ) ; pub const UI_E_TIME_BEFORE_LAST_UPDATE : :: windows :: HRESULT = :: windows :: HRESULT ( -2144730871i32 as _ ) ; pub const UI_E_TRANSITION_ALREADY_USED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144730874i32 as _ ) ; pub const UI_E_TRANSITION_ECLIPSED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144730872i32 as _ ) ; pub const UI_E_TRANSITION_NOT_IN_STORYBOARD : :: windows :: HRESULT = :: windows :: HRESULT ( -2144730873i32 as _ ) ; pub const UI_E_VALUE_NOT_DETERMINED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144731130i32 as _ ) ; pub const UI_E_VALUE_NOT_SET : :: windows :: HRESULT = :: windows :: HRESULT ( -2144731131i32 as _ ) ; pub const UI_E_WINDOW_CLOSED : :: windows :: HRESULT = :: windows :: HRESULT ( -2144730623i32 as _ ) ; pub const UI_E_WRONG_THREAD : :: windows :: HRESULT = :: windows :: HRESULT ( -2144731124i32 as _ ) ; pub const UTC_E_ACTION_NOT_SUPPORTED_IN_DESTINATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128380i32 as _ ) ; pub const UTC_E_AGENT_DIAGNOSTICS_TOO_LARGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128363i32 as _ ) ; pub const UTC_E_ALTERNATIVE_TRACE_CANNOT_PREEMPT : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128446i32 as _ ) ; pub const UTC_E_AOT_NOT_RUNNING : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128445i32 as _ ) ; pub const UTC_E_API_BUSY : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128405i32 as _ ) ; pub const UTC_E_API_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128388i32 as _ ) ; pub const UTC_E_API_RESULT_UNAVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128408i32 as _ ) ; pub const UTC_E_BINARY_MISSING : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128396i32 as _ ) ; pub const UTC_E_CANNOT_LOAD_SCENARIO_EDITOR_XML : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128417i32 as _ ) ; pub const UTC_E_CERT_REV_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128385i32 as _ ) ; pub const UTC_E_CHILD_PROCESS_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128419i32 as _ ) ; pub const UTC_E_COMMAND_LINE_NOT_AUTHORIZED : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128418i32 as _ ) ; pub const UTC_E_DELAY_TERMINATED : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128411i32 as _ ) ; pub const UTC_E_DEVICE_TICKET_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128410i32 as _ ) ; pub const UTC_E_DIAGRULES_SCHEMAVERSION_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128438i32 as _ ) ; pub const UTC_E_ESCALATION_ALREADY_RUNNING : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128433i32 as _ ) ; pub const UTC_E_ESCALATION_CANCELLED_AT_SHUTDOWN : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128358i32 as _ ) ; pub const UTC_E_ESCALATION_DIRECTORY_ALREADY_EXISTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128401i32 as _ ) ; pub const UTC_E_ESCALATION_NOT_AUTHORIZED : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128421i32 as _ ) ; pub const UTC_E_ESCALATION_TIMED_OUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128416i32 as _ ) ; pub const UTC_E_EVENTLOG_ENTRY_MALFORMED : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128439i32 as _ ) ; pub const UTC_E_EXCLUSIVITY_NOT_AVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128403i32 as _ ) ; pub const UTC_E_EXE_TERMINATED : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128422i32 as _ ) ; pub const UTC_E_FAILED_TO_RECEIVE_AGENT_DIAGNOSTICS : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128362i32 as _ ) ; pub const UTC_E_FAILED_TO_RESOLVE_CONTAINER_ID : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128394i32 as _ ) ; pub const UTC_E_FAILED_TO_START_NDISCAP : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128384i32 as _ ) ; pub const UTC_E_FILTER_FUNCTION_RESTRICTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128376i32 as _ ) ; pub const UTC_E_FILTER_ILLEGAL_EVAL : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128365i32 as _ ) ; pub const UTC_E_FILTER_INVALID_COMMAND : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128366i32 as _ ) ; pub const UTC_E_FILTER_INVALID_FUNCTION : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128368i32 as _ ) ; pub const UTC_E_FILTER_INVALID_FUNCTION_PARAMS : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128367i32 as _ ) ; pub const UTC_E_FILTER_INVALID_TYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128378i32 as _ ) ; pub const UTC_E_FILTER_MISSING_ATTRIBUTE : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128379i32 as _ ) ; pub const UTC_E_FILTER_VARIABLE_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128377i32 as _ ) ; pub const UTC_E_FILTER_VERSION_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128375i32 as _ ) ; pub const UTC_E_FORWARDER_ALREADY_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128440i32 as _ ) ; pub const UTC_E_FORWARDER_ALREADY_ENABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128441i32 as _ ) ; pub const UTC_E_FORWARDER_PRODUCER_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128430i32 as _ ) ; pub const UTC_E_GETFILEINFOACTION_FILE_NOT_APPROVED : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128357i32 as _ ) ; pub const UTC_E_GETFILE_EXTERNAL_PATH_NOT_APPROVED : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128387i32 as _ ) ; pub const UTC_E_GETFILE_FILE_PATH_NOT_APPROVED : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128402i32 as _ ) ; pub const UTC_E_INSUFFICIENT_SPACE_TO_START_TRACE : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128359i32 as _ ) ; pub const UTC_E_INTENTIONAL_SCRIPT_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128429i32 as _ ) ; pub const UTC_E_INVALID_AGGREGATION_STRUCT : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128381i32 as _ ) ; pub const UTC_E_INVALID_CUSTOM_FILTER : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128436i32 as _ ) ; pub const UTC_E_INVALID_FILTER : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128423i32 as _ ) ; pub const UTC_E_KERNELDUMP_LIMIT_REACHED : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128383i32 as _ ) ; pub const UTC_E_MISSING_AGGREGATE_EVENT_TAG : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128382i32 as _ ) ; pub const UTC_E_MULTIPLE_TIME_TRIGGER_ON_SINGLE_STATE : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128397i32 as _ ) ; pub const UTC_E_NO_WER_LOGGER_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128427i32 as _ ) ; pub const UTC_E_PERFTRACK_ALREADY_TRACING : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128432i32 as _ ) ; pub const UTC_E_REACHED_MAX_ESCALATIONS : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128431i32 as _ ) ; pub const UTC_E_REESCALATED_TOO_QUICKLY : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128434i32 as _ ) ; pub const UTC_E_RPC_TIMEOUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128407i32 as _ ) ; pub const UTC_E_RPC_WAIT_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128406i32 as _ ) ; pub const UTC_E_SCENARIODEF_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128443i32 as _ ) ; pub const UTC_E_SCENARIODEF_SCHEMAVERSION_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128424i32 as _ ) ; pub const UTC_E_SCENARIO_HAS_NO_ACTIONS : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128361i32 as _ ) ; pub const UTC_E_SCENARIO_THROTTLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128389i32 as _ ) ; pub const UTC_E_SCRIPT_MISSING : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128390i32 as _ ) ; pub const UTC_E_SCRIPT_TERMINATED : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128437i32 as _ ) ; pub const UTC_E_SCRIPT_TYPE_INVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128444i32 as _ ) ; pub const UTC_E_SETREGKEYACTION_TYPE_NOT_APPROVED : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128356i32 as _ ) ; pub const UTC_E_SETUP_NOT_AUTHORIZED : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128420i32 as _ ) ; pub const UTC_E_SETUP_TIMED_OUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128415i32 as _ ) ; pub const UTC_E_SIF_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128412i32 as _ ) ; pub const UTC_E_SQM_INIT_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128428i32 as _ ) ; pub const UTC_E_THROTTLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128392i32 as _ ) ; pub const UTC_E_TIME_TRIGGER_INVALID_TIME_RANGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128398i32 as _ ) ; pub const UTC_E_TIME_TRIGGER_ONLY_VALID_ON_SINGLE_TRANSITION : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128399i32 as _ ) ; pub const UTC_E_TIME_TRIGGER_ON_START_INVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128400i32 as _ ) ; pub const UTC_E_TOGGLE_TRACE_STARTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128447i32 as _ ) ; pub const UTC_E_TRACEPROFILE_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128442i32 as _ ) ; pub const UTC_E_TRACERS_DONT_EXIST : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128426i32 as _ ) ; pub const UTC_E_TRACE_BUFFER_LIMIT_EXCEEDED : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128409i32 as _ ) ; pub const UTC_E_TRACE_MIN_DURATION_REQUIREMENT_NOT_MET : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128404i32 as _ ) ; pub const UTC_E_TRACE_NOT_RUNNING : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128435i32 as _ ) ; pub const UTC_E_TRIGGER_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128414i32 as _ ) ; pub const UTC_E_TRIGGER_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128413i32 as _ ) ; pub const UTC_E_TRY_GET_SCENARIO_TIMEOUT_EXCEEDED : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128386i32 as _ ) ; pub const UTC_E_TTTRACER_RETURNED_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128364i32 as _ ) ; pub const UTC_E_TTTRACER_STORAGE_FULL : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128360i32 as _ ) ; pub const UTC_E_UNABLE_TO_RESOLVE_SESSION : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128393i32 as _ ) ; pub const UTC_E_UNAPPROVED_SCRIPT : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128391i32 as _ ) ; pub const UTC_E_WINRT_INIT_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2017128425i32 as _ ) ; pub const VIEW_E_DRAW : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221184i32 as _ ) ; pub const VIEW_E_FIRST : i32 = -2147221184i32 ; pub const VIEW_E_LAST : i32 = -2147221169i32 ; pub const VIEW_S_ALREADY_FROZEN : :: windows :: HRESULT = :: windows :: HRESULT ( 262464i32 as _ ) ; pub const VIEW_S_FIRST : i32 = 262464i32 ; pub const VIEW_S_LAST : i32 = 262479i32 ; pub const VM_SAVED_STATE_DUMP_E_GUEST_MEMORY_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -1070136063i32 as _ ) ; pub const VM_SAVED_STATE_DUMP_E_NESTED_VIRTUALIZATION_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -1070136061i32 as _ ) ; pub const VM_SAVED_STATE_DUMP_E_NO_VP_FOUND_IN_PARTITION_STATE : :: windows :: HRESULT = :: windows :: HRESULT ( -1070136062i32 as _ ) ; pub const VM_SAVED_STATE_DUMP_E_PARTITION_STATE_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -1070136064i32 as _ ) ; pub const VM_SAVED_STATE_DUMP_E_PDE_NOT_PRESENT : :: windows :: HRESULT = :: windows :: HRESULT ( -1070136057i32 as _ ) ; pub const VM_SAVED_STATE_DUMP_E_PDPTE_NOT_PRESENT : :: windows :: HRESULT = :: windows :: HRESULT ( -1070136058i32 as _ ) ; pub const VM_SAVED_STATE_DUMP_E_PTE_NOT_PRESENT : :: windows :: HRESULT = :: windows :: HRESULT ( -1070136056i32 as _ ) ; pub const VM_SAVED_STATE_DUMP_E_PXE_NOT_PRESENT : :: windows :: HRESULT = :: windows :: HRESULT ( -1070136059i32 as _ ) ; pub const VM_SAVED_STATE_DUMP_E_WINDOWS_KERNEL_IMAGE_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -1070136060i32 as _ ) ; pub const WARNING_IPSEC_MM_POLICY_PRUNED : i32 = 13024i32 ; pub const WARNING_IPSEC_QM_POLICY_PRUNED : i32 = 13025i32 ; pub const WEB_E_INVALID_JSON_NUMBER : :: windows :: HRESULT = :: windows :: HRESULT ( -2089484280i32 as _ ) ; pub const WEB_E_INVALID_JSON_STRING : :: windows :: HRESULT = :: windows :: HRESULT ( -2089484281i32 as _ ) ; pub const WEB_E_INVALID_XML : :: windows :: HRESULT = :: windows :: HRESULT ( -2089484286i32 as _ ) ; pub const WEB_E_JSON_VALUE_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2089484279i32 as _ ) ; pub const WEB_E_MISSING_REQUIRED_ATTRIBUTE : :: windows :: HRESULT = :: windows :: HRESULT ( -2089484284i32 as _ ) ; pub const WEB_E_MISSING_REQUIRED_ELEMENT : :: windows :: HRESULT = :: windows :: HRESULT ( -2089484285i32 as _ ) ; pub const WEB_E_RESOURCE_TOO_LARGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2089484282i32 as _ ) ; pub const WEB_E_UNEXPECTED_CONTENT : :: windows :: HRESULT = :: windows :: HRESULT ( -2089484283i32 as _ ) ; pub const WEB_E_UNSUPPORTED_FORMAT : :: windows :: HRESULT = :: windows :: HRESULT ( -2089484287i32 as _ ) ; pub const WEP_E_BUFFER_TOO_LARGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2013200375i32 as _ ) ; pub const WEP_E_FIXED_DATA_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2013200382i32 as _ ) ; pub const WEP_E_HARDWARE_NOT_COMPLIANT : :: windows :: HRESULT = :: windows :: HRESULT ( -2013200381i32 as _ ) ; pub const WEP_E_LOCK_NOT_CONFIGURED : :: windows :: HRESULT = :: windows :: HRESULT ( -2013200380i32 as _ ) ; pub const WEP_E_NOT_PROVISIONED_ON_ALL_VOLUMES : :: windows :: HRESULT = :: windows :: HRESULT ( -2013200383i32 as _ ) ; pub const WEP_E_NO_LICENSE : :: windows :: HRESULT = :: windows :: HRESULT ( -2013200378i32 as _ ) ; pub const WEP_E_OS_NOT_PROTECTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2013200377i32 as _ ) ; pub const WEP_E_PROTECTION_SUSPENDED : :: windows :: HRESULT = :: windows :: HRESULT ( -2013200379i32 as _ ) ; pub const WEP_E_UNEXPECTED_FAIL : :: windows :: HRESULT = :: windows :: HRESULT ( -2013200376i32 as _ ) ; pub const WER_E_ALREADY_REPORTING : :: windows :: HRESULT = :: windows :: HRESULT ( -2145681404i32 as _ ) ; pub const WER_E_CANCELED : :: windows :: HRESULT = :: windows :: HRESULT ( -2145681407i32 as _ ) ; pub const WER_E_CRASH_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2145681408i32 as _ ) ; pub const WER_E_DUMP_THROTTLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2145681403i32 as _ ) ; pub const WER_E_INSUFFICIENT_CONSENT : :: windows :: HRESULT = :: windows :: HRESULT ( -2145681402i32 as _ ) ; pub const WER_E_NETWORK_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2145681406i32 as _ ) ; pub const WER_E_NOT_INITIALIZED : :: windows :: HRESULT = :: windows :: HRESULT ( -2145681405i32 as _ ) ; pub const WER_E_TOO_HEAVY : :: windows :: HRESULT = :: windows :: HRESULT ( -2145681401i32 as _ ) ; pub const WER_S_ASSERT_CONTINUE : :: windows :: HRESULT = :: windows :: HRESULT ( 1769482i32 as _ ) ; pub const WER_S_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( 1769475i32 as _ ) ; pub const WER_S_DISABLED_ARCHIVE : :: windows :: HRESULT = :: windows :: HRESULT ( 1769478i32 as _ ) ; pub const WER_S_DISABLED_QUEUE : :: windows :: HRESULT = :: windows :: HRESULT ( 1769477i32 as _ ) ; pub const WER_S_IGNORE_ALL_ASSERTS : :: windows :: HRESULT = :: windows :: HRESULT ( 1769481i32 as _ ) ; pub const WER_S_IGNORE_ASSERT_INSTANCE : :: windows :: HRESULT = :: windows :: HRESULT ( 1769480i32 as _ ) ; pub const WER_S_REPORT_ASYNC : :: windows :: HRESULT = :: windows :: HRESULT ( 1769479i32 as _ ) ; pub const WER_S_REPORT_DEBUG : :: windows :: HRESULT = :: windows :: HRESULT ( 1769472i32 as _ ) ; pub const WER_S_REPORT_QUEUED : :: windows :: HRESULT = :: windows :: HRESULT ( 1769474i32 as _ ) ; pub const WER_S_REPORT_UPLOADED : :: windows :: HRESULT = :: windows :: HRESULT ( 1769473i32 as _ ) ; pub const WER_S_REPORT_UPLOADED_CAB : :: windows :: HRESULT = :: windows :: HRESULT ( 1769484i32 as _ ) ; pub const WER_S_SUSPENDED_UPLOAD : :: windows :: HRESULT = :: windows :: HRESULT ( 1769476i32 as _ ) ; pub const WER_S_THROTTLED : :: windows :: HRESULT = :: windows :: HRESULT ( 1769483i32 as _ ) ; pub const WHV_E_GPA_RANGE_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878395i32 as _ ) ; pub const WHV_E_INSUFFICIENT_BUFFER : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878399i32 as _ ) ; pub const WHV_E_INVALID_PARTITION_CONFIG : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878396i32 as _ ) ; pub const WHV_E_INVALID_VP_REGISTER_NAME : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878391i32 as _ ) ; pub const WHV_E_INVALID_VP_STATE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878392i32 as _ ) ; pub const WHV_E_UNKNOWN_CAPABILITY : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878400i32 as _ ) ; pub const WHV_E_UNKNOWN_PROPERTY : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878398i32 as _ ) ; pub const WHV_E_UNSUPPORTED_HYPERVISOR_CONFIG : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878397i32 as _ ) ; pub const WHV_E_UNSUPPORTED_PROCESSOR_CONFIG : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878384i32 as _ ) ; pub const WHV_E_VP_ALREADY_EXISTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878394i32 as _ ) ; pub const WHV_E_VP_DOES_NOT_EXIST : :: windows :: HRESULT = :: windows :: HRESULT ( -2143878393i32 as _ ) ; pub const WINCODEC_ERR_ALREADYLOCKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292403i32 as _ ) ; pub const WINCODEC_ERR_BADHEADER : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292319i32 as _ ) ; pub const WINCODEC_ERR_BADIMAGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292320i32 as _ ) ; pub const WINCODEC_ERR_BADMETADATAHEADER : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292317i32 as _ ) ; pub const WINCODEC_ERR_BADSTREAMDATA : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292304i32 as _ ) ; pub const WINCODEC_ERR_CODECNOTHUMBNAIL : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292348i32 as _ ) ; pub const WINCODEC_ERR_CODECPRESENT : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292349i32 as _ ) ; pub const WINCODEC_ERR_CODECTOOMANYSCANLINES : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292346i32 as _ ) ; pub const WINCODEC_ERR_COMPONENTINITIALIZEFAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292277i32 as _ ) ; pub const WINCODEC_ERR_COMPONENTNOTFOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292336i32 as _ ) ; pub const WINCODEC_ERR_DUPLICATEMETADATAPRESENT : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292275i32 as _ ) ; pub const WINCODEC_ERR_FRAMEMISSING : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292318i32 as _ ) ; pub const WINCODEC_ERR_IMAGESIZEOUTOFRANGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292335i32 as _ ) ; pub const WINCODEC_ERR_INSUFFICIENTBUFFER : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292276i32 as _ ) ; pub const WINCODEC_ERR_INTERNALERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292344i32 as _ ) ; pub const WINCODEC_ERR_INVALIDJPEGSCANINDEX : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292266i32 as _ ) ; pub const WINCODEC_ERR_INVALIDPROGRESSIVELEVEL : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292267i32 as _ ) ; pub const WINCODEC_ERR_INVALIDQUERYCHARACTER : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292269i32 as _ ) ; pub const WINCODEC_ERR_INVALIDQUERYREQUEST : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292272i32 as _ ) ; pub const WINCODEC_ERR_INVALIDREGISTRATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292278i32 as _ ) ; pub const WINCODEC_ERR_NOTINITIALIZED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292404i32 as _ ) ; pub const WINCODEC_ERR_PALETTEUNAVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292347i32 as _ ) ; pub const WINCODEC_ERR_PROPERTYNOTFOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292352i32 as _ ) ; pub const WINCODEC_ERR_PROPERTYNOTSUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292351i32 as _ ) ; pub const WINCODEC_ERR_PROPERTYSIZE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292350i32 as _ ) ; pub const WINCODEC_ERR_PROPERTYUNEXPECTEDTYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292274i32 as _ ) ; pub const WINCODEC_ERR_REQUESTONLYVALIDATMETADATAROOT : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292270i32 as _ ) ; pub const WINCODEC_ERR_SOURCERECTDOESNOTMATCHDIMENSIONS : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292343i32 as _ ) ; pub const WINCODEC_ERR_STREAMNOTAVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292301i32 as _ ) ; pub const WINCODEC_ERR_STREAMREAD : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292302i32 as _ ) ; pub const WINCODEC_ERR_STREAMWRITE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292303i32 as _ ) ; pub const WINCODEC_ERR_TOOMUCHMETADATA : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292334i32 as _ ) ; pub const WINCODEC_ERR_UNEXPECTEDMETADATATYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292271i32 as _ ) ; pub const WINCODEC_ERR_UNEXPECTEDSIZE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292273i32 as _ ) ; pub const WINCODEC_ERR_UNKNOWNIMAGEFORMAT : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292409i32 as _ ) ; pub const WINCODEC_ERR_UNSUPPORTEDOPERATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292287i32 as _ ) ; pub const WINCODEC_ERR_UNSUPPORTEDPIXELFORMAT : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292288i32 as _ ) ; pub const WINCODEC_ERR_UNSUPPORTEDVERSION : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292405i32 as _ ) ; pub const WINCODEC_ERR_VALUEOUTOFRANGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292411i32 as _ ) ; pub const WINCODEC_ERR_WIN32ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292268i32 as _ ) ; pub const WINCODEC_ERR_WRONGSTATE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003292412i32 as _ ) ; pub const WININET_E_ASYNC_THREAD_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012849i32 as _ ) ; pub const WININET_E_BAD_AUTO_PROXY_SCRIPT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012730i32 as _ ) ; pub const WININET_E_BAD_OPTION_LENGTH : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012886i32 as _ ) ; pub const WININET_E_BAD_REGISTRY_PARAMETER : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012874i32 as _ ) ; pub const WININET_E_CANNOT_CONNECT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012867i32 as _ ) ; pub const WININET_E_CHG_POST_IS_NON_SECURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012854i32 as _ ) ; pub const WININET_E_CLIENT_AUTH_CERT_NEEDED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012852i32 as _ ) ; pub const WININET_E_CLIENT_AUTH_NOT_SETUP : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012850i32 as _ ) ; pub const WININET_E_CONNECTION_ABORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012866i32 as _ ) ; pub const WININET_E_CONNECTION_RESET : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012865i32 as _ ) ; pub const WININET_E_COOKIE_DECLINED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012734i32 as _ ) ; pub const WININET_E_COOKIE_NEEDS_CONFIRMATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012735i32 as _ ) ; pub const WININET_E_DECODING_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012721i32 as _ ) ; pub const WININET_E_DIALOG_PENDING : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012847i32 as _ ) ; pub const WININET_E_DISCONNECTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012733i32 as _ ) ; pub const WININET_E_DOWNLEVEL_SERVER : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012745i32 as _ ) ; pub const WININET_E_EXTENDED_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012893i32 as _ ) ; pub const WININET_E_FAILED_DUETOSECURITYCHECK : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012725i32 as _ ) ; pub const WININET_E_FORCE_RETRY : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012864i32 as _ ) ; pub const WININET_E_HANDLE_EXISTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012860i32 as _ ) ; pub const WININET_E_HEADER_ALREADY_EXISTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012741i32 as _ ) ; pub const WININET_E_HEADER_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012746i32 as _ ) ; pub const WININET_E_HTTPS_HTTP_SUBMIT_REDIR : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012844i32 as _ ) ; pub const WININET_E_HTTPS_TO_HTTP_ON_REDIR : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012856i32 as _ ) ; pub const WININET_E_HTTP_TO_HTTPS_ON_REDIR : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012857i32 as _ ) ; pub const WININET_E_INCORRECT_FORMAT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012869i32 as _ ) ; pub const WININET_E_INCORRECT_HANDLE_STATE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012877i32 as _ ) ; pub const WININET_E_INCORRECT_HANDLE_TYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012878i32 as _ ) ; pub const WININET_E_INCORRECT_PASSWORD : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012882i32 as _ ) ; pub const WININET_E_INCORRECT_USER_NAME : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012883i32 as _ ) ; pub const WININET_E_INTERNAL_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012892i32 as _ ) ; pub const WININET_E_INVALID_CA : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012851i32 as _ ) ; pub const WININET_E_INVALID_HEADER : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012743i32 as _ ) ; pub const WININET_E_INVALID_OPERATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012880i32 as _ ) ; pub const WININET_E_INVALID_OPTION : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012887i32 as _ ) ; pub const WININET_E_INVALID_PROXY_REQUEST : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012863i32 as _ ) ; pub const WININET_E_INVALID_QUERY_REQUEST : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012742i32 as _ ) ; pub const WININET_E_INVALID_SERVER_RESPONSE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012744i32 as _ ) ; pub const WININET_E_INVALID_URL : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012891i32 as _ ) ; pub const WININET_E_ITEM_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012868i32 as _ ) ; pub const WININET_E_LOGIN_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012881i32 as _ ) ; pub const WININET_E_LOGIN_FAILURE_DISPLAY_ENTITY_BODY : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012722i32 as _ ) ; pub const WININET_E_MIXED_SECURITY : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012855i32 as _ ) ; pub const WININET_E_NAME_NOT_RESOLVED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012889i32 as _ ) ; pub const WININET_E_NEED_UI : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012862i32 as _ ) ; pub const WININET_E_NOT_INITIALIZED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012724i32 as _ ) ; pub const WININET_E_NOT_PROXY_REQUEST : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012876i32 as _ ) ; pub const WININET_E_NOT_REDIRECTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012736i32 as _ ) ; pub const WININET_E_NO_CALLBACK : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012871i32 as _ ) ; pub const WININET_E_NO_CONTEXT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012872i32 as _ ) ; pub const WININET_E_NO_DIRECT_ACCESS : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012873i32 as _ ) ; pub const WININET_E_NO_NEW_CONTAINERS : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012845i32 as _ ) ; pub const WININET_E_OPERATION_CANCELLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012879i32 as _ ) ; pub const WININET_E_OPTION_NOT_SETTABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012885i32 as _ ) ; pub const WININET_E_OUT_OF_HANDLES : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012895i32 as _ ) ; pub const WININET_E_POST_IS_NON_SECURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012853i32 as _ ) ; pub const WININET_E_PROTOCOL_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012888i32 as _ ) ; pub const WININET_E_PROXY_SERVER_UNREACHABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012731i32 as _ ) ; pub const WININET_E_REDIRECT_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012740i32 as _ ) ; pub const WININET_E_REDIRECT_NEEDS_CONFIRMATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012728i32 as _ ) ; pub const WININET_E_REDIRECT_SCHEME_CHANGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012848i32 as _ ) ; pub const WININET_E_REGISTRY_VALUE_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012875i32 as _ ) ; pub const WININET_E_REQUEST_PENDING : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012870i32 as _ ) ; pub const WININET_E_RETRY_DIALOG : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012846i32 as _ ) ; pub const WININET_E_SECURITY_CHANNEL_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012739i32 as _ ) ; pub const WININET_E_SEC_CERT_CN_INVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012858i32 as _ ) ; pub const WININET_E_SEC_CERT_DATE_INVALID : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012859i32 as _ ) ; pub const WININET_E_SEC_CERT_ERRORS : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012841i32 as _ ) ; pub const WININET_E_SEC_CERT_REVOKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012726i32 as _ ) ; pub const WININET_E_SEC_CERT_REV_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012839i32 as _ ) ; pub const WININET_E_SEC_INVALID_CERT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012727i32 as _ ) ; pub const WININET_E_SERVER_UNREACHABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012732i32 as _ ) ; pub const WININET_E_SHUTDOWN : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012884i32 as _ ) ; pub const WININET_E_TCPIP_NOT_INSTALLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012737i32 as _ ) ; pub const WININET_E_TIMEOUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012894i32 as _ ) ; pub const WININET_E_UNABLE_TO_CACHE_FILE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012738i32 as _ ) ; pub const WININET_E_UNABLE_TO_DOWNLOAD_SCRIPT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012729i32 as _ ) ; pub const WININET_E_UNRECOGNIZED_SCHEME : :: windows :: HRESULT = :: windows :: HRESULT ( -2147012890i32 as _ ) ; pub const WINML_ERR_INVALID_BINDING : :: windows :: HRESULT = :: windows :: HRESULT ( -2003828734i32 as _ ) ; pub const WINML_ERR_INVALID_DEVICE : :: windows :: HRESULT = :: windows :: HRESULT ( -2003828735i32 as _ ) ; pub const WINML_ERR_SIZE_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2003828732i32 as _ ) ; pub const WINML_ERR_VALUE_NOTFOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2003828733i32 as _ ) ; pub const WINVER : u32 = 1280u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( transparent ) ] pub struct WPARAM ( pub usize ) ; impl WPARAM { } impl :: std :: default :: Default for WPARAM { fn default ( ) -> Self { Self ( 0 ) } } impl WPARAM { pub const NULL : Self = Self ( 0 ) ; pub fn is_null ( & self ) -> bool { self . 0 == 0 } } impl :: std :: fmt :: Debug for WPARAM { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "WPARAM" ) . field ( "Value" , & self .0 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for WPARAM { fn eq ( & self , other : & Self ) -> bool { self .0 == other .0 } } impl :: std :: cmp :: Eq for WPARAM { } unsafe impl :: windows :: Abi for WPARAM { type Abi = Self ; type DefaultType = Self ; } pub const WPN_E_ACCESS_DENIED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143420137i32 as _ ) ; pub const WPN_E_ALL_URL_NOT_COMPLETED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143419901i32 as _ ) ; pub const WPN_E_CALLBACK_ALREADY_REGISTERED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143419898i32 as _ ) ; pub const WPN_E_CHANNEL_CLOSED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143420160i32 as _ ) ; pub const WPN_E_CHANNEL_REQUEST_NOT_COMPLETE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143420159i32 as _ ) ; pub const WPN_E_CLOUD_AUTH_UNAVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143420134i32 as _ ) ; pub const WPN_E_CLOUD_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143420151i32 as _ ) ; pub const WPN_E_CLOUD_DISABLED_FOR_APP : :: windows :: HRESULT = :: windows :: HRESULT ( -2143419893i32 as _ ) ; pub const WPN_E_CLOUD_INCAPABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143420144i32 as _ ) ; pub const WPN_E_CLOUD_SERVICE_UNAVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143420133i32 as _ ) ; pub const WPN_E_DEV_ID_SIZE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143420128i32 as _ ) ; pub const WPN_E_DUPLICATE_CHANNEL : :: windows :: HRESULT = :: windows :: HRESULT ( -2143420156i32 as _ ) ; pub const WPN_E_DUPLICATE_REGISTRATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2143420136i32 as _ ) ; pub const WPN_E_FAILED_LOCK_SCREEN_UPDATE_INTIALIZATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2143420132i32 as _ ) ; pub const WPN_E_GROUP_ALPHANUMERIC : :: windows :: HRESULT = :: windows :: HRESULT ( -2143419894i32 as _ ) ; pub const WPN_E_GROUP_SIZE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143419895i32 as _ ) ; pub const WPN_E_IMAGE_NOT_FOUND_IN_CACHE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143419902i32 as _ ) ; pub const WPN_E_INTERNET_INCAPABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143420141i32 as _ ) ; pub const WPN_E_INVALID_APP : :: windows :: HRESULT = :: windows :: HRESULT ( -2143420158i32 as _ ) ; pub const WPN_E_INVALID_CLOUD_IMAGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143419900i32 as _ ) ; pub const WPN_E_INVALID_HTTP_STATUS_CODE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143420117i32 as _ ) ; pub const WPN_E_NOTIFICATION_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143420143i32 as _ ) ; pub const WPN_E_NOTIFICATION_HIDDEN : :: windows :: HRESULT = :: windows :: HRESULT ( -2143420153i32 as _ ) ; pub const WPN_E_NOTIFICATION_ID_MATCHED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143419899i32 as _ ) ; pub const WPN_E_NOTIFICATION_INCAPABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143420142i32 as _ ) ; pub const WPN_E_NOTIFICATION_NOT_POSTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143420152i32 as _ ) ; pub const WPN_E_NOTIFICATION_POSTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143420154i32 as _ ) ; pub const WPN_E_NOTIFICATION_SIZE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143420139i32 as _ ) ; pub const WPN_E_NOTIFICATION_TYPE_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143420140i32 as _ ) ; pub const WPN_E_OUTSTANDING_CHANNEL_REQUEST : :: windows :: HRESULT = :: windows :: HRESULT ( -2143420157i32 as _ ) ; pub const WPN_E_OUT_OF_SESSION : :: windows :: HRESULT = :: windows :: HRESULT ( -2143419904i32 as _ ) ; pub const WPN_E_PLATFORM_UNAVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143420155i32 as _ ) ; pub const WPN_E_POWER_SAVE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143419903i32 as _ ) ; pub const WPN_E_PUSH_NOTIFICATION_INCAPABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143420135i32 as _ ) ; pub const WPN_E_STORAGE_LOCKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143419896i32 as _ ) ; pub const WPN_E_TAG_ALPHANUMERIC : :: windows :: HRESULT = :: windows :: HRESULT ( -2143420118i32 as _ ) ; pub const WPN_E_TAG_SIZE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143420138i32 as _ ) ; pub const WPN_E_TOAST_NOTIFICATION_DROPPED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143419897i32 as _ ) ; pub const WS_E_ADDRESS_IN_USE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485941i32 as _ ) ; pub const WS_E_ADDRESS_NOT_AVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485940i32 as _ ) ; pub const WS_E_ENDPOINT_ACCESS_DENIED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485947i32 as _ ) ; pub const WS_E_ENDPOINT_ACTION_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485935i32 as _ ) ; pub const WS_E_ENDPOINT_DISCONNECTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485932i32 as _ ) ; pub const WS_E_ENDPOINT_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485937i32 as _ ) ; pub const WS_E_ENDPOINT_FAULT_RECEIVED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485933i32 as _ ) ; pub const WS_E_ENDPOINT_NOT_AVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485938i32 as _ ) ; pub const WS_E_ENDPOINT_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485939i32 as _ ) ; pub const WS_E_ENDPOINT_TOO_BUSY : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485934i32 as _ ) ; pub const WS_E_ENDPOINT_UNREACHABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485936i32 as _ ) ; pub const WS_E_INVALID_ENDPOINT_URL : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485920i32 as _ ) ; pub const WS_E_INVALID_FORMAT : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485952i32 as _ ) ; pub const WS_E_INVALID_OPERATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485949i32 as _ ) ; pub const WS_E_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485929i32 as _ ) ; pub const WS_E_NO_TRANSLATION_AVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485943i32 as _ ) ; pub const WS_E_NUMERIC_OVERFLOW : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485950i32 as _ ) ; pub const WS_E_OBJECT_FAULTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485951i32 as _ ) ; pub const WS_E_OPERATION_ABANDONED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485945i32 as _ ) ; pub const WS_E_OPERATION_ABORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485948i32 as _ ) ; pub const WS_E_OPERATION_TIMED_OUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485946i32 as _ ) ; pub const WS_E_OTHER : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485919i32 as _ ) ; pub const WS_E_PROXY_ACCESS_DENIED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485930i32 as _ ) ; pub const WS_E_PROXY_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485931i32 as _ ) ; pub const WS_E_PROXY_REQUIRES_BASIC_AUTH : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485928i32 as _ ) ; pub const WS_E_PROXY_REQUIRES_DIGEST_AUTH : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485927i32 as _ ) ; pub const WS_E_PROXY_REQUIRES_NEGOTIATE_AUTH : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485925i32 as _ ) ; pub const WS_E_PROXY_REQUIRES_NTLM_AUTH : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485926i32 as _ ) ; pub const WS_E_QUOTA_EXCEEDED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485944i32 as _ ) ; pub const WS_E_SECURITY_SYSTEM_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485917i32 as _ ) ; pub const WS_E_SECURITY_TOKEN_EXPIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485918i32 as _ ) ; pub const WS_E_SECURITY_VERIFICATION_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485942i32 as _ ) ; pub const WS_E_SERVER_REQUIRES_BASIC_AUTH : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485924i32 as _ ) ; pub const WS_E_SERVER_REQUIRES_DIGEST_AUTH : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485923i32 as _ ) ; pub const WS_E_SERVER_REQUIRES_NEGOTIATE_AUTH : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485921i32 as _ ) ; pub const WS_E_SERVER_REQUIRES_NTLM_AUTH : :: windows :: HRESULT = :: windows :: HRESULT ( -2143485922i32 as _ ) ; pub const WS_S_ASYNC : :: windows :: HRESULT = :: windows :: HRESULT ( 3997696i32 as _ ) ; pub const WS_S_END : :: windows :: HRESULT = :: windows :: HRESULT ( 3997697i32 as _ ) ; pub const XACT_E_ABORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168231i32 as _ ) ; pub const XACT_E_ABORTING : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168215i32 as _ ) ; pub const XACT_E_ALREADYINPROGRESS : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168232i32 as _ ) ; pub const XACT_E_ALREADYOTHERSINGLEPHASE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168256i32 as _ ) ; pub const XACT_E_CANTRETAIN : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168255i32 as _ ) ; pub const XACT_E_CLERKEXISTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168127i32 as _ ) ; pub const XACT_E_CLERKNOTFOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168128i32 as _ ) ; pub const XACT_E_COMMITFAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168254i32 as _ ) ; pub const XACT_E_COMMITPREVENTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168253i32 as _ ) ; pub const XACT_E_CONNECTION_DENIED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168227i32 as _ ) ; pub const XACT_E_CONNECTION_DOWN : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168228i32 as _ ) ; pub const XACT_E_DEST_TMNOTAVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168222i32 as _ ) ; pub const XACT_E_FIRST : u32 = 2147799040u32 ; pub const XACT_E_HEURISTICABORT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168252i32 as _ ) ; pub const XACT_E_HEURISTICCOMMIT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168251i32 as _ ) ; pub const XACT_E_HEURISTICDAMAGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168250i32 as _ ) ; pub const XACT_E_HEURISTICDANGER : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168249i32 as _ ) ; pub const XACT_E_INDOUBT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168234i32 as _ ) ; pub const XACT_E_INVALIDCOOKIE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168235i32 as _ ) ; pub const XACT_E_INVALIDLSN : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168124i32 as _ ) ; pub const XACT_E_ISOLATIONLEVEL : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168248i32 as _ ) ; pub const XACT_E_LAST : u32 = 2147799083u32 ; pub const XACT_E_LOGFULL : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168230i32 as _ ) ; pub const XACT_E_LU_TX_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168212i32 as _ ) ; pub const XACT_E_NETWORK_TX_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168220i32 as _ ) ; pub const XACT_E_NOASYNC : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168247i32 as _ ) ; pub const XACT_E_NOENLIST : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168246i32 as _ ) ; pub const XACT_E_NOIMPORTOBJECT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168236i32 as _ ) ; pub const XACT_E_NOISORETAIN : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168245i32 as _ ) ; pub const XACT_E_NORESOURCE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168244i32 as _ ) ; pub const XACT_E_NOTCURRENT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168243i32 as _ ) ; pub const XACT_E_NOTIMEOUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168233i32 as _ ) ; pub const XACT_E_NOTRANSACTION : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168242i32 as _ ) ; pub const XACT_E_NOTSUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168241i32 as _ ) ; pub const XACT_E_PARTNER_NETWORK_TX_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168219i32 as _ ) ; pub const XACT_E_PULL_COMM_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168213i32 as _ ) ; pub const XACT_E_PUSH_COMM_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168214i32 as _ ) ; pub const XACT_E_RECOVERYINPROGRESS : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168126i32 as _ ) ; pub const XACT_E_REENLISTTIMEOUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168226i32 as _ ) ; pub const XACT_E_REPLAYREQUEST : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168123i32 as _ ) ; pub const XACT_E_TIP_CONNECT_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168225i32 as _ ) ; pub const XACT_E_TIP_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168221i32 as _ ) ; pub const XACT_E_TIP_PROTOCOL_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168224i32 as _ ) ; pub const XACT_E_TIP_PULL_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168223i32 as _ ) ; pub const XACT_E_TMNOTAVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168229i32 as _ ) ; pub const XACT_E_TRANSACTIONCLOSED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168125i32 as _ ) ; pub const XACT_E_UNABLE_TO_LOAD_DTC_PROXY : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168216i32 as _ ) ; pub const XACT_E_UNABLE_TO_READ_DTC_CONFIG : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168217i32 as _ ) ; pub const XACT_E_UNKNOWNRMGRID : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168240i32 as _ ) ; pub const XACT_E_WRONGSTATE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168239i32 as _ ) ; pub const XACT_E_WRONGUOW : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168238i32 as _ ) ; pub const XACT_E_XA_TX_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168218i32 as _ ) ; pub const XACT_E_XTIONEXISTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2147168237i32 as _ ) ; pub const XACT_S_ABORTING : :: windows :: HRESULT = :: windows :: HRESULT ( 315400i32 as _ ) ; pub const XACT_S_ALLNORETAIN : :: windows :: HRESULT = :: windows :: HRESULT ( 315399i32 as _ ) ; pub const XACT_S_ASYNC : :: windows :: HRESULT = :: windows :: HRESULT ( 315392i32 as _ ) ; pub const XACT_S_DEFECT : :: windows :: HRESULT = :: windows :: HRESULT ( 315393i32 as _ ) ; pub const XACT_S_FIRST : u32 = 315392u32 ; pub const XACT_S_LAST : u32 = 315408u32 ; pub const XACT_S_LASTRESOURCEMANAGER : :: windows :: HRESULT = :: windows :: HRESULT ( 315408i32 as _ ) ; pub const XACT_S_LOCALLY_OK : :: windows :: HRESULT = :: windows :: HRESULT ( 315402i32 as _ ) ; pub const XACT_S_MADECHANGESCONTENT : :: windows :: HRESULT = :: windows :: HRESULT ( 315397i32 as _ ) ; pub const XACT_S_MADECHANGESINFORM : :: windows :: HRESULT = :: windows :: HRESULT ( 315398i32 as _ ) ; pub const XACT_S_OKINFORM : :: windows :: HRESULT = :: windows :: HRESULT ( 315396i32 as _ ) ; pub const XACT_S_READONLY : :: windows :: HRESULT = :: windows :: HRESULT ( 315394i32 as _ ) ; pub const XACT_S_SINGLEPHASE : :: windows :: HRESULT = :: windows :: HRESULT ( 315401i32 as _ ) ; pub const XACT_S_SOMENORETAIN : :: windows :: HRESULT = :: windows :: HRESULT ( 315395i32 as _ ) ; pub const XENROLL_E_CANNOT_ADD_ROOT_CERT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146873343i32 as _ ) ; pub const XENROLL_E_KEYSPEC_SMIME_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2146873339i32 as _ ) ; pub const XENROLL_E_KEY_NOT_EXPORTABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146873344i32 as _ ) ; pub const XENROLL_E_RESPONSE_KA_HASH_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2146873340i32 as _ ) ; pub const XENROLL_E_RESPONSE_KA_HASH_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2146873342i32 as _ ) ; pub const XENROLL_E_RESPONSE_UNEXPECTED_KA_HASH : :: windows :: HRESULT = :: windows :: HRESULT ( -2146873341i32 as _ ) ; } # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod Graphics { # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod Direct3D9 { # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct D3DCOLORVALUE { pub r : f32 , pub g : f32 , pub b : f32 , pub a : f32 } impl D3DCOLORVALUE { } impl :: std :: default :: Default for D3DCOLORVALUE { fn default ( ) -> Self { Self { r : 0.0 , g : 0.0 , b : 0.0 , a : 0.0 } } } impl :: std :: fmt :: Debug for D3DCOLORVALUE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "D3DCOLORVALUE" ) . field ( "r" , & self . r ) . field ( "g" , & self . g ) . field ( "b" , & self . b ) . field ( "a" , & self . a ) . finish ( ) } } impl :: std :: cmp :: PartialEq for D3DCOLORVALUE { fn eq ( & self , other : & Self ) -> bool { self . r == other . r && self . g == other . g && self . b == other . b && self . a == other . a } } impl :: std :: cmp :: Eq for D3DCOLORVALUE { } unsafe impl :: windows :: Abi for D3DCOLORVALUE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct D3DLIGHTTYPE ( pub i32 ) ; pub const D3DLIGHT_POINT : D3DLIGHTTYPE = D3DLIGHTTYPE ( 1i32 ) ; pub const D3DLIGHT_SPOT : D3DLIGHTTYPE = D3DLIGHTTYPE ( 2i32 ) ; pub const D3DLIGHT_DIRECTIONAL : D3DLIGHTTYPE = D3DLIGHTTYPE ( 3i32 ) ; pub const D3DLIGHT_FORCE_DWORD : D3DLIGHTTYPE = D3DLIGHTTYPE ( 2147483647i32 ) ; impl :: std :: convert :: From < i32 > for D3DLIGHTTYPE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for D3DLIGHTTYPE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct D3DMATRIX { pub Anonymous : D3DMATRIX_0 } impl D3DMATRIX { } impl :: std :: cmp :: PartialEq for D3DMATRIX { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for D3DMATRIX { } unsafe impl :: windows :: Abi for D3DMATRIX { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union D3DMATRIX_0 { pub Anonymous : D3DMATRIX_0_0 , pub m : [ f32 ;16 ] } impl D3DMATRIX_0 { } impl :: std :: cmp :: PartialEq for D3DMATRIX_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for D3DMATRIX_0 { } unsafe impl :: windows :: Abi for D3DMATRIX_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct D3DMATRIX_0_0 { pub _11 : f32 , pub _12 : f32 , pub _13 : f32 , pub _14 : f32 , pub _21 : f32 , pub _22 : f32 , pub _23 : f32 , pub _24 : f32 , pub _31 : f32 , pub _32 : f32 , pub _33 : f32 , pub _34 : f32 , pub _41 : f32 , pub _42 : f32 , pub _43 : f32 , pub _44 : f32 } impl D3DMATRIX_0_0 { } impl :: std :: default :: Default for D3DMATRIX_0_0 { fn default ( ) -> Self { Self { _11 : 0.0 , _12 : 0.0 , _13 : 0.0 , _14 : 0.0 , _21 : 0.0 , _22 : 0.0 , _23 : 0.0 , _24 : 0.0 , _31 : 0.0 , _32 : 0.0 , _33 : 0.0 , _34 : 0.0 , _41 : 0.0 , _42 : 0.0 , _43 : 0.0 , _44 : 0.0 } } } impl :: std :: fmt :: Debug for D3DMATRIX_0_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Anonymous_e__Struct" ) . field ( "_11" , & self . _11 ) . field ( "_12" , & self . _12 ) . field ( "_13" , & self . _13 ) . field ( "_14" , & self . _14 ) . field ( "_21" , & self . _21 ) . field ( "_22" , & self . _22 ) . field ( "_23" , & self . _23 ) . field ( "_24" , & self . _24 ) . field ( "_31" , & self . _31 ) . field ( "_32" , & self . _32 ) . field ( "_33" , & self . _33 ) . field ( "_34" , & self . _34 ) . field ( "_41" , & self . _41 ) . field ( "_42" , & self . _42 ) . field ( "_43" , & self . _43 ) . field ( "_44" , & self . _44 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for D3DMATRIX_0_0 { fn eq ( & self , other : & Self ) -> bool { self . _11 == other . _11 && self . _12 == other . _12 && self . _13 == other . _13 && self . _14 == other . _14 && self . _21 == other . _21 && self . _22 == other . _22 && self . _23 == other . _23 && self . _24 == other . _24 && self . _31 == other . _31 && self . _32 == other . _32 && self . _33 == other . _33 && self . _34 == other . _34 && self . _41 == other . _41 && self . _42 == other . _42 && self . _43 == other . _43 && self . _44 == other . _44 } } impl :: std :: cmp :: Eq for D3DMATRIX_0_0 { } unsafe impl :: windows :: Abi for D3DMATRIX_0_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct D3DRECT { pub x1 : i32 , pub y1 : i32 , pub x2 : i32 , pub y2 : i32 } impl D3DRECT { } impl :: std :: default :: Default for D3DRECT { fn default ( ) -> Self { Self { x1 : 0 , y1 : 0 , x2 : 0 , y2 : 0 } } } impl :: std :: fmt :: Debug for D3DRECT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "D3DRECT" ) . field ( "x1" , & self . x1 ) . field ( "y1" , & self . y1 ) . field ( "x2" , & self . x2 ) . field ( "y2" , & self . y2 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for D3DRECT { fn eq ( & self , other : & Self ) -> bool { self . x1 == other . x1 && self . y1 == other . y1 && self . x2 == other . x2 && self . y2 == other . y2 } } impl :: std :: cmp :: Eq for D3DRECT { } unsafe impl :: windows :: Abi for D3DRECT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct D3DRENDERSTATETYPE ( pub i32 ) ; impl :: std :: convert :: From < i32 > for D3DRENDERSTATETYPE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for D3DRENDERSTATETYPE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct D3DSTATEBLOCKTYPE ( pub i32 ) ; pub const D3DSBT_ALL : D3DSTATEBLOCKTYPE = D3DSTATEBLOCKTYPE ( 1i32 ) ; pub const D3DSBT_PIXELSTATE : D3DSTATEBLOCKTYPE = D3DSTATEBLOCKTYPE ( 2i32 ) ; pub const D3DSBT_VERTEXSTATE : D3DSTATEBLOCKTYPE = D3DSTATEBLOCKTYPE ( 3i32 ) ; pub const D3DSBT_FORCE_DWORD : D3DSTATEBLOCKTYPE = D3DSTATEBLOCKTYPE ( 2147483647i32 ) ; impl :: std :: convert :: From < i32 > for D3DSTATEBLOCKTYPE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for D3DSTATEBLOCKTYPE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct D3DTRANSFORMSTATETYPE ( pub i32 ) ; pub const D3DTS_VIEW : D3DTRANSFORMSTATETYPE = D3DTRANSFORMSTATETYPE ( 2i32 ) ; pub const D3DTS_PROJECTION : D3DTRANSFORMSTATETYPE = D3DTRANSFORMSTATETYPE ( 3i32 ) ; pub const D3DTS_TEXTURE0 : D3DTRANSFORMSTATETYPE = D3DTRANSFORMSTATETYPE ( 16i32 ) ; pub const D3DTS_TEXTURE1 : D3DTRANSFORMSTATETYPE = D3DTRANSFORMSTATETYPE ( 17i32 ) ; pub const D3DTS_TEXTURE2 : D3DTRANSFORMSTATETYPE = D3DTRANSFORMSTATETYPE ( 18i32 ) ; pub const D3DTS_TEXTURE3 : D3DTRANSFORMSTATETYPE = D3DTRANSFORMSTATETYPE ( 19i32 ) ; pub const D3DTS_TEXTURE4 : D3DTRANSFORMSTATETYPE = D3DTRANSFORMSTATETYPE ( 20i32 ) ; pub const D3DTS_TEXTURE5 : D3DTRANSFORMSTATETYPE = D3DTRANSFORMSTATETYPE ( 21i32 ) ; pub const D3DTS_TEXTURE6 : D3DTRANSFORMSTATETYPE = D3DTRANSFORMSTATETYPE ( 22i32 ) ; pub const D3DTS_TEXTURE7 : D3DTRANSFORMSTATETYPE = D3DTRANSFORMSTATETYPE ( 23i32 ) ; pub const D3DTS_FORCE_DWORD : D3DTRANSFORMSTATETYPE = D3DTRANSFORMSTATETYPE ( 2147483647i32 ) ; impl :: std :: convert :: From < i32 > for D3DTRANSFORMSTATETYPE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for D3DTRANSFORMSTATETYPE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct D3DVECTOR { pub x : f32 , pub y : f32 , pub z : f32 } impl D3DVECTOR { } impl :: std :: default :: Default for D3DVECTOR { fn default ( ) -> Self { Self { x : 0.0 , y : 0.0 , z : 0.0 } } } impl :: std :: fmt :: Debug for D3DVECTOR { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "D3DVECTOR" ) . field ( "x" , & self . x ) . field ( "y" , & self . y ) . field ( "z" , & self . z ) . finish ( ) } } impl :: std :: cmp :: PartialEq for D3DVECTOR { fn eq ( & self , other : & Self ) -> bool { self . x == other . x && self . y == other . y && self . z == other . z } } impl :: std :: cmp :: Eq for D3DVECTOR { } unsafe impl :: windows :: Abi for D3DVECTOR { type Abi = Self ; type DefaultType = Self ; } } # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod DirectDraw { # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DDARGB { pub blue : u8 , pub green : u8 , pub red : u8 , pub alpha : u8 } impl DDARGB { } impl :: std :: default :: Default for DDARGB { fn default ( ) -> Self { Self { blue : 0 , green : 0 , red : 0 , alpha : 0 } } } impl :: std :: fmt :: Debug for DDARGB { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DDARGB" ) . field ( "blue" , & self . blue ) . field ( "green" , & self . green ) . field ( "red" , & self . red ) . field ( "alpha" , & self . alpha ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DDARGB { fn eq ( & self , other : & Self ) -> bool { self . blue == other . blue && self . green == other . green && self . red == other . red && self . alpha == other . alpha } } impl :: std :: cmp :: Eq for DDARGB { } unsafe impl :: windows :: Abi for DDARGB { type Abi = Self ; type DefaultType = Self ; } impl :: std :: clone :: Clone for DDBLTFX { fn clone ( & self ) -> Self { unimplemented ! ( ) } } # [ repr ( C ) ] pub struct DDBLTFX { pub dwSize : u32 , pub dwDDFX : u32 , pub dwROP : u32 , pub dwDDROP : u32 , pub dwRotationAngle : u32 , pub dwZBufferOpCode : u32 , pub dwZBufferLow : u32 , pub dwZBufferHigh : u32 , pub dwZBufferBaseDest : u32 , pub dwZDestConstBitDepth : u32 , pub Anonymous1 : DDBLTFX_0 , pub dwZSrcConstBitDepth : u32 , pub Anonymous2 : DDBLTFX_1 , pub dwAlphaEdgeBlendBitDepth : u32 , pub dwAlphaEdgeBlend : u32 , pub dwReserved : u32 , pub dwAlphaDestConstBitDepth : u32 , pub Anonymous3 : DDBLTFX_2 , pub dwAlphaSrcConstBitDepth : u32 , pub Anonymous4 : DDBLTFX_3 , pub Anonymous5 : DDBLTFX_4 , pub ddckDestColorkey : DDCOLORKEY , pub ddckSrcColorkey : DDCOLORKEY } impl DDBLTFX { } impl :: std :: cmp :: PartialEq for DDBLTFX { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for DDBLTFX { } # [ repr ( C ) ] # [ doc ( hidden ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct DDBLTFX_abi { pub dwSize : u32 , pub dwDDFX : u32 , pub dwROP : u32 , pub dwDDROP : u32 , pub dwRotationAngle : u32 , pub dwZBufferOpCode : u32 , pub dwZBufferLow : u32 , pub dwZBufferHigh : u32 , pub dwZBufferBaseDest : u32 , pub dwZDestConstBitDepth : u32 , pub Anonymous1 : DDBLTFX_0_abi , pub dwZSrcConstBitDepth : u32 , pub Anonymous2 : DDBLTFX_1_abi , pub dwAlphaEdgeBlendBitDepth : u32 , pub dwAlphaEdgeBlend : u32 , pub dwReserved : u32 , pub dwAlphaDestConstBitDepth : u32 , pub Anonymous3 : DDBLTFX_2_abi , pub dwAlphaSrcConstBitDepth : u32 , pub Anonymous4 : DDBLTFX_3_abi , pub Anonymous5 : DDBLTFX_4_abi , pub ddckDestColorkey : DDCOLORKEY , pub ddckSrcColorkey : DDCOLORKEY } unsafe impl :: windows :: Abi for DDBLTFX { type Abi = DDBLTFX_abi ; type DefaultType = Self ; } impl :: std :: clone :: Clone for DDBLTFX_0 { fn clone ( & self ) -> Self { unimplemented ! ( ) } } # [ repr ( C ) ] pub union DDBLTFX_0 { pub dwZDestConst : u32 , pub lpDDSZBufferDest : :: windows :: RawPtr } impl DDBLTFX_0 { } impl :: std :: cmp :: PartialEq for DDBLTFX_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for DDBLTFX_0 { } # [ repr ( C ) ] # [ doc ( hidden ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub union DDBLTFX_0_abi { pub dwZDestConst : u32 , pub lpDDSZBufferDest : :: windows :: RawPtr } unsafe impl :: windows :: Abi for DDBLTFX_0 { type Abi = DDBLTFX_0_abi ; type DefaultType = Self ; } impl :: std :: clone :: Clone for DDBLTFX_1 { fn clone ( & self ) -> Self { unimplemented ! ( ) } } # [ repr ( C ) ] pub union DDBLTFX_1 { pub dwZSrcConst : u32 , pub lpDDSZBufferSrc : :: windows :: RawPtr } impl DDBLTFX_1 { } impl :: std :: cmp :: PartialEq for DDBLTFX_1 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for DDBLTFX_1 { } # [ repr ( C ) ] # [ doc ( hidden ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub union DDBLTFX_1_abi { pub dwZSrcConst : u32 , pub lpDDSZBufferSrc : :: windows :: RawPtr } unsafe impl :: windows :: Abi for DDBLTFX_1 { type Abi = DDBLTFX_1_abi ; type DefaultType = Self ; } impl :: std :: clone :: Clone for DDBLTFX_2 { fn clone ( & self ) -> Self { unimplemented ! ( ) } } # [ repr ( C ) ] pub union DDBLTFX_2 { pub dwAlphaDestConst : u32 , pub lpDDSAlphaDest : :: windows :: RawPtr } impl DDBLTFX_2 { } impl :: std :: cmp :: PartialEq for DDBLTFX_2 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for DDBLTFX_2 { } # [ repr ( C ) ] # [ doc ( hidden ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub union DDBLTFX_2_abi { pub dwAlphaDestConst : u32 , pub lpDDSAlphaDest : :: windows :: RawPtr } unsafe impl :: windows :: Abi for DDBLTFX_2 { type Abi = DDBLTFX_2_abi ; type DefaultType = Self ; } impl :: std :: clone :: Clone for DDBLTFX_3 { fn clone ( & self ) -> Self { unimplemented ! ( ) } } # [ repr ( C ) ] pub union DDBLTFX_3 { pub dwAlphaSrcConst : u32 , pub lpDDSAlphaSrc : :: windows :: RawPtr } impl DDBLTFX_3 { } impl :: std :: cmp :: PartialEq for DDBLTFX_3 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for DDBLTFX_3 { } # [ repr ( C ) ] # [ doc ( hidden ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub union DDBLTFX_3_abi { pub dwAlphaSrcConst : u32 , pub lpDDSAlphaSrc : :: windows :: RawPtr } unsafe impl :: windows :: Abi for DDBLTFX_3 { type Abi = DDBLTFX_3_abi ; type DefaultType = Self ; } impl :: std :: clone :: Clone for DDBLTFX_4 { fn clone ( & self ) -> Self { unimplemented ! ( ) } } # [ repr ( C ) ] pub union DDBLTFX_4 { pub dwFillColor : u32 , pub dwFillDepth : u32 , pub dwFillPixel : u32 , pub lpDDSPattern : :: windows :: RawPtr } impl DDBLTFX_4 { } impl :: std :: cmp :: PartialEq for DDBLTFX_4 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for DDBLTFX_4 { } # [ repr ( C ) ] # [ doc ( hidden ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub union DDBLTFX_4_abi { pub dwFillColor : u32 , pub dwFillDepth : u32 , pub dwFillPixel : u32 , pub lpDDSPattern : :: windows :: RawPtr } unsafe impl :: windows :: Abi for DDBLTFX_4 { type Abi = DDBLTFX_4_abi ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DDCOLORKEY { pub dwColorSpaceLowValue : u32 , pub dwColorSpaceHighValue : u32 } impl DDCOLORKEY { } impl :: std :: default :: Default for DDCOLORKEY { fn default ( ) -> Self { Self { dwColorSpaceLowValue : 0 , dwColorSpaceHighValue : 0 } } } impl :: std :: fmt :: Debug for DDCOLORKEY { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DDCOLORKEY" ) . field ( "dwColorSpaceLowValue" , & self . dwColorSpaceLowValue ) . field ( "dwColorSpaceHighValue" , & self . dwColorSpaceHighValue ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DDCOLORKEY { fn eq ( & self , other : & Self ) -> bool { self . dwColorSpaceLowValue == other . dwColorSpaceLowValue && self . dwColorSpaceHighValue == other . dwColorSpaceHighValue } } impl :: std :: cmp :: Eq for DDCOLORKEY { } unsafe impl :: windows :: Abi for DDCOLORKEY { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DDNTCORECAPS { pub dwSize : u32 , pub dwCaps : u32 , pub dwCaps2 : u32 , pub dwCKeyCaps : u32 , pub dwFXCaps : u32 , pub dwFXAlphaCaps : u32 , pub dwPalCaps : u32 , pub dwSVCaps : u32 , pub dwAlphaBltConstBitDepths : u32 , pub dwAlphaBltPixelBitDepths : u32 , pub dwAlphaBltSurfaceBitDepths : u32 , pub dwAlphaOverlayConstBitDepths : u32 , pub dwAlphaOverlayPixelBitDepths : u32 , pub dwAlphaOverlaySurfaceBitDepths : u32 , pub dwZBufferBitDepths : u32 , pub dwVidMemTotal : u32 , pub dwVidMemFree : u32 , pub dwMaxVisibleOverlays : u32 , pub dwCurrVisibleOverlays : u32 , pub dwNumFourCCCodes : u32 , pub dwAlignBoundarySrc : u32 , pub dwAlignSizeSrc : u32 , pub dwAlignBoundaryDest : u32 , pub dwAlignSizeDest : u32 , pub dwAlignStrideAlign : u32 , pub dwRops : [ u32 ;8 ] , pub ddsCaps : DDSCAPS , pub dwMinOverlayStretch : u32 , pub dwMaxOverlayStretch : u32 , pub dwMinLiveVideoStretch : u32 , pub dwMaxLiveVideoStretch : u32 , pub dwMinHwCodecStretch : u32 , pub dwMaxHwCodecStretch : u32 , pub dwReserved1 : u32 , pub dwReserved2 : u32 , pub dwReserved3 : u32 , pub dwSVBCaps : u32 , pub dwSVBCKeyCaps : u32 , pub dwSVBFXCaps : u32 , pub dwSVBRops : [ u32 ;8 ] , pub dwVSBCaps : u32 , pub dwVSBCKeyCaps : u32 , pub dwVSBFXCaps : u32 , pub dwVSBRops : [ u32 ;8 ] , pub dwSSBCaps : u32 , pub dwSSBCKeyCaps : u32 , pub dwSSBFXCaps : u32 , pub dwSSBRops : [ u32 ;8 ] , pub dwMaxVideoPorts : u32 , pub dwCurrVideoPorts : u32 , pub dwSVBCaps2 : u32 } impl DDNTCORECAPS { } impl :: std :: default :: Default for DDNTCORECAPS { fn default ( ) -> Self { Self { dwSize : 0 , dwCaps : 0 , dwCaps2 : 0 , dwCKeyCaps : 0 , dwFXCaps : 0 , dwFXAlphaCaps : 0 , dwPalCaps : 0 , dwSVCaps : 0 , dwAlphaBltConstBitDepths : 0 , dwAlphaBltPixelBitDepths : 0 , dwAlphaBltSurfaceBitDepths : 0 , dwAlphaOverlayConstBitDepths : 0 , dwAlphaOverlayPixelBitDepths : 0 , dwAlphaOverlaySurfaceBitDepths : 0 , dwZBufferBitDepths : 0 , dwVidMemTotal : 0 , dwVidMemFree : 0 , dwMaxVisibleOverlays : 0 , dwCurrVisibleOverlays : 0 , dwNumFourCCCodes : 0 , dwAlignBoundarySrc : 0 , dwAlignSizeSrc : 0 , dwAlignBoundaryDest : 0 , dwAlignSizeDest : 0 , dwAlignStrideAlign : 0 , dwRops : [ 0 ;8 ] , ddsCaps : :: std :: default :: Default :: default ( ) , dwMinOverlayStretch : 0 , dwMaxOverlayStretch : 0 , dwMinLiveVideoStretch : 0 , dwMaxLiveVideoStretch : 0 , dwMinHwCodecStretch : 0 , dwMaxHwCodecStretch : 0 , dwReserved1 : 0 , dwReserved2 : 0 , dwReserved3 : 0 , dwSVBCaps : 0 , dwSVBCKeyCaps : 0 , dwSVBFXCaps : 0 , dwSVBRops : [ 0 ;8 ] , dwVSBCaps : 0 , dwVSBCKeyCaps : 0 , dwVSBFXCaps : 0 , dwVSBRops : [ 0 ;8 ] , dwSSBCaps : 0 , dwSSBCKeyCaps : 0 , dwSSBFXCaps : 0 , dwSSBRops : [ 0 ;8 ] , dwMaxVideoPorts : 0 , dwCurrVideoPorts : 0 , dwSVBCaps2 : 0 } } } impl :: std :: fmt :: Debug for DDNTCORECAPS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DDNTCORECAPS" ) . field ( "dwSize" , & self . dwSize ) . field ( "dwCaps" , & self . dwCaps ) . field ( "dwCaps2" , & self . dwCaps2 ) . field ( "dwCKeyCaps" , & self . dwCKeyCaps ) . field ( "dwFXCaps" , & self . dwFXCaps ) . field ( "dwFXAlphaCaps" , & self . dwFXAlphaCaps ) . field ( "dwPalCaps" , & self . dwPalCaps ) . field ( "dwSVCaps" , & self . dwSVCaps ) . field ( "dwAlphaBltConstBitDepths" , & self . dwAlphaBltConstBitDepths ) . field ( "dwAlphaBltPixelBitDepths" , & self . dwAlphaBltPixelBitDepths ) . field ( "dwAlphaBltSurfaceBitDepths" , & self . dwAlphaBltSurfaceBitDepths ) . field ( "dwAlphaOverlayConstBitDepths" , & self . dwAlphaOverlayConstBitDepths ) . field ( "dwAlphaOverlayPixelBitDepths" , & self . dwAlphaOverlayPixelBitDepths ) . field ( "dwAlphaOverlaySurfaceBitDepths" , & self . dwAlphaOverlaySurfaceBitDepths ) . field ( "dwZBufferBitDepths" , & self . dwZBufferBitDepths ) . field ( "dwVidMemTotal" , & self . dwVidMemTotal ) . field ( "dwVidMemFree" , & self . dwVidMemFree ) . field ( "dwMaxVisibleOverlays" , & self . dwMaxVisibleOverlays ) . field ( "dwCurrVisibleOverlays" , & self . dwCurrVisibleOverlays ) . field ( "dwNumFourCCCodes" , & self . dwNumFourCCCodes ) . field ( "dwAlignBoundarySrc" , & self . dwAlignBoundarySrc ) . field ( "dwAlignSizeSrc" , & self . dwAlignSizeSrc ) . field ( "dwAlignBoundaryDest" , & self . dwAlignBoundaryDest ) . field ( "dwAlignSizeDest" , & self . dwAlignSizeDest ) . field ( "dwAlignStrideAlign" , & self . dwAlignStrideAlign ) . field ( "dwRops" , & self . dwRops ) . field ( "ddsCaps" , & self . ddsCaps ) . field ( "dwMinOverlayStretch" , & self . dwMinOverlayStretch ) . field ( "dwMaxOverlayStretch" , & self . dwMaxOverlayStretch ) . field ( "dwMinLiveVideoStretch" , & self . dwMinLiveVideoStretch ) . field ( "dwMaxLiveVideoStretch" , & self . dwMaxLiveVideoStretch ) . field ( "dwMinHwCodecStretch" , & self . dwMinHwCodecStretch ) . field ( "dwMaxHwCodecStretch" , & self . dwMaxHwCodecStretch ) . field ( "dwReserved1" , & self . dwReserved1 ) . field ( "dwReserved2" , & self . dwReserved2 ) . field ( "dwReserved3" , & self . dwReserved3 ) . field ( "dwSVBCaps" , & self . dwSVBCaps ) . field ( "dwSVBCKeyCaps" , & self . dwSVBCKeyCaps ) . field ( "dwSVBFXCaps" , & self . dwSVBFXCaps ) . field ( "dwSVBRops" , & self . dwSVBRops ) . field ( "dwVSBCaps" , & self . dwVSBCaps ) . field ( "dwVSBCKeyCaps" , & self . dwVSBCKeyCaps ) . field ( "dwVSBFXCaps" , & self . dwVSBFXCaps ) . field ( "dwVSBRops" , & self . dwVSBRops ) . field ( "dwSSBCaps" , & self . dwSSBCaps ) . field ( "dwSSBCKeyCaps" , & self . dwSSBCKeyCaps ) . field ( "dwSSBFXCaps" , & self . dwSSBFXCaps ) . field ( "dwSSBRops" , & self . dwSSBRops ) . field ( "dwMaxVideoPorts" , & self . dwMaxVideoPorts ) . field ( "dwCurrVideoPorts" , & self . dwCurrVideoPorts ) . field ( "dwSVBCaps2" , & self . dwSVBCaps2 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DDNTCORECAPS { fn eq ( & self , other : & Self ) -> bool { self . dwSize == other . dwSize && self . dwCaps == other . dwCaps && self . dwCaps2 == other . dwCaps2 && self . dwCKeyCaps == other . dwCKeyCaps && self . dwFXCaps == other . dwFXCaps && self . dwFXAlphaCaps == other . dwFXAlphaCaps && self . dwPalCaps == other . dwPalCaps && self . dwSVCaps == other . dwSVCaps && self . dwAlphaBltConstBitDepths == other . dwAlphaBltConstBitDepths && self . dwAlphaBltPixelBitDepths == other . dwAlphaBltPixelBitDepths && self . dwAlphaBltSurfaceBitDepths == other . dwAlphaBltSurfaceBitDepths && self . dwAlphaOverlayConstBitDepths == other . dwAlphaOverlayConstBitDepths && self . dwAlphaOverlayPixelBitDepths == other . dwAlphaOverlayPixelBitDepths && self . dwAlphaOverlaySurfaceBitDepths == other . dwAlphaOverlaySurfaceBitDepths && self . dwZBufferBitDepths == other . dwZBufferBitDepths && self . dwVidMemTotal == other . dwVidMemTotal && self . dwVidMemFree == other . dwVidMemFree && self . dwMaxVisibleOverlays == other . dwMaxVisibleOverlays && self . dwCurrVisibleOverlays == other . dwCurrVisibleOverlays && self . dwNumFourCCCodes == other . dwNumFourCCCodes && self . dwAlignBoundarySrc == other . dwAlignBoundarySrc && self . dwAlignSizeSrc == other . dwAlignSizeSrc && self . dwAlignBoundaryDest == other . dwAlignBoundaryDest && self . dwAlignSizeDest == other . dwAlignSizeDest && self . dwAlignStrideAlign == other . dwAlignStrideAlign && self . dwRops == other . dwRops && self . ddsCaps == other . ddsCaps && self . dwMinOverlayStretch == other . dwMinOverlayStretch && self . dwMaxOverlayStretch == other . dwMaxOverlayStretch && self . dwMinLiveVideoStretch == other . dwMinLiveVideoStretch && self . dwMaxLiveVideoStretch == other . dwMaxLiveVideoStretch && self . dwMinHwCodecStretch == other . dwMinHwCodecStretch && self . dwMaxHwCodecStretch == other . dwMaxHwCodecStretch && self . dwReserved1 == other . dwReserved1 && self . dwReserved2 == other . dwReserved2 && self . dwReserved3 == other . dwReserved3 && self . dwSVBCaps == other . dwSVBCaps && self . dwSVBCKeyCaps == other . dwSVBCKeyCaps && self . dwSVBFXCaps == other . dwSVBFXCaps && self . dwSVBRops == other . dwSVBRops && self . dwVSBCaps == other . dwVSBCaps && self . dwVSBCKeyCaps == other . dwVSBCKeyCaps && self . dwVSBFXCaps == other . dwVSBFXCaps && self . dwVSBRops == other . dwVSBRops && self . dwSSBCaps == other . dwSSBCaps && self . dwSSBCKeyCaps == other . dwSSBCKeyCaps && self . dwSSBFXCaps == other . dwSSBFXCaps && self . dwSSBRops == other . dwSSBRops && self . dwMaxVideoPorts == other . dwMaxVideoPorts && self . dwCurrVideoPorts == other . dwCurrVideoPorts && self . dwSVBCaps2 == other . dwSVBCaps2 } } impl :: std :: cmp :: Eq for DDNTCORECAPS { } unsafe impl :: windows :: Abi for DDNTCORECAPS { type Abi = Self ; type DefaultType = Self ; } impl :: std :: clone :: Clone for DDOVERLAYFX { fn clone ( & self ) -> Self { unimplemented ! ( ) } } # [ repr ( C ) ] pub struct DDOVERLAYFX { pub dwSize : u32 , pub dwAlphaEdgeBlendBitDepth : u32 , pub dwAlphaEdgeBlend : u32 , pub dwReserved : u32 , pub dwAlphaDestConstBitDepth : u32 , pub Anonymous1 : DDOVERLAYFX_0 , pub dwAlphaSrcConstBitDepth : u32 , pub Anonymous2 : DDOVERLAYFX_1 , pub dckDestColorkey : DDCOLORKEY , pub dckSrcColorkey : DDCOLORKEY , pub dwDDFX : u32 , pub dwFlags : u32 } impl DDOVERLAYFX { } impl :: std :: cmp :: PartialEq for DDOVERLAYFX { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for DDOVERLAYFX { } # [ repr ( C ) ] # [ doc ( hidden ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct DDOVERLAYFX_abi { pub dwSize : u32 , pub dwAlphaEdgeBlendBitDepth : u32 , pub dwAlphaEdgeBlend : u32 , pub dwReserved : u32 , pub dwAlphaDestConstBitDepth : u32 , pub Anonymous1 : DDOVERLAYFX_0_abi , pub dwAlphaSrcConstBitDepth : u32 , pub Anonymous2 : DDOVERLAYFX_1_abi , pub dckDestColorkey : DDCOLORKEY , pub dckSrcColorkey : DDCOLORKEY , pub dwDDFX : u32 , pub dwFlags : u32 } unsafe impl :: windows :: Abi for DDOVERLAYFX { type Abi = DDOVERLAYFX_abi ; type DefaultType = Self ; } impl :: std :: clone :: Clone for DDOVERLAYFX_0 { fn clone ( & self ) -> Self { unimplemented ! ( ) } } # [ repr ( C ) ] pub union DDOVERLAYFX_0 { pub dwAlphaDestConst : u32 , pub lpDDSAlphaDest : :: windows :: RawPtr } impl DDOVERLAYFX_0 { } impl :: std :: cmp :: PartialEq for DDOVERLAYFX_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for DDOVERLAYFX_0 { } # [ repr ( C ) ] # [ doc ( hidden ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub union DDOVERLAYFX_0_abi { pub dwAlphaDestConst : u32 , pub lpDDSAlphaDest : :: windows :: RawPtr } unsafe impl :: windows :: Abi for DDOVERLAYFX_0 { type Abi = DDOVERLAYFX_0_abi ; type DefaultType = Self ; } impl :: std :: clone :: Clone for DDOVERLAYFX_1 { fn clone ( & self ) -> Self { unimplemented ! ( ) } } # [ repr ( C ) ] pub union DDOVERLAYFX_1 { pub dwAlphaSrcConst : u32 , pub lpDDSAlphaSrc : :: windows :: RawPtr } impl DDOVERLAYFX_1 { } impl :: std :: cmp :: PartialEq for DDOVERLAYFX_1 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for DDOVERLAYFX_1 { } # [ repr ( C ) ] # [ doc ( hidden ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub union DDOVERLAYFX_1_abi { pub dwAlphaSrcConst : u32 , pub lpDDSAlphaSrc : :: windows :: RawPtr } unsafe impl :: windows :: Abi for DDOVERLAYFX_1 { type Abi = DDOVERLAYFX_1_abi ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DDPIXELFORMAT { pub dwSize : u32 , pub dwFlags : u32 , pub dwFourCC : u32 , pub Anonymous1 : DDPIXELFORMAT_0 , pub Anonymous2 : DDPIXELFORMAT_1 , pub Anonymous3 : DDPIXELFORMAT_2 , pub Anonymous4 : DDPIXELFORMAT_3 , pub Anonymous5 : DDPIXELFORMAT_4 } impl DDPIXELFORMAT { } impl :: std :: cmp :: PartialEq for DDPIXELFORMAT { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for DDPIXELFORMAT { } unsafe impl :: windows :: Abi for DDPIXELFORMAT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union DDPIXELFORMAT_0 { pub dwRGBBitCount : u32 , pub dwYUVBitCount : u32 , pub dwZBufferBitDepth : u32 , pub dwAlphaBitDepth : u32 , pub dwLuminanceBitCount : u32 , pub dwBumpBitCount : u32 , pub dwPrivateFormatBitCount : u32 } impl DDPIXELFORMAT_0 { } impl :: std :: cmp :: PartialEq for DDPIXELFORMAT_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for DDPIXELFORMAT_0 { } unsafe impl :: windows :: Abi for DDPIXELFORMAT_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union DDPIXELFORMAT_1 { pub dwRBitMask : u32 , pub dwYBitMask : u32 , pub dwStencilBitDepth : u32 , pub dwLuminanceBitMask : u32 , pub dwBumpDuBitMask : u32 , pub dwOperations : u32 } impl DDPIXELFORMAT_1 { } impl :: std :: cmp :: PartialEq for DDPIXELFORMAT_1 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for DDPIXELFORMAT_1 { } unsafe impl :: windows :: Abi for DDPIXELFORMAT_1 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union DDPIXELFORMAT_2 { pub dwGBitMask : u32 , pub dwUBitMask : u32 , pub dwZBitMask : u32 , pub dwBumpDvBitMask : u32 , pub MultiSampleCaps : DDPIXELFORMAT_2_0 } impl DDPIXELFORMAT_2 { } impl :: std :: cmp :: PartialEq for DDPIXELFORMAT_2 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for DDPIXELFORMAT_2 { } unsafe impl :: windows :: Abi for DDPIXELFORMAT_2 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DDPIXELFORMAT_2_0 { pub wFlipMSTypes : u16 , pub wBltMSTypes : u16 } impl DDPIXELFORMAT_2_0 { } impl :: std :: default :: Default for DDPIXELFORMAT_2_0 { fn default ( ) -> Self { Self { wFlipMSTypes : 0 , wBltMSTypes : 0 } } } impl :: std :: fmt :: Debug for DDPIXELFORMAT_2_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_MultiSampleCaps_e__Struct" ) . field ( "wFlipMSTypes" , & self . wFlipMSTypes ) . field ( "wBltMSTypes" , & self . wBltMSTypes ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DDPIXELFORMAT_2_0 { fn eq ( & self , other : & Self ) -> bool { self . wFlipMSTypes == other . wFlipMSTypes && self . wBltMSTypes == other . wBltMSTypes } } impl :: std :: cmp :: Eq for DDPIXELFORMAT_2_0 { } unsafe impl :: windows :: Abi for DDPIXELFORMAT_2_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union DDPIXELFORMAT_3 { pub dwBBitMask : u32 , pub dwVBitMask : u32 , pub dwStencilBitMask : u32 , pub dwBumpLuminanceBitMask : u32 } impl DDPIXELFORMAT_3 { } impl :: std :: cmp :: PartialEq for DDPIXELFORMAT_3 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for DDPIXELFORMAT_3 { } unsafe impl :: windows :: Abi for DDPIXELFORMAT_3 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union DDPIXELFORMAT_4 { pub dwRGBAlphaBitMask : u32 , pub dwYUVAlphaBitMask : u32 , pub dwLuminanceAlphaBitMask : u32 , pub dwRGBZBitMask : u32 , pub dwYUVZBitMask : u32 } impl DDPIXELFORMAT_4 { } impl :: std :: cmp :: PartialEq for DDPIXELFORMAT_4 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for DDPIXELFORMAT_4 { } unsafe impl :: windows :: Abi for DDPIXELFORMAT_4 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DDSCAPS { pub dwCaps : u32 } impl DDSCAPS { } impl :: std :: default :: Default for DDSCAPS { fn default ( ) -> Self { Self { dwCaps : 0 } } } impl :: std :: fmt :: Debug for DDSCAPS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DDSCAPS" ) . field ( "dwCaps" , & self . dwCaps ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DDSCAPS { fn eq ( & self , other : & Self ) -> bool { self . dwCaps == other . dwCaps } } impl :: std :: cmp :: Eq for DDSCAPS { } unsafe impl :: windows :: Abi for DDSCAPS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DDSCAPSEX { pub dwCaps2 : u32 , pub dwCaps3 : u32 , pub Anonymous : DDSCAPSEX_0 } impl DDSCAPSEX { } impl :: std :: cmp :: PartialEq for DDSCAPSEX { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for DDSCAPSEX { } unsafe impl :: windows :: Abi for DDSCAPSEX { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union DDSCAPSEX_0 { pub dwCaps4 : u32 , pub dwVolumeDepth : u32 } impl DDSCAPSEX_0 { } impl :: std :: cmp :: PartialEq for DDSCAPSEX_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for DDSCAPSEX_0 { } unsafe impl :: windows :: Abi for DDSCAPSEX_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DDSURFACEDESC { pub dwSize : u32 , pub dwFlags : u32 , pub dwHeight : u32 , pub dwWidth : u32 , pub Anonymous1 : DDSURFACEDESC_0 , pub dwBackBufferCount : u32 , pub Anonymous2 : DDSURFACEDESC_1 , pub dwAlphaBitDepth : u32 , pub dwReserved : u32 , pub lpSurface : * mut :: std :: ffi :: c_void , pub ddckCKDestOverlay : DDCOLORKEY , pub ddckCKDestBlt : DDCOLORKEY , pub ddckCKSrcOverlay : DDCOLORKEY , pub ddckCKSrcBlt : DDCOLORKEY , pub ddpfPixelFormat : DDPIXELFORMAT , pub ddsCaps : DDSCAPS } impl DDSURFACEDESC { } impl :: std :: cmp :: PartialEq for DDSURFACEDESC { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for DDSURFACEDESC { } unsafe impl :: windows :: Abi for DDSURFACEDESC { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union DDSURFACEDESC_0 { pub lPitch : i32 , pub dwLinearSize : u32 } impl DDSURFACEDESC_0 { } impl :: std :: cmp :: PartialEq for DDSURFACEDESC_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for DDSURFACEDESC_0 { } unsafe impl :: windows :: Abi for DDSURFACEDESC_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union DDSURFACEDESC_1 { pub dwMipMapCount : u32 , pub dwZBufferBitDepth : u32 , pub dwRefreshRate : u32 } impl DDSURFACEDESC_1 { } impl :: std :: cmp :: PartialEq for DDSURFACEDESC_1 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for DDSURFACEDESC_1 { } unsafe impl :: windows :: Abi for DDSURFACEDESC_1 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DDVIDEOPORTCONNECT { pub dwSize : u32 , pub dwPortWidth : u32 , pub guidTypeID : :: windows :: Guid , pub dwFlags : u32 , pub dwReserved1 : usize } impl DDVIDEOPORTCONNECT { } impl :: std :: default :: Default for DDVIDEOPORTCONNECT { fn default ( ) -> Self { Self { dwSize : 0 , dwPortWidth : 0 , guidTypeID : :: std :: default :: Default :: default ( ) , dwFlags : 0 , dwReserved1 : 0 } } } impl :: std :: fmt :: Debug for DDVIDEOPORTCONNECT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DDVIDEOPORTCONNECT" ) . field ( "dwSize" , & self . dwSize ) . field ( "dwPortWidth" , & self . dwPortWidth ) . field ( "guidTypeID" , & self . guidTypeID ) . field ( "dwFlags" , & self . dwFlags ) . field ( "dwReserved1" , & self . dwReserved1 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DDVIDEOPORTCONNECT { fn eq ( & self , other : & Self ) -> bool { self . dwSize == other . dwSize && self . dwPortWidth == other . dwPortWidth && self . guidTypeID == other . guidTypeID && self . dwFlags == other . dwFlags && self . dwReserved1 == other . dwReserved1 } } impl :: std :: cmp :: Eq for DDVIDEOPORTCONNECT { } unsafe impl :: windows :: Abi for DDVIDEOPORTCONNECT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DD_DRVSETCOLORKEYDATA { pub lpDDSurface : * mut super::super::UI::DisplayDevices:: DD_SURFACE_LOCAL , pub dwFlags : u32 , pub ckNew : DDCOLORKEY , pub ddRVal : :: windows :: HRESULT , pub SetColorKey : * mut :: std :: ffi :: c_void } impl DD_DRVSETCOLORKEYDATA { } impl :: std :: default :: Default for DD_DRVSETCOLORKEYDATA { fn default ( ) -> Self { Self { lpDDSurface : :: std :: ptr :: null_mut ( ) , dwFlags : 0 , ckNew : :: std :: default :: Default :: default ( ) , ddRVal : :: std :: default :: Default :: default ( ) , SetColorKey : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for DD_DRVSETCOLORKEYDATA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DD_DRVSETCOLORKEYDATA" ) . field ( "lpDDSurface" , & self . lpDDSurface ) . field ( "dwFlags" , & self . dwFlags ) . field ( "ckNew" , & self . ckNew ) . field ( "ddRVal" , & self . ddRVal ) . field ( "SetColorKey" , & self . SetColorKey ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DD_DRVSETCOLORKEYDATA { fn eq ( & self , other : & Self ) -> bool { self . lpDDSurface == other . lpDDSurface && self . dwFlags == other . dwFlags && self . ckNew == other . ckNew && self . ddRVal == other . ddRVal && self . SetColorKey == other . SetColorKey } } impl :: std :: cmp :: Eq for DD_DRVSETCOLORKEYDATA { } unsafe impl :: windows :: Abi for DD_DRVSETCOLORKEYDATA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DD_SETCLIPLISTDATA { pub lpDD : * mut super::super::UI::DisplayDevices:: DD_DIRECTDRAW_GLOBAL , pub lpDDSurface : * mut super::super::UI::DisplayDevices:: DD_SURFACE_LOCAL , pub ddRVal : :: windows :: HRESULT , pub SetClipList : * mut :: std :: ffi :: c_void } impl DD_SETCLIPLISTDATA { } impl :: std :: default :: Default for DD_SETCLIPLISTDATA { fn default ( ) -> Self { Self { lpDD : :: std :: ptr :: null_mut ( ) , lpDDSurface : :: std :: ptr :: null_mut ( ) , ddRVal : :: std :: default :: Default :: default ( ) , SetClipList : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for DD_SETCLIPLISTDATA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DD_SETCLIPLISTDATA" ) . field ( "lpDD" , & self . lpDD ) . field ( "lpDDSurface" , & self . lpDDSurface ) . field ( "ddRVal" , & self . ddRVal ) . field ( "SetClipList" , & self . SetClipList ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DD_SETCLIPLISTDATA { fn eq ( & self , other : & Self ) -> bool { self . lpDD == other . lpDD && self . lpDDSurface == other . lpDDSurface && self . ddRVal == other . ddRVal && self . SetClipList == other . SetClipList } } impl :: std :: cmp :: Eq for DD_SETCLIPLISTDATA { } unsafe impl :: windows :: Abi for DD_SETCLIPLISTDATA { type Abi = Self ; type DefaultType = Self ; } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] # [ doc ( hidden ) ] pub struct IDirectDrawSurface ( :: windows :: IUnknown ) ; unsafe impl :: windows :: Interface for IDirectDrawSurface { type Vtable = < :: windows :: IUnknown as :: windows :: Interface > :: Vtable ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 1813306241 ,42803 ,4558 , [ 165 ,33 ,0 ,32 ,175 ,11 ,229 ,96 ] , ) ; } pub type PDD_DESTROYDRIVER = unsafe extern "system" fn ( param0 : * mut _DD_DESTROYDRIVERDATA ) -> u32 ; pub type PDD_SETCOLORKEY = unsafe extern "system" fn ( param0 : * mut DD_DRVSETCOLORKEYDATA ) -> u32 ; pub type PDD_SETMODE = unsafe extern "system" fn ( param0 : * mut _DD_SETMODEDATA ) -> u32 ; pub type PDD_SURFCB_SETCLIPLIST = unsafe extern "system" fn ( param0 : * mut DD_SETCLIPLISTDATA ) -> u32 ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug , :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy ) ] pub struct _DD_DESTROYDRIVERDATA ( pub u8 ) ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug , :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy ) ] pub struct _DD_SETMODEDATA ( pub u8 ) ; } # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod Gdi { # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct BLENDFUNCTION { pub BlendOp : u8 , pub BlendFlags : u8 , pub SourceConstantAlpha : u8 , pub AlphaFormat : u8 } impl BLENDFUNCTION { } impl :: std :: default :: Default for BLENDFUNCTION { fn default ( ) -> Self { Self { BlendOp : 0 , BlendFlags : 0 , SourceConstantAlpha : 0 , AlphaFormat : 0 } } } impl :: std :: fmt :: Debug for BLENDFUNCTION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "BLENDFUNCTION" ) . field ( "BlendOp" , & self . BlendOp ) . field ( "BlendFlags" , & self . BlendFlags ) . field ( "SourceConstantAlpha" , & self . SourceConstantAlpha ) . field ( "AlphaFormat" , & self . AlphaFormat ) . finish ( ) } } impl :: std :: cmp :: PartialEq for BLENDFUNCTION { fn eq ( & self , other : & Self ) -> bool { self . BlendOp == other . BlendOp && self . BlendFlags == other . BlendFlags && self . SourceConstantAlpha == other . SourceConstantAlpha && self . AlphaFormat == other . AlphaFormat } } impl :: std :: cmp :: Eq for BLENDFUNCTION { } unsafe impl :: windows :: Abi for BLENDFUNCTION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct COLORADJUSTMENT { pub caSize : u16 , pub caFlags : u16 , pub caIlluminantIndex : u16 , pub caRedGamma : u16 , pub caGreenGamma : u16 , pub caBlueGamma : u16 , pub caReferenceBlack : u16 , pub caReferenceWhite : u16 , pub caContrast : i16 , pub caBrightness : i16 , pub caColorfulness : i16 , pub caRedGreenTint : i16 } impl COLORADJUSTMENT { } impl :: std :: default :: Default for COLORADJUSTMENT { fn default ( ) -> Self { Self { caSize : 0 , caFlags : 0 , caIlluminantIndex : 0 , caRedGamma : 0 , caGreenGamma : 0 , caBlueGamma : 0 , caReferenceBlack : 0 , caReferenceWhite : 0 , caContrast : 0 , caBrightness : 0 , caColorfulness : 0 , caRedGreenTint : 0 } } } impl :: std :: fmt :: Debug for COLORADJUSTMENT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "COLORADJUSTMENT" ) . field ( "caSize" , & self . caSize ) . field ( "caFlags" , & self . caFlags ) . field ( "caIlluminantIndex" , & self . caIlluminantIndex ) . field ( "caRedGamma" , & self . caRedGamma ) . field ( "caGreenGamma" , & self . caGreenGamma ) . field ( "caBlueGamma" , & self . caBlueGamma ) . field ( "caReferenceBlack" , & self . caReferenceBlack ) . field ( "caReferenceWhite" , & self . caReferenceWhite ) . field ( "caContrast" , & self . caContrast ) . field ( "caBrightness" , & self . caBrightness ) . field ( "caColorfulness" , & self . caColorfulness ) . field ( "caRedGreenTint" , & self . caRedGreenTint ) . finish ( ) } } impl :: std :: cmp :: PartialEq for COLORADJUSTMENT { fn eq ( & self , other : & Self ) -> bool { self . caSize == other . caSize && self . caFlags == other . caFlags && self . caIlluminantIndex == other . caIlluminantIndex && self . caRedGamma == other . caRedGamma && self . caGreenGamma == other . caGreenGamma && self . caBlueGamma == other . caBlueGamma && self . caReferenceBlack == other . caReferenceBlack && self . caReferenceWhite == other . caReferenceWhite && self . caContrast == other . caContrast && self . caBrightness == other . caBrightness && self . caColorfulness == other . caColorfulness && self . caRedGreenTint == other . caRedGreenTint } } impl :: std :: cmp :: Eq for COLORADJUSTMENT { } unsafe impl :: windows :: Abi for COLORADJUSTMENT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DESIGNVECTOR { pub dvReserved : u32 , pub dvNumAxes : u32 , pub dvValues : [ i32 ;16 ] } impl DESIGNVECTOR { } impl :: std :: default :: Default for DESIGNVECTOR { fn default ( ) -> Self { Self { dvReserved : 0 , dvNumAxes : 0 , dvValues : [ 0 ;16 ] } } } impl :: std :: fmt :: Debug for DESIGNVECTOR { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DESIGNVECTOR" ) . field ( "dvReserved" , & self . dvReserved ) . field ( "dvNumAxes" , & self . dvNumAxes ) . field ( "dvValues" , & self . dvValues ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DESIGNVECTOR { fn eq ( & self , other : & Self ) -> bool { self . dvReserved == other . dvReserved && self . dvNumAxes == other . dvNumAxes && self . dvValues == other . dvValues } } impl :: std :: cmp :: Eq for DESIGNVECTOR { } unsafe impl :: windows :: Abi for DESIGNVECTOR { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct FIXED { pub fract : u16 , pub value : i16 } impl FIXED { } impl :: std :: default :: Default for FIXED { fn default ( ) -> Self { Self { fract : 0 , value : 0 } } } impl :: std :: fmt :: Debug for FIXED { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "FIXED" ) . field ( "fract" , & self . fract ) . field ( "value" , & self . value ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FIXED { fn eq ( & self , other : & Self ) -> bool { self . fract == other . fract && self . value == other . value } } impl :: std :: cmp :: Eq for FIXED { } unsafe impl :: windows :: Abi for FIXED { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( transparent ) ] pub struct HBITMAP ( pub isize ) ; impl HBITMAP { } impl :: std :: default :: Default for HBITMAP { fn default ( ) -> Self { Self ( 0 ) } } impl HBITMAP { pub const NULL : Self = Self ( 0 ) ; pub fn is_null ( & self ) -> bool { self . 0 == 0 } } impl :: std :: fmt :: Debug for HBITMAP { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "HBITMAP" ) . field ( "Value" , & self .0 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for HBITMAP { fn eq ( & self , other : & Self ) -> bool { self .0 == other .0 } } impl :: std :: cmp :: Eq for HBITMAP { } unsafe impl :: windows :: Abi for HBITMAP { type Abi = Self ; type DefaultType = Self ; } impl < 'a > :: windows :: IntoParam < 'a , HGDIOBJ > for HBITMAP { fn into_param ( self ) -> :: windows :: Param < 'a , HGDIOBJ > { :: windows :: Param :: Owned ( HGDIOBJ ( self . 0 ) ) } } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( transparent ) ] pub struct HDC ( pub isize ) ; impl HDC { } impl :: std :: default :: Default for HDC { fn default ( ) -> Self { Self ( 0 ) } } impl HDC { pub const NULL : Self = Self ( 0 ) ; pub fn is_null ( & self ) -> bool { self . 0 == 0 } } impl :: std :: fmt :: Debug for HDC { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "HDC" ) . field ( "Value" , & self .0 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for HDC { fn eq ( & self , other : & Self ) -> bool { self .0 == other .0 } } impl :: std :: cmp :: Eq for HDC { } unsafe impl :: windows :: Abi for HDC { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( transparent ) ] pub struct HGDIOBJ ( pub isize ) ; impl HGDIOBJ { } impl :: std :: default :: Default for HGDIOBJ { fn default ( ) -> Self { Self ( 0 ) } } impl HGDIOBJ { pub const NULL : Self = Self ( 0 ) ; pub fn is_null ( & self ) -> bool { self . 0 == 0 } } impl :: std :: fmt :: Debug for HGDIOBJ { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "HGDIOBJ" ) . field ( "Value" , & self .0 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for HGDIOBJ { fn eq ( & self , other : & Self ) -> bool { self .0 == other .0 } } impl :: std :: cmp :: Eq for HGDIOBJ { } unsafe impl :: windows :: Abi for HGDIOBJ { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( transparent ) ] pub struct HPALETTE ( pub isize ) ; impl HPALETTE { } impl :: std :: default :: Default for HPALETTE { fn default ( ) -> Self { Self ( 0 ) } } impl HPALETTE { pub const NULL : Self = Self ( 0 ) ; pub fn is_null ( & self ) -> bool { self . 0 == 0 } } impl :: std :: fmt :: Debug for HPALETTE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "HPALETTE" ) . field ( "Value" , & self .0 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for HPALETTE { fn eq ( & self , other : & Self ) -> bool { self .0 == other .0 } } impl :: std :: cmp :: Eq for HPALETTE { } unsafe impl :: windows :: Abi for HPALETTE { type Abi = Self ; type DefaultType = Self ; } impl < 'a > :: windows :: IntoParam < 'a , HGDIOBJ > for HPALETTE { fn into_param ( self ) -> :: windows :: Param < 'a , HGDIOBJ > { :: windows :: Param :: Owned ( HGDIOBJ ( self . 0 ) ) } } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct LOGFONTW { pub lfHeight : i32 , pub lfWidth : i32 , pub lfEscapement : i32 , pub lfOrientation : i32 , pub lfWeight : i32 , pub lfItalic : u8 , pub lfUnderline : u8 , pub lfStrikeOut : u8 , pub lfCharSet : u8 , pub lfOutPrecision : u8 , pub lfClipPrecision : u8 , pub lfQuality : u8 , pub lfPitchAndFamily : u8 , pub lfFaceName : [ u16 ;32 ] } impl LOGFONTW { } impl :: std :: default :: Default for LOGFONTW { fn default ( ) -> Self { Self { lfHeight : 0 , lfWidth : 0 , lfEscapement : 0 , lfOrientation : 0 , lfWeight : 0 , lfItalic : 0 , lfUnderline : 0 , lfStrikeOut : 0 , lfCharSet : 0 , lfOutPrecision : 0 , lfClipPrecision : 0 , lfQuality : 0 , lfPitchAndFamily : 0 , lfFaceName : [ 0 ;32 ] } } } impl :: std :: fmt :: Debug for LOGFONTW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "LOGFONTW" ) . field ( "lfHeight" , & self . lfHeight ) . field ( "lfWidth" , & self . lfWidth ) . field ( "lfEscapement" , & self . lfEscapement ) . field ( "lfOrientation" , & self . lfOrientation ) . field ( "lfWeight" , & self . lfWeight ) . field ( "lfItalic" , & self . lfItalic ) . field ( "lfUnderline" , & self . lfUnderline ) . field ( "lfStrikeOut" , & self . lfStrikeOut ) . field ( "lfCharSet" , & self . lfCharSet ) . field ( "lfOutPrecision" , & self . lfOutPrecision ) . field ( "lfClipPrecision" , & self . lfClipPrecision ) . field ( "lfQuality" , & self . lfQuality ) . field ( "lfPitchAndFamily" , & self . lfPitchAndFamily ) . field ( "lfFaceName" , & self . lfFaceName ) . finish ( ) } } impl :: std :: cmp :: PartialEq for LOGFONTW { fn eq ( & self , other : & Self ) -> bool { self . lfHeight == other . lfHeight && self . lfWidth == other . lfWidth && self . lfEscapement == other . lfEscapement && self . lfOrientation == other . lfOrientation && self . lfWeight == other . lfWeight && self . lfItalic == other . lfItalic && self . lfUnderline == other . lfUnderline && self . lfStrikeOut == other . lfStrikeOut && self . lfCharSet == other . lfCharSet && self . lfOutPrecision == other . lfOutPrecision && self . lfClipPrecision == other . lfClipPrecision && self . lfQuality == other . lfQuality && self . lfPitchAndFamily == other . lfPitchAndFamily && self . lfFaceName == other . lfFaceName } } impl :: std :: cmp :: Eq for LOGFONTW { } unsafe impl :: windows :: Abi for LOGFONTW { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct LOGPALETTE { pub palVersion : u16 , pub palNumEntries : u16 , pub palPalEntry : [ PALETTEENTRY ;1 ] } impl LOGPALETTE { } impl :: std :: default :: Default for LOGPALETTE { fn default ( ) -> Self { Self { palVersion : 0 , palNumEntries : 0 , palPalEntry : [ :: std :: default :: Default :: default ( ) ;1 ] } } } impl :: std :: fmt :: Debug for LOGPALETTE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "LOGPALETTE" ) . field ( "palVersion" , & self . palVersion ) . field ( "palNumEntries" , & self . palNumEntries ) . field ( "palPalEntry" , & self . palPalEntry ) . finish ( ) } } impl :: std :: cmp :: PartialEq for LOGPALETTE { fn eq ( & self , other : & Self ) -> bool { self . palVersion == other . palVersion && self . palNumEntries == other . palNumEntries && self . palPalEntry == other . palPalEntry } } impl :: std :: cmp :: Eq for LOGPALETTE { } unsafe impl :: windows :: Abi for LOGPALETTE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PALETTEENTRY { pub peRed : u8 , pub peGreen : u8 , pub peBlue : u8 , pub peFlags : u8 } impl PALETTEENTRY { } impl :: std :: default :: Default for PALETTEENTRY { fn default ( ) -> Self { Self { peRed : 0 , peGreen : 0 , peBlue : 0 , peFlags : 0 } } } impl :: std :: fmt :: Debug for PALETTEENTRY { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "PALETTEENTRY" ) . field ( "peRed" , & self . peRed ) . field ( "peGreen" , & self . peGreen ) . field ( "peBlue" , & self . peBlue ) . field ( "peFlags" , & self . peFlags ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PALETTEENTRY { fn eq ( & self , other : & Self ) -> bool { self . peRed == other . peRed && self . peGreen == other . peGreen && self . peBlue == other . peBlue && self . peFlags == other . peFlags } } impl :: std :: cmp :: Eq for PALETTEENTRY { } unsafe impl :: windows :: Abi for PALETTEENTRY { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PANOSE { pub bFamilyType : u8 , pub bSerifStyle : u8 , pub bWeight : u8 , pub bProportion : u8 , pub bContrast : u8 , pub bStrokeVariation : u8 , pub bArmStyle : u8 , pub bLetterform : u8 , pub bMidline : u8 , pub bXHeight : u8 } impl PANOSE { } impl :: std :: default :: Default for PANOSE { fn default ( ) -> Self { Self { bFamilyType : 0 , bSerifStyle : 0 , bWeight : 0 , bProportion : 0 , bContrast : 0 , bStrokeVariation : 0 , bArmStyle : 0 , bLetterform : 0 , bMidline : 0 , bXHeight : 0 } } } impl :: std :: fmt :: Debug for PANOSE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "PANOSE" ) . field ( "bFamilyType" , & self . bFamilyType ) . field ( "bSerifStyle" , & self . bSerifStyle ) . field ( "bWeight" , & self . bWeight ) . field ( "bProportion" , & self . bProportion ) . field ( "bContrast" , & self . bContrast ) . field ( "bStrokeVariation" , & self . bStrokeVariation ) . field ( "bArmStyle" , & self . bArmStyle ) . field ( "bLetterform" , & self . bLetterform ) . field ( "bMidline" , & self . bMidline ) . field ( "bXHeight" , & self . bXHeight ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PANOSE { fn eq ( & self , other : & Self ) -> bool { self . bFamilyType == other . bFamilyType && self . bSerifStyle == other . bSerifStyle && self . bWeight == other . bWeight && self . bProportion == other . bProportion && self . bContrast == other . bContrast && self . bStrokeVariation == other . bStrokeVariation && self . bArmStyle == other . bArmStyle && self . bLetterform == other . bLetterform && self . bMidline == other . bMidline && self . bXHeight == other . bXHeight } } impl :: std :: cmp :: Eq for PANOSE { } unsafe impl :: windows :: Abi for PANOSE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct POINTFX { pub x : FIXED , pub y : FIXED } impl POINTFX { } impl :: std :: default :: Default for POINTFX { fn default ( ) -> Self { Self { x : :: std :: default :: Default :: default ( ) , y : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for POINTFX { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "POINTFX" ) . field ( "x" , & self . x ) . field ( "y" , & self . y ) . finish ( ) } } impl :: std :: cmp :: PartialEq for POINTFX { fn eq ( & self , other : & Self ) -> bool { self . x == other . x && self . y == other . y } } impl :: std :: cmp :: Eq for POINTFX { } unsafe impl :: windows :: Abi for POINTFX { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct TRIVERTEX { pub x : i32 , pub y : i32 , pub Red : u16 , pub Green : u16 , pub Blue : u16 , pub Alpha : u16 } impl TRIVERTEX { } impl :: std :: default :: Default for TRIVERTEX { fn default ( ) -> Self { Self { x : 0 , y : 0 , Red : 0 , Green : 0 , Blue : 0 , Alpha : 0 } } } impl :: std :: fmt :: Debug for TRIVERTEX { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "TRIVERTEX" ) . field ( "x" , & self . x ) . field ( "y" , & self . y ) . field ( "Red" , & self . Red ) . field ( "Green" , & self . Green ) . field ( "Blue" , & self . Blue ) . field ( "Alpha" , & self . Alpha ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TRIVERTEX { fn eq ( & self , other : & Self ) -> bool { self . x == other . x && self . y == other . y && self . Red == other . Red && self . Green == other . Green && self . Blue == other . Blue && self . Alpha == other . Alpha } } impl :: std :: cmp :: Eq for TRIVERTEX { } unsafe impl :: windows :: Abi for TRIVERTEX { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct TTPOLYGONHEADER { pub cb : u32 , pub dwType : u32 , pub pfxStart : POINTFX } impl TTPOLYGONHEADER { } impl :: std :: default :: Default for TTPOLYGONHEADER { fn default ( ) -> Self { Self { cb : 0 , dwType : 0 , pfxStart : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for TTPOLYGONHEADER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "TTPOLYGONHEADER" ) . field ( "cb" , & self . cb ) . field ( "dwType" , & self . dwType ) . field ( "pfxStart" , & self . pfxStart ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TTPOLYGONHEADER { fn eq ( & self , other : & Self ) -> bool { self . cb == other . cb && self . dwType == other . dwType && self . pfxStart == other . pfxStart } } impl :: std :: cmp :: Eq for TTPOLYGONHEADER { } unsafe impl :: windows :: Abi for TTPOLYGONHEADER { type Abi = Self ; type DefaultType = Self ; } } # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod OpenGL { # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PIXELFORMATDESCRIPTOR { pub nSize : u16 , pub nVersion : u16 , pub dwFlags : u32 , pub iPixelType : u8 , pub cColorBits : u8 , pub cRedBits : u8 , pub cRedShift : u8 , pub cGreenBits : u8 , pub cGreenShift : u8 , pub cBlueBits : u8 , pub cBlueShift : u8 , pub cAlphaBits : u8 , pub cAlphaShift : u8 , pub cAccumBits : u8 , pub cAccumRedBits : u8 , pub cAccumGreenBits : u8 , pub cAccumBlueBits : u8 , pub cAccumAlphaBits : u8 , pub cDepthBits : u8 , pub cStencilBits : u8 , pub cAuxBuffers : u8 , pub iLayerType : u8 , pub bReserved : u8 , pub dwLayerMask : u32 , pub dwVisibleMask : u32 , pub dwDamageMask : u32 } impl PIXELFORMATDESCRIPTOR { } impl :: std :: default :: Default for PIXELFORMATDESCRIPTOR { fn default ( ) -> Self { Self { nSize : 0 , nVersion : 0 , dwFlags : 0 , iPixelType : 0 , cColorBits : 0 , cRedBits : 0 , cRedShift : 0 , cGreenBits : 0 , cGreenShift : 0 , cBlueBits : 0 , cBlueShift : 0 , cAlphaBits : 0 , cAlphaShift : 0 , cAccumBits : 0 , cAccumRedBits : 0 , cAccumGreenBits : 0 , cAccumBlueBits : 0 , cAccumAlphaBits : 0 , cDepthBits : 0 , cStencilBits : 0 , cAuxBuffers : 0 , iLayerType : 0 , bReserved : 0 , dwLayerMask : 0 , dwVisibleMask : 0 , dwDamageMask : 0 } } } impl :: std :: fmt :: Debug for PIXELFORMATDESCRIPTOR { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "PIXELFORMATDESCRIPTOR" ) . field ( "nSize" , & self . nSize ) . field ( "nVersion" , & self . nVersion ) . field ( "dwFlags" , & self . dwFlags ) . field ( "iPixelType" , & self . iPixelType ) . field ( "cColorBits" , & self . cColorBits ) . field ( "cRedBits" , & self . cRedBits ) . field ( "cRedShift" , & self . cRedShift ) . field ( "cGreenBits" , & self . cGreenBits ) . field ( "cGreenShift" , & self . cGreenShift ) . field ( "cBlueBits" , & self . cBlueBits ) . field ( "cBlueShift" , & self . cBlueShift ) . field ( "cAlphaBits" , & self . cAlphaBits ) . field ( "cAlphaShift" , & self . cAlphaShift ) . field ( "cAccumBits" , & self . cAccumBits ) . field ( "cAccumRedBits" , & self . cAccumRedBits ) . field ( "cAccumGreenBits" , & self . cAccumGreenBits ) . field ( "cAccumBlueBits" , & self . cAccumBlueBits ) . field ( "cAccumAlphaBits" , & self . cAccumAlphaBits ) . field ( "cDepthBits" , & self . cDepthBits ) . field ( "cStencilBits" , & self . cStencilBits ) . field ( "cAuxBuffers" , & self . cAuxBuffers ) . field ( "iLayerType" , & self . iLayerType ) . field ( "bReserved" , & self . bReserved ) . field ( "dwLayerMask" , & self . dwLayerMask ) . field ( "dwVisibleMask" , & self . dwVisibleMask ) . field ( "dwDamageMask" , & self . dwDamageMask ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PIXELFORMATDESCRIPTOR { fn eq ( & self , other : & Self ) -> bool { self . nSize == other . nSize && self . nVersion == other . nVersion && self . dwFlags == other . dwFlags && self . iPixelType == other . iPixelType && self . cColorBits == other . cColorBits && self . cRedBits == other . cRedBits && self . cRedShift == other . cRedShift && self . cGreenBits == other . cGreenBits && self . cGreenShift == other . cGreenShift && self . cBlueBits == other . cBlueBits && self . cBlueShift == other . cBlueShift && self . cAlphaBits == other . cAlphaBits && self . cAlphaShift == other . cAlphaShift && self . cAccumBits == other . cAccumBits && self . cAccumRedBits == other . cAccumRedBits && self . cAccumGreenBits == other . cAccumGreenBits && self . cAccumBlueBits == other . cAccumBlueBits && self . cAccumAlphaBits == other . cAccumAlphaBits && self . cDepthBits == other . cDepthBits && self . cStencilBits == other . cStencilBits && self . cAuxBuffers == other . cAuxBuffers && self . iLayerType == other . iLayerType && self . bReserved == other . bReserved && self . dwLayerMask == other . dwLayerMask && self . dwVisibleMask == other . dwVisibleMask && self . dwDamageMask == other . dwDamageMask } } impl :: std :: cmp :: Eq for PIXELFORMATDESCRIPTOR { } unsafe impl :: windows :: Abi for PIXELFORMATDESCRIPTOR { type Abi = Self ; type DefaultType = Self ; } } } # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod Security { # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct ACE_HEADER { pub AceType : u8 , pub AceFlags : u8 , pub AceSize : u16 } impl ACE_HEADER { } impl :: std :: default :: Default for ACE_HEADER { fn default ( ) -> Self { Self { AceType : 0 , AceFlags : 0 , AceSize : 0 } } } impl :: std :: fmt :: Debug for ACE_HEADER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "ACE_HEADER" ) . field ( "AceType" , & self . AceType ) . field ( "AceFlags" , & self . AceFlags ) . field ( "AceSize" , & self . AceSize ) . finish ( ) } } impl :: std :: cmp :: PartialEq for ACE_HEADER { fn eq ( & self , other : & Self ) -> bool { self . AceType == other . AceType && self . AceFlags == other . AceFlags && self . AceSize == other . AceSize } } impl :: std :: cmp :: Eq for ACE_HEADER { } unsafe impl :: windows :: Abi for ACE_HEADER { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct ACL { pub AclRevision : u8 , pub Sbz1 : u8 , pub AclSize : u16 , pub AceCount : u16 , pub Sbz2 : u16 } impl ACL { } impl :: std :: default :: Default for ACL { fn default ( ) -> Self { Self { AclRevision : 0 , Sbz1 : 0 , AclSize : 0 , AceCount : 0 , Sbz2 : 0 } } } impl :: std :: fmt :: Debug for ACL { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "ACL" ) . field ( "AclRevision" , & self . AclRevision ) . field ( "Sbz1" , & self . Sbz1 ) . field ( "AclSize" , & self . AclSize ) . field ( "AceCount" , & self . AceCount ) . field ( "Sbz2" , & self . Sbz2 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for ACL { fn eq ( & self , other : & Self ) -> bool { self . AclRevision == other . AclRevision && self . Sbz1 == other . Sbz1 && self . AclSize == other . AclSize && self . AceCount == other . AceCount && self . Sbz2 == other . Sbz2 } } impl :: std :: cmp :: Eq for ACL { } unsafe impl :: windows :: Abi for ACL { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct GENERIC_MAPPING { pub GenericRead : u32 , pub GenericWrite : u32 , pub GenericExecute : u32 , pub GenericAll : u32 } impl GENERIC_MAPPING { } impl :: std :: default :: Default for GENERIC_MAPPING { fn default ( ) -> Self { Self { GenericRead : 0 , GenericWrite : 0 , GenericExecute : 0 , GenericAll : 0 } } } impl :: std :: fmt :: Debug for GENERIC_MAPPING { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "GENERIC_MAPPING" ) . field ( "GenericRead" , & self . GenericRead ) . field ( "GenericWrite" , & self . GenericWrite ) . field ( "GenericExecute" , & self . GenericExecute ) . field ( "GenericAll" , & self . GenericAll ) . finish ( ) } } impl :: std :: cmp :: PartialEq for GENERIC_MAPPING { fn eq ( & self , other : & Self ) -> bool { self . GenericRead == other . GenericRead && self . GenericWrite == other . GenericWrite && self . GenericExecute == other . GenericExecute && self . GenericAll == other . GenericAll } } impl :: std :: cmp :: Eq for GENERIC_MAPPING { } unsafe impl :: windows :: Abi for GENERIC_MAPPING { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct LUID_AND_ATTRIBUTES { pub Luid : super::System::SystemServices:: LUID , pub Attributes : TOKEN_PRIVILEGES_ATTRIBUTES } impl LUID_AND_ATTRIBUTES { } impl :: std :: default :: Default for LUID_AND_ATTRIBUTES { fn default ( ) -> Self { Self { Luid : :: std :: default :: Default :: default ( ) , Attributes : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for LUID_AND_ATTRIBUTES { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "LUID_AND_ATTRIBUTES" ) . field ( "Luid" , & self . Luid ) . field ( "Attributes" , & self . Attributes ) . finish ( ) } } impl :: std :: cmp :: PartialEq for LUID_AND_ATTRIBUTES { fn eq ( & self , other : & Self ) -> bool { self . Luid == other . Luid && self . Attributes == other . Attributes } } impl :: std :: cmp :: Eq for LUID_AND_ATTRIBUTES { } unsafe impl :: windows :: Abi for LUID_AND_ATTRIBUTES { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct OBJECT_TYPE_LIST { pub Level : u16 , pub Sbz : u16 , pub ObjectType : * mut :: windows :: Guid } impl OBJECT_TYPE_LIST { } impl :: std :: default :: Default for OBJECT_TYPE_LIST { fn default ( ) -> Self { Self { Level : 0 , Sbz : 0 , ObjectType : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for OBJECT_TYPE_LIST { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "OBJECT_TYPE_LIST" ) . field ( "Level" , & self . Level ) . field ( "Sbz" , & self . Sbz ) . field ( "ObjectType" , & self . ObjectType ) . finish ( ) } } impl :: std :: cmp :: PartialEq for OBJECT_TYPE_LIST { fn eq ( & self , other : & Self ) -> bool { self . Level == other . Level && self . Sbz == other . Sbz && self . ObjectType == other . ObjectType } } impl :: std :: cmp :: Eq for OBJECT_TYPE_LIST { } unsafe impl :: windows :: Abi for OBJECT_TYPE_LIST { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PRIVILEGE_SET { pub PrivilegeCount : u32 , pub Control : u32 , pub Privilege : [ LUID_AND_ATTRIBUTES ;1 ] } impl PRIVILEGE_SET { } impl :: std :: default :: Default for PRIVILEGE_SET { fn default ( ) -> Self { Self { PrivilegeCount : 0 , Control : 0 , Privilege : [ :: std :: default :: Default :: default ( ) ;1 ] } } } impl :: std :: fmt :: Debug for PRIVILEGE_SET { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "PRIVILEGE_SET" ) . field ( "PrivilegeCount" , & self . PrivilegeCount ) . field ( "Control" , & self . Control ) . field ( "Privilege" , & self . Privilege ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PRIVILEGE_SET { fn eq ( & self , other : & Self ) -> bool { self . PrivilegeCount == other . PrivilegeCount && self . Control == other . Control && self . Privilege == other . Privilege } } impl :: std :: cmp :: Eq for PRIVILEGE_SET { } unsafe impl :: windows :: Abi for PRIVILEGE_SET { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SECURITY_ATTRIBUTES { pub nLength : u32 , pub lpSecurityDescriptor : * mut :: std :: ffi :: c_void , pub bInheritHandle : super::Foundation:: BOOL } impl SECURITY_ATTRIBUTES { } impl :: std :: default :: Default for SECURITY_ATTRIBUTES { fn default ( ) -> Self { Self { nLength : 0 , lpSecurityDescriptor : :: std :: ptr :: null_mut ( ) , bInheritHandle : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for SECURITY_ATTRIBUTES { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SECURITY_ATTRIBUTES" ) . field ( "nLength" , & self . nLength ) . field ( "lpSecurityDescriptor" , & self . lpSecurityDescriptor ) . field ( "bInheritHandle" , & self . bInheritHandle ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SECURITY_ATTRIBUTES { fn eq ( & self , other : & Self ) -> bool { self . nLength == other . nLength && self . lpSecurityDescriptor == other . lpSecurityDescriptor && self . bInheritHandle == other . bInheritHandle } } impl :: std :: cmp :: Eq for SECURITY_ATTRIBUTES { } unsafe impl :: windows :: Abi for SECURITY_ATTRIBUTES { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SECURITY_DESCRIPTOR { pub Revision : u8 , pub Sbz1 : u8 , pub Control : u16 , pub Owner : super::Foundation:: PSID , pub Group : super::Foundation:: PSID , pub Sacl : * mut ACL , pub Dacl : * mut ACL } impl SECURITY_DESCRIPTOR { } impl :: std :: default :: Default for SECURITY_DESCRIPTOR { fn default ( ) -> Self { Self { Revision : 0 , Sbz1 : 0 , Control : 0 , Owner : :: std :: default :: Default :: default ( ) , Group : :: std :: default :: Default :: default ( ) , Sacl : :: std :: ptr :: null_mut ( ) , Dacl : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for SECURITY_DESCRIPTOR { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SECURITY_DESCRIPTOR" ) . field ( "Revision" , & self . Revision ) . field ( "Sbz1" , & self . Sbz1 ) . field ( "Control" , & self . Control ) . field ( "Owner" , & self . Owner ) . field ( "Group" , & self . Group ) . field ( "Sacl" , & self . Sacl ) . field ( "Dacl" , & self . Dacl ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SECURITY_DESCRIPTOR { fn eq ( & self , other : & Self ) -> bool { self . Revision == other . Revision && self . Sbz1 == other . Sbz1 && self . Control == other . Control && self . Owner == other . Owner && self . Group == other . Group && self . Sacl == other . Sacl && self . Dacl == other . Dacl } } impl :: std :: cmp :: Eq for SECURITY_DESCRIPTOR { } unsafe impl :: windows :: Abi for SECURITY_DESCRIPTOR { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct SECURITY_IMPERSONATION_LEVEL ( pub i32 ) ; pub const SecurityAnonymous : SECURITY_IMPERSONATION_LEVEL = SECURITY_IMPERSONATION_LEVEL ( 0i32 ) ; pub const SecurityIdentification : SECURITY_IMPERSONATION_LEVEL = SECURITY_IMPERSONATION_LEVEL ( 1i32 ) ; pub const SecurityImpersonation : SECURITY_IMPERSONATION_LEVEL = SECURITY_IMPERSONATION_LEVEL ( 2i32 ) ; pub const SecurityDelegation : SECURITY_IMPERSONATION_LEVEL = SECURITY_IMPERSONATION_LEVEL ( 3i32 ) ; impl :: std :: convert :: From < i32 > for SECURITY_IMPERSONATION_LEVEL { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for SECURITY_IMPERSONATION_LEVEL { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SID { pub Revision : u8 , pub SubAuthorityCount : u8 , pub IdentifierAuthority : SID_IDENTIFIER_AUTHORITY , pub SubAuthority : [ u32 ;1 ] } impl SID { } impl :: std :: default :: Default for SID { fn default ( ) -> Self { Self { Revision : 0 , SubAuthorityCount : 0 , IdentifierAuthority : :: std :: default :: Default :: default ( ) , SubAuthority : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for SID { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SID" ) . field ( "Revision" , & self . Revision ) . field ( "SubAuthorityCount" , & self . SubAuthorityCount ) . field ( "IdentifierAuthority" , & self . IdentifierAuthority ) . field ( "SubAuthority" , & self . SubAuthority ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SID { fn eq ( & self , other : & Self ) -> bool { self . Revision == other . Revision && self . SubAuthorityCount == other . SubAuthorityCount && self . IdentifierAuthority == other . IdentifierAuthority && self . SubAuthority == other . SubAuthority } } impl :: std :: cmp :: Eq for SID { } unsafe impl :: windows :: Abi for SID { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SID_AND_ATTRIBUTES { pub Sid : super::Foundation:: PSID , pub Attributes : u32 } impl SID_AND_ATTRIBUTES { } impl :: std :: default :: Default for SID_AND_ATTRIBUTES { fn default ( ) -> Self { Self { Sid : :: std :: default :: Default :: default ( ) , Attributes : 0 } } } impl :: std :: fmt :: Debug for SID_AND_ATTRIBUTES { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SID_AND_ATTRIBUTES" ) . field ( "Sid" , & self . Sid ) . field ( "Attributes" , & self . Attributes ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SID_AND_ATTRIBUTES { fn eq ( & self , other : & Self ) -> bool { self . Sid == other . Sid && self . Attributes == other . Attributes } } impl :: std :: cmp :: Eq for SID_AND_ATTRIBUTES { } unsafe impl :: windows :: Abi for SID_AND_ATTRIBUTES { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SID_IDENTIFIER_AUTHORITY { pub Value : [ u8 ;6 ] } impl SID_IDENTIFIER_AUTHORITY { } impl :: std :: default :: Default for SID_IDENTIFIER_AUTHORITY { fn default ( ) -> Self { Self { Value : [ 0 ;6 ] } } } impl :: std :: fmt :: Debug for SID_IDENTIFIER_AUTHORITY { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SID_IDENTIFIER_AUTHORITY" ) . field ( "Value" , & self . Value ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SID_IDENTIFIER_AUTHORITY { fn eq ( & self , other : & Self ) -> bool { self . Value == other . Value } } impl :: std :: cmp :: Eq for SID_IDENTIFIER_AUTHORITY { } unsafe impl :: windows :: Abi for SID_IDENTIFIER_AUTHORITY { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct TOKEN_ACCESS_MASK ( pub u32 ) ; pub const TOKEN_DELETE : TOKEN_ACCESS_MASK = TOKEN_ACCESS_MASK ( 65536u32 ) ; pub const TOKEN_READ_CONTROL : TOKEN_ACCESS_MASK = TOKEN_ACCESS_MASK ( 131072u32 ) ; pub const TOKEN_WRITE_DAC : TOKEN_ACCESS_MASK = TOKEN_ACCESS_MASK ( 262144u32 ) ; pub const TOKEN_WRITE_OWNER : TOKEN_ACCESS_MASK = TOKEN_ACCESS_MASK ( 524288u32 ) ; pub const TOKEN_ACCESS_SYSTEM_SECURITY : TOKEN_ACCESS_MASK = TOKEN_ACCESS_MASK ( 16777216u32 ) ; pub const TOKEN_ASSIGN_PRIMARY : TOKEN_ACCESS_MASK = TOKEN_ACCESS_MASK ( 1u32 ) ; pub const TOKEN_DUPLICATE : TOKEN_ACCESS_MASK = TOKEN_ACCESS_MASK ( 2u32 ) ; pub const TOKEN_IMPERSONATE : TOKEN_ACCESS_MASK = TOKEN_ACCESS_MASK ( 4u32 ) ; pub const TOKEN_QUERY : TOKEN_ACCESS_MASK = TOKEN_ACCESS_MASK ( 8u32 ) ; pub const TOKEN_QUERY_SOURCE : TOKEN_ACCESS_MASK = TOKEN_ACCESS_MASK ( 16u32 ) ; pub const TOKEN_ADJUST_PRIVILEGES : TOKEN_ACCESS_MASK = TOKEN_ACCESS_MASK ( 32u32 ) ; pub const TOKEN_ADJUST_GROUPS : TOKEN_ACCESS_MASK = TOKEN_ACCESS_MASK ( 64u32 ) ; pub const TOKEN_ADJUST_DEFAULT : TOKEN_ACCESS_MASK = TOKEN_ACCESS_MASK ( 128u32 ) ; pub const TOKEN_ADJUST_SESSIONID : TOKEN_ACCESS_MASK = TOKEN_ACCESS_MASK ( 256u32 ) ; pub const TOKEN_ALL_ACCESS : TOKEN_ACCESS_MASK = TOKEN_ACCESS_MASK ( 983295u32 ) ; impl :: std :: convert :: From < u32 > for TOKEN_ACCESS_MASK { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for TOKEN_ACCESS_MASK { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for TOKEN_ACCESS_MASK { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for TOKEN_ACCESS_MASK { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for TOKEN_ACCESS_MASK { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for TOKEN_ACCESS_MASK { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct TOKEN_GROUPS { pub GroupCount : u32 , pub Groups : [ SID_AND_ATTRIBUTES ;1 ] } impl TOKEN_GROUPS { } impl :: std :: default :: Default for TOKEN_GROUPS { fn default ( ) -> Self { Self { GroupCount : 0 , Groups : [ :: std :: default :: Default :: default ( ) ;1 ] } } } impl :: std :: fmt :: Debug for TOKEN_GROUPS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "TOKEN_GROUPS" ) . field ( "GroupCount" , & self . GroupCount ) . field ( "Groups" , & self . Groups ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TOKEN_GROUPS { fn eq ( & self , other : & Self ) -> bool { self . GroupCount == other . GroupCount && self . Groups == other . Groups } } impl :: std :: cmp :: Eq for TOKEN_GROUPS { } unsafe impl :: windows :: Abi for TOKEN_GROUPS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct TOKEN_PRIVILEGES { pub PrivilegeCount : u32 , pub Privileges : [ LUID_AND_ATTRIBUTES ;1 ] } impl TOKEN_PRIVILEGES { } impl :: std :: default :: Default for TOKEN_PRIVILEGES { fn default ( ) -> Self { Self { PrivilegeCount : 0 , Privileges : [ :: std :: default :: Default :: default ( ) ;1 ] } } } impl :: std :: fmt :: Debug for TOKEN_PRIVILEGES { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "TOKEN_PRIVILEGES" ) . field ( "PrivilegeCount" , & self . PrivilegeCount ) . field ( "Privileges" , & self . Privileges ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TOKEN_PRIVILEGES { fn eq ( & self , other : & Self ) -> bool { self . PrivilegeCount == other . PrivilegeCount && self . Privileges == other . Privileges } } impl :: std :: cmp :: Eq for TOKEN_PRIVILEGES { } unsafe impl :: windows :: Abi for TOKEN_PRIVILEGES { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct TOKEN_PRIVILEGES_ATTRIBUTES ( pub u32 ) ; pub const SE_PRIVILEGE_ENABLED : TOKEN_PRIVILEGES_ATTRIBUTES = TOKEN_PRIVILEGES_ATTRIBUTES ( 2u32 ) ; pub const SE_PRIVILEGE_ENABLED_BY_DEFAULT : TOKEN_PRIVILEGES_ATTRIBUTES = TOKEN_PRIVILEGES_ATTRIBUTES ( 1u32 ) ; pub const SE_PRIVILEGE_REMOVED : TOKEN_PRIVILEGES_ATTRIBUTES = TOKEN_PRIVILEGES_ATTRIBUTES ( 4u32 ) ; pub const SE_PRIVILEGE_USED_FOR_ACCESS : TOKEN_PRIVILEGES_ATTRIBUTES = TOKEN_PRIVILEGES_ATTRIBUTES ( 2147483648u32 ) ; impl :: std :: convert :: From < u32 > for TOKEN_PRIVILEGES_ATTRIBUTES { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for TOKEN_PRIVILEGES_ATTRIBUTES { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for TOKEN_PRIVILEGES_ATTRIBUTES { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for TOKEN_PRIVILEGES_ATTRIBUTES { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for TOKEN_PRIVILEGES_ATTRIBUTES { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for TOKEN_PRIVILEGES_ATTRIBUTES { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct TOKEN_USER { pub User : SID_AND_ATTRIBUTES } impl TOKEN_USER { } impl :: std :: default :: Default for TOKEN_USER { fn default ( ) -> Self { Self { User : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for TOKEN_USER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "TOKEN_USER" ) . field ( "User" , & self . User ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TOKEN_USER { fn eq ( & self , other : & Self ) -> bool { self . User == other . User } } impl :: std :: cmp :: Eq for TOKEN_USER { } unsafe impl :: windows :: Abi for TOKEN_USER { type Abi = Self ; type DefaultType = Self ; } } # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod Storage { # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod FileSystem { pub unsafe fn AddLogContainer < 'a , > ( hlog : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , pcbcontainer : * mut u64 , pwszcontainerpath : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , preserved : * mut :: std :: ffi :: c_void , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="clfsw32" ) ] extern "system" { fn AddLogContainer ( hlog : super::super::Foundation:: HANDLE , pcbcontainer : * mut u64 , pwszcontainerpath : super::super::Foundation:: PWSTR , preserved : * mut :: std :: ffi :: c_void ) -> super::super::Foundation:: BOOL ; } AddLogContainer ( hlog . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pcbcontainer ) , pwszcontainerpath . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( preserved ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn AddLogContainerSet < 'a , > ( hlog : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , ccontainer : u16 , pcbcontainer : * mut u64 , rgwszcontainerpath : * mut super::super::Foundation:: PWSTR , preserved : * mut :: std :: ffi :: c_void , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="clfsw32" ) ] extern "system" { fn AddLogContainerSet ( hlog : super::super::Foundation:: HANDLE , ccontainer : u16 , pcbcontainer : * mut u64 , rgwszcontainerpath : * mut super::super::Foundation:: PWSTR , preserved : * mut :: std :: ffi :: c_void ) -> super::super::Foundation:: BOOL ; } AddLogContainerSet ( hlog . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ccontainer ) , :: std :: mem :: transmute ( pcbcontainer ) , :: std :: mem :: transmute ( rgwszcontainerpath ) , :: std :: mem :: transmute ( preserved ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn AddUsersToEncryptedFile < 'a , > ( lpfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , pencryptioncertificates : * mut ENCRYPTION_CERTIFICATE_LIST , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="ADVAPI32" ) ] extern "system" { fn AddUsersToEncryptedFile ( lpfilename : super::super::Foundation:: PWSTR , pencryptioncertificates : * mut ENCRYPTION_CERTIFICATE_LIST ) -> u32 ; } AddUsersToEncryptedFile ( lpfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pencryptioncertificates ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn AdvanceLogBase < > ( pvmarshal : * mut :: std :: ffi :: c_void , plsnbase : * mut CLS_LSN , fflags : u32 , poverlapped : * mut super::super::System::SystemServices:: OVERLAPPED , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="clfsw32" ) ] extern "system" { fn AdvanceLogBase ( pvmarshal : * mut :: std :: ffi :: c_void , plsnbase : * mut CLS_LSN , fflags : u32 , poverlapped : * mut super::super::System::SystemServices:: OVERLAPPED ) -> super::super::Foundation:: BOOL ; } AdvanceLogBase ( :: std :: mem :: transmute ( pvmarshal ) , :: std :: mem :: transmute ( plsnbase ) , :: std :: mem :: transmute ( fflags ) , :: std :: mem :: transmute ( poverlapped ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn AlignReservedLog < > ( pvmarshal : * mut :: std :: ffi :: c_void , creservedrecords : u32 , rgcbreservation : * mut i64 , pcbalignreservation : * mut i64 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="clfsw32" ) ] extern "system" { fn AlignReservedLog ( pvmarshal : * mut :: std :: ffi :: c_void , creservedrecords : u32 , rgcbreservation : * mut i64 , pcbalignreservation : * mut i64 ) -> super::super::Foundation:: BOOL ; } AlignReservedLog ( :: std :: mem :: transmute ( pvmarshal ) , :: std :: mem :: transmute ( creservedrecords ) , :: std :: mem :: transmute ( rgcbreservation ) , :: std :: mem :: transmute ( pcbalignreservation ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn AllocReservedLog < > ( pvmarshal : * mut :: std :: ffi :: c_void , creservedrecords : u32 , pcbadjustment : * mut i64 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="clfsw32" ) ] extern "system" { fn AllocReservedLog ( pvmarshal : * mut :: std :: ffi :: c_void , creservedrecords : u32 , pcbadjustment : * mut i64 ) -> super::super::Foundation:: BOOL ; } AllocReservedLog ( :: std :: mem :: transmute ( pvmarshal ) , :: std :: mem :: transmute ( creservedrecords ) , :: std :: mem :: transmute ( pcbadjustment ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn AreFileApisANSI < > ( ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn AreFileApisANSI ( ) -> super::super::Foundation:: BOOL ; } AreFileApisANSI ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct BOOT_AREA_INFO { pub BootSectorCount : u32 , pub BootSectors : [ BOOT_AREA_INFO_0 ;2 ] } impl BOOT_AREA_INFO { } impl :: std :: default :: Default for BOOT_AREA_INFO { fn default ( ) -> Self { Self { BootSectorCount : 0 , BootSectors : [ :: std :: default :: Default :: default ( ) ;2 ] } } } impl :: std :: fmt :: Debug for BOOT_AREA_INFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "BOOT_AREA_INFO" ) . field ( "BootSectorCount" , & self . BootSectorCount ) . field ( "BootSectors" , & self . BootSectors ) . finish ( ) } } impl :: std :: cmp :: PartialEq for BOOT_AREA_INFO { fn eq ( & self , other : & Self ) -> bool { self . BootSectorCount == other . BootSectorCount && self . BootSectors == other . BootSectors } } impl :: std :: cmp :: Eq for BOOT_AREA_INFO { } unsafe impl :: windows :: Abi for BOOT_AREA_INFO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct BOOT_AREA_INFO_0 { pub Offset : i64 } impl BOOT_AREA_INFO_0 { } impl :: std :: default :: Default for BOOT_AREA_INFO_0 { fn default ( ) -> Self { Self { Offset : 0 } } } impl :: std :: fmt :: Debug for BOOT_AREA_INFO_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Anonymous_e__Struct" ) . field ( "Offset" , & self . Offset ) . finish ( ) } } impl :: std :: cmp :: PartialEq for BOOT_AREA_INFO_0 { fn eq ( & self , other : & Self ) -> bool { self . Offset == other . Offset } } impl :: std :: cmp :: Eq for BOOT_AREA_INFO_0 { } unsafe impl :: windows :: Abi for BOOT_AREA_INFO_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct BY_HANDLE_FILE_INFORMATION { pub dwFileAttributes : u32 , pub ftCreationTime : super::super::Foundation:: FILETIME , pub ftLastAccessTime : super::super::Foundation:: FILETIME , pub ftLastWriteTime : super::super::Foundation:: FILETIME , pub dwVolumeSerialNumber : u32 , pub nFileSizeHigh : u32 , pub nFileSizeLow : u32 , pub nNumberOfLinks : u32 , pub nFileIndexHigh : u32 , pub nFileIndexLow : u32 } impl BY_HANDLE_FILE_INFORMATION { } impl :: std :: default :: Default for BY_HANDLE_FILE_INFORMATION { fn default ( ) -> Self { Self { dwFileAttributes : 0 , ftCreationTime : :: std :: default :: Default :: default ( ) , ftLastAccessTime : :: std :: default :: Default :: default ( ) , ftLastWriteTime : :: std :: default :: Default :: default ( ) , dwVolumeSerialNumber : 0 , nFileSizeHigh : 0 , nFileSizeLow : 0 , nNumberOfLinks : 0 , nFileIndexHigh : 0 , nFileIndexLow : 0 } } } impl :: std :: fmt :: Debug for BY_HANDLE_FILE_INFORMATION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "BY_HANDLE_FILE_INFORMATION" ) . field ( "dwFileAttributes" , & self . dwFileAttributes ) . field ( "ftCreationTime" , & self . ftCreationTime ) . field ( "ftLastAccessTime" , & self . ftLastAccessTime ) . field ( "ftLastWriteTime" , & self . ftLastWriteTime ) . field ( "dwVolumeSerialNumber" , & self . dwVolumeSerialNumber ) . field ( "nFileSizeHigh" , & self . nFileSizeHigh ) . field ( "nFileSizeLow" , & self . nFileSizeLow ) . field ( "nNumberOfLinks" , & self . nNumberOfLinks ) . field ( "nFileIndexHigh" , & self . nFileIndexHigh ) . field ( "nFileIndexLow" , & self . nFileIndexLow ) . finish ( ) } } impl :: std :: cmp :: PartialEq for BY_HANDLE_FILE_INFORMATION { fn eq ( & self , other : & Self ) -> bool { self . dwFileAttributes == other . dwFileAttributes && self . ftCreationTime == other . ftCreationTime && self . ftLastAccessTime == other . ftLastAccessTime && self . ftLastWriteTime == other . ftLastWriteTime && self . dwVolumeSerialNumber == other . dwVolumeSerialNumber && self . nFileSizeHigh == other . nFileSizeHigh && self . nFileSizeLow == other . nFileSizeLow && self . nNumberOfLinks == other . nNumberOfLinks && self . nFileIndexHigh == other . nFileIndexHigh && self . nFileIndexLow == other . nFileIndexLow } } impl :: std :: cmp :: Eq for BY_HANDLE_FILE_INFORMATION { } unsafe impl :: windows :: Abi for BY_HANDLE_FILE_INFORMATION { type Abi = Self ; type DefaultType = Self ; } pub unsafe fn BackupRead < 'a , > ( hfile : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , lpbuffer : * mut u8 , nnumberofbytestoread : u32 , lpnumberofbytesread : * mut u32 , babort : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , bprocesssecurity : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , lpcontext : * mut * mut :: std :: ffi :: c_void , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn BackupRead ( hfile : super::super::Foundation:: HANDLE , lpbuffer : * mut u8 , nnumberofbytestoread : u32 , lpnumberofbytesread : * mut u32 , babort : super::super::Foundation:: BOOL , bprocesssecurity : super::super::Foundation:: BOOL , lpcontext : * mut * mut :: std :: ffi :: c_void ) -> super::super::Foundation:: BOOL ; } BackupRead ( hfile . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpbuffer ) , :: std :: mem :: transmute ( nnumberofbytestoread ) , :: std :: mem :: transmute ( lpnumberofbytesread ) , babort . into_param ( ) . abi ( ) , bprocesssecurity . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpcontext ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn BackupSeek < 'a , > ( hfile : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , dwlowbytestoseek : u32 , dwhighbytestoseek : u32 , lpdwlowbyteseeked : * mut u32 , lpdwhighbyteseeked : * mut u32 , lpcontext : * mut * mut :: std :: ffi :: c_void , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn BackupSeek ( hfile : super::super::Foundation:: HANDLE , dwlowbytestoseek : u32 , dwhighbytestoseek : u32 , lpdwlowbyteseeked : * mut u32 , lpdwhighbyteseeked : * mut u32 , lpcontext : * mut * mut :: std :: ffi :: c_void ) -> super::super::Foundation:: BOOL ; } BackupSeek ( hfile . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwlowbytestoseek ) , :: std :: mem :: transmute ( dwhighbytestoseek ) , :: std :: mem :: transmute ( lpdwlowbyteseeked ) , :: std :: mem :: transmute ( lpdwhighbyteseeked ) , :: std :: mem :: transmute ( lpcontext ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn BackupWrite < 'a , > ( hfile : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , lpbuffer : * mut u8 , nnumberofbytestowrite : u32 , lpnumberofbyteswritten : * mut u32 , babort : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , bprocesssecurity : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , lpcontext : * mut * mut :: std :: ffi :: c_void , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn BackupWrite ( hfile : super::super::Foundation:: HANDLE , lpbuffer : * mut u8 , nnumberofbytestowrite : u32 , lpnumberofbyteswritten : * mut u32 , babort : super::super::Foundation:: BOOL , bprocesssecurity : super::super::Foundation:: BOOL , lpcontext : * mut * mut :: std :: ffi :: c_void ) -> super::super::Foundation:: BOOL ; } BackupWrite ( hfile . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpbuffer ) , :: std :: mem :: transmute ( nnumberofbytestowrite ) , :: std :: mem :: transmute ( lpnumberofbyteswritten ) , babort . into_param ( ) . abi ( ) , bprocesssecurity . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpcontext ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub type CLAIMMEDIALABEL = unsafe extern "system" fn ( pbuffer : * const u8 , nbuffersize : u32 , plabelinfo : * mut MediaLabelInfo ) -> u32 ; pub type CLAIMMEDIALABELEX = unsafe extern "system" fn ( pbuffer : * const u8 , nbuffersize : u32 , plabelinfo : * mut MediaLabelInfo , labelguid : * mut :: windows :: Guid ) -> u32 ; pub type CLFS_BLOCK_ALLOCATION = unsafe extern "system" fn ( cbbufferlength : u32 , pvusercontext : * mut :: std :: ffi :: c_void ) -> * mut :: std :: ffi :: c_void ; pub type CLFS_BLOCK_DEALLOCATION = unsafe extern "system" fn ( pvbuffer : * mut :: std :: ffi :: c_void , pvusercontext : * mut :: std :: ffi :: c_void ) ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct CLFS_CONTEXT_MODE ( pub i32 ) ; pub const ClfsContextNone : CLFS_CONTEXT_MODE = CLFS_CONTEXT_MODE ( 0i32 ) ; pub const ClfsContextUndoNext : CLFS_CONTEXT_MODE = CLFS_CONTEXT_MODE ( 1i32 ) ; pub const ClfsContextPrevious : CLFS_CONTEXT_MODE = CLFS_CONTEXT_MODE ( 2i32 ) ; pub const ClfsContextForward : CLFS_CONTEXT_MODE = CLFS_CONTEXT_MODE ( 3i32 ) ; impl :: std :: convert :: From < i32 > for CLFS_CONTEXT_MODE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for CLFS_CONTEXT_MODE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct CLFS_FLAG ( pub u32 ) ; pub const CLFS_FLAG_FORCE_APPEND : CLFS_FLAG = CLFS_FLAG ( 1u32 ) ; pub const CLFS_FLAG_FORCE_FLUSH : CLFS_FLAG = CLFS_FLAG ( 2u32 ) ; pub const CLFS_FLAG_NO_FLAGS : CLFS_FLAG = CLFS_FLAG ( 0u32 ) ; pub const CLFS_FLAG_USE_RESERVATION : CLFS_FLAG = CLFS_FLAG ( 4u32 ) ; impl :: std :: convert :: From < u32 > for CLFS_FLAG { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for CLFS_FLAG { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for CLFS_FLAG { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for CLFS_FLAG { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for CLFS_FLAG { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for CLFS_FLAG { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub const CLFS_FLAG_HIDDEN_SYSTEM_LOG : u32 = 512u32 ; pub const CLFS_FLAG_IGNORE_SHARE_ACCESS : u32 = 64u32 ; pub const CLFS_FLAG_MINIFILTER_LEVEL : u32 = 256u32 ; pub const CLFS_FLAG_NON_REENTRANT_FILTER : u32 = 16u32 ; pub const CLFS_FLAG_READ_IN_PROGRESS : u32 = 128u32 ; pub const CLFS_FLAG_REENTRANT_FILE_SYSTEM : u32 = 8u32 ; pub const CLFS_FLAG_REENTRANT_FILTER : u32 = 32u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct CLFS_IOSTATS_CLASS ( pub i32 ) ; pub const ClfsIoStatsDefault : CLFS_IOSTATS_CLASS = CLFS_IOSTATS_CLASS ( 0i32 ) ; pub const ClfsIoStatsMax : CLFS_IOSTATS_CLASS = CLFS_IOSTATS_CLASS ( 65535i32 ) ; impl :: std :: convert :: From < i32 > for CLFS_IOSTATS_CLASS { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for CLFS_IOSTATS_CLASS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct CLFS_LOG_ARCHIVE_MODE ( pub i32 ) ; pub const ClfsLogArchiveEnabled : CLFS_LOG_ARCHIVE_MODE = CLFS_LOG_ARCHIVE_MODE ( 1i32 ) ; pub const ClfsLogArchiveDisabled : CLFS_LOG_ARCHIVE_MODE = CLFS_LOG_ARCHIVE_MODE ( 2i32 ) ; impl :: std :: convert :: From < i32 > for CLFS_LOG_ARCHIVE_MODE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for CLFS_LOG_ARCHIVE_MODE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CLFS_LOG_NAME_INFORMATION { pub NameLengthInBytes : u16 , pub Name : [ u16 ;1 ] } impl CLFS_LOG_NAME_INFORMATION { } impl :: std :: default :: Default for CLFS_LOG_NAME_INFORMATION { fn default ( ) -> Self { Self { NameLengthInBytes : 0 , Name : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for CLFS_LOG_NAME_INFORMATION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CLFS_LOG_NAME_INFORMATION" ) . field ( "NameLengthInBytes" , & self . NameLengthInBytes ) . field ( "Name" , & self . Name ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CLFS_LOG_NAME_INFORMATION { fn eq ( & self , other : & Self ) -> bool { self . NameLengthInBytes == other . NameLengthInBytes && self . Name == other . Name } } impl :: std :: cmp :: Eq for CLFS_LOG_NAME_INFORMATION { } unsafe impl :: windows :: Abi for CLFS_LOG_NAME_INFORMATION { type Abi = Self ; type DefaultType = Self ; } pub const CLFS_MARSHALLING_FLAG_DISABLE_BUFF_INIT : u32 = 1u32 ; pub const CLFS_MARSHALLING_FLAG_NONE : u32 = 0u32 ; pub const CLFS_MAX_CONTAINER_INFO : u32 = 256u32 ; pub const CLFS_MGMT_CLIENT_REGISTRATION_VERSION : u32 = 1u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CLFS_MGMT_NOTIFICATION { pub Notification : CLFS_MGMT_NOTIFICATION_TYPE , pub Lsn : CLS_LSN , pub LogIsPinned : u16 } impl CLFS_MGMT_NOTIFICATION { } impl :: std :: default :: Default for CLFS_MGMT_NOTIFICATION { fn default ( ) -> Self { Self { Notification : :: std :: default :: Default :: default ( ) , Lsn : :: std :: default :: Default :: default ( ) , LogIsPinned : 0 } } } impl :: std :: fmt :: Debug for CLFS_MGMT_NOTIFICATION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CLFS_MGMT_NOTIFICATION" ) . field ( "Notification" , & self . Notification ) . field ( "Lsn" , & self . Lsn ) . field ( "LogIsPinned" , & self . LogIsPinned ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CLFS_MGMT_NOTIFICATION { fn eq ( & self , other : & Self ) -> bool { self . Notification == other . Notification && self . Lsn == other . Lsn && self . LogIsPinned == other . LogIsPinned } } impl :: std :: cmp :: Eq for CLFS_MGMT_NOTIFICATION { } unsafe impl :: windows :: Abi for CLFS_MGMT_NOTIFICATION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct CLFS_MGMT_NOTIFICATION_TYPE ( pub i32 ) ; pub const ClfsMgmtAdvanceTailNotification : CLFS_MGMT_NOTIFICATION_TYPE = CLFS_MGMT_NOTIFICATION_TYPE ( 0i32 ) ; pub const ClfsMgmtLogFullHandlerNotification : CLFS_MGMT_NOTIFICATION_TYPE = CLFS_MGMT_NOTIFICATION_TYPE ( 1i32 ) ; pub const ClfsMgmtLogUnpinnedNotification : CLFS_MGMT_NOTIFICATION_TYPE = CLFS_MGMT_NOTIFICATION_TYPE ( 2i32 ) ; pub const ClfsMgmtLogWriteNotification : CLFS_MGMT_NOTIFICATION_TYPE = CLFS_MGMT_NOTIFICATION_TYPE ( 3i32 ) ; impl :: std :: convert :: From < i32 > for CLFS_MGMT_NOTIFICATION_TYPE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for CLFS_MGMT_NOTIFICATION_TYPE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CLFS_MGMT_POLICY { pub Version : u32 , pub LengthInBytes : u32 , pub PolicyFlags : u32 , pub PolicyType : CLFS_MGMT_POLICY_TYPE , pub PolicyParameters : CLFS_MGMT_POLICY_0 } impl CLFS_MGMT_POLICY { } impl :: std :: cmp :: PartialEq for CLFS_MGMT_POLICY { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for CLFS_MGMT_POLICY { } unsafe impl :: windows :: Abi for CLFS_MGMT_POLICY { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union CLFS_MGMT_POLICY_0 { pub MaximumSize : CLFS_MGMT_POLICY_0_4 , pub MinimumSize : CLFS_MGMT_POLICY_0_5 , pub NewContainerSize : CLFS_MGMT_POLICY_0_8 , pub GrowthRate : CLFS_MGMT_POLICY_0_2 , pub LogTail : CLFS_MGMT_POLICY_0_3 , pub AutoShrink : CLFS_MGMT_POLICY_0_1 , pub AutoGrow : CLFS_MGMT_POLICY_0_0 , pub NewContainerPrefix : CLFS_MGMT_POLICY_0_7 , pub NewContainerSuffix : CLFS_MGMT_POLICY_0_9 , pub NewContainerExtension : CLFS_MGMT_POLICY_0_6 } impl CLFS_MGMT_POLICY_0 { } impl :: std :: cmp :: PartialEq for CLFS_MGMT_POLICY_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for CLFS_MGMT_POLICY_0 { } unsafe impl :: windows :: Abi for CLFS_MGMT_POLICY_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CLFS_MGMT_POLICY_0_0 { pub Enabled : u32 } impl CLFS_MGMT_POLICY_0_0 { } impl :: std :: default :: Default for CLFS_MGMT_POLICY_0_0 { fn default ( ) -> Self { Self { Enabled : 0 } } } impl :: std :: fmt :: Debug for CLFS_MGMT_POLICY_0_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_AutoGrow_e__Struct" ) . field ( "Enabled" , & self . Enabled ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CLFS_MGMT_POLICY_0_0 { fn eq ( & self , other : & Self ) -> bool { self . Enabled == other . Enabled } } impl :: std :: cmp :: Eq for CLFS_MGMT_POLICY_0_0 { } unsafe impl :: windows :: Abi for CLFS_MGMT_POLICY_0_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CLFS_MGMT_POLICY_0_1 { pub Percentage : u32 } impl CLFS_MGMT_POLICY_0_1 { } impl :: std :: default :: Default for CLFS_MGMT_POLICY_0_1 { fn default ( ) -> Self { Self { Percentage : 0 } } } impl :: std :: fmt :: Debug for CLFS_MGMT_POLICY_0_1 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_AutoShrink_e__Struct" ) . field ( "Percentage" , & self . Percentage ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CLFS_MGMT_POLICY_0_1 { fn eq ( & self , other : & Self ) -> bool { self . Percentage == other . Percentage } } impl :: std :: cmp :: Eq for CLFS_MGMT_POLICY_0_1 { } unsafe impl :: windows :: Abi for CLFS_MGMT_POLICY_0_1 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CLFS_MGMT_POLICY_0_2 { pub AbsoluteGrowthInContainers : u32 , pub RelativeGrowthPercentage : u32 } impl CLFS_MGMT_POLICY_0_2 { } impl :: std :: default :: Default for CLFS_MGMT_POLICY_0_2 { fn default ( ) -> Self { Self { AbsoluteGrowthInContainers : 0 , RelativeGrowthPercentage : 0 } } } impl :: std :: fmt :: Debug for CLFS_MGMT_POLICY_0_2 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_GrowthRate_e__Struct" ) . field ( "AbsoluteGrowthInContainers" , & self . AbsoluteGrowthInContainers ) . field ( "RelativeGrowthPercentage" , & self . RelativeGrowthPercentage ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CLFS_MGMT_POLICY_0_2 { fn eq ( & self , other : & Self ) -> bool { self . AbsoluteGrowthInContainers == other . AbsoluteGrowthInContainers && self . RelativeGrowthPercentage == other . RelativeGrowthPercentage } } impl :: std :: cmp :: Eq for CLFS_MGMT_POLICY_0_2 { } unsafe impl :: windows :: Abi for CLFS_MGMT_POLICY_0_2 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CLFS_MGMT_POLICY_0_3 { pub MinimumAvailablePercentage : u32 , pub MinimumAvailableContainers : u32 } impl CLFS_MGMT_POLICY_0_3 { } impl :: std :: default :: Default for CLFS_MGMT_POLICY_0_3 { fn default ( ) -> Self { Self { MinimumAvailablePercentage : 0 , MinimumAvailableContainers : 0 } } } impl :: std :: fmt :: Debug for CLFS_MGMT_POLICY_0_3 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_LogTail_e__Struct" ) . field ( "MinimumAvailablePercentage" , & self . MinimumAvailablePercentage ) . field ( "MinimumAvailableContainers" , & self . MinimumAvailableContainers ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CLFS_MGMT_POLICY_0_3 { fn eq ( & self , other : & Self ) -> bool { self . MinimumAvailablePercentage == other . MinimumAvailablePercentage && self . MinimumAvailableContainers == other . MinimumAvailableContainers } } impl :: std :: cmp :: Eq for CLFS_MGMT_POLICY_0_3 { } unsafe impl :: windows :: Abi for CLFS_MGMT_POLICY_0_3 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CLFS_MGMT_POLICY_0_4 { pub Containers : u32 } impl CLFS_MGMT_POLICY_0_4 { } impl :: std :: default :: Default for CLFS_MGMT_POLICY_0_4 { fn default ( ) -> Self { Self { Containers : 0 } } } impl :: std :: fmt :: Debug for CLFS_MGMT_POLICY_0_4 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_MaximumSize_e__Struct" ) . field ( "Containers" , & self . Containers ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CLFS_MGMT_POLICY_0_4 { fn eq ( & self , other : & Self ) -> bool { self . Containers == other . Containers } } impl :: std :: cmp :: Eq for CLFS_MGMT_POLICY_0_4 { } unsafe impl :: windows :: Abi for CLFS_MGMT_POLICY_0_4 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CLFS_MGMT_POLICY_0_5 { pub Containers : u32 } impl CLFS_MGMT_POLICY_0_5 { } impl :: std :: default :: Default for CLFS_MGMT_POLICY_0_5 { fn default ( ) -> Self { Self { Containers : 0 } } } impl :: std :: fmt :: Debug for CLFS_MGMT_POLICY_0_5 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_MinimumSize_e__Struct" ) . field ( "Containers" , & self . Containers ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CLFS_MGMT_POLICY_0_5 { fn eq ( & self , other : & Self ) -> bool { self . Containers == other . Containers } } impl :: std :: cmp :: Eq for CLFS_MGMT_POLICY_0_5 { } unsafe impl :: windows :: Abi for CLFS_MGMT_POLICY_0_5 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CLFS_MGMT_POLICY_0_6 { pub ExtensionLengthInBytes : u16 , pub ExtensionString : [ u16 ;1 ] } impl CLFS_MGMT_POLICY_0_6 { } impl :: std :: default :: Default for CLFS_MGMT_POLICY_0_6 { fn default ( ) -> Self { Self { ExtensionLengthInBytes : 0 , ExtensionString : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for CLFS_MGMT_POLICY_0_6 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_NewContainerExtension_e__Struct" ) . field ( "ExtensionLengthInBytes" , & self . ExtensionLengthInBytes ) . field ( "ExtensionString" , & self . ExtensionString ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CLFS_MGMT_POLICY_0_6 { fn eq ( & self , other : & Self ) -> bool { self . ExtensionLengthInBytes == other . ExtensionLengthInBytes && self . ExtensionString == other . ExtensionString } } impl :: std :: cmp :: Eq for CLFS_MGMT_POLICY_0_6 { } unsafe impl :: windows :: Abi for CLFS_MGMT_POLICY_0_6 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CLFS_MGMT_POLICY_0_7 { pub PrefixLengthInBytes : u16 , pub PrefixString : [ u16 ;1 ] } impl CLFS_MGMT_POLICY_0_7 { } impl :: std :: default :: Default for CLFS_MGMT_POLICY_0_7 { fn default ( ) -> Self { Self { PrefixLengthInBytes : 0 , PrefixString : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for CLFS_MGMT_POLICY_0_7 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_NewContainerPrefix_e__Struct" ) . field ( "PrefixLengthInBytes" , & self . PrefixLengthInBytes ) . field ( "PrefixString" , & self . PrefixString ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CLFS_MGMT_POLICY_0_7 { fn eq ( & self , other : & Self ) -> bool { self . PrefixLengthInBytes == other . PrefixLengthInBytes && self . PrefixString == other . PrefixString } } impl :: std :: cmp :: Eq for CLFS_MGMT_POLICY_0_7 { } unsafe impl :: windows :: Abi for CLFS_MGMT_POLICY_0_7 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CLFS_MGMT_POLICY_0_8 { pub SizeInBytes : u32 } impl CLFS_MGMT_POLICY_0_8 { } impl :: std :: default :: Default for CLFS_MGMT_POLICY_0_8 { fn default ( ) -> Self { Self { SizeInBytes : 0 } } } impl :: std :: fmt :: Debug for CLFS_MGMT_POLICY_0_8 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_NewContainerSize_e__Struct" ) . field ( "SizeInBytes" , & self . SizeInBytes ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CLFS_MGMT_POLICY_0_8 { fn eq ( & self , other : & Self ) -> bool { self . SizeInBytes == other . SizeInBytes } } impl :: std :: cmp :: Eq for CLFS_MGMT_POLICY_0_8 { } unsafe impl :: windows :: Abi for CLFS_MGMT_POLICY_0_8 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CLFS_MGMT_POLICY_0_9 { pub NextContainerSuffix : u64 } impl CLFS_MGMT_POLICY_0_9 { } impl :: std :: default :: Default for CLFS_MGMT_POLICY_0_9 { fn default ( ) -> Self { Self { NextContainerSuffix : 0 } } } impl :: std :: fmt :: Debug for CLFS_MGMT_POLICY_0_9 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_NewContainerSuffix_e__Struct" ) . field ( "NextContainerSuffix" , & self . NextContainerSuffix ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CLFS_MGMT_POLICY_0_9 { fn eq ( & self , other : & Self ) -> bool { self . NextContainerSuffix == other . NextContainerSuffix } } impl :: std :: cmp :: Eq for CLFS_MGMT_POLICY_0_9 { } unsafe impl :: windows :: Abi for CLFS_MGMT_POLICY_0_9 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct CLFS_MGMT_POLICY_TYPE ( pub i32 ) ; pub const ClfsMgmtPolicyMaximumSize : CLFS_MGMT_POLICY_TYPE = CLFS_MGMT_POLICY_TYPE ( 0i32 ) ; pub const ClfsMgmtPolicyMinimumSize : CLFS_MGMT_POLICY_TYPE = CLFS_MGMT_POLICY_TYPE ( 1i32 ) ; pub const ClfsMgmtPolicyNewContainerSize : CLFS_MGMT_POLICY_TYPE = CLFS_MGMT_POLICY_TYPE ( 2i32 ) ; pub const ClfsMgmtPolicyGrowthRate : CLFS_MGMT_POLICY_TYPE = CLFS_MGMT_POLICY_TYPE ( 3i32 ) ; pub const ClfsMgmtPolicyLogTail : CLFS_MGMT_POLICY_TYPE = CLFS_MGMT_POLICY_TYPE ( 4i32 ) ; pub const ClfsMgmtPolicyAutoShrink : CLFS_MGMT_POLICY_TYPE = CLFS_MGMT_POLICY_TYPE ( 5i32 ) ; pub const ClfsMgmtPolicyAutoGrow : CLFS_MGMT_POLICY_TYPE = CLFS_MGMT_POLICY_TYPE ( 6i32 ) ; pub const ClfsMgmtPolicyNewContainerPrefix : CLFS_MGMT_POLICY_TYPE = CLFS_MGMT_POLICY_TYPE ( 7i32 ) ; pub const ClfsMgmtPolicyNewContainerSuffix : CLFS_MGMT_POLICY_TYPE = CLFS_MGMT_POLICY_TYPE ( 8i32 ) ; pub const ClfsMgmtPolicyNewContainerExtension : CLFS_MGMT_POLICY_TYPE = CLFS_MGMT_POLICY_TYPE ( 9i32 ) ; pub const ClfsMgmtPolicyInvalid : CLFS_MGMT_POLICY_TYPE = CLFS_MGMT_POLICY_TYPE ( 10i32 ) ; impl :: std :: convert :: From < i32 > for CLFS_MGMT_POLICY_TYPE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for CLFS_MGMT_POLICY_TYPE { type Abi = Self ; type DefaultType = Self ; } pub const CLFS_MGMT_POLICY_VERSION : u32 = 1u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CLFS_NODE_ID { pub cType : u32 , pub cbNode : u32 } impl CLFS_NODE_ID { } impl :: std :: default :: Default for CLFS_NODE_ID { fn default ( ) -> Self { Self { cType : 0 , cbNode : 0 } } } impl :: std :: fmt :: Debug for CLFS_NODE_ID { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CLFS_NODE_ID" ) . field ( "cType" , & self . cType ) . field ( "cbNode" , & self . cbNode ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CLFS_NODE_ID { fn eq ( & self , other : & Self ) -> bool { self . cType == other . cType && self . cbNode == other . cbNode } } impl :: std :: cmp :: Eq for CLFS_NODE_ID { } unsafe impl :: windows :: Abi for CLFS_NODE_ID { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CLFS_PHYSICAL_LSN_INFORMATION { pub StreamIdentifier : u8 , pub VirtualLsn : CLS_LSN , pub PhysicalLsn : CLS_LSN } impl CLFS_PHYSICAL_LSN_INFORMATION { } impl :: std :: default :: Default for CLFS_PHYSICAL_LSN_INFORMATION { fn default ( ) -> Self { Self { StreamIdentifier : 0 , VirtualLsn : :: std :: default :: Default :: default ( ) , PhysicalLsn : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for CLFS_PHYSICAL_LSN_INFORMATION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CLFS_PHYSICAL_LSN_INFORMATION" ) . field ( "StreamIdentifier" , & self . StreamIdentifier ) . field ( "VirtualLsn" , & self . VirtualLsn ) . field ( "PhysicalLsn" , & self . PhysicalLsn ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CLFS_PHYSICAL_LSN_INFORMATION { fn eq ( & self , other : & Self ) -> bool { self . StreamIdentifier == other . StreamIdentifier && self . VirtualLsn == other . VirtualLsn && self . PhysicalLsn == other . PhysicalLsn } } impl :: std :: cmp :: Eq for CLFS_PHYSICAL_LSN_INFORMATION { } unsafe impl :: windows :: Abi for CLFS_PHYSICAL_LSN_INFORMATION { type Abi = Self ; type DefaultType = Self ; } pub const CLFS_SCAN_BACKWARD : u8 = 4u8 ; pub const CLFS_SCAN_BUFFERED : u8 = 32u8 ; pub const CLFS_SCAN_CLOSE : u8 = 8u8 ; pub const CLFS_SCAN_FORWARD : u8 = 2u8 ; pub const CLFS_SCAN_INIT : u8 = 1u8 ; pub const CLFS_SCAN_INITIALIZED : u8 = 16u8 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CLFS_STREAM_ID_INFORMATION { pub StreamIdentifier : u8 } impl CLFS_STREAM_ID_INFORMATION { } impl :: std :: default :: Default for CLFS_STREAM_ID_INFORMATION { fn default ( ) -> Self { Self { StreamIdentifier : 0 } } } impl :: std :: fmt :: Debug for CLFS_STREAM_ID_INFORMATION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CLFS_STREAM_ID_INFORMATION" ) . field ( "StreamIdentifier" , & self . StreamIdentifier ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CLFS_STREAM_ID_INFORMATION { fn eq ( & self , other : & Self ) -> bool { self . StreamIdentifier == other . StreamIdentifier } } impl :: std :: cmp :: Eq for CLFS_STREAM_ID_INFORMATION { } unsafe impl :: windows :: Abi for CLFS_STREAM_ID_INFORMATION { type Abi = Self ; type DefaultType = Self ; } pub const CLSID_DiskQuotaControl : :: windows :: Guid = :: windows :: Guid :: from_values ( 2039002481 ,60553 ,4559 , [ 156 ,0 ,0 ,170 ,0 ,161 ,79 ,86 ] , ) ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CLS_ARCHIVE_DESCRIPTOR { pub coffLow : u64 , pub coffHigh : u64 , pub infoContainer : CLS_CONTAINER_INFORMATION } impl CLS_ARCHIVE_DESCRIPTOR { } impl :: std :: default :: Default for CLS_ARCHIVE_DESCRIPTOR { fn default ( ) -> Self { Self { coffLow : 0 , coffHigh : 0 , infoContainer : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for CLS_ARCHIVE_DESCRIPTOR { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CLS_ARCHIVE_DESCRIPTOR" ) . field ( "coffLow" , & self . coffLow ) . field ( "coffHigh" , & self . coffHigh ) . field ( "infoContainer" , & self . infoContainer ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CLS_ARCHIVE_DESCRIPTOR { fn eq ( & self , other : & Self ) -> bool { self . coffLow == other . coffLow && self . coffHigh == other . coffHigh && self . infoContainer == other . infoContainer } } impl :: std :: cmp :: Eq for CLS_ARCHIVE_DESCRIPTOR { } unsafe impl :: windows :: Abi for CLS_ARCHIVE_DESCRIPTOR { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CLS_CONTAINER_INFORMATION { pub FileAttributes : u32 , pub CreationTime : u64 , pub LastAccessTime : u64 , pub LastWriteTime : u64 , pub ContainerSize : i64 , pub FileNameActualLength : u32 , pub FileNameLength : u32 , pub FileName : [ u16 ;256 ] , pub State : u32 , pub PhysicalContainerId : u32 , pub LogicalContainerId : u32 } impl CLS_CONTAINER_INFORMATION { } impl :: std :: default :: Default for CLS_CONTAINER_INFORMATION { fn default ( ) -> Self { Self { FileAttributes : 0 , CreationTime : 0 , LastAccessTime : 0 , LastWriteTime : 0 , ContainerSize : 0 , FileNameActualLength : 0 , FileNameLength : 0 , FileName : [ 0 ;256 ] , State : 0 , PhysicalContainerId : 0 , LogicalContainerId : 0 } } } impl :: std :: fmt :: Debug for CLS_CONTAINER_INFORMATION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CLS_CONTAINER_INFORMATION" ) . field ( "FileAttributes" , & self . FileAttributes ) . field ( "CreationTime" , & self . CreationTime ) . field ( "LastAccessTime" , & self . LastAccessTime ) . field ( "LastWriteTime" , & self . LastWriteTime ) . field ( "ContainerSize" , & self . ContainerSize ) . field ( "FileNameActualLength" , & self . FileNameActualLength ) . field ( "FileNameLength" , & self . FileNameLength ) . field ( "FileName" , & self . FileName ) . field ( "State" , & self . State ) . field ( "PhysicalContainerId" , & self . PhysicalContainerId ) . field ( "LogicalContainerId" , & self . LogicalContainerId ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CLS_CONTAINER_INFORMATION { fn eq ( & self , other : & Self ) -> bool { self . FileAttributes == other . FileAttributes && self . CreationTime == other . CreationTime && self . LastAccessTime == other . LastAccessTime && self . LastWriteTime == other . LastWriteTime && self . ContainerSize == other . ContainerSize && self . FileNameActualLength == other . FileNameActualLength && self . FileNameLength == other . FileNameLength && self . FileName == other . FileName && self . State == other . State && self . PhysicalContainerId == other . PhysicalContainerId && self . LogicalContainerId == other . LogicalContainerId } } impl :: std :: cmp :: Eq for CLS_CONTAINER_INFORMATION { } unsafe impl :: windows :: Abi for CLS_CONTAINER_INFORMATION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct CLS_CONTEXT_MODE ( pub i32 ) ; pub const ClsContextNone : CLS_CONTEXT_MODE = CLS_CONTEXT_MODE ( 0i32 ) ; pub const ClsContextUndoNext : CLS_CONTEXT_MODE = CLS_CONTEXT_MODE ( 1i32 ) ; pub const ClsContextPrevious : CLS_CONTEXT_MODE = CLS_CONTEXT_MODE ( 2i32 ) ; pub const ClsContextForward : CLS_CONTEXT_MODE = CLS_CONTEXT_MODE ( 3i32 ) ; impl :: std :: convert :: From < i32 > for CLS_CONTEXT_MODE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for CLS_CONTEXT_MODE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CLS_INFORMATION { pub TotalAvailable : i64 , pub CurrentAvailable : i64 , pub TotalReservation : i64 , pub BaseFileSize : u64 , pub ContainerSize : u64 , pub TotalContainers : u32 , pub FreeContainers : u32 , pub TotalClients : u32 , pub Attributes : u32 , pub FlushThreshold : u32 , pub SectorSize : u32 , pub MinArchiveTailLsn : CLS_LSN , pub BaseLsn : CLS_LSN , pub LastFlushedLsn : CLS_LSN , pub LastLsn : CLS_LSN , pub RestartLsn : CLS_LSN , pub Identity : :: windows :: Guid } impl CLS_INFORMATION { } impl :: std :: default :: Default for CLS_INFORMATION { fn default ( ) -> Self { Self { TotalAvailable : 0 , CurrentAvailable : 0 , TotalReservation : 0 , BaseFileSize : 0 , ContainerSize : 0 , TotalContainers : 0 , FreeContainers : 0 , TotalClients : 0 , Attributes : 0 , FlushThreshold : 0 , SectorSize : 0 , MinArchiveTailLsn : :: std :: default :: Default :: default ( ) , BaseLsn : :: std :: default :: Default :: default ( ) , LastFlushedLsn : :: std :: default :: Default :: default ( ) , LastLsn : :: std :: default :: Default :: default ( ) , RestartLsn : :: std :: default :: Default :: default ( ) , Identity : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for CLS_INFORMATION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CLS_INFORMATION" ) . field ( "TotalAvailable" , & self . TotalAvailable ) . field ( "CurrentAvailable" , & self . CurrentAvailable ) . field ( "TotalReservation" , & self . TotalReservation ) . field ( "BaseFileSize" , & self . BaseFileSize ) . field ( "ContainerSize" , & self . ContainerSize ) . field ( "TotalContainers" , & self . TotalContainers ) . field ( "FreeContainers" , & self . FreeContainers ) . field ( "TotalClients" , & self . TotalClients ) . field ( "Attributes" , & self . Attributes ) . field ( "FlushThreshold" , & self . FlushThreshold ) . field ( "SectorSize" , & self . SectorSize ) . field ( "MinArchiveTailLsn" , & self . MinArchiveTailLsn ) . field ( "BaseLsn" , & self . BaseLsn ) . field ( "LastFlushedLsn" , & self . LastFlushedLsn ) . field ( "LastLsn" , & self . LastLsn ) . field ( "RestartLsn" , & self . RestartLsn ) . field ( "Identity" , & self . Identity ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CLS_INFORMATION { fn eq ( & self , other : & Self ) -> bool { self . TotalAvailable == other . TotalAvailable && self . CurrentAvailable == other . CurrentAvailable && self . TotalReservation == other . TotalReservation && self . BaseFileSize == other . BaseFileSize && self . ContainerSize == other . ContainerSize && self . TotalContainers == other . TotalContainers && self . FreeContainers == other . FreeContainers && self . TotalClients == other . TotalClients && self . Attributes == other . Attributes && self . FlushThreshold == other . FlushThreshold && self . SectorSize == other . SectorSize && self . MinArchiveTailLsn == other . MinArchiveTailLsn && self . BaseLsn == other . BaseLsn && self . LastFlushedLsn == other . LastFlushedLsn && self . LastLsn == other . LastLsn && self . RestartLsn == other . RestartLsn && self . Identity == other . Identity } } impl :: std :: cmp :: Eq for CLS_INFORMATION { } unsafe impl :: windows :: Abi for CLS_INFORMATION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct CLS_IOSTATS_CLASS ( pub i32 ) ; pub const ClsIoStatsDefault : CLS_IOSTATS_CLASS = CLS_IOSTATS_CLASS ( 0i32 ) ; pub const ClsIoStatsMax : CLS_IOSTATS_CLASS = CLS_IOSTATS_CLASS ( 65535i32 ) ; impl :: std :: convert :: From < i32 > for CLS_IOSTATS_CLASS { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for CLS_IOSTATS_CLASS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CLS_IO_STATISTICS { pub hdrIoStats : CLS_IO_STATISTICS_HEADER , pub cFlush : u64 , pub cbFlush : u64 , pub cMetaFlush : u64 , pub cbMetaFlush : u64 } impl CLS_IO_STATISTICS { } impl :: std :: default :: Default for CLS_IO_STATISTICS { fn default ( ) -> Self { Self { hdrIoStats : :: std :: default :: Default :: default ( ) , cFlush : 0 , cbFlush : 0 , cMetaFlush : 0 , cbMetaFlush : 0 } } } impl :: std :: fmt :: Debug for CLS_IO_STATISTICS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CLS_IO_STATISTICS" ) . field ( "hdrIoStats" , & self . hdrIoStats ) . field ( "cFlush" , & self . cFlush ) . field ( "cbFlush" , & self . cbFlush ) . field ( "cMetaFlush" , & self . cMetaFlush ) . field ( "cbMetaFlush" , & self . cbMetaFlush ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CLS_IO_STATISTICS { fn eq ( & self , other : & Self ) -> bool { self . hdrIoStats == other . hdrIoStats && self . cFlush == other . cFlush && self . cbFlush == other . cbFlush && self . cMetaFlush == other . cMetaFlush && self . cbMetaFlush == other . cbMetaFlush } } impl :: std :: cmp :: Eq for CLS_IO_STATISTICS { } unsafe impl :: windows :: Abi for CLS_IO_STATISTICS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CLS_IO_STATISTICS_HEADER { pub ubMajorVersion : u8 , pub ubMinorVersion : u8 , pub eStatsClass : CLFS_IOSTATS_CLASS , pub cbLength : u16 , pub coffData : u32 } impl CLS_IO_STATISTICS_HEADER { } impl :: std :: default :: Default for CLS_IO_STATISTICS_HEADER { fn default ( ) -> Self { Self { ubMajorVersion : 0 , ubMinorVersion : 0 , eStatsClass : :: std :: default :: Default :: default ( ) , cbLength : 0 , coffData : 0 } } } impl :: std :: fmt :: Debug for CLS_IO_STATISTICS_HEADER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CLS_IO_STATISTICS_HEADER" ) . field ( "ubMajorVersion" , & self . ubMajorVersion ) . field ( "ubMinorVersion" , & self . ubMinorVersion ) . field ( "eStatsClass" , & self . eStatsClass ) . field ( "cbLength" , & self . cbLength ) . field ( "coffData" , & self . coffData ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CLS_IO_STATISTICS_HEADER { fn eq ( & self , other : & Self ) -> bool { self . ubMajorVersion == other . ubMajorVersion && self . ubMinorVersion == other . ubMinorVersion && self . eStatsClass == other . eStatsClass && self . cbLength == other . cbLength && self . coffData == other . coffData } } impl :: std :: cmp :: Eq for CLS_IO_STATISTICS_HEADER { } unsafe impl :: windows :: Abi for CLS_IO_STATISTICS_HEADER { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct CLS_LOG_INFORMATION_CLASS ( pub i32 ) ; pub const ClfsLogBasicInformation : CLS_LOG_INFORMATION_CLASS = CLS_LOG_INFORMATION_CLASS ( 0i32 ) ; pub const ClfsLogBasicInformationPhysical : CLS_LOG_INFORMATION_CLASS = CLS_LOG_INFORMATION_CLASS ( 1i32 ) ; pub const ClfsLogPhysicalNameInformation : CLS_LOG_INFORMATION_CLASS = CLS_LOG_INFORMATION_CLASS ( 2i32 ) ; pub const ClfsLogStreamIdentifierInformation : CLS_LOG_INFORMATION_CLASS = CLS_LOG_INFORMATION_CLASS ( 3i32 ) ; pub const ClfsLogSystemMarkingInformation : CLS_LOG_INFORMATION_CLASS = CLS_LOG_INFORMATION_CLASS ( 4i32 ) ; pub const ClfsLogPhysicalLsnInformation : CLS_LOG_INFORMATION_CLASS = CLS_LOG_INFORMATION_CLASS ( 5i32 ) ; impl :: std :: convert :: From < i32 > for CLS_LOG_INFORMATION_CLASS { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for CLS_LOG_INFORMATION_CLASS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CLS_LSN { pub Internal : u64 } impl CLS_LSN { } impl :: std :: default :: Default for CLS_LSN { fn default ( ) -> Self { Self { Internal : 0 } } } impl :: std :: fmt :: Debug for CLS_LSN { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CLS_LSN" ) . field ( "Internal" , & self . Internal ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CLS_LSN { fn eq ( & self , other : & Self ) -> bool { self . Internal == other . Internal } } impl :: std :: cmp :: Eq for CLS_LSN { } unsafe impl :: windows :: Abi for CLS_LSN { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CLS_SCAN_CONTEXT { pub cidNode : CLFS_NODE_ID , pub hLog : super::super::Foundation:: HANDLE , pub cIndex : u32 , pub cContainers : u32 , pub cContainersReturned : u32 , pub eScanMode : u8 , pub pinfoContainer : * mut CLS_CONTAINER_INFORMATION } impl CLS_SCAN_CONTEXT { } impl :: std :: default :: Default for CLS_SCAN_CONTEXT { fn default ( ) -> Self { Self { cidNode : :: std :: default :: Default :: default ( ) , hLog : :: std :: default :: Default :: default ( ) , cIndex : 0 , cContainers : 0 , cContainersReturned : 0 , eScanMode : 0 , pinfoContainer : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for CLS_SCAN_CONTEXT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CLS_SCAN_CONTEXT" ) . field ( "cidNode" , & self . cidNode ) . field ( "hLog" , & self . hLog ) . field ( "cIndex" , & self . cIndex ) . field ( "cContainers" , & self . cContainers ) . field ( "cContainersReturned" , & self . cContainersReturned ) . field ( "eScanMode" , & self . eScanMode ) . field ( "pinfoContainer" , & self . pinfoContainer ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CLS_SCAN_CONTEXT { fn eq ( & self , other : & Self ) -> bool { self . cidNode == other . cidNode && self . hLog == other . hLog && self . cIndex == other . cIndex && self . cContainers == other . cContainers && self . cContainersReturned == other . cContainersReturned && self . eScanMode == other . eScanMode && self . pinfoContainer == other . pinfoContainer } } impl :: std :: cmp :: Eq for CLS_SCAN_CONTEXT { } unsafe impl :: windows :: Abi for CLS_SCAN_CONTEXT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CLS_WRITE_ENTRY { pub Buffer : * mut :: std :: ffi :: c_void , pub ByteLength : u32 } impl CLS_WRITE_ENTRY { } impl :: std :: default :: Default for CLS_WRITE_ENTRY { fn default ( ) -> Self { Self { Buffer : :: std :: ptr :: null_mut ( ) , ByteLength : 0 } } } impl :: std :: fmt :: Debug for CLS_WRITE_ENTRY { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CLS_WRITE_ENTRY" ) . field ( "Buffer" , & self . Buffer ) . field ( "ByteLength" , & self . ByteLength ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CLS_WRITE_ENTRY { fn eq ( & self , other : & Self ) -> bool { self . Buffer == other . Buffer && self . ByteLength == other . ByteLength } } impl :: std :: cmp :: Eq for CLS_WRITE_ENTRY { } unsafe impl :: windows :: Abi for CLS_WRITE_ENTRY { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CONNECTION_INFO_0 { pub coni0_id : u32 } impl CONNECTION_INFO_0 { } impl :: std :: default :: Default for CONNECTION_INFO_0 { fn default ( ) -> Self { Self { coni0_id : 0 } } } impl :: std :: fmt :: Debug for CONNECTION_INFO_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CONNECTION_INFO_0" ) . field ( "coni0_id" , & self . coni0_id ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CONNECTION_INFO_0 { fn eq ( & self , other : & Self ) -> bool { self . coni0_id == other . coni0_id } } impl :: std :: cmp :: Eq for CONNECTION_INFO_0 { } unsafe impl :: windows :: Abi for CONNECTION_INFO_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CONNECTION_INFO_1 { pub coni1_id : u32 , pub coni1_type : SHARE_TYPE , pub coni1_num_opens : u32 , pub coni1_num_users : u32 , pub coni1_time : u32 , pub coni1_username : super::super::Foundation:: PWSTR , pub coni1_netname : super::super::Foundation:: PWSTR } impl CONNECTION_INFO_1 { } impl :: std :: default :: Default for CONNECTION_INFO_1 { fn default ( ) -> Self { Self { coni1_id : 0 , coni1_type : :: std :: default :: Default :: default ( ) , coni1_num_opens : 0 , coni1_num_users : 0 , coni1_time : 0 , coni1_username : :: std :: default :: Default :: default ( ) , coni1_netname : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for CONNECTION_INFO_1 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CONNECTION_INFO_1" ) . field ( "coni1_id" , & self . coni1_id ) . field ( "coni1_type" , & self . coni1_type ) . field ( "coni1_num_opens" , & self . coni1_num_opens ) . field ( "coni1_num_users" , & self . coni1_num_users ) . field ( "coni1_time" , & self . coni1_time ) . field ( "coni1_username" , & self . coni1_username ) . field ( "coni1_netname" , & self . coni1_netname ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CONNECTION_INFO_1 { fn eq ( & self , other : & Self ) -> bool { self . coni1_id == other . coni1_id && self . coni1_type == other . coni1_type && self . coni1_num_opens == other . coni1_num_opens && self . coni1_num_users == other . coni1_num_users && self . coni1_time == other . coni1_time && self . coni1_username == other . coni1_username && self . coni1_netname == other . coni1_netname } } impl :: std :: cmp :: Eq for CONNECTION_INFO_1 { } unsafe impl :: windows :: Abi for CONNECTION_INFO_1 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct COPYFILE2_COPY_PHASE ( pub i32 ) ; pub const COPYFILE2_PHASE_NONE : COPYFILE2_COPY_PHASE = COPYFILE2_COPY_PHASE ( 0i32 ) ; pub const COPYFILE2_PHASE_PREPARE_SOURCE : COPYFILE2_COPY_PHASE = COPYFILE2_COPY_PHASE ( 1i32 ) ; pub const COPYFILE2_PHASE_PREPARE_DEST : COPYFILE2_COPY_PHASE = COPYFILE2_COPY_PHASE ( 2i32 ) ; pub const COPYFILE2_PHASE_READ_SOURCE : COPYFILE2_COPY_PHASE = COPYFILE2_COPY_PHASE ( 3i32 ) ; pub const COPYFILE2_PHASE_WRITE_DESTINATION : COPYFILE2_COPY_PHASE = COPYFILE2_COPY_PHASE ( 4i32 ) ; pub const COPYFILE2_PHASE_SERVER_COPY : COPYFILE2_COPY_PHASE = COPYFILE2_COPY_PHASE ( 5i32 ) ; pub const COPYFILE2_PHASE_NAMEGRAFT_COPY : COPYFILE2_COPY_PHASE = COPYFILE2_COPY_PHASE ( 6i32 ) ; pub const COPYFILE2_PHASE_MAX : COPYFILE2_COPY_PHASE = COPYFILE2_COPY_PHASE ( 7i32 ) ; impl :: std :: convert :: From < i32 > for COPYFILE2_COPY_PHASE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for COPYFILE2_COPY_PHASE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone ) ] # [ repr ( C ) ] pub struct COPYFILE2_EXTENDED_PARAMETERS { pub dwSize : u32 , pub dwCopyFlags : u32 , pub pfCancel : * mut super::super::Foundation:: BOOL , pub pProgressRoutine : :: std :: option :: Option < PCOPYFILE2_PROGRESS_ROUTINE > , pub pvCallbackContext : * mut :: std :: ffi :: c_void } impl COPYFILE2_EXTENDED_PARAMETERS { } impl :: std :: default :: Default for COPYFILE2_EXTENDED_PARAMETERS { fn default ( ) -> Self { Self { dwSize : 0 , dwCopyFlags : 0 , pfCancel : :: std :: ptr :: null_mut ( ) , pProgressRoutine : :: std :: default :: Default :: default ( ) , pvCallbackContext : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for COPYFILE2_EXTENDED_PARAMETERS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "COPYFILE2_EXTENDED_PARAMETERS" ) . field ( "dwSize" , & self . dwSize ) . field ( "dwCopyFlags" , & self . dwCopyFlags ) . field ( "pfCancel" , & self . pfCancel ) . field ( "pvCallbackContext" , & self . pvCallbackContext ) . finish ( ) } } impl :: std :: cmp :: PartialEq for COPYFILE2_EXTENDED_PARAMETERS { fn eq ( & self , other : & Self ) -> bool { self . dwSize == other . dwSize && self . dwCopyFlags == other . dwCopyFlags && self . pfCancel == other . pfCancel && self . pProgressRoutine . map ( | f | f as usize ) == other . pProgressRoutine . map ( | f | f as usize ) && self . pvCallbackContext == other . pvCallbackContext } } impl :: std :: cmp :: Eq for COPYFILE2_EXTENDED_PARAMETERS { } # [ repr ( C ) ] # [ doc ( hidden ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct COPYFILE2_EXTENDED_PARAMETERS_abi { pub dwSize : u32 , pub dwCopyFlags : u32 , pub pfCancel : * mut super::super::Foundation:: BOOL , pub pProgressRoutine : :: windows :: RawPtr , pub pvCallbackContext : * mut :: std :: ffi :: c_void } unsafe impl :: windows :: Abi for COPYFILE2_EXTENDED_PARAMETERS { type Abi = COPYFILE2_EXTENDED_PARAMETERS_abi ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct COPYFILE2_MESSAGE { pub Type : COPYFILE2_MESSAGE_TYPE , pub dwPadding : u32 , pub Info : COPYFILE2_MESSAGE_0 } impl COPYFILE2_MESSAGE { } impl :: std :: cmp :: PartialEq for COPYFILE2_MESSAGE { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for COPYFILE2_MESSAGE { } unsafe impl :: windows :: Abi for COPYFILE2_MESSAGE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union COPYFILE2_MESSAGE_0 { pub ChunkStarted : COPYFILE2_MESSAGE_0_1 , pub ChunkFinished : COPYFILE2_MESSAGE_0_0 , pub StreamStarted : COPYFILE2_MESSAGE_0_5 , pub StreamFinished : COPYFILE2_MESSAGE_0_4 , pub PollContinue : COPYFILE2_MESSAGE_0_3 , pub Error : COPYFILE2_MESSAGE_0_2 } impl COPYFILE2_MESSAGE_0 { } impl :: std :: cmp :: PartialEq for COPYFILE2_MESSAGE_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for COPYFILE2_MESSAGE_0 { } unsafe impl :: windows :: Abi for COPYFILE2_MESSAGE_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct COPYFILE2_MESSAGE_0_0 { pub dwStreamNumber : u32 , pub dwFlags : u32 , pub hSourceFile : super::super::Foundation:: HANDLE , pub hDestinationFile : super::super::Foundation:: HANDLE , pub uliChunkNumber : u64 , pub uliChunkSize : u64 , pub uliStreamSize : u64 , pub uliStreamBytesTransferred : u64 , pub uliTotalFileSize : u64 , pub uliTotalBytesTransferred : u64 } impl COPYFILE2_MESSAGE_0_0 { } impl :: std :: default :: Default for COPYFILE2_MESSAGE_0_0 { fn default ( ) -> Self { Self { dwStreamNumber : 0 , dwFlags : 0 , hSourceFile : :: std :: default :: Default :: default ( ) , hDestinationFile : :: std :: default :: Default :: default ( ) , uliChunkNumber : 0 , uliChunkSize : 0 , uliStreamSize : 0 , uliStreamBytesTransferred : 0 , uliTotalFileSize : 0 , uliTotalBytesTransferred : 0 } } } impl :: std :: fmt :: Debug for COPYFILE2_MESSAGE_0_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_ChunkFinished_e__Struct" ) . field ( "dwStreamNumber" , & self . dwStreamNumber ) . field ( "dwFlags" , & self . dwFlags ) . field ( "hSourceFile" , & self . hSourceFile ) . field ( "hDestinationFile" , & self . hDestinationFile ) . field ( "uliChunkNumber" , & self . uliChunkNumber ) . field ( "uliChunkSize" , & self . uliChunkSize ) . field ( "uliStreamSize" , & self . uliStreamSize ) . field ( "uliStreamBytesTransferred" , & self . uliStreamBytesTransferred ) . field ( "uliTotalFileSize" , & self . uliTotalFileSize ) . field ( "uliTotalBytesTransferred" , & self . uliTotalBytesTransferred ) . finish ( ) } } impl :: std :: cmp :: PartialEq for COPYFILE2_MESSAGE_0_0 { fn eq ( & self , other : & Self ) -> bool { self . dwStreamNumber == other . dwStreamNumber && self . dwFlags == other . dwFlags && self . hSourceFile == other . hSourceFile && self . hDestinationFile == other . hDestinationFile && self . uliChunkNumber == other . uliChunkNumber && self . uliChunkSize == other . uliChunkSize && self . uliStreamSize == other . uliStreamSize && self . uliStreamBytesTransferred == other . uliStreamBytesTransferred && self . uliTotalFileSize == other . uliTotalFileSize && self . uliTotalBytesTransferred == other . uliTotalBytesTransferred } } impl :: std :: cmp :: Eq for COPYFILE2_MESSAGE_0_0 { } unsafe impl :: windows :: Abi for COPYFILE2_MESSAGE_0_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct COPYFILE2_MESSAGE_0_1 { pub dwStreamNumber : u32 , pub dwReserved : u32 , pub hSourceFile : super::super::Foundation:: HANDLE , pub hDestinationFile : super::super::Foundation:: HANDLE , pub uliChunkNumber : u64 , pub uliChunkSize : u64 , pub uliStreamSize : u64 , pub uliTotalFileSize : u64 } impl COPYFILE2_MESSAGE_0_1 { } impl :: std :: default :: Default for COPYFILE2_MESSAGE_0_1 { fn default ( ) -> Self { Self { dwStreamNumber : 0 , dwReserved : 0 , hSourceFile : :: std :: default :: Default :: default ( ) , hDestinationFile : :: std :: default :: Default :: default ( ) , uliChunkNumber : 0 , uliChunkSize : 0 , uliStreamSize : 0 , uliTotalFileSize : 0 } } } impl :: std :: fmt :: Debug for COPYFILE2_MESSAGE_0_1 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_ChunkStarted_e__Struct" ) . field ( "dwStreamNumber" , & self . dwStreamNumber ) . field ( "dwReserved" , & self . dwReserved ) . field ( "hSourceFile" , & self . hSourceFile ) . field ( "hDestinationFile" , & self . hDestinationFile ) . field ( "uliChunkNumber" , & self . uliChunkNumber ) . field ( "uliChunkSize" , & self . uliChunkSize ) . field ( "uliStreamSize" , & self . uliStreamSize ) . field ( "uliTotalFileSize" , & self . uliTotalFileSize ) . finish ( ) } } impl :: std :: cmp :: PartialEq for COPYFILE2_MESSAGE_0_1 { fn eq ( & self , other : & Self ) -> bool { self . dwStreamNumber == other . dwStreamNumber && self . dwReserved == other . dwReserved && self . hSourceFile == other . hSourceFile && self . hDestinationFile == other . hDestinationFile && self . uliChunkNumber == other . uliChunkNumber && self . uliChunkSize == other . uliChunkSize && self . uliStreamSize == other . uliStreamSize && self . uliTotalFileSize == other . uliTotalFileSize } } impl :: std :: cmp :: Eq for COPYFILE2_MESSAGE_0_1 { } unsafe impl :: windows :: Abi for COPYFILE2_MESSAGE_0_1 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct COPYFILE2_MESSAGE_0_2 { pub CopyPhase : COPYFILE2_COPY_PHASE , pub dwStreamNumber : u32 , pub hrFailure : :: windows :: HRESULT , pub dwReserved : u32 , pub uliChunkNumber : u64 , pub uliStreamSize : u64 , pub uliStreamBytesTransferred : u64 , pub uliTotalFileSize : u64 , pub uliTotalBytesTransferred : u64 } impl COPYFILE2_MESSAGE_0_2 { } impl :: std :: default :: Default for COPYFILE2_MESSAGE_0_2 { fn default ( ) -> Self { Self { CopyPhase : :: std :: default :: Default :: default ( ) , dwStreamNumber : 0 , hrFailure : :: std :: default :: Default :: default ( ) , dwReserved : 0 , uliChunkNumber : 0 , uliStreamSize : 0 , uliStreamBytesTransferred : 0 , uliTotalFileSize : 0 , uliTotalBytesTransferred : 0 } } } impl :: std :: fmt :: Debug for COPYFILE2_MESSAGE_0_2 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Error_e__Struct" ) . field ( "CopyPhase" , & self . CopyPhase ) . field ( "dwStreamNumber" , & self . dwStreamNumber ) . field ( "hrFailure" , & self . hrFailure ) . field ( "dwReserved" , & self . dwReserved ) . field ( "uliChunkNumber" , & self . uliChunkNumber ) . field ( "uliStreamSize" , & self . uliStreamSize ) . field ( "uliStreamBytesTransferred" , & self . uliStreamBytesTransferred ) . field ( "uliTotalFileSize" , & self . uliTotalFileSize ) . field ( "uliTotalBytesTransferred" , & self . uliTotalBytesTransferred ) . finish ( ) } } impl :: std :: cmp :: PartialEq for COPYFILE2_MESSAGE_0_2 { fn eq ( & self , other : & Self ) -> bool { self . CopyPhase == other . CopyPhase && self . dwStreamNumber == other . dwStreamNumber && self . hrFailure == other . hrFailure && self . dwReserved == other . dwReserved && self . uliChunkNumber == other . uliChunkNumber && self . uliStreamSize == other . uliStreamSize && self . uliStreamBytesTransferred == other . uliStreamBytesTransferred && self . uliTotalFileSize == other . uliTotalFileSize && self . uliTotalBytesTransferred == other . uliTotalBytesTransferred } } impl :: std :: cmp :: Eq for COPYFILE2_MESSAGE_0_2 { } unsafe impl :: windows :: Abi for COPYFILE2_MESSAGE_0_2 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct COPYFILE2_MESSAGE_0_3 { pub dwReserved : u32 } impl COPYFILE2_MESSAGE_0_3 { } impl :: std :: default :: Default for COPYFILE2_MESSAGE_0_3 { fn default ( ) -> Self { Self { dwReserved : 0 } } } impl :: std :: fmt :: Debug for COPYFILE2_MESSAGE_0_3 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_PollContinue_e__Struct" ) . field ( "dwReserved" , & self . dwReserved ) . finish ( ) } } impl :: std :: cmp :: PartialEq for COPYFILE2_MESSAGE_0_3 { fn eq ( & self , other : & Self ) -> bool { self . dwReserved == other . dwReserved } } impl :: std :: cmp :: Eq for COPYFILE2_MESSAGE_0_3 { } unsafe impl :: windows :: Abi for COPYFILE2_MESSAGE_0_3 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct COPYFILE2_MESSAGE_0_4 { pub dwStreamNumber : u32 , pub dwReserved : u32 , pub hSourceFile : super::super::Foundation:: HANDLE , pub hDestinationFile : super::super::Foundation:: HANDLE , pub uliStreamSize : u64 , pub uliStreamBytesTransferred : u64 , pub uliTotalFileSize : u64 , pub uliTotalBytesTransferred : u64 } impl COPYFILE2_MESSAGE_0_4 { } impl :: std :: default :: Default for COPYFILE2_MESSAGE_0_4 { fn default ( ) -> Self { Self { dwStreamNumber : 0 , dwReserved : 0 , hSourceFile : :: std :: default :: Default :: default ( ) , hDestinationFile : :: std :: default :: Default :: default ( ) , uliStreamSize : 0 , uliStreamBytesTransferred : 0 , uliTotalFileSize : 0 , uliTotalBytesTransferred : 0 } } } impl :: std :: fmt :: Debug for COPYFILE2_MESSAGE_0_4 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_StreamFinished_e__Struct" ) . field ( "dwStreamNumber" , & self . dwStreamNumber ) . field ( "dwReserved" , & self . dwReserved ) . field ( "hSourceFile" , & self . hSourceFile ) . field ( "hDestinationFile" , & self . hDestinationFile ) . field ( "uliStreamSize" , & self . uliStreamSize ) . field ( "uliStreamBytesTransferred" , & self . uliStreamBytesTransferred ) . field ( "uliTotalFileSize" , & self . uliTotalFileSize ) . field ( "uliTotalBytesTransferred" , & self . uliTotalBytesTransferred ) . finish ( ) } } impl :: std :: cmp :: PartialEq for COPYFILE2_MESSAGE_0_4 { fn eq ( & self , other : & Self ) -> bool { self . dwStreamNumber == other . dwStreamNumber && self . dwReserved == other . dwReserved && self . hSourceFile == other . hSourceFile && self . hDestinationFile == other . hDestinationFile && self . uliStreamSize == other . uliStreamSize && self . uliStreamBytesTransferred == other . uliStreamBytesTransferred && self . uliTotalFileSize == other . uliTotalFileSize && self . uliTotalBytesTransferred == other . uliTotalBytesTransferred } } impl :: std :: cmp :: Eq for COPYFILE2_MESSAGE_0_4 { } unsafe impl :: windows :: Abi for COPYFILE2_MESSAGE_0_4 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct COPYFILE2_MESSAGE_0_5 { pub dwStreamNumber : u32 , pub dwReserved : u32 , pub hSourceFile : super::super::Foundation:: HANDLE , pub hDestinationFile : super::super::Foundation:: HANDLE , pub uliStreamSize : u64 , pub uliTotalFileSize : u64 } impl COPYFILE2_MESSAGE_0_5 { } impl :: std :: default :: Default for COPYFILE2_MESSAGE_0_5 { fn default ( ) -> Self { Self { dwStreamNumber : 0 , dwReserved : 0 , hSourceFile : :: std :: default :: Default :: default ( ) , hDestinationFile : :: std :: default :: Default :: default ( ) , uliStreamSize : 0 , uliTotalFileSize : 0 } } } impl :: std :: fmt :: Debug for COPYFILE2_MESSAGE_0_5 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_StreamStarted_e__Struct" ) . field ( "dwStreamNumber" , & self . dwStreamNumber ) . field ( "dwReserved" , & self . dwReserved ) . field ( "hSourceFile" , & self . hSourceFile ) . field ( "hDestinationFile" , & self . hDestinationFile ) . field ( "uliStreamSize" , & self . uliStreamSize ) . field ( "uliTotalFileSize" , & self . uliTotalFileSize ) . finish ( ) } } impl :: std :: cmp :: PartialEq for COPYFILE2_MESSAGE_0_5 { fn eq ( & self , other : & Self ) -> bool { self . dwStreamNumber == other . dwStreamNumber && self . dwReserved == other . dwReserved && self . hSourceFile == other . hSourceFile && self . hDestinationFile == other . hDestinationFile && self . uliStreamSize == other . uliStreamSize && self . uliTotalFileSize == other . uliTotalFileSize } } impl :: std :: cmp :: Eq for COPYFILE2_MESSAGE_0_5 { } unsafe impl :: windows :: Abi for COPYFILE2_MESSAGE_0_5 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct COPYFILE2_MESSAGE_ACTION ( pub i32 ) ; pub const COPYFILE2_PROGRESS_CONTINUE : COPYFILE2_MESSAGE_ACTION = COPYFILE2_MESSAGE_ACTION ( 0i32 ) ; pub const COPYFILE2_PROGRESS_CANCEL : COPYFILE2_MESSAGE_ACTION = COPYFILE2_MESSAGE_ACTION ( 1i32 ) ; pub const COPYFILE2_PROGRESS_STOP : COPYFILE2_MESSAGE_ACTION = COPYFILE2_MESSAGE_ACTION ( 2i32 ) ; pub const COPYFILE2_PROGRESS_QUIET : COPYFILE2_MESSAGE_ACTION = COPYFILE2_MESSAGE_ACTION ( 3i32 ) ; pub const COPYFILE2_PROGRESS_PAUSE : COPYFILE2_MESSAGE_ACTION = COPYFILE2_MESSAGE_ACTION ( 4i32 ) ; impl :: std :: convert :: From < i32 > for COPYFILE2_MESSAGE_ACTION { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for COPYFILE2_MESSAGE_ACTION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct COPYFILE2_MESSAGE_TYPE ( pub i32 ) ; pub const COPYFILE2_CALLBACK_NONE : COPYFILE2_MESSAGE_TYPE = COPYFILE2_MESSAGE_TYPE ( 0i32 ) ; pub const COPYFILE2_CALLBACK_CHUNK_STARTED : COPYFILE2_MESSAGE_TYPE = COPYFILE2_MESSAGE_TYPE ( 1i32 ) ; pub const COPYFILE2_CALLBACK_CHUNK_FINISHED : COPYFILE2_MESSAGE_TYPE = COPYFILE2_MESSAGE_TYPE ( 2i32 ) ; pub const COPYFILE2_CALLBACK_STREAM_STARTED : COPYFILE2_MESSAGE_TYPE = COPYFILE2_MESSAGE_TYPE ( 3i32 ) ; pub const COPYFILE2_CALLBACK_STREAM_FINISHED : COPYFILE2_MESSAGE_TYPE = COPYFILE2_MESSAGE_TYPE ( 4i32 ) ; pub const COPYFILE2_CALLBACK_POLL_CONTINUE : COPYFILE2_MESSAGE_TYPE = COPYFILE2_MESSAGE_TYPE ( 5i32 ) ; pub const COPYFILE2_CALLBACK_ERROR : COPYFILE2_MESSAGE_TYPE = COPYFILE2_MESSAGE_TYPE ( 6i32 ) ; pub const COPYFILE2_CALLBACK_MAX : COPYFILE2_MESSAGE_TYPE = COPYFILE2_MESSAGE_TYPE ( 7i32 ) ; impl :: std :: convert :: From < i32 > for COPYFILE2_MESSAGE_TYPE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for COPYFILE2_MESSAGE_TYPE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CREATEFILE2_EXTENDED_PARAMETERS { pub dwSize : u32 , pub dwFileAttributes : u32 , pub dwFileFlags : u32 , pub dwSecurityQosFlags : u32 , pub lpSecurityAttributes : * mut super::super::Security:: SECURITY_ATTRIBUTES , pub hTemplateFile : super::super::Foundation:: HANDLE } impl CREATEFILE2_EXTENDED_PARAMETERS { } impl :: std :: default :: Default for CREATEFILE2_EXTENDED_PARAMETERS { fn default ( ) -> Self { Self { dwSize : 0 , dwFileAttributes : 0 , dwFileFlags : 0 , dwSecurityQosFlags : 0 , lpSecurityAttributes : :: std :: ptr :: null_mut ( ) , hTemplateFile : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for CREATEFILE2_EXTENDED_PARAMETERS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CREATEFILE2_EXTENDED_PARAMETERS" ) . field ( "dwSize" , & self . dwSize ) . field ( "dwFileAttributes" , & self . dwFileAttributes ) . field ( "dwFileFlags" , & self . dwFileFlags ) . field ( "dwSecurityQosFlags" , & self . dwSecurityQosFlags ) . field ( "lpSecurityAttributes" , & self . lpSecurityAttributes ) . field ( "hTemplateFile" , & self . hTemplateFile ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CREATEFILE2_EXTENDED_PARAMETERS { fn eq ( & self , other : & Self ) -> bool { self . dwSize == other . dwSize && self . dwFileAttributes == other . dwFileAttributes && self . dwFileFlags == other . dwFileFlags && self . dwSecurityQosFlags == other . dwSecurityQosFlags && self . lpSecurityAttributes == other . lpSecurityAttributes && self . hTemplateFile == other . hTemplateFile } } impl :: std :: cmp :: Eq for CREATEFILE2_EXTENDED_PARAMETERS { } unsafe impl :: windows :: Abi for CREATEFILE2_EXTENDED_PARAMETERS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CREATE_DISK { pub PartitionStyle : PARTITION_STYLE , pub Anonymous : CREATE_DISK_0 } impl CREATE_DISK { } impl :: std :: cmp :: PartialEq for CREATE_DISK { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for CREATE_DISK { } unsafe impl :: windows :: Abi for CREATE_DISK { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union CREATE_DISK_0 { pub Mbr : CREATE_DISK_MBR , pub Gpt : CREATE_DISK_GPT } impl CREATE_DISK_0 { } impl :: std :: cmp :: PartialEq for CREATE_DISK_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for CREATE_DISK_0 { } unsafe impl :: windows :: Abi for CREATE_DISK_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CREATE_DISK_GPT { pub DiskId : :: windows :: Guid , pub MaxPartitionCount : u32 } impl CREATE_DISK_GPT { } impl :: std :: default :: Default for CREATE_DISK_GPT { fn default ( ) -> Self { Self { DiskId : :: std :: default :: Default :: default ( ) , MaxPartitionCount : 0 } } } impl :: std :: fmt :: Debug for CREATE_DISK_GPT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CREATE_DISK_GPT" ) . field ( "DiskId" , & self . DiskId ) . field ( "MaxPartitionCount" , & self . MaxPartitionCount ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CREATE_DISK_GPT { fn eq ( & self , other : & Self ) -> bool { self . DiskId == other . DiskId && self . MaxPartitionCount == other . MaxPartitionCount } } impl :: std :: cmp :: Eq for CREATE_DISK_GPT { } unsafe impl :: windows :: Abi for CREATE_DISK_GPT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CREATE_DISK_MBR { pub Signature : u32 } impl CREATE_DISK_MBR { } impl :: std :: default :: Default for CREATE_DISK_MBR { fn default ( ) -> Self { Self { Signature : 0 } } } impl :: std :: fmt :: Debug for CREATE_DISK_MBR { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CREATE_DISK_MBR" ) . field ( "Signature" , & self . Signature ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CREATE_DISK_MBR { fn eq ( & self , other : & Self ) -> bool { self . Signature == other . Signature } } impl :: std :: cmp :: Eq for CREATE_DISK_MBR { } unsafe impl :: windows :: Abi for CREATE_DISK_MBR { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct CREATE_TAPE_PARTITION_METHOD ( pub i32 ) ; pub const TAPE_FIXED_PARTITIONS : CREATE_TAPE_PARTITION_METHOD = CREATE_TAPE_PARTITION_METHOD ( 0i32 ) ; pub const TAPE_INITIATOR_PARTITIONS : CREATE_TAPE_PARTITION_METHOD = CREATE_TAPE_PARTITION_METHOD ( 2i32 ) ; pub const TAPE_SELECT_PARTITIONS : CREATE_TAPE_PARTITION_METHOD = CREATE_TAPE_PARTITION_METHOD ( 1i32 ) ; impl :: std :: convert :: From < i32 > for CREATE_TAPE_PARTITION_METHOD { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for CREATE_TAPE_PARTITION_METHOD { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CREATE_USN_JOURNAL_DATA { pub MaximumSize : u64 , pub AllocationDelta : u64 } impl CREATE_USN_JOURNAL_DATA { } impl :: std :: default :: Default for CREATE_USN_JOURNAL_DATA { fn default ( ) -> Self { Self { MaximumSize : 0 , AllocationDelta : 0 } } } impl :: std :: fmt :: Debug for CREATE_USN_JOURNAL_DATA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CREATE_USN_JOURNAL_DATA" ) . field ( "MaximumSize" , & self . MaximumSize ) . field ( "AllocationDelta" , & self . AllocationDelta ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CREATE_USN_JOURNAL_DATA { fn eq ( & self , other : & Self ) -> bool { self . MaximumSize == other . MaximumSize && self . AllocationDelta == other . AllocationDelta } } impl :: std :: cmp :: Eq for CREATE_USN_JOURNAL_DATA { } unsafe impl :: windows :: Abi for CREATE_USN_JOURNAL_DATA { type Abi = Self ; type DefaultType = Self ; } pub const CRM_PROTOCOL_DYNAMIC_MARSHAL_INFO : u32 = 2u32 ; pub const CRM_PROTOCOL_EXPLICIT_MARSHAL_ONLY : u32 = 1u32 ; pub const CRM_PROTOCOL_MAXIMUM_OPTION : u32 = 3u32 ; pub const CSC_CACHE_AUTO_REINT : u32 = 16u32 ; pub const CSC_CACHE_MANUAL_REINT : u32 = 0u32 ; pub const CSC_CACHE_NONE : u32 = 48u32 ; pub const CSC_CACHE_VDO : u32 = 32u32 ; pub const CSC_MASK : u32 = 48u32 ; pub const CSC_MASK_EXT : u32 = 8240u32 ; pub const CSV_BLOCK_AND_FILE_CACHE_CALLBACK_VERSION : u32 = 2u32 ; pub const CSV_BLOCK_CACHE_CALLBACK_VERSION : u32 = 1u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct CSV_CONTROL_OP ( pub i32 ) ; pub const CsvControlStartRedirectFile : CSV_CONTROL_OP = CSV_CONTROL_OP ( 2i32 ) ; pub const CsvControlStopRedirectFile : CSV_CONTROL_OP = CSV_CONTROL_OP ( 3i32 ) ; pub const CsvControlQueryRedirectState : CSV_CONTROL_OP = CSV_CONTROL_OP ( 4i32 ) ; pub const CsvControlQueryFileRevision : CSV_CONTROL_OP = CSV_CONTROL_OP ( 6i32 ) ; pub const CsvControlQueryMdsPath : CSV_CONTROL_OP = CSV_CONTROL_OP ( 8i32 ) ; pub const CsvControlQueryFileRevisionFileId128 : CSV_CONTROL_OP = CSV_CONTROL_OP ( 9i32 ) ; pub const CsvControlQueryVolumeRedirectState : CSV_CONTROL_OP = CSV_CONTROL_OP ( 10i32 ) ; pub const CsvControlEnableUSNRangeModificationTracking : CSV_CONTROL_OP = CSV_CONTROL_OP ( 13i32 ) ; pub const CsvControlMarkHandleLocalVolumeMount : CSV_CONTROL_OP = CSV_CONTROL_OP ( 14i32 ) ; pub const CsvControlUnmarkHandleLocalVolumeMount : CSV_CONTROL_OP = CSV_CONTROL_OP ( 15i32 ) ; pub const CsvControlGetCsvFsMdsPathV2 : CSV_CONTROL_OP = CSV_CONTROL_OP ( 18i32 ) ; pub const CsvControlDisableCaching : CSV_CONTROL_OP = CSV_CONTROL_OP ( 19i32 ) ; pub const CsvControlEnableCaching : CSV_CONTROL_OP = CSV_CONTROL_OP ( 20i32 ) ; pub const CsvControlStartForceDFO : CSV_CONTROL_OP = CSV_CONTROL_OP ( 21i32 ) ; pub const CsvControlStopForceDFO : CSV_CONTROL_OP = CSV_CONTROL_OP ( 22i32 ) ; impl :: std :: convert :: From < i32 > for CSV_CONTROL_OP { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for CSV_CONTROL_OP { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CSV_CONTROL_PARAM { pub Operation : CSV_CONTROL_OP , pub Unused : i64 } impl CSV_CONTROL_PARAM { } impl :: std :: default :: Default for CSV_CONTROL_PARAM { fn default ( ) -> Self { Self { Operation : :: std :: default :: Default :: default ( ) , Unused : 0 } } } impl :: std :: fmt :: Debug for CSV_CONTROL_PARAM { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CSV_CONTROL_PARAM" ) . field ( "Operation" , & self . Operation ) . field ( "Unused" , & self . Unused ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CSV_CONTROL_PARAM { fn eq ( & self , other : & Self ) -> bool { self . Operation == other . Operation && self . Unused == other . Unused } } impl :: std :: cmp :: Eq for CSV_CONTROL_PARAM { } unsafe impl :: windows :: Abi for CSV_CONTROL_PARAM { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CSV_IS_OWNED_BY_CSVFS { pub OwnedByCSVFS : u8 } impl CSV_IS_OWNED_BY_CSVFS { } impl :: std :: default :: Default for CSV_IS_OWNED_BY_CSVFS { fn default ( ) -> Self { Self { OwnedByCSVFS : 0 } } } impl :: std :: fmt :: Debug for CSV_IS_OWNED_BY_CSVFS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CSV_IS_OWNED_BY_CSVFS" ) . field ( "OwnedByCSVFS" , & self . OwnedByCSVFS ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CSV_IS_OWNED_BY_CSVFS { fn eq ( & self , other : & Self ) -> bool { self . OwnedByCSVFS == other . OwnedByCSVFS } } impl :: std :: cmp :: Eq for CSV_IS_OWNED_BY_CSVFS { } unsafe impl :: windows :: Abi for CSV_IS_OWNED_BY_CSVFS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CSV_NAMESPACE_INFO { pub Version : u32 , pub DeviceNumber : u32 , pub StartingOffset : i64 , pub SectorSize : u32 } impl CSV_NAMESPACE_INFO { } impl :: std :: default :: Default for CSV_NAMESPACE_INFO { fn default ( ) -> Self { Self { Version : 0 , DeviceNumber : 0 , StartingOffset : 0 , SectorSize : 0 } } } impl :: std :: fmt :: Debug for CSV_NAMESPACE_INFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CSV_NAMESPACE_INFO" ) . field ( "Version" , & self . Version ) . field ( "DeviceNumber" , & self . DeviceNumber ) . field ( "StartingOffset" , & self . StartingOffset ) . field ( "SectorSize" , & self . SectorSize ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CSV_NAMESPACE_INFO { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . DeviceNumber == other . DeviceNumber && self . StartingOffset == other . StartingOffset && self . SectorSize == other . SectorSize } } impl :: std :: cmp :: Eq for CSV_NAMESPACE_INFO { } unsafe impl :: windows :: Abi for CSV_NAMESPACE_INFO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CSV_QUERY_FILE_REVISION { pub FileId : i64 , pub FileRevision : [ i64 ;3 ] } impl CSV_QUERY_FILE_REVISION { } impl :: std :: default :: Default for CSV_QUERY_FILE_REVISION { fn default ( ) -> Self { Self { FileId : 0 , FileRevision : [ 0 ;3 ] } } } impl :: std :: fmt :: Debug for CSV_QUERY_FILE_REVISION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CSV_QUERY_FILE_REVISION" ) . field ( "FileId" , & self . FileId ) . field ( "FileRevision" , & self . FileRevision ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CSV_QUERY_FILE_REVISION { fn eq ( & self , other : & Self ) -> bool { self . FileId == other . FileId && self . FileRevision == other . FileRevision } } impl :: std :: cmp :: Eq for CSV_QUERY_FILE_REVISION { } unsafe impl :: windows :: Abi for CSV_QUERY_FILE_REVISION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CSV_QUERY_MDS_PATH { pub MdsNodeId : u32 , pub DsNodeId : u32 , pub PathLength : u32 , pub Path : [ u16 ;1 ] } impl CSV_QUERY_MDS_PATH { } impl :: std :: default :: Default for CSV_QUERY_MDS_PATH { fn default ( ) -> Self { Self { MdsNodeId : 0 , DsNodeId : 0 , PathLength : 0 , Path : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for CSV_QUERY_MDS_PATH { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CSV_QUERY_MDS_PATH" ) . field ( "MdsNodeId" , & self . MdsNodeId ) . field ( "DsNodeId" , & self . DsNodeId ) . field ( "PathLength" , & self . PathLength ) . field ( "Path" , & self . Path ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CSV_QUERY_MDS_PATH { fn eq ( & self , other : & Self ) -> bool { self . MdsNodeId == other . MdsNodeId && self . DsNodeId == other . DsNodeId && self . PathLength == other . PathLength && self . Path == other . Path } } impl :: std :: cmp :: Eq for CSV_QUERY_MDS_PATH { } unsafe impl :: windows :: Abi for CSV_QUERY_MDS_PATH { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CSV_QUERY_REDIRECT_STATE { pub MdsNodeId : u32 , pub DsNodeId : u32 , pub FileRedirected : u8 } impl CSV_QUERY_REDIRECT_STATE { } impl :: std :: default :: Default for CSV_QUERY_REDIRECT_STATE { fn default ( ) -> Self { Self { MdsNodeId : 0 , DsNodeId : 0 , FileRedirected : 0 } } } impl :: std :: fmt :: Debug for CSV_QUERY_REDIRECT_STATE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CSV_QUERY_REDIRECT_STATE" ) . field ( "MdsNodeId" , & self . MdsNodeId ) . field ( "DsNodeId" , & self . DsNodeId ) . field ( "FileRedirected" , & self . FileRedirected ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CSV_QUERY_REDIRECT_STATE { fn eq ( & self , other : & Self ) -> bool { self . MdsNodeId == other . MdsNodeId && self . DsNodeId == other . DsNodeId && self . FileRedirected == other . FileRedirected } } impl :: std :: cmp :: Eq for CSV_QUERY_REDIRECT_STATE { } unsafe impl :: windows :: Abi for CSV_QUERY_REDIRECT_STATE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CSV_QUERY_VETO_FILE_DIRECT_IO_OUTPUT { pub VetoedFromAltitudeIntegral : u64 , pub VetoedFromAltitudeDecimal : u64 , pub Reason : [ u16 ;256 ] } impl CSV_QUERY_VETO_FILE_DIRECT_IO_OUTPUT { } impl :: std :: default :: Default for CSV_QUERY_VETO_FILE_DIRECT_IO_OUTPUT { fn default ( ) -> Self { Self { VetoedFromAltitudeIntegral : 0 , VetoedFromAltitudeDecimal : 0 , Reason : [ 0 ;256 ] } } } impl :: std :: fmt :: Debug for CSV_QUERY_VETO_FILE_DIRECT_IO_OUTPUT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CSV_QUERY_VETO_FILE_DIRECT_IO_OUTPUT" ) . field ( "VetoedFromAltitudeIntegral" , & self . VetoedFromAltitudeIntegral ) . field ( "VetoedFromAltitudeDecimal" , & self . VetoedFromAltitudeDecimal ) . field ( "Reason" , & self . Reason ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CSV_QUERY_VETO_FILE_DIRECT_IO_OUTPUT { fn eq ( & self , other : & Self ) -> bool { self . VetoedFromAltitudeIntegral == other . VetoedFromAltitudeIntegral && self . VetoedFromAltitudeDecimal == other . VetoedFromAltitudeDecimal && self . Reason == other . Reason } } impl :: std :: cmp :: Eq for CSV_QUERY_VETO_FILE_DIRECT_IO_OUTPUT { } unsafe impl :: windows :: Abi for CSV_QUERY_VETO_FILE_DIRECT_IO_OUTPUT { type Abi = Self ; type DefaultType = Self ; } pub unsafe fn CancelIo < 'a , > ( hfile : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn CancelIo ( hfile : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ; } CancelIo ( hfile . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CancelIoEx < 'a , > ( hfile : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , lpoverlapped : * mut super::super::System::SystemServices:: OVERLAPPED , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn CancelIoEx ( hfile : super::super::Foundation:: HANDLE , lpoverlapped : * mut super::super::System::SystemServices:: OVERLAPPED ) -> super::super::Foundation:: BOOL ; } CancelIoEx ( hfile . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpoverlapped ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CancelSynchronousIo < 'a , > ( hthread : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn CancelSynchronousIo ( hthread : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ; } CancelSynchronousIo ( hthread . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CheckNameLegalDOS8Dot3A < 'a , > ( lpname : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , lpoemname : super::super::Foundation:: PSTR , oemnamesize : u32 , pbnamecontainsspaces : * mut super::super::Foundation:: BOOL , pbnamelegal : * mut super::super::Foundation:: BOOL , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn CheckNameLegalDOS8Dot3A ( lpname : super::super::Foundation:: PSTR , lpoemname : super::super::Foundation:: PSTR , oemnamesize : u32 , pbnamecontainsspaces : * mut super::super::Foundation:: BOOL , pbnamelegal : * mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ; } CheckNameLegalDOS8Dot3A ( lpname . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpoemname ) , :: std :: mem :: transmute ( oemnamesize ) , :: std :: mem :: transmute ( pbnamecontainsspaces ) , :: std :: mem :: transmute ( pbnamelegal ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CheckNameLegalDOS8Dot3W < 'a , > ( lpname : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , lpoemname : super::super::Foundation:: PSTR , oemnamesize : u32 , pbnamecontainsspaces : * mut super::super::Foundation:: BOOL , pbnamelegal : * mut super::super::Foundation:: BOOL , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn CheckNameLegalDOS8Dot3W ( lpname : super::super::Foundation:: PWSTR , lpoemname : super::super::Foundation:: PSTR , oemnamesize : u32 , pbnamecontainsspaces : * mut super::super::Foundation:: BOOL , pbnamelegal : * mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ; } CheckNameLegalDOS8Dot3W ( lpname . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpoemname ) , :: std :: mem :: transmute ( oemnamesize ) , :: std :: mem :: transmute ( pbnamecontainsspaces ) , :: std :: mem :: transmute ( pbnamelegal ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub const ClfsClientRecord : u8 = 3u8 ; pub const ClfsContainerActive : u32 = 4u32 ; pub const ClfsContainerActivePendingDelete : u32 = 8u32 ; pub const ClfsContainerInactive : u32 = 2u32 ; pub const ClfsContainerInitializing : u32 = 1u32 ; pub const ClfsContainerPendingArchive : u32 = 16u32 ; pub const ClfsContainerPendingArchiveAndDelete : u32 = 32u32 ; pub const ClfsDataRecord : u8 = 1u8 ; pub const ClfsNullRecord : u8 = 0u8 ; pub const ClfsRestartRecord : u8 = 2u8 ; pub unsafe fn CloseAndResetLogFile < 'a , > ( hlog : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="clfsw32" ) ] extern "system" { fn CloseAndResetLogFile ( hlog : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ; } CloseAndResetLogFile ( hlog . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CloseEncryptedFileRaw < > ( pvcontext : * mut :: std :: ffi :: c_void , ) { # [ cfg ( windows ) ] { # [ link ( name ="ADVAPI32" ) ] extern "system" { fn CloseEncryptedFileRaw ( pvcontext : * mut :: std :: ffi :: c_void ) ; } CloseEncryptedFileRaw ( :: std :: mem :: transmute ( pvcontext ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub const ClsContainerActive : u32 = 4u32 ; pub const ClsContainerActivePendingDelete : u32 = 8u32 ; pub const ClsContainerInactive : u32 = 2u32 ; pub const ClsContainerInitializing : u32 = 1u32 ; pub const ClsContainerPendingArchive : u32 = 16u32 ; pub const ClsContainerPendingArchiveAndDelete : u32 = 32u32 ; pub unsafe fn CommitComplete < 'a , > ( enlistmenthandle : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , tmvirtualclock : * mut i64 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="ktmw32" ) ] extern "system" { fn CommitComplete ( enlistmenthandle : super::super::Foundation:: HANDLE , tmvirtualclock : * mut i64 ) -> super::super::Foundation:: BOOL ; } CommitComplete ( enlistmenthandle . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( tmvirtualclock ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CommitEnlistment < 'a , > ( enlistmenthandle : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , tmvirtualclock : * mut i64 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="ktmw32" ) ] extern "system" { fn CommitEnlistment ( enlistmenthandle : super::super::Foundation:: HANDLE , tmvirtualclock : * mut i64 ) -> super::super::Foundation:: BOOL ; } CommitEnlistment ( enlistmenthandle . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( tmvirtualclock ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CommitTransaction < 'a , > ( transactionhandle : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="ktmw32" ) ] extern "system" { fn CommitTransaction ( transactionhandle : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ; } CommitTransaction ( transactionhandle . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CommitTransactionAsync < 'a , > ( transactionhandle : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="ktmw32" ) ] extern "system" { fn CommitTransactionAsync ( transactionhandle : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ; } CommitTransactionAsync ( transactionhandle . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CompareFileTime < > ( lpfiletime1 : * const super::super::Foundation:: FILETIME , lpfiletime2 : * const super::super::Foundation:: FILETIME , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn CompareFileTime ( lpfiletime1 : * const super::super::Foundation:: FILETIME , lpfiletime2 : * const super::super::Foundation:: FILETIME ) -> i32 ; } CompareFileTime ( :: std :: mem :: transmute ( lpfiletime1 ) , :: std :: mem :: transmute ( lpfiletime2 ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CopyFile2 < 'a , > ( pwszexistingfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , pwsznewfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , pextendedparameters : * mut COPYFILE2_EXTENDED_PARAMETERS , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn CopyFile2 ( pwszexistingfilename : super::super::Foundation:: PWSTR , pwsznewfilename : super::super::Foundation:: PWSTR , pextendedparameters : * mut COPYFILE2_EXTENDED_PARAMETERS_abi ) -> :: windows :: HRESULT ; } CopyFile2 ( pwszexistingfilename . into_param ( ) . abi ( ) , pwsznewfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pextendedparameters ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CopyFileA < 'a , > ( lpexistingfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , lpnewfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , bfailifexists : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn CopyFileA ( lpexistingfilename : super::super::Foundation:: PSTR , lpnewfilename : super::super::Foundation:: PSTR , bfailifexists : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ; } CopyFileA ( lpexistingfilename . into_param ( ) . abi ( ) , lpnewfilename . into_param ( ) . abi ( ) , bfailifexists . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CopyFileExA < 'a , > ( lpexistingfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , lpnewfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , lpprogressroutine : :: std :: option :: Option < LPPROGRESS_ROUTINE > , lpdata : * mut :: std :: ffi :: c_void , pbcancel : * mut i32 , dwcopyflags : u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn CopyFileExA ( lpexistingfilename : super::super::Foundation:: PSTR , lpnewfilename : super::super::Foundation:: PSTR , lpprogressroutine : :: windows :: RawPtr , lpdata : * mut :: std :: ffi :: c_void , pbcancel : * mut i32 , dwcopyflags : u32 ) -> super::super::Foundation:: BOOL ; } CopyFileExA ( lpexistingfilename . into_param ( ) . abi ( ) , lpnewfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpprogressroutine ) , :: std :: mem :: transmute ( lpdata ) , :: std :: mem :: transmute ( pbcancel ) , :: std :: mem :: transmute ( dwcopyflags ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CopyFileExW < 'a , > ( lpexistingfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , lpnewfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , lpprogressroutine : :: std :: option :: Option < LPPROGRESS_ROUTINE > , lpdata : * mut :: std :: ffi :: c_void , pbcancel : * mut i32 , dwcopyflags : u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn CopyFileExW ( lpexistingfilename : super::super::Foundation:: PWSTR , lpnewfilename : super::super::Foundation:: PWSTR , lpprogressroutine : :: windows :: RawPtr , lpdata : * mut :: std :: ffi :: c_void , pbcancel : * mut i32 , dwcopyflags : u32 ) -> super::super::Foundation:: BOOL ; } CopyFileExW ( lpexistingfilename . into_param ( ) . abi ( ) , lpnewfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpprogressroutine ) , :: std :: mem :: transmute ( lpdata ) , :: std :: mem :: transmute ( pbcancel ) , :: std :: mem :: transmute ( dwcopyflags ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CopyFileFromAppW < 'a , > ( lpexistingfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , lpnewfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , bfailifexists : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="onecoreuap" ) ] extern "system" { fn CopyFileFromAppW ( lpexistingfilename : super::super::Foundation:: PWSTR , lpnewfilename : super::super::Foundation:: PWSTR , bfailifexists : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ; } CopyFileFromAppW ( lpexistingfilename . into_param ( ) . abi ( ) , lpnewfilename . into_param ( ) . abi ( ) , bfailifexists . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CopyFileTransactedA < 'a , > ( lpexistingfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , lpnewfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , lpprogressroutine : :: std :: option :: Option < LPPROGRESS_ROUTINE > , lpdata : * mut :: std :: ffi :: c_void , pbcancel : * mut i32 , dwcopyflags : u32 , htransaction : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn CopyFileTransactedA ( lpexistingfilename : super::super::Foundation:: PSTR , lpnewfilename : super::super::Foundation:: PSTR , lpprogressroutine : :: windows :: RawPtr , lpdata : * mut :: std :: ffi :: c_void , pbcancel : * mut i32 , dwcopyflags : u32 , htransaction : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ; } CopyFileTransactedA ( lpexistingfilename . into_param ( ) . abi ( ) , lpnewfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpprogressroutine ) , :: std :: mem :: transmute ( lpdata ) , :: std :: mem :: transmute ( pbcancel ) , :: std :: mem :: transmute ( dwcopyflags ) , htransaction . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CopyFileTransactedW < 'a , > ( lpexistingfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , lpnewfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , lpprogressroutine : :: std :: option :: Option < LPPROGRESS_ROUTINE > , lpdata : * mut :: std :: ffi :: c_void , pbcancel : * mut i32 , dwcopyflags : u32 , htransaction : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn CopyFileTransactedW ( lpexistingfilename : super::super::Foundation:: PWSTR , lpnewfilename : super::super::Foundation:: PWSTR , lpprogressroutine : :: windows :: RawPtr , lpdata : * mut :: std :: ffi :: c_void , pbcancel : * mut i32 , dwcopyflags : u32 , htransaction : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ; } CopyFileTransactedW ( lpexistingfilename . into_param ( ) . abi ( ) , lpnewfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpprogressroutine ) , :: std :: mem :: transmute ( lpdata ) , :: std :: mem :: transmute ( pbcancel ) , :: std :: mem :: transmute ( dwcopyflags ) , htransaction . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CopyFileW < 'a , > ( lpexistingfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , lpnewfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , bfailifexists : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn CopyFileW ( lpexistingfilename : super::super::Foundation:: PWSTR , lpnewfilename : super::super::Foundation:: PWSTR , bfailifexists : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ; } CopyFileW ( lpexistingfilename . into_param ( ) . abi ( ) , lpnewfilename . into_param ( ) . abi ( ) , bfailifexists . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CopyLZFile < > ( hfsource : i32 , hfdest : i32 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn CopyLZFile ( hfsource : i32 , hfdest : i32 ) -> i32 ; } CopyLZFile ( :: std :: mem :: transmute ( hfsource ) , :: std :: mem :: transmute ( hfdest ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateDirectoryA < 'a , > ( lppathname : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , lpsecurityattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn CreateDirectoryA ( lppathname : super::super::Foundation:: PSTR , lpsecurityattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES ) -> super::super::Foundation:: BOOL ; } CreateDirectoryA ( lppathname . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpsecurityattributes ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateDirectoryExA < 'a , > ( lptemplatedirectory : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , lpnewdirectory : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , lpsecurityattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn CreateDirectoryExA ( lptemplatedirectory : super::super::Foundation:: PSTR , lpnewdirectory : super::super::Foundation:: PSTR , lpsecurityattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES ) -> super::super::Foundation:: BOOL ; } CreateDirectoryExA ( lptemplatedirectory . into_param ( ) . abi ( ) , lpnewdirectory . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpsecurityattributes ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateDirectoryExW < 'a , > ( lptemplatedirectory : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , lpnewdirectory : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , lpsecurityattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn CreateDirectoryExW ( lptemplatedirectory : super::super::Foundation:: PWSTR , lpnewdirectory : super::super::Foundation:: PWSTR , lpsecurityattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES ) -> super::super::Foundation:: BOOL ; } CreateDirectoryExW ( lptemplatedirectory . into_param ( ) . abi ( ) , lpnewdirectory . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpsecurityattributes ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateDirectoryFromAppW < 'a , > ( lppathname : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , lpsecurityattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="onecoreuap" ) ] extern "system" { fn CreateDirectoryFromAppW ( lppathname : super::super::Foundation:: PWSTR , lpsecurityattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES ) -> super::super::Foundation:: BOOL ; } CreateDirectoryFromAppW ( lppathname . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpsecurityattributes ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateDirectoryTransactedA < 'a , > ( lptemplatedirectory : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , lpnewdirectory : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , lpsecurityattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES , htransaction : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn CreateDirectoryTransactedA ( lptemplatedirectory : super::super::Foundation:: PSTR , lpnewdirectory : super::super::Foundation:: PSTR , lpsecurityattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES , htransaction : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ; } CreateDirectoryTransactedA ( lptemplatedirectory . into_param ( ) . abi ( ) , lpnewdirectory . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpsecurityattributes ) , htransaction . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateDirectoryTransactedW < 'a , > ( lptemplatedirectory : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , lpnewdirectory : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , lpsecurityattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES , htransaction : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn CreateDirectoryTransactedW ( lptemplatedirectory : super::super::Foundation:: PWSTR , lpnewdirectory : super::super::Foundation:: PWSTR , lpsecurityattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES , htransaction : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ; } CreateDirectoryTransactedW ( lptemplatedirectory . into_param ( ) . abi ( ) , lpnewdirectory . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpsecurityattributes ) , htransaction . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateDirectoryW < 'a , > ( lppathname : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , lpsecurityattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn CreateDirectoryW ( lppathname : super::super::Foundation:: PWSTR , lpsecurityattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES ) -> super::super::Foundation:: BOOL ; } CreateDirectoryW ( lppathname . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpsecurityattributes ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateEnlistment < 'a , > ( lpenlistmentattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES , resourcemanagerhandle : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , transactionhandle : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , notificationmask : u32 , createoptions : u32 , enlistmentkey : * mut :: std :: ffi :: c_void , ) -> super::super::Foundation:: HANDLE { # [ cfg ( windows ) ] { # [ link ( name ="ktmw32" ) ] extern "system" { fn CreateEnlistment ( lpenlistmentattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES , resourcemanagerhandle : super::super::Foundation:: HANDLE , transactionhandle : super::super::Foundation:: HANDLE , notificationmask : u32 , createoptions : u32 , enlistmentkey : * mut :: std :: ffi :: c_void ) -> super::super::Foundation:: HANDLE ; } CreateEnlistment ( :: std :: mem :: transmute ( lpenlistmentattributes ) , resourcemanagerhandle . into_param ( ) . abi ( ) , transactionhandle . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( notificationmask ) , :: std :: mem :: transmute ( createoptions ) , :: std :: mem :: transmute ( enlistmentkey ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateFile2 < 'a , > ( lpfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , dwdesiredaccess : FILE_ACCESS_FLAGS , dwsharemode : FILE_SHARE_MODE , dwcreationdisposition : FILE_CREATION_DISPOSITION , pcreateexparams : * mut CREATEFILE2_EXTENDED_PARAMETERS , ) -> super::super::Foundation:: HANDLE { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn CreateFile2 ( lpfilename : super::super::Foundation:: PWSTR , dwdesiredaccess : FILE_ACCESS_FLAGS , dwsharemode : FILE_SHARE_MODE , dwcreationdisposition : FILE_CREATION_DISPOSITION , pcreateexparams : * mut CREATEFILE2_EXTENDED_PARAMETERS ) -> super::super::Foundation:: HANDLE ; } CreateFile2 ( lpfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwdesiredaccess ) , :: std :: mem :: transmute ( dwsharemode ) , :: std :: mem :: transmute ( dwcreationdisposition ) , :: std :: mem :: transmute ( pcreateexparams ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateFile2FromAppW < 'a , > ( lpfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , dwdesiredaccess : u32 , dwsharemode : u32 , dwcreationdisposition : u32 , pcreateexparams : * mut CREATEFILE2_EXTENDED_PARAMETERS , ) -> super::super::Foundation:: HANDLE { # [ cfg ( windows ) ] { # [ link ( name ="onecoreuap" ) ] extern "system" { fn CreateFile2FromAppW ( lpfilename : super::super::Foundation:: PWSTR , dwdesiredaccess : u32 , dwsharemode : u32 , dwcreationdisposition : u32 , pcreateexparams : * mut CREATEFILE2_EXTENDED_PARAMETERS ) -> super::super::Foundation:: HANDLE ; } CreateFile2FromAppW ( lpfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwdesiredaccess ) , :: std :: mem :: transmute ( dwsharemode ) , :: std :: mem :: transmute ( dwcreationdisposition ) , :: std :: mem :: transmute ( pcreateexparams ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateFileA < 'a , > ( lpfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , dwdesiredaccess : FILE_ACCESS_FLAGS , dwsharemode : FILE_SHARE_MODE , lpsecurityattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES , dwcreationdisposition : FILE_CREATION_DISPOSITION , dwflagsandattributes : FILE_FLAGS_AND_ATTRIBUTES , htemplatefile : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , ) -> super::super::Foundation:: HANDLE { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn CreateFileA ( lpfilename : super::super::Foundation:: PSTR , dwdesiredaccess : FILE_ACCESS_FLAGS , dwsharemode : FILE_SHARE_MODE , lpsecurityattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES , dwcreationdisposition : FILE_CREATION_DISPOSITION , dwflagsandattributes : FILE_FLAGS_AND_ATTRIBUTES , htemplatefile : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: HANDLE ; } CreateFileA ( lpfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwdesiredaccess ) , :: std :: mem :: transmute ( dwsharemode ) , :: std :: mem :: transmute ( lpsecurityattributes ) , :: std :: mem :: transmute ( dwcreationdisposition ) , :: std :: mem :: transmute ( dwflagsandattributes ) , htemplatefile . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateFileFromAppW < 'a , > ( lpfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , dwdesiredaccess : u32 , dwsharemode : u32 , lpsecurityattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES , dwcreationdisposition : u32 , dwflagsandattributes : u32 , htemplatefile : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , ) -> super::super::Foundation:: HANDLE { # [ cfg ( windows ) ] { # [ link ( name ="onecoreuap" ) ] extern "system" { fn CreateFileFromAppW ( lpfilename : super::super::Foundation:: PWSTR , dwdesiredaccess : u32 , dwsharemode : u32 , lpsecurityattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES , dwcreationdisposition : u32 , dwflagsandattributes : u32 , htemplatefile : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: HANDLE ; } CreateFileFromAppW ( lpfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwdesiredaccess ) , :: std :: mem :: transmute ( dwsharemode ) , :: std :: mem :: transmute ( lpsecurityattributes ) , :: std :: mem :: transmute ( dwcreationdisposition ) , :: std :: mem :: transmute ( dwflagsandattributes ) , htemplatefile . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateFileTransactedA < 'a , > ( lpfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , dwdesiredaccess : u32 , dwsharemode : FILE_SHARE_MODE , lpsecurityattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES , dwcreationdisposition : FILE_CREATION_DISPOSITION , dwflagsandattributes : FILE_FLAGS_AND_ATTRIBUTES , htemplatefile : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , htransaction : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , pusminiversion : * mut TXFS_MINIVERSION , lpextendedparameter : * mut :: std :: ffi :: c_void , ) -> super::super::Foundation:: HANDLE { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn CreateFileTransactedA ( lpfilename : super::super::Foundation:: PSTR , dwdesiredaccess : u32 , dwsharemode : FILE_SHARE_MODE , lpsecurityattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES , dwcreationdisposition : FILE_CREATION_DISPOSITION , dwflagsandattributes : FILE_FLAGS_AND_ATTRIBUTES , htemplatefile : super::super::Foundation:: HANDLE , htransaction : super::super::Foundation:: HANDLE , pusminiversion : * mut TXFS_MINIVERSION , lpextendedparameter : * mut :: std :: ffi :: c_void ) -> super::super::Foundation:: HANDLE ; } CreateFileTransactedA ( lpfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwdesiredaccess ) , :: std :: mem :: transmute ( dwsharemode ) , :: std :: mem :: transmute ( lpsecurityattributes ) , :: std :: mem :: transmute ( dwcreationdisposition ) , :: std :: mem :: transmute ( dwflagsandattributes ) , htemplatefile . into_param ( ) . abi ( ) , htransaction . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pusminiversion ) , :: std :: mem :: transmute ( lpextendedparameter ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateFileTransactedW < 'a , > ( lpfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , dwdesiredaccess : u32 , dwsharemode : FILE_SHARE_MODE , lpsecurityattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES , dwcreationdisposition : FILE_CREATION_DISPOSITION , dwflagsandattributes : FILE_FLAGS_AND_ATTRIBUTES , htemplatefile : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , htransaction : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , pusminiversion : * mut TXFS_MINIVERSION , lpextendedparameter : * mut :: std :: ffi :: c_void , ) -> super::super::Foundation:: HANDLE { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn CreateFileTransactedW ( lpfilename : super::super::Foundation:: PWSTR , dwdesiredaccess : u32 , dwsharemode : FILE_SHARE_MODE , lpsecurityattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES , dwcreationdisposition : FILE_CREATION_DISPOSITION , dwflagsandattributes : FILE_FLAGS_AND_ATTRIBUTES , htemplatefile : super::super::Foundation:: HANDLE , htransaction : super::super::Foundation:: HANDLE , pusminiversion : * mut TXFS_MINIVERSION , lpextendedparameter : * mut :: std :: ffi :: c_void ) -> super::super::Foundation:: HANDLE ; } CreateFileTransactedW ( lpfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwdesiredaccess ) , :: std :: mem :: transmute ( dwsharemode ) , :: std :: mem :: transmute ( lpsecurityattributes ) , :: std :: mem :: transmute ( dwcreationdisposition ) , :: std :: mem :: transmute ( dwflagsandattributes ) , htemplatefile . into_param ( ) . abi ( ) , htransaction . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pusminiversion ) , :: std :: mem :: transmute ( lpextendedparameter ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateFileW < 'a , > ( lpfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , dwdesiredaccess : FILE_ACCESS_FLAGS , dwsharemode : FILE_SHARE_MODE , lpsecurityattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES , dwcreationdisposition : FILE_CREATION_DISPOSITION , dwflagsandattributes : FILE_FLAGS_AND_ATTRIBUTES , htemplatefile : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , ) -> super::super::Foundation:: HANDLE { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn CreateFileW ( lpfilename : super::super::Foundation:: PWSTR , dwdesiredaccess : FILE_ACCESS_FLAGS , dwsharemode : FILE_SHARE_MODE , lpsecurityattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES , dwcreationdisposition : FILE_CREATION_DISPOSITION , dwflagsandattributes : FILE_FLAGS_AND_ATTRIBUTES , htemplatefile : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: HANDLE ; } CreateFileW ( lpfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwdesiredaccess ) , :: std :: mem :: transmute ( dwsharemode ) , :: std :: mem :: transmute ( lpsecurityattributes ) , :: std :: mem :: transmute ( dwcreationdisposition ) , :: std :: mem :: transmute ( dwflagsandattributes ) , htemplatefile . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateHardLinkA < 'a , > ( lpfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , lpexistingfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , lpsecurityattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn CreateHardLinkA ( lpfilename : super::super::Foundation:: PSTR , lpexistingfilename : super::super::Foundation:: PSTR , lpsecurityattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES ) -> super::super::Foundation:: BOOL ; } CreateHardLinkA ( lpfilename . into_param ( ) . abi ( ) , lpexistingfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpsecurityattributes ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateHardLinkTransactedA < 'a , > ( lpfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , lpexistingfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , lpsecurityattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES , htransaction : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn CreateHardLinkTransactedA ( lpfilename : super::super::Foundation:: PSTR , lpexistingfilename : super::super::Foundation:: PSTR , lpsecurityattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES , htransaction : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ; } CreateHardLinkTransactedA ( lpfilename . into_param ( ) . abi ( ) , lpexistingfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpsecurityattributes ) , htransaction . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateHardLinkTransactedW < 'a , > ( lpfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , lpexistingfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , lpsecurityattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES , htransaction : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn CreateHardLinkTransactedW ( lpfilename : super::super::Foundation:: PWSTR , lpexistingfilename : super::super::Foundation:: PWSTR , lpsecurityattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES , htransaction : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ; } CreateHardLinkTransactedW ( lpfilename . into_param ( ) . abi ( ) , lpexistingfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpsecurityattributes ) , htransaction . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateHardLinkW < 'a , > ( lpfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , lpexistingfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , lpsecurityattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn CreateHardLinkW ( lpfilename : super::super::Foundation:: PWSTR , lpexistingfilename : super::super::Foundation:: PWSTR , lpsecurityattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES ) -> super::super::Foundation:: BOOL ; } CreateHardLinkW ( lpfilename . into_param ( ) . abi ( ) , lpexistingfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpsecurityattributes ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateIoCompletionPort < 'a , > ( filehandle : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , existingcompletionport : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , completionkey : usize , numberofconcurrentthreads : u32 , ) -> super::super::Foundation:: HANDLE { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn CreateIoCompletionPort ( filehandle : super::super::Foundation:: HANDLE , existingcompletionport : super::super::Foundation:: HANDLE , completionkey : usize , numberofconcurrentthreads : u32 ) -> super::super::Foundation:: HANDLE ; } CreateIoCompletionPort ( filehandle . into_param ( ) . abi ( ) , existingcompletionport . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( completionkey ) , :: std :: mem :: transmute ( numberofconcurrentthreads ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateLogContainerScanContext < 'a , > ( hlog : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , cfromcontainer : u32 , ccontainers : u32 , escanmode : u8 , pcxscan : * mut CLS_SCAN_CONTEXT , poverlapped : * mut super::super::System::SystemServices:: OVERLAPPED , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="clfsw32" ) ] extern "system" { fn CreateLogContainerScanContext ( hlog : super::super::Foundation:: HANDLE , cfromcontainer : u32 , ccontainers : u32 , escanmode : u8 , pcxscan : * mut CLS_SCAN_CONTEXT , poverlapped : * mut super::super::System::SystemServices:: OVERLAPPED ) -> super::super::Foundation:: BOOL ; } CreateLogContainerScanContext ( hlog . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( cfromcontainer ) , :: std :: mem :: transmute ( ccontainers ) , :: std :: mem :: transmute ( escanmode ) , :: std :: mem :: transmute ( pcxscan ) , :: std :: mem :: transmute ( poverlapped ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateLogFile < 'a , > ( pszlogfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , fdesiredaccess : FILE_ACCESS_FLAGS , dwsharemode : FILE_SHARE_MODE , psalogfile : * mut super::super::Security:: SECURITY_ATTRIBUTES , fcreatedisposition : FILE_CREATION_DISPOSITION , fflagsandattributes : FILE_FLAGS_AND_ATTRIBUTES , ) -> super::super::Foundation:: HANDLE { # [ cfg ( windows ) ] { # [ link ( name ="clfsw32" ) ] extern "system" { fn CreateLogFile ( pszlogfilename : super::super::Foundation:: PWSTR , fdesiredaccess : FILE_ACCESS_FLAGS , dwsharemode : FILE_SHARE_MODE , psalogfile : * mut super::super::Security:: SECURITY_ATTRIBUTES , fcreatedisposition : FILE_CREATION_DISPOSITION , fflagsandattributes : FILE_FLAGS_AND_ATTRIBUTES ) -> super::super::Foundation:: HANDLE ; } CreateLogFile ( pszlogfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( fdesiredaccess ) , :: std :: mem :: transmute ( dwsharemode ) , :: std :: mem :: transmute ( psalogfile ) , :: std :: mem :: transmute ( fcreatedisposition ) , :: std :: mem :: transmute ( fflagsandattributes ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateLogMarshallingArea < 'a , > ( hlog : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , pfnallocbuffer : :: std :: option :: Option < CLFS_BLOCK_ALLOCATION > , pfnfreebuffer : :: std :: option :: Option < CLFS_BLOCK_DEALLOCATION > , pvblockalloccontext : * mut :: std :: ffi :: c_void , cbmarshallingbuffer : u32 , cmaxwritebuffers : u32 , cmaxreadbuffers : u32 , ppvmarshal : * mut * mut :: std :: ffi :: c_void , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="clfsw32" ) ] extern "system" { fn CreateLogMarshallingArea ( hlog : super::super::Foundation:: HANDLE , pfnallocbuffer : :: windows :: RawPtr , pfnfreebuffer : :: windows :: RawPtr , pvblockalloccontext : * mut :: std :: ffi :: c_void , cbmarshallingbuffer : u32 , cmaxwritebuffers : u32 , cmaxreadbuffers : u32 , ppvmarshal : * mut * mut :: std :: ffi :: c_void ) -> super::super::Foundation:: BOOL ; } CreateLogMarshallingArea ( hlog . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pfnallocbuffer ) , :: std :: mem :: transmute ( pfnfreebuffer ) , :: std :: mem :: transmute ( pvblockalloccontext ) , :: std :: mem :: transmute ( cbmarshallingbuffer ) , :: std :: mem :: transmute ( cmaxwritebuffers ) , :: std :: mem :: transmute ( cmaxreadbuffers ) , :: std :: mem :: transmute ( ppvmarshal ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateResourceManager < 'a , > ( lpresourcemanagerattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES , resourcemanagerid : * mut :: windows :: Guid , createoptions : u32 , tmhandle : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , description : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , ) -> super::super::Foundation:: HANDLE { # [ cfg ( windows ) ] { # [ link ( name ="ktmw32" ) ] extern "system" { fn CreateResourceManager ( lpresourcemanagerattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES , resourcemanagerid : * mut :: windows :: Guid , createoptions : u32 , tmhandle : super::super::Foundation:: HANDLE , description : super::super::Foundation:: PWSTR ) -> super::super::Foundation:: HANDLE ; } CreateResourceManager ( :: std :: mem :: transmute ( lpresourcemanagerattributes ) , :: std :: mem :: transmute ( resourcemanagerid ) , :: std :: mem :: transmute ( createoptions ) , tmhandle . into_param ( ) . abi ( ) , description . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateSymbolicLinkA < 'a , > ( lpsymlinkfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , lptargetfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , dwflags : SYMBOLIC_LINK_FLAGS , ) -> u8 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn CreateSymbolicLinkA ( lpsymlinkfilename : super::super::Foundation:: PSTR , lptargetfilename : super::super::Foundation:: PSTR , dwflags : SYMBOLIC_LINK_FLAGS ) -> u8 ; } CreateSymbolicLinkA ( lpsymlinkfilename . into_param ( ) . abi ( ) , lptargetfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwflags ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateSymbolicLinkTransactedA < 'a , > ( lpsymlinkfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , lptargetfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , dwflags : SYMBOLIC_LINK_FLAGS , htransaction : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , ) -> u8 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn CreateSymbolicLinkTransactedA ( lpsymlinkfilename : super::super::Foundation:: PSTR , lptargetfilename : super::super::Foundation:: PSTR , dwflags : SYMBOLIC_LINK_FLAGS , htransaction : super::super::Foundation:: HANDLE ) -> u8 ; } CreateSymbolicLinkTransactedA ( lpsymlinkfilename . into_param ( ) . abi ( ) , lptargetfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwflags ) , htransaction . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateSymbolicLinkTransactedW < 'a , > ( lpsymlinkfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , lptargetfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , dwflags : SYMBOLIC_LINK_FLAGS , htransaction : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , ) -> u8 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn CreateSymbolicLinkTransactedW ( lpsymlinkfilename : super::super::Foundation:: PWSTR , lptargetfilename : super::super::Foundation:: PWSTR , dwflags : SYMBOLIC_LINK_FLAGS , htransaction : super::super::Foundation:: HANDLE ) -> u8 ; } CreateSymbolicLinkTransactedW ( lpsymlinkfilename . into_param ( ) . abi ( ) , lptargetfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwflags ) , htransaction . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateSymbolicLinkW < 'a , > ( lpsymlinkfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , lptargetfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , dwflags : SYMBOLIC_LINK_FLAGS , ) -> u8 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn CreateSymbolicLinkW ( lpsymlinkfilename : super::super::Foundation:: PWSTR , lptargetfilename : super::super::Foundation:: PWSTR , dwflags : SYMBOLIC_LINK_FLAGS ) -> u8 ; } CreateSymbolicLinkW ( lpsymlinkfilename . into_param ( ) . abi ( ) , lptargetfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwflags ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateTapePartition < 'a , > ( hdevice : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , dwpartitionmethod : CREATE_TAPE_PARTITION_METHOD , dwcount : u32 , dwsize : u32 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn CreateTapePartition ( hdevice : super::super::Foundation:: HANDLE , dwpartitionmethod : CREATE_TAPE_PARTITION_METHOD , dwcount : u32 , dwsize : u32 ) -> u32 ; } CreateTapePartition ( hdevice . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwpartitionmethod ) , :: std :: mem :: transmute ( dwcount ) , :: std :: mem :: transmute ( dwsize ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateTransaction < 'a , > ( lptransactionattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES , uow : * mut :: windows :: Guid , createoptions : u32 , isolationlevel : u32 , isolationflags : u32 , timeout : u32 , description : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , ) -> super::super::Foundation:: HANDLE { # [ cfg ( windows ) ] { # [ link ( name ="ktmw32" ) ] extern "system" { fn CreateTransaction ( lptransactionattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES , uow : * mut :: windows :: Guid , createoptions : u32 , isolationlevel : u32 , isolationflags : u32 , timeout : u32 , description : super::super::Foundation:: PWSTR ) -> super::super::Foundation:: HANDLE ; } CreateTransaction ( :: std :: mem :: transmute ( lptransactionattributes ) , :: std :: mem :: transmute ( uow ) , :: std :: mem :: transmute ( createoptions ) , :: std :: mem :: transmute ( isolationlevel ) , :: std :: mem :: transmute ( isolationflags ) , :: std :: mem :: transmute ( timeout ) , description . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateTransactionManager < 'a , > ( lptransactionattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES , logfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , createoptions : u32 , commitstrength : u32 , ) -> super::super::Foundation:: HANDLE { # [ cfg ( windows ) ] { # [ link ( name ="ktmw32" ) ] extern "system" { fn CreateTransactionManager ( lptransactionattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES , logfilename : super::super::Foundation:: PWSTR , createoptions : u32 , commitstrength : u32 ) -> super::super::Foundation:: HANDLE ; } CreateTransactionManager ( :: std :: mem :: transmute ( lptransactionattributes ) , logfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( createoptions ) , :: std :: mem :: transmute ( commitstrength ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct DEFINE_DOS_DEVICE_FLAGS ( pub u32 ) ; pub const DDD_RAW_TARGET_PATH : DEFINE_DOS_DEVICE_FLAGS = DEFINE_DOS_DEVICE_FLAGS ( 1u32 ) ; pub const DDD_REMOVE_DEFINITION : DEFINE_DOS_DEVICE_FLAGS = DEFINE_DOS_DEVICE_FLAGS ( 2u32 ) ; pub const DDD_EXACT_MATCH_ON_REMOVE : DEFINE_DOS_DEVICE_FLAGS = DEFINE_DOS_DEVICE_FLAGS ( 4u32 ) ; pub const DDD_NO_BROADCAST_SYSTEM : DEFINE_DOS_DEVICE_FLAGS = DEFINE_DOS_DEVICE_FLAGS ( 8u32 ) ; pub const DDD_LUID_BROADCAST_DRIVE : DEFINE_DOS_DEVICE_FLAGS = DEFINE_DOS_DEVICE_FLAGS ( 16u32 ) ; impl :: std :: convert :: From < u32 > for DEFINE_DOS_DEVICE_FLAGS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for DEFINE_DOS_DEVICE_FLAGS { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for DEFINE_DOS_DEVICE_FLAGS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for DEFINE_DOS_DEVICE_FLAGS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for DEFINE_DOS_DEVICE_FLAGS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for DEFINE_DOS_DEVICE_FLAGS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DELETE_USN_JOURNAL_DATA { pub UsnJournalID : u64 , pub DeleteFlags : USN_DELETE_FLAGS } impl DELETE_USN_JOURNAL_DATA { } impl :: std :: default :: Default for DELETE_USN_JOURNAL_DATA { fn default ( ) -> Self { Self { UsnJournalID : 0 , DeleteFlags : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for DELETE_USN_JOURNAL_DATA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DELETE_USN_JOURNAL_DATA" ) . field ( "UsnJournalID" , & self . UsnJournalID ) . field ( "DeleteFlags" , & self . DeleteFlags ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DELETE_USN_JOURNAL_DATA { fn eq ( & self , other : & Self ) -> bool { self . UsnJournalID == other . UsnJournalID && self . DeleteFlags == other . DeleteFlags } } impl :: std :: cmp :: Eq for DELETE_USN_JOURNAL_DATA { } unsafe impl :: windows :: Abi for DELETE_USN_JOURNAL_DATA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DEVICE_COPY_OFFLOAD_DESCRIPTOR { pub Version : u32 , pub Size : u32 , pub MaximumTokenLifetime : u32 , pub DefaultTokenLifetime : u32 , pub MaximumTransferSize : u64 , pub OptimalTransferCount : u64 , pub MaximumDataDescriptors : u32 , pub MaximumTransferLengthPerDescriptor : u32 , pub OptimalTransferLengthPerDescriptor : u32 , pub OptimalTransferLengthGranularity : u16 , pub Reserved : [ u8 ;2 ] } impl DEVICE_COPY_OFFLOAD_DESCRIPTOR { } impl :: std :: default :: Default for DEVICE_COPY_OFFLOAD_DESCRIPTOR { fn default ( ) -> Self { Self { Version : 0 , Size : 0 , MaximumTokenLifetime : 0 , DefaultTokenLifetime : 0 , MaximumTransferSize : 0 , OptimalTransferCount : 0 , MaximumDataDescriptors : 0 , MaximumTransferLengthPerDescriptor : 0 , OptimalTransferLengthPerDescriptor : 0 , OptimalTransferLengthGranularity : 0 , Reserved : [ 0 ;2 ] } } } impl :: std :: fmt :: Debug for DEVICE_COPY_OFFLOAD_DESCRIPTOR { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DEVICE_COPY_OFFLOAD_DESCRIPTOR" ) . field ( "Version" , & self . Version ) . field ( "Size" , & self . Size ) . field ( "MaximumTokenLifetime" , & self . MaximumTokenLifetime ) . field ( "DefaultTokenLifetime" , & self . DefaultTokenLifetime ) . field ( "MaximumTransferSize" , & self . MaximumTransferSize ) . field ( "OptimalTransferCount" , & self . OptimalTransferCount ) . field ( "MaximumDataDescriptors" , & self . MaximumDataDescriptors ) . field ( "MaximumTransferLengthPerDescriptor" , & self . MaximumTransferLengthPerDescriptor ) . field ( "OptimalTransferLengthPerDescriptor" , & self . OptimalTransferLengthPerDescriptor ) . field ( "OptimalTransferLengthGranularity" , & self . OptimalTransferLengthGranularity ) . field ( "Reserved" , & self . Reserved ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DEVICE_COPY_OFFLOAD_DESCRIPTOR { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Size == other . Size && self . MaximumTokenLifetime == other . MaximumTokenLifetime && self . DefaultTokenLifetime == other . DefaultTokenLifetime && self . MaximumTransferSize == other . MaximumTransferSize && self . OptimalTransferCount == other . OptimalTransferCount && self . MaximumDataDescriptors == other . MaximumDataDescriptors && self . MaximumTransferLengthPerDescriptor == other . MaximumTransferLengthPerDescriptor && self . OptimalTransferLengthPerDescriptor == other . OptimalTransferLengthPerDescriptor && self . OptimalTransferLengthGranularity == other . OptimalTransferLengthGranularity && self . Reserved == other . Reserved } } impl :: std :: cmp :: Eq for DEVICE_COPY_OFFLOAD_DESCRIPTOR { } unsafe impl :: windows :: Abi for DEVICE_COPY_OFFLOAD_DESCRIPTOR { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DEVICE_LB_PROVISIONING_DESCRIPTOR { pub Version : u32 , pub Size : u32 , pub _bitfield : u8 , pub Reserved1 : [ u8 ;7 ] , pub OptimalUnmapGranularity : u64 , pub UnmapGranularityAlignment : u64 , pub MaxUnmapLbaCount : u32 , pub MaxUnmapBlockDescriptorCount : u32 } impl DEVICE_LB_PROVISIONING_DESCRIPTOR { } impl :: std :: default :: Default for DEVICE_LB_PROVISIONING_DESCRIPTOR { fn default ( ) -> Self { Self { Version : 0 , Size : 0 , _bitfield : 0 , Reserved1 : [ 0 ;7 ] , OptimalUnmapGranularity : 0 , UnmapGranularityAlignment : 0 , MaxUnmapLbaCount : 0 , MaxUnmapBlockDescriptorCount : 0 } } } impl :: std :: fmt :: Debug for DEVICE_LB_PROVISIONING_DESCRIPTOR { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DEVICE_LB_PROVISIONING_DESCRIPTOR" ) . field ( "Version" , & self . Version ) . field ( "Size" , & self . Size ) . field ( "_bitfield" , & self . _bitfield ) . field ( "Reserved1" , & self . Reserved1 ) . field ( "OptimalUnmapGranularity" , & self . OptimalUnmapGranularity ) . field ( "UnmapGranularityAlignment" , & self . UnmapGranularityAlignment ) . field ( "MaxUnmapLbaCount" , & self . MaxUnmapLbaCount ) . field ( "MaxUnmapBlockDescriptorCount" , & self . MaxUnmapBlockDescriptorCount ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DEVICE_LB_PROVISIONING_DESCRIPTOR { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Size == other . Size && self . _bitfield == other . _bitfield && self . Reserved1 == other . Reserved1 && self . OptimalUnmapGranularity == other . OptimalUnmapGranularity && self . UnmapGranularityAlignment == other . UnmapGranularityAlignment && self . MaxUnmapLbaCount == other . MaxUnmapLbaCount && self . MaxUnmapBlockDescriptorCount == other . MaxUnmapBlockDescriptorCount } } impl :: std :: cmp :: Eq for DEVICE_LB_PROVISIONING_DESCRIPTOR { } unsafe impl :: windows :: Abi for DEVICE_LB_PROVISIONING_DESCRIPTOR { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DEVICE_POWER_DESCRIPTOR { pub Version : u32 , pub Size : u32 , pub DeviceAttentionSupported : u8 , pub AsynchronousNotificationSupported : u8 , pub IdlePowerManagementEnabled : u8 , pub D3ColdEnabled : u8 , pub D3ColdSupported : u8 , pub NoVerifyDuringIdlePower : u8 , pub Reserved : [ u8 ;2 ] , pub IdleTimeoutInMS : u32 } impl DEVICE_POWER_DESCRIPTOR { } impl :: std :: default :: Default for DEVICE_POWER_DESCRIPTOR { fn default ( ) -> Self { Self { Version : 0 , Size : 0 , DeviceAttentionSupported : 0 , AsynchronousNotificationSupported : 0 , IdlePowerManagementEnabled : 0 , D3ColdEnabled : 0 , D3ColdSupported : 0 , NoVerifyDuringIdlePower : 0 , Reserved : [ 0 ;2 ] , IdleTimeoutInMS : 0 } } } impl :: std :: fmt :: Debug for DEVICE_POWER_DESCRIPTOR { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DEVICE_POWER_DESCRIPTOR" ) . field ( "Version" , & self . Version ) . field ( "Size" , & self . Size ) . field ( "DeviceAttentionSupported" , & self . DeviceAttentionSupported ) . field ( "AsynchronousNotificationSupported" , & self . AsynchronousNotificationSupported ) . field ( "IdlePowerManagementEnabled" , & self . IdlePowerManagementEnabled ) . field ( "D3ColdEnabled" , & self . D3ColdEnabled ) . field ( "D3ColdSupported" , & self . D3ColdSupported ) . field ( "NoVerifyDuringIdlePower" , & self . NoVerifyDuringIdlePower ) . field ( "Reserved" , & self . Reserved ) . field ( "IdleTimeoutInMS" , & self . IdleTimeoutInMS ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DEVICE_POWER_DESCRIPTOR { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Size == other . Size && self . DeviceAttentionSupported == other . DeviceAttentionSupported && self . AsynchronousNotificationSupported == other . AsynchronousNotificationSupported && self . IdlePowerManagementEnabled == other . IdlePowerManagementEnabled && self . D3ColdEnabled == other . D3ColdEnabled && self . D3ColdSupported == other . D3ColdSupported && self . NoVerifyDuringIdlePower == other . NoVerifyDuringIdlePower && self . Reserved == other . Reserved && self . IdleTimeoutInMS == other . IdleTimeoutInMS } } impl :: std :: cmp :: Eq for DEVICE_POWER_DESCRIPTOR { } unsafe impl :: windows :: Abi for DEVICE_POWER_DESCRIPTOR { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DEVICE_SEEK_PENALTY_DESCRIPTOR { pub Version : u32 , pub Size : u32 , pub IncursSeekPenalty : u8 } impl DEVICE_SEEK_PENALTY_DESCRIPTOR { } impl :: std :: default :: Default for DEVICE_SEEK_PENALTY_DESCRIPTOR { fn default ( ) -> Self { Self { Version : 0 , Size : 0 , IncursSeekPenalty : 0 } } } impl :: std :: fmt :: Debug for DEVICE_SEEK_PENALTY_DESCRIPTOR { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DEVICE_SEEK_PENALTY_DESCRIPTOR" ) . field ( "Version" , & self . Version ) . field ( "Size" , & self . Size ) . field ( "IncursSeekPenalty" , & self . IncursSeekPenalty ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DEVICE_SEEK_PENALTY_DESCRIPTOR { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Size == other . Size && self . IncursSeekPenalty == other . IncursSeekPenalty } } impl :: std :: cmp :: Eq for DEVICE_SEEK_PENALTY_DESCRIPTOR { } unsafe impl :: windows :: Abi for DEVICE_SEEK_PENALTY_DESCRIPTOR { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DEVICE_TRIM_DESCRIPTOR { pub Version : u32 , pub Size : u32 , pub TrimEnabled : u8 } impl DEVICE_TRIM_DESCRIPTOR { } impl :: std :: default :: Default for DEVICE_TRIM_DESCRIPTOR { fn default ( ) -> Self { Self { Version : 0 , Size : 0 , TrimEnabled : 0 } } } impl :: std :: fmt :: Debug for DEVICE_TRIM_DESCRIPTOR { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DEVICE_TRIM_DESCRIPTOR" ) . field ( "Version" , & self . Version ) . field ( "Size" , & self . Size ) . field ( "TrimEnabled" , & self . TrimEnabled ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DEVICE_TRIM_DESCRIPTOR { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Size == other . Size && self . TrimEnabled == other . TrimEnabled } } impl :: std :: cmp :: Eq for DEVICE_TRIM_DESCRIPTOR { } unsafe impl :: windows :: Abi for DEVICE_TRIM_DESCRIPTOR { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DEVICE_WRITE_AGGREGATION_DESCRIPTOR { pub Version : u32 , pub Size : u32 , pub BenefitsFromWriteAggregation : u8 } impl DEVICE_WRITE_AGGREGATION_DESCRIPTOR { } impl :: std :: default :: Default for DEVICE_WRITE_AGGREGATION_DESCRIPTOR { fn default ( ) -> Self { Self { Version : 0 , Size : 0 , BenefitsFromWriteAggregation : 0 } } } impl :: std :: fmt :: Debug for DEVICE_WRITE_AGGREGATION_DESCRIPTOR { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DEVICE_WRITE_AGGREGATION_DESCRIPTOR" ) . field ( "Version" , & self . Version ) . field ( "Size" , & self . Size ) . field ( "BenefitsFromWriteAggregation" , & self . BenefitsFromWriteAggregation ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DEVICE_WRITE_AGGREGATION_DESCRIPTOR { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Size == other . Size && self . BenefitsFromWriteAggregation == other . BenefitsFromWriteAggregation } } impl :: std :: cmp :: Eq for DEVICE_WRITE_AGGREGATION_DESCRIPTOR { } unsafe impl :: windows :: Abi for DEVICE_WRITE_AGGREGATION_DESCRIPTOR { type Abi = Self ; type DefaultType = Self ; } pub const DISKQUOTA_FILESTATE_INCOMPLETE : u32 = 256u32 ; pub const DISKQUOTA_FILESTATE_MASK : u32 = 768u32 ; pub const DISKQUOTA_FILESTATE_REBUILDING : u32 = 512u32 ; pub const DISKQUOTA_LOGFLAG_USER_LIMIT : u32 = 2u32 ; pub const DISKQUOTA_LOGFLAG_USER_THRESHOLD : u32 = 1u32 ; pub const DISKQUOTA_STATE_DISABLED : u32 = 0u32 ; pub const DISKQUOTA_STATE_ENFORCE : u32 = 2u32 ; pub const DISKQUOTA_STATE_MASK : u32 = 3u32 ; pub const DISKQUOTA_STATE_TRACK : u32 = 1u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct DISKQUOTA_USERNAME_RESOLVE ( pub u32 ) ; pub const DISKQUOTA_USERNAME_RESOLVE_ASYNC : DISKQUOTA_USERNAME_RESOLVE = DISKQUOTA_USERNAME_RESOLVE ( 2u32 ) ; pub const DISKQUOTA_USERNAME_RESOLVE_NONE : DISKQUOTA_USERNAME_RESOLVE = DISKQUOTA_USERNAME_RESOLVE ( 0u32 ) ; pub const DISKQUOTA_USERNAME_RESOLVE_SYNC : DISKQUOTA_USERNAME_RESOLVE = DISKQUOTA_USERNAME_RESOLVE ( 1u32 ) ; impl :: std :: convert :: From < u32 > for DISKQUOTA_USERNAME_RESOLVE { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for DISKQUOTA_USERNAME_RESOLVE { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for DISKQUOTA_USERNAME_RESOLVE { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for DISKQUOTA_USERNAME_RESOLVE { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for DISKQUOTA_USERNAME_RESOLVE { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for DISKQUOTA_USERNAME_RESOLVE { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub const DISKQUOTA_USER_ACCOUNT_DELETED : u32 = 2u32 ; pub const DISKQUOTA_USER_ACCOUNT_INVALID : u32 = 3u32 ; pub const DISKQUOTA_USER_ACCOUNT_RESOLVED : u32 = 0u32 ; pub const DISKQUOTA_USER_ACCOUNT_UNAVAILABLE : u32 = 1u32 ; pub const DISKQUOTA_USER_ACCOUNT_UNKNOWN : u32 = 4u32 ; pub const DISKQUOTA_USER_ACCOUNT_UNRESOLVED : u32 = 5u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DISKQUOTA_USER_INFORMATION { pub QuotaUsed : i64 , pub QuotaThreshold : i64 , pub QuotaLimit : i64 } impl DISKQUOTA_USER_INFORMATION { } impl :: std :: default :: Default for DISKQUOTA_USER_INFORMATION { fn default ( ) -> Self { Self { QuotaUsed : 0 , QuotaThreshold : 0 , QuotaLimit : 0 } } } impl :: std :: fmt :: Debug for DISKQUOTA_USER_INFORMATION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DISKQUOTA_USER_INFORMATION" ) . field ( "QuotaUsed" , & self . QuotaUsed ) . field ( "QuotaThreshold" , & self . QuotaThreshold ) . field ( "QuotaLimit" , & self . QuotaLimit ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DISKQUOTA_USER_INFORMATION { fn eq ( & self , other : & Self ) -> bool { self . QuotaUsed == other . QuotaUsed && self . QuotaThreshold == other . QuotaThreshold && self . QuotaLimit == other . QuotaLimit } } impl :: std :: cmp :: Eq for DISKQUOTA_USER_INFORMATION { } unsafe impl :: windows :: Abi for DISKQUOTA_USER_INFORMATION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DISK_CACHE_INFORMATION { pub ParametersSavable : u8 , pub ReadCacheEnabled : u8 , pub WriteCacheEnabled : u8 , pub ReadRetentionPriority : super::super::System::SystemServices:: DISK_CACHE_RETENTION_PRIORITY , pub WriteRetentionPriority : super::super::System::SystemServices:: DISK_CACHE_RETENTION_PRIORITY , pub DisablePrefetchTransferLength : u16 , pub PrefetchScalar : u8 , pub Anonymous : DISK_CACHE_INFORMATION_0 } impl DISK_CACHE_INFORMATION { } impl :: std :: cmp :: PartialEq for DISK_CACHE_INFORMATION { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for DISK_CACHE_INFORMATION { } unsafe impl :: windows :: Abi for DISK_CACHE_INFORMATION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union DISK_CACHE_INFORMATION_0 { pub ScalarPrefetch : DISK_CACHE_INFORMATION_0_1 , pub BlockPrefetch : DISK_CACHE_INFORMATION_0_0 } impl DISK_CACHE_INFORMATION_0 { } impl :: std :: cmp :: PartialEq for DISK_CACHE_INFORMATION_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for DISK_CACHE_INFORMATION_0 { } unsafe impl :: windows :: Abi for DISK_CACHE_INFORMATION_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DISK_CACHE_INFORMATION_0_0 { pub Minimum : u16 , pub Maximum : u16 } impl DISK_CACHE_INFORMATION_0_0 { } impl :: std :: default :: Default for DISK_CACHE_INFORMATION_0_0 { fn default ( ) -> Self { Self { Minimum : 0 , Maximum : 0 } } } impl :: std :: fmt :: Debug for DISK_CACHE_INFORMATION_0_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_BlockPrefetch_e__Struct" ) . field ( "Minimum" , & self . Minimum ) . field ( "Maximum" , & self . Maximum ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DISK_CACHE_INFORMATION_0_0 { fn eq ( & self , other : & Self ) -> bool { self . Minimum == other . Minimum && self . Maximum == other . Maximum } } impl :: std :: cmp :: Eq for DISK_CACHE_INFORMATION_0_0 { } unsafe impl :: windows :: Abi for DISK_CACHE_INFORMATION_0_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DISK_CACHE_INFORMATION_0_1 { pub Minimum : u16 , pub Maximum : u16 , pub MaximumBlocks : u16 } impl DISK_CACHE_INFORMATION_0_1 { } impl :: std :: default :: Default for DISK_CACHE_INFORMATION_0_1 { fn default ( ) -> Self { Self { Minimum : 0 , Maximum : 0 , MaximumBlocks : 0 } } } impl :: std :: fmt :: Debug for DISK_CACHE_INFORMATION_0_1 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_ScalarPrefetch_e__Struct" ) . field ( "Minimum" , & self . Minimum ) . field ( "Maximum" , & self . Maximum ) . field ( "MaximumBlocks" , & self . MaximumBlocks ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DISK_CACHE_INFORMATION_0_1 { fn eq ( & self , other : & Self ) -> bool { self . Minimum == other . Minimum && self . Maximum == other . Maximum && self . MaximumBlocks == other . MaximumBlocks } } impl :: std :: cmp :: Eq for DISK_CACHE_INFORMATION_0_1 { } unsafe impl :: windows :: Abi for DISK_CACHE_INFORMATION_0_1 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DISK_DETECTION_INFO { pub SizeOfDetectInfo : u32 , pub DetectionType : super::super::System::SystemServices:: DETECTION_TYPE , pub Anonymous : DISK_DETECTION_INFO_0 } impl DISK_DETECTION_INFO { } impl :: std :: cmp :: PartialEq for DISK_DETECTION_INFO { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for DISK_DETECTION_INFO { } unsafe impl :: windows :: Abi for DISK_DETECTION_INFO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union DISK_DETECTION_INFO_0 { pub Anonymous : DISK_DETECTION_INFO_0_0 } impl DISK_DETECTION_INFO_0 { } impl :: std :: cmp :: PartialEq for DISK_DETECTION_INFO_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for DISK_DETECTION_INFO_0 { } unsafe impl :: windows :: Abi for DISK_DETECTION_INFO_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DISK_DETECTION_INFO_0_0 { pub Int13 : DISK_INT13_INFO , pub ExInt13 : DISK_EX_INT13_INFO } impl DISK_DETECTION_INFO_0_0 { } impl :: std :: default :: Default for DISK_DETECTION_INFO_0_0 { fn default ( ) -> Self { Self { Int13 : :: std :: default :: Default :: default ( ) , ExInt13 : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for DISK_DETECTION_INFO_0_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Anonymous_e__Struct" ) . field ( "Int13" , & self . Int13 ) . field ( "ExInt13" , & self . ExInt13 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DISK_DETECTION_INFO_0_0 { fn eq ( & self , other : & Self ) -> bool { self . Int13 == other . Int13 && self . ExInt13 == other . ExInt13 } } impl :: std :: cmp :: Eq for DISK_DETECTION_INFO_0_0 { } unsafe impl :: windows :: Abi for DISK_DETECTION_INFO_0_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DISK_EXTENT { pub DiskNumber : u32 , pub StartingOffset : i64 , pub ExtentLength : i64 } impl DISK_EXTENT { } impl :: std :: default :: Default for DISK_EXTENT { fn default ( ) -> Self { Self { DiskNumber : 0 , StartingOffset : 0 , ExtentLength : 0 } } } impl :: std :: fmt :: Debug for DISK_EXTENT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DISK_EXTENT" ) . field ( "DiskNumber" , & self . DiskNumber ) . field ( "StartingOffset" , & self . StartingOffset ) . field ( "ExtentLength" , & self . ExtentLength ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DISK_EXTENT { fn eq ( & self , other : & Self ) -> bool { self . DiskNumber == other . DiskNumber && self . StartingOffset == other . StartingOffset && self . ExtentLength == other . ExtentLength } } impl :: std :: cmp :: Eq for DISK_EXTENT { } unsafe impl :: windows :: Abi for DISK_EXTENT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DISK_EX_INT13_INFO { pub ExBufferSize : u16 , pub ExFlags : u16 , pub ExCylinders : u32 , pub ExHeads : u32 , pub ExSectorsPerTrack : u32 , pub ExSectorsPerDrive : u64 , pub ExSectorSize : u16 , pub ExReserved : u16 } impl DISK_EX_INT13_INFO { } impl :: std :: default :: Default for DISK_EX_INT13_INFO { fn default ( ) -> Self { Self { ExBufferSize : 0 , ExFlags : 0 , ExCylinders : 0 , ExHeads : 0 , ExSectorsPerTrack : 0 , ExSectorsPerDrive : 0 , ExSectorSize : 0 , ExReserved : 0 } } } impl :: std :: fmt :: Debug for DISK_EX_INT13_INFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DISK_EX_INT13_INFO" ) . field ( "ExBufferSize" , & self . ExBufferSize ) . field ( "ExFlags" , & self . ExFlags ) . field ( "ExCylinders" , & self . ExCylinders ) . field ( "ExHeads" , & self . ExHeads ) . field ( "ExSectorsPerTrack" , & self . ExSectorsPerTrack ) . field ( "ExSectorsPerDrive" , & self . ExSectorsPerDrive ) . field ( "ExSectorSize" , & self . ExSectorSize ) . field ( "ExReserved" , & self . ExReserved ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DISK_EX_INT13_INFO { fn eq ( & self , other : & Self ) -> bool { self . ExBufferSize == other . ExBufferSize && self . ExFlags == other . ExFlags && self . ExCylinders == other . ExCylinders && self . ExHeads == other . ExHeads && self . ExSectorsPerTrack == other . ExSectorsPerTrack && self . ExSectorsPerDrive == other . ExSectorsPerDrive && self . ExSectorSize == other . ExSectorSize && self . ExReserved == other . ExReserved } } impl :: std :: cmp :: Eq for DISK_EX_INT13_INFO { } unsafe impl :: windows :: Abi for DISK_EX_INT13_INFO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DISK_GEOMETRY { pub Cylinders : i64 , pub MediaType : MEDIA_TYPE , pub TracksPerCylinder : u32 , pub SectorsPerTrack : u32 , pub BytesPerSector : u32 } impl DISK_GEOMETRY { } impl :: std :: default :: Default for DISK_GEOMETRY { fn default ( ) -> Self { Self { Cylinders : 0 , MediaType : :: std :: default :: Default :: default ( ) , TracksPerCylinder : 0 , SectorsPerTrack : 0 , BytesPerSector : 0 } } } impl :: std :: fmt :: Debug for DISK_GEOMETRY { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DISK_GEOMETRY" ) . field ( "Cylinders" , & self . Cylinders ) . field ( "MediaType" , & self . MediaType ) . field ( "TracksPerCylinder" , & self . TracksPerCylinder ) . field ( "SectorsPerTrack" , & self . SectorsPerTrack ) . field ( "BytesPerSector" , & self . BytesPerSector ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DISK_GEOMETRY { fn eq ( & self , other : & Self ) -> bool { self . Cylinders == other . Cylinders && self . MediaType == other . MediaType && self . TracksPerCylinder == other . TracksPerCylinder && self . SectorsPerTrack == other . SectorsPerTrack && self . BytesPerSector == other . BytesPerSector } } impl :: std :: cmp :: Eq for DISK_GEOMETRY { } unsafe impl :: windows :: Abi for DISK_GEOMETRY { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DISK_GEOMETRY_EX { pub Geometry : DISK_GEOMETRY , pub DiskSize : i64 , pub Data : [ u8 ;1 ] } impl DISK_GEOMETRY_EX { } impl :: std :: default :: Default for DISK_GEOMETRY_EX { fn default ( ) -> Self { Self { Geometry : :: std :: default :: Default :: default ( ) , DiskSize : 0 , Data : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for DISK_GEOMETRY_EX { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DISK_GEOMETRY_EX" ) . field ( "Geometry" , & self . Geometry ) . field ( "DiskSize" , & self . DiskSize ) . field ( "Data" , & self . Data ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DISK_GEOMETRY_EX { fn eq ( & self , other : & Self ) -> bool { self . Geometry == other . Geometry && self . DiskSize == other . DiskSize && self . Data == other . Data } } impl :: std :: cmp :: Eq for DISK_GEOMETRY_EX { } unsafe impl :: windows :: Abi for DISK_GEOMETRY_EX { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DISK_GROW_PARTITION { pub PartitionNumber : u32 , pub BytesToGrow : i64 } impl DISK_GROW_PARTITION { } impl :: std :: default :: Default for DISK_GROW_PARTITION { fn default ( ) -> Self { Self { PartitionNumber : 0 , BytesToGrow : 0 } } } impl :: std :: fmt :: Debug for DISK_GROW_PARTITION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DISK_GROW_PARTITION" ) . field ( "PartitionNumber" , & self . PartitionNumber ) . field ( "BytesToGrow" , & self . BytesToGrow ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DISK_GROW_PARTITION { fn eq ( & self , other : & Self ) -> bool { self . PartitionNumber == other . PartitionNumber && self . BytesToGrow == other . BytesToGrow } } impl :: std :: cmp :: Eq for DISK_GROW_PARTITION { } unsafe impl :: windows :: Abi for DISK_GROW_PARTITION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DISK_INT13_INFO { pub DriveSelect : u16 , pub MaxCylinders : u32 , pub SectorsPerTrack : u16 , pub MaxHeads : u16 , pub NumberDrives : u16 } impl DISK_INT13_INFO { } impl :: std :: default :: Default for DISK_INT13_INFO { fn default ( ) -> Self { Self { DriveSelect : 0 , MaxCylinders : 0 , SectorsPerTrack : 0 , MaxHeads : 0 , NumberDrives : 0 } } } impl :: std :: fmt :: Debug for DISK_INT13_INFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DISK_INT13_INFO" ) . field ( "DriveSelect" , & self . DriveSelect ) . field ( "MaxCylinders" , & self . MaxCylinders ) . field ( "SectorsPerTrack" , & self . SectorsPerTrack ) . field ( "MaxHeads" , & self . MaxHeads ) . field ( "NumberDrives" , & self . NumberDrives ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DISK_INT13_INFO { fn eq ( & self , other : & Self ) -> bool { self . DriveSelect == other . DriveSelect && self . MaxCylinders == other . MaxCylinders && self . SectorsPerTrack == other . SectorsPerTrack && self . MaxHeads == other . MaxHeads && self . NumberDrives == other . NumberDrives } } impl :: std :: cmp :: Eq for DISK_INT13_INFO { } unsafe impl :: windows :: Abi for DISK_INT13_INFO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DISK_PARTITION_INFO { pub SizeOfPartitionInfo : u32 , pub PartitionStyle : PARTITION_STYLE , pub Anonymous : DISK_PARTITION_INFO_0 } impl DISK_PARTITION_INFO { } impl :: std :: cmp :: PartialEq for DISK_PARTITION_INFO { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for DISK_PARTITION_INFO { } unsafe impl :: windows :: Abi for DISK_PARTITION_INFO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union DISK_PARTITION_INFO_0 { pub Mbr : DISK_PARTITION_INFO_0_1 , pub Gpt : DISK_PARTITION_INFO_0_0 } impl DISK_PARTITION_INFO_0 { } impl :: std :: cmp :: PartialEq for DISK_PARTITION_INFO_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for DISK_PARTITION_INFO_0 { } unsafe impl :: windows :: Abi for DISK_PARTITION_INFO_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DISK_PARTITION_INFO_0_0 { pub DiskId : :: windows :: Guid } impl DISK_PARTITION_INFO_0_0 { } impl :: std :: default :: Default for DISK_PARTITION_INFO_0_0 { fn default ( ) -> Self { Self { DiskId : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for DISK_PARTITION_INFO_0_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Gpt_e__Struct" ) . field ( "DiskId" , & self . DiskId ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DISK_PARTITION_INFO_0_0 { fn eq ( & self , other : & Self ) -> bool { self . DiskId == other . DiskId } } impl :: std :: cmp :: Eq for DISK_PARTITION_INFO_0_0 { } unsafe impl :: windows :: Abi for DISK_PARTITION_INFO_0_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DISK_PARTITION_INFO_0_1 { pub Signature : u32 , pub CheckSum : u32 } impl DISK_PARTITION_INFO_0_1 { } impl :: std :: default :: Default for DISK_PARTITION_INFO_0_1 { fn default ( ) -> Self { Self { Signature : 0 , CheckSum : 0 } } } impl :: std :: fmt :: Debug for DISK_PARTITION_INFO_0_1 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Mbr_e__Struct" ) . field ( "Signature" , & self . Signature ) . field ( "CheckSum" , & self . CheckSum ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DISK_PARTITION_INFO_0_1 { fn eq ( & self , other : & Self ) -> bool { self . Signature == other . Signature && self . CheckSum == other . CheckSum } } impl :: std :: cmp :: Eq for DISK_PARTITION_INFO_0_1 { } unsafe impl :: windows :: Abi for DISK_PARTITION_INFO_0_1 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DISK_PERFORMANCE { pub BytesRead : i64 , pub BytesWritten : i64 , pub ReadTime : i64 , pub WriteTime : i64 , pub IdleTime : i64 , pub ReadCount : u32 , pub WriteCount : u32 , pub QueueDepth : u32 , pub SplitCount : u32 , pub QueryTime : i64 , pub StorageDeviceNumber : u32 , pub StorageManagerName : [ u16 ;8 ] } impl DISK_PERFORMANCE { } impl :: std :: default :: Default for DISK_PERFORMANCE { fn default ( ) -> Self { Self { BytesRead : 0 , BytesWritten : 0 , ReadTime : 0 , WriteTime : 0 , IdleTime : 0 , ReadCount : 0 , WriteCount : 0 , QueueDepth : 0 , SplitCount : 0 , QueryTime : 0 , StorageDeviceNumber : 0 , StorageManagerName : [ 0 ;8 ] } } } impl :: std :: fmt :: Debug for DISK_PERFORMANCE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DISK_PERFORMANCE" ) . field ( "BytesRead" , & self . BytesRead ) . field ( "BytesWritten" , & self . BytesWritten ) . field ( "ReadTime" , & self . ReadTime ) . field ( "WriteTime" , & self . WriteTime ) . field ( "IdleTime" , & self . IdleTime ) . field ( "ReadCount" , & self . ReadCount ) . field ( "WriteCount" , & self . WriteCount ) . field ( "QueueDepth" , & self . QueueDepth ) . field ( "SplitCount" , & self . SplitCount ) . field ( "QueryTime" , & self . QueryTime ) . field ( "StorageDeviceNumber" , & self . StorageDeviceNumber ) . field ( "StorageManagerName" , & self . StorageManagerName ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DISK_PERFORMANCE { fn eq ( & self , other : & Self ) -> bool { self . BytesRead == other . BytesRead && self . BytesWritten == other . BytesWritten && self . ReadTime == other . ReadTime && self . WriteTime == other . WriteTime && self . IdleTime == other . IdleTime && self . ReadCount == other . ReadCount && self . WriteCount == other . WriteCount && self . QueueDepth == other . QueueDepth && self . SplitCount == other . SplitCount && self . QueryTime == other . QueryTime && self . StorageDeviceNumber == other . StorageDeviceNumber && self . StorageManagerName == other . StorageManagerName } } impl :: std :: cmp :: Eq for DISK_PERFORMANCE { } unsafe impl :: windows :: Abi for DISK_PERFORMANCE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DISK_SPACE_INFORMATION { pub ActualTotalAllocationUnits : u64 , pub ActualAvailableAllocationUnits : u64 , pub ActualPoolUnavailableAllocationUnits : u64 , pub CallerTotalAllocationUnits : u64 , pub CallerAvailableAllocationUnits : u64 , pub CallerPoolUnavailableAllocationUnits : u64 , pub UsedAllocationUnits : u64 , pub TotalReservedAllocationUnits : u64 , pub VolumeStorageReserveAllocationUnits : u64 , pub AvailableCommittedAllocationUnits : u64 , pub PoolAvailableAllocationUnits : u64 , pub SectorsPerAllocationUnit : u32 , pub BytesPerSector : u32 } impl DISK_SPACE_INFORMATION { } impl :: std :: default :: Default for DISK_SPACE_INFORMATION { fn default ( ) -> Self { Self { ActualTotalAllocationUnits : 0 , ActualAvailableAllocationUnits : 0 , ActualPoolUnavailableAllocationUnits : 0 , CallerTotalAllocationUnits : 0 , CallerAvailableAllocationUnits : 0 , CallerPoolUnavailableAllocationUnits : 0 , UsedAllocationUnits : 0 , TotalReservedAllocationUnits : 0 , VolumeStorageReserveAllocationUnits : 0 , AvailableCommittedAllocationUnits : 0 , PoolAvailableAllocationUnits : 0 , SectorsPerAllocationUnit : 0 , BytesPerSector : 0 } } } impl :: std :: fmt :: Debug for DISK_SPACE_INFORMATION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DISK_SPACE_INFORMATION" ) . field ( "ActualTotalAllocationUnits" , & self . ActualTotalAllocationUnits ) . field ( "ActualAvailableAllocationUnits" , & self . ActualAvailableAllocationUnits ) . field ( "ActualPoolUnavailableAllocationUnits" , & self . ActualPoolUnavailableAllocationUnits ) . field ( "CallerTotalAllocationUnits" , & self . CallerTotalAllocationUnits ) . field ( "CallerAvailableAllocationUnits" , & self . CallerAvailableAllocationUnits ) . field ( "CallerPoolUnavailableAllocationUnits" , & self . CallerPoolUnavailableAllocationUnits ) . field ( "UsedAllocationUnits" , & self . UsedAllocationUnits ) . field ( "TotalReservedAllocationUnits" , & self . TotalReservedAllocationUnits ) . field ( "VolumeStorageReserveAllocationUnits" , & self . VolumeStorageReserveAllocationUnits ) . field ( "AvailableCommittedAllocationUnits" , & self . AvailableCommittedAllocationUnits ) . field ( "PoolAvailableAllocationUnits" , & self . PoolAvailableAllocationUnits ) . field ( "SectorsPerAllocationUnit" , & self . SectorsPerAllocationUnit ) . field ( "BytesPerSector" , & self . BytesPerSector ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DISK_SPACE_INFORMATION { fn eq ( & self , other : & Self ) -> bool { self . ActualTotalAllocationUnits == other . ActualTotalAllocationUnits && self . ActualAvailableAllocationUnits == other . ActualAvailableAllocationUnits && self . ActualPoolUnavailableAllocationUnits == other . ActualPoolUnavailableAllocationUnits && self . CallerTotalAllocationUnits == other . CallerTotalAllocationUnits && self . CallerAvailableAllocationUnits == other . CallerAvailableAllocationUnits && self . CallerPoolUnavailableAllocationUnits == other . CallerPoolUnavailableAllocationUnits && self . UsedAllocationUnits == other . UsedAllocationUnits && self . TotalReservedAllocationUnits == other . TotalReservedAllocationUnits && self . VolumeStorageReserveAllocationUnits == other . VolumeStorageReserveAllocationUnits && self . AvailableCommittedAllocationUnits == other . AvailableCommittedAllocationUnits && self . PoolAvailableAllocationUnits == other . PoolAvailableAllocationUnits && self . SectorsPerAllocationUnit == other . SectorsPerAllocationUnit && self . BytesPerSector == other . BytesPerSector } } impl :: std :: cmp :: Eq for DISK_SPACE_INFORMATION { } unsafe impl :: windows :: Abi for DISK_SPACE_INFORMATION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DRIVE_LAYOUT_INFORMATION { pub PartitionCount : u32 , pub Signature : u32 , pub PartitionEntry : [ PARTITION_INFORMATION ;1 ] } impl DRIVE_LAYOUT_INFORMATION { } impl :: std :: default :: Default for DRIVE_LAYOUT_INFORMATION { fn default ( ) -> Self { Self { PartitionCount : 0 , Signature : 0 , PartitionEntry : [ :: std :: default :: Default :: default ( ) ;1 ] } } } impl :: std :: fmt :: Debug for DRIVE_LAYOUT_INFORMATION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DRIVE_LAYOUT_INFORMATION" ) . field ( "PartitionCount" , & self . PartitionCount ) . field ( "Signature" , & self . Signature ) . field ( "PartitionEntry" , & self . PartitionEntry ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DRIVE_LAYOUT_INFORMATION { fn eq ( & self , other : & Self ) -> bool { self . PartitionCount == other . PartitionCount && self . Signature == other . Signature && self . PartitionEntry == other . PartitionEntry } } impl :: std :: cmp :: Eq for DRIVE_LAYOUT_INFORMATION { } unsafe impl :: windows :: Abi for DRIVE_LAYOUT_INFORMATION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DRIVE_LAYOUT_INFORMATION_EX { pub PartitionStyle : u32 , pub PartitionCount : u32 , pub Anonymous : DRIVE_LAYOUT_INFORMATION_EX_0 , pub PartitionEntry : [ PARTITION_INFORMATION_EX ;1 ] } impl DRIVE_LAYOUT_INFORMATION_EX { } impl :: std :: cmp :: PartialEq for DRIVE_LAYOUT_INFORMATION_EX { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for DRIVE_LAYOUT_INFORMATION_EX { } unsafe impl :: windows :: Abi for DRIVE_LAYOUT_INFORMATION_EX { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union DRIVE_LAYOUT_INFORMATION_EX_0 { pub Mbr : DRIVE_LAYOUT_INFORMATION_MBR , pub Gpt : DRIVE_LAYOUT_INFORMATION_GPT } impl DRIVE_LAYOUT_INFORMATION_EX_0 { } impl :: std :: cmp :: PartialEq for DRIVE_LAYOUT_INFORMATION_EX_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for DRIVE_LAYOUT_INFORMATION_EX_0 { } unsafe impl :: windows :: Abi for DRIVE_LAYOUT_INFORMATION_EX_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DRIVE_LAYOUT_INFORMATION_GPT { pub DiskId : :: windows :: Guid , pub StartingUsableOffset : i64 , pub UsableLength : i64 , pub MaxPartitionCount : u32 } impl DRIVE_LAYOUT_INFORMATION_GPT { } impl :: std :: default :: Default for DRIVE_LAYOUT_INFORMATION_GPT { fn default ( ) -> Self { Self { DiskId : :: std :: default :: Default :: default ( ) , StartingUsableOffset : 0 , UsableLength : 0 , MaxPartitionCount : 0 } } } impl :: std :: fmt :: Debug for DRIVE_LAYOUT_INFORMATION_GPT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DRIVE_LAYOUT_INFORMATION_GPT" ) . field ( "DiskId" , & self . DiskId ) . field ( "StartingUsableOffset" , & self . StartingUsableOffset ) . field ( "UsableLength" , & self . UsableLength ) . field ( "MaxPartitionCount" , & self . MaxPartitionCount ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DRIVE_LAYOUT_INFORMATION_GPT { fn eq ( & self , other : & Self ) -> bool { self . DiskId == other . DiskId && self . StartingUsableOffset == other . StartingUsableOffset && self . UsableLength == other . UsableLength && self . MaxPartitionCount == other . MaxPartitionCount } } impl :: std :: cmp :: Eq for DRIVE_LAYOUT_INFORMATION_GPT { } unsafe impl :: windows :: Abi for DRIVE_LAYOUT_INFORMATION_GPT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DRIVE_LAYOUT_INFORMATION_MBR { pub Signature : u32 , pub CheckSum : u32 } impl DRIVE_LAYOUT_INFORMATION_MBR { } impl :: std :: default :: Default for DRIVE_LAYOUT_INFORMATION_MBR { fn default ( ) -> Self { Self { Signature : 0 , CheckSum : 0 } } } impl :: std :: fmt :: Debug for DRIVE_LAYOUT_INFORMATION_MBR { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DRIVE_LAYOUT_INFORMATION_MBR" ) . field ( "Signature" , & self . Signature ) . field ( "CheckSum" , & self . CheckSum ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DRIVE_LAYOUT_INFORMATION_MBR { fn eq ( & self , other : & Self ) -> bool { self . Signature == other . Signature && self . CheckSum == other . CheckSum } } impl :: std :: cmp :: Eq for DRIVE_LAYOUT_INFORMATION_MBR { } unsafe impl :: windows :: Abi for DRIVE_LAYOUT_INFORMATION_MBR { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DUPLICATE_EXTENTS_DATA { pub FileHandle : super::super::Foundation:: HANDLE , pub SourceFileOffset : i64 , pub TargetFileOffset : i64 , pub ByteCount : i64 } impl DUPLICATE_EXTENTS_DATA { } impl :: std :: default :: Default for DUPLICATE_EXTENTS_DATA { fn default ( ) -> Self { Self { FileHandle : :: std :: default :: Default :: default ( ) , SourceFileOffset : 0 , TargetFileOffset : 0 , ByteCount : 0 } } } impl :: std :: fmt :: Debug for DUPLICATE_EXTENTS_DATA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DUPLICATE_EXTENTS_DATA" ) . field ( "FileHandle" , & self . FileHandle ) . field ( "SourceFileOffset" , & self . SourceFileOffset ) . field ( "TargetFileOffset" , & self . TargetFileOffset ) . field ( "ByteCount" , & self . ByteCount ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DUPLICATE_EXTENTS_DATA { fn eq ( & self , other : & Self ) -> bool { self . FileHandle == other . FileHandle && self . SourceFileOffset == other . SourceFileOffset && self . TargetFileOffset == other . TargetFileOffset && self . ByteCount == other . ByteCount } } impl :: std :: cmp :: Eq for DUPLICATE_EXTENTS_DATA { } unsafe impl :: windows :: Abi for DUPLICATE_EXTENTS_DATA { type Abi = Self ; type DefaultType = Self ; } pub unsafe fn DecryptFileA < 'a , > ( lpfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , dwreserved : u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="ADVAPI32" ) ] extern "system" { fn DecryptFileA ( lpfilename : super::super::Foundation:: PSTR , dwreserved : u32 ) -> super::super::Foundation:: BOOL ; } DecryptFileA ( lpfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwreserved ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn DecryptFileW < 'a , > ( lpfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , dwreserved : u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="ADVAPI32" ) ] extern "system" { fn DecryptFileW ( lpfilename : super::super::Foundation:: PWSTR , dwreserved : u32 ) -> super::super::Foundation:: BOOL ; } DecryptFileW ( lpfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwreserved ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn DefineDosDeviceA < 'a , > ( dwflags : DEFINE_DOS_DEVICE_FLAGS , lpdevicename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , lptargetpath : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn DefineDosDeviceA ( dwflags : DEFINE_DOS_DEVICE_FLAGS , lpdevicename : super::super::Foundation:: PSTR , lptargetpath : super::super::Foundation:: PSTR ) -> super::super::Foundation:: BOOL ; } DefineDosDeviceA ( :: std :: mem :: transmute ( dwflags ) , lpdevicename . into_param ( ) . abi ( ) , lptargetpath . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn DefineDosDeviceW < 'a , > ( dwflags : DEFINE_DOS_DEVICE_FLAGS , lpdevicename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , lptargetpath : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn DefineDosDeviceW ( dwflags : DEFINE_DOS_DEVICE_FLAGS , lpdevicename : super::super::Foundation:: PWSTR , lptargetpath : super::super::Foundation:: PWSTR ) -> super::super::Foundation:: BOOL ; } DefineDosDeviceW ( :: std :: mem :: transmute ( dwflags ) , lpdevicename . into_param ( ) . abi ( ) , lptargetpath . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn DeleteFileA < 'a , > ( lpfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn DeleteFileA ( lpfilename : super::super::Foundation:: PSTR ) -> super::super::Foundation:: BOOL ; } DeleteFileA ( lpfilename . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn DeleteFileFromAppW < 'a , > ( lpfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="onecoreuap" ) ] extern "system" { fn DeleteFileFromAppW ( lpfilename : super::super::Foundation:: PWSTR ) -> super::super::Foundation:: BOOL ; } DeleteFileFromAppW ( lpfilename . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn DeleteFileTransactedA < 'a , > ( lpfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , htransaction : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn DeleteFileTransactedA ( lpfilename : super::super::Foundation:: PSTR , htransaction : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ; } DeleteFileTransactedA ( lpfilename . into_param ( ) . abi ( ) , htransaction . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn DeleteFileTransactedW < 'a , > ( lpfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , htransaction : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn DeleteFileTransactedW ( lpfilename : super::super::Foundation:: PWSTR , htransaction : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ; } DeleteFileTransactedW ( lpfilename . into_param ( ) . abi ( ) , htransaction . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn DeleteFileW < 'a , > ( lpfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn DeleteFileW ( lpfilename : super::super::Foundation:: PWSTR ) -> super::super::Foundation:: BOOL ; } DeleteFileW ( lpfilename . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn DeleteLogByHandle < 'a , > ( hlog : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="clfsw32" ) ] extern "system" { fn DeleteLogByHandle ( hlog : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ; } DeleteLogByHandle ( hlog . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn DeleteLogFile < 'a , > ( pszlogfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , pvreserved : * mut :: std :: ffi :: c_void , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="clfsw32" ) ] extern "system" { fn DeleteLogFile ( pszlogfilename : super::super::Foundation:: PWSTR , pvreserved : * mut :: std :: ffi :: c_void ) -> super::super::Foundation:: BOOL ; } DeleteLogFile ( pszlogfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pvreserved ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn DeleteLogMarshallingArea < > ( pvmarshal : * mut :: std :: ffi :: c_void , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="clfsw32" ) ] extern "system" { fn DeleteLogMarshallingArea ( pvmarshal : * mut :: std :: ffi :: c_void ) -> super::super::Foundation:: BOOL ; } DeleteLogMarshallingArea ( :: std :: mem :: transmute ( pvmarshal ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn DeleteVolumeMountPointA < 'a , > ( lpszvolumemountpoint : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn DeleteVolumeMountPointA ( lpszvolumemountpoint : super::super::Foundation:: PSTR ) -> super::super::Foundation:: BOOL ; } DeleteVolumeMountPointA ( lpszvolumemountpoint . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn DeleteVolumeMountPointW < 'a , > ( lpszvolumemountpoint : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn DeleteVolumeMountPointW ( lpszvolumemountpoint : super::super::Foundation:: PWSTR ) -> super::super::Foundation:: BOOL ; } DeleteVolumeMountPointW ( lpszvolumemountpoint . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn DeregisterManageableLogClient < 'a , > ( hlog : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="clfsw32" ) ] extern "system" { fn DeregisterManageableLogClient ( hlog : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ; } DeregisterManageableLogClient ( hlog . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn DuplicateEncryptionInfoFile < 'a , > ( srcfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , dstfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , dwcreationdistribution : u32 , dwattributes : u32 , lpsecurityattributes : * const super::super::Security:: SECURITY_ATTRIBUTES , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="ADVAPI32" ) ] extern "system" { fn DuplicateEncryptionInfoFile ( srcfilename : super::super::Foundation:: PWSTR , dstfilename : super::super::Foundation:: PWSTR , dwcreationdistribution : u32 , dwattributes : u32 , lpsecurityattributes : * const super::super::Security:: SECURITY_ATTRIBUTES ) -> u32 ; } DuplicateEncryptionInfoFile ( srcfilename . into_param ( ) . abi ( ) , dstfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwcreationdistribution ) , :: std :: mem :: transmute ( dwattributes ) , :: std :: mem :: transmute ( lpsecurityattributes ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EFS_CERTIFICATE_BLOB { pub dwCertEncodingType : u32 , pub cbData : u32 , pub pbData : * mut u8 } impl EFS_CERTIFICATE_BLOB { } impl :: std :: default :: Default for EFS_CERTIFICATE_BLOB { fn default ( ) -> Self { Self { dwCertEncodingType : 0 , cbData : 0 , pbData : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for EFS_CERTIFICATE_BLOB { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EFS_CERTIFICATE_BLOB" ) . field ( "dwCertEncodingType" , & self . dwCertEncodingType ) . field ( "cbData" , & self . cbData ) . field ( "pbData" , & self . pbData ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EFS_CERTIFICATE_BLOB { fn eq ( & self , other : & Self ) -> bool { self . dwCertEncodingType == other . dwCertEncodingType && self . cbData == other . cbData && self . pbData == other . pbData } } impl :: std :: cmp :: Eq for EFS_CERTIFICATE_BLOB { } unsafe impl :: windows :: Abi for EFS_CERTIFICATE_BLOB { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EFS_COMPATIBILITY_INFO { pub EfsVersion : u32 } impl EFS_COMPATIBILITY_INFO { } impl :: std :: default :: Default for EFS_COMPATIBILITY_INFO { fn default ( ) -> Self { Self { EfsVersion : 0 } } } impl :: std :: fmt :: Debug for EFS_COMPATIBILITY_INFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EFS_COMPATIBILITY_INFO" ) . field ( "EfsVersion" , & self . EfsVersion ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EFS_COMPATIBILITY_INFO { fn eq ( & self , other : & Self ) -> bool { self . EfsVersion == other . EfsVersion } } impl :: std :: cmp :: Eq for EFS_COMPATIBILITY_INFO { } unsafe impl :: windows :: Abi for EFS_COMPATIBILITY_INFO { type Abi = Self ; type DefaultType = Self ; } pub const EFS_COMPATIBILITY_VERSION_NCRYPT_PROTECTOR : u32 = 5u32 ; pub const EFS_COMPATIBILITY_VERSION_PFILE_PROTECTOR : u32 = 6u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EFS_DECRYPTION_STATUS_INFO { pub dwDecryptionError : u32 , pub dwHashOffset : u32 , pub cbHash : u32 } impl EFS_DECRYPTION_STATUS_INFO { } impl :: std :: default :: Default for EFS_DECRYPTION_STATUS_INFO { fn default ( ) -> Self { Self { dwDecryptionError : 0 , dwHashOffset : 0 , cbHash : 0 } } } impl :: std :: fmt :: Debug for EFS_DECRYPTION_STATUS_INFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EFS_DECRYPTION_STATUS_INFO" ) . field ( "dwDecryptionError" , & self . dwDecryptionError ) . field ( "dwHashOffset" , & self . dwHashOffset ) . field ( "cbHash" , & self . cbHash ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EFS_DECRYPTION_STATUS_INFO { fn eq ( & self , other : & Self ) -> bool { self . dwDecryptionError == other . dwDecryptionError && self . dwHashOffset == other . dwHashOffset && self . cbHash == other . cbHash } } impl :: std :: cmp :: Eq for EFS_DECRYPTION_STATUS_INFO { } unsafe impl :: windows :: Abi for EFS_DECRYPTION_STATUS_INFO { type Abi = Self ; type DefaultType = Self ; } pub const EFS_EFS_SUBVER_EFS_CERT : u32 = 1u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EFS_ENCRYPTION_STATUS_INFO { pub bHasCurrentKey : super::super::Foundation:: BOOL , pub dwEncryptionError : u32 } impl EFS_ENCRYPTION_STATUS_INFO { } impl :: std :: default :: Default for EFS_ENCRYPTION_STATUS_INFO { fn default ( ) -> Self { Self { bHasCurrentKey : :: std :: default :: Default :: default ( ) , dwEncryptionError : 0 } } } impl :: std :: fmt :: Debug for EFS_ENCRYPTION_STATUS_INFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EFS_ENCRYPTION_STATUS_INFO" ) . field ( "bHasCurrentKey" , & self . bHasCurrentKey ) . field ( "dwEncryptionError" , & self . dwEncryptionError ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EFS_ENCRYPTION_STATUS_INFO { fn eq ( & self , other : & Self ) -> bool { self . bHasCurrentKey == other . bHasCurrentKey && self . dwEncryptionError == other . dwEncryptionError } } impl :: std :: cmp :: Eq for EFS_ENCRYPTION_STATUS_INFO { } unsafe impl :: windows :: Abi for EFS_ENCRYPTION_STATUS_INFO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EFS_HASH_BLOB { pub cbData : u32 , pub pbData : * mut u8 } impl EFS_HASH_BLOB { } impl :: std :: default :: Default for EFS_HASH_BLOB { fn default ( ) -> Self { Self { cbData : 0 , pbData : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for EFS_HASH_BLOB { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EFS_HASH_BLOB" ) . field ( "cbData" , & self . cbData ) . field ( "pbData" , & self . pbData ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EFS_HASH_BLOB { fn eq ( & self , other : & Self ) -> bool { self . cbData == other . cbData && self . pbData == other . pbData } } impl :: std :: cmp :: Eq for EFS_HASH_BLOB { } unsafe impl :: windows :: Abi for EFS_HASH_BLOB { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EFS_KEY_INFO { pub dwVersion : u32 , pub Entropy : u32 , pub Algorithm : u32 , pub KeyLength : u32 } impl EFS_KEY_INFO { } impl :: std :: default :: Default for EFS_KEY_INFO { fn default ( ) -> Self { Self { dwVersion : 0 , Entropy : 0 , Algorithm : 0 , KeyLength : 0 } } } impl :: std :: fmt :: Debug for EFS_KEY_INFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EFS_KEY_INFO" ) . field ( "dwVersion" , & self . dwVersion ) . field ( "Entropy" , & self . Entropy ) . field ( "Algorithm" , & self . Algorithm ) . field ( "KeyLength" , & self . KeyLength ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EFS_KEY_INFO { fn eq ( & self , other : & Self ) -> bool { self . dwVersion == other . dwVersion && self . Entropy == other . Entropy && self . Algorithm == other . Algorithm && self . KeyLength == other . KeyLength } } impl :: std :: cmp :: Eq for EFS_KEY_INFO { } unsafe impl :: windows :: Abi for EFS_KEY_INFO { type Abi = Self ; type DefaultType = Self ; } pub const EFS_METADATA_ADD_USER : u32 = 1u32 ; pub const EFS_METADATA_GENERAL_OP : u32 = 8u32 ; pub const EFS_METADATA_REMOVE_USER : u32 = 2u32 ; pub const EFS_METADATA_REPLACE_USER : u32 = 4u32 ; pub const EFS_PFILE_SUBVER_APPX : u32 = 3u32 ; pub const EFS_PFILE_SUBVER_RMS : u32 = 2u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EFS_PIN_BLOB { pub cbPadding : u32 , pub cbData : u32 , pub pbData : * mut u8 } impl EFS_PIN_BLOB { } impl :: std :: default :: Default for EFS_PIN_BLOB { fn default ( ) -> Self { Self { cbPadding : 0 , cbData : 0 , pbData : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for EFS_PIN_BLOB { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EFS_PIN_BLOB" ) . field ( "cbPadding" , & self . cbPadding ) . field ( "cbData" , & self . cbData ) . field ( "pbData" , & self . pbData ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EFS_PIN_BLOB { fn eq ( & self , other : & Self ) -> bool { self . cbPadding == other . cbPadding && self . cbData == other . cbData && self . pbData == other . pbData } } impl :: std :: cmp :: Eq for EFS_PIN_BLOB { } unsafe impl :: windows :: Abi for EFS_PIN_BLOB { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EFS_RPC_BLOB { pub cbData : u32 , pub pbData : * mut u8 } impl EFS_RPC_BLOB { } impl :: std :: default :: Default for EFS_RPC_BLOB { fn default ( ) -> Self { Self { cbData : 0 , pbData : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for EFS_RPC_BLOB { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EFS_RPC_BLOB" ) . field ( "cbData" , & self . cbData ) . field ( "pbData" , & self . pbData ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EFS_RPC_BLOB { fn eq ( & self , other : & Self ) -> bool { self . cbData == other . cbData && self . pbData == other . pbData } } impl :: std :: cmp :: Eq for EFS_RPC_BLOB { } unsafe impl :: windows :: Abi for EFS_RPC_BLOB { type Abi = Self ; type DefaultType = Self ; } pub const EFS_SUBVER_UNKNOWN : u32 = 0u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EFS_VERSION_INFO { pub EfsVersion : u32 , pub SubVersion : u32 } impl EFS_VERSION_INFO { } impl :: std :: default :: Default for EFS_VERSION_INFO { fn default ( ) -> Self { Self { EfsVersion : 0 , SubVersion : 0 } } } impl :: std :: fmt :: Debug for EFS_VERSION_INFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EFS_VERSION_INFO" ) . field ( "EfsVersion" , & self . EfsVersion ) . field ( "SubVersion" , & self . SubVersion ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EFS_VERSION_INFO { fn eq ( & self , other : & Self ) -> bool { self . EfsVersion == other . EfsVersion && self . SubVersion == other . SubVersion } } impl :: std :: cmp :: Eq for EFS_VERSION_INFO { } unsafe impl :: windows :: Abi for EFS_VERSION_INFO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct ENCRYPTED_FILE_METADATA_SIGNATURE { pub dwEfsAccessType : u32 , pub pCertificatesAdded : * mut ENCRYPTION_CERTIFICATE_HASH_LIST , pub pEncryptionCertificate : * mut ENCRYPTION_CERTIFICATE , pub pEfsStreamSignature : * mut EFS_RPC_BLOB } impl ENCRYPTED_FILE_METADATA_SIGNATURE { } impl :: std :: default :: Default for ENCRYPTED_FILE_METADATA_SIGNATURE { fn default ( ) -> Self { Self { dwEfsAccessType : 0 , pCertificatesAdded : :: std :: ptr :: null_mut ( ) , pEncryptionCertificate : :: std :: ptr :: null_mut ( ) , pEfsStreamSignature : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for ENCRYPTED_FILE_METADATA_SIGNATURE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "ENCRYPTED_FILE_METADATA_SIGNATURE" ) . field ( "dwEfsAccessType" , & self . dwEfsAccessType ) . field ( "pCertificatesAdded" , & self . pCertificatesAdded ) . field ( "pEncryptionCertificate" , & self . pEncryptionCertificate ) . field ( "pEfsStreamSignature" , & self . pEfsStreamSignature ) . finish ( ) } } impl :: std :: cmp :: PartialEq for ENCRYPTED_FILE_METADATA_SIGNATURE { fn eq ( & self , other : & Self ) -> bool { self . dwEfsAccessType == other . dwEfsAccessType && self . pCertificatesAdded == other . pCertificatesAdded && self . pEncryptionCertificate == other . pEncryptionCertificate && self . pEfsStreamSignature == other . pEfsStreamSignature } } impl :: std :: cmp :: Eq for ENCRYPTED_FILE_METADATA_SIGNATURE { } unsafe impl :: windows :: Abi for ENCRYPTED_FILE_METADATA_SIGNATURE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct ENCRYPTION_CERTIFICATE { pub cbTotalLength : u32 , pub pUserSid : * mut super::super::Security:: SID , pub pCertBlob : * mut EFS_CERTIFICATE_BLOB } impl ENCRYPTION_CERTIFICATE { } impl :: std :: default :: Default for ENCRYPTION_CERTIFICATE { fn default ( ) -> Self { Self { cbTotalLength : 0 , pUserSid : :: std :: ptr :: null_mut ( ) , pCertBlob : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for ENCRYPTION_CERTIFICATE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "ENCRYPTION_CERTIFICATE" ) . field ( "cbTotalLength" , & self . cbTotalLength ) . field ( "pUserSid" , & self . pUserSid ) . field ( "pCertBlob" , & self . pCertBlob ) . finish ( ) } } impl :: std :: cmp :: PartialEq for ENCRYPTION_CERTIFICATE { fn eq ( & self , other : & Self ) -> bool { self . cbTotalLength == other . cbTotalLength && self . pUserSid == other . pUserSid && self . pCertBlob == other . pCertBlob } } impl :: std :: cmp :: Eq for ENCRYPTION_CERTIFICATE { } unsafe impl :: windows :: Abi for ENCRYPTION_CERTIFICATE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct ENCRYPTION_CERTIFICATE_HASH { pub cbTotalLength : u32 , pub pUserSid : * mut super::super::Security:: SID , pub pHash : * mut EFS_HASH_BLOB , pub lpDisplayInformation : super::super::Foundation:: PWSTR } impl ENCRYPTION_CERTIFICATE_HASH { } impl :: std :: default :: Default for ENCRYPTION_CERTIFICATE_HASH { fn default ( ) -> Self { Self { cbTotalLength : 0 , pUserSid : :: std :: ptr :: null_mut ( ) , pHash : :: std :: ptr :: null_mut ( ) , lpDisplayInformation : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for ENCRYPTION_CERTIFICATE_HASH { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "ENCRYPTION_CERTIFICATE_HASH" ) . field ( "cbTotalLength" , & self . cbTotalLength ) . field ( "pUserSid" , & self . pUserSid ) . field ( "pHash" , & self . pHash ) . field ( "lpDisplayInformation" , & self . lpDisplayInformation ) . finish ( ) } } impl :: std :: cmp :: PartialEq for ENCRYPTION_CERTIFICATE_HASH { fn eq ( & self , other : & Self ) -> bool { self . cbTotalLength == other . cbTotalLength && self . pUserSid == other . pUserSid && self . pHash == other . pHash && self . lpDisplayInformation == other . lpDisplayInformation } } impl :: std :: cmp :: Eq for ENCRYPTION_CERTIFICATE_HASH { } unsafe impl :: windows :: Abi for ENCRYPTION_CERTIFICATE_HASH { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct ENCRYPTION_CERTIFICATE_HASH_LIST { pub nCert_Hash : u32 , pub pUsers : * mut * mut ENCRYPTION_CERTIFICATE_HASH } impl ENCRYPTION_CERTIFICATE_HASH_LIST { } impl :: std :: default :: Default for ENCRYPTION_CERTIFICATE_HASH_LIST { fn default ( ) -> Self { Self { nCert_Hash : 0 , pUsers : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for ENCRYPTION_CERTIFICATE_HASH_LIST { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "ENCRYPTION_CERTIFICATE_HASH_LIST" ) . field ( "nCert_Hash" , & self . nCert_Hash ) . field ( "pUsers" , & self . pUsers ) . finish ( ) } } impl :: std :: cmp :: PartialEq for ENCRYPTION_CERTIFICATE_HASH_LIST { fn eq ( & self , other : & Self ) -> bool { self . nCert_Hash == other . nCert_Hash && self . pUsers == other . pUsers } } impl :: std :: cmp :: Eq for ENCRYPTION_CERTIFICATE_HASH_LIST { } unsafe impl :: windows :: Abi for ENCRYPTION_CERTIFICATE_HASH_LIST { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct ENCRYPTION_CERTIFICATE_LIST { pub nUsers : u32 , pub pUsers : * mut * mut ENCRYPTION_CERTIFICATE } impl ENCRYPTION_CERTIFICATE_LIST { } impl :: std :: default :: Default for ENCRYPTION_CERTIFICATE_LIST { fn default ( ) -> Self { Self { nUsers : 0 , pUsers : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for ENCRYPTION_CERTIFICATE_LIST { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "ENCRYPTION_CERTIFICATE_LIST" ) . field ( "nUsers" , & self . nUsers ) . field ( "pUsers" , & self . pUsers ) . finish ( ) } } impl :: std :: cmp :: PartialEq for ENCRYPTION_CERTIFICATE_LIST { fn eq ( & self , other : & Self ) -> bool { self . nUsers == other . nUsers && self . pUsers == other . pUsers } } impl :: std :: cmp :: Eq for ENCRYPTION_CERTIFICATE_LIST { } unsafe impl :: windows :: Abi for ENCRYPTION_CERTIFICATE_LIST { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct ENCRYPTION_PROTECTOR { pub cbTotalLength : u32 , pub pUserSid : * mut super::super::Security:: SID , pub lpProtectorDescriptor : super::super::Foundation:: PWSTR } impl ENCRYPTION_PROTECTOR { } impl :: std :: default :: Default for ENCRYPTION_PROTECTOR { fn default ( ) -> Self { Self { cbTotalLength : 0 , pUserSid : :: std :: ptr :: null_mut ( ) , lpProtectorDescriptor : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for ENCRYPTION_PROTECTOR { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "ENCRYPTION_PROTECTOR" ) . field ( "cbTotalLength" , & self . cbTotalLength ) . field ( "pUserSid" , & self . pUserSid ) . field ( "lpProtectorDescriptor" , & self . lpProtectorDescriptor ) . finish ( ) } } impl :: std :: cmp :: PartialEq for ENCRYPTION_PROTECTOR { fn eq ( & self , other : & Self ) -> bool { self . cbTotalLength == other . cbTotalLength && self . pUserSid == other . pUserSid && self . lpProtectorDescriptor == other . lpProtectorDescriptor } } impl :: std :: cmp :: Eq for ENCRYPTION_PROTECTOR { } unsafe impl :: windows :: Abi for ENCRYPTION_PROTECTOR { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct ENCRYPTION_PROTECTOR_LIST { pub nProtectors : u32 , pub pProtectors : * mut * mut ENCRYPTION_PROTECTOR } impl ENCRYPTION_PROTECTOR_LIST { } impl :: std :: default :: Default for ENCRYPTION_PROTECTOR_LIST { fn default ( ) -> Self { Self { nProtectors : 0 , pProtectors : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for ENCRYPTION_PROTECTOR_LIST { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "ENCRYPTION_PROTECTOR_LIST" ) . field ( "nProtectors" , & self . nProtectors ) . field ( "pProtectors" , & self . pProtectors ) . finish ( ) } } impl :: std :: cmp :: PartialEq for ENCRYPTION_PROTECTOR_LIST { fn eq ( & self , other : & Self ) -> bool { self . nProtectors == other . nProtectors && self . pProtectors == other . pProtectors } } impl :: std :: cmp :: Eq for ENCRYPTION_PROTECTOR_LIST { } unsafe impl :: windows :: Abi for ENCRYPTION_PROTECTOR_LIST { type Abi = Self ; type DefaultType = Self ; } pub const ENLISTMENT_MAXIMUM_OPTION : u32 = 1u32 ; pub const ENLISTMENT_SUPERIOR : u32 = 1u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct ERASE_TAPE_TYPE ( pub i32 ) ; pub const TAPE_ERASE_LONG : ERASE_TAPE_TYPE = ERASE_TAPE_TYPE ( 1i32 ) ; pub const TAPE_ERASE_SHORT : ERASE_TAPE_TYPE = ERASE_TAPE_TYPE ( 0i32 ) ; impl :: std :: convert :: From < i32 > for ERASE_TAPE_TYPE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for ERASE_TAPE_TYPE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EXFAT_STATISTICS { pub CreateHits : u32 , pub SuccessfulCreates : u32 , pub FailedCreates : u32 , pub NonCachedReads : u32 , pub NonCachedReadBytes : u32 , pub NonCachedWrites : u32 , pub NonCachedWriteBytes : u32 , pub NonCachedDiskReads : u32 , pub NonCachedDiskWrites : u32 } impl EXFAT_STATISTICS { } impl :: std :: default :: Default for EXFAT_STATISTICS { fn default ( ) -> Self { Self { CreateHits : 0 , SuccessfulCreates : 0 , FailedCreates : 0 , NonCachedReads : 0 , NonCachedReadBytes : 0 , NonCachedWrites : 0 , NonCachedWriteBytes : 0 , NonCachedDiskReads : 0 , NonCachedDiskWrites : 0 } } } impl :: std :: fmt :: Debug for EXFAT_STATISTICS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EXFAT_STATISTICS" ) . field ( "CreateHits" , & self . CreateHits ) . field ( "SuccessfulCreates" , & self . SuccessfulCreates ) . field ( "FailedCreates" , & self . FailedCreates ) . field ( "NonCachedReads" , & self . NonCachedReads ) . field ( "NonCachedReadBytes" , & self . NonCachedReadBytes ) . field ( "NonCachedWrites" , & self . NonCachedWrites ) . field ( "NonCachedWriteBytes" , & self . NonCachedWriteBytes ) . field ( "NonCachedDiskReads" , & self . NonCachedDiskReads ) . field ( "NonCachedDiskWrites" , & self . NonCachedDiskWrites ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EXFAT_STATISTICS { fn eq ( & self , other : & Self ) -> bool { self . CreateHits == other . CreateHits && self . SuccessfulCreates == other . SuccessfulCreates && self . FailedCreates == other . FailedCreates && self . NonCachedReads == other . NonCachedReads && self . NonCachedReadBytes == other . NonCachedReadBytes && self . NonCachedWrites == other . NonCachedWrites && self . NonCachedWriteBytes == other . NonCachedWriteBytes && self . NonCachedDiskReads == other . NonCachedDiskReads && self . NonCachedDiskWrites == other . NonCachedDiskWrites } } impl :: std :: cmp :: Eq for EXFAT_STATISTICS { } unsafe impl :: windows :: Abi for EXFAT_STATISTICS { type Abi = Self ; type DefaultType = Self ; } pub unsafe fn EncryptFileA < 'a , > ( lpfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="ADVAPI32" ) ] extern "system" { fn EncryptFileA ( lpfilename : super::super::Foundation:: PSTR ) -> super::super::Foundation:: BOOL ; } EncryptFileA ( lpfilename . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn EncryptFileW < 'a , > ( lpfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="ADVAPI32" ) ] extern "system" { fn EncryptFileW ( lpfilename : super::super::Foundation:: PWSTR ) -> super::super::Foundation:: BOOL ; } EncryptFileW ( lpfilename . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn EncryptionDisable < 'a , > ( dirpath : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , disable : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="ADVAPI32" ) ] extern "system" { fn EncryptionDisable ( dirpath : super::super::Foundation:: PWSTR , disable : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ; } EncryptionDisable ( dirpath . into_param ( ) . abi ( ) , disable . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn EraseTape < 'a , > ( hdevice : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , dwerasetype : ERASE_TAPE_TYPE , bimmediate : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn EraseTape ( hdevice : super::super::Foundation:: HANDLE , dwerasetype : ERASE_TAPE_TYPE , bimmediate : super::super::Foundation:: BOOL ) -> u32 ; } EraseTape ( hdevice . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwerasetype ) , bimmediate . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct FAT_STATISTICS { pub CreateHits : u32 , pub SuccessfulCreates : u32 , pub FailedCreates : u32 , pub NonCachedReads : u32 , pub NonCachedReadBytes : u32 , pub NonCachedWrites : u32 , pub NonCachedWriteBytes : u32 , pub NonCachedDiskReads : u32 , pub NonCachedDiskWrites : u32 } impl FAT_STATISTICS { } impl :: std :: default :: Default for FAT_STATISTICS { fn default ( ) -> Self { Self { CreateHits : 0 , SuccessfulCreates : 0 , FailedCreates : 0 , NonCachedReads : 0 , NonCachedReadBytes : 0 , NonCachedWrites : 0 , NonCachedWriteBytes : 0 , NonCachedDiskReads : 0 , NonCachedDiskWrites : 0 } } } impl :: std :: fmt :: Debug for FAT_STATISTICS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "FAT_STATISTICS" ) . field ( "CreateHits" , & self . CreateHits ) . field ( "SuccessfulCreates" , & self . SuccessfulCreates ) . field ( "FailedCreates" , & self . FailedCreates ) . field ( "NonCachedReads" , & self . NonCachedReads ) . field ( "NonCachedReadBytes" , & self . NonCachedReadBytes ) . field ( "NonCachedWrites" , & self . NonCachedWrites ) . field ( "NonCachedWriteBytes" , & self . NonCachedWriteBytes ) . field ( "NonCachedDiskReads" , & self . NonCachedDiskReads ) . field ( "NonCachedDiskWrites" , & self . NonCachedDiskWrites ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FAT_STATISTICS { fn eq ( & self , other : & Self ) -> bool { self . CreateHits == other . CreateHits && self . SuccessfulCreates == other . SuccessfulCreates && self . FailedCreates == other . FailedCreates && self . NonCachedReads == other . NonCachedReads && self . NonCachedReadBytes == other . NonCachedReadBytes && self . NonCachedWrites == other . NonCachedWrites && self . NonCachedWriteBytes == other . NonCachedWriteBytes && self . NonCachedDiskReads == other . NonCachedDiskReads && self . NonCachedDiskWrites == other . NonCachedDiskWrites } } impl :: std :: cmp :: Eq for FAT_STATISTICS { } unsafe impl :: windows :: Abi for FAT_STATISTICS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct FILESYSTEM_STATISTICS { pub FileSystemType : FILESYSTEM_STATISTICS_TYPE , pub Version : u16 , pub SizeOfCompleteStructure : u32 , pub UserFileReads : u32 , pub UserFileReadBytes : u32 , pub UserDiskReads : u32 , pub UserFileWrites : u32 , pub UserFileWriteBytes : u32 , pub UserDiskWrites : u32 , pub MetaDataReads : u32 , pub MetaDataReadBytes : u32 , pub MetaDataDiskReads : u32 , pub MetaDataWrites : u32 , pub MetaDataWriteBytes : u32 , pub MetaDataDiskWrites : u32 } impl FILESYSTEM_STATISTICS { } impl :: std :: default :: Default for FILESYSTEM_STATISTICS { fn default ( ) -> Self { Self { FileSystemType : :: std :: default :: Default :: default ( ) , Version : 0 , SizeOfCompleteStructure : 0 , UserFileReads : 0 , UserFileReadBytes : 0 , UserDiskReads : 0 , UserFileWrites : 0 , UserFileWriteBytes : 0 , UserDiskWrites : 0 , MetaDataReads : 0 , MetaDataReadBytes : 0 , MetaDataDiskReads : 0 , MetaDataWrites : 0 , MetaDataWriteBytes : 0 , MetaDataDiskWrites : 0 } } } impl :: std :: fmt :: Debug for FILESYSTEM_STATISTICS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "FILESYSTEM_STATISTICS" ) . field ( "FileSystemType" , & self . FileSystemType ) . field ( "Version" , & self . Version ) . field ( "SizeOfCompleteStructure" , & self . SizeOfCompleteStructure ) . field ( "UserFileReads" , & self . UserFileReads ) . field ( "UserFileReadBytes" , & self . UserFileReadBytes ) . field ( "UserDiskReads" , & self . UserDiskReads ) . field ( "UserFileWrites" , & self . UserFileWrites ) . field ( "UserFileWriteBytes" , & self . UserFileWriteBytes ) . field ( "UserDiskWrites" , & self . UserDiskWrites ) . field ( "MetaDataReads" , & self . MetaDataReads ) . field ( "MetaDataReadBytes" , & self . MetaDataReadBytes ) . field ( "MetaDataDiskReads" , & self . MetaDataDiskReads ) . field ( "MetaDataWrites" , & self . MetaDataWrites ) . field ( "MetaDataWriteBytes" , & self . MetaDataWriteBytes ) . field ( "MetaDataDiskWrites" , & self . MetaDataDiskWrites ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FILESYSTEM_STATISTICS { fn eq ( & self , other : & Self ) -> bool { self . FileSystemType == other . FileSystemType && self . Version == other . Version && self . SizeOfCompleteStructure == other . SizeOfCompleteStructure && self . UserFileReads == other . UserFileReads && self . UserFileReadBytes == other . UserFileReadBytes && self . UserDiskReads == other . UserDiskReads && self . UserFileWrites == other . UserFileWrites && self . UserFileWriteBytes == other . UserFileWriteBytes && self . UserDiskWrites == other . UserDiskWrites && self . MetaDataReads == other . MetaDataReads && self . MetaDataReadBytes == other . MetaDataReadBytes && self . MetaDataDiskReads == other . MetaDataDiskReads && self . MetaDataWrites == other . MetaDataWrites && self . MetaDataWriteBytes == other . MetaDataWriteBytes && self . MetaDataDiskWrites == other . MetaDataDiskWrites } } impl :: std :: cmp :: Eq for FILESYSTEM_STATISTICS { } unsafe impl :: windows :: Abi for FILESYSTEM_STATISTICS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct FILESYSTEM_STATISTICS_EX { pub FileSystemType : FILESYSTEM_STATISTICS_TYPE , pub Version : u16 , pub SizeOfCompleteStructure : u32 , pub UserFileReads : u64 , pub UserFileReadBytes : u64 , pub UserDiskReads : u64 , pub UserFileWrites : u64 , pub UserFileWriteBytes : u64 , pub UserDiskWrites : u64 , pub MetaDataReads : u64 , pub MetaDataReadBytes : u64 , pub MetaDataDiskReads : u64 , pub MetaDataWrites : u64 , pub MetaDataWriteBytes : u64 , pub MetaDataDiskWrites : u64 } impl FILESYSTEM_STATISTICS_EX { } impl :: std :: default :: Default for FILESYSTEM_STATISTICS_EX { fn default ( ) -> Self { Self { FileSystemType : :: std :: default :: Default :: default ( ) , Version : 0 , SizeOfCompleteStructure : 0 , UserFileReads : 0 , UserFileReadBytes : 0 , UserDiskReads : 0 , UserFileWrites : 0 , UserFileWriteBytes : 0 , UserDiskWrites : 0 , MetaDataReads : 0 , MetaDataReadBytes : 0 , MetaDataDiskReads : 0 , MetaDataWrites : 0 , MetaDataWriteBytes : 0 , MetaDataDiskWrites : 0 } } } impl :: std :: fmt :: Debug for FILESYSTEM_STATISTICS_EX { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "FILESYSTEM_STATISTICS_EX" ) . field ( "FileSystemType" , & self . FileSystemType ) . field ( "Version" , & self . Version ) . field ( "SizeOfCompleteStructure" , & self . SizeOfCompleteStructure ) . field ( "UserFileReads" , & self . UserFileReads ) . field ( "UserFileReadBytes" , & self . UserFileReadBytes ) . field ( "UserDiskReads" , & self . UserDiskReads ) . field ( "UserFileWrites" , & self . UserFileWrites ) . field ( "UserFileWriteBytes" , & self . UserFileWriteBytes ) . field ( "UserDiskWrites" , & self . UserDiskWrites ) . field ( "MetaDataReads" , & self . MetaDataReads ) . field ( "MetaDataReadBytes" , & self . MetaDataReadBytes ) . field ( "MetaDataDiskReads" , & self . MetaDataDiskReads ) . field ( "MetaDataWrites" , & self . MetaDataWrites ) . field ( "MetaDataWriteBytes" , & self . MetaDataWriteBytes ) . field ( "MetaDataDiskWrites" , & self . MetaDataDiskWrites ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FILESYSTEM_STATISTICS_EX { fn eq ( & self , other : & Self ) -> bool { self . FileSystemType == other . FileSystemType && self . Version == other . Version && self . SizeOfCompleteStructure == other . SizeOfCompleteStructure && self . UserFileReads == other . UserFileReads && self . UserFileReadBytes == other . UserFileReadBytes && self . UserDiskReads == other . UserDiskReads && self . UserFileWrites == other . UserFileWrites && self . UserFileWriteBytes == other . UserFileWriteBytes && self . UserDiskWrites == other . UserDiskWrites && self . MetaDataReads == other . MetaDataReads && self . MetaDataReadBytes == other . MetaDataReadBytes && self . MetaDataDiskReads == other . MetaDataDiskReads && self . MetaDataWrites == other . MetaDataWrites && self . MetaDataWriteBytes == other . MetaDataWriteBytes && self . MetaDataDiskWrites == other . MetaDataDiskWrites } } impl :: std :: cmp :: Eq for FILESYSTEM_STATISTICS_EX { } unsafe impl :: windows :: Abi for FILESYSTEM_STATISTICS_EX { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct FILESYSTEM_STATISTICS_TYPE ( pub u32 ) ; pub const FILESYSTEM_STATISTICS_TYPE_EXFAT : FILESYSTEM_STATISTICS_TYPE = FILESYSTEM_STATISTICS_TYPE ( 3u32 ) ; pub const FILESYSTEM_STATISTICS_TYPE_FAT : FILESYSTEM_STATISTICS_TYPE = FILESYSTEM_STATISTICS_TYPE ( 2u32 ) ; pub const FILESYSTEM_STATISTICS_TYPE_NTFS : FILESYSTEM_STATISTICS_TYPE = FILESYSTEM_STATISTICS_TYPE ( 1u32 ) ; impl :: std :: convert :: From < u32 > for FILESYSTEM_STATISTICS_TYPE { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for FILESYSTEM_STATISTICS_TYPE { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for FILESYSTEM_STATISTICS_TYPE { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for FILESYSTEM_STATISTICS_TYPE { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for FILESYSTEM_STATISTICS_TYPE { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for FILESYSTEM_STATISTICS_TYPE { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct FILE_ACCESS_FLAGS ( pub u32 ) ; pub const FILE_READ_DATA : FILE_ACCESS_FLAGS = FILE_ACCESS_FLAGS ( 1u32 ) ; pub const FILE_LIST_DIRECTORY : FILE_ACCESS_FLAGS = FILE_ACCESS_FLAGS ( 1u32 ) ; pub const FILE_WRITE_DATA : FILE_ACCESS_FLAGS = FILE_ACCESS_FLAGS ( 2u32 ) ; pub const FILE_ADD_FILE : FILE_ACCESS_FLAGS = FILE_ACCESS_FLAGS ( 2u32 ) ; pub const FILE_APPEND_DATA : FILE_ACCESS_FLAGS = FILE_ACCESS_FLAGS ( 4u32 ) ; pub const FILE_ADD_SUBDIRECTORY : FILE_ACCESS_FLAGS = FILE_ACCESS_FLAGS ( 4u32 ) ; pub const FILE_CREATE_PIPE_INSTANCE : FILE_ACCESS_FLAGS = FILE_ACCESS_FLAGS ( 4u32 ) ; pub const FILE_READ_EA : FILE_ACCESS_FLAGS = FILE_ACCESS_FLAGS ( 8u32 ) ; pub const FILE_WRITE_EA : FILE_ACCESS_FLAGS = FILE_ACCESS_FLAGS ( 16u32 ) ; pub const FILE_EXECUTE : FILE_ACCESS_FLAGS = FILE_ACCESS_FLAGS ( 32u32 ) ; pub const FILE_TRAVERSE : FILE_ACCESS_FLAGS = FILE_ACCESS_FLAGS ( 32u32 ) ; pub const FILE_DELETE_CHILD : FILE_ACCESS_FLAGS = FILE_ACCESS_FLAGS ( 64u32 ) ; pub const FILE_READ_ATTRIBUTES : FILE_ACCESS_FLAGS = FILE_ACCESS_FLAGS ( 128u32 ) ; pub const FILE_WRITE_ATTRIBUTES : FILE_ACCESS_FLAGS = FILE_ACCESS_FLAGS ( 256u32 ) ; pub const READ_CONTROL : FILE_ACCESS_FLAGS = FILE_ACCESS_FLAGS ( 131072u32 ) ; pub const SYNCHRONIZE : FILE_ACCESS_FLAGS = FILE_ACCESS_FLAGS ( 1048576u32 ) ; pub const STANDARD_RIGHTS_REQUIRED : FILE_ACCESS_FLAGS = FILE_ACCESS_FLAGS ( 983040u32 ) ; pub const STANDARD_RIGHTS_READ : FILE_ACCESS_FLAGS = FILE_ACCESS_FLAGS ( 131072u32 ) ; pub const STANDARD_RIGHTS_WRITE : FILE_ACCESS_FLAGS = FILE_ACCESS_FLAGS ( 131072u32 ) ; pub const STANDARD_RIGHTS_EXECUTE : FILE_ACCESS_FLAGS = FILE_ACCESS_FLAGS ( 131072u32 ) ; pub const STANDARD_RIGHTS_ALL : FILE_ACCESS_FLAGS = FILE_ACCESS_FLAGS ( 2031616u32 ) ; pub const SPECIFIC_RIGHTS_ALL : FILE_ACCESS_FLAGS = FILE_ACCESS_FLAGS ( 65535u32 ) ; pub const FILE_ALL_ACCESS : FILE_ACCESS_FLAGS = FILE_ACCESS_FLAGS ( 2032127u32 ) ; pub const FILE_GENERIC_READ : FILE_ACCESS_FLAGS = FILE_ACCESS_FLAGS ( 1179785u32 ) ; pub const FILE_GENERIC_WRITE : FILE_ACCESS_FLAGS = FILE_ACCESS_FLAGS ( 1179926u32 ) ; pub const FILE_GENERIC_EXECUTE : FILE_ACCESS_FLAGS = FILE_ACCESS_FLAGS ( 1179808u32 ) ; impl :: std :: convert :: From < u32 > for FILE_ACCESS_FLAGS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for FILE_ACCESS_FLAGS { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for FILE_ACCESS_FLAGS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for FILE_ACCESS_FLAGS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for FILE_ACCESS_FLAGS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for FILE_ACCESS_FLAGS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct FILE_ACTION ( pub u32 ) ; pub const FILE_ACTION_ADDED : FILE_ACTION = FILE_ACTION ( 1u32 ) ; pub const FILE_ACTION_REMOVED : FILE_ACTION = FILE_ACTION ( 2u32 ) ; pub const FILE_ACTION_MODIFIED : FILE_ACTION = FILE_ACTION ( 3u32 ) ; pub const FILE_ACTION_RENAMED_OLD_NAME : FILE_ACTION = FILE_ACTION ( 4u32 ) ; pub const FILE_ACTION_RENAMED_NEW_NAME : FILE_ACTION = FILE_ACTION ( 5u32 ) ; impl :: std :: convert :: From < u32 > for FILE_ACTION { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for FILE_ACTION { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for FILE_ACTION { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for FILE_ACTION { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for FILE_ACTION { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for FILE_ACTION { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct FILE_ALIGNMENT_INFO { pub AlignmentRequirement : u32 } impl FILE_ALIGNMENT_INFO { } impl :: std :: default :: Default for FILE_ALIGNMENT_INFO { fn default ( ) -> Self { Self { AlignmentRequirement : 0 } } } impl :: std :: fmt :: Debug for FILE_ALIGNMENT_INFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "FILE_ALIGNMENT_INFO" ) . field ( "AlignmentRequirement" , & self . AlignmentRequirement ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FILE_ALIGNMENT_INFO { fn eq ( & self , other : & Self ) -> bool { self . AlignmentRequirement == other . AlignmentRequirement } } impl :: std :: cmp :: Eq for FILE_ALIGNMENT_INFO { } unsafe impl :: windows :: Abi for FILE_ALIGNMENT_INFO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct FILE_ALLOCATED_RANGE_BUFFER { pub FileOffset : i64 , pub Length : i64 } impl FILE_ALLOCATED_RANGE_BUFFER { } impl :: std :: default :: Default for FILE_ALLOCATED_RANGE_BUFFER { fn default ( ) -> Self { Self { FileOffset : 0 , Length : 0 } } } impl :: std :: fmt :: Debug for FILE_ALLOCATED_RANGE_BUFFER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "FILE_ALLOCATED_RANGE_BUFFER" ) . field ( "FileOffset" , & self . FileOffset ) . field ( "Length" , & self . Length ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FILE_ALLOCATED_RANGE_BUFFER { fn eq ( & self , other : & Self ) -> bool { self . FileOffset == other . FileOffset && self . Length == other . Length } } impl :: std :: cmp :: Eq for FILE_ALLOCATED_RANGE_BUFFER { } unsafe impl :: windows :: Abi for FILE_ALLOCATED_RANGE_BUFFER { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct FILE_ALLOCATION_INFO { pub AllocationSize : i64 } impl FILE_ALLOCATION_INFO { } impl :: std :: default :: Default for FILE_ALLOCATION_INFO { fn default ( ) -> Self { Self { AllocationSize : 0 } } } impl :: std :: fmt :: Debug for FILE_ALLOCATION_INFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "FILE_ALLOCATION_INFO" ) . field ( "AllocationSize" , & self . AllocationSize ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FILE_ALLOCATION_INFO { fn eq ( & self , other : & Self ) -> bool { self . AllocationSize == other . AllocationSize } } impl :: std :: cmp :: Eq for FILE_ALLOCATION_INFO { } unsafe impl :: windows :: Abi for FILE_ALLOCATION_INFO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct FILE_ATTRIBUTE_TAG_INFO { pub FileAttributes : u32 , pub ReparseTag : u32 } impl FILE_ATTRIBUTE_TAG_INFO { } impl :: std :: default :: Default for FILE_ATTRIBUTE_TAG_INFO { fn default ( ) -> Self { Self { FileAttributes : 0 , ReparseTag : 0 } } } impl :: std :: fmt :: Debug for FILE_ATTRIBUTE_TAG_INFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "FILE_ATTRIBUTE_TAG_INFO" ) . field ( "FileAttributes" , & self . FileAttributes ) . field ( "ReparseTag" , & self . ReparseTag ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FILE_ATTRIBUTE_TAG_INFO { fn eq ( & self , other : & Self ) -> bool { self . FileAttributes == other . FileAttributes && self . ReparseTag == other . ReparseTag } } impl :: std :: cmp :: Eq for FILE_ATTRIBUTE_TAG_INFO { } unsafe impl :: windows :: Abi for FILE_ATTRIBUTE_TAG_INFO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct FILE_BASIC_INFO { pub CreationTime : i64 , pub LastAccessTime : i64 , pub LastWriteTime : i64 , pub ChangeTime : i64 , pub FileAttributes : u32 } impl FILE_BASIC_INFO { } impl :: std :: default :: Default for FILE_BASIC_INFO { fn default ( ) -> Self { Self { CreationTime : 0 , LastAccessTime : 0 , LastWriteTime : 0 , ChangeTime : 0 , FileAttributes : 0 } } } impl :: std :: fmt :: Debug for FILE_BASIC_INFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "FILE_BASIC_INFO" ) . field ( "CreationTime" , & self . CreationTime ) . field ( "LastAccessTime" , & self . LastAccessTime ) . field ( "LastWriteTime" , & self . LastWriteTime ) . field ( "ChangeTime" , & self . ChangeTime ) . field ( "FileAttributes" , & self . FileAttributes ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FILE_BASIC_INFO { fn eq ( & self , other : & Self ) -> bool { self . CreationTime == other . CreationTime && self . LastAccessTime == other . LastAccessTime && self . LastWriteTime == other . LastWriteTime && self . ChangeTime == other . ChangeTime && self . FileAttributes == other . FileAttributes } } impl :: std :: cmp :: Eq for FILE_BASIC_INFO { } unsafe impl :: windows :: Abi for FILE_BASIC_INFO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct FILE_COMPRESSION_INFO { pub CompressedFileSize : i64 , pub CompressionFormat : u16 , pub CompressionUnitShift : u8 , pub ChunkShift : u8 , pub ClusterShift : u8 , pub Reserved : [ u8 ;3 ] } impl FILE_COMPRESSION_INFO { } impl :: std :: default :: Default for FILE_COMPRESSION_INFO { fn default ( ) -> Self { Self { CompressedFileSize : 0 , CompressionFormat : 0 , CompressionUnitShift : 0 , ChunkShift : 0 , ClusterShift : 0 , Reserved : [ 0 ;3 ] } } } impl :: std :: fmt :: Debug for FILE_COMPRESSION_INFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "FILE_COMPRESSION_INFO" ) . field ( "CompressedFileSize" , & self . CompressedFileSize ) . field ( "CompressionFormat" , & self . CompressionFormat ) . field ( "CompressionUnitShift" , & self . CompressionUnitShift ) . field ( "ChunkShift" , & self . ChunkShift ) . field ( "ClusterShift" , & self . ClusterShift ) . field ( "Reserved" , & self . Reserved ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FILE_COMPRESSION_INFO { fn eq ( & self , other : & Self ) -> bool { self . CompressedFileSize == other . CompressedFileSize && self . CompressionFormat == other . CompressionFormat && self . CompressionUnitShift == other . CompressionUnitShift && self . ChunkShift == other . ChunkShift && self . ClusterShift == other . ClusterShift && self . Reserved == other . Reserved } } impl :: std :: cmp :: Eq for FILE_COMPRESSION_INFO { } unsafe impl :: windows :: Abi for FILE_COMPRESSION_INFO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct FILE_CREATION_DISPOSITION ( pub u32 ) ; pub const CREATE_NEW : FILE_CREATION_DISPOSITION = FILE_CREATION_DISPOSITION ( 1u32 ) ; pub const CREATE_ALWAYS : FILE_CREATION_DISPOSITION = FILE_CREATION_DISPOSITION ( 2u32 ) ; pub const OPEN_EXISTING : FILE_CREATION_DISPOSITION = FILE_CREATION_DISPOSITION ( 3u32 ) ; pub const OPEN_ALWAYS : FILE_CREATION_DISPOSITION = FILE_CREATION_DISPOSITION ( 4u32 ) ; pub const TRUNCATE_EXISTING : FILE_CREATION_DISPOSITION = FILE_CREATION_DISPOSITION ( 5u32 ) ; impl :: std :: convert :: From < u32 > for FILE_CREATION_DISPOSITION { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for FILE_CREATION_DISPOSITION { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for FILE_CREATION_DISPOSITION { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for FILE_CREATION_DISPOSITION { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for FILE_CREATION_DISPOSITION { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for FILE_CREATION_DISPOSITION { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct FILE_DEVICE_TYPE ( pub u32 ) ; pub const FILE_DEVICE_CD_ROM : FILE_DEVICE_TYPE = FILE_DEVICE_TYPE ( 2u32 ) ; pub const FILE_DEVICE_DISK : FILE_DEVICE_TYPE = FILE_DEVICE_TYPE ( 7u32 ) ; pub const FILE_DEVICE_TAPE : FILE_DEVICE_TYPE = FILE_DEVICE_TYPE ( 31u32 ) ; pub const FILE_DEVICE_DVD : FILE_DEVICE_TYPE = FILE_DEVICE_TYPE ( 51u32 ) ; impl :: std :: convert :: From < u32 > for FILE_DEVICE_TYPE { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for FILE_DEVICE_TYPE { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for FILE_DEVICE_TYPE { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for FILE_DEVICE_TYPE { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for FILE_DEVICE_TYPE { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for FILE_DEVICE_TYPE { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct FILE_DISPOSITION_INFO { pub DeleteFileA : u8 } impl FILE_DISPOSITION_INFO { } impl :: std :: default :: Default for FILE_DISPOSITION_INFO { fn default ( ) -> Self { Self { DeleteFileA : 0 } } } impl :: std :: fmt :: Debug for FILE_DISPOSITION_INFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "FILE_DISPOSITION_INFO" ) . field ( "DeleteFileA" , & self . DeleteFileA ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FILE_DISPOSITION_INFO { fn eq ( & self , other : & Self ) -> bool { self . DeleteFileA == other . DeleteFileA } } impl :: std :: cmp :: Eq for FILE_DISPOSITION_INFO { } unsafe impl :: windows :: Abi for FILE_DISPOSITION_INFO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct FILE_END_OF_FILE_INFO { pub EndOfFile : i64 } impl FILE_END_OF_FILE_INFO { } impl :: std :: default :: Default for FILE_END_OF_FILE_INFO { fn default ( ) -> Self { Self { EndOfFile : 0 } } } impl :: std :: fmt :: Debug for FILE_END_OF_FILE_INFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "FILE_END_OF_FILE_INFO" ) . field ( "EndOfFile" , & self . EndOfFile ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FILE_END_OF_FILE_INFO { fn eq ( & self , other : & Self ) -> bool { self . EndOfFile == other . EndOfFile } } impl :: std :: cmp :: Eq for FILE_END_OF_FILE_INFO { } unsafe impl :: windows :: Abi for FILE_END_OF_FILE_INFO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct FILE_EXTENT { pub VolumeOffset : u64 , pub ExtentLength : u64 } impl FILE_EXTENT { } impl :: std :: default :: Default for FILE_EXTENT { fn default ( ) -> Self { Self { VolumeOffset : 0 , ExtentLength : 0 } } } impl :: std :: fmt :: Debug for FILE_EXTENT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "FILE_EXTENT" ) . field ( "VolumeOffset" , & self . VolumeOffset ) . field ( "ExtentLength" , & self . ExtentLength ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FILE_EXTENT { fn eq ( & self , other : & Self ) -> bool { self . VolumeOffset == other . VolumeOffset && self . ExtentLength == other . ExtentLength } } impl :: std :: cmp :: Eq for FILE_EXTENT { } unsafe impl :: windows :: Abi for FILE_EXTENT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct FILE_FLAGS_AND_ATTRIBUTES ( pub u32 ) ; pub const FILE_ATTRIBUTE_READONLY : FILE_FLAGS_AND_ATTRIBUTES = FILE_FLAGS_AND_ATTRIBUTES ( 1u32 ) ; pub const FILE_ATTRIBUTE_HIDDEN : FILE_FLAGS_AND_ATTRIBUTES = FILE_FLAGS_AND_ATTRIBUTES ( 2u32 ) ; pub const FILE_ATTRIBUTE_SYSTEM : FILE_FLAGS_AND_ATTRIBUTES = FILE_FLAGS_AND_ATTRIBUTES ( 4u32 ) ; pub const FILE_ATTRIBUTE_DIRECTORY : FILE_FLAGS_AND_ATTRIBUTES = FILE_FLAGS_AND_ATTRIBUTES ( 16u32 ) ; pub const FILE_ATTRIBUTE_ARCHIVE : FILE_FLAGS_AND_ATTRIBUTES = FILE_FLAGS_AND_ATTRIBUTES ( 32u32 ) ; pub const FILE_ATTRIBUTE_DEVICE : FILE_FLAGS_AND_ATTRIBUTES = FILE_FLAGS_AND_ATTRIBUTES ( 64u32 ) ; pub const FILE_ATTRIBUTE_NORMAL : FILE_FLAGS_AND_ATTRIBUTES = FILE_FLAGS_AND_ATTRIBUTES ( 128u32 ) ; pub const FILE_ATTRIBUTE_TEMPORARY : FILE_FLAGS_AND_ATTRIBUTES = FILE_FLAGS_AND_ATTRIBUTES ( 256u32 ) ; pub const FILE_ATTRIBUTE_SPARSE_FILE : FILE_FLAGS_AND_ATTRIBUTES = FILE_FLAGS_AND_ATTRIBUTES ( 512u32 ) ; pub const FILE_ATTRIBUTE_REPARSE_POINT : FILE_FLAGS_AND_ATTRIBUTES = FILE_FLAGS_AND_ATTRIBUTES ( 1024u32 ) ; pub const FILE_ATTRIBUTE_COMPRESSED : FILE_FLAGS_AND_ATTRIBUTES = FILE_FLAGS_AND_ATTRIBUTES ( 2048u32 ) ; pub const FILE_ATTRIBUTE_OFFLINE : FILE_FLAGS_AND_ATTRIBUTES = FILE_FLAGS_AND_ATTRIBUTES ( 4096u32 ) ; pub const FILE_ATTRIBUTE_NOT_CONTENT_INDEXED : FILE_FLAGS_AND_ATTRIBUTES = FILE_FLAGS_AND_ATTRIBUTES ( 8192u32 ) ; pub const FILE_ATTRIBUTE_ENCRYPTED : FILE_FLAGS_AND_ATTRIBUTES = FILE_FLAGS_AND_ATTRIBUTES ( 16384u32 ) ; pub const FILE_ATTRIBUTE_INTEGRITY_STREAM : FILE_FLAGS_AND_ATTRIBUTES = FILE_FLAGS_AND_ATTRIBUTES ( 32768u32 ) ; pub const FILE_ATTRIBUTE_VIRTUAL : FILE_FLAGS_AND_ATTRIBUTES = FILE_FLAGS_AND_ATTRIBUTES ( 65536u32 ) ; pub const FILE_ATTRIBUTE_NO_SCRUB_DATA : FILE_FLAGS_AND_ATTRIBUTES = FILE_FLAGS_AND_ATTRIBUTES ( 131072u32 ) ; pub const FILE_ATTRIBUTE_EA : FILE_FLAGS_AND_ATTRIBUTES = FILE_FLAGS_AND_ATTRIBUTES ( 262144u32 ) ; pub const FILE_ATTRIBUTE_PINNED : FILE_FLAGS_AND_ATTRIBUTES = FILE_FLAGS_AND_ATTRIBUTES ( 524288u32 ) ; pub const FILE_ATTRIBUTE_UNPINNED : FILE_FLAGS_AND_ATTRIBUTES = FILE_FLAGS_AND_ATTRIBUTES ( 1048576u32 ) ; pub const FILE_ATTRIBUTE_RECALL_ON_OPEN : FILE_FLAGS_AND_ATTRIBUTES = FILE_FLAGS_AND_ATTRIBUTES ( 262144u32 ) ; pub const FILE_ATTRIBUTE_RECALL_ON_DATA_ACCESS : FILE_FLAGS_AND_ATTRIBUTES = FILE_FLAGS_AND_ATTRIBUTES ( 4194304u32 ) ; pub const FILE_FLAG_WRITE_THROUGH : FILE_FLAGS_AND_ATTRIBUTES = FILE_FLAGS_AND_ATTRIBUTES ( 2147483648u32 ) ; pub const FILE_FLAG_OVERLAPPED : FILE_FLAGS_AND_ATTRIBUTES = FILE_FLAGS_AND_ATTRIBUTES ( 1073741824u32 ) ; pub const FILE_FLAG_NO_BUFFERING : FILE_FLAGS_AND_ATTRIBUTES = FILE_FLAGS_AND_ATTRIBUTES ( 536870912u32 ) ; pub const FILE_FLAG_RANDOM_ACCESS : FILE_FLAGS_AND_ATTRIBUTES = FILE_FLAGS_AND_ATTRIBUTES ( 268435456u32 ) ; pub const FILE_FLAG_SEQUENTIAL_SCAN : FILE_FLAGS_AND_ATTRIBUTES = FILE_FLAGS_AND_ATTRIBUTES ( 134217728u32 ) ; pub const FILE_FLAG_DELETE_ON_CLOSE : FILE_FLAGS_AND_ATTRIBUTES = FILE_FLAGS_AND_ATTRIBUTES ( 67108864u32 ) ; pub const FILE_FLAG_BACKUP_SEMANTICS : FILE_FLAGS_AND_ATTRIBUTES = FILE_FLAGS_AND_ATTRIBUTES ( 33554432u32 ) ; pub const FILE_FLAG_POSIX_SEMANTICS : FILE_FLAGS_AND_ATTRIBUTES = FILE_FLAGS_AND_ATTRIBUTES ( 16777216u32 ) ; pub const FILE_FLAG_SESSION_AWARE : FILE_FLAGS_AND_ATTRIBUTES = FILE_FLAGS_AND_ATTRIBUTES ( 8388608u32 ) ; pub const FILE_FLAG_OPEN_REPARSE_POINT : FILE_FLAGS_AND_ATTRIBUTES = FILE_FLAGS_AND_ATTRIBUTES ( 2097152u32 ) ; pub const FILE_FLAG_OPEN_NO_RECALL : FILE_FLAGS_AND_ATTRIBUTES = FILE_FLAGS_AND_ATTRIBUTES ( 1048576u32 ) ; pub const FILE_FLAG_FIRST_PIPE_INSTANCE : FILE_FLAGS_AND_ATTRIBUTES = FILE_FLAGS_AND_ATTRIBUTES ( 524288u32 ) ; pub const SECURITY_ANONYMOUS : FILE_FLAGS_AND_ATTRIBUTES = FILE_FLAGS_AND_ATTRIBUTES ( 0u32 ) ; pub const SECURITY_IDENTIFICATION : FILE_FLAGS_AND_ATTRIBUTES = FILE_FLAGS_AND_ATTRIBUTES ( 65536u32 ) ; pub const SECURITY_IMPERSONATION : FILE_FLAGS_AND_ATTRIBUTES = FILE_FLAGS_AND_ATTRIBUTES ( 131072u32 ) ; pub const SECURITY_DELEGATION : FILE_FLAGS_AND_ATTRIBUTES = FILE_FLAGS_AND_ATTRIBUTES ( 196608u32 ) ; pub const SECURITY_CONTEXT_TRACKING : FILE_FLAGS_AND_ATTRIBUTES = FILE_FLAGS_AND_ATTRIBUTES ( 262144u32 ) ; pub const SECURITY_EFFECTIVE_ONLY : FILE_FLAGS_AND_ATTRIBUTES = FILE_FLAGS_AND_ATTRIBUTES ( 524288u32 ) ; pub const SECURITY_SQOS_PRESENT : FILE_FLAGS_AND_ATTRIBUTES = FILE_FLAGS_AND_ATTRIBUTES ( 1048576u32 ) ; pub const SECURITY_VALID_SQOS_FLAGS : FILE_FLAGS_AND_ATTRIBUTES = FILE_FLAGS_AND_ATTRIBUTES ( 2031616u32 ) ; impl :: std :: convert :: From < u32 > for FILE_FLAGS_AND_ATTRIBUTES { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for FILE_FLAGS_AND_ATTRIBUTES { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for FILE_FLAGS_AND_ATTRIBUTES { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for FILE_FLAGS_AND_ATTRIBUTES { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for FILE_FLAGS_AND_ATTRIBUTES { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for FILE_FLAGS_AND_ATTRIBUTES { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct FILE_FULL_DIR_INFO { pub NextEntryOffset : u32 , pub FileIndex : u32 , pub CreationTime : i64 , pub LastAccessTime : i64 , pub LastWriteTime : i64 , pub ChangeTime : i64 , pub EndOfFile : i64 , pub AllocationSize : i64 , pub FileAttributes : u32 , pub FileNameLength : u32 , pub EaSize : u32 , pub FileName : [ u16 ;1 ] } impl FILE_FULL_DIR_INFO { } impl :: std :: default :: Default for FILE_FULL_DIR_INFO { fn default ( ) -> Self { Self { NextEntryOffset : 0 , FileIndex : 0 , CreationTime : 0 , LastAccessTime : 0 , LastWriteTime : 0 , ChangeTime : 0 , EndOfFile : 0 , AllocationSize : 0 , FileAttributes : 0 , FileNameLength : 0 , EaSize : 0 , FileName : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for FILE_FULL_DIR_INFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "FILE_FULL_DIR_INFO" ) . field ( "NextEntryOffset" , & self . NextEntryOffset ) . field ( "FileIndex" , & self . FileIndex ) . field ( "CreationTime" , & self . CreationTime ) . field ( "LastAccessTime" , & self . LastAccessTime ) . field ( "LastWriteTime" , & self . LastWriteTime ) . field ( "ChangeTime" , & self . ChangeTime ) . field ( "EndOfFile" , & self . EndOfFile ) . field ( "AllocationSize" , & self . AllocationSize ) . field ( "FileAttributes" , & self . FileAttributes ) . field ( "FileNameLength" , & self . FileNameLength ) . field ( "EaSize" , & self . EaSize ) . field ( "FileName" , & self . FileName ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FILE_FULL_DIR_INFO { fn eq ( & self , other : & Self ) -> bool { self . NextEntryOffset == other . NextEntryOffset && self . FileIndex == other . FileIndex && self . CreationTime == other . CreationTime && self . LastAccessTime == other . LastAccessTime && self . LastWriteTime == other . LastWriteTime && self . ChangeTime == other . ChangeTime && self . EndOfFile == other . EndOfFile && self . AllocationSize == other . AllocationSize && self . FileAttributes == other . FileAttributes && self . FileNameLength == other . FileNameLength && self . EaSize == other . EaSize && self . FileName == other . FileName } } impl :: std :: cmp :: Eq for FILE_FULL_DIR_INFO { } unsafe impl :: windows :: Abi for FILE_FULL_DIR_INFO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct FILE_ID_128 { pub Identifier : [ u8 ;16 ] } impl FILE_ID_128 { } impl :: std :: default :: Default for FILE_ID_128 { fn default ( ) -> Self { Self { Identifier : [ 0 ;16 ] } } } impl :: std :: fmt :: Debug for FILE_ID_128 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "FILE_ID_128" ) . field ( "Identifier" , & self . Identifier ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FILE_ID_128 { fn eq ( & self , other : & Self ) -> bool { self . Identifier == other . Identifier } } impl :: std :: cmp :: Eq for FILE_ID_128 { } unsafe impl :: windows :: Abi for FILE_ID_128 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct FILE_ID_BOTH_DIR_INFO { pub NextEntryOffset : u32 , pub FileIndex : u32 , pub CreationTime : i64 , pub LastAccessTime : i64 , pub LastWriteTime : i64 , pub ChangeTime : i64 , pub EndOfFile : i64 , pub AllocationSize : i64 , pub FileAttributes : u32 , pub FileNameLength : u32 , pub EaSize : u32 , pub ShortNameLength : i8 , pub ShortName : [ u16 ;12 ] , pub FileId : i64 , pub FileName : [ u16 ;1 ] } impl FILE_ID_BOTH_DIR_INFO { } impl :: std :: default :: Default for FILE_ID_BOTH_DIR_INFO { fn default ( ) -> Self { Self { NextEntryOffset : 0 , FileIndex : 0 , CreationTime : 0 , LastAccessTime : 0 , LastWriteTime : 0 , ChangeTime : 0 , EndOfFile : 0 , AllocationSize : 0 , FileAttributes : 0 , FileNameLength : 0 , EaSize : 0 , ShortNameLength : 0 , ShortName : [ 0 ;12 ] , FileId : 0 , FileName : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for FILE_ID_BOTH_DIR_INFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "FILE_ID_BOTH_DIR_INFO" ) . field ( "NextEntryOffset" , & self . NextEntryOffset ) . field ( "FileIndex" , & self . FileIndex ) . field ( "CreationTime" , & self . CreationTime ) . field ( "LastAccessTime" , & self . LastAccessTime ) . field ( "LastWriteTime" , & self . LastWriteTime ) . field ( "ChangeTime" , & self . ChangeTime ) . field ( "EndOfFile" , & self . EndOfFile ) . field ( "AllocationSize" , & self . AllocationSize ) . field ( "FileAttributes" , & self . FileAttributes ) . field ( "FileNameLength" , & self . FileNameLength ) . field ( "EaSize" , & self . EaSize ) . field ( "ShortNameLength" , & self . ShortNameLength ) . field ( "ShortName" , & self . ShortName ) . field ( "FileId" , & self . FileId ) . field ( "FileName" , & self . FileName ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FILE_ID_BOTH_DIR_INFO { fn eq ( & self , other : & Self ) -> bool { self . NextEntryOffset == other . NextEntryOffset && self . FileIndex == other . FileIndex && self . CreationTime == other . CreationTime && self . LastAccessTime == other . LastAccessTime && self . LastWriteTime == other . LastWriteTime && self . ChangeTime == other . ChangeTime && self . EndOfFile == other . EndOfFile && self . AllocationSize == other . AllocationSize && self . FileAttributes == other . FileAttributes && self . FileNameLength == other . FileNameLength && self . EaSize == other . EaSize && self . ShortNameLength == other . ShortNameLength && self . ShortName == other . ShortName && self . FileId == other . FileId && self . FileName == other . FileName } } impl :: std :: cmp :: Eq for FILE_ID_BOTH_DIR_INFO { } unsafe impl :: windows :: Abi for FILE_ID_BOTH_DIR_INFO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct FILE_ID_DESCRIPTOR { pub dwSize : u32 , pub Type : FILE_ID_TYPE , pub Anonymous : FILE_ID_DESCRIPTOR_0 } impl FILE_ID_DESCRIPTOR { } impl :: std :: cmp :: PartialEq for FILE_ID_DESCRIPTOR { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for FILE_ID_DESCRIPTOR { } unsafe impl :: windows :: Abi for FILE_ID_DESCRIPTOR { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union FILE_ID_DESCRIPTOR_0 { pub FileId : i64 , pub ObjectId : :: windows :: Guid , pub ExtendedFileId : FILE_ID_128 } impl FILE_ID_DESCRIPTOR_0 { } impl :: std :: cmp :: PartialEq for FILE_ID_DESCRIPTOR_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for FILE_ID_DESCRIPTOR_0 { } unsafe impl :: windows :: Abi for FILE_ID_DESCRIPTOR_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct FILE_ID_EXTD_DIR_INFO { pub NextEntryOffset : u32 , pub FileIndex : u32 , pub CreationTime : i64 , pub LastAccessTime : i64 , pub LastWriteTime : i64 , pub ChangeTime : i64 , pub EndOfFile : i64 , pub AllocationSize : i64 , pub FileAttributes : u32 , pub FileNameLength : u32 , pub EaSize : u32 , pub ReparsePointTag : u32 , pub FileId : FILE_ID_128 , pub FileName : [ u16 ;1 ] } impl FILE_ID_EXTD_DIR_INFO { } impl :: std :: default :: Default for FILE_ID_EXTD_DIR_INFO { fn default ( ) -> Self { Self { NextEntryOffset : 0 , FileIndex : 0 , CreationTime : 0 , LastAccessTime : 0 , LastWriteTime : 0 , ChangeTime : 0 , EndOfFile : 0 , AllocationSize : 0 , FileAttributes : 0 , FileNameLength : 0 , EaSize : 0 , ReparsePointTag : 0 , FileId : :: std :: default :: Default :: default ( ) , FileName : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for FILE_ID_EXTD_DIR_INFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "FILE_ID_EXTD_DIR_INFO" ) . field ( "NextEntryOffset" , & self . NextEntryOffset ) . field ( "FileIndex" , & self . FileIndex ) . field ( "CreationTime" , & self . CreationTime ) . field ( "LastAccessTime" , & self . LastAccessTime ) . field ( "LastWriteTime" , & self . LastWriteTime ) . field ( "ChangeTime" , & self . ChangeTime ) . field ( "EndOfFile" , & self . EndOfFile ) . field ( "AllocationSize" , & self . AllocationSize ) . field ( "FileAttributes" , & self . FileAttributes ) . field ( "FileNameLength" , & self . FileNameLength ) . field ( "EaSize" , & self . EaSize ) . field ( "ReparsePointTag" , & self . ReparsePointTag ) . field ( "FileId" , & self . FileId ) . field ( "FileName" , & self . FileName ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FILE_ID_EXTD_DIR_INFO { fn eq ( & self , other : & Self ) -> bool { self . NextEntryOffset == other . NextEntryOffset && self . FileIndex == other . FileIndex && self . CreationTime == other . CreationTime && self . LastAccessTime == other . LastAccessTime && self . LastWriteTime == other . LastWriteTime && self . ChangeTime == other . ChangeTime && self . EndOfFile == other . EndOfFile && self . AllocationSize == other . AllocationSize && self . FileAttributes == other . FileAttributes && self . FileNameLength == other . FileNameLength && self . EaSize == other . EaSize && self . ReparsePointTag == other . ReparsePointTag && self . FileId == other . FileId && self . FileName == other . FileName } } impl :: std :: cmp :: Eq for FILE_ID_EXTD_DIR_INFO { } unsafe impl :: windows :: Abi for FILE_ID_EXTD_DIR_INFO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct FILE_ID_INFO { pub VolumeSerialNumber : u64 , pub FileId : FILE_ID_128 } impl FILE_ID_INFO { } impl :: std :: default :: Default for FILE_ID_INFO { fn default ( ) -> Self { Self { VolumeSerialNumber : 0 , FileId : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for FILE_ID_INFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "FILE_ID_INFO" ) . field ( "VolumeSerialNumber" , & self . VolumeSerialNumber ) . field ( "FileId" , & self . FileId ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FILE_ID_INFO { fn eq ( & self , other : & Self ) -> bool { self . VolumeSerialNumber == other . VolumeSerialNumber && self . FileId == other . FileId } } impl :: std :: cmp :: Eq for FILE_ID_INFO { } unsafe impl :: windows :: Abi for FILE_ID_INFO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct FILE_ID_TYPE ( pub i32 ) ; pub const FileIdType : FILE_ID_TYPE = FILE_ID_TYPE ( 0i32 ) ; pub const ObjectIdType : FILE_ID_TYPE = FILE_ID_TYPE ( 1i32 ) ; pub const ExtendedFileIdType : FILE_ID_TYPE = FILE_ID_TYPE ( 2i32 ) ; pub const MaximumFileIdType : FILE_ID_TYPE = FILE_ID_TYPE ( 3i32 ) ; impl :: std :: convert :: From < i32 > for FILE_ID_TYPE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for FILE_ID_TYPE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct FILE_INFO_2 { pub fi2_id : u32 } impl FILE_INFO_2 { } impl :: std :: default :: Default for FILE_INFO_2 { fn default ( ) -> Self { Self { fi2_id : 0 } } } impl :: std :: fmt :: Debug for FILE_INFO_2 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "FILE_INFO_2" ) . field ( "fi2_id" , & self . fi2_id ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FILE_INFO_2 { fn eq ( & self , other : & Self ) -> bool { self . fi2_id == other . fi2_id } } impl :: std :: cmp :: Eq for FILE_INFO_2 { } unsafe impl :: windows :: Abi for FILE_INFO_2 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct FILE_INFO_3 { pub fi3_id : u32 , pub fi3_permissions : FILE_INFO_FLAGS_PERMISSIONS , pub fi3_num_locks : u32 , pub fi3_pathname : super::super::Foundation:: PWSTR , pub fi3_username : super::super::Foundation:: PWSTR } impl FILE_INFO_3 { } impl :: std :: default :: Default for FILE_INFO_3 { fn default ( ) -> Self { Self { fi3_id : 0 , fi3_permissions : :: std :: default :: Default :: default ( ) , fi3_num_locks : 0 , fi3_pathname : :: std :: default :: Default :: default ( ) , fi3_username : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for FILE_INFO_3 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "FILE_INFO_3" ) . field ( "fi3_id" , & self . fi3_id ) . field ( "fi3_permissions" , & self . fi3_permissions ) . field ( "fi3_num_locks" , & self . fi3_num_locks ) . field ( "fi3_pathname" , & self . fi3_pathname ) . field ( "fi3_username" , & self . fi3_username ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FILE_INFO_3 { fn eq ( & self , other : & Self ) -> bool { self . fi3_id == other . fi3_id && self . fi3_permissions == other . fi3_permissions && self . fi3_num_locks == other . fi3_num_locks && self . fi3_pathname == other . fi3_pathname && self . fi3_username == other . fi3_username } } impl :: std :: cmp :: Eq for FILE_INFO_3 { } unsafe impl :: windows :: Abi for FILE_INFO_3 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct FILE_INFO_BY_HANDLE_CLASS ( pub i32 ) ; pub const FileBasicInfo : FILE_INFO_BY_HANDLE_CLASS = FILE_INFO_BY_HANDLE_CLASS ( 0i32 ) ; pub const FileStandardInfo : FILE_INFO_BY_HANDLE_CLASS = FILE_INFO_BY_HANDLE_CLASS ( 1i32 ) ; pub const FileNameInfo : FILE_INFO_BY_HANDLE_CLASS = FILE_INFO_BY_HANDLE_CLASS ( 2i32 ) ; pub const FileRenameInfo : FILE_INFO_BY_HANDLE_CLASS = FILE_INFO_BY_HANDLE_CLASS ( 3i32 ) ; pub const FileDispositionInfo : FILE_INFO_BY_HANDLE_CLASS = FILE_INFO_BY_HANDLE_CLASS ( 4i32 ) ; pub const FileAllocationInfo : FILE_INFO_BY_HANDLE_CLASS = FILE_INFO_BY_HANDLE_CLASS ( 5i32 ) ; pub const FileEndOfFileInfo : FILE_INFO_BY_HANDLE_CLASS = FILE_INFO_BY_HANDLE_CLASS ( 6i32 ) ; pub const FileStreamInfo : FILE_INFO_BY_HANDLE_CLASS = FILE_INFO_BY_HANDLE_CLASS ( 7i32 ) ; pub const FileCompressionInfo : FILE_INFO_BY_HANDLE_CLASS = FILE_INFO_BY_HANDLE_CLASS ( 8i32 ) ; pub const FileAttributeTagInfo : FILE_INFO_BY_HANDLE_CLASS = FILE_INFO_BY_HANDLE_CLASS ( 9i32 ) ; pub const FileIdBothDirectoryInfo : FILE_INFO_BY_HANDLE_CLASS = FILE_INFO_BY_HANDLE_CLASS ( 10i32 ) ; pub const FileIdBothDirectoryRestartInfo : FILE_INFO_BY_HANDLE_CLASS = FILE_INFO_BY_HANDLE_CLASS ( 11i32 ) ; pub const FileIoPriorityHintInfo : FILE_INFO_BY_HANDLE_CLASS = FILE_INFO_BY_HANDLE_CLASS ( 12i32 ) ; pub const FileRemoteProtocolInfo : FILE_INFO_BY_HANDLE_CLASS = FILE_INFO_BY_HANDLE_CLASS ( 13i32 ) ; pub const FileFullDirectoryInfo : FILE_INFO_BY_HANDLE_CLASS = FILE_INFO_BY_HANDLE_CLASS ( 14i32 ) ; pub const FileFullDirectoryRestartInfo : FILE_INFO_BY_HANDLE_CLASS = FILE_INFO_BY_HANDLE_CLASS ( 15i32 ) ; pub const FileStorageInfo : FILE_INFO_BY_HANDLE_CLASS = FILE_INFO_BY_HANDLE_CLASS ( 16i32 ) ; pub const FileAlignmentInfo : FILE_INFO_BY_HANDLE_CLASS = FILE_INFO_BY_HANDLE_CLASS ( 17i32 ) ; pub const FileIdInfo : FILE_INFO_BY_HANDLE_CLASS = FILE_INFO_BY_HANDLE_CLASS ( 18i32 ) ; pub const FileIdExtdDirectoryInfo : FILE_INFO_BY_HANDLE_CLASS = FILE_INFO_BY_HANDLE_CLASS ( 19i32 ) ; pub const FileIdExtdDirectoryRestartInfo : FILE_INFO_BY_HANDLE_CLASS = FILE_INFO_BY_HANDLE_CLASS ( 20i32 ) ; pub const FileDispositionInfoEx : FILE_INFO_BY_HANDLE_CLASS = FILE_INFO_BY_HANDLE_CLASS ( 21i32 ) ; pub const FileRenameInfoEx : FILE_INFO_BY_HANDLE_CLASS = FILE_INFO_BY_HANDLE_CLASS ( 22i32 ) ; pub const FileCaseSensitiveInfo : FILE_INFO_BY_HANDLE_CLASS = FILE_INFO_BY_HANDLE_CLASS ( 23i32 ) ; pub const FileNormalizedNameInfo : FILE_INFO_BY_HANDLE_CLASS = FILE_INFO_BY_HANDLE_CLASS ( 24i32 ) ; pub const MaximumFileInfoByHandleClass : FILE_INFO_BY_HANDLE_CLASS = FILE_INFO_BY_HANDLE_CLASS ( 25i32 ) ; impl :: std :: convert :: From < i32 > for FILE_INFO_BY_HANDLE_CLASS { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for FILE_INFO_BY_HANDLE_CLASS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct FILE_INFO_FLAGS_PERMISSIONS ( pub u32 ) ; pub const PERM_FILE_READ : FILE_INFO_FLAGS_PERMISSIONS = FILE_INFO_FLAGS_PERMISSIONS ( 1u32 ) ; pub const PERM_FILE_WRITE : FILE_INFO_FLAGS_PERMISSIONS = FILE_INFO_FLAGS_PERMISSIONS ( 2u32 ) ; pub const PERM_FILE_CREATE : FILE_INFO_FLAGS_PERMISSIONS = FILE_INFO_FLAGS_PERMISSIONS ( 4u32 ) ; impl :: std :: convert :: From < u32 > for FILE_INFO_FLAGS_PERMISSIONS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for FILE_INFO_FLAGS_PERMISSIONS { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for FILE_INFO_FLAGS_PERMISSIONS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for FILE_INFO_FLAGS_PERMISSIONS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for FILE_INFO_FLAGS_PERMISSIONS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for FILE_INFO_FLAGS_PERMISSIONS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct FILE_IO_PRIORITY_HINT_INFO { pub PriorityHint : PRIORITY_HINT } impl FILE_IO_PRIORITY_HINT_INFO { } impl :: std :: default :: Default for FILE_IO_PRIORITY_HINT_INFO { fn default ( ) -> Self { Self { PriorityHint : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for FILE_IO_PRIORITY_HINT_INFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "FILE_IO_PRIORITY_HINT_INFO" ) . field ( "PriorityHint" , & self . PriorityHint ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FILE_IO_PRIORITY_HINT_INFO { fn eq ( & self , other : & Self ) -> bool { self . PriorityHint == other . PriorityHint } } impl :: std :: cmp :: Eq for FILE_IO_PRIORITY_HINT_INFO { } unsafe impl :: windows :: Abi for FILE_IO_PRIORITY_HINT_INFO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct FILE_LEVEL_TRIM { pub Key : u32 , pub NumRanges : u32 , pub Ranges : [ FILE_LEVEL_TRIM_RANGE ;1 ] } impl FILE_LEVEL_TRIM { } impl :: std :: default :: Default for FILE_LEVEL_TRIM { fn default ( ) -> Self { Self { Key : 0 , NumRanges : 0 , Ranges : [ :: std :: default :: Default :: default ( ) ;1 ] } } } impl :: std :: fmt :: Debug for FILE_LEVEL_TRIM { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "FILE_LEVEL_TRIM" ) . field ( "Key" , & self . Key ) . field ( "NumRanges" , & self . NumRanges ) . field ( "Ranges" , & self . Ranges ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FILE_LEVEL_TRIM { fn eq ( & self , other : & Self ) -> bool { self . Key == other . Key && self . NumRanges == other . NumRanges && self . Ranges == other . Ranges } } impl :: std :: cmp :: Eq for FILE_LEVEL_TRIM { } unsafe impl :: windows :: Abi for FILE_LEVEL_TRIM { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct FILE_LEVEL_TRIM_OUTPUT { pub NumRangesProcessed : u32 } impl FILE_LEVEL_TRIM_OUTPUT { } impl :: std :: default :: Default for FILE_LEVEL_TRIM_OUTPUT { fn default ( ) -> Self { Self { NumRangesProcessed : 0 } } } impl :: std :: fmt :: Debug for FILE_LEVEL_TRIM_OUTPUT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "FILE_LEVEL_TRIM_OUTPUT" ) . field ( "NumRangesProcessed" , & self . NumRangesProcessed ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FILE_LEVEL_TRIM_OUTPUT { fn eq ( & self , other : & Self ) -> bool { self . NumRangesProcessed == other . NumRangesProcessed } } impl :: std :: cmp :: Eq for FILE_LEVEL_TRIM_OUTPUT { } unsafe impl :: windows :: Abi for FILE_LEVEL_TRIM_OUTPUT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct FILE_LEVEL_TRIM_RANGE { pub Offset : u64 , pub Length : u64 } impl FILE_LEVEL_TRIM_RANGE { } impl :: std :: default :: Default for FILE_LEVEL_TRIM_RANGE { fn default ( ) -> Self { Self { Offset : 0 , Length : 0 } } } impl :: std :: fmt :: Debug for FILE_LEVEL_TRIM_RANGE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "FILE_LEVEL_TRIM_RANGE" ) . field ( "Offset" , & self . Offset ) . field ( "Length" , & self . Length ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FILE_LEVEL_TRIM_RANGE { fn eq ( & self , other : & Self ) -> bool { self . Offset == other . Offset && self . Length == other . Length } } impl :: std :: cmp :: Eq for FILE_LEVEL_TRIM_RANGE { } unsafe impl :: windows :: Abi for FILE_LEVEL_TRIM_RANGE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct FILE_MAKE_COMPATIBLE_BUFFER { pub CloseDisc : u8 } impl FILE_MAKE_COMPATIBLE_BUFFER { } impl :: std :: default :: Default for FILE_MAKE_COMPATIBLE_BUFFER { fn default ( ) -> Self { Self { CloseDisc : 0 } } } impl :: std :: fmt :: Debug for FILE_MAKE_COMPATIBLE_BUFFER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "FILE_MAKE_COMPATIBLE_BUFFER" ) . field ( "CloseDisc" , & self . CloseDisc ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FILE_MAKE_COMPATIBLE_BUFFER { fn eq ( & self , other : & Self ) -> bool { self . CloseDisc == other . CloseDisc } } impl :: std :: cmp :: Eq for FILE_MAKE_COMPATIBLE_BUFFER { } unsafe impl :: windows :: Abi for FILE_MAKE_COMPATIBLE_BUFFER { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct FILE_NAME ( pub u32 ) ; pub const FILE_NAME_NORMALIZED : FILE_NAME = FILE_NAME ( 0u32 ) ; pub const FILE_NAME_OPENED : FILE_NAME = FILE_NAME ( 8u32 ) ; impl :: std :: convert :: From < u32 > for FILE_NAME { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for FILE_NAME { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for FILE_NAME { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for FILE_NAME { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for FILE_NAME { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for FILE_NAME { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct FILE_NAME_INFO { pub FileNameLength : u32 , pub FileName : [ u16 ;1 ] } impl FILE_NAME_INFO { } impl :: std :: default :: Default for FILE_NAME_INFO { fn default ( ) -> Self { Self { FileNameLength : 0 , FileName : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for FILE_NAME_INFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "FILE_NAME_INFO" ) . field ( "FileNameLength" , & self . FileNameLength ) . field ( "FileName" , & self . FileName ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FILE_NAME_INFO { fn eq ( & self , other : & Self ) -> bool { self . FileNameLength == other . FileNameLength && self . FileName == other . FileName } } impl :: std :: cmp :: Eq for FILE_NAME_INFO { } unsafe impl :: windows :: Abi for FILE_NAME_INFO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct FILE_NOTIFY_CHANGE ( pub u32 ) ; pub const FILE_NOTIFY_CHANGE_FILE_NAME : FILE_NOTIFY_CHANGE = FILE_NOTIFY_CHANGE ( 1u32 ) ; pub const FILE_NOTIFY_CHANGE_DIR_NAME : FILE_NOTIFY_CHANGE = FILE_NOTIFY_CHANGE ( 2u32 ) ; pub const FILE_NOTIFY_CHANGE_ATTRIBUTES : FILE_NOTIFY_CHANGE = FILE_NOTIFY_CHANGE ( 4u32 ) ; pub const FILE_NOTIFY_CHANGE_SIZE : FILE_NOTIFY_CHANGE = FILE_NOTIFY_CHANGE ( 8u32 ) ; pub const FILE_NOTIFY_CHANGE_LAST_WRITE : FILE_NOTIFY_CHANGE = FILE_NOTIFY_CHANGE ( 16u32 ) ; pub const FILE_NOTIFY_CHANGE_LAST_ACCESS : FILE_NOTIFY_CHANGE = FILE_NOTIFY_CHANGE ( 32u32 ) ; pub const FILE_NOTIFY_CHANGE_CREATION : FILE_NOTIFY_CHANGE = FILE_NOTIFY_CHANGE ( 64u32 ) ; pub const FILE_NOTIFY_CHANGE_SECURITY : FILE_NOTIFY_CHANGE = FILE_NOTIFY_CHANGE ( 256u32 ) ; impl :: std :: convert :: From < u32 > for FILE_NOTIFY_CHANGE { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for FILE_NOTIFY_CHANGE { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for FILE_NOTIFY_CHANGE { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for FILE_NOTIFY_CHANGE { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for FILE_NOTIFY_CHANGE { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for FILE_NOTIFY_CHANGE { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct FILE_NOTIFY_EXTENDED_INFORMATION { pub NextEntryOffset : u32 , pub Action : FILE_ACTION , pub CreationTime : i64 , pub LastModificationTime : i64 , pub LastChangeTime : i64 , pub LastAccessTime : i64 , pub AllocatedLength : i64 , pub FileSize : i64 , pub FileAttributes : u32 , pub ReparsePointTag : u32 , pub FileId : i64 , pub ParentFileId : i64 , pub FileNameLength : u32 , pub FileName : [ u16 ;1 ] } impl FILE_NOTIFY_EXTENDED_INFORMATION { } impl :: std :: default :: Default for FILE_NOTIFY_EXTENDED_INFORMATION { fn default ( ) -> Self { Self { NextEntryOffset : 0 , Action : :: std :: default :: Default :: default ( ) , CreationTime : 0 , LastModificationTime : 0 , LastChangeTime : 0 , LastAccessTime : 0 , AllocatedLength : 0 , FileSize : 0 , FileAttributes : 0 , ReparsePointTag : 0 , FileId : 0 , ParentFileId : 0 , FileNameLength : 0 , FileName : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for FILE_NOTIFY_EXTENDED_INFORMATION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "FILE_NOTIFY_EXTENDED_INFORMATION" ) . field ( "NextEntryOffset" , & self . NextEntryOffset ) . field ( "Action" , & self . Action ) . field ( "CreationTime" , & self . CreationTime ) . field ( "LastModificationTime" , & self . LastModificationTime ) . field ( "LastChangeTime" , & self . LastChangeTime ) . field ( "LastAccessTime" , & self . LastAccessTime ) . field ( "AllocatedLength" , & self . AllocatedLength ) . field ( "FileSize" , & self . FileSize ) . field ( "FileAttributes" , & self . FileAttributes ) . field ( "ReparsePointTag" , & self . ReparsePointTag ) . field ( "FileId" , & self . FileId ) . field ( "ParentFileId" , & self . ParentFileId ) . field ( "FileNameLength" , & self . FileNameLength ) . field ( "FileName" , & self . FileName ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FILE_NOTIFY_EXTENDED_INFORMATION { fn eq ( & self , other : & Self ) -> bool { self . NextEntryOffset == other . NextEntryOffset && self . Action == other . Action && self . CreationTime == other . CreationTime && self . LastModificationTime == other . LastModificationTime && self . LastChangeTime == other . LastChangeTime && self . LastAccessTime == other . LastAccessTime && self . AllocatedLength == other . AllocatedLength && self . FileSize == other . FileSize && self . FileAttributes == other . FileAttributes && self . ReparsePointTag == other . ReparsePointTag && self . FileId == other . FileId && self . ParentFileId == other . ParentFileId && self . FileNameLength == other . FileNameLength && self . FileName == other . FileName } } impl :: std :: cmp :: Eq for FILE_NOTIFY_EXTENDED_INFORMATION { } unsafe impl :: windows :: Abi for FILE_NOTIFY_EXTENDED_INFORMATION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct FILE_NOTIFY_INFORMATION { pub NextEntryOffset : u32 , pub Action : FILE_ACTION , pub FileNameLength : u32 , pub FileName : [ u16 ;1 ] } impl FILE_NOTIFY_INFORMATION { } impl :: std :: default :: Default for FILE_NOTIFY_INFORMATION { fn default ( ) -> Self { Self { NextEntryOffset : 0 , Action : :: std :: default :: Default :: default ( ) , FileNameLength : 0 , FileName : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for FILE_NOTIFY_INFORMATION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "FILE_NOTIFY_INFORMATION" ) . field ( "NextEntryOffset" , & self . NextEntryOffset ) . field ( "Action" , & self . Action ) . field ( "FileNameLength" , & self . FileNameLength ) . field ( "FileName" , & self . FileName ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FILE_NOTIFY_INFORMATION { fn eq ( & self , other : & Self ) -> bool { self . NextEntryOffset == other . NextEntryOffset && self . Action == other . Action && self . FileNameLength == other . FileNameLength && self . FileName == other . FileName } } impl :: std :: cmp :: Eq for FILE_NOTIFY_INFORMATION { } unsafe impl :: windows :: Abi for FILE_NOTIFY_INFORMATION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct FILE_OBJECTID_BUFFER { pub ObjectId : [ u8 ;16 ] , pub Anonymous : FILE_OBJECTID_BUFFER_0 } impl FILE_OBJECTID_BUFFER { } impl :: std :: cmp :: PartialEq for FILE_OBJECTID_BUFFER { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for FILE_OBJECTID_BUFFER { } unsafe impl :: windows :: Abi for FILE_OBJECTID_BUFFER { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union FILE_OBJECTID_BUFFER_0 { pub Anonymous : FILE_OBJECTID_BUFFER_0_0 , pub ExtendedInfo : [ u8 ;48 ] } impl FILE_OBJECTID_BUFFER_0 { } impl :: std :: cmp :: PartialEq for FILE_OBJECTID_BUFFER_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for FILE_OBJECTID_BUFFER_0 { } unsafe impl :: windows :: Abi for FILE_OBJECTID_BUFFER_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct FILE_OBJECTID_BUFFER_0_0 { pub BirthVolumeId : [ u8 ;16 ] , pub BirthObjectId : [ u8 ;16 ] , pub DomainId : [ u8 ;16 ] } impl FILE_OBJECTID_BUFFER_0_0 { } impl :: std :: default :: Default for FILE_OBJECTID_BUFFER_0_0 { fn default ( ) -> Self { Self { BirthVolumeId : [ 0 ;16 ] , BirthObjectId : [ 0 ;16 ] , DomainId : [ 0 ;16 ] } } } impl :: std :: fmt :: Debug for FILE_OBJECTID_BUFFER_0_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Anonymous_e__Struct" ) . field ( "BirthVolumeId" , & self . BirthVolumeId ) . field ( "BirthObjectId" , & self . BirthObjectId ) . field ( "DomainId" , & self . DomainId ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FILE_OBJECTID_BUFFER_0_0 { fn eq ( & self , other : & Self ) -> bool { self . BirthVolumeId == other . BirthVolumeId && self . BirthObjectId == other . BirthObjectId && self . DomainId == other . DomainId } } impl :: std :: cmp :: Eq for FILE_OBJECTID_BUFFER_0_0 { } unsafe impl :: windows :: Abi for FILE_OBJECTID_BUFFER_0_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct FILE_QUERY_ON_DISK_VOL_INFO_BUFFER { pub DirectoryCount : i64 , pub FileCount : i64 , pub FsFormatMajVersion : u16 , pub FsFormatMinVersion : u16 , pub FsFormatName : [ u16 ;12 ] , pub FormatTime : i64 , pub LastUpdateTime : i64 , pub CopyrightInfo : [ u16 ;34 ] , pub AbstractInfo : [ u16 ;34 ] , pub FormattingImplementationInfo : [ u16 ;34 ] , pub LastModifyingImplementationInfo : [ u16 ;34 ] } impl FILE_QUERY_ON_DISK_VOL_INFO_BUFFER { } impl :: std :: default :: Default for FILE_QUERY_ON_DISK_VOL_INFO_BUFFER { fn default ( ) -> Self { Self { DirectoryCount : 0 , FileCount : 0 , FsFormatMajVersion : 0 , FsFormatMinVersion : 0 , FsFormatName : [ 0 ;12 ] , FormatTime : 0 , LastUpdateTime : 0 , CopyrightInfo : [ 0 ;34 ] , AbstractInfo : [ 0 ;34 ] , FormattingImplementationInfo : [ 0 ;34 ] , LastModifyingImplementationInfo : [ 0 ;34 ] } } } impl :: std :: fmt :: Debug for FILE_QUERY_ON_DISK_VOL_INFO_BUFFER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "FILE_QUERY_ON_DISK_VOL_INFO_BUFFER" ) . field ( "DirectoryCount" , & self . DirectoryCount ) . field ( "FileCount" , & self . FileCount ) . field ( "FsFormatMajVersion" , & self . FsFormatMajVersion ) . field ( "FsFormatMinVersion" , & self . FsFormatMinVersion ) . field ( "FsFormatName" , & self . FsFormatName ) . field ( "FormatTime" , & self . FormatTime ) . field ( "LastUpdateTime" , & self . LastUpdateTime ) . field ( "CopyrightInfo" , & self . CopyrightInfo ) . field ( "AbstractInfo" , & self . AbstractInfo ) . field ( "FormattingImplementationInfo" , & self . FormattingImplementationInfo ) . field ( "LastModifyingImplementationInfo" , & self . LastModifyingImplementationInfo ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FILE_QUERY_ON_DISK_VOL_INFO_BUFFER { fn eq ( & self , other : & Self ) -> bool { self . DirectoryCount == other . DirectoryCount && self . FileCount == other . FileCount && self . FsFormatMajVersion == other . FsFormatMajVersion && self . FsFormatMinVersion == other . FsFormatMinVersion && self . FsFormatName == other . FsFormatName && self . FormatTime == other . FormatTime && self . LastUpdateTime == other . LastUpdateTime && self . CopyrightInfo == other . CopyrightInfo && self . AbstractInfo == other . AbstractInfo && self . FormattingImplementationInfo == other . FormattingImplementationInfo && self . LastModifyingImplementationInfo == other . LastModifyingImplementationInfo } } impl :: std :: cmp :: Eq for FILE_QUERY_ON_DISK_VOL_INFO_BUFFER { } unsafe impl :: windows :: Abi for FILE_QUERY_ON_DISK_VOL_INFO_BUFFER { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct FILE_QUERY_SPARING_BUFFER { pub SparingUnitBytes : u32 , pub SoftwareSparing : u8 , pub TotalSpareBlocks : u32 , pub FreeSpareBlocks : u32 } impl FILE_QUERY_SPARING_BUFFER { } impl :: std :: default :: Default for FILE_QUERY_SPARING_BUFFER { fn default ( ) -> Self { Self { SparingUnitBytes : 0 , SoftwareSparing : 0 , TotalSpareBlocks : 0 , FreeSpareBlocks : 0 } } } impl :: std :: fmt :: Debug for FILE_QUERY_SPARING_BUFFER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "FILE_QUERY_SPARING_BUFFER" ) . field ( "SparingUnitBytes" , & self . SparingUnitBytes ) . field ( "SoftwareSparing" , & self . SoftwareSparing ) . field ( "TotalSpareBlocks" , & self . TotalSpareBlocks ) . field ( "FreeSpareBlocks" , & self . FreeSpareBlocks ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FILE_QUERY_SPARING_BUFFER { fn eq ( & self , other : & Self ) -> bool { self . SparingUnitBytes == other . SparingUnitBytes && self . SoftwareSparing == other . SoftwareSparing && self . TotalSpareBlocks == other . TotalSpareBlocks && self . FreeSpareBlocks == other . FreeSpareBlocks } } impl :: std :: cmp :: Eq for FILE_QUERY_SPARING_BUFFER { } unsafe impl :: windows :: Abi for FILE_QUERY_SPARING_BUFFER { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct FILE_REMOTE_PROTOCOL_INFO { pub StructureVersion : u16 , pub StructureSize : u16 , pub Protocol : u32 , pub ProtocolMajorVersion : u16 , pub ProtocolMinorVersion : u16 , pub ProtocolRevision : u16 , pub Reserved : u16 , pub Flags : u32 , pub GenericReserved : FILE_REMOTE_PROTOCOL_INFO_0 , pub ProtocolSpecific : FILE_REMOTE_PROTOCOL_INFO_1 } impl FILE_REMOTE_PROTOCOL_INFO { } impl :: std :: cmp :: PartialEq for FILE_REMOTE_PROTOCOL_INFO { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for FILE_REMOTE_PROTOCOL_INFO { } unsafe impl :: windows :: Abi for FILE_REMOTE_PROTOCOL_INFO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct FILE_REMOTE_PROTOCOL_INFO_0 { pub Reserved : [ u32 ;8 ] } impl FILE_REMOTE_PROTOCOL_INFO_0 { } impl :: std :: default :: Default for FILE_REMOTE_PROTOCOL_INFO_0 { fn default ( ) -> Self { Self { Reserved : [ 0 ;8 ] } } } impl :: std :: fmt :: Debug for FILE_REMOTE_PROTOCOL_INFO_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_GenericReserved_e__Struct" ) . field ( "Reserved" , & self . Reserved ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FILE_REMOTE_PROTOCOL_INFO_0 { fn eq ( & self , other : & Self ) -> bool { self . Reserved == other . Reserved } } impl :: std :: cmp :: Eq for FILE_REMOTE_PROTOCOL_INFO_0 { } unsafe impl :: windows :: Abi for FILE_REMOTE_PROTOCOL_INFO_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union FILE_REMOTE_PROTOCOL_INFO_1 { pub Smb2 : FILE_REMOTE_PROTOCOL_INFO_1_0 , pub Reserved : [ u32 ;16 ] } impl FILE_REMOTE_PROTOCOL_INFO_1 { } impl :: std :: cmp :: PartialEq for FILE_REMOTE_PROTOCOL_INFO_1 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for FILE_REMOTE_PROTOCOL_INFO_1 { } unsafe impl :: windows :: Abi for FILE_REMOTE_PROTOCOL_INFO_1 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct FILE_REMOTE_PROTOCOL_INFO_1_0 { pub Server : FILE_REMOTE_PROTOCOL_INFO_1_0_0 , pub Share : FILE_REMOTE_PROTOCOL_INFO_1_0_1 } impl FILE_REMOTE_PROTOCOL_INFO_1_0 { } impl :: std :: default :: Default for FILE_REMOTE_PROTOCOL_INFO_1_0 { fn default ( ) -> Self { Self { Server : :: std :: default :: Default :: default ( ) , Share : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for FILE_REMOTE_PROTOCOL_INFO_1_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Smb2_e__Struct" ) . field ( "Server" , & self . Server ) . field ( "Share" , & self . Share ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FILE_REMOTE_PROTOCOL_INFO_1_0 { fn eq ( & self , other : & Self ) -> bool { self . Server == other . Server && self . Share == other . Share } } impl :: std :: cmp :: Eq for FILE_REMOTE_PROTOCOL_INFO_1_0 { } unsafe impl :: windows :: Abi for FILE_REMOTE_PROTOCOL_INFO_1_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct FILE_REMOTE_PROTOCOL_INFO_1_0_0 { pub Capabilities : u32 } impl FILE_REMOTE_PROTOCOL_INFO_1_0_0 { } impl :: std :: default :: Default for FILE_REMOTE_PROTOCOL_INFO_1_0_0 { fn default ( ) -> Self { Self { Capabilities : 0 } } } impl :: std :: fmt :: Debug for FILE_REMOTE_PROTOCOL_INFO_1_0_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Server_e__Struct" ) . field ( "Capabilities" , & self . Capabilities ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FILE_REMOTE_PROTOCOL_INFO_1_0_0 { fn eq ( & self , other : & Self ) -> bool { self . Capabilities == other . Capabilities } } impl :: std :: cmp :: Eq for FILE_REMOTE_PROTOCOL_INFO_1_0_0 { } unsafe impl :: windows :: Abi for FILE_REMOTE_PROTOCOL_INFO_1_0_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct FILE_REMOTE_PROTOCOL_INFO_1_0_1 { pub Capabilities : u32 , pub CachingFlags : u32 } impl FILE_REMOTE_PROTOCOL_INFO_1_0_1 { } impl :: std :: default :: Default for FILE_REMOTE_PROTOCOL_INFO_1_0_1 { fn default ( ) -> Self { Self { Capabilities : 0 , CachingFlags : 0 } } } impl :: std :: fmt :: Debug for FILE_REMOTE_PROTOCOL_INFO_1_0_1 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Share_e__Struct" ) . field ( "Capabilities" , & self . Capabilities ) . field ( "CachingFlags" , & self . CachingFlags ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FILE_REMOTE_PROTOCOL_INFO_1_0_1 { fn eq ( & self , other : & Self ) -> bool { self . Capabilities == other . Capabilities && self . CachingFlags == other . CachingFlags } } impl :: std :: cmp :: Eq for FILE_REMOTE_PROTOCOL_INFO_1_0_1 { } unsafe impl :: windows :: Abi for FILE_REMOTE_PROTOCOL_INFO_1_0_1 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct FILE_RENAME_INFO { pub Anonymous : FILE_RENAME_INFO_0 , pub RootDirectory : super::super::Foundation:: HANDLE , pub FileNameLength : u32 , pub FileName : [ u16 ;1 ] } impl FILE_RENAME_INFO { } impl :: std :: cmp :: PartialEq for FILE_RENAME_INFO { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for FILE_RENAME_INFO { } unsafe impl :: windows :: Abi for FILE_RENAME_INFO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union FILE_RENAME_INFO_0 { pub ReplaceIfExists : u8 , pub Flags : u32 } impl FILE_RENAME_INFO_0 { } impl :: std :: cmp :: PartialEq for FILE_RENAME_INFO_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for FILE_RENAME_INFO_0 { } unsafe impl :: windows :: Abi for FILE_RENAME_INFO_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct FILE_SET_DEFECT_MGMT_BUFFER { pub Disable : u8 } impl FILE_SET_DEFECT_MGMT_BUFFER { } impl :: std :: default :: Default for FILE_SET_DEFECT_MGMT_BUFFER { fn default ( ) -> Self { Self { Disable : 0 } } } impl :: std :: fmt :: Debug for FILE_SET_DEFECT_MGMT_BUFFER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "FILE_SET_DEFECT_MGMT_BUFFER" ) . field ( "Disable" , & self . Disable ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FILE_SET_DEFECT_MGMT_BUFFER { fn eq ( & self , other : & Self ) -> bool { self . Disable == other . Disable } } impl :: std :: cmp :: Eq for FILE_SET_DEFECT_MGMT_BUFFER { } unsafe impl :: windows :: Abi for FILE_SET_DEFECT_MGMT_BUFFER { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct FILE_SET_SPARSE_BUFFER { pub SetSparse : u8 } impl FILE_SET_SPARSE_BUFFER { } impl :: std :: default :: Default for FILE_SET_SPARSE_BUFFER { fn default ( ) -> Self { Self { SetSparse : 0 } } } impl :: std :: fmt :: Debug for FILE_SET_SPARSE_BUFFER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "FILE_SET_SPARSE_BUFFER" ) . field ( "SetSparse" , & self . SetSparse ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FILE_SET_SPARSE_BUFFER { fn eq ( & self , other : & Self ) -> bool { self . SetSparse == other . SetSparse } } impl :: std :: cmp :: Eq for FILE_SET_SPARSE_BUFFER { } unsafe impl :: windows :: Abi for FILE_SET_SPARSE_BUFFER { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct FILE_SHARE_MODE ( pub u32 ) ; pub const FILE_SHARE_NONE : FILE_SHARE_MODE = FILE_SHARE_MODE ( 0u32 ) ; pub const FILE_SHARE_DELETE : FILE_SHARE_MODE = FILE_SHARE_MODE ( 4u32 ) ; pub const FILE_SHARE_READ : FILE_SHARE_MODE = FILE_SHARE_MODE ( 1u32 ) ; pub const FILE_SHARE_WRITE : FILE_SHARE_MODE = FILE_SHARE_MODE ( 2u32 ) ; impl :: std :: convert :: From < u32 > for FILE_SHARE_MODE { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for FILE_SHARE_MODE { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for FILE_SHARE_MODE { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for FILE_SHARE_MODE { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for FILE_SHARE_MODE { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for FILE_SHARE_MODE { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct FILE_STANDARD_INFO { pub AllocationSize : i64 , pub EndOfFile : i64 , pub NumberOfLinks : u32 , pub DeletePending : u8 , pub Directory : u8 } impl FILE_STANDARD_INFO { } impl :: std :: default :: Default for FILE_STANDARD_INFO { fn default ( ) -> Self { Self { AllocationSize : 0 , EndOfFile : 0 , NumberOfLinks : 0 , DeletePending : 0 , Directory : 0 } } } impl :: std :: fmt :: Debug for FILE_STANDARD_INFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "FILE_STANDARD_INFO" ) . field ( "AllocationSize" , & self . AllocationSize ) . field ( "EndOfFile" , & self . EndOfFile ) . field ( "NumberOfLinks" , & self . NumberOfLinks ) . field ( "DeletePending" , & self . DeletePending ) . field ( "Directory" , & self . Directory ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FILE_STANDARD_INFO { fn eq ( & self , other : & Self ) -> bool { self . AllocationSize == other . AllocationSize && self . EndOfFile == other . EndOfFile && self . NumberOfLinks == other . NumberOfLinks && self . DeletePending == other . DeletePending && self . Directory == other . Directory } } impl :: std :: cmp :: Eq for FILE_STANDARD_INFO { } unsafe impl :: windows :: Abi for FILE_STANDARD_INFO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct FILE_STORAGE_INFO { pub LogicalBytesPerSector : u32 , pub PhysicalBytesPerSectorForAtomicity : u32 , pub PhysicalBytesPerSectorForPerformance : u32 , pub FileSystemEffectivePhysicalBytesPerSectorForAtomicity : u32 , pub Flags : u32 , pub ByteOffsetForSectorAlignment : u32 , pub ByteOffsetForPartitionAlignment : u32 } impl FILE_STORAGE_INFO { } impl :: std :: default :: Default for FILE_STORAGE_INFO { fn default ( ) -> Self { Self { LogicalBytesPerSector : 0 , PhysicalBytesPerSectorForAtomicity : 0 , PhysicalBytesPerSectorForPerformance : 0 , FileSystemEffectivePhysicalBytesPerSectorForAtomicity : 0 , Flags : 0 , ByteOffsetForSectorAlignment : 0 , ByteOffsetForPartitionAlignment : 0 } } } impl :: std :: fmt :: Debug for FILE_STORAGE_INFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "FILE_STORAGE_INFO" ) . field ( "LogicalBytesPerSector" , & self . LogicalBytesPerSector ) . field ( "PhysicalBytesPerSectorForAtomicity" , & self . PhysicalBytesPerSectorForAtomicity ) . field ( "PhysicalBytesPerSectorForPerformance" , & self . PhysicalBytesPerSectorForPerformance ) . field ( "FileSystemEffectivePhysicalBytesPerSectorForAtomicity" , & self . FileSystemEffectivePhysicalBytesPerSectorForAtomicity ) . field ( "Flags" , & self . Flags ) . field ( "ByteOffsetForSectorAlignment" , & self . ByteOffsetForSectorAlignment ) . field ( "ByteOffsetForPartitionAlignment" , & self . ByteOffsetForPartitionAlignment ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FILE_STORAGE_INFO { fn eq ( & self , other : & Self ) -> bool { self . LogicalBytesPerSector == other . LogicalBytesPerSector && self . PhysicalBytesPerSectorForAtomicity == other . PhysicalBytesPerSectorForAtomicity && self . PhysicalBytesPerSectorForPerformance == other . PhysicalBytesPerSectorForPerformance && self . FileSystemEffectivePhysicalBytesPerSectorForAtomicity == other . FileSystemEffectivePhysicalBytesPerSectorForAtomicity && self . Flags == other . Flags && self . ByteOffsetForSectorAlignment == other . ByteOffsetForSectorAlignment && self . ByteOffsetForPartitionAlignment == other . ByteOffsetForPartitionAlignment } } impl :: std :: cmp :: Eq for FILE_STORAGE_INFO { } unsafe impl :: windows :: Abi for FILE_STORAGE_INFO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct FILE_STORAGE_TIER { pub Id : :: windows :: Guid , pub Name : [ u16 ;256 ] , pub Description : [ u16 ;256 ] , pub Flags : FILE_STORAGE_TIER_FLAGS , pub ProvisionedCapacity : u64 , pub MediaType : FILE_STORAGE_TIER_MEDIA_TYPE , pub Class : super::super::System::SystemServices:: FILE_STORAGE_TIER_CLASS } impl FILE_STORAGE_TIER { } impl :: std :: default :: Default for FILE_STORAGE_TIER { fn default ( ) -> Self { Self { Id : :: std :: default :: Default :: default ( ) , Name : [ 0 ;256 ] , Description : [ 0 ;256 ] , Flags : :: std :: default :: Default :: default ( ) , ProvisionedCapacity : 0 , MediaType : :: std :: default :: Default :: default ( ) , Class : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for FILE_STORAGE_TIER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "FILE_STORAGE_TIER" ) . field ( "Id" , & self . Id ) . field ( "Name" , & self . Name ) . field ( "Description" , & self . Description ) . field ( "Flags" , & self . Flags ) . field ( "ProvisionedCapacity" , & self . ProvisionedCapacity ) . field ( "MediaType" , & self . MediaType ) . field ( "Class" , & self . Class ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FILE_STORAGE_TIER { fn eq ( & self , other : & Self ) -> bool { self . Id == other . Id && self . Name == other . Name && self . Description == other . Description && self . Flags == other . Flags && self . ProvisionedCapacity == other . ProvisionedCapacity && self . MediaType == other . MediaType && self . Class == other . Class } } impl :: std :: cmp :: Eq for FILE_STORAGE_TIER { } unsafe impl :: windows :: Abi for FILE_STORAGE_TIER { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct FILE_STORAGE_TIER_FLAGS ( pub u32 ) ; pub const FILE_STORAGE_TIER_FLAG_NO_SEEK_PENALTY : FILE_STORAGE_TIER_FLAGS = FILE_STORAGE_TIER_FLAGS ( 131072u32 ) ; impl :: std :: convert :: From < u32 > for FILE_STORAGE_TIER_FLAGS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for FILE_STORAGE_TIER_FLAGS { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for FILE_STORAGE_TIER_FLAGS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for FILE_STORAGE_TIER_FLAGS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for FILE_STORAGE_TIER_FLAGS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for FILE_STORAGE_TIER_FLAGS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct FILE_STORAGE_TIER_MEDIA_TYPE ( pub i32 ) ; pub const FileStorageTierMediaTypeUnspecified : FILE_STORAGE_TIER_MEDIA_TYPE = FILE_STORAGE_TIER_MEDIA_TYPE ( 0i32 ) ; pub const FileStorageTierMediaTypeDisk : FILE_STORAGE_TIER_MEDIA_TYPE = FILE_STORAGE_TIER_MEDIA_TYPE ( 1i32 ) ; pub const FileStorageTierMediaTypeSsd : FILE_STORAGE_TIER_MEDIA_TYPE = FILE_STORAGE_TIER_MEDIA_TYPE ( 2i32 ) ; pub const FileStorageTierMediaTypeScm : FILE_STORAGE_TIER_MEDIA_TYPE = FILE_STORAGE_TIER_MEDIA_TYPE ( 4i32 ) ; pub const FileStorageTierMediaTypeMax : FILE_STORAGE_TIER_MEDIA_TYPE = FILE_STORAGE_TIER_MEDIA_TYPE ( 5i32 ) ; impl :: std :: convert :: From < i32 > for FILE_STORAGE_TIER_MEDIA_TYPE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for FILE_STORAGE_TIER_MEDIA_TYPE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct FILE_STORAGE_TIER_REGION { pub TierId : :: windows :: Guid , pub Offset : u64 , pub Length : u64 } impl FILE_STORAGE_TIER_REGION { } impl :: std :: default :: Default for FILE_STORAGE_TIER_REGION { fn default ( ) -> Self { Self { TierId : :: std :: default :: Default :: default ( ) , Offset : 0 , Length : 0 } } } impl :: std :: fmt :: Debug for FILE_STORAGE_TIER_REGION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "FILE_STORAGE_TIER_REGION" ) . field ( "TierId" , & self . TierId ) . field ( "Offset" , & self . Offset ) . field ( "Length" , & self . Length ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FILE_STORAGE_TIER_REGION { fn eq ( & self , other : & Self ) -> bool { self . TierId == other . TierId && self . Offset == other . Offset && self . Length == other . Length } } impl :: std :: cmp :: Eq for FILE_STORAGE_TIER_REGION { } unsafe impl :: windows :: Abi for FILE_STORAGE_TIER_REGION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct FILE_STREAM_INFO { pub NextEntryOffset : u32 , pub StreamNameLength : u32 , pub StreamSize : i64 , pub StreamAllocationSize : i64 , pub StreamName : [ u16 ;1 ] } impl FILE_STREAM_INFO { } impl :: std :: default :: Default for FILE_STREAM_INFO { fn default ( ) -> Self { Self { NextEntryOffset : 0 , StreamNameLength : 0 , StreamSize : 0 , StreamAllocationSize : 0 , StreamName : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for FILE_STREAM_INFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "FILE_STREAM_INFO" ) . field ( "NextEntryOffset" , & self . NextEntryOffset ) . field ( "StreamNameLength" , & self . StreamNameLength ) . field ( "StreamSize" , & self . StreamSize ) . field ( "StreamAllocationSize" , & self . StreamAllocationSize ) . field ( "StreamName" , & self . StreamName ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FILE_STREAM_INFO { fn eq ( & self , other : & Self ) -> bool { self . NextEntryOffset == other . NextEntryOffset && self . StreamNameLength == other . StreamNameLength && self . StreamSize == other . StreamSize && self . StreamAllocationSize == other . StreamAllocationSize && self . StreamName == other . StreamName } } impl :: std :: cmp :: Eq for FILE_STREAM_INFO { } unsafe impl :: windows :: Abi for FILE_STREAM_INFO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct FILE_SYSTEM_RECOGNITION_INFORMATION { pub FileSystem : [ super::super::System::SystemServices:: CHAR ;9 ] } impl FILE_SYSTEM_RECOGNITION_INFORMATION { } impl :: std :: default :: Default for FILE_SYSTEM_RECOGNITION_INFORMATION { fn default ( ) -> Self { Self { FileSystem : [ :: std :: default :: Default :: default ( ) ;9 ] } } } impl :: std :: fmt :: Debug for FILE_SYSTEM_RECOGNITION_INFORMATION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "FILE_SYSTEM_RECOGNITION_INFORMATION" ) . field ( "FileSystem" , & self . FileSystem ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FILE_SYSTEM_RECOGNITION_INFORMATION { fn eq ( & self , other : & Self ) -> bool { self . FileSystem == other . FileSystem } } impl :: std :: cmp :: Eq for FILE_SYSTEM_RECOGNITION_INFORMATION { } unsafe impl :: windows :: Abi for FILE_SYSTEM_RECOGNITION_INFORMATION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct FILE_ZERO_DATA_INFORMATION { pub FileOffset : i64 , pub BeyondFinalZero : i64 } impl FILE_ZERO_DATA_INFORMATION { } impl :: std :: default :: Default for FILE_ZERO_DATA_INFORMATION { fn default ( ) -> Self { Self { FileOffset : 0 , BeyondFinalZero : 0 } } } impl :: std :: fmt :: Debug for FILE_ZERO_DATA_INFORMATION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "FILE_ZERO_DATA_INFORMATION" ) . field ( "FileOffset" , & self . FileOffset ) . field ( "BeyondFinalZero" , & self . BeyondFinalZero ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FILE_ZERO_DATA_INFORMATION { fn eq ( & self , other : & Self ) -> bool { self . FileOffset == other . FileOffset && self . BeyondFinalZero == other . BeyondFinalZero } } impl :: std :: cmp :: Eq for FILE_ZERO_DATA_INFORMATION { } unsafe impl :: windows :: Abi for FILE_ZERO_DATA_INFORMATION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct FINDEX_INFO_LEVELS ( pub i32 ) ; pub const FindExInfoStandard : FINDEX_INFO_LEVELS = FINDEX_INFO_LEVELS ( 0i32 ) ; pub const FindExInfoBasic : FINDEX_INFO_LEVELS = FINDEX_INFO_LEVELS ( 1i32 ) ; pub const FindExInfoMaxInfoLevel : FINDEX_INFO_LEVELS = FINDEX_INFO_LEVELS ( 2i32 ) ; impl :: std :: convert :: From < i32 > for FINDEX_INFO_LEVELS { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for FINDEX_INFO_LEVELS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct FINDEX_SEARCH_OPS ( pub i32 ) ; pub const FindExSearchNameMatch : FINDEX_SEARCH_OPS = FINDEX_SEARCH_OPS ( 0i32 ) ; pub const FindExSearchLimitToDirectories : FINDEX_SEARCH_OPS = FINDEX_SEARCH_OPS ( 1i32 ) ; pub const FindExSearchLimitToDevices : FINDEX_SEARCH_OPS = FINDEX_SEARCH_OPS ( 2i32 ) ; pub const FindExSearchMaxSearchOp : FINDEX_SEARCH_OPS = FINDEX_SEARCH_OPS ( 3i32 ) ; impl :: std :: convert :: From < i32 > for FINDEX_SEARCH_OPS { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for FINDEX_SEARCH_OPS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct FIND_BY_SID_DATA { pub Restart : u32 , pub Sid : super::super::Security:: SID } impl FIND_BY_SID_DATA { } impl :: std :: default :: Default for FIND_BY_SID_DATA { fn default ( ) -> Self { Self { Restart : 0 , Sid : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for FIND_BY_SID_DATA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "FIND_BY_SID_DATA" ) . field ( "Restart" , & self . Restart ) . field ( "Sid" , & self . Sid ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FIND_BY_SID_DATA { fn eq ( & self , other : & Self ) -> bool { self . Restart == other . Restart && self . Sid == other . Sid } } impl :: std :: cmp :: Eq for FIND_BY_SID_DATA { } unsafe impl :: windows :: Abi for FIND_BY_SID_DATA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct FIND_BY_SID_OUTPUT { pub NextEntryOffset : u32 , pub FileIndex : u32 , pub FileNameLength : u32 , pub FileName : [ u16 ;1 ] } impl FIND_BY_SID_OUTPUT { } impl :: std :: default :: Default for FIND_BY_SID_OUTPUT { fn default ( ) -> Self { Self { NextEntryOffset : 0 , FileIndex : 0 , FileNameLength : 0 , FileName : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for FIND_BY_SID_OUTPUT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "FIND_BY_SID_OUTPUT" ) . field ( "NextEntryOffset" , & self . NextEntryOffset ) . field ( "FileIndex" , & self . FileIndex ) . field ( "FileNameLength" , & self . FileNameLength ) . field ( "FileName" , & self . FileName ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FIND_BY_SID_OUTPUT { fn eq ( & self , other : & Self ) -> bool { self . NextEntryOffset == other . NextEntryOffset && self . FileIndex == other . FileIndex && self . FileNameLength == other . FileNameLength && self . FileName == other . FileName } } impl :: std :: cmp :: Eq for FIND_BY_SID_OUTPUT { } unsafe impl :: windows :: Abi for FIND_BY_SID_OUTPUT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct FIND_FIRST_EX_FLAGS ( pub u32 ) ; pub const FIND_FIRST_EX_CASE_SENSITIVE : FIND_FIRST_EX_FLAGS = FIND_FIRST_EX_FLAGS ( 1u32 ) ; pub const FIND_FIRST_EX_LARGE_FETCH : FIND_FIRST_EX_FLAGS = FIND_FIRST_EX_FLAGS ( 2u32 ) ; pub const FIND_FIRST_EX_ON_DISK_ENTRIES_ONLY : FIND_FIRST_EX_FLAGS = FIND_FIRST_EX_FLAGS ( 4u32 ) ; impl :: std :: convert :: From < u32 > for FIND_FIRST_EX_FLAGS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for FIND_FIRST_EX_FLAGS { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for FIND_FIRST_EX_FLAGS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for FIND_FIRST_EX_FLAGS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for FIND_FIRST_EX_FLAGS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for FIND_FIRST_EX_FLAGS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct FORMAT_EX_PARAMETERS { pub MediaType : MEDIA_TYPE , pub StartCylinderNumber : u32 , pub EndCylinderNumber : u32 , pub StartHeadNumber : u32 , pub EndHeadNumber : u32 , pub FormatGapLength : u16 , pub SectorsPerTrack : u16 , pub SectorNumber : [ u16 ;1 ] } impl FORMAT_EX_PARAMETERS { } impl :: std :: default :: Default for FORMAT_EX_PARAMETERS { fn default ( ) -> Self { Self { MediaType : :: std :: default :: Default :: default ( ) , StartCylinderNumber : 0 , EndCylinderNumber : 0 , StartHeadNumber : 0 , EndHeadNumber : 0 , FormatGapLength : 0 , SectorsPerTrack : 0 , SectorNumber : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for FORMAT_EX_PARAMETERS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "FORMAT_EX_PARAMETERS" ) . field ( "MediaType" , & self . MediaType ) . field ( "StartCylinderNumber" , & self . StartCylinderNumber ) . field ( "EndCylinderNumber" , & self . EndCylinderNumber ) . field ( "StartHeadNumber" , & self . StartHeadNumber ) . field ( "EndHeadNumber" , & self . EndHeadNumber ) . field ( "FormatGapLength" , & self . FormatGapLength ) . field ( "SectorsPerTrack" , & self . SectorsPerTrack ) . field ( "SectorNumber" , & self . SectorNumber ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FORMAT_EX_PARAMETERS { fn eq ( & self , other : & Self ) -> bool { self . MediaType == other . MediaType && self . StartCylinderNumber == other . StartCylinderNumber && self . EndCylinderNumber == other . EndCylinderNumber && self . StartHeadNumber == other . StartHeadNumber && self . EndHeadNumber == other . EndHeadNumber && self . FormatGapLength == other . FormatGapLength && self . SectorsPerTrack == other . SectorsPerTrack && self . SectorNumber == other . SectorNumber } } impl :: std :: cmp :: Eq for FORMAT_EX_PARAMETERS { } unsafe impl :: windows :: Abi for FORMAT_EX_PARAMETERS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct FORMAT_PARAMETERS { pub MediaType : MEDIA_TYPE , pub StartCylinderNumber : u32 , pub EndCylinderNumber : u32 , pub StartHeadNumber : u32 , pub EndHeadNumber : u32 } impl FORMAT_PARAMETERS { } impl :: std :: default :: Default for FORMAT_PARAMETERS { fn default ( ) -> Self { Self { MediaType : :: std :: default :: Default :: default ( ) , StartCylinderNumber : 0 , EndCylinderNumber : 0 , StartHeadNumber : 0 , EndHeadNumber : 0 } } } impl :: std :: fmt :: Debug for FORMAT_PARAMETERS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "FORMAT_PARAMETERS" ) . field ( "MediaType" , & self . MediaType ) . field ( "StartCylinderNumber" , & self . StartCylinderNumber ) . field ( "EndCylinderNumber" , & self . EndCylinderNumber ) . field ( "StartHeadNumber" , & self . StartHeadNumber ) . field ( "EndHeadNumber" , & self . EndHeadNumber ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FORMAT_PARAMETERS { fn eq ( & self , other : & Self ) -> bool { self . MediaType == other . MediaType && self . StartCylinderNumber == other . StartCylinderNumber && self . EndCylinderNumber == other . EndCylinderNumber && self . StartHeadNumber == other . StartHeadNumber && self . EndHeadNumber == other . EndHeadNumber } } impl :: std :: cmp :: Eq for FORMAT_PARAMETERS { } unsafe impl :: windows :: Abi for FORMAT_PARAMETERS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct FSCTL_GET_INTEGRITY_INFORMATION_BUFFER { pub ChecksumAlgorithm : u16 , pub Reserved : u16 , pub Flags : u32 , pub ChecksumChunkSizeInBytes : u32 , pub ClusterSizeInBytes : u32 } impl FSCTL_GET_INTEGRITY_INFORMATION_BUFFER { } impl :: std :: default :: Default for FSCTL_GET_INTEGRITY_INFORMATION_BUFFER { fn default ( ) -> Self { Self { ChecksumAlgorithm : 0 , Reserved : 0 , Flags : 0 , ChecksumChunkSizeInBytes : 0 , ClusterSizeInBytes : 0 } } } impl :: std :: fmt :: Debug for FSCTL_GET_INTEGRITY_INFORMATION_BUFFER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "FSCTL_GET_INTEGRITY_INFORMATION_BUFFER" ) . field ( "ChecksumAlgorithm" , & self . ChecksumAlgorithm ) . field ( "Reserved" , & self . Reserved ) . field ( "Flags" , & self . Flags ) . field ( "ChecksumChunkSizeInBytes" , & self . ChecksumChunkSizeInBytes ) . field ( "ClusterSizeInBytes" , & self . ClusterSizeInBytes ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FSCTL_GET_INTEGRITY_INFORMATION_BUFFER { fn eq ( & self , other : & Self ) -> bool { self . ChecksumAlgorithm == other . ChecksumAlgorithm && self . Reserved == other . Reserved && self . Flags == other . Flags && self . ChecksumChunkSizeInBytes == other . ChecksumChunkSizeInBytes && self . ClusterSizeInBytes == other . ClusterSizeInBytes } } impl :: std :: cmp :: Eq for FSCTL_GET_INTEGRITY_INFORMATION_BUFFER { } unsafe impl :: windows :: Abi for FSCTL_GET_INTEGRITY_INFORMATION_BUFFER { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct FSCTL_QUERY_REGION_INFO_INPUT { pub Version : u32 , pub Size : u32 , pub Flags : u32 , pub NumberOfTierIds : u32 , pub TierIds : [ :: windows :: Guid ;1 ] } impl FSCTL_QUERY_REGION_INFO_INPUT { } impl :: std :: default :: Default for FSCTL_QUERY_REGION_INFO_INPUT { fn default ( ) -> Self { Self { Version : 0 , Size : 0 , Flags : 0 , NumberOfTierIds : 0 , TierIds : [ :: std :: default :: Default :: default ( ) ;1 ] } } } impl :: std :: fmt :: Debug for FSCTL_QUERY_REGION_INFO_INPUT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "FSCTL_QUERY_REGION_INFO_INPUT" ) . field ( "Version" , & self . Version ) . field ( "Size" , & self . Size ) . field ( "Flags" , & self . Flags ) . field ( "NumberOfTierIds" , & self . NumberOfTierIds ) . field ( "TierIds" , & self . TierIds ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FSCTL_QUERY_REGION_INFO_INPUT { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Size == other . Size && self . Flags == other . Flags && self . NumberOfTierIds == other . NumberOfTierIds && self . TierIds == other . TierIds } } impl :: std :: cmp :: Eq for FSCTL_QUERY_REGION_INFO_INPUT { } unsafe impl :: windows :: Abi for FSCTL_QUERY_REGION_INFO_INPUT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct FSCTL_QUERY_REGION_INFO_OUTPUT { pub Version : u32 , pub Size : u32 , pub Flags : u32 , pub Reserved : u32 , pub Alignment : u64 , pub TotalNumberOfRegions : u32 , pub NumberOfRegionsReturned : u32 , pub Regions : [ FILE_STORAGE_TIER_REGION ;1 ] } impl FSCTL_QUERY_REGION_INFO_OUTPUT { } impl :: std :: default :: Default for FSCTL_QUERY_REGION_INFO_OUTPUT { fn default ( ) -> Self { Self { Version : 0 , Size : 0 , Flags : 0 , Reserved : 0 , Alignment : 0 , TotalNumberOfRegions : 0 , NumberOfRegionsReturned : 0 , Regions : [ :: std :: default :: Default :: default ( ) ;1 ] } } } impl :: std :: fmt :: Debug for FSCTL_QUERY_REGION_INFO_OUTPUT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "FSCTL_QUERY_REGION_INFO_OUTPUT" ) . field ( "Version" , & self . Version ) . field ( "Size" , & self . Size ) . field ( "Flags" , & self . Flags ) . field ( "Reserved" , & self . Reserved ) . field ( "Alignment" , & self . Alignment ) . field ( "TotalNumberOfRegions" , & self . TotalNumberOfRegions ) . field ( "NumberOfRegionsReturned" , & self . NumberOfRegionsReturned ) . field ( "Regions" , & self . Regions ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FSCTL_QUERY_REGION_INFO_OUTPUT { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Size == other . Size && self . Flags == other . Flags && self . Reserved == other . Reserved && self . Alignment == other . Alignment && self . TotalNumberOfRegions == other . TotalNumberOfRegions && self . NumberOfRegionsReturned == other . NumberOfRegionsReturned && self . Regions == other . Regions } } impl :: std :: cmp :: Eq for FSCTL_QUERY_REGION_INFO_OUTPUT { } unsafe impl :: windows :: Abi for FSCTL_QUERY_REGION_INFO_OUTPUT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct FSCTL_QUERY_STORAGE_CLASSES_OUTPUT { pub Version : u32 , pub Size : u32 , pub Flags : FILE_STORAGE_TIER_FLAGS , pub TotalNumberOfTiers : u32 , pub NumberOfTiersReturned : u32 , pub Tiers : [ FILE_STORAGE_TIER ;1 ] } impl FSCTL_QUERY_STORAGE_CLASSES_OUTPUT { } impl :: std :: default :: Default for FSCTL_QUERY_STORAGE_CLASSES_OUTPUT { fn default ( ) -> Self { Self { Version : 0 , Size : 0 , Flags : :: std :: default :: Default :: default ( ) , TotalNumberOfTiers : 0 , NumberOfTiersReturned : 0 , Tiers : [ :: std :: default :: Default :: default ( ) ;1 ] } } } impl :: std :: fmt :: Debug for FSCTL_QUERY_STORAGE_CLASSES_OUTPUT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "FSCTL_QUERY_STORAGE_CLASSES_OUTPUT" ) . field ( "Version" , & self . Version ) . field ( "Size" , & self . Size ) . field ( "Flags" , & self . Flags ) . field ( "TotalNumberOfTiers" , & self . TotalNumberOfTiers ) . field ( "NumberOfTiersReturned" , & self . NumberOfTiersReturned ) . field ( "Tiers" , & self . Tiers ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FSCTL_QUERY_STORAGE_CLASSES_OUTPUT { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Size == other . Size && self . Flags == other . Flags && self . TotalNumberOfTiers == other . TotalNumberOfTiers && self . NumberOfTiersReturned == other . NumberOfTiersReturned && self . Tiers == other . Tiers } } impl :: std :: cmp :: Eq for FSCTL_QUERY_STORAGE_CLASSES_OUTPUT { } unsafe impl :: windows :: Abi for FSCTL_QUERY_STORAGE_CLASSES_OUTPUT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct FSCTL_SET_INTEGRITY_INFORMATION_BUFFER { pub ChecksumAlgorithm : u16 , pub Reserved : u16 , pub Flags : u32 } impl FSCTL_SET_INTEGRITY_INFORMATION_BUFFER { } impl :: std :: default :: Default for FSCTL_SET_INTEGRITY_INFORMATION_BUFFER { fn default ( ) -> Self { Self { ChecksumAlgorithm : 0 , Reserved : 0 , Flags : 0 } } } impl :: std :: fmt :: Debug for FSCTL_SET_INTEGRITY_INFORMATION_BUFFER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "FSCTL_SET_INTEGRITY_INFORMATION_BUFFER" ) . field ( "ChecksumAlgorithm" , & self . ChecksumAlgorithm ) . field ( "Reserved" , & self . Reserved ) . field ( "Flags" , & self . Flags ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FSCTL_SET_INTEGRITY_INFORMATION_BUFFER { fn eq ( & self , other : & Self ) -> bool { self . ChecksumAlgorithm == other . ChecksumAlgorithm && self . Reserved == other . Reserved && self . Flags == other . Flags } } impl :: std :: cmp :: Eq for FSCTL_SET_INTEGRITY_INFORMATION_BUFFER { } unsafe impl :: windows :: Abi for FSCTL_SET_INTEGRITY_INFORMATION_BUFFER { type Abi = Self ; type DefaultType = Self ; } pub unsafe fn FileEncryptionStatusA < 'a , > ( lpfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , lpstatus : * mut u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="ADVAPI32" ) ] extern "system" { fn FileEncryptionStatusA ( lpfilename : super::super::Foundation:: PSTR , lpstatus : * mut u32 ) -> super::super::Foundation:: BOOL ; } FileEncryptionStatusA ( lpfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpstatus ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn FileEncryptionStatusW < 'a , > ( lpfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , lpstatus : * mut u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="ADVAPI32" ) ] extern "system" { fn FileEncryptionStatusW ( lpfilename : super::super::Foundation:: PWSTR , lpstatus : * mut u32 ) -> super::super::Foundation:: BOOL ; } FileEncryptionStatusW ( lpfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpstatus ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn FileTimeToLocalFileTime < > ( lpfiletime : * const super::super::Foundation:: FILETIME , lplocalfiletime : * mut super::super::Foundation:: FILETIME , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn FileTimeToLocalFileTime ( lpfiletime : * const super::super::Foundation:: FILETIME , lplocalfiletime : * mut super::super::Foundation:: FILETIME ) -> super::super::Foundation:: BOOL ; } FileTimeToLocalFileTime ( :: std :: mem :: transmute ( lpfiletime ) , :: std :: mem :: transmute ( lplocalfiletime ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( transparent ) ] pub struct FindChangeNotificationHandle ( pub isize ) ; impl FindChangeNotificationHandle { } impl :: std :: default :: Default for FindChangeNotificationHandle { fn default ( ) -> Self { Self ( 0 ) } } impl FindChangeNotificationHandle { pub const NULL : Self = Self ( 0 ) ; pub fn is_null ( & self ) -> bool { self . 0 == 0 } } impl :: std :: fmt :: Debug for FindChangeNotificationHandle { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "FindChangeNotificationHandle" ) . field ( "Value" , & self .0 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FindChangeNotificationHandle { fn eq ( & self , other : & Self ) -> bool { self .0 == other .0 } } impl :: std :: cmp :: Eq for FindChangeNotificationHandle { } unsafe impl :: windows :: Abi for FindChangeNotificationHandle { type Abi = Self ; type DefaultType = Self ; } pub unsafe fn FindClose < 'a , > ( hfindfile : impl :: windows :: IntoParam < 'a , FindFileHandle > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn FindClose ( hfindfile : FindFileHandle ) -> super::super::Foundation:: BOOL ; } FindClose ( hfindfile . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn FindCloseChangeNotification < 'a , > ( hchangehandle : impl :: windows :: IntoParam < 'a , FindChangeNotificationHandle > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn FindCloseChangeNotification ( hchangehandle : FindChangeNotificationHandle ) -> super::super::Foundation:: BOOL ; } FindCloseChangeNotification ( hchangehandle . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( transparent ) ] pub struct FindFileHandle ( pub isize ) ; impl FindFileHandle { } impl :: std :: default :: Default for FindFileHandle { fn default ( ) -> Self { Self ( 0 ) } } impl FindFileHandle { pub const NULL : Self = Self ( 0 ) ; pub fn is_null ( & self ) -> bool { self . 0 == 0 } } impl :: std :: fmt :: Debug for FindFileHandle { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "FindFileHandle" ) . field ( "Value" , & self .0 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FindFileHandle { fn eq ( & self , other : & Self ) -> bool { self .0 == other .0 } } impl :: std :: cmp :: Eq for FindFileHandle { } unsafe impl :: windows :: Abi for FindFileHandle { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( transparent ) ] pub struct FindFileNameHandle ( pub isize ) ; impl FindFileNameHandle { } impl :: std :: default :: Default for FindFileNameHandle { fn default ( ) -> Self { Self ( 0 ) } } impl FindFileNameHandle { pub const NULL : Self = Self ( 0 ) ; pub fn is_null ( & self ) -> bool { self . 0 == 0 } } impl :: std :: fmt :: Debug for FindFileNameHandle { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "FindFileNameHandle" ) . field ( "Value" , & self .0 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FindFileNameHandle { fn eq ( & self , other : & Self ) -> bool { self .0 == other .0 } } impl :: std :: cmp :: Eq for FindFileNameHandle { } unsafe impl :: windows :: Abi for FindFileNameHandle { type Abi = Self ; type DefaultType = Self ; } pub unsafe fn FindFirstChangeNotificationA < 'a , > ( lppathname : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , bwatchsubtree : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , dwnotifyfilter : FILE_NOTIFY_CHANGE , ) -> FindChangeNotificationHandle { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn FindFirstChangeNotificationA ( lppathname : super::super::Foundation:: PSTR , bwatchsubtree : super::super::Foundation:: BOOL , dwnotifyfilter : FILE_NOTIFY_CHANGE ) -> FindChangeNotificationHandle ; } FindFirstChangeNotificationA ( lppathname . into_param ( ) . abi ( ) , bwatchsubtree . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwnotifyfilter ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn FindFirstChangeNotificationW < 'a , > ( lppathname : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , bwatchsubtree : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , dwnotifyfilter : FILE_NOTIFY_CHANGE , ) -> FindChangeNotificationHandle { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn FindFirstChangeNotificationW ( lppathname : super::super::Foundation:: PWSTR , bwatchsubtree : super::super::Foundation:: BOOL , dwnotifyfilter : FILE_NOTIFY_CHANGE ) -> FindChangeNotificationHandle ; } FindFirstChangeNotificationW ( lppathname . into_param ( ) . abi ( ) , bwatchsubtree . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwnotifyfilter ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn FindFirstFileA < 'a , > ( lpfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , lpfindfiledata : * mut WIN32_FIND_DATAA , ) -> FindFileHandle { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn FindFirstFileA ( lpfilename : super::super::Foundation:: PSTR , lpfindfiledata : * mut WIN32_FIND_DATAA ) -> FindFileHandle ; } FindFirstFileA ( lpfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpfindfiledata ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn FindFirstFileExA < 'a , > ( lpfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , finfolevelid : FINDEX_INFO_LEVELS , lpfindfiledata : * mut :: std :: ffi :: c_void , fsearchop : FINDEX_SEARCH_OPS , lpsearchfilter : * mut :: std :: ffi :: c_void , dwadditionalflags : FIND_FIRST_EX_FLAGS , ) -> FindFileHandle { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn FindFirstFileExA ( lpfilename : super::super::Foundation:: PSTR , finfolevelid : FINDEX_INFO_LEVELS , lpfindfiledata : * mut :: std :: ffi :: c_void , fsearchop : FINDEX_SEARCH_OPS , lpsearchfilter : * mut :: std :: ffi :: c_void , dwadditionalflags : FIND_FIRST_EX_FLAGS ) -> FindFileHandle ; } FindFirstFileExA ( lpfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( finfolevelid ) , :: std :: mem :: transmute ( lpfindfiledata ) , :: std :: mem :: transmute ( fsearchop ) , :: std :: mem :: transmute ( lpsearchfilter ) , :: std :: mem :: transmute ( dwadditionalflags ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn FindFirstFileExFromAppW < 'a , > ( lpfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , finfolevelid : FINDEX_INFO_LEVELS , lpfindfiledata : * mut :: std :: ffi :: c_void , fsearchop : FINDEX_SEARCH_OPS , lpsearchfilter : * mut :: std :: ffi :: c_void , dwadditionalflags : u32 , ) -> super::super::Foundation:: HANDLE { # [ cfg ( windows ) ] { # [ link ( name ="onecoreuap" ) ] extern "system" { fn FindFirstFileExFromAppW ( lpfilename : super::super::Foundation:: PWSTR , finfolevelid : FINDEX_INFO_LEVELS , lpfindfiledata : * mut :: std :: ffi :: c_void , fsearchop : FINDEX_SEARCH_OPS , lpsearchfilter : * mut :: std :: ffi :: c_void , dwadditionalflags : u32 ) -> super::super::Foundation:: HANDLE ; } FindFirstFileExFromAppW ( lpfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( finfolevelid ) , :: std :: mem :: transmute ( lpfindfiledata ) , :: std :: mem :: transmute ( fsearchop ) , :: std :: mem :: transmute ( lpsearchfilter ) , :: std :: mem :: transmute ( dwadditionalflags ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn FindFirstFileExW < 'a , > ( lpfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , finfolevelid : FINDEX_INFO_LEVELS , lpfindfiledata : * mut :: std :: ffi :: c_void , fsearchop : FINDEX_SEARCH_OPS , lpsearchfilter : * mut :: std :: ffi :: c_void , dwadditionalflags : FIND_FIRST_EX_FLAGS , ) -> FindFileHandle { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn FindFirstFileExW ( lpfilename : super::super::Foundation:: PWSTR , finfolevelid : FINDEX_INFO_LEVELS , lpfindfiledata : * mut :: std :: ffi :: c_void , fsearchop : FINDEX_SEARCH_OPS , lpsearchfilter : * mut :: std :: ffi :: c_void , dwadditionalflags : FIND_FIRST_EX_FLAGS ) -> FindFileHandle ; } FindFirstFileExW ( lpfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( finfolevelid ) , :: std :: mem :: transmute ( lpfindfiledata ) , :: std :: mem :: transmute ( fsearchop ) , :: std :: mem :: transmute ( lpsearchfilter ) , :: std :: mem :: transmute ( dwadditionalflags ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn FindFirstFileNameTransactedW < 'a , > ( lpfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , dwflags : u32 , stringlength : * mut u32 , linkname : super::super::Foundation:: PWSTR , htransaction : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , ) -> FindFileNameHandle { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn FindFirstFileNameTransactedW ( lpfilename : super::super::Foundation:: PWSTR , dwflags : u32 , stringlength : * mut u32 , linkname : super::super::Foundation:: PWSTR , htransaction : super::super::Foundation:: HANDLE ) -> FindFileNameHandle ; } FindFirstFileNameTransactedW ( lpfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwflags ) , :: std :: mem :: transmute ( stringlength ) , :: std :: mem :: transmute ( linkname ) , htransaction . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn FindFirstFileNameW < 'a , > ( lpfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , dwflags : u32 , stringlength : * mut u32 , linkname : super::super::Foundation:: PWSTR , ) -> FindFileNameHandle { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn FindFirstFileNameW ( lpfilename : super::super::Foundation:: PWSTR , dwflags : u32 , stringlength : * mut u32 , linkname : super::super::Foundation:: PWSTR ) -> FindFileNameHandle ; } FindFirstFileNameW ( lpfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwflags ) , :: std :: mem :: transmute ( stringlength ) , :: std :: mem :: transmute ( linkname ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn FindFirstFileTransactedA < 'a , > ( lpfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , finfolevelid : FINDEX_INFO_LEVELS , lpfindfiledata : * mut :: std :: ffi :: c_void , fsearchop : FINDEX_SEARCH_OPS , lpsearchfilter : * mut :: std :: ffi :: c_void , dwadditionalflags : u32 , htransaction : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , ) -> FindFileHandle { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn FindFirstFileTransactedA ( lpfilename : super::super::Foundation:: PSTR , finfolevelid : FINDEX_INFO_LEVELS , lpfindfiledata : * mut :: std :: ffi :: c_void , fsearchop : FINDEX_SEARCH_OPS , lpsearchfilter : * mut :: std :: ffi :: c_void , dwadditionalflags : u32 , htransaction : super::super::Foundation:: HANDLE ) -> FindFileHandle ; } FindFirstFileTransactedA ( lpfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( finfolevelid ) , :: std :: mem :: transmute ( lpfindfiledata ) , :: std :: mem :: transmute ( fsearchop ) , :: std :: mem :: transmute ( lpsearchfilter ) , :: std :: mem :: transmute ( dwadditionalflags ) , htransaction . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn FindFirstFileTransactedW < 'a , > ( lpfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , finfolevelid : FINDEX_INFO_LEVELS , lpfindfiledata : * mut :: std :: ffi :: c_void , fsearchop : FINDEX_SEARCH_OPS , lpsearchfilter : * mut :: std :: ffi :: c_void , dwadditionalflags : u32 , htransaction : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , ) -> FindFileHandle { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn FindFirstFileTransactedW ( lpfilename : super::super::Foundation:: PWSTR , finfolevelid : FINDEX_INFO_LEVELS , lpfindfiledata : * mut :: std :: ffi :: c_void , fsearchop : FINDEX_SEARCH_OPS , lpsearchfilter : * mut :: std :: ffi :: c_void , dwadditionalflags : u32 , htransaction : super::super::Foundation:: HANDLE ) -> FindFileHandle ; } FindFirstFileTransactedW ( lpfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( finfolevelid ) , :: std :: mem :: transmute ( lpfindfiledata ) , :: std :: mem :: transmute ( fsearchop ) , :: std :: mem :: transmute ( lpsearchfilter ) , :: std :: mem :: transmute ( dwadditionalflags ) , htransaction . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn FindFirstFileW < 'a , > ( lpfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , lpfindfiledata : * mut WIN32_FIND_DATAW , ) -> FindFileHandle { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn FindFirstFileW ( lpfilename : super::super::Foundation:: PWSTR , lpfindfiledata : * mut WIN32_FIND_DATAW ) -> FindFileHandle ; } FindFirstFileW ( lpfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpfindfiledata ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn FindFirstStreamTransactedW < 'a , > ( lpfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , infolevel : STREAM_INFO_LEVELS , lpfindstreamdata : * mut :: std :: ffi :: c_void , dwflags : u32 , htransaction : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , ) -> FindStreamHandle { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn FindFirstStreamTransactedW ( lpfilename : super::super::Foundation:: PWSTR , infolevel : STREAM_INFO_LEVELS , lpfindstreamdata : * mut :: std :: ffi :: c_void , dwflags : u32 , htransaction : super::super::Foundation:: HANDLE ) -> FindStreamHandle ; } FindFirstStreamTransactedW ( lpfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( infolevel ) , :: std :: mem :: transmute ( lpfindstreamdata ) , :: std :: mem :: transmute ( dwflags ) , htransaction . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn FindFirstStreamW < 'a , > ( lpfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , infolevel : STREAM_INFO_LEVELS , lpfindstreamdata : * mut :: std :: ffi :: c_void , dwflags : u32 , ) -> FindStreamHandle { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn FindFirstStreamW ( lpfilename : super::super::Foundation:: PWSTR , infolevel : STREAM_INFO_LEVELS , lpfindstreamdata : * mut :: std :: ffi :: c_void , dwflags : u32 ) -> FindStreamHandle ; } FindFirstStreamW ( lpfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( infolevel ) , :: std :: mem :: transmute ( lpfindstreamdata ) , :: std :: mem :: transmute ( dwflags ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn FindFirstVolumeA < > ( lpszvolumename : super::super::Foundation:: PSTR , cchbufferlength : u32 , ) -> FindVolumeHandle { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn FindFirstVolumeA ( lpszvolumename : super::super::Foundation:: PSTR , cchbufferlength : u32 ) -> FindVolumeHandle ; } FindFirstVolumeA ( :: std :: mem :: transmute ( lpszvolumename ) , :: std :: mem :: transmute ( cchbufferlength ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn FindFirstVolumeMountPointA < 'a , > ( lpszrootpathname : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , lpszvolumemountpoint : super::super::Foundation:: PSTR , cchbufferlength : u32 , ) -> FindVolumeMointPointHandle { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn FindFirstVolumeMountPointA ( lpszrootpathname : super::super::Foundation:: PSTR , lpszvolumemountpoint : super::super::Foundation:: PSTR , cchbufferlength : u32 ) -> FindVolumeMointPointHandle ; } FindFirstVolumeMountPointA ( lpszrootpathname . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpszvolumemountpoint ) , :: std :: mem :: transmute ( cchbufferlength ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn FindFirstVolumeMountPointW < 'a , > ( lpszrootpathname : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , lpszvolumemountpoint : super::super::Foundation:: PWSTR , cchbufferlength : u32 , ) -> FindVolumeMointPointHandle { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn FindFirstVolumeMountPointW ( lpszrootpathname : super::super::Foundation:: PWSTR , lpszvolumemountpoint : super::super::Foundation:: PWSTR , cchbufferlength : u32 ) -> FindVolumeMointPointHandle ; } FindFirstVolumeMountPointW ( lpszrootpathname . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpszvolumemountpoint ) , :: std :: mem :: transmute ( cchbufferlength ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn FindFirstVolumeW < > ( lpszvolumename : super::super::Foundation:: PWSTR , cchbufferlength : u32 , ) -> FindVolumeHandle { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn FindFirstVolumeW ( lpszvolumename : super::super::Foundation:: PWSTR , cchbufferlength : u32 ) -> FindVolumeHandle ; } FindFirstVolumeW ( :: std :: mem :: transmute ( lpszvolumename ) , :: std :: mem :: transmute ( cchbufferlength ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn FindNextChangeNotification < 'a , > ( hchangehandle : impl :: windows :: IntoParam < 'a , FindChangeNotificationHandle > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn FindNextChangeNotification ( hchangehandle : FindChangeNotificationHandle ) -> super::super::Foundation:: BOOL ; } FindNextChangeNotification ( hchangehandle . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn FindNextFileA < 'a , > ( hfindfile : impl :: windows :: IntoParam < 'a , FindFileHandle > , lpfindfiledata : * mut WIN32_FIND_DATAA , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn FindNextFileA ( hfindfile : FindFileHandle , lpfindfiledata : * mut WIN32_FIND_DATAA ) -> super::super::Foundation:: BOOL ; } FindNextFileA ( hfindfile . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpfindfiledata ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn FindNextFileNameW < 'a , > ( hfindstream : impl :: windows :: IntoParam < 'a , FindFileNameHandle > , stringlength : * mut u32 , linkname : super::super::Foundation:: PWSTR , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn FindNextFileNameW ( hfindstream : FindFileNameHandle , stringlength : * mut u32 , linkname : super::super::Foundation:: PWSTR ) -> super::super::Foundation:: BOOL ; } FindNextFileNameW ( hfindstream . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( stringlength ) , :: std :: mem :: transmute ( linkname ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn FindNextFileW < 'a , > ( hfindfile : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , lpfindfiledata : * mut WIN32_FIND_DATAW , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn FindNextFileW ( hfindfile : super::super::Foundation:: HANDLE , lpfindfiledata : * mut WIN32_FIND_DATAW ) -> super::super::Foundation:: BOOL ; } FindNextFileW ( hfindfile . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpfindfiledata ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn FindNextStreamW < 'a , > ( hfindstream : impl :: windows :: IntoParam < 'a , FindStreamHandle > , lpfindstreamdata : * mut :: std :: ffi :: c_void , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn FindNextStreamW ( hfindstream : FindStreamHandle , lpfindstreamdata : * mut :: std :: ffi :: c_void ) -> super::super::Foundation:: BOOL ; } FindNextStreamW ( hfindstream . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpfindstreamdata ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn FindNextVolumeA < 'a , > ( hfindvolume : impl :: windows :: IntoParam < 'a , FindVolumeHandle > , lpszvolumename : super::super::Foundation:: PSTR , cchbufferlength : u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn FindNextVolumeA ( hfindvolume : FindVolumeHandle , lpszvolumename : super::super::Foundation:: PSTR , cchbufferlength : u32 ) -> super::super::Foundation:: BOOL ; } FindNextVolumeA ( hfindvolume . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpszvolumename ) , :: std :: mem :: transmute ( cchbufferlength ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn FindNextVolumeMountPointA < 'a , > ( hfindvolumemountpoint : impl :: windows :: IntoParam < 'a , FindVolumeMointPointHandle > , lpszvolumemountpoint : super::super::Foundation:: PSTR , cchbufferlength : u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn FindNextVolumeMountPointA ( hfindvolumemountpoint : FindVolumeMointPointHandle , lpszvolumemountpoint : super::super::Foundation:: PSTR , cchbufferlength : u32 ) -> super::super::Foundation:: BOOL ; } FindNextVolumeMountPointA ( hfindvolumemountpoint . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpszvolumemountpoint ) , :: std :: mem :: transmute ( cchbufferlength ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn FindNextVolumeMountPointW < 'a , > ( hfindvolumemountpoint : impl :: windows :: IntoParam < 'a , FindVolumeMointPointHandle > , lpszvolumemountpoint : super::super::Foundation:: PWSTR , cchbufferlength : u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn FindNextVolumeMountPointW ( hfindvolumemountpoint : FindVolumeMointPointHandle , lpszvolumemountpoint : super::super::Foundation:: PWSTR , cchbufferlength : u32 ) -> super::super::Foundation:: BOOL ; } FindNextVolumeMountPointW ( hfindvolumemountpoint . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpszvolumemountpoint ) , :: std :: mem :: transmute ( cchbufferlength ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn FindNextVolumeW < 'a , > ( hfindvolume : impl :: windows :: IntoParam < 'a , FindVolumeHandle > , lpszvolumename : super::super::Foundation:: PWSTR , cchbufferlength : u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn FindNextVolumeW ( hfindvolume : FindVolumeHandle , lpszvolumename : super::super::Foundation:: PWSTR , cchbufferlength : u32 ) -> super::super::Foundation:: BOOL ; } FindNextVolumeW ( hfindvolume . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpszvolumename ) , :: std :: mem :: transmute ( cchbufferlength ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( transparent ) ] pub struct FindStreamHandle ( pub isize ) ; impl FindStreamHandle { } impl :: std :: default :: Default for FindStreamHandle { fn default ( ) -> Self { Self ( 0 ) } } impl FindStreamHandle { pub const NULL : Self = Self ( 0 ) ; pub fn is_null ( & self ) -> bool { self . 0 == 0 } } impl :: std :: fmt :: Debug for FindStreamHandle { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "FindStreamHandle" ) . field ( "Value" , & self .0 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FindStreamHandle { fn eq ( & self , other : & Self ) -> bool { self .0 == other .0 } } impl :: std :: cmp :: Eq for FindStreamHandle { } unsafe impl :: windows :: Abi for FindStreamHandle { type Abi = Self ; type DefaultType = Self ; } pub unsafe fn FindVolumeClose < 'a , > ( hfindvolume : impl :: windows :: IntoParam < 'a , FindVolumeHandle > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn FindVolumeClose ( hfindvolume : FindVolumeHandle ) -> super::super::Foundation:: BOOL ; } FindVolumeClose ( hfindvolume . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( transparent ) ] pub struct FindVolumeHandle ( pub isize ) ; impl FindVolumeHandle { } impl :: std :: default :: Default for FindVolumeHandle { fn default ( ) -> Self { Self ( 0 ) } } impl FindVolumeHandle { pub const NULL : Self = Self ( 0 ) ; pub fn is_null ( & self ) -> bool { self . 0 == 0 } } impl :: std :: fmt :: Debug for FindVolumeHandle { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "FindVolumeHandle" ) . field ( "Value" , & self .0 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FindVolumeHandle { fn eq ( & self , other : & Self ) -> bool { self .0 == other .0 } } impl :: std :: cmp :: Eq for FindVolumeHandle { } unsafe impl :: windows :: Abi for FindVolumeHandle { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( transparent ) ] pub struct FindVolumeMointPointHandle ( pub isize ) ; impl FindVolumeMointPointHandle { } impl :: std :: default :: Default for FindVolumeMointPointHandle { fn default ( ) -> Self { Self ( 0 ) } } impl FindVolumeMointPointHandle { pub const NULL : Self = Self ( 0 ) ; pub fn is_null ( & self ) -> bool { self . 0 == 0 } } impl :: std :: fmt :: Debug for FindVolumeMointPointHandle { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "FindVolumeMointPointHandle" ) . field ( "Value" , & self .0 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FindVolumeMointPointHandle { fn eq ( & self , other : & Self ) -> bool { self .0 == other .0 } } impl :: std :: cmp :: Eq for FindVolumeMointPointHandle { } unsafe impl :: windows :: Abi for FindVolumeMointPointHandle { type Abi = Self ; type DefaultType = Self ; } pub unsafe fn FindVolumeMountPointClose < 'a , > ( hfindvolumemountpoint : impl :: windows :: IntoParam < 'a , FindVolumeMointPointHandle > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn FindVolumeMountPointClose ( hfindvolumemountpoint : FindVolumeMointPointHandle ) -> super::super::Foundation:: BOOL ; } FindVolumeMountPointClose ( hfindvolumemountpoint . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn FlushFileBuffers < 'a , > ( hfile : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn FlushFileBuffers ( hfile : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ; } FlushFileBuffers ( hfile . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn FlushLogBuffers < > ( pvmarshal : * mut :: std :: ffi :: c_void , poverlapped : * mut super::super::System::SystemServices:: OVERLAPPED , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="clfsw32" ) ] extern "system" { fn FlushLogBuffers ( pvmarshal : * mut :: std :: ffi :: c_void , poverlapped : * mut super::super::System::SystemServices:: OVERLAPPED ) -> super::super::Foundation:: BOOL ; } FlushLogBuffers ( :: std :: mem :: transmute ( pvmarshal ) , :: std :: mem :: transmute ( poverlapped ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn FlushLogToLsn < > ( pvmarshalcontext : * mut :: std :: ffi :: c_void , plsnflush : * mut CLS_LSN , plsnlastflushed : * mut CLS_LSN , poverlapped : * mut super::super::System::SystemServices:: OVERLAPPED , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="clfsw32" ) ] extern "system" { fn FlushLogToLsn ( pvmarshalcontext : * mut :: std :: ffi :: c_void , plsnflush : * mut CLS_LSN , plsnlastflushed : * mut CLS_LSN , poverlapped : * mut super::super::System::SystemServices:: OVERLAPPED ) -> super::super::Foundation:: BOOL ; } FlushLogToLsn ( :: std :: mem :: transmute ( pvmarshalcontext ) , :: std :: mem :: transmute ( plsnflush ) , :: std :: mem :: transmute ( plsnlastflushed ) , :: std :: mem :: transmute ( poverlapped ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn FreeEncryptedFileMetadata < > ( pbmetadata : * mut u8 , ) { # [ cfg ( windows ) ] { # [ link ( name ="ADVAPI32" ) ] extern "system" { fn FreeEncryptedFileMetadata ( pbmetadata : * mut u8 ) ; } FreeEncryptedFileMetadata ( :: std :: mem :: transmute ( pbmetadata ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn FreeEncryptionCertificateHashList < > ( pusers : * mut ENCRYPTION_CERTIFICATE_HASH_LIST , ) { # [ cfg ( windows ) ] { # [ link ( name ="ADVAPI32" ) ] extern "system" { fn FreeEncryptionCertificateHashList ( pusers : * mut ENCRYPTION_CERTIFICATE_HASH_LIST ) ; } FreeEncryptionCertificateHashList ( :: std :: mem :: transmute ( pusers ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn FreeReservedLog < > ( pvmarshal : * mut :: std :: ffi :: c_void , creservedrecords : u32 , pcbadjustment : * mut i64 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="clfsw32" ) ] extern "system" { fn FreeReservedLog ( pvmarshal : * mut :: std :: ffi :: c_void , creservedrecords : u32 , pcbadjustment : * mut i64 ) -> super::super::Foundation:: BOOL ; } FreeReservedLog ( :: std :: mem :: transmute ( pvmarshal ) , :: std :: mem :: transmute ( creservedrecords ) , :: std :: mem :: transmute ( pcbadjustment ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct GET_DISK_ATTRIBUTES { pub Version : u32 , pub Reserved1 : u32 , pub Attributes : u64 } impl GET_DISK_ATTRIBUTES { } impl :: std :: default :: Default for GET_DISK_ATTRIBUTES { fn default ( ) -> Self { Self { Version : 0 , Reserved1 : 0 , Attributes : 0 } } } impl :: std :: fmt :: Debug for GET_DISK_ATTRIBUTES { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "GET_DISK_ATTRIBUTES" ) . field ( "Version" , & self . Version ) . field ( "Reserved1" , & self . Reserved1 ) . field ( "Attributes" , & self . Attributes ) . finish ( ) } } impl :: std :: cmp :: PartialEq for GET_DISK_ATTRIBUTES { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Reserved1 == other . Reserved1 && self . Attributes == other . Attributes } } impl :: std :: cmp :: Eq for GET_DISK_ATTRIBUTES { } unsafe impl :: windows :: Abi for GET_DISK_ATTRIBUTES { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct GET_FILEEX_INFO_LEVELS ( pub i32 ) ; pub const GetFileExInfoStandard : GET_FILEEX_INFO_LEVELS = GET_FILEEX_INFO_LEVELS ( 0i32 ) ; pub const GetFileExMaxInfoLevel : GET_FILEEX_INFO_LEVELS = GET_FILEEX_INFO_LEVELS ( 1i32 ) ; impl :: std :: convert :: From < i32 > for GET_FILEEX_INFO_LEVELS { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for GET_FILEEX_INFO_LEVELS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct GET_FILE_VERSION_INFO_FLAGS ( pub u32 ) ; pub const FILE_VER_GET_LOCALISED : GET_FILE_VERSION_INFO_FLAGS = GET_FILE_VERSION_INFO_FLAGS ( 1u32 ) ; pub const FILE_VER_GET_NEUTRAL : GET_FILE_VERSION_INFO_FLAGS = GET_FILE_VERSION_INFO_FLAGS ( 2u32 ) ; pub const FILE_VER_GET_PREFETCHED : GET_FILE_VERSION_INFO_FLAGS = GET_FILE_VERSION_INFO_FLAGS ( 4u32 ) ; impl :: std :: convert :: From < u32 > for GET_FILE_VERSION_INFO_FLAGS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for GET_FILE_VERSION_INFO_FLAGS { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for GET_FILE_VERSION_INFO_FLAGS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for GET_FILE_VERSION_INFO_FLAGS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for GET_FILE_VERSION_INFO_FLAGS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for GET_FILE_VERSION_INFO_FLAGS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct GET_LENGTH_INFORMATION { pub Length : i64 } impl GET_LENGTH_INFORMATION { } impl :: std :: default :: Default for GET_LENGTH_INFORMATION { fn default ( ) -> Self { Self { Length : 0 } } } impl :: std :: fmt :: Debug for GET_LENGTH_INFORMATION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "GET_LENGTH_INFORMATION" ) . field ( "Length" , & self . Length ) . finish ( ) } } impl :: std :: cmp :: PartialEq for GET_LENGTH_INFORMATION { fn eq ( & self , other : & Self ) -> bool { self . Length == other . Length } } impl :: std :: cmp :: Eq for GET_LENGTH_INFORMATION { } unsafe impl :: windows :: Abi for GET_LENGTH_INFORMATION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct GET_TAPE_DRIVE_PARAMETERS_OPERATION ( pub u32 ) ; pub const GET_TAPE_DRIVE_INFORMATION : GET_TAPE_DRIVE_PARAMETERS_OPERATION = GET_TAPE_DRIVE_PARAMETERS_OPERATION ( 1u32 ) ; pub const GET_TAPE_MEDIA_INFORMATION : GET_TAPE_DRIVE_PARAMETERS_OPERATION = GET_TAPE_DRIVE_PARAMETERS_OPERATION ( 0u32 ) ; impl :: std :: convert :: From < u32 > for GET_TAPE_DRIVE_PARAMETERS_OPERATION { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for GET_TAPE_DRIVE_PARAMETERS_OPERATION { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for GET_TAPE_DRIVE_PARAMETERS_OPERATION { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for GET_TAPE_DRIVE_PARAMETERS_OPERATION { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for GET_TAPE_DRIVE_PARAMETERS_OPERATION { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for GET_TAPE_DRIVE_PARAMETERS_OPERATION { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct GPT_ATTRIBUTES ( pub u64 ) ; pub const GPT_ATTRIBUTE_PLATFORM_REQUIRED : GPT_ATTRIBUTES = GPT_ATTRIBUTES ( 1u64 ) ; pub const GPT_BASIC_DATA_ATTRIBUTE_NO_DRIVE_LETTER : GPT_ATTRIBUTES = GPT_ATTRIBUTES ( 9223372036854775808u64 ) ; pub const GPT_BASIC_DATA_ATTRIBUTE_HIDDEN : GPT_ATTRIBUTES = GPT_ATTRIBUTES ( 4611686018427387904u64 ) ; pub const GPT_BASIC_DATA_ATTRIBUTE_SHADOW_COPY : GPT_ATTRIBUTES = GPT_ATTRIBUTES ( 2305843009213693952u64 ) ; pub const GPT_BASIC_DATA_ATTRIBUTE_READ_ONLY : GPT_ATTRIBUTES = GPT_ATTRIBUTES ( 1152921504606846976u64 ) ; impl :: std :: convert :: From < u64 > for GPT_ATTRIBUTES { fn from ( value : u64 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for GPT_ATTRIBUTES { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for GPT_ATTRIBUTES { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for GPT_ATTRIBUTES { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for GPT_ATTRIBUTES { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for GPT_ATTRIBUTES { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub unsafe fn GetBinaryTypeA < 'a , > ( lpapplicationname : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , lpbinarytype : * mut u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetBinaryTypeA ( lpapplicationname : super::super::Foundation:: PSTR , lpbinarytype : * mut u32 ) -> super::super::Foundation:: BOOL ; } GetBinaryTypeA ( lpapplicationname . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpbinarytype ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetBinaryTypeW < 'a , > ( lpapplicationname : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , lpbinarytype : * mut u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetBinaryTypeW ( lpapplicationname : super::super::Foundation:: PWSTR , lpbinarytype : * mut u32 ) -> super::super::Foundation:: BOOL ; } GetBinaryTypeW ( lpapplicationname . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpbinarytype ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetCompressedFileSizeA < 'a , > ( lpfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , lpfilesizehigh : * mut u32 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetCompressedFileSizeA ( lpfilename : super::super::Foundation:: PSTR , lpfilesizehigh : * mut u32 ) -> u32 ; } GetCompressedFileSizeA ( lpfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpfilesizehigh ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetCompressedFileSizeTransactedA < 'a , > ( lpfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , lpfilesizehigh : * mut u32 , htransaction : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetCompressedFileSizeTransactedA ( lpfilename : super::super::Foundation:: PSTR , lpfilesizehigh : * mut u32 , htransaction : super::super::Foundation:: HANDLE ) -> u32 ; } GetCompressedFileSizeTransactedA ( lpfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpfilesizehigh ) , htransaction . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetCompressedFileSizeTransactedW < 'a , > ( lpfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , lpfilesizehigh : * mut u32 , htransaction : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetCompressedFileSizeTransactedW ( lpfilename : super::super::Foundation:: PWSTR , lpfilesizehigh : * mut u32 , htransaction : super::super::Foundation:: HANDLE ) -> u32 ; } GetCompressedFileSizeTransactedW ( lpfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpfilesizehigh ) , htransaction . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetCompressedFileSizeW < 'a , > ( lpfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , lpfilesizehigh : * mut u32 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetCompressedFileSizeW ( lpfilename : super::super::Foundation:: PWSTR , lpfilesizehigh : * mut u32 ) -> u32 ; } GetCompressedFileSizeW ( lpfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpfilesizehigh ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetCurrentClockTransactionManager < 'a , > ( transactionmanagerhandle : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , tmvirtualclock : * mut i64 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="ktmw32" ) ] extern "system" { fn GetCurrentClockTransactionManager ( transactionmanagerhandle : super::super::Foundation:: HANDLE , tmvirtualclock : * mut i64 ) -> super::super::Foundation:: BOOL ; } GetCurrentClockTransactionManager ( transactionmanagerhandle . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( tmvirtualclock ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetDiskFreeSpaceA < 'a , > ( lprootpathname : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , lpsectorspercluster : * mut u32 , lpbytespersector : * mut u32 , lpnumberoffreeclusters : * mut u32 , lptotalnumberofclusters : * mut u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetDiskFreeSpaceA ( lprootpathname : super::super::Foundation:: PSTR , lpsectorspercluster : * mut u32 , lpbytespersector : * mut u32 , lpnumberoffreeclusters : * mut u32 , lptotalnumberofclusters : * mut u32 ) -> super::super::Foundation:: BOOL ; } GetDiskFreeSpaceA ( lprootpathname . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpsectorspercluster ) , :: std :: mem :: transmute ( lpbytespersector ) , :: std :: mem :: transmute ( lpnumberoffreeclusters ) , :: std :: mem :: transmute ( lptotalnumberofclusters ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetDiskFreeSpaceExA < 'a , > ( lpdirectoryname : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , lpfreebytesavailabletocaller : * mut u64 , lptotalnumberofbytes : * mut u64 , lptotalnumberoffreebytes : * mut u64 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetDiskFreeSpaceExA ( lpdirectoryname : super::super::Foundation:: PSTR , lpfreebytesavailabletocaller : * mut u64 , lptotalnumberofbytes : * mut u64 , lptotalnumberoffreebytes : * mut u64 ) -> super::super::Foundation:: BOOL ; } GetDiskFreeSpaceExA ( lpdirectoryname . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpfreebytesavailabletocaller ) , :: std :: mem :: transmute ( lptotalnumberofbytes ) , :: std :: mem :: transmute ( lptotalnumberoffreebytes ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetDiskFreeSpaceExW < 'a , > ( lpdirectoryname : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , lpfreebytesavailabletocaller : * mut u64 , lptotalnumberofbytes : * mut u64 , lptotalnumberoffreebytes : * mut u64 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetDiskFreeSpaceExW ( lpdirectoryname : super::super::Foundation:: PWSTR , lpfreebytesavailabletocaller : * mut u64 , lptotalnumberofbytes : * mut u64 , lptotalnumberoffreebytes : * mut u64 ) -> super::super::Foundation:: BOOL ; } GetDiskFreeSpaceExW ( lpdirectoryname . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpfreebytesavailabletocaller ) , :: std :: mem :: transmute ( lptotalnumberofbytes ) , :: std :: mem :: transmute ( lptotalnumberoffreebytes ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetDiskFreeSpaceW < 'a , > ( lprootpathname : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , lpsectorspercluster : * mut u32 , lpbytespersector : * mut u32 , lpnumberoffreeclusters : * mut u32 , lptotalnumberofclusters : * mut u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetDiskFreeSpaceW ( lprootpathname : super::super::Foundation:: PWSTR , lpsectorspercluster : * mut u32 , lpbytespersector : * mut u32 , lpnumberoffreeclusters : * mut u32 , lptotalnumberofclusters : * mut u32 ) -> super::super::Foundation:: BOOL ; } GetDiskFreeSpaceW ( lprootpathname . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpsectorspercluster ) , :: std :: mem :: transmute ( lpbytespersector ) , :: std :: mem :: transmute ( lpnumberoffreeclusters ) , :: std :: mem :: transmute ( lptotalnumberofclusters ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetDiskSpaceInformationA < 'a , > ( rootpath : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , ) -> :: windows :: Result < DISK_SPACE_INFORMATION > { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetDiskSpaceInformationA ( rootpath : super::super::Foundation:: PSTR , diskspaceinfo : * mut DISK_SPACE_INFORMATION ) -> :: windows :: HRESULT ; } let mut result__ : < DISK_SPACE_INFORMATION as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; GetDiskSpaceInformationA ( rootpath . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < DISK_SPACE_INFORMATION > ( result__ ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetDiskSpaceInformationW < 'a , > ( rootpath : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , ) -> :: windows :: Result < DISK_SPACE_INFORMATION > { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetDiskSpaceInformationW ( rootpath : super::super::Foundation:: PWSTR , diskspaceinfo : * mut DISK_SPACE_INFORMATION ) -> :: windows :: HRESULT ; } let mut result__ : < DISK_SPACE_INFORMATION as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; GetDiskSpaceInformationW ( rootpath . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < DISK_SPACE_INFORMATION > ( result__ ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetDriveTypeA < 'a , > ( lprootpathname : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetDriveTypeA ( lprootpathname : super::super::Foundation:: PSTR ) -> u32 ; } GetDriveTypeA ( lprootpathname . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetDriveTypeW < 'a , > ( lprootpathname : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetDriveTypeW ( lprootpathname : super::super::Foundation:: PWSTR ) -> u32 ; } GetDriveTypeW ( lprootpathname . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetEncryptedFileMetadata < 'a , > ( lpfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , pcbmetadata : * mut u32 , ppbmetadata : * mut * mut u8 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="ADVAPI32" ) ] extern "system" { fn GetEncryptedFileMetadata ( lpfilename : super::super::Foundation:: PWSTR , pcbmetadata : * mut u32 , ppbmetadata : * mut * mut u8 ) -> u32 ; } GetEncryptedFileMetadata ( lpfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pcbmetadata ) , :: std :: mem :: transmute ( ppbmetadata ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetEnlistmentId < 'a , > ( enlistmenthandle : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , enlistmentid : * mut :: windows :: Guid , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="ktmw32" ) ] extern "system" { fn GetEnlistmentId ( enlistmenthandle : super::super::Foundation:: HANDLE , enlistmentid : * mut :: windows :: Guid ) -> super::super::Foundation:: BOOL ; } GetEnlistmentId ( enlistmenthandle . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( enlistmentid ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetEnlistmentRecoveryInformation < 'a , > ( enlistmenthandle : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , buffersize : u32 , buffer : * mut :: std :: ffi :: c_void , bufferused : * mut u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="ktmw32" ) ] extern "system" { fn GetEnlistmentRecoveryInformation ( enlistmenthandle : super::super::Foundation:: HANDLE , buffersize : u32 , buffer : * mut :: std :: ffi :: c_void , bufferused : * mut u32 ) -> super::super::Foundation:: BOOL ; } GetEnlistmentRecoveryInformation ( enlistmenthandle . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( buffersize ) , :: std :: mem :: transmute ( buffer ) , :: std :: mem :: transmute ( bufferused ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetExpandedNameA < 'a , > ( lpszsource : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , lpszbuffer : super::super::Foundation:: PSTR , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetExpandedNameA ( lpszsource : super::super::Foundation:: PSTR , lpszbuffer : super::super::Foundation:: PSTR ) -> i32 ; } GetExpandedNameA ( lpszsource . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpszbuffer ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetExpandedNameW < 'a , > ( lpszsource : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , lpszbuffer : super::super::Foundation:: PWSTR , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetExpandedNameW ( lpszsource : super::super::Foundation:: PWSTR , lpszbuffer : super::super::Foundation:: PWSTR ) -> i32 ; } GetExpandedNameW ( lpszsource . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpszbuffer ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetFileAttributesA < 'a , > ( lpfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetFileAttributesA ( lpfilename : super::super::Foundation:: PSTR ) -> u32 ; } GetFileAttributesA ( lpfilename . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetFileAttributesExA < 'a , > ( lpfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , finfolevelid : GET_FILEEX_INFO_LEVELS , lpfileinformation : * mut :: std :: ffi :: c_void , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetFileAttributesExA ( lpfilename : super::super::Foundation:: PSTR , finfolevelid : GET_FILEEX_INFO_LEVELS , lpfileinformation : * mut :: std :: ffi :: c_void ) -> super::super::Foundation:: BOOL ; } GetFileAttributesExA ( lpfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( finfolevelid ) , :: std :: mem :: transmute ( lpfileinformation ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetFileAttributesExFromAppW < 'a , > ( lpfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , finfolevelid : GET_FILEEX_INFO_LEVELS , lpfileinformation : * mut :: std :: ffi :: c_void , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="onecoreuap" ) ] extern "system" { fn GetFileAttributesExFromAppW ( lpfilename : super::super::Foundation:: PWSTR , finfolevelid : GET_FILEEX_INFO_LEVELS , lpfileinformation : * mut :: std :: ffi :: c_void ) -> super::super::Foundation:: BOOL ; } GetFileAttributesExFromAppW ( lpfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( finfolevelid ) , :: std :: mem :: transmute ( lpfileinformation ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetFileAttributesExW < 'a , > ( lpfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , finfolevelid : GET_FILEEX_INFO_LEVELS , lpfileinformation : * mut :: std :: ffi :: c_void , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetFileAttributesExW ( lpfilename : super::super::Foundation:: PWSTR , finfolevelid : GET_FILEEX_INFO_LEVELS , lpfileinformation : * mut :: std :: ffi :: c_void ) -> super::super::Foundation:: BOOL ; } GetFileAttributesExW ( lpfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( finfolevelid ) , :: std :: mem :: transmute ( lpfileinformation ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetFileAttributesTransactedA < 'a , > ( lpfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , finfolevelid : GET_FILEEX_INFO_LEVELS , lpfileinformation : * mut :: std :: ffi :: c_void , htransaction : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetFileAttributesTransactedA ( lpfilename : super::super::Foundation:: PSTR , finfolevelid : GET_FILEEX_INFO_LEVELS , lpfileinformation : * mut :: std :: ffi :: c_void , htransaction : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ; } GetFileAttributesTransactedA ( lpfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( finfolevelid ) , :: std :: mem :: transmute ( lpfileinformation ) , htransaction . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetFileAttributesTransactedW < 'a , > ( lpfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , finfolevelid : GET_FILEEX_INFO_LEVELS , lpfileinformation : * mut :: std :: ffi :: c_void , htransaction : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetFileAttributesTransactedW ( lpfilename : super::super::Foundation:: PWSTR , finfolevelid : GET_FILEEX_INFO_LEVELS , lpfileinformation : * mut :: std :: ffi :: c_void , htransaction : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ; } GetFileAttributesTransactedW ( lpfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( finfolevelid ) , :: std :: mem :: transmute ( lpfileinformation ) , htransaction . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetFileAttributesW < 'a , > ( lpfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetFileAttributesW ( lpfilename : super::super::Foundation:: PWSTR ) -> u32 ; } GetFileAttributesW ( lpfilename . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetFileBandwidthReservation < 'a , > ( hfile : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , lpperiodmilliseconds : * mut u32 , lpbytesperperiod : * mut u32 , pdiscardable : * mut i32 , lptransfersize : * mut u32 , lpnumoutstandingrequests : * mut u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetFileBandwidthReservation ( hfile : super::super::Foundation:: HANDLE , lpperiodmilliseconds : * mut u32 , lpbytesperperiod : * mut u32 , pdiscardable : * mut i32 , lptransfersize : * mut u32 , lpnumoutstandingrequests : * mut u32 ) -> super::super::Foundation:: BOOL ; } GetFileBandwidthReservation ( hfile . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpperiodmilliseconds ) , :: std :: mem :: transmute ( lpbytesperperiod ) , :: std :: mem :: transmute ( pdiscardable ) , :: std :: mem :: transmute ( lptransfersize ) , :: std :: mem :: transmute ( lpnumoutstandingrequests ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetFileInformationByHandle < 'a , > ( hfile : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , lpfileinformation : * mut BY_HANDLE_FILE_INFORMATION , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetFileInformationByHandle ( hfile : super::super::Foundation:: HANDLE , lpfileinformation : * mut BY_HANDLE_FILE_INFORMATION ) -> super::super::Foundation:: BOOL ; } GetFileInformationByHandle ( hfile . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpfileinformation ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetFileInformationByHandleEx < 'a , > ( hfile : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , fileinformationclass : FILE_INFO_BY_HANDLE_CLASS , lpfileinformation : * mut :: std :: ffi :: c_void , dwbuffersize : u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetFileInformationByHandleEx ( hfile : super::super::Foundation:: HANDLE , fileinformationclass : FILE_INFO_BY_HANDLE_CLASS , lpfileinformation : * mut :: std :: ffi :: c_void , dwbuffersize : u32 ) -> super::super::Foundation:: BOOL ; } GetFileInformationByHandleEx ( hfile . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( fileinformationclass ) , :: std :: mem :: transmute ( lpfileinformation ) , :: std :: mem :: transmute ( dwbuffersize ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetFileSize < 'a , > ( hfile : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , lpfilesizehigh : * mut u32 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetFileSize ( hfile : super::super::Foundation:: HANDLE , lpfilesizehigh : * mut u32 ) -> u32 ; } GetFileSize ( hfile . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpfilesizehigh ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetFileSizeEx < 'a , > ( hfile : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , lpfilesize : * mut i64 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetFileSizeEx ( hfile : super::super::Foundation:: HANDLE , lpfilesize : * mut i64 ) -> super::super::Foundation:: BOOL ; } GetFileSizeEx ( hfile . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpfilesize ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetFileTime < 'a , > ( hfile : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , lpcreationtime : * mut super::super::Foundation:: FILETIME , lplastaccesstime : * mut super::super::Foundation:: FILETIME , lplastwritetime : * mut super::super::Foundation:: FILETIME , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetFileTime ( hfile : super::super::Foundation:: HANDLE , lpcreationtime : * mut super::super::Foundation:: FILETIME , lplastaccesstime : * mut super::super::Foundation:: FILETIME , lplastwritetime : * mut super::super::Foundation:: FILETIME ) -> super::super::Foundation:: BOOL ; } GetFileTime ( hfile . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpcreationtime ) , :: std :: mem :: transmute ( lplastaccesstime ) , :: std :: mem :: transmute ( lplastwritetime ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetFileType < 'a , > ( hfile : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetFileType ( hfile : super::super::Foundation:: HANDLE ) -> u32 ; } GetFileType ( hfile . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetFileVersionInfoA < 'a , > ( lptstrfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , dwhandle : u32 , dwlen : u32 , lpdata : * mut :: std :: ffi :: c_void , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="VERSION" ) ] extern "system" { fn GetFileVersionInfoA ( lptstrfilename : super::super::Foundation:: PSTR , dwhandle : u32 , dwlen : u32 , lpdata : * mut :: std :: ffi :: c_void ) -> super::super::Foundation:: BOOL ; } GetFileVersionInfoA ( lptstrfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwhandle ) , :: std :: mem :: transmute ( dwlen ) , :: std :: mem :: transmute ( lpdata ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetFileVersionInfoExA < 'a , > ( dwflags : GET_FILE_VERSION_INFO_FLAGS , lpwstrfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , dwhandle : u32 , dwlen : u32 , lpdata : * mut :: std :: ffi :: c_void , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="VERSION" ) ] extern "system" { fn GetFileVersionInfoExA ( dwflags : GET_FILE_VERSION_INFO_FLAGS , lpwstrfilename : super::super::Foundation:: PSTR , dwhandle : u32 , dwlen : u32 , lpdata : * mut :: std :: ffi :: c_void ) -> super::super::Foundation:: BOOL ; } GetFileVersionInfoExA ( :: std :: mem :: transmute ( dwflags ) , lpwstrfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwhandle ) , :: std :: mem :: transmute ( dwlen ) , :: std :: mem :: transmute ( lpdata ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetFileVersionInfoExW < 'a , > ( dwflags : GET_FILE_VERSION_INFO_FLAGS , lpwstrfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , dwhandle : u32 , dwlen : u32 , lpdata : * mut :: std :: ffi :: c_void , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="VERSION" ) ] extern "system" { fn GetFileVersionInfoExW ( dwflags : GET_FILE_VERSION_INFO_FLAGS , lpwstrfilename : super::super::Foundation:: PWSTR , dwhandle : u32 , dwlen : u32 , lpdata : * mut :: std :: ffi :: c_void ) -> super::super::Foundation:: BOOL ; } GetFileVersionInfoExW ( :: std :: mem :: transmute ( dwflags ) , lpwstrfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwhandle ) , :: std :: mem :: transmute ( dwlen ) , :: std :: mem :: transmute ( lpdata ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetFileVersionInfoSizeA < 'a , > ( lptstrfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , lpdwhandle : * mut u32 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="VERSION" ) ] extern "system" { fn GetFileVersionInfoSizeA ( lptstrfilename : super::super::Foundation:: PSTR , lpdwhandle : * mut u32 ) -> u32 ; } GetFileVersionInfoSizeA ( lptstrfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpdwhandle ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetFileVersionInfoSizeExA < 'a , > ( dwflags : GET_FILE_VERSION_INFO_FLAGS , lpwstrfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , lpdwhandle : * mut u32 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="VERSION" ) ] extern "system" { fn GetFileVersionInfoSizeExA ( dwflags : GET_FILE_VERSION_INFO_FLAGS , lpwstrfilename : super::super::Foundation:: PSTR , lpdwhandle : * mut u32 ) -> u32 ; } GetFileVersionInfoSizeExA ( :: std :: mem :: transmute ( dwflags ) , lpwstrfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpdwhandle ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetFileVersionInfoSizeExW < 'a , > ( dwflags : GET_FILE_VERSION_INFO_FLAGS , lpwstrfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , lpdwhandle : * mut u32 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="VERSION" ) ] extern "system" { fn GetFileVersionInfoSizeExW ( dwflags : GET_FILE_VERSION_INFO_FLAGS , lpwstrfilename : super::super::Foundation:: PWSTR , lpdwhandle : * mut u32 ) -> u32 ; } GetFileVersionInfoSizeExW ( :: std :: mem :: transmute ( dwflags ) , lpwstrfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpdwhandle ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetFileVersionInfoSizeW < 'a , > ( lptstrfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , lpdwhandle : * mut u32 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="VERSION" ) ] extern "system" { fn GetFileVersionInfoSizeW ( lptstrfilename : super::super::Foundation:: PWSTR , lpdwhandle : * mut u32 ) -> u32 ; } GetFileVersionInfoSizeW ( lptstrfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpdwhandle ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetFileVersionInfoW < 'a , > ( lptstrfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , dwhandle : u32 , dwlen : u32 , lpdata : * mut :: std :: ffi :: c_void , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="VERSION" ) ] extern "system" { fn GetFileVersionInfoW ( lptstrfilename : super::super::Foundation:: PWSTR , dwhandle : u32 , dwlen : u32 , lpdata : * mut :: std :: ffi :: c_void ) -> super::super::Foundation:: BOOL ; } GetFileVersionInfoW ( lptstrfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwhandle ) , :: std :: mem :: transmute ( dwlen ) , :: std :: mem :: transmute ( lpdata ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetFinalPathNameByHandleA < 'a , > ( hfile : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , lpszfilepath : super::super::Foundation:: PSTR , cchfilepath : u32 , dwflags : FILE_NAME , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetFinalPathNameByHandleA ( hfile : super::super::Foundation:: HANDLE , lpszfilepath : super::super::Foundation:: PSTR , cchfilepath : u32 , dwflags : FILE_NAME ) -> u32 ; } GetFinalPathNameByHandleA ( hfile . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpszfilepath ) , :: std :: mem :: transmute ( cchfilepath ) , :: std :: mem :: transmute ( dwflags ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetFinalPathNameByHandleW < 'a , > ( hfile : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , lpszfilepath : super::super::Foundation:: PWSTR , cchfilepath : u32 , dwflags : FILE_NAME , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetFinalPathNameByHandleW ( hfile : super::super::Foundation:: HANDLE , lpszfilepath : super::super::Foundation:: PWSTR , cchfilepath : u32 , dwflags : FILE_NAME ) -> u32 ; } GetFinalPathNameByHandleW ( hfile . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpszfilepath ) , :: std :: mem :: transmute ( cchfilepath ) , :: std :: mem :: transmute ( dwflags ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetFullPathNameA < 'a , > ( lpfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , nbufferlength : u32 , lpbuffer : super::super::Foundation:: PSTR , lpfilepart : * mut super::super::Foundation:: PSTR , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetFullPathNameA ( lpfilename : super::super::Foundation:: PSTR , nbufferlength : u32 , lpbuffer : super::super::Foundation:: PSTR , lpfilepart : * mut super::super::Foundation:: PSTR ) -> u32 ; } GetFullPathNameA ( lpfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( nbufferlength ) , :: std :: mem :: transmute ( lpbuffer ) , :: std :: mem :: transmute ( lpfilepart ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetFullPathNameTransactedA < 'a , > ( lpfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , nbufferlength : u32 , lpbuffer : super::super::Foundation:: PSTR , lpfilepart : * mut super::super::Foundation:: PSTR , htransaction : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetFullPathNameTransactedA ( lpfilename : super::super::Foundation:: PSTR , nbufferlength : u32 , lpbuffer : super::super::Foundation:: PSTR , lpfilepart : * mut super::super::Foundation:: PSTR , htransaction : super::super::Foundation:: HANDLE ) -> u32 ; } GetFullPathNameTransactedA ( lpfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( nbufferlength ) , :: std :: mem :: transmute ( lpbuffer ) , :: std :: mem :: transmute ( lpfilepart ) , htransaction . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetFullPathNameTransactedW < 'a , > ( lpfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , nbufferlength : u32 , lpbuffer : super::super::Foundation:: PWSTR , lpfilepart : * mut super::super::Foundation:: PWSTR , htransaction : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetFullPathNameTransactedW ( lpfilename : super::super::Foundation:: PWSTR , nbufferlength : u32 , lpbuffer : super::super::Foundation:: PWSTR , lpfilepart : * mut super::super::Foundation:: PWSTR , htransaction : super::super::Foundation:: HANDLE ) -> u32 ; } GetFullPathNameTransactedW ( lpfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( nbufferlength ) , :: std :: mem :: transmute ( lpbuffer ) , :: std :: mem :: transmute ( lpfilepart ) , htransaction . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetFullPathNameW < 'a , > ( lpfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , nbufferlength : u32 , lpbuffer : super::super::Foundation:: PWSTR , lpfilepart : * mut super::super::Foundation:: PWSTR , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetFullPathNameW ( lpfilename : super::super::Foundation:: PWSTR , nbufferlength : u32 , lpbuffer : super::super::Foundation:: PWSTR , lpfilepart : * mut super::super::Foundation:: PWSTR ) -> u32 ; } GetFullPathNameW ( lpfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( nbufferlength ) , :: std :: mem :: transmute ( lpbuffer ) , :: std :: mem :: transmute ( lpfilepart ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetLogContainerName < 'a , > ( hlog : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , cidlogicalcontainer : u32 , pwstrcontainername : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , clencontainername : u32 , pcactuallencontainername : * mut u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="clfsw32" ) ] extern "system" { fn GetLogContainerName ( hlog : super::super::Foundation:: HANDLE , cidlogicalcontainer : u32 , pwstrcontainername : super::super::Foundation:: PWSTR , clencontainername : u32 , pcactuallencontainername : * mut u32 ) -> super::super::Foundation:: BOOL ; } GetLogContainerName ( hlog . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( cidlogicalcontainer ) , pwstrcontainername . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( clencontainername ) , :: std :: mem :: transmute ( pcactuallencontainername ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetLogFileInformation < 'a , > ( hlog : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , pinfobuffer : * mut CLS_INFORMATION , cbbuffer : * mut u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="clfsw32" ) ] extern "system" { fn GetLogFileInformation ( hlog : super::super::Foundation:: HANDLE , pinfobuffer : * mut CLS_INFORMATION , cbbuffer : * mut u32 ) -> super::super::Foundation:: BOOL ; } GetLogFileInformation ( hlog . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pinfobuffer ) , :: std :: mem :: transmute ( cbbuffer ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetLogIoStatistics < 'a , > ( hlog : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , pvstatsbuffer : * mut :: std :: ffi :: c_void , cbstatsbuffer : u32 , estatsclass : CLFS_IOSTATS_CLASS , pcbstatswritten : * mut u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="clfsw32" ) ] extern "system" { fn GetLogIoStatistics ( hlog : super::super::Foundation:: HANDLE , pvstatsbuffer : * mut :: std :: ffi :: c_void , cbstatsbuffer : u32 , estatsclass : CLFS_IOSTATS_CLASS , pcbstatswritten : * mut u32 ) -> super::super::Foundation:: BOOL ; } GetLogIoStatistics ( hlog . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pvstatsbuffer ) , :: std :: mem :: transmute ( cbstatsbuffer ) , :: std :: mem :: transmute ( estatsclass ) , :: std :: mem :: transmute ( pcbstatswritten ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetLogReservationInfo < > ( pvmarshal : * mut :: std :: ffi :: c_void , pcbrecordnumber : * mut u32 , pcbuserreservation : * mut i64 , pcbcommitreservation : * mut i64 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="clfsw32" ) ] extern "system" { fn GetLogReservationInfo ( pvmarshal : * mut :: std :: ffi :: c_void , pcbrecordnumber : * mut u32 , pcbuserreservation : * mut i64 , pcbcommitreservation : * mut i64 ) -> super::super::Foundation:: BOOL ; } GetLogReservationInfo ( :: std :: mem :: transmute ( pvmarshal ) , :: std :: mem :: transmute ( pcbrecordnumber ) , :: std :: mem :: transmute ( pcbuserreservation ) , :: std :: mem :: transmute ( pcbcommitreservation ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetLogicalDriveStringsA < > ( nbufferlength : u32 , lpbuffer : super::super::Foundation:: PSTR , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetLogicalDriveStringsA ( nbufferlength : u32 , lpbuffer : super::super::Foundation:: PSTR ) -> u32 ; } GetLogicalDriveStringsA ( :: std :: mem :: transmute ( nbufferlength ) , :: std :: mem :: transmute ( lpbuffer ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetLogicalDriveStringsW < > ( nbufferlength : u32 , lpbuffer : super::super::Foundation:: PWSTR , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetLogicalDriveStringsW ( nbufferlength : u32 , lpbuffer : super::super::Foundation:: PWSTR ) -> u32 ; } GetLogicalDriveStringsW ( :: std :: mem :: transmute ( nbufferlength ) , :: std :: mem :: transmute ( lpbuffer ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetLogicalDrives < > ( ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetLogicalDrives ( ) -> u32 ; } GetLogicalDrives ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetLongPathNameA < 'a , > ( lpszshortpath : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , lpszlongpath : super::super::Foundation:: PSTR , cchbuffer : u32 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetLongPathNameA ( lpszshortpath : super::super::Foundation:: PSTR , lpszlongpath : super::super::Foundation:: PSTR , cchbuffer : u32 ) -> u32 ; } GetLongPathNameA ( lpszshortpath . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpszlongpath ) , :: std :: mem :: transmute ( cchbuffer ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetLongPathNameTransactedA < 'a , > ( lpszshortpath : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , lpszlongpath : super::super::Foundation:: PSTR , cchbuffer : u32 , htransaction : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetLongPathNameTransactedA ( lpszshortpath : super::super::Foundation:: PSTR , lpszlongpath : super::super::Foundation:: PSTR , cchbuffer : u32 , htransaction : super::super::Foundation:: HANDLE ) -> u32 ; } GetLongPathNameTransactedA ( lpszshortpath . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpszlongpath ) , :: std :: mem :: transmute ( cchbuffer ) , htransaction . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetLongPathNameTransactedW < 'a , > ( lpszshortpath : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , lpszlongpath : super::super::Foundation:: PWSTR , cchbuffer : u32 , htransaction : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetLongPathNameTransactedW ( lpszshortpath : super::super::Foundation:: PWSTR , lpszlongpath : super::super::Foundation:: PWSTR , cchbuffer : u32 , htransaction : super::super::Foundation:: HANDLE ) -> u32 ; } GetLongPathNameTransactedW ( lpszshortpath . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpszlongpath ) , :: std :: mem :: transmute ( cchbuffer ) , htransaction . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetLongPathNameW < 'a , > ( lpszshortpath : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , lpszlongpath : super::super::Foundation:: PWSTR , cchbuffer : u32 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetLongPathNameW ( lpszshortpath : super::super::Foundation:: PWSTR , lpszlongpath : super::super::Foundation:: PWSTR , cchbuffer : u32 ) -> u32 ; } GetLongPathNameW ( lpszshortpath . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpszlongpath ) , :: std :: mem :: transmute ( cchbuffer ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetNextLogArchiveExtent < > ( pvarchivecontext : * mut :: std :: ffi :: c_void , rgadextent : * mut CLS_ARCHIVE_DESCRIPTOR , cdescriptors : u32 , pcdescriptorsreturned : * mut u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="clfsw32" ) ] extern "system" { fn GetNextLogArchiveExtent ( pvarchivecontext : * mut :: std :: ffi :: c_void , rgadextent : * mut CLS_ARCHIVE_DESCRIPTOR , cdescriptors : u32 , pcdescriptorsreturned : * mut u32 ) -> super::super::Foundation:: BOOL ; } GetNextLogArchiveExtent ( :: std :: mem :: transmute ( pvarchivecontext ) , :: std :: mem :: transmute ( rgadextent ) , :: std :: mem :: transmute ( cdescriptors ) , :: std :: mem :: transmute ( pcdescriptorsreturned ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetNotificationResourceManager < 'a , > ( resourcemanagerhandle : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , transactionnotification : * mut TRANSACTION_NOTIFICATION , notificationlength : u32 , dwmilliseconds : u32 , returnlength : * mut u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="ktmw32" ) ] extern "system" { fn GetNotificationResourceManager ( resourcemanagerhandle : super::super::Foundation:: HANDLE , transactionnotification : * mut TRANSACTION_NOTIFICATION , notificationlength : u32 , dwmilliseconds : u32 , returnlength : * mut u32 ) -> super::super::Foundation:: BOOL ; } GetNotificationResourceManager ( resourcemanagerhandle . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( transactionnotification ) , :: std :: mem :: transmute ( notificationlength ) , :: std :: mem :: transmute ( dwmilliseconds ) , :: std :: mem :: transmute ( returnlength ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetNotificationResourceManagerAsync < 'a , > ( resourcemanagerhandle : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , transactionnotification : * mut TRANSACTION_NOTIFICATION , transactionnotificationlength : u32 , returnlength : * mut u32 , lpoverlapped : * mut super::super::System::SystemServices:: OVERLAPPED , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="ktmw32" ) ] extern "system" { fn GetNotificationResourceManagerAsync ( resourcemanagerhandle : super::super::Foundation:: HANDLE , transactionnotification : * mut TRANSACTION_NOTIFICATION , transactionnotificationlength : u32 , returnlength : * mut u32 , lpoverlapped : * mut super::super::System::SystemServices:: OVERLAPPED ) -> super::super::Foundation:: BOOL ; } GetNotificationResourceManagerAsync ( resourcemanagerhandle . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( transactionnotification ) , :: std :: mem :: transmute ( transactionnotificationlength ) , :: std :: mem :: transmute ( returnlength ) , :: std :: mem :: transmute ( lpoverlapped ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetQueuedCompletionStatus < 'a , > ( completionport : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , lpnumberofbytestransferred : * mut u32 , lpcompletionkey : * mut usize , lpoverlapped : * mut * mut super::super::System::SystemServices:: OVERLAPPED , dwmilliseconds : u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetQueuedCompletionStatus ( completionport : super::super::Foundation:: HANDLE , lpnumberofbytestransferred : * mut u32 , lpcompletionkey : * mut usize , lpoverlapped : * mut * mut super::super::System::SystemServices:: OVERLAPPED , dwmilliseconds : u32 ) -> super::super::Foundation:: BOOL ; } GetQueuedCompletionStatus ( completionport . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpnumberofbytestransferred ) , :: std :: mem :: transmute ( lpcompletionkey ) , :: std :: mem :: transmute ( lpoverlapped ) , :: std :: mem :: transmute ( dwmilliseconds ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetQueuedCompletionStatusEx < 'a , > ( completionport : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , lpcompletionportentries : * mut OVERLAPPED_ENTRY , ulcount : u32 , ulnumentriesremoved : * mut u32 , dwmilliseconds : u32 , falertable : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetQueuedCompletionStatusEx ( completionport : super::super::Foundation:: HANDLE , lpcompletionportentries : * mut OVERLAPPED_ENTRY , ulcount : u32 , ulnumentriesremoved : * mut u32 , dwmilliseconds : u32 , falertable : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ; } GetQueuedCompletionStatusEx ( completionport . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpcompletionportentries ) , :: std :: mem :: transmute ( ulcount ) , :: std :: mem :: transmute ( ulnumentriesremoved ) , :: std :: mem :: transmute ( dwmilliseconds ) , falertable . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetShortPathNameA < 'a , > ( lpszlongpath : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , lpszshortpath : super::super::Foundation:: PSTR , cchbuffer : u32 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetShortPathNameA ( lpszlongpath : super::super::Foundation:: PSTR , lpszshortpath : super::super::Foundation:: PSTR , cchbuffer : u32 ) -> u32 ; } GetShortPathNameA ( lpszlongpath . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpszshortpath ) , :: std :: mem :: transmute ( cchbuffer ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetShortPathNameW < 'a , > ( lpszlongpath : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , lpszshortpath : super::super::Foundation:: PWSTR , cchbuffer : u32 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetShortPathNameW ( lpszlongpath : super::super::Foundation:: PWSTR , lpszshortpath : super::super::Foundation:: PWSTR , cchbuffer : u32 ) -> u32 ; } GetShortPathNameW ( lpszlongpath . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpszshortpath ) , :: std :: mem :: transmute ( cchbuffer ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetTapeParameters < 'a , > ( hdevice : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , dwoperation : GET_TAPE_DRIVE_PARAMETERS_OPERATION , lpdwsize : * mut u32 , lptapeinformation : * mut :: std :: ffi :: c_void , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetTapeParameters ( hdevice : super::super::Foundation:: HANDLE , dwoperation : GET_TAPE_DRIVE_PARAMETERS_OPERATION , lpdwsize : * mut u32 , lptapeinformation : * mut :: std :: ffi :: c_void ) -> u32 ; } GetTapeParameters ( hdevice . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwoperation ) , :: std :: mem :: transmute ( lpdwsize ) , :: std :: mem :: transmute ( lptapeinformation ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetTapePosition < 'a , > ( hdevice : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , dwpositiontype : TAPE_POSITION_TYPE , lpdwpartition : * mut u32 , lpdwoffsetlow : * mut u32 , lpdwoffsethigh : * mut u32 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetTapePosition ( hdevice : super::super::Foundation:: HANDLE , dwpositiontype : TAPE_POSITION_TYPE , lpdwpartition : * mut u32 , lpdwoffsetlow : * mut u32 , lpdwoffsethigh : * mut u32 ) -> u32 ; } GetTapePosition ( hdevice . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwpositiontype ) , :: std :: mem :: transmute ( lpdwpartition ) , :: std :: mem :: transmute ( lpdwoffsetlow ) , :: std :: mem :: transmute ( lpdwoffsethigh ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetTapeStatus < 'a , > ( hdevice : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetTapeStatus ( hdevice : super::super::Foundation:: HANDLE ) -> u32 ; } GetTapeStatus ( hdevice . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetTempFileNameA < 'a , > ( lppathname : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , lpprefixstring : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , uunique : u32 , lptempfilename : super::super::Foundation:: PSTR , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetTempFileNameA ( lppathname : super::super::Foundation:: PSTR , lpprefixstring : super::super::Foundation:: PSTR , uunique : u32 , lptempfilename : super::super::Foundation:: PSTR ) -> u32 ; } GetTempFileNameA ( lppathname . into_param ( ) . abi ( ) , lpprefixstring . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( uunique ) , :: std :: mem :: transmute ( lptempfilename ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetTempFileNameW < 'a , > ( lppathname : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , lpprefixstring : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , uunique : u32 , lptempfilename : super::super::Foundation:: PWSTR , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetTempFileNameW ( lppathname : super::super::Foundation:: PWSTR , lpprefixstring : super::super::Foundation:: PWSTR , uunique : u32 , lptempfilename : super::super::Foundation:: PWSTR ) -> u32 ; } GetTempFileNameW ( lppathname . into_param ( ) . abi ( ) , lpprefixstring . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( uunique ) , :: std :: mem :: transmute ( lptempfilename ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetTempPathA < > ( nbufferlength : u32 , lpbuffer : super::super::Foundation:: PSTR , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetTempPathA ( nbufferlength : u32 , lpbuffer : super::super::Foundation:: PSTR ) -> u32 ; } GetTempPathA ( :: std :: mem :: transmute ( nbufferlength ) , :: std :: mem :: transmute ( lpbuffer ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetTempPathW < > ( nbufferlength : u32 , lpbuffer : super::super::Foundation:: PWSTR , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetTempPathW ( nbufferlength : u32 , lpbuffer : super::super::Foundation:: PWSTR ) -> u32 ; } GetTempPathW ( :: std :: mem :: transmute ( nbufferlength ) , :: std :: mem :: transmute ( lpbuffer ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetTransactionId < 'a , > ( transactionhandle : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , transactionid : * mut :: windows :: Guid , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="ktmw32" ) ] extern "system" { fn GetTransactionId ( transactionhandle : super::super::Foundation:: HANDLE , transactionid : * mut :: windows :: Guid ) -> super::super::Foundation:: BOOL ; } GetTransactionId ( transactionhandle . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( transactionid ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetTransactionInformation < 'a , > ( transactionhandle : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , outcome : * mut u32 , isolationlevel : * mut u32 , isolationflags : * mut u32 , timeout : * mut u32 , bufferlength : u32 , description : super::super::Foundation:: PWSTR , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="ktmw32" ) ] extern "system" { fn GetTransactionInformation ( transactionhandle : super::super::Foundation:: HANDLE , outcome : * mut u32 , isolationlevel : * mut u32 , isolationflags : * mut u32 , timeout : * mut u32 , bufferlength : u32 , description : super::super::Foundation:: PWSTR ) -> super::super::Foundation:: BOOL ; } GetTransactionInformation ( transactionhandle . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( outcome ) , :: std :: mem :: transmute ( isolationlevel ) , :: std :: mem :: transmute ( isolationflags ) , :: std :: mem :: transmute ( timeout ) , :: std :: mem :: transmute ( bufferlength ) , :: std :: mem :: transmute ( description ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetTransactionManagerId < 'a , > ( transactionmanagerhandle : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , transactionmanagerid : * mut :: windows :: Guid , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="ktmw32" ) ] extern "system" { fn GetTransactionManagerId ( transactionmanagerhandle : super::super::Foundation:: HANDLE , transactionmanagerid : * mut :: windows :: Guid ) -> super::super::Foundation:: BOOL ; } GetTransactionManagerId ( transactionmanagerhandle . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( transactionmanagerid ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetVolumeInformationA < 'a , > ( lprootpathname : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , lpvolumenamebuffer : super::super::Foundation:: PSTR , nvolumenamesize : u32 , lpvolumeserialnumber : * mut u32 , lpmaximumcomponentlength : * mut u32 , lpfilesystemflags : * mut u32 , lpfilesystemnamebuffer : super::super::Foundation:: PSTR , nfilesystemnamesize : u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetVolumeInformationA ( lprootpathname : super::super::Foundation:: PSTR , lpvolumenamebuffer : super::super::Foundation:: PSTR , nvolumenamesize : u32 , lpvolumeserialnumber : * mut u32 , lpmaximumcomponentlength : * mut u32 , lpfilesystemflags : * mut u32 , lpfilesystemnamebuffer : super::super::Foundation:: PSTR , nfilesystemnamesize : u32 ) -> super::super::Foundation:: BOOL ; } GetVolumeInformationA ( lprootpathname . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpvolumenamebuffer ) , :: std :: mem :: transmute ( nvolumenamesize ) , :: std :: mem :: transmute ( lpvolumeserialnumber ) , :: std :: mem :: transmute ( lpmaximumcomponentlength ) , :: std :: mem :: transmute ( lpfilesystemflags ) , :: std :: mem :: transmute ( lpfilesystemnamebuffer ) , :: std :: mem :: transmute ( nfilesystemnamesize ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetVolumeInformationByHandleW < 'a , > ( hfile : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , lpvolumenamebuffer : super::super::Foundation:: PWSTR , nvolumenamesize : u32 , lpvolumeserialnumber : * mut u32 , lpmaximumcomponentlength : * mut u32 , lpfilesystemflags : * mut u32 , lpfilesystemnamebuffer : super::super::Foundation:: PWSTR , nfilesystemnamesize : u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetVolumeInformationByHandleW ( hfile : super::super::Foundation:: HANDLE , lpvolumenamebuffer : super::super::Foundation:: PWSTR , nvolumenamesize : u32 , lpvolumeserialnumber : * mut u32 , lpmaximumcomponentlength : * mut u32 , lpfilesystemflags : * mut u32 , lpfilesystemnamebuffer : super::super::Foundation:: PWSTR , nfilesystemnamesize : u32 ) -> super::super::Foundation:: BOOL ; } GetVolumeInformationByHandleW ( hfile . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpvolumenamebuffer ) , :: std :: mem :: transmute ( nvolumenamesize ) , :: std :: mem :: transmute ( lpvolumeserialnumber ) , :: std :: mem :: transmute ( lpmaximumcomponentlength ) , :: std :: mem :: transmute ( lpfilesystemflags ) , :: std :: mem :: transmute ( lpfilesystemnamebuffer ) , :: std :: mem :: transmute ( nfilesystemnamesize ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetVolumeInformationW < 'a , > ( lprootpathname : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , lpvolumenamebuffer : super::super::Foundation:: PWSTR , nvolumenamesize : u32 , lpvolumeserialnumber : * mut u32 , lpmaximumcomponentlength : * mut u32 , lpfilesystemflags : * mut u32 , lpfilesystemnamebuffer : super::super::Foundation:: PWSTR , nfilesystemnamesize : u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetVolumeInformationW ( lprootpathname : super::super::Foundation:: PWSTR , lpvolumenamebuffer : super::super::Foundation:: PWSTR , nvolumenamesize : u32 , lpvolumeserialnumber : * mut u32 , lpmaximumcomponentlength : * mut u32 , lpfilesystemflags : * mut u32 , lpfilesystemnamebuffer : super::super::Foundation:: PWSTR , nfilesystemnamesize : u32 ) -> super::super::Foundation:: BOOL ; } GetVolumeInformationW ( lprootpathname . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpvolumenamebuffer ) , :: std :: mem :: transmute ( nvolumenamesize ) , :: std :: mem :: transmute ( lpvolumeserialnumber ) , :: std :: mem :: transmute ( lpmaximumcomponentlength ) , :: std :: mem :: transmute ( lpfilesystemflags ) , :: std :: mem :: transmute ( lpfilesystemnamebuffer ) , :: std :: mem :: transmute ( nfilesystemnamesize ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetVolumeNameForVolumeMountPointA < 'a , > ( lpszvolumemountpoint : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , lpszvolumename : super::super::Foundation:: PSTR , cchbufferlength : u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetVolumeNameForVolumeMountPointA ( lpszvolumemountpoint : super::super::Foundation:: PSTR , lpszvolumename : super::super::Foundation:: PSTR , cchbufferlength : u32 ) -> super::super::Foundation:: BOOL ; } GetVolumeNameForVolumeMountPointA ( lpszvolumemountpoint . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpszvolumename ) , :: std :: mem :: transmute ( cchbufferlength ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetVolumeNameForVolumeMountPointW < 'a , > ( lpszvolumemountpoint : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , lpszvolumename : super::super::Foundation:: PWSTR , cchbufferlength : u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetVolumeNameForVolumeMountPointW ( lpszvolumemountpoint : super::super::Foundation:: PWSTR , lpszvolumename : super::super::Foundation:: PWSTR , cchbufferlength : u32 ) -> super::super::Foundation:: BOOL ; } GetVolumeNameForVolumeMountPointW ( lpszvolumemountpoint . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpszvolumename ) , :: std :: mem :: transmute ( cchbufferlength ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetVolumePathNameA < 'a , > ( lpszfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , lpszvolumepathname : super::super::Foundation:: PSTR , cchbufferlength : u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetVolumePathNameA ( lpszfilename : super::super::Foundation:: PSTR , lpszvolumepathname : super::super::Foundation:: PSTR , cchbufferlength : u32 ) -> super::super::Foundation:: BOOL ; } GetVolumePathNameA ( lpszfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpszvolumepathname ) , :: std :: mem :: transmute ( cchbufferlength ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetVolumePathNameW < 'a , > ( lpszfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , lpszvolumepathname : super::super::Foundation:: PWSTR , cchbufferlength : u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetVolumePathNameW ( lpszfilename : super::super::Foundation:: PWSTR , lpszvolumepathname : super::super::Foundation:: PWSTR , cchbufferlength : u32 ) -> super::super::Foundation:: BOOL ; } GetVolumePathNameW ( lpszfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpszvolumepathname ) , :: std :: mem :: transmute ( cchbufferlength ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetVolumePathNamesForVolumeNameA < 'a , > ( lpszvolumename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , lpszvolumepathnames : super::super::Foundation:: PSTR , cchbufferlength : u32 , lpcchreturnlength : * mut u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetVolumePathNamesForVolumeNameA ( lpszvolumename : super::super::Foundation:: PSTR , lpszvolumepathnames : super::super::Foundation:: PSTR , cchbufferlength : u32 , lpcchreturnlength : * mut u32 ) -> super::super::Foundation:: BOOL ; } GetVolumePathNamesForVolumeNameA ( lpszvolumename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpszvolumepathnames ) , :: std :: mem :: transmute ( cchbufferlength ) , :: std :: mem :: transmute ( lpcchreturnlength ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetVolumePathNamesForVolumeNameW < 'a , > ( lpszvolumename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , lpszvolumepathnames : super::super::Foundation:: PWSTR , cchbufferlength : u32 , lpcchreturnlength : * mut u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetVolumePathNamesForVolumeNameW ( lpszvolumename : super::super::Foundation:: PWSTR , lpszvolumepathnames : super::super::Foundation:: PWSTR , cchbufferlength : u32 , lpcchreturnlength : * mut u32 ) -> super::super::Foundation:: BOOL ; } GetVolumePathNamesForVolumeNameW ( lpszvolumename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpszvolumepathnames ) , :: std :: mem :: transmute ( cchbufferlength ) , :: std :: mem :: transmute ( lpcchreturnlength ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn HandleLogFull < 'a , > ( hlog : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="clfsw32" ) ] extern "system" { fn HandleLogFull ( hlog : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ; } HandleLogFull ( hlog . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IDiskQuotaControl ( :: windows :: IUnknown ) ; impl IDiskQuotaControl { pub unsafe fn EnumConnectionPoints < > ( & self , ) -> :: windows :: Result < super::super::System::Com:: IEnumConnectionPoints > { let mut result__ : < super::super::System::Com:: IEnumConnectionPoints as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < super::super::System::Com:: IEnumConnectionPoints > ( result__ ) } pub unsafe fn FindConnectionPoint < > ( & self , riid : * const :: windows :: Guid , ) -> :: windows :: Result < super::super::System::Com:: IConnectionPoint > { let mut result__ : < super::super::System::Com:: IConnectionPoint as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( riid ) , & mut result__ ) . from_abi :: < super::super::System::Com:: IConnectionPoint > ( result__ ) } pub unsafe fn Initialize < 'a , > ( & self , pszpath : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , breadwrite : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , pszpath . into_param ( ) . abi ( ) , breadwrite . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn SetQuotaState < > ( & self , dwstate : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwstate ) , ) . ok ( ) } pub unsafe fn GetQuotaState < > ( & self , pdwstate : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pdwstate ) , ) . ok ( ) } pub unsafe fn SetQuotaLogFlags < > ( & self , dwflags : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwflags ) , ) . ok ( ) } pub unsafe fn GetQuotaLogFlags < > ( & self , pdwflags : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pdwflags ) , ) . ok ( ) } pub unsafe fn SetDefaultQuotaThreshold < > ( & self , llthreshold : i64 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( llthreshold ) , ) . ok ( ) } pub unsafe fn GetDefaultQuotaThreshold < > ( & self , pllthreshold : * mut i64 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .11 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pllthreshold ) , ) . ok ( ) } pub unsafe fn GetDefaultQuotaThresholdText < 'a , > ( & self , psztext : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , cchtext : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .12 ) ( :: windows :: Abi :: abi ( self ) , psztext . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( cchtext ) , ) . ok ( ) } pub unsafe fn SetDefaultQuotaLimit < > ( & self , lllimit : i64 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .13 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( lllimit ) , ) . ok ( ) } pub unsafe fn GetDefaultQuotaLimit < > ( & self , plllimit : * mut i64 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .14 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( plllimit ) , ) . ok ( ) } pub unsafe fn GetDefaultQuotaLimitText < 'a , > ( & self , psztext : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , cchtext : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .15 ) ( :: windows :: Abi :: abi ( self ) , psztext . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( cchtext ) , ) . ok ( ) } pub unsafe fn AddUserSid < 'a , > ( & self , pusersid : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSID > , fnameresolution : DISKQUOTA_USERNAME_RESOLVE , ) -> :: windows :: Result < IDiskQuotaUser > { let mut result__ : < IDiskQuotaUser as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .16 ) ( :: windows :: Abi :: abi ( self ) , pusersid . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( fnameresolution ) , & mut result__ ) . from_abi :: < IDiskQuotaUser > ( result__ ) } pub unsafe fn AddUserName < 'a , > ( & self , pszlogonname : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , fnameresolution : DISKQUOTA_USERNAME_RESOLVE , ) -> :: windows :: Result < IDiskQuotaUser > { let mut result__ : < IDiskQuotaUser as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .17 ) ( :: windows :: Abi :: abi ( self ) , pszlogonname . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( fnameresolution ) , & mut result__ ) . from_abi :: < IDiskQuotaUser > ( result__ ) } pub unsafe fn DeleteUser < 'a , > ( & self , puser : impl :: windows :: IntoParam < 'a , IDiskQuotaUser > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .18 ) ( :: windows :: Abi :: abi ( self ) , puser . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn FindUserSid < 'a , > ( & self , pusersid : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSID > , fnameresolution : DISKQUOTA_USERNAME_RESOLVE , ) -> :: windows :: Result < IDiskQuotaUser > { let mut result__ : < IDiskQuotaUser as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .19 ) ( :: windows :: Abi :: abi ( self ) , pusersid . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( fnameresolution ) , & mut result__ ) . from_abi :: < IDiskQuotaUser > ( result__ ) } pub unsafe fn FindUserName < 'a , > ( & self , pszlogonname : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , ) -> :: windows :: Result < IDiskQuotaUser > { let mut result__ : < IDiskQuotaUser as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .20 ) ( :: windows :: Abi :: abi ( self ) , pszlogonname . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < IDiskQuotaUser > ( result__ ) } pub unsafe fn CreateEnumUsers < > ( & self , rgpusersids : * mut super::super::Foundation:: PSID , cpsids : u32 , fnameresolution : DISKQUOTA_USERNAME_RESOLVE , ppenum : * mut :: std :: option :: Option < IEnumDiskQuotaUsers > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .21 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( rgpusersids ) , :: std :: mem :: transmute ( cpsids ) , :: std :: mem :: transmute ( fnameresolution ) , :: std :: mem :: transmute ( ppenum ) , ) . ok ( ) } pub unsafe fn CreateUserBatch < > ( & self , ) -> :: windows :: Result < IDiskQuotaUserBatch > { let mut result__ : < IDiskQuotaUserBatch as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .22 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < IDiskQuotaUserBatch > ( result__ ) } pub unsafe fn InvalidateSidNameCache < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .23 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn GiveUserNameResolutionPriority < 'a , > ( & self , puser : impl :: windows :: IntoParam < 'a , IDiskQuotaUser > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .24 ) ( :: windows :: Abi :: abi ( self ) , puser . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn ShutdownNameResolution < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .25 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IDiskQuotaControl { type Vtable = IDiskQuotaControl_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2039002482 ,60553 ,4559 , [ 156 ,0 ,0 ,170 ,0 ,161 ,79 ,86 ] , ) ; } impl :: std :: convert :: From < IDiskQuotaControl > for :: windows :: IUnknown { fn from ( value : IDiskQuotaControl ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IDiskQuotaControl > for :: windows :: IUnknown { fn from ( value : & IDiskQuotaControl ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IDiskQuotaControl { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: IUnknown > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < :: windows :: IUnknown > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for & 'a IDiskQuotaControl { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: IUnknown > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < :: windows :: IUnknown > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } impl :: std :: convert :: From < IDiskQuotaControl > for super::super::System::Com:: IConnectionPointContainer { fn from ( value : IDiskQuotaControl ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IDiskQuotaControl > for super::super::System::Com:: IConnectionPointContainer { fn from ( value : & IDiskQuotaControl ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , super::super::System::Com:: IConnectionPointContainer > for IDiskQuotaControl { fn into_param ( self ) -> :: windows :: Param < 'a , super::super::System::Com:: IConnectionPointContainer > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < super::super::System::Com:: IConnectionPointContainer > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , super::super::System::Com:: IConnectionPointContainer > for & 'a IDiskQuotaControl { fn into_param ( self ) -> :: windows :: Param < 'a , super::super::System::Com:: IConnectionPointContainer > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < super::super::System::Com:: IConnectionPointContainer > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IDiskQuotaControl_abi ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr ) -> u32 , pub unsafe extern "system" fn ( this : :: windows :: RawPtr ) -> u32 , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppenum : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , riid : * const :: windows :: Guid , ppcp : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pszpath : super::super::Foundation:: PWSTR , breadwrite : super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwstate : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pdwstate : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwflags : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pdwflags : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , llthreshold : i64 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pllthreshold : * mut i64 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , psztext : super::super::Foundation:: PWSTR , cchtext : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , lllimit : i64 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , plllimit : * mut i64 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , psztext : super::super::Foundation:: PWSTR , cchtext : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pusersid : super::super::Foundation:: PSID , fnameresolution : DISKQUOTA_USERNAME_RESOLVE , ppuser : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pszlogonname : super::super::Foundation:: PWSTR , fnameresolution : DISKQUOTA_USERNAME_RESOLVE , ppuser : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , puser : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pusersid : super::super::Foundation:: PSID , fnameresolution : DISKQUOTA_USERNAME_RESOLVE , ppuser : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pszlogonname : super::super::Foundation:: PWSTR , ppuser : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , rgpusersids : * mut super::super::Foundation:: PSID , cpsids : u32 , fnameresolution : DISKQUOTA_USERNAME_RESOLVE , ppenum : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppbatch : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , puser : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IDiskQuotaEvents ( :: windows :: IUnknown ) ; impl IDiskQuotaEvents { pub unsafe fn OnUserNameChanged < 'a , > ( & self , puser : impl :: windows :: IntoParam < 'a , IDiskQuotaUser > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , puser . into_param ( ) . abi ( ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IDiskQuotaEvents { type Vtable = IDiskQuotaEvents_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2039002489 ,60553 ,4559 , [ 156 ,0 ,0 ,170 ,0 ,161 ,79 ,86 ] , ) ; } impl :: std :: convert :: From < IDiskQuotaEvents > for :: windows :: IUnknown { fn from ( value : IDiskQuotaEvents ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IDiskQuotaEvents > for :: windows :: IUnknown { fn from ( value : & IDiskQuotaEvents ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IDiskQuotaEvents { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: IUnknown > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < :: windows :: IUnknown > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for & 'a IDiskQuotaEvents { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: IUnknown > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < :: windows :: IUnknown > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IDiskQuotaEvents_abi ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr ) -> u32 , pub unsafe extern "system" fn ( this : :: windows :: RawPtr ) -> u32 , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , puser : :: windows :: RawPtr , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IDiskQuotaUser ( :: windows :: IUnknown ) ; impl IDiskQuotaUser { pub unsafe fn GetID < > ( & self , pulid : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pulid ) , ) . ok ( ) } pub unsafe fn GetName < 'a , > ( & self , pszaccountcontainer : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , cchaccountcontainer : u32 , pszlogonname : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , cchlogonname : u32 , pszdisplayname : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , cchdisplayname : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , pszaccountcontainer . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( cchaccountcontainer ) , pszlogonname . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( cchlogonname ) , pszdisplayname . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( cchdisplayname ) , ) . ok ( ) } pub unsafe fn GetSidLength < > ( & self , pdwlength : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pdwlength ) , ) . ok ( ) } pub unsafe fn GetSid < > ( & self , pbsidbuffer : * mut u8 , cbsidbuffer : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pbsidbuffer ) , :: std :: mem :: transmute ( cbsidbuffer ) , ) . ok ( ) } pub unsafe fn GetQuotaThreshold < > ( & self , pllthreshold : * mut i64 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pllthreshold ) , ) . ok ( ) } pub unsafe fn GetQuotaThresholdText < 'a , > ( & self , psztext : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , cchtext : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , psztext . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( cchtext ) , ) . ok ( ) } pub unsafe fn GetQuotaLimit < > ( & self , plllimit : * mut i64 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( plllimit ) , ) . ok ( ) } pub unsafe fn GetQuotaLimitText < 'a , > ( & self , psztext : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , cchtext : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , psztext . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( cchtext ) , ) . ok ( ) } pub unsafe fn GetQuotaUsed < > ( & self , pllused : * mut i64 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .11 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pllused ) , ) . ok ( ) } pub unsafe fn GetQuotaUsedText < 'a , > ( & self , psztext : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , cchtext : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .12 ) ( :: windows :: Abi :: abi ( self ) , psztext . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( cchtext ) , ) . ok ( ) } pub unsafe fn GetQuotaInformation < > ( & self , pbquotainfo : * mut :: std :: ffi :: c_void , cbquotainfo : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .13 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pbquotainfo ) , :: std :: mem :: transmute ( cbquotainfo ) , ) . ok ( ) } pub unsafe fn SetQuotaThreshold < 'a , > ( & self , llthreshold : i64 , fwritethrough : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .14 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( llthreshold ) , fwritethrough . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn SetQuotaLimit < 'a , > ( & self , lllimit : i64 , fwritethrough : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .15 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( lllimit ) , fwritethrough . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn Invalidate < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .16 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn GetAccountStatus < > ( & self , pdwstatus : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .17 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pdwstatus ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IDiskQuotaUser { type Vtable = IDiskQuotaUser_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2039002484 ,60553 ,4559 , [ 156 ,0 ,0 ,170 ,0 ,161 ,79 ,86 ] , ) ; } impl :: std :: convert :: From < IDiskQuotaUser > for :: windows :: IUnknown { fn from ( value : IDiskQuotaUser ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IDiskQuotaUser > for :: windows :: IUnknown { fn from ( value : & IDiskQuotaUser ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IDiskQuotaUser { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: IUnknown > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < :: windows :: IUnknown > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for & 'a IDiskQuotaUser { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: IUnknown > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < :: windows :: IUnknown > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IDiskQuotaUser_abi ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr ) -> u32 , pub unsafe extern "system" fn ( this : :: windows :: RawPtr ) -> u32 , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pulid : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pszaccountcontainer : super::super::Foundation:: PWSTR , cchaccountcontainer : u32 , pszlogonname : super::super::Foundation:: PWSTR , cchlogonname : u32 , pszdisplayname : super::super::Foundation:: PWSTR , cchdisplayname : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pdwlength : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pbsidbuffer : * mut u8 , cbsidbuffer : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pllthreshold : * mut i64 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , psztext : super::super::Foundation:: PWSTR , cchtext : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , plllimit : * mut i64 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , psztext : super::super::Foundation:: PWSTR , cchtext : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pllused : * mut i64 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , psztext : super::super::Foundation:: PWSTR , cchtext : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pbquotainfo : * mut :: std :: ffi :: c_void , cbquotainfo : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , llthreshold : i64 , fwritethrough : super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , lllimit : i64 , fwritethrough : super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pdwstatus : * mut u32 , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IDiskQuotaUserBatch ( :: windows :: IUnknown ) ; impl IDiskQuotaUserBatch { pub unsafe fn Add < 'a , > ( & self , puser : impl :: windows :: IntoParam < 'a , IDiskQuotaUser > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , puser . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn Remove < 'a , > ( & self , puser : impl :: windows :: IntoParam < 'a , IDiskQuotaUser > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , puser . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn RemoveAll < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn FlushToDisk < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IDiskQuotaUserBatch { type Vtable = IDiskQuotaUserBatch_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2039002486 ,60553 ,4559 , [ 156 ,0 ,0 ,170 ,0 ,161 ,79 ,86 ] , ) ; } impl :: std :: convert :: From < IDiskQuotaUserBatch > for :: windows :: IUnknown { fn from ( value : IDiskQuotaUserBatch ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IDiskQuotaUserBatch > for :: windows :: IUnknown { fn from ( value : & IDiskQuotaUserBatch ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IDiskQuotaUserBatch { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: IUnknown > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < :: windows :: IUnknown > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for & 'a IDiskQuotaUserBatch { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: IUnknown > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < :: windows :: IUnknown > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IDiskQuotaUserBatch_abi ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr ) -> u32 , pub unsafe extern "system" fn ( this : :: windows :: RawPtr ) -> u32 , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , puser : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , puser : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IEnumDiskQuotaUsers ( :: windows :: IUnknown ) ; impl IEnumDiskQuotaUsers { pub unsafe fn Next < > ( & self , cusers : u32 , rgusers : * mut :: std :: option :: Option < IDiskQuotaUser > , pcusersfetched : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( cusers ) , :: std :: mem :: transmute ( rgusers ) , :: std :: mem :: transmute ( pcusersfetched ) , ) . ok ( ) } pub unsafe fn Skip < > ( & self , cusers : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( cusers ) , ) . ok ( ) } pub unsafe fn Reset < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn Clone < > ( & self , ) -> :: windows :: Result < IEnumDiskQuotaUsers > { let mut result__ : < IEnumDiskQuotaUsers as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < IEnumDiskQuotaUsers > ( result__ ) } } unsafe impl :: windows :: Interface for IEnumDiskQuotaUsers { type Vtable = IEnumDiskQuotaUsers_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2039002487 ,60553 ,4559 , [ 156 ,0 ,0 ,170 ,0 ,161 ,79 ,86 ] , ) ; } impl :: std :: convert :: From < IEnumDiskQuotaUsers > for :: windows :: IUnknown { fn from ( value : IEnumDiskQuotaUsers ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IEnumDiskQuotaUsers > for :: windows :: IUnknown { fn from ( value : & IEnumDiskQuotaUsers ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IEnumDiskQuotaUsers { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: IUnknown > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < :: windows :: IUnknown > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for & 'a IEnumDiskQuotaUsers { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: IUnknown > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < :: windows :: IUnknown > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IEnumDiskQuotaUsers_abi ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr ) -> u32 , pub unsafe extern "system" fn ( this : :: windows :: RawPtr ) -> u32 , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , cusers : u32 , rgusers : * mut :: windows :: RawPtr , pcusersfetched : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , cusers : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppenum : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , ) ; pub const IOCTL_VOLUME_ALLOCATE_BC_STREAM : u32 = 5685312u32 ; pub const IOCTL_VOLUME_BC_VERSION : u32 = 1u32 ; pub const IOCTL_VOLUME_FREE_BC_STREAM : u32 = 5685316u32 ; pub const IOCTL_VOLUME_GET_BC_PROPERTIES : u32 = 5652540u32 ; pub const IOCTL_VOLUME_GET_CSVBLOCKCACHE_CALLBACK : u32 = 5685352u32 ; pub const IOCTL_VOLUME_IS_CSV : u32 = 5636192u32 ; pub const IOCTL_VOLUME_IS_DYNAMIC : u32 = 5636168u32 ; pub const IOCTL_VOLUME_IS_IO_CAPABLE : u32 = 5636116u32 ; pub const IOCTL_VOLUME_IS_OFFLINE : u32 = 5636112u32 ; pub const IOCTL_VOLUME_IS_PARTITION : u32 = 5636136u32 ; pub const IOCTL_VOLUME_LOGICAL_TO_PHYSICAL : u32 = 5636128u32 ; pub const IOCTL_VOLUME_PHYSICAL_TO_LOGICAL : u32 = 5636132u32 ; pub const IOCTL_VOLUME_POST_ONLINE : u32 = 5685348u32 ; pub const IOCTL_VOLUME_PREPARE_FOR_CRITICAL_IO : u32 = 5685324u32 ; pub const IOCTL_VOLUME_PREPARE_FOR_SHRINK : u32 = 5685340u32 ; pub const IOCTL_VOLUME_QUERY_ALLOCATION_HINT : u32 = 5652562u32 ; pub const IOCTL_VOLUME_QUERY_FAILOVER_SET : u32 = 5636120u32 ; pub const IOCTL_VOLUME_QUERY_MINIMUM_SHRINK_SIZE : u32 = 5652568u32 ; pub const IOCTL_VOLUME_QUERY_VOLUME_NUMBER : u32 = 5636124u32 ; pub const IOCTL_VOLUME_READ_PLEX : u32 = 5652526u32 ; pub const IOCTL_VOLUME_SET_GPT_ATTRIBUTES : u32 = 5636148u32 ; pub const IOCTL_VOLUME_SUPPORTS_ONLINE_OFFLINE : u32 = 5636100u32 ; pub const IOCTL_VOLUME_UPDATE_PROPERTIES : u32 = 5636180u32 ; pub unsafe fn InstallLogPolicy < 'a , > ( hlog : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , ppolicy : * mut CLFS_MGMT_POLICY , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="clfsw32" ) ] extern "system" { fn InstallLogPolicy ( hlog : super::super::Foundation:: HANDLE , ppolicy : * mut CLFS_MGMT_POLICY ) -> super::super::Foundation:: BOOL ; } InstallLogPolicy ( hlog . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ppolicy ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KCRM_MARSHAL_HEADER { pub VersionMajor : u32 , pub VersionMinor : u32 , pub NumProtocols : u32 , pub Unused : u32 } impl KCRM_MARSHAL_HEADER { } impl :: std :: default :: Default for KCRM_MARSHAL_HEADER { fn default ( ) -> Self { Self { VersionMajor : 0 , VersionMinor : 0 , NumProtocols : 0 , Unused : 0 } } } impl :: std :: fmt :: Debug for KCRM_MARSHAL_HEADER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KCRM_MARSHAL_HEADER" ) . field ( "VersionMajor" , & self . VersionMajor ) . field ( "VersionMinor" , & self . VersionMinor ) . field ( "NumProtocols" , & self . NumProtocols ) . field ( "Unused" , & self . Unused ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KCRM_MARSHAL_HEADER { fn eq ( & self , other : & Self ) -> bool { self . VersionMajor == other . VersionMajor && self . VersionMinor == other . VersionMinor && self . NumProtocols == other . NumProtocols && self . Unused == other . Unused } } impl :: std :: cmp :: Eq for KCRM_MARSHAL_HEADER { } unsafe impl :: windows :: Abi for KCRM_MARSHAL_HEADER { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KCRM_PROTOCOL_BLOB { pub ProtocolId : :: windows :: Guid , pub StaticInfoLength : u32 , pub TransactionIdInfoLength : u32 , pub Unused1 : u32 , pub Unused2 : u32 } impl KCRM_PROTOCOL_BLOB { } impl :: std :: default :: Default for KCRM_PROTOCOL_BLOB { fn default ( ) -> Self { Self { ProtocolId : :: std :: default :: Default :: default ( ) , StaticInfoLength : 0 , TransactionIdInfoLength : 0 , Unused1 : 0 , Unused2 : 0 } } } impl :: std :: fmt :: Debug for KCRM_PROTOCOL_BLOB { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KCRM_PROTOCOL_BLOB" ) . field ( "ProtocolId" , & self . ProtocolId ) . field ( "StaticInfoLength" , & self . StaticInfoLength ) . field ( "TransactionIdInfoLength" , & self . TransactionIdInfoLength ) . field ( "Unused1" , & self . Unused1 ) . field ( "Unused2" , & self . Unused2 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KCRM_PROTOCOL_BLOB { fn eq ( & self , other : & Self ) -> bool { self . ProtocolId == other . ProtocolId && self . StaticInfoLength == other . StaticInfoLength && self . TransactionIdInfoLength == other . TransactionIdInfoLength && self . Unused1 == other . Unused1 && self . Unused2 == other . Unused2 } } impl :: std :: cmp :: Eq for KCRM_PROTOCOL_BLOB { } unsafe impl :: windows :: Abi for KCRM_PROTOCOL_BLOB { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KCRM_TRANSACTION_BLOB { pub UOW : :: windows :: Guid , pub TmIdentity : :: windows :: Guid , pub IsolationLevel : u32 , pub IsolationFlags : u32 , pub Timeout : u32 , pub Description : [ u16 ;64 ] } impl KCRM_TRANSACTION_BLOB { } impl :: std :: default :: Default for KCRM_TRANSACTION_BLOB { fn default ( ) -> Self { Self { UOW : :: std :: default :: Default :: default ( ) , TmIdentity : :: std :: default :: Default :: default ( ) , IsolationLevel : 0 , IsolationFlags : 0 , Timeout : 0 , Description : [ 0 ;64 ] } } } impl :: std :: fmt :: Debug for KCRM_TRANSACTION_BLOB { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KCRM_TRANSACTION_BLOB" ) . field ( "UOW" , & self . UOW ) . field ( "TmIdentity" , & self . TmIdentity ) . field ( "IsolationLevel" , & self . IsolationLevel ) . field ( "IsolationFlags" , & self . IsolationFlags ) . field ( "Timeout" , & self . Timeout ) . field ( "Description" , & self . Description ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KCRM_TRANSACTION_BLOB { fn eq ( & self , other : & Self ) -> bool { self . UOW == other . UOW && self . TmIdentity == other . TmIdentity && self . IsolationLevel == other . IsolationLevel && self . IsolationFlags == other . IsolationFlags && self . Timeout == other . Timeout && self . Description == other . Description } } impl :: std :: cmp :: Eq for KCRM_TRANSACTION_BLOB { } unsafe impl :: windows :: Abi for KCRM_TRANSACTION_BLOB { type Abi = Self ; type DefaultType = Self ; } pub const KTM_MARSHAL_BLOB_VERSION_MAJOR : u32 = 1u32 ; pub const KTM_MARSHAL_BLOB_VERSION_MINOR : u32 = 1u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct LOCK_FILE_FLAGS ( pub u32 ) ; pub const LOCKFILE_EXCLUSIVE_LOCK : LOCK_FILE_FLAGS = LOCK_FILE_FLAGS ( 2u32 ) ; pub const LOCKFILE_FAIL_IMMEDIATELY : LOCK_FILE_FLAGS = LOCK_FILE_FLAGS ( 1u32 ) ; impl :: std :: convert :: From < u32 > for LOCK_FILE_FLAGS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for LOCK_FILE_FLAGS { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for LOCK_FILE_FLAGS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for LOCK_FILE_FLAGS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for LOCK_FILE_FLAGS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for LOCK_FILE_FLAGS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ derive ( :: std :: clone :: Clone ) ] # [ repr ( C ) ] pub struct LOG_MANAGEMENT_CALLBACKS { pub CallbackContext : * mut :: std :: ffi :: c_void , pub AdvanceTailCallback : :: std :: option :: Option < PLOG_TAIL_ADVANCE_CALLBACK > , pub LogFullHandlerCallback : :: std :: option :: Option < PLOG_FULL_HANDLER_CALLBACK > , pub LogUnpinnedCallback : :: std :: option :: Option < PLOG_UNPINNED_CALLBACK > } impl LOG_MANAGEMENT_CALLBACKS { } impl :: std :: default :: Default for LOG_MANAGEMENT_CALLBACKS { fn default ( ) -> Self { Self { CallbackContext : :: std :: ptr :: null_mut ( ) , AdvanceTailCallback : :: std :: default :: Default :: default ( ) , LogFullHandlerCallback : :: std :: default :: Default :: default ( ) , LogUnpinnedCallback : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for LOG_MANAGEMENT_CALLBACKS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "LOG_MANAGEMENT_CALLBACKS" ) . field ( "CallbackContext" , & self . CallbackContext ) . finish ( ) } } impl :: std :: cmp :: PartialEq for LOG_MANAGEMENT_CALLBACKS { fn eq ( & self , other : & Self ) -> bool { self . CallbackContext == other . CallbackContext && self . AdvanceTailCallback . map ( | f | f as usize ) == other . AdvanceTailCallback . map ( | f | f as usize ) && self . LogFullHandlerCallback . map ( | f | f as usize ) == other . LogFullHandlerCallback . map ( | f | f as usize ) && self . LogUnpinnedCallback . map ( | f | f as usize ) == other . LogUnpinnedCallback . map ( | f | f as usize ) } } impl :: std :: cmp :: Eq for LOG_MANAGEMENT_CALLBACKS { } # [ repr ( C ) ] # [ doc ( hidden ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct LOG_MANAGEMENT_CALLBACKS_abi { pub CallbackContext : * mut :: std :: ffi :: c_void , pub AdvanceTailCallback : :: windows :: RawPtr , pub LogFullHandlerCallback : :: windows :: RawPtr , pub LogUnpinnedCallback : :: windows :: RawPtr } unsafe impl :: windows :: Abi for LOG_MANAGEMENT_CALLBACKS { type Abi = LOG_MANAGEMENT_CALLBACKS_abi ; type DefaultType = Self ; } pub const LOG_POLICY_OVERWRITE : u32 = 1u32 ; pub const LOG_POLICY_PERSIST : u32 = 2u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct LOOKUP_STREAM_FROM_CLUSTER_ENTRY { pub OffsetToNext : u32 , pub Flags : u32 , pub Reserved : i64 , pub Cluster : i64 , pub FileName : [ u16 ;1 ] } impl LOOKUP_STREAM_FROM_CLUSTER_ENTRY { } impl :: std :: default :: Default for LOOKUP_STREAM_FROM_CLUSTER_ENTRY { fn default ( ) -> Self { Self { OffsetToNext : 0 , Flags : 0 , Reserved : 0 , Cluster : 0 , FileName : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for LOOKUP_STREAM_FROM_CLUSTER_ENTRY { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "LOOKUP_STREAM_FROM_CLUSTER_ENTRY" ) . field ( "OffsetToNext" , & self . OffsetToNext ) . field ( "Flags" , & self . Flags ) . field ( "Reserved" , & self . Reserved ) . field ( "Cluster" , & self . Cluster ) . field ( "FileName" , & self . FileName ) . finish ( ) } } impl :: std :: cmp :: PartialEq for LOOKUP_STREAM_FROM_CLUSTER_ENTRY { fn eq ( & self , other : & Self ) -> bool { self . OffsetToNext == other . OffsetToNext && self . Flags == other . Flags && self . Reserved == other . Reserved && self . Cluster == other . Cluster && self . FileName == other . FileName } } impl :: std :: cmp :: Eq for LOOKUP_STREAM_FROM_CLUSTER_ENTRY { } unsafe impl :: windows :: Abi for LOOKUP_STREAM_FROM_CLUSTER_ENTRY { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct LOOKUP_STREAM_FROM_CLUSTER_INPUT { pub Flags : u32 , pub NumberOfClusters : u32 , pub Cluster : [ i64 ;1 ] } impl LOOKUP_STREAM_FROM_CLUSTER_INPUT { } impl :: std :: default :: Default for LOOKUP_STREAM_FROM_CLUSTER_INPUT { fn default ( ) -> Self { Self { Flags : 0 , NumberOfClusters : 0 , Cluster : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for LOOKUP_STREAM_FROM_CLUSTER_INPUT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "LOOKUP_STREAM_FROM_CLUSTER_INPUT" ) . field ( "Flags" , & self . Flags ) . field ( "NumberOfClusters" , & self . NumberOfClusters ) . field ( "Cluster" , & self . Cluster ) . finish ( ) } } impl :: std :: cmp :: PartialEq for LOOKUP_STREAM_FROM_CLUSTER_INPUT { fn eq ( & self , other : & Self ) -> bool { self . Flags == other . Flags && self . NumberOfClusters == other . NumberOfClusters && self . Cluster == other . Cluster } } impl :: std :: cmp :: Eq for LOOKUP_STREAM_FROM_CLUSTER_INPUT { } unsafe impl :: windows :: Abi for LOOKUP_STREAM_FROM_CLUSTER_INPUT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct LOOKUP_STREAM_FROM_CLUSTER_OUTPUT { pub Offset : u32 , pub NumberOfMatches : u32 , pub BufferSizeRequired : u32 } impl LOOKUP_STREAM_FROM_CLUSTER_OUTPUT { } impl :: std :: default :: Default for LOOKUP_STREAM_FROM_CLUSTER_OUTPUT { fn default ( ) -> Self { Self { Offset : 0 , NumberOfMatches : 0 , BufferSizeRequired : 0 } } } impl :: std :: fmt :: Debug for LOOKUP_STREAM_FROM_CLUSTER_OUTPUT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "LOOKUP_STREAM_FROM_CLUSTER_OUTPUT" ) . field ( "Offset" , & self . Offset ) . field ( "NumberOfMatches" , & self . NumberOfMatches ) . field ( "BufferSizeRequired" , & self . BufferSizeRequired ) . finish ( ) } } impl :: std :: cmp :: PartialEq for LOOKUP_STREAM_FROM_CLUSTER_OUTPUT { fn eq ( & self , other : & Self ) -> bool { self . Offset == other . Offset && self . NumberOfMatches == other . NumberOfMatches && self . BufferSizeRequired == other . BufferSizeRequired } } impl :: std :: cmp :: Eq for LOOKUP_STREAM_FROM_CLUSTER_OUTPUT { } unsafe impl :: windows :: Abi for LOOKUP_STREAM_FROM_CLUSTER_OUTPUT { type Abi = Self ; type DefaultType = Self ; } pub type LPOVERLAPPED_COMPLETION_ROUTINE = unsafe extern "system" fn ( dwerrorcode : u32 , dwnumberofbytestransfered : u32 , lpoverlapped : * mut super::super::System::SystemServices:: OVERLAPPED ) ; pub type LPPROGRESS_ROUTINE = unsafe extern "system" fn ( totalfilesize : i64 , totalbytestransferred : i64 , streamsize : i64 , streambytestransferred : i64 , dwstreamnumber : u32 , dwcallbackreason : LPPROGRESS_ROUTINE_CALLBACK_REASON , hsourcefile : super::super::Foundation:: HANDLE , hdestinationfile : super::super::Foundation:: HANDLE , lpdata : * mut :: std :: ffi :: c_void ) -> u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct LPPROGRESS_ROUTINE_CALLBACK_REASON ( pub u32 ) ; pub const CALLBACK_CHUNK_FINISHED : LPPROGRESS_ROUTINE_CALLBACK_REASON = LPPROGRESS_ROUTINE_CALLBACK_REASON ( 0u32 ) ; pub const CALLBACK_STREAM_SWITCH : LPPROGRESS_ROUTINE_CALLBACK_REASON = LPPROGRESS_ROUTINE_CALLBACK_REASON ( 1u32 ) ; impl :: std :: convert :: From < u32 > for LPPROGRESS_ROUTINE_CALLBACK_REASON { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for LPPROGRESS_ROUTINE_CALLBACK_REASON { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for LPPROGRESS_ROUTINE_CALLBACK_REASON { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for LPPROGRESS_ROUTINE_CALLBACK_REASON { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for LPPROGRESS_ROUTINE_CALLBACK_REASON { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for LPPROGRESS_ROUTINE_CALLBACK_REASON { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub unsafe fn LZClose < > ( hfile : i32 , ) { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn LZClose ( hfile : i32 ) ; } LZClose ( :: std :: mem :: transmute ( hfile ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn LZCopy < > ( hfsource : i32 , hfdest : i32 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn LZCopy ( hfsource : i32 , hfdest : i32 ) -> i32 ; } LZCopy ( :: std :: mem :: transmute ( hfsource ) , :: std :: mem :: transmute ( hfdest ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn LZDone < > ( ) { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn LZDone ( ) ; } LZDone ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub const LZERROR_BADINHANDLE : i32 = -1i32 ; pub const LZERROR_BADOUTHANDLE : i32 = -2i32 ; pub const LZERROR_BADVALUE : i32 = -7i32 ; pub const LZERROR_GLOBALLOC : i32 = -5i32 ; pub const LZERROR_GLOBLOCK : i32 = -6i32 ; pub const LZERROR_READ : i32 = -3i32 ; pub const LZERROR_UNKNOWNALG : i32 = -8i32 ; pub const LZERROR_WRITE : i32 = -4i32 ; pub unsafe fn LZInit < > ( hfsource : i32 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn LZInit ( hfsource : i32 ) -> i32 ; } LZInit ( :: std :: mem :: transmute ( hfsource ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct LZOPENFILE_STYLE ( pub u32 ) ; pub const OF_CANCEL : LZOPENFILE_STYLE = LZOPENFILE_STYLE ( 2048u32 ) ; pub const OF_CREATE : LZOPENFILE_STYLE = LZOPENFILE_STYLE ( 4096u32 ) ; pub const OF_DELETE : LZOPENFILE_STYLE = LZOPENFILE_STYLE ( 512u32 ) ; pub const OF_EXIST : LZOPENFILE_STYLE = LZOPENFILE_STYLE ( 16384u32 ) ; pub const OF_PARSE : LZOPENFILE_STYLE = LZOPENFILE_STYLE ( 256u32 ) ; pub const OF_PROMPT : LZOPENFILE_STYLE = LZOPENFILE_STYLE ( 8192u32 ) ; pub const OF_READ : LZOPENFILE_STYLE = LZOPENFILE_STYLE ( 0u32 ) ; pub const OF_READWRITE : LZOPENFILE_STYLE = LZOPENFILE_STYLE ( 2u32 ) ; pub const OF_REOPEN : LZOPENFILE_STYLE = LZOPENFILE_STYLE ( 32768u32 ) ; pub const OF_SHARE_DENY_NONE : LZOPENFILE_STYLE = LZOPENFILE_STYLE ( 64u32 ) ; pub const OF_SHARE_DENY_READ : LZOPENFILE_STYLE = LZOPENFILE_STYLE ( 48u32 ) ; pub const OF_SHARE_DENY_WRITE : LZOPENFILE_STYLE = LZOPENFILE_STYLE ( 32u32 ) ; pub const OF_SHARE_EXCLUSIVE : LZOPENFILE_STYLE = LZOPENFILE_STYLE ( 16u32 ) ; pub const OF_WRITE : LZOPENFILE_STYLE = LZOPENFILE_STYLE ( 1u32 ) ; pub const OF_SHARE_COMPAT : LZOPENFILE_STYLE = LZOPENFILE_STYLE ( 0u32 ) ; pub const OF_VERIFY : LZOPENFILE_STYLE = LZOPENFILE_STYLE ( 1024u32 ) ; impl :: std :: convert :: From < u32 > for LZOPENFILE_STYLE { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for LZOPENFILE_STYLE { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for LZOPENFILE_STYLE { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for LZOPENFILE_STYLE { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for LZOPENFILE_STYLE { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for LZOPENFILE_STYLE { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub unsafe fn LZOpenFileA < 'a , > ( lpfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , lpreopenbuf : * mut OFSTRUCT , wstyle : LZOPENFILE_STYLE , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn LZOpenFileA ( lpfilename : super::super::Foundation:: PSTR , lpreopenbuf : * mut OFSTRUCT , wstyle : LZOPENFILE_STYLE ) -> i32 ; } LZOpenFileA ( lpfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpreopenbuf ) , :: std :: mem :: transmute ( wstyle ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn LZOpenFileW < 'a , > ( lpfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , lpreopenbuf : * mut OFSTRUCT , wstyle : LZOPENFILE_STYLE , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn LZOpenFileW ( lpfilename : super::super::Foundation:: PWSTR , lpreopenbuf : * mut OFSTRUCT , wstyle : LZOPENFILE_STYLE ) -> i32 ; } LZOpenFileW ( lpfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpreopenbuf ) , :: std :: mem :: transmute ( wstyle ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn LZRead < > ( hfile : i32 , lpbuffer : super::super::Foundation:: PSTR , cbread : i32 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn LZRead ( hfile : i32 , lpbuffer : super::super::Foundation:: PSTR , cbread : i32 ) -> i32 ; } LZRead ( :: std :: mem :: transmute ( hfile ) , :: std :: mem :: transmute ( lpbuffer ) , :: std :: mem :: transmute ( cbread ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn LZSeek < > ( hfile : i32 , loffset : i32 , iorigin : i32 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn LZSeek ( hfile : i32 , loffset : i32 , iorigin : i32 ) -> i32 ; } LZSeek ( :: std :: mem :: transmute ( hfile ) , :: std :: mem :: transmute ( loffset ) , :: std :: mem :: transmute ( iorigin ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn LZStart < > ( ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn LZStart ( ) -> i32 ; } LZStart ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn LocalFileTimeToFileTime < > ( lplocalfiletime : * const super::super::Foundation:: FILETIME , lpfiletime : * mut super::super::Foundation:: FILETIME , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn LocalFileTimeToFileTime ( lplocalfiletime : * const super::super::Foundation:: FILETIME , lpfiletime : * mut super::super::Foundation:: FILETIME ) -> super::super::Foundation:: BOOL ; } LocalFileTimeToFileTime ( :: std :: mem :: transmute ( lplocalfiletime ) , :: std :: mem :: transmute ( lpfiletime ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn LockFile < 'a , > ( hfile : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , dwfileoffsetlow : u32 , dwfileoffsethigh : u32 , nnumberofbytestolocklow : u32 , nnumberofbytestolockhigh : u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn LockFile ( hfile : super::super::Foundation:: HANDLE , dwfileoffsetlow : u32 , dwfileoffsethigh : u32 , nnumberofbytestolocklow : u32 , nnumberofbytestolockhigh : u32 ) -> super::super::Foundation:: BOOL ; } LockFile ( hfile . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwfileoffsetlow ) , :: std :: mem :: transmute ( dwfileoffsethigh ) , :: std :: mem :: transmute ( nnumberofbytestolocklow ) , :: std :: mem :: transmute ( nnumberofbytestolockhigh ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn LockFileEx < 'a , > ( hfile : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , dwflags : LOCK_FILE_FLAGS , dwreserved : u32 , nnumberofbytestolocklow : u32 , nnumberofbytestolockhigh : u32 , lpoverlapped : * mut super::super::System::SystemServices:: OVERLAPPED , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn LockFileEx ( hfile : super::super::Foundation:: HANDLE , dwflags : LOCK_FILE_FLAGS , dwreserved : u32 , nnumberofbytestolocklow : u32 , nnumberofbytestolockhigh : u32 , lpoverlapped : * mut super::super::System::SystemServices:: OVERLAPPED ) -> super::super::Foundation:: BOOL ; } LockFileEx ( hfile . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwflags ) , :: std :: mem :: transmute ( dwreserved ) , :: std :: mem :: transmute ( nnumberofbytestolocklow ) , :: std :: mem :: transmute ( nnumberofbytestolockhigh ) , :: std :: mem :: transmute ( lpoverlapped ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn LogTailAdvanceFailure < 'a , > ( hlog : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , dwreason : u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="clfsw32" ) ] extern "system" { fn LogTailAdvanceFailure ( hlog : super::super::Foundation:: HANDLE , dwreason : u32 ) -> super::super::Foundation:: BOOL ; } LogTailAdvanceFailure ( hlog . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwreason ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn LsnBlockOffset < > ( plsn : * const CLS_LSN , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="clfsw32" ) ] extern "system" { fn LsnBlockOffset ( plsn : * const CLS_LSN ) -> u32 ; } LsnBlockOffset ( :: std :: mem :: transmute ( plsn ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn LsnContainer < > ( plsn : * const CLS_LSN , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="clfsw32" ) ] extern "system" { fn LsnContainer ( plsn : * const CLS_LSN ) -> u32 ; } LsnContainer ( :: std :: mem :: transmute ( plsn ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn LsnCreate < > ( cidcontainer : u32 , offblock : u32 , crecord : u32 , ) -> CLS_LSN { # [ cfg ( windows ) ] { # [ link ( name ="clfsw32" ) ] extern "system" { fn LsnCreate ( cidcontainer : u32 , offblock : u32 , crecord : u32 ) -> CLS_LSN ; } LsnCreate ( :: std :: mem :: transmute ( cidcontainer ) , :: std :: mem :: transmute ( offblock ) , :: std :: mem :: transmute ( crecord ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn LsnEqual < > ( plsn1 : * const CLS_LSN , plsn2 : * const CLS_LSN , ) -> u8 { # [ cfg ( windows ) ] { # [ link ( name ="clfsw32" ) ] extern "system" { fn LsnEqual ( plsn1 : * const CLS_LSN , plsn2 : * const CLS_LSN ) -> u8 ; } LsnEqual ( :: std :: mem :: transmute ( plsn1 ) , :: std :: mem :: transmute ( plsn2 ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn LsnGreater < > ( plsn1 : * const CLS_LSN , plsn2 : * const CLS_LSN , ) -> u8 { # [ cfg ( windows ) ] { # [ link ( name ="clfsw32" ) ] extern "system" { fn LsnGreater ( plsn1 : * const CLS_LSN , plsn2 : * const CLS_LSN ) -> u8 ; } LsnGreater ( :: std :: mem :: transmute ( plsn1 ) , :: std :: mem :: transmute ( plsn2 ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn LsnIncrement < > ( plsn : * mut CLS_LSN , ) -> CLS_LSN { # [ cfg ( windows ) ] { # [ link ( name ="clfsw32" ) ] extern "system" { fn LsnIncrement ( plsn : * mut CLS_LSN ) -> CLS_LSN ; } LsnIncrement ( :: std :: mem :: transmute ( plsn ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn LsnInvalid < > ( plsn : * const CLS_LSN , ) -> u8 { # [ cfg ( windows ) ] { # [ link ( name ="clfsw32" ) ] extern "system" { fn LsnInvalid ( plsn : * const CLS_LSN ) -> u8 ; } LsnInvalid ( :: std :: mem :: transmute ( plsn ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn LsnLess < > ( plsn1 : * const CLS_LSN , plsn2 : * const CLS_LSN , ) -> u8 { # [ cfg ( windows ) ] { # [ link ( name ="clfsw32" ) ] extern "system" { fn LsnLess ( plsn1 : * const CLS_LSN , plsn2 : * const CLS_LSN ) -> u8 ; } LsnLess ( :: std :: mem :: transmute ( plsn1 ) , :: std :: mem :: transmute ( plsn2 ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn LsnNull < > ( plsn : * const CLS_LSN , ) -> u8 { # [ cfg ( windows ) ] { # [ link ( name ="clfsw32" ) ] extern "system" { fn LsnNull ( plsn : * const CLS_LSN ) -> u8 ; } LsnNull ( :: std :: mem :: transmute ( plsn ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn LsnRecordSequence < > ( plsn : * const CLS_LSN , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="clfsw32" ) ] extern "system" { fn LsnRecordSequence ( plsn : * const CLS_LSN ) -> u32 ; } LsnRecordSequence ( :: std :: mem :: transmute ( plsn ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct MARK_HANDLE_INFO { pub Anonymous : MARK_HANDLE_INFO_0 , pub VolumeHandle : super::super::Foundation:: HANDLE , pub HandleInfo : u32 } impl MARK_HANDLE_INFO { } impl :: std :: cmp :: PartialEq for MARK_HANDLE_INFO { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for MARK_HANDLE_INFO { } unsafe impl :: windows :: Abi for MARK_HANDLE_INFO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union MARK_HANDLE_INFO_0 { pub UsnSourceInfo : u32 , pub CopyNumber : u32 } impl MARK_HANDLE_INFO_0 { } impl :: std :: cmp :: PartialEq for MARK_HANDLE_INFO_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for MARK_HANDLE_INFO_0 { } unsafe impl :: windows :: Abi for MARK_HANDLE_INFO_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct MARK_HANDLE_INFO32 { pub Anonymous : MARK_HANDLE_INFO32_0 , pub VolumeHandle : u32 , pub HandleInfo : u32 } impl MARK_HANDLE_INFO32 { } impl :: std :: cmp :: PartialEq for MARK_HANDLE_INFO32 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for MARK_HANDLE_INFO32 { } unsafe impl :: windows :: Abi for MARK_HANDLE_INFO32 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union MARK_HANDLE_INFO32_0 { pub UsnSourceInfo : u32 , pub CopyNumber : u32 } impl MARK_HANDLE_INFO32_0 { } impl :: std :: cmp :: PartialEq for MARK_HANDLE_INFO32_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for MARK_HANDLE_INFO32_0 { } unsafe impl :: windows :: Abi for MARK_HANDLE_INFO32_0 { type Abi = Self ; type DefaultType = Self ; } pub type MAXMEDIALABEL = unsafe extern "system" fn ( pmaxsize : * mut u32 ) -> u32 ; pub const MAX_RESOURCEMANAGER_DESCRIPTION_LENGTH : u32 = 64u32 ; pub const MAX_SID_SIZE : u32 = 256u32 ; pub const MAX_TRANSACTION_DESCRIPTION_LENGTH : u32 = 64u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct MEDIA_TYPE ( pub i32 ) ; pub const Unknown : MEDIA_TYPE = MEDIA_TYPE ( 0i32 ) ; pub const F5_1Pt2_512 : MEDIA_TYPE = MEDIA_TYPE ( 1i32 ) ; pub const F3_1Pt44_512 : MEDIA_TYPE = MEDIA_TYPE ( 2i32 ) ; pub const F3_2Pt88_512 : MEDIA_TYPE = MEDIA_TYPE ( 3i32 ) ; pub const F3_20Pt8_512 : MEDIA_TYPE = MEDIA_TYPE ( 4i32 ) ; pub const F3_720_512 : MEDIA_TYPE = MEDIA_TYPE ( 5i32 ) ; pub const F5_360_512 : MEDIA_TYPE = MEDIA_TYPE ( 6i32 ) ; pub const F5_320_512 : MEDIA_TYPE = MEDIA_TYPE ( 7i32 ) ; pub const F5_320_1024 : MEDIA_TYPE = MEDIA_TYPE ( 8i32 ) ; pub const F5_180_512 : MEDIA_TYPE = MEDIA_TYPE ( 9i32 ) ; pub const F5_160_512 : MEDIA_TYPE = MEDIA_TYPE ( 10i32 ) ; pub const RemovableMedia : MEDIA_TYPE = MEDIA_TYPE ( 11i32 ) ; pub const FixedMedia : MEDIA_TYPE = MEDIA_TYPE ( 12i32 ) ; pub const F3_120M_512 : MEDIA_TYPE = MEDIA_TYPE ( 13i32 ) ; pub const F3_640_512 : MEDIA_TYPE = MEDIA_TYPE ( 14i32 ) ; pub const F5_640_512 : MEDIA_TYPE = MEDIA_TYPE ( 15i32 ) ; pub const F5_720_512 : MEDIA_TYPE = MEDIA_TYPE ( 16i32 ) ; pub const F3_1Pt2_512 : MEDIA_TYPE = MEDIA_TYPE ( 17i32 ) ; pub const F3_1Pt23_1024 : MEDIA_TYPE = MEDIA_TYPE ( 18i32 ) ; pub const F5_1Pt23_1024 : MEDIA_TYPE = MEDIA_TYPE ( 19i32 ) ; pub const F3_128Mb_512 : MEDIA_TYPE = MEDIA_TYPE ( 20i32 ) ; pub const F3_230Mb_512 : MEDIA_TYPE = MEDIA_TYPE ( 21i32 ) ; pub const F8_256_128 : MEDIA_TYPE = MEDIA_TYPE ( 22i32 ) ; pub const F3_200Mb_512 : MEDIA_TYPE = MEDIA_TYPE ( 23i32 ) ; pub const F3_240M_512 : MEDIA_TYPE = MEDIA_TYPE ( 24i32 ) ; pub const F3_32M_512 : MEDIA_TYPE = MEDIA_TYPE ( 25i32 ) ; impl :: std :: convert :: From < i32 > for MEDIA_TYPE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for MEDIA_TYPE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct MFT_ENUM_DATA_V0 { pub StartFileReferenceNumber : u64 , pub LowUsn : i64 , pub HighUsn : i64 } impl MFT_ENUM_DATA_V0 { } impl :: std :: default :: Default for MFT_ENUM_DATA_V0 { fn default ( ) -> Self { Self { StartFileReferenceNumber : 0 , LowUsn : 0 , HighUsn : 0 } } } impl :: std :: fmt :: Debug for MFT_ENUM_DATA_V0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "MFT_ENUM_DATA_V0" ) . field ( "StartFileReferenceNumber" , & self . StartFileReferenceNumber ) . field ( "LowUsn" , & self . LowUsn ) . field ( "HighUsn" , & self . HighUsn ) . finish ( ) } } impl :: std :: cmp :: PartialEq for MFT_ENUM_DATA_V0 { fn eq ( & self , other : & Self ) -> bool { self . StartFileReferenceNumber == other . StartFileReferenceNumber && self . LowUsn == other . LowUsn && self . HighUsn == other . HighUsn } } impl :: std :: cmp :: Eq for MFT_ENUM_DATA_V0 { } unsafe impl :: windows :: Abi for MFT_ENUM_DATA_V0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct MFT_ENUM_DATA_V1 { pub StartFileReferenceNumber : u64 , pub LowUsn : i64 , pub HighUsn : i64 , pub MinMajorVersion : u16 , pub MaxMajorVersion : u16 } impl MFT_ENUM_DATA_V1 { } impl :: std :: default :: Default for MFT_ENUM_DATA_V1 { fn default ( ) -> Self { Self { StartFileReferenceNumber : 0 , LowUsn : 0 , HighUsn : 0 , MinMajorVersion : 0 , MaxMajorVersion : 0 } } } impl :: std :: fmt :: Debug for MFT_ENUM_DATA_V1 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "MFT_ENUM_DATA_V1" ) . field ( "StartFileReferenceNumber" , & self . StartFileReferenceNumber ) . field ( "LowUsn" , & self . LowUsn ) . field ( "HighUsn" , & self . HighUsn ) . field ( "MinMajorVersion" , & self . MinMajorVersion ) . field ( "MaxMajorVersion" , & self . MaxMajorVersion ) . finish ( ) } } impl :: std :: cmp :: PartialEq for MFT_ENUM_DATA_V1 { fn eq ( & self , other : & Self ) -> bool { self . StartFileReferenceNumber == other . StartFileReferenceNumber && self . LowUsn == other . LowUsn && self . HighUsn == other . HighUsn && self . MinMajorVersion == other . MinMajorVersion && self . MaxMajorVersion == other . MaxMajorVersion } } impl :: std :: cmp :: Eq for MFT_ENUM_DATA_V1 { } unsafe impl :: windows :: Abi for MFT_ENUM_DATA_V1 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct MOVE_FILE_DATA { pub FileHandle : super::super::Foundation:: HANDLE , pub StartingVcn : i64 , pub StartingLcn : i64 , pub ClusterCount : u32 } impl MOVE_FILE_DATA { } impl :: std :: default :: Default for MOVE_FILE_DATA { fn default ( ) -> Self { Self { FileHandle : :: std :: default :: Default :: default ( ) , StartingVcn : 0 , StartingLcn : 0 , ClusterCount : 0 } } } impl :: std :: fmt :: Debug for MOVE_FILE_DATA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "MOVE_FILE_DATA" ) . field ( "FileHandle" , & self . FileHandle ) . field ( "StartingVcn" , & self . StartingVcn ) . field ( "StartingLcn" , & self . StartingLcn ) . field ( "ClusterCount" , & self . ClusterCount ) . finish ( ) } } impl :: std :: cmp :: PartialEq for MOVE_FILE_DATA { fn eq ( & self , other : & Self ) -> bool { self . FileHandle == other . FileHandle && self . StartingVcn == other . StartingVcn && self . StartingLcn == other . StartingLcn && self . ClusterCount == other . ClusterCount } } impl :: std :: cmp :: Eq for MOVE_FILE_DATA { } unsafe impl :: windows :: Abi for MOVE_FILE_DATA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct MOVE_FILE_FLAGS ( pub u32 ) ; pub const MOVEFILE_COPY_ALLOWED : MOVE_FILE_FLAGS = MOVE_FILE_FLAGS ( 2u32 ) ; pub const MOVEFILE_CREATE_HARDLINK : MOVE_FILE_FLAGS = MOVE_FILE_FLAGS ( 16u32 ) ; pub const MOVEFILE_DELAY_UNTIL_REBOOT : MOVE_FILE_FLAGS = MOVE_FILE_FLAGS ( 4u32 ) ; pub const MOVEFILE_REPLACE_EXISTING : MOVE_FILE_FLAGS = MOVE_FILE_FLAGS ( 1u32 ) ; pub const MOVEFILE_WRITE_THROUGH : MOVE_FILE_FLAGS = MOVE_FILE_FLAGS ( 8u32 ) ; pub const MOVEFILE_FAIL_IF_NOT_TRACKABLE : MOVE_FILE_FLAGS = MOVE_FILE_FLAGS ( 32u32 ) ; impl :: std :: convert :: From < u32 > for MOVE_FILE_FLAGS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for MOVE_FILE_FLAGS { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for MOVE_FILE_FLAGS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for MOVE_FILE_FLAGS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for MOVE_FILE_FLAGS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for MOVE_FILE_FLAGS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct MediaLabelInfo { pub LabelType : [ u16 ;64 ] , pub LabelIDSize : u32 , pub LabelID : [ u8 ;256 ] , pub LabelAppDescr : [ u16 ;256 ] } impl MediaLabelInfo { } impl :: std :: default :: Default for MediaLabelInfo { fn default ( ) -> Self { Self { LabelType : [ 0 ;64 ] , LabelIDSize : 0 , LabelID : [ 0 ;256 ] , LabelAppDescr : [ 0 ;256 ] } } } impl :: std :: fmt :: Debug for MediaLabelInfo { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "MediaLabelInfo" ) . field ( "LabelType" , & self . LabelType ) . field ( "LabelIDSize" , & self . LabelIDSize ) . field ( "LabelID" , & self . LabelID ) . field ( "LabelAppDescr" , & self . LabelAppDescr ) . finish ( ) } } impl :: std :: cmp :: PartialEq for MediaLabelInfo { fn eq ( & self , other : & Self ) -> bool { self . LabelType == other . LabelType && self . LabelIDSize == other . LabelIDSize && self . LabelID == other . LabelID && self . LabelAppDescr == other . LabelAppDescr } } impl :: std :: cmp :: Eq for MediaLabelInfo { } unsafe impl :: windows :: Abi for MediaLabelInfo { type Abi = Self ; type DefaultType = Self ; } pub unsafe fn MoveFileA < 'a , > ( lpexistingfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , lpnewfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn MoveFileA ( lpexistingfilename : super::super::Foundation:: PSTR , lpnewfilename : super::super::Foundation:: PSTR ) -> super::super::Foundation:: BOOL ; } MoveFileA ( lpexistingfilename . into_param ( ) . abi ( ) , lpnewfilename . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn MoveFileExA < 'a , > ( lpexistingfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , lpnewfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , dwflags : MOVE_FILE_FLAGS , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn MoveFileExA ( lpexistingfilename : super::super::Foundation:: PSTR , lpnewfilename : super::super::Foundation:: PSTR , dwflags : MOVE_FILE_FLAGS ) -> super::super::Foundation:: BOOL ; } MoveFileExA ( lpexistingfilename . into_param ( ) . abi ( ) , lpnewfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwflags ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn MoveFileExW < 'a , > ( lpexistingfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , lpnewfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , dwflags : MOVE_FILE_FLAGS , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn MoveFileExW ( lpexistingfilename : super::super::Foundation:: PWSTR , lpnewfilename : super::super::Foundation:: PWSTR , dwflags : MOVE_FILE_FLAGS ) -> super::super::Foundation:: BOOL ; } MoveFileExW ( lpexistingfilename . into_param ( ) . abi ( ) , lpnewfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwflags ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn MoveFileFromAppW < 'a , > ( lpexistingfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , lpnewfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="onecoreuap" ) ] extern "system" { fn MoveFileFromAppW ( lpexistingfilename : super::super::Foundation:: PWSTR , lpnewfilename : super::super::Foundation:: PWSTR ) -> super::super::Foundation:: BOOL ; } MoveFileFromAppW ( lpexistingfilename . into_param ( ) . abi ( ) , lpnewfilename . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn MoveFileTransactedA < 'a , > ( lpexistingfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , lpnewfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , lpprogressroutine : :: std :: option :: Option < LPPROGRESS_ROUTINE > , lpdata : * mut :: std :: ffi :: c_void , dwflags : MOVE_FILE_FLAGS , htransaction : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn MoveFileTransactedA ( lpexistingfilename : super::super::Foundation:: PSTR , lpnewfilename : super::super::Foundation:: PSTR , lpprogressroutine : :: windows :: RawPtr , lpdata : * mut :: std :: ffi :: c_void , dwflags : MOVE_FILE_FLAGS , htransaction : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ; } MoveFileTransactedA ( lpexistingfilename . into_param ( ) . abi ( ) , lpnewfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpprogressroutine ) , :: std :: mem :: transmute ( lpdata ) , :: std :: mem :: transmute ( dwflags ) , htransaction . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn MoveFileTransactedW < 'a , > ( lpexistingfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , lpnewfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , lpprogressroutine : :: std :: option :: Option < LPPROGRESS_ROUTINE > , lpdata : * mut :: std :: ffi :: c_void , dwflags : MOVE_FILE_FLAGS , htransaction : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn MoveFileTransactedW ( lpexistingfilename : super::super::Foundation:: PWSTR , lpnewfilename : super::super::Foundation:: PWSTR , lpprogressroutine : :: windows :: RawPtr , lpdata : * mut :: std :: ffi :: c_void , dwflags : MOVE_FILE_FLAGS , htransaction : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ; } MoveFileTransactedW ( lpexistingfilename . into_param ( ) . abi ( ) , lpnewfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpprogressroutine ) , :: std :: mem :: transmute ( lpdata ) , :: std :: mem :: transmute ( dwflags ) , htransaction . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn MoveFileW < 'a , > ( lpexistingfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , lpnewfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn MoveFileW ( lpexistingfilename : super::super::Foundation:: PWSTR , lpnewfilename : super::super::Foundation:: PWSTR ) -> super::super::Foundation:: BOOL ; } MoveFileW ( lpexistingfilename . into_param ( ) . abi ( ) , lpnewfilename . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn MoveFileWithProgressA < 'a , > ( lpexistingfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , lpnewfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , lpprogressroutine : :: std :: option :: Option < LPPROGRESS_ROUTINE > , lpdata : * mut :: std :: ffi :: c_void , dwflags : MOVE_FILE_FLAGS , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn MoveFileWithProgressA ( lpexistingfilename : super::super::Foundation:: PSTR , lpnewfilename : super::super::Foundation:: PSTR , lpprogressroutine : :: windows :: RawPtr , lpdata : * mut :: std :: ffi :: c_void , dwflags : MOVE_FILE_FLAGS ) -> super::super::Foundation:: BOOL ; } MoveFileWithProgressA ( lpexistingfilename . into_param ( ) . abi ( ) , lpnewfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpprogressroutine ) , :: std :: mem :: transmute ( lpdata ) , :: std :: mem :: transmute ( dwflags ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn MoveFileWithProgressW < 'a , > ( lpexistingfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , lpnewfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , lpprogressroutine : :: std :: option :: Option < LPPROGRESS_ROUTINE > , lpdata : * mut :: std :: ffi :: c_void , dwflags : MOVE_FILE_FLAGS , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn MoveFileWithProgressW ( lpexistingfilename : super::super::Foundation:: PWSTR , lpnewfilename : super::super::Foundation:: PWSTR , lpprogressroutine : :: windows :: RawPtr , lpdata : * mut :: std :: ffi :: c_void , dwflags : MOVE_FILE_FLAGS ) -> super::super::Foundation:: BOOL ; } MoveFileWithProgressW ( lpexistingfilename . into_param ( ) . abi ( ) , lpnewfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpprogressroutine ) , :: std :: mem :: transmute ( lpdata ) , :: std :: mem :: transmute ( dwflags ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct NTFS_EXTENDED_VOLUME_DATA { pub ByteCount : u32 , pub MajorVersion : u16 , pub MinorVersion : u16 , pub BytesPerPhysicalSector : u32 , pub LfsMajorVersion : u16 , pub LfsMinorVersion : u16 , pub MaxDeviceTrimExtentCount : u32 , pub MaxDeviceTrimByteCount : u32 , pub MaxVolumeTrimExtentCount : u32 , pub MaxVolumeTrimByteCount : u32 } impl NTFS_EXTENDED_VOLUME_DATA { } impl :: std :: default :: Default for NTFS_EXTENDED_VOLUME_DATA { fn default ( ) -> Self { Self { ByteCount : 0 , MajorVersion : 0 , MinorVersion : 0 , BytesPerPhysicalSector : 0 , LfsMajorVersion : 0 , LfsMinorVersion : 0 , MaxDeviceTrimExtentCount : 0 , MaxDeviceTrimByteCount : 0 , MaxVolumeTrimExtentCount : 0 , MaxVolumeTrimByteCount : 0 } } } impl :: std :: fmt :: Debug for NTFS_EXTENDED_VOLUME_DATA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "NTFS_EXTENDED_VOLUME_DATA" ) . field ( "ByteCount" , & self . ByteCount ) . field ( "MajorVersion" , & self . MajorVersion ) . field ( "MinorVersion" , & self . MinorVersion ) . field ( "BytesPerPhysicalSector" , & self . BytesPerPhysicalSector ) . field ( "LfsMajorVersion" , & self . LfsMajorVersion ) . field ( "LfsMinorVersion" , & self . LfsMinorVersion ) . field ( "MaxDeviceTrimExtentCount" , & self . MaxDeviceTrimExtentCount ) . field ( "MaxDeviceTrimByteCount" , & self . MaxDeviceTrimByteCount ) . field ( "MaxVolumeTrimExtentCount" , & self . MaxVolumeTrimExtentCount ) . field ( "MaxVolumeTrimByteCount" , & self . MaxVolumeTrimByteCount ) . finish ( ) } } impl :: std :: cmp :: PartialEq for NTFS_EXTENDED_VOLUME_DATA { fn eq ( & self , other : & Self ) -> bool { self . ByteCount == other . ByteCount && self . MajorVersion == other . MajorVersion && self . MinorVersion == other . MinorVersion && self . BytesPerPhysicalSector == other . BytesPerPhysicalSector && self . LfsMajorVersion == other . LfsMajorVersion && self . LfsMinorVersion == other . LfsMinorVersion && self . MaxDeviceTrimExtentCount == other . MaxDeviceTrimExtentCount && self . MaxDeviceTrimByteCount == other . MaxDeviceTrimByteCount && self . MaxVolumeTrimExtentCount == other . MaxVolumeTrimExtentCount && self . MaxVolumeTrimByteCount == other . MaxVolumeTrimByteCount } } impl :: std :: cmp :: Eq for NTFS_EXTENDED_VOLUME_DATA { } unsafe impl :: windows :: Abi for NTFS_EXTENDED_VOLUME_DATA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct NTFS_FILE_RECORD_INPUT_BUFFER { pub FileReferenceNumber : i64 } impl NTFS_FILE_RECORD_INPUT_BUFFER { } impl :: std :: default :: Default for NTFS_FILE_RECORD_INPUT_BUFFER { fn default ( ) -> Self { Self { FileReferenceNumber : 0 } } } impl :: std :: fmt :: Debug for NTFS_FILE_RECORD_INPUT_BUFFER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "NTFS_FILE_RECORD_INPUT_BUFFER" ) . field ( "FileReferenceNumber" , & self . FileReferenceNumber ) . finish ( ) } } impl :: std :: cmp :: PartialEq for NTFS_FILE_RECORD_INPUT_BUFFER { fn eq ( & self , other : & Self ) -> bool { self . FileReferenceNumber == other . FileReferenceNumber } } impl :: std :: cmp :: Eq for NTFS_FILE_RECORD_INPUT_BUFFER { } unsafe impl :: windows :: Abi for NTFS_FILE_RECORD_INPUT_BUFFER { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct NTFS_FILE_RECORD_OUTPUT_BUFFER { pub FileReferenceNumber : i64 , pub FileRecordLength : u32 , pub FileRecordBuffer : [ u8 ;1 ] } impl NTFS_FILE_RECORD_OUTPUT_BUFFER { } impl :: std :: default :: Default for NTFS_FILE_RECORD_OUTPUT_BUFFER { fn default ( ) -> Self { Self { FileReferenceNumber : 0 , FileRecordLength : 0 , FileRecordBuffer : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for NTFS_FILE_RECORD_OUTPUT_BUFFER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "NTFS_FILE_RECORD_OUTPUT_BUFFER" ) . field ( "FileReferenceNumber" , & self . FileReferenceNumber ) . field ( "FileRecordLength" , & self . FileRecordLength ) . field ( "FileRecordBuffer" , & self . FileRecordBuffer ) . finish ( ) } } impl :: std :: cmp :: PartialEq for NTFS_FILE_RECORD_OUTPUT_BUFFER { fn eq ( & self , other : & Self ) -> bool { self . FileReferenceNumber == other . FileReferenceNumber && self . FileRecordLength == other . FileRecordLength && self . FileRecordBuffer == other . FileRecordBuffer } } impl :: std :: cmp :: Eq for NTFS_FILE_RECORD_OUTPUT_BUFFER { } unsafe impl :: windows :: Abi for NTFS_FILE_RECORD_OUTPUT_BUFFER { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct NTFS_STATISTICS { pub LogFileFullExceptions : u32 , pub OtherExceptions : u32 , pub MftReads : u32 , pub MftReadBytes : u32 , pub MftWrites : u32 , pub MftWriteBytes : u32 , pub MftWritesUserLevel : NTFS_STATISTICS_4 , pub MftWritesFlushForLogFileFull : u16 , pub MftWritesLazyWriter : u16 , pub MftWritesUserRequest : u16 , pub Mft2Writes : u32 , pub Mft2WriteBytes : u32 , pub Mft2WritesUserLevel : NTFS_STATISTICS_2 , pub Mft2WritesFlushForLogFileFull : u16 , pub Mft2WritesLazyWriter : u16 , pub Mft2WritesUserRequest : u16 , pub RootIndexReads : u32 , pub RootIndexReadBytes : u32 , pub RootIndexWrites : u32 , pub RootIndexWriteBytes : u32 , pub BitmapReads : u32 , pub BitmapReadBytes : u32 , pub BitmapWrites : u32 , pub BitmapWriteBytes : u32 , pub BitmapWritesFlushForLogFileFull : u16 , pub BitmapWritesLazyWriter : u16 , pub BitmapWritesUserRequest : u16 , pub BitmapWritesUserLevel : NTFS_STATISTICS_1 , pub MftBitmapReads : u32 , pub MftBitmapReadBytes : u32 , pub MftBitmapWrites : u32 , pub MftBitmapWriteBytes : u32 , pub MftBitmapWritesFlushForLogFileFull : u16 , pub MftBitmapWritesLazyWriter : u16 , pub MftBitmapWritesUserRequest : u16 , pub MftBitmapWritesUserLevel : NTFS_STATISTICS_3 , pub UserIndexReads : u32 , pub UserIndexReadBytes : u32 , pub UserIndexWrites : u32 , pub UserIndexWriteBytes : u32 , pub LogFileReads : u32 , pub LogFileReadBytes : u32 , pub LogFileWrites : u32 , pub LogFileWriteBytes : u32 , pub Allocate : NTFS_STATISTICS_0 , pub DiskResourcesExhausted : u32 } impl NTFS_STATISTICS { } impl :: std :: default :: Default for NTFS_STATISTICS { fn default ( ) -> Self { Self { LogFileFullExceptions : 0 , OtherExceptions : 0 , MftReads : 0 , MftReadBytes : 0 , MftWrites : 0 , MftWriteBytes : 0 , MftWritesUserLevel : :: std :: default :: Default :: default ( ) , MftWritesFlushForLogFileFull : 0 , MftWritesLazyWriter : 0 , MftWritesUserRequest : 0 , Mft2Writes : 0 , Mft2WriteBytes : 0 , Mft2WritesUserLevel : :: std :: default :: Default :: default ( ) , Mft2WritesFlushForLogFileFull : 0 , Mft2WritesLazyWriter : 0 , Mft2WritesUserRequest : 0 , RootIndexReads : 0 , RootIndexReadBytes : 0 , RootIndexWrites : 0 , RootIndexWriteBytes : 0 , BitmapReads : 0 , BitmapReadBytes : 0 , BitmapWrites : 0 , BitmapWriteBytes : 0 , BitmapWritesFlushForLogFileFull : 0 , BitmapWritesLazyWriter : 0 , BitmapWritesUserRequest : 0 , BitmapWritesUserLevel : :: std :: default :: Default :: default ( ) , MftBitmapReads : 0 , MftBitmapReadBytes : 0 , MftBitmapWrites : 0 , MftBitmapWriteBytes : 0 , MftBitmapWritesFlushForLogFileFull : 0 , MftBitmapWritesLazyWriter : 0 , MftBitmapWritesUserRequest : 0 , MftBitmapWritesUserLevel : :: std :: default :: Default :: default ( ) , UserIndexReads : 0 , UserIndexReadBytes : 0 , UserIndexWrites : 0 , UserIndexWriteBytes : 0 , LogFileReads : 0 , LogFileReadBytes : 0 , LogFileWrites : 0 , LogFileWriteBytes : 0 , Allocate : :: std :: default :: Default :: default ( ) , DiskResourcesExhausted : 0 } } } impl :: std :: fmt :: Debug for NTFS_STATISTICS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "NTFS_STATISTICS" ) . field ( "LogFileFullExceptions" , & self . LogFileFullExceptions ) . field ( "OtherExceptions" , & self . OtherExceptions ) . field ( "MftReads" , & self . MftReads ) . field ( "MftReadBytes" , & self . MftReadBytes ) . field ( "MftWrites" , & self . MftWrites ) . field ( "MftWriteBytes" , & self . MftWriteBytes ) . field ( "MftWritesUserLevel" , & self . MftWritesUserLevel ) . field ( "MftWritesFlushForLogFileFull" , & self . MftWritesFlushForLogFileFull ) . field ( "MftWritesLazyWriter" , & self . MftWritesLazyWriter ) . field ( "MftWritesUserRequest" , & self . MftWritesUserRequest ) . field ( "Mft2Writes" , & self . Mft2Writes ) . field ( "Mft2WriteBytes" , & self . Mft2WriteBytes ) . field ( "Mft2WritesUserLevel" , & self . Mft2WritesUserLevel ) . field ( "Mft2WritesFlushForLogFileFull" , & self . Mft2WritesFlushForLogFileFull ) . field ( "Mft2WritesLazyWriter" , & self . Mft2WritesLazyWriter ) . field ( "Mft2WritesUserRequest" , & self . Mft2WritesUserRequest ) . field ( "RootIndexReads" , & self . RootIndexReads ) . field ( "RootIndexReadBytes" , & self . RootIndexReadBytes ) . field ( "RootIndexWrites" , & self . RootIndexWrites ) . field ( "RootIndexWriteBytes" , & self . RootIndexWriteBytes ) . field ( "BitmapReads" , & self . BitmapReads ) . field ( "BitmapReadBytes" , & self . BitmapReadBytes ) . field ( "BitmapWrites" , & self . BitmapWrites ) . field ( "BitmapWriteBytes" , & self . BitmapWriteBytes ) . field ( "BitmapWritesFlushForLogFileFull" , & self . BitmapWritesFlushForLogFileFull ) . field ( "BitmapWritesLazyWriter" , & self . BitmapWritesLazyWriter ) . field ( "BitmapWritesUserRequest" , & self . BitmapWritesUserRequest ) . field ( "BitmapWritesUserLevel" , & self . BitmapWritesUserLevel ) . field ( "MftBitmapReads" , & self . MftBitmapReads ) . field ( "MftBitmapReadBytes" , & self . MftBitmapReadBytes ) . field ( "MftBitmapWrites" , & self . MftBitmapWrites ) . field ( "MftBitmapWriteBytes" , & self . MftBitmapWriteBytes ) . field ( "MftBitmapWritesFlushForLogFileFull" , & self . MftBitmapWritesFlushForLogFileFull ) . field ( "MftBitmapWritesLazyWriter" , & self . MftBitmapWritesLazyWriter ) . field ( "MftBitmapWritesUserRequest" , & self . MftBitmapWritesUserRequest ) . field ( "MftBitmapWritesUserLevel" , & self . MftBitmapWritesUserLevel ) . field ( "UserIndexReads" , & self . UserIndexReads ) . field ( "UserIndexReadBytes" , & self . UserIndexReadBytes ) . field ( "UserIndexWrites" , & self . UserIndexWrites ) . field ( "UserIndexWriteBytes" , & self . UserIndexWriteBytes ) . field ( "LogFileReads" , & self . LogFileReads ) . field ( "LogFileReadBytes" , & self . LogFileReadBytes ) . field ( "LogFileWrites" , & self . LogFileWrites ) . field ( "LogFileWriteBytes" , & self . LogFileWriteBytes ) . field ( "Allocate" , & self . Allocate ) . field ( "DiskResourcesExhausted" , & self . DiskResourcesExhausted ) . finish ( ) } } impl :: std :: cmp :: PartialEq for NTFS_STATISTICS { fn eq ( & self , other : & Self ) -> bool { self . LogFileFullExceptions == other . LogFileFullExceptions && self . OtherExceptions == other . OtherExceptions && self . MftReads == other . MftReads && self . MftReadBytes == other . MftReadBytes && self . MftWrites == other . MftWrites && self . MftWriteBytes == other . MftWriteBytes && self . MftWritesUserLevel == other . MftWritesUserLevel && self . MftWritesFlushForLogFileFull == other . MftWritesFlushForLogFileFull && self . MftWritesLazyWriter == other . MftWritesLazyWriter && self . MftWritesUserRequest == other . MftWritesUserRequest && self . Mft2Writes == other . Mft2Writes && self . Mft2WriteBytes == other . Mft2WriteBytes && self . Mft2WritesUserLevel == other . Mft2WritesUserLevel && self . Mft2WritesFlushForLogFileFull == other . Mft2WritesFlushForLogFileFull && self . Mft2WritesLazyWriter == other . Mft2WritesLazyWriter && self . Mft2WritesUserRequest == other . Mft2WritesUserRequest && self . RootIndexReads == other . RootIndexReads && self . RootIndexReadBytes == other . RootIndexReadBytes && self . RootIndexWrites == other . RootIndexWrites && self . RootIndexWriteBytes == other . RootIndexWriteBytes && self . BitmapReads == other . BitmapReads && self . BitmapReadBytes == other . BitmapReadBytes && self . BitmapWrites == other . BitmapWrites && self . BitmapWriteBytes == other . BitmapWriteBytes && self . BitmapWritesFlushForLogFileFull == other . BitmapWritesFlushForLogFileFull && self . BitmapWritesLazyWriter == other . BitmapWritesLazyWriter && self . BitmapWritesUserRequest == other . BitmapWritesUserRequest && self . BitmapWritesUserLevel == other . BitmapWritesUserLevel && self . MftBitmapReads == other . MftBitmapReads && self . MftBitmapReadBytes == other . MftBitmapReadBytes && self . MftBitmapWrites == other . MftBitmapWrites && self . MftBitmapWriteBytes == other . MftBitmapWriteBytes && self . MftBitmapWritesFlushForLogFileFull == other . MftBitmapWritesFlushForLogFileFull && self . MftBitmapWritesLazyWriter == other . MftBitmapWritesLazyWriter && self . MftBitmapWritesUserRequest == other . MftBitmapWritesUserRequest && self . MftBitmapWritesUserLevel == other . MftBitmapWritesUserLevel && self . UserIndexReads == other . UserIndexReads && self . UserIndexReadBytes == other . UserIndexReadBytes && self . UserIndexWrites == other . UserIndexWrites && self . UserIndexWriteBytes == other . UserIndexWriteBytes && self . LogFileReads == other . LogFileReads && self . LogFileReadBytes == other . LogFileReadBytes && self . LogFileWrites == other . LogFileWrites && self . LogFileWriteBytes == other . LogFileWriteBytes && self . Allocate == other . Allocate && self . DiskResourcesExhausted == other . DiskResourcesExhausted } } impl :: std :: cmp :: Eq for NTFS_STATISTICS { } unsafe impl :: windows :: Abi for NTFS_STATISTICS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct NTFS_STATISTICS_0 { pub Calls : u32 , pub Clusters : u32 , pub Hints : u32 , pub RunsReturned : u32 , pub HintsHonored : u32 , pub HintsClusters : u32 , pub Cache : u32 , pub CacheClusters : u32 , pub CacheMiss : u32 , pub CacheMissClusters : u32 } impl NTFS_STATISTICS_0 { } impl :: std :: default :: Default for NTFS_STATISTICS_0 { fn default ( ) -> Self { Self { Calls : 0 , Clusters : 0 , Hints : 0 , RunsReturned : 0 , HintsHonored : 0 , HintsClusters : 0 , Cache : 0 , CacheClusters : 0 , CacheMiss : 0 , CacheMissClusters : 0 } } } impl :: std :: fmt :: Debug for NTFS_STATISTICS_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Allocate_e__Struct" ) . field ( "Calls" , & self . Calls ) . field ( "Clusters" , & self . Clusters ) . field ( "Hints" , & self . Hints ) . field ( "RunsReturned" , & self . RunsReturned ) . field ( "HintsHonored" , & self . HintsHonored ) . field ( "HintsClusters" , & self . HintsClusters ) . field ( "Cache" , & self . Cache ) . field ( "CacheClusters" , & self . CacheClusters ) . field ( "CacheMiss" , & self . CacheMiss ) . field ( "CacheMissClusters" , & self . CacheMissClusters ) . finish ( ) } } impl :: std :: cmp :: PartialEq for NTFS_STATISTICS_0 { fn eq ( & self , other : & Self ) -> bool { self . Calls == other . Calls && self . Clusters == other . Clusters && self . Hints == other . Hints && self . RunsReturned == other . RunsReturned && self . HintsHonored == other . HintsHonored && self . HintsClusters == other . HintsClusters && self . Cache == other . Cache && self . CacheClusters == other . CacheClusters && self . CacheMiss == other . CacheMiss && self . CacheMissClusters == other . CacheMissClusters } } impl :: std :: cmp :: Eq for NTFS_STATISTICS_0 { } unsafe impl :: windows :: Abi for NTFS_STATISTICS_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct NTFS_STATISTICS_1 { pub Write : u16 , pub Create : u16 , pub SetInfo : u16 } impl NTFS_STATISTICS_1 { } impl :: std :: default :: Default for NTFS_STATISTICS_1 { fn default ( ) -> Self { Self { Write : 0 , Create : 0 , SetInfo : 0 } } } impl :: std :: fmt :: Debug for NTFS_STATISTICS_1 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_BitmapWritesUserLevel_e__Struct" ) . field ( "Write" , & self . Write ) . field ( "Create" , & self . Create ) . field ( "SetInfo" , & self . SetInfo ) . finish ( ) } } impl :: std :: cmp :: PartialEq for NTFS_STATISTICS_1 { fn eq ( & self , other : & Self ) -> bool { self . Write == other . Write && self . Create == other . Create && self . SetInfo == other . SetInfo } } impl :: std :: cmp :: Eq for NTFS_STATISTICS_1 { } unsafe impl :: windows :: Abi for NTFS_STATISTICS_1 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct NTFS_STATISTICS_2 { pub Write : u16 , pub Create : u16 , pub SetInfo : u16 , pub Flush : u16 } impl NTFS_STATISTICS_2 { } impl :: std :: default :: Default for NTFS_STATISTICS_2 { fn default ( ) -> Self { Self { Write : 0 , Create : 0 , SetInfo : 0 , Flush : 0 } } } impl :: std :: fmt :: Debug for NTFS_STATISTICS_2 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Mft2WritesUserLevel_e__Struct" ) . field ( "Write" , & self . Write ) . field ( "Create" , & self . Create ) . field ( "SetInfo" , & self . SetInfo ) . field ( "Flush" , & self . Flush ) . finish ( ) } } impl :: std :: cmp :: PartialEq for NTFS_STATISTICS_2 { fn eq ( & self , other : & Self ) -> bool { self . Write == other . Write && self . Create == other . Create && self . SetInfo == other . SetInfo && self . Flush == other . Flush } } impl :: std :: cmp :: Eq for NTFS_STATISTICS_2 { } unsafe impl :: windows :: Abi for NTFS_STATISTICS_2 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct NTFS_STATISTICS_3 { pub Write : u16 , pub Create : u16 , pub SetInfo : u16 , pub Flush : u16 } impl NTFS_STATISTICS_3 { } impl :: std :: default :: Default for NTFS_STATISTICS_3 { fn default ( ) -> Self { Self { Write : 0 , Create : 0 , SetInfo : 0 , Flush : 0 } } } impl :: std :: fmt :: Debug for NTFS_STATISTICS_3 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_MftBitmapWritesUserLevel_e__Struct" ) . field ( "Write" , & self . Write ) . field ( "Create" , & self . Create ) . field ( "SetInfo" , & self . SetInfo ) . field ( "Flush" , & self . Flush ) . finish ( ) } } impl :: std :: cmp :: PartialEq for NTFS_STATISTICS_3 { fn eq ( & self , other : & Self ) -> bool { self . Write == other . Write && self . Create == other . Create && self . SetInfo == other . SetInfo && self . Flush == other . Flush } } impl :: std :: cmp :: Eq for NTFS_STATISTICS_3 { } unsafe impl :: windows :: Abi for NTFS_STATISTICS_3 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct NTFS_STATISTICS_4 { pub Write : u16 , pub Create : u16 , pub SetInfo : u16 , pub Flush : u16 } impl NTFS_STATISTICS_4 { } impl :: std :: default :: Default for NTFS_STATISTICS_4 { fn default ( ) -> Self { Self { Write : 0 , Create : 0 , SetInfo : 0 , Flush : 0 } } } impl :: std :: fmt :: Debug for NTFS_STATISTICS_4 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_MftWritesUserLevel_e__Struct" ) . field ( "Write" , & self . Write ) . field ( "Create" , & self . Create ) . field ( "SetInfo" , & self . SetInfo ) . field ( "Flush" , & self . Flush ) . finish ( ) } } impl :: std :: cmp :: PartialEq for NTFS_STATISTICS_4 { fn eq ( & self , other : & Self ) -> bool { self . Write == other . Write && self . Create == other . Create && self . SetInfo == other . SetInfo && self . Flush == other . Flush } } impl :: std :: cmp :: Eq for NTFS_STATISTICS_4 { } unsafe impl :: windows :: Abi for NTFS_STATISTICS_4 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct NTFS_STATISTICS_EX { pub LogFileFullExceptions : u32 , pub OtherExceptions : u32 , pub MftReads : u64 , pub MftReadBytes : u64 , pub MftWrites : u64 , pub MftWriteBytes : u64 , pub MftWritesUserLevel : NTFS_STATISTICS_EX_4 , pub MftWritesFlushForLogFileFull : u32 , pub MftWritesLazyWriter : u32 , pub MftWritesUserRequest : u32 , pub Mft2Writes : u64 , pub Mft2WriteBytes : u64 , pub Mft2WritesUserLevel : NTFS_STATISTICS_EX_2 , pub Mft2WritesFlushForLogFileFull : u32 , pub Mft2WritesLazyWriter : u32 , pub Mft2WritesUserRequest : u32 , pub RootIndexReads : u64 , pub RootIndexReadBytes : u64 , pub RootIndexWrites : u64 , pub RootIndexWriteBytes : u64 , pub BitmapReads : u64 , pub BitmapReadBytes : u64 , pub BitmapWrites : u64 , pub BitmapWriteBytes : u64 , pub BitmapWritesFlushForLogFileFull : u32 , pub BitmapWritesLazyWriter : u32 , pub BitmapWritesUserRequest : u32 , pub BitmapWritesUserLevel : NTFS_STATISTICS_EX_1 , pub MftBitmapReads : u64 , pub MftBitmapReadBytes : u64 , pub MftBitmapWrites : u64 , pub MftBitmapWriteBytes : u64 , pub MftBitmapWritesFlushForLogFileFull : u32 , pub MftBitmapWritesLazyWriter : u32 , pub MftBitmapWritesUserRequest : u32 , pub MftBitmapWritesUserLevel : NTFS_STATISTICS_EX_3 , pub UserIndexReads : u64 , pub UserIndexReadBytes : u64 , pub UserIndexWrites : u64 , pub UserIndexWriteBytes : u64 , pub LogFileReads : u64 , pub LogFileReadBytes : u64 , pub LogFileWrites : u64 , pub LogFileWriteBytes : u64 , pub Allocate : NTFS_STATISTICS_EX_0 , pub DiskResourcesExhausted : u32 , pub VolumeTrimCount : u64 , pub VolumeTrimTime : u64 , pub VolumeTrimByteCount : u64 , pub FileLevelTrimCount : u64 , pub FileLevelTrimTime : u64 , pub FileLevelTrimByteCount : u64 , pub VolumeTrimSkippedCount : u64 , pub VolumeTrimSkippedByteCount : u64 , pub NtfsFillStatInfoFromMftRecordCalledCount : u64 , pub NtfsFillStatInfoFromMftRecordBailedBecauseOfAttributeListCount : u64 , pub NtfsFillStatInfoFromMftRecordBailedBecauseOfNonResReparsePointCount : u64 } impl NTFS_STATISTICS_EX { } impl :: std :: default :: Default for NTFS_STATISTICS_EX { fn default ( ) -> Self { Self { LogFileFullExceptions : 0 , OtherExceptions : 0 , MftReads : 0 , MftReadBytes : 0 , MftWrites : 0 , MftWriteBytes : 0 , MftWritesUserLevel : :: std :: default :: Default :: default ( ) , MftWritesFlushForLogFileFull : 0 , MftWritesLazyWriter : 0 , MftWritesUserRequest : 0 , Mft2Writes : 0 , Mft2WriteBytes : 0 , Mft2WritesUserLevel : :: std :: default :: Default :: default ( ) , Mft2WritesFlushForLogFileFull : 0 , Mft2WritesLazyWriter : 0 , Mft2WritesUserRequest : 0 , RootIndexReads : 0 , RootIndexReadBytes : 0 , RootIndexWrites : 0 , RootIndexWriteBytes : 0 , BitmapReads : 0 , BitmapReadBytes : 0 , BitmapWrites : 0 , BitmapWriteBytes : 0 , BitmapWritesFlushForLogFileFull : 0 , BitmapWritesLazyWriter : 0 , BitmapWritesUserRequest : 0 , BitmapWritesUserLevel : :: std :: default :: Default :: default ( ) , MftBitmapReads : 0 , MftBitmapReadBytes : 0 , MftBitmapWrites : 0 , MftBitmapWriteBytes : 0 , MftBitmapWritesFlushForLogFileFull : 0 , MftBitmapWritesLazyWriter : 0 , MftBitmapWritesUserRequest : 0 , MftBitmapWritesUserLevel : :: std :: default :: Default :: default ( ) , UserIndexReads : 0 , UserIndexReadBytes : 0 , UserIndexWrites : 0 , UserIndexWriteBytes : 0 , LogFileReads : 0 , LogFileReadBytes : 0 , LogFileWrites : 0 , LogFileWriteBytes : 0 , Allocate : :: std :: default :: Default :: default ( ) , DiskResourcesExhausted : 0 , VolumeTrimCount : 0 , VolumeTrimTime : 0 , VolumeTrimByteCount : 0 , FileLevelTrimCount : 0 , FileLevelTrimTime : 0 , FileLevelTrimByteCount : 0 , VolumeTrimSkippedCount : 0 , VolumeTrimSkippedByteCount : 0 , NtfsFillStatInfoFromMftRecordCalledCount : 0 , NtfsFillStatInfoFromMftRecordBailedBecauseOfAttributeListCount : 0 , NtfsFillStatInfoFromMftRecordBailedBecauseOfNonResReparsePointCount : 0 } } } impl :: std :: fmt :: Debug for NTFS_STATISTICS_EX { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "NTFS_STATISTICS_EX" ) . field ( "LogFileFullExceptions" , & self . LogFileFullExceptions ) . field ( "OtherExceptions" , & self . OtherExceptions ) . field ( "MftReads" , & self . MftReads ) . field ( "MftReadBytes" , & self . MftReadBytes ) . field ( "MftWrites" , & self . MftWrites ) . field ( "MftWriteBytes" , & self . MftWriteBytes ) . field ( "MftWritesUserLevel" , & self . MftWritesUserLevel ) . field ( "MftWritesFlushForLogFileFull" , & self . MftWritesFlushForLogFileFull ) . field ( "MftWritesLazyWriter" , & self . MftWritesLazyWriter ) . field ( "MftWritesUserRequest" , & self . MftWritesUserRequest ) . field ( "Mft2Writes" , & self . Mft2Writes ) . field ( "Mft2WriteBytes" , & self . Mft2WriteBytes ) . field ( "Mft2WritesUserLevel" , & self . Mft2WritesUserLevel ) . field ( "Mft2WritesFlushForLogFileFull" , & self . Mft2WritesFlushForLogFileFull ) . field ( "Mft2WritesLazyWriter" , & self . Mft2WritesLazyWriter ) . field ( "Mft2WritesUserRequest" , & self . Mft2WritesUserRequest ) . field ( "RootIndexReads" , & self . RootIndexReads ) . field ( "RootIndexReadBytes" , & self . RootIndexReadBytes ) . field ( "RootIndexWrites" , & self . RootIndexWrites ) . field ( "RootIndexWriteBytes" , & self . RootIndexWriteBytes ) . field ( "BitmapReads" , & self . BitmapReads ) . field ( "BitmapReadBytes" , & self . BitmapReadBytes ) . field ( "BitmapWrites" , & self . BitmapWrites ) . field ( "BitmapWriteBytes" , & self . BitmapWriteBytes ) . field ( "BitmapWritesFlushForLogFileFull" , & self . BitmapWritesFlushForLogFileFull ) . field ( "BitmapWritesLazyWriter" , & self . BitmapWritesLazyWriter ) . field ( "BitmapWritesUserRequest" , & self . BitmapWritesUserRequest ) . field ( "BitmapWritesUserLevel" , & self . BitmapWritesUserLevel ) . field ( "MftBitmapReads" , & self . MftBitmapReads ) . field ( "MftBitmapReadBytes" , & self . MftBitmapReadBytes ) . field ( "MftBitmapWrites" , & self . MftBitmapWrites ) . field ( "MftBitmapWriteBytes" , & self . MftBitmapWriteBytes ) . field ( "MftBitmapWritesFlushForLogFileFull" , & self . MftBitmapWritesFlushForLogFileFull ) . field ( "MftBitmapWritesLazyWriter" , & self . MftBitmapWritesLazyWriter ) . field ( "MftBitmapWritesUserRequest" , & self . MftBitmapWritesUserRequest ) . field ( "MftBitmapWritesUserLevel" , & self . MftBitmapWritesUserLevel ) . field ( "UserIndexReads" , & self . UserIndexReads ) . field ( "UserIndexReadBytes" , & self . UserIndexReadBytes ) . field ( "UserIndexWrites" , & self . UserIndexWrites ) . field ( "UserIndexWriteBytes" , & self . UserIndexWriteBytes ) . field ( "LogFileReads" , & self . LogFileReads ) . field ( "LogFileReadBytes" , & self . LogFileReadBytes ) . field ( "LogFileWrites" , & self . LogFileWrites ) . field ( "LogFileWriteBytes" , & self . LogFileWriteBytes ) . field ( "Allocate" , & self . Allocate ) . field ( "DiskResourcesExhausted" , & self . DiskResourcesExhausted ) . field ( "VolumeTrimCount" , & self . VolumeTrimCount ) . field ( "VolumeTrimTime" , & self . VolumeTrimTime ) . field ( "VolumeTrimByteCount" , & self . VolumeTrimByteCount ) . field ( "FileLevelTrimCount" , & self . FileLevelTrimCount ) . field ( "FileLevelTrimTime" , & self . FileLevelTrimTime ) . field ( "FileLevelTrimByteCount" , & self . FileLevelTrimByteCount ) . field ( "VolumeTrimSkippedCount" , & self . VolumeTrimSkippedCount ) . field ( "VolumeTrimSkippedByteCount" , & self . VolumeTrimSkippedByteCount ) . field ( "NtfsFillStatInfoFromMftRecordCalledCount" , & self . NtfsFillStatInfoFromMftRecordCalledCount ) . field ( "NtfsFillStatInfoFromMftRecordBailedBecauseOfAttributeListCount" , & self . NtfsFillStatInfoFromMftRecordBailedBecauseOfAttributeListCount ) . field ( "NtfsFillStatInfoFromMftRecordBailedBecauseOfNonResReparsePointCount" , & self . NtfsFillStatInfoFromMftRecordBailedBecauseOfNonResReparsePointCount ) . finish ( ) } } impl :: std :: cmp :: PartialEq for NTFS_STATISTICS_EX { fn eq ( & self , other : & Self ) -> bool { self . LogFileFullExceptions == other . LogFileFullExceptions && self . OtherExceptions == other . OtherExceptions && self . MftReads == other . MftReads && self . MftReadBytes == other . MftReadBytes && self . MftWrites == other . MftWrites && self . MftWriteBytes == other . MftWriteBytes && self . MftWritesUserLevel == other . MftWritesUserLevel && self . MftWritesFlushForLogFileFull == other . MftWritesFlushForLogFileFull && self . MftWritesLazyWriter == other . MftWritesLazyWriter && self . MftWritesUserRequest == other . MftWritesUserRequest && self . Mft2Writes == other . Mft2Writes && self . Mft2WriteBytes == other . Mft2WriteBytes && self . Mft2WritesUserLevel == other . Mft2WritesUserLevel && self . Mft2WritesFlushForLogFileFull == other . Mft2WritesFlushForLogFileFull && self . Mft2WritesLazyWriter == other . Mft2WritesLazyWriter && self . Mft2WritesUserRequest == other . Mft2WritesUserRequest && self . RootIndexReads == other . RootIndexReads && self . RootIndexReadBytes == other . RootIndexReadBytes && self . RootIndexWrites == other . RootIndexWrites && self . RootIndexWriteBytes == other . RootIndexWriteBytes && self . BitmapReads == other . BitmapReads && self . BitmapReadBytes == other . BitmapReadBytes && self . BitmapWrites == other . BitmapWrites && self . BitmapWriteBytes == other . BitmapWriteBytes && self . BitmapWritesFlushForLogFileFull == other . BitmapWritesFlushForLogFileFull && self . BitmapWritesLazyWriter == other . BitmapWritesLazyWriter && self . BitmapWritesUserRequest == other . BitmapWritesUserRequest && self . BitmapWritesUserLevel == other . BitmapWritesUserLevel && self . MftBitmapReads == other . MftBitmapReads && self . MftBitmapReadBytes == other . MftBitmapReadBytes && self . MftBitmapWrites == other . MftBitmapWrites && self . MftBitmapWriteBytes == other . MftBitmapWriteBytes && self . MftBitmapWritesFlushForLogFileFull == other . MftBitmapWritesFlushForLogFileFull && self . MftBitmapWritesLazyWriter == other . MftBitmapWritesLazyWriter && self . MftBitmapWritesUserRequest == other . MftBitmapWritesUserRequest && self . MftBitmapWritesUserLevel == other . MftBitmapWritesUserLevel && self . UserIndexReads == other . UserIndexReads && self . UserIndexReadBytes == other . UserIndexReadBytes && self . UserIndexWrites == other . UserIndexWrites && self . UserIndexWriteBytes == other . UserIndexWriteBytes && self . LogFileReads == other . LogFileReads && self . LogFileReadBytes == other . LogFileReadBytes && self . LogFileWrites == other . LogFileWrites && self . LogFileWriteBytes == other . LogFileWriteBytes && self . Allocate == other . Allocate && self . DiskResourcesExhausted == other . DiskResourcesExhausted && self . VolumeTrimCount == other . VolumeTrimCount && self . VolumeTrimTime == other . VolumeTrimTime && self . VolumeTrimByteCount == other . VolumeTrimByteCount && self . FileLevelTrimCount == other . FileLevelTrimCount && self . FileLevelTrimTime == other . FileLevelTrimTime && self . FileLevelTrimByteCount == other . FileLevelTrimByteCount && self . VolumeTrimSkippedCount == other . VolumeTrimSkippedCount && self . VolumeTrimSkippedByteCount == other . VolumeTrimSkippedByteCount && self . NtfsFillStatInfoFromMftRecordCalledCount == other . NtfsFillStatInfoFromMftRecordCalledCount && self . NtfsFillStatInfoFromMftRecordBailedBecauseOfAttributeListCount == other . NtfsFillStatInfoFromMftRecordBailedBecauseOfAttributeListCount && self . NtfsFillStatInfoFromMftRecordBailedBecauseOfNonResReparsePointCount == other . NtfsFillStatInfoFromMftRecordBailedBecauseOfNonResReparsePointCount } } impl :: std :: cmp :: Eq for NTFS_STATISTICS_EX { } unsafe impl :: windows :: Abi for NTFS_STATISTICS_EX { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct NTFS_STATISTICS_EX_0 { pub Calls : u32 , pub RunsReturned : u32 , pub Hints : u32 , pub HintsHonored : u32 , pub Cache : u32 , pub CacheMiss : u32 , pub Clusters : u64 , pub HintsClusters : u64 , pub CacheClusters : u64 , pub CacheMissClusters : u64 } impl NTFS_STATISTICS_EX_0 { } impl :: std :: default :: Default for NTFS_STATISTICS_EX_0 { fn default ( ) -> Self { Self { Calls : 0 , RunsReturned : 0 , Hints : 0 , HintsHonored : 0 , Cache : 0 , CacheMiss : 0 , Clusters : 0 , HintsClusters : 0 , CacheClusters : 0 , CacheMissClusters : 0 } } } impl :: std :: fmt :: Debug for NTFS_STATISTICS_EX_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Allocate_e__Struct" ) . field ( "Calls" , & self . Calls ) . field ( "RunsReturned" , & self . RunsReturned ) . field ( "Hints" , & self . Hints ) . field ( "HintsHonored" , & self . HintsHonored ) . field ( "Cache" , & self . Cache ) . field ( "CacheMiss" , & self . CacheMiss ) . field ( "Clusters" , & self . Clusters ) . field ( "HintsClusters" , & self . HintsClusters ) . field ( "CacheClusters" , & self . CacheClusters ) . field ( "CacheMissClusters" , & self . CacheMissClusters ) . finish ( ) } } impl :: std :: cmp :: PartialEq for NTFS_STATISTICS_EX_0 { fn eq ( & self , other : & Self ) -> bool { self . Calls == other . Calls && self . RunsReturned == other . RunsReturned && self . Hints == other . Hints && self . HintsHonored == other . HintsHonored && self . Cache == other . Cache && self . CacheMiss == other . CacheMiss && self . Clusters == other . Clusters && self . HintsClusters == other . HintsClusters && self . CacheClusters == other . CacheClusters && self . CacheMissClusters == other . CacheMissClusters } } impl :: std :: cmp :: Eq for NTFS_STATISTICS_EX_0 { } unsafe impl :: windows :: Abi for NTFS_STATISTICS_EX_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct NTFS_STATISTICS_EX_1 { pub Write : u32 , pub Create : u32 , pub SetInfo : u32 , pub Flush : u32 } impl NTFS_STATISTICS_EX_1 { } impl :: std :: default :: Default for NTFS_STATISTICS_EX_1 { fn default ( ) -> Self { Self { Write : 0 , Create : 0 , SetInfo : 0 , Flush : 0 } } } impl :: std :: fmt :: Debug for NTFS_STATISTICS_EX_1 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_BitmapWritesUserLevel_e__Struct" ) . field ( "Write" , & self . Write ) . field ( "Create" , & self . Create ) . field ( "SetInfo" , & self . SetInfo ) . field ( "Flush" , & self . Flush ) . finish ( ) } } impl :: std :: cmp :: PartialEq for NTFS_STATISTICS_EX_1 { fn eq ( & self , other : & Self ) -> bool { self . Write == other . Write && self . Create == other . Create && self . SetInfo == other . SetInfo && self . Flush == other . Flush } } impl :: std :: cmp :: Eq for NTFS_STATISTICS_EX_1 { } unsafe impl :: windows :: Abi for NTFS_STATISTICS_EX_1 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct NTFS_STATISTICS_EX_2 { pub Write : u32 , pub Create : u32 , pub SetInfo : u32 , pub Flush : u32 } impl NTFS_STATISTICS_EX_2 { } impl :: std :: default :: Default for NTFS_STATISTICS_EX_2 { fn default ( ) -> Self { Self { Write : 0 , Create : 0 , SetInfo : 0 , Flush : 0 } } } impl :: std :: fmt :: Debug for NTFS_STATISTICS_EX_2 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Mft2WritesUserLevel_e__Struct" ) . field ( "Write" , & self . Write ) . field ( "Create" , & self . Create ) . field ( "SetInfo" , & self . SetInfo ) . field ( "Flush" , & self . Flush ) . finish ( ) } } impl :: std :: cmp :: PartialEq for NTFS_STATISTICS_EX_2 { fn eq ( & self , other : & Self ) -> bool { self . Write == other . Write && self . Create == other . Create && self . SetInfo == other . SetInfo && self . Flush == other . Flush } } impl :: std :: cmp :: Eq for NTFS_STATISTICS_EX_2 { } unsafe impl :: windows :: Abi for NTFS_STATISTICS_EX_2 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct NTFS_STATISTICS_EX_3 { pub Write : u32 , pub Create : u32 , pub SetInfo : u32 , pub Flush : u32 } impl NTFS_STATISTICS_EX_3 { } impl :: std :: default :: Default for NTFS_STATISTICS_EX_3 { fn default ( ) -> Self { Self { Write : 0 , Create : 0 , SetInfo : 0 , Flush : 0 } } } impl :: std :: fmt :: Debug for NTFS_STATISTICS_EX_3 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_MftBitmapWritesUserLevel_e__Struct" ) . field ( "Write" , & self . Write ) . field ( "Create" , & self . Create ) . field ( "SetInfo" , & self . SetInfo ) . field ( "Flush" , & self . Flush ) . finish ( ) } } impl :: std :: cmp :: PartialEq for NTFS_STATISTICS_EX_3 { fn eq ( & self , other : & Self ) -> bool { self . Write == other . Write && self . Create == other . Create && self . SetInfo == other . SetInfo && self . Flush == other . Flush } } impl :: std :: cmp :: Eq for NTFS_STATISTICS_EX_3 { } unsafe impl :: windows :: Abi for NTFS_STATISTICS_EX_3 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct NTFS_STATISTICS_EX_4 { pub Write : u32 , pub Create : u32 , pub SetInfo : u32 , pub Flush : u32 } impl NTFS_STATISTICS_EX_4 { } impl :: std :: default :: Default for NTFS_STATISTICS_EX_4 { fn default ( ) -> Self { Self { Write : 0 , Create : 0 , SetInfo : 0 , Flush : 0 } } } impl :: std :: fmt :: Debug for NTFS_STATISTICS_EX_4 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_MftWritesUserLevel_e__Struct" ) . field ( "Write" , & self . Write ) . field ( "Create" , & self . Create ) . field ( "SetInfo" , & self . SetInfo ) . field ( "Flush" , & self . Flush ) . finish ( ) } } impl :: std :: cmp :: PartialEq for NTFS_STATISTICS_EX_4 { fn eq ( & self , other : & Self ) -> bool { self . Write == other . Write && self . Create == other . Create && self . SetInfo == other . SetInfo && self . Flush == other . Flush } } impl :: std :: cmp :: Eq for NTFS_STATISTICS_EX_4 { } unsafe impl :: windows :: Abi for NTFS_STATISTICS_EX_4 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct NTFS_VOLUME_DATA_BUFFER { pub VolumeSerialNumber : i64 , pub NumberSectors : i64 , pub TotalClusters : i64 , pub FreeClusters : i64 , pub TotalReserved : i64 , pub BytesPerSector : u32 , pub BytesPerCluster : u32 , pub BytesPerFileRecordSegment : u32 , pub ClustersPerFileRecordSegment : u32 , pub MftValidDataLength : i64 , pub MftStartLcn : i64 , pub Mft2StartLcn : i64 , pub MftZoneStart : i64 , pub MftZoneEnd : i64 } impl NTFS_VOLUME_DATA_BUFFER { } impl :: std :: default :: Default for NTFS_VOLUME_DATA_BUFFER { fn default ( ) -> Self { Self { VolumeSerialNumber : 0 , NumberSectors : 0 , TotalClusters : 0 , FreeClusters : 0 , TotalReserved : 0 , BytesPerSector : 0 , BytesPerCluster : 0 , BytesPerFileRecordSegment : 0 , ClustersPerFileRecordSegment : 0 , MftValidDataLength : 0 , MftStartLcn : 0 , Mft2StartLcn : 0 , MftZoneStart : 0 , MftZoneEnd : 0 } } } impl :: std :: fmt :: Debug for NTFS_VOLUME_DATA_BUFFER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "NTFS_VOLUME_DATA_BUFFER" ) . field ( "VolumeSerialNumber" , & self . VolumeSerialNumber ) . field ( "NumberSectors" , & self . NumberSectors ) . field ( "TotalClusters" , & self . TotalClusters ) . field ( "FreeClusters" , & self . FreeClusters ) . field ( "TotalReserved" , & self . TotalReserved ) . field ( "BytesPerSector" , & self . BytesPerSector ) . field ( "BytesPerCluster" , & self . BytesPerCluster ) . field ( "BytesPerFileRecordSegment" , & self . BytesPerFileRecordSegment ) . field ( "ClustersPerFileRecordSegment" , & self . ClustersPerFileRecordSegment ) . field ( "MftValidDataLength" , & self . MftValidDataLength ) . field ( "MftStartLcn" , & self . MftStartLcn ) . field ( "Mft2StartLcn" , & self . Mft2StartLcn ) . field ( "MftZoneStart" , & self . MftZoneStart ) . field ( "MftZoneEnd" , & self . MftZoneEnd ) . finish ( ) } } impl :: std :: cmp :: PartialEq for NTFS_VOLUME_DATA_BUFFER { fn eq ( & self , other : & Self ) -> bool { self . VolumeSerialNumber == other . VolumeSerialNumber && self . NumberSectors == other . NumberSectors && self . TotalClusters == other . TotalClusters && self . FreeClusters == other . FreeClusters && self . TotalReserved == other . TotalReserved && self . BytesPerSector == other . BytesPerSector && self . BytesPerCluster == other . BytesPerCluster && self . BytesPerFileRecordSegment == other . BytesPerFileRecordSegment && self . ClustersPerFileRecordSegment == other . ClustersPerFileRecordSegment && self . MftValidDataLength == other . MftValidDataLength && self . MftStartLcn == other . MftStartLcn && self . Mft2StartLcn == other . Mft2StartLcn && self . MftZoneStart == other . MftZoneStart && self . MftZoneEnd == other . MftZoneEnd } } impl :: std :: cmp :: Eq for NTFS_VOLUME_DATA_BUFFER { } unsafe impl :: windows :: Abi for NTFS_VOLUME_DATA_BUFFER { type Abi = Self ; type DefaultType = Self ; } pub const NTMSMLI_MAXAPPDESCR : u32 = 256u32 ; pub const NTMSMLI_MAXIDSIZE : u32 = 256u32 ; pub const NTMSMLI_MAXTYPE : u32 = 64u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct NTMS_ALLOCATION_INFORMATION { pub dwSize : u32 , pub lpReserved : * mut :: std :: ffi :: c_void , pub AllocatedFrom : :: windows :: Guid } impl NTMS_ALLOCATION_INFORMATION { } impl :: std :: default :: Default for NTMS_ALLOCATION_INFORMATION { fn default ( ) -> Self { Self { dwSize : 0 , lpReserved : :: std :: ptr :: null_mut ( ) , AllocatedFrom : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for NTMS_ALLOCATION_INFORMATION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "NTMS_ALLOCATION_INFORMATION" ) . field ( "dwSize" , & self . dwSize ) . field ( "lpReserved" , & self . lpReserved ) . field ( "AllocatedFrom" , & self . AllocatedFrom ) . finish ( ) } } impl :: std :: cmp :: PartialEq for NTMS_ALLOCATION_INFORMATION { fn eq ( & self , other : & Self ) -> bool { self . dwSize == other . dwSize && self . lpReserved == other . lpReserved && self . AllocatedFrom == other . AllocatedFrom } } impl :: std :: cmp :: Eq for NTMS_ALLOCATION_INFORMATION { } unsafe impl :: windows :: Abi for NTMS_ALLOCATION_INFORMATION { type Abi = Self ; type DefaultType = Self ; } pub const NTMS_APPLICATIONNAME_LENGTH : u32 = 64u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct NTMS_ASYNC_IO { pub OperationId : :: windows :: Guid , pub EventId : :: windows :: Guid , pub dwOperationType : u32 , pub dwResult : u32 , pub dwAsyncState : u32 , pub hEvent : super::super::Foundation:: HANDLE , pub bOnStateChange : super::super::Foundation:: BOOL } impl NTMS_ASYNC_IO { } impl :: std :: default :: Default for NTMS_ASYNC_IO { fn default ( ) -> Self { Self { OperationId : :: std :: default :: Default :: default ( ) , EventId : :: std :: default :: Default :: default ( ) , dwOperationType : 0 , dwResult : 0 , dwAsyncState : 0 , hEvent : :: std :: default :: Default :: default ( ) , bOnStateChange : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for NTMS_ASYNC_IO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "NTMS_ASYNC_IO" ) . field ( "OperationId" , & self . OperationId ) . field ( "EventId" , & self . EventId ) . field ( "dwOperationType" , & self . dwOperationType ) . field ( "dwResult" , & self . dwResult ) . field ( "dwAsyncState" , & self . dwAsyncState ) . field ( "hEvent" , & self . hEvent ) . field ( "bOnStateChange" , & self . bOnStateChange ) . finish ( ) } } impl :: std :: cmp :: PartialEq for NTMS_ASYNC_IO { fn eq ( & self , other : & Self ) -> bool { self . OperationId == other . OperationId && self . EventId == other . EventId && self . dwOperationType == other . dwOperationType && self . dwResult == other . dwResult && self . dwAsyncState == other . dwAsyncState && self . hEvent == other . hEvent && self . bOnStateChange == other . bOnStateChange } } impl :: std :: cmp :: Eq for NTMS_ASYNC_IO { } unsafe impl :: windows :: Abi for NTMS_ASYNC_IO { type Abi = Self ; type DefaultType = Self ; } pub const NTMS_BARCODE_LENGTH : u32 = 64u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct NTMS_CHANGERINFORMATIONA { pub Number : u32 , pub ChangerType : :: windows :: Guid , pub szSerialNumber : [ super::super::System::SystemServices:: CHAR ;32 ] , pub szRevision : [ super::super::System::SystemServices:: CHAR ;32 ] , pub szDeviceName : [ super::super::System::SystemServices:: CHAR ;64 ] , pub ScsiPort : u16 , pub ScsiBus : u16 , pub ScsiTarget : u16 , pub ScsiLun : u16 , pub Library : :: windows :: Guid } impl NTMS_CHANGERINFORMATIONA { } impl :: std :: default :: Default for NTMS_CHANGERINFORMATIONA { fn default ( ) -> Self { Self { Number : 0 , ChangerType : :: std :: default :: Default :: default ( ) , szSerialNumber : [ :: std :: default :: Default :: default ( ) ;32 ] , szRevision : [ :: std :: default :: Default :: default ( ) ;32 ] , szDeviceName : [ :: std :: default :: Default :: default ( ) ;64 ] , ScsiPort : 0 , ScsiBus : 0 , ScsiTarget : 0 , ScsiLun : 0 , Library : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for NTMS_CHANGERINFORMATIONA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "NTMS_CHANGERINFORMATIONA" ) . field ( "Number" , & self . Number ) . field ( "ChangerType" , & self . ChangerType ) . field ( "szSerialNumber" , & self . szSerialNumber ) . field ( "szRevision" , & self . szRevision ) . field ( "szDeviceName" , & self . szDeviceName ) . field ( "ScsiPort" , & self . ScsiPort ) . field ( "ScsiBus" , & self . ScsiBus ) . field ( "ScsiTarget" , & self . ScsiTarget ) . field ( "ScsiLun" , & self . ScsiLun ) . field ( "Library" , & self . Library ) . finish ( ) } } impl :: std :: cmp :: PartialEq for NTMS_CHANGERINFORMATIONA { fn eq ( & self , other : & Self ) -> bool { self . Number == other . Number && self . ChangerType == other . ChangerType && self . szSerialNumber == other . szSerialNumber && self . szRevision == other . szRevision && self . szDeviceName == other . szDeviceName && self . ScsiPort == other . ScsiPort && self . ScsiBus == other . ScsiBus && self . ScsiTarget == other . ScsiTarget && self . ScsiLun == other . ScsiLun && self . Library == other . Library } } impl :: std :: cmp :: Eq for NTMS_CHANGERINFORMATIONA { } unsafe impl :: windows :: Abi for NTMS_CHANGERINFORMATIONA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct NTMS_CHANGERINFORMATIONW { pub Number : u32 , pub ChangerType : :: windows :: Guid , pub szSerialNumber : [ u16 ;32 ] , pub szRevision : [ u16 ;32 ] , pub szDeviceName : [ u16 ;64 ] , pub ScsiPort : u16 , pub ScsiBus : u16 , pub ScsiTarget : u16 , pub ScsiLun : u16 , pub Library : :: windows :: Guid } impl NTMS_CHANGERINFORMATIONW { } impl :: std :: default :: Default for NTMS_CHANGERINFORMATIONW { fn default ( ) -> Self { Self { Number : 0 , ChangerType : :: std :: default :: Default :: default ( ) , szSerialNumber : [ 0 ;32 ] , szRevision : [ 0 ;32 ] , szDeviceName : [ 0 ;64 ] , ScsiPort : 0 , ScsiBus : 0 , ScsiTarget : 0 , ScsiLun : 0 , Library : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for NTMS_CHANGERINFORMATIONW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "NTMS_CHANGERINFORMATIONW" ) . field ( "Number" , & self . Number ) . field ( "ChangerType" , & self . ChangerType ) . field ( "szSerialNumber" , & self . szSerialNumber ) . field ( "szRevision" , & self . szRevision ) . field ( "szDeviceName" , & self . szDeviceName ) . field ( "ScsiPort" , & self . ScsiPort ) . field ( "ScsiBus" , & self . ScsiBus ) . field ( "ScsiTarget" , & self . ScsiTarget ) . field ( "ScsiLun" , & self . ScsiLun ) . field ( "Library" , & self . Library ) . finish ( ) } } impl :: std :: cmp :: PartialEq for NTMS_CHANGERINFORMATIONW { fn eq ( & self , other : & Self ) -> bool { self . Number == other . Number && self . ChangerType == other . ChangerType && self . szSerialNumber == other . szSerialNumber && self . szRevision == other . szRevision && self . szDeviceName == other . szDeviceName && self . ScsiPort == other . ScsiPort && self . ScsiBus == other . ScsiBus && self . ScsiTarget == other . ScsiTarget && self . ScsiLun == other . ScsiLun && self . Library == other . Library } } impl :: std :: cmp :: Eq for NTMS_CHANGERINFORMATIONW { } unsafe impl :: windows :: Abi for NTMS_CHANGERINFORMATIONW { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct NTMS_CHANGERTYPEINFORMATIONA { pub szVendor : [ super::super::System::SystemServices:: CHAR ;128 ] , pub szProduct : [ super::super::System::SystemServices:: CHAR ;128 ] , pub DeviceType : u32 } impl NTMS_CHANGERTYPEINFORMATIONA { } impl :: std :: default :: Default for NTMS_CHANGERTYPEINFORMATIONA { fn default ( ) -> Self { Self { szVendor : [ :: std :: default :: Default :: default ( ) ;128 ] , szProduct : [ :: std :: default :: Default :: default ( ) ;128 ] , DeviceType : 0 } } } impl :: std :: fmt :: Debug for NTMS_CHANGERTYPEINFORMATIONA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "NTMS_CHANGERTYPEINFORMATIONA" ) . field ( "szVendor" , & self . szVendor ) . field ( "szProduct" , & self . szProduct ) . field ( "DeviceType" , & self . DeviceType ) . finish ( ) } } impl :: std :: cmp :: PartialEq for NTMS_CHANGERTYPEINFORMATIONA { fn eq ( & self , other : & Self ) -> bool { self . szVendor == other . szVendor && self . szProduct == other . szProduct && self . DeviceType == other . DeviceType } } impl :: std :: cmp :: Eq for NTMS_CHANGERTYPEINFORMATIONA { } unsafe impl :: windows :: Abi for NTMS_CHANGERTYPEINFORMATIONA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct NTMS_CHANGERTYPEINFORMATIONW { pub szVendor : [ u16 ;128 ] , pub szProduct : [ u16 ;128 ] , pub DeviceType : u32 } impl NTMS_CHANGERTYPEINFORMATIONW { } impl :: std :: default :: Default for NTMS_CHANGERTYPEINFORMATIONW { fn default ( ) -> Self { Self { szVendor : [ 0 ;128 ] , szProduct : [ 0 ;128 ] , DeviceType : 0 } } } impl :: std :: fmt :: Debug for NTMS_CHANGERTYPEINFORMATIONW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "NTMS_CHANGERTYPEINFORMATIONW" ) . field ( "szVendor" , & self . szVendor ) . field ( "szProduct" , & self . szProduct ) . field ( "DeviceType" , & self . DeviceType ) . finish ( ) } } impl :: std :: cmp :: PartialEq for NTMS_CHANGERTYPEINFORMATIONW { fn eq ( & self , other : & Self ) -> bool { self . szVendor == other . szVendor && self . szProduct == other . szProduct && self . DeviceType == other . DeviceType } } impl :: std :: cmp :: Eq for NTMS_CHANGERTYPEINFORMATIONW { } unsafe impl :: windows :: Abi for NTMS_CHANGERTYPEINFORMATIONW { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct NTMS_COMPUTERINFORMATION { pub dwLibRequestPurgeTime : u32 , pub dwOpRequestPurgeTime : u32 , pub dwLibRequestFlags : u32 , pub dwOpRequestFlags : u32 , pub dwMediaPoolPolicy : u32 } impl NTMS_COMPUTERINFORMATION { } impl :: std :: default :: Default for NTMS_COMPUTERINFORMATION { fn default ( ) -> Self { Self { dwLibRequestPurgeTime : 0 , dwOpRequestPurgeTime : 0 , dwLibRequestFlags : 0 , dwOpRequestFlags : 0 , dwMediaPoolPolicy : 0 } } } impl :: std :: fmt :: Debug for NTMS_COMPUTERINFORMATION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "NTMS_COMPUTERINFORMATION" ) . field ( "dwLibRequestPurgeTime" , & self . dwLibRequestPurgeTime ) . field ( "dwOpRequestPurgeTime" , & self . dwOpRequestPurgeTime ) . field ( "dwLibRequestFlags" , & self . dwLibRequestFlags ) . field ( "dwOpRequestFlags" , & self . dwOpRequestFlags ) . field ( "dwMediaPoolPolicy" , & self . dwMediaPoolPolicy ) . finish ( ) } } impl :: std :: cmp :: PartialEq for NTMS_COMPUTERINFORMATION { fn eq ( & self , other : & Self ) -> bool { self . dwLibRequestPurgeTime == other . dwLibRequestPurgeTime && self . dwOpRequestPurgeTime == other . dwOpRequestPurgeTime && self . dwLibRequestFlags == other . dwLibRequestFlags && self . dwOpRequestFlags == other . dwOpRequestFlags && self . dwMediaPoolPolicy == other . dwMediaPoolPolicy } } impl :: std :: cmp :: Eq for NTMS_COMPUTERINFORMATION { } unsafe impl :: windows :: Abi for NTMS_COMPUTERINFORMATION { type Abi = Self ; type DefaultType = Self ; } pub const NTMS_COMPUTERNAME_LENGTH : u32 = 64u32 ; pub const NTMS_DESCRIPTION_LENGTH : u32 = 127u32 ; pub const NTMS_DEVICENAME_LENGTH : u32 = 64u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct NTMS_DRIVEINFORMATIONA { pub Number : u32 , pub State : NtmsDriveState , pub DriveType : :: windows :: Guid , pub szDeviceName : [ super::super::System::SystemServices:: CHAR ;64 ] , pub szSerialNumber : [ super::super::System::SystemServices:: CHAR ;32 ] , pub szRevision : [ super::super::System::SystemServices:: CHAR ;32 ] , pub ScsiPort : u16 , pub ScsiBus : u16 , pub ScsiTarget : u16 , pub ScsiLun : u16 , pub dwMountCount : u32 , pub LastCleanedTs : super::super::Foundation:: SYSTEMTIME , pub SavedPartitionId : :: windows :: Guid , pub Library : :: windows :: Guid , pub Reserved : :: windows :: Guid , pub dwDeferDismountDelay : u32 } impl NTMS_DRIVEINFORMATIONA { } impl :: std :: default :: Default for NTMS_DRIVEINFORMATIONA { fn default ( ) -> Self { Self { Number : 0 , State : :: std :: default :: Default :: default ( ) , DriveType : :: std :: default :: Default :: default ( ) , szDeviceName : [ :: std :: default :: Default :: default ( ) ;64 ] , szSerialNumber : [ :: std :: default :: Default :: default ( ) ;32 ] , szRevision : [ :: std :: default :: Default :: default ( ) ;32 ] , ScsiPort : 0 , ScsiBus : 0 , ScsiTarget : 0 , ScsiLun : 0 , dwMountCount : 0 , LastCleanedTs : :: std :: default :: Default :: default ( ) , SavedPartitionId : :: std :: default :: Default :: default ( ) , Library : :: std :: default :: Default :: default ( ) , Reserved : :: std :: default :: Default :: default ( ) , dwDeferDismountDelay : 0 } } } impl :: std :: fmt :: Debug for NTMS_DRIVEINFORMATIONA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "NTMS_DRIVEINFORMATIONA" ) . field ( "Number" , & self . Number ) . field ( "State" , & self . State ) . field ( "DriveType" , & self . DriveType ) . field ( "szDeviceName" , & self . szDeviceName ) . field ( "szSerialNumber" , & self . szSerialNumber ) . field ( "szRevision" , & self . szRevision ) . field ( "ScsiPort" , & self . ScsiPort ) . field ( "ScsiBus" , & self . ScsiBus ) . field ( "ScsiTarget" , & self . ScsiTarget ) . field ( "ScsiLun" , & self . ScsiLun ) . field ( "dwMountCount" , & self . dwMountCount ) . field ( "LastCleanedTs" , & self . LastCleanedTs ) . field ( "SavedPartitionId" , & self . SavedPartitionId ) . field ( "Library" , & self . Library ) . field ( "Reserved" , & self . Reserved ) . field ( "dwDeferDismountDelay" , & self . dwDeferDismountDelay ) . finish ( ) } } impl :: std :: cmp :: PartialEq for NTMS_DRIVEINFORMATIONA { fn eq ( & self , other : & Self ) -> bool { self . Number == other . Number && self . State == other . State && self . DriveType == other . DriveType && self . szDeviceName == other . szDeviceName && self . szSerialNumber == other . szSerialNumber && self . szRevision == other . szRevision && self . ScsiPort == other . ScsiPort && self . ScsiBus == other . ScsiBus && self . ScsiTarget == other . ScsiTarget && self . ScsiLun == other . ScsiLun && self . dwMountCount == other . dwMountCount && self . LastCleanedTs == other . LastCleanedTs && self . SavedPartitionId == other . SavedPartitionId && self . Library == other . Library && self . Reserved == other . Reserved && self . dwDeferDismountDelay == other . dwDeferDismountDelay } } impl :: std :: cmp :: Eq for NTMS_DRIVEINFORMATIONA { } unsafe impl :: windows :: Abi for NTMS_DRIVEINFORMATIONA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct NTMS_DRIVEINFORMATIONW { pub Number : u32 , pub State : NtmsDriveState , pub DriveType : :: windows :: Guid , pub szDeviceName : [ u16 ;64 ] , pub szSerialNumber : [ u16 ;32 ] , pub szRevision : [ u16 ;32 ] , pub ScsiPort : u16 , pub ScsiBus : u16 , pub ScsiTarget : u16 , pub ScsiLun : u16 , pub dwMountCount : u32 , pub LastCleanedTs : super::super::Foundation:: SYSTEMTIME , pub SavedPartitionId : :: windows :: Guid , pub Library : :: windows :: Guid , pub Reserved : :: windows :: Guid , pub dwDeferDismountDelay : u32 } impl NTMS_DRIVEINFORMATIONW { } impl :: std :: default :: Default for NTMS_DRIVEINFORMATIONW { fn default ( ) -> Self { Self { Number : 0 , State : :: std :: default :: Default :: default ( ) , DriveType : :: std :: default :: Default :: default ( ) , szDeviceName : [ 0 ;64 ] , szSerialNumber : [ 0 ;32 ] , szRevision : [ 0 ;32 ] , ScsiPort : 0 , ScsiBus : 0 , ScsiTarget : 0 , ScsiLun : 0 , dwMountCount : 0 , LastCleanedTs : :: std :: default :: Default :: default ( ) , SavedPartitionId : :: std :: default :: Default :: default ( ) , Library : :: std :: default :: Default :: default ( ) , Reserved : :: std :: default :: Default :: default ( ) , dwDeferDismountDelay : 0 } } } impl :: std :: fmt :: Debug for NTMS_DRIVEINFORMATIONW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "NTMS_DRIVEINFORMATIONW" ) . field ( "Number" , & self . Number ) . field ( "State" , & self . State ) . field ( "DriveType" , & self . DriveType ) . field ( "szDeviceName" , & self . szDeviceName ) . field ( "szSerialNumber" , & self . szSerialNumber ) . field ( "szRevision" , & self . szRevision ) . field ( "ScsiPort" , & self . ScsiPort ) . field ( "ScsiBus" , & self . ScsiBus ) . field ( "ScsiTarget" , & self . ScsiTarget ) . field ( "ScsiLun" , & self . ScsiLun ) . field ( "dwMountCount" , & self . dwMountCount ) . field ( "LastCleanedTs" , & self . LastCleanedTs ) . field ( "SavedPartitionId" , & self . SavedPartitionId ) . field ( "Library" , & self . Library ) . field ( "Reserved" , & self . Reserved ) . field ( "dwDeferDismountDelay" , & self . dwDeferDismountDelay ) . finish ( ) } } impl :: std :: cmp :: PartialEq for NTMS_DRIVEINFORMATIONW { fn eq ( & self , other : & Self ) -> bool { self . Number == other . Number && self . State == other . State && self . DriveType == other . DriveType && self . szDeviceName == other . szDeviceName && self . szSerialNumber == other . szSerialNumber && self . szRevision == other . szRevision && self . ScsiPort == other . ScsiPort && self . ScsiBus == other . ScsiBus && self . ScsiTarget == other . ScsiTarget && self . ScsiLun == other . ScsiLun && self . dwMountCount == other . dwMountCount && self . LastCleanedTs == other . LastCleanedTs && self . SavedPartitionId == other . SavedPartitionId && self . Library == other . Library && self . Reserved == other . Reserved && self . dwDeferDismountDelay == other . dwDeferDismountDelay } } impl :: std :: cmp :: Eq for NTMS_DRIVEINFORMATIONW { } unsafe impl :: windows :: Abi for NTMS_DRIVEINFORMATIONW { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct NTMS_DRIVETYPEINFORMATIONA { pub szVendor : [ super::super::System::SystemServices:: CHAR ;128 ] , pub szProduct : [ super::super::System::SystemServices:: CHAR ;128 ] , pub NumberOfHeads : u32 , pub DeviceType : FILE_DEVICE_TYPE } impl NTMS_DRIVETYPEINFORMATIONA { } impl :: std :: default :: Default for NTMS_DRIVETYPEINFORMATIONA { fn default ( ) -> Self { Self { szVendor : [ :: std :: default :: Default :: default ( ) ;128 ] , szProduct : [ :: std :: default :: Default :: default ( ) ;128 ] , NumberOfHeads : 0 , DeviceType : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for NTMS_DRIVETYPEINFORMATIONA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "NTMS_DRIVETYPEINFORMATIONA" ) . field ( "szVendor" , & self . szVendor ) . field ( "szProduct" , & self . szProduct ) . field ( "NumberOfHeads" , & self . NumberOfHeads ) . field ( "DeviceType" , & self . DeviceType ) . finish ( ) } } impl :: std :: cmp :: PartialEq for NTMS_DRIVETYPEINFORMATIONA { fn eq ( & self , other : & Self ) -> bool { self . szVendor == other . szVendor && self . szProduct == other . szProduct && self . NumberOfHeads == other . NumberOfHeads && self . DeviceType == other . DeviceType } } impl :: std :: cmp :: Eq for NTMS_DRIVETYPEINFORMATIONA { } unsafe impl :: windows :: Abi for NTMS_DRIVETYPEINFORMATIONA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct NTMS_DRIVETYPEINFORMATIONW { pub szVendor : [ u16 ;128 ] , pub szProduct : [ u16 ;128 ] , pub NumberOfHeads : u32 , pub DeviceType : FILE_DEVICE_TYPE } impl NTMS_DRIVETYPEINFORMATIONW { } impl :: std :: default :: Default for NTMS_DRIVETYPEINFORMATIONW { fn default ( ) -> Self { Self { szVendor : [ 0 ;128 ] , szProduct : [ 0 ;128 ] , NumberOfHeads : 0 , DeviceType : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for NTMS_DRIVETYPEINFORMATIONW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "NTMS_DRIVETYPEINFORMATIONW" ) . field ( "szVendor" , & self . szVendor ) . field ( "szProduct" , & self . szProduct ) . field ( "NumberOfHeads" , & self . NumberOfHeads ) . field ( "DeviceType" , & self . DeviceType ) . finish ( ) } } impl :: std :: cmp :: PartialEq for NTMS_DRIVETYPEINFORMATIONW { fn eq ( & self , other : & Self ) -> bool { self . szVendor == other . szVendor && self . szProduct == other . szProduct && self . NumberOfHeads == other . NumberOfHeads && self . DeviceType == other . DeviceType } } impl :: std :: cmp :: Eq for NTMS_DRIVETYPEINFORMATIONW { } unsafe impl :: windows :: Abi for NTMS_DRIVETYPEINFORMATIONW { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct NTMS_FILESYSTEM_INFO { pub FileSystemType : [ u16 ;64 ] , pub VolumeName : [ u16 ;256 ] , pub SerialNumber : u32 } impl NTMS_FILESYSTEM_INFO { } impl :: std :: default :: Default for NTMS_FILESYSTEM_INFO { fn default ( ) -> Self { Self { FileSystemType : [ 0 ;64 ] , VolumeName : [ 0 ;256 ] , SerialNumber : 0 } } } impl :: std :: fmt :: Debug for NTMS_FILESYSTEM_INFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "NTMS_FILESYSTEM_INFO" ) . field ( "FileSystemType" , & self . FileSystemType ) . field ( "VolumeName" , & self . VolumeName ) . field ( "SerialNumber" , & self . SerialNumber ) . finish ( ) } } impl :: std :: cmp :: PartialEq for NTMS_FILESYSTEM_INFO { fn eq ( & self , other : & Self ) -> bool { self . FileSystemType == other . FileSystemType && self . VolumeName == other . VolumeName && self . SerialNumber == other . SerialNumber } } impl :: std :: cmp :: Eq for NTMS_FILESYSTEM_INFO { } unsafe impl :: windows :: Abi for NTMS_FILESYSTEM_INFO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct NTMS_I1_LIBRARYINFORMATION { pub LibraryType : u32 , pub CleanerSlot : :: windows :: Guid , pub CleanerSlotDefault : :: windows :: Guid , pub LibrarySupportsDriveCleaning : super::super::Foundation:: BOOL , pub BarCodeReaderInstalled : super::super::Foundation:: BOOL , pub InventoryMethod : u32 , pub dwCleanerUsesRemaining : u32 , pub FirstDriveNumber : u32 , pub dwNumberOfDrives : u32 , pub FirstSlotNumber : u32 , pub dwNumberOfSlots : u32 , pub FirstDoorNumber : u32 , pub dwNumberOfDoors : u32 , pub FirstPortNumber : u32 , pub dwNumberOfPorts : u32 , pub FirstChangerNumber : u32 , pub dwNumberOfChangers : u32 , pub dwNumberOfMedia : u32 , pub dwNumberOfMediaTypes : u32 , pub dwNumberOfLibRequests : u32 , pub Reserved : :: windows :: Guid } impl NTMS_I1_LIBRARYINFORMATION { } impl :: std :: default :: Default for NTMS_I1_LIBRARYINFORMATION { fn default ( ) -> Self { Self { LibraryType : 0 , CleanerSlot : :: std :: default :: Default :: default ( ) , CleanerSlotDefault : :: std :: default :: Default :: default ( ) , LibrarySupportsDriveCleaning : :: std :: default :: Default :: default ( ) , BarCodeReaderInstalled : :: std :: default :: Default :: default ( ) , InventoryMethod : 0 , dwCleanerUsesRemaining : 0 , FirstDriveNumber : 0 , dwNumberOfDrives : 0 , FirstSlotNumber : 0 , dwNumberOfSlots : 0 , FirstDoorNumber : 0 , dwNumberOfDoors : 0 , FirstPortNumber : 0 , dwNumberOfPorts : 0 , FirstChangerNumber : 0 , dwNumberOfChangers : 0 , dwNumberOfMedia : 0 , dwNumberOfMediaTypes : 0 , dwNumberOfLibRequests : 0 , Reserved : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for NTMS_I1_LIBRARYINFORMATION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "NTMS_I1_LIBRARYINFORMATION" ) . field ( "LibraryType" , & self . LibraryType ) . field ( "CleanerSlot" , & self . CleanerSlot ) . field ( "CleanerSlotDefault" , & self . CleanerSlotDefault ) . field ( "LibrarySupportsDriveCleaning" , & self . LibrarySupportsDriveCleaning ) . field ( "BarCodeReaderInstalled" , & self . BarCodeReaderInstalled ) . field ( "InventoryMethod" , & self . InventoryMethod ) . field ( "dwCleanerUsesRemaining" , & self . dwCleanerUsesRemaining ) . field ( "FirstDriveNumber" , & self . FirstDriveNumber ) . field ( "dwNumberOfDrives" , & self . dwNumberOfDrives ) . field ( "FirstSlotNumber" , & self . FirstSlotNumber ) . field ( "dwNumberOfSlots" , & self . dwNumberOfSlots ) . field ( "FirstDoorNumber" , & self . FirstDoorNumber ) . field ( "dwNumberOfDoors" , & self . dwNumberOfDoors ) . field ( "FirstPortNumber" , & self . FirstPortNumber ) . field ( "dwNumberOfPorts" , & self . dwNumberOfPorts ) . field ( "FirstChangerNumber" , & self . FirstChangerNumber ) . field ( "dwNumberOfChangers" , & self . dwNumberOfChangers ) . field ( "dwNumberOfMedia" , & self . dwNumberOfMedia ) . field ( "dwNumberOfMediaTypes" , & self . dwNumberOfMediaTypes ) . field ( "dwNumberOfLibRequests" , & self . dwNumberOfLibRequests ) . field ( "Reserved" , & self . Reserved ) . finish ( ) } } impl :: std :: cmp :: PartialEq for NTMS_I1_LIBRARYINFORMATION { fn eq ( & self , other : & Self ) -> bool { self . LibraryType == other . LibraryType && self . CleanerSlot == other . CleanerSlot && self . CleanerSlotDefault == other . CleanerSlotDefault && self . LibrarySupportsDriveCleaning == other . LibrarySupportsDriveCleaning && self . BarCodeReaderInstalled == other . BarCodeReaderInstalled && self . InventoryMethod == other . InventoryMethod && self . dwCleanerUsesRemaining == other . dwCleanerUsesRemaining && self . FirstDriveNumber == other . FirstDriveNumber && self . dwNumberOfDrives == other . dwNumberOfDrives && self . FirstSlotNumber == other . FirstSlotNumber && self . dwNumberOfSlots == other . dwNumberOfSlots && self . FirstDoorNumber == other . FirstDoorNumber && self . dwNumberOfDoors == other . dwNumberOfDoors && self . FirstPortNumber == other . FirstPortNumber && self . dwNumberOfPorts == other . dwNumberOfPorts && self . FirstChangerNumber == other . FirstChangerNumber && self . dwNumberOfChangers == other . dwNumberOfChangers && self . dwNumberOfMedia == other . dwNumberOfMedia && self . dwNumberOfMediaTypes == other . dwNumberOfMediaTypes && self . dwNumberOfLibRequests == other . dwNumberOfLibRequests && self . Reserved == other . Reserved } } impl :: std :: cmp :: Eq for NTMS_I1_LIBRARYINFORMATION { } unsafe impl :: windows :: Abi for NTMS_I1_LIBRARYINFORMATION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct NTMS_I1_LIBREQUESTINFORMATIONA { pub OperationCode : u32 , pub OperationOption : u32 , pub State : u32 , pub PartitionId : :: windows :: Guid , pub DriveId : :: windows :: Guid , pub PhysMediaId : :: windows :: Guid , pub Library : :: windows :: Guid , pub SlotId : :: windows :: Guid , pub TimeQueued : super::super::Foundation:: SYSTEMTIME , pub TimeCompleted : super::super::Foundation:: SYSTEMTIME , pub szApplication : [ super::super::System::SystemServices:: CHAR ;64 ] , pub szUser : [ super::super::System::SystemServices:: CHAR ;64 ] , pub szComputer : [ super::super::System::SystemServices:: CHAR ;64 ] } impl NTMS_I1_LIBREQUESTINFORMATIONA { } impl :: std :: default :: Default for NTMS_I1_LIBREQUESTINFORMATIONA { fn default ( ) -> Self { Self { OperationCode : 0 , OperationOption : 0 , State : 0 , PartitionId : :: std :: default :: Default :: default ( ) , DriveId : :: std :: default :: Default :: default ( ) , PhysMediaId : :: std :: default :: Default :: default ( ) , Library : :: std :: default :: Default :: default ( ) , SlotId : :: std :: default :: Default :: default ( ) , TimeQueued : :: std :: default :: Default :: default ( ) , TimeCompleted : :: std :: default :: Default :: default ( ) , szApplication : [ :: std :: default :: Default :: default ( ) ;64 ] , szUser : [ :: std :: default :: Default :: default ( ) ;64 ] , szComputer : [ :: std :: default :: Default :: default ( ) ;64 ] } } } impl :: std :: fmt :: Debug for NTMS_I1_LIBREQUESTINFORMATIONA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "NTMS_I1_LIBREQUESTINFORMATIONA" ) . field ( "OperationCode" , & self . OperationCode ) . field ( "OperationOption" , & self . OperationOption ) . field ( "State" , & self . State ) . field ( "PartitionId" , & self . PartitionId ) . field ( "DriveId" , & self . DriveId ) . field ( "PhysMediaId" , & self . PhysMediaId ) . field ( "Library" , & self . Library ) . field ( "SlotId" , & self . SlotId ) . field ( "TimeQueued" , & self . TimeQueued ) . field ( "TimeCompleted" , & self . TimeCompleted ) . field ( "szApplication" , & self . szApplication ) . field ( "szUser" , & self . szUser ) . field ( "szComputer" , & self . szComputer ) . finish ( ) } } impl :: std :: cmp :: PartialEq for NTMS_I1_LIBREQUESTINFORMATIONA { fn eq ( & self , other : & Self ) -> bool { self . OperationCode == other . OperationCode && self . OperationOption == other . OperationOption && self . State == other . State && self . PartitionId == other . PartitionId && self . DriveId == other . DriveId && self . PhysMediaId == other . PhysMediaId && self . Library == other . Library && self . SlotId == other . SlotId && self . TimeQueued == other . TimeQueued && self . TimeCompleted == other . TimeCompleted && self . szApplication == other . szApplication && self . szUser == other . szUser && self . szComputer == other . szComputer } } impl :: std :: cmp :: Eq for NTMS_I1_LIBREQUESTINFORMATIONA { } unsafe impl :: windows :: Abi for NTMS_I1_LIBREQUESTINFORMATIONA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct NTMS_I1_LIBREQUESTINFORMATIONW { pub OperationCode : u32 , pub OperationOption : u32 , pub State : u32 , pub PartitionId : :: windows :: Guid , pub DriveId : :: windows :: Guid , pub PhysMediaId : :: windows :: Guid , pub Library : :: windows :: Guid , pub SlotId : :: windows :: Guid , pub TimeQueued : super::super::Foundation:: SYSTEMTIME , pub TimeCompleted : super::super::Foundation:: SYSTEMTIME , pub szApplication : [ u16 ;64 ] , pub szUser : [ u16 ;64 ] , pub szComputer : [ u16 ;64 ] } impl NTMS_I1_LIBREQUESTINFORMATIONW { } impl :: std :: default :: Default for NTMS_I1_LIBREQUESTINFORMATIONW { fn default ( ) -> Self { Self { OperationCode : 0 , OperationOption : 0 , State : 0 , PartitionId : :: std :: default :: Default :: default ( ) , DriveId : :: std :: default :: Default :: default ( ) , PhysMediaId : :: std :: default :: Default :: default ( ) , Library : :: std :: default :: Default :: default ( ) , SlotId : :: std :: default :: Default :: default ( ) , TimeQueued : :: std :: default :: Default :: default ( ) , TimeCompleted : :: std :: default :: Default :: default ( ) , szApplication : [ 0 ;64 ] , szUser : [ 0 ;64 ] , szComputer : [ 0 ;64 ] } } } impl :: std :: fmt :: Debug for NTMS_I1_LIBREQUESTINFORMATIONW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "NTMS_I1_LIBREQUESTINFORMATIONW" ) . field ( "OperationCode" , & self . OperationCode ) . field ( "OperationOption" , & self . OperationOption ) . field ( "State" , & self . State ) . field ( "PartitionId" , & self . PartitionId ) . field ( "DriveId" , & self . DriveId ) . field ( "PhysMediaId" , & self . PhysMediaId ) . field ( "Library" , & self . Library ) . field ( "SlotId" , & self . SlotId ) . field ( "TimeQueued" , & self . TimeQueued ) . field ( "TimeCompleted" , & self . TimeCompleted ) . field ( "szApplication" , & self . szApplication ) . field ( "szUser" , & self . szUser ) . field ( "szComputer" , & self . szComputer ) . finish ( ) } } impl :: std :: cmp :: PartialEq for NTMS_I1_LIBREQUESTINFORMATIONW { fn eq ( & self , other : & Self ) -> bool { self . OperationCode == other . OperationCode && self . OperationOption == other . OperationOption && self . State == other . State && self . PartitionId == other . PartitionId && self . DriveId == other . DriveId && self . PhysMediaId == other . PhysMediaId && self . Library == other . Library && self . SlotId == other . SlotId && self . TimeQueued == other . TimeQueued && self . TimeCompleted == other . TimeCompleted && self . szApplication == other . szApplication && self . szUser == other . szUser && self . szComputer == other . szComputer } } impl :: std :: cmp :: Eq for NTMS_I1_LIBREQUESTINFORMATIONW { } unsafe impl :: windows :: Abi for NTMS_I1_LIBREQUESTINFORMATIONW { type Abi = Self ; type DefaultType = Self ; } pub const NTMS_I1_MESSAGE_LENGTH : u32 = 127u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct NTMS_I1_OBJECTINFORMATIONA { pub dwSize : u32 , pub dwType : u32 , pub Created : super::super::Foundation:: SYSTEMTIME , pub Modified : super::super::Foundation:: SYSTEMTIME , pub ObjectGuid : :: windows :: Guid , pub Enabled : super::super::Foundation:: BOOL , pub dwOperationalState : u32 , pub szName : [ super::super::System::SystemServices:: CHAR ;64 ] , pub szDescription : [ super::super::System::SystemServices:: CHAR ;127 ] , pub Info : NTMS_I1_OBJECTINFORMATIONA_0 } impl NTMS_I1_OBJECTINFORMATIONA { } impl :: std :: cmp :: PartialEq for NTMS_I1_OBJECTINFORMATIONA { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for NTMS_I1_OBJECTINFORMATIONA { } unsafe impl :: windows :: Abi for NTMS_I1_OBJECTINFORMATIONA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union NTMS_I1_OBJECTINFORMATIONA_0 { pub Drive : NTMS_DRIVEINFORMATIONA , pub DriveType : NTMS_DRIVETYPEINFORMATIONA , pub Library : NTMS_I1_LIBRARYINFORMATION , pub Changer : NTMS_CHANGERINFORMATIONA , pub ChangerType : NTMS_CHANGERTYPEINFORMATIONA , pub StorageSlot : NTMS_STORAGESLOTINFORMATION , pub IEDoor : NTMS_IEDOORINFORMATION , pub IEPort : NTMS_IEPORTINFORMATION , pub PhysicalMedia : NTMS_I1_PMIDINFORMATIONA , pub LogicalMedia : NTMS_LMIDINFORMATION , pub Partition : NTMS_I1_PARTITIONINFORMATIONA , pub MediaPool : NTMS_MEDIAPOOLINFORMATION , pub MediaType : NTMS_MEDIATYPEINFORMATION , pub LibRequest : NTMS_I1_LIBREQUESTINFORMATIONA , pub OpRequest : NTMS_I1_OPREQUESTINFORMATIONA } impl NTMS_I1_OBJECTINFORMATIONA_0 { } impl :: std :: cmp :: PartialEq for NTMS_I1_OBJECTINFORMATIONA_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for NTMS_I1_OBJECTINFORMATIONA_0 { } unsafe impl :: windows :: Abi for NTMS_I1_OBJECTINFORMATIONA_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct NTMS_I1_OBJECTINFORMATIONW { pub dwSize : u32 , pub dwType : u32 , pub Created : super::super::Foundation:: SYSTEMTIME , pub Modified : super::super::Foundation:: SYSTEMTIME , pub ObjectGuid : :: windows :: Guid , pub Enabled : super::super::Foundation:: BOOL , pub dwOperationalState : u32 , pub szName : [ u16 ;64 ] , pub szDescription : [ u16 ;127 ] , pub Info : NTMS_I1_OBJECTINFORMATIONW_0 } impl NTMS_I1_OBJECTINFORMATIONW { } impl :: std :: cmp :: PartialEq for NTMS_I1_OBJECTINFORMATIONW { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for NTMS_I1_OBJECTINFORMATIONW { } unsafe impl :: windows :: Abi for NTMS_I1_OBJECTINFORMATIONW { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union NTMS_I1_OBJECTINFORMATIONW_0 { pub Drive : NTMS_DRIVEINFORMATIONW , pub DriveType : NTMS_DRIVETYPEINFORMATIONW , pub Library : NTMS_I1_LIBRARYINFORMATION , pub Changer : NTMS_CHANGERINFORMATIONW , pub ChangerType : NTMS_CHANGERTYPEINFORMATIONW , pub StorageSlot : NTMS_STORAGESLOTINFORMATION , pub IEDoor : NTMS_IEDOORINFORMATION , pub IEPort : NTMS_IEPORTINFORMATION , pub PhysicalMedia : NTMS_I1_PMIDINFORMATIONW , pub LogicalMedia : NTMS_LMIDINFORMATION , pub Partition : NTMS_I1_PARTITIONINFORMATIONW , pub MediaPool : NTMS_MEDIAPOOLINFORMATION , pub MediaType : NTMS_MEDIATYPEINFORMATION , pub LibRequest : NTMS_I1_LIBREQUESTINFORMATIONW , pub OpRequest : NTMS_I1_OPREQUESTINFORMATIONW } impl NTMS_I1_OBJECTINFORMATIONW_0 { } impl :: std :: cmp :: PartialEq for NTMS_I1_OBJECTINFORMATIONW_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for NTMS_I1_OBJECTINFORMATIONW_0 { } unsafe impl :: windows :: Abi for NTMS_I1_OBJECTINFORMATIONW_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct NTMS_I1_OPREQUESTINFORMATIONA { pub Request : u32 , pub Submitted : super::super::Foundation:: SYSTEMTIME , pub State : u32 , pub szMessage : [ super::super::System::SystemServices:: CHAR ;127 ] , pub Arg1Type : u32 , pub Arg1 : :: windows :: Guid , pub Arg2Type : u32 , pub Arg2 : :: windows :: Guid , pub szApplication : [ super::super::System::SystemServices:: CHAR ;64 ] , pub szUser : [ super::super::System::SystemServices:: CHAR ;64 ] , pub szComputer : [ super::super::System::SystemServices:: CHAR ;64 ] } impl NTMS_I1_OPREQUESTINFORMATIONA { } impl :: std :: default :: Default for NTMS_I1_OPREQUESTINFORMATIONA { fn default ( ) -> Self { Self { Request : 0 , Submitted : :: std :: default :: Default :: default ( ) , State : 0 , szMessage : [ :: std :: default :: Default :: default ( ) ;127 ] , Arg1Type : 0 , Arg1 : :: std :: default :: Default :: default ( ) , Arg2Type : 0 , Arg2 : :: std :: default :: Default :: default ( ) , szApplication : [ :: std :: default :: Default :: default ( ) ;64 ] , szUser : [ :: std :: default :: Default :: default ( ) ;64 ] , szComputer : [ :: std :: default :: Default :: default ( ) ;64 ] } } } impl :: std :: fmt :: Debug for NTMS_I1_OPREQUESTINFORMATIONA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "NTMS_I1_OPREQUESTINFORMATIONA" ) . field ( "Request" , & self . Request ) . field ( "Submitted" , & self . Submitted ) . field ( "State" , & self . State ) . field ( "szMessage" , & self . szMessage ) . field ( "Arg1Type" , & self . Arg1Type ) . field ( "Arg1" , & self . Arg1 ) . field ( "Arg2Type" , & self . Arg2Type ) . field ( "Arg2" , & self . Arg2 ) . field ( "szApplication" , & self . szApplication ) . field ( "szUser" , & self . szUser ) . field ( "szComputer" , & self . szComputer ) . finish ( ) } } impl :: std :: cmp :: PartialEq for NTMS_I1_OPREQUESTINFORMATIONA { fn eq ( & self , other : & Self ) -> bool { self . Request == other . Request && self . Submitted == other . Submitted && self . State == other . State && self . szMessage == other . szMessage && self . Arg1Type == other . Arg1Type && self . Arg1 == other . Arg1 && self . Arg2Type == other . Arg2Type && self . Arg2 == other . Arg2 && self . szApplication == other . szApplication && self . szUser == other . szUser && self . szComputer == other . szComputer } } impl :: std :: cmp :: Eq for NTMS_I1_OPREQUESTINFORMATIONA { } unsafe impl :: windows :: Abi for NTMS_I1_OPREQUESTINFORMATIONA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct NTMS_I1_OPREQUESTINFORMATIONW { pub Request : u32 , pub Submitted : super::super::Foundation:: SYSTEMTIME , pub State : u32 , pub szMessage : [ u16 ;127 ] , pub Arg1Type : u32 , pub Arg1 : :: windows :: Guid , pub Arg2Type : u32 , pub Arg2 : :: windows :: Guid , pub szApplication : [ u16 ;64 ] , pub szUser : [ u16 ;64 ] , pub szComputer : [ u16 ;64 ] } impl NTMS_I1_OPREQUESTINFORMATIONW { } impl :: std :: default :: Default for NTMS_I1_OPREQUESTINFORMATIONW { fn default ( ) -> Self { Self { Request : 0 , Submitted : :: std :: default :: Default :: default ( ) , State : 0 , szMessage : [ 0 ;127 ] , Arg1Type : 0 , Arg1 : :: std :: default :: Default :: default ( ) , Arg2Type : 0 , Arg2 : :: std :: default :: Default :: default ( ) , szApplication : [ 0 ;64 ] , szUser : [ 0 ;64 ] , szComputer : [ 0 ;64 ] } } } impl :: std :: fmt :: Debug for NTMS_I1_OPREQUESTINFORMATIONW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "NTMS_I1_OPREQUESTINFORMATIONW" ) . field ( "Request" , & self . Request ) . field ( "Submitted" , & self . Submitted ) . field ( "State" , & self . State ) . field ( "szMessage" , & self . szMessage ) . field ( "Arg1Type" , & self . Arg1Type ) . field ( "Arg1" , & self . Arg1 ) . field ( "Arg2Type" , & self . Arg2Type ) . field ( "Arg2" , & self . Arg2 ) . field ( "szApplication" , & self . szApplication ) . field ( "szUser" , & self . szUser ) . field ( "szComputer" , & self . szComputer ) . finish ( ) } } impl :: std :: cmp :: PartialEq for NTMS_I1_OPREQUESTINFORMATIONW { fn eq ( & self , other : & Self ) -> bool { self . Request == other . Request && self . Submitted == other . Submitted && self . State == other . State && self . szMessage == other . szMessage && self . Arg1Type == other . Arg1Type && self . Arg1 == other . Arg1 && self . Arg2Type == other . Arg2Type && self . Arg2 == other . Arg2 && self . szApplication == other . szApplication && self . szUser == other . szUser && self . szComputer == other . szComputer } } impl :: std :: cmp :: Eq for NTMS_I1_OPREQUESTINFORMATIONW { } unsafe impl :: windows :: Abi for NTMS_I1_OPREQUESTINFORMATIONW { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct NTMS_I1_PARTITIONINFORMATIONA { pub PhysicalMedia : :: windows :: Guid , pub LogicalMedia : :: windows :: Guid , pub State : u32 , pub Side : u16 , pub dwOmidLabelIdLength : u32 , pub OmidLabelId : [ u8 ;255 ] , pub szOmidLabelType : [ super::super::System::SystemServices:: CHAR ;64 ] , pub szOmidLabelInfo : [ super::super::System::SystemServices:: CHAR ;256 ] , pub dwMountCount : u32 , pub dwAllocateCount : u32 } impl NTMS_I1_PARTITIONINFORMATIONA { } impl :: std :: default :: Default for NTMS_I1_PARTITIONINFORMATIONA { fn default ( ) -> Self { Self { PhysicalMedia : :: std :: default :: Default :: default ( ) , LogicalMedia : :: std :: default :: Default :: default ( ) , State : 0 , Side : 0 , dwOmidLabelIdLength : 0 , OmidLabelId : [ 0 ;255 ] , szOmidLabelType : [ :: std :: default :: Default :: default ( ) ;64 ] , szOmidLabelInfo : [ :: std :: default :: Default :: default ( ) ;256 ] , dwMountCount : 0 , dwAllocateCount : 0 } } } impl :: std :: fmt :: Debug for NTMS_I1_PARTITIONINFORMATIONA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "NTMS_I1_PARTITIONINFORMATIONA" ) . field ( "PhysicalMedia" , & self . PhysicalMedia ) . field ( "LogicalMedia" , & self . LogicalMedia ) . field ( "State" , & self . State ) . field ( "Side" , & self . Side ) . field ( "dwOmidLabelIdLength" , & self . dwOmidLabelIdLength ) . field ( "OmidLabelId" , & self . OmidLabelId ) . field ( "szOmidLabelType" , & self . szOmidLabelType ) . field ( "szOmidLabelInfo" , & self . szOmidLabelInfo ) . field ( "dwMountCount" , & self . dwMountCount ) . field ( "dwAllocateCount" , & self . dwAllocateCount ) . finish ( ) } } impl :: std :: cmp :: PartialEq for NTMS_I1_PARTITIONINFORMATIONA { fn eq ( & self , other : & Self ) -> bool { self . PhysicalMedia == other . PhysicalMedia && self . LogicalMedia == other . LogicalMedia && self . State == other . State && self . Side == other . Side && self . dwOmidLabelIdLength == other . dwOmidLabelIdLength && self . OmidLabelId == other . OmidLabelId && self . szOmidLabelType == other . szOmidLabelType && self . szOmidLabelInfo == other . szOmidLabelInfo && self . dwMountCount == other . dwMountCount && self . dwAllocateCount == other . dwAllocateCount } } impl :: std :: cmp :: Eq for NTMS_I1_PARTITIONINFORMATIONA { } unsafe impl :: windows :: Abi for NTMS_I1_PARTITIONINFORMATIONA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct NTMS_I1_PARTITIONINFORMATIONW { pub PhysicalMedia : :: windows :: Guid , pub LogicalMedia : :: windows :: Guid , pub State : u32 , pub Side : u16 , pub dwOmidLabelIdLength : u32 , pub OmidLabelId : [ u8 ;255 ] , pub szOmidLabelType : [ u16 ;64 ] , pub szOmidLabelInfo : [ u16 ;256 ] , pub dwMountCount : u32 , pub dwAllocateCount : u32 } impl NTMS_I1_PARTITIONINFORMATIONW { } impl :: std :: default :: Default for NTMS_I1_PARTITIONINFORMATIONW { fn default ( ) -> Self { Self { PhysicalMedia : :: std :: default :: Default :: default ( ) , LogicalMedia : :: std :: default :: Default :: default ( ) , State : 0 , Side : 0 , dwOmidLabelIdLength : 0 , OmidLabelId : [ 0 ;255 ] , szOmidLabelType : [ 0 ;64 ] , szOmidLabelInfo : [ 0 ;256 ] , dwMountCount : 0 , dwAllocateCount : 0 } } } impl :: std :: fmt :: Debug for NTMS_I1_PARTITIONINFORMATIONW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "NTMS_I1_PARTITIONINFORMATIONW" ) . field ( "PhysicalMedia" , & self . PhysicalMedia ) . field ( "LogicalMedia" , & self . LogicalMedia ) . field ( "State" , & self . State ) . field ( "Side" , & self . Side ) . field ( "dwOmidLabelIdLength" , & self . dwOmidLabelIdLength ) . field ( "OmidLabelId" , & self . OmidLabelId ) . field ( "szOmidLabelType" , & self . szOmidLabelType ) . field ( "szOmidLabelInfo" , & self . szOmidLabelInfo ) . field ( "dwMountCount" , & self . dwMountCount ) . field ( "dwAllocateCount" , & self . dwAllocateCount ) . finish ( ) } } impl :: std :: cmp :: PartialEq for NTMS_I1_PARTITIONINFORMATIONW { fn eq ( & self , other : & Self ) -> bool { self . PhysicalMedia == other . PhysicalMedia && self . LogicalMedia == other . LogicalMedia && self . State == other . State && self . Side == other . Side && self . dwOmidLabelIdLength == other . dwOmidLabelIdLength && self . OmidLabelId == other . OmidLabelId && self . szOmidLabelType == other . szOmidLabelType && self . szOmidLabelInfo == other . szOmidLabelInfo && self . dwMountCount == other . dwMountCount && self . dwAllocateCount == other . dwAllocateCount } } impl :: std :: cmp :: Eq for NTMS_I1_PARTITIONINFORMATIONW { } unsafe impl :: windows :: Abi for NTMS_I1_PARTITIONINFORMATIONW { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct NTMS_I1_PMIDINFORMATIONA { pub CurrentLibrary : :: windows :: Guid , pub MediaPool : :: windows :: Guid , pub Location : :: windows :: Guid , pub LocationType : u32 , pub MediaType : :: windows :: Guid , pub HomeSlot : :: windows :: Guid , pub szBarCode : [ super::super::System::SystemServices:: CHAR ;64 ] , pub BarCodeState : u32 , pub szSequenceNumber : [ super::super::System::SystemServices:: CHAR ;32 ] , pub MediaState : u32 , pub dwNumberOfPartitions : u32 } impl NTMS_I1_PMIDINFORMATIONA { } impl :: std :: default :: Default for NTMS_I1_PMIDINFORMATIONA { fn default ( ) -> Self { Self { CurrentLibrary : :: std :: default :: Default :: default ( ) , MediaPool : :: std :: default :: Default :: default ( ) , Location : :: std :: default :: Default :: default ( ) , LocationType : 0 , MediaType : :: std :: default :: Default :: default ( ) , HomeSlot : :: std :: default :: Default :: default ( ) , szBarCode : [ :: std :: default :: Default :: default ( ) ;64 ] , BarCodeState : 0 , szSequenceNumber : [ :: std :: default :: Default :: default ( ) ;32 ] , MediaState : 0 , dwNumberOfPartitions : 0 } } } impl :: std :: fmt :: Debug for NTMS_I1_PMIDINFORMATIONA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "NTMS_I1_PMIDINFORMATIONA" ) . field ( "CurrentLibrary" , & self . CurrentLibrary ) . field ( "MediaPool" , & self . MediaPool ) . field ( "Location" , & self . Location ) . field ( "LocationType" , & self . LocationType ) . field ( "MediaType" , & self . MediaType ) . field ( "HomeSlot" , & self . HomeSlot ) . field ( "szBarCode" , & self . szBarCode ) . field ( "BarCodeState" , & self . BarCodeState ) . field ( "szSequenceNumber" , & self . szSequenceNumber ) . field ( "MediaState" , & self . MediaState ) . field ( "dwNumberOfPartitions" , & self . dwNumberOfPartitions ) . finish ( ) } } impl :: std :: cmp :: PartialEq for NTMS_I1_PMIDINFORMATIONA { fn eq ( & self , other : & Self ) -> bool { self . CurrentLibrary == other . CurrentLibrary && self . MediaPool == other . MediaPool && self . Location == other . Location && self . LocationType == other . LocationType && self . MediaType == other . MediaType && self . HomeSlot == other . HomeSlot && self . szBarCode == other . szBarCode && self . BarCodeState == other . BarCodeState && self . szSequenceNumber == other . szSequenceNumber && self . MediaState == other . MediaState && self . dwNumberOfPartitions == other . dwNumberOfPartitions } } impl :: std :: cmp :: Eq for NTMS_I1_PMIDINFORMATIONA { } unsafe impl :: windows :: Abi for NTMS_I1_PMIDINFORMATIONA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct NTMS_I1_PMIDINFORMATIONW { pub CurrentLibrary : :: windows :: Guid , pub MediaPool : :: windows :: Guid , pub Location : :: windows :: Guid , pub LocationType : u32 , pub MediaType : :: windows :: Guid , pub HomeSlot : :: windows :: Guid , pub szBarCode : [ u16 ;64 ] , pub BarCodeState : u32 , pub szSequenceNumber : [ u16 ;32 ] , pub MediaState : u32 , pub dwNumberOfPartitions : u32 } impl NTMS_I1_PMIDINFORMATIONW { } impl :: std :: default :: Default for NTMS_I1_PMIDINFORMATIONW { fn default ( ) -> Self { Self { CurrentLibrary : :: std :: default :: Default :: default ( ) , MediaPool : :: std :: default :: Default :: default ( ) , Location : :: std :: default :: Default :: default ( ) , LocationType : 0 , MediaType : :: std :: default :: Default :: default ( ) , HomeSlot : :: std :: default :: Default :: default ( ) , szBarCode : [ 0 ;64 ] , BarCodeState : 0 , szSequenceNumber : [ 0 ;32 ] , MediaState : 0 , dwNumberOfPartitions : 0 } } } impl :: std :: fmt :: Debug for NTMS_I1_PMIDINFORMATIONW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "NTMS_I1_PMIDINFORMATIONW" ) . field ( "CurrentLibrary" , & self . CurrentLibrary ) . field ( "MediaPool" , & self . MediaPool ) . field ( "Location" , & self . Location ) . field ( "LocationType" , & self . LocationType ) . field ( "MediaType" , & self . MediaType ) . field ( "HomeSlot" , & self . HomeSlot ) . field ( "szBarCode" , & self . szBarCode ) . field ( "BarCodeState" , & self . BarCodeState ) . field ( "szSequenceNumber" , & self . szSequenceNumber ) . field ( "MediaState" , & self . MediaState ) . field ( "dwNumberOfPartitions" , & self . dwNumberOfPartitions ) . finish ( ) } } impl :: std :: cmp :: PartialEq for NTMS_I1_PMIDINFORMATIONW { fn eq ( & self , other : & Self ) -> bool { self . CurrentLibrary == other . CurrentLibrary && self . MediaPool == other . MediaPool && self . Location == other . Location && self . LocationType == other . LocationType && self . MediaType == other . MediaType && self . HomeSlot == other . HomeSlot && self . szBarCode == other . szBarCode && self . BarCodeState == other . BarCodeState && self . szSequenceNumber == other . szSequenceNumber && self . MediaState == other . MediaState && self . dwNumberOfPartitions == other . dwNumberOfPartitions } } impl :: std :: cmp :: Eq for NTMS_I1_PMIDINFORMATIONW { } unsafe impl :: windows :: Abi for NTMS_I1_PMIDINFORMATIONW { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct NTMS_IEDOORINFORMATION { pub Number : u32 , pub State : NtmsDoorState , pub MaxOpenSecs : u16 , pub Library : :: windows :: Guid } impl NTMS_IEDOORINFORMATION { } impl :: std :: default :: Default for NTMS_IEDOORINFORMATION { fn default ( ) -> Self { Self { Number : 0 , State : :: std :: default :: Default :: default ( ) , MaxOpenSecs : 0 , Library : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for NTMS_IEDOORINFORMATION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "NTMS_IEDOORINFORMATION" ) . field ( "Number" , & self . Number ) . field ( "State" , & self . State ) . field ( "MaxOpenSecs" , & self . MaxOpenSecs ) . field ( "Library" , & self . Library ) . finish ( ) } } impl :: std :: cmp :: PartialEq for NTMS_IEDOORINFORMATION { fn eq ( & self , other : & Self ) -> bool { self . Number == other . Number && self . State == other . State && self . MaxOpenSecs == other . MaxOpenSecs && self . Library == other . Library } } impl :: std :: cmp :: Eq for NTMS_IEDOORINFORMATION { } unsafe impl :: windows :: Abi for NTMS_IEDOORINFORMATION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct NTMS_IEPORTINFORMATION { pub Number : u32 , pub Content : NtmsPortContent , pub Position : NtmsPortPosition , pub MaxExtendSecs : u16 , pub Library : :: windows :: Guid } impl NTMS_IEPORTINFORMATION { } impl :: std :: default :: Default for NTMS_IEPORTINFORMATION { fn default ( ) -> Self { Self { Number : 0 , Content : :: std :: default :: Default :: default ( ) , Position : :: std :: default :: Default :: default ( ) , MaxExtendSecs : 0 , Library : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for NTMS_IEPORTINFORMATION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "NTMS_IEPORTINFORMATION" ) . field ( "Number" , & self . Number ) . field ( "Content" , & self . Content ) . field ( "Position" , & self . Position ) . field ( "MaxExtendSecs" , & self . MaxExtendSecs ) . field ( "Library" , & self . Library ) . finish ( ) } } impl :: std :: cmp :: PartialEq for NTMS_IEPORTINFORMATION { fn eq ( & self , other : & Self ) -> bool { self . Number == other . Number && self . Content == other . Content && self . Position == other . Position && self . MaxExtendSecs == other . MaxExtendSecs && self . Library == other . Library } } impl :: std :: cmp :: Eq for NTMS_IEPORTINFORMATION { } unsafe impl :: windows :: Abi for NTMS_IEPORTINFORMATION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct NTMS_LIBRARYINFORMATION { pub LibraryType : NtmsLibraryType , pub CleanerSlot : :: windows :: Guid , pub CleanerSlotDefault : :: windows :: Guid , pub LibrarySupportsDriveCleaning : super::super::Foundation:: BOOL , pub BarCodeReaderInstalled : super::super::Foundation:: BOOL , pub InventoryMethod : NtmsInventoryMethod , pub dwCleanerUsesRemaining : u32 , pub FirstDriveNumber : u32 , pub dwNumberOfDrives : u32 , pub FirstSlotNumber : u32 , pub dwNumberOfSlots : u32 , pub FirstDoorNumber : u32 , pub dwNumberOfDoors : u32 , pub FirstPortNumber : u32 , pub dwNumberOfPorts : u32 , pub FirstChangerNumber : u32 , pub dwNumberOfChangers : u32 , pub dwNumberOfMedia : u32 , pub dwNumberOfMediaTypes : u32 , pub dwNumberOfLibRequests : u32 , pub Reserved : :: windows :: Guid , pub AutoRecovery : super::super::Foundation:: BOOL , pub dwFlags : NtmsLibraryFlags } impl NTMS_LIBRARYINFORMATION { } impl :: std :: default :: Default for NTMS_LIBRARYINFORMATION { fn default ( ) -> Self { Self { LibraryType : :: std :: default :: Default :: default ( ) , CleanerSlot : :: std :: default :: Default :: default ( ) , CleanerSlotDefault : :: std :: default :: Default :: default ( ) , LibrarySupportsDriveCleaning : :: std :: default :: Default :: default ( ) , BarCodeReaderInstalled : :: std :: default :: Default :: default ( ) , InventoryMethod : :: std :: default :: Default :: default ( ) , dwCleanerUsesRemaining : 0 , FirstDriveNumber : 0 , dwNumberOfDrives : 0 , FirstSlotNumber : 0 , dwNumberOfSlots : 0 , FirstDoorNumber : 0 , dwNumberOfDoors : 0 , FirstPortNumber : 0 , dwNumberOfPorts : 0 , FirstChangerNumber : 0 , dwNumberOfChangers : 0 , dwNumberOfMedia : 0 , dwNumberOfMediaTypes : 0 , dwNumberOfLibRequests : 0 , Reserved : :: std :: default :: Default :: default ( ) , AutoRecovery : :: std :: default :: Default :: default ( ) , dwFlags : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for NTMS_LIBRARYINFORMATION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "NTMS_LIBRARYINFORMATION" ) . field ( "LibraryType" , & self . LibraryType ) . field ( "CleanerSlot" , & self . CleanerSlot ) . field ( "CleanerSlotDefault" , & self . CleanerSlotDefault ) . field ( "LibrarySupportsDriveCleaning" , & self . LibrarySupportsDriveCleaning ) . field ( "BarCodeReaderInstalled" , & self . BarCodeReaderInstalled ) . field ( "InventoryMethod" , & self . InventoryMethod ) . field ( "dwCleanerUsesRemaining" , & self . dwCleanerUsesRemaining ) . field ( "FirstDriveNumber" , & self . FirstDriveNumber ) . field ( "dwNumberOfDrives" , & self . dwNumberOfDrives ) . field ( "FirstSlotNumber" , & self . FirstSlotNumber ) . field ( "dwNumberOfSlots" , & self . dwNumberOfSlots ) . field ( "FirstDoorNumber" , & self . FirstDoorNumber ) . field ( "dwNumberOfDoors" , & self . dwNumberOfDoors ) . field ( "FirstPortNumber" , & self . FirstPortNumber ) . field ( "dwNumberOfPorts" , & self . dwNumberOfPorts ) . field ( "FirstChangerNumber" , & self . FirstChangerNumber ) . field ( "dwNumberOfChangers" , & self . dwNumberOfChangers ) . field ( "dwNumberOfMedia" , & self . dwNumberOfMedia ) . field ( "dwNumberOfMediaTypes" , & self . dwNumberOfMediaTypes ) . field ( "dwNumberOfLibRequests" , & self . dwNumberOfLibRequests ) . field ( "Reserved" , & self . Reserved ) . field ( "AutoRecovery" , & self . AutoRecovery ) . field ( "dwFlags" , & self . dwFlags ) . finish ( ) } } impl :: std :: cmp :: PartialEq for NTMS_LIBRARYINFORMATION { fn eq ( & self , other : & Self ) -> bool { self . LibraryType == other . LibraryType && self . CleanerSlot == other . CleanerSlot && self . CleanerSlotDefault == other . CleanerSlotDefault && self . LibrarySupportsDriveCleaning == other . LibrarySupportsDriveCleaning && self . BarCodeReaderInstalled == other . BarCodeReaderInstalled && self . InventoryMethod == other . InventoryMethod && self . dwCleanerUsesRemaining == other . dwCleanerUsesRemaining && self . FirstDriveNumber == other . FirstDriveNumber && self . dwNumberOfDrives == other . dwNumberOfDrives && self . FirstSlotNumber == other . FirstSlotNumber && self . dwNumberOfSlots == other . dwNumberOfSlots && self . FirstDoorNumber == other . FirstDoorNumber && self . dwNumberOfDoors == other . dwNumberOfDoors && self . FirstPortNumber == other . FirstPortNumber && self . dwNumberOfPorts == other . dwNumberOfPorts && self . FirstChangerNumber == other . FirstChangerNumber && self . dwNumberOfChangers == other . dwNumberOfChangers && self . dwNumberOfMedia == other . dwNumberOfMedia && self . dwNumberOfMediaTypes == other . dwNumberOfMediaTypes && self . dwNumberOfLibRequests == other . dwNumberOfLibRequests && self . Reserved == other . Reserved && self . AutoRecovery == other . AutoRecovery && self . dwFlags == other . dwFlags } } impl :: std :: cmp :: Eq for NTMS_LIBRARYINFORMATION { } unsafe impl :: windows :: Abi for NTMS_LIBRARYINFORMATION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct NTMS_LIBREQUESTINFORMATIONA { pub OperationCode : NtmsLmOperation , pub OperationOption : u32 , pub State : NtmsLmState , pub PartitionId : :: windows :: Guid , pub DriveId : :: windows :: Guid , pub PhysMediaId : :: windows :: Guid , pub Library : :: windows :: Guid , pub SlotId : :: windows :: Guid , pub TimeQueued : super::super::Foundation:: SYSTEMTIME , pub TimeCompleted : super::super::Foundation:: SYSTEMTIME , pub szApplication : [ super::super::System::SystemServices:: CHAR ;64 ] , pub szUser : [ super::super::System::SystemServices:: CHAR ;64 ] , pub szComputer : [ super::super::System::SystemServices:: CHAR ;64 ] , pub dwErrorCode : u32 , pub WorkItemId : :: windows :: Guid , pub dwPriority : u32 } impl NTMS_LIBREQUESTINFORMATIONA { } impl :: std :: default :: Default for NTMS_LIBREQUESTINFORMATIONA { fn default ( ) -> Self { Self { OperationCode : :: std :: default :: Default :: default ( ) , OperationOption : 0 , State : :: std :: default :: Default :: default ( ) , PartitionId : :: std :: default :: Default :: default ( ) , DriveId : :: std :: default :: Default :: default ( ) , PhysMediaId : :: std :: default :: Default :: default ( ) , Library : :: std :: default :: Default :: default ( ) , SlotId : :: std :: default :: Default :: default ( ) , TimeQueued : :: std :: default :: Default :: default ( ) , TimeCompleted : :: std :: default :: Default :: default ( ) , szApplication : [ :: std :: default :: Default :: default ( ) ;64 ] , szUser : [ :: std :: default :: Default :: default ( ) ;64 ] , szComputer : [ :: std :: default :: Default :: default ( ) ;64 ] , dwErrorCode : 0 , WorkItemId : :: std :: default :: Default :: default ( ) , dwPriority : 0 } } } impl :: std :: fmt :: Debug for NTMS_LIBREQUESTINFORMATIONA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "NTMS_LIBREQUESTINFORMATIONA" ) . field ( "OperationCode" , & self . OperationCode ) . field ( "OperationOption" , & self . OperationOption ) . field ( "State" , & self . State ) . field ( "PartitionId" , & self . PartitionId ) . field ( "DriveId" , & self . DriveId ) . field ( "PhysMediaId" , & self . PhysMediaId ) . field ( "Library" , & self . Library ) . field ( "SlotId" , & self . SlotId ) . field ( "TimeQueued" , & self . TimeQueued ) . field ( "TimeCompleted" , & self . TimeCompleted ) . field ( "szApplication" , & self . szApplication ) . field ( "szUser" , & self . szUser ) . field ( "szComputer" , & self . szComputer ) . field ( "dwErrorCode" , & self . dwErrorCode ) . field ( "WorkItemId" , & self . WorkItemId ) . field ( "dwPriority" , & self . dwPriority ) . finish ( ) } } impl :: std :: cmp :: PartialEq for NTMS_LIBREQUESTINFORMATIONA { fn eq ( & self , other : & Self ) -> bool { self . OperationCode == other . OperationCode && self . OperationOption == other . OperationOption && self . State == other . State && self . PartitionId == other . PartitionId && self . DriveId == other . DriveId && self . PhysMediaId == other . PhysMediaId && self . Library == other . Library && self . SlotId == other . SlotId && self . TimeQueued == other . TimeQueued && self . TimeCompleted == other . TimeCompleted && self . szApplication == other . szApplication && self . szUser == other . szUser && self . szComputer == other . szComputer && self . dwErrorCode == other . dwErrorCode && self . WorkItemId == other . WorkItemId && self . dwPriority == other . dwPriority } } impl :: std :: cmp :: Eq for NTMS_LIBREQUESTINFORMATIONA { } unsafe impl :: windows :: Abi for NTMS_LIBREQUESTINFORMATIONA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct NTMS_LIBREQUESTINFORMATIONW { pub OperationCode : NtmsLmOperation , pub OperationOption : u32 , pub State : NtmsLmState , pub PartitionId : :: windows :: Guid , pub DriveId : :: windows :: Guid , pub PhysMediaId : :: windows :: Guid , pub Library : :: windows :: Guid , pub SlotId : :: windows :: Guid , pub TimeQueued : super::super::Foundation:: SYSTEMTIME , pub TimeCompleted : super::super::Foundation:: SYSTEMTIME , pub szApplication : [ u16 ;64 ] , pub szUser : [ u16 ;64 ] , pub szComputer : [ u16 ;64 ] , pub dwErrorCode : u32 , pub WorkItemId : :: windows :: Guid , pub dwPriority : u32 } impl NTMS_LIBREQUESTINFORMATIONW { } impl :: std :: default :: Default for NTMS_LIBREQUESTINFORMATIONW { fn default ( ) -> Self { Self { OperationCode : :: std :: default :: Default :: default ( ) , OperationOption : 0 , State : :: std :: default :: Default :: default ( ) , PartitionId : :: std :: default :: Default :: default ( ) , DriveId : :: std :: default :: Default :: default ( ) , PhysMediaId : :: std :: default :: Default :: default ( ) , Library : :: std :: default :: Default :: default ( ) , SlotId : :: std :: default :: Default :: default ( ) , TimeQueued : :: std :: default :: Default :: default ( ) , TimeCompleted : :: std :: default :: Default :: default ( ) , szApplication : [ 0 ;64 ] , szUser : [ 0 ;64 ] , szComputer : [ 0 ;64 ] , dwErrorCode : 0 , WorkItemId : :: std :: default :: Default :: default ( ) , dwPriority : 0 } } } impl :: std :: fmt :: Debug for NTMS_LIBREQUESTINFORMATIONW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "NTMS_LIBREQUESTINFORMATIONW" ) . field ( "OperationCode" , & self . OperationCode ) . field ( "OperationOption" , & self . OperationOption ) . field ( "State" , & self . State ) . field ( "PartitionId" , & self . PartitionId ) . field ( "DriveId" , & self . DriveId ) . field ( "PhysMediaId" , & self . PhysMediaId ) . field ( "Library" , & self . Library ) . field ( "SlotId" , & self . SlotId ) . field ( "TimeQueued" , & self . TimeQueued ) . field ( "TimeCompleted" , & self . TimeCompleted ) . field ( "szApplication" , & self . szApplication ) . field ( "szUser" , & self . szUser ) . field ( "szComputer" , & self . szComputer ) . field ( "dwErrorCode" , & self . dwErrorCode ) . field ( "WorkItemId" , & self . WorkItemId ) . field ( "dwPriority" , & self . dwPriority ) . finish ( ) } } impl :: std :: cmp :: PartialEq for NTMS_LIBREQUESTINFORMATIONW { fn eq ( & self , other : & Self ) -> bool { self . OperationCode == other . OperationCode && self . OperationOption == other . OperationOption && self . State == other . State && self . PartitionId == other . PartitionId && self . DriveId == other . DriveId && self . PhysMediaId == other . PhysMediaId && self . Library == other . Library && self . SlotId == other . SlotId && self . TimeQueued == other . TimeQueued && self . TimeCompleted == other . TimeCompleted && self . szApplication == other . szApplication && self . szUser == other . szUser && self . szComputer == other . szComputer && self . dwErrorCode == other . dwErrorCode && self . WorkItemId == other . WorkItemId && self . dwPriority == other . dwPriority } } impl :: std :: cmp :: Eq for NTMS_LIBREQUESTINFORMATIONW { } unsafe impl :: windows :: Abi for NTMS_LIBREQUESTINFORMATIONW { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct NTMS_LMIDINFORMATION { pub MediaPool : :: windows :: Guid , pub dwNumberOfPartitions : u32 } impl NTMS_LMIDINFORMATION { } impl :: std :: default :: Default for NTMS_LMIDINFORMATION { fn default ( ) -> Self { Self { MediaPool : :: std :: default :: Default :: default ( ) , dwNumberOfPartitions : 0 } } } impl :: std :: fmt :: Debug for NTMS_LMIDINFORMATION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "NTMS_LMIDINFORMATION" ) . field ( "MediaPool" , & self . MediaPool ) . field ( "dwNumberOfPartitions" , & self . dwNumberOfPartitions ) . finish ( ) } } impl :: std :: cmp :: PartialEq for NTMS_LMIDINFORMATION { fn eq ( & self , other : & Self ) -> bool { self . MediaPool == other . MediaPool && self . dwNumberOfPartitions == other . dwNumberOfPartitions } } impl :: std :: cmp :: Eq for NTMS_LMIDINFORMATION { } unsafe impl :: windows :: Abi for NTMS_LMIDINFORMATION { type Abi = Self ; type DefaultType = Self ; } pub const NTMS_MAXATTR_LENGTH : u32 = 65536u32 ; pub const NTMS_MAXATTR_NAMELEN : u32 = 32u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct NTMS_MEDIAPOOLINFORMATION { pub PoolType : u32 , pub MediaType : :: windows :: Guid , pub Parent : :: windows :: Guid , pub AllocationPolicy : u32 , pub DeallocationPolicy : u32 , pub dwMaxAllocates : u32 , pub dwNumberOfPhysicalMedia : u32 , pub dwNumberOfLogicalMedia : u32 , pub dwNumberOfMediaPools : u32 } impl NTMS_MEDIAPOOLINFORMATION { } impl :: std :: default :: Default for NTMS_MEDIAPOOLINFORMATION { fn default ( ) -> Self { Self { PoolType : 0 , MediaType : :: std :: default :: Default :: default ( ) , Parent : :: std :: default :: Default :: default ( ) , AllocationPolicy : 0 , DeallocationPolicy : 0 , dwMaxAllocates : 0 , dwNumberOfPhysicalMedia : 0 , dwNumberOfLogicalMedia : 0 , dwNumberOfMediaPools : 0 } } } impl :: std :: fmt :: Debug for NTMS_MEDIAPOOLINFORMATION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "NTMS_MEDIAPOOLINFORMATION" ) . field ( "PoolType" , & self . PoolType ) . field ( "MediaType" , & self . MediaType ) . field ( "Parent" , & self . Parent ) . field ( "AllocationPolicy" , & self . AllocationPolicy ) . field ( "DeallocationPolicy" , & self . DeallocationPolicy ) . field ( "dwMaxAllocates" , & self . dwMaxAllocates ) . field ( "dwNumberOfPhysicalMedia" , & self . dwNumberOfPhysicalMedia ) . field ( "dwNumberOfLogicalMedia" , & self . dwNumberOfLogicalMedia ) . field ( "dwNumberOfMediaPools" , & self . dwNumberOfMediaPools ) . finish ( ) } } impl :: std :: cmp :: PartialEq for NTMS_MEDIAPOOLINFORMATION { fn eq ( & self , other : & Self ) -> bool { self . PoolType == other . PoolType && self . MediaType == other . MediaType && self . Parent == other . Parent && self . AllocationPolicy == other . AllocationPolicy && self . DeallocationPolicy == other . DeallocationPolicy && self . dwMaxAllocates == other . dwMaxAllocates && self . dwNumberOfPhysicalMedia == other . dwNumberOfPhysicalMedia && self . dwNumberOfLogicalMedia == other . dwNumberOfLogicalMedia && self . dwNumberOfMediaPools == other . dwNumberOfMediaPools } } impl :: std :: cmp :: Eq for NTMS_MEDIAPOOLINFORMATION { } unsafe impl :: windows :: Abi for NTMS_MEDIAPOOLINFORMATION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct NTMS_MEDIATYPEINFORMATION { pub MediaType : u32 , pub NumberOfSides : u32 , pub ReadWriteCharacteristics : NtmsReadWriteCharacteristics , pub DeviceType : FILE_DEVICE_TYPE } impl NTMS_MEDIATYPEINFORMATION { } impl :: std :: default :: Default for NTMS_MEDIATYPEINFORMATION { fn default ( ) -> Self { Self { MediaType : 0 , NumberOfSides : 0 , ReadWriteCharacteristics : :: std :: default :: Default :: default ( ) , DeviceType : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for NTMS_MEDIATYPEINFORMATION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "NTMS_MEDIATYPEINFORMATION" ) . field ( "MediaType" , & self . MediaType ) . field ( "NumberOfSides" , & self . NumberOfSides ) . field ( "ReadWriteCharacteristics" , & self . ReadWriteCharacteristics ) . field ( "DeviceType" , & self . DeviceType ) . finish ( ) } } impl :: std :: cmp :: PartialEq for NTMS_MEDIATYPEINFORMATION { fn eq ( & self , other : & Self ) -> bool { self . MediaType == other . MediaType && self . NumberOfSides == other . NumberOfSides && self . ReadWriteCharacteristics == other . ReadWriteCharacteristics && self . DeviceType == other . DeviceType } } impl :: std :: cmp :: Eq for NTMS_MEDIATYPEINFORMATION { } unsafe impl :: windows :: Abi for NTMS_MEDIATYPEINFORMATION { type Abi = Self ; type DefaultType = Self ; } pub const NTMS_MESSAGE_LENGTH : u32 = 256u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct NTMS_MOUNT_INFORMATION { pub dwSize : u32 , pub lpReserved : * mut :: std :: ffi :: c_void } impl NTMS_MOUNT_INFORMATION { } impl :: std :: default :: Default for NTMS_MOUNT_INFORMATION { fn default ( ) -> Self { Self { dwSize : 0 , lpReserved : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for NTMS_MOUNT_INFORMATION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "NTMS_MOUNT_INFORMATION" ) . field ( "dwSize" , & self . dwSize ) . field ( "lpReserved" , & self . lpReserved ) . finish ( ) } } impl :: std :: cmp :: PartialEq for NTMS_MOUNT_INFORMATION { fn eq ( & self , other : & Self ) -> bool { self . dwSize == other . dwSize && self . lpReserved == other . lpReserved } } impl :: std :: cmp :: Eq for NTMS_MOUNT_INFORMATION { } unsafe impl :: windows :: Abi for NTMS_MOUNT_INFORMATION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct NTMS_NOTIFICATIONINFORMATION { pub dwOperation : NtmsNotificationOperations , pub ObjectId : :: windows :: Guid } impl NTMS_NOTIFICATIONINFORMATION { } impl :: std :: default :: Default for NTMS_NOTIFICATIONINFORMATION { fn default ( ) -> Self { Self { dwOperation : :: std :: default :: Default :: default ( ) , ObjectId : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for NTMS_NOTIFICATIONINFORMATION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "NTMS_NOTIFICATIONINFORMATION" ) . field ( "dwOperation" , & self . dwOperation ) . field ( "ObjectId" , & self . ObjectId ) . finish ( ) } } impl :: std :: cmp :: PartialEq for NTMS_NOTIFICATIONINFORMATION { fn eq ( & self , other : & Self ) -> bool { self . dwOperation == other . dwOperation && self . ObjectId == other . ObjectId } } impl :: std :: cmp :: Eq for NTMS_NOTIFICATIONINFORMATION { } unsafe impl :: windows :: Abi for NTMS_NOTIFICATIONINFORMATION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct NTMS_OBJECTINFORMATIONA { pub dwSize : u32 , pub dwType : NtmsObjectsTypes , pub Created : super::super::Foundation:: SYSTEMTIME , pub Modified : super::super::Foundation:: SYSTEMTIME , pub ObjectGuid : :: windows :: Guid , pub Enabled : super::super::Foundation:: BOOL , pub dwOperationalState : NtmsOperationalState , pub szName : [ super::super::System::SystemServices:: CHAR ;64 ] , pub szDescription : [ super::super::System::SystemServices:: CHAR ;127 ] , pub Info : NTMS_OBJECTINFORMATIONA_0 } impl NTMS_OBJECTINFORMATIONA { } impl :: std :: cmp :: PartialEq for NTMS_OBJECTINFORMATIONA { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for NTMS_OBJECTINFORMATIONA { } unsafe impl :: windows :: Abi for NTMS_OBJECTINFORMATIONA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union NTMS_OBJECTINFORMATIONA_0 { pub Drive : NTMS_DRIVEINFORMATIONA , pub DriveType : NTMS_DRIVETYPEINFORMATIONA , pub Library : NTMS_LIBRARYINFORMATION , pub Changer : NTMS_CHANGERINFORMATIONA , pub ChangerType : NTMS_CHANGERTYPEINFORMATIONA , pub StorageSlot : NTMS_STORAGESLOTINFORMATION , pub IEDoor : NTMS_IEDOORINFORMATION , pub IEPort : NTMS_IEPORTINFORMATION , pub PhysicalMedia : NTMS_PMIDINFORMATIONA , pub LogicalMedia : NTMS_LMIDINFORMATION , pub Partition : NTMS_PARTITIONINFORMATIONA , pub MediaPool : NTMS_MEDIAPOOLINFORMATION , pub MediaType : NTMS_MEDIATYPEINFORMATION , pub LibRequest : NTMS_LIBREQUESTINFORMATIONA , pub OpRequest : NTMS_OPREQUESTINFORMATIONA , pub Computer : NTMS_COMPUTERINFORMATION } impl NTMS_OBJECTINFORMATIONA_0 { } impl :: std :: cmp :: PartialEq for NTMS_OBJECTINFORMATIONA_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for NTMS_OBJECTINFORMATIONA_0 { } unsafe impl :: windows :: Abi for NTMS_OBJECTINFORMATIONA_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct NTMS_OBJECTINFORMATIONW { pub dwSize : u32 , pub dwType : NtmsObjectsTypes , pub Created : super::super::Foundation:: SYSTEMTIME , pub Modified : super::super::Foundation:: SYSTEMTIME , pub ObjectGuid : :: windows :: Guid , pub Enabled : super::super::Foundation:: BOOL , pub dwOperationalState : NtmsOperationalState , pub szName : [ u16 ;64 ] , pub szDescription : [ u16 ;127 ] , pub Info : NTMS_OBJECTINFORMATIONW_0 } impl NTMS_OBJECTINFORMATIONW { } impl :: std :: cmp :: PartialEq for NTMS_OBJECTINFORMATIONW { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for NTMS_OBJECTINFORMATIONW { } unsafe impl :: windows :: Abi for NTMS_OBJECTINFORMATIONW { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union NTMS_OBJECTINFORMATIONW_0 { pub Drive : NTMS_DRIVEINFORMATIONW , pub DriveType : NTMS_DRIVETYPEINFORMATIONW , pub Library : NTMS_LIBRARYINFORMATION , pub Changer : NTMS_CHANGERINFORMATIONW , pub ChangerType : NTMS_CHANGERTYPEINFORMATIONW , pub StorageSlot : NTMS_STORAGESLOTINFORMATION , pub IEDoor : NTMS_IEDOORINFORMATION , pub IEPort : NTMS_IEPORTINFORMATION , pub PhysicalMedia : NTMS_PMIDINFORMATIONW , pub LogicalMedia : NTMS_LMIDINFORMATION , pub Partition : NTMS_PARTITIONINFORMATIONW , pub MediaPool : NTMS_MEDIAPOOLINFORMATION , pub MediaType : NTMS_MEDIATYPEINFORMATION , pub LibRequest : NTMS_LIBREQUESTINFORMATIONW , pub OpRequest : NTMS_OPREQUESTINFORMATIONW , pub Computer : NTMS_COMPUTERINFORMATION } impl NTMS_OBJECTINFORMATIONW_0 { } impl :: std :: cmp :: PartialEq for NTMS_OBJECTINFORMATIONW_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for NTMS_OBJECTINFORMATIONW_0 { } unsafe impl :: windows :: Abi for NTMS_OBJECTINFORMATIONW_0 { type Abi = Self ; type DefaultType = Self ; } pub const NTMS_OBJECTNAME_LENGTH : u32 = 64u32 ; pub const NTMS_OMIDLABELID_LENGTH : u32 = 255u32 ; pub const NTMS_OMIDLABELINFO_LENGTH : u32 = 256u32 ; pub const NTMS_OMIDLABELTYPE_LENGTH : u32 = 64u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct NTMS_OMID_TYPE ( pub u32 ) ; pub const NTMS_OMID_TYPE_FILESYSTEM_INFO : NTMS_OMID_TYPE = NTMS_OMID_TYPE ( 2u32 ) ; pub const NTMS_OMID_TYPE_RAW_LABEL : NTMS_OMID_TYPE = NTMS_OMID_TYPE ( 1u32 ) ; impl :: std :: convert :: From < u32 > for NTMS_OMID_TYPE { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for NTMS_OMID_TYPE { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for NTMS_OMID_TYPE { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for NTMS_OMID_TYPE { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for NTMS_OMID_TYPE { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for NTMS_OMID_TYPE { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct NTMS_OPREQUESTINFORMATIONA { pub Request : NtmsOpreqCommand , pub Submitted : super::super::Foundation:: SYSTEMTIME , pub State : NtmsOpreqState , pub szMessage : [ super::super::System::SystemServices:: CHAR ;256 ] , pub Arg1Type : NtmsObjectsTypes , pub Arg1 : :: windows :: Guid , pub Arg2Type : NtmsObjectsTypes , pub Arg2 : :: windows :: Guid , pub szApplication : [ super::super::System::SystemServices:: CHAR ;64 ] , pub szUser : [ super::super::System::SystemServices:: CHAR ;64 ] , pub szComputer : [ super::super::System::SystemServices:: CHAR ;64 ] } impl NTMS_OPREQUESTINFORMATIONA { } impl :: std :: default :: Default for NTMS_OPREQUESTINFORMATIONA { fn default ( ) -> Self { Self { Request : :: std :: default :: Default :: default ( ) , Submitted : :: std :: default :: Default :: default ( ) , State : :: std :: default :: Default :: default ( ) , szMessage : [ :: std :: default :: Default :: default ( ) ;256 ] , Arg1Type : :: std :: default :: Default :: default ( ) , Arg1 : :: std :: default :: Default :: default ( ) , Arg2Type : :: std :: default :: Default :: default ( ) , Arg2 : :: std :: default :: Default :: default ( ) , szApplication : [ :: std :: default :: Default :: default ( ) ;64 ] , szUser : [ :: std :: default :: Default :: default ( ) ;64 ] , szComputer : [ :: std :: default :: Default :: default ( ) ;64 ] } } } impl :: std :: fmt :: Debug for NTMS_OPREQUESTINFORMATIONA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "NTMS_OPREQUESTINFORMATIONA" ) . field ( "Request" , & self . Request ) . field ( "Submitted" , & self . Submitted ) . field ( "State" , & self . State ) . field ( "szMessage" , & self . szMessage ) . field ( "Arg1Type" , & self . Arg1Type ) . field ( "Arg1" , & self . Arg1 ) . field ( "Arg2Type" , & self . Arg2Type ) . field ( "Arg2" , & self . Arg2 ) . field ( "szApplication" , & self . szApplication ) . field ( "szUser" , & self . szUser ) . field ( "szComputer" , & self . szComputer ) . finish ( ) } } impl :: std :: cmp :: PartialEq for NTMS_OPREQUESTINFORMATIONA { fn eq ( & self , other : & Self ) -> bool { self . Request == other . Request && self . Submitted == other . Submitted && self . State == other . State && self . szMessage == other . szMessage && self . Arg1Type == other . Arg1Type && self . Arg1 == other . Arg1 && self . Arg2Type == other . Arg2Type && self . Arg2 == other . Arg2 && self . szApplication == other . szApplication && self . szUser == other . szUser && self . szComputer == other . szComputer } } impl :: std :: cmp :: Eq for NTMS_OPREQUESTINFORMATIONA { } unsafe impl :: windows :: Abi for NTMS_OPREQUESTINFORMATIONA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct NTMS_OPREQUESTINFORMATIONW { pub Request : NtmsOpreqCommand , pub Submitted : super::super::Foundation:: SYSTEMTIME , pub State : NtmsOpreqState , pub szMessage : [ u16 ;256 ] , pub Arg1Type : NtmsObjectsTypes , pub Arg1 : :: windows :: Guid , pub Arg2Type : NtmsObjectsTypes , pub Arg2 : :: windows :: Guid , pub szApplication : [ u16 ;64 ] , pub szUser : [ u16 ;64 ] , pub szComputer : [ u16 ;64 ] } impl NTMS_OPREQUESTINFORMATIONW { } impl :: std :: default :: Default for NTMS_OPREQUESTINFORMATIONW { fn default ( ) -> Self { Self { Request : :: std :: default :: Default :: default ( ) , Submitted : :: std :: default :: Default :: default ( ) , State : :: std :: default :: Default :: default ( ) , szMessage : [ 0 ;256 ] , Arg1Type : :: std :: default :: Default :: default ( ) , Arg1 : :: std :: default :: Default :: default ( ) , Arg2Type : :: std :: default :: Default :: default ( ) , Arg2 : :: std :: default :: Default :: default ( ) , szApplication : [ 0 ;64 ] , szUser : [ 0 ;64 ] , szComputer : [ 0 ;64 ] } } } impl :: std :: fmt :: Debug for NTMS_OPREQUESTINFORMATIONW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "NTMS_OPREQUESTINFORMATIONW" ) . field ( "Request" , & self . Request ) . field ( "Submitted" , & self . Submitted ) . field ( "State" , & self . State ) . field ( "szMessage" , & self . szMessage ) . field ( "Arg1Type" , & self . Arg1Type ) . field ( "Arg1" , & self . Arg1 ) . field ( "Arg2Type" , & self . Arg2Type ) . field ( "Arg2" , & self . Arg2 ) . field ( "szApplication" , & self . szApplication ) . field ( "szUser" , & self . szUser ) . field ( "szComputer" , & self . szComputer ) . finish ( ) } } impl :: std :: cmp :: PartialEq for NTMS_OPREQUESTINFORMATIONW { fn eq ( & self , other : & Self ) -> bool { self . Request == other . Request && self . Submitted == other . Submitted && self . State == other . State && self . szMessage == other . szMessage && self . Arg1Type == other . Arg1Type && self . Arg1 == other . Arg1 && self . Arg2Type == other . Arg2Type && self . Arg2 == other . Arg2 && self . szApplication == other . szApplication && self . szUser == other . szUser && self . szComputer == other . szComputer } } impl :: std :: cmp :: Eq for NTMS_OPREQUESTINFORMATIONW { } unsafe impl :: windows :: Abi for NTMS_OPREQUESTINFORMATIONW { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct NTMS_PARTITIONINFORMATIONA { pub PhysicalMedia : :: windows :: Guid , pub LogicalMedia : :: windows :: Guid , pub State : NtmsPartitionState , pub Side : u16 , pub dwOmidLabelIdLength : u32 , pub OmidLabelId : [ u8 ;255 ] , pub szOmidLabelType : [ super::super::System::SystemServices:: CHAR ;64 ] , pub szOmidLabelInfo : [ super::super::System::SystemServices:: CHAR ;256 ] , pub dwMountCount : u32 , pub dwAllocateCount : u32 , pub Capacity : i64 } impl NTMS_PARTITIONINFORMATIONA { } impl :: std :: default :: Default for NTMS_PARTITIONINFORMATIONA { fn default ( ) -> Self { Self { PhysicalMedia : :: std :: default :: Default :: default ( ) , LogicalMedia : :: std :: default :: Default :: default ( ) , State : :: std :: default :: Default :: default ( ) , Side : 0 , dwOmidLabelIdLength : 0 , OmidLabelId : [ 0 ;255 ] , szOmidLabelType : [ :: std :: default :: Default :: default ( ) ;64 ] , szOmidLabelInfo : [ :: std :: default :: Default :: default ( ) ;256 ] , dwMountCount : 0 , dwAllocateCount : 0 , Capacity : 0 } } } impl :: std :: fmt :: Debug for NTMS_PARTITIONINFORMATIONA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "NTMS_PARTITIONINFORMATIONA" ) . field ( "PhysicalMedia" , & self . PhysicalMedia ) . field ( "LogicalMedia" , & self . LogicalMedia ) . field ( "State" , & self . State ) . field ( "Side" , & self . Side ) . field ( "dwOmidLabelIdLength" , & self . dwOmidLabelIdLength ) . field ( "OmidLabelId" , & self . OmidLabelId ) . field ( "szOmidLabelType" , & self . szOmidLabelType ) . field ( "szOmidLabelInfo" , & self . szOmidLabelInfo ) . field ( "dwMountCount" , & self . dwMountCount ) . field ( "dwAllocateCount" , & self . dwAllocateCount ) . field ( "Capacity" , & self . Capacity ) . finish ( ) } } impl :: std :: cmp :: PartialEq for NTMS_PARTITIONINFORMATIONA { fn eq ( & self , other : & Self ) -> bool { self . PhysicalMedia == other . PhysicalMedia && self . LogicalMedia == other . LogicalMedia && self . State == other . State && self . Side == other . Side && self . dwOmidLabelIdLength == other . dwOmidLabelIdLength && self . OmidLabelId == other . OmidLabelId && self . szOmidLabelType == other . szOmidLabelType && self . szOmidLabelInfo == other . szOmidLabelInfo && self . dwMountCount == other . dwMountCount && self . dwAllocateCount == other . dwAllocateCount && self . Capacity == other . Capacity } } impl :: std :: cmp :: Eq for NTMS_PARTITIONINFORMATIONA { } unsafe impl :: windows :: Abi for NTMS_PARTITIONINFORMATIONA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct NTMS_PARTITIONINFORMATIONW { pub PhysicalMedia : :: windows :: Guid , pub LogicalMedia : :: windows :: Guid , pub State : NtmsPartitionState , pub Side : u16 , pub dwOmidLabelIdLength : u32 , pub OmidLabelId : [ u8 ;255 ] , pub szOmidLabelType : [ u16 ;64 ] , pub szOmidLabelInfo : [ u16 ;256 ] , pub dwMountCount : u32 , pub dwAllocateCount : u32 , pub Capacity : i64 } impl NTMS_PARTITIONINFORMATIONW { } impl :: std :: default :: Default for NTMS_PARTITIONINFORMATIONW { fn default ( ) -> Self { Self { PhysicalMedia : :: std :: default :: Default :: default ( ) , LogicalMedia : :: std :: default :: Default :: default ( ) , State : :: std :: default :: Default :: default ( ) , Side : 0 , dwOmidLabelIdLength : 0 , OmidLabelId : [ 0 ;255 ] , szOmidLabelType : [ 0 ;64 ] , szOmidLabelInfo : [ 0 ;256 ] , dwMountCount : 0 , dwAllocateCount : 0 , Capacity : 0 } } } impl :: std :: fmt :: Debug for NTMS_PARTITIONINFORMATIONW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "NTMS_PARTITIONINFORMATIONW" ) . field ( "PhysicalMedia" , & self . PhysicalMedia ) . field ( "LogicalMedia" , & self . LogicalMedia ) . field ( "State" , & self . State ) . field ( "Side" , & self . Side ) . field ( "dwOmidLabelIdLength" , & self . dwOmidLabelIdLength ) . field ( "OmidLabelId" , & self . OmidLabelId ) . field ( "szOmidLabelType" , & self . szOmidLabelType ) . field ( "szOmidLabelInfo" , & self . szOmidLabelInfo ) . field ( "dwMountCount" , & self . dwMountCount ) . field ( "dwAllocateCount" , & self . dwAllocateCount ) . field ( "Capacity" , & self . Capacity ) . finish ( ) } } impl :: std :: cmp :: PartialEq for NTMS_PARTITIONINFORMATIONW { fn eq ( & self , other : & Self ) -> bool { self . PhysicalMedia == other . PhysicalMedia && self . LogicalMedia == other . LogicalMedia && self . State == other . State && self . Side == other . Side && self . dwOmidLabelIdLength == other . dwOmidLabelIdLength && self . OmidLabelId == other . OmidLabelId && self . szOmidLabelType == other . szOmidLabelType && self . szOmidLabelInfo == other . szOmidLabelInfo && self . dwMountCount == other . dwMountCount && self . dwAllocateCount == other . dwAllocateCount && self . Capacity == other . Capacity } } impl :: std :: cmp :: Eq for NTMS_PARTITIONINFORMATIONW { } unsafe impl :: windows :: Abi for NTMS_PARTITIONINFORMATIONW { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct NTMS_PMIDINFORMATIONA { pub CurrentLibrary : :: windows :: Guid , pub MediaPool : :: windows :: Guid , pub Location : :: windows :: Guid , pub LocationType : u32 , pub MediaType : :: windows :: Guid , pub HomeSlot : :: windows :: Guid , pub szBarCode : [ super::super::System::SystemServices:: CHAR ;64 ] , pub BarCodeState : NtmsBarCodeState , pub szSequenceNumber : [ super::super::System::SystemServices:: CHAR ;32 ] , pub MediaState : NtmsMediaState , pub dwNumberOfPartitions : u32 , pub dwMediaTypeCode : u32 , pub dwDensityCode : u32 , pub MountedPartition : :: windows :: Guid } impl NTMS_PMIDINFORMATIONA { } impl :: std :: default :: Default for NTMS_PMIDINFORMATIONA { fn default ( ) -> Self { Self { CurrentLibrary : :: std :: default :: Default :: default ( ) , MediaPool : :: std :: default :: Default :: default ( ) , Location : :: std :: default :: Default :: default ( ) , LocationType : 0 , MediaType : :: std :: default :: Default :: default ( ) , HomeSlot : :: std :: default :: Default :: default ( ) , szBarCode : [ :: std :: default :: Default :: default ( ) ;64 ] , BarCodeState : :: std :: default :: Default :: default ( ) , szSequenceNumber : [ :: std :: default :: Default :: default ( ) ;32 ] , MediaState : :: std :: default :: Default :: default ( ) , dwNumberOfPartitions : 0 , dwMediaTypeCode : 0 , dwDensityCode : 0 , MountedPartition : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for NTMS_PMIDINFORMATIONA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "NTMS_PMIDINFORMATIONA" ) . field ( "CurrentLibrary" , & self . CurrentLibrary ) . field ( "MediaPool" , & self . MediaPool ) . field ( "Location" , & self . Location ) . field ( "LocationType" , & self . LocationType ) . field ( "MediaType" , & self . MediaType ) . field ( "HomeSlot" , & self . HomeSlot ) . field ( "szBarCode" , & self . szBarCode ) . field ( "BarCodeState" , & self . BarCodeState ) . field ( "szSequenceNumber" , & self . szSequenceNumber ) . field ( "MediaState" , & self . MediaState ) . field ( "dwNumberOfPartitions" , & self . dwNumberOfPartitions ) . field ( "dwMediaTypeCode" , & self . dwMediaTypeCode ) . field ( "dwDensityCode" , & self . dwDensityCode ) . field ( "MountedPartition" , & self . MountedPartition ) . finish ( ) } } impl :: std :: cmp :: PartialEq for NTMS_PMIDINFORMATIONA { fn eq ( & self , other : & Self ) -> bool { self . CurrentLibrary == other . CurrentLibrary && self . MediaPool == other . MediaPool && self . Location == other . Location && self . LocationType == other . LocationType && self . MediaType == other . MediaType && self . HomeSlot == other . HomeSlot && self . szBarCode == other . szBarCode && self . BarCodeState == other . BarCodeState && self . szSequenceNumber == other . szSequenceNumber && self . MediaState == other . MediaState && self . dwNumberOfPartitions == other . dwNumberOfPartitions && self . dwMediaTypeCode == other . dwMediaTypeCode && self . dwDensityCode == other . dwDensityCode && self . MountedPartition == other . MountedPartition } } impl :: std :: cmp :: Eq for NTMS_PMIDINFORMATIONA { } unsafe impl :: windows :: Abi for NTMS_PMIDINFORMATIONA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct NTMS_PMIDINFORMATIONW { pub CurrentLibrary : :: windows :: Guid , pub MediaPool : :: windows :: Guid , pub Location : :: windows :: Guid , pub LocationType : u32 , pub MediaType : :: windows :: Guid , pub HomeSlot : :: windows :: Guid , pub szBarCode : [ u16 ;64 ] , pub BarCodeState : NtmsBarCodeState , pub szSequenceNumber : [ u16 ;32 ] , pub MediaState : NtmsMediaState , pub dwNumberOfPartitions : u32 , pub dwMediaTypeCode : u32 , pub dwDensityCode : u32 , pub MountedPartition : :: windows :: Guid } impl NTMS_PMIDINFORMATIONW { } impl :: std :: default :: Default for NTMS_PMIDINFORMATIONW { fn default ( ) -> Self { Self { CurrentLibrary : :: std :: default :: Default :: default ( ) , MediaPool : :: std :: default :: Default :: default ( ) , Location : :: std :: default :: Default :: default ( ) , LocationType : 0 , MediaType : :: std :: default :: Default :: default ( ) , HomeSlot : :: std :: default :: Default :: default ( ) , szBarCode : [ 0 ;64 ] , BarCodeState : :: std :: default :: Default :: default ( ) , szSequenceNumber : [ 0 ;32 ] , MediaState : :: std :: default :: Default :: default ( ) , dwNumberOfPartitions : 0 , dwMediaTypeCode : 0 , dwDensityCode : 0 , MountedPartition : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for NTMS_PMIDINFORMATIONW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "NTMS_PMIDINFORMATIONW" ) . field ( "CurrentLibrary" , & self . CurrentLibrary ) . field ( "MediaPool" , & self . MediaPool ) . field ( "Location" , & self . Location ) . field ( "LocationType" , & self . LocationType ) . field ( "MediaType" , & self . MediaType ) . field ( "HomeSlot" , & self . HomeSlot ) . field ( "szBarCode" , & self . szBarCode ) . field ( "BarCodeState" , & self . BarCodeState ) . field ( "szSequenceNumber" , & self . szSequenceNumber ) . field ( "MediaState" , & self . MediaState ) . field ( "dwNumberOfPartitions" , & self . dwNumberOfPartitions ) . field ( "dwMediaTypeCode" , & self . dwMediaTypeCode ) . field ( "dwDensityCode" , & self . dwDensityCode ) . field ( "MountedPartition" , & self . MountedPartition ) . finish ( ) } } impl :: std :: cmp :: PartialEq for NTMS_PMIDINFORMATIONW { fn eq ( & self , other : & Self ) -> bool { self . CurrentLibrary == other . CurrentLibrary && self . MediaPool == other . MediaPool && self . Location == other . Location && self . LocationType == other . LocationType && self . MediaType == other . MediaType && self . HomeSlot == other . HomeSlot && self . szBarCode == other . szBarCode && self . BarCodeState == other . BarCodeState && self . szSequenceNumber == other . szSequenceNumber && self . MediaState == other . MediaState && self . dwNumberOfPartitions == other . dwNumberOfPartitions && self . dwMediaTypeCode == other . dwMediaTypeCode && self . dwDensityCode == other . dwDensityCode && self . MountedPartition == other . MountedPartition } } impl :: std :: cmp :: Eq for NTMS_PMIDINFORMATIONW { } unsafe impl :: windows :: Abi for NTMS_PMIDINFORMATIONW { type Abi = Self ; type DefaultType = Self ; } pub const NTMS_POOLHIERARCHY_LENGTH : u32 = 512u32 ; pub const NTMS_PRODUCTNAME_LENGTH : u32 = 128u32 ; pub const NTMS_REVISION_LENGTH : u32 = 32u32 ; pub const NTMS_SEQUENCE_LENGTH : u32 = 32u32 ; pub const NTMS_SERIALNUMBER_LENGTH : u32 = 32u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct NTMS_STORAGESLOTINFORMATION { pub Number : u32 , pub State : u32 , pub Library : :: windows :: Guid } impl NTMS_STORAGESLOTINFORMATION { } impl :: std :: default :: Default for NTMS_STORAGESLOTINFORMATION { fn default ( ) -> Self { Self { Number : 0 , State : 0 , Library : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for NTMS_STORAGESLOTINFORMATION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "NTMS_STORAGESLOTINFORMATION" ) . field ( "Number" , & self . Number ) . field ( "State" , & self . State ) . field ( "Library" , & self . Library ) . finish ( ) } } impl :: std :: cmp :: PartialEq for NTMS_STORAGESLOTINFORMATION { fn eq ( & self , other : & Self ) -> bool { self . Number == other . Number && self . State == other . State && self . Library == other . Library } } impl :: std :: cmp :: Eq for NTMS_STORAGESLOTINFORMATION { } unsafe impl :: windows :: Abi for NTMS_STORAGESLOTINFORMATION { type Abi = Self ; type DefaultType = Self ; } pub const NTMS_USERNAME_LENGTH : u32 = 64u32 ; pub const NTMS_VENDORNAME_LENGTH : u32 = 128u32 ; pub unsafe fn NetConnectionEnum < 'a , > ( servername : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , qualifier : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , level : u32 , bufptr : * mut * mut u8 , prefmaxlen : u32 , entriesread : * mut u32 , totalentries : * mut u32 , resume_handle : * mut u32 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="NETAPI32" ) ] extern "system" { fn NetConnectionEnum ( servername : super::super::Foundation:: PWSTR , qualifier : super::super::Foundation:: PWSTR , level : u32 , bufptr : * mut * mut u8 , prefmaxlen : u32 , entriesread : * mut u32 , totalentries : * mut u32 , resume_handle : * mut u32 ) -> u32 ; } NetConnectionEnum ( servername . into_param ( ) . abi ( ) , qualifier . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( level ) , :: std :: mem :: transmute ( bufptr ) , :: std :: mem :: transmute ( prefmaxlen ) , :: std :: mem :: transmute ( entriesread ) , :: std :: mem :: transmute ( totalentries ) , :: std :: mem :: transmute ( resume_handle ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn NetFileClose < 'a , > ( servername : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , fileid : u32 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="NETAPI32" ) ] extern "system" { fn NetFileClose ( servername : super::super::Foundation:: PWSTR , fileid : u32 ) -> u32 ; } NetFileClose ( servername . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( fileid ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn NetFileEnum < 'a , > ( servername : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , basepath : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , username : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , level : u32 , bufptr : * mut * mut u8 , prefmaxlen : u32 , entriesread : * mut u32 , totalentries : * mut u32 , resume_handle : * mut usize , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="NETAPI32" ) ] extern "system" { fn NetFileEnum ( servername : super::super::Foundation:: PWSTR , basepath : super::super::Foundation:: PWSTR , username : super::super::Foundation:: PWSTR , level : u32 , bufptr : * mut * mut u8 , prefmaxlen : u32 , entriesread : * mut u32 , totalentries : * mut u32 , resume_handle : * mut usize ) -> u32 ; } NetFileEnum ( servername . into_param ( ) . abi ( ) , basepath . into_param ( ) . abi ( ) , username . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( level ) , :: std :: mem :: transmute ( bufptr ) , :: std :: mem :: transmute ( prefmaxlen ) , :: std :: mem :: transmute ( entriesread ) , :: std :: mem :: transmute ( totalentries ) , :: std :: mem :: transmute ( resume_handle ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn NetFileGetInfo < 'a , > ( servername : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , fileid : u32 , level : u32 , bufptr : * mut * mut u8 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="NETAPI32" ) ] extern "system" { fn NetFileGetInfo ( servername : super::super::Foundation:: PWSTR , fileid : u32 , level : u32 , bufptr : * mut * mut u8 ) -> u32 ; } NetFileGetInfo ( servername . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( fileid ) , :: std :: mem :: transmute ( level ) , :: std :: mem :: transmute ( bufptr ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn NetServerAliasAdd < 'a , > ( servername : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , level : u32 , buf : * mut u8 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="NETAPI32" ) ] extern "system" { fn NetServerAliasAdd ( servername : super::super::Foundation:: PWSTR , level : u32 , buf : * mut u8 ) -> u32 ; } NetServerAliasAdd ( servername . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( level ) , :: std :: mem :: transmute ( buf ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn NetServerAliasDel < 'a , > ( servername : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , level : u32 , buf : * mut u8 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="NETAPI32" ) ] extern "system" { fn NetServerAliasDel ( servername : super::super::Foundation:: PWSTR , level : u32 , buf : * mut u8 ) -> u32 ; } NetServerAliasDel ( servername . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( level ) , :: std :: mem :: transmute ( buf ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn NetServerAliasEnum < 'a , > ( servername : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , level : u32 , bufptr : * mut * mut u8 , prefmaxlen : u32 , entriesread : * mut u32 , totalentries : * mut u32 , resumehandle : * mut u32 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="NETAPI32" ) ] extern "system" { fn NetServerAliasEnum ( servername : super::super::Foundation:: PWSTR , level : u32 , bufptr : * mut * mut u8 , prefmaxlen : u32 , entriesread : * mut u32 , totalentries : * mut u32 , resumehandle : * mut u32 ) -> u32 ; } NetServerAliasEnum ( servername . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( level ) , :: std :: mem :: transmute ( bufptr ) , :: std :: mem :: transmute ( prefmaxlen ) , :: std :: mem :: transmute ( entriesread ) , :: std :: mem :: transmute ( totalentries ) , :: std :: mem :: transmute ( resumehandle ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn NetSessionDel < 'a , > ( servername : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , uncclientname : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , username : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="NETAPI32" ) ] extern "system" { fn NetSessionDel ( servername : super::super::Foundation:: PWSTR , uncclientname : super::super::Foundation:: PWSTR , username : super::super::Foundation:: PWSTR ) -> u32 ; } NetSessionDel ( servername . into_param ( ) . abi ( ) , uncclientname . into_param ( ) . abi ( ) , username . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn NetSessionEnum < 'a , > ( servername : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , uncclientname : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , username : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , level : u32 , bufptr : * mut * mut u8 , prefmaxlen : u32 , entriesread : * mut u32 , totalentries : * mut u32 , resume_handle : * mut u32 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="NETAPI32" ) ] extern "system" { fn NetSessionEnum ( servername : super::super::Foundation:: PWSTR , uncclientname : super::super::Foundation:: PWSTR , username : super::super::Foundation:: PWSTR , level : u32 , bufptr : * mut * mut u8 , prefmaxlen : u32 , entriesread : * mut u32 , totalentries : * mut u32 , resume_handle : * mut u32 ) -> u32 ; } NetSessionEnum ( servername . into_param ( ) . abi ( ) , uncclientname . into_param ( ) . abi ( ) , username . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( level ) , :: std :: mem :: transmute ( bufptr ) , :: std :: mem :: transmute ( prefmaxlen ) , :: std :: mem :: transmute ( entriesread ) , :: std :: mem :: transmute ( totalentries ) , :: std :: mem :: transmute ( resume_handle ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn NetSessionGetInfo < 'a , > ( servername : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , uncclientname : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , username : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , level : u32 , bufptr : * mut * mut u8 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="NETAPI32" ) ] extern "system" { fn NetSessionGetInfo ( servername : super::super::Foundation:: PWSTR , uncclientname : super::super::Foundation:: PWSTR , username : super::super::Foundation:: PWSTR , level : u32 , bufptr : * mut * mut u8 ) -> u32 ; } NetSessionGetInfo ( servername . into_param ( ) . abi ( ) , uncclientname . into_param ( ) . abi ( ) , username . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( level ) , :: std :: mem :: transmute ( bufptr ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn NetShareAdd < 'a , > ( servername : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , level : u32 , buf : * mut u8 , parm_err : * mut u32 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="NETAPI32" ) ] extern "system" { fn NetShareAdd ( servername : super::super::Foundation:: PWSTR , level : u32 , buf : * mut u8 , parm_err : * mut u32 ) -> u32 ; } NetShareAdd ( servername . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( level ) , :: std :: mem :: transmute ( buf ) , :: std :: mem :: transmute ( parm_err ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn NetShareCheck < 'a , > ( servername : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , device : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , r#type : * mut u32 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="NETAPI32" ) ] extern "system" { fn NetShareCheck ( servername : super::super::Foundation:: PWSTR , device : super::super::Foundation:: PWSTR , r#type : * mut u32 ) -> u32 ; } NetShareCheck ( servername . into_param ( ) . abi ( ) , device . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( r#type ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn NetShareDel < 'a , > ( servername : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , netname : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , reserved : u32 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="NETAPI32" ) ] extern "system" { fn NetShareDel ( servername : super::super::Foundation:: PWSTR , netname : super::super::Foundation:: PWSTR , reserved : u32 ) -> u32 ; } NetShareDel ( servername . into_param ( ) . abi ( ) , netname . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( reserved ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn NetShareDelEx < 'a , > ( servername : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , level : u32 , buf : * mut u8 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="NETAPI32" ) ] extern "system" { fn NetShareDelEx ( servername : super::super::Foundation:: PWSTR , level : u32 , buf : * mut u8 ) -> u32 ; } NetShareDelEx ( servername . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( level ) , :: std :: mem :: transmute ( buf ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn NetShareDelSticky < 'a , > ( servername : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , netname : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , reserved : u32 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="NETAPI32" ) ] extern "system" { fn NetShareDelSticky ( servername : super::super::Foundation:: PWSTR , netname : super::super::Foundation:: PWSTR , reserved : u32 ) -> u32 ; } NetShareDelSticky ( servername . into_param ( ) . abi ( ) , netname . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( reserved ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn NetShareEnum < 'a , > ( servername : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , level : u32 , bufptr : * mut * mut u8 , prefmaxlen : u32 , entriesread : * mut u32 , totalentries : * mut u32 , resume_handle : * mut u32 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="NETAPI32" ) ] extern "system" { fn NetShareEnum ( servername : super::super::Foundation:: PWSTR , level : u32 , bufptr : * mut * mut u8 , prefmaxlen : u32 , entriesread : * mut u32 , totalentries : * mut u32 , resume_handle : * mut u32 ) -> u32 ; } NetShareEnum ( servername . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( level ) , :: std :: mem :: transmute ( bufptr ) , :: std :: mem :: transmute ( prefmaxlen ) , :: std :: mem :: transmute ( entriesread ) , :: std :: mem :: transmute ( totalentries ) , :: std :: mem :: transmute ( resume_handle ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn NetShareEnumSticky < 'a , > ( servername : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , level : u32 , bufptr : * mut * mut u8 , prefmaxlen : u32 , entriesread : * mut u32 , totalentries : * mut u32 , resume_handle : * mut u32 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="NETAPI32" ) ] extern "system" { fn NetShareEnumSticky ( servername : super::super::Foundation:: PWSTR , level : u32 , bufptr : * mut * mut u8 , prefmaxlen : u32 , entriesread : * mut u32 , totalentries : * mut u32 , resume_handle : * mut u32 ) -> u32 ; } NetShareEnumSticky ( servername . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( level ) , :: std :: mem :: transmute ( bufptr ) , :: std :: mem :: transmute ( prefmaxlen ) , :: std :: mem :: transmute ( entriesread ) , :: std :: mem :: transmute ( totalentries ) , :: std :: mem :: transmute ( resume_handle ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn NetShareGetInfo < 'a , > ( servername : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , netname : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , level : u32 , bufptr : * mut * mut u8 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="NETAPI32" ) ] extern "system" { fn NetShareGetInfo ( servername : super::super::Foundation:: PWSTR , netname : super::super::Foundation:: PWSTR , level : u32 , bufptr : * mut * mut u8 ) -> u32 ; } NetShareGetInfo ( servername . into_param ( ) . abi ( ) , netname . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( level ) , :: std :: mem :: transmute ( bufptr ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn NetShareSetInfo < 'a , > ( servername : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , netname : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , level : u32 , buf : * mut u8 , parm_err : * mut u32 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="NETAPI32" ) ] extern "system" { fn NetShareSetInfo ( servername : super::super::Foundation:: PWSTR , netname : super::super::Foundation:: PWSTR , level : u32 , buf : * mut u8 , parm_err : * mut u32 ) -> u32 ; } NetShareSetInfo ( servername . into_param ( ) . abi ( ) , netname . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( level ) , :: std :: mem :: transmute ( buf ) , :: std :: mem :: transmute ( parm_err ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn NetStatisticsGet < > ( servername : * mut i8 , service : * mut i8 , level : u32 , options : u32 , buffer : * mut * mut u8 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="NETAPI32" ) ] extern "system" { fn NetStatisticsGet ( servername : * mut i8 , service : * mut i8 , level : u32 , options : u32 , buffer : * mut * mut u8 ) -> u32 ; } NetStatisticsGet ( :: std :: mem :: transmute ( servername ) , :: std :: mem :: transmute ( service ) , :: std :: mem :: transmute ( level ) , :: std :: mem :: transmute ( options ) , :: std :: mem :: transmute ( buffer ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct NtmsAccessMask ( pub i32 ) ; pub const NTMS_USE_ACCESS : NtmsAccessMask = NtmsAccessMask ( 1i32 ) ; pub const NTMS_MODIFY_ACCESS : NtmsAccessMask = NtmsAccessMask ( 2i32 ) ; pub const NTMS_CONTROL_ACCESS : NtmsAccessMask = NtmsAccessMask ( 4i32 ) ; impl :: std :: convert :: From < i32 > for NtmsAccessMask { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for NtmsAccessMask { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct NtmsAllocateOptions ( pub i32 ) ; pub const NTMS_ALLOCATE_NEW : NtmsAllocateOptions = NtmsAllocateOptions ( 1i32 ) ; pub const NTMS_ALLOCATE_NEXT : NtmsAllocateOptions = NtmsAllocateOptions ( 2i32 ) ; pub const NTMS_ALLOCATE_ERROR_IF_UNAVAILABLE : NtmsAllocateOptions = NtmsAllocateOptions ( 4i32 ) ; impl :: std :: convert :: From < i32 > for NtmsAllocateOptions { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for NtmsAllocateOptions { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct NtmsAllocationPolicy ( pub i32 ) ; pub const NTMS_ALLOCATE_FROMSCRATCH : NtmsAllocationPolicy = NtmsAllocationPolicy ( 1i32 ) ; impl :: std :: convert :: From < i32 > for NtmsAllocationPolicy { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for NtmsAllocationPolicy { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct NtmsAsyncOperations ( pub i32 ) ; pub const NTMS_ASYNCOP_MOUNT : NtmsAsyncOperations = NtmsAsyncOperations ( 1i32 ) ; impl :: std :: convert :: From < i32 > for NtmsAsyncOperations { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for NtmsAsyncOperations { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct NtmsAsyncStatus ( pub i32 ) ; pub const NTMS_ASYNCSTATE_QUEUED : NtmsAsyncStatus = NtmsAsyncStatus ( 0i32 ) ; pub const NTMS_ASYNCSTATE_WAIT_RESOURCE : NtmsAsyncStatus = NtmsAsyncStatus ( 1i32 ) ; pub const NTMS_ASYNCSTATE_WAIT_OPERATOR : NtmsAsyncStatus = NtmsAsyncStatus ( 2i32 ) ; pub const NTMS_ASYNCSTATE_INPROCESS : NtmsAsyncStatus = NtmsAsyncStatus ( 3i32 ) ; pub const NTMS_ASYNCSTATE_COMPLETE : NtmsAsyncStatus = NtmsAsyncStatus ( 4i32 ) ; impl :: std :: convert :: From < i32 > for NtmsAsyncStatus { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for NtmsAsyncStatus { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct NtmsBarCodeState ( pub i32 ) ; pub const NTMS_BARCODESTATE_OK : NtmsBarCodeState = NtmsBarCodeState ( 1i32 ) ; pub const NTMS_BARCODESTATE_UNREADABLE : NtmsBarCodeState = NtmsBarCodeState ( 2i32 ) ; impl :: std :: convert :: From < i32 > for NtmsBarCodeState { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for NtmsBarCodeState { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct NtmsCreateNtmsMediaOptions ( pub i32 ) ; pub const NTMS_ERROR_ON_DUPLICATE : NtmsCreateNtmsMediaOptions = NtmsCreateNtmsMediaOptions ( 1i32 ) ; impl :: std :: convert :: From < i32 > for NtmsCreateNtmsMediaOptions { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for NtmsCreateNtmsMediaOptions { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct NtmsCreateOptions ( pub i32 ) ; pub const NTMS_OPEN_EXISTING : NtmsCreateOptions = NtmsCreateOptions ( 1i32 ) ; pub const NTMS_CREATE_NEW : NtmsCreateOptions = NtmsCreateOptions ( 2i32 ) ; pub const NTMS_OPEN_ALWAYS : NtmsCreateOptions = NtmsCreateOptions ( 3i32 ) ; impl :: std :: convert :: From < i32 > for NtmsCreateOptions { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for NtmsCreateOptions { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct NtmsDeallocationPolicy ( pub i32 ) ; pub const NTMS_DEALLOCATE_TOSCRATCH : NtmsDeallocationPolicy = NtmsDeallocationPolicy ( 1i32 ) ; impl :: std :: convert :: From < i32 > for NtmsDeallocationPolicy { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for NtmsDeallocationPolicy { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct NtmsDismountOptions ( pub i32 ) ; pub const NTMS_DISMOUNT_DEFERRED : NtmsDismountOptions = NtmsDismountOptions ( 1i32 ) ; pub const NTMS_DISMOUNT_IMMEDIATE : NtmsDismountOptions = NtmsDismountOptions ( 2i32 ) ; impl :: std :: convert :: From < i32 > for NtmsDismountOptions { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for NtmsDismountOptions { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct NtmsDoorState ( pub i32 ) ; pub const NTMS_DOORSTATE_UNKNOWN : NtmsDoorState = NtmsDoorState ( 0i32 ) ; pub const NTMS_DOORSTATE_CLOSED : NtmsDoorState = NtmsDoorState ( 1i32 ) ; pub const NTMS_DOORSTATE_OPEN : NtmsDoorState = NtmsDoorState ( 2i32 ) ; impl :: std :: convert :: From < i32 > for NtmsDoorState { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for NtmsDoorState { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct NtmsDriveState ( pub i32 ) ; pub const NTMS_DRIVESTATE_DISMOUNTED : NtmsDriveState = NtmsDriveState ( 0i32 ) ; pub const NTMS_DRIVESTATE_MOUNTED : NtmsDriveState = NtmsDriveState ( 1i32 ) ; pub const NTMS_DRIVESTATE_LOADED : NtmsDriveState = NtmsDriveState ( 2i32 ) ; pub const NTMS_DRIVESTATE_UNLOADED : NtmsDriveState = NtmsDriveState ( 5i32 ) ; pub const NTMS_DRIVESTATE_BEING_CLEANED : NtmsDriveState = NtmsDriveState ( 6i32 ) ; pub const NTMS_DRIVESTATE_DISMOUNTABLE : NtmsDriveState = NtmsDriveState ( 7i32 ) ; impl :: std :: convert :: From < i32 > for NtmsDriveState { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for NtmsDriveState { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct NtmsDriveType ( pub i32 ) ; pub const NTMS_UNKNOWN_DRIVE : NtmsDriveType = NtmsDriveType ( 0i32 ) ; impl :: std :: convert :: From < i32 > for NtmsDriveType { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for NtmsDriveType { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct NtmsEjectOperation ( pub i32 ) ; pub const NTMS_EJECT_START : NtmsEjectOperation = NtmsEjectOperation ( 0i32 ) ; pub const NTMS_EJECT_STOP : NtmsEjectOperation = NtmsEjectOperation ( 1i32 ) ; pub const NTMS_EJECT_QUEUE : NtmsEjectOperation = NtmsEjectOperation ( 2i32 ) ; pub const NTMS_EJECT_FORCE : NtmsEjectOperation = NtmsEjectOperation ( 3i32 ) ; pub const NTMS_EJECT_IMMEDIATE : NtmsEjectOperation = NtmsEjectOperation ( 4i32 ) ; pub const NTMS_EJECT_ASK_USER : NtmsEjectOperation = NtmsEjectOperation ( 5i32 ) ; impl :: std :: convert :: From < i32 > for NtmsEjectOperation { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for NtmsEjectOperation { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct NtmsEnumerateOption ( pub i32 ) ; pub const NTMS_ENUM_DEFAULT : NtmsEnumerateOption = NtmsEnumerateOption ( 0i32 ) ; pub const NTMS_ENUM_ROOTPOOL : NtmsEnumerateOption = NtmsEnumerateOption ( 1i32 ) ; impl :: std :: convert :: From < i32 > for NtmsEnumerateOption { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for NtmsEnumerateOption { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct NtmsInjectOperation ( pub i32 ) ; pub const NTMS_INJECT_START : NtmsInjectOperation = NtmsInjectOperation ( 0i32 ) ; pub const NTMS_INJECT_STOP : NtmsInjectOperation = NtmsInjectOperation ( 1i32 ) ; pub const NTMS_INJECT_RETRACT : NtmsInjectOperation = NtmsInjectOperation ( 2i32 ) ; pub const NTMS_INJECT_STARTMANY : NtmsInjectOperation = NtmsInjectOperation ( 3i32 ) ; impl :: std :: convert :: From < i32 > for NtmsInjectOperation { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for NtmsInjectOperation { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct NtmsInventoryMethod ( pub i32 ) ; pub const NTMS_INVENTORY_NONE : NtmsInventoryMethod = NtmsInventoryMethod ( 0i32 ) ; pub const NTMS_INVENTORY_FAST : NtmsInventoryMethod = NtmsInventoryMethod ( 1i32 ) ; pub const NTMS_INVENTORY_OMID : NtmsInventoryMethod = NtmsInventoryMethod ( 2i32 ) ; pub const NTMS_INVENTORY_DEFAULT : NtmsInventoryMethod = NtmsInventoryMethod ( 3i32 ) ; pub const NTMS_INVENTORY_SLOT : NtmsInventoryMethod = NtmsInventoryMethod ( 4i32 ) ; pub const NTMS_INVENTORY_STOP : NtmsInventoryMethod = NtmsInventoryMethod ( 5i32 ) ; pub const NTMS_INVENTORY_MAX : NtmsInventoryMethod = NtmsInventoryMethod ( 6i32 ) ; impl :: std :: convert :: From < i32 > for NtmsInventoryMethod { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for NtmsInventoryMethod { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct NtmsLibRequestFlags ( pub i32 ) ; pub const NTMS_LIBREQFLAGS_NOAUTOPURGE : NtmsLibRequestFlags = NtmsLibRequestFlags ( 1i32 ) ; pub const NTMS_LIBREQFLAGS_NOFAILEDPURGE : NtmsLibRequestFlags = NtmsLibRequestFlags ( 2i32 ) ; impl :: std :: convert :: From < i32 > for NtmsLibRequestFlags { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for NtmsLibRequestFlags { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct NtmsLibraryFlags ( pub i32 ) ; pub const NTMS_LIBRARYFLAG_FIXEDOFFLINE : NtmsLibraryFlags = NtmsLibraryFlags ( 1i32 ) ; pub const NTMS_LIBRARYFLAG_CLEANERPRESENT : NtmsLibraryFlags = NtmsLibraryFlags ( 2i32 ) ; pub const NTMS_LIBRARYFLAG_AUTODETECTCHANGE : NtmsLibraryFlags = NtmsLibraryFlags ( 4i32 ) ; pub const NTMS_LIBRARYFLAG_IGNORECLEANERUSESREMAINING : NtmsLibraryFlags = NtmsLibraryFlags ( 8i32 ) ; pub const NTMS_LIBRARYFLAG_RECOGNIZECLEANERBARCODE : NtmsLibraryFlags = NtmsLibraryFlags ( 16i32 ) ; impl :: std :: convert :: From < i32 > for NtmsLibraryFlags { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for NtmsLibraryFlags { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct NtmsLibraryType ( pub i32 ) ; pub const NTMS_LIBRARYTYPE_UNKNOWN : NtmsLibraryType = NtmsLibraryType ( 0i32 ) ; pub const NTMS_LIBRARYTYPE_OFFLINE : NtmsLibraryType = NtmsLibraryType ( 1i32 ) ; pub const NTMS_LIBRARYTYPE_ONLINE : NtmsLibraryType = NtmsLibraryType ( 2i32 ) ; pub const NTMS_LIBRARYTYPE_STANDALONE : NtmsLibraryType = NtmsLibraryType ( 3i32 ) ; impl :: std :: convert :: From < i32 > for NtmsLibraryType { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for NtmsLibraryType { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct NtmsLmOperation ( pub i32 ) ; pub const NTMS_LM_REMOVE : NtmsLmOperation = NtmsLmOperation ( 0i32 ) ; pub const NTMS_LM_DISABLECHANGER : NtmsLmOperation = NtmsLmOperation ( 1i32 ) ; pub const NTMS_LM_DISABLELIBRARY : NtmsLmOperation = NtmsLmOperation ( 1i32 ) ; pub const NTMS_LM_ENABLECHANGER : NtmsLmOperation = NtmsLmOperation ( 2i32 ) ; pub const NTMS_LM_ENABLELIBRARY : NtmsLmOperation = NtmsLmOperation ( 2i32 ) ; pub const NTMS_LM_DISABLEDRIVE : NtmsLmOperation = NtmsLmOperation ( 3i32 ) ; pub const NTMS_LM_ENABLEDRIVE : NtmsLmOperation = NtmsLmOperation ( 4i32 ) ; pub const NTMS_LM_DISABLEMEDIA : NtmsLmOperation = NtmsLmOperation ( 5i32 ) ; pub const NTMS_LM_ENABLEMEDIA : NtmsLmOperation = NtmsLmOperation ( 6i32 ) ; pub const NTMS_LM_UPDATEOMID : NtmsLmOperation = NtmsLmOperation ( 7i32 ) ; pub const NTMS_LM_INVENTORY : NtmsLmOperation = NtmsLmOperation ( 8i32 ) ; pub const NTMS_LM_DOORACCESS : NtmsLmOperation = NtmsLmOperation ( 9i32 ) ; pub const NTMS_LM_EJECT : NtmsLmOperation = NtmsLmOperation ( 10i32 ) ; pub const NTMS_LM_EJECTCLEANER : NtmsLmOperation = NtmsLmOperation ( 11i32 ) ; pub const NTMS_LM_INJECT : NtmsLmOperation = NtmsLmOperation ( 12i32 ) ; pub const NTMS_LM_INJECTCLEANER : NtmsLmOperation = NtmsLmOperation ( 13i32 ) ; pub const NTMS_LM_PROCESSOMID : NtmsLmOperation = NtmsLmOperation ( 14i32 ) ; pub const NTMS_LM_CLEANDRIVE : NtmsLmOperation = NtmsLmOperation ( 15i32 ) ; pub const NTMS_LM_DISMOUNT : NtmsLmOperation = NtmsLmOperation ( 16i32 ) ; pub const NTMS_LM_MOUNT : NtmsLmOperation = NtmsLmOperation ( 17i32 ) ; pub const NTMS_LM_WRITESCRATCH : NtmsLmOperation = NtmsLmOperation ( 18i32 ) ; pub const NTMS_LM_CLASSIFY : NtmsLmOperation = NtmsLmOperation ( 19i32 ) ; pub const NTMS_LM_RESERVECLEANER : NtmsLmOperation = NtmsLmOperation ( 20i32 ) ; pub const NTMS_LM_RELEASECLEANER : NtmsLmOperation = NtmsLmOperation ( 21i32 ) ; pub const NTMS_LM_MAXWORKITEM : NtmsLmOperation = NtmsLmOperation ( 22i32 ) ; impl :: std :: convert :: From < i32 > for NtmsLmOperation { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for NtmsLmOperation { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct NtmsLmState ( pub i32 ) ; pub const NTMS_LM_QUEUED : NtmsLmState = NtmsLmState ( 0i32 ) ; pub const NTMS_LM_INPROCESS : NtmsLmState = NtmsLmState ( 1i32 ) ; pub const NTMS_LM_PASSED : NtmsLmState = NtmsLmState ( 2i32 ) ; pub const NTMS_LM_FAILED : NtmsLmState = NtmsLmState ( 3i32 ) ; pub const NTMS_LM_INVALID : NtmsLmState = NtmsLmState ( 4i32 ) ; pub const NTMS_LM_WAITING : NtmsLmState = NtmsLmState ( 5i32 ) ; pub const NTMS_LM_DEFERRED : NtmsLmState = NtmsLmState ( 6i32 ) ; pub const NTMS_LM_DEFFERED : NtmsLmState = NtmsLmState ( 6i32 ) ; pub const NTMS_LM_CANCELLED : NtmsLmState = NtmsLmState ( 7i32 ) ; pub const NTMS_LM_STOPPED : NtmsLmState = NtmsLmState ( 8i32 ) ; impl :: std :: convert :: From < i32 > for NtmsLmState { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for NtmsLmState { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct NtmsMediaPoolPolicy ( pub i32 ) ; pub const NTMS_POOLPOLICY_PURGEOFFLINESCRATCH : NtmsMediaPoolPolicy = NtmsMediaPoolPolicy ( 1i32 ) ; pub const NTMS_POOLPOLICY_KEEPOFFLINEIMPORT : NtmsMediaPoolPolicy = NtmsMediaPoolPolicy ( 2i32 ) ; impl :: std :: convert :: From < i32 > for NtmsMediaPoolPolicy { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for NtmsMediaPoolPolicy { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct NtmsMediaState ( pub i32 ) ; pub const NTMS_MEDIASTATE_IDLE : NtmsMediaState = NtmsMediaState ( 0i32 ) ; pub const NTMS_MEDIASTATE_INUSE : NtmsMediaState = NtmsMediaState ( 1i32 ) ; pub const NTMS_MEDIASTATE_MOUNTED : NtmsMediaState = NtmsMediaState ( 2i32 ) ; pub const NTMS_MEDIASTATE_LOADED : NtmsMediaState = NtmsMediaState ( 3i32 ) ; pub const NTMS_MEDIASTATE_UNLOADED : NtmsMediaState = NtmsMediaState ( 4i32 ) ; pub const NTMS_MEDIASTATE_OPERROR : NtmsMediaState = NtmsMediaState ( 5i32 ) ; pub const NTMS_MEDIASTATE_OPREQ : NtmsMediaState = NtmsMediaState ( 6i32 ) ; impl :: std :: convert :: From < i32 > for NtmsMediaState { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for NtmsMediaState { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct NtmsMountOptions ( pub i32 ) ; pub const NTMS_MOUNT_READ : NtmsMountOptions = NtmsMountOptions ( 1i32 ) ; pub const NTMS_MOUNT_WRITE : NtmsMountOptions = NtmsMountOptions ( 2i32 ) ; pub const NTMS_MOUNT_ERROR_NOT_AVAILABLE : NtmsMountOptions = NtmsMountOptions ( 4i32 ) ; pub const NTMS_MOUNT_ERROR_IF_UNAVAILABLE : NtmsMountOptions = NtmsMountOptions ( 4i32 ) ; pub const NTMS_MOUNT_ERROR_OFFLINE : NtmsMountOptions = NtmsMountOptions ( 8i32 ) ; pub const NTMS_MOUNT_ERROR_IF_OFFLINE : NtmsMountOptions = NtmsMountOptions ( 8i32 ) ; pub const NTMS_MOUNT_SPECIFIC_DRIVE : NtmsMountOptions = NtmsMountOptions ( 16i32 ) ; pub const NTMS_MOUNT_NOWAIT : NtmsMountOptions = NtmsMountOptions ( 32i32 ) ; impl :: std :: convert :: From < i32 > for NtmsMountOptions { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for NtmsMountOptions { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct NtmsMountPriority ( pub i32 ) ; pub const NTMS_PRIORITY_DEFAULT : NtmsMountPriority = NtmsMountPriority ( 0i32 ) ; pub const NTMS_PRIORITY_HIGHEST : NtmsMountPriority = NtmsMountPriority ( 15i32 ) ; pub const NTMS_PRIORITY_HIGH : NtmsMountPriority = NtmsMountPriority ( 7i32 ) ; pub const NTMS_PRIORITY_NORMAL : NtmsMountPriority = NtmsMountPriority ( 0i32 ) ; pub const NTMS_PRIORITY_LOW : NtmsMountPriority = NtmsMountPriority ( -7i32 ) ; pub const NTMS_PRIORITY_LOWEST : NtmsMountPriority = NtmsMountPriority ( -15i32 ) ; impl :: std :: convert :: From < i32 > for NtmsMountPriority { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for NtmsMountPriority { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct NtmsNotificationOperations ( pub i32 ) ; pub const NTMS_OBJ_UPDATE : NtmsNotificationOperations = NtmsNotificationOperations ( 1i32 ) ; pub const NTMS_OBJ_INSERT : NtmsNotificationOperations = NtmsNotificationOperations ( 2i32 ) ; pub const NTMS_OBJ_DELETE : NtmsNotificationOperations = NtmsNotificationOperations ( 3i32 ) ; pub const NTMS_EVENT_SIGNAL : NtmsNotificationOperations = NtmsNotificationOperations ( 4i32 ) ; pub const NTMS_EVENT_COMPLETE : NtmsNotificationOperations = NtmsNotificationOperations ( 5i32 ) ; impl :: std :: convert :: From < i32 > for NtmsNotificationOperations { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for NtmsNotificationOperations { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct NtmsObjectsTypes ( pub i32 ) ; pub const NTMS_UNKNOWN : NtmsObjectsTypes = NtmsObjectsTypes ( 0i32 ) ; pub const NTMS_OBJECT : NtmsObjectsTypes = NtmsObjectsTypes ( 1i32 ) ; pub const NTMS_CHANGER : NtmsObjectsTypes = NtmsObjectsTypes ( 2i32 ) ; pub const NTMS_CHANGER_TYPE : NtmsObjectsTypes = NtmsObjectsTypes ( 3i32 ) ; pub const NTMS_COMPUTER : NtmsObjectsTypes = NtmsObjectsTypes ( 4i32 ) ; pub const NTMS_DRIVE : NtmsObjectsTypes = NtmsObjectsTypes ( 5i32 ) ; pub const NTMS_DRIVE_TYPE : NtmsObjectsTypes = NtmsObjectsTypes ( 6i32 ) ; pub const NTMS_IEDOOR : NtmsObjectsTypes = NtmsObjectsTypes ( 7i32 ) ; pub const NTMS_IEPORT : NtmsObjectsTypes = NtmsObjectsTypes ( 8i32 ) ; pub const NTMS_LIBRARY : NtmsObjectsTypes = NtmsObjectsTypes ( 9i32 ) ; pub const NTMS_LIBREQUEST : NtmsObjectsTypes = NtmsObjectsTypes ( 10i32 ) ; pub const NTMS_LOGICAL_MEDIA : NtmsObjectsTypes = NtmsObjectsTypes ( 11i32 ) ; pub const NTMS_MEDIA_POOL : NtmsObjectsTypes = NtmsObjectsTypes ( 12i32 ) ; pub const NTMS_MEDIA_TYPE : NtmsObjectsTypes = NtmsObjectsTypes ( 13i32 ) ; pub const NTMS_PARTITION : NtmsObjectsTypes = NtmsObjectsTypes ( 14i32 ) ; pub const NTMS_PHYSICAL_MEDIA : NtmsObjectsTypes = NtmsObjectsTypes ( 15i32 ) ; pub const NTMS_STORAGESLOT : NtmsObjectsTypes = NtmsObjectsTypes ( 16i32 ) ; pub const NTMS_OPREQUEST : NtmsObjectsTypes = NtmsObjectsTypes ( 17i32 ) ; pub const NTMS_UI_DESTINATION : NtmsObjectsTypes = NtmsObjectsTypes ( 18i32 ) ; pub const NTMS_NUMBER_OF_OBJECT_TYPES : NtmsObjectsTypes = NtmsObjectsTypes ( 19i32 ) ; impl :: std :: convert :: From < i32 > for NtmsObjectsTypes { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for NtmsObjectsTypes { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct NtmsOpRequestFlags ( pub i32 ) ; pub const NTMS_OPREQFLAGS_NOAUTOPURGE : NtmsOpRequestFlags = NtmsOpRequestFlags ( 1i32 ) ; pub const NTMS_OPREQFLAGS_NOFAILEDPURGE : NtmsOpRequestFlags = NtmsOpRequestFlags ( 2i32 ) ; pub const NTMS_OPREQFLAGS_NOALERTS : NtmsOpRequestFlags = NtmsOpRequestFlags ( 16i32 ) ; pub const NTMS_OPREQFLAGS_NOTRAYICON : NtmsOpRequestFlags = NtmsOpRequestFlags ( 32i32 ) ; impl :: std :: convert :: From < i32 > for NtmsOpRequestFlags { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for NtmsOpRequestFlags { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct NtmsOperationalState ( pub i32 ) ; pub const NTMS_READY : NtmsOperationalState = NtmsOperationalState ( 0i32 ) ; pub const NTMS_INITIALIZING : NtmsOperationalState = NtmsOperationalState ( 10i32 ) ; pub const NTMS_NEEDS_SERVICE : NtmsOperationalState = NtmsOperationalState ( 20i32 ) ; pub const NTMS_NOT_PRESENT : NtmsOperationalState = NtmsOperationalState ( 21i32 ) ; impl :: std :: convert :: From < i32 > for NtmsOperationalState { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for NtmsOperationalState { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct NtmsOpreqCommand ( pub i32 ) ; pub const NTMS_OPREQ_UNKNOWN : NtmsOpreqCommand = NtmsOpreqCommand ( 0i32 ) ; pub const NTMS_OPREQ_NEWMEDIA : NtmsOpreqCommand = NtmsOpreqCommand ( 1i32 ) ; pub const NTMS_OPREQ_CLEANER : NtmsOpreqCommand = NtmsOpreqCommand ( 2i32 ) ; pub const NTMS_OPREQ_DEVICESERVICE : NtmsOpreqCommand = NtmsOpreqCommand ( 3i32 ) ; pub const NTMS_OPREQ_MOVEMEDIA : NtmsOpreqCommand = NtmsOpreqCommand ( 4i32 ) ; pub const NTMS_OPREQ_MESSAGE : NtmsOpreqCommand = NtmsOpreqCommand ( 5i32 ) ; impl :: std :: convert :: From < i32 > for NtmsOpreqCommand { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for NtmsOpreqCommand { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct NtmsOpreqState ( pub i32 ) ; pub const NTMS_OPSTATE_UNKNOWN : NtmsOpreqState = NtmsOpreqState ( 0i32 ) ; pub const NTMS_OPSTATE_SUBMITTED : NtmsOpreqState = NtmsOpreqState ( 1i32 ) ; pub const NTMS_OPSTATE_ACTIVE : NtmsOpreqState = NtmsOpreqState ( 2i32 ) ; pub const NTMS_OPSTATE_INPROGRESS : NtmsOpreqState = NtmsOpreqState ( 3i32 ) ; pub const NTMS_OPSTATE_REFUSED : NtmsOpreqState = NtmsOpreqState ( 4i32 ) ; pub const NTMS_OPSTATE_COMPLETE : NtmsOpreqState = NtmsOpreqState ( 5i32 ) ; impl :: std :: convert :: From < i32 > for NtmsOpreqState { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for NtmsOpreqState { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct NtmsPartitionState ( pub i32 ) ; pub const NTMS_PARTSTATE_UNKNOWN : NtmsPartitionState = NtmsPartitionState ( 0i32 ) ; pub const NTMS_PARTSTATE_UNPREPARED : NtmsPartitionState = NtmsPartitionState ( 1i32 ) ; pub const NTMS_PARTSTATE_INCOMPATIBLE : NtmsPartitionState = NtmsPartitionState ( 2i32 ) ; pub const NTMS_PARTSTATE_DECOMMISSIONED : NtmsPartitionState = NtmsPartitionState ( 3i32 ) ; pub const NTMS_PARTSTATE_AVAILABLE : NtmsPartitionState = NtmsPartitionState ( 4i32 ) ; pub const NTMS_PARTSTATE_ALLOCATED : NtmsPartitionState = NtmsPartitionState ( 5i32 ) ; pub const NTMS_PARTSTATE_COMPLETE : NtmsPartitionState = NtmsPartitionState ( 6i32 ) ; pub const NTMS_PARTSTATE_FOREIGN : NtmsPartitionState = NtmsPartitionState ( 7i32 ) ; pub const NTMS_PARTSTATE_IMPORT : NtmsPartitionState = NtmsPartitionState ( 8i32 ) ; pub const NTMS_PARTSTATE_RESERVED : NtmsPartitionState = NtmsPartitionState ( 9i32 ) ; impl :: std :: convert :: From < i32 > for NtmsPartitionState { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for NtmsPartitionState { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct NtmsPoolType ( pub i32 ) ; pub const NTMS_POOLTYPE_UNKNOWN : NtmsPoolType = NtmsPoolType ( 0i32 ) ; pub const NTMS_POOLTYPE_SCRATCH : NtmsPoolType = NtmsPoolType ( 1i32 ) ; pub const NTMS_POOLTYPE_FOREIGN : NtmsPoolType = NtmsPoolType ( 2i32 ) ; pub const NTMS_POOLTYPE_IMPORT : NtmsPoolType = NtmsPoolType ( 3i32 ) ; pub const NTMS_POOLTYPE_APPLICATION : NtmsPoolType = NtmsPoolType ( 1000i32 ) ; impl :: std :: convert :: From < i32 > for NtmsPoolType { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for NtmsPoolType { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct NtmsPortContent ( pub i32 ) ; pub const NTMS_PORTCONTENT_UNKNOWN : NtmsPortContent = NtmsPortContent ( 0i32 ) ; pub const NTMS_PORTCONTENT_FULL : NtmsPortContent = NtmsPortContent ( 1i32 ) ; pub const NTMS_PORTCONTENT_EMPTY : NtmsPortContent = NtmsPortContent ( 2i32 ) ; impl :: std :: convert :: From < i32 > for NtmsPortContent { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for NtmsPortContent { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct NtmsPortPosition ( pub i32 ) ; pub const NTMS_PORTPOSITION_UNKNOWN : NtmsPortPosition = NtmsPortPosition ( 0i32 ) ; pub const NTMS_PORTPOSITION_EXTENDED : NtmsPortPosition = NtmsPortPosition ( 1i32 ) ; pub const NTMS_PORTPOSITION_RETRACTED : NtmsPortPosition = NtmsPortPosition ( 2i32 ) ; impl :: std :: convert :: From < i32 > for NtmsPortPosition { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for NtmsPortPosition { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct NtmsReadWriteCharacteristics ( pub i32 ) ; pub const NTMS_MEDIARW_UNKNOWN : NtmsReadWriteCharacteristics = NtmsReadWriteCharacteristics ( 0i32 ) ; pub const NTMS_MEDIARW_REWRITABLE : NtmsReadWriteCharacteristics = NtmsReadWriteCharacteristics ( 1i32 ) ; pub const NTMS_MEDIARW_WRITEONCE : NtmsReadWriteCharacteristics = NtmsReadWriteCharacteristics ( 2i32 ) ; pub const NTMS_MEDIARW_READONLY : NtmsReadWriteCharacteristics = NtmsReadWriteCharacteristics ( 3i32 ) ; impl :: std :: convert :: From < i32 > for NtmsReadWriteCharacteristics { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for NtmsReadWriteCharacteristics { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct NtmsSessionOptions ( pub i32 ) ; pub const NTMS_SESSION_QUERYEXPEDITE : NtmsSessionOptions = NtmsSessionOptions ( 1i32 ) ; impl :: std :: convert :: From < i32 > for NtmsSessionOptions { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for NtmsSessionOptions { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct NtmsSlotState ( pub i32 ) ; pub const NTMS_SLOTSTATE_UNKNOWN : NtmsSlotState = NtmsSlotState ( 0i32 ) ; pub const NTMS_SLOTSTATE_FULL : NtmsSlotState = NtmsSlotState ( 1i32 ) ; pub const NTMS_SLOTSTATE_EMPTY : NtmsSlotState = NtmsSlotState ( 2i32 ) ; pub const NTMS_SLOTSTATE_NOTPRESENT : NtmsSlotState = NtmsSlotState ( 3i32 ) ; pub const NTMS_SLOTSTATE_NEEDSINVENTORY : NtmsSlotState = NtmsSlotState ( 4i32 ) ; impl :: std :: convert :: From < i32 > for NtmsSlotState { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for NtmsSlotState { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct NtmsUIOperations ( pub i32 ) ; pub const NTMS_UIDEST_ADD : NtmsUIOperations = NtmsUIOperations ( 1i32 ) ; pub const NTMS_UIDEST_DELETE : NtmsUIOperations = NtmsUIOperations ( 2i32 ) ; pub const NTMS_UIDEST_DELETEALL : NtmsUIOperations = NtmsUIOperations ( 3i32 ) ; pub const NTMS_UIOPERATION_MAX : NtmsUIOperations = NtmsUIOperations ( 4i32 ) ; impl :: std :: convert :: From < i32 > for NtmsUIOperations { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for NtmsUIOperations { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct NtmsUITypes ( pub i32 ) ; pub const NTMS_UITYPE_INVALID : NtmsUITypes = NtmsUITypes ( 0i32 ) ; pub const NTMS_UITYPE_INFO : NtmsUITypes = NtmsUITypes ( 1i32 ) ; pub const NTMS_UITYPE_REQ : NtmsUITypes = NtmsUITypes ( 2i32 ) ; pub const NTMS_UITYPE_ERR : NtmsUITypes = NtmsUITypes ( 3i32 ) ; pub const NTMS_UITYPE_MAX : NtmsUITypes = NtmsUITypes ( 4i32 ) ; impl :: std :: convert :: From < i32 > for NtmsUITypes { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for NtmsUITypes { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct OFSTRUCT { pub cBytes : u8 , pub fFixedDisk : u8 , pub nErrCode : u16 , pub Reserved1 : u16 , pub Reserved2 : u16 , pub szPathName : [ super::super::System::SystemServices:: CHAR ;128 ] } impl OFSTRUCT { } impl :: std :: default :: Default for OFSTRUCT { fn default ( ) -> Self { Self { cBytes : 0 , fFixedDisk : 0 , nErrCode : 0 , Reserved1 : 0 , Reserved2 : 0 , szPathName : [ :: std :: default :: Default :: default ( ) ;128 ] } } } impl :: std :: fmt :: Debug for OFSTRUCT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "OFSTRUCT" ) . field ( "cBytes" , & self . cBytes ) . field ( "fFixedDisk" , & self . fFixedDisk ) . field ( "nErrCode" , & self . nErrCode ) . field ( "Reserved1" , & self . Reserved1 ) . field ( "Reserved2" , & self . Reserved2 ) . field ( "szPathName" , & self . szPathName ) . finish ( ) } } impl :: std :: cmp :: PartialEq for OFSTRUCT { fn eq ( & self , other : & Self ) -> bool { self . cBytes == other . cBytes && self . fFixedDisk == other . fFixedDisk && self . nErrCode == other . nErrCode && self . Reserved1 == other . Reserved1 && self . Reserved2 == other . Reserved2 && self . szPathName == other . szPathName } } impl :: std :: cmp :: Eq for OFSTRUCT { } unsafe impl :: windows :: Abi for OFSTRUCT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct OVERLAPPED_ENTRY { pub lpCompletionKey : usize , pub lpOverlapped : * mut super::super::System::SystemServices:: OVERLAPPED , pub Internal : usize , pub dwNumberOfBytesTransferred : u32 } impl OVERLAPPED_ENTRY { } impl :: std :: default :: Default for OVERLAPPED_ENTRY { fn default ( ) -> Self { Self { lpCompletionKey : 0 , lpOverlapped : :: std :: ptr :: null_mut ( ) , Internal : 0 , dwNumberOfBytesTransferred : 0 } } } impl :: std :: fmt :: Debug for OVERLAPPED_ENTRY { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "OVERLAPPED_ENTRY" ) . field ( "lpCompletionKey" , & self . lpCompletionKey ) . field ( "lpOverlapped" , & self . lpOverlapped ) . field ( "Internal" , & self . Internal ) . field ( "dwNumberOfBytesTransferred" , & self . dwNumberOfBytesTransferred ) . finish ( ) } } impl :: std :: cmp :: PartialEq for OVERLAPPED_ENTRY { fn eq ( & self , other : & Self ) -> bool { self . lpCompletionKey == other . lpCompletionKey && self . lpOverlapped == other . lpOverlapped && self . Internal == other . Internal && self . dwNumberOfBytesTransferred == other . dwNumberOfBytesTransferred } } impl :: std :: cmp :: Eq for OVERLAPPED_ENTRY { } unsafe impl :: windows :: Abi for OVERLAPPED_ENTRY { type Abi = Self ; type DefaultType = Self ; } pub unsafe fn OpenEncryptedFileRawA < 'a , > ( lpfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , ulflags : u32 , pvcontext : * mut * mut :: std :: ffi :: c_void , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="ADVAPI32" ) ] extern "system" { fn OpenEncryptedFileRawA ( lpfilename : super::super::Foundation:: PSTR , ulflags : u32 , pvcontext : * mut * mut :: std :: ffi :: c_void ) -> u32 ; } OpenEncryptedFileRawA ( lpfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ulflags ) , :: std :: mem :: transmute ( pvcontext ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OpenEncryptedFileRawW < 'a , > ( lpfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , ulflags : u32 , pvcontext : * mut * mut :: std :: ffi :: c_void , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="ADVAPI32" ) ] extern "system" { fn OpenEncryptedFileRawW ( lpfilename : super::super::Foundation:: PWSTR , ulflags : u32 , pvcontext : * mut * mut :: std :: ffi :: c_void ) -> u32 ; } OpenEncryptedFileRawW ( lpfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ulflags ) , :: std :: mem :: transmute ( pvcontext ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OpenEnlistment < 'a , > ( dwdesiredaccess : u32 , resourcemanagerhandle : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , enlistmentid : * mut :: windows :: Guid , ) -> super::super::Foundation:: HANDLE { # [ cfg ( windows ) ] { # [ link ( name ="ktmw32" ) ] extern "system" { fn OpenEnlistment ( dwdesiredaccess : u32 , resourcemanagerhandle : super::super::Foundation:: HANDLE , enlistmentid : * mut :: windows :: Guid ) -> super::super::Foundation:: HANDLE ; } OpenEnlistment ( :: std :: mem :: transmute ( dwdesiredaccess ) , resourcemanagerhandle . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( enlistmentid ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OpenFile < 'a , > ( lpfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , lpreopenbuff : * mut OFSTRUCT , ustyle : LZOPENFILE_STYLE , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn OpenFile ( lpfilename : super::super::Foundation:: PSTR , lpreopenbuff : * mut OFSTRUCT , ustyle : LZOPENFILE_STYLE ) -> i32 ; } OpenFile ( lpfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpreopenbuff ) , :: std :: mem :: transmute ( ustyle ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OpenFileById < 'a , > ( hvolumehint : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , lpfileid : * mut FILE_ID_DESCRIPTOR , dwdesiredaccess : FILE_ACCESS_FLAGS , dwsharemode : FILE_SHARE_MODE , lpsecurityattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES , dwflagsandattributes : FILE_FLAGS_AND_ATTRIBUTES , ) -> super::super::Foundation:: HANDLE { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn OpenFileById ( hvolumehint : super::super::Foundation:: HANDLE , lpfileid : * mut FILE_ID_DESCRIPTOR , dwdesiredaccess : FILE_ACCESS_FLAGS , dwsharemode : FILE_SHARE_MODE , lpsecurityattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES , dwflagsandattributes : FILE_FLAGS_AND_ATTRIBUTES ) -> super::super::Foundation:: HANDLE ; } OpenFileById ( hvolumehint . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpfileid ) , :: std :: mem :: transmute ( dwdesiredaccess ) , :: std :: mem :: transmute ( dwsharemode ) , :: std :: mem :: transmute ( lpsecurityattributes ) , :: std :: mem :: transmute ( dwflagsandattributes ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OpenResourceManager < 'a , > ( dwdesiredaccess : u32 , tmhandle : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , resourcemanagerid : * mut :: windows :: Guid , ) -> super::super::Foundation:: HANDLE { # [ cfg ( windows ) ] { # [ link ( name ="ktmw32" ) ] extern "system" { fn OpenResourceManager ( dwdesiredaccess : u32 , tmhandle : super::super::Foundation:: HANDLE , resourcemanagerid : * mut :: windows :: Guid ) -> super::super::Foundation:: HANDLE ; } OpenResourceManager ( :: std :: mem :: transmute ( dwdesiredaccess ) , tmhandle . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( resourcemanagerid ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OpenTransaction < > ( dwdesiredaccess : u32 , transactionid : * mut :: windows :: Guid , ) -> super::super::Foundation:: HANDLE { # [ cfg ( windows ) ] { # [ link ( name ="ktmw32" ) ] extern "system" { fn OpenTransaction ( dwdesiredaccess : u32 , transactionid : * mut :: windows :: Guid ) -> super::super::Foundation:: HANDLE ; } OpenTransaction ( :: std :: mem :: transmute ( dwdesiredaccess ) , :: std :: mem :: transmute ( transactionid ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OpenTransactionManager < 'a , > ( logfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , desiredaccess : u32 , openoptions : u32 , ) -> super::super::Foundation:: HANDLE { # [ cfg ( windows ) ] { # [ link ( name ="ktmw32" ) ] extern "system" { fn OpenTransactionManager ( logfilename : super::super::Foundation:: PWSTR , desiredaccess : u32 , openoptions : u32 ) -> super::super::Foundation:: HANDLE ; } OpenTransactionManager ( logfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( desiredaccess ) , :: std :: mem :: transmute ( openoptions ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OpenTransactionManagerById < > ( transactionmanagerid : * mut :: windows :: Guid , desiredaccess : u32 , openoptions : u32 , ) -> super::super::Foundation:: HANDLE { # [ cfg ( windows ) ] { # [ link ( name ="ktmw32" ) ] extern "system" { fn OpenTransactionManagerById ( transactionmanagerid : * mut :: windows :: Guid , desiredaccess : u32 , openoptions : u32 ) -> super::super::Foundation:: HANDLE ; } OpenTransactionManagerById ( :: std :: mem :: transmute ( transactionmanagerid ) , :: std :: mem :: transmute ( desiredaccess ) , :: std :: mem :: transmute ( openoptions ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PARTITION_INFORMATION { pub StartingOffset : i64 , pub PartitionLength : i64 , pub HiddenSectors : u32 , pub PartitionNumber : u32 , pub PartitionType : u8 , pub BootIndicator : u8 , pub RecognizedPartition : u8 , pub RewritePartition : u8 } impl PARTITION_INFORMATION { } impl :: std :: default :: Default for PARTITION_INFORMATION { fn default ( ) -> Self { Self { StartingOffset : 0 , PartitionLength : 0 , HiddenSectors : 0 , PartitionNumber : 0 , PartitionType : 0 , BootIndicator : 0 , RecognizedPartition : 0 , RewritePartition : 0 } } } impl :: std :: fmt :: Debug for PARTITION_INFORMATION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "PARTITION_INFORMATION" ) . field ( "StartingOffset" , & self . StartingOffset ) . field ( "PartitionLength" , & self . PartitionLength ) . field ( "HiddenSectors" , & self . HiddenSectors ) . field ( "PartitionNumber" , & self . PartitionNumber ) . field ( "PartitionType" , & self . PartitionType ) . field ( "BootIndicator" , & self . BootIndicator ) . field ( "RecognizedPartition" , & self . RecognizedPartition ) . field ( "RewritePartition" , & self . RewritePartition ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PARTITION_INFORMATION { fn eq ( & self , other : & Self ) -> bool { self . StartingOffset == other . StartingOffset && self . PartitionLength == other . PartitionLength && self . HiddenSectors == other . HiddenSectors && self . PartitionNumber == other . PartitionNumber && self . PartitionType == other . PartitionType && self . BootIndicator == other . BootIndicator && self . RecognizedPartition == other . RecognizedPartition && self . RewritePartition == other . RewritePartition } } impl :: std :: cmp :: Eq for PARTITION_INFORMATION { } unsafe impl :: windows :: Abi for PARTITION_INFORMATION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PARTITION_INFORMATION_EX { pub PartitionStyle : PARTITION_STYLE , pub StartingOffset : i64 , pub PartitionLength : i64 , pub PartitionNumber : u32 , pub RewritePartition : u8 , pub IsServicePartition : u8 , pub Anonymous : PARTITION_INFORMATION_EX_0 } impl PARTITION_INFORMATION_EX { } impl :: std :: cmp :: PartialEq for PARTITION_INFORMATION_EX { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for PARTITION_INFORMATION_EX { } unsafe impl :: windows :: Abi for PARTITION_INFORMATION_EX { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union PARTITION_INFORMATION_EX_0 { pub Mbr : PARTITION_INFORMATION_MBR , pub Gpt : PARTITION_INFORMATION_GPT } impl PARTITION_INFORMATION_EX_0 { } impl :: std :: cmp :: PartialEq for PARTITION_INFORMATION_EX_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for PARTITION_INFORMATION_EX_0 { } unsafe impl :: windows :: Abi for PARTITION_INFORMATION_EX_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PARTITION_INFORMATION_GPT { pub PartitionType : :: windows :: Guid , pub PartitionId : :: windows :: Guid , pub Attributes : GPT_ATTRIBUTES , pub Name : [ u16 ;36 ] } impl PARTITION_INFORMATION_GPT { } impl :: std :: default :: Default for PARTITION_INFORMATION_GPT { fn default ( ) -> Self { Self { PartitionType : :: std :: default :: Default :: default ( ) , PartitionId : :: std :: default :: Default :: default ( ) , Attributes : :: std :: default :: Default :: default ( ) , Name : [ 0 ;36 ] } } } impl :: std :: fmt :: Debug for PARTITION_INFORMATION_GPT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "PARTITION_INFORMATION_GPT" ) . field ( "PartitionType" , & self . PartitionType ) . field ( "PartitionId" , & self . PartitionId ) . field ( "Attributes" , & self . Attributes ) . field ( "Name" , & self . Name ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PARTITION_INFORMATION_GPT { fn eq ( & self , other : & Self ) -> bool { self . PartitionType == other . PartitionType && self . PartitionId == other . PartitionId && self . Attributes == other . Attributes && self . Name == other . Name } } impl :: std :: cmp :: Eq for PARTITION_INFORMATION_GPT { } unsafe impl :: windows :: Abi for PARTITION_INFORMATION_GPT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PARTITION_INFORMATION_MBR { pub PartitionType : u8 , pub BootIndicator : u8 , pub RecognizedPartition : u8 , pub HiddenSectors : u32 , pub PartitionId : :: windows :: Guid } impl PARTITION_INFORMATION_MBR { } impl :: std :: default :: Default for PARTITION_INFORMATION_MBR { fn default ( ) -> Self { Self { PartitionType : 0 , BootIndicator : 0 , RecognizedPartition : 0 , HiddenSectors : 0 , PartitionId : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for PARTITION_INFORMATION_MBR { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "PARTITION_INFORMATION_MBR" ) . field ( "PartitionType" , & self . PartitionType ) . field ( "BootIndicator" , & self . BootIndicator ) . field ( "RecognizedPartition" , & self . RecognizedPartition ) . field ( "HiddenSectors" , & self . HiddenSectors ) . field ( "PartitionId" , & self . PartitionId ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PARTITION_INFORMATION_MBR { fn eq ( & self , other : & Self ) -> bool { self . PartitionType == other . PartitionType && self . BootIndicator == other . BootIndicator && self . RecognizedPartition == other . RecognizedPartition && self . HiddenSectors == other . HiddenSectors && self . PartitionId == other . PartitionId } } impl :: std :: cmp :: Eq for PARTITION_INFORMATION_MBR { } unsafe impl :: windows :: Abi for PARTITION_INFORMATION_MBR { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct PARTITION_STYLE ( pub i32 ) ; pub const PARTITION_STYLE_MBR : PARTITION_STYLE = PARTITION_STYLE ( 0i32 ) ; pub const PARTITION_STYLE_GPT : PARTITION_STYLE = PARTITION_STYLE ( 1i32 ) ; pub const PARTITION_STYLE_RAW : PARTITION_STYLE = PARTITION_STYLE ( 2i32 ) ; impl :: std :: convert :: From < i32 > for PARTITION_STYLE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for PARTITION_STYLE { type Abi = Self ; type DefaultType = Self ; } pub type PCLFS_COMPLETION_ROUTINE = unsafe extern "system" fn ( pvoverlapped : * mut :: std :: ffi :: c_void , ulreserved : u32 ) ; pub type PCOPYFILE2_PROGRESS_ROUTINE = unsafe extern "system" fn ( pmessage : * const COPYFILE2_MESSAGE , pvcallbackcontext : * mut :: std :: ffi :: c_void ) -> COPYFILE2_MESSAGE_ACTION ; pub type PFE_EXPORT_FUNC = unsafe extern "system" fn ( pbdata : * mut u8 , pvcallbackcontext : * mut :: std :: ffi :: c_void , ullength : u32 ) -> u32 ; pub type PFE_IMPORT_FUNC = unsafe extern "system" fn ( pbdata : * mut u8 , pvcallbackcontext : * mut :: std :: ffi :: c_void , ullength : * mut u32 ) -> u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PLEX_READ_DATA_REQUEST { pub ByteOffset : i64 , pub ByteLength : u32 , pub PlexNumber : u32 } impl PLEX_READ_DATA_REQUEST { } impl :: std :: default :: Default for PLEX_READ_DATA_REQUEST { fn default ( ) -> Self { Self { ByteOffset : 0 , ByteLength : 0 , PlexNumber : 0 } } } impl :: std :: fmt :: Debug for PLEX_READ_DATA_REQUEST { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "PLEX_READ_DATA_REQUEST" ) . field ( "ByteOffset" , & self . ByteOffset ) . field ( "ByteLength" , & self . ByteLength ) . field ( "PlexNumber" , & self . PlexNumber ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PLEX_READ_DATA_REQUEST { fn eq ( & self , other : & Self ) -> bool { self . ByteOffset == other . ByteOffset && self . ByteLength == other . ByteLength && self . PlexNumber == other . PlexNumber } } impl :: std :: cmp :: Eq for PLEX_READ_DATA_REQUEST { } unsafe impl :: windows :: Abi for PLEX_READ_DATA_REQUEST { type Abi = Self ; type DefaultType = Self ; } pub type PLOG_FULL_HANDLER_CALLBACK = unsafe extern "system" fn ( hlogfile : super::super::Foundation:: HANDLE , dwerror : u32 , flogispinned : super::super::Foundation:: BOOL , pvclientcontext : * mut :: std :: ffi :: c_void ) ; pub type PLOG_TAIL_ADVANCE_CALLBACK = unsafe extern "system" fn ( hlogfile : super::super::Foundation:: HANDLE , lsntarget : CLS_LSN , pvclientcontext : * mut :: std :: ffi :: c_void ) ; pub type PLOG_UNPINNED_CALLBACK = unsafe extern "system" fn ( hlogfile : super::super::Foundation:: HANDLE , pvclientcontext : * mut :: std :: ffi :: c_void ) ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct PREPARE_TAPE_OPERATION ( pub i32 ) ; pub const TAPE_FORMAT : PREPARE_TAPE_OPERATION = PREPARE_TAPE_OPERATION ( 5i32 ) ; pub const TAPE_LOAD : PREPARE_TAPE_OPERATION = PREPARE_TAPE_OPERATION ( 0i32 ) ; pub const TAPE_LOCK : PREPARE_TAPE_OPERATION = PREPARE_TAPE_OPERATION ( 3i32 ) ; pub const TAPE_TENSION : PREPARE_TAPE_OPERATION = PREPARE_TAPE_OPERATION ( 2i32 ) ; pub const TAPE_UNLOAD : PREPARE_TAPE_OPERATION = PREPARE_TAPE_OPERATION ( 1i32 ) ; pub const TAPE_UNLOCK : PREPARE_TAPE_OPERATION = PREPARE_TAPE_OPERATION ( 4i32 ) ; impl :: std :: convert :: From < i32 > for PREPARE_TAPE_OPERATION { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for PREPARE_TAPE_OPERATION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct PRIORITY_HINT ( pub i32 ) ; pub const IoPriorityHintVeryLow : PRIORITY_HINT = PRIORITY_HINT ( 0i32 ) ; pub const IoPriorityHintLow : PRIORITY_HINT = PRIORITY_HINT ( 1i32 ) ; pub const IoPriorityHintNormal : PRIORITY_HINT = PRIORITY_HINT ( 2i32 ) ; pub const MaximumIoPriorityHintType : PRIORITY_HINT = PRIORITY_HINT ( 3i32 ) ; impl :: std :: convert :: From < i32 > for PRIORITY_HINT { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for PRIORITY_HINT { type Abi = Self ; type DefaultType = Self ; } pub unsafe fn PostQueuedCompletionStatus < 'a , > ( completionport : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , dwnumberofbytestransferred : u32 , dwcompletionkey : usize , lpoverlapped : * mut super::super::System::SystemServices:: OVERLAPPED , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn PostQueuedCompletionStatus ( completionport : super::super::Foundation:: HANDLE , dwnumberofbytestransferred : u32 , dwcompletionkey : usize , lpoverlapped : * mut super::super::System::SystemServices:: OVERLAPPED ) -> super::super::Foundation:: BOOL ; } PostQueuedCompletionStatus ( completionport . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwnumberofbytestransferred ) , :: std :: mem :: transmute ( dwcompletionkey ) , :: std :: mem :: transmute ( lpoverlapped ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn PrePrepareComplete < 'a , > ( enlistmenthandle : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , tmvirtualclock : * mut i64 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="ktmw32" ) ] extern "system" { fn PrePrepareComplete ( enlistmenthandle : super::super::Foundation:: HANDLE , tmvirtualclock : * mut i64 ) -> super::super::Foundation:: BOOL ; } PrePrepareComplete ( enlistmenthandle . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( tmvirtualclock ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn PrePrepareEnlistment < 'a , > ( enlistmenthandle : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , tmvirtualclock : * mut i64 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="ktmw32" ) ] extern "system" { fn PrePrepareEnlistment ( enlistmenthandle : super::super::Foundation:: HANDLE , tmvirtualclock : * mut i64 ) -> super::super::Foundation:: BOOL ; } PrePrepareEnlistment ( enlistmenthandle . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( tmvirtualclock ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn PrepareComplete < 'a , > ( enlistmenthandle : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , tmvirtualclock : * mut i64 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="ktmw32" ) ] extern "system" { fn PrepareComplete ( enlistmenthandle : super::super::Foundation:: HANDLE , tmvirtualclock : * mut i64 ) -> super::super::Foundation:: BOOL ; } PrepareComplete ( enlistmenthandle . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( tmvirtualclock ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn PrepareEnlistment < 'a , > ( enlistmenthandle : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , tmvirtualclock : * mut i64 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="ktmw32" ) ] extern "system" { fn PrepareEnlistment ( enlistmenthandle : super::super::Foundation:: HANDLE , tmvirtualclock : * mut i64 ) -> super::super::Foundation:: BOOL ; } PrepareEnlistment ( enlistmenthandle . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( tmvirtualclock ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn PrepareLogArchive < 'a , > ( hlog : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , pszbaselogfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , clen : u32 , plsnlow : * const CLS_LSN , plsnhigh : * const CLS_LSN , pcactuallength : * mut u32 , poffbaselogfiledata : * mut u64 , pcbbaselogfilelength : * mut u64 , plsnbase : * mut CLS_LSN , plsnlast : * mut CLS_LSN , plsncurrentarchivetail : * mut CLS_LSN , ppvarchivecontext : * mut * mut :: std :: ffi :: c_void , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="clfsw32" ) ] extern "system" { fn PrepareLogArchive ( hlog : super::super::Foundation:: HANDLE , pszbaselogfilename : super::super::Foundation:: PWSTR , clen : u32 , plsnlow : * const CLS_LSN , plsnhigh : * const CLS_LSN , pcactuallength : * mut u32 , poffbaselogfiledata : * mut u64 , pcbbaselogfilelength : * mut u64 , plsnbase : * mut CLS_LSN , plsnlast : * mut CLS_LSN , plsncurrentarchivetail : * mut CLS_LSN , ppvarchivecontext : * mut * mut :: std :: ffi :: c_void ) -> super::super::Foundation:: BOOL ; } PrepareLogArchive ( hlog . into_param ( ) . abi ( ) , pszbaselogfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( clen ) , :: std :: mem :: transmute ( plsnlow ) , :: std :: mem :: transmute ( plsnhigh ) , :: std :: mem :: transmute ( pcactuallength ) , :: std :: mem :: transmute ( poffbaselogfiledata ) , :: std :: mem :: transmute ( pcbbaselogfilelength ) , :: std :: mem :: transmute ( plsnbase ) , :: std :: mem :: transmute ( plsnlast ) , :: std :: mem :: transmute ( plsncurrentarchivetail ) , :: std :: mem :: transmute ( ppvarchivecontext ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn PrepareTape < 'a , > ( hdevice : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , dwoperation : PREPARE_TAPE_OPERATION , bimmediate : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn PrepareTape ( hdevice : super::super::Foundation:: HANDLE , dwoperation : PREPARE_TAPE_OPERATION , bimmediate : super::super::Foundation:: BOOL ) -> u32 ; } PrepareTape ( hdevice . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwoperation ) , bimmediate . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn QueryDosDeviceA < 'a , > ( lpdevicename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , lptargetpath : super::super::Foundation:: PSTR , ucchmax : u32 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn QueryDosDeviceA ( lpdevicename : super::super::Foundation:: PSTR , lptargetpath : super::super::Foundation:: PSTR , ucchmax : u32 ) -> u32 ; } QueryDosDeviceA ( lpdevicename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lptargetpath ) , :: std :: mem :: transmute ( ucchmax ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn QueryDosDeviceW < 'a , > ( lpdevicename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , lptargetpath : super::super::Foundation:: PWSTR , ucchmax : u32 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn QueryDosDeviceW ( lpdevicename : super::super::Foundation:: PWSTR , lptargetpath : super::super::Foundation:: PWSTR , ucchmax : u32 ) -> u32 ; } QueryDosDeviceW ( lpdevicename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lptargetpath ) , :: std :: mem :: transmute ( ucchmax ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn QueryLogPolicy < 'a , > ( hlog : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , epolicytype : CLFS_MGMT_POLICY_TYPE , ppolicybuffer : * mut CLFS_MGMT_POLICY , pcbpolicybuffer : * mut u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="clfsw32" ) ] extern "system" { fn QueryLogPolicy ( hlog : super::super::Foundation:: HANDLE , epolicytype : CLFS_MGMT_POLICY_TYPE , ppolicybuffer : * mut CLFS_MGMT_POLICY , pcbpolicybuffer : * mut u32 ) -> super::super::Foundation:: BOOL ; } QueryLogPolicy ( hlog . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( epolicytype ) , :: std :: mem :: transmute ( ppolicybuffer ) , :: std :: mem :: transmute ( pcbpolicybuffer ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn QueryRecoveryAgentsOnEncryptedFile < 'a , > ( lpfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , precoveryagents : * mut * mut ENCRYPTION_CERTIFICATE_HASH_LIST , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="ADVAPI32" ) ] extern "system" { fn QueryRecoveryAgentsOnEncryptedFile ( lpfilename : super::super::Foundation:: PWSTR , precoveryagents : * mut * mut ENCRYPTION_CERTIFICATE_HASH_LIST ) -> u32 ; } QueryRecoveryAgentsOnEncryptedFile ( lpfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( precoveryagents ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn QueryUsersOnEncryptedFile < 'a , > ( lpfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , pusers : * mut * mut ENCRYPTION_CERTIFICATE_HASH_LIST , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="ADVAPI32" ) ] extern "system" { fn QueryUsersOnEncryptedFile ( lpfilename : super::super::Foundation:: PWSTR , pusers : * mut * mut ENCRYPTION_CERTIFICATE_HASH_LIST ) -> u32 ; } QueryUsersOnEncryptedFile ( lpfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pusers ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct READ_DIRECTORY_NOTIFY_INFORMATION_CLASS ( pub i32 ) ; pub const ReadDirectoryNotifyInformation : READ_DIRECTORY_NOTIFY_INFORMATION_CLASS = READ_DIRECTORY_NOTIFY_INFORMATION_CLASS ( 1i32 ) ; pub const ReadDirectoryNotifyExtendedInformation : READ_DIRECTORY_NOTIFY_INFORMATION_CLASS = READ_DIRECTORY_NOTIFY_INFORMATION_CLASS ( 2i32 ) ; impl :: std :: convert :: From < i32 > for READ_DIRECTORY_NOTIFY_INFORMATION_CLASS { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for READ_DIRECTORY_NOTIFY_INFORMATION_CLASS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct READ_FILE_USN_DATA { pub MinMajorVersion : u16 , pub MaxMajorVersion : u16 } impl READ_FILE_USN_DATA { } impl :: std :: default :: Default for READ_FILE_USN_DATA { fn default ( ) -> Self { Self { MinMajorVersion : 0 , MaxMajorVersion : 0 } } } impl :: std :: fmt :: Debug for READ_FILE_USN_DATA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "READ_FILE_USN_DATA" ) . field ( "MinMajorVersion" , & self . MinMajorVersion ) . field ( "MaxMajorVersion" , & self . MaxMajorVersion ) . finish ( ) } } impl :: std :: cmp :: PartialEq for READ_FILE_USN_DATA { fn eq ( & self , other : & Self ) -> bool { self . MinMajorVersion == other . MinMajorVersion && self . MaxMajorVersion == other . MaxMajorVersion } } impl :: std :: cmp :: Eq for READ_FILE_USN_DATA { } unsafe impl :: windows :: Abi for READ_FILE_USN_DATA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct READ_USN_JOURNAL_DATA_V0 { pub StartUsn : i64 , pub ReasonMask : u32 , pub ReturnOnlyOnClose : u32 , pub Timeout : u64 , pub BytesToWaitFor : u64 , pub UsnJournalID : u64 } impl READ_USN_JOURNAL_DATA_V0 { } impl :: std :: default :: Default for READ_USN_JOURNAL_DATA_V0 { fn default ( ) -> Self { Self { StartUsn : 0 , ReasonMask : 0 , ReturnOnlyOnClose : 0 , Timeout : 0 , BytesToWaitFor : 0 , UsnJournalID : 0 } } } impl :: std :: fmt :: Debug for READ_USN_JOURNAL_DATA_V0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "READ_USN_JOURNAL_DATA_V0" ) . field ( "StartUsn" , & self . StartUsn ) . field ( "ReasonMask" , & self . ReasonMask ) . field ( "ReturnOnlyOnClose" , & self . ReturnOnlyOnClose ) . field ( "Timeout" , & self . Timeout ) . field ( "BytesToWaitFor" , & self . BytesToWaitFor ) . field ( "UsnJournalID" , & self . UsnJournalID ) . finish ( ) } } impl :: std :: cmp :: PartialEq for READ_USN_JOURNAL_DATA_V0 { fn eq ( & self , other : & Self ) -> bool { self . StartUsn == other . StartUsn && self . ReasonMask == other . ReasonMask && self . ReturnOnlyOnClose == other . ReturnOnlyOnClose && self . Timeout == other . Timeout && self . BytesToWaitFor == other . BytesToWaitFor && self . UsnJournalID == other . UsnJournalID } } impl :: std :: cmp :: Eq for READ_USN_JOURNAL_DATA_V0 { } unsafe impl :: windows :: Abi for READ_USN_JOURNAL_DATA_V0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct READ_USN_JOURNAL_DATA_V1 { pub StartUsn : i64 , pub ReasonMask : u32 , pub ReturnOnlyOnClose : u32 , pub Timeout : u64 , pub BytesToWaitFor : u64 , pub UsnJournalID : u64 , pub MinMajorVersion : u16 , pub MaxMajorVersion : u16 } impl READ_USN_JOURNAL_DATA_V1 { } impl :: std :: default :: Default for READ_USN_JOURNAL_DATA_V1 { fn default ( ) -> Self { Self { StartUsn : 0 , ReasonMask : 0 , ReturnOnlyOnClose : 0 , Timeout : 0 , BytesToWaitFor : 0 , UsnJournalID : 0 , MinMajorVersion : 0 , MaxMajorVersion : 0 } } } impl :: std :: fmt :: Debug for READ_USN_JOURNAL_DATA_V1 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "READ_USN_JOURNAL_DATA_V1" ) . field ( "StartUsn" , & self . StartUsn ) . field ( "ReasonMask" , & self . ReasonMask ) . field ( "ReturnOnlyOnClose" , & self . ReturnOnlyOnClose ) . field ( "Timeout" , & self . Timeout ) . field ( "BytesToWaitFor" , & self . BytesToWaitFor ) . field ( "UsnJournalID" , & self . UsnJournalID ) . field ( "MinMajorVersion" , & self . MinMajorVersion ) . field ( "MaxMajorVersion" , & self . MaxMajorVersion ) . finish ( ) } } impl :: std :: cmp :: PartialEq for READ_USN_JOURNAL_DATA_V1 { fn eq ( & self , other : & Self ) -> bool { self . StartUsn == other . StartUsn && self . ReasonMask == other . ReasonMask && self . ReturnOnlyOnClose == other . ReturnOnlyOnClose && self . Timeout == other . Timeout && self . BytesToWaitFor == other . BytesToWaitFor && self . UsnJournalID == other . UsnJournalID && self . MinMajorVersion == other . MinMajorVersion && self . MaxMajorVersion == other . MaxMajorVersion } } impl :: std :: cmp :: Eq for READ_USN_JOURNAL_DATA_V1 { } unsafe impl :: windows :: Abi for READ_USN_JOURNAL_DATA_V1 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct REASSIGN_BLOCKS { pub Reserved : u16 , pub Count : u16 , pub BlockNumber : [ u32 ;1 ] } impl REASSIGN_BLOCKS { } impl :: std :: default :: Default for REASSIGN_BLOCKS { fn default ( ) -> Self { Self { Reserved : 0 , Count : 0 , BlockNumber : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for REASSIGN_BLOCKS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "REASSIGN_BLOCKS" ) . field ( "Reserved" , & self . Reserved ) . field ( "Count" , & self . Count ) . field ( "BlockNumber" , & self . BlockNumber ) . finish ( ) } } impl :: std :: cmp :: PartialEq for REASSIGN_BLOCKS { fn eq ( & self , other : & Self ) -> bool { self . Reserved == other . Reserved && self . Count == other . Count && self . BlockNumber == other . BlockNumber } } impl :: std :: cmp :: Eq for REASSIGN_BLOCKS { } unsafe impl :: windows :: Abi for REASSIGN_BLOCKS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 1 ) ) ] pub struct REASSIGN_BLOCKS_EX { pub Reserved : u16 , pub Count : u16 , pub BlockNumber : [ i64 ;1 ] } impl REASSIGN_BLOCKS_EX { } impl :: std :: cmp :: PartialEq for REASSIGN_BLOCKS_EX { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for REASSIGN_BLOCKS_EX { } unsafe impl :: windows :: Abi for REASSIGN_BLOCKS_EX { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct REPAIR_COPIES_INPUT { pub Size : u32 , pub Flags : u32 , pub FileOffset : i64 , pub Length : u32 , pub SourceCopy : u32 , pub NumberOfRepairCopies : u32 , pub RepairCopies : [ u32 ;1 ] } impl REPAIR_COPIES_INPUT { } impl :: std :: default :: Default for REPAIR_COPIES_INPUT { fn default ( ) -> Self { Self { Size : 0 , Flags : 0 , FileOffset : 0 , Length : 0 , SourceCopy : 0 , NumberOfRepairCopies : 0 , RepairCopies : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for REPAIR_COPIES_INPUT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "REPAIR_COPIES_INPUT" ) . field ( "Size" , & self . Size ) . field ( "Flags" , & self . Flags ) . field ( "FileOffset" , & self . FileOffset ) . field ( "Length" , & self . Length ) . field ( "SourceCopy" , & self . SourceCopy ) . field ( "NumberOfRepairCopies" , & self . NumberOfRepairCopies ) . field ( "RepairCopies" , & self . RepairCopies ) . finish ( ) } } impl :: std :: cmp :: PartialEq for REPAIR_COPIES_INPUT { fn eq ( & self , other : & Self ) -> bool { self . Size == other . Size && self . Flags == other . Flags && self . FileOffset == other . FileOffset && self . Length == other . Length && self . SourceCopy == other . SourceCopy && self . NumberOfRepairCopies == other . NumberOfRepairCopies && self . RepairCopies == other . RepairCopies } } impl :: std :: cmp :: Eq for REPAIR_COPIES_INPUT { } unsafe impl :: windows :: Abi for REPAIR_COPIES_INPUT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct REPAIR_COPIES_OUTPUT { pub Size : u32 , pub Status : u32 , pub ResumeFileOffset : i64 } impl REPAIR_COPIES_OUTPUT { } impl :: std :: default :: Default for REPAIR_COPIES_OUTPUT { fn default ( ) -> Self { Self { Size : 0 , Status : 0 , ResumeFileOffset : 0 } } } impl :: std :: fmt :: Debug for REPAIR_COPIES_OUTPUT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "REPAIR_COPIES_OUTPUT" ) . field ( "Size" , & self . Size ) . field ( "Status" , & self . Status ) . field ( "ResumeFileOffset" , & self . ResumeFileOffset ) . finish ( ) } } impl :: std :: cmp :: PartialEq for REPAIR_COPIES_OUTPUT { fn eq ( & self , other : & Self ) -> bool { self . Size == other . Size && self . Status == other . Status && self . ResumeFileOffset == other . ResumeFileOffset } } impl :: std :: cmp :: Eq for REPAIR_COPIES_OUTPUT { } unsafe impl :: windows :: Abi for REPAIR_COPIES_OUTPUT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct REPARSE_GUID_DATA_BUFFER { pub ReparseTag : u32 , pub ReparseDataLength : u16 , pub Reserved : u16 , pub ReparseGuid : :: windows :: Guid , pub GenericReparseBuffer : REPARSE_GUID_DATA_BUFFER_0 } impl REPARSE_GUID_DATA_BUFFER { } impl :: std :: default :: Default for REPARSE_GUID_DATA_BUFFER { fn default ( ) -> Self { Self { ReparseTag : 0 , ReparseDataLength : 0 , Reserved : 0 , ReparseGuid : :: std :: default :: Default :: default ( ) , GenericReparseBuffer : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for REPARSE_GUID_DATA_BUFFER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "REPARSE_GUID_DATA_BUFFER" ) . field ( "ReparseTag" , & self . ReparseTag ) . field ( "ReparseDataLength" , & self . ReparseDataLength ) . field ( "Reserved" , & self . Reserved ) . field ( "ReparseGuid" , & self . ReparseGuid ) . field ( "GenericReparseBuffer" , & self . GenericReparseBuffer ) . finish ( ) } } impl :: std :: cmp :: PartialEq for REPARSE_GUID_DATA_BUFFER { fn eq ( & self , other : & Self ) -> bool { self . ReparseTag == other . ReparseTag && self . ReparseDataLength == other . ReparseDataLength && self . Reserved == other . Reserved && self . ReparseGuid == other . ReparseGuid && self . GenericReparseBuffer == other . GenericReparseBuffer } } impl :: std :: cmp :: Eq for REPARSE_GUID_DATA_BUFFER { } unsafe impl :: windows :: Abi for REPARSE_GUID_DATA_BUFFER { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct REPARSE_GUID_DATA_BUFFER_0 { pub DataBuffer : [ u8 ;1 ] } impl REPARSE_GUID_DATA_BUFFER_0 { } impl :: std :: default :: Default for REPARSE_GUID_DATA_BUFFER_0 { fn default ( ) -> Self { Self { DataBuffer : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for REPARSE_GUID_DATA_BUFFER_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_GenericReparseBuffer_e__Struct" ) . field ( "DataBuffer" , & self . DataBuffer ) . finish ( ) } } impl :: std :: cmp :: PartialEq for REPARSE_GUID_DATA_BUFFER_0 { fn eq ( & self , other : & Self ) -> bool { self . DataBuffer == other . DataBuffer } } impl :: std :: cmp :: Eq for REPARSE_GUID_DATA_BUFFER_0 { } unsafe impl :: windows :: Abi for REPARSE_GUID_DATA_BUFFER_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct REPLACE_FILE_FLAGS ( pub u32 ) ; pub const REPLACEFILE_WRITE_THROUGH : REPLACE_FILE_FLAGS = REPLACE_FILE_FLAGS ( 1u32 ) ; pub const REPLACEFILE_IGNORE_MERGE_ERRORS : REPLACE_FILE_FLAGS = REPLACE_FILE_FLAGS ( 2u32 ) ; pub const REPLACEFILE_IGNORE_ACL_ERRORS : REPLACE_FILE_FLAGS = REPLACE_FILE_FLAGS ( 4u32 ) ; impl :: std :: convert :: From < u32 > for REPLACE_FILE_FLAGS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for REPLACE_FILE_FLAGS { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for REPLACE_FILE_FLAGS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for REPLACE_FILE_FLAGS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for REPLACE_FILE_FLAGS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for REPLACE_FILE_FLAGS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct REQUEST_OPLOCK_INPUT_BUFFER { pub StructureVersion : u16 , pub StructureLength : u16 , pub RequestedOplockLevel : u32 , pub Flags : u32 } impl REQUEST_OPLOCK_INPUT_BUFFER { } impl :: std :: default :: Default for REQUEST_OPLOCK_INPUT_BUFFER { fn default ( ) -> Self { Self { StructureVersion : 0 , StructureLength : 0 , RequestedOplockLevel : 0 , Flags : 0 } } } impl :: std :: fmt :: Debug for REQUEST_OPLOCK_INPUT_BUFFER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "REQUEST_OPLOCK_INPUT_BUFFER" ) . field ( "StructureVersion" , & self . StructureVersion ) . field ( "StructureLength" , & self . StructureLength ) . field ( "RequestedOplockLevel" , & self . RequestedOplockLevel ) . field ( "Flags" , & self . Flags ) . finish ( ) } } impl :: std :: cmp :: PartialEq for REQUEST_OPLOCK_INPUT_BUFFER { fn eq ( & self , other : & Self ) -> bool { self . StructureVersion == other . StructureVersion && self . StructureLength == other . StructureLength && self . RequestedOplockLevel == other . RequestedOplockLevel && self . Flags == other . Flags } } impl :: std :: cmp :: Eq for REQUEST_OPLOCK_INPUT_BUFFER { } unsafe impl :: windows :: Abi for REQUEST_OPLOCK_INPUT_BUFFER { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct REQUEST_OPLOCK_OUTPUT_BUFFER { pub StructureVersion : u16 , pub StructureLength : u16 , pub OriginalOplockLevel : u32 , pub NewOplockLevel : u32 , pub Flags : u32 , pub AccessMode : u32 , pub ShareMode : u16 } impl REQUEST_OPLOCK_OUTPUT_BUFFER { } impl :: std :: default :: Default for REQUEST_OPLOCK_OUTPUT_BUFFER { fn default ( ) -> Self { Self { StructureVersion : 0 , StructureLength : 0 , OriginalOplockLevel : 0 , NewOplockLevel : 0 , Flags : 0 , AccessMode : 0 , ShareMode : 0 } } } impl :: std :: fmt :: Debug for REQUEST_OPLOCK_OUTPUT_BUFFER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "REQUEST_OPLOCK_OUTPUT_BUFFER" ) . field ( "StructureVersion" , & self . StructureVersion ) . field ( "StructureLength" , & self . StructureLength ) . field ( "OriginalOplockLevel" , & self . OriginalOplockLevel ) . field ( "NewOplockLevel" , & self . NewOplockLevel ) . field ( "Flags" , & self . Flags ) . field ( "AccessMode" , & self . AccessMode ) . field ( "ShareMode" , & self . ShareMode ) . finish ( ) } } impl :: std :: cmp :: PartialEq for REQUEST_OPLOCK_OUTPUT_BUFFER { fn eq ( & self , other : & Self ) -> bool { self . StructureVersion == other . StructureVersion && self . StructureLength == other . StructureLength && self . OriginalOplockLevel == other . OriginalOplockLevel && self . NewOplockLevel == other . NewOplockLevel && self . Flags == other . Flags && self . AccessMode == other . AccessMode && self . ShareMode == other . ShareMode } } impl :: std :: cmp :: Eq for REQUEST_OPLOCK_OUTPUT_BUFFER { } unsafe impl :: windows :: Abi for REQUEST_OPLOCK_OUTPUT_BUFFER { type Abi = Self ; type DefaultType = Self ; } pub const RESOURCE_MANAGER_COMMUNICATION : u32 = 2u32 ; pub const RESOURCE_MANAGER_MAXIMUM_OPTION : u32 = 3u32 ; pub const RESOURCE_MANAGER_VOLATILE : u32 = 1u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct RETRIEVAL_POINTERS_BUFFER { pub ExtentCount : u32 , pub StartingVcn : i64 , pub Extents : [ RETRIEVAL_POINTERS_BUFFER_0 ;1 ] } impl RETRIEVAL_POINTERS_BUFFER { } impl :: std :: default :: Default for RETRIEVAL_POINTERS_BUFFER { fn default ( ) -> Self { Self { ExtentCount : 0 , StartingVcn : 0 , Extents : [ :: std :: default :: Default :: default ( ) ;1 ] } } } impl :: std :: fmt :: Debug for RETRIEVAL_POINTERS_BUFFER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "RETRIEVAL_POINTERS_BUFFER" ) . field ( "ExtentCount" , & self . ExtentCount ) . field ( "StartingVcn" , & self . StartingVcn ) . field ( "Extents" , & self . Extents ) . finish ( ) } } impl :: std :: cmp :: PartialEq for RETRIEVAL_POINTERS_BUFFER { fn eq ( & self , other : & Self ) -> bool { self . ExtentCount == other . ExtentCount && self . StartingVcn == other . StartingVcn && self . Extents == other . Extents } } impl :: std :: cmp :: Eq for RETRIEVAL_POINTERS_BUFFER { } unsafe impl :: windows :: Abi for RETRIEVAL_POINTERS_BUFFER { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct RETRIEVAL_POINTERS_BUFFER_0 { pub NextVcn : i64 , pub Lcn : i64 } impl RETRIEVAL_POINTERS_BUFFER_0 { } impl :: std :: default :: Default for RETRIEVAL_POINTERS_BUFFER_0 { fn default ( ) -> Self { Self { NextVcn : 0 , Lcn : 0 } } } impl :: std :: fmt :: Debug for RETRIEVAL_POINTERS_BUFFER_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Anonymous_e__Struct" ) . field ( "NextVcn" , & self . NextVcn ) . field ( "Lcn" , & self . Lcn ) . finish ( ) } } impl :: std :: cmp :: PartialEq for RETRIEVAL_POINTERS_BUFFER_0 { fn eq ( & self , other : & Self ) -> bool { self . NextVcn == other . NextVcn && self . Lcn == other . Lcn } } impl :: std :: cmp :: Eq for RETRIEVAL_POINTERS_BUFFER_0 { } unsafe impl :: windows :: Abi for RETRIEVAL_POINTERS_BUFFER_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct RETRIEVAL_POINTER_BASE { pub FileAreaOffset : i64 } impl RETRIEVAL_POINTER_BASE { } impl :: std :: default :: Default for RETRIEVAL_POINTER_BASE { fn default ( ) -> Self { Self { FileAreaOffset : 0 } } } impl :: std :: fmt :: Debug for RETRIEVAL_POINTER_BASE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "RETRIEVAL_POINTER_BASE" ) . field ( "FileAreaOffset" , & self . FileAreaOffset ) . finish ( ) } } impl :: std :: cmp :: PartialEq for RETRIEVAL_POINTER_BASE { fn eq ( & self , other : & Self ) -> bool { self . FileAreaOffset == other . FileAreaOffset } } impl :: std :: cmp :: Eq for RETRIEVAL_POINTER_BASE { } unsafe impl :: windows :: Abi for RETRIEVAL_POINTER_BASE { type Abi = Self ; type DefaultType = Self ; } pub unsafe fn ReOpenFile < 'a , > ( horiginalfile : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , dwdesiredaccess : FILE_ACCESS_FLAGS , dwsharemode : FILE_SHARE_MODE , dwflagsandattributes : FILE_FLAGS_AND_ATTRIBUTES , ) -> super::super::Foundation:: HANDLE { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn ReOpenFile ( horiginalfile : super::super::Foundation:: HANDLE , dwdesiredaccess : FILE_ACCESS_FLAGS , dwsharemode : FILE_SHARE_MODE , dwflagsandattributes : FILE_FLAGS_AND_ATTRIBUTES ) -> super::super::Foundation:: HANDLE ; } ReOpenFile ( horiginalfile . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwdesiredaccess ) , :: std :: mem :: transmute ( dwsharemode ) , :: std :: mem :: transmute ( dwflagsandattributes ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn ReadDirectoryChangesExW < 'a , > ( hdirectory : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , lpbuffer : * mut :: std :: ffi :: c_void , nbufferlength : u32 , bwatchsubtree : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , dwnotifyfilter : FILE_NOTIFY_CHANGE , lpbytesreturned : * mut u32 , lpoverlapped : * mut super::super::System::SystemServices:: OVERLAPPED , lpcompletionroutine : :: std :: option :: Option < LPOVERLAPPED_COMPLETION_ROUTINE > , readdirectorynotifyinformationclass : READ_DIRECTORY_NOTIFY_INFORMATION_CLASS , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn ReadDirectoryChangesExW ( hdirectory : super::super::Foundation:: HANDLE , lpbuffer : * mut :: std :: ffi :: c_void , nbufferlength : u32 , bwatchsubtree : super::super::Foundation:: BOOL , dwnotifyfilter : FILE_NOTIFY_CHANGE , lpbytesreturned : * mut u32 , lpoverlapped : * mut super::super::System::SystemServices:: OVERLAPPED , lpcompletionroutine : :: windows :: RawPtr , readdirectorynotifyinformationclass : READ_DIRECTORY_NOTIFY_INFORMATION_CLASS ) -> super::super::Foundation:: BOOL ; } ReadDirectoryChangesExW ( hdirectory . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpbuffer ) , :: std :: mem :: transmute ( nbufferlength ) , bwatchsubtree . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwnotifyfilter ) , :: std :: mem :: transmute ( lpbytesreturned ) , :: std :: mem :: transmute ( lpoverlapped ) , :: std :: mem :: transmute ( lpcompletionroutine ) , :: std :: mem :: transmute ( readdirectorynotifyinformationclass ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn ReadDirectoryChangesW < 'a , > ( hdirectory : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , lpbuffer : * mut :: std :: ffi :: c_void , nbufferlength : u32 , bwatchsubtree : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , dwnotifyfilter : FILE_NOTIFY_CHANGE , lpbytesreturned : * mut u32 , lpoverlapped : * mut super::super::System::SystemServices:: OVERLAPPED , lpcompletionroutine : :: std :: option :: Option < LPOVERLAPPED_COMPLETION_ROUTINE > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn ReadDirectoryChangesW ( hdirectory : super::super::Foundation:: HANDLE , lpbuffer : * mut :: std :: ffi :: c_void , nbufferlength : u32 , bwatchsubtree : super::super::Foundation:: BOOL , dwnotifyfilter : FILE_NOTIFY_CHANGE , lpbytesreturned : * mut u32 , lpoverlapped : * mut super::super::System::SystemServices:: OVERLAPPED , lpcompletionroutine : :: windows :: RawPtr ) -> super::super::Foundation:: BOOL ; } ReadDirectoryChangesW ( hdirectory . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpbuffer ) , :: std :: mem :: transmute ( nbufferlength ) , bwatchsubtree . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwnotifyfilter ) , :: std :: mem :: transmute ( lpbytesreturned ) , :: std :: mem :: transmute ( lpoverlapped ) , :: std :: mem :: transmute ( lpcompletionroutine ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn ReadEncryptedFileRaw < > ( pfexportcallback : :: std :: option :: Option < PFE_EXPORT_FUNC > , pvcallbackcontext : * mut :: std :: ffi :: c_void , pvcontext : * mut :: std :: ffi :: c_void , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="ADVAPI32" ) ] extern "system" { fn ReadEncryptedFileRaw ( pfexportcallback : :: windows :: RawPtr , pvcallbackcontext : * mut :: std :: ffi :: c_void , pvcontext : * mut :: std :: ffi :: c_void ) -> u32 ; } ReadEncryptedFileRaw ( :: std :: mem :: transmute ( pfexportcallback ) , :: std :: mem :: transmute ( pvcallbackcontext ) , :: std :: mem :: transmute ( pvcontext ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn ReadFile < 'a , > ( hfile : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , lpbuffer : * mut :: std :: ffi :: c_void , nnumberofbytestoread : u32 , lpnumberofbytesread : * mut u32 , lpoverlapped : * mut super::super::System::SystemServices:: OVERLAPPED , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn ReadFile ( hfile : super::super::Foundation:: HANDLE , lpbuffer : * mut :: std :: ffi :: c_void , nnumberofbytestoread : u32 , lpnumberofbytesread : * mut u32 , lpoverlapped : * mut super::super::System::SystemServices:: OVERLAPPED ) -> super::super::Foundation:: BOOL ; } ReadFile ( hfile . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpbuffer ) , :: std :: mem :: transmute ( nnumberofbytestoread ) , :: std :: mem :: transmute ( lpnumberofbytesread ) , :: std :: mem :: transmute ( lpoverlapped ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn ReadFileEx < 'a , > ( hfile : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , lpbuffer : * mut :: std :: ffi :: c_void , nnumberofbytestoread : u32 , lpoverlapped : * mut super::super::System::SystemServices:: OVERLAPPED , lpcompletionroutine : :: std :: option :: Option < LPOVERLAPPED_COMPLETION_ROUTINE > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn ReadFileEx ( hfile : super::super::Foundation:: HANDLE , lpbuffer : * mut :: std :: ffi :: c_void , nnumberofbytestoread : u32 , lpoverlapped : * mut super::super::System::SystemServices:: OVERLAPPED , lpcompletionroutine : :: windows :: RawPtr ) -> super::super::Foundation:: BOOL ; } ReadFileEx ( hfile . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpbuffer ) , :: std :: mem :: transmute ( nnumberofbytestoread ) , :: std :: mem :: transmute ( lpoverlapped ) , :: std :: mem :: transmute ( lpcompletionroutine ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn ReadFileScatter < 'a , > ( hfile : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , asegmentarray : * mut super::super::System::SystemServices:: FILE_SEGMENT_ELEMENT , nnumberofbytestoread : u32 , lpreserved : * mut u32 , lpoverlapped : * mut super::super::System::SystemServices:: OVERLAPPED , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn ReadFileScatter ( hfile : super::super::Foundation:: HANDLE , asegmentarray : * mut super::super::System::SystemServices:: FILE_SEGMENT_ELEMENT , nnumberofbytestoread : u32 , lpreserved : * mut u32 , lpoverlapped : * mut super::super::System::SystemServices:: OVERLAPPED ) -> super::super::Foundation:: BOOL ; } ReadFileScatter ( hfile . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( asegmentarray ) , :: std :: mem :: transmute ( nnumberofbytestoread ) , :: std :: mem :: transmute ( lpreserved ) , :: std :: mem :: transmute ( lpoverlapped ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn ReadLogArchiveMetadata < > ( pvarchivecontext : * mut :: std :: ffi :: c_void , cboffset : u32 , cbbytestoread : u32 , pbreadbuffer : * mut u8 , pcbbytesread : * mut u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="clfsw32" ) ] extern "system" { fn ReadLogArchiveMetadata ( pvarchivecontext : * mut :: std :: ffi :: c_void , cboffset : u32 , cbbytestoread : u32 , pbreadbuffer : * mut u8 , pcbbytesread : * mut u32 ) -> super::super::Foundation:: BOOL ; } ReadLogArchiveMetadata ( :: std :: mem :: transmute ( pvarchivecontext ) , :: std :: mem :: transmute ( cboffset ) , :: std :: mem :: transmute ( cbbytestoread ) , :: std :: mem :: transmute ( pbreadbuffer ) , :: std :: mem :: transmute ( pcbbytesread ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn ReadLogNotification < 'a , > ( hlog : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , pnotification : * mut CLFS_MGMT_NOTIFICATION , lpoverlapped : * mut super::super::System::SystemServices:: OVERLAPPED , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="clfsw32" ) ] extern "system" { fn ReadLogNotification ( hlog : super::super::Foundation:: HANDLE , pnotification : * mut CLFS_MGMT_NOTIFICATION , lpoverlapped : * mut super::super::System::SystemServices:: OVERLAPPED ) -> super::super::Foundation:: BOOL ; } ReadLogNotification ( hlog . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pnotification ) , :: std :: mem :: transmute ( lpoverlapped ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn ReadLogRecord < > ( pvmarshal : * mut :: std :: ffi :: c_void , plsnfirst : * mut CLS_LSN , econtextmode : CLFS_CONTEXT_MODE , ppvreadbuffer : * mut * mut :: std :: ffi :: c_void , pcbreadbuffer : * mut u32 , perecordtype : * mut u8 , plsnundonext : * mut CLS_LSN , plsnprevious : * mut CLS_LSN , ppvreadcontext : * mut * mut :: std :: ffi :: c_void , poverlapped : * mut super::super::System::SystemServices:: OVERLAPPED , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="clfsw32" ) ] extern "system" { fn ReadLogRecord ( pvmarshal : * mut :: std :: ffi :: c_void , plsnfirst : * mut CLS_LSN , econtextmode : CLFS_CONTEXT_MODE , ppvreadbuffer : * mut * mut :: std :: ffi :: c_void , pcbreadbuffer : * mut u32 , perecordtype : * mut u8 , plsnundonext : * mut CLS_LSN , plsnprevious : * mut CLS_LSN , ppvreadcontext : * mut * mut :: std :: ffi :: c_void , poverlapped : * mut super::super::System::SystemServices:: OVERLAPPED ) -> super::super::Foundation:: BOOL ; } ReadLogRecord ( :: std :: mem :: transmute ( pvmarshal ) , :: std :: mem :: transmute ( plsnfirst ) , :: std :: mem :: transmute ( econtextmode ) , :: std :: mem :: transmute ( ppvreadbuffer ) , :: std :: mem :: transmute ( pcbreadbuffer ) , :: std :: mem :: transmute ( perecordtype ) , :: std :: mem :: transmute ( plsnundonext ) , :: std :: mem :: transmute ( plsnprevious ) , :: std :: mem :: transmute ( ppvreadcontext ) , :: std :: mem :: transmute ( poverlapped ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn ReadLogRestartArea < > ( pvmarshal : * mut :: std :: ffi :: c_void , ppvrestartbuffer : * mut * mut :: std :: ffi :: c_void , pcbrestartbuffer : * mut u32 , plsn : * mut CLS_LSN , ppvcontext : * mut * mut :: std :: ffi :: c_void , poverlapped : * mut super::super::System::SystemServices:: OVERLAPPED , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="clfsw32" ) ] extern "system" { fn ReadLogRestartArea ( pvmarshal : * mut :: std :: ffi :: c_void , ppvrestartbuffer : * mut * mut :: std :: ffi :: c_void , pcbrestartbuffer : * mut u32 , plsn : * mut CLS_LSN , ppvcontext : * mut * mut :: std :: ffi :: c_void , poverlapped : * mut super::super::System::SystemServices:: OVERLAPPED ) -> super::super::Foundation:: BOOL ; } ReadLogRestartArea ( :: std :: mem :: transmute ( pvmarshal ) , :: std :: mem :: transmute ( ppvrestartbuffer ) , :: std :: mem :: transmute ( pcbrestartbuffer ) , :: std :: mem :: transmute ( plsn ) , :: std :: mem :: transmute ( ppvcontext ) , :: std :: mem :: transmute ( poverlapped ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn ReadNextLogRecord < > ( pvreadcontext : * mut :: std :: ffi :: c_void , ppvbuffer : * mut * mut :: std :: ffi :: c_void , pcbbuffer : * mut u32 , perecordtype : * mut u8 , plsnuser : * mut CLS_LSN , plsnundonext : * mut CLS_LSN , plsnprevious : * mut CLS_LSN , plsnrecord : * mut CLS_LSN , poverlapped : * mut super::super::System::SystemServices:: OVERLAPPED , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="clfsw32" ) ] extern "system" { fn ReadNextLogRecord ( pvreadcontext : * mut :: std :: ffi :: c_void , ppvbuffer : * mut * mut :: std :: ffi :: c_void , pcbbuffer : * mut u32 , perecordtype : * mut u8 , plsnuser : * mut CLS_LSN , plsnundonext : * mut CLS_LSN , plsnprevious : * mut CLS_LSN , plsnrecord : * mut CLS_LSN , poverlapped : * mut super::super::System::SystemServices:: OVERLAPPED ) -> super::super::Foundation:: BOOL ; } ReadNextLogRecord ( :: std :: mem :: transmute ( pvreadcontext ) , :: std :: mem :: transmute ( ppvbuffer ) , :: std :: mem :: transmute ( pcbbuffer ) , :: std :: mem :: transmute ( perecordtype ) , :: std :: mem :: transmute ( plsnuser ) , :: std :: mem :: transmute ( plsnundonext ) , :: std :: mem :: transmute ( plsnprevious ) , :: std :: mem :: transmute ( plsnrecord ) , :: std :: mem :: transmute ( poverlapped ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn ReadOnlyEnlistment < 'a , > ( enlistmenthandle : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , tmvirtualclock : * mut i64 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="ktmw32" ) ] extern "system" { fn ReadOnlyEnlistment ( enlistmenthandle : super::super::Foundation:: HANDLE , tmvirtualclock : * mut i64 ) -> super::super::Foundation:: BOOL ; } ReadOnlyEnlistment ( enlistmenthandle . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( tmvirtualclock ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn ReadPreviousLogRestartArea < > ( pvreadcontext : * mut :: std :: ffi :: c_void , ppvrestartbuffer : * mut * mut :: std :: ffi :: c_void , pcbrestartbuffer : * mut u32 , plsnrestart : * mut CLS_LSN , poverlapped : * mut super::super::System::SystemServices:: OVERLAPPED , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="clfsw32" ) ] extern "system" { fn ReadPreviousLogRestartArea ( pvreadcontext : * mut :: std :: ffi :: c_void , ppvrestartbuffer : * mut * mut :: std :: ffi :: c_void , pcbrestartbuffer : * mut u32 , plsnrestart : * mut CLS_LSN , poverlapped : * mut super::super::System::SystemServices:: OVERLAPPED ) -> super::super::Foundation:: BOOL ; } ReadPreviousLogRestartArea ( :: std :: mem :: transmute ( pvreadcontext ) , :: std :: mem :: transmute ( ppvrestartbuffer ) , :: std :: mem :: transmute ( pcbrestartbuffer ) , :: std :: mem :: transmute ( plsnrestart ) , :: std :: mem :: transmute ( poverlapped ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn RecoverEnlistment < 'a , > ( enlistmenthandle : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , enlistmentkey : * mut :: std :: ffi :: c_void , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="ktmw32" ) ] extern "system" { fn RecoverEnlistment ( enlistmenthandle : super::super::Foundation:: HANDLE , enlistmentkey : * mut :: std :: ffi :: c_void ) -> super::super::Foundation:: BOOL ; } RecoverEnlistment ( enlistmenthandle . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( enlistmentkey ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn RecoverResourceManager < 'a , > ( resourcemanagerhandle : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="ktmw32" ) ] extern "system" { fn RecoverResourceManager ( resourcemanagerhandle : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ; } RecoverResourceManager ( resourcemanagerhandle . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn RecoverTransactionManager < 'a , > ( transactionmanagerhandle : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="ktmw32" ) ] extern "system" { fn RecoverTransactionManager ( transactionmanagerhandle : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ; } RecoverTransactionManager ( transactionmanagerhandle . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn RegisterForLogWriteNotification < 'a , > ( hlog : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , cbthreshold : u32 , fenable : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="clfsw32" ) ] extern "system" { fn RegisterForLogWriteNotification ( hlog : super::super::Foundation:: HANDLE , cbthreshold : u32 , fenable : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ; } RegisterForLogWriteNotification ( hlog . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( cbthreshold ) , fenable . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn RegisterManageableLogClient < 'a , > ( hlog : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , pcallbacks : * mut LOG_MANAGEMENT_CALLBACKS , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="clfsw32" ) ] extern "system" { fn RegisterManageableLogClient ( hlog : super::super::Foundation:: HANDLE , pcallbacks : * mut LOG_MANAGEMENT_CALLBACKS_abi ) -> super::super::Foundation:: BOOL ; } RegisterManageableLogClient ( hlog . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pcallbacks ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn RemoveDirectoryA < 'a , > ( lppathname : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn RemoveDirectoryA ( lppathname : super::super::Foundation:: PSTR ) -> super::super::Foundation:: BOOL ; } RemoveDirectoryA ( lppathname . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn RemoveDirectoryFromAppW < 'a , > ( lppathname : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="onecoreuap" ) ] extern "system" { fn RemoveDirectoryFromAppW ( lppathname : super::super::Foundation:: PWSTR ) -> super::super::Foundation:: BOOL ; } RemoveDirectoryFromAppW ( lppathname . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn RemoveDirectoryTransactedA < 'a , > ( lppathname : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , htransaction : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn RemoveDirectoryTransactedA ( lppathname : super::super::Foundation:: PSTR , htransaction : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ; } RemoveDirectoryTransactedA ( lppathname . into_param ( ) . abi ( ) , htransaction . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn RemoveDirectoryTransactedW < 'a , > ( lppathname : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , htransaction : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn RemoveDirectoryTransactedW ( lppathname : super::super::Foundation:: PWSTR , htransaction : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ; } RemoveDirectoryTransactedW ( lppathname . into_param ( ) . abi ( ) , htransaction . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn RemoveDirectoryW < 'a , > ( lppathname : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn RemoveDirectoryW ( lppathname : super::super::Foundation:: PWSTR ) -> super::super::Foundation:: BOOL ; } RemoveDirectoryW ( lppathname . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn RemoveLogContainer < 'a , > ( hlog : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , pwszcontainerpath : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , fforce : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , preserved : * mut :: std :: ffi :: c_void , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="clfsw32" ) ] extern "system" { fn RemoveLogContainer ( hlog : super::super::Foundation:: HANDLE , pwszcontainerpath : super::super::Foundation:: PWSTR , fforce : super::super::Foundation:: BOOL , preserved : * mut :: std :: ffi :: c_void ) -> super::super::Foundation:: BOOL ; } RemoveLogContainer ( hlog . into_param ( ) . abi ( ) , pwszcontainerpath . into_param ( ) . abi ( ) , fforce . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( preserved ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn RemoveLogContainerSet < 'a , > ( hlog : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , ccontainer : u16 , rgwszcontainerpath : * mut super::super::Foundation:: PWSTR , fforce : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , preserved : * mut :: std :: ffi :: c_void , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="clfsw32" ) ] extern "system" { fn RemoveLogContainerSet ( hlog : super::super::Foundation:: HANDLE , ccontainer : u16 , rgwszcontainerpath : * mut super::super::Foundation:: PWSTR , fforce : super::super::Foundation:: BOOL , preserved : * mut :: std :: ffi :: c_void ) -> super::super::Foundation:: BOOL ; } RemoveLogContainerSet ( hlog . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ccontainer ) , :: std :: mem :: transmute ( rgwszcontainerpath ) , fforce . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( preserved ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn RemoveLogPolicy < 'a , > ( hlog : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , epolicytype : CLFS_MGMT_POLICY_TYPE , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="clfsw32" ) ] extern "system" { fn RemoveLogPolicy ( hlog : super::super::Foundation:: HANDLE , epolicytype : CLFS_MGMT_POLICY_TYPE ) -> super::super::Foundation:: BOOL ; } RemoveLogPolicy ( hlog . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( epolicytype ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn RemoveUsersFromEncryptedFile < 'a , > ( lpfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , phashes : * mut ENCRYPTION_CERTIFICATE_HASH_LIST , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="ADVAPI32" ) ] extern "system" { fn RemoveUsersFromEncryptedFile ( lpfilename : super::super::Foundation:: PWSTR , phashes : * mut ENCRYPTION_CERTIFICATE_HASH_LIST ) -> u32 ; } RemoveUsersFromEncryptedFile ( lpfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( phashes ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn RenameTransactionManager < 'a , > ( logfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , existingtransactionmanagerguid : * mut :: windows :: Guid , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="ktmw32" ) ] extern "system" { fn RenameTransactionManager ( logfilename : super::super::Foundation:: PWSTR , existingtransactionmanagerguid : * mut :: windows :: Guid ) -> super::super::Foundation:: BOOL ; } RenameTransactionManager ( logfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( existingtransactionmanagerguid ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn ReplaceFileA < 'a , > ( lpreplacedfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , lpreplacementfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , lpbackupfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , dwreplaceflags : REPLACE_FILE_FLAGS , lpexclude : * mut :: std :: ffi :: c_void , lpreserved : * mut :: std :: ffi :: c_void , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn ReplaceFileA ( lpreplacedfilename : super::super::Foundation:: PSTR , lpreplacementfilename : super::super::Foundation:: PSTR , lpbackupfilename : super::super::Foundation:: PSTR , dwreplaceflags : REPLACE_FILE_FLAGS , lpexclude : * mut :: std :: ffi :: c_void , lpreserved : * mut :: std :: ffi :: c_void ) -> super::super::Foundation:: BOOL ; } ReplaceFileA ( lpreplacedfilename . into_param ( ) . abi ( ) , lpreplacementfilename . into_param ( ) . abi ( ) , lpbackupfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwreplaceflags ) , :: std :: mem :: transmute ( lpexclude ) , :: std :: mem :: transmute ( lpreserved ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn ReplaceFileFromAppW < 'a , > ( lpreplacedfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , lpreplacementfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , lpbackupfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , dwreplaceflags : u32 , lpexclude : * mut :: std :: ffi :: c_void , lpreserved : * mut :: std :: ffi :: c_void , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="onecoreuap" ) ] extern "system" { fn ReplaceFileFromAppW ( lpreplacedfilename : super::super::Foundation:: PWSTR , lpreplacementfilename : super::super::Foundation:: PWSTR , lpbackupfilename : super::super::Foundation:: PWSTR , dwreplaceflags : u32 , lpexclude : * mut :: std :: ffi :: c_void , lpreserved : * mut :: std :: ffi :: c_void ) -> super::super::Foundation:: BOOL ; } ReplaceFileFromAppW ( lpreplacedfilename . into_param ( ) . abi ( ) , lpreplacementfilename . into_param ( ) . abi ( ) , lpbackupfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwreplaceflags ) , :: std :: mem :: transmute ( lpexclude ) , :: std :: mem :: transmute ( lpreserved ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn ReplaceFileW < 'a , > ( lpreplacedfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , lpreplacementfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , lpbackupfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , dwreplaceflags : REPLACE_FILE_FLAGS , lpexclude : * mut :: std :: ffi :: c_void , lpreserved : * mut :: std :: ffi :: c_void , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn ReplaceFileW ( lpreplacedfilename : super::super::Foundation:: PWSTR , lpreplacementfilename : super::super::Foundation:: PWSTR , lpbackupfilename : super::super::Foundation:: PWSTR , dwreplaceflags : REPLACE_FILE_FLAGS , lpexclude : * mut :: std :: ffi :: c_void , lpreserved : * mut :: std :: ffi :: c_void ) -> super::super::Foundation:: BOOL ; } ReplaceFileW ( lpreplacedfilename . into_param ( ) . abi ( ) , lpreplacementfilename . into_param ( ) . abi ( ) , lpbackupfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwreplaceflags ) , :: std :: mem :: transmute ( lpexclude ) , :: std :: mem :: transmute ( lpreserved ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn ReserveAndAppendLog < > ( pvmarshal : * mut :: std :: ffi :: c_void , rgwriteentries : * mut CLS_WRITE_ENTRY , cwriteentries : u32 , plsnundonext : * mut CLS_LSN , plsnprevious : * mut CLS_LSN , creserverecords : u32 , rgcbreservation : * mut i64 , fflags : CLFS_FLAG , plsn : * mut CLS_LSN , poverlapped : * mut super::super::System::SystemServices:: OVERLAPPED , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="clfsw32" ) ] extern "system" { fn ReserveAndAppendLog ( pvmarshal : * mut :: std :: ffi :: c_void , rgwriteentries : * mut CLS_WRITE_ENTRY , cwriteentries : u32 , plsnundonext : * mut CLS_LSN , plsnprevious : * mut CLS_LSN , creserverecords : u32 , rgcbreservation : * mut i64 , fflags : CLFS_FLAG , plsn : * mut CLS_LSN , poverlapped : * mut super::super::System::SystemServices:: OVERLAPPED ) -> super::super::Foundation:: BOOL ; } ReserveAndAppendLog ( :: std :: mem :: transmute ( pvmarshal ) , :: std :: mem :: transmute ( rgwriteentries ) , :: std :: mem :: transmute ( cwriteentries ) , :: std :: mem :: transmute ( plsnundonext ) , :: std :: mem :: transmute ( plsnprevious ) , :: std :: mem :: transmute ( creserverecords ) , :: std :: mem :: transmute ( rgcbreservation ) , :: std :: mem :: transmute ( fflags ) , :: std :: mem :: transmute ( plsn ) , :: std :: mem :: transmute ( poverlapped ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn ReserveAndAppendLogAligned < > ( pvmarshal : * mut :: std :: ffi :: c_void , rgwriteentries : * mut CLS_WRITE_ENTRY , cwriteentries : u32 , cbentryalignment : u32 , plsnundonext : * mut CLS_LSN , plsnprevious : * mut CLS_LSN , creserverecords : u32 , rgcbreservation : * mut i64 , fflags : CLFS_FLAG , plsn : * mut CLS_LSN , poverlapped : * mut super::super::System::SystemServices:: OVERLAPPED , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="clfsw32" ) ] extern "system" { fn ReserveAndAppendLogAligned ( pvmarshal : * mut :: std :: ffi :: c_void , rgwriteentries : * mut CLS_WRITE_ENTRY , cwriteentries : u32 , cbentryalignment : u32 , plsnundonext : * mut CLS_LSN , plsnprevious : * mut CLS_LSN , creserverecords : u32 , rgcbreservation : * mut i64 , fflags : CLFS_FLAG , plsn : * mut CLS_LSN , poverlapped : * mut super::super::System::SystemServices:: OVERLAPPED ) -> super::super::Foundation:: BOOL ; } ReserveAndAppendLogAligned ( :: std :: mem :: transmute ( pvmarshal ) , :: std :: mem :: transmute ( rgwriteentries ) , :: std :: mem :: transmute ( cwriteentries ) , :: std :: mem :: transmute ( cbentryalignment ) , :: std :: mem :: transmute ( plsnundonext ) , :: std :: mem :: transmute ( plsnprevious ) , :: std :: mem :: transmute ( creserverecords ) , :: std :: mem :: transmute ( rgcbreservation ) , :: std :: mem :: transmute ( fflags ) , :: std :: mem :: transmute ( plsn ) , :: std :: mem :: transmute ( poverlapped ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn RollbackComplete < 'a , > ( enlistmenthandle : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , tmvirtualclock : * mut i64 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="ktmw32" ) ] extern "system" { fn RollbackComplete ( enlistmenthandle : super::super::Foundation:: HANDLE , tmvirtualclock : * mut i64 ) -> super::super::Foundation:: BOOL ; } RollbackComplete ( enlistmenthandle . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( tmvirtualclock ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn RollbackEnlistment < 'a , > ( enlistmenthandle : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , tmvirtualclock : * mut i64 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="ktmw32" ) ] extern "system" { fn RollbackEnlistment ( enlistmenthandle : super::super::Foundation:: HANDLE , tmvirtualclock : * mut i64 ) -> super::super::Foundation:: BOOL ; } RollbackEnlistment ( enlistmenthandle . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( tmvirtualclock ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn RollbackTransaction < 'a , > ( transactionhandle : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="ktmw32" ) ] extern "system" { fn RollbackTransaction ( transactionhandle : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ; } RollbackTransaction ( transactionhandle . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn RollbackTransactionAsync < 'a , > ( transactionhandle : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="ktmw32" ) ] extern "system" { fn RollbackTransactionAsync ( transactionhandle : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ; } RollbackTransactionAsync ( transactionhandle . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn RollforwardTransactionManager < 'a , > ( transactionmanagerhandle : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , tmvirtualclock : * mut i64 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="ktmw32" ) ] extern "system" { fn RollforwardTransactionManager ( transactionmanagerhandle : super::super::Foundation:: HANDLE , tmvirtualclock : * mut i64 ) -> super::super::Foundation:: BOOL ; } RollforwardTransactionManager ( transactionmanagerhandle . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( tmvirtualclock ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SERVER_ALIAS_INFO_0 { pub srvai0_alias : super::super::Foundation:: PWSTR , pub srvai0_target : super::super::Foundation:: PWSTR , pub srvai0_default : u8 , pub srvai0_reserved : u32 } impl SERVER_ALIAS_INFO_0 { } impl :: std :: default :: Default for SERVER_ALIAS_INFO_0 { fn default ( ) -> Self { Self { srvai0_alias : :: std :: default :: Default :: default ( ) , srvai0_target : :: std :: default :: Default :: default ( ) , srvai0_default : 0 , srvai0_reserved : 0 } } } impl :: std :: fmt :: Debug for SERVER_ALIAS_INFO_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SERVER_ALIAS_INFO_0" ) . field ( "srvai0_alias" , & self . srvai0_alias ) . field ( "srvai0_target" , & self . srvai0_target ) . field ( "srvai0_default" , & self . srvai0_default ) . field ( "srvai0_reserved" , & self . srvai0_reserved ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SERVER_ALIAS_INFO_0 { fn eq ( & self , other : & Self ) -> bool { self . srvai0_alias == other . srvai0_alias && self . srvai0_target == other . srvai0_target && self . srvai0_default == other . srvai0_default && self . srvai0_reserved == other . srvai0_reserved } } impl :: std :: cmp :: Eq for SERVER_ALIAS_INFO_0 { } unsafe impl :: windows :: Abi for SERVER_ALIAS_INFO_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SERVER_CERTIFICATE_INFO_0 { pub srvci0_name : super::super::Foundation:: PWSTR , pub srvci0_subject : super::super::Foundation:: PWSTR , pub srvci0_issuer : super::super::Foundation:: PWSTR , pub srvci0_thumbprint : super::super::Foundation:: PWSTR , pub srvci0_friendlyname : super::super::Foundation:: PWSTR , pub srvci0_notbefore : super::super::Foundation:: PWSTR , pub srvci0_notafter : super::super::Foundation:: PWSTR , pub srvci0_storelocation : super::super::Foundation:: PWSTR , pub srvci0_storename : super::super::Foundation:: PWSTR , pub srvci0_type : u32 } impl SERVER_CERTIFICATE_INFO_0 { } impl :: std :: default :: Default for SERVER_CERTIFICATE_INFO_0 { fn default ( ) -> Self { Self { srvci0_name : :: std :: default :: Default :: default ( ) , srvci0_subject : :: std :: default :: Default :: default ( ) , srvci0_issuer : :: std :: default :: Default :: default ( ) , srvci0_thumbprint : :: std :: default :: Default :: default ( ) , srvci0_friendlyname : :: std :: default :: Default :: default ( ) , srvci0_notbefore : :: std :: default :: Default :: default ( ) , srvci0_notafter : :: std :: default :: Default :: default ( ) , srvci0_storelocation : :: std :: default :: Default :: default ( ) , srvci0_storename : :: std :: default :: Default :: default ( ) , srvci0_type : 0 } } } impl :: std :: fmt :: Debug for SERVER_CERTIFICATE_INFO_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SERVER_CERTIFICATE_INFO_0" ) . field ( "srvci0_name" , & self . srvci0_name ) . field ( "srvci0_subject" , & self . srvci0_subject ) . field ( "srvci0_issuer" , & self . srvci0_issuer ) . field ( "srvci0_thumbprint" , & self . srvci0_thumbprint ) . field ( "srvci0_friendlyname" , & self . srvci0_friendlyname ) . field ( "srvci0_notbefore" , & self . srvci0_notbefore ) . field ( "srvci0_notafter" , & self . srvci0_notafter ) . field ( "srvci0_storelocation" , & self . srvci0_storelocation ) . field ( "srvci0_storename" , & self . srvci0_storename ) . field ( "srvci0_type" , & self . srvci0_type ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SERVER_CERTIFICATE_INFO_0 { fn eq ( & self , other : & Self ) -> bool { self . srvci0_name == other . srvci0_name && self . srvci0_subject == other . srvci0_subject && self . srvci0_issuer == other . srvci0_issuer && self . srvci0_thumbprint == other . srvci0_thumbprint && self . srvci0_friendlyname == other . srvci0_friendlyname && self . srvci0_notbefore == other . srvci0_notbefore && self . srvci0_notafter == other . srvci0_notafter && self . srvci0_storelocation == other . srvci0_storelocation && self . srvci0_storename == other . srvci0_storename && self . srvci0_type == other . srvci0_type } } impl :: std :: cmp :: Eq for SERVER_CERTIFICATE_INFO_0 { } unsafe impl :: windows :: Abi for SERVER_CERTIFICATE_INFO_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct SERVER_CERTIFICATE_TYPE ( pub i32 ) ; pub const QUIC : SERVER_CERTIFICATE_TYPE = SERVER_CERTIFICATE_TYPE ( 0i32 ) ; impl :: std :: convert :: From < i32 > for SERVER_CERTIFICATE_TYPE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for SERVER_CERTIFICATE_TYPE { type Abi = Self ; type DefaultType = Self ; } pub const SESI1_NUM_ELEMENTS : u32 = 8u32 ; pub const SESI2_NUM_ELEMENTS : u32 = 9u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SESSION_INFO_0 { pub sesi0_cname : super::super::Foundation:: PWSTR } impl SESSION_INFO_0 { } impl :: std :: default :: Default for SESSION_INFO_0 { fn default ( ) -> Self { Self { sesi0_cname : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for SESSION_INFO_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SESSION_INFO_0" ) . field ( "sesi0_cname" , & self . sesi0_cname ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SESSION_INFO_0 { fn eq ( & self , other : & Self ) -> bool { self . sesi0_cname == other . sesi0_cname } } impl :: std :: cmp :: Eq for SESSION_INFO_0 { } unsafe impl :: windows :: Abi for SESSION_INFO_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SESSION_INFO_1 { pub sesi1_cname : super::super::Foundation:: PWSTR , pub sesi1_username : super::super::Foundation:: PWSTR , pub sesi1_num_opens : u32 , pub sesi1_time : u32 , pub sesi1_idle_time : u32 , pub sesi1_user_flags : SESSION_INFO_USER_FLAGS } impl SESSION_INFO_1 { } impl :: std :: default :: Default for SESSION_INFO_1 { fn default ( ) -> Self { Self { sesi1_cname : :: std :: default :: Default :: default ( ) , sesi1_username : :: std :: default :: Default :: default ( ) , sesi1_num_opens : 0 , sesi1_time : 0 , sesi1_idle_time : 0 , sesi1_user_flags : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for SESSION_INFO_1 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SESSION_INFO_1" ) . field ( "sesi1_cname" , & self . sesi1_cname ) . field ( "sesi1_username" , & self . sesi1_username ) . field ( "sesi1_num_opens" , & self . sesi1_num_opens ) . field ( "sesi1_time" , & self . sesi1_time ) . field ( "sesi1_idle_time" , & self . sesi1_idle_time ) . field ( "sesi1_user_flags" , & self . sesi1_user_flags ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SESSION_INFO_1 { fn eq ( & self , other : & Self ) -> bool { self . sesi1_cname == other . sesi1_cname && self . sesi1_username == other . sesi1_username && self . sesi1_num_opens == other . sesi1_num_opens && self . sesi1_time == other . sesi1_time && self . sesi1_idle_time == other . sesi1_idle_time && self . sesi1_user_flags == other . sesi1_user_flags } } impl :: std :: cmp :: Eq for SESSION_INFO_1 { } unsafe impl :: windows :: Abi for SESSION_INFO_1 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SESSION_INFO_10 { pub sesi10_cname : super::super::Foundation:: PWSTR , pub sesi10_username : super::super::Foundation:: PWSTR , pub sesi10_time : u32 , pub sesi10_idle_time : u32 } impl SESSION_INFO_10 { } impl :: std :: default :: Default for SESSION_INFO_10 { fn default ( ) -> Self { Self { sesi10_cname : :: std :: default :: Default :: default ( ) , sesi10_username : :: std :: default :: Default :: default ( ) , sesi10_time : 0 , sesi10_idle_time : 0 } } } impl :: std :: fmt :: Debug for SESSION_INFO_10 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SESSION_INFO_10" ) . field ( "sesi10_cname" , & self . sesi10_cname ) . field ( "sesi10_username" , & self . sesi10_username ) . field ( "sesi10_time" , & self . sesi10_time ) . field ( "sesi10_idle_time" , & self . sesi10_idle_time ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SESSION_INFO_10 { fn eq ( & self , other : & Self ) -> bool { self . sesi10_cname == other . sesi10_cname && self . sesi10_username == other . sesi10_username && self . sesi10_time == other . sesi10_time && self . sesi10_idle_time == other . sesi10_idle_time } } impl :: std :: cmp :: Eq for SESSION_INFO_10 { } unsafe impl :: windows :: Abi for SESSION_INFO_10 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SESSION_INFO_2 { pub sesi2_cname : super::super::Foundation:: PWSTR , pub sesi2_username : super::super::Foundation:: PWSTR , pub sesi2_num_opens : u32 , pub sesi2_time : u32 , pub sesi2_idle_time : u32 , pub sesi2_user_flags : SESSION_INFO_USER_FLAGS , pub sesi2_cltype_name : super::super::Foundation:: PWSTR } impl SESSION_INFO_2 { } impl :: std :: default :: Default for SESSION_INFO_2 { fn default ( ) -> Self { Self { sesi2_cname : :: std :: default :: Default :: default ( ) , sesi2_username : :: std :: default :: Default :: default ( ) , sesi2_num_opens : 0 , sesi2_time : 0 , sesi2_idle_time : 0 , sesi2_user_flags : :: std :: default :: Default :: default ( ) , sesi2_cltype_name : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for SESSION_INFO_2 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SESSION_INFO_2" ) . field ( "sesi2_cname" , & self . sesi2_cname ) . field ( "sesi2_username" , & self . sesi2_username ) . field ( "sesi2_num_opens" , & self . sesi2_num_opens ) . field ( "sesi2_time" , & self . sesi2_time ) . field ( "sesi2_idle_time" , & self . sesi2_idle_time ) . field ( "sesi2_user_flags" , & self . sesi2_user_flags ) . field ( "sesi2_cltype_name" , & self . sesi2_cltype_name ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SESSION_INFO_2 { fn eq ( & self , other : & Self ) -> bool { self . sesi2_cname == other . sesi2_cname && self . sesi2_username == other . sesi2_username && self . sesi2_num_opens == other . sesi2_num_opens && self . sesi2_time == other . sesi2_time && self . sesi2_idle_time == other . sesi2_idle_time && self . sesi2_user_flags == other . sesi2_user_flags && self . sesi2_cltype_name == other . sesi2_cltype_name } } impl :: std :: cmp :: Eq for SESSION_INFO_2 { } unsafe impl :: windows :: Abi for SESSION_INFO_2 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SESSION_INFO_502 { pub sesi502_cname : super::super::Foundation:: PWSTR , pub sesi502_username : super::super::Foundation:: PWSTR , pub sesi502_num_opens : u32 , pub sesi502_time : u32 , pub sesi502_idle_time : u32 , pub sesi502_user_flags : SESSION_INFO_USER_FLAGS , pub sesi502_cltype_name : super::super::Foundation:: PWSTR , pub sesi502_transport : super::super::Foundation:: PWSTR } impl SESSION_INFO_502 { } impl :: std :: default :: Default for SESSION_INFO_502 { fn default ( ) -> Self { Self { sesi502_cname : :: std :: default :: Default :: default ( ) , sesi502_username : :: std :: default :: Default :: default ( ) , sesi502_num_opens : 0 , sesi502_time : 0 , sesi502_idle_time : 0 , sesi502_user_flags : :: std :: default :: Default :: default ( ) , sesi502_cltype_name : :: std :: default :: Default :: default ( ) , sesi502_transport : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for SESSION_INFO_502 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SESSION_INFO_502" ) . field ( "sesi502_cname" , & self . sesi502_cname ) . field ( "sesi502_username" , & self . sesi502_username ) . field ( "sesi502_num_opens" , & self . sesi502_num_opens ) . field ( "sesi502_time" , & self . sesi502_time ) . field ( "sesi502_idle_time" , & self . sesi502_idle_time ) . field ( "sesi502_user_flags" , & self . sesi502_user_flags ) . field ( "sesi502_cltype_name" , & self . sesi502_cltype_name ) . field ( "sesi502_transport" , & self . sesi502_transport ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SESSION_INFO_502 { fn eq ( & self , other : & Self ) -> bool { self . sesi502_cname == other . sesi502_cname && self . sesi502_username == other . sesi502_username && self . sesi502_num_opens == other . sesi502_num_opens && self . sesi502_time == other . sesi502_time && self . sesi502_idle_time == other . sesi502_idle_time && self . sesi502_user_flags == other . sesi502_user_flags && self . sesi502_cltype_name == other . sesi502_cltype_name && self . sesi502_transport == other . sesi502_transport } } impl :: std :: cmp :: Eq for SESSION_INFO_502 { } unsafe impl :: windows :: Abi for SESSION_INFO_502 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct SESSION_INFO_USER_FLAGS ( pub u32 ) ; pub const SESS_GUEST : SESSION_INFO_USER_FLAGS = SESSION_INFO_USER_FLAGS ( 1u32 ) ; pub const SESS_NOENCRYPTION : SESSION_INFO_USER_FLAGS = SESSION_INFO_USER_FLAGS ( 2u32 ) ; impl :: std :: convert :: From < u32 > for SESSION_INFO_USER_FLAGS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for SESSION_INFO_USER_FLAGS { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for SESSION_INFO_USER_FLAGS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for SESSION_INFO_USER_FLAGS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for SESSION_INFO_USER_FLAGS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for SESSION_INFO_USER_FLAGS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SET_DISK_ATTRIBUTES { pub Version : u32 , pub Persist : u8 , pub Reserved1 : [ u8 ;3 ] , pub Attributes : u64 , pub AttributesMask : u64 , pub Reserved2 : [ u32 ;4 ] } impl SET_DISK_ATTRIBUTES { } impl :: std :: default :: Default for SET_DISK_ATTRIBUTES { fn default ( ) -> Self { Self { Version : 0 , Persist : 0 , Reserved1 : [ 0 ;3 ] , Attributes : 0 , AttributesMask : 0 , Reserved2 : [ 0 ;4 ] } } } impl :: std :: fmt :: Debug for SET_DISK_ATTRIBUTES { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SET_DISK_ATTRIBUTES" ) . field ( "Version" , & self . Version ) . field ( "Persist" , & self . Persist ) . field ( "Reserved1" , & self . Reserved1 ) . field ( "Attributes" , & self . Attributes ) . field ( "AttributesMask" , & self . AttributesMask ) . field ( "Reserved2" , & self . Reserved2 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SET_DISK_ATTRIBUTES { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Persist == other . Persist && self . Reserved1 == other . Reserved1 && self . Attributes == other . Attributes && self . AttributesMask == other . AttributesMask && self . Reserved2 == other . Reserved2 } } impl :: std :: cmp :: Eq for SET_DISK_ATTRIBUTES { } unsafe impl :: windows :: Abi for SET_DISK_ATTRIBUTES { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct SET_FILE_POINTER_MOVE_METHOD ( pub u32 ) ; pub const FILE_BEGIN : SET_FILE_POINTER_MOVE_METHOD = SET_FILE_POINTER_MOVE_METHOD ( 0u32 ) ; pub const FILE_CURRENT : SET_FILE_POINTER_MOVE_METHOD = SET_FILE_POINTER_MOVE_METHOD ( 1u32 ) ; pub const FILE_END : SET_FILE_POINTER_MOVE_METHOD = SET_FILE_POINTER_MOVE_METHOD ( 2u32 ) ; impl :: std :: convert :: From < u32 > for SET_FILE_POINTER_MOVE_METHOD { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for SET_FILE_POINTER_MOVE_METHOD { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for SET_FILE_POINTER_MOVE_METHOD { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for SET_FILE_POINTER_MOVE_METHOD { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for SET_FILE_POINTER_MOVE_METHOD { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for SET_FILE_POINTER_MOVE_METHOD { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SET_PARTITION_INFORMATION { pub PartitionType : u8 } impl SET_PARTITION_INFORMATION { } impl :: std :: default :: Default for SET_PARTITION_INFORMATION { fn default ( ) -> Self { Self { PartitionType : 0 } } } impl :: std :: fmt :: Debug for SET_PARTITION_INFORMATION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SET_PARTITION_INFORMATION" ) . field ( "PartitionType" , & self . PartitionType ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SET_PARTITION_INFORMATION { fn eq ( & self , other : & Self ) -> bool { self . PartitionType == other . PartitionType } } impl :: std :: cmp :: Eq for SET_PARTITION_INFORMATION { } unsafe impl :: windows :: Abi for SET_PARTITION_INFORMATION { type Abi = Self ; type DefaultType = Self ; } pub const SHARE_CURRENT_USES_PARMNUM : u32 = 7u32 ; pub const SHARE_FILE_SD_PARMNUM : u32 = 501u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SHARE_INFO_0 { pub shi0_netname : super::super::Foundation:: PWSTR } impl SHARE_INFO_0 { } impl :: std :: default :: Default for SHARE_INFO_0 { fn default ( ) -> Self { Self { shi0_netname : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for SHARE_INFO_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SHARE_INFO_0" ) . field ( "shi0_netname" , & self . shi0_netname ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SHARE_INFO_0 { fn eq ( & self , other : & Self ) -> bool { self . shi0_netname == other . shi0_netname } } impl :: std :: cmp :: Eq for SHARE_INFO_0 { } unsafe impl :: windows :: Abi for SHARE_INFO_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SHARE_INFO_1 { pub shi1_netname : super::super::Foundation:: PWSTR , pub shi1_type : SHARE_TYPE , pub shi1_remark : super::super::Foundation:: PWSTR } impl SHARE_INFO_1 { } impl :: std :: default :: Default for SHARE_INFO_1 { fn default ( ) -> Self { Self { shi1_netname : :: std :: default :: Default :: default ( ) , shi1_type : :: std :: default :: Default :: default ( ) , shi1_remark : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for SHARE_INFO_1 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SHARE_INFO_1" ) . field ( "shi1_netname" , & self . shi1_netname ) . field ( "shi1_type" , & self . shi1_type ) . field ( "shi1_remark" , & self . shi1_remark ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SHARE_INFO_1 { fn eq ( & self , other : & Self ) -> bool { self . shi1_netname == other . shi1_netname && self . shi1_type == other . shi1_type && self . shi1_remark == other . shi1_remark } } impl :: std :: cmp :: Eq for SHARE_INFO_1 { } unsafe impl :: windows :: Abi for SHARE_INFO_1 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SHARE_INFO_1004 { pub shi1004_remark : super::super::Foundation:: PWSTR } impl SHARE_INFO_1004 { } impl :: std :: default :: Default for SHARE_INFO_1004 { fn default ( ) -> Self { Self { shi1004_remark : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for SHARE_INFO_1004 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SHARE_INFO_1004" ) . field ( "shi1004_remark" , & self . shi1004_remark ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SHARE_INFO_1004 { fn eq ( & self , other : & Self ) -> bool { self . shi1004_remark == other . shi1004_remark } } impl :: std :: cmp :: Eq for SHARE_INFO_1004 { } unsafe impl :: windows :: Abi for SHARE_INFO_1004 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SHARE_INFO_1005 { pub shi1005_flags : u32 } impl SHARE_INFO_1005 { } impl :: std :: default :: Default for SHARE_INFO_1005 { fn default ( ) -> Self { Self { shi1005_flags : 0 } } } impl :: std :: fmt :: Debug for SHARE_INFO_1005 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SHARE_INFO_1005" ) . field ( "shi1005_flags" , & self . shi1005_flags ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SHARE_INFO_1005 { fn eq ( & self , other : & Self ) -> bool { self . shi1005_flags == other . shi1005_flags } } impl :: std :: cmp :: Eq for SHARE_INFO_1005 { } unsafe impl :: windows :: Abi for SHARE_INFO_1005 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SHARE_INFO_1006 { pub shi1006_max_uses : u32 } impl SHARE_INFO_1006 { } impl :: std :: default :: Default for SHARE_INFO_1006 { fn default ( ) -> Self { Self { shi1006_max_uses : 0 } } } impl :: std :: fmt :: Debug for SHARE_INFO_1006 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SHARE_INFO_1006" ) . field ( "shi1006_max_uses" , & self . shi1006_max_uses ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SHARE_INFO_1006 { fn eq ( & self , other : & Self ) -> bool { self . shi1006_max_uses == other . shi1006_max_uses } } impl :: std :: cmp :: Eq for SHARE_INFO_1006 { } unsafe impl :: windows :: Abi for SHARE_INFO_1006 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SHARE_INFO_1501 { pub shi1501_reserved : u32 , pub shi1501_security_descriptor : * mut super::super::Security:: SECURITY_DESCRIPTOR } impl SHARE_INFO_1501 { } impl :: std :: default :: Default for SHARE_INFO_1501 { fn default ( ) -> Self { Self { shi1501_reserved : 0 , shi1501_security_descriptor : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for SHARE_INFO_1501 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SHARE_INFO_1501" ) . field ( "shi1501_reserved" , & self . shi1501_reserved ) . field ( "shi1501_security_descriptor" , & self . shi1501_security_descriptor ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SHARE_INFO_1501 { fn eq ( & self , other : & Self ) -> bool { self . shi1501_reserved == other . shi1501_reserved && self . shi1501_security_descriptor == other . shi1501_security_descriptor } } impl :: std :: cmp :: Eq for SHARE_INFO_1501 { } unsafe impl :: windows :: Abi for SHARE_INFO_1501 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SHARE_INFO_1503 { pub shi1503_sharefilter : :: windows :: Guid } impl SHARE_INFO_1503 { } impl :: std :: default :: Default for SHARE_INFO_1503 { fn default ( ) -> Self { Self { shi1503_sharefilter : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for SHARE_INFO_1503 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SHARE_INFO_1503" ) . field ( "shi1503_sharefilter" , & self . shi1503_sharefilter ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SHARE_INFO_1503 { fn eq ( & self , other : & Self ) -> bool { self . shi1503_sharefilter == other . shi1503_sharefilter } } impl :: std :: cmp :: Eq for SHARE_INFO_1503 { } unsafe impl :: windows :: Abi for SHARE_INFO_1503 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SHARE_INFO_2 { pub shi2_netname : super::super::Foundation:: PWSTR , pub shi2_type : SHARE_TYPE , pub shi2_remark : super::super::Foundation:: PWSTR , pub shi2_permissions : SHARE_INFO_PERMISSIONS , pub shi2_max_uses : u32 , pub shi2_current_uses : u32 , pub shi2_path : super::super::Foundation:: PWSTR , pub shi2_passwd : super::super::Foundation:: PWSTR } impl SHARE_INFO_2 { } impl :: std :: default :: Default for SHARE_INFO_2 { fn default ( ) -> Self { Self { shi2_netname : :: std :: default :: Default :: default ( ) , shi2_type : :: std :: default :: Default :: default ( ) , shi2_remark : :: std :: default :: Default :: default ( ) , shi2_permissions : :: std :: default :: Default :: default ( ) , shi2_max_uses : 0 , shi2_current_uses : 0 , shi2_path : :: std :: default :: Default :: default ( ) , shi2_passwd : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for SHARE_INFO_2 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SHARE_INFO_2" ) . field ( "shi2_netname" , & self . shi2_netname ) . field ( "shi2_type" , & self . shi2_type ) . field ( "shi2_remark" , & self . shi2_remark ) . field ( "shi2_permissions" , & self . shi2_permissions ) . field ( "shi2_max_uses" , & self . shi2_max_uses ) . field ( "shi2_current_uses" , & self . shi2_current_uses ) . field ( "shi2_path" , & self . shi2_path ) . field ( "shi2_passwd" , & self . shi2_passwd ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SHARE_INFO_2 { fn eq ( & self , other : & Self ) -> bool { self . shi2_netname == other . shi2_netname && self . shi2_type == other . shi2_type && self . shi2_remark == other . shi2_remark && self . shi2_permissions == other . shi2_permissions && self . shi2_max_uses == other . shi2_max_uses && self . shi2_current_uses == other . shi2_current_uses && self . shi2_path == other . shi2_path && self . shi2_passwd == other . shi2_passwd } } impl :: std :: cmp :: Eq for SHARE_INFO_2 { } unsafe impl :: windows :: Abi for SHARE_INFO_2 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SHARE_INFO_501 { pub shi501_netname : super::super::Foundation:: PWSTR , pub shi501_type : SHARE_TYPE , pub shi501_remark : super::super::Foundation:: PWSTR , pub shi501_flags : u32 } impl SHARE_INFO_501 { } impl :: std :: default :: Default for SHARE_INFO_501 { fn default ( ) -> Self { Self { shi501_netname : :: std :: default :: Default :: default ( ) , shi501_type : :: std :: default :: Default :: default ( ) , shi501_remark : :: std :: default :: Default :: default ( ) , shi501_flags : 0 } } } impl :: std :: fmt :: Debug for SHARE_INFO_501 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SHARE_INFO_501" ) . field ( "shi501_netname" , & self . shi501_netname ) . field ( "shi501_type" , & self . shi501_type ) . field ( "shi501_remark" , & self . shi501_remark ) . field ( "shi501_flags" , & self . shi501_flags ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SHARE_INFO_501 { fn eq ( & self , other : & Self ) -> bool { self . shi501_netname == other . shi501_netname && self . shi501_type == other . shi501_type && self . shi501_remark == other . shi501_remark && self . shi501_flags == other . shi501_flags } } impl :: std :: cmp :: Eq for SHARE_INFO_501 { } unsafe impl :: windows :: Abi for SHARE_INFO_501 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SHARE_INFO_502 { pub shi502_netname : super::super::Foundation:: PWSTR , pub shi502_type : SHARE_TYPE , pub shi502_remark : super::super::Foundation:: PWSTR , pub shi502_permissions : SHARE_INFO_PERMISSIONS , pub shi502_max_uses : u32 , pub shi502_current_uses : u32 , pub shi502_path : super::super::Foundation:: PWSTR , pub shi502_passwd : super::super::Foundation:: PWSTR , pub shi502_reserved : u32 , pub shi502_security_descriptor : * mut super::super::Security:: SECURITY_DESCRIPTOR } impl SHARE_INFO_502 { } impl :: std :: default :: Default for SHARE_INFO_502 { fn default ( ) -> Self { Self { shi502_netname : :: std :: default :: Default :: default ( ) , shi502_type : :: std :: default :: Default :: default ( ) , shi502_remark : :: std :: default :: Default :: default ( ) , shi502_permissions : :: std :: default :: Default :: default ( ) , shi502_max_uses : 0 , shi502_current_uses : 0 , shi502_path : :: std :: default :: Default :: default ( ) , shi502_passwd : :: std :: default :: Default :: default ( ) , shi502_reserved : 0 , shi502_security_descriptor : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for SHARE_INFO_502 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SHARE_INFO_502" ) . field ( "shi502_netname" , & self . shi502_netname ) . field ( "shi502_type" , & self . shi502_type ) . field ( "shi502_remark" , & self . shi502_remark ) . field ( "shi502_permissions" , & self . shi502_permissions ) . field ( "shi502_max_uses" , & self . shi502_max_uses ) . field ( "shi502_current_uses" , & self . shi502_current_uses ) . field ( "shi502_path" , & self . shi502_path ) . field ( "shi502_passwd" , & self . shi502_passwd ) . field ( "shi502_reserved" , & self . shi502_reserved ) . field ( "shi502_security_descriptor" , & self . shi502_security_descriptor ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SHARE_INFO_502 { fn eq ( & self , other : & Self ) -> bool { self . shi502_netname == other . shi502_netname && self . shi502_type == other . shi502_type && self . shi502_remark == other . shi502_remark && self . shi502_permissions == other . shi502_permissions && self . shi502_max_uses == other . shi502_max_uses && self . shi502_current_uses == other . shi502_current_uses && self . shi502_path == other . shi502_path && self . shi502_passwd == other . shi502_passwd && self . shi502_reserved == other . shi502_reserved && self . shi502_security_descriptor == other . shi502_security_descriptor } } impl :: std :: cmp :: Eq for SHARE_INFO_502 { } unsafe impl :: windows :: Abi for SHARE_INFO_502 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SHARE_INFO_503 { pub shi503_netname : super::super::Foundation:: PWSTR , pub shi503_type : SHARE_TYPE , pub shi503_remark : super::super::Foundation:: PWSTR , pub shi503_permissions : SHARE_INFO_PERMISSIONS , pub shi503_max_uses : u32 , pub shi503_current_uses : u32 , pub shi503_path : super::super::Foundation:: PWSTR , pub shi503_passwd : super::super::Foundation:: PWSTR , pub shi503_servername : super::super::Foundation:: PWSTR , pub shi503_reserved : u32 , pub shi503_security_descriptor : * mut super::super::Security:: SECURITY_DESCRIPTOR } impl SHARE_INFO_503 { } impl :: std :: default :: Default for SHARE_INFO_503 { fn default ( ) -> Self { Self { shi503_netname : :: std :: default :: Default :: default ( ) , shi503_type : :: std :: default :: Default :: default ( ) , shi503_remark : :: std :: default :: Default :: default ( ) , shi503_permissions : :: std :: default :: Default :: default ( ) , shi503_max_uses : 0 , shi503_current_uses : 0 , shi503_path : :: std :: default :: Default :: default ( ) , shi503_passwd : :: std :: default :: Default :: default ( ) , shi503_servername : :: std :: default :: Default :: default ( ) , shi503_reserved : 0 , shi503_security_descriptor : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for SHARE_INFO_503 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SHARE_INFO_503" ) . field ( "shi503_netname" , & self . shi503_netname ) . field ( "shi503_type" , & self . shi503_type ) . field ( "shi503_remark" , & self . shi503_remark ) . field ( "shi503_permissions" , & self . shi503_permissions ) . field ( "shi503_max_uses" , & self . shi503_max_uses ) . field ( "shi503_current_uses" , & self . shi503_current_uses ) . field ( "shi503_path" , & self . shi503_path ) . field ( "shi503_passwd" , & self . shi503_passwd ) . field ( "shi503_servername" , & self . shi503_servername ) . field ( "shi503_reserved" , & self . shi503_reserved ) . field ( "shi503_security_descriptor" , & self . shi503_security_descriptor ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SHARE_INFO_503 { fn eq ( & self , other : & Self ) -> bool { self . shi503_netname == other . shi503_netname && self . shi503_type == other . shi503_type && self . shi503_remark == other . shi503_remark && self . shi503_permissions == other . shi503_permissions && self . shi503_max_uses == other . shi503_max_uses && self . shi503_current_uses == other . shi503_current_uses && self . shi503_path == other . shi503_path && self . shi503_passwd == other . shi503_passwd && self . shi503_servername == other . shi503_servername && self . shi503_reserved == other . shi503_reserved && self . shi503_security_descriptor == other . shi503_security_descriptor } } impl :: std :: cmp :: Eq for SHARE_INFO_503 { } unsafe impl :: windows :: Abi for SHARE_INFO_503 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct SHARE_INFO_PERMISSIONS ( pub u32 ) ; pub const ACCESS_READ : SHARE_INFO_PERMISSIONS = SHARE_INFO_PERMISSIONS ( 1u32 ) ; pub const ACCESS_WRITE : SHARE_INFO_PERMISSIONS = SHARE_INFO_PERMISSIONS ( 2u32 ) ; pub const ACCESS_CREATE : SHARE_INFO_PERMISSIONS = SHARE_INFO_PERMISSIONS ( 4u32 ) ; pub const ACCESS_EXEC : SHARE_INFO_PERMISSIONS = SHARE_INFO_PERMISSIONS ( 8u32 ) ; pub const ACCESS_DELETE : SHARE_INFO_PERMISSIONS = SHARE_INFO_PERMISSIONS ( 16u32 ) ; pub const ACCESS_ATRIB : SHARE_INFO_PERMISSIONS = SHARE_INFO_PERMISSIONS ( 32u32 ) ; pub const ACCESS_PERM : SHARE_INFO_PERMISSIONS = SHARE_INFO_PERMISSIONS ( 64u32 ) ; pub const ACCESS_ALL : SHARE_INFO_PERMISSIONS = SHARE_INFO_PERMISSIONS ( 32768u32 ) ; impl :: std :: convert :: From < u32 > for SHARE_INFO_PERMISSIONS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for SHARE_INFO_PERMISSIONS { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for SHARE_INFO_PERMISSIONS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for SHARE_INFO_PERMISSIONS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for SHARE_INFO_PERMISSIONS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for SHARE_INFO_PERMISSIONS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub const SHARE_MAX_USES_PARMNUM : u32 = 6u32 ; pub const SHARE_NETNAME_PARMNUM : u32 = 1u32 ; pub const SHARE_PASSWD_PARMNUM : u32 = 9u32 ; pub const SHARE_PATH_PARMNUM : u32 = 8u32 ; pub const SHARE_PERMISSIONS_PARMNUM : u32 = 5u32 ; pub const SHARE_REMARK_PARMNUM : u32 = 4u32 ; pub const SHARE_SERVER_PARMNUM : u32 = 503u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct SHARE_TYPE ( pub u32 ) ; pub const STYPE_DISKTREE : SHARE_TYPE = SHARE_TYPE ( 0u32 ) ; pub const STYPE_PRINTQ : SHARE_TYPE = SHARE_TYPE ( 1u32 ) ; pub const STYPE_DEVICE : SHARE_TYPE = SHARE_TYPE ( 2u32 ) ; pub const STYPE_IPC : SHARE_TYPE = SHARE_TYPE ( 3u32 ) ; pub const STYPE_SPECIAL : SHARE_TYPE = SHARE_TYPE ( 2147483648u32 ) ; pub const STYPE_TEMPORARY : SHARE_TYPE = SHARE_TYPE ( 1073741824u32 ) ; pub const STYPE_MASK : SHARE_TYPE = SHARE_TYPE ( 255u32 ) ; impl :: std :: convert :: From < u32 > for SHARE_TYPE { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for SHARE_TYPE { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for SHARE_TYPE { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for SHARE_TYPE { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for SHARE_TYPE { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for SHARE_TYPE { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub const SHARE_TYPE_PARMNUM : u32 = 3u32 ; pub const SHI1005_FLAGS_ACCESS_BASED_DIRECTORY_ENUM : u32 = 2048u32 ; pub const SHI1005_FLAGS_ALLOW_NAMESPACE_CACHING : u32 = 1024u32 ; pub const SHI1005_FLAGS_CLUSTER_MANAGED : u32 = 524288u32 ; pub const SHI1005_FLAGS_DFS : u32 = 1u32 ; pub const SHI1005_FLAGS_DFS_ROOT : u32 = 2u32 ; pub const SHI1005_FLAGS_DISABLE_CLIENT_BUFFERING : u32 = 131072u32 ; pub const SHI1005_FLAGS_ENABLE_CA : u32 = 16384u32 ; pub const SHI1005_FLAGS_ENABLE_HASH : u32 = 8192u32 ; pub const SHI1005_FLAGS_ENCRYPT_DATA : u32 = 32768u32 ; pub const SHI1005_FLAGS_FORCE_LEVELII_OPLOCK : u32 = 4096u32 ; pub const SHI1005_FLAGS_FORCE_SHARED_DELETE : u32 = 512u32 ; pub const SHI1005_FLAGS_IDENTITY_REMOTING : u32 = 262144u32 ; pub const SHI1005_FLAGS_RESERVED : u32 = 65536u32 ; pub const SHI1005_FLAGS_RESTRICT_EXCLUSIVE_OPENS : u32 = 256u32 ; pub const SHI1_NUM_ELEMENTS : u32 = 4u32 ; pub const SHI2_NUM_ELEMENTS : u32 = 10u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SHRINK_VOLUME_INFORMATION { pub ShrinkRequestType : super::super::System::SystemServices:: SHRINK_VOLUME_REQUEST_TYPES , pub Flags : u64 , pub NewNumberOfSectors : i64 } impl SHRINK_VOLUME_INFORMATION { } impl :: std :: default :: Default for SHRINK_VOLUME_INFORMATION { fn default ( ) -> Self { Self { ShrinkRequestType : :: std :: default :: Default :: default ( ) , Flags : 0 , NewNumberOfSectors : 0 } } } impl :: std :: fmt :: Debug for SHRINK_VOLUME_INFORMATION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SHRINK_VOLUME_INFORMATION" ) . field ( "ShrinkRequestType" , & self . ShrinkRequestType ) . field ( "Flags" , & self . Flags ) . field ( "NewNumberOfSectors" , & self . NewNumberOfSectors ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SHRINK_VOLUME_INFORMATION { fn eq ( & self , other : & Self ) -> bool { self . ShrinkRequestType == other . ShrinkRequestType && self . Flags == other . Flags && self . NewNumberOfSectors == other . NewNumberOfSectors } } impl :: std :: cmp :: Eq for SHRINK_VOLUME_INFORMATION { } unsafe impl :: windows :: Abi for SHRINK_VOLUME_INFORMATION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STARTING_LCN_INPUT_BUFFER { pub StartingLcn : i64 } impl STARTING_LCN_INPUT_BUFFER { } impl :: std :: default :: Default for STARTING_LCN_INPUT_BUFFER { fn default ( ) -> Self { Self { StartingLcn : 0 } } } impl :: std :: fmt :: Debug for STARTING_LCN_INPUT_BUFFER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "STARTING_LCN_INPUT_BUFFER" ) . field ( "StartingLcn" , & self . StartingLcn ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STARTING_LCN_INPUT_BUFFER { fn eq ( & self , other : & Self ) -> bool { self . StartingLcn == other . StartingLcn } } impl :: std :: cmp :: Eq for STARTING_LCN_INPUT_BUFFER { } unsafe impl :: windows :: Abi for STARTING_LCN_INPUT_BUFFER { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STARTING_VCN_INPUT_BUFFER { pub StartingVcn : i64 } impl STARTING_VCN_INPUT_BUFFER { } impl :: std :: default :: Default for STARTING_VCN_INPUT_BUFFER { fn default ( ) -> Self { Self { StartingVcn : 0 } } } impl :: std :: fmt :: Debug for STARTING_VCN_INPUT_BUFFER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "STARTING_VCN_INPUT_BUFFER" ) . field ( "StartingVcn" , & self . StartingVcn ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STARTING_VCN_INPUT_BUFFER { fn eq ( & self , other : & Self ) -> bool { self . StartingVcn == other . StartingVcn } } impl :: std :: cmp :: Eq for STARTING_VCN_INPUT_BUFFER { } unsafe impl :: windows :: Abi for STARTING_VCN_INPUT_BUFFER { type Abi = Self ; type DefaultType = Self ; } pub const STATSOPT_CLR : u32 = 1u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STAT_SERVER_0 { pub sts0_start : u32 , pub sts0_fopens : u32 , pub sts0_devopens : u32 , pub sts0_jobsqueued : u32 , pub sts0_sopens : u32 , pub sts0_stimedout : u32 , pub sts0_serrorout : u32 , pub sts0_pwerrors : u32 , pub sts0_permerrors : u32 , pub sts0_syserrors : u32 , pub sts0_bytessent_low : u32 , pub sts0_bytessent_high : u32 , pub sts0_bytesrcvd_low : u32 , pub sts0_bytesrcvd_high : u32 , pub sts0_avresponse : u32 , pub sts0_reqbufneed : u32 , pub sts0_bigbufneed : u32 } impl STAT_SERVER_0 { } impl :: std :: default :: Default for STAT_SERVER_0 { fn default ( ) -> Self { Self { sts0_start : 0 , sts0_fopens : 0 , sts0_devopens : 0 , sts0_jobsqueued : 0 , sts0_sopens : 0 , sts0_stimedout : 0 , sts0_serrorout : 0 , sts0_pwerrors : 0 , sts0_permerrors : 0 , sts0_syserrors : 0 , sts0_bytessent_low : 0 , sts0_bytessent_high : 0 , sts0_bytesrcvd_low : 0 , sts0_bytesrcvd_high : 0 , sts0_avresponse : 0 , sts0_reqbufneed : 0 , sts0_bigbufneed : 0 } } } impl :: std :: fmt :: Debug for STAT_SERVER_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "STAT_SERVER_0" ) . field ( "sts0_start" , & self . sts0_start ) . field ( "sts0_fopens" , & self . sts0_fopens ) . field ( "sts0_devopens" , & self . sts0_devopens ) . field ( "sts0_jobsqueued" , & self . sts0_jobsqueued ) . field ( "sts0_sopens" , & self . sts0_sopens ) . field ( "sts0_stimedout" , & self . sts0_stimedout ) . field ( "sts0_serrorout" , & self . sts0_serrorout ) . field ( "sts0_pwerrors" , & self . sts0_pwerrors ) . field ( "sts0_permerrors" , & self . sts0_permerrors ) . field ( "sts0_syserrors" , & self . sts0_syserrors ) . field ( "sts0_bytessent_low" , & self . sts0_bytessent_low ) . field ( "sts0_bytessent_high" , & self . sts0_bytessent_high ) . field ( "sts0_bytesrcvd_low" , & self . sts0_bytesrcvd_low ) . field ( "sts0_bytesrcvd_high" , & self . sts0_bytesrcvd_high ) . field ( "sts0_avresponse" , & self . sts0_avresponse ) . field ( "sts0_reqbufneed" , & self . sts0_reqbufneed ) . field ( "sts0_bigbufneed" , & self . sts0_bigbufneed ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STAT_SERVER_0 { fn eq ( & self , other : & Self ) -> bool { self . sts0_start == other . sts0_start && self . sts0_fopens == other . sts0_fopens && self . sts0_devopens == other . sts0_devopens && self . sts0_jobsqueued == other . sts0_jobsqueued && self . sts0_sopens == other . sts0_sopens && self . sts0_stimedout == other . sts0_stimedout && self . sts0_serrorout == other . sts0_serrorout && self . sts0_pwerrors == other . sts0_pwerrors && self . sts0_permerrors == other . sts0_permerrors && self . sts0_syserrors == other . sts0_syserrors && self . sts0_bytessent_low == other . sts0_bytessent_low && self . sts0_bytessent_high == other . sts0_bytessent_high && self . sts0_bytesrcvd_low == other . sts0_bytesrcvd_low && self . sts0_bytesrcvd_high == other . sts0_bytesrcvd_high && self . sts0_avresponse == other . sts0_avresponse && self . sts0_reqbufneed == other . sts0_reqbufneed && self . sts0_bigbufneed == other . sts0_bigbufneed } } impl :: std :: cmp :: Eq for STAT_SERVER_0 { } unsafe impl :: windows :: Abi for STAT_SERVER_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STAT_WORKSTATION_0 { pub StatisticsStartTime : i64 , pub BytesReceived : i64 , pub SmbsReceived : i64 , pub PagingReadBytesRequested : i64 , pub NonPagingReadBytesRequested : i64 , pub CacheReadBytesRequested : i64 , pub NetworkReadBytesRequested : i64 , pub BytesTransmitted : i64 , pub SmbsTransmitted : i64 , pub PagingWriteBytesRequested : i64 , pub NonPagingWriteBytesRequested : i64 , pub CacheWriteBytesRequested : i64 , pub NetworkWriteBytesRequested : i64 , pub InitiallyFailedOperations : u32 , pub FailedCompletionOperations : u32 , pub ReadOperations : u32 , pub RandomReadOperations : u32 , pub ReadSmbs : u32 , pub LargeReadSmbs : u32 , pub SmallReadSmbs : u32 , pub WriteOperations : u32 , pub RandomWriteOperations : u32 , pub WriteSmbs : u32 , pub LargeWriteSmbs : u32 , pub SmallWriteSmbs : u32 , pub RawReadsDenied : u32 , pub RawWritesDenied : u32 , pub NetworkErrors : u32 , pub Sessions : u32 , pub FailedSessions : u32 , pub Reconnects : u32 , pub CoreConnects : u32 , pub Lanman20Connects : u32 , pub Lanman21Connects : u32 , pub LanmanNtConnects : u32 , pub ServerDisconnects : u32 , pub HungSessions : u32 , pub UseCount : u32 , pub FailedUseCount : u32 , pub CurrentCommands : u32 } impl STAT_WORKSTATION_0 { } impl :: std :: default :: Default for STAT_WORKSTATION_0 { fn default ( ) -> Self { Self { StatisticsStartTime : 0 , BytesReceived : 0 , SmbsReceived : 0 , PagingReadBytesRequested : 0 , NonPagingReadBytesRequested : 0 , CacheReadBytesRequested : 0 , NetworkReadBytesRequested : 0 , BytesTransmitted : 0 , SmbsTransmitted : 0 , PagingWriteBytesRequested : 0 , NonPagingWriteBytesRequested : 0 , CacheWriteBytesRequested : 0 , NetworkWriteBytesRequested : 0 , InitiallyFailedOperations : 0 , FailedCompletionOperations : 0 , ReadOperations : 0 , RandomReadOperations : 0 , ReadSmbs : 0 , LargeReadSmbs : 0 , SmallReadSmbs : 0 , WriteOperations : 0 , RandomWriteOperations : 0 , WriteSmbs : 0 , LargeWriteSmbs : 0 , SmallWriteSmbs : 0 , RawReadsDenied : 0 , RawWritesDenied : 0 , NetworkErrors : 0 , Sessions : 0 , FailedSessions : 0 , Reconnects : 0 , CoreConnects : 0 , Lanman20Connects : 0 , Lanman21Connects : 0 , LanmanNtConnects : 0 , ServerDisconnects : 0 , HungSessions : 0 , UseCount : 0 , FailedUseCount : 0 , CurrentCommands : 0 } } } impl :: std :: fmt :: Debug for STAT_WORKSTATION_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "STAT_WORKSTATION_0" ) . field ( "StatisticsStartTime" , & self . StatisticsStartTime ) . field ( "BytesReceived" , & self . BytesReceived ) . field ( "SmbsReceived" , & self . SmbsReceived ) . field ( "PagingReadBytesRequested" , & self . PagingReadBytesRequested ) . field ( "NonPagingReadBytesRequested" , & self . NonPagingReadBytesRequested ) . field ( "CacheReadBytesRequested" , & self . CacheReadBytesRequested ) . field ( "NetworkReadBytesRequested" , & self . NetworkReadBytesRequested ) . field ( "BytesTransmitted" , & self . BytesTransmitted ) . field ( "SmbsTransmitted" , & self . SmbsTransmitted ) . field ( "PagingWriteBytesRequested" , & self . PagingWriteBytesRequested ) . field ( "NonPagingWriteBytesRequested" , & self . NonPagingWriteBytesRequested ) . field ( "CacheWriteBytesRequested" , & self . CacheWriteBytesRequested ) . field ( "NetworkWriteBytesRequested" , & self . NetworkWriteBytesRequested ) . field ( "InitiallyFailedOperations" , & self . InitiallyFailedOperations ) . field ( "FailedCompletionOperations" , & self . FailedCompletionOperations ) . field ( "ReadOperations" , & self . ReadOperations ) . field ( "RandomReadOperations" , & self . RandomReadOperations ) . field ( "ReadSmbs" , & self . ReadSmbs ) . field ( "LargeReadSmbs" , & self . LargeReadSmbs ) . field ( "SmallReadSmbs" , & self . SmallReadSmbs ) . field ( "WriteOperations" , & self . WriteOperations ) . field ( "RandomWriteOperations" , & self . RandomWriteOperations ) . field ( "WriteSmbs" , & self . WriteSmbs ) . field ( "LargeWriteSmbs" , & self . LargeWriteSmbs ) . field ( "SmallWriteSmbs" , & self . SmallWriteSmbs ) . field ( "RawReadsDenied" , & self . RawReadsDenied ) . field ( "RawWritesDenied" , & self . RawWritesDenied ) . field ( "NetworkErrors" , & self . NetworkErrors ) . field ( "Sessions" , & self . Sessions ) . field ( "FailedSessions" , & self . FailedSessions ) . field ( "Reconnects" , & self . Reconnects ) . field ( "CoreConnects" , & self . CoreConnects ) . field ( "Lanman20Connects" , & self . Lanman20Connects ) . field ( "Lanman21Connects" , & self . Lanman21Connects ) . field ( "LanmanNtConnects" , & self . LanmanNtConnects ) . field ( "ServerDisconnects" , & self . ServerDisconnects ) . field ( "HungSessions" , & self . HungSessions ) . field ( "UseCount" , & self . UseCount ) . field ( "FailedUseCount" , & self . FailedUseCount ) . field ( "CurrentCommands" , & self . CurrentCommands ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STAT_WORKSTATION_0 { fn eq ( & self , other : & Self ) -> bool { self . StatisticsStartTime == other . StatisticsStartTime && self . BytesReceived == other . BytesReceived && self . SmbsReceived == other . SmbsReceived && self . PagingReadBytesRequested == other . PagingReadBytesRequested && self . NonPagingReadBytesRequested == other . NonPagingReadBytesRequested && self . CacheReadBytesRequested == other . CacheReadBytesRequested && self . NetworkReadBytesRequested == other . NetworkReadBytesRequested && self . BytesTransmitted == other . BytesTransmitted && self . SmbsTransmitted == other . SmbsTransmitted && self . PagingWriteBytesRequested == other . PagingWriteBytesRequested && self . NonPagingWriteBytesRequested == other . NonPagingWriteBytesRequested && self . CacheWriteBytesRequested == other . CacheWriteBytesRequested && self . NetworkWriteBytesRequested == other . NetworkWriteBytesRequested && self . InitiallyFailedOperations == other . InitiallyFailedOperations && self . FailedCompletionOperations == other . FailedCompletionOperations && self . ReadOperations == other . ReadOperations && self . RandomReadOperations == other . RandomReadOperations && self . ReadSmbs == other . ReadSmbs && self . LargeReadSmbs == other . LargeReadSmbs && self . SmallReadSmbs == other . SmallReadSmbs && self . WriteOperations == other . WriteOperations && self . RandomWriteOperations == other . RandomWriteOperations && self . WriteSmbs == other . WriteSmbs && self . LargeWriteSmbs == other . LargeWriteSmbs && self . SmallWriteSmbs == other . SmallWriteSmbs && self . RawReadsDenied == other . RawReadsDenied && self . RawWritesDenied == other . RawWritesDenied && self . NetworkErrors == other . NetworkErrors && self . Sessions == other . Sessions && self . FailedSessions == other . FailedSessions && self . Reconnects == other . Reconnects && self . CoreConnects == other . CoreConnects && self . Lanman20Connects == other . Lanman20Connects && self . Lanman21Connects == other . Lanman21Connects && self . LanmanNtConnects == other . LanmanNtConnects && self . ServerDisconnects == other . ServerDisconnects && self . HungSessions == other . HungSessions && self . UseCount == other . UseCount && self . FailedUseCount == other . FailedUseCount && self . CurrentCommands == other . CurrentCommands } } impl :: std :: cmp :: Eq for STAT_WORKSTATION_0 { } unsafe impl :: windows :: Abi for STAT_WORKSTATION_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STORAGE_ACCESS_ALIGNMENT_DESCRIPTOR { pub Version : u32 , pub Size : u32 , pub BytesPerCacheLine : u32 , pub BytesOffsetForCacheAlignment : u32 , pub BytesPerLogicalSector : u32 , pub BytesPerPhysicalSector : u32 , pub BytesOffsetForSectorAlignment : u32 } impl STORAGE_ACCESS_ALIGNMENT_DESCRIPTOR { } impl :: std :: default :: Default for STORAGE_ACCESS_ALIGNMENT_DESCRIPTOR { fn default ( ) -> Self { Self { Version : 0 , Size : 0 , BytesPerCacheLine : 0 , BytesOffsetForCacheAlignment : 0 , BytesPerLogicalSector : 0 , BytesPerPhysicalSector : 0 , BytesOffsetForSectorAlignment : 0 } } } impl :: std :: fmt :: Debug for STORAGE_ACCESS_ALIGNMENT_DESCRIPTOR { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "STORAGE_ACCESS_ALIGNMENT_DESCRIPTOR" ) . field ( "Version" , & self . Version ) . field ( "Size" , & self . Size ) . field ( "BytesPerCacheLine" , & self . BytesPerCacheLine ) . field ( "BytesOffsetForCacheAlignment" , & self . BytesOffsetForCacheAlignment ) . field ( "BytesPerLogicalSector" , & self . BytesPerLogicalSector ) . field ( "BytesPerPhysicalSector" , & self . BytesPerPhysicalSector ) . field ( "BytesOffsetForSectorAlignment" , & self . BytesOffsetForSectorAlignment ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STORAGE_ACCESS_ALIGNMENT_DESCRIPTOR { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Size == other . Size && self . BytesPerCacheLine == other . BytesPerCacheLine && self . BytesOffsetForCacheAlignment == other . BytesOffsetForCacheAlignment && self . BytesPerLogicalSector == other . BytesPerLogicalSector && self . BytesPerPhysicalSector == other . BytesPerPhysicalSector && self . BytesOffsetForSectorAlignment == other . BytesOffsetForSectorAlignment } } impl :: std :: cmp :: Eq for STORAGE_ACCESS_ALIGNMENT_DESCRIPTOR { } unsafe impl :: windows :: Abi for STORAGE_ACCESS_ALIGNMENT_DESCRIPTOR { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STORAGE_ADAPTER_DESCRIPTOR { pub Version : u32 , pub Size : u32 , pub MaximumTransferLength : u32 , pub MaximumPhysicalPages : u32 , pub AlignmentMask : u32 , pub AdapterUsesPio : u8 , pub AdapterScansDown : u8 , pub CommandQueueing : u8 , pub AcceleratedTransfer : u8 , pub BusType : u8 , pub BusMajorVersion : u16 , pub BusMinorVersion : u16 , pub SrbType : u8 , pub AddressType : u8 } impl STORAGE_ADAPTER_DESCRIPTOR { } impl :: std :: default :: Default for STORAGE_ADAPTER_DESCRIPTOR { fn default ( ) -> Self { Self { Version : 0 , Size : 0 , MaximumTransferLength : 0 , MaximumPhysicalPages : 0 , AlignmentMask : 0 , AdapterUsesPio : 0 , AdapterScansDown : 0 , CommandQueueing : 0 , AcceleratedTransfer : 0 , BusType : 0 , BusMajorVersion : 0 , BusMinorVersion : 0 , SrbType : 0 , AddressType : 0 } } } impl :: std :: fmt :: Debug for STORAGE_ADAPTER_DESCRIPTOR { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "STORAGE_ADAPTER_DESCRIPTOR" ) . field ( "Version" , & self . Version ) . field ( "Size" , & self . Size ) . field ( "MaximumTransferLength" , & self . MaximumTransferLength ) . field ( "MaximumPhysicalPages" , & self . MaximumPhysicalPages ) . field ( "AlignmentMask" , & self . AlignmentMask ) . field ( "AdapterUsesPio" , & self . AdapterUsesPio ) . field ( "AdapterScansDown" , & self . AdapterScansDown ) . field ( "CommandQueueing" , & self . CommandQueueing ) . field ( "AcceleratedTransfer" , & self . AcceleratedTransfer ) . field ( "BusType" , & self . BusType ) . field ( "BusMajorVersion" , & self . BusMajorVersion ) . field ( "BusMinorVersion" , & self . BusMinorVersion ) . field ( "SrbType" , & self . SrbType ) . field ( "AddressType" , & self . AddressType ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STORAGE_ADAPTER_DESCRIPTOR { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Size == other . Size && self . MaximumTransferLength == other . MaximumTransferLength && self . MaximumPhysicalPages == other . MaximumPhysicalPages && self . AlignmentMask == other . AlignmentMask && self . AdapterUsesPio == other . AdapterUsesPio && self . AdapterScansDown == other . AdapterScansDown && self . CommandQueueing == other . CommandQueueing && self . AcceleratedTransfer == other . AcceleratedTransfer && self . BusType == other . BusType && self . BusMajorVersion == other . BusMajorVersion && self . BusMinorVersion == other . BusMinorVersion && self . SrbType == other . SrbType && self . AddressType == other . AddressType } } impl :: std :: cmp :: Eq for STORAGE_ADAPTER_DESCRIPTOR { } unsafe impl :: windows :: Abi for STORAGE_ADAPTER_DESCRIPTOR { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STORAGE_ADAPTER_SERIAL_NUMBER { pub Version : u32 , pub Size : u32 , pub SerialNumber : [ u16 ;128 ] } impl STORAGE_ADAPTER_SERIAL_NUMBER { } impl :: std :: default :: Default for STORAGE_ADAPTER_SERIAL_NUMBER { fn default ( ) -> Self { Self { Version : 0 , Size : 0 , SerialNumber : [ 0 ;128 ] } } } impl :: std :: fmt :: Debug for STORAGE_ADAPTER_SERIAL_NUMBER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "STORAGE_ADAPTER_SERIAL_NUMBER" ) . field ( "Version" , & self . Version ) . field ( "Size" , & self . Size ) . field ( "SerialNumber" , & self . SerialNumber ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STORAGE_ADAPTER_SERIAL_NUMBER { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Size == other . Size && self . SerialNumber == other . SerialNumber } } impl :: std :: cmp :: Eq for STORAGE_ADAPTER_SERIAL_NUMBER { } unsafe impl :: windows :: Abi for STORAGE_ADAPTER_SERIAL_NUMBER { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct STORAGE_COMPONENT_HEALTH_STATUS ( pub i32 ) ; pub const HealthStatusUnknown : STORAGE_COMPONENT_HEALTH_STATUS = STORAGE_COMPONENT_HEALTH_STATUS ( 0i32 ) ; pub const HealthStatusNormal : STORAGE_COMPONENT_HEALTH_STATUS = STORAGE_COMPONENT_HEALTH_STATUS ( 1i32 ) ; pub const HealthStatusThrottled : STORAGE_COMPONENT_HEALTH_STATUS = STORAGE_COMPONENT_HEALTH_STATUS ( 2i32 ) ; pub const HealthStatusWarning : STORAGE_COMPONENT_HEALTH_STATUS = STORAGE_COMPONENT_HEALTH_STATUS ( 3i32 ) ; pub const HealthStatusDisabled : STORAGE_COMPONENT_HEALTH_STATUS = STORAGE_COMPONENT_HEALTH_STATUS ( 4i32 ) ; pub const HealthStatusFailed : STORAGE_COMPONENT_HEALTH_STATUS = STORAGE_COMPONENT_HEALTH_STATUS ( 5i32 ) ; impl :: std :: convert :: From < i32 > for STORAGE_COMPONENT_HEALTH_STATUS { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for STORAGE_COMPONENT_HEALTH_STATUS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STORAGE_DESCRIPTOR_HEADER { pub Version : u32 , pub Size : u32 } impl STORAGE_DESCRIPTOR_HEADER { } impl :: std :: default :: Default for STORAGE_DESCRIPTOR_HEADER { fn default ( ) -> Self { Self { Version : 0 , Size : 0 } } } impl :: std :: fmt :: Debug for STORAGE_DESCRIPTOR_HEADER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "STORAGE_DESCRIPTOR_HEADER" ) . field ( "Version" , & self . Version ) . field ( "Size" , & self . Size ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STORAGE_DESCRIPTOR_HEADER { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Size == other . Size } } impl :: std :: cmp :: Eq for STORAGE_DESCRIPTOR_HEADER { } unsafe impl :: windows :: Abi for STORAGE_DESCRIPTOR_HEADER { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STORAGE_DEVICE_ATTRIBUTES_DESCRIPTOR { pub Version : u32 , pub Size : u32 , pub Attributes : u64 } impl STORAGE_DEVICE_ATTRIBUTES_DESCRIPTOR { } impl :: std :: default :: Default for STORAGE_DEVICE_ATTRIBUTES_DESCRIPTOR { fn default ( ) -> Self { Self { Version : 0 , Size : 0 , Attributes : 0 } } } impl :: std :: fmt :: Debug for STORAGE_DEVICE_ATTRIBUTES_DESCRIPTOR { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "STORAGE_DEVICE_ATTRIBUTES_DESCRIPTOR" ) . field ( "Version" , & self . Version ) . field ( "Size" , & self . Size ) . field ( "Attributes" , & self . Attributes ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STORAGE_DEVICE_ATTRIBUTES_DESCRIPTOR { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Size == other . Size && self . Attributes == other . Attributes } } impl :: std :: cmp :: Eq for STORAGE_DEVICE_ATTRIBUTES_DESCRIPTOR { } unsafe impl :: windows :: Abi for STORAGE_DEVICE_ATTRIBUTES_DESCRIPTOR { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STORAGE_DEVICE_DESCRIPTOR { pub Version : u32 , pub Size : u32 , pub DeviceType : u8 , pub DeviceTypeModifier : u8 , pub RemovableMedia : u8 , pub CommandQueueing : u8 , pub VendorIdOffset : u32 , pub ProductIdOffset : u32 , pub ProductRevisionOffset : u32 , pub SerialNumberOffset : u32 , pub BusType : super::super::System::SystemServices:: STORAGE_BUS_TYPE , pub RawPropertiesLength : u32 , pub RawDeviceProperties : [ u8 ;1 ] } impl STORAGE_DEVICE_DESCRIPTOR { } impl :: std :: default :: Default for STORAGE_DEVICE_DESCRIPTOR { fn default ( ) -> Self { Self { Version : 0 , Size : 0 , DeviceType : 0 , DeviceTypeModifier : 0 , RemovableMedia : 0 , CommandQueueing : 0 , VendorIdOffset : 0 , ProductIdOffset : 0 , ProductRevisionOffset : 0 , SerialNumberOffset : 0 , BusType : :: std :: default :: Default :: default ( ) , RawPropertiesLength : 0 , RawDeviceProperties : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for STORAGE_DEVICE_DESCRIPTOR { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "STORAGE_DEVICE_DESCRIPTOR" ) . field ( "Version" , & self . Version ) . field ( "Size" , & self . Size ) . field ( "DeviceType" , & self . DeviceType ) . field ( "DeviceTypeModifier" , & self . DeviceTypeModifier ) . field ( "RemovableMedia" , & self . RemovableMedia ) . field ( "CommandQueueing" , & self . CommandQueueing ) . field ( "VendorIdOffset" , & self . VendorIdOffset ) . field ( "ProductIdOffset" , & self . ProductIdOffset ) . field ( "ProductRevisionOffset" , & self . ProductRevisionOffset ) . field ( "SerialNumberOffset" , & self . SerialNumberOffset ) . field ( "BusType" , & self . BusType ) . field ( "RawPropertiesLength" , & self . RawPropertiesLength ) . field ( "RawDeviceProperties" , & self . RawDeviceProperties ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STORAGE_DEVICE_DESCRIPTOR { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Size == other . Size && self . DeviceType == other . DeviceType && self . DeviceTypeModifier == other . DeviceTypeModifier && self . RemovableMedia == other . RemovableMedia && self . CommandQueueing == other . CommandQueueing && self . VendorIdOffset == other . VendorIdOffset && self . ProductIdOffset == other . ProductIdOffset && self . ProductRevisionOffset == other . ProductRevisionOffset && self . SerialNumberOffset == other . SerialNumberOffset && self . BusType == other . BusType && self . RawPropertiesLength == other . RawPropertiesLength && self . RawDeviceProperties == other . RawDeviceProperties } } impl :: std :: cmp :: Eq for STORAGE_DEVICE_DESCRIPTOR { } unsafe impl :: windows :: Abi for STORAGE_DEVICE_DESCRIPTOR { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct STORAGE_DEVICE_FORM_FACTOR ( pub i32 ) ; pub const FormFactorUnknown : STORAGE_DEVICE_FORM_FACTOR = STORAGE_DEVICE_FORM_FACTOR ( 0i32 ) ; pub const FormFactor3_5 : STORAGE_DEVICE_FORM_FACTOR = STORAGE_DEVICE_FORM_FACTOR ( 1i32 ) ; pub const FormFactor2_5 : STORAGE_DEVICE_FORM_FACTOR = STORAGE_DEVICE_FORM_FACTOR ( 2i32 ) ; pub const FormFactor1_8 : STORAGE_DEVICE_FORM_FACTOR = STORAGE_DEVICE_FORM_FACTOR ( 3i32 ) ; pub const FormFactor1_8Less : STORAGE_DEVICE_FORM_FACTOR = STORAGE_DEVICE_FORM_FACTOR ( 4i32 ) ; pub const FormFactorEmbedded : STORAGE_DEVICE_FORM_FACTOR = STORAGE_DEVICE_FORM_FACTOR ( 5i32 ) ; pub const FormFactorMemoryCard : STORAGE_DEVICE_FORM_FACTOR = STORAGE_DEVICE_FORM_FACTOR ( 6i32 ) ; pub const FormFactormSata : STORAGE_DEVICE_FORM_FACTOR = STORAGE_DEVICE_FORM_FACTOR ( 7i32 ) ; pub const FormFactorM_2 : STORAGE_DEVICE_FORM_FACTOR = STORAGE_DEVICE_FORM_FACTOR ( 8i32 ) ; pub const FormFactorPCIeBoard : STORAGE_DEVICE_FORM_FACTOR = STORAGE_DEVICE_FORM_FACTOR ( 9i32 ) ; pub const FormFactorDimm : STORAGE_DEVICE_FORM_FACTOR = STORAGE_DEVICE_FORM_FACTOR ( 10i32 ) ; impl :: std :: convert :: From < i32 > for STORAGE_DEVICE_FORM_FACTOR { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for STORAGE_DEVICE_FORM_FACTOR { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STORAGE_DEVICE_ID_DESCRIPTOR { pub Version : u32 , pub Size : u32 , pub NumberOfIdentifiers : u32 , pub Identifiers : [ u8 ;1 ] } impl STORAGE_DEVICE_ID_DESCRIPTOR { } impl :: std :: default :: Default for STORAGE_DEVICE_ID_DESCRIPTOR { fn default ( ) -> Self { Self { Version : 0 , Size : 0 , NumberOfIdentifiers : 0 , Identifiers : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for STORAGE_DEVICE_ID_DESCRIPTOR { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "STORAGE_DEVICE_ID_DESCRIPTOR" ) . field ( "Version" , & self . Version ) . field ( "Size" , & self . Size ) . field ( "NumberOfIdentifiers" , & self . NumberOfIdentifiers ) . field ( "Identifiers" , & self . Identifiers ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STORAGE_DEVICE_ID_DESCRIPTOR { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Size == other . Size && self . NumberOfIdentifiers == other . NumberOfIdentifiers && self . Identifiers == other . Identifiers } } impl :: std :: cmp :: Eq for STORAGE_DEVICE_ID_DESCRIPTOR { } unsafe impl :: windows :: Abi for STORAGE_DEVICE_ID_DESCRIPTOR { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STORAGE_DEVICE_IO_CAPABILITY_DESCRIPTOR { pub Version : u32 , pub Size : u32 , pub LunMaxIoCount : u32 , pub AdapterMaxIoCount : u32 } impl STORAGE_DEVICE_IO_CAPABILITY_DESCRIPTOR { } impl :: std :: default :: Default for STORAGE_DEVICE_IO_CAPABILITY_DESCRIPTOR { fn default ( ) -> Self { Self { Version : 0 , Size : 0 , LunMaxIoCount : 0 , AdapterMaxIoCount : 0 } } } impl :: std :: fmt :: Debug for STORAGE_DEVICE_IO_CAPABILITY_DESCRIPTOR { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "STORAGE_DEVICE_IO_CAPABILITY_DESCRIPTOR" ) . field ( "Version" , & self . Version ) . field ( "Size" , & self . Size ) . field ( "LunMaxIoCount" , & self . LunMaxIoCount ) . field ( "AdapterMaxIoCount" , & self . AdapterMaxIoCount ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STORAGE_DEVICE_IO_CAPABILITY_DESCRIPTOR { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Size == other . Size && self . LunMaxIoCount == other . LunMaxIoCount && self . AdapterMaxIoCount == other . AdapterMaxIoCount } } impl :: std :: cmp :: Eq for STORAGE_DEVICE_IO_CAPABILITY_DESCRIPTOR { } unsafe impl :: windows :: Abi for STORAGE_DEVICE_IO_CAPABILITY_DESCRIPTOR { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STORAGE_DEVICE_POWER_CAP { pub Version : u32 , pub Size : u32 , pub Units : STORAGE_DEVICE_POWER_CAP_UNITS , pub MaxPower : u64 } impl STORAGE_DEVICE_POWER_CAP { } impl :: std :: default :: Default for STORAGE_DEVICE_POWER_CAP { fn default ( ) -> Self { Self { Version : 0 , Size : 0 , Units : :: std :: default :: Default :: default ( ) , MaxPower : 0 } } } impl :: std :: fmt :: Debug for STORAGE_DEVICE_POWER_CAP { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "STORAGE_DEVICE_POWER_CAP" ) . field ( "Version" , & self . Version ) . field ( "Size" , & self . Size ) . field ( "Units" , & self . Units ) . field ( "MaxPower" , & self . MaxPower ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STORAGE_DEVICE_POWER_CAP { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Size == other . Size && self . Units == other . Units && self . MaxPower == other . MaxPower } } impl :: std :: cmp :: Eq for STORAGE_DEVICE_POWER_CAP { } unsafe impl :: windows :: Abi for STORAGE_DEVICE_POWER_CAP { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct STORAGE_DEVICE_POWER_CAP_UNITS ( pub i32 ) ; pub const StorageDevicePowerCapUnitsPercent : STORAGE_DEVICE_POWER_CAP_UNITS = STORAGE_DEVICE_POWER_CAP_UNITS ( 0i32 ) ; pub const StorageDevicePowerCapUnitsMilliwatts : STORAGE_DEVICE_POWER_CAP_UNITS = STORAGE_DEVICE_POWER_CAP_UNITS ( 1i32 ) ; impl :: std :: convert :: From < i32 > for STORAGE_DEVICE_POWER_CAP_UNITS { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for STORAGE_DEVICE_POWER_CAP_UNITS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STORAGE_DEVICE_RESILIENCY_DESCRIPTOR { pub Version : u32 , pub Size : u32 , pub NameOffset : u32 , pub NumberOfLogicalCopies : u32 , pub NumberOfPhysicalCopies : u32 , pub PhysicalDiskRedundancy : u32 , pub NumberOfColumns : u32 , pub Interleave : u32 } impl STORAGE_DEVICE_RESILIENCY_DESCRIPTOR { } impl :: std :: default :: Default for STORAGE_DEVICE_RESILIENCY_DESCRIPTOR { fn default ( ) -> Self { Self { Version : 0 , Size : 0 , NameOffset : 0 , NumberOfLogicalCopies : 0 , NumberOfPhysicalCopies : 0 , PhysicalDiskRedundancy : 0 , NumberOfColumns : 0 , Interleave : 0 } } } impl :: std :: fmt :: Debug for STORAGE_DEVICE_RESILIENCY_DESCRIPTOR { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "STORAGE_DEVICE_RESILIENCY_DESCRIPTOR" ) . field ( "Version" , & self . Version ) . field ( "Size" , & self . Size ) . field ( "NameOffset" , & self . NameOffset ) . field ( "NumberOfLogicalCopies" , & self . NumberOfLogicalCopies ) . field ( "NumberOfPhysicalCopies" , & self . NumberOfPhysicalCopies ) . field ( "PhysicalDiskRedundancy" , & self . PhysicalDiskRedundancy ) . field ( "NumberOfColumns" , & self . NumberOfColumns ) . field ( "Interleave" , & self . Interleave ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STORAGE_DEVICE_RESILIENCY_DESCRIPTOR { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Size == other . Size && self . NameOffset == other . NameOffset && self . NumberOfLogicalCopies == other . NumberOfLogicalCopies && self . NumberOfPhysicalCopies == other . NumberOfPhysicalCopies && self . PhysicalDiskRedundancy == other . PhysicalDiskRedundancy && self . NumberOfColumns == other . NumberOfColumns && self . Interleave == other . Interleave } } impl :: std :: cmp :: Eq for STORAGE_DEVICE_RESILIENCY_DESCRIPTOR { } unsafe impl :: windows :: Abi for STORAGE_DEVICE_RESILIENCY_DESCRIPTOR { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STORAGE_HW_FIRMWARE_ACTIVATE { pub Version : u32 , pub Size : u32 , pub Flags : u32 , pub Slot : u8 , pub Reserved0 : [ u8 ;3 ] } impl STORAGE_HW_FIRMWARE_ACTIVATE { } impl :: std :: default :: Default for STORAGE_HW_FIRMWARE_ACTIVATE { fn default ( ) -> Self { Self { Version : 0 , Size : 0 , Flags : 0 , Slot : 0 , Reserved0 : [ 0 ;3 ] } } } impl :: std :: fmt :: Debug for STORAGE_HW_FIRMWARE_ACTIVATE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "STORAGE_HW_FIRMWARE_ACTIVATE" ) . field ( "Version" , & self . Version ) . field ( "Size" , & self . Size ) . field ( "Flags" , & self . Flags ) . field ( "Slot" , & self . Slot ) . field ( "Reserved0" , & self . Reserved0 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STORAGE_HW_FIRMWARE_ACTIVATE { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Size == other . Size && self . Flags == other . Flags && self . Slot == other . Slot && self . Reserved0 == other . Reserved0 } } impl :: std :: cmp :: Eq for STORAGE_HW_FIRMWARE_ACTIVATE { } unsafe impl :: windows :: Abi for STORAGE_HW_FIRMWARE_ACTIVATE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STORAGE_HW_FIRMWARE_DOWNLOAD { pub Version : u32 , pub Size : u32 , pub Flags : u32 , pub Slot : u8 , pub Reserved : [ u8 ;3 ] , pub Offset : u64 , pub BufferSize : u64 , pub ImageBuffer : [ u8 ;1 ] } impl STORAGE_HW_FIRMWARE_DOWNLOAD { } impl :: std :: default :: Default for STORAGE_HW_FIRMWARE_DOWNLOAD { fn default ( ) -> Self { Self { Version : 0 , Size : 0 , Flags : 0 , Slot : 0 , Reserved : [ 0 ;3 ] , Offset : 0 , BufferSize : 0 , ImageBuffer : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for STORAGE_HW_FIRMWARE_DOWNLOAD { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "STORAGE_HW_FIRMWARE_DOWNLOAD" ) . field ( "Version" , & self . Version ) . field ( "Size" , & self . Size ) . field ( "Flags" , & self . Flags ) . field ( "Slot" , & self . Slot ) . field ( "Reserved" , & self . Reserved ) . field ( "Offset" , & self . Offset ) . field ( "BufferSize" , & self . BufferSize ) . field ( "ImageBuffer" , & self . ImageBuffer ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STORAGE_HW_FIRMWARE_DOWNLOAD { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Size == other . Size && self . Flags == other . Flags && self . Slot == other . Slot && self . Reserved == other . Reserved && self . Offset == other . Offset && self . BufferSize == other . BufferSize && self . ImageBuffer == other . ImageBuffer } } impl :: std :: cmp :: Eq for STORAGE_HW_FIRMWARE_DOWNLOAD { } unsafe impl :: windows :: Abi for STORAGE_HW_FIRMWARE_DOWNLOAD { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STORAGE_MEDIUM_PRODUCT_TYPE_DESCRIPTOR { pub Version : u32 , pub Size : u32 , pub MediumProductType : u32 } impl STORAGE_MEDIUM_PRODUCT_TYPE_DESCRIPTOR { } impl :: std :: default :: Default for STORAGE_MEDIUM_PRODUCT_TYPE_DESCRIPTOR { fn default ( ) -> Self { Self { Version : 0 , Size : 0 , MediumProductType : 0 } } } impl :: std :: fmt :: Debug for STORAGE_MEDIUM_PRODUCT_TYPE_DESCRIPTOR { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "STORAGE_MEDIUM_PRODUCT_TYPE_DESCRIPTOR" ) . field ( "Version" , & self . Version ) . field ( "Size" , & self . Size ) . field ( "MediumProductType" , & self . MediumProductType ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STORAGE_MEDIUM_PRODUCT_TYPE_DESCRIPTOR { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Size == other . Size && self . MediumProductType == other . MediumProductType } } impl :: std :: cmp :: Eq for STORAGE_MEDIUM_PRODUCT_TYPE_DESCRIPTOR { } unsafe impl :: windows :: Abi for STORAGE_MEDIUM_PRODUCT_TYPE_DESCRIPTOR { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STORAGE_MINIPORT_DESCRIPTOR { pub Version : u32 , pub Size : u32 , pub Portdriver : STORAGE_PORT_CODE_SET , pub LUNResetSupported : u8 , pub TargetResetSupported : u8 , pub IoTimeoutValue : u16 , pub ExtraIoInfoSupported : u8 , pub Reserved0 : [ u8 ;3 ] , pub Reserved1 : u32 } impl STORAGE_MINIPORT_DESCRIPTOR { } impl :: std :: default :: Default for STORAGE_MINIPORT_DESCRIPTOR { fn default ( ) -> Self { Self { Version : 0 , Size : 0 , Portdriver : :: std :: default :: Default :: default ( ) , LUNResetSupported : 0 , TargetResetSupported : 0 , IoTimeoutValue : 0 , ExtraIoInfoSupported : 0 , Reserved0 : [ 0 ;3 ] , Reserved1 : 0 } } } impl :: std :: fmt :: Debug for STORAGE_MINIPORT_DESCRIPTOR { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "STORAGE_MINIPORT_DESCRIPTOR" ) . field ( "Version" , & self . Version ) . field ( "Size" , & self . Size ) . field ( "Portdriver" , & self . Portdriver ) . field ( "LUNResetSupported" , & self . LUNResetSupported ) . field ( "TargetResetSupported" , & self . TargetResetSupported ) . field ( "IoTimeoutValue" , & self . IoTimeoutValue ) . field ( "ExtraIoInfoSupported" , & self . ExtraIoInfoSupported ) . field ( "Reserved0" , & self . Reserved0 ) . field ( "Reserved1" , & self . Reserved1 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STORAGE_MINIPORT_DESCRIPTOR { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Size == other . Size && self . Portdriver == other . Portdriver && self . LUNResetSupported == other . LUNResetSupported && self . TargetResetSupported == other . TargetResetSupported && self . IoTimeoutValue == other . IoTimeoutValue && self . ExtraIoInfoSupported == other . ExtraIoInfoSupported && self . Reserved0 == other . Reserved0 && self . Reserved1 == other . Reserved1 } } impl :: std :: cmp :: Eq for STORAGE_MINIPORT_DESCRIPTOR { } unsafe impl :: windows :: Abi for STORAGE_MINIPORT_DESCRIPTOR { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STORAGE_PHYSICAL_ADAPTER_DATA { pub AdapterId : u32 , pub HealthStatus : STORAGE_COMPONENT_HEALTH_STATUS , pub CommandProtocol : STORAGE_PROTOCOL_TYPE , pub SpecVersion : STORAGE_SPEC_VERSION , pub Vendor : [ u8 ;8 ] , pub Model : [ u8 ;40 ] , pub FirmwareRevision : [ u8 ;16 ] , pub PhysicalLocation : [ u8 ;32 ] , pub ExpanderConnected : u8 , pub Reserved0 : [ u8 ;3 ] , pub Reserved1 : [ u32 ;3 ] } impl STORAGE_PHYSICAL_ADAPTER_DATA { } impl :: std :: cmp :: PartialEq for STORAGE_PHYSICAL_ADAPTER_DATA { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for STORAGE_PHYSICAL_ADAPTER_DATA { } unsafe impl :: windows :: Abi for STORAGE_PHYSICAL_ADAPTER_DATA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STORAGE_PHYSICAL_DEVICE_DATA { pub DeviceId : u32 , pub Role : u32 , pub HealthStatus : STORAGE_COMPONENT_HEALTH_STATUS , pub CommandProtocol : STORAGE_PROTOCOL_TYPE , pub SpecVersion : STORAGE_SPEC_VERSION , pub FormFactor : STORAGE_DEVICE_FORM_FACTOR , pub Vendor : [ u8 ;8 ] , pub Model : [ u8 ;40 ] , pub FirmwareRevision : [ u8 ;16 ] , pub Capacity : u64 , pub PhysicalLocation : [ u8 ;32 ] , pub Reserved : [ u32 ;2 ] } impl STORAGE_PHYSICAL_DEVICE_DATA { } impl :: std :: cmp :: PartialEq for STORAGE_PHYSICAL_DEVICE_DATA { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for STORAGE_PHYSICAL_DEVICE_DATA { } unsafe impl :: windows :: Abi for STORAGE_PHYSICAL_DEVICE_DATA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STORAGE_PHYSICAL_NODE_DATA { pub NodeId : u32 , pub AdapterCount : u32 , pub AdapterDataLength : u32 , pub AdapterDataOffset : u32 , pub DeviceCount : u32 , pub DeviceDataLength : u32 , pub DeviceDataOffset : u32 , pub Reserved : [ u32 ;3 ] } impl STORAGE_PHYSICAL_NODE_DATA { } impl :: std :: default :: Default for STORAGE_PHYSICAL_NODE_DATA { fn default ( ) -> Self { Self { NodeId : 0 , AdapterCount : 0 , AdapterDataLength : 0 , AdapterDataOffset : 0 , DeviceCount : 0 , DeviceDataLength : 0 , DeviceDataOffset : 0 , Reserved : [ 0 ;3 ] } } } impl :: std :: fmt :: Debug for STORAGE_PHYSICAL_NODE_DATA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "STORAGE_PHYSICAL_NODE_DATA" ) . field ( "NodeId" , & self . NodeId ) . field ( "AdapterCount" , & self . AdapterCount ) . field ( "AdapterDataLength" , & self . AdapterDataLength ) . field ( "AdapterDataOffset" , & self . AdapterDataOffset ) . field ( "DeviceCount" , & self . DeviceCount ) . field ( "DeviceDataLength" , & self . DeviceDataLength ) . field ( "DeviceDataOffset" , & self . DeviceDataOffset ) . field ( "Reserved" , & self . Reserved ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STORAGE_PHYSICAL_NODE_DATA { fn eq ( & self , other : & Self ) -> bool { self . NodeId == other . NodeId && self . AdapterCount == other . AdapterCount && self . AdapterDataLength == other . AdapterDataLength && self . AdapterDataOffset == other . AdapterDataOffset && self . DeviceCount == other . DeviceCount && self . DeviceDataLength == other . DeviceDataLength && self . DeviceDataOffset == other . DeviceDataOffset && self . Reserved == other . Reserved } } impl :: std :: cmp :: Eq for STORAGE_PHYSICAL_NODE_DATA { } unsafe impl :: windows :: Abi for STORAGE_PHYSICAL_NODE_DATA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STORAGE_PHYSICAL_TOPOLOGY_DESCRIPTOR { pub Version : u32 , pub Size : u32 , pub NodeCount : u32 , pub Reserved : u32 , pub Node : [ STORAGE_PHYSICAL_NODE_DATA ;1 ] } impl STORAGE_PHYSICAL_TOPOLOGY_DESCRIPTOR { } impl :: std :: default :: Default for STORAGE_PHYSICAL_TOPOLOGY_DESCRIPTOR { fn default ( ) -> Self { Self { Version : 0 , Size : 0 , NodeCount : 0 , Reserved : 0 , Node : [ :: std :: default :: Default :: default ( ) ;1 ] } } } impl :: std :: fmt :: Debug for STORAGE_PHYSICAL_TOPOLOGY_DESCRIPTOR { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "STORAGE_PHYSICAL_TOPOLOGY_DESCRIPTOR" ) . field ( "Version" , & self . Version ) . field ( "Size" , & self . Size ) . field ( "NodeCount" , & self . NodeCount ) . field ( "Reserved" , & self . Reserved ) . field ( "Node" , & self . Node ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STORAGE_PHYSICAL_TOPOLOGY_DESCRIPTOR { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Size == other . Size && self . NodeCount == other . NodeCount && self . Reserved == other . Reserved && self . Node == other . Node } } impl :: std :: cmp :: Eq for STORAGE_PHYSICAL_TOPOLOGY_DESCRIPTOR { } unsafe impl :: windows :: Abi for STORAGE_PHYSICAL_TOPOLOGY_DESCRIPTOR { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct STORAGE_PORT_CODE_SET ( pub i32 ) ; pub const StoragePortCodeSetReserved : STORAGE_PORT_CODE_SET = STORAGE_PORT_CODE_SET ( 0i32 ) ; pub const StoragePortCodeSetStorport : STORAGE_PORT_CODE_SET = STORAGE_PORT_CODE_SET ( 1i32 ) ; pub const StoragePortCodeSetSCSIport : STORAGE_PORT_CODE_SET = STORAGE_PORT_CODE_SET ( 2i32 ) ; pub const StoragePortCodeSetSpaceport : STORAGE_PORT_CODE_SET = STORAGE_PORT_CODE_SET ( 3i32 ) ; pub const StoragePortCodeSetATAport : STORAGE_PORT_CODE_SET = STORAGE_PORT_CODE_SET ( 4i32 ) ; pub const StoragePortCodeSetUSBport : STORAGE_PORT_CODE_SET = STORAGE_PORT_CODE_SET ( 5i32 ) ; pub const StoragePortCodeSetSBP2port : STORAGE_PORT_CODE_SET = STORAGE_PORT_CODE_SET ( 6i32 ) ; pub const StoragePortCodeSetSDport : STORAGE_PORT_CODE_SET = STORAGE_PORT_CODE_SET ( 7i32 ) ; impl :: std :: convert :: From < i32 > for STORAGE_PORT_CODE_SET { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for STORAGE_PORT_CODE_SET { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct STORAGE_PROPERTY_ID ( pub i32 ) ; pub const StorageDeviceProperty : STORAGE_PROPERTY_ID = STORAGE_PROPERTY_ID ( 0i32 ) ; pub const StorageAdapterProperty : STORAGE_PROPERTY_ID = STORAGE_PROPERTY_ID ( 1i32 ) ; pub const StorageDeviceIdProperty : STORAGE_PROPERTY_ID = STORAGE_PROPERTY_ID ( 2i32 ) ; pub const StorageDeviceUniqueIdProperty : STORAGE_PROPERTY_ID = STORAGE_PROPERTY_ID ( 3i32 ) ; pub const StorageDeviceWriteCacheProperty : STORAGE_PROPERTY_ID = STORAGE_PROPERTY_ID ( 4i32 ) ; pub const StorageMiniportProperty : STORAGE_PROPERTY_ID = STORAGE_PROPERTY_ID ( 5i32 ) ; pub const StorageAccessAlignmentProperty : STORAGE_PROPERTY_ID = STORAGE_PROPERTY_ID ( 6i32 ) ; pub const StorageDeviceSeekPenaltyProperty : STORAGE_PROPERTY_ID = STORAGE_PROPERTY_ID ( 7i32 ) ; pub const StorageDeviceTrimProperty : STORAGE_PROPERTY_ID = STORAGE_PROPERTY_ID ( 8i32 ) ; pub const StorageDeviceWriteAggregationProperty : STORAGE_PROPERTY_ID = STORAGE_PROPERTY_ID ( 9i32 ) ; pub const StorageDeviceDeviceTelemetryProperty : STORAGE_PROPERTY_ID = STORAGE_PROPERTY_ID ( 10i32 ) ; pub const StorageDeviceLBProvisioningProperty : STORAGE_PROPERTY_ID = STORAGE_PROPERTY_ID ( 11i32 ) ; pub const StorageDevicePowerProperty : STORAGE_PROPERTY_ID = STORAGE_PROPERTY_ID ( 12i32 ) ; pub const StorageDeviceCopyOffloadProperty : STORAGE_PROPERTY_ID = STORAGE_PROPERTY_ID ( 13i32 ) ; pub const StorageDeviceResiliencyProperty : STORAGE_PROPERTY_ID = STORAGE_PROPERTY_ID ( 14i32 ) ; pub const StorageDeviceMediumProductType : STORAGE_PROPERTY_ID = STORAGE_PROPERTY_ID ( 15i32 ) ; pub const StorageAdapterRpmbProperty : STORAGE_PROPERTY_ID = STORAGE_PROPERTY_ID ( 16i32 ) ; pub const StorageAdapterCryptoProperty : STORAGE_PROPERTY_ID = STORAGE_PROPERTY_ID ( 17i32 ) ; pub const StorageDeviceIoCapabilityProperty : STORAGE_PROPERTY_ID = STORAGE_PROPERTY_ID ( 48i32 ) ; pub const StorageAdapterProtocolSpecificProperty : STORAGE_PROPERTY_ID = STORAGE_PROPERTY_ID ( 49i32 ) ; pub const StorageDeviceProtocolSpecificProperty : STORAGE_PROPERTY_ID = STORAGE_PROPERTY_ID ( 50i32 ) ; pub const StorageAdapterTemperatureProperty : STORAGE_PROPERTY_ID = STORAGE_PROPERTY_ID ( 51i32 ) ; pub const StorageDeviceTemperatureProperty : STORAGE_PROPERTY_ID = STORAGE_PROPERTY_ID ( 52i32 ) ; pub const StorageAdapterPhysicalTopologyProperty : STORAGE_PROPERTY_ID = STORAGE_PROPERTY_ID ( 53i32 ) ; pub const StorageDevicePhysicalTopologyProperty : STORAGE_PROPERTY_ID = STORAGE_PROPERTY_ID ( 54i32 ) ; pub const StorageDeviceAttributesProperty : STORAGE_PROPERTY_ID = STORAGE_PROPERTY_ID ( 55i32 ) ; pub const StorageDeviceManagementStatus : STORAGE_PROPERTY_ID = STORAGE_PROPERTY_ID ( 56i32 ) ; pub const StorageAdapterSerialNumberProperty : STORAGE_PROPERTY_ID = STORAGE_PROPERTY_ID ( 57i32 ) ; pub const StorageDeviceLocationProperty : STORAGE_PROPERTY_ID = STORAGE_PROPERTY_ID ( 58i32 ) ; pub const StorageDeviceNumaProperty : STORAGE_PROPERTY_ID = STORAGE_PROPERTY_ID ( 59i32 ) ; pub const StorageDeviceZonedDeviceProperty : STORAGE_PROPERTY_ID = STORAGE_PROPERTY_ID ( 60i32 ) ; pub const StorageDeviceUnsafeShutdownCount : STORAGE_PROPERTY_ID = STORAGE_PROPERTY_ID ( 61i32 ) ; pub const StorageDeviceEnduranceProperty : STORAGE_PROPERTY_ID = STORAGE_PROPERTY_ID ( 62i32 ) ; impl :: std :: convert :: From < i32 > for STORAGE_PROPERTY_ID { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for STORAGE_PROPERTY_ID { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STORAGE_PROPERTY_QUERY { pub PropertyId : STORAGE_PROPERTY_ID , pub QueryType : STORAGE_QUERY_TYPE , pub AdditionalParameters : [ u8 ;1 ] } impl STORAGE_PROPERTY_QUERY { } impl :: std :: default :: Default for STORAGE_PROPERTY_QUERY { fn default ( ) -> Self { Self { PropertyId : :: std :: default :: Default :: default ( ) , QueryType : :: std :: default :: Default :: default ( ) , AdditionalParameters : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for STORAGE_PROPERTY_QUERY { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "STORAGE_PROPERTY_QUERY" ) . field ( "PropertyId" , & self . PropertyId ) . field ( "QueryType" , & self . QueryType ) . field ( "AdditionalParameters" , & self . AdditionalParameters ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STORAGE_PROPERTY_QUERY { fn eq ( & self , other : & Self ) -> bool { self . PropertyId == other . PropertyId && self . QueryType == other . QueryType && self . AdditionalParameters == other . AdditionalParameters } } impl :: std :: cmp :: Eq for STORAGE_PROPERTY_QUERY { } unsafe impl :: windows :: Abi for STORAGE_PROPERTY_QUERY { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct STORAGE_PROTOCOL_ATA_DATA_TYPE ( pub i32 ) ; pub const AtaDataTypeUnknown : STORAGE_PROTOCOL_ATA_DATA_TYPE = STORAGE_PROTOCOL_ATA_DATA_TYPE ( 0i32 ) ; pub const AtaDataTypeIdentify : STORAGE_PROTOCOL_ATA_DATA_TYPE = STORAGE_PROTOCOL_ATA_DATA_TYPE ( 1i32 ) ; pub const AtaDataTypeLogPage : STORAGE_PROTOCOL_ATA_DATA_TYPE = STORAGE_PROTOCOL_ATA_DATA_TYPE ( 2i32 ) ; impl :: std :: convert :: From < i32 > for STORAGE_PROTOCOL_ATA_DATA_TYPE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for STORAGE_PROTOCOL_ATA_DATA_TYPE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STORAGE_PROTOCOL_COMMAND { pub Version : u32 , pub Length : u32 , pub ProtocolType : STORAGE_PROTOCOL_TYPE , pub Flags : u32 , pub ReturnStatus : u32 , pub ErrorCode : u32 , pub CommandLength : u32 , pub ErrorInfoLength : u32 , pub DataToDeviceTransferLength : u32 , pub DataFromDeviceTransferLength : u32 , pub TimeOutValue : u32 , pub ErrorInfoOffset : u32 , pub DataToDeviceBufferOffset : u32 , pub DataFromDeviceBufferOffset : u32 , pub CommandSpecific : u32 , pub Reserved0 : u32 , pub FixedProtocolReturnData : u32 , pub Reserved1 : [ u32 ;3 ] , pub Command : [ u8 ;1 ] } impl STORAGE_PROTOCOL_COMMAND { } impl :: std :: default :: Default for STORAGE_PROTOCOL_COMMAND { fn default ( ) -> Self { Self { Version : 0 , Length : 0 , ProtocolType : :: std :: default :: Default :: default ( ) , Flags : 0 , ReturnStatus : 0 , ErrorCode : 0 , CommandLength : 0 , ErrorInfoLength : 0 , DataToDeviceTransferLength : 0 , DataFromDeviceTransferLength : 0 , TimeOutValue : 0 , ErrorInfoOffset : 0 , DataToDeviceBufferOffset : 0 , DataFromDeviceBufferOffset : 0 , CommandSpecific : 0 , Reserved0 : 0 , FixedProtocolReturnData : 0 , Reserved1 : [ 0 ;3 ] , Command : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for STORAGE_PROTOCOL_COMMAND { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "STORAGE_PROTOCOL_COMMAND" ) . field ( "Version" , & self . Version ) . field ( "Length" , & self . Length ) . field ( "ProtocolType" , & self . ProtocolType ) . field ( "Flags" , & self . Flags ) . field ( "ReturnStatus" , & self . ReturnStatus ) . field ( "ErrorCode" , & self . ErrorCode ) . field ( "CommandLength" , & self . CommandLength ) . field ( "ErrorInfoLength" , & self . ErrorInfoLength ) . field ( "DataToDeviceTransferLength" , & self . DataToDeviceTransferLength ) . field ( "DataFromDeviceTransferLength" , & self . DataFromDeviceTransferLength ) . field ( "TimeOutValue" , & self . TimeOutValue ) . field ( "ErrorInfoOffset" , & self . ErrorInfoOffset ) . field ( "DataToDeviceBufferOffset" , & self . DataToDeviceBufferOffset ) . field ( "DataFromDeviceBufferOffset" , & self . DataFromDeviceBufferOffset ) . field ( "CommandSpecific" , & self . CommandSpecific ) . field ( "Reserved0" , & self . Reserved0 ) . field ( "FixedProtocolReturnData" , & self . FixedProtocolReturnData ) . field ( "Reserved1" , & self . Reserved1 ) . field ( "Command" , & self . Command ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STORAGE_PROTOCOL_COMMAND { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Length == other . Length && self . ProtocolType == other . ProtocolType && self . Flags == other . Flags && self . ReturnStatus == other . ReturnStatus && self . ErrorCode == other . ErrorCode && self . CommandLength == other . CommandLength && self . ErrorInfoLength == other . ErrorInfoLength && self . DataToDeviceTransferLength == other . DataToDeviceTransferLength && self . DataFromDeviceTransferLength == other . DataFromDeviceTransferLength && self . TimeOutValue == other . TimeOutValue && self . ErrorInfoOffset == other . ErrorInfoOffset && self . DataToDeviceBufferOffset == other . DataToDeviceBufferOffset && self . DataFromDeviceBufferOffset == other . DataFromDeviceBufferOffset && self . CommandSpecific == other . CommandSpecific && self . Reserved0 == other . Reserved0 && self . FixedProtocolReturnData == other . FixedProtocolReturnData && self . Reserved1 == other . Reserved1 && self . Command == other . Command } } impl :: std :: cmp :: Eq for STORAGE_PROTOCOL_COMMAND { } unsafe impl :: windows :: Abi for STORAGE_PROTOCOL_COMMAND { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STORAGE_PROTOCOL_DATA_DESCRIPTOR { pub Version : u32 , pub Size : u32 , pub ProtocolSpecificData : STORAGE_PROTOCOL_SPECIFIC_DATA } impl STORAGE_PROTOCOL_DATA_DESCRIPTOR { } impl :: std :: default :: Default for STORAGE_PROTOCOL_DATA_DESCRIPTOR { fn default ( ) -> Self { Self { Version : 0 , Size : 0 , ProtocolSpecificData : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for STORAGE_PROTOCOL_DATA_DESCRIPTOR { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "STORAGE_PROTOCOL_DATA_DESCRIPTOR" ) . field ( "Version" , & self . Version ) . field ( "Size" , & self . Size ) . field ( "ProtocolSpecificData" , & self . ProtocolSpecificData ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STORAGE_PROTOCOL_DATA_DESCRIPTOR { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Size == other . Size && self . ProtocolSpecificData == other . ProtocolSpecificData } } impl :: std :: cmp :: Eq for STORAGE_PROTOCOL_DATA_DESCRIPTOR { } unsafe impl :: windows :: Abi for STORAGE_PROTOCOL_DATA_DESCRIPTOR { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct STORAGE_PROTOCOL_NVME_DATA_TYPE ( pub i32 ) ; pub const NVMeDataTypeUnknown : STORAGE_PROTOCOL_NVME_DATA_TYPE = STORAGE_PROTOCOL_NVME_DATA_TYPE ( 0i32 ) ; pub const NVMeDataTypeIdentify : STORAGE_PROTOCOL_NVME_DATA_TYPE = STORAGE_PROTOCOL_NVME_DATA_TYPE ( 1i32 ) ; pub const NVMeDataTypeLogPage : STORAGE_PROTOCOL_NVME_DATA_TYPE = STORAGE_PROTOCOL_NVME_DATA_TYPE ( 2i32 ) ; pub const NVMeDataTypeFeature : STORAGE_PROTOCOL_NVME_DATA_TYPE = STORAGE_PROTOCOL_NVME_DATA_TYPE ( 3i32 ) ; impl :: std :: convert :: From < i32 > for STORAGE_PROTOCOL_NVME_DATA_TYPE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for STORAGE_PROTOCOL_NVME_DATA_TYPE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STORAGE_PROTOCOL_SPECIFIC_DATA { pub ProtocolType : STORAGE_PROTOCOL_TYPE , pub DataType : u32 , pub ProtocolDataRequestValue : u32 , pub ProtocolDataRequestSubValue : u32 , pub ProtocolDataOffset : u32 , pub ProtocolDataLength : u32 , pub FixedProtocolReturnData : u32 , pub ProtocolDataRequestSubValue2 : u32 , pub ProtocolDataRequestSubValue3 : u32 , pub Reserved : u32 } impl STORAGE_PROTOCOL_SPECIFIC_DATA { } impl :: std :: default :: Default for STORAGE_PROTOCOL_SPECIFIC_DATA { fn default ( ) -> Self { Self { ProtocolType : :: std :: default :: Default :: default ( ) , DataType : 0 , ProtocolDataRequestValue : 0 , ProtocolDataRequestSubValue : 0 , ProtocolDataOffset : 0 , ProtocolDataLength : 0 , FixedProtocolReturnData : 0 , ProtocolDataRequestSubValue2 : 0 , ProtocolDataRequestSubValue3 : 0 , Reserved : 0 } } } impl :: std :: fmt :: Debug for STORAGE_PROTOCOL_SPECIFIC_DATA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "STORAGE_PROTOCOL_SPECIFIC_DATA" ) . field ( "ProtocolType" , & self . ProtocolType ) . field ( "DataType" , & self . DataType ) . field ( "ProtocolDataRequestValue" , & self . ProtocolDataRequestValue ) . field ( "ProtocolDataRequestSubValue" , & self . ProtocolDataRequestSubValue ) . field ( "ProtocolDataOffset" , & self . ProtocolDataOffset ) . field ( "ProtocolDataLength" , & self . ProtocolDataLength ) . field ( "FixedProtocolReturnData" , & self . FixedProtocolReturnData ) . field ( "ProtocolDataRequestSubValue2" , & self . ProtocolDataRequestSubValue2 ) . field ( "ProtocolDataRequestSubValue3" , & self . ProtocolDataRequestSubValue3 ) . field ( "Reserved" , & self . Reserved ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STORAGE_PROTOCOL_SPECIFIC_DATA { fn eq ( & self , other : & Self ) -> bool { self . ProtocolType == other . ProtocolType && self . DataType == other . DataType && self . ProtocolDataRequestValue == other . ProtocolDataRequestValue && self . ProtocolDataRequestSubValue == other . ProtocolDataRequestSubValue && self . ProtocolDataOffset == other . ProtocolDataOffset && self . ProtocolDataLength == other . ProtocolDataLength && self . FixedProtocolReturnData == other . FixedProtocolReturnData && self . ProtocolDataRequestSubValue2 == other . ProtocolDataRequestSubValue2 && self . ProtocolDataRequestSubValue3 == other . ProtocolDataRequestSubValue3 && self . Reserved == other . Reserved } } impl :: std :: cmp :: Eq for STORAGE_PROTOCOL_SPECIFIC_DATA { } unsafe impl :: windows :: Abi for STORAGE_PROTOCOL_SPECIFIC_DATA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct STORAGE_PROTOCOL_TYPE ( pub i32 ) ; pub const ProtocolTypeUnknown : STORAGE_PROTOCOL_TYPE = STORAGE_PROTOCOL_TYPE ( 0i32 ) ; pub const ProtocolTypeScsi : STORAGE_PROTOCOL_TYPE = STORAGE_PROTOCOL_TYPE ( 1i32 ) ; pub const ProtocolTypeAta : STORAGE_PROTOCOL_TYPE = STORAGE_PROTOCOL_TYPE ( 2i32 ) ; pub const ProtocolTypeNvme : STORAGE_PROTOCOL_TYPE = STORAGE_PROTOCOL_TYPE ( 3i32 ) ; pub const ProtocolTypeSd : STORAGE_PROTOCOL_TYPE = STORAGE_PROTOCOL_TYPE ( 4i32 ) ; pub const ProtocolTypeUfs : STORAGE_PROTOCOL_TYPE = STORAGE_PROTOCOL_TYPE ( 5i32 ) ; pub const ProtocolTypeProprietary : STORAGE_PROTOCOL_TYPE = STORAGE_PROTOCOL_TYPE ( 126i32 ) ; pub const ProtocolTypeMaxReserved : STORAGE_PROTOCOL_TYPE = STORAGE_PROTOCOL_TYPE ( 127i32 ) ; impl :: std :: convert :: From < i32 > for STORAGE_PROTOCOL_TYPE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for STORAGE_PROTOCOL_TYPE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct STORAGE_QUERY_TYPE ( pub i32 ) ; pub const PropertyStandardQuery : STORAGE_QUERY_TYPE = STORAGE_QUERY_TYPE ( 0i32 ) ; pub const PropertyExistsQuery : STORAGE_QUERY_TYPE = STORAGE_QUERY_TYPE ( 1i32 ) ; pub const PropertyMaskQuery : STORAGE_QUERY_TYPE = STORAGE_QUERY_TYPE ( 2i32 ) ; pub const PropertyQueryMaxDefined : STORAGE_QUERY_TYPE = STORAGE_QUERY_TYPE ( 3i32 ) ; impl :: std :: convert :: From < i32 > for STORAGE_QUERY_TYPE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for STORAGE_QUERY_TYPE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union STORAGE_SPEC_VERSION { pub Anonymous : STORAGE_SPEC_VERSION_0 , pub AsUlong : u32 } impl STORAGE_SPEC_VERSION { } impl :: std :: cmp :: PartialEq for STORAGE_SPEC_VERSION { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for STORAGE_SPEC_VERSION { } unsafe impl :: windows :: Abi for STORAGE_SPEC_VERSION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STORAGE_SPEC_VERSION_0 { pub MinorVersion : STORAGE_SPEC_VERSION_0_0 , pub MajorVersion : u16 } impl STORAGE_SPEC_VERSION_0 { } impl :: std :: cmp :: PartialEq for STORAGE_SPEC_VERSION_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for STORAGE_SPEC_VERSION_0 { } unsafe impl :: windows :: Abi for STORAGE_SPEC_VERSION_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union STORAGE_SPEC_VERSION_0_0 { pub Anonymous : STORAGE_SPEC_VERSION_0_0_0 , pub AsUshort : u16 } impl STORAGE_SPEC_VERSION_0_0 { } impl :: std :: cmp :: PartialEq for STORAGE_SPEC_VERSION_0_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for STORAGE_SPEC_VERSION_0_0 { } unsafe impl :: windows :: Abi for STORAGE_SPEC_VERSION_0_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STORAGE_SPEC_VERSION_0_0_0 { pub SubMinor : u8 , pub Minor : u8 } impl STORAGE_SPEC_VERSION_0_0_0 { } impl :: std :: default :: Default for STORAGE_SPEC_VERSION_0_0_0 { fn default ( ) -> Self { Self { SubMinor : 0 , Minor : 0 } } } impl :: std :: fmt :: Debug for STORAGE_SPEC_VERSION_0_0_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Anonymous_e__Struct" ) . field ( "SubMinor" , & self . SubMinor ) . field ( "Minor" , & self . Minor ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STORAGE_SPEC_VERSION_0_0_0 { fn eq ( & self , other : & Self ) -> bool { self . SubMinor == other . SubMinor && self . Minor == other . Minor } } impl :: std :: cmp :: Eq for STORAGE_SPEC_VERSION_0_0_0 { } unsafe impl :: windows :: Abi for STORAGE_SPEC_VERSION_0_0_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STORAGE_TEMPERATURE_DATA_DESCRIPTOR { pub Version : u32 , pub Size : u32 , pub CriticalTemperature : i16 , pub WarningTemperature : i16 , pub InfoCount : u16 , pub Reserved0 : [ u8 ;2 ] , pub Reserved1 : [ u32 ;2 ] , pub TemperatureInfo : [ STORAGE_TEMPERATURE_INFO ;1 ] } impl STORAGE_TEMPERATURE_DATA_DESCRIPTOR { } impl :: std :: default :: Default for STORAGE_TEMPERATURE_DATA_DESCRIPTOR { fn default ( ) -> Self { Self { Version : 0 , Size : 0 , CriticalTemperature : 0 , WarningTemperature : 0 , InfoCount : 0 , Reserved0 : [ 0 ;2 ] , Reserved1 : [ 0 ;2 ] , TemperatureInfo : [ :: std :: default :: Default :: default ( ) ;1 ] } } } impl :: std :: fmt :: Debug for STORAGE_TEMPERATURE_DATA_DESCRIPTOR { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "STORAGE_TEMPERATURE_DATA_DESCRIPTOR" ) . field ( "Version" , & self . Version ) . field ( "Size" , & self . Size ) . field ( "CriticalTemperature" , & self . CriticalTemperature ) . field ( "WarningTemperature" , & self . WarningTemperature ) . field ( "InfoCount" , & self . InfoCount ) . field ( "Reserved0" , & self . Reserved0 ) . field ( "Reserved1" , & self . Reserved1 ) . field ( "TemperatureInfo" , & self . TemperatureInfo ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STORAGE_TEMPERATURE_DATA_DESCRIPTOR { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Size == other . Size && self . CriticalTemperature == other . CriticalTemperature && self . WarningTemperature == other . WarningTemperature && self . InfoCount == other . InfoCount && self . Reserved0 == other . Reserved0 && self . Reserved1 == other . Reserved1 && self . TemperatureInfo == other . TemperatureInfo } } impl :: std :: cmp :: Eq for STORAGE_TEMPERATURE_DATA_DESCRIPTOR { } unsafe impl :: windows :: Abi for STORAGE_TEMPERATURE_DATA_DESCRIPTOR { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STORAGE_TEMPERATURE_INFO { pub Index : u16 , pub Temperature : i16 , pub OverThreshold : i16 , pub UnderThreshold : i16 , pub OverThresholdChangable : u8 , pub UnderThresholdChangable : u8 , pub EventGenerated : u8 , pub Reserved0 : u8 , pub Reserved1 : u32 } impl STORAGE_TEMPERATURE_INFO { } impl :: std :: default :: Default for STORAGE_TEMPERATURE_INFO { fn default ( ) -> Self { Self { Index : 0 , Temperature : 0 , OverThreshold : 0 , UnderThreshold : 0 , OverThresholdChangable : 0 , UnderThresholdChangable : 0 , EventGenerated : 0 , Reserved0 : 0 , Reserved1 : 0 } } } impl :: std :: fmt :: Debug for STORAGE_TEMPERATURE_INFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "STORAGE_TEMPERATURE_INFO" ) . field ( "Index" , & self . Index ) . field ( "Temperature" , & self . Temperature ) . field ( "OverThreshold" , & self . OverThreshold ) . field ( "UnderThreshold" , & self . UnderThreshold ) . field ( "OverThresholdChangable" , & self . OverThresholdChangable ) . field ( "UnderThresholdChangable" , & self . UnderThresholdChangable ) . field ( "EventGenerated" , & self . EventGenerated ) . field ( "Reserved0" , & self . Reserved0 ) . field ( "Reserved1" , & self . Reserved1 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STORAGE_TEMPERATURE_INFO { fn eq ( & self , other : & Self ) -> bool { self . Index == other . Index && self . Temperature == other . Temperature && self . OverThreshold == other . OverThreshold && self . UnderThreshold == other . UnderThreshold && self . OverThresholdChangable == other . OverThresholdChangable && self . UnderThresholdChangable == other . UnderThresholdChangable && self . EventGenerated == other . EventGenerated && self . Reserved0 == other . Reserved0 && self . Reserved1 == other . Reserved1 } } impl :: std :: cmp :: Eq for STORAGE_TEMPERATURE_INFO { } unsafe impl :: windows :: Abi for STORAGE_TEMPERATURE_INFO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STORAGE_TEMPERATURE_THRESHOLD { pub Version : u32 , pub Size : u32 , pub Flags : u16 , pub Index : u16 , pub Threshold : i16 , pub OverThreshold : u8 , pub Reserved : u8 } impl STORAGE_TEMPERATURE_THRESHOLD { } impl :: std :: default :: Default for STORAGE_TEMPERATURE_THRESHOLD { fn default ( ) -> Self { Self { Version : 0 , Size : 0 , Flags : 0 , Index : 0 , Threshold : 0 , OverThreshold : 0 , Reserved : 0 } } } impl :: std :: fmt :: Debug for STORAGE_TEMPERATURE_THRESHOLD { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "STORAGE_TEMPERATURE_THRESHOLD" ) . field ( "Version" , & self . Version ) . field ( "Size" , & self . Size ) . field ( "Flags" , & self . Flags ) . field ( "Index" , & self . Index ) . field ( "Threshold" , & self . Threshold ) . field ( "OverThreshold" , & self . OverThreshold ) . field ( "Reserved" , & self . Reserved ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STORAGE_TEMPERATURE_THRESHOLD { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Size == other . Size && self . Flags == other . Flags && self . Index == other . Index && self . Threshold == other . Threshold && self . OverThreshold == other . OverThreshold && self . Reserved == other . Reserved } } impl :: std :: cmp :: Eq for STORAGE_TEMPERATURE_THRESHOLD { } unsafe impl :: windows :: Abi for STORAGE_TEMPERATURE_THRESHOLD { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STORAGE_WRITE_CACHE_PROPERTY { pub Version : u32 , pub Size : u32 , pub WriteCacheType : WRITE_CACHE_TYPE , pub WriteCacheEnabled : WRITE_CACHE_ENABLE , pub WriteCacheChangeable : WRITE_CACHE_CHANGE , pub WriteThroughSupported : WRITE_THROUGH , pub FlushCacheSupported : u8 , pub UserDefinedPowerProtection : u8 , pub NVCacheEnabled : u8 } impl STORAGE_WRITE_CACHE_PROPERTY { } impl :: std :: default :: Default for STORAGE_WRITE_CACHE_PROPERTY { fn default ( ) -> Self { Self { Version : 0 , Size : 0 , WriteCacheType : :: std :: default :: Default :: default ( ) , WriteCacheEnabled : :: std :: default :: Default :: default ( ) , WriteCacheChangeable : :: std :: default :: Default :: default ( ) , WriteThroughSupported : :: std :: default :: Default :: default ( ) , FlushCacheSupported : 0 , UserDefinedPowerProtection : 0 , NVCacheEnabled : 0 } } } impl :: std :: fmt :: Debug for STORAGE_WRITE_CACHE_PROPERTY { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "STORAGE_WRITE_CACHE_PROPERTY" ) . field ( "Version" , & self . Version ) . field ( "Size" , & self . Size ) . field ( "WriteCacheType" , & self . WriteCacheType ) . field ( "WriteCacheEnabled" , & self . WriteCacheEnabled ) . field ( "WriteCacheChangeable" , & self . WriteCacheChangeable ) . field ( "WriteThroughSupported" , & self . WriteThroughSupported ) . field ( "FlushCacheSupported" , & self . FlushCacheSupported ) . field ( "UserDefinedPowerProtection" , & self . UserDefinedPowerProtection ) . field ( "NVCacheEnabled" , & self . NVCacheEnabled ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STORAGE_WRITE_CACHE_PROPERTY { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Size == other . Size && self . WriteCacheType == other . WriteCacheType && self . WriteCacheEnabled == other . WriteCacheEnabled && self . WriteCacheChangeable == other . WriteCacheChangeable && self . WriteThroughSupported == other . WriteThroughSupported && self . FlushCacheSupported == other . FlushCacheSupported && self . UserDefinedPowerProtection == other . UserDefinedPowerProtection && self . NVCacheEnabled == other . NVCacheEnabled } } impl :: std :: cmp :: Eq for STORAGE_WRITE_CACHE_PROPERTY { } unsafe impl :: windows :: Abi for STORAGE_WRITE_CACHE_PROPERTY { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct STREAM_INFO_LEVELS ( pub i32 ) ; pub const FindStreamInfoStandard : STREAM_INFO_LEVELS = STREAM_INFO_LEVELS ( 0i32 ) ; pub const FindStreamInfoMaxInfoLevel : STREAM_INFO_LEVELS = STREAM_INFO_LEVELS ( 1i32 ) ; impl :: std :: convert :: From < i32 > for STREAM_INFO_LEVELS { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for STREAM_INFO_LEVELS { type Abi = Self ; type DefaultType = Self ; } pub const STYPE_RESERVED1 : u32 = 16777216u32 ; pub const STYPE_RESERVED2 : u32 = 33554432u32 ; pub const STYPE_RESERVED3 : u32 = 67108864u32 ; pub const STYPE_RESERVED4 : u32 = 134217728u32 ; pub const STYPE_RESERVED5 : u32 = 1048576u32 ; pub const STYPE_RESERVED_ALL : u32 = 1073741568u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct SYMBOLIC_LINK_FLAGS ( pub u32 ) ; pub const SYMBOLIC_LINK_FLAG_DIRECTORY : SYMBOLIC_LINK_FLAGS = SYMBOLIC_LINK_FLAGS ( 1u32 ) ; pub const SYMBOLIC_LINK_FLAG_ALLOW_UNPRIVILEGED_CREATE : SYMBOLIC_LINK_FLAGS = SYMBOLIC_LINK_FLAGS ( 2u32 ) ; impl :: std :: convert :: From < u32 > for SYMBOLIC_LINK_FLAGS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for SYMBOLIC_LINK_FLAGS { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for SYMBOLIC_LINK_FLAGS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for SYMBOLIC_LINK_FLAGS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for SYMBOLIC_LINK_FLAGS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for SYMBOLIC_LINK_FLAGS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub unsafe fn ScanLogContainers < > ( pcxscan : * mut CLS_SCAN_CONTEXT , escanmode : u8 , preserved : * mut :: std :: ffi :: c_void , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="clfsw32" ) ] extern "system" { fn ScanLogContainers ( pcxscan : * mut CLS_SCAN_CONTEXT , escanmode : u8 , preserved : * mut :: std :: ffi :: c_void ) -> super::super::Foundation:: BOOL ; } ScanLogContainers ( :: std :: mem :: transmute ( pcxscan ) , :: std :: mem :: transmute ( escanmode ) , :: std :: mem :: transmute ( preserved ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SearchPathA < 'a , > ( lppath : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , lpfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , lpextension : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , nbufferlength : u32 , lpbuffer : super::super::Foundation:: PSTR , lpfilepart : * mut super::super::Foundation:: PSTR , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn SearchPathA ( lppath : super::super::Foundation:: PSTR , lpfilename : super::super::Foundation:: PSTR , lpextension : super::super::Foundation:: PSTR , nbufferlength : u32 , lpbuffer : super::super::Foundation:: PSTR , lpfilepart : * mut super::super::Foundation:: PSTR ) -> u32 ; } SearchPathA ( lppath . into_param ( ) . abi ( ) , lpfilename . into_param ( ) . abi ( ) , lpextension . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( nbufferlength ) , :: std :: mem :: transmute ( lpbuffer ) , :: std :: mem :: transmute ( lpfilepart ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SearchPathW < 'a , > ( lppath : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , lpfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , lpextension : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , nbufferlength : u32 , lpbuffer : super::super::Foundation:: PWSTR , lpfilepart : * mut super::super::Foundation:: PWSTR , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn SearchPathW ( lppath : super::super::Foundation:: PWSTR , lpfilename : super::super::Foundation:: PWSTR , lpextension : super::super::Foundation:: PWSTR , nbufferlength : u32 , lpbuffer : super::super::Foundation:: PWSTR , lpfilepart : * mut super::super::Foundation:: PWSTR ) -> u32 ; } SearchPathW ( lppath . into_param ( ) . abi ( ) , lpfilename . into_param ( ) . abi ( ) , lpextension . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( nbufferlength ) , :: std :: mem :: transmute ( lpbuffer ) , :: std :: mem :: transmute ( lpfilepart ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetEncryptedFileMetadata < 'a , > ( lpfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , pboldmetadata : * mut u8 , pbnewmetadata : * mut u8 , pownerhash : * mut ENCRYPTION_CERTIFICATE_HASH , dwoperation : u32 , pcertificatesadded : * mut ENCRYPTION_CERTIFICATE_HASH_LIST , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="ADVAPI32" ) ] extern "system" { fn SetEncryptedFileMetadata ( lpfilename : super::super::Foundation:: PWSTR , pboldmetadata : * mut u8 , pbnewmetadata : * mut u8 , pownerhash : * mut ENCRYPTION_CERTIFICATE_HASH , dwoperation : u32 , pcertificatesadded : * mut ENCRYPTION_CERTIFICATE_HASH_LIST ) -> u32 ; } SetEncryptedFileMetadata ( lpfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pboldmetadata ) , :: std :: mem :: transmute ( pbnewmetadata ) , :: std :: mem :: transmute ( pownerhash ) , :: std :: mem :: transmute ( dwoperation ) , :: std :: mem :: transmute ( pcertificatesadded ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetEndOfFile < 'a , > ( hfile : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn SetEndOfFile ( hfile : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ; } SetEndOfFile ( hfile . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetEndOfLog < 'a , > ( hlog : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , plsnend : * mut CLS_LSN , lpoverlapped : * mut super::super::System::SystemServices:: OVERLAPPED , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="clfsw32" ) ] extern "system" { fn SetEndOfLog ( hlog : super::super::Foundation:: HANDLE , plsnend : * mut CLS_LSN , lpoverlapped : * mut super::super::System::SystemServices:: OVERLAPPED ) -> super::super::Foundation:: BOOL ; } SetEndOfLog ( hlog . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( plsnend ) , :: std :: mem :: transmute ( lpoverlapped ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetEnlistmentRecoveryInformation < 'a , > ( enlistmenthandle : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , buffersize : u32 , buffer : * mut :: std :: ffi :: c_void , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="ktmw32" ) ] extern "system" { fn SetEnlistmentRecoveryInformation ( enlistmenthandle : super::super::Foundation:: HANDLE , buffersize : u32 , buffer : * mut :: std :: ffi :: c_void ) -> super::super::Foundation:: BOOL ; } SetEnlistmentRecoveryInformation ( enlistmenthandle . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( buffersize ) , :: std :: mem :: transmute ( buffer ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetFileApisToANSI < > ( ) { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn SetFileApisToANSI ( ) ; } SetFileApisToANSI ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetFileApisToOEM < > ( ) { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn SetFileApisToOEM ( ) ; } SetFileApisToOEM ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetFileAttributesA < 'a , > ( lpfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , dwfileattributes : FILE_FLAGS_AND_ATTRIBUTES , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn SetFileAttributesA ( lpfilename : super::super::Foundation:: PSTR , dwfileattributes : FILE_FLAGS_AND_ATTRIBUTES ) -> super::super::Foundation:: BOOL ; } SetFileAttributesA ( lpfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwfileattributes ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetFileAttributesFromAppW < 'a , > ( lpfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , dwfileattributes : u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="onecoreuap" ) ] extern "system" { fn SetFileAttributesFromAppW ( lpfilename : super::super::Foundation:: PWSTR , dwfileattributes : u32 ) -> super::super::Foundation:: BOOL ; } SetFileAttributesFromAppW ( lpfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwfileattributes ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetFileAttributesTransactedA < 'a , > ( lpfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , dwfileattributes : u32 , htransaction : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn SetFileAttributesTransactedA ( lpfilename : super::super::Foundation:: PSTR , dwfileattributes : u32 , htransaction : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ; } SetFileAttributesTransactedA ( lpfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwfileattributes ) , htransaction . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetFileAttributesTransactedW < 'a , > ( lpfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , dwfileattributes : u32 , htransaction : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn SetFileAttributesTransactedW ( lpfilename : super::super::Foundation:: PWSTR , dwfileattributes : u32 , htransaction : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ; } SetFileAttributesTransactedW ( lpfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwfileattributes ) , htransaction . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetFileAttributesW < 'a , > ( lpfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , dwfileattributes : FILE_FLAGS_AND_ATTRIBUTES , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn SetFileAttributesW ( lpfilename : super::super::Foundation:: PWSTR , dwfileattributes : FILE_FLAGS_AND_ATTRIBUTES ) -> super::super::Foundation:: BOOL ; } SetFileAttributesW ( lpfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwfileattributes ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetFileBandwidthReservation < 'a , > ( hfile : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , nperiodmilliseconds : u32 , nbytesperperiod : u32 , bdiscardable : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , lptransfersize : * mut u32 , lpnumoutstandingrequests : * mut u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn SetFileBandwidthReservation ( hfile : super::super::Foundation:: HANDLE , nperiodmilliseconds : u32 , nbytesperperiod : u32 , bdiscardable : super::super::Foundation:: BOOL , lptransfersize : * mut u32 , lpnumoutstandingrequests : * mut u32 ) -> super::super::Foundation:: BOOL ; } SetFileBandwidthReservation ( hfile . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( nperiodmilliseconds ) , :: std :: mem :: transmute ( nbytesperperiod ) , bdiscardable . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lptransfersize ) , :: std :: mem :: transmute ( lpnumoutstandingrequests ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetFileCompletionNotificationModes < 'a , > ( filehandle : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , flags : u8 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn SetFileCompletionNotificationModes ( filehandle : super::super::Foundation:: HANDLE , flags : u8 ) -> super::super::Foundation:: BOOL ; } SetFileCompletionNotificationModes ( filehandle . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( flags ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetFileInformationByHandle < 'a , > ( hfile : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , fileinformationclass : FILE_INFO_BY_HANDLE_CLASS , lpfileinformation : * mut :: std :: ffi :: c_void , dwbuffersize : u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn SetFileInformationByHandle ( hfile : super::super::Foundation:: HANDLE , fileinformationclass : FILE_INFO_BY_HANDLE_CLASS , lpfileinformation : * mut :: std :: ffi :: c_void , dwbuffersize : u32 ) -> super::super::Foundation:: BOOL ; } SetFileInformationByHandle ( hfile . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( fileinformationclass ) , :: std :: mem :: transmute ( lpfileinformation ) , :: std :: mem :: transmute ( dwbuffersize ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetFileIoOverlappedRange < 'a , > ( filehandle : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , overlappedrangestart : * mut u8 , length : u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn SetFileIoOverlappedRange ( filehandle : super::super::Foundation:: HANDLE , overlappedrangestart : * mut u8 , length : u32 ) -> super::super::Foundation:: BOOL ; } SetFileIoOverlappedRange ( filehandle . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( overlappedrangestart ) , :: std :: mem :: transmute ( length ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetFilePointer < 'a , > ( hfile : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , ldistancetomove : i32 , lpdistancetomovehigh : * mut i32 , dwmovemethod : SET_FILE_POINTER_MOVE_METHOD , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn SetFilePointer ( hfile : super::super::Foundation:: HANDLE , ldistancetomove : i32 , lpdistancetomovehigh : * mut i32 , dwmovemethod : SET_FILE_POINTER_MOVE_METHOD ) -> u32 ; } SetFilePointer ( hfile . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ldistancetomove ) , :: std :: mem :: transmute ( lpdistancetomovehigh ) , :: std :: mem :: transmute ( dwmovemethod ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetFilePointerEx < 'a , > ( hfile : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , lidistancetomove : i64 , lpnewfilepointer : * mut i64 , dwmovemethod : SET_FILE_POINTER_MOVE_METHOD , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn SetFilePointerEx ( hfile : super::super::Foundation:: HANDLE , lidistancetomove : i64 , lpnewfilepointer : * mut i64 , dwmovemethod : SET_FILE_POINTER_MOVE_METHOD ) -> super::super::Foundation:: BOOL ; } SetFilePointerEx ( hfile . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lidistancetomove ) , :: std :: mem :: transmute ( lpnewfilepointer ) , :: std :: mem :: transmute ( dwmovemethod ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetFileShortNameA < 'a , > ( hfile : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , lpshortname : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn SetFileShortNameA ( hfile : super::super::Foundation:: HANDLE , lpshortname : super::super::Foundation:: PSTR ) -> super::super::Foundation:: BOOL ; } SetFileShortNameA ( hfile . into_param ( ) . abi ( ) , lpshortname . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetFileShortNameW < 'a , > ( hfile : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , lpshortname : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn SetFileShortNameW ( hfile : super::super::Foundation:: HANDLE , lpshortname : super::super::Foundation:: PWSTR ) -> super::super::Foundation:: BOOL ; } SetFileShortNameW ( hfile . into_param ( ) . abi ( ) , lpshortname . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetFileTime < 'a , > ( hfile : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , lpcreationtime : * const super::super::Foundation:: FILETIME , lplastaccesstime : * const super::super::Foundation:: FILETIME , lplastwritetime : * const super::super::Foundation:: FILETIME , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn SetFileTime ( hfile : super::super::Foundation:: HANDLE , lpcreationtime : * const super::super::Foundation:: FILETIME , lplastaccesstime : * const super::super::Foundation:: FILETIME , lplastwritetime : * const super::super::Foundation:: FILETIME ) -> super::super::Foundation:: BOOL ; } SetFileTime ( hfile . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpcreationtime ) , :: std :: mem :: transmute ( lplastaccesstime ) , :: std :: mem :: transmute ( lplastwritetime ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetFileValidData < 'a , > ( hfile : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , validdatalength : i64 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn SetFileValidData ( hfile : super::super::Foundation:: HANDLE , validdatalength : i64 ) -> super::super::Foundation:: BOOL ; } SetFileValidData ( hfile . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( validdatalength ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetLogArchiveMode < 'a , > ( hlog : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , emode : CLFS_LOG_ARCHIVE_MODE , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="clfsw32" ) ] extern "system" { fn SetLogArchiveMode ( hlog : super::super::Foundation:: HANDLE , emode : CLFS_LOG_ARCHIVE_MODE ) -> super::super::Foundation:: BOOL ; } SetLogArchiveMode ( hlog . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( emode ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetLogArchiveTail < 'a , > ( hlog : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , plsnarchivetail : * mut CLS_LSN , preserved : * mut :: std :: ffi :: c_void , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="clfsw32" ) ] extern "system" { fn SetLogArchiveTail ( hlog : super::super::Foundation:: HANDLE , plsnarchivetail : * mut CLS_LSN , preserved : * mut :: std :: ffi :: c_void ) -> super::super::Foundation:: BOOL ; } SetLogArchiveTail ( hlog . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( plsnarchivetail ) , :: std :: mem :: transmute ( preserved ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetLogFileSizeWithPolicy < 'a , > ( hlog : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , pdesiredsize : * mut u64 , presultingsize : * mut u64 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="clfsw32" ) ] extern "system" { fn SetLogFileSizeWithPolicy ( hlog : super::super::Foundation:: HANDLE , pdesiredsize : * mut u64 , presultingsize : * mut u64 ) -> super::super::Foundation:: BOOL ; } SetLogFileSizeWithPolicy ( hlog . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pdesiredsize ) , :: std :: mem :: transmute ( presultingsize ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetResourceManagerCompletionPort < 'a , > ( resourcemanagerhandle : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , iocompletionporthandle : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , completionkey : usize , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="ktmw32" ) ] extern "system" { fn SetResourceManagerCompletionPort ( resourcemanagerhandle : super::super::Foundation:: HANDLE , iocompletionporthandle : super::super::Foundation:: HANDLE , completionkey : usize ) -> super::super::Foundation:: BOOL ; } SetResourceManagerCompletionPort ( resourcemanagerhandle . into_param ( ) . abi ( ) , iocompletionporthandle . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( completionkey ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetSearchPathMode < > ( flags : u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn SetSearchPathMode ( flags : u32 ) -> super::super::Foundation:: BOOL ; } SetSearchPathMode ( :: std :: mem :: transmute ( flags ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetTapeParameters < 'a , > ( hdevice : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , dwoperation : TAPE_INFORMATION_TYPE , lptapeinformation : * mut :: std :: ffi :: c_void , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn SetTapeParameters ( hdevice : super::super::Foundation:: HANDLE , dwoperation : TAPE_INFORMATION_TYPE , lptapeinformation : * mut :: std :: ffi :: c_void ) -> u32 ; } SetTapeParameters ( hdevice . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwoperation ) , :: std :: mem :: transmute ( lptapeinformation ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetTapePosition < 'a , > ( hdevice : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , dwpositionmethod : TAPE_POSITION_METHOD , dwpartition : u32 , dwoffsetlow : u32 , dwoffsethigh : u32 , bimmediate : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn SetTapePosition ( hdevice : super::super::Foundation:: HANDLE , dwpositionmethod : TAPE_POSITION_METHOD , dwpartition : u32 , dwoffsetlow : u32 , dwoffsethigh : u32 , bimmediate : super::super::Foundation:: BOOL ) -> u32 ; } SetTapePosition ( hdevice . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwpositionmethod ) , :: std :: mem :: transmute ( dwpartition ) , :: std :: mem :: transmute ( dwoffsetlow ) , :: std :: mem :: transmute ( dwoffsethigh ) , bimmediate . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetTransactionInformation < 'a , > ( transactionhandle : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , isolationlevel : u32 , isolationflags : u32 , timeout : u32 , description : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="ktmw32" ) ] extern "system" { fn SetTransactionInformation ( transactionhandle : super::super::Foundation:: HANDLE , isolationlevel : u32 , isolationflags : u32 , timeout : u32 , description : super::super::Foundation:: PWSTR ) -> super::super::Foundation:: BOOL ; } SetTransactionInformation ( transactionhandle . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( isolationlevel ) , :: std :: mem :: transmute ( isolationflags ) , :: std :: mem :: transmute ( timeout ) , description . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetUserFileEncryptionKey < > ( pencryptioncertificate : * mut ENCRYPTION_CERTIFICATE , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="ADVAPI32" ) ] extern "system" { fn SetUserFileEncryptionKey ( pencryptioncertificate : * mut ENCRYPTION_CERTIFICATE ) -> u32 ; } SetUserFileEncryptionKey ( :: std :: mem :: transmute ( pencryptioncertificate ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetUserFileEncryptionKeyEx < > ( pencryptioncertificate : * mut ENCRYPTION_CERTIFICATE , dwcapabilities : u32 , dwflags : u32 , pvreserved : * mut :: std :: ffi :: c_void , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="ADVAPI32" ) ] extern "system" { fn SetUserFileEncryptionKeyEx ( pencryptioncertificate : * mut ENCRYPTION_CERTIFICATE , dwcapabilities : u32 , dwflags : u32 , pvreserved : * mut :: std :: ffi :: c_void ) -> u32 ; } SetUserFileEncryptionKeyEx ( :: std :: mem :: transmute ( pencryptioncertificate ) , :: std :: mem :: transmute ( dwcapabilities ) , :: std :: mem :: transmute ( dwflags ) , :: std :: mem :: transmute ( pvreserved ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetVolumeLabelA < 'a , > ( lprootpathname : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , lpvolumename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn SetVolumeLabelA ( lprootpathname : super::super::Foundation:: PSTR , lpvolumename : super::super::Foundation:: PSTR ) -> super::super::Foundation:: BOOL ; } SetVolumeLabelA ( lprootpathname . into_param ( ) . abi ( ) , lpvolumename . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetVolumeLabelW < 'a , > ( lprootpathname : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , lpvolumename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn SetVolumeLabelW ( lprootpathname : super::super::Foundation:: PWSTR , lpvolumename : super::super::Foundation:: PWSTR ) -> super::super::Foundation:: BOOL ; } SetVolumeLabelW ( lprootpathname . into_param ( ) . abi ( ) , lpvolumename . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetVolumeMountPointA < 'a , > ( lpszvolumemountpoint : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , lpszvolumename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn SetVolumeMountPointA ( lpszvolumemountpoint : super::super::Foundation:: PSTR , lpszvolumename : super::super::Foundation:: PSTR ) -> super::super::Foundation:: BOOL ; } SetVolumeMountPointA ( lpszvolumemountpoint . into_param ( ) . abi ( ) , lpszvolumename . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetVolumeMountPointW < 'a , > ( lpszvolumemountpoint : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , lpszvolumename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn SetVolumeMountPointW ( lpszvolumemountpoint : super::super::Foundation:: PWSTR , lpszvolumename : super::super::Foundation:: PWSTR ) -> super::super::Foundation:: BOOL ; } SetVolumeMountPointW ( lpszvolumemountpoint . into_param ( ) . abi ( ) , lpszvolumename . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SinglePhaseReject < 'a , > ( enlistmenthandle : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , tmvirtualclock : * mut i64 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="ktmw32" ) ] extern "system" { fn SinglePhaseReject ( enlistmenthandle : super::super::Foundation:: HANDLE , tmvirtualclock : * mut i64 ) -> super::super::Foundation:: BOOL ; } SinglePhaseReject ( enlistmenthandle . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( tmvirtualclock ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct TAPEMARK_TYPE ( pub i32 ) ; pub const TAPE_FILEMARKS : TAPEMARK_TYPE = TAPEMARK_TYPE ( 1i32 ) ; pub const TAPE_LONG_FILEMARKS : TAPEMARK_TYPE = TAPEMARK_TYPE ( 3i32 ) ; pub const TAPE_SETMARKS : TAPEMARK_TYPE = TAPEMARK_TYPE ( 0i32 ) ; pub const TAPE_SHORT_FILEMARKS : TAPEMARK_TYPE = TAPEMARK_TYPE ( 2i32 ) ; impl :: std :: convert :: From < i32 > for TAPEMARK_TYPE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for TAPEMARK_TYPE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct TAPE_INFORMATION_TYPE ( pub u32 ) ; pub const SET_TAPE_DRIVE_INFORMATION : TAPE_INFORMATION_TYPE = TAPE_INFORMATION_TYPE ( 1u32 ) ; pub const SET_TAPE_MEDIA_INFORMATION : TAPE_INFORMATION_TYPE = TAPE_INFORMATION_TYPE ( 0u32 ) ; impl :: std :: convert :: From < u32 > for TAPE_INFORMATION_TYPE { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for TAPE_INFORMATION_TYPE { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for TAPE_INFORMATION_TYPE { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for TAPE_INFORMATION_TYPE { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for TAPE_INFORMATION_TYPE { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for TAPE_INFORMATION_TYPE { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct TAPE_POSITION_METHOD ( pub i32 ) ; pub const TAPE_ABSOLUTE_BLOCK : TAPE_POSITION_METHOD = TAPE_POSITION_METHOD ( 1i32 ) ; pub const TAPE_LOGICAL_BLOCK : TAPE_POSITION_METHOD = TAPE_POSITION_METHOD ( 2i32 ) ; pub const TAPE_REWIND : TAPE_POSITION_METHOD = TAPE_POSITION_METHOD ( 0i32 ) ; pub const TAPE_SPACE_END_OF_DATA : TAPE_POSITION_METHOD = TAPE_POSITION_METHOD ( 4i32 ) ; pub const TAPE_SPACE_FILEMARKS : TAPE_POSITION_METHOD = TAPE_POSITION_METHOD ( 6i32 ) ; pub const TAPE_SPACE_RELATIVE_BLOCKS : TAPE_POSITION_METHOD = TAPE_POSITION_METHOD ( 5i32 ) ; pub const TAPE_SPACE_SEQUENTIAL_FMKS : TAPE_POSITION_METHOD = TAPE_POSITION_METHOD ( 7i32 ) ; pub const TAPE_SPACE_SEQUENTIAL_SMKS : TAPE_POSITION_METHOD = TAPE_POSITION_METHOD ( 9i32 ) ; pub const TAPE_SPACE_SETMARKS : TAPE_POSITION_METHOD = TAPE_POSITION_METHOD ( 8i32 ) ; impl :: std :: convert :: From < i32 > for TAPE_POSITION_METHOD { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for TAPE_POSITION_METHOD { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct TAPE_POSITION_TYPE ( pub i32 ) ; pub const TAPE_ABSOLUTE_POSITION : TAPE_POSITION_TYPE = TAPE_POSITION_TYPE ( 0i32 ) ; pub const TAPE_LOGICAL_POSITION : TAPE_POSITION_TYPE = TAPE_POSITION_TYPE ( 1i32 ) ; impl :: std :: convert :: From < i32 > for TAPE_POSITION_TYPE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for TAPE_POSITION_TYPE { type Abi = Self ; type DefaultType = Self ; } pub const TRANSACTION_DO_NOT_PROMOTE : u32 = 1u32 ; pub const TRANSACTION_MANAGER_COMMIT_DEFAULT : u32 = 0u32 ; pub const TRANSACTION_MANAGER_COMMIT_LOWEST : u32 = 8u32 ; pub const TRANSACTION_MANAGER_COMMIT_SYSTEM_HIVES : u32 = 4u32 ; pub const TRANSACTION_MANAGER_COMMIT_SYSTEM_VOLUME : u32 = 2u32 ; pub const TRANSACTION_MANAGER_CORRUPT_FOR_PROGRESS : u32 = 32u32 ; pub const TRANSACTION_MANAGER_CORRUPT_FOR_RECOVERY : u32 = 16u32 ; pub const TRANSACTION_MANAGER_MAXIMUM_OPTION : u32 = 63u32 ; pub const TRANSACTION_MANAGER_VOLATILE : u32 = 1u32 ; pub const TRANSACTION_MAXIMUM_OPTION : u32 = 1u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct TRANSACTION_NOTIFICATION { pub TransactionKey : * mut :: std :: ffi :: c_void , pub TransactionNotification : u32 , pub TmVirtualClock : i64 , pub ArgumentLength : u32 } impl TRANSACTION_NOTIFICATION { } impl :: std :: default :: Default for TRANSACTION_NOTIFICATION { fn default ( ) -> Self { Self { TransactionKey : :: std :: ptr :: null_mut ( ) , TransactionNotification : 0 , TmVirtualClock : 0 , ArgumentLength : 0 } } } impl :: std :: fmt :: Debug for TRANSACTION_NOTIFICATION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "TRANSACTION_NOTIFICATION" ) . field ( "TransactionKey" , & self . TransactionKey ) . field ( "TransactionNotification" , & self . TransactionNotification ) . field ( "TmVirtualClock" , & self . TmVirtualClock ) . field ( "ArgumentLength" , & self . ArgumentLength ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TRANSACTION_NOTIFICATION { fn eq ( & self , other : & Self ) -> bool { self . TransactionKey == other . TransactionKey && self . TransactionNotification == other . TransactionNotification && self . TmVirtualClock == other . TmVirtualClock && self . ArgumentLength == other . ArgumentLength } } impl :: std :: cmp :: Eq for TRANSACTION_NOTIFICATION { } unsafe impl :: windows :: Abi for TRANSACTION_NOTIFICATION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct TRANSACTION_NOTIFICATION_MARSHAL_ARGUMENT { pub MarshalCookie : u32 , pub UOW : :: windows :: Guid } impl TRANSACTION_NOTIFICATION_MARSHAL_ARGUMENT { } impl :: std :: default :: Default for TRANSACTION_NOTIFICATION_MARSHAL_ARGUMENT { fn default ( ) -> Self { Self { MarshalCookie : 0 , UOW : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for TRANSACTION_NOTIFICATION_MARSHAL_ARGUMENT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "TRANSACTION_NOTIFICATION_MARSHAL_ARGUMENT" ) . field ( "MarshalCookie" , & self . MarshalCookie ) . field ( "UOW" , & self . UOW ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TRANSACTION_NOTIFICATION_MARSHAL_ARGUMENT { fn eq ( & self , other : & Self ) -> bool { self . MarshalCookie == other . MarshalCookie && self . UOW == other . UOW } } impl :: std :: cmp :: Eq for TRANSACTION_NOTIFICATION_MARSHAL_ARGUMENT { } unsafe impl :: windows :: Abi for TRANSACTION_NOTIFICATION_MARSHAL_ARGUMENT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct TRANSACTION_NOTIFICATION_PROPAGATE_ARGUMENT { pub PropagationCookie : u32 , pub UOW : :: windows :: Guid , pub TmIdentity : :: windows :: Guid , pub BufferLength : u32 } impl TRANSACTION_NOTIFICATION_PROPAGATE_ARGUMENT { } impl :: std :: default :: Default for TRANSACTION_NOTIFICATION_PROPAGATE_ARGUMENT { fn default ( ) -> Self { Self { PropagationCookie : 0 , UOW : :: std :: default :: Default :: default ( ) , TmIdentity : :: std :: default :: Default :: default ( ) , BufferLength : 0 } } } impl :: std :: fmt :: Debug for TRANSACTION_NOTIFICATION_PROPAGATE_ARGUMENT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "TRANSACTION_NOTIFICATION_PROPAGATE_ARGUMENT" ) . field ( "PropagationCookie" , & self . PropagationCookie ) . field ( "UOW" , & self . UOW ) . field ( "TmIdentity" , & self . TmIdentity ) . field ( "BufferLength" , & self . BufferLength ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TRANSACTION_NOTIFICATION_PROPAGATE_ARGUMENT { fn eq ( & self , other : & Self ) -> bool { self . PropagationCookie == other . PropagationCookie && self . UOW == other . UOW && self . TmIdentity == other . TmIdentity && self . BufferLength == other . BufferLength } } impl :: std :: cmp :: Eq for TRANSACTION_NOTIFICATION_PROPAGATE_ARGUMENT { } unsafe impl :: windows :: Abi for TRANSACTION_NOTIFICATION_PROPAGATE_ARGUMENT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct TRANSACTION_NOTIFICATION_RECOVERY_ARGUMENT { pub EnlistmentId : :: windows :: Guid , pub UOW : :: windows :: Guid } impl TRANSACTION_NOTIFICATION_RECOVERY_ARGUMENT { } impl :: std :: default :: Default for TRANSACTION_NOTIFICATION_RECOVERY_ARGUMENT { fn default ( ) -> Self { Self { EnlistmentId : :: std :: default :: Default :: default ( ) , UOW : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for TRANSACTION_NOTIFICATION_RECOVERY_ARGUMENT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "TRANSACTION_NOTIFICATION_RECOVERY_ARGUMENT" ) . field ( "EnlistmentId" , & self . EnlistmentId ) . field ( "UOW" , & self . UOW ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TRANSACTION_NOTIFICATION_RECOVERY_ARGUMENT { fn eq ( & self , other : & Self ) -> bool { self . EnlistmentId == other . EnlistmentId && self . UOW == other . UOW } } impl :: std :: cmp :: Eq for TRANSACTION_NOTIFICATION_RECOVERY_ARGUMENT { } unsafe impl :: windows :: Abi for TRANSACTION_NOTIFICATION_RECOVERY_ARGUMENT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct TRANSACTION_NOTIFICATION_SAVEPOINT_ARGUMENT { pub SavepointId : u32 } impl TRANSACTION_NOTIFICATION_SAVEPOINT_ARGUMENT { } impl :: std :: default :: Default for TRANSACTION_NOTIFICATION_SAVEPOINT_ARGUMENT { fn default ( ) -> Self { Self { SavepointId : 0 } } } impl :: std :: fmt :: Debug for TRANSACTION_NOTIFICATION_SAVEPOINT_ARGUMENT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "TRANSACTION_NOTIFICATION_SAVEPOINT_ARGUMENT" ) . field ( "SavepointId" , & self . SavepointId ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TRANSACTION_NOTIFICATION_SAVEPOINT_ARGUMENT { fn eq ( & self , other : & Self ) -> bool { self . SavepointId == other . SavepointId } } impl :: std :: cmp :: Eq for TRANSACTION_NOTIFICATION_SAVEPOINT_ARGUMENT { } unsafe impl :: windows :: Abi for TRANSACTION_NOTIFICATION_SAVEPOINT_ARGUMENT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct TRANSACTION_NOTIFICATION_TM_ONLINE_ARGUMENT { pub TmIdentity : :: windows :: Guid , pub Flags : u32 } impl TRANSACTION_NOTIFICATION_TM_ONLINE_ARGUMENT { } impl :: std :: default :: Default for TRANSACTION_NOTIFICATION_TM_ONLINE_ARGUMENT { fn default ( ) -> Self { Self { TmIdentity : :: std :: default :: Default :: default ( ) , Flags : 0 } } } impl :: std :: fmt :: Debug for TRANSACTION_NOTIFICATION_TM_ONLINE_ARGUMENT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "TRANSACTION_NOTIFICATION_TM_ONLINE_ARGUMENT" ) . field ( "TmIdentity" , & self . TmIdentity ) . field ( "Flags" , & self . Flags ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TRANSACTION_NOTIFICATION_TM_ONLINE_ARGUMENT { fn eq ( & self , other : & Self ) -> bool { self . TmIdentity == other . TmIdentity && self . Flags == other . Flags } } impl :: std :: cmp :: Eq for TRANSACTION_NOTIFICATION_TM_ONLINE_ARGUMENT { } unsafe impl :: windows :: Abi for TRANSACTION_NOTIFICATION_TM_ONLINE_ARGUMENT { type Abi = Self ; type DefaultType = Self ; } pub const TRANSACTION_NOTIFICATION_TM_ONLINE_FLAG_IS_CLUSTERED : u32 = 1u32 ; pub const TRANSACTION_NOTIFY_COMMIT : u32 = 4u32 ; pub const TRANSACTION_NOTIFY_COMMIT_COMPLETE : u32 = 64u32 ; pub const TRANSACTION_NOTIFY_COMMIT_FINALIZE : u32 = 1073741824u32 ; pub const TRANSACTION_NOTIFY_COMMIT_REQUEST : u32 = 67108864u32 ; pub const TRANSACTION_NOTIFY_DELEGATE_COMMIT : u32 = 1024u32 ; pub const TRANSACTION_NOTIFY_ENLIST_MASK : u32 = 262144u32 ; pub const TRANSACTION_NOTIFY_ENLIST_PREPREPARE : u32 = 4096u32 ; pub const TRANSACTION_NOTIFY_INDOUBT : u32 = 16384u32 ; pub const TRANSACTION_NOTIFY_LAST_RECOVER : u32 = 8192u32 ; pub const TRANSACTION_NOTIFY_MARSHAL : u32 = 131072u32 ; pub const TRANSACTION_NOTIFY_MASK : u32 = 1073741823u32 ; pub const TRANSACTION_NOTIFY_PREPARE : u32 = 2u32 ; pub const TRANSACTION_NOTIFY_PREPARE_COMPLETE : u32 = 32u32 ; pub const TRANSACTION_NOTIFY_PREPREPARE : u32 = 1u32 ; pub const TRANSACTION_NOTIFY_PREPREPARE_COMPLETE : u32 = 16u32 ; pub const TRANSACTION_NOTIFY_PROMOTE : u32 = 134217728u32 ; pub const TRANSACTION_NOTIFY_PROMOTE_NEW : u32 = 268435456u32 ; pub const TRANSACTION_NOTIFY_PROPAGATE_PULL : u32 = 32768u32 ; pub const TRANSACTION_NOTIFY_PROPAGATE_PUSH : u32 = 65536u32 ; pub const TRANSACTION_NOTIFY_RECOVER : u32 = 256u32 ; pub const TRANSACTION_NOTIFY_RECOVER_QUERY : u32 = 2048u32 ; pub const TRANSACTION_NOTIFY_REQUEST_OUTCOME : u32 = 536870912u32 ; pub const TRANSACTION_NOTIFY_RM_DISCONNECTED : u32 = 16777216u32 ; pub const TRANSACTION_NOTIFY_ROLLBACK : u32 = 8u32 ; pub const TRANSACTION_NOTIFY_ROLLBACK_COMPLETE : u32 = 128u32 ; pub const TRANSACTION_NOTIFY_SINGLE_PHASE_COMMIT : u32 = 512u32 ; pub const TRANSACTION_NOTIFY_TM_ONLINE : u32 = 33554432u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct TRANSACTION_OUTCOME ( pub i32 ) ; pub const TransactionOutcomeUndetermined : TRANSACTION_OUTCOME = TRANSACTION_OUTCOME ( 1i32 ) ; pub const TransactionOutcomeCommitted : TRANSACTION_OUTCOME = TRANSACTION_OUTCOME ( 2i32 ) ; pub const TransactionOutcomeAborted : TRANSACTION_OUTCOME = TRANSACTION_OUTCOME ( 3i32 ) ; impl :: std :: convert :: From < i32 > for TRANSACTION_OUTCOME { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for TRANSACTION_OUTCOME { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct TXFS_CREATE_MINIVERSION_INFO { pub StructureVersion : u16 , pub StructureLength : u16 , pub BaseVersion : u32 , pub MiniVersion : u16 } impl TXFS_CREATE_MINIVERSION_INFO { } impl :: std :: default :: Default for TXFS_CREATE_MINIVERSION_INFO { fn default ( ) -> Self { Self { StructureVersion : 0 , StructureLength : 0 , BaseVersion : 0 , MiniVersion : 0 } } } impl :: std :: fmt :: Debug for TXFS_CREATE_MINIVERSION_INFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "TXFS_CREATE_MINIVERSION_INFO" ) . field ( "StructureVersion" , & self . StructureVersion ) . field ( "StructureLength" , & self . StructureLength ) . field ( "BaseVersion" , & self . BaseVersion ) . field ( "MiniVersion" , & self . MiniVersion ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TXFS_CREATE_MINIVERSION_INFO { fn eq ( & self , other : & Self ) -> bool { self . StructureVersion == other . StructureVersion && self . StructureLength == other . StructureLength && self . BaseVersion == other . BaseVersion && self . MiniVersion == other . MiniVersion } } impl :: std :: cmp :: Eq for TXFS_CREATE_MINIVERSION_INFO { } unsafe impl :: windows :: Abi for TXFS_CREATE_MINIVERSION_INFO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct TXFS_GET_METADATA_INFO_OUT { pub TxfFileId : TXFS_GET_METADATA_INFO_OUT_0 , pub LockingTransaction : :: windows :: Guid , pub LastLsn : u64 , pub TransactionState : u32 } impl TXFS_GET_METADATA_INFO_OUT { } impl :: std :: default :: Default for TXFS_GET_METADATA_INFO_OUT { fn default ( ) -> Self { Self { TxfFileId : :: std :: default :: Default :: default ( ) , LockingTransaction : :: std :: default :: Default :: default ( ) , LastLsn : 0 , TransactionState : 0 } } } impl :: std :: fmt :: Debug for TXFS_GET_METADATA_INFO_OUT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "TXFS_GET_METADATA_INFO_OUT" ) . field ( "TxfFileId" , & self . TxfFileId ) . field ( "LockingTransaction" , & self . LockingTransaction ) . field ( "LastLsn" , & self . LastLsn ) . field ( "TransactionState" , & self . TransactionState ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TXFS_GET_METADATA_INFO_OUT { fn eq ( & self , other : & Self ) -> bool { self . TxfFileId == other . TxfFileId && self . LockingTransaction == other . LockingTransaction && self . LastLsn == other . LastLsn && self . TransactionState == other . TransactionState } } impl :: std :: cmp :: Eq for TXFS_GET_METADATA_INFO_OUT { } unsafe impl :: windows :: Abi for TXFS_GET_METADATA_INFO_OUT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct TXFS_GET_METADATA_INFO_OUT_0 { pub LowPart : i64 , pub HighPart : i64 } impl TXFS_GET_METADATA_INFO_OUT_0 { } impl :: std :: default :: Default for TXFS_GET_METADATA_INFO_OUT_0 { fn default ( ) -> Self { Self { LowPart : 0 , HighPart : 0 } } } impl :: std :: fmt :: Debug for TXFS_GET_METADATA_INFO_OUT_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_TxfFileId_e__Struct" ) . field ( "LowPart" , & self . LowPart ) . field ( "HighPart" , & self . HighPart ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TXFS_GET_METADATA_INFO_OUT_0 { fn eq ( & self , other : & Self ) -> bool { self . LowPart == other . LowPart && self . HighPart == other . HighPart } } impl :: std :: cmp :: Eq for TXFS_GET_METADATA_INFO_OUT_0 { } unsafe impl :: windows :: Abi for TXFS_GET_METADATA_INFO_OUT_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct TXFS_GET_TRANSACTED_VERSION { pub ThisBaseVersion : u32 , pub LatestVersion : u32 , pub ThisMiniVersion : u16 , pub FirstMiniVersion : u16 , pub LatestMiniVersion : u16 } impl TXFS_GET_TRANSACTED_VERSION { } impl :: std :: default :: Default for TXFS_GET_TRANSACTED_VERSION { fn default ( ) -> Self { Self { ThisBaseVersion : 0 , LatestVersion : 0 , ThisMiniVersion : 0 , FirstMiniVersion : 0 , LatestMiniVersion : 0 } } } impl :: std :: fmt :: Debug for TXFS_GET_TRANSACTED_VERSION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "TXFS_GET_TRANSACTED_VERSION" ) . field ( "ThisBaseVersion" , & self . ThisBaseVersion ) . field ( "LatestVersion" , & self . LatestVersion ) . field ( "ThisMiniVersion" , & self . ThisMiniVersion ) . field ( "FirstMiniVersion" , & self . FirstMiniVersion ) . field ( "LatestMiniVersion" , & self . LatestMiniVersion ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TXFS_GET_TRANSACTED_VERSION { fn eq ( & self , other : & Self ) -> bool { self . ThisBaseVersion == other . ThisBaseVersion && self . LatestVersion == other . LatestVersion && self . ThisMiniVersion == other . ThisMiniVersion && self . FirstMiniVersion == other . FirstMiniVersion && self . LatestMiniVersion == other . LatestMiniVersion } } impl :: std :: cmp :: Eq for TXFS_GET_TRANSACTED_VERSION { } unsafe impl :: windows :: Abi for TXFS_GET_TRANSACTED_VERSION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct TXFS_LIST_TRANSACTIONS { pub NumberOfTransactions : u64 , pub BufferSizeRequired : u64 } impl TXFS_LIST_TRANSACTIONS { } impl :: std :: default :: Default for TXFS_LIST_TRANSACTIONS { fn default ( ) -> Self { Self { NumberOfTransactions : 0 , BufferSizeRequired : 0 } } } impl :: std :: fmt :: Debug for TXFS_LIST_TRANSACTIONS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "TXFS_LIST_TRANSACTIONS" ) . field ( "NumberOfTransactions" , & self . NumberOfTransactions ) . field ( "BufferSizeRequired" , & self . BufferSizeRequired ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TXFS_LIST_TRANSACTIONS { fn eq ( & self , other : & Self ) -> bool { self . NumberOfTransactions == other . NumberOfTransactions && self . BufferSizeRequired == other . BufferSizeRequired } } impl :: std :: cmp :: Eq for TXFS_LIST_TRANSACTIONS { } unsafe impl :: windows :: Abi for TXFS_LIST_TRANSACTIONS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct TXFS_LIST_TRANSACTIONS_ENTRY { pub TransactionId : :: windows :: Guid , pub TransactionState : u32 , pub Reserved1 : u32 , pub Reserved2 : u32 , pub Reserved3 : i64 } impl TXFS_LIST_TRANSACTIONS_ENTRY { } impl :: std :: default :: Default for TXFS_LIST_TRANSACTIONS_ENTRY { fn default ( ) -> Self { Self { TransactionId : :: std :: default :: Default :: default ( ) , TransactionState : 0 , Reserved1 : 0 , Reserved2 : 0 , Reserved3 : 0 } } } impl :: std :: fmt :: Debug for TXFS_LIST_TRANSACTIONS_ENTRY { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "TXFS_LIST_TRANSACTIONS_ENTRY" ) . field ( "TransactionId" , & self . TransactionId ) . field ( "TransactionState" , & self . TransactionState ) . field ( "Reserved1" , & self . Reserved1 ) . field ( "Reserved2" , & self . Reserved2 ) . field ( "Reserved3" , & self . Reserved3 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TXFS_LIST_TRANSACTIONS_ENTRY { fn eq ( & self , other : & Self ) -> bool { self . TransactionId == other . TransactionId && self . TransactionState == other . TransactionState && self . Reserved1 == other . Reserved1 && self . Reserved2 == other . Reserved2 && self . Reserved3 == other . Reserved3 } } impl :: std :: cmp :: Eq for TXFS_LIST_TRANSACTIONS_ENTRY { } unsafe impl :: windows :: Abi for TXFS_LIST_TRANSACTIONS_ENTRY { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct TXFS_LIST_TRANSACTION_LOCKED_FILES { pub KtmTransaction : :: windows :: Guid , pub NumberOfFiles : u64 , pub BufferSizeRequired : u64 , pub Offset : u64 } impl TXFS_LIST_TRANSACTION_LOCKED_FILES { } impl :: std :: default :: Default for TXFS_LIST_TRANSACTION_LOCKED_FILES { fn default ( ) -> Self { Self { KtmTransaction : :: std :: default :: Default :: default ( ) , NumberOfFiles : 0 , BufferSizeRequired : 0 , Offset : 0 } } } impl :: std :: fmt :: Debug for TXFS_LIST_TRANSACTION_LOCKED_FILES { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "TXFS_LIST_TRANSACTION_LOCKED_FILES" ) . field ( "KtmTransaction" , & self . KtmTransaction ) . field ( "NumberOfFiles" , & self . NumberOfFiles ) . field ( "BufferSizeRequired" , & self . BufferSizeRequired ) . field ( "Offset" , & self . Offset ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TXFS_LIST_TRANSACTION_LOCKED_FILES { fn eq ( & self , other : & Self ) -> bool { self . KtmTransaction == other . KtmTransaction && self . NumberOfFiles == other . NumberOfFiles && self . BufferSizeRequired == other . BufferSizeRequired && self . Offset == other . Offset } } impl :: std :: cmp :: Eq for TXFS_LIST_TRANSACTION_LOCKED_FILES { } unsafe impl :: windows :: Abi for TXFS_LIST_TRANSACTION_LOCKED_FILES { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct TXFS_LIST_TRANSACTION_LOCKED_FILES_ENTRY { pub Offset : u64 , pub NameFlags : u32 , pub FileId : i64 , pub Reserved1 : u32 , pub Reserved2 : u32 , pub Reserved3 : i64 , pub FileName : [ u16 ;1 ] } impl TXFS_LIST_TRANSACTION_LOCKED_FILES_ENTRY { } impl :: std :: default :: Default for TXFS_LIST_TRANSACTION_LOCKED_FILES_ENTRY { fn default ( ) -> Self { Self { Offset : 0 , NameFlags : 0 , FileId : 0 , Reserved1 : 0 , Reserved2 : 0 , Reserved3 : 0 , FileName : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for TXFS_LIST_TRANSACTION_LOCKED_FILES_ENTRY { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "TXFS_LIST_TRANSACTION_LOCKED_FILES_ENTRY" ) . field ( "Offset" , & self . Offset ) . field ( "NameFlags" , & self . NameFlags ) . field ( "FileId" , & self . FileId ) . field ( "Reserved1" , & self . Reserved1 ) . field ( "Reserved2" , & self . Reserved2 ) . field ( "Reserved3" , & self . Reserved3 ) . field ( "FileName" , & self . FileName ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TXFS_LIST_TRANSACTION_LOCKED_FILES_ENTRY { fn eq ( & self , other : & Self ) -> bool { self . Offset == other . Offset && self . NameFlags == other . NameFlags && self . FileId == other . FileId && self . Reserved1 == other . Reserved1 && self . Reserved2 == other . Reserved2 && self . Reserved3 == other . Reserved3 && self . FileName == other . FileName } } impl :: std :: cmp :: Eq for TXFS_LIST_TRANSACTION_LOCKED_FILES_ENTRY { } unsafe impl :: windows :: Abi for TXFS_LIST_TRANSACTION_LOCKED_FILES_ENTRY { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct TXFS_MINIVERSION ( pub u32 ) ; pub const TXFS_MINIVERSION_COMMITTED_VIEW : TXFS_MINIVERSION = TXFS_MINIVERSION ( 0u32 ) ; pub const TXFS_MINIVERSION_DIRTY_VIEW : TXFS_MINIVERSION = TXFS_MINIVERSION ( 65535u32 ) ; pub const TXFS_MINIVERSION_DEFAULT_VIEW : TXFS_MINIVERSION = TXFS_MINIVERSION ( 65534u32 ) ; impl :: std :: convert :: From < u32 > for TXFS_MINIVERSION { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for TXFS_MINIVERSION { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for TXFS_MINIVERSION { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for TXFS_MINIVERSION { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for TXFS_MINIVERSION { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for TXFS_MINIVERSION { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct TXFS_MODIFY_RM { pub Flags : TXFS_RMF_LAGS , pub LogContainerCountMax : u32 , pub LogContainerCountMin : u32 , pub LogContainerCount : u32 , pub LogGrowthIncrement : u32 , pub LogAutoShrinkPercentage : u32 , pub Reserved : u64 , pub LoggingMode : u16 } impl TXFS_MODIFY_RM { } impl :: std :: default :: Default for TXFS_MODIFY_RM { fn default ( ) -> Self { Self { Flags : :: std :: default :: Default :: default ( ) , LogContainerCountMax : 0 , LogContainerCountMin : 0 , LogContainerCount : 0 , LogGrowthIncrement : 0 , LogAutoShrinkPercentage : 0 , Reserved : 0 , LoggingMode : 0 } } } impl :: std :: fmt :: Debug for TXFS_MODIFY_RM { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "TXFS_MODIFY_RM" ) . field ( "Flags" , & self . Flags ) . field ( "LogContainerCountMax" , & self . LogContainerCountMax ) . field ( "LogContainerCountMin" , & self . LogContainerCountMin ) . field ( "LogContainerCount" , & self . LogContainerCount ) . field ( "LogGrowthIncrement" , & self . LogGrowthIncrement ) . field ( "LogAutoShrinkPercentage" , & self . LogAutoShrinkPercentage ) . field ( "Reserved" , & self . Reserved ) . field ( "LoggingMode" , & self . LoggingMode ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TXFS_MODIFY_RM { fn eq ( & self , other : & Self ) -> bool { self . Flags == other . Flags && self . LogContainerCountMax == other . LogContainerCountMax && self . LogContainerCountMin == other . LogContainerCountMin && self . LogContainerCount == other . LogContainerCount && self . LogGrowthIncrement == other . LogGrowthIncrement && self . LogAutoShrinkPercentage == other . LogAutoShrinkPercentage && self . Reserved == other . Reserved && self . LoggingMode == other . LoggingMode } } impl :: std :: cmp :: Eq for TXFS_MODIFY_RM { } unsafe impl :: windows :: Abi for TXFS_MODIFY_RM { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct TXFS_QUERY_RM_INFORMATION { pub BytesRequired : u32 , pub TailLsn : u64 , pub CurrentLsn : u64 , pub ArchiveTailLsn : u64 , pub LogContainerSize : u64 , pub HighestVirtualClock : i64 , pub LogContainerCount : u32 , pub LogContainerCountMax : u32 , pub LogContainerCountMin : u32 , pub LogGrowthIncrement : u32 , pub LogAutoShrinkPercentage : u32 , pub Flags : TXFS_RMF_LAGS , pub LoggingMode : u16 , pub Reserved : u16 , pub RmState : u32 , pub LogCapacity : u64 , pub LogFree : u64 , pub TopsSize : u64 , pub TopsUsed : u64 , pub TransactionCount : u64 , pub OnePCCount : u64 , pub TwoPCCount : u64 , pub NumberLogFileFull : u64 , pub OldestTransactionAge : u64 , pub RMName : :: windows :: Guid , pub TmLogPathOffset : u32 } impl TXFS_QUERY_RM_INFORMATION { } impl :: std :: default :: Default for TXFS_QUERY_RM_INFORMATION { fn default ( ) -> Self { Self { BytesRequired : 0 , TailLsn : 0 , CurrentLsn : 0 , ArchiveTailLsn : 0 , LogContainerSize : 0 , HighestVirtualClock : 0 , LogContainerCount : 0 , LogContainerCountMax : 0 , LogContainerCountMin : 0 , LogGrowthIncrement : 0 , LogAutoShrinkPercentage : 0 , Flags : :: std :: default :: Default :: default ( ) , LoggingMode : 0 , Reserved : 0 , RmState : 0 , LogCapacity : 0 , LogFree : 0 , TopsSize : 0 , TopsUsed : 0 , TransactionCount : 0 , OnePCCount : 0 , TwoPCCount : 0 , NumberLogFileFull : 0 , OldestTransactionAge : 0 , RMName : :: std :: default :: Default :: default ( ) , TmLogPathOffset : 0 } } } impl :: std :: fmt :: Debug for TXFS_QUERY_RM_INFORMATION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "TXFS_QUERY_RM_INFORMATION" ) . field ( "BytesRequired" , & self . BytesRequired ) . field ( "TailLsn" , & self . TailLsn ) . field ( "CurrentLsn" , & self . CurrentLsn ) . field ( "ArchiveTailLsn" , & self . ArchiveTailLsn ) . field ( "LogContainerSize" , & self . LogContainerSize ) . field ( "HighestVirtualClock" , & self . HighestVirtualClock ) . field ( "LogContainerCount" , & self . LogContainerCount ) . field ( "LogContainerCountMax" , & self . LogContainerCountMax ) . field ( "LogContainerCountMin" , & self . LogContainerCountMin ) . field ( "LogGrowthIncrement" , & self . LogGrowthIncrement ) . field ( "LogAutoShrinkPercentage" , & self . LogAutoShrinkPercentage ) . field ( "Flags" , & self . Flags ) . field ( "LoggingMode" , & self . LoggingMode ) . field ( "Reserved" , & self . Reserved ) . field ( "RmState" , & self . RmState ) . field ( "LogCapacity" , & self . LogCapacity ) . field ( "LogFree" , & self . LogFree ) . field ( "TopsSize" , & self . TopsSize ) . field ( "TopsUsed" , & self . TopsUsed ) . field ( "TransactionCount" , & self . TransactionCount ) . field ( "OnePCCount" , & self . OnePCCount ) . field ( "TwoPCCount" , & self . TwoPCCount ) . field ( "NumberLogFileFull" , & self . NumberLogFileFull ) . field ( "OldestTransactionAge" , & self . OldestTransactionAge ) . field ( "RMName" , & self . RMName ) . field ( "TmLogPathOffset" , & self . TmLogPathOffset ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TXFS_QUERY_RM_INFORMATION { fn eq ( & self , other : & Self ) -> bool { self . BytesRequired == other . BytesRequired && self . TailLsn == other . TailLsn && self . CurrentLsn == other . CurrentLsn && self . ArchiveTailLsn == other . ArchiveTailLsn && self . LogContainerSize == other . LogContainerSize && self . HighestVirtualClock == other . HighestVirtualClock && self . LogContainerCount == other . LogContainerCount && self . LogContainerCountMax == other . LogContainerCountMax && self . LogContainerCountMin == other . LogContainerCountMin && self . LogGrowthIncrement == other . LogGrowthIncrement && self . LogAutoShrinkPercentage == other . LogAutoShrinkPercentage && self . Flags == other . Flags && self . LoggingMode == other . LoggingMode && self . Reserved == other . Reserved && self . RmState == other . RmState && self . LogCapacity == other . LogCapacity && self . LogFree == other . LogFree && self . TopsSize == other . TopsSize && self . TopsUsed == other . TopsUsed && self . TransactionCount == other . TransactionCount && self . OnePCCount == other . OnePCCount && self . TwoPCCount == other . TwoPCCount && self . NumberLogFileFull == other . NumberLogFileFull && self . OldestTransactionAge == other . OldestTransactionAge && self . RMName == other . RMName && self . TmLogPathOffset == other . TmLogPathOffset } } impl :: std :: cmp :: Eq for TXFS_QUERY_RM_INFORMATION { } unsafe impl :: windows :: Abi for TXFS_QUERY_RM_INFORMATION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct TXFS_READ_BACKUP_INFORMATION_OUT { pub Anonymous : TXFS_READ_BACKUP_INFORMATION_OUT_0 } impl TXFS_READ_BACKUP_INFORMATION_OUT { } impl :: std :: cmp :: PartialEq for TXFS_READ_BACKUP_INFORMATION_OUT { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for TXFS_READ_BACKUP_INFORMATION_OUT { } unsafe impl :: windows :: Abi for TXFS_READ_BACKUP_INFORMATION_OUT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union TXFS_READ_BACKUP_INFORMATION_OUT_0 { pub BufferLength : u32 , pub Buffer : [ u8 ;1 ] } impl TXFS_READ_BACKUP_INFORMATION_OUT_0 { } impl :: std :: cmp :: PartialEq for TXFS_READ_BACKUP_INFORMATION_OUT_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for TXFS_READ_BACKUP_INFORMATION_OUT_0 { } unsafe impl :: windows :: Abi for TXFS_READ_BACKUP_INFORMATION_OUT_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct TXFS_RMF_LAGS ( pub u32 ) ; pub const TXFS_RM_FLAG_LOGGING_MODE : TXFS_RMF_LAGS = TXFS_RMF_LAGS ( 1u32 ) ; pub const TXFS_RM_FLAG_RENAME_RM : TXFS_RMF_LAGS = TXFS_RMF_LAGS ( 2u32 ) ; pub const TXFS_RM_FLAG_LOG_CONTAINER_COUNT_MAX : TXFS_RMF_LAGS = TXFS_RMF_LAGS ( 4u32 ) ; pub const TXFS_RM_FLAG_LOG_CONTAINER_COUNT_MIN : TXFS_RMF_LAGS = TXFS_RMF_LAGS ( 8u32 ) ; pub const TXFS_RM_FLAG_LOG_GROWTH_INCREMENT_NUM_CONTAINERS : TXFS_RMF_LAGS = TXFS_RMF_LAGS ( 16u32 ) ; pub const TXFS_RM_FLAG_LOG_GROWTH_INCREMENT_PERCENT : TXFS_RMF_LAGS = TXFS_RMF_LAGS ( 32u32 ) ; pub const TXFS_RM_FLAG_LOG_AUTO_SHRINK_PERCENTAGE : TXFS_RMF_LAGS = TXFS_RMF_LAGS ( 64u32 ) ; pub const TXFS_RM_FLAG_LOG_NO_CONTAINER_COUNT_MAX : TXFS_RMF_LAGS = TXFS_RMF_LAGS ( 128u32 ) ; pub const TXFS_RM_FLAG_LOG_NO_CONTAINER_COUNT_MIN : TXFS_RMF_LAGS = TXFS_RMF_LAGS ( 256u32 ) ; pub const TXFS_RM_FLAG_GROW_LOG : TXFS_RMF_LAGS = TXFS_RMF_LAGS ( 1024u32 ) ; pub const TXFS_RM_FLAG_SHRINK_LOG : TXFS_RMF_LAGS = TXFS_RMF_LAGS ( 2048u32 ) ; pub const TXFS_RM_FLAG_ENFORCE_MINIMUM_SIZE : TXFS_RMF_LAGS = TXFS_RMF_LAGS ( 4096u32 ) ; pub const TXFS_RM_FLAG_PRESERVE_CHANGES : TXFS_RMF_LAGS = TXFS_RMF_LAGS ( 8192u32 ) ; pub const TXFS_RM_FLAG_RESET_RM_AT_NEXT_START : TXFS_RMF_LAGS = TXFS_RMF_LAGS ( 16384u32 ) ; pub const TXFS_RM_FLAG_DO_NOT_RESET_RM_AT_NEXT_START : TXFS_RMF_LAGS = TXFS_RMF_LAGS ( 32768u32 ) ; pub const TXFS_RM_FLAG_PREFER_CONSISTENCY : TXFS_RMF_LAGS = TXFS_RMF_LAGS ( 65536u32 ) ; pub const TXFS_RM_FLAG_PREFER_AVAILABILITY : TXFS_RMF_LAGS = TXFS_RMF_LAGS ( 131072u32 ) ; impl :: std :: convert :: From < u32 > for TXFS_RMF_LAGS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for TXFS_RMF_LAGS { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for TXFS_RMF_LAGS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for TXFS_RMF_LAGS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for TXFS_RMF_LAGS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for TXFS_RMF_LAGS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct TXFS_SAVEPOINT_INFORMATION { pub KtmTransaction : super::super::Foundation:: HANDLE , pub ActionCode : u32 , pub SavepointId : u32 } impl TXFS_SAVEPOINT_INFORMATION { } impl :: std :: default :: Default for TXFS_SAVEPOINT_INFORMATION { fn default ( ) -> Self { Self { KtmTransaction : :: std :: default :: Default :: default ( ) , ActionCode : 0 , SavepointId : 0 } } } impl :: std :: fmt :: Debug for TXFS_SAVEPOINT_INFORMATION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "TXFS_SAVEPOINT_INFORMATION" ) . field ( "KtmTransaction" , & self . KtmTransaction ) . field ( "ActionCode" , & self . ActionCode ) . field ( "SavepointId" , & self . SavepointId ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TXFS_SAVEPOINT_INFORMATION { fn eq ( & self , other : & Self ) -> bool { self . KtmTransaction == other . KtmTransaction && self . ActionCode == other . ActionCode && self . SavepointId == other . SavepointId } } impl :: std :: cmp :: Eq for TXFS_SAVEPOINT_INFORMATION { } unsafe impl :: windows :: Abi for TXFS_SAVEPOINT_INFORMATION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct TXFS_TRANSACTION_ACTIVE_INFO { pub TransactionsActiveAtSnapshot : u8 } impl TXFS_TRANSACTION_ACTIVE_INFO { } impl :: std :: default :: Default for TXFS_TRANSACTION_ACTIVE_INFO { fn default ( ) -> Self { Self { TransactionsActiveAtSnapshot : 0 } } } impl :: std :: fmt :: Debug for TXFS_TRANSACTION_ACTIVE_INFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "TXFS_TRANSACTION_ACTIVE_INFO" ) . field ( "TransactionsActiveAtSnapshot" , & self . TransactionsActiveAtSnapshot ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TXFS_TRANSACTION_ACTIVE_INFO { fn eq ( & self , other : & Self ) -> bool { self . TransactionsActiveAtSnapshot == other . TransactionsActiveAtSnapshot } } impl :: std :: cmp :: Eq for TXFS_TRANSACTION_ACTIVE_INFO { } unsafe impl :: windows :: Abi for TXFS_TRANSACTION_ACTIVE_INFO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct TXFS_WRITE_BACKUP_INFORMATION { pub Buffer : [ u8 ;1 ] } impl TXFS_WRITE_BACKUP_INFORMATION { } impl :: std :: default :: Default for TXFS_WRITE_BACKUP_INFORMATION { fn default ( ) -> Self { Self { Buffer : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for TXFS_WRITE_BACKUP_INFORMATION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "TXFS_WRITE_BACKUP_INFORMATION" ) . field ( "Buffer" , & self . Buffer ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TXFS_WRITE_BACKUP_INFORMATION { fn eq ( & self , other : & Self ) -> bool { self . Buffer == other . Buffer } } impl :: std :: cmp :: Eq for TXFS_WRITE_BACKUP_INFORMATION { } unsafe impl :: windows :: Abi for TXFS_WRITE_BACKUP_INFORMATION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct TXF_ID { pub Anonymous : TXF_ID_0 } impl TXF_ID { } impl :: std :: cmp :: PartialEq for TXF_ID { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for TXF_ID { } unsafe impl :: windows :: Abi for TXF_ID { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 4 ) ) ] pub struct TXF_ID_0 { pub LowPart : i64 , pub HighPart : i64 } impl TXF_ID_0 { } impl :: std :: cmp :: PartialEq for TXF_ID_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for TXF_ID_0 { } unsafe impl :: windows :: Abi for TXF_ID_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct TXF_LOG_RECORD_AFFECTED_FILE { pub Version : u16 , pub RecordLength : u32 , pub Flags : u32 , pub TxfFileId : TXF_ID , pub KtmGuid : :: windows :: Guid , pub FileNameLength : u32 , pub FileNameByteOffsetInStructure : u32 } impl TXF_LOG_RECORD_AFFECTED_FILE { } impl :: std :: cmp :: PartialEq for TXF_LOG_RECORD_AFFECTED_FILE { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for TXF_LOG_RECORD_AFFECTED_FILE { } unsafe impl :: windows :: Abi for TXF_LOG_RECORD_AFFECTED_FILE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct TXF_LOG_RECORD_BASE { pub Version : u16 , pub RecordType : TXF_LOG_RECORD_TYPE , pub RecordLength : u32 } impl TXF_LOG_RECORD_BASE { } impl :: std :: default :: Default for TXF_LOG_RECORD_BASE { fn default ( ) -> Self { Self { Version : 0 , RecordType : :: std :: default :: Default :: default ( ) , RecordLength : 0 } } } impl :: std :: fmt :: Debug for TXF_LOG_RECORD_BASE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "TXF_LOG_RECORD_BASE" ) . field ( "Version" , & self . Version ) . field ( "RecordType" , & self . RecordType ) . field ( "RecordLength" , & self . RecordLength ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TXF_LOG_RECORD_BASE { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . RecordType == other . RecordType && self . RecordLength == other . RecordLength } } impl :: std :: cmp :: Eq for TXF_LOG_RECORD_BASE { } unsafe impl :: windows :: Abi for TXF_LOG_RECORD_BASE { type Abi = Self ; type DefaultType = Self ; } pub const TXF_LOG_RECORD_GENERIC_TYPE_ABORT : u32 = 2u32 ; pub const TXF_LOG_RECORD_GENERIC_TYPE_COMMIT : u32 = 1u32 ; pub const TXF_LOG_RECORD_GENERIC_TYPE_DATA : u32 = 8u32 ; pub const TXF_LOG_RECORD_GENERIC_TYPE_PREPARE : u32 = 4u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 4 ) ) ] pub struct TXF_LOG_RECORD_TRUNCATE { pub Version : u16 , pub RecordType : u16 , pub RecordLength : u32 , pub Flags : u32 , pub TxfFileId : TXF_ID , pub KtmGuid : :: windows :: Guid , pub NewFileSize : i64 , pub FileNameLength : u32 , pub FileNameByteOffsetInStructure : u32 } impl TXF_LOG_RECORD_TRUNCATE { } impl :: std :: cmp :: PartialEq for TXF_LOG_RECORD_TRUNCATE { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for TXF_LOG_RECORD_TRUNCATE { } unsafe impl :: windows :: Abi for TXF_LOG_RECORD_TRUNCATE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct TXF_LOG_RECORD_TYPE ( pub u32 ) ; pub const TXF_LOG_RECORD_TYPE_AFFECTED_FILE : TXF_LOG_RECORD_TYPE = TXF_LOG_RECORD_TYPE ( 4u32 ) ; pub const TXF_LOG_RECORD_TYPE_TRUNCATE : TXF_LOG_RECORD_TYPE = TXF_LOG_RECORD_TYPE ( 2u32 ) ; pub const TXF_LOG_RECORD_TYPE_WRITE : TXF_LOG_RECORD_TYPE = TXF_LOG_RECORD_TYPE ( 1u32 ) ; impl :: std :: convert :: From < u32 > for TXF_LOG_RECORD_TYPE { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for TXF_LOG_RECORD_TYPE { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for TXF_LOG_RECORD_TYPE { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for TXF_LOG_RECORD_TYPE { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for TXF_LOG_RECORD_TYPE { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for TXF_LOG_RECORD_TYPE { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 4 ) ) ] pub struct TXF_LOG_RECORD_WRITE { pub Version : u16 , pub RecordType : u16 , pub RecordLength : u32 , pub Flags : u32 , pub TxfFileId : TXF_ID , pub KtmGuid : :: windows :: Guid , pub ByteOffsetInFile : i64 , pub NumBytesWritten : u32 , pub ByteOffsetInStructure : u32 , pub FileNameLength : u32 , pub FileNameByteOffsetInStructure : u32 } impl TXF_LOG_RECORD_WRITE { } impl :: std :: cmp :: PartialEq for TXF_LOG_RECORD_WRITE { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for TXF_LOG_RECORD_WRITE { } unsafe impl :: windows :: Abi for TXF_LOG_RECORD_WRITE { type Abi = Self ; type DefaultType = Self ; } pub unsafe fn TerminateLogArchive < > ( pvarchivecontext : * mut :: std :: ffi :: c_void , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="clfsw32" ) ] extern "system" { fn TerminateLogArchive ( pvarchivecontext : * mut :: std :: ffi :: c_void ) -> super::super::Foundation:: BOOL ; } TerminateLogArchive ( :: std :: mem :: transmute ( pvarchivecontext ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn TerminateReadLog < > ( pvcursorcontext : * mut :: std :: ffi :: c_void , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="clfsw32" ) ] extern "system" { fn TerminateReadLog ( pvcursorcontext : * mut :: std :: ffi :: c_void ) -> super::super::Foundation:: BOOL ; } TerminateReadLog ( :: std :: mem :: transmute ( pvcursorcontext ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn TruncateLog < > ( pvmarshal : * mut :: std :: ffi :: c_void , plsnend : * mut CLS_LSN , lpoverlapped : * mut super::super::System::SystemServices:: OVERLAPPED , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="clfsw32" ) ] extern "system" { fn TruncateLog ( pvmarshal : * mut :: std :: ffi :: c_void , plsnend : * mut CLS_LSN , lpoverlapped : * mut super::super::System::SystemServices:: OVERLAPPED ) -> super::super::Foundation:: BOOL ; } TruncateLog ( :: std :: mem :: transmute ( pvmarshal ) , :: std :: mem :: transmute ( plsnend ) , :: std :: mem :: transmute ( lpoverlapped ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn TxfGetThreadMiniVersionForCreate < > ( miniversion : * mut u16 , ) { # [ cfg ( windows ) ] { # [ link ( name ="txfw32" ) ] extern "system" { fn TxfGetThreadMiniVersionForCreate ( miniversion : * mut u16 ) ; } TxfGetThreadMiniVersionForCreate ( :: std :: mem :: transmute ( miniversion ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn TxfLogCreateFileReadContext < 'a , > ( logpath : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , beginninglsn : impl :: windows :: IntoParam < 'a , CLS_LSN > , endinglsn : impl :: windows :: IntoParam < 'a , CLS_LSN > , txffileid : * mut TXF_ID , txflogcontext : * mut * mut :: std :: ffi :: c_void , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="txfw32" ) ] extern "system" { fn TxfLogCreateFileReadContext ( logpath : super::super::Foundation:: PWSTR , beginninglsn : CLS_LSN , endinglsn : CLS_LSN , txffileid : * mut TXF_ID , txflogcontext : * mut * mut :: std :: ffi :: c_void ) -> super::super::Foundation:: BOOL ; } TxfLogCreateFileReadContext ( logpath . into_param ( ) . abi ( ) , beginninglsn . into_param ( ) . abi ( ) , endinglsn . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( txffileid ) , :: std :: mem :: transmute ( txflogcontext ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn TxfLogCreateRangeReadContext < 'a , > ( logpath : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , beginninglsn : impl :: windows :: IntoParam < 'a , CLS_LSN > , endinglsn : impl :: windows :: IntoParam < 'a , CLS_LSN > , beginningvirtualclock : * mut i64 , endingvirtualclock : * mut i64 , recordtypemask : u32 , txflogcontext : * mut * mut :: std :: ffi :: c_void , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="txfw32" ) ] extern "system" { fn TxfLogCreateRangeReadContext ( logpath : super::super::Foundation:: PWSTR , beginninglsn : CLS_LSN , endinglsn : CLS_LSN , beginningvirtualclock : * mut i64 , endingvirtualclock : * mut i64 , recordtypemask : u32 , txflogcontext : * mut * mut :: std :: ffi :: c_void ) -> super::super::Foundation:: BOOL ; } TxfLogCreateRangeReadContext ( logpath . into_param ( ) . abi ( ) , beginninglsn . into_param ( ) . abi ( ) , endinglsn . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( beginningvirtualclock ) , :: std :: mem :: transmute ( endingvirtualclock ) , :: std :: mem :: transmute ( recordtypemask ) , :: std :: mem :: transmute ( txflogcontext ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn TxfLogDestroyReadContext < > ( txflogcontext : * mut :: std :: ffi :: c_void , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="txfw32" ) ] extern "system" { fn TxfLogDestroyReadContext ( txflogcontext : * mut :: std :: ffi :: c_void ) -> super::super::Foundation:: BOOL ; } TxfLogDestroyReadContext ( :: std :: mem :: transmute ( txflogcontext ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn TxfLogReadRecords < > ( txflogcontext : * mut :: std :: ffi :: c_void , bufferlength : u32 , buffer : * mut :: std :: ffi :: c_void , bytesused : * mut u32 , recordcount : * mut u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="txfw32" ) ] extern "system" { fn TxfLogReadRecords ( txflogcontext : * mut :: std :: ffi :: c_void , bufferlength : u32 , buffer : * mut :: std :: ffi :: c_void , bytesused : * mut u32 , recordcount : * mut u32 ) -> super::super::Foundation:: BOOL ; } TxfLogReadRecords ( :: std :: mem :: transmute ( txflogcontext ) , :: std :: mem :: transmute ( bufferlength ) , :: std :: mem :: transmute ( buffer ) , :: std :: mem :: transmute ( bytesused ) , :: std :: mem :: transmute ( recordcount ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn TxfLogRecordGetFileName < > ( recordbuffer : * mut :: std :: ffi :: c_void , recordbufferlengthinbytes : u32 , namebuffer : super::super::Foundation:: PWSTR , namebufferlengthinbytes : * mut u32 , txfid : * mut TXF_ID , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="txfw32" ) ] extern "system" { fn TxfLogRecordGetFileName ( recordbuffer : * mut :: std :: ffi :: c_void , recordbufferlengthinbytes : u32 , namebuffer : super::super::Foundation:: PWSTR , namebufferlengthinbytes : * mut u32 , txfid : * mut TXF_ID ) -> super::super::Foundation:: BOOL ; } TxfLogRecordGetFileName ( :: std :: mem :: transmute ( recordbuffer ) , :: std :: mem :: transmute ( recordbufferlengthinbytes ) , :: std :: mem :: transmute ( namebuffer ) , :: std :: mem :: transmute ( namebufferlengthinbytes ) , :: std :: mem :: transmute ( txfid ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn TxfLogRecordGetGenericType < > ( recordbuffer : * mut :: std :: ffi :: c_void , recordbufferlengthinbytes : u32 , generictype : * mut u32 , virtualclock : * mut i64 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="txfw32" ) ] extern "system" { fn TxfLogRecordGetGenericType ( recordbuffer : * mut :: std :: ffi :: c_void , recordbufferlengthinbytes : u32 , generictype : * mut u32 , virtualclock : * mut i64 ) -> super::super::Foundation:: BOOL ; } TxfLogRecordGetGenericType ( :: std :: mem :: transmute ( recordbuffer ) , :: std :: mem :: transmute ( recordbufferlengthinbytes ) , :: std :: mem :: transmute ( generictype ) , :: std :: mem :: transmute ( virtualclock ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn TxfReadMetadataInfo < 'a , > ( filehandle : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , txffileid : * mut TXF_ID , lastlsn : * mut CLS_LSN , transactionstate : * mut u32 , lockingtransaction : * mut :: windows :: Guid , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="txfw32" ) ] extern "system" { fn TxfReadMetadataInfo ( filehandle : super::super::Foundation:: HANDLE , txffileid : * mut TXF_ID , lastlsn : * mut CLS_LSN , transactionstate : * mut u32 , lockingtransaction : * mut :: windows :: Guid ) -> super::super::Foundation:: BOOL ; } TxfReadMetadataInfo ( filehandle . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( txffileid ) , :: std :: mem :: transmute ( lastlsn ) , :: std :: mem :: transmute ( transactionstate ) , :: std :: mem :: transmute ( lockingtransaction ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn TxfSetThreadMiniVersionForCreate < > ( miniversion : u16 , ) { # [ cfg ( windows ) ] { # [ link ( name ="txfw32" ) ] extern "system" { fn TxfSetThreadMiniVersionForCreate ( miniversion : u16 ) ; } TxfSetThreadMiniVersionForCreate ( :: std :: mem :: transmute ( miniversion ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct USN_DELETE_FLAGS ( pub u32 ) ; pub const USN_DELETE_FLAG_DELETE : USN_DELETE_FLAGS = USN_DELETE_FLAGS ( 1u32 ) ; pub const USN_DELETE_FLAG_NOTIFY : USN_DELETE_FLAGS = USN_DELETE_FLAGS ( 2u32 ) ; impl :: std :: convert :: From < u32 > for USN_DELETE_FLAGS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for USN_DELETE_FLAGS { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for USN_DELETE_FLAGS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for USN_DELETE_FLAGS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for USN_DELETE_FLAGS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for USN_DELETE_FLAGS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct USN_JOURNAL_DATA_V0 { pub UsnJournalID : u64 , pub FirstUsn : i64 , pub NextUsn : i64 , pub LowestValidUsn : i64 , pub MaxUsn : i64 , pub MaximumSize : u64 , pub AllocationDelta : u64 } impl USN_JOURNAL_DATA_V0 { } impl :: std :: default :: Default for USN_JOURNAL_DATA_V0 { fn default ( ) -> Self { Self { UsnJournalID : 0 , FirstUsn : 0 , NextUsn : 0 , LowestValidUsn : 0 , MaxUsn : 0 , MaximumSize : 0 , AllocationDelta : 0 } } } impl :: std :: fmt :: Debug for USN_JOURNAL_DATA_V0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "USN_JOURNAL_DATA_V0" ) . field ( "UsnJournalID" , & self . UsnJournalID ) . field ( "FirstUsn" , & self . FirstUsn ) . field ( "NextUsn" , & self . NextUsn ) . field ( "LowestValidUsn" , & self . LowestValidUsn ) . field ( "MaxUsn" , & self . MaxUsn ) . field ( "MaximumSize" , & self . MaximumSize ) . field ( "AllocationDelta" , & self . AllocationDelta ) . finish ( ) } } impl :: std :: cmp :: PartialEq for USN_JOURNAL_DATA_V0 { fn eq ( & self , other : & Self ) -> bool { self . UsnJournalID == other . UsnJournalID && self . FirstUsn == other . FirstUsn && self . NextUsn == other . NextUsn && self . LowestValidUsn == other . LowestValidUsn && self . MaxUsn == other . MaxUsn && self . MaximumSize == other . MaximumSize && self . AllocationDelta == other . AllocationDelta } } impl :: std :: cmp :: Eq for USN_JOURNAL_DATA_V0 { } unsafe impl :: windows :: Abi for USN_JOURNAL_DATA_V0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct USN_JOURNAL_DATA_V1 { pub UsnJournalID : u64 , pub FirstUsn : i64 , pub NextUsn : i64 , pub LowestValidUsn : i64 , pub MaxUsn : i64 , pub MaximumSize : u64 , pub AllocationDelta : u64 , pub MinSupportedMajorVersion : u16 , pub MaxSupportedMajorVersion : u16 } impl USN_JOURNAL_DATA_V1 { } impl :: std :: default :: Default for USN_JOURNAL_DATA_V1 { fn default ( ) -> Self { Self { UsnJournalID : 0 , FirstUsn : 0 , NextUsn : 0 , LowestValidUsn : 0 , MaxUsn : 0 , MaximumSize : 0 , AllocationDelta : 0 , MinSupportedMajorVersion : 0 , MaxSupportedMajorVersion : 0 } } } impl :: std :: fmt :: Debug for USN_JOURNAL_DATA_V1 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "USN_JOURNAL_DATA_V1" ) . field ( "UsnJournalID" , & self . UsnJournalID ) . field ( "FirstUsn" , & self . FirstUsn ) . field ( "NextUsn" , & self . NextUsn ) . field ( "LowestValidUsn" , & self . LowestValidUsn ) . field ( "MaxUsn" , & self . MaxUsn ) . field ( "MaximumSize" , & self . MaximumSize ) . field ( "AllocationDelta" , & self . AllocationDelta ) . field ( "MinSupportedMajorVersion" , & self . MinSupportedMajorVersion ) . field ( "MaxSupportedMajorVersion" , & self . MaxSupportedMajorVersion ) . finish ( ) } } impl :: std :: cmp :: PartialEq for USN_JOURNAL_DATA_V1 { fn eq ( & self , other : & Self ) -> bool { self . UsnJournalID == other . UsnJournalID && self . FirstUsn == other . FirstUsn && self . NextUsn == other . NextUsn && self . LowestValidUsn == other . LowestValidUsn && self . MaxUsn == other . MaxUsn && self . MaximumSize == other . MaximumSize && self . AllocationDelta == other . AllocationDelta && self . MinSupportedMajorVersion == other . MinSupportedMajorVersion && self . MaxSupportedMajorVersion == other . MaxSupportedMajorVersion } } impl :: std :: cmp :: Eq for USN_JOURNAL_DATA_V1 { } unsafe impl :: windows :: Abi for USN_JOURNAL_DATA_V1 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct USN_JOURNAL_DATA_V2 { pub UsnJournalID : u64 , pub FirstUsn : i64 , pub NextUsn : i64 , pub LowestValidUsn : i64 , pub MaxUsn : i64 , pub MaximumSize : u64 , pub AllocationDelta : u64 , pub MinSupportedMajorVersion : u16 , pub MaxSupportedMajorVersion : u16 , pub Flags : u32 , pub RangeTrackChunkSize : u64 , pub RangeTrackFileSizeThreshold : i64 } impl USN_JOURNAL_DATA_V2 { } impl :: std :: default :: Default for USN_JOURNAL_DATA_V2 { fn default ( ) -> Self { Self { UsnJournalID : 0 , FirstUsn : 0 , NextUsn : 0 , LowestValidUsn : 0 , MaxUsn : 0 , MaximumSize : 0 , AllocationDelta : 0 , MinSupportedMajorVersion : 0 , MaxSupportedMajorVersion : 0 , Flags : 0 , RangeTrackChunkSize : 0 , RangeTrackFileSizeThreshold : 0 } } } impl :: std :: fmt :: Debug for USN_JOURNAL_DATA_V2 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "USN_JOURNAL_DATA_V2" ) . field ( "UsnJournalID" , & self . UsnJournalID ) . field ( "FirstUsn" , & self . FirstUsn ) . field ( "NextUsn" , & self . NextUsn ) . field ( "LowestValidUsn" , & self . LowestValidUsn ) . field ( "MaxUsn" , & self . MaxUsn ) . field ( "MaximumSize" , & self . MaximumSize ) . field ( "AllocationDelta" , & self . AllocationDelta ) . field ( "MinSupportedMajorVersion" , & self . MinSupportedMajorVersion ) . field ( "MaxSupportedMajorVersion" , & self . MaxSupportedMajorVersion ) . field ( "Flags" , & self . Flags ) . field ( "RangeTrackChunkSize" , & self . RangeTrackChunkSize ) . field ( "RangeTrackFileSizeThreshold" , & self . RangeTrackFileSizeThreshold ) . finish ( ) } } impl :: std :: cmp :: PartialEq for USN_JOURNAL_DATA_V2 { fn eq ( & self , other : & Self ) -> bool { self . UsnJournalID == other . UsnJournalID && self . FirstUsn == other . FirstUsn && self . NextUsn == other . NextUsn && self . LowestValidUsn == other . LowestValidUsn && self . MaxUsn == other . MaxUsn && self . MaximumSize == other . MaximumSize && self . AllocationDelta == other . AllocationDelta && self . MinSupportedMajorVersion == other . MinSupportedMajorVersion && self . MaxSupportedMajorVersion == other . MaxSupportedMajorVersion && self . Flags == other . Flags && self . RangeTrackChunkSize == other . RangeTrackChunkSize && self . RangeTrackFileSizeThreshold == other . RangeTrackFileSizeThreshold } } impl :: std :: cmp :: Eq for USN_JOURNAL_DATA_V2 { } unsafe impl :: windows :: Abi for USN_JOURNAL_DATA_V2 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct USN_RANGE_TRACK_OUTPUT { pub Usn : i64 } impl USN_RANGE_TRACK_OUTPUT { } impl :: std :: default :: Default for USN_RANGE_TRACK_OUTPUT { fn default ( ) -> Self { Self { Usn : 0 } } } impl :: std :: fmt :: Debug for USN_RANGE_TRACK_OUTPUT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "USN_RANGE_TRACK_OUTPUT" ) . field ( "Usn" , & self . Usn ) . finish ( ) } } impl :: std :: cmp :: PartialEq for USN_RANGE_TRACK_OUTPUT { fn eq ( & self , other : & Self ) -> bool { self . Usn == other . Usn } } impl :: std :: cmp :: Eq for USN_RANGE_TRACK_OUTPUT { } unsafe impl :: windows :: Abi for USN_RANGE_TRACK_OUTPUT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct USN_RECORD_COMMON_HEADER { pub RecordLength : u32 , pub MajorVersion : u16 , pub MinorVersion : u16 } impl USN_RECORD_COMMON_HEADER { } impl :: std :: default :: Default for USN_RECORD_COMMON_HEADER { fn default ( ) -> Self { Self { RecordLength : 0 , MajorVersion : 0 , MinorVersion : 0 } } } impl :: std :: fmt :: Debug for USN_RECORD_COMMON_HEADER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "USN_RECORD_COMMON_HEADER" ) . field ( "RecordLength" , & self . RecordLength ) . field ( "MajorVersion" , & self . MajorVersion ) . field ( "MinorVersion" , & self . MinorVersion ) . finish ( ) } } impl :: std :: cmp :: PartialEq for USN_RECORD_COMMON_HEADER { fn eq ( & self , other : & Self ) -> bool { self . RecordLength == other . RecordLength && self . MajorVersion == other . MajorVersion && self . MinorVersion == other . MinorVersion } } impl :: std :: cmp :: Eq for USN_RECORD_COMMON_HEADER { } unsafe impl :: windows :: Abi for USN_RECORD_COMMON_HEADER { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct USN_RECORD_EXTENT { pub Offset : i64 , pub Length : i64 } impl USN_RECORD_EXTENT { } impl :: std :: default :: Default for USN_RECORD_EXTENT { fn default ( ) -> Self { Self { Offset : 0 , Length : 0 } } } impl :: std :: fmt :: Debug for USN_RECORD_EXTENT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "USN_RECORD_EXTENT" ) . field ( "Offset" , & self . Offset ) . field ( "Length" , & self . Length ) . finish ( ) } } impl :: std :: cmp :: PartialEq for USN_RECORD_EXTENT { fn eq ( & self , other : & Self ) -> bool { self . Offset == other . Offset && self . Length == other . Length } } impl :: std :: cmp :: Eq for USN_RECORD_EXTENT { } unsafe impl :: windows :: Abi for USN_RECORD_EXTENT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct USN_RECORD_V2 { pub RecordLength : u32 , pub MajorVersion : u16 , pub MinorVersion : u16 , pub FileReferenceNumber : u64 , pub ParentFileReferenceNumber : u64 , pub Usn : i64 , pub TimeStamp : i64 , pub Reason : u32 , pub SourceInfo : u32 , pub SecurityId : u32 , pub FileAttributes : u32 , pub FileNameLength : u16 , pub FileNameOffset : u16 , pub FileName : [ u16 ;1 ] } impl USN_RECORD_V2 { } impl :: std :: default :: Default for USN_RECORD_V2 { fn default ( ) -> Self { Self { RecordLength : 0 , MajorVersion : 0 , MinorVersion : 0 , FileReferenceNumber : 0 , ParentFileReferenceNumber : 0 , Usn : 0 , TimeStamp : 0 , Reason : 0 , SourceInfo : 0 , SecurityId : 0 , FileAttributes : 0 , FileNameLength : 0 , FileNameOffset : 0 , FileName : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for USN_RECORD_V2 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "USN_RECORD_V2" ) . field ( "RecordLength" , & self . RecordLength ) . field ( "MajorVersion" , & self . MajorVersion ) . field ( "MinorVersion" , & self . MinorVersion ) . field ( "FileReferenceNumber" , & self . FileReferenceNumber ) . field ( "ParentFileReferenceNumber" , & self . ParentFileReferenceNumber ) . field ( "Usn" , & self . Usn ) . field ( "TimeStamp" , & self . TimeStamp ) . field ( "Reason" , & self . Reason ) . field ( "SourceInfo" , & self . SourceInfo ) . field ( "SecurityId" , & self . SecurityId ) . field ( "FileAttributes" , & self . FileAttributes ) . field ( "FileNameLength" , & self . FileNameLength ) . field ( "FileNameOffset" , & self . FileNameOffset ) . field ( "FileName" , & self . FileName ) . finish ( ) } } impl :: std :: cmp :: PartialEq for USN_RECORD_V2 { fn eq ( & self , other : & Self ) -> bool { self . RecordLength == other . RecordLength && self . MajorVersion == other . MajorVersion && self . MinorVersion == other . MinorVersion && self . FileReferenceNumber == other . FileReferenceNumber && self . ParentFileReferenceNumber == other . ParentFileReferenceNumber && self . Usn == other . Usn && self . TimeStamp == other . TimeStamp && self . Reason == other . Reason && self . SourceInfo == other . SourceInfo && self . SecurityId == other . SecurityId && self . FileAttributes == other . FileAttributes && self . FileNameLength == other . FileNameLength && self . FileNameOffset == other . FileNameOffset && self . FileName == other . FileName } } impl :: std :: cmp :: Eq for USN_RECORD_V2 { } unsafe impl :: windows :: Abi for USN_RECORD_V2 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct USN_RECORD_V3 { pub RecordLength : u32 , pub MajorVersion : u16 , pub MinorVersion : u16 , pub FileReferenceNumber : FILE_ID_128 , pub ParentFileReferenceNumber : FILE_ID_128 , pub Usn : i64 , pub TimeStamp : i64 , pub Reason : u32 , pub SourceInfo : u32 , pub SecurityId : u32 , pub FileAttributes : u32 , pub FileNameLength : u16 , pub FileNameOffset : u16 , pub FileName : [ u16 ;1 ] } impl USN_RECORD_V3 { } impl :: std :: default :: Default for USN_RECORD_V3 { fn default ( ) -> Self { Self { RecordLength : 0 , MajorVersion : 0 , MinorVersion : 0 , FileReferenceNumber : :: std :: default :: Default :: default ( ) , ParentFileReferenceNumber : :: std :: default :: Default :: default ( ) , Usn : 0 , TimeStamp : 0 , Reason : 0 , SourceInfo : 0 , SecurityId : 0 , FileAttributes : 0 , FileNameLength : 0 , FileNameOffset : 0 , FileName : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for USN_RECORD_V3 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "USN_RECORD_V3" ) . field ( "RecordLength" , & self . RecordLength ) . field ( "MajorVersion" , & self . MajorVersion ) . field ( "MinorVersion" , & self . MinorVersion ) . field ( "FileReferenceNumber" , & self . FileReferenceNumber ) . field ( "ParentFileReferenceNumber" , & self . ParentFileReferenceNumber ) . field ( "Usn" , & self . Usn ) . field ( "TimeStamp" , & self . TimeStamp ) . field ( "Reason" , & self . Reason ) . field ( "SourceInfo" , & self . SourceInfo ) . field ( "SecurityId" , & self . SecurityId ) . field ( "FileAttributes" , & self . FileAttributes ) . field ( "FileNameLength" , & self . FileNameLength ) . field ( "FileNameOffset" , & self . FileNameOffset ) . field ( "FileName" , & self . FileName ) . finish ( ) } } impl :: std :: cmp :: PartialEq for USN_RECORD_V3 { fn eq ( & self , other : & Self ) -> bool { self . RecordLength == other . RecordLength && self . MajorVersion == other . MajorVersion && self . MinorVersion == other . MinorVersion && self . FileReferenceNumber == other . FileReferenceNumber && self . ParentFileReferenceNumber == other . ParentFileReferenceNumber && self . Usn == other . Usn && self . TimeStamp == other . TimeStamp && self . Reason == other . Reason && self . SourceInfo == other . SourceInfo && self . SecurityId == other . SecurityId && self . FileAttributes == other . FileAttributes && self . FileNameLength == other . FileNameLength && self . FileNameOffset == other . FileNameOffset && self . FileName == other . FileName } } impl :: std :: cmp :: Eq for USN_RECORD_V3 { } unsafe impl :: windows :: Abi for USN_RECORD_V3 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct USN_RECORD_V4 { pub Header : USN_RECORD_COMMON_HEADER , pub FileReferenceNumber : FILE_ID_128 , pub ParentFileReferenceNumber : FILE_ID_128 , pub Usn : i64 , pub Reason : u32 , pub SourceInfo : USN_SOURCE_INFO_ID , pub RemainingExtents : u32 , pub NumberOfExtents : u16 , pub ExtentSize : u16 , pub Extents : [ USN_RECORD_EXTENT ;1 ] } impl USN_RECORD_V4 { } impl :: std :: default :: Default for USN_RECORD_V4 { fn default ( ) -> Self { Self { Header : :: std :: default :: Default :: default ( ) , FileReferenceNumber : :: std :: default :: Default :: default ( ) , ParentFileReferenceNumber : :: std :: default :: Default :: default ( ) , Usn : 0 , Reason : 0 , SourceInfo : :: std :: default :: Default :: default ( ) , RemainingExtents : 0 , NumberOfExtents : 0 , ExtentSize : 0 , Extents : [ :: std :: default :: Default :: default ( ) ;1 ] } } } impl :: std :: fmt :: Debug for USN_RECORD_V4 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "USN_RECORD_V4" ) . field ( "Header" , & self . Header ) . field ( "FileReferenceNumber" , & self . FileReferenceNumber ) . field ( "ParentFileReferenceNumber" , & self . ParentFileReferenceNumber ) . field ( "Usn" , & self . Usn ) . field ( "Reason" , & self . Reason ) . field ( "SourceInfo" , & self . SourceInfo ) . field ( "RemainingExtents" , & self . RemainingExtents ) . field ( "NumberOfExtents" , & self . NumberOfExtents ) . field ( "ExtentSize" , & self . ExtentSize ) . field ( "Extents" , & self . Extents ) . finish ( ) } } impl :: std :: cmp :: PartialEq for USN_RECORD_V4 { fn eq ( & self , other : & Self ) -> bool { self . Header == other . Header && self . FileReferenceNumber == other . FileReferenceNumber && self . ParentFileReferenceNumber == other . ParentFileReferenceNumber && self . Usn == other . Usn && self . Reason == other . Reason && self . SourceInfo == other . SourceInfo && self . RemainingExtents == other . RemainingExtents && self . NumberOfExtents == other . NumberOfExtents && self . ExtentSize == other . ExtentSize && self . Extents == other . Extents } } impl :: std :: cmp :: Eq for USN_RECORD_V4 { } unsafe impl :: windows :: Abi for USN_RECORD_V4 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct USN_SOURCE_INFO_ID ( pub u32 ) ; pub const USN_SOURCE_AUXILIARY_DATA : USN_SOURCE_INFO_ID = USN_SOURCE_INFO_ID ( 2u32 ) ; pub const USN_SOURCE_DATA_MANAGEMENT : USN_SOURCE_INFO_ID = USN_SOURCE_INFO_ID ( 1u32 ) ; pub const USN_SOURCE_REPLICATION_MANAGEMENT : USN_SOURCE_INFO_ID = USN_SOURCE_INFO_ID ( 4u32 ) ; pub const USN_SOURCE_CLIENT_REPLICATION_MANAGEMENT : USN_SOURCE_INFO_ID = USN_SOURCE_INFO_ID ( 8u32 ) ; impl :: std :: convert :: From < u32 > for USN_SOURCE_INFO_ID { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for USN_SOURCE_INFO_ID { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for USN_SOURCE_INFO_ID { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for USN_SOURCE_INFO_ID { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for USN_SOURCE_INFO_ID { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for USN_SOURCE_INFO_ID { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct USN_TRACK_MODIFIED_RANGES { pub Flags : u32 , pub Unused : u32 , pub ChunkSize : u64 , pub FileSizeThreshold : i64 } impl USN_TRACK_MODIFIED_RANGES { } impl :: std :: default :: Default for USN_TRACK_MODIFIED_RANGES { fn default ( ) -> Self { Self { Flags : 0 , Unused : 0 , ChunkSize : 0 , FileSizeThreshold : 0 } } } impl :: std :: fmt :: Debug for USN_TRACK_MODIFIED_RANGES { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "USN_TRACK_MODIFIED_RANGES" ) . field ( "Flags" , & self . Flags ) . field ( "Unused" , & self . Unused ) . field ( "ChunkSize" , & self . ChunkSize ) . field ( "FileSizeThreshold" , & self . FileSizeThreshold ) . finish ( ) } } impl :: std :: cmp :: PartialEq for USN_TRACK_MODIFIED_RANGES { fn eq ( & self , other : & Self ) -> bool { self . Flags == other . Flags && self . Unused == other . Unused && self . ChunkSize == other . ChunkSize && self . FileSizeThreshold == other . FileSizeThreshold } } impl :: std :: cmp :: Eq for USN_TRACK_MODIFIED_RANGES { } unsafe impl :: windows :: Abi for USN_TRACK_MODIFIED_RANGES { type Abi = Self ; type DefaultType = Self ; } pub unsafe fn UnlockFile < 'a , > ( hfile : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , dwfileoffsetlow : u32 , dwfileoffsethigh : u32 , nnumberofbytestounlocklow : u32 , nnumberofbytestounlockhigh : u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn UnlockFile ( hfile : super::super::Foundation:: HANDLE , dwfileoffsetlow : u32 , dwfileoffsethigh : u32 , nnumberofbytestounlocklow : u32 , nnumberofbytestounlockhigh : u32 ) -> super::super::Foundation:: BOOL ; } UnlockFile ( hfile . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwfileoffsetlow ) , :: std :: mem :: transmute ( dwfileoffsethigh ) , :: std :: mem :: transmute ( nnumberofbytestounlocklow ) , :: std :: mem :: transmute ( nnumberofbytestounlockhigh ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn UnlockFileEx < 'a , > ( hfile : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , dwreserved : u32 , nnumberofbytestounlocklow : u32 , nnumberofbytestounlockhigh : u32 , lpoverlapped : * mut super::super::System::SystemServices:: OVERLAPPED , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn UnlockFileEx ( hfile : super::super::Foundation:: HANDLE , dwreserved : u32 , nnumberofbytestounlocklow : u32 , nnumberofbytestounlockhigh : u32 , lpoverlapped : * mut super::super::System::SystemServices:: OVERLAPPED ) -> super::super::Foundation:: BOOL ; } UnlockFileEx ( hfile . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwreserved ) , :: std :: mem :: transmute ( nnumberofbytestounlocklow ) , :: std :: mem :: transmute ( nnumberofbytestounlockhigh ) , :: std :: mem :: transmute ( lpoverlapped ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct VERIFY_INFORMATION { pub StartingOffset : i64 , pub Length : u32 } impl VERIFY_INFORMATION { } impl :: std :: default :: Default for VERIFY_INFORMATION { fn default ( ) -> Self { Self { StartingOffset : 0 , Length : 0 } } } impl :: std :: fmt :: Debug for VERIFY_INFORMATION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "VERIFY_INFORMATION" ) . field ( "StartingOffset" , & self . StartingOffset ) . field ( "Length" , & self . Length ) . finish ( ) } } impl :: std :: cmp :: PartialEq for VERIFY_INFORMATION { fn eq ( & self , other : & Self ) -> bool { self . StartingOffset == other . StartingOffset && self . Length == other . Length } } impl :: std :: cmp :: Eq for VERIFY_INFORMATION { } unsafe impl :: windows :: Abi for VERIFY_INFORMATION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct VER_FIND_FILE_FLAGS ( pub u32 ) ; pub const VFFF_ISSHAREDFILE : VER_FIND_FILE_FLAGS = VER_FIND_FILE_FLAGS ( 1u32 ) ; impl :: std :: convert :: From < u32 > for VER_FIND_FILE_FLAGS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for VER_FIND_FILE_FLAGS { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for VER_FIND_FILE_FLAGS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for VER_FIND_FILE_FLAGS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for VER_FIND_FILE_FLAGS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for VER_FIND_FILE_FLAGS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct VER_FIND_FILE_STATUS ( pub u32 ) ; pub const VFF_CURNEDEST : VER_FIND_FILE_STATUS = VER_FIND_FILE_STATUS ( 1u32 ) ; pub const VFF_FILEINUSE : VER_FIND_FILE_STATUS = VER_FIND_FILE_STATUS ( 2u32 ) ; pub const VFF_BUFFTOOSMALL : VER_FIND_FILE_STATUS = VER_FIND_FILE_STATUS ( 4u32 ) ; impl :: std :: convert :: From < u32 > for VER_FIND_FILE_STATUS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for VER_FIND_FILE_STATUS { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for VER_FIND_FILE_STATUS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for VER_FIND_FILE_STATUS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for VER_FIND_FILE_STATUS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for VER_FIND_FILE_STATUS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct VER_INSTALL_FILE_FLAGS ( pub u32 ) ; pub const VIFF_FORCEINSTALL : VER_INSTALL_FILE_FLAGS = VER_INSTALL_FILE_FLAGS ( 1u32 ) ; pub const VIFF_DONTDELETEOLD : VER_INSTALL_FILE_FLAGS = VER_INSTALL_FILE_FLAGS ( 2u32 ) ; impl :: std :: convert :: From < u32 > for VER_INSTALL_FILE_FLAGS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for VER_INSTALL_FILE_FLAGS { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for VER_INSTALL_FILE_FLAGS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for VER_INSTALL_FILE_FLAGS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for VER_INSTALL_FILE_FLAGS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for VER_INSTALL_FILE_FLAGS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct VER_INSTALL_FILE_STATUS ( pub u32 ) ; pub const VIF_TEMPFILE : VER_INSTALL_FILE_STATUS = VER_INSTALL_FILE_STATUS ( 1u32 ) ; pub const VIF_MISMATCH : VER_INSTALL_FILE_STATUS = VER_INSTALL_FILE_STATUS ( 2u32 ) ; pub const VIF_SRCOLD : VER_INSTALL_FILE_STATUS = VER_INSTALL_FILE_STATUS ( 4u32 ) ; pub const VIF_DIFFLANG : VER_INSTALL_FILE_STATUS = VER_INSTALL_FILE_STATUS ( 8u32 ) ; pub const VIF_DIFFCODEPG : VER_INSTALL_FILE_STATUS = VER_INSTALL_FILE_STATUS ( 16u32 ) ; pub const VIF_DIFFTYPE : VER_INSTALL_FILE_STATUS = VER_INSTALL_FILE_STATUS ( 32u32 ) ; pub const VIF_WRITEPROT : VER_INSTALL_FILE_STATUS = VER_INSTALL_FILE_STATUS ( 64u32 ) ; pub const VIF_FILEINUSE : VER_INSTALL_FILE_STATUS = VER_INSTALL_FILE_STATUS ( 128u32 ) ; pub const VIF_OUTOFSPACE : VER_INSTALL_FILE_STATUS = VER_INSTALL_FILE_STATUS ( 256u32 ) ; pub const VIF_ACCESSVIOLATION : VER_INSTALL_FILE_STATUS = VER_INSTALL_FILE_STATUS ( 512u32 ) ; pub const VIF_SHARINGVIOLATION : VER_INSTALL_FILE_STATUS = VER_INSTALL_FILE_STATUS ( 1024u32 ) ; pub const VIF_CANNOTCREATE : VER_INSTALL_FILE_STATUS = VER_INSTALL_FILE_STATUS ( 2048u32 ) ; pub const VIF_CANNOTDELETE : VER_INSTALL_FILE_STATUS = VER_INSTALL_FILE_STATUS ( 4096u32 ) ; pub const VIF_CANNOTRENAME : VER_INSTALL_FILE_STATUS = VER_INSTALL_FILE_STATUS ( 8192u32 ) ; pub const VIF_CANNOTDELETECUR : VER_INSTALL_FILE_STATUS = VER_INSTALL_FILE_STATUS ( 16384u32 ) ; pub const VIF_OUTOFMEMORY : VER_INSTALL_FILE_STATUS = VER_INSTALL_FILE_STATUS ( 32768u32 ) ; pub const VIF_CANNOTREADSRC : VER_INSTALL_FILE_STATUS = VER_INSTALL_FILE_STATUS ( 65536u32 ) ; pub const VIF_CANNOTREADDST : VER_INSTALL_FILE_STATUS = VER_INSTALL_FILE_STATUS ( 131072u32 ) ; pub const VIF_BUFFTOOSMALL : VER_INSTALL_FILE_STATUS = VER_INSTALL_FILE_STATUS ( 262144u32 ) ; pub const VIF_CANNOTLOADLZ32 : VER_INSTALL_FILE_STATUS = VER_INSTALL_FILE_STATUS ( 524288u32 ) ; pub const VIF_CANNOTLOADCABINET : VER_INSTALL_FILE_STATUS = VER_INSTALL_FILE_STATUS ( 1048576u32 ) ; impl :: std :: convert :: From < u32 > for VER_INSTALL_FILE_STATUS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for VER_INSTALL_FILE_STATUS { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for VER_INSTALL_FILE_STATUS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for VER_INSTALL_FILE_STATUS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for VER_INSTALL_FILE_STATUS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for VER_INSTALL_FILE_STATUS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct VOLUME_ALLOCATE_BC_STREAM_INPUT { pub Version : u32 , pub RequestsPerPeriod : u32 , pub Period : u32 , pub RetryFailures : u8 , pub Discardable : u8 , pub Reserved1 : [ u8 ;2 ] , pub LowestByteOffset : u64 , pub HighestByteOffset : u64 , pub AccessType : u32 , pub AccessMode : u32 } impl VOLUME_ALLOCATE_BC_STREAM_INPUT { } impl :: std :: default :: Default for VOLUME_ALLOCATE_BC_STREAM_INPUT { fn default ( ) -> Self { Self { Version : 0 , RequestsPerPeriod : 0 , Period : 0 , RetryFailures : 0 , Discardable : 0 , Reserved1 : [ 0 ;2 ] , LowestByteOffset : 0 , HighestByteOffset : 0 , AccessType : 0 , AccessMode : 0 } } } impl :: std :: fmt :: Debug for VOLUME_ALLOCATE_BC_STREAM_INPUT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "VOLUME_ALLOCATE_BC_STREAM_INPUT" ) . field ( "Version" , & self . Version ) . field ( "RequestsPerPeriod" , & self . RequestsPerPeriod ) . field ( "Period" , & self . Period ) . field ( "RetryFailures" , & self . RetryFailures ) . field ( "Discardable" , & self . Discardable ) . field ( "Reserved1" , & self . Reserved1 ) . field ( "LowestByteOffset" , & self . LowestByteOffset ) . field ( "HighestByteOffset" , & self . HighestByteOffset ) . field ( "AccessType" , & self . AccessType ) . field ( "AccessMode" , & self . AccessMode ) . finish ( ) } } impl :: std :: cmp :: PartialEq for VOLUME_ALLOCATE_BC_STREAM_INPUT { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . RequestsPerPeriod == other . RequestsPerPeriod && self . Period == other . Period && self . RetryFailures == other . RetryFailures && self . Discardable == other . Discardable && self . Reserved1 == other . Reserved1 && self . LowestByteOffset == other . LowestByteOffset && self . HighestByteOffset == other . HighestByteOffset && self . AccessType == other . AccessType && self . AccessMode == other . AccessMode } } impl :: std :: cmp :: Eq for VOLUME_ALLOCATE_BC_STREAM_INPUT { } unsafe impl :: windows :: Abi for VOLUME_ALLOCATE_BC_STREAM_INPUT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct VOLUME_ALLOCATE_BC_STREAM_OUTPUT { pub RequestSize : u64 , pub NumOutStandingRequests : u32 } impl VOLUME_ALLOCATE_BC_STREAM_OUTPUT { } impl :: std :: default :: Default for VOLUME_ALLOCATE_BC_STREAM_OUTPUT { fn default ( ) -> Self { Self { RequestSize : 0 , NumOutStandingRequests : 0 } } } impl :: std :: fmt :: Debug for VOLUME_ALLOCATE_BC_STREAM_OUTPUT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "VOLUME_ALLOCATE_BC_STREAM_OUTPUT" ) . field ( "RequestSize" , & self . RequestSize ) . field ( "NumOutStandingRequests" , & self . NumOutStandingRequests ) . finish ( ) } } impl :: std :: cmp :: PartialEq for VOLUME_ALLOCATE_BC_STREAM_OUTPUT { fn eq ( & self , other : & Self ) -> bool { self . RequestSize == other . RequestSize && self . NumOutStandingRequests == other . NumOutStandingRequests } } impl :: std :: cmp :: Eq for VOLUME_ALLOCATE_BC_STREAM_OUTPUT { } unsafe impl :: windows :: Abi for VOLUME_ALLOCATE_BC_STREAM_OUTPUT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct VOLUME_ALLOCATION_HINT_INPUT { pub ClusterSize : u32 , pub NumberOfClusters : u32 , pub StartingClusterNumber : i64 } impl VOLUME_ALLOCATION_HINT_INPUT { } impl :: std :: default :: Default for VOLUME_ALLOCATION_HINT_INPUT { fn default ( ) -> Self { Self { ClusterSize : 0 , NumberOfClusters : 0 , StartingClusterNumber : 0 } } } impl :: std :: fmt :: Debug for VOLUME_ALLOCATION_HINT_INPUT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "VOLUME_ALLOCATION_HINT_INPUT" ) . field ( "ClusterSize" , & self . ClusterSize ) . field ( "NumberOfClusters" , & self . NumberOfClusters ) . field ( "StartingClusterNumber" , & self . StartingClusterNumber ) . finish ( ) } } impl :: std :: cmp :: PartialEq for VOLUME_ALLOCATION_HINT_INPUT { fn eq ( & self , other : & Self ) -> bool { self . ClusterSize == other . ClusterSize && self . NumberOfClusters == other . NumberOfClusters && self . StartingClusterNumber == other . StartingClusterNumber } } impl :: std :: cmp :: Eq for VOLUME_ALLOCATION_HINT_INPUT { } unsafe impl :: windows :: Abi for VOLUME_ALLOCATION_HINT_INPUT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct VOLUME_ALLOCATION_HINT_OUTPUT { pub Bitmap : [ u32 ;1 ] } impl VOLUME_ALLOCATION_HINT_OUTPUT { } impl :: std :: default :: Default for VOLUME_ALLOCATION_HINT_OUTPUT { fn default ( ) -> Self { Self { Bitmap : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for VOLUME_ALLOCATION_HINT_OUTPUT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "VOLUME_ALLOCATION_HINT_OUTPUT" ) . field ( "Bitmap" , & self . Bitmap ) . finish ( ) } } impl :: std :: cmp :: PartialEq for VOLUME_ALLOCATION_HINT_OUTPUT { fn eq ( & self , other : & Self ) -> bool { self . Bitmap == other . Bitmap } } impl :: std :: cmp :: Eq for VOLUME_ALLOCATION_HINT_OUTPUT { } unsafe impl :: windows :: Abi for VOLUME_ALLOCATION_HINT_OUTPUT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct VOLUME_BITMAP_BUFFER { pub StartingLcn : i64 , pub BitmapSize : i64 , pub Buffer : [ u8 ;1 ] } impl VOLUME_BITMAP_BUFFER { } impl :: std :: default :: Default for VOLUME_BITMAP_BUFFER { fn default ( ) -> Self { Self { StartingLcn : 0 , BitmapSize : 0 , Buffer : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for VOLUME_BITMAP_BUFFER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "VOLUME_BITMAP_BUFFER" ) . field ( "StartingLcn" , & self . StartingLcn ) . field ( "BitmapSize" , & self . BitmapSize ) . field ( "Buffer" , & self . Buffer ) . finish ( ) } } impl :: std :: cmp :: PartialEq for VOLUME_BITMAP_BUFFER { fn eq ( & self , other : & Self ) -> bool { self . StartingLcn == other . StartingLcn && self . BitmapSize == other . BitmapSize && self . Buffer == other . Buffer } } impl :: std :: cmp :: Eq for VOLUME_BITMAP_BUFFER { } unsafe impl :: windows :: Abi for VOLUME_BITMAP_BUFFER { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct VOLUME_CRITICAL_IO { pub AccessType : u32 , pub ExtentsCount : u32 , pub Extents : [ FILE_EXTENT ;1 ] } impl VOLUME_CRITICAL_IO { } impl :: std :: default :: Default for VOLUME_CRITICAL_IO { fn default ( ) -> Self { Self { AccessType : 0 , ExtentsCount : 0 , Extents : [ :: std :: default :: Default :: default ( ) ;1 ] } } } impl :: std :: fmt :: Debug for VOLUME_CRITICAL_IO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "VOLUME_CRITICAL_IO" ) . field ( "AccessType" , & self . AccessType ) . field ( "ExtentsCount" , & self . ExtentsCount ) . field ( "Extents" , & self . Extents ) . finish ( ) } } impl :: std :: cmp :: PartialEq for VOLUME_CRITICAL_IO { fn eq ( & self , other : & Self ) -> bool { self . AccessType == other . AccessType && self . ExtentsCount == other . ExtentsCount && self . Extents == other . Extents } } impl :: std :: cmp :: Eq for VOLUME_CRITICAL_IO { } unsafe impl :: windows :: Abi for VOLUME_CRITICAL_IO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct VOLUME_DISK_EXTENTS { pub NumberOfDiskExtents : u32 , pub Extents : [ DISK_EXTENT ;1 ] } impl VOLUME_DISK_EXTENTS { } impl :: std :: default :: Default for VOLUME_DISK_EXTENTS { fn default ( ) -> Self { Self { NumberOfDiskExtents : 0 , Extents : [ :: std :: default :: Default :: default ( ) ;1 ] } } } impl :: std :: fmt :: Debug for VOLUME_DISK_EXTENTS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "VOLUME_DISK_EXTENTS" ) . field ( "NumberOfDiskExtents" , & self . NumberOfDiskExtents ) . field ( "Extents" , & self . Extents ) . finish ( ) } } impl :: std :: cmp :: PartialEq for VOLUME_DISK_EXTENTS { fn eq ( & self , other : & Self ) -> bool { self . NumberOfDiskExtents == other . NumberOfDiskExtents && self . Extents == other . Extents } } impl :: std :: cmp :: Eq for VOLUME_DISK_EXTENTS { } unsafe impl :: windows :: Abi for VOLUME_DISK_EXTENTS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct VOLUME_FAILOVER_SET { pub NumberOfDisks : u32 , pub DiskNumbers : [ u32 ;1 ] } impl VOLUME_FAILOVER_SET { } impl :: std :: default :: Default for VOLUME_FAILOVER_SET { fn default ( ) -> Self { Self { NumberOfDisks : 0 , DiskNumbers : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for VOLUME_FAILOVER_SET { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "VOLUME_FAILOVER_SET" ) . field ( "NumberOfDisks" , & self . NumberOfDisks ) . field ( "DiskNumbers" , & self . DiskNumbers ) . finish ( ) } } impl :: std :: cmp :: PartialEq for VOLUME_FAILOVER_SET { fn eq ( & self , other : & Self ) -> bool { self . NumberOfDisks == other . NumberOfDisks && self . DiskNumbers == other . DiskNumbers } } impl :: std :: cmp :: Eq for VOLUME_FAILOVER_SET { } unsafe impl :: windows :: Abi for VOLUME_FAILOVER_SET { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct VOLUME_GET_BC_PROPERTIES_INPUT { pub Version : u32 , pub Reserved1 : u32 , pub LowestByteOffset : u64 , pub HighestByteOffset : u64 , pub AccessType : u32 , pub AccessMode : u32 } impl VOLUME_GET_BC_PROPERTIES_INPUT { } impl :: std :: default :: Default for VOLUME_GET_BC_PROPERTIES_INPUT { fn default ( ) -> Self { Self { Version : 0 , Reserved1 : 0 , LowestByteOffset : 0 , HighestByteOffset : 0 , AccessType : 0 , AccessMode : 0 } } } impl :: std :: fmt :: Debug for VOLUME_GET_BC_PROPERTIES_INPUT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "VOLUME_GET_BC_PROPERTIES_INPUT" ) . field ( "Version" , & self . Version ) . field ( "Reserved1" , & self . Reserved1 ) . field ( "LowestByteOffset" , & self . LowestByteOffset ) . field ( "HighestByteOffset" , & self . HighestByteOffset ) . field ( "AccessType" , & self . AccessType ) . field ( "AccessMode" , & self . AccessMode ) . finish ( ) } } impl :: std :: cmp :: PartialEq for VOLUME_GET_BC_PROPERTIES_INPUT { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Reserved1 == other . Reserved1 && self . LowestByteOffset == other . LowestByteOffset && self . HighestByteOffset == other . HighestByteOffset && self . AccessType == other . AccessType && self . AccessMode == other . AccessMode } } impl :: std :: cmp :: Eq for VOLUME_GET_BC_PROPERTIES_INPUT { } unsafe impl :: windows :: Abi for VOLUME_GET_BC_PROPERTIES_INPUT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct VOLUME_GET_BC_PROPERTIES_OUTPUT { pub MaximumRequestsPerPeriod : u32 , pub MinimumPeriod : u32 , pub MaximumRequestSize : u64 , pub EstimatedTimePerRequest : u32 , pub NumOutStandingRequests : u32 , pub RequestSize : u64 } impl VOLUME_GET_BC_PROPERTIES_OUTPUT { } impl :: std :: default :: Default for VOLUME_GET_BC_PROPERTIES_OUTPUT { fn default ( ) -> Self { Self { MaximumRequestsPerPeriod : 0 , MinimumPeriod : 0 , MaximumRequestSize : 0 , EstimatedTimePerRequest : 0 , NumOutStandingRequests : 0 , RequestSize : 0 } } } impl :: std :: fmt :: Debug for VOLUME_GET_BC_PROPERTIES_OUTPUT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "VOLUME_GET_BC_PROPERTIES_OUTPUT" ) . field ( "MaximumRequestsPerPeriod" , & self . MaximumRequestsPerPeriod ) . field ( "MinimumPeriod" , & self . MinimumPeriod ) . field ( "MaximumRequestSize" , & self . MaximumRequestSize ) . field ( "EstimatedTimePerRequest" , & self . EstimatedTimePerRequest ) . field ( "NumOutStandingRequests" , & self . NumOutStandingRequests ) . field ( "RequestSize" , & self . RequestSize ) . finish ( ) } } impl :: std :: cmp :: PartialEq for VOLUME_GET_BC_PROPERTIES_OUTPUT { fn eq ( & self , other : & Self ) -> bool { self . MaximumRequestsPerPeriod == other . MaximumRequestsPerPeriod && self . MinimumPeriod == other . MinimumPeriod && self . MaximumRequestSize == other . MaximumRequestSize && self . EstimatedTimePerRequest == other . EstimatedTimePerRequest && self . NumOutStandingRequests == other . NumOutStandingRequests && self . RequestSize == other . RequestSize } } impl :: std :: cmp :: Eq for VOLUME_GET_BC_PROPERTIES_OUTPUT { } unsafe impl :: windows :: Abi for VOLUME_GET_BC_PROPERTIES_OUTPUT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct VOLUME_GET_GPT_ATTRIBUTES_INFORMATION { pub GptAttributes : u64 } impl VOLUME_GET_GPT_ATTRIBUTES_INFORMATION { } impl :: std :: default :: Default for VOLUME_GET_GPT_ATTRIBUTES_INFORMATION { fn default ( ) -> Self { Self { GptAttributes : 0 } } } impl :: std :: fmt :: Debug for VOLUME_GET_GPT_ATTRIBUTES_INFORMATION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "VOLUME_GET_GPT_ATTRIBUTES_INFORMATION" ) . field ( "GptAttributes" , & self . GptAttributes ) . finish ( ) } } impl :: std :: cmp :: PartialEq for VOLUME_GET_GPT_ATTRIBUTES_INFORMATION { fn eq ( & self , other : & Self ) -> bool { self . GptAttributes == other . GptAttributes } } impl :: std :: cmp :: Eq for VOLUME_GET_GPT_ATTRIBUTES_INFORMATION { } unsafe impl :: windows :: Abi for VOLUME_GET_GPT_ATTRIBUTES_INFORMATION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct VOLUME_LOGICAL_OFFSET { pub LogicalOffset : i64 } impl VOLUME_LOGICAL_OFFSET { } impl :: std :: default :: Default for VOLUME_LOGICAL_OFFSET { fn default ( ) -> Self { Self { LogicalOffset : 0 } } } impl :: std :: fmt :: Debug for VOLUME_LOGICAL_OFFSET { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "VOLUME_LOGICAL_OFFSET" ) . field ( "LogicalOffset" , & self . LogicalOffset ) . finish ( ) } } impl :: std :: cmp :: PartialEq for VOLUME_LOGICAL_OFFSET { fn eq ( & self , other : & Self ) -> bool { self . LogicalOffset == other . LogicalOffset } } impl :: std :: cmp :: Eq for VOLUME_LOGICAL_OFFSET { } unsafe impl :: windows :: Abi for VOLUME_LOGICAL_OFFSET { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct VOLUME_NUMBER { pub VolumeNumber : u32 , pub VolumeManagerName : [ u16 ;8 ] } impl VOLUME_NUMBER { } impl :: std :: default :: Default for VOLUME_NUMBER { fn default ( ) -> Self { Self { VolumeNumber : 0 , VolumeManagerName : [ 0 ;8 ] } } } impl :: std :: fmt :: Debug for VOLUME_NUMBER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "VOLUME_NUMBER" ) . field ( "VolumeNumber" , & self . VolumeNumber ) . field ( "VolumeManagerName" , & self . VolumeManagerName ) . finish ( ) } } impl :: std :: cmp :: PartialEq for VOLUME_NUMBER { fn eq ( & self , other : & Self ) -> bool { self . VolumeNumber == other . VolumeNumber && self . VolumeManagerName == other . VolumeManagerName } } impl :: std :: cmp :: Eq for VOLUME_NUMBER { } unsafe impl :: windows :: Abi for VOLUME_NUMBER { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct VOLUME_PHYSICAL_OFFSET { pub DiskNumber : u32 , pub Offset : i64 } impl VOLUME_PHYSICAL_OFFSET { } impl :: std :: default :: Default for VOLUME_PHYSICAL_OFFSET { fn default ( ) -> Self { Self { DiskNumber : 0 , Offset : 0 } } } impl :: std :: fmt :: Debug for VOLUME_PHYSICAL_OFFSET { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "VOLUME_PHYSICAL_OFFSET" ) . field ( "DiskNumber" , & self . DiskNumber ) . field ( "Offset" , & self . Offset ) . finish ( ) } } impl :: std :: cmp :: PartialEq for VOLUME_PHYSICAL_OFFSET { fn eq ( & self , other : & Self ) -> bool { self . DiskNumber == other . DiskNumber && self . Offset == other . Offset } } impl :: std :: cmp :: Eq for VOLUME_PHYSICAL_OFFSET { } unsafe impl :: windows :: Abi for VOLUME_PHYSICAL_OFFSET { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct VOLUME_PHYSICAL_OFFSETS { pub NumberOfPhysicalOffsets : u32 , pub PhysicalOffset : [ VOLUME_PHYSICAL_OFFSET ;1 ] } impl VOLUME_PHYSICAL_OFFSETS { } impl :: std :: default :: Default for VOLUME_PHYSICAL_OFFSETS { fn default ( ) -> Self { Self { NumberOfPhysicalOffsets : 0 , PhysicalOffset : [ :: std :: default :: Default :: default ( ) ;1 ] } } } impl :: std :: fmt :: Debug for VOLUME_PHYSICAL_OFFSETS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "VOLUME_PHYSICAL_OFFSETS" ) . field ( "NumberOfPhysicalOffsets" , & self . NumberOfPhysicalOffsets ) . field ( "PhysicalOffset" , & self . PhysicalOffset ) . finish ( ) } } impl :: std :: cmp :: PartialEq for VOLUME_PHYSICAL_OFFSETS { fn eq ( & self , other : & Self ) -> bool { self . NumberOfPhysicalOffsets == other . NumberOfPhysicalOffsets && self . PhysicalOffset == other . PhysicalOffset } } impl :: std :: cmp :: Eq for VOLUME_PHYSICAL_OFFSETS { } unsafe impl :: windows :: Abi for VOLUME_PHYSICAL_OFFSETS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct VOLUME_READ_PLEX_INPUT { pub ByteOffset : i64 , pub Length : u32 , pub PlexNumber : u32 } impl VOLUME_READ_PLEX_INPUT { } impl :: std :: default :: Default for VOLUME_READ_PLEX_INPUT { fn default ( ) -> Self { Self { ByteOffset : 0 , Length : 0 , PlexNumber : 0 } } } impl :: std :: fmt :: Debug for VOLUME_READ_PLEX_INPUT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "VOLUME_READ_PLEX_INPUT" ) . field ( "ByteOffset" , & self . ByteOffset ) . field ( "Length" , & self . Length ) . field ( "PlexNumber" , & self . PlexNumber ) . finish ( ) } } impl :: std :: cmp :: PartialEq for VOLUME_READ_PLEX_INPUT { fn eq ( & self , other : & Self ) -> bool { self . ByteOffset == other . ByteOffset && self . Length == other . Length && self . PlexNumber == other . PlexNumber } } impl :: std :: cmp :: Eq for VOLUME_READ_PLEX_INPUT { } unsafe impl :: windows :: Abi for VOLUME_READ_PLEX_INPUT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct VOLUME_SET_GPT_ATTRIBUTES_INFORMATION { pub GptAttributes : u64 , pub RevertOnClose : u8 , pub ApplyToAllConnectedVolumes : u8 , pub Reserved1 : u16 , pub Reserved2 : u32 } impl VOLUME_SET_GPT_ATTRIBUTES_INFORMATION { } impl :: std :: default :: Default for VOLUME_SET_GPT_ATTRIBUTES_INFORMATION { fn default ( ) -> Self { Self { GptAttributes : 0 , RevertOnClose : 0 , ApplyToAllConnectedVolumes : 0 , Reserved1 : 0 , Reserved2 : 0 } } } impl :: std :: fmt :: Debug for VOLUME_SET_GPT_ATTRIBUTES_INFORMATION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "VOLUME_SET_GPT_ATTRIBUTES_INFORMATION" ) . field ( "GptAttributes" , & self . GptAttributes ) . field ( "RevertOnClose" , & self . RevertOnClose ) . field ( "ApplyToAllConnectedVolumes" , & self . ApplyToAllConnectedVolumes ) . field ( "Reserved1" , & self . Reserved1 ) . field ( "Reserved2" , & self . Reserved2 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for VOLUME_SET_GPT_ATTRIBUTES_INFORMATION { fn eq ( & self , other : & Self ) -> bool { self . GptAttributes == other . GptAttributes && self . RevertOnClose == other . RevertOnClose && self . ApplyToAllConnectedVolumes == other . ApplyToAllConnectedVolumes && self . Reserved1 == other . Reserved1 && self . Reserved2 == other . Reserved2 } } impl :: std :: cmp :: Eq for VOLUME_SET_GPT_ATTRIBUTES_INFORMATION { } unsafe impl :: windows :: Abi for VOLUME_SET_GPT_ATTRIBUTES_INFORMATION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct VOLUME_SHRINK_INFO { pub VolumeSize : u64 } impl VOLUME_SHRINK_INFO { } impl :: std :: default :: Default for VOLUME_SHRINK_INFO { fn default ( ) -> Self { Self { VolumeSize : 0 } } } impl :: std :: fmt :: Debug for VOLUME_SHRINK_INFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "VOLUME_SHRINK_INFO" ) . field ( "VolumeSize" , & self . VolumeSize ) . finish ( ) } } impl :: std :: cmp :: PartialEq for VOLUME_SHRINK_INFO { fn eq ( & self , other : & Self ) -> bool { self . VolumeSize == other . VolumeSize } } impl :: std :: cmp :: Eq for VOLUME_SHRINK_INFO { } unsafe impl :: windows :: Abi for VOLUME_SHRINK_INFO { type Abi = Self ; type DefaultType = Self ; } pub const VS_FFI_FILEFLAGSMASK : i32 = 63i32 ; pub const VS_FFI_SIGNATURE : i32 = -17890115i32 ; pub const VS_FFI_STRUCVERSION : i32 = 65536i32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct VS_FIXEDFILEINFO { pub dwSignature : u32 , pub dwStrucVersion : u32 , pub dwFileVersionMS : u32 , pub dwFileVersionLS : u32 , pub dwProductVersionMS : u32 , pub dwProductVersionLS : u32 , pub dwFileFlagsMask : u32 , pub dwFileFlags : VS_FIXEDFILEINFO_FILE_FLAGS , pub dwFileOS : VS_FIXEDFILEINFO_FILE_OS , pub dwFileType : VS_FIXEDFILEINFO_FILE_TYPE , pub dwFileSubtype : VS_FIXEDFILEINFO_FILE_SUBTYPE , pub dwFileDateMS : u32 , pub dwFileDateLS : u32 } impl VS_FIXEDFILEINFO { } impl :: std :: default :: Default for VS_FIXEDFILEINFO { fn default ( ) -> Self { Self { dwSignature : 0 , dwStrucVersion : 0 , dwFileVersionMS : 0 , dwFileVersionLS : 0 , dwProductVersionMS : 0 , dwProductVersionLS : 0 , dwFileFlagsMask : 0 , dwFileFlags : :: std :: default :: Default :: default ( ) , dwFileOS : :: std :: default :: Default :: default ( ) , dwFileType : :: std :: default :: Default :: default ( ) , dwFileSubtype : :: std :: default :: Default :: default ( ) , dwFileDateMS : 0 , dwFileDateLS : 0 } } } impl :: std :: fmt :: Debug for VS_FIXEDFILEINFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "VS_FIXEDFILEINFO" ) . field ( "dwSignature" , & self . dwSignature ) . field ( "dwStrucVersion" , & self . dwStrucVersion ) . field ( "dwFileVersionMS" , & self . dwFileVersionMS ) . field ( "dwFileVersionLS" , & self . dwFileVersionLS ) . field ( "dwProductVersionMS" , & self . dwProductVersionMS ) . field ( "dwProductVersionLS" , & self . dwProductVersionLS ) . field ( "dwFileFlagsMask" , & self . dwFileFlagsMask ) . field ( "dwFileFlags" , & self . dwFileFlags ) . field ( "dwFileOS" , & self . dwFileOS ) . field ( "dwFileType" , & self . dwFileType ) . field ( "dwFileSubtype" , & self . dwFileSubtype ) . field ( "dwFileDateMS" , & self . dwFileDateMS ) . field ( "dwFileDateLS" , & self . dwFileDateLS ) . finish ( ) } } impl :: std :: cmp :: PartialEq for VS_FIXEDFILEINFO { fn eq ( & self , other : & Self ) -> bool { self . dwSignature == other . dwSignature && self . dwStrucVersion == other . dwStrucVersion && self . dwFileVersionMS == other . dwFileVersionMS && self . dwFileVersionLS == other . dwFileVersionLS && self . dwProductVersionMS == other . dwProductVersionMS && self . dwProductVersionLS == other . dwProductVersionLS && self . dwFileFlagsMask == other . dwFileFlagsMask && self . dwFileFlags == other . dwFileFlags && self . dwFileOS == other . dwFileOS && self . dwFileType == other . dwFileType && self . dwFileSubtype == other . dwFileSubtype && self . dwFileDateMS == other . dwFileDateMS && self . dwFileDateLS == other . dwFileDateLS } } impl :: std :: cmp :: Eq for VS_FIXEDFILEINFO { } unsafe impl :: windows :: Abi for VS_FIXEDFILEINFO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct VS_FIXEDFILEINFO_FILE_FLAGS ( pub u32 ) ; pub const VS_FF_DEBUG : VS_FIXEDFILEINFO_FILE_FLAGS = VS_FIXEDFILEINFO_FILE_FLAGS ( 1u32 ) ; pub const VS_FF_PRERELEASE : VS_FIXEDFILEINFO_FILE_FLAGS = VS_FIXEDFILEINFO_FILE_FLAGS ( 2u32 ) ; pub const VS_FF_PATCHED : VS_FIXEDFILEINFO_FILE_FLAGS = VS_FIXEDFILEINFO_FILE_FLAGS ( 4u32 ) ; pub const VS_FF_PRIVATEBUILD : VS_FIXEDFILEINFO_FILE_FLAGS = VS_FIXEDFILEINFO_FILE_FLAGS ( 8u32 ) ; pub const VS_FF_INFOINFERRED : VS_FIXEDFILEINFO_FILE_FLAGS = VS_FIXEDFILEINFO_FILE_FLAGS ( 16u32 ) ; pub const VS_FF_SPECIALBUILD : VS_FIXEDFILEINFO_FILE_FLAGS = VS_FIXEDFILEINFO_FILE_FLAGS ( 32u32 ) ; impl :: std :: convert :: From < u32 > for VS_FIXEDFILEINFO_FILE_FLAGS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for VS_FIXEDFILEINFO_FILE_FLAGS { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for VS_FIXEDFILEINFO_FILE_FLAGS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for VS_FIXEDFILEINFO_FILE_FLAGS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for VS_FIXEDFILEINFO_FILE_FLAGS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for VS_FIXEDFILEINFO_FILE_FLAGS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct VS_FIXEDFILEINFO_FILE_OS ( pub i32 ) ; pub const VOS_UNKNOWN : VS_FIXEDFILEINFO_FILE_OS = VS_FIXEDFILEINFO_FILE_OS ( 0i32 ) ; pub const VOS_DOS : VS_FIXEDFILEINFO_FILE_OS = VS_FIXEDFILEINFO_FILE_OS ( 65536i32 ) ; pub const VOS_OS216 : VS_FIXEDFILEINFO_FILE_OS = VS_FIXEDFILEINFO_FILE_OS ( 131072i32 ) ; pub const VOS_OS232 : VS_FIXEDFILEINFO_FILE_OS = VS_FIXEDFILEINFO_FILE_OS ( 196608i32 ) ; pub const VOS_NT : VS_FIXEDFILEINFO_FILE_OS = VS_FIXEDFILEINFO_FILE_OS ( 262144i32 ) ; pub const VOS_WINCE : VS_FIXEDFILEINFO_FILE_OS = VS_FIXEDFILEINFO_FILE_OS ( 327680i32 ) ; pub const VOS__BASE : VS_FIXEDFILEINFO_FILE_OS = VS_FIXEDFILEINFO_FILE_OS ( 0i32 ) ; pub const VOS__WINDOWS16 : VS_FIXEDFILEINFO_FILE_OS = VS_FIXEDFILEINFO_FILE_OS ( 1i32 ) ; pub const VOS__PM16 : VS_FIXEDFILEINFO_FILE_OS = VS_FIXEDFILEINFO_FILE_OS ( 2i32 ) ; pub const VOS__PM32 : VS_FIXEDFILEINFO_FILE_OS = VS_FIXEDFILEINFO_FILE_OS ( 3i32 ) ; pub const VOS__WINDOWS32 : VS_FIXEDFILEINFO_FILE_OS = VS_FIXEDFILEINFO_FILE_OS ( 4i32 ) ; pub const VOS_DOS_WINDOWS16 : VS_FIXEDFILEINFO_FILE_OS = VS_FIXEDFILEINFO_FILE_OS ( 65537i32 ) ; pub const VOS_DOS_WINDOWS32 : VS_FIXEDFILEINFO_FILE_OS = VS_FIXEDFILEINFO_FILE_OS ( 65540i32 ) ; pub const VOS_OS216_PM16 : VS_FIXEDFILEINFO_FILE_OS = VS_FIXEDFILEINFO_FILE_OS ( 131074i32 ) ; pub const VOS_OS232_PM32 : VS_FIXEDFILEINFO_FILE_OS = VS_FIXEDFILEINFO_FILE_OS ( 196611i32 ) ; pub const VOS_NT_WINDOWS32 : VS_FIXEDFILEINFO_FILE_OS = VS_FIXEDFILEINFO_FILE_OS ( 262148i32 ) ; impl :: std :: convert :: From < i32 > for VS_FIXEDFILEINFO_FILE_OS { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for VS_FIXEDFILEINFO_FILE_OS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct VS_FIXEDFILEINFO_FILE_SUBTYPE ( pub i32 ) ; pub const VFT2_UNKNOWN : VS_FIXEDFILEINFO_FILE_SUBTYPE = VS_FIXEDFILEINFO_FILE_SUBTYPE ( 0i32 ) ; pub const VFT2_DRV_PRINTER : VS_FIXEDFILEINFO_FILE_SUBTYPE = VS_FIXEDFILEINFO_FILE_SUBTYPE ( 1i32 ) ; pub const VFT2_DRV_KEYBOARD : VS_FIXEDFILEINFO_FILE_SUBTYPE = VS_FIXEDFILEINFO_FILE_SUBTYPE ( 2i32 ) ; pub const VFT2_DRV_LANGUAGE : VS_FIXEDFILEINFO_FILE_SUBTYPE = VS_FIXEDFILEINFO_FILE_SUBTYPE ( 3i32 ) ; pub const VFT2_DRV_DISPLAY : VS_FIXEDFILEINFO_FILE_SUBTYPE = VS_FIXEDFILEINFO_FILE_SUBTYPE ( 4i32 ) ; pub const VFT2_DRV_MOUSE : VS_FIXEDFILEINFO_FILE_SUBTYPE = VS_FIXEDFILEINFO_FILE_SUBTYPE ( 5i32 ) ; pub const VFT2_DRV_NETWORK : VS_FIXEDFILEINFO_FILE_SUBTYPE = VS_FIXEDFILEINFO_FILE_SUBTYPE ( 6i32 ) ; pub const VFT2_DRV_SYSTEM : VS_FIXEDFILEINFO_FILE_SUBTYPE = VS_FIXEDFILEINFO_FILE_SUBTYPE ( 7i32 ) ; pub const VFT2_DRV_INSTALLABLE : VS_FIXEDFILEINFO_FILE_SUBTYPE = VS_FIXEDFILEINFO_FILE_SUBTYPE ( 8i32 ) ; pub const VFT2_DRV_SOUND : VS_FIXEDFILEINFO_FILE_SUBTYPE = VS_FIXEDFILEINFO_FILE_SUBTYPE ( 9i32 ) ; pub const VFT2_DRV_COMM : VS_FIXEDFILEINFO_FILE_SUBTYPE = VS_FIXEDFILEINFO_FILE_SUBTYPE ( 10i32 ) ; pub const VFT2_DRV_INPUTMETHOD : VS_FIXEDFILEINFO_FILE_SUBTYPE = VS_FIXEDFILEINFO_FILE_SUBTYPE ( 11i32 ) ; pub const VFT2_DRV_VERSIONED_PRINTER : VS_FIXEDFILEINFO_FILE_SUBTYPE = VS_FIXEDFILEINFO_FILE_SUBTYPE ( 12i32 ) ; pub const VFT2_FONT_RASTER : VS_FIXEDFILEINFO_FILE_SUBTYPE = VS_FIXEDFILEINFO_FILE_SUBTYPE ( 1i32 ) ; pub const VFT2_FONT_VECTOR : VS_FIXEDFILEINFO_FILE_SUBTYPE = VS_FIXEDFILEINFO_FILE_SUBTYPE ( 2i32 ) ; pub const VFT2_FONT_TRUETYPE : VS_FIXEDFILEINFO_FILE_SUBTYPE = VS_FIXEDFILEINFO_FILE_SUBTYPE ( 3i32 ) ; impl :: std :: convert :: From < i32 > for VS_FIXEDFILEINFO_FILE_SUBTYPE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for VS_FIXEDFILEINFO_FILE_SUBTYPE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct VS_FIXEDFILEINFO_FILE_TYPE ( pub i32 ) ; pub const VFT_UNKNOWN : VS_FIXEDFILEINFO_FILE_TYPE = VS_FIXEDFILEINFO_FILE_TYPE ( 0i32 ) ; pub const VFT_APP : VS_FIXEDFILEINFO_FILE_TYPE = VS_FIXEDFILEINFO_FILE_TYPE ( 1i32 ) ; pub const VFT_DLL : VS_FIXEDFILEINFO_FILE_TYPE = VS_FIXEDFILEINFO_FILE_TYPE ( 2i32 ) ; pub const VFT_DRV : VS_FIXEDFILEINFO_FILE_TYPE = VS_FIXEDFILEINFO_FILE_TYPE ( 3i32 ) ; pub const VFT_FONT : VS_FIXEDFILEINFO_FILE_TYPE = VS_FIXEDFILEINFO_FILE_TYPE ( 4i32 ) ; pub const VFT_VXD : VS_FIXEDFILEINFO_FILE_TYPE = VS_FIXEDFILEINFO_FILE_TYPE ( 5i32 ) ; pub const VFT_STATIC_LIB : VS_FIXEDFILEINFO_FILE_TYPE = VS_FIXEDFILEINFO_FILE_TYPE ( 7i32 ) ; impl :: std :: convert :: From < i32 > for VS_FIXEDFILEINFO_FILE_TYPE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for VS_FIXEDFILEINFO_FILE_TYPE { type Abi = Self ; type DefaultType = Self ; } pub const VS_USER_DEFINED : u32 = 100u32 ; pub const VS_VERSION_INFO : u32 = 1u32 ; pub unsafe fn ValidateLog < 'a , > ( pszlogfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , psalogfile : * mut super::super::Security:: SECURITY_ATTRIBUTES , pinfobuffer : * mut CLS_INFORMATION , pcbbuffer : * mut u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="clfsw32" ) ] extern "system" { fn ValidateLog ( pszlogfilename : super::super::Foundation:: PWSTR , psalogfile : * mut super::super::Security:: SECURITY_ATTRIBUTES , pinfobuffer : * mut CLS_INFORMATION , pcbbuffer : * mut u32 ) -> super::super::Foundation:: BOOL ; } ValidateLog ( pszlogfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( psalogfile ) , :: std :: mem :: transmute ( pinfobuffer ) , :: std :: mem :: transmute ( pcbbuffer ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn VerFindFileA < 'a , > ( uflags : VER_FIND_FILE_FLAGS , szfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , szwindir : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , szappdir : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , szcurdir : super::super::Foundation:: PSTR , pucurdirlen : * mut u32 , szdestdir : super::super::Foundation:: PSTR , pudestdirlen : * mut u32 , ) -> VER_FIND_FILE_STATUS { # [ cfg ( windows ) ] { # [ link ( name ="VERSION" ) ] extern "system" { fn VerFindFileA ( uflags : VER_FIND_FILE_FLAGS , szfilename : super::super::Foundation:: PSTR , szwindir : super::super::Foundation:: PSTR , szappdir : super::super::Foundation:: PSTR , szcurdir : super::super::Foundation:: PSTR , pucurdirlen : * mut u32 , szdestdir : super::super::Foundation:: PSTR , pudestdirlen : * mut u32 ) -> VER_FIND_FILE_STATUS ; } VerFindFileA ( :: std :: mem :: transmute ( uflags ) , szfilename . into_param ( ) . abi ( ) , szwindir . into_param ( ) . abi ( ) , szappdir . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( szcurdir ) , :: std :: mem :: transmute ( pucurdirlen ) , :: std :: mem :: transmute ( szdestdir ) , :: std :: mem :: transmute ( pudestdirlen ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn VerFindFileW < 'a , > ( uflags : VER_FIND_FILE_FLAGS , szfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , szwindir : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , szappdir : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , szcurdir : super::super::Foundation:: PWSTR , pucurdirlen : * mut u32 , szdestdir : super::super::Foundation:: PWSTR , pudestdirlen : * mut u32 , ) -> VER_FIND_FILE_STATUS { # [ cfg ( windows ) ] { # [ link ( name ="VERSION" ) ] extern "system" { fn VerFindFileW ( uflags : VER_FIND_FILE_FLAGS , szfilename : super::super::Foundation:: PWSTR , szwindir : super::super::Foundation:: PWSTR , szappdir : super::super::Foundation:: PWSTR , szcurdir : super::super::Foundation:: PWSTR , pucurdirlen : * mut u32 , szdestdir : super::super::Foundation:: PWSTR , pudestdirlen : * mut u32 ) -> VER_FIND_FILE_STATUS ; } VerFindFileW ( :: std :: mem :: transmute ( uflags ) , szfilename . into_param ( ) . abi ( ) , szwindir . into_param ( ) . abi ( ) , szappdir . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( szcurdir ) , :: std :: mem :: transmute ( pucurdirlen ) , :: std :: mem :: transmute ( szdestdir ) , :: std :: mem :: transmute ( pudestdirlen ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn VerInstallFileA < 'a , > ( uflags : VER_INSTALL_FILE_FLAGS , szsrcfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , szdestfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , szsrcdir : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , szdestdir : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , szcurdir : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , sztmpfile : super::super::Foundation:: PSTR , putmpfilelen : * mut u32 , ) -> VER_INSTALL_FILE_STATUS { # [ cfg ( windows ) ] { # [ link ( name ="VERSION" ) ] extern "system" { fn VerInstallFileA ( uflags : VER_INSTALL_FILE_FLAGS , szsrcfilename : super::super::Foundation:: PSTR , szdestfilename : super::super::Foundation:: PSTR , szsrcdir : super::super::Foundation:: PSTR , szdestdir : super::super::Foundation:: PSTR , szcurdir : super::super::Foundation:: PSTR , sztmpfile : super::super::Foundation:: PSTR , putmpfilelen : * mut u32 ) -> VER_INSTALL_FILE_STATUS ; } VerInstallFileA ( :: std :: mem :: transmute ( uflags ) , szsrcfilename . into_param ( ) . abi ( ) , szdestfilename . into_param ( ) . abi ( ) , szsrcdir . into_param ( ) . abi ( ) , szdestdir . into_param ( ) . abi ( ) , szcurdir . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( sztmpfile ) , :: std :: mem :: transmute ( putmpfilelen ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn VerInstallFileW < 'a , > ( uflags : VER_INSTALL_FILE_FLAGS , szsrcfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , szdestfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , szsrcdir : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , szdestdir : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , szcurdir : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , sztmpfile : super::super::Foundation:: PWSTR , putmpfilelen : * mut u32 , ) -> VER_INSTALL_FILE_STATUS { # [ cfg ( windows ) ] { # [ link ( name ="VERSION" ) ] extern "system" { fn VerInstallFileW ( uflags : VER_INSTALL_FILE_FLAGS , szsrcfilename : super::super::Foundation:: PWSTR , szdestfilename : super::super::Foundation:: PWSTR , szsrcdir : super::super::Foundation:: PWSTR , szdestdir : super::super::Foundation:: PWSTR , szcurdir : super::super::Foundation:: PWSTR , sztmpfile : super::super::Foundation:: PWSTR , putmpfilelen : * mut u32 ) -> VER_INSTALL_FILE_STATUS ; } VerInstallFileW ( :: std :: mem :: transmute ( uflags ) , szsrcfilename . into_param ( ) . abi ( ) , szdestfilename . into_param ( ) . abi ( ) , szsrcdir . into_param ( ) . abi ( ) , szdestdir . into_param ( ) . abi ( ) , szcurdir . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( sztmpfile ) , :: std :: mem :: transmute ( putmpfilelen ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn VerLanguageNameA < > ( wlang : u32 , szlang : super::super::Foundation:: PSTR , cchlang : u32 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn VerLanguageNameA ( wlang : u32 , szlang : super::super::Foundation:: PSTR , cchlang : u32 ) -> u32 ; } VerLanguageNameA ( :: std :: mem :: transmute ( wlang ) , :: std :: mem :: transmute ( szlang ) , :: std :: mem :: transmute ( cchlang ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn VerLanguageNameW < > ( wlang : u32 , szlang : super::super::Foundation:: PWSTR , cchlang : u32 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn VerLanguageNameW ( wlang : u32 , szlang : super::super::Foundation:: PWSTR , cchlang : u32 ) -> u32 ; } VerLanguageNameW ( :: std :: mem :: transmute ( wlang ) , :: std :: mem :: transmute ( szlang ) , :: std :: mem :: transmute ( cchlang ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn VerQueryValueA < 'a , > ( pblock : * const :: std :: ffi :: c_void , lpsubblock : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , lplpbuffer : * mut * mut :: std :: ffi :: c_void , pulen : * mut u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="VERSION" ) ] extern "system" { fn VerQueryValueA ( pblock : * const :: std :: ffi :: c_void , lpsubblock : super::super::Foundation:: PSTR , lplpbuffer : * mut * mut :: std :: ffi :: c_void , pulen : * mut u32 ) -> super::super::Foundation:: BOOL ; } VerQueryValueA ( :: std :: mem :: transmute ( pblock ) , lpsubblock . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lplpbuffer ) , :: std :: mem :: transmute ( pulen ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn VerQueryValueW < 'a , > ( pblock : * const :: std :: ffi :: c_void , lpsubblock : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , lplpbuffer : * mut * mut :: std :: ffi :: c_void , pulen : * mut u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="VERSION" ) ] extern "system" { fn VerQueryValueW ( pblock : * const :: std :: ffi :: c_void , lpsubblock : super::super::Foundation:: PWSTR , lplpbuffer : * mut * mut :: std :: ffi :: c_void , pulen : * mut u32 ) -> super::super::Foundation:: BOOL ; } VerQueryValueW ( :: std :: mem :: transmute ( pblock ) , lpsubblock . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lplpbuffer ) , :: std :: mem :: transmute ( pulen ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub const WIM_ENTRY_FLAG_NOT_ACTIVE : u32 = 1u32 ; pub const WIM_ENTRY_FLAG_SUSPENDED : u32 = 2u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct WIM_ENTRY_INFO { pub WimEntryInfoSize : u32 , pub WimType : u32 , pub DataSourceId : i64 , pub WimGuid : :: windows :: Guid , pub WimPath : super::super::Foundation:: PWSTR , pub WimIndex : u32 , pub Flags : u32 } impl WIM_ENTRY_INFO { } impl :: std :: default :: Default for WIM_ENTRY_INFO { fn default ( ) -> Self { Self { WimEntryInfoSize : 0 , WimType : 0 , DataSourceId : 0 , WimGuid : :: std :: default :: Default :: default ( ) , WimPath : :: std :: default :: Default :: default ( ) , WimIndex : 0 , Flags : 0 } } } impl :: std :: fmt :: Debug for WIM_ENTRY_INFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "WIM_ENTRY_INFO" ) . field ( "WimEntryInfoSize" , & self . WimEntryInfoSize ) . field ( "WimType" , & self . WimType ) . field ( "DataSourceId" , & self . DataSourceId ) . field ( "WimGuid" , & self . WimGuid ) . field ( "WimPath" , & self . WimPath ) . field ( "WimIndex" , & self . WimIndex ) . field ( "Flags" , & self . Flags ) . finish ( ) } } impl :: std :: cmp :: PartialEq for WIM_ENTRY_INFO { fn eq ( & self , other : & Self ) -> bool { self . WimEntryInfoSize == other . WimEntryInfoSize && self . WimType == other . WimType && self . DataSourceId == other . DataSourceId && self . WimGuid == other . WimGuid && self . WimPath == other . WimPath && self . WimIndex == other . WimIndex && self . Flags == other . Flags } } impl :: std :: cmp :: Eq for WIM_ENTRY_INFO { } unsafe impl :: windows :: Abi for WIM_ENTRY_INFO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct WIM_EXTERNAL_FILE_INFO { pub DataSourceId : i64 , pub ResourceHash : [ u8 ;20 ] , pub Flags : u32 } impl WIM_EXTERNAL_FILE_INFO { } impl :: std :: default :: Default for WIM_EXTERNAL_FILE_INFO { fn default ( ) -> Self { Self { DataSourceId : 0 , ResourceHash : [ 0 ;20 ] , Flags : 0 } } } impl :: std :: fmt :: Debug for WIM_EXTERNAL_FILE_INFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "WIM_EXTERNAL_FILE_INFO" ) . field ( "DataSourceId" , & self . DataSourceId ) . field ( "ResourceHash" , & self . ResourceHash ) . field ( "Flags" , & self . Flags ) . finish ( ) } } impl :: std :: cmp :: PartialEq for WIM_EXTERNAL_FILE_INFO { fn eq ( & self , other : & Self ) -> bool { self . DataSourceId == other . DataSourceId && self . ResourceHash == other . ResourceHash && self . Flags == other . Flags } } impl :: std :: cmp :: Eq for WIM_EXTERNAL_FILE_INFO { } unsafe impl :: windows :: Abi for WIM_EXTERNAL_FILE_INFO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct WIN32_FILE_ATTRIBUTE_DATA { pub dwFileAttributes : u32 , pub ftCreationTime : super::super::Foundation:: FILETIME , pub ftLastAccessTime : super::super::Foundation:: FILETIME , pub ftLastWriteTime : super::super::Foundation:: FILETIME , pub nFileSizeHigh : u32 , pub nFileSizeLow : u32 } impl WIN32_FILE_ATTRIBUTE_DATA { } impl :: std :: default :: Default for WIN32_FILE_ATTRIBUTE_DATA { fn default ( ) -> Self { Self { dwFileAttributes : 0 , ftCreationTime : :: std :: default :: Default :: default ( ) , ftLastAccessTime : :: std :: default :: Default :: default ( ) , ftLastWriteTime : :: std :: default :: Default :: default ( ) , nFileSizeHigh : 0 , nFileSizeLow : 0 } } } impl :: std :: fmt :: Debug for WIN32_FILE_ATTRIBUTE_DATA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "WIN32_FILE_ATTRIBUTE_DATA" ) . field ( "dwFileAttributes" , & self . dwFileAttributes ) . field ( "ftCreationTime" , & self . ftCreationTime ) . field ( "ftLastAccessTime" , & self . ftLastAccessTime ) . field ( "ftLastWriteTime" , & self . ftLastWriteTime ) . field ( "nFileSizeHigh" , & self . nFileSizeHigh ) . field ( "nFileSizeLow" , & self . nFileSizeLow ) . finish ( ) } } impl :: std :: cmp :: PartialEq for WIN32_FILE_ATTRIBUTE_DATA { fn eq ( & self , other : & Self ) -> bool { self . dwFileAttributes == other . dwFileAttributes && self . ftCreationTime == other . ftCreationTime && self . ftLastAccessTime == other . ftLastAccessTime && self . ftLastWriteTime == other . ftLastWriteTime && self . nFileSizeHigh == other . nFileSizeHigh && self . nFileSizeLow == other . nFileSizeLow } } impl :: std :: cmp :: Eq for WIN32_FILE_ATTRIBUTE_DATA { } unsafe impl :: windows :: Abi for WIN32_FILE_ATTRIBUTE_DATA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct WIN32_FIND_DATAA { pub dwFileAttributes : u32 , pub ftCreationTime : super::super::Foundation:: FILETIME , pub ftLastAccessTime : super::super::Foundation:: FILETIME , pub ftLastWriteTime : super::super::Foundation:: FILETIME , pub nFileSizeHigh : u32 , pub nFileSizeLow : u32 , pub dwReserved0 : u32 , pub dwReserved1 : u32 , pub cFileName : [ super::super::System::SystemServices:: CHAR ;260 ] , pub cAlternateFileName : [ super::super::System::SystemServices:: CHAR ;14 ] } impl WIN32_FIND_DATAA { } impl :: std :: default :: Default for WIN32_FIND_DATAA { fn default ( ) -> Self { Self { dwFileAttributes : 0 , ftCreationTime : :: std :: default :: Default :: default ( ) , ftLastAccessTime : :: std :: default :: Default :: default ( ) , ftLastWriteTime : :: std :: default :: Default :: default ( ) , nFileSizeHigh : 0 , nFileSizeLow : 0 , dwReserved0 : 0 , dwReserved1 : 0 , cFileName : [ :: std :: default :: Default :: default ( ) ;260 ] , cAlternateFileName : [ :: std :: default :: Default :: default ( ) ;14 ] } } } impl :: std :: fmt :: Debug for WIN32_FIND_DATAA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "WIN32_FIND_DATAA" ) . field ( "dwFileAttributes" , & self . dwFileAttributes ) . field ( "ftCreationTime" , & self . ftCreationTime ) . field ( "ftLastAccessTime" , & self . ftLastAccessTime ) . field ( "ftLastWriteTime" , & self . ftLastWriteTime ) . field ( "nFileSizeHigh" , & self . nFileSizeHigh ) . field ( "nFileSizeLow" , & self . nFileSizeLow ) . field ( "dwReserved0" , & self . dwReserved0 ) . field ( "dwReserved1" , & self . dwReserved1 ) . field ( "cFileName" , & self . cFileName ) . field ( "cAlternateFileName" , & self . cAlternateFileName ) . finish ( ) } } impl :: std :: cmp :: PartialEq for WIN32_FIND_DATAA { fn eq ( & self , other : & Self ) -> bool { self . dwFileAttributes == other . dwFileAttributes && self . ftCreationTime == other . ftCreationTime && self . ftLastAccessTime == other . ftLastAccessTime && self . ftLastWriteTime == other . ftLastWriteTime && self . nFileSizeHigh == other . nFileSizeHigh && self . nFileSizeLow == other . nFileSizeLow && self . dwReserved0 == other . dwReserved0 && self . dwReserved1 == other . dwReserved1 && self . cFileName == other . cFileName && self . cAlternateFileName == other . cAlternateFileName } } impl :: std :: cmp :: Eq for WIN32_FIND_DATAA { } unsafe impl :: windows :: Abi for WIN32_FIND_DATAA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct WIN32_FIND_DATAW { pub dwFileAttributes : u32 , pub ftCreationTime : super::super::Foundation:: FILETIME , pub ftLastAccessTime : super::super::Foundation:: FILETIME , pub ftLastWriteTime : super::super::Foundation:: FILETIME , pub nFileSizeHigh : u32 , pub nFileSizeLow : u32 , pub dwReserved0 : u32 , pub dwReserved1 : u32 , pub cFileName : [ u16 ;260 ] , pub cAlternateFileName : [ u16 ;14 ] } impl WIN32_FIND_DATAW { } impl :: std :: default :: Default for WIN32_FIND_DATAW { fn default ( ) -> Self { Self { dwFileAttributes : 0 , ftCreationTime : :: std :: default :: Default :: default ( ) , ftLastAccessTime : :: std :: default :: Default :: default ( ) , ftLastWriteTime : :: std :: default :: Default :: default ( ) , nFileSizeHigh : 0 , nFileSizeLow : 0 , dwReserved0 : 0 , dwReserved1 : 0 , cFileName : [ 0 ;260 ] , cAlternateFileName : [ 0 ;14 ] } } } impl :: std :: fmt :: Debug for WIN32_FIND_DATAW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "WIN32_FIND_DATAW" ) . field ( "dwFileAttributes" , & self . dwFileAttributes ) . field ( "ftCreationTime" , & self . ftCreationTime ) . field ( "ftLastAccessTime" , & self . ftLastAccessTime ) . field ( "ftLastWriteTime" , & self . ftLastWriteTime ) . field ( "nFileSizeHigh" , & self . nFileSizeHigh ) . field ( "nFileSizeLow" , & self . nFileSizeLow ) . field ( "dwReserved0" , & self . dwReserved0 ) . field ( "dwReserved1" , & self . dwReserved1 ) . field ( "cFileName" , & self . cFileName ) . field ( "cAlternateFileName" , & self . cAlternateFileName ) . finish ( ) } } impl :: std :: cmp :: PartialEq for WIN32_FIND_DATAW { fn eq ( & self , other : & Self ) -> bool { self . dwFileAttributes == other . dwFileAttributes && self . ftCreationTime == other . ftCreationTime && self . ftLastAccessTime == other . ftLastAccessTime && self . ftLastWriteTime == other . ftLastWriteTime && self . nFileSizeHigh == other . nFileSizeHigh && self . nFileSizeLow == other . nFileSizeLow && self . dwReserved0 == other . dwReserved0 && self . dwReserved1 == other . dwReserved1 && self . cFileName == other . cFileName && self . cAlternateFileName == other . cAlternateFileName } } impl :: std :: cmp :: Eq for WIN32_FIND_DATAW { } unsafe impl :: windows :: Abi for WIN32_FIND_DATAW { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct WIN32_FIND_STREAM_DATA { pub StreamSize : i64 , pub cStreamName : [ u16 ;296 ] } impl WIN32_FIND_STREAM_DATA { } impl :: std :: default :: Default for WIN32_FIND_STREAM_DATA { fn default ( ) -> Self { Self { StreamSize : 0 , cStreamName : [ 0 ;296 ] } } } impl :: std :: fmt :: Debug for WIN32_FIND_STREAM_DATA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "WIN32_FIND_STREAM_DATA" ) . field ( "StreamSize" , & self . StreamSize ) . field ( "cStreamName" , & self . cStreamName ) . finish ( ) } } impl :: std :: cmp :: PartialEq for WIN32_FIND_STREAM_DATA { fn eq ( & self , other : & Self ) -> bool { self . StreamSize == other . StreamSize && self . cStreamName == other . cStreamName } } impl :: std :: cmp :: Eq for WIN32_FIND_STREAM_DATA { } unsafe impl :: windows :: Abi for WIN32_FIND_STREAM_DATA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct WIN32_STREAM_ID { pub dwStreamId : WIN_STREAM_ID , pub dwStreamAttributes : u32 , pub Size : i64 , pub dwStreamNameSize : u32 , pub cStreamName : [ u16 ;1 ] } impl WIN32_STREAM_ID { } impl :: std :: default :: Default for WIN32_STREAM_ID { fn default ( ) -> Self { Self { dwStreamId : :: std :: default :: Default :: default ( ) , dwStreamAttributes : 0 , Size : 0 , dwStreamNameSize : 0 , cStreamName : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for WIN32_STREAM_ID { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "WIN32_STREAM_ID" ) . field ( "dwStreamId" , & self . dwStreamId ) . field ( "dwStreamAttributes" , & self . dwStreamAttributes ) . field ( "Size" , & self . Size ) . field ( "dwStreamNameSize" , & self . dwStreamNameSize ) . field ( "cStreamName" , & self . cStreamName ) . finish ( ) } } impl :: std :: cmp :: PartialEq for WIN32_STREAM_ID { fn eq ( & self , other : & Self ) -> bool { self . dwStreamId == other . dwStreamId && self . dwStreamAttributes == other . dwStreamAttributes && self . Size == other . Size && self . dwStreamNameSize == other . dwStreamNameSize && self . cStreamName == other . cStreamName } } impl :: std :: cmp :: Eq for WIN32_STREAM_ID { } unsafe impl :: windows :: Abi for WIN32_STREAM_ID { type Abi = Self ; type DefaultType = Self ; } pub const WINEFS_SETUSERKEY_SET_CAPABILITIES : u32 = 1u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct WIN_STREAM_ID ( pub u32 ) ; pub const BACKUP_ALTERNATE_DATA : WIN_STREAM_ID = WIN_STREAM_ID ( 4u32 ) ; pub const BACKUP_DATA : WIN_STREAM_ID = WIN_STREAM_ID ( 1u32 ) ; pub const BACKUP_EA_DATA : WIN_STREAM_ID = WIN_STREAM_ID ( 2u32 ) ; pub const BACKUP_LINK : WIN_STREAM_ID = WIN_STREAM_ID ( 5u32 ) ; pub const BACKUP_OBJECT_ID : WIN_STREAM_ID = WIN_STREAM_ID ( 7u32 ) ; pub const BACKUP_PROPERTY_DATA : WIN_STREAM_ID = WIN_STREAM_ID ( 6u32 ) ; pub const BACKUP_REPARSE_DATA : WIN_STREAM_ID = WIN_STREAM_ID ( 8u32 ) ; pub const BACKUP_SECURITY_DATA : WIN_STREAM_ID = WIN_STREAM_ID ( 3u32 ) ; pub const BACKUP_SPARSE_BLOCK : WIN_STREAM_ID = WIN_STREAM_ID ( 9u32 ) ; pub const BACKUP_TXFS_DATA : WIN_STREAM_ID = WIN_STREAM_ID ( 10u32 ) ; impl :: std :: convert :: From < u32 > for WIN_STREAM_ID { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for WIN_STREAM_ID { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for WIN_STREAM_ID { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for WIN_STREAM_ID { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for WIN_STREAM_ID { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for WIN_STREAM_ID { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct WOF_FILE_COMPRESSION_INFO_V0 { pub Algorithm : u32 } impl WOF_FILE_COMPRESSION_INFO_V0 { } impl :: std :: default :: Default for WOF_FILE_COMPRESSION_INFO_V0 { fn default ( ) -> Self { Self { Algorithm : 0 } } } impl :: std :: fmt :: Debug for WOF_FILE_COMPRESSION_INFO_V0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "WOF_FILE_COMPRESSION_INFO_V0" ) . field ( "Algorithm" , & self . Algorithm ) . finish ( ) } } impl :: std :: cmp :: PartialEq for WOF_FILE_COMPRESSION_INFO_V0 { fn eq ( & self , other : & Self ) -> bool { self . Algorithm == other . Algorithm } } impl :: std :: cmp :: Eq for WOF_FILE_COMPRESSION_INFO_V0 { } unsafe impl :: windows :: Abi for WOF_FILE_COMPRESSION_INFO_V0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct WOF_FILE_COMPRESSION_INFO_V1 { pub Algorithm : u32 , pub Flags : u32 } impl WOF_FILE_COMPRESSION_INFO_V1 { } impl :: std :: default :: Default for WOF_FILE_COMPRESSION_INFO_V1 { fn default ( ) -> Self { Self { Algorithm : 0 , Flags : 0 } } } impl :: std :: fmt :: Debug for WOF_FILE_COMPRESSION_INFO_V1 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "WOF_FILE_COMPRESSION_INFO_V1" ) . field ( "Algorithm" , & self . Algorithm ) . field ( "Flags" , & self . Flags ) . finish ( ) } } impl :: std :: cmp :: PartialEq for WOF_FILE_COMPRESSION_INFO_V1 { fn eq ( & self , other : & Self ) -> bool { self . Algorithm == other . Algorithm && self . Flags == other . Flags } } impl :: std :: cmp :: Eq for WOF_FILE_COMPRESSION_INFO_V1 { } unsafe impl :: windows :: Abi for WOF_FILE_COMPRESSION_INFO_V1 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct WRITE_CACHE_CHANGE ( pub i32 ) ; pub const WriteCacheChangeUnknown : WRITE_CACHE_CHANGE = WRITE_CACHE_CHANGE ( 0i32 ) ; pub const WriteCacheNotChangeable : WRITE_CACHE_CHANGE = WRITE_CACHE_CHANGE ( 1i32 ) ; pub const WriteCacheChangeable : WRITE_CACHE_CHANGE = WRITE_CACHE_CHANGE ( 2i32 ) ; impl :: std :: convert :: From < i32 > for WRITE_CACHE_CHANGE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for WRITE_CACHE_CHANGE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct WRITE_CACHE_ENABLE ( pub i32 ) ; pub const WriteCacheEnableUnknown : WRITE_CACHE_ENABLE = WRITE_CACHE_ENABLE ( 0i32 ) ; pub const WriteCacheDisabled : WRITE_CACHE_ENABLE = WRITE_CACHE_ENABLE ( 1i32 ) ; pub const WriteCacheEnabled : WRITE_CACHE_ENABLE = WRITE_CACHE_ENABLE ( 2i32 ) ; impl :: std :: convert :: From < i32 > for WRITE_CACHE_ENABLE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for WRITE_CACHE_ENABLE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct WRITE_CACHE_TYPE ( pub i32 ) ; pub const WriteCacheTypeUnknown : WRITE_CACHE_TYPE = WRITE_CACHE_TYPE ( 0i32 ) ; pub const WriteCacheTypeNone : WRITE_CACHE_TYPE = WRITE_CACHE_TYPE ( 1i32 ) ; pub const WriteCacheTypeWriteBack : WRITE_CACHE_TYPE = WRITE_CACHE_TYPE ( 2i32 ) ; pub const WriteCacheTypeWriteThrough : WRITE_CACHE_TYPE = WRITE_CACHE_TYPE ( 3i32 ) ; impl :: std :: convert :: From < i32 > for WRITE_CACHE_TYPE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for WRITE_CACHE_TYPE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct WRITE_THROUGH ( pub i32 ) ; pub const WriteThroughUnknown : WRITE_THROUGH = WRITE_THROUGH ( 0i32 ) ; pub const WriteThroughNotSupported : WRITE_THROUGH = WRITE_THROUGH ( 1i32 ) ; pub const WriteThroughSupported : WRITE_THROUGH = WRITE_THROUGH ( 2i32 ) ; impl :: std :: convert :: From < i32 > for WRITE_THROUGH { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for WRITE_THROUGH { type Abi = Self ; type DefaultType = Self ; } pub unsafe fn WofEnumEntries < 'a , > ( volumename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , provider : u32 , enumproc : :: std :: option :: Option < WofEnumEntryProc > , userdata : * mut :: std :: ffi :: c_void , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="WOFUTIL" ) ] extern "system" { fn WofEnumEntries ( volumename : super::super::Foundation:: PWSTR , provider : u32 , enumproc : :: windows :: RawPtr , userdata : * mut :: std :: ffi :: c_void ) -> :: windows :: HRESULT ; } WofEnumEntries ( volumename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( provider ) , :: std :: mem :: transmute ( enumproc ) , :: std :: mem :: transmute ( userdata ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub type WofEnumEntryProc = unsafe extern "system" fn ( entryinfo : * const :: std :: ffi :: c_void , userdata : * mut :: std :: ffi :: c_void ) -> super::super::Foundation:: BOOL ; pub type WofEnumFilesProc = unsafe extern "system" fn ( filepath : super::super::Foundation:: PWSTR , externalfileinfo : * mut :: std :: ffi :: c_void , userdata : * mut :: std :: ffi :: c_void ) -> super::super::Foundation:: BOOL ; pub unsafe fn WofFileEnumFiles < 'a , > ( volumename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , algorithm : u32 , enumproc : :: std :: option :: Option < WofEnumFilesProc > , userdata : * mut :: std :: ffi :: c_void , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="WOFUTIL" ) ] extern "system" { fn WofFileEnumFiles ( volumename : super::super::Foundation:: PWSTR , algorithm : u32 , enumproc : :: windows :: RawPtr , userdata : * mut :: std :: ffi :: c_void ) -> :: windows :: HRESULT ; } WofFileEnumFiles ( volumename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( algorithm ) , :: std :: mem :: transmute ( enumproc ) , :: std :: mem :: transmute ( userdata ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn WofGetDriverVersion < 'a , > ( fileorvolumehandle : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , provider : u32 , ) -> :: windows :: Result < u32 > { # [ cfg ( windows ) ] { # [ link ( name ="WOFUTIL" ) ] extern "system" { fn WofGetDriverVersion ( fileorvolumehandle : super::super::Foundation:: HANDLE , provider : u32 , wofversion : * mut u32 ) -> :: windows :: HRESULT ; } let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; WofGetDriverVersion ( fileorvolumehandle . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( provider ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn WofIsExternalFile < 'a , > ( filepath : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , isexternalfile : * mut super::super::Foundation:: BOOL , provider : * mut u32 , externalfileinfo : * mut :: std :: ffi :: c_void , bufferlength : * mut u32 , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="WOFUTIL" ) ] extern "system" { fn WofIsExternalFile ( filepath : super::super::Foundation:: PWSTR , isexternalfile : * mut super::super::Foundation:: BOOL , provider : * mut u32 , externalfileinfo : * mut :: std :: ffi :: c_void , bufferlength : * mut u32 ) -> :: windows :: HRESULT ; } WofIsExternalFile ( filepath . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( isexternalfile ) , :: std :: mem :: transmute ( provider ) , :: std :: mem :: transmute ( externalfileinfo ) , :: std :: mem :: transmute ( bufferlength ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn WofSetFileDataLocation < 'a , > ( filehandle : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , provider : u32 , externalfileinfo : * mut :: std :: ffi :: c_void , length : u32 , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="WOFUTIL" ) ] extern "system" { fn WofSetFileDataLocation ( filehandle : super::super::Foundation:: HANDLE , provider : u32 , externalfileinfo : * mut :: std :: ffi :: c_void , length : u32 ) -> :: windows :: HRESULT ; } WofSetFileDataLocation ( filehandle . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( provider ) , :: std :: mem :: transmute ( externalfileinfo ) , :: std :: mem :: transmute ( length ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn WofShouldCompressBinaries < 'a , > ( volume : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , algorithm : * mut u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="WOFUTIL" ) ] extern "system" { fn WofShouldCompressBinaries ( volume : super::super::Foundation:: PWSTR , algorithm : * mut u32 ) -> super::super::Foundation:: BOOL ; } WofShouldCompressBinaries ( volume . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( algorithm ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn WofWimAddEntry < 'a , > ( volumename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , wimpath : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , wimtype : u32 , wimindex : u32 , ) -> :: windows :: Result < i64 > { # [ cfg ( windows ) ] { # [ link ( name ="WOFUTIL" ) ] extern "system" { fn WofWimAddEntry ( volumename : super::super::Foundation:: PWSTR , wimpath : super::super::Foundation:: PWSTR , wimtype : u32 , wimindex : u32 , datasourceid : * mut i64 ) -> :: windows :: HRESULT ; } let mut result__ : < i64 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; WofWimAddEntry ( volumename . into_param ( ) . abi ( ) , wimpath . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( wimtype ) , :: std :: mem :: transmute ( wimindex ) , & mut result__ ) . from_abi :: < i64 > ( result__ ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn WofWimEnumFiles < 'a , > ( volumename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , datasourceid : i64 , enumproc : :: std :: option :: Option < WofEnumFilesProc > , userdata : * mut :: std :: ffi :: c_void , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="WOFUTIL" ) ] extern "system" { fn WofWimEnumFiles ( volumename : super::super::Foundation:: PWSTR , datasourceid : i64 , enumproc : :: windows :: RawPtr , userdata : * mut :: std :: ffi :: c_void ) -> :: windows :: HRESULT ; } WofWimEnumFiles ( volumename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( datasourceid ) , :: std :: mem :: transmute ( enumproc ) , :: std :: mem :: transmute ( userdata ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn WofWimRemoveEntry < 'a , > ( volumename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , datasourceid : i64 , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="WOFUTIL" ) ] extern "system" { fn WofWimRemoveEntry ( volumename : super::super::Foundation:: PWSTR , datasourceid : i64 ) -> :: windows :: HRESULT ; } WofWimRemoveEntry ( volumename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( datasourceid ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn WofWimSuspendEntry < 'a , > ( volumename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , datasourceid : i64 , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="WOFUTIL" ) ] extern "system" { fn WofWimSuspendEntry ( volumename : super::super::Foundation:: PWSTR , datasourceid : i64 ) -> :: windows :: HRESULT ; } WofWimSuspendEntry ( volumename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( datasourceid ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn WofWimUpdateEntry < 'a , > ( volumename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , datasourceid : i64 , newwimpath : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="WOFUTIL" ) ] extern "system" { fn WofWimUpdateEntry ( volumename : super::super::Foundation:: PWSTR , datasourceid : i64 , newwimpath : super::super::Foundation:: PWSTR ) -> :: windows :: HRESULT ; } WofWimUpdateEntry ( volumename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( datasourceid ) , newwimpath . into_param ( ) . abi ( ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn Wow64DisableWow64FsRedirection < > ( oldvalue : * mut * mut :: std :: ffi :: c_void , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn Wow64DisableWow64FsRedirection ( oldvalue : * mut * mut :: std :: ffi :: c_void ) -> super::super::Foundation:: BOOL ; } Wow64DisableWow64FsRedirection ( :: std :: mem :: transmute ( oldvalue ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn Wow64EnableWow64FsRedirection < > ( wow64fsenableredirection : u8 , ) -> u8 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn Wow64EnableWow64FsRedirection ( wow64fsenableredirection : u8 ) -> u8 ; } Wow64EnableWow64FsRedirection ( :: std :: mem :: transmute ( wow64fsenableredirection ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn Wow64RevertWow64FsRedirection < > ( olvalue : * mut :: std :: ffi :: c_void , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn Wow64RevertWow64FsRedirection ( olvalue : * mut :: std :: ffi :: c_void ) -> super::super::Foundation:: BOOL ; } Wow64RevertWow64FsRedirection ( :: std :: mem :: transmute ( olvalue ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn WriteEncryptedFileRaw < > ( pfimportcallback : :: std :: option :: Option < PFE_IMPORT_FUNC > , pvcallbackcontext : * mut :: std :: ffi :: c_void , pvcontext : * mut :: std :: ffi :: c_void , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="ADVAPI32" ) ] extern "system" { fn WriteEncryptedFileRaw ( pfimportcallback : :: windows :: RawPtr , pvcallbackcontext : * mut :: std :: ffi :: c_void , pvcontext : * mut :: std :: ffi :: c_void ) -> u32 ; } WriteEncryptedFileRaw ( :: std :: mem :: transmute ( pfimportcallback ) , :: std :: mem :: transmute ( pvcallbackcontext ) , :: std :: mem :: transmute ( pvcontext ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn WriteFile < 'a , > ( hfile : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , lpbuffer : * const :: std :: ffi :: c_void , nnumberofbytestowrite : u32 , lpnumberofbyteswritten : * mut u32 , lpoverlapped : * mut super::super::System::SystemServices:: OVERLAPPED , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn WriteFile ( hfile : super::super::Foundation:: HANDLE , lpbuffer : * const :: std :: ffi :: c_void , nnumberofbytestowrite : u32 , lpnumberofbyteswritten : * mut u32 , lpoverlapped : * mut super::super::System::SystemServices:: OVERLAPPED ) -> super::super::Foundation:: BOOL ; } WriteFile ( hfile . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpbuffer ) , :: std :: mem :: transmute ( nnumberofbytestowrite ) , :: std :: mem :: transmute ( lpnumberofbyteswritten ) , :: std :: mem :: transmute ( lpoverlapped ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn WriteFileEx < 'a , > ( hfile : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , lpbuffer : * const :: std :: ffi :: c_void , nnumberofbytestowrite : u32 , lpoverlapped : * mut super::super::System::SystemServices:: OVERLAPPED , lpcompletionroutine : :: std :: option :: Option < LPOVERLAPPED_COMPLETION_ROUTINE > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn WriteFileEx ( hfile : super::super::Foundation:: HANDLE , lpbuffer : * const :: std :: ffi :: c_void , nnumberofbytestowrite : u32 , lpoverlapped : * mut super::super::System::SystemServices:: OVERLAPPED , lpcompletionroutine : :: windows :: RawPtr ) -> super::super::Foundation:: BOOL ; } WriteFileEx ( hfile . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpbuffer ) , :: std :: mem :: transmute ( nnumberofbytestowrite ) , :: std :: mem :: transmute ( lpoverlapped ) , :: std :: mem :: transmute ( lpcompletionroutine ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn WriteFileGather < 'a , > ( hfile : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , asegmentarray : * mut super::super::System::SystemServices:: FILE_SEGMENT_ELEMENT , nnumberofbytestowrite : u32 , lpreserved : * mut u32 , lpoverlapped : * mut super::super::System::SystemServices:: OVERLAPPED , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn WriteFileGather ( hfile : super::super::Foundation:: HANDLE , asegmentarray : * mut super::super::System::SystemServices:: FILE_SEGMENT_ELEMENT , nnumberofbytestowrite : u32 , lpreserved : * mut u32 , lpoverlapped : * mut super::super::System::SystemServices:: OVERLAPPED ) -> super::super::Foundation:: BOOL ; } WriteFileGather ( hfile . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( asegmentarray ) , :: std :: mem :: transmute ( nnumberofbytestowrite ) , :: std :: mem :: transmute ( lpreserved ) , :: std :: mem :: transmute ( lpoverlapped ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn WriteLogRestartArea < > ( pvmarshal : * mut :: std :: ffi :: c_void , pvrestartbuffer : * mut :: std :: ffi :: c_void , cbrestartbuffer : u32 , plsnbase : * mut CLS_LSN , fflags : CLFS_FLAG , pcbwritten : * mut u32 , plsnnext : * mut CLS_LSN , poverlapped : * mut super::super::System::SystemServices:: OVERLAPPED , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="clfsw32" ) ] extern "system" { fn WriteLogRestartArea ( pvmarshal : * mut :: std :: ffi :: c_void , pvrestartbuffer : * mut :: std :: ffi :: c_void , cbrestartbuffer : u32 , plsnbase : * mut CLS_LSN , fflags : CLFS_FLAG , pcbwritten : * mut u32 , plsnnext : * mut CLS_LSN , poverlapped : * mut super::super::System::SystemServices:: OVERLAPPED ) -> super::super::Foundation:: BOOL ; } WriteLogRestartArea ( :: std :: mem :: transmute ( pvmarshal ) , :: std :: mem :: transmute ( pvrestartbuffer ) , :: std :: mem :: transmute ( cbrestartbuffer ) , :: std :: mem :: transmute ( plsnbase ) , :: std :: mem :: transmute ( fflags ) , :: std :: mem :: transmute ( pcbwritten ) , :: std :: mem :: transmute ( plsnnext ) , :: std :: mem :: transmute ( poverlapped ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn WriteTapemark < 'a , > ( hdevice : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , dwtapemarktype : TAPEMARK_TYPE , dwtapemarkcount : u32 , bimmediate : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn WriteTapemark ( hdevice : super::super::Foundation:: HANDLE , dwtapemarktype : TAPEMARK_TYPE , dwtapemarkcount : u32 , bimmediate : super::super::Foundation:: BOOL ) -> u32 ; } WriteTapemark ( hdevice . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwtapemarktype ) , :: std :: mem :: transmute ( dwtapemarkcount ) , bimmediate . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } } # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod Vhd { # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct VIRTUAL_STORAGE_TYPE { pub DeviceId : u32 , pub VendorId : :: windows :: Guid } impl VIRTUAL_STORAGE_TYPE { } impl :: std :: default :: Default for VIRTUAL_STORAGE_TYPE { fn default ( ) -> Self { Self { DeviceId : 0 , VendorId : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for VIRTUAL_STORAGE_TYPE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "VIRTUAL_STORAGE_TYPE" ) . field ( "DeviceId" , & self . DeviceId ) . field ( "VendorId" , & self . VendorId ) . finish ( ) } } impl :: std :: cmp :: PartialEq for VIRTUAL_STORAGE_TYPE { fn eq ( & self , other : & Self ) -> bool { self . DeviceId == other . DeviceId && self . VendorId == other . VendorId } } impl :: std :: cmp :: Eq for VIRTUAL_STORAGE_TYPE { } unsafe impl :: windows :: Abi for VIRTUAL_STORAGE_TYPE { type Abi = Self ; type DefaultType = Self ; } } } # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod System { # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod Com { # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct BYTE_BLOB { pub clSize : u32 , pub abData : [ u8 ;1 ] } impl BYTE_BLOB { } impl :: std :: default :: Default for BYTE_BLOB { fn default ( ) -> Self { Self { clSize : 0 , abData : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for BYTE_BLOB { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "BYTE_BLOB" ) . field ( "clSize" , & self . clSize ) . field ( "abData" , & self . abData ) . finish ( ) } } impl :: std :: cmp :: PartialEq for BYTE_BLOB { fn eq ( & self , other : & Self ) -> bool { self . clSize == other . clSize && self . abData == other . abData } } impl :: std :: cmp :: Eq for BYTE_BLOB { } unsafe impl :: windows :: Abi for BYTE_BLOB { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DWORD_BLOB { pub clSize : u32 , pub alData : [ u32 ;1 ] } impl DWORD_BLOB { } impl :: std :: default :: Default for DWORD_BLOB { fn default ( ) -> Self { Self { clSize : 0 , alData : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for DWORD_BLOB { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DWORD_BLOB" ) . field ( "clSize" , & self . clSize ) . field ( "alData" , & self . alData ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DWORD_BLOB { fn eq ( & self , other : & Self ) -> bool { self . clSize == other . clSize && self . alData == other . alData } } impl :: std :: cmp :: Eq for DWORD_BLOB { } unsafe impl :: windows :: Abi for DWORD_BLOB { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct FLAGGED_BYTE_BLOB { pub fFlags : u32 , pub clSize : u32 , pub abData : [ u8 ;1 ] } impl FLAGGED_BYTE_BLOB { } impl :: std :: default :: Default for FLAGGED_BYTE_BLOB { fn default ( ) -> Self { Self { fFlags : 0 , clSize : 0 , abData : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for FLAGGED_BYTE_BLOB { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "FLAGGED_BYTE_BLOB" ) . field ( "fFlags" , & self . fFlags ) . field ( "clSize" , & self . clSize ) . field ( "abData" , & self . abData ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FLAGGED_BYTE_BLOB { fn eq ( & self , other : & Self ) -> bool { self . fFlags == other . fFlags && self . clSize == other . clSize && self . abData == other . abData } } impl :: std :: cmp :: Eq for FLAGGED_BYTE_BLOB { } unsafe impl :: windows :: Abi for FLAGGED_BYTE_BLOB { type Abi = Self ; type DefaultType = Self ; } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] # [ doc ( hidden ) ] pub struct IConnectionPoint ( :: windows :: IUnknown ) ; unsafe impl :: windows :: Interface for IConnectionPoint { type Vtable = < :: windows :: IUnknown as :: windows :: Interface > :: Vtable ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2979443334 ,47796 ,4122 , [ 182 ,156 ,0 ,170 ,0 ,52 ,29 ,7 ] , ) ; } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IConnectionPointContainer ( :: windows :: IUnknown ) ; impl IConnectionPointContainer { pub unsafe fn EnumConnectionPoints < > ( & self , ) -> :: windows :: Result < IEnumConnectionPoints > { let mut result__ : < IEnumConnectionPoints as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < IEnumConnectionPoints > ( result__ ) } pub unsafe fn FindConnectionPoint < > ( & self , riid : * const :: windows :: Guid , ) -> :: windows :: Result < IConnectionPoint > { let mut result__ : < IConnectionPoint as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( riid ) , & mut result__ ) . from_abi :: < IConnectionPoint > ( result__ ) } } unsafe impl :: windows :: Interface for IConnectionPointContainer { type Vtable = IConnectionPointContainer_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2979443332 ,47796 ,4122 , [ 182 ,156 ,0 ,170 ,0 ,52 ,29 ,7 ] , ) ; } impl :: std :: convert :: From < IConnectionPointContainer > for :: windows :: IUnknown { fn from ( value : IConnectionPointContainer ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IConnectionPointContainer > for :: windows :: IUnknown { fn from ( value : & IConnectionPointContainer ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IConnectionPointContainer { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: IUnknown > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < :: windows :: IUnknown > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for & 'a IConnectionPointContainer { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: IUnknown > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < :: windows :: IUnknown > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IConnectionPointContainer_abi ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr ) -> u32 , pub unsafe extern "system" fn ( this : :: windows :: RawPtr ) -> u32 , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppenum : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , riid : * const :: windows :: Guid , ppcp : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] # [ doc ( hidden ) ] pub struct IEnumConnectionPoints ( :: windows :: IUnknown ) ; unsafe impl :: windows :: Interface for IEnumConnectionPoints { type Vtable = < :: windows :: IUnknown as :: windows :: Interface > :: Vtable ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2979443333 ,47796 ,4122 , [ 182 ,156 ,0 ,170 ,0 ,52 ,29 ,7 ] , ) ; } } # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod Console { pub const ALTNUMPAD_BIT : u32 = 67108864u32 ; pub unsafe fn AddConsoleAliasA < 'a , > ( source : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , target : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , exename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn AddConsoleAliasA ( source : super::super::Foundation:: PSTR , target : super::super::Foundation:: PSTR , exename : super::super::Foundation:: PSTR ) -> super::super::Foundation:: BOOL ; } AddConsoleAliasA ( source . into_param ( ) . abi ( ) , target . into_param ( ) . abi ( ) , exename . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn AddConsoleAliasW < 'a , > ( source : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , target : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , exename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn AddConsoleAliasW ( source : super::super::Foundation:: PWSTR , target : super::super::Foundation:: PWSTR , exename : super::super::Foundation:: PWSTR ) -> super::super::Foundation:: BOOL ; } AddConsoleAliasW ( source . into_param ( ) . abi ( ) , target . into_param ( ) . abi ( ) , exename . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn AllocConsole < > ( ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn AllocConsole ( ) -> super::super::Foundation:: BOOL ; } AllocConsole ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn AttachConsole < > ( dwprocessid : u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn AttachConsole ( dwprocessid : u32 ) -> super::super::Foundation:: BOOL ; } AttachConsole ( :: std :: mem :: transmute ( dwprocessid ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub const BACKGROUND_BLUE : u32 = 16u32 ; pub const BACKGROUND_GREEN : u32 = 32u32 ; pub const BACKGROUND_INTENSITY : u32 = 128u32 ; pub const BACKGROUND_RED : u32 = 64u32 ; pub const CAPSLOCK_ON : u32 = 128u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CHAR_INFO { pub Char : CHAR_INFO_0 , pub Attributes : u16 } impl CHAR_INFO { } impl :: std :: cmp :: PartialEq for CHAR_INFO { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for CHAR_INFO { } unsafe impl :: windows :: Abi for CHAR_INFO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union CHAR_INFO_0 { pub UnicodeChar : u16 , pub AsciiChar : super::SystemServices:: CHAR } impl CHAR_INFO_0 { } impl :: std :: cmp :: PartialEq for CHAR_INFO_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for CHAR_INFO_0 { } unsafe impl :: windows :: Abi for CHAR_INFO_0 { type Abi = Self ; type DefaultType = Self ; } pub const COMMON_LVB_GRID_HORIZONTAL : u32 = 1024u32 ; pub const COMMON_LVB_GRID_LVERTICAL : u32 = 2048u32 ; pub const COMMON_LVB_GRID_RVERTICAL : u32 = 4096u32 ; pub const COMMON_LVB_LEADING_BYTE : u32 = 256u32 ; pub const COMMON_LVB_REVERSE_VIDEO : u32 = 16384u32 ; pub const COMMON_LVB_SBCSDBCS : u32 = 768u32 ; pub const COMMON_LVB_TRAILING_BYTE : u32 = 512u32 ; pub const COMMON_LVB_UNDERSCORE : u32 = 32768u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CONSOLE_CURSOR_INFO { pub dwSize : u32 , pub bVisible : super::super::Foundation:: BOOL } impl CONSOLE_CURSOR_INFO { } impl :: std :: default :: Default for CONSOLE_CURSOR_INFO { fn default ( ) -> Self { Self { dwSize : 0 , bVisible : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for CONSOLE_CURSOR_INFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CONSOLE_CURSOR_INFO" ) . field ( "dwSize" , & self . dwSize ) . field ( "bVisible" , & self . bVisible ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CONSOLE_CURSOR_INFO { fn eq ( & self , other : & Self ) -> bool { self . dwSize == other . dwSize && self . bVisible == other . bVisible } } impl :: std :: cmp :: Eq for CONSOLE_CURSOR_INFO { } unsafe impl :: windows :: Abi for CONSOLE_CURSOR_INFO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CONSOLE_FONT_INFO { pub nFont : u32 , pub dwFontSize : COORD } impl CONSOLE_FONT_INFO { } impl :: std :: default :: Default for CONSOLE_FONT_INFO { fn default ( ) -> Self { Self { nFont : 0 , dwFontSize : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for CONSOLE_FONT_INFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CONSOLE_FONT_INFO" ) . field ( "nFont" , & self . nFont ) . field ( "dwFontSize" , & self . dwFontSize ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CONSOLE_FONT_INFO { fn eq ( & self , other : & Self ) -> bool { self . nFont == other . nFont && self . dwFontSize == other . dwFontSize } } impl :: std :: cmp :: Eq for CONSOLE_FONT_INFO { } unsafe impl :: windows :: Abi for CONSOLE_FONT_INFO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CONSOLE_FONT_INFOEX { pub cbSize : u32 , pub nFont : u32 , pub dwFontSize : COORD , pub FontFamily : u32 , pub FontWeight : u32 , pub FaceName : [ u16 ;32 ] } impl CONSOLE_FONT_INFOEX { } impl :: std :: default :: Default for CONSOLE_FONT_INFOEX { fn default ( ) -> Self { Self { cbSize : 0 , nFont : 0 , dwFontSize : :: std :: default :: Default :: default ( ) , FontFamily : 0 , FontWeight : 0 , FaceName : [ 0 ;32 ] } } } impl :: std :: fmt :: Debug for CONSOLE_FONT_INFOEX { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CONSOLE_FONT_INFOEX" ) . field ( "cbSize" , & self . cbSize ) . field ( "nFont" , & self . nFont ) . field ( "dwFontSize" , & self . dwFontSize ) . field ( "FontFamily" , & self . FontFamily ) . field ( "FontWeight" , & self . FontWeight ) . field ( "FaceName" , & self . FaceName ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CONSOLE_FONT_INFOEX { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . nFont == other . nFont && self . dwFontSize == other . dwFontSize && self . FontFamily == other . FontFamily && self . FontWeight == other . FontWeight && self . FaceName == other . FaceName } } impl :: std :: cmp :: Eq for CONSOLE_FONT_INFOEX { } unsafe impl :: windows :: Abi for CONSOLE_FONT_INFOEX { type Abi = Self ; type DefaultType = Self ; } pub const CONSOLE_FULLSCREEN : u32 = 1u32 ; pub const CONSOLE_FULLSCREEN_HARDWARE : u32 = 2u32 ; pub const CONSOLE_FULLSCREEN_MODE : u32 = 1u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CONSOLE_HISTORY_INFO { pub cbSize : u32 , pub HistoryBufferSize : u32 , pub NumberOfHistoryBuffers : u32 , pub dwFlags : u32 } impl CONSOLE_HISTORY_INFO { } impl :: std :: default :: Default for CONSOLE_HISTORY_INFO { fn default ( ) -> Self { Self { cbSize : 0 , HistoryBufferSize : 0 , NumberOfHistoryBuffers : 0 , dwFlags : 0 } } } impl :: std :: fmt :: Debug for CONSOLE_HISTORY_INFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CONSOLE_HISTORY_INFO" ) . field ( "cbSize" , & self . cbSize ) . field ( "HistoryBufferSize" , & self . HistoryBufferSize ) . field ( "NumberOfHistoryBuffers" , & self . NumberOfHistoryBuffers ) . field ( "dwFlags" , & self . dwFlags ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CONSOLE_HISTORY_INFO { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . HistoryBufferSize == other . HistoryBufferSize && self . NumberOfHistoryBuffers == other . NumberOfHistoryBuffers && self . dwFlags == other . dwFlags } } impl :: std :: cmp :: Eq for CONSOLE_HISTORY_INFO { } unsafe impl :: windows :: Abi for CONSOLE_HISTORY_INFO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct CONSOLE_MODE ( pub u32 ) ; pub const ENABLE_ECHO_INPUT : CONSOLE_MODE = CONSOLE_MODE ( 4u32 ) ; pub const ENABLE_INSERT_MODE : CONSOLE_MODE = CONSOLE_MODE ( 32u32 ) ; pub const ENABLE_LINE_INPUT : CONSOLE_MODE = CONSOLE_MODE ( 2u32 ) ; pub const ENABLE_MOUSE_INPUT : CONSOLE_MODE = CONSOLE_MODE ( 16u32 ) ; pub const ENABLE_PROCESSED_INPUT : CONSOLE_MODE = CONSOLE_MODE ( 1u32 ) ; pub const ENABLE_QUICK_EDIT_MODE : CONSOLE_MODE = CONSOLE_MODE ( 64u32 ) ; pub const ENABLE_WINDOW_INPUT : CONSOLE_MODE = CONSOLE_MODE ( 8u32 ) ; pub const ENABLE_VIRTUAL_TERMINAL_INPUT : CONSOLE_MODE = CONSOLE_MODE ( 512u32 ) ; pub const ENABLE_PROCESSED_OUTPUT : CONSOLE_MODE = CONSOLE_MODE ( 1u32 ) ; pub const ENABLE_WRAP_AT_EOL_OUTPUT : CONSOLE_MODE = CONSOLE_MODE ( 2u32 ) ; pub const ENABLE_VIRTUAL_TERMINAL_PROCESSING : CONSOLE_MODE = CONSOLE_MODE ( 4u32 ) ; pub const DISABLE_NEWLINE_AUTO_RETURN : CONSOLE_MODE = CONSOLE_MODE ( 8u32 ) ; pub const ENABLE_LVB_GRID_WORLDWIDE : CONSOLE_MODE = CONSOLE_MODE ( 16u32 ) ; impl :: std :: convert :: From < u32 > for CONSOLE_MODE { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for CONSOLE_MODE { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for CONSOLE_MODE { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for CONSOLE_MODE { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for CONSOLE_MODE { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for CONSOLE_MODE { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub const CONSOLE_MOUSE_DOWN : u32 = 8u32 ; pub const CONSOLE_MOUSE_SELECTION : u32 = 4u32 ; pub const CONSOLE_NO_SELECTION : u32 = 0u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CONSOLE_READCONSOLE_CONTROL { pub nLength : u32 , pub nInitialChars : u32 , pub dwCtrlWakeupMask : u32 , pub dwControlKeyState : u32 } impl CONSOLE_READCONSOLE_CONTROL { } impl :: std :: default :: Default for CONSOLE_READCONSOLE_CONTROL { fn default ( ) -> Self { Self { nLength : 0 , nInitialChars : 0 , dwCtrlWakeupMask : 0 , dwControlKeyState : 0 } } } impl :: std :: fmt :: Debug for CONSOLE_READCONSOLE_CONTROL { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CONSOLE_READCONSOLE_CONTROL" ) . field ( "nLength" , & self . nLength ) . field ( "nInitialChars" , & self . nInitialChars ) . field ( "dwCtrlWakeupMask" , & self . dwCtrlWakeupMask ) . field ( "dwControlKeyState" , & self . dwControlKeyState ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CONSOLE_READCONSOLE_CONTROL { fn eq ( & self , other : & Self ) -> bool { self . nLength == other . nLength && self . nInitialChars == other . nInitialChars && self . dwCtrlWakeupMask == other . dwCtrlWakeupMask && self . dwControlKeyState == other . dwControlKeyState } } impl :: std :: cmp :: Eq for CONSOLE_READCONSOLE_CONTROL { } unsafe impl :: windows :: Abi for CONSOLE_READCONSOLE_CONTROL { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CONSOLE_SCREEN_BUFFER_INFO { pub dwSize : COORD , pub dwCursorPosition : COORD , pub wAttributes : u16 , pub srWindow : SMALL_RECT , pub dwMaximumWindowSize : COORD } impl CONSOLE_SCREEN_BUFFER_INFO { } impl :: std :: default :: Default for CONSOLE_SCREEN_BUFFER_INFO { fn default ( ) -> Self { Self { dwSize : :: std :: default :: Default :: default ( ) , dwCursorPosition : :: std :: default :: Default :: default ( ) , wAttributes : 0 , srWindow : :: std :: default :: Default :: default ( ) , dwMaximumWindowSize : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for CONSOLE_SCREEN_BUFFER_INFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CONSOLE_SCREEN_BUFFER_INFO" ) . field ( "dwSize" , & self . dwSize ) . field ( "dwCursorPosition" , & self . dwCursorPosition ) . field ( "wAttributes" , & self . wAttributes ) . field ( "srWindow" , & self . srWindow ) . field ( "dwMaximumWindowSize" , & self . dwMaximumWindowSize ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CONSOLE_SCREEN_BUFFER_INFO { fn eq ( & self , other : & Self ) -> bool { self . dwSize == other . dwSize && self . dwCursorPosition == other . dwCursorPosition && self . wAttributes == other . wAttributes && self . srWindow == other . srWindow && self . dwMaximumWindowSize == other . dwMaximumWindowSize } } impl :: std :: cmp :: Eq for CONSOLE_SCREEN_BUFFER_INFO { } unsafe impl :: windows :: Abi for CONSOLE_SCREEN_BUFFER_INFO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CONSOLE_SCREEN_BUFFER_INFOEX { pub cbSize : u32 , pub dwSize : COORD , pub dwCursorPosition : COORD , pub wAttributes : u16 , pub srWindow : SMALL_RECT , pub dwMaximumWindowSize : COORD , pub wPopupAttributes : u16 , pub bFullscreenSupported : super::super::Foundation:: BOOL , pub ColorTable : [ u32 ;16 ] } impl CONSOLE_SCREEN_BUFFER_INFOEX { } impl :: std :: default :: Default for CONSOLE_SCREEN_BUFFER_INFOEX { fn default ( ) -> Self { Self { cbSize : 0 , dwSize : :: std :: default :: Default :: default ( ) , dwCursorPosition : :: std :: default :: Default :: default ( ) , wAttributes : 0 , srWindow : :: std :: default :: Default :: default ( ) , dwMaximumWindowSize : :: std :: default :: Default :: default ( ) , wPopupAttributes : 0 , bFullscreenSupported : :: std :: default :: Default :: default ( ) , ColorTable : [ 0 ;16 ] } } } impl :: std :: fmt :: Debug for CONSOLE_SCREEN_BUFFER_INFOEX { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CONSOLE_SCREEN_BUFFER_INFOEX" ) . field ( "cbSize" , & self . cbSize ) . field ( "dwSize" , & self . dwSize ) . field ( "dwCursorPosition" , & self . dwCursorPosition ) . field ( "wAttributes" , & self . wAttributes ) . field ( "srWindow" , & self . srWindow ) . field ( "dwMaximumWindowSize" , & self . dwMaximumWindowSize ) . field ( "wPopupAttributes" , & self . wPopupAttributes ) . field ( "bFullscreenSupported" , & self . bFullscreenSupported ) . field ( "ColorTable" , & self . ColorTable ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CONSOLE_SCREEN_BUFFER_INFOEX { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . dwSize == other . dwSize && self . dwCursorPosition == other . dwCursorPosition && self . wAttributes == other . wAttributes && self . srWindow == other . srWindow && self . dwMaximumWindowSize == other . dwMaximumWindowSize && self . wPopupAttributes == other . wPopupAttributes && self . bFullscreenSupported == other . bFullscreenSupported && self . ColorTable == other . ColorTable } } impl :: std :: cmp :: Eq for CONSOLE_SCREEN_BUFFER_INFOEX { } unsafe impl :: windows :: Abi for CONSOLE_SCREEN_BUFFER_INFOEX { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CONSOLE_SELECTION_INFO { pub dwFlags : u32 , pub dwSelectionAnchor : COORD , pub srSelection : SMALL_RECT } impl CONSOLE_SELECTION_INFO { } impl :: std :: default :: Default for CONSOLE_SELECTION_INFO { fn default ( ) -> Self { Self { dwFlags : 0 , dwSelectionAnchor : :: std :: default :: Default :: default ( ) , srSelection : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for CONSOLE_SELECTION_INFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CONSOLE_SELECTION_INFO" ) . field ( "dwFlags" , & self . dwFlags ) . field ( "dwSelectionAnchor" , & self . dwSelectionAnchor ) . field ( "srSelection" , & self . srSelection ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CONSOLE_SELECTION_INFO { fn eq ( & self , other : & Self ) -> bool { self . dwFlags == other . dwFlags && self . dwSelectionAnchor == other . dwSelectionAnchor && self . srSelection == other . srSelection } } impl :: std :: cmp :: Eq for CONSOLE_SELECTION_INFO { } unsafe impl :: windows :: Abi for CONSOLE_SELECTION_INFO { type Abi = Self ; type DefaultType = Self ; } pub const CONSOLE_SELECTION_IN_PROGRESS : u32 = 1u32 ; pub const CONSOLE_SELECTION_NOT_EMPTY : u32 = 2u32 ; pub const CONSOLE_WINDOWED_MODE : u32 = 2u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct COORD { pub X : i16 , pub Y : i16 } impl COORD { } impl :: std :: default :: Default for COORD { fn default ( ) -> Self { Self { X : 0 , Y : 0 } } } impl :: std :: fmt :: Debug for COORD { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "COORD" ) . field ( "X" , & self . X ) . field ( "Y" , & self . Y ) . finish ( ) } } impl :: std :: cmp :: PartialEq for COORD { fn eq ( & self , other : & Self ) -> bool { self . X == other . X && self . Y == other . Y } } impl :: std :: cmp :: Eq for COORD { } unsafe impl :: windows :: Abi for COORD { type Abi = Self ; type DefaultType = Self ; } pub const CTRL_BREAK_EVENT : u32 = 1u32 ; pub const CTRL_CLOSE_EVENT : u32 = 2u32 ; pub const CTRL_C_EVENT : u32 = 0u32 ; pub const CTRL_LOGOFF_EVENT : u32 = 5u32 ; pub const CTRL_SHUTDOWN_EVENT : u32 = 6u32 ; pub unsafe fn ClosePseudoConsole < 'a , > ( hpc : impl :: windows :: IntoParam < 'a , HPCON > , ) { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn ClosePseudoConsole ( hpc : HPCON ) ; } ClosePseudoConsole ( hpc . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateConsoleScreenBuffer < > ( dwdesiredaccess : u32 , dwsharemode : u32 , lpsecurityattributes : * const super::super::Security:: SECURITY_ATTRIBUTES , dwflags : u32 , lpscreenbufferdata : * mut :: std :: ffi :: c_void , ) -> super::super::Foundation:: HANDLE { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn CreateConsoleScreenBuffer ( dwdesiredaccess : u32 , dwsharemode : u32 , lpsecurityattributes : * const super::super::Security:: SECURITY_ATTRIBUTES , dwflags : u32 , lpscreenbufferdata : * mut :: std :: ffi :: c_void ) -> super::super::Foundation:: HANDLE ; } CreateConsoleScreenBuffer ( :: std :: mem :: transmute ( dwdesiredaccess ) , :: std :: mem :: transmute ( dwsharemode ) , :: std :: mem :: transmute ( lpsecurityattributes ) , :: std :: mem :: transmute ( dwflags ) , :: std :: mem :: transmute ( lpscreenbufferdata ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreatePseudoConsole < 'a , > ( size : impl :: windows :: IntoParam < 'a , COORD > , hinput : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , houtput : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , dwflags : u32 , ) -> :: windows :: Result < HPCON > { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn CreatePseudoConsole ( size : COORD , hinput : super::super::Foundation:: HANDLE , houtput : super::super::Foundation:: HANDLE , dwflags : u32 , phpc : * mut HPCON ) -> :: windows :: HRESULT ; } let mut result__ : < HPCON as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; CreatePseudoConsole ( size . into_param ( ) . abi ( ) , hinput . into_param ( ) . abi ( ) , houtput . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwflags ) , & mut result__ ) . from_abi :: < HPCON > ( result__ ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub const DOUBLE_CLICK : u32 = 2u32 ; pub const ENABLE_AUTO_POSITION : u32 = 256u32 ; pub const ENABLE_EXTENDED_FLAGS : u32 = 128u32 ; pub const ENHANCED_KEY : u32 = 256u32 ; pub unsafe fn ExpungeConsoleCommandHistoryA < 'a , > ( exename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , ) { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn ExpungeConsoleCommandHistoryA ( exename : super::super::Foundation:: PSTR ) ; } ExpungeConsoleCommandHistoryA ( exename . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn ExpungeConsoleCommandHistoryW < 'a , > ( exename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , ) { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn ExpungeConsoleCommandHistoryW ( exename : super::super::Foundation:: PWSTR ) ; } ExpungeConsoleCommandHistoryW ( exename . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub const FOCUS_EVENT : u32 = 16u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct FOCUS_EVENT_RECORD { pub bSetFocus : super::super::Foundation:: BOOL } impl FOCUS_EVENT_RECORD { } impl :: std :: default :: Default for FOCUS_EVENT_RECORD { fn default ( ) -> Self { Self { bSetFocus : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for FOCUS_EVENT_RECORD { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "FOCUS_EVENT_RECORD" ) . field ( "bSetFocus" , & self . bSetFocus ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FOCUS_EVENT_RECORD { fn eq ( & self , other : & Self ) -> bool { self . bSetFocus == other . bSetFocus } } impl :: std :: cmp :: Eq for FOCUS_EVENT_RECORD { } unsafe impl :: windows :: Abi for FOCUS_EVENT_RECORD { type Abi = Self ; type DefaultType = Self ; } pub const FOREGROUND_BLUE : u32 = 1u32 ; pub const FOREGROUND_GREEN : u32 = 2u32 ; pub const FOREGROUND_INTENSITY : u32 = 8u32 ; pub const FOREGROUND_RED : u32 = 4u32 ; pub const FROM_LEFT_1ST_BUTTON_PRESSED : u32 = 1u32 ; pub const FROM_LEFT_2ND_BUTTON_PRESSED : u32 = 4u32 ; pub const FROM_LEFT_3RD_BUTTON_PRESSED : u32 = 8u32 ; pub const FROM_LEFT_4TH_BUTTON_PRESSED : u32 = 16u32 ; pub unsafe fn FillConsoleOutputAttribute < 'a , > ( hconsoleoutput : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , wattribute : u16 , nlength : u32 , dwwritecoord : impl :: windows :: IntoParam < 'a , COORD > , lpnumberofattrswritten : * mut u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn FillConsoleOutputAttribute ( hconsoleoutput : super::super::Foundation:: HANDLE , wattribute : u16 , nlength : u32 , dwwritecoord : COORD , lpnumberofattrswritten : * mut u32 ) -> super::super::Foundation:: BOOL ; } FillConsoleOutputAttribute ( hconsoleoutput . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( wattribute ) , :: std :: mem :: transmute ( nlength ) , dwwritecoord . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpnumberofattrswritten ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn FillConsoleOutputCharacterA < 'a , > ( hconsoleoutput : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , ccharacter : impl :: windows :: IntoParam < 'a , super::SystemServices:: CHAR > , nlength : u32 , dwwritecoord : impl :: windows :: IntoParam < 'a , COORD > , lpnumberofcharswritten : * mut u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn FillConsoleOutputCharacterA ( hconsoleoutput : super::super::Foundation:: HANDLE , ccharacter : super::SystemServices:: CHAR , nlength : u32 , dwwritecoord : COORD , lpnumberofcharswritten : * mut u32 ) -> super::super::Foundation:: BOOL ; } FillConsoleOutputCharacterA ( hconsoleoutput . into_param ( ) . abi ( ) , ccharacter . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( nlength ) , dwwritecoord . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpnumberofcharswritten ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn FillConsoleOutputCharacterW < 'a , > ( hconsoleoutput : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , ccharacter : u16 , nlength : u32 , dwwritecoord : impl :: windows :: IntoParam < 'a , COORD > , lpnumberofcharswritten : * mut u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn FillConsoleOutputCharacterW ( hconsoleoutput : super::super::Foundation:: HANDLE , ccharacter : u16 , nlength : u32 , dwwritecoord : COORD , lpnumberofcharswritten : * mut u32 ) -> super::super::Foundation:: BOOL ; } FillConsoleOutputCharacterW ( hconsoleoutput . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ccharacter ) , :: std :: mem :: transmute ( nlength ) , dwwritecoord . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpnumberofcharswritten ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn FlushConsoleInputBuffer < 'a , > ( hconsoleinput : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn FlushConsoleInputBuffer ( hconsoleinput : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ; } FlushConsoleInputBuffer ( hconsoleinput . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn FreeConsole < > ( ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn FreeConsole ( ) -> super::super::Foundation:: BOOL ; } FreeConsole ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GenerateConsoleCtrlEvent < > ( dwctrlevent : u32 , dwprocessgroupid : u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GenerateConsoleCtrlEvent ( dwctrlevent : u32 , dwprocessgroupid : u32 ) -> super::super::Foundation:: BOOL ; } GenerateConsoleCtrlEvent ( :: std :: mem :: transmute ( dwctrlevent ) , :: std :: mem :: transmute ( dwprocessgroupid ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetConsoleAliasA < 'a , > ( source : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , targetbuffer : super::super::Foundation:: PSTR , targetbufferlength : u32 , exename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetConsoleAliasA ( source : super::super::Foundation:: PSTR , targetbuffer : super::super::Foundation:: PSTR , targetbufferlength : u32 , exename : super::super::Foundation:: PSTR ) -> u32 ; } GetConsoleAliasA ( source . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( targetbuffer ) , :: std :: mem :: transmute ( targetbufferlength ) , exename . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetConsoleAliasExesA < > ( exenamebuffer : super::super::Foundation:: PSTR , exenamebufferlength : u32 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetConsoleAliasExesA ( exenamebuffer : super::super::Foundation:: PSTR , exenamebufferlength : u32 ) -> u32 ; } GetConsoleAliasExesA ( :: std :: mem :: transmute ( exenamebuffer ) , :: std :: mem :: transmute ( exenamebufferlength ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetConsoleAliasExesLengthA < > ( ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetConsoleAliasExesLengthA ( ) -> u32 ; } GetConsoleAliasExesLengthA ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetConsoleAliasExesLengthW < > ( ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetConsoleAliasExesLengthW ( ) -> u32 ; } GetConsoleAliasExesLengthW ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetConsoleAliasExesW < > ( exenamebuffer : super::super::Foundation:: PWSTR , exenamebufferlength : u32 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetConsoleAliasExesW ( exenamebuffer : super::super::Foundation:: PWSTR , exenamebufferlength : u32 ) -> u32 ; } GetConsoleAliasExesW ( :: std :: mem :: transmute ( exenamebuffer ) , :: std :: mem :: transmute ( exenamebufferlength ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetConsoleAliasW < 'a , > ( source : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , targetbuffer : super::super::Foundation:: PWSTR , targetbufferlength : u32 , exename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetConsoleAliasW ( source : super::super::Foundation:: PWSTR , targetbuffer : super::super::Foundation:: PWSTR , targetbufferlength : u32 , exename : super::super::Foundation:: PWSTR ) -> u32 ; } GetConsoleAliasW ( source . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( targetbuffer ) , :: std :: mem :: transmute ( targetbufferlength ) , exename . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetConsoleAliasesA < 'a , > ( aliasbuffer : super::super::Foundation:: PSTR , aliasbufferlength : u32 , exename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetConsoleAliasesA ( aliasbuffer : super::super::Foundation:: PSTR , aliasbufferlength : u32 , exename : super::super::Foundation:: PSTR ) -> u32 ; } GetConsoleAliasesA ( :: std :: mem :: transmute ( aliasbuffer ) , :: std :: mem :: transmute ( aliasbufferlength ) , exename . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetConsoleAliasesLengthA < 'a , > ( exename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetConsoleAliasesLengthA ( exename : super::super::Foundation:: PSTR ) -> u32 ; } GetConsoleAliasesLengthA ( exename . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetConsoleAliasesLengthW < 'a , > ( exename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetConsoleAliasesLengthW ( exename : super::super::Foundation:: PWSTR ) -> u32 ; } GetConsoleAliasesLengthW ( exename . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetConsoleAliasesW < 'a , > ( aliasbuffer : super::super::Foundation:: PWSTR , aliasbufferlength : u32 , exename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetConsoleAliasesW ( aliasbuffer : super::super::Foundation:: PWSTR , aliasbufferlength : u32 , exename : super::super::Foundation:: PWSTR ) -> u32 ; } GetConsoleAliasesW ( :: std :: mem :: transmute ( aliasbuffer ) , :: std :: mem :: transmute ( aliasbufferlength ) , exename . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetConsoleCP < > ( ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetConsoleCP ( ) -> u32 ; } GetConsoleCP ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetConsoleCommandHistoryA < 'a , > ( commands : super::super::Foundation:: PSTR , commandbufferlength : u32 , exename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetConsoleCommandHistoryA ( commands : super::super::Foundation:: PSTR , commandbufferlength : u32 , exename : super::super::Foundation:: PSTR ) -> u32 ; } GetConsoleCommandHistoryA ( :: std :: mem :: transmute ( commands ) , :: std :: mem :: transmute ( commandbufferlength ) , exename . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetConsoleCommandHistoryLengthA < 'a , > ( exename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetConsoleCommandHistoryLengthA ( exename : super::super::Foundation:: PSTR ) -> u32 ; } GetConsoleCommandHistoryLengthA ( exename . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetConsoleCommandHistoryLengthW < 'a , > ( exename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetConsoleCommandHistoryLengthW ( exename : super::super::Foundation:: PWSTR ) -> u32 ; } GetConsoleCommandHistoryLengthW ( exename . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetConsoleCommandHistoryW < 'a , > ( commands : super::super::Foundation:: PWSTR , commandbufferlength : u32 , exename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetConsoleCommandHistoryW ( commands : super::super::Foundation:: PWSTR , commandbufferlength : u32 , exename : super::super::Foundation:: PWSTR ) -> u32 ; } GetConsoleCommandHistoryW ( :: std :: mem :: transmute ( commands ) , :: std :: mem :: transmute ( commandbufferlength ) , exename . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetConsoleCursorInfo < 'a , > ( hconsoleoutput : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , lpconsolecursorinfo : * mut CONSOLE_CURSOR_INFO , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetConsoleCursorInfo ( hconsoleoutput : super::super::Foundation:: HANDLE , lpconsolecursorinfo : * mut CONSOLE_CURSOR_INFO ) -> super::super::Foundation:: BOOL ; } GetConsoleCursorInfo ( hconsoleoutput . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpconsolecursorinfo ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetConsoleDisplayMode < > ( lpmodeflags : * mut u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetConsoleDisplayMode ( lpmodeflags : * mut u32 ) -> super::super::Foundation:: BOOL ; } GetConsoleDisplayMode ( :: std :: mem :: transmute ( lpmodeflags ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetConsoleFontSize < 'a , > ( hconsoleoutput : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , nfont : u32 , ) -> COORD { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetConsoleFontSize ( hconsoleoutput : super::super::Foundation:: HANDLE , nfont : u32 ) -> COORD ; } GetConsoleFontSize ( hconsoleoutput . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( nfont ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetConsoleHistoryInfo < > ( lpconsolehistoryinfo : * mut CONSOLE_HISTORY_INFO , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetConsoleHistoryInfo ( lpconsolehistoryinfo : * mut CONSOLE_HISTORY_INFO ) -> super::super::Foundation:: BOOL ; } GetConsoleHistoryInfo ( :: std :: mem :: transmute ( lpconsolehistoryinfo ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetConsoleMode < 'a , > ( hconsolehandle : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , lpmode : * mut CONSOLE_MODE , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetConsoleMode ( hconsolehandle : super::super::Foundation:: HANDLE , lpmode : * mut CONSOLE_MODE ) -> super::super::Foundation:: BOOL ; } GetConsoleMode ( hconsolehandle . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpmode ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetConsoleOriginalTitleA < > ( lpconsoletitle : super::super::Foundation:: PSTR , nsize : u32 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetConsoleOriginalTitleA ( lpconsoletitle : super::super::Foundation:: PSTR , nsize : u32 ) -> u32 ; } GetConsoleOriginalTitleA ( :: std :: mem :: transmute ( lpconsoletitle ) , :: std :: mem :: transmute ( nsize ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetConsoleOriginalTitleW < > ( lpconsoletitle : super::super::Foundation:: PWSTR , nsize : u32 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetConsoleOriginalTitleW ( lpconsoletitle : super::super::Foundation:: PWSTR , nsize : u32 ) -> u32 ; } GetConsoleOriginalTitleW ( :: std :: mem :: transmute ( lpconsoletitle ) , :: std :: mem :: transmute ( nsize ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetConsoleOutputCP < > ( ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetConsoleOutputCP ( ) -> u32 ; } GetConsoleOutputCP ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetConsoleProcessList < > ( lpdwprocesslist : * mut u32 , dwprocesscount : u32 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetConsoleProcessList ( lpdwprocesslist : * mut u32 , dwprocesscount : u32 ) -> u32 ; } GetConsoleProcessList ( :: std :: mem :: transmute ( lpdwprocesslist ) , :: std :: mem :: transmute ( dwprocesscount ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetConsoleScreenBufferInfo < 'a , > ( hconsoleoutput : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , lpconsolescreenbufferinfo : * mut CONSOLE_SCREEN_BUFFER_INFO , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetConsoleScreenBufferInfo ( hconsoleoutput : super::super::Foundation:: HANDLE , lpconsolescreenbufferinfo : * mut CONSOLE_SCREEN_BUFFER_INFO ) -> super::super::Foundation:: BOOL ; } GetConsoleScreenBufferInfo ( hconsoleoutput . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpconsolescreenbufferinfo ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetConsoleScreenBufferInfoEx < 'a , > ( hconsoleoutput : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , lpconsolescreenbufferinfoex : * mut CONSOLE_SCREEN_BUFFER_INFOEX , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetConsoleScreenBufferInfoEx ( hconsoleoutput : super::super::Foundation:: HANDLE , lpconsolescreenbufferinfoex : * mut CONSOLE_SCREEN_BUFFER_INFOEX ) -> super::super::Foundation:: BOOL ; } GetConsoleScreenBufferInfoEx ( hconsoleoutput . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpconsolescreenbufferinfoex ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetConsoleSelectionInfo < > ( lpconsoleselectioninfo : * mut CONSOLE_SELECTION_INFO , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetConsoleSelectionInfo ( lpconsoleselectioninfo : * mut CONSOLE_SELECTION_INFO ) -> super::super::Foundation:: BOOL ; } GetConsoleSelectionInfo ( :: std :: mem :: transmute ( lpconsoleselectioninfo ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetConsoleTitleA < > ( lpconsoletitle : super::super::Foundation:: PSTR , nsize : u32 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetConsoleTitleA ( lpconsoletitle : super::super::Foundation:: PSTR , nsize : u32 ) -> u32 ; } GetConsoleTitleA ( :: std :: mem :: transmute ( lpconsoletitle ) , :: std :: mem :: transmute ( nsize ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetConsoleTitleW < > ( lpconsoletitle : super::super::Foundation:: PWSTR , nsize : u32 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetConsoleTitleW ( lpconsoletitle : super::super::Foundation:: PWSTR , nsize : u32 ) -> u32 ; } GetConsoleTitleW ( :: std :: mem :: transmute ( lpconsoletitle ) , :: std :: mem :: transmute ( nsize ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetConsoleWindow < > ( ) -> super::super::Foundation:: HWND { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetConsoleWindow ( ) -> super::super::Foundation:: HWND ; } GetConsoleWindow ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetCurrentConsoleFont < 'a , > ( hconsoleoutput : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , bmaximumwindow : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , lpconsolecurrentfont : * mut CONSOLE_FONT_INFO , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetCurrentConsoleFont ( hconsoleoutput : super::super::Foundation:: HANDLE , bmaximumwindow : super::super::Foundation:: BOOL , lpconsolecurrentfont : * mut CONSOLE_FONT_INFO ) -> super::super::Foundation:: BOOL ; } GetCurrentConsoleFont ( hconsoleoutput . into_param ( ) . abi ( ) , bmaximumwindow . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpconsolecurrentfont ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetCurrentConsoleFontEx < 'a , > ( hconsoleoutput : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , bmaximumwindow : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , lpconsolecurrentfontex : * mut CONSOLE_FONT_INFOEX , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetCurrentConsoleFontEx ( hconsoleoutput : super::super::Foundation:: HANDLE , bmaximumwindow : super::super::Foundation:: BOOL , lpconsolecurrentfontex : * mut CONSOLE_FONT_INFOEX ) -> super::super::Foundation:: BOOL ; } GetCurrentConsoleFontEx ( hconsoleoutput . into_param ( ) . abi ( ) , bmaximumwindow . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpconsolecurrentfontex ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetLargestConsoleWindowSize < 'a , > ( hconsoleoutput : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , ) -> COORD { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetLargestConsoleWindowSize ( hconsoleoutput : super::super::Foundation:: HANDLE ) -> COORD ; } GetLargestConsoleWindowSize ( hconsoleoutput . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetNumberOfConsoleInputEvents < 'a , > ( hconsoleinput : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , lpnumberofevents : * mut u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetNumberOfConsoleInputEvents ( hconsoleinput : super::super::Foundation:: HANDLE , lpnumberofevents : * mut u32 ) -> super::super::Foundation:: BOOL ; } GetNumberOfConsoleInputEvents ( hconsoleinput . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpnumberofevents ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetNumberOfConsoleMouseButtons < > ( lpnumberofmousebuttons : * mut u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetNumberOfConsoleMouseButtons ( lpnumberofmousebuttons : * mut u32 ) -> super::super::Foundation:: BOOL ; } GetNumberOfConsoleMouseButtons ( :: std :: mem :: transmute ( lpnumberofmousebuttons ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetStdHandle < > ( nstdhandle : STD_HANDLE , ) -> super::super::Foundation:: HANDLE { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetStdHandle ( nstdhandle : STD_HANDLE ) -> super::super::Foundation:: HANDLE ; } GetStdHandle ( :: std :: mem :: transmute ( nstdhandle ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub const HISTORY_NO_DUP_FLAG : u32 = 1u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( transparent ) ] pub struct HPCON ( pub isize ) ; impl HPCON { } impl :: std :: default :: Default for HPCON { fn default ( ) -> Self { Self ( 0 ) } } impl HPCON { pub const NULL : Self = Self ( 0 ) ; pub fn is_null ( & self ) -> bool { self . 0 == 0 } } impl :: std :: fmt :: Debug for HPCON { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "HPCON" ) . field ( "Value" , & self .0 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for HPCON { fn eq ( & self , other : & Self ) -> bool { self .0 == other .0 } } impl :: std :: cmp :: Eq for HPCON { } unsafe impl :: windows :: Abi for HPCON { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct INPUT_RECORD { pub EventType : u16 , pub Event : INPUT_RECORD_0 } impl INPUT_RECORD { } impl :: std :: cmp :: PartialEq for INPUT_RECORD { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for INPUT_RECORD { } unsafe impl :: windows :: Abi for INPUT_RECORD { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union INPUT_RECORD_0 { pub KeyEvent : KEY_EVENT_RECORD , pub MouseEvent : MOUSE_EVENT_RECORD , pub WindowBufferSizeEvent : WINDOW_BUFFER_SIZE_RECORD , pub MenuEvent : MENU_EVENT_RECORD , pub FocusEvent : FOCUS_EVENT_RECORD } impl INPUT_RECORD_0 { } impl :: std :: cmp :: PartialEq for INPUT_RECORD_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for INPUT_RECORD_0 { } unsafe impl :: windows :: Abi for INPUT_RECORD_0 { type Abi = Self ; type DefaultType = Self ; } pub const KEY_EVENT : u32 = 1u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KEY_EVENT_RECORD { pub bKeyDown : super::super::Foundation:: BOOL , pub wRepeatCount : u16 , pub wVirtualKeyCode : u16 , pub wVirtualScanCode : u16 , pub uChar : KEY_EVENT_RECORD_0 , pub dwControlKeyState : u32 } impl KEY_EVENT_RECORD { } impl :: std :: cmp :: PartialEq for KEY_EVENT_RECORD { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KEY_EVENT_RECORD { } unsafe impl :: windows :: Abi for KEY_EVENT_RECORD { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union KEY_EVENT_RECORD_0 { pub UnicodeChar : u16 , pub AsciiChar : super::SystemServices:: CHAR } impl KEY_EVENT_RECORD_0 { } impl :: std :: cmp :: PartialEq for KEY_EVENT_RECORD_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KEY_EVENT_RECORD_0 { } unsafe impl :: windows :: Abi for KEY_EVENT_RECORD_0 { type Abi = Self ; type DefaultType = Self ; } pub const LEFT_ALT_PRESSED : u32 = 2u32 ; pub const LEFT_CTRL_PRESSED : u32 = 8u32 ; pub const MENU_EVENT : u32 = 8u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct MENU_EVENT_RECORD { pub dwCommandId : u32 } impl MENU_EVENT_RECORD { } impl :: std :: default :: Default for MENU_EVENT_RECORD { fn default ( ) -> Self { Self { dwCommandId : 0 } } } impl :: std :: fmt :: Debug for MENU_EVENT_RECORD { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "MENU_EVENT_RECORD" ) . field ( "dwCommandId" , & self . dwCommandId ) . finish ( ) } } impl :: std :: cmp :: PartialEq for MENU_EVENT_RECORD { fn eq ( & self , other : & Self ) -> bool { self . dwCommandId == other . dwCommandId } } impl :: std :: cmp :: Eq for MENU_EVENT_RECORD { } unsafe impl :: windows :: Abi for MENU_EVENT_RECORD { type Abi = Self ; type DefaultType = Self ; } pub const MOUSE_EVENT : u32 = 2u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct MOUSE_EVENT_RECORD { pub dwMousePosition : COORD , pub dwButtonState : u32 , pub dwControlKeyState : u32 , pub dwEventFlags : u32 } impl MOUSE_EVENT_RECORD { } impl :: std :: default :: Default for MOUSE_EVENT_RECORD { fn default ( ) -> Self { Self { dwMousePosition : :: std :: default :: Default :: default ( ) , dwButtonState : 0 , dwControlKeyState : 0 , dwEventFlags : 0 } } } impl :: std :: fmt :: Debug for MOUSE_EVENT_RECORD { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "MOUSE_EVENT_RECORD" ) . field ( "dwMousePosition" , & self . dwMousePosition ) . field ( "dwButtonState" , & self . dwButtonState ) . field ( "dwControlKeyState" , & self . dwControlKeyState ) . field ( "dwEventFlags" , & self . dwEventFlags ) . finish ( ) } } impl :: std :: cmp :: PartialEq for MOUSE_EVENT_RECORD { fn eq ( & self , other : & Self ) -> bool { self . dwMousePosition == other . dwMousePosition && self . dwButtonState == other . dwButtonState && self . dwControlKeyState == other . dwControlKeyState && self . dwEventFlags == other . dwEventFlags } } impl :: std :: cmp :: Eq for MOUSE_EVENT_RECORD { } unsafe impl :: windows :: Abi for MOUSE_EVENT_RECORD { type Abi = Self ; type DefaultType = Self ; } pub const MOUSE_HWHEELED : u32 = 8u32 ; pub const MOUSE_MOVED : u32 = 1u32 ; pub const MOUSE_WHEELED : u32 = 4u32 ; pub const NLS_ALPHANUMERIC : u32 = 0u32 ; pub const NLS_DBCSCHAR : u32 = 65536u32 ; pub const NLS_HIRAGANA : u32 = 262144u32 ; pub const NLS_IME_CONVERSION : u32 = 8388608u32 ; pub const NLS_IME_DISABLE : u32 = 536870912u32 ; pub const NLS_KATAKANA : u32 = 131072u32 ; pub const NLS_ROMAN : u32 = 4194304u32 ; pub const NUMLOCK_ON : u32 = 32u32 ; pub type PHANDLER_ROUTINE = unsafe extern "system" fn ( ctrltype : u32 ) -> super::super::Foundation:: BOOL ; pub const PSEUDOCONSOLE_INHERIT_CURSOR : u32 = 1u32 ; pub unsafe fn PeekConsoleInputA < 'a , > ( hconsoleinput : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , lpbuffer : * mut INPUT_RECORD , nlength : u32 , lpnumberofeventsread : * mut u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn PeekConsoleInputA ( hconsoleinput : super::super::Foundation:: HANDLE , lpbuffer : * mut INPUT_RECORD , nlength : u32 , lpnumberofeventsread : * mut u32 ) -> super::super::Foundation:: BOOL ; } PeekConsoleInputA ( hconsoleinput . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpbuffer ) , :: std :: mem :: transmute ( nlength ) , :: std :: mem :: transmute ( lpnumberofeventsread ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn PeekConsoleInputW < 'a , > ( hconsoleinput : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , lpbuffer : * mut INPUT_RECORD , nlength : u32 , lpnumberofeventsread : * mut u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn PeekConsoleInputW ( hconsoleinput : super::super::Foundation:: HANDLE , lpbuffer : * mut INPUT_RECORD , nlength : u32 , lpnumberofeventsread : * mut u32 ) -> super::super::Foundation:: BOOL ; } PeekConsoleInputW ( hconsoleinput . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpbuffer ) , :: std :: mem :: transmute ( nlength ) , :: std :: mem :: transmute ( lpnumberofeventsread ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub const RIGHTMOST_BUTTON_PRESSED : u32 = 2u32 ; pub const RIGHT_ALT_PRESSED : u32 = 1u32 ; pub const RIGHT_CTRL_PRESSED : u32 = 4u32 ; pub unsafe fn ReadConsoleA < 'a , > ( hconsoleinput : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , lpbuffer : * mut :: std :: ffi :: c_void , nnumberofcharstoread : u32 , lpnumberofcharsread : * mut u32 , pinputcontrol : * mut CONSOLE_READCONSOLE_CONTROL , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn ReadConsoleA ( hconsoleinput : super::super::Foundation:: HANDLE , lpbuffer : * mut :: std :: ffi :: c_void , nnumberofcharstoread : u32 , lpnumberofcharsread : * mut u32 , pinputcontrol : * mut CONSOLE_READCONSOLE_CONTROL ) -> super::super::Foundation:: BOOL ; } ReadConsoleA ( hconsoleinput . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpbuffer ) , :: std :: mem :: transmute ( nnumberofcharstoread ) , :: std :: mem :: transmute ( lpnumberofcharsread ) , :: std :: mem :: transmute ( pinputcontrol ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn ReadConsoleInputA < 'a , > ( hconsoleinput : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , lpbuffer : * mut INPUT_RECORD , nlength : u32 , lpnumberofeventsread : * mut u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn ReadConsoleInputA ( hconsoleinput : super::super::Foundation:: HANDLE , lpbuffer : * mut INPUT_RECORD , nlength : u32 , lpnumberofeventsread : * mut u32 ) -> super::super::Foundation:: BOOL ; } ReadConsoleInputA ( hconsoleinput . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpbuffer ) , :: std :: mem :: transmute ( nlength ) , :: std :: mem :: transmute ( lpnumberofeventsread ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn ReadConsoleInputW < 'a , > ( hconsoleinput : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , lpbuffer : * mut INPUT_RECORD , nlength : u32 , lpnumberofeventsread : * mut u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn ReadConsoleInputW ( hconsoleinput : super::super::Foundation:: HANDLE , lpbuffer : * mut INPUT_RECORD , nlength : u32 , lpnumberofeventsread : * mut u32 ) -> super::super::Foundation:: BOOL ; } ReadConsoleInputW ( hconsoleinput . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpbuffer ) , :: std :: mem :: transmute ( nlength ) , :: std :: mem :: transmute ( lpnumberofeventsread ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn ReadConsoleOutputA < 'a , > ( hconsoleoutput : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , lpbuffer : * mut CHAR_INFO , dwbuffersize : impl :: windows :: IntoParam < 'a , COORD > , dwbuffercoord : impl :: windows :: IntoParam < 'a , COORD > , lpreadregion : * mut SMALL_RECT , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn ReadConsoleOutputA ( hconsoleoutput : super::super::Foundation:: HANDLE , lpbuffer : * mut CHAR_INFO , dwbuffersize : COORD , dwbuffercoord : COORD , lpreadregion : * mut SMALL_RECT ) -> super::super::Foundation:: BOOL ; } ReadConsoleOutputA ( hconsoleoutput . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpbuffer ) , dwbuffersize . into_param ( ) . abi ( ) , dwbuffercoord . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpreadregion ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn ReadConsoleOutputAttribute < 'a , > ( hconsoleoutput : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , lpattribute : * mut u16 , nlength : u32 , dwreadcoord : impl :: windows :: IntoParam < 'a , COORD > , lpnumberofattrsread : * mut u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn ReadConsoleOutputAttribute ( hconsoleoutput : super::super::Foundation:: HANDLE , lpattribute : * mut u16 , nlength : u32 , dwreadcoord : COORD , lpnumberofattrsread : * mut u32 ) -> super::super::Foundation:: BOOL ; } ReadConsoleOutputAttribute ( hconsoleoutput . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpattribute ) , :: std :: mem :: transmute ( nlength ) , dwreadcoord . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpnumberofattrsread ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn ReadConsoleOutputCharacterA < 'a , > ( hconsoleoutput : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , lpcharacter : super::super::Foundation:: PSTR , nlength : u32 , dwreadcoord : impl :: windows :: IntoParam < 'a , COORD > , lpnumberofcharsread : * mut u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn ReadConsoleOutputCharacterA ( hconsoleoutput : super::super::Foundation:: HANDLE , lpcharacter : super::super::Foundation:: PSTR , nlength : u32 , dwreadcoord : COORD , lpnumberofcharsread : * mut u32 ) -> super::super::Foundation:: BOOL ; } ReadConsoleOutputCharacterA ( hconsoleoutput . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpcharacter ) , :: std :: mem :: transmute ( nlength ) , dwreadcoord . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpnumberofcharsread ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn ReadConsoleOutputCharacterW < 'a , > ( hconsoleoutput : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , lpcharacter : super::super::Foundation:: PWSTR , nlength : u32 , dwreadcoord : impl :: windows :: IntoParam < 'a , COORD > , lpnumberofcharsread : * mut u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn ReadConsoleOutputCharacterW ( hconsoleoutput : super::super::Foundation:: HANDLE , lpcharacter : super::super::Foundation:: PWSTR , nlength : u32 , dwreadcoord : COORD , lpnumberofcharsread : * mut u32 ) -> super::super::Foundation:: BOOL ; } ReadConsoleOutputCharacterW ( hconsoleoutput . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpcharacter ) , :: std :: mem :: transmute ( nlength ) , dwreadcoord . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpnumberofcharsread ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn ReadConsoleOutputW < 'a , > ( hconsoleoutput : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , lpbuffer : * mut CHAR_INFO , dwbuffersize : impl :: windows :: IntoParam < 'a , COORD > , dwbuffercoord : impl :: windows :: IntoParam < 'a , COORD > , lpreadregion : * mut SMALL_RECT , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn ReadConsoleOutputW ( hconsoleoutput : super::super::Foundation:: HANDLE , lpbuffer : * mut CHAR_INFO , dwbuffersize : COORD , dwbuffercoord : COORD , lpreadregion : * mut SMALL_RECT ) -> super::super::Foundation:: BOOL ; } ReadConsoleOutputW ( hconsoleoutput . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpbuffer ) , dwbuffersize . into_param ( ) . abi ( ) , dwbuffercoord . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpreadregion ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn ReadConsoleW < 'a , > ( hconsoleinput : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , lpbuffer : * mut :: std :: ffi :: c_void , nnumberofcharstoread : u32 , lpnumberofcharsread : * mut u32 , pinputcontrol : * mut CONSOLE_READCONSOLE_CONTROL , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn ReadConsoleW ( hconsoleinput : super::super::Foundation:: HANDLE , lpbuffer : * mut :: std :: ffi :: c_void , nnumberofcharstoread : u32 , lpnumberofcharsread : * mut u32 , pinputcontrol : * mut CONSOLE_READCONSOLE_CONTROL ) -> super::super::Foundation:: BOOL ; } ReadConsoleW ( hconsoleinput . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpbuffer ) , :: std :: mem :: transmute ( nnumberofcharstoread ) , :: std :: mem :: transmute ( lpnumberofcharsread ) , :: std :: mem :: transmute ( pinputcontrol ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn ResizePseudoConsole < 'a , > ( hpc : impl :: windows :: IntoParam < 'a , HPCON > , size : impl :: windows :: IntoParam < 'a , COORD > , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn ResizePseudoConsole ( hpc : HPCON , size : COORD ) -> :: windows :: HRESULT ; } ResizePseudoConsole ( hpc . into_param ( ) . abi ( ) , size . into_param ( ) . abi ( ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub const SCROLLLOCK_ON : u32 = 64u32 ; pub const SHIFT_PRESSED : u32 = 16u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SMALL_RECT { pub Left : i16 , pub Top : i16 , pub Right : i16 , pub Bottom : i16 } impl SMALL_RECT { } impl :: std :: default :: Default for SMALL_RECT { fn default ( ) -> Self { Self { Left : 0 , Top : 0 , Right : 0 , Bottom : 0 } } } impl :: std :: fmt :: Debug for SMALL_RECT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SMALL_RECT" ) . field ( "Left" , & self . Left ) . field ( "Top" , & self . Top ) . field ( "Right" , & self . Right ) . field ( "Bottom" , & self . Bottom ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SMALL_RECT { fn eq ( & self , other : & Self ) -> bool { self . Left == other . Left && self . Top == other . Top && self . Right == other . Right && self . Bottom == other . Bottom } } impl :: std :: cmp :: Eq for SMALL_RECT { } unsafe impl :: windows :: Abi for SMALL_RECT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct STD_HANDLE ( pub u32 ) ; pub const STD_INPUT_HANDLE : STD_HANDLE = STD_HANDLE ( 4294967286u32 ) ; pub const STD_OUTPUT_HANDLE : STD_HANDLE = STD_HANDLE ( 4294967285u32 ) ; pub const STD_ERROR_HANDLE : STD_HANDLE = STD_HANDLE ( 4294967284u32 ) ; impl :: std :: convert :: From < u32 > for STD_HANDLE { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for STD_HANDLE { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for STD_HANDLE { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for STD_HANDLE { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for STD_HANDLE { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for STD_HANDLE { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub unsafe fn ScrollConsoleScreenBufferA < 'a , > ( hconsoleoutput : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , lpscrollrectangle : * const SMALL_RECT , lpcliprectangle : * const SMALL_RECT , dwdestinationorigin : impl :: windows :: IntoParam < 'a , COORD > , lpfill : * const CHAR_INFO , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn ScrollConsoleScreenBufferA ( hconsoleoutput : super::super::Foundation:: HANDLE , lpscrollrectangle : * const SMALL_RECT , lpcliprectangle : * const SMALL_RECT , dwdestinationorigin : COORD , lpfill : * const CHAR_INFO ) -> super::super::Foundation:: BOOL ; } ScrollConsoleScreenBufferA ( hconsoleoutput . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpscrollrectangle ) , :: std :: mem :: transmute ( lpcliprectangle ) , dwdestinationorigin . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpfill ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn ScrollConsoleScreenBufferW < 'a , > ( hconsoleoutput : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , lpscrollrectangle : * const SMALL_RECT , lpcliprectangle : * const SMALL_RECT , dwdestinationorigin : impl :: windows :: IntoParam < 'a , COORD > , lpfill : * const CHAR_INFO , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn ScrollConsoleScreenBufferW ( hconsoleoutput : super::super::Foundation:: HANDLE , lpscrollrectangle : * const SMALL_RECT , lpcliprectangle : * const SMALL_RECT , dwdestinationorigin : COORD , lpfill : * const CHAR_INFO ) -> super::super::Foundation:: BOOL ; } ScrollConsoleScreenBufferW ( hconsoleoutput . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpscrollrectangle ) , :: std :: mem :: transmute ( lpcliprectangle ) , dwdestinationorigin . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpfill ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetConsoleActiveScreenBuffer < 'a , > ( hconsoleoutput : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn SetConsoleActiveScreenBuffer ( hconsoleoutput : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ; } SetConsoleActiveScreenBuffer ( hconsoleoutput . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetConsoleCP < > ( wcodepageid : u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn SetConsoleCP ( wcodepageid : u32 ) -> super::super::Foundation:: BOOL ; } SetConsoleCP ( :: std :: mem :: transmute ( wcodepageid ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetConsoleCtrlHandler < 'a , > ( handlerroutine : :: std :: option :: Option < PHANDLER_ROUTINE > , add : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn SetConsoleCtrlHandler ( handlerroutine : :: windows :: RawPtr , add : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ; } SetConsoleCtrlHandler ( :: std :: mem :: transmute ( handlerroutine ) , add . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetConsoleCursorInfo < 'a , > ( hconsoleoutput : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , lpconsolecursorinfo : * const CONSOLE_CURSOR_INFO , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn SetConsoleCursorInfo ( hconsoleoutput : super::super::Foundation:: HANDLE , lpconsolecursorinfo : * const CONSOLE_CURSOR_INFO ) -> super::super::Foundation:: BOOL ; } SetConsoleCursorInfo ( hconsoleoutput . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpconsolecursorinfo ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetConsoleCursorPosition < 'a , > ( hconsoleoutput : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , dwcursorposition : impl :: windows :: IntoParam < 'a , COORD > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn SetConsoleCursorPosition ( hconsoleoutput : super::super::Foundation:: HANDLE , dwcursorposition : COORD ) -> super::super::Foundation:: BOOL ; } SetConsoleCursorPosition ( hconsoleoutput . into_param ( ) . abi ( ) , dwcursorposition . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetConsoleDisplayMode < 'a , > ( hconsoleoutput : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , dwflags : u32 , lpnewscreenbufferdimensions : * mut COORD , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn SetConsoleDisplayMode ( hconsoleoutput : super::super::Foundation:: HANDLE , dwflags : u32 , lpnewscreenbufferdimensions : * mut COORD ) -> super::super::Foundation:: BOOL ; } SetConsoleDisplayMode ( hconsoleoutput . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwflags ) , :: std :: mem :: transmute ( lpnewscreenbufferdimensions ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetConsoleHistoryInfo < > ( lpconsolehistoryinfo : * mut CONSOLE_HISTORY_INFO , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn SetConsoleHistoryInfo ( lpconsolehistoryinfo : * mut CONSOLE_HISTORY_INFO ) -> super::super::Foundation:: BOOL ; } SetConsoleHistoryInfo ( :: std :: mem :: transmute ( lpconsolehistoryinfo ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetConsoleMode < 'a , > ( hconsolehandle : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , dwmode : CONSOLE_MODE , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn SetConsoleMode ( hconsolehandle : super::super::Foundation:: HANDLE , dwmode : CONSOLE_MODE ) -> super::super::Foundation:: BOOL ; } SetConsoleMode ( hconsolehandle . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwmode ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetConsoleNumberOfCommandsA < 'a , > ( number : u32 , exename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn SetConsoleNumberOfCommandsA ( number : u32 , exename : super::super::Foundation:: PSTR ) -> super::super::Foundation:: BOOL ; } SetConsoleNumberOfCommandsA ( :: std :: mem :: transmute ( number ) , exename . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetConsoleNumberOfCommandsW < 'a , > ( number : u32 , exename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn SetConsoleNumberOfCommandsW ( number : u32 , exename : super::super::Foundation:: PWSTR ) -> super::super::Foundation:: BOOL ; } SetConsoleNumberOfCommandsW ( :: std :: mem :: transmute ( number ) , exename . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetConsoleOutputCP < > ( wcodepageid : u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn SetConsoleOutputCP ( wcodepageid : u32 ) -> super::super::Foundation:: BOOL ; } SetConsoleOutputCP ( :: std :: mem :: transmute ( wcodepageid ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetConsoleScreenBufferInfoEx < 'a , > ( hconsoleoutput : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , lpconsolescreenbufferinfoex : * mut CONSOLE_SCREEN_BUFFER_INFOEX , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn SetConsoleScreenBufferInfoEx ( hconsoleoutput : super::super::Foundation:: HANDLE , lpconsolescreenbufferinfoex : * mut CONSOLE_SCREEN_BUFFER_INFOEX ) -> super::super::Foundation:: BOOL ; } SetConsoleScreenBufferInfoEx ( hconsoleoutput . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpconsolescreenbufferinfoex ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetConsoleScreenBufferSize < 'a , > ( hconsoleoutput : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , dwsize : impl :: windows :: IntoParam < 'a , COORD > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn SetConsoleScreenBufferSize ( hconsoleoutput : super::super::Foundation:: HANDLE , dwsize : COORD ) -> super::super::Foundation:: BOOL ; } SetConsoleScreenBufferSize ( hconsoleoutput . into_param ( ) . abi ( ) , dwsize . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetConsoleTextAttribute < 'a , > ( hconsoleoutput : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , wattributes : u16 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn SetConsoleTextAttribute ( hconsoleoutput : super::super::Foundation:: HANDLE , wattributes : u16 ) -> super::super::Foundation:: BOOL ; } SetConsoleTextAttribute ( hconsoleoutput . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( wattributes ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetConsoleTitleA < 'a , > ( lpconsoletitle : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn SetConsoleTitleA ( lpconsoletitle : super::super::Foundation:: PSTR ) -> super::super::Foundation:: BOOL ; } SetConsoleTitleA ( lpconsoletitle . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetConsoleTitleW < 'a , > ( lpconsoletitle : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn SetConsoleTitleW ( lpconsoletitle : super::super::Foundation:: PWSTR ) -> super::super::Foundation:: BOOL ; } SetConsoleTitleW ( lpconsoletitle . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetConsoleWindowInfo < 'a , > ( hconsoleoutput : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , babsolute : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , lpconsolewindow : * const SMALL_RECT , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn SetConsoleWindowInfo ( hconsoleoutput : super::super::Foundation:: HANDLE , babsolute : super::super::Foundation:: BOOL , lpconsolewindow : * const SMALL_RECT ) -> super::super::Foundation:: BOOL ; } SetConsoleWindowInfo ( hconsoleoutput . into_param ( ) . abi ( ) , babsolute . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpconsolewindow ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetCurrentConsoleFontEx < 'a , > ( hconsoleoutput : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , bmaximumwindow : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , lpconsolecurrentfontex : * mut CONSOLE_FONT_INFOEX , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn SetCurrentConsoleFontEx ( hconsoleoutput : super::super::Foundation:: HANDLE , bmaximumwindow : super::super::Foundation:: BOOL , lpconsolecurrentfontex : * mut CONSOLE_FONT_INFOEX ) -> super::super::Foundation:: BOOL ; } SetCurrentConsoleFontEx ( hconsoleoutput . into_param ( ) . abi ( ) , bmaximumwindow . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpconsolecurrentfontex ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetStdHandle < 'a , > ( nstdhandle : STD_HANDLE , hhandle : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn SetStdHandle ( nstdhandle : STD_HANDLE , hhandle : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ; } SetStdHandle ( :: std :: mem :: transmute ( nstdhandle ) , hhandle . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetStdHandleEx < 'a , > ( nstdhandle : STD_HANDLE , hhandle : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , phprevvalue : * mut super::super::Foundation:: HANDLE , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn SetStdHandleEx ( nstdhandle : STD_HANDLE , hhandle : super::super::Foundation:: HANDLE , phprevvalue : * mut super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ; } SetStdHandleEx ( :: std :: mem :: transmute ( nstdhandle ) , hhandle . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( phprevvalue ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub const WINDOW_BUFFER_SIZE_EVENT : u32 = 4u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct WINDOW_BUFFER_SIZE_RECORD { pub dwSize : COORD } impl WINDOW_BUFFER_SIZE_RECORD { } impl :: std :: default :: Default for WINDOW_BUFFER_SIZE_RECORD { fn default ( ) -> Self { Self { dwSize : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for WINDOW_BUFFER_SIZE_RECORD { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "WINDOW_BUFFER_SIZE_RECORD" ) . field ( "dwSize" , & self . dwSize ) . finish ( ) } } impl :: std :: cmp :: PartialEq for WINDOW_BUFFER_SIZE_RECORD { fn eq ( & self , other : & Self ) -> bool { self . dwSize == other . dwSize } } impl :: std :: cmp :: Eq for WINDOW_BUFFER_SIZE_RECORD { } unsafe impl :: windows :: Abi for WINDOW_BUFFER_SIZE_RECORD { type Abi = Self ; type DefaultType = Self ; } pub unsafe fn WriteConsoleA < 'a , > ( hconsoleoutput : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , lpbuffer : * const :: std :: ffi :: c_void , nnumberofcharstowrite : u32 , lpnumberofcharswritten : * mut u32 , lpreserved : * mut :: std :: ffi :: c_void , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn WriteConsoleA ( hconsoleoutput : super::super::Foundation:: HANDLE , lpbuffer : * const :: std :: ffi :: c_void , nnumberofcharstowrite : u32 , lpnumberofcharswritten : * mut u32 , lpreserved : * mut :: std :: ffi :: c_void ) -> super::super::Foundation:: BOOL ; } WriteConsoleA ( hconsoleoutput . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpbuffer ) , :: std :: mem :: transmute ( nnumberofcharstowrite ) , :: std :: mem :: transmute ( lpnumberofcharswritten ) , :: std :: mem :: transmute ( lpreserved ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn WriteConsoleInputA < 'a , > ( hconsoleinput : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , lpbuffer : * const INPUT_RECORD , nlength : u32 , lpnumberofeventswritten : * mut u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn WriteConsoleInputA ( hconsoleinput : super::super::Foundation:: HANDLE , lpbuffer : * const INPUT_RECORD , nlength : u32 , lpnumberofeventswritten : * mut u32 ) -> super::super::Foundation:: BOOL ; } WriteConsoleInputA ( hconsoleinput . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpbuffer ) , :: std :: mem :: transmute ( nlength ) , :: std :: mem :: transmute ( lpnumberofeventswritten ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn WriteConsoleInputW < 'a , > ( hconsoleinput : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , lpbuffer : * const INPUT_RECORD , nlength : u32 , lpnumberofeventswritten : * mut u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn WriteConsoleInputW ( hconsoleinput : super::super::Foundation:: HANDLE , lpbuffer : * const INPUT_RECORD , nlength : u32 , lpnumberofeventswritten : * mut u32 ) -> super::super::Foundation:: BOOL ; } WriteConsoleInputW ( hconsoleinput . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpbuffer ) , :: std :: mem :: transmute ( nlength ) , :: std :: mem :: transmute ( lpnumberofeventswritten ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn WriteConsoleOutputA < 'a , > ( hconsoleoutput : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , lpbuffer : * const CHAR_INFO , dwbuffersize : impl :: windows :: IntoParam < 'a , COORD > , dwbuffercoord : impl :: windows :: IntoParam < 'a , COORD > , lpwriteregion : * mut SMALL_RECT , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn WriteConsoleOutputA ( hconsoleoutput : super::super::Foundation:: HANDLE , lpbuffer : * const CHAR_INFO , dwbuffersize : COORD , dwbuffercoord : COORD , lpwriteregion : * mut SMALL_RECT ) -> super::super::Foundation:: BOOL ; } WriteConsoleOutputA ( hconsoleoutput . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpbuffer ) , dwbuffersize . into_param ( ) . abi ( ) , dwbuffercoord . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpwriteregion ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn WriteConsoleOutputAttribute < 'a , > ( hconsoleoutput : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , lpattribute : * const u16 , nlength : u32 , dwwritecoord : impl :: windows :: IntoParam < 'a , COORD > , lpnumberofattrswritten : * mut u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn WriteConsoleOutputAttribute ( hconsoleoutput : super::super::Foundation:: HANDLE , lpattribute : * const u16 , nlength : u32 , dwwritecoord : COORD , lpnumberofattrswritten : * mut u32 ) -> super::super::Foundation:: BOOL ; } WriteConsoleOutputAttribute ( hconsoleoutput . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpattribute ) , :: std :: mem :: transmute ( nlength ) , dwwritecoord . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpnumberofattrswritten ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn WriteConsoleOutputCharacterA < 'a , > ( hconsoleoutput : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , lpcharacter : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , nlength : u32 , dwwritecoord : impl :: windows :: IntoParam < 'a , COORD > , lpnumberofcharswritten : * mut u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn WriteConsoleOutputCharacterA ( hconsoleoutput : super::super::Foundation:: HANDLE , lpcharacter : super::super::Foundation:: PSTR , nlength : u32 , dwwritecoord : COORD , lpnumberofcharswritten : * mut u32 ) -> super::super::Foundation:: BOOL ; } WriteConsoleOutputCharacterA ( hconsoleoutput . into_param ( ) . abi ( ) , lpcharacter . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( nlength ) , dwwritecoord . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpnumberofcharswritten ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn WriteConsoleOutputCharacterW < 'a , > ( hconsoleoutput : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , lpcharacter : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , nlength : u32 , dwwritecoord : impl :: windows :: IntoParam < 'a , COORD > , lpnumberofcharswritten : * mut u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn WriteConsoleOutputCharacterW ( hconsoleoutput : super::super::Foundation:: HANDLE , lpcharacter : super::super::Foundation:: PWSTR , nlength : u32 , dwwritecoord : COORD , lpnumberofcharswritten : * mut u32 ) -> super::super::Foundation:: BOOL ; } WriteConsoleOutputCharacterW ( hconsoleoutput . into_param ( ) . abi ( ) , lpcharacter . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( nlength ) , dwwritecoord . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpnumberofcharswritten ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn WriteConsoleOutputW < 'a , > ( hconsoleoutput : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , lpbuffer : * const CHAR_INFO , dwbuffersize : impl :: windows :: IntoParam < 'a , COORD > , dwbuffercoord : impl :: windows :: IntoParam < 'a , COORD > , lpwriteregion : * mut SMALL_RECT , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn WriteConsoleOutputW ( hconsoleoutput : super::super::Foundation:: HANDLE , lpbuffer : * const CHAR_INFO , dwbuffersize : COORD , dwbuffercoord : COORD , lpwriteregion : * mut SMALL_RECT ) -> super::super::Foundation:: BOOL ; } WriteConsoleOutputW ( hconsoleoutput . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpbuffer ) , dwbuffersize . into_param ( ) . abi ( ) , dwbuffercoord . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpwriteregion ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn WriteConsoleW < 'a , > ( hconsoleoutput : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , lpbuffer : * const :: std :: ffi :: c_void , nnumberofcharstowrite : u32 , lpnumberofcharswritten : * mut u32 , lpreserved : * mut :: std :: ffi :: c_void , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn WriteConsoleW ( hconsoleoutput : super::super::Foundation:: HANDLE , lpbuffer : * const :: std :: ffi :: c_void , nnumberofcharstowrite : u32 , lpnumberofcharswritten : * mut u32 , lpreserved : * mut :: std :: ffi :: c_void ) -> super::super::Foundation:: BOOL ; } WriteConsoleW ( hconsoleoutput . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpbuffer ) , :: std :: mem :: transmute ( nnumberofcharstowrite ) , :: std :: mem :: transmute ( lpnumberofcharswritten ) , :: std :: mem :: transmute ( lpreserved ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } } # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod Diagnostics { # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod Debug { # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CONTEXT { pub ContextFlags : u32 , pub Cpsr : u32 , pub Anonymous : CONTEXT_0 , pub Sp : u64 , pub Pc : u64 , pub V : [ super::super::SystemServices:: ARM64_NT_NEON128 ;32 ] , pub Fpcr : u32 , pub Fpsr : u32 , pub Bcr : [ u32 ;8 ] , pub Bvr : [ u64 ;8 ] , pub Wcr : [ u32 ;2 ] , pub Wvr : [ u64 ;2 ] } impl CONTEXT { } impl :: std :: cmp :: PartialEq for CONTEXT { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for CONTEXT { } unsafe impl :: windows :: Abi for CONTEXT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union CONTEXT_0 { pub Anonymous : CONTEXT_0_0 , pub X : [ u64 ;31 ] } impl CONTEXT_0 { } impl :: std :: cmp :: PartialEq for CONTEXT_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for CONTEXT_0 { } unsafe impl :: windows :: Abi for CONTEXT_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CONTEXT_0_0 { pub X0 : u64 , pub X1 : u64 , pub X2 : u64 , pub X3 : u64 , pub X4 : u64 , pub X5 : u64 , pub X6 : u64 , pub X7 : u64 , pub X8 : u64 , pub X9 : u64 , pub X10 : u64 , pub X11 : u64 , pub X12 : u64 , pub X13 : u64 , pub X14 : u64 , pub X15 : u64 , pub X16 : u64 , pub X17 : u64 , pub X18 : u64 , pub X19 : u64 , pub X20 : u64 , pub X21 : u64 , pub X22 : u64 , pub X23 : u64 , pub X24 : u64 , pub X25 : u64 , pub X26 : u64 , pub X27 : u64 , pub X28 : u64 , pub Fp : u64 , pub Lr : u64 } impl CONTEXT_0_0 { } impl :: std :: default :: Default for CONTEXT_0_0 { fn default ( ) -> Self { Self { X0 : 0 , X1 : 0 , X2 : 0 , X3 : 0 , X4 : 0 , X5 : 0 , X6 : 0 , X7 : 0 , X8 : 0 , X9 : 0 , X10 : 0 , X11 : 0 , X12 : 0 , X13 : 0 , X14 : 0 , X15 : 0 , X16 : 0 , X17 : 0 , X18 : 0 , X19 : 0 , X20 : 0 , X21 : 0 , X22 : 0 , X23 : 0 , X24 : 0 , X25 : 0 , X26 : 0 , X27 : 0 , X28 : 0 , Fp : 0 , Lr : 0 } } } impl :: std :: fmt :: Debug for CONTEXT_0_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Anonymous_e__Struct" ) . field ( "X0" , & self . X0 ) . field ( "X1" , & self . X1 ) . field ( "X2" , & self . X2 ) . field ( "X3" , & self . X3 ) . field ( "X4" , & self . X4 ) . field ( "X5" , & self . X5 ) . field ( "X6" , & self . X6 ) . field ( "X7" , & self . X7 ) . field ( "X8" , & self . X8 ) . field ( "X9" , & self . X9 ) . field ( "X10" , & self . X10 ) . field ( "X11" , & self . X11 ) . field ( "X12" , & self . X12 ) . field ( "X13" , & self . X13 ) . field ( "X14" , & self . X14 ) . field ( "X15" , & self . X15 ) . field ( "X16" , & self . X16 ) . field ( "X17" , & self . X17 ) . field ( "X18" , & self . X18 ) . field ( "X19" , & self . X19 ) . field ( "X20" , & self . X20 ) . field ( "X21" , & self . X21 ) . field ( "X22" , & self . X22 ) . field ( "X23" , & self . X23 ) . field ( "X24" , & self . X24 ) . field ( "X25" , & self . X25 ) . field ( "X26" , & self . X26 ) . field ( "X27" , & self . X27 ) . field ( "X28" , & self . X28 ) . field ( "Fp" , & self . Fp ) . field ( "Lr" , & self . Lr ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CONTEXT_0_0 { fn eq ( & self , other : & Self ) -> bool { self . X0 == other . X0 && self . X1 == other . X1 && self . X2 == other . X2 && self . X3 == other . X3 && self . X4 == other . X4 && self . X5 == other . X5 && self . X6 == other . X6 && self . X7 == other . X7 && self . X8 == other . X8 && self . X9 == other . X9 && self . X10 == other . X10 && self . X11 == other . X11 && self . X12 == other . X12 && self . X13 == other . X13 && self . X14 == other . X14 && self . X15 == other . X15 && self . X16 == other . X16 && self . X17 == other . X17 && self . X18 == other . X18 && self . X19 == other . X19 && self . X20 == other . X20 && self . X21 == other . X21 && self . X22 == other . X22 && self . X23 == other . X23 && self . X24 == other . X24 && self . X25 == other . X25 && self . X26 == other . X26 && self . X27 == other . X27 && self . X28 == other . X28 && self . Fp == other . Fp && self . Lr == other . Lr } } impl :: std :: cmp :: Eq for CONTEXT_0_0 { } unsafe impl :: windows :: Abi for CONTEXT_0_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EXCEPTION_POINTERS { pub ExceptionRecord : * mut EXCEPTION_RECORD , pub ContextRecord : * mut CONTEXT } impl EXCEPTION_POINTERS { } impl :: std :: default :: Default for EXCEPTION_POINTERS { fn default ( ) -> Self { Self { ExceptionRecord : :: std :: ptr :: null_mut ( ) , ContextRecord : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for EXCEPTION_POINTERS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EXCEPTION_POINTERS" ) . field ( "ExceptionRecord" , & self . ExceptionRecord ) . field ( "ContextRecord" , & self . ContextRecord ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EXCEPTION_POINTERS { fn eq ( & self , other : & Self ) -> bool { self . ExceptionRecord == other . ExceptionRecord && self . ContextRecord == other . ContextRecord } } impl :: std :: cmp :: Eq for EXCEPTION_POINTERS { } unsafe impl :: windows :: Abi for EXCEPTION_POINTERS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EXCEPTION_RECORD { pub ExceptionCode : super::super::super::Foundation:: NTSTATUS , pub ExceptionFlags : u32 , pub ExceptionRecord : * mut EXCEPTION_RECORD , pub ExceptionAddress : * mut :: std :: ffi :: c_void , pub NumberParameters : u32 , pub ExceptionInformation : [ usize ;15 ] } impl EXCEPTION_RECORD { } impl :: std :: default :: Default for EXCEPTION_RECORD { fn default ( ) -> Self { Self { ExceptionCode : :: std :: default :: Default :: default ( ) , ExceptionFlags : 0 , ExceptionRecord : :: std :: ptr :: null_mut ( ) , ExceptionAddress : :: std :: ptr :: null_mut ( ) , NumberParameters : 0 , ExceptionInformation : [ 0 ;15 ] } } } impl :: std :: fmt :: Debug for EXCEPTION_RECORD { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EXCEPTION_RECORD" ) . field ( "ExceptionCode" , & self . ExceptionCode ) . field ( "ExceptionFlags" , & self . ExceptionFlags ) . field ( "ExceptionRecord" , & self . ExceptionRecord ) . field ( "ExceptionAddress" , & self . ExceptionAddress ) . field ( "NumberParameters" , & self . NumberParameters ) . field ( "ExceptionInformation" , & self . ExceptionInformation ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EXCEPTION_RECORD { fn eq ( & self , other : & Self ) -> bool { self . ExceptionCode == other . ExceptionCode && self . ExceptionFlags == other . ExceptionFlags && self . ExceptionRecord == other . ExceptionRecord && self . ExceptionAddress == other . ExceptionAddress && self . NumberParameters == other . NumberParameters && self . ExceptionInformation == other . ExceptionInformation } } impl :: std :: cmp :: Eq for EXCEPTION_RECORD { } unsafe impl :: windows :: Abi for EXCEPTION_RECORD { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct IMAGE_DATA_DIRECTORY { pub VirtualAddress : u32 , pub Size : u32 } impl IMAGE_DATA_DIRECTORY { } impl :: std :: default :: Default for IMAGE_DATA_DIRECTORY { fn default ( ) -> Self { Self { VirtualAddress : 0 , Size : 0 } } } impl :: std :: fmt :: Debug for IMAGE_DATA_DIRECTORY { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "IMAGE_DATA_DIRECTORY" ) . field ( "VirtualAddress" , & self . VirtualAddress ) . field ( "Size" , & self . Size ) . finish ( ) } } impl :: std :: cmp :: PartialEq for IMAGE_DATA_DIRECTORY { fn eq ( & self , other : & Self ) -> bool { self . VirtualAddress == other . VirtualAddress && self . Size == other . Size } } impl :: std :: cmp :: Eq for IMAGE_DATA_DIRECTORY { } unsafe impl :: windows :: Abi for IMAGE_DATA_DIRECTORY { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct IMAGE_FILE_CHARACTERISTICS ( pub u32 ) ; pub const IMAGE_FILE_RELOCS_STRIPPED : IMAGE_FILE_CHARACTERISTICS = IMAGE_FILE_CHARACTERISTICS ( 1u32 ) ; pub const IMAGE_FILE_EXECUTABLE_IMAGE : IMAGE_FILE_CHARACTERISTICS = IMAGE_FILE_CHARACTERISTICS ( 2u32 ) ; pub const IMAGE_FILE_LINE_NUMS_STRIPPED : IMAGE_FILE_CHARACTERISTICS = IMAGE_FILE_CHARACTERISTICS ( 4u32 ) ; pub const IMAGE_FILE_LOCAL_SYMS_STRIPPED : IMAGE_FILE_CHARACTERISTICS = IMAGE_FILE_CHARACTERISTICS ( 8u32 ) ; pub const IMAGE_FILE_AGGRESIVE_WS_TRIM : IMAGE_FILE_CHARACTERISTICS = IMAGE_FILE_CHARACTERISTICS ( 16u32 ) ; pub const IMAGE_FILE_LARGE_ADDRESS_AWARE : IMAGE_FILE_CHARACTERISTICS = IMAGE_FILE_CHARACTERISTICS ( 32u32 ) ; pub const IMAGE_FILE_BYTES_REVERSED_LO : IMAGE_FILE_CHARACTERISTICS = IMAGE_FILE_CHARACTERISTICS ( 128u32 ) ; pub const IMAGE_FILE_32BIT_MACHINE : IMAGE_FILE_CHARACTERISTICS = IMAGE_FILE_CHARACTERISTICS ( 256u32 ) ; pub const IMAGE_FILE_DEBUG_STRIPPED : IMAGE_FILE_CHARACTERISTICS = IMAGE_FILE_CHARACTERISTICS ( 512u32 ) ; pub const IMAGE_FILE_REMOVABLE_RUN_FROM_SWAP : IMAGE_FILE_CHARACTERISTICS = IMAGE_FILE_CHARACTERISTICS ( 1024u32 ) ; pub const IMAGE_FILE_NET_RUN_FROM_SWAP : IMAGE_FILE_CHARACTERISTICS = IMAGE_FILE_CHARACTERISTICS ( 2048u32 ) ; pub const IMAGE_FILE_SYSTEM : IMAGE_FILE_CHARACTERISTICS = IMAGE_FILE_CHARACTERISTICS ( 4096u32 ) ; pub const IMAGE_FILE_DLL : IMAGE_FILE_CHARACTERISTICS = IMAGE_FILE_CHARACTERISTICS ( 8192u32 ) ; pub const IMAGE_FILE_UP_SYSTEM_ONLY : IMAGE_FILE_CHARACTERISTICS = IMAGE_FILE_CHARACTERISTICS ( 16384u32 ) ; pub const IMAGE_FILE_BYTES_REVERSED_HI : IMAGE_FILE_CHARACTERISTICS = IMAGE_FILE_CHARACTERISTICS ( 32768u32 ) ; impl :: std :: convert :: From < u32 > for IMAGE_FILE_CHARACTERISTICS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for IMAGE_FILE_CHARACTERISTICS { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for IMAGE_FILE_CHARACTERISTICS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for IMAGE_FILE_CHARACTERISTICS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for IMAGE_FILE_CHARACTERISTICS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for IMAGE_FILE_CHARACTERISTICS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct IMAGE_FILE_HEADER { pub Machine : IMAGE_FILE_MACHINE , pub NumberOfSections : u16 , pub TimeDateStamp : u32 , pub PointerToSymbolTable : u32 , pub NumberOfSymbols : u32 , pub SizeOfOptionalHeader : u16 , pub Characteristics : IMAGE_FILE_CHARACTERISTICS } impl IMAGE_FILE_HEADER { } impl :: std :: default :: Default for IMAGE_FILE_HEADER { fn default ( ) -> Self { Self { Machine : :: std :: default :: Default :: default ( ) , NumberOfSections : 0 , TimeDateStamp : 0 , PointerToSymbolTable : 0 , NumberOfSymbols : 0 , SizeOfOptionalHeader : 0 , Characteristics : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for IMAGE_FILE_HEADER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "IMAGE_FILE_HEADER" ) . field ( "Machine" , & self . Machine ) . field ( "NumberOfSections" , & self . NumberOfSections ) . field ( "TimeDateStamp" , & self . TimeDateStamp ) . field ( "PointerToSymbolTable" , & self . PointerToSymbolTable ) . field ( "NumberOfSymbols" , & self . NumberOfSymbols ) . field ( "SizeOfOptionalHeader" , & self . SizeOfOptionalHeader ) . field ( "Characteristics" , & self . Characteristics ) . finish ( ) } } impl :: std :: cmp :: PartialEq for IMAGE_FILE_HEADER { fn eq ( & self , other : & Self ) -> bool { self . Machine == other . Machine && self . NumberOfSections == other . NumberOfSections && self . TimeDateStamp == other . TimeDateStamp && self . PointerToSymbolTable == other . PointerToSymbolTable && self . NumberOfSymbols == other . NumberOfSymbols && self . SizeOfOptionalHeader == other . SizeOfOptionalHeader && self . Characteristics == other . Characteristics } } impl :: std :: cmp :: Eq for IMAGE_FILE_HEADER { } unsafe impl :: windows :: Abi for IMAGE_FILE_HEADER { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct IMAGE_FILE_MACHINE ( pub u16 ) ; pub const IMAGE_FILE_MACHINE_AXP64 : IMAGE_FILE_MACHINE = IMAGE_FILE_MACHINE ( 644u16 ) ; pub const IMAGE_FILE_MACHINE_I386 : IMAGE_FILE_MACHINE = IMAGE_FILE_MACHINE ( 332u16 ) ; pub const IMAGE_FILE_MACHINE_IA64 : IMAGE_FILE_MACHINE = IMAGE_FILE_MACHINE ( 512u16 ) ; pub const IMAGE_FILE_MACHINE_AMD64 : IMAGE_FILE_MACHINE = IMAGE_FILE_MACHINE ( 34404u16 ) ; pub const IMAGE_FILE_MACHINE_UNKNOWN : IMAGE_FILE_MACHINE = IMAGE_FILE_MACHINE ( 0u16 ) ; pub const IMAGE_FILE_MACHINE_TARGET_HOST : IMAGE_FILE_MACHINE = IMAGE_FILE_MACHINE ( 1u16 ) ; pub const IMAGE_FILE_MACHINE_R3000 : IMAGE_FILE_MACHINE = IMAGE_FILE_MACHINE ( 354u16 ) ; pub const IMAGE_FILE_MACHINE_R4000 : IMAGE_FILE_MACHINE = IMAGE_FILE_MACHINE ( 358u16 ) ; pub const IMAGE_FILE_MACHINE_R10000 : IMAGE_FILE_MACHINE = IMAGE_FILE_MACHINE ( 360u16 ) ; pub const IMAGE_FILE_MACHINE_WCEMIPSV2 : IMAGE_FILE_MACHINE = IMAGE_FILE_MACHINE ( 361u16 ) ; pub const IMAGE_FILE_MACHINE_ALPHA : IMAGE_FILE_MACHINE = IMAGE_FILE_MACHINE ( 388u16 ) ; pub const IMAGE_FILE_MACHINE_SH3 : IMAGE_FILE_MACHINE = IMAGE_FILE_MACHINE ( 418u16 ) ; pub const IMAGE_FILE_MACHINE_SH3DSP : IMAGE_FILE_MACHINE = IMAGE_FILE_MACHINE ( 419u16 ) ; pub const IMAGE_FILE_MACHINE_SH3E : IMAGE_FILE_MACHINE = IMAGE_FILE_MACHINE ( 420u16 ) ; pub const IMAGE_FILE_MACHINE_SH4 : IMAGE_FILE_MACHINE = IMAGE_FILE_MACHINE ( 422u16 ) ; pub const IMAGE_FILE_MACHINE_SH5 : IMAGE_FILE_MACHINE = IMAGE_FILE_MACHINE ( 424u16 ) ; pub const IMAGE_FILE_MACHINE_ARM : IMAGE_FILE_MACHINE = IMAGE_FILE_MACHINE ( 448u16 ) ; pub const IMAGE_FILE_MACHINE_THUMB : IMAGE_FILE_MACHINE = IMAGE_FILE_MACHINE ( 450u16 ) ; pub const IMAGE_FILE_MACHINE_ARMNT : IMAGE_FILE_MACHINE = IMAGE_FILE_MACHINE ( 452u16 ) ; pub const IMAGE_FILE_MACHINE_AM33 : IMAGE_FILE_MACHINE = IMAGE_FILE_MACHINE ( 467u16 ) ; pub const IMAGE_FILE_MACHINE_POWERPC : IMAGE_FILE_MACHINE = IMAGE_FILE_MACHINE ( 496u16 ) ; pub const IMAGE_FILE_MACHINE_POWERPCFP : IMAGE_FILE_MACHINE = IMAGE_FILE_MACHINE ( 497u16 ) ; pub const IMAGE_FILE_MACHINE_MIPS16 : IMAGE_FILE_MACHINE = IMAGE_FILE_MACHINE ( 614u16 ) ; pub const IMAGE_FILE_MACHINE_ALPHA64 : IMAGE_FILE_MACHINE = IMAGE_FILE_MACHINE ( 644u16 ) ; pub const IMAGE_FILE_MACHINE_MIPSFPU : IMAGE_FILE_MACHINE = IMAGE_FILE_MACHINE ( 870u16 ) ; pub const IMAGE_FILE_MACHINE_MIPSFPU16 : IMAGE_FILE_MACHINE = IMAGE_FILE_MACHINE ( 1126u16 ) ; pub const IMAGE_FILE_MACHINE_TRICORE : IMAGE_FILE_MACHINE = IMAGE_FILE_MACHINE ( 1312u16 ) ; pub const IMAGE_FILE_MACHINE_CEF : IMAGE_FILE_MACHINE = IMAGE_FILE_MACHINE ( 3311u16 ) ; pub const IMAGE_FILE_MACHINE_EBC : IMAGE_FILE_MACHINE = IMAGE_FILE_MACHINE ( 3772u16 ) ; pub const IMAGE_FILE_MACHINE_M32R : IMAGE_FILE_MACHINE = IMAGE_FILE_MACHINE ( 36929u16 ) ; pub const IMAGE_FILE_MACHINE_ARM64 : IMAGE_FILE_MACHINE = IMAGE_FILE_MACHINE ( 43620u16 ) ; pub const IMAGE_FILE_MACHINE_CEE : IMAGE_FILE_MACHINE = IMAGE_FILE_MACHINE ( 49390u16 ) ; impl :: std :: convert :: From < u16 > for IMAGE_FILE_MACHINE { fn from ( value : u16 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for IMAGE_FILE_MACHINE { type Abi = Self ; type DefaultType = Self ; } } } # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod EventLog { # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct REPORT_EVENT_TYPE ( pub u32 ) ; pub const EVENTLOG_SUCCESS : REPORT_EVENT_TYPE = REPORT_EVENT_TYPE ( 0u32 ) ; pub const EVENTLOG_AUDIT_FAILURE : REPORT_EVENT_TYPE = REPORT_EVENT_TYPE ( 16u32 ) ; pub const EVENTLOG_AUDIT_SUCCESS : REPORT_EVENT_TYPE = REPORT_EVENT_TYPE ( 8u32 ) ; pub const EVENTLOG_ERROR_TYPE : REPORT_EVENT_TYPE = REPORT_EVENT_TYPE ( 1u32 ) ; pub const EVENTLOG_INFORMATION_TYPE : REPORT_EVENT_TYPE = REPORT_EVENT_TYPE ( 4u32 ) ; pub const EVENTLOG_WARNING_TYPE : REPORT_EVENT_TYPE = REPORT_EVENT_TYPE ( 2u32 ) ; impl :: std :: convert :: From < u32 > for REPORT_EVENT_TYPE { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for REPORT_EVENT_TYPE { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for REPORT_EVENT_TYPE { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for REPORT_EVENT_TYPE { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for REPORT_EVENT_TYPE { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for REPORT_EVENT_TYPE { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } } # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod JobObjects { # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct JOB_OBJECT_LIMIT ( pub u32 ) ; pub const JOB_OBJECT_LIMIT_WORKINGSET : JOB_OBJECT_LIMIT = JOB_OBJECT_LIMIT ( 1u32 ) ; pub const JOB_OBJECT_LIMIT_PROCESS_TIME : JOB_OBJECT_LIMIT = JOB_OBJECT_LIMIT ( 2u32 ) ; pub const JOB_OBJECT_LIMIT_JOB_TIME : JOB_OBJECT_LIMIT = JOB_OBJECT_LIMIT ( 4u32 ) ; pub const JOB_OBJECT_LIMIT_ACTIVE_PROCESS : JOB_OBJECT_LIMIT = JOB_OBJECT_LIMIT ( 8u32 ) ; pub const JOB_OBJECT_LIMIT_AFFINITY : JOB_OBJECT_LIMIT = JOB_OBJECT_LIMIT ( 16u32 ) ; pub const JOB_OBJECT_LIMIT_PRIORITY_CLASS : JOB_OBJECT_LIMIT = JOB_OBJECT_LIMIT ( 32u32 ) ; pub const JOB_OBJECT_LIMIT_PRESERVE_JOB_TIME : JOB_OBJECT_LIMIT = JOB_OBJECT_LIMIT ( 64u32 ) ; pub const JOB_OBJECT_LIMIT_SCHEDULING_CLASS : JOB_OBJECT_LIMIT = JOB_OBJECT_LIMIT ( 128u32 ) ; pub const JOB_OBJECT_LIMIT_PROCESS_MEMORY : JOB_OBJECT_LIMIT = JOB_OBJECT_LIMIT ( 256u32 ) ; pub const JOB_OBJECT_LIMIT_JOB_MEMORY : JOB_OBJECT_LIMIT = JOB_OBJECT_LIMIT ( 512u32 ) ; pub const JOB_OBJECT_LIMIT_JOB_MEMORY_HIGH : JOB_OBJECT_LIMIT = JOB_OBJECT_LIMIT ( 512u32 ) ; pub const JOB_OBJECT_LIMIT_DIE_ON_UNHANDLED_EXCEPTION : JOB_OBJECT_LIMIT = JOB_OBJECT_LIMIT ( 1024u32 ) ; pub const JOB_OBJECT_LIMIT_BREAKAWAY_OK : JOB_OBJECT_LIMIT = JOB_OBJECT_LIMIT ( 2048u32 ) ; pub const JOB_OBJECT_LIMIT_SILENT_BREAKAWAY_OK : JOB_OBJECT_LIMIT = JOB_OBJECT_LIMIT ( 4096u32 ) ; pub const JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE : JOB_OBJECT_LIMIT = JOB_OBJECT_LIMIT ( 8192u32 ) ; pub const JOB_OBJECT_LIMIT_SUBSET_AFFINITY : JOB_OBJECT_LIMIT = JOB_OBJECT_LIMIT ( 16384u32 ) ; pub const JOB_OBJECT_LIMIT_JOB_MEMORY_LOW : JOB_OBJECT_LIMIT = JOB_OBJECT_LIMIT ( 32768u32 ) ; pub const JOB_OBJECT_LIMIT_JOB_READ_BYTES : JOB_OBJECT_LIMIT = JOB_OBJECT_LIMIT ( 65536u32 ) ; pub const JOB_OBJECT_LIMIT_JOB_WRITE_BYTES : JOB_OBJECT_LIMIT = JOB_OBJECT_LIMIT ( 131072u32 ) ; pub const JOB_OBJECT_LIMIT_RATE_CONTROL : JOB_OBJECT_LIMIT = JOB_OBJECT_LIMIT ( 262144u32 ) ; pub const JOB_OBJECT_LIMIT_CPU_RATE_CONTROL : JOB_OBJECT_LIMIT = JOB_OBJECT_LIMIT ( 262144u32 ) ; pub const JOB_OBJECT_LIMIT_IO_RATE_CONTROL : JOB_OBJECT_LIMIT = JOB_OBJECT_LIMIT ( 524288u32 ) ; pub const JOB_OBJECT_LIMIT_NET_RATE_CONTROL : JOB_OBJECT_LIMIT = JOB_OBJECT_LIMIT ( 1048576u32 ) ; pub const JOB_OBJECT_LIMIT_VALID_FLAGS : JOB_OBJECT_LIMIT = JOB_OBJECT_LIMIT ( 524287u32 ) ; pub const JOB_OBJECT_BASIC_LIMIT_VALID_FLAGS : JOB_OBJECT_LIMIT = JOB_OBJECT_LIMIT ( 255u32 ) ; pub const JOB_OBJECT_EXTENDED_LIMIT_VALID_FLAGS : JOB_OBJECT_LIMIT = JOB_OBJECT_LIMIT ( 32767u32 ) ; pub const JOB_OBJECT_NOTIFICATION_LIMIT_VALID_FLAGS : JOB_OBJECT_LIMIT = JOB_OBJECT_LIMIT ( 2064900u32 ) ; impl :: std :: convert :: From < u32 > for JOB_OBJECT_LIMIT { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for JOB_OBJECT_LIMIT { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for JOB_OBJECT_LIMIT { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for JOB_OBJECT_LIMIT { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for JOB_OBJECT_LIMIT { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for JOB_OBJECT_LIMIT { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct JOB_OBJECT_SECURITY ( pub u32 ) ; pub const JOB_OBJECT_SECURITY_NO_ADMIN : JOB_OBJECT_SECURITY = JOB_OBJECT_SECURITY ( 1u32 ) ; pub const JOB_OBJECT_SECURITY_RESTRICTED_TOKEN : JOB_OBJECT_SECURITY = JOB_OBJECT_SECURITY ( 2u32 ) ; pub const JOB_OBJECT_SECURITY_ONLY_TOKEN : JOB_OBJECT_SECURITY = JOB_OBJECT_SECURITY ( 4u32 ) ; pub const JOB_OBJECT_SECURITY_FILTER_TOKENS : JOB_OBJECT_SECURITY = JOB_OBJECT_SECURITY ( 8u32 ) ; pub const JOB_OBJECT_SECURITY_VALID_FLAGS : JOB_OBJECT_SECURITY = JOB_OBJECT_SECURITY ( 15u32 ) ; impl :: std :: convert :: From < u32 > for JOB_OBJECT_SECURITY { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for JOB_OBJECT_SECURITY { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for JOB_OBJECT_SECURITY { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for JOB_OBJECT_SECURITY { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for JOB_OBJECT_SECURITY { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for JOB_OBJECT_SECURITY { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct JOB_OBJECT_UILIMIT ( pub u32 ) ; pub const JOB_OBJECT_UILIMIT_NONE : JOB_OBJECT_UILIMIT = JOB_OBJECT_UILIMIT ( 0u32 ) ; pub const JOB_OBJECT_UILIMIT_HANDLES : JOB_OBJECT_UILIMIT = JOB_OBJECT_UILIMIT ( 1u32 ) ; pub const JOB_OBJECT_UILIMIT_READCLIPBOARD : JOB_OBJECT_UILIMIT = JOB_OBJECT_UILIMIT ( 2u32 ) ; pub const JOB_OBJECT_UILIMIT_WRITECLIPBOARD : JOB_OBJECT_UILIMIT = JOB_OBJECT_UILIMIT ( 4u32 ) ; pub const JOB_OBJECT_UILIMIT_SYSTEMPARAMETERS : JOB_OBJECT_UILIMIT = JOB_OBJECT_UILIMIT ( 8u32 ) ; pub const JOB_OBJECT_UILIMIT_DISPLAYSETTINGS : JOB_OBJECT_UILIMIT = JOB_OBJECT_UILIMIT ( 16u32 ) ; pub const JOB_OBJECT_UILIMIT_GLOBALATOMS : JOB_OBJECT_UILIMIT = JOB_OBJECT_UILIMIT ( 32u32 ) ; pub const JOB_OBJECT_UILIMIT_DESKTOP : JOB_OBJECT_UILIMIT = JOB_OBJECT_UILIMIT ( 64u32 ) ; pub const JOB_OBJECT_UILIMIT_EXITWINDOWS : JOB_OBJECT_UILIMIT = JOB_OBJECT_UILIMIT ( 128u32 ) ; impl :: std :: convert :: From < u32 > for JOB_OBJECT_UILIMIT { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for JOB_OBJECT_UILIMIT { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for JOB_OBJECT_UILIMIT { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for JOB_OBJECT_UILIMIT { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for JOB_OBJECT_UILIMIT { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for JOB_OBJECT_UILIMIT { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } } # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod Kernel { # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct EXCEPTION_DISPOSITION ( pub i32 ) ; pub const ExceptionContinueExecution : EXCEPTION_DISPOSITION = EXCEPTION_DISPOSITION ( 0i32 ) ; pub const ExceptionContinueSearch : EXCEPTION_DISPOSITION = EXCEPTION_DISPOSITION ( 1i32 ) ; pub const ExceptionNestedException : EXCEPTION_DISPOSITION = EXCEPTION_DISPOSITION ( 2i32 ) ; pub const ExceptionCollidedUnwind : EXCEPTION_DISPOSITION = EXCEPTION_DISPOSITION ( 3i32 ) ; impl :: std :: convert :: From < i32 > for EXCEPTION_DISPOSITION { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for EXCEPTION_DISPOSITION { type Abi = Self ; type DefaultType = Self ; } pub type EXCEPTION_ROUTINE = unsafe extern "system" fn ( exceptionrecord : * mut super::Diagnostics::Debug:: EXCEPTION_RECORD , establisherframe : * mut :: std :: ffi :: c_void , contextrecord : * mut super::Diagnostics::Debug:: CONTEXT , dispatchercontext : * mut :: std :: ffi :: c_void ) -> EXCEPTION_DISPOSITION ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct GROUP_AFFINITY { pub Mask : usize , pub Group : u16 , pub Reserved : [ u16 ;3 ] } impl GROUP_AFFINITY { } impl :: std :: default :: Default for GROUP_AFFINITY { fn default ( ) -> Self { Self { Mask : 0 , Group : 0 , Reserved : [ 0 ;3 ] } } } impl :: std :: fmt :: Debug for GROUP_AFFINITY { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "GROUP_AFFINITY" ) . field ( "Mask" , & self . Mask ) . field ( "Group" , & self . Group ) . field ( "Reserved" , & self . Reserved ) . finish ( ) } } impl :: std :: cmp :: PartialEq for GROUP_AFFINITY { fn eq ( & self , other : & Self ) -> bool { self . Mask == other . Mask && self . Group == other . Group && self . Reserved == other . Reserved } } impl :: std :: cmp :: Eq for GROUP_AFFINITY { } unsafe impl :: windows :: Abi for GROUP_AFFINITY { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct LIST_ENTRY { pub Flink : * mut LIST_ENTRY , pub Blink : * mut LIST_ENTRY } impl LIST_ENTRY { } impl :: std :: default :: Default for LIST_ENTRY { fn default ( ) -> Self { Self { Flink : :: std :: ptr :: null_mut ( ) , Blink : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for LIST_ENTRY { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "LIST_ENTRY" ) . field ( "Flink" , & self . Flink ) . field ( "Blink" , & self . Blink ) . finish ( ) } } impl :: std :: cmp :: PartialEq for LIST_ENTRY { fn eq ( & self , other : & Self ) -> bool { self . Flink == other . Flink && self . Blink == other . Blink } } impl :: std :: cmp :: Eq for LIST_ENTRY { } unsafe impl :: windows :: Abi for LIST_ENTRY { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PROCESSOR_NUMBER { pub Group : u16 , pub Number : u8 , pub Reserved : u8 } impl PROCESSOR_NUMBER { } impl :: std :: default :: Default for PROCESSOR_NUMBER { fn default ( ) -> Self { Self { Group : 0 , Number : 0 , Reserved : 0 } } } impl :: std :: fmt :: Debug for PROCESSOR_NUMBER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "PROCESSOR_NUMBER" ) . field ( "Group" , & self . Group ) . field ( "Number" , & self . Number ) . field ( "Reserved" , & self . Reserved ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PROCESSOR_NUMBER { fn eq ( & self , other : & Self ) -> bool { self . Group == other . Group && self . Number == other . Number && self . Reserved == other . Reserved } } impl :: std :: cmp :: Eq for PROCESSOR_NUMBER { } unsafe impl :: windows :: Abi for PROCESSOR_NUMBER { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SLIST_ENTRY { pub Next : * mut SLIST_ENTRY } impl SLIST_ENTRY { } impl :: std :: default :: Default for SLIST_ENTRY { fn default ( ) -> Self { Self { Next : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for SLIST_ENTRY { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SLIST_ENTRY" ) . field ( "Next" , & self . Next ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SLIST_ENTRY { fn eq ( & self , other : & Self ) -> bool { self . Next == other . Next } } impl :: std :: cmp :: Eq for SLIST_ENTRY { } unsafe impl :: windows :: Abi for SLIST_ENTRY { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union SLIST_HEADER { pub Anonymous : SLIST_HEADER_0 , pub HeaderArm64 : SLIST_HEADER_1 } impl SLIST_HEADER { } impl :: std :: cmp :: PartialEq for SLIST_HEADER { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for SLIST_HEADER { } unsafe impl :: windows :: Abi for SLIST_HEADER { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SLIST_HEADER_0 { pub Alignment : u64 , pub Region : u64 } impl SLIST_HEADER_0 { } impl :: std :: default :: Default for SLIST_HEADER_0 { fn default ( ) -> Self { Self { Alignment : 0 , Region : 0 } } } impl :: std :: fmt :: Debug for SLIST_HEADER_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Anonymous_e__Struct" ) . field ( "Alignment" , & self . Alignment ) . field ( "Region" , & self . Region ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SLIST_HEADER_0 { fn eq ( & self , other : & Self ) -> bool { self . Alignment == other . Alignment && self . Region == other . Region } } impl :: std :: cmp :: Eq for SLIST_HEADER_0 { } unsafe impl :: windows :: Abi for SLIST_HEADER_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SLIST_HEADER_1 { pub _bitfield1 : u64 , pub _bitfield2 : u64 } impl SLIST_HEADER_1 { } impl :: std :: default :: Default for SLIST_HEADER_1 { fn default ( ) -> Self { Self { _bitfield1 : 0 , _bitfield2 : 0 } } } impl :: std :: fmt :: Debug for SLIST_HEADER_1 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_HeaderArm64_e__Struct" ) . field ( "_bitfield1" , & self . _bitfield1 ) . field ( "_bitfield2" , & self . _bitfield2 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SLIST_HEADER_1 { fn eq ( & self , other : & Self ) -> bool { self . _bitfield1 == other . _bitfield1 && self . _bitfield2 == other . _bitfield2 } } impl :: std :: cmp :: Eq for SLIST_HEADER_1 { } unsafe impl :: windows :: Abi for SLIST_HEADER_1 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct UNICODE_STRING { pub Length : u16 , pub MaximumLength : u16 , pub Buffer : super::super::Foundation:: PWSTR } impl UNICODE_STRING { } impl :: std :: default :: Default for UNICODE_STRING { fn default ( ) -> Self { Self { Length : 0 , MaximumLength : 0 , Buffer : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for UNICODE_STRING { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "UNICODE_STRING" ) . field ( "Length" , & self . Length ) . field ( "MaximumLength" , & self . MaximumLength ) . field ( "Buffer" , & self . Buffer ) . finish ( ) } } impl :: std :: cmp :: PartialEq for UNICODE_STRING { fn eq ( & self , other : & Self ) -> bool { self . Length == other . Length && self . MaximumLength == other . MaximumLength && self . Buffer == other . Buffer } } impl :: std :: cmp :: Eq for UNICODE_STRING { } unsafe impl :: windows :: Abi for UNICODE_STRING { type Abi = Self ; type DefaultType = Self ; } } # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod Pipes { pub unsafe fn CallNamedPipeA < 'a , > ( lpnamedpipename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , lpinbuffer : * mut :: std :: ffi :: c_void , ninbuffersize : u32 , lpoutbuffer : * mut :: std :: ffi :: c_void , noutbuffersize : u32 , lpbytesread : * mut u32 , ntimeout : u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn CallNamedPipeA ( lpnamedpipename : super::super::Foundation:: PSTR , lpinbuffer : * mut :: std :: ffi :: c_void , ninbuffersize : u32 , lpoutbuffer : * mut :: std :: ffi :: c_void , noutbuffersize : u32 , lpbytesread : * mut u32 , ntimeout : u32 ) -> super::super::Foundation:: BOOL ; } CallNamedPipeA ( lpnamedpipename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpinbuffer ) , :: std :: mem :: transmute ( ninbuffersize ) , :: std :: mem :: transmute ( lpoutbuffer ) , :: std :: mem :: transmute ( noutbuffersize ) , :: std :: mem :: transmute ( lpbytesread ) , :: std :: mem :: transmute ( ntimeout ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CallNamedPipeW < 'a , > ( lpnamedpipename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , lpinbuffer : * mut :: std :: ffi :: c_void , ninbuffersize : u32 , lpoutbuffer : * mut :: std :: ffi :: c_void , noutbuffersize : u32 , lpbytesread : * mut u32 , ntimeout : u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn CallNamedPipeW ( lpnamedpipename : super::super::Foundation:: PWSTR , lpinbuffer : * mut :: std :: ffi :: c_void , ninbuffersize : u32 , lpoutbuffer : * mut :: std :: ffi :: c_void , noutbuffersize : u32 , lpbytesread : * mut u32 , ntimeout : u32 ) -> super::super::Foundation:: BOOL ; } CallNamedPipeW ( lpnamedpipename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpinbuffer ) , :: std :: mem :: transmute ( ninbuffersize ) , :: std :: mem :: transmute ( lpoutbuffer ) , :: std :: mem :: transmute ( noutbuffersize ) , :: std :: mem :: transmute ( lpbytesread ) , :: std :: mem :: transmute ( ntimeout ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn ConnectNamedPipe < 'a , > ( hnamedpipe : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , lpoverlapped : * mut super::SystemServices:: OVERLAPPED , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn ConnectNamedPipe ( hnamedpipe : super::super::Foundation:: HANDLE , lpoverlapped : * mut super::SystemServices:: OVERLAPPED ) -> super::super::Foundation:: BOOL ; } ConnectNamedPipe ( hnamedpipe . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpoverlapped ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateNamedPipeA < 'a , > ( lpname : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , dwopenmode : u32 , dwpipemode : u32 , nmaxinstances : u32 , noutbuffersize : u32 , ninbuffersize : u32 , ndefaulttimeout : u32 , lpsecurityattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES , ) -> super::super::Foundation:: HANDLE { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn CreateNamedPipeA ( lpname : super::super::Foundation:: PSTR , dwopenmode : u32 , dwpipemode : u32 , nmaxinstances : u32 , noutbuffersize : u32 , ninbuffersize : u32 , ndefaulttimeout : u32 , lpsecurityattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES ) -> super::super::Foundation:: HANDLE ; } CreateNamedPipeA ( lpname . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwopenmode ) , :: std :: mem :: transmute ( dwpipemode ) , :: std :: mem :: transmute ( nmaxinstances ) , :: std :: mem :: transmute ( noutbuffersize ) , :: std :: mem :: transmute ( ninbuffersize ) , :: std :: mem :: transmute ( ndefaulttimeout ) , :: std :: mem :: transmute ( lpsecurityattributes ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateNamedPipeW < 'a , > ( lpname : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , dwopenmode : u32 , dwpipemode : u32 , nmaxinstances : u32 , noutbuffersize : u32 , ninbuffersize : u32 , ndefaulttimeout : u32 , lpsecurityattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES , ) -> super::super::Foundation:: HANDLE { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn CreateNamedPipeW ( lpname : super::super::Foundation:: PWSTR , dwopenmode : u32 , dwpipemode : u32 , nmaxinstances : u32 , noutbuffersize : u32 , ninbuffersize : u32 , ndefaulttimeout : u32 , lpsecurityattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES ) -> super::super::Foundation:: HANDLE ; } CreateNamedPipeW ( lpname . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwopenmode ) , :: std :: mem :: transmute ( dwpipemode ) , :: std :: mem :: transmute ( nmaxinstances ) , :: std :: mem :: transmute ( noutbuffersize ) , :: std :: mem :: transmute ( ninbuffersize ) , :: std :: mem :: transmute ( ndefaulttimeout ) , :: std :: mem :: transmute ( lpsecurityattributes ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreatePipe < > ( hreadpipe : * mut super::super::Foundation:: HANDLE , hwritepipe : * mut super::super::Foundation:: HANDLE , lppipeattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES , nsize : u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn CreatePipe ( hreadpipe : * mut super::super::Foundation:: HANDLE , hwritepipe : * mut super::super::Foundation:: HANDLE , lppipeattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES , nsize : u32 ) -> super::super::Foundation:: BOOL ; } CreatePipe ( :: std :: mem :: transmute ( hreadpipe ) , :: std :: mem :: transmute ( hwritepipe ) , :: std :: mem :: transmute ( lppipeattributes ) , :: std :: mem :: transmute ( nsize ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn DisconnectNamedPipe < 'a , > ( hnamedpipe : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn DisconnectNamedPipe ( hnamedpipe : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ; } DisconnectNamedPipe ( hnamedpipe . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetNamedPipeClientComputerNameA < 'a , > ( pipe : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , clientcomputername : super::super::Foundation:: PSTR , clientcomputernamelength : u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetNamedPipeClientComputerNameA ( pipe : super::super::Foundation:: HANDLE , clientcomputername : super::super::Foundation:: PSTR , clientcomputernamelength : u32 ) -> super::super::Foundation:: BOOL ; } GetNamedPipeClientComputerNameA ( pipe . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( clientcomputername ) , :: std :: mem :: transmute ( clientcomputernamelength ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetNamedPipeClientComputerNameW < 'a , > ( pipe : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , clientcomputername : super::super::Foundation:: PWSTR , clientcomputernamelength : u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetNamedPipeClientComputerNameW ( pipe : super::super::Foundation:: HANDLE , clientcomputername : super::super::Foundation:: PWSTR , clientcomputernamelength : u32 ) -> super::super::Foundation:: BOOL ; } GetNamedPipeClientComputerNameW ( pipe . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( clientcomputername ) , :: std :: mem :: transmute ( clientcomputernamelength ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetNamedPipeClientProcessId < 'a , > ( pipe : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , clientprocessid : * mut u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetNamedPipeClientProcessId ( pipe : super::super::Foundation:: HANDLE , clientprocessid : * mut u32 ) -> super::super::Foundation:: BOOL ; } GetNamedPipeClientProcessId ( pipe . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( clientprocessid ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetNamedPipeClientSessionId < 'a , > ( pipe : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , clientsessionid : * mut u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetNamedPipeClientSessionId ( pipe : super::super::Foundation:: HANDLE , clientsessionid : * mut u32 ) -> super::super::Foundation:: BOOL ; } GetNamedPipeClientSessionId ( pipe . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( clientsessionid ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetNamedPipeHandleStateA < 'a , > ( hnamedpipe : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , lpstate : * mut NAMED_PIPE_HANDLE_STATE , lpcurinstances : * mut u32 , lpmaxcollectioncount : * mut u32 , lpcollectdatatimeout : * mut u32 , lpusername : super::super::Foundation:: PSTR , nmaxusernamesize : u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetNamedPipeHandleStateA ( hnamedpipe : super::super::Foundation:: HANDLE , lpstate : * mut NAMED_PIPE_HANDLE_STATE , lpcurinstances : * mut u32 , lpmaxcollectioncount : * mut u32 , lpcollectdatatimeout : * mut u32 , lpusername : super::super::Foundation:: PSTR , nmaxusernamesize : u32 ) -> super::super::Foundation:: BOOL ; } GetNamedPipeHandleStateA ( hnamedpipe . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpstate ) , :: std :: mem :: transmute ( lpcurinstances ) , :: std :: mem :: transmute ( lpmaxcollectioncount ) , :: std :: mem :: transmute ( lpcollectdatatimeout ) , :: std :: mem :: transmute ( lpusername ) , :: std :: mem :: transmute ( nmaxusernamesize ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetNamedPipeHandleStateW < 'a , > ( hnamedpipe : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , lpstate : * mut NAMED_PIPE_HANDLE_STATE , lpcurinstances : * mut u32 , lpmaxcollectioncount : * mut u32 , lpcollectdatatimeout : * mut u32 , lpusername : super::super::Foundation:: PWSTR , nmaxusernamesize : u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetNamedPipeHandleStateW ( hnamedpipe : super::super::Foundation:: HANDLE , lpstate : * mut NAMED_PIPE_HANDLE_STATE , lpcurinstances : * mut u32 , lpmaxcollectioncount : * mut u32 , lpcollectdatatimeout : * mut u32 , lpusername : super::super::Foundation:: PWSTR , nmaxusernamesize : u32 ) -> super::super::Foundation:: BOOL ; } GetNamedPipeHandleStateW ( hnamedpipe . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpstate ) , :: std :: mem :: transmute ( lpcurinstances ) , :: std :: mem :: transmute ( lpmaxcollectioncount ) , :: std :: mem :: transmute ( lpcollectdatatimeout ) , :: std :: mem :: transmute ( lpusername ) , :: std :: mem :: transmute ( nmaxusernamesize ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetNamedPipeInfo < 'a , > ( hnamedpipe : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , lpflags : * mut NAMED_PIPE_INFO_FLAGS , lpoutbuffersize : * mut u32 , lpinbuffersize : * mut u32 , lpmaxinstances : * mut u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetNamedPipeInfo ( hnamedpipe : super::super::Foundation:: HANDLE , lpflags : * mut NAMED_PIPE_INFO_FLAGS , lpoutbuffersize : * mut u32 , lpinbuffersize : * mut u32 , lpmaxinstances : * mut u32 ) -> super::super::Foundation:: BOOL ; } GetNamedPipeInfo ( hnamedpipe . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpflags ) , :: std :: mem :: transmute ( lpoutbuffersize ) , :: std :: mem :: transmute ( lpinbuffersize ) , :: std :: mem :: transmute ( lpmaxinstances ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetNamedPipeServerProcessId < 'a , > ( pipe : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , serverprocessid : * mut u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetNamedPipeServerProcessId ( pipe : super::super::Foundation:: HANDLE , serverprocessid : * mut u32 ) -> super::super::Foundation:: BOOL ; } GetNamedPipeServerProcessId ( pipe . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( serverprocessid ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetNamedPipeServerSessionId < 'a , > ( pipe : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , serversessionid : * mut u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetNamedPipeServerSessionId ( pipe : super::super::Foundation:: HANDLE , serversessionid : * mut u32 ) -> super::super::Foundation:: BOOL ; } GetNamedPipeServerSessionId ( pipe . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( serversessionid ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn ImpersonateNamedPipeClient < 'a , > ( hnamedpipe : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="ADVAPI32" ) ] extern "system" { fn ImpersonateNamedPipeClient ( hnamedpipe : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ; } ImpersonateNamedPipeClient ( hnamedpipe . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct NAMED_PIPE_HANDLE_STATE ( pub u32 ) ; pub const PIPE_NOWAIT : NAMED_PIPE_HANDLE_STATE = NAMED_PIPE_HANDLE_STATE ( 1u32 ) ; pub const PIPE_READMODE_MESSAGE : NAMED_PIPE_HANDLE_STATE = NAMED_PIPE_HANDLE_STATE ( 2u32 ) ; impl :: std :: convert :: From < u32 > for NAMED_PIPE_HANDLE_STATE { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for NAMED_PIPE_HANDLE_STATE { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for NAMED_PIPE_HANDLE_STATE { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for NAMED_PIPE_HANDLE_STATE { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for NAMED_PIPE_HANDLE_STATE { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for NAMED_PIPE_HANDLE_STATE { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct NAMED_PIPE_INFO_FLAGS ( pub u32 ) ; pub const PIPE_CLIENT_END : NAMED_PIPE_INFO_FLAGS = NAMED_PIPE_INFO_FLAGS ( 0u32 ) ; pub const PIPE_SERVER_END : NAMED_PIPE_INFO_FLAGS = NAMED_PIPE_INFO_FLAGS ( 1u32 ) ; pub const PIPE_TYPE_BYTE : NAMED_PIPE_INFO_FLAGS = NAMED_PIPE_INFO_FLAGS ( 0u32 ) ; pub const PIPE_TYPE_MESSAGE : NAMED_PIPE_INFO_FLAGS = NAMED_PIPE_INFO_FLAGS ( 4u32 ) ; impl :: std :: convert :: From < u32 > for NAMED_PIPE_INFO_FLAGS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for NAMED_PIPE_INFO_FLAGS { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for NAMED_PIPE_INFO_FLAGS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for NAMED_PIPE_INFO_FLAGS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for NAMED_PIPE_INFO_FLAGS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for NAMED_PIPE_INFO_FLAGS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub unsafe fn PeekNamedPipe < 'a , > ( hnamedpipe : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , lpbuffer : * mut :: std :: ffi :: c_void , nbuffersize : u32 , lpbytesread : * mut u32 , lptotalbytesavail : * mut u32 , lpbytesleftthismessage : * mut u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn PeekNamedPipe ( hnamedpipe : super::super::Foundation:: HANDLE , lpbuffer : * mut :: std :: ffi :: c_void , nbuffersize : u32 , lpbytesread : * mut u32 , lptotalbytesavail : * mut u32 , lpbytesleftthismessage : * mut u32 ) -> super::super::Foundation:: BOOL ; } PeekNamedPipe ( hnamedpipe . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpbuffer ) , :: std :: mem :: transmute ( nbuffersize ) , :: std :: mem :: transmute ( lpbytesread ) , :: std :: mem :: transmute ( lptotalbytesavail ) , :: std :: mem :: transmute ( lpbytesleftthismessage ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetNamedPipeHandleState < 'a , > ( hnamedpipe : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , lpmode : * mut u32 , lpmaxcollectioncount : * mut u32 , lpcollectdatatimeout : * mut u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn SetNamedPipeHandleState ( hnamedpipe : super::super::Foundation:: HANDLE , lpmode : * mut u32 , lpmaxcollectioncount : * mut u32 , lpcollectdatatimeout : * mut u32 ) -> super::super::Foundation:: BOOL ; } SetNamedPipeHandleState ( hnamedpipe . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpmode ) , :: std :: mem :: transmute ( lpmaxcollectioncount ) , :: std :: mem :: transmute ( lpcollectdatatimeout ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn TransactNamedPipe < 'a , > ( hnamedpipe : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , lpinbuffer : * mut :: std :: ffi :: c_void , ninbuffersize : u32 , lpoutbuffer : * mut :: std :: ffi :: c_void , noutbuffersize : u32 , lpbytesread : * mut u32 , lpoverlapped : * mut super::SystemServices:: OVERLAPPED , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn TransactNamedPipe ( hnamedpipe : super::super::Foundation:: HANDLE , lpinbuffer : * mut :: std :: ffi :: c_void , ninbuffersize : u32 , lpoutbuffer : * mut :: std :: ffi :: c_void , noutbuffersize : u32 , lpbytesread : * mut u32 , lpoverlapped : * mut super::SystemServices:: OVERLAPPED ) -> super::super::Foundation:: BOOL ; } TransactNamedPipe ( hnamedpipe . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpinbuffer ) , :: std :: mem :: transmute ( ninbuffersize ) , :: std :: mem :: transmute ( lpoutbuffer ) , :: std :: mem :: transmute ( noutbuffersize ) , :: std :: mem :: transmute ( lpbytesread ) , :: std :: mem :: transmute ( lpoverlapped ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct WAIT_NAMED_PIPE_TIME_OUT_FLAGS ( pub u32 ) ; pub const NMPWAIT_USE_DEFAULT_WAIT : WAIT_NAMED_PIPE_TIME_OUT_FLAGS = WAIT_NAMED_PIPE_TIME_OUT_FLAGS ( 0u32 ) ; pub const NMPWAIT_WAIT_FOREVER : WAIT_NAMED_PIPE_TIME_OUT_FLAGS = WAIT_NAMED_PIPE_TIME_OUT_FLAGS ( 4294967295u32 ) ; impl :: std :: convert :: From < u32 > for WAIT_NAMED_PIPE_TIME_OUT_FLAGS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for WAIT_NAMED_PIPE_TIME_OUT_FLAGS { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for WAIT_NAMED_PIPE_TIME_OUT_FLAGS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for WAIT_NAMED_PIPE_TIME_OUT_FLAGS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for WAIT_NAMED_PIPE_TIME_OUT_FLAGS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for WAIT_NAMED_PIPE_TIME_OUT_FLAGS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub unsafe fn WaitNamedPipeA < 'a , > ( lpnamedpipename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , ntimeout : WAIT_NAMED_PIPE_TIME_OUT_FLAGS , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn WaitNamedPipeA ( lpnamedpipename : super::super::Foundation:: PSTR , ntimeout : WAIT_NAMED_PIPE_TIME_OUT_FLAGS ) -> super::super::Foundation:: BOOL ; } WaitNamedPipeA ( lpnamedpipename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ntimeout ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn WaitNamedPipeW < 'a , > ( lpnamedpipename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , ntimeout : WAIT_NAMED_PIPE_TIME_OUT_FLAGS , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn WaitNamedPipeW ( lpnamedpipename : super::super::Foundation:: PWSTR , ntimeout : WAIT_NAMED_PIPE_TIME_OUT_FLAGS ) -> super::super::Foundation:: BOOL ; } WaitNamedPipeW ( lpnamedpipename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ntimeout ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } } # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod Power { # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct POWER_SETTING_REGISTER_NOTIFICATION_FLAGS ( pub u32 ) ; pub const DEVICE_NOTIFY_SERVICE_HANDLE : POWER_SETTING_REGISTER_NOTIFICATION_FLAGS = POWER_SETTING_REGISTER_NOTIFICATION_FLAGS ( 1u32 ) ; pub const DEVICE_NOTIFY_CALLBACK : POWER_SETTING_REGISTER_NOTIFICATION_FLAGS = POWER_SETTING_REGISTER_NOTIFICATION_FLAGS ( 2u32 ) ; pub const DEVICE_NOTIFY_WINDOW_HANDLE : POWER_SETTING_REGISTER_NOTIFICATION_FLAGS = POWER_SETTING_REGISTER_NOTIFICATION_FLAGS ( 0u32 ) ; impl :: std :: convert :: From < u32 > for POWER_SETTING_REGISTER_NOTIFICATION_FLAGS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for POWER_SETTING_REGISTER_NOTIFICATION_FLAGS { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for POWER_SETTING_REGISTER_NOTIFICATION_FLAGS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for POWER_SETTING_REGISTER_NOTIFICATION_FLAGS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for POWER_SETTING_REGISTER_NOTIFICATION_FLAGS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for POWER_SETTING_REGISTER_NOTIFICATION_FLAGS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct SYSTEM_POWER_CONDITION ( pub i32 ) ; pub const PoAc : SYSTEM_POWER_CONDITION = SYSTEM_POWER_CONDITION ( 0i32 ) ; pub const PoDc : SYSTEM_POWER_CONDITION = SYSTEM_POWER_CONDITION ( 1i32 ) ; pub const PoHot : SYSTEM_POWER_CONDITION = SYSTEM_POWER_CONDITION ( 2i32 ) ; pub const PoConditionMaximum : SYSTEM_POWER_CONDITION = SYSTEM_POWER_CONDITION ( 3i32 ) ; impl :: std :: convert :: From < i32 > for SYSTEM_POWER_CONDITION { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for SYSTEM_POWER_CONDITION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct SYSTEM_POWER_STATE ( pub i32 ) ; pub const PowerSystemUnspecified : SYSTEM_POWER_STATE = SYSTEM_POWER_STATE ( 0i32 ) ; pub const PowerSystemWorking : SYSTEM_POWER_STATE = SYSTEM_POWER_STATE ( 1i32 ) ; pub const PowerSystemSleeping1 : SYSTEM_POWER_STATE = SYSTEM_POWER_STATE ( 2i32 ) ; pub const PowerSystemSleeping2 : SYSTEM_POWER_STATE = SYSTEM_POWER_STATE ( 3i32 ) ; pub const PowerSystemSleeping3 : SYSTEM_POWER_STATE = SYSTEM_POWER_STATE ( 4i32 ) ; pub const PowerSystemHibernate : SYSTEM_POWER_STATE = SYSTEM_POWER_STATE ( 5i32 ) ; pub const PowerSystemShutdown : SYSTEM_POWER_STATE = SYSTEM_POWER_STATE ( 6i32 ) ; pub const PowerSystemMaximum : SYSTEM_POWER_STATE = SYSTEM_POWER_STATE ( 7i32 ) ; impl :: std :: convert :: From < i32 > for SYSTEM_POWER_STATE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for SYSTEM_POWER_STATE { type Abi = Self ; type DefaultType = Self ; } } # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod PropertiesSystem { # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PROPERTYKEY { pub fmtid : :: windows :: Guid , pub pid : u32 } impl PROPERTYKEY { } impl :: std :: default :: Default for PROPERTYKEY { fn default ( ) -> Self { Self { fmtid : :: std :: default :: Default :: default ( ) , pid : 0 } } } impl :: std :: fmt :: Debug for PROPERTYKEY { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "PROPERTYKEY" ) . field ( "fmtid" , & self . fmtid ) . field ( "pid" , & self . pid ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PROPERTYKEY { fn eq ( & self , other : & Self ) -> bool { self . fmtid == other . fmtid && self . pid == other . pid } } impl :: std :: cmp :: Eq for PROPERTYKEY { } unsafe impl :: windows :: Abi for PROPERTYKEY { type Abi = Self ; type DefaultType = Self ; } } # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod Rpc { # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct RPC_BINDING_VECTOR { pub Count : u32 , pub BindingH : [ * mut :: std :: ffi :: c_void ;1 ] } impl RPC_BINDING_VECTOR { } impl :: std :: default :: Default for RPC_BINDING_VECTOR { fn default ( ) -> Self { Self { Count : 0 , BindingH : [ :: std :: ptr :: null_mut ( ) ;1 ] } } } impl :: std :: fmt :: Debug for RPC_BINDING_VECTOR { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "RPC_BINDING_VECTOR" ) . field ( "Count" , & self . Count ) . field ( "BindingH" , & self . BindingH ) . finish ( ) } } impl :: std :: cmp :: PartialEq for RPC_BINDING_VECTOR { fn eq ( & self , other : & Self ) -> bool { self . Count == other . Count && self . BindingH == other . BindingH } } impl :: std :: cmp :: Eq for RPC_BINDING_VECTOR { } unsafe impl :: windows :: Abi for RPC_BINDING_VECTOR { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct RPC_MESSAGE { pub Handle : * mut :: std :: ffi :: c_void , pub DataRepresentation : u32 , pub Buffer : * mut :: std :: ffi :: c_void , pub BufferLength : u32 , pub ProcNum : u32 , pub TransferSyntax : * mut RPC_SYNTAX_IDENTIFIER , pub RpcInterfaceInformation : * mut :: std :: ffi :: c_void , pub ReservedForRuntime : * mut :: std :: ffi :: c_void , pub ManagerEpv : * mut :: std :: ffi :: c_void , pub ImportContext : * mut :: std :: ffi :: c_void , pub RpcFlags : u32 } impl RPC_MESSAGE { } impl :: std :: default :: Default for RPC_MESSAGE { fn default ( ) -> Self { Self { Handle : :: std :: ptr :: null_mut ( ) , DataRepresentation : 0 , Buffer : :: std :: ptr :: null_mut ( ) , BufferLength : 0 , ProcNum : 0 , TransferSyntax : :: std :: ptr :: null_mut ( ) , RpcInterfaceInformation : :: std :: ptr :: null_mut ( ) , ReservedForRuntime : :: std :: ptr :: null_mut ( ) , ManagerEpv : :: std :: ptr :: null_mut ( ) , ImportContext : :: std :: ptr :: null_mut ( ) , RpcFlags : 0 } } } impl :: std :: fmt :: Debug for RPC_MESSAGE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "RPC_MESSAGE" ) . field ( "Handle" , & self . Handle ) . field ( "DataRepresentation" , & self . DataRepresentation ) . field ( "Buffer" , & self . Buffer ) . field ( "BufferLength" , & self . BufferLength ) . field ( "ProcNum" , & self . ProcNum ) . field ( "TransferSyntax" , & self . TransferSyntax ) . field ( "RpcInterfaceInformation" , & self . RpcInterfaceInformation ) . field ( "ReservedForRuntime" , & self . ReservedForRuntime ) . field ( "ManagerEpv" , & self . ManagerEpv ) . field ( "ImportContext" , & self . ImportContext ) . field ( "RpcFlags" , & self . RpcFlags ) . finish ( ) } } impl :: std :: cmp :: PartialEq for RPC_MESSAGE { fn eq ( & self , other : & Self ) -> bool { self . Handle == other . Handle && self . DataRepresentation == other . DataRepresentation && self . Buffer == other . Buffer && self . BufferLength == other . BufferLength && self . ProcNum == other . ProcNum && self . TransferSyntax == other . TransferSyntax && self . RpcInterfaceInformation == other . RpcInterfaceInformation && self . ReservedForRuntime == other . ReservedForRuntime && self . ManagerEpv == other . ManagerEpv && self . ImportContext == other . ImportContext && self . RpcFlags == other . RpcFlags } } impl :: std :: cmp :: Eq for RPC_MESSAGE { } unsafe impl :: windows :: Abi for RPC_MESSAGE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct RPC_STATUS ( pub i32 ) ; impl :: std :: convert :: From < i32 > for RPC_STATUS { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for RPC_STATUS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct RPC_SYNTAX_IDENTIFIER { pub SyntaxGUID : :: windows :: Guid , pub SyntaxVersion : RPC_VERSION } impl RPC_SYNTAX_IDENTIFIER { } impl :: std :: default :: Default for RPC_SYNTAX_IDENTIFIER { fn default ( ) -> Self { Self { SyntaxGUID : :: std :: default :: Default :: default ( ) , SyntaxVersion : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for RPC_SYNTAX_IDENTIFIER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "RPC_SYNTAX_IDENTIFIER" ) . field ( "SyntaxGUID" , & self . SyntaxGUID ) . field ( "SyntaxVersion" , & self . SyntaxVersion ) . finish ( ) } } impl :: std :: cmp :: PartialEq for RPC_SYNTAX_IDENTIFIER { fn eq ( & self , other : & Self ) -> bool { self . SyntaxGUID == other . SyntaxGUID && self . SyntaxVersion == other . SyntaxVersion } } impl :: std :: cmp :: Eq for RPC_SYNTAX_IDENTIFIER { } unsafe impl :: windows :: Abi for RPC_SYNTAX_IDENTIFIER { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct RPC_VERSION { pub MajorVersion : u16 , pub MinorVersion : u16 } impl RPC_VERSION { } impl :: std :: default :: Default for RPC_VERSION { fn default ( ) -> Self { Self { MajorVersion : 0 , MinorVersion : 0 } } } impl :: std :: fmt :: Debug for RPC_VERSION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "RPC_VERSION" ) . field ( "MajorVersion" , & self . MajorVersion ) . field ( "MinorVersion" , & self . MinorVersion ) . finish ( ) } } impl :: std :: cmp :: PartialEq for RPC_VERSION { fn eq ( & self , other : & Self ) -> bool { self . MajorVersion == other . MajorVersion && self . MinorVersion == other . MinorVersion } } impl :: std :: cmp :: Eq for RPC_VERSION { } unsafe impl :: windows :: Abi for RPC_VERSION { type Abi = Self ; type DefaultType = Self ; } } # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod SystemInformation { # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct LOGICAL_PROCESSOR_RELATIONSHIP ( pub i32 ) ; pub const RelationProcessorCore : LOGICAL_PROCESSOR_RELATIONSHIP = LOGICAL_PROCESSOR_RELATIONSHIP ( 0i32 ) ; pub const RelationNumaNode : LOGICAL_PROCESSOR_RELATIONSHIP = LOGICAL_PROCESSOR_RELATIONSHIP ( 1i32 ) ; pub const RelationCache : LOGICAL_PROCESSOR_RELATIONSHIP = LOGICAL_PROCESSOR_RELATIONSHIP ( 2i32 ) ; pub const RelationProcessorPackage : LOGICAL_PROCESSOR_RELATIONSHIP = LOGICAL_PROCESSOR_RELATIONSHIP ( 3i32 ) ; pub const RelationGroup : LOGICAL_PROCESSOR_RELATIONSHIP = LOGICAL_PROCESSOR_RELATIONSHIP ( 4i32 ) ; pub const RelationAll : LOGICAL_PROCESSOR_RELATIONSHIP = LOGICAL_PROCESSOR_RELATIONSHIP ( 65535i32 ) ; impl :: std :: convert :: From < i32 > for LOGICAL_PROCESSOR_RELATIONSHIP { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for LOGICAL_PROCESSOR_RELATIONSHIP { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct OSVERSIONINFOEXW { pub dwOSVersionInfoSize : u32 , pub dwMajorVersion : u32 , pub dwMinorVersion : u32 , pub dwBuildNumber : u32 , pub dwPlatformId : u32 , pub szCSDVersion : [ u16 ;128 ] , pub wServicePackMajor : u16 , pub wServicePackMinor : u16 , pub wSuiteMask : u16 , pub wProductType : u8 , pub wReserved : u8 } impl OSVERSIONINFOEXW { } impl :: std :: default :: Default for OSVERSIONINFOEXW { fn default ( ) -> Self { Self { dwOSVersionInfoSize : 0 , dwMajorVersion : 0 , dwMinorVersion : 0 , dwBuildNumber : 0 , dwPlatformId : 0 , szCSDVersion : [ 0 ;128 ] , wServicePackMajor : 0 , wServicePackMinor : 0 , wSuiteMask : 0 , wProductType : 0 , wReserved : 0 } } } impl :: std :: fmt :: Debug for OSVERSIONINFOEXW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "OSVERSIONINFOEXW" ) . field ( "dwOSVersionInfoSize" , & self . dwOSVersionInfoSize ) . field ( "dwMajorVersion" , & self . dwMajorVersion ) . field ( "dwMinorVersion" , & self . dwMinorVersion ) . field ( "dwBuildNumber" , & self . dwBuildNumber ) . field ( "dwPlatformId" , & self . dwPlatformId ) . field ( "szCSDVersion" , & self . szCSDVersion ) . field ( "wServicePackMajor" , & self . wServicePackMajor ) . field ( "wServicePackMinor" , & self . wServicePackMinor ) . field ( "wSuiteMask" , & self . wSuiteMask ) . field ( "wProductType" , & self . wProductType ) . field ( "wReserved" , & self . wReserved ) . finish ( ) } } impl :: std :: cmp :: PartialEq for OSVERSIONINFOEXW { fn eq ( & self , other : & Self ) -> bool { self . dwOSVersionInfoSize == other . dwOSVersionInfoSize && self . dwMajorVersion == other . dwMajorVersion && self . dwMinorVersion == other . dwMinorVersion && self . dwBuildNumber == other . dwBuildNumber && self . dwPlatformId == other . dwPlatformId && self . szCSDVersion == other . szCSDVersion && self . wServicePackMajor == other . wServicePackMajor && self . wServicePackMinor == other . wServicePackMinor && self . wSuiteMask == other . wSuiteMask && self . wProductType == other . wProductType && self . wReserved == other . wReserved } } impl :: std :: cmp :: Eq for OSVERSIONINFOEXW { } unsafe impl :: windows :: Abi for OSVERSIONINFOEXW { type Abi = Self ; type DefaultType = Self ; } } # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod SystemServices { pub const ACCESS_ALLOWED_ACE_TYPE : u32 = 0u32 ; pub const ACCESS_ALLOWED_CALLBACK_ACE_TYPE : u32 = 9u32 ; pub const ACCESS_ALLOWED_CALLBACK_OBJECT_ACE_TYPE : u32 = 11u32 ; pub const ACCESS_ALLOWED_COMPOUND_ACE_TYPE : u32 = 4u32 ; pub const ACCESS_ALLOWED_OBJECT_ACE_TYPE : u32 = 5u32 ; pub const ACCESS_DENIED_ACE_TYPE : u32 = 1u32 ; pub const ACCESS_DENIED_CALLBACK_ACE_TYPE : u32 = 10u32 ; pub const ACCESS_DENIED_CALLBACK_OBJECT_ACE_TYPE : u32 = 12u32 ; pub const ACCESS_DENIED_OBJECT_ACE_TYPE : u32 = 6u32 ; pub const ACCESS_FILTER_SECURITY_INFORMATION : i32 = 256i32 ; pub const ACCESS_MAX_LEVEL : u32 = 4u32 ; pub const ACCESS_MAX_MS_ACE_TYPE : u32 = 8u32 ; pub const ACCESS_MAX_MS_OBJECT_ACE_TYPE : u32 = 8u32 ; pub const ACCESS_MAX_MS_V2_ACE_TYPE : u32 = 3u32 ; pub const ACCESS_MAX_MS_V3_ACE_TYPE : u32 = 4u32 ; pub const ACCESS_MAX_MS_V4_ACE_TYPE : u32 = 8u32 ; pub const ACCESS_MAX_MS_V5_ACE_TYPE : u32 = 21u32 ; pub const ACCESS_MIN_MS_ACE_TYPE : u32 = 0u32 ; pub const ACCESS_MIN_MS_OBJECT_ACE_TYPE : u32 = 5u32 ; pub const ACCESS_OBJECT_GUID : u32 = 0u32 ; pub const ACCESS_PROPERTY_GUID : u32 = 2u32 ; pub const ACCESS_PROPERTY_SET_GUID : u32 = 1u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct ACCESS_REASONS { pub Data : [ u32 ;32 ] } impl ACCESS_REASONS { } impl :: std :: default :: Default for ACCESS_REASONS { fn default ( ) -> Self { Self { Data : [ 0 ;32 ] } } } impl :: std :: fmt :: Debug for ACCESS_REASONS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "ACCESS_REASONS" ) . field ( "Data" , & self . Data ) . finish ( ) } } impl :: std :: cmp :: PartialEq for ACCESS_REASONS { fn eq ( & self , other : & Self ) -> bool { self . Data == other . Data } } impl :: std :: cmp :: Eq for ACCESS_REASONS { } unsafe impl :: windows :: Abi for ACCESS_REASONS { type Abi = Self ; type DefaultType = Self ; } pub const ACCESS_REASON_DATA_MASK : u32 = 65535u32 ; pub const ACCESS_REASON_EXDATA_MASK : u32 = 2130706432u32 ; pub const ACCESS_REASON_STAGING_MASK : u32 = 2147483648u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct ACCESS_REASON_TYPE ( pub i32 ) ; pub const AccessReasonNone : ACCESS_REASON_TYPE = ACCESS_REASON_TYPE ( 0i32 ) ; pub const AccessReasonAllowedAce : ACCESS_REASON_TYPE = ACCESS_REASON_TYPE ( 65536i32 ) ; pub const AccessReasonDeniedAce : ACCESS_REASON_TYPE = ACCESS_REASON_TYPE ( 131072i32 ) ; pub const AccessReasonAllowedParentAce : ACCESS_REASON_TYPE = ACCESS_REASON_TYPE ( 196608i32 ) ; pub const AccessReasonDeniedParentAce : ACCESS_REASON_TYPE = ACCESS_REASON_TYPE ( 262144i32 ) ; pub const AccessReasonNotGrantedByCape : ACCESS_REASON_TYPE = ACCESS_REASON_TYPE ( 327680i32 ) ; pub const AccessReasonNotGrantedByParentCape : ACCESS_REASON_TYPE = ACCESS_REASON_TYPE ( 393216i32 ) ; pub const AccessReasonNotGrantedToAppContainer : ACCESS_REASON_TYPE = ACCESS_REASON_TYPE ( 458752i32 ) ; pub const AccessReasonMissingPrivilege : ACCESS_REASON_TYPE = ACCESS_REASON_TYPE ( 1048576i32 ) ; pub const AccessReasonFromPrivilege : ACCESS_REASON_TYPE = ACCESS_REASON_TYPE ( 2097152i32 ) ; pub const AccessReasonIntegrityLevel : ACCESS_REASON_TYPE = ACCESS_REASON_TYPE ( 3145728i32 ) ; pub const AccessReasonOwnership : ACCESS_REASON_TYPE = ACCESS_REASON_TYPE ( 4194304i32 ) ; pub const AccessReasonNullDacl : ACCESS_REASON_TYPE = ACCESS_REASON_TYPE ( 5242880i32 ) ; pub const AccessReasonEmptyDacl : ACCESS_REASON_TYPE = ACCESS_REASON_TYPE ( 6291456i32 ) ; pub const AccessReasonNoSD : ACCESS_REASON_TYPE = ACCESS_REASON_TYPE ( 7340032i32 ) ; pub const AccessReasonNoGrant : ACCESS_REASON_TYPE = ACCESS_REASON_TYPE ( 8388608i32 ) ; pub const AccessReasonTrustLabel : ACCESS_REASON_TYPE = ACCESS_REASON_TYPE ( 9437184i32 ) ; pub const AccessReasonFilterAce : ACCESS_REASON_TYPE = ACCESS_REASON_TYPE ( 10485760i32 ) ; impl :: std :: convert :: From < i32 > for ACCESS_REASON_TYPE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for ACCESS_REASON_TYPE { type Abi = Self ; type DefaultType = Self ; } pub const ACCESS_REASON_TYPE_MASK : u32 = 16711680u32 ; pub const ACCESS_SYSTEM_SECURITY : u32 = 16777216u32 ; pub const ACL_REVISION1 : u32 = 1u32 ; pub const ACL_REVISION2 : u32 = 2u32 ; pub const ACL_REVISION3 : u32 = 3u32 ; pub const ACL_REVISION4 : u32 = 4u32 ; pub const ACPI_PPM_HARDWARE_ALL : u32 = 254u32 ; pub const ACPI_PPM_SOFTWARE_ALL : u32 = 252u32 ; pub const ACPI_PPM_SOFTWARE_ANY : u32 = 253u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct ACTIVATION_CONTEXT_INFO_CLASS ( pub i32 ) ; pub const ActivationContextBasicInformation : ACTIVATION_CONTEXT_INFO_CLASS = ACTIVATION_CONTEXT_INFO_CLASS ( 1i32 ) ; pub const ActivationContextDetailedInformation : ACTIVATION_CONTEXT_INFO_CLASS = ACTIVATION_CONTEXT_INFO_CLASS ( 2i32 ) ; pub const AssemblyDetailedInformationInActivationContext : ACTIVATION_CONTEXT_INFO_CLASS = ACTIVATION_CONTEXT_INFO_CLASS ( 3i32 ) ; pub const FileInformationInAssemblyOfAssemblyInActivationContext : ACTIVATION_CONTEXT_INFO_CLASS = ACTIVATION_CONTEXT_INFO_CLASS ( 4i32 ) ; pub const RunlevelInformationInActivationContext : ACTIVATION_CONTEXT_INFO_CLASS = ACTIVATION_CONTEXT_INFO_CLASS ( 5i32 ) ; pub const CompatibilityInformationInActivationContext : ACTIVATION_CONTEXT_INFO_CLASS = ACTIVATION_CONTEXT_INFO_CLASS ( 6i32 ) ; pub const ActivationContextManifestResourceName : ACTIVATION_CONTEXT_INFO_CLASS = ACTIVATION_CONTEXT_INFO_CLASS ( 7i32 ) ; pub const MaxActivationContextInfoClass : ACTIVATION_CONTEXT_INFO_CLASS = ACTIVATION_CONTEXT_INFO_CLASS ( 8i32 ) ; pub const AssemblyDetailedInformationInActivationContxt : ACTIVATION_CONTEXT_INFO_CLASS = ACTIVATION_CONTEXT_INFO_CLASS ( 3i32 ) ; pub const FileInformationInAssemblyOfAssemblyInActivationContxt : ACTIVATION_CONTEXT_INFO_CLASS = ACTIVATION_CONTEXT_INFO_CLASS ( 4i32 ) ; impl :: std :: convert :: From < i32 > for ACTIVATION_CONTEXT_INFO_CLASS { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for ACTIVATION_CONTEXT_INFO_CLASS { type Abi = Self ; type DefaultType = Self ; } pub const ACTIVATION_CONTEXT_PATH_TYPE_ASSEMBLYREF : u32 = 4u32 ; pub const ACTIVATION_CONTEXT_PATH_TYPE_NONE : u32 = 1u32 ; pub const ACTIVATION_CONTEXT_PATH_TYPE_URL : u32 = 3u32 ; pub const ACTIVATION_CONTEXT_PATH_TYPE_WIN32_FILE : u32 = 2u32 ; pub const ACTIVATION_CONTEXT_SECTION_APPLICATION_SETTINGS : u32 = 10u32 ; pub const ACTIVATION_CONTEXT_SECTION_ASSEMBLY_INFORMATION : u32 = 1u32 ; pub const ACTIVATION_CONTEXT_SECTION_CLR_SURROGATES : u32 = 9u32 ; pub const ACTIVATION_CONTEXT_SECTION_COMPATIBILITY_INFO : u32 = 11u32 ; pub const ACTIVATION_CONTEXT_SECTION_COM_INTERFACE_REDIRECTION : u32 = 5u32 ; pub const ACTIVATION_CONTEXT_SECTION_COM_PROGID_REDIRECTION : u32 = 7u32 ; pub const ACTIVATION_CONTEXT_SECTION_COM_SERVER_REDIRECTION : u32 = 4u32 ; pub const ACTIVATION_CONTEXT_SECTION_COM_TYPE_LIBRARY_REDIRECTION : u32 = 6u32 ; pub const ACTIVATION_CONTEXT_SECTION_DLL_REDIRECTION : u32 = 2u32 ; pub const ACTIVATION_CONTEXT_SECTION_GLOBAL_OBJECT_RENAME_TABLE : u32 = 8u32 ; pub const ACTIVATION_CONTEXT_SECTION_WINDOW_CLASS_REDIRECTION : u32 = 3u32 ; pub const ACTIVATION_CONTEXT_SECTION_WINRT_ACTIVATABLE_CLASSES : u32 = 12u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct ALERT_SYSTEM_SEV ( pub u32 ) ; pub const ALERT_SYSTEM_INFORMATIONAL : ALERT_SYSTEM_SEV = ALERT_SYSTEM_SEV ( 1u32 ) ; pub const ALERT_SYSTEM_WARNING : ALERT_SYSTEM_SEV = ALERT_SYSTEM_SEV ( 2u32 ) ; pub const ALERT_SYSTEM_ERROR : ALERT_SYSTEM_SEV = ALERT_SYSTEM_SEV ( 3u32 ) ; pub const ALERT_SYSTEM_QUERY : ALERT_SYSTEM_SEV = ALERT_SYSTEM_SEV ( 4u32 ) ; pub const ALERT_SYSTEM_CRITICAL : ALERT_SYSTEM_SEV = ALERT_SYSTEM_SEV ( 5u32 ) ; impl :: std :: convert :: From < u32 > for ALERT_SYSTEM_SEV { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for ALERT_SYSTEM_SEV { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for ALERT_SYSTEM_SEV { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for ALERT_SYSTEM_SEV { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for ALERT_SYSTEM_SEV { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for ALERT_SYSTEM_SEV { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub const ALL_POWERSCHEMES_GUID : :: windows :: Guid = :: windows :: Guid :: from_values ( 1755441502 ,5098 ,16865 , [ 128 ,17 ,12 ,73 ,108 ,164 ,144 ,176 ] , ) ; pub const ALL_PROCESSOR_GROUPS : u32 = 65535u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct ANON_OBJECT_HEADER { pub Sig1 : u16 , pub Sig2 : u16 , pub Version : u16 , pub Machine : u16 , pub TimeDateStamp : u32 , pub ClassID : :: windows :: Guid , pub SizeOfData : u32 } impl ANON_OBJECT_HEADER { } impl :: std :: default :: Default for ANON_OBJECT_HEADER { fn default ( ) -> Self { Self { Sig1 : 0 , Sig2 : 0 , Version : 0 , Machine : 0 , TimeDateStamp : 0 , ClassID : :: std :: default :: Default :: default ( ) , SizeOfData : 0 } } } impl :: std :: fmt :: Debug for ANON_OBJECT_HEADER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "ANON_OBJECT_HEADER" ) . field ( "Sig1" , & self . Sig1 ) . field ( "Sig2" , & self . Sig2 ) . field ( "Version" , & self . Version ) . field ( "Machine" , & self . Machine ) . field ( "TimeDateStamp" , & self . TimeDateStamp ) . field ( "ClassID" , & self . ClassID ) . field ( "SizeOfData" , & self . SizeOfData ) . finish ( ) } } impl :: std :: cmp :: PartialEq for ANON_OBJECT_HEADER { fn eq ( & self , other : & Self ) -> bool { self . Sig1 == other . Sig1 && self . Sig2 == other . Sig2 && self . Version == other . Version && self . Machine == other . Machine && self . TimeDateStamp == other . TimeDateStamp && self . ClassID == other . ClassID && self . SizeOfData == other . SizeOfData } } impl :: std :: cmp :: Eq for ANON_OBJECT_HEADER { } unsafe impl :: windows :: Abi for ANON_OBJECT_HEADER { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct ANON_OBJECT_HEADER_BIGOBJ { pub Sig1 : u16 , pub Sig2 : u16 , pub Version : u16 , pub Machine : u16 , pub TimeDateStamp : u32 , pub ClassID : :: windows :: Guid , pub SizeOfData : u32 , pub Flags : u32 , pub MetaDataSize : u32 , pub MetaDataOffset : u32 , pub NumberOfSections : u32 , pub PointerToSymbolTable : u32 , pub NumberOfSymbols : u32 } impl ANON_OBJECT_HEADER_BIGOBJ { } impl :: std :: default :: Default for ANON_OBJECT_HEADER_BIGOBJ { fn default ( ) -> Self { Self { Sig1 : 0 , Sig2 : 0 , Version : 0 , Machine : 0 , TimeDateStamp : 0 , ClassID : :: std :: default :: Default :: default ( ) , SizeOfData : 0 , Flags : 0 , MetaDataSize : 0 , MetaDataOffset : 0 , NumberOfSections : 0 , PointerToSymbolTable : 0 , NumberOfSymbols : 0 } } } impl :: std :: fmt :: Debug for ANON_OBJECT_HEADER_BIGOBJ { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "ANON_OBJECT_HEADER_BIGOBJ" ) . field ( "Sig1" , & self . Sig1 ) . field ( "Sig2" , & self . Sig2 ) . field ( "Version" , & self . Version ) . field ( "Machine" , & self . Machine ) . field ( "TimeDateStamp" , & self . TimeDateStamp ) . field ( "ClassID" , & self . ClassID ) . field ( "SizeOfData" , & self . SizeOfData ) . field ( "Flags" , & self . Flags ) . field ( "MetaDataSize" , & self . MetaDataSize ) . field ( "MetaDataOffset" , & self . MetaDataOffset ) . field ( "NumberOfSections" , & self . NumberOfSections ) . field ( "PointerToSymbolTable" , & self . PointerToSymbolTable ) . field ( "NumberOfSymbols" , & self . NumberOfSymbols ) . finish ( ) } } impl :: std :: cmp :: PartialEq for ANON_OBJECT_HEADER_BIGOBJ { fn eq ( & self , other : & Self ) -> bool { self . Sig1 == other . Sig1 && self . Sig2 == other . Sig2 && self . Version == other . Version && self . Machine == other . Machine && self . TimeDateStamp == other . TimeDateStamp && self . ClassID == other . ClassID && self . SizeOfData == other . SizeOfData && self . Flags == other . Flags && self . MetaDataSize == other . MetaDataSize && self . MetaDataOffset == other . MetaDataOffset && self . NumberOfSections == other . NumberOfSections && self . PointerToSymbolTable == other . PointerToSymbolTable && self . NumberOfSymbols == other . NumberOfSymbols } } impl :: std :: cmp :: Eq for ANON_OBJECT_HEADER_BIGOBJ { } unsafe impl :: windows :: Abi for ANON_OBJECT_HEADER_BIGOBJ { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct ANON_OBJECT_HEADER_V2 { pub Sig1 : u16 , pub Sig2 : u16 , pub Version : u16 , pub Machine : u16 , pub TimeDateStamp : u32 , pub ClassID : :: windows :: Guid , pub SizeOfData : u32 , pub Flags : u32 , pub MetaDataSize : u32 , pub MetaDataOffset : u32 } impl ANON_OBJECT_HEADER_V2 { } impl :: std :: default :: Default for ANON_OBJECT_HEADER_V2 { fn default ( ) -> Self { Self { Sig1 : 0 , Sig2 : 0 , Version : 0 , Machine : 0 , TimeDateStamp : 0 , ClassID : :: std :: default :: Default :: default ( ) , SizeOfData : 0 , Flags : 0 , MetaDataSize : 0 , MetaDataOffset : 0 } } } impl :: std :: fmt :: Debug for ANON_OBJECT_HEADER_V2 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "ANON_OBJECT_HEADER_V2" ) . field ( "Sig1" , & self . Sig1 ) . field ( "Sig2" , & self . Sig2 ) . field ( "Version" , & self . Version ) . field ( "Machine" , & self . Machine ) . field ( "TimeDateStamp" , & self . TimeDateStamp ) . field ( "ClassID" , & self . ClassID ) . field ( "SizeOfData" , & self . SizeOfData ) . field ( "Flags" , & self . Flags ) . field ( "MetaDataSize" , & self . MetaDataSize ) . field ( "MetaDataOffset" , & self . MetaDataOffset ) . finish ( ) } } impl :: std :: cmp :: PartialEq for ANON_OBJECT_HEADER_V2 { fn eq ( & self , other : & Self ) -> bool { self . Sig1 == other . Sig1 && self . Sig2 == other . Sig2 && self . Version == other . Version && self . Machine == other . Machine && self . TimeDateStamp == other . TimeDateStamp && self . ClassID == other . ClassID && self . SizeOfData == other . SizeOfData && self . Flags == other . Flags && self . MetaDataSize == other . MetaDataSize && self . MetaDataOffset == other . MetaDataOffset } } impl :: std :: cmp :: Eq for ANON_OBJECT_HEADER_V2 { } unsafe impl :: windows :: Abi for ANON_OBJECT_HEADER_V2 { type Abi = Self ; type DefaultType = Self ; } pub const ANYSIZE_ARRAY : u32 = 1u32 ; pub type APC_CALLBACK_FUNCTION = unsafe extern "system" fn ( param0 : u32 , param1 : * mut :: std :: ffi :: c_void , param2 : * mut :: std :: ffi :: c_void ) ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct APPCOMMAND_ID ( pub u32 ) ; pub const APPCOMMAND_BROWSER_BACKWARD : APPCOMMAND_ID = APPCOMMAND_ID ( 1u32 ) ; pub const APPCOMMAND_BROWSER_FORWARD : APPCOMMAND_ID = APPCOMMAND_ID ( 2u32 ) ; pub const APPCOMMAND_BROWSER_REFRESH : APPCOMMAND_ID = APPCOMMAND_ID ( 3u32 ) ; pub const APPCOMMAND_BROWSER_STOP : APPCOMMAND_ID = APPCOMMAND_ID ( 4u32 ) ; pub const APPCOMMAND_BROWSER_SEARCH : APPCOMMAND_ID = APPCOMMAND_ID ( 5u32 ) ; pub const APPCOMMAND_BROWSER_FAVORITES : APPCOMMAND_ID = APPCOMMAND_ID ( 6u32 ) ; pub const APPCOMMAND_BROWSER_HOME : APPCOMMAND_ID = APPCOMMAND_ID ( 7u32 ) ; pub const APPCOMMAND_VOLUME_MUTE : APPCOMMAND_ID = APPCOMMAND_ID ( 8u32 ) ; pub const APPCOMMAND_VOLUME_DOWN : APPCOMMAND_ID = APPCOMMAND_ID ( 9u32 ) ; pub const APPCOMMAND_VOLUME_UP : APPCOMMAND_ID = APPCOMMAND_ID ( 10u32 ) ; pub const APPCOMMAND_MEDIA_NEXTTRACK : APPCOMMAND_ID = APPCOMMAND_ID ( 11u32 ) ; pub const APPCOMMAND_MEDIA_PREVIOUSTRACK : APPCOMMAND_ID = APPCOMMAND_ID ( 12u32 ) ; pub const APPCOMMAND_MEDIA_STOP : APPCOMMAND_ID = APPCOMMAND_ID ( 13u32 ) ; pub const APPCOMMAND_MEDIA_PLAY_PAUSE : APPCOMMAND_ID = APPCOMMAND_ID ( 14u32 ) ; pub const APPCOMMAND_LAUNCH_MAIL : APPCOMMAND_ID = APPCOMMAND_ID ( 15u32 ) ; pub const APPCOMMAND_LAUNCH_MEDIA_SELECT : APPCOMMAND_ID = APPCOMMAND_ID ( 16u32 ) ; pub const APPCOMMAND_LAUNCH_APP1 : APPCOMMAND_ID = APPCOMMAND_ID ( 17u32 ) ; pub const APPCOMMAND_LAUNCH_APP2 : APPCOMMAND_ID = APPCOMMAND_ID ( 18u32 ) ; pub const APPCOMMAND_BASS_DOWN : APPCOMMAND_ID = APPCOMMAND_ID ( 19u32 ) ; pub const APPCOMMAND_BASS_BOOST : APPCOMMAND_ID = APPCOMMAND_ID ( 20u32 ) ; pub const APPCOMMAND_BASS_UP : APPCOMMAND_ID = APPCOMMAND_ID ( 21u32 ) ; pub const APPCOMMAND_TREBLE_DOWN : APPCOMMAND_ID = APPCOMMAND_ID ( 22u32 ) ; pub const APPCOMMAND_TREBLE_UP : APPCOMMAND_ID = APPCOMMAND_ID ( 23u32 ) ; pub const APPCOMMAND_MICROPHONE_VOLUME_MUTE : APPCOMMAND_ID = APPCOMMAND_ID ( 24u32 ) ; pub const APPCOMMAND_MICROPHONE_VOLUME_DOWN : APPCOMMAND_ID = APPCOMMAND_ID ( 25u32 ) ; pub const APPCOMMAND_MICROPHONE_VOLUME_UP : APPCOMMAND_ID = APPCOMMAND_ID ( 26u32 ) ; pub const APPCOMMAND_HELP : APPCOMMAND_ID = APPCOMMAND_ID ( 27u32 ) ; pub const APPCOMMAND_FIND : APPCOMMAND_ID = APPCOMMAND_ID ( 28u32 ) ; pub const APPCOMMAND_NEW : APPCOMMAND_ID = APPCOMMAND_ID ( 29u32 ) ; pub const APPCOMMAND_OPEN : APPCOMMAND_ID = APPCOMMAND_ID ( 30u32 ) ; pub const APPCOMMAND_CLOSE : APPCOMMAND_ID = APPCOMMAND_ID ( 31u32 ) ; pub const APPCOMMAND_SAVE : APPCOMMAND_ID = APPCOMMAND_ID ( 32u32 ) ; pub const APPCOMMAND_PRINT : APPCOMMAND_ID = APPCOMMAND_ID ( 33u32 ) ; pub const APPCOMMAND_UNDO : APPCOMMAND_ID = APPCOMMAND_ID ( 34u32 ) ; pub const APPCOMMAND_REDO : APPCOMMAND_ID = APPCOMMAND_ID ( 35u32 ) ; pub const APPCOMMAND_COPY : APPCOMMAND_ID = APPCOMMAND_ID ( 36u32 ) ; pub const APPCOMMAND_CUT : APPCOMMAND_ID = APPCOMMAND_ID ( 37u32 ) ; pub const APPCOMMAND_PASTE : APPCOMMAND_ID = APPCOMMAND_ID ( 38u32 ) ; pub const APPCOMMAND_REPLY_TO_MAIL : APPCOMMAND_ID = APPCOMMAND_ID ( 39u32 ) ; pub const APPCOMMAND_FORWARD_MAIL : APPCOMMAND_ID = APPCOMMAND_ID ( 40u32 ) ; pub const APPCOMMAND_SEND_MAIL : APPCOMMAND_ID = APPCOMMAND_ID ( 41u32 ) ; pub const APPCOMMAND_SPELL_CHECK : APPCOMMAND_ID = APPCOMMAND_ID ( 42u32 ) ; pub const APPCOMMAND_DICTATE_OR_COMMAND_CONTROL_TOGGLE : APPCOMMAND_ID = APPCOMMAND_ID ( 43u32 ) ; pub const APPCOMMAND_MIC_ON_OFF_TOGGLE : APPCOMMAND_ID = APPCOMMAND_ID ( 44u32 ) ; pub const APPCOMMAND_CORRECTION_LIST : APPCOMMAND_ID = APPCOMMAND_ID ( 45u32 ) ; pub const APPCOMMAND_MEDIA_PLAY : APPCOMMAND_ID = APPCOMMAND_ID ( 46u32 ) ; pub const APPCOMMAND_MEDIA_PAUSE : APPCOMMAND_ID = APPCOMMAND_ID ( 47u32 ) ; pub const APPCOMMAND_MEDIA_RECORD : APPCOMMAND_ID = APPCOMMAND_ID ( 48u32 ) ; pub const APPCOMMAND_MEDIA_FAST_FORWARD : APPCOMMAND_ID = APPCOMMAND_ID ( 49u32 ) ; pub const APPCOMMAND_MEDIA_REWIND : APPCOMMAND_ID = APPCOMMAND_ID ( 50u32 ) ; pub const APPCOMMAND_MEDIA_CHANNEL_UP : APPCOMMAND_ID = APPCOMMAND_ID ( 51u32 ) ; pub const APPCOMMAND_MEDIA_CHANNEL_DOWN : APPCOMMAND_ID = APPCOMMAND_ID ( 52u32 ) ; pub const APPCOMMAND_DELETE : APPCOMMAND_ID = APPCOMMAND_ID ( 53u32 ) ; pub const APPCOMMAND_DWM_FLIP3D : APPCOMMAND_ID = APPCOMMAND_ID ( 54u32 ) ; impl :: std :: convert :: From < u32 > for APPCOMMAND_ID { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for APPCOMMAND_ID { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for APPCOMMAND_ID { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for APPCOMMAND_ID { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for APPCOMMAND_ID { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for APPCOMMAND_ID { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct APPLICATIONLAUNCH_SETTING_VALUE { pub ActivationTime : i64 , pub Flags : u32 , pub ButtonInstanceID : u32 } impl APPLICATIONLAUNCH_SETTING_VALUE { } impl :: std :: default :: Default for APPLICATIONLAUNCH_SETTING_VALUE { fn default ( ) -> Self { Self { ActivationTime : 0 , Flags : 0 , ButtonInstanceID : 0 } } } impl :: std :: fmt :: Debug for APPLICATIONLAUNCH_SETTING_VALUE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "APPLICATIONLAUNCH_SETTING_VALUE" ) . field ( "ActivationTime" , & self . ActivationTime ) . field ( "Flags" , & self . Flags ) . field ( "ButtonInstanceID" , & self . ButtonInstanceID ) . finish ( ) } } impl :: std :: cmp :: PartialEq for APPLICATIONLAUNCH_SETTING_VALUE { fn eq ( & self , other : & Self ) -> bool { self . ActivationTime == other . ActivationTime && self . Flags == other . Flags && self . ButtonInstanceID == other . ButtonInstanceID } } impl :: std :: cmp :: Eq for APPLICATIONLAUNCH_SETTING_VALUE { } unsafe impl :: windows :: Abi for APPLICATIONLAUNCH_SETTING_VALUE { type Abi = Self ; type DefaultType = Self ; } pub const APPLICATION_ERROR_MASK : u32 = 536870912u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct ARM64_FNPDATA_CR ( pub i32 ) ; pub const PdataCrUnchained : ARM64_FNPDATA_CR = ARM64_FNPDATA_CR ( 0i32 ) ; pub const PdataCrUnchainedSavedLr : ARM64_FNPDATA_CR = ARM64_FNPDATA_CR ( 1i32 ) ; pub const PdataCrChained : ARM64_FNPDATA_CR = ARM64_FNPDATA_CR ( 3i32 ) ; impl :: std :: convert :: From < i32 > for ARM64_FNPDATA_CR { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for ARM64_FNPDATA_CR { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct ARM64_FNPDATA_FLAGS ( pub i32 ) ; pub const PdataRefToFullXdata : ARM64_FNPDATA_FLAGS = ARM64_FNPDATA_FLAGS ( 0i32 ) ; pub const PdataPackedUnwindFunction : ARM64_FNPDATA_FLAGS = ARM64_FNPDATA_FLAGS ( 1i32 ) ; pub const PdataPackedUnwindFragment : ARM64_FNPDATA_FLAGS = ARM64_FNPDATA_FLAGS ( 2i32 ) ; impl :: std :: convert :: From < i32 > for ARM64_FNPDATA_FLAGS { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for ARM64_FNPDATA_FLAGS { type Abi = Self ; type DefaultType = Self ; } pub const ARM64_MAX_BREAKPOINTS : u32 = 8u32 ; pub const ARM64_MAX_WATCHPOINTS : u32 = 2u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union ARM64_NT_NEON128 { pub Anonymous : ARM64_NT_NEON128_0 , pub D : [ f64 ;2 ] , pub S : [ f32 ;4 ] , pub H : [ u16 ;8 ] , pub B : [ u8 ;16 ] } impl ARM64_NT_NEON128 { } impl :: std :: cmp :: PartialEq for ARM64_NT_NEON128 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for ARM64_NT_NEON128 { } unsafe impl :: windows :: Abi for ARM64_NT_NEON128 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct ARM64_NT_NEON128_0 { pub Low : u64 , pub High : i64 } impl ARM64_NT_NEON128_0 { } impl :: std :: default :: Default for ARM64_NT_NEON128_0 { fn default ( ) -> Self { Self { Low : 0 , High : 0 } } } impl :: std :: fmt :: Debug for ARM64_NT_NEON128_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Anonymous_e__Struct" ) . field ( "Low" , & self . Low ) . field ( "High" , & self . High ) . finish ( ) } } impl :: std :: cmp :: PartialEq for ARM64_NT_NEON128_0 { fn eq ( & self , other : & Self ) -> bool { self . Low == other . Low && self . High == other . High } } impl :: std :: cmp :: Eq for ARM64_NT_NEON128_0 { } unsafe impl :: windows :: Abi for ARM64_NT_NEON128_0 { type Abi = Self ; type DefaultType = Self ; } pub const ARM_MAX_BREAKPOINTS : u32 = 8u32 ; pub const ARM_MAX_WATCHPOINTS : u32 = 1u32 ; pub const ASSERT_ALTERNATE : u32 = 9u32 ; pub const ASSERT_BREAKPOINT : u32 = 524291u32 ; pub const ASSERT_PRIMARY : u32 = 8u32 ; pub const ATAPI_ID_CMD : u32 = 161u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct ATF_FLAGS ( pub u32 ) ; pub const ATF_TIMEOUTON : ATF_FLAGS = ATF_FLAGS ( 1u32 ) ; pub const ATF_ONOFFFEEDBACK : ATF_FLAGS = ATF_FLAGS ( 2u32 ) ; impl :: std :: convert :: From < u32 > for ATF_FLAGS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for ATF_FLAGS { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for ATF_FLAGS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for ATF_FLAGS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for ATF_FLAGS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for ATF_FLAGS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub const ATTRIBUTE_SECURITY_INFORMATION : i32 = 32i32 ; pub const AUDIT_ALLOW_NO_PRIVILEGE : u32 = 1u32 ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug , :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy ) ] pub struct AtlThunkData_t ( pub u8 ) ; pub const BACKUP_SECURITY_INFORMATION : i32 = 65536i32 ; pub const BATTERY_DISCHARGE_FLAGS_ENABLE : u32 = 2147483648u32 ; pub const BATTERY_DISCHARGE_FLAGS_EVENTCODE_MASK : u32 = 7u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct BIN_COUNT { pub BinRange : BIN_RANGE , pub BinCount : u32 } impl BIN_COUNT { } impl :: std :: default :: Default for BIN_COUNT { fn default ( ) -> Self { Self { BinRange : :: std :: default :: Default :: default ( ) , BinCount : 0 } } } impl :: std :: fmt :: Debug for BIN_COUNT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "BIN_COUNT" ) . field ( "BinRange" , & self . BinRange ) . field ( "BinCount" , & self . BinCount ) . finish ( ) } } impl :: std :: cmp :: PartialEq for BIN_COUNT { fn eq ( & self , other : & Self ) -> bool { self . BinRange == other . BinRange && self . BinCount == other . BinCount } } impl :: std :: cmp :: Eq for BIN_COUNT { } unsafe impl :: windows :: Abi for BIN_COUNT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct BIN_RANGE { pub StartValue : i64 , pub Length : i64 } impl BIN_RANGE { } impl :: std :: default :: Default for BIN_RANGE { fn default ( ) -> Self { Self { StartValue : 0 , Length : 0 } } } impl :: std :: fmt :: Debug for BIN_RANGE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "BIN_RANGE" ) . field ( "StartValue" , & self . StartValue ) . field ( "Length" , & self . Length ) . finish ( ) } } impl :: std :: cmp :: PartialEq for BIN_RANGE { fn eq ( & self , other : & Self ) -> bool { self . StartValue == other . StartValue && self . Length == other . Length } } impl :: std :: cmp :: Eq for BIN_RANGE { } unsafe impl :: windows :: Abi for BIN_RANGE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct BIN_RESULTS { pub NumberOfBins : u32 , pub BinCounts : [ BIN_COUNT ;1 ] } impl BIN_RESULTS { } impl :: std :: default :: Default for BIN_RESULTS { fn default ( ) -> Self { Self { NumberOfBins : 0 , BinCounts : [ :: std :: default :: Default :: default ( ) ;1 ] } } } impl :: std :: fmt :: Debug for BIN_RESULTS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "BIN_RESULTS" ) . field ( "NumberOfBins" , & self . NumberOfBins ) . field ( "BinCounts" , & self . BinCounts ) . finish ( ) } } impl :: std :: cmp :: PartialEq for BIN_RESULTS { fn eq ( & self , other : & Self ) -> bool { self . NumberOfBins == other . NumberOfBins && self . BinCounts == other . BinCounts } } impl :: std :: cmp :: Eq for BIN_RESULTS { } unsafe impl :: windows :: Abi for BIN_RESULTS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct BIN_TYPES ( pub i32 ) ; pub const RequestSize : BIN_TYPES = BIN_TYPES ( 0i32 ) ; pub const RequestLocation : BIN_TYPES = BIN_TYPES ( 1i32 ) ; impl :: std :: convert :: From < i32 > for BIN_TYPES { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for BIN_TYPES { type Abi = Self ; type DefaultType = Self ; } pub const BMF_16BPP : i32 = 4i32 ; pub const BMF_1BPP : i32 = 1i32 ; pub const BMF_24BPP : i32 = 5i32 ; pub const BMF_32BPP : i32 = 6i32 ; pub const BMF_4BPP : i32 = 2i32 ; pub const BMF_4RLE : i32 = 7i32 ; pub const BMF_8BPP : i32 = 3i32 ; pub const BMF_8RLE : i32 = 8i32 ; pub const BMF_ACC_NOTIFY : u32 = 32768u32 ; pub const BMF_DONTCACHE : u32 = 4u32 ; pub const BMF_JPEG : i32 = 9i32 ; pub const BMF_KMSECTION : u32 = 16u32 ; pub const BMF_NOTSYSMEM : u32 = 32u32 ; pub const BMF_NOZEROINIT : u32 = 2u32 ; pub const BMF_PNG : i32 = 10i32 ; pub const BMF_RESERVED : u32 = 15872u32 ; pub const BMF_RMT_ENTER : u32 = 16384u32 ; pub const BMF_TEMP_ALPHA : u32 = 256u32 ; pub const BMF_TOPDOWN : u32 = 1u32 ; pub const BMF_UMPDMEM : u32 = 128u32 ; pub const BMF_USERMEM : u32 = 8u32 ; pub const BMF_WINDOW_BLT : u32 = 64u32 ; pub const BREAK_DEBUG_BASE : u32 = 524288u32 ; pub const BR_CMYKCOLOR : u32 = 4u32 ; pub const BR_DEVICE_ICM : u32 = 1u32 ; pub const BR_HOST_ICM : u32 = 2u32 ; pub const BR_ORIGCOLOR : u32 = 8u32 ; pub const BSF_MSGSRV32ISOK : u32 = 2147483648u32 ; pub const BSF_MSGSRV32ISOK_BIT : u32 = 31u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct BSTRBLOB { pub cbSize : u32 , pub pData : * mut u8 } impl BSTRBLOB { } impl :: std :: default :: Default for BSTRBLOB { fn default ( ) -> Self { Self { cbSize : 0 , pData : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for BSTRBLOB { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "BSTRBLOB" ) . field ( "cbSize" , & self . cbSize ) . field ( "pData" , & self . pData ) . finish ( ) } } impl :: std :: cmp :: PartialEq for BSTRBLOB { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . pData == other . pData } } impl :: std :: cmp :: Eq for BSTRBLOB { } unsafe impl :: windows :: Abi for BSTRBLOB { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct BULK_SECURITY_TEST_DATA { pub DesiredAccess : u32 , pub SecurityIds : [ u32 ;1 ] } impl BULK_SECURITY_TEST_DATA { } impl :: std :: default :: Default for BULK_SECURITY_TEST_DATA { fn default ( ) -> Self { Self { DesiredAccess : 0 , SecurityIds : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for BULK_SECURITY_TEST_DATA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "BULK_SECURITY_TEST_DATA" ) . field ( "DesiredAccess" , & self . DesiredAccess ) . field ( "SecurityIds" , & self . SecurityIds ) . finish ( ) } } impl :: std :: cmp :: PartialEq for BULK_SECURITY_TEST_DATA { fn eq ( & self , other : & Self ) -> bool { self . DesiredAccess == other . DesiredAccess && self . SecurityIds == other . SecurityIds } } impl :: std :: cmp :: Eq for BULK_SECURITY_TEST_DATA { } unsafe impl :: windows :: Abi for BULK_SECURITY_TEST_DATA { type Abi = Self ; type DefaultType = Self ; } pub unsafe fn BindIoCompletionCallback < 'a , > ( filehandle : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , function : :: std :: option :: Option < super::super::Storage::FileSystem:: LPOVERLAPPED_COMPLETION_ROUTINE > , flags : u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn BindIoCompletionCallback ( filehandle : super::super::Foundation:: HANDLE , function : :: windows :: RawPtr , flags : u32 ) -> super::super::Foundation:: BOOL ; } BindIoCompletionCallback ( filehandle . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( function ) , :: std :: mem :: transmute ( flags ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CACHE_DESCRIPTOR { pub Level : u8 , pub Associativity : u8 , pub LineSize : u16 , pub Size : u32 , pub Type : PROCESSOR_CACHE_TYPE } impl CACHE_DESCRIPTOR { } impl :: std :: default :: Default for CACHE_DESCRIPTOR { fn default ( ) -> Self { Self { Level : 0 , Associativity : 0 , LineSize : 0 , Size : 0 , Type : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for CACHE_DESCRIPTOR { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CACHE_DESCRIPTOR" ) . field ( "Level" , & self . Level ) . field ( "Associativity" , & self . Associativity ) . field ( "LineSize" , & self . LineSize ) . field ( "Size" , & self . Size ) . field ( "Type" , & self . Type ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CACHE_DESCRIPTOR { fn eq ( & self , other : & Self ) -> bool { self . Level == other . Level && self . Associativity == other . Associativity && self . LineSize == other . LineSize && self . Size == other . Size && self . Type == other . Type } } impl :: std :: cmp :: Eq for CACHE_DESCRIPTOR { } unsafe impl :: windows :: Abi for CACHE_DESCRIPTOR { type Abi = Self ; type DefaultType = Self ; } pub const CACHE_FULLY_ASSOCIATIVE : u32 = 255u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CACHE_RELATIONSHIP { pub Level : u8 , pub Associativity : u8 , pub LineSize : u16 , pub CacheSize : u32 , pub Type : PROCESSOR_CACHE_TYPE , pub Reserved : [ u8 ;20 ] , pub GroupMask : super::Kernel:: GROUP_AFFINITY } impl CACHE_RELATIONSHIP { } impl :: std :: default :: Default for CACHE_RELATIONSHIP { fn default ( ) -> Self { Self { Level : 0 , Associativity : 0 , LineSize : 0 , CacheSize : 0 , Type : :: std :: default :: Default :: default ( ) , Reserved : [ 0 ;20 ] , GroupMask : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for CACHE_RELATIONSHIP { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CACHE_RELATIONSHIP" ) . field ( "Level" , & self . Level ) . field ( "Associativity" , & self . Associativity ) . field ( "LineSize" , & self . LineSize ) . field ( "CacheSize" , & self . CacheSize ) . field ( "Type" , & self . Type ) . field ( "Reserved" , & self . Reserved ) . field ( "GroupMask" , & self . GroupMask ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CACHE_RELATIONSHIP { fn eq ( & self , other : & Self ) -> bool { self . Level == other . Level && self . Associativity == other . Associativity && self . LineSize == other . LineSize && self . CacheSize == other . CacheSize && self . Type == other . Type && self . Reserved == other . Reserved && self . GroupMask == other . GroupMask } } impl :: std :: cmp :: Eq for CACHE_RELATIONSHIP { } unsafe impl :: windows :: Abi for CACHE_RELATIONSHIP { type Abi = Self ; type DefaultType = Self ; } pub const CAP_ATAPI_ID_CMD : u32 = 2u32 ; pub const CAP_ATA_ID_CMD : u32 = 1u32 ; pub const CAP_SMART_CMD : u32 = 4u32 ; pub const CDBEX_CROSSADAPTER : u32 = 8u32 ; pub const CDBEX_DXINTEROP : u32 = 2u32 ; pub const CDBEX_NTSHAREDSURFACEHANDLE : u32 = 4u32 ; pub const CDBEX_REDIRECTION : u32 = 1u32 ; pub const CDBEX_REUSE : u32 = 16u32 ; pub const CDB_SIZE : u32 = 16u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CDDDXGK_REDIRBITMAPPRESENTINFO { pub NumDirtyRects : u32 , pub DirtyRect : * mut super::super::Foundation:: RECT , pub NumContexts : u32 , pub hContext : [ super::super::Foundation:: HANDLE ;65 ] , pub bDoNotSynchronizeWithDxContent : u8 } impl CDDDXGK_REDIRBITMAPPRESENTINFO { } impl :: std :: default :: Default for CDDDXGK_REDIRBITMAPPRESENTINFO { fn default ( ) -> Self { Self { NumDirtyRects : 0 , DirtyRect : :: std :: ptr :: null_mut ( ) , NumContexts : 0 , hContext : [ :: std :: default :: Default :: default ( ) ;65 ] , bDoNotSynchronizeWithDxContent : 0 } } } impl :: std :: fmt :: Debug for CDDDXGK_REDIRBITMAPPRESENTINFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CDDDXGK_REDIRBITMAPPRESENTINFO" ) . field ( "NumDirtyRects" , & self . NumDirtyRects ) . field ( "DirtyRect" , & self . DirtyRect ) . field ( "NumContexts" , & self . NumContexts ) . field ( "hContext" , & self . hContext ) . field ( "bDoNotSynchronizeWithDxContent" , & self . bDoNotSynchronizeWithDxContent ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CDDDXGK_REDIRBITMAPPRESENTINFO { fn eq ( & self , other : & Self ) -> bool { self . NumDirtyRects == other . NumDirtyRects && self . DirtyRect == other . DirtyRect && self . NumContexts == other . NumContexts && self . hContext == other . hContext && self . bDoNotSynchronizeWithDxContent == other . bDoNotSynchronizeWithDxContent } } impl :: std :: cmp :: Eq for CDDDXGK_REDIRBITMAPPRESENTINFO { } unsafe impl :: windows :: Abi for CDDDXGK_REDIRBITMAPPRESENTINFO { type Abi = Self ; type DefaultType = Self ; } pub const CD_ANY : i32 = 4i32 ; pub const CD_LEFTDOWN : i32 = 1i32 ; pub const CD_LEFTUP : i32 = 3i32 ; pub const CD_LEFTWARDS : i32 = 1i32 ; pub const CD_RIGHTDOWN : i32 = 0i32 ; pub const CD_RIGHTUP : i32 = 2i32 ; pub const CD_UPWARDS : i32 = 2i32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct CERT_VIEWPROPERTIES_STRUCT_FLAGS ( pub u32 ) ; pub const CM_ENABLEHOOK : CERT_VIEWPROPERTIES_STRUCT_FLAGS = CERT_VIEWPROPERTIES_STRUCT_FLAGS ( 1u32 ) ; pub const CM_SHOW_HELP : CERT_VIEWPROPERTIES_STRUCT_FLAGS = CERT_VIEWPROPERTIES_STRUCT_FLAGS ( 2u32 ) ; pub const CM_SHOW_HELPICON : CERT_VIEWPROPERTIES_STRUCT_FLAGS = CERT_VIEWPROPERTIES_STRUCT_FLAGS ( 4u32 ) ; pub const CM_ENABLETEMPLATE : CERT_VIEWPROPERTIES_STRUCT_FLAGS = CERT_VIEWPROPERTIES_STRUCT_FLAGS ( 8u32 ) ; pub const CM_HIDE_ADVANCEPAGE : CERT_VIEWPROPERTIES_STRUCT_FLAGS = CERT_VIEWPROPERTIES_STRUCT_FLAGS ( 16u32 ) ; pub const CM_HIDE_TRUSTPAGE : CERT_VIEWPROPERTIES_STRUCT_FLAGS = CERT_VIEWPROPERTIES_STRUCT_FLAGS ( 32u32 ) ; pub const CM_NO_NAMECHANGE : CERT_VIEWPROPERTIES_STRUCT_FLAGS = CERT_VIEWPROPERTIES_STRUCT_FLAGS ( 64u32 ) ; pub const CM_NO_EDITTRUST : CERT_VIEWPROPERTIES_STRUCT_FLAGS = CERT_VIEWPROPERTIES_STRUCT_FLAGS ( 128u32 ) ; pub const CM_HIDE_DETAILPAGE : CERT_VIEWPROPERTIES_STRUCT_FLAGS = CERT_VIEWPROPERTIES_STRUCT_FLAGS ( 256u32 ) ; pub const CM_ADD_CERT_STORES : CERT_VIEWPROPERTIES_STRUCT_FLAGS = CERT_VIEWPROPERTIES_STRUCT_FLAGS ( 512u32 ) ; impl :: std :: convert :: From < u32 > for CERT_VIEWPROPERTIES_STRUCT_FLAGS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for CERT_VIEWPROPERTIES_STRUCT_FLAGS { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for CERT_VIEWPROPERTIES_STRUCT_FLAGS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for CERT_VIEWPROPERTIES_STRUCT_FLAGS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for CERT_VIEWPROPERTIES_STRUCT_FLAGS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for CERT_VIEWPROPERTIES_STRUCT_FLAGS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct CFE_UNDERLINE ( pub u32 ) ; pub const CFU_CF1UNDERLINE : CFE_UNDERLINE = CFE_UNDERLINE ( 255u32 ) ; pub const CFU_INVERT : CFE_UNDERLINE = CFE_UNDERLINE ( 254u32 ) ; pub const CFU_UNDERLINETHICKLONGDASH : CFE_UNDERLINE = CFE_UNDERLINE ( 18u32 ) ; pub const CFU_UNDERLINETHICKDOTTED : CFE_UNDERLINE = CFE_UNDERLINE ( 17u32 ) ; pub const CFU_UNDERLINETHICKDASHDOTDOT : CFE_UNDERLINE = CFE_UNDERLINE ( 16u32 ) ; pub const CFU_UNDERLINETHICKDASHDOT : CFE_UNDERLINE = CFE_UNDERLINE ( 15u32 ) ; pub const CFU_UNDERLINETHICKDASH : CFE_UNDERLINE = CFE_UNDERLINE ( 14u32 ) ; pub const CFU_UNDERLINELONGDASH : CFE_UNDERLINE = CFE_UNDERLINE ( 13u32 ) ; pub const CFU_UNDERLINEHEAVYWAVE : CFE_UNDERLINE = CFE_UNDERLINE ( 12u32 ) ; pub const CFU_UNDERLINEDOUBLEWAVE : CFE_UNDERLINE = CFE_UNDERLINE ( 11u32 ) ; pub const CFU_UNDERLINEHAIRLINE : CFE_UNDERLINE = CFE_UNDERLINE ( 10u32 ) ; pub const CFU_UNDERLINETHICK : CFE_UNDERLINE = CFE_UNDERLINE ( 9u32 ) ; pub const CFU_UNDERLINEWAVE : CFE_UNDERLINE = CFE_UNDERLINE ( 8u32 ) ; pub const CFU_UNDERLINEDASHDOTDOT : CFE_UNDERLINE = CFE_UNDERLINE ( 7u32 ) ; pub const CFU_UNDERLINEDASHDOT : CFE_UNDERLINE = CFE_UNDERLINE ( 6u32 ) ; pub const CFU_UNDERLINEDASH : CFE_UNDERLINE = CFE_UNDERLINE ( 5u32 ) ; pub const CFU_UNDERLINEDOTTED : CFE_UNDERLINE = CFE_UNDERLINE ( 4u32 ) ; pub const CFU_UNDERLINEDOUBLE : CFE_UNDERLINE = CFE_UNDERLINE ( 3u32 ) ; pub const CFU_UNDERLINEWORD : CFE_UNDERLINE = CFE_UNDERLINE ( 2u32 ) ; pub const CFU_UNDERLINE : CFE_UNDERLINE = CFE_UNDERLINE ( 1u32 ) ; pub const CFU_UNDERLINENONE : CFE_UNDERLINE = CFE_UNDERLINE ( 0u32 ) ; impl :: std :: convert :: From < u32 > for CFE_UNDERLINE { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for CFE_UNDERLINE { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for CFE_UNDERLINE { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for CFE_UNDERLINE { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for CFE_UNDERLINE { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for CFE_UNDERLINE { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub const CFG_CALL_TARGET_CONVERT_EXPORT_SUPPRESSED_TO_VALID : u32 = 4u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CFG_CALL_TARGET_INFO { pub Offset : usize , pub Flags : usize } impl CFG_CALL_TARGET_INFO { } impl :: std :: default :: Default for CFG_CALL_TARGET_INFO { fn default ( ) -> Self { Self { Offset : 0 , Flags : 0 } } } impl :: std :: fmt :: Debug for CFG_CALL_TARGET_INFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CFG_CALL_TARGET_INFO" ) . field ( "Offset" , & self . Offset ) . field ( "Flags" , & self . Flags ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CFG_CALL_TARGET_INFO { fn eq ( & self , other : & Self ) -> bool { self . Offset == other . Offset && self . Flags == other . Flags } } impl :: std :: cmp :: Eq for CFG_CALL_TARGET_INFO { } unsafe impl :: windows :: Abi for CFG_CALL_TARGET_INFO { type Abi = Self ; type DefaultType = Self ; } pub const CFG_CALL_TARGET_PROCESSED : u32 = 2u32 ; pub const CFG_CALL_TARGET_VALID : u32 = 1u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct CHANGER_DEVICE_PROBLEM_TYPE ( pub i32 ) ; pub const DeviceProblemNone : CHANGER_DEVICE_PROBLEM_TYPE = CHANGER_DEVICE_PROBLEM_TYPE ( 0i32 ) ; pub const DeviceProblemHardware : CHANGER_DEVICE_PROBLEM_TYPE = CHANGER_DEVICE_PROBLEM_TYPE ( 1i32 ) ; pub const DeviceProblemCHMError : CHANGER_DEVICE_PROBLEM_TYPE = CHANGER_DEVICE_PROBLEM_TYPE ( 2i32 ) ; pub const DeviceProblemDoorOpen : CHANGER_DEVICE_PROBLEM_TYPE = CHANGER_DEVICE_PROBLEM_TYPE ( 3i32 ) ; pub const DeviceProblemCalibrationError : CHANGER_DEVICE_PROBLEM_TYPE = CHANGER_DEVICE_PROBLEM_TYPE ( 4i32 ) ; pub const DeviceProblemTargetFailure : CHANGER_DEVICE_PROBLEM_TYPE = CHANGER_DEVICE_PROBLEM_TYPE ( 5i32 ) ; pub const DeviceProblemCHMMoveError : CHANGER_DEVICE_PROBLEM_TYPE = CHANGER_DEVICE_PROBLEM_TYPE ( 6i32 ) ; pub const DeviceProblemCHMZeroError : CHANGER_DEVICE_PROBLEM_TYPE = CHANGER_DEVICE_PROBLEM_TYPE ( 7i32 ) ; pub const DeviceProblemCartridgeInsertError : CHANGER_DEVICE_PROBLEM_TYPE = CHANGER_DEVICE_PROBLEM_TYPE ( 8i32 ) ; pub const DeviceProblemPositionError : CHANGER_DEVICE_PROBLEM_TYPE = CHANGER_DEVICE_PROBLEM_TYPE ( 9i32 ) ; pub const DeviceProblemSensorError : CHANGER_DEVICE_PROBLEM_TYPE = CHANGER_DEVICE_PROBLEM_TYPE ( 10i32 ) ; pub const DeviceProblemCartridgeEjectError : CHANGER_DEVICE_PROBLEM_TYPE = CHANGER_DEVICE_PROBLEM_TYPE ( 11i32 ) ; pub const DeviceProblemGripperError : CHANGER_DEVICE_PROBLEM_TYPE = CHANGER_DEVICE_PROBLEM_TYPE ( 12i32 ) ; pub const DeviceProblemDriveError : CHANGER_DEVICE_PROBLEM_TYPE = CHANGER_DEVICE_PROBLEM_TYPE ( 13i32 ) ; impl :: std :: convert :: From < i32 > for CHANGER_DEVICE_PROBLEM_TYPE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for CHANGER_DEVICE_PROBLEM_TYPE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CHANGER_ELEMENT { pub ElementType : ELEMENT_TYPE , pub ElementAddress : u32 } impl CHANGER_ELEMENT { } impl :: std :: default :: Default for CHANGER_ELEMENT { fn default ( ) -> Self { Self { ElementType : :: std :: default :: Default :: default ( ) , ElementAddress : 0 } } } impl :: std :: fmt :: Debug for CHANGER_ELEMENT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CHANGER_ELEMENT" ) . field ( "ElementType" , & self . ElementType ) . field ( "ElementAddress" , & self . ElementAddress ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CHANGER_ELEMENT { fn eq ( & self , other : & Self ) -> bool { self . ElementType == other . ElementType && self . ElementAddress == other . ElementAddress } } impl :: std :: cmp :: Eq for CHANGER_ELEMENT { } unsafe impl :: windows :: Abi for CHANGER_ELEMENT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CHANGER_ELEMENT_LIST { pub Element : CHANGER_ELEMENT , pub NumberOfElements : u32 } impl CHANGER_ELEMENT_LIST { } impl :: std :: default :: Default for CHANGER_ELEMENT_LIST { fn default ( ) -> Self { Self { Element : :: std :: default :: Default :: default ( ) , NumberOfElements : 0 } } } impl :: std :: fmt :: Debug for CHANGER_ELEMENT_LIST { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CHANGER_ELEMENT_LIST" ) . field ( "Element" , & self . Element ) . field ( "NumberOfElements" , & self . NumberOfElements ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CHANGER_ELEMENT_LIST { fn eq ( & self , other : & Self ) -> bool { self . Element == other . Element && self . NumberOfElements == other . NumberOfElements } } impl :: std :: cmp :: Eq for CHANGER_ELEMENT_LIST { } unsafe impl :: windows :: Abi for CHANGER_ELEMENT_LIST { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CHANGER_ELEMENT_STATUS { pub Element : CHANGER_ELEMENT , pub SrcElementAddress : CHANGER_ELEMENT , pub Flags : CHANGER_ELEMENT_STATUS_FLAGS , pub ExceptionCode : u32 , pub TargetId : u8 , pub Lun : u8 , pub Reserved : u16 , pub PrimaryVolumeID : [ u8 ;36 ] , pub AlternateVolumeID : [ u8 ;36 ] } impl CHANGER_ELEMENT_STATUS { } impl :: std :: default :: Default for CHANGER_ELEMENT_STATUS { fn default ( ) -> Self { Self { Element : :: std :: default :: Default :: default ( ) , SrcElementAddress : :: std :: default :: Default :: default ( ) , Flags : :: std :: default :: Default :: default ( ) , ExceptionCode : 0 , TargetId : 0 , Lun : 0 , Reserved : 0 , PrimaryVolumeID : [ 0 ;36 ] , AlternateVolumeID : [ 0 ;36 ] } } } impl :: std :: fmt :: Debug for CHANGER_ELEMENT_STATUS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CHANGER_ELEMENT_STATUS" ) . field ( "Element" , & self . Element ) . field ( "SrcElementAddress" , & self . SrcElementAddress ) . field ( "Flags" , & self . Flags ) . field ( "ExceptionCode" , & self . ExceptionCode ) . field ( "TargetId" , & self . TargetId ) . field ( "Lun" , & self . Lun ) . field ( "Reserved" , & self . Reserved ) . field ( "PrimaryVolumeID" , & self . PrimaryVolumeID ) . field ( "AlternateVolumeID" , & self . AlternateVolumeID ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CHANGER_ELEMENT_STATUS { fn eq ( & self , other : & Self ) -> bool { self . Element == other . Element && self . SrcElementAddress == other . SrcElementAddress && self . Flags == other . Flags && self . ExceptionCode == other . ExceptionCode && self . TargetId == other . TargetId && self . Lun == other . Lun && self . Reserved == other . Reserved && self . PrimaryVolumeID == other . PrimaryVolumeID && self . AlternateVolumeID == other . AlternateVolumeID } } impl :: std :: cmp :: Eq for CHANGER_ELEMENT_STATUS { } unsafe impl :: windows :: Abi for CHANGER_ELEMENT_STATUS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CHANGER_ELEMENT_STATUS_EX { pub Element : CHANGER_ELEMENT , pub SrcElementAddress : CHANGER_ELEMENT , pub Flags : CHANGER_ELEMENT_STATUS_FLAGS , pub ExceptionCode : u32 , pub TargetId : u8 , pub Lun : u8 , pub Reserved : u16 , pub PrimaryVolumeID : [ u8 ;36 ] , pub AlternateVolumeID : [ u8 ;36 ] , pub VendorIdentification : [ u8 ;8 ] , pub ProductIdentification : [ u8 ;16 ] , pub SerialNumber : [ u8 ;32 ] } impl CHANGER_ELEMENT_STATUS_EX { } impl :: std :: default :: Default for CHANGER_ELEMENT_STATUS_EX { fn default ( ) -> Self { Self { Element : :: std :: default :: Default :: default ( ) , SrcElementAddress : :: std :: default :: Default :: default ( ) , Flags : :: std :: default :: Default :: default ( ) , ExceptionCode : 0 , TargetId : 0 , Lun : 0 , Reserved : 0 , PrimaryVolumeID : [ 0 ;36 ] , AlternateVolumeID : [ 0 ;36 ] , VendorIdentification : [ 0 ;8 ] , ProductIdentification : [ 0 ;16 ] , SerialNumber : [ 0 ;32 ] } } } impl :: std :: fmt :: Debug for CHANGER_ELEMENT_STATUS_EX { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CHANGER_ELEMENT_STATUS_EX" ) . field ( "Element" , & self . Element ) . field ( "SrcElementAddress" , & self . SrcElementAddress ) . field ( "Flags" , & self . Flags ) . field ( "ExceptionCode" , & self . ExceptionCode ) . field ( "TargetId" , & self . TargetId ) . field ( "Lun" , & self . Lun ) . field ( "Reserved" , & self . Reserved ) . field ( "PrimaryVolumeID" , & self . PrimaryVolumeID ) . field ( "AlternateVolumeID" , & self . AlternateVolumeID ) . field ( "VendorIdentification" , & self . VendorIdentification ) . field ( "ProductIdentification" , & self . ProductIdentification ) . field ( "SerialNumber" , & self . SerialNumber ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CHANGER_ELEMENT_STATUS_EX { fn eq ( & self , other : & Self ) -> bool { self . Element == other . Element && self . SrcElementAddress == other . SrcElementAddress && self . Flags == other . Flags && self . ExceptionCode == other . ExceptionCode && self . TargetId == other . TargetId && self . Lun == other . Lun && self . Reserved == other . Reserved && self . PrimaryVolumeID == other . PrimaryVolumeID && self . AlternateVolumeID == other . AlternateVolumeID && self . VendorIdentification == other . VendorIdentification && self . ProductIdentification == other . ProductIdentification && self . SerialNumber == other . SerialNumber } } impl :: std :: cmp :: Eq for CHANGER_ELEMENT_STATUS_EX { } unsafe impl :: windows :: Abi for CHANGER_ELEMENT_STATUS_EX { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct CHANGER_ELEMENT_STATUS_FLAGS ( pub u32 ) ; pub const ELEMENT_STATUS_ACCESS : CHANGER_ELEMENT_STATUS_FLAGS = CHANGER_ELEMENT_STATUS_FLAGS ( 8u32 ) ; pub const ELEMENT_STATUS_AVOLTAG : CHANGER_ELEMENT_STATUS_FLAGS = CHANGER_ELEMENT_STATUS_FLAGS ( 536870912u32 ) ; pub const ELEMENT_STATUS_EXCEPT : CHANGER_ELEMENT_STATUS_FLAGS = CHANGER_ELEMENT_STATUS_FLAGS ( 4u32 ) ; pub const ELEMENT_STATUS_EXENAB : CHANGER_ELEMENT_STATUS_FLAGS = CHANGER_ELEMENT_STATUS_FLAGS ( 16u32 ) ; pub const ELEMENT_STATUS_FULL : CHANGER_ELEMENT_STATUS_FLAGS = CHANGER_ELEMENT_STATUS_FLAGS ( 1u32 ) ; pub const ELEMENT_STATUS_ID_VALID : CHANGER_ELEMENT_STATUS_FLAGS = CHANGER_ELEMENT_STATUS_FLAGS ( 8192u32 ) ; pub const ELEMENT_STATUS_IMPEXP : CHANGER_ELEMENT_STATUS_FLAGS = CHANGER_ELEMENT_STATUS_FLAGS ( 2u32 ) ; pub const ELEMENT_STATUS_INENAB : CHANGER_ELEMENT_STATUS_FLAGS = CHANGER_ELEMENT_STATUS_FLAGS ( 32u32 ) ; pub const ELEMENT_STATUS_INVERT : CHANGER_ELEMENT_STATUS_FLAGS = CHANGER_ELEMENT_STATUS_FLAGS ( 4194304u32 ) ; pub const ELEMENT_STATUS_LUN_VALID : CHANGER_ELEMENT_STATUS_FLAGS = CHANGER_ELEMENT_STATUS_FLAGS ( 4096u32 ) ; pub const ELEMENT_STATUS_NOT_BUS : CHANGER_ELEMENT_STATUS_FLAGS = CHANGER_ELEMENT_STATUS_FLAGS ( 32768u32 ) ; pub const ELEMENT_STATUS_PVOLTAG : CHANGER_ELEMENT_STATUS_FLAGS = CHANGER_ELEMENT_STATUS_FLAGS ( 268435456u32 ) ; pub const ELEMENT_STATUS_SVALID : CHANGER_ELEMENT_STATUS_FLAGS = CHANGER_ELEMENT_STATUS_FLAGS ( 8388608u32 ) ; pub const ELEMENT_STATUS_PRODUCT_DATA : CHANGER_ELEMENT_STATUS_FLAGS = CHANGER_ELEMENT_STATUS_FLAGS ( 64u32 ) ; impl :: std :: convert :: From < u32 > for CHANGER_ELEMENT_STATUS_FLAGS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for CHANGER_ELEMENT_STATUS_FLAGS { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for CHANGER_ELEMENT_STATUS_FLAGS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for CHANGER_ELEMENT_STATUS_FLAGS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for CHANGER_ELEMENT_STATUS_FLAGS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for CHANGER_ELEMENT_STATUS_FLAGS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CHANGER_EXCHANGE_MEDIUM { pub Transport : CHANGER_ELEMENT , pub Source : CHANGER_ELEMENT , pub Destination1 : CHANGER_ELEMENT , pub Destination2 : CHANGER_ELEMENT , pub Flip1 : u8 , pub Flip2 : u8 } impl CHANGER_EXCHANGE_MEDIUM { } impl :: std :: default :: Default for CHANGER_EXCHANGE_MEDIUM { fn default ( ) -> Self { Self { Transport : :: std :: default :: Default :: default ( ) , Source : :: std :: default :: Default :: default ( ) , Destination1 : :: std :: default :: Default :: default ( ) , Destination2 : :: std :: default :: Default :: default ( ) , Flip1 : 0 , Flip2 : 0 } } } impl :: std :: fmt :: Debug for CHANGER_EXCHANGE_MEDIUM { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CHANGER_EXCHANGE_MEDIUM" ) . field ( "Transport" , & self . Transport ) . field ( "Source" , & self . Source ) . field ( "Destination1" , & self . Destination1 ) . field ( "Destination2" , & self . Destination2 ) . field ( "Flip1" , & self . Flip1 ) . field ( "Flip2" , & self . Flip2 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CHANGER_EXCHANGE_MEDIUM { fn eq ( & self , other : & Self ) -> bool { self . Transport == other . Transport && self . Source == other . Source && self . Destination1 == other . Destination1 && self . Destination2 == other . Destination2 && self . Flip1 == other . Flip1 && self . Flip2 == other . Flip2 } } impl :: std :: cmp :: Eq for CHANGER_EXCHANGE_MEDIUM { } unsafe impl :: windows :: Abi for CHANGER_EXCHANGE_MEDIUM { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct CHANGER_FEATURES ( pub u32 ) ; pub const CHANGER_BAR_CODE_SCANNER_INSTALLED : CHANGER_FEATURES = CHANGER_FEATURES ( 1u32 ) ; pub const CHANGER_CARTRIDGE_MAGAZINE : CHANGER_FEATURES = CHANGER_FEATURES ( 256u32 ) ; pub const CHANGER_CLEANER_ACCESS_NOT_VALID : CHANGER_FEATURES = CHANGER_FEATURES ( 262144u32 ) ; pub const CHANGER_CLEANER_SLOT : CHANGER_FEATURES = CHANGER_FEATURES ( 64u32 ) ; pub const CHANGER_CLOSE_IEPORT : CHANGER_FEATURES = CHANGER_FEATURES ( 4u32 ) ; pub const CHANGER_DEVICE_REINITIALIZE_CAPABLE : CHANGER_FEATURES = CHANGER_FEATURES ( 134217728u32 ) ; pub const CHANGER_DRIVE_CLEANING_REQUIRED : CHANGER_FEATURES = CHANGER_FEATURES ( 65536u32 ) ; pub const CHANGER_DRIVE_EMPTY_ON_DOOR_ACCESS : CHANGER_FEATURES = CHANGER_FEATURES ( 536870912u32 ) ; pub const CHANGER_EXCHANGE_MEDIA : CHANGER_FEATURES = CHANGER_FEATURES ( 32u32 ) ; pub const CHANGER_INIT_ELEM_STAT_WITH_RANGE : CHANGER_FEATURES = CHANGER_FEATURES ( 2u32 ) ; pub const CHANGER_KEYPAD_ENABLE_DISABLE : CHANGER_FEATURES = CHANGER_FEATURES ( 268435456u32 ) ; pub const CHANGER_LOCK_UNLOCK : CHANGER_FEATURES = CHANGER_FEATURES ( 128u32 ) ; pub const CHANGER_MEDIUM_FLIP : CHANGER_FEATURES = CHANGER_FEATURES ( 512u32 ) ; pub const CHANGER_OPEN_IEPORT : CHANGER_FEATURES = CHANGER_FEATURES ( 8u32 ) ; pub const CHANGER_POSITION_TO_ELEMENT : CHANGER_FEATURES = CHANGER_FEATURES ( 1024u32 ) ; pub const CHANGER_PREDISMOUNT_EJECT_REQUIRED : CHANGER_FEATURES = CHANGER_FEATURES ( 131072u32 ) ; pub const CHANGER_PREMOUNT_EJECT_REQUIRED : CHANGER_FEATURES = CHANGER_FEATURES ( 524288u32 ) ; pub const CHANGER_REPORT_IEPORT_STATE : CHANGER_FEATURES = CHANGER_FEATURES ( 2048u32 ) ; pub const CHANGER_SERIAL_NUMBER_VALID : CHANGER_FEATURES = CHANGER_FEATURES ( 67108864u32 ) ; pub const CHANGER_STATUS_NON_VOLATILE : CHANGER_FEATURES = CHANGER_FEATURES ( 16u32 ) ; pub const CHANGER_STORAGE_DRIVE : CHANGER_FEATURES = CHANGER_FEATURES ( 4096u32 ) ; pub const CHANGER_STORAGE_IEPORT : CHANGER_FEATURES = CHANGER_FEATURES ( 8192u32 ) ; pub const CHANGER_STORAGE_SLOT : CHANGER_FEATURES = CHANGER_FEATURES ( 16384u32 ) ; pub const CHANGER_STORAGE_TRANSPORT : CHANGER_FEATURES = CHANGER_FEATURES ( 32768u32 ) ; pub const CHANGER_VOLUME_ASSERT : CHANGER_FEATURES = CHANGER_FEATURES ( 4194304u32 ) ; pub const CHANGER_VOLUME_IDENTIFICATION : CHANGER_FEATURES = CHANGER_FEATURES ( 1048576u32 ) ; pub const CHANGER_VOLUME_REPLACE : CHANGER_FEATURES = CHANGER_FEATURES ( 8388608u32 ) ; pub const CHANGER_VOLUME_SEARCH : CHANGER_FEATURES = CHANGER_FEATURES ( 2097152u32 ) ; pub const CHANGER_VOLUME_UNDEFINE : CHANGER_FEATURES = CHANGER_FEATURES ( 16777216u32 ) ; impl :: std :: convert :: From < u32 > for CHANGER_FEATURES { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for CHANGER_FEATURES { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for CHANGER_FEATURES { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for CHANGER_FEATURES { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for CHANGER_FEATURES { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for CHANGER_FEATURES { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CHANGER_INITIALIZE_ELEMENT_STATUS { pub ElementList : CHANGER_ELEMENT_LIST , pub BarCodeScan : u8 } impl CHANGER_INITIALIZE_ELEMENT_STATUS { } impl :: std :: default :: Default for CHANGER_INITIALIZE_ELEMENT_STATUS { fn default ( ) -> Self { Self { ElementList : :: std :: default :: Default :: default ( ) , BarCodeScan : 0 } } } impl :: std :: fmt :: Debug for CHANGER_INITIALIZE_ELEMENT_STATUS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CHANGER_INITIALIZE_ELEMENT_STATUS" ) . field ( "ElementList" , & self . ElementList ) . field ( "BarCodeScan" , & self . BarCodeScan ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CHANGER_INITIALIZE_ELEMENT_STATUS { fn eq ( & self , other : & Self ) -> bool { self . ElementList == other . ElementList && self . BarCodeScan == other . BarCodeScan } } impl :: std :: cmp :: Eq for CHANGER_INITIALIZE_ELEMENT_STATUS { } unsafe impl :: windows :: Abi for CHANGER_INITIALIZE_ELEMENT_STATUS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CHANGER_MOVE_MEDIUM { pub Transport : CHANGER_ELEMENT , pub Source : CHANGER_ELEMENT , pub Destination : CHANGER_ELEMENT , pub Flip : u8 } impl CHANGER_MOVE_MEDIUM { } impl :: std :: default :: Default for CHANGER_MOVE_MEDIUM { fn default ( ) -> Self { Self { Transport : :: std :: default :: Default :: default ( ) , Source : :: std :: default :: Default :: default ( ) , Destination : :: std :: default :: Default :: default ( ) , Flip : 0 } } } impl :: std :: fmt :: Debug for CHANGER_MOVE_MEDIUM { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CHANGER_MOVE_MEDIUM" ) . field ( "Transport" , & self . Transport ) . field ( "Source" , & self . Source ) . field ( "Destination" , & self . Destination ) . field ( "Flip" , & self . Flip ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CHANGER_MOVE_MEDIUM { fn eq ( & self , other : & Self ) -> bool { self . Transport == other . Transport && self . Source == other . Source && self . Destination == other . Destination && self . Flip == other . Flip } } impl :: std :: cmp :: Eq for CHANGER_MOVE_MEDIUM { } unsafe impl :: windows :: Abi for CHANGER_MOVE_MEDIUM { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CHANGER_PRODUCT_DATA { pub VendorId : [ u8 ;8 ] , pub ProductId : [ u8 ;16 ] , pub Revision : [ u8 ;4 ] , pub SerialNumber : [ u8 ;32 ] , pub DeviceType : u8 } impl CHANGER_PRODUCT_DATA { } impl :: std :: default :: Default for CHANGER_PRODUCT_DATA { fn default ( ) -> Self { Self { VendorId : [ 0 ;8 ] , ProductId : [ 0 ;16 ] , Revision : [ 0 ;4 ] , SerialNumber : [ 0 ;32 ] , DeviceType : 0 } } } impl :: std :: fmt :: Debug for CHANGER_PRODUCT_DATA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CHANGER_PRODUCT_DATA" ) . field ( "VendorId" , & self . VendorId ) . field ( "ProductId" , & self . ProductId ) . field ( "Revision" , & self . Revision ) . field ( "SerialNumber" , & self . SerialNumber ) . field ( "DeviceType" , & self . DeviceType ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CHANGER_PRODUCT_DATA { fn eq ( & self , other : & Self ) -> bool { self . VendorId == other . VendorId && self . ProductId == other . ProductId && self . Revision == other . Revision && self . SerialNumber == other . SerialNumber && self . DeviceType == other . DeviceType } } impl :: std :: cmp :: Eq for CHANGER_PRODUCT_DATA { } unsafe impl :: windows :: Abi for CHANGER_PRODUCT_DATA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CHANGER_READ_ELEMENT_STATUS { pub ElementList : CHANGER_ELEMENT_LIST , pub VolumeTagInfo : u8 } impl CHANGER_READ_ELEMENT_STATUS { } impl :: std :: default :: Default for CHANGER_READ_ELEMENT_STATUS { fn default ( ) -> Self { Self { ElementList : :: std :: default :: Default :: default ( ) , VolumeTagInfo : 0 } } } impl :: std :: fmt :: Debug for CHANGER_READ_ELEMENT_STATUS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CHANGER_READ_ELEMENT_STATUS" ) . field ( "ElementList" , & self . ElementList ) . field ( "VolumeTagInfo" , & self . VolumeTagInfo ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CHANGER_READ_ELEMENT_STATUS { fn eq ( & self , other : & Self ) -> bool { self . ElementList == other . ElementList && self . VolumeTagInfo == other . VolumeTagInfo } } impl :: std :: cmp :: Eq for CHANGER_READ_ELEMENT_STATUS { } unsafe impl :: windows :: Abi for CHANGER_READ_ELEMENT_STATUS { type Abi = Self ; type DefaultType = Self ; } pub const CHANGER_RESERVED_BIT : u32 = 2147483648u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CHANGER_SEND_VOLUME_TAG_INFORMATION { pub StartingElement : CHANGER_ELEMENT , pub ActionCode : u32 , pub VolumeIDTemplate : [ u8 ;40 ] } impl CHANGER_SEND_VOLUME_TAG_INFORMATION { } impl :: std :: default :: Default for CHANGER_SEND_VOLUME_TAG_INFORMATION { fn default ( ) -> Self { Self { StartingElement : :: std :: default :: Default :: default ( ) , ActionCode : 0 , VolumeIDTemplate : [ 0 ;40 ] } } } impl :: std :: fmt :: Debug for CHANGER_SEND_VOLUME_TAG_INFORMATION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CHANGER_SEND_VOLUME_TAG_INFORMATION" ) . field ( "StartingElement" , & self . StartingElement ) . field ( "ActionCode" , & self . ActionCode ) . field ( "VolumeIDTemplate" , & self . VolumeIDTemplate ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CHANGER_SEND_VOLUME_TAG_INFORMATION { fn eq ( & self , other : & Self ) -> bool { self . StartingElement == other . StartingElement && self . ActionCode == other . ActionCode && self . VolumeIDTemplate == other . VolumeIDTemplate } } impl :: std :: cmp :: Eq for CHANGER_SEND_VOLUME_TAG_INFORMATION { } unsafe impl :: windows :: Abi for CHANGER_SEND_VOLUME_TAG_INFORMATION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CHANGER_SET_ACCESS { pub Element : CHANGER_ELEMENT , pub Control : u32 } impl CHANGER_SET_ACCESS { } impl :: std :: default :: Default for CHANGER_SET_ACCESS { fn default ( ) -> Self { Self { Element : :: std :: default :: Default :: default ( ) , Control : 0 } } } impl :: std :: fmt :: Debug for CHANGER_SET_ACCESS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CHANGER_SET_ACCESS" ) . field ( "Element" , & self . Element ) . field ( "Control" , & self . Control ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CHANGER_SET_ACCESS { fn eq ( & self , other : & Self ) -> bool { self . Element == other . Element && self . Control == other . Control } } impl :: std :: cmp :: Eq for CHANGER_SET_ACCESS { } unsafe impl :: windows :: Abi for CHANGER_SET_ACCESS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CHANGER_SET_POSITION { pub Transport : CHANGER_ELEMENT , pub Destination : CHANGER_ELEMENT , pub Flip : u8 } impl CHANGER_SET_POSITION { } impl :: std :: default :: Default for CHANGER_SET_POSITION { fn default ( ) -> Self { Self { Transport : :: std :: default :: Default :: default ( ) , Destination : :: std :: default :: Default :: default ( ) , Flip : 0 } } } impl :: std :: fmt :: Debug for CHANGER_SET_POSITION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CHANGER_SET_POSITION" ) . field ( "Transport" , & self . Transport ) . field ( "Destination" , & self . Destination ) . field ( "Flip" , & self . Flip ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CHANGER_SET_POSITION { fn eq ( & self , other : & Self ) -> bool { self . Transport == other . Transport && self . Destination == other . Destination && self . Flip == other . Flip } } impl :: std :: cmp :: Eq for CHANGER_SET_POSITION { } unsafe impl :: windows :: Abi for CHANGER_SET_POSITION { type Abi = Self ; type DefaultType = Self ; } pub const CHANGER_TO_DRIVE : u32 = 8u32 ; pub const CHANGER_TO_IEPORT : u32 = 4u32 ; pub const CHANGER_TO_SLOT : u32 = 2u32 ; pub const CHANGER_TO_TRANSPORT : u32 = 1u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( transparent ) ] pub struct CHAR ( pub u8 ) ; impl CHAR { } impl :: std :: default :: Default for CHAR { fn default ( ) -> Self { Self ( 0 ) } } impl CHAR { pub const NULL : Self = Self ( 0 ) ; pub fn is_null ( & self ) -> bool { self . 0 == 0 } } impl :: std :: fmt :: Debug for CHAR { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CHAR" ) . field ( "Value" , & self .0 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CHAR { fn eq ( & self , other : & Self ) -> bool { self .0 == other .0 } } impl :: std :: cmp :: Eq for CHAR { } unsafe impl :: windows :: Abi for CHAR { type Abi = Self ; type DefaultType = Self ; } pub const CHECKSUM_TYPE_CRC32 : u32 = 1u32 ; pub const CHECKSUM_TYPE_CRC64 : u32 = 2u32 ; pub const CHECKSUM_TYPE_ECC : u32 = 3u32 ; pub const CHECKSUM_TYPE_FIRST_UNUSED_TYPE : u32 = 4u32 ; pub const CHECKSUM_TYPE_NONE : u32 = 0u32 ; pub const CHECKSUM_TYPE_UNCHANGED : i32 = -1i32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct CHOOSECOLOR_FLAGS ( pub u32 ) ; pub const CC_RGBINIT : CHOOSECOLOR_FLAGS = CHOOSECOLOR_FLAGS ( 1u32 ) ; pub const CC_FULLOPEN : CHOOSECOLOR_FLAGS = CHOOSECOLOR_FLAGS ( 2u32 ) ; pub const CC_PREVENTFULLOPEN : CHOOSECOLOR_FLAGS = CHOOSECOLOR_FLAGS ( 4u32 ) ; pub const CC_SHOWHELP : CHOOSECOLOR_FLAGS = CHOOSECOLOR_FLAGS ( 8u32 ) ; pub const CC_ENABLEHOOK : CHOOSECOLOR_FLAGS = CHOOSECOLOR_FLAGS ( 16u32 ) ; pub const CC_ENABLETEMPLATE : CHOOSECOLOR_FLAGS = CHOOSECOLOR_FLAGS ( 32u32 ) ; pub const CC_ENABLETEMPLATEHANDLE : CHOOSECOLOR_FLAGS = CHOOSECOLOR_FLAGS ( 64u32 ) ; pub const CC_SOLIDCOLOR : CHOOSECOLOR_FLAGS = CHOOSECOLOR_FLAGS ( 128u32 ) ; pub const CC_ANYCOLOR : CHOOSECOLOR_FLAGS = CHOOSECOLOR_FLAGS ( 256u32 ) ; impl :: std :: convert :: From < u32 > for CHOOSECOLOR_FLAGS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for CHOOSECOLOR_FLAGS { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for CHOOSECOLOR_FLAGS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for CHOOSECOLOR_FLAGS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for CHOOSECOLOR_FLAGS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for CHOOSECOLOR_FLAGS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub const CLAIM_SECURITY_ATTRIBUTES_INFORMATION_VERSION_V1 : u32 = 1u32 ; pub const CLAIM_SECURITY_ATTRIBUTE_CUSTOM_FLAGS : u32 = 4294901760u32 ; pub const CLAIM_SECURITY_ATTRIBUTE_TYPE_INVALID : u32 = 0u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CLASS_MEDIA_CHANGE_CONTEXT { pub MediaChangeCount : u32 , pub NewState : u32 } impl CLASS_MEDIA_CHANGE_CONTEXT { } impl :: std :: default :: Default for CLASS_MEDIA_CHANGE_CONTEXT { fn default ( ) -> Self { Self { MediaChangeCount : 0 , NewState : 0 } } } impl :: std :: fmt :: Debug for CLASS_MEDIA_CHANGE_CONTEXT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CLASS_MEDIA_CHANGE_CONTEXT" ) . field ( "MediaChangeCount" , & self . MediaChangeCount ) . field ( "NewState" , & self . NewState ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CLASS_MEDIA_CHANGE_CONTEXT { fn eq ( & self , other : & Self ) -> bool { self . MediaChangeCount == other . MediaChangeCount && self . NewState == other . NewState } } impl :: std :: cmp :: Eq for CLASS_MEDIA_CHANGE_CONTEXT { } unsafe impl :: windows :: Abi for CLASS_MEDIA_CHANGE_CONTEXT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct CLIPBOARD_FORMATS ( pub u32 ) ; pub const CF_TEXT : CLIPBOARD_FORMATS = CLIPBOARD_FORMATS ( 1u32 ) ; pub const CF_BITMAP : CLIPBOARD_FORMATS = CLIPBOARD_FORMATS ( 2u32 ) ; pub const CF_METAFILEPICT : CLIPBOARD_FORMATS = CLIPBOARD_FORMATS ( 3u32 ) ; pub const CF_SYLK : CLIPBOARD_FORMATS = CLIPBOARD_FORMATS ( 4u32 ) ; pub const CF_DIF : CLIPBOARD_FORMATS = CLIPBOARD_FORMATS ( 5u32 ) ; pub const CF_TIFF : CLIPBOARD_FORMATS = CLIPBOARD_FORMATS ( 6u32 ) ; pub const CF_OEMTEXT : CLIPBOARD_FORMATS = CLIPBOARD_FORMATS ( 7u32 ) ; pub const CF_DIB : CLIPBOARD_FORMATS = CLIPBOARD_FORMATS ( 8u32 ) ; pub const CF_PALETTE : CLIPBOARD_FORMATS = CLIPBOARD_FORMATS ( 9u32 ) ; pub const CF_PENDATA : CLIPBOARD_FORMATS = CLIPBOARD_FORMATS ( 10u32 ) ; pub const CF_RIFF : CLIPBOARD_FORMATS = CLIPBOARD_FORMATS ( 11u32 ) ; pub const CF_WAVE : CLIPBOARD_FORMATS = CLIPBOARD_FORMATS ( 12u32 ) ; pub const CF_UNICODETEXT : CLIPBOARD_FORMATS = CLIPBOARD_FORMATS ( 13u32 ) ; pub const CF_ENHMETAFILE : CLIPBOARD_FORMATS = CLIPBOARD_FORMATS ( 14u32 ) ; pub const CF_HDROP : CLIPBOARD_FORMATS = CLIPBOARD_FORMATS ( 15u32 ) ; pub const CF_LOCALE : CLIPBOARD_FORMATS = CLIPBOARD_FORMATS ( 16u32 ) ; pub const CF_DIBV5 : CLIPBOARD_FORMATS = CLIPBOARD_FORMATS ( 17u32 ) ; pub const CF_MAX : CLIPBOARD_FORMATS = CLIPBOARD_FORMATS ( 18u32 ) ; pub const CF_OWNERDISPLAY : CLIPBOARD_FORMATS = CLIPBOARD_FORMATS ( 128u32 ) ; pub const CF_DSPTEXT : CLIPBOARD_FORMATS = CLIPBOARD_FORMATS ( 129u32 ) ; pub const CF_DSPBITMAP : CLIPBOARD_FORMATS = CLIPBOARD_FORMATS ( 130u32 ) ; pub const CF_DSPMETAFILEPICT : CLIPBOARD_FORMATS = CLIPBOARD_FORMATS ( 131u32 ) ; pub const CF_DSPENHMETAFILE : CLIPBOARD_FORMATS = CLIPBOARD_FORMATS ( 142u32 ) ; pub const CF_PRIVATEFIRST : CLIPBOARD_FORMATS = CLIPBOARD_FORMATS ( 512u32 ) ; pub const CF_PRIVATELAST : CLIPBOARD_FORMATS = CLIPBOARD_FORMATS ( 767u32 ) ; pub const CF_GDIOBJFIRST : CLIPBOARD_FORMATS = CLIPBOARD_FORMATS ( 768u32 ) ; pub const CF_GDIOBJLAST : CLIPBOARD_FORMATS = CLIPBOARD_FORMATS ( 1023u32 ) ; impl :: std :: convert :: From < u32 > for CLIPBOARD_FORMATS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for CLIPBOARD_FORMATS { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for CLIPBOARD_FORMATS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for CLIPBOARD_FORMATS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for CLIPBOARD_FORMATS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for CLIPBOARD_FORMATS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CLIPDATA { pub cbSize : u32 , pub ulClipFmt : i32 , pub pClipData : * mut u8 } impl CLIPDATA { } impl :: std :: default :: Default for CLIPDATA { fn default ( ) -> Self { Self { cbSize : 0 , ulClipFmt : 0 , pClipData : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for CLIPDATA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CLIPDATA" ) . field ( "cbSize" , & self . cbSize ) . field ( "ulClipFmt" , & self . ulClipFmt ) . field ( "pClipData" , & self . pClipData ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CLIPDATA { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . ulClipFmt == other . ulClipFmt && self . pClipData == other . pClipData } } impl :: std :: cmp :: Eq for CLIPDATA { } unsafe impl :: windows :: Abi for CLIPDATA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CLUSTER_RANGE { pub StartingCluster : i64 , pub ClusterCount : i64 } impl CLUSTER_RANGE { } impl :: std :: default :: Default for CLUSTER_RANGE { fn default ( ) -> Self { Self { StartingCluster : 0 , ClusterCount : 0 } } } impl :: std :: fmt :: Debug for CLUSTER_RANGE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CLUSTER_RANGE" ) . field ( "StartingCluster" , & self . StartingCluster ) . field ( "ClusterCount" , & self . ClusterCount ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CLUSTER_RANGE { fn eq ( & self , other : & Self ) -> bool { self . StartingCluster == other . StartingCluster && self . ClusterCount == other . ClusterCount } } impl :: std :: cmp :: Eq for CLUSTER_RANGE { } unsafe impl :: windows :: Abi for CLUSTER_RANGE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct CM_ERROR_CONTROL_TYPE ( pub i32 ) ; pub const IgnoreError : CM_ERROR_CONTROL_TYPE = CM_ERROR_CONTROL_TYPE ( 0i32 ) ; pub const NormalError : CM_ERROR_CONTROL_TYPE = CM_ERROR_CONTROL_TYPE ( 1i32 ) ; pub const SevereError : CM_ERROR_CONTROL_TYPE = CM_ERROR_CONTROL_TYPE ( 2i32 ) ; pub const CriticalError : CM_ERROR_CONTROL_TYPE = CM_ERROR_CONTROL_TYPE ( 3i32 ) ; impl :: std :: convert :: From < i32 > for CM_ERROR_CONTROL_TYPE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for CM_ERROR_CONTROL_TYPE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CM_Power_Data_s { pub PD_Size : u32 , pub PD_MostRecentPowerState : DEVICE_POWER_STATE , pub PD_Capabilities : u32 , pub PD_D1Latency : u32 , pub PD_D2Latency : u32 , pub PD_D3Latency : u32 , pub PD_PowerStateMapping : [ DEVICE_POWER_STATE ;7 ] , pub PD_DeepestSystemWake : super::Power:: SYSTEM_POWER_STATE } impl CM_Power_Data_s { } impl :: std :: default :: Default for CM_Power_Data_s { fn default ( ) -> Self { Self { PD_Size : 0 , PD_MostRecentPowerState : :: std :: default :: Default :: default ( ) , PD_Capabilities : 0 , PD_D1Latency : 0 , PD_D2Latency : 0 , PD_D3Latency : 0 , PD_PowerStateMapping : [ :: std :: default :: Default :: default ( ) ;7 ] , PD_DeepestSystemWake : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for CM_Power_Data_s { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CM_Power_Data_s" ) . field ( "PD_Size" , & self . PD_Size ) . field ( "PD_MostRecentPowerState" , & self . PD_MostRecentPowerState ) . field ( "PD_Capabilities" , & self . PD_Capabilities ) . field ( "PD_D1Latency" , & self . PD_D1Latency ) . field ( "PD_D2Latency" , & self . PD_D2Latency ) . field ( "PD_D3Latency" , & self . PD_D3Latency ) . field ( "PD_PowerStateMapping" , & self . PD_PowerStateMapping ) . field ( "PD_DeepestSystemWake" , & self . PD_DeepestSystemWake ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CM_Power_Data_s { fn eq ( & self , other : & Self ) -> bool { self . PD_Size == other . PD_Size && self . PD_MostRecentPowerState == other . PD_MostRecentPowerState && self . PD_Capabilities == other . PD_Capabilities && self . PD_D1Latency == other . PD_D1Latency && self . PD_D2Latency == other . PD_D2Latency && self . PD_D3Latency == other . PD_D3Latency && self . PD_PowerStateMapping == other . PD_PowerStateMapping && self . PD_DeepestSystemWake == other . PD_DeepestSystemWake } } impl :: std :: cmp :: Eq for CM_Power_Data_s { } unsafe impl :: windows :: Abi for CM_Power_Data_s { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct CM_SERVICE_LOAD_TYPE ( pub i32 ) ; pub const BootLoad : CM_SERVICE_LOAD_TYPE = CM_SERVICE_LOAD_TYPE ( 0i32 ) ; pub const SystemLoad : CM_SERVICE_LOAD_TYPE = CM_SERVICE_LOAD_TYPE ( 1i32 ) ; pub const AutoLoad : CM_SERVICE_LOAD_TYPE = CM_SERVICE_LOAD_TYPE ( 2i32 ) ; pub const DemandLoad : CM_SERVICE_LOAD_TYPE = CM_SERVICE_LOAD_TYPE ( 3i32 ) ; pub const DisableLoad : CM_SERVICE_LOAD_TYPE = CM_SERVICE_LOAD_TYPE ( 4i32 ) ; impl :: std :: convert :: From < i32 > for CM_SERVICE_LOAD_TYPE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for CM_SERVICE_LOAD_TYPE { type Abi = Self ; type DefaultType = Self ; } pub const CM_SERVICE_MEASURED_BOOT_LOAD : u32 = 32u32 ; pub const CM_SERVICE_NETWORK_BOOT_LOAD : u32 = 1u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct CM_SERVICE_NODE_TYPE ( pub i32 ) ; pub const DriverType : CM_SERVICE_NODE_TYPE = CM_SERVICE_NODE_TYPE ( 1i32 ) ; pub const FileSystemType : CM_SERVICE_NODE_TYPE = CM_SERVICE_NODE_TYPE ( 2i32 ) ; pub const Win32ServiceOwnProcess : CM_SERVICE_NODE_TYPE = CM_SERVICE_NODE_TYPE ( 16i32 ) ; pub const Win32ServiceShareProcess : CM_SERVICE_NODE_TYPE = CM_SERVICE_NODE_TYPE ( 32i32 ) ; pub const AdapterType : CM_SERVICE_NODE_TYPE = CM_SERVICE_NODE_TYPE ( 4i32 ) ; pub const RecognizerType : CM_SERVICE_NODE_TYPE = CM_SERVICE_NODE_TYPE ( 8i32 ) ; impl :: std :: convert :: From < i32 > for CM_SERVICE_NODE_TYPE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for CM_SERVICE_NODE_TYPE { type Abi = Self ; type DefaultType = Self ; } pub const CM_SERVICE_RAM_DISK_BOOT_LOAD : u32 = 256u32 ; pub const CM_SERVICE_SD_DISK_BOOT_LOAD : u32 = 8u32 ; pub const CM_SERVICE_USB3_DISK_BOOT_LOAD : u32 = 16u32 ; pub const CM_SERVICE_USB_DISK_BOOT_LOAD : u32 = 4u32 ; pub const CM_SERVICE_VERIFIER_BOOT_LOAD : u32 = 64u32 ; pub const CM_SERVICE_VIRTUAL_DISK_BOOT_LOAD : u32 = 2u32 ; pub const CM_SERVICE_WINPE_BOOT_LOAD : u32 = 128u32 ; pub const COMPRESSION_ENGINE_HIBER : u32 = 512u32 ; pub const COMPRESSION_ENGINE_MAXIMUM : u32 = 256u32 ; pub const COMPRESSION_ENGINE_STANDARD : u32 = 0u32 ; pub const COMPRESSION_FORMAT_DEFAULT : u32 = 1u32 ; pub const COMPRESSION_FORMAT_LZNT1 : u32 = 2u32 ; pub const COMPRESSION_FORMAT_NONE : u32 = 0u32 ; pub const COMPRESSION_FORMAT_XPRESS : u32 = 3u32 ; pub const COMPRESSION_FORMAT_XPRESS_HUFF : u32 = 4u32 ; pub const CONTAINER_ROOT_INFO_FLAG_BIND_DO_NOT_MAP_NAME : u32 = 256u32 ; pub const CONTAINER_ROOT_INFO_FLAG_BIND_EXCEPTION_ROOT : u32 = 128u32 ; pub const CONTAINER_ROOT_INFO_FLAG_BIND_ROOT : u32 = 32u32 ; pub const CONTAINER_ROOT_INFO_FLAG_BIND_TARGET_ROOT : u32 = 64u32 ; pub const CONTAINER_ROOT_INFO_FLAG_LAYER_ROOT : u32 = 2u32 ; pub const CONTAINER_ROOT_INFO_FLAG_SCRATCH_ROOT : u32 = 1u32 ; pub const CONTAINER_ROOT_INFO_FLAG_VIRTUALIZATION_EXCEPTION_ROOT : u32 = 16u32 ; pub const CONTAINER_ROOT_INFO_FLAG_VIRTUALIZATION_ROOT : u32 = 4u32 ; pub const CONTAINER_ROOT_INFO_FLAG_VIRTUALIZATION_TARGET_ROOT : u32 = 8u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CONTAINER_ROOT_INFO_INPUT { pub Flags : u32 } impl CONTAINER_ROOT_INFO_INPUT { } impl :: std :: default :: Default for CONTAINER_ROOT_INFO_INPUT { fn default ( ) -> Self { Self { Flags : 0 } } } impl :: std :: fmt :: Debug for CONTAINER_ROOT_INFO_INPUT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CONTAINER_ROOT_INFO_INPUT" ) . field ( "Flags" , & self . Flags ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CONTAINER_ROOT_INFO_INPUT { fn eq ( & self , other : & Self ) -> bool { self . Flags == other . Flags } } impl :: std :: cmp :: Eq for CONTAINER_ROOT_INFO_INPUT { } unsafe impl :: windows :: Abi for CONTAINER_ROOT_INFO_INPUT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CONTAINER_ROOT_INFO_OUTPUT { pub ContainerRootIdLength : u16 , pub ContainerRootId : [ u8 ;1 ] } impl CONTAINER_ROOT_INFO_OUTPUT { } impl :: std :: default :: Default for CONTAINER_ROOT_INFO_OUTPUT { fn default ( ) -> Self { Self { ContainerRootIdLength : 0 , ContainerRootId : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for CONTAINER_ROOT_INFO_OUTPUT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CONTAINER_ROOT_INFO_OUTPUT" ) . field ( "ContainerRootIdLength" , & self . ContainerRootIdLength ) . field ( "ContainerRootId" , & self . ContainerRootId ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CONTAINER_ROOT_INFO_OUTPUT { fn eq ( & self , other : & Self ) -> bool { self . ContainerRootIdLength == other . ContainerRootIdLength && self . ContainerRootId == other . ContainerRootId } } impl :: std :: cmp :: Eq for CONTAINER_ROOT_INFO_OUTPUT { } unsafe impl :: windows :: Abi for CONTAINER_ROOT_INFO_OUTPUT { type Abi = Self ; type DefaultType = Self ; } pub const CONTAINER_ROOT_INFO_VALID_FLAGS : u32 = 511u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CONTAINER_VOLUME_STATE { pub Flags : u32 } impl CONTAINER_VOLUME_STATE { } impl :: std :: default :: Default for CONTAINER_VOLUME_STATE { fn default ( ) -> Self { Self { Flags : 0 } } } impl :: std :: fmt :: Debug for CONTAINER_VOLUME_STATE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CONTAINER_VOLUME_STATE" ) . field ( "Flags" , & self . Flags ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CONTAINER_VOLUME_STATE { fn eq ( & self , other : & Self ) -> bool { self . Flags == other . Flags } } impl :: std :: cmp :: Eq for CONTAINER_VOLUME_STATE { } unsafe impl :: windows :: Abi for CONTAINER_VOLUME_STATE { type Abi = Self ; type DefaultType = Self ; } pub const CONTAINER_VOLUME_STATE_HOSTING_CONTAINER : u32 = 1u32 ; pub const CONTEXT_AMD64 : i32 = 1048576i32 ; pub const CONTEXT_ARM : i32 = 2097152i32 ; pub const CONTEXT_ARM64 : i32 = 4194304i32 ; pub const CONTEXT_EXCEPTION_ACTIVE : i32 = 134217728i32 ; pub const CONTEXT_EXCEPTION_REPORTING : i32 = -2147483648i32 ; pub const CONTEXT_EXCEPTION_REQUEST : i32 = 1073741824i32 ; pub const CONTEXT_KERNEL_DEBUGGER : i32 = 67108864i32 ; pub const CONTEXT_RET_TO_GUEST : u32 = 67108864u32 ; pub const CONTEXT_SERVICE_ACTIVE : i32 = 268435456i32 ; pub const CONTEXT_UNWOUND_TO_CALL : u32 = 536870912u32 ; pub const CONTEXT_i386 : i32 = 65536i32 ; pub const CONTEXT_i486 : i32 = 65536i32 ; pub const COPYFILE_SIS_FLAGS : u32 = 3u32 ; pub const COPYFILE_SIS_LINK : u32 = 1u32 ; pub const COPYFILE_SIS_REPLACE : u32 = 2u32 ; pub const CORE_PARKING_POLICY_CHANGE_IDEAL : u32 = 0u32 ; pub const CORE_PARKING_POLICY_CHANGE_MULTISTEP : u32 = 3u32 ; pub const CORE_PARKING_POLICY_CHANGE_ROCKET : u32 = 2u32 ; pub const CORE_PARKING_POLICY_CHANGE_SINGLE : u32 = 1u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CORRELATION_VECTOR { pub Version : CHAR , pub Vector : [ CHAR ;129 ] } impl CORRELATION_VECTOR { } impl :: std :: default :: Default for CORRELATION_VECTOR { fn default ( ) -> Self { Self { Version : :: std :: default :: Default :: default ( ) , Vector : [ :: std :: default :: Default :: default ( ) ;129 ] } } } impl :: std :: fmt :: Debug for CORRELATION_VECTOR { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CORRELATION_VECTOR" ) . field ( "Version" , & self . Version ) . field ( "Vector" , & self . Vector ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CORRELATION_VECTOR { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Vector == other . Vector } } impl :: std :: cmp :: Eq for CORRELATION_VECTOR { } unsafe impl :: windows :: Abi for CORRELATION_VECTOR { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct CPU_SET_INFORMATION_TYPE ( pub i32 ) ; pub const CpuSetInformation : CPU_SET_INFORMATION_TYPE = CPU_SET_INFORMATION_TYPE ( 0i32 ) ; impl :: std :: convert :: From < i32 > for CPU_SET_INFORMATION_TYPE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for CPU_SET_INFORMATION_TYPE { type Abi = Self ; type DefaultType = Self ; } pub const CREATE_BOUNDARY_DESCRIPTOR_ADD_APPCONTAINER_SID : u32 = 1u32 ; pub const CRITICAL_ACE_FLAG : u32 = 32u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct CSVFS_DISK_CONNECTIVITY ( pub i32 ) ; pub const CsvFsDiskConnectivityNone : CSVFS_DISK_CONNECTIVITY = CSVFS_DISK_CONNECTIVITY ( 0i32 ) ; pub const CsvFsDiskConnectivityMdsNodeOnly : CSVFS_DISK_CONNECTIVITY = CSVFS_DISK_CONNECTIVITY ( 1i32 ) ; pub const CsvFsDiskConnectivitySubsetOfNodes : CSVFS_DISK_CONNECTIVITY = CSVFS_DISK_CONNECTIVITY ( 2i32 ) ; pub const CsvFsDiskConnectivityAllNodes : CSVFS_DISK_CONNECTIVITY = CSVFS_DISK_CONNECTIVITY ( 3i32 ) ; impl :: std :: convert :: From < i32 > for CSVFS_DISK_CONNECTIVITY { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for CSVFS_DISK_CONNECTIVITY { type Abi = Self ; type DefaultType = Self ; } pub const CSV_INVALID_DEVICE_NUMBER : u32 = 4294967295u32 ; pub const CSV_MGMTLOCK_CHECK_VOLUME_REDIRECTED : u32 = 1u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CSV_MGMT_LOCK { pub Flags : u32 } impl CSV_MGMT_LOCK { } impl :: std :: default :: Default for CSV_MGMT_LOCK { fn default ( ) -> Self { Self { Flags : 0 } } } impl :: std :: fmt :: Debug for CSV_MGMT_LOCK { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CSV_MGMT_LOCK" ) . field ( "Flags" , & self . Flags ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CSV_MGMT_LOCK { fn eq ( & self , other : & Self ) -> bool { self . Flags == other . Flags } } impl :: std :: cmp :: Eq for CSV_MGMT_LOCK { } unsafe impl :: windows :: Abi for CSV_MGMT_LOCK { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CSV_QUERY_FILE_REVISION_FILE_ID_128 { pub FileId : super::super::Storage::FileSystem:: FILE_ID_128 , pub FileRevision : [ i64 ;3 ] } impl CSV_QUERY_FILE_REVISION_FILE_ID_128 { } impl :: std :: default :: Default for CSV_QUERY_FILE_REVISION_FILE_ID_128 { fn default ( ) -> Self { Self { FileId : :: std :: default :: Default :: default ( ) , FileRevision : [ 0 ;3 ] } } } impl :: std :: fmt :: Debug for CSV_QUERY_FILE_REVISION_FILE_ID_128 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CSV_QUERY_FILE_REVISION_FILE_ID_128" ) . field ( "FileId" , & self . FileId ) . field ( "FileRevision" , & self . FileRevision ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CSV_QUERY_FILE_REVISION_FILE_ID_128 { fn eq ( & self , other : & Self ) -> bool { self . FileId == other . FileId && self . FileRevision == other . FileRevision } } impl :: std :: cmp :: Eq for CSV_QUERY_FILE_REVISION_FILE_ID_128 { } unsafe impl :: windows :: Abi for CSV_QUERY_FILE_REVISION_FILE_ID_128 { type Abi = Self ; type DefaultType = Self ; } pub const CSV_QUERY_MDS_PATH_FLAG_CSV_DIRECT_IO_ENABLED : u32 = 2u32 ; pub const CSV_QUERY_MDS_PATH_FLAG_SMB_BYPASS_CSV_ENABLED : u32 = 4u32 ; pub const CSV_QUERY_MDS_PATH_FLAG_STORAGE_ON_THIS_NODE_IS_CONNECTED : u32 = 1u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CSV_QUERY_MDS_PATH_V2 { pub Version : i64 , pub RequiredSize : u32 , pub MdsNodeId : u32 , pub DsNodeId : u32 , pub Flags : u32 , pub DiskConnectivity : CSVFS_DISK_CONNECTIVITY , pub VolumeId : :: windows :: Guid , pub IpAddressOffset : u32 , pub IpAddressLength : u32 , pub PathOffset : u32 , pub PathLength : u32 } impl CSV_QUERY_MDS_PATH_V2 { } impl :: std :: default :: Default for CSV_QUERY_MDS_PATH_V2 { fn default ( ) -> Self { Self { Version : 0 , RequiredSize : 0 , MdsNodeId : 0 , DsNodeId : 0 , Flags : 0 , DiskConnectivity : :: std :: default :: Default :: default ( ) , VolumeId : :: std :: default :: Default :: default ( ) , IpAddressOffset : 0 , IpAddressLength : 0 , PathOffset : 0 , PathLength : 0 } } } impl :: std :: fmt :: Debug for CSV_QUERY_MDS_PATH_V2 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CSV_QUERY_MDS_PATH_V2" ) . field ( "Version" , & self . Version ) . field ( "RequiredSize" , & self . RequiredSize ) . field ( "MdsNodeId" , & self . MdsNodeId ) . field ( "DsNodeId" , & self . DsNodeId ) . field ( "Flags" , & self . Flags ) . field ( "DiskConnectivity" , & self . DiskConnectivity ) . field ( "VolumeId" , & self . VolumeId ) . field ( "IpAddressOffset" , & self . IpAddressOffset ) . field ( "IpAddressLength" , & self . IpAddressLength ) . field ( "PathOffset" , & self . PathOffset ) . field ( "PathLength" , & self . PathLength ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CSV_QUERY_MDS_PATH_V2 { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . RequiredSize == other . RequiredSize && self . MdsNodeId == other . MdsNodeId && self . DsNodeId == other . DsNodeId && self . Flags == other . Flags && self . DiskConnectivity == other . DiskConnectivity && self . VolumeId == other . VolumeId && self . IpAddressOffset == other . IpAddressOffset && self . IpAddressLength == other . IpAddressLength && self . PathOffset == other . PathOffset && self . PathLength == other . PathLength } } impl :: std :: cmp :: Eq for CSV_QUERY_MDS_PATH_V2 { } unsafe impl :: windows :: Abi for CSV_QUERY_MDS_PATH_V2 { type Abi = Self ; type DefaultType = Self ; } pub const CSV_QUERY_MDS_PATH_V2_VERSION_1 : u32 = 1u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CSV_QUERY_VOLUME_REDIRECT_STATE { pub MdsNodeId : u32 , pub DsNodeId : u32 , pub IsDiskConnected : u8 , pub ClusterEnableDirectIo : u8 , pub DiskConnectivity : CSVFS_DISK_CONNECTIVITY } impl CSV_QUERY_VOLUME_REDIRECT_STATE { } impl :: std :: default :: Default for CSV_QUERY_VOLUME_REDIRECT_STATE { fn default ( ) -> Self { Self { MdsNodeId : 0 , DsNodeId : 0 , IsDiskConnected : 0 , ClusterEnableDirectIo : 0 , DiskConnectivity : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for CSV_QUERY_VOLUME_REDIRECT_STATE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CSV_QUERY_VOLUME_REDIRECT_STATE" ) . field ( "MdsNodeId" , & self . MdsNodeId ) . field ( "DsNodeId" , & self . DsNodeId ) . field ( "IsDiskConnected" , & self . IsDiskConnected ) . field ( "ClusterEnableDirectIo" , & self . ClusterEnableDirectIo ) . field ( "DiskConnectivity" , & self . DiskConnectivity ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CSV_QUERY_VOLUME_REDIRECT_STATE { fn eq ( & self , other : & Self ) -> bool { self . MdsNodeId == other . MdsNodeId && self . DsNodeId == other . DsNodeId && self . IsDiskConnected == other . IsDiskConnected && self . ClusterEnableDirectIo == other . ClusterEnableDirectIo && self . DiskConnectivity == other . DiskConnectivity } } impl :: std :: cmp :: Eq for CSV_QUERY_VOLUME_REDIRECT_STATE { } unsafe impl :: windows :: Abi for CSV_QUERY_VOLUME_REDIRECT_STATE { type Abi = Self ; type DefaultType = Self ; } pub const CTMF_INCLUDE_APPCONTAINER : u32 = 1u32 ; pub const CTMF_INCLUDE_LPAC : u32 = 2u32 ; pub const CT_RECTANGLES : i32 = 0i32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CUSTOM_SYSTEM_EVENT_TRIGGER_CONFIG { pub Size : u32 , pub TriggerId : super::super::Foundation:: PWSTR } impl CUSTOM_SYSTEM_EVENT_TRIGGER_CONFIG { } impl :: std :: default :: Default for CUSTOM_SYSTEM_EVENT_TRIGGER_CONFIG { fn default ( ) -> Self { Self { Size : 0 , TriggerId : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for CUSTOM_SYSTEM_EVENT_TRIGGER_CONFIG { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CUSTOM_SYSTEM_EVENT_TRIGGER_CONFIG" ) . field ( "Size" , & self . Size ) . field ( "TriggerId" , & self . TriggerId ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CUSTOM_SYSTEM_EVENT_TRIGGER_CONFIG { fn eq ( & self , other : & Self ) -> bool { self . Size == other . Size && self . TriggerId == other . TriggerId } } impl :: std :: cmp :: Eq for CUSTOM_SYSTEM_EVENT_TRIGGER_CONFIG { } unsafe impl :: windows :: Abi for CUSTOM_SYSTEM_EVENT_TRIGGER_CONFIG { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union CY { pub Anonymous : CY_0 , pub int64 : i64 } impl CY { } impl :: std :: cmp :: PartialEq for CY { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for CY { } unsafe impl :: windows :: Abi for CY { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CY_0 { pub Lo : u32 , pub Hi : i32 } impl CY_0 { } impl :: std :: default :: Default for CY_0 { fn default ( ) -> Self { Self { Lo : 0 , Hi : 0 } } } impl :: std :: fmt :: Debug for CY_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Anonymous_e__Struct" ) . field ( "Lo" , & self . Lo ) . field ( "Hi" , & self . Hi ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CY_0 { fn eq ( & self , other : & Self ) -> bool { self . Lo == other . Lo && self . Hi == other . Hi } } impl :: std :: cmp :: Eq for CY_0 { } unsafe impl :: windows :: Abi for CY_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct D3DANTIALIASMODE ( pub i32 ) ; pub const D3DANTIALIAS_NONE : D3DANTIALIASMODE = D3DANTIALIASMODE ( 0i32 ) ; pub const D3DANTIALIAS_SORTDEPENDENT : D3DANTIALIASMODE = D3DANTIALIASMODE ( 1i32 ) ; pub const D3DANTIALIAS_SORTINDEPENDENT : D3DANTIALIASMODE = D3DANTIALIASMODE ( 2i32 ) ; pub const D3DANTIALIAS_FORCE_DWORD : D3DANTIALIASMODE = D3DANTIALIASMODE ( 2147483647i32 ) ; impl :: std :: convert :: From < i32 > for D3DANTIALIASMODE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for D3DANTIALIASMODE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct D3DBRANCH { pub dwMask : u32 , pub dwValue : u32 , pub bNegate : super::super::Foundation:: BOOL , pub dwOffset : u32 } impl D3DBRANCH { } impl :: std :: default :: Default for D3DBRANCH { fn default ( ) -> Self { Self { dwMask : 0 , dwValue : 0 , bNegate : :: std :: default :: Default :: default ( ) , dwOffset : 0 } } } impl :: std :: fmt :: Debug for D3DBRANCH { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "D3DBRANCH" ) . field ( "dwMask" , & self . dwMask ) . field ( "dwValue" , & self . dwValue ) . field ( "bNegate" , & self . bNegate ) . field ( "dwOffset" , & self . dwOffset ) . finish ( ) } } impl :: std :: cmp :: PartialEq for D3DBRANCH { fn eq ( & self , other : & Self ) -> bool { self . dwMask == other . dwMask && self . dwValue == other . dwValue && self . bNegate == other . bNegate && self . dwOffset == other . dwOffset } } impl :: std :: cmp :: Eq for D3DBRANCH { } unsafe impl :: windows :: Abi for D3DBRANCH { type Abi = Self ; type DefaultType = Self ; } pub const D3DCLEAR_STENCIL : i32 = 4i32 ; pub const D3DCLEAR_TARGET : i32 = 1i32 ; pub const D3DCLEAR_ZBUFFER : i32 = 2i32 ; pub const D3DCLIPPLANE0 : u32 = 1u32 ; pub const D3DCLIPPLANE1 : u32 = 2u32 ; pub const D3DCLIPPLANE2 : u32 = 4u32 ; pub const D3DCLIPPLANE3 : u32 = 8u32 ; pub const D3DCLIPPLANE4 : u32 = 16u32 ; pub const D3DCLIPPLANE5 : u32 = 32u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct D3DCLIPSTATUS { pub dwFlags : u32 , pub dwStatus : u32 , pub minx : f32 , pub maxx : f32 , pub miny : f32 , pub maxy : f32 , pub minz : f32 , pub maxz : f32 } impl D3DCLIPSTATUS { } impl :: std :: default :: Default for D3DCLIPSTATUS { fn default ( ) -> Self { Self { dwFlags : 0 , dwStatus : 0 , minx : 0.0 , maxx : 0.0 , miny : 0.0 , maxy : 0.0 , minz : 0.0 , maxz : 0.0 } } } impl :: std :: fmt :: Debug for D3DCLIPSTATUS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "D3DCLIPSTATUS" ) . field ( "dwFlags" , & self . dwFlags ) . field ( "dwStatus" , & self . dwStatus ) . field ( "minx" , & self . minx ) . field ( "maxx" , & self . maxx ) . field ( "miny" , & self . miny ) . field ( "maxy" , & self . maxy ) . field ( "minz" , & self . minz ) . field ( "maxz" , & self . maxz ) . finish ( ) } } impl :: std :: cmp :: PartialEq for D3DCLIPSTATUS { fn eq ( & self , other : & Self ) -> bool { self . dwFlags == other . dwFlags && self . dwStatus == other . dwStatus && self . minx == other . minx && self . maxx == other . maxx && self . miny == other . miny && self . maxy == other . maxy && self . minz == other . minz && self . maxz == other . maxz } } impl :: std :: cmp :: Eq for D3DCLIPSTATUS { } unsafe impl :: windows :: Abi for D3DCLIPSTATUS { type Abi = Self ; type DefaultType = Self ; } pub const D3DCLIPSTATUS_EXTENTS2 : i32 = 2i32 ; pub const D3DCLIPSTATUS_EXTENTS3 : i32 = 4i32 ; pub const D3DCLIPSTATUS_STATUS : i32 = 1i32 ; pub const D3DCLIP_BACK : i32 = 32i32 ; pub const D3DCLIP_BOTTOM : i32 = 8i32 ; pub const D3DCLIP_FRONT : i32 = 16i32 ; pub const D3DCLIP_GEN0 : i32 = 64i32 ; pub const D3DCLIP_GEN1 : i32 = 128i32 ; pub const D3DCLIP_GEN2 : i32 = 256i32 ; pub const D3DCLIP_GEN3 : i32 = 512i32 ; pub const D3DCLIP_GEN4 : i32 = 1024i32 ; pub const D3DCLIP_GEN5 : i32 = 2048i32 ; pub const D3DCLIP_LEFT : i32 = 1i32 ; pub const D3DCLIP_RIGHT : i32 = 2i32 ; pub const D3DCLIP_TOP : i32 = 4i32 ; pub const D3DCOLOR_MONO : u32 = 1u32 ; pub const D3DCOLOR_RGB : u32 = 2u32 ; pub const D3DDD_BCLIPPING : i32 = 16i32 ; pub const D3DDD_COLORMODEL : i32 = 1i32 ; pub const D3DDD_DEVCAPS : i32 = 2i32 ; pub const D3DDD_DEVICERENDERBITDEPTH : i32 = 128i32 ; pub const D3DDD_DEVICEZBUFFERBITDEPTH : i32 = 256i32 ; pub const D3DDD_LIGHTINGCAPS : i32 = 8i32 ; pub const D3DDD_LINECAPS : i32 = 32i32 ; pub const D3DDD_MAXBUFFERSIZE : i32 = 512i32 ; pub const D3DDD_MAXVERTEXCOUNT : i32 = 1024i32 ; pub const D3DDD_TRANSFORMCAPS : i32 = 4i32 ; pub const D3DDD_TRICAPS : i32 = 64i32 ; pub const D3DDEBCAPS_SYSTEMMEMORY : i32 = 1i32 ; pub const D3DDEBCAPS_VIDEOMEMORY : i32 = 2i32 ; pub const D3DDEB_BUFSIZE : i32 = 1i32 ; pub const D3DDEB_CAPS : i32 = 2i32 ; pub const D3DDEB_LPDATA : i32 = 4i32 ; pub const D3DDEVCAPS_CANBLTSYSTONONLOCAL : i32 = 131072i32 ; pub const D3DDEVCAPS_CANRENDERAFTERFLIP : i32 = 2048i32 ; pub const D3DDEVCAPS_DRAWPRIMITIVES2 : i32 = 8192i32 ; pub const D3DDEVCAPS_DRAWPRIMITIVES2EX : i32 = 32768i32 ; pub const D3DDEVCAPS_DRAWPRIMTLVERTEX : i32 = 1024i32 ; pub const D3DDEVCAPS_EXECUTESYSTEMMEMORY : i32 = 16i32 ; pub const D3DDEVCAPS_EXECUTEVIDEOMEMORY : i32 = 32i32 ; pub const D3DDEVCAPS_FLOATTLVERTEX : i32 = 1i32 ; pub const D3DDEVCAPS_HWRASTERIZATION : i32 = 524288i32 ; pub const D3DDEVCAPS_HWTRANSFORMANDLIGHT : i32 = 65536i32 ; pub const D3DDEVCAPS_SEPARATETEXTUREMEMORIES : i32 = 16384i32 ; pub const D3DDEVCAPS_SORTDECREASINGZ : i32 = 4i32 ; pub const D3DDEVCAPS_SORTEXACT : i32 = 8i32 ; pub const D3DDEVCAPS_SORTINCREASINGZ : i32 = 2i32 ; pub const D3DDEVCAPS_TEXTURENONLOCALVIDMEM : i32 = 4096i32 ; pub const D3DDEVCAPS_TEXTURESYSTEMMEMORY : i32 = 256i32 ; pub const D3DDEVCAPS_TEXTUREVIDEOMEMORY : i32 = 512i32 ; pub const D3DDEVCAPS_TLVERTEXSYSTEMMEMORY : i32 = 64i32 ; pub const D3DDEVCAPS_TLVERTEXVIDEOMEMORY : i32 = 128i32 ; pub const D3DDEVINFOID_D3DTEXTUREMANAGER : u32 = 2u32 ; pub const D3DDEVINFOID_TEXTUREMANAGER : u32 = 1u32 ; pub const D3DDEVINFOID_TEXTURING : u32 = 3u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct D3DDEVINFO_TEXTUREMANAGER { pub bThrashing : super::super::Foundation:: BOOL , pub dwApproxBytesDownloaded : u32 , pub dwNumEvicts : u32 , pub dwNumVidCreates : u32 , pub dwNumTexturesUsed : u32 , pub dwNumUsedTexInVid : u32 , pub dwWorkingSet : u32 , pub dwWorkingSetBytes : u32 , pub dwTotalManaged : u32 , pub dwTotalBytes : u32 , pub dwLastPri : u32 } impl D3DDEVINFO_TEXTUREMANAGER { } impl :: std :: default :: Default for D3DDEVINFO_TEXTUREMANAGER { fn default ( ) -> Self { Self { bThrashing : :: std :: default :: Default :: default ( ) , dwApproxBytesDownloaded : 0 , dwNumEvicts : 0 , dwNumVidCreates : 0 , dwNumTexturesUsed : 0 , dwNumUsedTexInVid : 0 , dwWorkingSet : 0 , dwWorkingSetBytes : 0 , dwTotalManaged : 0 , dwTotalBytes : 0 , dwLastPri : 0 } } } impl :: std :: fmt :: Debug for D3DDEVINFO_TEXTUREMANAGER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "D3DDEVINFO_TEXTUREMANAGER" ) . field ( "bThrashing" , & self . bThrashing ) . field ( "dwApproxBytesDownloaded" , & self . dwApproxBytesDownloaded ) . field ( "dwNumEvicts" , & self . dwNumEvicts ) . field ( "dwNumVidCreates" , & self . dwNumVidCreates ) . field ( "dwNumTexturesUsed" , & self . dwNumTexturesUsed ) . field ( "dwNumUsedTexInVid" , & self . dwNumUsedTexInVid ) . field ( "dwWorkingSet" , & self . dwWorkingSet ) . field ( "dwWorkingSetBytes" , & self . dwWorkingSetBytes ) . field ( "dwTotalManaged" , & self . dwTotalManaged ) . field ( "dwTotalBytes" , & self . dwTotalBytes ) . field ( "dwLastPri" , & self . dwLastPri ) . finish ( ) } } impl :: std :: cmp :: PartialEq for D3DDEVINFO_TEXTUREMANAGER { fn eq ( & self , other : & Self ) -> bool { self . bThrashing == other . bThrashing && self . dwApproxBytesDownloaded == other . dwApproxBytesDownloaded && self . dwNumEvicts == other . dwNumEvicts && self . dwNumVidCreates == other . dwNumVidCreates && self . dwNumTexturesUsed == other . dwNumTexturesUsed && self . dwNumUsedTexInVid == other . dwNumUsedTexInVid && self . dwWorkingSet == other . dwWorkingSet && self . dwWorkingSetBytes == other . dwWorkingSetBytes && self . dwTotalManaged == other . dwTotalManaged && self . dwTotalBytes == other . dwTotalBytes && self . dwLastPri == other . dwLastPri } } impl :: std :: cmp :: Eq for D3DDEVINFO_TEXTUREMANAGER { } unsafe impl :: windows :: Abi for D3DDEVINFO_TEXTUREMANAGER { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct D3DDEVINFO_TEXTURING { pub dwNumLoads : u32 , pub dwApproxBytesLoaded : u32 , pub dwNumPreLoads : u32 , pub dwNumSet : u32 , pub dwNumCreates : u32 , pub dwNumDestroys : u32 , pub dwNumSetPriorities : u32 , pub dwNumSetLODs : u32 , pub dwNumLocks : u32 , pub dwNumGetDCs : u32 } impl D3DDEVINFO_TEXTURING { } impl :: std :: default :: Default for D3DDEVINFO_TEXTURING { fn default ( ) -> Self { Self { dwNumLoads : 0 , dwApproxBytesLoaded : 0 , dwNumPreLoads : 0 , dwNumSet : 0 , dwNumCreates : 0 , dwNumDestroys : 0 , dwNumSetPriorities : 0 , dwNumSetLODs : 0 , dwNumLocks : 0 , dwNumGetDCs : 0 } } } impl :: std :: fmt :: Debug for D3DDEVINFO_TEXTURING { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "D3DDEVINFO_TEXTURING" ) . field ( "dwNumLoads" , & self . dwNumLoads ) . field ( "dwApproxBytesLoaded" , & self . dwApproxBytesLoaded ) . field ( "dwNumPreLoads" , & self . dwNumPreLoads ) . field ( "dwNumSet" , & self . dwNumSet ) . field ( "dwNumCreates" , & self . dwNumCreates ) . field ( "dwNumDestroys" , & self . dwNumDestroys ) . field ( "dwNumSetPriorities" , & self . dwNumSetPriorities ) . field ( "dwNumSetLODs" , & self . dwNumSetLODs ) . field ( "dwNumLocks" , & self . dwNumLocks ) . field ( "dwNumGetDCs" , & self . dwNumGetDCs ) . finish ( ) } } impl :: std :: cmp :: PartialEq for D3DDEVINFO_TEXTURING { fn eq ( & self , other : & Self ) -> bool { self . dwNumLoads == other . dwNumLoads && self . dwApproxBytesLoaded == other . dwApproxBytesLoaded && self . dwNumPreLoads == other . dwNumPreLoads && self . dwNumSet == other . dwNumSet && self . dwNumCreates == other . dwNumCreates && self . dwNumDestroys == other . dwNumDestroys && self . dwNumSetPriorities == other . dwNumSetPriorities && self . dwNumSetLODs == other . dwNumSetLODs && self . dwNumLocks == other . dwNumLocks && self . dwNumGetDCs == other . dwNumGetDCs } } impl :: std :: cmp :: Eq for D3DDEVINFO_TEXTURING { } unsafe impl :: windows :: Abi for D3DDEVINFO_TEXTURING { type Abi = Self ; type DefaultType = Self ; } pub const D3DDP_MAXTEXCOORD : u32 = 8u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct D3DDP_PTRSTRIDE { pub lpvData : * mut :: std :: ffi :: c_void , pub dwStride : u32 } impl D3DDP_PTRSTRIDE { } impl :: std :: default :: Default for D3DDP_PTRSTRIDE { fn default ( ) -> Self { Self { lpvData : :: std :: ptr :: null_mut ( ) , dwStride : 0 } } } impl :: std :: fmt :: Debug for D3DDP_PTRSTRIDE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "D3DDP_PTRSTRIDE" ) . field ( "lpvData" , & self . lpvData ) . field ( "dwStride" , & self . dwStride ) . finish ( ) } } impl :: std :: cmp :: PartialEq for D3DDP_PTRSTRIDE { fn eq ( & self , other : & Self ) -> bool { self . lpvData == other . lpvData && self . dwStride == other . dwStride } } impl :: std :: cmp :: Eq for D3DDP_PTRSTRIDE { } unsafe impl :: windows :: Abi for D3DDP_PTRSTRIDE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct D3DDRAWPRIMITIVESTRIDEDDATA { pub position : D3DDP_PTRSTRIDE , pub normal : D3DDP_PTRSTRIDE , pub diffuse : D3DDP_PTRSTRIDE , pub specular : D3DDP_PTRSTRIDE , pub textureCoords : [ D3DDP_PTRSTRIDE ;8 ] } impl D3DDRAWPRIMITIVESTRIDEDDATA { } impl :: std :: default :: Default for D3DDRAWPRIMITIVESTRIDEDDATA { fn default ( ) -> Self { Self { position : :: std :: default :: Default :: default ( ) , normal : :: std :: default :: Default :: default ( ) , diffuse : :: std :: default :: Default :: default ( ) , specular : :: std :: default :: Default :: default ( ) , textureCoords : [ :: std :: default :: Default :: default ( ) ;8 ] } } } impl :: std :: fmt :: Debug for D3DDRAWPRIMITIVESTRIDEDDATA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "D3DDRAWPRIMITIVESTRIDEDDATA" ) . field ( "position" , & self . position ) . field ( "normal" , & self . normal ) . field ( "diffuse" , & self . diffuse ) . field ( "specular" , & self . specular ) . field ( "textureCoords" , & self . textureCoords ) . finish ( ) } } impl :: std :: cmp :: PartialEq for D3DDRAWPRIMITIVESTRIDEDDATA { fn eq ( & self , other : & Self ) -> bool { self . position == other . position && self . normal == other . normal && self . diffuse == other . diffuse && self . specular == other . specular && self . textureCoords == other . textureCoords } } impl :: std :: cmp :: Eq for D3DDRAWPRIMITIVESTRIDEDDATA { } unsafe impl :: windows :: Abi for D3DDRAWPRIMITIVESTRIDEDDATA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct D3DEXECUTEDATA { pub dwSize : u32 , pub dwVertexOffset : u32 , pub dwVertexCount : u32 , pub dwInstructionOffset : u32 , pub dwInstructionLength : u32 , pub dwHVertexOffset : u32 , pub dsStatus : D3DSTATUS } impl D3DEXECUTEDATA { } impl :: std :: default :: Default for D3DEXECUTEDATA { fn default ( ) -> Self { Self { dwSize : 0 , dwVertexOffset : 0 , dwVertexCount : 0 , dwInstructionOffset : 0 , dwInstructionLength : 0 , dwHVertexOffset : 0 , dsStatus : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for D3DEXECUTEDATA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "D3DEXECUTEDATA" ) . field ( "dwSize" , & self . dwSize ) . field ( "dwVertexOffset" , & self . dwVertexOffset ) . field ( "dwVertexCount" , & self . dwVertexCount ) . field ( "dwInstructionOffset" , & self . dwInstructionOffset ) . field ( "dwInstructionLength" , & self . dwInstructionLength ) . field ( "dwHVertexOffset" , & self . dwHVertexOffset ) . field ( "dsStatus" , & self . dsStatus ) . finish ( ) } } impl :: std :: cmp :: PartialEq for D3DEXECUTEDATA { fn eq ( & self , other : & Self ) -> bool { self . dwSize == other . dwSize && self . dwVertexOffset == other . dwVertexOffset && self . dwVertexCount == other . dwVertexCount && self . dwInstructionOffset == other . dwInstructionOffset && self . dwInstructionLength == other . dwInstructionLength && self . dwHVertexOffset == other . dwHVertexOffset && self . dsStatus == other . dsStatus } } impl :: std :: cmp :: Eq for D3DEXECUTEDATA { } unsafe impl :: windows :: Abi for D3DEXECUTEDATA { type Abi = Self ; type DefaultType = Self ; } pub const D3DEXECUTE_CLIPPED : i32 = 1i32 ; pub const D3DEXECUTE_UNCLIPPED : i32 = 2i32 ; pub const D3DFDS_ALPHACMPCAPS : i32 = 256i32 ; pub const D3DFDS_COLORMODEL : i32 = 1i32 ; pub const D3DFDS_DSTBLENDCAPS : i32 = 1024i32 ; pub const D3DFDS_GUID : i32 = 2i32 ; pub const D3DFDS_HARDWARE : i32 = 4i32 ; pub const D3DFDS_LINES : i32 = 16i32 ; pub const D3DFDS_MISCCAPS : i32 = 32i32 ; pub const D3DFDS_RASTERCAPS : i32 = 64i32 ; pub const D3DFDS_SHADECAPS : i32 = 2048i32 ; pub const D3DFDS_SRCBLENDCAPS : i32 = 512i32 ; pub const D3DFDS_TEXTUREADDRESSCAPS : i32 = 32768i32 ; pub const D3DFDS_TEXTUREBLENDCAPS : i32 = 16384i32 ; pub const D3DFDS_TEXTURECAPS : i32 = 4096i32 ; pub const D3DFDS_TEXTUREFILTERCAPS : i32 = 8192i32 ; pub const D3DFDS_TRIANGLES : i32 = 8i32 ; pub const D3DFDS_ZCMPCAPS : i32 = 128i32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct D3DFINDDEVICERESULT { pub dwSize : u32 , pub guid : :: windows :: Guid , pub ddHwDesc : _D3DDeviceDesc , pub ddSwDesc : _D3DDeviceDesc } impl D3DFINDDEVICERESULT { } impl :: std :: default :: Default for D3DFINDDEVICERESULT { fn default ( ) -> Self { Self { dwSize : 0 , guid : :: std :: default :: Default :: default ( ) , ddHwDesc : :: std :: default :: Default :: default ( ) , ddSwDesc : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for D3DFINDDEVICERESULT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "D3DFINDDEVICERESULT" ) . field ( "dwSize" , & self . dwSize ) . field ( "guid" , & self . guid ) . field ( "ddHwDesc" , & self . ddHwDesc ) . field ( "ddSwDesc" , & self . ddSwDesc ) . finish ( ) } } impl :: std :: cmp :: PartialEq for D3DFINDDEVICERESULT { fn eq ( & self , other : & Self ) -> bool { self . dwSize == other . dwSize && self . guid == other . guid && self . ddHwDesc == other . ddHwDesc && self . ddSwDesc == other . ddSwDesc } } impl :: std :: cmp :: Eq for D3DFINDDEVICERESULT { } unsafe impl :: windows :: Abi for D3DFINDDEVICERESULT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct D3DFINDDEVICESEARCH { pub dwSize : u32 , pub dwFlags : u32 , pub bHardware : super::super::Foundation:: BOOL , pub dcmColorModel : u32 , pub guid : :: windows :: Guid , pub dwCaps : u32 , pub dpcPrimCaps : _D3DPrimCaps } impl D3DFINDDEVICESEARCH { } impl :: std :: default :: Default for D3DFINDDEVICESEARCH { fn default ( ) -> Self { Self { dwSize : 0 , dwFlags : 0 , bHardware : :: std :: default :: Default :: default ( ) , dcmColorModel : 0 , guid : :: std :: default :: Default :: default ( ) , dwCaps : 0 , dpcPrimCaps : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for D3DFINDDEVICESEARCH { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "D3DFINDDEVICESEARCH" ) . field ( "dwSize" , & self . dwSize ) . field ( "dwFlags" , & self . dwFlags ) . field ( "bHardware" , & self . bHardware ) . field ( "dcmColorModel" , & self . dcmColorModel ) . field ( "guid" , & self . guid ) . field ( "dwCaps" , & self . dwCaps ) . field ( "dpcPrimCaps" , & self . dpcPrimCaps ) . finish ( ) } } impl :: std :: cmp :: PartialEq for D3DFINDDEVICESEARCH { fn eq ( & self , other : & Self ) -> bool { self . dwSize == other . dwSize && self . dwFlags == other . dwFlags && self . bHardware == other . bHardware && self . dcmColorModel == other . dcmColorModel && self . guid == other . guid && self . dwCaps == other . dwCaps && self . dpcPrimCaps == other . dpcPrimCaps } } impl :: std :: cmp :: Eq for D3DFINDDEVICESEARCH { } unsafe impl :: windows :: Abi for D3DFINDDEVICESEARCH { type Abi = Self ; type DefaultType = Self ; } pub const D3DFVFCAPS_DONOTSTRIPELEMENTS : i32 = 524288i32 ; pub const D3DFVFCAPS_TEXCOORDCOUNTMASK : i32 = 65535i32 ; pub const D3DFVF_DIFFUSE : u32 = 64u32 ; pub const D3DFVF_NORMAL : u32 = 16u32 ; pub const D3DFVF_POSITION_MASK : u32 = 14u32 ; pub const D3DFVF_RESERVED0 : u32 = 1u32 ; pub const D3DFVF_RESERVED1 : u32 = 32u32 ; pub const D3DFVF_RESERVED2 : u32 = 61440u32 ; pub const D3DFVF_SPECULAR : u32 = 128u32 ; pub const D3DFVF_TEX0 : u32 = 0u32 ; pub const D3DFVF_TEX1 : u32 = 256u32 ; pub const D3DFVF_TEX2 : u32 = 512u32 ; pub const D3DFVF_TEX3 : u32 = 768u32 ; pub const D3DFVF_TEX4 : u32 = 1024u32 ; pub const D3DFVF_TEX5 : u32 = 1280u32 ; pub const D3DFVF_TEX6 : u32 = 1536u32 ; pub const D3DFVF_TEX7 : u32 = 1792u32 ; pub const D3DFVF_TEX8 : u32 = 2048u32 ; pub const D3DFVF_TEXCOUNT_MASK : u32 = 3840u32 ; pub const D3DFVF_TEXCOUNT_SHIFT : u32 = 8u32 ; pub const D3DFVF_TEXTUREFORMAT1 : u32 = 3u32 ; pub const D3DFVF_TEXTUREFORMAT2 : u32 = 0u32 ; pub const D3DFVF_TEXTUREFORMAT3 : u32 = 1u32 ; pub const D3DFVF_TEXTUREFORMAT4 : u32 = 2u32 ; pub const D3DFVF_XYZ : u32 = 2u32 ; pub const D3DFVF_XYZB1 : u32 = 6u32 ; pub const D3DFVF_XYZB2 : u32 = 8u32 ; pub const D3DFVF_XYZB3 : u32 = 10u32 ; pub const D3DFVF_XYZB4 : u32 = 12u32 ; pub const D3DFVF_XYZB5 : u32 = 14u32 ; pub const D3DFVF_XYZRHW : u32 = 4u32 ; pub const D3DHAL_SAMPLER_MAXSAMP : u32 = 16u32 ; pub const D3DHAL_SAMPLER_MAXVERTEXSAMP : u32 = 4u32 ; pub const D3DHAL_STATESETBEGIN : u32 = 0u32 ; pub const D3DHAL_STATESETCAPTURE : u32 = 4u32 ; pub const D3DHAL_STATESETDELETE : u32 = 2u32 ; pub const D3DHAL_STATESETEND : u32 = 1u32 ; pub const D3DHAL_STATESETEXECUTE : u32 = 3u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct D3DHVERTEX { pub dwFlags : u32 , pub Anonymous1 : D3DHVERTEX_0 , pub Anonymous2 : D3DHVERTEX_1 , pub Anonymous3 : D3DHVERTEX_2 } impl D3DHVERTEX { } impl :: std :: cmp :: PartialEq for D3DHVERTEX { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for D3DHVERTEX { } unsafe impl :: windows :: Abi for D3DHVERTEX { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union D3DHVERTEX_0 { pub hx : f32 , pub dvHX : f32 } impl D3DHVERTEX_0 { } impl :: std :: cmp :: PartialEq for D3DHVERTEX_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for D3DHVERTEX_0 { } unsafe impl :: windows :: Abi for D3DHVERTEX_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union D3DHVERTEX_1 { pub hy : f32 , pub dvHY : f32 } impl D3DHVERTEX_1 { } impl :: std :: cmp :: PartialEq for D3DHVERTEX_1 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for D3DHVERTEX_1 { } unsafe impl :: windows :: Abi for D3DHVERTEX_1 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union D3DHVERTEX_2 { pub hz : f32 , pub dvHZ : f32 } impl D3DHVERTEX_2 { } impl :: std :: cmp :: PartialEq for D3DHVERTEX_2 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for D3DHVERTEX_2 { } unsafe impl :: windows :: Abi for D3DHVERTEX_2 { type Abi = Self ; type DefaultType = Self ; } pub const D3DINFINITEINSTRUCTIONS : u32 = 4294967295u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct D3DINSTRUCTION { pub bOpcode : u8 , pub bSize : u8 , pub wCount : u16 } impl D3DINSTRUCTION { } impl :: std :: default :: Default for D3DINSTRUCTION { fn default ( ) -> Self { Self { bOpcode : 0 , bSize : 0 , wCount : 0 } } } impl :: std :: fmt :: Debug for D3DINSTRUCTION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "D3DINSTRUCTION" ) . field ( "bOpcode" , & self . bOpcode ) . field ( "bSize" , & self . bSize ) . field ( "wCount" , & self . wCount ) . finish ( ) } } impl :: std :: cmp :: PartialEq for D3DINSTRUCTION { fn eq ( & self , other : & Self ) -> bool { self . bOpcode == other . bOpcode && self . bSize == other . bSize && self . wCount == other . wCount } } impl :: std :: cmp :: Eq for D3DINSTRUCTION { } unsafe impl :: windows :: Abi for D3DINSTRUCTION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct D3DLIGHT { pub dwSize : u32 , pub dltType : super::super::Graphics::Direct3D9:: D3DLIGHTTYPE , pub dcvColor : super::super::Graphics::Direct3D9:: D3DCOLORVALUE , pub dvPosition : super::super::Graphics::Direct3D9:: D3DVECTOR , pub dvDirection : super::super::Graphics::Direct3D9:: D3DVECTOR , pub dvRange : f32 , pub dvFalloff : f32 , pub dvAttenuation0 : f32 , pub dvAttenuation1 : f32 , pub dvAttenuation2 : f32 , pub dvTheta : f32 , pub dvPhi : f32 } impl D3DLIGHT { } impl :: std :: default :: Default for D3DLIGHT { fn default ( ) -> Self { Self { dwSize : 0 , dltType : :: std :: default :: Default :: default ( ) , dcvColor : :: std :: default :: Default :: default ( ) , dvPosition : :: std :: default :: Default :: default ( ) , dvDirection : :: std :: default :: Default :: default ( ) , dvRange : 0.0 , dvFalloff : 0.0 , dvAttenuation0 : 0.0 , dvAttenuation1 : 0.0 , dvAttenuation2 : 0.0 , dvTheta : 0.0 , dvPhi : 0.0 } } } impl :: std :: fmt :: Debug for D3DLIGHT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "D3DLIGHT" ) . field ( "dwSize" , & self . dwSize ) . field ( "dltType" , & self . dltType ) . field ( "dcvColor" , & self . dcvColor ) . field ( "dvPosition" , & self . dvPosition ) . field ( "dvDirection" , & self . dvDirection ) . field ( "dvRange" , & self . dvRange ) . field ( "dvFalloff" , & self . dvFalloff ) . field ( "dvAttenuation0" , & self . dvAttenuation0 ) . field ( "dvAttenuation1" , & self . dvAttenuation1 ) . field ( "dvAttenuation2" , & self . dvAttenuation2 ) . field ( "dvTheta" , & self . dvTheta ) . field ( "dvPhi" , & self . dvPhi ) . finish ( ) } } impl :: std :: cmp :: PartialEq for D3DLIGHT { fn eq ( & self , other : & Self ) -> bool { self . dwSize == other . dwSize && self . dltType == other . dltType && self . dcvColor == other . dcvColor && self . dvPosition == other . dvPosition && self . dvDirection == other . dvDirection && self . dvRange == other . dvRange && self . dvFalloff == other . dvFalloff && self . dvAttenuation0 == other . dvAttenuation0 && self . dvAttenuation1 == other . dvAttenuation1 && self . dvAttenuation2 == other . dvAttenuation2 && self . dvTheta == other . dvTheta && self . dvPhi == other . dvPhi } } impl :: std :: cmp :: Eq for D3DLIGHT { } unsafe impl :: windows :: Abi for D3DLIGHT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct D3DLIGHT2 { pub dwSize : u32 , pub dltType : super::super::Graphics::Direct3D9:: D3DLIGHTTYPE , pub dcvColor : super::super::Graphics::Direct3D9:: D3DCOLORVALUE , pub dvPosition : super::super::Graphics::Direct3D9:: D3DVECTOR , pub dvDirection : super::super::Graphics::Direct3D9:: D3DVECTOR , pub dvRange : f32 , pub dvFalloff : f32 , pub dvAttenuation0 : f32 , pub dvAttenuation1 : f32 , pub dvAttenuation2 : f32 , pub dvTheta : f32 , pub dvPhi : f32 , pub dwFlags : u32 } impl D3DLIGHT2 { } impl :: std :: default :: Default for D3DLIGHT2 { fn default ( ) -> Self { Self { dwSize : 0 , dltType : :: std :: default :: Default :: default ( ) , dcvColor : :: std :: default :: Default :: default ( ) , dvPosition : :: std :: default :: Default :: default ( ) , dvDirection : :: std :: default :: Default :: default ( ) , dvRange : 0.0 , dvFalloff : 0.0 , dvAttenuation0 : 0.0 , dvAttenuation1 : 0.0 , dvAttenuation2 : 0.0 , dvTheta : 0.0 , dvPhi : 0.0 , dwFlags : 0 } } } impl :: std :: fmt :: Debug for D3DLIGHT2 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "D3DLIGHT2" ) . field ( "dwSize" , & self . dwSize ) . field ( "dltType" , & self . dltType ) . field ( "dcvColor" , & self . dcvColor ) . field ( "dvPosition" , & self . dvPosition ) . field ( "dvDirection" , & self . dvDirection ) . field ( "dvRange" , & self . dvRange ) . field ( "dvFalloff" , & self . dvFalloff ) . field ( "dvAttenuation0" , & self . dvAttenuation0 ) . field ( "dvAttenuation1" , & self . dvAttenuation1 ) . field ( "dvAttenuation2" , & self . dvAttenuation2 ) . field ( "dvTheta" , & self . dvTheta ) . field ( "dvPhi" , & self . dvPhi ) . field ( "dwFlags" , & self . dwFlags ) . finish ( ) } } impl :: std :: cmp :: PartialEq for D3DLIGHT2 { fn eq ( & self , other : & Self ) -> bool { self . dwSize == other . dwSize && self . dltType == other . dltType && self . dcvColor == other . dcvColor && self . dvPosition == other . dvPosition && self . dvDirection == other . dvDirection && self . dvRange == other . dvRange && self . dvFalloff == other . dvFalloff && self . dvAttenuation0 == other . dvAttenuation0 && self . dvAttenuation1 == other . dvAttenuation1 && self . dvAttenuation2 == other . dvAttenuation2 && self . dvTheta == other . dvTheta && self . dvPhi == other . dvPhi && self . dwFlags == other . dwFlags } } impl :: std :: cmp :: Eq for D3DLIGHT2 { } unsafe impl :: windows :: Abi for D3DLIGHT2 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct D3DLIGHT7 { pub dltType : super::super::Graphics::Direct3D9:: D3DLIGHTTYPE , pub dcvDiffuse : super::super::Graphics::Direct3D9:: D3DCOLORVALUE , pub dcvSpecular : super::super::Graphics::Direct3D9:: D3DCOLORVALUE , pub dcvAmbient : super::super::Graphics::Direct3D9:: D3DCOLORVALUE , pub dvPosition : super::super::Graphics::Direct3D9:: D3DVECTOR , pub dvDirection : super::super::Graphics::Direct3D9:: D3DVECTOR , pub dvRange : f32 , pub dvFalloff : f32 , pub dvAttenuation0 : f32 , pub dvAttenuation1 : f32 , pub dvAttenuation2 : f32 , pub dvTheta : f32 , pub dvPhi : f32 } impl D3DLIGHT7 { } impl :: std :: default :: Default for D3DLIGHT7 { fn default ( ) -> Self { Self { dltType : :: std :: default :: Default :: default ( ) , dcvDiffuse : :: std :: default :: Default :: default ( ) , dcvSpecular : :: std :: default :: Default :: default ( ) , dcvAmbient : :: std :: default :: Default :: default ( ) , dvPosition : :: std :: default :: Default :: default ( ) , dvDirection : :: std :: default :: Default :: default ( ) , dvRange : 0.0 , dvFalloff : 0.0 , dvAttenuation0 : 0.0 , dvAttenuation1 : 0.0 , dvAttenuation2 : 0.0 , dvTheta : 0.0 , dvPhi : 0.0 } } } impl :: std :: fmt :: Debug for D3DLIGHT7 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "D3DLIGHT7" ) . field ( "dltType" , & self . dltType ) . field ( "dcvDiffuse" , & self . dcvDiffuse ) . field ( "dcvSpecular" , & self . dcvSpecular ) . field ( "dcvAmbient" , & self . dcvAmbient ) . field ( "dvPosition" , & self . dvPosition ) . field ( "dvDirection" , & self . dvDirection ) . field ( "dvRange" , & self . dvRange ) . field ( "dvFalloff" , & self . dvFalloff ) . field ( "dvAttenuation0" , & self . dvAttenuation0 ) . field ( "dvAttenuation1" , & self . dvAttenuation1 ) . field ( "dvAttenuation2" , & self . dvAttenuation2 ) . field ( "dvTheta" , & self . dvTheta ) . field ( "dvPhi" , & self . dvPhi ) . finish ( ) } } impl :: std :: cmp :: PartialEq for D3DLIGHT7 { fn eq ( & self , other : & Self ) -> bool { self . dltType == other . dltType && self . dcvDiffuse == other . dcvDiffuse && self . dcvSpecular == other . dcvSpecular && self . dcvAmbient == other . dcvAmbient && self . dvPosition == other . dvPosition && self . dvDirection == other . dvDirection && self . dvRange == other . dvRange && self . dvFalloff == other . dvFalloff && self . dvAttenuation0 == other . dvAttenuation0 && self . dvAttenuation1 == other . dvAttenuation1 && self . dvAttenuation2 == other . dvAttenuation2 && self . dvTheta == other . dvTheta && self . dvPhi == other . dvPhi } } impl :: std :: cmp :: Eq for D3DLIGHT7 { } unsafe impl :: windows :: Abi for D3DLIGHT7 { type Abi = Self ; type DefaultType = Self ; } pub const D3DLIGHTCAPS_DIRECTIONAL : i32 = 4i32 ; pub const D3DLIGHTCAPS_GLSPOT : i32 = 16i32 ; pub const D3DLIGHTCAPS_PARALLELPOINT : i32 = 8i32 ; pub const D3DLIGHTCAPS_POINT : i32 = 1i32 ; pub const D3DLIGHTCAPS_SPOT : i32 = 2i32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct D3DLIGHTDATA { pub dwSize : u32 , pub lpIn : * mut D3DLIGHTINGELEMENT , pub dwInSize : u32 , pub lpOut : * mut D3DTLVERTEX , pub dwOutSize : u32 } impl D3DLIGHTDATA { } impl :: std :: default :: Default for D3DLIGHTDATA { fn default ( ) -> Self { Self { dwSize : 0 , lpIn : :: std :: ptr :: null_mut ( ) , dwInSize : 0 , lpOut : :: std :: ptr :: null_mut ( ) , dwOutSize : 0 } } } impl :: std :: fmt :: Debug for D3DLIGHTDATA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "D3DLIGHTDATA" ) . field ( "dwSize" , & self . dwSize ) . field ( "lpIn" , & self . lpIn ) . field ( "dwInSize" , & self . dwInSize ) . field ( "lpOut" , & self . lpOut ) . field ( "dwOutSize" , & self . dwOutSize ) . finish ( ) } } impl :: std :: cmp :: PartialEq for D3DLIGHTDATA { fn eq ( & self , other : & Self ) -> bool { self . dwSize == other . dwSize && self . lpIn == other . lpIn && self . dwInSize == other . dwInSize && self . lpOut == other . lpOut && self . dwOutSize == other . dwOutSize } } impl :: std :: cmp :: Eq for D3DLIGHTDATA { } unsafe impl :: windows :: Abi for D3DLIGHTDATA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct D3DLIGHTINGCAPS { pub dwSize : u32 , pub dwCaps : u32 , pub dwLightingModel : u32 , pub dwNumLights : u32 } impl D3DLIGHTINGCAPS { } impl :: std :: default :: Default for D3DLIGHTINGCAPS { fn default ( ) -> Self { Self { dwSize : 0 , dwCaps : 0 , dwLightingModel : 0 , dwNumLights : 0 } } } impl :: std :: fmt :: Debug for D3DLIGHTINGCAPS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "D3DLIGHTINGCAPS" ) . field ( "dwSize" , & self . dwSize ) . field ( "dwCaps" , & self . dwCaps ) . field ( "dwLightingModel" , & self . dwLightingModel ) . field ( "dwNumLights" , & self . dwNumLights ) . finish ( ) } } impl :: std :: cmp :: PartialEq for D3DLIGHTINGCAPS { fn eq ( & self , other : & Self ) -> bool { self . dwSize == other . dwSize && self . dwCaps == other . dwCaps && self . dwLightingModel == other . dwLightingModel && self . dwNumLights == other . dwNumLights } } impl :: std :: cmp :: Eq for D3DLIGHTINGCAPS { } unsafe impl :: windows :: Abi for D3DLIGHTINGCAPS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct D3DLIGHTINGELEMENT { pub dvPosition : super::super::Graphics::Direct3D9:: D3DVECTOR , pub dvNormal : super::super::Graphics::Direct3D9:: D3DVECTOR } impl D3DLIGHTINGELEMENT { } impl :: std :: default :: Default for D3DLIGHTINGELEMENT { fn default ( ) -> Self { Self { dvPosition : :: std :: default :: Default :: default ( ) , dvNormal : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for D3DLIGHTINGELEMENT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "D3DLIGHTINGELEMENT" ) . field ( "dvPosition" , & self . dvPosition ) . field ( "dvNormal" , & self . dvNormal ) . finish ( ) } } impl :: std :: cmp :: PartialEq for D3DLIGHTINGELEMENT { fn eq ( & self , other : & Self ) -> bool { self . dvPosition == other . dvPosition && self . dvNormal == other . dvNormal } } impl :: std :: cmp :: Eq for D3DLIGHTINGELEMENT { } unsafe impl :: windows :: Abi for D3DLIGHTINGELEMENT { type Abi = Self ; type DefaultType = Self ; } pub const D3DLIGHTINGMODEL_MONO : i32 = 2i32 ; pub const D3DLIGHTINGMODEL_RGB : i32 = 1i32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct D3DLIGHTSTATETYPE ( pub i32 ) ; pub const D3DLIGHTSTATE_MATERIAL : D3DLIGHTSTATETYPE = D3DLIGHTSTATETYPE ( 1i32 ) ; pub const D3DLIGHTSTATE_AMBIENT : D3DLIGHTSTATETYPE = D3DLIGHTSTATETYPE ( 2i32 ) ; pub const D3DLIGHTSTATE_COLORMODEL : D3DLIGHTSTATETYPE = D3DLIGHTSTATETYPE ( 3i32 ) ; pub const D3DLIGHTSTATE_FOGMODE : D3DLIGHTSTATETYPE = D3DLIGHTSTATETYPE ( 4i32 ) ; pub const D3DLIGHTSTATE_FOGSTART : D3DLIGHTSTATETYPE = D3DLIGHTSTATETYPE ( 5i32 ) ; pub const D3DLIGHTSTATE_FOGEND : D3DLIGHTSTATETYPE = D3DLIGHTSTATETYPE ( 6i32 ) ; pub const D3DLIGHTSTATE_FOGDENSITY : D3DLIGHTSTATETYPE = D3DLIGHTSTATETYPE ( 7i32 ) ; pub const D3DLIGHTSTATE_COLORVERTEX : D3DLIGHTSTATETYPE = D3DLIGHTSTATETYPE ( 8i32 ) ; pub const D3DLIGHTSTATE_FORCE_DWORD : D3DLIGHTSTATETYPE = D3DLIGHTSTATETYPE ( 2147483647i32 ) ; impl :: std :: convert :: From < i32 > for D3DLIGHTSTATETYPE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for D3DLIGHTSTATETYPE { type Abi = Self ; type DefaultType = Self ; } pub const D3DLIGHT_ACTIVE : u32 = 1u32 ; pub const D3DLIGHT_NO_SPECULAR : u32 = 2u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct D3DLINE { pub Anonymous1 : D3DLINE_0 , pub Anonymous2 : D3DLINE_1 } impl D3DLINE { } impl :: std :: cmp :: PartialEq for D3DLINE { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for D3DLINE { } unsafe impl :: windows :: Abi for D3DLINE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union D3DLINE_0 { pub v1 : u16 , pub wV1 : u16 } impl D3DLINE_0 { } impl :: std :: cmp :: PartialEq for D3DLINE_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for D3DLINE_0 { } unsafe impl :: windows :: Abi for D3DLINE_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union D3DLINE_1 { pub v2 : u16 , pub wV2 : u16 } impl D3DLINE_1 { } impl :: std :: cmp :: PartialEq for D3DLINE_1 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for D3DLINE_1 { } unsafe impl :: windows :: Abi for D3DLINE_1 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct D3DLINEPATTERN { pub wRepeatFactor : u16 , pub wLinePattern : u16 } impl D3DLINEPATTERN { } impl :: std :: default :: Default for D3DLINEPATTERN { fn default ( ) -> Self { Self { wRepeatFactor : 0 , wLinePattern : 0 } } } impl :: std :: fmt :: Debug for D3DLINEPATTERN { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "D3DLINEPATTERN" ) . field ( "wRepeatFactor" , & self . wRepeatFactor ) . field ( "wLinePattern" , & self . wLinePattern ) . finish ( ) } } impl :: std :: cmp :: PartialEq for D3DLINEPATTERN { fn eq ( & self , other : & Self ) -> bool { self . wRepeatFactor == other . wRepeatFactor && self . wLinePattern == other . wLinePattern } } impl :: std :: cmp :: Eq for D3DLINEPATTERN { } unsafe impl :: windows :: Abi for D3DLINEPATTERN { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct D3DLVERTEX { pub Anonymous1 : D3DLVERTEX_0 , pub Anonymous2 : D3DLVERTEX_1 , pub Anonymous3 : D3DLVERTEX_2 , pub dwReserved : u32 , pub Anonymous4 : D3DLVERTEX_3 , pub Anonymous5 : D3DLVERTEX_4 , pub Anonymous6 : D3DLVERTEX_5 , pub Anonymous7 : D3DLVERTEX_6 } impl D3DLVERTEX { } impl :: std :: cmp :: PartialEq for D3DLVERTEX { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for D3DLVERTEX { } unsafe impl :: windows :: Abi for D3DLVERTEX { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union D3DLVERTEX_0 { pub x : f32 , pub dvX : f32 } impl D3DLVERTEX_0 { } impl :: std :: cmp :: PartialEq for D3DLVERTEX_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for D3DLVERTEX_0 { } unsafe impl :: windows :: Abi for D3DLVERTEX_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union D3DLVERTEX_1 { pub y : f32 , pub dvY : f32 } impl D3DLVERTEX_1 { } impl :: std :: cmp :: PartialEq for D3DLVERTEX_1 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for D3DLVERTEX_1 { } unsafe impl :: windows :: Abi for D3DLVERTEX_1 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union D3DLVERTEX_2 { pub z : f32 , pub dvZ : f32 } impl D3DLVERTEX_2 { } impl :: std :: cmp :: PartialEq for D3DLVERTEX_2 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for D3DLVERTEX_2 { } unsafe impl :: windows :: Abi for D3DLVERTEX_2 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union D3DLVERTEX_3 { pub color : u32 , pub dcColor : u32 } impl D3DLVERTEX_3 { } impl :: std :: cmp :: PartialEq for D3DLVERTEX_3 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for D3DLVERTEX_3 { } unsafe impl :: windows :: Abi for D3DLVERTEX_3 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union D3DLVERTEX_4 { pub specular : u32 , pub dcSpecular : u32 } impl D3DLVERTEX_4 { } impl :: std :: cmp :: PartialEq for D3DLVERTEX_4 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for D3DLVERTEX_4 { } unsafe impl :: windows :: Abi for D3DLVERTEX_4 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union D3DLVERTEX_5 { pub tu : f32 , pub dvTU : f32 } impl D3DLVERTEX_5 { } impl :: std :: cmp :: PartialEq for D3DLVERTEX_5 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for D3DLVERTEX_5 { } unsafe impl :: windows :: Abi for D3DLVERTEX_5 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union D3DLVERTEX_6 { pub tv : f32 , pub dvTV : f32 } impl D3DLVERTEX_6 { } impl :: std :: cmp :: PartialEq for D3DLVERTEX_6 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for D3DLVERTEX_6 { } unsafe impl :: windows :: Abi for D3DLVERTEX_6 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct D3DMATERIAL { pub dwSize : u32 , pub Anonymous1 : D3DMATERIAL_0 , pub Anonymous2 : D3DMATERIAL_1 , pub Anonymous3 : D3DMATERIAL_2 , pub Anonymous4 : D3DMATERIAL_3 , pub Anonymous5 : D3DMATERIAL_4 , pub hTexture : u32 , pub dwRampSize : u32 } impl D3DMATERIAL { } impl :: std :: cmp :: PartialEq for D3DMATERIAL { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for D3DMATERIAL { } unsafe impl :: windows :: Abi for D3DMATERIAL { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union D3DMATERIAL_0 { pub diffuse : super::super::Graphics::Direct3D9:: D3DCOLORVALUE , pub dcvDiffuse : super::super::Graphics::Direct3D9:: D3DCOLORVALUE } impl D3DMATERIAL_0 { } impl :: std :: cmp :: PartialEq for D3DMATERIAL_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for D3DMATERIAL_0 { } unsafe impl :: windows :: Abi for D3DMATERIAL_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union D3DMATERIAL_1 { pub ambient : super::super::Graphics::Direct3D9:: D3DCOLORVALUE , pub dcvAmbient : super::super::Graphics::Direct3D9:: D3DCOLORVALUE } impl D3DMATERIAL_1 { } impl :: std :: cmp :: PartialEq for D3DMATERIAL_1 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for D3DMATERIAL_1 { } unsafe impl :: windows :: Abi for D3DMATERIAL_1 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union D3DMATERIAL_2 { pub specular : super::super::Graphics::Direct3D9:: D3DCOLORVALUE , pub dcvSpecular : super::super::Graphics::Direct3D9:: D3DCOLORVALUE } impl D3DMATERIAL_2 { } impl :: std :: cmp :: PartialEq for D3DMATERIAL_2 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for D3DMATERIAL_2 { } unsafe impl :: windows :: Abi for D3DMATERIAL_2 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union D3DMATERIAL_3 { pub emissive : super::super::Graphics::Direct3D9:: D3DCOLORVALUE , pub dcvEmissive : super::super::Graphics::Direct3D9:: D3DCOLORVALUE } impl D3DMATERIAL_3 { } impl :: std :: cmp :: PartialEq for D3DMATERIAL_3 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for D3DMATERIAL_3 { } unsafe impl :: windows :: Abi for D3DMATERIAL_3 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union D3DMATERIAL_4 { pub power : f32 , pub dvPower : f32 } impl D3DMATERIAL_4 { } impl :: std :: cmp :: PartialEq for D3DMATERIAL_4 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for D3DMATERIAL_4 { } unsafe impl :: windows :: Abi for D3DMATERIAL_4 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct D3DMATERIAL7 { pub Anonymous1 : D3DMATERIAL7_0 , pub Anonymous2 : D3DMATERIAL7_1 , pub Anonymous3 : D3DMATERIAL7_2 , pub Anonymous4 : D3DMATERIAL7_3 , pub Anonymous5 : D3DMATERIAL7_4 } impl D3DMATERIAL7 { } impl :: std :: cmp :: PartialEq for D3DMATERIAL7 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for D3DMATERIAL7 { } unsafe impl :: windows :: Abi for D3DMATERIAL7 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union D3DMATERIAL7_0 { pub diffuse : super::super::Graphics::Direct3D9:: D3DCOLORVALUE , pub dcvDiffuse : super::super::Graphics::Direct3D9:: D3DCOLORVALUE } impl D3DMATERIAL7_0 { } impl :: std :: cmp :: PartialEq for D3DMATERIAL7_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for D3DMATERIAL7_0 { } unsafe impl :: windows :: Abi for D3DMATERIAL7_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union D3DMATERIAL7_1 { pub ambient : super::super::Graphics::Direct3D9:: D3DCOLORVALUE , pub dcvAmbient : super::super::Graphics::Direct3D9:: D3DCOLORVALUE } impl D3DMATERIAL7_1 { } impl :: std :: cmp :: PartialEq for D3DMATERIAL7_1 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for D3DMATERIAL7_1 { } unsafe impl :: windows :: Abi for D3DMATERIAL7_1 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union D3DMATERIAL7_2 { pub specular : super::super::Graphics::Direct3D9:: D3DCOLORVALUE , pub dcvSpecular : super::super::Graphics::Direct3D9:: D3DCOLORVALUE } impl D3DMATERIAL7_2 { } impl :: std :: cmp :: PartialEq for D3DMATERIAL7_2 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for D3DMATERIAL7_2 { } unsafe impl :: windows :: Abi for D3DMATERIAL7_2 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union D3DMATERIAL7_3 { pub emissive : super::super::Graphics::Direct3D9:: D3DCOLORVALUE , pub dcvEmissive : super::super::Graphics::Direct3D9:: D3DCOLORVALUE } impl D3DMATERIAL7_3 { } impl :: std :: cmp :: PartialEq for D3DMATERIAL7_3 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for D3DMATERIAL7_3 { } unsafe impl :: windows :: Abi for D3DMATERIAL7_3 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union D3DMATERIAL7_4 { pub power : f32 , pub dvPower : f32 } impl D3DMATERIAL7_4 { } impl :: std :: cmp :: PartialEq for D3DMATERIAL7_4 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for D3DMATERIAL7_4 { } unsafe impl :: windows :: Abi for D3DMATERIAL7_4 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct D3DMATRIXLOAD { pub hDestMatrix : u32 , pub hSrcMatrix : u32 } impl D3DMATRIXLOAD { } impl :: std :: default :: Default for D3DMATRIXLOAD { fn default ( ) -> Self { Self { hDestMatrix : 0 , hSrcMatrix : 0 } } } impl :: std :: fmt :: Debug for D3DMATRIXLOAD { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "D3DMATRIXLOAD" ) . field ( "hDestMatrix" , & self . hDestMatrix ) . field ( "hSrcMatrix" , & self . hSrcMatrix ) . finish ( ) } } impl :: std :: cmp :: PartialEq for D3DMATRIXLOAD { fn eq ( & self , other : & Self ) -> bool { self . hDestMatrix == other . hDestMatrix && self . hSrcMatrix == other . hSrcMatrix } } impl :: std :: cmp :: Eq for D3DMATRIXLOAD { } unsafe impl :: windows :: Abi for D3DMATRIXLOAD { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct D3DMATRIXMULTIPLY { pub hDestMatrix : u32 , pub hSrcMatrix1 : u32 , pub hSrcMatrix2 : u32 } impl D3DMATRIXMULTIPLY { } impl :: std :: default :: Default for D3DMATRIXMULTIPLY { fn default ( ) -> Self { Self { hDestMatrix : 0 , hSrcMatrix1 : 0 , hSrcMatrix2 : 0 } } } impl :: std :: fmt :: Debug for D3DMATRIXMULTIPLY { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "D3DMATRIXMULTIPLY" ) . field ( "hDestMatrix" , & self . hDestMatrix ) . field ( "hSrcMatrix1" , & self . hSrcMatrix1 ) . field ( "hSrcMatrix2" , & self . hSrcMatrix2 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for D3DMATRIXMULTIPLY { fn eq ( & self , other : & Self ) -> bool { self . hDestMatrix == other . hDestMatrix && self . hSrcMatrix1 == other . hSrcMatrix1 && self . hSrcMatrix2 == other . hSrcMatrix2 } } impl :: std :: cmp :: Eq for D3DMATRIXMULTIPLY { } unsafe impl :: windows :: Abi for D3DMATRIXMULTIPLY { type Abi = Self ; type DefaultType = Self ; } pub const D3DMAXUSERCLIPPLANES : u32 = 32u32 ; pub const D3DNTCLEAR_COMPUTERECTS : i32 = 8i32 ; pub const D3DNTHAL2_CB32_SETRENDERTARGET : i32 = 1i32 ; pub const D3DNTHAL3_CB32_CLEAR2 : i32 = 1i32 ; pub const D3DNTHAL3_CB32_DRAWPRIMITIVES2 : i32 = 8i32 ; pub const D3DNTHAL3_CB32_RESERVED : i32 = 2i32 ; pub const D3DNTHAL3_CB32_VALIDATETEXTURESTAGESTATE : i32 = 4i32 ; pub const D3DNTHALDP2_EXECUTEBUFFER : i32 = 2i32 ; pub const D3DNTHALDP2_REQCOMMANDBUFSIZE : i32 = 32i32 ; pub const D3DNTHALDP2_REQVERTEXBUFSIZE : i32 = 16i32 ; pub const D3DNTHALDP2_SWAPCOMMANDBUFFER : i32 = 8i32 ; pub const D3DNTHALDP2_SWAPVERTEXBUFFER : i32 = 4i32 ; pub const D3DNTHALDP2_USERMEMVERTICES : i32 = 1i32 ; pub const D3DNTHALDP2_VIDMEMCOMMANDBUF : i32 = 128i32 ; pub const D3DNTHALDP2_VIDMEMVERTEXBUF : i32 = 64i32 ; # [ derive ( :: std :: clone :: Clone ) ] # [ repr ( C ) ] pub struct D3DNTHAL_CALLBACKS { pub dwSize : u32 , pub ContextCreate : :: std :: option :: Option < LPD3DNTHAL_CONTEXTCREATECB > , pub ContextDestroy : :: std :: option :: Option < LPD3DNTHAL_CONTEXTDESTROYCB > , pub ContextDestroyAll : :: std :: option :: Option < LPD3DNTHAL_CONTEXTDESTROYALLCB > , pub SceneCapture : :: std :: option :: Option < LPD3DNTHAL_SCENECAPTURECB > , pub dwReserved10 : * mut :: std :: ffi :: c_void , pub dwReserved11 : * mut :: std :: ffi :: c_void , pub dwReserved22 : * mut :: std :: ffi :: c_void , pub dwReserved23 : * mut :: std :: ffi :: c_void , pub dwReserved : usize , pub TextureCreate : :: std :: option :: Option < LPD3DNTHAL_TEXTURECREATECB > , pub TextureDestroy : :: std :: option :: Option < LPD3DNTHAL_TEXTUREDESTROYCB > , pub TextureSwap : :: std :: option :: Option < LPD3DNTHAL_TEXTURESWAPCB > , pub TextureGetSurf : :: std :: option :: Option < LPD3DNTHAL_TEXTUREGETSURFCB > , pub dwReserved12 : * mut :: std :: ffi :: c_void , pub dwReserved13 : * mut :: std :: ffi :: c_void , pub dwReserved14 : * mut :: std :: ffi :: c_void , pub dwReserved15 : * mut :: std :: ffi :: c_void , pub dwReserved16 : * mut :: std :: ffi :: c_void , pub dwReserved17 : * mut :: std :: ffi :: c_void , pub dwReserved18 : * mut :: std :: ffi :: c_void , pub dwReserved19 : * mut :: std :: ffi :: c_void , pub dwReserved20 : * mut :: std :: ffi :: c_void , pub dwReserved21 : * mut :: std :: ffi :: c_void , pub dwReserved24 : * mut :: std :: ffi :: c_void , pub dwReserved0 : usize , pub dwReserved1 : usize , pub dwReserved2 : usize , pub dwReserved3 : usize , pub dwReserved4 : usize , pub dwReserved5 : usize , pub dwReserved6 : usize , pub dwReserved7 : usize , pub dwReserved8 : usize , pub dwReserved9 : usize } impl D3DNTHAL_CALLBACKS { } impl :: std :: default :: Default for D3DNTHAL_CALLBACKS { fn default ( ) -> Self { Self { dwSize : 0 , ContextCreate : :: std :: default :: Default :: default ( ) , ContextDestroy : :: std :: default :: Default :: default ( ) , ContextDestroyAll : :: std :: default :: Default :: default ( ) , SceneCapture : :: std :: default :: Default :: default ( ) , dwReserved10 : :: std :: ptr :: null_mut ( ) , dwReserved11 : :: std :: ptr :: null_mut ( ) , dwReserved22 : :: std :: ptr :: null_mut ( ) , dwReserved23 : :: std :: ptr :: null_mut ( ) , dwReserved : 0 , TextureCreate : :: std :: default :: Default :: default ( ) , TextureDestroy : :: std :: default :: Default :: default ( ) , TextureSwap : :: std :: default :: Default :: default ( ) , TextureGetSurf : :: std :: default :: Default :: default ( ) , dwReserved12 : :: std :: ptr :: null_mut ( ) , dwReserved13 : :: std :: ptr :: null_mut ( ) , dwReserved14 : :: std :: ptr :: null_mut ( ) , dwReserved15 : :: std :: ptr :: null_mut ( ) , dwReserved16 : :: std :: ptr :: null_mut ( ) , dwReserved17 : :: std :: ptr :: null_mut ( ) , dwReserved18 : :: std :: ptr :: null_mut ( ) , dwReserved19 : :: std :: ptr :: null_mut ( ) , dwReserved20 : :: std :: ptr :: null_mut ( ) , dwReserved21 : :: std :: ptr :: null_mut ( ) , dwReserved24 : :: std :: ptr :: null_mut ( ) , dwReserved0 : 0 , dwReserved1 : 0 , dwReserved2 : 0 , dwReserved3 : 0 , dwReserved4 : 0 , dwReserved5 : 0 , dwReserved6 : 0 , dwReserved7 : 0 , dwReserved8 : 0 , dwReserved9 : 0 } } } impl :: std :: fmt :: Debug for D3DNTHAL_CALLBACKS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "D3DNTHAL_CALLBACKS" ) . field ( "dwSize" , & self . dwSize ) . field ( "dwReserved10" , & self . dwReserved10 ) . field ( "dwReserved11" , & self . dwReserved11 ) . field ( "dwReserved22" , & self . dwReserved22 ) . field ( "dwReserved23" , & self . dwReserved23 ) . field ( "dwReserved" , & self . dwReserved ) . field ( "dwReserved12" , & self . dwReserved12 ) . field ( "dwReserved13" , & self . dwReserved13 ) . field ( "dwReserved14" , & self . dwReserved14 ) . field ( "dwReserved15" , & self . dwReserved15 ) . field ( "dwReserved16" , & self . dwReserved16 ) . field ( "dwReserved17" , & self . dwReserved17 ) . field ( "dwReserved18" , & self . dwReserved18 ) . field ( "dwReserved19" , & self . dwReserved19 ) . field ( "dwReserved20" , & self . dwReserved20 ) . field ( "dwReserved21" , & self . dwReserved21 ) . field ( "dwReserved24" , & self . dwReserved24 ) . field ( "dwReserved0" , & self . dwReserved0 ) . field ( "dwReserved1" , & self . dwReserved1 ) . field ( "dwReserved2" , & self . dwReserved2 ) . field ( "dwReserved3" , & self . dwReserved3 ) . field ( "dwReserved4" , & self . dwReserved4 ) . field ( "dwReserved5" , & self . dwReserved5 ) . field ( "dwReserved6" , & self . dwReserved6 ) . field ( "dwReserved7" , & self . dwReserved7 ) . field ( "dwReserved8" , & self . dwReserved8 ) . field ( "dwReserved9" , & self . dwReserved9 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for D3DNTHAL_CALLBACKS { fn eq ( & self , other : & Self ) -> bool { self . dwSize == other . dwSize && self . ContextCreate . map ( | f | f as usize ) == other . ContextCreate . map ( | f | f as usize ) && self . ContextDestroy . map ( | f | f as usize ) == other . ContextDestroy . map ( | f | f as usize ) && self . ContextDestroyAll . map ( | f | f as usize ) == other . ContextDestroyAll . map ( | f | f as usize ) && self . SceneCapture . map ( | f | f as usize ) == other . SceneCapture . map ( | f | f as usize ) && self . dwReserved10 == other . dwReserved10 && self . dwReserved11 == other . dwReserved11 && self . dwReserved22 == other . dwReserved22 && self . dwReserved23 == other . dwReserved23 && self . dwReserved == other . dwReserved && self . TextureCreate . map ( | f | f as usize ) == other . TextureCreate . map ( | f | f as usize ) && self . TextureDestroy . map ( | f | f as usize ) == other . TextureDestroy . map ( | f | f as usize ) && self . TextureSwap . map ( | f | f as usize ) == other . TextureSwap . map ( | f | f as usize ) && self . TextureGetSurf . map ( | f | f as usize ) == other . TextureGetSurf . map ( | f | f as usize ) && self . dwReserved12 == other . dwReserved12 && self . dwReserved13 == other . dwReserved13 && self . dwReserved14 == other . dwReserved14 && self . dwReserved15 == other . dwReserved15 && self . dwReserved16 == other . dwReserved16 && self . dwReserved17 == other . dwReserved17 && self . dwReserved18 == other . dwReserved18 && self . dwReserved19 == other . dwReserved19 && self . dwReserved20 == other . dwReserved20 && self . dwReserved21 == other . dwReserved21 && self . dwReserved24 == other . dwReserved24 && self . dwReserved0 == other . dwReserved0 && self . dwReserved1 == other . dwReserved1 && self . dwReserved2 == other . dwReserved2 && self . dwReserved3 == other . dwReserved3 && self . dwReserved4 == other . dwReserved4 && self . dwReserved5 == other . dwReserved5 && self . dwReserved6 == other . dwReserved6 && self . dwReserved7 == other . dwReserved7 && self . dwReserved8 == other . dwReserved8 && self . dwReserved9 == other . dwReserved9 } } impl :: std :: cmp :: Eq for D3DNTHAL_CALLBACKS { } # [ repr ( C ) ] # [ doc ( hidden ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct D3DNTHAL_CALLBACKS_abi { pub dwSize : u32 , pub ContextCreate : :: windows :: RawPtr , pub ContextDestroy : :: windows :: RawPtr , pub ContextDestroyAll : :: windows :: RawPtr , pub SceneCapture : :: windows :: RawPtr , pub dwReserved10 : * mut :: std :: ffi :: c_void , pub dwReserved11 : * mut :: std :: ffi :: c_void , pub dwReserved22 : * mut :: std :: ffi :: c_void , pub dwReserved23 : * mut :: std :: ffi :: c_void , pub dwReserved : usize , pub TextureCreate : :: windows :: RawPtr , pub TextureDestroy : :: windows :: RawPtr , pub TextureSwap : :: windows :: RawPtr , pub TextureGetSurf : :: windows :: RawPtr , pub dwReserved12 : * mut :: std :: ffi :: c_void , pub dwReserved13 : * mut :: std :: ffi :: c_void , pub dwReserved14 : * mut :: std :: ffi :: c_void , pub dwReserved15 : * mut :: std :: ffi :: c_void , pub dwReserved16 : * mut :: std :: ffi :: c_void , pub dwReserved17 : * mut :: std :: ffi :: c_void , pub dwReserved18 : * mut :: std :: ffi :: c_void , pub dwReserved19 : * mut :: std :: ffi :: c_void , pub dwReserved20 : * mut :: std :: ffi :: c_void , pub dwReserved21 : * mut :: std :: ffi :: c_void , pub dwReserved24 : * mut :: std :: ffi :: c_void , pub dwReserved0 : usize , pub dwReserved1 : usize , pub dwReserved2 : usize , pub dwReserved3 : usize , pub dwReserved4 : usize , pub dwReserved5 : usize , pub dwReserved6 : usize , pub dwReserved7 : usize , pub dwReserved8 : usize , pub dwReserved9 : usize } unsafe impl :: windows :: Abi for D3DNTHAL_CALLBACKS { type Abi = D3DNTHAL_CALLBACKS_abi ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone ) ] # [ repr ( C ) ] pub struct D3DNTHAL_CALLBACKS2 { pub dwSize : u32 , pub dwFlags : u32 , pub SetRenderTarget : :: std :: option :: Option < LPD3DNTHAL_SETRENDERTARGETCB > , pub dwReserved1 : * mut :: std :: ffi :: c_void , pub dwReserved2 : * mut :: std :: ffi :: c_void , pub dwReserved3 : * mut :: std :: ffi :: c_void , pub dwReserved4 : * mut :: std :: ffi :: c_void } impl D3DNTHAL_CALLBACKS2 { } impl :: std :: default :: Default for D3DNTHAL_CALLBACKS2 { fn default ( ) -> Self { Self { dwSize : 0 , dwFlags : 0 , SetRenderTarget : :: std :: default :: Default :: default ( ) , dwReserved1 : :: std :: ptr :: null_mut ( ) , dwReserved2 : :: std :: ptr :: null_mut ( ) , dwReserved3 : :: std :: ptr :: null_mut ( ) , dwReserved4 : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for D3DNTHAL_CALLBACKS2 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "D3DNTHAL_CALLBACKS2" ) . field ( "dwSize" , & self . dwSize ) . field ( "dwFlags" , & self . dwFlags ) . field ( "dwReserved1" , & self . dwReserved1 ) . field ( "dwReserved2" , & self . dwReserved2 ) . field ( "dwReserved3" , & self . dwReserved3 ) . field ( "dwReserved4" , & self . dwReserved4 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for D3DNTHAL_CALLBACKS2 { fn eq ( & self , other : & Self ) -> bool { self . dwSize == other . dwSize && self . dwFlags == other . dwFlags && self . SetRenderTarget . map ( | f | f as usize ) == other . SetRenderTarget . map ( | f | f as usize ) && self . dwReserved1 == other . dwReserved1 && self . dwReserved2 == other . dwReserved2 && self . dwReserved3 == other . dwReserved3 && self . dwReserved4 == other . dwReserved4 } } impl :: std :: cmp :: Eq for D3DNTHAL_CALLBACKS2 { } # [ repr ( C ) ] # [ doc ( hidden ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct D3DNTHAL_CALLBACKS2_abi { pub dwSize : u32 , pub dwFlags : u32 , pub SetRenderTarget : :: windows :: RawPtr , pub dwReserved1 : * mut :: std :: ffi :: c_void , pub dwReserved2 : * mut :: std :: ffi :: c_void , pub dwReserved3 : * mut :: std :: ffi :: c_void , pub dwReserved4 : * mut :: std :: ffi :: c_void } unsafe impl :: windows :: Abi for D3DNTHAL_CALLBACKS2 { type Abi = D3DNTHAL_CALLBACKS2_abi ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone ) ] # [ repr ( C ) ] pub struct D3DNTHAL_CALLBACKS3 { pub dwSize : u32 , pub dwFlags : u32 , pub Clear2 : :: std :: option :: Option < LPD3DNTHAL_CLEAR2CB > , pub lpvReserved : * mut :: std :: ffi :: c_void , pub ValidateTextureStageState : :: std :: option :: Option < LPD3DNTHAL_VALIDATETEXTURESTAGESTATECB > , pub DrawPrimitives2 : :: std :: option :: Option < LPD3DNTHAL_DRAWPRIMITIVES2CB > } impl D3DNTHAL_CALLBACKS3 { } impl :: std :: default :: Default for D3DNTHAL_CALLBACKS3 { fn default ( ) -> Self { Self { dwSize : 0 , dwFlags : 0 , Clear2 : :: std :: default :: Default :: default ( ) , lpvReserved : :: std :: ptr :: null_mut ( ) , ValidateTextureStageState : :: std :: default :: Default :: default ( ) , DrawPrimitives2 : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for D3DNTHAL_CALLBACKS3 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "D3DNTHAL_CALLBACKS3" ) . field ( "dwSize" , & self . dwSize ) . field ( "dwFlags" , & self . dwFlags ) . field ( "lpvReserved" , & self . lpvReserved ) . finish ( ) } } impl :: std :: cmp :: PartialEq for D3DNTHAL_CALLBACKS3 { fn eq ( & self , other : & Self ) -> bool { self . dwSize == other . dwSize && self . dwFlags == other . dwFlags && self . Clear2 . map ( | f | f as usize ) == other . Clear2 . map ( | f | f as usize ) && self . lpvReserved == other . lpvReserved && self . ValidateTextureStageState . map ( | f | f as usize ) == other . ValidateTextureStageState . map ( | f | f as usize ) && self . DrawPrimitives2 . map ( | f | f as usize ) == other . DrawPrimitives2 . map ( | f | f as usize ) } } impl :: std :: cmp :: Eq for D3DNTHAL_CALLBACKS3 { } # [ repr ( C ) ] # [ doc ( hidden ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct D3DNTHAL_CALLBACKS3_abi { pub dwSize : u32 , pub dwFlags : u32 , pub Clear2 : :: windows :: RawPtr , pub lpvReserved : * mut :: std :: ffi :: c_void , pub ValidateTextureStageState : :: windows :: RawPtr , pub DrawPrimitives2 : :: windows :: RawPtr } unsafe impl :: windows :: Abi for D3DNTHAL_CALLBACKS3 { type Abi = D3DNTHAL_CALLBACKS3_abi ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct D3DNTHAL_CLEAR2DATA { pub dwhContext : usize , pub dwFlags : u32 , pub dwFillColor : u32 , pub dvFillDepth : f32 , pub dwFillStencil : u32 , pub lpRects : * mut super::super::Graphics::Direct3D9:: D3DRECT , pub dwNumRects : u32 , pub ddrval : :: windows :: HRESULT } impl D3DNTHAL_CLEAR2DATA { } impl :: std :: default :: Default for D3DNTHAL_CLEAR2DATA { fn default ( ) -> Self { Self { dwhContext : 0 , dwFlags : 0 , dwFillColor : 0 , dvFillDepth : 0.0 , dwFillStencil : 0 , lpRects : :: std :: ptr :: null_mut ( ) , dwNumRects : 0 , ddrval : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for D3DNTHAL_CLEAR2DATA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "D3DNTHAL_CLEAR2DATA" ) . field ( "dwhContext" , & self . dwhContext ) . field ( "dwFlags" , & self . dwFlags ) . field ( "dwFillColor" , & self . dwFillColor ) . field ( "dvFillDepth" , & self . dvFillDepth ) . field ( "dwFillStencil" , & self . dwFillStencil ) . field ( "lpRects" , & self . lpRects ) . field ( "dwNumRects" , & self . dwNumRects ) . field ( "ddrval" , & self . ddrval ) . finish ( ) } } impl :: std :: cmp :: PartialEq for D3DNTHAL_CLEAR2DATA { fn eq ( & self , other : & Self ) -> bool { self . dwhContext == other . dwhContext && self . dwFlags == other . dwFlags && self . dwFillColor == other . dwFillColor && self . dvFillDepth == other . dvFillDepth && self . dwFillStencil == other . dwFillStencil && self . lpRects == other . lpRects && self . dwNumRects == other . dwNumRects && self . ddrval == other . ddrval } } impl :: std :: cmp :: Eq for D3DNTHAL_CLEAR2DATA { } unsafe impl :: windows :: Abi for D3DNTHAL_CLEAR2DATA { type Abi = Self ; type DefaultType = Self ; } pub const D3DNTHAL_COL_WEIGHTS : u32 = 2u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct D3DNTHAL_CONTEXTCREATEDATA { pub Anonymous1 : D3DNTHAL_CONTEXTCREATEDATA_0 , pub Anonymous2 : D3DNTHAL_CONTEXTCREATEDATA_1 , pub Anonymous3 : D3DNTHAL_CONTEXTCREATEDATA_2 , pub dwPID : u32 , pub dwhContext : usize , pub ddrval : :: windows :: HRESULT } impl D3DNTHAL_CONTEXTCREATEDATA { } impl :: std :: cmp :: PartialEq for D3DNTHAL_CONTEXTCREATEDATA { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for D3DNTHAL_CONTEXTCREATEDATA { } unsafe impl :: windows :: Abi for D3DNTHAL_CONTEXTCREATEDATA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union D3DNTHAL_CONTEXTCREATEDATA_0 { pub lpDDGbl : * mut super::super::UI::DisplayDevices:: DD_DIRECTDRAW_GLOBAL , pub lpDDLcl : * mut super::super::UI::DisplayDevices:: DD_DIRECTDRAW_LOCAL } impl D3DNTHAL_CONTEXTCREATEDATA_0 { } impl :: std :: cmp :: PartialEq for D3DNTHAL_CONTEXTCREATEDATA_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for D3DNTHAL_CONTEXTCREATEDATA_0 { } unsafe impl :: windows :: Abi for D3DNTHAL_CONTEXTCREATEDATA_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union D3DNTHAL_CONTEXTCREATEDATA_1 { pub lpDDS : * mut super::super::UI::DisplayDevices:: DD_SURFACE_LOCAL , pub lpDDSLcl : * mut super::super::UI::DisplayDevices:: DD_SURFACE_LOCAL } impl D3DNTHAL_CONTEXTCREATEDATA_1 { } impl :: std :: cmp :: PartialEq for D3DNTHAL_CONTEXTCREATEDATA_1 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for D3DNTHAL_CONTEXTCREATEDATA_1 { } unsafe impl :: windows :: Abi for D3DNTHAL_CONTEXTCREATEDATA_1 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union D3DNTHAL_CONTEXTCREATEDATA_2 { pub lpDDSZ : * mut super::super::UI::DisplayDevices:: DD_SURFACE_LOCAL , pub lpDDSZLcl : * mut super::super::UI::DisplayDevices:: DD_SURFACE_LOCAL } impl D3DNTHAL_CONTEXTCREATEDATA_2 { } impl :: std :: cmp :: PartialEq for D3DNTHAL_CONTEXTCREATEDATA_2 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for D3DNTHAL_CONTEXTCREATEDATA_2 { } unsafe impl :: windows :: Abi for D3DNTHAL_CONTEXTCREATEDATA_2 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct D3DNTHAL_CONTEXTDESTROYALLDATA { pub dwPID : u32 , pub ddrval : :: windows :: HRESULT } impl D3DNTHAL_CONTEXTDESTROYALLDATA { } impl :: std :: default :: Default for D3DNTHAL_CONTEXTDESTROYALLDATA { fn default ( ) -> Self { Self { dwPID : 0 , ddrval : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for D3DNTHAL_CONTEXTDESTROYALLDATA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "D3DNTHAL_CONTEXTDESTROYALLDATA" ) . field ( "dwPID" , & self . dwPID ) . field ( "ddrval" , & self . ddrval ) . finish ( ) } } impl :: std :: cmp :: PartialEq for D3DNTHAL_CONTEXTDESTROYALLDATA { fn eq ( & self , other : & Self ) -> bool { self . dwPID == other . dwPID && self . ddrval == other . ddrval } } impl :: std :: cmp :: Eq for D3DNTHAL_CONTEXTDESTROYALLDATA { } unsafe impl :: windows :: Abi for D3DNTHAL_CONTEXTDESTROYALLDATA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct D3DNTHAL_CONTEXTDESTROYDATA { pub dwhContext : usize , pub ddrval : :: windows :: HRESULT } impl D3DNTHAL_CONTEXTDESTROYDATA { } impl :: std :: default :: Default for D3DNTHAL_CONTEXTDESTROYDATA { fn default ( ) -> Self { Self { dwhContext : 0 , ddrval : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for D3DNTHAL_CONTEXTDESTROYDATA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "D3DNTHAL_CONTEXTDESTROYDATA" ) . field ( "dwhContext" , & self . dwhContext ) . field ( "ddrval" , & self . ddrval ) . finish ( ) } } impl :: std :: cmp :: PartialEq for D3DNTHAL_CONTEXTDESTROYDATA { fn eq ( & self , other : & Self ) -> bool { self . dwhContext == other . dwhContext && self . ddrval == other . ddrval } } impl :: std :: cmp :: Eq for D3DNTHAL_CONTEXTDESTROYDATA { } unsafe impl :: windows :: Abi for D3DNTHAL_CONTEXTDESTROYDATA { type Abi = Self ; type DefaultType = Self ; } pub const D3DNTHAL_CONTEXT_BAD : i64 = 512i64 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct D3DNTHAL_D3DDX6EXTENDEDCAPS { pub dwSize : u32 , pub dwMinTextureWidth : u32 , pub dwMaxTextureWidth : u32 , pub dwMinTextureHeight : u32 , pub dwMaxTextureHeight : u32 , pub dwMinStippleWidth : u32 , pub dwMaxStippleWidth : u32 , pub dwMinStippleHeight : u32 , pub dwMaxStippleHeight : u32 , pub dwMaxTextureRepeat : u32 , pub dwMaxTextureAspectRatio : u32 , pub dwMaxAnisotropy : u32 , pub dvGuardBandLeft : f32 , pub dvGuardBandTop : f32 , pub dvGuardBandRight : f32 , pub dvGuardBandBottom : f32 , pub dvExtentsAdjust : f32 , pub dwStencilCaps : u32 , pub dwFVFCaps : u32 , pub dwTextureOpCaps : u32 , pub wMaxTextureBlendStages : u16 , pub wMaxSimultaneousTextures : u16 } impl D3DNTHAL_D3DDX6EXTENDEDCAPS { } impl :: std :: default :: Default for D3DNTHAL_D3DDX6EXTENDEDCAPS { fn default ( ) -> Self { Self { dwSize : 0 , dwMinTextureWidth : 0 , dwMaxTextureWidth : 0 , dwMinTextureHeight : 0 , dwMaxTextureHeight : 0 , dwMinStippleWidth : 0 , dwMaxStippleWidth : 0 , dwMinStippleHeight : 0 , dwMaxStippleHeight : 0 , dwMaxTextureRepeat : 0 , dwMaxTextureAspectRatio : 0 , dwMaxAnisotropy : 0 , dvGuardBandLeft : 0.0 , dvGuardBandTop : 0.0 , dvGuardBandRight : 0.0 , dvGuardBandBottom : 0.0 , dvExtentsAdjust : 0.0 , dwStencilCaps : 0 , dwFVFCaps : 0 , dwTextureOpCaps : 0 , wMaxTextureBlendStages : 0 , wMaxSimultaneousTextures : 0 } } } impl :: std :: fmt :: Debug for D3DNTHAL_D3DDX6EXTENDEDCAPS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "D3DNTHAL_D3DDX6EXTENDEDCAPS" ) . field ( "dwSize" , & self . dwSize ) . field ( "dwMinTextureWidth" , & self . dwMinTextureWidth ) . field ( "dwMaxTextureWidth" , & self . dwMaxTextureWidth ) . field ( "dwMinTextureHeight" , & self . dwMinTextureHeight ) . field ( "dwMaxTextureHeight" , & self . dwMaxTextureHeight ) . field ( "dwMinStippleWidth" , & self . dwMinStippleWidth ) . field ( "dwMaxStippleWidth" , & self . dwMaxStippleWidth ) . field ( "dwMinStippleHeight" , & self . dwMinStippleHeight ) . field ( "dwMaxStippleHeight" , & self . dwMaxStippleHeight ) . field ( "dwMaxTextureRepeat" , & self . dwMaxTextureRepeat ) . field ( "dwMaxTextureAspectRatio" , & self . dwMaxTextureAspectRatio ) . field ( "dwMaxAnisotropy" , & self . dwMaxAnisotropy ) . field ( "dvGuardBandLeft" , & self . dvGuardBandLeft ) . field ( "dvGuardBandTop" , & self . dvGuardBandTop ) . field ( "dvGuardBandRight" , & self . dvGuardBandRight ) . field ( "dvGuardBandBottom" , & self . dvGuardBandBottom ) . field ( "dvExtentsAdjust" , & self . dvExtentsAdjust ) . field ( "dwStencilCaps" , & self . dwStencilCaps ) . field ( "dwFVFCaps" , & self . dwFVFCaps ) . field ( "dwTextureOpCaps" , & self . dwTextureOpCaps ) . field ( "wMaxTextureBlendStages" , & self . wMaxTextureBlendStages ) . field ( "wMaxSimultaneousTextures" , & self . wMaxSimultaneousTextures ) . finish ( ) } } impl :: std :: cmp :: PartialEq for D3DNTHAL_D3DDX6EXTENDEDCAPS { fn eq ( & self , other : & Self ) -> bool { self . dwSize == other . dwSize && self . dwMinTextureWidth == other . dwMinTextureWidth && self . dwMaxTextureWidth == other . dwMaxTextureWidth && self . dwMinTextureHeight == other . dwMinTextureHeight && self . dwMaxTextureHeight == other . dwMaxTextureHeight && self . dwMinStippleWidth == other . dwMinStippleWidth && self . dwMaxStippleWidth == other . dwMaxStippleWidth && self . dwMinStippleHeight == other . dwMinStippleHeight && self . dwMaxStippleHeight == other . dwMaxStippleHeight && self . dwMaxTextureRepeat == other . dwMaxTextureRepeat && self . dwMaxTextureAspectRatio == other . dwMaxTextureAspectRatio && self . dwMaxAnisotropy == other . dwMaxAnisotropy && self . dvGuardBandLeft == other . dvGuardBandLeft && self . dvGuardBandTop == other . dvGuardBandTop && self . dvGuardBandRight == other . dvGuardBandRight && self . dvGuardBandBottom == other . dvGuardBandBottom && self . dvExtentsAdjust == other . dvExtentsAdjust && self . dwStencilCaps == other . dwStencilCaps && self . dwFVFCaps == other . dwFVFCaps && self . dwTextureOpCaps == other . dwTextureOpCaps && self . wMaxTextureBlendStages == other . wMaxTextureBlendStages && self . wMaxSimultaneousTextures == other . wMaxSimultaneousTextures } } impl :: std :: cmp :: Eq for D3DNTHAL_D3DDX6EXTENDEDCAPS { } unsafe impl :: windows :: Abi for D3DNTHAL_D3DDX6EXTENDEDCAPS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct D3DNTHAL_D3DEXTENDEDCAPS { pub dwSize : u32 , pub dwMinTextureWidth : u32 , pub dwMaxTextureWidth : u32 , pub dwMinTextureHeight : u32 , pub dwMaxTextureHeight : u32 , pub dwMinStippleWidth : u32 , pub dwMaxStippleWidth : u32 , pub dwMinStippleHeight : u32 , pub dwMaxStippleHeight : u32 , pub dwMaxTextureRepeat : u32 , pub dwMaxTextureAspectRatio : u32 , pub dwMaxAnisotropy : u32 , pub dvGuardBandLeft : f32 , pub dvGuardBandTop : f32 , pub dvGuardBandRight : f32 , pub dvGuardBandBottom : f32 , pub dvExtentsAdjust : f32 , pub dwStencilCaps : u32 , pub dwFVFCaps : u32 , pub dwTextureOpCaps : u32 , pub wMaxTextureBlendStages : u16 , pub wMaxSimultaneousTextures : u16 , pub dwMaxActiveLights : u32 , pub dvMaxVertexW : f32 , pub wMaxUserClipPlanes : u16 , pub wMaxVertexBlendMatrices : u16 , pub dwVertexProcessingCaps : u32 , pub dwReserved1 : u32 , pub dwReserved2 : u32 , pub dwReserved3 : u32 , pub dwReserved4 : u32 } impl D3DNTHAL_D3DEXTENDEDCAPS { } impl :: std :: default :: Default for D3DNTHAL_D3DEXTENDEDCAPS { fn default ( ) -> Self { Self { dwSize : 0 , dwMinTextureWidth : 0 , dwMaxTextureWidth : 0 , dwMinTextureHeight : 0 , dwMaxTextureHeight : 0 , dwMinStippleWidth : 0 , dwMaxStippleWidth : 0 , dwMinStippleHeight : 0 , dwMaxStippleHeight : 0 , dwMaxTextureRepeat : 0 , dwMaxTextureAspectRatio : 0 , dwMaxAnisotropy : 0 , dvGuardBandLeft : 0.0 , dvGuardBandTop : 0.0 , dvGuardBandRight : 0.0 , dvGuardBandBottom : 0.0 , dvExtentsAdjust : 0.0 , dwStencilCaps : 0 , dwFVFCaps : 0 , dwTextureOpCaps : 0 , wMaxTextureBlendStages : 0 , wMaxSimultaneousTextures : 0 , dwMaxActiveLights : 0 , dvMaxVertexW : 0.0 , wMaxUserClipPlanes : 0 , wMaxVertexBlendMatrices : 0 , dwVertexProcessingCaps : 0 , dwReserved1 : 0 , dwReserved2 : 0 , dwReserved3 : 0 , dwReserved4 : 0 } } } impl :: std :: fmt :: Debug for D3DNTHAL_D3DEXTENDEDCAPS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "D3DNTHAL_D3DEXTENDEDCAPS" ) . field ( "dwSize" , & self . dwSize ) . field ( "dwMinTextureWidth" , & self . dwMinTextureWidth ) . field ( "dwMaxTextureWidth" , & self . dwMaxTextureWidth ) . field ( "dwMinTextureHeight" , & self . dwMinTextureHeight ) . field ( "dwMaxTextureHeight" , & self . dwMaxTextureHeight ) . field ( "dwMinStippleWidth" , & self . dwMinStippleWidth ) . field ( "dwMaxStippleWidth" , & self . dwMaxStippleWidth ) . field ( "dwMinStippleHeight" , & self . dwMinStippleHeight ) . field ( "dwMaxStippleHeight" , & self . dwMaxStippleHeight ) . field ( "dwMaxTextureRepeat" , & self . dwMaxTextureRepeat ) . field ( "dwMaxTextureAspectRatio" , & self . dwMaxTextureAspectRatio ) . field ( "dwMaxAnisotropy" , & self . dwMaxAnisotropy ) . field ( "dvGuardBandLeft" , & self . dvGuardBandLeft ) . field ( "dvGuardBandTop" , & self . dvGuardBandTop ) . field ( "dvGuardBandRight" , & self . dvGuardBandRight ) . field ( "dvGuardBandBottom" , & self . dvGuardBandBottom ) . field ( "dvExtentsAdjust" , & self . dvExtentsAdjust ) . field ( "dwStencilCaps" , & self . dwStencilCaps ) . field ( "dwFVFCaps" , & self . dwFVFCaps ) . field ( "dwTextureOpCaps" , & self . dwTextureOpCaps ) . field ( "wMaxTextureBlendStages" , & self . wMaxTextureBlendStages ) . field ( "wMaxSimultaneousTextures" , & self . wMaxSimultaneousTextures ) . field ( "dwMaxActiveLights" , & self . dwMaxActiveLights ) . field ( "dvMaxVertexW" , & self . dvMaxVertexW ) . field ( "wMaxUserClipPlanes" , & self . wMaxUserClipPlanes ) . field ( "wMaxVertexBlendMatrices" , & self . wMaxVertexBlendMatrices ) . field ( "dwVertexProcessingCaps" , & self . dwVertexProcessingCaps ) . field ( "dwReserved1" , & self . dwReserved1 ) . field ( "dwReserved2" , & self . dwReserved2 ) . field ( "dwReserved3" , & self . dwReserved3 ) . field ( "dwReserved4" , & self . dwReserved4 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for D3DNTHAL_D3DEXTENDEDCAPS { fn eq ( & self , other : & Self ) -> bool { self . dwSize == other . dwSize && self . dwMinTextureWidth == other . dwMinTextureWidth && self . dwMaxTextureWidth == other . dwMaxTextureWidth && self . dwMinTextureHeight == other . dwMinTextureHeight && self . dwMaxTextureHeight == other . dwMaxTextureHeight && self . dwMinStippleWidth == other . dwMinStippleWidth && self . dwMaxStippleWidth == other . dwMaxStippleWidth && self . dwMinStippleHeight == other . dwMinStippleHeight && self . dwMaxStippleHeight == other . dwMaxStippleHeight && self . dwMaxTextureRepeat == other . dwMaxTextureRepeat && self . dwMaxTextureAspectRatio == other . dwMaxTextureAspectRatio && self . dwMaxAnisotropy == other . dwMaxAnisotropy && self . dvGuardBandLeft == other . dvGuardBandLeft && self . dvGuardBandTop == other . dvGuardBandTop && self . dvGuardBandRight == other . dvGuardBandRight && self . dvGuardBandBottom == other . dvGuardBandBottom && self . dvExtentsAdjust == other . dvExtentsAdjust && self . dwStencilCaps == other . dwStencilCaps && self . dwFVFCaps == other . dwFVFCaps && self . dwTextureOpCaps == other . dwTextureOpCaps && self . wMaxTextureBlendStages == other . wMaxTextureBlendStages && self . wMaxSimultaneousTextures == other . wMaxSimultaneousTextures && self . dwMaxActiveLights == other . dwMaxActiveLights && self . dvMaxVertexW == other . dvMaxVertexW && self . wMaxUserClipPlanes == other . wMaxUserClipPlanes && self . wMaxVertexBlendMatrices == other . wMaxVertexBlendMatrices && self . dwVertexProcessingCaps == other . dwVertexProcessingCaps && self . dwReserved1 == other . dwReserved1 && self . dwReserved2 == other . dwReserved2 && self . dwReserved3 == other . dwReserved3 && self . dwReserved4 == other . dwReserved4 } } impl :: std :: cmp :: Eq for D3DNTHAL_D3DEXTENDEDCAPS { } unsafe impl :: windows :: Abi for D3DNTHAL_D3DEXTENDEDCAPS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct D3DNTHAL_DP2CLEAR { pub dwFlags : u32 , pub dwFillColor : u32 , pub dvFillDepth : f32 , pub dwFillStencil : u32 , pub Rects : [ super::super::Foundation:: RECT ;1 ] } impl D3DNTHAL_DP2CLEAR { } impl :: std :: default :: Default for D3DNTHAL_DP2CLEAR { fn default ( ) -> Self { Self { dwFlags : 0 , dwFillColor : 0 , dvFillDepth : 0.0 , dwFillStencil : 0 , Rects : [ :: std :: default :: Default :: default ( ) ;1 ] } } } impl :: std :: fmt :: Debug for D3DNTHAL_DP2CLEAR { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "D3DNTHAL_DP2CLEAR" ) . field ( "dwFlags" , & self . dwFlags ) . field ( "dwFillColor" , & self . dwFillColor ) . field ( "dvFillDepth" , & self . dvFillDepth ) . field ( "dwFillStencil" , & self . dwFillStencil ) . field ( "Rects" , & self . Rects ) . finish ( ) } } impl :: std :: cmp :: PartialEq for D3DNTHAL_DP2CLEAR { fn eq ( & self , other : & Self ) -> bool { self . dwFlags == other . dwFlags && self . dwFillColor == other . dwFillColor && self . dvFillDepth == other . dvFillDepth && self . dwFillStencil == other . dwFillStencil && self . Rects == other . Rects } } impl :: std :: cmp :: Eq for D3DNTHAL_DP2CLEAR { } unsafe impl :: windows :: Abi for D3DNTHAL_DP2CLEAR { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct D3DNTHAL_DP2COMMAND { pub bCommand : u8 , pub bReserved : u8 , pub Anonymous : D3DNTHAL_DP2COMMAND_0 } impl D3DNTHAL_DP2COMMAND { } impl :: std :: cmp :: PartialEq for D3DNTHAL_DP2COMMAND { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for D3DNTHAL_DP2COMMAND { } unsafe impl :: windows :: Abi for D3DNTHAL_DP2COMMAND { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union D3DNTHAL_DP2COMMAND_0 { pub wPrimitiveCount : u16 , pub wStateCount : u16 } impl D3DNTHAL_DP2COMMAND_0 { } impl :: std :: cmp :: PartialEq for D3DNTHAL_DP2COMMAND_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for D3DNTHAL_DP2COMMAND_0 { } unsafe impl :: windows :: Abi for D3DNTHAL_DP2COMMAND_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct D3DNTHAL_DP2CREATELIGHT { pub dwIndex : u32 } impl D3DNTHAL_DP2CREATELIGHT { } impl :: std :: default :: Default for D3DNTHAL_DP2CREATELIGHT { fn default ( ) -> Self { Self { dwIndex : 0 } } } impl :: std :: fmt :: Debug for D3DNTHAL_DP2CREATELIGHT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "D3DNTHAL_DP2CREATELIGHT" ) . field ( "dwIndex" , & self . dwIndex ) . finish ( ) } } impl :: std :: cmp :: PartialEq for D3DNTHAL_DP2CREATELIGHT { fn eq ( & self , other : & Self ) -> bool { self . dwIndex == other . dwIndex } } impl :: std :: cmp :: Eq for D3DNTHAL_DP2CREATELIGHT { } unsafe impl :: windows :: Abi for D3DNTHAL_DP2CREATELIGHT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct D3DNTHAL_DP2EXT { pub dwExtToken : u32 , pub dwSize : u32 } impl D3DNTHAL_DP2EXT { } impl :: std :: default :: Default for D3DNTHAL_DP2EXT { fn default ( ) -> Self { Self { dwExtToken : 0 , dwSize : 0 } } } impl :: std :: fmt :: Debug for D3DNTHAL_DP2EXT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "D3DNTHAL_DP2EXT" ) . field ( "dwExtToken" , & self . dwExtToken ) . field ( "dwSize" , & self . dwSize ) . finish ( ) } } impl :: std :: cmp :: PartialEq for D3DNTHAL_DP2EXT { fn eq ( & self , other : & Self ) -> bool { self . dwExtToken == other . dwExtToken && self . dwSize == other . dwSize } } impl :: std :: cmp :: Eq for D3DNTHAL_DP2EXT { } unsafe impl :: windows :: Abi for D3DNTHAL_DP2EXT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct D3DNTHAL_DP2INDEXEDLINELIST { pub wV1 : u16 , pub wV2 : u16 } impl D3DNTHAL_DP2INDEXEDLINELIST { } impl :: std :: default :: Default for D3DNTHAL_DP2INDEXEDLINELIST { fn default ( ) -> Self { Self { wV1 : 0 , wV2 : 0 } } } impl :: std :: fmt :: Debug for D3DNTHAL_DP2INDEXEDLINELIST { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "D3DNTHAL_DP2INDEXEDLINELIST" ) . field ( "wV1" , & self . wV1 ) . field ( "wV2" , & self . wV2 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for D3DNTHAL_DP2INDEXEDLINELIST { fn eq ( & self , other : & Self ) -> bool { self . wV1 == other . wV1 && self . wV2 == other . wV2 } } impl :: std :: cmp :: Eq for D3DNTHAL_DP2INDEXEDLINELIST { } unsafe impl :: windows :: Abi for D3DNTHAL_DP2INDEXEDLINELIST { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct D3DNTHAL_DP2INDEXEDLINESTRIP { pub wV : [ u16 ;2 ] } impl D3DNTHAL_DP2INDEXEDLINESTRIP { } impl :: std :: default :: Default for D3DNTHAL_DP2INDEXEDLINESTRIP { fn default ( ) -> Self { Self { wV : [ 0 ;2 ] } } } impl :: std :: fmt :: Debug for D3DNTHAL_DP2INDEXEDLINESTRIP { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "D3DNTHAL_DP2INDEXEDLINESTRIP" ) . field ( "wV" , & self . wV ) . finish ( ) } } impl :: std :: cmp :: PartialEq for D3DNTHAL_DP2INDEXEDLINESTRIP { fn eq ( & self , other : & Self ) -> bool { self . wV == other . wV } } impl :: std :: cmp :: Eq for D3DNTHAL_DP2INDEXEDLINESTRIP { } unsafe impl :: windows :: Abi for D3DNTHAL_DP2INDEXEDLINESTRIP { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct D3DNTHAL_DP2INDEXEDTRIANGLEFAN { pub wV : [ u16 ;3 ] } impl D3DNTHAL_DP2INDEXEDTRIANGLEFAN { } impl :: std :: default :: Default for D3DNTHAL_DP2INDEXEDTRIANGLEFAN { fn default ( ) -> Self { Self { wV : [ 0 ;3 ] } } } impl :: std :: fmt :: Debug for D3DNTHAL_DP2INDEXEDTRIANGLEFAN { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "D3DNTHAL_DP2INDEXEDTRIANGLEFAN" ) . field ( "wV" , & self . wV ) . finish ( ) } } impl :: std :: cmp :: PartialEq for D3DNTHAL_DP2INDEXEDTRIANGLEFAN { fn eq ( & self , other : & Self ) -> bool { self . wV == other . wV } } impl :: std :: cmp :: Eq for D3DNTHAL_DP2INDEXEDTRIANGLEFAN { } unsafe impl :: windows :: Abi for D3DNTHAL_DP2INDEXEDTRIANGLEFAN { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct D3DNTHAL_DP2INDEXEDTRIANGLELIST { pub wV1 : u16 , pub wV2 : u16 , pub wV3 : u16 , pub wFlags : u16 } impl D3DNTHAL_DP2INDEXEDTRIANGLELIST { } impl :: std :: default :: Default for D3DNTHAL_DP2INDEXEDTRIANGLELIST { fn default ( ) -> Self { Self { wV1 : 0 , wV2 : 0 , wV3 : 0 , wFlags : 0 } } } impl :: std :: fmt :: Debug for D3DNTHAL_DP2INDEXEDTRIANGLELIST { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "D3DNTHAL_DP2INDEXEDTRIANGLELIST" ) . field ( "wV1" , & self . wV1 ) . field ( "wV2" , & self . wV2 ) . field ( "wV3" , & self . wV3 ) . field ( "wFlags" , & self . wFlags ) . finish ( ) } } impl :: std :: cmp :: PartialEq for D3DNTHAL_DP2INDEXEDTRIANGLELIST { fn eq ( & self , other : & Self ) -> bool { self . wV1 == other . wV1 && self . wV2 == other . wV2 && self . wV3 == other . wV3 && self . wFlags == other . wFlags } } impl :: std :: cmp :: Eq for D3DNTHAL_DP2INDEXEDTRIANGLELIST { } unsafe impl :: windows :: Abi for D3DNTHAL_DP2INDEXEDTRIANGLELIST { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct D3DNTHAL_DP2INDEXEDTRIANGLELIST2 { pub wV1 : u16 , pub wV2 : u16 , pub wV3 : u16 } impl D3DNTHAL_DP2INDEXEDTRIANGLELIST2 { } impl :: std :: default :: Default for D3DNTHAL_DP2INDEXEDTRIANGLELIST2 { fn default ( ) -> Self { Self { wV1 : 0 , wV2 : 0 , wV3 : 0 } } } impl :: std :: fmt :: Debug for D3DNTHAL_DP2INDEXEDTRIANGLELIST2 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "D3DNTHAL_DP2INDEXEDTRIANGLELIST2" ) . field ( "wV1" , & self . wV1 ) . field ( "wV2" , & self . wV2 ) . field ( "wV3" , & self . wV3 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for D3DNTHAL_DP2INDEXEDTRIANGLELIST2 { fn eq ( & self , other : & Self ) -> bool { self . wV1 == other . wV1 && self . wV2 == other . wV2 && self . wV3 == other . wV3 } } impl :: std :: cmp :: Eq for D3DNTHAL_DP2INDEXEDTRIANGLELIST2 { } unsafe impl :: windows :: Abi for D3DNTHAL_DP2INDEXEDTRIANGLELIST2 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct D3DNTHAL_DP2INDEXEDTRIANGLESTRIP { pub wV : [ u16 ;3 ] } impl D3DNTHAL_DP2INDEXEDTRIANGLESTRIP { } impl :: std :: default :: Default for D3DNTHAL_DP2INDEXEDTRIANGLESTRIP { fn default ( ) -> Self { Self { wV : [ 0 ;3 ] } } } impl :: std :: fmt :: Debug for D3DNTHAL_DP2INDEXEDTRIANGLESTRIP { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "D3DNTHAL_DP2INDEXEDTRIANGLESTRIP" ) . field ( "wV" , & self . wV ) . finish ( ) } } impl :: std :: cmp :: PartialEq for D3DNTHAL_DP2INDEXEDTRIANGLESTRIP { fn eq ( & self , other : & Self ) -> bool { self . wV == other . wV } } impl :: std :: cmp :: Eq for D3DNTHAL_DP2INDEXEDTRIANGLESTRIP { } unsafe impl :: windows :: Abi for D3DNTHAL_DP2INDEXEDTRIANGLESTRIP { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct D3DNTHAL_DP2LINELIST { pub wVStart : u16 } impl D3DNTHAL_DP2LINELIST { } impl :: std :: default :: Default for D3DNTHAL_DP2LINELIST { fn default ( ) -> Self { Self { wVStart : 0 } } } impl :: std :: fmt :: Debug for D3DNTHAL_DP2LINELIST { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "D3DNTHAL_DP2LINELIST" ) . field ( "wVStart" , & self . wVStart ) . finish ( ) } } impl :: std :: cmp :: PartialEq for D3DNTHAL_DP2LINELIST { fn eq ( & self , other : & Self ) -> bool { self . wVStart == other . wVStart } } impl :: std :: cmp :: Eq for D3DNTHAL_DP2LINELIST { } unsafe impl :: windows :: Abi for D3DNTHAL_DP2LINELIST { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct D3DNTHAL_DP2LINESTRIP { pub wVStart : u16 } impl D3DNTHAL_DP2LINESTRIP { } impl :: std :: default :: Default for D3DNTHAL_DP2LINESTRIP { fn default ( ) -> Self { Self { wVStart : 0 } } } impl :: std :: fmt :: Debug for D3DNTHAL_DP2LINESTRIP { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "D3DNTHAL_DP2LINESTRIP" ) . field ( "wVStart" , & self . wVStart ) . finish ( ) } } impl :: std :: cmp :: PartialEq for D3DNTHAL_DP2LINESTRIP { fn eq ( & self , other : & Self ) -> bool { self . wVStart == other . wVStart } } impl :: std :: cmp :: Eq for D3DNTHAL_DP2LINESTRIP { } unsafe impl :: windows :: Abi for D3DNTHAL_DP2LINESTRIP { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct D3DNTHAL_DP2OPERATION ( pub i32 ) ; pub const D3DNTDP2OP_POINTS : D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION ( 1i32 ) ; pub const D3DNTDP2OP_INDEXEDLINELIST : D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION ( 2i32 ) ; pub const D3DNTDP2OP_INDEXEDTRIANGLELIST : D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION ( 3i32 ) ; pub const D3DNTDP2OP_RENDERSTATE : D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION ( 8i32 ) ; pub const D3DNTDP2OP_LINELIST : D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION ( 15i32 ) ; pub const D3DNTDP2OP_LINESTRIP : D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION ( 16i32 ) ; pub const D3DNTDP2OP_INDEXEDLINESTRIP : D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION ( 17i32 ) ; pub const D3DNTDP2OP_TRIANGLELIST : D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION ( 18i32 ) ; pub const D3DNTDP2OP_TRIANGLESTRIP : D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION ( 19i32 ) ; pub const D3DNTDP2OP_INDEXEDTRIANGLESTRIP : D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION ( 20i32 ) ; pub const D3DNTDP2OP_TRIANGLEFAN : D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION ( 21i32 ) ; pub const D3DNTDP2OP_INDEXEDTRIANGLEFAN : D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION ( 22i32 ) ; pub const D3DNTDP2OP_TRIANGLEFAN_IMM : D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION ( 23i32 ) ; pub const D3DNTDP2OP_LINELIST_IMM : D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION ( 24i32 ) ; pub const D3DNTDP2OP_TEXTURESTAGESTATE : D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION ( 25i32 ) ; pub const D3DNTDP2OP_INDEXEDTRIANGLELIST2 : D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION ( 26i32 ) ; pub const D3DNTDP2OP_INDEXEDLINELIST2 : D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION ( 27i32 ) ; pub const D3DNTDP2OP_VIEWPORTINFO : D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION ( 28i32 ) ; pub const D3DNTDP2OP_WINFO : D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION ( 29i32 ) ; pub const D3DNTDP2OP_SETPALETTE : D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION ( 30i32 ) ; pub const D3DNTDP2OP_UPDATEPALETTE : D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION ( 31i32 ) ; pub const D3DNTDP2OP_ZRANGE : D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION ( 32i32 ) ; pub const D3DNTDP2OP_SETMATERIAL : D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION ( 33i32 ) ; pub const D3DNTDP2OP_SETLIGHT : D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION ( 34i32 ) ; pub const D3DNTDP2OP_CREATELIGHT : D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION ( 35i32 ) ; pub const D3DNTDP2OP_SETTRANSFORM : D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION ( 36i32 ) ; pub const D3DNTDP2OP_TEXBLT : D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION ( 38i32 ) ; pub const D3DNTDP2OP_STATESET : D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION ( 39i32 ) ; pub const D3DNTDP2OP_SETPRIORITY : D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION ( 40i32 ) ; pub const D3DNTDP2OP_SETRENDERTARGET : D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION ( 41i32 ) ; pub const D3DNTDP2OP_CLEAR : D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION ( 42i32 ) ; pub const D3DNTDP2OP_SETTEXLOD : D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION ( 43i32 ) ; pub const D3DNTDP2OP_SETCLIPPLANE : D3DNTHAL_DP2OPERATION = D3DNTHAL_DP2OPERATION ( 44i32 ) ; impl :: std :: convert :: From < i32 > for D3DNTHAL_DP2OPERATION { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for D3DNTHAL_DP2OPERATION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct D3DNTHAL_DP2POINTS { pub wCount : u16 , pub wVStart : u16 } impl D3DNTHAL_DP2POINTS { } impl :: std :: default :: Default for D3DNTHAL_DP2POINTS { fn default ( ) -> Self { Self { wCount : 0 , wVStart : 0 } } } impl :: std :: fmt :: Debug for D3DNTHAL_DP2POINTS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "D3DNTHAL_DP2POINTS" ) . field ( "wCount" , & self . wCount ) . field ( "wVStart" , & self . wVStart ) . finish ( ) } } impl :: std :: cmp :: PartialEq for D3DNTHAL_DP2POINTS { fn eq ( & self , other : & Self ) -> bool { self . wCount == other . wCount && self . wVStart == other . wVStart } } impl :: std :: cmp :: Eq for D3DNTHAL_DP2POINTS { } unsafe impl :: windows :: Abi for D3DNTHAL_DP2POINTS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct D3DNTHAL_DP2RENDERSTATE { pub RenderState : super::super::Graphics::Direct3D9:: D3DRENDERSTATETYPE , pub Anonymous : D3DNTHAL_DP2RENDERSTATE_0 } impl D3DNTHAL_DP2RENDERSTATE { } impl :: std :: cmp :: PartialEq for D3DNTHAL_DP2RENDERSTATE { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for D3DNTHAL_DP2RENDERSTATE { } unsafe impl :: windows :: Abi for D3DNTHAL_DP2RENDERSTATE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union D3DNTHAL_DP2RENDERSTATE_0 { pub fState : f32 , pub dwState : u32 } impl D3DNTHAL_DP2RENDERSTATE_0 { } impl :: std :: cmp :: PartialEq for D3DNTHAL_DP2RENDERSTATE_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for D3DNTHAL_DP2RENDERSTATE_0 { } unsafe impl :: windows :: Abi for D3DNTHAL_DP2RENDERSTATE_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct D3DNTHAL_DP2SETCLIPPLANE { pub dwIndex : u32 , pub plane : [ f32 ;4 ] } impl D3DNTHAL_DP2SETCLIPPLANE { } impl :: std :: default :: Default for D3DNTHAL_DP2SETCLIPPLANE { fn default ( ) -> Self { Self { dwIndex : 0 , plane : [ 0.0 ;4 ] } } } impl :: std :: fmt :: Debug for D3DNTHAL_DP2SETCLIPPLANE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "D3DNTHAL_DP2SETCLIPPLANE" ) . field ( "dwIndex" , & self . dwIndex ) . field ( "plane" , & self . plane ) . finish ( ) } } impl :: std :: cmp :: PartialEq for D3DNTHAL_DP2SETCLIPPLANE { fn eq ( & self , other : & Self ) -> bool { self . dwIndex == other . dwIndex && self . plane == other . plane } } impl :: std :: cmp :: Eq for D3DNTHAL_DP2SETCLIPPLANE { } unsafe impl :: windows :: Abi for D3DNTHAL_DP2SETCLIPPLANE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct D3DNTHAL_DP2SETLIGHT { pub dwIndex : u32 , pub Anonymous : D3DNTHAL_DP2SETLIGHT_0 } impl D3DNTHAL_DP2SETLIGHT { } impl :: std :: cmp :: PartialEq for D3DNTHAL_DP2SETLIGHT { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for D3DNTHAL_DP2SETLIGHT { } unsafe impl :: windows :: Abi for D3DNTHAL_DP2SETLIGHT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union D3DNTHAL_DP2SETLIGHT_0 { pub lightData : u32 , pub dwDataType : u32 } impl D3DNTHAL_DP2SETLIGHT_0 { } impl :: std :: cmp :: PartialEq for D3DNTHAL_DP2SETLIGHT_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for D3DNTHAL_DP2SETLIGHT_0 { } unsafe impl :: windows :: Abi for D3DNTHAL_DP2SETLIGHT_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct D3DNTHAL_DP2SETPALETTE { pub dwPaletteHandle : u32 , pub dwPaletteFlags : u32 , pub dwSurfaceHandle : u32 } impl D3DNTHAL_DP2SETPALETTE { } impl :: std :: default :: Default for D3DNTHAL_DP2SETPALETTE { fn default ( ) -> Self { Self { dwPaletteHandle : 0 , dwPaletteFlags : 0 , dwSurfaceHandle : 0 } } } impl :: std :: fmt :: Debug for D3DNTHAL_DP2SETPALETTE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "D3DNTHAL_DP2SETPALETTE" ) . field ( "dwPaletteHandle" , & self . dwPaletteHandle ) . field ( "dwPaletteFlags" , & self . dwPaletteFlags ) . field ( "dwSurfaceHandle" , & self . dwSurfaceHandle ) . finish ( ) } } impl :: std :: cmp :: PartialEq for D3DNTHAL_DP2SETPALETTE { fn eq ( & self , other : & Self ) -> bool { self . dwPaletteHandle == other . dwPaletteHandle && self . dwPaletteFlags == other . dwPaletteFlags && self . dwSurfaceHandle == other . dwSurfaceHandle } } impl :: std :: cmp :: Eq for D3DNTHAL_DP2SETPALETTE { } unsafe impl :: windows :: Abi for D3DNTHAL_DP2SETPALETTE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct D3DNTHAL_DP2SETPRIORITY { pub dwDDDestSurface : u32 , pub dwPriority : u32 } impl D3DNTHAL_DP2SETPRIORITY { } impl :: std :: default :: Default for D3DNTHAL_DP2SETPRIORITY { fn default ( ) -> Self { Self { dwDDDestSurface : 0 , dwPriority : 0 } } } impl :: std :: fmt :: Debug for D3DNTHAL_DP2SETPRIORITY { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "D3DNTHAL_DP2SETPRIORITY" ) . field ( "dwDDDestSurface" , & self . dwDDDestSurface ) . field ( "dwPriority" , & self . dwPriority ) . finish ( ) } } impl :: std :: cmp :: PartialEq for D3DNTHAL_DP2SETPRIORITY { fn eq ( & self , other : & Self ) -> bool { self . dwDDDestSurface == other . dwDDDestSurface && self . dwPriority == other . dwPriority } } impl :: std :: cmp :: Eq for D3DNTHAL_DP2SETPRIORITY { } unsafe impl :: windows :: Abi for D3DNTHAL_DP2SETPRIORITY { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct D3DNTHAL_DP2SETRENDERTARGET { pub hRenderTarget : u32 , pub hZBuffer : u32 } impl D3DNTHAL_DP2SETRENDERTARGET { } impl :: std :: default :: Default for D3DNTHAL_DP2SETRENDERTARGET { fn default ( ) -> Self { Self { hRenderTarget : 0 , hZBuffer : 0 } } } impl :: std :: fmt :: Debug for D3DNTHAL_DP2SETRENDERTARGET { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "D3DNTHAL_DP2SETRENDERTARGET" ) . field ( "hRenderTarget" , & self . hRenderTarget ) . field ( "hZBuffer" , & self . hZBuffer ) . finish ( ) } } impl :: std :: cmp :: PartialEq for D3DNTHAL_DP2SETRENDERTARGET { fn eq ( & self , other : & Self ) -> bool { self . hRenderTarget == other . hRenderTarget && self . hZBuffer == other . hZBuffer } } impl :: std :: cmp :: Eq for D3DNTHAL_DP2SETRENDERTARGET { } unsafe impl :: windows :: Abi for D3DNTHAL_DP2SETRENDERTARGET { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct D3DNTHAL_DP2SETTEXLOD { pub dwDDSurface : u32 , pub dwLOD : u32 } impl D3DNTHAL_DP2SETTEXLOD { } impl :: std :: default :: Default for D3DNTHAL_DP2SETTEXLOD { fn default ( ) -> Self { Self { dwDDSurface : 0 , dwLOD : 0 } } } impl :: std :: fmt :: Debug for D3DNTHAL_DP2SETTEXLOD { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "D3DNTHAL_DP2SETTEXLOD" ) . field ( "dwDDSurface" , & self . dwDDSurface ) . field ( "dwLOD" , & self . dwLOD ) . finish ( ) } } impl :: std :: cmp :: PartialEq for D3DNTHAL_DP2SETTEXLOD { fn eq ( & self , other : & Self ) -> bool { self . dwDDSurface == other . dwDDSurface && self . dwLOD == other . dwLOD } } impl :: std :: cmp :: Eq for D3DNTHAL_DP2SETTEXLOD { } unsafe impl :: windows :: Abi for D3DNTHAL_DP2SETTEXLOD { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct D3DNTHAL_DP2SETTRANSFORM { pub xfrmType : super::super::Graphics::Direct3D9:: D3DTRANSFORMSTATETYPE , pub matrix : super::super::Graphics::Direct3D9:: D3DMATRIX } impl D3DNTHAL_DP2SETTRANSFORM { } impl :: std :: cmp :: PartialEq for D3DNTHAL_DP2SETTRANSFORM { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for D3DNTHAL_DP2SETTRANSFORM { } unsafe impl :: windows :: Abi for D3DNTHAL_DP2SETTRANSFORM { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct D3DNTHAL_DP2STARTVERTEX { pub wVStart : u16 } impl D3DNTHAL_DP2STARTVERTEX { } impl :: std :: default :: Default for D3DNTHAL_DP2STARTVERTEX { fn default ( ) -> Self { Self { wVStart : 0 } } } impl :: std :: fmt :: Debug for D3DNTHAL_DP2STARTVERTEX { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "D3DNTHAL_DP2STARTVERTEX" ) . field ( "wVStart" , & self . wVStart ) . finish ( ) } } impl :: std :: cmp :: PartialEq for D3DNTHAL_DP2STARTVERTEX { fn eq ( & self , other : & Self ) -> bool { self . wVStart == other . wVStart } } impl :: std :: cmp :: Eq for D3DNTHAL_DP2STARTVERTEX { } unsafe impl :: windows :: Abi for D3DNTHAL_DP2STARTVERTEX { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct D3DNTHAL_DP2STATESET { pub dwOperation : u32 , pub dwParam : u32 , pub sbType : super::super::Graphics::Direct3D9:: D3DSTATEBLOCKTYPE } impl D3DNTHAL_DP2STATESET { } impl :: std :: default :: Default for D3DNTHAL_DP2STATESET { fn default ( ) -> Self { Self { dwOperation : 0 , dwParam : 0 , sbType : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for D3DNTHAL_DP2STATESET { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "D3DNTHAL_DP2STATESET" ) . field ( "dwOperation" , & self . dwOperation ) . field ( "dwParam" , & self . dwParam ) . field ( "sbType" , & self . sbType ) . finish ( ) } } impl :: std :: cmp :: PartialEq for D3DNTHAL_DP2STATESET { fn eq ( & self , other : & Self ) -> bool { self . dwOperation == other . dwOperation && self . dwParam == other . dwParam && self . sbType == other . sbType } } impl :: std :: cmp :: Eq for D3DNTHAL_DP2STATESET { } unsafe impl :: windows :: Abi for D3DNTHAL_DP2STATESET { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct D3DNTHAL_DP2TEXBLT { pub dwDDDestSurface : u32 , pub dwDDSrcSurface : u32 , pub pDest : super::super::Foundation:: POINT , pub rSrc : super::super::Foundation:: RECTL , pub dwFlags : u32 } impl D3DNTHAL_DP2TEXBLT { } impl :: std :: default :: Default for D3DNTHAL_DP2TEXBLT { fn default ( ) -> Self { Self { dwDDDestSurface : 0 , dwDDSrcSurface : 0 , pDest : :: std :: default :: Default :: default ( ) , rSrc : :: std :: default :: Default :: default ( ) , dwFlags : 0 } } } impl :: std :: fmt :: Debug for D3DNTHAL_DP2TEXBLT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "D3DNTHAL_DP2TEXBLT" ) . field ( "dwDDDestSurface" , & self . dwDDDestSurface ) . field ( "dwDDSrcSurface" , & self . dwDDSrcSurface ) . field ( "pDest" , & self . pDest ) . field ( "rSrc" , & self . rSrc ) . field ( "dwFlags" , & self . dwFlags ) . finish ( ) } } impl :: std :: cmp :: PartialEq for D3DNTHAL_DP2TEXBLT { fn eq ( & self , other : & Self ) -> bool { self . dwDDDestSurface == other . dwDDDestSurface && self . dwDDSrcSurface == other . dwDDSrcSurface && self . pDest == other . pDest && self . rSrc == other . rSrc && self . dwFlags == other . dwFlags } } impl :: std :: cmp :: Eq for D3DNTHAL_DP2TEXBLT { } unsafe impl :: windows :: Abi for D3DNTHAL_DP2TEXBLT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct D3DNTHAL_DP2TEXTURESTAGESTATE { pub wStage : u16 , pub TSState : u16 , pub dwValue : u32 } impl D3DNTHAL_DP2TEXTURESTAGESTATE { } impl :: std :: default :: Default for D3DNTHAL_DP2TEXTURESTAGESTATE { fn default ( ) -> Self { Self { wStage : 0 , TSState : 0 , dwValue : 0 } } } impl :: std :: fmt :: Debug for D3DNTHAL_DP2TEXTURESTAGESTATE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "D3DNTHAL_DP2TEXTURESTAGESTATE" ) . field ( "wStage" , & self . wStage ) . field ( "TSState" , & self . TSState ) . field ( "dwValue" , & self . dwValue ) . finish ( ) } } impl :: std :: cmp :: PartialEq for D3DNTHAL_DP2TEXTURESTAGESTATE { fn eq ( & self , other : & Self ) -> bool { self . wStage == other . wStage && self . TSState == other . TSState && self . dwValue == other . dwValue } } impl :: std :: cmp :: Eq for D3DNTHAL_DP2TEXTURESTAGESTATE { } unsafe impl :: windows :: Abi for D3DNTHAL_DP2TEXTURESTAGESTATE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct D3DNTHAL_DP2TRIANGLEFAN { pub wVStart : u16 } impl D3DNTHAL_DP2TRIANGLEFAN { } impl :: std :: default :: Default for D3DNTHAL_DP2TRIANGLEFAN { fn default ( ) -> Self { Self { wVStart : 0 } } } impl :: std :: fmt :: Debug for D3DNTHAL_DP2TRIANGLEFAN { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "D3DNTHAL_DP2TRIANGLEFAN" ) . field ( "wVStart" , & self . wVStart ) . finish ( ) } } impl :: std :: cmp :: PartialEq for D3DNTHAL_DP2TRIANGLEFAN { fn eq ( & self , other : & Self ) -> bool { self . wVStart == other . wVStart } } impl :: std :: cmp :: Eq for D3DNTHAL_DP2TRIANGLEFAN { } unsafe impl :: windows :: Abi for D3DNTHAL_DP2TRIANGLEFAN { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct D3DNTHAL_DP2TRIANGLEFAN_IMM { pub dwEdgeFlags : u32 } impl D3DNTHAL_DP2TRIANGLEFAN_IMM { } impl :: std :: default :: Default for D3DNTHAL_DP2TRIANGLEFAN_IMM { fn default ( ) -> Self { Self { dwEdgeFlags : 0 } } } impl :: std :: fmt :: Debug for D3DNTHAL_DP2TRIANGLEFAN_IMM { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "D3DNTHAL_DP2TRIANGLEFAN_IMM" ) . field ( "dwEdgeFlags" , & self . dwEdgeFlags ) . finish ( ) } } impl :: std :: cmp :: PartialEq for D3DNTHAL_DP2TRIANGLEFAN_IMM { fn eq ( & self , other : & Self ) -> bool { self . dwEdgeFlags == other . dwEdgeFlags } } impl :: std :: cmp :: Eq for D3DNTHAL_DP2TRIANGLEFAN_IMM { } unsafe impl :: windows :: Abi for D3DNTHAL_DP2TRIANGLEFAN_IMM { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct D3DNTHAL_DP2TRIANGLELIST { pub wVStart : u16 } impl D3DNTHAL_DP2TRIANGLELIST { } impl :: std :: default :: Default for D3DNTHAL_DP2TRIANGLELIST { fn default ( ) -> Self { Self { wVStart : 0 } } } impl :: std :: fmt :: Debug for D3DNTHAL_DP2TRIANGLELIST { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "D3DNTHAL_DP2TRIANGLELIST" ) . field ( "wVStart" , & self . wVStart ) . finish ( ) } } impl :: std :: cmp :: PartialEq for D3DNTHAL_DP2TRIANGLELIST { fn eq ( & self , other : & Self ) -> bool { self . wVStart == other . wVStart } } impl :: std :: cmp :: Eq for D3DNTHAL_DP2TRIANGLELIST { } unsafe impl :: windows :: Abi for D3DNTHAL_DP2TRIANGLELIST { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct D3DNTHAL_DP2TRIANGLESTRIP { pub wVStart : u16 } impl D3DNTHAL_DP2TRIANGLESTRIP { } impl :: std :: default :: Default for D3DNTHAL_DP2TRIANGLESTRIP { fn default ( ) -> Self { Self { wVStart : 0 } } } impl :: std :: fmt :: Debug for D3DNTHAL_DP2TRIANGLESTRIP { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "D3DNTHAL_DP2TRIANGLESTRIP" ) . field ( "wVStart" , & self . wVStart ) . finish ( ) } } impl :: std :: cmp :: PartialEq for D3DNTHAL_DP2TRIANGLESTRIP { fn eq ( & self , other : & Self ) -> bool { self . wVStart == other . wVStart } } impl :: std :: cmp :: Eq for D3DNTHAL_DP2TRIANGLESTRIP { } unsafe impl :: windows :: Abi for D3DNTHAL_DP2TRIANGLESTRIP { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct D3DNTHAL_DP2UPDATEPALETTE { pub dwPaletteHandle : u32 , pub wStartIndex : u16 , pub wNumEntries : u16 } impl D3DNTHAL_DP2UPDATEPALETTE { } impl :: std :: default :: Default for D3DNTHAL_DP2UPDATEPALETTE { fn default ( ) -> Self { Self { dwPaletteHandle : 0 , wStartIndex : 0 , wNumEntries : 0 } } } impl :: std :: fmt :: Debug for D3DNTHAL_DP2UPDATEPALETTE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "D3DNTHAL_DP2UPDATEPALETTE" ) . field ( "dwPaletteHandle" , & self . dwPaletteHandle ) . field ( "wStartIndex" , & self . wStartIndex ) . field ( "wNumEntries" , & self . wNumEntries ) . finish ( ) } } impl :: std :: cmp :: PartialEq for D3DNTHAL_DP2UPDATEPALETTE { fn eq ( & self , other : & Self ) -> bool { self . dwPaletteHandle == other . dwPaletteHandle && self . wStartIndex == other . wStartIndex && self . wNumEntries == other . wNumEntries } } impl :: std :: cmp :: Eq for D3DNTHAL_DP2UPDATEPALETTE { } unsafe impl :: windows :: Abi for D3DNTHAL_DP2UPDATEPALETTE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct D3DNTHAL_DP2VIEWPORTINFO { pub dwX : u32 , pub dwY : u32 , pub dwWidth : u32 , pub dwHeight : u32 } impl D3DNTHAL_DP2VIEWPORTINFO { } impl :: std :: default :: Default for D3DNTHAL_DP2VIEWPORTINFO { fn default ( ) -> Self { Self { dwX : 0 , dwY : 0 , dwWidth : 0 , dwHeight : 0 } } } impl :: std :: fmt :: Debug for D3DNTHAL_DP2VIEWPORTINFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "D3DNTHAL_DP2VIEWPORTINFO" ) . field ( "dwX" , & self . dwX ) . field ( "dwY" , & self . dwY ) . field ( "dwWidth" , & self . dwWidth ) . field ( "dwHeight" , & self . dwHeight ) . finish ( ) } } impl :: std :: cmp :: PartialEq for D3DNTHAL_DP2VIEWPORTINFO { fn eq ( & self , other : & Self ) -> bool { self . dwX == other . dwX && self . dwY == other . dwY && self . dwWidth == other . dwWidth && self . dwHeight == other . dwHeight } } impl :: std :: cmp :: Eq for D3DNTHAL_DP2VIEWPORTINFO { } unsafe impl :: windows :: Abi for D3DNTHAL_DP2VIEWPORTINFO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct D3DNTHAL_DP2WINFO { pub dvWNear : f32 , pub dvWFar : f32 } impl D3DNTHAL_DP2WINFO { } impl :: std :: default :: Default for D3DNTHAL_DP2WINFO { fn default ( ) -> Self { Self { dvWNear : 0.0 , dvWFar : 0.0 } } } impl :: std :: fmt :: Debug for D3DNTHAL_DP2WINFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "D3DNTHAL_DP2WINFO" ) . field ( "dvWNear" , & self . dvWNear ) . field ( "dvWFar" , & self . dvWFar ) . finish ( ) } } impl :: std :: cmp :: PartialEq for D3DNTHAL_DP2WINFO { fn eq ( & self , other : & Self ) -> bool { self . dvWNear == other . dvWNear && self . dvWFar == other . dvWFar } } impl :: std :: cmp :: Eq for D3DNTHAL_DP2WINFO { } unsafe impl :: windows :: Abi for D3DNTHAL_DP2WINFO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct D3DNTHAL_DP2ZRANGE { pub dvMinZ : f32 , pub dvMaxZ : f32 } impl D3DNTHAL_DP2ZRANGE { } impl :: std :: default :: Default for D3DNTHAL_DP2ZRANGE { fn default ( ) -> Self { Self { dvMinZ : 0.0 , dvMaxZ : 0.0 } } } impl :: std :: fmt :: Debug for D3DNTHAL_DP2ZRANGE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "D3DNTHAL_DP2ZRANGE" ) . field ( "dvMinZ" , & self . dvMinZ ) . field ( "dvMaxZ" , & self . dvMaxZ ) . finish ( ) } } impl :: std :: cmp :: PartialEq for D3DNTHAL_DP2ZRANGE { fn eq ( & self , other : & Self ) -> bool { self . dvMinZ == other . dvMinZ && self . dvMaxZ == other . dvMaxZ } } impl :: std :: cmp :: Eq for D3DNTHAL_DP2ZRANGE { } unsafe impl :: windows :: Abi for D3DNTHAL_DP2ZRANGE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct D3DNTHAL_DRAWPRIMITIVES2DATA { pub dwhContext : usize , pub dwFlags : u32 , pub dwVertexType : u32 , pub lpDDCommands : * mut super::super::UI::DisplayDevices:: DD_SURFACE_LOCAL , pub dwCommandOffset : u32 , pub dwCommandLength : u32 , pub Anonymous1 : D3DNTHAL_DRAWPRIMITIVES2DATA_0 , pub dwVertexOffset : u32 , pub dwVertexLength : u32 , pub dwReqVertexBufSize : u32 , pub dwReqCommandBufSize : u32 , pub lpdwRStates : * mut u32 , pub Anonymous2 : D3DNTHAL_DRAWPRIMITIVES2DATA_1 , pub dwErrorOffset : u32 } impl D3DNTHAL_DRAWPRIMITIVES2DATA { } impl :: std :: cmp :: PartialEq for D3DNTHAL_DRAWPRIMITIVES2DATA { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for D3DNTHAL_DRAWPRIMITIVES2DATA { } unsafe impl :: windows :: Abi for D3DNTHAL_DRAWPRIMITIVES2DATA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union D3DNTHAL_DRAWPRIMITIVES2DATA_0 { pub lpDDVertex : * mut super::super::UI::DisplayDevices:: DD_SURFACE_LOCAL , pub lpVertices : * mut :: std :: ffi :: c_void } impl D3DNTHAL_DRAWPRIMITIVES2DATA_0 { } impl :: std :: cmp :: PartialEq for D3DNTHAL_DRAWPRIMITIVES2DATA_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for D3DNTHAL_DRAWPRIMITIVES2DATA_0 { } unsafe impl :: windows :: Abi for D3DNTHAL_DRAWPRIMITIVES2DATA_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union D3DNTHAL_DRAWPRIMITIVES2DATA_1 { pub dwVertexSize : u32 , pub ddrval : :: windows :: HRESULT } impl D3DNTHAL_DRAWPRIMITIVES2DATA_1 { } impl :: std :: cmp :: PartialEq for D3DNTHAL_DRAWPRIMITIVES2DATA_1 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for D3DNTHAL_DRAWPRIMITIVES2DATA_1 { } unsafe impl :: windows :: Abi for D3DNTHAL_DRAWPRIMITIVES2DATA_1 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct D3DNTHAL_GLOBALDRIVERDATA { pub dwSize : u32 , pub hwCaps : _D3DNTHALDeviceDesc_V1 , pub dwNumVertices : u32 , pub dwNumClipVertices : u32 , pub dwNumTextureFormats : u32 , pub lpTextureFormats : * mut super::super::Graphics::DirectDraw:: DDSURFACEDESC } impl D3DNTHAL_GLOBALDRIVERDATA { } impl :: std :: default :: Default for D3DNTHAL_GLOBALDRIVERDATA { fn default ( ) -> Self { Self { dwSize : 0 , hwCaps : :: std :: default :: Default :: default ( ) , dwNumVertices : 0 , dwNumClipVertices : 0 , dwNumTextureFormats : 0 , lpTextureFormats : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for D3DNTHAL_GLOBALDRIVERDATA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "D3DNTHAL_GLOBALDRIVERDATA" ) . field ( "dwSize" , & self . dwSize ) . field ( "hwCaps" , & self . hwCaps ) . field ( "dwNumVertices" , & self . dwNumVertices ) . field ( "dwNumClipVertices" , & self . dwNumClipVertices ) . field ( "dwNumTextureFormats" , & self . dwNumTextureFormats ) . field ( "lpTextureFormats" , & self . lpTextureFormats ) . finish ( ) } } impl :: std :: cmp :: PartialEq for D3DNTHAL_GLOBALDRIVERDATA { fn eq ( & self , other : & Self ) -> bool { self . dwSize == other . dwSize && self . hwCaps == other . hwCaps && self . dwNumVertices == other . dwNumVertices && self . dwNumClipVertices == other . dwNumClipVertices && self . dwNumTextureFormats == other . dwNumTextureFormats && self . lpTextureFormats == other . lpTextureFormats } } impl :: std :: cmp :: Eq for D3DNTHAL_GLOBALDRIVERDATA { } unsafe impl :: windows :: Abi for D3DNTHAL_GLOBALDRIVERDATA { type Abi = Self ; type DefaultType = Self ; } pub const D3DNTHAL_NUMCLIPVERTICES : u32 = 20u32 ; pub const D3DNTHAL_OUTOFCONTEXTS : i64 = 513i64 ; pub const D3DNTHAL_ROW_WEIGHTS : u32 = 1u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct D3DNTHAL_SCENECAPTUREDATA { pub dwhContext : usize , pub dwFlag : u32 , pub ddrval : :: windows :: HRESULT } impl D3DNTHAL_SCENECAPTUREDATA { } impl :: std :: default :: Default for D3DNTHAL_SCENECAPTUREDATA { fn default ( ) -> Self { Self { dwhContext : 0 , dwFlag : 0 , ddrval : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for D3DNTHAL_SCENECAPTUREDATA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "D3DNTHAL_SCENECAPTUREDATA" ) . field ( "dwhContext" , & self . dwhContext ) . field ( "dwFlag" , & self . dwFlag ) . field ( "ddrval" , & self . ddrval ) . finish ( ) } } impl :: std :: cmp :: PartialEq for D3DNTHAL_SCENECAPTUREDATA { fn eq ( & self , other : & Self ) -> bool { self . dwhContext == other . dwhContext && self . dwFlag == other . dwFlag && self . ddrval == other . ddrval } } impl :: std :: cmp :: Eq for D3DNTHAL_SCENECAPTUREDATA { } unsafe impl :: windows :: Abi for D3DNTHAL_SCENECAPTUREDATA { type Abi = Self ; type DefaultType = Self ; } pub const D3DNTHAL_SCENE_CAPTURE_END : i32 = 1i32 ; pub const D3DNTHAL_SCENE_CAPTURE_START : i32 = 0i32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct D3DNTHAL_SETRENDERTARGETDATA { pub dwhContext : usize , pub lpDDS : * mut super::super::UI::DisplayDevices:: DD_SURFACE_LOCAL , pub lpDDSZ : * mut super::super::UI::DisplayDevices:: DD_SURFACE_LOCAL , pub ddrval : :: windows :: HRESULT } impl D3DNTHAL_SETRENDERTARGETDATA { } impl :: std :: default :: Default for D3DNTHAL_SETRENDERTARGETDATA { fn default ( ) -> Self { Self { dwhContext : 0 , lpDDS : :: std :: ptr :: null_mut ( ) , lpDDSZ : :: std :: ptr :: null_mut ( ) , ddrval : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for D3DNTHAL_SETRENDERTARGETDATA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "D3DNTHAL_SETRENDERTARGETDATA" ) . field ( "dwhContext" , & self . dwhContext ) . field ( "lpDDS" , & self . lpDDS ) . field ( "lpDDSZ" , & self . lpDDSZ ) . field ( "ddrval" , & self . ddrval ) . finish ( ) } } impl :: std :: cmp :: PartialEq for D3DNTHAL_SETRENDERTARGETDATA { fn eq ( & self , other : & Self ) -> bool { self . dwhContext == other . dwhContext && self . lpDDS == other . lpDDS && self . lpDDSZ == other . lpDDSZ && self . ddrval == other . ddrval } } impl :: std :: cmp :: Eq for D3DNTHAL_SETRENDERTARGETDATA { } unsafe impl :: windows :: Abi for D3DNTHAL_SETRENDERTARGETDATA { type Abi = Self ; type DefaultType = Self ; } pub const D3DNTHAL_STATESETCREATE : u32 = 5u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct D3DNTHAL_TEXTURECREATEDATA { pub dwhContext : usize , pub hDDS : super::super::Foundation:: HANDLE , pub dwHandle : usize , pub ddrval : :: windows :: HRESULT } impl D3DNTHAL_TEXTURECREATEDATA { } impl :: std :: default :: Default for D3DNTHAL_TEXTURECREATEDATA { fn default ( ) -> Self { Self { dwhContext : 0 , hDDS : :: std :: default :: Default :: default ( ) , dwHandle : 0 , ddrval : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for D3DNTHAL_TEXTURECREATEDATA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "D3DNTHAL_TEXTURECREATEDATA" ) . field ( "dwhContext" , & self . dwhContext ) . field ( "hDDS" , & self . hDDS ) . field ( "dwHandle" , & self . dwHandle ) . field ( "ddrval" , & self . ddrval ) . finish ( ) } } impl :: std :: cmp :: PartialEq for D3DNTHAL_TEXTURECREATEDATA { fn eq ( & self , other : & Self ) -> bool { self . dwhContext == other . dwhContext && self . hDDS == other . hDDS && self . dwHandle == other . dwHandle && self . ddrval == other . ddrval } } impl :: std :: cmp :: Eq for D3DNTHAL_TEXTURECREATEDATA { } unsafe impl :: windows :: Abi for D3DNTHAL_TEXTURECREATEDATA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct D3DNTHAL_TEXTUREDESTROYDATA { pub dwhContext : usize , pub dwHandle : usize , pub ddrval : :: windows :: HRESULT } impl D3DNTHAL_TEXTUREDESTROYDATA { } impl :: std :: default :: Default for D3DNTHAL_TEXTUREDESTROYDATA { fn default ( ) -> Self { Self { dwhContext : 0 , dwHandle : 0 , ddrval : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for D3DNTHAL_TEXTUREDESTROYDATA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "D3DNTHAL_TEXTUREDESTROYDATA" ) . field ( "dwhContext" , & self . dwhContext ) . field ( "dwHandle" , & self . dwHandle ) . field ( "ddrval" , & self . ddrval ) . finish ( ) } } impl :: std :: cmp :: PartialEq for D3DNTHAL_TEXTUREDESTROYDATA { fn eq ( & self , other : & Self ) -> bool { self . dwhContext == other . dwhContext && self . dwHandle == other . dwHandle && self . ddrval == other . ddrval } } impl :: std :: cmp :: Eq for D3DNTHAL_TEXTUREDESTROYDATA { } unsafe impl :: windows :: Abi for D3DNTHAL_TEXTUREDESTROYDATA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct D3DNTHAL_TEXTUREGETSURFDATA { pub dwhContext : usize , pub hDDS : super::super::Foundation:: HANDLE , pub dwHandle : usize , pub ddrval : :: windows :: HRESULT } impl D3DNTHAL_TEXTUREGETSURFDATA { } impl :: std :: default :: Default for D3DNTHAL_TEXTUREGETSURFDATA { fn default ( ) -> Self { Self { dwhContext : 0 , hDDS : :: std :: default :: Default :: default ( ) , dwHandle : 0 , ddrval : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for D3DNTHAL_TEXTUREGETSURFDATA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "D3DNTHAL_TEXTUREGETSURFDATA" ) . field ( "dwhContext" , & self . dwhContext ) . field ( "hDDS" , & self . hDDS ) . field ( "dwHandle" , & self . dwHandle ) . field ( "ddrval" , & self . ddrval ) . finish ( ) } } impl :: std :: cmp :: PartialEq for D3DNTHAL_TEXTUREGETSURFDATA { fn eq ( & self , other : & Self ) -> bool { self . dwhContext == other . dwhContext && self . hDDS == other . hDDS && self . dwHandle == other . dwHandle && self . ddrval == other . ddrval } } impl :: std :: cmp :: Eq for D3DNTHAL_TEXTUREGETSURFDATA { } unsafe impl :: windows :: Abi for D3DNTHAL_TEXTUREGETSURFDATA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct D3DNTHAL_TEXTURESWAPDATA { pub dwhContext : usize , pub dwHandle1 : usize , pub dwHandle2 : usize , pub ddrval : :: windows :: HRESULT } impl D3DNTHAL_TEXTURESWAPDATA { } impl :: std :: default :: Default for D3DNTHAL_TEXTURESWAPDATA { fn default ( ) -> Self { Self { dwhContext : 0 , dwHandle1 : 0 , dwHandle2 : 0 , ddrval : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for D3DNTHAL_TEXTURESWAPDATA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "D3DNTHAL_TEXTURESWAPDATA" ) . field ( "dwhContext" , & self . dwhContext ) . field ( "dwHandle1" , & self . dwHandle1 ) . field ( "dwHandle2" , & self . dwHandle2 ) . field ( "ddrval" , & self . ddrval ) . finish ( ) } } impl :: std :: cmp :: PartialEq for D3DNTHAL_TEXTURESWAPDATA { fn eq ( & self , other : & Self ) -> bool { self . dwhContext == other . dwhContext && self . dwHandle1 == other . dwHandle1 && self . dwHandle2 == other . dwHandle2 && self . ddrval == other . ddrval } } impl :: std :: cmp :: Eq for D3DNTHAL_TEXTURESWAPDATA { } unsafe impl :: windows :: Abi for D3DNTHAL_TEXTURESWAPDATA { type Abi = Self ; type DefaultType = Self ; } pub const D3DNTHAL_TSS_MAXSTAGES : u32 = 8u32 ; pub const D3DNTHAL_TSS_RENDERSTATEBASE : u32 = 256u32 ; pub const D3DNTHAL_TSS_STATESPERSTAGE : u32 = 64u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct D3DNTHAL_VALIDATETEXTURESTAGESTATEDATA { pub dwhContext : usize , pub dwFlags : u32 , pub dwReserved : usize , pub dwNumPasses : u32 , pub ddrval : :: windows :: HRESULT } impl D3DNTHAL_VALIDATETEXTURESTAGESTATEDATA { } impl :: std :: default :: Default for D3DNTHAL_VALIDATETEXTURESTAGESTATEDATA { fn default ( ) -> Self { Self { dwhContext : 0 , dwFlags : 0 , dwReserved : 0 , dwNumPasses : 0 , ddrval : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for D3DNTHAL_VALIDATETEXTURESTAGESTATEDATA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "D3DNTHAL_VALIDATETEXTURESTAGESTATEDATA" ) . field ( "dwhContext" , & self . dwhContext ) . field ( "dwFlags" , & self . dwFlags ) . field ( "dwReserved" , & self . dwReserved ) . field ( "dwNumPasses" , & self . dwNumPasses ) . field ( "ddrval" , & self . ddrval ) . finish ( ) } } impl :: std :: cmp :: PartialEq for D3DNTHAL_VALIDATETEXTURESTAGESTATEDATA { fn eq ( & self , other : & Self ) -> bool { self . dwhContext == other . dwhContext && self . dwFlags == other . dwFlags && self . dwReserved == other . dwReserved && self . dwNumPasses == other . dwNumPasses && self . ddrval == other . ddrval } } impl :: std :: cmp :: Eq for D3DNTHAL_VALIDATETEXTURESTAGESTATEDATA { } unsafe impl :: windows :: Abi for D3DNTHAL_VALIDATETEXTURESTAGESTATEDATA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct D3DOPCODE ( pub i32 ) ; pub const D3DOP_POINT : D3DOPCODE = D3DOPCODE ( 1i32 ) ; pub const D3DOP_LINE : D3DOPCODE = D3DOPCODE ( 2i32 ) ; pub const D3DOP_TRIANGLE : D3DOPCODE = D3DOPCODE ( 3i32 ) ; pub const D3DOP_MATRIXLOAD : D3DOPCODE = D3DOPCODE ( 4i32 ) ; pub const D3DOP_MATRIXMULTIPLY : D3DOPCODE = D3DOPCODE ( 5i32 ) ; pub const D3DOP_STATETRANSFORM : D3DOPCODE = D3DOPCODE ( 6i32 ) ; pub const D3DOP_STATELIGHT : D3DOPCODE = D3DOPCODE ( 7i32 ) ; pub const D3DOP_STATERENDER : D3DOPCODE = D3DOPCODE ( 8i32 ) ; pub const D3DOP_PROCESSVERTICES : D3DOPCODE = D3DOPCODE ( 9i32 ) ; pub const D3DOP_TEXTURELOAD : D3DOPCODE = D3DOPCODE ( 10i32 ) ; pub const D3DOP_EXIT : D3DOPCODE = D3DOPCODE ( 11i32 ) ; pub const D3DOP_BRANCHFORWARD : D3DOPCODE = D3DOPCODE ( 12i32 ) ; pub const D3DOP_SPAN : D3DOPCODE = D3DOPCODE ( 13i32 ) ; pub const D3DOP_SETSTATUS : D3DOPCODE = D3DOPCODE ( 14i32 ) ; pub const D3DOP_FORCE_DWORD : D3DOPCODE = D3DOPCODE ( 2147483647i32 ) ; impl :: std :: convert :: From < i32 > for D3DOPCODE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for D3DOPCODE { type Abi = Self ; type DefaultType = Self ; } pub const D3DPAL_FREE : u32 = 0u32 ; pub const D3DPAL_READONLY : u32 = 64u32 ; pub const D3DPAL_RESERVED : u32 = 128u32 ; pub const D3DPBLENDCAPS_BOTHINVSRCALPHA : i32 = 4096i32 ; pub const D3DPBLENDCAPS_BOTHSRCALPHA : i32 = 2048i32 ; pub const D3DPBLENDCAPS_DESTALPHA : i32 = 64i32 ; pub const D3DPBLENDCAPS_DESTCOLOR : i32 = 256i32 ; pub const D3DPBLENDCAPS_INVDESTALPHA : i32 = 128i32 ; pub const D3DPBLENDCAPS_INVDESTCOLOR : i32 = 512i32 ; pub const D3DPBLENDCAPS_INVSRCALPHA : i32 = 32i32 ; pub const D3DPBLENDCAPS_INVSRCCOLOR : i32 = 8i32 ; pub const D3DPBLENDCAPS_ONE : i32 = 2i32 ; pub const D3DPBLENDCAPS_SRCALPHA : i32 = 16i32 ; pub const D3DPBLENDCAPS_SRCALPHASAT : i32 = 1024i32 ; pub const D3DPBLENDCAPS_SRCCOLOR : i32 = 4i32 ; pub const D3DPBLENDCAPS_ZERO : i32 = 1i32 ; pub const D3DPCMPCAPS_ALWAYS : i32 = 128i32 ; pub const D3DPCMPCAPS_EQUAL : i32 = 4i32 ; pub const D3DPCMPCAPS_GREATER : i32 = 16i32 ; pub const D3DPCMPCAPS_GREATEREQUAL : i32 = 64i32 ; pub const D3DPCMPCAPS_LESS : i32 = 2i32 ; pub const D3DPCMPCAPS_LESSEQUAL : i32 = 8i32 ; pub const D3DPCMPCAPS_NEVER : i32 = 1i32 ; pub const D3DPCMPCAPS_NOTEQUAL : i32 = 32i32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct D3DPICKRECORD { pub bOpcode : u8 , pub bPad : u8 , pub dwOffset : u32 , pub dvZ : f32 } impl D3DPICKRECORD { } impl :: std :: default :: Default for D3DPICKRECORD { fn default ( ) -> Self { Self { bOpcode : 0 , bPad : 0 , dwOffset : 0 , dvZ : 0.0 } } } impl :: std :: fmt :: Debug for D3DPICKRECORD { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "D3DPICKRECORD" ) . field ( "bOpcode" , & self . bOpcode ) . field ( "bPad" , & self . bPad ) . field ( "dwOffset" , & self . dwOffset ) . field ( "dvZ" , & self . dvZ ) . finish ( ) } } impl :: std :: cmp :: PartialEq for D3DPICKRECORD { fn eq ( & self , other : & Self ) -> bool { self . bOpcode == other . bOpcode && self . bPad == other . bPad && self . dwOffset == other . dwOffset && self . dvZ == other . dvZ } } impl :: std :: cmp :: Eq for D3DPICKRECORD { } unsafe impl :: windows :: Abi for D3DPICKRECORD { type Abi = Self ; type DefaultType = Self ; } pub const D3DPMISCCAPS_CONFORMANT : i32 = 8i32 ; pub const D3DPMISCCAPS_CULLCCW : i32 = 64i32 ; pub const D3DPMISCCAPS_CULLCW : i32 = 32i32 ; pub const D3DPMISCCAPS_CULLNONE : i32 = 16i32 ; pub const D3DPMISCCAPS_LINEPATTERNREP : i32 = 4i32 ; pub const D3DPMISCCAPS_MASKPLANES : i32 = 1i32 ; pub const D3DPMISCCAPS_MASKZ : i32 = 2i32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct D3DPOINT { pub wCount : u16 , pub wFirst : u16 } impl D3DPOINT { } impl :: std :: default :: Default for D3DPOINT { fn default ( ) -> Self { Self { wCount : 0 , wFirst : 0 } } } impl :: std :: fmt :: Debug for D3DPOINT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "D3DPOINT" ) . field ( "wCount" , & self . wCount ) . field ( "wFirst" , & self . wFirst ) . finish ( ) } } impl :: std :: cmp :: PartialEq for D3DPOINT { fn eq ( & self , other : & Self ) -> bool { self . wCount == other . wCount && self . wFirst == other . wFirst } } impl :: std :: cmp :: Eq for D3DPOINT { } unsafe impl :: windows :: Abi for D3DPOINT { type Abi = Self ; type DefaultType = Self ; } pub const D3DPRASTERCAPS_ANISOTROPY : i32 = 131072i32 ; pub const D3DPRASTERCAPS_ANTIALIASEDGES : i32 = 4096i32 ; pub const D3DPRASTERCAPS_ANTIALIASSORTDEPENDENT : i32 = 1024i32 ; pub const D3DPRASTERCAPS_ANTIALIASSORTINDEPENDENT : i32 = 2048i32 ; pub const D3DPRASTERCAPS_DITHER : i32 = 1i32 ; pub const D3DPRASTERCAPS_FOGRANGE : i32 = 65536i32 ; pub const D3DPRASTERCAPS_FOGTABLE : i32 = 256i32 ; pub const D3DPRASTERCAPS_FOGVERTEX : i32 = 128i32 ; pub const D3DPRASTERCAPS_MIPMAPLODBIAS : i32 = 8192i32 ; pub const D3DPRASTERCAPS_PAT : i32 = 8i32 ; pub const D3DPRASTERCAPS_ROP2 : i32 = 2i32 ; pub const D3DPRASTERCAPS_STIPPLE : i32 = 512i32 ; pub const D3DPRASTERCAPS_STRETCHBLTMULTISAMPLE : i32 = 8388608i32 ; pub const D3DPRASTERCAPS_SUBPIXEL : i32 = 32i32 ; pub const D3DPRASTERCAPS_SUBPIXELX : i32 = 64i32 ; pub const D3DPRASTERCAPS_TRANSLUCENTSORTINDEPENDENT : i32 = 524288i32 ; pub const D3DPRASTERCAPS_WBUFFER : i32 = 262144i32 ; pub const D3DPRASTERCAPS_WFOG : i32 = 1048576i32 ; pub const D3DPRASTERCAPS_XOR : i32 = 4i32 ; pub const D3DPRASTERCAPS_ZBIAS : i32 = 16384i32 ; pub const D3DPRASTERCAPS_ZBUFFERLESSHSR : i32 = 32768i32 ; pub const D3DPRASTERCAPS_ZFOG : i32 = 2097152i32 ; pub const D3DPRASTERCAPS_ZTEST : i32 = 16i32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct D3DPROCESSVERTICES { pub dwFlags : u32 , pub wStart : u16 , pub wDest : u16 , pub dwCount : u32 , pub dwReserved : u32 } impl D3DPROCESSVERTICES { } impl :: std :: default :: Default for D3DPROCESSVERTICES { fn default ( ) -> Self { Self { dwFlags : 0 , wStart : 0 , wDest : 0 , dwCount : 0 , dwReserved : 0 } } } impl :: std :: fmt :: Debug for D3DPROCESSVERTICES { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "D3DPROCESSVERTICES" ) . field ( "dwFlags" , & self . dwFlags ) . field ( "wStart" , & self . wStart ) . field ( "wDest" , & self . wDest ) . field ( "dwCount" , & self . dwCount ) . field ( "dwReserved" , & self . dwReserved ) . finish ( ) } } impl :: std :: cmp :: PartialEq for D3DPROCESSVERTICES { fn eq ( & self , other : & Self ) -> bool { self . dwFlags == other . dwFlags && self . wStart == other . wStart && self . wDest == other . wDest && self . dwCount == other . dwCount && self . dwReserved == other . dwReserved } } impl :: std :: cmp :: Eq for D3DPROCESSVERTICES { } unsafe impl :: windows :: Abi for D3DPROCESSVERTICES { type Abi = Self ; type DefaultType = Self ; } pub const D3DPROCESSVERTICES_COPY : i32 = 2i32 ; pub const D3DPROCESSVERTICES_NOCOLOR : i32 = 16i32 ; pub const D3DPROCESSVERTICES_OPMASK : i32 = 7i32 ; pub const D3DPROCESSVERTICES_TRANSFORM : i32 = 1i32 ; pub const D3DPROCESSVERTICES_TRANSFORMLIGHT : i32 = 0i32 ; pub const D3DPROCESSVERTICES_UPDATEEXTENTS : i32 = 8i32 ; pub const D3DPSHADECAPS_ALPHAFLATBLEND : i32 = 4096i32 ; pub const D3DPSHADECAPS_ALPHAFLATSTIPPLED : i32 = 8192i32 ; pub const D3DPSHADECAPS_ALPHAGOURAUDBLEND : i32 = 16384i32 ; pub const D3DPSHADECAPS_ALPHAGOURAUDSTIPPLED : i32 = 32768i32 ; pub const D3DPSHADECAPS_ALPHAPHONGBLEND : i32 = 65536i32 ; pub const D3DPSHADECAPS_ALPHAPHONGSTIPPLED : i32 = 131072i32 ; pub const D3DPSHADECAPS_COLORFLATMONO : i32 = 1i32 ; pub const D3DPSHADECAPS_COLORFLATRGB : i32 = 2i32 ; pub const D3DPSHADECAPS_COLORGOURAUDMONO : i32 = 4i32 ; pub const D3DPSHADECAPS_COLORGOURAUDRGB : i32 = 8i32 ; pub const D3DPSHADECAPS_COLORPHONGMONO : i32 = 16i32 ; pub const D3DPSHADECAPS_COLORPHONGRGB : i32 = 32i32 ; pub const D3DPSHADECAPS_FOGFLAT : i32 = 262144i32 ; pub const D3DPSHADECAPS_FOGGOURAUD : i32 = 524288i32 ; pub const D3DPSHADECAPS_FOGPHONG : i32 = 1048576i32 ; pub const D3DPSHADECAPS_SPECULARFLATMONO : i32 = 64i32 ; pub const D3DPSHADECAPS_SPECULARFLATRGB : i32 = 128i32 ; pub const D3DPSHADECAPS_SPECULARGOURAUDMONO : i32 = 256i32 ; pub const D3DPSHADECAPS_SPECULARGOURAUDRGB : i32 = 512i32 ; pub const D3DPSHADECAPS_SPECULARPHONGMONO : i32 = 1024i32 ; pub const D3DPSHADECAPS_SPECULARPHONGRGB : i32 = 2048i32 ; pub const D3DPTADDRESSCAPS_BORDER : i32 = 8i32 ; pub const D3DPTADDRESSCAPS_CLAMP : i32 = 4i32 ; pub const D3DPTADDRESSCAPS_INDEPENDENTUV : i32 = 16i32 ; pub const D3DPTADDRESSCAPS_MIRROR : i32 = 2i32 ; pub const D3DPTADDRESSCAPS_WRAP : i32 = 1i32 ; pub const D3DPTBLENDCAPS_ADD : i32 = 128i32 ; pub const D3DPTBLENDCAPS_COPY : i32 = 64i32 ; pub const D3DPTBLENDCAPS_DECAL : i32 = 1i32 ; pub const D3DPTBLENDCAPS_DECALALPHA : i32 = 4i32 ; pub const D3DPTBLENDCAPS_DECALMASK : i32 = 16i32 ; pub const D3DPTBLENDCAPS_MODULATE : i32 = 2i32 ; pub const D3DPTBLENDCAPS_MODULATEALPHA : i32 = 8i32 ; pub const D3DPTBLENDCAPS_MODULATEMASK : i32 = 32i32 ; pub const D3DPTEXTURECAPS_ALPHA : i32 = 4i32 ; pub const D3DPTEXTURECAPS_ALPHAPALETTE : i32 = 128i32 ; pub const D3DPTEXTURECAPS_BORDER : i32 = 16i32 ; pub const D3DPTEXTURECAPS_COLORKEYBLEND : i32 = 4096i32 ; pub const D3DPTEXTURECAPS_CUBEMAP : i32 = 2048i32 ; pub const D3DPTEXTURECAPS_NONPOW2CONDITIONAL : i32 = 256i32 ; pub const D3DPTEXTURECAPS_PERSPECTIVE : i32 = 1i32 ; pub const D3DPTEXTURECAPS_POW2 : i32 = 2i32 ; pub const D3DPTEXTURECAPS_PROJECTED : i32 = 1024i32 ; pub const D3DPTEXTURECAPS_SQUAREONLY : i32 = 32i32 ; pub const D3DPTEXTURECAPS_TEXREPEATNOTSCALEDBYSIZE : i32 = 64i32 ; pub const D3DPTEXTURECAPS_TRANSPARENCY : i32 = 8i32 ; pub const D3DPTFILTERCAPS_LINEAR : i32 = 2i32 ; pub const D3DPTFILTERCAPS_LINEARMIPLINEAR : i32 = 32i32 ; pub const D3DPTFILTERCAPS_LINEARMIPNEAREST : i32 = 16i32 ; pub const D3DPTFILTERCAPS_MAGFAFLATCUBIC : i32 = 134217728i32 ; pub const D3DPTFILTERCAPS_MAGFANISOTROPIC : i32 = 67108864i32 ; pub const D3DPTFILTERCAPS_MAGFGAUSSIANCUBIC : i32 = 268435456i32 ; pub const D3DPTFILTERCAPS_MAGFLINEAR : i32 = 33554432i32 ; pub const D3DPTFILTERCAPS_MAGFPOINT : i32 = 16777216i32 ; pub const D3DPTFILTERCAPS_MINFANISOTROPIC : i32 = 1024i32 ; pub const D3DPTFILTERCAPS_MINFLINEAR : i32 = 512i32 ; pub const D3DPTFILTERCAPS_MINFPOINT : i32 = 256i32 ; pub const D3DPTFILTERCAPS_MIPFLINEAR : i32 = 131072i32 ; pub const D3DPTFILTERCAPS_MIPFPOINT : i32 = 65536i32 ; pub const D3DPTFILTERCAPS_MIPLINEAR : i32 = 8i32 ; pub const D3DPTFILTERCAPS_MIPNEAREST : i32 = 4i32 ; pub const D3DPTFILTERCAPS_NEAREST : i32 = 1i32 ; pub const D3DPV_DONOTCOPYDATA : u32 = 1u32 ; pub const D3DRENDERSTATE_EVICTMANAGEDTEXTURES : u32 = 61u32 ; pub const D3DRENDERSTATE_SCENECAPTURE : u32 = 62u32 ; pub const D3DRENDERSTATE_WRAPBIAS : u32 = 128u32 ; pub const D3DRS_MAXPIXELSHADERINST : u32 = 197u32 ; pub const D3DRS_MAXVERTEXSHADERINST : u32 = 196u32 ; pub const D3DSETSTATUS_EXTENTS : i32 = 2i32 ; pub const D3DSETSTATUS_STATUS : i32 = 1i32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct D3DSPAN { pub wCount : u16 , pub wFirst : u16 } impl D3DSPAN { } impl :: std :: default :: Default for D3DSPAN { fn default ( ) -> Self { Self { wCount : 0 , wFirst : 0 } } } impl :: std :: fmt :: Debug for D3DSPAN { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "D3DSPAN" ) . field ( "wCount" , & self . wCount ) . field ( "wFirst" , & self . wFirst ) . finish ( ) } } impl :: std :: cmp :: PartialEq for D3DSPAN { fn eq ( & self , other : & Self ) -> bool { self . wCount == other . wCount && self . wFirst == other . wFirst } } impl :: std :: cmp :: Eq for D3DSPAN { } unsafe impl :: windows :: Abi for D3DSPAN { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct D3DSTATE { pub Anonymous1 : D3DSTATE_0 , pub Anonymous2 : D3DSTATE_1 } impl D3DSTATE { } impl :: std :: cmp :: PartialEq for D3DSTATE { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for D3DSTATE { } unsafe impl :: windows :: Abi for D3DSTATE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union D3DSTATE_0 { pub dtstTransformStateType : super::super::Graphics::Direct3D9:: D3DTRANSFORMSTATETYPE , pub dlstLightStateType : D3DLIGHTSTATETYPE , pub drstRenderStateType : super::super::Graphics::Direct3D9:: D3DRENDERSTATETYPE } impl D3DSTATE_0 { } impl :: std :: cmp :: PartialEq for D3DSTATE_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for D3DSTATE_0 { } unsafe impl :: windows :: Abi for D3DSTATE_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union D3DSTATE_1 { pub dwArg : [ u32 ;1 ] , pub dvArg : [ f32 ;1 ] } impl D3DSTATE_1 { } impl :: std :: cmp :: PartialEq for D3DSTATE_1 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for D3DSTATE_1 { } unsafe impl :: windows :: Abi for D3DSTATE_1 { type Abi = Self ; type DefaultType = Self ; } pub const D3DSTATE_OVERRIDE_BIAS : u32 = 256u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct D3DSTATS { pub dwSize : u32 , pub dwTrianglesDrawn : u32 , pub dwLinesDrawn : u32 , pub dwPointsDrawn : u32 , pub dwSpansDrawn : u32 , pub dwVerticesProcessed : u32 } impl D3DSTATS { } impl :: std :: default :: Default for D3DSTATS { fn default ( ) -> Self { Self { dwSize : 0 , dwTrianglesDrawn : 0 , dwLinesDrawn : 0 , dwPointsDrawn : 0 , dwSpansDrawn : 0 , dwVerticesProcessed : 0 } } } impl :: std :: fmt :: Debug for D3DSTATS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "D3DSTATS" ) . field ( "dwSize" , & self . dwSize ) . field ( "dwTrianglesDrawn" , & self . dwTrianglesDrawn ) . field ( "dwLinesDrawn" , & self . dwLinesDrawn ) . field ( "dwPointsDrawn" , & self . dwPointsDrawn ) . field ( "dwSpansDrawn" , & self . dwSpansDrawn ) . field ( "dwVerticesProcessed" , & self . dwVerticesProcessed ) . finish ( ) } } impl :: std :: cmp :: PartialEq for D3DSTATS { fn eq ( & self , other : & Self ) -> bool { self . dwSize == other . dwSize && self . dwTrianglesDrawn == other . dwTrianglesDrawn && self . dwLinesDrawn == other . dwLinesDrawn && self . dwPointsDrawn == other . dwPointsDrawn && self . dwSpansDrawn == other . dwSpansDrawn && self . dwVerticesProcessed == other . dwVerticesProcessed } } impl :: std :: cmp :: Eq for D3DSTATS { } unsafe impl :: windows :: Abi for D3DSTATS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct D3DSTATUS { pub dwFlags : u32 , pub dwStatus : u32 , pub drExtent : super::super::Graphics::Direct3D9:: D3DRECT } impl D3DSTATUS { } impl :: std :: default :: Default for D3DSTATUS { fn default ( ) -> Self { Self { dwFlags : 0 , dwStatus : 0 , drExtent : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for D3DSTATUS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "D3DSTATUS" ) . field ( "dwFlags" , & self . dwFlags ) . field ( "dwStatus" , & self . dwStatus ) . field ( "drExtent" , & self . drExtent ) . finish ( ) } } impl :: std :: cmp :: PartialEq for D3DSTATUS { fn eq ( & self , other : & Self ) -> bool { self . dwFlags == other . dwFlags && self . dwStatus == other . dwStatus && self . drExtent == other . drExtent } } impl :: std :: cmp :: Eq for D3DSTATUS { } unsafe impl :: windows :: Abi for D3DSTATUS { type Abi = Self ; type DefaultType = Self ; } pub const D3DSTATUS_CLIPINTERSECTIONBACK : i32 = 131072i32 ; pub const D3DSTATUS_CLIPINTERSECTIONBOTTOM : i32 = 32768i32 ; pub const D3DSTATUS_CLIPINTERSECTIONFRONT : i32 = 65536i32 ; pub const D3DSTATUS_CLIPINTERSECTIONGEN0 : i32 = 262144i32 ; pub const D3DSTATUS_CLIPINTERSECTIONGEN1 : i32 = 524288i32 ; pub const D3DSTATUS_CLIPINTERSECTIONGEN2 : i32 = 1048576i32 ; pub const D3DSTATUS_CLIPINTERSECTIONGEN3 : i32 = 2097152i32 ; pub const D3DSTATUS_CLIPINTERSECTIONGEN4 : i32 = 4194304i32 ; pub const D3DSTATUS_CLIPINTERSECTIONGEN5 : i32 = 8388608i32 ; pub const D3DSTATUS_CLIPINTERSECTIONLEFT : i32 = 4096i32 ; pub const D3DSTATUS_CLIPINTERSECTIONRIGHT : i32 = 8192i32 ; pub const D3DSTATUS_CLIPINTERSECTIONTOP : i32 = 16384i32 ; pub const D3DSTATUS_ZNOTVISIBLE : i32 = 16777216i32 ; pub const D3DSTENCILCAPS_DECR : i32 = 128i32 ; pub const D3DSTENCILCAPS_DECRSAT : i32 = 16i32 ; pub const D3DSTENCILCAPS_INCR : i32 = 64i32 ; pub const D3DSTENCILCAPS_INCRSAT : i32 = 8i32 ; pub const D3DSTENCILCAPS_INVERT : i32 = 32i32 ; pub const D3DSTENCILCAPS_KEEP : i32 = 1i32 ; pub const D3DSTENCILCAPS_REPLACE : i32 = 4i32 ; pub const D3DSTENCILCAPS_ZERO : i32 = 2i32 ; pub const D3DTA_ALPHAREPLICATE : u32 = 32u32 ; pub const D3DTA_COMPLEMENT : u32 = 16u32 ; pub const D3DTA_CURRENT : u32 = 1u32 ; pub const D3DTA_DIFFUSE : u32 = 0u32 ; pub const D3DTA_SELECTMASK : u32 = 15u32 ; pub const D3DTA_SPECULAR : u32 = 4u32 ; pub const D3DTA_TEXTURE : u32 = 2u32 ; pub const D3DTA_TFACTOR : u32 = 3u32 ; pub const D3DTEXOPCAPS_ADD : i32 = 64i32 ; pub const D3DTEXOPCAPS_ADDSIGNED : i32 = 128i32 ; pub const D3DTEXOPCAPS_ADDSIGNED2X : i32 = 256i32 ; pub const D3DTEXOPCAPS_ADDSMOOTH : i32 = 1024i32 ; pub const D3DTEXOPCAPS_BLENDCURRENTALPHA : i32 = 32768i32 ; pub const D3DTEXOPCAPS_BLENDDIFFUSEALPHA : i32 = 2048i32 ; pub const D3DTEXOPCAPS_BLENDFACTORALPHA : i32 = 8192i32 ; pub const D3DTEXOPCAPS_BLENDTEXTUREALPHA : i32 = 4096i32 ; pub const D3DTEXOPCAPS_BLENDTEXTUREALPHAPM : i32 = 16384i32 ; pub const D3DTEXOPCAPS_BUMPENVMAP : i32 = 2097152i32 ; pub const D3DTEXOPCAPS_BUMPENVMAPLUMINANCE : i32 = 4194304i32 ; pub const D3DTEXOPCAPS_DISABLE : i32 = 1i32 ; pub const D3DTEXOPCAPS_DOTPRODUCT3 : i32 = 8388608i32 ; pub const D3DTEXOPCAPS_MODULATE : i32 = 8i32 ; pub const D3DTEXOPCAPS_MODULATE2X : i32 = 16i32 ; pub const D3DTEXOPCAPS_MODULATE4X : i32 = 32i32 ; pub const D3DTEXOPCAPS_MODULATEALPHA_ADDCOLOR : i32 = 131072i32 ; pub const D3DTEXOPCAPS_MODULATECOLOR_ADDALPHA : i32 = 262144i32 ; pub const D3DTEXOPCAPS_MODULATEINVALPHA_ADDCOLOR : i32 = 524288i32 ; pub const D3DTEXOPCAPS_MODULATEINVCOLOR_ADDALPHA : i32 = 1048576i32 ; pub const D3DTEXOPCAPS_PREMODULATE : i32 = 65536i32 ; pub const D3DTEXOPCAPS_SELECTARG1 : i32 = 2i32 ; pub const D3DTEXOPCAPS_SELECTARG2 : i32 = 4i32 ; pub const D3DTEXOPCAPS_SUBTRACT : i32 = 512i32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct D3DTEXTUREBLEND ( pub i32 ) ; pub const D3DTBLEND_DECAL : D3DTEXTUREBLEND = D3DTEXTUREBLEND ( 1i32 ) ; pub const D3DTBLEND_MODULATE : D3DTEXTUREBLEND = D3DTEXTUREBLEND ( 2i32 ) ; pub const D3DTBLEND_DECALALPHA : D3DTEXTUREBLEND = D3DTEXTUREBLEND ( 3i32 ) ; pub const D3DTBLEND_MODULATEALPHA : D3DTEXTUREBLEND = D3DTEXTUREBLEND ( 4i32 ) ; pub const D3DTBLEND_DECALMASK : D3DTEXTUREBLEND = D3DTEXTUREBLEND ( 5i32 ) ; pub const D3DTBLEND_MODULATEMASK : D3DTEXTUREBLEND = D3DTEXTUREBLEND ( 6i32 ) ; pub const D3DTBLEND_COPY : D3DTEXTUREBLEND = D3DTEXTUREBLEND ( 7i32 ) ; pub const D3DTBLEND_ADD : D3DTEXTUREBLEND = D3DTEXTUREBLEND ( 8i32 ) ; pub const D3DTBLEND_FORCE_DWORD : D3DTEXTUREBLEND = D3DTEXTUREBLEND ( 2147483647i32 ) ; impl :: std :: convert :: From < i32 > for D3DTEXTUREBLEND { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for D3DTEXTUREBLEND { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct D3DTEXTUREFILTER ( pub i32 ) ; pub const D3DFILTER_NEAREST : D3DTEXTUREFILTER = D3DTEXTUREFILTER ( 1i32 ) ; pub const D3DFILTER_LINEAR : D3DTEXTUREFILTER = D3DTEXTUREFILTER ( 2i32 ) ; pub const D3DFILTER_MIPNEAREST : D3DTEXTUREFILTER = D3DTEXTUREFILTER ( 3i32 ) ; pub const D3DFILTER_MIPLINEAR : D3DTEXTUREFILTER = D3DTEXTUREFILTER ( 4i32 ) ; pub const D3DFILTER_LINEARMIPNEAREST : D3DTEXTUREFILTER = D3DTEXTUREFILTER ( 5i32 ) ; pub const D3DFILTER_LINEARMIPLINEAR : D3DTEXTUREFILTER = D3DTEXTUREFILTER ( 6i32 ) ; pub const D3DFILTER_FORCE_DWORD : D3DTEXTUREFILTER = D3DTEXTUREFILTER ( 2147483647i32 ) ; impl :: std :: convert :: From < i32 > for D3DTEXTUREFILTER { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for D3DTEXTUREFILTER { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct D3DTEXTURELOAD { pub hDestTexture : u32 , pub hSrcTexture : u32 } impl D3DTEXTURELOAD { } impl :: std :: default :: Default for D3DTEXTURELOAD { fn default ( ) -> Self { Self { hDestTexture : 0 , hSrcTexture : 0 } } } impl :: std :: fmt :: Debug for D3DTEXTURELOAD { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "D3DTEXTURELOAD" ) . field ( "hDestTexture" , & self . hDestTexture ) . field ( "hSrcTexture" , & self . hSrcTexture ) . finish ( ) } } impl :: std :: cmp :: PartialEq for D3DTEXTURELOAD { fn eq ( & self , other : & Self ) -> bool { self . hDestTexture == other . hDestTexture && self . hSrcTexture == other . hSrcTexture } } impl :: std :: cmp :: Eq for D3DTEXTURELOAD { } unsafe impl :: windows :: Abi for D3DTEXTURELOAD { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct D3DTEXTUREMAGFILTER ( pub i32 ) ; pub const D3DTFG_POINT : D3DTEXTUREMAGFILTER = D3DTEXTUREMAGFILTER ( 1i32 ) ; pub const D3DTFG_LINEAR : D3DTEXTUREMAGFILTER = D3DTEXTUREMAGFILTER ( 2i32 ) ; pub const D3DTFG_FLATCUBIC : D3DTEXTUREMAGFILTER = D3DTEXTUREMAGFILTER ( 3i32 ) ; pub const D3DTFG_GAUSSIANCUBIC : D3DTEXTUREMAGFILTER = D3DTEXTUREMAGFILTER ( 4i32 ) ; pub const D3DTFG_ANISOTROPIC : D3DTEXTUREMAGFILTER = D3DTEXTUREMAGFILTER ( 5i32 ) ; pub const D3DTFG_FORCE_DWORD : D3DTEXTUREMAGFILTER = D3DTEXTUREMAGFILTER ( 2147483647i32 ) ; impl :: std :: convert :: From < i32 > for D3DTEXTUREMAGFILTER { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for D3DTEXTUREMAGFILTER { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct D3DTEXTUREMINFILTER ( pub i32 ) ; pub const D3DTFN_POINT : D3DTEXTUREMINFILTER = D3DTEXTUREMINFILTER ( 1i32 ) ; pub const D3DTFN_LINEAR : D3DTEXTUREMINFILTER = D3DTEXTUREMINFILTER ( 2i32 ) ; pub const D3DTFN_ANISOTROPIC : D3DTEXTUREMINFILTER = D3DTEXTUREMINFILTER ( 3i32 ) ; pub const D3DTFN_FORCE_DWORD : D3DTEXTUREMINFILTER = D3DTEXTUREMINFILTER ( 2147483647i32 ) ; impl :: std :: convert :: From < i32 > for D3DTEXTUREMINFILTER { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for D3DTEXTUREMINFILTER { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct D3DTEXTUREMIPFILTER ( pub i32 ) ; pub const D3DTFP_NONE : D3DTEXTUREMIPFILTER = D3DTEXTUREMIPFILTER ( 1i32 ) ; pub const D3DTFP_POINT : D3DTEXTUREMIPFILTER = D3DTEXTUREMIPFILTER ( 2i32 ) ; pub const D3DTFP_LINEAR : D3DTEXTUREMIPFILTER = D3DTEXTUREMIPFILTER ( 3i32 ) ; pub const D3DTFP_FORCE_DWORD : D3DTEXTUREMIPFILTER = D3DTEXTUREMIPFILTER ( 2147483647i32 ) ; impl :: std :: convert :: From < i32 > for D3DTEXTUREMIPFILTER { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for D3DTEXTUREMIPFILTER { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct D3DTLVERTEX { pub Anonymous1 : D3DTLVERTEX_0 , pub Anonymous2 : D3DTLVERTEX_1 , pub Anonymous3 : D3DTLVERTEX_2 , pub Anonymous4 : D3DTLVERTEX_3 , pub Anonymous5 : D3DTLVERTEX_4 , pub Anonymous6 : D3DTLVERTEX_5 , pub Anonymous7 : D3DTLVERTEX_6 , pub Anonymous8 : D3DTLVERTEX_7 } impl D3DTLVERTEX { } impl :: std :: cmp :: PartialEq for D3DTLVERTEX { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for D3DTLVERTEX { } unsafe impl :: windows :: Abi for D3DTLVERTEX { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union D3DTLVERTEX_0 { pub sx : f32 , pub dvSX : f32 } impl D3DTLVERTEX_0 { } impl :: std :: cmp :: PartialEq for D3DTLVERTEX_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for D3DTLVERTEX_0 { } unsafe impl :: windows :: Abi for D3DTLVERTEX_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union D3DTLVERTEX_1 { pub sy : f32 , pub dvSY : f32 } impl D3DTLVERTEX_1 { } impl :: std :: cmp :: PartialEq for D3DTLVERTEX_1 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for D3DTLVERTEX_1 { } unsafe impl :: windows :: Abi for D3DTLVERTEX_1 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union D3DTLVERTEX_2 { pub sz : f32 , pub dvSZ : f32 } impl D3DTLVERTEX_2 { } impl :: std :: cmp :: PartialEq for D3DTLVERTEX_2 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for D3DTLVERTEX_2 { } unsafe impl :: windows :: Abi for D3DTLVERTEX_2 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union D3DTLVERTEX_3 { pub rhw : f32 , pub dvRHW : f32 } impl D3DTLVERTEX_3 { } impl :: std :: cmp :: PartialEq for D3DTLVERTEX_3 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for D3DTLVERTEX_3 { } unsafe impl :: windows :: Abi for D3DTLVERTEX_3 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union D3DTLVERTEX_4 { pub color : u32 , pub dcColor : u32 } impl D3DTLVERTEX_4 { } impl :: std :: cmp :: PartialEq for D3DTLVERTEX_4 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for D3DTLVERTEX_4 { } unsafe impl :: windows :: Abi for D3DTLVERTEX_4 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union D3DTLVERTEX_5 { pub specular : u32 , pub dcSpecular : u32 } impl D3DTLVERTEX_5 { } impl :: std :: cmp :: PartialEq for D3DTLVERTEX_5 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for D3DTLVERTEX_5 { } unsafe impl :: windows :: Abi for D3DTLVERTEX_5 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union D3DTLVERTEX_6 { pub tu : f32 , pub dvTU : f32 } impl D3DTLVERTEX_6 { } impl :: std :: cmp :: PartialEq for D3DTLVERTEX_6 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for D3DTLVERTEX_6 { } unsafe impl :: windows :: Abi for D3DTLVERTEX_6 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union D3DTLVERTEX_7 { pub tv : f32 , pub dvTV : f32 } impl D3DTLVERTEX_7 { } impl :: std :: cmp :: PartialEq for D3DTLVERTEX_7 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for D3DTLVERTEX_7 { } unsafe impl :: windows :: Abi for D3DTLVERTEX_7 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct D3DTRANSFORMCAPS { pub dwSize : u32 , pub dwCaps : u32 } impl D3DTRANSFORMCAPS { } impl :: std :: default :: Default for D3DTRANSFORMCAPS { fn default ( ) -> Self { Self { dwSize : 0 , dwCaps : 0 } } } impl :: std :: fmt :: Debug for D3DTRANSFORMCAPS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "D3DTRANSFORMCAPS" ) . field ( "dwSize" , & self . dwSize ) . field ( "dwCaps" , & self . dwCaps ) . finish ( ) } } impl :: std :: cmp :: PartialEq for D3DTRANSFORMCAPS { fn eq ( & self , other : & Self ) -> bool { self . dwSize == other . dwSize && self . dwCaps == other . dwCaps } } impl :: std :: cmp :: Eq for D3DTRANSFORMCAPS { } unsafe impl :: windows :: Abi for D3DTRANSFORMCAPS { type Abi = Self ; type DefaultType = Self ; } pub const D3DTRANSFORMCAPS_CLIP : i32 = 1i32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct D3DTRANSFORMDATA { pub dwSize : u32 , pub lpIn : * mut :: std :: ffi :: c_void , pub dwInSize : u32 , pub lpOut : * mut :: std :: ffi :: c_void , pub dwOutSize : u32 , pub lpHOut : * mut D3DHVERTEX , pub dwClip : u32 , pub dwClipIntersection : u32 , pub dwClipUnion : u32 , pub drExtent : super::super::Graphics::Direct3D9:: D3DRECT } impl D3DTRANSFORMDATA { } impl :: std :: default :: Default for D3DTRANSFORMDATA { fn default ( ) -> Self { Self { dwSize : 0 , lpIn : :: std :: ptr :: null_mut ( ) , dwInSize : 0 , lpOut : :: std :: ptr :: null_mut ( ) , dwOutSize : 0 , lpHOut : :: std :: ptr :: null_mut ( ) , dwClip : 0 , dwClipIntersection : 0 , dwClipUnion : 0 , drExtent : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for D3DTRANSFORMDATA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "D3DTRANSFORMDATA" ) . field ( "dwSize" , & self . dwSize ) . field ( "lpIn" , & self . lpIn ) . field ( "dwInSize" , & self . dwInSize ) . field ( "lpOut" , & self . lpOut ) . field ( "dwOutSize" , & self . dwOutSize ) . field ( "lpHOut" , & self . lpHOut ) . field ( "dwClip" , & self . dwClip ) . field ( "dwClipIntersection" , & self . dwClipIntersection ) . field ( "dwClipUnion" , & self . dwClipUnion ) . field ( "drExtent" , & self . drExtent ) . finish ( ) } } impl :: std :: cmp :: PartialEq for D3DTRANSFORMDATA { fn eq ( & self , other : & Self ) -> bool { self . dwSize == other . dwSize && self . lpIn == other . lpIn && self . dwInSize == other . dwInSize && self . lpOut == other . lpOut && self . dwOutSize == other . dwOutSize && self . lpHOut == other . lpHOut && self . dwClip == other . dwClip && self . dwClipIntersection == other . dwClipIntersection && self . dwClipUnion == other . dwClipUnion && self . drExtent == other . drExtent } } impl :: std :: cmp :: Eq for D3DTRANSFORMDATA { } unsafe impl :: windows :: Abi for D3DTRANSFORMDATA { type Abi = Self ; type DefaultType = Self ; } pub const D3DTRANSFORM_CLIPPED : i32 = 1i32 ; pub const D3DTRANSFORM_UNCLIPPED : i32 = 2i32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct D3DTRIANGLE { pub Anonymous1 : D3DTRIANGLE_0 , pub Anonymous2 : D3DTRIANGLE_1 , pub Anonymous3 : D3DTRIANGLE_2 , pub wFlags : u16 } impl D3DTRIANGLE { } impl :: std :: cmp :: PartialEq for D3DTRIANGLE { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for D3DTRIANGLE { } unsafe impl :: windows :: Abi for D3DTRIANGLE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union D3DTRIANGLE_0 { pub v1 : u16 , pub wV1 : u16 } impl D3DTRIANGLE_0 { } impl :: std :: cmp :: PartialEq for D3DTRIANGLE_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for D3DTRIANGLE_0 { } unsafe impl :: windows :: Abi for D3DTRIANGLE_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union D3DTRIANGLE_1 { pub v2 : u16 , pub wV2 : u16 } impl D3DTRIANGLE_1 { } impl :: std :: cmp :: PartialEq for D3DTRIANGLE_1 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for D3DTRIANGLE_1 { } unsafe impl :: windows :: Abi for D3DTRIANGLE_1 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union D3DTRIANGLE_2 { pub v3 : u16 , pub wV3 : u16 } impl D3DTRIANGLE_2 { } impl :: std :: cmp :: PartialEq for D3DTRIANGLE_2 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for D3DTRIANGLE_2 { } unsafe impl :: windows :: Abi for D3DTRIANGLE_2 { type Abi = Self ; type DefaultType = Self ; } pub const D3DTRIFLAG_EDGEENABLE1 : i32 = 256i32 ; pub const D3DTRIFLAG_EDGEENABLE2 : i32 = 512i32 ; pub const D3DTRIFLAG_EDGEENABLE3 : i32 = 1024i32 ; pub const D3DTRIFLAG_EVEN : i32 = 31i32 ; pub const D3DTRIFLAG_ODD : i32 = 30i32 ; pub const D3DTRIFLAG_START : i32 = 0i32 ; pub const D3DTSS_TCI_CAMERASPACENORMAL : u32 = 65536u32 ; pub const D3DTSS_TCI_CAMERASPACEPOSITION : u32 = 131072u32 ; pub const D3DTSS_TCI_CAMERASPACEREFLECTIONVECTOR : u32 = 196608u32 ; pub const D3DTSS_TCI_PASSTHRU : u32 = 0u32 ; pub const D3DTSS_TEXTUREMAP : u32 = 0u32 ; pub const D3DVBCAPS_DONOTCLIP : i32 = 1i32 ; pub const D3DVBCAPS_OPTIMIZED : i32 = -2147483648i32 ; pub const D3DVBCAPS_SYSTEMMEMORY : i32 = 2048i32 ; pub const D3DVBCAPS_WRITEONLY : i32 = 65536i32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct D3DVERTEX { pub Anonymous1 : D3DVERTEX_0 , pub Anonymous2 : D3DVERTEX_1 , pub Anonymous3 : D3DVERTEX_2 , pub Anonymous4 : D3DVERTEX_3 , pub Anonymous5 : D3DVERTEX_4 , pub Anonymous6 : D3DVERTEX_5 , pub Anonymous7 : D3DVERTEX_6 , pub Anonymous8 : D3DVERTEX_7 } impl D3DVERTEX { } impl :: std :: cmp :: PartialEq for D3DVERTEX { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for D3DVERTEX { } unsafe impl :: windows :: Abi for D3DVERTEX { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union D3DVERTEX_0 { pub x : f32 , pub dvX : f32 } impl D3DVERTEX_0 { } impl :: std :: cmp :: PartialEq for D3DVERTEX_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for D3DVERTEX_0 { } unsafe impl :: windows :: Abi for D3DVERTEX_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union D3DVERTEX_1 { pub y : f32 , pub dvY : f32 } impl D3DVERTEX_1 { } impl :: std :: cmp :: PartialEq for D3DVERTEX_1 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for D3DVERTEX_1 { } unsafe impl :: windows :: Abi for D3DVERTEX_1 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union D3DVERTEX_2 { pub z : f32 , pub dvZ : f32 } impl D3DVERTEX_2 { } impl :: std :: cmp :: PartialEq for D3DVERTEX_2 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for D3DVERTEX_2 { } unsafe impl :: windows :: Abi for D3DVERTEX_2 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union D3DVERTEX_3 { pub nx : f32 , pub dvNX : f32 } impl D3DVERTEX_3 { } impl :: std :: cmp :: PartialEq for D3DVERTEX_3 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for D3DVERTEX_3 { } unsafe impl :: windows :: Abi for D3DVERTEX_3 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union D3DVERTEX_4 { pub ny : f32 , pub dvNY : f32 } impl D3DVERTEX_4 { } impl :: std :: cmp :: PartialEq for D3DVERTEX_4 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for D3DVERTEX_4 { } unsafe impl :: windows :: Abi for D3DVERTEX_4 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union D3DVERTEX_5 { pub nz : f32 , pub dvNZ : f32 } impl D3DVERTEX_5 { } impl :: std :: cmp :: PartialEq for D3DVERTEX_5 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for D3DVERTEX_5 { } unsafe impl :: windows :: Abi for D3DVERTEX_5 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union D3DVERTEX_6 { pub tu : f32 , pub dvTU : f32 } impl D3DVERTEX_6 { } impl :: std :: cmp :: PartialEq for D3DVERTEX_6 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for D3DVERTEX_6 { } unsafe impl :: windows :: Abi for D3DVERTEX_6 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union D3DVERTEX_7 { pub tv : f32 , pub dvTV : f32 } impl D3DVERTEX_7 { } impl :: std :: cmp :: PartialEq for D3DVERTEX_7 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for D3DVERTEX_7 { } unsafe impl :: windows :: Abi for D3DVERTEX_7 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct D3DVERTEXBUFFERDESC { pub dwSize : u32 , pub dwCaps : u32 , pub dwFVF : u32 , pub dwNumVertices : u32 } impl D3DVERTEXBUFFERDESC { } impl :: std :: default :: Default for D3DVERTEXBUFFERDESC { fn default ( ) -> Self { Self { dwSize : 0 , dwCaps : 0 , dwFVF : 0 , dwNumVertices : 0 } } } impl :: std :: fmt :: Debug for D3DVERTEXBUFFERDESC { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "D3DVERTEXBUFFERDESC" ) . field ( "dwSize" , & self . dwSize ) . field ( "dwCaps" , & self . dwCaps ) . field ( "dwFVF" , & self . dwFVF ) . field ( "dwNumVertices" , & self . dwNumVertices ) . finish ( ) } } impl :: std :: cmp :: PartialEq for D3DVERTEXBUFFERDESC { fn eq ( & self , other : & Self ) -> bool { self . dwSize == other . dwSize && self . dwCaps == other . dwCaps && self . dwFVF == other . dwFVF && self . dwNumVertices == other . dwNumVertices } } impl :: std :: cmp :: Eq for D3DVERTEXBUFFERDESC { } unsafe impl :: windows :: Abi for D3DVERTEXBUFFERDESC { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct D3DVERTEXTYPE ( pub i32 ) ; pub const D3DVT_VERTEX : D3DVERTEXTYPE = D3DVERTEXTYPE ( 1i32 ) ; pub const D3DVT_LVERTEX : D3DVERTEXTYPE = D3DVERTEXTYPE ( 2i32 ) ; pub const D3DVT_TLVERTEX : D3DVERTEXTYPE = D3DVERTEXTYPE ( 3i32 ) ; pub const D3DVT_FORCE_DWORD : D3DVERTEXTYPE = D3DVERTEXTYPE ( 2147483647i32 ) ; impl :: std :: convert :: From < i32 > for D3DVERTEXTYPE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for D3DVERTEXTYPE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct D3DVIEWPORT { pub dwSize : u32 , pub dwX : u32 , pub dwY : u32 , pub dwWidth : u32 , pub dwHeight : u32 , pub dvScaleX : f32 , pub dvScaleY : f32 , pub dvMaxX : f32 , pub dvMaxY : f32 , pub dvMinZ : f32 , pub dvMaxZ : f32 } impl D3DVIEWPORT { } impl :: std :: default :: Default for D3DVIEWPORT { fn default ( ) -> Self { Self { dwSize : 0 , dwX : 0 , dwY : 0 , dwWidth : 0 , dwHeight : 0 , dvScaleX : 0.0 , dvScaleY : 0.0 , dvMaxX : 0.0 , dvMaxY : 0.0 , dvMinZ : 0.0 , dvMaxZ : 0.0 } } } impl :: std :: fmt :: Debug for D3DVIEWPORT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "D3DVIEWPORT" ) . field ( "dwSize" , & self . dwSize ) . field ( "dwX" , & self . dwX ) . field ( "dwY" , & self . dwY ) . field ( "dwWidth" , & self . dwWidth ) . field ( "dwHeight" , & self . dwHeight ) . field ( "dvScaleX" , & self . dvScaleX ) . field ( "dvScaleY" , & self . dvScaleY ) . field ( "dvMaxX" , & self . dvMaxX ) . field ( "dvMaxY" , & self . dvMaxY ) . field ( "dvMinZ" , & self . dvMinZ ) . field ( "dvMaxZ" , & self . dvMaxZ ) . finish ( ) } } impl :: std :: cmp :: PartialEq for D3DVIEWPORT { fn eq ( & self , other : & Self ) -> bool { self . dwSize == other . dwSize && self . dwX == other . dwX && self . dwY == other . dwY && self . dwWidth == other . dwWidth && self . dwHeight == other . dwHeight && self . dvScaleX == other . dvScaleX && self . dvScaleY == other . dvScaleY && self . dvMaxX == other . dvMaxX && self . dvMaxY == other . dvMaxY && self . dvMinZ == other . dvMinZ && self . dvMaxZ == other . dvMaxZ } } impl :: std :: cmp :: Eq for D3DVIEWPORT { } unsafe impl :: windows :: Abi for D3DVIEWPORT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct D3DVIEWPORT2 { pub dwSize : u32 , pub dwX : u32 , pub dwY : u32 , pub dwWidth : u32 , pub dwHeight : u32 , pub dvClipX : f32 , pub dvClipY : f32 , pub dvClipWidth : f32 , pub dvClipHeight : f32 , pub dvMinZ : f32 , pub dvMaxZ : f32 } impl D3DVIEWPORT2 { } impl :: std :: default :: Default for D3DVIEWPORT2 { fn default ( ) -> Self { Self { dwSize : 0 , dwX : 0 , dwY : 0 , dwWidth : 0 , dwHeight : 0 , dvClipX : 0.0 , dvClipY : 0.0 , dvClipWidth : 0.0 , dvClipHeight : 0.0 , dvMinZ : 0.0 , dvMaxZ : 0.0 } } } impl :: std :: fmt :: Debug for D3DVIEWPORT2 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "D3DVIEWPORT2" ) . field ( "dwSize" , & self . dwSize ) . field ( "dwX" , & self . dwX ) . field ( "dwY" , & self . dwY ) . field ( "dwWidth" , & self . dwWidth ) . field ( "dwHeight" , & self . dwHeight ) . field ( "dvClipX" , & self . dvClipX ) . field ( "dvClipY" , & self . dvClipY ) . field ( "dvClipWidth" , & self . dvClipWidth ) . field ( "dvClipHeight" , & self . dvClipHeight ) . field ( "dvMinZ" , & self . dvMinZ ) . field ( "dvMaxZ" , & self . dvMaxZ ) . finish ( ) } } impl :: std :: cmp :: PartialEq for D3DVIEWPORT2 { fn eq ( & self , other : & Self ) -> bool { self . dwSize == other . dwSize && self . dwX == other . dwX && self . dwY == other . dwY && self . dwWidth == other . dwWidth && self . dwHeight == other . dwHeight && self . dvClipX == other . dvClipX && self . dvClipY == other . dvClipY && self . dvClipWidth == other . dvClipWidth && self . dvClipHeight == other . dvClipHeight && self . dvMinZ == other . dvMinZ && self . dvMaxZ == other . dvMaxZ } } impl :: std :: cmp :: Eq for D3DVIEWPORT2 { } unsafe impl :: windows :: Abi for D3DVIEWPORT2 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct D3DVIEWPORT7 { pub dwX : u32 , pub dwY : u32 , pub dwWidth : u32 , pub dwHeight : u32 , pub dvMinZ : f32 , pub dvMaxZ : f32 } impl D3DVIEWPORT7 { } impl :: std :: default :: Default for D3DVIEWPORT7 { fn default ( ) -> Self { Self { dwX : 0 , dwY : 0 , dwWidth : 0 , dwHeight : 0 , dvMinZ : 0.0 , dvMaxZ : 0.0 } } } impl :: std :: fmt :: Debug for D3DVIEWPORT7 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "D3DVIEWPORT7" ) . field ( "dwX" , & self . dwX ) . field ( "dwY" , & self . dwY ) . field ( "dwWidth" , & self . dwWidth ) . field ( "dwHeight" , & self . dwHeight ) . field ( "dvMinZ" , & self . dvMinZ ) . field ( "dvMaxZ" , & self . dvMaxZ ) . finish ( ) } } impl :: std :: cmp :: PartialEq for D3DVIEWPORT7 { fn eq ( & self , other : & Self ) -> bool { self . dwX == other . dwX && self . dwY == other . dwY && self . dwWidth == other . dwWidth && self . dwHeight == other . dwHeight && self . dvMinZ == other . dvMinZ && self . dvMaxZ == other . dvMaxZ } } impl :: std :: cmp :: Eq for D3DVIEWPORT7 { } unsafe impl :: windows :: Abi for D3DVIEWPORT7 { type Abi = Self ; type DefaultType = Self ; } pub const D3DVIS_INSIDE_BOTTOM : u32 = 0u32 ; pub const D3DVIS_INSIDE_FAR : u32 = 0u32 ; pub const D3DVIS_INSIDE_FRUSTUM : u32 = 0u32 ; pub const D3DVIS_INSIDE_LEFT : u32 = 0u32 ; pub const D3DVIS_INSIDE_NEAR : u32 = 0u32 ; pub const D3DVIS_INSIDE_RIGHT : u32 = 0u32 ; pub const D3DVIS_INSIDE_TOP : u32 = 0u32 ; pub const D3DVIS_INTERSECT_BOTTOM : u32 = 256u32 ; pub const D3DVIS_INTERSECT_FAR : u32 = 4096u32 ; pub const D3DVIS_INTERSECT_FRUSTUM : u32 = 1u32 ; pub const D3DVIS_INTERSECT_LEFT : u32 = 4u32 ; pub const D3DVIS_INTERSECT_NEAR : u32 = 1024u32 ; pub const D3DVIS_INTERSECT_RIGHT : u32 = 16u32 ; pub const D3DVIS_INTERSECT_TOP : u32 = 64u32 ; pub const D3DVIS_MASK_BOTTOM : u32 = 768u32 ; pub const D3DVIS_MASK_FAR : u32 = 12288u32 ; pub const D3DVIS_MASK_FRUSTUM : u32 = 3u32 ; pub const D3DVIS_MASK_LEFT : u32 = 12u32 ; pub const D3DVIS_MASK_NEAR : u32 = 3072u32 ; pub const D3DVIS_MASK_RIGHT : u32 = 48u32 ; pub const D3DVIS_MASK_TOP : u32 = 192u32 ; pub const D3DVIS_OUTSIDE_BOTTOM : u32 = 512u32 ; pub const D3DVIS_OUTSIDE_FAR : u32 = 8192u32 ; pub const D3DVIS_OUTSIDE_FRUSTUM : u32 = 2u32 ; pub const D3DVIS_OUTSIDE_LEFT : u32 = 8u32 ; pub const D3DVIS_OUTSIDE_NEAR : u32 = 2048u32 ; pub const D3DVIS_OUTSIDE_RIGHT : u32 = 32u32 ; pub const D3DVIS_OUTSIDE_TOP : u32 = 128u32 ; pub const D3DVOP_CLIP : u32 = 4u32 ; pub const D3DVOP_EXTENTS : u32 = 8u32 ; pub const D3DVOP_LIGHT : u32 = 1024u32 ; pub const D3DVOP_TRANSFORM : u32 = 1u32 ; pub const D3DVSDE_BLENDINDICES : u32 = 2u32 ; pub const D3DVSDE_BLENDWEIGHT : u32 = 1u32 ; pub const D3DVSDE_DIFFUSE : u32 = 5u32 ; pub const D3DVSDE_NORMAL : u32 = 3u32 ; pub const D3DVSDE_NORMAL2 : u32 = 16u32 ; pub const D3DVSDE_POSITION : u32 = 0u32 ; pub const D3DVSDE_POSITION2 : u32 = 15u32 ; pub const D3DVSDE_PSIZE : u32 = 4u32 ; pub const D3DVSDE_SPECULAR : u32 = 6u32 ; pub const D3DVSDE_TEXCOORD0 : u32 = 7u32 ; pub const D3DVSDE_TEXCOORD1 : u32 = 8u32 ; pub const D3DVSDE_TEXCOORD2 : u32 = 9u32 ; pub const D3DVSDE_TEXCOORD3 : u32 = 10u32 ; pub const D3DVSDE_TEXCOORD4 : u32 = 11u32 ; pub const D3DVSDE_TEXCOORD5 : u32 = 12u32 ; pub const D3DVSDE_TEXCOORD6 : u32 = 13u32 ; pub const D3DVSDE_TEXCOORD7 : u32 = 14u32 ; pub const D3DVSDT_D3DCOLOR : u32 = 4u32 ; pub const D3DVSDT_FLOAT1 : u32 = 0u32 ; pub const D3DVSDT_FLOAT2 : u32 = 1u32 ; pub const D3DVSDT_FLOAT3 : u32 = 2u32 ; pub const D3DVSDT_FLOAT4 : u32 = 3u32 ; pub const D3DVSDT_SHORT2 : u32 = 6u32 ; pub const D3DVSDT_SHORT4 : u32 = 7u32 ; pub const D3DVSDT_UBYTE4 : u32 = 5u32 ; pub const D3DVSD_CONSTADDRESSSHIFT : u32 = 0u32 ; pub const D3DVSD_CONSTCOUNTSHIFT : u32 = 25u32 ; pub const D3DVSD_CONSTRSSHIFT : u32 = 16u32 ; pub const D3DVSD_DATALOADTYPESHIFT : u32 = 28u32 ; pub const D3DVSD_DATATYPESHIFT : u32 = 16u32 ; pub const D3DVSD_EXTCOUNTSHIFT : u32 = 24u32 ; pub const D3DVSD_EXTINFOSHIFT : u32 = 0u32 ; pub const D3DVSD_SKIPCOUNTSHIFT : u32 = 16u32 ; pub const D3DVSD_STREAMNUMBERSHIFT : u32 = 0u32 ; pub const D3DVSD_STREAMTESSSHIFT : u32 = 28u32 ; pub const D3DVSD_TOKENTYPESHIFT : u32 = 29u32 ; pub const D3DVSD_VERTEXREGINSHIFT : u32 = 20u32 ; pub const D3DVSD_VERTEXREGSHIFT : u32 = 0u32 ; pub const D3DVTXPCAPS_DIRECTIONALLIGHTS : i32 = 8i32 ; pub const D3DVTXPCAPS_LOCALVIEWER : i32 = 32i32 ; pub const D3DVTXPCAPS_MATERIALSOURCE7 : i32 = 2i32 ; pub const D3DVTXPCAPS_POSITIONALLIGHTS : i32 = 16i32 ; pub const D3DVTXPCAPS_TEXGEN : i32 = 1i32 ; pub const D3DVTXPCAPS_VERTEXFOG : i32 = 4i32 ; pub const D3DWRAPCOORD_0 : i32 = 1i32 ; pub const D3DWRAPCOORD_1 : i32 = 2i32 ; pub const D3DWRAPCOORD_2 : i32 = 4i32 ; pub const D3DWRAPCOORD_3 : i32 = 8i32 ; pub const D3DWRAP_U : i32 = 1i32 ; pub const D3DWRAP_V : i32 = 2i32 ; pub const DAX_ALLOC_ALIGNMENT_FLAG_FALLBACK_SPECIFIED : u32 = 2u32 ; pub const DAX_ALLOC_ALIGNMENT_FLAG_MANDATORY : u32 = 1u32 ; pub const DBTF_RESOURCE : u32 = 1u32 ; pub const DBTF_SLOWNET : u32 = 4u32 ; pub const DBTF_XPORT : u32 = 2u32 ; pub const DBT_APPYBEGIN : u32 = 0u32 ; pub const DBT_APPYEND : u32 = 1u32 ; pub const DBT_CONFIGCHANGECANCELED : u32 = 25u32 ; pub const DBT_CONFIGCHANGED : u32 = 24u32 ; pub const DBT_CONFIGMGAPI32 : u32 = 34u32 ; pub const DBT_CONFIGMGPRIVATE : u32 = 32767u32 ; pub const DBT_CUSTOMEVENT : u32 = 32774u32 ; pub const DBT_DEVICEARRIVAL : u32 = 32768u32 ; pub const DBT_DEVICEQUERYREMOVE : u32 = 32769u32 ; pub const DBT_DEVICEQUERYREMOVEFAILED : u32 = 32770u32 ; pub const DBT_DEVICEREMOVECOMPLETE : u32 = 32772u32 ; pub const DBT_DEVICEREMOVEPENDING : u32 = 32771u32 ; pub const DBT_DEVICETYPESPECIFIC : u32 = 32773u32 ; pub const DBT_DEVNODES_CHANGED : u32 = 7u32 ; pub const DBT_DEVTYP_DEVNODE : u32 = 1u32 ; pub const DBT_DEVTYP_NET : u32 = 4u32 ; pub const DBT_LOW_DISK_SPACE : u32 = 72u32 ; pub const DBT_MONITORCHANGE : u32 = 27u32 ; pub const DBT_NO_DISK_SPACE : u32 = 71u32 ; pub const DBT_QUERYCHANGECONFIG : u32 = 23u32 ; pub const DBT_SHELLLOGGEDON : u32 = 32u32 ; pub const DBT_USERDEFINED : u32 = 65535u32 ; pub const DBT_VOLLOCKLOCKFAILED : u32 = 32835u32 ; pub const DBT_VOLLOCKLOCKRELEASED : u32 = 32837u32 ; pub const DBT_VOLLOCKLOCKTAKEN : u32 = 32834u32 ; pub const DBT_VOLLOCKQUERYLOCK : u32 = 32833u32 ; pub const DBT_VOLLOCKQUERYUNLOCK : u32 = 32836u32 ; pub const DBT_VOLLOCKUNLOCKFAILED : u32 = 32838u32 ; pub const DBT_VPOWERDAPI : u32 = 33024u32 ; pub const DBT_VXDINITCOMPLETE : u32 = 35u32 ; pub const DCR_DRIVER : u32 = 1u32 ; pub const DCR_HALFTONE : u32 = 2u32 ; pub const DCR_SOLID : u32 = 0u32 ; pub const DC_COMPLEX : u32 = 3u32 ; pub const DC_RECT : u32 = 1u32 ; pub const DC_TRIVIAL : u32 = 0u32 ; pub const DDBLT_EXTENDED_PRESENTATION_STRETCHFACTOR : i32 = 16i32 ; pub const DDI_DRIVER_VERSION_NT4 : u32 = 131072u32 ; pub const DDI_DRIVER_VERSION_NT5 : u32 = 196608u32 ; pub const DDI_DRIVER_VERSION_NT5_01 : u32 = 196864u32 ; pub const DDI_DRIVER_VERSION_NT5_01_SP1 : u32 = 196865u32 ; pub const DDI_DRIVER_VERSION_SP3 : u32 = 131075u32 ; pub const DDI_ERROR : u32 = 4294967295u32 ; pub const DDUMP_FLAG_DATA_READ_FROM_DEVICE : u32 = 1u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DECIMAL { pub wReserved : u16 , pub Anonymous1 : DECIMAL_0 , pub Hi32 : u32 , pub Anonymous2 : DECIMAL_1 } impl DECIMAL { } impl :: std :: cmp :: PartialEq for DECIMAL { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for DECIMAL { } unsafe impl :: windows :: Abi for DECIMAL { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union DECIMAL_0 { pub Anonymous : DECIMAL_0_0 , pub signscale : u16 } impl DECIMAL_0 { } impl :: std :: cmp :: PartialEq for DECIMAL_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for DECIMAL_0 { } unsafe impl :: windows :: Abi for DECIMAL_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DECIMAL_0_0 { pub scale : u8 , pub sign : u8 } impl DECIMAL_0_0 { } impl :: std :: default :: Default for DECIMAL_0_0 { fn default ( ) -> Self { Self { scale : 0 , sign : 0 } } } impl :: std :: fmt :: Debug for DECIMAL_0_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Anonymous_e__Struct" ) . field ( "scale" , & self . scale ) . field ( "sign" , & self . sign ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DECIMAL_0_0 { fn eq ( & self , other : & Self ) -> bool { self . scale == other . scale && self . sign == other . sign } } impl :: std :: cmp :: Eq for DECIMAL_0_0 { } unsafe impl :: windows :: Abi for DECIMAL_0_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union DECIMAL_1 { pub Anonymous : DECIMAL_1_0 , pub Lo64 : u64 } impl DECIMAL_1 { } impl :: std :: cmp :: PartialEq for DECIMAL_1 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for DECIMAL_1 { } unsafe impl :: windows :: Abi for DECIMAL_1 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DECIMAL_1_0 { pub Lo32 : u32 , pub Mid32 : u32 } impl DECIMAL_1_0 { } impl :: std :: default :: Default for DECIMAL_1_0 { fn default ( ) -> Self { Self { Lo32 : 0 , Mid32 : 0 } } } impl :: std :: fmt :: Debug for DECIMAL_1_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Anonymous_e__Struct" ) . field ( "Lo32" , & self . Lo32 ) . field ( "Mid32" , & self . Mid32 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DECIMAL_1_0 { fn eq ( & self , other : & Self ) -> bool { self . Lo32 == other . Lo32 && self . Mid32 == other . Mid32 } } impl :: std :: cmp :: Eq for DECIMAL_1_0 { } unsafe impl :: windows :: Abi for DECIMAL_1_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DECRYPTION_STATUS_BUFFER { pub NoEncryptedStreams : u8 } impl DECRYPTION_STATUS_BUFFER { } impl :: std :: default :: Default for DECRYPTION_STATUS_BUFFER { fn default ( ) -> Self { Self { NoEncryptedStreams : 0 } } } impl :: std :: fmt :: Debug for DECRYPTION_STATUS_BUFFER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DECRYPTION_STATUS_BUFFER" ) . field ( "NoEncryptedStreams" , & self . NoEncryptedStreams ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DECRYPTION_STATUS_BUFFER { fn eq ( & self , other : & Self ) -> bool { self . NoEncryptedStreams == other . NoEncryptedStreams } } impl :: std :: cmp :: Eq for DECRYPTION_STATUS_BUFFER { } unsafe impl :: windows :: Abi for DECRYPTION_STATUS_BUFFER { type Abi = Self ; type DefaultType = Self ; } pub const DELETE : u32 = 65536u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct DETECTION_TYPE ( pub i32 ) ; pub const DetectNone : DETECTION_TYPE = DETECTION_TYPE ( 0i32 ) ; pub const DetectInt13 : DETECTION_TYPE = DETECTION_TYPE ( 1i32 ) ; pub const DetectExInt13 : DETECTION_TYPE = DETECTION_TYPE ( 2i32 ) ; impl :: std :: convert :: From < i32 > for DETECTION_TYPE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for DETECTION_TYPE { type Abi = Self ; type DefaultType = Self ; } pub const DEVHTADJF_ADDITIVE_DEVICE : u32 = 2u32 ; pub const DEVHTADJF_COLOR_DEVICE : u32 = 1u32 ; pub const DEVICEDUMP_CAP_PRIVATE_SECTION : u32 = 1u32 ; pub const DEVICEDUMP_CAP_RESTRICTED_SECTION : u32 = 2u32 ; pub const DEVICEDUMP_MAX_IDSTRING : u32 = 32u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 1 ) ) ] pub struct DEVICEDUMP_PRIVATE_SUBSECTION { pub dwFlags : u32 , pub GPLogId : GP_LOG_PAGE_DESCRIPTOR , pub bData : [ u8 ;1 ] } impl DEVICEDUMP_PRIVATE_SUBSECTION { } impl :: std :: cmp :: PartialEq for DEVICEDUMP_PRIVATE_SUBSECTION { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for DEVICEDUMP_PRIVATE_SUBSECTION { } unsafe impl :: windows :: Abi for DEVICEDUMP_PRIVATE_SUBSECTION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 1 ) ) ] pub struct DEVICEDUMP_PUBLIC_SUBSECTION { pub dwFlags : u32 , pub GPLogTable : [ GP_LOG_PAGE_DESCRIPTOR ;16 ] , pub szDescription : [ CHAR ;16 ] , pub bData : [ u8 ;1 ] } impl DEVICEDUMP_PUBLIC_SUBSECTION { } impl :: std :: cmp :: PartialEq for DEVICEDUMP_PUBLIC_SUBSECTION { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for DEVICEDUMP_PUBLIC_SUBSECTION { } unsafe impl :: windows :: Abi for DEVICEDUMP_PUBLIC_SUBSECTION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DEVICEDUMP_RESTRICTED_SUBSECTION { pub bData : [ u8 ;1 ] } impl DEVICEDUMP_RESTRICTED_SUBSECTION { } impl :: std :: default :: Default for DEVICEDUMP_RESTRICTED_SUBSECTION { fn default ( ) -> Self { Self { bData : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for DEVICEDUMP_RESTRICTED_SUBSECTION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DEVICEDUMP_RESTRICTED_SUBSECTION" ) . field ( "bData" , & self . bData ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DEVICEDUMP_RESTRICTED_SUBSECTION { fn eq ( & self , other : & Self ) -> bool { self . bData == other . bData } } impl :: std :: cmp :: Eq for DEVICEDUMP_RESTRICTED_SUBSECTION { } unsafe impl :: windows :: Abi for DEVICEDUMP_RESTRICTED_SUBSECTION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 1 ) ) ] pub struct DEVICEDUMP_SECTION_HEADER { pub guidDeviceDataId : :: windows :: Guid , pub sOrganizationID : [ u8 ;16 ] , pub dwFirmwareRevision : u32 , pub sModelNumber : [ u8 ;32 ] , pub szDeviceManufacturingID : [ u8 ;32 ] , pub dwFlags : u32 , pub bRestrictedPrivateDataVersion : u32 , pub dwFirmwareIssueId : u32 , pub szIssueDescriptionString : [ u8 ;132 ] } impl DEVICEDUMP_SECTION_HEADER { } impl :: std :: cmp :: PartialEq for DEVICEDUMP_SECTION_HEADER { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for DEVICEDUMP_SECTION_HEADER { } unsafe impl :: windows :: Abi for DEVICEDUMP_SECTION_HEADER { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 1 ) ) ] pub struct DEVICEDUMP_STORAGEDEVICE_DATA { pub Descriptor : DEVICEDUMP_STRUCTURE_VERSION , pub SectionHeader : DEVICEDUMP_SECTION_HEADER , pub dwBufferSize : u32 , pub dwReasonForCollection : u32 , pub PublicData : DEVICEDUMP_SUBSECTION_POINTER , pub RestrictedData : DEVICEDUMP_SUBSECTION_POINTER , pub PrivateData : DEVICEDUMP_SUBSECTION_POINTER } impl DEVICEDUMP_STORAGEDEVICE_DATA { } impl :: std :: cmp :: PartialEq for DEVICEDUMP_STORAGEDEVICE_DATA { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for DEVICEDUMP_STORAGEDEVICE_DATA { } unsafe impl :: windows :: Abi for DEVICEDUMP_STORAGEDEVICE_DATA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 1 ) ) ] pub struct DEVICEDUMP_STORAGESTACK_PUBLIC_DUMP { pub Descriptor : DEVICEDUMP_STRUCTURE_VERSION , pub dwReasonForCollection : u32 , pub cDriverName : [ u8 ;16 ] , pub uiNumRecords : u32 , pub RecordArray : [ DEVICEDUMP_STORAGESTACK_PUBLIC_STATE_RECORD ;1 ] } impl DEVICEDUMP_STORAGESTACK_PUBLIC_DUMP { } impl :: std :: cmp :: PartialEq for DEVICEDUMP_STORAGESTACK_PUBLIC_DUMP { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for DEVICEDUMP_STORAGESTACK_PUBLIC_DUMP { } unsafe impl :: windows :: Abi for DEVICEDUMP_STORAGESTACK_PUBLIC_DUMP { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 1 ) ) ] pub struct DEVICEDUMP_STORAGESTACK_PUBLIC_STATE_RECORD { pub Cdb : [ u8 ;16 ] , pub Command : [ u8 ;16 ] , pub StartTime : u64 , pub EndTime : u64 , pub OperationStatus : u32 , pub OperationError : u32 , pub StackSpecific : DEVICEDUMP_STORAGESTACK_PUBLIC_STATE_RECORD_0 } impl DEVICEDUMP_STORAGESTACK_PUBLIC_STATE_RECORD { } impl :: std :: cmp :: PartialEq for DEVICEDUMP_STORAGESTACK_PUBLIC_STATE_RECORD { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for DEVICEDUMP_STORAGESTACK_PUBLIC_STATE_RECORD { } unsafe impl :: windows :: Abi for DEVICEDUMP_STORAGESTACK_PUBLIC_STATE_RECORD { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union DEVICEDUMP_STORAGESTACK_PUBLIC_STATE_RECORD_0 { pub ExternalStack : DEVICEDUMP_STORAGESTACK_PUBLIC_STATE_RECORD_0_1 , pub AtaPort : DEVICEDUMP_STORAGESTACK_PUBLIC_STATE_RECORD_0_0 , pub StorPort : DEVICEDUMP_STORAGESTACK_PUBLIC_STATE_RECORD_0_2 } impl DEVICEDUMP_STORAGESTACK_PUBLIC_STATE_RECORD_0 { } impl :: std :: cmp :: PartialEq for DEVICEDUMP_STORAGESTACK_PUBLIC_STATE_RECORD_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for DEVICEDUMP_STORAGESTACK_PUBLIC_STATE_RECORD_0 { } unsafe impl :: windows :: Abi for DEVICEDUMP_STORAGESTACK_PUBLIC_STATE_RECORD_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 1 ) ) ] pub struct DEVICEDUMP_STORAGESTACK_PUBLIC_STATE_RECORD_0_0 { pub dwAtaPortSpecific : u32 } impl DEVICEDUMP_STORAGESTACK_PUBLIC_STATE_RECORD_0_0 { } impl :: std :: cmp :: PartialEq for DEVICEDUMP_STORAGESTACK_PUBLIC_STATE_RECORD_0_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for DEVICEDUMP_STORAGESTACK_PUBLIC_STATE_RECORD_0_0 { } unsafe impl :: windows :: Abi for DEVICEDUMP_STORAGESTACK_PUBLIC_STATE_RECORD_0_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 1 ) ) ] pub struct DEVICEDUMP_STORAGESTACK_PUBLIC_STATE_RECORD_0_1 { pub dwReserved : u32 } impl DEVICEDUMP_STORAGESTACK_PUBLIC_STATE_RECORD_0_1 { } impl :: std :: cmp :: PartialEq for DEVICEDUMP_STORAGESTACK_PUBLIC_STATE_RECORD_0_1 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for DEVICEDUMP_STORAGESTACK_PUBLIC_STATE_RECORD_0_1 { } unsafe impl :: windows :: Abi for DEVICEDUMP_STORAGESTACK_PUBLIC_STATE_RECORD_0_1 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 1 ) ) ] pub struct DEVICEDUMP_STORAGESTACK_PUBLIC_STATE_RECORD_0_2 { pub SrbTag : u32 } impl DEVICEDUMP_STORAGESTACK_PUBLIC_STATE_RECORD_0_2 { } impl :: std :: cmp :: PartialEq for DEVICEDUMP_STORAGESTACK_PUBLIC_STATE_RECORD_0_2 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for DEVICEDUMP_STORAGESTACK_PUBLIC_STATE_RECORD_0_2 { } unsafe impl :: windows :: Abi for DEVICEDUMP_STORAGESTACK_PUBLIC_STATE_RECORD_0_2 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 1 ) ) ] pub struct DEVICEDUMP_STRUCTURE_VERSION { pub dwSignature : u32 , pub dwVersion : u32 , pub dwSize : u32 } impl DEVICEDUMP_STRUCTURE_VERSION { } impl :: std :: cmp :: PartialEq for DEVICEDUMP_STRUCTURE_VERSION { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for DEVICEDUMP_STRUCTURE_VERSION { } unsafe impl :: windows :: Abi for DEVICEDUMP_STRUCTURE_VERSION { type Abi = Self ; type DefaultType = Self ; } pub const DEVICEDUMP_STRUCTURE_VERSION_V1 : u32 = 1u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 1 ) ) ] pub struct DEVICEDUMP_SUBSECTION_POINTER { pub dwSize : u32 , pub dwFlags : u32 , pub dwOffset : u32 } impl DEVICEDUMP_SUBSECTION_POINTER { } impl :: std :: cmp :: PartialEq for DEVICEDUMP_SUBSECTION_POINTER { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for DEVICEDUMP_SUBSECTION_POINTER { } unsafe impl :: windows :: Abi for DEVICEDUMP_SUBSECTION_POINTER { type Abi = Self ; type DefaultType = Self ; } pub const DEVICEFAMILYDEVICEFORM_ALLINONE : u32 = 7u32 ; pub const DEVICEFAMILYDEVICEFORM_BANKING : u32 = 14u32 ; pub const DEVICEFAMILYDEVICEFORM_BUILDING_AUTOMATION : u32 = 15u32 ; pub const DEVICEFAMILYDEVICEFORM_CONVERTIBLE : u32 = 5u32 ; pub const DEVICEFAMILYDEVICEFORM_DESKTOP : u32 = 3u32 ; pub const DEVICEFAMILYDEVICEFORM_DETACHABLE : u32 = 6u32 ; pub const DEVICEFAMILYDEVICEFORM_DIGITAL_SIGNAGE : u32 = 16u32 ; pub const DEVICEFAMILYDEVICEFORM_GAMING : u32 = 17u32 ; pub const DEVICEFAMILYDEVICEFORM_HMD : u32 = 11u32 ; pub const DEVICEFAMILYDEVICEFORM_HOME_AUTOMATION : u32 = 18u32 ; pub const DEVICEFAMILYDEVICEFORM_INDUSTRIAL_AUTOMATION : u32 = 19u32 ; pub const DEVICEFAMILYDEVICEFORM_INDUSTRY_HANDHELD : u32 = 12u32 ; pub const DEVICEFAMILYDEVICEFORM_INDUSTRY_OTHER : u32 = 29u32 ; pub const DEVICEFAMILYDEVICEFORM_INDUSTRY_TABLET : u32 = 13u32 ; pub const DEVICEFAMILYDEVICEFORM_KIOSK : u32 = 20u32 ; pub const DEVICEFAMILYDEVICEFORM_LARGESCREEN : u32 = 10u32 ; pub const DEVICEFAMILYDEVICEFORM_MAKER_BOARD : u32 = 21u32 ; pub const DEVICEFAMILYDEVICEFORM_MAX : u32 = 33u32 ; pub const DEVICEFAMILYDEVICEFORM_MEDICAL : u32 = 22u32 ; pub const DEVICEFAMILYDEVICEFORM_NETWORKING : u32 = 23u32 ; pub const DEVICEFAMILYDEVICEFORM_NOTEBOOK : u32 = 4u32 ; pub const DEVICEFAMILYDEVICEFORM_PHONE : u32 = 1u32 ; pub const DEVICEFAMILYDEVICEFORM_POINT_OF_SERVICE : u32 = 24u32 ; pub const DEVICEFAMILYDEVICEFORM_PRINTING : u32 = 25u32 ; pub const DEVICEFAMILYDEVICEFORM_PUCK : u32 = 9u32 ; pub const DEVICEFAMILYDEVICEFORM_STICKPC : u32 = 8u32 ; pub const DEVICEFAMILYDEVICEFORM_TABLET : u32 = 2u32 ; pub const DEVICEFAMILYDEVICEFORM_THIN_CLIENT : u32 = 26u32 ; pub const DEVICEFAMILYDEVICEFORM_TOY : u32 = 27u32 ; pub const DEVICEFAMILYDEVICEFORM_UNKNOWN : u32 = 0u32 ; pub const DEVICEFAMILYDEVICEFORM_VENDING : u32 = 28u32 ; pub const DEVICEFAMILYDEVICEFORM_XBOX_ONE : u32 = 30u32 ; pub const DEVICEFAMILYDEVICEFORM_XBOX_ONE_S : u32 = 31u32 ; pub const DEVICEFAMILYDEVICEFORM_XBOX_ONE_X : u32 = 32u32 ; pub const DEVICEFAMILYDEVICEFORM_XBOX_ONE_X_DEVKIT : u32 = 33u32 ; pub const DEVICEFAMILYINFOENUM_7067329 : u32 = 15u32 ; pub const DEVICEFAMILYINFOENUM_8828080 : u32 = 14u32 ; pub const DEVICEFAMILYINFOENUM_DESKTOP : u32 = 3u32 ; pub const DEVICEFAMILYINFOENUM_HOLOGRAPHIC : u32 = 10u32 ; pub const DEVICEFAMILYINFOENUM_IOT : u32 = 7u32 ; pub const DEVICEFAMILYINFOENUM_IOT_HEADLESS : u32 = 8u32 ; pub const DEVICEFAMILYINFOENUM_MAX : u32 = 17u32 ; pub const DEVICEFAMILYINFOENUM_MOBILE : u32 = 4u32 ; pub const DEVICEFAMILYINFOENUM_SERVER : u32 = 9u32 ; pub const DEVICEFAMILYINFOENUM_SERVER_NANO : u32 = 13u32 ; pub const DEVICEFAMILYINFOENUM_TEAM : u32 = 6u32 ; pub const DEVICEFAMILYINFOENUM_UAP : u32 = 0u32 ; pub const DEVICEFAMILYINFOENUM_WINDOWS_8X : u32 = 1u32 ; pub const DEVICEFAMILYINFOENUM_WINDOWS_CORE : u32 = 16u32 ; pub const DEVICEFAMILYINFOENUM_WINDOWS_CORE_HEADLESS : u32 = 17u32 ; pub const DEVICEFAMILYINFOENUM_WINDOWS_PHONE_8X : u32 = 2u32 ; pub const DEVICEFAMILYINFOENUM_XBOX : u32 = 5u32 ; pub const DEVICEFAMILYINFOENUM_XBOXERA : u32 = 12u32 ; pub const DEVICEFAMILYINFOENUM_XBOXSRA : u32 = 11u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DEVICE_DATA_SET_LBP_STATE_PARAMETERS { pub Version : u32 , pub Size : u32 , pub Flags : u32 , pub OutputVersion : u32 } impl DEVICE_DATA_SET_LBP_STATE_PARAMETERS { } impl :: std :: default :: Default for DEVICE_DATA_SET_LBP_STATE_PARAMETERS { fn default ( ) -> Self { Self { Version : 0 , Size : 0 , Flags : 0 , OutputVersion : 0 } } } impl :: std :: fmt :: Debug for DEVICE_DATA_SET_LBP_STATE_PARAMETERS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DEVICE_DATA_SET_LBP_STATE_PARAMETERS" ) . field ( "Version" , & self . Version ) . field ( "Size" , & self . Size ) . field ( "Flags" , & self . Flags ) . field ( "OutputVersion" , & self . OutputVersion ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DEVICE_DATA_SET_LBP_STATE_PARAMETERS { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Size == other . Size && self . Flags == other . Flags && self . OutputVersion == other . OutputVersion } } impl :: std :: cmp :: Eq for DEVICE_DATA_SET_LBP_STATE_PARAMETERS { } unsafe impl :: windows :: Abi for DEVICE_DATA_SET_LBP_STATE_PARAMETERS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DEVICE_DATA_SET_LB_PROVISIONING_STATE { pub Size : u32 , pub Version : u32 , pub SlabSizeInBytes : u64 , pub SlabOffsetDeltaInBytes : u32 , pub SlabAllocationBitMapBitCount : u32 , pub SlabAllocationBitMapLength : u32 , pub SlabAllocationBitMap : [ u32 ;1 ] } impl DEVICE_DATA_SET_LB_PROVISIONING_STATE { } impl :: std :: default :: Default for DEVICE_DATA_SET_LB_PROVISIONING_STATE { fn default ( ) -> Self { Self { Size : 0 , Version : 0 , SlabSizeInBytes : 0 , SlabOffsetDeltaInBytes : 0 , SlabAllocationBitMapBitCount : 0 , SlabAllocationBitMapLength : 0 , SlabAllocationBitMap : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for DEVICE_DATA_SET_LB_PROVISIONING_STATE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DEVICE_DATA_SET_LB_PROVISIONING_STATE" ) . field ( "Size" , & self . Size ) . field ( "Version" , & self . Version ) . field ( "SlabSizeInBytes" , & self . SlabSizeInBytes ) . field ( "SlabOffsetDeltaInBytes" , & self . SlabOffsetDeltaInBytes ) . field ( "SlabAllocationBitMapBitCount" , & self . SlabAllocationBitMapBitCount ) . field ( "SlabAllocationBitMapLength" , & self . SlabAllocationBitMapLength ) . field ( "SlabAllocationBitMap" , & self . SlabAllocationBitMap ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DEVICE_DATA_SET_LB_PROVISIONING_STATE { fn eq ( & self , other : & Self ) -> bool { self . Size == other . Size && self . Version == other . Version && self . SlabSizeInBytes == other . SlabSizeInBytes && self . SlabOffsetDeltaInBytes == other . SlabOffsetDeltaInBytes && self . SlabAllocationBitMapBitCount == other . SlabAllocationBitMapBitCount && self . SlabAllocationBitMapLength == other . SlabAllocationBitMapLength && self . SlabAllocationBitMap == other . SlabAllocationBitMap } } impl :: std :: cmp :: Eq for DEVICE_DATA_SET_LB_PROVISIONING_STATE { } unsafe impl :: windows :: Abi for DEVICE_DATA_SET_LB_PROVISIONING_STATE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DEVICE_DATA_SET_LB_PROVISIONING_STATE_V2 { pub Size : u32 , pub Version : u32 , pub SlabSizeInBytes : u64 , pub SlabOffsetDeltaInBytes : u64 , pub SlabAllocationBitMapBitCount : u32 , pub SlabAllocationBitMapLength : u32 , pub SlabAllocationBitMap : [ u32 ;1 ] } impl DEVICE_DATA_SET_LB_PROVISIONING_STATE_V2 { } impl :: std :: default :: Default for DEVICE_DATA_SET_LB_PROVISIONING_STATE_V2 { fn default ( ) -> Self { Self { Size : 0 , Version : 0 , SlabSizeInBytes : 0 , SlabOffsetDeltaInBytes : 0 , SlabAllocationBitMapBitCount : 0 , SlabAllocationBitMapLength : 0 , SlabAllocationBitMap : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for DEVICE_DATA_SET_LB_PROVISIONING_STATE_V2 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DEVICE_DATA_SET_LB_PROVISIONING_STATE_V2" ) . field ( "Size" , & self . Size ) . field ( "Version" , & self . Version ) . field ( "SlabSizeInBytes" , & self . SlabSizeInBytes ) . field ( "SlabOffsetDeltaInBytes" , & self . SlabOffsetDeltaInBytes ) . field ( "SlabAllocationBitMapBitCount" , & self . SlabAllocationBitMapBitCount ) . field ( "SlabAllocationBitMapLength" , & self . SlabAllocationBitMapLength ) . field ( "SlabAllocationBitMap" , & self . SlabAllocationBitMap ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DEVICE_DATA_SET_LB_PROVISIONING_STATE_V2 { fn eq ( & self , other : & Self ) -> bool { self . Size == other . Size && self . Version == other . Version && self . SlabSizeInBytes == other . SlabSizeInBytes && self . SlabOffsetDeltaInBytes == other . SlabOffsetDeltaInBytes && self . SlabAllocationBitMapBitCount == other . SlabAllocationBitMapBitCount && self . SlabAllocationBitMapLength == other . SlabAllocationBitMapLength && self . SlabAllocationBitMap == other . SlabAllocationBitMap } } impl :: std :: cmp :: Eq for DEVICE_DATA_SET_LB_PROVISIONING_STATE_V2 { } unsafe impl :: windows :: Abi for DEVICE_DATA_SET_LB_PROVISIONING_STATE_V2 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DEVICE_DATA_SET_RANGE { pub StartingOffset : i64 , pub LengthInBytes : u64 } impl DEVICE_DATA_SET_RANGE { } impl :: std :: default :: Default for DEVICE_DATA_SET_RANGE { fn default ( ) -> Self { Self { StartingOffset : 0 , LengthInBytes : 0 } } } impl :: std :: fmt :: Debug for DEVICE_DATA_SET_RANGE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DEVICE_DATA_SET_RANGE" ) . field ( "StartingOffset" , & self . StartingOffset ) . field ( "LengthInBytes" , & self . LengthInBytes ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DEVICE_DATA_SET_RANGE { fn eq ( & self , other : & Self ) -> bool { self . StartingOffset == other . StartingOffset && self . LengthInBytes == other . LengthInBytes } } impl :: std :: cmp :: Eq for DEVICE_DATA_SET_RANGE { } unsafe impl :: windows :: Abi for DEVICE_DATA_SET_RANGE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DEVICE_DATA_SET_REPAIR_OUTPUT { pub ParityExtent : DEVICE_DATA_SET_RANGE } impl DEVICE_DATA_SET_REPAIR_OUTPUT { } impl :: std :: default :: Default for DEVICE_DATA_SET_REPAIR_OUTPUT { fn default ( ) -> Self { Self { ParityExtent : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for DEVICE_DATA_SET_REPAIR_OUTPUT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DEVICE_DATA_SET_REPAIR_OUTPUT" ) . field ( "ParityExtent" , & self . ParityExtent ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DEVICE_DATA_SET_REPAIR_OUTPUT { fn eq ( & self , other : & Self ) -> bool { self . ParityExtent == other . ParityExtent } } impl :: std :: cmp :: Eq for DEVICE_DATA_SET_REPAIR_OUTPUT { } unsafe impl :: windows :: Abi for DEVICE_DATA_SET_REPAIR_OUTPUT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DEVICE_DATA_SET_REPAIR_PARAMETERS { pub NumberOfRepairCopies : u32 , pub SourceCopy : u32 , pub RepairCopies : [ u32 ;1 ] } impl DEVICE_DATA_SET_REPAIR_PARAMETERS { } impl :: std :: default :: Default for DEVICE_DATA_SET_REPAIR_PARAMETERS { fn default ( ) -> Self { Self { NumberOfRepairCopies : 0 , SourceCopy : 0 , RepairCopies : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for DEVICE_DATA_SET_REPAIR_PARAMETERS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DEVICE_DATA_SET_REPAIR_PARAMETERS" ) . field ( "NumberOfRepairCopies" , & self . NumberOfRepairCopies ) . field ( "SourceCopy" , & self . SourceCopy ) . field ( "RepairCopies" , & self . RepairCopies ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DEVICE_DATA_SET_REPAIR_PARAMETERS { fn eq ( & self , other : & Self ) -> bool { self . NumberOfRepairCopies == other . NumberOfRepairCopies && self . SourceCopy == other . SourceCopy && self . RepairCopies == other . RepairCopies } } impl :: std :: cmp :: Eq for DEVICE_DATA_SET_REPAIR_PARAMETERS { } unsafe impl :: windows :: Abi for DEVICE_DATA_SET_REPAIR_PARAMETERS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DEVICE_DATA_SET_SCRUB_EX_OUTPUT { pub BytesProcessed : u64 , pub BytesRepaired : u64 , pub BytesFailed : u64 , pub ParityExtent : DEVICE_DATA_SET_RANGE } impl DEVICE_DATA_SET_SCRUB_EX_OUTPUT { } impl :: std :: default :: Default for DEVICE_DATA_SET_SCRUB_EX_OUTPUT { fn default ( ) -> Self { Self { BytesProcessed : 0 , BytesRepaired : 0 , BytesFailed : 0 , ParityExtent : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for DEVICE_DATA_SET_SCRUB_EX_OUTPUT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DEVICE_DATA_SET_SCRUB_EX_OUTPUT" ) . field ( "BytesProcessed" , & self . BytesProcessed ) . field ( "BytesRepaired" , & self . BytesRepaired ) . field ( "BytesFailed" , & self . BytesFailed ) . field ( "ParityExtent" , & self . ParityExtent ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DEVICE_DATA_SET_SCRUB_EX_OUTPUT { fn eq ( & self , other : & Self ) -> bool { self . BytesProcessed == other . BytesProcessed && self . BytesRepaired == other . BytesRepaired && self . BytesFailed == other . BytesFailed && self . ParityExtent == other . ParityExtent } } impl :: std :: cmp :: Eq for DEVICE_DATA_SET_SCRUB_EX_OUTPUT { } unsafe impl :: windows :: Abi for DEVICE_DATA_SET_SCRUB_EX_OUTPUT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DEVICE_DATA_SET_SCRUB_OUTPUT { pub BytesProcessed : u64 , pub BytesRepaired : u64 , pub BytesFailed : u64 } impl DEVICE_DATA_SET_SCRUB_OUTPUT { } impl :: std :: default :: Default for DEVICE_DATA_SET_SCRUB_OUTPUT { fn default ( ) -> Self { Self { BytesProcessed : 0 , BytesRepaired : 0 , BytesFailed : 0 } } } impl :: std :: fmt :: Debug for DEVICE_DATA_SET_SCRUB_OUTPUT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DEVICE_DATA_SET_SCRUB_OUTPUT" ) . field ( "BytesProcessed" , & self . BytesProcessed ) . field ( "BytesRepaired" , & self . BytesRepaired ) . field ( "BytesFailed" , & self . BytesFailed ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DEVICE_DATA_SET_SCRUB_OUTPUT { fn eq ( & self , other : & Self ) -> bool { self . BytesProcessed == other . BytesProcessed && self . BytesRepaired == other . BytesRepaired && self . BytesFailed == other . BytesFailed } } impl :: std :: cmp :: Eq for DEVICE_DATA_SET_SCRUB_OUTPUT { } unsafe impl :: windows :: Abi for DEVICE_DATA_SET_SCRUB_OUTPUT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DEVICE_DATA_SET_TOPOLOGY_ID_QUERY_OUTPUT { pub TopologyRangeBytes : u64 , pub TopologyId : [ u8 ;16 ] } impl DEVICE_DATA_SET_TOPOLOGY_ID_QUERY_OUTPUT { } impl :: std :: default :: Default for DEVICE_DATA_SET_TOPOLOGY_ID_QUERY_OUTPUT { fn default ( ) -> Self { Self { TopologyRangeBytes : 0 , TopologyId : [ 0 ;16 ] } } } impl :: std :: fmt :: Debug for DEVICE_DATA_SET_TOPOLOGY_ID_QUERY_OUTPUT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DEVICE_DATA_SET_TOPOLOGY_ID_QUERY_OUTPUT" ) . field ( "TopologyRangeBytes" , & self . TopologyRangeBytes ) . field ( "TopologyId" , & self . TopologyId ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DEVICE_DATA_SET_TOPOLOGY_ID_QUERY_OUTPUT { fn eq ( & self , other : & Self ) -> bool { self . TopologyRangeBytes == other . TopologyRangeBytes && self . TopologyId == other . TopologyId } } impl :: std :: cmp :: Eq for DEVICE_DATA_SET_TOPOLOGY_ID_QUERY_OUTPUT { } unsafe impl :: windows :: Abi for DEVICE_DATA_SET_TOPOLOGY_ID_QUERY_OUTPUT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DEVICE_DSM_CONVERSION_OUTPUT { pub Version : u32 , pub Source : :: windows :: Guid } impl DEVICE_DSM_CONVERSION_OUTPUT { } impl :: std :: default :: Default for DEVICE_DSM_CONVERSION_OUTPUT { fn default ( ) -> Self { Self { Version : 0 , Source : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for DEVICE_DSM_CONVERSION_OUTPUT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DEVICE_DSM_CONVERSION_OUTPUT" ) . field ( "Version" , & self . Version ) . field ( "Source" , & self . Source ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DEVICE_DSM_CONVERSION_OUTPUT { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Source == other . Source } } impl :: std :: cmp :: Eq for DEVICE_DSM_CONVERSION_OUTPUT { } unsafe impl :: windows :: Abi for DEVICE_DSM_CONVERSION_OUTPUT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DEVICE_DSM_DEFINITION { pub Action : u32 , pub SingleRange : u8 , pub ParameterBlockAlignment : u32 , pub ParameterBlockLength : u32 , pub HasOutput : u8 , pub OutputBlockAlignment : u32 , pub OutputBlockLength : u32 } impl DEVICE_DSM_DEFINITION { } impl :: std :: default :: Default for DEVICE_DSM_DEFINITION { fn default ( ) -> Self { Self { Action : 0 , SingleRange : 0 , ParameterBlockAlignment : 0 , ParameterBlockLength : 0 , HasOutput : 0 , OutputBlockAlignment : 0 , OutputBlockLength : 0 } } } impl :: std :: fmt :: Debug for DEVICE_DSM_DEFINITION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DEVICE_DSM_DEFINITION" ) . field ( "Action" , & self . Action ) . field ( "SingleRange" , & self . SingleRange ) . field ( "ParameterBlockAlignment" , & self . ParameterBlockAlignment ) . field ( "ParameterBlockLength" , & self . ParameterBlockLength ) . field ( "HasOutput" , & self . HasOutput ) . field ( "OutputBlockAlignment" , & self . OutputBlockAlignment ) . field ( "OutputBlockLength" , & self . OutputBlockLength ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DEVICE_DSM_DEFINITION { fn eq ( & self , other : & Self ) -> bool { self . Action == other . Action && self . SingleRange == other . SingleRange && self . ParameterBlockAlignment == other . ParameterBlockAlignment && self . ParameterBlockLength == other . ParameterBlockLength && self . HasOutput == other . HasOutput && self . OutputBlockAlignment == other . OutputBlockAlignment && self . OutputBlockLength == other . OutputBlockLength } } impl :: std :: cmp :: Eq for DEVICE_DSM_DEFINITION { } unsafe impl :: windows :: Abi for DEVICE_DSM_DEFINITION { type Abi = Self ; type DefaultType = Self ; } pub const DEVICE_DSM_FLAG_ALLOCATION_CONSOLIDATEABLE_ONLY : u32 = 1073741824u32 ; pub const DEVICE_DSM_FLAG_ENTIRE_DATA_SET_RANGE : u32 = 1u32 ; pub const DEVICE_DSM_FLAG_PHYSICAL_ADDRESSES_OMIT_TOTAL_RANGES : u32 = 268435456u32 ; pub const DEVICE_DSM_FLAG_REPAIR_INPUT_TOPOLOGY_ID_PRESENT : u32 = 1073741824u32 ; pub const DEVICE_DSM_FLAG_REPAIR_OUTPUT_PARITY_EXTENT : u32 = 536870912u32 ; pub const DEVICE_DSM_FLAG_SCRUB_OUTPUT_PARITY_EXTENT : u32 = 536870912u32 ; pub const DEVICE_DSM_FLAG_SCRUB_SKIP_IN_SYNC : u32 = 268435456u32 ; pub const DEVICE_DSM_FLAG_TRIM_BYPASS_RZAT : u32 = 1073741824u32 ; pub const DEVICE_DSM_FLAG_TRIM_NOT_FS_ALLOCATED : u32 = 2147483648u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DEVICE_DSM_FREE_SPACE_OUTPUT { pub Version : u32 , pub FreeSpace : u64 } impl DEVICE_DSM_FREE_SPACE_OUTPUT { } impl :: std :: default :: Default for DEVICE_DSM_FREE_SPACE_OUTPUT { fn default ( ) -> Self { Self { Version : 0 , FreeSpace : 0 } } } impl :: std :: fmt :: Debug for DEVICE_DSM_FREE_SPACE_OUTPUT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DEVICE_DSM_FREE_SPACE_OUTPUT" ) . field ( "Version" , & self . Version ) . field ( "FreeSpace" , & self . FreeSpace ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DEVICE_DSM_FREE_SPACE_OUTPUT { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . FreeSpace == other . FreeSpace } } impl :: std :: cmp :: Eq for DEVICE_DSM_FREE_SPACE_OUTPUT { } unsafe impl :: windows :: Abi for DEVICE_DSM_FREE_SPACE_OUTPUT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DEVICE_DSM_LOST_QUERY_OUTPUT { pub Version : u32 , pub Size : u32 , pub Alignment : u64 , pub NumberOfBits : u32 , pub BitMap : [ u32 ;1 ] } impl DEVICE_DSM_LOST_QUERY_OUTPUT { } impl :: std :: default :: Default for DEVICE_DSM_LOST_QUERY_OUTPUT { fn default ( ) -> Self { Self { Version : 0 , Size : 0 , Alignment : 0 , NumberOfBits : 0 , BitMap : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for DEVICE_DSM_LOST_QUERY_OUTPUT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DEVICE_DSM_LOST_QUERY_OUTPUT" ) . field ( "Version" , & self . Version ) . field ( "Size" , & self . Size ) . field ( "Alignment" , & self . Alignment ) . field ( "NumberOfBits" , & self . NumberOfBits ) . field ( "BitMap" , & self . BitMap ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DEVICE_DSM_LOST_QUERY_OUTPUT { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Size == other . Size && self . Alignment == other . Alignment && self . NumberOfBits == other . NumberOfBits && self . BitMap == other . BitMap } } impl :: std :: cmp :: Eq for DEVICE_DSM_LOST_QUERY_OUTPUT { } unsafe impl :: windows :: Abi for DEVICE_DSM_LOST_QUERY_OUTPUT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DEVICE_DSM_LOST_QUERY_PARAMETERS { pub Version : u32 , pub Granularity : u64 } impl DEVICE_DSM_LOST_QUERY_PARAMETERS { } impl :: std :: default :: Default for DEVICE_DSM_LOST_QUERY_PARAMETERS { fn default ( ) -> Self { Self { Version : 0 , Granularity : 0 } } } impl :: std :: fmt :: Debug for DEVICE_DSM_LOST_QUERY_PARAMETERS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DEVICE_DSM_LOST_QUERY_PARAMETERS" ) . field ( "Version" , & self . Version ) . field ( "Granularity" , & self . Granularity ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DEVICE_DSM_LOST_QUERY_PARAMETERS { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Granularity == other . Granularity } } impl :: std :: cmp :: Eq for DEVICE_DSM_LOST_QUERY_PARAMETERS { } unsafe impl :: windows :: Abi for DEVICE_DSM_LOST_QUERY_PARAMETERS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DEVICE_DSM_NOTIFICATION_PARAMETERS { pub Size : u32 , pub Flags : u32 , pub NumFileTypeIDs : u32 , pub FileTypeID : [ :: windows :: Guid ;1 ] } impl DEVICE_DSM_NOTIFICATION_PARAMETERS { } impl :: std :: default :: Default for DEVICE_DSM_NOTIFICATION_PARAMETERS { fn default ( ) -> Self { Self { Size : 0 , Flags : 0 , NumFileTypeIDs : 0 , FileTypeID : [ :: std :: default :: Default :: default ( ) ;1 ] } } } impl :: std :: fmt :: Debug for DEVICE_DSM_NOTIFICATION_PARAMETERS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DEVICE_DSM_NOTIFICATION_PARAMETERS" ) . field ( "Size" , & self . Size ) . field ( "Flags" , & self . Flags ) . field ( "NumFileTypeIDs" , & self . NumFileTypeIDs ) . field ( "FileTypeID" , & self . FileTypeID ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DEVICE_DSM_NOTIFICATION_PARAMETERS { fn eq ( & self , other : & Self ) -> bool { self . Size == other . Size && self . Flags == other . Flags && self . NumFileTypeIDs == other . NumFileTypeIDs && self . FileTypeID == other . FileTypeID } } impl :: std :: cmp :: Eq for DEVICE_DSM_NOTIFICATION_PARAMETERS { } unsafe impl :: windows :: Abi for DEVICE_DSM_NOTIFICATION_PARAMETERS { type Abi = Self ; type DefaultType = Self ; } pub const DEVICE_DSM_NOTIFY_FLAG_BEGIN : u32 = 1u32 ; pub const DEVICE_DSM_NOTIFY_FLAG_END : u32 = 2u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DEVICE_DSM_NVCACHE_CHANGE_PRIORITY_PARAMETERS { pub Size : u32 , pub TargetPriority : u8 , pub Reserved : [ u8 ;3 ] } impl DEVICE_DSM_NVCACHE_CHANGE_PRIORITY_PARAMETERS { } impl :: std :: default :: Default for DEVICE_DSM_NVCACHE_CHANGE_PRIORITY_PARAMETERS { fn default ( ) -> Self { Self { Size : 0 , TargetPriority : 0 , Reserved : [ 0 ;3 ] } } } impl :: std :: fmt :: Debug for DEVICE_DSM_NVCACHE_CHANGE_PRIORITY_PARAMETERS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DEVICE_DSM_NVCACHE_CHANGE_PRIORITY_PARAMETERS" ) . field ( "Size" , & self . Size ) . field ( "TargetPriority" , & self . TargetPriority ) . field ( "Reserved" , & self . Reserved ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DEVICE_DSM_NVCACHE_CHANGE_PRIORITY_PARAMETERS { fn eq ( & self , other : & Self ) -> bool { self . Size == other . Size && self . TargetPriority == other . TargetPriority && self . Reserved == other . Reserved } } impl :: std :: cmp :: Eq for DEVICE_DSM_NVCACHE_CHANGE_PRIORITY_PARAMETERS { } unsafe impl :: windows :: Abi for DEVICE_DSM_NVCACHE_CHANGE_PRIORITY_PARAMETERS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DEVICE_DSM_OFFLOAD_READ_PARAMETERS { pub Flags : u32 , pub TimeToLive : u32 , pub Reserved : [ u32 ;2 ] } impl DEVICE_DSM_OFFLOAD_READ_PARAMETERS { } impl :: std :: default :: Default for DEVICE_DSM_OFFLOAD_READ_PARAMETERS { fn default ( ) -> Self { Self { Flags : 0 , TimeToLive : 0 , Reserved : [ 0 ;2 ] } } } impl :: std :: fmt :: Debug for DEVICE_DSM_OFFLOAD_READ_PARAMETERS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DEVICE_DSM_OFFLOAD_READ_PARAMETERS" ) . field ( "Flags" , & self . Flags ) . field ( "TimeToLive" , & self . TimeToLive ) . field ( "Reserved" , & self . Reserved ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DEVICE_DSM_OFFLOAD_READ_PARAMETERS { fn eq ( & self , other : & Self ) -> bool { self . Flags == other . Flags && self . TimeToLive == other . TimeToLive && self . Reserved == other . Reserved } } impl :: std :: cmp :: Eq for DEVICE_DSM_OFFLOAD_READ_PARAMETERS { } unsafe impl :: windows :: Abi for DEVICE_DSM_OFFLOAD_READ_PARAMETERS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DEVICE_DSM_OFFLOAD_WRITE_PARAMETERS { pub Flags : u32 , pub Reserved : u32 , pub TokenOffset : u64 , pub Token : STORAGE_OFFLOAD_TOKEN } impl DEVICE_DSM_OFFLOAD_WRITE_PARAMETERS { } impl :: std :: cmp :: PartialEq for DEVICE_DSM_OFFLOAD_WRITE_PARAMETERS { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for DEVICE_DSM_OFFLOAD_WRITE_PARAMETERS { } unsafe impl :: windows :: Abi for DEVICE_DSM_OFFLOAD_WRITE_PARAMETERS { type Abi = Self ; type DefaultType = Self ; } pub const DEVICE_DSM_PARAMETERS_V1 : u32 = 1u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DEVICE_DSM_PHYSICAL_ADDRESSES_OUTPUT { pub Version : u32 , pub Flags : u32 , pub TotalNumberOfRanges : u32 , pub NumberOfRangesReturned : u32 , pub Ranges : [ DEVICE_STORAGE_ADDRESS_RANGE ;1 ] } impl DEVICE_DSM_PHYSICAL_ADDRESSES_OUTPUT { } impl :: std :: default :: Default for DEVICE_DSM_PHYSICAL_ADDRESSES_OUTPUT { fn default ( ) -> Self { Self { Version : 0 , Flags : 0 , TotalNumberOfRanges : 0 , NumberOfRangesReturned : 0 , Ranges : [ :: std :: default :: Default :: default ( ) ;1 ] } } } impl :: std :: fmt :: Debug for DEVICE_DSM_PHYSICAL_ADDRESSES_OUTPUT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DEVICE_DSM_PHYSICAL_ADDRESSES_OUTPUT" ) . field ( "Version" , & self . Version ) . field ( "Flags" , & self . Flags ) . field ( "TotalNumberOfRanges" , & self . TotalNumberOfRanges ) . field ( "NumberOfRangesReturned" , & self . NumberOfRangesReturned ) . field ( "Ranges" , & self . Ranges ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DEVICE_DSM_PHYSICAL_ADDRESSES_OUTPUT { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Flags == other . Flags && self . TotalNumberOfRanges == other . TotalNumberOfRanges && self . NumberOfRangesReturned == other . NumberOfRangesReturned && self . Ranges == other . Ranges } } impl :: std :: cmp :: Eq for DEVICE_DSM_PHYSICAL_ADDRESSES_OUTPUT { } unsafe impl :: windows :: Abi for DEVICE_DSM_PHYSICAL_ADDRESSES_OUTPUT { type Abi = Self ; type DefaultType = Self ; } pub const DEVICE_DSM_PHYSICAL_ADDRESSES_OUTPUT_V1 : u32 = 1u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DEVICE_DSM_RANGE_ERROR_INFO { pub Version : u32 , pub Flags : u32 , pub TotalNumberOfRanges : u32 , pub NumberOfRangesReturned : u32 , pub Ranges : [ DEVICE_STORAGE_RANGE_ATTRIBUTES ;1 ] } impl DEVICE_DSM_RANGE_ERROR_INFO { } impl :: std :: cmp :: PartialEq for DEVICE_DSM_RANGE_ERROR_INFO { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for DEVICE_DSM_RANGE_ERROR_INFO { } unsafe impl :: windows :: Abi for DEVICE_DSM_RANGE_ERROR_INFO { type Abi = Self ; type DefaultType = Self ; } pub const DEVICE_DSM_RANGE_ERROR_OUTPUT_V1 : u32 = 1u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DEVICE_DSM_REPORT_ZONES_DATA { pub Size : u32 , pub ZoneCount : u32 , pub Attributes : STORAGE_ZONES_ATTRIBUTES , pub Reserved0 : u32 , pub ZoneDescriptors : [ STORAGE_ZONE_DESCRIPTOR ;1 ] } impl DEVICE_DSM_REPORT_ZONES_DATA { } impl :: std :: default :: Default for DEVICE_DSM_REPORT_ZONES_DATA { fn default ( ) -> Self { Self { Size : 0 , ZoneCount : 0 , Attributes : :: std :: default :: Default :: default ( ) , Reserved0 : 0 , ZoneDescriptors : [ :: std :: default :: Default :: default ( ) ;1 ] } } } impl :: std :: fmt :: Debug for DEVICE_DSM_REPORT_ZONES_DATA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DEVICE_DSM_REPORT_ZONES_DATA" ) . field ( "Size" , & self . Size ) . field ( "ZoneCount" , & self . ZoneCount ) . field ( "Attributes" , & self . Attributes ) . field ( "Reserved0" , & self . Reserved0 ) . field ( "ZoneDescriptors" , & self . ZoneDescriptors ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DEVICE_DSM_REPORT_ZONES_DATA { fn eq ( & self , other : & Self ) -> bool { self . Size == other . Size && self . ZoneCount == other . ZoneCount && self . Attributes == other . Attributes && self . Reserved0 == other . Reserved0 && self . ZoneDescriptors == other . ZoneDescriptors } } impl :: std :: cmp :: Eq for DEVICE_DSM_REPORT_ZONES_DATA { } unsafe impl :: windows :: Abi for DEVICE_DSM_REPORT_ZONES_DATA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DEVICE_DSM_REPORT_ZONES_PARAMETERS { pub Size : u32 , pub ReportOption : u8 , pub Partial : u8 , pub Reserved : [ u8 ;2 ] } impl DEVICE_DSM_REPORT_ZONES_PARAMETERS { } impl :: std :: default :: Default for DEVICE_DSM_REPORT_ZONES_PARAMETERS { fn default ( ) -> Self { Self { Size : 0 , ReportOption : 0 , Partial : 0 , Reserved : [ 0 ;2 ] } } } impl :: std :: fmt :: Debug for DEVICE_DSM_REPORT_ZONES_PARAMETERS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DEVICE_DSM_REPORT_ZONES_PARAMETERS" ) . field ( "Size" , & self . Size ) . field ( "ReportOption" , & self . ReportOption ) . field ( "Partial" , & self . Partial ) . field ( "Reserved" , & self . Reserved ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DEVICE_DSM_REPORT_ZONES_PARAMETERS { fn eq ( & self , other : & Self ) -> bool { self . Size == other . Size && self . ReportOption == other . ReportOption && self . Partial == other . Partial && self . Reserved == other . Reserved } } impl :: std :: cmp :: Eq for DEVICE_DSM_REPORT_ZONES_PARAMETERS { } unsafe impl :: windows :: Abi for DEVICE_DSM_REPORT_ZONES_PARAMETERS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DEVICE_DSM_TIERING_QUERY_INPUT { pub Version : u32 , pub Size : u32 , pub Flags : u32 , pub NumberOfTierIds : u32 , pub TierIds : [ :: windows :: Guid ;1 ] } impl DEVICE_DSM_TIERING_QUERY_INPUT { } impl :: std :: default :: Default for DEVICE_DSM_TIERING_QUERY_INPUT { fn default ( ) -> Self { Self { Version : 0 , Size : 0 , Flags : 0 , NumberOfTierIds : 0 , TierIds : [ :: std :: default :: Default :: default ( ) ;1 ] } } } impl :: std :: fmt :: Debug for DEVICE_DSM_TIERING_QUERY_INPUT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DEVICE_DSM_TIERING_QUERY_INPUT" ) . field ( "Version" , & self . Version ) . field ( "Size" , & self . Size ) . field ( "Flags" , & self . Flags ) . field ( "NumberOfTierIds" , & self . NumberOfTierIds ) . field ( "TierIds" , & self . TierIds ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DEVICE_DSM_TIERING_QUERY_INPUT { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Size == other . Size && self . Flags == other . Flags && self . NumberOfTierIds == other . NumberOfTierIds && self . TierIds == other . TierIds } } impl :: std :: cmp :: Eq for DEVICE_DSM_TIERING_QUERY_INPUT { } unsafe impl :: windows :: Abi for DEVICE_DSM_TIERING_QUERY_INPUT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DEVICE_DSM_TIERING_QUERY_OUTPUT { pub Version : u32 , pub Size : u32 , pub Flags : u32 , pub Reserved : u32 , pub Alignment : u64 , pub TotalNumberOfRegions : u32 , pub NumberOfRegionsReturned : u32 , pub Regions : [ STORAGE_TIER_REGION ;1 ] } impl DEVICE_DSM_TIERING_QUERY_OUTPUT { } impl :: std :: default :: Default for DEVICE_DSM_TIERING_QUERY_OUTPUT { fn default ( ) -> Self { Self { Version : 0 , Size : 0 , Flags : 0 , Reserved : 0 , Alignment : 0 , TotalNumberOfRegions : 0 , NumberOfRegionsReturned : 0 , Regions : [ :: std :: default :: Default :: default ( ) ;1 ] } } } impl :: std :: fmt :: Debug for DEVICE_DSM_TIERING_QUERY_OUTPUT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DEVICE_DSM_TIERING_QUERY_OUTPUT" ) . field ( "Version" , & self . Version ) . field ( "Size" , & self . Size ) . field ( "Flags" , & self . Flags ) . field ( "Reserved" , & self . Reserved ) . field ( "Alignment" , & self . Alignment ) . field ( "TotalNumberOfRegions" , & self . TotalNumberOfRegions ) . field ( "NumberOfRegionsReturned" , & self . NumberOfRegionsReturned ) . field ( "Regions" , & self . Regions ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DEVICE_DSM_TIERING_QUERY_OUTPUT { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Size == other . Size && self . Flags == other . Flags && self . Reserved == other . Reserved && self . Alignment == other . Alignment && self . TotalNumberOfRegions == other . TotalNumberOfRegions && self . NumberOfRegionsReturned == other . NumberOfRegionsReturned && self . Regions == other . Regions } } impl :: std :: cmp :: Eq for DEVICE_DSM_TIERING_QUERY_OUTPUT { } unsafe impl :: windows :: Abi for DEVICE_DSM_TIERING_QUERY_OUTPUT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DEVICE_EVENT_BECOMING_READY { pub Version : u32 , pub Reason : u32 , pub Estimated100msToReady : u32 } impl DEVICE_EVENT_BECOMING_READY { } impl :: std :: default :: Default for DEVICE_EVENT_BECOMING_READY { fn default ( ) -> Self { Self { Version : 0 , Reason : 0 , Estimated100msToReady : 0 } } } impl :: std :: fmt :: Debug for DEVICE_EVENT_BECOMING_READY { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DEVICE_EVENT_BECOMING_READY" ) . field ( "Version" , & self . Version ) . field ( "Reason" , & self . Reason ) . field ( "Estimated100msToReady" , & self . Estimated100msToReady ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DEVICE_EVENT_BECOMING_READY { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Reason == other . Reason && self . Estimated100msToReady == other . Estimated100msToReady } } impl :: std :: cmp :: Eq for DEVICE_EVENT_BECOMING_READY { } unsafe impl :: windows :: Abi for DEVICE_EVENT_BECOMING_READY { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DEVICE_EVENT_EXTERNAL_REQUEST { pub Version : u32 , pub DeviceClass : u32 , pub ButtonStatus : u16 , pub Request : u16 , pub SystemTime : i64 } impl DEVICE_EVENT_EXTERNAL_REQUEST { } impl :: std :: default :: Default for DEVICE_EVENT_EXTERNAL_REQUEST { fn default ( ) -> Self { Self { Version : 0 , DeviceClass : 0 , ButtonStatus : 0 , Request : 0 , SystemTime : 0 } } } impl :: std :: fmt :: Debug for DEVICE_EVENT_EXTERNAL_REQUEST { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DEVICE_EVENT_EXTERNAL_REQUEST" ) . field ( "Version" , & self . Version ) . field ( "DeviceClass" , & self . DeviceClass ) . field ( "ButtonStatus" , & self . ButtonStatus ) . field ( "Request" , & self . Request ) . field ( "SystemTime" , & self . SystemTime ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DEVICE_EVENT_EXTERNAL_REQUEST { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . DeviceClass == other . DeviceClass && self . ButtonStatus == other . ButtonStatus && self . Request == other . Request && self . SystemTime == other . SystemTime } } impl :: std :: cmp :: Eq for DEVICE_EVENT_EXTERNAL_REQUEST { } unsafe impl :: windows :: Abi for DEVICE_EVENT_EXTERNAL_REQUEST { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DEVICE_EVENT_GENERIC_DATA { pub EventNumber : u32 } impl DEVICE_EVENT_GENERIC_DATA { } impl :: std :: default :: Default for DEVICE_EVENT_GENERIC_DATA { fn default ( ) -> Self { Self { EventNumber : 0 } } } impl :: std :: fmt :: Debug for DEVICE_EVENT_GENERIC_DATA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DEVICE_EVENT_GENERIC_DATA" ) . field ( "EventNumber" , & self . EventNumber ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DEVICE_EVENT_GENERIC_DATA { fn eq ( & self , other : & Self ) -> bool { self . EventNumber == other . EventNumber } } impl :: std :: cmp :: Eq for DEVICE_EVENT_GENERIC_DATA { } unsafe impl :: windows :: Abi for DEVICE_EVENT_GENERIC_DATA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DEVICE_EVENT_MOUNT { pub Version : u32 , pub Flags : u32 , pub FileSystemNameLength : u32 , pub FileSystemNameOffset : u32 } impl DEVICE_EVENT_MOUNT { } impl :: std :: default :: Default for DEVICE_EVENT_MOUNT { fn default ( ) -> Self { Self { Version : 0 , Flags : 0 , FileSystemNameLength : 0 , FileSystemNameOffset : 0 } } } impl :: std :: fmt :: Debug for DEVICE_EVENT_MOUNT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DEVICE_EVENT_MOUNT" ) . field ( "Version" , & self . Version ) . field ( "Flags" , & self . Flags ) . field ( "FileSystemNameLength" , & self . FileSystemNameLength ) . field ( "FileSystemNameOffset" , & self . FileSystemNameOffset ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DEVICE_EVENT_MOUNT { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Flags == other . Flags && self . FileSystemNameLength == other . FileSystemNameLength && self . FileSystemNameOffset == other . FileSystemNameOffset } } impl :: std :: cmp :: Eq for DEVICE_EVENT_MOUNT { } unsafe impl :: windows :: Abi for DEVICE_EVENT_MOUNT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DEVICE_EVENT_RBC_DATA { pub EventNumber : u32 , pub SenseQualifier : u8 , pub SenseCode : u8 , pub SenseKey : u8 , pub Reserved : u8 , pub Information : u32 } impl DEVICE_EVENT_RBC_DATA { } impl :: std :: default :: Default for DEVICE_EVENT_RBC_DATA { fn default ( ) -> Self { Self { EventNumber : 0 , SenseQualifier : 0 , SenseCode : 0 , SenseKey : 0 , Reserved : 0 , Information : 0 } } } impl :: std :: fmt :: Debug for DEVICE_EVENT_RBC_DATA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DEVICE_EVENT_RBC_DATA" ) . field ( "EventNumber" , & self . EventNumber ) . field ( "SenseQualifier" , & self . SenseQualifier ) . field ( "SenseCode" , & self . SenseCode ) . field ( "SenseKey" , & self . SenseKey ) . field ( "Reserved" , & self . Reserved ) . field ( "Information" , & self . Information ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DEVICE_EVENT_RBC_DATA { fn eq ( & self , other : & Self ) -> bool { self . EventNumber == other . EventNumber && self . SenseQualifier == other . SenseQualifier && self . SenseCode == other . SenseCode && self . SenseKey == other . SenseKey && self . Reserved == other . Reserved && self . Information == other . Information } } impl :: std :: cmp :: Eq for DEVICE_EVENT_RBC_DATA { } unsafe impl :: windows :: Abi for DEVICE_EVENT_RBC_DATA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DEVICE_INTERNAL_STATUS_DATA { pub Version : u32 , pub Size : u32 , pub T10VendorId : u64 , pub DataSet1Length : u32 , pub DataSet2Length : u32 , pub DataSet3Length : u32 , pub DataSet4Length : u32 , pub StatusDataVersion : u8 , pub Reserved : [ u8 ;3 ] , pub ReasonIdentifier : [ u8 ;128 ] , pub StatusDataLength : u32 , pub StatusData : [ u8 ;1 ] } impl DEVICE_INTERNAL_STATUS_DATA { } impl :: std :: default :: Default for DEVICE_INTERNAL_STATUS_DATA { fn default ( ) -> Self { Self { Version : 0 , Size : 0 , T10VendorId : 0 , DataSet1Length : 0 , DataSet2Length : 0 , DataSet3Length : 0 , DataSet4Length : 0 , StatusDataVersion : 0 , Reserved : [ 0 ;3 ] , ReasonIdentifier : [ 0 ;128 ] , StatusDataLength : 0 , StatusData : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for DEVICE_INTERNAL_STATUS_DATA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DEVICE_INTERNAL_STATUS_DATA" ) . field ( "Version" , & self . Version ) . field ( "Size" , & self . Size ) . field ( "T10VendorId" , & self . T10VendorId ) . field ( "DataSet1Length" , & self . DataSet1Length ) . field ( "DataSet2Length" , & self . DataSet2Length ) . field ( "DataSet3Length" , & self . DataSet3Length ) . field ( "DataSet4Length" , & self . DataSet4Length ) . field ( "StatusDataVersion" , & self . StatusDataVersion ) . field ( "Reserved" , & self . Reserved ) . field ( "ReasonIdentifier" , & self . ReasonIdentifier ) . field ( "StatusDataLength" , & self . StatusDataLength ) . field ( "StatusData" , & self . StatusData ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DEVICE_INTERNAL_STATUS_DATA { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Size == other . Size && self . T10VendorId == other . T10VendorId && self . DataSet1Length == other . DataSet1Length && self . DataSet2Length == other . DataSet2Length && self . DataSet3Length == other . DataSet3Length && self . DataSet4Length == other . DataSet4Length && self . StatusDataVersion == other . StatusDataVersion && self . Reserved == other . Reserved && self . ReasonIdentifier == other . ReasonIdentifier && self . StatusDataLength == other . StatusDataLength && self . StatusData == other . StatusData } } impl :: std :: cmp :: Eq for DEVICE_INTERNAL_STATUS_DATA { } unsafe impl :: windows :: Abi for DEVICE_INTERNAL_STATUS_DATA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct DEVICE_INTERNAL_STATUS_DATA_REQUEST_TYPE ( pub i32 ) ; pub const DeviceInternalStatusDataRequestTypeUndefined : DEVICE_INTERNAL_STATUS_DATA_REQUEST_TYPE = DEVICE_INTERNAL_STATUS_DATA_REQUEST_TYPE ( 0i32 ) ; pub const DeviceCurrentInternalStatusDataHeader : DEVICE_INTERNAL_STATUS_DATA_REQUEST_TYPE = DEVICE_INTERNAL_STATUS_DATA_REQUEST_TYPE ( 1i32 ) ; pub const DeviceCurrentInternalStatusData : DEVICE_INTERNAL_STATUS_DATA_REQUEST_TYPE = DEVICE_INTERNAL_STATUS_DATA_REQUEST_TYPE ( 2i32 ) ; impl :: std :: convert :: From < i32 > for DEVICE_INTERNAL_STATUS_DATA_REQUEST_TYPE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for DEVICE_INTERNAL_STATUS_DATA_REQUEST_TYPE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct DEVICE_INTERNAL_STATUS_DATA_SET ( pub i32 ) ; pub const DeviceStatusDataSetUndefined : DEVICE_INTERNAL_STATUS_DATA_SET = DEVICE_INTERNAL_STATUS_DATA_SET ( 0i32 ) ; pub const DeviceStatusDataSet1 : DEVICE_INTERNAL_STATUS_DATA_SET = DEVICE_INTERNAL_STATUS_DATA_SET ( 1i32 ) ; pub const DeviceStatusDataSet2 : DEVICE_INTERNAL_STATUS_DATA_SET = DEVICE_INTERNAL_STATUS_DATA_SET ( 2i32 ) ; pub const DeviceStatusDataSet3 : DEVICE_INTERNAL_STATUS_DATA_SET = DEVICE_INTERNAL_STATUS_DATA_SET ( 3i32 ) ; pub const DeviceStatusDataSet4 : DEVICE_INTERNAL_STATUS_DATA_SET = DEVICE_INTERNAL_STATUS_DATA_SET ( 4i32 ) ; pub const DeviceStatusDataSetMax : DEVICE_INTERNAL_STATUS_DATA_SET = DEVICE_INTERNAL_STATUS_DATA_SET ( 5i32 ) ; impl :: std :: convert :: From < i32 > for DEVICE_INTERNAL_STATUS_DATA_SET { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for DEVICE_INTERNAL_STATUS_DATA_SET { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DEVICE_LOCATION { pub Socket : u32 , pub Slot : u32 , pub Adapter : u32 , pub Port : u32 , pub Anonymous : DEVICE_LOCATION_0 } impl DEVICE_LOCATION { } impl :: std :: cmp :: PartialEq for DEVICE_LOCATION { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for DEVICE_LOCATION { } unsafe impl :: windows :: Abi for DEVICE_LOCATION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union DEVICE_LOCATION_0 { pub Anonymous1 : DEVICE_LOCATION_0_0 , pub Anonymous2 : DEVICE_LOCATION_0_1 } impl DEVICE_LOCATION_0 { } impl :: std :: cmp :: PartialEq for DEVICE_LOCATION_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for DEVICE_LOCATION_0 { } unsafe impl :: windows :: Abi for DEVICE_LOCATION_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DEVICE_LOCATION_0_0 { pub Channel : u32 , pub Device : u32 } impl DEVICE_LOCATION_0_0 { } impl :: std :: default :: Default for DEVICE_LOCATION_0_0 { fn default ( ) -> Self { Self { Channel : 0 , Device : 0 } } } impl :: std :: fmt :: Debug for DEVICE_LOCATION_0_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Anonymous1_e__Struct" ) . field ( "Channel" , & self . Channel ) . field ( "Device" , & self . Device ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DEVICE_LOCATION_0_0 { fn eq ( & self , other : & Self ) -> bool { self . Channel == other . Channel && self . Device == other . Device } } impl :: std :: cmp :: Eq for DEVICE_LOCATION_0_0 { } unsafe impl :: windows :: Abi for DEVICE_LOCATION_0_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DEVICE_LOCATION_0_1 { pub Target : u32 , pub Lun : u32 } impl DEVICE_LOCATION_0_1 { } impl :: std :: default :: Default for DEVICE_LOCATION_0_1 { fn default ( ) -> Self { Self { Target : 0 , Lun : 0 } } } impl :: std :: fmt :: Debug for DEVICE_LOCATION_0_1 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Anonymous2_e__Struct" ) . field ( "Target" , & self . Target ) . field ( "Lun" , & self . Lun ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DEVICE_LOCATION_0_1 { fn eq ( & self , other : & Self ) -> bool { self . Target == other . Target && self . Lun == other . Lun } } impl :: std :: cmp :: Eq for DEVICE_LOCATION_0_1 { } unsafe impl :: windows :: Abi for DEVICE_LOCATION_0_1 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DEVICE_MANAGE_DATA_SET_ATTRIBUTES { pub Size : u32 , pub Action : u32 , pub Flags : u32 , pub ParameterBlockOffset : u32 , pub ParameterBlockLength : u32 , pub DataSetRangesOffset : u32 , pub DataSetRangesLength : u32 } impl DEVICE_MANAGE_DATA_SET_ATTRIBUTES { } impl :: std :: default :: Default for DEVICE_MANAGE_DATA_SET_ATTRIBUTES { fn default ( ) -> Self { Self { Size : 0 , Action : 0 , Flags : 0 , ParameterBlockOffset : 0 , ParameterBlockLength : 0 , DataSetRangesOffset : 0 , DataSetRangesLength : 0 } } } impl :: std :: fmt :: Debug for DEVICE_MANAGE_DATA_SET_ATTRIBUTES { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DEVICE_MANAGE_DATA_SET_ATTRIBUTES" ) . field ( "Size" , & self . Size ) . field ( "Action" , & self . Action ) . field ( "Flags" , & self . Flags ) . field ( "ParameterBlockOffset" , & self . ParameterBlockOffset ) . field ( "ParameterBlockLength" , & self . ParameterBlockLength ) . field ( "DataSetRangesOffset" , & self . DataSetRangesOffset ) . field ( "DataSetRangesLength" , & self . DataSetRangesLength ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DEVICE_MANAGE_DATA_SET_ATTRIBUTES { fn eq ( & self , other : & Self ) -> bool { self . Size == other . Size && self . Action == other . Action && self . Flags == other . Flags && self . ParameterBlockOffset == other . ParameterBlockOffset && self . ParameterBlockLength == other . ParameterBlockLength && self . DataSetRangesOffset == other . DataSetRangesOffset && self . DataSetRangesLength == other . DataSetRangesLength } } impl :: std :: cmp :: Eq for DEVICE_MANAGE_DATA_SET_ATTRIBUTES { } unsafe impl :: windows :: Abi for DEVICE_MANAGE_DATA_SET_ATTRIBUTES { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DEVICE_MANAGE_DATA_SET_ATTRIBUTES_OUTPUT { pub Size : u32 , pub Action : u32 , pub Flags : u32 , pub OperationStatus : u32 , pub ExtendedError : u32 , pub TargetDetailedError : u32 , pub ReservedStatus : u32 , pub OutputBlockOffset : u32 , pub OutputBlockLength : u32 } impl DEVICE_MANAGE_DATA_SET_ATTRIBUTES_OUTPUT { } impl :: std :: default :: Default for DEVICE_MANAGE_DATA_SET_ATTRIBUTES_OUTPUT { fn default ( ) -> Self { Self { Size : 0 , Action : 0 , Flags : 0 , OperationStatus : 0 , ExtendedError : 0 , TargetDetailedError : 0 , ReservedStatus : 0 , OutputBlockOffset : 0 , OutputBlockLength : 0 } } } impl :: std :: fmt :: Debug for DEVICE_MANAGE_DATA_SET_ATTRIBUTES_OUTPUT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DEVICE_MANAGE_DATA_SET_ATTRIBUTES_OUTPUT" ) . field ( "Size" , & self . Size ) . field ( "Action" , & self . Action ) . field ( "Flags" , & self . Flags ) . field ( "OperationStatus" , & self . OperationStatus ) . field ( "ExtendedError" , & self . ExtendedError ) . field ( "TargetDetailedError" , & self . TargetDetailedError ) . field ( "ReservedStatus" , & self . ReservedStatus ) . field ( "OutputBlockOffset" , & self . OutputBlockOffset ) . field ( "OutputBlockLength" , & self . OutputBlockLength ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DEVICE_MANAGE_DATA_SET_ATTRIBUTES_OUTPUT { fn eq ( & self , other : & Self ) -> bool { self . Size == other . Size && self . Action == other . Action && self . Flags == other . Flags && self . OperationStatus == other . OperationStatus && self . ExtendedError == other . ExtendedError && self . TargetDetailedError == other . TargetDetailedError && self . ReservedStatus == other . ReservedStatus && self . OutputBlockOffset == other . OutputBlockOffset && self . OutputBlockLength == other . OutputBlockLength } } impl :: std :: cmp :: Eq for DEVICE_MANAGE_DATA_SET_ATTRIBUTES_OUTPUT { } unsafe impl :: windows :: Abi for DEVICE_MANAGE_DATA_SET_ATTRIBUTES_OUTPUT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DEVICE_MEDIA_INFO { pub DeviceSpecific : DEVICE_MEDIA_INFO_0 } impl DEVICE_MEDIA_INFO { } impl :: std :: cmp :: PartialEq for DEVICE_MEDIA_INFO { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for DEVICE_MEDIA_INFO { } unsafe impl :: windows :: Abi for DEVICE_MEDIA_INFO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union DEVICE_MEDIA_INFO_0 { pub DiskInfo : DEVICE_MEDIA_INFO_0_0 , pub RemovableDiskInfo : DEVICE_MEDIA_INFO_0_1 , pub TapeInfo : DEVICE_MEDIA_INFO_0_2 } impl DEVICE_MEDIA_INFO_0 { } impl :: std :: cmp :: PartialEq for DEVICE_MEDIA_INFO_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for DEVICE_MEDIA_INFO_0 { } unsafe impl :: windows :: Abi for DEVICE_MEDIA_INFO_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DEVICE_MEDIA_INFO_0_0 { pub Cylinders : i64 , pub MediaType : STORAGE_MEDIA_TYPE , pub TracksPerCylinder : u32 , pub SectorsPerTrack : u32 , pub BytesPerSector : u32 , pub NumberMediaSides : u32 , pub MediaCharacteristics : u32 } impl DEVICE_MEDIA_INFO_0_0 { } impl :: std :: default :: Default for DEVICE_MEDIA_INFO_0_0 { fn default ( ) -> Self { Self { Cylinders : 0 , MediaType : :: std :: default :: Default :: default ( ) , TracksPerCylinder : 0 , SectorsPerTrack : 0 , BytesPerSector : 0 , NumberMediaSides : 0 , MediaCharacteristics : 0 } } } impl :: std :: fmt :: Debug for DEVICE_MEDIA_INFO_0_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_DiskInfo_e__Struct" ) . field ( "Cylinders" , & self . Cylinders ) . field ( "MediaType" , & self . MediaType ) . field ( "TracksPerCylinder" , & self . TracksPerCylinder ) . field ( "SectorsPerTrack" , & self . SectorsPerTrack ) . field ( "BytesPerSector" , & self . BytesPerSector ) . field ( "NumberMediaSides" , & self . NumberMediaSides ) . field ( "MediaCharacteristics" , & self . MediaCharacteristics ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DEVICE_MEDIA_INFO_0_0 { fn eq ( & self , other : & Self ) -> bool { self . Cylinders == other . Cylinders && self . MediaType == other . MediaType && self . TracksPerCylinder == other . TracksPerCylinder && self . SectorsPerTrack == other . SectorsPerTrack && self . BytesPerSector == other . BytesPerSector && self . NumberMediaSides == other . NumberMediaSides && self . MediaCharacteristics == other . MediaCharacteristics } } impl :: std :: cmp :: Eq for DEVICE_MEDIA_INFO_0_0 { } unsafe impl :: windows :: Abi for DEVICE_MEDIA_INFO_0_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DEVICE_MEDIA_INFO_0_1 { pub Cylinders : i64 , pub MediaType : STORAGE_MEDIA_TYPE , pub TracksPerCylinder : u32 , pub SectorsPerTrack : u32 , pub BytesPerSector : u32 , pub NumberMediaSides : u32 , pub MediaCharacteristics : u32 } impl DEVICE_MEDIA_INFO_0_1 { } impl :: std :: default :: Default for DEVICE_MEDIA_INFO_0_1 { fn default ( ) -> Self { Self { Cylinders : 0 , MediaType : :: std :: default :: Default :: default ( ) , TracksPerCylinder : 0 , SectorsPerTrack : 0 , BytesPerSector : 0 , NumberMediaSides : 0 , MediaCharacteristics : 0 } } } impl :: std :: fmt :: Debug for DEVICE_MEDIA_INFO_0_1 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_RemovableDiskInfo_e__Struct" ) . field ( "Cylinders" , & self . Cylinders ) . field ( "MediaType" , & self . MediaType ) . field ( "TracksPerCylinder" , & self . TracksPerCylinder ) . field ( "SectorsPerTrack" , & self . SectorsPerTrack ) . field ( "BytesPerSector" , & self . BytesPerSector ) . field ( "NumberMediaSides" , & self . NumberMediaSides ) . field ( "MediaCharacteristics" , & self . MediaCharacteristics ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DEVICE_MEDIA_INFO_0_1 { fn eq ( & self , other : & Self ) -> bool { self . Cylinders == other . Cylinders && self . MediaType == other . MediaType && self . TracksPerCylinder == other . TracksPerCylinder && self . SectorsPerTrack == other . SectorsPerTrack && self . BytesPerSector == other . BytesPerSector && self . NumberMediaSides == other . NumberMediaSides && self . MediaCharacteristics == other . MediaCharacteristics } } impl :: std :: cmp :: Eq for DEVICE_MEDIA_INFO_0_1 { } unsafe impl :: windows :: Abi for DEVICE_MEDIA_INFO_0_1 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DEVICE_MEDIA_INFO_0_2 { pub MediaType : STORAGE_MEDIA_TYPE , pub MediaCharacteristics : u32 , pub CurrentBlockSize : u32 , pub BusType : STORAGE_BUS_TYPE , pub BusSpecificData : DEVICE_MEDIA_INFO_0_2_0 } impl DEVICE_MEDIA_INFO_0_2 { } impl :: std :: cmp :: PartialEq for DEVICE_MEDIA_INFO_0_2 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for DEVICE_MEDIA_INFO_0_2 { } unsafe impl :: windows :: Abi for DEVICE_MEDIA_INFO_0_2 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union DEVICE_MEDIA_INFO_0_2_0 { pub ScsiInformation : DEVICE_MEDIA_INFO_0_2_0_0 } impl DEVICE_MEDIA_INFO_0_2_0 { } impl :: std :: cmp :: PartialEq for DEVICE_MEDIA_INFO_0_2_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for DEVICE_MEDIA_INFO_0_2_0 { } unsafe impl :: windows :: Abi for DEVICE_MEDIA_INFO_0_2_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DEVICE_MEDIA_INFO_0_2_0_0 { pub MediumType : u8 , pub DensityCode : u8 } impl DEVICE_MEDIA_INFO_0_2_0_0 { } impl :: std :: default :: Default for DEVICE_MEDIA_INFO_0_2_0_0 { fn default ( ) -> Self { Self { MediumType : 0 , DensityCode : 0 } } } impl :: std :: fmt :: Debug for DEVICE_MEDIA_INFO_0_2_0_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_ScsiInformation_e__Struct" ) . field ( "MediumType" , & self . MediumType ) . field ( "DensityCode" , & self . DensityCode ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DEVICE_MEDIA_INFO_0_2_0_0 { fn eq ( & self , other : & Self ) -> bool { self . MediumType == other . MediumType && self . DensityCode == other . DensityCode } } impl :: std :: cmp :: Eq for DEVICE_MEDIA_INFO_0_2_0_0 { } unsafe impl :: windows :: Abi for DEVICE_MEDIA_INFO_0_2_0_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct DEVICE_POWER_STATE ( pub i32 ) ; pub const PowerDeviceUnspecified : DEVICE_POWER_STATE = DEVICE_POWER_STATE ( 0i32 ) ; pub const PowerDeviceD0 : DEVICE_POWER_STATE = DEVICE_POWER_STATE ( 1i32 ) ; pub const PowerDeviceD1 : DEVICE_POWER_STATE = DEVICE_POWER_STATE ( 2i32 ) ; pub const PowerDeviceD2 : DEVICE_POWER_STATE = DEVICE_POWER_STATE ( 3i32 ) ; pub const PowerDeviceD3 : DEVICE_POWER_STATE = DEVICE_POWER_STATE ( 4i32 ) ; pub const PowerDeviceMaximum : DEVICE_POWER_STATE = DEVICE_POWER_STATE ( 5i32 ) ; impl :: std :: convert :: From < i32 > for DEVICE_POWER_STATE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for DEVICE_POWER_STATE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DEVICE_STORAGE_ADDRESS_RANGE { pub StartAddress : i64 , pub LengthInBytes : u64 } impl DEVICE_STORAGE_ADDRESS_RANGE { } impl :: std :: default :: Default for DEVICE_STORAGE_ADDRESS_RANGE { fn default ( ) -> Self { Self { StartAddress : 0 , LengthInBytes : 0 } } } impl :: std :: fmt :: Debug for DEVICE_STORAGE_ADDRESS_RANGE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DEVICE_STORAGE_ADDRESS_RANGE" ) . field ( "StartAddress" , & self . StartAddress ) . field ( "LengthInBytes" , & self . LengthInBytes ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DEVICE_STORAGE_ADDRESS_RANGE { fn eq ( & self , other : & Self ) -> bool { self . StartAddress == other . StartAddress && self . LengthInBytes == other . LengthInBytes } } impl :: std :: cmp :: Eq for DEVICE_STORAGE_ADDRESS_RANGE { } unsafe impl :: windows :: Abi for DEVICE_STORAGE_ADDRESS_RANGE { type Abi = Self ; type DefaultType = Self ; } pub const DEVICE_STORAGE_NO_ERRORS : u32 = 1u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DEVICE_STORAGE_RANGE_ATTRIBUTES { pub LengthInBytes : u64 , pub Anonymous : DEVICE_STORAGE_RANGE_ATTRIBUTES_0 , pub Reserved : u32 } impl DEVICE_STORAGE_RANGE_ATTRIBUTES { } impl :: std :: cmp :: PartialEq for DEVICE_STORAGE_RANGE_ATTRIBUTES { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for DEVICE_STORAGE_RANGE_ATTRIBUTES { } unsafe impl :: windows :: Abi for DEVICE_STORAGE_RANGE_ATTRIBUTES { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union DEVICE_STORAGE_RANGE_ATTRIBUTES_0 { pub AllFlags : u32 , pub Anonymous : DEVICE_STORAGE_RANGE_ATTRIBUTES_0_0 } impl DEVICE_STORAGE_RANGE_ATTRIBUTES_0 { } impl :: std :: cmp :: PartialEq for DEVICE_STORAGE_RANGE_ATTRIBUTES_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for DEVICE_STORAGE_RANGE_ATTRIBUTES_0 { } unsafe impl :: windows :: Abi for DEVICE_STORAGE_RANGE_ATTRIBUTES_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DEVICE_STORAGE_RANGE_ATTRIBUTES_0_0 { pub _bitfield : u32 } impl DEVICE_STORAGE_RANGE_ATTRIBUTES_0_0 { } impl :: std :: default :: Default for DEVICE_STORAGE_RANGE_ATTRIBUTES_0_0 { fn default ( ) -> Self { Self { _bitfield : 0 } } } impl :: std :: fmt :: Debug for DEVICE_STORAGE_RANGE_ATTRIBUTES_0_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Anonymous_e__Struct" ) . field ( "_bitfield" , & self . _bitfield ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DEVICE_STORAGE_RANGE_ATTRIBUTES_0_0 { fn eq ( & self , other : & Self ) -> bool { self . _bitfield == other . _bitfield } } impl :: std :: cmp :: Eq for DEVICE_STORAGE_RANGE_ATTRIBUTES_0_0 { } unsafe impl :: windows :: Abi for DEVICE_STORAGE_RANGE_ATTRIBUTES_0_0 { type Abi = Self ; type DefaultType = Self ; } pub const DEVPKEY_DevQuery_ObjectType : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 325533506 ,41942 ,18934 , [ 180 ,218 ,174 ,70 ,224 ,197 ,35 ,124 ] , ) , pid : 2u32 , } ; pub const DEVPKEY_DeviceClass_Characteristics : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 1126273419 ,63134 ,18189 , [ 165 ,222 ,77 ,136 ,199 ,90 ,210 ,75 ] , ) , pid : 29u32 , } ; pub const DEVPKEY_DeviceClass_ClassCoInstallers : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 1899828995 ,41698 ,18933 , [ 146 ,20 ,86 ,71 ,46 ,243 ,218 ,92 ] , ) , pid : 2u32 , } ; pub const DEVPKEY_DeviceClass_ClassInstaller : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 630898684 ,20647 ,18382 , [ 175 ,8 ,104 ,201 ,167 ,215 ,51 ,102 ] , ) , pid : 5u32 , } ; pub const DEVPKEY_DeviceClass_ClassName : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 630898684 ,20647 ,18382 , [ 175 ,8 ,104 ,201 ,167 ,215 ,51 ,102 ] , ) , pid : 3u32 , } ; pub const DEVPKEY_DeviceClass_DHPRebalanceOptOut : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 3511500531 ,26319 ,19362 , [ 157 ,56 ,13 ,219 ,55 ,171 ,71 ,1 ] , ) , pid : 2u32 , } ; pub const DEVPKEY_DeviceClass_DefaultService : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 630898684 ,20647 ,18382 , [ 175 ,8 ,104 ,201 ,167 ,215 ,51 ,102 ] , ) , pid : 11u32 , } ; pub const DEVPKEY_DeviceClass_DevType : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 1126273419 ,63134 ,18189 , [ 165 ,222 ,77 ,136 ,199 ,90 ,210 ,75 ] , ) , pid : 27u32 , } ; pub const DEVPKEY_DeviceClass_Exclusive : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 1126273419 ,63134 ,18189 , [ 165 ,222 ,77 ,136 ,199 ,90 ,210 ,75 ] , ) , pid : 28u32 , } ; pub const DEVPKEY_DeviceClass_Icon : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 630898684 ,20647 ,18382 , [ 175 ,8 ,104 ,201 ,167 ,215 ,51 ,102 ] , ) , pid : 4u32 , } ; pub const DEVPKEY_DeviceClass_IconPath : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 630898684 ,20647 ,18382 , [ 175 ,8 ,104 ,201 ,167 ,215 ,51 ,102 ] , ) , pid : 12u32 , } ; pub const DEVPKEY_DeviceClass_LowerFilters : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 1126273419 ,63134 ,18189 , [ 165 ,222 ,77 ,136 ,199 ,90 ,210 ,75 ] , ) , pid : 20u32 , } ; pub const DEVPKEY_DeviceClass_Name : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 630898684 ,20647 ,18382 , [ 175 ,8 ,104 ,201 ,167 ,215 ,51 ,102 ] , ) , pid : 2u32 , } ; pub const DEVPKEY_DeviceClass_NoDisplayClass : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 630898684 ,20647 ,18382 , [ 175 ,8 ,104 ,201 ,167 ,215 ,51 ,102 ] , ) , pid : 8u32 , } ; pub const DEVPKEY_DeviceClass_NoInstallClass : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 630898684 ,20647 ,18382 , [ 175 ,8 ,104 ,201 ,167 ,215 ,51 ,102 ] , ) , pid : 7u32 , } ; pub const DEVPKEY_DeviceClass_NoUseClass : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 630898684 ,20647 ,18382 , [ 175 ,8 ,104 ,201 ,167 ,215 ,51 ,102 ] , ) , pid : 10u32 , } ; pub const DEVPKEY_DeviceClass_PropPageProvider : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 630898684 ,20647 ,18382 , [ 175 ,8 ,104 ,201 ,167 ,215 ,51 ,102 ] , ) , pid : 6u32 , } ; pub const DEVPKEY_DeviceClass_Security : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 1126273419 ,63134 ,18189 , [ 165 ,222 ,77 ,136 ,199 ,90 ,210 ,75 ] , ) , pid : 25u32 , } ; pub const DEVPKEY_DeviceClass_SecuritySDS : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 1126273419 ,63134 ,18189 , [ 165 ,222 ,77 ,136 ,199 ,90 ,210 ,75 ] , ) , pid : 26u32 , } ; pub const DEVPKEY_DeviceClass_SilentInstall : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 630898684 ,20647 ,18382 , [ 175 ,8 ,104 ,201 ,167 ,215 ,51 ,102 ] , ) , pid : 9u32 , } ; pub const DEVPKEY_DeviceClass_UpperFilters : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 1126273419 ,63134 ,18189 , [ 165 ,222 ,77 ,136 ,199 ,90 ,210 ,75 ] , ) , pid : 19u32 , } ; pub const DEVPKEY_DeviceContainer_Address : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2026065864 ,4170 ,19146 , [ 158 ,164 ,82 ,77 ,82 ,153 ,110 ,87 ] , ) , pid : 51u32 , } ; pub const DEVPKEY_DeviceContainer_AlwaysShowDeviceAsConnected : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2026065864 ,4170 ,19146 , [ 158 ,164 ,82 ,77 ,82 ,153 ,110 ,87 ] , ) , pid : 101u32 , } ; pub const DEVPKEY_DeviceContainer_AssociationArray : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2026065864 ,4170 ,19146 , [ 158 ,164 ,82 ,77 ,82 ,153 ,110 ,87 ] , ) , pid : 80u32 , } ; pub const DEVPKEY_DeviceContainer_BaselineExperienceId : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2026065864 ,4170 ,19146 , [ 158 ,164 ,82 ,77 ,82 ,153 ,110 ,87 ] , ) , pid : 78u32 , } ; pub const DEVPKEY_DeviceContainer_Category : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2026065864 ,4170 ,19146 , [ 158 ,164 ,82 ,77 ,82 ,153 ,110 ,87 ] , ) , pid : 90u32 , } ; pub const DEVPKEY_DeviceContainer_CategoryGroup_Desc : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2026065864 ,4170 ,19146 , [ 158 ,164 ,82 ,77 ,82 ,153 ,110 ,87 ] , ) , pid : 94u32 , } ; pub const DEVPKEY_DeviceContainer_CategoryGroup_Icon : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2026065864 ,4170 ,19146 , [ 158 ,164 ,82 ,77 ,82 ,153 ,110 ,87 ] , ) , pid : 95u32 , } ; pub const DEVPKEY_DeviceContainer_Category_Desc_Plural : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2026065864 ,4170 ,19146 , [ 158 ,164 ,82 ,77 ,82 ,153 ,110 ,87 ] , ) , pid : 92u32 , } ; pub const DEVPKEY_DeviceContainer_Category_Desc_Singular : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2026065864 ,4170 ,19146 , [ 158 ,164 ,82 ,77 ,82 ,153 ,110 ,87 ] , ) , pid : 91u32 , } ; pub const DEVPKEY_DeviceContainer_Category_Icon : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2026065864 ,4170 ,19146 , [ 158 ,164 ,82 ,77 ,82 ,153 ,110 ,87 ] , ) , pid : 93u32 , } ; pub const DEVPKEY_DeviceContainer_ConfigFlags : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2026065864 ,4170 ,19146 , [ 158 ,164 ,82 ,77 ,82 ,153 ,110 ,87 ] , ) , pid : 105u32 , } ; pub const DEVPKEY_DeviceContainer_CustomPrivilegedPackageFamilyNames : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2026065864 ,4170 ,19146 , [ 158 ,164 ,82 ,77 ,82 ,153 ,110 ,87 ] , ) , pid : 107u32 , } ; pub const DEVPKEY_DeviceContainer_DeviceDescription1 : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2026065864 ,4170 ,19146 , [ 158 ,164 ,82 ,77 ,82 ,153 ,110 ,87 ] , ) , pid : 81u32 , } ; pub const DEVPKEY_DeviceContainer_DeviceDescription2 : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2026065864 ,4170 ,19146 , [ 158 ,164 ,82 ,77 ,82 ,153 ,110 ,87 ] , ) , pid : 82u32 , } ; pub const DEVPKEY_DeviceContainer_DeviceFunctionSubRank : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2026065864 ,4170 ,19146 , [ 158 ,164 ,82 ,77 ,82 ,153 ,110 ,87 ] , ) , pid : 100u32 , } ; pub const DEVPKEY_DeviceContainer_DiscoveryMethod : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2026065864 ,4170 ,19146 , [ 158 ,164 ,82 ,77 ,82 ,153 ,110 ,87 ] , ) , pid : 52u32 , } ; pub const DEVPKEY_DeviceContainer_ExperienceId : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2026065864 ,4170 ,19146 , [ 158 ,164 ,82 ,77 ,82 ,153 ,110 ,87 ] , ) , pid : 89u32 , } ; pub const DEVPKEY_DeviceContainer_FriendlyName : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 1701460915 ,60608 ,17405 , [ 132 ,119 ,74 ,224 ,64 ,74 ,150 ,205 ] , ) , pid : 12288u32 , } ; pub const DEVPKEY_DeviceContainer_HasProblem : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2026065864 ,4170 ,19146 , [ 158 ,164 ,82 ,77 ,82 ,153 ,110 ,87 ] , ) , pid : 83u32 , } ; pub const DEVPKEY_DeviceContainer_Icon : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2026065864 ,4170 ,19146 , [ 158 ,164 ,82 ,77 ,82 ,153 ,110 ,87 ] , ) , pid : 57u32 , } ; pub const DEVPKEY_DeviceContainer_InstallInProgress : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2212127526 ,38822 ,16520 , [ 148 ,83 ,161 ,146 ,63 ,87 ,59 ,41 ] , ) , pid : 9u32 , } ; pub const DEVPKEY_DeviceContainer_IsAuthenticated : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2026065864 ,4170 ,19146 , [ 158 ,164 ,82 ,77 ,82 ,153 ,110 ,87 ] , ) , pid : 54u32 , } ; pub const DEVPKEY_DeviceContainer_IsConnected : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2026065864 ,4170 ,19146 , [ 158 ,164 ,82 ,77 ,82 ,153 ,110 ,87 ] , ) , pid : 55u32 , } ; pub const DEVPKEY_DeviceContainer_IsDefaultDevice : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2026065864 ,4170 ,19146 , [ 158 ,164 ,82 ,77 ,82 ,153 ,110 ,87 ] , ) , pid : 86u32 , } ; pub const DEVPKEY_DeviceContainer_IsDeviceUniquelyIdentifiable : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2026065864 ,4170 ,19146 , [ 158 ,164 ,82 ,77 ,82 ,153 ,110 ,87 ] , ) , pid : 79u32 , } ; pub const DEVPKEY_DeviceContainer_IsEncrypted : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2026065864 ,4170 ,19146 , [ 158 ,164 ,82 ,77 ,82 ,153 ,110 ,87 ] , ) , pid : 53u32 , } ; pub const DEVPKEY_DeviceContainer_IsLocalMachine : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2026065864 ,4170 ,19146 , [ 158 ,164 ,82 ,77 ,82 ,153 ,110 ,87 ] , ) , pid : 70u32 , } ; pub const DEVPKEY_DeviceContainer_IsMetadataSearchInProgress : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2026065864 ,4170 ,19146 , [ 158 ,164 ,82 ,77 ,82 ,153 ,110 ,87 ] , ) , pid : 72u32 , } ; pub const DEVPKEY_DeviceContainer_IsNetworkDevice : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2026065864 ,4170 ,19146 , [ 158 ,164 ,82 ,77 ,82 ,153 ,110 ,87 ] , ) , pid : 85u32 , } ; pub const DEVPKEY_DeviceContainer_IsNotInterestingForDisplay : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2026065864 ,4170 ,19146 , [ 158 ,164 ,82 ,77 ,82 ,153 ,110 ,87 ] , ) , pid : 74u32 , } ; pub const DEVPKEY_DeviceContainer_IsPaired : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2026065864 ,4170 ,19146 , [ 158 ,164 ,82 ,77 ,82 ,153 ,110 ,87 ] , ) , pid : 56u32 , } ; pub const DEVPKEY_DeviceContainer_IsRebootRequired : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2026065864 ,4170 ,19146 , [ 158 ,164 ,82 ,77 ,82 ,153 ,110 ,87 ] , ) , pid : 108u32 , } ; pub const DEVPKEY_DeviceContainer_IsSharedDevice : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2026065864 ,4170 ,19146 , [ 158 ,164 ,82 ,77 ,82 ,153 ,110 ,87 ] , ) , pid : 84u32 , } ; pub const DEVPKEY_DeviceContainer_IsShowInDisconnectedState : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2026065864 ,4170 ,19146 , [ 158 ,164 ,82 ,77 ,82 ,153 ,110 ,87 ] , ) , pid : 68u32 , } ; pub const DEVPKEY_DeviceContainer_Last_Connected : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2026065864 ,4170 ,19146 , [ 158 ,164 ,82 ,77 ,82 ,153 ,110 ,87 ] , ) , pid : 67u32 , } ; pub const DEVPKEY_DeviceContainer_Last_Seen : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2026065864 ,4170 ,19146 , [ 158 ,164 ,82 ,77 ,82 ,153 ,110 ,87 ] , ) , pid : 66u32 , } ; pub const DEVPKEY_DeviceContainer_LaunchDeviceStageFromExplorer : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2026065864 ,4170 ,19146 , [ 158 ,164 ,82 ,77 ,82 ,153 ,110 ,87 ] , ) , pid : 77u32 , } ; pub const DEVPKEY_DeviceContainer_LaunchDeviceStageOnDeviceConnect : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2026065864 ,4170 ,19146 , [ 158 ,164 ,82 ,77 ,82 ,153 ,110 ,87 ] , ) , pid : 76u32 , } ; pub const DEVPKEY_DeviceContainer_Manufacturer : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 1701460915 ,60608 ,17405 , [ 132 ,119 ,74 ,224 ,64 ,74 ,150 ,205 ] , ) , pid : 8192u32 , } ; pub const DEVPKEY_DeviceContainer_MetadataCabinet : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2026065864 ,4170 ,19146 , [ 158 ,164 ,82 ,77 ,82 ,153 ,110 ,87 ] , ) , pid : 87u32 , } ; pub const DEVPKEY_DeviceContainer_MetadataChecksum : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2026065864 ,4170 ,19146 , [ 158 ,164 ,82 ,77 ,82 ,153 ,110 ,87 ] , ) , pid : 73u32 , } ; pub const DEVPKEY_DeviceContainer_MetadataPath : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2026065864 ,4170 ,19146 , [ 158 ,164 ,82 ,77 ,82 ,153 ,110 ,87 ] , ) , pid : 71u32 , } ; pub const DEVPKEY_DeviceContainer_ModelName : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 1701460915 ,60608 ,17405 , [ 132 ,119 ,74 ,224 ,64 ,74 ,150 ,205 ] , ) , pid : 8194u32 , } ; pub const DEVPKEY_DeviceContainer_ModelNumber : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 1701460915 ,60608 ,17405 , [ 132 ,119 ,74 ,224 ,64 ,74 ,150 ,205 ] , ) , pid : 8195u32 , } ; pub const DEVPKEY_DeviceContainer_PrimaryCategory : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2026065864 ,4170 ,19146 , [ 158 ,164 ,82 ,77 ,82 ,153 ,110 ,87 ] , ) , pid : 97u32 , } ; pub const DEVPKEY_DeviceContainer_PrivilegedPackageFamilyNames : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2026065864 ,4170 ,19146 , [ 158 ,164 ,82 ,77 ,82 ,153 ,110 ,87 ] , ) , pid : 106u32 , } ; pub const DEVPKEY_DeviceContainer_RequiresPairingElevation : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2026065864 ,4170 ,19146 , [ 158 ,164 ,82 ,77 ,82 ,153 ,110 ,87 ] , ) , pid : 88u32 , } ; pub const DEVPKEY_DeviceContainer_RequiresUninstallElevation : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2026065864 ,4170 ,19146 , [ 158 ,164 ,82 ,77 ,82 ,153 ,110 ,87 ] , ) , pid : 99u32 , } ; pub const DEVPKEY_DeviceContainer_UnpairUninstall : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2026065864 ,4170 ,19146 , [ 158 ,164 ,82 ,77 ,82 ,153 ,110 ,87 ] , ) , pid : 98u32 , } ; pub const DEVPKEY_DeviceContainer_Version : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2026065864 ,4170 ,19146 , [ 158 ,164 ,82 ,77 ,82 ,153 ,110 ,87 ] , ) , pid : 65u32 , } ; pub const DEVPKEY_DeviceInterfaceClass_DefaultInterface : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 348666521 ,2879 ,17591 , [ 190 ,76 ,161 ,120 ,211 ,153 ,5 ,100 ] , ) , pid : 2u32 , } ; pub const DEVPKEY_DeviceInterfaceClass_Name : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 348666521 ,2879 ,17591 , [ 190 ,76 ,161 ,120 ,211 ,153 ,5 ,100 ] , ) , pid : 3u32 , } ; pub const DEVPKEY_DeviceInterface_ClassGuid : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 40784238 ,47124 ,16715 , [ 131 ,205 ,133 ,109 ,111 ,239 ,72 ,34 ] , ) , pid : 4u32 , } ; pub const DEVPKEY_DeviceInterface_Enabled : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 40784238 ,47124 ,16715 , [ 131 ,205 ,133 ,109 ,111 ,239 ,72 ,34 ] , ) , pid : 3u32 , } ; pub const DEVPKEY_DeviceInterface_FriendlyName : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 40784238 ,47124 ,16715 , [ 131 ,205 ,133 ,109 ,111 ,239 ,72 ,34 ] , ) , pid : 2u32 , } ; pub const DEVPKEY_DeviceInterface_ReferenceString : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 40784238 ,47124 ,16715 , [ 131 ,205 ,133 ,109 ,111 ,239 ,72 ,34 ] , ) , pid : 5u32 , } ; pub const DEVPKEY_DeviceInterface_Restricted : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 40784238 ,47124 ,16715 , [ 131 ,205 ,133 ,109 ,111 ,239 ,72 ,34 ] , ) , pid : 6u32 , } ; pub const DEVPKEY_DeviceInterface_SchematicName : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 40784238 ,47124 ,16715 , [ 131 ,205 ,133 ,109 ,111 ,239 ,72 ,34 ] , ) , pid : 9u32 , } ; pub const DEVPKEY_DeviceInterface_UnrestrictedAppCapabilities : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 40784238 ,47124 ,16715 , [ 131 ,205 ,133 ,109 ,111 ,239 ,72 ,34 ] , ) , pid : 8u32 , } ; pub const DEVPKEY_Device_AdditionalSoftwareRequested : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2830656989 ,11837 ,16532 , [ 173 ,151 ,229 ,147 ,167 ,12 ,117 ,214 ] , ) , pid : 19u32 , } ; pub const DEVPKEY_Device_Address : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2757502286 ,57116 ,20221 , [ 128 ,32 ,103 ,209 ,70 ,168 ,80 ,224 ] , ) , pid : 30u32 , } ; pub const DEVPKEY_Device_AssignedToGuest : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 1410045054 ,35648 ,17852 , [ 168 ,162 ,106 ,11 ,137 ,76 ,189 ,162 ] , ) , pid : 24u32 , } ; pub const DEVPKEY_Device_BaseContainerId : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2757502286 ,57116 ,20221 , [ 128 ,32 ,103 ,209 ,70 ,168 ,80 ,224 ] , ) , pid : 38u32 , } ; pub const DEVPKEY_Device_BiosDeviceName : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 1410045054 ,35648 ,17852 , [ 168 ,162 ,106 ,11 ,137 ,76 ,189 ,162 ] , ) , pid : 10u32 , } ; pub const DEVPKEY_Device_BusNumber : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2757502286 ,57116 ,20221 , [ 128 ,32 ,103 ,209 ,70 ,168 ,80 ,224 ] , ) , pid : 23u32 , } ; pub const DEVPKEY_Device_BusRelations : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 1128310469 ,37882 ,18182 , [ 151 ,44 ,123 ,100 ,128 ,8 ,165 ,167 ] , ) , pid : 7u32 , } ; pub const DEVPKEY_Device_BusReportedDeviceDesc : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 1410045054 ,35648 ,17852 , [ 168 ,162 ,106 ,11 ,137 ,76 ,189 ,162 ] , ) , pid : 4u32 , } ; pub const DEVPKEY_Device_BusTypeGuid : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2757502286 ,57116 ,20221 , [ 128 ,32 ,103 ,209 ,70 ,168 ,80 ,224 ] , ) , pid : 21u32 , } ; pub const DEVPKEY_Device_Capabilities : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2757502286 ,57116 ,20221 , [ 128 ,32 ,103 ,209 ,70 ,168 ,80 ,224 ] , ) , pid : 17u32 , } ; pub const DEVPKEY_Device_Characteristics : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2757502286 ,57116 ,20221 , [ 128 ,32 ,103 ,209 ,70 ,168 ,80 ,224 ] , ) , pid : 29u32 , } ; pub const DEVPKEY_Device_Children : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 1128310469 ,37882 ,18182 , [ 151 ,44 ,123 ,100 ,128 ,8 ,165 ,167 ] , ) , pid : 9u32 , } ; pub const DEVPKEY_Device_Class : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2757502286 ,57116 ,20221 , [ 128 ,32 ,103 ,209 ,70 ,168 ,80 ,224 ] , ) , pid : 9u32 , } ; pub const DEVPKEY_Device_ClassGuid : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2757502286 ,57116 ,20221 , [ 128 ,32 ,103 ,209 ,70 ,168 ,80 ,224 ] , ) , pid : 10u32 , } ; pub const DEVPKEY_Device_CompatibleIds : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2757502286 ,57116 ,20221 , [ 128 ,32 ,103 ,209 ,70 ,168 ,80 ,224 ] , ) , pid : 4u32 , } ; pub const DEVPKEY_Device_ConfigFlags : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2757502286 ,57116 ,20221 , [ 128 ,32 ,103 ,209 ,70 ,168 ,80 ,224 ] , ) , pid : 12u32 , } ; pub const DEVPKEY_Device_ConfigurationId : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 1410045054 ,35648 ,17852 , [ 168 ,162 ,106 ,11 ,137 ,76 ,189 ,162 ] , ) , pid : 7u32 , } ; pub const DEVPKEY_Device_ContainerId : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2357121542 ,16266 ,18471 , [ 179 ,171 ,174 ,158 ,31 ,174 ,252 ,108 ] , ) , pid : 2u32 , } ; pub const DEVPKEY_Device_DHP_Rebalance_Policy : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 1410045054 ,35648 ,17852 , [ 168 ,162 ,106 ,11 ,137 ,76 ,189 ,162 ] , ) , pid : 2u32 , } ; pub const DEVPKEY_Device_DebuggerSafe : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 1410045054 ,35648 ,17852 , [ 168 ,162 ,106 ,11 ,137 ,76 ,189 ,162 ] , ) , pid : 12u32 , } ; pub const DEVPKEY_Device_DependencyDependents : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 1410045054 ,35648 ,17852 , [ 168 ,162 ,106 ,11 ,137 ,76 ,189 ,162 ] , ) , pid : 21u32 , } ; pub const DEVPKEY_Device_DependencyProviders : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 1410045054 ,35648 ,17852 , [ 168 ,162 ,106 ,11 ,137 ,76 ,189 ,162 ] , ) , pid : 20u32 , } ; pub const DEVPKEY_Device_DevNodeStatus : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 1128310469 ,37882 ,18182 , [ 151 ,44 ,123 ,100 ,128 ,8 ,165 ,167 ] , ) , pid : 2u32 , } ; pub const DEVPKEY_Device_DevType : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2757502286 ,57116 ,20221 , [ 128 ,32 ,103 ,209 ,70 ,168 ,80 ,224 ] , ) , pid : 27u32 , } ; pub const DEVPKEY_Device_DeviceDesc : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2757502286 ,57116 ,20221 , [ 128 ,32 ,103 ,209 ,70 ,168 ,80 ,224 ] , ) , pid : 2u32 , } ; pub const DEVPKEY_Device_Driver : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2757502286 ,57116 ,20221 , [ 128 ,32 ,103 ,209 ,70 ,168 ,80 ,224 ] , ) , pid : 11u32 , } ; pub const DEVPKEY_Device_DriverCoInstallers : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2830656989 ,11837 ,16532 , [ 173 ,151 ,229 ,147 ,167 ,12 ,117 ,214 ] , ) , pid : 11u32 , } ; pub const DEVPKEY_Device_DriverDate : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2830656989 ,11837 ,16532 , [ 173 ,151 ,229 ,147 ,167 ,12 ,117 ,214 ] , ) , pid : 2u32 , } ; pub const DEVPKEY_Device_DriverDesc : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2830656989 ,11837 ,16532 , [ 173 ,151 ,229 ,147 ,167 ,12 ,117 ,214 ] , ) , pid : 4u32 , } ; pub const DEVPKEY_Device_DriverInfPath : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2830656989 ,11837 ,16532 , [ 173 ,151 ,229 ,147 ,167 ,12 ,117 ,214 ] , ) , pid : 5u32 , } ; pub const DEVPKEY_Device_DriverInfSection : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2830656989 ,11837 ,16532 , [ 173 ,151 ,229 ,147 ,167 ,12 ,117 ,214 ] , ) , pid : 6u32 , } ; pub const DEVPKEY_Device_DriverInfSectionExt : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2830656989 ,11837 ,16532 , [ 173 ,151 ,229 ,147 ,167 ,12 ,117 ,214 ] , ) , pid : 7u32 , } ; pub const DEVPKEY_Device_DriverLogoLevel : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2830656989 ,11837 ,16532 , [ 173 ,151 ,229 ,147 ,167 ,12 ,117 ,214 ] , ) , pid : 15u32 , } ; pub const DEVPKEY_Device_DriverProblemDesc : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 1410045054 ,35648 ,17852 , [ 168 ,162 ,106 ,11 ,137 ,76 ,189 ,162 ] , ) , pid : 11u32 , } ; pub const DEVPKEY_Device_DriverPropPageProvider : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2830656989 ,11837 ,16532 , [ 173 ,151 ,229 ,147 ,167 ,12 ,117 ,214 ] , ) , pid : 10u32 , } ; pub const DEVPKEY_Device_DriverProvider : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2830656989 ,11837 ,16532 , [ 173 ,151 ,229 ,147 ,167 ,12 ,117 ,214 ] , ) , pid : 9u32 , } ; pub const DEVPKEY_Device_DriverRank : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2830656989 ,11837 ,16532 , [ 173 ,151 ,229 ,147 ,167 ,12 ,117 ,214 ] , ) , pid : 14u32 , } ; pub const DEVPKEY_Device_DriverVersion : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2830656989 ,11837 ,16532 , [ 173 ,151 ,229 ,147 ,167 ,12 ,117 ,214 ] , ) , pid : 3u32 , } ; pub const DEVPKEY_Device_EjectionRelations : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 1128310469 ,37882 ,18182 , [ 151 ,44 ,123 ,100 ,128 ,8 ,165 ,167 ] , ) , pid : 4u32 , } ; pub const DEVPKEY_Device_EnumeratorName : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2757502286 ,57116 ,20221 , [ 128 ,32 ,103 ,209 ,70 ,168 ,80 ,224 ] , ) , pid : 24u32 , } ; pub const DEVPKEY_Device_Exclusive : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2757502286 ,57116 ,20221 , [ 128 ,32 ,103 ,209 ,70 ,168 ,80 ,224 ] , ) , pid : 28u32 , } ; pub const DEVPKEY_Device_ExtendedAddress : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 1410045054 ,35648 ,17852 , [ 168 ,162 ,106 ,11 ,137 ,76 ,189 ,162 ] , ) , pid : 23u32 , } ; pub const DEVPKEY_Device_ExtendedConfigurationIds : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 1410045054 ,35648 ,17852 , [ 168 ,162 ,106 ,11 ,137 ,76 ,189 ,162 ] , ) , pid : 15u32 , } ; pub const DEVPKEY_Device_FirmwareDate : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 1410045054 ,35648 ,17852 , [ 168 ,162 ,106 ,11 ,137 ,76 ,189 ,162 ] , ) , pid : 17u32 , } ; pub const DEVPKEY_Device_FirmwareRevision : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 1410045054 ,35648 ,17852 , [ 168 ,162 ,106 ,11 ,137 ,76 ,189 ,162 ] , ) , pid : 19u32 , } ; pub const DEVPKEY_Device_FirmwareVersion : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 1410045054 ,35648 ,17852 , [ 168 ,162 ,106 ,11 ,137 ,76 ,189 ,162 ] , ) , pid : 18u32 , } ; pub const DEVPKEY_Device_FirstInstallDate : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2212127526 ,38822 ,16520 , [ 148 ,83 ,161 ,146 ,63 ,87 ,59 ,41 ] , ) , pid : 101u32 , } ; pub const DEVPKEY_Device_FriendlyName : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2757502286 ,57116 ,20221 , [ 128 ,32 ,103 ,209 ,70 ,168 ,80 ,224 ] , ) , pid : 14u32 , } ; pub const DEVPKEY_Device_FriendlyNameAttributes : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2161647270 ,29811 ,19212 , [ 130 ,22 ,239 ,193 ,26 ,44 ,76 ,139 ] , ) , pid : 3u32 , } ; pub const DEVPKEY_Device_GenericDriverInstalled : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2830656989 ,11837 ,16532 , [ 173 ,151 ,229 ,147 ,167 ,12 ,117 ,214 ] , ) , pid : 18u32 , } ; pub const DEVPKEY_Device_HardwareIds : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2757502286 ,57116 ,20221 , [ 128 ,32 ,103 ,209 ,70 ,168 ,80 ,224 ] , ) , pid : 3u32 , } ; pub const DEVPKEY_Device_HasProblem : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 1410045054 ,35648 ,17852 , [ 168 ,162 ,106 ,11 ,137 ,76 ,189 ,162 ] , ) , pid : 6u32 , } ; pub const DEVPKEY_Device_InLocalMachineContainer : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2357121542 ,16266 ,18471 , [ 179 ,171 ,174 ,158 ,31 ,174 ,252 ,108 ] , ) , pid : 4u32 , } ; pub const DEVPKEY_Device_InstallDate : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2212127526 ,38822 ,16520 , [ 148 ,83 ,161 ,146 ,63 ,87 ,59 ,41 ] , ) , pid : 100u32 , } ; pub const DEVPKEY_Device_InstallState : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2757502286 ,57116 ,20221 , [ 128 ,32 ,103 ,209 ,70 ,168 ,80 ,224 ] , ) , pid : 36u32 , } ; pub const DEVPKEY_Device_InstanceId : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2026065864 ,4170 ,19146 , [ 158 ,164 ,82 ,77 ,82 ,153 ,110 ,87 ] , ) , pid : 256u32 , } ; pub const DEVPKEY_Device_IsAssociateableByUserAction : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2161647270 ,29811 ,19212 , [ 130 ,22 ,239 ,193 ,26 ,44 ,76 ,139 ] , ) , pid : 7u32 , } ; pub const DEVPKEY_Device_IsPresent : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 1410045054 ,35648 ,17852 , [ 168 ,162 ,106 ,11 ,137 ,76 ,189 ,162 ] , ) , pid : 5u32 , } ; pub const DEVPKEY_Device_IsRebootRequired : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 1410045054 ,35648 ,17852 , [ 168 ,162 ,106 ,11 ,137 ,76 ,189 ,162 ] , ) , pid : 16u32 , } ; pub const DEVPKEY_Device_LastArrivalDate : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2212127526 ,38822 ,16520 , [ 148 ,83 ,161 ,146 ,63 ,87 ,59 ,41 ] , ) , pid : 102u32 , } ; pub const DEVPKEY_Device_LastRemovalDate : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2212127526 ,38822 ,16520 , [ 148 ,83 ,161 ,146 ,63 ,87 ,59 ,41 ] , ) , pid : 103u32 , } ; pub const DEVPKEY_Device_Legacy : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2152296704 ,35955 ,18617 , [ 170 ,217 ,206 ,56 ,126 ,25 ,197 ,110 ] , ) , pid : 3u32 , } ; pub const DEVPKEY_Device_LegacyBusType : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2757502286 ,57116 ,20221 , [ 128 ,32 ,103 ,209 ,70 ,168 ,80 ,224 ] , ) , pid : 22u32 , } ; pub const DEVPKEY_Device_LocationInfo : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2757502286 ,57116 ,20221 , [ 128 ,32 ,103 ,209 ,70 ,168 ,80 ,224 ] , ) , pid : 15u32 , } ; pub const DEVPKEY_Device_LocationPaths : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2757502286 ,57116 ,20221 , [ 128 ,32 ,103 ,209 ,70 ,168 ,80 ,224 ] , ) , pid : 37u32 , } ; pub const DEVPKEY_Device_LowerFilters : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2757502286 ,57116 ,20221 , [ 128 ,32 ,103 ,209 ,70 ,168 ,80 ,224 ] , ) , pid : 20u32 , } ; pub const DEVPKEY_Device_Manufacturer : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2757502286 ,57116 ,20221 , [ 128 ,32 ,103 ,209 ,70 ,168 ,80 ,224 ] , ) , pid : 13u32 , } ; pub const DEVPKEY_Device_ManufacturerAttributes : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2161647270 ,29811 ,19212 , [ 130 ,22 ,239 ,193 ,26 ,44 ,76 ,139 ] , ) , pid : 4u32 , } ; pub const DEVPKEY_Device_MatchingDeviceId : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2830656989 ,11837 ,16532 , [ 173 ,151 ,229 ,147 ,167 ,12 ,117 ,214 ] , ) , pid : 8u32 , } ; pub const DEVPKEY_Device_Model : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2026065864 ,4170 ,19146 , [ 158 ,164 ,82 ,77 ,82 ,153 ,110 ,87 ] , ) , pid : 39u32 , } ; pub const DEVPKEY_Device_ModelId : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2161647270 ,29811 ,19212 , [ 130 ,22 ,239 ,193 ,26 ,44 ,76 ,139 ] , ) , pid : 2u32 , } ; pub const DEVPKEY_Device_NoConnectSound : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2830656989 ,11837 ,16532 , [ 173 ,151 ,229 ,147 ,167 ,12 ,117 ,214 ] , ) , pid : 17u32 , } ; pub const DEVPKEY_Device_Numa_Node : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 1410045054 ,35648 ,17852 , [ 168 ,162 ,106 ,11 ,137 ,76 ,189 ,162 ] , ) , pid : 3u32 , } ; pub const DEVPKEY_Device_Numa_Proximity_Domain : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 1410045054 ,35648 ,17852 , [ 168 ,162 ,106 ,11 ,137 ,76 ,189 ,162 ] , ) , pid : 1u32 , } ; pub const DEVPKEY_Device_PDOName : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2757502286 ,57116 ,20221 , [ 128 ,32 ,103 ,209 ,70 ,168 ,80 ,224 ] , ) , pid : 16u32 , } ; pub const DEVPKEY_Device_Parent : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 1128310469 ,37882 ,18182 , [ 151 ,44 ,123 ,100 ,128 ,8 ,165 ,167 ] , ) , pid : 8u32 , } ; pub const DEVPKEY_Device_PhysicalDeviceLocation : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 1410045054 ,35648 ,17852 , [ 168 ,162 ,106 ,11 ,137 ,76 ,189 ,162 ] , ) , pid : 9u32 , } ; pub const DEVPKEY_Device_PostInstallInProgress : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 1410045054 ,35648 ,17852 , [ 168 ,162 ,106 ,11 ,137 ,76 ,189 ,162 ] , ) , pid : 13u32 , } ; pub const DEVPKEY_Device_PowerData : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2757502286 ,57116 ,20221 , [ 128 ,32 ,103 ,209 ,70 ,168 ,80 ,224 ] , ) , pid : 32u32 , } ; pub const DEVPKEY_Device_PowerRelations : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 1128310469 ,37882 ,18182 , [ 151 ,44 ,123 ,100 ,128 ,8 ,165 ,167 ] , ) , pid : 6u32 , } ; pub const DEVPKEY_Device_PresenceNotForDevice : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2161647270 ,29811 ,19212 , [ 130 ,22 ,239 ,193 ,26 ,44 ,76 ,139 ] , ) , pid : 5u32 , } ; pub const DEVPKEY_Device_ProblemCode : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 1128310469 ,37882 ,18182 , [ 151 ,44 ,123 ,100 ,128 ,8 ,165 ,167 ] , ) , pid : 3u32 , } ; pub const DEVPKEY_Device_ProblemStatus : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 1128310469 ,37882 ,18182 , [ 151 ,44 ,123 ,100 ,128 ,8 ,165 ,167 ] , ) , pid : 12u32 , } ; pub const DEVPKEY_Device_RemovalPolicy : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2757502286 ,57116 ,20221 , [ 128 ,32 ,103 ,209 ,70 ,168 ,80 ,224 ] , ) , pid : 33u32 , } ; pub const DEVPKEY_Device_RemovalPolicyDefault : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2757502286 ,57116 ,20221 , [ 128 ,32 ,103 ,209 ,70 ,168 ,80 ,224 ] , ) , pid : 34u32 , } ; pub const DEVPKEY_Device_RemovalPolicyOverride : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2757502286 ,57116 ,20221 , [ 128 ,32 ,103 ,209 ,70 ,168 ,80 ,224 ] , ) , pid : 35u32 , } ; pub const DEVPKEY_Device_RemovalRelations : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 1128310469 ,37882 ,18182 , [ 151 ,44 ,123 ,100 ,128 ,8 ,165 ,167 ] , ) , pid : 5u32 , } ; pub const DEVPKEY_Device_Reported : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2152296704 ,35955 ,18617 , [ 170 ,217 ,206 ,56 ,126 ,25 ,197 ,110 ] , ) , pid : 2u32 , } ; pub const DEVPKEY_Device_ReportedDeviceIdsHash : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 1410045054 ,35648 ,17852 , [ 168 ,162 ,106 ,11 ,137 ,76 ,189 ,162 ] , ) , pid : 8u32 , } ; pub const DEVPKEY_Device_ResourcePickerExceptions : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2830656989 ,11837 ,16532 , [ 173 ,151 ,229 ,147 ,167 ,12 ,117 ,214 ] , ) , pid : 13u32 , } ; pub const DEVPKEY_Device_ResourcePickerTags : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2830656989 ,11837 ,16532 , [ 173 ,151 ,229 ,147 ,167 ,12 ,117 ,214 ] , ) , pid : 12u32 , } ; pub const DEVPKEY_Device_SafeRemovalRequired : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2950264384 ,34467 ,16912 , [ 182 ,124 ,40 ,156 ,65 ,170 ,190 ,85 ] , ) , pid : 2u32 , } ; pub const DEVPKEY_Device_SafeRemovalRequiredOverride : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2950264384 ,34467 ,16912 , [ 182 ,124 ,40 ,156 ,65 ,170 ,190 ,85 ] , ) , pid : 3u32 , } ; pub const DEVPKEY_Device_Security : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2757502286 ,57116 ,20221 , [ 128 ,32 ,103 ,209 ,70 ,168 ,80 ,224 ] , ) , pid : 25u32 , } ; pub const DEVPKEY_Device_SecuritySDS : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2757502286 ,57116 ,20221 , [ 128 ,32 ,103 ,209 ,70 ,168 ,80 ,224 ] , ) , pid : 26u32 , } ; pub const DEVPKEY_Device_Service : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2757502286 ,57116 ,20221 , [ 128 ,32 ,103 ,209 ,70 ,168 ,80 ,224 ] , ) , pid : 6u32 , } ; pub const DEVPKEY_Device_SessionId : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2212127526 ,38822 ,16520 , [ 148 ,83 ,161 ,146 ,63 ,87 ,59 ,41 ] , ) , pid : 6u32 , } ; pub const DEVPKEY_Device_ShowInUninstallUI : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2161647270 ,29811 ,19212 , [ 130 ,22 ,239 ,193 ,26 ,44 ,76 ,139 ] , ) , pid : 8u32 , } ; pub const DEVPKEY_Device_Siblings : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 1128310469 ,37882 ,18182 , [ 151 ,44 ,123 ,100 ,128 ,8 ,165 ,167 ] , ) , pid : 10u32 , } ; pub const DEVPKEY_Device_SignalStrength : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2161647270 ,29811 ,19212 , [ 130 ,22 ,239 ,193 ,26 ,44 ,76 ,139 ] , ) , pid : 6u32 , } ; pub const DEVPKEY_Device_SoftRestartSupported : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 1410045054 ,35648 ,17852 , [ 168 ,162 ,106 ,11 ,137 ,76 ,189 ,162 ] , ) , pid : 22u32 , } ; pub const DEVPKEY_Device_Stack : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 1410045054 ,35648 ,17852 , [ 168 ,162 ,106 ,11 ,137 ,76 ,189 ,162 ] , ) , pid : 14u32 , } ; pub const DEVPKEY_Device_TransportRelations : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 1128310469 ,37882 ,18182 , [ 151 ,44 ,123 ,100 ,128 ,8 ,165 ,167 ] , ) , pid : 11u32 , } ; pub const DEVPKEY_Device_UINumber : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2757502286 ,57116 ,20221 , [ 128 ,32 ,103 ,209 ,70 ,168 ,80 ,224 ] , ) , pid : 18u32 , } ; pub const DEVPKEY_Device_UINumberDescFormat : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2757502286 ,57116 ,20221 , [ 128 ,32 ,103 ,209 ,70 ,168 ,80 ,224 ] , ) , pid : 31u32 , } ; pub const DEVPKEY_Device_UpperFilters : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2757502286 ,57116 ,20221 , [ 128 ,32 ,103 ,209 ,70 ,168 ,80 ,224 ] , ) , pid : 19u32 , } ; pub const DEVPKEY_DrvPkg_BrandingIcon : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 3480468305 ,15039 ,17570 , [ 133 ,224 ,154 ,61 ,199 ,161 ,33 ,50 ] , ) , pid : 7u32 , } ; pub const DEVPKEY_DrvPkg_DetailedDescription : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 3480468305 ,15039 ,17570 , [ 133 ,224 ,154 ,61 ,199 ,161 ,33 ,50 ] , ) , pid : 4u32 , } ; pub const DEVPKEY_DrvPkg_DocumentationLink : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 3480468305 ,15039 ,17570 , [ 133 ,224 ,154 ,61 ,199 ,161 ,33 ,50 ] , ) , pid : 5u32 , } ; pub const DEVPKEY_DrvPkg_Icon : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 3480468305 ,15039 ,17570 , [ 133 ,224 ,154 ,61 ,199 ,161 ,33 ,50 ] , ) , pid : 6u32 , } ; pub const DEVPKEY_DrvPkg_Model : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 3480468305 ,15039 ,17570 , [ 133 ,224 ,154 ,61 ,199 ,161 ,33 ,50 ] , ) , pid : 2u32 , } ; pub const DEVPKEY_DrvPkg_VendorWebSite : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 3480468305 ,15039 ,17570 , [ 133 ,224 ,154 ,61 ,199 ,161 ,33 ,50 ] , ) , pid : 3u32 , } ; pub const DEVPKEY_NAME : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 3072717104 ,18415 ,4122 , [ 165 ,241 ,2 ,96 ,140 ,158 ,235 ,172 ] , ) , pid : 10u32 , } ; pub const DEVPKEY_Storage_Disk_Number : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 1293860584 ,2051 ,18292 , [ 152 ,66 ,183 ,125 ,181 ,2 ,101 ,233 ] , ) , pid : 5u32 , } ; pub const DEVPKEY_Storage_Gpt_Name : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 1293860584 ,2051 ,18292 , [ 152 ,66 ,183 ,125 ,181 ,2 ,101 ,233 ] , ) , pid : 9u32 , } ; pub const DEVPKEY_Storage_Gpt_Type : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 1293860584 ,2051 ,18292 , [ 152 ,66 ,183 ,125 ,181 ,2 ,101 ,233 ] , ) , pid : 8u32 , } ; pub const DEVPKEY_Storage_Mbr_Type : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 1293860584 ,2051 ,18292 , [ 152 ,66 ,183 ,125 ,181 ,2 ,101 ,233 ] , ) , pid : 7u32 , } ; pub const DEVPKEY_Storage_Partition_Number : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 1293860584 ,2051 ,18292 , [ 152 ,66 ,183 ,125 ,181 ,2 ,101 ,233 ] , ) , pid : 6u32 , } ; pub const DEVPKEY_Storage_Portable : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 1293860584 ,2051 ,18292 , [ 152 ,66 ,183 ,125 ,181 ,2 ,101 ,233 ] , ) , pid : 2u32 , } ; pub const DEVPKEY_Storage_Removable_Media : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 1293860584 ,2051 ,18292 , [ 152 ,66 ,183 ,125 ,181 ,2 ,101 ,233 ] , ) , pid : 3u32 , } ; pub const DEVPKEY_Storage_System_Critical : super::PropertiesSystem:: PROPERTYKEY = super::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 1293860584 ,2051 ,18292 , [ 152 ,66 ,183 ,125 ,181 ,2 ,101 ,233 ] , ) , pid : 4u32 , } ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DEVPROPCOMPKEY { pub Key : DEVPROPKEY , pub Store : DEVPROPSTORE , pub LocaleName : super::super::Foundation:: PWSTR } impl DEVPROPCOMPKEY { } impl :: std :: default :: Default for DEVPROPCOMPKEY { fn default ( ) -> Self { Self { Key : :: std :: default :: Default :: default ( ) , Store : :: std :: default :: Default :: default ( ) , LocaleName : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for DEVPROPCOMPKEY { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DEVPROPCOMPKEY" ) . field ( "Key" , & self . Key ) . field ( "Store" , & self . Store ) . field ( "LocaleName" , & self . LocaleName ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DEVPROPCOMPKEY { fn eq ( & self , other : & Self ) -> bool { self . Key == other . Key && self . Store == other . Store && self . LocaleName == other . LocaleName } } impl :: std :: cmp :: Eq for DEVPROPCOMPKEY { } unsafe impl :: windows :: Abi for DEVPROPCOMPKEY { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DEVPROPERTY { pub CompKey : DEVPROPCOMPKEY , pub Type : u32 , pub BufferSize : u32 , pub Buffer : * mut :: std :: ffi :: c_void } impl DEVPROPERTY { } impl :: std :: default :: Default for DEVPROPERTY { fn default ( ) -> Self { Self { CompKey : :: std :: default :: Default :: default ( ) , Type : 0 , BufferSize : 0 , Buffer : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for DEVPROPERTY { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DEVPROPERTY" ) . field ( "CompKey" , & self . CompKey ) . field ( "Type" , & self . Type ) . field ( "BufferSize" , & self . BufferSize ) . field ( "Buffer" , & self . Buffer ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DEVPROPERTY { fn eq ( & self , other : & Self ) -> bool { self . CompKey == other . CompKey && self . Type == other . Type && self . BufferSize == other . BufferSize && self . Buffer == other . Buffer } } impl :: std :: cmp :: Eq for DEVPROPERTY { } unsafe impl :: windows :: Abi for DEVPROPERTY { type Abi = Self ; type DefaultType = Self ; } pub const DEVPROPID_FIRST_USABLE : u32 = 2u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DEVPROPKEY { pub fmtid : :: windows :: Guid , pub pid : u32 } impl DEVPROPKEY { } impl :: std :: default :: Default for DEVPROPKEY { fn default ( ) -> Self { Self { fmtid : :: std :: default :: Default :: default ( ) , pid : 0 } } } impl :: std :: fmt :: Debug for DEVPROPKEY { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DEVPROPKEY" ) . field ( "fmtid" , & self . fmtid ) . field ( "pid" , & self . pid ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DEVPROPKEY { fn eq ( & self , other : & Self ) -> bool { self . fmtid == other . fmtid && self . pid == other . pid } } impl :: std :: cmp :: Eq for DEVPROPKEY { } unsafe impl :: windows :: Abi for DEVPROPKEY { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct DEVPROPSTORE ( pub i32 ) ; pub const DEVPROP_STORE_SYSTEM : DEVPROPSTORE = DEVPROPSTORE ( 0i32 ) ; pub const DEVPROP_STORE_USER : DEVPROPSTORE = DEVPROPSTORE ( 1i32 ) ; impl :: std :: convert :: From < i32 > for DEVPROPSTORE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for DEVPROPSTORE { type Abi = Self ; type DefaultType = Self ; } pub const DEVPROP_MASK_TYPE : u32 = 4095u32 ; pub const DEVPROP_MASK_TYPEMOD : u32 = 61440u32 ; pub const DEVPROP_TYPEMOD_ARRAY : u32 = 4096u32 ; pub const DEVPROP_TYPEMOD_LIST : u32 = 8192u32 ; pub const DEVPROP_TYPE_BOOLEAN : u32 = 17u32 ; pub const DEVPROP_TYPE_BYTE : u32 = 3u32 ; pub const DEVPROP_TYPE_CURRENCY : u32 = 14u32 ; pub const DEVPROP_TYPE_DATE : u32 = 15u32 ; pub const DEVPROP_TYPE_DECIMAL : u32 = 12u32 ; pub const DEVPROP_TYPE_DEVPROPKEY : u32 = 21u32 ; pub const DEVPROP_TYPE_DEVPROPTYPE : u32 = 22u32 ; pub const DEVPROP_TYPE_DOUBLE : u32 = 11u32 ; pub const DEVPROP_TYPE_EMPTY : u32 = 0u32 ; pub const DEVPROP_TYPE_ERROR : u32 = 23u32 ; pub const DEVPROP_TYPE_FILETIME : u32 = 16u32 ; pub const DEVPROP_TYPE_FLOAT : u32 = 10u32 ; pub const DEVPROP_TYPE_GUID : u32 = 13u32 ; pub const DEVPROP_TYPE_INT16 : u32 = 4u32 ; pub const DEVPROP_TYPE_INT32 : u32 = 6u32 ; pub const DEVPROP_TYPE_INT64 : u32 = 8u32 ; pub const DEVPROP_TYPE_NTSTATUS : u32 = 24u32 ; pub const DEVPROP_TYPE_NULL : u32 = 1u32 ; pub const DEVPROP_TYPE_SBYTE : u32 = 2u32 ; pub const DEVPROP_TYPE_SECURITY_DESCRIPTOR : u32 = 19u32 ; pub const DEVPROP_TYPE_SECURITY_DESCRIPTOR_STRING : u32 = 20u32 ; pub const DEVPROP_TYPE_STRING : u32 = 18u32 ; pub const DEVPROP_TYPE_STRING_INDIRECT : u32 = 25u32 ; pub const DEVPROP_TYPE_UINT16 : u32 = 5u32 ; pub const DEVPROP_TYPE_UINT32 : u32 = 7u32 ; pub const DEVPROP_TYPE_UINT64 : u32 = 9u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DEV_BROADCAST_DEVICEINTERFACE_A { pub dbcc_size : u32 , pub dbcc_devicetype : u32 , pub dbcc_reserved : u32 , pub dbcc_classguid : :: windows :: Guid , pub dbcc_name : [ CHAR ;1 ] } impl DEV_BROADCAST_DEVICEINTERFACE_A { } impl :: std :: default :: Default for DEV_BROADCAST_DEVICEINTERFACE_A { fn default ( ) -> Self { Self { dbcc_size : 0 , dbcc_devicetype : 0 , dbcc_reserved : 0 , dbcc_classguid : :: std :: default :: Default :: default ( ) , dbcc_name : [ :: std :: default :: Default :: default ( ) ;1 ] } } } impl :: std :: fmt :: Debug for DEV_BROADCAST_DEVICEINTERFACE_A { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DEV_BROADCAST_DEVICEINTERFACE_A" ) . field ( "dbcc_size" , & self . dbcc_size ) . field ( "dbcc_devicetype" , & self . dbcc_devicetype ) . field ( "dbcc_reserved" , & self . dbcc_reserved ) . field ( "dbcc_classguid" , & self . dbcc_classguid ) . field ( "dbcc_name" , & self . dbcc_name ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DEV_BROADCAST_DEVICEINTERFACE_A { fn eq ( & self , other : & Self ) -> bool { self . dbcc_size == other . dbcc_size && self . dbcc_devicetype == other . dbcc_devicetype && self . dbcc_reserved == other . dbcc_reserved && self . dbcc_classguid == other . dbcc_classguid && self . dbcc_name == other . dbcc_name } } impl :: std :: cmp :: Eq for DEV_BROADCAST_DEVICEINTERFACE_A { } unsafe impl :: windows :: Abi for DEV_BROADCAST_DEVICEINTERFACE_A { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DEV_BROADCAST_DEVICEINTERFACE_W { pub dbcc_size : u32 , pub dbcc_devicetype : u32 , pub dbcc_reserved : u32 , pub dbcc_classguid : :: windows :: Guid , pub dbcc_name : [ u16 ;1 ] } impl DEV_BROADCAST_DEVICEINTERFACE_W { } impl :: std :: default :: Default for DEV_BROADCAST_DEVICEINTERFACE_W { fn default ( ) -> Self { Self { dbcc_size : 0 , dbcc_devicetype : 0 , dbcc_reserved : 0 , dbcc_classguid : :: std :: default :: Default :: default ( ) , dbcc_name : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for DEV_BROADCAST_DEVICEINTERFACE_W { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DEV_BROADCAST_DEVICEINTERFACE_W" ) . field ( "dbcc_size" , & self . dbcc_size ) . field ( "dbcc_devicetype" , & self . dbcc_devicetype ) . field ( "dbcc_reserved" , & self . dbcc_reserved ) . field ( "dbcc_classguid" , & self . dbcc_classguid ) . field ( "dbcc_name" , & self . dbcc_name ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DEV_BROADCAST_DEVICEINTERFACE_W { fn eq ( & self , other : & Self ) -> bool { self . dbcc_size == other . dbcc_size && self . dbcc_devicetype == other . dbcc_devicetype && self . dbcc_reserved == other . dbcc_reserved && self . dbcc_classguid == other . dbcc_classguid && self . dbcc_name == other . dbcc_name } } impl :: std :: cmp :: Eq for DEV_BROADCAST_DEVICEINTERFACE_W { } unsafe impl :: windows :: Abi for DEV_BROADCAST_DEVICEINTERFACE_W { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DEV_BROADCAST_DEVNODE { pub dbcd_size : u32 , pub dbcd_devicetype : u32 , pub dbcd_reserved : u32 , pub dbcd_devnode : u32 } impl DEV_BROADCAST_DEVNODE { } impl :: std :: default :: Default for DEV_BROADCAST_DEVNODE { fn default ( ) -> Self { Self { dbcd_size : 0 , dbcd_devicetype : 0 , dbcd_reserved : 0 , dbcd_devnode : 0 } } } impl :: std :: fmt :: Debug for DEV_BROADCAST_DEVNODE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DEV_BROADCAST_DEVNODE" ) . field ( "dbcd_size" , & self . dbcd_size ) . field ( "dbcd_devicetype" , & self . dbcd_devicetype ) . field ( "dbcd_reserved" , & self . dbcd_reserved ) . field ( "dbcd_devnode" , & self . dbcd_devnode ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DEV_BROADCAST_DEVNODE { fn eq ( & self , other : & Self ) -> bool { self . dbcd_size == other . dbcd_size && self . dbcd_devicetype == other . dbcd_devicetype && self . dbcd_reserved == other . dbcd_reserved && self . dbcd_devnode == other . dbcd_devnode } } impl :: std :: cmp :: Eq for DEV_BROADCAST_DEVNODE { } unsafe impl :: windows :: Abi for DEV_BROADCAST_DEVNODE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DEV_BROADCAST_HANDLE { pub dbch_size : u32 , pub dbch_devicetype : u32 , pub dbch_reserved : u32 , pub dbch_handle : super::super::Foundation:: HANDLE , pub dbch_hdevnotify : * mut :: std :: ffi :: c_void , pub dbch_eventguid : :: windows :: Guid , pub dbch_nameoffset : i32 , pub dbch_data : [ u8 ;1 ] } impl DEV_BROADCAST_HANDLE { } impl :: std :: default :: Default for DEV_BROADCAST_HANDLE { fn default ( ) -> Self { Self { dbch_size : 0 , dbch_devicetype : 0 , dbch_reserved : 0 , dbch_handle : :: std :: default :: Default :: default ( ) , dbch_hdevnotify : :: std :: ptr :: null_mut ( ) , dbch_eventguid : :: std :: default :: Default :: default ( ) , dbch_nameoffset : 0 , dbch_data : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for DEV_BROADCAST_HANDLE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DEV_BROADCAST_HANDLE" ) . field ( "dbch_size" , & self . dbch_size ) . field ( "dbch_devicetype" , & self . dbch_devicetype ) . field ( "dbch_reserved" , & self . dbch_reserved ) . field ( "dbch_handle" , & self . dbch_handle ) . field ( "dbch_hdevnotify" , & self . dbch_hdevnotify ) . field ( "dbch_eventguid" , & self . dbch_eventguid ) . field ( "dbch_nameoffset" , & self . dbch_nameoffset ) . field ( "dbch_data" , & self . dbch_data ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DEV_BROADCAST_HANDLE { fn eq ( & self , other : & Self ) -> bool { self . dbch_size == other . dbch_size && self . dbch_devicetype == other . dbch_devicetype && self . dbch_reserved == other . dbch_reserved && self . dbch_handle == other . dbch_handle && self . dbch_hdevnotify == other . dbch_hdevnotify && self . dbch_eventguid == other . dbch_eventguid && self . dbch_nameoffset == other . dbch_nameoffset && self . dbch_data == other . dbch_data } } impl :: std :: cmp :: Eq for DEV_BROADCAST_HANDLE { } unsafe impl :: windows :: Abi for DEV_BROADCAST_HANDLE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DEV_BROADCAST_HANDLE32 { pub dbch_size : u32 , pub dbch_devicetype : u32 , pub dbch_reserved : u32 , pub dbch_handle : u32 , pub dbch_hdevnotify : u32 , pub dbch_eventguid : :: windows :: Guid , pub dbch_nameoffset : i32 , pub dbch_data : [ u8 ;1 ] } impl DEV_BROADCAST_HANDLE32 { } impl :: std :: default :: Default for DEV_BROADCAST_HANDLE32 { fn default ( ) -> Self { Self { dbch_size : 0 , dbch_devicetype : 0 , dbch_reserved : 0 , dbch_handle : 0 , dbch_hdevnotify : 0 , dbch_eventguid : :: std :: default :: Default :: default ( ) , dbch_nameoffset : 0 , dbch_data : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for DEV_BROADCAST_HANDLE32 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DEV_BROADCAST_HANDLE32" ) . field ( "dbch_size" , & self . dbch_size ) . field ( "dbch_devicetype" , & self . dbch_devicetype ) . field ( "dbch_reserved" , & self . dbch_reserved ) . field ( "dbch_handle" , & self . dbch_handle ) . field ( "dbch_hdevnotify" , & self . dbch_hdevnotify ) . field ( "dbch_eventguid" , & self . dbch_eventguid ) . field ( "dbch_nameoffset" , & self . dbch_nameoffset ) . field ( "dbch_data" , & self . dbch_data ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DEV_BROADCAST_HANDLE32 { fn eq ( & self , other : & Self ) -> bool { self . dbch_size == other . dbch_size && self . dbch_devicetype == other . dbch_devicetype && self . dbch_reserved == other . dbch_reserved && self . dbch_handle == other . dbch_handle && self . dbch_hdevnotify == other . dbch_hdevnotify && self . dbch_eventguid == other . dbch_eventguid && self . dbch_nameoffset == other . dbch_nameoffset && self . dbch_data == other . dbch_data } } impl :: std :: cmp :: Eq for DEV_BROADCAST_HANDLE32 { } unsafe impl :: windows :: Abi for DEV_BROADCAST_HANDLE32 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DEV_BROADCAST_HANDLE64 { pub dbch_size : u32 , pub dbch_devicetype : u32 , pub dbch_reserved : u32 , pub dbch_handle : u64 , pub dbch_hdevnotify : u64 , pub dbch_eventguid : :: windows :: Guid , pub dbch_nameoffset : i32 , pub dbch_data : [ u8 ;1 ] } impl DEV_BROADCAST_HANDLE64 { } impl :: std :: default :: Default for DEV_BROADCAST_HANDLE64 { fn default ( ) -> Self { Self { dbch_size : 0 , dbch_devicetype : 0 , dbch_reserved : 0 , dbch_handle : 0 , dbch_hdevnotify : 0 , dbch_eventguid : :: std :: default :: Default :: default ( ) , dbch_nameoffset : 0 , dbch_data : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for DEV_BROADCAST_HANDLE64 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DEV_BROADCAST_HANDLE64" ) . field ( "dbch_size" , & self . dbch_size ) . field ( "dbch_devicetype" , & self . dbch_devicetype ) . field ( "dbch_reserved" , & self . dbch_reserved ) . field ( "dbch_handle" , & self . dbch_handle ) . field ( "dbch_hdevnotify" , & self . dbch_hdevnotify ) . field ( "dbch_eventguid" , & self . dbch_eventguid ) . field ( "dbch_nameoffset" , & self . dbch_nameoffset ) . field ( "dbch_data" , & self . dbch_data ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DEV_BROADCAST_HANDLE64 { fn eq ( & self , other : & Self ) -> bool { self . dbch_size == other . dbch_size && self . dbch_devicetype == other . dbch_devicetype && self . dbch_reserved == other . dbch_reserved && self . dbch_handle == other . dbch_handle && self . dbch_hdevnotify == other . dbch_hdevnotify && self . dbch_eventguid == other . dbch_eventguid && self . dbch_nameoffset == other . dbch_nameoffset && self . dbch_data == other . dbch_data } } impl :: std :: cmp :: Eq for DEV_BROADCAST_HANDLE64 { } unsafe impl :: windows :: Abi for DEV_BROADCAST_HANDLE64 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DEV_BROADCAST_HDR { pub dbch_size : u32 , pub dbch_devicetype : DEV_BROADCAST_HDR_DEVICE_TYPE , pub dbch_reserved : u32 } impl DEV_BROADCAST_HDR { } impl :: std :: default :: Default for DEV_BROADCAST_HDR { fn default ( ) -> Self { Self { dbch_size : 0 , dbch_devicetype : :: std :: default :: Default :: default ( ) , dbch_reserved : 0 } } } impl :: std :: fmt :: Debug for DEV_BROADCAST_HDR { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DEV_BROADCAST_HDR" ) . field ( "dbch_size" , & self . dbch_size ) . field ( "dbch_devicetype" , & self . dbch_devicetype ) . field ( "dbch_reserved" , & self . dbch_reserved ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DEV_BROADCAST_HDR { fn eq ( & self , other : & Self ) -> bool { self . dbch_size == other . dbch_size && self . dbch_devicetype == other . dbch_devicetype && self . dbch_reserved == other . dbch_reserved } } impl :: std :: cmp :: Eq for DEV_BROADCAST_HDR { } unsafe impl :: windows :: Abi for DEV_BROADCAST_HDR { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct DEV_BROADCAST_HDR_DEVICE_TYPE ( pub u32 ) ; pub const DBT_DEVTYP_DEVICEINTERFACE : DEV_BROADCAST_HDR_DEVICE_TYPE = DEV_BROADCAST_HDR_DEVICE_TYPE ( 5u32 ) ; pub const DBT_DEVTYP_HANDLE : DEV_BROADCAST_HDR_DEVICE_TYPE = DEV_BROADCAST_HDR_DEVICE_TYPE ( 6u32 ) ; pub const DBT_DEVTYP_OEM : DEV_BROADCAST_HDR_DEVICE_TYPE = DEV_BROADCAST_HDR_DEVICE_TYPE ( 0u32 ) ; pub const DBT_DEVTYP_PORT : DEV_BROADCAST_HDR_DEVICE_TYPE = DEV_BROADCAST_HDR_DEVICE_TYPE ( 3u32 ) ; pub const DBT_DEVTYP_VOLUME : DEV_BROADCAST_HDR_DEVICE_TYPE = DEV_BROADCAST_HDR_DEVICE_TYPE ( 2u32 ) ; impl :: std :: convert :: From < u32 > for DEV_BROADCAST_HDR_DEVICE_TYPE { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for DEV_BROADCAST_HDR_DEVICE_TYPE { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for DEV_BROADCAST_HDR_DEVICE_TYPE { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for DEV_BROADCAST_HDR_DEVICE_TYPE { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for DEV_BROADCAST_HDR_DEVICE_TYPE { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for DEV_BROADCAST_HDR_DEVICE_TYPE { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DEV_BROADCAST_NET { pub dbcn_size : u32 , pub dbcn_devicetype : u32 , pub dbcn_reserved : u32 , pub dbcn_resource : u32 , pub dbcn_flags : u32 } impl DEV_BROADCAST_NET { } impl :: std :: default :: Default for DEV_BROADCAST_NET { fn default ( ) -> Self { Self { dbcn_size : 0 , dbcn_devicetype : 0 , dbcn_reserved : 0 , dbcn_resource : 0 , dbcn_flags : 0 } } } impl :: std :: fmt :: Debug for DEV_BROADCAST_NET { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DEV_BROADCAST_NET" ) . field ( "dbcn_size" , & self . dbcn_size ) . field ( "dbcn_devicetype" , & self . dbcn_devicetype ) . field ( "dbcn_reserved" , & self . dbcn_reserved ) . field ( "dbcn_resource" , & self . dbcn_resource ) . field ( "dbcn_flags" , & self . dbcn_flags ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DEV_BROADCAST_NET { fn eq ( & self , other : & Self ) -> bool { self . dbcn_size == other . dbcn_size && self . dbcn_devicetype == other . dbcn_devicetype && self . dbcn_reserved == other . dbcn_reserved && self . dbcn_resource == other . dbcn_resource && self . dbcn_flags == other . dbcn_flags } } impl :: std :: cmp :: Eq for DEV_BROADCAST_NET { } unsafe impl :: windows :: Abi for DEV_BROADCAST_NET { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DEV_BROADCAST_OEM { pub dbco_size : u32 , pub dbco_devicetype : u32 , pub dbco_reserved : u32 , pub dbco_identifier : u32 , pub dbco_suppfunc : u32 } impl DEV_BROADCAST_OEM { } impl :: std :: default :: Default for DEV_BROADCAST_OEM { fn default ( ) -> Self { Self { dbco_size : 0 , dbco_devicetype : 0 , dbco_reserved : 0 , dbco_identifier : 0 , dbco_suppfunc : 0 } } } impl :: std :: fmt :: Debug for DEV_BROADCAST_OEM { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DEV_BROADCAST_OEM" ) . field ( "dbco_size" , & self . dbco_size ) . field ( "dbco_devicetype" , & self . dbco_devicetype ) . field ( "dbco_reserved" , & self . dbco_reserved ) . field ( "dbco_identifier" , & self . dbco_identifier ) . field ( "dbco_suppfunc" , & self . dbco_suppfunc ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DEV_BROADCAST_OEM { fn eq ( & self , other : & Self ) -> bool { self . dbco_size == other . dbco_size && self . dbco_devicetype == other . dbco_devicetype && self . dbco_reserved == other . dbco_reserved && self . dbco_identifier == other . dbco_identifier && self . dbco_suppfunc == other . dbco_suppfunc } } impl :: std :: cmp :: Eq for DEV_BROADCAST_OEM { } unsafe impl :: windows :: Abi for DEV_BROADCAST_OEM { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DEV_BROADCAST_PORT_A { pub dbcp_size : u32 , pub dbcp_devicetype : u32 , pub dbcp_reserved : u32 , pub dbcp_name : [ CHAR ;1 ] } impl DEV_BROADCAST_PORT_A { } impl :: std :: default :: Default for DEV_BROADCAST_PORT_A { fn default ( ) -> Self { Self { dbcp_size : 0 , dbcp_devicetype : 0 , dbcp_reserved : 0 , dbcp_name : [ :: std :: default :: Default :: default ( ) ;1 ] } } } impl :: std :: fmt :: Debug for DEV_BROADCAST_PORT_A { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DEV_BROADCAST_PORT_A" ) . field ( "dbcp_size" , & self . dbcp_size ) . field ( "dbcp_devicetype" , & self . dbcp_devicetype ) . field ( "dbcp_reserved" , & self . dbcp_reserved ) . field ( "dbcp_name" , & self . dbcp_name ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DEV_BROADCAST_PORT_A { fn eq ( & self , other : & Self ) -> bool { self . dbcp_size == other . dbcp_size && self . dbcp_devicetype == other . dbcp_devicetype && self . dbcp_reserved == other . dbcp_reserved && self . dbcp_name == other . dbcp_name } } impl :: std :: cmp :: Eq for DEV_BROADCAST_PORT_A { } unsafe impl :: windows :: Abi for DEV_BROADCAST_PORT_A { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DEV_BROADCAST_PORT_W { pub dbcp_size : u32 , pub dbcp_devicetype : u32 , pub dbcp_reserved : u32 , pub dbcp_name : [ u16 ;1 ] } impl DEV_BROADCAST_PORT_W { } impl :: std :: default :: Default for DEV_BROADCAST_PORT_W { fn default ( ) -> Self { Self { dbcp_size : 0 , dbcp_devicetype : 0 , dbcp_reserved : 0 , dbcp_name : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for DEV_BROADCAST_PORT_W { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DEV_BROADCAST_PORT_W" ) . field ( "dbcp_size" , & self . dbcp_size ) . field ( "dbcp_devicetype" , & self . dbcp_devicetype ) . field ( "dbcp_reserved" , & self . dbcp_reserved ) . field ( "dbcp_name" , & self . dbcp_name ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DEV_BROADCAST_PORT_W { fn eq ( & self , other : & Self ) -> bool { self . dbcp_size == other . dbcp_size && self . dbcp_devicetype == other . dbcp_devicetype && self . dbcp_reserved == other . dbcp_reserved && self . dbcp_name == other . dbcp_name } } impl :: std :: cmp :: Eq for DEV_BROADCAST_PORT_W { } unsafe impl :: windows :: Abi for DEV_BROADCAST_PORT_W { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DEV_BROADCAST_VOLUME { pub dbcv_size : u32 , pub dbcv_devicetype : u32 , pub dbcv_reserved : u32 , pub dbcv_unitmask : u32 , pub dbcv_flags : DEV_BROADCAST_VOLUME_FLAGS } impl DEV_BROADCAST_VOLUME { } impl :: std :: default :: Default for DEV_BROADCAST_VOLUME { fn default ( ) -> Self { Self { dbcv_size : 0 , dbcv_devicetype : 0 , dbcv_reserved : 0 , dbcv_unitmask : 0 , dbcv_flags : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for DEV_BROADCAST_VOLUME { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DEV_BROADCAST_VOLUME" ) . field ( "dbcv_size" , & self . dbcv_size ) . field ( "dbcv_devicetype" , & self . dbcv_devicetype ) . field ( "dbcv_reserved" , & self . dbcv_reserved ) . field ( "dbcv_unitmask" , & self . dbcv_unitmask ) . field ( "dbcv_flags" , & self . dbcv_flags ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DEV_BROADCAST_VOLUME { fn eq ( & self , other : & Self ) -> bool { self . dbcv_size == other . dbcv_size && self . dbcv_devicetype == other . dbcv_devicetype && self . dbcv_reserved == other . dbcv_reserved && self . dbcv_unitmask == other . dbcv_unitmask && self . dbcv_flags == other . dbcv_flags } } impl :: std :: cmp :: Eq for DEV_BROADCAST_VOLUME { } unsafe impl :: windows :: Abi for DEV_BROADCAST_VOLUME { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct DEV_BROADCAST_VOLUME_FLAGS ( pub u32 ) ; pub const DBTF_MEDIA : DEV_BROADCAST_VOLUME_FLAGS = DEV_BROADCAST_VOLUME_FLAGS ( 1u32 ) ; pub const DBTF_NET : DEV_BROADCAST_VOLUME_FLAGS = DEV_BROADCAST_VOLUME_FLAGS ( 2u32 ) ; impl :: std :: convert :: From < u32 > for DEV_BROADCAST_VOLUME_FLAGS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for DEV_BROADCAST_VOLUME_FLAGS { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for DEV_BROADCAST_VOLUME_FLAGS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for DEV_BROADCAST_VOLUME_FLAGS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for DEV_BROADCAST_VOLUME_FLAGS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for DEV_BROADCAST_VOLUME_FLAGS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( transparent ) ] pub struct DHPDEV ( pub isize ) ; impl DHPDEV { } impl :: std :: default :: Default for DHPDEV { fn default ( ) -> Self { Self ( 0 ) } } impl DHPDEV { pub const NULL : Self = Self ( 0 ) ; pub fn is_null ( & self ) -> bool { self . 0 == 0 } } impl :: std :: fmt :: Debug for DHPDEV { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DHPDEV" ) . field ( "Value" , & self .0 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DHPDEV { fn eq ( & self , other : & Self ) -> bool { self .0 == other .0 } } impl :: std :: cmp :: Eq for DHPDEV { } unsafe impl :: windows :: Abi for DHPDEV { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( transparent ) ] pub struct DHSURF ( pub isize ) ; impl DHSURF { } impl :: std :: default :: Default for DHSURF { fn default ( ) -> Self { Self ( 0 ) } } impl DHSURF { pub const NULL : Self = Self ( 0 ) ; pub fn is_null ( & self ) -> bool { self . 0 == 0 } } impl :: std :: fmt :: Debug for DHSURF { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DHSURF" ) . field ( "Value" , & self .0 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DHSURF { fn eq ( & self , other : & Self ) -> bool { self .0 == other .0 } } impl :: std :: cmp :: Eq for DHSURF { } unsafe impl :: windows :: Abi for DHSURF { type Abi = Self ; type DefaultType = Self ; } pub const DIAGNOSTIC_REASON_DETAILED_STRING : u32 = 2u32 ; pub const DIAGNOSTIC_REASON_NOT_SPECIFIED : u32 = 2147483648u32 ; pub const DIAGNOSTIC_REASON_SIMPLE_STRING : u32 = 1u32 ; pub const DIAGNOSTIC_REASON_VERSION : u32 = 0u32 ; pub const DIRECT3D_VERSION : u32 = 1792u32 ; pub const DISABLE_SMART : u32 = 217u32 ; pub const DISCHARGE_POLICY_CRITICAL : u32 = 0u32 ; pub const DISCHARGE_POLICY_LOW : u32 = 1u32 ; pub const DISK_ATTRIBUTE_OFFLINE : u64 = 1u64 ; pub const DISK_ATTRIBUTE_READ_ONLY : u64 = 2u64 ; pub const DISK_BINNING : u32 = 3u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct DISK_CACHE_RETENTION_PRIORITY ( pub i32 ) ; pub const EqualPriority : DISK_CACHE_RETENTION_PRIORITY = DISK_CACHE_RETENTION_PRIORITY ( 0i32 ) ; pub const KeepPrefetchedData : DISK_CACHE_RETENTION_PRIORITY = DISK_CACHE_RETENTION_PRIORITY ( 1i32 ) ; pub const KeepReadData : DISK_CACHE_RETENTION_PRIORITY = DISK_CACHE_RETENTION_PRIORITY ( 2i32 ) ; impl :: std :: convert :: From < i32 > for DISK_CACHE_RETENTION_PRIORITY { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for DISK_CACHE_RETENTION_PRIORITY { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DISK_CONTROLLER_NUMBER { pub ControllerNumber : u32 , pub DiskNumber : u32 } impl DISK_CONTROLLER_NUMBER { } impl :: std :: default :: Default for DISK_CONTROLLER_NUMBER { fn default ( ) -> Self { Self { ControllerNumber : 0 , DiskNumber : 0 } } } impl :: std :: fmt :: Debug for DISK_CONTROLLER_NUMBER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DISK_CONTROLLER_NUMBER" ) . field ( "ControllerNumber" , & self . ControllerNumber ) . field ( "DiskNumber" , & self . DiskNumber ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DISK_CONTROLLER_NUMBER { fn eq ( & self , other : & Self ) -> bool { self . ControllerNumber == other . ControllerNumber && self . DiskNumber == other . DiskNumber } } impl :: std :: cmp :: Eq for DISK_CONTROLLER_NUMBER { } unsafe impl :: windows :: Abi for DISK_CONTROLLER_NUMBER { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DISK_HEALTH_NOTIFICATION_DATA { pub DeviceGuid : :: windows :: Guid } impl DISK_HEALTH_NOTIFICATION_DATA { } impl :: std :: default :: Default for DISK_HEALTH_NOTIFICATION_DATA { fn default ( ) -> Self { Self { DeviceGuid : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for DISK_HEALTH_NOTIFICATION_DATA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DISK_HEALTH_NOTIFICATION_DATA" ) . field ( "DeviceGuid" , & self . DeviceGuid ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DISK_HEALTH_NOTIFICATION_DATA { fn eq ( & self , other : & Self ) -> bool { self . DeviceGuid == other . DeviceGuid } } impl :: std :: cmp :: Eq for DISK_HEALTH_NOTIFICATION_DATA { } unsafe impl :: windows :: Abi for DISK_HEALTH_NOTIFICATION_DATA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DISK_HISTOGRAM { pub DiskSize : i64 , pub Start : i64 , pub End : i64 , pub Average : i64 , pub AverageRead : i64 , pub AverageWrite : i64 , pub Granularity : u32 , pub Size : u32 , pub ReadCount : u32 , pub WriteCount : u32 , pub Histogram : * mut HISTOGRAM_BUCKET } impl DISK_HISTOGRAM { } impl :: std :: default :: Default for DISK_HISTOGRAM { fn default ( ) -> Self { Self { DiskSize : 0 , Start : 0 , End : 0 , Average : 0 , AverageRead : 0 , AverageWrite : 0 , Granularity : 0 , Size : 0 , ReadCount : 0 , WriteCount : 0 , Histogram : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for DISK_HISTOGRAM { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DISK_HISTOGRAM" ) . field ( "DiskSize" , & self . DiskSize ) . field ( "Start" , & self . Start ) . field ( "End" , & self . End ) . field ( "Average" , & self . Average ) . field ( "AverageRead" , & self . AverageRead ) . field ( "AverageWrite" , & self . AverageWrite ) . field ( "Granularity" , & self . Granularity ) . field ( "Size" , & self . Size ) . field ( "ReadCount" , & self . ReadCount ) . field ( "WriteCount" , & self . WriteCount ) . field ( "Histogram" , & self . Histogram ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DISK_HISTOGRAM { fn eq ( & self , other : & Self ) -> bool { self . DiskSize == other . DiskSize && self . Start == other . Start && self . End == other . End && self . Average == other . Average && self . AverageRead == other . AverageRead && self . AverageWrite == other . AverageWrite && self . Granularity == other . Granularity && self . Size == other . Size && self . ReadCount == other . ReadCount && self . WriteCount == other . WriteCount && self . Histogram == other . Histogram } } impl :: std :: cmp :: Eq for DISK_HISTOGRAM { } unsafe impl :: windows :: Abi for DISK_HISTOGRAM { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DISK_LOGGING { pub Function : u8 , pub BufferAddress : * mut :: std :: ffi :: c_void , pub BufferSize : u32 } impl DISK_LOGGING { } impl :: std :: default :: Default for DISK_LOGGING { fn default ( ) -> Self { Self { Function : 0 , BufferAddress : :: std :: ptr :: null_mut ( ) , BufferSize : 0 } } } impl :: std :: fmt :: Debug for DISK_LOGGING { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DISK_LOGGING" ) . field ( "Function" , & self . Function ) . field ( "BufferAddress" , & self . BufferAddress ) . field ( "BufferSize" , & self . BufferSize ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DISK_LOGGING { fn eq ( & self , other : & Self ) -> bool { self . Function == other . Function && self . BufferAddress == other . BufferAddress && self . BufferSize == other . BufferSize } } impl :: std :: cmp :: Eq for DISK_LOGGING { } unsafe impl :: windows :: Abi for DISK_LOGGING { type Abi = Self ; type DefaultType = Self ; } pub const DISK_LOGGING_DUMP : u32 = 2u32 ; pub const DISK_LOGGING_START : u32 = 0u32 ; pub const DISK_LOGGING_STOP : u32 = 1u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DISK_RECORD { pub ByteOffset : i64 , pub StartTime : i64 , pub EndTime : i64 , pub VirtualAddress : * mut :: std :: ffi :: c_void , pub NumberOfBytes : u32 , pub DeviceNumber : u8 , pub ReadRequest : u8 } impl DISK_RECORD { } impl :: std :: default :: Default for DISK_RECORD { fn default ( ) -> Self { Self { ByteOffset : 0 , StartTime : 0 , EndTime : 0 , VirtualAddress : :: std :: ptr :: null_mut ( ) , NumberOfBytes : 0 , DeviceNumber : 0 , ReadRequest : 0 } } } impl :: std :: fmt :: Debug for DISK_RECORD { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DISK_RECORD" ) . field ( "ByteOffset" , & self . ByteOffset ) . field ( "StartTime" , & self . StartTime ) . field ( "EndTime" , & self . EndTime ) . field ( "VirtualAddress" , & self . VirtualAddress ) . field ( "NumberOfBytes" , & self . NumberOfBytes ) . field ( "DeviceNumber" , & self . DeviceNumber ) . field ( "ReadRequest" , & self . ReadRequest ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DISK_RECORD { fn eq ( & self , other : & Self ) -> bool { self . ByteOffset == other . ByteOffset && self . StartTime == other . StartTime && self . EndTime == other . EndTime && self . VirtualAddress == other . VirtualAddress && self . NumberOfBytes == other . NumberOfBytes && self . DeviceNumber == other . DeviceNumber && self . ReadRequest == other . ReadRequest } } impl :: std :: cmp :: Eq for DISK_RECORD { } unsafe impl :: windows :: Abi for DISK_RECORD { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone ) ] # [ repr ( C ) ] pub struct DISPATCHER_CONTEXT { pub ControlPc : usize , pub ImageBase : usize , pub FunctionEntry : * mut IMAGE_ARM64_RUNTIME_FUNCTION_ENTRY , pub EstablisherFrame : usize , pub TargetPc : usize , pub ContextRecord : * mut super::Diagnostics::Debug:: CONTEXT , pub LanguageHandler : :: std :: option :: Option < super::Kernel:: EXCEPTION_ROUTINE > , pub HandlerData : * mut :: std :: ffi :: c_void , pub HistoryTable : * mut UNWIND_HISTORY_TABLE , pub ScopeIndex : u32 , pub ControlPcIsUnwound : u8 , pub NonVolatileRegisters : * mut u8 } impl DISPATCHER_CONTEXT { } impl :: std :: default :: Default for DISPATCHER_CONTEXT { fn default ( ) -> Self { Self { ControlPc : 0 , ImageBase : 0 , FunctionEntry : :: std :: ptr :: null_mut ( ) , EstablisherFrame : 0 , TargetPc : 0 , ContextRecord : :: std :: ptr :: null_mut ( ) , LanguageHandler : :: std :: default :: Default :: default ( ) , HandlerData : :: std :: ptr :: null_mut ( ) , HistoryTable : :: std :: ptr :: null_mut ( ) , ScopeIndex : 0 , ControlPcIsUnwound : 0 , NonVolatileRegisters : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for DISPATCHER_CONTEXT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DISPATCHER_CONTEXT" ) . field ( "ControlPc" , & self . ControlPc ) . field ( "ImageBase" , & self . ImageBase ) . field ( "FunctionEntry" , & self . FunctionEntry ) . field ( "EstablisherFrame" , & self . EstablisherFrame ) . field ( "TargetPc" , & self . TargetPc ) . field ( "ContextRecord" , & self . ContextRecord ) . field ( "HandlerData" , & self . HandlerData ) . field ( "HistoryTable" , & self . HistoryTable ) . field ( "ScopeIndex" , & self . ScopeIndex ) . field ( "ControlPcIsUnwound" , & self . ControlPcIsUnwound ) . field ( "NonVolatileRegisters" , & self . NonVolatileRegisters ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DISPATCHER_CONTEXT { fn eq ( & self , other : & Self ) -> bool { self . ControlPc == other . ControlPc && self . ImageBase == other . ImageBase && self . FunctionEntry == other . FunctionEntry && self . EstablisherFrame == other . EstablisherFrame && self . TargetPc == other . TargetPc && self . ContextRecord == other . ContextRecord && self . LanguageHandler . map ( | f | f as usize ) == other . LanguageHandler . map ( | f | f as usize ) && self . HandlerData == other . HandlerData && self . HistoryTable == other . HistoryTable && self . ScopeIndex == other . ScopeIndex && self . ControlPcIsUnwound == other . ControlPcIsUnwound && self . NonVolatileRegisters == other . NonVolatileRegisters } } impl :: std :: cmp :: Eq for DISPATCHER_CONTEXT { } # [ repr ( C ) ] # [ doc ( hidden ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct DISPATCHER_CONTEXT_abi { pub ControlPc : usize , pub ImageBase : usize , pub FunctionEntry : * mut IMAGE_ARM64_RUNTIME_FUNCTION_ENTRY , pub EstablisherFrame : usize , pub TargetPc : usize , pub ContextRecord : * mut super::Diagnostics::Debug:: CONTEXT , pub LanguageHandler : :: windows :: RawPtr , pub HandlerData : * mut :: std :: ffi :: c_void , pub HistoryTable : * mut UNWIND_HISTORY_TABLE , pub ScopeIndex : u32 , pub ControlPcIsUnwound : u8 , pub NonVolatileRegisters : * mut u8 } unsafe impl :: windows :: Abi for DISPATCHER_CONTEXT { type Abi = DISPATCHER_CONTEXT_abi ; type DefaultType = Self ; } pub const DLL_PROCESS_ATTACH : u32 = 1u32 ; pub const DLL_PROCESS_DETACH : u32 = 0u32 ; pub const DLL_THREAD_ATTACH : u32 = 2u32 ; pub const DLL_THREAD_DETACH : u32 = 3u32 ; pub const DM_DEFAULT : u32 = 1u32 ; pub const DM_MONOCHROME : u32 = 2u32 ; pub const DN_ACCELERATION_LEVEL : u32 = 1u32 ; pub const DN_ASSOCIATE_WINDOW : u32 = 5u32 ; pub const DN_COMPOSITION_CHANGED : u32 = 6u32 ; pub const DN_DEVICE_ORIGIN : u32 = 2u32 ; pub const DN_DRAWING_BEGIN : u32 = 4u32 ; pub const DN_DRAWING_BEGIN_APIBITMAP : u32 = 7u32 ; pub const DN_SLEEP_MODE : u32 = 3u32 ; pub const DN_SURFOBJ_DESTRUCTION : u32 = 8u32 ; pub const DOMAIN_ALIAS_RID_ACCESS_CONTROL_ASSISTANCE_OPS : i32 = 579i32 ; pub const DOMAIN_ALIAS_RID_ACCOUNT_OPS : i32 = 548i32 ; pub const DOMAIN_ALIAS_RID_ADMINS : i32 = 544i32 ; pub const DOMAIN_ALIAS_RID_AUTHORIZATIONACCESS : i32 = 560i32 ; pub const DOMAIN_ALIAS_RID_BACKUP_OPS : i32 = 551i32 ; pub const DOMAIN_ALIAS_RID_CACHEABLE_PRINCIPALS_GROUP : i32 = 571i32 ; pub const DOMAIN_ALIAS_RID_CERTSVC_DCOM_ACCESS_GROUP : i32 = 574i32 ; pub const DOMAIN_ALIAS_RID_CRYPTO_OPERATORS : i32 = 569i32 ; pub const DOMAIN_ALIAS_RID_DCOM_USERS : i32 = 562i32 ; pub const DOMAIN_ALIAS_RID_DEFAULT_ACCOUNT : i32 = 581i32 ; pub const DOMAIN_ALIAS_RID_DEVICE_OWNERS : i32 = 583i32 ; pub const DOMAIN_ALIAS_RID_EVENT_LOG_READERS_GROUP : i32 = 573i32 ; pub const DOMAIN_ALIAS_RID_GUESTS : i32 = 546i32 ; pub const DOMAIN_ALIAS_RID_HYPER_V_ADMINS : i32 = 578i32 ; pub const DOMAIN_ALIAS_RID_INCOMING_FOREST_TRUST_BUILDERS : i32 = 557i32 ; pub const DOMAIN_ALIAS_RID_IUSERS : i32 = 568i32 ; pub const DOMAIN_ALIAS_RID_LOGGING_USERS : i32 = 559i32 ; pub const DOMAIN_ALIAS_RID_MONITORING_USERS : i32 = 558i32 ; pub const DOMAIN_ALIAS_RID_NETWORK_CONFIGURATION_OPS : i32 = 556i32 ; pub const DOMAIN_ALIAS_RID_NON_CACHEABLE_PRINCIPALS_GROUP : i32 = 572i32 ; pub const DOMAIN_ALIAS_RID_POWER_USERS : i32 = 547i32 ; pub const DOMAIN_ALIAS_RID_PREW2KCOMPACCESS : i32 = 554i32 ; pub const DOMAIN_ALIAS_RID_PRINT_OPS : i32 = 550i32 ; pub const DOMAIN_ALIAS_RID_RAS_SERVERS : i32 = 553i32 ; pub const DOMAIN_ALIAS_RID_RDS_ENDPOINT_SERVERS : i32 = 576i32 ; pub const DOMAIN_ALIAS_RID_RDS_MANAGEMENT_SERVERS : i32 = 577i32 ; pub const DOMAIN_ALIAS_RID_RDS_REMOTE_ACCESS_SERVERS : i32 = 575i32 ; pub const DOMAIN_ALIAS_RID_REMOTE_DESKTOP_USERS : i32 = 555i32 ; pub const DOMAIN_ALIAS_RID_REMOTE_MANAGEMENT_USERS : i32 = 580i32 ; pub const DOMAIN_ALIAS_RID_REPLICATOR : i32 = 552i32 ; pub const DOMAIN_ALIAS_RID_STORAGE_REPLICA_ADMINS : i32 = 582i32 ; pub const DOMAIN_ALIAS_RID_SYSTEM_OPS : i32 = 549i32 ; pub const DOMAIN_ALIAS_RID_TS_LICENSE_SERVERS : i32 = 561i32 ; pub const DOMAIN_ALIAS_RID_USERS : i32 = 545i32 ; pub const DOMAIN_GROUP_RID_ADMINS : i32 = 512i32 ; pub const DOMAIN_GROUP_RID_AUTHORIZATION_DATA_CONTAINS_CLAIMS : i32 = 497i32 ; pub const DOMAIN_GROUP_RID_AUTHORIZATION_DATA_IS_COMPOUNDED : i32 = 496i32 ; pub const DOMAIN_GROUP_RID_CDC_RESERVED : i32 = 524i32 ; pub const DOMAIN_GROUP_RID_CERT_ADMINS : i32 = 517i32 ; pub const DOMAIN_GROUP_RID_CLONEABLE_CONTROLLERS : i32 = 522i32 ; pub const DOMAIN_GROUP_RID_COMPUTERS : i32 = 515i32 ; pub const DOMAIN_GROUP_RID_CONTROLLERS : i32 = 516i32 ; pub const DOMAIN_GROUP_RID_ENTERPRISE_ADMINS : i32 = 519i32 ; pub const DOMAIN_GROUP_RID_ENTERPRISE_KEY_ADMINS : i32 = 527i32 ; pub const DOMAIN_GROUP_RID_ENTERPRISE_READONLY_DOMAIN_CONTROLLERS : i32 = 498i32 ; pub const DOMAIN_GROUP_RID_GUESTS : i32 = 514i32 ; pub const DOMAIN_GROUP_RID_KEY_ADMINS : i32 = 526i32 ; pub const DOMAIN_GROUP_RID_POLICY_ADMINS : i32 = 520i32 ; pub const DOMAIN_GROUP_RID_PROTECTED_USERS : i32 = 525i32 ; pub const DOMAIN_GROUP_RID_READONLY_CONTROLLERS : i32 = 521i32 ; pub const DOMAIN_GROUP_RID_SCHEMA_ADMINS : i32 = 518i32 ; pub const DOMAIN_GROUP_RID_USERS : i32 = 513i32 ; pub const DOMAIN_USER_RID_ADMIN : i32 = 500i32 ; pub const DOMAIN_USER_RID_DEFAULT_ACCOUNT : i32 = 503i32 ; pub const DOMAIN_USER_RID_GUEST : i32 = 501i32 ; pub const DOMAIN_USER_RID_KRBTGT : i32 = 502i32 ; pub const DOMAIN_USER_RID_MAX : i32 = 999i32 ; pub const DOMAIN_USER_RID_WDAG_ACCOUNT : i32 = 504i32 ; pub const DP2BLT_LINEAR : i32 = 2i32 ; pub const DP2BLT_POINT : i32 = 1i32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( transparent ) ] pub struct DPI_AWARENESS_CONTEXT ( pub isize ) ; impl DPI_AWARENESS_CONTEXT { } impl :: std :: default :: Default for DPI_AWARENESS_CONTEXT { fn default ( ) -> Self { Self ( 0 ) } } impl DPI_AWARENESS_CONTEXT { pub const NULL : Self = Self ( 0 ) ; pub fn is_null ( & self ) -> bool { self . 0 == 0 } } impl :: std :: fmt :: Debug for DPI_AWARENESS_CONTEXT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DPI_AWARENESS_CONTEXT" ) . field ( "Value" , & self .0 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DPI_AWARENESS_CONTEXT { fn eq ( & self , other : & Self ) -> bool { self .0 == other .0 } } impl :: std :: cmp :: Eq for DPI_AWARENESS_CONTEXT { } unsafe impl :: windows :: Abi for DPI_AWARENESS_CONTEXT { type Abi = Self ; type DefaultType = Self ; } pub const DRD_ERROR : u32 = 1u32 ; pub const DRD_SUCCESS : u32 = 0u32 ; pub const DRH_APIBITMAP : u32 = 1u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DRH_APIBITMAPDATA { pub pso : * mut super::super::UI::DisplayDevices:: SURFOBJ , pub b : super::super::Foundation:: BOOL } impl DRH_APIBITMAPDATA { } impl :: std :: default :: Default for DRH_APIBITMAPDATA { fn default ( ) -> Self { Self { pso : :: std :: ptr :: null_mut ( ) , b : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for DRH_APIBITMAPDATA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DRH_APIBITMAPDATA" ) . field ( "pso" , & self . pso ) . field ( "b" , & self . b ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DRH_APIBITMAPDATA { fn eq ( & self , other : & Self ) -> bool { self . pso == other . pso && self . b == other . b } } impl :: std :: cmp :: Eq for DRH_APIBITMAPDATA { } unsafe impl :: windows :: Abi for DRH_APIBITMAPDATA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 1 ) ) ] pub struct DRIVERSTATUS { pub bDriverError : u8 , pub bIDEError : u8 , pub bReserved : [ u8 ;2 ] , pub dwReserved : [ u32 ;2 ] } impl DRIVERSTATUS { } impl :: std :: cmp :: PartialEq for DRIVERSTATUS { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for DRIVERSTATUS { } unsafe impl :: windows :: Abi for DRIVERSTATUS { type Abi = Self ; type DefaultType = Self ; } pub const DRVQUERY_USERMODE : u32 = 1u32 ; pub const DSS_FLUSH_EVENT : u32 = 2u32 ; pub const DSS_RESERVED : u32 = 4u32 ; pub const DSS_RESERVED1 : u32 = 8u32 ; pub const DSS_RESERVED2 : u32 = 16u32 ; pub const DSS_TIMER_EVENT : u32 = 1u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DUPLICATE_EXTENTS_DATA32 { pub FileHandle : u32 , pub SourceFileOffset : i64 , pub TargetFileOffset : i64 , pub ByteCount : i64 } impl DUPLICATE_EXTENTS_DATA32 { } impl :: std :: default :: Default for DUPLICATE_EXTENTS_DATA32 { fn default ( ) -> Self { Self { FileHandle : 0 , SourceFileOffset : 0 , TargetFileOffset : 0 , ByteCount : 0 } } } impl :: std :: fmt :: Debug for DUPLICATE_EXTENTS_DATA32 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DUPLICATE_EXTENTS_DATA32" ) . field ( "FileHandle" , & self . FileHandle ) . field ( "SourceFileOffset" , & self . SourceFileOffset ) . field ( "TargetFileOffset" , & self . TargetFileOffset ) . field ( "ByteCount" , & self . ByteCount ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DUPLICATE_EXTENTS_DATA32 { fn eq ( & self , other : & Self ) -> bool { self . FileHandle == other . FileHandle && self . SourceFileOffset == other . SourceFileOffset && self . TargetFileOffset == other . TargetFileOffset && self . ByteCount == other . ByteCount } } impl :: std :: cmp :: Eq for DUPLICATE_EXTENTS_DATA32 { } unsafe impl :: windows :: Abi for DUPLICATE_EXTENTS_DATA32 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DUPLICATE_EXTENTS_DATA_EX { pub Size : usize , pub FileHandle : super::super::Foundation:: HANDLE , pub SourceFileOffset : i64 , pub TargetFileOffset : i64 , pub ByteCount : i64 , pub Flags : u32 } impl DUPLICATE_EXTENTS_DATA_EX { } impl :: std :: default :: Default for DUPLICATE_EXTENTS_DATA_EX { fn default ( ) -> Self { Self { Size : 0 , FileHandle : :: std :: default :: Default :: default ( ) , SourceFileOffset : 0 , TargetFileOffset : 0 , ByteCount : 0 , Flags : 0 } } } impl :: std :: fmt :: Debug for DUPLICATE_EXTENTS_DATA_EX { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DUPLICATE_EXTENTS_DATA_EX" ) . field ( "Size" , & self . Size ) . field ( "FileHandle" , & self . FileHandle ) . field ( "SourceFileOffset" , & self . SourceFileOffset ) . field ( "TargetFileOffset" , & self . TargetFileOffset ) . field ( "ByteCount" , & self . ByteCount ) . field ( "Flags" , & self . Flags ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DUPLICATE_EXTENTS_DATA_EX { fn eq ( & self , other : & Self ) -> bool { self . Size == other . Size && self . FileHandle == other . FileHandle && self . SourceFileOffset == other . SourceFileOffset && self . TargetFileOffset == other . TargetFileOffset && self . ByteCount == other . ByteCount && self . Flags == other . Flags } } impl :: std :: cmp :: Eq for DUPLICATE_EXTENTS_DATA_EX { } unsafe impl :: windows :: Abi for DUPLICATE_EXTENTS_DATA_EX { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DUPLICATE_EXTENTS_DATA_EX32 { pub Size : u32 , pub FileHandle : u32 , pub SourceFileOffset : i64 , pub TargetFileOffset : i64 , pub ByteCount : i64 , pub Flags : u32 } impl DUPLICATE_EXTENTS_DATA_EX32 { } impl :: std :: default :: Default for DUPLICATE_EXTENTS_DATA_EX32 { fn default ( ) -> Self { Self { Size : 0 , FileHandle : 0 , SourceFileOffset : 0 , TargetFileOffset : 0 , ByteCount : 0 , Flags : 0 } } } impl :: std :: fmt :: Debug for DUPLICATE_EXTENTS_DATA_EX32 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DUPLICATE_EXTENTS_DATA_EX32" ) . field ( "Size" , & self . Size ) . field ( "FileHandle" , & self . FileHandle ) . field ( "SourceFileOffset" , & self . SourceFileOffset ) . field ( "TargetFileOffset" , & self . TargetFileOffset ) . field ( "ByteCount" , & self . ByteCount ) . field ( "Flags" , & self . Flags ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DUPLICATE_EXTENTS_DATA_EX32 { fn eq ( & self , other : & Self ) -> bool { self . Size == other . Size && self . FileHandle == other . FileHandle && self . SourceFileOffset == other . SourceFileOffset && self . TargetFileOffset == other . TargetFileOffset && self . ByteCount == other . ByteCount && self . Flags == other . Flags } } impl :: std :: cmp :: Eq for DUPLICATE_EXTENTS_DATA_EX32 { } unsafe impl :: windows :: Abi for DUPLICATE_EXTENTS_DATA_EX32 { type Abi = Self ; type DefaultType = Self ; } pub const DUPLICATE_EXTENTS_DATA_EX_ASYNC : u32 = 2u32 ; pub const DUPLICATE_EXTENTS_DATA_EX_SOURCE_ATOMIC : u32 = 1u32 ; pub const DX9_DDI_VERSION : u32 = 4u32 ; pub const DYNAMIC_EH_CONTINUATION_TARGET_ADD : u32 = 1u32 ; pub const DYNAMIC_EH_CONTINUATION_TARGET_PROCESSED : u32 = 2u32 ; pub const DeviceDsmActionFlag_NonDestructive : u32 = 2147483648u32 ; pub unsafe fn DeviceIoControl < 'a , > ( hdevice : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , dwiocontrolcode : u32 , lpinbuffer : * mut :: std :: ffi :: c_void , ninbuffersize : u32 , lpoutbuffer : * mut :: std :: ffi :: c_void , noutbuffersize : u32 , lpbytesreturned : * mut u32 , lpoverlapped : * mut OVERLAPPED , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn DeviceIoControl ( hdevice : super::super::Foundation:: HANDLE , dwiocontrolcode : u32 , lpinbuffer : * mut :: std :: ffi :: c_void , ninbuffersize : u32 , lpoutbuffer : * mut :: std :: ffi :: c_void , noutbuffersize : u32 , lpbytesreturned : * mut u32 , lpoverlapped : * mut OVERLAPPED ) -> super::super::Foundation:: BOOL ; } DeviceIoControl ( hdevice . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwiocontrolcode ) , :: std :: mem :: transmute ( lpinbuffer ) , :: std :: mem :: transmute ( ninbuffersize ) , :: std :: mem :: transmute ( lpoutbuffer ) , :: std :: mem :: transmute ( noutbuffersize ) , :: std :: mem :: transmute ( lpbytesreturned ) , :: std :: mem :: transmute ( lpoverlapped ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub const ECS_REDRAW : u32 = 2u32 ; pub const ECS_TEARDOWN : u32 = 1u32 ; pub const ED_ABORTDOC : u32 = 1u32 ; pub const EFS_TRACKED_OFFSET_HEADER_FLAG : u32 = 1u32 ; pub const EHN_ERROR : u32 = 1u32 ; pub const EHN_RESTORED : u32 = 0u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct ELEMENT_TYPE ( pub i32 ) ; pub const AllElements : ELEMENT_TYPE = ELEMENT_TYPE ( 0i32 ) ; pub const ChangerTransport : ELEMENT_TYPE = ELEMENT_TYPE ( 1i32 ) ; pub const ChangerSlot : ELEMENT_TYPE = ELEMENT_TYPE ( 2i32 ) ; pub const ChangerIEPort : ELEMENT_TYPE = ELEMENT_TYPE ( 3i32 ) ; pub const ChangerDrive : ELEMENT_TYPE = ELEMENT_TYPE ( 4i32 ) ; pub const ChangerDoor : ELEMENT_TYPE = ELEMENT_TYPE ( 5i32 ) ; pub const ChangerKeypad : ELEMENT_TYPE = ELEMENT_TYPE ( 6i32 ) ; pub const ChangerMaxElement : ELEMENT_TYPE = ELEMENT_TYPE ( 7i32 ) ; impl :: std :: convert :: From < i32 > for ELEMENT_TYPE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for ELEMENT_TYPE { type Abi = Self ; type DefaultType = Self ; } pub const EMARCH_ENC_I17_IC_INST_WORD_POS_X : u32 = 12u32 ; pub const EMARCH_ENC_I17_IC_INST_WORD_X : u32 = 3u32 ; pub const EMARCH_ENC_I17_IC_SIZE_X : u32 = 1u32 ; pub const EMARCH_ENC_I17_IC_VAL_POS_X : u32 = 21u32 ; pub const EMARCH_ENC_I17_IMM41a_INST_WORD_POS_X : u32 = 14u32 ; pub const EMARCH_ENC_I17_IMM41a_INST_WORD_X : u32 = 1u32 ; pub const EMARCH_ENC_I17_IMM41a_SIZE_X : u32 = 10u32 ; pub const EMARCH_ENC_I17_IMM41a_VAL_POS_X : u32 = 22u32 ; pub const EMARCH_ENC_I17_IMM41b_INST_WORD_POS_X : u32 = 24u32 ; pub const EMARCH_ENC_I17_IMM41b_INST_WORD_X : u32 = 1u32 ; pub const EMARCH_ENC_I17_IMM41b_SIZE_X : u32 = 8u32 ; pub const EMARCH_ENC_I17_IMM41b_VAL_POS_X : u32 = 32u32 ; pub const EMARCH_ENC_I17_IMM41c_INST_WORD_POS_X : u32 = 0u32 ; pub const EMARCH_ENC_I17_IMM41c_INST_WORD_X : u32 = 2u32 ; pub const EMARCH_ENC_I17_IMM41c_SIZE_X : u32 = 23u32 ; pub const EMARCH_ENC_I17_IMM41c_VAL_POS_X : u32 = 40u32 ; pub const EMARCH_ENC_I17_IMM5C_INST_WORD_POS_X : u32 = 13u32 ; pub const EMARCH_ENC_I17_IMM5C_INST_WORD_X : u32 = 3u32 ; pub const EMARCH_ENC_I17_IMM5C_SIZE_X : u32 = 5u32 ; pub const EMARCH_ENC_I17_IMM5C_VAL_POS_X : u32 = 16u32 ; pub const EMARCH_ENC_I17_IMM7B_INST_WORD_POS_X : u32 = 4u32 ; pub const EMARCH_ENC_I17_IMM7B_INST_WORD_X : u32 = 3u32 ; pub const EMARCH_ENC_I17_IMM7B_SIZE_X : u32 = 7u32 ; pub const EMARCH_ENC_I17_IMM7B_VAL_POS_X : u32 = 0u32 ; pub const EMARCH_ENC_I17_IMM9D_INST_WORD_POS_X : u32 = 18u32 ; pub const EMARCH_ENC_I17_IMM9D_INST_WORD_X : u32 = 3u32 ; pub const EMARCH_ENC_I17_IMM9D_SIZE_X : u32 = 9u32 ; pub const EMARCH_ENC_I17_IMM9D_VAL_POS_X : u32 = 7u32 ; pub const EMARCH_ENC_I17_SIGN_INST_WORD_POS_X : u32 = 27u32 ; pub const EMARCH_ENC_I17_SIGN_INST_WORD_X : u32 = 3u32 ; pub const EMARCH_ENC_I17_SIGN_SIZE_X : u32 = 1u32 ; pub const EMARCH_ENC_I17_SIGN_VAL_POS_X : u32 = 63u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EMFINFO { pub nSize : u32 , pub hdc : super::super::Graphics::Gdi:: HDC , pub pvEMF : * mut u8 , pub pvCurrentRecord : * mut u8 } impl EMFINFO { } impl :: std :: default :: Default for EMFINFO { fn default ( ) -> Self { Self { nSize : 0 , hdc : :: std :: default :: Default :: default ( ) , pvEMF : :: std :: ptr :: null_mut ( ) , pvCurrentRecord : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for EMFINFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EMFINFO" ) . field ( "nSize" , & self . nSize ) . field ( "hdc" , & self . hdc ) . field ( "pvEMF" , & self . pvEMF ) . field ( "pvCurrentRecord" , & self . pvCurrentRecord ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EMFINFO { fn eq ( & self , other : & Self ) -> bool { self . nSize == other . nSize && self . hdc == other . hdc && self . pvEMF == other . pvEMF && self . pvCurrentRecord == other . pvCurrentRecord } } impl :: std :: cmp :: Eq for EMFINFO { } unsafe impl :: windows :: Abi for EMFINFO { type Abi = Self ; type DefaultType = Self ; } pub const ENABLE_DISABLE_AUTOSAVE : u32 = 210u32 ; pub const ENABLE_DISABLE_AUTO_OFFLINE : u32 = 219u32 ; pub const ENABLE_SMART : u32 = 216u32 ; pub const ENCLAVE_LONG_ID_LENGTH : u32 = 32u32 ; pub const ENCLAVE_SHORT_ID_LENGTH : u32 = 16u32 ; pub const ENCLAVE_TYPE_SGX : u32 = 1u32 ; pub const ENCLAVE_TYPE_SGX2 : u32 = 2u32 ; pub const ENCLAVE_TYPE_VBS : u32 = 16u32 ; pub const ENCLAVE_TYPE_VBS_BASIC : u32 = 17u32 ; pub const ENCLAVE_VBS_FLAG_DEBUG : u32 = 1u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct ENCRYPTED_DATA_INFO { pub StartingFileOffset : u64 , pub OutputBufferOffset : u32 , pub BytesWithinFileSize : u32 , pub BytesWithinValidDataLength : u32 , pub CompressionFormat : u16 , pub DataUnitShift : u8 , pub ChunkShift : u8 , pub ClusterShift : u8 , pub EncryptionFormat : u8 , pub NumberOfDataBlocks : u16 , pub DataBlockSize : [ u32 ;1 ] } impl ENCRYPTED_DATA_INFO { } impl :: std :: default :: Default for ENCRYPTED_DATA_INFO { fn default ( ) -> Self { Self { StartingFileOffset : 0 , OutputBufferOffset : 0 , BytesWithinFileSize : 0 , BytesWithinValidDataLength : 0 , CompressionFormat : 0 , DataUnitShift : 0 , ChunkShift : 0 , ClusterShift : 0 , EncryptionFormat : 0 , NumberOfDataBlocks : 0 , DataBlockSize : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for ENCRYPTED_DATA_INFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "ENCRYPTED_DATA_INFO" ) . field ( "StartingFileOffset" , & self . StartingFileOffset ) . field ( "OutputBufferOffset" , & self . OutputBufferOffset ) . field ( "BytesWithinFileSize" , & self . BytesWithinFileSize ) . field ( "BytesWithinValidDataLength" , & self . BytesWithinValidDataLength ) . field ( "CompressionFormat" , & self . CompressionFormat ) . field ( "DataUnitShift" , & self . DataUnitShift ) . field ( "ChunkShift" , & self . ChunkShift ) . field ( "ClusterShift" , & self . ClusterShift ) . field ( "EncryptionFormat" , & self . EncryptionFormat ) . field ( "NumberOfDataBlocks" , & self . NumberOfDataBlocks ) . field ( "DataBlockSize" , & self . DataBlockSize ) . finish ( ) } } impl :: std :: cmp :: PartialEq for ENCRYPTED_DATA_INFO { fn eq ( & self , other : & Self ) -> bool { self . StartingFileOffset == other . StartingFileOffset && self . OutputBufferOffset == other . OutputBufferOffset && self . BytesWithinFileSize == other . BytesWithinFileSize && self . BytesWithinValidDataLength == other . BytesWithinValidDataLength && self . CompressionFormat == other . CompressionFormat && self . DataUnitShift == other . DataUnitShift && self . ChunkShift == other . ChunkShift && self . ClusterShift == other . ClusterShift && self . EncryptionFormat == other . EncryptionFormat && self . NumberOfDataBlocks == other . NumberOfDataBlocks && self . DataBlockSize == other . DataBlockSize } } impl :: std :: cmp :: Eq for ENCRYPTED_DATA_INFO { } unsafe impl :: windows :: Abi for ENCRYPTED_DATA_INFO { type Abi = Self ; type DefaultType = Self ; } pub const ENCRYPTED_DATA_INFO_SPARSE_FILE : u32 = 1u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct ENCRYPTION_BUFFER { pub EncryptionOperation : u32 , pub Private : [ u8 ;1 ] } impl ENCRYPTION_BUFFER { } impl :: std :: default :: Default for ENCRYPTION_BUFFER { fn default ( ) -> Self { Self { EncryptionOperation : 0 , Private : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for ENCRYPTION_BUFFER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "ENCRYPTION_BUFFER" ) . field ( "EncryptionOperation" , & self . EncryptionOperation ) . field ( "Private" , & self . Private ) . finish ( ) } } impl :: std :: cmp :: PartialEq for ENCRYPTION_BUFFER { fn eq ( & self , other : & Self ) -> bool { self . EncryptionOperation == other . EncryptionOperation && self . Private == other . Private } } impl :: std :: cmp :: Eq for ENCRYPTION_BUFFER { } unsafe impl :: windows :: Abi for ENCRYPTION_BUFFER { type Abi = Self ; type DefaultType = Self ; } pub const ENCRYPTION_FORMAT_DEFAULT : u32 = 1u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct ENCRYPTION_KEY_CTRL_INPUT { pub HeaderSize : u32 , pub StructureSize : u32 , pub KeyOffset : u16 , pub KeySize : u16 , pub DplLock : u32 , pub DplUserId : u64 , pub DplCredentialId : u64 } impl ENCRYPTION_KEY_CTRL_INPUT { } impl :: std :: default :: Default for ENCRYPTION_KEY_CTRL_INPUT { fn default ( ) -> Self { Self { HeaderSize : 0 , StructureSize : 0 , KeyOffset : 0 , KeySize : 0 , DplLock : 0 , DplUserId : 0 , DplCredentialId : 0 } } } impl :: std :: fmt :: Debug for ENCRYPTION_KEY_CTRL_INPUT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "ENCRYPTION_KEY_CTRL_INPUT" ) . field ( "HeaderSize" , & self . HeaderSize ) . field ( "StructureSize" , & self . StructureSize ) . field ( "KeyOffset" , & self . KeyOffset ) . field ( "KeySize" , & self . KeySize ) . field ( "DplLock" , & self . DplLock ) . field ( "DplUserId" , & self . DplUserId ) . field ( "DplCredentialId" , & self . DplCredentialId ) . finish ( ) } } impl :: std :: cmp :: PartialEq for ENCRYPTION_KEY_CTRL_INPUT { fn eq ( & self , other : & Self ) -> bool { self . HeaderSize == other . HeaderSize && self . StructureSize == other . StructureSize && self . KeyOffset == other . KeyOffset && self . KeySize == other . KeySize && self . DplLock == other . DplLock && self . DplUserId == other . DplUserId && self . DplCredentialId == other . DplCredentialId } } impl :: std :: cmp :: Eq for ENCRYPTION_KEY_CTRL_INPUT { } unsafe impl :: windows :: Abi for ENCRYPTION_KEY_CTRL_INPUT { type Abi = Self ; type DefaultType = Self ; } pub const ENDCAP_BUTT : i32 = 2i32 ; pub const ENDCAP_ROUND : i32 = 0i32 ; pub const ENDCAP_SQUARE : i32 = 1i32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct ENG_DEVICE_ATTRIBUTE ( pub i32 ) ; pub const QDA_RESERVED : ENG_DEVICE_ATTRIBUTE = ENG_DEVICE_ATTRIBUTE ( 0i32 ) ; pub const QDA_ACCELERATION_LEVEL : ENG_DEVICE_ATTRIBUTE = ENG_DEVICE_ATTRIBUTE ( 1i32 ) ; impl :: std :: convert :: From < i32 > for ENG_DEVICE_ATTRIBUTE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for ENG_DEVICE_ATTRIBUTE { type Abi = Self ; type DefaultType = Self ; } pub const ENG_FNT_CACHE_READ_FAULT : u32 = 1u32 ; pub const ENG_FNT_CACHE_WRITE_FAULT : u32 = 2u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct ENG_SYSTEM_ATTRIBUTE ( pub i32 ) ; pub const EngProcessorFeature : ENG_SYSTEM_ATTRIBUTE = ENG_SYSTEM_ATTRIBUTE ( 1i32 ) ; pub const EngNumberOfProcessors : ENG_SYSTEM_ATTRIBUTE = ENG_SYSTEM_ATTRIBUTE ( 2i32 ) ; pub const EngOptimumAvailableUserMemory : ENG_SYSTEM_ATTRIBUTE = ENG_SYSTEM_ATTRIBUTE ( 3i32 ) ; pub const EngOptimumAvailableSystemMemory : ENG_SYSTEM_ATTRIBUTE = ENG_SYSTEM_ATTRIBUTE ( 4i32 ) ; impl :: std :: convert :: From < i32 > for ENG_SYSTEM_ATTRIBUTE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for ENG_SYSTEM_ATTRIBUTE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct ENLISTMENT_BASIC_INFORMATION { pub EnlistmentId : :: windows :: Guid , pub TransactionId : :: windows :: Guid , pub ResourceManagerId : :: windows :: Guid } impl ENLISTMENT_BASIC_INFORMATION { } impl :: std :: default :: Default for ENLISTMENT_BASIC_INFORMATION { fn default ( ) -> Self { Self { EnlistmentId : :: std :: default :: Default :: default ( ) , TransactionId : :: std :: default :: Default :: default ( ) , ResourceManagerId : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for ENLISTMENT_BASIC_INFORMATION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "ENLISTMENT_BASIC_INFORMATION" ) . field ( "EnlistmentId" , & self . EnlistmentId ) . field ( "TransactionId" , & self . TransactionId ) . field ( "ResourceManagerId" , & self . ResourceManagerId ) . finish ( ) } } impl :: std :: cmp :: PartialEq for ENLISTMENT_BASIC_INFORMATION { fn eq ( & self , other : & Self ) -> bool { self . EnlistmentId == other . EnlistmentId && self . TransactionId == other . TransactionId && self . ResourceManagerId == other . ResourceManagerId } } impl :: std :: cmp :: Eq for ENLISTMENT_BASIC_INFORMATION { } unsafe impl :: windows :: Abi for ENLISTMENT_BASIC_INFORMATION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct ENLISTMENT_CRM_INFORMATION { pub CrmTransactionManagerId : :: windows :: Guid , pub CrmResourceManagerId : :: windows :: Guid , pub CrmEnlistmentId : :: windows :: Guid } impl ENLISTMENT_CRM_INFORMATION { } impl :: std :: default :: Default for ENLISTMENT_CRM_INFORMATION { fn default ( ) -> Self { Self { CrmTransactionManagerId : :: std :: default :: Default :: default ( ) , CrmResourceManagerId : :: std :: default :: Default :: default ( ) , CrmEnlistmentId : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for ENLISTMENT_CRM_INFORMATION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "ENLISTMENT_CRM_INFORMATION" ) . field ( "CrmTransactionManagerId" , & self . CrmTransactionManagerId ) . field ( "CrmResourceManagerId" , & self . CrmResourceManagerId ) . field ( "CrmEnlistmentId" , & self . CrmEnlistmentId ) . finish ( ) } } impl :: std :: cmp :: PartialEq for ENLISTMENT_CRM_INFORMATION { fn eq ( & self , other : & Self ) -> bool { self . CrmTransactionManagerId == other . CrmTransactionManagerId && self . CrmResourceManagerId == other . CrmResourceManagerId && self . CrmEnlistmentId == other . CrmEnlistmentId } } impl :: std :: cmp :: Eq for ENLISTMENT_CRM_INFORMATION { } unsafe impl :: windows :: Abi for ENLISTMENT_CRM_INFORMATION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct ENLISTMENT_INFORMATION_CLASS ( pub i32 ) ; pub const EnlistmentBasicInformation : ENLISTMENT_INFORMATION_CLASS = ENLISTMENT_INFORMATION_CLASS ( 0i32 ) ; pub const EnlistmentRecoveryInformation : ENLISTMENT_INFORMATION_CLASS = ENLISTMENT_INFORMATION_CLASS ( 1i32 ) ; pub const EnlistmentCrmInformation : ENLISTMENT_INFORMATION_CLASS = ENLISTMENT_INFORMATION_CLASS ( 2i32 ) ; impl :: std :: convert :: From < i32 > for ENLISTMENT_INFORMATION_CLASS { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for ENLISTMENT_INFORMATION_CLASS { type Abi = Self ; type DefaultType = Self ; } pub const ENLISTMENT_QUERY_INFORMATION : u32 = 1u32 ; pub const ENLISTMENT_RECOVER : u32 = 4u32 ; pub const ENLISTMENT_SET_INFORMATION : u32 = 2u32 ; pub const ENLISTMENT_SUBORDINATE_RIGHTS : u32 = 8u32 ; pub const ENLISTMENT_SUPERIOR_RIGHTS : u32 = 16u32 ; pub const ERROR_DRIVE_NOT_INSTALLED : u32 = 8u32 ; pub const ERROR_HISTORY_DIRECTORY_ENTRY_DEFAULT_COUNT : u32 = 8u32 ; pub const ERROR_INIT_STATUS_NEEDED : u32 = 17u32 ; pub const ERROR_LABEL_QUESTIONABLE : u32 = 2u32 ; pub const ERROR_LABEL_UNREADABLE : u32 = 1u32 ; pub const ERROR_SEVERITY_ERROR : u32 = 3221225472u32 ; pub const ERROR_SEVERITY_INFORMATIONAL : u32 = 1073741824u32 ; pub const ERROR_SEVERITY_SUCCESS : u32 = 0u32 ; pub const ERROR_SEVERITY_WARNING : u32 = 2147483648u32 ; pub const ERROR_SLOT_NOT_PRESENT : u32 = 4u32 ; pub const ERROR_TRAY_MALFUNCTION : u32 = 16u32 ; pub const ERROR_UNHANDLED_ERROR : u32 = 4294967295u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EVENTLOGRECORD { pub Length : u32 , pub Reserved : u32 , pub RecordNumber : u32 , pub TimeGenerated : u32 , pub TimeWritten : u32 , pub EventID : u32 , pub EventType : super::EventLog:: REPORT_EVENT_TYPE , pub NumStrings : u16 , pub EventCategory : u16 , pub ReservedFlags : u16 , pub ClosingRecordNumber : u32 , pub StringOffset : u32 , pub UserSidLength : u32 , pub UserSidOffset : u32 , pub DataLength : u32 , pub DataOffset : u32 } impl EVENTLOGRECORD { } impl :: std :: default :: Default for EVENTLOGRECORD { fn default ( ) -> Self { Self { Length : 0 , Reserved : 0 , RecordNumber : 0 , TimeGenerated : 0 , TimeWritten : 0 , EventID : 0 , EventType : :: std :: default :: Default :: default ( ) , NumStrings : 0 , EventCategory : 0 , ReservedFlags : 0 , ClosingRecordNumber : 0 , StringOffset : 0 , UserSidLength : 0 , UserSidOffset : 0 , DataLength : 0 , DataOffset : 0 } } } impl :: std :: fmt :: Debug for EVENTLOGRECORD { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EVENTLOGRECORD" ) . field ( "Length" , & self . Length ) . field ( "Reserved" , & self . Reserved ) . field ( "RecordNumber" , & self . RecordNumber ) . field ( "TimeGenerated" , & self . TimeGenerated ) . field ( "TimeWritten" , & self . TimeWritten ) . field ( "EventID" , & self . EventID ) . field ( "EventType" , & self . EventType ) . field ( "NumStrings" , & self . NumStrings ) . field ( "EventCategory" , & self . EventCategory ) . field ( "ReservedFlags" , & self . ReservedFlags ) . field ( "ClosingRecordNumber" , & self . ClosingRecordNumber ) . field ( "StringOffset" , & self . StringOffset ) . field ( "UserSidLength" , & self . UserSidLength ) . field ( "UserSidOffset" , & self . UserSidOffset ) . field ( "DataLength" , & self . DataLength ) . field ( "DataOffset" , & self . DataOffset ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EVENTLOGRECORD { fn eq ( & self , other : & Self ) -> bool { self . Length == other . Length && self . Reserved == other . Reserved && self . RecordNumber == other . RecordNumber && self . TimeGenerated == other . TimeGenerated && self . TimeWritten == other . TimeWritten && self . EventID == other . EventID && self . EventType == other . EventType && self . NumStrings == other . NumStrings && self . EventCategory == other . EventCategory && self . ReservedFlags == other . ReservedFlags && self . ClosingRecordNumber == other . ClosingRecordNumber && self . StringOffset == other . StringOffset && self . UserSidLength == other . UserSidLength && self . UserSidOffset == other . UserSidOffset && self . DataLength == other . DataLength && self . DataOffset == other . DataOffset } } impl :: std :: cmp :: Eq for EVENTLOGRECORD { } unsafe impl :: windows :: Abi for EVENTLOGRECORD { type Abi = Self ; type DefaultType = Self ; } pub const EVENTLOG_BACKWARDS_READ : u32 = 8u32 ; pub const EVENTLOG_END_ALL_PAIRED_EVENTS : u32 = 4u32 ; pub const EVENTLOG_END_PAIRED_EVENT : u32 = 2u32 ; pub const EVENTLOG_FORWARDS_READ : u32 = 4u32 ; pub const EVENTLOG_PAIRED_EVENT_ACTIVE : u32 = 8u32 ; pub const EVENTLOG_PAIRED_EVENT_INACTIVE : u32 = 16u32 ; pub const EVENTLOG_START_PAIRED_EVENT : u32 = 1u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EVENTSFORLOGFILE { pub ulSize : u32 , pub szLogicalLogFile : [ u16 ;256 ] , pub ulNumRecords : u32 , pub pEventLogRecords : EVENTLOGRECORD } impl EVENTSFORLOGFILE { } impl :: std :: default :: Default for EVENTSFORLOGFILE { fn default ( ) -> Self { Self { ulSize : 0 , szLogicalLogFile : [ 0 ;256 ] , ulNumRecords : 0 , pEventLogRecords : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for EVENTSFORLOGFILE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EVENTSFORLOGFILE" ) . field ( "ulSize" , & self . ulSize ) . field ( "szLogicalLogFile" , & self . szLogicalLogFile ) . field ( "ulNumRecords" , & self . ulNumRecords ) . field ( "pEventLogRecords" , & self . pEventLogRecords ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EVENTSFORLOGFILE { fn eq ( & self , other : & Self ) -> bool { self . ulSize == other . ulSize && self . szLogicalLogFile == other . szLogicalLogFile && self . ulNumRecords == other . ulNumRecords && self . pEventLogRecords == other . pEventLogRecords } } impl :: std :: cmp :: Eq for EVENTSFORLOGFILE { } unsafe impl :: windows :: Abi for EVENTSFORLOGFILE { type Abi = Self ; type DefaultType = Self ; } pub const EVENT_MODIFY_STATE : u32 = 2u32 ; pub const EXCEPTION_COLLIDED_UNWIND : u32 = 64u32 ; pub const EXCEPTION_EXECUTE_FAULT : u32 = 8u32 ; pub const EXCEPTION_EXIT_UNWIND : u32 = 4u32 ; pub const EXCEPTION_MAXIMUM_PARAMETERS : u32 = 15u32 ; pub const EXCEPTION_NESTED_CALL : u32 = 16u32 ; pub const EXCEPTION_NONCONTINUABLE : u32 = 1u32 ; pub const EXCEPTION_READ_FAULT : u32 = 0u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EXCEPTION_RECORD32 { pub ExceptionCode : super::super::Foundation:: NTSTATUS , pub ExceptionFlags : u32 , pub ExceptionRecord : u32 , pub ExceptionAddress : u32 , pub NumberParameters : u32 , pub ExceptionInformation : [ u32 ;15 ] } impl EXCEPTION_RECORD32 { } impl :: std :: default :: Default for EXCEPTION_RECORD32 { fn default ( ) -> Self { Self { ExceptionCode : :: std :: default :: Default :: default ( ) , ExceptionFlags : 0 , ExceptionRecord : 0 , ExceptionAddress : 0 , NumberParameters : 0 , ExceptionInformation : [ 0 ;15 ] } } } impl :: std :: fmt :: Debug for EXCEPTION_RECORD32 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EXCEPTION_RECORD32" ) . field ( "ExceptionCode" , & self . ExceptionCode ) . field ( "ExceptionFlags" , & self . ExceptionFlags ) . field ( "ExceptionRecord" , & self . ExceptionRecord ) . field ( "ExceptionAddress" , & self . ExceptionAddress ) . field ( "NumberParameters" , & self . NumberParameters ) . field ( "ExceptionInformation" , & self . ExceptionInformation ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EXCEPTION_RECORD32 { fn eq ( & self , other : & Self ) -> bool { self . ExceptionCode == other . ExceptionCode && self . ExceptionFlags == other . ExceptionFlags && self . ExceptionRecord == other . ExceptionRecord && self . ExceptionAddress == other . ExceptionAddress && self . NumberParameters == other . NumberParameters && self . ExceptionInformation == other . ExceptionInformation } } impl :: std :: cmp :: Eq for EXCEPTION_RECORD32 { } unsafe impl :: windows :: Abi for EXCEPTION_RECORD32 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone ) ] # [ repr ( C ) ] pub struct EXCEPTION_REGISTRATION_RECORD { pub Next : * mut EXCEPTION_REGISTRATION_RECORD , pub Handler : :: std :: option :: Option < super::Kernel:: EXCEPTION_ROUTINE > } impl EXCEPTION_REGISTRATION_RECORD { } impl :: std :: default :: Default for EXCEPTION_REGISTRATION_RECORD { fn default ( ) -> Self { Self { Next : :: std :: ptr :: null_mut ( ) , Handler : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for EXCEPTION_REGISTRATION_RECORD { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EXCEPTION_REGISTRATION_RECORD" ) . field ( "Next" , & self . Next ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EXCEPTION_REGISTRATION_RECORD { fn eq ( & self , other : & Self ) -> bool { self . Next == other . Next && self . Handler . map ( | f | f as usize ) == other . Handler . map ( | f | f as usize ) } } impl :: std :: cmp :: Eq for EXCEPTION_REGISTRATION_RECORD { } # [ repr ( C ) ] # [ doc ( hidden ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct EXCEPTION_REGISTRATION_RECORD_abi { pub Next : * mut EXCEPTION_REGISTRATION_RECORD_abi , pub Handler : :: windows :: RawPtr } unsafe impl :: windows :: Abi for EXCEPTION_REGISTRATION_RECORD { type Abi = EXCEPTION_REGISTRATION_RECORD_abi ; type DefaultType = Self ; } pub const EXCEPTION_STACK_INVALID : u32 = 8u32 ; pub const EXCEPTION_TARGET_UNWIND : u32 = 32u32 ; pub const EXCEPTION_UNWINDING : u32 = 2u32 ; pub const EXCEPTION_WRITE_FAULT : u32 = 1u32 ; pub const EXECUTE_OFFLINE_DIAGS : u32 = 212u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct EXTENDED_ENCRYPTED_DATA_INFO { pub ExtendedCode : u32 , pub Length : u32 , pub Flags : u32 , pub Reserved : u32 } impl EXTENDED_ENCRYPTED_DATA_INFO { } impl :: std :: default :: Default for EXTENDED_ENCRYPTED_DATA_INFO { fn default ( ) -> Self { Self { ExtendedCode : 0 , Length : 0 , Flags : 0 , Reserved : 0 } } } impl :: std :: fmt :: Debug for EXTENDED_ENCRYPTED_DATA_INFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EXTENDED_ENCRYPTED_DATA_INFO" ) . field ( "ExtendedCode" , & self . ExtendedCode ) . field ( "Length" , & self . Length ) . field ( "Flags" , & self . Flags ) . field ( "Reserved" , & self . Reserved ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EXTENDED_ENCRYPTED_DATA_INFO { fn eq ( & self , other : & Self ) -> bool { self . ExtendedCode == other . ExtendedCode && self . Length == other . Length && self . Flags == other . Flags && self . Reserved == other . Reserved } } impl :: std :: cmp :: Eq for EXTENDED_ENCRYPTED_DATA_INFO { } unsafe impl :: windows :: Abi for EXTENDED_ENCRYPTED_DATA_INFO { type Abi = Self ; type DefaultType = Self ; } pub const EXTEND_IEPORT : u32 = 2u32 ; pub unsafe fn EngQueryEMFInfo < 'a , > ( hdev : impl :: windows :: IntoParam < 'a , HDEV > , pemfinfo : * mut EMFINFO , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="GDI32" ) ] extern "system" { fn EngQueryEMFInfo ( hdev : HDEV , pemfinfo : * mut EMFINFO ) -> super::super::Foundation:: BOOL ; } EngQueryEMFInfo ( hdev . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pemfinfo ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub const FAST_FAIL_ADMINLESS_ACCESS_DENIED : u32 = 55u32 ; pub const FAST_FAIL_APCS_DISABLED : u32 = 32u32 ; pub const FAST_FAIL_CERTIFICATION_FAILURE : u32 = 20u32 ; pub const FAST_FAIL_CONTROL_INVALID_RETURN_ADDRESS : u32 = 57u32 ; pub const FAST_FAIL_CORRUPT_LIST_ENTRY : u32 = 3u32 ; pub const FAST_FAIL_CRYPTO_LIBRARY : u32 = 22u32 ; pub const FAST_FAIL_DEPRECATED_SERVICE_INVOKED : u32 = 27u32 ; pub const FAST_FAIL_DLOAD_PROTECTION_FAILURE : u32 = 25u32 ; pub const FAST_FAIL_ENCLAVE_CALL_FAILURE : u32 = 53u32 ; pub const FAST_FAIL_ETW_CORRUPTION : u32 = 61u32 ; pub const FAST_FAIL_FATAL_APP_EXIT : u32 = 7u32 ; pub const FAST_FAIL_FLAGS_CORRUPTION : u32 = 59u32 ; pub const FAST_FAIL_GS_COOKIE_INIT : u32 = 6u32 ; pub const FAST_FAIL_GUARD_EXPORT_SUPPRESSION_FAILURE : u32 = 46u32 ; pub const FAST_FAIL_GUARD_ICALL_CHECK_FAILURE : u32 = 10u32 ; pub const FAST_FAIL_GUARD_ICALL_CHECK_SUPPRESSED : u32 = 31u32 ; pub const FAST_FAIL_GUARD_JUMPTABLE : u32 = 37u32 ; pub const FAST_FAIL_GUARD_SS_FAILURE : u32 = 44u32 ; pub const FAST_FAIL_GUARD_WRITE_CHECK_FAILURE : u32 = 11u32 ; pub const FAST_FAIL_HEAP_METADATA_CORRUPTION : u32 = 50u32 ; pub const FAST_FAIL_INCORRECT_STACK : u32 = 4u32 ; pub const FAST_FAIL_INVALID_ARG : u32 = 5u32 ; pub const FAST_FAIL_INVALID_BALANCED_TREE : u32 = 29u32 ; pub const FAST_FAIL_INVALID_BUFFER_ACCESS : u32 = 28u32 ; pub const FAST_FAIL_INVALID_CALL_IN_DLL_CALLOUT : u32 = 23u32 ; pub const FAST_FAIL_INVALID_CONTROL_STACK : u32 = 47u32 ; pub const FAST_FAIL_INVALID_DISPATCH_CONTEXT : u32 = 39u32 ; pub const FAST_FAIL_INVALID_EXCEPTION_CHAIN : u32 = 21u32 ; pub const FAST_FAIL_INVALID_FAST_FAIL_CODE : u32 = 4294967295u32 ; pub const FAST_FAIL_INVALID_FIBER_SWITCH : u32 = 12u32 ; pub const FAST_FAIL_INVALID_FILE_OPERATION : u32 = 42u32 ; pub const FAST_FAIL_INVALID_IAT : u32 = 49u32 ; pub const FAST_FAIL_INVALID_IDLE_STATE : u32 = 33u32 ; pub const FAST_FAIL_INVALID_IMAGE_BASE : u32 = 24u32 ; pub const FAST_FAIL_INVALID_JUMP_BUFFER : u32 = 18u32 ; pub const FAST_FAIL_INVALID_LOCK_STATE : u32 = 36u32 ; pub const FAST_FAIL_INVALID_LONGJUMP_TARGET : u32 = 38u32 ; pub const FAST_FAIL_INVALID_NEXT_THREAD : u32 = 30u32 ; pub const FAST_FAIL_INVALID_PFN : u32 = 63u32 ; pub const FAST_FAIL_INVALID_REFERENCE_COUNT : u32 = 14u32 ; pub const FAST_FAIL_INVALID_SET_OF_CONTEXT : u32 = 13u32 ; pub const FAST_FAIL_INVALID_SYSCALL_NUMBER : u32 = 41u32 ; pub const FAST_FAIL_INVALID_THREAD : u32 = 40u32 ; pub const FAST_FAIL_LEGACY_GS_VIOLATION : u32 = 0u32 ; pub const FAST_FAIL_LOADER_CONTINUITY_FAILURE : u32 = 45u32 ; pub const FAST_FAIL_LOW_LABEL_ACCESS_DENIED : u32 = 52u32 ; pub const FAST_FAIL_LPAC_ACCESS_DENIED : u32 = 43u32 ; pub const FAST_FAIL_MRDATA_MODIFIED : u32 = 19u32 ; pub const FAST_FAIL_MRDATA_PROTECTION_FAILURE : u32 = 34u32 ; pub const FAST_FAIL_PAYLOAD_RESTRICTION_VIOLATION : u32 = 51u32 ; pub const FAST_FAIL_RANGE_CHECK_FAILURE : u32 = 8u32 ; pub const FAST_FAIL_RIO_ABORT : u32 = 62u32 ; pub const FAST_FAIL_SET_CONTEXT_DENIED : u32 = 48u32 ; pub const FAST_FAIL_STACK_COOKIE_CHECK_FAILURE : u32 = 2u32 ; pub const FAST_FAIL_UNEXPECTED_CALL : u32 = 56u32 ; pub const FAST_FAIL_UNEXPECTED_HEAP_EXCEPTION : u32 = 35u32 ; pub const FAST_FAIL_UNEXPECTED_HOST_BEHAVIOR : u32 = 58u32 ; pub const FAST_FAIL_UNHANDLED_LSS_EXCEPTON : u32 = 54u32 ; pub const FAST_FAIL_UNSAFE_EXTENSION_CALL : u32 = 26u32 ; pub const FAST_FAIL_UNSAFE_REGISTRY_ACCESS : u32 = 9u32 ; pub const FAST_FAIL_VEH_CORRUPTION : u32 = 60u32 ; pub const FAST_FAIL_VTGUARD_CHECK_FAILURE : u32 = 1u32 ; pub const FC_COMPLEX : u32 = 3u32 ; pub const FC_RECT : u32 = 1u32 ; pub const FC_RECT4 : u32 = 2u32 ; pub const FDM_TYPE_BM_SIDE_CONST : u32 = 1u32 ; pub const FDM_TYPE_CHAR_INC_EQUAL_BM_BASE : u32 = 4u32 ; pub const FDM_TYPE_CONST_BEARINGS : u32 = 16u32 ; pub const FDM_TYPE_MAXEXT_EQUAL_BM_SIDE : u32 = 2u32 ; pub const FDM_TYPE_ZERO_BEARINGS : u32 = 8u32 ; pub const FD_ERROR : u32 = 4294967295u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct FD_LIGATURE { pub culThis : u32 , pub ulType : u32 , pub cLigatures : u32 , pub alig : [ LIGATURE ;1 ] } impl FD_LIGATURE { } impl :: std :: default :: Default for FD_LIGATURE { fn default ( ) -> Self { Self { culThis : 0 , ulType : 0 , cLigatures : 0 , alig : [ :: std :: default :: Default :: default ( ) ;1 ] } } } impl :: std :: fmt :: Debug for FD_LIGATURE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "FD_LIGATURE" ) . field ( "culThis" , & self . culThis ) . field ( "ulType" , & self . ulType ) . field ( "cLigatures" , & self . cLigatures ) . field ( "alig" , & self . alig ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FD_LIGATURE { fn eq ( & self , other : & Self ) -> bool { self . culThis == other . culThis && self . ulType == other . ulType && self . cLigatures == other . cLigatures && self . alig == other . alig } } impl :: std :: cmp :: Eq for FD_LIGATURE { } unsafe impl :: windows :: Abi for FD_LIGATURE { type Abi = Self ; type DefaultType = Self ; } pub const FD_NEGATIVE_FONT : i32 = 1i32 ; pub const FF_IGNORED_SIGNATURE : u32 = 2u32 ; pub const FF_SIGNATURE_VERIFIED : u32 = 1u32 ; pub const FILESYSTEM_STATISTICS_TYPE_REFS : u32 = 4u32 ; pub const FILE_ANY_ACCESS : u32 = 0u32 ; pub const FILE_ATTRIBUTE_STRICTLY_SEQUENTIAL : u32 = 536870912u32 ; pub const FILE_CASE_PRESERVED_NAMES : u32 = 2u32 ; pub const FILE_CASE_SENSITIVE_SEARCH : u32 = 1u32 ; pub const FILE_CLEAR_ENCRYPTION : u32 = 2u32 ; pub const FILE_CS_FLAG_CASE_SENSITIVE_DIR : u32 = 1u32 ; pub const FILE_DAX_VOLUME : u32 = 536870912u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct FILE_DESIRED_STORAGE_CLASS_INFORMATION { pub Class : FILE_STORAGE_TIER_CLASS , pub Flags : u32 } impl FILE_DESIRED_STORAGE_CLASS_INFORMATION { } impl :: std :: default :: Default for FILE_DESIRED_STORAGE_CLASS_INFORMATION { fn default ( ) -> Self { Self { Class : :: std :: default :: Default :: default ( ) , Flags : 0 } } } impl :: std :: fmt :: Debug for FILE_DESIRED_STORAGE_CLASS_INFORMATION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "FILE_DESIRED_STORAGE_CLASS_INFORMATION" ) . field ( "Class" , & self . Class ) . field ( "Flags" , & self . Flags ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FILE_DESIRED_STORAGE_CLASS_INFORMATION { fn eq ( & self , other : & Self ) -> bool { self . Class == other . Class && self . Flags == other . Flags } } impl :: std :: cmp :: Eq for FILE_DESIRED_STORAGE_CLASS_INFORMATION { } unsafe impl :: windows :: Abi for FILE_DESIRED_STORAGE_CLASS_INFORMATION { type Abi = Self ; type DefaultType = Self ; } pub const FILE_DEVICE_8042_PORT : u32 = 39u32 ; pub const FILE_DEVICE_ACPI : u32 = 50u32 ; pub const FILE_DEVICE_BATTERY : u32 = 41u32 ; pub const FILE_DEVICE_BEEP : u32 = 1u32 ; pub const FILE_DEVICE_BIOMETRIC : u32 = 68u32 ; pub const FILE_DEVICE_BLUETOOTH : u32 = 65u32 ; pub const FILE_DEVICE_BUS_EXTENDER : u32 = 42u32 ; pub const FILE_DEVICE_CD_ROM_FILE_SYSTEM : u32 = 3u32 ; pub const FILE_DEVICE_CHANGER : u32 = 48u32 ; pub const FILE_DEVICE_CONSOLE : u32 = 80u32 ; pub const FILE_DEVICE_CONTROLLER : u32 = 4u32 ; pub const FILE_DEVICE_CRYPT_PROVIDER : u32 = 63u32 ; pub const FILE_DEVICE_DATALINK : u32 = 5u32 ; pub const FILE_DEVICE_DEVAPI : u32 = 71u32 ; pub const FILE_DEVICE_DFS : u32 = 6u32 ; pub const FILE_DEVICE_DFS_FILE_SYSTEM : u32 = 53u32 ; pub const FILE_DEVICE_DFS_VOLUME : u32 = 54u32 ; pub const FILE_DEVICE_DISK_FILE_SYSTEM : u32 = 8u32 ; pub const FILE_DEVICE_EHSTOR : u32 = 70u32 ; pub const FILE_DEVICE_FILE_SYSTEM : u32 = 9u32 ; pub const FILE_DEVICE_FIPS : u32 = 58u32 ; pub const FILE_DEVICE_FULLSCREEN_VIDEO : u32 = 52u32 ; pub const FILE_DEVICE_GPIO : u32 = 72u32 ; pub const FILE_DEVICE_HOLOGRAPHIC : u32 = 91u32 ; pub const FILE_DEVICE_INFINIBAND : u32 = 59u32 ; pub const FILE_DEVICE_INPORT_PORT : u32 = 10u32 ; pub const FILE_DEVICE_KEYBOARD : u32 = 11u32 ; pub const FILE_DEVICE_KS : u32 = 47u32 ; pub const FILE_DEVICE_KSEC : u32 = 57u32 ; pub const FILE_DEVICE_MAILSLOT : u32 = 12u32 ; pub const FILE_DEVICE_MASS_STORAGE : u32 = 45u32 ; pub const FILE_DEVICE_MIDI_IN : u32 = 13u32 ; pub const FILE_DEVICE_MIDI_OUT : u32 = 14u32 ; pub const FILE_DEVICE_MODEM : u32 = 43u32 ; pub const FILE_DEVICE_MOUSE : u32 = 15u32 ; pub const FILE_DEVICE_MT_COMPOSITE : u32 = 66u32 ; pub const FILE_DEVICE_MT_TRANSPORT : u32 = 67u32 ; pub const FILE_DEVICE_MULTI_UNC_PROVIDER : u32 = 16u32 ; pub const FILE_DEVICE_NAMED_PIPE : u32 = 17u32 ; pub const FILE_DEVICE_NETWORK : u32 = 18u32 ; pub const FILE_DEVICE_NETWORK_BROWSER : u32 = 19u32 ; pub const FILE_DEVICE_NETWORK_FILE_SYSTEM : u32 = 20u32 ; pub const FILE_DEVICE_NETWORK_REDIRECTOR : u32 = 40u32 ; pub const FILE_DEVICE_NFP : u32 = 81u32 ; pub const FILE_DEVICE_NULL : u32 = 21u32 ; pub const FILE_DEVICE_NVDIMM : u32 = 90u32 ; pub const FILE_DEVICE_PARALLEL_PORT : u32 = 22u32 ; pub const FILE_DEVICE_PERSISTENT_MEMORY : u32 = 89u32 ; pub const FILE_DEVICE_PHYSICAL_NETCARD : u32 = 23u32 ; pub const FILE_DEVICE_PMI : u32 = 69u32 ; pub const FILE_DEVICE_POINT_OF_SERVICE : u32 = 84u32 ; pub const FILE_DEVICE_PRINTER : u32 = 24u32 ; pub const FILE_DEVICE_SCANNER : u32 = 25u32 ; pub const FILE_DEVICE_SCREEN : u32 = 28u32 ; pub const FILE_DEVICE_SDFXHCI : u32 = 92u32 ; pub const FILE_DEVICE_SERENUM : u32 = 55u32 ; pub const FILE_DEVICE_SERIAL_MOUSE_PORT : u32 = 26u32 ; pub const FILE_DEVICE_SERIAL_PORT : u32 = 27u32 ; pub const FILE_DEVICE_SMARTCARD : u32 = 49u32 ; pub const FILE_DEVICE_SMB : u32 = 46u32 ; pub const FILE_DEVICE_SOUND : u32 = 29u32 ; pub const FILE_DEVICE_STORAGE_REPLICATION : u32 = 85u32 ; pub const FILE_DEVICE_STREAMS : u32 = 30u32 ; pub const FILE_DEVICE_SYSENV : u32 = 82u32 ; pub const FILE_DEVICE_TAPE_FILE_SYSTEM : u32 = 32u32 ; pub const FILE_DEVICE_TERMSRV : u32 = 56u32 ; pub const FILE_DEVICE_TRANSPORT : u32 = 33u32 ; pub const FILE_DEVICE_TRUST_ENV : u32 = 86u32 ; pub const FILE_DEVICE_UCM : u32 = 87u32 ; pub const FILE_DEVICE_UCMTCPCI : u32 = 88u32 ; pub const FILE_DEVICE_UCMUCSI : u32 = 93u32 ; pub const FILE_DEVICE_UNKNOWN : u32 = 34u32 ; pub const FILE_DEVICE_USBEX : u32 = 73u32 ; pub const FILE_DEVICE_VDM : u32 = 44u32 ; pub const FILE_DEVICE_VIDEO : u32 = 35u32 ; pub const FILE_DEVICE_VIRTUAL_BLOCK : u32 = 83u32 ; pub const FILE_DEVICE_VIRTUAL_DISK : u32 = 36u32 ; pub const FILE_DEVICE_VMBUS : u32 = 62u32 ; pub const FILE_DEVICE_WAVE_IN : u32 = 37u32 ; pub const FILE_DEVICE_WAVE_OUT : u32 = 38u32 ; pub const FILE_DEVICE_WPD : u32 = 64u32 ; pub const FILE_FILE_COMPRESSION : u32 = 16u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct FILE_FS_PERSISTENT_VOLUME_INFORMATION { pub VolumeFlags : u32 , pub FlagMask : u32 , pub Version : u32 , pub Reserved : u32 } impl FILE_FS_PERSISTENT_VOLUME_INFORMATION { } impl :: std :: default :: Default for FILE_FS_PERSISTENT_VOLUME_INFORMATION { fn default ( ) -> Self { Self { VolumeFlags : 0 , FlagMask : 0 , Version : 0 , Reserved : 0 } } } impl :: std :: fmt :: Debug for FILE_FS_PERSISTENT_VOLUME_INFORMATION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "FILE_FS_PERSISTENT_VOLUME_INFORMATION" ) . field ( "VolumeFlags" , & self . VolumeFlags ) . field ( "FlagMask" , & self . FlagMask ) . field ( "Version" , & self . Version ) . field ( "Reserved" , & self . Reserved ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FILE_FS_PERSISTENT_VOLUME_INFORMATION { fn eq ( & self , other : & Self ) -> bool { self . VolumeFlags == other . VolumeFlags && self . FlagMask == other . FlagMask && self . Version == other . Version && self . Reserved == other . Reserved } } impl :: std :: cmp :: Eq for FILE_FS_PERSISTENT_VOLUME_INFORMATION { } unsafe impl :: windows :: Abi for FILE_FS_PERSISTENT_VOLUME_INFORMATION { type Abi = Self ; type DefaultType = Self ; } pub const FILE_INITIATE_REPAIR_HINT1_ATTRIBUTE_NON_RESIDENT : u64 = 137438953472u64 ; pub const FILE_INITIATE_REPAIR_HINT1_ATTRIBUTE_NOT_FOUND : u64 = 4096u64 ; pub const FILE_INITIATE_REPAIR_HINT1_ATTRIBUTE_TOO_SMALL : u64 = 68719476736u64 ; pub const FILE_INITIATE_REPAIR_HINT1_CLUSTERS_ALREADY_IN_USE : u64 = 32768u64 ; pub const FILE_INITIATE_REPAIR_HINT1_DENY_DEFRAG : u64 = 274877906944u64 ; pub const FILE_INITIATE_REPAIR_HINT1_FILE_RECORD_IS_BASE_RECORD : u64 = 524288u64 ; pub const FILE_INITIATE_REPAIR_HINT1_FILE_RECORD_NOT_BASE_RECORD : u64 = 8u64 ; pub const FILE_INITIATE_REPAIR_HINT1_FILE_RECORD_NOT_EXIST : u64 = 4u64 ; pub const FILE_INITIATE_REPAIR_HINT1_FILE_RECORD_NOT_IN_USE : u64 = 1u64 ; pub const FILE_INITIATE_REPAIR_HINT1_FILE_RECORD_NOT_ORPHAN : u64 = 262144u64 ; pub const FILE_INITIATE_REPAIR_HINT1_FILE_RECORD_REUSED : u64 = 2u64 ; pub const FILE_INITIATE_REPAIR_HINT1_INDEX_ENTRY_MISMATCH : u64 = 1099511627776u64 ; pub const FILE_INITIATE_REPAIR_HINT1_INVALID_ARRAY_LENGTH_COUNT : u64 = 1048576u64 ; pub const FILE_INITIATE_REPAIR_HINT1_INVALID_LCN : u64 = 4294967296u64 ; pub const FILE_INITIATE_REPAIR_HINT1_INVALID_ORPHAN_RECOVERY_NAME : u64 = 2199023255552u64 ; pub const FILE_INITIATE_REPAIR_HINT1_INVALID_PARENT : u64 = 8388608u64 ; pub const FILE_INITIATE_REPAIR_HINT1_INVALID_RUN_LENGTH : u64 = 131072u64 ; pub const FILE_INITIATE_REPAIR_HINT1_INVALID_VCN : u64 = 8589934592u64 ; pub const FILE_INITIATE_REPAIR_HINT1_LCN_NOT_EXIST : u64 = 65536u64 ; pub const FILE_INITIATE_REPAIR_HINT1_MULTIPLE_FILE_NAME_ATTRIBUTES : u64 = 4398046511104u64 ; pub const FILE_INITIATE_REPAIR_HINT1_NAME_CONFLICT : u64 = 17179869184u64 ; pub const FILE_INITIATE_REPAIR_HINT1_NOTHING_WRONG : u64 = 2048u64 ; pub const FILE_INITIATE_REPAIR_HINT1_NOT_IMPLEMENTED : u64 = 32u64 ; pub const FILE_INITIATE_REPAIR_HINT1_ORPHAN : u64 = 34359738368u64 ; pub const FILE_INITIATE_REPAIR_HINT1_ORPHAN_GENERATED : u64 = 512u64 ; pub const FILE_INITIATE_REPAIR_HINT1_OUT_OF_GENERIC_NAMES : u64 = 1073741824u64 ; pub const FILE_INITIATE_REPAIR_HINT1_OUT_OF_RESOURCE : u64 = 2147483648u64 ; pub const FILE_INITIATE_REPAIR_HINT1_PARENT_FILE_RECORD_NOT_BASE_RECORD : u64 = 134217728u64 ; pub const FILE_INITIATE_REPAIR_HINT1_PARENT_FILE_RECORD_NOT_EXIST : u64 = 67108864u64 ; pub const FILE_INITIATE_REPAIR_HINT1_PARENT_FILE_RECORD_NOT_INDEX : u64 = 268435456u64 ; pub const FILE_INITIATE_REPAIR_HINT1_PARENT_FILE_RECORD_NOT_IN_USE : u64 = 16777216u64 ; pub const FILE_INITIATE_REPAIR_HINT1_PARENT_FILE_RECORD_REUSED : u64 = 33554432u64 ; pub const FILE_INITIATE_REPAIR_HINT1_POTENTIAL_CROSSLINK : u64 = 8192u64 ; pub const FILE_INITIATE_REPAIR_HINT1_PREVIOUS_PARENT_STILL_VALID : u64 = 549755813888u64 ; pub const FILE_INITIATE_REPAIR_HINT1_RECURSIVELY_CORRUPTED : u64 = 256u64 ; pub const FILE_INITIATE_REPAIR_HINT1_REPAIRED : u64 = 1024u64 ; pub const FILE_INITIATE_REPAIR_HINT1_REPAIR_DISABLED : u64 = 128u64 ; pub const FILE_INITIATE_REPAIR_HINT1_SID_MISMATCH : u64 = 4194304u64 ; pub const FILE_INITIATE_REPAIR_HINT1_SID_VALID : u64 = 2097152u64 ; pub const FILE_INITIATE_REPAIR_HINT1_STALE_INFORMATION : u64 = 16384u64 ; pub const FILE_INITIATE_REPAIR_HINT1_SYSTEM_FILE : u64 = 16u64 ; pub const FILE_INITIATE_REPAIR_HINT1_UNABLE_TO_REPAIR : u64 = 64u64 ; pub const FILE_INITIATE_REPAIR_HINT1_VALID_INDEX_ENTRY : u64 = 536870912u64 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct FILE_INITIATE_REPAIR_OUTPUT_BUFFER { pub Hint1 : u64 , pub Hint2 : u64 , pub Clsn : u64 , pub Status : u32 } impl FILE_INITIATE_REPAIR_OUTPUT_BUFFER { } impl :: std :: default :: Default for FILE_INITIATE_REPAIR_OUTPUT_BUFFER { fn default ( ) -> Self { Self { Hint1 : 0 , Hint2 : 0 , Clsn : 0 , Status : 0 } } } impl :: std :: fmt :: Debug for FILE_INITIATE_REPAIR_OUTPUT_BUFFER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "FILE_INITIATE_REPAIR_OUTPUT_BUFFER" ) . field ( "Hint1" , & self . Hint1 ) . field ( "Hint2" , & self . Hint2 ) . field ( "Clsn" , & self . Clsn ) . field ( "Status" , & self . Status ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FILE_INITIATE_REPAIR_OUTPUT_BUFFER { fn eq ( & self , other : & Self ) -> bool { self . Hint1 == other . Hint1 && self . Hint2 == other . Hint2 && self . Clsn == other . Clsn && self . Status == other . Status } } impl :: std :: cmp :: Eq for FILE_INITIATE_REPAIR_OUTPUT_BUFFER { } unsafe impl :: windows :: Abi for FILE_INITIATE_REPAIR_OUTPUT_BUFFER { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct FILE_LAYOUT_ENTRY { pub Version : u32 , pub NextFileOffset : u32 , pub Flags : u32 , pub FileAttributes : u32 , pub FileReferenceNumber : u64 , pub FirstNameOffset : u32 , pub FirstStreamOffset : u32 , pub ExtraInfoOffset : u32 , pub ExtraInfoLength : u32 } impl FILE_LAYOUT_ENTRY { } impl :: std :: default :: Default for FILE_LAYOUT_ENTRY { fn default ( ) -> Self { Self { Version : 0 , NextFileOffset : 0 , Flags : 0 , FileAttributes : 0 , FileReferenceNumber : 0 , FirstNameOffset : 0 , FirstStreamOffset : 0 , ExtraInfoOffset : 0 , ExtraInfoLength : 0 } } } impl :: std :: fmt :: Debug for FILE_LAYOUT_ENTRY { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "FILE_LAYOUT_ENTRY" ) . field ( "Version" , & self . Version ) . field ( "NextFileOffset" , & self . NextFileOffset ) . field ( "Flags" , & self . Flags ) . field ( "FileAttributes" , & self . FileAttributes ) . field ( "FileReferenceNumber" , & self . FileReferenceNumber ) . field ( "FirstNameOffset" , & self . FirstNameOffset ) . field ( "FirstStreamOffset" , & self . FirstStreamOffset ) . field ( "ExtraInfoOffset" , & self . ExtraInfoOffset ) . field ( "ExtraInfoLength" , & self . ExtraInfoLength ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FILE_LAYOUT_ENTRY { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . NextFileOffset == other . NextFileOffset && self . Flags == other . Flags && self . FileAttributes == other . FileAttributes && self . FileReferenceNumber == other . FileReferenceNumber && self . FirstNameOffset == other . FirstNameOffset && self . FirstStreamOffset == other . FirstStreamOffset && self . ExtraInfoOffset == other . ExtraInfoOffset && self . ExtraInfoLength == other . ExtraInfoLength } } impl :: std :: cmp :: Eq for FILE_LAYOUT_ENTRY { } unsafe impl :: windows :: Abi for FILE_LAYOUT_ENTRY { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct FILE_LAYOUT_INFO_ENTRY { pub BasicInformation : FILE_LAYOUT_INFO_ENTRY_0 , pub OwnerId : u32 , pub SecurityId : u32 , pub Usn : i64 , pub StorageReserveId : STORAGE_RESERVE_ID } impl FILE_LAYOUT_INFO_ENTRY { } impl :: std :: default :: Default for FILE_LAYOUT_INFO_ENTRY { fn default ( ) -> Self { Self { BasicInformation : :: std :: default :: Default :: default ( ) , OwnerId : 0 , SecurityId : 0 , Usn : 0 , StorageReserveId : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for FILE_LAYOUT_INFO_ENTRY { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "FILE_LAYOUT_INFO_ENTRY" ) . field ( "BasicInformation" , & self . BasicInformation ) . field ( "OwnerId" , & self . OwnerId ) . field ( "SecurityId" , & self . SecurityId ) . field ( "Usn" , & self . Usn ) . field ( "StorageReserveId" , & self . StorageReserveId ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FILE_LAYOUT_INFO_ENTRY { fn eq ( & self , other : & Self ) -> bool { self . BasicInformation == other . BasicInformation && self . OwnerId == other . OwnerId && self . SecurityId == other . SecurityId && self . Usn == other . Usn && self . StorageReserveId == other . StorageReserveId } } impl :: std :: cmp :: Eq for FILE_LAYOUT_INFO_ENTRY { } unsafe impl :: windows :: Abi for FILE_LAYOUT_INFO_ENTRY { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct FILE_LAYOUT_INFO_ENTRY_0 { pub CreationTime : i64 , pub LastAccessTime : i64 , pub LastWriteTime : i64 , pub ChangeTime : i64 , pub FileAttributes : u32 } impl FILE_LAYOUT_INFO_ENTRY_0 { } impl :: std :: default :: Default for FILE_LAYOUT_INFO_ENTRY_0 { fn default ( ) -> Self { Self { CreationTime : 0 , LastAccessTime : 0 , LastWriteTime : 0 , ChangeTime : 0 , FileAttributes : 0 } } } impl :: std :: fmt :: Debug for FILE_LAYOUT_INFO_ENTRY_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_BasicInformation_e__Struct" ) . field ( "CreationTime" , & self . CreationTime ) . field ( "LastAccessTime" , & self . LastAccessTime ) . field ( "LastWriteTime" , & self . LastWriteTime ) . field ( "ChangeTime" , & self . ChangeTime ) . field ( "FileAttributes" , & self . FileAttributes ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FILE_LAYOUT_INFO_ENTRY_0 { fn eq ( & self , other : & Self ) -> bool { self . CreationTime == other . CreationTime && self . LastAccessTime == other . LastAccessTime && self . LastWriteTime == other . LastWriteTime && self . ChangeTime == other . ChangeTime && self . FileAttributes == other . FileAttributes } } impl :: std :: cmp :: Eq for FILE_LAYOUT_INFO_ENTRY_0 { } unsafe impl :: windows :: Abi for FILE_LAYOUT_INFO_ENTRY_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct FILE_LAYOUT_NAME_ENTRY { pub NextNameOffset : u32 , pub Flags : u32 , pub ParentFileReferenceNumber : u64 , pub FileNameLength : u32 , pub Reserved : u32 , pub FileName : [ u16 ;1 ] } impl FILE_LAYOUT_NAME_ENTRY { } impl :: std :: default :: Default for FILE_LAYOUT_NAME_ENTRY { fn default ( ) -> Self { Self { NextNameOffset : 0 , Flags : 0 , ParentFileReferenceNumber : 0 , FileNameLength : 0 , Reserved : 0 , FileName : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for FILE_LAYOUT_NAME_ENTRY { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "FILE_LAYOUT_NAME_ENTRY" ) . field ( "NextNameOffset" , & self . NextNameOffset ) . field ( "Flags" , & self . Flags ) . field ( "ParentFileReferenceNumber" , & self . ParentFileReferenceNumber ) . field ( "FileNameLength" , & self . FileNameLength ) . field ( "Reserved" , & self . Reserved ) . field ( "FileName" , & self . FileName ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FILE_LAYOUT_NAME_ENTRY { fn eq ( & self , other : & Self ) -> bool { self . NextNameOffset == other . NextNameOffset && self . Flags == other . Flags && self . ParentFileReferenceNumber == other . ParentFileReferenceNumber && self . FileNameLength == other . FileNameLength && self . Reserved == other . Reserved && self . FileName == other . FileName } } impl :: std :: cmp :: Eq for FILE_LAYOUT_NAME_ENTRY { } unsafe impl :: windows :: Abi for FILE_LAYOUT_NAME_ENTRY { type Abi = Self ; type DefaultType = Self ; } pub const FILE_LAYOUT_NAME_ENTRY_DOS : u32 = 2u32 ; pub const FILE_LAYOUT_NAME_ENTRY_PRIMARY : u32 = 1u32 ; pub const FILE_NAMED_STREAMS : u32 = 262144u32 ; pub const FILE_PERSISTENT_ACLS : u32 = 8u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct FILE_PREFETCH { pub Type : u32 , pub Count : u32 , pub Prefetch : [ u64 ;1 ] } impl FILE_PREFETCH { } impl :: std :: default :: Default for FILE_PREFETCH { fn default ( ) -> Self { Self { Type : 0 , Count : 0 , Prefetch : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for FILE_PREFETCH { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "FILE_PREFETCH" ) . field ( "Type" , & self . Type ) . field ( "Count" , & self . Count ) . field ( "Prefetch" , & self . Prefetch ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FILE_PREFETCH { fn eq ( & self , other : & Self ) -> bool { self . Type == other . Type && self . Count == other . Count && self . Prefetch == other . Prefetch } } impl :: std :: cmp :: Eq for FILE_PREFETCH { } unsafe impl :: windows :: Abi for FILE_PREFETCH { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct FILE_PREFETCH_EX { pub Type : u32 , pub Count : u32 , pub Context : * mut :: std :: ffi :: c_void , pub Prefetch : [ u64 ;1 ] } impl FILE_PREFETCH_EX { } impl :: std :: default :: Default for FILE_PREFETCH_EX { fn default ( ) -> Self { Self { Type : 0 , Count : 0 , Context : :: std :: ptr :: null_mut ( ) , Prefetch : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for FILE_PREFETCH_EX { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "FILE_PREFETCH_EX" ) . field ( "Type" , & self . Type ) . field ( "Count" , & self . Count ) . field ( "Context" , & self . Context ) . field ( "Prefetch" , & self . Prefetch ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FILE_PREFETCH_EX { fn eq ( & self , other : & Self ) -> bool { self . Type == other . Type && self . Count == other . Count && self . Context == other . Context && self . Prefetch == other . Prefetch } } impl :: std :: cmp :: Eq for FILE_PREFETCH_EX { } unsafe impl :: windows :: Abi for FILE_PREFETCH_EX { type Abi = Self ; type DefaultType = Self ; } pub const FILE_PREFETCH_TYPE_FOR_CREATE : u32 = 1u32 ; pub const FILE_PREFETCH_TYPE_FOR_CREATE_EX : u32 = 3u32 ; pub const FILE_PREFETCH_TYPE_FOR_DIRENUM : u32 = 2u32 ; pub const FILE_PREFETCH_TYPE_FOR_DIRENUM_EX : u32 = 4u32 ; pub const FILE_PREFETCH_TYPE_MAX : u32 = 4u32 ; pub const FILE_PROVIDER_COMPRESSION_LZX : u32 = 1u32 ; pub const FILE_PROVIDER_COMPRESSION_MAXIMUM : u32 = 4u32 ; pub const FILE_PROVIDER_COMPRESSION_XPRESS16K : u32 = 3u32 ; pub const FILE_PROVIDER_COMPRESSION_XPRESS4K : u32 = 0u32 ; pub const FILE_PROVIDER_COMPRESSION_XPRESS8K : u32 = 2u32 ; pub const FILE_PROVIDER_CURRENT_VERSION : u32 = 1u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct FILE_PROVIDER_EXTERNAL_INFO_V0 { pub Version : u32 , pub Algorithm : u32 } impl FILE_PROVIDER_EXTERNAL_INFO_V0 { } impl :: std :: default :: Default for FILE_PROVIDER_EXTERNAL_INFO_V0 { fn default ( ) -> Self { Self { Version : 0 , Algorithm : 0 } } } impl :: std :: fmt :: Debug for FILE_PROVIDER_EXTERNAL_INFO_V0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "FILE_PROVIDER_EXTERNAL_INFO_V0" ) . field ( "Version" , & self . Version ) . field ( "Algorithm" , & self . Algorithm ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FILE_PROVIDER_EXTERNAL_INFO_V0 { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Algorithm == other . Algorithm } } impl :: std :: cmp :: Eq for FILE_PROVIDER_EXTERNAL_INFO_V0 { } unsafe impl :: windows :: Abi for FILE_PROVIDER_EXTERNAL_INFO_V0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct FILE_PROVIDER_EXTERNAL_INFO_V1 { pub Version : u32 , pub Algorithm : u32 , pub Flags : u32 } impl FILE_PROVIDER_EXTERNAL_INFO_V1 { } impl :: std :: default :: Default for FILE_PROVIDER_EXTERNAL_INFO_V1 { fn default ( ) -> Self { Self { Version : 0 , Algorithm : 0 , Flags : 0 } } } impl :: std :: fmt :: Debug for FILE_PROVIDER_EXTERNAL_INFO_V1 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "FILE_PROVIDER_EXTERNAL_INFO_V1" ) . field ( "Version" , & self . Version ) . field ( "Algorithm" , & self . Algorithm ) . field ( "Flags" , & self . Flags ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FILE_PROVIDER_EXTERNAL_INFO_V1 { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Algorithm == other . Algorithm && self . Flags == other . Flags } } impl :: std :: cmp :: Eq for FILE_PROVIDER_EXTERNAL_INFO_V1 { } unsafe impl :: windows :: Abi for FILE_PROVIDER_EXTERNAL_INFO_V1 { type Abi = Self ; type DefaultType = Self ; } pub const FILE_PROVIDER_FLAG_COMPRESS_ON_WRITE : u32 = 1u32 ; pub const FILE_PROVIDER_SINGLE_FILE : u32 = 1u32 ; pub const FILE_READ_ACCESS : u32 = 1u32 ; pub const FILE_READ_ONLY_VOLUME : u32 = 524288u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct FILE_REFERENCE_RANGE { pub StartingFileReferenceNumber : u64 , pub EndingFileReferenceNumber : u64 } impl FILE_REFERENCE_RANGE { } impl :: std :: default :: Default for FILE_REFERENCE_RANGE { fn default ( ) -> Self { Self { StartingFileReferenceNumber : 0 , EndingFileReferenceNumber : 0 } } } impl :: std :: fmt :: Debug for FILE_REFERENCE_RANGE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "FILE_REFERENCE_RANGE" ) . field ( "StartingFileReferenceNumber" , & self . StartingFileReferenceNumber ) . field ( "EndingFileReferenceNumber" , & self . EndingFileReferenceNumber ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FILE_REFERENCE_RANGE { fn eq ( & self , other : & Self ) -> bool { self . StartingFileReferenceNumber == other . StartingFileReferenceNumber && self . EndingFileReferenceNumber == other . EndingFileReferenceNumber } } impl :: std :: cmp :: Eq for FILE_REFERENCE_RANGE { } unsafe impl :: windows :: Abi for FILE_REFERENCE_RANGE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct FILE_REGION_INFO { pub FileOffset : i64 , pub Length : i64 , pub Usage : u32 , pub Reserved : u32 } impl FILE_REGION_INFO { } impl :: std :: default :: Default for FILE_REGION_INFO { fn default ( ) -> Self { Self { FileOffset : 0 , Length : 0 , Usage : 0 , Reserved : 0 } } } impl :: std :: fmt :: Debug for FILE_REGION_INFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "FILE_REGION_INFO" ) . field ( "FileOffset" , & self . FileOffset ) . field ( "Length" , & self . Length ) . field ( "Usage" , & self . Usage ) . field ( "Reserved" , & self . Reserved ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FILE_REGION_INFO { fn eq ( & self , other : & Self ) -> bool { self . FileOffset == other . FileOffset && self . Length == other . Length && self . Usage == other . Usage && self . Reserved == other . Reserved } } impl :: std :: cmp :: Eq for FILE_REGION_INFO { } unsafe impl :: windows :: Abi for FILE_REGION_INFO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct FILE_REGION_INPUT { pub FileOffset : i64 , pub Length : i64 , pub DesiredUsage : u32 } impl FILE_REGION_INPUT { } impl :: std :: default :: Default for FILE_REGION_INPUT { fn default ( ) -> Self { Self { FileOffset : 0 , Length : 0 , DesiredUsage : 0 } } } impl :: std :: fmt :: Debug for FILE_REGION_INPUT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "FILE_REGION_INPUT" ) . field ( "FileOffset" , & self . FileOffset ) . field ( "Length" , & self . Length ) . field ( "DesiredUsage" , & self . DesiredUsage ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FILE_REGION_INPUT { fn eq ( & self , other : & Self ) -> bool { self . FileOffset == other . FileOffset && self . Length == other . Length && self . DesiredUsage == other . DesiredUsage } } impl :: std :: cmp :: Eq for FILE_REGION_INPUT { } unsafe impl :: windows :: Abi for FILE_REGION_INPUT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct FILE_REGION_OUTPUT { pub Flags : u32 , pub TotalRegionEntryCount : u32 , pub RegionEntryCount : u32 , pub Reserved : u32 , pub Region : [ FILE_REGION_INFO ;1 ] } impl FILE_REGION_OUTPUT { } impl :: std :: default :: Default for FILE_REGION_OUTPUT { fn default ( ) -> Self { Self { Flags : 0 , TotalRegionEntryCount : 0 , RegionEntryCount : 0 , Reserved : 0 , Region : [ :: std :: default :: Default :: default ( ) ;1 ] } } } impl :: std :: fmt :: Debug for FILE_REGION_OUTPUT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "FILE_REGION_OUTPUT" ) . field ( "Flags" , & self . Flags ) . field ( "TotalRegionEntryCount" , & self . TotalRegionEntryCount ) . field ( "RegionEntryCount" , & self . RegionEntryCount ) . field ( "Reserved" , & self . Reserved ) . field ( "Region" , & self . Region ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FILE_REGION_OUTPUT { fn eq ( & self , other : & Self ) -> bool { self . Flags == other . Flags && self . TotalRegionEntryCount == other . TotalRegionEntryCount && self . RegionEntryCount == other . RegionEntryCount && self . Reserved == other . Reserved && self . Region == other . Region } } impl :: std :: cmp :: Eq for FILE_REGION_OUTPUT { } unsafe impl :: windows :: Abi for FILE_REGION_OUTPUT { type Abi = Self ; type DefaultType = Self ; } pub const FILE_REGION_USAGE_HUGE_PAGE_ALIGNMENT : u32 = 16u32 ; pub const FILE_REGION_USAGE_LARGE_PAGE_ALIGNMENT : u32 = 8u32 ; pub const FILE_REGION_USAGE_OTHER_PAGE_ALIGNMENT : u32 = 4u32 ; pub const FILE_REGION_USAGE_VALID_CACHED_DATA : u32 = 1u32 ; pub const FILE_REGION_USAGE_VALID_NONCACHED_DATA : u32 = 2u32 ; pub const FILE_RETURNS_CLEANUP_RESULT_INFO : u32 = 512u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union FILE_SEGMENT_ELEMENT { pub Buffer : * mut :: std :: ffi :: c_void , pub Alignment : u64 } impl FILE_SEGMENT_ELEMENT { } impl :: std :: cmp :: PartialEq for FILE_SEGMENT_ELEMENT { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for FILE_SEGMENT_ELEMENT { } unsafe impl :: windows :: Abi for FILE_SEGMENT_ELEMENT { type Abi = Self ; type DefaultType = Self ; } pub const FILE_SEQUENTIAL_WRITE_ONCE : u32 = 1048576u32 ; pub const FILE_SET_ENCRYPTION : u32 = 1u32 ; pub const FILE_SPECIAL_ACCESS : u32 = 0u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct FILE_STORAGE_TIER_CLASS ( pub i32 ) ; pub const FileStorageTierClassUnspecified : FILE_STORAGE_TIER_CLASS = FILE_STORAGE_TIER_CLASS ( 0i32 ) ; pub const FileStorageTierClassCapacity : FILE_STORAGE_TIER_CLASS = FILE_STORAGE_TIER_CLASS ( 1i32 ) ; pub const FileStorageTierClassPerformance : FILE_STORAGE_TIER_CLASS = FILE_STORAGE_TIER_CLASS ( 2i32 ) ; pub const FileStorageTierClassMax : FILE_STORAGE_TIER_CLASS = FILE_STORAGE_TIER_CLASS ( 3i32 ) ; impl :: std :: convert :: From < i32 > for FILE_STORAGE_TIER_CLASS { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for FILE_STORAGE_TIER_CLASS { type Abi = Self ; type DefaultType = Self ; } pub const FILE_STORAGE_TIER_DESCRIPTION_LENGTH : u32 = 512u32 ; pub const FILE_STORAGE_TIER_FLAG_PARITY : u32 = 8388608u32 ; pub const FILE_STORAGE_TIER_FLAG_READ_CACHE : u32 = 4194304u32 ; pub const FILE_STORAGE_TIER_FLAG_SMR : u32 = 16777216u32 ; pub const FILE_STORAGE_TIER_FLAG_WRITE_BACK_CACHE : u32 = 2097152u32 ; pub const FILE_STORAGE_TIER_NAME_LENGTH : u32 = 256u32 ; pub const FILE_SUPPORTS_BLOCK_REFCOUNTING : u32 = 134217728u32 ; pub const FILE_SUPPORTS_ENCRYPTION : u32 = 131072u32 ; pub const FILE_SUPPORTS_EXTENDED_ATTRIBUTES : u32 = 8388608u32 ; pub const FILE_SUPPORTS_GHOSTING : u32 = 1073741824u32 ; pub const FILE_SUPPORTS_HARD_LINKS : u32 = 4194304u32 ; pub const FILE_SUPPORTS_INTEGRITY_STREAMS : u32 = 67108864u32 ; pub const FILE_SUPPORTS_OBJECT_IDS : u32 = 65536u32 ; pub const FILE_SUPPORTS_OPEN_BY_FILE_ID : u32 = 16777216u32 ; pub const FILE_SUPPORTS_POSIX_UNLINK_RENAME : u32 = 1024u32 ; pub const FILE_SUPPORTS_REMOTE_STORAGE : u32 = 256u32 ; pub const FILE_SUPPORTS_REPARSE_POINTS : u32 = 128u32 ; pub const FILE_SUPPORTS_SPARSE_FILES : u32 = 64u32 ; pub const FILE_SUPPORTS_SPARSE_VDL : u32 = 268435456u32 ; pub const FILE_SUPPORTS_TRANSACTIONS : u32 = 2097152u32 ; pub const FILE_SUPPORTS_USN_JOURNAL : u32 = 33554432u32 ; pub const FILE_TYPE_NOTIFICATION_FLAG_USAGE_BEGIN : u32 = 1u32 ; pub const FILE_TYPE_NOTIFICATION_FLAG_USAGE_END : u32 = 2u32 ; pub const FILE_TYPE_NOTIFICATION_GUID_CRASHDUMP_FILE : :: windows :: Guid = :: windows :: Guid :: from_values ( 2638560951 ,53926 ,19901 , [ 162 ,227 ,251 ,208 ,237 ,145 ,9 ,169 ] , ) ; pub const FILE_TYPE_NOTIFICATION_GUID_HIBERNATION_FILE : :: windows :: Guid = :: windows :: Guid :: from_values ( 3076672868 ,47523 ,19704 , [ 128 ,17 ,91 ,134 ,201 ,64 ,231 ,183 ] , ) ; pub const FILE_TYPE_NOTIFICATION_GUID_PAGE_FILE : :: windows :: Guid = :: windows :: Guid :: from_values ( 218784929 ,14588 ,19896 , [ 159 ,231 ,63 ,67 ,82 ,205 ,124 ,92 ] , ) ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct FILE_TYPE_NOTIFICATION_INPUT { pub Flags : u32 , pub NumFileTypeIDs : u32 , pub FileTypeID : [ :: windows :: Guid ;1 ] } impl FILE_TYPE_NOTIFICATION_INPUT { } impl :: std :: default :: Default for FILE_TYPE_NOTIFICATION_INPUT { fn default ( ) -> Self { Self { Flags : 0 , NumFileTypeIDs : 0 , FileTypeID : [ :: std :: default :: Default :: default ( ) ;1 ] } } } impl :: std :: fmt :: Debug for FILE_TYPE_NOTIFICATION_INPUT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "FILE_TYPE_NOTIFICATION_INPUT" ) . field ( "Flags" , & self . Flags ) . field ( "NumFileTypeIDs" , & self . NumFileTypeIDs ) . field ( "FileTypeID" , & self . FileTypeID ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FILE_TYPE_NOTIFICATION_INPUT { fn eq ( & self , other : & Self ) -> bool { self . Flags == other . Flags && self . NumFileTypeIDs == other . NumFileTypeIDs && self . FileTypeID == other . FileTypeID } } impl :: std :: cmp :: Eq for FILE_TYPE_NOTIFICATION_INPUT { } unsafe impl :: windows :: Abi for FILE_TYPE_NOTIFICATION_INPUT { type Abi = Self ; type DefaultType = Self ; } pub const FILE_UNICODE_ON_DISK : u32 = 4u32 ; pub const FILE_VOLUME_IS_COMPRESSED : u32 = 32768u32 ; pub const FILE_VOLUME_QUOTAS : u32 = 32u32 ; pub const FILE_WRITE_ACCESS : u32 = 2u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct FILE_ZERO_DATA_INFORMATION_EX { pub FileOffset : i64 , pub BeyondFinalZero : i64 , pub Flags : u32 } impl FILE_ZERO_DATA_INFORMATION_EX { } impl :: std :: default :: Default for FILE_ZERO_DATA_INFORMATION_EX { fn default ( ) -> Self { Self { FileOffset : 0 , BeyondFinalZero : 0 , Flags : 0 } } } impl :: std :: fmt :: Debug for FILE_ZERO_DATA_INFORMATION_EX { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "FILE_ZERO_DATA_INFORMATION_EX" ) . field ( "FileOffset" , & self . FileOffset ) . field ( "BeyondFinalZero" , & self . BeyondFinalZero ) . field ( "Flags" , & self . Flags ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FILE_ZERO_DATA_INFORMATION_EX { fn eq ( & self , other : & Self ) -> bool { self . FileOffset == other . FileOffset && self . BeyondFinalZero == other . BeyondFinalZero && self . Flags == other . Flags } } impl :: std :: cmp :: Eq for FILE_ZERO_DATA_INFORMATION_EX { } unsafe impl :: windows :: Abi for FILE_ZERO_DATA_INFORMATION_EX { type Abi = Self ; type DefaultType = Self ; } pub const FILE_ZERO_DATA_INFORMATION_FLAG_PRESERVE_CACHED_DATA : u32 = 1u32 ; pub const FILL_NV_MEMORY_FLAG_FLUSH : u32 = 1u32 ; pub const FILL_NV_MEMORY_FLAG_NON_TEMPORAL : u32 = 2u32 ; pub const FILL_NV_MEMORY_FLAG_NO_DRAIN : u32 = 256u32 ; pub const FLAG_USN_TRACK_MODIFIED_RANGES_ENABLE : u32 = 1u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct FLOAT128 { pub LowPart : i64 , pub HighPart : i64 } impl FLOAT128 { } impl :: std :: default :: Default for FLOAT128 { fn default ( ) -> Self { Self { LowPart : 0 , HighPart : 0 } } } impl :: std :: fmt :: Debug for FLOAT128 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "FLOAT128" ) . field ( "LowPart" , & self . LowPart ) . field ( "HighPart" , & self . HighPart ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FLOAT128 { fn eq ( & self , other : & Self ) -> bool { self . LowPart == other . LowPart && self . HighPart == other . HighPart } } impl :: std :: cmp :: Eq for FLOAT128 { } unsafe impl :: windows :: Abi for FLOAT128 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union FLOAT_LONG { pub e : f32 , pub l : i32 } impl FLOAT_LONG { } impl :: std :: cmp :: PartialEq for FLOAT_LONG { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for FLOAT_LONG { } unsafe impl :: windows :: Abi for FLOAT_LONG { type Abi = Self ; type DefaultType = Self ; } pub const FLS_MAXIMUM_AVAILABLE : u32 = 4080u32 ; pub const FLUSH_FLAGS_FILE_DATA_ONLY : u32 = 1u32 ; pub const FLUSH_FLAGS_FILE_DATA_SYNC_ONLY : u32 = 4u32 ; pub const FLUSH_FLAGS_NO_SYNC : u32 = 2u32 ; pub const FLUSH_NV_MEMORY_IN_FLAG_NO_DRAIN : u32 = 1u32 ; pub const FL_NONPAGED_MEMORY : u32 = 2u32 ; pub const FL_NON_SESSION : u32 = 4u32 ; pub const FL_ZERO_MEMORY : u32 = 1u32 ; pub const FM_EDITABLE_EMBED : u32 = 8u32 ; pub const FM_INFO_16BPP : u32 = 256u32 ; pub const FM_INFO_1BPP : u32 = 32u32 ; pub const FM_INFO_24BPP : u32 = 512u32 ; pub const FM_INFO_32BPP : u32 = 1024u32 ; pub const FM_INFO_4BPP : u32 = 64u32 ; pub const FM_INFO_8BPP : u32 = 128u32 ; pub const FM_INFO_90DEGREE_ROTATIONS : u32 = 2097152u32 ; pub const FM_INFO_ANISOTROPIC_SCALING_ONLY : u32 = 33554432u32 ; pub const FM_INFO_ARB_XFORMS : u32 = 16u32 ; pub const FM_INFO_CONSTANT_WIDTH : u32 = 4096u32 ; pub const FM_INFO_DBCS_FIXED_PITCH : u32 = 268435456u32 ; pub const FM_INFO_DO_NOT_ENUMERATE : u32 = 8388608u32 ; pub const FM_INFO_DSIG : u32 = 262144u32 ; pub const FM_INFO_FAMILY_EQUIV : u32 = 134217728u32 ; pub const FM_INFO_IGNORE_TC_RA_ABLE : u32 = 1073741824u32 ; pub const FM_INFO_INTEGER_WIDTH : u32 = 2048u32 ; pub const FM_INFO_INTEGRAL_SCALING : u32 = 1048576u32 ; pub const FM_INFO_ISOTROPIC_SCALING_ONLY : u32 = 16777216u32 ; pub const FM_INFO_NONNEGATIVE_AC : u32 = 536870912u32 ; pub const FM_INFO_NOT_CONTIGUOUS : u32 = 8192u32 ; pub const FM_INFO_OPTICALLY_FIXED_PITCH : u32 = 4194304u32 ; pub const FM_INFO_RETURNS_BITMAPS : u32 = 131072u32 ; pub const FM_INFO_RETURNS_OUTLINES : u32 = 32768u32 ; pub const FM_INFO_RETURNS_STROKES : u32 = 65536u32 ; pub const FM_INFO_RIGHT_HANDED : u32 = 524288u32 ; pub const FM_INFO_TECH_BITMAP : u32 = 2u32 ; pub const FM_INFO_TECH_CFF : u32 = 67108864u32 ; pub const FM_INFO_TECH_MM : u32 = 16384u32 ; pub const FM_INFO_TECH_OUTLINE_NOT_TRUETYPE : u32 = 8u32 ; pub const FM_INFO_TECH_STROKE : u32 = 4u32 ; pub const FM_INFO_TECH_TRUETYPE : u32 = 1u32 ; pub const FM_INFO_TECH_TYPE1 : u32 = 2147483648u32 ; pub const FM_PANOSE_CULTURE_LATIN : u32 = 0u32 ; pub const FM_READONLY_EMBED : u32 = 4u32 ; pub const FM_SEL_BOLD : u32 = 32u32 ; pub const FM_SEL_ITALIC : u32 = 1u32 ; pub const FM_SEL_NEGATIVE : u32 = 4u32 ; pub const FM_SEL_OUTLINED : u32 = 8u32 ; pub const FM_SEL_REGULAR : u32 = 64u32 ; pub const FM_SEL_STRIKEOUT : u32 = 16u32 ; pub const FM_SEL_UNDERSCORE : u32 = 2u32 ; pub const FM_TYPE_LICENSED : u32 = 2u32 ; pub const FM_VERSION_NUMBER : u32 = 0u32 ; pub const FOREST_USER_RID_MAX : i32 = 499i32 ; pub const FO_ATTR_MODE_ROTATE : u32 = 1u32 ; pub const FO_CFF : u32 = 1048576u32 ; pub const FO_CLEARTYPENATURAL_X : u32 = 1073741824u32 ; pub const FO_CLEARTYPE_X : u32 = 268435456u32 ; pub const FO_CLEARTYPE_Y : u32 = 536870912u32 ; pub const FO_DBCS_FONT : u32 = 16777216u32 ; pub const FO_DEVICE_FONT : i32 = 1i32 ; pub const FO_EM_HEIGHT : u32 = 32768u32 ; pub const FO_GLYPHBITS : i32 = 1i32 ; pub const FO_GRAY16 : u32 = 65536u32 ; pub const FO_HGLYPHS : i32 = 0i32 ; pub const FO_MULTIPLEMASTER : u32 = 4194304u32 ; pub const FO_NOCLEARTYPE : u32 = 33554432u32 ; pub const FO_NOGRAY16 : u32 = 131072u32 ; pub const FO_NOHINTS : u32 = 262144u32 ; pub const FO_NO_CHOICE : u32 = 524288u32 ; pub const FO_OUTLINE_CAPABLE : i32 = 2i32 ; pub const FO_PATHOBJ : i32 = 2i32 ; pub const FO_POSTSCRIPT : u32 = 2097152u32 ; pub const FO_SIM_BOLD : u32 = 8192u32 ; pub const FO_SIM_ITALIC : u32 = 16384u32 ; pub const FO_VERT_FACE : u32 = 8388608u32 ; pub const FP_ALTERNATEMODE : i32 = 1i32 ; pub const FP_WINDINGMODE : i32 = 2i32 ; pub const FRAME_FPO : u32 = 0u32 ; pub const FRAME_NONFPO : u32 = 3u32 ; pub const FRAME_TRAP : u32 = 1u32 ; pub const FRAME_TSS : u32 = 2u32 ; pub type FREEOBJPROC = unsafe extern "system" fn ( pdriverobj : * mut super::super::UI::DisplayDevices:: DRIVEROBJ_abi ) -> super::super::Foundation:: BOOL ; pub const FSCTL_ADD_OVERLAY : u32 = 623408u32 ; pub const FSCTL_ADVANCE_FILE_ID : u32 = 590532u32 ; pub const FSCTL_ALLOW_EXTENDED_DASD_IO : u32 = 589955u32 ; pub const FSCTL_CLEAN_VOLUME_METADATA : u32 = 590716u32 ; pub const FSCTL_CORRUPTION_HANDLING : u32 = 590432u32 ; pub const FSCTL_CREATE_OR_GET_OBJECT_ID : u32 = 590016u32 ; pub const FSCTL_CREATE_USN_JOURNAL : u32 = 590055u32 ; pub const FSCTL_CSC_INTERNAL : u32 = 590255u32 ; pub const FSCTL_CSV_CONTROL : u32 = 590548u32 ; pub const FSCTL_CSV_GET_VOLUME_NAME_FOR_VOLUME_MOUNT_POINT : u32 = 590420u32 ; pub const FSCTL_CSV_GET_VOLUME_PATH_NAME : u32 = 590416u32 ; pub const FSCTL_CSV_GET_VOLUME_PATH_NAMES_FOR_VOLUME_NAME : u32 = 590424u32 ; pub const FSCTL_CSV_H_BREAKING_SYNC_TUNNEL_REQUEST : u32 = 590564u32 ; pub const FSCTL_CSV_INTERNAL : u32 = 590444u32 ; pub const FSCTL_CSV_MGMT_LOCK : u32 = 590524u32 ; pub const FSCTL_CSV_QUERY_DOWN_LEVEL_FILE_SYSTEM_CHARACTERISTICS : u32 = 590528u32 ; pub const FSCTL_CSV_QUERY_VETO_FILE_DIRECT_IO : u32 = 590540u32 ; pub const FSCTL_CSV_SYNC_TUNNEL_REQUEST : u32 = 590536u32 ; pub const FSCTL_CSV_TUNNEL_REQUEST : u32 = 590404u32 ; pub const FSCTL_DELETE_CORRUPTED_REFS_CONTAINER : u32 = 590836u32 ; pub const FSCTL_DELETE_EXTERNAL_BACKING : u32 = 590612u32 ; pub const FSCTL_DELETE_OBJECT_ID : u32 = 589984u32 ; pub const FSCTL_DELETE_REPARSE_POINT : u32 = 589996u32 ; pub const FSCTL_DELETE_USN_JOURNAL : u32 = 590072u32 ; pub const FSCTL_DFSR_SET_GHOST_HANDLE_STATE : u32 = 590264u32 ; pub const FSCTL_DISABLE_LOCAL_BUFFERING : u32 = 590520u32 ; pub const FSCTL_DISMOUNT_VOLUME : u32 = 589856u32 ; pub const FSCTL_DUPLICATE_EXTENTS_TO_FILE : u32 = 623428u32 ; pub const FSCTL_DUPLICATE_EXTENTS_TO_FILE_EX : u32 = 623592u32 ; pub const FSCTL_ENABLE_PER_IO_FLAGS : u32 = 590892u32 ; pub const FSCTL_ENABLE_UPGRADE : u32 = 622800u32 ; pub const FSCTL_ENCRYPTION_FSCTL_IO : u32 = 590043u32 ; pub const FSCTL_ENCRYPTION_KEY_CONTROL : u32 = 590852u32 ; pub const FSCTL_ENUM_EXTERNAL_BACKING : u32 = 590616u32 ; pub const FSCTL_ENUM_OVERLAY : u32 = 590623u32 ; pub const FSCTL_ENUM_USN_DATA : u32 = 590003u32 ; pub const FSCTL_EXTEND_VOLUME : u32 = 590064u32 ; pub const FSCTL_FILESYSTEM_GET_STATISTICS : u32 = 589920u32 ; pub const FSCTL_FILESYSTEM_GET_STATISTICS_EX : u32 = 590732u32 ; pub const FSCTL_FILE_LEVEL_TRIM : u32 = 623112u32 ; pub const FSCTL_FILE_PREFETCH : u32 = 590112u32 ; pub const FSCTL_FILE_TYPE_NOTIFICATION : u32 = 590340u32 ; pub const FSCTL_FIND_FILES_BY_SID : u32 = 589967u32 ; pub const FSCTL_GET_BOOT_AREA_INFO : u32 = 590384u32 ; pub const FSCTL_GET_COMPRESSION : u32 = 589884u32 ; pub const FSCTL_GET_EXTERNAL_BACKING : u32 = 590608u32 ; pub const FSCTL_GET_INTEGRITY_INFORMATION : u32 = 590460u32 ; pub const FSCTL_GET_NTFS_FILE_RECORD : u32 = 589928u32 ; pub const FSCTL_GET_NTFS_VOLUME_DATA : u32 = 589924u32 ; pub const FSCTL_GET_OBJECT_ID : u32 = 589980u32 ; pub const FSCTL_GET_REFS_VOLUME_DATA : u32 = 590552u32 ; pub const FSCTL_GET_REPAIR : u32 = 590236u32 ; pub const FSCTL_GET_REPARSE_POINT : u32 = 589992u32 ; pub const FSCTL_GET_RETRIEVAL_POINTERS : u32 = 589939u32 ; pub const FSCTL_GET_RETRIEVAL_POINTERS_AND_REFCOUNT : u32 = 590803u32 ; pub const FSCTL_GET_RETRIEVAL_POINTER_BASE : u32 = 590388u32 ; pub const FSCTL_GET_RETRIEVAL_POINTER_COUNT : u32 = 590891u32 ; pub const FSCTL_GET_VOLUME_BITMAP : u32 = 589935u32 ; pub const FSCTL_GET_WOF_VERSION : u32 = 590696u32 ; pub const FSCTL_GHOST_FILE_EXTENTS : u32 = 623532u32 ; pub const FSCTL_HCS_ASYNC_TUNNEL_REQUEST : u32 = 590704u32 ; pub const FSCTL_HCS_SYNC_NO_WRITE_TUNNEL_REQUEST : u32 = 590776u32 ; pub const FSCTL_HCS_SYNC_TUNNEL_REQUEST : u32 = 590700u32 ; pub const FSCTL_INITIATE_FILE_METADATA_OPTIMIZATION : u32 = 590684u32 ; pub const FSCTL_INITIATE_REPAIR : u32 = 590248u32 ; pub const FSCTL_INTEGRITY_FLAG_CHECKSUM_ENFORCEMENT_OFF : u32 = 1u32 ; pub const FSCTL_INVALIDATE_VOLUMES : u32 = 589908u32 ; pub const FSCTL_IS_CSV_FILE : u32 = 590408u32 ; pub const FSCTL_IS_FILE_ON_CSV_VOLUME : u32 = 590428u32 ; pub const FSCTL_IS_PATHNAME_VALID : u32 = 589868u32 ; pub const FSCTL_IS_VOLUME_DIRTY : u32 = 589944u32 ; pub const FSCTL_IS_VOLUME_MOUNTED : u32 = 589864u32 ; pub const FSCTL_IS_VOLUME_OWNED_BYCSVFS : u32 = 590456u32 ; pub const FSCTL_LOCK_VOLUME : u32 = 589848u32 ; pub const FSCTL_LOOKUP_STREAM_FROM_CLUSTER : u32 = 590332u32 ; pub const FSCTL_MAKE_MEDIA_COMPATIBLE : u32 = 622896u32 ; pub const FSCTL_MARK_HANDLE : u32 = 590076u32 ; pub const FSCTL_MARK_VOLUME_DIRTY : u32 = 589872u32 ; pub const FSCTL_MOVE_FILE : u32 = 589940u32 ; pub const FSCTL_NOTIFY_DATA_CHANGE : u32 = 590844u32 ; pub const FSCTL_NOTIFY_STORAGE_SPACE_ALLOCATION : u32 = 590748u32 ; pub const FSCTL_OFFLOAD_READ : u32 = 606820u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct FSCTL_OFFLOAD_READ_INPUT { pub Size : u32 , pub Flags : u32 , pub TokenTimeToLive : u32 , pub Reserved : u32 , pub FileOffset : u64 , pub CopyLength : u64 } impl FSCTL_OFFLOAD_READ_INPUT { } impl :: std :: default :: Default for FSCTL_OFFLOAD_READ_INPUT { fn default ( ) -> Self { Self { Size : 0 , Flags : 0 , TokenTimeToLive : 0 , Reserved : 0 , FileOffset : 0 , CopyLength : 0 } } } impl :: std :: fmt :: Debug for FSCTL_OFFLOAD_READ_INPUT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "FSCTL_OFFLOAD_READ_INPUT" ) . field ( "Size" , & self . Size ) . field ( "Flags" , & self . Flags ) . field ( "TokenTimeToLive" , & self . TokenTimeToLive ) . field ( "Reserved" , & self . Reserved ) . field ( "FileOffset" , & self . FileOffset ) . field ( "CopyLength" , & self . CopyLength ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FSCTL_OFFLOAD_READ_INPUT { fn eq ( & self , other : & Self ) -> bool { self . Size == other . Size && self . Flags == other . Flags && self . TokenTimeToLive == other . TokenTimeToLive && self . Reserved == other . Reserved && self . FileOffset == other . FileOffset && self . CopyLength == other . CopyLength } } impl :: std :: cmp :: Eq for FSCTL_OFFLOAD_READ_INPUT { } unsafe impl :: windows :: Abi for FSCTL_OFFLOAD_READ_INPUT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct FSCTL_OFFLOAD_READ_OUTPUT { pub Size : u32 , pub Flags : u32 , pub TransferLength : u64 , pub Token : [ u8 ;512 ] } impl FSCTL_OFFLOAD_READ_OUTPUT { } impl :: std :: default :: Default for FSCTL_OFFLOAD_READ_OUTPUT { fn default ( ) -> Self { Self { Size : 0 , Flags : 0 , TransferLength : 0 , Token : [ 0 ;512 ] } } } impl :: std :: fmt :: Debug for FSCTL_OFFLOAD_READ_OUTPUT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "FSCTL_OFFLOAD_READ_OUTPUT" ) . field ( "Size" , & self . Size ) . field ( "Flags" , & self . Flags ) . field ( "TransferLength" , & self . TransferLength ) . field ( "Token" , & self . Token ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FSCTL_OFFLOAD_READ_OUTPUT { fn eq ( & self , other : & Self ) -> bool { self . Size == other . Size && self . Flags == other . Flags && self . TransferLength == other . TransferLength && self . Token == other . Token } } impl :: std :: cmp :: Eq for FSCTL_OFFLOAD_READ_OUTPUT { } unsafe impl :: windows :: Abi for FSCTL_OFFLOAD_READ_OUTPUT { type Abi = Self ; type DefaultType = Self ; } pub const FSCTL_OFFLOAD_WRITE : u32 = 623208u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct FSCTL_OFFLOAD_WRITE_INPUT { pub Size : u32 , pub Flags : u32 , pub FileOffset : u64 , pub CopyLength : u64 , pub TransferOffset : u64 , pub Token : [ u8 ;512 ] } impl FSCTL_OFFLOAD_WRITE_INPUT { } impl :: std :: default :: Default for FSCTL_OFFLOAD_WRITE_INPUT { fn default ( ) -> Self { Self { Size : 0 , Flags : 0 , FileOffset : 0 , CopyLength : 0 , TransferOffset : 0 , Token : [ 0 ;512 ] } } } impl :: std :: fmt :: Debug for FSCTL_OFFLOAD_WRITE_INPUT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "FSCTL_OFFLOAD_WRITE_INPUT" ) . field ( "Size" , & self . Size ) . field ( "Flags" , & self . Flags ) . field ( "FileOffset" , & self . FileOffset ) . field ( "CopyLength" , & self . CopyLength ) . field ( "TransferOffset" , & self . TransferOffset ) . field ( "Token" , & self . Token ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FSCTL_OFFLOAD_WRITE_INPUT { fn eq ( & self , other : & Self ) -> bool { self . Size == other . Size && self . Flags == other . Flags && self . FileOffset == other . FileOffset && self . CopyLength == other . CopyLength && self . TransferOffset == other . TransferOffset && self . Token == other . Token } } impl :: std :: cmp :: Eq for FSCTL_OFFLOAD_WRITE_INPUT { } unsafe impl :: windows :: Abi for FSCTL_OFFLOAD_WRITE_INPUT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct FSCTL_OFFLOAD_WRITE_OUTPUT { pub Size : u32 , pub Flags : u32 , pub LengthWritten : u64 } impl FSCTL_OFFLOAD_WRITE_OUTPUT { } impl :: std :: default :: Default for FSCTL_OFFLOAD_WRITE_OUTPUT { fn default ( ) -> Self { Self { Size : 0 , Flags : 0 , LengthWritten : 0 } } } impl :: std :: fmt :: Debug for FSCTL_OFFLOAD_WRITE_OUTPUT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "FSCTL_OFFLOAD_WRITE_OUTPUT" ) . field ( "Size" , & self . Size ) . field ( "Flags" , & self . Flags ) . field ( "LengthWritten" , & self . LengthWritten ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FSCTL_OFFLOAD_WRITE_OUTPUT { fn eq ( & self , other : & Self ) -> bool { self . Size == other . Size && self . Flags == other . Flags && self . LengthWritten == other . LengthWritten } } impl :: std :: cmp :: Eq for FSCTL_OFFLOAD_WRITE_OUTPUT { } unsafe impl :: windows :: Abi for FSCTL_OFFLOAD_WRITE_OUTPUT { type Abi = Self ; type DefaultType = Self ; } pub const FSCTL_OPBATCH_ACK_CLOSE_PENDING : u32 = 589840u32 ; pub const FSCTL_OPLOCK_BREAK_ACKNOWLEDGE : u32 = 589836u32 ; pub const FSCTL_OPLOCK_BREAK_ACK_NO_2 : u32 = 589904u32 ; pub const FSCTL_OPLOCK_BREAK_NOTIFY : u32 = 589844u32 ; pub const FSCTL_QUERY_ALLOCATED_RANGES : u32 = 606415u32 ; pub const FSCTL_QUERY_BAD_RANGES : u32 = 590828u32 ; pub const FSCTL_QUERY_DEPENDENT_VOLUME : u32 = 590320u32 ; pub const FSCTL_QUERY_DIRECT_ACCESS_EXTENTS : u32 = 590747u32 ; pub const FSCTL_QUERY_DIRECT_IMAGE_ORIGINAL_BASE : u32 = 590756u32 ; pub const FSCTL_QUERY_EXTENT_READ_CACHE_INFO : u32 = 590711u32 ; pub const FSCTL_QUERY_FAT_BPB : u32 = 589912u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct FSCTL_QUERY_FAT_BPB_BUFFER { pub First0x24BytesOfBootSector : [ u8 ;36 ] } impl FSCTL_QUERY_FAT_BPB_BUFFER { } impl :: std :: default :: Default for FSCTL_QUERY_FAT_BPB_BUFFER { fn default ( ) -> Self { Self { First0x24BytesOfBootSector : [ 0 ;36 ] } } } impl :: std :: fmt :: Debug for FSCTL_QUERY_FAT_BPB_BUFFER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "FSCTL_QUERY_FAT_BPB_BUFFER" ) . field ( "First0x24BytesOfBootSector" , & self . First0x24BytesOfBootSector ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FSCTL_QUERY_FAT_BPB_BUFFER { fn eq ( & self , other : & Self ) -> bool { self . First0x24BytesOfBootSector == other . First0x24BytesOfBootSector } } impl :: std :: cmp :: Eq for FSCTL_QUERY_FAT_BPB_BUFFER { } unsafe impl :: windows :: Abi for FSCTL_QUERY_FAT_BPB_BUFFER { type Abi = Self ; type DefaultType = Self ; } pub const FSCTL_QUERY_FILE_LAYOUT : u32 = 590455u32 ; pub const FSCTL_QUERY_FILE_METADATA_OPTIMIZATION : u32 = 590688u32 ; pub const FSCTL_QUERY_FILE_REGIONS : u32 = 590468u32 ; pub const FSCTL_QUERY_FILE_SYSTEM_RECOGNITION : u32 = 590412u32 ; pub const FSCTL_QUERY_GHOSTED_FILE_EXTENTS : u32 = 590768u32 ; pub const FSCTL_QUERY_ON_DISK_VOLUME_INFO : u32 = 590140u32 ; pub const FSCTL_QUERY_PAGEFILE_ENCRYPTION : u32 = 590312u32 ; pub const FSCTL_QUERY_PERSISTENT_VOLUME_STATE : u32 = 590396u32 ; pub const FSCTL_QUERY_REFS_SMR_VOLUME_INFO : u32 = 590812u32 ; pub const FSCTL_QUERY_REFS_VOLUME_COUNTER_INFO : u32 = 590715u32 ; pub const FSCTL_QUERY_REGION_INFO : u32 = 590576u32 ; pub const FSCTL_QUERY_RETRIEVAL_POINTERS : u32 = 589883u32 ; pub const FSCTL_QUERY_SHARED_VIRTUAL_DISK_SUPPORT : u32 = 590592u32 ; pub const FSCTL_QUERY_SPARING_INFO : u32 = 590136u32 ; pub const FSCTL_QUERY_STORAGE_CLASSES : u32 = 590572u32 ; pub const FSCTL_QUERY_USN_JOURNAL : u32 = 590068u32 ; pub const FSCTL_QUERY_VOLUME_CONTAINER_STATE : u32 = 590736u32 ; pub const FSCTL_QUERY_VOLUME_NUMA_INFO : u32 = 590804u32 ; pub const FSCTL_READ_FILE_USN_DATA : u32 = 590059u32 ; pub const FSCTL_READ_FROM_PLEX : u32 = 606494u32 ; pub const FSCTL_READ_RAW_ENCRYPTED : u32 = 590051u32 ; pub const FSCTL_READ_UNPRIVILEGED_USN_JOURNAL : u32 = 590763u32 ; pub const FSCTL_READ_USN_JOURNAL : u32 = 590011u32 ; pub const FSCTL_REARRANGE_FILE : u32 = 640032u32 ; pub const FSCTL_RECALL_FILE : u32 = 590103u32 ; pub const FSCTL_REFS_DEALLOCATE_RANGES : u32 = 590808u32 ; pub const FSCTL_REMOVE_OVERLAY : u32 = 623412u32 ; pub const FSCTL_REPAIR_COPIES : u32 = 639668u32 ; pub const FSCTL_REQUEST_BATCH_OPLOCK : u32 = 589832u32 ; pub const FSCTL_REQUEST_FILTER_OPLOCK : u32 = 589916u32 ; pub const FSCTL_REQUEST_OPLOCK : u32 = 590400u32 ; pub const FSCTL_REQUEST_OPLOCK_LEVEL_1 : u32 = 589824u32 ; pub const FSCTL_REQUEST_OPLOCK_LEVEL_2 : u32 = 589828u32 ; pub const FSCTL_RESET_VOLUME_ALLOCATION_HINTS : u32 = 590316u32 ; pub const FSCTL_RKF_INTERNAL : u32 = 590511u32 ; pub const FSCTL_SCRUB_DATA : u32 = 590512u32 ; pub const FSCTL_SCRUB_UNDISCOVERABLE_ID : u32 = 590840u32 ; pub const FSCTL_SD_GLOBAL_CHANGE : u32 = 590324u32 ; pub const FSCTL_SECURITY_ID_CHECK : u32 = 606391u32 ; pub const FSCTL_SET_BOOTLOADER_ACCESSED : u32 = 589903u32 ; pub const FSCTL_SET_COMPRESSION : u32 = 639040u32 ; pub const FSCTL_SET_DAX_ALLOC_ALIGNMENT_HINT : u32 = 590832u32 ; pub const FSCTL_SET_DEFECT_MANAGEMENT : u32 = 622900u32 ; pub const FSCTL_SET_ENCRYPTION : u32 = 590039u32 ; pub const FSCTL_SET_EXTERNAL_BACKING : u32 = 590604u32 ; pub const FSCTL_SET_INTEGRITY_INFORMATION : u32 = 639616u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct FSCTL_SET_INTEGRITY_INFORMATION_BUFFER_EX { pub EnableIntegrity : u8 , pub KeepIntegrityStateUnchanged : u8 , pub Reserved : u16 , pub Flags : u32 , pub Version : u8 , pub Reserved2 : [ u8 ;7 ] } impl FSCTL_SET_INTEGRITY_INFORMATION_BUFFER_EX { } impl :: std :: default :: Default for FSCTL_SET_INTEGRITY_INFORMATION_BUFFER_EX { fn default ( ) -> Self { Self { EnableIntegrity : 0 , KeepIntegrityStateUnchanged : 0 , Reserved : 0 , Flags : 0 , Version : 0 , Reserved2 : [ 0 ;7 ] } } } impl :: std :: fmt :: Debug for FSCTL_SET_INTEGRITY_INFORMATION_BUFFER_EX { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "FSCTL_SET_INTEGRITY_INFORMATION_BUFFER_EX" ) . field ( "EnableIntegrity" , & self . EnableIntegrity ) . field ( "KeepIntegrityStateUnchanged" , & self . KeepIntegrityStateUnchanged ) . field ( "Reserved" , & self . Reserved ) . field ( "Flags" , & self . Flags ) . field ( "Version" , & self . Version ) . field ( "Reserved2" , & self . Reserved2 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FSCTL_SET_INTEGRITY_INFORMATION_BUFFER_EX { fn eq ( & self , other : & Self ) -> bool { self . EnableIntegrity == other . EnableIntegrity && self . KeepIntegrityStateUnchanged == other . KeepIntegrityStateUnchanged && self . Reserved == other . Reserved && self . Flags == other . Flags && self . Version == other . Version && self . Reserved2 == other . Reserved2 } } impl :: std :: cmp :: Eq for FSCTL_SET_INTEGRITY_INFORMATION_BUFFER_EX { } unsafe impl :: windows :: Abi for FSCTL_SET_INTEGRITY_INFORMATION_BUFFER_EX { type Abi = Self ; type DefaultType = Self ; } pub const FSCTL_SET_INTEGRITY_INFORMATION_EX : u32 = 590720u32 ; pub const FSCTL_SET_LAYER_ROOT : u32 = 590740u32 ; pub const FSCTL_SET_OBJECT_ID : u32 = 589976u32 ; pub const FSCTL_SET_OBJECT_ID_EXTENDED : u32 = 590012u32 ; pub const FSCTL_SET_PERSISTENT_VOLUME_STATE : u32 = 590392u32 ; pub const FSCTL_SET_PURGE_FAILURE_MODE : u32 = 590448u32 ; pub const FSCTL_SET_REFS_FILE_STRICTLY_SEQUENTIAL : u32 = 590820u32 ; pub const FSCTL_SET_REFS_SMR_VOLUME_GC_PARAMETERS : u32 = 590816u32 ; pub const FSCTL_SET_REPAIR : u32 = 590232u32 ; pub const FSCTL_SET_REPARSE_POINT : u32 = 589988u32 ; pub const FSCTL_SET_REPARSE_POINT_EX : u32 = 590860u32 ; pub const FSCTL_SET_SHORT_NAME_BEHAVIOR : u32 = 590260u32 ; pub const FSCTL_SET_SPARSE : u32 = 590020u32 ; pub const FSCTL_SET_VOLUME_COMPRESSION_STATE : u32 = 590144u32 ; pub const FSCTL_SET_ZERO_DATA : u32 = 622792u32 ; pub const FSCTL_SET_ZERO_ON_DEALLOCATION : u32 = 590228u32 ; pub const FSCTL_SHRINK_VOLUME : u32 = 590256u32 ; pub const FSCTL_SHUFFLE_FILE : u32 = 639808u32 ; pub const FSCTL_SIS_COPYFILE : u32 = 590080u32 ; pub const FSCTL_SIS_LINK_FILES : u32 = 639236u32 ; pub const FSCTL_SPARSE_OVERALLOCATE : u32 = 590668u32 ; pub const FSCTL_SSDI_STORAGE_REQUEST : u32 = 590752u32 ; pub const FSCTL_START_VIRTUALIZATION_INSTANCE_EX : u32 = 590848u32 ; pub const FSCTL_STORAGE_QOS_CONTROL : u32 = 590672u32 ; pub const FSCTL_STREAMS_ASSOCIATE_ID : u32 = 590792u32 ; pub const FSCTL_STREAMS_QUERY_ID : u32 = 590796u32 ; pub const FSCTL_STREAMS_QUERY_PARAMETERS : u32 = 590788u32 ; pub const FSCTL_SUSPEND_OVERLAY : u32 = 590724u32 ; pub const FSCTL_SVHDX_ASYNC_TUNNEL_REQUEST : u32 = 590692u32 ; pub const FSCTL_SVHDX_SET_INITIATOR_INFORMATION : u32 = 590600u32 ; pub const FSCTL_SVHDX_SYNC_TUNNEL_REQUEST : u32 = 590596u32 ; pub const FSCTL_TXFS_CREATE_MINIVERSION : u32 = 622972u32 ; pub const FSCTL_TXFS_CREATE_SECONDARY_RM : u32 = 622952u32 ; pub const FSCTL_TXFS_GET_METADATA_INFO : u32 = 606572u32 ; pub const FSCTL_TXFS_GET_TRANSACTED_VERSION : u32 = 606576u32 ; pub const FSCTL_TXFS_LIST_TRANSACTIONS : u32 = 606692u32 ; pub const FSCTL_TXFS_LIST_TRANSACTION_LOCKED_FILES : u32 = 606688u32 ; pub const FSCTL_TXFS_MODIFY_RM : u32 = 622916u32 ; pub const FSCTL_TXFS_QUERY_RM_INFORMATION : u32 = 606536u32 ; pub const FSCTL_TXFS_READ_BACKUP_INFORMATION : u32 = 606560u32 ; pub const FSCTL_TXFS_READ_BACKUP_INFORMATION2 : u32 = 590328u32 ; pub const FSCTL_TXFS_ROLLFORWARD_REDO : u32 = 622928u32 ; pub const FSCTL_TXFS_ROLLFORWARD_UNDO : u32 = 622932u32 ; pub const FSCTL_TXFS_SAVEPOINT_INFORMATION : u32 = 622968u32 ; pub const FSCTL_TXFS_SHUTDOWN_RM : u32 = 622940u32 ; pub const FSCTL_TXFS_START_RM : u32 = 622936u32 ; pub const FSCTL_TXFS_TRANSACTION_ACTIVE : u32 = 606604u32 ; pub const FSCTL_TXFS_WRITE_BACKUP_INFORMATION : u32 = 622948u32 ; pub const FSCTL_TXFS_WRITE_BACKUP_INFORMATION2 : u32 = 590336u32 ; pub const FSCTL_UNLOCK_VOLUME : u32 = 589852u32 ; pub const FSCTL_UNMAP_SPACE : u32 = 590772u32 ; pub const FSCTL_UPDATE_OVERLAY : u32 = 623416u32 ; pub const FSCTL_USN_TRACK_MODIFIED_RANGES : u32 = 590580u32 ; pub const FSCTL_VIRTUAL_STORAGE_PASSTHROUGH : u32 = 590884u32 ; pub const FSCTL_VIRTUAL_STORAGE_QUERY_PROPERTY : u32 = 590728u32 ; pub const FSCTL_VIRTUAL_STORAGE_SET_BEHAVIOR : u32 = 590856u32 ; pub const FSCTL_WAIT_FOR_REPAIR : u32 = 590240u32 ; pub const FSCTL_WRITE_RAW_ENCRYPTED : u32 = 590047u32 ; pub const FSCTL_WRITE_USN_CLOSE_RECORD : u32 = 590063u32 ; pub const FSCTL_WRITE_USN_REASON : u32 = 590544u32 ; pub const FW_ISSUEID_NO_ISSUE : u32 = 0u32 ; pub const FW_ISSUEID_UNKNOWN : u32 = 4294967295u32 ; pub const GCAPS2_ACC_DRIVER : u32 = 32768u32 ; pub const GCAPS2_ALPHACURSOR : u32 = 32u32 ; pub const GCAPS2_BITMAPEXREUSE : u32 = 65536u32 ; pub const GCAPS2_CHANGEGAMMARAMP : u32 = 16u32 ; pub const GCAPS2_CLEARTYPE : u32 = 16384u32 ; pub const GCAPS2_EXCLUDELAYERED : u32 = 2048u32 ; pub const GCAPS2_ICD_MULTIMON : u32 = 256u32 ; pub const GCAPS2_INCLUDEAPIBITMAPS : u32 = 4096u32 ; pub const GCAPS2_JPEGSRC : u32 = 1u32 ; pub const GCAPS2_MOUSETRAILS : u32 = 512u32 ; pub const GCAPS2_PNGSRC : u32 = 8u32 ; pub const GCAPS2_REMOTEDRIVER : u32 = 1024u32 ; pub const GCAPS2_RESERVED1 : u32 = 1024u32 ; pub const GCAPS2_SHOWHIDDENPOINTER : u32 = 8192u32 ; pub const GCAPS2_SYNCFLUSH : u32 = 64u32 ; pub const GCAPS2_SYNCTIMER : u32 = 128u32 ; pub const GCAPS2_xxxx : u32 = 2u32 ; pub const GCAPS_ALTERNATEFILL : u32 = 4u32 ; pub const GCAPS_ARBRUSHOPAQUE : u32 = 32768u32 ; pub const GCAPS_ARBRUSHTEXT : u32 = 268435456u32 ; pub const GCAPS_ASYNCCHANGE : u32 = 2048u32 ; pub const GCAPS_ASYNCMOVE : u32 = 4096u32 ; pub const GCAPS_BEZIERS : u32 = 1u32 ; pub const GCAPS_CMYKCOLOR : u32 = 67108864u32 ; pub const GCAPS_COLOR_DITHER : u32 = 32u32 ; pub const GCAPS_DIRECTDRAW : u32 = 16384u32 ; pub const GCAPS_DITHERONREALIZE : u32 = 2097152u32 ; pub const GCAPS_DONTJOURNAL : u32 = 8192u32 ; pub const GCAPS_FONT_RASTERIZER : u32 = 1073741824u32 ; pub const GCAPS_FORCEDITHER : u32 = 8388608u32 ; pub const GCAPS_GEOMETRICWIDE : u32 = 2u32 ; pub const GCAPS_GRAY16 : u32 = 16777216u32 ; pub const GCAPS_HALFTONE : u32 = 16u32 ; pub const GCAPS_HIGHRESTEXT : u32 = 262144u32 ; pub const GCAPS_HORIZSTRIKE : u32 = 64u32 ; pub const GCAPS_ICM : u32 = 33554432u32 ; pub const GCAPS_LAYERED : u32 = 134217728u32 ; pub const GCAPS_MONO_DITHER : u32 = 1024u32 ; pub const GCAPS_NO64BITMEMACCESS : u32 = 4194304u32 ; pub const GCAPS_NUP : u32 = 2147483648u32 ; pub const GCAPS_OPAQUERECT : u32 = 256u32 ; pub const GCAPS_PALMANAGED : u32 = 524288u32 ; pub const GCAPS_PANNING : u32 = 65536u32 ; pub const GCAPS_SCREENPRECISION : u32 = 536870912u32 ; pub const GCAPS_VECTORFONT : u32 = 512u32 ; pub const GCAPS_VERTSTRIKE : u32 = 128u32 ; pub const GCAPS_WINDINGFILL : u32 = 8u32 ; pub const GDI_DRIVER_VERSION : u32 = 16384u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct GDI_NONREMOTE { pub fContext : i32 , pub u : GDI_NONREMOTE_0 } impl GDI_NONREMOTE { } impl :: std :: cmp :: PartialEq for GDI_NONREMOTE { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for GDI_NONREMOTE { } unsafe impl :: windows :: Abi for GDI_NONREMOTE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union GDI_NONREMOTE_0 { pub hInproc : i32 , pub hRemote : * mut super::Com:: DWORD_BLOB } impl GDI_NONREMOTE_0 { } impl :: std :: cmp :: PartialEq for GDI_NONREMOTE_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for GDI_NONREMOTE_0 { } unsafe impl :: windows :: Abi for GDI_NONREMOTE_0 { type Abi = Self ; type DefaultType = Self ; } pub const GENERIC_ALL : u32 = 268435456u32 ; pub const GENERIC_EXECUTE : u32 = 536870912u32 ; pub const GENERIC_READ : u32 = 2147483648u32 ; pub const GENERIC_WRITE : u32 = 1073741824u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct GESTURECONFIG_FLAGS ( pub u32 ) ; pub const GC_ALLGESTURES : GESTURECONFIG_FLAGS = GESTURECONFIG_FLAGS ( 1u32 ) ; pub const GC_ZOOM : GESTURECONFIG_FLAGS = GESTURECONFIG_FLAGS ( 1u32 ) ; pub const GC_PAN : GESTURECONFIG_FLAGS = GESTURECONFIG_FLAGS ( 1u32 ) ; pub const GC_PAN_WITH_SINGLE_FINGER_VERTICALLY : GESTURECONFIG_FLAGS = GESTURECONFIG_FLAGS ( 2u32 ) ; pub const GC_PAN_WITH_SINGLE_FINGER_HORIZONTALLY : GESTURECONFIG_FLAGS = GESTURECONFIG_FLAGS ( 4u32 ) ; pub const GC_PAN_WITH_GUTTER : GESTURECONFIG_FLAGS = GESTURECONFIG_FLAGS ( 8u32 ) ; pub const GC_PAN_WITH_INERTIA : GESTURECONFIG_FLAGS = GESTURECONFIG_FLAGS ( 16u32 ) ; pub const GC_ROTATE : GESTURECONFIG_FLAGS = GESTURECONFIG_FLAGS ( 1u32 ) ; pub const GC_TWOFINGERTAP : GESTURECONFIG_FLAGS = GESTURECONFIG_FLAGS ( 1u32 ) ; pub const GC_PRESSANDTAP : GESTURECONFIG_FLAGS = GESTURECONFIG_FLAGS ( 1u32 ) ; pub const GC_ROLLOVER : GESTURECONFIG_FLAGS = GESTURECONFIG_FLAGS ( 1u32 ) ; impl :: std :: convert :: From < u32 > for GESTURECONFIG_FLAGS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for GESTURECONFIG_FLAGS { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for GESTURECONFIG_FLAGS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for GESTURECONFIG_FLAGS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for GESTURECONFIG_FLAGS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for GESTURECONFIG_FLAGS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 1 ) ) ] pub struct GETVERSIONINPARAMS { pub bVersion : u8 , pub bRevision : u8 , pub bReserved : u8 , pub bIDEDeviceMap : u8 , pub fCapabilities : u32 , pub dwReserved : [ u32 ;4 ] } impl GETVERSIONINPARAMS { } impl :: std :: cmp :: PartialEq for GETVERSIONINPARAMS { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for GETVERSIONINPARAMS { } unsafe impl :: windows :: Abi for GETVERSIONINPARAMS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct GET_CHANGER_PARAMETERS { pub Size : u32 , pub NumberTransportElements : u16 , pub NumberStorageElements : u16 , pub NumberCleanerSlots : u16 , pub NumberIEElements : u16 , pub NumberDataTransferElements : u16 , pub NumberOfDoors : u16 , pub FirstSlotNumber : u16 , pub FirstDriveNumber : u16 , pub FirstTransportNumber : u16 , pub FirstIEPortNumber : u16 , pub FirstCleanerSlotAddress : u16 , pub MagazineSize : u16 , pub DriveCleanTimeout : u32 , pub Features0 : CHANGER_FEATURES , pub Features1 : GET_CHANGER_PARAMETERS_FEATURES1 , pub MoveFromTransport : u8 , pub MoveFromSlot : u8 , pub MoveFromIePort : u8 , pub MoveFromDrive : u8 , pub ExchangeFromTransport : u8 , pub ExchangeFromSlot : u8 , pub ExchangeFromIePort : u8 , pub ExchangeFromDrive : u8 , pub LockUnlockCapabilities : u8 , pub PositionCapabilities : u8 , pub Reserved1 : [ u8 ;2 ] , pub Reserved2 : [ u32 ;2 ] } impl GET_CHANGER_PARAMETERS { } impl :: std :: default :: Default for GET_CHANGER_PARAMETERS { fn default ( ) -> Self { Self { Size : 0 , NumberTransportElements : 0 , NumberStorageElements : 0 , NumberCleanerSlots : 0 , NumberIEElements : 0 , NumberDataTransferElements : 0 , NumberOfDoors : 0 , FirstSlotNumber : 0 , FirstDriveNumber : 0 , FirstTransportNumber : 0 , FirstIEPortNumber : 0 , FirstCleanerSlotAddress : 0 , MagazineSize : 0 , DriveCleanTimeout : 0 , Features0 : :: std :: default :: Default :: default ( ) , Features1 : :: std :: default :: Default :: default ( ) , MoveFromTransport : 0 , MoveFromSlot : 0 , MoveFromIePort : 0 , MoveFromDrive : 0 , ExchangeFromTransport : 0 , ExchangeFromSlot : 0 , ExchangeFromIePort : 0 , ExchangeFromDrive : 0 , LockUnlockCapabilities : 0 , PositionCapabilities : 0 , Reserved1 : [ 0 ;2 ] , Reserved2 : [ 0 ;2 ] } } } impl :: std :: fmt :: Debug for GET_CHANGER_PARAMETERS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "GET_CHANGER_PARAMETERS" ) . field ( "Size" , & self . Size ) . field ( "NumberTransportElements" , & self . NumberTransportElements ) . field ( "NumberStorageElements" , & self . NumberStorageElements ) . field ( "NumberCleanerSlots" , & self . NumberCleanerSlots ) . field ( "NumberIEElements" , & self . NumberIEElements ) . field ( "NumberDataTransferElements" , & self . NumberDataTransferElements ) . field ( "NumberOfDoors" , & self . NumberOfDoors ) . field ( "FirstSlotNumber" , & self . FirstSlotNumber ) . field ( "FirstDriveNumber" , & self . FirstDriveNumber ) . field ( "FirstTransportNumber" , & self . FirstTransportNumber ) . field ( "FirstIEPortNumber" , & self . FirstIEPortNumber ) . field ( "FirstCleanerSlotAddress" , & self . FirstCleanerSlotAddress ) . field ( "MagazineSize" , & self . MagazineSize ) . field ( "DriveCleanTimeout" , & self . DriveCleanTimeout ) . field ( "Features0" , & self . Features0 ) . field ( "Features1" , & self . Features1 ) . field ( "MoveFromTransport" , & self . MoveFromTransport ) . field ( "MoveFromSlot" , & self . MoveFromSlot ) . field ( "MoveFromIePort" , & self . MoveFromIePort ) . field ( "MoveFromDrive" , & self . MoveFromDrive ) . field ( "ExchangeFromTransport" , & self . ExchangeFromTransport ) . field ( "ExchangeFromSlot" , & self . ExchangeFromSlot ) . field ( "ExchangeFromIePort" , & self . ExchangeFromIePort ) . field ( "ExchangeFromDrive" , & self . ExchangeFromDrive ) . field ( "LockUnlockCapabilities" , & self . LockUnlockCapabilities ) . field ( "PositionCapabilities" , & self . PositionCapabilities ) . field ( "Reserved1" , & self . Reserved1 ) . field ( "Reserved2" , & self . Reserved2 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for GET_CHANGER_PARAMETERS { fn eq ( & self , other : & Self ) -> bool { self . Size == other . Size && self . NumberTransportElements == other . NumberTransportElements && self . NumberStorageElements == other . NumberStorageElements && self . NumberCleanerSlots == other . NumberCleanerSlots && self . NumberIEElements == other . NumberIEElements && self . NumberDataTransferElements == other . NumberDataTransferElements && self . NumberOfDoors == other . NumberOfDoors && self . FirstSlotNumber == other . FirstSlotNumber && self . FirstDriveNumber == other . FirstDriveNumber && self . FirstTransportNumber == other . FirstTransportNumber && self . FirstIEPortNumber == other . FirstIEPortNumber && self . FirstCleanerSlotAddress == other . FirstCleanerSlotAddress && self . MagazineSize == other . MagazineSize && self . DriveCleanTimeout == other . DriveCleanTimeout && self . Features0 == other . Features0 && self . Features1 == other . Features1 && self . MoveFromTransport == other . MoveFromTransport && self . MoveFromSlot == other . MoveFromSlot && self . MoveFromIePort == other . MoveFromIePort && self . MoveFromDrive == other . MoveFromDrive && self . ExchangeFromTransport == other . ExchangeFromTransport && self . ExchangeFromSlot == other . ExchangeFromSlot && self . ExchangeFromIePort == other . ExchangeFromIePort && self . ExchangeFromDrive == other . ExchangeFromDrive && self . LockUnlockCapabilities == other . LockUnlockCapabilities && self . PositionCapabilities == other . PositionCapabilities && self . Reserved1 == other . Reserved1 && self . Reserved2 == other . Reserved2 } } impl :: std :: cmp :: Eq for GET_CHANGER_PARAMETERS { } unsafe impl :: windows :: Abi for GET_CHANGER_PARAMETERS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct GET_CHANGER_PARAMETERS_FEATURES1 ( pub u32 ) ; pub const CHANGER_CLEANER_AUTODISMOUNT : GET_CHANGER_PARAMETERS_FEATURES1 = GET_CHANGER_PARAMETERS_FEATURES1 ( 2147483652u32 ) ; pub const CHANGER_CLEANER_OPS_NOT_SUPPORTED : GET_CHANGER_PARAMETERS_FEATURES1 = GET_CHANGER_PARAMETERS_FEATURES1 ( 2147483712u32 ) ; pub const CHANGER_IEPORT_USER_CONTROL_CLOSE : GET_CHANGER_PARAMETERS_FEATURES1 = GET_CHANGER_PARAMETERS_FEATURES1 ( 2147483904u32 ) ; pub const CHANGER_IEPORT_USER_CONTROL_OPEN : GET_CHANGER_PARAMETERS_FEATURES1 = GET_CHANGER_PARAMETERS_FEATURES1 ( 2147483776u32 ) ; pub const CHANGER_MOVE_EXTENDS_IEPORT : GET_CHANGER_PARAMETERS_FEATURES1 = GET_CHANGER_PARAMETERS_FEATURES1 ( 2147484160u32 ) ; pub const CHANGER_MOVE_RETRACTS_IEPORT : GET_CHANGER_PARAMETERS_FEATURES1 = GET_CHANGER_PARAMETERS_FEATURES1 ( 2147484672u32 ) ; pub const CHANGER_PREDISMOUNT_ALIGN_TO_DRIVE : GET_CHANGER_PARAMETERS_FEATURES1 = GET_CHANGER_PARAMETERS_FEATURES1 ( 2147483650u32 ) ; pub const CHANGER_PREDISMOUNT_ALIGN_TO_SLOT : GET_CHANGER_PARAMETERS_FEATURES1 = GET_CHANGER_PARAMETERS_FEATURES1 ( 2147483649u32 ) ; pub const CHANGER_RTN_MEDIA_TO_ORIGINAL_ADDR : GET_CHANGER_PARAMETERS_FEATURES1 = GET_CHANGER_PARAMETERS_FEATURES1 ( 2147483680u32 ) ; pub const CHANGER_SLOTS_USE_TRAYS : GET_CHANGER_PARAMETERS_FEATURES1 = GET_CHANGER_PARAMETERS_FEATURES1 ( 2147483664u32 ) ; pub const CHANGER_TRUE_EXCHANGE_CAPABLE : GET_CHANGER_PARAMETERS_FEATURES1 = GET_CHANGER_PARAMETERS_FEATURES1 ( 2147483656u32 ) ; impl :: std :: convert :: From < u32 > for GET_CHANGER_PARAMETERS_FEATURES1 { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for GET_CHANGER_PARAMETERS_FEATURES1 { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for GET_CHANGER_PARAMETERS_FEATURES1 { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for GET_CHANGER_PARAMETERS_FEATURES1 { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for GET_CHANGER_PARAMETERS_FEATURES1 { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for GET_CHANGER_PARAMETERS_FEATURES1 { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct GET_DEVICE_INTERNAL_STATUS_DATA_REQUEST { pub Version : u32 , pub Size : u32 , pub RequestDataType : DEVICE_INTERNAL_STATUS_DATA_REQUEST_TYPE , pub RequestDataSet : DEVICE_INTERNAL_STATUS_DATA_SET } impl GET_DEVICE_INTERNAL_STATUS_DATA_REQUEST { } impl :: std :: default :: Default for GET_DEVICE_INTERNAL_STATUS_DATA_REQUEST { fn default ( ) -> Self { Self { Version : 0 , Size : 0 , RequestDataType : :: std :: default :: Default :: default ( ) , RequestDataSet : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for GET_DEVICE_INTERNAL_STATUS_DATA_REQUEST { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "GET_DEVICE_INTERNAL_STATUS_DATA_REQUEST" ) . field ( "Version" , & self . Version ) . field ( "Size" , & self . Size ) . field ( "RequestDataType" , & self . RequestDataType ) . field ( "RequestDataSet" , & self . RequestDataSet ) . finish ( ) } } impl :: std :: cmp :: PartialEq for GET_DEVICE_INTERNAL_STATUS_DATA_REQUEST { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Size == other . Size && self . RequestDataType == other . RequestDataType && self . RequestDataSet == other . RequestDataSet } } impl :: std :: cmp :: Eq for GET_DEVICE_INTERNAL_STATUS_DATA_REQUEST { } unsafe impl :: windows :: Abi for GET_DEVICE_INTERNAL_STATUS_DATA_REQUEST { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct GET_FILTER_FILE_IDENTIFIER_INPUT { pub AltitudeLength : u16 , pub Altitude : [ u16 ;1 ] } impl GET_FILTER_FILE_IDENTIFIER_INPUT { } impl :: std :: default :: Default for GET_FILTER_FILE_IDENTIFIER_INPUT { fn default ( ) -> Self { Self { AltitudeLength : 0 , Altitude : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for GET_FILTER_FILE_IDENTIFIER_INPUT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "GET_FILTER_FILE_IDENTIFIER_INPUT" ) . field ( "AltitudeLength" , & self . AltitudeLength ) . field ( "Altitude" , & self . Altitude ) . finish ( ) } } impl :: std :: cmp :: PartialEq for GET_FILTER_FILE_IDENTIFIER_INPUT { fn eq ( & self , other : & Self ) -> bool { self . AltitudeLength == other . AltitudeLength && self . Altitude == other . Altitude } } impl :: std :: cmp :: Eq for GET_FILTER_FILE_IDENTIFIER_INPUT { } unsafe impl :: windows :: Abi for GET_FILTER_FILE_IDENTIFIER_INPUT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct GET_FILTER_FILE_IDENTIFIER_OUTPUT { pub FilterFileIdentifierLength : u16 , pub FilterFileIdentifier : [ u8 ;1 ] } impl GET_FILTER_FILE_IDENTIFIER_OUTPUT { } impl :: std :: default :: Default for GET_FILTER_FILE_IDENTIFIER_OUTPUT { fn default ( ) -> Self { Self { FilterFileIdentifierLength : 0 , FilterFileIdentifier : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for GET_FILTER_FILE_IDENTIFIER_OUTPUT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "GET_FILTER_FILE_IDENTIFIER_OUTPUT" ) . field ( "FilterFileIdentifierLength" , & self . FilterFileIdentifierLength ) . field ( "FilterFileIdentifier" , & self . FilterFileIdentifier ) . finish ( ) } } impl :: std :: cmp :: PartialEq for GET_FILTER_FILE_IDENTIFIER_OUTPUT { fn eq ( & self , other : & Self ) -> bool { self . FilterFileIdentifierLength == other . FilterFileIdentifierLength && self . FilterFileIdentifier == other . FilterFileIdentifier } } impl :: std :: cmp :: Eq for GET_FILTER_FILE_IDENTIFIER_OUTPUT { } unsafe impl :: windows :: Abi for GET_FILTER_FILE_IDENTIFIER_OUTPUT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct GET_MEDIA_TYPES { pub DeviceType : u32 , pub MediaInfoCount : u32 , pub MediaInfo : [ DEVICE_MEDIA_INFO ;1 ] } impl GET_MEDIA_TYPES { } impl :: std :: cmp :: PartialEq for GET_MEDIA_TYPES { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for GET_MEDIA_TYPES { } unsafe impl :: windows :: Abi for GET_MEDIA_TYPES { type Abi = Self ; type DefaultType = Self ; } pub const GET_VOLUME_BITMAP_FLAG_MASK_METADATA : u32 = 1u32 ; pub const GPT_ATTRIBUTE_LEGACY_BIOS_BOOTABLE : u64 = 4u64 ; pub const GPT_ATTRIBUTE_NO_BLOCK_IO_PROTOCOL : u64 = 2u64 ; pub const GPT_BASIC_DATA_ATTRIBUTE_DAX : u64 = 288230376151711744u64 ; pub const GPT_BASIC_DATA_ATTRIBUTE_OFFLINE : u64 = 576460752303423488u64 ; pub const GPT_BASIC_DATA_ATTRIBUTE_SERVICE : u64 = 144115188075855872u64 ; pub const GPT_SPACES_ATTRIBUTE_NO_METADATA : u64 = 9223372036854775808u64 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 1 ) ) ] pub struct GP_LOG_PAGE_DESCRIPTOR { pub LogAddress : u16 , pub LogSectors : u16 } impl GP_LOG_PAGE_DESCRIPTOR { } impl :: std :: cmp :: PartialEq for GP_LOG_PAGE_DESCRIPTOR { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for GP_LOG_PAGE_DESCRIPTOR { } unsafe impl :: windows :: Abi for GP_LOG_PAGE_DESCRIPTOR { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct GROUP_RELATIONSHIP { pub MaximumGroupCount : u16 , pub ActiveGroupCount : u16 , pub Reserved : [ u8 ;20 ] , pub GroupInfo : [ PROCESSOR_GROUP_INFO ;1 ] } impl GROUP_RELATIONSHIP { } impl :: std :: default :: Default for GROUP_RELATIONSHIP { fn default ( ) -> Self { Self { MaximumGroupCount : 0 , ActiveGroupCount : 0 , Reserved : [ 0 ;20 ] , GroupInfo : [ :: std :: default :: Default :: default ( ) ;1 ] } } } impl :: std :: fmt :: Debug for GROUP_RELATIONSHIP { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "GROUP_RELATIONSHIP" ) . field ( "MaximumGroupCount" , & self . MaximumGroupCount ) . field ( "ActiveGroupCount" , & self . ActiveGroupCount ) . field ( "Reserved" , & self . Reserved ) . field ( "GroupInfo" , & self . GroupInfo ) . finish ( ) } } impl :: std :: cmp :: PartialEq for GROUP_RELATIONSHIP { fn eq ( & self , other : & Self ) -> bool { self . MaximumGroupCount == other . MaximumGroupCount && self . ActiveGroupCount == other . ActiveGroupCount && self . Reserved == other . Reserved && self . GroupInfo == other . GroupInfo } } impl :: std :: cmp :: Eq for GROUP_RELATIONSHIP { } unsafe impl :: windows :: Abi for GROUP_RELATIONSHIP { type Abi = Self ; type DefaultType = Self ; } pub const GS_16BIT_HANDLES : u32 = 4u32 ; pub const GS_8BIT_HANDLES : u32 = 2u32 ; pub const GS_UNICODE_HANDLES : u32 = 1u32 ; pub const GUID_ACDC_POWER_SOURCE : :: windows :: Guid = :: windows :: Guid :: from_values ( 1564383833 ,59861 ,19200 , [ 166 ,189 ,255 ,52 ,255 ,81 ,101 ,72 ] , ) ; pub const GUID_ACTIVE_POWERSCHEME : :: windows :: Guid = :: windows :: Guid :: from_values ( 838464134 ,20612 ,17150 , [ 183 ,32 ,43 ,2 ,100 ,153 ,55 ,99 ] , ) ; pub const GUID_ADAPTIVE_INPUT_CONTROLLER_STATE : :: windows :: Guid = :: windows :: Guid :: from_values ( 244906729 ,62554 ,19937 , [ 167 ,87 ,96 ,49 ,241 ,151 ,246 ,234 ] , ) ; pub const GUID_ADAPTIVE_POWER_BEHAVIOR_SUBGROUP : :: windows :: Guid = :: windows :: Guid :: from_values ( 2249832726 ,57348 ,19928 , [ 155 ,102 ,218 ,232 ,111 ,128 ,102 ,152 ] , ) ; pub const GUID_ADVANCED_COLOR_QUALITY_BIAS : :: windows :: Guid = :: windows :: Guid :: from_values ( 1749827177 ,42231 ,16404 , [ 135 ,84 ,212 ,81 ,121 ,165 ,97 ,103 ] , ) ; pub const GUID_ALLOW_AWAYMODE : :: windows :: Guid = :: windows :: Guid :: from_values ( 635412809 ,24017 ,18230 , [ 181 ,171 ,232 ,163 ,123 ,91 ,129 ,135 ] , ) ; pub const GUID_ALLOW_DISPLAY_REQUIRED : :: windows :: Guid = :: windows :: Guid :: from_values ( 2848897242 ,52550 ,17659 , [ 169 ,139 ,2 ,175 ,105 ,222 ,70 ,35 ] , ) ; pub const GUID_ALLOW_RTC_WAKE : :: windows :: Guid = :: windows :: Guid :: from_values ( 3174789514 ,1664 ,19869 , [ 138 ,178 ,225 ,210 ,180 ,172 ,128 ,109 ] , ) ; pub const GUID_ALLOW_STANDBY_STATES : :: windows :: Guid = :: windows :: Guid :: from_values ( 2885428505 ,13832 ,19498 , [ 148 ,234 ,23 ,27 ,14 ,213 ,70 ,171 ] , ) ; pub const GUID_ALLOW_SYSTEM_REQUIRED : :: windows :: Guid = :: windows :: Guid :: from_values ( 2763101685 ,33317 ,18392 , [ 128 ,18 ,157 ,65 ,54 ,151 ,134 ,226 ] , ) ; pub const GUID_APPLAUNCH_BUTTON : :: windows :: Guid = :: windows :: Guid :: from_values ( 443060785 ,29593 ,20122 , [ 143 ,153 ,183 ,31 ,153 ,157 ,179 ,250 ] , ) ; pub const GUID_BACKGROUND_TASK_NOTIFICATION : :: windows :: Guid = :: windows :: Guid :: from_values ( 3475239488 ,10836 ,18648 , [ 177 ,20 ,222 ,21 ,24 ,255 ,5 ,46 ] , ) ; pub const GUID_BATTERY_COUNT : :: windows :: Guid = :: windows :: Guid :: from_values ( 2099658517 ,64676 ,18917 , [ 133 ,75 ,169 ,242 ,191 ,189 ,92 ,36 ] , ) ; pub const GUID_BATTERY_DISCHARGE_ACTION_0 : :: windows :: Guid = :: windows :: Guid :: from_values ( 1669242927 ,48075 ,16405 , [ 142 ,44 ,161 ,199 ,185 ,192 ,181 ,70 ] , ) ; pub const GUID_BATTERY_DISCHARGE_ACTION_1 : :: windows :: Guid = :: windows :: Guid :: from_values ( 3631492555 ,15978 ,19260 , [ 179 ,254 ,55 ,70 ,35 ,205 ,207 ,6 ] , ) ; pub const GUID_BATTERY_DISCHARGE_ACTION_2 : :: windows :: Guid = :: windows :: Guid :: from_values ( 1109178936 ,6798 ,18561 , [ 172 ,137 ,227 ,58 ,139 ,4 ,236 ,228 ] , ) ; pub const GUID_BATTERY_DISCHARGE_ACTION_3 : :: windows :: Guid = :: windows :: Guid :: from_values ( 2152146451 ,38784 ,17758 , [ 179 ,8 ,114 ,211 ,0 ,60 ,242 ,248 ] , ) ; pub const GUID_BATTERY_DISCHARGE_FLAGS_0 : :: windows :: Guid = :: windows :: Guid :: from_values ( 1572568223 ,14569 ,16594 , [ 151 ,73 ,79 ,138 ,14 ,159 ,100 ,15 ] , ) ; pub const GUID_BATTERY_DISCHARGE_FLAGS_1 : :: windows :: Guid = :: windows :: Guid :: from_values ( 3168721233 ,6267 ,19717 , [ 188 ,204 ,247 ,229 ,25 ,96 ,194 ,88 ] , ) ; pub const GUID_BATTERY_DISCHARGE_FLAGS_2 : :: windows :: Guid = :: windows :: Guid :: from_values ( 2144530628 ,65207 ,19875 , [ 129 ,23 ,227 ,251 ,237 ,196 ,101 ,130 ] , ) ; pub const GUID_BATTERY_DISCHARGE_FLAGS_3 : :: windows :: Guid = :: windows :: Guid :: from_values ( 1935752399 ,56314 ,17017 , [ 131 ,86 ,73 ,53 ,246 ,191 ,98 ,243 ] , ) ; pub const GUID_BATTERY_DISCHARGE_LEVEL_0 : :: windows :: Guid = :: windows :: Guid :: from_values ( 2590431447 ,20471 ,20217 , [ 181 ,162 ,90 ,50 ,108 ,162 ,164 ,105 ] , ) ; pub const GUID_BATTERY_DISCHARGE_LEVEL_1 : :: windows :: Guid = :: windows :: Guid :: from_values ( 2172893850 ,59664 ,18650 , [ 135 ,105 ,20 ,174 ,109 ,193 ,23 ,10 ] , ) ; pub const GUID_BATTERY_DISCHARGE_LEVEL_2 : :: windows :: Guid = :: windows :: Guid :: from_values ( 127958178 ,44463 ,16599 , [ 176 ,119 ,83 ,58 ,173 ,237 ,27 ,250 ] , ) ; pub const GUID_BATTERY_DISCHARGE_LEVEL_3 : :: windows :: Guid = :: windows :: Guid :: from_values ( 1487918502 ,49885 ,18386 , [ 159 ,191 ,239 ,112 ,204 ,92 ,89 ,101 ] , ) ; pub const GUID_BATTERY_PERCENTAGE_REMAINING : :: windows :: Guid = :: windows :: Guid :: from_values ( 2813165633 ,46170 ,19630 , [ 135 ,163 ,238 ,203 ,180 ,104 ,169 ,225 ] , ) ; pub const GUID_BATTERY_SUBGROUP : :: windows :: Guid = :: windows :: Guid :: from_values ( 3879339149 ,48935 ,20242 , [ 151 ,49 ,139 ,32 ,118 ,232 ,137 ,31 ] , ) ; pub const GUID_CONNECTIVITY_IN_STANDBY : :: windows :: Guid = :: windows :: Guid :: from_values ( 4048910056 ,39095 ,16774 , [ 185 ,68 ,234 ,250 ,102 ,68 ,2 ,217 ] , ) ; pub const GUID_CONSOLE_DISPLAY_STATE : :: windows :: Guid = :: windows :: Guid :: from_values ( 1877382486 ,28746 ,18336 , [ 143 ,36 ,194 ,141 ,147 ,111 ,218 ,71 ] , ) ; pub const GUID_CRITICAL_POWER_TRANSITION : :: windows :: Guid = :: windows :: Guid :: from_values ( 3080876069 ,58729 ,18114 , [ 165 ,4 ,43 ,150 ,202 ,210 ,37 ,161 ] , ) ; pub const GUID_DEEP_SLEEP_ENABLED : :: windows :: Guid = :: windows :: Guid :: from_values ( 3573741550 ,7623 ,20221 , [ 165 ,93 ,240 ,75 ,111 ,92 ,5 ,69 ] , ) ; pub const GUID_DEEP_SLEEP_PLATFORM_STATE : :: windows :: Guid = :: windows :: Guid :: from_values ( 3527356344 ,38198 ,16440 , [ 156 ,148 ,28 ,224 ,46 ,92 ,33 ,82 ] , ) ; pub const GUID_DEVICEDUMP_DRIVER_STORAGE_PORT : :: windows :: Guid = :: windows :: Guid :: from_values ( 3665970205 ,28994 ,19393 , [ 184 ,68 ,8 ,7 ,197 ,164 ,182 ,127 ] , ) ; pub const GUID_DEVICEDUMP_STORAGE_DEVICE : :: windows :: Guid = :: windows :: Guid :: from_values ( 3638712623 ,6827 ,19798 , [ 167 ,70 ,31 ,117 ,133 ,223 ,64 ,244 ] , ) ; pub const GUID_DEVICE_EVENT_RBC : :: windows :: Guid = :: windows :: Guid :: from_values ( 3497281426 ,43406 ,4562 , [ 145 ,122 ,0 ,160 ,201 ,6 ,143 ,243 ] , ) ; pub const GUID_DEVICE_IDLE_POLICY : :: windows :: Guid = :: windows :: Guid :: from_values ( 1336588058 ,37605 ,18214 , [ 181 ,49 ,34 ,69 ,89 ,103 ,45 ,25 ] , ) ; pub const GUID_DEVICE_POWER_POLICY_VIDEO_BRIGHTNESS : :: windows :: Guid = :: windows :: Guid :: from_values ( 2918014594 ,47369 ,17945 , [ 153 ,73 ,245 ,215 ,29 ,172 ,11 ,203 ] , ) ; pub const GUID_DEVICE_POWER_POLICY_VIDEO_DIM_BRIGHTNESS : :: windows :: Guid = :: windows :: Guid :: from_values ( 4059823586 ,43360 ,16741 , [ 159 ,136 ,80 ,102 ,121 ,17 ,206 ,150 ] , ) ; pub const GUID_DEVINTERFACE_CDCHANGER : :: windows :: Guid = :: windows :: Guid :: from_values ( 1408590610 ,46783 ,4560 , [ 148 ,242 ,0 ,160 ,201 ,30 ,251 ,139 ] , ) ; pub const GUID_DEVINTERFACE_CDROM : :: windows :: Guid = :: windows :: Guid :: from_values ( 1408590600 ,46783 ,4560 , [ 148 ,242 ,0 ,160 ,201 ,30 ,251 ,139 ] , ) ; pub const GUID_DEVINTERFACE_COMPORT : :: windows :: Guid = :: windows :: Guid :: from_values ( 2262880736 ,32905 ,4560 , [ 156 ,228 ,8 ,0 ,62 ,48 ,31 ,115 ] , ) ; pub const GUID_DEVINTERFACE_DISK : :: windows :: Guid = :: windows :: Guid :: from_values ( 1408590599 ,46783 ,4560 , [ 148 ,242 ,0 ,160 ,201 ,30 ,251 ,139 ] , ) ; pub const GUID_DEVINTERFACE_FLOPPY : :: windows :: Guid = :: windows :: Guid :: from_values ( 1408590609 ,46783 ,4560 , [ 148 ,242 ,0 ,160 ,201 ,30 ,251 ,139 ] , ) ; pub const GUID_DEVINTERFACE_HIDDEN_VOLUME : :: windows :: Guid = :: windows :: Guid :: from_values ( 2131790376 ,38963 ,19259 , [ 183 ,128 ,44 ,107 ,95 ,165 ,192 ,98 ] , ) ; pub const GUID_DEVINTERFACE_MEDIUMCHANGER : :: windows :: Guid = :: windows :: Guid :: from_values ( 1408590608 ,46783 ,4560 , [ 148 ,242 ,0 ,160 ,201 ,30 ,251 ,139 ] , ) ; pub const GUID_DEVINTERFACE_PARTITION : :: windows :: Guid = :: windows :: Guid :: from_values ( 1408590602 ,46783 ,4560 , [ 148 ,242 ,0 ,160 ,201 ,30 ,251 ,139 ] , ) ; pub const GUID_DEVINTERFACE_SCM_PHYSICAL_DEVICE : :: windows :: Guid = :: windows :: Guid :: from_values ( 1115906205 ,19906 ,17342 , [ 187 ,180 ,79 ,21 ,223 ,206 ,44 ,97 ] , ) ; pub const GUID_DEVINTERFACE_SERENUM_BUS_ENUMERATOR : :: windows :: Guid = :: windows :: Guid :: from_values ( 1295444344 ,58149 ,4558 , [ 191 ,193 ,8 ,0 ,43 ,225 ,3 ,24 ] , ) ; pub const GUID_DEVINTERFACE_SERVICE_VOLUME : :: windows :: Guid = :: windows :: Guid :: from_values ( 1856847234 ,9708 ,18108 , [ 183 ,253 ,193 ,240 ,223 ,143 ,80 ,55 ] , ) ; pub const GUID_DEVINTERFACE_SES : :: windows :: Guid = :: windows :: Guid :: from_values ( 395364844 ,18389 ,19955 , [ 181 ,175 ,154 ,223 ,60 ,242 ,62 ,72 ] , ) ; pub const GUID_DEVINTERFACE_STORAGEPORT : :: windows :: Guid = :: windows :: Guid :: from_values ( 718077536 ,49456 ,4562 , [ 176 ,130 ,0 ,160 ,201 ,30 ,251 ,139 ] , ) ; pub const GUID_DEVINTERFACE_TAPE : :: windows :: Guid = :: windows :: Guid :: from_values ( 1408590603 ,46783 ,4560 , [ 148 ,242 ,0 ,160 ,201 ,30 ,251 ,139 ] , ) ; pub const GUID_DEVINTERFACE_UNIFIED_ACCESS_RPMB : :: windows :: Guid = :: windows :: Guid :: from_values ( 658799649 ,48323 ,19719 , [ 160 ,91 ,163 ,57 ,91 ,180 ,238 ,231 ] , ) ; pub const GUID_DEVINTERFACE_VMLUN : :: windows :: Guid = :: windows :: Guid :: from_values ( 1866556953 ,40745 ,17061 , [ 178 ,11 ,55 ,226 ,25 ,202 ,2 ,176 ] , ) ; pub const GUID_DEVINTERFACE_VOLUME : :: windows :: Guid = :: windows :: Guid :: from_values ( 1408590605 ,46783 ,4560 , [ 148 ,242 ,0 ,160 ,201 ,30 ,251 ,139 ] , ) ; pub const GUID_DEVINTERFACE_WRITEONCEDISK : :: windows :: Guid = :: windows :: Guid :: from_values ( 1408590604 ,46783 ,4560 , [ 148 ,242 ,0 ,160 ,201 ,30 ,251 ,139 ] , ) ; pub const GUID_DISCONNECTED_STANDBY_MODE : :: windows :: Guid = :: windows :: Guid :: from_values ( 1756345049 ,61077 ,18344 , [ 143 ,80 ,65 ,21 ,8 ,128 ,115 ,177 ] , ) ; pub const GUID_DISK_ADAPTIVE_POWERDOWN : :: windows :: Guid = :: windows :: Guid :: from_values ( 963261153 ,18842 ,16562 , [ 145 ,36 ,169 ,106 ,254 ,112 ,118 ,103 ] , ) ; pub const GUID_DISK_BURST_IGNORE_THRESHOLD : :: windows :: Guid = :: windows :: Guid :: from_values ( 2162411022 ,48020 ,19160 , [ 187 ,224 ,13 ,49 ,149 ,239 ,198 ,99 ] , ) ; pub const GUID_DISK_COALESCING_POWERDOWN_TIMEOUT : :: windows :: Guid = :: windows :: Guid :: from_values ( 3278835380 ,10632 ,19056 , [ 142 ,238 ,8 ,132 ,252 ,44 ,36 ,51 ] , ) ; pub const GUID_DISK_IDLE_TIMEOUT : :: windows :: Guid = :: windows :: Guid :: from_values ( 1491311528 ,47334 ,20214 , [ 144 ,208 ,137 ,174 ,50 ,178 ,88 ,214 ] , ) ; pub const GUID_DISK_MAX_POWER : :: windows :: Guid = :: windows :: Guid :: from_values ( 1373545808 ,47928 ,19396 , [ 153 ,27 ,234 ,207 ,55 ,190 ,94 ,200 ] , ) ; pub const GUID_DISK_NVME_NOPPME : :: windows :: Guid = :: windows :: Guid :: from_values ( 4235424438 ,43821 ,17390 , [ 135 ,151 ,21 ,233 ,132 ,31 ,44 ,202 ] , ) ; pub const GUID_DISK_POWERDOWN_TIMEOUT : :: windows :: Guid = :: windows :: Guid :: from_values ( 1731781316 ,59557 ,19010 , [ 177 ,106 ,224 ,64 ,231 ,105 ,117 ,110 ] , ) ; pub const GUID_DISK_SUBGROUP : :: windows :: Guid = :: windows :: Guid :: from_values ( 1240647 ,36929 ,19293 , [ 155 ,119 ,83 ,95 ,186 ,139 ,20 ,66 ] , ) ; pub const GUID_ENABLE_SWITCH_FORCED_SHUTDOWN : :: windows :: Guid = :: windows :: Guid :: from_values ( 2201643874 ,57252 ,18129 , [ 130 ,248 ,224 ,158 ,52 ,208 ,41 ,214 ] , ) ; pub const GUID_ENERGY_SAVER_BATTERY_THRESHOLD : :: windows :: Guid = :: windows :: Guid :: from_values ( 3868611530 ,53119 ,20229 , [ 170 ,115 ,203 ,131 ,63 ,169 ,10 ,212 ] , ) ; pub const GUID_ENERGY_SAVER_BRIGHTNESS : :: windows :: Guid = :: windows :: Guid :: from_values ( 332437636 ,63310 ,18250 , [ 168 ,82 ,182 ,189 ,232 ,173 ,3 ,168 ] , ) ; pub const GUID_ENERGY_SAVER_POLICY : :: windows :: Guid = :: windows :: Guid :: from_values ( 1549513545 ,44329 ,20194 , [ 157 ,11 ,43 ,37 ,39 ,15 ,122 ,129 ] , ) ; pub const GUID_ENERGY_SAVER_SUBGROUP : :: windows :: Guid = :: windows :: Guid :: from_values ( 3733129507 ,42338 ,16815 , [ 160 ,134 ,227 ,162 ,198 ,186 ,210 ,218 ] , ) ; pub const GUID_EXECUTION_REQUIRED_REQUEST_TIMEOUT : :: windows :: Guid = :: windows :: Guid :: from_values ( 828816449 ,32408 ,19971 , [ 179 ,78 ,236 ,15 ,95 ,43 ,33 ,142 ] , ) ; pub const GUID_GLOBAL_USER_PRESENCE : :: windows :: Guid = :: windows :: Guid :: from_values ( 2020510237 ,46119 ,17220 , [ 146 ,7 ,9 ,231 ,11 ,220 ,190 ,169 ] , ) ; pub const GUID_GPU_PREFERENCE_POLICY : :: windows :: Guid = :: windows :: Guid :: from_values ( 3716451114 ,35421 ,17489 , [ 154 ,226 ,57 ,205 ,65 ,101 ,143 ,108 ] , ) ; pub const GUID_GRAPHICS_SUBGROUP : :: windows :: Guid = :: windows :: Guid :: from_values ( 1605669773 ,7912 ,19215 , [ 154 ,60 ,80 ,54 ,176 ,171 ,153 ,92 ] , ) ; pub const GUID_HIBERNATE_FASTS4_POLICY : :: windows :: Guid = :: windows :: Guid :: from_values ( 2494328105 ,29646 ,16806 , [ 128 ,159 ,99 ,99 ,186 ,33 ,180 ,126 ] , ) ; pub const GUID_HIBERNATE_TIMEOUT : :: windows :: Guid = :: windows :: Guid :: from_values ( 2641892774 ,32484 ,18814 , [ 136 ,136 ,81 ,90 ,5 ,240 ,35 ,100 ] , ) ; pub const GUID_IDLE_BACKGROUND_TASK : :: windows :: Guid = :: windows :: Guid :: from_values ( 1364996568 ,63284 ,5693 , [ 160 ,253 ,17 ,160 ,140 ,145 ,232 ,241 ] , ) ; pub const GUID_IDLE_RESILIENCY_PERIOD : :: windows :: Guid = :: windows :: Guid :: from_values ( 3291183530 ,43578 ,18507 , [ 169 ,143 ,44 ,243 ,42 ,169 ,10 ,40 ] , ) ; pub const GUID_IDLE_RESILIENCY_SUBGROUP : :: windows :: Guid = :: windows :: Guid :: from_values ( 778047792 ,21329 ,19869 , [ 142 ,4 ,37 ,41 ,102 ,186 ,208 ,84 ] , ) ; pub const GUID_INTSTEER_LOAD_PER_PROC_TRIGGER : :: windows :: Guid = :: windows :: Guid :: from_values ( 1942873677 ,55072 ,19378 , [ 168 ,96 ,199 ,85 ,175 ,231 ,126 ,242 ] , ) ; pub const GUID_INTSTEER_MODE : :: windows :: Guid = :: windows :: Guid :: from_values ( 737944825 ,24226 ,18433 , [ 130 ,19 ,61 ,186 ,224 ,26 ,163 ,157 ] , ) ; pub const GUID_INTSTEER_SUBGROUP : :: windows :: Guid = :: windows :: Guid :: from_values ( 1214721848 ,31386 ,19378 , [ 139 ,248 ,61 ,133 ,190 ,25 ,222 ,78 ] , ) ; pub const GUID_INTSTEER_TIME_UNPARK_TRIGGER : :: windows :: Guid = :: windows :: Guid :: from_values ( 3602532611 ,14447 ,19500 , [ 138 ,219 ,92 ,33 ,179 ,50 ,141 ,37 ] , ) ; pub const GUID_IO_CDROM_EXCLUSIVE_LOCK : :: windows :: Guid = :: windows :: Guid :: from_values ( 3159802169 ,31248 ,18414 , [ 162 ,148 ,76 ,106 ,56 ,240 ,20 ,154 ] , ) ; pub const GUID_IO_CDROM_EXCLUSIVE_UNLOCK : :: windows :: Guid = :: windows :: Guid :: from_values ( 2746667645 ,24117 ,18565 , [ 129 ,229 ,238 ,24 ,192 ,14 ,215 ,121 ] , ) ; pub const GUID_IO_DEVICE_BECOMING_READY : :: windows :: Guid = :: windows :: Guid :: from_values ( 3497276400 ,43406 ,4562 , [ 145 ,122 ,0 ,160 ,201 ,6 ,143 ,243 ] , ) ; pub const GUID_IO_DEVICE_EXTERNAL_REQUEST : :: windows :: Guid = :: windows :: Guid :: from_values ( 3497276368 ,43406 ,4562 , [ 145 ,122 ,0 ,160 ,201 ,6 ,143 ,243 ] , ) ; pub const GUID_IO_DISK_CLONE_ARRIVAL : :: windows :: Guid = :: windows :: Guid :: from_values ( 1784776795 ,31801 ,17373 , [ 155 ,86 ,184 ,172 ,34 ,165 ,73 ,170 ] , ) ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct GUID_IO_DISK_CLONE_ARRIVAL_INFORMATION { pub DiskNumber : u32 } impl GUID_IO_DISK_CLONE_ARRIVAL_INFORMATION { } impl :: std :: default :: Default for GUID_IO_DISK_CLONE_ARRIVAL_INFORMATION { fn default ( ) -> Self { Self { DiskNumber : 0 } } } impl :: std :: fmt :: Debug for GUID_IO_DISK_CLONE_ARRIVAL_INFORMATION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "GUID_IO_DISK_CLONE_ARRIVAL_INFORMATION" ) . field ( "DiskNumber" , & self . DiskNumber ) . finish ( ) } } impl :: std :: cmp :: PartialEq for GUID_IO_DISK_CLONE_ARRIVAL_INFORMATION { fn eq ( & self , other : & Self ) -> bool { self . DiskNumber == other . DiskNumber } } impl :: std :: cmp :: Eq for GUID_IO_DISK_CLONE_ARRIVAL_INFORMATION { } unsafe impl :: windows :: Abi for GUID_IO_DISK_CLONE_ARRIVAL_INFORMATION { type Abi = Self ; type DefaultType = Self ; } pub const GUID_IO_DISK_HEALTH_NOTIFICATION : :: windows :: Guid = :: windows :: Guid :: from_values ( 253482564 ,14614 ,18885 , [ 176 ,99 ,153 ,25 ,64 ,17 ,143 ,178 ] , ) ; pub const GUID_IO_DISK_LAYOUT_CHANGE : :: windows :: Guid = :: windows :: Guid :: from_values ( 299889996 ,33897 ,16889 , [ 179 ,222 ,239 ,131 ,100 ,135 ,197 ,74 ] , ) ; pub const GUID_IO_DRIVE_REQUIRES_CLEANING : :: windows :: Guid = :: windows :: Guid :: from_values ( 1913096060 ,37101 ,17637 , [ 160 ,0 ,129 ,66 ,141 ,76 ,121 ,187 ] , ) ; pub const GUID_IO_MEDIA_ARRIVAL : :: windows :: Guid = :: windows :: Guid :: from_values ( 3497276352 ,43406 ,4562 , [ 145 ,122 ,0 ,160 ,201 ,6 ,143 ,243 ] , ) ; pub const GUID_IO_MEDIA_EJECT_REQUEST : :: windows :: Guid = :: windows :: Guid :: from_values ( 3497276369 ,43406 ,4562 , [ 145 ,122 ,0 ,160 ,201 ,6 ,143 ,243 ] , ) ; pub const GUID_IO_MEDIA_REMOVAL : :: windows :: Guid = :: windows :: Guid :: from_values ( 3497276353 ,43406 ,4562 , [ 145 ,122 ,0 ,160 ,201 ,6 ,143 ,243 ] , ) ; pub const GUID_IO_TAPE_ERASE : :: windows :: Guid = :: windows :: Guid :: from_values ( 2234323435 ,19384 ,17671 , [ 157 ,155 ,65 ,124 ,194 ,177 ,180 ,56 ] , ) ; pub const GUID_IO_VOLUME_BACKGROUND_FORMAT : :: windows :: Guid = :: windows :: Guid :: from_values ( 2732981382 ,54733 ,16440 , [ 178 ,227 ,68 ,69 ,6 ,92 ,35 ,119 ] , ) ; pub const GUID_IO_VOLUME_CHANGE : :: windows :: Guid = :: windows :: Guid :: from_values ( 1936942410 ,33066 ,4560 , [ 190 ,199 ,8 ,0 ,43 ,226 ,9 ,47 ] , ) ; pub const GUID_IO_VOLUME_CHANGE_SIZE : :: windows :: Guid = :: windows :: Guid :: from_values ( 974529982 ,44291 ,18929 , [ 142 ,248 ,107 ,186 ,193 ,130 ,209 ,253 ] , ) ; pub const GUID_IO_VOLUME_DEVICE_INTERFACE : :: windows :: Guid = :: windows :: Guid :: from_values ( 1408590605 ,46783 ,4560 , [ 148 ,242 ,0 ,160 ,201 ,30 ,251 ,139 ] , ) ; pub const GUID_IO_VOLUME_DISMOUNT : :: windows :: Guid = :: windows :: Guid :: from_values ( 3513406952 ,4185 ,4562 , [ 143 ,253 ,0 ,160 ,201 ,160 ,109 ,50 ] , ) ; pub const GUID_IO_VOLUME_DISMOUNT_FAILED : :: windows :: Guid = :: windows :: Guid :: from_values ( 3821384056 ,4189 ,4562 , [ 143 ,253 ,0 ,160 ,201 ,160 ,109 ,50 ] , ) ; pub const GUID_IO_VOLUME_FORCE_CLOSED : :: windows :: Guid = :: windows :: Guid :: from_values ( 1092278351 ,17214 ,19906 , [ 165 ,174 ,74 ,45 ,26 ,45 ,230 ,84 ] , ) ; pub const GUID_IO_VOLUME_FVE_STATUS_CHANGE : :: windows :: Guid = :: windows :: Guid :: from_values ( 103389362 ,60959 ,19306 , [ 184 ,87 ,231 ,108 ,187 ,233 ,166 ,218 ] , ) ; pub const GUID_IO_VOLUME_INFO_MAKE_COMPAT : :: windows :: Guid = :: windows :: Guid :: from_values ( 985243858 ,61312 ,17871 , [ 140 ,220 ,203 ,224 ,42 ,33 ,41 ,6 ] , ) ; pub const GUID_IO_VOLUME_LOCK : :: windows :: Guid = :: windows :: Guid :: from_values ( 1349552244 ,51631 ,4561 , [ 143 ,239 ,0 ,160 ,201 ,160 ,109 ,50 ] , ) ; pub const GUID_IO_VOLUME_LOCK_FAILED : :: windows :: Guid = :: windows :: Guid :: from_values ( 2922310928 ,2984 ,4562 , [ 143 ,251 ,0 ,160 ,201 ,160 ,109 ,50 ] , ) ; pub const GUID_IO_VOLUME_MOUNT : :: windows :: Guid = :: windows :: Guid :: from_values ( 3045083256 ,6806 ,4562 , [ 143 ,253 ,0 ,160 ,201 ,160 ,109 ,50 ] , ) ; pub const GUID_IO_VOLUME_NAME_CHANGE : :: windows :: Guid = :: windows :: Guid :: from_values ( 770277251 ,19462 ,4562 , [ 165 ,50 ,0 ,96 ,151 ,19 ,5 ,90 ] , ) ; pub const GUID_IO_VOLUME_NEED_CHKDSK : :: windows :: Guid = :: windows :: Guid :: from_values ( 2040138080 ,2571 ,19971 , [ 173 ,136 ,47 ,167 ,198 ,206 ,116 ,138 ] , ) ; pub const GUID_IO_VOLUME_PHYSICAL_CONFIGURATION_CHANGE : :: windows :: Guid = :: windows :: Guid :: from_values ( 770277252 ,19462 ,4562 , [ 165 ,50 ,0 ,96 ,151 ,19 ,5 ,90 ] , ) ; pub const GUID_IO_VOLUME_PREPARING_EJECT : :: windows :: Guid = :: windows :: Guid :: from_values ( 3349066094 ,3500 ,20090 , [ 168 ,108 ,178 ,92 ,238 ,170 ,136 ,246 ] , ) ; pub const GUID_IO_VOLUME_UNIQUE_ID_CHANGE : :: windows :: Guid = :: windows :: Guid :: from_values ( 2939804226 ,26146 ,16885 , [ 151 ,11 ,19 ,157 ,9 ,47 ,163 ,217 ] , ) ; pub const GUID_IO_VOLUME_UNLOCK : :: windows :: Guid = :: windows :: Guid :: from_values ( 2592882024 ,53451 ,4561 , [ 143 ,239 ,0 ,160 ,201 ,160 ,109 ,50 ] , ) ; pub const GUID_IO_VOLUME_WEARING_OUT : :: windows :: Guid = :: windows :: Guid :: from_values ( 2268140490 ,5254 ,17672 , [ 130 ,172 ,195 ,178 ,229 ,41 ,122 ,170 ] , ) ; pub const GUID_IO_VOLUME_WORM_NEAR_FULL : :: windows :: Guid = :: windows :: Guid :: from_values ( 4089446274 ,62430 ,18642 , [ 175 ,149 ,69 ,127 ,128 ,183 ,99 ,242 ] , ) ; pub const GUID_LEGACY_RTC_MITIGATION : :: windows :: Guid = :: windows :: Guid :: from_values ( 439664067 ,32363 ,17454 , [ 169 ,208 ,100 ,182 ,239 ,55 ,142 ,132 ] , ) ; pub const GUID_LIDCLOSE_ACTION : :: windows :: Guid = :: windows :: Guid :: from_values ( 1554527079 ,28229 ,17823 , [ 162 ,123 ,71 ,107 ,29 ,1 ,201 ,54 ] , ) ; pub const GUID_LIDOPEN_POWERSTATE : :: windows :: Guid = :: windows :: Guid :: from_values ( 2583630055 ,9137 ,19463 , [ 169 ,209 ,92 ,50 ,6 ,215 ,65 ,180 ] , ) ; pub const GUID_LIDSWITCH_STATE_CHANGE : :: windows :: Guid = :: windows :: Guid :: from_values ( 3124629325 ,47127 ,16532 , [ 162 ,209 ,213 ,99 ,121 ,230 ,160 ,243 ] , ) ; pub const GUID_LOCK_CONSOLE_ON_WAKE : :: windows :: Guid = :: windows :: Guid :: from_values ( 242838491 ,4109 ,18390 , [ 162 ,213 ,247 ,210 ,218 ,165 ,31 ,81 ] , ) ; pub const GUID_MAX_POWER_SAVINGS : :: windows :: Guid = :: windows :: Guid :: from_values ( 2709787400 ,13633 ,20395 , [ 188 ,129 ,247 ,21 ,86 ,242 ,11 ,74 ] , ) ; pub const GUID_MIN_POWER_SAVINGS : :: windows :: Guid = :: windows :: Guid :: from_values ( 2355003354 ,59583 ,19094 , [ 154 ,133 ,166 ,226 ,58 ,140 ,99 ,92 ] , ) ; pub const GUID_MIXED_REALITY_MODE : :: windows :: Guid = :: windows :: Guid :: from_values ( 509766478 ,52996 ,20365 , [ 156 ,199 ,201 ,124 ,91 ,15 ,35 ,145 ] , ) ; pub const GUID_MONITOR_POWER_ON : :: windows :: Guid = :: windows :: Guid :: from_values ( 41095189 ,17680 ,17702 , [ 153 ,230 ,229 ,161 ,126 ,189 ,26 ,234 ] , ) ; pub const GUID_NON_ADAPTIVE_INPUT_TIMEOUT : :: windows :: Guid = :: windows :: Guid :: from_values ( 1524350908 ,1870 ,19873 , [ 186 ,56 ,219 ,139 ,54 ,178 ,200 ,243 ] , ) ; pub const GUID_PCIEXPRESS_ASPM_POLICY : :: windows :: Guid = :: windows :: Guid :: from_values ( 3994220806 ,53879 ,16459 , [ 182 ,218 ,229 ,250 ,26 ,87 ,109 ,245 ] , ) ; pub const GUID_PCIEXPRESS_SETTINGS_SUBGROUP : :: windows :: Guid = :: windows :: Guid :: from_values ( 1343900947 ,17071 ,17449 , [ 159 ,209 ,168 ,33 ,140 ,38 ,142 ,32 ] , ) ; pub const GUID_POWERBUTTON_ACTION : :: windows :: Guid = :: windows :: Guid :: from_values ( 1984491427 ,56732 ,20030 , [ 181 ,102 ,80 ,249 ,41 ,56 ,98 ,128 ] , ) ; pub const GUID_POWERSCHEME_PERSONALITY : :: windows :: Guid = :: windows :: Guid :: from_values ( 610108737 ,14659 ,17442 , [ 176 ,37 ,19 ,167 ,132 ,246 ,121 ,183 ] , ) ; pub const GUID_POWER_SAVING_STATUS : :: windows :: Guid = :: windows :: Guid :: from_values ( 3758708928 ,49683 ,19150 , [ 172 ,119 ,254 ,204 ,237 ,46 ,238 ,165 ] , ) ; pub const GUID_PROCESSOR_ALLOW_THROTTLING : :: windows :: Guid = :: windows :: Guid :: from_values ( 990172413 ,7367 ,20259 , [ 171 ,28 ,209 ,51 ,120 ,25 ,196 ,187 ] , ) ; pub const GUID_PROCESSOR_CLASS0_FLOOR_PERF : :: windows :: Guid = :: windows :: Guid :: from_values ( 4259087403 ,33636 ,20188 , [ 148 ,207 ,193 ,127 ,96 ,222 ,28 ,128 ] , ) ; pub const GUID_PROCESSOR_CLASS1_INITIAL_PERF : :: windows :: Guid = :: windows :: Guid :: from_values ( 531430501 ,43312 ,19397 , [ 159 ,56 ,80 ,78 ,192 ,151 ,187 ,192 ] , ) ; pub const GUID_PROCESSOR_CORE_PARKING_AFFINITY_HISTORY_DECREASE_FACTOR : :: windows :: Guid = :: windows :: Guid :: from_values ( 2407220707 ,50067 ,18442 , [ 135 ,140 ,246 ,122 ,195 ,208 ,112 ,130 ] , ) ; pub const GUID_PROCESSOR_CORE_PARKING_AFFINITY_HISTORY_THRESHOLD : :: windows :: Guid = :: windows :: Guid :: from_values ( 1530095995 ,59549 ,19768 , [ 170 ,70 ,158 ,125 ,251 ,124 ,210 ,249 ] , ) ; pub const GUID_PROCESSOR_CORE_PARKING_AFFINITY_WEIGHTING : :: windows :: Guid = :: windows :: Guid :: from_values ( 3876087793 ,64047 ,20302 , [ 174 ,161 ,77 ,138 ,11 ,162 ,59 ,32 ] , ) ; pub const GUID_PROCESSOR_CORE_PARKING_DECREASE_POLICY : :: windows :: Guid = :: windows :: Guid :: from_values ( 1895963457 ,51017 ,19745 , [ 190 ,116 ,160 ,15 ,51 ,93 ,88 ,43 ] , ) ; pub const GUID_PROCESSOR_CORE_PARKING_DECREASE_THRESHOLD : :: windows :: Guid = :: windows :: Guid :: from_values ( 1759325991 ,42190 ,19985 , [ 132 ,135 ,55 ,148 ,228 ,19 ,93 ,250 ] , ) ; pub const GUID_PROCESSOR_CORE_PARKING_DECREASE_TIME : :: windows :: Guid = :: windows :: Guid :: from_values ( 3755019543 ,54763 ,17885 , [ 135 ,122 ,154 ,52 ,221 ,209 ,92 ,130 ] , ) ; pub const GUID_PROCESSOR_CORE_PARKING_INCREASE_POLICY : :: windows :: Guid = :: windows :: Guid :: from_values ( 3351119481 ,10263 ,19817 , [ 157 ,2 ,81 ,154 ,83 ,126 ,208 ,198 ] , ) ; pub const GUID_PROCESSOR_CORE_PARKING_INCREASE_THRESHOLD : :: windows :: Guid = :: windows :: Guid :: from_values ( 3742640449 ,8435 ,20191 , [ 154 ,74 ,156 ,131 ,211 ,215 ,23 ,209 ] , ) ; pub const GUID_PROCESSOR_CORE_PARKING_INCREASE_TIME : :: windows :: Guid = :: windows :: Guid :: from_values ( 769481348 ,23153 ,17278 , [ 145 ,42 ,219 ,11 ,140 ,120 ,135 ,50 ] , ) ; pub const GUID_PROCESSOR_CORE_PARKING_MAX_CORES : :: windows :: Guid = :: windows :: Guid :: from_values ( 3926270001 ,3636 ,20465 , [ 155 ,109 ,235 ,16 ,89 ,51 ,64 ,40 ] , ) ; pub const GUID_PROCESSOR_CORE_PARKING_MAX_CORES_1 : :: windows :: Guid = :: windows :: Guid :: from_values ( 3926270001 ,3636 ,20465 , [ 155 ,109 ,235 ,16 ,89 ,51 ,64 ,41 ] , ) ; pub const GUID_PROCESSOR_CORE_PARKING_MIN_CORES : :: windows :: Guid = :: windows :: Guid :: from_values ( 214283847 ,49631 ,17975 , [ 137 ,26 ,222 ,195 ,92 ,49 ,133 ,131 ] , ) ; pub const GUID_PROCESSOR_CORE_PARKING_MIN_CORES_1 : :: windows :: Guid = :: windows :: Guid :: from_values ( 214283847 ,49631 ,17975 , [ 137 ,26 ,222 ,195 ,92 ,49 ,133 ,132 ] , ) ; pub const GUID_PROCESSOR_CORE_PARKING_OVER_UTILIZATION_HISTORY_DECREASE_FACTOR : :: windows :: Guid = :: windows :: Guid :: from_values ( 312017468 ,48168 ,20234 , [ 129 ,236 ,211 ,41 ,90 ,141 ,129 ,93 ] , ) ; pub const GUID_PROCESSOR_CORE_PARKING_OVER_UTILIZATION_HISTORY_THRESHOLD : :: windows :: Guid = :: windows :: Guid :: from_values ( 2596376210 ,43580 ,20007 , [ 179 ,7 ,1 ,174 ,55 ,48 ,113 ,41 ] , ) ; pub const GUID_PROCESSOR_CORE_PARKING_OVER_UTILIZATION_THRESHOLD : :: windows :: Guid = :: windows :: Guid :: from_values ( 2486996150 ,28563 ,16935 , [ 173 ,135 ,233 ,163 ,254 ,236 ,8 ,209 ] , ) ; pub const GUID_PROCESSOR_CORE_PARKING_OVER_UTILIZATION_WEIGHTING : :: windows :: Guid = :: windows :: Guid :: from_values ( 2282341080 ,45397 ,17108 , [ 188 ,218 ,13 ,52 ,86 ,81 ,177 ,219 ] , ) ; pub const GUID_PROCESSOR_DISTRIBUTE_UTILITY : :: windows :: Guid = :: windows :: Guid :: from_values ( 3758125872 ,62857 ,17133 , [ 164 ,1 ,93 ,219 ,16 ,231 ,133 ,211 ] , ) ; pub const GUID_PROCESSOR_DUTY_CYCLING : :: windows :: Guid = :: windows :: Guid :: from_values ( 1313099955 ,24953 ,20113 , [ 184 ,241 ,91 ,185 ,147 ,143 ,129 ,161 ] , ) ; pub const GUID_PROCESSOR_FREQUENCY_LIMIT : :: windows :: Guid = :: windows :: Guid :: from_values ( 1974513215 ,48352 ,17831 , [ 140 ,137 ,201 ,97 ,28 ,37 ,225 ,0 ] , ) ; pub const GUID_PROCESSOR_FREQUENCY_LIMIT_1 : :: windows :: Guid = :: windows :: Guid :: from_values ( 1974513215 ,48352 ,17831 , [ 140 ,137 ,201 ,97 ,28 ,37 ,225 ,1 ] , ) ; pub const GUID_PROCESSOR_HETEROGENEOUS_POLICY : :: windows :: Guid = :: windows :: Guid :: from_values ( 2133810426 ,61708 ,18467 , [ 181 ,225 ,233 ,58 ,232 ,95 ,70 ,181 ] , ) ; pub const GUID_PROCESSOR_HETERO_DECREASE_THRESHOLD : :: windows :: Guid = :: windows :: Guid :: from_values ( 4169538599 ,38375 ,18268 , [ 134 ,91 ,19 ,192 ,203 ,63 ,157 ,107 ] , ) ; pub const GUID_PROCESSOR_HETERO_DECREASE_TIME : :: windows :: Guid = :: windows :: Guid :: from_values ( 2133103286 ,24753 ,17893 , [ 174 ,85 ,119 ,63 ,140 ,213 ,202 ,236 ] , ) ; pub const GUID_PROCESSOR_HETERO_INCREASE_THRESHOLD : :: windows :: Guid = :: windows :: Guid :: from_values ( 2952804733 ,39691 ,18493 , [ 152 ,201 ,105 ,42 ,96 ,96 ,207 ,191 ] , ) ; pub const GUID_PROCESSOR_HETERO_INCREASE_TIME : :: windows :: Guid = :: windows :: Guid :: from_values ( 1074392999 ,59181 ,19642 , [ 158 ,223 ,145 ,8 ,78 ,168 ,203 ,195 ] , ) ; pub const GUID_PROCESSOR_IDLESTATE_POLICY : :: windows :: Guid = :: windows :: Guid :: from_values ( 1760715431 ,63009 ,16489 , [ 185 ,165 ,72 ,116 ,22 ,155 ,226 ,60 ] , ) ; pub const GUID_PROCESSOR_IDLE_ALLOW_SCALING : :: windows :: Guid = :: windows :: Guid :: from_values ( 1814664112 ,36680 ,18463 , [ 188 ,198 ,0 ,221 ,39 ,66 ,170 ,6 ] , ) ; pub const GUID_PROCESSOR_IDLE_DEMOTE_THRESHOLD : :: windows :: Guid = :: windows :: Guid :: from_values ( 1267914584 ,23076 ,18513 , [ 164 ,112 ,129 ,93 ,120 ,174 ,225 ,25 ] , ) ; pub const GUID_PROCESSOR_IDLE_DISABLE : :: windows :: Guid = :: windows :: Guid :: from_values ( 1568056010 ,59584 ,16431 , [ 161 ,51 ,33 ,88 ,73 ,45 ,88 ,173 ] , ) ; pub const GUID_PROCESSOR_IDLE_PROMOTE_THRESHOLD : :: windows :: Guid = :: windows :: Guid :: from_values ( 2065844355 ,46028 ,19833 , [ 129 ,159 ,131 ,116 ,21 ,44 ,190 ,124 ] , ) ; pub const GUID_PROCESSOR_IDLE_STATE_MAXIMUM : :: windows :: Guid = :: windows :: Guid :: from_values ( 2571364613 ,39472 ,20161 , [ 155 ,153 ,68 ,221 ,59 ,118 ,247 ,162 ] , ) ; pub const GUID_PROCESSOR_IDLE_TIME_CHECK : :: windows :: Guid = :: windows :: Guid :: from_values ( 3294108721 ,35243 ,17815 , [ 142 ,43 ,156 ,156 ,171 ,68 ,14 ,107 ] , ) ; pub const GUID_PROCESSOR_LATENCY_HINT_MIN_UNPARK : :: windows :: Guid = :: windows :: Guid :: from_values ( 1634523813 ,26974 ,17733 , [ 151 ,173 ,151 ,220 ,45 ,27 ,221 ,136 ] , ) ; pub const GUID_PROCESSOR_LATENCY_HINT_MIN_UNPARK_1 : :: windows :: Guid = :: windows :: Guid :: from_values ( 1634523813 ,26974 ,17733 , [ 151 ,173 ,151 ,220 ,45 ,27 ,221 ,137 ] , ) ; pub const GUID_PROCESSOR_PARKING_CONCURRENCY_THRESHOLD : :: windows :: Guid = :: windows :: Guid :: from_values ( 607169391 ,42272 ,17570 , [ 150 ,1 ,247 ,242 ,59 ,81 ,52 ,177 ] , ) ; pub const GUID_PROCESSOR_PARKING_CORE_OVERRIDE : :: windows :: Guid = :: windows :: Guid :: from_values ( 2773881514 ,63012 ,17094 , [ 164 ,67 ,115 ,151 ,208 ,100 ,192 ,79 ] , ) ; pub const GUID_PROCESSOR_PARKING_DISTRIBUTION_THRESHOLD : :: windows :: Guid = :: windows :: Guid :: from_values ( 1272640745 ,53507 ,18135 , [ 165 ,240 ,98 ,128 ,18 ,22 ,22 ,239 ] , ) ; pub const GUID_PROCESSOR_PARKING_HEADROOM_THRESHOLD : :: windows :: Guid = :: windows :: Guid :: from_values ( 4147488371 ,8294 ,20352 , [ 160 ,197 ,221 ,238 ,12 ,241 ,191 ,93 ] , ) ; pub const GUID_PROCESSOR_PARKING_PERF_STATE : :: windows :: Guid = :: windows :: Guid :: from_values ( 1148335559 ,27277 ,19648 , [ 142 ,36 ,158 ,175 ,112 ,185 ,110 ,43 ] , ) ; pub const GUID_PROCESSOR_PARKING_PERF_STATE_1 : :: windows :: Guid = :: windows :: Guid :: from_values ( 1148335559 ,27277 ,19648 , [ 142 ,36 ,158 ,175 ,112 ,185 ,110 ,44 ] , ) ; pub const GUID_PROCESSOR_PERFSTATE_POLICY : :: windows :: Guid = :: windows :: Guid :: from_values ( 3151771668 ,6377 ,17507 , [ 138 ,85 ,209 ,151 ,50 ,124 ,69 ,192 ] , ) ; pub const GUID_PROCESSOR_PERF_AUTONOMOUS_ACTIVITY_WINDOW : :: windows :: Guid = :: windows :: Guid :: from_values ( 3488457680 ,30359 ,17766 , [ 169 ,34 ,169 ,8 ,108 ,212 ,157 ,250 ] , ) ; pub const GUID_PROCESSOR_PERF_AUTONOMOUS_MODE : :: windows :: Guid = :: windows :: Guid :: from_values ( 2343193226 ,5318 ,17489 , [ 142 ,139 ,20 ,189 ,189 ,25 ,117 ,55 ] , ) ; pub const GUID_PROCESSOR_PERF_BOOST_MODE : :: windows :: Guid = :: windows :: Guid :: from_values ( 3191042616 ,3458 ,16710 , [ 169 ,96 ,79 ,55 ,73 ,212 ,112 ,199 ] , ) ; pub const GUID_PROCESSOR_PERF_BOOST_POLICY : :: windows :: Guid = :: windows :: Guid :: from_values ( 1169997892 ,55429 ,17378 , [ 134 ,5 ,238 ,14 ,198 ,233 ,107 ,89 ] , ) ; pub const GUID_PROCESSOR_PERF_CORE_PARKING_HISTORY : :: windows :: Guid = :: windows :: Guid :: from_values ( 2010641026 ,36634 ,17101 , [ 133 ,55 ,69 ,69 ,10 ,131 ,155 ,232 ] , ) ; pub const GUID_PROCESSOR_PERF_DECREASE_HISTORY : :: windows :: Guid = :: windows :: Guid :: from_values ( 50394872 ,43990 ,17833 , [ 183 ,79 ,73 ,8 ,105 ,26 ,64 ,181 ] , ) ; pub const GUID_PROCESSOR_PERF_DECREASE_POLICY : :: windows :: Guid = :: windows :: Guid :: from_values ( 1090252743 ,11933 ,19749 , [ 161 ,133 ,12 ,253 ,133 ,116 ,186 ,198 ] , ) ; pub const GUID_PROCESSOR_PERF_DECREASE_POLICY_1 : :: windows :: Guid = :: windows :: Guid :: from_values ( 1090252743 ,11933 ,19749 , [ 161 ,133 ,12 ,253 ,133 ,116 ,186 ,199 ] , ) ; pub const GUID_PROCESSOR_PERF_DECREASE_THRESHOLD : :: windows :: Guid = :: windows :: Guid :: from_values ( 312519492 ,65064 ,20393 , [ 179 ,189 ,75 ,100 ,244 ,73 ,96 ,166 ] , ) ; pub const GUID_PROCESSOR_PERF_DECREASE_THRESHOLD_1 : :: windows :: Guid = :: windows :: Guid :: from_values ( 312519492 ,65064 ,20393 , [ 179 ,189 ,75 ,100 ,244 ,73 ,96 ,167 ] , ) ; pub const GUID_PROCESSOR_PERF_DECREASE_TIME : :: windows :: Guid = :: windows :: Guid :: from_values ( 3639471003 ,38351 ,20373 , [ 167 ,60 ,176 ,97 ,151 ,54 ,147 ,200 ] , ) ; pub const GUID_PROCESSOR_PERF_DECREASE_TIME_1 : :: windows :: Guid = :: windows :: Guid :: from_values ( 3639471003 ,38351 ,20373 , [ 167 ,60 ,176 ,97 ,151 ,54 ,147 ,201 ] , ) ; pub const GUID_PROCESSOR_PERF_ENERGY_PERFORMANCE_PREFERENCE : :: windows :: Guid = :: windows :: Guid :: from_values ( 912818078 ,58277 ,19903 , [ 177 ,220 ,21 ,235 ,56 ,28 ,104 ,99 ] , ) ; pub const GUID_PROCESSOR_PERF_ENERGY_PERFORMANCE_PREFERENCE_1 : :: windows :: Guid = :: windows :: Guid :: from_values ( 912818078 ,58277 ,19903 , [ 177 ,220 ,21 ,235 ,56 ,28 ,104 ,100 ] , ) ; pub const GUID_PROCESSOR_PERF_HISTORY : :: windows :: Guid = :: windows :: Guid :: from_values ( 2099559079 ,2948 ,18447 , [ 132 ,12 ,27 ,7 ,67 ,192 ,15 ,95 ] , ) ; pub const GUID_PROCESSOR_PERF_HISTORY_1 : :: windows :: Guid = :: windows :: Guid :: from_values ( 2099559079 ,2948 ,18447 , [ 132 ,12 ,27 ,7 ,67 ,192 ,15 ,96 ] , ) ; pub const GUID_PROCESSOR_PERF_INCREASE_HISTORY : :: windows :: Guid = :: windows :: Guid :: from_values ( 2578706177 ,29999 ,18081 , [ 128 ,251 ,119 ,48 ,1 ,31 ,35 ,84 ] , ) ; pub const GUID_PROCESSOR_PERF_INCREASE_POLICY : :: windows :: Guid = :: windows :: Guid :: from_values ( 1180573520 ,46608 ,18234 , [ 171 ,88 ,0 ,209 ,7 ,125 ,196 ,24 ] , ) ; pub const GUID_PROCESSOR_PERF_INCREASE_POLICY_1 : :: windows :: Guid = :: windows :: Guid :: from_values ( 1180573520 ,46608 ,18234 , [ 171 ,88 ,0 ,209 ,7 ,125 ,196 ,25 ] , ) ; pub const GUID_PROCESSOR_PERF_INCREASE_THRESHOLD : :: windows :: Guid = :: windows :: Guid :: from_values ( 113958670 ,25837 ,17546 , [ 137 ,39 ,206 ,123 ,249 ,14 ,179 ,93 ] , ) ; pub const GUID_PROCESSOR_PERF_INCREASE_THRESHOLD_1 : :: windows :: Guid = :: windows :: Guid :: from_values ( 113958670 ,25837 ,17546 , [ 137 ,39 ,206 ,123 ,249 ,14 ,179 ,94 ] , ) ; pub const GUID_PROCESSOR_PERF_INCREASE_TIME : :: windows :: Guid = :: windows :: Guid :: from_values ( 2555180178 ,15341 ,17544 , [ 168 ,249 ,66 ,134 ,201 ,123 ,245 ,170 ] , ) ; pub const GUID_PROCESSOR_PERF_INCREASE_TIME_1 : :: windows :: Guid = :: windows :: Guid :: from_values ( 2555180178 ,15341 ,17544 , [ 168 ,249 ,66 ,134 ,201 ,123 ,245 ,171 ] , ) ; pub const GUID_PROCESSOR_PERF_LATENCY_HINT : :: windows :: Guid = :: windows :: Guid :: from_values ( 136503089 ,40067 ,17436 , [ 160 ,121 ,13 ,228 ,207 ,0 ,156 ,123 ] , ) ; pub const GUID_PROCESSOR_PERF_LATENCY_HINT_PERF : :: windows :: Guid = :: windows :: Guid :: from_values ( 1637577989 ,59 ,20098 , [ 183 ,166 ,77 ,210 ,156 ,48 ,9 ,113 ] , ) ; pub const GUID_PROCESSOR_PERF_LATENCY_HINT_PERF_1 : :: windows :: Guid = :: windows :: Guid :: from_values ( 1637577989 ,59 ,20098 , [ 183 ,166 ,77 ,210 ,156 ,48 ,9 ,114 ] , ) ; pub const GUID_PROCESSOR_PERF_TIME_CHECK : :: windows :: Guid = :: windows :: Guid :: from_values ( 1294664018 ,32092 ,18827 , [ 136 ,226 ,52 ,52 ,83 ,146 ,162 ,197 ] , ) ; pub const GUID_PROCESSOR_RESPONSIVENESS_DISABLE_THRESHOLD : :: windows :: Guid = :: windows :: Guid :: from_values ( 951597117 ,52448 ,19577 , [ 158 ,62 ,86 ,164 ,241 ,124 ,196 ,128 ] , ) ; pub const GUID_PROCESSOR_RESPONSIVENESS_DISABLE_THRESHOLD_1 : :: windows :: Guid = :: windows :: Guid :: from_values ( 951597117 ,52448 ,19577 , [ 158 ,62 ,86 ,164 ,241 ,124 ,196 ,129 ] , ) ; pub const GUID_PROCESSOR_RESPONSIVENESS_DISABLE_TIME : :: windows :: Guid = :: windows :: Guid :: from_values ( 4117076383 ,16304 ,16666 , [ 162 ,38 ,63 ,1 ,152 ,222 ,193 ,48 ] , ) ; pub const GUID_PROCESSOR_RESPONSIVENESS_DISABLE_TIME_1 : :: windows :: Guid = :: windows :: Guid :: from_values ( 4117076383 ,16304 ,16666 , [ 162 ,38 ,63 ,1 ,152 ,222 ,193 ,49 ] , ) ; pub const GUID_PROCESSOR_RESPONSIVENESS_ENABLE_THRESHOLD : :: windows :: Guid = :: windows :: Guid :: from_values ( 1027924566 ,29218 ,17429 , [ 169 ,237 ,156 ,69 ,250 ,61 ,216 ,48 ] , ) ; pub const GUID_PROCESSOR_RESPONSIVENESS_ENABLE_THRESHOLD_1 : :: windows :: Guid = :: windows :: Guid :: from_values ( 1027924566 ,29218 ,17429 , [ 169 ,237 ,156 ,69 ,250 ,61 ,216 ,49 ] , ) ; pub const GUID_PROCESSOR_RESPONSIVENESS_ENABLE_TIME : :: windows :: Guid = :: windows :: Guid :: from_values ( 1032933768 ,30768 ,18862 , [ 167 ,154 ,15 ,176 ,161 ,229 ,162 ,0 ] , ) ; pub const GUID_PROCESSOR_RESPONSIVENESS_ENABLE_TIME_1 : :: windows :: Guid = :: windows :: Guid :: from_values ( 1032933768 ,30768 ,18862 , [ 167 ,154 ,15 ,176 ,161 ,229 ,162 ,1 ] , ) ; pub const GUID_PROCESSOR_RESPONSIVENESS_EPP_CEILING : :: windows :: Guid = :: windows :: Guid :: from_values ( 1143457595 ,38742 ,19036 , [ 184 ,75 ,199 ,189 ,167 ,156 ,115 ,32 ] , ) ; pub const GUID_PROCESSOR_RESPONSIVENESS_EPP_CEILING_1 : :: windows :: Guid = :: windows :: Guid :: from_values ( 1143457595 ,38742 ,19036 , [ 184 ,75 ,199 ,189 ,167 ,156 ,115 ,33 ] , ) ; pub const GUID_PROCESSOR_RESPONSIVENESS_PERF_FLOOR : :: windows :: Guid = :: windows :: Guid :: from_values ( 3465450222 ,27270 ,17778 , [ 191 ,224 ,32 ,194 ,29 ,3 ,205 ,64 ] , ) ; pub const GUID_PROCESSOR_RESPONSIVENESS_PERF_FLOOR_1 : :: windows :: Guid = :: windows :: Guid :: from_values ( 3465450222 ,27270 ,17778 , [ 191 ,224 ,32 ,194 ,29 ,3 ,205 ,65 ] , ) ; pub const GUID_PROCESSOR_SETTINGS_SUBGROUP : :: windows :: Guid = :: windows :: Guid :: from_values ( 1414738513 ,33470 ,18468 , [ 150 ,193 ,71 ,182 ,11 ,116 ,13 ,0 ] , ) ; pub const GUID_PROCESSOR_SHORT_THREAD_SCHEDULING_POLICY : :: windows :: Guid = :: windows :: Guid :: from_values ( 3135277953 ,11614 ,18056 , [ 173 ,106 ,19 ,36 ,51 ,86 ,101 ,75 ] , ) ; pub const GUID_PROCESSOR_SOFT_PARKING_LATENCY : :: windows :: Guid = :: windows :: Guid :: from_values ( 2546969665 ,8727 ,18411 , [ 153 ,45 ,97 ,139 ,25 ,119 ,201 ,7 ] , ) ; pub const GUID_PROCESSOR_THREAD_SCHEDULING_POLICY : :: windows :: Guid = :: windows :: Guid :: from_values ( 2478356188 ,1688 ,19740 , [ 158 ,228 ,6 ,68 ,233 ,0 ,200 ,93 ] , ) ; pub const GUID_PROCESSOR_THROTTLE_MAXIMUM : :: windows :: Guid = :: windows :: Guid :: from_values ( 3159374071 ,9184 ,18784 , [ 150 ,218 ,51 ,171 ,175 ,89 ,53 ,236 ] , ) ; pub const GUID_PROCESSOR_THROTTLE_MAXIMUM_1 : :: windows :: Guid = :: windows :: Guid :: from_values ( 3159374071 ,9184 ,18784 , [ 150 ,218 ,51 ,171 ,175 ,89 ,53 ,237 ] , ) ; pub const GUID_PROCESSOR_THROTTLE_MINIMUM : :: windows :: Guid = :: windows :: Guid :: from_values ( 2302537358 ,11247 ,16864 , [ 137 ,198 ,181 ,93 ,9 ,41 ,150 ,76 ] , ) ; pub const GUID_PROCESSOR_THROTTLE_MINIMUM_1 : :: windows :: Guid = :: windows :: Guid :: from_values ( 2302537358 ,11247 ,16864 , [ 137 ,198 ,181 ,93 ,9 ,41 ,150 ,77 ] , ) ; pub const GUID_PROCESSOR_THROTTLE_POLICY : :: windows :: Guid = :: windows :: Guid :: from_values ( 1459778308 ,19190 ,16644 , [ 146 ,96 ,227 ,217 ,82 ,72 ,252 ,54 ] , ) ; pub const GUID_SCM_PD_HEALTH_NOTIFICATION : :: windows :: Guid = :: windows :: Guid :: from_values ( 2644693894 ,29429 ,20195 , [ 129 ,85 ,236 ,160 ,103 ,142 ,59 ,6 ] , ) ; pub const GUID_SCM_PD_PASSTHROUGH_INVDIMM : :: windows :: Guid = :: windows :: Guid :: from_values ( 1124707376 ,3345 ,4580 , [ 145 ,145 ,8 ,0 ,32 ,12 ,154 ,102 ] , ) ; pub const GUID_SESSION_DISPLAY_STATUS : :: windows :: Guid = :: windows :: Guid :: from_values ( 730120718 ,44323 ,19935 , [ 147 ,219 ,5 ,255 ,189 ,126 ,252 ,165 ] , ) ; pub const GUID_SESSION_USER_PRESENCE : :: windows :: Guid = :: windows :: Guid :: from_values ( 1007633736 ,49215 ,19533 , [ 185 ,242 ,35 ,126 ,222 ,104 ,99 ,118 ] , ) ; pub const GUID_SLEEPBUTTON_ACTION : :: windows :: Guid = :: windows :: Guid :: from_values ( 2526636992 ,44368 ,18412 , [ 146 ,59 ,111 ,65 ,135 ,77 ,217 ,235 ] , ) ; pub const GUID_SLEEP_IDLE_THRESHOLD : :: windows :: Guid = :: windows :: Guid :: from_values ( 2177708768 ,30771 ,17651 , [ 135 ,55 ,112 ,129 ,243 ,141 ,31 ,112 ] , ) ; pub const GUID_SLEEP_SUBGROUP : :: windows :: Guid = :: windows :: Guid :: from_values ( 596418472 ,2733 ,16877 , [ 131 ,244 ,151 ,190 ,36 ,44 ,143 ,32 ] , ) ; pub const GUID_SPR_ACTIVE_SESSION_CHANGE : :: windows :: Guid = :: windows :: Guid :: from_values ( 237293112 ,50067 ,18242 , [ 189 ,177 ,116 ,79 ,75 ,158 ,224 ,142 ] , ) ; pub const GUID_STANDBY_BUDGET_GRACE_PERIOD : :: windows :: Guid = :: windows :: Guid :: from_values ( 1623228385 ,1366 ,17871 , [ 153 ,3 ,213 ,110 ,50 ,33 ,2 ,66 ] , ) ; pub const GUID_STANDBY_BUDGET_PERCENT : :: windows :: Guid = :: windows :: Guid :: from_values ( 2682595262 ,7024 ,18650 , [ 147 ,13 ,123 ,207 ,23 ,180 ,73 ,144 ] , ) ; pub const GUID_STANDBY_RESERVE_GRACE_PERIOD : :: windows :: Guid = :: windows :: Guid :: from_values ( 3345215122 ,29160 ,16679 , [ 132 ,235 ,246 ,237 ,4 ,58 ,62 ,61 ] , ) ; pub const GUID_STANDBY_RESERVE_TIME : :: windows :: Guid = :: windows :: Guid :: from_values ( 1183836133 ,4440 ,18156 , [ 136 ,188 ,91 ,150 ,201 ,228 ,79 ,208 ] , ) ; pub const GUID_STANDBY_RESET_PERCENT : :: windows :: Guid = :: windows :: Guid :: from_values ( 1238045093 ,22242 ,19195 , [ 157 ,56 ,61 ,244 ,120 ,114 ,226 ,27 ] , ) ; pub const GUID_STANDBY_TIMEOUT : :: windows :: Guid = :: windows :: Guid :: from_values ( 704037339 ,34522 ,18629 , [ 159 ,219 ,242 ,182 ,123 ,31 ,68 ,218 ] , ) ; pub const GUID_SYSTEM_AWAYMODE : :: windows :: Guid = :: windows :: Guid :: from_values ( 2561144192 ,503 ,18602 , [ 156 ,15 ,68 ,53 ,44 ,41 ,229 ,192 ] , ) ; pub const GUID_SYSTEM_BUTTON_SUBGROUP : :: windows :: Guid = :: windows :: Guid :: from_values ( 1335303817 ,61117 ,17493 , [ 168 ,222 ,158 ,89 ,4 ,14 ,115 ,71 ] , ) ; pub const GUID_SYSTEM_COOLING_POLICY : :: windows :: Guid = :: windows :: Guid :: from_values ( 2496898581 ,43161 ,19141 , [ 174 ,43 ,228 ,216 ,246 ,52 ,54 ,127 ] , ) ; pub const GUID_TYPICAL_POWER_SAVINGS : :: windows :: Guid = :: windows :: Guid :: from_values ( 941310498 ,63124 ,16880 , [ 150 ,133 ,255 ,91 ,178 ,96 ,223 ,46 ] , ) ; pub const GUID_UNATTEND_SLEEP_TIMEOUT : :: windows :: Guid = :: windows :: Guid :: from_values ( 2076484345 ,55548 ,17513 , [ 176 ,123 ,51 ,235 ,120 ,90 ,172 ,160 ] , ) ; pub const GUID_USERINTERFACEBUTTON_ACTION : :: windows :: Guid = :: windows :: Guid :: from_values ( 2802214483 ,36204 ,16552 , [ 145 ,14 ,161 ,245 ,75 ,132 ,199 ,229 ] , ) ; pub const GUID_USER_PRESENCE_PREDICTION : :: windows :: Guid = :: windows :: Guid :: from_values ( 2181109509 ,64405 ,19782 , [ 141 ,53 ,64 ,66 ,177 ,210 ,13 ,239 ] , ) ; pub const GUID_VIDEO_ADAPTIVE_DISPLAY_BRIGHTNESS : :: windows :: Guid = :: windows :: Guid :: from_values ( 4225346150 ,38227 ,16535 , [ 186 ,68 ,237 ,110 ,157 ,101 ,234 ,184 ] , ) ; pub const GUID_VIDEO_ADAPTIVE_PERCENT_INCREASE : :: windows :: Guid = :: windows :: Guid :: from_values ( 4007199967 ,45378 ,16771 , [ 177 ,11 ,90 ,17 ,151 ,163 ,120 ,100 ] , ) ; pub const GUID_VIDEO_ADAPTIVE_POWERDOWN : :: windows :: Guid = :: windows :: Guid :: from_values ( 2425724194 ,54945 ,18873 , [ 175 ,147 ,188 ,232 ,133 ,173 ,51 ,91 ] , ) ; pub const GUID_VIDEO_ANNOYANCE_TIMEOUT : :: windows :: Guid = :: windows :: Guid :: from_values ( 2195443501 ,52583 ,16581 , [ 191 ,220 ,159 ,26 ,92 ,205 ,70 ,99 ] , ) ; pub const GUID_VIDEO_CONSOLE_LOCK_TIMEOUT : :: windows :: Guid = :: windows :: Guid :: from_values ( 2395255717 ,26728 ,18626 , [ 190 ,117 ,79 ,48 ,68 ,190 ,136 ,167 ] , ) ; pub const GUID_VIDEO_CURRENT_MONITOR_BRIGHTNESS : :: windows :: Guid = :: windows :: Guid :: from_values ( 2415846086 ,11521 ,18110 , [ 173 ,185 ,57 ,138 ,221 ,197 ,180 ,255 ] , ) ; pub const GUID_VIDEO_DIM_TIMEOUT : :: windows :: Guid = :: windows :: Guid :: from_values ( 397058715 ,35651 ,19348 , [ 170 ,254 ,53 ,246 ,77 ,170 ,241 ,238 ] , ) ; pub const GUID_VIDEO_POWERDOWN_TIMEOUT : :: windows :: Guid = :: windows :: Guid :: from_values ( 1007403041 ,51368 ,19975 , [ 169 ,115 ,107 ,20 ,203 ,203 ,43 ,126 ] , ) ; pub const GUID_VIDEO_SUBGROUP : :: windows :: Guid = :: windows :: Guid :: from_values ( 1964423519 ,63350 ,17508 , [ 140 ,83 ,6 ,22 ,127 ,64 ,204 ,153 ] , ) ; pub const GX_GENERAL : i32 = 3i32 ; pub const GX_IDENTITY : i32 = 0i32 ; pub const GX_OFFSET : i32 = 1i32 ; pub const GX_SCALE : i32 = 2i32 ; pub unsafe fn GetOverlappedResult < 'a , > ( hfile : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , lpoverlapped : * mut OVERLAPPED , lpnumberofbytestransferred : * mut u32 , bwait : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetOverlappedResult ( hfile : super::super::Foundation:: HANDLE , lpoverlapped : * mut OVERLAPPED , lpnumberofbytestransferred : * mut u32 , bwait : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ; } GetOverlappedResult ( hfile . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpoverlapped ) , :: std :: mem :: transmute ( lpnumberofbytestransferred ) , bwait . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetOverlappedResultEx < 'a , > ( hfile : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , lpoverlapped : * mut OVERLAPPED , lpnumberofbytestransferred : * mut u32 , dwmilliseconds : u32 , balertable : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetOverlappedResultEx ( hfile : super::super::Foundation:: HANDLE , lpoverlapped : * mut OVERLAPPED , lpnumberofbytestransferred : * mut u32 , dwmilliseconds : u32 , balertable : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ; } GetOverlappedResultEx ( hfile . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpoverlapped ) , :: std :: mem :: transmute ( lpnumberofbytestransferred ) , :: std :: mem :: transmute ( dwmilliseconds ) , balertable . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( transparent ) ] pub struct HANDLE_PTR ( pub usize ) ; impl HANDLE_PTR { } impl :: std :: default :: Default for HANDLE_PTR { fn default ( ) -> Self { Self ( 0 ) } } impl HANDLE_PTR { pub const NULL : Self = Self ( 0 ) ; pub fn is_null ( & self ) -> bool { self . 0 == 0 } } impl :: std :: fmt :: Debug for HANDLE_PTR { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "HANDLE_PTR" ) . field ( "Value" , & self .0 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for HANDLE_PTR { fn eq ( & self , other : & Self ) -> bool { self .0 == other .0 } } impl :: std :: cmp :: Eq for HANDLE_PTR { } unsafe impl :: windows :: Abi for HANDLE_PTR { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( transparent ) ] pub struct HBM ( pub isize ) ; impl HBM { } impl :: std :: default :: Default for HBM { fn default ( ) -> Self { Self ( 0 ) } } impl HBM { pub const NULL : Self = Self ( 0 ) ; pub fn is_null ( & self ) -> bool { self . 0 == 0 } } impl :: std :: fmt :: Debug for HBM { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "HBM" ) . field ( "Value" , & self .0 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for HBM { fn eq ( & self , other : & Self ) -> bool { self .0 == other .0 } } impl :: std :: cmp :: Eq for HBM { } unsafe impl :: windows :: Abi for HBM { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( transparent ) ] pub struct HDEV ( pub isize ) ; impl HDEV { } impl :: std :: default :: Default for HDEV { fn default ( ) -> Self { Self ( 0 ) } } impl HDEV { pub const NULL : Self = Self ( 0 ) ; pub fn is_null ( & self ) -> bool { self . 0 == 0 } } impl :: std :: fmt :: Debug for HDEV { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "HDEV" ) . field ( "Value" , & self .0 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for HDEV { fn eq ( & self , other : & Self ) -> bool { self .0 == other .0 } } impl :: std :: cmp :: Eq for HDEV { } unsafe impl :: windows :: Abi for HDEV { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( transparent ) ] pub struct HDRVOBJ ( pub isize ) ; impl HDRVOBJ { } impl :: std :: default :: Default for HDRVOBJ { fn default ( ) -> Self { Self ( 0 ) } } impl HDRVOBJ { pub const NULL : Self = Self ( 0 ) ; pub fn is_null ( & self ) -> bool { self . 0 == 0 } } impl :: std :: fmt :: Debug for HDRVOBJ { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "HDRVOBJ" ) . field ( "Value" , & self .0 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for HDRVOBJ { fn eq ( & self , other : & Self ) -> bool { self .0 == other .0 } } impl :: std :: cmp :: Eq for HDRVOBJ { } unsafe impl :: windows :: Abi for HDRVOBJ { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct HEAP_INFORMATION_CLASS ( pub i32 ) ; pub const HeapCompatibilityInformation : HEAP_INFORMATION_CLASS = HEAP_INFORMATION_CLASS ( 0i32 ) ; pub const HeapEnableTerminationOnCorruption : HEAP_INFORMATION_CLASS = HEAP_INFORMATION_CLASS ( 1i32 ) ; pub const HeapOptimizeResources : HEAP_INFORMATION_CLASS = HEAP_INFORMATION_CLASS ( 3i32 ) ; impl :: std :: convert :: From < i32 > for HEAP_INFORMATION_CLASS { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for HEAP_INFORMATION_CLASS { type Abi = Self ; type DefaultType = Self ; } pub const HEAP_OPTIMIZE_RESOURCES_CURRENT_VERSION : u32 = 1u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct HEAP_OPTIMIZE_RESOURCES_INFORMATION { pub Version : u32 , pub Flags : u32 } impl HEAP_OPTIMIZE_RESOURCES_INFORMATION { } impl :: std :: default :: Default for HEAP_OPTIMIZE_RESOURCES_INFORMATION { fn default ( ) -> Self { Self { Version : 0 , Flags : 0 } } } impl :: std :: fmt :: Debug for HEAP_OPTIMIZE_RESOURCES_INFORMATION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "HEAP_OPTIMIZE_RESOURCES_INFORMATION" ) . field ( "Version" , & self . Version ) . field ( "Flags" , & self . Flags ) . finish ( ) } } impl :: std :: cmp :: PartialEq for HEAP_OPTIMIZE_RESOURCES_INFORMATION { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Flags == other . Flags } } impl :: std :: cmp :: Eq for HEAP_OPTIMIZE_RESOURCES_INFORMATION { } unsafe impl :: windows :: Abi for HEAP_OPTIMIZE_RESOURCES_INFORMATION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( transparent ) ] pub struct HFASTMUTEX ( pub isize ) ; impl HFASTMUTEX { } impl :: std :: default :: Default for HFASTMUTEX { fn default ( ) -> Self { Self ( 0 ) } } impl HFASTMUTEX { pub const NULL : Self = Self ( 0 ) ; pub fn is_null ( & self ) -> bool { self . 0 == 0 } } impl :: std :: fmt :: Debug for HFASTMUTEX { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "HFASTMUTEX" ) . field ( "Value" , & self .0 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for HFASTMUTEX { fn eq ( & self , other : & Self ) -> bool { self .0 == other .0 } } impl :: std :: cmp :: Eq for HFASTMUTEX { } unsafe impl :: windows :: Abi for HFASTMUTEX { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct HIBERFILE_BUCKET { pub MaxPhysicalMemory : u64 , pub PhysicalMemoryPercent : [ u32 ;3 ] } impl HIBERFILE_BUCKET { } impl :: std :: default :: Default for HIBERFILE_BUCKET { fn default ( ) -> Self { Self { MaxPhysicalMemory : 0 , PhysicalMemoryPercent : [ 0 ;3 ] } } } impl :: std :: fmt :: Debug for HIBERFILE_BUCKET { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "HIBERFILE_BUCKET" ) . field ( "MaxPhysicalMemory" , & self . MaxPhysicalMemory ) . field ( "PhysicalMemoryPercent" , & self . PhysicalMemoryPercent ) . finish ( ) } } impl :: std :: cmp :: PartialEq for HIBERFILE_BUCKET { fn eq ( & self , other : & Self ) -> bool { self . MaxPhysicalMemory == other . MaxPhysicalMemory && self . PhysicalMemoryPercent == other . PhysicalMemoryPercent } } impl :: std :: cmp :: Eq for HIBERFILE_BUCKET { } unsafe impl :: windows :: Abi for HIBERFILE_BUCKET { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct HIBERFILE_BUCKET_SIZE ( pub i32 ) ; pub const HiberFileBucket1GB : HIBERFILE_BUCKET_SIZE = HIBERFILE_BUCKET_SIZE ( 0i32 ) ; pub const HiberFileBucket2GB : HIBERFILE_BUCKET_SIZE = HIBERFILE_BUCKET_SIZE ( 1i32 ) ; pub const HiberFileBucket4GB : HIBERFILE_BUCKET_SIZE = HIBERFILE_BUCKET_SIZE ( 2i32 ) ; pub const HiberFileBucket8GB : HIBERFILE_BUCKET_SIZE = HIBERFILE_BUCKET_SIZE ( 3i32 ) ; pub const HiberFileBucket16GB : HIBERFILE_BUCKET_SIZE = HIBERFILE_BUCKET_SIZE ( 4i32 ) ; pub const HiberFileBucket32GB : HIBERFILE_BUCKET_SIZE = HIBERFILE_BUCKET_SIZE ( 5i32 ) ; pub const HiberFileBucketUnlimited : HIBERFILE_BUCKET_SIZE = HIBERFILE_BUCKET_SIZE ( 6i32 ) ; pub const HiberFileBucketMax : HIBERFILE_BUCKET_SIZE = HIBERFILE_BUCKET_SIZE ( 7i32 ) ; impl :: std :: convert :: From < i32 > for HIBERFILE_BUCKET_SIZE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for HIBERFILE_BUCKET_SIZE { type Abi = Self ; type DefaultType = Self ; } pub const HIBERFILE_TYPE_FULL : u32 = 2u32 ; pub const HIBERFILE_TYPE_MAX : u32 = 3u32 ; pub const HIBERFILE_TYPE_NONE : u32 = 0u32 ; pub const HIBERFILE_TYPE_REDUCED : u32 = 1u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct HISTOGRAM_BUCKET { pub Reads : u32 , pub Writes : u32 } impl HISTOGRAM_BUCKET { } impl :: std :: default :: Default for HISTOGRAM_BUCKET { fn default ( ) -> Self { Self { Reads : 0 , Writes : 0 } } } impl :: std :: fmt :: Debug for HISTOGRAM_BUCKET { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "HISTOGRAM_BUCKET" ) . field ( "Reads" , & self . Reads ) . field ( "Writes" , & self . Writes ) . finish ( ) } } impl :: std :: cmp :: PartialEq for HISTOGRAM_BUCKET { fn eq ( & self , other : & Self ) -> bool { self . Reads == other . Reads && self . Writes == other . Writes } } impl :: std :: cmp :: Eq for HISTOGRAM_BUCKET { } unsafe impl :: windows :: Abi for HISTOGRAM_BUCKET { type Abi = Self ; type DefaultType = Self ; } pub const HIST_NO_OF_BUCKETS : u32 = 24u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( transparent ) ] pub struct HLSURF ( pub isize ) ; impl HLSURF { } impl :: std :: default :: Default for HLSURF { fn default ( ) -> Self { Self ( 0 ) } } impl HLSURF { pub const NULL : Self = Self ( 0 ) ; pub fn is_null ( & self ) -> bool { self . 0 == 0 } } impl :: std :: fmt :: Debug for HLSURF { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "HLSURF" ) . field ( "Value" , & self .0 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for HLSURF { fn eq ( & self , other : & Self ) -> bool { self .0 == other .0 } } impl :: std :: cmp :: Eq for HLSURF { } unsafe impl :: windows :: Abi for HLSURF { type Abi = Self ; type DefaultType = Self ; } pub const HOOK_ALPHABLEND : u32 = 65536u32 ; pub const HOOK_BITBLT : u32 = 1u32 ; pub const HOOK_COPYBITS : u32 = 1024u32 ; pub const HOOK_FILLPATH : u32 = 64u32 ; pub const HOOK_FLAGS : u32 = 243199u32 ; pub const HOOK_GRADIENTFILL : u32 = 131072u32 ; pub const HOOK_LINETO : u32 = 256u32 ; pub const HOOK_MOVEPANNING : u32 = 2048u32 ; pub const HOOK_PAINT : u32 = 16u32 ; pub const HOOK_PLGBLT : u32 = 4u32 ; pub const HOOK_STRETCHBLT : u32 = 2u32 ; pub const HOOK_STRETCHBLTROP : u32 = 8192u32 ; pub const HOOK_STROKEANDFILLPATH : u32 = 128u32 ; pub const HOOK_STROKEPATH : u32 = 32u32 ; pub const HOOK_SYNCHRONIZE : u32 = 4096u32 ; pub const HOOK_SYNCHRONIZEACCESS : u32 = 16384u32 ; pub const HOOK_TEXTOUT : u32 = 8u32 ; pub const HOOK_TRANSPARENTBLT : u32 = 32768u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct HSEMAPHORE__ { pub unused : i32 } impl HSEMAPHORE__ { } impl :: std :: default :: Default for HSEMAPHORE__ { fn default ( ) -> Self { Self { unused : 0 } } } impl :: std :: fmt :: Debug for HSEMAPHORE__ { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "HSEMAPHORE__" ) . field ( "unused" , & self . unused ) . finish ( ) } } impl :: std :: cmp :: PartialEq for HSEMAPHORE__ { fn eq ( & self , other : & Self ) -> bool { self . unused == other . unused } } impl :: std :: cmp :: Eq for HSEMAPHORE__ { } unsafe impl :: windows :: Abi for HSEMAPHORE__ { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( transparent ) ] pub struct HSPRITE ( pub isize ) ; impl HSPRITE { } impl :: std :: default :: Default for HSPRITE { fn default ( ) -> Self { Self ( 0 ) } } impl HSPRITE { pub const NULL : Self = Self ( 0 ) ; pub fn is_null ( & self ) -> bool { self . 0 == 0 } } impl :: std :: fmt :: Debug for HSPRITE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "HSPRITE" ) . field ( "Value" , & self .0 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for HSPRITE { fn eq ( & self , other : & Self ) -> bool { self .0 == other .0 } } impl :: std :: cmp :: Eq for HSPRITE { } unsafe impl :: windows :: Abi for HSPRITE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( transparent ) ] pub struct HSTR ( pub isize ) ; impl HSTR { } impl :: std :: default :: Default for HSTR { fn default ( ) -> Self { Self ( 0 ) } } impl HSTR { pub const NULL : Self = Self ( 0 ) ; pub fn is_null ( & self ) -> bool { self . 0 == 0 } } impl :: std :: fmt :: Debug for HSTR { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "HSTR" ) . field ( "Value" , & self .0 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for HSTR { fn eq ( & self , other : & Self ) -> bool { self .0 == other .0 } } impl :: std :: cmp :: Eq for HSTR { } unsafe impl :: windows :: Abi for HSTR { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( transparent ) ] pub struct HSURF ( pub isize ) ; impl HSURF { } impl :: std :: default :: Default for HSURF { fn default ( ) -> Self { Self ( 0 ) } } impl HSURF { pub const NULL : Self = Self ( 0 ) ; pub fn is_null ( & self ) -> bool { self . 0 == 0 } } impl :: std :: fmt :: Debug for HSURF { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "HSURF" ) . field ( "Value" , & self .0 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for HSURF { fn eq ( & self , other : & Self ) -> bool { self .0 == other .0 } } impl :: std :: cmp :: Eq for HSURF { } unsafe impl :: windows :: Abi for HSURF { type Abi = Self ; type DefaultType = Self ; } pub const HS_DDI_MAX : u32 = 6u32 ; pub const HT_FLAG_8BPP_CMY332_MASK : u32 = 4278190080u32 ; pub const HT_FLAG_ADDITIVE_PRIMS : u32 = 4u32 ; pub const HT_FLAG_DO_DEVCLR_XFORM : u32 = 128u32 ; pub const HT_FLAG_HAS_BLACK_DYE : u32 = 2u32 ; pub const HT_FLAG_INK_ABSORPTION_IDX0 : u32 = 0u32 ; pub const HT_FLAG_INK_ABSORPTION_IDX1 : u32 = 32u32 ; pub const HT_FLAG_INK_ABSORPTION_IDX2 : u32 = 64u32 ; pub const HT_FLAG_INK_ABSORPTION_IDX3 : u32 = 96u32 ; pub const HT_FLAG_INK_ABSORPTION_INDICES : u32 = 96u32 ; pub const HT_FLAG_INK_HIGH_ABSORPTION : u32 = 16u32 ; pub const HT_FLAG_INVERT_8BPP_BITMASK_IDX : u32 = 1024u32 ; pub const HT_FLAG_OUTPUT_CMY : u32 = 256u32 ; pub const HT_FLAG_PRINT_DRAFT_MODE : u32 = 512u32 ; pub const HT_FLAG_SQUARE_DEVICE_PEL : u32 = 1u32 ; pub const HT_FLAG_USE_8BPP_BITMASK : u32 = 8u32 ; pub const HT_FORMAT_16BPP : u32 = 5u32 ; pub const HT_FORMAT_1BPP : u32 = 0u32 ; pub const HT_FORMAT_24BPP : u32 = 6u32 ; pub const HT_FORMAT_32BPP : u32 = 7u32 ; pub const HT_FORMAT_4BPP : u32 = 2u32 ; pub const HT_FORMAT_4BPP_IRGB : u32 = 3u32 ; pub const HT_FORMAT_8BPP : u32 = 4u32 ; pub const HT_PATSIZE_10x10 : u32 = 8u32 ; pub const HT_PATSIZE_10x10_M : u32 = 9u32 ; pub const HT_PATSIZE_12x12 : u32 = 10u32 ; pub const HT_PATSIZE_12x12_M : u32 = 11u32 ; pub const HT_PATSIZE_14x14 : u32 = 12u32 ; pub const HT_PATSIZE_14x14_M : u32 = 13u32 ; pub const HT_PATSIZE_16x16 : u32 = 14u32 ; pub const HT_PATSIZE_16x16_M : u32 = 15u32 ; pub const HT_PATSIZE_2x2 : u32 = 0u32 ; pub const HT_PATSIZE_2x2_M : u32 = 1u32 ; pub const HT_PATSIZE_4x4 : u32 = 2u32 ; pub const HT_PATSIZE_4x4_M : u32 = 3u32 ; pub const HT_PATSIZE_6x6 : u32 = 4u32 ; pub const HT_PATSIZE_6x6_M : u32 = 5u32 ; pub const HT_PATSIZE_8x8 : u32 = 6u32 ; pub const HT_PATSIZE_8x8_M : u32 = 7u32 ; pub const HT_PATSIZE_SUPERCELL : u32 = 16u32 ; pub const HT_PATSIZE_SUPERCELL_M : u32 = 17u32 ; pub const HT_PATSIZE_USER : u32 = 18u32 ; pub const HT_USERPAT_CX_MAX : u32 = 256u32 ; pub const HT_USERPAT_CX_MIN : u32 = 4u32 ; pub const HT_USERPAT_CY_MAX : u32 = 256u32 ; pub const HT_USERPAT_CY_MIN : u32 = 4u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( transparent ) ] pub struct HUMPD ( pub isize ) ; impl HUMPD { } impl :: std :: default :: Default for HUMPD { fn default ( ) -> Self { Self ( 0 ) } } impl HUMPD { pub const NULL : Self = Self ( 0 ) ; pub fn is_null ( & self ) -> bool { self . 0 == 0 } } impl :: std :: fmt :: Debug for HUMPD { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "HUMPD" ) . field ( "Value" , & self .0 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for HUMPD { fn eq ( & self , other : & Self ) -> bool { self .0 == other .0 } } impl :: std :: cmp :: Eq for HUMPD { } unsafe impl :: windows :: Abi for HUMPD { type Abi = Self ; type DefaultType = Self ; } pub const IDENTIFY_BUFFER_SIZE : u32 = 512u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct IDEREGS { pub bFeaturesReg : u8 , pub bSectorCountReg : u8 , pub bSectorNumberReg : u8 , pub bCylLowReg : u8 , pub bCylHighReg : u8 , pub bDriveHeadReg : u8 , pub bCommandReg : u8 , pub bReserved : u8 } impl IDEREGS { } impl :: std :: default :: Default for IDEREGS { fn default ( ) -> Self { Self { bFeaturesReg : 0 , bSectorCountReg : 0 , bSectorNumberReg : 0 , bCylLowReg : 0 , bCylHighReg : 0 , bDriveHeadReg : 0 , bCommandReg : 0 , bReserved : 0 } } } impl :: std :: fmt :: Debug for IDEREGS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "IDEREGS" ) . field ( "bFeaturesReg" , & self . bFeaturesReg ) . field ( "bSectorCountReg" , & self . bSectorCountReg ) . field ( "bSectorNumberReg" , & self . bSectorNumberReg ) . field ( "bCylLowReg" , & self . bCylLowReg ) . field ( "bCylHighReg" , & self . bCylHighReg ) . field ( "bDriveHeadReg" , & self . bDriveHeadReg ) . field ( "bCommandReg" , & self . bCommandReg ) . field ( "bReserved" , & self . bReserved ) . finish ( ) } } impl :: std :: cmp :: PartialEq for IDEREGS { fn eq ( & self , other : & Self ) -> bool { self . bFeaturesReg == other . bFeaturesReg && self . bSectorCountReg == other . bSectorCountReg && self . bSectorNumberReg == other . bSectorNumberReg && self . bCylLowReg == other . bCylLowReg && self . bCylHighReg == other . bCylHighReg && self . bDriveHeadReg == other . bDriveHeadReg && self . bCommandReg == other . bCommandReg && self . bReserved == other . bReserved } } impl :: std :: cmp :: Eq for IDEREGS { } unsafe impl :: windows :: Abi for IDEREGS { type Abi = Self ; type DefaultType = Self ; } pub const ID_CMD : u32 = 236u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct IGP_ID ( pub u32 ) ; pub const IGP_GETIMEVERSION : IGP_ID = IGP_ID ( 4294967292u32 ) ; pub const IGP_PROPERTY : IGP_ID = IGP_ID ( 4u32 ) ; pub const IGP_CONVERSION : IGP_ID = IGP_ID ( 8u32 ) ; pub const IGP_SENTENCE : IGP_ID = IGP_ID ( 12u32 ) ; pub const IGP_UI : IGP_ID = IGP_ID ( 16u32 ) ; pub const IGP_SETCOMPSTR : IGP_ID = IGP_ID ( 20u32 ) ; pub const IGP_SELECT : IGP_ID = IGP_ID ( 24u32 ) ; impl :: std :: convert :: From < u32 > for IGP_ID { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for IGP_ID { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for IGP_ID { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for IGP_ID { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for IGP_ID { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for IGP_ID { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub const IGRF_RGB_256BYTES : u32 = 0u32 ; pub const IGRF_RGB_256WORDS : u32 = 1u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 4 ) ) ] pub struct IMAGE_ALPHA64_RUNTIME_FUNCTION_ENTRY { pub BeginAddress : u64 , pub EndAddress : u64 , pub ExceptionHandler : u64 , pub HandlerData : u64 , pub PrologEndAddress : u64 } impl IMAGE_ALPHA64_RUNTIME_FUNCTION_ENTRY { } impl :: std :: cmp :: PartialEq for IMAGE_ALPHA64_RUNTIME_FUNCTION_ENTRY { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for IMAGE_ALPHA64_RUNTIME_FUNCTION_ENTRY { } unsafe impl :: windows :: Abi for IMAGE_ALPHA64_RUNTIME_FUNCTION_ENTRY { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct IMAGE_ALPHA_RUNTIME_FUNCTION_ENTRY { pub BeginAddress : u32 , pub EndAddress : u32 , pub ExceptionHandler : u32 , pub HandlerData : u32 , pub PrologEndAddress : u32 } impl IMAGE_ALPHA_RUNTIME_FUNCTION_ENTRY { } impl :: std :: default :: Default for IMAGE_ALPHA_RUNTIME_FUNCTION_ENTRY { fn default ( ) -> Self { Self { BeginAddress : 0 , EndAddress : 0 , ExceptionHandler : 0 , HandlerData : 0 , PrologEndAddress : 0 } } } impl :: std :: fmt :: Debug for IMAGE_ALPHA_RUNTIME_FUNCTION_ENTRY { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "IMAGE_ALPHA_RUNTIME_FUNCTION_ENTRY" ) . field ( "BeginAddress" , & self . BeginAddress ) . field ( "EndAddress" , & self . EndAddress ) . field ( "ExceptionHandler" , & self . ExceptionHandler ) . field ( "HandlerData" , & self . HandlerData ) . field ( "PrologEndAddress" , & self . PrologEndAddress ) . finish ( ) } } impl :: std :: cmp :: PartialEq for IMAGE_ALPHA_RUNTIME_FUNCTION_ENTRY { fn eq ( & self , other : & Self ) -> bool { self . BeginAddress == other . BeginAddress && self . EndAddress == other . EndAddress && self . ExceptionHandler == other . ExceptionHandler && self . HandlerData == other . HandlerData && self . PrologEndAddress == other . PrologEndAddress } } impl :: std :: cmp :: Eq for IMAGE_ALPHA_RUNTIME_FUNCTION_ENTRY { } unsafe impl :: windows :: Abi for IMAGE_ALPHA_RUNTIME_FUNCTION_ENTRY { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct IMAGE_ARCHITECTURE_ENTRY { pub FixupInstRVA : u32 , pub NewInst : u32 } impl IMAGE_ARCHITECTURE_ENTRY { } impl :: std :: default :: Default for IMAGE_ARCHITECTURE_ENTRY { fn default ( ) -> Self { Self { FixupInstRVA : 0 , NewInst : 0 } } } impl :: std :: fmt :: Debug for IMAGE_ARCHITECTURE_ENTRY { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "IMAGE_ARCHITECTURE_ENTRY" ) . field ( "FixupInstRVA" , & self . FixupInstRVA ) . field ( "NewInst" , & self . NewInst ) . finish ( ) } } impl :: std :: cmp :: PartialEq for IMAGE_ARCHITECTURE_ENTRY { fn eq ( & self , other : & Self ) -> bool { self . FixupInstRVA == other . FixupInstRVA && self . NewInst == other . NewInst } } impl :: std :: cmp :: Eq for IMAGE_ARCHITECTURE_ENTRY { } unsafe impl :: windows :: Abi for IMAGE_ARCHITECTURE_ENTRY { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct IMAGE_ARCHITECTURE_HEADER { pub _bitfield : u32 , pub FirstEntryRVA : u32 } impl IMAGE_ARCHITECTURE_HEADER { } impl :: std :: default :: Default for IMAGE_ARCHITECTURE_HEADER { fn default ( ) -> Self { Self { _bitfield : 0 , FirstEntryRVA : 0 } } } impl :: std :: fmt :: Debug for IMAGE_ARCHITECTURE_HEADER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "IMAGE_ARCHITECTURE_HEADER" ) . field ( "_bitfield" , & self . _bitfield ) . field ( "FirstEntryRVA" , & self . FirstEntryRVA ) . finish ( ) } } impl :: std :: cmp :: PartialEq for IMAGE_ARCHITECTURE_HEADER { fn eq ( & self , other : & Self ) -> bool { self . _bitfield == other . _bitfield && self . FirstEntryRVA == other . FirstEntryRVA } } impl :: std :: cmp :: Eq for IMAGE_ARCHITECTURE_HEADER { } unsafe impl :: windows :: Abi for IMAGE_ARCHITECTURE_HEADER { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct IMAGE_ARCHIVE_MEMBER_HEADER { pub Name : [ u8 ;16 ] , pub Date : [ u8 ;12 ] , pub UserID : [ u8 ;6 ] , pub GroupID : [ u8 ;6 ] , pub Mode : [ u8 ;8 ] , pub Size : [ u8 ;10 ] , pub EndHeader : [ u8 ;2 ] } impl IMAGE_ARCHIVE_MEMBER_HEADER { } impl :: std :: default :: Default for IMAGE_ARCHIVE_MEMBER_HEADER { fn default ( ) -> Self { Self { Name : [ 0 ;16 ] , Date : [ 0 ;12 ] , UserID : [ 0 ;6 ] , GroupID : [ 0 ;6 ] , Mode : [ 0 ;8 ] , Size : [ 0 ;10 ] , EndHeader : [ 0 ;2 ] } } } impl :: std :: fmt :: Debug for IMAGE_ARCHIVE_MEMBER_HEADER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "IMAGE_ARCHIVE_MEMBER_HEADER" ) . field ( "Name" , & self . Name ) . field ( "Date" , & self . Date ) . field ( "UserID" , & self . UserID ) . field ( "GroupID" , & self . GroupID ) . field ( "Mode" , & self . Mode ) . field ( "Size" , & self . Size ) . field ( "EndHeader" , & self . EndHeader ) . finish ( ) } } impl :: std :: cmp :: PartialEq for IMAGE_ARCHIVE_MEMBER_HEADER { fn eq ( & self , other : & Self ) -> bool { self . Name == other . Name && self . Date == other . Date && self . UserID == other . UserID && self . GroupID == other . GroupID && self . Mode == other . Mode && self . Size == other . Size && self . EndHeader == other . EndHeader } } impl :: std :: cmp :: Eq for IMAGE_ARCHIVE_MEMBER_HEADER { } unsafe impl :: windows :: Abi for IMAGE_ARCHIVE_MEMBER_HEADER { type Abi = Self ; type DefaultType = Self ; } pub const IMAGE_ARCHIVE_START_SIZE : u32 = 8u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct IMAGE_ARM64_RUNTIME_FUNCTION_ENTRY { pub BeginAddress : u32 , pub Anonymous : IMAGE_ARM64_RUNTIME_FUNCTION_ENTRY_0 } impl IMAGE_ARM64_RUNTIME_FUNCTION_ENTRY { } impl :: std :: cmp :: PartialEq for IMAGE_ARM64_RUNTIME_FUNCTION_ENTRY { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for IMAGE_ARM64_RUNTIME_FUNCTION_ENTRY { } unsafe impl :: windows :: Abi for IMAGE_ARM64_RUNTIME_FUNCTION_ENTRY { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union IMAGE_ARM64_RUNTIME_FUNCTION_ENTRY_0 { pub UnwindData : u32 , pub Anonymous : IMAGE_ARM64_RUNTIME_FUNCTION_ENTRY_0_0 } impl IMAGE_ARM64_RUNTIME_FUNCTION_ENTRY_0 { } impl :: std :: cmp :: PartialEq for IMAGE_ARM64_RUNTIME_FUNCTION_ENTRY_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for IMAGE_ARM64_RUNTIME_FUNCTION_ENTRY_0 { } unsafe impl :: windows :: Abi for IMAGE_ARM64_RUNTIME_FUNCTION_ENTRY_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct IMAGE_ARM64_RUNTIME_FUNCTION_ENTRY_0_0 { pub _bitfield : u32 } impl IMAGE_ARM64_RUNTIME_FUNCTION_ENTRY_0_0 { } impl :: std :: default :: Default for IMAGE_ARM64_RUNTIME_FUNCTION_ENTRY_0_0 { fn default ( ) -> Self { Self { _bitfield : 0 } } } impl :: std :: fmt :: Debug for IMAGE_ARM64_RUNTIME_FUNCTION_ENTRY_0_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Anonymous_e__Struct" ) . field ( "_bitfield" , & self . _bitfield ) . finish ( ) } } impl :: std :: cmp :: PartialEq for IMAGE_ARM64_RUNTIME_FUNCTION_ENTRY_0_0 { fn eq ( & self , other : & Self ) -> bool { self . _bitfield == other . _bitfield } } impl :: std :: cmp :: Eq for IMAGE_ARM64_RUNTIME_FUNCTION_ENTRY_0_0 { } unsafe impl :: windows :: Abi for IMAGE_ARM64_RUNTIME_FUNCTION_ENTRY_0_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union IMAGE_ARM64_RUNTIME_FUNCTION_ENTRY_XDATA { pub HeaderData : u32 , pub Anonymous : IMAGE_ARM64_RUNTIME_FUNCTION_ENTRY_XDATA_0 } impl IMAGE_ARM64_RUNTIME_FUNCTION_ENTRY_XDATA { } impl :: std :: cmp :: PartialEq for IMAGE_ARM64_RUNTIME_FUNCTION_ENTRY_XDATA { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for IMAGE_ARM64_RUNTIME_FUNCTION_ENTRY_XDATA { } unsafe impl :: windows :: Abi for IMAGE_ARM64_RUNTIME_FUNCTION_ENTRY_XDATA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct IMAGE_ARM64_RUNTIME_FUNCTION_ENTRY_XDATA_0 { pub _bitfield : u32 } impl IMAGE_ARM64_RUNTIME_FUNCTION_ENTRY_XDATA_0 { } impl :: std :: default :: Default for IMAGE_ARM64_RUNTIME_FUNCTION_ENTRY_XDATA_0 { fn default ( ) -> Self { Self { _bitfield : 0 } } } impl :: std :: fmt :: Debug for IMAGE_ARM64_RUNTIME_FUNCTION_ENTRY_XDATA_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Anonymous_e__Struct" ) . field ( "_bitfield" , & self . _bitfield ) . finish ( ) } } impl :: std :: cmp :: PartialEq for IMAGE_ARM64_RUNTIME_FUNCTION_ENTRY_XDATA_0 { fn eq ( & self , other : & Self ) -> bool { self . _bitfield == other . _bitfield } } impl :: std :: cmp :: Eq for IMAGE_ARM64_RUNTIME_FUNCTION_ENTRY_XDATA_0 { } unsafe impl :: windows :: Abi for IMAGE_ARM64_RUNTIME_FUNCTION_ENTRY_XDATA_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct IMAGE_ARM_RUNTIME_FUNCTION_ENTRY { pub BeginAddress : u32 , pub Anonymous : IMAGE_ARM_RUNTIME_FUNCTION_ENTRY_0 } impl IMAGE_ARM_RUNTIME_FUNCTION_ENTRY { } impl :: std :: cmp :: PartialEq for IMAGE_ARM_RUNTIME_FUNCTION_ENTRY { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for IMAGE_ARM_RUNTIME_FUNCTION_ENTRY { } unsafe impl :: windows :: Abi for IMAGE_ARM_RUNTIME_FUNCTION_ENTRY { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union IMAGE_ARM_RUNTIME_FUNCTION_ENTRY_0 { pub UnwindData : u32 , pub Anonymous : IMAGE_ARM_RUNTIME_FUNCTION_ENTRY_0_0 } impl IMAGE_ARM_RUNTIME_FUNCTION_ENTRY_0 { } impl :: std :: cmp :: PartialEq for IMAGE_ARM_RUNTIME_FUNCTION_ENTRY_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for IMAGE_ARM_RUNTIME_FUNCTION_ENTRY_0 { } unsafe impl :: windows :: Abi for IMAGE_ARM_RUNTIME_FUNCTION_ENTRY_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct IMAGE_ARM_RUNTIME_FUNCTION_ENTRY_0_0 { pub _bitfield : u32 } impl IMAGE_ARM_RUNTIME_FUNCTION_ENTRY_0_0 { } impl :: std :: default :: Default for IMAGE_ARM_RUNTIME_FUNCTION_ENTRY_0_0 { fn default ( ) -> Self { Self { _bitfield : 0 } } } impl :: std :: fmt :: Debug for IMAGE_ARM_RUNTIME_FUNCTION_ENTRY_0_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Anonymous_e__Struct" ) . field ( "_bitfield" , & self . _bitfield ) . finish ( ) } } impl :: std :: cmp :: PartialEq for IMAGE_ARM_RUNTIME_FUNCTION_ENTRY_0_0 { fn eq ( & self , other : & Self ) -> bool { self . _bitfield == other . _bitfield } } impl :: std :: cmp :: Eq for IMAGE_ARM_RUNTIME_FUNCTION_ENTRY_0_0 { } unsafe impl :: windows :: Abi for IMAGE_ARM_RUNTIME_FUNCTION_ENTRY_0_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union IMAGE_AUX_SYMBOL { pub Sym : IMAGE_AUX_SYMBOL_3 , pub File : IMAGE_AUX_SYMBOL_1 , pub Section : IMAGE_AUX_SYMBOL_2 , pub TokenDef : IMAGE_AUX_SYMBOL_TOKEN_DEF , pub CRC : IMAGE_AUX_SYMBOL_0 } impl IMAGE_AUX_SYMBOL { } impl :: std :: cmp :: PartialEq for IMAGE_AUX_SYMBOL { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for IMAGE_AUX_SYMBOL { } unsafe impl :: windows :: Abi for IMAGE_AUX_SYMBOL { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 2 ) ) ] pub struct IMAGE_AUX_SYMBOL_0 { pub crc : u32 , pub rgbReserved : [ u8 ;14 ] } impl IMAGE_AUX_SYMBOL_0 { } impl :: std :: cmp :: PartialEq for IMAGE_AUX_SYMBOL_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for IMAGE_AUX_SYMBOL_0 { } unsafe impl :: windows :: Abi for IMAGE_AUX_SYMBOL_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct IMAGE_AUX_SYMBOL_1 { pub Name : [ u8 ;18 ] } impl IMAGE_AUX_SYMBOL_1 { } impl :: std :: default :: Default for IMAGE_AUX_SYMBOL_1 { fn default ( ) -> Self { Self { Name : [ 0 ;18 ] } } } impl :: std :: fmt :: Debug for IMAGE_AUX_SYMBOL_1 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_File_e__Struct" ) . field ( "Name" , & self . Name ) . finish ( ) } } impl :: std :: cmp :: PartialEq for IMAGE_AUX_SYMBOL_1 { fn eq ( & self , other : & Self ) -> bool { self . Name == other . Name } } impl :: std :: cmp :: Eq for IMAGE_AUX_SYMBOL_1 { } unsafe impl :: windows :: Abi for IMAGE_AUX_SYMBOL_1 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 2 ) ) ] pub struct IMAGE_AUX_SYMBOL_2 { pub Length : u32 , pub NumberOfRelocations : u16 , pub NumberOfLinenumbers : u16 , pub CheckSum : u32 , pub Number : i16 , pub Selection : u8 , pub bReserved : u8 , pub HighNumber : i16 } impl IMAGE_AUX_SYMBOL_2 { } impl :: std :: cmp :: PartialEq for IMAGE_AUX_SYMBOL_2 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for IMAGE_AUX_SYMBOL_2 { } unsafe impl :: windows :: Abi for IMAGE_AUX_SYMBOL_2 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 2 ) ) ] pub struct IMAGE_AUX_SYMBOL_3 { pub TagIndex : u32 , pub Misc : IMAGE_AUX_SYMBOL_3_1 , pub FcnAry : IMAGE_AUX_SYMBOL_3_0 , pub TvIndex : u16 } impl IMAGE_AUX_SYMBOL_3 { } impl :: std :: cmp :: PartialEq for IMAGE_AUX_SYMBOL_3 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for IMAGE_AUX_SYMBOL_3 { } unsafe impl :: windows :: Abi for IMAGE_AUX_SYMBOL_3 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union IMAGE_AUX_SYMBOL_3_0 { pub Function : IMAGE_AUX_SYMBOL_3_0_1 , pub Array : IMAGE_AUX_SYMBOL_3_0_0 } impl IMAGE_AUX_SYMBOL_3_0 { } impl :: std :: cmp :: PartialEq for IMAGE_AUX_SYMBOL_3_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for IMAGE_AUX_SYMBOL_3_0 { } unsafe impl :: windows :: Abi for IMAGE_AUX_SYMBOL_3_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct IMAGE_AUX_SYMBOL_3_0_0 { pub Dimension : [ u16 ;4 ] } impl IMAGE_AUX_SYMBOL_3_0_0 { } impl :: std :: default :: Default for IMAGE_AUX_SYMBOL_3_0_0 { fn default ( ) -> Self { Self { Dimension : [ 0 ;4 ] } } } impl :: std :: fmt :: Debug for IMAGE_AUX_SYMBOL_3_0_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Array_e__Struct" ) . field ( "Dimension" , & self . Dimension ) . finish ( ) } } impl :: std :: cmp :: PartialEq for IMAGE_AUX_SYMBOL_3_0_0 { fn eq ( & self , other : & Self ) -> bool { self . Dimension == other . Dimension } } impl :: std :: cmp :: Eq for IMAGE_AUX_SYMBOL_3_0_0 { } unsafe impl :: windows :: Abi for IMAGE_AUX_SYMBOL_3_0_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 2 ) ) ] pub struct IMAGE_AUX_SYMBOL_3_0_1 { pub PointerToLinenumber : u32 , pub PointerToNextFunction : u32 } impl IMAGE_AUX_SYMBOL_3_0_1 { } impl :: std :: cmp :: PartialEq for IMAGE_AUX_SYMBOL_3_0_1 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for IMAGE_AUX_SYMBOL_3_0_1 { } unsafe impl :: windows :: Abi for IMAGE_AUX_SYMBOL_3_0_1 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 2 ) ) ] pub union IMAGE_AUX_SYMBOL_3_1 { pub LnSz : IMAGE_AUX_SYMBOL_3_1_0 , pub TotalSize : u32 } impl IMAGE_AUX_SYMBOL_3_1 { } impl :: std :: cmp :: PartialEq for IMAGE_AUX_SYMBOL_3_1 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for IMAGE_AUX_SYMBOL_3_1 { } unsafe impl :: windows :: Abi for IMAGE_AUX_SYMBOL_3_1 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct IMAGE_AUX_SYMBOL_3_1_0 { pub Linenumber : u16 , pub Size : u16 } impl IMAGE_AUX_SYMBOL_3_1_0 { } impl :: std :: default :: Default for IMAGE_AUX_SYMBOL_3_1_0 { fn default ( ) -> Self { Self { Linenumber : 0 , Size : 0 } } } impl :: std :: fmt :: Debug for IMAGE_AUX_SYMBOL_3_1_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_LnSz_e__Struct" ) . field ( "Linenumber" , & self . Linenumber ) . field ( "Size" , & self . Size ) . finish ( ) } } impl :: std :: cmp :: PartialEq for IMAGE_AUX_SYMBOL_3_1_0 { fn eq ( & self , other : & Self ) -> bool { self . Linenumber == other . Linenumber && self . Size == other . Size } } impl :: std :: cmp :: Eq for IMAGE_AUX_SYMBOL_3_1_0 { } unsafe impl :: windows :: Abi for IMAGE_AUX_SYMBOL_3_1_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union IMAGE_AUX_SYMBOL_EX { pub Sym : IMAGE_AUX_SYMBOL_EX_4 , pub File : IMAGE_AUX_SYMBOL_EX_2 , pub Section : IMAGE_AUX_SYMBOL_EX_3 , pub Anonymous : IMAGE_AUX_SYMBOL_EX_0 , pub CRC : IMAGE_AUX_SYMBOL_EX_1 } impl IMAGE_AUX_SYMBOL_EX { } impl :: std :: cmp :: PartialEq for IMAGE_AUX_SYMBOL_EX { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for IMAGE_AUX_SYMBOL_EX { } unsafe impl :: windows :: Abi for IMAGE_AUX_SYMBOL_EX { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct IMAGE_AUX_SYMBOL_EX_0 { pub TokenDef : IMAGE_AUX_SYMBOL_TOKEN_DEF , pub rgbReserved : [ u8 ;2 ] } impl IMAGE_AUX_SYMBOL_EX_0 { } impl :: std :: cmp :: PartialEq for IMAGE_AUX_SYMBOL_EX_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for IMAGE_AUX_SYMBOL_EX_0 { } unsafe impl :: windows :: Abi for IMAGE_AUX_SYMBOL_EX_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 2 ) ) ] pub struct IMAGE_AUX_SYMBOL_EX_1 { pub crc : u32 , pub rgbReserved : [ u8 ;16 ] } impl IMAGE_AUX_SYMBOL_EX_1 { } impl :: std :: cmp :: PartialEq for IMAGE_AUX_SYMBOL_EX_1 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for IMAGE_AUX_SYMBOL_EX_1 { } unsafe impl :: windows :: Abi for IMAGE_AUX_SYMBOL_EX_1 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct IMAGE_AUX_SYMBOL_EX_2 { pub Name : [ u8 ;20 ] } impl IMAGE_AUX_SYMBOL_EX_2 { } impl :: std :: default :: Default for IMAGE_AUX_SYMBOL_EX_2 { fn default ( ) -> Self { Self { Name : [ 0 ;20 ] } } } impl :: std :: fmt :: Debug for IMAGE_AUX_SYMBOL_EX_2 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_File_e__Struct" ) . field ( "Name" , & self . Name ) . finish ( ) } } impl :: std :: cmp :: PartialEq for IMAGE_AUX_SYMBOL_EX_2 { fn eq ( & self , other : & Self ) -> bool { self . Name == other . Name } } impl :: std :: cmp :: Eq for IMAGE_AUX_SYMBOL_EX_2 { } unsafe impl :: windows :: Abi for IMAGE_AUX_SYMBOL_EX_2 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 2 ) ) ] pub struct IMAGE_AUX_SYMBOL_EX_3 { pub Length : u32 , pub NumberOfRelocations : u16 , pub NumberOfLinenumbers : u16 , pub CheckSum : u32 , pub Number : i16 , pub Selection : u8 , pub bReserved : u8 , pub HighNumber : i16 , pub rgbReserved : [ u8 ;2 ] } impl IMAGE_AUX_SYMBOL_EX_3 { } impl :: std :: cmp :: PartialEq for IMAGE_AUX_SYMBOL_EX_3 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for IMAGE_AUX_SYMBOL_EX_3 { } unsafe impl :: windows :: Abi for IMAGE_AUX_SYMBOL_EX_3 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 2 ) ) ] pub struct IMAGE_AUX_SYMBOL_EX_4 { pub WeakDefaultSymIndex : u32 , pub WeakSearchType : u32 , pub rgbReserved : [ u8 ;12 ] } impl IMAGE_AUX_SYMBOL_EX_4 { } impl :: std :: cmp :: PartialEq for IMAGE_AUX_SYMBOL_EX_4 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for IMAGE_AUX_SYMBOL_EX_4 { } unsafe impl :: windows :: Abi for IMAGE_AUX_SYMBOL_EX_4 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 2 ) ) ] pub struct IMAGE_AUX_SYMBOL_TOKEN_DEF { pub bAuxType : u8 , pub bReserved : u8 , pub SymbolTableIndex : u32 , pub rgbReserved : [ u8 ;12 ] } impl IMAGE_AUX_SYMBOL_TOKEN_DEF { } impl :: std :: cmp :: PartialEq for IMAGE_AUX_SYMBOL_TOKEN_DEF { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for IMAGE_AUX_SYMBOL_TOKEN_DEF { } unsafe impl :: windows :: Abi for IMAGE_AUX_SYMBOL_TOKEN_DEF { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct IMAGE_AUX_SYMBOL_TYPE ( pub i32 ) ; pub const IMAGE_AUX_SYMBOL_TYPE_TOKEN_DEF : IMAGE_AUX_SYMBOL_TYPE = IMAGE_AUX_SYMBOL_TYPE ( 1i32 ) ; impl :: std :: convert :: From < i32 > for IMAGE_AUX_SYMBOL_TYPE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for IMAGE_AUX_SYMBOL_TYPE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct IMAGE_BASE_RELOCATION { pub VirtualAddress : u32 , pub SizeOfBlock : u32 } impl IMAGE_BASE_RELOCATION { } impl :: std :: default :: Default for IMAGE_BASE_RELOCATION { fn default ( ) -> Self { Self { VirtualAddress : 0 , SizeOfBlock : 0 } } } impl :: std :: fmt :: Debug for IMAGE_BASE_RELOCATION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "IMAGE_BASE_RELOCATION" ) . field ( "VirtualAddress" , & self . VirtualAddress ) . field ( "SizeOfBlock" , & self . SizeOfBlock ) . finish ( ) } } impl :: std :: cmp :: PartialEq for IMAGE_BASE_RELOCATION { fn eq ( & self , other : & Self ) -> bool { self . VirtualAddress == other . VirtualAddress && self . SizeOfBlock == other . SizeOfBlock } } impl :: std :: cmp :: Eq for IMAGE_BASE_RELOCATION { } unsafe impl :: windows :: Abi for IMAGE_BASE_RELOCATION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct IMAGE_BOUND_FORWARDER_REF { pub TimeDateStamp : u32 , pub OffsetModuleName : u16 , pub Reserved : u16 } impl IMAGE_BOUND_FORWARDER_REF { } impl :: std :: default :: Default for IMAGE_BOUND_FORWARDER_REF { fn default ( ) -> Self { Self { TimeDateStamp : 0 , OffsetModuleName : 0 , Reserved : 0 } } } impl :: std :: fmt :: Debug for IMAGE_BOUND_FORWARDER_REF { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "IMAGE_BOUND_FORWARDER_REF" ) . field ( "TimeDateStamp" , & self . TimeDateStamp ) . field ( "OffsetModuleName" , & self . OffsetModuleName ) . field ( "Reserved" , & self . Reserved ) . finish ( ) } } impl :: std :: cmp :: PartialEq for IMAGE_BOUND_FORWARDER_REF { fn eq ( & self , other : & Self ) -> bool { self . TimeDateStamp == other . TimeDateStamp && self . OffsetModuleName == other . OffsetModuleName && self . Reserved == other . Reserved } } impl :: std :: cmp :: Eq for IMAGE_BOUND_FORWARDER_REF { } unsafe impl :: windows :: Abi for IMAGE_BOUND_FORWARDER_REF { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct IMAGE_BOUND_IMPORT_DESCRIPTOR { pub TimeDateStamp : u32 , pub OffsetModuleName : u16 , pub NumberOfModuleForwarderRefs : u16 } impl IMAGE_BOUND_IMPORT_DESCRIPTOR { } impl :: std :: default :: Default for IMAGE_BOUND_IMPORT_DESCRIPTOR { fn default ( ) -> Self { Self { TimeDateStamp : 0 , OffsetModuleName : 0 , NumberOfModuleForwarderRefs : 0 } } } impl :: std :: fmt :: Debug for IMAGE_BOUND_IMPORT_DESCRIPTOR { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "IMAGE_BOUND_IMPORT_DESCRIPTOR" ) . field ( "TimeDateStamp" , & self . TimeDateStamp ) . field ( "OffsetModuleName" , & self . OffsetModuleName ) . field ( "NumberOfModuleForwarderRefs" , & self . NumberOfModuleForwarderRefs ) . finish ( ) } } impl :: std :: cmp :: PartialEq for IMAGE_BOUND_IMPORT_DESCRIPTOR { fn eq ( & self , other : & Self ) -> bool { self . TimeDateStamp == other . TimeDateStamp && self . OffsetModuleName == other . OffsetModuleName && self . NumberOfModuleForwarderRefs == other . NumberOfModuleForwarderRefs } } impl :: std :: cmp :: Eq for IMAGE_BOUND_IMPORT_DESCRIPTOR { } unsafe impl :: windows :: Abi for IMAGE_BOUND_IMPORT_DESCRIPTOR { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct IMAGE_CE_RUNTIME_FUNCTION_ENTRY { pub FuncStart : u32 , pub _bitfield : u32 } impl IMAGE_CE_RUNTIME_FUNCTION_ENTRY { } impl :: std :: default :: Default for IMAGE_CE_RUNTIME_FUNCTION_ENTRY { fn default ( ) -> Self { Self { FuncStart : 0 , _bitfield : 0 } } } impl :: std :: fmt :: Debug for IMAGE_CE_RUNTIME_FUNCTION_ENTRY { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "IMAGE_CE_RUNTIME_FUNCTION_ENTRY" ) . field ( "FuncStart" , & self . FuncStart ) . field ( "_bitfield" , & self . _bitfield ) . finish ( ) } } impl :: std :: cmp :: PartialEq for IMAGE_CE_RUNTIME_FUNCTION_ENTRY { fn eq ( & self , other : & Self ) -> bool { self . FuncStart == other . FuncStart && self . _bitfield == other . _bitfield } } impl :: std :: cmp :: Eq for IMAGE_CE_RUNTIME_FUNCTION_ENTRY { } unsafe impl :: windows :: Abi for IMAGE_CE_RUNTIME_FUNCTION_ENTRY { type Abi = Self ; type DefaultType = Self ; } pub const IMAGE_COMDAT_SELECT_ANY : u32 = 2u32 ; pub const IMAGE_COMDAT_SELECT_ASSOCIATIVE : u32 = 5u32 ; pub const IMAGE_COMDAT_SELECT_EXACT_MATCH : u32 = 4u32 ; pub const IMAGE_COMDAT_SELECT_LARGEST : u32 = 6u32 ; pub const IMAGE_COMDAT_SELECT_NEWEST : u32 = 7u32 ; pub const IMAGE_COMDAT_SELECT_NODUPLICATES : u32 = 1u32 ; pub const IMAGE_COMDAT_SELECT_SAME_SIZE : u32 = 3u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct IMAGE_COR20_HEADER { pub cb : u32 , pub MajorRuntimeVersion : u16 , pub MinorRuntimeVersion : u16 , pub MetaData : super::Diagnostics::Debug:: IMAGE_DATA_DIRECTORY , pub Flags : u32 , pub Anonymous : IMAGE_COR20_HEADER_0 , pub Resources : super::Diagnostics::Debug:: IMAGE_DATA_DIRECTORY , pub StrongNameSignature : super::Diagnostics::Debug:: IMAGE_DATA_DIRECTORY , pub CodeManagerTable : super::Diagnostics::Debug:: IMAGE_DATA_DIRECTORY , pub VTableFixups : super::Diagnostics::Debug:: IMAGE_DATA_DIRECTORY , pub ExportAddressTableJumps : super::Diagnostics::Debug:: IMAGE_DATA_DIRECTORY , pub ManagedNativeHeader : super::Diagnostics::Debug:: IMAGE_DATA_DIRECTORY } impl IMAGE_COR20_HEADER { } impl :: std :: cmp :: PartialEq for IMAGE_COR20_HEADER { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for IMAGE_COR20_HEADER { } unsafe impl :: windows :: Abi for IMAGE_COR20_HEADER { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union IMAGE_COR20_HEADER_0 { pub EntryPointToken : u32 , pub EntryPointRVA : u32 } impl IMAGE_COR20_HEADER_0 { } impl :: std :: cmp :: PartialEq for IMAGE_COR20_HEADER_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for IMAGE_COR20_HEADER_0 { } unsafe impl :: windows :: Abi for IMAGE_COR20_HEADER_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct IMAGE_DEBUG_MISC { pub DataType : u32 , pub Length : u32 , pub Unicode : u8 , pub Reserved : [ u8 ;3 ] , pub Data : [ u8 ;1 ] } impl IMAGE_DEBUG_MISC { } impl :: std :: default :: Default for IMAGE_DEBUG_MISC { fn default ( ) -> Self { Self { DataType : 0 , Length : 0 , Unicode : 0 , Reserved : [ 0 ;3 ] , Data : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for IMAGE_DEBUG_MISC { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "IMAGE_DEBUG_MISC" ) . field ( "DataType" , & self . DataType ) . field ( "Length" , & self . Length ) . field ( "Unicode" , & self . Unicode ) . field ( "Reserved" , & self . Reserved ) . field ( "Data" , & self . Data ) . finish ( ) } } impl :: std :: cmp :: PartialEq for IMAGE_DEBUG_MISC { fn eq ( & self , other : & Self ) -> bool { self . DataType == other . DataType && self . Length == other . Length && self . Unicode == other . Unicode && self . Reserved == other . Reserved && self . Data == other . Data } } impl :: std :: cmp :: Eq for IMAGE_DEBUG_MISC { } unsafe impl :: windows :: Abi for IMAGE_DEBUG_MISC { type Abi = Self ; type DefaultType = Self ; } pub const IMAGE_DEBUG_MISC_EXENAME : u32 = 1u32 ; pub const IMAGE_DEBUG_TYPE_CLSID : u32 = 11u32 ; pub const IMAGE_DEBUG_TYPE_EX_DLLCHARACTERISTICS : u32 = 20u32 ; pub const IMAGE_DEBUG_TYPE_ILTCG : u32 = 14u32 ; pub const IMAGE_DEBUG_TYPE_MPX : u32 = 15u32 ; pub const IMAGE_DEBUG_TYPE_OMAP_FROM_SRC : u32 = 8u32 ; pub const IMAGE_DEBUG_TYPE_OMAP_TO_SRC : u32 = 7u32 ; pub const IMAGE_DEBUG_TYPE_POGO : u32 = 13u32 ; pub const IMAGE_DEBUG_TYPE_REPRO : u32 = 16u32 ; pub const IMAGE_DEBUG_TYPE_RESERVED10 : u32 = 10u32 ; pub const IMAGE_DEBUG_TYPE_VC_FEATURE : u32 = 12u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct IMAGE_DELAYLOAD_DESCRIPTOR { pub Attributes : IMAGE_DELAYLOAD_DESCRIPTOR_0 , pub DllNameRVA : u32 , pub ModuleHandleRVA : u32 , pub ImportAddressTableRVA : u32 , pub ImportNameTableRVA : u32 , pub BoundImportAddressTableRVA : u32 , pub UnloadInformationTableRVA : u32 , pub TimeDateStamp : u32 } impl IMAGE_DELAYLOAD_DESCRIPTOR { } impl :: std :: cmp :: PartialEq for IMAGE_DELAYLOAD_DESCRIPTOR { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for IMAGE_DELAYLOAD_DESCRIPTOR { } unsafe impl :: windows :: Abi for IMAGE_DELAYLOAD_DESCRIPTOR { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union IMAGE_DELAYLOAD_DESCRIPTOR_0 { pub AllAttributes : u32 , pub Anonymous : IMAGE_DELAYLOAD_DESCRIPTOR_0_0 } impl IMAGE_DELAYLOAD_DESCRIPTOR_0 { } impl :: std :: cmp :: PartialEq for IMAGE_DELAYLOAD_DESCRIPTOR_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for IMAGE_DELAYLOAD_DESCRIPTOR_0 { } unsafe impl :: windows :: Abi for IMAGE_DELAYLOAD_DESCRIPTOR_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct IMAGE_DELAYLOAD_DESCRIPTOR_0_0 { pub _bitfield : u32 } impl IMAGE_DELAYLOAD_DESCRIPTOR_0_0 { } impl :: std :: default :: Default for IMAGE_DELAYLOAD_DESCRIPTOR_0_0 { fn default ( ) -> Self { Self { _bitfield : 0 } } } impl :: std :: fmt :: Debug for IMAGE_DELAYLOAD_DESCRIPTOR_0_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Anonymous_e__Struct" ) . field ( "_bitfield" , & self . _bitfield ) . finish ( ) } } impl :: std :: cmp :: PartialEq for IMAGE_DELAYLOAD_DESCRIPTOR_0_0 { fn eq ( & self , other : & Self ) -> bool { self . _bitfield == other . _bitfield } } impl :: std :: cmp :: Eq for IMAGE_DELAYLOAD_DESCRIPTOR_0_0 { } unsafe impl :: windows :: Abi for IMAGE_DELAYLOAD_DESCRIPTOR_0_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 2 ) ) ] pub struct IMAGE_DOS_HEADER { pub e_magic : u16 , pub e_cblp : u16 , pub e_cp : u16 , pub e_crlc : u16 , pub e_cparhdr : u16 , pub e_minalloc : u16 , pub e_maxalloc : u16 , pub e_ss : u16 , pub e_sp : u16 , pub e_csum : u16 , pub e_ip : u16 , pub e_cs : u16 , pub e_lfarlc : u16 , pub e_ovno : u16 , pub e_res : [ u16 ;4 ] , pub e_oemid : u16 , pub e_oeminfo : u16 , pub e_res2 : [ u16 ;10 ] , pub e_lfanew : i32 } impl IMAGE_DOS_HEADER { } impl :: std :: cmp :: PartialEq for IMAGE_DOS_HEADER { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for IMAGE_DOS_HEADER { } unsafe impl :: windows :: Abi for IMAGE_DOS_HEADER { type Abi = Self ; type DefaultType = Self ; } pub const IMAGE_DOS_SIGNATURE : u32 = 23117u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 1 ) ) ] pub struct IMAGE_DYNAMIC_RELOCATION32 { pub Symbol : u32 , pub BaseRelocSize : u32 } impl IMAGE_DYNAMIC_RELOCATION32 { } impl :: std :: cmp :: PartialEq for IMAGE_DYNAMIC_RELOCATION32 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for IMAGE_DYNAMIC_RELOCATION32 { } unsafe impl :: windows :: Abi for IMAGE_DYNAMIC_RELOCATION32 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 1 ) ) ] pub struct IMAGE_DYNAMIC_RELOCATION32_V2 { pub HeaderSize : u32 , pub FixupInfoSize : u32 , pub Symbol : u32 , pub SymbolGroup : u32 , pub Flags : u32 } impl IMAGE_DYNAMIC_RELOCATION32_V2 { } impl :: std :: cmp :: PartialEq for IMAGE_DYNAMIC_RELOCATION32_V2 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for IMAGE_DYNAMIC_RELOCATION32_V2 { } unsafe impl :: windows :: Abi for IMAGE_DYNAMIC_RELOCATION32_V2 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 1 ) ) ] pub struct IMAGE_DYNAMIC_RELOCATION64 { pub Symbol : u64 , pub BaseRelocSize : u32 } impl IMAGE_DYNAMIC_RELOCATION64 { } impl :: std :: cmp :: PartialEq for IMAGE_DYNAMIC_RELOCATION64 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for IMAGE_DYNAMIC_RELOCATION64 { } unsafe impl :: windows :: Abi for IMAGE_DYNAMIC_RELOCATION64 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 1 ) ) ] pub struct IMAGE_DYNAMIC_RELOCATION64_V2 { pub HeaderSize : u32 , pub FixupInfoSize : u32 , pub Symbol : u64 , pub SymbolGroup : u32 , pub Flags : u32 } impl IMAGE_DYNAMIC_RELOCATION64_V2 { } impl :: std :: cmp :: PartialEq for IMAGE_DYNAMIC_RELOCATION64_V2 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for IMAGE_DYNAMIC_RELOCATION64_V2 { } unsafe impl :: windows :: Abi for IMAGE_DYNAMIC_RELOCATION64_V2 { type Abi = Self ; type DefaultType = Self ; } pub const IMAGE_DYNAMIC_RELOCATION_GUARD_IMPORT_CONTROL_TRANSFER : u32 = 3u32 ; pub const IMAGE_DYNAMIC_RELOCATION_GUARD_INDIR_CONTROL_TRANSFER : u32 = 4u32 ; pub const IMAGE_DYNAMIC_RELOCATION_GUARD_RF_EPILOGUE : u32 = 2u32 ; pub const IMAGE_DYNAMIC_RELOCATION_GUARD_RF_PROLOGUE : u32 = 1u32 ; pub const IMAGE_DYNAMIC_RELOCATION_GUARD_SWITCHTABLE_BRANCH : u32 = 5u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct IMAGE_DYNAMIC_RELOCATION_TABLE { pub Version : u32 , pub Size : u32 } impl IMAGE_DYNAMIC_RELOCATION_TABLE { } impl :: std :: default :: Default for IMAGE_DYNAMIC_RELOCATION_TABLE { fn default ( ) -> Self { Self { Version : 0 , Size : 0 } } } impl :: std :: fmt :: Debug for IMAGE_DYNAMIC_RELOCATION_TABLE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "IMAGE_DYNAMIC_RELOCATION_TABLE" ) . field ( "Version" , & self . Version ) . field ( "Size" , & self . Size ) . finish ( ) } } impl :: std :: cmp :: PartialEq for IMAGE_DYNAMIC_RELOCATION_TABLE { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Size == other . Size } } impl :: std :: cmp :: Eq for IMAGE_DYNAMIC_RELOCATION_TABLE { } unsafe impl :: windows :: Abi for IMAGE_DYNAMIC_RELOCATION_TABLE { type Abi = Self ; type DefaultType = Self ; } pub const IMAGE_ENCLAVE_FLAG_PRIMARY_IMAGE : u32 = 1u32 ; pub const IMAGE_ENCLAVE_IMPORT_MATCH_AUTHOR_ID : u32 = 2u32 ; pub const IMAGE_ENCLAVE_IMPORT_MATCH_FAMILY_ID : u32 = 3u32 ; pub const IMAGE_ENCLAVE_IMPORT_MATCH_IMAGE_ID : u32 = 4u32 ; pub const IMAGE_ENCLAVE_IMPORT_MATCH_NONE : u32 = 0u32 ; pub const IMAGE_ENCLAVE_IMPORT_MATCH_UNIQUE_ID : u32 = 1u32 ; pub const IMAGE_ENCLAVE_POLICY_DEBUGGABLE : u32 = 1u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 1 ) ) ] pub struct IMAGE_EPILOGUE_DYNAMIC_RELOCATION_HEADER { pub EpilogueCount : u32 , pub EpilogueByteCount : u8 , pub BranchDescriptorElementSize : u8 , pub BranchDescriptorCount : u16 } impl IMAGE_EPILOGUE_DYNAMIC_RELOCATION_HEADER { } impl :: std :: cmp :: PartialEq for IMAGE_EPILOGUE_DYNAMIC_RELOCATION_HEADER { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for IMAGE_EPILOGUE_DYNAMIC_RELOCATION_HEADER { } unsafe impl :: windows :: Abi for IMAGE_EPILOGUE_DYNAMIC_RELOCATION_HEADER { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct IMAGE_EXPORT_DIRECTORY { pub Characteristics : u32 , pub TimeDateStamp : u32 , pub MajorVersion : u16 , pub MinorVersion : u16 , pub Name : u32 , pub Base : u32 , pub NumberOfFunctions : u32 , pub NumberOfNames : u32 , pub AddressOfFunctions : u32 , pub AddressOfNames : u32 , pub AddressOfNameOrdinals : u32 } impl IMAGE_EXPORT_DIRECTORY { } impl :: std :: default :: Default for IMAGE_EXPORT_DIRECTORY { fn default ( ) -> Self { Self { Characteristics : 0 , TimeDateStamp : 0 , MajorVersion : 0 , MinorVersion : 0 , Name : 0 , Base : 0 , NumberOfFunctions : 0 , NumberOfNames : 0 , AddressOfFunctions : 0 , AddressOfNames : 0 , AddressOfNameOrdinals : 0 } } } impl :: std :: fmt :: Debug for IMAGE_EXPORT_DIRECTORY { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "IMAGE_EXPORT_DIRECTORY" ) . field ( "Characteristics" , & self . Characteristics ) . field ( "TimeDateStamp" , & self . TimeDateStamp ) . field ( "MajorVersion" , & self . MajorVersion ) . field ( "MinorVersion" , & self . MinorVersion ) . field ( "Name" , & self . Name ) . field ( "Base" , & self . Base ) . field ( "NumberOfFunctions" , & self . NumberOfFunctions ) . field ( "NumberOfNames" , & self . NumberOfNames ) . field ( "AddressOfFunctions" , & self . AddressOfFunctions ) . field ( "AddressOfNames" , & self . AddressOfNames ) . field ( "AddressOfNameOrdinals" , & self . AddressOfNameOrdinals ) . finish ( ) } } impl :: std :: cmp :: PartialEq for IMAGE_EXPORT_DIRECTORY { fn eq ( & self , other : & Self ) -> bool { self . Characteristics == other . Characteristics && self . TimeDateStamp == other . TimeDateStamp && self . MajorVersion == other . MajorVersion && self . MinorVersion == other . MinorVersion && self . Name == other . Name && self . Base == other . Base && self . NumberOfFunctions == other . NumberOfFunctions && self . NumberOfNames == other . NumberOfNames && self . AddressOfFunctions == other . AddressOfFunctions && self . AddressOfNames == other . AddressOfNames && self . AddressOfNameOrdinals == other . AddressOfNameOrdinals } } impl :: std :: cmp :: Eq for IMAGE_EXPORT_DIRECTORY { } unsafe impl :: windows :: Abi for IMAGE_EXPORT_DIRECTORY { type Abi = Self ; type DefaultType = Self ; } pub const IMAGE_GUARD_CFW_INSTRUMENTED : u32 = 512u32 ; pub const IMAGE_GUARD_CF_ENABLE_EXPORT_SUPPRESSION : u32 = 32768u32 ; pub const IMAGE_GUARD_CF_EXPORT_SUPPRESSION_INFO_PRESENT : u32 = 16384u32 ; pub const IMAGE_GUARD_CF_FUNCTION_TABLE_PRESENT : u32 = 1024u32 ; pub const IMAGE_GUARD_CF_FUNCTION_TABLE_SIZE_MASK : u32 = 4026531840u32 ; pub const IMAGE_GUARD_CF_FUNCTION_TABLE_SIZE_SHIFT : u32 = 28u32 ; pub const IMAGE_GUARD_CF_INSTRUMENTED : u32 = 256u32 ; pub const IMAGE_GUARD_CF_LONGJUMP_TABLE_PRESENT : u32 = 65536u32 ; pub const IMAGE_GUARD_DELAYLOAD_IAT_IN_ITS_OWN_SECTION : u32 = 8192u32 ; pub const IMAGE_GUARD_EH_CONTINUATION_TABLE_PRESENT : u32 = 2097152u32 ; pub const IMAGE_GUARD_FLAG_EXPORT_SUPPRESSED : u32 = 2u32 ; pub const IMAGE_GUARD_FLAG_FID_SUPPRESSED : u32 = 1u32 ; pub const IMAGE_GUARD_PROTECT_DELAYLOAD_IAT : u32 = 4096u32 ; pub const IMAGE_GUARD_RETPOLINE_PRESENT : u32 = 1048576u32 ; pub const IMAGE_GUARD_RF_ENABLE : u32 = 262144u32 ; pub const IMAGE_GUARD_RF_INSTRUMENTED : u32 = 131072u32 ; pub const IMAGE_GUARD_RF_STRICT : u32 = 524288u32 ; pub const IMAGE_GUARD_SECURITY_COOKIE_UNUSED : u32 = 2048u32 ; pub const IMAGE_HOT_PATCH_ABSOLUTE : u32 = 180224u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct IMAGE_HOT_PATCH_BASE { pub SequenceNumber : u32 , pub Flags : u32 , pub OriginalTimeDateStamp : u32 , pub OriginalCheckSum : u32 , pub CodeIntegrityInfo : u32 , pub CodeIntegritySize : u32 , pub PatchTable : u32 , pub BufferOffset : u32 } impl IMAGE_HOT_PATCH_BASE { } impl :: std :: default :: Default for IMAGE_HOT_PATCH_BASE { fn default ( ) -> Self { Self { SequenceNumber : 0 , Flags : 0 , OriginalTimeDateStamp : 0 , OriginalCheckSum : 0 , CodeIntegrityInfo : 0 , CodeIntegritySize : 0 , PatchTable : 0 , BufferOffset : 0 } } } impl :: std :: fmt :: Debug for IMAGE_HOT_PATCH_BASE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "IMAGE_HOT_PATCH_BASE" ) . field ( "SequenceNumber" , & self . SequenceNumber ) . field ( "Flags" , & self . Flags ) . field ( "OriginalTimeDateStamp" , & self . OriginalTimeDateStamp ) . field ( "OriginalCheckSum" , & self . OriginalCheckSum ) . field ( "CodeIntegrityInfo" , & self . CodeIntegrityInfo ) . field ( "CodeIntegritySize" , & self . CodeIntegritySize ) . field ( "PatchTable" , & self . PatchTable ) . field ( "BufferOffset" , & self . BufferOffset ) . finish ( ) } } impl :: std :: cmp :: PartialEq for IMAGE_HOT_PATCH_BASE { fn eq ( & self , other : & Self ) -> bool { self . SequenceNumber == other . SequenceNumber && self . Flags == other . Flags && self . OriginalTimeDateStamp == other . OriginalTimeDateStamp && self . OriginalCheckSum == other . OriginalCheckSum && self . CodeIntegrityInfo == other . CodeIntegrityInfo && self . CodeIntegritySize == other . CodeIntegritySize && self . PatchTable == other . PatchTable && self . BufferOffset == other . BufferOffset } } impl :: std :: cmp :: Eq for IMAGE_HOT_PATCH_BASE { } unsafe impl :: windows :: Abi for IMAGE_HOT_PATCH_BASE { type Abi = Self ; type DefaultType = Self ; } pub const IMAGE_HOT_PATCH_BASE_CAN_ROLL_BACK : u32 = 2u32 ; pub const IMAGE_HOT_PATCH_BASE_OBLIGATORY : u32 = 1u32 ; pub const IMAGE_HOT_PATCH_CALL_TARGET : u32 = 278528u32 ; pub const IMAGE_HOT_PATCH_CHUNK_INVERSE : u32 = 2147483648u32 ; pub const IMAGE_HOT_PATCH_CHUNK_OBLIGATORY : u32 = 1073741824u32 ; pub const IMAGE_HOT_PATCH_CHUNK_RESERVED : u32 = 1072705536u32 ; pub const IMAGE_HOT_PATCH_CHUNK_SIZE : u32 = 4095u32 ; pub const IMAGE_HOT_PATCH_CHUNK_SOURCE_RVA : u32 = 32768u32 ; pub const IMAGE_HOT_PATCH_CHUNK_TARGET_RVA : u32 = 16384u32 ; pub const IMAGE_HOT_PATCH_CHUNK_TYPE : u32 = 1032192u32 ; pub const IMAGE_HOT_PATCH_DYNAMIC_VALUE : u32 = 491520u32 ; pub const IMAGE_HOT_PATCH_FUNCTION : u32 = 114688u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct IMAGE_HOT_PATCH_HASHES { pub SHA256 : [ u8 ;32 ] , pub SHA1 : [ u8 ;20 ] } impl IMAGE_HOT_PATCH_HASHES { } impl :: std :: default :: Default for IMAGE_HOT_PATCH_HASHES { fn default ( ) -> Self { Self { SHA256 : [ 0 ;32 ] , SHA1 : [ 0 ;20 ] } } } impl :: std :: fmt :: Debug for IMAGE_HOT_PATCH_HASHES { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "IMAGE_HOT_PATCH_HASHES" ) . field ( "SHA256" , & self . SHA256 ) . field ( "SHA1" , & self . SHA1 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for IMAGE_HOT_PATCH_HASHES { fn eq ( & self , other : & Self ) -> bool { self . SHA256 == other . SHA256 && self . SHA1 == other . SHA1 } } impl :: std :: cmp :: Eq for IMAGE_HOT_PATCH_HASHES { } unsafe impl :: windows :: Abi for IMAGE_HOT_PATCH_HASHES { type Abi = Self ; type DefaultType = Self ; } pub const IMAGE_HOT_PATCH_INDIRECT : u32 = 376832u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct IMAGE_HOT_PATCH_INFO { pub Version : u32 , pub Size : u32 , pub SequenceNumber : u32 , pub BaseImageList : u32 , pub BaseImageCount : u32 , pub BufferOffset : u32 , pub ExtraPatchSize : u32 } impl IMAGE_HOT_PATCH_INFO { } impl :: std :: default :: Default for IMAGE_HOT_PATCH_INFO { fn default ( ) -> Self { Self { Version : 0 , Size : 0 , SequenceNumber : 0 , BaseImageList : 0 , BaseImageCount : 0 , BufferOffset : 0 , ExtraPatchSize : 0 } } } impl :: std :: fmt :: Debug for IMAGE_HOT_PATCH_INFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "IMAGE_HOT_PATCH_INFO" ) . field ( "Version" , & self . Version ) . field ( "Size" , & self . Size ) . field ( "SequenceNumber" , & self . SequenceNumber ) . field ( "BaseImageList" , & self . BaseImageList ) . field ( "BaseImageCount" , & self . BaseImageCount ) . field ( "BufferOffset" , & self . BufferOffset ) . field ( "ExtraPatchSize" , & self . ExtraPatchSize ) . finish ( ) } } impl :: std :: cmp :: PartialEq for IMAGE_HOT_PATCH_INFO { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Size == other . Size && self . SequenceNumber == other . SequenceNumber && self . BaseImageList == other . BaseImageList && self . BaseImageCount == other . BaseImageCount && self . BufferOffset == other . BufferOffset && self . ExtraPatchSize == other . ExtraPatchSize } } impl :: std :: cmp :: Eq for IMAGE_HOT_PATCH_INFO { } unsafe impl :: windows :: Abi for IMAGE_HOT_PATCH_INFO { type Abi = Self ; type DefaultType = Self ; } pub const IMAGE_HOT_PATCH_NONE : u32 = 0u32 ; pub const IMAGE_HOT_PATCH_NO_CALL_TARGET : u32 = 409600u32 ; pub const IMAGE_HOT_PATCH_REL32 : u32 = 245760u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct IMAGE_IMPORT_BY_NAME { pub Hint : u16 , pub Name : [ CHAR ;1 ] } impl IMAGE_IMPORT_BY_NAME { } impl :: std :: default :: Default for IMAGE_IMPORT_BY_NAME { fn default ( ) -> Self { Self { Hint : 0 , Name : [ :: std :: default :: Default :: default ( ) ;1 ] } } } impl :: std :: fmt :: Debug for IMAGE_IMPORT_BY_NAME { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "IMAGE_IMPORT_BY_NAME" ) . field ( "Hint" , & self . Hint ) . field ( "Name" , & self . Name ) . finish ( ) } } impl :: std :: cmp :: PartialEq for IMAGE_IMPORT_BY_NAME { fn eq ( & self , other : & Self ) -> bool { self . Hint == other . Hint && self . Name == other . Name } } impl :: std :: cmp :: Eq for IMAGE_IMPORT_BY_NAME { } unsafe impl :: windows :: Abi for IMAGE_IMPORT_BY_NAME { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 1 ) ) ] pub struct IMAGE_IMPORT_CONTROL_TRANSFER_DYNAMIC_RELOCATION { pub _bitfield : u32 } impl IMAGE_IMPORT_CONTROL_TRANSFER_DYNAMIC_RELOCATION { } impl :: std :: cmp :: PartialEq for IMAGE_IMPORT_CONTROL_TRANSFER_DYNAMIC_RELOCATION { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for IMAGE_IMPORT_CONTROL_TRANSFER_DYNAMIC_RELOCATION { } unsafe impl :: windows :: Abi for IMAGE_IMPORT_CONTROL_TRANSFER_DYNAMIC_RELOCATION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct IMAGE_IMPORT_DESCRIPTOR { pub Anonymous : IMAGE_IMPORT_DESCRIPTOR_0 , pub TimeDateStamp : u32 , pub ForwarderChain : u32 , pub Name : u32 , pub FirstThunk : u32 } impl IMAGE_IMPORT_DESCRIPTOR { } impl :: std :: cmp :: PartialEq for IMAGE_IMPORT_DESCRIPTOR { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for IMAGE_IMPORT_DESCRIPTOR { } unsafe impl :: windows :: Abi for IMAGE_IMPORT_DESCRIPTOR { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union IMAGE_IMPORT_DESCRIPTOR_0 { pub Characteristics : u32 , pub OriginalFirstThunk : u32 } impl IMAGE_IMPORT_DESCRIPTOR_0 { } impl :: std :: cmp :: PartialEq for IMAGE_IMPORT_DESCRIPTOR_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for IMAGE_IMPORT_DESCRIPTOR_0 { } unsafe impl :: windows :: Abi for IMAGE_IMPORT_DESCRIPTOR_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 1 ) ) ] pub struct IMAGE_INDIR_CONTROL_TRANSFER_DYNAMIC_RELOCATION { pub _bitfield : u16 } impl IMAGE_INDIR_CONTROL_TRANSFER_DYNAMIC_RELOCATION { } impl :: std :: cmp :: PartialEq for IMAGE_INDIR_CONTROL_TRANSFER_DYNAMIC_RELOCATION { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for IMAGE_INDIR_CONTROL_TRANSFER_DYNAMIC_RELOCATION { } unsafe impl :: windows :: Abi for IMAGE_INDIR_CONTROL_TRANSFER_DYNAMIC_RELOCATION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct IMAGE_LINENUMBER { pub Type : IMAGE_LINENUMBER_0 , pub Linenumber : u16 } impl IMAGE_LINENUMBER { } impl :: std :: cmp :: PartialEq for IMAGE_LINENUMBER { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for IMAGE_LINENUMBER { } unsafe impl :: windows :: Abi for IMAGE_LINENUMBER { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 2 ) ) ] pub union IMAGE_LINENUMBER_0 { pub SymbolTableIndex : u32 , pub VirtualAddress : u32 } impl IMAGE_LINENUMBER_0 { } impl :: std :: cmp :: PartialEq for IMAGE_LINENUMBER_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for IMAGE_LINENUMBER_0 { } unsafe impl :: windows :: Abi for IMAGE_LINENUMBER_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct IMAGE_LOAD_CONFIG_CODE_INTEGRITY { pub Flags : u16 , pub Catalog : u16 , pub CatalogOffset : u32 , pub Reserved : u32 } impl IMAGE_LOAD_CONFIG_CODE_INTEGRITY { } impl :: std :: default :: Default for IMAGE_LOAD_CONFIG_CODE_INTEGRITY { fn default ( ) -> Self { Self { Flags : 0 , Catalog : 0 , CatalogOffset : 0 , Reserved : 0 } } } impl :: std :: fmt :: Debug for IMAGE_LOAD_CONFIG_CODE_INTEGRITY { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "IMAGE_LOAD_CONFIG_CODE_INTEGRITY" ) . field ( "Flags" , & self . Flags ) . field ( "Catalog" , & self . Catalog ) . field ( "CatalogOffset" , & self . CatalogOffset ) . field ( "Reserved" , & self . Reserved ) . finish ( ) } } impl :: std :: cmp :: PartialEq for IMAGE_LOAD_CONFIG_CODE_INTEGRITY { fn eq ( & self , other : & Self ) -> bool { self . Flags == other . Flags && self . Catalog == other . Catalog && self . CatalogOffset == other . CatalogOffset && self . Reserved == other . Reserved } } impl :: std :: cmp :: Eq for IMAGE_LOAD_CONFIG_CODE_INTEGRITY { } unsafe impl :: windows :: Abi for IMAGE_LOAD_CONFIG_CODE_INTEGRITY { type Abi = Self ; type DefaultType = Self ; } pub const IMAGE_NT_SIGNATURE : u32 = 17744u32 ; pub const IMAGE_NUMBEROF_DIRECTORY_ENTRIES : u32 = 16u32 ; pub const IMAGE_ORDINAL_FLAG32 : u32 = 2147483648u32 ; pub const IMAGE_ORDINAL_FLAG64 : u64 = 9223372036854775808u64 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 2 ) ) ] pub struct IMAGE_OS2_HEADER { pub ne_magic : u16 , pub ne_ver : CHAR , pub ne_rev : CHAR , pub ne_enttab : u16 , pub ne_cbenttab : u16 , pub ne_crc : i32 , pub ne_flags : u16 , pub ne_autodata : u16 , pub ne_heap : u16 , pub ne_stack : u16 , pub ne_csip : i32 , pub ne_sssp : i32 , pub ne_cseg : u16 , pub ne_cmod : u16 , pub ne_cbnrestab : u16 , pub ne_segtab : u16 , pub ne_rsrctab : u16 , pub ne_restab : u16 , pub ne_modtab : u16 , pub ne_imptab : u16 , pub ne_nrestab : i32 , pub ne_cmovent : u16 , pub ne_align : u16 , pub ne_cres : u16 , pub ne_exetyp : u8 , pub ne_flagsothers : u8 , pub ne_pretthunks : u16 , pub ne_psegrefbytes : u16 , pub ne_swaparea : u16 , pub ne_expver : u16 } impl IMAGE_OS2_HEADER { } impl :: std :: cmp :: PartialEq for IMAGE_OS2_HEADER { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for IMAGE_OS2_HEADER { } unsafe impl :: windows :: Abi for IMAGE_OS2_HEADER { type Abi = Self ; type DefaultType = Self ; } pub const IMAGE_OS2_SIGNATURE : u32 = 17742u32 ; pub const IMAGE_OS2_SIGNATURE_LE : u32 = 17740u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct IMAGE_POLICY_ENTRY { pub Type : IMAGE_POLICY_ENTRY_TYPE , pub PolicyId : IMAGE_POLICY_ID , pub u : IMAGE_POLICY_ENTRY_0 } impl IMAGE_POLICY_ENTRY { } impl :: std :: cmp :: PartialEq for IMAGE_POLICY_ENTRY { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for IMAGE_POLICY_ENTRY { } unsafe impl :: windows :: Abi for IMAGE_POLICY_ENTRY { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union IMAGE_POLICY_ENTRY_0 { pub None : * mut :: std :: ffi :: c_void , pub BoolValue : u8 , pub Int8Value : i8 , pub UInt8Value : u8 , pub Int16Value : i16 , pub UInt16Value : u16 , pub Int32Value : i32 , pub UInt32Value : u32 , pub Int64Value : i64 , pub UInt64Value : u64 , pub AnsiStringValue : super::super::Foundation:: PSTR , pub UnicodeStringValue : super::super::Foundation:: PWSTR } impl IMAGE_POLICY_ENTRY_0 { } impl :: std :: cmp :: PartialEq for IMAGE_POLICY_ENTRY_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for IMAGE_POLICY_ENTRY_0 { } unsafe impl :: windows :: Abi for IMAGE_POLICY_ENTRY_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct IMAGE_POLICY_ENTRY_TYPE ( pub i32 ) ; pub const ImagePolicyEntryTypeNone : IMAGE_POLICY_ENTRY_TYPE = IMAGE_POLICY_ENTRY_TYPE ( 0i32 ) ; pub const ImagePolicyEntryTypeBool : IMAGE_POLICY_ENTRY_TYPE = IMAGE_POLICY_ENTRY_TYPE ( 1i32 ) ; pub const ImagePolicyEntryTypeInt8 : IMAGE_POLICY_ENTRY_TYPE = IMAGE_POLICY_ENTRY_TYPE ( 2i32 ) ; pub const ImagePolicyEntryTypeUInt8 : IMAGE_POLICY_ENTRY_TYPE = IMAGE_POLICY_ENTRY_TYPE ( 3i32 ) ; pub const ImagePolicyEntryTypeInt16 : IMAGE_POLICY_ENTRY_TYPE = IMAGE_POLICY_ENTRY_TYPE ( 4i32 ) ; pub const ImagePolicyEntryTypeUInt16 : IMAGE_POLICY_ENTRY_TYPE = IMAGE_POLICY_ENTRY_TYPE ( 5i32 ) ; pub const ImagePolicyEntryTypeInt32 : IMAGE_POLICY_ENTRY_TYPE = IMAGE_POLICY_ENTRY_TYPE ( 6i32 ) ; pub const ImagePolicyEntryTypeUInt32 : IMAGE_POLICY_ENTRY_TYPE = IMAGE_POLICY_ENTRY_TYPE ( 7i32 ) ; pub const ImagePolicyEntryTypeInt64 : IMAGE_POLICY_ENTRY_TYPE = IMAGE_POLICY_ENTRY_TYPE ( 8i32 ) ; pub const ImagePolicyEntryTypeUInt64 : IMAGE_POLICY_ENTRY_TYPE = IMAGE_POLICY_ENTRY_TYPE ( 9i32 ) ; pub const ImagePolicyEntryTypeAnsiString : IMAGE_POLICY_ENTRY_TYPE = IMAGE_POLICY_ENTRY_TYPE ( 10i32 ) ; pub const ImagePolicyEntryTypeUnicodeString : IMAGE_POLICY_ENTRY_TYPE = IMAGE_POLICY_ENTRY_TYPE ( 11i32 ) ; pub const ImagePolicyEntryTypeOverride : IMAGE_POLICY_ENTRY_TYPE = IMAGE_POLICY_ENTRY_TYPE ( 12i32 ) ; pub const ImagePolicyEntryTypeMaximum : IMAGE_POLICY_ENTRY_TYPE = IMAGE_POLICY_ENTRY_TYPE ( 13i32 ) ; impl :: std :: convert :: From < i32 > for IMAGE_POLICY_ENTRY_TYPE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for IMAGE_POLICY_ENTRY_TYPE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct IMAGE_POLICY_ID ( pub i32 ) ; pub const ImagePolicyIdNone : IMAGE_POLICY_ID = IMAGE_POLICY_ID ( 0i32 ) ; pub const ImagePolicyIdEtw : IMAGE_POLICY_ID = IMAGE_POLICY_ID ( 1i32 ) ; pub const ImagePolicyIdDebug : IMAGE_POLICY_ID = IMAGE_POLICY_ID ( 2i32 ) ; pub const ImagePolicyIdCrashDump : IMAGE_POLICY_ID = IMAGE_POLICY_ID ( 3i32 ) ; pub const ImagePolicyIdCrashDumpKey : IMAGE_POLICY_ID = IMAGE_POLICY_ID ( 4i32 ) ; pub const ImagePolicyIdCrashDumpKeyGuid : IMAGE_POLICY_ID = IMAGE_POLICY_ID ( 5i32 ) ; pub const ImagePolicyIdParentSd : IMAGE_POLICY_ID = IMAGE_POLICY_ID ( 6i32 ) ; pub const ImagePolicyIdParentSdRev : IMAGE_POLICY_ID = IMAGE_POLICY_ID ( 7i32 ) ; pub const ImagePolicyIdSvn : IMAGE_POLICY_ID = IMAGE_POLICY_ID ( 8i32 ) ; pub const ImagePolicyIdDeviceId : IMAGE_POLICY_ID = IMAGE_POLICY_ID ( 9i32 ) ; pub const ImagePolicyIdCapability : IMAGE_POLICY_ID = IMAGE_POLICY_ID ( 10i32 ) ; pub const ImagePolicyIdScenarioId : IMAGE_POLICY_ID = IMAGE_POLICY_ID ( 11i32 ) ; pub const ImagePolicyIdMaximum : IMAGE_POLICY_ID = IMAGE_POLICY_ID ( 12i32 ) ; impl :: std :: convert :: From < i32 > for IMAGE_POLICY_ID { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for IMAGE_POLICY_ID { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct IMAGE_POLICY_METADATA { pub Version : u8 , pub Reserved0 : [ u8 ;7 ] , pub ApplicationId : u64 , pub Policies : IMAGE_POLICY_ENTRY } impl IMAGE_POLICY_METADATA { } impl :: std :: cmp :: PartialEq for IMAGE_POLICY_METADATA { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for IMAGE_POLICY_METADATA { } unsafe impl :: windows :: Abi for IMAGE_POLICY_METADATA { type Abi = Self ; type DefaultType = Self ; } pub const IMAGE_POLICY_METADATA_VERSION : u32 = 1u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct IMAGE_PROLOGUE_DYNAMIC_RELOCATION_HEADER { pub PrologueByteCount : u8 } impl IMAGE_PROLOGUE_DYNAMIC_RELOCATION_HEADER { } impl :: std :: default :: Default for IMAGE_PROLOGUE_DYNAMIC_RELOCATION_HEADER { fn default ( ) -> Self { Self { PrologueByteCount : 0 } } } impl :: std :: fmt :: Debug for IMAGE_PROLOGUE_DYNAMIC_RELOCATION_HEADER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "IMAGE_PROLOGUE_DYNAMIC_RELOCATION_HEADER" ) . field ( "PrologueByteCount" , & self . PrologueByteCount ) . finish ( ) } } impl :: std :: cmp :: PartialEq for IMAGE_PROLOGUE_DYNAMIC_RELOCATION_HEADER { fn eq ( & self , other : & Self ) -> bool { self . PrologueByteCount == other . PrologueByteCount } } impl :: std :: cmp :: Eq for IMAGE_PROLOGUE_DYNAMIC_RELOCATION_HEADER { } unsafe impl :: windows :: Abi for IMAGE_PROLOGUE_DYNAMIC_RELOCATION_HEADER { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 2 ) ) ] pub struct IMAGE_RELOCATION { pub Anonymous : IMAGE_RELOCATION_0 , pub SymbolTableIndex : u32 , pub Type : u16 } impl IMAGE_RELOCATION { } impl :: std :: cmp :: PartialEq for IMAGE_RELOCATION { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for IMAGE_RELOCATION { } unsafe impl :: windows :: Abi for IMAGE_RELOCATION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 2 ) ) ] pub union IMAGE_RELOCATION_0 { pub VirtualAddress : u32 , pub RelocCount : u32 } impl IMAGE_RELOCATION_0 { } impl :: std :: cmp :: PartialEq for IMAGE_RELOCATION_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for IMAGE_RELOCATION_0 { } unsafe impl :: windows :: Abi for IMAGE_RELOCATION_0 { type Abi = Self ; type DefaultType = Self ; } pub const IMAGE_REL_ALPHA_ABSOLUTE : u32 = 0u32 ; pub const IMAGE_REL_ALPHA_BRADDR : u32 = 7u32 ; pub const IMAGE_REL_ALPHA_GPDISP : u32 = 6u32 ; pub const IMAGE_REL_ALPHA_GPREL32 : u32 = 3u32 ; pub const IMAGE_REL_ALPHA_GPRELHI : u32 = 23u32 ; pub const IMAGE_REL_ALPHA_GPRELLO : u32 = 22u32 ; pub const IMAGE_REL_ALPHA_HINT : u32 = 8u32 ; pub const IMAGE_REL_ALPHA_INLINE_REFLONG : u32 = 9u32 ; pub const IMAGE_REL_ALPHA_LITERAL : u32 = 4u32 ; pub const IMAGE_REL_ALPHA_LITUSE : u32 = 5u32 ; pub const IMAGE_REL_ALPHA_MATCH : u32 = 13u32 ; pub const IMAGE_REL_ALPHA_PAIR : u32 = 12u32 ; pub const IMAGE_REL_ALPHA_REFHI : u32 = 10u32 ; pub const IMAGE_REL_ALPHA_REFLO : u32 = 11u32 ; pub const IMAGE_REL_ALPHA_REFLONG : u32 = 1u32 ; pub const IMAGE_REL_ALPHA_REFLONGNB : u32 = 16u32 ; pub const IMAGE_REL_ALPHA_REFQ1 : u32 = 21u32 ; pub const IMAGE_REL_ALPHA_REFQ2 : u32 = 20u32 ; pub const IMAGE_REL_ALPHA_REFQ3 : u32 = 19u32 ; pub const IMAGE_REL_ALPHA_REFQUAD : u32 = 2u32 ; pub const IMAGE_REL_ALPHA_SECREL : u32 = 15u32 ; pub const IMAGE_REL_ALPHA_SECRELHI : u32 = 18u32 ; pub const IMAGE_REL_ALPHA_SECRELLO : u32 = 17u32 ; pub const IMAGE_REL_ALPHA_SECTION : u32 = 14u32 ; pub const IMAGE_REL_AMD64_ABSOLUTE : u32 = 0u32 ; pub const IMAGE_REL_AMD64_ADDR32 : u32 = 2u32 ; pub const IMAGE_REL_AMD64_ADDR32NB : u32 = 3u32 ; pub const IMAGE_REL_AMD64_ADDR64 : u32 = 1u32 ; pub const IMAGE_REL_AMD64_CFG_BR : u32 = 20u32 ; pub const IMAGE_REL_AMD64_CFG_BR_REX : u32 = 21u32 ; pub const IMAGE_REL_AMD64_CFG_CALL : u32 = 22u32 ; pub const IMAGE_REL_AMD64_EHANDLER : u32 = 17u32 ; pub const IMAGE_REL_AMD64_IMPORT_BR : u32 = 18u32 ; pub const IMAGE_REL_AMD64_IMPORT_CALL : u32 = 19u32 ; pub const IMAGE_REL_AMD64_INDIR_BR : u32 = 23u32 ; pub const IMAGE_REL_AMD64_INDIR_BR_REX : u32 = 24u32 ; pub const IMAGE_REL_AMD64_INDIR_BR_SWITCHTABLE_FIRST : u32 = 32u32 ; pub const IMAGE_REL_AMD64_INDIR_BR_SWITCHTABLE_LAST : u32 = 47u32 ; pub const IMAGE_REL_AMD64_INDIR_CALL : u32 = 25u32 ; pub const IMAGE_REL_AMD64_PAIR : u32 = 15u32 ; pub const IMAGE_REL_AMD64_REL32 : u32 = 4u32 ; pub const IMAGE_REL_AMD64_REL32_1 : u32 = 5u32 ; pub const IMAGE_REL_AMD64_REL32_2 : u32 = 6u32 ; pub const IMAGE_REL_AMD64_REL32_3 : u32 = 7u32 ; pub const IMAGE_REL_AMD64_REL32_4 : u32 = 8u32 ; pub const IMAGE_REL_AMD64_REL32_5 : u32 = 9u32 ; pub const IMAGE_REL_AMD64_SECREL : u32 = 11u32 ; pub const IMAGE_REL_AMD64_SECREL7 : u32 = 12u32 ; pub const IMAGE_REL_AMD64_SECTION : u32 = 10u32 ; pub const IMAGE_REL_AMD64_SREL32 : u32 = 14u32 ; pub const IMAGE_REL_AMD64_SSPAN32 : u32 = 16u32 ; pub const IMAGE_REL_AMD64_TOKEN : u32 = 13u32 ; pub const IMAGE_REL_AM_ABSOLUTE : u32 = 0u32 ; pub const IMAGE_REL_AM_ADDR32 : u32 = 1u32 ; pub const IMAGE_REL_AM_ADDR32NB : u32 = 2u32 ; pub const IMAGE_REL_AM_CALL32 : u32 = 3u32 ; pub const IMAGE_REL_AM_FUNCINFO : u32 = 4u32 ; pub const IMAGE_REL_AM_REL32_1 : u32 = 5u32 ; pub const IMAGE_REL_AM_REL32_2 : u32 = 6u32 ; pub const IMAGE_REL_AM_SECREL : u32 = 7u32 ; pub const IMAGE_REL_AM_SECTION : u32 = 8u32 ; pub const IMAGE_REL_AM_TOKEN : u32 = 9u32 ; pub const IMAGE_REL_ARM64_ABSOLUTE : u32 = 0u32 ; pub const IMAGE_REL_ARM64_ADDR32 : u32 = 1u32 ; pub const IMAGE_REL_ARM64_ADDR32NB : u32 = 2u32 ; pub const IMAGE_REL_ARM64_ADDR64 : u32 = 14u32 ; pub const IMAGE_REL_ARM64_BRANCH19 : u32 = 15u32 ; pub const IMAGE_REL_ARM64_BRANCH26 : u32 = 3u32 ; pub const IMAGE_REL_ARM64_PAGEBASE_REL21 : u32 = 4u32 ; pub const IMAGE_REL_ARM64_PAGEOFFSET_12A : u32 = 6u32 ; pub const IMAGE_REL_ARM64_PAGEOFFSET_12L : u32 = 7u32 ; pub const IMAGE_REL_ARM64_REL21 : u32 = 5u32 ; pub const IMAGE_REL_ARM64_SECREL : u32 = 8u32 ; pub const IMAGE_REL_ARM64_SECREL_HIGH12A : u32 = 10u32 ; pub const IMAGE_REL_ARM64_SECREL_LOW12A : u32 = 9u32 ; pub const IMAGE_REL_ARM64_SECREL_LOW12L : u32 = 11u32 ; pub const IMAGE_REL_ARM64_SECTION : u32 = 13u32 ; pub const IMAGE_REL_ARM64_TOKEN : u32 = 12u32 ; pub const IMAGE_REL_ARM_ABSOLUTE : u32 = 0u32 ; pub const IMAGE_REL_ARM_ADDR32 : u32 = 1u32 ; pub const IMAGE_REL_ARM_ADDR32NB : u32 = 2u32 ; pub const IMAGE_REL_ARM_BLX11 : u32 = 9u32 ; pub const IMAGE_REL_ARM_BLX23T : u32 = 21u32 ; pub const IMAGE_REL_ARM_BLX24 : u32 = 8u32 ; pub const IMAGE_REL_ARM_BRANCH11 : u32 = 4u32 ; pub const IMAGE_REL_ARM_BRANCH20T : u32 = 18u32 ; pub const IMAGE_REL_ARM_BRANCH24 : u32 = 3u32 ; pub const IMAGE_REL_ARM_BRANCH24T : u32 = 20u32 ; pub const IMAGE_REL_ARM_GPREL12 : u32 = 6u32 ; pub const IMAGE_REL_ARM_GPREL7 : u32 = 7u32 ; pub const IMAGE_REL_ARM_MOV32 : u32 = 16u32 ; pub const IMAGE_REL_ARM_MOV32A : u32 = 16u32 ; pub const IMAGE_REL_ARM_MOV32T : u32 = 17u32 ; pub const IMAGE_REL_ARM_SECREL : u32 = 15u32 ; pub const IMAGE_REL_ARM_SECTION : u32 = 14u32 ; pub const IMAGE_REL_ARM_TOKEN : u32 = 5u32 ; pub const IMAGE_REL_BASED_ABSOLUTE : u32 = 0u32 ; pub const IMAGE_REL_BASED_ARM_MOV32 : u32 = 5u32 ; pub const IMAGE_REL_BASED_DIR64 : u32 = 10u32 ; pub const IMAGE_REL_BASED_HIGH : u32 = 1u32 ; pub const IMAGE_REL_BASED_HIGHADJ : u32 = 4u32 ; pub const IMAGE_REL_BASED_HIGHLOW : u32 = 3u32 ; pub const IMAGE_REL_BASED_IA64_IMM64 : u32 = 9u32 ; pub const IMAGE_REL_BASED_LOW : u32 = 2u32 ; pub const IMAGE_REL_BASED_MACHINE_SPECIFIC_5 : u32 = 5u32 ; pub const IMAGE_REL_BASED_MACHINE_SPECIFIC_7 : u32 = 7u32 ; pub const IMAGE_REL_BASED_MACHINE_SPECIFIC_8 : u32 = 8u32 ; pub const IMAGE_REL_BASED_MACHINE_SPECIFIC_9 : u32 = 9u32 ; pub const IMAGE_REL_BASED_MIPS_JMPADDR : u32 = 5u32 ; pub const IMAGE_REL_BASED_MIPS_JMPADDR16 : u32 = 9u32 ; pub const IMAGE_REL_BASED_RESERVED : u32 = 6u32 ; pub const IMAGE_REL_BASED_THUMB_MOV32 : u32 = 7u32 ; pub const IMAGE_REL_CEE_ABSOLUTE : u32 = 0u32 ; pub const IMAGE_REL_CEE_ADDR32 : u32 = 1u32 ; pub const IMAGE_REL_CEE_ADDR32NB : u32 = 3u32 ; pub const IMAGE_REL_CEE_ADDR64 : u32 = 2u32 ; pub const IMAGE_REL_CEE_SECREL : u32 = 5u32 ; pub const IMAGE_REL_CEE_SECTION : u32 = 4u32 ; pub const IMAGE_REL_CEE_TOKEN : u32 = 6u32 ; pub const IMAGE_REL_CEF_ABSOLUTE : u32 = 0u32 ; pub const IMAGE_REL_CEF_ADDR32 : u32 = 1u32 ; pub const IMAGE_REL_CEF_ADDR32NB : u32 = 3u32 ; pub const IMAGE_REL_CEF_ADDR64 : u32 = 2u32 ; pub const IMAGE_REL_CEF_SECREL : u32 = 5u32 ; pub const IMAGE_REL_CEF_SECTION : u32 = 4u32 ; pub const IMAGE_REL_CEF_TOKEN : u32 = 6u32 ; pub const IMAGE_REL_EBC_ABSOLUTE : u32 = 0u32 ; pub const IMAGE_REL_EBC_ADDR32NB : u32 = 1u32 ; pub const IMAGE_REL_EBC_REL32 : u32 = 2u32 ; pub const IMAGE_REL_EBC_SECREL : u32 = 4u32 ; pub const IMAGE_REL_EBC_SECTION : u32 = 3u32 ; pub const IMAGE_REL_I386_ABSOLUTE : u32 = 0u32 ; pub const IMAGE_REL_I386_DIR16 : u32 = 1u32 ; pub const IMAGE_REL_I386_DIR32 : u32 = 6u32 ; pub const IMAGE_REL_I386_DIR32NB : u32 = 7u32 ; pub const IMAGE_REL_I386_REL16 : u32 = 2u32 ; pub const IMAGE_REL_I386_REL32 : u32 = 20u32 ; pub const IMAGE_REL_I386_SECREL : u32 = 11u32 ; pub const IMAGE_REL_I386_SECREL7 : u32 = 13u32 ; pub const IMAGE_REL_I386_SECTION : u32 = 10u32 ; pub const IMAGE_REL_I386_SEG12 : u32 = 9u32 ; pub const IMAGE_REL_I386_TOKEN : u32 = 12u32 ; pub const IMAGE_REL_IA64_ABSOLUTE : u32 = 0u32 ; pub const IMAGE_REL_IA64_ADDEND : u32 = 31u32 ; pub const IMAGE_REL_IA64_DIR32 : u32 = 4u32 ; pub const IMAGE_REL_IA64_DIR32NB : u32 = 16u32 ; pub const IMAGE_REL_IA64_DIR64 : u32 = 5u32 ; pub const IMAGE_REL_IA64_GPREL22 : u32 = 9u32 ; pub const IMAGE_REL_IA64_GPREL32 : u32 = 28u32 ; pub const IMAGE_REL_IA64_IMM14 : u32 = 1u32 ; pub const IMAGE_REL_IA64_IMM22 : u32 = 2u32 ; pub const IMAGE_REL_IA64_IMM64 : u32 = 3u32 ; pub const IMAGE_REL_IA64_IMMGPREL64 : u32 = 26u32 ; pub const IMAGE_REL_IA64_LTOFF22 : u32 = 10u32 ; pub const IMAGE_REL_IA64_PCREL21B : u32 = 6u32 ; pub const IMAGE_REL_IA64_PCREL21F : u32 = 8u32 ; pub const IMAGE_REL_IA64_PCREL21M : u32 = 7u32 ; pub const IMAGE_REL_IA64_PCREL60B : u32 = 22u32 ; pub const IMAGE_REL_IA64_PCREL60F : u32 = 23u32 ; pub const IMAGE_REL_IA64_PCREL60I : u32 = 24u32 ; pub const IMAGE_REL_IA64_PCREL60M : u32 = 25u32 ; pub const IMAGE_REL_IA64_PCREL60X : u32 = 21u32 ; pub const IMAGE_REL_IA64_SECREL22 : u32 = 12u32 ; pub const IMAGE_REL_IA64_SECREL32 : u32 = 14u32 ; pub const IMAGE_REL_IA64_SECREL64I : u32 = 13u32 ; pub const IMAGE_REL_IA64_SECTION : u32 = 11u32 ; pub const IMAGE_REL_IA64_SREL14 : u32 = 17u32 ; pub const IMAGE_REL_IA64_SREL22 : u32 = 18u32 ; pub const IMAGE_REL_IA64_SREL32 : u32 = 19u32 ; pub const IMAGE_REL_IA64_TOKEN : u32 = 27u32 ; pub const IMAGE_REL_IA64_UREL32 : u32 = 20u32 ; pub const IMAGE_REL_M32R_ABSOLUTE : u32 = 0u32 ; pub const IMAGE_REL_M32R_ADDR24 : u32 = 3u32 ; pub const IMAGE_REL_M32R_ADDR32 : u32 = 1u32 ; pub const IMAGE_REL_M32R_ADDR32NB : u32 = 2u32 ; pub const IMAGE_REL_M32R_GPREL16 : u32 = 4u32 ; pub const IMAGE_REL_M32R_PAIR : u32 = 11u32 ; pub const IMAGE_REL_M32R_PCREL16 : u32 = 6u32 ; pub const IMAGE_REL_M32R_PCREL24 : u32 = 5u32 ; pub const IMAGE_REL_M32R_PCREL8 : u32 = 7u32 ; pub const IMAGE_REL_M32R_REFHALF : u32 = 8u32 ; pub const IMAGE_REL_M32R_REFHI : u32 = 9u32 ; pub const IMAGE_REL_M32R_REFLO : u32 = 10u32 ; pub const IMAGE_REL_M32R_SECREL32 : u32 = 13u32 ; pub const IMAGE_REL_M32R_SECTION : u32 = 12u32 ; pub const IMAGE_REL_M32R_TOKEN : u32 = 14u32 ; pub const IMAGE_REL_MIPS_ABSOLUTE : u32 = 0u32 ; pub const IMAGE_REL_MIPS_GPREL : u32 = 6u32 ; pub const IMAGE_REL_MIPS_JMPADDR : u32 = 3u32 ; pub const IMAGE_REL_MIPS_JMPADDR16 : u32 = 16u32 ; pub const IMAGE_REL_MIPS_LITERAL : u32 = 7u32 ; pub const IMAGE_REL_MIPS_PAIR : u32 = 37u32 ; pub const IMAGE_REL_MIPS_REFHALF : u32 = 1u32 ; pub const IMAGE_REL_MIPS_REFHI : u32 = 4u32 ; pub const IMAGE_REL_MIPS_REFLO : u32 = 5u32 ; pub const IMAGE_REL_MIPS_REFWORD : u32 = 2u32 ; pub const IMAGE_REL_MIPS_REFWORDNB : u32 = 34u32 ; pub const IMAGE_REL_MIPS_SECREL : u32 = 11u32 ; pub const IMAGE_REL_MIPS_SECRELHI : u32 = 13u32 ; pub const IMAGE_REL_MIPS_SECRELLO : u32 = 12u32 ; pub const IMAGE_REL_MIPS_SECTION : u32 = 10u32 ; pub const IMAGE_REL_MIPS_TOKEN : u32 = 14u32 ; pub const IMAGE_REL_PPC_ABSOLUTE : u32 = 0u32 ; pub const IMAGE_REL_PPC_ADDR14 : u32 = 5u32 ; pub const IMAGE_REL_PPC_ADDR16 : u32 = 4u32 ; pub const IMAGE_REL_PPC_ADDR24 : u32 = 3u32 ; pub const IMAGE_REL_PPC_ADDR32 : u32 = 2u32 ; pub const IMAGE_REL_PPC_ADDR32NB : u32 = 10u32 ; pub const IMAGE_REL_PPC_ADDR64 : u32 = 1u32 ; pub const IMAGE_REL_PPC_BRNTAKEN : u32 = 1024u32 ; pub const IMAGE_REL_PPC_BRTAKEN : u32 = 512u32 ; pub const IMAGE_REL_PPC_GPREL : u32 = 21u32 ; pub const IMAGE_REL_PPC_IFGLUE : u32 = 13u32 ; pub const IMAGE_REL_PPC_IMGLUE : u32 = 14u32 ; pub const IMAGE_REL_PPC_NEG : u32 = 256u32 ; pub const IMAGE_REL_PPC_PAIR : u32 = 18u32 ; pub const IMAGE_REL_PPC_REFHI : u32 = 16u32 ; pub const IMAGE_REL_PPC_REFLO : u32 = 17u32 ; pub const IMAGE_REL_PPC_REL14 : u32 = 7u32 ; pub const IMAGE_REL_PPC_REL24 : u32 = 6u32 ; pub const IMAGE_REL_PPC_SECREL : u32 = 11u32 ; pub const IMAGE_REL_PPC_SECREL16 : u32 = 15u32 ; pub const IMAGE_REL_PPC_SECRELHI : u32 = 20u32 ; pub const IMAGE_REL_PPC_SECRELLO : u32 = 19u32 ; pub const IMAGE_REL_PPC_SECTION : u32 = 12u32 ; pub const IMAGE_REL_PPC_TOCDEFN : u32 = 2048u32 ; pub const IMAGE_REL_PPC_TOCREL14 : u32 = 9u32 ; pub const IMAGE_REL_PPC_TOCREL16 : u32 = 8u32 ; pub const IMAGE_REL_PPC_TOKEN : u32 = 22u32 ; pub const IMAGE_REL_PPC_TYPEMASK : u32 = 255u32 ; pub const IMAGE_REL_SH3_ABSOLUTE : u32 = 0u32 ; pub const IMAGE_REL_SH3_DIRECT16 : u32 = 1u32 ; pub const IMAGE_REL_SH3_DIRECT32 : u32 = 2u32 ; pub const IMAGE_REL_SH3_DIRECT32_NB : u32 = 16u32 ; pub const IMAGE_REL_SH3_DIRECT4 : u32 = 6u32 ; pub const IMAGE_REL_SH3_DIRECT4_LONG : u32 = 8u32 ; pub const IMAGE_REL_SH3_DIRECT4_WORD : u32 = 7u32 ; pub const IMAGE_REL_SH3_DIRECT8 : u32 = 3u32 ; pub const IMAGE_REL_SH3_DIRECT8_LONG : u32 = 5u32 ; pub const IMAGE_REL_SH3_DIRECT8_WORD : u32 = 4u32 ; pub const IMAGE_REL_SH3_GPREL4_LONG : u32 = 17u32 ; pub const IMAGE_REL_SH3_PCREL12_WORD : u32 = 11u32 ; pub const IMAGE_REL_SH3_PCREL8_LONG : u32 = 10u32 ; pub const IMAGE_REL_SH3_PCREL8_WORD : u32 = 9u32 ; pub const IMAGE_REL_SH3_SECREL : u32 = 15u32 ; pub const IMAGE_REL_SH3_SECTION : u32 = 14u32 ; pub const IMAGE_REL_SH3_SIZEOF_SECTION : u32 = 13u32 ; pub const IMAGE_REL_SH3_STARTOF_SECTION : u32 = 12u32 ; pub const IMAGE_REL_SH3_TOKEN : u32 = 18u32 ; pub const IMAGE_REL_SHM_PAIR : u32 = 24u32 ; pub const IMAGE_REL_SHM_PCRELPT : u32 = 19u32 ; pub const IMAGE_REL_SHM_REFHALF : u32 = 21u32 ; pub const IMAGE_REL_SHM_REFLO : u32 = 20u32 ; pub const IMAGE_REL_SHM_RELHALF : u32 = 23u32 ; pub const IMAGE_REL_SHM_RELLO : u32 = 22u32 ; pub const IMAGE_REL_SH_NOMODE : u32 = 32768u32 ; pub const IMAGE_REL_THUMB_BLX23 : u32 = 21u32 ; pub const IMAGE_REL_THUMB_BRANCH20 : u32 = 18u32 ; pub const IMAGE_REL_THUMB_BRANCH24 : u32 = 20u32 ; pub const IMAGE_REL_THUMB_MOV32 : u32 = 17u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct IMAGE_RESOURCE_DATA_ENTRY { pub OffsetToData : u32 , pub Size : u32 , pub CodePage : u32 , pub Reserved : u32 } impl IMAGE_RESOURCE_DATA_ENTRY { } impl :: std :: default :: Default for IMAGE_RESOURCE_DATA_ENTRY { fn default ( ) -> Self { Self { OffsetToData : 0 , Size : 0 , CodePage : 0 , Reserved : 0 } } } impl :: std :: fmt :: Debug for IMAGE_RESOURCE_DATA_ENTRY { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "IMAGE_RESOURCE_DATA_ENTRY" ) . field ( "OffsetToData" , & self . OffsetToData ) . field ( "Size" , & self . Size ) . field ( "CodePage" , & self . CodePage ) . field ( "Reserved" , & self . Reserved ) . finish ( ) } } impl :: std :: cmp :: PartialEq for IMAGE_RESOURCE_DATA_ENTRY { fn eq ( & self , other : & Self ) -> bool { self . OffsetToData == other . OffsetToData && self . Size == other . Size && self . CodePage == other . CodePage && self . Reserved == other . Reserved } } impl :: std :: cmp :: Eq for IMAGE_RESOURCE_DATA_ENTRY { } unsafe impl :: windows :: Abi for IMAGE_RESOURCE_DATA_ENTRY { type Abi = Self ; type DefaultType = Self ; } pub const IMAGE_RESOURCE_DATA_IS_DIRECTORY : u32 = 2147483648u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct IMAGE_RESOURCE_DIRECTORY { pub Characteristics : u32 , pub TimeDateStamp : u32 , pub MajorVersion : u16 , pub MinorVersion : u16 , pub NumberOfNamedEntries : u16 , pub NumberOfIdEntries : u16 } impl IMAGE_RESOURCE_DIRECTORY { } impl :: std :: default :: Default for IMAGE_RESOURCE_DIRECTORY { fn default ( ) -> Self { Self { Characteristics : 0 , TimeDateStamp : 0 , MajorVersion : 0 , MinorVersion : 0 , NumberOfNamedEntries : 0 , NumberOfIdEntries : 0 } } } impl :: std :: fmt :: Debug for IMAGE_RESOURCE_DIRECTORY { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "IMAGE_RESOURCE_DIRECTORY" ) . field ( "Characteristics" , & self . Characteristics ) . field ( "TimeDateStamp" , & self . TimeDateStamp ) . field ( "MajorVersion" , & self . MajorVersion ) . field ( "MinorVersion" , & self . MinorVersion ) . field ( "NumberOfNamedEntries" , & self . NumberOfNamedEntries ) . field ( "NumberOfIdEntries" , & self . NumberOfIdEntries ) . finish ( ) } } impl :: std :: cmp :: PartialEq for IMAGE_RESOURCE_DIRECTORY { fn eq ( & self , other : & Self ) -> bool { self . Characteristics == other . Characteristics && self . TimeDateStamp == other . TimeDateStamp && self . MajorVersion == other . MajorVersion && self . MinorVersion == other . MinorVersion && self . NumberOfNamedEntries == other . NumberOfNamedEntries && self . NumberOfIdEntries == other . NumberOfIdEntries } } impl :: std :: cmp :: Eq for IMAGE_RESOURCE_DIRECTORY { } unsafe impl :: windows :: Abi for IMAGE_RESOURCE_DIRECTORY { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct IMAGE_RESOURCE_DIRECTORY_ENTRY { pub Anonymous1 : IMAGE_RESOURCE_DIRECTORY_ENTRY_0 , pub Anonymous2 : IMAGE_RESOURCE_DIRECTORY_ENTRY_1 } impl IMAGE_RESOURCE_DIRECTORY_ENTRY { } impl :: std :: cmp :: PartialEq for IMAGE_RESOURCE_DIRECTORY_ENTRY { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for IMAGE_RESOURCE_DIRECTORY_ENTRY { } unsafe impl :: windows :: Abi for IMAGE_RESOURCE_DIRECTORY_ENTRY { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union IMAGE_RESOURCE_DIRECTORY_ENTRY_0 { pub Anonymous : IMAGE_RESOURCE_DIRECTORY_ENTRY_0_0 , pub Name : u32 , pub Id : u16 } impl IMAGE_RESOURCE_DIRECTORY_ENTRY_0 { } impl :: std :: cmp :: PartialEq for IMAGE_RESOURCE_DIRECTORY_ENTRY_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for IMAGE_RESOURCE_DIRECTORY_ENTRY_0 { } unsafe impl :: windows :: Abi for IMAGE_RESOURCE_DIRECTORY_ENTRY_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct IMAGE_RESOURCE_DIRECTORY_ENTRY_0_0 { pub _bitfield : u32 } impl IMAGE_RESOURCE_DIRECTORY_ENTRY_0_0 { } impl :: std :: default :: Default for IMAGE_RESOURCE_DIRECTORY_ENTRY_0_0 { fn default ( ) -> Self { Self { _bitfield : 0 } } } impl :: std :: fmt :: Debug for IMAGE_RESOURCE_DIRECTORY_ENTRY_0_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Anonymous_e__Struct" ) . field ( "_bitfield" , & self . _bitfield ) . finish ( ) } } impl :: std :: cmp :: PartialEq for IMAGE_RESOURCE_DIRECTORY_ENTRY_0_0 { fn eq ( & self , other : & Self ) -> bool { self . _bitfield == other . _bitfield } } impl :: std :: cmp :: Eq for IMAGE_RESOURCE_DIRECTORY_ENTRY_0_0 { } unsafe impl :: windows :: Abi for IMAGE_RESOURCE_DIRECTORY_ENTRY_0_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union IMAGE_RESOURCE_DIRECTORY_ENTRY_1 { pub OffsetToData : u32 , pub Anonymous : IMAGE_RESOURCE_DIRECTORY_ENTRY_1_0 } impl IMAGE_RESOURCE_DIRECTORY_ENTRY_1 { } impl :: std :: cmp :: PartialEq for IMAGE_RESOURCE_DIRECTORY_ENTRY_1 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for IMAGE_RESOURCE_DIRECTORY_ENTRY_1 { } unsafe impl :: windows :: Abi for IMAGE_RESOURCE_DIRECTORY_ENTRY_1 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct IMAGE_RESOURCE_DIRECTORY_ENTRY_1_0 { pub _bitfield : u32 } impl IMAGE_RESOURCE_DIRECTORY_ENTRY_1_0 { } impl :: std :: default :: Default for IMAGE_RESOURCE_DIRECTORY_ENTRY_1_0 { fn default ( ) -> Self { Self { _bitfield : 0 } } } impl :: std :: fmt :: Debug for IMAGE_RESOURCE_DIRECTORY_ENTRY_1_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Anonymous_e__Struct" ) . field ( "_bitfield" , & self . _bitfield ) . finish ( ) } } impl :: std :: cmp :: PartialEq for IMAGE_RESOURCE_DIRECTORY_ENTRY_1_0 { fn eq ( & self , other : & Self ) -> bool { self . _bitfield == other . _bitfield } } impl :: std :: cmp :: Eq for IMAGE_RESOURCE_DIRECTORY_ENTRY_1_0 { } unsafe impl :: windows :: Abi for IMAGE_RESOURCE_DIRECTORY_ENTRY_1_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct IMAGE_RESOURCE_DIRECTORY_STRING { pub Length : u16 , pub NameString : [ CHAR ;1 ] } impl IMAGE_RESOURCE_DIRECTORY_STRING { } impl :: std :: default :: Default for IMAGE_RESOURCE_DIRECTORY_STRING { fn default ( ) -> Self { Self { Length : 0 , NameString : [ :: std :: default :: Default :: default ( ) ;1 ] } } } impl :: std :: fmt :: Debug for IMAGE_RESOURCE_DIRECTORY_STRING { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "IMAGE_RESOURCE_DIRECTORY_STRING" ) . field ( "Length" , & self . Length ) . field ( "NameString" , & self . NameString ) . finish ( ) } } impl :: std :: cmp :: PartialEq for IMAGE_RESOURCE_DIRECTORY_STRING { fn eq ( & self , other : & Self ) -> bool { self . Length == other . Length && self . NameString == other . NameString } } impl :: std :: cmp :: Eq for IMAGE_RESOURCE_DIRECTORY_STRING { } unsafe impl :: windows :: Abi for IMAGE_RESOURCE_DIRECTORY_STRING { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct IMAGE_RESOURCE_DIR_STRING_U { pub Length : u16 , pub NameString : [ u16 ;1 ] } impl IMAGE_RESOURCE_DIR_STRING_U { } impl :: std :: default :: Default for IMAGE_RESOURCE_DIR_STRING_U { fn default ( ) -> Self { Self { Length : 0 , NameString : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for IMAGE_RESOURCE_DIR_STRING_U { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "IMAGE_RESOURCE_DIR_STRING_U" ) . field ( "Length" , & self . Length ) . field ( "NameString" , & self . NameString ) . finish ( ) } } impl :: std :: cmp :: PartialEq for IMAGE_RESOURCE_DIR_STRING_U { fn eq ( & self , other : & Self ) -> bool { self . Length == other . Length && self . NameString == other . NameString } } impl :: std :: cmp :: Eq for IMAGE_RESOURCE_DIR_STRING_U { } unsafe impl :: windows :: Abi for IMAGE_RESOURCE_DIR_STRING_U { type Abi = Self ; type DefaultType = Self ; } pub const IMAGE_RESOURCE_NAME_IS_STRING : u32 = 2147483648u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct IMAGE_ROM_HEADERS { pub FileHeader : super::Diagnostics::Debug:: IMAGE_FILE_HEADER , pub OptionalHeader : IMAGE_ROM_OPTIONAL_HEADER } impl IMAGE_ROM_HEADERS { } impl :: std :: default :: Default for IMAGE_ROM_HEADERS { fn default ( ) -> Self { Self { FileHeader : :: std :: default :: Default :: default ( ) , OptionalHeader : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for IMAGE_ROM_HEADERS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "IMAGE_ROM_HEADERS" ) . field ( "FileHeader" , & self . FileHeader ) . field ( "OptionalHeader" , & self . OptionalHeader ) . finish ( ) } } impl :: std :: cmp :: PartialEq for IMAGE_ROM_HEADERS { fn eq ( & self , other : & Self ) -> bool { self . FileHeader == other . FileHeader && self . OptionalHeader == other . OptionalHeader } } impl :: std :: cmp :: Eq for IMAGE_ROM_HEADERS { } unsafe impl :: windows :: Abi for IMAGE_ROM_HEADERS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct IMAGE_ROM_OPTIONAL_HEADER { pub Magic : u16 , pub MajorLinkerVersion : u8 , pub MinorLinkerVersion : u8 , pub SizeOfCode : u32 , pub SizeOfInitializedData : u32 , pub SizeOfUninitializedData : u32 , pub AddressOfEntryPoint : u32 , pub BaseOfCode : u32 , pub BaseOfData : u32 , pub BaseOfBss : u32 , pub GprMask : u32 , pub CprMask : [ u32 ;4 ] , pub GpValue : u32 } impl IMAGE_ROM_OPTIONAL_HEADER { } impl :: std :: default :: Default for IMAGE_ROM_OPTIONAL_HEADER { fn default ( ) -> Self { Self { Magic : 0 , MajorLinkerVersion : 0 , MinorLinkerVersion : 0 , SizeOfCode : 0 , SizeOfInitializedData : 0 , SizeOfUninitializedData : 0 , AddressOfEntryPoint : 0 , BaseOfCode : 0 , BaseOfData : 0 , BaseOfBss : 0 , GprMask : 0 , CprMask : [ 0 ;4 ] , GpValue : 0 } } } impl :: std :: fmt :: Debug for IMAGE_ROM_OPTIONAL_HEADER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "IMAGE_ROM_OPTIONAL_HEADER" ) . field ( "Magic" , & self . Magic ) . field ( "MajorLinkerVersion" , & self . MajorLinkerVersion ) . field ( "MinorLinkerVersion" , & self . MinorLinkerVersion ) . field ( "SizeOfCode" , & self . SizeOfCode ) . field ( "SizeOfInitializedData" , & self . SizeOfInitializedData ) . field ( "SizeOfUninitializedData" , & self . SizeOfUninitializedData ) . field ( "AddressOfEntryPoint" , & self . AddressOfEntryPoint ) . field ( "BaseOfCode" , & self . BaseOfCode ) . field ( "BaseOfData" , & self . BaseOfData ) . field ( "BaseOfBss" , & self . BaseOfBss ) . field ( "GprMask" , & self . GprMask ) . field ( "CprMask" , & self . CprMask ) . field ( "GpValue" , & self . GpValue ) . finish ( ) } } impl :: std :: cmp :: PartialEq for IMAGE_ROM_OPTIONAL_HEADER { fn eq ( & self , other : & Self ) -> bool { self . Magic == other . Magic && self . MajorLinkerVersion == other . MajorLinkerVersion && self . MinorLinkerVersion == other . MinorLinkerVersion && self . SizeOfCode == other . SizeOfCode && self . SizeOfInitializedData == other . SizeOfInitializedData && self . SizeOfUninitializedData == other . SizeOfUninitializedData && self . AddressOfEntryPoint == other . AddressOfEntryPoint && self . BaseOfCode == other . BaseOfCode && self . BaseOfData == other . BaseOfData && self . BaseOfBss == other . BaseOfBss && self . GprMask == other . GprMask && self . CprMask == other . CprMask && self . GpValue == other . GpValue } } impl :: std :: cmp :: Eq for IMAGE_ROM_OPTIONAL_HEADER { } unsafe impl :: windows :: Abi for IMAGE_ROM_OPTIONAL_HEADER { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct IMAGE_RUNTIME_FUNCTION_ENTRY { pub BeginAddress : u32 , pub EndAddress : u32 , pub Anonymous : IMAGE_RUNTIME_FUNCTION_ENTRY_0 } impl IMAGE_RUNTIME_FUNCTION_ENTRY { } impl :: std :: cmp :: PartialEq for IMAGE_RUNTIME_FUNCTION_ENTRY { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for IMAGE_RUNTIME_FUNCTION_ENTRY { } unsafe impl :: windows :: Abi for IMAGE_RUNTIME_FUNCTION_ENTRY { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union IMAGE_RUNTIME_FUNCTION_ENTRY_0 { pub UnwindInfoAddress : u32 , pub UnwindData : u32 } impl IMAGE_RUNTIME_FUNCTION_ENTRY_0 { } impl :: std :: cmp :: PartialEq for IMAGE_RUNTIME_FUNCTION_ENTRY_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for IMAGE_RUNTIME_FUNCTION_ENTRY_0 { } unsafe impl :: windows :: Abi for IMAGE_RUNTIME_FUNCTION_ENTRY_0 { type Abi = Self ; type DefaultType = Self ; } pub const IMAGE_SEPARATE_DEBUG_FLAGS_MASK : u32 = 32768u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct IMAGE_SEPARATE_DEBUG_HEADER { pub Signature : u16 , pub Flags : u16 , pub Machine : u16 , pub Characteristics : u16 , pub TimeDateStamp : u32 , pub CheckSum : u32 , pub ImageBase : u32 , pub SizeOfImage : u32 , pub NumberOfSections : u32 , pub ExportedNamesSize : u32 , pub DebugDirectorySize : u32 , pub SectionAlignment : u32 , pub Reserved : [ u32 ;2 ] } impl IMAGE_SEPARATE_DEBUG_HEADER { } impl :: std :: default :: Default for IMAGE_SEPARATE_DEBUG_HEADER { fn default ( ) -> Self { Self { Signature : 0 , Flags : 0 , Machine : 0 , Characteristics : 0 , TimeDateStamp : 0 , CheckSum : 0 , ImageBase : 0 , SizeOfImage : 0 , NumberOfSections : 0 , ExportedNamesSize : 0 , DebugDirectorySize : 0 , SectionAlignment : 0 , Reserved : [ 0 ;2 ] } } } impl :: std :: fmt :: Debug for IMAGE_SEPARATE_DEBUG_HEADER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "IMAGE_SEPARATE_DEBUG_HEADER" ) . field ( "Signature" , & self . Signature ) . field ( "Flags" , & self . Flags ) . field ( "Machine" , & self . Machine ) . field ( "Characteristics" , & self . Characteristics ) . field ( "TimeDateStamp" , & self . TimeDateStamp ) . field ( "CheckSum" , & self . CheckSum ) . field ( "ImageBase" , & self . ImageBase ) . field ( "SizeOfImage" , & self . SizeOfImage ) . field ( "NumberOfSections" , & self . NumberOfSections ) . field ( "ExportedNamesSize" , & self . ExportedNamesSize ) . field ( "DebugDirectorySize" , & self . DebugDirectorySize ) . field ( "SectionAlignment" , & self . SectionAlignment ) . field ( "Reserved" , & self . Reserved ) . finish ( ) } } impl :: std :: cmp :: PartialEq for IMAGE_SEPARATE_DEBUG_HEADER { fn eq ( & self , other : & Self ) -> bool { self . Signature == other . Signature && self . Flags == other . Flags && self . Machine == other . Machine && self . Characteristics == other . Characteristics && self . TimeDateStamp == other . TimeDateStamp && self . CheckSum == other . CheckSum && self . ImageBase == other . ImageBase && self . SizeOfImage == other . SizeOfImage && self . NumberOfSections == other . NumberOfSections && self . ExportedNamesSize == other . ExportedNamesSize && self . DebugDirectorySize == other . DebugDirectorySize && self . SectionAlignment == other . SectionAlignment && self . Reserved == other . Reserved } } impl :: std :: cmp :: Eq for IMAGE_SEPARATE_DEBUG_HEADER { } unsafe impl :: windows :: Abi for IMAGE_SEPARATE_DEBUG_HEADER { type Abi = Self ; type DefaultType = Self ; } pub const IMAGE_SEPARATE_DEBUG_MISMATCH : u32 = 32768u32 ; pub const IMAGE_SEPARATE_DEBUG_SIGNATURE : u32 = 18756u32 ; pub const IMAGE_SIZEOF_ARCHIVE_MEMBER_HDR : u32 = 60u32 ; pub const IMAGE_SIZEOF_FILE_HEADER : u32 = 20u32 ; pub const IMAGE_SIZEOF_SECTION_HEADER : u32 = 40u32 ; pub const IMAGE_SIZEOF_SHORT_NAME : u32 = 8u32 ; pub const IMAGE_SIZEOF_SYMBOL : u32 = 18u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 1 ) ) ] pub struct IMAGE_SWITCHTABLE_BRANCH_DYNAMIC_RELOCATION { pub _bitfield : u16 } impl IMAGE_SWITCHTABLE_BRANCH_DYNAMIC_RELOCATION { } impl :: std :: cmp :: PartialEq for IMAGE_SWITCHTABLE_BRANCH_DYNAMIC_RELOCATION { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for IMAGE_SWITCHTABLE_BRANCH_DYNAMIC_RELOCATION { } unsafe impl :: windows :: Abi for IMAGE_SWITCHTABLE_BRANCH_DYNAMIC_RELOCATION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 2 ) ) ] pub struct IMAGE_SYMBOL { pub N : IMAGE_SYMBOL_0 , pub Value : u32 , pub SectionNumber : i16 , pub Type : u16 , pub StorageClass : u8 , pub NumberOfAuxSymbols : u8 } impl IMAGE_SYMBOL { } impl :: std :: cmp :: PartialEq for IMAGE_SYMBOL { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for IMAGE_SYMBOL { } unsafe impl :: windows :: Abi for IMAGE_SYMBOL { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 2 ) ) ] pub union IMAGE_SYMBOL_0 { pub ShortName : [ u8 ;8 ] , pub Name : IMAGE_SYMBOL_0_0 , pub LongName : [ u32 ;2 ] } impl IMAGE_SYMBOL_0 { } impl :: std :: cmp :: PartialEq for IMAGE_SYMBOL_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for IMAGE_SYMBOL_0 { } unsafe impl :: windows :: Abi for IMAGE_SYMBOL_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 2 ) ) ] pub struct IMAGE_SYMBOL_0_0 { pub Short : u32 , pub Long : u32 } impl IMAGE_SYMBOL_0_0 { } impl :: std :: cmp :: PartialEq for IMAGE_SYMBOL_0_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for IMAGE_SYMBOL_0_0 { } unsafe impl :: windows :: Abi for IMAGE_SYMBOL_0_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 2 ) ) ] pub struct IMAGE_SYMBOL_EX { pub N : IMAGE_SYMBOL_EX_0 , pub Value : u32 , pub SectionNumber : i32 , pub Type : u16 , pub StorageClass : u8 , pub NumberOfAuxSymbols : u8 } impl IMAGE_SYMBOL_EX { } impl :: std :: cmp :: PartialEq for IMAGE_SYMBOL_EX { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for IMAGE_SYMBOL_EX { } unsafe impl :: windows :: Abi for IMAGE_SYMBOL_EX { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 2 ) ) ] pub union IMAGE_SYMBOL_EX_0 { pub ShortName : [ u8 ;8 ] , pub Name : IMAGE_SYMBOL_EX_0_0 , pub LongName : [ u32 ;2 ] } impl IMAGE_SYMBOL_EX_0 { } impl :: std :: cmp :: PartialEq for IMAGE_SYMBOL_EX_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for IMAGE_SYMBOL_EX_0 { } unsafe impl :: windows :: Abi for IMAGE_SYMBOL_EX_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 2 ) ) ] pub struct IMAGE_SYMBOL_EX_0_0 { pub Short : u32 , pub Long : u32 } impl IMAGE_SYMBOL_EX_0_0 { } impl :: std :: cmp :: PartialEq for IMAGE_SYMBOL_EX_0_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for IMAGE_SYMBOL_EX_0_0 { } unsafe impl :: windows :: Abi for IMAGE_SYMBOL_EX_0_0 { type Abi = Self ; type DefaultType = Self ; } pub const IMAGE_SYM_CLASS_ARGUMENT : u32 = 9u32 ; pub const IMAGE_SYM_CLASS_AUTOMATIC : u32 = 1u32 ; pub const IMAGE_SYM_CLASS_BIT_FIELD : u32 = 18u32 ; pub const IMAGE_SYM_CLASS_BLOCK : u32 = 100u32 ; pub const IMAGE_SYM_CLASS_CLR_TOKEN : u32 = 107u32 ; pub const IMAGE_SYM_CLASS_END_OF_STRUCT : u32 = 102u32 ; pub const IMAGE_SYM_CLASS_ENUM_TAG : u32 = 15u32 ; pub const IMAGE_SYM_CLASS_EXTERNAL : u32 = 2u32 ; pub const IMAGE_SYM_CLASS_EXTERNAL_DEF : u32 = 5u32 ; pub const IMAGE_SYM_CLASS_FAR_EXTERNAL : u32 = 68u32 ; pub const IMAGE_SYM_CLASS_FILE : u32 = 103u32 ; pub const IMAGE_SYM_CLASS_FUNCTION : u32 = 101u32 ; pub const IMAGE_SYM_CLASS_LABEL : u32 = 6u32 ; pub const IMAGE_SYM_CLASS_MEMBER_OF_ENUM : u32 = 16u32 ; pub const IMAGE_SYM_CLASS_MEMBER_OF_STRUCT : u32 = 8u32 ; pub const IMAGE_SYM_CLASS_MEMBER_OF_UNION : u32 = 11u32 ; pub const IMAGE_SYM_CLASS_NULL : u32 = 0u32 ; pub const IMAGE_SYM_CLASS_REGISTER : u32 = 4u32 ; pub const IMAGE_SYM_CLASS_REGISTER_PARAM : u32 = 17u32 ; pub const IMAGE_SYM_CLASS_SECTION : u32 = 104u32 ; pub const IMAGE_SYM_CLASS_STATIC : u32 = 3u32 ; pub const IMAGE_SYM_CLASS_STRUCT_TAG : u32 = 10u32 ; pub const IMAGE_SYM_CLASS_TYPE_DEFINITION : u32 = 13u32 ; pub const IMAGE_SYM_CLASS_UNDEFINED_LABEL : u32 = 7u32 ; pub const IMAGE_SYM_CLASS_UNDEFINED_STATIC : u32 = 14u32 ; pub const IMAGE_SYM_CLASS_UNION_TAG : u32 = 12u32 ; pub const IMAGE_SYM_CLASS_WEAK_EXTERNAL : u32 = 105u32 ; pub const IMAGE_SYM_DTYPE_ARRAY : u32 = 3u32 ; pub const IMAGE_SYM_DTYPE_FUNCTION : u32 = 2u32 ; pub const IMAGE_SYM_DTYPE_NULL : u32 = 0u32 ; pub const IMAGE_SYM_DTYPE_POINTER : u32 = 1u32 ; pub const IMAGE_SYM_SECTION_MAX : u32 = 65279u32 ; pub const IMAGE_SYM_TYPE_BYTE : u32 = 12u32 ; pub const IMAGE_SYM_TYPE_CHAR : u32 = 2u32 ; pub const IMAGE_SYM_TYPE_DOUBLE : u32 = 7u32 ; pub const IMAGE_SYM_TYPE_DWORD : u32 = 15u32 ; pub const IMAGE_SYM_TYPE_ENUM : u32 = 10u32 ; pub const IMAGE_SYM_TYPE_FLOAT : u32 = 6u32 ; pub const IMAGE_SYM_TYPE_INT : u32 = 4u32 ; pub const IMAGE_SYM_TYPE_LONG : u32 = 5u32 ; pub const IMAGE_SYM_TYPE_MOE : u32 = 11u32 ; pub const IMAGE_SYM_TYPE_NULL : u32 = 0u32 ; pub const IMAGE_SYM_TYPE_PCODE : u32 = 32768u32 ; pub const IMAGE_SYM_TYPE_SHORT : u32 = 3u32 ; pub const IMAGE_SYM_TYPE_STRUCT : u32 = 8u32 ; pub const IMAGE_SYM_TYPE_UINT : u32 = 14u32 ; pub const IMAGE_SYM_TYPE_UNION : u32 = 9u32 ; pub const IMAGE_SYM_TYPE_VOID : u32 = 1u32 ; pub const IMAGE_SYM_TYPE_WORD : u32 = 13u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct IMAGE_THUNK_DATA32 { pub u1 : IMAGE_THUNK_DATA32_0 } impl IMAGE_THUNK_DATA32 { } impl :: std :: cmp :: PartialEq for IMAGE_THUNK_DATA32 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for IMAGE_THUNK_DATA32 { } unsafe impl :: windows :: Abi for IMAGE_THUNK_DATA32 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union IMAGE_THUNK_DATA32_0 { pub ForwarderString : u32 , pub Function : u32 , pub Ordinal : u32 , pub AddressOfData : u32 } impl IMAGE_THUNK_DATA32_0 { } impl :: std :: cmp :: PartialEq for IMAGE_THUNK_DATA32_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for IMAGE_THUNK_DATA32_0 { } unsafe impl :: windows :: Abi for IMAGE_THUNK_DATA32_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct IMAGE_THUNK_DATA64 { pub u1 : IMAGE_THUNK_DATA64_0 } impl IMAGE_THUNK_DATA64 { } impl :: std :: cmp :: PartialEq for IMAGE_THUNK_DATA64 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for IMAGE_THUNK_DATA64 { } unsafe impl :: windows :: Abi for IMAGE_THUNK_DATA64 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union IMAGE_THUNK_DATA64_0 { pub ForwarderString : u64 , pub Function : u64 , pub Ordinal : u64 , pub AddressOfData : u64 } impl IMAGE_THUNK_DATA64_0 { } impl :: std :: cmp :: PartialEq for IMAGE_THUNK_DATA64_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for IMAGE_THUNK_DATA64_0 { } unsafe impl :: windows :: Abi for IMAGE_THUNK_DATA64_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct IMAGE_TLS_DIRECTORY32 { pub StartAddressOfRawData : u32 , pub EndAddressOfRawData : u32 , pub AddressOfIndex : u32 , pub AddressOfCallBacks : u32 , pub SizeOfZeroFill : u32 , pub Anonymous : IMAGE_TLS_DIRECTORY32_0 } impl IMAGE_TLS_DIRECTORY32 { } impl :: std :: cmp :: PartialEq for IMAGE_TLS_DIRECTORY32 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for IMAGE_TLS_DIRECTORY32 { } unsafe impl :: windows :: Abi for IMAGE_TLS_DIRECTORY32 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union IMAGE_TLS_DIRECTORY32_0 { pub Characteristics : u32 , pub Anonymous : IMAGE_TLS_DIRECTORY32_0_0 } impl IMAGE_TLS_DIRECTORY32_0 { } impl :: std :: cmp :: PartialEq for IMAGE_TLS_DIRECTORY32_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for IMAGE_TLS_DIRECTORY32_0 { } unsafe impl :: windows :: Abi for IMAGE_TLS_DIRECTORY32_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct IMAGE_TLS_DIRECTORY32_0_0 { pub _bitfield : u32 } impl IMAGE_TLS_DIRECTORY32_0_0 { } impl :: std :: default :: Default for IMAGE_TLS_DIRECTORY32_0_0 { fn default ( ) -> Self { Self { _bitfield : 0 } } } impl :: std :: fmt :: Debug for IMAGE_TLS_DIRECTORY32_0_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Anonymous_e__Struct" ) . field ( "_bitfield" , & self . _bitfield ) . finish ( ) } } impl :: std :: cmp :: PartialEq for IMAGE_TLS_DIRECTORY32_0_0 { fn eq ( & self , other : & Self ) -> bool { self . _bitfield == other . _bitfield } } impl :: std :: cmp :: Eq for IMAGE_TLS_DIRECTORY32_0_0 { } unsafe impl :: windows :: Abi for IMAGE_TLS_DIRECTORY32_0_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 4 ) ) ] pub struct IMAGE_TLS_DIRECTORY64 { pub StartAddressOfRawData : u64 , pub EndAddressOfRawData : u64 , pub AddressOfIndex : u64 , pub AddressOfCallBacks : u64 , pub SizeOfZeroFill : u32 , pub Anonymous : IMAGE_TLS_DIRECTORY64_0 } impl IMAGE_TLS_DIRECTORY64 { } impl :: std :: cmp :: PartialEq for IMAGE_TLS_DIRECTORY64 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for IMAGE_TLS_DIRECTORY64 { } unsafe impl :: windows :: Abi for IMAGE_TLS_DIRECTORY64 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union IMAGE_TLS_DIRECTORY64_0 { pub Characteristics : u32 , pub Anonymous : IMAGE_TLS_DIRECTORY64_0_0 } impl IMAGE_TLS_DIRECTORY64_0 { } impl :: std :: cmp :: PartialEq for IMAGE_TLS_DIRECTORY64_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for IMAGE_TLS_DIRECTORY64_0 { } unsafe impl :: windows :: Abi for IMAGE_TLS_DIRECTORY64_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct IMAGE_TLS_DIRECTORY64_0_0 { pub _bitfield : u32 } impl IMAGE_TLS_DIRECTORY64_0_0 { } impl :: std :: default :: Default for IMAGE_TLS_DIRECTORY64_0_0 { fn default ( ) -> Self { Self { _bitfield : 0 } } } impl :: std :: fmt :: Debug for IMAGE_TLS_DIRECTORY64_0_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Anonymous_e__Struct" ) . field ( "_bitfield" , & self . _bitfield ) . finish ( ) } } impl :: std :: cmp :: PartialEq for IMAGE_TLS_DIRECTORY64_0_0 { fn eq ( & self , other : & Self ) -> bool { self . _bitfield == other . _bitfield } } impl :: std :: cmp :: Eq for IMAGE_TLS_DIRECTORY64_0_0 { } unsafe impl :: windows :: Abi for IMAGE_TLS_DIRECTORY64_0_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 2 ) ) ] pub struct IMAGE_VXD_HEADER { pub e32_magic : u16 , pub e32_border : u8 , pub e32_worder : u8 , pub e32_level : u32 , pub e32_cpu : u16 , pub e32_os : u16 , pub e32_ver : u32 , pub e32_mflags : u32 , pub e32_mpages : u32 , pub e32_startobj : u32 , pub e32_eip : u32 , pub e32_stackobj : u32 , pub e32_esp : u32 , pub e32_pagesize : u32 , pub e32_lastpagesize : u32 , pub e32_fixupsize : u32 , pub e32_fixupsum : u32 , pub e32_ldrsize : u32 , pub e32_ldrsum : u32 , pub e32_objtab : u32 , pub e32_objcnt : u32 , pub e32_objmap : u32 , pub e32_itermap : u32 , pub e32_rsrctab : u32 , pub e32_rsrccnt : u32 , pub e32_restab : u32 , pub e32_enttab : u32 , pub e32_dirtab : u32 , pub e32_dircnt : u32 , pub e32_fpagetab : u32 , pub e32_frectab : u32 , pub e32_impmod : u32 , pub e32_impmodcnt : u32 , pub e32_impproc : u32 , pub e32_pagesum : u32 , pub e32_datapage : u32 , pub e32_preload : u32 , pub e32_nrestab : u32 , pub e32_cbnrestab : u32 , pub e32_nressum : u32 , pub e32_autodata : u32 , pub e32_debuginfo : u32 , pub e32_debuglen : u32 , pub e32_instpreload : u32 , pub e32_instdemand : u32 , pub e32_heapsize : u32 , pub e32_res3 : [ u8 ;12 ] , pub e32_winresoff : u32 , pub e32_winreslen : u32 , pub e32_devid : u16 , pub e32_ddkver : u16 } impl IMAGE_VXD_HEADER { } impl :: std :: cmp :: PartialEq for IMAGE_VXD_HEADER { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for IMAGE_VXD_HEADER { } unsafe impl :: windows :: Abi for IMAGE_VXD_HEADER { type Abi = Self ; type DefaultType = Self ; } pub const IMAGE_VXD_SIGNATURE : u32 = 17740u32 ; pub const IMAGE_WEAK_EXTERN_ANTI_DEPENDENCY : u32 = 4u32 ; pub const IMAGE_WEAK_EXTERN_SEARCH_ALIAS : u32 = 3u32 ; pub const IMAGE_WEAK_EXTERN_SEARCH_LIBRARY : u32 = 2u32 ; pub const IMAGE_WEAK_EXTERN_SEARCH_NOLIBRARY : u32 = 1u32 ; pub const IMPORT_OBJECT_HDR_SIG2 : u32 = 65535u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct IMPORT_OBJECT_HEADER { pub Sig1 : u16 , pub Sig2 : u16 , pub Version : u16 , pub Machine : u16 , pub TimeDateStamp : u32 , pub SizeOfData : u32 , pub Anonymous : IMPORT_OBJECT_HEADER_0 , pub _bitfield : u16 } impl IMPORT_OBJECT_HEADER { } impl :: std :: cmp :: PartialEq for IMPORT_OBJECT_HEADER { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for IMPORT_OBJECT_HEADER { } unsafe impl :: windows :: Abi for IMPORT_OBJECT_HEADER { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union IMPORT_OBJECT_HEADER_0 { pub Ordinal : u16 , pub Hint : u16 } impl IMPORT_OBJECT_HEADER_0 { } impl :: std :: cmp :: PartialEq for IMPORT_OBJECT_HEADER_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for IMPORT_OBJECT_HEADER_0 { } unsafe impl :: windows :: Abi for IMPORT_OBJECT_HEADER_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct IMPORT_OBJECT_NAME_TYPE ( pub i32 ) ; pub const IMPORT_OBJECT_ORDINAL : IMPORT_OBJECT_NAME_TYPE = IMPORT_OBJECT_NAME_TYPE ( 0i32 ) ; pub const IMPORT_OBJECT_NAME : IMPORT_OBJECT_NAME_TYPE = IMPORT_OBJECT_NAME_TYPE ( 1i32 ) ; pub const IMPORT_OBJECT_NAME_NO_PREFIX : IMPORT_OBJECT_NAME_TYPE = IMPORT_OBJECT_NAME_TYPE ( 2i32 ) ; pub const IMPORT_OBJECT_NAME_UNDECORATE : IMPORT_OBJECT_NAME_TYPE = IMPORT_OBJECT_NAME_TYPE ( 3i32 ) ; pub const IMPORT_OBJECT_NAME_EXPORTAS : IMPORT_OBJECT_NAME_TYPE = IMPORT_OBJECT_NAME_TYPE ( 4i32 ) ; impl :: std :: convert :: From < i32 > for IMPORT_OBJECT_NAME_TYPE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for IMPORT_OBJECT_NAME_TYPE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct IMPORT_OBJECT_TYPE ( pub i32 ) ; pub const IMPORT_OBJECT_CODE : IMPORT_OBJECT_TYPE = IMPORT_OBJECT_TYPE ( 0i32 ) ; pub const IMPORT_OBJECT_DATA : IMPORT_OBJECT_TYPE = IMPORT_OBJECT_TYPE ( 1i32 ) ; pub const IMPORT_OBJECT_CONST : IMPORT_OBJECT_TYPE = IMPORT_OBJECT_TYPE ( 2i32 ) ; impl :: std :: convert :: From < i32 > for IMPORT_OBJECT_TYPE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for IMPORT_OBJECT_TYPE { type Abi = Self ; type DefaultType = Self ; } pub const INDEX_DrvAccumulateD3DDirtyRect : i32 = 98i32 ; pub const INDEX_DrvAlphaBlend : i32 = 71i32 ; pub const INDEX_DrvAssertMode : i32 = 5i32 ; pub const INDEX_DrvAssociateSharedSurface : i32 = 96i32 ; pub const INDEX_DrvBitBlt : i32 = 18i32 ; pub const INDEX_DrvCompletePDEV : i32 = 1i32 ; pub const INDEX_DrvCopyBits : i32 = 19i32 ; pub const INDEX_DrvCreateDeviceBitmap : i32 = 10i32 ; pub const INDEX_DrvCreateDeviceBitmapEx : i32 = 94i32 ; pub const INDEX_DrvDeleteDeviceBitmap : i32 = 11i32 ; pub const INDEX_DrvDeleteDeviceBitmapEx : i32 = 95i32 ; pub const INDEX_DrvDeriveSurface : i32 = 85i32 ; pub const INDEX_DrvDescribePixelFormat : i32 = 55i32 ; pub const INDEX_DrvDestroyFont : i32 = 43i32 ; pub const INDEX_DrvDisableDirectDraw : i32 = 61i32 ; pub const INDEX_DrvDisableDriver : i32 = 8i32 ; pub const INDEX_DrvDisablePDEV : i32 = 2i32 ; pub const INDEX_DrvDisableSurface : i32 = 4i32 ; pub const INDEX_DrvDitherColor : i32 = 13i32 ; pub const INDEX_DrvDrawEscape : i32 = 25i32 ; pub const INDEX_DrvEnableDirectDraw : i32 = 60i32 ; pub const INDEX_DrvEnablePDEV : i32 = 0i32 ; pub const INDEX_DrvEnableSurface : i32 = 3i32 ; pub const INDEX_DrvEndDoc : i32 = 34i32 ; pub const INDEX_DrvEndDxInterop : i32 = 100i32 ; pub const INDEX_DrvEscape : i32 = 24i32 ; pub const INDEX_DrvFillPath : i32 = 15i32 ; pub const INDEX_DrvFontManagement : i32 = 47i32 ; pub const INDEX_DrvFree : i32 = 42i32 ; pub const INDEX_DrvGetDirectDrawInfo : i32 = 59i32 ; pub const INDEX_DrvGetGlyphMode : i32 = 37i32 ; pub const INDEX_DrvGetModes : i32 = 41i32 ; pub const INDEX_DrvGetSynthesizedFontFiles : i32 = 73i32 ; pub const INDEX_DrvGetTrueTypeFile : i32 = 50i32 ; pub const INDEX_DrvGradientFill : i32 = 68i32 ; pub const INDEX_DrvIcmCheckBitmapBits : i32 = 66i32 ; pub const INDEX_DrvIcmCreateColorTransform : i32 = 64i32 ; pub const INDEX_DrvIcmDeleteColorTransform : i32 = 65i32 ; pub const INDEX_DrvIcmSetDeviceGammaRamp : i32 = 67i32 ; pub const INDEX_DrvLineTo : i32 = 31i32 ; pub const INDEX_DrvLoadFontFile : i32 = 45i32 ; pub const INDEX_DrvLockDisplayArea : i32 = 101i32 ; pub const INDEX_DrvMovePanning : i32 = 52i32 ; pub const INDEX_DrvMovePointer : i32 = 30i32 ; pub const INDEX_DrvNextBand : i32 = 58i32 ; pub const INDEX_DrvNotify : i32 = 87i32 ; pub const INDEX_DrvOffset : i32 = 6i32 ; pub const INDEX_DrvPaint : i32 = 17i32 ; pub const INDEX_DrvPlgBlt : i32 = 70i32 ; pub const INDEX_DrvQueryAdvanceWidths : i32 = 53i32 ; pub const INDEX_DrvQueryDeviceSupport : i32 = 76i32 ; pub const INDEX_DrvQueryFont : i32 = 26i32 ; pub const INDEX_DrvQueryFontCaps : i32 = 44i32 ; pub const INDEX_DrvQueryFontData : i32 = 28i32 ; pub const INDEX_DrvQueryFontFile : i32 = 51i32 ; pub const INDEX_DrvQueryFontTree : i32 = 27i32 ; pub const INDEX_DrvQueryGlyphAttrs : i32 = 86i32 ; pub const INDEX_DrvQueryPerBandInfo : i32 = 75i32 ; pub const INDEX_DrvQuerySpoolType : i32 = 62i32 ; pub const INDEX_DrvQueryTrueTypeOutline : i32 = 49i32 ; pub const INDEX_DrvQueryTrueTypeTable : i32 = 48i32 ; pub const INDEX_DrvRealizeBrush : i32 = 12i32 ; pub const INDEX_DrvRenderHint : i32 = 93i32 ; pub const INDEX_DrvReserved1 : i32 = 77i32 ; pub const INDEX_DrvReserved10 : i32 = 91i32 ; pub const INDEX_DrvReserved11 : i32 = 92i32 ; pub const INDEX_DrvReserved2 : i32 = 78i32 ; pub const INDEX_DrvReserved3 : i32 = 79i32 ; pub const INDEX_DrvReserved4 : i32 = 80i32 ; pub const INDEX_DrvReserved5 : i32 = 81i32 ; pub const INDEX_DrvReserved6 : i32 = 82i32 ; pub const INDEX_DrvReserved7 : i32 = 83i32 ; pub const INDEX_DrvReserved8 : i32 = 84i32 ; pub const INDEX_DrvReserved9 : i32 = 90i32 ; pub const INDEX_DrvResetDevice : i32 = 89i32 ; pub const INDEX_DrvResetPDEV : i32 = 7i32 ; pub const INDEX_DrvSaveScreenBits : i32 = 40i32 ; pub const INDEX_DrvSendPage : i32 = 32i32 ; pub const INDEX_DrvSetPalette : i32 = 22i32 ; pub const INDEX_DrvSetPixelFormat : i32 = 54i32 ; pub const INDEX_DrvSetPointerShape : i32 = 29i32 ; pub const INDEX_DrvStartBanding : i32 = 57i32 ; pub const INDEX_DrvStartDoc : i32 = 35i32 ; pub const INDEX_DrvStartDxInterop : i32 = 99i32 ; pub const INDEX_DrvStartPage : i32 = 33i32 ; pub const INDEX_DrvStretchBlt : i32 = 20i32 ; pub const INDEX_DrvStretchBltROP : i32 = 69i32 ; pub const INDEX_DrvStrokeAndFillPath : i32 = 16i32 ; pub const INDEX_DrvStrokePath : i32 = 14i32 ; pub const INDEX_DrvSurfaceComplete : i32 = 103i32 ; pub const INDEX_DrvSwapBuffers : i32 = 56i32 ; pub const INDEX_DrvSynchronize : i32 = 38i32 ; pub const INDEX_DrvSynchronizeRedirectionBitmaps : i32 = 97i32 ; pub const INDEX_DrvSynchronizeSurface : i32 = 88i32 ; pub const INDEX_DrvSynthesizeFont : i32 = 72i32 ; pub const INDEX_DrvTextOut : i32 = 23i32 ; pub const INDEX_DrvTransparentBlt : i32 = 74i32 ; pub const INDEX_DrvUnloadFontFile : i32 = 46i32 ; pub const INDEX_DrvUnlockDisplayArea : i32 = 102i32 ; pub const INDEX_LAST : i32 = 89i32 ; pub const INITIAL_CPSR : u32 = 16u32 ; pub const INITIAL_FPCSR : u32 = 639u32 ; pub const INITIAL_FPSCR : u32 = 0u32 ; pub const INITIAL_MXCSR : u32 = 8064u32 ; pub const IOCTL_CHANGER_BASE : u32 = 48u32 ; pub const IOCTL_CHANGER_EXCHANGE_MEDIUM : u32 = 3162144u32 ; pub const IOCTL_CHANGER_GET_ELEMENT_STATUS : u32 = 3194900u32 ; pub const IOCTL_CHANGER_GET_PARAMETERS : u32 = 3162112u32 ; pub const IOCTL_CHANGER_GET_PRODUCT_DATA : u32 = 3162120u32 ; pub const IOCTL_CHANGER_GET_STATUS : u32 = 3162116u32 ; pub const IOCTL_CHANGER_INITIALIZE_ELEMENT_STATUS : u32 = 3162136u32 ; pub const IOCTL_CHANGER_MOVE_MEDIUM : u32 = 3162148u32 ; pub const IOCTL_CHANGER_QUERY_VOLUME_TAGS : u32 = 3194924u32 ; pub const IOCTL_CHANGER_REINITIALIZE_TRANSPORT : u32 = 3162152u32 ; pub const IOCTL_CHANGER_SET_ACCESS : u32 = 3194896u32 ; pub const IOCTL_CHANGER_SET_POSITION : u32 = 3162140u32 ; pub const IOCTL_DISK_BASE : u32 = 7u32 ; pub const IOCTL_DISK_CHECK_VERIFY : u32 = 477184u32 ; pub const IOCTL_DISK_CONTROLLER_NUMBER : u32 = 458820u32 ; pub const IOCTL_DISK_CREATE_DISK : u32 = 507992u32 ; pub const IOCTL_DISK_DELETE_DRIVE_LAYOUT : u32 = 508160u32 ; pub const IOCTL_DISK_EJECT_MEDIA : u32 = 477192u32 ; pub const IOCTL_DISK_FIND_NEW_DEVICES : u32 = 477208u32 ; pub const IOCTL_DISK_FORMAT_DRIVE : u32 = 508876u32 ; pub const IOCTL_DISK_FORMAT_TRACKS : u32 = 507928u32 ; pub const IOCTL_DISK_FORMAT_TRACKS_EX : u32 = 507948u32 ; pub const IOCTL_DISK_GET_CACHE_INFORMATION : u32 = 475348u32 ; pub const IOCTL_DISK_GET_DISK_ATTRIBUTES : u32 = 458992u32 ; pub const IOCTL_DISK_GET_DRIVE_GEOMETRY : u32 = 458752u32 ; pub const IOCTL_DISK_GET_DRIVE_GEOMETRY_EX : u32 = 458912u32 ; pub const IOCTL_DISK_GET_DRIVE_LAYOUT : u32 = 475148u32 ; pub const IOCTL_DISK_GET_DRIVE_LAYOUT_EX : u32 = 458832u32 ; pub const IOCTL_DISK_GET_LENGTH_INFO : u32 = 475228u32 ; pub const IOCTL_DISK_GET_MEDIA_TYPES : u32 = 461824u32 ; pub const IOCTL_DISK_GET_PARTITION_INFO : u32 = 475140u32 ; pub const IOCTL_DISK_GET_PARTITION_INFO_EX : u32 = 458824u32 ; pub const IOCTL_DISK_GET_WRITE_CACHE_STATE : u32 = 475356u32 ; pub const IOCTL_DISK_GROW_PARTITION : u32 = 508112u32 ; pub const IOCTL_DISK_HISTOGRAM_DATA : u32 = 458804u32 ; pub const IOCTL_DISK_HISTOGRAM_RESET : u32 = 458808u32 ; pub const IOCTL_DISK_HISTOGRAM_STRUCTURE : u32 = 458800u32 ; pub const IOCTL_DISK_IS_WRITABLE : u32 = 458788u32 ; pub const IOCTL_DISK_LOAD_MEDIA : u32 = 477196u32 ; pub const IOCTL_DISK_LOGGING : u32 = 458792u32 ; pub const IOCTL_DISK_MEDIA_REMOVAL : u32 = 477188u32 ; pub const IOCTL_DISK_PERFORMANCE : u32 = 458784u32 ; pub const IOCTL_DISK_PERFORMANCE_OFF : u32 = 458848u32 ; pub const IOCTL_DISK_REASSIGN_BLOCKS : u32 = 507932u32 ; pub const IOCTL_DISK_REASSIGN_BLOCKS_EX : u32 = 508068u32 ; pub const IOCTL_DISK_RELEASE : u32 = 477204u32 ; pub const IOCTL_DISK_REQUEST_DATA : u32 = 458816u32 ; pub const IOCTL_DISK_REQUEST_STRUCTURE : u32 = 458812u32 ; pub const IOCTL_DISK_RESERVE : u32 = 477200u32 ; pub const IOCTL_DISK_RESET_SNAPSHOT_INFO : u32 = 508432u32 ; pub const IOCTL_DISK_SENSE_DEVICE : u32 = 459744u32 ; pub const IOCTL_DISK_SET_CACHE_INFORMATION : u32 = 508120u32 ; pub const IOCTL_DISK_SET_DISK_ATTRIBUTES : u32 = 508148u32 ; pub const IOCTL_DISK_SET_DRIVE_LAYOUT : u32 = 507920u32 ; pub const IOCTL_DISK_SET_DRIVE_LAYOUT_EX : u32 = 507988u32 ; pub const IOCTL_DISK_SET_PARTITION_INFO : u32 = 507912u32 ; pub const IOCTL_DISK_SET_PARTITION_INFO_EX : u32 = 507980u32 ; pub const IOCTL_DISK_UPDATE_DRIVE_SIZE : u32 = 508104u32 ; pub const IOCTL_DISK_UPDATE_PROPERTIES : u32 = 459072u32 ; pub const IOCTL_DISK_VERIFY : u32 = 458772u32 ; pub const IOCTL_SCMBUS_BASE : u32 = 89u32 ; pub const IOCTL_SCMBUS_DEVICE_FUNCTION_BASE : u32 = 0u32 ; pub const IOCTL_SCM_BUS_GET_LOGICAL_DEVICES : u32 = 5832704u32 ; pub const IOCTL_SCM_BUS_GET_PHYSICAL_DEVICES : u32 = 5832708u32 ; pub const IOCTL_SCM_BUS_GET_REGIONS : u32 = 5832712u32 ; pub const IOCTL_SCM_LD_GET_INTERLEAVE_SET : u32 = 5835776u32 ; pub const IOCTL_SCM_LOGICAL_DEVICE_FUNCTION_BASE : u32 = 768u32 ; pub const IOCTL_SCM_PD_FIRMWARE_ACTIVATE : u32 = 5871624u32 ; pub const IOCTL_SCM_PD_FIRMWARE_DOWNLOAD : u32 = 5871620u32 ; pub const IOCTL_SCM_PD_PASSTHROUGH : u32 = 5888012u32 ; pub const IOCTL_SCM_PD_QUERY_PROPERTY : u32 = 5838848u32 ; pub const IOCTL_SCM_PD_REINITIALIZE_MEDIA : u32 = 5871636u32 ; pub const IOCTL_SCM_PD_UPDATE_MANAGEMENT_STATUS : u32 = 5838864u32 ; pub const IOCTL_SCM_PHYSICAL_DEVICE_FUNCTION_BASE : u32 = 1536u32 ; pub const IOCTL_SERENUM_EXPOSE_HARDWARE : u32 = 3604992u32 ; pub const IOCTL_SERENUM_GET_PORT_NAME : u32 = 3605004u32 ; pub const IOCTL_SERENUM_PORT_DESC : u32 = 3605000u32 ; pub const IOCTL_SERENUM_REMOVE_HARDWARE : u32 = 3604996u32 ; pub const IOCTL_SERIAL_LSRMST_INSERT : u32 = 1769596u32 ; pub const IOCTL_STORAGE_ALLOCATE_BC_STREAM : u32 = 3004420u32 ; pub const IOCTL_STORAGE_ATTRIBUTE_MANAGEMENT : u32 = 3005596u32 ; pub const IOCTL_STORAGE_BASE : u32 = 45u32 ; pub const IOCTL_STORAGE_BC_VERSION : u32 = 1u32 ; pub const IOCTL_STORAGE_BREAK_RESERVATION : u32 = 2969620u32 ; pub const IOCTL_STORAGE_CHECK_PRIORITY_HINT_SUPPORT : u32 = 2955392u32 ; pub const IOCTL_STORAGE_CHECK_VERIFY : u32 = 2967552u32 ; pub const IOCTL_STORAGE_CHECK_VERIFY2 : u32 = 2951168u32 ; pub const IOCTL_STORAGE_DEVICE_POWER_CAP : u32 = 2956436u32 ; pub const IOCTL_STORAGE_DEVICE_TELEMETRY_NOTIFY : u32 = 3002820u32 ; pub const IOCTL_STORAGE_DEVICE_TELEMETRY_QUERY_CAPS : u32 = 3002824u32 ; pub const IOCTL_STORAGE_DIAGNOSTIC : u32 = 2956448u32 ; pub const IOCTL_STORAGE_EJECTION_CONTROL : u32 = 2951488u32 ; pub const IOCTL_STORAGE_EJECT_MEDIA : u32 = 2967560u32 ; pub const IOCTL_STORAGE_ENABLE_IDLE_POWER : u32 = 2956416u32 ; pub const IOCTL_STORAGE_EVENT_NOTIFICATION : u32 = 2956432u32 ; pub const IOCTL_STORAGE_FAILURE_PREDICTION_CONFIG : u32 = 2953476u32 ; pub const IOCTL_STORAGE_FIND_NEW_DEVICES : u32 = 2967576u32 ; pub const IOCTL_STORAGE_FIRMWARE_ACTIVATE : u32 = 3005448u32 ; pub const IOCTL_STORAGE_FIRMWARE_DOWNLOAD : u32 = 3005444u32 ; pub const IOCTL_STORAGE_FIRMWARE_GET_INFO : u32 = 2956288u32 ; pub const IOCTL_STORAGE_FREE_BC_STREAM : u32 = 3004424u32 ; pub const IOCTL_STORAGE_GET_BC_PROPERTIES : u32 = 2971648u32 ; pub const IOCTL_STORAGE_GET_COUNTERS : u32 = 2953480u32 ; pub const IOCTL_STORAGE_GET_DEVICE_INTERNAL_LOG : u32 = 2956484u32 ; pub const IOCTL_STORAGE_GET_DEVICE_NUMBER : u32 = 2953344u32 ; pub const IOCTL_STORAGE_GET_DEVICE_NUMBER_EX : u32 = 2953348u32 ; pub const IOCTL_STORAGE_GET_DEVICE_TELEMETRY : u32 = 3002816u32 ; pub const IOCTL_STORAGE_GET_DEVICE_TELEMETRY_RAW : u32 = 3002828u32 ; pub const IOCTL_STORAGE_GET_HOTPLUG_INFO : u32 = 2952212u32 ; pub const IOCTL_STORAGE_GET_IDLE_POWERUP_REASON : u32 = 2956420u32 ; pub const IOCTL_STORAGE_GET_LB_PROVISIONING_MAP_RESOURCES : u32 = 2970632u32 ; pub const IOCTL_STORAGE_GET_MEDIA_SERIAL_NUMBER : u32 = 2952208u32 ; pub const IOCTL_STORAGE_GET_MEDIA_TYPES : u32 = 2952192u32 ; pub const IOCTL_STORAGE_GET_MEDIA_TYPES_EX : u32 = 2952196u32 ; pub const IOCTL_STORAGE_GET_PHYSICAL_ELEMENT_STATUS : u32 = 2956452u32 ; pub const IOCTL_STORAGE_LOAD_MEDIA : u32 = 2967564u32 ; pub const IOCTL_STORAGE_LOAD_MEDIA2 : u32 = 2951180u32 ; pub const IOCTL_STORAGE_MANAGE_DATA_SET_ATTRIBUTES : u32 = 2987012u32 ; pub const IOCTL_STORAGE_MCN_CONTROL : u32 = 2951492u32 ; pub const IOCTL_STORAGE_MEDIA_REMOVAL : u32 = 2967556u32 ; pub const IOCTL_STORAGE_PERSISTENT_RESERVE_IN : u32 = 2969624u32 ; pub const IOCTL_STORAGE_PERSISTENT_RESERVE_OUT : u32 = 3002396u32 ; pub const IOCTL_STORAGE_POWER_ACTIVE : u32 = 2956424u32 ; pub const IOCTL_STORAGE_POWER_IDLE : u32 = 2956428u32 ; pub const IOCTL_STORAGE_PREDICT_FAILURE : u32 = 2953472u32 ; pub const IOCTL_STORAGE_PROTOCOL_COMMAND : u32 = 3003328u32 ; pub const IOCTL_STORAGE_QUERY_PROPERTY : u32 = 2954240u32 ; pub const IOCTL_STORAGE_READ_CAPACITY : u32 = 2969920u32 ; pub const IOCTL_STORAGE_REINITIALIZE_MEDIA : u32 = 2987584u32 ; pub const IOCTL_STORAGE_RELEASE : u32 = 2967572u32 ; pub const IOCTL_STORAGE_REMOVE_ELEMENT_AND_TRUNCATE : u32 = 2956480u32 ; pub const IOCTL_STORAGE_RESERVE : u32 = 2967568u32 ; pub const IOCTL_STORAGE_RESET_BUS : u32 = 2969600u32 ; pub const IOCTL_STORAGE_RESET_DEVICE : u32 = 2969604u32 ; pub const IOCTL_STORAGE_RPMB_COMMAND : u32 = 2956440u32 ; pub const IOCTL_STORAGE_SET_HOTPLUG_INFO : u32 = 3001368u32 ; pub const IOCTL_STORAGE_SET_PROPERTY : u32 = 2987020u32 ; pub const IOCTL_STORAGE_SET_TEMPERATURE_THRESHOLD : u32 = 3002880u32 ; pub const IOCTL_STORAGE_START_DATA_INTEGRITY_CHECK : u32 = 3004548u32 ; pub const IOCTL_STORAGE_STOP_DATA_INTEGRITY_CHECK : u32 = 3004552u32 ; pub const IOCTL_VOLUME_BASE : u32 = 86u32 ; pub const IOCTL_VOLUME_GET_GPT_ATTRIBUTES : u32 = 5636152u32 ; pub const IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS : u32 = 5636096u32 ; pub const IOCTL_VOLUME_IS_CLUSTERED : u32 = 5636144u32 ; pub const IOCTL_VOLUME_OFFLINE : u32 = 5685260u32 ; pub const IOCTL_VOLUME_ONLINE : u32 = 5685256u32 ; pub const IO_COMPLETION_MODIFY_STATE : u32 = 2u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct IO_COUNTERS { pub ReadOperationCount : u64 , pub WriteOperationCount : u64 , pub OtherOperationCount : u64 , pub ReadTransferCount : u64 , pub WriteTransferCount : u64 , pub OtherTransferCount : u64 } impl IO_COUNTERS { } impl :: std :: default :: Default for IO_COUNTERS { fn default ( ) -> Self { Self { ReadOperationCount : 0 , WriteOperationCount : 0 , OtherOperationCount : 0 , ReadTransferCount : 0 , WriteTransferCount : 0 , OtherTransferCount : 0 } } } impl :: std :: fmt :: Debug for IO_COUNTERS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "IO_COUNTERS" ) . field ( "ReadOperationCount" , & self . ReadOperationCount ) . field ( "WriteOperationCount" , & self . WriteOperationCount ) . field ( "OtherOperationCount" , & self . OtherOperationCount ) . field ( "ReadTransferCount" , & self . ReadTransferCount ) . field ( "WriteTransferCount" , & self . WriteTransferCount ) . field ( "OtherTransferCount" , & self . OtherTransferCount ) . finish ( ) } } impl :: std :: cmp :: PartialEq for IO_COUNTERS { fn eq ( & self , other : & Self ) -> bool { self . ReadOperationCount == other . ReadOperationCount && self . WriteOperationCount == other . WriteOperationCount && self . OtherOperationCount == other . OtherOperationCount && self . ReadTransferCount == other . ReadTransferCount && self . WriteTransferCount == other . WriteTransferCount && self . OtherTransferCount == other . OtherTransferCount } } impl :: std :: cmp :: Eq for IO_COUNTERS { } unsafe impl :: windows :: Abi for IO_COUNTERS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone ) ] # [ repr ( C ) ] pub struct IO_IRP_EXT_TRACK_OFFSET_HEADER { pub Validation : u16 , pub Flags : u16 , pub TrackedOffsetCallback : :: std :: option :: Option < PIO_IRP_EXT_PROCESS_TRACKED_OFFSET_CALLBACK > } impl IO_IRP_EXT_TRACK_OFFSET_HEADER { } impl :: std :: default :: Default for IO_IRP_EXT_TRACK_OFFSET_HEADER { fn default ( ) -> Self { Self { Validation : 0 , Flags : 0 , TrackedOffsetCallback : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for IO_IRP_EXT_TRACK_OFFSET_HEADER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "IO_IRP_EXT_TRACK_OFFSET_HEADER" ) . field ( "Validation" , & self . Validation ) . field ( "Flags" , & self . Flags ) . finish ( ) } } impl :: std :: cmp :: PartialEq for IO_IRP_EXT_TRACK_OFFSET_HEADER { fn eq ( & self , other : & Self ) -> bool { self . Validation == other . Validation && self . Flags == other . Flags && self . TrackedOffsetCallback . map ( | f | f as usize ) == other . TrackedOffsetCallback . map ( | f | f as usize ) } } impl :: std :: cmp :: Eq for IO_IRP_EXT_TRACK_OFFSET_HEADER { } # [ repr ( C ) ] # [ doc ( hidden ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct IO_IRP_EXT_TRACK_OFFSET_HEADER_abi { pub Validation : u16 , pub Flags : u16 , pub TrackedOffsetCallback : :: windows :: RawPtr } unsafe impl :: windows :: Abi for IO_IRP_EXT_TRACK_OFFSET_HEADER { type Abi = IO_IRP_EXT_TRACK_OFFSET_HEADER_abi ; type DefaultType = Self ; } pub const IO_REPARSE_TAG_AF_UNIX : i32 = -2147483613i32 ; pub const IO_REPARSE_TAG_APPEXECLINK : i32 = -2147483621i32 ; pub const IO_REPARSE_TAG_CLOUD : i32 = -1879048166i32 ; pub const IO_REPARSE_TAG_CLOUD_1 : i32 = -1879044070i32 ; pub const IO_REPARSE_TAG_CLOUD_2 : i32 = -1879039974i32 ; pub const IO_REPARSE_TAG_CLOUD_3 : i32 = -1879035878i32 ; pub const IO_REPARSE_TAG_CLOUD_4 : i32 = -1879031782i32 ; pub const IO_REPARSE_TAG_CLOUD_5 : i32 = -1879027686i32 ; pub const IO_REPARSE_TAG_CLOUD_6 : i32 = -1879023590i32 ; pub const IO_REPARSE_TAG_CLOUD_7 : i32 = -1879019494i32 ; pub const IO_REPARSE_TAG_CLOUD_8 : i32 = -1879015398i32 ; pub const IO_REPARSE_TAG_CLOUD_9 : i32 = -1879011302i32 ; pub const IO_REPARSE_TAG_CLOUD_A : i32 = -1879007206i32 ; pub const IO_REPARSE_TAG_CLOUD_B : i32 = -1879003110i32 ; pub const IO_REPARSE_TAG_CLOUD_C : i32 = -1878999014i32 ; pub const IO_REPARSE_TAG_CLOUD_D : i32 = -1878994918i32 ; pub const IO_REPARSE_TAG_CLOUD_E : i32 = -1878990822i32 ; pub const IO_REPARSE_TAG_CLOUD_F : i32 = -1878986726i32 ; pub const IO_REPARSE_TAG_CLOUD_MASK : i32 = 61440i32 ; pub const IO_REPARSE_TAG_CSV : i32 = -2147483639i32 ; pub const IO_REPARSE_TAG_DEDUP : i32 = -2147483629i32 ; pub const IO_REPARSE_TAG_DFS : i32 = -2147483638i32 ; pub const IO_REPARSE_TAG_DFSR : i32 = -2147483630i32 ; pub const IO_REPARSE_TAG_FILE_PLACEHOLDER : i32 = -2147483627i32 ; pub const IO_REPARSE_TAG_GLOBAL_REPARSE : i32 = -1610612711i32 ; pub const IO_REPARSE_TAG_HSM : i32 = -1073741820i32 ; pub const IO_REPARSE_TAG_HSM2 : i32 = -2147483642i32 ; pub const IO_REPARSE_TAG_MOUNT_POINT : i32 = -1610612733i32 ; pub const IO_REPARSE_TAG_NFS : i32 = -2147483628i32 ; pub const IO_REPARSE_TAG_ONEDRIVE : i32 = -2147483615i32 ; pub const IO_REPARSE_TAG_PROJFS : i32 = -1879048164i32 ; pub const IO_REPARSE_TAG_PROJFS_TOMBSTONE : i32 = -1610612702i32 ; pub const IO_REPARSE_TAG_RESERVED_ONE : u32 = 1u32 ; pub const IO_REPARSE_TAG_RESERVED_TWO : u32 = 2u32 ; pub const IO_REPARSE_TAG_RESERVED_ZERO : u32 = 0u32 ; pub const IO_REPARSE_TAG_SIS : i32 = -2147483641i32 ; pub const IO_REPARSE_TAG_STORAGE_SYNC : i32 = -2147483618i32 ; pub const IO_REPARSE_TAG_SYMLINK : i32 = -1610612724i32 ; pub const IO_REPARSE_TAG_UNHANDLED : i32 = -2147483616i32 ; pub const IO_REPARSE_TAG_WCI : i32 = -2147483624i32 ; pub const IO_REPARSE_TAG_WCI_1 : i32 = -1879044072i32 ; pub const IO_REPARSE_TAG_WCI_LINK : i32 = -1610612697i32 ; pub const IO_REPARSE_TAG_WCI_LINK_1 : i32 = -1610608601i32 ; pub const IO_REPARSE_TAG_WCI_TOMBSTONE : i32 = -1610612705i32 ; pub const IO_REPARSE_TAG_WIM : i32 = -2147483640i32 ; pub const IO_REPARSE_TAG_WOF : i32 = -2147483625i32 ; pub const IS_TEXT_UNICODE_DBCS_LEADBYTE : u32 = 1024u32 ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IServiceProvider ( :: windows :: IUnknown ) ; impl IServiceProvider { pub unsafe fn QueryService < T : :: windows :: Interface > ( & self , guidservice : * const :: windows :: Guid , ) -> :: windows :: Result < T > { let mut result__ = :: std :: option :: Option :: None ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( guidservice ) , & < T as :: windows :: Interface > :: IID , :: windows :: Abi :: set_abi ( & mut result__ ) ) . and_some ( result__ ) } } unsafe impl :: windows :: Interface for IServiceProvider { type Vtable = IServiceProvider_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 1834041537 ,29750 ,4558 , [ 128 ,52 ,0 ,170 ,0 ,96 ,9 ,250 ] , ) ; } impl :: std :: convert :: From < IServiceProvider > for :: windows :: IUnknown { fn from ( value : IServiceProvider ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IServiceProvider > for :: windows :: IUnknown { fn from ( value : & IServiceProvider ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IServiceProvider { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: IUnknown > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < :: windows :: IUnknown > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for & 'a IServiceProvider { fn into_param ( self ) -> :: windows :: Param < 'a , :: windows :: IUnknown > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < :: windows :: IUnknown > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IServiceProvider_abi ( pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iid : & :: windows :: Guid , interface : * mut :: windows :: RawPtr ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr ) -> u32 , pub unsafe extern "system" fn ( this : :: windows :: RawPtr ) -> u32 , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , guidservice : * const :: windows :: Guid , riid : * const :: windows :: Guid , ppvobject : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: HRESULT , ) ; pub unsafe fn I_RpcNsGetBuffer < > ( message : * mut super::Rpc:: RPC_MESSAGE , ) -> super::Rpc:: RPC_STATUS { # [ cfg ( windows ) ] { # [ link ( name ="RPCNS4" ) ] extern "system" { fn I_RpcNsGetBuffer ( message : * mut super::Rpc:: RPC_MESSAGE ) -> super::Rpc:: RPC_STATUS ; } I_RpcNsGetBuffer ( :: std :: mem :: transmute ( message ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn I_RpcNsRaiseException < > ( message : * mut super::Rpc:: RPC_MESSAGE , status : super::Rpc:: RPC_STATUS , ) { # [ cfg ( windows ) ] { # [ link ( name ="RPCNS4" ) ] extern "system" { fn I_RpcNsRaiseException ( message : * mut super::Rpc:: RPC_MESSAGE , status : super::Rpc:: RPC_STATUS ) ; } I_RpcNsRaiseException ( :: std :: mem :: transmute ( message ) , :: std :: mem :: transmute ( status ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn I_RpcNsSendReceive < > ( message : * mut super::Rpc:: RPC_MESSAGE , handle : * mut * mut :: std :: ffi :: c_void , ) -> super::Rpc:: RPC_STATUS { # [ cfg ( windows ) ] { # [ link ( name ="RPCNS4" ) ] extern "system" { fn I_RpcNsSendReceive ( message : * mut super::Rpc:: RPC_MESSAGE , handle : * mut * mut :: std :: ffi :: c_void ) -> super::Rpc:: RPC_STATUS ; } I_RpcNsSendReceive ( :: std :: mem :: transmute ( message ) , :: std :: mem :: transmute ( handle ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn I_RpcReBindBuffer < > ( message : * mut super::Rpc:: RPC_MESSAGE , ) -> super::Rpc:: RPC_STATUS { # [ cfg ( windows ) ] { # [ link ( name ="RPCNS4" ) ] extern "system" { fn I_RpcReBindBuffer ( message : * mut super::Rpc:: RPC_MESSAGE ) -> super::Rpc:: RPC_STATUS ; } I_RpcReBindBuffer ( :: std :: mem :: transmute ( message ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct JOBOBJECTINFOCLASS ( pub i32 ) ; pub const JobObjectBasicAccountingInformation : JOBOBJECTINFOCLASS = JOBOBJECTINFOCLASS ( 1i32 ) ; pub const JobObjectBasicLimitInformation : JOBOBJECTINFOCLASS = JOBOBJECTINFOCLASS ( 2i32 ) ; pub const JobObjectBasicProcessIdList : JOBOBJECTINFOCLASS = JOBOBJECTINFOCLASS ( 3i32 ) ; pub const JobObjectBasicUIRestrictions : JOBOBJECTINFOCLASS = JOBOBJECTINFOCLASS ( 4i32 ) ; pub const JobObjectSecurityLimitInformation : JOBOBJECTINFOCLASS = JOBOBJECTINFOCLASS ( 5i32 ) ; pub const JobObjectEndOfJobTimeInformation : JOBOBJECTINFOCLASS = JOBOBJECTINFOCLASS ( 6i32 ) ; pub const JobObjectAssociateCompletionPortInformation : JOBOBJECTINFOCLASS = JOBOBJECTINFOCLASS ( 7i32 ) ; pub const JobObjectBasicAndIoAccountingInformation : JOBOBJECTINFOCLASS = JOBOBJECTINFOCLASS ( 8i32 ) ; pub const JobObjectExtendedLimitInformation : JOBOBJECTINFOCLASS = JOBOBJECTINFOCLASS ( 9i32 ) ; pub const JobObjectJobSetInformation : JOBOBJECTINFOCLASS = JOBOBJECTINFOCLASS ( 10i32 ) ; pub const JobObjectGroupInformation : JOBOBJECTINFOCLASS = JOBOBJECTINFOCLASS ( 11i32 ) ; pub const JobObjectNotificationLimitInformation : JOBOBJECTINFOCLASS = JOBOBJECTINFOCLASS ( 12i32 ) ; pub const JobObjectLimitViolationInformation : JOBOBJECTINFOCLASS = JOBOBJECTINFOCLASS ( 13i32 ) ; pub const JobObjectGroupInformationEx : JOBOBJECTINFOCLASS = JOBOBJECTINFOCLASS ( 14i32 ) ; pub const JobObjectCpuRateControlInformation : JOBOBJECTINFOCLASS = JOBOBJECTINFOCLASS ( 15i32 ) ; pub const JobObjectCompletionFilter : JOBOBJECTINFOCLASS = JOBOBJECTINFOCLASS ( 16i32 ) ; pub const JobObjectCompletionCounter : JOBOBJECTINFOCLASS = JOBOBJECTINFOCLASS ( 17i32 ) ; pub const JobObjectReserved1Information : JOBOBJECTINFOCLASS = JOBOBJECTINFOCLASS ( 18i32 ) ; pub const JobObjectReserved2Information : JOBOBJECTINFOCLASS = JOBOBJECTINFOCLASS ( 19i32 ) ; pub const JobObjectReserved3Information : JOBOBJECTINFOCLASS = JOBOBJECTINFOCLASS ( 20i32 ) ; pub const JobObjectReserved4Information : JOBOBJECTINFOCLASS = JOBOBJECTINFOCLASS ( 21i32 ) ; pub const JobObjectReserved5Information : JOBOBJECTINFOCLASS = JOBOBJECTINFOCLASS ( 22i32 ) ; pub const JobObjectReserved6Information : JOBOBJECTINFOCLASS = JOBOBJECTINFOCLASS ( 23i32 ) ; pub const JobObjectReserved7Information : JOBOBJECTINFOCLASS = JOBOBJECTINFOCLASS ( 24i32 ) ; pub const JobObjectReserved8Information : JOBOBJECTINFOCLASS = JOBOBJECTINFOCLASS ( 25i32 ) ; pub const JobObjectReserved9Information : JOBOBJECTINFOCLASS = JOBOBJECTINFOCLASS ( 26i32 ) ; pub const JobObjectReserved10Information : JOBOBJECTINFOCLASS = JOBOBJECTINFOCLASS ( 27i32 ) ; pub const JobObjectReserved11Information : JOBOBJECTINFOCLASS = JOBOBJECTINFOCLASS ( 28i32 ) ; pub const JobObjectReserved12Information : JOBOBJECTINFOCLASS = JOBOBJECTINFOCLASS ( 29i32 ) ; pub const JobObjectReserved13Information : JOBOBJECTINFOCLASS = JOBOBJECTINFOCLASS ( 30i32 ) ; pub const JobObjectReserved14Information : JOBOBJECTINFOCLASS = JOBOBJECTINFOCLASS ( 31i32 ) ; pub const JobObjectNetRateControlInformation : JOBOBJECTINFOCLASS = JOBOBJECTINFOCLASS ( 32i32 ) ; pub const JobObjectNotificationLimitInformation2 : JOBOBJECTINFOCLASS = JOBOBJECTINFOCLASS ( 33i32 ) ; pub const JobObjectLimitViolationInformation2 : JOBOBJECTINFOCLASS = JOBOBJECTINFOCLASS ( 34i32 ) ; pub const JobObjectCreateSilo : JOBOBJECTINFOCLASS = JOBOBJECTINFOCLASS ( 35i32 ) ; pub const JobObjectSiloBasicInformation : JOBOBJECTINFOCLASS = JOBOBJECTINFOCLASS ( 36i32 ) ; pub const JobObjectReserved15Information : JOBOBJECTINFOCLASS = JOBOBJECTINFOCLASS ( 37i32 ) ; pub const JobObjectReserved16Information : JOBOBJECTINFOCLASS = JOBOBJECTINFOCLASS ( 38i32 ) ; pub const JobObjectReserved17Information : JOBOBJECTINFOCLASS = JOBOBJECTINFOCLASS ( 39i32 ) ; pub const JobObjectReserved18Information : JOBOBJECTINFOCLASS = JOBOBJECTINFOCLASS ( 40i32 ) ; pub const JobObjectReserved19Information : JOBOBJECTINFOCLASS = JOBOBJECTINFOCLASS ( 41i32 ) ; pub const JobObjectReserved20Information : JOBOBJECTINFOCLASS = JOBOBJECTINFOCLASS ( 42i32 ) ; pub const JobObjectReserved21Information : JOBOBJECTINFOCLASS = JOBOBJECTINFOCLASS ( 43i32 ) ; pub const JobObjectReserved22Information : JOBOBJECTINFOCLASS = JOBOBJECTINFOCLASS ( 44i32 ) ; pub const JobObjectReserved23Information : JOBOBJECTINFOCLASS = JOBOBJECTINFOCLASS ( 45i32 ) ; pub const JobObjectReserved24Information : JOBOBJECTINFOCLASS = JOBOBJECTINFOCLASS ( 46i32 ) ; pub const JobObjectReserved25Information : JOBOBJECTINFOCLASS = JOBOBJECTINFOCLASS ( 47i32 ) ; pub const MaxJobObjectInfoClass : JOBOBJECTINFOCLASS = JOBOBJECTINFOCLASS ( 48i32 ) ; impl :: std :: convert :: From < i32 > for JOBOBJECTINFOCLASS { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for JOBOBJECTINFOCLASS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct JOBOBJECT_ASSOCIATE_COMPLETION_PORT { pub CompletionKey : * mut :: std :: ffi :: c_void , pub CompletionPort : super::super::Foundation:: HANDLE } impl JOBOBJECT_ASSOCIATE_COMPLETION_PORT { } impl :: std :: default :: Default for JOBOBJECT_ASSOCIATE_COMPLETION_PORT { fn default ( ) -> Self { Self { CompletionKey : :: std :: ptr :: null_mut ( ) , CompletionPort : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for JOBOBJECT_ASSOCIATE_COMPLETION_PORT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "JOBOBJECT_ASSOCIATE_COMPLETION_PORT" ) . field ( "CompletionKey" , & self . CompletionKey ) . field ( "CompletionPort" , & self . CompletionPort ) . finish ( ) } } impl :: std :: cmp :: PartialEq for JOBOBJECT_ASSOCIATE_COMPLETION_PORT { fn eq ( & self , other : & Self ) -> bool { self . CompletionKey == other . CompletionKey && self . CompletionPort == other . CompletionPort } } impl :: std :: cmp :: Eq for JOBOBJECT_ASSOCIATE_COMPLETION_PORT { } unsafe impl :: windows :: Abi for JOBOBJECT_ASSOCIATE_COMPLETION_PORT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct JOBOBJECT_BASIC_ACCOUNTING_INFORMATION { pub TotalUserTime : i64 , pub TotalKernelTime : i64 , pub ThisPeriodTotalUserTime : i64 , pub ThisPeriodTotalKernelTime : i64 , pub TotalPageFaultCount : u32 , pub TotalProcesses : u32 , pub ActiveProcesses : u32 , pub TotalTerminatedProcesses : u32 } impl JOBOBJECT_BASIC_ACCOUNTING_INFORMATION { } impl :: std :: default :: Default for JOBOBJECT_BASIC_ACCOUNTING_INFORMATION { fn default ( ) -> Self { Self { TotalUserTime : 0 , TotalKernelTime : 0 , ThisPeriodTotalUserTime : 0 , ThisPeriodTotalKernelTime : 0 , TotalPageFaultCount : 0 , TotalProcesses : 0 , ActiveProcesses : 0 , TotalTerminatedProcesses : 0 } } } impl :: std :: fmt :: Debug for JOBOBJECT_BASIC_ACCOUNTING_INFORMATION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "JOBOBJECT_BASIC_ACCOUNTING_INFORMATION" ) . field ( "TotalUserTime" , & self . TotalUserTime ) . field ( "TotalKernelTime" , & self . TotalKernelTime ) . field ( "ThisPeriodTotalUserTime" , & self . ThisPeriodTotalUserTime ) . field ( "ThisPeriodTotalKernelTime" , & self . ThisPeriodTotalKernelTime ) . field ( "TotalPageFaultCount" , & self . TotalPageFaultCount ) . field ( "TotalProcesses" , & self . TotalProcesses ) . field ( "ActiveProcesses" , & self . ActiveProcesses ) . field ( "TotalTerminatedProcesses" , & self . TotalTerminatedProcesses ) . finish ( ) } } impl :: std :: cmp :: PartialEq for JOBOBJECT_BASIC_ACCOUNTING_INFORMATION { fn eq ( & self , other : & Self ) -> bool { self . TotalUserTime == other . TotalUserTime && self . TotalKernelTime == other . TotalKernelTime && self . ThisPeriodTotalUserTime == other . ThisPeriodTotalUserTime && self . ThisPeriodTotalKernelTime == other . ThisPeriodTotalKernelTime && self . TotalPageFaultCount == other . TotalPageFaultCount && self . TotalProcesses == other . TotalProcesses && self . ActiveProcesses == other . ActiveProcesses && self . TotalTerminatedProcesses == other . TotalTerminatedProcesses } } impl :: std :: cmp :: Eq for JOBOBJECT_BASIC_ACCOUNTING_INFORMATION { } unsafe impl :: windows :: Abi for JOBOBJECT_BASIC_ACCOUNTING_INFORMATION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct JOBOBJECT_BASIC_AND_IO_ACCOUNTING_INFORMATION { pub BasicInfo : JOBOBJECT_BASIC_ACCOUNTING_INFORMATION , pub IoInfo : IO_COUNTERS } impl JOBOBJECT_BASIC_AND_IO_ACCOUNTING_INFORMATION { } impl :: std :: default :: Default for JOBOBJECT_BASIC_AND_IO_ACCOUNTING_INFORMATION { fn default ( ) -> Self { Self { BasicInfo : :: std :: default :: Default :: default ( ) , IoInfo : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for JOBOBJECT_BASIC_AND_IO_ACCOUNTING_INFORMATION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "JOBOBJECT_BASIC_AND_IO_ACCOUNTING_INFORMATION" ) . field ( "BasicInfo" , & self . BasicInfo ) . field ( "IoInfo" , & self . IoInfo ) . finish ( ) } } impl :: std :: cmp :: PartialEq for JOBOBJECT_BASIC_AND_IO_ACCOUNTING_INFORMATION { fn eq ( & self , other : & Self ) -> bool { self . BasicInfo == other . BasicInfo && self . IoInfo == other . IoInfo } } impl :: std :: cmp :: Eq for JOBOBJECT_BASIC_AND_IO_ACCOUNTING_INFORMATION { } unsafe impl :: windows :: Abi for JOBOBJECT_BASIC_AND_IO_ACCOUNTING_INFORMATION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct JOBOBJECT_BASIC_LIMIT_INFORMATION { pub PerProcessUserTimeLimit : i64 , pub PerJobUserTimeLimit : i64 , pub LimitFlags : super::JobObjects:: JOB_OBJECT_LIMIT , pub MinimumWorkingSetSize : usize , pub MaximumWorkingSetSize : usize , pub ActiveProcessLimit : u32 , pub Affinity : usize , pub PriorityClass : u32 , pub SchedulingClass : u32 } impl JOBOBJECT_BASIC_LIMIT_INFORMATION { } impl :: std :: default :: Default for JOBOBJECT_BASIC_LIMIT_INFORMATION { fn default ( ) -> Self { Self { PerProcessUserTimeLimit : 0 , PerJobUserTimeLimit : 0 , LimitFlags : :: std :: default :: Default :: default ( ) , MinimumWorkingSetSize : 0 , MaximumWorkingSetSize : 0 , ActiveProcessLimit : 0 , Affinity : 0 , PriorityClass : 0 , SchedulingClass : 0 } } } impl :: std :: fmt :: Debug for JOBOBJECT_BASIC_LIMIT_INFORMATION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "JOBOBJECT_BASIC_LIMIT_INFORMATION" ) . field ( "PerProcessUserTimeLimit" , & self . PerProcessUserTimeLimit ) . field ( "PerJobUserTimeLimit" , & self . PerJobUserTimeLimit ) . field ( "LimitFlags" , & self . LimitFlags ) . field ( "MinimumWorkingSetSize" , & self . MinimumWorkingSetSize ) . field ( "MaximumWorkingSetSize" , & self . MaximumWorkingSetSize ) . field ( "ActiveProcessLimit" , & self . ActiveProcessLimit ) . field ( "Affinity" , & self . Affinity ) . field ( "PriorityClass" , & self . PriorityClass ) . field ( "SchedulingClass" , & self . SchedulingClass ) . finish ( ) } } impl :: std :: cmp :: PartialEq for JOBOBJECT_BASIC_LIMIT_INFORMATION { fn eq ( & self , other : & Self ) -> bool { self . PerProcessUserTimeLimit == other . PerProcessUserTimeLimit && self . PerJobUserTimeLimit == other . PerJobUserTimeLimit && self . LimitFlags == other . LimitFlags && self . MinimumWorkingSetSize == other . MinimumWorkingSetSize && self . MaximumWorkingSetSize == other . MaximumWorkingSetSize && self . ActiveProcessLimit == other . ActiveProcessLimit && self . Affinity == other . Affinity && self . PriorityClass == other . PriorityClass && self . SchedulingClass == other . SchedulingClass } } impl :: std :: cmp :: Eq for JOBOBJECT_BASIC_LIMIT_INFORMATION { } unsafe impl :: windows :: Abi for JOBOBJECT_BASIC_LIMIT_INFORMATION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct JOBOBJECT_BASIC_PROCESS_ID_LIST { pub NumberOfAssignedProcesses : u32 , pub NumberOfProcessIdsInList : u32 , pub ProcessIdList : [ usize ;1 ] } impl JOBOBJECT_BASIC_PROCESS_ID_LIST { } impl :: std :: default :: Default for JOBOBJECT_BASIC_PROCESS_ID_LIST { fn default ( ) -> Self { Self { NumberOfAssignedProcesses : 0 , NumberOfProcessIdsInList : 0 , ProcessIdList : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for JOBOBJECT_BASIC_PROCESS_ID_LIST { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "JOBOBJECT_BASIC_PROCESS_ID_LIST" ) . field ( "NumberOfAssignedProcesses" , & self . NumberOfAssignedProcesses ) . field ( "NumberOfProcessIdsInList" , & self . NumberOfProcessIdsInList ) . field ( "ProcessIdList" , & self . ProcessIdList ) . finish ( ) } } impl :: std :: cmp :: PartialEq for JOBOBJECT_BASIC_PROCESS_ID_LIST { fn eq ( & self , other : & Self ) -> bool { self . NumberOfAssignedProcesses == other . NumberOfAssignedProcesses && self . NumberOfProcessIdsInList == other . NumberOfProcessIdsInList && self . ProcessIdList == other . ProcessIdList } } impl :: std :: cmp :: Eq for JOBOBJECT_BASIC_PROCESS_ID_LIST { } unsafe impl :: windows :: Abi for JOBOBJECT_BASIC_PROCESS_ID_LIST { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct JOBOBJECT_BASIC_UI_RESTRICTIONS { pub UIRestrictionsClass : super::JobObjects:: JOB_OBJECT_UILIMIT } impl JOBOBJECT_BASIC_UI_RESTRICTIONS { } impl :: std :: default :: Default for JOBOBJECT_BASIC_UI_RESTRICTIONS { fn default ( ) -> Self { Self { UIRestrictionsClass : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for JOBOBJECT_BASIC_UI_RESTRICTIONS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "JOBOBJECT_BASIC_UI_RESTRICTIONS" ) . field ( "UIRestrictionsClass" , & self . UIRestrictionsClass ) . finish ( ) } } impl :: std :: cmp :: PartialEq for JOBOBJECT_BASIC_UI_RESTRICTIONS { fn eq ( & self , other : & Self ) -> bool { self . UIRestrictionsClass == other . UIRestrictionsClass } } impl :: std :: cmp :: Eq for JOBOBJECT_BASIC_UI_RESTRICTIONS { } unsafe impl :: windows :: Abi for JOBOBJECT_BASIC_UI_RESTRICTIONS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct JOBOBJECT_CPU_RATE_CONTROL_INFORMATION { pub ControlFlags : JOB_OBJECT_CPU_RATE_CONTROL , pub Anonymous : JOBOBJECT_CPU_RATE_CONTROL_INFORMATION_0 } impl JOBOBJECT_CPU_RATE_CONTROL_INFORMATION { } impl :: std :: cmp :: PartialEq for JOBOBJECT_CPU_RATE_CONTROL_INFORMATION { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for JOBOBJECT_CPU_RATE_CONTROL_INFORMATION { } unsafe impl :: windows :: Abi for JOBOBJECT_CPU_RATE_CONTROL_INFORMATION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union JOBOBJECT_CPU_RATE_CONTROL_INFORMATION_0 { pub CpuRate : u32 , pub Weight : u32 , pub Anonymous : JOBOBJECT_CPU_RATE_CONTROL_INFORMATION_0_0 } impl JOBOBJECT_CPU_RATE_CONTROL_INFORMATION_0 { } impl :: std :: cmp :: PartialEq for JOBOBJECT_CPU_RATE_CONTROL_INFORMATION_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for JOBOBJECT_CPU_RATE_CONTROL_INFORMATION_0 { } unsafe impl :: windows :: Abi for JOBOBJECT_CPU_RATE_CONTROL_INFORMATION_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct JOBOBJECT_CPU_RATE_CONTROL_INFORMATION_0_0 { pub MinRate : u16 , pub MaxRate : u16 } impl JOBOBJECT_CPU_RATE_CONTROL_INFORMATION_0_0 { } impl :: std :: default :: Default for JOBOBJECT_CPU_RATE_CONTROL_INFORMATION_0_0 { fn default ( ) -> Self { Self { MinRate : 0 , MaxRate : 0 } } } impl :: std :: fmt :: Debug for JOBOBJECT_CPU_RATE_CONTROL_INFORMATION_0_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Anonymous_e__Struct" ) . field ( "MinRate" , & self . MinRate ) . field ( "MaxRate" , & self . MaxRate ) . finish ( ) } } impl :: std :: cmp :: PartialEq for JOBOBJECT_CPU_RATE_CONTROL_INFORMATION_0_0 { fn eq ( & self , other : & Self ) -> bool { self . MinRate == other . MinRate && self . MaxRate == other . MaxRate } } impl :: std :: cmp :: Eq for JOBOBJECT_CPU_RATE_CONTROL_INFORMATION_0_0 { } unsafe impl :: windows :: Abi for JOBOBJECT_CPU_RATE_CONTROL_INFORMATION_0_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct JOBOBJECT_END_OF_JOB_TIME_INFORMATION { pub EndOfJobTimeAction : JOB_OBJECT_TERMINATE_AT_END_ACTION } impl JOBOBJECT_END_OF_JOB_TIME_INFORMATION { } impl :: std :: default :: Default for JOBOBJECT_END_OF_JOB_TIME_INFORMATION { fn default ( ) -> Self { Self { EndOfJobTimeAction : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for JOBOBJECT_END_OF_JOB_TIME_INFORMATION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "JOBOBJECT_END_OF_JOB_TIME_INFORMATION" ) . field ( "EndOfJobTimeAction" , & self . EndOfJobTimeAction ) . finish ( ) } } impl :: std :: cmp :: PartialEq for JOBOBJECT_END_OF_JOB_TIME_INFORMATION { fn eq ( & self , other : & Self ) -> bool { self . EndOfJobTimeAction == other . EndOfJobTimeAction } } impl :: std :: cmp :: Eq for JOBOBJECT_END_OF_JOB_TIME_INFORMATION { } unsafe impl :: windows :: Abi for JOBOBJECT_END_OF_JOB_TIME_INFORMATION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct JOBOBJECT_EXTENDED_LIMIT_INFORMATION { pub BasicLimitInformation : JOBOBJECT_BASIC_LIMIT_INFORMATION , pub IoInfo : IO_COUNTERS , pub ProcessMemoryLimit : usize , pub JobMemoryLimit : usize , pub PeakProcessMemoryUsed : usize , pub PeakJobMemoryUsed : usize } impl JOBOBJECT_EXTENDED_LIMIT_INFORMATION { } impl :: std :: default :: Default for JOBOBJECT_EXTENDED_LIMIT_INFORMATION { fn default ( ) -> Self { Self { BasicLimitInformation : :: std :: default :: Default :: default ( ) , IoInfo : :: std :: default :: Default :: default ( ) , ProcessMemoryLimit : 0 , JobMemoryLimit : 0 , PeakProcessMemoryUsed : 0 , PeakJobMemoryUsed : 0 } } } impl :: std :: fmt :: Debug for JOBOBJECT_EXTENDED_LIMIT_INFORMATION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "JOBOBJECT_EXTENDED_LIMIT_INFORMATION" ) . field ( "BasicLimitInformation" , & self . BasicLimitInformation ) . field ( "IoInfo" , & self . IoInfo ) . field ( "ProcessMemoryLimit" , & self . ProcessMemoryLimit ) . field ( "JobMemoryLimit" , & self . JobMemoryLimit ) . field ( "PeakProcessMemoryUsed" , & self . PeakProcessMemoryUsed ) . field ( "PeakJobMemoryUsed" , & self . PeakJobMemoryUsed ) . finish ( ) } } impl :: std :: cmp :: PartialEq for JOBOBJECT_EXTENDED_LIMIT_INFORMATION { fn eq ( & self , other : & Self ) -> bool { self . BasicLimitInformation == other . BasicLimitInformation && self . IoInfo == other . IoInfo && self . ProcessMemoryLimit == other . ProcessMemoryLimit && self . JobMemoryLimit == other . JobMemoryLimit && self . PeakProcessMemoryUsed == other . PeakProcessMemoryUsed && self . PeakJobMemoryUsed == other . PeakJobMemoryUsed } } impl :: std :: cmp :: Eq for JOBOBJECT_EXTENDED_LIMIT_INFORMATION { } unsafe impl :: windows :: Abi for JOBOBJECT_EXTENDED_LIMIT_INFORMATION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct JOBOBJECT_IO_ATTRIBUTION_CONTROL_FLAGS ( pub i32 ) ; pub const JOBOBJECT_IO_ATTRIBUTION_CONTROL_ENABLE : JOBOBJECT_IO_ATTRIBUTION_CONTROL_FLAGS = JOBOBJECT_IO_ATTRIBUTION_CONTROL_FLAGS ( 1i32 ) ; pub const JOBOBJECT_IO_ATTRIBUTION_CONTROL_DISABLE : JOBOBJECT_IO_ATTRIBUTION_CONTROL_FLAGS = JOBOBJECT_IO_ATTRIBUTION_CONTROL_FLAGS ( 2i32 ) ; pub const JOBOBJECT_IO_ATTRIBUTION_CONTROL_VALID_FLAGS : JOBOBJECT_IO_ATTRIBUTION_CONTROL_FLAGS = JOBOBJECT_IO_ATTRIBUTION_CONTROL_FLAGS ( 3i32 ) ; impl :: std :: convert :: From < i32 > for JOBOBJECT_IO_ATTRIBUTION_CONTROL_FLAGS { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for JOBOBJECT_IO_ATTRIBUTION_CONTROL_FLAGS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct JOBOBJECT_IO_ATTRIBUTION_INFORMATION { pub ControlFlags : u32 , pub ReadStats : JOBOBJECT_IO_ATTRIBUTION_STATS , pub WriteStats : JOBOBJECT_IO_ATTRIBUTION_STATS } impl JOBOBJECT_IO_ATTRIBUTION_INFORMATION { } impl :: std :: default :: Default for JOBOBJECT_IO_ATTRIBUTION_INFORMATION { fn default ( ) -> Self { Self { ControlFlags : 0 , ReadStats : :: std :: default :: Default :: default ( ) , WriteStats : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for JOBOBJECT_IO_ATTRIBUTION_INFORMATION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "JOBOBJECT_IO_ATTRIBUTION_INFORMATION" ) . field ( "ControlFlags" , & self . ControlFlags ) . field ( "ReadStats" , & self . ReadStats ) . field ( "WriteStats" , & self . WriteStats ) . finish ( ) } } impl :: std :: cmp :: PartialEq for JOBOBJECT_IO_ATTRIBUTION_INFORMATION { fn eq ( & self , other : & Self ) -> bool { self . ControlFlags == other . ControlFlags && self . ReadStats == other . ReadStats && self . WriteStats == other . WriteStats } } impl :: std :: cmp :: Eq for JOBOBJECT_IO_ATTRIBUTION_INFORMATION { } unsafe impl :: windows :: Abi for JOBOBJECT_IO_ATTRIBUTION_INFORMATION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct JOBOBJECT_IO_ATTRIBUTION_STATS { pub IoCount : usize , pub TotalNonOverlappedQueueTime : u64 , pub TotalNonOverlappedServiceTime : u64 , pub TotalSize : u64 } impl JOBOBJECT_IO_ATTRIBUTION_STATS { } impl :: std :: default :: Default for JOBOBJECT_IO_ATTRIBUTION_STATS { fn default ( ) -> Self { Self { IoCount : 0 , TotalNonOverlappedQueueTime : 0 , TotalNonOverlappedServiceTime : 0 , TotalSize : 0 } } } impl :: std :: fmt :: Debug for JOBOBJECT_IO_ATTRIBUTION_STATS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "JOBOBJECT_IO_ATTRIBUTION_STATS" ) . field ( "IoCount" , & self . IoCount ) . field ( "TotalNonOverlappedQueueTime" , & self . TotalNonOverlappedQueueTime ) . field ( "TotalNonOverlappedServiceTime" , & self . TotalNonOverlappedServiceTime ) . field ( "TotalSize" , & self . TotalSize ) . finish ( ) } } impl :: std :: cmp :: PartialEq for JOBOBJECT_IO_ATTRIBUTION_STATS { fn eq ( & self , other : & Self ) -> bool { self . IoCount == other . IoCount && self . TotalNonOverlappedQueueTime == other . TotalNonOverlappedQueueTime && self . TotalNonOverlappedServiceTime == other . TotalNonOverlappedServiceTime && self . TotalSize == other . TotalSize } } impl :: std :: cmp :: Eq for JOBOBJECT_IO_ATTRIBUTION_STATS { } unsafe impl :: windows :: Abi for JOBOBJECT_IO_ATTRIBUTION_STATS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct JOBOBJECT_IO_RATE_CONTROL_INFORMATION_NATIVE { pub MaxIops : i64 , pub MaxBandwidth : i64 , pub ReservationIops : i64 , pub VolumeName : super::super::Foundation:: PWSTR , pub BaseIoSize : u32 , pub ControlFlags : JOB_OBJECT_IO_RATE_CONTROL_FLAGS , pub VolumeNameLength : u16 } impl JOBOBJECT_IO_RATE_CONTROL_INFORMATION_NATIVE { } impl :: std :: default :: Default for JOBOBJECT_IO_RATE_CONTROL_INFORMATION_NATIVE { fn default ( ) -> Self { Self { MaxIops : 0 , MaxBandwidth : 0 , ReservationIops : 0 , VolumeName : :: std :: default :: Default :: default ( ) , BaseIoSize : 0 , ControlFlags : :: std :: default :: Default :: default ( ) , VolumeNameLength : 0 } } } impl :: std :: fmt :: Debug for JOBOBJECT_IO_RATE_CONTROL_INFORMATION_NATIVE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "JOBOBJECT_IO_RATE_CONTROL_INFORMATION_NATIVE" ) . field ( "MaxIops" , & self . MaxIops ) . field ( "MaxBandwidth" , & self . MaxBandwidth ) . field ( "ReservationIops" , & self . ReservationIops ) . field ( "VolumeName" , & self . VolumeName ) . field ( "BaseIoSize" , & self . BaseIoSize ) . field ( "ControlFlags" , & self . ControlFlags ) . field ( "VolumeNameLength" , & self . VolumeNameLength ) . finish ( ) } } impl :: std :: cmp :: PartialEq for JOBOBJECT_IO_RATE_CONTROL_INFORMATION_NATIVE { fn eq ( & self , other : & Self ) -> bool { self . MaxIops == other . MaxIops && self . MaxBandwidth == other . MaxBandwidth && self . ReservationIops == other . ReservationIops && self . VolumeName == other . VolumeName && self . BaseIoSize == other . BaseIoSize && self . ControlFlags == other . ControlFlags && self . VolumeNameLength == other . VolumeNameLength } } impl :: std :: cmp :: Eq for JOBOBJECT_IO_RATE_CONTROL_INFORMATION_NATIVE { } unsafe impl :: windows :: Abi for JOBOBJECT_IO_RATE_CONTROL_INFORMATION_NATIVE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct JOBOBJECT_IO_RATE_CONTROL_INFORMATION_NATIVE_V2 { pub MaxIops : i64 , pub MaxBandwidth : i64 , pub ReservationIops : i64 , pub VolumeName : super::super::Foundation:: PWSTR , pub BaseIoSize : u32 , pub ControlFlags : JOB_OBJECT_IO_RATE_CONTROL_FLAGS , pub VolumeNameLength : u16 , pub CriticalReservationIops : i64 , pub ReservationBandwidth : i64 , pub CriticalReservationBandwidth : i64 , pub MaxTimePercent : i64 , pub ReservationTimePercent : i64 , pub CriticalReservationTimePercent : i64 } impl JOBOBJECT_IO_RATE_CONTROL_INFORMATION_NATIVE_V2 { } impl :: std :: default :: Default for JOBOBJECT_IO_RATE_CONTROL_INFORMATION_NATIVE_V2 { fn default ( ) -> Self { Self { MaxIops : 0 , MaxBandwidth : 0 , ReservationIops : 0 , VolumeName : :: std :: default :: Default :: default ( ) , BaseIoSize : 0 , ControlFlags : :: std :: default :: Default :: default ( ) , VolumeNameLength : 0 , CriticalReservationIops : 0 , ReservationBandwidth : 0 , CriticalReservationBandwidth : 0 , MaxTimePercent : 0 , ReservationTimePercent : 0 , CriticalReservationTimePercent : 0 } } } impl :: std :: fmt :: Debug for JOBOBJECT_IO_RATE_CONTROL_INFORMATION_NATIVE_V2 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "JOBOBJECT_IO_RATE_CONTROL_INFORMATION_NATIVE_V2" ) . field ( "MaxIops" , & self . MaxIops ) . field ( "MaxBandwidth" , & self . MaxBandwidth ) . field ( "ReservationIops" , & self . ReservationIops ) . field ( "VolumeName" , & self . VolumeName ) . field ( "BaseIoSize" , & self . BaseIoSize ) . field ( "ControlFlags" , & self . ControlFlags ) . field ( "VolumeNameLength" , & self . VolumeNameLength ) . field ( "CriticalReservationIops" , & self . CriticalReservationIops ) . field ( "ReservationBandwidth" , & self . ReservationBandwidth ) . field ( "CriticalReservationBandwidth" , & self . CriticalReservationBandwidth ) . field ( "MaxTimePercent" , & self . MaxTimePercent ) . field ( "ReservationTimePercent" , & self . ReservationTimePercent ) . field ( "CriticalReservationTimePercent" , & self . CriticalReservationTimePercent ) . finish ( ) } } impl :: std :: cmp :: PartialEq for JOBOBJECT_IO_RATE_CONTROL_INFORMATION_NATIVE_V2 { fn eq ( & self , other : & Self ) -> bool { self . MaxIops == other . MaxIops && self . MaxBandwidth == other . MaxBandwidth && self . ReservationIops == other . ReservationIops && self . VolumeName == other . VolumeName && self . BaseIoSize == other . BaseIoSize && self . ControlFlags == other . ControlFlags && self . VolumeNameLength == other . VolumeNameLength && self . CriticalReservationIops == other . CriticalReservationIops && self . ReservationBandwidth == other . ReservationBandwidth && self . CriticalReservationBandwidth == other . CriticalReservationBandwidth && self . MaxTimePercent == other . MaxTimePercent && self . ReservationTimePercent == other . ReservationTimePercent && self . CriticalReservationTimePercent == other . CriticalReservationTimePercent } } impl :: std :: cmp :: Eq for JOBOBJECT_IO_RATE_CONTROL_INFORMATION_NATIVE_V2 { } unsafe impl :: windows :: Abi for JOBOBJECT_IO_RATE_CONTROL_INFORMATION_NATIVE_V2 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct JOBOBJECT_IO_RATE_CONTROL_INFORMATION_NATIVE_V3 { pub MaxIops : i64 , pub MaxBandwidth : i64 , pub ReservationIops : i64 , pub VolumeName : super::super::Foundation:: PWSTR , pub BaseIoSize : u32 , pub ControlFlags : JOB_OBJECT_IO_RATE_CONTROL_FLAGS , pub VolumeNameLength : u16 , pub CriticalReservationIops : i64 , pub ReservationBandwidth : i64 , pub CriticalReservationBandwidth : i64 , pub MaxTimePercent : i64 , pub ReservationTimePercent : i64 , pub CriticalReservationTimePercent : i64 , pub SoftMaxIops : i64 , pub SoftMaxBandwidth : i64 , pub SoftMaxTimePercent : i64 , pub LimitExcessNotifyIops : i64 , pub LimitExcessNotifyBandwidth : i64 , pub LimitExcessNotifyTimePercent : i64 } impl JOBOBJECT_IO_RATE_CONTROL_INFORMATION_NATIVE_V3 { } impl :: std :: default :: Default for JOBOBJECT_IO_RATE_CONTROL_INFORMATION_NATIVE_V3 { fn default ( ) -> Self { Self { MaxIops : 0 , MaxBandwidth : 0 , ReservationIops : 0 , VolumeName : :: std :: default :: Default :: default ( ) , BaseIoSize : 0 , ControlFlags : :: std :: default :: Default :: default ( ) , VolumeNameLength : 0 , CriticalReservationIops : 0 , ReservationBandwidth : 0 , CriticalReservationBandwidth : 0 , MaxTimePercent : 0 , ReservationTimePercent : 0 , CriticalReservationTimePercent : 0 , SoftMaxIops : 0 , SoftMaxBandwidth : 0 , SoftMaxTimePercent : 0 , LimitExcessNotifyIops : 0 , LimitExcessNotifyBandwidth : 0 , LimitExcessNotifyTimePercent : 0 } } } impl :: std :: fmt :: Debug for JOBOBJECT_IO_RATE_CONTROL_INFORMATION_NATIVE_V3 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "JOBOBJECT_IO_RATE_CONTROL_INFORMATION_NATIVE_V3" ) . field ( "MaxIops" , & self . MaxIops ) . field ( "MaxBandwidth" , & self . MaxBandwidth ) . field ( "ReservationIops" , & self . ReservationIops ) . field ( "VolumeName" , & self . VolumeName ) . field ( "BaseIoSize" , & self . BaseIoSize ) . field ( "ControlFlags" , & self . ControlFlags ) . field ( "VolumeNameLength" , & self . VolumeNameLength ) . field ( "CriticalReservationIops" , & self . CriticalReservationIops ) . field ( "ReservationBandwidth" , & self . ReservationBandwidth ) . field ( "CriticalReservationBandwidth" , & self . CriticalReservationBandwidth ) . field ( "MaxTimePercent" , & self . MaxTimePercent ) . field ( "ReservationTimePercent" , & self . ReservationTimePercent ) . field ( "CriticalReservationTimePercent" , & self . CriticalReservationTimePercent ) . field ( "SoftMaxIops" , & self . SoftMaxIops ) . field ( "SoftMaxBandwidth" , & self . SoftMaxBandwidth ) . field ( "SoftMaxTimePercent" , & self . SoftMaxTimePercent ) . field ( "LimitExcessNotifyIops" , & self . LimitExcessNotifyIops ) . field ( "LimitExcessNotifyBandwidth" , & self . LimitExcessNotifyBandwidth ) . field ( "LimitExcessNotifyTimePercent" , & self . LimitExcessNotifyTimePercent ) . finish ( ) } } impl :: std :: cmp :: PartialEq for JOBOBJECT_IO_RATE_CONTROL_INFORMATION_NATIVE_V3 { fn eq ( & self , other : & Self ) -> bool { self . MaxIops == other . MaxIops && self . MaxBandwidth == other . MaxBandwidth && self . ReservationIops == other . ReservationIops && self . VolumeName == other . VolumeName && self . BaseIoSize == other . BaseIoSize && self . ControlFlags == other . ControlFlags && self . VolumeNameLength == other . VolumeNameLength && self . CriticalReservationIops == other . CriticalReservationIops && self . ReservationBandwidth == other . ReservationBandwidth && self . CriticalReservationBandwidth == other . CriticalReservationBandwidth && self . MaxTimePercent == other . MaxTimePercent && self . ReservationTimePercent == other . ReservationTimePercent && self . CriticalReservationTimePercent == other . CriticalReservationTimePercent && self . SoftMaxIops == other . SoftMaxIops && self . SoftMaxBandwidth == other . SoftMaxBandwidth && self . SoftMaxTimePercent == other . SoftMaxTimePercent && self . LimitExcessNotifyIops == other . LimitExcessNotifyIops && self . LimitExcessNotifyBandwidth == other . LimitExcessNotifyBandwidth && self . LimitExcessNotifyTimePercent == other . LimitExcessNotifyTimePercent } } impl :: std :: cmp :: Eq for JOBOBJECT_IO_RATE_CONTROL_INFORMATION_NATIVE_V3 { } unsafe impl :: windows :: Abi for JOBOBJECT_IO_RATE_CONTROL_INFORMATION_NATIVE_V3 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct JOBOBJECT_JOBSET_INFORMATION { pub MemberLevel : u32 } impl JOBOBJECT_JOBSET_INFORMATION { } impl :: std :: default :: Default for JOBOBJECT_JOBSET_INFORMATION { fn default ( ) -> Self { Self { MemberLevel : 0 } } } impl :: std :: fmt :: Debug for JOBOBJECT_JOBSET_INFORMATION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "JOBOBJECT_JOBSET_INFORMATION" ) . field ( "MemberLevel" , & self . MemberLevel ) . finish ( ) } } impl :: std :: cmp :: PartialEq for JOBOBJECT_JOBSET_INFORMATION { fn eq ( & self , other : & Self ) -> bool { self . MemberLevel == other . MemberLevel } } impl :: std :: cmp :: Eq for JOBOBJECT_JOBSET_INFORMATION { } unsafe impl :: windows :: Abi for JOBOBJECT_JOBSET_INFORMATION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct JOBOBJECT_LIMIT_VIOLATION_INFORMATION { pub LimitFlags : super::JobObjects:: JOB_OBJECT_LIMIT , pub ViolationLimitFlags : super::JobObjects:: JOB_OBJECT_LIMIT , pub IoReadBytes : u64 , pub IoReadBytesLimit : u64 , pub IoWriteBytes : u64 , pub IoWriteBytesLimit : u64 , pub PerJobUserTime : i64 , pub PerJobUserTimeLimit : i64 , pub JobMemory : u64 , pub JobMemoryLimit : u64 , pub RateControlTolerance : JOBOBJECT_RATE_CONTROL_TOLERANCE , pub RateControlToleranceLimit : JOBOBJECT_RATE_CONTROL_TOLERANCE } impl JOBOBJECT_LIMIT_VIOLATION_INFORMATION { } impl :: std :: default :: Default for JOBOBJECT_LIMIT_VIOLATION_INFORMATION { fn default ( ) -> Self { Self { LimitFlags : :: std :: default :: Default :: default ( ) , ViolationLimitFlags : :: std :: default :: Default :: default ( ) , IoReadBytes : 0 , IoReadBytesLimit : 0 , IoWriteBytes : 0 , IoWriteBytesLimit : 0 , PerJobUserTime : 0 , PerJobUserTimeLimit : 0 , JobMemory : 0 , JobMemoryLimit : 0 , RateControlTolerance : :: std :: default :: Default :: default ( ) , RateControlToleranceLimit : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for JOBOBJECT_LIMIT_VIOLATION_INFORMATION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "JOBOBJECT_LIMIT_VIOLATION_INFORMATION" ) . field ( "LimitFlags" , & self . LimitFlags ) . field ( "ViolationLimitFlags" , & self . ViolationLimitFlags ) . field ( "IoReadBytes" , & self . IoReadBytes ) . field ( "IoReadBytesLimit" , & self . IoReadBytesLimit ) . field ( "IoWriteBytes" , & self . IoWriteBytes ) . field ( "IoWriteBytesLimit" , & self . IoWriteBytesLimit ) . field ( "PerJobUserTime" , & self . PerJobUserTime ) . field ( "PerJobUserTimeLimit" , & self . PerJobUserTimeLimit ) . field ( "JobMemory" , & self . JobMemory ) . field ( "JobMemoryLimit" , & self . JobMemoryLimit ) . field ( "RateControlTolerance" , & self . RateControlTolerance ) . field ( "RateControlToleranceLimit" , & self . RateControlToleranceLimit ) . finish ( ) } } impl :: std :: cmp :: PartialEq for JOBOBJECT_LIMIT_VIOLATION_INFORMATION { fn eq ( & self , other : & Self ) -> bool { self . LimitFlags == other . LimitFlags && self . ViolationLimitFlags == other . ViolationLimitFlags && self . IoReadBytes == other . IoReadBytes && self . IoReadBytesLimit == other . IoReadBytesLimit && self . IoWriteBytes == other . IoWriteBytes && self . IoWriteBytesLimit == other . IoWriteBytesLimit && self . PerJobUserTime == other . PerJobUserTime && self . PerJobUserTimeLimit == other . PerJobUserTimeLimit && self . JobMemory == other . JobMemory && self . JobMemoryLimit == other . JobMemoryLimit && self . RateControlTolerance == other . RateControlTolerance && self . RateControlToleranceLimit == other . RateControlToleranceLimit } } impl :: std :: cmp :: Eq for JOBOBJECT_LIMIT_VIOLATION_INFORMATION { } unsafe impl :: windows :: Abi for JOBOBJECT_LIMIT_VIOLATION_INFORMATION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct JOBOBJECT_LIMIT_VIOLATION_INFORMATION_2 { pub LimitFlags : super::JobObjects:: JOB_OBJECT_LIMIT , pub ViolationLimitFlags : super::JobObjects:: JOB_OBJECT_LIMIT , pub IoReadBytes : u64 , pub IoReadBytesLimit : u64 , pub IoWriteBytes : u64 , pub IoWriteBytesLimit : u64 , pub PerJobUserTime : i64 , pub PerJobUserTimeLimit : i64 , pub JobMemory : u64 , pub Anonymous1 : JOBOBJECT_LIMIT_VIOLATION_INFORMATION_2_0 , pub Anonymous2 : JOBOBJECT_LIMIT_VIOLATION_INFORMATION_2_1 , pub Anonymous3 : JOBOBJECT_LIMIT_VIOLATION_INFORMATION_2_2 , pub JobLowMemoryLimit : u64 , pub IoRateControlTolerance : JOBOBJECT_RATE_CONTROL_TOLERANCE , pub IoRateControlToleranceLimit : JOBOBJECT_RATE_CONTROL_TOLERANCE , pub NetRateControlTolerance : JOBOBJECT_RATE_CONTROL_TOLERANCE , pub NetRateControlToleranceLimit : JOBOBJECT_RATE_CONTROL_TOLERANCE } impl JOBOBJECT_LIMIT_VIOLATION_INFORMATION_2 { } impl :: std :: cmp :: PartialEq for JOBOBJECT_LIMIT_VIOLATION_INFORMATION_2 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for JOBOBJECT_LIMIT_VIOLATION_INFORMATION_2 { } unsafe impl :: windows :: Abi for JOBOBJECT_LIMIT_VIOLATION_INFORMATION_2 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union JOBOBJECT_LIMIT_VIOLATION_INFORMATION_2_0 { pub JobHighMemoryLimit : u64 , pub JobMemoryLimit : u64 } impl JOBOBJECT_LIMIT_VIOLATION_INFORMATION_2_0 { } impl :: std :: cmp :: PartialEq for JOBOBJECT_LIMIT_VIOLATION_INFORMATION_2_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for JOBOBJECT_LIMIT_VIOLATION_INFORMATION_2_0 { } unsafe impl :: windows :: Abi for JOBOBJECT_LIMIT_VIOLATION_INFORMATION_2_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union JOBOBJECT_LIMIT_VIOLATION_INFORMATION_2_1 { pub RateControlTolerance : JOBOBJECT_RATE_CONTROL_TOLERANCE , pub CpuRateControlTolerance : JOBOBJECT_RATE_CONTROL_TOLERANCE } impl JOBOBJECT_LIMIT_VIOLATION_INFORMATION_2_1 { } impl :: std :: cmp :: PartialEq for JOBOBJECT_LIMIT_VIOLATION_INFORMATION_2_1 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for JOBOBJECT_LIMIT_VIOLATION_INFORMATION_2_1 { } unsafe impl :: windows :: Abi for JOBOBJECT_LIMIT_VIOLATION_INFORMATION_2_1 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union JOBOBJECT_LIMIT_VIOLATION_INFORMATION_2_2 { pub RateControlToleranceLimit : JOBOBJECT_RATE_CONTROL_TOLERANCE , pub CpuRateControlToleranceLimit : JOBOBJECT_RATE_CONTROL_TOLERANCE } impl JOBOBJECT_LIMIT_VIOLATION_INFORMATION_2_2 { } impl :: std :: cmp :: PartialEq for JOBOBJECT_LIMIT_VIOLATION_INFORMATION_2_2 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for JOBOBJECT_LIMIT_VIOLATION_INFORMATION_2_2 { } unsafe impl :: windows :: Abi for JOBOBJECT_LIMIT_VIOLATION_INFORMATION_2_2 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct JOBOBJECT_NET_RATE_CONTROL_INFORMATION { pub MaxBandwidth : u64 , pub ControlFlags : JOB_OBJECT_NET_RATE_CONTROL_FLAGS , pub DscpTag : u8 } impl JOBOBJECT_NET_RATE_CONTROL_INFORMATION { } impl :: std :: default :: Default for JOBOBJECT_NET_RATE_CONTROL_INFORMATION { fn default ( ) -> Self { Self { MaxBandwidth : 0 , ControlFlags : :: std :: default :: Default :: default ( ) , DscpTag : 0 } } } impl :: std :: fmt :: Debug for JOBOBJECT_NET_RATE_CONTROL_INFORMATION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "JOBOBJECT_NET_RATE_CONTROL_INFORMATION" ) . field ( "MaxBandwidth" , & self . MaxBandwidth ) . field ( "ControlFlags" , & self . ControlFlags ) . field ( "DscpTag" , & self . DscpTag ) . finish ( ) } } impl :: std :: cmp :: PartialEq for JOBOBJECT_NET_RATE_CONTROL_INFORMATION { fn eq ( & self , other : & Self ) -> bool { self . MaxBandwidth == other . MaxBandwidth && self . ControlFlags == other . ControlFlags && self . DscpTag == other . DscpTag } } impl :: std :: cmp :: Eq for JOBOBJECT_NET_RATE_CONTROL_INFORMATION { } unsafe impl :: windows :: Abi for JOBOBJECT_NET_RATE_CONTROL_INFORMATION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct JOBOBJECT_NOTIFICATION_LIMIT_INFORMATION { pub IoReadBytesLimit : u64 , pub IoWriteBytesLimit : u64 , pub PerJobUserTimeLimit : i64 , pub JobMemoryLimit : u64 , pub RateControlTolerance : JOBOBJECT_RATE_CONTROL_TOLERANCE , pub RateControlToleranceInterval : JOBOBJECT_RATE_CONTROL_TOLERANCE_INTERVAL , pub LimitFlags : super::JobObjects:: JOB_OBJECT_LIMIT } impl JOBOBJECT_NOTIFICATION_LIMIT_INFORMATION { } impl :: std :: default :: Default for JOBOBJECT_NOTIFICATION_LIMIT_INFORMATION { fn default ( ) -> Self { Self { IoReadBytesLimit : 0 , IoWriteBytesLimit : 0 , PerJobUserTimeLimit : 0 , JobMemoryLimit : 0 , RateControlTolerance : :: std :: default :: Default :: default ( ) , RateControlToleranceInterval : :: std :: default :: Default :: default ( ) , LimitFlags : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for JOBOBJECT_NOTIFICATION_LIMIT_INFORMATION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "JOBOBJECT_NOTIFICATION_LIMIT_INFORMATION" ) . field ( "IoReadBytesLimit" , & self . IoReadBytesLimit ) . field ( "IoWriteBytesLimit" , & self . IoWriteBytesLimit ) . field ( "PerJobUserTimeLimit" , & self . PerJobUserTimeLimit ) . field ( "JobMemoryLimit" , & self . JobMemoryLimit ) . field ( "RateControlTolerance" , & self . RateControlTolerance ) . field ( "RateControlToleranceInterval" , & self . RateControlToleranceInterval ) . field ( "LimitFlags" , & self . LimitFlags ) . finish ( ) } } impl :: std :: cmp :: PartialEq for JOBOBJECT_NOTIFICATION_LIMIT_INFORMATION { fn eq ( & self , other : & Self ) -> bool { self . IoReadBytesLimit == other . IoReadBytesLimit && self . IoWriteBytesLimit == other . IoWriteBytesLimit && self . PerJobUserTimeLimit == other . PerJobUserTimeLimit && self . JobMemoryLimit == other . JobMemoryLimit && self . RateControlTolerance == other . RateControlTolerance && self . RateControlToleranceInterval == other . RateControlToleranceInterval && self . LimitFlags == other . LimitFlags } } impl :: std :: cmp :: Eq for JOBOBJECT_NOTIFICATION_LIMIT_INFORMATION { } unsafe impl :: windows :: Abi for JOBOBJECT_NOTIFICATION_LIMIT_INFORMATION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct JOBOBJECT_NOTIFICATION_LIMIT_INFORMATION_2 { pub IoReadBytesLimit : u64 , pub IoWriteBytesLimit : u64 , pub PerJobUserTimeLimit : i64 , pub Anonymous1 : JOBOBJECT_NOTIFICATION_LIMIT_INFORMATION_2_0 , pub Anonymous2 : JOBOBJECT_NOTIFICATION_LIMIT_INFORMATION_2_1 , pub Anonymous3 : JOBOBJECT_NOTIFICATION_LIMIT_INFORMATION_2_2 , pub LimitFlags : super::JobObjects:: JOB_OBJECT_LIMIT , pub IoRateControlTolerance : JOBOBJECT_RATE_CONTROL_TOLERANCE , pub JobLowMemoryLimit : u64 , pub IoRateControlToleranceInterval : JOBOBJECT_RATE_CONTROL_TOLERANCE_INTERVAL , pub NetRateControlTolerance : JOBOBJECT_RATE_CONTROL_TOLERANCE , pub NetRateControlToleranceInterval : JOBOBJECT_RATE_CONTROL_TOLERANCE_INTERVAL } impl JOBOBJECT_NOTIFICATION_LIMIT_INFORMATION_2 { } impl :: std :: cmp :: PartialEq for JOBOBJECT_NOTIFICATION_LIMIT_INFORMATION_2 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for JOBOBJECT_NOTIFICATION_LIMIT_INFORMATION_2 { } unsafe impl :: windows :: Abi for JOBOBJECT_NOTIFICATION_LIMIT_INFORMATION_2 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union JOBOBJECT_NOTIFICATION_LIMIT_INFORMATION_2_0 { pub JobHighMemoryLimit : u64 , pub JobMemoryLimit : u64 } impl JOBOBJECT_NOTIFICATION_LIMIT_INFORMATION_2_0 { } impl :: std :: cmp :: PartialEq for JOBOBJECT_NOTIFICATION_LIMIT_INFORMATION_2_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for JOBOBJECT_NOTIFICATION_LIMIT_INFORMATION_2_0 { } unsafe impl :: windows :: Abi for JOBOBJECT_NOTIFICATION_LIMIT_INFORMATION_2_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union JOBOBJECT_NOTIFICATION_LIMIT_INFORMATION_2_1 { pub RateControlTolerance : JOBOBJECT_RATE_CONTROL_TOLERANCE , pub CpuRateControlTolerance : JOBOBJECT_RATE_CONTROL_TOLERANCE } impl JOBOBJECT_NOTIFICATION_LIMIT_INFORMATION_2_1 { } impl :: std :: cmp :: PartialEq for JOBOBJECT_NOTIFICATION_LIMIT_INFORMATION_2_1 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for JOBOBJECT_NOTIFICATION_LIMIT_INFORMATION_2_1 { } unsafe impl :: windows :: Abi for JOBOBJECT_NOTIFICATION_LIMIT_INFORMATION_2_1 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union JOBOBJECT_NOTIFICATION_LIMIT_INFORMATION_2_2 { pub RateControlToleranceInterval : JOBOBJECT_RATE_CONTROL_TOLERANCE_INTERVAL , pub CpuRateControlToleranceInterval : JOBOBJECT_RATE_CONTROL_TOLERANCE_INTERVAL } impl JOBOBJECT_NOTIFICATION_LIMIT_INFORMATION_2_2 { } impl :: std :: cmp :: PartialEq for JOBOBJECT_NOTIFICATION_LIMIT_INFORMATION_2_2 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for JOBOBJECT_NOTIFICATION_LIMIT_INFORMATION_2_2 { } unsafe impl :: windows :: Abi for JOBOBJECT_NOTIFICATION_LIMIT_INFORMATION_2_2 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct JOBOBJECT_RATE_CONTROL_TOLERANCE ( pub i32 ) ; pub const ToleranceLow : JOBOBJECT_RATE_CONTROL_TOLERANCE = JOBOBJECT_RATE_CONTROL_TOLERANCE ( 1i32 ) ; pub const ToleranceMedium : JOBOBJECT_RATE_CONTROL_TOLERANCE = JOBOBJECT_RATE_CONTROL_TOLERANCE ( 2i32 ) ; pub const ToleranceHigh : JOBOBJECT_RATE_CONTROL_TOLERANCE = JOBOBJECT_RATE_CONTROL_TOLERANCE ( 3i32 ) ; impl :: std :: convert :: From < i32 > for JOBOBJECT_RATE_CONTROL_TOLERANCE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for JOBOBJECT_RATE_CONTROL_TOLERANCE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct JOBOBJECT_RATE_CONTROL_TOLERANCE_INTERVAL ( pub i32 ) ; pub const ToleranceIntervalShort : JOBOBJECT_RATE_CONTROL_TOLERANCE_INTERVAL = JOBOBJECT_RATE_CONTROL_TOLERANCE_INTERVAL ( 1i32 ) ; pub const ToleranceIntervalMedium : JOBOBJECT_RATE_CONTROL_TOLERANCE_INTERVAL = JOBOBJECT_RATE_CONTROL_TOLERANCE_INTERVAL ( 2i32 ) ; pub const ToleranceIntervalLong : JOBOBJECT_RATE_CONTROL_TOLERANCE_INTERVAL = JOBOBJECT_RATE_CONTROL_TOLERANCE_INTERVAL ( 3i32 ) ; impl :: std :: convert :: From < i32 > for JOBOBJECT_RATE_CONTROL_TOLERANCE_INTERVAL { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for JOBOBJECT_RATE_CONTROL_TOLERANCE_INTERVAL { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct JOBOBJECT_SECURITY_LIMIT_INFORMATION { pub SecurityLimitFlags : super::JobObjects:: JOB_OBJECT_SECURITY , pub JobToken : super::super::Foundation:: HANDLE , pub SidsToDisable : * mut super::super::Security:: TOKEN_GROUPS , pub PrivilegesToDelete : * mut super::super::Security:: TOKEN_PRIVILEGES , pub RestrictedSids : * mut super::super::Security:: TOKEN_GROUPS } impl JOBOBJECT_SECURITY_LIMIT_INFORMATION { } impl :: std :: default :: Default for JOBOBJECT_SECURITY_LIMIT_INFORMATION { fn default ( ) -> Self { Self { SecurityLimitFlags : :: std :: default :: Default :: default ( ) , JobToken : :: std :: default :: Default :: default ( ) , SidsToDisable : :: std :: ptr :: null_mut ( ) , PrivilegesToDelete : :: std :: ptr :: null_mut ( ) , RestrictedSids : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for JOBOBJECT_SECURITY_LIMIT_INFORMATION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "JOBOBJECT_SECURITY_LIMIT_INFORMATION" ) . field ( "SecurityLimitFlags" , & self . SecurityLimitFlags ) . field ( "JobToken" , & self . JobToken ) . field ( "SidsToDisable" , & self . SidsToDisable ) . field ( "PrivilegesToDelete" , & self . PrivilegesToDelete ) . field ( "RestrictedSids" , & self . RestrictedSids ) . finish ( ) } } impl :: std :: cmp :: PartialEq for JOBOBJECT_SECURITY_LIMIT_INFORMATION { fn eq ( & self , other : & Self ) -> bool { self . SecurityLimitFlags == other . SecurityLimitFlags && self . JobToken == other . JobToken && self . SidsToDisable == other . SidsToDisable && self . PrivilegesToDelete == other . PrivilegesToDelete && self . RestrictedSids == other . RestrictedSids } } impl :: std :: cmp :: Eq for JOBOBJECT_SECURITY_LIMIT_INFORMATION { } unsafe impl :: windows :: Abi for JOBOBJECT_SECURITY_LIMIT_INFORMATION { type Abi = Self ; type DefaultType = Self ; } pub const JOB_OBJECT_ASSIGN_PROCESS : u32 = 1u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct JOB_OBJECT_CPU_RATE_CONTROL ( pub u32 ) ; pub const JOB_OBJECT_CPU_RATE_CONTROL_ENABLE : JOB_OBJECT_CPU_RATE_CONTROL = JOB_OBJECT_CPU_RATE_CONTROL ( 1u32 ) ; pub const JOB_OBJECT_CPU_RATE_CONTROL_WEIGHT_BASED : JOB_OBJECT_CPU_RATE_CONTROL = JOB_OBJECT_CPU_RATE_CONTROL ( 2u32 ) ; pub const JOB_OBJECT_CPU_RATE_CONTROL_HARD_CAP : JOB_OBJECT_CPU_RATE_CONTROL = JOB_OBJECT_CPU_RATE_CONTROL ( 4u32 ) ; pub const JOB_OBJECT_CPU_RATE_CONTROL_NOTIFY : JOB_OBJECT_CPU_RATE_CONTROL = JOB_OBJECT_CPU_RATE_CONTROL ( 8u32 ) ; pub const JOB_OBJECT__CPU_RATE_CONTROL_MIN_MAX_RATE : JOB_OBJECT_CPU_RATE_CONTROL = JOB_OBJECT_CPU_RATE_CONTROL ( 16u32 ) ; impl :: std :: convert :: From < u32 > for JOB_OBJECT_CPU_RATE_CONTROL { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for JOB_OBJECT_CPU_RATE_CONTROL { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for JOB_OBJECT_CPU_RATE_CONTROL { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for JOB_OBJECT_CPU_RATE_CONTROL { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for JOB_OBJECT_CPU_RATE_CONTROL { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for JOB_OBJECT_CPU_RATE_CONTROL { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub const JOB_OBJECT_CPU_RATE_CONTROL_MIN_MAX_RATE : u32 = 16u32 ; pub const JOB_OBJECT_CPU_RATE_CONTROL_VALID_FLAGS : u32 = 31u32 ; pub const JOB_OBJECT_IMPERSONATE : u32 = 32u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct JOB_OBJECT_IO_RATE_CONTROL_FLAGS ( pub i32 ) ; pub const JOB_OBJECT_IO_RATE_CONTROL_ENABLE : JOB_OBJECT_IO_RATE_CONTROL_FLAGS = JOB_OBJECT_IO_RATE_CONTROL_FLAGS ( 1i32 ) ; pub const JOB_OBJECT_IO_RATE_CONTROL_STANDALONE_VOLUME : JOB_OBJECT_IO_RATE_CONTROL_FLAGS = JOB_OBJECT_IO_RATE_CONTROL_FLAGS ( 2i32 ) ; pub const JOB_OBJECT_IO_RATE_CONTROL_FORCE_UNIT_ACCESS_ALL : JOB_OBJECT_IO_RATE_CONTROL_FLAGS = JOB_OBJECT_IO_RATE_CONTROL_FLAGS ( 4i32 ) ; pub const JOB_OBJECT_IO_RATE_CONTROL_FORCE_UNIT_ACCESS_ON_SOFT_CAP : JOB_OBJECT_IO_RATE_CONTROL_FLAGS = JOB_OBJECT_IO_RATE_CONTROL_FLAGS ( 8i32 ) ; pub const JOB_OBJECT_IO_RATE_CONTROL_VALID_FLAGS : JOB_OBJECT_IO_RATE_CONTROL_FLAGS = JOB_OBJECT_IO_RATE_CONTROL_FLAGS ( 15i32 ) ; impl :: std :: convert :: From < i32 > for JOB_OBJECT_IO_RATE_CONTROL_FLAGS { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for JOB_OBJECT_IO_RATE_CONTROL_FLAGS { type Abi = Self ; type DefaultType = Self ; } pub const JOB_OBJECT_MSG_ABNORMAL_EXIT_PROCESS : u32 = 8u32 ; pub const JOB_OBJECT_MSG_ACTIVE_PROCESS_LIMIT : u32 = 3u32 ; pub const JOB_OBJECT_MSG_ACTIVE_PROCESS_ZERO : u32 = 4u32 ; pub const JOB_OBJECT_MSG_END_OF_JOB_TIME : u32 = 1u32 ; pub const JOB_OBJECT_MSG_END_OF_PROCESS_TIME : u32 = 2u32 ; pub const JOB_OBJECT_MSG_EXIT_PROCESS : u32 = 7u32 ; pub const JOB_OBJECT_MSG_JOB_CYCLE_TIME_LIMIT : u32 = 12u32 ; pub const JOB_OBJECT_MSG_JOB_MEMORY_LIMIT : u32 = 10u32 ; pub const JOB_OBJECT_MSG_MAXIMUM : u32 = 13u32 ; pub const JOB_OBJECT_MSG_MINIMUM : u32 = 1u32 ; pub const JOB_OBJECT_MSG_NEW_PROCESS : u32 = 6u32 ; pub const JOB_OBJECT_MSG_NOTIFICATION_LIMIT : u32 = 11u32 ; pub const JOB_OBJECT_MSG_PROCESS_MEMORY_LIMIT : u32 = 9u32 ; pub const JOB_OBJECT_MSG_SILO_TERMINATED : u32 = 13u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct JOB_OBJECT_NET_RATE_CONTROL_FLAGS ( pub i32 ) ; pub const JOB_OBJECT_NET_RATE_CONTROL_ENABLE : JOB_OBJECT_NET_RATE_CONTROL_FLAGS = JOB_OBJECT_NET_RATE_CONTROL_FLAGS ( 1i32 ) ; pub const JOB_OBJECT_NET_RATE_CONTROL_MAX_BANDWIDTH : JOB_OBJECT_NET_RATE_CONTROL_FLAGS = JOB_OBJECT_NET_RATE_CONTROL_FLAGS ( 2i32 ) ; pub const JOB_OBJECT_NET_RATE_CONTROL_DSCP_TAG : JOB_OBJECT_NET_RATE_CONTROL_FLAGS = JOB_OBJECT_NET_RATE_CONTROL_FLAGS ( 4i32 ) ; pub const JOB_OBJECT_NET_RATE_CONTROL_VALID_FLAGS : JOB_OBJECT_NET_RATE_CONTROL_FLAGS = JOB_OBJECT_NET_RATE_CONTROL_FLAGS ( 7i32 ) ; impl :: std :: convert :: From < i32 > for JOB_OBJECT_NET_RATE_CONTROL_FLAGS { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for JOB_OBJECT_NET_RATE_CONTROL_FLAGS { type Abi = Self ; type DefaultType = Self ; } pub const JOB_OBJECT_NET_RATE_CONTROL_MAX_DSCP_TAG : u32 = 64u32 ; pub const JOB_OBJECT_QUERY : u32 = 4u32 ; pub const JOB_OBJECT_SET_ATTRIBUTES : u32 = 2u32 ; pub const JOB_OBJECT_SET_SECURITY_ATTRIBUTES : u32 = 16u32 ; pub const JOB_OBJECT_TERMINATE : u32 = 8u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct JOB_OBJECT_TERMINATE_AT_END_ACTION ( pub u32 ) ; pub const JOB_OBJECT_TERMINATE_AT_END_OF_JOB : JOB_OBJECT_TERMINATE_AT_END_ACTION = JOB_OBJECT_TERMINATE_AT_END_ACTION ( 0u32 ) ; pub const JOB_OBJECT_POST_AT_END_OF_JOB : JOB_OBJECT_TERMINATE_AT_END_ACTION = JOB_OBJECT_TERMINATE_AT_END_ACTION ( 1u32 ) ; impl :: std :: convert :: From < u32 > for JOB_OBJECT_TERMINATE_AT_END_ACTION { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for JOB_OBJECT_TERMINATE_AT_END_ACTION { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for JOB_OBJECT_TERMINATE_AT_END_ACTION { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for JOB_OBJECT_TERMINATE_AT_END_ACTION { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for JOB_OBJECT_TERMINATE_AT_END_ACTION { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for JOB_OBJECT_TERMINATE_AT_END_ACTION { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub const JOB_OBJECT_UILIMIT_ALL : u32 = 255u32 ; pub const JOB_OBJECT_UI_VALID_FLAGS : u32 = 255u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct JOB_SET_ARRAY { pub JobHandle : super::super::Foundation:: HANDLE , pub MemberLevel : u32 , pub Flags : u32 } impl JOB_SET_ARRAY { } impl :: std :: default :: Default for JOB_SET_ARRAY { fn default ( ) -> Self { Self { JobHandle : :: std :: default :: Default :: default ( ) , MemberLevel : 0 , Flags : 0 } } } impl :: std :: fmt :: Debug for JOB_SET_ARRAY { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "JOB_SET_ARRAY" ) . field ( "JobHandle" , & self . JobHandle ) . field ( "MemberLevel" , & self . MemberLevel ) . field ( "Flags" , & self . Flags ) . finish ( ) } } impl :: std :: cmp :: PartialEq for JOB_SET_ARRAY { fn eq ( & self , other : & Self ) -> bool { self . JobHandle == other . JobHandle && self . MemberLevel == other . MemberLevel && self . Flags == other . Flags } } impl :: std :: cmp :: Eq for JOB_SET_ARRAY { } unsafe impl :: windows :: Abi for JOB_SET_ARRAY { type Abi = Self ; type DefaultType = Self ; } pub const JOIN_BEVEL : i32 = 1i32 ; pub const JOIN_MITER : i32 = 2i32 ; pub const JOIN_ROUND : i32 = 0i32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KNONVOLATILE_CONTEXT_POINTERS { pub X19 : * mut u64 , pub X20 : * mut u64 , pub X21 : * mut u64 , pub X22 : * mut u64 , pub X23 : * mut u64 , pub X24 : * mut u64 , pub X25 : * mut u64 , pub X26 : * mut u64 , pub X27 : * mut u64 , pub X28 : * mut u64 , pub Fp : * mut u64 , pub Lr : * mut u64 , pub D8 : * mut u64 , pub D9 : * mut u64 , pub D10 : * mut u64 , pub D11 : * mut u64 , pub D12 : * mut u64 , pub D13 : * mut u64 , pub D14 : * mut u64 , pub D15 : * mut u64 } impl KNONVOLATILE_CONTEXT_POINTERS { } impl :: std :: default :: Default for KNONVOLATILE_CONTEXT_POINTERS { fn default ( ) -> Self { Self { X19 : :: std :: ptr :: null_mut ( ) , X20 : :: std :: ptr :: null_mut ( ) , X21 : :: std :: ptr :: null_mut ( ) , X22 : :: std :: ptr :: null_mut ( ) , X23 : :: std :: ptr :: null_mut ( ) , X24 : :: std :: ptr :: null_mut ( ) , X25 : :: std :: ptr :: null_mut ( ) , X26 : :: std :: ptr :: null_mut ( ) , X27 : :: std :: ptr :: null_mut ( ) , X28 : :: std :: ptr :: null_mut ( ) , Fp : :: std :: ptr :: null_mut ( ) , Lr : :: std :: ptr :: null_mut ( ) , D8 : :: std :: ptr :: null_mut ( ) , D9 : :: std :: ptr :: null_mut ( ) , D10 : :: std :: ptr :: null_mut ( ) , D11 : :: std :: ptr :: null_mut ( ) , D12 : :: std :: ptr :: null_mut ( ) , D13 : :: std :: ptr :: null_mut ( ) , D14 : :: std :: ptr :: null_mut ( ) , D15 : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for KNONVOLATILE_CONTEXT_POINTERS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KNONVOLATILE_CONTEXT_POINTERS" ) . field ( "X19" , & self . X19 ) . field ( "X20" , & self . X20 ) . field ( "X21" , & self . X21 ) . field ( "X22" , & self . X22 ) . field ( "X23" , & self . X23 ) . field ( "X24" , & self . X24 ) . field ( "X25" , & self . X25 ) . field ( "X26" , & self . X26 ) . field ( "X27" , & self . X27 ) . field ( "X28" , & self . X28 ) . field ( "Fp" , & self . Fp ) . field ( "Lr" , & self . Lr ) . field ( "D8" , & self . D8 ) . field ( "D9" , & self . D9 ) . field ( "D10" , & self . D10 ) . field ( "D11" , & self . D11 ) . field ( "D12" , & self . D12 ) . field ( "D13" , & self . D13 ) . field ( "D14" , & self . D14 ) . field ( "D15" , & self . D15 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KNONVOLATILE_CONTEXT_POINTERS { fn eq ( & self , other : & Self ) -> bool { self . X19 == other . X19 && self . X20 == other . X20 && self . X21 == other . X21 && self . X22 == other . X22 && self . X23 == other . X23 && self . X24 == other . X24 && self . X25 == other . X25 && self . X26 == other . X26 && self . X27 == other . X27 && self . X28 == other . X28 && self . Fp == other . Fp && self . Lr == other . Lr && self . D8 == other . D8 && self . D9 == other . D9 && self . D10 == other . D10 && self . D11 == other . D11 && self . D12 == other . D12 && self . D13 == other . D13 && self . D14 == other . D14 && self . D15 == other . D15 } } impl :: std :: cmp :: Eq for KNONVOLATILE_CONTEXT_POINTERS { } unsafe impl :: windows :: Abi for KNONVOLATILE_CONTEXT_POINTERS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KTMOBJECT_CURSOR { pub LastQuery : :: windows :: Guid , pub ObjectIdCount : u32 , pub ObjectIds : [ :: windows :: Guid ;1 ] } impl KTMOBJECT_CURSOR { } impl :: std :: default :: Default for KTMOBJECT_CURSOR { fn default ( ) -> Self { Self { LastQuery : :: std :: default :: Default :: default ( ) , ObjectIdCount : 0 , ObjectIds : [ :: std :: default :: Default :: default ( ) ;1 ] } } } impl :: std :: fmt :: Debug for KTMOBJECT_CURSOR { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KTMOBJECT_CURSOR" ) . field ( "LastQuery" , & self . LastQuery ) . field ( "ObjectIdCount" , & self . ObjectIdCount ) . field ( "ObjectIds" , & self . ObjectIds ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KTMOBJECT_CURSOR { fn eq ( & self , other : & Self ) -> bool { self . LastQuery == other . LastQuery && self . ObjectIdCount == other . ObjectIdCount && self . ObjectIds == other . ObjectIds } } impl :: std :: cmp :: Eq for KTMOBJECT_CURSOR { } unsafe impl :: windows :: Abi for KTMOBJECT_CURSOR { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct KTMOBJECT_TYPE ( pub i32 ) ; pub const KTMOBJECT_TRANSACTION : KTMOBJECT_TYPE = KTMOBJECT_TYPE ( 0i32 ) ; pub const KTMOBJECT_TRANSACTION_MANAGER : KTMOBJECT_TYPE = KTMOBJECT_TYPE ( 1i32 ) ; pub const KTMOBJECT_RESOURCE_MANAGER : KTMOBJECT_TYPE = KTMOBJECT_TYPE ( 2i32 ) ; pub const KTMOBJECT_ENLISTMENT : KTMOBJECT_TYPE = KTMOBJECT_TYPE ( 3i32 ) ; pub const KTMOBJECT_INVALID : KTMOBJECT_TYPE = KTMOBJECT_TYPE ( 4i32 ) ; impl :: std :: convert :: From < i32 > for KTMOBJECT_TYPE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KTMOBJECT_TYPE { type Abi = Self ; type DefaultType = Self ; } pub const LABEL_SECURITY_INFORMATION : i32 = 16i32 ; pub const LANG_AFRIKAANS : u32 = 54u32 ; pub const LANG_ALBANIAN : u32 = 28u32 ; pub const LANG_ALSATIAN : u32 = 132u32 ; pub const LANG_AMHARIC : u32 = 94u32 ; pub const LANG_ARABIC : u32 = 1u32 ; pub const LANG_ARMENIAN : u32 = 43u32 ; pub const LANG_ASSAMESE : u32 = 77u32 ; pub const LANG_AZERBAIJANI : u32 = 44u32 ; pub const LANG_AZERI : u32 = 44u32 ; pub const LANG_BANGLA : u32 = 69u32 ; pub const LANG_BASHKIR : u32 = 109u32 ; pub const LANG_BASQUE : u32 = 45u32 ; pub const LANG_BELARUSIAN : u32 = 35u32 ; pub const LANG_BENGALI : u32 = 69u32 ; pub const LANG_BOSNIAN : u32 = 26u32 ; pub const LANG_BOSNIAN_NEUTRAL : u32 = 30746u32 ; pub const LANG_BRETON : u32 = 126u32 ; pub const LANG_BULGARIAN : u32 = 2u32 ; pub const LANG_CATALAN : u32 = 3u32 ; pub const LANG_CENTRAL_KURDISH : u32 = 146u32 ; pub const LANG_CHEROKEE : u32 = 92u32 ; pub const LANG_CHINESE : u32 = 4u32 ; pub const LANG_CHINESE_SIMPLIFIED : u32 = 4u32 ; pub const LANG_CHINESE_TRADITIONAL : u32 = 31748u32 ; pub const LANG_CORSICAN : u32 = 131u32 ; pub const LANG_CROATIAN : u32 = 26u32 ; pub const LANG_CZECH : u32 = 5u32 ; pub const LANG_DANISH : u32 = 6u32 ; pub const LANG_DARI : u32 = 140u32 ; pub const LANG_DIVEHI : u32 = 101u32 ; pub const LANG_DUTCH : u32 = 19u32 ; pub const LANG_ENGLISH : u32 = 9u32 ; pub const LANG_ESTONIAN : u32 = 37u32 ; pub const LANG_FAEROESE : u32 = 56u32 ; pub const LANG_FARSI : u32 = 41u32 ; pub const LANG_FILIPINO : u32 = 100u32 ; pub const LANG_FINNISH : u32 = 11u32 ; pub const LANG_FRENCH : u32 = 12u32 ; pub const LANG_FRISIAN : u32 = 98u32 ; pub const LANG_FULAH : u32 = 103u32 ; pub const LANG_GALICIAN : u32 = 86u32 ; pub const LANG_GEORGIAN : u32 = 55u32 ; pub const LANG_GERMAN : u32 = 7u32 ; pub const LANG_GREEK : u32 = 8u32 ; pub const LANG_GREENLANDIC : u32 = 111u32 ; pub const LANG_GUJARATI : u32 = 71u32 ; pub const LANG_HAUSA : u32 = 104u32 ; pub const LANG_HAWAIIAN : u32 = 117u32 ; pub const LANG_HEBREW : u32 = 13u32 ; pub const LANG_HINDI : u32 = 57u32 ; pub const LANG_HUNGARIAN : u32 = 14u32 ; pub const LANG_ICELANDIC : u32 = 15u32 ; pub const LANG_IGBO : u32 = 112u32 ; pub const LANG_INDONESIAN : u32 = 33u32 ; pub const LANG_INUKTITUT : u32 = 93u32 ; pub const LANG_INVARIANT : u32 = 127u32 ; pub const LANG_IRISH : u32 = 60u32 ; pub const LANG_ITALIAN : u32 = 16u32 ; pub const LANG_JAPANESE : u32 = 17u32 ; pub const LANG_KANNADA : u32 = 75u32 ; pub const LANG_KASHMIRI : u32 = 96u32 ; pub const LANG_KAZAK : u32 = 63u32 ; pub const LANG_KHMER : u32 = 83u32 ; pub const LANG_KICHE : u32 = 134u32 ; pub const LANG_KINYARWANDA : u32 = 135u32 ; pub const LANG_KONKANI : u32 = 87u32 ; pub const LANG_KOREAN : u32 = 18u32 ; pub const LANG_KYRGYZ : u32 = 64u32 ; pub const LANG_LAO : u32 = 84u32 ; pub const LANG_LATVIAN : u32 = 38u32 ; pub const LANG_LITHUANIAN : u32 = 39u32 ; pub const LANG_LOWER_SORBIAN : u32 = 46u32 ; pub const LANG_LUXEMBOURGISH : u32 = 110u32 ; pub const LANG_MACEDONIAN : u32 = 47u32 ; pub const LANG_MALAY : u32 = 62u32 ; pub const LANG_MALAYALAM : u32 = 76u32 ; pub const LANG_MALTESE : u32 = 58u32 ; pub const LANG_MANIPURI : u32 = 88u32 ; pub const LANG_MAORI : u32 = 129u32 ; pub const LANG_MAPUDUNGUN : u32 = 122u32 ; pub const LANG_MARATHI : u32 = 78u32 ; pub const LANG_MOHAWK : u32 = 124u32 ; pub const LANG_MONGOLIAN : u32 = 80u32 ; pub const LANG_NEPALI : u32 = 97u32 ; pub const LANG_NEUTRAL : u32 = 0u32 ; pub const LANG_NORWEGIAN : u32 = 20u32 ; pub const LANG_OCCITAN : u32 = 130u32 ; pub const LANG_ODIA : u32 = 72u32 ; pub const LANG_ORIYA : u32 = 72u32 ; pub const LANG_PASHTO : u32 = 99u32 ; pub const LANG_PERSIAN : u32 = 41u32 ; pub const LANG_POLISH : u32 = 21u32 ; pub const LANG_PORTUGUESE : u32 = 22u32 ; pub const LANG_PULAR : u32 = 103u32 ; pub const LANG_PUNJABI : u32 = 70u32 ; pub const LANG_QUECHUA : u32 = 107u32 ; pub const LANG_ROMANIAN : u32 = 24u32 ; pub const LANG_ROMANSH : u32 = 23u32 ; pub const LANG_RUSSIAN : u32 = 25u32 ; pub const LANG_SAKHA : u32 = 133u32 ; pub const LANG_SAMI : u32 = 59u32 ; pub const LANG_SANSKRIT : u32 = 79u32 ; pub const LANG_SCOTTISH_GAELIC : u32 = 145u32 ; pub const LANG_SERBIAN : u32 = 26u32 ; pub const LANG_SERBIAN_NEUTRAL : u32 = 31770u32 ; pub const LANG_SINDHI : u32 = 89u32 ; pub const LANG_SINHALESE : u32 = 91u32 ; pub const LANG_SLOVAK : u32 = 27u32 ; pub const LANG_SLOVENIAN : u32 = 36u32 ; pub const LANG_SOTHO : u32 = 108u32 ; pub const LANG_SPANISH : u32 = 10u32 ; pub const LANG_SWAHILI : u32 = 65u32 ; pub const LANG_SWEDISH : u32 = 29u32 ; pub const LANG_SYRIAC : u32 = 90u32 ; pub const LANG_TAJIK : u32 = 40u32 ; pub const LANG_TAMAZIGHT : u32 = 95u32 ; pub const LANG_TAMIL : u32 = 73u32 ; pub const LANG_TATAR : u32 = 68u32 ; pub const LANG_TELUGU : u32 = 74u32 ; pub const LANG_THAI : u32 = 30u32 ; pub const LANG_TIBETAN : u32 = 81u32 ; pub const LANG_TIGRIGNA : u32 = 115u32 ; pub const LANG_TIGRINYA : u32 = 115u32 ; pub const LANG_TSWANA : u32 = 50u32 ; pub const LANG_TURKISH : u32 = 31u32 ; pub const LANG_TURKMEN : u32 = 66u32 ; pub const LANG_UIGHUR : u32 = 128u32 ; pub const LANG_UKRAINIAN : u32 = 34u32 ; pub const LANG_UPPER_SORBIAN : u32 = 46u32 ; pub const LANG_URDU : u32 = 32u32 ; pub const LANG_UZBEK : u32 = 67u32 ; pub const LANG_VALENCIAN : u32 = 3u32 ; pub const LANG_VIETNAMESE : u32 = 42u32 ; pub const LANG_WELSH : u32 = 82u32 ; pub const LANG_WOLOF : u32 = 136u32 ; pub const LANG_XHOSA : u32 = 52u32 ; pub const LANG_YAKUT : u32 = 133u32 ; pub const LANG_YI : u32 = 120u32 ; pub const LANG_YORUBA : u32 = 106u32 ; pub const LANG_ZULU : u32 = 53u32 ; pub const LA_ALTERNATE : u32 = 2u32 ; pub const LA_GEOMETRIC : u32 = 1u32 ; pub const LA_STARTGAP : u32 = 4u32 ; pub const LA_STYLED : u32 = 8u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct LIGATURE { pub culSize : u32 , pub pwsz : super::super::Foundation:: PWSTR , pub chglyph : u32 , pub ahglyph : [ u32 ;1 ] } impl LIGATURE { } impl :: std :: default :: Default for LIGATURE { fn default ( ) -> Self { Self { culSize : 0 , pwsz : :: std :: default :: Default :: default ( ) , chglyph : 0 , ahglyph : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for LIGATURE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "LIGATURE" ) . field ( "culSize" , & self . culSize ) . field ( "pwsz" , & self . pwsz ) . field ( "chglyph" , & self . chglyph ) . field ( "ahglyph" , & self . ahglyph ) . finish ( ) } } impl :: std :: cmp :: PartialEq for LIGATURE { fn eq ( & self , other : & Self ) -> bool { self . culSize == other . culSize && self . pwsz == other . pwsz && self . chglyph == other . chglyph && self . ahglyph == other . ahglyph } } impl :: std :: cmp :: Eq for LIGATURE { } unsafe impl :: windows :: Abi for LIGATURE { type Abi = Self ; type DefaultType = Self ; } pub const LMEM_DISCARDABLE : u32 = 3840u32 ; pub const LMEM_DISCARDED : u32 = 16384u32 ; pub const LMEM_INVALID_HANDLE : u32 = 32768u32 ; pub const LMEM_LOCKCOUNT : u32 = 255u32 ; pub const LMEM_MODIFY : u32 = 128u32 ; pub const LMEM_NOCOMPACT : u32 = 16u32 ; pub const LMEM_NODISCARD : u32 = 32u32 ; pub const LMEM_VALID_FLAGS : u32 = 3954u32 ; pub const LOCALE_NAME_MAX_LENGTH : u32 = 85u32 ; pub const LOCALE_TRANSIENT_KEYBOARD1 : u32 = 8192u32 ; pub const LOCALE_TRANSIENT_KEYBOARD2 : u32 = 9216u32 ; pub const LOCALE_TRANSIENT_KEYBOARD3 : u32 = 10240u32 ; pub const LOCALE_TRANSIENT_KEYBOARD4 : u32 = 11264u32 ; pub const LOCKF_LOGICAL_LOCK : u32 = 0u32 ; pub const LOCKF_PHYSICAL_LOCK : u32 = 1u32 ; pub const LOCKP_ALLOW_MEM_MAPPING : u32 = 0u32 ; pub const LOCKP_ALLOW_WRITES : u32 = 1u32 ; pub const LOCKP_FAIL_MEM_MAPPING : u32 = 2u32 ; pub const LOCKP_FAIL_WRITES : u32 = 0u32 ; pub const LOCKP_LOCK_FOR_FORMAT : u32 = 4u32 ; pub const LOCKP_USER_MASK : u32 = 3u32 ; pub const LOCK_ELEMENT : u32 = 0u32 ; pub const LOCK_UNLOCK_DOOR : u32 = 2u32 ; pub const LOCK_UNLOCK_IEPORT : u32 = 1u32 ; pub const LOCK_UNLOCK_KEYPAD : u32 = 4u32 ; pub const LOOKUP_STREAM_FROM_CLUSTER_ENTRY_ATTRIBUTE_DATA : u32 = 16777216u32 ; pub const LOOKUP_STREAM_FROM_CLUSTER_ENTRY_ATTRIBUTE_INDEX : u32 = 33554432u32 ; pub const LOOKUP_STREAM_FROM_CLUSTER_ENTRY_ATTRIBUTE_MASK : u32 = 4278190080u32 ; pub const LOOKUP_STREAM_FROM_CLUSTER_ENTRY_ATTRIBUTE_SYSTEM : u32 = 50331648u32 ; pub const LOOKUP_STREAM_FROM_CLUSTER_ENTRY_FLAG_DENY_DEFRAG_SET : u32 = 2u32 ; pub const LOOKUP_STREAM_FROM_CLUSTER_ENTRY_FLAG_FS_SYSTEM_FILE : u32 = 4u32 ; pub const LOOKUP_STREAM_FROM_CLUSTER_ENTRY_FLAG_PAGE_FILE : u32 = 1u32 ; pub const LOOKUP_STREAM_FROM_CLUSTER_ENTRY_FLAG_TXF_SYSTEM_FILE : u32 = 8u32 ; pub type LPD3DENUMDEVICESCALLBACK = unsafe extern "system" fn ( lpguid : * mut :: windows :: Guid , lpdevicedescription : super::super::Foundation:: PSTR , lpdevicename : super::super::Foundation:: PSTR , param3 : * mut _D3DDeviceDesc , param4 : * mut _D3DDeviceDesc , param5 : * mut :: std :: ffi :: c_void ) -> :: windows :: HRESULT ; pub type LPD3DENUMDEVICESCALLBACK7 = unsafe extern "system" fn ( lpdevicedescription : super::super::Foundation:: PSTR , lpdevicename : super::super::Foundation:: PSTR , param2 : * mut _D3DDeviceDesc7 , param3 : * mut :: std :: ffi :: c_void ) -> :: windows :: HRESULT ; pub type LPD3DENUMPIXELFORMATSCALLBACK = unsafe extern "system" fn ( lpddpixfmt : * mut super::super::Graphics::DirectDraw:: DDPIXELFORMAT , lpcontext : * mut :: std :: ffi :: c_void ) -> :: windows :: HRESULT ; pub type LPD3DENUMTEXTUREFORMATSCALLBACK = unsafe extern "system" fn ( lpddsd : * mut super::super::Graphics::DirectDraw:: DDSURFACEDESC , lpcontext : * mut :: std :: ffi :: c_void ) -> :: windows :: HRESULT ; pub type LPD3DNTHAL_CLEAR2CB = unsafe extern "system" fn ( param0 : * mut D3DNTHAL_CLEAR2DATA ) -> u32 ; pub type LPD3DNTHAL_CONTEXTCREATECB = unsafe extern "system" fn ( param0 : * mut D3DNTHAL_CONTEXTCREATEDATA ) -> u32 ; pub type LPD3DNTHAL_CONTEXTDESTROYALLCB = unsafe extern "system" fn ( param0 : * mut D3DNTHAL_CONTEXTDESTROYALLDATA ) -> u32 ; pub type LPD3DNTHAL_CONTEXTDESTROYCB = unsafe extern "system" fn ( param0 : * mut D3DNTHAL_CONTEXTDESTROYDATA ) -> u32 ; pub type LPD3DNTHAL_DRAWPRIMITIVES2CB = unsafe extern "system" fn ( param0 : * mut D3DNTHAL_DRAWPRIMITIVES2DATA ) -> u32 ; pub type LPD3DNTHAL_SCENECAPTURECB = unsafe extern "system" fn ( param0 : * mut D3DNTHAL_SCENECAPTUREDATA ) -> u32 ; pub type LPD3DNTHAL_SETRENDERTARGETCB = unsafe extern "system" fn ( param0 : * mut D3DNTHAL_SETRENDERTARGETDATA ) -> u32 ; pub type LPD3DNTHAL_TEXTURECREATECB = unsafe extern "system" fn ( param0 : * mut D3DNTHAL_TEXTURECREATEDATA ) -> u32 ; pub type LPD3DNTHAL_TEXTUREDESTROYCB = unsafe extern "system" fn ( param0 : * mut D3DNTHAL_TEXTUREDESTROYDATA ) -> u32 ; pub type LPD3DNTHAL_TEXTUREGETSURFCB = unsafe extern "system" fn ( param0 : * mut D3DNTHAL_TEXTUREGETSURFDATA ) -> u32 ; pub type LPD3DNTHAL_TEXTURESWAPCB = unsafe extern "system" fn ( param0 : * mut D3DNTHAL_TEXTURESWAPDATA ) -> u32 ; pub type LPD3DNTHAL_VALIDATETEXTURESTAGESTATECB = unsafe extern "system" fn ( param0 : * mut D3DNTHAL_VALIDATETEXTURESTAGESTATEDATA ) -> u32 ; pub type LPD3DVALIDATECALLBACK = unsafe extern "system" fn ( lpuserarg : * mut :: std :: ffi :: c_void , dwoffset : u32 ) -> :: windows :: HRESULT ; pub type LPTHREAD_START_ROUTINE = unsafe extern "system" fn ( lpthreadparameter : * mut :: std :: ffi :: c_void ) -> u32 ; pub type LPTIMECALLBACK = unsafe extern "system" fn ( utimerid : u32 , umsg : u32 , dwuser : usize , dw1 : usize , dw2 : usize ) ; pub const LTP_PC_SMT : u32 = 1u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct LUID { pub LowPart : u32 , pub HighPart : i32 } impl LUID { } impl :: std :: default :: Default for LUID { fn default ( ) -> Self { Self { LowPart : 0 , HighPart : 0 } } } impl :: std :: fmt :: Debug for LUID { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "LUID" ) . field ( "LowPart" , & self . LowPart ) . field ( "HighPart" , & self . HighPart ) . finish ( ) } } impl :: std :: cmp :: PartialEq for LUID { fn eq ( & self , other : & Self ) -> bool { self . LowPart == other . LowPart && self . HighPart == other . HighPart } } impl :: std :: cmp :: Eq for LUID { } unsafe impl :: windows :: Abi for LUID { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct M128A { pub Low : u64 , pub High : i64 } impl M128A { } impl :: std :: default :: Default for M128A { fn default ( ) -> Self { Self { Low : 0 , High : 0 } } } impl :: std :: fmt :: Debug for M128A { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "M128A" ) . field ( "Low" , & self . Low ) . field ( "High" , & self . High ) . finish ( ) } } impl :: std :: cmp :: PartialEq for M128A { fn eq ( & self , other : & Self ) -> bool { self . Low == other . Low && self . High == other . High } } impl :: std :: cmp :: Eq for M128A { } unsafe impl :: windows :: Abi for M128A { type Abi = Self ; type DefaultType = Self ; } pub const MARK_HANDLE_CLOUD_SYNC : u32 = 2048u32 ; pub const MARK_HANDLE_DISABLE_FILE_METADATA_OPTIMIZATION : u32 = 4096u32 ; pub const MARK_HANDLE_ENABLE_CPU_CACHE : u32 = 268435456u32 ; pub const MARK_HANDLE_ENABLE_USN_SOURCE_ON_PAGING_IO : u32 = 8192u32 ; pub const MARK_HANDLE_FILTER_METADATA : u32 = 512u32 ; pub const MARK_HANDLE_NOT_READ_COPY : u32 = 256u32 ; pub const MARK_HANDLE_NOT_REALTIME : u32 = 64u32 ; pub const MARK_HANDLE_NOT_TXF_SYSTEM_LOG : u32 = 8u32 ; pub const MARK_HANDLE_PROTECT_CLUSTERS : u32 = 1u32 ; pub const MARK_HANDLE_READ_COPY : u32 = 128u32 ; pub const MARK_HANDLE_REALTIME : u32 = 32u32 ; pub const MARK_HANDLE_RETURN_PURGE_FAILURE : u32 = 1024u32 ; pub const MARK_HANDLE_SKIP_COHERENCY_SYNC_DISALLOW_WRITES : u32 = 16384u32 ; pub const MARK_HANDLE_TXF_SYSTEM_LOG : u32 = 4u32 ; pub const MAXBYTE : u32 = 255u32 ; pub const MAXCHAR : u32 = 127u32 ; pub const MAXCHARSETS : u32 = 16u32 ; pub const MAXDWORD : u32 = 4294967295u32 ; pub const MAXIMUM_ALLOWED : u32 = 33554432u32 ; pub const MAXIMUM_ENCRYPTION_VALUE : u32 = 4u32 ; pub const MAXIMUM_PROC_PER_GROUP : u32 = 64u32 ; pub const MAXIMUM_SUPPORTED_EXTENSION : u32 = 512u32 ; pub const MAXIMUM_WAIT_OBJECTS : u32 = 64u32 ; pub const MAXIMUM_XSTATE_FEATURES : u32 = 64u32 ; pub const MAXLOGICALLOGNAMESIZE : u32 = 256u32 ; pub const MAXLONG : u32 = 2147483647u32 ; pub const MAXLONGLONG : u64 = 9223372036854775807u64 ; pub const MAXSHORT : u32 = 32767u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct MAXVERSIONTESTED_INFO { pub MaxVersionTested : u64 } impl MAXVERSIONTESTED_INFO { } impl :: std :: default :: Default for MAXVERSIONTESTED_INFO { fn default ( ) -> Self { Self { MaxVersionTested : 0 } } } impl :: std :: fmt :: Debug for MAXVERSIONTESTED_INFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "MAXVERSIONTESTED_INFO" ) . field ( "MaxVersionTested" , & self . MaxVersionTested ) . finish ( ) } } impl :: std :: cmp :: PartialEq for MAXVERSIONTESTED_INFO { fn eq ( & self , other : & Self ) -> bool { self . MaxVersionTested == other . MaxVersionTested } } impl :: std :: cmp :: Eq for MAXVERSIONTESTED_INFO { } unsafe impl :: windows :: Abi for MAXVERSIONTESTED_INFO { type Abi = Self ; type DefaultType = Self ; } pub const MAXWORD : u32 = 65535u32 ; pub const MAX_DEVPROP_TYPE : u32 = 25u32 ; pub const MAX_DEVPROP_TYPEMOD : u32 = 8192u32 ; pub const MAX_FW_BUCKET_ID_LENGTH : u32 = 132u32 ; pub const MAX_HW_COUNTERS : u32 = 16u32 ; pub const MAX_INTERFACE_CODES : u32 = 8u32 ; pub const MAX_UCSCHAR : u32 = 1114111u32 ; pub const MAX_VOLUME_ID_SIZE : u32 = 36u32 ; pub const MAX_VOLUME_TEMPLATE_SIZE : u32 = 40u32 ; pub const MEDIA_CURRENTLY_MOUNTED : u32 = 2147483648u32 ; pub const MEDIA_ERASEABLE : u32 = 1u32 ; pub const MEDIA_READ_ONLY : u32 = 4u32 ; pub const MEDIA_READ_WRITE : u32 = 8u32 ; pub const MEDIA_WRITE_ONCE : u32 = 2u32 ; pub const MEDIA_WRITE_PROTECTED : u32 = 256u32 ; pub const MEMORY_ALLOCATION_ALIGNMENT : u32 = 16u32 ; pub const MEMORY_PRIORITY_LOWEST : u32 = 0u32 ; pub const MEM_4MB_PAGES : u32 = 2147483648u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct MEM_ADDRESS_REQUIREMENTS { pub LowestStartingAddress : * mut :: std :: ffi :: c_void , pub HighestEndingAddress : * mut :: std :: ffi :: c_void , pub Alignment : usize } impl MEM_ADDRESS_REQUIREMENTS { } impl :: std :: default :: Default for MEM_ADDRESS_REQUIREMENTS { fn default ( ) -> Self { Self { LowestStartingAddress : :: std :: ptr :: null_mut ( ) , HighestEndingAddress : :: std :: ptr :: null_mut ( ) , Alignment : 0 } } } impl :: std :: fmt :: Debug for MEM_ADDRESS_REQUIREMENTS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "MEM_ADDRESS_REQUIREMENTS" ) . field ( "LowestStartingAddress" , & self . LowestStartingAddress ) . field ( "HighestEndingAddress" , & self . HighestEndingAddress ) . field ( "Alignment" , & self . Alignment ) . finish ( ) } } impl :: std :: cmp :: PartialEq for MEM_ADDRESS_REQUIREMENTS { fn eq ( & self , other : & Self ) -> bool { self . LowestStartingAddress == other . LowestStartingAddress && self . HighestEndingAddress == other . HighestEndingAddress && self . Alignment == other . Alignment } } impl :: std :: cmp :: Eq for MEM_ADDRESS_REQUIREMENTS { } unsafe impl :: windows :: Abi for MEM_ADDRESS_REQUIREMENTS { type Abi = Self ; type DefaultType = Self ; } pub const MEM_COALESCE_PLACEHOLDERS : u32 = 1u32 ; pub const MEM_DIFFERENT_IMAGE_BASE_OK : u32 = 8388608u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct MEM_EXTENDED_PARAMETER { pub Anonymous1 : MEM_EXTENDED_PARAMETER_0 , pub Anonymous2 : MEM_EXTENDED_PARAMETER_1 } impl MEM_EXTENDED_PARAMETER { } impl :: std :: cmp :: PartialEq for MEM_EXTENDED_PARAMETER { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for MEM_EXTENDED_PARAMETER { } unsafe impl :: windows :: Abi for MEM_EXTENDED_PARAMETER { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct MEM_EXTENDED_PARAMETER_0 { pub _bitfield : u64 } impl MEM_EXTENDED_PARAMETER_0 { } impl :: std :: default :: Default for MEM_EXTENDED_PARAMETER_0 { fn default ( ) -> Self { Self { _bitfield : 0 } } } impl :: std :: fmt :: Debug for MEM_EXTENDED_PARAMETER_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Anonymous1_e__Struct" ) . field ( "_bitfield" , & self . _bitfield ) . finish ( ) } } impl :: std :: cmp :: PartialEq for MEM_EXTENDED_PARAMETER_0 { fn eq ( & self , other : & Self ) -> bool { self . _bitfield == other . _bitfield } } impl :: std :: cmp :: Eq for MEM_EXTENDED_PARAMETER_0 { } unsafe impl :: windows :: Abi for MEM_EXTENDED_PARAMETER_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union MEM_EXTENDED_PARAMETER_1 { pub ULong64 : u64 , pub Pointer : * mut :: std :: ffi :: c_void , pub Size : usize , pub Handle : super::super::Foundation:: HANDLE , pub ULong : u32 } impl MEM_EXTENDED_PARAMETER_1 { } impl :: std :: cmp :: PartialEq for MEM_EXTENDED_PARAMETER_1 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for MEM_EXTENDED_PARAMETER_1 { } unsafe impl :: windows :: Abi for MEM_EXTENDED_PARAMETER_1 { type Abi = Self ; type DefaultType = Self ; } pub const MEM_EXTENDED_PARAMETER_GRAPHICS : u32 = 1u32 ; pub const MEM_EXTENDED_PARAMETER_NONPAGED : u32 = 2u32 ; pub const MEM_EXTENDED_PARAMETER_NONPAGED_HUGE : u32 = 16u32 ; pub const MEM_EXTENDED_PARAMETER_NONPAGED_LARGE : u32 = 8u32 ; pub const MEM_EXTENDED_PARAMETER_SOFT_FAULT_PAGES : u32 = 32u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct MEM_EXTENDED_PARAMETER_TYPE ( pub i32 ) ; pub const MemExtendedParameterInvalidType : MEM_EXTENDED_PARAMETER_TYPE = MEM_EXTENDED_PARAMETER_TYPE ( 0i32 ) ; pub const MemExtendedParameterAddressRequirements : MEM_EXTENDED_PARAMETER_TYPE = MEM_EXTENDED_PARAMETER_TYPE ( 1i32 ) ; pub const MemExtendedParameterNumaNode : MEM_EXTENDED_PARAMETER_TYPE = MEM_EXTENDED_PARAMETER_TYPE ( 2i32 ) ; pub const MemExtendedParameterPartitionHandle : MEM_EXTENDED_PARAMETER_TYPE = MEM_EXTENDED_PARAMETER_TYPE ( 3i32 ) ; pub const MemExtendedParameterUserPhysicalHandle : MEM_EXTENDED_PARAMETER_TYPE = MEM_EXTENDED_PARAMETER_TYPE ( 4i32 ) ; pub const MemExtendedParameterAttributeFlags : MEM_EXTENDED_PARAMETER_TYPE = MEM_EXTENDED_PARAMETER_TYPE ( 5i32 ) ; pub const MemExtendedParameterMax : MEM_EXTENDED_PARAMETER_TYPE = MEM_EXTENDED_PARAMETER_TYPE ( 6i32 ) ; impl :: std :: convert :: From < i32 > for MEM_EXTENDED_PARAMETER_TYPE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for MEM_EXTENDED_PARAMETER_TYPE { type Abi = Self ; type DefaultType = Self ; } pub const MEM_EXTENDED_PARAMETER_TYPE_BITS : u32 = 8u32 ; pub const MEM_EXTENDED_PARAMETER_ZERO_PAGES_OPTIONAL : u32 = 4u32 ; pub const MEM_PHYSICAL : u32 = 4194304u32 ; pub const MEM_ROTATE : u32 = 8388608u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct MEM_SECTION_EXTENDED_PARAMETER_TYPE ( pub i32 ) ; pub const MemSectionExtendedParameterInvalidType : MEM_SECTION_EXTENDED_PARAMETER_TYPE = MEM_SECTION_EXTENDED_PARAMETER_TYPE ( 0i32 ) ; pub const MemSectionExtendedParameterUserPhysicalFlags : MEM_SECTION_EXTENDED_PARAMETER_TYPE = MEM_SECTION_EXTENDED_PARAMETER_TYPE ( 1i32 ) ; pub const MemSectionExtendedParameterNumaNode : MEM_SECTION_EXTENDED_PARAMETER_TYPE = MEM_SECTION_EXTENDED_PARAMETER_TYPE ( 2i32 ) ; pub const MemSectionExtendedParameterMax : MEM_SECTION_EXTENDED_PARAMETER_TYPE = MEM_SECTION_EXTENDED_PARAMETER_TYPE ( 3i32 ) ; impl :: std :: convert :: From < i32 > for MEM_SECTION_EXTENDED_PARAMETER_TYPE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for MEM_SECTION_EXTENDED_PARAMETER_TYPE { type Abi = Self ; type DefaultType = Self ; } pub const MEM_TOP_DOWN : u32 = 1048576u32 ; pub const MEM_WRITE_WATCH : u32 = 2097152u32 ; pub const MESSAGE_RESOURCE_UNICODE : u32 = 1u32 ; pub const MESSAGE_RESOURCE_UTF8 : u32 = 2u32 ; pub const METHOD_BUFFERED : u32 = 0u32 ; pub const METHOD_IN_DIRECT : u32 = 1u32 ; pub const METHOD_NEITHER : u32 = 3u32 ; pub const METHOD_OUT_DIRECT : u32 = 2u32 ; pub const MINCHAR : u32 = 128u32 ; pub const MINLONG : u32 = 2147483648u32 ; pub const MINSHORT : u32 = 32768u32 ; pub const MIN_UCSCHAR : u32 = 0u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct MONITOR_DISPLAY_STATE ( pub i32 ) ; pub const PowerMonitorOff : MONITOR_DISPLAY_STATE = MONITOR_DISPLAY_STATE ( 0i32 ) ; pub const PowerMonitorOn : MONITOR_DISPLAY_STATE = MONITOR_DISPLAY_STATE ( 1i32 ) ; pub const PowerMonitorDim : MONITOR_DISPLAY_STATE = MONITOR_DISPLAY_STATE ( 2i32 ) ; impl :: std :: convert :: From < i32 > for MONITOR_DISPLAY_STATE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for MONITOR_DISPLAY_STATE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct MOVE_FILE_DATA32 { pub FileHandle : u32 , pub StartingVcn : i64 , pub StartingLcn : i64 , pub ClusterCount : u32 } impl MOVE_FILE_DATA32 { } impl :: std :: default :: Default for MOVE_FILE_DATA32 { fn default ( ) -> Self { Self { FileHandle : 0 , StartingVcn : 0 , StartingLcn : 0 , ClusterCount : 0 } } } impl :: std :: fmt :: Debug for MOVE_FILE_DATA32 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "MOVE_FILE_DATA32" ) . field ( "FileHandle" , & self . FileHandle ) . field ( "StartingVcn" , & self . StartingVcn ) . field ( "StartingLcn" , & self . StartingLcn ) . field ( "ClusterCount" , & self . ClusterCount ) . finish ( ) } } impl :: std :: cmp :: PartialEq for MOVE_FILE_DATA32 { fn eq ( & self , other : & Self ) -> bool { self . FileHandle == other . FileHandle && self . StartingVcn == other . StartingVcn && self . StartingLcn == other . StartingLcn && self . ClusterCount == other . ClusterCount } } impl :: std :: cmp :: Eq for MOVE_FILE_DATA32 { } unsafe impl :: windows :: Abi for MOVE_FILE_DATA32 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct MOVE_FILE_RECORD_DATA { pub FileHandle : super::super::Foundation:: HANDLE , pub SourceFileRecord : i64 , pub TargetFileRecord : i64 } impl MOVE_FILE_RECORD_DATA { } impl :: std :: default :: Default for MOVE_FILE_RECORD_DATA { fn default ( ) -> Self { Self { FileHandle : :: std :: default :: Default :: default ( ) , SourceFileRecord : 0 , TargetFileRecord : 0 } } } impl :: std :: fmt :: Debug for MOVE_FILE_RECORD_DATA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "MOVE_FILE_RECORD_DATA" ) . field ( "FileHandle" , & self . FileHandle ) . field ( "SourceFileRecord" , & self . SourceFileRecord ) . field ( "TargetFileRecord" , & self . TargetFileRecord ) . finish ( ) } } impl :: std :: cmp :: PartialEq for MOVE_FILE_RECORD_DATA { fn eq ( & self , other : & Self ) -> bool { self . FileHandle == other . FileHandle && self . SourceFileRecord == other . SourceFileRecord && self . TargetFileRecord == other . TargetFileRecord } } impl :: std :: cmp :: Eq for MOVE_FILE_RECORD_DATA { } unsafe impl :: windows :: Abi for MOVE_FILE_RECORD_DATA { type Abi = Self ; type DefaultType = Self ; } pub const MS_CDDDEVICEBITMAP : u32 = 4u32 ; pub const MS_NOTSYSTEMMEMORY : u32 = 1u32 ; pub const MS_PPM_SOFTWARE_ALL : u32 = 1u32 ; pub const MS_REUSEDDEVICEBITMAP : u32 = 8u32 ; pub const MS_SHAREDACCESS : u32 = 2u32 ; pub const MUTANT_QUERY_STATE : u32 = 1u32 ; pub const NETWORK_APP_INSTANCE_CSV_FLAGS_VALID_ONLY_IF_CSV_COORDINATOR : u32 = 1u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct NETWORK_APP_INSTANCE_EA { pub AppInstanceID : :: windows :: Guid , pub CsvFlags : u32 } impl NETWORK_APP_INSTANCE_EA { } impl :: std :: default :: Default for NETWORK_APP_INSTANCE_EA { fn default ( ) -> Self { Self { AppInstanceID : :: std :: default :: Default :: default ( ) , CsvFlags : 0 } } } impl :: std :: fmt :: Debug for NETWORK_APP_INSTANCE_EA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "NETWORK_APP_INSTANCE_EA" ) . field ( "AppInstanceID" , & self . AppInstanceID ) . field ( "CsvFlags" , & self . CsvFlags ) . finish ( ) } } impl :: std :: cmp :: PartialEq for NETWORK_APP_INSTANCE_EA { fn eq ( & self , other : & Self ) -> bool { self . AppInstanceID == other . AppInstanceID && self . CsvFlags == other . CsvFlags } } impl :: std :: cmp :: Eq for NETWORK_APP_INSTANCE_EA { } unsafe impl :: windows :: Abi for NETWORK_APP_INSTANCE_EA { type Abi = Self ; type DefaultType = Self ; } pub const NLS_VALID_LOCALE_MASK : u32 = 1048575u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 4 ) ) ] pub struct NON_PAGED_DEBUG_INFO { pub Signature : u16 , pub Flags : u16 , pub Size : u32 , pub Machine : u16 , pub Characteristics : u16 , pub TimeDateStamp : u32 , pub CheckSum : u32 , pub SizeOfImage : u32 , pub ImageBase : u64 } impl NON_PAGED_DEBUG_INFO { } impl :: std :: cmp :: PartialEq for NON_PAGED_DEBUG_INFO { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for NON_PAGED_DEBUG_INFO { } unsafe impl :: windows :: Abi for NON_PAGED_DEBUG_INFO { type Abi = Self ; type DefaultType = Self ; } pub const NON_PAGED_DEBUG_SIGNATURE : u32 = 18766u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct NOTIFY_USER_POWER_SETTING { pub Guid : :: windows :: Guid } impl NOTIFY_USER_POWER_SETTING { } impl :: std :: default :: Default for NOTIFY_USER_POWER_SETTING { fn default ( ) -> Self { Self { Guid : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for NOTIFY_USER_POWER_SETTING { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "NOTIFY_USER_POWER_SETTING" ) . field ( "Guid" , & self . Guid ) . finish ( ) } } impl :: std :: cmp :: PartialEq for NOTIFY_USER_POWER_SETTING { fn eq ( & self , other : & Self ) -> bool { self . Guid == other . Guid } } impl :: std :: cmp :: Eq for NOTIFY_USER_POWER_SETTING { } unsafe impl :: windows :: Abi for NOTIFY_USER_POWER_SETTING { type Abi = Self ; type DefaultType = Self ; } pub const NO_SUBGROUP_GUID : :: windows :: Guid = :: windows :: Guid :: from_values ( 4272111934 ,32261 ,18705 , [ 154 ,113 ,112 ,3 ,49 ,241 ,194 ,148 ] , ) ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct NT_TIB { pub ExceptionList : * mut EXCEPTION_REGISTRATION_RECORD , pub StackBase : * mut :: std :: ffi :: c_void , pub StackLimit : * mut :: std :: ffi :: c_void , pub SubSystemTib : * mut :: std :: ffi :: c_void , pub Anonymous : NT_TIB_0 , pub ArbitraryUserPointer : * mut :: std :: ffi :: c_void , pub Self_ : * mut NT_TIB } impl NT_TIB { } impl :: std :: cmp :: PartialEq for NT_TIB { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for NT_TIB { } unsafe impl :: windows :: Abi for NT_TIB { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union NT_TIB_0 { pub FiberData : * mut :: std :: ffi :: c_void , pub Version : u32 } impl NT_TIB_0 { } impl :: std :: cmp :: PartialEq for NT_TIB_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for NT_TIB_0 { } unsafe impl :: windows :: Abi for NT_TIB_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct NT_TIB32 { pub ExceptionList : u32 , pub StackBase : u32 , pub StackLimit : u32 , pub SubSystemTib : u32 , pub Anonymous : NT_TIB32_0 , pub ArbitraryUserPointer : u32 , pub Self_ : u32 } impl NT_TIB32 { } impl :: std :: cmp :: PartialEq for NT_TIB32 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for NT_TIB32 { } unsafe impl :: windows :: Abi for NT_TIB32 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union NT_TIB32_0 { pub FiberData : u32 , pub Version : u32 } impl NT_TIB32_0 { } impl :: std :: cmp :: PartialEq for NT_TIB32_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for NT_TIB32_0 { } unsafe impl :: windows :: Abi for NT_TIB32_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct NT_TIB64 { pub ExceptionList : u64 , pub StackBase : u64 , pub StackLimit : u64 , pub SubSystemTib : u64 , pub Anonymous : NT_TIB64_0 , pub ArbitraryUserPointer : u64 , pub Self_ : u64 } impl NT_TIB64 { } impl :: std :: cmp :: PartialEq for NT_TIB64 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for NT_TIB64 { } unsafe impl :: windows :: Abi for NT_TIB64 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union NT_TIB64_0 { pub FiberData : u64 , pub Version : u32 } impl NT_TIB64_0 { } impl :: std :: cmp :: PartialEq for NT_TIB64_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for NT_TIB64_0 { } unsafe impl :: windows :: Abi for NT_TIB64_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct NUMA_NODE_RELATIONSHIP { pub NodeNumber : u32 , pub Reserved : [ u8 ;20 ] , pub GroupMask : super::Kernel:: GROUP_AFFINITY } impl NUMA_NODE_RELATIONSHIP { } impl :: std :: default :: Default for NUMA_NODE_RELATIONSHIP { fn default ( ) -> Self { Self { NodeNumber : 0 , Reserved : [ 0 ;20 ] , GroupMask : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for NUMA_NODE_RELATIONSHIP { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "NUMA_NODE_RELATIONSHIP" ) . field ( "NodeNumber" , & self . NodeNumber ) . field ( "Reserved" , & self . Reserved ) . field ( "GroupMask" , & self . GroupMask ) . finish ( ) } } impl :: std :: cmp :: PartialEq for NUMA_NODE_RELATIONSHIP { fn eq ( & self , other : & Self ) -> bool { self . NodeNumber == other . NodeNumber && self . Reserved == other . Reserved && self . GroupMask == other . GroupMask } } impl :: std :: cmp :: Eq for NUMA_NODE_RELATIONSHIP { } unsafe impl :: windows :: Abi for NUMA_NODE_RELATIONSHIP { type Abi = Self ; type DefaultType = Self ; } pub const NUM_DISCHARGE_POLICIES : u32 = 4u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct NV_MEMORY_RANGE { pub BaseAddress : * mut :: std :: ffi :: c_void , pub Length : usize } impl NV_MEMORY_RANGE { } impl :: std :: default :: Default for NV_MEMORY_RANGE { fn default ( ) -> Self { Self { BaseAddress : :: std :: ptr :: null_mut ( ) , Length : 0 } } } impl :: std :: fmt :: Debug for NV_MEMORY_RANGE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "NV_MEMORY_RANGE" ) . field ( "BaseAddress" , & self . BaseAddress ) . field ( "Length" , & self . Length ) . finish ( ) } } impl :: std :: cmp :: PartialEq for NV_MEMORY_RANGE { fn eq ( & self , other : & Self ) -> bool { self . BaseAddress == other . BaseAddress && self . Length == other . Length } } impl :: std :: cmp :: Eq for NV_MEMORY_RANGE { } unsafe impl :: windows :: Abi for NV_MEMORY_RANGE { type Abi = Self ; type DefaultType = Self ; } pub const N_BTMASK : u32 = 15u32 ; pub const N_BTSHFT : u32 = 4u32 ; pub const N_TMASK : u32 = 48u32 ; pub const N_TMASK1 : u32 = 192u32 ; pub const N_TMASK2 : u32 = 240u32 ; pub const N_TSHIFT : u32 = 2u32 ; pub const OBSOLETE_DISK_GET_WRITE_CACHE_STATE : u32 = 475356u32 ; pub const OBSOLETE_IOCTL_STORAGE_RESET_BUS : u32 = 3002368u32 ; pub const OBSOLETE_IOCTL_STORAGE_RESET_DEVICE : u32 = 3002372u32 ; pub const OC_BANK_CLIP : u32 = 1u32 ; pub const OFFLOAD_READ_FLAG_ALL_ZERO_BEYOND_CURRENT_RANGE : u32 = 1u32 ; pub const OPENGL_CMD : u32 = 4352u32 ; pub const OPENGL_GETINFO : u32 = 4353u32 ; pub const OPLOCK_LEVEL_CACHE_HANDLE : u32 = 2u32 ; pub const OPLOCK_LEVEL_CACHE_READ : u32 = 1u32 ; pub const OPLOCK_LEVEL_CACHE_WRITE : u32 = 4u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct OS_DEPLOYEMENT_STATE_VALUES ( pub i32 ) ; pub const OS_DEPLOYMENT_STANDARD : OS_DEPLOYEMENT_STATE_VALUES = OS_DEPLOYEMENT_STATE_VALUES ( 1i32 ) ; pub const OS_DEPLOYMENT_COMPACT : OS_DEPLOYEMENT_STATE_VALUES = OS_DEPLOYEMENT_STATE_VALUES ( 2i32 ) ; impl :: std :: convert :: From < i32 > for OS_DEPLOYEMENT_STATE_VALUES { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for OS_DEPLOYEMENT_STATE_VALUES { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct OVERLAPPED { pub Internal : usize , pub InternalHigh : usize , pub Anonymous : OVERLAPPED_0 , pub hEvent : super::super::Foundation:: HANDLE } impl OVERLAPPED { } impl :: std :: cmp :: PartialEq for OVERLAPPED { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for OVERLAPPED { } unsafe impl :: windows :: Abi for OVERLAPPED { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union OVERLAPPED_0 { pub Anonymous : OVERLAPPED_0_0 , pub Pointer : * mut :: std :: ffi :: c_void } impl OVERLAPPED_0 { } impl :: std :: cmp :: PartialEq for OVERLAPPED_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for OVERLAPPED_0 { } unsafe impl :: windows :: Abi for OVERLAPPED_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct OVERLAPPED_0_0 { pub Offset : u32 , pub OffsetHigh : u32 } impl OVERLAPPED_0_0 { } impl :: std :: default :: Default for OVERLAPPED_0_0 { fn default ( ) -> Self { Self { Offset : 0 , OffsetHigh : 0 } } } impl :: std :: fmt :: Debug for OVERLAPPED_0_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Anonymous_e__Struct" ) . field ( "Offset" , & self . Offset ) . field ( "OffsetHigh" , & self . OffsetHigh ) . finish ( ) } } impl :: std :: cmp :: PartialEq for OVERLAPPED_0_0 { fn eq ( & self , other : & Self ) -> bool { self . Offset == other . Offset && self . OffsetHigh == other . OffsetHigh } } impl :: std :: cmp :: Eq for OVERLAPPED_0_0 { } unsafe impl :: windows :: Abi for OVERLAPPED_0_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PACKEDEVENTINFO { pub ulSize : u32 , pub ulNumEventsForLogFile : u32 , pub ulOffsets : u32 } impl PACKEDEVENTINFO { } impl :: std :: default :: Default for PACKEDEVENTINFO { fn default ( ) -> Self { Self { ulSize : 0 , ulNumEventsForLogFile : 0 , ulOffsets : 0 } } } impl :: std :: fmt :: Debug for PACKEDEVENTINFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "PACKEDEVENTINFO" ) . field ( "ulSize" , & self . ulSize ) . field ( "ulNumEventsForLogFile" , & self . ulNumEventsForLogFile ) . field ( "ulOffsets" , & self . ulOffsets ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PACKEDEVENTINFO { fn eq ( & self , other : & Self ) -> bool { self . ulSize == other . ulSize && self . ulNumEventsForLogFile == other . ulNumEventsForLogFile && self . ulOffsets == other . ulOffsets } } impl :: std :: cmp :: Eq for PACKEDEVENTINFO { } unsafe impl :: windows :: Abi for PACKEDEVENTINFO { type Abi = Self ; type DefaultType = Self ; } pub const PAL_BGR : u32 = 8u32 ; pub const PAL_BITFIELDS : u32 = 2u32 ; pub const PAL_CMYK : u32 = 16u32 ; pub const PAL_INDEXED : u32 = 1u32 ; pub const PAL_RGB : u32 = 4u32 ; pub type PAPCFUNC = unsafe extern "system" fn ( parameter : usize ) ; pub const PARTIITON_OS_DATA : u32 = 41u32 ; pub const PARTITION_BSP : u32 = 43u32 ; pub const PARTITION_DM : u32 = 84u32 ; pub const PARTITION_DPP : u32 = 44u32 ; pub const PARTITION_ENTRY_UNUSED : u32 = 0u32 ; pub const PARTITION_EXTENDED : u32 = 5u32 ; pub const PARTITION_EZDRIVE : u32 = 85u32 ; pub const PARTITION_FAT32 : u32 = 11u32 ; pub const PARTITION_FAT32_XINT13 : u32 = 12u32 ; pub const PARTITION_FAT_12 : u32 = 1u32 ; pub const PARTITION_FAT_16 : u32 = 4u32 ; pub const PARTITION_GPT : u32 = 238u32 ; pub const PARTITION_HUGE : u32 = 6u32 ; pub const PARTITION_IFS : u32 = 7u32 ; pub const PARTITION_LDM : u32 = 66u32 ; pub const PARTITION_MAIN_OS : u32 = 40u32 ; pub const PARTITION_MSFT_RECOVERY : u32 = 39u32 ; pub const PARTITION_NTFT : u32 = 128u32 ; pub const PARTITION_OS2BOOTMGR : u32 = 10u32 ; pub const PARTITION_PREP : u32 = 65u32 ; pub const PARTITION_PRE_INSTALLED : u32 = 42u32 ; pub const PARTITION_SPACES : u32 = 231u32 ; pub const PARTITION_SPACES_DATA : u32 = 215u32 ; pub const PARTITION_SYSTEM : u32 = 239u32 ; pub const PARTITION_UNIX : u32 = 99u32 ; pub const PARTITION_WINDOWS_SYSTEM : u32 = 45u32 ; pub const PARTITION_XENIX_1 : u32 = 2u32 ; pub const PARTITION_XENIX_2 : u32 = 3u32 ; pub const PARTITION_XINT13 : u32 = 14u32 ; pub const PARTITION_XINT13_EXTENDED : u32 = 15u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PATHNAME_BUFFER { pub PathNameLength : u32 , pub Name : [ u16 ;1 ] } impl PATHNAME_BUFFER { } impl :: std :: default :: Default for PATHNAME_BUFFER { fn default ( ) -> Self { Self { PathNameLength : 0 , Name : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for PATHNAME_BUFFER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "PATHNAME_BUFFER" ) . field ( "PathNameLength" , & self . PathNameLength ) . field ( "Name" , & self . Name ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PATHNAME_BUFFER { fn eq ( & self , other : & Self ) -> bool { self . PathNameLength == other . PathNameLength && self . Name == other . Name } } impl :: std :: cmp :: Eq for PATHNAME_BUFFER { } unsafe impl :: windows :: Abi for PATHNAME_BUFFER { type Abi = Self ; type DefaultType = Self ; } pub const PDCAP_D0_SUPPORTED : u32 = 1u32 ; pub const PDCAP_D1_SUPPORTED : u32 = 2u32 ; pub const PDCAP_D2_SUPPORTED : u32 = 4u32 ; pub const PDCAP_D3_SUPPORTED : u32 = 8u32 ; pub const PDCAP_WAKE_FROM_D0_SUPPORTED : u32 = 16u32 ; pub const PDCAP_WAKE_FROM_D1_SUPPORTED : u32 = 32u32 ; pub const PDCAP_WAKE_FROM_D2_SUPPORTED : u32 = 64u32 ; pub const PDCAP_WAKE_FROM_D3_SUPPORTED : u32 = 128u32 ; pub const PDCAP_WARM_EJECT_SUPPORTED : u32 = 256u32 ; pub const PD_BEGINSUBPATH : u32 = 1u32 ; pub const PD_BEZIERS : u32 = 16u32 ; pub const PD_CLOSEFIGURE : u32 = 8u32 ; pub const PD_ENDSUBPATH : u32 = 2u32 ; pub const PD_RESETSTYLE : u32 = 4u32 ; pub const PERFORMANCE_DATA_VERSION : u32 = 1u32 ; pub const PERFSTATE_POLICY_CHANGE_IDEAL : u32 = 0u32 ; pub const PERFSTATE_POLICY_CHANGE_IDEAL_AGGRESSIVE : u32 = 3u32 ; pub const PERFSTATE_POLICY_CHANGE_ROCKET : u32 = 2u32 ; pub const PERFSTATE_POLICY_CHANGE_SINGLE : u32 = 1u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PERF_BIN { pub NumberOfBins : u32 , pub TypeOfBin : u32 , pub BinsRanges : [ BIN_RANGE ;1 ] } impl PERF_BIN { } impl :: std :: default :: Default for PERF_BIN { fn default ( ) -> Self { Self { NumberOfBins : 0 , TypeOfBin : 0 , BinsRanges : [ :: std :: default :: Default :: default ( ) ;1 ] } } } impl :: std :: fmt :: Debug for PERF_BIN { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "PERF_BIN" ) . field ( "NumberOfBins" , & self . NumberOfBins ) . field ( "TypeOfBin" , & self . TypeOfBin ) . field ( "BinsRanges" , & self . BinsRanges ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PERF_BIN { fn eq ( & self , other : & Self ) -> bool { self . NumberOfBins == other . NumberOfBins && self . TypeOfBin == other . TypeOfBin && self . BinsRanges == other . BinsRanges } } impl :: std :: cmp :: Eq for PERF_BIN { } unsafe impl :: windows :: Abi for PERF_BIN { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PERSISTENT_RESERVE_COMMAND { pub Version : u32 , pub Size : u32 , pub Anonymous : PERSISTENT_RESERVE_COMMAND_0 } impl PERSISTENT_RESERVE_COMMAND { } impl :: std :: cmp :: PartialEq for PERSISTENT_RESERVE_COMMAND { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for PERSISTENT_RESERVE_COMMAND { } unsafe impl :: windows :: Abi for PERSISTENT_RESERVE_COMMAND { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union PERSISTENT_RESERVE_COMMAND_0 { pub PR_IN : PERSISTENT_RESERVE_COMMAND_0_0 , pub PR_OUT : PERSISTENT_RESERVE_COMMAND_0_1 } impl PERSISTENT_RESERVE_COMMAND_0 { } impl :: std :: cmp :: PartialEq for PERSISTENT_RESERVE_COMMAND_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for PERSISTENT_RESERVE_COMMAND_0 { } unsafe impl :: windows :: Abi for PERSISTENT_RESERVE_COMMAND_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PERSISTENT_RESERVE_COMMAND_0_0 { pub _bitfield : u8 , pub AllocationLength : u16 } impl PERSISTENT_RESERVE_COMMAND_0_0 { } impl :: std :: default :: Default for PERSISTENT_RESERVE_COMMAND_0_0 { fn default ( ) -> Self { Self { _bitfield : 0 , AllocationLength : 0 } } } impl :: std :: fmt :: Debug for PERSISTENT_RESERVE_COMMAND_0_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_PR_IN_e__Struct" ) . field ( "_bitfield" , & self . _bitfield ) . field ( "AllocationLength" , & self . AllocationLength ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PERSISTENT_RESERVE_COMMAND_0_0 { fn eq ( & self , other : & Self ) -> bool { self . _bitfield == other . _bitfield && self . AllocationLength == other . AllocationLength } } impl :: std :: cmp :: Eq for PERSISTENT_RESERVE_COMMAND_0_0 { } unsafe impl :: windows :: Abi for PERSISTENT_RESERVE_COMMAND_0_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PERSISTENT_RESERVE_COMMAND_0_1 { pub _bitfield1 : u8 , pub _bitfield2 : u8 , pub ParameterList : [ u8 ;1 ] } impl PERSISTENT_RESERVE_COMMAND_0_1 { } impl :: std :: default :: Default for PERSISTENT_RESERVE_COMMAND_0_1 { fn default ( ) -> Self { Self { _bitfield1 : 0 , _bitfield2 : 0 , ParameterList : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for PERSISTENT_RESERVE_COMMAND_0_1 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_PR_OUT_e__Struct" ) . field ( "_bitfield1" , & self . _bitfield1 ) . field ( "_bitfield2" , & self . _bitfield2 ) . field ( "ParameterList" , & self . ParameterList ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PERSISTENT_RESERVE_COMMAND_0_1 { fn eq ( & self , other : & Self ) -> bool { self . _bitfield1 == other . _bitfield1 && self . _bitfield2 == other . _bitfield2 && self . ParameterList == other . ParameterList } } impl :: std :: cmp :: Eq for PERSISTENT_RESERVE_COMMAND_0_1 { } unsafe impl :: windows :: Abi for PERSISTENT_RESERVE_COMMAND_0_1 { type Abi = Self ; type DefaultType = Self ; } pub const PERSISTENT_VOLUME_STATE_BACKED_BY_WIM : u32 = 64u32 ; pub const PERSISTENT_VOLUME_STATE_CONTAINS_BACKING_WIM : u32 = 32u32 ; pub const PERSISTENT_VOLUME_STATE_GLOBAL_METADATA_NO_SEEK_PENALTY : u32 = 4u32 ; pub const PERSISTENT_VOLUME_STATE_LOCAL_METADATA_NO_SEEK_PENALTY : u32 = 8u32 ; pub const PERSISTENT_VOLUME_STATE_NO_HEAT_GATHERING : u32 = 16u32 ; pub const PERSISTENT_VOLUME_STATE_NO_WRITE_AUTO_TIERING : u32 = 128u32 ; pub const PERSISTENT_VOLUME_STATE_REALLOCATE_ALL_DATA_WRITES : u32 = 512u32 ; pub const PERSISTENT_VOLUME_STATE_SHORT_NAME_CREATION_DISABLED : u32 = 1u32 ; pub const PERSISTENT_VOLUME_STATE_TXF_DISABLED : u32 = 256u32 ; pub const PERSISTENT_VOLUME_STATE_VOLUME_SCRUB_DISABLED : u32 = 2u32 ; pub type PEXCEPTION_FILTER = unsafe extern "system" fn ( exceptionpointers : * mut super::Diagnostics::Debug:: EXCEPTION_POINTERS , establisherframe : * mut :: std :: ffi :: c_void ) -> i32 ; pub type PFLS_CALLBACK_FUNCTION = unsafe extern "system" fn ( lpflsdata : * mut :: std :: ffi :: c_void ) ; pub type PFN = unsafe extern "system" fn ( ) -> isize ; pub type PFND3DNTPARSEUNKNOWNCOMMAND = unsafe extern "system" fn ( lpvcommands : * mut :: std :: ffi :: c_void , lplpvreturnedcommand : * mut * mut :: std :: ffi :: c_void ) -> :: windows :: HRESULT ; pub type PFN_DrvAccumulateD3DDirtyRect = unsafe extern "system" fn ( param0 : * mut super::super::UI::DisplayDevices:: SURFOBJ , param1 : * mut CDDDXGK_REDIRBITMAPPRESENTINFO ) -> super::super::Foundation:: BOOL ; pub type PFN_DrvAlphaBlend = unsafe extern "system" fn ( param0 : * mut super::super::UI::DisplayDevices:: SURFOBJ , param1 : * mut super::super::UI::DisplayDevices:: SURFOBJ , param2 : * mut super::super::UI::DisplayDevices:: CLIPOBJ , param3 : * mut super::super::UI::DisplayDevices:: XLATEOBJ , param4 : * mut super::super::Foundation:: RECTL , param5 : * mut super::super::Foundation:: RECTL , param6 : * mut super::super::UI::DisplayDevices:: BLENDOBJ ) -> super::super::Foundation:: BOOL ; pub type PFN_DrvAssertMode = unsafe extern "system" fn ( param0 : DHPDEV , param1 : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ; pub type PFN_DrvAssociateSharedSurface = unsafe extern "system" fn ( param0 : * mut super::super::UI::DisplayDevices:: SURFOBJ , param1 : super::super::Foundation:: HANDLE , param2 : super::super::Foundation:: HANDLE , param3 : super::super::Foundation:: SIZE ) -> super::super::Foundation:: BOOL ; pub type PFN_DrvBitBlt = unsafe extern "system" fn ( param0 : * mut super::super::UI::DisplayDevices:: SURFOBJ , param1 : * mut super::super::UI::DisplayDevices:: SURFOBJ , param2 : * mut super::super::UI::DisplayDevices:: SURFOBJ , param3 : * mut super::super::UI::DisplayDevices:: CLIPOBJ , param4 : * mut super::super::UI::DisplayDevices:: XLATEOBJ , param5 : * mut super::super::Foundation:: RECTL , param6 : * mut super::super::Foundation:: POINTL , param7 : * mut super::super::Foundation:: POINTL , param8 : * mut super::super::UI::DisplayDevices:: BRUSHOBJ , param9 : * mut super::super::Foundation:: POINTL , param10 : u32 ) -> super::super::Foundation:: BOOL ; pub type PFN_DrvCompletePDEV = unsafe extern "system" fn ( param0 : DHPDEV , param1 : HDEV ) ; pub type PFN_DrvCopyBits = unsafe extern "system" fn ( param0 : * mut super::super::UI::DisplayDevices:: SURFOBJ , param1 : * mut super::super::UI::DisplayDevices:: SURFOBJ , param2 : * mut super::super::UI::DisplayDevices:: CLIPOBJ , param3 : * mut super::super::UI::DisplayDevices:: XLATEOBJ , param4 : * mut super::super::Foundation:: RECTL , param5 : * mut super::super::Foundation:: POINTL ) -> super::super::Foundation:: BOOL ; pub type PFN_DrvCreateDeviceBitmap = unsafe extern "system" fn ( param0 : DHPDEV , param1 : super::super::Foundation:: SIZE , param2 : u32 ) -> super::super::Graphics::Gdi:: HBITMAP ; pub type PFN_DrvCreateDeviceBitmapEx = unsafe extern "system" fn ( param0 : DHPDEV , param1 : super::super::Foundation:: SIZE , param2 : u32 , param3 : u32 , param4 : DHSURF , param5 : u32 , param6 : u32 , param7 : * mut super::super::Foundation:: HANDLE ) -> super::super::Graphics::Gdi:: HBITMAP ; pub type PFN_DrvDeleteDeviceBitmap = unsafe extern "system" fn ( param0 : DHSURF ) ; pub type PFN_DrvDeleteDeviceBitmapEx = unsafe extern "system" fn ( param0 : DHSURF ) ; pub type PFN_DrvDeriveSurface = unsafe extern "system" fn ( param0 : * mut super::super::UI::DisplayDevices:: DD_DIRECTDRAW_GLOBAL , param1 : * mut super::super::UI::DisplayDevices:: DD_SURFACE_LOCAL ) -> super::super::Graphics::Gdi:: HBITMAP ; pub type PFN_DrvDescribePixelFormat = unsafe extern "system" fn ( param0 : DHPDEV , param1 : i32 , param2 : u32 , param3 : * mut super::super::Graphics::OpenGL:: PIXELFORMATDESCRIPTOR ) -> i32 ; pub type PFN_DrvDestroyFont = unsafe extern "system" fn ( param0 : * mut super::super::UI::DisplayDevices:: FONTOBJ ) ; pub type PFN_DrvDisableDirectDraw = unsafe extern "system" fn ( param0 : DHPDEV ) ; pub type PFN_DrvDisableDriver = unsafe extern "system" fn ( ) ; pub type PFN_DrvDisablePDEV = unsafe extern "system" fn ( param0 : DHPDEV ) ; pub type PFN_DrvDisableSurface = unsafe extern "system" fn ( param0 : DHPDEV ) ; pub type PFN_DrvDitherColor = unsafe extern "system" fn ( param0 : DHPDEV , param1 : u32 , param2 : u32 , param3 : * mut u32 ) -> u32 ; pub type PFN_DrvDrawEscape = unsafe extern "system" fn ( param0 : * mut super::super::UI::DisplayDevices:: SURFOBJ , param1 : u32 , param2 : * mut super::super::UI::DisplayDevices:: CLIPOBJ , param3 : * mut super::super::Foundation:: RECTL , param4 : u32 , param5 : * mut :: std :: ffi :: c_void ) -> u32 ; pub type PFN_DrvEnableDirectDraw = unsafe extern "system" fn ( param0 : DHPDEV , param1 : * mut super::super::UI::DisplayDevices:: DD_CALLBACKS_abi , param2 : * mut super::super::UI::DisplayDevices:: DD_SURFACECALLBACKS_abi , param3 : * mut super::super::UI::DisplayDevices:: DD_PALETTECALLBACKS_abi ) -> super::super::Foundation:: BOOL ; pub type PFN_DrvEnableDriver = unsafe extern "system" fn ( param0 : u32 , param1 : u32 , param2 : * mut super::super::UI::DisplayDevices:: DRVENABLEDATA ) -> super::super::Foundation:: BOOL ; pub type PFN_DrvEnablePDEV = unsafe extern "system" fn ( param0 : * mut super::super::UI::DisplayDevices:: DEVMODEW , param1 : super::super::Foundation:: PWSTR , param2 : u32 , param3 : * mut HSURF , param4 : u32 , param5 : * mut super::super::UI::DisplayDevices:: GDIINFO , param6 : u32 , param7 : * mut super::super::UI::DisplayDevices:: DEVINFO , param8 : HDEV , param9 : super::super::Foundation:: PWSTR , param10 : super::super::Foundation:: HANDLE ) -> DHPDEV ; pub type PFN_DrvEnableSurface = unsafe extern "system" fn ( param0 : DHPDEV ) -> HSURF ; pub type PFN_DrvEndDoc = unsafe extern "system" fn ( pso : * mut super::super::UI::DisplayDevices:: SURFOBJ , fl : u32 ) -> super::super::Foundation:: BOOL ; pub type PFN_DrvEndDxInterop = unsafe extern "system" fn ( param0 : * mut super::super::UI::DisplayDevices:: SURFOBJ , param1 : super::super::Foundation:: BOOL , param2 : * mut super::super::Foundation:: BOOL , kernelmodedevicehandle : * mut :: std :: ffi :: c_void ) -> super::super::Foundation:: BOOL ; pub type PFN_DrvEscape = unsafe extern "system" fn ( param0 : * mut super::super::UI::DisplayDevices:: SURFOBJ , param1 : u32 , param2 : u32 , param3 : * mut :: std :: ffi :: c_void , param4 : u32 , param5 : * mut :: std :: ffi :: c_void ) -> u32 ; pub type PFN_DrvFillPath = unsafe extern "system" fn ( param0 : * mut super::super::UI::DisplayDevices:: SURFOBJ , param1 : * mut super::super::UI::DisplayDevices:: PATHOBJ , param2 : * mut super::super::UI::DisplayDevices:: CLIPOBJ , param3 : * mut super::super::UI::DisplayDevices:: BRUSHOBJ , param4 : * mut super::super::Foundation:: POINTL , param5 : u32 , param6 : u32 ) -> super::super::Foundation:: BOOL ; pub type PFN_DrvFontManagement = unsafe extern "system" fn ( param0 : * mut super::super::UI::DisplayDevices:: SURFOBJ , param1 : * mut super::super::UI::DisplayDevices:: FONTOBJ , param2 : u32 , param3 : u32 , param4 : * mut :: std :: ffi :: c_void , param5 : u32 , param6 : * mut :: std :: ffi :: c_void ) -> u32 ; pub type PFN_DrvFree = unsafe extern "system" fn ( param0 : * mut :: std :: ffi :: c_void , param1 : usize ) ; pub type PFN_DrvGetDirectDrawInfo = unsafe extern "system" fn ( param0 : DHPDEV , param1 : * mut super::super::UI::DisplayDevices:: DD_HALINFO_abi , param2 : * mut u32 , param3 : * mut super::super::UI::DisplayDevices:: VIDEOMEMORY , param4 : * mut u32 , param5 : * mut u32 ) -> super::super::Foundation:: BOOL ; pub type PFN_DrvGetGlyphMode = unsafe extern "system" fn ( dhpdev : DHPDEV , pfo : * mut super::super::UI::DisplayDevices:: FONTOBJ ) -> u32 ; pub type PFN_DrvGetModes = unsafe extern "system" fn ( param0 : super::super::Foundation:: HANDLE , param1 : u32 , param2 : * mut super::super::UI::DisplayDevices:: DEVMODEW ) -> u32 ; pub type PFN_DrvGetTrueTypeFile = unsafe extern "system" fn ( param0 : usize , param1 : * mut u32 ) -> * mut :: std :: ffi :: c_void ; pub type PFN_DrvGradientFill = unsafe extern "system" fn ( param0 : * mut super::super::UI::DisplayDevices:: SURFOBJ , param1 : * mut super::super::UI::DisplayDevices:: CLIPOBJ , param2 : * mut super::super::UI::DisplayDevices:: XLATEOBJ , param3 : * mut super::super::Graphics::Gdi:: TRIVERTEX , param4 : u32 , param5 : * mut :: std :: ffi :: c_void , param6 : u32 , param7 : * mut super::super::Foundation:: RECTL , param8 : * mut super::super::Foundation:: POINTL , param9 : u32 ) -> super::super::Foundation:: BOOL ; pub type PFN_DrvIcmCheckBitmapBits = unsafe extern "system" fn ( param0 : DHPDEV , param1 : super::super::Foundation:: HANDLE , param2 : * mut super::super::UI::DisplayDevices:: SURFOBJ , param3 : * mut u8 ) -> super::super::Foundation:: BOOL ; pub type PFN_DrvIcmCreateColorTransform = unsafe extern "system" fn ( param0 : DHPDEV , param1 : * mut super::super::UI::ColorSystem:: LOGCOLORSPACEW , param2 : * mut :: std :: ffi :: c_void , param3 : u32 , param4 : * mut :: std :: ffi :: c_void , param5 : u32 , param6 : * mut :: std :: ffi :: c_void , param7 : u32 , param8 : u32 ) -> super::super::Foundation:: HANDLE ; pub type PFN_DrvIcmDeleteColorTransform = unsafe extern "system" fn ( param0 : DHPDEV , param1 : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ; pub type PFN_DrvIcmSetDeviceGammaRamp = unsafe extern "system" fn ( param0 : DHPDEV , param1 : u32 , param2 : * mut :: std :: ffi :: c_void ) -> super::super::Foundation:: BOOL ; pub type PFN_DrvLineTo = unsafe extern "system" fn ( param0 : * mut super::super::UI::DisplayDevices:: SURFOBJ , param1 : * mut super::super::UI::DisplayDevices:: CLIPOBJ , param2 : * mut super::super::UI::DisplayDevices:: BRUSHOBJ , param3 : i32 , param4 : i32 , param5 : i32 , param6 : i32 , param7 : * mut super::super::Foundation:: RECTL , param8 : u32 ) -> super::super::Foundation:: BOOL ; pub type PFN_DrvLoadFontFile = unsafe extern "system" fn ( param0 : u32 , param1 : * mut usize , param2 : * mut * mut :: std :: ffi :: c_void , param3 : * mut u32 , param4 : * mut super::super::Graphics::Gdi:: DESIGNVECTOR , param5 : u32 , param6 : u32 ) -> usize ; pub type PFN_DrvLockDisplayArea = unsafe extern "system" fn ( param0 : DHPDEV , param1 : * mut super::super::Foundation:: RECTL ) ; pub type PFN_DrvMovePointer = unsafe extern "system" fn ( pso : * mut super::super::UI::DisplayDevices:: SURFOBJ , x : i32 , y : i32 , prcl : * mut super::super::Foundation:: RECTL ) ; pub type PFN_DrvNextBand = unsafe extern "system" fn ( param0 : * mut super::super::UI::DisplayDevices:: SURFOBJ , ppointl : * mut super::super::Foundation:: POINTL ) -> super::super::Foundation:: BOOL ; pub type PFN_DrvNotify = unsafe extern "system" fn ( param0 : * mut super::super::UI::DisplayDevices:: SURFOBJ , param1 : u32 , param2 : * mut :: std :: ffi :: c_void ) ; pub type PFN_DrvPaint = unsafe extern "system" fn ( param0 : * mut super::super::UI::DisplayDevices:: SURFOBJ , param1 : * mut super::super::UI::DisplayDevices:: CLIPOBJ , param2 : * mut super::super::UI::DisplayDevices:: BRUSHOBJ , param3 : * mut super::super::Foundation:: POINTL , param4 : u32 ) -> super::super::Foundation:: BOOL ; pub type PFN_DrvPlgBlt = unsafe extern "system" fn ( param0 : * mut super::super::UI::DisplayDevices:: SURFOBJ , param1 : * mut super::super::UI::DisplayDevices:: SURFOBJ , param2 : * mut super::super::UI::DisplayDevices:: SURFOBJ , param3 : * mut super::super::UI::DisplayDevices:: CLIPOBJ , param4 : * mut super::super::UI::DisplayDevices:: XLATEOBJ , param5 : * mut super::super::Graphics::Gdi:: COLORADJUSTMENT , param6 : * mut super::super::Foundation:: POINTL , param7 : * mut POINTFIX , param8 : * mut super::super::Foundation:: RECTL , param9 : * mut super::super::Foundation:: POINTL , param10 : u32 ) -> super::super::Foundation:: BOOL ; pub type PFN_DrvQueryAdvanceWidths = unsafe extern "system" fn ( param0 : DHPDEV , param1 : * mut super::super::UI::DisplayDevices:: FONTOBJ , param2 : u32 , param3 : * mut u32 , param4 : * mut :: std :: ffi :: c_void , param5 : u32 ) -> super::super::Foundation:: BOOL ; pub type PFN_DrvQueryDeviceSupport = unsafe extern "system" fn ( param0 : * mut super::super::UI::DisplayDevices:: SURFOBJ , param1 : * mut super::super::UI::DisplayDevices:: XLATEOBJ , param2 : * mut XFORMOBJ , param3 : u32 , param4 : u32 , param5 : * mut :: std :: ffi :: c_void , param6 : u32 , param7 : * mut :: std :: ffi :: c_void ) -> super::super::Foundation:: BOOL ; pub type PFN_DrvQueryFont = unsafe extern "system" fn ( param0 : DHPDEV , param1 : usize , param2 : u32 , param3 : * mut usize ) -> * mut super::super::UI::DisplayDevices:: IFIMETRICS ; pub type PFN_DrvQueryFontCaps = unsafe extern "system" fn ( param0 : u32 , param1 : * mut u32 ) -> i32 ; pub type PFN_DrvQueryFontData = unsafe extern "system" fn ( param0 : DHPDEV , param1 : * mut super::super::UI::DisplayDevices:: FONTOBJ , param2 : u32 , param3 : u32 , param4 : * mut super::super::UI::DisplayDevices:: GLYPHDATA , param5 : * mut :: std :: ffi :: c_void , param6 : u32 ) -> i32 ; pub type PFN_DrvQueryFontFile = unsafe extern "system" fn ( param0 : usize , param1 : u32 , param2 : u32 , param3 : * mut u32 ) -> i32 ; pub type PFN_DrvQueryFontTree = unsafe extern "system" fn ( param0 : DHPDEV , param1 : usize , param2 : u32 , param3 : u32 , param4 : * mut usize ) -> * mut :: std :: ffi :: c_void ; pub type PFN_DrvQueryPerBandInfo = unsafe extern "system" fn ( param0 : * mut super::super::UI::DisplayDevices:: SURFOBJ , param1 : * mut super::super::UI::DisplayDevices:: PERBANDINFO ) -> super::super::Foundation:: BOOL ; pub type PFN_DrvQuerySpoolType = unsafe extern "system" fn ( dhpdev : DHPDEV , pwchtype : super::super::Foundation:: PWSTR ) -> super::super::Foundation:: BOOL ; pub type PFN_DrvQueryTrueTypeOutline = unsafe extern "system" fn ( param0 : DHPDEV , param1 : * mut super::super::UI::DisplayDevices:: FONTOBJ , param2 : u32 , param3 : super::super::Foundation:: BOOL , param4 : * mut super::super::UI::DisplayDevices:: GLYPHDATA , param5 : u32 , param6 : * mut super::super::Graphics::Gdi:: TTPOLYGONHEADER ) -> i32 ; pub type PFN_DrvQueryTrueTypeSection = unsafe extern "system" fn ( param0 : u32 , param1 : u32 , param2 : u32 , param3 : * mut super::super::Foundation:: HANDLE , param4 : * mut i32 ) -> i32 ; pub type PFN_DrvQueryTrueTypeTable = unsafe extern "system" fn ( param0 : usize , param1 : u32 , param2 : u32 , param3 : i32 , param4 : u32 , param5 : * mut u8 , param6 : * mut * mut u8 , param7 : * mut u32 ) -> i32 ; pub type PFN_DrvRealizeBrush = unsafe extern "system" fn ( param0 : * mut super::super::UI::DisplayDevices:: BRUSHOBJ , param1 : * mut super::super::UI::DisplayDevices:: SURFOBJ , param2 : * mut super::super::UI::DisplayDevices:: SURFOBJ , param3 : * mut super::super::UI::DisplayDevices:: SURFOBJ , param4 : * mut super::super::UI::DisplayDevices:: XLATEOBJ , param5 : u32 ) -> super::super::Foundation:: BOOL ; pub type PFN_DrvRenderHint = unsafe extern "system" fn ( dhpdev : DHPDEV , notifycode : u32 , length : usize , data : * mut :: std :: ffi :: c_void ) -> i32 ; pub type PFN_DrvResetDevice = unsafe extern "system" fn ( param0 : DHPDEV , param1 : * mut :: std :: ffi :: c_void ) -> u32 ; pub type PFN_DrvResetPDEV = unsafe extern "system" fn ( dhpdevold : DHPDEV , dhpdevnew : DHPDEV ) -> super::super::Foundation:: BOOL ; pub type PFN_DrvSaveScreenBits = unsafe extern "system" fn ( param0 : * mut super::super::UI::DisplayDevices:: SURFOBJ , param1 : u32 , param2 : usize , param3 : * mut super::super::Foundation:: RECTL ) -> usize ; pub type PFN_DrvSendPage = unsafe extern "system" fn ( param0 : * mut super::super::UI::DisplayDevices:: SURFOBJ ) -> super::super::Foundation:: BOOL ; pub type PFN_DrvSetPalette = unsafe extern "system" fn ( param0 : DHPDEV , param1 : * mut super::super::UI::DisplayDevices:: PALOBJ , param2 : u32 , param3 : u32 , param4 : u32 ) -> super::super::Foundation:: BOOL ; pub type PFN_DrvSetPixelFormat = unsafe extern "system" fn ( param0 : * mut super::super::UI::DisplayDevices:: SURFOBJ , param1 : i32 , param2 : super::super::Foundation:: HWND ) -> super::super::Foundation:: BOOL ; pub type PFN_DrvSetPointerShape = unsafe extern "system" fn ( param0 : * mut super::super::UI::DisplayDevices:: SURFOBJ , param1 : * mut super::super::UI::DisplayDevices:: SURFOBJ , param2 : * mut super::super::UI::DisplayDevices:: SURFOBJ , param3 : * mut super::super::UI::DisplayDevices:: XLATEOBJ , param4 : i32 , param5 : i32 , param6 : i32 , param7 : i32 , param8 : * mut super::super::Foundation:: RECTL , param9 : u32 ) -> u32 ; pub type PFN_DrvStartBanding = unsafe extern "system" fn ( param0 : * mut super::super::UI::DisplayDevices:: SURFOBJ , ppointl : * mut super::super::Foundation:: POINTL ) -> super::super::Foundation:: BOOL ; pub type PFN_DrvStartDoc = unsafe extern "system" fn ( pso : * mut super::super::UI::DisplayDevices:: SURFOBJ , pwszdocname : super::super::Foundation:: PWSTR , dwjobid : u32 ) -> super::super::Foundation:: BOOL ; pub type PFN_DrvStartDxInterop = unsafe extern "system" fn ( param0 : * mut super::super::UI::DisplayDevices:: SURFOBJ , param1 : super::super::Foundation:: BOOL , kernelmodedevicehandle : * mut :: std :: ffi :: c_void ) -> super::super::Foundation:: BOOL ; pub type PFN_DrvStartPage = unsafe extern "system" fn ( pso : * mut super::super::UI::DisplayDevices:: SURFOBJ ) -> super::super::Foundation:: BOOL ; pub type PFN_DrvStretchBlt = unsafe extern "system" fn ( param0 : * mut super::super::UI::DisplayDevices:: SURFOBJ , param1 : * mut super::super::UI::DisplayDevices:: SURFOBJ , param2 : * mut super::super::UI::DisplayDevices:: SURFOBJ , param3 : * mut super::super::UI::DisplayDevices:: CLIPOBJ , param4 : * mut super::super::UI::DisplayDevices:: XLATEOBJ , param5 : * mut super::super::Graphics::Gdi:: COLORADJUSTMENT , param6 : * mut super::super::Foundation:: POINTL , param7 : * mut super::super::Foundation:: RECTL , param8 : * mut super::super::Foundation:: RECTL , param9 : * mut super::super::Foundation:: POINTL , param10 : u32 ) -> super::super::Foundation:: BOOL ; pub type PFN_DrvStretchBltROP = unsafe extern "system" fn ( param0 : * mut super::super::UI::DisplayDevices:: SURFOBJ , param1 : * mut super::super::UI::DisplayDevices:: SURFOBJ , param2 : * mut super::super::UI::DisplayDevices:: SURFOBJ , param3 : * mut super::super::UI::DisplayDevices:: CLIPOBJ , param4 : * mut super::super::UI::DisplayDevices:: XLATEOBJ , param5 : * mut super::super::Graphics::Gdi:: COLORADJUSTMENT , param6 : * mut super::super::Foundation:: POINTL , param7 : * mut super::super::Foundation:: RECTL , param8 : * mut super::super::Foundation:: RECTL , param9 : * mut super::super::Foundation:: POINTL , param10 : u32 , param11 : * mut super::super::UI::DisplayDevices:: BRUSHOBJ , param12 : u32 ) -> super::super::Foundation:: BOOL ; pub type PFN_DrvStrokeAndFillPath = unsafe extern "system" fn ( param0 : * mut super::super::UI::DisplayDevices:: SURFOBJ , param1 : * mut super::super::UI::DisplayDevices:: PATHOBJ , param2 : * mut super::super::UI::DisplayDevices:: CLIPOBJ , param3 : * mut XFORMOBJ , param4 : * mut super::super::UI::DisplayDevices:: BRUSHOBJ , param5 : * mut super::super::UI::DisplayDevices:: LINEATTRS , param6 : * mut super::super::UI::DisplayDevices:: BRUSHOBJ , param7 : * mut super::super::Foundation:: POINTL , param8 : u32 , param9 : u32 ) -> super::super::Foundation:: BOOL ; pub type PFN_DrvStrokePath = unsafe extern "system" fn ( param0 : * mut super::super::UI::DisplayDevices:: SURFOBJ , param1 : * mut super::super::UI::DisplayDevices:: PATHOBJ , param2 : * mut super::super::UI::DisplayDevices:: CLIPOBJ , param3 : * mut XFORMOBJ , param4 : * mut super::super::UI::DisplayDevices:: BRUSHOBJ , param5 : * mut super::super::Foundation:: POINTL , param6 : * mut super::super::UI::DisplayDevices:: LINEATTRS , param7 : u32 ) -> super::super::Foundation:: BOOL ; pub type PFN_DrvSurfaceComplete = unsafe extern "system" fn ( param0 : DHPDEV , param1 : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ; pub type PFN_DrvSwapBuffers = unsafe extern "system" fn ( param0 : * mut super::super::UI::DisplayDevices:: SURFOBJ , param1 : * mut super::super::UI::DisplayDevices:: WNDOBJ ) -> super::super::Foundation:: BOOL ; pub type PFN_DrvSynchronize = unsafe extern "system" fn ( param0 : DHPDEV , param1 : * mut super::super::Foundation:: RECTL ) ; pub type PFN_DrvSynchronizeRedirectionBitmaps = unsafe extern "system" fn ( param0 : DHPDEV , param1 : * mut u64 ) -> super::super::Foundation:: NTSTATUS ; pub type PFN_DrvSynchronizeSurface = unsafe extern "system" fn ( param0 : * mut super::super::UI::DisplayDevices:: SURFOBJ , param1 : * mut super::super::Foundation:: RECTL , param2 : u32 ) ; pub type PFN_DrvTextOut = unsafe extern "system" fn ( param0 : * mut super::super::UI::DisplayDevices:: SURFOBJ , param1 : * mut super::super::UI::DisplayDevices:: STROBJ , param2 : * mut super::super::UI::DisplayDevices:: FONTOBJ , param3 : * mut super::super::UI::DisplayDevices:: CLIPOBJ , param4 : * mut super::super::Foundation:: RECTL , param5 : * mut super::super::Foundation:: RECTL , param6 : * mut super::super::UI::DisplayDevices:: BRUSHOBJ , param7 : * mut super::super::UI::DisplayDevices:: BRUSHOBJ , param8 : * mut super::super::Foundation:: POINTL , param9 : u32 ) -> super::super::Foundation:: BOOL ; pub type PFN_DrvTransparentBlt = unsafe extern "system" fn ( param0 : * mut super::super::UI::DisplayDevices:: SURFOBJ , param1 : * mut super::super::UI::DisplayDevices:: SURFOBJ , param2 : * mut super::super::UI::DisplayDevices:: CLIPOBJ , param3 : * mut super::super::UI::DisplayDevices:: XLATEOBJ , param4 : * mut super::super::Foundation:: RECTL , param5 : * mut super::super::Foundation:: RECTL , param6 : u32 , param7 : u32 ) -> super::super::Foundation:: BOOL ; pub type PFN_DrvUnloadFontFile = unsafe extern "system" fn ( param0 : usize ) -> super::super::Foundation:: BOOL ; pub type PFN_DrvUnlockDisplayArea = unsafe extern "system" fn ( param0 : DHPDEV , param1 : * mut super::super::Foundation:: RECTL ) ; pub type PFN_EngCombineRgn = unsafe extern "system" fn ( hrgntrg : super::super::Foundation:: HANDLE , hrgnsrc1 : super::super::Foundation:: HANDLE , hrgnsrc2 : super::super::Foundation:: HANDLE , imode : i32 ) -> i32 ; pub type PFN_EngCopyRgn = unsafe extern "system" fn ( hrgndst : super::super::Foundation:: HANDLE , hrgnsrc : super::super::Foundation:: HANDLE ) -> i32 ; pub type PFN_EngCreateRectRgn = unsafe extern "system" fn ( left : i32 , top : i32 , right : i32 , bottom : i32 ) -> super::super::Foundation:: HANDLE ; pub type PFN_EngDeleteRgn = unsafe extern "system" fn ( hrgn : super::super::Foundation:: HANDLE ) ; pub type PFN_EngIntersectRgn = unsafe extern "system" fn ( hrgnresult : super::super::Foundation:: HANDLE , hrgna : super::super::Foundation:: HANDLE , hrgnb : super::super::Foundation:: HANDLE ) -> i32 ; pub type PFN_EngSubtractRgn = unsafe extern "system" fn ( hrgnresult : super::super::Foundation:: HANDLE , hrgna : super::super::Foundation:: HANDLE , hrgnb : super::super::Foundation:: HANDLE ) -> i32 ; pub type PFN_EngUnionRgn = unsafe extern "system" fn ( hrgnresult : super::super::Foundation:: HANDLE , hrgna : super::super::Foundation:: HANDLE , hrgnb : super::super::Foundation:: HANDLE ) -> i32 ; pub type PFN_EngXorRgn = unsafe extern "system" fn ( hrgnresult : super::super::Foundation:: HANDLE , hrgna : super::super::Foundation:: HANDLE , hrgnb : super::super::Foundation:: HANDLE ) -> i32 ; pub const PF_ALPHA_BYTE_INSTRUCTIONS : u32 = 5u32 ; pub const PF_ARM_NEON_INSTRUCTIONS_AVAILABLE : u32 = 19u32 ; pub const PF_AVX2_INSTRUCTIONS_AVAILABLE : u32 = 40u32 ; pub const PF_AVX512F_INSTRUCTIONS_AVAILABLE : u32 = 41u32 ; pub const PF_AVX_INSTRUCTIONS_AVAILABLE : u32 = 39u32 ; pub const PF_MONITORX_INSTRUCTION_AVAILABLE : u32 = 35u32 ; pub const PF_NON_TEMPORAL_LEVEL_ALL : u32 = 3u32 ; pub const PF_PPC_MOVEMEM_64BIT_OK : u32 = 4u32 ; pub const PF_RDPID_INSTRUCTION_AVAILABLE : u32 = 33u32 ; pub const PF_RDRAND_INSTRUCTION_AVAILABLE : u32 = 28u32 ; pub const PF_RDTSCP_INSTRUCTION_AVAILABLE : u32 = 32u32 ; pub const PF_SSE4_1_INSTRUCTIONS_AVAILABLE : u32 = 37u32 ; pub const PF_SSE4_2_INSTRUCTIONS_AVAILABLE : u32 = 38u32 ; pub const PF_SSE_DAZ_MODE_AVAILABLE : u32 = 11u32 ; pub const PF_SSSE3_INSTRUCTIONS_AVAILABLE : u32 = 36u32 ; pub const PF_TEMPORAL_LEVEL_1 : u32 = 0u32 ; pub const PF_TEMPORAL_LEVEL_2 : u32 = 1u32 ; pub const PF_TEMPORAL_LEVEL_3 : u32 = 2u32 ; pub type PGET_RUNTIME_FUNCTION_CALLBACK = unsafe extern "system" fn ( controlpc : u64 , context : * mut :: std :: ffi :: c_void ) -> * mut IMAGE_ARM64_RUNTIME_FUNCTION_ENTRY ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PHYSICAL_ELEMENT_STATUS { pub Version : u32 , pub Size : u32 , pub DescriptorCount : u32 , pub ReturnedDescriptorCount : u32 , pub ElementIdentifierBeingDepoped : u32 , pub Reserved : u32 , pub Descriptors : [ PHYSICAL_ELEMENT_STATUS_DESCRIPTOR ;1 ] } impl PHYSICAL_ELEMENT_STATUS { } impl :: std :: default :: Default for PHYSICAL_ELEMENT_STATUS { fn default ( ) -> Self { Self { Version : 0 , Size : 0 , DescriptorCount : 0 , ReturnedDescriptorCount : 0 , ElementIdentifierBeingDepoped : 0 , Reserved : 0 , Descriptors : [ :: std :: default :: Default :: default ( ) ;1 ] } } } impl :: std :: fmt :: Debug for PHYSICAL_ELEMENT_STATUS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "PHYSICAL_ELEMENT_STATUS" ) . field ( "Version" , & self . Version ) . field ( "Size" , & self . Size ) . field ( "DescriptorCount" , & self . DescriptorCount ) . field ( "ReturnedDescriptorCount" , & self . ReturnedDescriptorCount ) . field ( "ElementIdentifierBeingDepoped" , & self . ElementIdentifierBeingDepoped ) . field ( "Reserved" , & self . Reserved ) . field ( "Descriptors" , & self . Descriptors ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PHYSICAL_ELEMENT_STATUS { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Size == other . Size && self . DescriptorCount == other . DescriptorCount && self . ReturnedDescriptorCount == other . ReturnedDescriptorCount && self . ElementIdentifierBeingDepoped == other . ElementIdentifierBeingDepoped && self . Reserved == other . Reserved && self . Descriptors == other . Descriptors } } impl :: std :: cmp :: Eq for PHYSICAL_ELEMENT_STATUS { } unsafe impl :: windows :: Abi for PHYSICAL_ELEMENT_STATUS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PHYSICAL_ELEMENT_STATUS_DESCRIPTOR { pub Version : u32 , pub Size : u32 , pub ElementIdentifier : u32 , pub PhysicalElementType : u8 , pub PhysicalElementHealth : u8 , pub Reserved1 : [ u8 ;2 ] , pub AssociatedCapacity : u64 , pub Reserved2 : [ u32 ;4 ] } impl PHYSICAL_ELEMENT_STATUS_DESCRIPTOR { } impl :: std :: default :: Default for PHYSICAL_ELEMENT_STATUS_DESCRIPTOR { fn default ( ) -> Self { Self { Version : 0 , Size : 0 , ElementIdentifier : 0 , PhysicalElementType : 0 , PhysicalElementHealth : 0 , Reserved1 : [ 0 ;2 ] , AssociatedCapacity : 0 , Reserved2 : [ 0 ;4 ] } } } impl :: std :: fmt :: Debug for PHYSICAL_ELEMENT_STATUS_DESCRIPTOR { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "PHYSICAL_ELEMENT_STATUS_DESCRIPTOR" ) . field ( "Version" , & self . Version ) . field ( "Size" , & self . Size ) . field ( "ElementIdentifier" , & self . ElementIdentifier ) . field ( "PhysicalElementType" , & self . PhysicalElementType ) . field ( "PhysicalElementHealth" , & self . PhysicalElementHealth ) . field ( "Reserved1" , & self . Reserved1 ) . field ( "AssociatedCapacity" , & self . AssociatedCapacity ) . field ( "Reserved2" , & self . Reserved2 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PHYSICAL_ELEMENT_STATUS_DESCRIPTOR { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Size == other . Size && self . ElementIdentifier == other . ElementIdentifier && self . PhysicalElementType == other . PhysicalElementType && self . PhysicalElementHealth == other . PhysicalElementHealth && self . Reserved1 == other . Reserved1 && self . AssociatedCapacity == other . AssociatedCapacity && self . Reserved2 == other . Reserved2 } } impl :: std :: cmp :: Eq for PHYSICAL_ELEMENT_STATUS_DESCRIPTOR { } unsafe impl :: windows :: Abi for PHYSICAL_ELEMENT_STATUS_DESCRIPTOR { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PHYSICAL_ELEMENT_STATUS_REQUEST { pub Version : u32 , pub Size : u32 , pub StartingElement : u32 , pub Filter : u8 , pub ReportType : u8 , pub Reserved : [ u8 ;2 ] } impl PHYSICAL_ELEMENT_STATUS_REQUEST { } impl :: std :: default :: Default for PHYSICAL_ELEMENT_STATUS_REQUEST { fn default ( ) -> Self { Self { Version : 0 , Size : 0 , StartingElement : 0 , Filter : 0 , ReportType : 0 , Reserved : [ 0 ;2 ] } } } impl :: std :: fmt :: Debug for PHYSICAL_ELEMENT_STATUS_REQUEST { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "PHYSICAL_ELEMENT_STATUS_REQUEST" ) . field ( "Version" , & self . Version ) . field ( "Size" , & self . Size ) . field ( "StartingElement" , & self . StartingElement ) . field ( "Filter" , & self . Filter ) . field ( "ReportType" , & self . ReportType ) . field ( "Reserved" , & self . Reserved ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PHYSICAL_ELEMENT_STATUS_REQUEST { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Size == other . Size && self . StartingElement == other . StartingElement && self . Filter == other . Filter && self . ReportType == other . ReportType && self . Reserved == other . Reserved } } impl :: std :: cmp :: Eq for PHYSICAL_ELEMENT_STATUS_REQUEST { } unsafe impl :: windows :: Abi for PHYSICAL_ELEMENT_STATUS_REQUEST { type Abi = Self ; type DefaultType = Self ; } pub type PIMAGE_TLS_CALLBACK = unsafe extern "system" fn ( dllhandle : * mut :: std :: ffi :: c_void , reason : u32 , reserved : * mut :: std :: ffi :: c_void ) ; pub type PIO_IRP_EXT_PROCESS_TRACKED_OFFSET_CALLBACK = unsafe extern "system" fn ( sourcecontext : * mut IO_IRP_EXT_TRACK_OFFSET_HEADER_abi , targetcontext : * mut IO_IRP_EXT_TRACK_OFFSET_HEADER_abi , relativeoffset : i64 ) ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct POINTE { pub x : f32 , pub y : f32 } impl POINTE { } impl :: std :: default :: Default for POINTE { fn default ( ) -> Self { Self { x : 0.0 , y : 0.0 } } } impl :: std :: fmt :: Debug for POINTE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "POINTE" ) . field ( "x" , & self . x ) . field ( "y" , & self . y ) . finish ( ) } } impl :: std :: cmp :: PartialEq for POINTE { fn eq ( & self , other : & Self ) -> bool { self . x == other . x && self . y == other . y } } impl :: std :: cmp :: Eq for POINTE { } unsafe impl :: windows :: Abi for POINTE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct POINTFIX { pub x : i32 , pub y : i32 } impl POINTFIX { } impl :: std :: default :: Default for POINTFIX { fn default ( ) -> Self { Self { x : 0 , y : 0 } } } impl :: std :: fmt :: Debug for POINTFIX { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "POINTFIX" ) . field ( "x" , & self . x ) . field ( "y" , & self . y ) . finish ( ) } } impl :: std :: cmp :: PartialEq for POINTFIX { fn eq ( & self , other : & Self ) -> bool { self . x == other . x && self . y == other . y } } impl :: std :: cmp :: Eq for POINTFIX { } unsafe impl :: windows :: Abi for POINTFIX { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct POINTQF { pub x : i64 , pub y : i64 } impl POINTQF { } impl :: std :: default :: Default for POINTQF { fn default ( ) -> Self { Self { x : 0 , y : 0 } } } impl :: std :: fmt :: Debug for POINTQF { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "POINTQF" ) . field ( "x" , & self . x ) . field ( "y" , & self . y ) . finish ( ) } } impl :: std :: cmp :: PartialEq for POINTQF { fn eq ( & self , other : & Self ) -> bool { self . x == other . x && self . y == other . y } } impl :: std :: cmp :: Eq for POINTQF { } unsafe impl :: windows :: Abi for POINTQF { type Abi = Self ; type DefaultType = Self ; } pub const POLICY_AUDIT_SUBCATEGORY_COUNT : u32 = 59u32 ; pub type POUT_OF_PROCESS_FUNCTION_TABLE_CALLBACK = unsafe extern "system" fn ( process : super::super::Foundation:: HANDLE , tableaddress : * mut :: std :: ffi :: c_void , entries : * mut u32 , functions : * mut * mut IMAGE_ARM64_RUNTIME_FUNCTION_ENTRY ) -> u32 ; pub const POWERBUTTON_ACTION_INDEX_HIBERNATE : u32 = 2u32 ; pub const POWERBUTTON_ACTION_INDEX_NOTHING : u32 = 0u32 ; pub const POWERBUTTON_ACTION_INDEX_SHUTDOWN : u32 = 3u32 ; pub const POWERBUTTON_ACTION_INDEX_SLEEP : u32 = 1u32 ; pub const POWERBUTTON_ACTION_INDEX_TURN_OFF_THE_DISPLAY : u32 = 4u32 ; pub const POWERBUTTON_ACTION_VALUE_HIBERNATE : u32 = 3u32 ; pub const POWERBUTTON_ACTION_VALUE_NOTHING : u32 = 0u32 ; pub const POWERBUTTON_ACTION_VALUE_SHUTDOWN : u32 = 6u32 ; pub const POWERBUTTON_ACTION_VALUE_SLEEP : u32 = 2u32 ; pub const POWERBUTTON_ACTION_VALUE_TURN_OFF_THE_DISPLAY : u32 = 8u32 ; pub const POWER_ACTION_ACPI_CRITICAL : u32 = 16777216u32 ; pub const POWER_ACTION_ACPI_USER_NOTIFY : u32 = 33554432u32 ; pub const POWER_ACTION_CRITICAL : u32 = 2147483648u32 ; pub const POWER_ACTION_DIRECTED_DRIPS : u32 = 67108864u32 ; pub const POWER_ACTION_DISABLE_WAKES : u32 = 1073741824u32 ; pub const POWER_ACTION_DOZE_TO_HIBERNATE : u32 = 32u32 ; pub const POWER_ACTION_HIBERBOOT : u32 = 8u32 ; pub const POWER_ACTION_LIGHTEST_FIRST : u32 = 268435456u32 ; pub const POWER_ACTION_LOCK_CONSOLE : u32 = 536870912u32 ; pub const POWER_ACTION_OVERRIDE_APPS : u32 = 4u32 ; pub const POWER_ACTION_PSEUDO_TRANSITION : u32 = 134217728u32 ; pub const POWER_ACTION_QUERY_ALLOWED : u32 = 1u32 ; pub const POWER_ACTION_UI_ALLOWED : u32 = 2u32 ; pub const POWER_ACTION_USER_NOTIFY : u32 = 16u32 ; pub const POWER_CONNECTIVITY_IN_STANDBY_DISABLED : u32 = 0u32 ; pub const POWER_CONNECTIVITY_IN_STANDBY_ENABLED : u32 = 1u32 ; pub const POWER_CONNECTIVITY_IN_STANDBY_SYSTEM_MANAGED : u32 = 2u32 ; pub const POWER_DEVICE_IDLE_POLICY_CONSERVATIVE : u32 = 1u32 ; pub const POWER_DEVICE_IDLE_POLICY_PERFORMANCE : u32 = 0u32 ; pub const POWER_DISCONNECTED_STANDBY_MODE_AGGRESSIVE : u32 = 1u32 ; pub const POWER_DISCONNECTED_STANDBY_MODE_NORMAL : u32 = 0u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct POWER_IDLE_RESILIENCY { pub CoalescingTimeout : u32 , pub IdleResiliencyPeriod : u32 } impl POWER_IDLE_RESILIENCY { } impl :: std :: default :: Default for POWER_IDLE_RESILIENCY { fn default ( ) -> Self { Self { CoalescingTimeout : 0 , IdleResiliencyPeriod : 0 } } } impl :: std :: fmt :: Debug for POWER_IDLE_RESILIENCY { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "POWER_IDLE_RESILIENCY" ) . field ( "CoalescingTimeout" , & self . CoalescingTimeout ) . field ( "IdleResiliencyPeriod" , & self . IdleResiliencyPeriod ) . finish ( ) } } impl :: std :: cmp :: PartialEq for POWER_IDLE_RESILIENCY { fn eq ( & self , other : & Self ) -> bool { self . CoalescingTimeout == other . CoalescingTimeout && self . IdleResiliencyPeriod == other . IdleResiliencyPeriod } } impl :: std :: cmp :: Eq for POWER_IDLE_RESILIENCY { } unsafe impl :: windows :: Abi for POWER_IDLE_RESILIENCY { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct POWER_INFORMATION_LEVEL ( pub i32 ) ; pub const SystemPowerPolicyAc : POWER_INFORMATION_LEVEL = POWER_INFORMATION_LEVEL ( 0i32 ) ; pub const SystemPowerPolicyDc : POWER_INFORMATION_LEVEL = POWER_INFORMATION_LEVEL ( 1i32 ) ; pub const VerifySystemPolicyAc : POWER_INFORMATION_LEVEL = POWER_INFORMATION_LEVEL ( 2i32 ) ; pub const VerifySystemPolicyDc : POWER_INFORMATION_LEVEL = POWER_INFORMATION_LEVEL ( 3i32 ) ; pub const SystemPowerCapabilities : POWER_INFORMATION_LEVEL = POWER_INFORMATION_LEVEL ( 4i32 ) ; pub const SystemBatteryState : POWER_INFORMATION_LEVEL = POWER_INFORMATION_LEVEL ( 5i32 ) ; pub const SystemPowerStateHandler : POWER_INFORMATION_LEVEL = POWER_INFORMATION_LEVEL ( 6i32 ) ; pub const ProcessorStateHandler : POWER_INFORMATION_LEVEL = POWER_INFORMATION_LEVEL ( 7i32 ) ; pub const SystemPowerPolicyCurrent : POWER_INFORMATION_LEVEL = POWER_INFORMATION_LEVEL ( 8i32 ) ; pub const AdministratorPowerPolicy : POWER_INFORMATION_LEVEL = POWER_INFORMATION_LEVEL ( 9i32 ) ; pub const SystemReserveHiberFile : POWER_INFORMATION_LEVEL = POWER_INFORMATION_LEVEL ( 10i32 ) ; pub const ProcessorInformation : POWER_INFORMATION_LEVEL = POWER_INFORMATION_LEVEL ( 11i32 ) ; pub const SystemPowerInformation : POWER_INFORMATION_LEVEL = POWER_INFORMATION_LEVEL ( 12i32 ) ; pub const ProcessorStateHandler2 : POWER_INFORMATION_LEVEL = POWER_INFORMATION_LEVEL ( 13i32 ) ; pub const LastWakeTime : POWER_INFORMATION_LEVEL = POWER_INFORMATION_LEVEL ( 14i32 ) ; pub const LastSleepTime : POWER_INFORMATION_LEVEL = POWER_INFORMATION_LEVEL ( 15i32 ) ; pub const SystemExecutionState : POWER_INFORMATION_LEVEL = POWER_INFORMATION_LEVEL ( 16i32 ) ; pub const SystemPowerStateNotifyHandler : POWER_INFORMATION_LEVEL = POWER_INFORMATION_LEVEL ( 17i32 ) ; pub const ProcessorPowerPolicyAc : POWER_INFORMATION_LEVEL = POWER_INFORMATION_LEVEL ( 18i32 ) ; pub const ProcessorPowerPolicyDc : POWER_INFORMATION_LEVEL = POWER_INFORMATION_LEVEL ( 19i32 ) ; pub const VerifyProcessorPowerPolicyAc : POWER_INFORMATION_LEVEL = POWER_INFORMATION_LEVEL ( 20i32 ) ; pub const VerifyProcessorPowerPolicyDc : POWER_INFORMATION_LEVEL = POWER_INFORMATION_LEVEL ( 21i32 ) ; pub const ProcessorPowerPolicyCurrent : POWER_INFORMATION_LEVEL = POWER_INFORMATION_LEVEL ( 22i32 ) ; pub const SystemPowerStateLogging : POWER_INFORMATION_LEVEL = POWER_INFORMATION_LEVEL ( 23i32 ) ; pub const SystemPowerLoggingEntry : POWER_INFORMATION_LEVEL = POWER_INFORMATION_LEVEL ( 24i32 ) ; pub const SetPowerSettingValue : POWER_INFORMATION_LEVEL = POWER_INFORMATION_LEVEL ( 25i32 ) ; pub const NotifyUserPowerSetting : POWER_INFORMATION_LEVEL = POWER_INFORMATION_LEVEL ( 26i32 ) ; pub const PowerInformationLevelUnused0 : POWER_INFORMATION_LEVEL = POWER_INFORMATION_LEVEL ( 27i32 ) ; pub const SystemMonitorHiberBootPowerOff : POWER_INFORMATION_LEVEL = POWER_INFORMATION_LEVEL ( 28i32 ) ; pub const SystemVideoState : POWER_INFORMATION_LEVEL = POWER_INFORMATION_LEVEL ( 29i32 ) ; pub const TraceApplicationPowerMessage : POWER_INFORMATION_LEVEL = POWER_INFORMATION_LEVEL ( 30i32 ) ; pub const TraceApplicationPowerMessageEnd : POWER_INFORMATION_LEVEL = POWER_INFORMATION_LEVEL ( 31i32 ) ; pub const ProcessorPerfStates : POWER_INFORMATION_LEVEL = POWER_INFORMATION_LEVEL ( 32i32 ) ; pub const ProcessorIdleStates : POWER_INFORMATION_LEVEL = POWER_INFORMATION_LEVEL ( 33i32 ) ; pub const ProcessorCap : POWER_INFORMATION_LEVEL = POWER_INFORMATION_LEVEL ( 34i32 ) ; pub const SystemWakeSource : POWER_INFORMATION_LEVEL = POWER_INFORMATION_LEVEL ( 35i32 ) ; pub const SystemHiberFileInformation : POWER_INFORMATION_LEVEL = POWER_INFORMATION_LEVEL ( 36i32 ) ; pub const TraceServicePowerMessage : POWER_INFORMATION_LEVEL = POWER_INFORMATION_LEVEL ( 37i32 ) ; pub const ProcessorLoad : POWER_INFORMATION_LEVEL = POWER_INFORMATION_LEVEL ( 38i32 ) ; pub const PowerShutdownNotification : POWER_INFORMATION_LEVEL = POWER_INFORMATION_LEVEL ( 39i32 ) ; pub const MonitorCapabilities : POWER_INFORMATION_LEVEL = POWER_INFORMATION_LEVEL ( 40i32 ) ; pub const SessionPowerInit : POWER_INFORMATION_LEVEL = POWER_INFORMATION_LEVEL ( 41i32 ) ; pub const SessionDisplayState : POWER_INFORMATION_LEVEL = POWER_INFORMATION_LEVEL ( 42i32 ) ; pub const PowerRequestCreate : POWER_INFORMATION_LEVEL = POWER_INFORMATION_LEVEL ( 43i32 ) ; pub const PowerRequestAction : POWER_INFORMATION_LEVEL = POWER_INFORMATION_LEVEL ( 44i32 ) ; pub const GetPowerRequestList : POWER_INFORMATION_LEVEL = POWER_INFORMATION_LEVEL ( 45i32 ) ; pub const ProcessorInformationEx : POWER_INFORMATION_LEVEL = POWER_INFORMATION_LEVEL ( 46i32 ) ; pub const NotifyUserModeLegacyPowerEvent : POWER_INFORMATION_LEVEL = POWER_INFORMATION_LEVEL ( 47i32 ) ; pub const GroupPark : POWER_INFORMATION_LEVEL = POWER_INFORMATION_LEVEL ( 48i32 ) ; pub const ProcessorIdleDomains : POWER_INFORMATION_LEVEL = POWER_INFORMATION_LEVEL ( 49i32 ) ; pub const WakeTimerList : POWER_INFORMATION_LEVEL = POWER_INFORMATION_LEVEL ( 50i32 ) ; pub const SystemHiberFileSize : POWER_INFORMATION_LEVEL = POWER_INFORMATION_LEVEL ( 51i32 ) ; pub const ProcessorIdleStatesHv : POWER_INFORMATION_LEVEL = POWER_INFORMATION_LEVEL ( 52i32 ) ; pub const ProcessorPerfStatesHv : POWER_INFORMATION_LEVEL = POWER_INFORMATION_LEVEL ( 53i32 ) ; pub const ProcessorPerfCapHv : POWER_INFORMATION_LEVEL = POWER_INFORMATION_LEVEL ( 54i32 ) ; pub const ProcessorSetIdle : POWER_INFORMATION_LEVEL = POWER_INFORMATION_LEVEL ( 55i32 ) ; pub const LogicalProcessorIdling : POWER_INFORMATION_LEVEL = POWER_INFORMATION_LEVEL ( 56i32 ) ; pub const UserPresence : POWER_INFORMATION_LEVEL = POWER_INFORMATION_LEVEL ( 57i32 ) ; pub const PowerSettingNotificationName : POWER_INFORMATION_LEVEL = POWER_INFORMATION_LEVEL ( 58i32 ) ; pub const GetPowerSettingValue : POWER_INFORMATION_LEVEL = POWER_INFORMATION_LEVEL ( 59i32 ) ; pub const IdleResiliency : POWER_INFORMATION_LEVEL = POWER_INFORMATION_LEVEL ( 60i32 ) ; pub const SessionRITState : POWER_INFORMATION_LEVEL = POWER_INFORMATION_LEVEL ( 61i32 ) ; pub const SessionConnectNotification : POWER_INFORMATION_LEVEL = POWER_INFORMATION_LEVEL ( 62i32 ) ; pub const SessionPowerCleanup : POWER_INFORMATION_LEVEL = POWER_INFORMATION_LEVEL ( 63i32 ) ; pub const SessionLockState : POWER_INFORMATION_LEVEL = POWER_INFORMATION_LEVEL ( 64i32 ) ; pub const SystemHiberbootState : POWER_INFORMATION_LEVEL = POWER_INFORMATION_LEVEL ( 65i32 ) ; pub const PlatformInformation : POWER_INFORMATION_LEVEL = POWER_INFORMATION_LEVEL ( 66i32 ) ; pub const PdcInvocation : POWER_INFORMATION_LEVEL = POWER_INFORMATION_LEVEL ( 67i32 ) ; pub const MonitorInvocation : POWER_INFORMATION_LEVEL = POWER_INFORMATION_LEVEL ( 68i32 ) ; pub const FirmwareTableInformationRegistered : POWER_INFORMATION_LEVEL = POWER_INFORMATION_LEVEL ( 69i32 ) ; pub const SetShutdownSelectedTime : POWER_INFORMATION_LEVEL = POWER_INFORMATION_LEVEL ( 70i32 ) ; pub const SuspendResumeInvocation : POWER_INFORMATION_LEVEL = POWER_INFORMATION_LEVEL ( 71i32 ) ; pub const PlmPowerRequestCreate : POWER_INFORMATION_LEVEL = POWER_INFORMATION_LEVEL ( 72i32 ) ; pub const ScreenOff : POWER_INFORMATION_LEVEL = POWER_INFORMATION_LEVEL ( 73i32 ) ; pub const CsDeviceNotification : POWER_INFORMATION_LEVEL = POWER_INFORMATION_LEVEL ( 74i32 ) ; pub const PlatformRole : POWER_INFORMATION_LEVEL = POWER_INFORMATION_LEVEL ( 75i32 ) ; pub const LastResumePerformance : POWER_INFORMATION_LEVEL = POWER_INFORMATION_LEVEL ( 76i32 ) ; pub const DisplayBurst : POWER_INFORMATION_LEVEL = POWER_INFORMATION_LEVEL ( 77i32 ) ; pub const ExitLatencySamplingPercentage : POWER_INFORMATION_LEVEL = POWER_INFORMATION_LEVEL ( 78i32 ) ; pub const RegisterSpmPowerSettings : POWER_INFORMATION_LEVEL = POWER_INFORMATION_LEVEL ( 79i32 ) ; pub const PlatformIdleStates : POWER_INFORMATION_LEVEL = POWER_INFORMATION_LEVEL ( 80i32 ) ; pub const ProcessorIdleVeto : POWER_INFORMATION_LEVEL = POWER_INFORMATION_LEVEL ( 81i32 ) ; pub const PlatformIdleVeto : POWER_INFORMATION_LEVEL = POWER_INFORMATION_LEVEL ( 82i32 ) ; pub const SystemBatteryStatePrecise : POWER_INFORMATION_LEVEL = POWER_INFORMATION_LEVEL ( 83i32 ) ; pub const ThermalEvent : POWER_INFORMATION_LEVEL = POWER_INFORMATION_LEVEL ( 84i32 ) ; pub const PowerRequestActionInternal : POWER_INFORMATION_LEVEL = POWER_INFORMATION_LEVEL ( 85i32 ) ; pub const BatteryDeviceState : POWER_INFORMATION_LEVEL = POWER_INFORMATION_LEVEL ( 86i32 ) ; pub const PowerInformationInternal : POWER_INFORMATION_LEVEL = POWER_INFORMATION_LEVEL ( 87i32 ) ; pub const ThermalStandby : POWER_INFORMATION_LEVEL = POWER_INFORMATION_LEVEL ( 88i32 ) ; pub const SystemHiberFileType : POWER_INFORMATION_LEVEL = POWER_INFORMATION_LEVEL ( 89i32 ) ; pub const PhysicalPowerButtonPress : POWER_INFORMATION_LEVEL = POWER_INFORMATION_LEVEL ( 90i32 ) ; pub const QueryPotentialDripsConstraint : POWER_INFORMATION_LEVEL = POWER_INFORMATION_LEVEL ( 91i32 ) ; pub const EnergyTrackerCreate : POWER_INFORMATION_LEVEL = POWER_INFORMATION_LEVEL ( 92i32 ) ; pub const EnergyTrackerQuery : POWER_INFORMATION_LEVEL = POWER_INFORMATION_LEVEL ( 93i32 ) ; pub const UpdateBlackBoxRecorder : POWER_INFORMATION_LEVEL = POWER_INFORMATION_LEVEL ( 94i32 ) ; pub const SessionAllowExternalDmaDevices : POWER_INFORMATION_LEVEL = POWER_INFORMATION_LEVEL ( 95i32 ) ; pub const PowerInformationLevelMaximum : POWER_INFORMATION_LEVEL = POWER_INFORMATION_LEVEL ( 96i32 ) ; impl :: std :: convert :: From < i32 > for POWER_INFORMATION_LEVEL { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for POWER_INFORMATION_LEVEL { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct POWER_MONITOR_INVOCATION { pub Console : u8 , pub RequestReason : POWER_MONITOR_REQUEST_REASON } impl POWER_MONITOR_INVOCATION { } impl :: std :: default :: Default for POWER_MONITOR_INVOCATION { fn default ( ) -> Self { Self { Console : 0 , RequestReason : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for POWER_MONITOR_INVOCATION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "POWER_MONITOR_INVOCATION" ) . field ( "Console" , & self . Console ) . field ( "RequestReason" , & self . RequestReason ) . finish ( ) } } impl :: std :: cmp :: PartialEq for POWER_MONITOR_INVOCATION { fn eq ( & self , other : & Self ) -> bool { self . Console == other . Console && self . RequestReason == other . RequestReason } } impl :: std :: cmp :: Eq for POWER_MONITOR_INVOCATION { } unsafe impl :: windows :: Abi for POWER_MONITOR_INVOCATION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct POWER_MONITOR_REQUEST_REASON ( pub i32 ) ; pub const MonitorRequestReasonUnknown : POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON ( 0i32 ) ; pub const MonitorRequestReasonPowerButton : POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON ( 1i32 ) ; pub const MonitorRequestReasonRemoteConnection : POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON ( 2i32 ) ; pub const MonitorRequestReasonScMonitorpower : POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON ( 3i32 ) ; pub const MonitorRequestReasonUserInput : POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON ( 4i32 ) ; pub const MonitorRequestReasonAcDcDisplayBurst : POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON ( 5i32 ) ; pub const MonitorRequestReasonUserDisplayBurst : POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON ( 6i32 ) ; pub const MonitorRequestReasonPoSetSystemState : POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON ( 7i32 ) ; pub const MonitorRequestReasonSetThreadExecutionState : POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON ( 8i32 ) ; pub const MonitorRequestReasonFullWake : POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON ( 9i32 ) ; pub const MonitorRequestReasonSessionUnlock : POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON ( 10i32 ) ; pub const MonitorRequestReasonScreenOffRequest : POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON ( 11i32 ) ; pub const MonitorRequestReasonIdleTimeout : POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON ( 12i32 ) ; pub const MonitorRequestReasonPolicyChange : POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON ( 13i32 ) ; pub const MonitorRequestReasonSleepButton : POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON ( 14i32 ) ; pub const MonitorRequestReasonLid : POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON ( 15i32 ) ; pub const MonitorRequestReasonBatteryCountChange : POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON ( 16i32 ) ; pub const MonitorRequestReasonGracePeriod : POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON ( 17i32 ) ; pub const MonitorRequestReasonPnP : POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON ( 18i32 ) ; pub const MonitorRequestReasonDP : POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON ( 19i32 ) ; pub const MonitorRequestReasonSxTransition : POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON ( 20i32 ) ; pub const MonitorRequestReasonSystemIdle : POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON ( 21i32 ) ; pub const MonitorRequestReasonNearProximity : POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON ( 22i32 ) ; pub const MonitorRequestReasonThermalStandby : POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON ( 23i32 ) ; pub const MonitorRequestReasonResumePdc : POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON ( 24i32 ) ; pub const MonitorRequestReasonResumeS4 : POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON ( 25i32 ) ; pub const MonitorRequestReasonTerminal : POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON ( 26i32 ) ; pub const MonitorRequestReasonPdcSignal : POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON ( 27i32 ) ; pub const MonitorRequestReasonAcDcDisplayBurstSuppressed : POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON ( 28i32 ) ; pub const MonitorRequestReasonSystemStateEntered : POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON ( 29i32 ) ; pub const MonitorRequestReasonWinrt : POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON ( 30i32 ) ; pub const MonitorRequestReasonUserInputKeyboard : POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON ( 31i32 ) ; pub const MonitorRequestReasonUserInputMouse : POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON ( 32i32 ) ; pub const MonitorRequestReasonUserInputTouch : POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON ( 33i32 ) ; pub const MonitorRequestReasonUserInputPen : POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON ( 34i32 ) ; pub const MonitorRequestReasonUserInputAccelerometer : POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON ( 35i32 ) ; pub const MonitorRequestReasonUserInputHid : POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON ( 36i32 ) ; pub const MonitorRequestReasonUserInputPoUserPresent : POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON ( 37i32 ) ; pub const MonitorRequestReasonUserInputSessionSwitch : POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON ( 38i32 ) ; pub const MonitorRequestReasonUserInputInitialization : POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON ( 39i32 ) ; pub const MonitorRequestReasonPdcSignalWindowsMobilePwrNotif : POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON ( 40i32 ) ; pub const MonitorRequestReasonPdcSignalWindowsMobileShell : POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON ( 41i32 ) ; pub const MonitorRequestReasonPdcSignalHeyCortana : POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON ( 42i32 ) ; pub const MonitorRequestReasonPdcSignalHolographicShell : POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON ( 43i32 ) ; pub const MonitorRequestReasonPdcSignalFingerprint : POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON ( 44i32 ) ; pub const MonitorRequestReasonDirectedDrips : POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON ( 45i32 ) ; pub const MonitorRequestReasonDim : POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON ( 46i32 ) ; pub const MonitorRequestReasonBuiltinPanel : POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON ( 47i32 ) ; pub const MonitorRequestReasonDisplayRequiredUnDim : POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON ( 48i32 ) ; pub const MonitorRequestReasonBatteryCountChangeSuppressed : POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON ( 49i32 ) ; pub const MonitorRequestReasonResumeModernStandby : POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON ( 50i32 ) ; pub const MonitorRequestReasonMax : POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON ( 51i32 ) ; impl :: std :: convert :: From < i32 > for POWER_MONITOR_REQUEST_REASON { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for POWER_MONITOR_REQUEST_REASON { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct POWER_MONITOR_REQUEST_TYPE ( pub i32 ) ; pub const MonitorRequestTypeOff : POWER_MONITOR_REQUEST_TYPE = POWER_MONITOR_REQUEST_TYPE ( 0i32 ) ; pub const MonitorRequestTypeOnAndPresent : POWER_MONITOR_REQUEST_TYPE = POWER_MONITOR_REQUEST_TYPE ( 1i32 ) ; pub const MonitorRequestTypeToggleOn : POWER_MONITOR_REQUEST_TYPE = POWER_MONITOR_REQUEST_TYPE ( 2i32 ) ; impl :: std :: convert :: From < i32 > for POWER_MONITOR_REQUEST_TYPE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for POWER_MONITOR_REQUEST_TYPE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct POWER_PLATFORM_INFORMATION { pub AoAc : u8 } impl POWER_PLATFORM_INFORMATION { } impl :: std :: default :: Default for POWER_PLATFORM_INFORMATION { fn default ( ) -> Self { Self { AoAc : 0 } } } impl :: std :: fmt :: Debug for POWER_PLATFORM_INFORMATION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "POWER_PLATFORM_INFORMATION" ) . field ( "AoAc" , & self . AoAc ) . finish ( ) } } impl :: std :: cmp :: PartialEq for POWER_PLATFORM_INFORMATION { fn eq ( & self , other : & Self ) -> bool { self . AoAc == other . AoAc } } impl :: std :: cmp :: Eq for POWER_PLATFORM_INFORMATION { } unsafe impl :: windows :: Abi for POWER_PLATFORM_INFORMATION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct POWER_REQUEST_CONTEXT_FLAGS ( pub u32 ) ; pub const POWER_REQUEST_CONTEXT_DETAILED_STRING : POWER_REQUEST_CONTEXT_FLAGS = POWER_REQUEST_CONTEXT_FLAGS ( 2u32 ) ; pub const POWER_REQUEST_CONTEXT_SIMPLE_STRING : POWER_REQUEST_CONTEXT_FLAGS = POWER_REQUEST_CONTEXT_FLAGS ( 1u32 ) ; impl :: std :: convert :: From < u32 > for POWER_REQUEST_CONTEXT_FLAGS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for POWER_REQUEST_CONTEXT_FLAGS { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for POWER_REQUEST_CONTEXT_FLAGS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for POWER_REQUEST_CONTEXT_FLAGS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for POWER_REQUEST_CONTEXT_FLAGS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for POWER_REQUEST_CONTEXT_FLAGS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct POWER_REQUEST_TYPE ( pub i32 ) ; pub const PowerRequestDisplayRequired : POWER_REQUEST_TYPE = POWER_REQUEST_TYPE ( 0i32 ) ; pub const PowerRequestSystemRequired : POWER_REQUEST_TYPE = POWER_REQUEST_TYPE ( 1i32 ) ; pub const PowerRequestAwayModeRequired : POWER_REQUEST_TYPE = POWER_REQUEST_TYPE ( 2i32 ) ; pub const PowerRequestExecutionRequired : POWER_REQUEST_TYPE = POWER_REQUEST_TYPE ( 3i32 ) ; impl :: std :: convert :: From < i32 > for POWER_REQUEST_TYPE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for POWER_REQUEST_TYPE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct POWER_SESSION_ALLOW_EXTERNAL_DMA_DEVICES { pub IsAllowed : u8 } impl POWER_SESSION_ALLOW_EXTERNAL_DMA_DEVICES { } impl :: std :: default :: Default for POWER_SESSION_ALLOW_EXTERNAL_DMA_DEVICES { fn default ( ) -> Self { Self { IsAllowed : 0 } } } impl :: std :: fmt :: Debug for POWER_SESSION_ALLOW_EXTERNAL_DMA_DEVICES { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "POWER_SESSION_ALLOW_EXTERNAL_DMA_DEVICES" ) . field ( "IsAllowed" , & self . IsAllowed ) . finish ( ) } } impl :: std :: cmp :: PartialEq for POWER_SESSION_ALLOW_EXTERNAL_DMA_DEVICES { fn eq ( & self , other : & Self ) -> bool { self . IsAllowed == other . IsAllowed } } impl :: std :: cmp :: Eq for POWER_SESSION_ALLOW_EXTERNAL_DMA_DEVICES { } unsafe impl :: windows :: Abi for POWER_SESSION_ALLOW_EXTERNAL_DMA_DEVICES { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct POWER_SESSION_CONNECT { pub Connected : u8 , pub Console : u8 } impl POWER_SESSION_CONNECT { } impl :: std :: default :: Default for POWER_SESSION_CONNECT { fn default ( ) -> Self { Self { Connected : 0 , Console : 0 } } } impl :: std :: fmt :: Debug for POWER_SESSION_CONNECT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "POWER_SESSION_CONNECT" ) . field ( "Connected" , & self . Connected ) . field ( "Console" , & self . Console ) . finish ( ) } } impl :: std :: cmp :: PartialEq for POWER_SESSION_CONNECT { fn eq ( & self , other : & Self ) -> bool { self . Connected == other . Connected && self . Console == other . Console } } impl :: std :: cmp :: Eq for POWER_SESSION_CONNECT { } unsafe impl :: windows :: Abi for POWER_SESSION_CONNECT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct POWER_SESSION_RIT_STATE { pub Active : u8 , pub LastInputTime : u32 } impl POWER_SESSION_RIT_STATE { } impl :: std :: default :: Default for POWER_SESSION_RIT_STATE { fn default ( ) -> Self { Self { Active : 0 , LastInputTime : 0 } } } impl :: std :: fmt :: Debug for POWER_SESSION_RIT_STATE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "POWER_SESSION_RIT_STATE" ) . field ( "Active" , & self . Active ) . field ( "LastInputTime" , & self . LastInputTime ) . finish ( ) } } impl :: std :: cmp :: PartialEq for POWER_SESSION_RIT_STATE { fn eq ( & self , other : & Self ) -> bool { self . Active == other . Active && self . LastInputTime == other . LastInputTime } } impl :: std :: cmp :: Eq for POWER_SESSION_RIT_STATE { } unsafe impl :: windows :: Abi for POWER_SESSION_RIT_STATE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct POWER_SESSION_TIMEOUTS { pub InputTimeout : u32 , pub DisplayTimeout : u32 } impl POWER_SESSION_TIMEOUTS { } impl :: std :: default :: Default for POWER_SESSION_TIMEOUTS { fn default ( ) -> Self { Self { InputTimeout : 0 , DisplayTimeout : 0 } } } impl :: std :: fmt :: Debug for POWER_SESSION_TIMEOUTS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "POWER_SESSION_TIMEOUTS" ) . field ( "InputTimeout" , & self . InputTimeout ) . field ( "DisplayTimeout" , & self . DisplayTimeout ) . finish ( ) } } impl :: std :: cmp :: PartialEq for POWER_SESSION_TIMEOUTS { fn eq ( & self , other : & Self ) -> bool { self . InputTimeout == other . InputTimeout && self . DisplayTimeout == other . DisplayTimeout } } impl :: std :: cmp :: Eq for POWER_SESSION_TIMEOUTS { } unsafe impl :: windows :: Abi for POWER_SESSION_TIMEOUTS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct POWER_SESSION_WINLOGON { pub SessionId : u32 , pub Console : u8 , pub Locked : u8 } impl POWER_SESSION_WINLOGON { } impl :: std :: default :: Default for POWER_SESSION_WINLOGON { fn default ( ) -> Self { Self { SessionId : 0 , Console : 0 , Locked : 0 } } } impl :: std :: fmt :: Debug for POWER_SESSION_WINLOGON { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "POWER_SESSION_WINLOGON" ) . field ( "SessionId" , & self . SessionId ) . field ( "Console" , & self . Console ) . field ( "Locked" , & self . Locked ) . finish ( ) } } impl :: std :: cmp :: PartialEq for POWER_SESSION_WINLOGON { fn eq ( & self , other : & Self ) -> bool { self . SessionId == other . SessionId && self . Console == other . Console && self . Locked == other . Locked } } impl :: std :: cmp :: Eq for POWER_SESSION_WINLOGON { } unsafe impl :: windows :: Abi for POWER_SESSION_WINLOGON { type Abi = Self ; type DefaultType = Self ; } pub const POWER_SETTING_VALUE_VERSION : u32 = 1u32 ; pub const POWER_SYSTEM_MAXIMUM : u32 = 7u32 ; pub const POWER_USER_NOTIFY_FORCED_SHUTDOWN : u32 = 32u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct POWER_USER_PRESENCE { pub UserPresence : POWER_USER_PRESENCE_TYPE } impl POWER_USER_PRESENCE { } impl :: std :: default :: Default for POWER_USER_PRESENCE { fn default ( ) -> Self { Self { UserPresence : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for POWER_USER_PRESENCE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "POWER_USER_PRESENCE" ) . field ( "UserPresence" , & self . UserPresence ) . finish ( ) } } impl :: std :: cmp :: PartialEq for POWER_USER_PRESENCE { fn eq ( & self , other : & Self ) -> bool { self . UserPresence == other . UserPresence } } impl :: std :: cmp :: Eq for POWER_USER_PRESENCE { } unsafe impl :: windows :: Abi for POWER_USER_PRESENCE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct POWER_USER_PRESENCE_TYPE ( pub i32 ) ; pub const UserNotPresent : POWER_USER_PRESENCE_TYPE = POWER_USER_PRESENCE_TYPE ( 0i32 ) ; pub const UserPresent : POWER_USER_PRESENCE_TYPE = POWER_USER_PRESENCE_TYPE ( 1i32 ) ; pub const UserUnknown : POWER_USER_PRESENCE_TYPE = POWER_USER_PRESENCE_TYPE ( 255i32 ) ; impl :: std :: convert :: From < i32 > for POWER_USER_PRESENCE_TYPE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for POWER_USER_PRESENCE_TYPE { type Abi = Self ; type DefaultType = Self ; } pub const PO_ALL_INTEGERS : u32 = 4u32 ; pub const PO_BEZIERS : u32 = 1u32 ; pub const PO_ELLIPSE : u32 = 2u32 ; pub const PO_ENUM_AS_INTEGERS : u32 = 8u32 ; pub const PO_THROTTLE_ADAPTIVE : u32 = 3u32 ; pub const PO_THROTTLE_CONSTANT : u32 = 1u32 ; pub const PO_THROTTLE_DEGRADE : u32 = 2u32 ; pub const PO_THROTTLE_MAXIMUM : u32 = 4u32 ; pub const PO_THROTTLE_NONE : u32 = 0u32 ; pub const PO_WIDENED : u32 = 16u32 ; pub const PPC_BGR_ORDER_HORIZONTAL_STRIPES : u32 = 5u32 ; pub const PPC_BGR_ORDER_VERTICAL_STRIPES : u32 = 3u32 ; pub const PPC_DEFAULT : u32 = 0u32 ; pub const PPC_RGB_ORDER_HORIZONTAL_STRIPES : u32 = 4u32 ; pub const PPC_RGB_ORDER_VERTICAL_STRIPES : u32 = 2u32 ; pub const PPC_UNDEFINED : u32 = 1u32 ; pub const PPG_DEFAULT : u32 = 0u32 ; pub const PPG_SRGB : u32 = 1u32 ; pub const PPM_FIRMWARE_ACPI1C2 : u32 = 1u32 ; pub const PPM_FIRMWARE_ACPI1C3 : u32 = 2u32 ; pub const PPM_FIRMWARE_ACPI1TSTATES : u32 = 4u32 ; pub const PPM_FIRMWARE_CPC : u32 = 262144u32 ; pub const PPM_FIRMWARE_CSD : u32 = 16u32 ; pub const PPM_FIRMWARE_CST : u32 = 8u32 ; pub const PPM_FIRMWARE_LPI : u32 = 524288u32 ; pub const PPM_FIRMWARE_OSC : u32 = 65536u32 ; pub const PPM_FIRMWARE_PCCH : u32 = 16384u32 ; pub const PPM_FIRMWARE_PCCP : u32 = 32768u32 ; pub const PPM_FIRMWARE_PCT : u32 = 32u32 ; pub const PPM_FIRMWARE_PDC : u32 = 131072u32 ; pub const PPM_FIRMWARE_PPC : u32 = 256u32 ; pub const PPM_FIRMWARE_PSD : u32 = 512u32 ; pub const PPM_FIRMWARE_PSS : u32 = 64u32 ; pub const PPM_FIRMWARE_PTC : u32 = 1024u32 ; pub const PPM_FIRMWARE_TPC : u32 = 4096u32 ; pub const PPM_FIRMWARE_TSD : u32 = 8192u32 ; pub const PPM_FIRMWARE_TSS : u32 = 2048u32 ; pub const PPM_FIRMWARE_XPSS : u32 = 128u32 ; pub const PPM_IDLESTATES_DATA_GUID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3121843728 ,57936 ,19159 , [ 134 ,22 ,207 ,26 ,122 ,212 ,16 ,231 ] , ) ; pub const PPM_IDLESTATE_CHANGE_GUID : :: windows :: Guid = :: windows :: Guid :: from_values ( 1211694671 ,63260 ,20049 , [ 158 ,204 ,132 ,48 ,167 ,172 ,76 ,108 ] , ) ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PPM_IDLESTATE_EVENT { pub NewState : u32 , pub OldState : u32 , pub Processors : u64 } impl PPM_IDLESTATE_EVENT { } impl :: std :: default :: Default for PPM_IDLESTATE_EVENT { fn default ( ) -> Self { Self { NewState : 0 , OldState : 0 , Processors : 0 } } } impl :: std :: fmt :: Debug for PPM_IDLESTATE_EVENT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "PPM_IDLESTATE_EVENT" ) . field ( "NewState" , & self . NewState ) . field ( "OldState" , & self . OldState ) . field ( "Processors" , & self . Processors ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PPM_IDLESTATE_EVENT { fn eq ( & self , other : & Self ) -> bool { self . NewState == other . NewState && self . OldState == other . OldState && self . Processors == other . Processors } } impl :: std :: cmp :: Eq for PPM_IDLESTATE_EVENT { } unsafe impl :: windows :: Abi for PPM_IDLESTATE_EVENT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PPM_IDLE_ACCOUNTING { pub StateCount : u32 , pub TotalTransitions : u32 , pub ResetCount : u32 , pub StartTime : u64 , pub State : [ PPM_IDLE_STATE_ACCOUNTING ;1 ] } impl PPM_IDLE_ACCOUNTING { } impl :: std :: default :: Default for PPM_IDLE_ACCOUNTING { fn default ( ) -> Self { Self { StateCount : 0 , TotalTransitions : 0 , ResetCount : 0 , StartTime : 0 , State : [ :: std :: default :: Default :: default ( ) ;1 ] } } } impl :: std :: fmt :: Debug for PPM_IDLE_ACCOUNTING { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "PPM_IDLE_ACCOUNTING" ) . field ( "StateCount" , & self . StateCount ) . field ( "TotalTransitions" , & self . TotalTransitions ) . field ( "ResetCount" , & self . ResetCount ) . field ( "StartTime" , & self . StartTime ) . field ( "State" , & self . State ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PPM_IDLE_ACCOUNTING { fn eq ( & self , other : & Self ) -> bool { self . StateCount == other . StateCount && self . TotalTransitions == other . TotalTransitions && self . ResetCount == other . ResetCount && self . StartTime == other . StartTime && self . State == other . State } } impl :: std :: cmp :: Eq for PPM_IDLE_ACCOUNTING { } unsafe impl :: windows :: Abi for PPM_IDLE_ACCOUNTING { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PPM_IDLE_ACCOUNTING_EX { pub StateCount : u32 , pub TotalTransitions : u32 , pub ResetCount : u32 , pub AbortCount : u32 , pub StartTime : u64 , pub State : [ PPM_IDLE_STATE_ACCOUNTING_EX ;1 ] } impl PPM_IDLE_ACCOUNTING_EX { } impl :: std :: default :: Default for PPM_IDLE_ACCOUNTING_EX { fn default ( ) -> Self { Self { StateCount : 0 , TotalTransitions : 0 , ResetCount : 0 , AbortCount : 0 , StartTime : 0 , State : [ :: std :: default :: Default :: default ( ) ;1 ] } } } impl :: std :: fmt :: Debug for PPM_IDLE_ACCOUNTING_EX { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "PPM_IDLE_ACCOUNTING_EX" ) . field ( "StateCount" , & self . StateCount ) . field ( "TotalTransitions" , & self . TotalTransitions ) . field ( "ResetCount" , & self . ResetCount ) . field ( "AbortCount" , & self . AbortCount ) . field ( "StartTime" , & self . StartTime ) . field ( "State" , & self . State ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PPM_IDLE_ACCOUNTING_EX { fn eq ( & self , other : & Self ) -> bool { self . StateCount == other . StateCount && self . TotalTransitions == other . TotalTransitions && self . ResetCount == other . ResetCount && self . AbortCount == other . AbortCount && self . StartTime == other . StartTime && self . State == other . State } } impl :: std :: cmp :: Eq for PPM_IDLE_ACCOUNTING_EX { } unsafe impl :: windows :: Abi for PPM_IDLE_ACCOUNTING_EX { type Abi = Self ; type DefaultType = Self ; } pub const PPM_IDLE_ACCOUNTING_EX_GUID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3598368057 ,33272 ,19038 , [ 129 ,82 ,114 ,227 ,30 ,201 ,18 ,238 ] , ) ; pub const PPM_IDLE_ACCOUNTING_GUID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3802296184 ,44551 ,20192 , [ 163 ,15 ,206 ,84 ,245 ,90 ,148 ,205 ] , ) ; pub const PPM_IDLE_IMPLEMENTATION_CSTATES : u32 = 1u32 ; pub const PPM_IDLE_IMPLEMENTATION_LPISTATES : u32 = 4u32 ; pub const PPM_IDLE_IMPLEMENTATION_MICROPEP : u32 = 3u32 ; pub const PPM_IDLE_IMPLEMENTATION_NONE : u32 = 0u32 ; pub const PPM_IDLE_IMPLEMENTATION_PEP : u32 = 2u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PPM_IDLE_STATE_ACCOUNTING { pub IdleTransitions : u32 , pub FailedTransitions : u32 , pub InvalidBucketIndex : u32 , pub TotalTime : u64 , pub IdleTimeBuckets : [ u32 ;6 ] } impl PPM_IDLE_STATE_ACCOUNTING { } impl :: std :: default :: Default for PPM_IDLE_STATE_ACCOUNTING { fn default ( ) -> Self { Self { IdleTransitions : 0 , FailedTransitions : 0 , InvalidBucketIndex : 0 , TotalTime : 0 , IdleTimeBuckets : [ 0 ;6 ] } } } impl :: std :: fmt :: Debug for PPM_IDLE_STATE_ACCOUNTING { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "PPM_IDLE_STATE_ACCOUNTING" ) . field ( "IdleTransitions" , & self . IdleTransitions ) . field ( "FailedTransitions" , & self . FailedTransitions ) . field ( "InvalidBucketIndex" , & self . InvalidBucketIndex ) . field ( "TotalTime" , & self . TotalTime ) . field ( "IdleTimeBuckets" , & self . IdleTimeBuckets ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PPM_IDLE_STATE_ACCOUNTING { fn eq ( & self , other : & Self ) -> bool { self . IdleTransitions == other . IdleTransitions && self . FailedTransitions == other . FailedTransitions && self . InvalidBucketIndex == other . InvalidBucketIndex && self . TotalTime == other . TotalTime && self . IdleTimeBuckets == other . IdleTimeBuckets } } impl :: std :: cmp :: Eq for PPM_IDLE_STATE_ACCOUNTING { } unsafe impl :: windows :: Abi for PPM_IDLE_STATE_ACCOUNTING { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PPM_IDLE_STATE_ACCOUNTING_EX { pub TotalTime : u64 , pub IdleTransitions : u32 , pub FailedTransitions : u32 , pub InvalidBucketIndex : u32 , pub MinTimeUs : u32 , pub MaxTimeUs : u32 , pub CancelledTransitions : u32 , pub IdleTimeBuckets : [ PPM_IDLE_STATE_BUCKET_EX ;16 ] } impl PPM_IDLE_STATE_ACCOUNTING_EX { } impl :: std :: default :: Default for PPM_IDLE_STATE_ACCOUNTING_EX { fn default ( ) -> Self { Self { TotalTime : 0 , IdleTransitions : 0 , FailedTransitions : 0 , InvalidBucketIndex : 0 , MinTimeUs : 0 , MaxTimeUs : 0 , CancelledTransitions : 0 , IdleTimeBuckets : [ :: std :: default :: Default :: default ( ) ;16 ] } } } impl :: std :: fmt :: Debug for PPM_IDLE_STATE_ACCOUNTING_EX { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "PPM_IDLE_STATE_ACCOUNTING_EX" ) . field ( "TotalTime" , & self . TotalTime ) . field ( "IdleTransitions" , & self . IdleTransitions ) . field ( "FailedTransitions" , & self . FailedTransitions ) . field ( "InvalidBucketIndex" , & self . InvalidBucketIndex ) . field ( "MinTimeUs" , & self . MinTimeUs ) . field ( "MaxTimeUs" , & self . MaxTimeUs ) . field ( "CancelledTransitions" , & self . CancelledTransitions ) . field ( "IdleTimeBuckets" , & self . IdleTimeBuckets ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PPM_IDLE_STATE_ACCOUNTING_EX { fn eq ( & self , other : & Self ) -> bool { self . TotalTime == other . TotalTime && self . IdleTransitions == other . IdleTransitions && self . FailedTransitions == other . FailedTransitions && self . InvalidBucketIndex == other . InvalidBucketIndex && self . MinTimeUs == other . MinTimeUs && self . MaxTimeUs == other . MaxTimeUs && self . CancelledTransitions == other . CancelledTransitions && self . IdleTimeBuckets == other . IdleTimeBuckets } } impl :: std :: cmp :: Eq for PPM_IDLE_STATE_ACCOUNTING_EX { } unsafe impl :: windows :: Abi for PPM_IDLE_STATE_ACCOUNTING_EX { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PPM_IDLE_STATE_BUCKET_EX { pub TotalTimeUs : u64 , pub MinTimeUs : u32 , pub MaxTimeUs : u32 , pub Count : u32 } impl PPM_IDLE_STATE_BUCKET_EX { } impl :: std :: default :: Default for PPM_IDLE_STATE_BUCKET_EX { fn default ( ) -> Self { Self { TotalTimeUs : 0 , MinTimeUs : 0 , MaxTimeUs : 0 , Count : 0 } } } impl :: std :: fmt :: Debug for PPM_IDLE_STATE_BUCKET_EX { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "PPM_IDLE_STATE_BUCKET_EX" ) . field ( "TotalTimeUs" , & self . TotalTimeUs ) . field ( "MinTimeUs" , & self . MinTimeUs ) . field ( "MaxTimeUs" , & self . MaxTimeUs ) . field ( "Count" , & self . Count ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PPM_IDLE_STATE_BUCKET_EX { fn eq ( & self , other : & Self ) -> bool { self . TotalTimeUs == other . TotalTimeUs && self . MinTimeUs == other . MinTimeUs && self . MaxTimeUs == other . MaxTimeUs && self . Count == other . Count } } impl :: std :: cmp :: Eq for PPM_IDLE_STATE_BUCKET_EX { } unsafe impl :: windows :: Abi for PPM_IDLE_STATE_BUCKET_EX { type Abi = Self ; type DefaultType = Self ; } pub const PPM_PERFMON_PERFSTATE_GUID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2144437842 ,3326 ,16594 , [ 176 ,161 ,11 ,6 ,106 ,135 ,117 ,158 ] , ) ; pub const PPM_PERFORMANCE_IMPLEMENTATION_CPPC : u32 = 3u32 ; pub const PPM_PERFORMANCE_IMPLEMENTATION_NONE : u32 = 0u32 ; pub const PPM_PERFORMANCE_IMPLEMENTATION_PCCV1 : u32 = 2u32 ; pub const PPM_PERFORMANCE_IMPLEMENTATION_PEP : u32 = 4u32 ; pub const PPM_PERFORMANCE_IMPLEMENTATION_PSTATES : u32 = 1u32 ; pub const PPM_PERFSTATES_DATA_GUID : :: windows :: Guid = :: windows :: Guid :: from_values ( 1460194336 ,32064 ,19444 , [ 180 ,170 ,43 ,1 ,51 ,141 ,1 ,38 ] , ) ; pub const PPM_PERFSTATE_CHANGE_GUID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2779983325 ,32569 ,19132 , [ 184 ,146 ,144 ,14 ,67 ,181 ,158 ,187 ] , ) ; pub const PPM_PERFSTATE_DOMAIN_CHANGE_GUID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2573101951 ,54867 ,18810 , [ 185 ,120 ,54 ,163 ,12 ,41 ,191 ,1 ] , ) ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PPM_PERFSTATE_DOMAIN_EVENT { pub State : u32 , pub Latency : u32 , pub Speed : u32 , pub Processors : u64 } impl PPM_PERFSTATE_DOMAIN_EVENT { } impl :: std :: default :: Default for PPM_PERFSTATE_DOMAIN_EVENT { fn default ( ) -> Self { Self { State : 0 , Latency : 0 , Speed : 0 , Processors : 0 } } } impl :: std :: fmt :: Debug for PPM_PERFSTATE_DOMAIN_EVENT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "PPM_PERFSTATE_DOMAIN_EVENT" ) . field ( "State" , & self . State ) . field ( "Latency" , & self . Latency ) . field ( "Speed" , & self . Speed ) . field ( "Processors" , & self . Processors ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PPM_PERFSTATE_DOMAIN_EVENT { fn eq ( & self , other : & Self ) -> bool { self . State == other . State && self . Latency == other . Latency && self . Speed == other . Speed && self . Processors == other . Processors } } impl :: std :: cmp :: Eq for PPM_PERFSTATE_DOMAIN_EVENT { } unsafe impl :: windows :: Abi for PPM_PERFSTATE_DOMAIN_EVENT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PPM_PERFSTATE_EVENT { pub State : u32 , pub Status : u32 , pub Latency : u32 , pub Speed : u32 , pub Processor : u32 } impl PPM_PERFSTATE_EVENT { } impl :: std :: default :: Default for PPM_PERFSTATE_EVENT { fn default ( ) -> Self { Self { State : 0 , Status : 0 , Latency : 0 , Speed : 0 , Processor : 0 } } } impl :: std :: fmt :: Debug for PPM_PERFSTATE_EVENT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "PPM_PERFSTATE_EVENT" ) . field ( "State" , & self . State ) . field ( "Status" , & self . Status ) . field ( "Latency" , & self . Latency ) . field ( "Speed" , & self . Speed ) . field ( "Processor" , & self . Processor ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PPM_PERFSTATE_EVENT { fn eq ( & self , other : & Self ) -> bool { self . State == other . State && self . Status == other . Status && self . Latency == other . Latency && self . Speed == other . Speed && self . Processor == other . Processor } } impl :: std :: cmp :: Eq for PPM_PERFSTATE_EVENT { } unsafe impl :: windows :: Abi for PPM_PERFSTATE_EVENT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PPM_THERMALCHANGE_EVENT { pub ThermalConstraint : u32 , pub Processors : u64 } impl PPM_THERMALCHANGE_EVENT { } impl :: std :: default :: Default for PPM_THERMALCHANGE_EVENT { fn default ( ) -> Self { Self { ThermalConstraint : 0 , Processors : 0 } } } impl :: std :: fmt :: Debug for PPM_THERMALCHANGE_EVENT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "PPM_THERMALCHANGE_EVENT" ) . field ( "ThermalConstraint" , & self . ThermalConstraint ) . field ( "Processors" , & self . Processors ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PPM_THERMALCHANGE_EVENT { fn eq ( & self , other : & Self ) -> bool { self . ThermalConstraint == other . ThermalConstraint && self . Processors == other . Processors } } impl :: std :: cmp :: Eq for PPM_THERMALCHANGE_EVENT { } unsafe impl :: windows :: Abi for PPM_THERMALCHANGE_EVENT { type Abi = Self ; type DefaultType = Self ; } pub const PPM_THERMALCONSTRAINT_GUID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2823996104 ,6732 ,16955 , [ 140 ,44 ,243 ,13 ,130 ,147 ,26 ,136 ] , ) ; pub const PPM_THERMAL_POLICY_CHANGE_GUID : :: windows :: Guid = :: windows :: Guid :: from_values ( 1223915448 ,26752 ,19579 , [ 139 ,220 ,56 ,1 ,118 ,198 ,101 ,77 ] , ) ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PPM_THERMAL_POLICY_EVENT { pub Mode : u8 , pub Processors : u64 } impl PPM_THERMAL_POLICY_EVENT { } impl :: std :: default :: Default for PPM_THERMAL_POLICY_EVENT { fn default ( ) -> Self { Self { Mode : 0 , Processors : 0 } } } impl :: std :: fmt :: Debug for PPM_THERMAL_POLICY_EVENT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "PPM_THERMAL_POLICY_EVENT" ) . field ( "Mode" , & self . Mode ) . field ( "Processors" , & self . Processors ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PPM_THERMAL_POLICY_EVENT { fn eq ( & self , other : & Self ) -> bool { self . Mode == other . Mode && self . Processors == other . Processors } } impl :: std :: cmp :: Eq for PPM_THERMAL_POLICY_EVENT { } unsafe impl :: windows :: Abi for PPM_THERMAL_POLICY_EVENT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PPM_WMI_IDLE_STATE { pub Latency : u32 , pub Power : u32 , pub TimeCheck : u32 , pub PromotePercent : u8 , pub DemotePercent : u8 , pub StateType : u8 , pub Reserved : u8 , pub StateFlags : u32 , pub Context : u32 , pub IdleHandler : u32 , pub Reserved1 : u32 } impl PPM_WMI_IDLE_STATE { } impl :: std :: default :: Default for PPM_WMI_IDLE_STATE { fn default ( ) -> Self { Self { Latency : 0 , Power : 0 , TimeCheck : 0 , PromotePercent : 0 , DemotePercent : 0 , StateType : 0 , Reserved : 0 , StateFlags : 0 , Context : 0 , IdleHandler : 0 , Reserved1 : 0 } } } impl :: std :: fmt :: Debug for PPM_WMI_IDLE_STATE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "PPM_WMI_IDLE_STATE" ) . field ( "Latency" , & self . Latency ) . field ( "Power" , & self . Power ) . field ( "TimeCheck" , & self . TimeCheck ) . field ( "PromotePercent" , & self . PromotePercent ) . field ( "DemotePercent" , & self . DemotePercent ) . field ( "StateType" , & self . StateType ) . field ( "Reserved" , & self . Reserved ) . field ( "StateFlags" , & self . StateFlags ) . field ( "Context" , & self . Context ) . field ( "IdleHandler" , & self . IdleHandler ) . field ( "Reserved1" , & self . Reserved1 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PPM_WMI_IDLE_STATE { fn eq ( & self , other : & Self ) -> bool { self . Latency == other . Latency && self . Power == other . Power && self . TimeCheck == other . TimeCheck && self . PromotePercent == other . PromotePercent && self . DemotePercent == other . DemotePercent && self . StateType == other . StateType && self . Reserved == other . Reserved && self . StateFlags == other . StateFlags && self . Context == other . Context && self . IdleHandler == other . IdleHandler && self . Reserved1 == other . Reserved1 } } impl :: std :: cmp :: Eq for PPM_WMI_IDLE_STATE { } unsafe impl :: windows :: Abi for PPM_WMI_IDLE_STATE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PPM_WMI_IDLE_STATES { pub Type : u32 , pub Count : u32 , pub TargetState : u32 , pub OldState : u32 , pub TargetProcessors : u64 , pub State : [ PPM_WMI_IDLE_STATE ;1 ] } impl PPM_WMI_IDLE_STATES { } impl :: std :: default :: Default for PPM_WMI_IDLE_STATES { fn default ( ) -> Self { Self { Type : 0 , Count : 0 , TargetState : 0 , OldState : 0 , TargetProcessors : 0 , State : [ :: std :: default :: Default :: default ( ) ;1 ] } } } impl :: std :: fmt :: Debug for PPM_WMI_IDLE_STATES { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "PPM_WMI_IDLE_STATES" ) . field ( "Type" , & self . Type ) . field ( "Count" , & self . Count ) . field ( "TargetState" , & self . TargetState ) . field ( "OldState" , & self . OldState ) . field ( "TargetProcessors" , & self . TargetProcessors ) . field ( "State" , & self . State ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PPM_WMI_IDLE_STATES { fn eq ( & self , other : & Self ) -> bool { self . Type == other . Type && self . Count == other . Count && self . TargetState == other . TargetState && self . OldState == other . OldState && self . TargetProcessors == other . TargetProcessors && self . State == other . State } } impl :: std :: cmp :: Eq for PPM_WMI_IDLE_STATES { } unsafe impl :: windows :: Abi for PPM_WMI_IDLE_STATES { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PPM_WMI_IDLE_STATES_EX { pub Type : u32 , pub Count : u32 , pub TargetState : u32 , pub OldState : u32 , pub TargetProcessors : * mut :: std :: ffi :: c_void , pub State : [ PPM_WMI_IDLE_STATE ;1 ] } impl PPM_WMI_IDLE_STATES_EX { } impl :: std :: default :: Default for PPM_WMI_IDLE_STATES_EX { fn default ( ) -> Self { Self { Type : 0 , Count : 0 , TargetState : 0 , OldState : 0 , TargetProcessors : :: std :: ptr :: null_mut ( ) , State : [ :: std :: default :: Default :: default ( ) ;1 ] } } } impl :: std :: fmt :: Debug for PPM_WMI_IDLE_STATES_EX { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "PPM_WMI_IDLE_STATES_EX" ) . field ( "Type" , & self . Type ) . field ( "Count" , & self . Count ) . field ( "TargetState" , & self . TargetState ) . field ( "OldState" , & self . OldState ) . field ( "TargetProcessors" , & self . TargetProcessors ) . field ( "State" , & self . State ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PPM_WMI_IDLE_STATES_EX { fn eq ( & self , other : & Self ) -> bool { self . Type == other . Type && self . Count == other . Count && self . TargetState == other . TargetState && self . OldState == other . OldState && self . TargetProcessors == other . TargetProcessors && self . State == other . State } } impl :: std :: cmp :: Eq for PPM_WMI_IDLE_STATES_EX { } unsafe impl :: windows :: Abi for PPM_WMI_IDLE_STATES_EX { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PPM_WMI_LEGACY_PERFSTATE { pub Frequency : u32 , pub Flags : u32 , pub PercentFrequency : u32 } impl PPM_WMI_LEGACY_PERFSTATE { } impl :: std :: default :: Default for PPM_WMI_LEGACY_PERFSTATE { fn default ( ) -> Self { Self { Frequency : 0 , Flags : 0 , PercentFrequency : 0 } } } impl :: std :: fmt :: Debug for PPM_WMI_LEGACY_PERFSTATE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "PPM_WMI_LEGACY_PERFSTATE" ) . field ( "Frequency" , & self . Frequency ) . field ( "Flags" , & self . Flags ) . field ( "PercentFrequency" , & self . PercentFrequency ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PPM_WMI_LEGACY_PERFSTATE { fn eq ( & self , other : & Self ) -> bool { self . Frequency == other . Frequency && self . Flags == other . Flags && self . PercentFrequency == other . PercentFrequency } } impl :: std :: cmp :: Eq for PPM_WMI_LEGACY_PERFSTATE { } unsafe impl :: windows :: Abi for PPM_WMI_LEGACY_PERFSTATE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PPM_WMI_PERF_STATE { pub Frequency : u32 , pub Power : u32 , pub PercentFrequency : u8 , pub IncreaseLevel : u8 , pub DecreaseLevel : u8 , pub Type : u8 , pub IncreaseTime : u32 , pub DecreaseTime : u32 , pub Control : u64 , pub Status : u64 , pub HitCount : u32 , pub Reserved1 : u32 , pub Reserved2 : u64 , pub Reserved3 : u64 } impl PPM_WMI_PERF_STATE { } impl :: std :: default :: Default for PPM_WMI_PERF_STATE { fn default ( ) -> Self { Self { Frequency : 0 , Power : 0 , PercentFrequency : 0 , IncreaseLevel : 0 , DecreaseLevel : 0 , Type : 0 , IncreaseTime : 0 , DecreaseTime : 0 , Control : 0 , Status : 0 , HitCount : 0 , Reserved1 : 0 , Reserved2 : 0 , Reserved3 : 0 } } } impl :: std :: fmt :: Debug for PPM_WMI_PERF_STATE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "PPM_WMI_PERF_STATE" ) . field ( "Frequency" , & self . Frequency ) . field ( "Power" , & self . Power ) . field ( "PercentFrequency" , & self . PercentFrequency ) . field ( "IncreaseLevel" , & self . IncreaseLevel ) . field ( "DecreaseLevel" , & self . DecreaseLevel ) . field ( "Type" , & self . Type ) . field ( "IncreaseTime" , & self . IncreaseTime ) . field ( "DecreaseTime" , & self . DecreaseTime ) . field ( "Control" , & self . Control ) . field ( "Status" , & self . Status ) . field ( "HitCount" , & self . HitCount ) . field ( "Reserved1" , & self . Reserved1 ) . field ( "Reserved2" , & self . Reserved2 ) . field ( "Reserved3" , & self . Reserved3 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PPM_WMI_PERF_STATE { fn eq ( & self , other : & Self ) -> bool { self . Frequency == other . Frequency && self . Power == other . Power && self . PercentFrequency == other . PercentFrequency && self . IncreaseLevel == other . IncreaseLevel && self . DecreaseLevel == other . DecreaseLevel && self . Type == other . Type && self . IncreaseTime == other . IncreaseTime && self . DecreaseTime == other . DecreaseTime && self . Control == other . Control && self . Status == other . Status && self . HitCount == other . HitCount && self . Reserved1 == other . Reserved1 && self . Reserved2 == other . Reserved2 && self . Reserved3 == other . Reserved3 } } impl :: std :: cmp :: Eq for PPM_WMI_PERF_STATE { } unsafe impl :: windows :: Abi for PPM_WMI_PERF_STATE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PPM_WMI_PERF_STATES { pub Count : u32 , pub MaxFrequency : u32 , pub CurrentState : u32 , pub MaxPerfState : u32 , pub MinPerfState : u32 , pub LowestPerfState : u32 , pub ThermalConstraint : u32 , pub BusyAdjThreshold : u8 , pub PolicyType : u8 , pub Type : u8 , pub Reserved : u8 , pub TimerInterval : u32 , pub TargetProcessors : u64 , pub PStateHandler : u32 , pub PStateContext : u32 , pub TStateHandler : u32 , pub TStateContext : u32 , pub FeedbackHandler : u32 , pub Reserved1 : u32 , pub Reserved2 : u64 , pub State : [ PPM_WMI_PERF_STATE ;1 ] } impl PPM_WMI_PERF_STATES { } impl :: std :: default :: Default for PPM_WMI_PERF_STATES { fn default ( ) -> Self { Self { Count : 0 , MaxFrequency : 0 , CurrentState : 0 , MaxPerfState : 0 , MinPerfState : 0 , LowestPerfState : 0 , ThermalConstraint : 0 , BusyAdjThreshold : 0 , PolicyType : 0 , Type : 0 , Reserved : 0 , TimerInterval : 0 , TargetProcessors : 0 , PStateHandler : 0 , PStateContext : 0 , TStateHandler : 0 , TStateContext : 0 , FeedbackHandler : 0 , Reserved1 : 0 , Reserved2 : 0 , State : [ :: std :: default :: Default :: default ( ) ;1 ] } } } impl :: std :: fmt :: Debug for PPM_WMI_PERF_STATES { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "PPM_WMI_PERF_STATES" ) . field ( "Count" , & self . Count ) . field ( "MaxFrequency" , & self . MaxFrequency ) . field ( "CurrentState" , & self . CurrentState ) . field ( "MaxPerfState" , & self . MaxPerfState ) . field ( "MinPerfState" , & self . MinPerfState ) . field ( "LowestPerfState" , & self . LowestPerfState ) . field ( "ThermalConstraint" , & self . ThermalConstraint ) . field ( "BusyAdjThreshold" , & self . BusyAdjThreshold ) . field ( "PolicyType" , & self . PolicyType ) . field ( "Type" , & self . Type ) . field ( "Reserved" , & self . Reserved ) . field ( "TimerInterval" , & self . TimerInterval ) . field ( "TargetProcessors" , & self . TargetProcessors ) . field ( "PStateHandler" , & self . PStateHandler ) . field ( "PStateContext" , & self . PStateContext ) . field ( "TStateHandler" , & self . TStateHandler ) . field ( "TStateContext" , & self . TStateContext ) . field ( "FeedbackHandler" , & self . FeedbackHandler ) . field ( "Reserved1" , & self . Reserved1 ) . field ( "Reserved2" , & self . Reserved2 ) . field ( "State" , & self . State ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PPM_WMI_PERF_STATES { fn eq ( & self , other : & Self ) -> bool { self . Count == other . Count && self . MaxFrequency == other . MaxFrequency && self . CurrentState == other . CurrentState && self . MaxPerfState == other . MaxPerfState && self . MinPerfState == other . MinPerfState && self . LowestPerfState == other . LowestPerfState && self . ThermalConstraint == other . ThermalConstraint && self . BusyAdjThreshold == other . BusyAdjThreshold && self . PolicyType == other . PolicyType && self . Type == other . Type && self . Reserved == other . Reserved && self . TimerInterval == other . TimerInterval && self . TargetProcessors == other . TargetProcessors && self . PStateHandler == other . PStateHandler && self . PStateContext == other . PStateContext && self . TStateHandler == other . TStateHandler && self . TStateContext == other . TStateContext && self . FeedbackHandler == other . FeedbackHandler && self . Reserved1 == other . Reserved1 && self . Reserved2 == other . Reserved2 && self . State == other . State } } impl :: std :: cmp :: Eq for PPM_WMI_PERF_STATES { } unsafe impl :: windows :: Abi for PPM_WMI_PERF_STATES { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PPM_WMI_PERF_STATES_EX { pub Count : u32 , pub MaxFrequency : u32 , pub CurrentState : u32 , pub MaxPerfState : u32 , pub MinPerfState : u32 , pub LowestPerfState : u32 , pub ThermalConstraint : u32 , pub BusyAdjThreshold : u8 , pub PolicyType : u8 , pub Type : u8 , pub Reserved : u8 , pub TimerInterval : u32 , pub TargetProcessors : * mut :: std :: ffi :: c_void , pub PStateHandler : u32 , pub PStateContext : u32 , pub TStateHandler : u32 , pub TStateContext : u32 , pub FeedbackHandler : u32 , pub Reserved1 : u32 , pub Reserved2 : u64 , pub State : [ PPM_WMI_PERF_STATE ;1 ] } impl PPM_WMI_PERF_STATES_EX { } impl :: std :: default :: Default for PPM_WMI_PERF_STATES_EX { fn default ( ) -> Self { Self { Count : 0 , MaxFrequency : 0 , CurrentState : 0 , MaxPerfState : 0 , MinPerfState : 0 , LowestPerfState : 0 , ThermalConstraint : 0 , BusyAdjThreshold : 0 , PolicyType : 0 , Type : 0 , Reserved : 0 , TimerInterval : 0 , TargetProcessors : :: std :: ptr :: null_mut ( ) , PStateHandler : 0 , PStateContext : 0 , TStateHandler : 0 , TStateContext : 0 , FeedbackHandler : 0 , Reserved1 : 0 , Reserved2 : 0 , State : [ :: std :: default :: Default :: default ( ) ;1 ] } } } impl :: std :: fmt :: Debug for PPM_WMI_PERF_STATES_EX { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "PPM_WMI_PERF_STATES_EX" ) . field ( "Count" , & self . Count ) . field ( "MaxFrequency" , & self . MaxFrequency ) . field ( "CurrentState" , & self . CurrentState ) . field ( "MaxPerfState" , & self . MaxPerfState ) . field ( "MinPerfState" , & self . MinPerfState ) . field ( "LowestPerfState" , & self . LowestPerfState ) . field ( "ThermalConstraint" , & self . ThermalConstraint ) . field ( "BusyAdjThreshold" , & self . BusyAdjThreshold ) . field ( "PolicyType" , & self . PolicyType ) . field ( "Type" , & self . Type ) . field ( "Reserved" , & self . Reserved ) . field ( "TimerInterval" , & self . TimerInterval ) . field ( "TargetProcessors" , & self . TargetProcessors ) . field ( "PStateHandler" , & self . PStateHandler ) . field ( "PStateContext" , & self . PStateContext ) . field ( "TStateHandler" , & self . TStateHandler ) . field ( "TStateContext" , & self . TStateContext ) . field ( "FeedbackHandler" , & self . FeedbackHandler ) . field ( "Reserved1" , & self . Reserved1 ) . field ( "Reserved2" , & self . Reserved2 ) . field ( "State" , & self . State ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PPM_WMI_PERF_STATES_EX { fn eq ( & self , other : & Self ) -> bool { self . Count == other . Count && self . MaxFrequency == other . MaxFrequency && self . CurrentState == other . CurrentState && self . MaxPerfState == other . MaxPerfState && self . MinPerfState == other . MinPerfState && self . LowestPerfState == other . LowestPerfState && self . ThermalConstraint == other . ThermalConstraint && self . BusyAdjThreshold == other . BusyAdjThreshold && self . PolicyType == other . PolicyType && self . Type == other . Type && self . Reserved == other . Reserved && self . TimerInterval == other . TimerInterval && self . TargetProcessors == other . TargetProcessors && self . PStateHandler == other . PStateHandler && self . PStateContext == other . PStateContext && self . TStateHandler == other . TStateHandler && self . TStateContext == other . TStateContext && self . FeedbackHandler == other . FeedbackHandler && self . Reserved1 == other . Reserved1 && self . Reserved2 == other . Reserved2 && self . State == other . State } } impl :: std :: cmp :: Eq for PPM_WMI_PERF_STATES_EX { } unsafe impl :: windows :: Abi for PPM_WMI_PERF_STATES_EX { type Abi = Self ; type DefaultType = Self ; } pub const PRAGMA_DEPRECATED_DDK : u32 = 1u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PREVENT_MEDIA_REMOVAL { pub PreventMediaRemoval : u8 } impl PREVENT_MEDIA_REMOVAL { } impl :: std :: default :: Default for PREVENT_MEDIA_REMOVAL { fn default ( ) -> Self { Self { PreventMediaRemoval : 0 } } } impl :: std :: fmt :: Debug for PREVENT_MEDIA_REMOVAL { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "PREVENT_MEDIA_REMOVAL" ) . field ( "PreventMediaRemoval" , & self . PreventMediaRemoval ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PREVENT_MEDIA_REMOVAL { fn eq ( & self , other : & Self ) -> bool { self . PreventMediaRemoval == other . PreventMediaRemoval } } impl :: std :: cmp :: Eq for PREVENT_MEDIA_REMOVAL { } unsafe impl :: windows :: Abi for PREVENT_MEDIA_REMOVAL { type Abi = Self ; type DefaultType = Self ; } pub const PRIMARY_ORDER_ABC : u32 = 0u32 ; pub const PRIMARY_ORDER_ACB : u32 = 1u32 ; pub const PRIMARY_ORDER_BAC : u32 = 2u32 ; pub const PRIMARY_ORDER_BCA : u32 = 3u32 ; pub const PRIMARY_ORDER_CAB : u32 = 5u32 ; pub const PRIMARY_ORDER_CBA : u32 = 4u32 ; pub const PRIVILEGE_SET_ALL_NECESSARY : u32 = 1u32 ; pub const PROCESSOR_ALPHA_21064 : u32 = 21064u32 ; pub const PROCESSOR_AMD_X8664 : u32 = 8664u32 ; pub const PROCESSOR_ARCHITECTURE_ALPHA : u32 = 2u32 ; pub const PROCESSOR_ARCHITECTURE_ALPHA64 : u32 = 7u32 ; pub const PROCESSOR_ARCHITECTURE_ARM32_ON_WIN64 : u32 = 13u32 ; pub const PROCESSOR_ARCHITECTURE_ARM64 : u32 = 12u32 ; pub const PROCESSOR_ARCHITECTURE_IA32_ON_ARM64 : u32 = 14u32 ; pub const PROCESSOR_ARCHITECTURE_IA32_ON_WIN64 : u32 = 10u32 ; pub const PROCESSOR_ARCHITECTURE_MIPS : u32 = 1u32 ; pub const PROCESSOR_ARCHITECTURE_MSIL : u32 = 8u32 ; pub const PROCESSOR_ARCHITECTURE_NEUTRAL : u32 = 11u32 ; pub const PROCESSOR_ARCHITECTURE_PPC : u32 = 3u32 ; pub const PROCESSOR_ARCHITECTURE_SHX : u32 = 4u32 ; pub const PROCESSOR_ARM720 : u32 = 1824u32 ; pub const PROCESSOR_ARM820 : u32 = 2080u32 ; pub const PROCESSOR_ARM920 : u32 = 2336u32 ; pub const PROCESSOR_ARM_7TDMI : u32 = 70001u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct PROCESSOR_CACHE_TYPE ( pub i32 ) ; pub const CacheUnified : PROCESSOR_CACHE_TYPE = PROCESSOR_CACHE_TYPE ( 0i32 ) ; pub const CacheInstruction : PROCESSOR_CACHE_TYPE = PROCESSOR_CACHE_TYPE ( 1i32 ) ; pub const CacheData : PROCESSOR_CACHE_TYPE = PROCESSOR_CACHE_TYPE ( 2i32 ) ; pub const CacheTrace : PROCESSOR_CACHE_TYPE = PROCESSOR_CACHE_TYPE ( 3i32 ) ; impl :: std :: convert :: From < i32 > for PROCESSOR_CACHE_TYPE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for PROCESSOR_CACHE_TYPE { type Abi = Self ; type DefaultType = Self ; } pub const PROCESSOR_DUTY_CYCLING_DISABLED : u32 = 0u32 ; pub const PROCESSOR_DUTY_CYCLING_ENABLED : u32 = 1u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PROCESSOR_GROUP_INFO { pub MaximumProcessorCount : u8 , pub ActiveProcessorCount : u8 , pub Reserved : [ u8 ;38 ] , pub ActiveProcessorMask : usize } impl PROCESSOR_GROUP_INFO { } impl :: std :: default :: Default for PROCESSOR_GROUP_INFO { fn default ( ) -> Self { Self { MaximumProcessorCount : 0 , ActiveProcessorCount : 0 , Reserved : [ 0 ;38 ] , ActiveProcessorMask : 0 } } } impl :: std :: fmt :: Debug for PROCESSOR_GROUP_INFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "PROCESSOR_GROUP_INFO" ) . field ( "MaximumProcessorCount" , & self . MaximumProcessorCount ) . field ( "ActiveProcessorCount" , & self . ActiveProcessorCount ) . field ( "Reserved" , & self . Reserved ) . field ( "ActiveProcessorMask" , & self . ActiveProcessorMask ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PROCESSOR_GROUP_INFO { fn eq ( & self , other : & Self ) -> bool { self . MaximumProcessorCount == other . MaximumProcessorCount && self . ActiveProcessorCount == other . ActiveProcessorCount && self . Reserved == other . Reserved && self . ActiveProcessorMask == other . ActiveProcessorMask } } impl :: std :: cmp :: Eq for PROCESSOR_GROUP_INFO { } unsafe impl :: windows :: Abi for PROCESSOR_GROUP_INFO { type Abi = Self ; type DefaultType = Self ; } pub const PROCESSOR_HITACHI_SH3 : u32 = 10003u32 ; pub const PROCESSOR_HITACHI_SH3E : u32 = 10004u32 ; pub const PROCESSOR_HITACHI_SH4 : u32 = 10005u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PROCESSOR_IDLESTATE_INFO { pub TimeCheck : u32 , pub DemotePercent : u8 , pub PromotePercent : u8 , pub Spare : [ u8 ;2 ] } impl PROCESSOR_IDLESTATE_INFO { } impl :: std :: default :: Default for PROCESSOR_IDLESTATE_INFO { fn default ( ) -> Self { Self { TimeCheck : 0 , DemotePercent : 0 , PromotePercent : 0 , Spare : [ 0 ;2 ] } } } impl :: std :: fmt :: Debug for PROCESSOR_IDLESTATE_INFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "PROCESSOR_IDLESTATE_INFO" ) . field ( "TimeCheck" , & self . TimeCheck ) . field ( "DemotePercent" , & self . DemotePercent ) . field ( "PromotePercent" , & self . PromotePercent ) . field ( "Spare" , & self . Spare ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PROCESSOR_IDLESTATE_INFO { fn eq ( & self , other : & Self ) -> bool { self . TimeCheck == other . TimeCheck && self . DemotePercent == other . DemotePercent && self . PromotePercent == other . PromotePercent && self . Spare == other . Spare } } impl :: std :: cmp :: Eq for PROCESSOR_IDLESTATE_INFO { } unsafe impl :: windows :: Abi for PROCESSOR_IDLESTATE_INFO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PROCESSOR_IDLESTATE_POLICY { pub Revision : u16 , pub Flags : PROCESSOR_IDLESTATE_POLICY_0 , pub PolicyCount : u32 , pub Policy : [ PROCESSOR_IDLESTATE_INFO ;3 ] } impl PROCESSOR_IDLESTATE_POLICY { } impl :: std :: cmp :: PartialEq for PROCESSOR_IDLESTATE_POLICY { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for PROCESSOR_IDLESTATE_POLICY { } unsafe impl :: windows :: Abi for PROCESSOR_IDLESTATE_POLICY { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union PROCESSOR_IDLESTATE_POLICY_0 { pub AsWORD : u16 , pub Anonymous : PROCESSOR_IDLESTATE_POLICY_0_0 } impl PROCESSOR_IDLESTATE_POLICY_0 { } impl :: std :: cmp :: PartialEq for PROCESSOR_IDLESTATE_POLICY_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for PROCESSOR_IDLESTATE_POLICY_0 { } unsafe impl :: windows :: Abi for PROCESSOR_IDLESTATE_POLICY_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PROCESSOR_IDLESTATE_POLICY_0_0 { pub _bitfield : u16 } impl PROCESSOR_IDLESTATE_POLICY_0_0 { } impl :: std :: default :: Default for PROCESSOR_IDLESTATE_POLICY_0_0 { fn default ( ) -> Self { Self { _bitfield : 0 } } } impl :: std :: fmt :: Debug for PROCESSOR_IDLESTATE_POLICY_0_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Anonymous_e__Struct" ) . field ( "_bitfield" , & self . _bitfield ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PROCESSOR_IDLESTATE_POLICY_0_0 { fn eq ( & self , other : & Self ) -> bool { self . _bitfield == other . _bitfield } } impl :: std :: cmp :: Eq for PROCESSOR_IDLESTATE_POLICY_0_0 { } unsafe impl :: windows :: Abi for PROCESSOR_IDLESTATE_POLICY_0_0 { type Abi = Self ; type DefaultType = Self ; } pub const PROCESSOR_IDLESTATE_POLICY_COUNT : u32 = 3u32 ; pub const PROCESSOR_INTEL_386 : u32 = 386u32 ; pub const PROCESSOR_INTEL_486 : u32 = 486u32 ; pub const PROCESSOR_INTEL_IA64 : u32 = 2200u32 ; pub const PROCESSOR_INTEL_PENTIUM : u32 = 586u32 ; pub const PROCESSOR_MIPS_R4000 : u32 = 4000u32 ; pub const PROCESSOR_MOTOROLA_821 : u32 = 821u32 ; pub const PROCESSOR_OPTIL : u32 = 18767u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PROCESSOR_PERFSTATE_POLICY { pub Revision : u32 , pub MaxThrottle : u8 , pub MinThrottle : u8 , pub BusyAdjThreshold : u8 , pub Anonymous : PROCESSOR_PERFSTATE_POLICY_0 , pub TimeCheck : u32 , pub IncreaseTime : u32 , pub DecreaseTime : u32 , pub IncreasePercent : u32 , pub DecreasePercent : u32 } impl PROCESSOR_PERFSTATE_POLICY { } impl :: std :: cmp :: PartialEq for PROCESSOR_PERFSTATE_POLICY { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for PROCESSOR_PERFSTATE_POLICY { } unsafe impl :: windows :: Abi for PROCESSOR_PERFSTATE_POLICY { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union PROCESSOR_PERFSTATE_POLICY_0 { pub Spare : u8 , pub Flags : PROCESSOR_PERFSTATE_POLICY_0_0 } impl PROCESSOR_PERFSTATE_POLICY_0 { } impl :: std :: cmp :: PartialEq for PROCESSOR_PERFSTATE_POLICY_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for PROCESSOR_PERFSTATE_POLICY_0 { } unsafe impl :: windows :: Abi for PROCESSOR_PERFSTATE_POLICY_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union PROCESSOR_PERFSTATE_POLICY_0_0 { pub AsBYTE : u8 , pub Anonymous : PROCESSOR_PERFSTATE_POLICY_0_0_0 } impl PROCESSOR_PERFSTATE_POLICY_0_0 { } impl :: std :: cmp :: PartialEq for PROCESSOR_PERFSTATE_POLICY_0_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for PROCESSOR_PERFSTATE_POLICY_0_0 { } unsafe impl :: windows :: Abi for PROCESSOR_PERFSTATE_POLICY_0_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PROCESSOR_PERFSTATE_POLICY_0_0_0 { pub _bitfield : u8 } impl PROCESSOR_PERFSTATE_POLICY_0_0_0 { } impl :: std :: default :: Default for PROCESSOR_PERFSTATE_POLICY_0_0_0 { fn default ( ) -> Self { Self { _bitfield : 0 } } } impl :: std :: fmt :: Debug for PROCESSOR_PERFSTATE_POLICY_0_0_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Anonymous_e__Struct" ) . field ( "_bitfield" , & self . _bitfield ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PROCESSOR_PERFSTATE_POLICY_0_0_0 { fn eq ( & self , other : & Self ) -> bool { self . _bitfield == other . _bitfield } } impl :: std :: cmp :: Eq for PROCESSOR_PERFSTATE_POLICY_0_0_0 { } unsafe impl :: windows :: Abi for PROCESSOR_PERFSTATE_POLICY_0_0_0 { type Abi = Self ; type DefaultType = Self ; } pub const PROCESSOR_PERF_AUTONOMOUS_MODE_DISABLED : u32 = 0u32 ; pub const PROCESSOR_PERF_AUTONOMOUS_MODE_ENABLED : u32 = 1u32 ; pub const PROCESSOR_PERF_BOOST_MODE_AGGRESSIVE : u32 = 2u32 ; pub const PROCESSOR_PERF_BOOST_MODE_AGGRESSIVE_AT_GUARANTEED : u32 = 5u32 ; pub const PROCESSOR_PERF_BOOST_MODE_DISABLED : u32 = 0u32 ; pub const PROCESSOR_PERF_BOOST_MODE_EFFICIENT_AGGRESSIVE : u32 = 4u32 ; pub const PROCESSOR_PERF_BOOST_MODE_EFFICIENT_AGGRESSIVE_AT_GUARANTEED : u32 = 6u32 ; pub const PROCESSOR_PERF_BOOST_MODE_EFFICIENT_ENABLED : u32 = 3u32 ; pub const PROCESSOR_PERF_BOOST_MODE_ENABLED : u32 = 1u32 ; pub const PROCESSOR_PERF_BOOST_POLICY_DISABLED : u32 = 0u32 ; pub const PROCESSOR_PERF_BOOST_POLICY_MAX : u32 = 100u32 ; pub const PROCESSOR_PERF_ENERGY_PREFERENCE : u32 = 0u32 ; pub const PROCESSOR_PERF_MAXIMUM_ACTIVITY_WINDOW : u32 = 1270000000u32 ; pub const PROCESSOR_PERF_MINIMUM_ACTIVITY_WINDOW : u32 = 0u32 ; pub const PROCESSOR_PERF_PERFORMANCE_PREFERENCE : u32 = 255u32 ; pub const PROCESSOR_PPC_601 : u32 = 601u32 ; pub const PROCESSOR_PPC_603 : u32 = 603u32 ; pub const PROCESSOR_PPC_604 : u32 = 604u32 ; pub const PROCESSOR_PPC_620 : u32 = 620u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PROCESSOR_RELATIONSHIP { pub Flags : u8 , pub EfficiencyClass : u8 , pub Reserved : [ u8 ;20 ] , pub GroupCount : u16 , pub GroupMask : [ super::Kernel:: GROUP_AFFINITY ;1 ] } impl PROCESSOR_RELATIONSHIP { } impl :: std :: default :: Default for PROCESSOR_RELATIONSHIP { fn default ( ) -> Self { Self { Flags : 0 , EfficiencyClass : 0 , Reserved : [ 0 ;20 ] , GroupCount : 0 , GroupMask : [ :: std :: default :: Default :: default ( ) ;1 ] } } } impl :: std :: fmt :: Debug for PROCESSOR_RELATIONSHIP { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "PROCESSOR_RELATIONSHIP" ) . field ( "Flags" , & self . Flags ) . field ( "EfficiencyClass" , & self . EfficiencyClass ) . field ( "Reserved" , & self . Reserved ) . field ( "GroupCount" , & self . GroupCount ) . field ( "GroupMask" , & self . GroupMask ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PROCESSOR_RELATIONSHIP { fn eq ( & self , other : & Self ) -> bool { self . Flags == other . Flags && self . EfficiencyClass == other . EfficiencyClass && self . Reserved == other . Reserved && self . GroupCount == other . GroupCount && self . GroupMask == other . GroupMask } } impl :: std :: cmp :: Eq for PROCESSOR_RELATIONSHIP { } unsafe impl :: windows :: Abi for PROCESSOR_RELATIONSHIP { type Abi = Self ; type DefaultType = Self ; } pub const PROCESSOR_SHx_SH3 : u32 = 103u32 ; pub const PROCESSOR_SHx_SH4 : u32 = 104u32 ; pub const PROCESSOR_STRONGARM : u32 = 2577u32 ; pub const PROCESSOR_THROTTLE_AUTOMATIC : u32 = 2u32 ; pub const PROCESSOR_THROTTLE_DISABLED : u32 = 0u32 ; pub const PROCESSOR_THROTTLE_ENABLED : u32 = 1u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PROCESS_DYNAMIC_EH_CONTINUATION_TARGET { pub TargetAddress : usize , pub Flags : usize } impl PROCESS_DYNAMIC_EH_CONTINUATION_TARGET { } impl :: std :: default :: Default for PROCESS_DYNAMIC_EH_CONTINUATION_TARGET { fn default ( ) -> Self { Self { TargetAddress : 0 , Flags : 0 } } } impl :: std :: fmt :: Debug for PROCESS_DYNAMIC_EH_CONTINUATION_TARGET { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "PROCESS_DYNAMIC_EH_CONTINUATION_TARGET" ) . field ( "TargetAddress" , & self . TargetAddress ) . field ( "Flags" , & self . Flags ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PROCESS_DYNAMIC_EH_CONTINUATION_TARGET { fn eq ( & self , other : & Self ) -> bool { self . TargetAddress == other . TargetAddress && self . Flags == other . Flags } } impl :: std :: cmp :: Eq for PROCESS_DYNAMIC_EH_CONTINUATION_TARGET { } unsafe impl :: windows :: Abi for PROCESS_DYNAMIC_EH_CONTINUATION_TARGET { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PROCESS_DYNAMIC_EH_CONTINUATION_TARGETS_INFORMATION { pub NumberOfTargets : u16 , pub Reserved : u16 , pub Reserved2 : u32 , pub Targets : * mut PROCESS_DYNAMIC_EH_CONTINUATION_TARGET } impl PROCESS_DYNAMIC_EH_CONTINUATION_TARGETS_INFORMATION { } impl :: std :: default :: Default for PROCESS_DYNAMIC_EH_CONTINUATION_TARGETS_INFORMATION { fn default ( ) -> Self { Self { NumberOfTargets : 0 , Reserved : 0 , Reserved2 : 0 , Targets : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for PROCESS_DYNAMIC_EH_CONTINUATION_TARGETS_INFORMATION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "PROCESS_DYNAMIC_EH_CONTINUATION_TARGETS_INFORMATION" ) . field ( "NumberOfTargets" , & self . NumberOfTargets ) . field ( "Reserved" , & self . Reserved ) . field ( "Reserved2" , & self . Reserved2 ) . field ( "Targets" , & self . Targets ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PROCESS_DYNAMIC_EH_CONTINUATION_TARGETS_INFORMATION { fn eq ( & self , other : & Self ) -> bool { self . NumberOfTargets == other . NumberOfTargets && self . Reserved == other . Reserved && self . Reserved2 == other . Reserved2 && self . Targets == other . Targets } } impl :: std :: cmp :: Eq for PROCESS_DYNAMIC_EH_CONTINUATION_TARGETS_INFORMATION { } unsafe impl :: windows :: Abi for PROCESS_DYNAMIC_EH_CONTINUATION_TARGETS_INFORMATION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PROCESS_HEAP_ENTRY { pub lpData : * mut :: std :: ffi :: c_void , pub cbData : u32 , pub cbOverhead : u8 , pub iRegionIndex : u8 , pub wFlags : u16 , pub Anonymous : PROCESS_HEAP_ENTRY_0 } impl PROCESS_HEAP_ENTRY { } impl :: std :: cmp :: PartialEq for PROCESS_HEAP_ENTRY { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for PROCESS_HEAP_ENTRY { } unsafe impl :: windows :: Abi for PROCESS_HEAP_ENTRY { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union PROCESS_HEAP_ENTRY_0 { pub Block : PROCESS_HEAP_ENTRY_0_0 , pub Region : PROCESS_HEAP_ENTRY_0_1 } impl PROCESS_HEAP_ENTRY_0 { } impl :: std :: cmp :: PartialEq for PROCESS_HEAP_ENTRY_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for PROCESS_HEAP_ENTRY_0 { } unsafe impl :: windows :: Abi for PROCESS_HEAP_ENTRY_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PROCESS_HEAP_ENTRY_0_0 { pub hMem : super::super::Foundation:: HANDLE , pub dwReserved : [ u32 ;3 ] } impl PROCESS_HEAP_ENTRY_0_0 { } impl :: std :: default :: Default for PROCESS_HEAP_ENTRY_0_0 { fn default ( ) -> Self { Self { hMem : :: std :: default :: Default :: default ( ) , dwReserved : [ 0 ;3 ] } } } impl :: std :: fmt :: Debug for PROCESS_HEAP_ENTRY_0_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Block_e__Struct" ) . field ( "hMem" , & self . hMem ) . field ( "dwReserved" , & self . dwReserved ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PROCESS_HEAP_ENTRY_0_0 { fn eq ( & self , other : & Self ) -> bool { self . hMem == other . hMem && self . dwReserved == other . dwReserved } } impl :: std :: cmp :: Eq for PROCESS_HEAP_ENTRY_0_0 { } unsafe impl :: windows :: Abi for PROCESS_HEAP_ENTRY_0_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PROCESS_HEAP_ENTRY_0_1 { pub dwCommittedSize : u32 , pub dwUnCommittedSize : u32 , pub lpFirstBlock : * mut :: std :: ffi :: c_void , pub lpLastBlock : * mut :: std :: ffi :: c_void } impl PROCESS_HEAP_ENTRY_0_1 { } impl :: std :: default :: Default for PROCESS_HEAP_ENTRY_0_1 { fn default ( ) -> Self { Self { dwCommittedSize : 0 , dwUnCommittedSize : 0 , lpFirstBlock : :: std :: ptr :: null_mut ( ) , lpLastBlock : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for PROCESS_HEAP_ENTRY_0_1 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Region_e__Struct" ) . field ( "dwCommittedSize" , & self . dwCommittedSize ) . field ( "dwUnCommittedSize" , & self . dwUnCommittedSize ) . field ( "lpFirstBlock" , & self . lpFirstBlock ) . field ( "lpLastBlock" , & self . lpLastBlock ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PROCESS_HEAP_ENTRY_0_1 { fn eq ( & self , other : & Self ) -> bool { self . dwCommittedSize == other . dwCommittedSize && self . dwUnCommittedSize == other . dwUnCommittedSize && self . lpFirstBlock == other . lpFirstBlock && self . lpLastBlock == other . lpLastBlock } } impl :: std :: cmp :: Eq for PROCESS_HEAP_ENTRY_0_1 { } unsafe impl :: windows :: Abi for PROCESS_HEAP_ENTRY_0_1 { type Abi = Self ; type DefaultType = Self ; } pub const PROCESS_HEAP_ENTRY_BUSY : u32 = 4u32 ; pub const PROCESS_HEAP_ENTRY_DDESHARE : u32 = 32u32 ; pub const PROCESS_HEAP_ENTRY_MOVEABLE : u32 = 16u32 ; pub const PROCESS_HEAP_REGION : u32 = 1u32 ; pub const PROCESS_HEAP_SEG_ALLOC : u32 = 8u32 ; pub const PROCESS_HEAP_UNCOMMITTED_RANGE : u32 = 2u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PROCESS_MITIGATION_ASLR_POLICY { pub Anonymous : PROCESS_MITIGATION_ASLR_POLICY_0 } impl PROCESS_MITIGATION_ASLR_POLICY { } impl :: std :: cmp :: PartialEq for PROCESS_MITIGATION_ASLR_POLICY { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for PROCESS_MITIGATION_ASLR_POLICY { } unsafe impl :: windows :: Abi for PROCESS_MITIGATION_ASLR_POLICY { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union PROCESS_MITIGATION_ASLR_POLICY_0 { pub Flags : u32 , pub Anonymous : PROCESS_MITIGATION_ASLR_POLICY_0_0 } impl PROCESS_MITIGATION_ASLR_POLICY_0 { } impl :: std :: cmp :: PartialEq for PROCESS_MITIGATION_ASLR_POLICY_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for PROCESS_MITIGATION_ASLR_POLICY_0 { } unsafe impl :: windows :: Abi for PROCESS_MITIGATION_ASLR_POLICY_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PROCESS_MITIGATION_ASLR_POLICY_0_0 { pub _bitfield : u32 } impl PROCESS_MITIGATION_ASLR_POLICY_0_0 { } impl :: std :: default :: Default for PROCESS_MITIGATION_ASLR_POLICY_0_0 { fn default ( ) -> Self { Self { _bitfield : 0 } } } impl :: std :: fmt :: Debug for PROCESS_MITIGATION_ASLR_POLICY_0_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Anonymous_e__Struct" ) . field ( "_bitfield" , & self . _bitfield ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PROCESS_MITIGATION_ASLR_POLICY_0_0 { fn eq ( & self , other : & Self ) -> bool { self . _bitfield == other . _bitfield } } impl :: std :: cmp :: Eq for PROCESS_MITIGATION_ASLR_POLICY_0_0 { } unsafe impl :: windows :: Abi for PROCESS_MITIGATION_ASLR_POLICY_0_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PROCESS_MITIGATION_BINARY_SIGNATURE_POLICY { pub Anonymous : PROCESS_MITIGATION_BINARY_SIGNATURE_POLICY_0 } impl PROCESS_MITIGATION_BINARY_SIGNATURE_POLICY { } impl :: std :: cmp :: PartialEq for PROCESS_MITIGATION_BINARY_SIGNATURE_POLICY { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for PROCESS_MITIGATION_BINARY_SIGNATURE_POLICY { } unsafe impl :: windows :: Abi for PROCESS_MITIGATION_BINARY_SIGNATURE_POLICY { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union PROCESS_MITIGATION_BINARY_SIGNATURE_POLICY_0 { pub Flags : u32 , pub Anonymous : PROCESS_MITIGATION_BINARY_SIGNATURE_POLICY_0_0 } impl PROCESS_MITIGATION_BINARY_SIGNATURE_POLICY_0 { } impl :: std :: cmp :: PartialEq for PROCESS_MITIGATION_BINARY_SIGNATURE_POLICY_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for PROCESS_MITIGATION_BINARY_SIGNATURE_POLICY_0 { } unsafe impl :: windows :: Abi for PROCESS_MITIGATION_BINARY_SIGNATURE_POLICY_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PROCESS_MITIGATION_BINARY_SIGNATURE_POLICY_0_0 { pub _bitfield : u32 } impl PROCESS_MITIGATION_BINARY_SIGNATURE_POLICY_0_0 { } impl :: std :: default :: Default for PROCESS_MITIGATION_BINARY_SIGNATURE_POLICY_0_0 { fn default ( ) -> Self { Self { _bitfield : 0 } } } impl :: std :: fmt :: Debug for PROCESS_MITIGATION_BINARY_SIGNATURE_POLICY_0_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Anonymous_e__Struct" ) . field ( "_bitfield" , & self . _bitfield ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PROCESS_MITIGATION_BINARY_SIGNATURE_POLICY_0_0 { fn eq ( & self , other : & Self ) -> bool { self . _bitfield == other . _bitfield } } impl :: std :: cmp :: Eq for PROCESS_MITIGATION_BINARY_SIGNATURE_POLICY_0_0 { } unsafe impl :: windows :: Abi for PROCESS_MITIGATION_BINARY_SIGNATURE_POLICY_0_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PROCESS_MITIGATION_CHILD_PROCESS_POLICY { pub Anonymous : PROCESS_MITIGATION_CHILD_PROCESS_POLICY_0 } impl PROCESS_MITIGATION_CHILD_PROCESS_POLICY { } impl :: std :: cmp :: PartialEq for PROCESS_MITIGATION_CHILD_PROCESS_POLICY { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for PROCESS_MITIGATION_CHILD_PROCESS_POLICY { } unsafe impl :: windows :: Abi for PROCESS_MITIGATION_CHILD_PROCESS_POLICY { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union PROCESS_MITIGATION_CHILD_PROCESS_POLICY_0 { pub Flags : u32 , pub Anonymous : PROCESS_MITIGATION_CHILD_PROCESS_POLICY_0_0 } impl PROCESS_MITIGATION_CHILD_PROCESS_POLICY_0 { } impl :: std :: cmp :: PartialEq for PROCESS_MITIGATION_CHILD_PROCESS_POLICY_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for PROCESS_MITIGATION_CHILD_PROCESS_POLICY_0 { } unsafe impl :: windows :: Abi for PROCESS_MITIGATION_CHILD_PROCESS_POLICY_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PROCESS_MITIGATION_CHILD_PROCESS_POLICY_0_0 { pub _bitfield : u32 } impl PROCESS_MITIGATION_CHILD_PROCESS_POLICY_0_0 { } impl :: std :: default :: Default for PROCESS_MITIGATION_CHILD_PROCESS_POLICY_0_0 { fn default ( ) -> Self { Self { _bitfield : 0 } } } impl :: std :: fmt :: Debug for PROCESS_MITIGATION_CHILD_PROCESS_POLICY_0_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Anonymous_e__Struct" ) . field ( "_bitfield" , & self . _bitfield ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PROCESS_MITIGATION_CHILD_PROCESS_POLICY_0_0 { fn eq ( & self , other : & Self ) -> bool { self . _bitfield == other . _bitfield } } impl :: std :: cmp :: Eq for PROCESS_MITIGATION_CHILD_PROCESS_POLICY_0_0 { } unsafe impl :: windows :: Abi for PROCESS_MITIGATION_CHILD_PROCESS_POLICY_0_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PROCESS_MITIGATION_CONTROL_FLOW_GUARD_POLICY { pub Anonymous : PROCESS_MITIGATION_CONTROL_FLOW_GUARD_POLICY_0 } impl PROCESS_MITIGATION_CONTROL_FLOW_GUARD_POLICY { } impl :: std :: cmp :: PartialEq for PROCESS_MITIGATION_CONTROL_FLOW_GUARD_POLICY { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for PROCESS_MITIGATION_CONTROL_FLOW_GUARD_POLICY { } unsafe impl :: windows :: Abi for PROCESS_MITIGATION_CONTROL_FLOW_GUARD_POLICY { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union PROCESS_MITIGATION_CONTROL_FLOW_GUARD_POLICY_0 { pub Flags : u32 , pub Anonymous : PROCESS_MITIGATION_CONTROL_FLOW_GUARD_POLICY_0_0 } impl PROCESS_MITIGATION_CONTROL_FLOW_GUARD_POLICY_0 { } impl :: std :: cmp :: PartialEq for PROCESS_MITIGATION_CONTROL_FLOW_GUARD_POLICY_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for PROCESS_MITIGATION_CONTROL_FLOW_GUARD_POLICY_0 { } unsafe impl :: windows :: Abi for PROCESS_MITIGATION_CONTROL_FLOW_GUARD_POLICY_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PROCESS_MITIGATION_CONTROL_FLOW_GUARD_POLICY_0_0 { pub _bitfield : u32 } impl PROCESS_MITIGATION_CONTROL_FLOW_GUARD_POLICY_0_0 { } impl :: std :: default :: Default for PROCESS_MITIGATION_CONTROL_FLOW_GUARD_POLICY_0_0 { fn default ( ) -> Self { Self { _bitfield : 0 } } } impl :: std :: fmt :: Debug for PROCESS_MITIGATION_CONTROL_FLOW_GUARD_POLICY_0_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Anonymous_e__Struct" ) . field ( "_bitfield" , & self . _bitfield ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PROCESS_MITIGATION_CONTROL_FLOW_GUARD_POLICY_0_0 { fn eq ( & self , other : & Self ) -> bool { self . _bitfield == other . _bitfield } } impl :: std :: cmp :: Eq for PROCESS_MITIGATION_CONTROL_FLOW_GUARD_POLICY_0_0 { } unsafe impl :: windows :: Abi for PROCESS_MITIGATION_CONTROL_FLOW_GUARD_POLICY_0_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PROCESS_MITIGATION_DEP_POLICY { pub Anonymous : PROCESS_MITIGATION_DEP_POLICY_0 , pub Permanent : u8 } impl PROCESS_MITIGATION_DEP_POLICY { } impl :: std :: cmp :: PartialEq for PROCESS_MITIGATION_DEP_POLICY { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for PROCESS_MITIGATION_DEP_POLICY { } unsafe impl :: windows :: Abi for PROCESS_MITIGATION_DEP_POLICY { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union PROCESS_MITIGATION_DEP_POLICY_0 { pub Flags : u32 , pub Anonymous : PROCESS_MITIGATION_DEP_POLICY_0_0 } impl PROCESS_MITIGATION_DEP_POLICY_0 { } impl :: std :: cmp :: PartialEq for PROCESS_MITIGATION_DEP_POLICY_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for PROCESS_MITIGATION_DEP_POLICY_0 { } unsafe impl :: windows :: Abi for PROCESS_MITIGATION_DEP_POLICY_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PROCESS_MITIGATION_DEP_POLICY_0_0 { pub _bitfield : u32 } impl PROCESS_MITIGATION_DEP_POLICY_0_0 { } impl :: std :: default :: Default for PROCESS_MITIGATION_DEP_POLICY_0_0 { fn default ( ) -> Self { Self { _bitfield : 0 } } } impl :: std :: fmt :: Debug for PROCESS_MITIGATION_DEP_POLICY_0_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Anonymous_e__Struct" ) . field ( "_bitfield" , & self . _bitfield ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PROCESS_MITIGATION_DEP_POLICY_0_0 { fn eq ( & self , other : & Self ) -> bool { self . _bitfield == other . _bitfield } } impl :: std :: cmp :: Eq for PROCESS_MITIGATION_DEP_POLICY_0_0 { } unsafe impl :: windows :: Abi for PROCESS_MITIGATION_DEP_POLICY_0_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PROCESS_MITIGATION_DYNAMIC_CODE_POLICY { pub Anonymous : PROCESS_MITIGATION_DYNAMIC_CODE_POLICY_0 } impl PROCESS_MITIGATION_DYNAMIC_CODE_POLICY { } impl :: std :: cmp :: PartialEq for PROCESS_MITIGATION_DYNAMIC_CODE_POLICY { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for PROCESS_MITIGATION_DYNAMIC_CODE_POLICY { } unsafe impl :: windows :: Abi for PROCESS_MITIGATION_DYNAMIC_CODE_POLICY { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union PROCESS_MITIGATION_DYNAMIC_CODE_POLICY_0 { pub Flags : u32 , pub Anonymous : PROCESS_MITIGATION_DYNAMIC_CODE_POLICY_0_0 } impl PROCESS_MITIGATION_DYNAMIC_CODE_POLICY_0 { } impl :: std :: cmp :: PartialEq for PROCESS_MITIGATION_DYNAMIC_CODE_POLICY_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for PROCESS_MITIGATION_DYNAMIC_CODE_POLICY_0 { } unsafe impl :: windows :: Abi for PROCESS_MITIGATION_DYNAMIC_CODE_POLICY_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PROCESS_MITIGATION_DYNAMIC_CODE_POLICY_0_0 { pub _bitfield : u32 } impl PROCESS_MITIGATION_DYNAMIC_CODE_POLICY_0_0 { } impl :: std :: default :: Default for PROCESS_MITIGATION_DYNAMIC_CODE_POLICY_0_0 { fn default ( ) -> Self { Self { _bitfield : 0 } } } impl :: std :: fmt :: Debug for PROCESS_MITIGATION_DYNAMIC_CODE_POLICY_0_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Anonymous_e__Struct" ) . field ( "_bitfield" , & self . _bitfield ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PROCESS_MITIGATION_DYNAMIC_CODE_POLICY_0_0 { fn eq ( & self , other : & Self ) -> bool { self . _bitfield == other . _bitfield } } impl :: std :: cmp :: Eq for PROCESS_MITIGATION_DYNAMIC_CODE_POLICY_0_0 { } unsafe impl :: windows :: Abi for PROCESS_MITIGATION_DYNAMIC_CODE_POLICY_0_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PROCESS_MITIGATION_EXTENSION_POINT_DISABLE_POLICY { pub Anonymous : PROCESS_MITIGATION_EXTENSION_POINT_DISABLE_POLICY_0 } impl PROCESS_MITIGATION_EXTENSION_POINT_DISABLE_POLICY { } impl :: std :: cmp :: PartialEq for PROCESS_MITIGATION_EXTENSION_POINT_DISABLE_POLICY { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for PROCESS_MITIGATION_EXTENSION_POINT_DISABLE_POLICY { } unsafe impl :: windows :: Abi for PROCESS_MITIGATION_EXTENSION_POINT_DISABLE_POLICY { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union PROCESS_MITIGATION_EXTENSION_POINT_DISABLE_POLICY_0 { pub Flags : u32 , pub Anonymous : PROCESS_MITIGATION_EXTENSION_POINT_DISABLE_POLICY_0_0 } impl PROCESS_MITIGATION_EXTENSION_POINT_DISABLE_POLICY_0 { } impl :: std :: cmp :: PartialEq for PROCESS_MITIGATION_EXTENSION_POINT_DISABLE_POLICY_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for PROCESS_MITIGATION_EXTENSION_POINT_DISABLE_POLICY_0 { } unsafe impl :: windows :: Abi for PROCESS_MITIGATION_EXTENSION_POINT_DISABLE_POLICY_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PROCESS_MITIGATION_EXTENSION_POINT_DISABLE_POLICY_0_0 { pub _bitfield : u32 } impl PROCESS_MITIGATION_EXTENSION_POINT_DISABLE_POLICY_0_0 { } impl :: std :: default :: Default for PROCESS_MITIGATION_EXTENSION_POINT_DISABLE_POLICY_0_0 { fn default ( ) -> Self { Self { _bitfield : 0 } } } impl :: std :: fmt :: Debug for PROCESS_MITIGATION_EXTENSION_POINT_DISABLE_POLICY_0_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Anonymous_e__Struct" ) . field ( "_bitfield" , & self . _bitfield ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PROCESS_MITIGATION_EXTENSION_POINT_DISABLE_POLICY_0_0 { fn eq ( & self , other : & Self ) -> bool { self . _bitfield == other . _bitfield } } impl :: std :: cmp :: Eq for PROCESS_MITIGATION_EXTENSION_POINT_DISABLE_POLICY_0_0 { } unsafe impl :: windows :: Abi for PROCESS_MITIGATION_EXTENSION_POINT_DISABLE_POLICY_0_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PROCESS_MITIGATION_FONT_DISABLE_POLICY { pub Anonymous : PROCESS_MITIGATION_FONT_DISABLE_POLICY_0 } impl PROCESS_MITIGATION_FONT_DISABLE_POLICY { } impl :: std :: cmp :: PartialEq for PROCESS_MITIGATION_FONT_DISABLE_POLICY { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for PROCESS_MITIGATION_FONT_DISABLE_POLICY { } unsafe impl :: windows :: Abi for PROCESS_MITIGATION_FONT_DISABLE_POLICY { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union PROCESS_MITIGATION_FONT_DISABLE_POLICY_0 { pub Flags : u32 , pub Anonymous : PROCESS_MITIGATION_FONT_DISABLE_POLICY_0_0 } impl PROCESS_MITIGATION_FONT_DISABLE_POLICY_0 { } impl :: std :: cmp :: PartialEq for PROCESS_MITIGATION_FONT_DISABLE_POLICY_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for PROCESS_MITIGATION_FONT_DISABLE_POLICY_0 { } unsafe impl :: windows :: Abi for PROCESS_MITIGATION_FONT_DISABLE_POLICY_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PROCESS_MITIGATION_FONT_DISABLE_POLICY_0_0 { pub _bitfield : u32 } impl PROCESS_MITIGATION_FONT_DISABLE_POLICY_0_0 { } impl :: std :: default :: Default for PROCESS_MITIGATION_FONT_DISABLE_POLICY_0_0 { fn default ( ) -> Self { Self { _bitfield : 0 } } } impl :: std :: fmt :: Debug for PROCESS_MITIGATION_FONT_DISABLE_POLICY_0_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Anonymous_e__Struct" ) . field ( "_bitfield" , & self . _bitfield ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PROCESS_MITIGATION_FONT_DISABLE_POLICY_0_0 { fn eq ( & self , other : & Self ) -> bool { self . _bitfield == other . _bitfield } } impl :: std :: cmp :: Eq for PROCESS_MITIGATION_FONT_DISABLE_POLICY_0_0 { } unsafe impl :: windows :: Abi for PROCESS_MITIGATION_FONT_DISABLE_POLICY_0_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PROCESS_MITIGATION_IMAGE_LOAD_POLICY { pub Anonymous : PROCESS_MITIGATION_IMAGE_LOAD_POLICY_0 } impl PROCESS_MITIGATION_IMAGE_LOAD_POLICY { } impl :: std :: cmp :: PartialEq for PROCESS_MITIGATION_IMAGE_LOAD_POLICY { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for PROCESS_MITIGATION_IMAGE_LOAD_POLICY { } unsafe impl :: windows :: Abi for PROCESS_MITIGATION_IMAGE_LOAD_POLICY { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union PROCESS_MITIGATION_IMAGE_LOAD_POLICY_0 { pub Flags : u32 , pub Anonymous : PROCESS_MITIGATION_IMAGE_LOAD_POLICY_0_0 } impl PROCESS_MITIGATION_IMAGE_LOAD_POLICY_0 { } impl :: std :: cmp :: PartialEq for PROCESS_MITIGATION_IMAGE_LOAD_POLICY_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for PROCESS_MITIGATION_IMAGE_LOAD_POLICY_0 { } unsafe impl :: windows :: Abi for PROCESS_MITIGATION_IMAGE_LOAD_POLICY_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PROCESS_MITIGATION_IMAGE_LOAD_POLICY_0_0 { pub _bitfield : u32 } impl PROCESS_MITIGATION_IMAGE_LOAD_POLICY_0_0 { } impl :: std :: default :: Default for PROCESS_MITIGATION_IMAGE_LOAD_POLICY_0_0 { fn default ( ) -> Self { Self { _bitfield : 0 } } } impl :: std :: fmt :: Debug for PROCESS_MITIGATION_IMAGE_LOAD_POLICY_0_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Anonymous_e__Struct" ) . field ( "_bitfield" , & self . _bitfield ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PROCESS_MITIGATION_IMAGE_LOAD_POLICY_0_0 { fn eq ( & self , other : & Self ) -> bool { self . _bitfield == other . _bitfield } } impl :: std :: cmp :: Eq for PROCESS_MITIGATION_IMAGE_LOAD_POLICY_0_0 { } unsafe impl :: windows :: Abi for PROCESS_MITIGATION_IMAGE_LOAD_POLICY_0_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PROCESS_MITIGATION_PAYLOAD_RESTRICTION_POLICY { pub Anonymous : PROCESS_MITIGATION_PAYLOAD_RESTRICTION_POLICY_0 } impl PROCESS_MITIGATION_PAYLOAD_RESTRICTION_POLICY { } impl :: std :: cmp :: PartialEq for PROCESS_MITIGATION_PAYLOAD_RESTRICTION_POLICY { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for PROCESS_MITIGATION_PAYLOAD_RESTRICTION_POLICY { } unsafe impl :: windows :: Abi for PROCESS_MITIGATION_PAYLOAD_RESTRICTION_POLICY { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union PROCESS_MITIGATION_PAYLOAD_RESTRICTION_POLICY_0 { pub Flags : u32 , pub Anonymous : PROCESS_MITIGATION_PAYLOAD_RESTRICTION_POLICY_0_0 } impl PROCESS_MITIGATION_PAYLOAD_RESTRICTION_POLICY_0 { } impl :: std :: cmp :: PartialEq for PROCESS_MITIGATION_PAYLOAD_RESTRICTION_POLICY_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for PROCESS_MITIGATION_PAYLOAD_RESTRICTION_POLICY_0 { } unsafe impl :: windows :: Abi for PROCESS_MITIGATION_PAYLOAD_RESTRICTION_POLICY_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PROCESS_MITIGATION_PAYLOAD_RESTRICTION_POLICY_0_0 { pub _bitfield : u32 } impl PROCESS_MITIGATION_PAYLOAD_RESTRICTION_POLICY_0_0 { } impl :: std :: default :: Default for PROCESS_MITIGATION_PAYLOAD_RESTRICTION_POLICY_0_0 { fn default ( ) -> Self { Self { _bitfield : 0 } } } impl :: std :: fmt :: Debug for PROCESS_MITIGATION_PAYLOAD_RESTRICTION_POLICY_0_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Anonymous_e__Struct" ) . field ( "_bitfield" , & self . _bitfield ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PROCESS_MITIGATION_PAYLOAD_RESTRICTION_POLICY_0_0 { fn eq ( & self , other : & Self ) -> bool { self . _bitfield == other . _bitfield } } impl :: std :: cmp :: Eq for PROCESS_MITIGATION_PAYLOAD_RESTRICTION_POLICY_0_0 { } unsafe impl :: windows :: Abi for PROCESS_MITIGATION_PAYLOAD_RESTRICTION_POLICY_0_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct PROCESS_MITIGATION_POLICY ( pub i32 ) ; pub const ProcessDEPPolicy : PROCESS_MITIGATION_POLICY = PROCESS_MITIGATION_POLICY ( 0i32 ) ; pub const ProcessASLRPolicy : PROCESS_MITIGATION_POLICY = PROCESS_MITIGATION_POLICY ( 1i32 ) ; pub const ProcessDynamicCodePolicy : PROCESS_MITIGATION_POLICY = PROCESS_MITIGATION_POLICY ( 2i32 ) ; pub const ProcessStrictHandleCheckPolicy : PROCESS_MITIGATION_POLICY = PROCESS_MITIGATION_POLICY ( 3i32 ) ; pub const ProcessSystemCallDisablePolicy : PROCESS_MITIGATION_POLICY = PROCESS_MITIGATION_POLICY ( 4i32 ) ; pub const ProcessMitigationOptionsMask : PROCESS_MITIGATION_POLICY = PROCESS_MITIGATION_POLICY ( 5i32 ) ; pub const ProcessExtensionPointDisablePolicy : PROCESS_MITIGATION_POLICY = PROCESS_MITIGATION_POLICY ( 6i32 ) ; pub const ProcessControlFlowGuardPolicy : PROCESS_MITIGATION_POLICY = PROCESS_MITIGATION_POLICY ( 7i32 ) ; pub const ProcessSignaturePolicy : PROCESS_MITIGATION_POLICY = PROCESS_MITIGATION_POLICY ( 8i32 ) ; pub const ProcessFontDisablePolicy : PROCESS_MITIGATION_POLICY = PROCESS_MITIGATION_POLICY ( 9i32 ) ; pub const ProcessImageLoadPolicy : PROCESS_MITIGATION_POLICY = PROCESS_MITIGATION_POLICY ( 10i32 ) ; pub const ProcessSystemCallFilterPolicy : PROCESS_MITIGATION_POLICY = PROCESS_MITIGATION_POLICY ( 11i32 ) ; pub const ProcessPayloadRestrictionPolicy : PROCESS_MITIGATION_POLICY = PROCESS_MITIGATION_POLICY ( 12i32 ) ; pub const ProcessChildProcessPolicy : PROCESS_MITIGATION_POLICY = PROCESS_MITIGATION_POLICY ( 13i32 ) ; pub const ProcessSideChannelIsolationPolicy : PROCESS_MITIGATION_POLICY = PROCESS_MITIGATION_POLICY ( 14i32 ) ; pub const ProcessUserShadowStackPolicy : PROCESS_MITIGATION_POLICY = PROCESS_MITIGATION_POLICY ( 15i32 ) ; pub const MaxProcessMitigationPolicy : PROCESS_MITIGATION_POLICY = PROCESS_MITIGATION_POLICY ( 16i32 ) ; impl :: std :: convert :: From < i32 > for PROCESS_MITIGATION_POLICY { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for PROCESS_MITIGATION_POLICY { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PROCESS_MITIGATION_SIDE_CHANNEL_ISOLATION_POLICY { pub Anonymous : PROCESS_MITIGATION_SIDE_CHANNEL_ISOLATION_POLICY_0 } impl PROCESS_MITIGATION_SIDE_CHANNEL_ISOLATION_POLICY { } impl :: std :: cmp :: PartialEq for PROCESS_MITIGATION_SIDE_CHANNEL_ISOLATION_POLICY { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for PROCESS_MITIGATION_SIDE_CHANNEL_ISOLATION_POLICY { } unsafe impl :: windows :: Abi for PROCESS_MITIGATION_SIDE_CHANNEL_ISOLATION_POLICY { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union PROCESS_MITIGATION_SIDE_CHANNEL_ISOLATION_POLICY_0 { pub Flags : u32 , pub Anonymous : PROCESS_MITIGATION_SIDE_CHANNEL_ISOLATION_POLICY_0_0 } impl PROCESS_MITIGATION_SIDE_CHANNEL_ISOLATION_POLICY_0 { } impl :: std :: cmp :: PartialEq for PROCESS_MITIGATION_SIDE_CHANNEL_ISOLATION_POLICY_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for PROCESS_MITIGATION_SIDE_CHANNEL_ISOLATION_POLICY_0 { } unsafe impl :: windows :: Abi for PROCESS_MITIGATION_SIDE_CHANNEL_ISOLATION_POLICY_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PROCESS_MITIGATION_SIDE_CHANNEL_ISOLATION_POLICY_0_0 { pub _bitfield : u32 } impl PROCESS_MITIGATION_SIDE_CHANNEL_ISOLATION_POLICY_0_0 { } impl :: std :: default :: Default for PROCESS_MITIGATION_SIDE_CHANNEL_ISOLATION_POLICY_0_0 { fn default ( ) -> Self { Self { _bitfield : 0 } } } impl :: std :: fmt :: Debug for PROCESS_MITIGATION_SIDE_CHANNEL_ISOLATION_POLICY_0_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Anonymous_e__Struct" ) . field ( "_bitfield" , & self . _bitfield ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PROCESS_MITIGATION_SIDE_CHANNEL_ISOLATION_POLICY_0_0 { fn eq ( & self , other : & Self ) -> bool { self . _bitfield == other . _bitfield } } impl :: std :: cmp :: Eq for PROCESS_MITIGATION_SIDE_CHANNEL_ISOLATION_POLICY_0_0 { } unsafe impl :: windows :: Abi for PROCESS_MITIGATION_SIDE_CHANNEL_ISOLATION_POLICY_0_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PROCESS_MITIGATION_STRICT_HANDLE_CHECK_POLICY { pub Anonymous : PROCESS_MITIGATION_STRICT_HANDLE_CHECK_POLICY_0 } impl PROCESS_MITIGATION_STRICT_HANDLE_CHECK_POLICY { } impl :: std :: cmp :: PartialEq for PROCESS_MITIGATION_STRICT_HANDLE_CHECK_POLICY { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for PROCESS_MITIGATION_STRICT_HANDLE_CHECK_POLICY { } unsafe impl :: windows :: Abi for PROCESS_MITIGATION_STRICT_HANDLE_CHECK_POLICY { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union PROCESS_MITIGATION_STRICT_HANDLE_CHECK_POLICY_0 { pub Flags : u32 , pub Anonymous : PROCESS_MITIGATION_STRICT_HANDLE_CHECK_POLICY_0_0 } impl PROCESS_MITIGATION_STRICT_HANDLE_CHECK_POLICY_0 { } impl :: std :: cmp :: PartialEq for PROCESS_MITIGATION_STRICT_HANDLE_CHECK_POLICY_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for PROCESS_MITIGATION_STRICT_HANDLE_CHECK_POLICY_0 { } unsafe impl :: windows :: Abi for PROCESS_MITIGATION_STRICT_HANDLE_CHECK_POLICY_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PROCESS_MITIGATION_STRICT_HANDLE_CHECK_POLICY_0_0 { pub _bitfield : u32 } impl PROCESS_MITIGATION_STRICT_HANDLE_CHECK_POLICY_0_0 { } impl :: std :: default :: Default for PROCESS_MITIGATION_STRICT_HANDLE_CHECK_POLICY_0_0 { fn default ( ) -> Self { Self { _bitfield : 0 } } } impl :: std :: fmt :: Debug for PROCESS_MITIGATION_STRICT_HANDLE_CHECK_POLICY_0_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Anonymous_e__Struct" ) . field ( "_bitfield" , & self . _bitfield ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PROCESS_MITIGATION_STRICT_HANDLE_CHECK_POLICY_0_0 { fn eq ( & self , other : & Self ) -> bool { self . _bitfield == other . _bitfield } } impl :: std :: cmp :: Eq for PROCESS_MITIGATION_STRICT_HANDLE_CHECK_POLICY_0_0 { } unsafe impl :: windows :: Abi for PROCESS_MITIGATION_STRICT_HANDLE_CHECK_POLICY_0_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PROCESS_MITIGATION_SYSTEM_CALL_DISABLE_POLICY { pub Anonymous : PROCESS_MITIGATION_SYSTEM_CALL_DISABLE_POLICY_0 } impl PROCESS_MITIGATION_SYSTEM_CALL_DISABLE_POLICY { } impl :: std :: cmp :: PartialEq for PROCESS_MITIGATION_SYSTEM_CALL_DISABLE_POLICY { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for PROCESS_MITIGATION_SYSTEM_CALL_DISABLE_POLICY { } unsafe impl :: windows :: Abi for PROCESS_MITIGATION_SYSTEM_CALL_DISABLE_POLICY { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union PROCESS_MITIGATION_SYSTEM_CALL_DISABLE_POLICY_0 { pub Flags : u32 , pub Anonymous : PROCESS_MITIGATION_SYSTEM_CALL_DISABLE_POLICY_0_0 } impl PROCESS_MITIGATION_SYSTEM_CALL_DISABLE_POLICY_0 { } impl :: std :: cmp :: PartialEq for PROCESS_MITIGATION_SYSTEM_CALL_DISABLE_POLICY_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for PROCESS_MITIGATION_SYSTEM_CALL_DISABLE_POLICY_0 { } unsafe impl :: windows :: Abi for PROCESS_MITIGATION_SYSTEM_CALL_DISABLE_POLICY_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PROCESS_MITIGATION_SYSTEM_CALL_DISABLE_POLICY_0_0 { pub _bitfield : u32 } impl PROCESS_MITIGATION_SYSTEM_CALL_DISABLE_POLICY_0_0 { } impl :: std :: default :: Default for PROCESS_MITIGATION_SYSTEM_CALL_DISABLE_POLICY_0_0 { fn default ( ) -> Self { Self { _bitfield : 0 } } } impl :: std :: fmt :: Debug for PROCESS_MITIGATION_SYSTEM_CALL_DISABLE_POLICY_0_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Anonymous_e__Struct" ) . field ( "_bitfield" , & self . _bitfield ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PROCESS_MITIGATION_SYSTEM_CALL_DISABLE_POLICY_0_0 { fn eq ( & self , other : & Self ) -> bool { self . _bitfield == other . _bitfield } } impl :: std :: cmp :: Eq for PROCESS_MITIGATION_SYSTEM_CALL_DISABLE_POLICY_0_0 { } unsafe impl :: windows :: Abi for PROCESS_MITIGATION_SYSTEM_CALL_DISABLE_POLICY_0_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PROCESS_MITIGATION_SYSTEM_CALL_FILTER_POLICY { pub Anonymous : PROCESS_MITIGATION_SYSTEM_CALL_FILTER_POLICY_0 } impl PROCESS_MITIGATION_SYSTEM_CALL_FILTER_POLICY { } impl :: std :: cmp :: PartialEq for PROCESS_MITIGATION_SYSTEM_CALL_FILTER_POLICY { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for PROCESS_MITIGATION_SYSTEM_CALL_FILTER_POLICY { } unsafe impl :: windows :: Abi for PROCESS_MITIGATION_SYSTEM_CALL_FILTER_POLICY { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union PROCESS_MITIGATION_SYSTEM_CALL_FILTER_POLICY_0 { pub Flags : u32 , pub Anonymous : PROCESS_MITIGATION_SYSTEM_CALL_FILTER_POLICY_0_0 } impl PROCESS_MITIGATION_SYSTEM_CALL_FILTER_POLICY_0 { } impl :: std :: cmp :: PartialEq for PROCESS_MITIGATION_SYSTEM_CALL_FILTER_POLICY_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for PROCESS_MITIGATION_SYSTEM_CALL_FILTER_POLICY_0 { } unsafe impl :: windows :: Abi for PROCESS_MITIGATION_SYSTEM_CALL_FILTER_POLICY_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PROCESS_MITIGATION_SYSTEM_CALL_FILTER_POLICY_0_0 { pub _bitfield : u32 } impl PROCESS_MITIGATION_SYSTEM_CALL_FILTER_POLICY_0_0 { } impl :: std :: default :: Default for PROCESS_MITIGATION_SYSTEM_CALL_FILTER_POLICY_0_0 { fn default ( ) -> Self { Self { _bitfield : 0 } } } impl :: std :: fmt :: Debug for PROCESS_MITIGATION_SYSTEM_CALL_FILTER_POLICY_0_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Anonymous_e__Struct" ) . field ( "_bitfield" , & self . _bitfield ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PROCESS_MITIGATION_SYSTEM_CALL_FILTER_POLICY_0_0 { fn eq ( & self , other : & Self ) -> bool { self . _bitfield == other . _bitfield } } impl :: std :: cmp :: Eq for PROCESS_MITIGATION_SYSTEM_CALL_FILTER_POLICY_0_0 { } unsafe impl :: windows :: Abi for PROCESS_MITIGATION_SYSTEM_CALL_FILTER_POLICY_0_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PROCESS_MITIGATION_USER_SHADOW_STACK_POLICY { pub Anonymous : PROCESS_MITIGATION_USER_SHADOW_STACK_POLICY_0 } impl PROCESS_MITIGATION_USER_SHADOW_STACK_POLICY { } impl :: std :: cmp :: PartialEq for PROCESS_MITIGATION_USER_SHADOW_STACK_POLICY { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for PROCESS_MITIGATION_USER_SHADOW_STACK_POLICY { } unsafe impl :: windows :: Abi for PROCESS_MITIGATION_USER_SHADOW_STACK_POLICY { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union PROCESS_MITIGATION_USER_SHADOW_STACK_POLICY_0 { pub Flags : u32 , pub Anonymous : PROCESS_MITIGATION_USER_SHADOW_STACK_POLICY_0_0 } impl PROCESS_MITIGATION_USER_SHADOW_STACK_POLICY_0 { } impl :: std :: cmp :: PartialEq for PROCESS_MITIGATION_USER_SHADOW_STACK_POLICY_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for PROCESS_MITIGATION_USER_SHADOW_STACK_POLICY_0 { } unsafe impl :: windows :: Abi for PROCESS_MITIGATION_USER_SHADOW_STACK_POLICY_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PROCESS_MITIGATION_USER_SHADOW_STACK_POLICY_0_0 { pub _bitfield : u32 } impl PROCESS_MITIGATION_USER_SHADOW_STACK_POLICY_0_0 { } impl :: std :: default :: Default for PROCESS_MITIGATION_USER_SHADOW_STACK_POLICY_0_0 { fn default ( ) -> Self { Self { _bitfield : 0 } } } impl :: std :: fmt :: Debug for PROCESS_MITIGATION_USER_SHADOW_STACK_POLICY_0_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Anonymous_e__Struct" ) . field ( "_bitfield" , & self . _bitfield ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PROCESS_MITIGATION_USER_SHADOW_STACK_POLICY_0_0 { fn eq ( & self , other : & Self ) -> bool { self . _bitfield == other . _bitfield } } impl :: std :: cmp :: Eq for PROCESS_MITIGATION_USER_SHADOW_STACK_POLICY_0_0 { } unsafe impl :: windows :: Abi for PROCESS_MITIGATION_USER_SHADOW_STACK_POLICY_0_0 { type Abi = Self ; type DefaultType = Self ; } pub const PROCESS_TRUST_LABEL_SECURITY_INFORMATION : i32 = 128i32 ; pub const PROC_IDLE_BUCKET_COUNT : u32 = 6u32 ; pub const PROC_IDLE_BUCKET_COUNT_EX : u32 = 16u32 ; pub const PRODUCT_ANDROMEDA : u32 = 184u32 ; pub const PRODUCT_ARM64_SERVER : u32 = 120u32 ; pub const PRODUCT_AZURE_NANO_SERVER : u32 = 169u32 ; pub const PRODUCT_AZURE_SERVER_CORE : u32 = 168u32 ; pub const PRODUCT_CLOUD : u32 = 178u32 ; pub const PRODUCT_CLOUDE : u32 = 183u32 ; pub const PRODUCT_CLOUDEN : u32 = 186u32 ; pub const PRODUCT_CLOUDN : u32 = 179u32 ; pub const PRODUCT_CLOUD_HOST_INFRASTRUCTURE_SERVER : u32 = 124u32 ; pub const PRODUCT_CLOUD_STORAGE_SERVER : u32 = 110u32 ; pub const PRODUCT_CONNECTED_CAR : u32 = 117u32 ; pub const PRODUCT_CORE_ARM : u32 = 97u32 ; pub const PRODUCT_CORE_CONNECTED : u32 = 111u32 ; pub const PRODUCT_CORE_CONNECTED_COUNTRYSPECIFIC : u32 = 116u32 ; pub const PRODUCT_CORE_CONNECTED_N : u32 = 113u32 ; pub const PRODUCT_CORE_CONNECTED_SINGLELANGUAGE : u32 = 115u32 ; pub const PRODUCT_DATACENTER_EVALUATION_SERVER_CORE : u32 = 159u32 ; pub const PRODUCT_DATACENTER_NANO_SERVER : u32 = 143u32 ; pub const PRODUCT_DATACENTER_WS_SERVER_CORE : u32 = 147u32 ; pub const PRODUCT_EMBEDDED : u32 = 65u32 ; pub const PRODUCT_EMBEDDED_A : u32 = 88u32 ; pub const PRODUCT_EMBEDDED_AUTOMOTIVE : u32 = 85u32 ; pub const PRODUCT_EMBEDDED_E : u32 = 90u32 ; pub const PRODUCT_EMBEDDED_EVAL : u32 = 107u32 ; pub const PRODUCT_EMBEDDED_E_EVAL : u32 = 108u32 ; pub const PRODUCT_EMBEDDED_INDUSTRY : u32 = 89u32 ; pub const PRODUCT_EMBEDDED_INDUSTRY_A : u32 = 86u32 ; pub const PRODUCT_EMBEDDED_INDUSTRY_A_E : u32 = 92u32 ; pub const PRODUCT_EMBEDDED_INDUSTRY_E : u32 = 91u32 ; pub const PRODUCT_EMBEDDED_INDUSTRY_EVAL : u32 = 105u32 ; pub const PRODUCT_EMBEDDED_INDUSTRY_E_EVAL : u32 = 106u32 ; pub const PRODUCT_ENTERPRISEG : u32 = 171u32 ; pub const PRODUCT_ENTERPRISEGN : u32 = 172u32 ; pub const PRODUCT_ENTERPRISE_SUBSCRIPTION : u32 = 140u32 ; pub const PRODUCT_ENTERPRISE_SUBSCRIPTION_N : u32 = 141u32 ; pub const PRODUCT_HOLOGRAPHIC : u32 = 135u32 ; pub const PRODUCT_HOLOGRAPHIC_BUSINESS : u32 = 136u32 ; pub const PRODUCT_HUBOS : u32 = 180u32 ; pub const PRODUCT_ID_LENGTH : u32 = 16u32 ; pub const PRODUCT_INDUSTRY_HANDHELD : u32 = 118u32 ; pub const PRODUCT_IOTEDGEOS : u32 = 187u32 ; pub const PRODUCT_IOTENTERPRISE : u32 = 188u32 ; pub const PRODUCT_IOTENTERPRISES : u32 = 191u32 ; pub const PRODUCT_IOTOS : u32 = 185u32 ; pub const PRODUCT_LITE : u32 = 189u32 ; pub const PRODUCT_NANO_SERVER : u32 = 109u32 ; pub const PRODUCT_ONECOREUPDATEOS : u32 = 182u32 ; pub const PRODUCT_PPI_PRO : u32 = 119u32 ; pub const PRODUCT_PROFESSIONAL_EMBEDDED : u32 = 58u32 ; pub const PRODUCT_PROFESSIONAL_S : u32 = 127u32 ; pub const PRODUCT_PROFESSIONAL_STUDENT : u32 = 112u32 ; pub const PRODUCT_PROFESSIONAL_STUDENT_N : u32 = 114u32 ; pub const PRODUCT_PROFESSIONAL_S_N : u32 = 128u32 ; pub const PRODUCT_PRO_CHINA : u32 = 139u32 ; pub const PRODUCT_PRO_FOR_EDUCATION : u32 = 164u32 ; pub const PRODUCT_PRO_FOR_EDUCATION_N : u32 = 165u32 ; pub const PRODUCT_PRO_SINGLE_LANGUAGE : u32 = 138u32 ; pub const PRODUCT_SERVERRDSH : u32 = 175u32 ; pub const PRODUCT_SOLUTION_EMBEDDEDSERVER_CORE : u32 = 57u32 ; pub const PRODUCT_STANDARD_EVALUATION_SERVER_CORE : u32 = 160u32 ; pub const PRODUCT_STANDARD_NANO_SERVER : u32 = 144u32 ; pub const PRODUCT_STANDARD_SERVER_CORE : u32 = 13u32 ; pub const PRODUCT_STANDARD_WS_SERVER_CORE : u32 = 148u32 ; pub const PRODUCT_THINPC : u32 = 87u32 ; pub const PRODUCT_UNLICENSED : u32 = 2882382797u32 ; pub const PRODUCT_UTILITY_VM : u32 = 149u32 ; pub const PRODUCT_XBOX_DURANGOHOSTOS : u32 = 196u32 ; pub const PRODUCT_XBOX_ERAOS : u32 = 195u32 ; pub const PRODUCT_XBOX_GAMEOS : u32 = 194u32 ; pub const PRODUCT_XBOX_NATIVEOS : u32 = 193u32 ; pub const PRODUCT_XBOX_SCARLETTHOSTOS : u32 = 197u32 ; pub const PRODUCT_XBOX_SYSTEMOS : u32 = 192u32 ; pub const PROJFS_PROTOCOL_VERSION : u32 = 3u32 ; pub const PROTECTED_DACL_SECURITY_INFORMATION : i32 = -2147483648i32 ; pub const PROTECTED_SACL_SECURITY_INFORMATION : i32 = 1073741824i32 ; pub type PRTL_UMS_SCHEDULER_ENTRY_POINT = unsafe extern "system" fn ( reason : RTL_UMS_SCHEDULER_REASON , activationpayload : usize , schedulerparam : * mut :: std :: ffi :: c_void ) ; pub type PTERMINATION_HANDLER = unsafe extern "system" fn ( _abnormal_termination : u8 , establisherframe : u64 ) ; pub type PTP_CLEANUP_GROUP_CANCEL_CALLBACK = unsafe extern "system" fn ( objectcontext : * mut :: std :: ffi :: c_void , cleanupcontext : * mut :: std :: ffi :: c_void ) ; pub type PTP_SIMPLE_CALLBACK = unsafe extern "system" fn ( instance : * mut TP_CALLBACK_INSTANCE , context : * mut :: std :: ffi :: c_void ) ; pub type PTP_TIMER_CALLBACK = unsafe extern "system" fn ( instance : * mut TP_CALLBACK_INSTANCE , context : * mut :: std :: ffi :: c_void , timer : * mut TP_TIMER ) ; pub type PTP_WAIT_CALLBACK = unsafe extern "system" fn ( instance : * mut TP_CALLBACK_INSTANCE , context : * mut :: std :: ffi :: c_void , wait : * mut TP_WAIT , waitresult : u32 ) ; pub type PTP_WORK_CALLBACK = unsafe extern "system" fn ( instance : * mut TP_CALLBACK_INSTANCE , context : * mut :: std :: ffi :: c_void , work : * mut TP_WORK ) ; pub type PUMS_SCHEDULER_ENTRY_POINT = unsafe extern "system" fn ( reason : RTL_UMS_SCHEDULER_REASON , activationpayload : usize , schedulerparam : * mut :: std :: ffi :: c_void ) ; pub const PcTeb : u32 = 24u32 ; pub const QAW_GETEASYWIDTHS : u32 = 1u32 ; pub const QAW_GETWIDTHS : u32 = 0u32 ; pub const QC_1BIT : u32 = 2u32 ; pub const QC_4BIT : u32 = 4u32 ; pub const QC_OUTLINES : u32 = 1u32 ; pub const QDS_CHECKJPEGFORMAT : u32 = 0u32 ; pub const QDS_CHECKPNGFORMAT : u32 = 1u32 ; pub const QFD_GLYPHANDBITMAP : i32 = 1i32 ; pub const QFD_GLYPHANDOUTLINE : i32 = 2i32 ; pub const QFD_MAXEXTENTS : i32 = 3i32 ; pub const QFD_TT_GLYPHANDBITMAP : i32 = 4i32 ; pub const QFD_TT_GRAY1_BITMAP : i32 = 5i32 ; pub const QFD_TT_GRAY2_BITMAP : i32 = 6i32 ; pub const QFD_TT_GRAY4_BITMAP : i32 = 8i32 ; pub const QFD_TT_GRAY8_BITMAP : i32 = 9i32 ; pub const QFF_DESCRIPTION : i32 = 1i32 ; pub const QFF_NUMFACES : i32 = 2i32 ; pub const QFT_GLYPHSET : i32 = 3i32 ; pub const QFT_KERNPAIRS : i32 = 2i32 ; pub const QFT_LIGATURES : i32 = 1i32 ; pub const QSA_3DNOW : u32 = 16384u32 ; pub const QSA_MMX : u32 = 256u32 ; pub const QSA_SSE : u32 = 8192u32 ; pub const QSA_SSE2 : u32 = 65536u32 ; pub const QSA_SSE3 : u32 = 524288u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct QUERY_BAD_RANGES_INPUT { pub Flags : u32 , pub NumRanges : u32 , pub Ranges : [ QUERY_BAD_RANGES_INPUT_RANGE ;1 ] } impl QUERY_BAD_RANGES_INPUT { } impl :: std :: default :: Default for QUERY_BAD_RANGES_INPUT { fn default ( ) -> Self { Self { Flags : 0 , NumRanges : 0 , Ranges : [ :: std :: default :: Default :: default ( ) ;1 ] } } } impl :: std :: fmt :: Debug for QUERY_BAD_RANGES_INPUT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "QUERY_BAD_RANGES_INPUT" ) . field ( "Flags" , & self . Flags ) . field ( "NumRanges" , & self . NumRanges ) . field ( "Ranges" , & self . Ranges ) . finish ( ) } } impl :: std :: cmp :: PartialEq for QUERY_BAD_RANGES_INPUT { fn eq ( & self , other : & Self ) -> bool { self . Flags == other . Flags && self . NumRanges == other . NumRanges && self . Ranges == other . Ranges } } impl :: std :: cmp :: Eq for QUERY_BAD_RANGES_INPUT { } unsafe impl :: windows :: Abi for QUERY_BAD_RANGES_INPUT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct QUERY_BAD_RANGES_INPUT_RANGE { pub StartOffset : u64 , pub LengthInBytes : u64 } impl QUERY_BAD_RANGES_INPUT_RANGE { } impl :: std :: default :: Default for QUERY_BAD_RANGES_INPUT_RANGE { fn default ( ) -> Self { Self { StartOffset : 0 , LengthInBytes : 0 } } } impl :: std :: fmt :: Debug for QUERY_BAD_RANGES_INPUT_RANGE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "QUERY_BAD_RANGES_INPUT_RANGE" ) . field ( "StartOffset" , & self . StartOffset ) . field ( "LengthInBytes" , & self . LengthInBytes ) . finish ( ) } } impl :: std :: cmp :: PartialEq for QUERY_BAD_RANGES_INPUT_RANGE { fn eq ( & self , other : & Self ) -> bool { self . StartOffset == other . StartOffset && self . LengthInBytes == other . LengthInBytes } } impl :: std :: cmp :: Eq for QUERY_BAD_RANGES_INPUT_RANGE { } unsafe impl :: windows :: Abi for QUERY_BAD_RANGES_INPUT_RANGE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct QUERY_BAD_RANGES_OUTPUT { pub Flags : u32 , pub NumBadRanges : u32 , pub NextOffsetToLookUp : u64 , pub BadRanges : [ QUERY_BAD_RANGES_OUTPUT_RANGE ;1 ] } impl QUERY_BAD_RANGES_OUTPUT { } impl :: std :: default :: Default for QUERY_BAD_RANGES_OUTPUT { fn default ( ) -> Self { Self { Flags : 0 , NumBadRanges : 0 , NextOffsetToLookUp : 0 , BadRanges : [ :: std :: default :: Default :: default ( ) ;1 ] } } } impl :: std :: fmt :: Debug for QUERY_BAD_RANGES_OUTPUT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "QUERY_BAD_RANGES_OUTPUT" ) . field ( "Flags" , & self . Flags ) . field ( "NumBadRanges" , & self . NumBadRanges ) . field ( "NextOffsetToLookUp" , & self . NextOffsetToLookUp ) . field ( "BadRanges" , & self . BadRanges ) . finish ( ) } } impl :: std :: cmp :: PartialEq for QUERY_BAD_RANGES_OUTPUT { fn eq ( & self , other : & Self ) -> bool { self . Flags == other . Flags && self . NumBadRanges == other . NumBadRanges && self . NextOffsetToLookUp == other . NextOffsetToLookUp && self . BadRanges == other . BadRanges } } impl :: std :: cmp :: Eq for QUERY_BAD_RANGES_OUTPUT { } unsafe impl :: windows :: Abi for QUERY_BAD_RANGES_OUTPUT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct QUERY_BAD_RANGES_OUTPUT_RANGE { pub Flags : u32 , pub Reserved : u32 , pub StartOffset : u64 , pub LengthInBytes : u64 } impl QUERY_BAD_RANGES_OUTPUT_RANGE { } impl :: std :: default :: Default for QUERY_BAD_RANGES_OUTPUT_RANGE { fn default ( ) -> Self { Self { Flags : 0 , Reserved : 0 , StartOffset : 0 , LengthInBytes : 0 } } } impl :: std :: fmt :: Debug for QUERY_BAD_RANGES_OUTPUT_RANGE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "QUERY_BAD_RANGES_OUTPUT_RANGE" ) . field ( "Flags" , & self . Flags ) . field ( "Reserved" , & self . Reserved ) . field ( "StartOffset" , & self . StartOffset ) . field ( "LengthInBytes" , & self . LengthInBytes ) . finish ( ) } } impl :: std :: cmp :: PartialEq for QUERY_BAD_RANGES_OUTPUT_RANGE { fn eq ( & self , other : & Self ) -> bool { self . Flags == other . Flags && self . Reserved == other . Reserved && self . StartOffset == other . StartOffset && self . LengthInBytes == other . LengthInBytes } } impl :: std :: cmp :: Eq for QUERY_BAD_RANGES_OUTPUT_RANGE { } unsafe impl :: windows :: Abi for QUERY_BAD_RANGES_OUTPUT_RANGE { type Abi = Self ; type DefaultType = Self ; } pub const QUERY_DEPENDENT_VOLUME_REQUEST_FLAG_GUEST_VOLUMES : u32 = 2u32 ; pub const QUERY_DEPENDENT_VOLUME_REQUEST_FLAG_HOST_VOLUMES : u32 = 1u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct QUERY_FILE_LAYOUT_FILTER_TYPE ( pub i32 ) ; pub const QUERY_FILE_LAYOUT_FILTER_TYPE_NONE : QUERY_FILE_LAYOUT_FILTER_TYPE = QUERY_FILE_LAYOUT_FILTER_TYPE ( 0i32 ) ; pub const QUERY_FILE_LAYOUT_FILTER_TYPE_CLUSTERS : QUERY_FILE_LAYOUT_FILTER_TYPE = QUERY_FILE_LAYOUT_FILTER_TYPE ( 1i32 ) ; pub const QUERY_FILE_LAYOUT_FILTER_TYPE_FILEID : QUERY_FILE_LAYOUT_FILTER_TYPE = QUERY_FILE_LAYOUT_FILTER_TYPE ( 2i32 ) ; pub const QUERY_FILE_LAYOUT_FILTER_TYPE_STORAGE_RESERVE_ID : QUERY_FILE_LAYOUT_FILTER_TYPE = QUERY_FILE_LAYOUT_FILTER_TYPE ( 3i32 ) ; pub const QUERY_FILE_LAYOUT_NUM_FILTER_TYPES : QUERY_FILE_LAYOUT_FILTER_TYPE = QUERY_FILE_LAYOUT_FILTER_TYPE ( 4i32 ) ; impl :: std :: convert :: From < i32 > for QUERY_FILE_LAYOUT_FILTER_TYPE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for QUERY_FILE_LAYOUT_FILTER_TYPE { type Abi = Self ; type DefaultType = Self ; } pub const QUERY_FILE_LAYOUT_INCLUDE_EXTENTS : u32 = 8u32 ; pub const QUERY_FILE_LAYOUT_INCLUDE_EXTRA_INFO : u32 = 16u32 ; pub const QUERY_FILE_LAYOUT_INCLUDE_FILES_WITH_DSC_ATTRIBUTE : u32 = 4096u32 ; pub const QUERY_FILE_LAYOUT_INCLUDE_FULL_PATH_IN_NAMES : u32 = 64u32 ; pub const QUERY_FILE_LAYOUT_INCLUDE_NAMES : u32 = 2u32 ; pub const QUERY_FILE_LAYOUT_INCLUDE_ONLY_FILES_WITH_SPECIFIC_ATTRIBUTES : u32 = 2048u32 ; pub const QUERY_FILE_LAYOUT_INCLUDE_STREAMS : u32 = 4u32 ; pub const QUERY_FILE_LAYOUT_INCLUDE_STREAMS_WITH_NO_CLUSTERS_ALLOCATED : u32 = 32u32 ; pub const QUERY_FILE_LAYOUT_INCLUDE_STREAM_INFORMATION : u32 = 128u32 ; pub const QUERY_FILE_LAYOUT_INCLUDE_STREAM_INFORMATION_FOR_DATA_ATTRIBUTE : u32 = 8192u32 ; pub const QUERY_FILE_LAYOUT_INCLUDE_STREAM_INFORMATION_FOR_DSC_ATTRIBUTE : u32 = 256u32 ; pub const QUERY_FILE_LAYOUT_INCLUDE_STREAM_INFORMATION_FOR_EA_ATTRIBUTE : u32 = 32768u32 ; pub const QUERY_FILE_LAYOUT_INCLUDE_STREAM_INFORMATION_FOR_EFS_ATTRIBUTE : u32 = 1024u32 ; pub const QUERY_FILE_LAYOUT_INCLUDE_STREAM_INFORMATION_FOR_REPARSE_ATTRIBUTE : u32 = 16384u32 ; pub const QUERY_FILE_LAYOUT_INCLUDE_STREAM_INFORMATION_FOR_TXF_ATTRIBUTE : u32 = 512u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct QUERY_FILE_LAYOUT_INPUT { pub Anonymous : QUERY_FILE_LAYOUT_INPUT_0 , pub Flags : u32 , pub FilterType : QUERY_FILE_LAYOUT_FILTER_TYPE , pub Reserved : u32 , pub Filter : QUERY_FILE_LAYOUT_INPUT_1 } impl QUERY_FILE_LAYOUT_INPUT { } impl :: std :: cmp :: PartialEq for QUERY_FILE_LAYOUT_INPUT { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for QUERY_FILE_LAYOUT_INPUT { } unsafe impl :: windows :: Abi for QUERY_FILE_LAYOUT_INPUT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union QUERY_FILE_LAYOUT_INPUT_0 { pub FilterEntryCount : u32 , pub NumberOfPairs : u32 } impl QUERY_FILE_LAYOUT_INPUT_0 { } impl :: std :: cmp :: PartialEq for QUERY_FILE_LAYOUT_INPUT_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for QUERY_FILE_LAYOUT_INPUT_0 { } unsafe impl :: windows :: Abi for QUERY_FILE_LAYOUT_INPUT_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union QUERY_FILE_LAYOUT_INPUT_1 { pub ClusterRanges : [ CLUSTER_RANGE ;1 ] , pub FileReferenceRanges : [ FILE_REFERENCE_RANGE ;1 ] , pub StorageReserveIds : [ STORAGE_RESERVE_ID ;1 ] } impl QUERY_FILE_LAYOUT_INPUT_1 { } impl :: std :: cmp :: PartialEq for QUERY_FILE_LAYOUT_INPUT_1 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for QUERY_FILE_LAYOUT_INPUT_1 { } unsafe impl :: windows :: Abi for QUERY_FILE_LAYOUT_INPUT_1 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct QUERY_FILE_LAYOUT_OUTPUT { pub FileEntryCount : u32 , pub FirstFileOffset : u32 , pub Flags : u32 , pub Reserved : u32 } impl QUERY_FILE_LAYOUT_OUTPUT { } impl :: std :: default :: Default for QUERY_FILE_LAYOUT_OUTPUT { fn default ( ) -> Self { Self { FileEntryCount : 0 , FirstFileOffset : 0 , Flags : 0 , Reserved : 0 } } } impl :: std :: fmt :: Debug for QUERY_FILE_LAYOUT_OUTPUT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "QUERY_FILE_LAYOUT_OUTPUT" ) . field ( "FileEntryCount" , & self . FileEntryCount ) . field ( "FirstFileOffset" , & self . FirstFileOffset ) . field ( "Flags" , & self . Flags ) . field ( "Reserved" , & self . Reserved ) . finish ( ) } } impl :: std :: cmp :: PartialEq for QUERY_FILE_LAYOUT_OUTPUT { fn eq ( & self , other : & Self ) -> bool { self . FileEntryCount == other . FileEntryCount && self . FirstFileOffset == other . FirstFileOffset && self . Flags == other . Flags && self . Reserved == other . Reserved } } impl :: std :: cmp :: Eq for QUERY_FILE_LAYOUT_OUTPUT { } unsafe impl :: windows :: Abi for QUERY_FILE_LAYOUT_OUTPUT { type Abi = Self ; type DefaultType = Self ; } pub const QUERY_FILE_LAYOUT_REPARSE_DATA_INVALID : u32 = 1u32 ; pub const QUERY_FILE_LAYOUT_REPARSE_TAG_INVALID : u32 = 2u32 ; pub const QUERY_FILE_LAYOUT_RESTART : u32 = 1u32 ; pub const QUERY_FILE_LAYOUT_SINGLE_INSTANCED : u32 = 1u32 ; pub const QUERY_STORAGE_CLASSES_FLAGS_MEASURE_READ : u32 = 1073741824u32 ; pub const QUERY_STORAGE_CLASSES_FLAGS_MEASURE_WRITE : u32 = 2147483648u32 ; pub const QUERY_STORAGE_CLASSES_FLAGS_NO_DEFRAG_VOLUME : u32 = 536870912u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct QUOTA_LIMITS_EX { pub PagedPoolLimit : usize , pub NonPagedPoolLimit : usize , pub MinimumWorkingSetSize : usize , pub MaximumWorkingSetSize : usize , pub PagefileLimit : usize , pub TimeLimit : i64 , pub WorkingSetLimit : usize , pub Reserved2 : usize , pub Reserved3 : usize , pub Reserved4 : usize , pub Flags : u32 , pub CpuRateLimit : RATE_QUOTA_LIMIT } impl QUOTA_LIMITS_EX { } impl :: std :: cmp :: PartialEq for QUOTA_LIMITS_EX { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for QUOTA_LIMITS_EX { } unsafe impl :: windows :: Abi for QUOTA_LIMITS_EX { type Abi = Self ; type DefaultType = Self ; } pub const QUOTA_LIMITS_HARDWS_MAX_DISABLE : u32 = 8u32 ; pub const QUOTA_LIMITS_HARDWS_MAX_ENABLE : u32 = 4u32 ; pub const QUOTA_LIMITS_HARDWS_MIN_DISABLE : u32 = 2u32 ; pub const QUOTA_LIMITS_HARDWS_MIN_ENABLE : u32 = 1u32 ; pub const QUOTA_LIMITS_USE_DEFAULT_LIMITS : u32 = 16u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union RATE_QUOTA_LIMIT { pub RateData : u32 , pub Anonymous : RATE_QUOTA_LIMIT_0 } impl RATE_QUOTA_LIMIT { } impl :: std :: cmp :: PartialEq for RATE_QUOTA_LIMIT { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for RATE_QUOTA_LIMIT { } unsafe impl :: windows :: Abi for RATE_QUOTA_LIMIT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct RATE_QUOTA_LIMIT_0 { pub _bitfield : u32 } impl RATE_QUOTA_LIMIT_0 { } impl :: std :: default :: Default for RATE_QUOTA_LIMIT_0 { fn default ( ) -> Self { Self { _bitfield : 0 } } } impl :: std :: fmt :: Debug for RATE_QUOTA_LIMIT_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Anonymous_e__Struct" ) . field ( "_bitfield" , & self . _bitfield ) . finish ( ) } } impl :: std :: cmp :: PartialEq for RATE_QUOTA_LIMIT_0 { fn eq ( & self , other : & Self ) -> bool { self . _bitfield == other . _bitfield } } impl :: std :: cmp :: Eq for RATE_QUOTA_LIMIT_0 { } unsafe impl :: windows :: Abi for RATE_QUOTA_LIMIT_0 { type Abi = Self ; type DefaultType = Self ; } pub const RB_DITHERCOLOR : i32 = -2147483648i32 ; pub const READ_ATTRIBUTES : u32 = 208u32 ; pub const READ_ATTRIBUTE_BUFFER_SIZE : u32 = 512u32 ; pub const READ_COMPRESSION_INFO_VALID : u32 = 32u32 ; pub const READ_COPY_NUMBER_BYPASS_CACHE_FLAG : u32 = 256u32 ; pub const READ_COPY_NUMBER_KEY : u32 = 1380142592u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct READ_ELEMENT_ADDRESS_INFO { pub NumberOfElements : u32 , pub ElementStatus : [ CHANGER_ELEMENT_STATUS ;1 ] } impl READ_ELEMENT_ADDRESS_INFO { } impl :: std :: default :: Default for READ_ELEMENT_ADDRESS_INFO { fn default ( ) -> Self { Self { NumberOfElements : 0 , ElementStatus : [ :: std :: default :: Default :: default ( ) ;1 ] } } } impl :: std :: fmt :: Debug for READ_ELEMENT_ADDRESS_INFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "READ_ELEMENT_ADDRESS_INFO" ) . field ( "NumberOfElements" , & self . NumberOfElements ) . field ( "ElementStatus" , & self . ElementStatus ) . finish ( ) } } impl :: std :: cmp :: PartialEq for READ_ELEMENT_ADDRESS_INFO { fn eq ( & self , other : & Self ) -> bool { self . NumberOfElements == other . NumberOfElements && self . ElementStatus == other . ElementStatus } } impl :: std :: cmp :: Eq for READ_ELEMENT_ADDRESS_INFO { } unsafe impl :: windows :: Abi for READ_ELEMENT_ADDRESS_INFO { type Abi = Self ; type DefaultType = Self ; } pub const READ_THREAD_PROFILING_FLAG_DISPATCHING : u32 = 1u32 ; pub const READ_THREAD_PROFILING_FLAG_HARDWARE_COUNTERS : u32 = 2u32 ; pub const READ_THRESHOLDS : u32 = 209u32 ; pub const READ_THRESHOLD_BUFFER_SIZE : u32 = 512u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct REARRANGE_FILE_DATA { pub SourceStartingOffset : u64 , pub TargetOffset : u64 , pub SourceFileHandle : super::super::Foundation:: HANDLE , pub Length : u32 , pub Flags : u32 } impl REARRANGE_FILE_DATA { } impl :: std :: default :: Default for REARRANGE_FILE_DATA { fn default ( ) -> Self { Self { SourceStartingOffset : 0 , TargetOffset : 0 , SourceFileHandle : :: std :: default :: Default :: default ( ) , Length : 0 , Flags : 0 } } } impl :: std :: fmt :: Debug for REARRANGE_FILE_DATA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "REARRANGE_FILE_DATA" ) . field ( "SourceStartingOffset" , & self . SourceStartingOffset ) . field ( "TargetOffset" , & self . TargetOffset ) . field ( "SourceFileHandle" , & self . SourceFileHandle ) . field ( "Length" , & self . Length ) . field ( "Flags" , & self . Flags ) . finish ( ) } } impl :: std :: cmp :: PartialEq for REARRANGE_FILE_DATA { fn eq ( & self , other : & Self ) -> bool { self . SourceStartingOffset == other . SourceStartingOffset && self . TargetOffset == other . TargetOffset && self . SourceFileHandle == other . SourceFileHandle && self . Length == other . Length && self . Flags == other . Flags } } impl :: std :: cmp :: Eq for REARRANGE_FILE_DATA { } unsafe impl :: windows :: Abi for REARRANGE_FILE_DATA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct REARRANGE_FILE_DATA32 { pub SourceStartingOffset : u64 , pub TargetOffset : u64 , pub SourceFileHandle : u32 , pub Length : u32 , pub Flags : u32 } impl REARRANGE_FILE_DATA32 { } impl :: std :: default :: Default for REARRANGE_FILE_DATA32 { fn default ( ) -> Self { Self { SourceStartingOffset : 0 , TargetOffset : 0 , SourceFileHandle : 0 , Length : 0 , Flags : 0 } } } impl :: std :: fmt :: Debug for REARRANGE_FILE_DATA32 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "REARRANGE_FILE_DATA32" ) . field ( "SourceStartingOffset" , & self . SourceStartingOffset ) . field ( "TargetOffset" , & self . TargetOffset ) . field ( "SourceFileHandle" , & self . SourceFileHandle ) . field ( "Length" , & self . Length ) . field ( "Flags" , & self . Flags ) . finish ( ) } } impl :: std :: cmp :: PartialEq for REARRANGE_FILE_DATA32 { fn eq ( & self , other : & Self ) -> bool { self . SourceStartingOffset == other . SourceStartingOffset && self . TargetOffset == other . TargetOffset && self . SourceFileHandle == other . SourceFileHandle && self . Length == other . Length && self . Flags == other . Flags } } impl :: std :: cmp :: Eq for REARRANGE_FILE_DATA32 { } unsafe impl :: windows :: Abi for REARRANGE_FILE_DATA32 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct REASON_CONTEXT { pub Version : u32 , pub Flags : POWER_REQUEST_CONTEXT_FLAGS , pub Reason : REASON_CONTEXT_0 } impl REASON_CONTEXT { } impl :: std :: cmp :: PartialEq for REASON_CONTEXT { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for REASON_CONTEXT { } unsafe impl :: windows :: Abi for REASON_CONTEXT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union REASON_CONTEXT_0 { pub Detailed : REASON_CONTEXT_0_0 , pub SimpleReasonString : super::super::Foundation:: PWSTR } impl REASON_CONTEXT_0 { } impl :: std :: cmp :: PartialEq for REASON_CONTEXT_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for REASON_CONTEXT_0 { } unsafe impl :: windows :: Abi for REASON_CONTEXT_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct REASON_CONTEXT_0_0 { pub LocalizedReasonModule : super::super::Foundation:: HINSTANCE , pub LocalizedReasonId : u32 , pub ReasonStringCount : u32 , pub ReasonStrings : * mut super::super::Foundation:: PWSTR } impl REASON_CONTEXT_0_0 { } impl :: std :: default :: Default for REASON_CONTEXT_0_0 { fn default ( ) -> Self { Self { LocalizedReasonModule : :: std :: default :: Default :: default ( ) , LocalizedReasonId : 0 , ReasonStringCount : 0 , ReasonStrings : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for REASON_CONTEXT_0_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Detailed_e__Struct" ) . field ( "LocalizedReasonModule" , & self . LocalizedReasonModule ) . field ( "LocalizedReasonId" , & self . LocalizedReasonId ) . field ( "ReasonStringCount" , & self . ReasonStringCount ) . field ( "ReasonStrings" , & self . ReasonStrings ) . finish ( ) } } impl :: std :: cmp :: PartialEq for REASON_CONTEXT_0_0 { fn eq ( & self , other : & Self ) -> bool { self . LocalizedReasonModule == other . LocalizedReasonModule && self . LocalizedReasonId == other . LocalizedReasonId && self . ReasonStringCount == other . ReasonStringCount && self . ReasonStrings == other . ReasonStrings } } impl :: std :: cmp :: Eq for REASON_CONTEXT_0_0 { } unsafe impl :: windows :: Abi for REASON_CONTEXT_0_0 { type Abi = Self ; type DefaultType = Self ; } pub const RECOVERED_READS_VALID : u32 = 4u32 ; pub const RECOVERED_WRITES_VALID : u32 = 1u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct RECTFX { pub xLeft : i32 , pub yTop : i32 , pub xRight : i32 , pub yBottom : i32 } impl RECTFX { } impl :: std :: default :: Default for RECTFX { fn default ( ) -> Self { Self { xLeft : 0 , yTop : 0 , xRight : 0 , yBottom : 0 } } } impl :: std :: fmt :: Debug for RECTFX { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "RECTFX" ) . field ( "xLeft" , & self . xLeft ) . field ( "yTop" , & self . yTop ) . field ( "xRight" , & self . xRight ) . field ( "yBottom" , & self . yBottom ) . finish ( ) } } impl :: std :: cmp :: PartialEq for RECTFX { fn eq ( & self , other : & Self ) -> bool { self . xLeft == other . xLeft && self . yTop == other . yTop && self . xRight == other . xRight && self . yBottom == other . yBottom } } impl :: std :: cmp :: Eq for RECTFX { } unsafe impl :: windows :: Abi for RECTFX { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct REDBOOK_DIGITAL_AUDIO_EXTRACTION_INFO { pub Version : u32 , pub Accurate : u32 , pub Supported : u32 , pub AccurateMask0 : u32 } impl REDBOOK_DIGITAL_AUDIO_EXTRACTION_INFO { } impl :: std :: default :: Default for REDBOOK_DIGITAL_AUDIO_EXTRACTION_INFO { fn default ( ) -> Self { Self { Version : 0 , Accurate : 0 , Supported : 0 , AccurateMask0 : 0 } } } impl :: std :: fmt :: Debug for REDBOOK_DIGITAL_AUDIO_EXTRACTION_INFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "REDBOOK_DIGITAL_AUDIO_EXTRACTION_INFO" ) . field ( "Version" , & self . Version ) . field ( "Accurate" , & self . Accurate ) . field ( "Supported" , & self . Supported ) . field ( "AccurateMask0" , & self . AccurateMask0 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for REDBOOK_DIGITAL_AUDIO_EXTRACTION_INFO { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Accurate == other . Accurate && self . Supported == other . Supported && self . AccurateMask0 == other . AccurateMask0 } } impl :: std :: cmp :: Eq for REDBOOK_DIGITAL_AUDIO_EXTRACTION_INFO { } unsafe impl :: windows :: Abi for REDBOOK_DIGITAL_AUDIO_EXTRACTION_INFO { type Abi = Self ; type DefaultType = Self ; } pub const REDBOOK_DIGITAL_AUDIO_EXTRACTION_INFO_VERSION : u32 = 1u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct REFS_SMR_VOLUME_GC_ACTION ( pub i32 ) ; pub const SmrGcActionStart : REFS_SMR_VOLUME_GC_ACTION = REFS_SMR_VOLUME_GC_ACTION ( 1i32 ) ; pub const SmrGcActionStartFullSpeed : REFS_SMR_VOLUME_GC_ACTION = REFS_SMR_VOLUME_GC_ACTION ( 2i32 ) ; pub const SmrGcActionPause : REFS_SMR_VOLUME_GC_ACTION = REFS_SMR_VOLUME_GC_ACTION ( 3i32 ) ; pub const SmrGcActionStop : REFS_SMR_VOLUME_GC_ACTION = REFS_SMR_VOLUME_GC_ACTION ( 4i32 ) ; impl :: std :: convert :: From < i32 > for REFS_SMR_VOLUME_GC_ACTION { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for REFS_SMR_VOLUME_GC_ACTION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct REFS_SMR_VOLUME_GC_METHOD ( pub i32 ) ; pub const SmrGcMethodCompaction : REFS_SMR_VOLUME_GC_METHOD = REFS_SMR_VOLUME_GC_METHOD ( 1i32 ) ; pub const SmrGcMethodCompression : REFS_SMR_VOLUME_GC_METHOD = REFS_SMR_VOLUME_GC_METHOD ( 2i32 ) ; pub const SmrGcMethodRotation : REFS_SMR_VOLUME_GC_METHOD = REFS_SMR_VOLUME_GC_METHOD ( 3i32 ) ; impl :: std :: convert :: From < i32 > for REFS_SMR_VOLUME_GC_METHOD { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for REFS_SMR_VOLUME_GC_METHOD { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct REFS_SMR_VOLUME_GC_PARAMETERS { pub Version : u32 , pub Flags : u32 , pub Action : REFS_SMR_VOLUME_GC_ACTION , pub Method : REFS_SMR_VOLUME_GC_METHOD , pub IoGranularity : u32 , pub CompressionFormat : u32 , pub Unused : [ u64 ;8 ] } impl REFS_SMR_VOLUME_GC_PARAMETERS { } impl :: std :: default :: Default for REFS_SMR_VOLUME_GC_PARAMETERS { fn default ( ) -> Self { Self { Version : 0 , Flags : 0 , Action : :: std :: default :: Default :: default ( ) , Method : :: std :: default :: Default :: default ( ) , IoGranularity : 0 , CompressionFormat : 0 , Unused : [ 0 ;8 ] } } } impl :: std :: fmt :: Debug for REFS_SMR_VOLUME_GC_PARAMETERS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "REFS_SMR_VOLUME_GC_PARAMETERS" ) . field ( "Version" , & self . Version ) . field ( "Flags" , & self . Flags ) . field ( "Action" , & self . Action ) . field ( "Method" , & self . Method ) . field ( "IoGranularity" , & self . IoGranularity ) . field ( "CompressionFormat" , & self . CompressionFormat ) . field ( "Unused" , & self . Unused ) . finish ( ) } } impl :: std :: cmp :: PartialEq for REFS_SMR_VOLUME_GC_PARAMETERS { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Flags == other . Flags && self . Action == other . Action && self . Method == other . Method && self . IoGranularity == other . IoGranularity && self . CompressionFormat == other . CompressionFormat && self . Unused == other . Unused } } impl :: std :: cmp :: Eq for REFS_SMR_VOLUME_GC_PARAMETERS { } unsafe impl :: windows :: Abi for REFS_SMR_VOLUME_GC_PARAMETERS { type Abi = Self ; type DefaultType = Self ; } pub const REFS_SMR_VOLUME_GC_PARAMETERS_VERSION_V1 : u32 = 1u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct REFS_SMR_VOLUME_GC_STATE ( pub i32 ) ; pub const SmrGcStateInactive : REFS_SMR_VOLUME_GC_STATE = REFS_SMR_VOLUME_GC_STATE ( 0i32 ) ; pub const SmrGcStatePaused : REFS_SMR_VOLUME_GC_STATE = REFS_SMR_VOLUME_GC_STATE ( 1i32 ) ; pub const SmrGcStateActive : REFS_SMR_VOLUME_GC_STATE = REFS_SMR_VOLUME_GC_STATE ( 2i32 ) ; pub const SmrGcStateActiveFullSpeed : REFS_SMR_VOLUME_GC_STATE = REFS_SMR_VOLUME_GC_STATE ( 3i32 ) ; impl :: std :: convert :: From < i32 > for REFS_SMR_VOLUME_GC_STATE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for REFS_SMR_VOLUME_GC_STATE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct REFS_SMR_VOLUME_INFO_OUTPUT { pub Version : u32 , pub Flags : u32 , pub SizeOfRandomlyWritableTier : i64 , pub FreeSpaceInRandomlyWritableTier : i64 , pub SizeofSMRTier : i64 , pub FreeSpaceInSMRTier : i64 , pub UsableFreeSpaceInSMRTier : i64 , pub VolumeGcState : REFS_SMR_VOLUME_GC_STATE , pub VolumeGcLastStatus : u32 , pub Unused : [ u64 ;7 ] } impl REFS_SMR_VOLUME_INFO_OUTPUT { } impl :: std :: default :: Default for REFS_SMR_VOLUME_INFO_OUTPUT { fn default ( ) -> Self { Self { Version : 0 , Flags : 0 , SizeOfRandomlyWritableTier : 0 , FreeSpaceInRandomlyWritableTier : 0 , SizeofSMRTier : 0 , FreeSpaceInSMRTier : 0 , UsableFreeSpaceInSMRTier : 0 , VolumeGcState : :: std :: default :: Default :: default ( ) , VolumeGcLastStatus : 0 , Unused : [ 0 ;7 ] } } } impl :: std :: fmt :: Debug for REFS_SMR_VOLUME_INFO_OUTPUT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "REFS_SMR_VOLUME_INFO_OUTPUT" ) . field ( "Version" , & self . Version ) . field ( "Flags" , & self . Flags ) . field ( "SizeOfRandomlyWritableTier" , & self . SizeOfRandomlyWritableTier ) . field ( "FreeSpaceInRandomlyWritableTier" , & self . FreeSpaceInRandomlyWritableTier ) . field ( "SizeofSMRTier" , & self . SizeofSMRTier ) . field ( "FreeSpaceInSMRTier" , & self . FreeSpaceInSMRTier ) . field ( "UsableFreeSpaceInSMRTier" , & self . UsableFreeSpaceInSMRTier ) . field ( "VolumeGcState" , & self . VolumeGcState ) . field ( "VolumeGcLastStatus" , & self . VolumeGcLastStatus ) . field ( "Unused" , & self . Unused ) . finish ( ) } } impl :: std :: cmp :: PartialEq for REFS_SMR_VOLUME_INFO_OUTPUT { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Flags == other . Flags && self . SizeOfRandomlyWritableTier == other . SizeOfRandomlyWritableTier && self . FreeSpaceInRandomlyWritableTier == other . FreeSpaceInRandomlyWritableTier && self . SizeofSMRTier == other . SizeofSMRTier && self . FreeSpaceInSMRTier == other . FreeSpaceInSMRTier && self . UsableFreeSpaceInSMRTier == other . UsableFreeSpaceInSMRTier && self . VolumeGcState == other . VolumeGcState && self . VolumeGcLastStatus == other . VolumeGcLastStatus && self . Unused == other . Unused } } impl :: std :: cmp :: Eq for REFS_SMR_VOLUME_INFO_OUTPUT { } unsafe impl :: windows :: Abi for REFS_SMR_VOLUME_INFO_OUTPUT { type Abi = Self ; type DefaultType = Self ; } pub const REFS_SMR_VOLUME_INFO_OUTPUT_VERSION_V1 : u32 = 1u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct REFS_VOLUME_DATA_BUFFER { pub ByteCount : u32 , pub MajorVersion : u32 , pub MinorVersion : u32 , pub BytesPerPhysicalSector : u32 , pub VolumeSerialNumber : i64 , pub NumberSectors : i64 , pub TotalClusters : i64 , pub FreeClusters : i64 , pub TotalReserved : i64 , pub BytesPerSector : u32 , pub BytesPerCluster : u32 , pub MaximumSizeOfResidentFile : i64 , pub FastTierDataFillRatio : u16 , pub SlowTierDataFillRatio : u16 , pub DestagesFastTierToSlowTierRate : u32 , pub Reserved : [ i64 ;9 ] } impl REFS_VOLUME_DATA_BUFFER { } impl :: std :: default :: Default for REFS_VOLUME_DATA_BUFFER { fn default ( ) -> Self { Self { ByteCount : 0 , MajorVersion : 0 , MinorVersion : 0 , BytesPerPhysicalSector : 0 , VolumeSerialNumber : 0 , NumberSectors : 0 , TotalClusters : 0 , FreeClusters : 0 , TotalReserved : 0 , BytesPerSector : 0 , BytesPerCluster : 0 , MaximumSizeOfResidentFile : 0 , FastTierDataFillRatio : 0 , SlowTierDataFillRatio : 0 , DestagesFastTierToSlowTierRate : 0 , Reserved : [ 0 ;9 ] } } } impl :: std :: fmt :: Debug for REFS_VOLUME_DATA_BUFFER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "REFS_VOLUME_DATA_BUFFER" ) . field ( "ByteCount" , & self . ByteCount ) . field ( "MajorVersion" , & self . MajorVersion ) . field ( "MinorVersion" , & self . MinorVersion ) . field ( "BytesPerPhysicalSector" , & self . BytesPerPhysicalSector ) . field ( "VolumeSerialNumber" , & self . VolumeSerialNumber ) . field ( "NumberSectors" , & self . NumberSectors ) . field ( "TotalClusters" , & self . TotalClusters ) . field ( "FreeClusters" , & self . FreeClusters ) . field ( "TotalReserved" , & self . TotalReserved ) . field ( "BytesPerSector" , & self . BytesPerSector ) . field ( "BytesPerCluster" , & self . BytesPerCluster ) . field ( "MaximumSizeOfResidentFile" , & self . MaximumSizeOfResidentFile ) . field ( "FastTierDataFillRatio" , & self . FastTierDataFillRatio ) . field ( "SlowTierDataFillRatio" , & self . SlowTierDataFillRatio ) . field ( "DestagesFastTierToSlowTierRate" , & self . DestagesFastTierToSlowTierRate ) . field ( "Reserved" , & self . Reserved ) . finish ( ) } } impl :: std :: cmp :: PartialEq for REFS_VOLUME_DATA_BUFFER { fn eq ( & self , other : & Self ) -> bool { self . ByteCount == other . ByteCount && self . MajorVersion == other . MajorVersion && self . MinorVersion == other . MinorVersion && self . BytesPerPhysicalSector == other . BytesPerPhysicalSector && self . VolumeSerialNumber == other . VolumeSerialNumber && self . NumberSectors == other . NumberSectors && self . TotalClusters == other . TotalClusters && self . FreeClusters == other . FreeClusters && self . TotalReserved == other . TotalReserved && self . BytesPerSector == other . BytesPerSector && self . BytesPerCluster == other . BytesPerCluster && self . MaximumSizeOfResidentFile == other . MaximumSizeOfResidentFile && self . FastTierDataFillRatio == other . FastTierDataFillRatio && self . SlowTierDataFillRatio == other . SlowTierDataFillRatio && self . DestagesFastTierToSlowTierRate == other . DestagesFastTierToSlowTierRate && self . Reserved == other . Reserved } } impl :: std :: cmp :: Eq for REFS_VOLUME_DATA_BUFFER { } unsafe impl :: windows :: Abi for REFS_VOLUME_DATA_BUFFER { type Abi = Self ; type DefaultType = Self ; } pub const REG_APP_HIVE : i32 = 16i32 ; pub const REG_BOOT_HIVE : i32 = 1024i32 ; pub const REG_FLUSH_HIVE_FILE_GROWTH : i32 = 4096i32 ; pub const REG_FORCE_UNLOAD : u32 = 1u32 ; pub const REG_HIVE_EXACT_FILE_GROWTH : i32 = 128i32 ; pub const REG_HIVE_NO_RM : i32 = 256i32 ; pub const REG_HIVE_SINGLE_LOG : i32 = 512i32 ; pub const REG_IMMUTABLE : i32 = 16384i32 ; pub const REG_LOAD_HIVE_OPEN_HANDLE : i32 = 2048i32 ; pub const REG_NO_IMPERSONATION_FALLBACK : i32 = 32768i32 ; pub const REG_NO_LAZY_FLUSH : i32 = 4i32 ; pub const REG_OPEN_READ_ONLY : i32 = 8192i32 ; pub const REG_PROCESS_PRIVATE : i32 = 32i32 ; pub const REG_REFRESH_HIVE : i32 = 2i32 ; pub const REG_START_JOURNAL : i32 = 64i32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct REMOVE_ELEMENT_AND_TRUNCATE_REQUEST { pub Version : u32 , pub Size : u32 , pub RequestCapacity : u64 , pub ElementIdentifier : u32 , pub Reserved : u32 } impl REMOVE_ELEMENT_AND_TRUNCATE_REQUEST { } impl :: std :: default :: Default for REMOVE_ELEMENT_AND_TRUNCATE_REQUEST { fn default ( ) -> Self { Self { Version : 0 , Size : 0 , RequestCapacity : 0 , ElementIdentifier : 0 , Reserved : 0 } } } impl :: std :: fmt :: Debug for REMOVE_ELEMENT_AND_TRUNCATE_REQUEST { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "REMOVE_ELEMENT_AND_TRUNCATE_REQUEST" ) . field ( "Version" , & self . Version ) . field ( "Size" , & self . Size ) . field ( "RequestCapacity" , & self . RequestCapacity ) . field ( "ElementIdentifier" , & self . ElementIdentifier ) . field ( "Reserved" , & self . Reserved ) . finish ( ) } } impl :: std :: cmp :: PartialEq for REMOVE_ELEMENT_AND_TRUNCATE_REQUEST { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Size == other . Size && self . RequestCapacity == other . RequestCapacity && self . ElementIdentifier == other . ElementIdentifier && self . Reserved == other . Reserved } } impl :: std :: cmp :: Eq for REMOVE_ELEMENT_AND_TRUNCATE_REQUEST { } unsafe impl :: windows :: Abi for REMOVE_ELEMENT_AND_TRUNCATE_REQUEST { type Abi = Self ; type DefaultType = Self ; } pub const REPLACE_ALTERNATE : u32 = 11u32 ; pub const REPLACE_PRIMARY : u32 = 10u32 ; pub const REQUEST_OPLOCK_CURRENT_VERSION : u32 = 1u32 ; pub const REQUEST_OPLOCK_INPUT_FLAG_ACK : u32 = 2u32 ; pub const REQUEST_OPLOCK_INPUT_FLAG_COMPLETE_ACK_ON_CLOSE : u32 = 4u32 ; pub const REQUEST_OPLOCK_INPUT_FLAG_REQUEST : u32 = 1u32 ; pub const REQUEST_OPLOCK_OUTPUT_FLAG_ACK_REQUIRED : u32 = 1u32 ; pub const REQUEST_OPLOCK_OUTPUT_FLAG_MODES_PROVIDED : u32 = 2u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct REQUEST_RAW_ENCRYPTED_DATA { pub FileOffset : i64 , pub Length : u32 } impl REQUEST_RAW_ENCRYPTED_DATA { } impl :: std :: default :: Default for REQUEST_RAW_ENCRYPTED_DATA { fn default ( ) -> Self { Self { FileOffset : 0 , Length : 0 } } } impl :: std :: fmt :: Debug for REQUEST_RAW_ENCRYPTED_DATA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "REQUEST_RAW_ENCRYPTED_DATA" ) . field ( "FileOffset" , & self . FileOffset ) . field ( "Length" , & self . Length ) . finish ( ) } } impl :: std :: cmp :: PartialEq for REQUEST_RAW_ENCRYPTED_DATA { fn eq ( & self , other : & Self ) -> bool { self . FileOffset == other . FileOffset && self . Length == other . Length } } impl :: std :: cmp :: Eq for REQUEST_RAW_ENCRYPTED_DATA { } unsafe impl :: windows :: Abi for REQUEST_RAW_ENCRYPTED_DATA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct RESOURCEMANAGER_BASIC_INFORMATION { pub ResourceManagerId : :: windows :: Guid , pub DescriptionLength : u32 , pub Description : [ u16 ;1 ] } impl RESOURCEMANAGER_BASIC_INFORMATION { } impl :: std :: default :: Default for RESOURCEMANAGER_BASIC_INFORMATION { fn default ( ) -> Self { Self { ResourceManagerId : :: std :: default :: Default :: default ( ) , DescriptionLength : 0 , Description : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for RESOURCEMANAGER_BASIC_INFORMATION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "RESOURCEMANAGER_BASIC_INFORMATION" ) . field ( "ResourceManagerId" , & self . ResourceManagerId ) . field ( "DescriptionLength" , & self . DescriptionLength ) . field ( "Description" , & self . Description ) . finish ( ) } } impl :: std :: cmp :: PartialEq for RESOURCEMANAGER_BASIC_INFORMATION { fn eq ( & self , other : & Self ) -> bool { self . ResourceManagerId == other . ResourceManagerId && self . DescriptionLength == other . DescriptionLength && self . Description == other . Description } } impl :: std :: cmp :: Eq for RESOURCEMANAGER_BASIC_INFORMATION { } unsafe impl :: windows :: Abi for RESOURCEMANAGER_BASIC_INFORMATION { type Abi = Self ; type DefaultType = Self ; } pub const RESOURCEMANAGER_COMPLETE_PROPAGATION : u32 = 64u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct RESOURCEMANAGER_COMPLETION_INFORMATION { pub IoCompletionPortHandle : super::super::Foundation:: HANDLE , pub CompletionKey : usize } impl RESOURCEMANAGER_COMPLETION_INFORMATION { } impl :: std :: default :: Default for RESOURCEMANAGER_COMPLETION_INFORMATION { fn default ( ) -> Self { Self { IoCompletionPortHandle : :: std :: default :: Default :: default ( ) , CompletionKey : 0 } } } impl :: std :: fmt :: Debug for RESOURCEMANAGER_COMPLETION_INFORMATION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "RESOURCEMANAGER_COMPLETION_INFORMATION" ) . field ( "IoCompletionPortHandle" , & self . IoCompletionPortHandle ) . field ( "CompletionKey" , & self . CompletionKey ) . finish ( ) } } impl :: std :: cmp :: PartialEq for RESOURCEMANAGER_COMPLETION_INFORMATION { fn eq ( & self , other : & Self ) -> bool { self . IoCompletionPortHandle == other . IoCompletionPortHandle && self . CompletionKey == other . CompletionKey } } impl :: std :: cmp :: Eq for RESOURCEMANAGER_COMPLETION_INFORMATION { } unsafe impl :: windows :: Abi for RESOURCEMANAGER_COMPLETION_INFORMATION { type Abi = Self ; type DefaultType = Self ; } pub const RESOURCEMANAGER_ENLIST : u32 = 8u32 ; pub const RESOURCEMANAGER_GET_NOTIFICATION : u32 = 16u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct RESOURCEMANAGER_INFORMATION_CLASS ( pub i32 ) ; pub const ResourceManagerBasicInformation : RESOURCEMANAGER_INFORMATION_CLASS = RESOURCEMANAGER_INFORMATION_CLASS ( 0i32 ) ; pub const ResourceManagerCompletionInformation : RESOURCEMANAGER_INFORMATION_CLASS = RESOURCEMANAGER_INFORMATION_CLASS ( 1i32 ) ; impl :: std :: convert :: From < i32 > for RESOURCEMANAGER_INFORMATION_CLASS { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for RESOURCEMANAGER_INFORMATION_CLASS { type Abi = Self ; type DefaultType = Self ; } pub const RESOURCEMANAGER_QUERY_INFORMATION : u32 = 1u32 ; pub const RESOURCEMANAGER_RECOVER : u32 = 4u32 ; pub const RESOURCEMANAGER_REGISTER_PROTOCOL : u32 = 32u32 ; pub const RESOURCEMANAGER_SET_INFORMATION : u32 = 2u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct RESUME_PERFORMANCE { pub PostTimeMs : u32 , pub TotalResumeTimeMs : u64 , pub ResumeCompleteTimestamp : u64 } impl RESUME_PERFORMANCE { } impl :: std :: default :: Default for RESUME_PERFORMANCE { fn default ( ) -> Self { Self { PostTimeMs : 0 , TotalResumeTimeMs : 0 , ResumeCompleteTimestamp : 0 } } } impl :: std :: fmt :: Debug for RESUME_PERFORMANCE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "RESUME_PERFORMANCE" ) . field ( "PostTimeMs" , & self . PostTimeMs ) . field ( "TotalResumeTimeMs" , & self . TotalResumeTimeMs ) . field ( "ResumeCompleteTimestamp" , & self . ResumeCompleteTimestamp ) . finish ( ) } } impl :: std :: cmp :: PartialEq for RESUME_PERFORMANCE { fn eq ( & self , other : & Self ) -> bool { self . PostTimeMs == other . PostTimeMs && self . TotalResumeTimeMs == other . TotalResumeTimeMs && self . ResumeCompleteTimestamp == other . ResumeCompleteTimestamp } } impl :: std :: cmp :: Eq for RESUME_PERFORMANCE { } unsafe impl :: windows :: Abi for RESUME_PERFORMANCE { type Abi = Self ; type DefaultType = Self ; } pub const RETRACT_IEPORT : u32 = 3u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct RETRIEVAL_POINTERS_AND_REFCOUNT_BUFFER { pub ExtentCount : u32 , pub StartingVcn : i64 , pub Extents : [ RETRIEVAL_POINTERS_AND_REFCOUNT_BUFFER_0 ;1 ] } impl RETRIEVAL_POINTERS_AND_REFCOUNT_BUFFER { } impl :: std :: default :: Default for RETRIEVAL_POINTERS_AND_REFCOUNT_BUFFER { fn default ( ) -> Self { Self { ExtentCount : 0 , StartingVcn : 0 , Extents : [ :: std :: default :: Default :: default ( ) ;1 ] } } } impl :: std :: fmt :: Debug for RETRIEVAL_POINTERS_AND_REFCOUNT_BUFFER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "RETRIEVAL_POINTERS_AND_REFCOUNT_BUFFER" ) . field ( "ExtentCount" , & self . ExtentCount ) . field ( "StartingVcn" , & self . StartingVcn ) . field ( "Extents" , & self . Extents ) . finish ( ) } } impl :: std :: cmp :: PartialEq for RETRIEVAL_POINTERS_AND_REFCOUNT_BUFFER { fn eq ( & self , other : & Self ) -> bool { self . ExtentCount == other . ExtentCount && self . StartingVcn == other . StartingVcn && self . Extents == other . Extents } } impl :: std :: cmp :: Eq for RETRIEVAL_POINTERS_AND_REFCOUNT_BUFFER { } unsafe impl :: windows :: Abi for RETRIEVAL_POINTERS_AND_REFCOUNT_BUFFER { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct RETRIEVAL_POINTERS_AND_REFCOUNT_BUFFER_0 { pub NextVcn : i64 , pub Lcn : i64 , pub ReferenceCount : u32 } impl RETRIEVAL_POINTERS_AND_REFCOUNT_BUFFER_0 { } impl :: std :: default :: Default for RETRIEVAL_POINTERS_AND_REFCOUNT_BUFFER_0 { fn default ( ) -> Self { Self { NextVcn : 0 , Lcn : 0 , ReferenceCount : 0 } } } impl :: std :: fmt :: Debug for RETRIEVAL_POINTERS_AND_REFCOUNT_BUFFER_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Anonymous_e__Struct" ) . field ( "NextVcn" , & self . NextVcn ) . field ( "Lcn" , & self . Lcn ) . field ( "ReferenceCount" , & self . ReferenceCount ) . finish ( ) } } impl :: std :: cmp :: PartialEq for RETRIEVAL_POINTERS_AND_REFCOUNT_BUFFER_0 { fn eq ( & self , other : & Self ) -> bool { self . NextVcn == other . NextVcn && self . Lcn == other . Lcn && self . ReferenceCount == other . ReferenceCount } } impl :: std :: cmp :: Eq for RETRIEVAL_POINTERS_AND_REFCOUNT_BUFFER_0 { } unsafe impl :: windows :: Abi for RETRIEVAL_POINTERS_AND_REFCOUNT_BUFFER_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct RETRIEVAL_POINTER_COUNT { pub ExtentCount : u32 } impl RETRIEVAL_POINTER_COUNT { } impl :: std :: default :: Default for RETRIEVAL_POINTER_COUNT { fn default ( ) -> Self { Self { ExtentCount : 0 } } } impl :: std :: fmt :: Debug for RETRIEVAL_POINTER_COUNT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "RETRIEVAL_POINTER_COUNT" ) . field ( "ExtentCount" , & self . ExtentCount ) . finish ( ) } } impl :: std :: cmp :: PartialEq for RETRIEVAL_POINTER_COUNT { fn eq ( & self , other : & Self ) -> bool { self . ExtentCount == other . ExtentCount } } impl :: std :: cmp :: Eq for RETRIEVAL_POINTER_COUNT { } unsafe impl :: windows :: Abi for RETRIEVAL_POINTER_COUNT { type Abi = Self ; type DefaultType = Self ; } pub const RETURN_SMART_STATUS : u32 = 218u32 ; pub const REVISION_LENGTH : u32 = 4u32 ; pub const ROTFLAGS_ALLOWANYCLIENT : u32 = 2u32 ; pub const ROTFLAGS_REGISTRATIONKEEPSALIVE : u32 = 1u32 ; pub const ROT_COMPARE_MAX : u32 = 2048u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct RPC_IMPORT_CONTEXT_P { pub LookupContext : * mut :: std :: ffi :: c_void , pub ProposedHandle : * mut :: std :: ffi :: c_void , pub Bindings : * mut super::Rpc:: RPC_BINDING_VECTOR } impl RPC_IMPORT_CONTEXT_P { } impl :: std :: default :: Default for RPC_IMPORT_CONTEXT_P { fn default ( ) -> Self { Self { LookupContext : :: std :: ptr :: null_mut ( ) , ProposedHandle : :: std :: ptr :: null_mut ( ) , Bindings : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for RPC_IMPORT_CONTEXT_P { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "RPC_IMPORT_CONTEXT_P" ) . field ( "LookupContext" , & self . LookupContext ) . field ( "ProposedHandle" , & self . ProposedHandle ) . field ( "Bindings" , & self . Bindings ) . finish ( ) } } impl :: std :: cmp :: PartialEq for RPC_IMPORT_CONTEXT_P { fn eq ( & self , other : & Self ) -> bool { self . LookupContext == other . LookupContext && self . ProposedHandle == other . ProposedHandle && self . Bindings == other . Bindings } } impl :: std :: cmp :: Eq for RPC_IMPORT_CONTEXT_P { } unsafe impl :: windows :: Abi for RPC_IMPORT_CONTEXT_P { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct RTL_BARRIER { pub Reserved1 : u32 , pub Reserved2 : u32 , pub Reserved3 : [ usize ;2 ] , pub Reserved4 : u32 , pub Reserved5 : u32 } impl RTL_BARRIER { } impl :: std :: default :: Default for RTL_BARRIER { fn default ( ) -> Self { Self { Reserved1 : 0 , Reserved2 : 0 , Reserved3 : [ 0 ;2 ] , Reserved4 : 0 , Reserved5 : 0 } } } impl :: std :: fmt :: Debug for RTL_BARRIER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "RTL_BARRIER" ) . field ( "Reserved1" , & self . Reserved1 ) . field ( "Reserved2" , & self . Reserved2 ) . field ( "Reserved3" , & self . Reserved3 ) . field ( "Reserved4" , & self . Reserved4 ) . field ( "Reserved5" , & self . Reserved5 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for RTL_BARRIER { fn eq ( & self , other : & Self ) -> bool { self . Reserved1 == other . Reserved1 && self . Reserved2 == other . Reserved2 && self . Reserved3 == other . Reserved3 && self . Reserved4 == other . Reserved4 && self . Reserved5 == other . Reserved5 } } impl :: std :: cmp :: Eq for RTL_BARRIER { } unsafe impl :: windows :: Abi for RTL_BARRIER { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct RTL_CONDITION_VARIABLE { pub Ptr : * mut :: std :: ffi :: c_void } impl RTL_CONDITION_VARIABLE { } impl :: std :: default :: Default for RTL_CONDITION_VARIABLE { fn default ( ) -> Self { Self { Ptr : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for RTL_CONDITION_VARIABLE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "RTL_CONDITION_VARIABLE" ) . field ( "Ptr" , & self . Ptr ) . finish ( ) } } impl :: std :: cmp :: PartialEq for RTL_CONDITION_VARIABLE { fn eq ( & self , other : & Self ) -> bool { self . Ptr == other . Ptr } } impl :: std :: cmp :: Eq for RTL_CONDITION_VARIABLE { } unsafe impl :: windows :: Abi for RTL_CONDITION_VARIABLE { type Abi = Self ; type DefaultType = Self ; } pub const RTL_CONDITION_VARIABLE_LOCKMODE_SHARED : u32 = 1u32 ; pub const RTL_CORRELATION_VECTOR_STRING_LENGTH : u32 = 129u32 ; pub const RTL_CORRELATION_VECTOR_V1_LENGTH : u32 = 64u32 ; pub const RTL_CORRELATION_VECTOR_V1_PREFIX_LENGTH : u32 = 16u32 ; pub const RTL_CORRELATION_VECTOR_V2_LENGTH : u32 = 128u32 ; pub const RTL_CORRELATION_VECTOR_V2_PREFIX_LENGTH : u32 = 22u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct RTL_CRITICAL_SECTION { pub DebugInfo : * mut RTL_CRITICAL_SECTION_DEBUG , pub LockCount : i32 , pub RecursionCount : i32 , pub OwningThread : super::super::Foundation:: HANDLE , pub LockSemaphore : super::super::Foundation:: HANDLE , pub SpinCount : usize } impl RTL_CRITICAL_SECTION { } impl :: std :: default :: Default for RTL_CRITICAL_SECTION { fn default ( ) -> Self { Self { DebugInfo : :: std :: ptr :: null_mut ( ) , LockCount : 0 , RecursionCount : 0 , OwningThread : :: std :: default :: Default :: default ( ) , LockSemaphore : :: std :: default :: Default :: default ( ) , SpinCount : 0 } } } impl :: std :: fmt :: Debug for RTL_CRITICAL_SECTION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "RTL_CRITICAL_SECTION" ) . field ( "DebugInfo" , & self . DebugInfo ) . field ( "LockCount" , & self . LockCount ) . field ( "RecursionCount" , & self . RecursionCount ) . field ( "OwningThread" , & self . OwningThread ) . field ( "LockSemaphore" , & self . LockSemaphore ) . field ( "SpinCount" , & self . SpinCount ) . finish ( ) } } impl :: std :: cmp :: PartialEq for RTL_CRITICAL_SECTION { fn eq ( & self , other : & Self ) -> bool { self . DebugInfo == other . DebugInfo && self . LockCount == other . LockCount && self . RecursionCount == other . RecursionCount && self . OwningThread == other . OwningThread && self . LockSemaphore == other . LockSemaphore && self . SpinCount == other . SpinCount } } impl :: std :: cmp :: Eq for RTL_CRITICAL_SECTION { } unsafe impl :: windows :: Abi for RTL_CRITICAL_SECTION { type Abi = Self ; type DefaultType = Self ; } pub const RTL_CRITICAL_SECTION_ALL_FLAG_BITS : u32 = 4278190080u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct RTL_CRITICAL_SECTION_DEBUG { pub Type : u16 , pub CreatorBackTraceIndex : u16 , pub CriticalSection : * mut RTL_CRITICAL_SECTION , pub ProcessLocksList : super::Kernel:: LIST_ENTRY , pub EntryCount : u32 , pub ContentionCount : u32 , pub Flags : u32 , pub CreatorBackTraceIndexHigh : u16 , pub SpareWORD : u16 } impl RTL_CRITICAL_SECTION_DEBUG { } impl :: std :: default :: Default for RTL_CRITICAL_SECTION_DEBUG { fn default ( ) -> Self { Self { Type : 0 , CreatorBackTraceIndex : 0 , CriticalSection : :: std :: ptr :: null_mut ( ) , ProcessLocksList : :: std :: default :: Default :: default ( ) , EntryCount : 0 , ContentionCount : 0 , Flags : 0 , CreatorBackTraceIndexHigh : 0 , SpareWORD : 0 } } } impl :: std :: fmt :: Debug for RTL_CRITICAL_SECTION_DEBUG { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "RTL_CRITICAL_SECTION_DEBUG" ) . field ( "Type" , & self . Type ) . field ( "CreatorBackTraceIndex" , & self . CreatorBackTraceIndex ) . field ( "CriticalSection" , & self . CriticalSection ) . field ( "ProcessLocksList" , & self . ProcessLocksList ) . field ( "EntryCount" , & self . EntryCount ) . field ( "ContentionCount" , & self . ContentionCount ) . field ( "Flags" , & self . Flags ) . field ( "CreatorBackTraceIndexHigh" , & self . CreatorBackTraceIndexHigh ) . field ( "SpareWORD" , & self . SpareWORD ) . finish ( ) } } impl :: std :: cmp :: PartialEq for RTL_CRITICAL_SECTION_DEBUG { fn eq ( & self , other : & Self ) -> bool { self . Type == other . Type && self . CreatorBackTraceIndex == other . CreatorBackTraceIndex && self . CriticalSection == other . CriticalSection && self . ProcessLocksList == other . ProcessLocksList && self . EntryCount == other . EntryCount && self . ContentionCount == other . ContentionCount && self . Flags == other . Flags && self . CreatorBackTraceIndexHigh == other . CreatorBackTraceIndexHigh && self . SpareWORD == other . SpareWORD } } impl :: std :: cmp :: Eq for RTL_CRITICAL_SECTION_DEBUG { } unsafe impl :: windows :: Abi for RTL_CRITICAL_SECTION_DEBUG { type Abi = Self ; type DefaultType = Self ; } pub const RTL_CRITICAL_SECTION_DEBUG_FLAG_STATIC_INIT : u32 = 1u32 ; pub const RTL_CRITICAL_SECTION_FLAG_DYNAMIC_SPIN : u32 = 33554432u32 ; pub const RTL_CRITICAL_SECTION_FLAG_FORCE_DEBUG_INFO : u32 = 268435456u32 ; pub const RTL_CRITICAL_SECTION_FLAG_NO_DEBUG_INFO : u32 = 16777216u32 ; pub const RTL_CRITICAL_SECTION_FLAG_RESOURCE_TYPE : u32 = 134217728u32 ; pub const RTL_CRITICAL_SECTION_FLAG_STATIC_INIT : u32 = 67108864u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union RTL_RUN_ONCE { pub Ptr : * mut :: std :: ffi :: c_void } impl RTL_RUN_ONCE { } impl :: std :: cmp :: PartialEq for RTL_RUN_ONCE { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for RTL_RUN_ONCE { } unsafe impl :: windows :: Abi for RTL_RUN_ONCE { type Abi = Self ; type DefaultType = Self ; } pub const RTL_RUN_ONCE_ASYNC : u32 = 2u32 ; pub const RTL_RUN_ONCE_CHECK_ONLY : u32 = 1u32 ; pub const RTL_RUN_ONCE_CTX_RESERVED_BITS : u32 = 2u32 ; pub const RTL_RUN_ONCE_INIT_FAILED : u32 = 4u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct RTL_SRWLOCK { pub Ptr : * mut :: std :: ffi :: c_void } impl RTL_SRWLOCK { } impl :: std :: default :: Default for RTL_SRWLOCK { fn default ( ) -> Self { Self { Ptr : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for RTL_SRWLOCK { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "RTL_SRWLOCK" ) . field ( "Ptr" , & self . Ptr ) . finish ( ) } } impl :: std :: cmp :: PartialEq for RTL_SRWLOCK { fn eq ( & self , other : & Self ) -> bool { self . Ptr == other . Ptr } } impl :: std :: cmp :: Eq for RTL_SRWLOCK { } unsafe impl :: windows :: Abi for RTL_SRWLOCK { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct RTL_UMS_SCHEDULER_REASON ( pub i32 ) ; pub const UmsSchedulerStartup : RTL_UMS_SCHEDULER_REASON = RTL_UMS_SCHEDULER_REASON ( 0i32 ) ; pub const UmsSchedulerThreadBlocked : RTL_UMS_SCHEDULER_REASON = RTL_UMS_SCHEDULER_REASON ( 1i32 ) ; pub const UmsSchedulerThreadYield : RTL_UMS_SCHEDULER_REASON = RTL_UMS_SCHEDULER_REASON ( 2i32 ) ; impl :: std :: convert :: From < i32 > for RTL_UMS_SCHEDULER_REASON { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for RTL_UMS_SCHEDULER_REASON { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct RTL_UMS_THREAD_INFO_CLASS ( pub i32 ) ; pub const UmsThreadInvalidInfoClass : RTL_UMS_THREAD_INFO_CLASS = RTL_UMS_THREAD_INFO_CLASS ( 0i32 ) ; pub const UmsThreadUserContext : RTL_UMS_THREAD_INFO_CLASS = RTL_UMS_THREAD_INFO_CLASS ( 1i32 ) ; pub const UmsThreadPriority : RTL_UMS_THREAD_INFO_CLASS = RTL_UMS_THREAD_INFO_CLASS ( 2i32 ) ; pub const UmsThreadAffinity : RTL_UMS_THREAD_INFO_CLASS = RTL_UMS_THREAD_INFO_CLASS ( 3i32 ) ; pub const UmsThreadTeb : RTL_UMS_THREAD_INFO_CLASS = RTL_UMS_THREAD_INFO_CLASS ( 4i32 ) ; pub const UmsThreadIsSuspended : RTL_UMS_THREAD_INFO_CLASS = RTL_UMS_THREAD_INFO_CLASS ( 5i32 ) ; pub const UmsThreadIsTerminated : RTL_UMS_THREAD_INFO_CLASS = RTL_UMS_THREAD_INFO_CLASS ( 6i32 ) ; pub const UmsThreadMaxInfoClass : RTL_UMS_THREAD_INFO_CLASS = RTL_UMS_THREAD_INFO_CLASS ( 7i32 ) ; impl :: std :: convert :: From < i32 > for RTL_UMS_THREAD_INFO_CLASS { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for RTL_UMS_THREAD_INFO_CLASS { type Abi = Self ; type DefaultType = Self ; } pub const RTL_UMS_VERSION : u32 = 256u32 ; pub const RUNTIME_FUNCTION_INDIRECT : u32 = 1u32 ; pub unsafe fn RegisterDeviceNotificationA < 'a , > ( hrecipient : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , notificationfilter : * mut :: std :: ffi :: c_void , flags : super::Power:: POWER_SETTING_REGISTER_NOTIFICATION_FLAGS , ) -> * mut :: std :: ffi :: c_void { # [ cfg ( windows ) ] { # [ link ( name ="USER32" ) ] extern "system" { fn RegisterDeviceNotificationA ( hrecipient : super::super::Foundation:: HANDLE , notificationfilter : * mut :: std :: ffi :: c_void , flags : super::Power:: POWER_SETTING_REGISTER_NOTIFICATION_FLAGS ) -> * mut :: std :: ffi :: c_void ; } RegisterDeviceNotificationA ( hrecipient . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( notificationfilter ) , :: std :: mem :: transmute ( flags ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn RegisterDeviceNotificationW < 'a , > ( hrecipient : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , notificationfilter : * mut :: std :: ffi :: c_void , flags : super::Power:: POWER_SETTING_REGISTER_NOTIFICATION_FLAGS , ) -> * mut :: std :: ffi :: c_void { # [ cfg ( windows ) ] { # [ link ( name ="USER32" ) ] extern "system" { fn RegisterDeviceNotificationW ( hrecipient : super::super::Foundation:: HANDLE , notificationfilter : * mut :: std :: ffi :: c_void , flags : super::Power:: POWER_SETTING_REGISTER_NOTIFICATION_FLAGS ) -> * mut :: std :: ffi :: c_void ; } RegisterDeviceNotificationW ( hrecipient . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( notificationfilter ) , :: std :: mem :: transmute ( flags ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct RemBRUSH { pub cbData : u32 , pub data : [ u8 ;1 ] } impl RemBRUSH { } impl :: std :: default :: Default for RemBRUSH { fn default ( ) -> Self { Self { cbData : 0 , data : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for RemBRUSH { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "RemBRUSH" ) . field ( "cbData" , & self . cbData ) . field ( "data" , & self . data ) . finish ( ) } } impl :: std :: cmp :: PartialEq for RemBRUSH { fn eq ( & self , other : & Self ) -> bool { self . cbData == other . cbData && self . data == other . data } } impl :: std :: cmp :: Eq for RemBRUSH { } unsafe impl :: windows :: Abi for RemBRUSH { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct RemHBITMAP { pub cbData : u32 , pub data : [ u8 ;1 ] } impl RemHBITMAP { } impl :: std :: default :: Default for RemHBITMAP { fn default ( ) -> Self { Self { cbData : 0 , data : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for RemHBITMAP { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "RemHBITMAP" ) . field ( "cbData" , & self . cbData ) . field ( "data" , & self . data ) . finish ( ) } } impl :: std :: cmp :: PartialEq for RemHBITMAP { fn eq ( & self , other : & Self ) -> bool { self . cbData == other . cbData && self . data == other . data } } impl :: std :: cmp :: Eq for RemHBITMAP { } unsafe impl :: windows :: Abi for RemHBITMAP { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct RemHENHMETAFILE { pub cbData : u32 , pub data : [ u8 ;1 ] } impl RemHENHMETAFILE { } impl :: std :: default :: Default for RemHENHMETAFILE { fn default ( ) -> Self { Self { cbData : 0 , data : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for RemHENHMETAFILE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "RemHENHMETAFILE" ) . field ( "cbData" , & self . cbData ) . field ( "data" , & self . data ) . finish ( ) } } impl :: std :: cmp :: PartialEq for RemHENHMETAFILE { fn eq ( & self , other : & Self ) -> bool { self . cbData == other . cbData && self . data == other . data } } impl :: std :: cmp :: Eq for RemHENHMETAFILE { } unsafe impl :: windows :: Abi for RemHENHMETAFILE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct RemHGLOBAL { pub fNullHGlobal : i32 , pub cbData : u32 , pub data : [ u8 ;1 ] } impl RemHGLOBAL { } impl :: std :: default :: Default for RemHGLOBAL { fn default ( ) -> Self { Self { fNullHGlobal : 0 , cbData : 0 , data : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for RemHGLOBAL { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "RemHGLOBAL" ) . field ( "fNullHGlobal" , & self . fNullHGlobal ) . field ( "cbData" , & self . cbData ) . field ( "data" , & self . data ) . finish ( ) } } impl :: std :: cmp :: PartialEq for RemHGLOBAL { fn eq ( & self , other : & Self ) -> bool { self . fNullHGlobal == other . fNullHGlobal && self . cbData == other . cbData && self . data == other . data } } impl :: std :: cmp :: Eq for RemHGLOBAL { } unsafe impl :: windows :: Abi for RemHGLOBAL { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct RemHMETAFILEPICT { pub mm : i32 , pub xExt : i32 , pub yExt : i32 , pub cbData : u32 , pub data : [ u8 ;1 ] } impl RemHMETAFILEPICT { } impl :: std :: default :: Default for RemHMETAFILEPICT { fn default ( ) -> Self { Self { mm : 0 , xExt : 0 , yExt : 0 , cbData : 0 , data : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for RemHMETAFILEPICT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "RemHMETAFILEPICT" ) . field ( "mm" , & self . mm ) . field ( "xExt" , & self . xExt ) . field ( "yExt" , & self . yExt ) . field ( "cbData" , & self . cbData ) . field ( "data" , & self . data ) . finish ( ) } } impl :: std :: cmp :: PartialEq for RemHMETAFILEPICT { fn eq ( & self , other : & Self ) -> bool { self . mm == other . mm && self . xExt == other . xExt && self . yExt == other . yExt && self . cbData == other . cbData && self . data == other . data } } impl :: std :: cmp :: Eq for RemHMETAFILEPICT { } unsafe impl :: windows :: Abi for RemHMETAFILEPICT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct RemHPALETTE { pub cbData : u32 , pub data : [ u8 ;1 ] } impl RemHPALETTE { } impl :: std :: default :: Default for RemHPALETTE { fn default ( ) -> Self { Self { cbData : 0 , data : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for RemHPALETTE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "RemHPALETTE" ) . field ( "cbData" , & self . cbData ) . field ( "data" , & self . data ) . finish ( ) } } impl :: std :: cmp :: PartialEq for RemHPALETTE { fn eq ( & self , other : & Self ) -> bool { self . cbData == other . cbData && self . data == other . data } } impl :: std :: cmp :: Eq for RemHPALETTE { } unsafe impl :: windows :: Abi for RemHPALETTE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct RemotableHandle { pub fContext : i32 , pub u : RemotableHandle_0 } impl RemotableHandle { } impl :: std :: cmp :: PartialEq for RemotableHandle { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for RemotableHandle { } unsafe impl :: windows :: Abi for RemotableHandle { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union RemotableHandle_0 { pub hInproc : i32 , pub hRemote : i32 } impl RemotableHandle_0 { } impl :: std :: cmp :: PartialEq for RemotableHandle_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for RemotableHandle_0 { } unsafe impl :: windows :: Abi for RemotableHandle_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct ReplacesCorHdrNumericDefines ( pub i32 ) ; pub const COMIMAGE_FLAGS_ILONLY : ReplacesCorHdrNumericDefines = ReplacesCorHdrNumericDefines ( 1i32 ) ; pub const COMIMAGE_FLAGS_32BITREQUIRED : ReplacesCorHdrNumericDefines = ReplacesCorHdrNumericDefines ( 2i32 ) ; pub const COMIMAGE_FLAGS_IL_LIBRARY : ReplacesCorHdrNumericDefines = ReplacesCorHdrNumericDefines ( 4i32 ) ; pub const COMIMAGE_FLAGS_STRONGNAMESIGNED : ReplacesCorHdrNumericDefines = ReplacesCorHdrNumericDefines ( 8i32 ) ; pub const COMIMAGE_FLAGS_NATIVE_ENTRYPOINT : ReplacesCorHdrNumericDefines = ReplacesCorHdrNumericDefines ( 16i32 ) ; pub const COMIMAGE_FLAGS_TRACKDEBUGDATA : ReplacesCorHdrNumericDefines = ReplacesCorHdrNumericDefines ( 65536i32 ) ; pub const COMIMAGE_FLAGS_32BITPREFERRED : ReplacesCorHdrNumericDefines = ReplacesCorHdrNumericDefines ( 131072i32 ) ; pub const COR_VERSION_MAJOR_V2 : ReplacesCorHdrNumericDefines = ReplacesCorHdrNumericDefines ( 2i32 ) ; pub const COR_VERSION_MAJOR : ReplacesCorHdrNumericDefines = ReplacesCorHdrNumericDefines ( 2i32 ) ; pub const COR_VERSION_MINOR : ReplacesCorHdrNumericDefines = ReplacesCorHdrNumericDefines ( 5i32 ) ; pub const COR_DELETED_NAME_LENGTH : ReplacesCorHdrNumericDefines = ReplacesCorHdrNumericDefines ( 8i32 ) ; pub const COR_VTABLEGAP_NAME_LENGTH : ReplacesCorHdrNumericDefines = ReplacesCorHdrNumericDefines ( 8i32 ) ; pub const NATIVE_TYPE_MAX_CB : ReplacesCorHdrNumericDefines = ReplacesCorHdrNumericDefines ( 1i32 ) ; pub const COR_ILMETHOD_SECT_SMALL_MAX_DATASIZE : ReplacesCorHdrNumericDefines = ReplacesCorHdrNumericDefines ( 255i32 ) ; pub const IMAGE_COR_MIH_METHODRVA : ReplacesCorHdrNumericDefines = ReplacesCorHdrNumericDefines ( 1i32 ) ; pub const IMAGE_COR_MIH_EHRVA : ReplacesCorHdrNumericDefines = ReplacesCorHdrNumericDefines ( 2i32 ) ; pub const IMAGE_COR_MIH_BASICBLOCK : ReplacesCorHdrNumericDefines = ReplacesCorHdrNumericDefines ( 8i32 ) ; pub const COR_VTABLE_32BIT : ReplacesCorHdrNumericDefines = ReplacesCorHdrNumericDefines ( 1i32 ) ; pub const COR_VTABLE_64BIT : ReplacesCorHdrNumericDefines = ReplacesCorHdrNumericDefines ( 2i32 ) ; pub const COR_VTABLE_FROM_UNMANAGED : ReplacesCorHdrNumericDefines = ReplacesCorHdrNumericDefines ( 4i32 ) ; pub const COR_VTABLE_FROM_UNMANAGED_RETAIN_APPDOMAIN : ReplacesCorHdrNumericDefines = ReplacesCorHdrNumericDefines ( 8i32 ) ; pub const COR_VTABLE_CALL_MOST_DERIVED : ReplacesCorHdrNumericDefines = ReplacesCorHdrNumericDefines ( 16i32 ) ; pub const IMAGE_COR_EATJ_THUNK_SIZE : ReplacesCorHdrNumericDefines = ReplacesCorHdrNumericDefines ( 32i32 ) ; pub const MAX_CLASS_NAME : ReplacesCorHdrNumericDefines = ReplacesCorHdrNumericDefines ( 1024i32 ) ; pub const MAX_PACKAGE_NAME : ReplacesCorHdrNumericDefines = ReplacesCorHdrNumericDefines ( 1024i32 ) ; impl :: std :: convert :: From < i32 > for ReplacesCorHdrNumericDefines { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for ReplacesCorHdrNumericDefines { type Abi = Self ; type DefaultType = Self ; } pub unsafe fn RtlCompareMemory < > ( source1 : * const :: std :: ffi :: c_void , source2 : * const :: std :: ffi :: c_void , length : usize , ) -> usize { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn RtlCompareMemory ( source1 : * const :: std :: ffi :: c_void , source2 : * const :: std :: ffi :: c_void , length : usize ) -> usize ; } RtlCompareMemory ( :: std :: mem :: transmute ( source1 ) , :: std :: mem :: transmute ( source2 ) , :: std :: mem :: transmute ( length ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn RtlConvertDeviceFamilyInfoToString < > ( puldevicefamilybuffersize : * mut u32 , puldeviceformbuffersize : * mut u32 , devicefamily : super::super::Foundation:: PWSTR , deviceform : super::super::Foundation:: PWSTR , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="ntdll" ) ] extern "system" { fn RtlConvertDeviceFamilyInfoToString ( puldevicefamilybuffersize : * mut u32 , puldeviceformbuffersize : * mut u32 , devicefamily : super::super::Foundation:: PWSTR , deviceform : super::super::Foundation:: PWSTR ) -> u32 ; } RtlConvertDeviceFamilyInfoToString ( :: std :: mem :: transmute ( puldevicefamilybuffersize ) , :: std :: mem :: transmute ( puldeviceformbuffersize ) , :: std :: mem :: transmute ( devicefamily ) , :: std :: mem :: transmute ( deviceform ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn RtlCrc32 < > ( buffer : * const :: std :: ffi :: c_void , size : usize , initialcrc : u32 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="ntdll" ) ] extern "system" { fn RtlCrc32 ( buffer : * const :: std :: ffi :: c_void , size : usize , initialcrc : u32 ) -> u32 ; } RtlCrc32 ( :: std :: mem :: transmute ( buffer ) , :: std :: mem :: transmute ( size ) , :: std :: mem :: transmute ( initialcrc ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn RtlCrc64 < > ( buffer : * const :: std :: ffi :: c_void , size : usize , initialcrc : u64 , ) -> u64 { # [ cfg ( windows ) ] { # [ link ( name ="ntdll" ) ] extern "system" { fn RtlCrc64 ( buffer : * const :: std :: ffi :: c_void , size : usize , initialcrc : u64 ) -> u64 ; } RtlCrc64 ( :: std :: mem :: transmute ( buffer ) , :: std :: mem :: transmute ( size ) , :: std :: mem :: transmute ( initialcrc ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn RtlDrainNonVolatileFlush < > ( nvtoken : * mut :: std :: ffi :: c_void , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="ntdll" ) ] extern "system" { fn RtlDrainNonVolatileFlush ( nvtoken : * mut :: std :: ffi :: c_void ) -> u32 ; } RtlDrainNonVolatileFlush ( :: std :: mem :: transmute ( nvtoken ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn RtlExtendCorrelationVector < > ( correlationvector : * mut CORRELATION_VECTOR , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="ntdll" ) ] extern "system" { fn RtlExtendCorrelationVector ( correlationvector : * mut CORRELATION_VECTOR ) -> u32 ; } RtlExtendCorrelationVector ( :: std :: mem :: transmute ( correlationvector ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn RtlFillNonVolatileMemory < > ( nvtoken : * mut :: std :: ffi :: c_void , nvdestination : * mut :: std :: ffi :: c_void , size : usize , value : u8 , flags : u32 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="ntdll" ) ] extern "system" { fn RtlFillNonVolatileMemory ( nvtoken : * mut :: std :: ffi :: c_void , nvdestination : * mut :: std :: ffi :: c_void , size : usize , value : u8 , flags : u32 ) -> u32 ; } RtlFillNonVolatileMemory ( :: std :: mem :: transmute ( nvtoken ) , :: std :: mem :: transmute ( nvdestination ) , :: std :: mem :: transmute ( size ) , :: std :: mem :: transmute ( value ) , :: std :: mem :: transmute ( flags ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn RtlFirstEntrySList < > ( listhead : * const super::Kernel:: SLIST_HEADER , ) -> * mut super::Kernel:: SLIST_ENTRY { # [ cfg ( windows ) ] { # [ link ( name ="ntdll" ) ] extern "system" { fn RtlFirstEntrySList ( listhead : * const super::Kernel:: SLIST_HEADER ) -> * mut super::Kernel:: SLIST_ENTRY ; } RtlFirstEntrySList ( :: std :: mem :: transmute ( listhead ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn RtlFlushNonVolatileMemory < > ( nvtoken : * mut :: std :: ffi :: c_void , nvbuffer : * mut :: std :: ffi :: c_void , size : usize , flags : u32 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="ntdll" ) ] extern "system" { fn RtlFlushNonVolatileMemory ( nvtoken : * mut :: std :: ffi :: c_void , nvbuffer : * mut :: std :: ffi :: c_void , size : usize , flags : u32 ) -> u32 ; } RtlFlushNonVolatileMemory ( :: std :: mem :: transmute ( nvtoken ) , :: std :: mem :: transmute ( nvbuffer ) , :: std :: mem :: transmute ( size ) , :: std :: mem :: transmute ( flags ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn RtlFlushNonVolatileMemoryRanges < > ( nvtoken : * mut :: std :: ffi :: c_void , nvranges : * mut NV_MEMORY_RANGE , numranges : usize , flags : u32 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="ntdll" ) ] extern "system" { fn RtlFlushNonVolatileMemoryRanges ( nvtoken : * mut :: std :: ffi :: c_void , nvranges : * mut NV_MEMORY_RANGE , numranges : usize , flags : u32 ) -> u32 ; } RtlFlushNonVolatileMemoryRanges ( :: std :: mem :: transmute ( nvtoken ) , :: std :: mem :: transmute ( nvranges ) , :: std :: mem :: transmute ( numranges ) , :: std :: mem :: transmute ( flags ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn RtlFreeNonVolatileToken < > ( nvtoken : * mut :: std :: ffi :: c_void , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="ntdll" ) ] extern "system" { fn RtlFreeNonVolatileToken ( nvtoken : * mut :: std :: ffi :: c_void ) -> u32 ; } RtlFreeNonVolatileToken ( :: std :: mem :: transmute ( nvtoken ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn RtlGetDeviceFamilyInfoEnum < > ( pulluapinfo : * mut u64 , puldevicefamily : * mut u32 , puldeviceform : * mut u32 , ) { # [ cfg ( windows ) ] { # [ link ( name ="ntdll" ) ] extern "system" { fn RtlGetDeviceFamilyInfoEnum ( pulluapinfo : * mut u64 , puldevicefamily : * mut u32 , puldeviceform : * mut u32 ) ; } RtlGetDeviceFamilyInfoEnum ( :: std :: mem :: transmute ( pulluapinfo ) , :: std :: mem :: transmute ( puldevicefamily ) , :: std :: mem :: transmute ( puldeviceform ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn RtlGetNonVolatileToken < > ( nvbuffer : * mut :: std :: ffi :: c_void , size : usize , nvtoken : * mut * mut :: std :: ffi :: c_void , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="ntdll" ) ] extern "system" { fn RtlGetNonVolatileToken ( nvbuffer : * mut :: std :: ffi :: c_void , size : usize , nvtoken : * mut * mut :: std :: ffi :: c_void ) -> u32 ; } RtlGetNonVolatileToken ( :: std :: mem :: transmute ( nvbuffer ) , :: std :: mem :: transmute ( size ) , :: std :: mem :: transmute ( nvtoken ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn RtlGetProductInfo < > ( osmajorversion : u32 , osminorversion : u32 , spmajorversion : u32 , spminorversion : u32 , returnedproducttype : * mut u32 , ) -> u8 { # [ cfg ( windows ) ] { # [ link ( name ="ntdll" ) ] extern "system" { fn RtlGetProductInfo ( osmajorversion : u32 , osminorversion : u32 , spmajorversion : u32 , spminorversion : u32 , returnedproducttype : * mut u32 ) -> u8 ; } RtlGetProductInfo ( :: std :: mem :: transmute ( osmajorversion ) , :: std :: mem :: transmute ( osminorversion ) , :: std :: mem :: transmute ( spmajorversion ) , :: std :: mem :: transmute ( spminorversion ) , :: std :: mem :: transmute ( returnedproducttype ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn RtlGetReturnAddressHijackTarget < > ( ) -> usize { # [ cfg ( windows ) ] { # [ link ( name ="ntdll" ) ] extern "system" { fn RtlGetReturnAddressHijackTarget ( ) -> usize ; } RtlGetReturnAddressHijackTarget ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn RtlIncrementCorrelationVector < > ( correlationvector : * mut CORRELATION_VECTOR , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="ntdll" ) ] extern "system" { fn RtlIncrementCorrelationVector ( correlationvector : * mut CORRELATION_VECTOR ) -> u32 ; } RtlIncrementCorrelationVector ( :: std :: mem :: transmute ( correlationvector ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn RtlInitializeCorrelationVector < > ( correlationvector : * mut CORRELATION_VECTOR , version : i32 , guid : * const :: windows :: Guid , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="ntdll" ) ] extern "system" { fn RtlInitializeCorrelationVector ( correlationvector : * mut CORRELATION_VECTOR , version : i32 , guid : * const :: windows :: Guid ) -> u32 ; } RtlInitializeCorrelationVector ( :: std :: mem :: transmute ( correlationvector ) , :: std :: mem :: transmute ( version ) , :: std :: mem :: transmute ( guid ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn RtlInitializeSListHead < > ( listhead : * mut super::Kernel:: SLIST_HEADER , ) { # [ cfg ( windows ) ] { # [ link ( name ="ntdll" ) ] extern "system" { fn RtlInitializeSListHead ( listhead : * mut super::Kernel:: SLIST_HEADER ) ; } RtlInitializeSListHead ( :: std :: mem :: transmute ( listhead ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn RtlInterlockedFlushSList < > ( listhead : * mut super::Kernel:: SLIST_HEADER , ) -> * mut super::Kernel:: SLIST_ENTRY { # [ cfg ( windows ) ] { # [ link ( name ="ntdll" ) ] extern "system" { fn RtlInterlockedFlushSList ( listhead : * mut super::Kernel:: SLIST_HEADER ) -> * mut super::Kernel:: SLIST_ENTRY ; } RtlInterlockedFlushSList ( :: std :: mem :: transmute ( listhead ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn RtlInterlockedPopEntrySList < > ( listhead : * mut super::Kernel:: SLIST_HEADER , ) -> * mut super::Kernel:: SLIST_ENTRY { # [ cfg ( windows ) ] { # [ link ( name ="ntdll" ) ] extern "system" { fn RtlInterlockedPopEntrySList ( listhead : * mut super::Kernel:: SLIST_HEADER ) -> * mut super::Kernel:: SLIST_ENTRY ; } RtlInterlockedPopEntrySList ( :: std :: mem :: transmute ( listhead ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn RtlInterlockedPushEntrySList < > ( listhead : * mut super::Kernel:: SLIST_HEADER , listentry : * mut super::Kernel:: SLIST_ENTRY , ) -> * mut super::Kernel:: SLIST_ENTRY { # [ cfg ( windows ) ] { # [ link ( name ="ntdll" ) ] extern "system" { fn RtlInterlockedPushEntrySList ( listhead : * mut super::Kernel:: SLIST_HEADER , listentry : * mut super::Kernel:: SLIST_ENTRY ) -> * mut super::Kernel:: SLIST_ENTRY ; } RtlInterlockedPushEntrySList ( :: std :: mem :: transmute ( listhead ) , :: std :: mem :: transmute ( listentry ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn RtlInterlockedPushListSListEx < > ( listhead : * mut super::Kernel:: SLIST_HEADER , list : * mut super::Kernel:: SLIST_ENTRY , listend : * mut super::Kernel:: SLIST_ENTRY , count : u32 , ) -> * mut super::Kernel:: SLIST_ENTRY { # [ cfg ( windows ) ] { # [ link ( name ="ntdll" ) ] extern "system" { fn RtlInterlockedPushListSListEx ( listhead : * mut super::Kernel:: SLIST_HEADER , list : * mut super::Kernel:: SLIST_ENTRY , listend : * mut super::Kernel:: SLIST_ENTRY , count : u32 ) -> * mut super::Kernel:: SLIST_ENTRY ; } RtlInterlockedPushListSListEx ( :: std :: mem :: transmute ( listhead ) , :: std :: mem :: transmute ( list ) , :: std :: mem :: transmute ( listend ) , :: std :: mem :: transmute ( count ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn RtlIsZeroMemory < > ( buffer : * mut :: std :: ffi :: c_void , length : usize , ) -> u8 { # [ cfg ( windows ) ] { # [ link ( name ="ntdll" ) ] extern "system" { fn RtlIsZeroMemory ( buffer : * mut :: std :: ffi :: c_void , length : usize ) -> u8 ; } RtlIsZeroMemory ( :: std :: mem :: transmute ( buffer ) , :: std :: mem :: transmute ( length ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn RtlNormalizeSecurityDescriptor < > ( securitydescriptor : * mut * mut super::super::Security:: SECURITY_DESCRIPTOR , securitydescriptorlength : u32 , newsecuritydescriptor : * mut * mut super::super::Security:: SECURITY_DESCRIPTOR , newsecuritydescriptorlength : * mut u32 , checkonly : u8 , ) -> u8 { # [ cfg ( windows ) ] { # [ link ( name ="ntdll" ) ] extern "system" { fn RtlNormalizeSecurityDescriptor ( securitydescriptor : * mut * mut super::super::Security:: SECURITY_DESCRIPTOR , securitydescriptorlength : u32 , newsecuritydescriptor : * mut * mut super::super::Security:: SECURITY_DESCRIPTOR , newsecuritydescriptorlength : * mut u32 , checkonly : u8 ) -> u8 ; } RtlNormalizeSecurityDescriptor ( :: std :: mem :: transmute ( securitydescriptor ) , :: std :: mem :: transmute ( securitydescriptorlength ) , :: std :: mem :: transmute ( newsecuritydescriptor ) , :: std :: mem :: transmute ( newsecuritydescriptorlength ) , :: std :: mem :: transmute ( checkonly ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn RtlOsDeploymentState < > ( flags : u32 , ) -> OS_DEPLOYEMENT_STATE_VALUES { # [ cfg ( windows ) ] { # [ link ( name ="ntdll" ) ] extern "system" { fn RtlOsDeploymentState ( flags : u32 ) -> OS_DEPLOYEMENT_STATE_VALUES ; } RtlOsDeploymentState ( :: std :: mem :: transmute ( flags ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn RtlQueryDepthSList < > ( listhead : * mut super::Kernel:: SLIST_HEADER , ) -> u16 { # [ cfg ( windows ) ] { # [ link ( name ="ntdll" ) ] extern "system" { fn RtlQueryDepthSList ( listhead : * mut super::Kernel:: SLIST_HEADER ) -> u16 ; } RtlQueryDepthSList ( :: std :: mem :: transmute ( listhead ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn RtlRaiseCustomSystemEventTrigger < > ( triggerconfig : * mut CUSTOM_SYSTEM_EVENT_TRIGGER_CONFIG , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="ntdll" ) ] extern "system" { fn RtlRaiseCustomSystemEventTrigger ( triggerconfig : * mut CUSTOM_SYSTEM_EVENT_TRIGGER_CONFIG ) -> u32 ; } RtlRaiseCustomSystemEventTrigger ( :: std :: mem :: transmute ( triggerconfig ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn RtlRaiseException < > ( exceptionrecord : * mut super::Diagnostics::Debug:: EXCEPTION_RECORD , ) { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn RtlRaiseException ( exceptionrecord : * mut super::Diagnostics::Debug:: EXCEPTION_RECORD ) ; } RtlRaiseException ( :: std :: mem :: transmute ( exceptionrecord ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn RtlSwitchedVVI < > ( versioninfo : * mut super::SystemInformation:: OSVERSIONINFOEXW , typemask : u32 , conditionmask : u64 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="ntdll" ) ] extern "system" { fn RtlSwitchedVVI ( versioninfo : * mut super::SystemInformation:: OSVERSIONINFOEXW , typemask : u32 , conditionmask : u64 ) -> u32 ; } RtlSwitchedVVI ( :: std :: mem :: transmute ( versioninfo ) , :: std :: mem :: transmute ( typemask ) , :: std :: mem :: transmute ( conditionmask ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn RtlValidateCorrelationVector < > ( vector : * mut CORRELATION_VECTOR , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="ntdll" ) ] extern "system" { fn RtlValidateCorrelationVector ( vector : * mut CORRELATION_VECTOR ) -> u32 ; } RtlValidateCorrelationVector ( :: std :: mem :: transmute ( vector ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn RtlWriteNonVolatileMemory < > ( nvtoken : * mut :: std :: ffi :: c_void , nvdestination : * mut :: std :: ffi :: c_void , source : * const :: std :: ffi :: c_void , size : usize , flags : u32 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="ntdll" ) ] extern "system" { fn RtlWriteNonVolatileMemory ( nvtoken : * mut :: std :: ffi :: c_void , nvdestination : * mut :: std :: ffi :: c_void , source : * const :: std :: ffi :: c_void , size : usize , flags : u32 ) -> u32 ; } RtlWriteNonVolatileMemory ( :: std :: mem :: transmute ( nvtoken ) , :: std :: mem :: transmute ( nvdestination ) , :: std :: mem :: transmute ( source ) , :: std :: mem :: transmute ( size ) , :: std :: mem :: transmute ( flags ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub const SAVE_ATTRIBUTE_VALUES : u32 = 211u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SCM_INTERLEAVED_PD_INFO { pub DeviceHandle : u32 , pub DeviceGuid : :: windows :: Guid } impl SCM_INTERLEAVED_PD_INFO { } impl :: std :: default :: Default for SCM_INTERLEAVED_PD_INFO { fn default ( ) -> Self { Self { DeviceHandle : 0 , DeviceGuid : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for SCM_INTERLEAVED_PD_INFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SCM_INTERLEAVED_PD_INFO" ) . field ( "DeviceHandle" , & self . DeviceHandle ) . field ( "DeviceGuid" , & self . DeviceGuid ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SCM_INTERLEAVED_PD_INFO { fn eq ( & self , other : & Self ) -> bool { self . DeviceHandle == other . DeviceHandle && self . DeviceGuid == other . DeviceGuid } } impl :: std :: cmp :: Eq for SCM_INTERLEAVED_PD_INFO { } unsafe impl :: windows :: Abi for SCM_INTERLEAVED_PD_INFO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SCM_LD_INTERLEAVE_SET_INFO { pub Version : u32 , pub Size : u32 , pub InterleaveSetSize : u32 , pub InterleaveSet : [ SCM_INTERLEAVED_PD_INFO ;1 ] } impl SCM_LD_INTERLEAVE_SET_INFO { } impl :: std :: default :: Default for SCM_LD_INTERLEAVE_SET_INFO { fn default ( ) -> Self { Self { Version : 0 , Size : 0 , InterleaveSetSize : 0 , InterleaveSet : [ :: std :: default :: Default :: default ( ) ;1 ] } } } impl :: std :: fmt :: Debug for SCM_LD_INTERLEAVE_SET_INFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SCM_LD_INTERLEAVE_SET_INFO" ) . field ( "Version" , & self . Version ) . field ( "Size" , & self . Size ) . field ( "InterleaveSetSize" , & self . InterleaveSetSize ) . field ( "InterleaveSet" , & self . InterleaveSet ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SCM_LD_INTERLEAVE_SET_INFO { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Size == other . Size && self . InterleaveSetSize == other . InterleaveSetSize && self . InterleaveSet == other . InterleaveSet } } impl :: std :: cmp :: Eq for SCM_LD_INTERLEAVE_SET_INFO { } unsafe impl :: windows :: Abi for SCM_LD_INTERLEAVE_SET_INFO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SCM_LOGICAL_DEVICES { pub Version : u32 , pub Size : u32 , pub DeviceCount : u32 , pub Devices : [ SCM_LOGICAL_DEVICE_INSTANCE ;1 ] } impl SCM_LOGICAL_DEVICES { } impl :: std :: default :: Default for SCM_LOGICAL_DEVICES { fn default ( ) -> Self { Self { Version : 0 , Size : 0 , DeviceCount : 0 , Devices : [ :: std :: default :: Default :: default ( ) ;1 ] } } } impl :: std :: fmt :: Debug for SCM_LOGICAL_DEVICES { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SCM_LOGICAL_DEVICES" ) . field ( "Version" , & self . Version ) . field ( "Size" , & self . Size ) . field ( "DeviceCount" , & self . DeviceCount ) . field ( "Devices" , & self . Devices ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SCM_LOGICAL_DEVICES { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Size == other . Size && self . DeviceCount == other . DeviceCount && self . Devices == other . Devices } } impl :: std :: cmp :: Eq for SCM_LOGICAL_DEVICES { } unsafe impl :: windows :: Abi for SCM_LOGICAL_DEVICES { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SCM_LOGICAL_DEVICE_INSTANCE { pub Version : u32 , pub Size : u32 , pub DeviceGuid : :: windows :: Guid , pub SymbolicLink : [ u16 ;256 ] } impl SCM_LOGICAL_DEVICE_INSTANCE { } impl :: std :: default :: Default for SCM_LOGICAL_DEVICE_INSTANCE { fn default ( ) -> Self { Self { Version : 0 , Size : 0 , DeviceGuid : :: std :: default :: Default :: default ( ) , SymbolicLink : [ 0 ;256 ] } } } impl :: std :: fmt :: Debug for SCM_LOGICAL_DEVICE_INSTANCE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SCM_LOGICAL_DEVICE_INSTANCE" ) . field ( "Version" , & self . Version ) . field ( "Size" , & self . Size ) . field ( "DeviceGuid" , & self . DeviceGuid ) . field ( "SymbolicLink" , & self . SymbolicLink ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SCM_LOGICAL_DEVICE_INSTANCE { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Size == other . Size && self . DeviceGuid == other . DeviceGuid && self . SymbolicLink == other . SymbolicLink } } impl :: std :: cmp :: Eq for SCM_LOGICAL_DEVICE_INSTANCE { } unsafe impl :: windows :: Abi for SCM_LOGICAL_DEVICE_INSTANCE { type Abi = Self ; type DefaultType = Self ; } pub const SCM_MAX_SYMLINK_LEN_IN_CHARS : u32 = 256u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SCM_PD_DESCRIPTOR_HEADER { pub Version : u32 , pub Size : u32 } impl SCM_PD_DESCRIPTOR_HEADER { } impl :: std :: default :: Default for SCM_PD_DESCRIPTOR_HEADER { fn default ( ) -> Self { Self { Version : 0 , Size : 0 } } } impl :: std :: fmt :: Debug for SCM_PD_DESCRIPTOR_HEADER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SCM_PD_DESCRIPTOR_HEADER" ) . field ( "Version" , & self . Version ) . field ( "Size" , & self . Size ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SCM_PD_DESCRIPTOR_HEADER { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Size == other . Size } } impl :: std :: cmp :: Eq for SCM_PD_DESCRIPTOR_HEADER { } unsafe impl :: windows :: Abi for SCM_PD_DESCRIPTOR_HEADER { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SCM_PD_DEVICE_HANDLE { pub Version : u32 , pub Size : u32 , pub DeviceGuid : :: windows :: Guid , pub DeviceHandle : u32 } impl SCM_PD_DEVICE_HANDLE { } impl :: std :: default :: Default for SCM_PD_DEVICE_HANDLE { fn default ( ) -> Self { Self { Version : 0 , Size : 0 , DeviceGuid : :: std :: default :: Default :: default ( ) , DeviceHandle : 0 } } } impl :: std :: fmt :: Debug for SCM_PD_DEVICE_HANDLE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SCM_PD_DEVICE_HANDLE" ) . field ( "Version" , & self . Version ) . field ( "Size" , & self . Size ) . field ( "DeviceGuid" , & self . DeviceGuid ) . field ( "DeviceHandle" , & self . DeviceHandle ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SCM_PD_DEVICE_HANDLE { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Size == other . Size && self . DeviceGuid == other . DeviceGuid && self . DeviceHandle == other . DeviceHandle } } impl :: std :: cmp :: Eq for SCM_PD_DEVICE_HANDLE { } unsafe impl :: windows :: Abi for SCM_PD_DEVICE_HANDLE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SCM_PD_DEVICE_INFO { pub Version : u32 , pub Size : u32 , pub DeviceGuid : :: windows :: Guid , pub UnsafeShutdownCount : u32 , pub PersistentMemorySizeInBytes : u64 , pub VolatileMemorySizeInBytes : u64 , pub TotalMemorySizeInBytes : u64 , pub SlotNumber : u32 , pub DeviceHandle : u32 , pub PhysicalId : u16 , pub NumberOfFormatInterfaceCodes : u8 , pub FormatInterfaceCodes : [ u16 ;8 ] , pub VendorId : u32 , pub ProductId : u32 , pub SubsystemDeviceId : u32 , pub SubsystemVendorId : u32 , pub ManufacturingLocation : u8 , pub ManufacturingWeek : u8 , pub ManufacturingYear : u8 , pub SerialNumber4Byte : u32 , pub SerialNumberLengthInChars : u32 , pub SerialNumber : [ CHAR ;1 ] } impl SCM_PD_DEVICE_INFO { } impl :: std :: default :: Default for SCM_PD_DEVICE_INFO { fn default ( ) -> Self { Self { Version : 0 , Size : 0 , DeviceGuid : :: std :: default :: Default :: default ( ) , UnsafeShutdownCount : 0 , PersistentMemorySizeInBytes : 0 , VolatileMemorySizeInBytes : 0 , TotalMemorySizeInBytes : 0 , SlotNumber : 0 , DeviceHandle : 0 , PhysicalId : 0 , NumberOfFormatInterfaceCodes : 0 , FormatInterfaceCodes : [ 0 ;8 ] , VendorId : 0 , ProductId : 0 , SubsystemDeviceId : 0 , SubsystemVendorId : 0 , ManufacturingLocation : 0 , ManufacturingWeek : 0 , ManufacturingYear : 0 , SerialNumber4Byte : 0 , SerialNumberLengthInChars : 0 , SerialNumber : [ :: std :: default :: Default :: default ( ) ;1 ] } } } impl :: std :: fmt :: Debug for SCM_PD_DEVICE_INFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SCM_PD_DEVICE_INFO" ) . field ( "Version" , & self . Version ) . field ( "Size" , & self . Size ) . field ( "DeviceGuid" , & self . DeviceGuid ) . field ( "UnsafeShutdownCount" , & self . UnsafeShutdownCount ) . field ( "PersistentMemorySizeInBytes" , & self . PersistentMemorySizeInBytes ) . field ( "VolatileMemorySizeInBytes" , & self . VolatileMemorySizeInBytes ) . field ( "TotalMemorySizeInBytes" , & self . TotalMemorySizeInBytes ) . field ( "SlotNumber" , & self . SlotNumber ) . field ( "DeviceHandle" , & self . DeviceHandle ) . field ( "PhysicalId" , & self . PhysicalId ) . field ( "NumberOfFormatInterfaceCodes" , & self . NumberOfFormatInterfaceCodes ) . field ( "FormatInterfaceCodes" , & self . FormatInterfaceCodes ) . field ( "VendorId" , & self . VendorId ) . field ( "ProductId" , & self . ProductId ) . field ( "SubsystemDeviceId" , & self . SubsystemDeviceId ) . field ( "SubsystemVendorId" , & self . SubsystemVendorId ) . field ( "ManufacturingLocation" , & self . ManufacturingLocation ) . field ( "ManufacturingWeek" , & self . ManufacturingWeek ) . field ( "ManufacturingYear" , & self . ManufacturingYear ) . field ( "SerialNumber4Byte" , & self . SerialNumber4Byte ) . field ( "SerialNumberLengthInChars" , & self . SerialNumberLengthInChars ) . field ( "SerialNumber" , & self . SerialNumber ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SCM_PD_DEVICE_INFO { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Size == other . Size && self . DeviceGuid == other . DeviceGuid && self . UnsafeShutdownCount == other . UnsafeShutdownCount && self . PersistentMemorySizeInBytes == other . PersistentMemorySizeInBytes && self . VolatileMemorySizeInBytes == other . VolatileMemorySizeInBytes && self . TotalMemorySizeInBytes == other . TotalMemorySizeInBytes && self . SlotNumber == other . SlotNumber && self . DeviceHandle == other . DeviceHandle && self . PhysicalId == other . PhysicalId && self . NumberOfFormatInterfaceCodes == other . NumberOfFormatInterfaceCodes && self . FormatInterfaceCodes == other . FormatInterfaceCodes && self . VendorId == other . VendorId && self . ProductId == other . ProductId && self . SubsystemDeviceId == other . SubsystemDeviceId && self . SubsystemVendorId == other . SubsystemVendorId && self . ManufacturingLocation == other . ManufacturingLocation && self . ManufacturingWeek == other . ManufacturingWeek && self . ManufacturingYear == other . ManufacturingYear && self . SerialNumber4Byte == other . SerialNumber4Byte && self . SerialNumberLengthInChars == other . SerialNumberLengthInChars && self . SerialNumber == other . SerialNumber } } impl :: std :: cmp :: Eq for SCM_PD_DEVICE_INFO { } unsafe impl :: windows :: Abi for SCM_PD_DEVICE_INFO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SCM_PD_DEVICE_SPECIFIC_INFO { pub Version : u32 , pub Size : u32 , pub NumberOfProperties : u32 , pub DeviceSpecificProperties : [ SCM_PD_DEVICE_SPECIFIC_PROPERTY ;1 ] } impl SCM_PD_DEVICE_SPECIFIC_INFO { } impl :: std :: default :: Default for SCM_PD_DEVICE_SPECIFIC_INFO { fn default ( ) -> Self { Self { Version : 0 , Size : 0 , NumberOfProperties : 0 , DeviceSpecificProperties : [ :: std :: default :: Default :: default ( ) ;1 ] } } } impl :: std :: fmt :: Debug for SCM_PD_DEVICE_SPECIFIC_INFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SCM_PD_DEVICE_SPECIFIC_INFO" ) . field ( "Version" , & self . Version ) . field ( "Size" , & self . Size ) . field ( "NumberOfProperties" , & self . NumberOfProperties ) . field ( "DeviceSpecificProperties" , & self . DeviceSpecificProperties ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SCM_PD_DEVICE_SPECIFIC_INFO { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Size == other . Size && self . NumberOfProperties == other . NumberOfProperties && self . DeviceSpecificProperties == other . DeviceSpecificProperties } } impl :: std :: cmp :: Eq for SCM_PD_DEVICE_SPECIFIC_INFO { } unsafe impl :: windows :: Abi for SCM_PD_DEVICE_SPECIFIC_INFO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SCM_PD_DEVICE_SPECIFIC_PROPERTY { pub Name : [ u16 ;128 ] , pub Value : i64 } impl SCM_PD_DEVICE_SPECIFIC_PROPERTY { } impl :: std :: default :: Default for SCM_PD_DEVICE_SPECIFIC_PROPERTY { fn default ( ) -> Self { Self { Name : [ 0 ;128 ] , Value : 0 } } } impl :: std :: fmt :: Debug for SCM_PD_DEVICE_SPECIFIC_PROPERTY { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SCM_PD_DEVICE_SPECIFIC_PROPERTY" ) . field ( "Name" , & self . Name ) . field ( "Value" , & self . Value ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SCM_PD_DEVICE_SPECIFIC_PROPERTY { fn eq ( & self , other : & Self ) -> bool { self . Name == other . Name && self . Value == other . Value } } impl :: std :: cmp :: Eq for SCM_PD_DEVICE_SPECIFIC_PROPERTY { } unsafe impl :: windows :: Abi for SCM_PD_DEVICE_SPECIFIC_PROPERTY { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SCM_PD_FIRMWARE_ACTIVATE { pub Version : u32 , pub Size : u32 , pub Flags : u32 , pub Slot : u8 } impl SCM_PD_FIRMWARE_ACTIVATE { } impl :: std :: default :: Default for SCM_PD_FIRMWARE_ACTIVATE { fn default ( ) -> Self { Self { Version : 0 , Size : 0 , Flags : 0 , Slot : 0 } } } impl :: std :: fmt :: Debug for SCM_PD_FIRMWARE_ACTIVATE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SCM_PD_FIRMWARE_ACTIVATE" ) . field ( "Version" , & self . Version ) . field ( "Size" , & self . Size ) . field ( "Flags" , & self . Flags ) . field ( "Slot" , & self . Slot ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SCM_PD_FIRMWARE_ACTIVATE { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Size == other . Size && self . Flags == other . Flags && self . Slot == other . Slot } } impl :: std :: cmp :: Eq for SCM_PD_FIRMWARE_ACTIVATE { } unsafe impl :: windows :: Abi for SCM_PD_FIRMWARE_ACTIVATE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SCM_PD_FIRMWARE_DOWNLOAD { pub Version : u32 , pub Size : u32 , pub Flags : u32 , pub Slot : u8 , pub Reserved : [ u8 ;3 ] , pub Offset : u64 , pub FirmwareImageSizeInBytes : u32 , pub FirmwareImage : [ u8 ;1 ] } impl SCM_PD_FIRMWARE_DOWNLOAD { } impl :: std :: default :: Default for SCM_PD_FIRMWARE_DOWNLOAD { fn default ( ) -> Self { Self { Version : 0 , Size : 0 , Flags : 0 , Slot : 0 , Reserved : [ 0 ;3 ] , Offset : 0 , FirmwareImageSizeInBytes : 0 , FirmwareImage : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for SCM_PD_FIRMWARE_DOWNLOAD { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SCM_PD_FIRMWARE_DOWNLOAD" ) . field ( "Version" , & self . Version ) . field ( "Size" , & self . Size ) . field ( "Flags" , & self . Flags ) . field ( "Slot" , & self . Slot ) . field ( "Reserved" , & self . Reserved ) . field ( "Offset" , & self . Offset ) . field ( "FirmwareImageSizeInBytes" , & self . FirmwareImageSizeInBytes ) . field ( "FirmwareImage" , & self . FirmwareImage ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SCM_PD_FIRMWARE_DOWNLOAD { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Size == other . Size && self . Flags == other . Flags && self . Slot == other . Slot && self . Reserved == other . Reserved && self . Offset == other . Offset && self . FirmwareImageSizeInBytes == other . FirmwareImageSizeInBytes && self . FirmwareImage == other . FirmwareImage } } impl :: std :: cmp :: Eq for SCM_PD_FIRMWARE_DOWNLOAD { } unsafe impl :: windows :: Abi for SCM_PD_FIRMWARE_DOWNLOAD { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SCM_PD_FIRMWARE_INFO { pub Version : u32 , pub Size : u32 , pub ActiveSlot : u8 , pub NextActiveSlot : u8 , pub SlotCount : u8 , pub Slots : [ SCM_PD_FIRMWARE_SLOT_INFO ;1 ] } impl SCM_PD_FIRMWARE_INFO { } impl :: std :: default :: Default for SCM_PD_FIRMWARE_INFO { fn default ( ) -> Self { Self { Version : 0 , Size : 0 , ActiveSlot : 0 , NextActiveSlot : 0 , SlotCount : 0 , Slots : [ :: std :: default :: Default :: default ( ) ;1 ] } } } impl :: std :: fmt :: Debug for SCM_PD_FIRMWARE_INFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SCM_PD_FIRMWARE_INFO" ) . field ( "Version" , & self . Version ) . field ( "Size" , & self . Size ) . field ( "ActiveSlot" , & self . ActiveSlot ) . field ( "NextActiveSlot" , & self . NextActiveSlot ) . field ( "SlotCount" , & self . SlotCount ) . field ( "Slots" , & self . Slots ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SCM_PD_FIRMWARE_INFO { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Size == other . Size && self . ActiveSlot == other . ActiveSlot && self . NextActiveSlot == other . NextActiveSlot && self . SlotCount == other . SlotCount && self . Slots == other . Slots } } impl :: std :: cmp :: Eq for SCM_PD_FIRMWARE_INFO { } unsafe impl :: windows :: Abi for SCM_PD_FIRMWARE_INFO { type Abi = Self ; type DefaultType = Self ; } pub const SCM_PD_FIRMWARE_LAST_DOWNLOAD : u32 = 1u32 ; pub const SCM_PD_FIRMWARE_REVISION_LENGTH_BYTES : u32 = 32u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SCM_PD_FIRMWARE_SLOT_INFO { pub Version : u32 , pub Size : u32 , pub SlotNumber : u8 , pub _bitfield : u8 , pub Reserved1 : [ u8 ;6 ] , pub Revision : [ u8 ;32 ] } impl SCM_PD_FIRMWARE_SLOT_INFO { } impl :: std :: default :: Default for SCM_PD_FIRMWARE_SLOT_INFO { fn default ( ) -> Self { Self { Version : 0 , Size : 0 , SlotNumber : 0 , _bitfield : 0 , Reserved1 : [ 0 ;6 ] , Revision : [ 0 ;32 ] } } } impl :: std :: fmt :: Debug for SCM_PD_FIRMWARE_SLOT_INFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SCM_PD_FIRMWARE_SLOT_INFO" ) . field ( "Version" , & self . Version ) . field ( "Size" , & self . Size ) . field ( "SlotNumber" , & self . SlotNumber ) . field ( "_bitfield" , & self . _bitfield ) . field ( "Reserved1" , & self . Reserved1 ) . field ( "Revision" , & self . Revision ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SCM_PD_FIRMWARE_SLOT_INFO { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Size == other . Size && self . SlotNumber == other . SlotNumber && self . _bitfield == other . _bitfield && self . Reserved1 == other . Reserved1 && self . Revision == other . Revision } } impl :: std :: cmp :: Eq for SCM_PD_FIRMWARE_SLOT_INFO { } unsafe impl :: windows :: Abi for SCM_PD_FIRMWARE_SLOT_INFO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SCM_PD_HEALTH_NOTIFICATION_DATA { pub DeviceGuid : :: windows :: Guid } impl SCM_PD_HEALTH_NOTIFICATION_DATA { } impl :: std :: default :: Default for SCM_PD_HEALTH_NOTIFICATION_DATA { fn default ( ) -> Self { Self { DeviceGuid : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for SCM_PD_HEALTH_NOTIFICATION_DATA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SCM_PD_HEALTH_NOTIFICATION_DATA" ) . field ( "DeviceGuid" , & self . DeviceGuid ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SCM_PD_HEALTH_NOTIFICATION_DATA { fn eq ( & self , other : & Self ) -> bool { self . DeviceGuid == other . DeviceGuid } } impl :: std :: cmp :: Eq for SCM_PD_HEALTH_NOTIFICATION_DATA { } unsafe impl :: windows :: Abi for SCM_PD_HEALTH_NOTIFICATION_DATA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct SCM_PD_HEALTH_STATUS ( pub i32 ) ; pub const ScmPhysicalDeviceHealth_Unknown : SCM_PD_HEALTH_STATUS = SCM_PD_HEALTH_STATUS ( 0i32 ) ; pub const ScmPhysicalDeviceHealth_Unhealthy : SCM_PD_HEALTH_STATUS = SCM_PD_HEALTH_STATUS ( 1i32 ) ; pub const ScmPhysicalDeviceHealth_Warning : SCM_PD_HEALTH_STATUS = SCM_PD_HEALTH_STATUS ( 2i32 ) ; pub const ScmPhysicalDeviceHealth_Healthy : SCM_PD_HEALTH_STATUS = SCM_PD_HEALTH_STATUS ( 3i32 ) ; pub const ScmPhysicalDeviceHealth_Max : SCM_PD_HEALTH_STATUS = SCM_PD_HEALTH_STATUS ( 4i32 ) ; impl :: std :: convert :: From < i32 > for SCM_PD_HEALTH_STATUS { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for SCM_PD_HEALTH_STATUS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SCM_PD_LOCATION_STRING { pub Version : u32 , pub Size : u32 , pub Location : [ u16 ;1 ] } impl SCM_PD_LOCATION_STRING { } impl :: std :: default :: Default for SCM_PD_LOCATION_STRING { fn default ( ) -> Self { Self { Version : 0 , Size : 0 , Location : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for SCM_PD_LOCATION_STRING { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SCM_PD_LOCATION_STRING" ) . field ( "Version" , & self . Version ) . field ( "Size" , & self . Size ) . field ( "Location" , & self . Location ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SCM_PD_LOCATION_STRING { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Size == other . Size && self . Location == other . Location } } impl :: std :: cmp :: Eq for SCM_PD_LOCATION_STRING { } unsafe impl :: windows :: Abi for SCM_PD_LOCATION_STRING { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SCM_PD_MANAGEMENT_STATUS { pub Version : u32 , pub Size : u32 , pub Health : SCM_PD_HEALTH_STATUS , pub NumberOfOperationalStatus : u32 , pub NumberOfAdditionalReasons : u32 , pub OperationalStatus : [ SCM_PD_OPERATIONAL_STATUS ;16 ] , pub AdditionalReasons : [ SCM_PD_OPERATIONAL_STATUS_REASON ;1 ] } impl SCM_PD_MANAGEMENT_STATUS { } impl :: std :: default :: Default for SCM_PD_MANAGEMENT_STATUS { fn default ( ) -> Self { Self { Version : 0 , Size : 0 , Health : :: std :: default :: Default :: default ( ) , NumberOfOperationalStatus : 0 , NumberOfAdditionalReasons : 0 , OperationalStatus : [ :: std :: default :: Default :: default ( ) ;16 ] , AdditionalReasons : [ :: std :: default :: Default :: default ( ) ;1 ] } } } impl :: std :: fmt :: Debug for SCM_PD_MANAGEMENT_STATUS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SCM_PD_MANAGEMENT_STATUS" ) . field ( "Version" , & self . Version ) . field ( "Size" , & self . Size ) . field ( "Health" , & self . Health ) . field ( "NumberOfOperationalStatus" , & self . NumberOfOperationalStatus ) . field ( "NumberOfAdditionalReasons" , & self . NumberOfAdditionalReasons ) . field ( "OperationalStatus" , & self . OperationalStatus ) . field ( "AdditionalReasons" , & self . AdditionalReasons ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SCM_PD_MANAGEMENT_STATUS { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Size == other . Size && self . Health == other . Health && self . NumberOfOperationalStatus == other . NumberOfOperationalStatus && self . NumberOfAdditionalReasons == other . NumberOfAdditionalReasons && self . OperationalStatus == other . OperationalStatus && self . AdditionalReasons == other . AdditionalReasons } } impl :: std :: cmp :: Eq for SCM_PD_MANAGEMENT_STATUS { } unsafe impl :: windows :: Abi for SCM_PD_MANAGEMENT_STATUS { type Abi = Self ; type DefaultType = Self ; } pub const SCM_PD_MAX_OPERATIONAL_STATUS : u32 = 16u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct SCM_PD_MEDIA_REINITIALIZATION_STATUS ( pub i32 ) ; pub const ScmPhysicalDeviceReinit_Success : SCM_PD_MEDIA_REINITIALIZATION_STATUS = SCM_PD_MEDIA_REINITIALIZATION_STATUS ( 0i32 ) ; pub const ScmPhysicalDeviceReinit_RebootNeeded : SCM_PD_MEDIA_REINITIALIZATION_STATUS = SCM_PD_MEDIA_REINITIALIZATION_STATUS ( 1i32 ) ; pub const ScmPhysicalDeviceReinit_ColdBootNeeded : SCM_PD_MEDIA_REINITIALIZATION_STATUS = SCM_PD_MEDIA_REINITIALIZATION_STATUS ( 2i32 ) ; pub const ScmPhysicalDeviceReinit_Max : SCM_PD_MEDIA_REINITIALIZATION_STATUS = SCM_PD_MEDIA_REINITIALIZATION_STATUS ( 3i32 ) ; impl :: std :: convert :: From < i32 > for SCM_PD_MEDIA_REINITIALIZATION_STATUS { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for SCM_PD_MEDIA_REINITIALIZATION_STATUS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct SCM_PD_OPERATIONAL_STATUS ( pub i32 ) ; pub const ScmPhysicalDeviceOpStatus_Unknown : SCM_PD_OPERATIONAL_STATUS = SCM_PD_OPERATIONAL_STATUS ( 0i32 ) ; pub const ScmPhysicalDeviceOpStatus_Ok : SCM_PD_OPERATIONAL_STATUS = SCM_PD_OPERATIONAL_STATUS ( 1i32 ) ; pub const ScmPhysicalDeviceOpStatus_PredictingFailure : SCM_PD_OPERATIONAL_STATUS = SCM_PD_OPERATIONAL_STATUS ( 2i32 ) ; pub const ScmPhysicalDeviceOpStatus_InService : SCM_PD_OPERATIONAL_STATUS = SCM_PD_OPERATIONAL_STATUS ( 3i32 ) ; pub const ScmPhysicalDeviceOpStatus_HardwareError : SCM_PD_OPERATIONAL_STATUS = SCM_PD_OPERATIONAL_STATUS ( 4i32 ) ; pub const ScmPhysicalDeviceOpStatus_NotUsable : SCM_PD_OPERATIONAL_STATUS = SCM_PD_OPERATIONAL_STATUS ( 5i32 ) ; pub const ScmPhysicalDeviceOpStatus_TransientError : SCM_PD_OPERATIONAL_STATUS = SCM_PD_OPERATIONAL_STATUS ( 6i32 ) ; pub const ScmPhysicalDeviceOpStatus_Missing : SCM_PD_OPERATIONAL_STATUS = SCM_PD_OPERATIONAL_STATUS ( 7i32 ) ; pub const ScmPhysicalDeviceOpStatus_Max : SCM_PD_OPERATIONAL_STATUS = SCM_PD_OPERATIONAL_STATUS ( 8i32 ) ; impl :: std :: convert :: From < i32 > for SCM_PD_OPERATIONAL_STATUS { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for SCM_PD_OPERATIONAL_STATUS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct SCM_PD_OPERATIONAL_STATUS_REASON ( pub i32 ) ; pub const ScmPhysicalDeviceOpReason_Unknown : SCM_PD_OPERATIONAL_STATUS_REASON = SCM_PD_OPERATIONAL_STATUS_REASON ( 0i32 ) ; pub const ScmPhysicalDeviceOpReason_Media : SCM_PD_OPERATIONAL_STATUS_REASON = SCM_PD_OPERATIONAL_STATUS_REASON ( 1i32 ) ; pub const ScmPhysicalDeviceOpReason_ThresholdExceeded : SCM_PD_OPERATIONAL_STATUS_REASON = SCM_PD_OPERATIONAL_STATUS_REASON ( 2i32 ) ; pub const ScmPhysicalDeviceOpReason_LostData : SCM_PD_OPERATIONAL_STATUS_REASON = SCM_PD_OPERATIONAL_STATUS_REASON ( 3i32 ) ; pub const ScmPhysicalDeviceOpReason_EnergySource : SCM_PD_OPERATIONAL_STATUS_REASON = SCM_PD_OPERATIONAL_STATUS_REASON ( 4i32 ) ; pub const ScmPhysicalDeviceOpReason_Configuration : SCM_PD_OPERATIONAL_STATUS_REASON = SCM_PD_OPERATIONAL_STATUS_REASON ( 5i32 ) ; pub const ScmPhysicalDeviceOpReason_DeviceController : SCM_PD_OPERATIONAL_STATUS_REASON = SCM_PD_OPERATIONAL_STATUS_REASON ( 6i32 ) ; pub const ScmPhysicalDeviceOpReason_MediaController : SCM_PD_OPERATIONAL_STATUS_REASON = SCM_PD_OPERATIONAL_STATUS_REASON ( 7i32 ) ; pub const ScmPhysicalDeviceOpReason_Component : SCM_PD_OPERATIONAL_STATUS_REASON = SCM_PD_OPERATIONAL_STATUS_REASON ( 8i32 ) ; pub const ScmPhysicalDeviceOpReason_BackgroundOperation : SCM_PD_OPERATIONAL_STATUS_REASON = SCM_PD_OPERATIONAL_STATUS_REASON ( 9i32 ) ; pub const ScmPhysicalDeviceOpReason_InvalidFirmware : SCM_PD_OPERATIONAL_STATUS_REASON = SCM_PD_OPERATIONAL_STATUS_REASON ( 10i32 ) ; pub const ScmPhysicalDeviceOpReason_HealthCheck : SCM_PD_OPERATIONAL_STATUS_REASON = SCM_PD_OPERATIONAL_STATUS_REASON ( 11i32 ) ; pub const ScmPhysicalDeviceOpReason_LostDataPersistence : SCM_PD_OPERATIONAL_STATUS_REASON = SCM_PD_OPERATIONAL_STATUS_REASON ( 12i32 ) ; pub const ScmPhysicalDeviceOpReason_DisabledByPlatform : SCM_PD_OPERATIONAL_STATUS_REASON = SCM_PD_OPERATIONAL_STATUS_REASON ( 13i32 ) ; pub const ScmPhysicalDeviceOpReason_PermanentError : SCM_PD_OPERATIONAL_STATUS_REASON = SCM_PD_OPERATIONAL_STATUS_REASON ( 14i32 ) ; pub const ScmPhysicalDeviceOpReason_LostWritePersistence : SCM_PD_OPERATIONAL_STATUS_REASON = SCM_PD_OPERATIONAL_STATUS_REASON ( 15i32 ) ; pub const ScmPhysicalDeviceOpReason_FatalError : SCM_PD_OPERATIONAL_STATUS_REASON = SCM_PD_OPERATIONAL_STATUS_REASON ( 16i32 ) ; pub const ScmPhysicalDeviceOpReason_DataPersistenceLossImminent : SCM_PD_OPERATIONAL_STATUS_REASON = SCM_PD_OPERATIONAL_STATUS_REASON ( 17i32 ) ; pub const ScmPhysicalDeviceOpReason_WritePersistenceLossImminent : SCM_PD_OPERATIONAL_STATUS_REASON = SCM_PD_OPERATIONAL_STATUS_REASON ( 18i32 ) ; pub const ScmPhysicalDeviceOpReason_MediaRemainingSpareBlock : SCM_PD_OPERATIONAL_STATUS_REASON = SCM_PD_OPERATIONAL_STATUS_REASON ( 19i32 ) ; pub const ScmPhysicalDeviceOpReason_PerformanceDegradation : SCM_PD_OPERATIONAL_STATUS_REASON = SCM_PD_OPERATIONAL_STATUS_REASON ( 20i32 ) ; pub const ScmPhysicalDeviceOpReason_ExcessiveTemperature : SCM_PD_OPERATIONAL_STATUS_REASON = SCM_PD_OPERATIONAL_STATUS_REASON ( 21i32 ) ; pub const ScmPhysicalDeviceOpReason_Max : SCM_PD_OPERATIONAL_STATUS_REASON = SCM_PD_OPERATIONAL_STATUS_REASON ( 22i32 ) ; impl :: std :: convert :: From < i32 > for SCM_PD_OPERATIONAL_STATUS_REASON { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for SCM_PD_OPERATIONAL_STATUS_REASON { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SCM_PD_PASSTHROUGH_INPUT { pub Version : u32 , pub Size : u32 , pub ProtocolGuid : :: windows :: Guid , pub DataSize : u32 , pub Data : [ u8 ;1 ] } impl SCM_PD_PASSTHROUGH_INPUT { } impl :: std :: default :: Default for SCM_PD_PASSTHROUGH_INPUT { fn default ( ) -> Self { Self { Version : 0 , Size : 0 , ProtocolGuid : :: std :: default :: Default :: default ( ) , DataSize : 0 , Data : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for SCM_PD_PASSTHROUGH_INPUT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SCM_PD_PASSTHROUGH_INPUT" ) . field ( "Version" , & self . Version ) . field ( "Size" , & self . Size ) . field ( "ProtocolGuid" , & self . ProtocolGuid ) . field ( "DataSize" , & self . DataSize ) . field ( "Data" , & self . Data ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SCM_PD_PASSTHROUGH_INPUT { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Size == other . Size && self . ProtocolGuid == other . ProtocolGuid && self . DataSize == other . DataSize && self . Data == other . Data } } impl :: std :: cmp :: Eq for SCM_PD_PASSTHROUGH_INPUT { } unsafe impl :: windows :: Abi for SCM_PD_PASSTHROUGH_INPUT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SCM_PD_PASSTHROUGH_INVDIMM_INPUT { pub Opcode : u32 , pub OpcodeParametersLength : u32 , pub OpcodeParameters : [ u8 ;1 ] } impl SCM_PD_PASSTHROUGH_INVDIMM_INPUT { } impl :: std :: default :: Default for SCM_PD_PASSTHROUGH_INVDIMM_INPUT { fn default ( ) -> Self { Self { Opcode : 0 , OpcodeParametersLength : 0 , OpcodeParameters : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for SCM_PD_PASSTHROUGH_INVDIMM_INPUT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SCM_PD_PASSTHROUGH_INVDIMM_INPUT" ) . field ( "Opcode" , & self . Opcode ) . field ( "OpcodeParametersLength" , & self . OpcodeParametersLength ) . field ( "OpcodeParameters" , & self . OpcodeParameters ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SCM_PD_PASSTHROUGH_INVDIMM_INPUT { fn eq ( & self , other : & Self ) -> bool { self . Opcode == other . Opcode && self . OpcodeParametersLength == other . OpcodeParametersLength && self . OpcodeParameters == other . OpcodeParameters } } impl :: std :: cmp :: Eq for SCM_PD_PASSTHROUGH_INVDIMM_INPUT { } unsafe impl :: windows :: Abi for SCM_PD_PASSTHROUGH_INVDIMM_INPUT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SCM_PD_PASSTHROUGH_INVDIMM_OUTPUT { pub GeneralStatus : u16 , pub ExtendedStatus : u16 , pub OutputDataLength : u32 , pub OutputData : [ u8 ;1 ] } impl SCM_PD_PASSTHROUGH_INVDIMM_OUTPUT { } impl :: std :: default :: Default for SCM_PD_PASSTHROUGH_INVDIMM_OUTPUT { fn default ( ) -> Self { Self { GeneralStatus : 0 , ExtendedStatus : 0 , OutputDataLength : 0 , OutputData : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for SCM_PD_PASSTHROUGH_INVDIMM_OUTPUT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SCM_PD_PASSTHROUGH_INVDIMM_OUTPUT" ) . field ( "GeneralStatus" , & self . GeneralStatus ) . field ( "ExtendedStatus" , & self . ExtendedStatus ) . field ( "OutputDataLength" , & self . OutputDataLength ) . field ( "OutputData" , & self . OutputData ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SCM_PD_PASSTHROUGH_INVDIMM_OUTPUT { fn eq ( & self , other : & Self ) -> bool { self . GeneralStatus == other . GeneralStatus && self . ExtendedStatus == other . ExtendedStatus && self . OutputDataLength == other . OutputDataLength && self . OutputData == other . OutputData } } impl :: std :: cmp :: Eq for SCM_PD_PASSTHROUGH_INVDIMM_OUTPUT { } unsafe impl :: windows :: Abi for SCM_PD_PASSTHROUGH_INVDIMM_OUTPUT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SCM_PD_PASSTHROUGH_OUTPUT { pub Version : u32 , pub Size : u32 , pub ProtocolGuid : :: windows :: Guid , pub DataSize : u32 , pub Data : [ u8 ;1 ] } impl SCM_PD_PASSTHROUGH_OUTPUT { } impl :: std :: default :: Default for SCM_PD_PASSTHROUGH_OUTPUT { fn default ( ) -> Self { Self { Version : 0 , Size : 0 , ProtocolGuid : :: std :: default :: Default :: default ( ) , DataSize : 0 , Data : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for SCM_PD_PASSTHROUGH_OUTPUT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SCM_PD_PASSTHROUGH_OUTPUT" ) . field ( "Version" , & self . Version ) . field ( "Size" , & self . Size ) . field ( "ProtocolGuid" , & self . ProtocolGuid ) . field ( "DataSize" , & self . DataSize ) . field ( "Data" , & self . Data ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SCM_PD_PASSTHROUGH_OUTPUT { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Size == other . Size && self . ProtocolGuid == other . ProtocolGuid && self . DataSize == other . DataSize && self . Data == other . Data } } impl :: std :: cmp :: Eq for SCM_PD_PASSTHROUGH_OUTPUT { } unsafe impl :: windows :: Abi for SCM_PD_PASSTHROUGH_OUTPUT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct SCM_PD_PROPERTY_ID ( pub i32 ) ; pub const ScmPhysicalDeviceProperty_DeviceInfo : SCM_PD_PROPERTY_ID = SCM_PD_PROPERTY_ID ( 0i32 ) ; pub const ScmPhysicalDeviceProperty_ManagementStatus : SCM_PD_PROPERTY_ID = SCM_PD_PROPERTY_ID ( 1i32 ) ; pub const ScmPhysicalDeviceProperty_FirmwareInfo : SCM_PD_PROPERTY_ID = SCM_PD_PROPERTY_ID ( 2i32 ) ; pub const ScmPhysicalDeviceProperty_LocationString : SCM_PD_PROPERTY_ID = SCM_PD_PROPERTY_ID ( 3i32 ) ; pub const ScmPhysicalDeviceProperty_DeviceSpecificInfo : SCM_PD_PROPERTY_ID = SCM_PD_PROPERTY_ID ( 4i32 ) ; pub const ScmPhysicalDeviceProperty_DeviceHandle : SCM_PD_PROPERTY_ID = SCM_PD_PROPERTY_ID ( 5i32 ) ; pub const ScmPhysicalDeviceProperty_Max : SCM_PD_PROPERTY_ID = SCM_PD_PROPERTY_ID ( 6i32 ) ; impl :: std :: convert :: From < i32 > for SCM_PD_PROPERTY_ID { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for SCM_PD_PROPERTY_ID { type Abi = Self ; type DefaultType = Self ; } pub const SCM_PD_PROPERTY_NAME_LENGTH_IN_CHARS : u32 = 128u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SCM_PD_PROPERTY_QUERY { pub Version : u32 , pub Size : u32 , pub PropertyId : SCM_PD_PROPERTY_ID , pub QueryType : SCM_PD_QUERY_TYPE , pub AdditionalParameters : [ u8 ;1 ] } impl SCM_PD_PROPERTY_QUERY { } impl :: std :: default :: Default for SCM_PD_PROPERTY_QUERY { fn default ( ) -> Self { Self { Version : 0 , Size : 0 , PropertyId : :: std :: default :: Default :: default ( ) , QueryType : :: std :: default :: Default :: default ( ) , AdditionalParameters : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for SCM_PD_PROPERTY_QUERY { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SCM_PD_PROPERTY_QUERY" ) . field ( "Version" , & self . Version ) . field ( "Size" , & self . Size ) . field ( "PropertyId" , & self . PropertyId ) . field ( "QueryType" , & self . QueryType ) . field ( "AdditionalParameters" , & self . AdditionalParameters ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SCM_PD_PROPERTY_QUERY { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Size == other . Size && self . PropertyId == other . PropertyId && self . QueryType == other . QueryType && self . AdditionalParameters == other . AdditionalParameters } } impl :: std :: cmp :: Eq for SCM_PD_PROPERTY_QUERY { } unsafe impl :: windows :: Abi for SCM_PD_PROPERTY_QUERY { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct SCM_PD_QUERY_TYPE ( pub i32 ) ; pub const ScmPhysicalDeviceQuery_Descriptor : SCM_PD_QUERY_TYPE = SCM_PD_QUERY_TYPE ( 0i32 ) ; pub const ScmPhysicalDeviceQuery_IsSupported : SCM_PD_QUERY_TYPE = SCM_PD_QUERY_TYPE ( 1i32 ) ; pub const ScmPhysicalDeviceQuery_Max : SCM_PD_QUERY_TYPE = SCM_PD_QUERY_TYPE ( 2i32 ) ; impl :: std :: convert :: From < i32 > for SCM_PD_QUERY_TYPE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for SCM_PD_QUERY_TYPE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SCM_PD_REINITIALIZE_MEDIA_INPUT { pub Version : u32 , pub Size : u32 , pub Options : SCM_PD_REINITIALIZE_MEDIA_INPUT_0 } impl SCM_PD_REINITIALIZE_MEDIA_INPUT { } impl :: std :: default :: Default for SCM_PD_REINITIALIZE_MEDIA_INPUT { fn default ( ) -> Self { Self { Version : 0 , Size : 0 , Options : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for SCM_PD_REINITIALIZE_MEDIA_INPUT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SCM_PD_REINITIALIZE_MEDIA_INPUT" ) . field ( "Version" , & self . Version ) . field ( "Size" , & self . Size ) . field ( "Options" , & self . Options ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SCM_PD_REINITIALIZE_MEDIA_INPUT { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Size == other . Size && self . Options == other . Options } } impl :: std :: cmp :: Eq for SCM_PD_REINITIALIZE_MEDIA_INPUT { } unsafe impl :: windows :: Abi for SCM_PD_REINITIALIZE_MEDIA_INPUT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SCM_PD_REINITIALIZE_MEDIA_INPUT_0 { pub _bitfield : u32 } impl SCM_PD_REINITIALIZE_MEDIA_INPUT_0 { } impl :: std :: default :: Default for SCM_PD_REINITIALIZE_MEDIA_INPUT_0 { fn default ( ) -> Self { Self { _bitfield : 0 } } } impl :: std :: fmt :: Debug for SCM_PD_REINITIALIZE_MEDIA_INPUT_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Options_e__Struct" ) . field ( "_bitfield" , & self . _bitfield ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SCM_PD_REINITIALIZE_MEDIA_INPUT_0 { fn eq ( & self , other : & Self ) -> bool { self . _bitfield == other . _bitfield } } impl :: std :: cmp :: Eq for SCM_PD_REINITIALIZE_MEDIA_INPUT_0 { } unsafe impl :: windows :: Abi for SCM_PD_REINITIALIZE_MEDIA_INPUT_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SCM_PD_REINITIALIZE_MEDIA_OUTPUT { pub Version : u32 , pub Size : u32 , pub Status : SCM_PD_MEDIA_REINITIALIZATION_STATUS } impl SCM_PD_REINITIALIZE_MEDIA_OUTPUT { } impl :: std :: default :: Default for SCM_PD_REINITIALIZE_MEDIA_OUTPUT { fn default ( ) -> Self { Self { Version : 0 , Size : 0 , Status : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for SCM_PD_REINITIALIZE_MEDIA_OUTPUT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SCM_PD_REINITIALIZE_MEDIA_OUTPUT" ) . field ( "Version" , & self . Version ) . field ( "Size" , & self . Size ) . field ( "Status" , & self . Status ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SCM_PD_REINITIALIZE_MEDIA_OUTPUT { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Size == other . Size && self . Status == other . Status } } impl :: std :: cmp :: Eq for SCM_PD_REINITIALIZE_MEDIA_OUTPUT { } unsafe impl :: windows :: Abi for SCM_PD_REINITIALIZE_MEDIA_OUTPUT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SCM_PHYSICAL_DEVICES { pub Version : u32 , pub Size : u32 , pub DeviceCount : u32 , pub Devices : [ SCM_PHYSICAL_DEVICE_INSTANCE ;1 ] } impl SCM_PHYSICAL_DEVICES { } impl :: std :: default :: Default for SCM_PHYSICAL_DEVICES { fn default ( ) -> Self { Self { Version : 0 , Size : 0 , DeviceCount : 0 , Devices : [ :: std :: default :: Default :: default ( ) ;1 ] } } } impl :: std :: fmt :: Debug for SCM_PHYSICAL_DEVICES { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SCM_PHYSICAL_DEVICES" ) . field ( "Version" , & self . Version ) . field ( "Size" , & self . Size ) . field ( "DeviceCount" , & self . DeviceCount ) . field ( "Devices" , & self . Devices ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SCM_PHYSICAL_DEVICES { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Size == other . Size && self . DeviceCount == other . DeviceCount && self . Devices == other . Devices } } impl :: std :: cmp :: Eq for SCM_PHYSICAL_DEVICES { } unsafe impl :: windows :: Abi for SCM_PHYSICAL_DEVICES { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SCM_PHYSICAL_DEVICE_INSTANCE { pub Version : u32 , pub Size : u32 , pub NfitHandle : u32 , pub SymbolicLink : [ u16 ;256 ] } impl SCM_PHYSICAL_DEVICE_INSTANCE { } impl :: std :: default :: Default for SCM_PHYSICAL_DEVICE_INSTANCE { fn default ( ) -> Self { Self { Version : 0 , Size : 0 , NfitHandle : 0 , SymbolicLink : [ 0 ;256 ] } } } impl :: std :: fmt :: Debug for SCM_PHYSICAL_DEVICE_INSTANCE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SCM_PHYSICAL_DEVICE_INSTANCE" ) . field ( "Version" , & self . Version ) . field ( "Size" , & self . Size ) . field ( "NfitHandle" , & self . NfitHandle ) . field ( "SymbolicLink" , & self . SymbolicLink ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SCM_PHYSICAL_DEVICE_INSTANCE { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Size == other . Size && self . NfitHandle == other . NfitHandle && self . SymbolicLink == other . SymbolicLink } } impl :: std :: cmp :: Eq for SCM_PHYSICAL_DEVICE_INSTANCE { } unsafe impl :: windows :: Abi for SCM_PHYSICAL_DEVICE_INSTANCE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SCM_REGION { pub Version : u32 , pub Size : u32 , pub Flags : u32 , pub NfitHandle : u32 , pub LogicalDeviceGuid : :: windows :: Guid , pub AddressRangeType : :: windows :: Guid , pub AssociatedId : u32 , pub Length : u64 , pub StartingDPA : u64 , pub BaseSPA : u64 , pub SPAOffset : u64 , pub RegionOffset : u64 } impl SCM_REGION { } impl :: std :: default :: Default for SCM_REGION { fn default ( ) -> Self { Self { Version : 0 , Size : 0 , Flags : 0 , NfitHandle : 0 , LogicalDeviceGuid : :: std :: default :: Default :: default ( ) , AddressRangeType : :: std :: default :: Default :: default ( ) , AssociatedId : 0 , Length : 0 , StartingDPA : 0 , BaseSPA : 0 , SPAOffset : 0 , RegionOffset : 0 } } } impl :: std :: fmt :: Debug for SCM_REGION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SCM_REGION" ) . field ( "Version" , & self . Version ) . field ( "Size" , & self . Size ) . field ( "Flags" , & self . Flags ) . field ( "NfitHandle" , & self . NfitHandle ) . field ( "LogicalDeviceGuid" , & self . LogicalDeviceGuid ) . field ( "AddressRangeType" , & self . AddressRangeType ) . field ( "AssociatedId" , & self . AssociatedId ) . field ( "Length" , & self . Length ) . field ( "StartingDPA" , & self . StartingDPA ) . field ( "BaseSPA" , & self . BaseSPA ) . field ( "SPAOffset" , & self . SPAOffset ) . field ( "RegionOffset" , & self . RegionOffset ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SCM_REGION { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Size == other . Size && self . Flags == other . Flags && self . NfitHandle == other . NfitHandle && self . LogicalDeviceGuid == other . LogicalDeviceGuid && self . AddressRangeType == other . AddressRangeType && self . AssociatedId == other . AssociatedId && self . Length == other . Length && self . StartingDPA == other . StartingDPA && self . BaseSPA == other . BaseSPA && self . SPAOffset == other . SPAOffset && self . RegionOffset == other . RegionOffset } } impl :: std :: cmp :: Eq for SCM_REGION { } unsafe impl :: windows :: Abi for SCM_REGION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SCM_REGIONS { pub Version : u32 , pub Size : u32 , pub RegionCount : u32 , pub Regions : [ SCM_REGION ;1 ] } impl SCM_REGIONS { } impl :: std :: default :: Default for SCM_REGIONS { fn default ( ) -> Self { Self { Version : 0 , Size : 0 , RegionCount : 0 , Regions : [ :: std :: default :: Default :: default ( ) ;1 ] } } } impl :: std :: fmt :: Debug for SCM_REGIONS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SCM_REGIONS" ) . field ( "Version" , & self . Version ) . field ( "Size" , & self . Size ) . field ( "RegionCount" , & self . RegionCount ) . field ( "Regions" , & self . Regions ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SCM_REGIONS { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Size == other . Size && self . RegionCount == other . RegionCount && self . Regions == other . Regions } } impl :: std :: cmp :: Eq for SCM_REGIONS { } unsafe impl :: windows :: Abi for SCM_REGIONS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct SCM_REGION_FLAG ( pub i32 ) ; pub const ScmRegionFlagNone : SCM_REGION_FLAG = SCM_REGION_FLAG ( 0i32 ) ; pub const ScmRegionFlagLabel : SCM_REGION_FLAG = SCM_REGION_FLAG ( 1i32 ) ; impl :: std :: convert :: From < i32 > for SCM_REGION_FLAG { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for SCM_REGION_FLAG { type Abi = Self ; type DefaultType = Self ; } pub const SCOPE_SECURITY_INFORMATION : i32 = 64i32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SCOPE_TABLE_AMD64 { pub Count : u32 , pub ScopeRecord : [ SCOPE_TABLE_AMD64_0 ;1 ] } impl SCOPE_TABLE_AMD64 { } impl :: std :: default :: Default for SCOPE_TABLE_AMD64 { fn default ( ) -> Self { Self { Count : 0 , ScopeRecord : [ :: std :: default :: Default :: default ( ) ;1 ] } } } impl :: std :: fmt :: Debug for SCOPE_TABLE_AMD64 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SCOPE_TABLE_AMD64" ) . field ( "Count" , & self . Count ) . field ( "ScopeRecord" , & self . ScopeRecord ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SCOPE_TABLE_AMD64 { fn eq ( & self , other : & Self ) -> bool { self . Count == other . Count && self . ScopeRecord == other . ScopeRecord } } impl :: std :: cmp :: Eq for SCOPE_TABLE_AMD64 { } unsafe impl :: windows :: Abi for SCOPE_TABLE_AMD64 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SCOPE_TABLE_AMD64_0 { pub BeginAddress : u32 , pub EndAddress : u32 , pub HandlerAddress : u32 , pub JumpTarget : u32 } impl SCOPE_TABLE_AMD64_0 { } impl :: std :: default :: Default for SCOPE_TABLE_AMD64_0 { fn default ( ) -> Self { Self { BeginAddress : 0 , EndAddress : 0 , HandlerAddress : 0 , JumpTarget : 0 } } } impl :: std :: fmt :: Debug for SCOPE_TABLE_AMD64_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Anonymous_e__Struct" ) . field ( "BeginAddress" , & self . BeginAddress ) . field ( "EndAddress" , & self . EndAddress ) . field ( "HandlerAddress" , & self . HandlerAddress ) . field ( "JumpTarget" , & self . JumpTarget ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SCOPE_TABLE_AMD64_0 { fn eq ( & self , other : & Self ) -> bool { self . BeginAddress == other . BeginAddress && self . EndAddress == other . EndAddress && self . HandlerAddress == other . HandlerAddress && self . JumpTarget == other . JumpTarget } } impl :: std :: cmp :: Eq for SCOPE_TABLE_AMD64_0 { } unsafe impl :: windows :: Abi for SCOPE_TABLE_AMD64_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SCOPE_TABLE_ARM { pub Count : u32 , pub ScopeRecord : [ SCOPE_TABLE_ARM_0 ;1 ] } impl SCOPE_TABLE_ARM { } impl :: std :: default :: Default for SCOPE_TABLE_ARM { fn default ( ) -> Self { Self { Count : 0 , ScopeRecord : [ :: std :: default :: Default :: default ( ) ;1 ] } } } impl :: std :: fmt :: Debug for SCOPE_TABLE_ARM { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SCOPE_TABLE_ARM" ) . field ( "Count" , & self . Count ) . field ( "ScopeRecord" , & self . ScopeRecord ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SCOPE_TABLE_ARM { fn eq ( & self , other : & Self ) -> bool { self . Count == other . Count && self . ScopeRecord == other . ScopeRecord } } impl :: std :: cmp :: Eq for SCOPE_TABLE_ARM { } unsafe impl :: windows :: Abi for SCOPE_TABLE_ARM { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SCOPE_TABLE_ARM_0 { pub BeginAddress : u32 , pub EndAddress : u32 , pub HandlerAddress : u32 , pub JumpTarget : u32 } impl SCOPE_TABLE_ARM_0 { } impl :: std :: default :: Default for SCOPE_TABLE_ARM_0 { fn default ( ) -> Self { Self { BeginAddress : 0 , EndAddress : 0 , HandlerAddress : 0 , JumpTarget : 0 } } } impl :: std :: fmt :: Debug for SCOPE_TABLE_ARM_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Anonymous_e__Struct" ) . field ( "BeginAddress" , & self . BeginAddress ) . field ( "EndAddress" , & self . EndAddress ) . field ( "HandlerAddress" , & self . HandlerAddress ) . field ( "JumpTarget" , & self . JumpTarget ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SCOPE_TABLE_ARM_0 { fn eq ( & self , other : & Self ) -> bool { self . BeginAddress == other . BeginAddress && self . EndAddress == other . EndAddress && self . HandlerAddress == other . HandlerAddress && self . JumpTarget == other . JumpTarget } } impl :: std :: cmp :: Eq for SCOPE_TABLE_ARM_0 { } unsafe impl :: windows :: Abi for SCOPE_TABLE_ARM_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SCOPE_TABLE_ARM64 { pub Count : u32 , pub ScopeRecord : [ SCOPE_TABLE_ARM64_0 ;1 ] } impl SCOPE_TABLE_ARM64 { } impl :: std :: default :: Default for SCOPE_TABLE_ARM64 { fn default ( ) -> Self { Self { Count : 0 , ScopeRecord : [ :: std :: default :: Default :: default ( ) ;1 ] } } } impl :: std :: fmt :: Debug for SCOPE_TABLE_ARM64 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SCOPE_TABLE_ARM64" ) . field ( "Count" , & self . Count ) . field ( "ScopeRecord" , & self . ScopeRecord ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SCOPE_TABLE_ARM64 { fn eq ( & self , other : & Self ) -> bool { self . Count == other . Count && self . ScopeRecord == other . ScopeRecord } } impl :: std :: cmp :: Eq for SCOPE_TABLE_ARM64 { } unsafe impl :: windows :: Abi for SCOPE_TABLE_ARM64 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SCOPE_TABLE_ARM64_0 { pub BeginAddress : u32 , pub EndAddress : u32 , pub HandlerAddress : u32 , pub JumpTarget : u32 } impl SCOPE_TABLE_ARM64_0 { } impl :: std :: default :: Default for SCOPE_TABLE_ARM64_0 { fn default ( ) -> Self { Self { BeginAddress : 0 , EndAddress : 0 , HandlerAddress : 0 , JumpTarget : 0 } } } impl :: std :: fmt :: Debug for SCOPE_TABLE_ARM64_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Anonymous_e__Struct" ) . field ( "BeginAddress" , & self . BeginAddress ) . field ( "EndAddress" , & self . EndAddress ) . field ( "HandlerAddress" , & self . HandlerAddress ) . field ( "JumpTarget" , & self . JumpTarget ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SCOPE_TABLE_ARM64_0 { fn eq ( & self , other : & Self ) -> bool { self . BeginAddress == other . BeginAddress && self . EndAddress == other . EndAddress && self . HandlerAddress == other . HandlerAddress && self . JumpTarget == other . JumpTarget } } impl :: std :: cmp :: Eq for SCOPE_TABLE_ARM64_0 { } unsafe impl :: windows :: Abi for SCOPE_TABLE_ARM64_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SCRUB_DATA_INPUT { pub Size : u32 , pub Flags : u32 , pub MaximumIos : u32 , pub ObjectId : [ u32 ;4 ] , pub Reserved : [ u32 ;25 ] , pub ResumeContext : [ u8 ;816 ] } impl SCRUB_DATA_INPUT { } impl :: std :: default :: Default for SCRUB_DATA_INPUT { fn default ( ) -> Self { Self { Size : 0 , Flags : 0 , MaximumIos : 0 , ObjectId : [ 0 ;4 ] , Reserved : [ 0 ;25 ] , ResumeContext : [ 0 ;816 ] } } } impl :: std :: fmt :: Debug for SCRUB_DATA_INPUT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SCRUB_DATA_INPUT" ) . field ( "Size" , & self . Size ) . field ( "Flags" , & self . Flags ) . field ( "MaximumIos" , & self . MaximumIos ) . field ( "ObjectId" , & self . ObjectId ) . field ( "Reserved" , & self . Reserved ) . field ( "ResumeContext" , & self . ResumeContext ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SCRUB_DATA_INPUT { fn eq ( & self , other : & Self ) -> bool { self . Size == other . Size && self . Flags == other . Flags && self . MaximumIos == other . MaximumIos && self . ObjectId == other . ObjectId && self . Reserved == other . Reserved && self . ResumeContext == other . ResumeContext } } impl :: std :: cmp :: Eq for SCRUB_DATA_INPUT { } unsafe impl :: windows :: Abi for SCRUB_DATA_INPUT { type Abi = Self ; type DefaultType = Self ; } pub const SCRUB_DATA_INPUT_FLAG_IGNORE_REDUNDANCY : u32 = 8u32 ; pub const SCRUB_DATA_INPUT_FLAG_OPLOCK_NOT_ACQUIRED : u32 = 64u32 ; pub const SCRUB_DATA_INPUT_FLAG_RESUME : u32 = 1u32 ; pub const SCRUB_DATA_INPUT_FLAG_SCRUB_BY_OBJECT_ID : u32 = 32u32 ; pub const SCRUB_DATA_INPUT_FLAG_SKIP_DATA : u32 = 16u32 ; pub const SCRUB_DATA_INPUT_FLAG_SKIP_IN_SYNC : u32 = 2u32 ; pub const SCRUB_DATA_INPUT_FLAG_SKIP_NON_INTEGRITY_DATA : u32 = 4u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SCRUB_DATA_OUTPUT { pub Size : u32 , pub Flags : u32 , pub Status : u32 , pub ErrorFileOffset : u64 , pub ErrorLength : u64 , pub NumberOfBytesRepaired : u64 , pub NumberOfBytesFailed : u64 , pub InternalFileReference : u64 , pub ResumeContextLength : u16 , pub ParityExtentDataOffset : u16 , pub Reserved : [ u32 ;9 ] , pub NumberOfMetadataBytesProcessed : u64 , pub NumberOfDataBytesProcessed : u64 , pub TotalNumberOfMetadataBytesInUse : u64 , pub TotalNumberOfDataBytesInUse : u64 , pub ResumeContext : [ u8 ;816 ] } impl SCRUB_DATA_OUTPUT { } impl :: std :: default :: Default for SCRUB_DATA_OUTPUT { fn default ( ) -> Self { Self { Size : 0 , Flags : 0 , Status : 0 , ErrorFileOffset : 0 , ErrorLength : 0 , NumberOfBytesRepaired : 0 , NumberOfBytesFailed : 0 , InternalFileReference : 0 , ResumeContextLength : 0 , ParityExtentDataOffset : 0 , Reserved : [ 0 ;9 ] , NumberOfMetadataBytesProcessed : 0 , NumberOfDataBytesProcessed : 0 , TotalNumberOfMetadataBytesInUse : 0 , TotalNumberOfDataBytesInUse : 0 , ResumeContext : [ 0 ;816 ] } } } impl :: std :: fmt :: Debug for SCRUB_DATA_OUTPUT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SCRUB_DATA_OUTPUT" ) . field ( "Size" , & self . Size ) . field ( "Flags" , & self . Flags ) . field ( "Status" , & self . Status ) . field ( "ErrorFileOffset" , & self . ErrorFileOffset ) . field ( "ErrorLength" , & self . ErrorLength ) . field ( "NumberOfBytesRepaired" , & self . NumberOfBytesRepaired ) . field ( "NumberOfBytesFailed" , & self . NumberOfBytesFailed ) . field ( "InternalFileReference" , & self . InternalFileReference ) . field ( "ResumeContextLength" , & self . ResumeContextLength ) . field ( "ParityExtentDataOffset" , & self . ParityExtentDataOffset ) . field ( "Reserved" , & self . Reserved ) . field ( "NumberOfMetadataBytesProcessed" , & self . NumberOfMetadataBytesProcessed ) . field ( "NumberOfDataBytesProcessed" , & self . NumberOfDataBytesProcessed ) . field ( "TotalNumberOfMetadataBytesInUse" , & self . TotalNumberOfMetadataBytesInUse ) . field ( "TotalNumberOfDataBytesInUse" , & self . TotalNumberOfDataBytesInUse ) . field ( "ResumeContext" , & self . ResumeContext ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SCRUB_DATA_OUTPUT { fn eq ( & self , other : & Self ) -> bool { self . Size == other . Size && self . Flags == other . Flags && self . Status == other . Status && self . ErrorFileOffset == other . ErrorFileOffset && self . ErrorLength == other . ErrorLength && self . NumberOfBytesRepaired == other . NumberOfBytesRepaired && self . NumberOfBytesFailed == other . NumberOfBytesFailed && self . InternalFileReference == other . InternalFileReference && self . ResumeContextLength == other . ResumeContextLength && self . ParityExtentDataOffset == other . ParityExtentDataOffset && self . Reserved == other . Reserved && self . NumberOfMetadataBytesProcessed == other . NumberOfMetadataBytesProcessed && self . NumberOfDataBytesProcessed == other . NumberOfDataBytesProcessed && self . TotalNumberOfMetadataBytesInUse == other . TotalNumberOfMetadataBytesInUse && self . TotalNumberOfDataBytesInUse == other . TotalNumberOfDataBytesInUse && self . ResumeContext == other . ResumeContext } } impl :: std :: cmp :: Eq for SCRUB_DATA_OUTPUT { } unsafe impl :: windows :: Abi for SCRUB_DATA_OUTPUT { type Abi = Self ; type DefaultType = Self ; } pub const SCRUB_DATA_OUTPUT_FLAG_INCOMPLETE : u32 = 1u32 ; pub const SCRUB_DATA_OUTPUT_FLAG_NON_USER_DATA_RANGE : u32 = 65536u32 ; pub const SCRUB_DATA_OUTPUT_FLAG_PARITY_EXTENT_DATA_RETURNED : u32 = 131072u32 ; pub const SCRUB_DATA_OUTPUT_FLAG_RESUME_CONTEXT_LENGTH_SPECIFIED : u32 = 262144u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SCRUB_PARITY_EXTENT { pub Offset : i64 , pub Length : u64 } impl SCRUB_PARITY_EXTENT { } impl :: std :: default :: Default for SCRUB_PARITY_EXTENT { fn default ( ) -> Self { Self { Offset : 0 , Length : 0 } } } impl :: std :: fmt :: Debug for SCRUB_PARITY_EXTENT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SCRUB_PARITY_EXTENT" ) . field ( "Offset" , & self . Offset ) . field ( "Length" , & self . Length ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SCRUB_PARITY_EXTENT { fn eq ( & self , other : & Self ) -> bool { self . Offset == other . Offset && self . Length == other . Length } } impl :: std :: cmp :: Eq for SCRUB_PARITY_EXTENT { } unsafe impl :: windows :: Abi for SCRUB_PARITY_EXTENT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SCRUB_PARITY_EXTENT_DATA { pub Size : u16 , pub Flags : u16 , pub NumberOfParityExtents : u16 , pub MaximumNumberOfParityExtents : u16 , pub ParityExtents : [ SCRUB_PARITY_EXTENT ;1 ] } impl SCRUB_PARITY_EXTENT_DATA { } impl :: std :: default :: Default for SCRUB_PARITY_EXTENT_DATA { fn default ( ) -> Self { Self { Size : 0 , Flags : 0 , NumberOfParityExtents : 0 , MaximumNumberOfParityExtents : 0 , ParityExtents : [ :: std :: default :: Default :: default ( ) ;1 ] } } } impl :: std :: fmt :: Debug for SCRUB_PARITY_EXTENT_DATA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SCRUB_PARITY_EXTENT_DATA" ) . field ( "Size" , & self . Size ) . field ( "Flags" , & self . Flags ) . field ( "NumberOfParityExtents" , & self . NumberOfParityExtents ) . field ( "MaximumNumberOfParityExtents" , & self . MaximumNumberOfParityExtents ) . field ( "ParityExtents" , & self . ParityExtents ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SCRUB_PARITY_EXTENT_DATA { fn eq ( & self , other : & Self ) -> bool { self . Size == other . Size && self . Flags == other . Flags && self . NumberOfParityExtents == other . NumberOfParityExtents && self . MaximumNumberOfParityExtents == other . MaximumNumberOfParityExtents && self . ParityExtents == other . ParityExtents } } impl :: std :: cmp :: Eq for SCRUB_PARITY_EXTENT_DATA { } unsafe impl :: windows :: Abi for SCRUB_PARITY_EXTENT_DATA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SD_CHANGE_MACHINE_SID_INPUT { pub CurrentMachineSIDOffset : u16 , pub CurrentMachineSIDLength : u16 , pub NewMachineSIDOffset : u16 , pub NewMachineSIDLength : u16 } impl SD_CHANGE_MACHINE_SID_INPUT { } impl :: std :: default :: Default for SD_CHANGE_MACHINE_SID_INPUT { fn default ( ) -> Self { Self { CurrentMachineSIDOffset : 0 , CurrentMachineSIDLength : 0 , NewMachineSIDOffset : 0 , NewMachineSIDLength : 0 } } } impl :: std :: fmt :: Debug for SD_CHANGE_MACHINE_SID_INPUT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SD_CHANGE_MACHINE_SID_INPUT" ) . field ( "CurrentMachineSIDOffset" , & self . CurrentMachineSIDOffset ) . field ( "CurrentMachineSIDLength" , & self . CurrentMachineSIDLength ) . field ( "NewMachineSIDOffset" , & self . NewMachineSIDOffset ) . field ( "NewMachineSIDLength" , & self . NewMachineSIDLength ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SD_CHANGE_MACHINE_SID_INPUT { fn eq ( & self , other : & Self ) -> bool { self . CurrentMachineSIDOffset == other . CurrentMachineSIDOffset && self . CurrentMachineSIDLength == other . CurrentMachineSIDLength && self . NewMachineSIDOffset == other . NewMachineSIDOffset && self . NewMachineSIDLength == other . NewMachineSIDLength } } impl :: std :: cmp :: Eq for SD_CHANGE_MACHINE_SID_INPUT { } unsafe impl :: windows :: Abi for SD_CHANGE_MACHINE_SID_INPUT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SD_CHANGE_MACHINE_SID_OUTPUT { pub NumSDChangedSuccess : u64 , pub NumSDChangedFail : u64 , pub NumSDUnused : u64 , pub NumSDTotal : u64 , pub NumMftSDChangedSuccess : u64 , pub NumMftSDChangedFail : u64 , pub NumMftSDTotal : u64 } impl SD_CHANGE_MACHINE_SID_OUTPUT { } impl :: std :: default :: Default for SD_CHANGE_MACHINE_SID_OUTPUT { fn default ( ) -> Self { Self { NumSDChangedSuccess : 0 , NumSDChangedFail : 0 , NumSDUnused : 0 , NumSDTotal : 0 , NumMftSDChangedSuccess : 0 , NumMftSDChangedFail : 0 , NumMftSDTotal : 0 } } } impl :: std :: fmt :: Debug for SD_CHANGE_MACHINE_SID_OUTPUT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SD_CHANGE_MACHINE_SID_OUTPUT" ) . field ( "NumSDChangedSuccess" , & self . NumSDChangedSuccess ) . field ( "NumSDChangedFail" , & self . NumSDChangedFail ) . field ( "NumSDUnused" , & self . NumSDUnused ) . field ( "NumSDTotal" , & self . NumSDTotal ) . field ( "NumMftSDChangedSuccess" , & self . NumMftSDChangedSuccess ) . field ( "NumMftSDChangedFail" , & self . NumMftSDChangedFail ) . field ( "NumMftSDTotal" , & self . NumMftSDTotal ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SD_CHANGE_MACHINE_SID_OUTPUT { fn eq ( & self , other : & Self ) -> bool { self . NumSDChangedSuccess == other . NumSDChangedSuccess && self . NumSDChangedFail == other . NumSDChangedFail && self . NumSDUnused == other . NumSDUnused && self . NumSDTotal == other . NumSDTotal && self . NumMftSDChangedSuccess == other . NumMftSDChangedSuccess && self . NumMftSDChangedFail == other . NumMftSDChangedFail && self . NumMftSDTotal == other . NumMftSDTotal } } impl :: std :: cmp :: Eq for SD_CHANGE_MACHINE_SID_OUTPUT { } unsafe impl :: windows :: Abi for SD_CHANGE_MACHINE_SID_OUTPUT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SD_ENUM_SDS_ENTRY { pub Hash : u32 , pub SecurityId : u32 , pub Offset : u64 , pub Length : u32 , pub Descriptor : [ u8 ;1 ] } impl SD_ENUM_SDS_ENTRY { } impl :: std :: default :: Default for SD_ENUM_SDS_ENTRY { fn default ( ) -> Self { Self { Hash : 0 , SecurityId : 0 , Offset : 0 , Length : 0 , Descriptor : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for SD_ENUM_SDS_ENTRY { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SD_ENUM_SDS_ENTRY" ) . field ( "Hash" , & self . Hash ) . field ( "SecurityId" , & self . SecurityId ) . field ( "Offset" , & self . Offset ) . field ( "Length" , & self . Length ) . field ( "Descriptor" , & self . Descriptor ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SD_ENUM_SDS_ENTRY { fn eq ( & self , other : & Self ) -> bool { self . Hash == other . Hash && self . SecurityId == other . SecurityId && self . Offset == other . Offset && self . Length == other . Length && self . Descriptor == other . Descriptor } } impl :: std :: cmp :: Eq for SD_ENUM_SDS_ENTRY { } unsafe impl :: windows :: Abi for SD_ENUM_SDS_ENTRY { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SD_ENUM_SDS_INPUT { pub StartingOffset : u64 , pub MaxSDEntriesToReturn : u64 } impl SD_ENUM_SDS_INPUT { } impl :: std :: default :: Default for SD_ENUM_SDS_INPUT { fn default ( ) -> Self { Self { StartingOffset : 0 , MaxSDEntriesToReturn : 0 } } } impl :: std :: fmt :: Debug for SD_ENUM_SDS_INPUT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SD_ENUM_SDS_INPUT" ) . field ( "StartingOffset" , & self . StartingOffset ) . field ( "MaxSDEntriesToReturn" , & self . MaxSDEntriesToReturn ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SD_ENUM_SDS_INPUT { fn eq ( & self , other : & Self ) -> bool { self . StartingOffset == other . StartingOffset && self . MaxSDEntriesToReturn == other . MaxSDEntriesToReturn } } impl :: std :: cmp :: Eq for SD_ENUM_SDS_INPUT { } unsafe impl :: windows :: Abi for SD_ENUM_SDS_INPUT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SD_ENUM_SDS_OUTPUT { pub NextOffset : u64 , pub NumSDEntriesReturned : u64 , pub NumSDBytesReturned : u64 , pub SDEntry : [ SD_ENUM_SDS_ENTRY ;1 ] } impl SD_ENUM_SDS_OUTPUT { } impl :: std :: default :: Default for SD_ENUM_SDS_OUTPUT { fn default ( ) -> Self { Self { NextOffset : 0 , NumSDEntriesReturned : 0 , NumSDBytesReturned : 0 , SDEntry : [ :: std :: default :: Default :: default ( ) ;1 ] } } } impl :: std :: fmt :: Debug for SD_ENUM_SDS_OUTPUT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SD_ENUM_SDS_OUTPUT" ) . field ( "NextOffset" , & self . NextOffset ) . field ( "NumSDEntriesReturned" , & self . NumSDEntriesReturned ) . field ( "NumSDBytesReturned" , & self . NumSDBytesReturned ) . field ( "SDEntry" , & self . SDEntry ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SD_ENUM_SDS_OUTPUT { fn eq ( & self , other : & Self ) -> bool { self . NextOffset == other . NextOffset && self . NumSDEntriesReturned == other . NumSDEntriesReturned && self . NumSDBytesReturned == other . NumSDBytesReturned && self . SDEntry == other . SDEntry } } impl :: std :: cmp :: Eq for SD_ENUM_SDS_OUTPUT { } unsafe impl :: windows :: Abi for SD_ENUM_SDS_OUTPUT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SD_GLOBAL_CHANGE_INPUT { pub Flags : u32 , pub ChangeType : u32 , pub Anonymous : SD_GLOBAL_CHANGE_INPUT_0 } impl SD_GLOBAL_CHANGE_INPUT { } impl :: std :: cmp :: PartialEq for SD_GLOBAL_CHANGE_INPUT { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for SD_GLOBAL_CHANGE_INPUT { } unsafe impl :: windows :: Abi for SD_GLOBAL_CHANGE_INPUT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union SD_GLOBAL_CHANGE_INPUT_0 { pub SdChange : SD_CHANGE_MACHINE_SID_INPUT , pub SdQueryStats : SD_QUERY_STATS_INPUT , pub SdEnumSds : SD_ENUM_SDS_INPUT } impl SD_GLOBAL_CHANGE_INPUT_0 { } impl :: std :: cmp :: PartialEq for SD_GLOBAL_CHANGE_INPUT_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for SD_GLOBAL_CHANGE_INPUT_0 { } unsafe impl :: windows :: Abi for SD_GLOBAL_CHANGE_INPUT_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SD_GLOBAL_CHANGE_OUTPUT { pub Flags : u32 , pub ChangeType : u32 , pub Anonymous : SD_GLOBAL_CHANGE_OUTPUT_0 } impl SD_GLOBAL_CHANGE_OUTPUT { } impl :: std :: cmp :: PartialEq for SD_GLOBAL_CHANGE_OUTPUT { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for SD_GLOBAL_CHANGE_OUTPUT { } unsafe impl :: windows :: Abi for SD_GLOBAL_CHANGE_OUTPUT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union SD_GLOBAL_CHANGE_OUTPUT_0 { pub SdChange : SD_CHANGE_MACHINE_SID_OUTPUT , pub SdQueryStats : SD_QUERY_STATS_OUTPUT , pub SdEnumSds : SD_ENUM_SDS_OUTPUT } impl SD_GLOBAL_CHANGE_OUTPUT_0 { } impl :: std :: cmp :: PartialEq for SD_GLOBAL_CHANGE_OUTPUT_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for SD_GLOBAL_CHANGE_OUTPUT_0 { } unsafe impl :: windows :: Abi for SD_GLOBAL_CHANGE_OUTPUT_0 { type Abi = Self ; type DefaultType = Self ; } pub const SD_GLOBAL_CHANGE_TYPE_ENUM_SDS : u32 = 131072u32 ; pub const SD_GLOBAL_CHANGE_TYPE_MACHINE_SID : u32 = 1u32 ; pub const SD_GLOBAL_CHANGE_TYPE_QUERY_STATS : u32 = 65536u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SD_QUERY_STATS_INPUT { pub Reserved : u32 } impl SD_QUERY_STATS_INPUT { } impl :: std :: default :: Default for SD_QUERY_STATS_INPUT { fn default ( ) -> Self { Self { Reserved : 0 } } } impl :: std :: fmt :: Debug for SD_QUERY_STATS_INPUT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SD_QUERY_STATS_INPUT" ) . field ( "Reserved" , & self . Reserved ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SD_QUERY_STATS_INPUT { fn eq ( & self , other : & Self ) -> bool { self . Reserved == other . Reserved } } impl :: std :: cmp :: Eq for SD_QUERY_STATS_INPUT { } unsafe impl :: windows :: Abi for SD_QUERY_STATS_INPUT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SD_QUERY_STATS_OUTPUT { pub SdsStreamSize : u64 , pub SdsAllocationSize : u64 , pub SiiStreamSize : u64 , pub SiiAllocationSize : u64 , pub SdhStreamSize : u64 , pub SdhAllocationSize : u64 , pub NumSDTotal : u64 , pub NumSDUnused : u64 } impl SD_QUERY_STATS_OUTPUT { } impl :: std :: default :: Default for SD_QUERY_STATS_OUTPUT { fn default ( ) -> Self { Self { SdsStreamSize : 0 , SdsAllocationSize : 0 , SiiStreamSize : 0 , SiiAllocationSize : 0 , SdhStreamSize : 0 , SdhAllocationSize : 0 , NumSDTotal : 0 , NumSDUnused : 0 } } } impl :: std :: fmt :: Debug for SD_QUERY_STATS_OUTPUT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SD_QUERY_STATS_OUTPUT" ) . field ( "SdsStreamSize" , & self . SdsStreamSize ) . field ( "SdsAllocationSize" , & self . SdsAllocationSize ) . field ( "SiiStreamSize" , & self . SiiStreamSize ) . field ( "SiiAllocationSize" , & self . SiiAllocationSize ) . field ( "SdhStreamSize" , & self . SdhStreamSize ) . field ( "SdhAllocationSize" , & self . SdhAllocationSize ) . field ( "NumSDTotal" , & self . NumSDTotal ) . field ( "NumSDUnused" , & self . NumSDUnused ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SD_QUERY_STATS_OUTPUT { fn eq ( & self , other : & Self ) -> bool { self . SdsStreamSize == other . SdsStreamSize && self . SdsAllocationSize == other . SdsAllocationSize && self . SiiStreamSize == other . SiiStreamSize && self . SiiAllocationSize == other . SiiAllocationSize && self . SdhStreamSize == other . SdhStreamSize && self . SdhAllocationSize == other . SdhAllocationSize && self . NumSDTotal == other . NumSDTotal && self . NumSDUnused == other . NumSDUnused } } impl :: std :: cmp :: Eq for SD_QUERY_STATS_OUTPUT { } unsafe impl :: windows :: Abi for SD_QUERY_STATS_OUTPUT { type Abi = Self ; type DefaultType = Self ; } pub const SEARCH_ALL : u32 = 0u32 ; pub const SEARCH_ALL_NO_SEQ : u32 = 4u32 ; pub const SEARCH_ALTERNATE : u32 = 2u32 ; pub const SEARCH_ALT_NO_SEQ : u32 = 6u32 ; pub const SEARCH_PRIMARY : u32 = 1u32 ; pub const SEARCH_PRI_NO_SEQ : u32 = 5u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct SECTION_FLAGS ( pub u32 ) ; pub const SECTION_ALL_ACCESS : SECTION_FLAGS = SECTION_FLAGS ( 983071u32 ) ; pub const SECTION_QUERY : SECTION_FLAGS = SECTION_FLAGS ( 1u32 ) ; pub const SECTION_MAP_WRITE : SECTION_FLAGS = SECTION_FLAGS ( 2u32 ) ; pub const SECTION_MAP_READ : SECTION_FLAGS = SECTION_FLAGS ( 4u32 ) ; pub const SECTION_MAP_EXECUTE : SECTION_FLAGS = SECTION_FLAGS ( 8u32 ) ; pub const SECTION_EXTEND_SIZE : SECTION_FLAGS = SECTION_FLAGS ( 16u32 ) ; pub const SECTION_MAP_EXECUTE_EXPLICIT : SECTION_FLAGS = SECTION_FLAGS ( 32u32 ) ; impl :: std :: convert :: From < u32 > for SECTION_FLAGS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for SECTION_FLAGS { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for SECTION_FLAGS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for SECTION_FLAGS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for SECTION_FLAGS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for SECTION_FLAGS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub const SECURITY_ANONYMOUS_LOGON_RID : i32 = 7i32 ; pub const SECURITY_APPPOOL_ID_BASE_RID : i32 = 82i32 ; pub const SECURITY_APPPOOL_ID_RID_COUNT : i32 = 6i32 ; pub const SECURITY_APP_PACKAGE_BASE_RID : i32 = 2i32 ; pub const SECURITY_APP_PACKAGE_RID_COUNT : i32 = 8i32 ; pub const SECURITY_AUTHENTICATED_USER_RID : i32 = 11i32 ; pub const SECURITY_AUTHENTICATION_AUTHORITY_ASSERTED_RID : i32 = 1i32 ; pub const SECURITY_AUTHENTICATION_AUTHORITY_RID_COUNT : i32 = 1i32 ; pub const SECURITY_AUTHENTICATION_FRESH_KEY_AUTH_RID : i32 = 3i32 ; pub const SECURITY_AUTHENTICATION_KEY_PROPERTY_ATTESTATION_RID : i32 = 6i32 ; pub const SECURITY_AUTHENTICATION_KEY_PROPERTY_MFA_RID : i32 = 5i32 ; pub const SECURITY_AUTHENTICATION_KEY_TRUST_RID : i32 = 4i32 ; pub const SECURITY_AUTHENTICATION_SERVICE_ASSERTED_RID : i32 = 2i32 ; pub const SECURITY_BATCH_RID : i32 = 3i32 ; pub const SECURITY_BUILTIN_APP_PACKAGE_RID_COUNT : i32 = 2i32 ; pub const SECURITY_BUILTIN_CAPABILITY_RID_COUNT : i32 = 2i32 ; pub const SECURITY_BUILTIN_DOMAIN_RID : i32 = 32i32 ; pub const SECURITY_BUILTIN_PACKAGE_ANY_PACKAGE : i32 = 1i32 ; pub const SECURITY_BUILTIN_PACKAGE_ANY_RESTRICTED_PACKAGE : i32 = 2i32 ; pub const SECURITY_CAPABILITY_APPOINTMENTS : i32 = 11i32 ; pub const SECURITY_CAPABILITY_APP_RID : u64 = 1024u64 ; pub const SECURITY_CAPABILITY_BASE_RID : i32 = 3i32 ; pub const SECURITY_CAPABILITY_CONTACTS : i32 = 12i32 ; pub const SECURITY_CAPABILITY_DOCUMENTS_LIBRARY : i32 = 7i32 ; pub const SECURITY_CAPABILITY_ENTERPRISE_AUTHENTICATION : i32 = 8i32 ; pub const SECURITY_CAPABILITY_INTERNET_CLIENT : i32 = 1i32 ; pub const SECURITY_CAPABILITY_INTERNET_CLIENT_SERVER : i32 = 2i32 ; pub const SECURITY_CAPABILITY_INTERNET_EXPLORER : i32 = 4096i32 ; pub const SECURITY_CAPABILITY_MUSIC_LIBRARY : i32 = 6i32 ; pub const SECURITY_CAPABILITY_PICTURES_LIBRARY : i32 = 4i32 ; pub const SECURITY_CAPABILITY_PRIVATE_NETWORK_CLIENT_SERVER : i32 = 3i32 ; pub const SECURITY_CAPABILITY_REMOVABLE_STORAGE : i32 = 10i32 ; pub const SECURITY_CAPABILITY_RID_COUNT : i32 = 5i32 ; pub const SECURITY_CAPABILITY_SHARED_USER_CERTIFICATES : i32 = 9i32 ; pub const SECURITY_CAPABILITY_VIDEOS_LIBRARY : i32 = 5i32 ; pub const SECURITY_CCG_ID_BASE_RID : i32 = 95i32 ; pub const SECURITY_CHILD_PACKAGE_RID_COUNT : i32 = 12i32 ; pub const SECURITY_CLOUD_INFRASTRUCTURE_SERVICES_ID_BASE_RID : i32 = 85i32 ; pub const SECURITY_CLOUD_INFRASTRUCTURE_SERVICES_ID_RID_COUNT : i32 = 6i32 ; pub const SECURITY_COM_ID_BASE_RID : i32 = 89i32 ; pub const SECURITY_CREATOR_GROUP_RID : i32 = 1i32 ; pub const SECURITY_CREATOR_GROUP_SERVER_RID : i32 = 3i32 ; pub const SECURITY_CREATOR_OWNER_RID : i32 = 0i32 ; pub const SECURITY_CREATOR_OWNER_RIGHTS_RID : i32 = 4i32 ; pub const SECURITY_CREATOR_OWNER_SERVER_RID : i32 = 2i32 ; pub const SECURITY_CRED_TYPE_BASE_RID : i32 = 65i32 ; pub const SECURITY_CRED_TYPE_RID_COUNT : i32 = 2i32 ; pub const SECURITY_CRED_TYPE_THIS_ORG_CERT_RID : i32 = 1i32 ; pub const SECURITY_DASHOST_ID_BASE_RID : i32 = 92i32 ; pub const SECURITY_DASHOST_ID_RID_COUNT : i32 = 6i32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SECURITY_DESCRIPTOR_RELATIVE { pub Revision : u8 , pub Sbz1 : u8 , pub Control : u16 , pub Owner : u32 , pub Group : u32 , pub Sacl : u32 , pub Dacl : u32 } impl SECURITY_DESCRIPTOR_RELATIVE { } impl :: std :: default :: Default for SECURITY_DESCRIPTOR_RELATIVE { fn default ( ) -> Self { Self { Revision : 0 , Sbz1 : 0 , Control : 0 , Owner : 0 , Group : 0 , Sacl : 0 , Dacl : 0 } } } impl :: std :: fmt :: Debug for SECURITY_DESCRIPTOR_RELATIVE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SECURITY_DESCRIPTOR_RELATIVE" ) . field ( "Revision" , & self . Revision ) . field ( "Sbz1" , & self . Sbz1 ) . field ( "Control" , & self . Control ) . field ( "Owner" , & self . Owner ) . field ( "Group" , & self . Group ) . field ( "Sacl" , & self . Sacl ) . field ( "Dacl" , & self . Dacl ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SECURITY_DESCRIPTOR_RELATIVE { fn eq ( & self , other : & Self ) -> bool { self . Revision == other . Revision && self . Sbz1 == other . Sbz1 && self . Control == other . Control && self . Owner == other . Owner && self . Group == other . Group && self . Sacl == other . Sacl && self . Dacl == other . Dacl } } impl :: std :: cmp :: Eq for SECURITY_DESCRIPTOR_RELATIVE { } unsafe impl :: windows :: Abi for SECURITY_DESCRIPTOR_RELATIVE { type Abi = Self ; type DefaultType = Self ; } pub const SECURITY_DESCRIPTOR_REVISION : u32 = 1u32 ; pub const SECURITY_DESCRIPTOR_REVISION1 : u32 = 1u32 ; pub const SECURITY_DIALUP_RID : i32 = 1i32 ; pub const SECURITY_ENTERPRISE_CONTROLLERS_RID : i32 = 9i32 ; pub const SECURITY_ENTERPRISE_READONLY_CONTROLLERS_RID : i32 = 22i32 ; pub const SECURITY_INSTALLER_CAPABILITY_RID_COUNT : u32 = 10u32 ; pub const SECURITY_INSTALLER_GROUP_CAPABILITY_BASE : u32 = 32u32 ; pub const SECURITY_INSTALLER_GROUP_CAPABILITY_RID_COUNT : u32 = 9u32 ; pub const SECURITY_INTERACTIVE_RID : i32 = 4i32 ; pub const SECURITY_IUSER_RID : i32 = 17i32 ; pub const SECURITY_LOCAL_ACCOUNT_AND_ADMIN_RID : i32 = 114i32 ; pub const SECURITY_LOCAL_ACCOUNT_RID : i32 = 113i32 ; pub const SECURITY_LOCAL_LOGON_RID : i32 = 1i32 ; pub const SECURITY_LOCAL_RID : i32 = 0i32 ; pub const SECURITY_LOCAL_SERVICE_RID : i32 = 19i32 ; pub const SECURITY_LOCAL_SYSTEM_RID : i32 = 18i32 ; pub const SECURITY_LOGON_IDS_RID : i32 = 5i32 ; pub const SECURITY_LOGON_IDS_RID_COUNT : i32 = 3i32 ; pub const SECURITY_MANDATORY_HIGH_RID : i32 = 12288i32 ; pub const SECURITY_MANDATORY_LOW_RID : i32 = 4096i32 ; pub const SECURITY_MANDATORY_MEDIUM_PLUS_RID : u32 = 8448u32 ; pub const SECURITY_MANDATORY_MEDIUM_RID : i32 = 8192i32 ; pub const SECURITY_MANDATORY_PROTECTED_PROCESS_RID : i32 = 20480i32 ; pub const SECURITY_MANDATORY_SYSTEM_RID : i32 = 16384i32 ; pub const SECURITY_MANDATORY_UNTRUSTED_RID : i32 = 0i32 ; pub const SECURITY_MAX_ALWAYS_FILTERED : i32 = 999i32 ; pub const SECURITY_MAX_BASE_RID : i32 = 111i32 ; pub const SECURITY_MIN_BASE_RID : i32 = 80i32 ; pub const SECURITY_MIN_NEVER_FILTERED : i32 = 1000i32 ; pub const SECURITY_NETWORK_RID : i32 = 2i32 ; pub const SECURITY_NETWORK_SERVICE_RID : i32 = 20i32 ; pub const SECURITY_NFS_ID_BASE_RID : i32 = 88i32 ; pub const SECURITY_NT_NON_UNIQUE : i32 = 21i32 ; pub const SECURITY_NT_NON_UNIQUE_SUB_AUTH_COUNT : i32 = 3i32 ; pub const SECURITY_NULL_RID : i32 = 0i32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SECURITY_OBJECT_AI_PARAMS { pub Size : u32 , pub ConstraintMask : u32 } impl SECURITY_OBJECT_AI_PARAMS { } impl :: std :: default :: Default for SECURITY_OBJECT_AI_PARAMS { fn default ( ) -> Self { Self { Size : 0 , ConstraintMask : 0 } } } impl :: std :: fmt :: Debug for SECURITY_OBJECT_AI_PARAMS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SECURITY_OBJECT_AI_PARAMS" ) . field ( "Size" , & self . Size ) . field ( "ConstraintMask" , & self . ConstraintMask ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SECURITY_OBJECT_AI_PARAMS { fn eq ( & self , other : & Self ) -> bool { self . Size == other . Size && self . ConstraintMask == other . ConstraintMask } } impl :: std :: cmp :: Eq for SECURITY_OBJECT_AI_PARAMS { } unsafe impl :: windows :: Abi for SECURITY_OBJECT_AI_PARAMS { type Abi = Self ; type DefaultType = Self ; } pub const SECURITY_OTHER_ORGANIZATION_RID : i32 = 1000i32 ; pub const SECURITY_PACKAGE_BASE_RID : i32 = 64i32 ; pub const SECURITY_PACKAGE_DIGEST_RID : i32 = 21i32 ; pub const SECURITY_PACKAGE_NTLM_RID : i32 = 10i32 ; pub const SECURITY_PACKAGE_RID_COUNT : i32 = 2i32 ; pub const SECURITY_PACKAGE_SCHANNEL_RID : i32 = 14i32 ; pub const SECURITY_PRINCIPAL_SELF_RID : i32 = 10i32 ; pub const SECURITY_PROCESS_PROTECTION_LEVEL_ANTIMALWARE_RID : i32 = 1536i32 ; pub const SECURITY_PROCESS_PROTECTION_LEVEL_APP_RID : i32 = 2048i32 ; pub const SECURITY_PROCESS_PROTECTION_LEVEL_AUTHENTICODE_RID : i32 = 1024i32 ; pub const SECURITY_PROCESS_PROTECTION_LEVEL_NONE_RID : i32 = 0i32 ; pub const SECURITY_PROCESS_PROTECTION_LEVEL_WINDOWS_RID : i32 = 4096i32 ; pub const SECURITY_PROCESS_PROTECTION_LEVEL_WINTCB_RID : i32 = 8192i32 ; pub const SECURITY_PROCESS_PROTECTION_TYPE_FULL_RID : i32 = 1024i32 ; pub const SECURITY_PROCESS_PROTECTION_TYPE_LITE_RID : i32 = 512i32 ; pub const SECURITY_PROCESS_PROTECTION_TYPE_NONE_RID : i32 = 0i32 ; pub const SECURITY_PROCESS_TRUST_AUTHORITY_RID_COUNT : i32 = 2i32 ; pub const SECURITY_PROXY_RID : i32 = 8i32 ; pub const SECURITY_RDV_GFX_BASE_RID : i32 = 91i32 ; pub const SECURITY_REMOTE_LOGON_RID : i32 = 14i32 ; pub const SECURITY_RESERVED_ID_BASE_RID : i32 = 81i32 ; pub const SECURITY_RESTRICTED_CODE_RID : i32 = 12i32 ; pub const SECURITY_SERVICE_ID_BASE_RID : i32 = 80i32 ; pub const SECURITY_SERVICE_ID_RID_COUNT : i32 = 6i32 ; pub const SECURITY_SERVICE_RID : i32 = 6i32 ; pub const SECURITY_TASK_ID_BASE_RID : i32 = 87i32 ; pub const SECURITY_TERMINAL_SERVER_RID : i32 = 13i32 ; pub const SECURITY_THIS_ORGANIZATION_RID : i32 = 15i32 ; pub const SECURITY_TRUSTED_INSTALLER_RID1 : u32 = 956008885u32 ; pub const SECURITY_TRUSTED_INSTALLER_RID2 : u32 = 3418522649u32 ; pub const SECURITY_TRUSTED_INSTALLER_RID3 : u32 = 1831038044u32 ; pub const SECURITY_TRUSTED_INSTALLER_RID4 : u32 = 1853292631u32 ; pub const SECURITY_TRUSTED_INSTALLER_RID5 : u32 = 2271478464u32 ; pub const SECURITY_UMFD_BASE_RID : i32 = 96i32 ; pub const SECURITY_USERMANAGER_ID_BASE_RID : i32 = 93i32 ; pub const SECURITY_USERMANAGER_ID_RID_COUNT : i32 = 6i32 ; pub const SECURITY_USERMODEDRIVERHOST_ID_BASE_RID : i32 = 84i32 ; pub const SECURITY_USERMODEDRIVERHOST_ID_RID_COUNT : i32 = 6i32 ; pub const SECURITY_VIRTUALACCOUNT_ID_RID_COUNT : i32 = 6i32 ; pub const SECURITY_VIRTUALSERVER_ID_BASE_RID : i32 = 83i32 ; pub const SECURITY_VIRTUALSERVER_ID_RID_COUNT : i32 = 6i32 ; pub const SECURITY_WINDOWSMOBILE_ID_BASE_RID : i32 = 112i32 ; pub const SECURITY_WINDOW_MANAGER_BASE_RID : i32 = 90i32 ; pub const SECURITY_WINRM_ID_BASE_RID : i32 = 94i32 ; pub const SECURITY_WINRM_ID_RID_COUNT : i32 = 6i32 ; pub const SECURITY_WMIHOST_ID_BASE_RID : i32 = 86i32 ; pub const SECURITY_WMIHOST_ID_RID_COUNT : i32 = 6i32 ; pub const SECURITY_WORLD_RID : i32 = 0i32 ; pub const SECURITY_WRITE_RESTRICTED_CODE_RID : i32 = 33i32 ; pub const SEF_AI_USE_EXTRA_PARAMS : u32 = 2048u32 ; pub const SEF_FORCE_USER_MODE : u32 = 8192u32 ; pub const SEMAPHORE_MODIFY_STATE : u32 = 2u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 1 ) ) ] pub struct SENDCMDINPARAMS { pub cBufferSize : u32 , pub irDriveRegs : IDEREGS , pub bDriveNumber : u8 , pub bReserved : [ u8 ;3 ] , pub dwReserved : [ u32 ;4 ] , pub bBuffer : [ u8 ;1 ] } impl SENDCMDINPARAMS { } impl :: std :: cmp :: PartialEq for SENDCMDINPARAMS { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for SENDCMDINPARAMS { } unsafe impl :: windows :: Abi for SENDCMDINPARAMS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 1 ) ) ] pub struct SENDCMDOUTPARAMS { pub cBufferSize : u32 , pub DriverStatus : DRIVERSTATUS , pub bBuffer : [ u8 ;1 ] } impl SENDCMDOUTPARAMS { } impl :: std :: cmp :: PartialEq for SENDCMDOUTPARAMS { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for SENDCMDOUTPARAMS { } unsafe impl :: windows :: Abi for SENDCMDOUTPARAMS { type Abi = Self ; type DefaultType = Self ; } pub const SERIAL_NUMBER_LENGTH : u32 = 32u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SERVERSILO_BASIC_INFORMATION { pub ServiceSessionId : u32 , pub State : SERVERSILO_STATE , pub ExitStatus : u32 , pub IsDownlevelContainer : u8 , pub ApiSetSchema : * mut :: std :: ffi :: c_void , pub HostApiSetSchema : * mut :: std :: ffi :: c_void } impl SERVERSILO_BASIC_INFORMATION { } impl :: std :: default :: Default for SERVERSILO_BASIC_INFORMATION { fn default ( ) -> Self { Self { ServiceSessionId : 0 , State : :: std :: default :: Default :: default ( ) , ExitStatus : 0 , IsDownlevelContainer : 0 , ApiSetSchema : :: std :: ptr :: null_mut ( ) , HostApiSetSchema : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for SERVERSILO_BASIC_INFORMATION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SERVERSILO_BASIC_INFORMATION" ) . field ( "ServiceSessionId" , & self . ServiceSessionId ) . field ( "State" , & self . State ) . field ( "ExitStatus" , & self . ExitStatus ) . field ( "IsDownlevelContainer" , & self . IsDownlevelContainer ) . field ( "ApiSetSchema" , & self . ApiSetSchema ) . field ( "HostApiSetSchema" , & self . HostApiSetSchema ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SERVERSILO_BASIC_INFORMATION { fn eq ( & self , other : & Self ) -> bool { self . ServiceSessionId == other . ServiceSessionId && self . State == other . State && self . ExitStatus == other . ExitStatus && self . IsDownlevelContainer == other . IsDownlevelContainer && self . ApiSetSchema == other . ApiSetSchema && self . HostApiSetSchema == other . HostApiSetSchema } } impl :: std :: cmp :: Eq for SERVERSILO_BASIC_INFORMATION { } unsafe impl :: windows :: Abi for SERVERSILO_BASIC_INFORMATION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct SERVERSILO_STATE ( pub i32 ) ; pub const SERVERSILO_INITING : SERVERSILO_STATE = SERVERSILO_STATE ( 0i32 ) ; pub const SERVERSILO_STARTED : SERVERSILO_STATE = SERVERSILO_STATE ( 1i32 ) ; pub const SERVERSILO_SHUTTING_DOWN : SERVERSILO_STATE = SERVERSILO_STATE ( 2i32 ) ; pub const SERVERSILO_TERMINATING : SERVERSILO_STATE = SERVERSILO_STATE ( 3i32 ) ; pub const SERVERSILO_TERMINATED : SERVERSILO_STATE = SERVERSILO_STATE ( 4i32 ) ; impl :: std :: convert :: From < i32 > for SERVERSILO_STATE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for SERVERSILO_STATE { type Abi = Self ; type DefaultType = Self ; } pub const SERVICE_INTERACTIVE_PROCESS : u32 = 256u32 ; pub const SERVICE_PKG_SERVICE : u32 = 512u32 ; pub const SERVICE_USERSERVICE_INSTANCE : u32 = 128u32 ; pub const SERVICE_USER_SERVICE : u32 = 64u32 ; pub const SESSION_MODIFY_ACCESS : u32 = 2u32 ; pub const SESSION_QUERY_ACCESS : u32 = 1u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SET_DAX_ALLOC_ALIGNMENT_HINT_INPUT { pub Flags : u32 , pub AlignmentShift : u32 , pub FileOffsetToAlign : u64 , pub FallbackAlignmentShift : u32 } impl SET_DAX_ALLOC_ALIGNMENT_HINT_INPUT { } impl :: std :: default :: Default for SET_DAX_ALLOC_ALIGNMENT_HINT_INPUT { fn default ( ) -> Self { Self { Flags : 0 , AlignmentShift : 0 , FileOffsetToAlign : 0 , FallbackAlignmentShift : 0 } } } impl :: std :: fmt :: Debug for SET_DAX_ALLOC_ALIGNMENT_HINT_INPUT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SET_DAX_ALLOC_ALIGNMENT_HINT_INPUT" ) . field ( "Flags" , & self . Flags ) . field ( "AlignmentShift" , & self . AlignmentShift ) . field ( "FileOffsetToAlign" , & self . FileOffsetToAlign ) . field ( "FallbackAlignmentShift" , & self . FallbackAlignmentShift ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SET_DAX_ALLOC_ALIGNMENT_HINT_INPUT { fn eq ( & self , other : & Self ) -> bool { self . Flags == other . Flags && self . AlignmentShift == other . AlignmentShift && self . FileOffsetToAlign == other . FileOffsetToAlign && self . FallbackAlignmentShift == other . FallbackAlignmentShift } } impl :: std :: cmp :: Eq for SET_DAX_ALLOC_ALIGNMENT_HINT_INPUT { } unsafe impl :: windows :: Abi for SET_DAX_ALLOC_ALIGNMENT_HINT_INPUT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SET_PARTITION_INFORMATION_EX { pub PartitionStyle : super::super::Storage::FileSystem:: PARTITION_STYLE , pub Anonymous : SET_PARTITION_INFORMATION_EX_0 } impl SET_PARTITION_INFORMATION_EX { } impl :: std :: cmp :: PartialEq for SET_PARTITION_INFORMATION_EX { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for SET_PARTITION_INFORMATION_EX { } unsafe impl :: windows :: Abi for SET_PARTITION_INFORMATION_EX { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union SET_PARTITION_INFORMATION_EX_0 { pub Mbr : super::super::Storage::FileSystem:: SET_PARTITION_INFORMATION , pub Gpt : super::super::Storage::FileSystem:: PARTITION_INFORMATION_GPT } impl SET_PARTITION_INFORMATION_EX_0 { } impl :: std :: cmp :: PartialEq for SET_PARTITION_INFORMATION_EX_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for SET_PARTITION_INFORMATION_EX_0 { } unsafe impl :: windows :: Abi for SET_PARTITION_INFORMATION_EX_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SET_POWER_SETTING_VALUE { pub Version : u32 , pub Guid : :: windows :: Guid , pub PowerCondition : super::Power:: SYSTEM_POWER_CONDITION , pub DataLength : u32 , pub Data : [ u8 ;1 ] } impl SET_POWER_SETTING_VALUE { } impl :: std :: default :: Default for SET_POWER_SETTING_VALUE { fn default ( ) -> Self { Self { Version : 0 , Guid : :: std :: default :: Default :: default ( ) , PowerCondition : :: std :: default :: Default :: default ( ) , DataLength : 0 , Data : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for SET_POWER_SETTING_VALUE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SET_POWER_SETTING_VALUE" ) . field ( "Version" , & self . Version ) . field ( "Guid" , & self . Guid ) . field ( "PowerCondition" , & self . PowerCondition ) . field ( "DataLength" , & self . DataLength ) . field ( "Data" , & self . Data ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SET_POWER_SETTING_VALUE { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Guid == other . Guid && self . PowerCondition == other . PowerCondition && self . DataLength == other . DataLength && self . Data == other . Data } } impl :: std :: cmp :: Eq for SET_POWER_SETTING_VALUE { } unsafe impl :: windows :: Abi for SET_POWER_SETTING_VALUE { type Abi = Self ; type DefaultType = Self ; } pub const SET_PURGE_FAILURE_MODE_DISABLED : u32 = 2u32 ; pub const SET_PURGE_FAILURE_MODE_ENABLED : u32 = 1u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SET_PURGE_FAILURE_MODE_INPUT { pub Flags : u32 } impl SET_PURGE_FAILURE_MODE_INPUT { } impl :: std :: default :: Default for SET_PURGE_FAILURE_MODE_INPUT { fn default ( ) -> Self { Self { Flags : 0 } } } impl :: std :: fmt :: Debug for SET_PURGE_FAILURE_MODE_INPUT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SET_PURGE_FAILURE_MODE_INPUT" ) . field ( "Flags" , & self . Flags ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SET_PURGE_FAILURE_MODE_INPUT { fn eq ( & self , other : & Self ) -> bool { self . Flags == other . Flags } } impl :: std :: cmp :: Eq for SET_PURGE_FAILURE_MODE_INPUT { } unsafe impl :: windows :: Abi for SET_PURGE_FAILURE_MODE_INPUT { type Abi = Self ; type DefaultType = Self ; } pub const SET_REPAIR_DISABLED_AND_BUGCHECK_ON_CORRUPT : u32 = 16u32 ; pub const SET_REPAIR_ENABLED : u32 = 1u32 ; pub const SET_REPAIR_VALID_MASK : u32 = 25u32 ; pub const SET_REPAIR_WARN_ABOUT_DATA_LOSS : u32 = 8u32 ; pub const SE_ACCESS_CHECK_FLAG_NO_LEARNING_MODE_LOGGING : u32 = 8u32 ; pub const SE_ACCESS_CHECK_VALID_FLAGS : u32 = 8u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SE_ACCESS_REPLY { pub Size : u32 , pub ResultListCount : u32 , pub GrantedAccess : * mut u32 , pub AccessStatus : * mut u32 , pub AccessReason : * mut ACCESS_REASONS , pub Privileges : * mut * mut super::super::Security:: PRIVILEGE_SET } impl SE_ACCESS_REPLY { } impl :: std :: default :: Default for SE_ACCESS_REPLY { fn default ( ) -> Self { Self { Size : 0 , ResultListCount : 0 , GrantedAccess : :: std :: ptr :: null_mut ( ) , AccessStatus : :: std :: ptr :: null_mut ( ) , AccessReason : :: std :: ptr :: null_mut ( ) , Privileges : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for SE_ACCESS_REPLY { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SE_ACCESS_REPLY" ) . field ( "Size" , & self . Size ) . field ( "ResultListCount" , & self . ResultListCount ) . field ( "GrantedAccess" , & self . GrantedAccess ) . field ( "AccessStatus" , & self . AccessStatus ) . field ( "AccessReason" , & self . AccessReason ) . field ( "Privileges" , & self . Privileges ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SE_ACCESS_REPLY { fn eq ( & self , other : & Self ) -> bool { self . Size == other . Size && self . ResultListCount == other . ResultListCount && self . GrantedAccess == other . GrantedAccess && self . AccessStatus == other . AccessStatus && self . AccessReason == other . AccessReason && self . Privileges == other . Privileges } } impl :: std :: cmp :: Eq for SE_ACCESS_REPLY { } unsafe impl :: windows :: Abi for SE_ACCESS_REPLY { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SE_ACCESS_REQUEST { pub Size : u32 , pub SeSecurityDescriptor : * mut SE_SECURITY_DESCRIPTOR , pub DesiredAccess : u32 , pub PreviouslyGrantedAccess : u32 , pub PrincipalSelfSid : super::super::Foundation:: PSID , pub GenericMapping : * mut super::super::Security:: GENERIC_MAPPING , pub ObjectTypeListCount : u32 , pub ObjectTypeList : * mut super::super::Security:: OBJECT_TYPE_LIST } impl SE_ACCESS_REQUEST { } impl :: std :: default :: Default for SE_ACCESS_REQUEST { fn default ( ) -> Self { Self { Size : 0 , SeSecurityDescriptor : :: std :: ptr :: null_mut ( ) , DesiredAccess : 0 , PreviouslyGrantedAccess : 0 , PrincipalSelfSid : :: std :: default :: Default :: default ( ) , GenericMapping : :: std :: ptr :: null_mut ( ) , ObjectTypeListCount : 0 , ObjectTypeList : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for SE_ACCESS_REQUEST { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SE_ACCESS_REQUEST" ) . field ( "Size" , & self . Size ) . field ( "SeSecurityDescriptor" , & self . SeSecurityDescriptor ) . field ( "DesiredAccess" , & self . DesiredAccess ) . field ( "PreviouslyGrantedAccess" , & self . PreviouslyGrantedAccess ) . field ( "PrincipalSelfSid" , & self . PrincipalSelfSid ) . field ( "GenericMapping" , & self . GenericMapping ) . field ( "ObjectTypeListCount" , & self . ObjectTypeListCount ) . field ( "ObjectTypeList" , & self . ObjectTypeList ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SE_ACCESS_REQUEST { fn eq ( & self , other : & Self ) -> bool { self . Size == other . Size && self . SeSecurityDescriptor == other . SeSecurityDescriptor && self . DesiredAccess == other . DesiredAccess && self . PreviouslyGrantedAccess == other . PreviouslyGrantedAccess && self . PrincipalSelfSid == other . PrincipalSelfSid && self . GenericMapping == other . GenericMapping && self . ObjectTypeListCount == other . ObjectTypeListCount && self . ObjectTypeList == other . ObjectTypeList } } impl :: std :: cmp :: Eq for SE_ACCESS_REQUEST { } unsafe impl :: windows :: Abi for SE_ACCESS_REQUEST { type Abi = Self ; type DefaultType = Self ; } pub const SE_DACL_AUTO_INHERITED : u32 = 1024u32 ; pub const SE_DACL_AUTO_INHERIT_REQ : u32 = 256u32 ; pub const SE_DACL_DEFAULTED : u32 = 8u32 ; pub const SE_DACL_PRESENT : u32 = 4u32 ; pub const SE_DACL_PROTECTED : u32 = 4096u32 ; pub const SE_GROUP_DEFAULTED : u32 = 2u32 ; pub const SE_GROUP_ENABLED : i32 = 4i32 ; pub const SE_GROUP_ENABLED_BY_DEFAULT : i32 = 2i32 ; pub const SE_GROUP_INTEGRITY : i32 = 32i32 ; pub const SE_GROUP_INTEGRITY_ENABLED : i32 = 64i32 ; pub const SE_GROUP_LOGON_ID : i32 = -1073741824i32 ; pub const SE_GROUP_MANDATORY : i32 = 1i32 ; pub const SE_GROUP_OWNER : i32 = 8i32 ; pub const SE_GROUP_RESOURCE : i32 = 536870912i32 ; pub const SE_GROUP_USE_FOR_DENY_ONLY : i32 = 16i32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct SE_IMAGE_SIGNATURE_TYPE ( pub i32 ) ; pub const SeImageSignatureNone : SE_IMAGE_SIGNATURE_TYPE = SE_IMAGE_SIGNATURE_TYPE ( 0i32 ) ; pub const SeImageSignatureEmbedded : SE_IMAGE_SIGNATURE_TYPE = SE_IMAGE_SIGNATURE_TYPE ( 1i32 ) ; pub const SeImageSignatureCache : SE_IMAGE_SIGNATURE_TYPE = SE_IMAGE_SIGNATURE_TYPE ( 2i32 ) ; pub const SeImageSignatureCatalogCached : SE_IMAGE_SIGNATURE_TYPE = SE_IMAGE_SIGNATURE_TYPE ( 3i32 ) ; pub const SeImageSignatureCatalogNotCached : SE_IMAGE_SIGNATURE_TYPE = SE_IMAGE_SIGNATURE_TYPE ( 4i32 ) ; pub const SeImageSignatureCatalogHint : SE_IMAGE_SIGNATURE_TYPE = SE_IMAGE_SIGNATURE_TYPE ( 5i32 ) ; pub const SeImageSignaturePackageCatalog : SE_IMAGE_SIGNATURE_TYPE = SE_IMAGE_SIGNATURE_TYPE ( 6i32 ) ; impl :: std :: convert :: From < i32 > for SE_IMAGE_SIGNATURE_TYPE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for SE_IMAGE_SIGNATURE_TYPE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SE_IMPERSONATION_STATE { pub Token : * mut :: std :: ffi :: c_void , pub CopyOnOpen : u8 , pub EffectiveOnly : u8 , pub Level : super::super::Security:: SECURITY_IMPERSONATION_LEVEL } impl SE_IMPERSONATION_STATE { } impl :: std :: default :: Default for SE_IMPERSONATION_STATE { fn default ( ) -> Self { Self { Token : :: std :: ptr :: null_mut ( ) , CopyOnOpen : 0 , EffectiveOnly : 0 , Level : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for SE_IMPERSONATION_STATE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SE_IMPERSONATION_STATE" ) . field ( "Token" , & self . Token ) . field ( "CopyOnOpen" , & self . CopyOnOpen ) . field ( "EffectiveOnly" , & self . EffectiveOnly ) . field ( "Level" , & self . Level ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SE_IMPERSONATION_STATE { fn eq ( & self , other : & Self ) -> bool { self . Token == other . Token && self . CopyOnOpen == other . CopyOnOpen && self . EffectiveOnly == other . EffectiveOnly && self . Level == other . Level } } impl :: std :: cmp :: Eq for SE_IMPERSONATION_STATE { } unsafe impl :: windows :: Abi for SE_IMPERSONATION_STATE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct SE_LEARNING_MODE_DATA_TYPE ( pub i32 ) ; pub const SeLearningModeInvalidType : SE_LEARNING_MODE_DATA_TYPE = SE_LEARNING_MODE_DATA_TYPE ( 0i32 ) ; pub const SeLearningModeSettings : SE_LEARNING_MODE_DATA_TYPE = SE_LEARNING_MODE_DATA_TYPE ( 1i32 ) ; pub const SeLearningModeMax : SE_LEARNING_MODE_DATA_TYPE = SE_LEARNING_MODE_DATA_TYPE ( 2i32 ) ; impl :: std :: convert :: From < i32 > for SE_LEARNING_MODE_DATA_TYPE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for SE_LEARNING_MODE_DATA_TYPE { type Abi = Self ; type DefaultType = Self ; } pub const SE_LEARNING_MODE_FLAG_PERMISSIVE : u32 = 1u32 ; pub const SE_OWNER_DEFAULTED : u32 = 1u32 ; pub const SE_RM_CONTROL_VALID : u32 = 16384u32 ; pub const SE_SACL_AUTO_INHERITED : u32 = 2048u32 ; pub const SE_SACL_AUTO_INHERIT_REQ : u32 = 512u32 ; pub const SE_SACL_DEFAULTED : u32 = 32u32 ; pub const SE_SACL_PRESENT : u32 = 16u32 ; pub const SE_SACL_PROTECTED : u32 = 8192u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SE_SECURITY_DESCRIPTOR { pub Size : u32 , pub Flags : u32 , pub SecurityDescriptor : * mut super::super::Security:: SECURITY_DESCRIPTOR } impl SE_SECURITY_DESCRIPTOR { } impl :: std :: default :: Default for SE_SECURITY_DESCRIPTOR { fn default ( ) -> Self { Self { Size : 0 , Flags : 0 , SecurityDescriptor : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for SE_SECURITY_DESCRIPTOR { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SE_SECURITY_DESCRIPTOR" ) . field ( "Size" , & self . Size ) . field ( "Flags" , & self . Flags ) . field ( "SecurityDescriptor" , & self . SecurityDescriptor ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SE_SECURITY_DESCRIPTOR { fn eq ( & self , other : & Self ) -> bool { self . Size == other . Size && self . Flags == other . Flags && self . SecurityDescriptor == other . SecurityDescriptor } } impl :: std :: cmp :: Eq for SE_SECURITY_DESCRIPTOR { } unsafe impl :: windows :: Abi for SE_SECURITY_DESCRIPTOR { type Abi = Self ; type DefaultType = Self ; } pub const SE_SECURITY_DESCRIPTOR_FLAG_NO_ACCESS_FILTER_ACE : u32 = 4u32 ; pub const SE_SECURITY_DESCRIPTOR_FLAG_NO_LABEL_ACE : u32 = 2u32 ; pub const SE_SECURITY_DESCRIPTOR_FLAG_NO_OWNER_ACE : u32 = 1u32 ; pub const SE_SECURITY_DESCRIPTOR_VALID_FLAGS : u32 = 7u32 ; pub const SE_SELF_RELATIVE : u32 = 32768u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union SE_SID { pub Sid : super::super::Security:: SID , pub Buffer : [ u8 ;68 ] } impl SE_SID { } impl :: std :: cmp :: PartialEq for SE_SID { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for SE_SID { } unsafe impl :: windows :: Abi for SE_SID { type Abi = Self ; type DefaultType = Self ; } pub const SE_SIGNING_LEVEL_AUTHENTICODE : u32 = 4u32 ; pub const SE_SIGNING_LEVEL_CUSTOM_1 : u32 = 3u32 ; pub const SE_SIGNING_LEVEL_CUSTOM_2 : u32 = 5u32 ; pub const SE_SIGNING_LEVEL_CUSTOM_3 : u32 = 7u32 ; pub const SE_SIGNING_LEVEL_CUSTOM_4 : u32 = 9u32 ; pub const SE_SIGNING_LEVEL_CUSTOM_5 : u32 = 10u32 ; pub const SE_SIGNING_LEVEL_CUSTOM_6 : u32 = 15u32 ; pub const SE_SIGNING_LEVEL_CUSTOM_7 : u32 = 13u32 ; pub const SE_SIGNING_LEVEL_DYNAMIC_CODEGEN : u32 = 11u32 ; pub const SE_SIGNING_LEVEL_ENTERPRISE : u32 = 2u32 ; pub const SE_SIGNING_LEVEL_MICROSOFT : u32 = 8u32 ; pub const SE_SIGNING_LEVEL_STORE : u32 = 6u32 ; pub const SE_SIGNING_LEVEL_UNCHECKED : u32 = 0u32 ; pub const SE_SIGNING_LEVEL_UNSIGNED : u32 = 1u32 ; pub const SE_SIGNING_LEVEL_WINDOWS : u32 = 12u32 ; pub const SE_SIGNING_LEVEL_WINDOWS_TCB : u32 = 14u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SE_TOKEN_USER { pub Anonymous1 : SE_TOKEN_USER_0 , pub Anonymous2 : SE_TOKEN_USER_1 } impl SE_TOKEN_USER { } impl :: std :: cmp :: PartialEq for SE_TOKEN_USER { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for SE_TOKEN_USER { } unsafe impl :: windows :: Abi for SE_TOKEN_USER { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union SE_TOKEN_USER_0 { pub TokenUser : super::super::Security:: TOKEN_USER , pub User : super::super::Security:: SID_AND_ATTRIBUTES } impl SE_TOKEN_USER_0 { } impl :: std :: cmp :: PartialEq for SE_TOKEN_USER_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for SE_TOKEN_USER_0 { } unsafe impl :: windows :: Abi for SE_TOKEN_USER_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union SE_TOKEN_USER_1 { pub Sid : super::super::Security:: SID , pub Buffer : [ u8 ;68 ] } impl SE_TOKEN_USER_1 { } impl :: std :: cmp :: PartialEq for SE_TOKEN_USER_1 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for SE_TOKEN_USER_1 { } unsafe impl :: windows :: Abi for SE_TOKEN_USER_1 { type Abi = Self ; type DefaultType = Self ; } pub const SGI_EXTRASPACE : u32 = 0u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( transparent ) ] pub struct SHANDLE_PTR ( pub isize ) ; impl SHANDLE_PTR { } impl :: std :: default :: Default for SHANDLE_PTR { fn default ( ) -> Self { Self ( 0 ) } } impl SHANDLE_PTR { pub const NULL : Self = Self ( 0 ) ; pub fn is_null ( & self ) -> bool { self . 0 == 0 } } impl :: std :: fmt :: Debug for SHANDLE_PTR { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SHANDLE_PTR" ) . field ( "Value" , & self .0 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SHANDLE_PTR { fn eq ( & self , other : & Self ) -> bool { self .0 == other .0 } } impl :: std :: cmp :: Eq for SHANDLE_PTR { } unsafe impl :: windows :: Abi for SHANDLE_PTR { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SHARED_VIRTUAL_DISK_SUPPORT { pub SharedVirtualDiskSupport : SharedVirtualDiskSupportType , pub HandleState : SharedVirtualDiskHandleState } impl SHARED_VIRTUAL_DISK_SUPPORT { } impl :: std :: default :: Default for SHARED_VIRTUAL_DISK_SUPPORT { fn default ( ) -> Self { Self { SharedVirtualDiskSupport : :: std :: default :: Default :: default ( ) , HandleState : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for SHARED_VIRTUAL_DISK_SUPPORT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SHARED_VIRTUAL_DISK_SUPPORT" ) . field ( "SharedVirtualDiskSupport" , & self . SharedVirtualDiskSupport ) . field ( "HandleState" , & self . HandleState ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SHARED_VIRTUAL_DISK_SUPPORT { fn eq ( & self , other : & Self ) -> bool { self . SharedVirtualDiskSupport == other . SharedVirtualDiskSupport && self . HandleState == other . HandleState } } impl :: std :: cmp :: Eq for SHARED_VIRTUAL_DISK_SUPPORT { } unsafe impl :: windows :: Abi for SHARED_VIRTUAL_DISK_SUPPORT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct SHRINK_VOLUME_REQUEST_TYPES ( pub i32 ) ; pub const ShrinkPrepare : SHRINK_VOLUME_REQUEST_TYPES = SHRINK_VOLUME_REQUEST_TYPES ( 1i32 ) ; pub const ShrinkCommit : SHRINK_VOLUME_REQUEST_TYPES = SHRINK_VOLUME_REQUEST_TYPES ( 2i32 ) ; pub const ShrinkAbort : SHRINK_VOLUME_REQUEST_TYPES = SHRINK_VOLUME_REQUEST_TYPES ( 3i32 ) ; impl :: std :: convert :: From < i32 > for SHRINK_VOLUME_REQUEST_TYPES { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for SHRINK_VOLUME_REQUEST_TYPES { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SHUFFLE_FILE_DATA { pub StartingOffset : i64 , pub Length : i64 , pub Flags : u32 } impl SHUFFLE_FILE_DATA { } impl :: std :: default :: Default for SHUFFLE_FILE_DATA { fn default ( ) -> Self { Self { StartingOffset : 0 , Length : 0 , Flags : 0 } } } impl :: std :: fmt :: Debug for SHUFFLE_FILE_DATA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SHUFFLE_FILE_DATA" ) . field ( "StartingOffset" , & self . StartingOffset ) . field ( "Length" , & self . Length ) . field ( "Flags" , & self . Flags ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SHUFFLE_FILE_DATA { fn eq ( & self , other : & Self ) -> bool { self . StartingOffset == other . StartingOffset && self . Length == other . Length && self . Flags == other . Flags } } impl :: std :: cmp :: Eq for SHUFFLE_FILE_DATA { } unsafe impl :: windows :: Abi for SHUFFLE_FILE_DATA { type Abi = Self ; type DefaultType = Self ; } pub const SHUFFLE_FILE_FLAG_SKIP_INITIALIZING_NEW_CLUSTERS : u32 = 1u32 ; pub const SID_HASH_SIZE : u32 = 32u32 ; pub const SID_MAX_SUB_AUTHORITIES : u32 = 15u32 ; pub const SID_RECOMMENDED_SUB_AUTHORITIES : u32 = 1u32 ; pub const SID_REVISION : u32 = 1u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SILOOBJECT_BASIC_INFORMATION { pub SiloId : u32 , pub SiloParentId : u32 , pub NumberOfProcesses : u32 , pub IsInServerSilo : u8 , pub Reserved : [ u8 ;3 ] } impl SILOOBJECT_BASIC_INFORMATION { } impl :: std :: default :: Default for SILOOBJECT_BASIC_INFORMATION { fn default ( ) -> Self { Self { SiloId : 0 , SiloParentId : 0 , NumberOfProcesses : 0 , IsInServerSilo : 0 , Reserved : [ 0 ;3 ] } } } impl :: std :: fmt :: Debug for SILOOBJECT_BASIC_INFORMATION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SILOOBJECT_BASIC_INFORMATION" ) . field ( "SiloId" , & self . SiloId ) . field ( "SiloParentId" , & self . SiloParentId ) . field ( "NumberOfProcesses" , & self . NumberOfProcesses ) . field ( "IsInServerSilo" , & self . IsInServerSilo ) . field ( "Reserved" , & self . Reserved ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SILOOBJECT_BASIC_INFORMATION { fn eq ( & self , other : & Self ) -> bool { self . SiloId == other . SiloId && self . SiloParentId == other . SiloParentId && self . NumberOfProcesses == other . NumberOfProcesses && self . IsInServerSilo == other . IsInServerSilo && self . Reserved == other . Reserved } } impl :: std :: cmp :: Eq for SILOOBJECT_BASIC_INFORMATION { } unsafe impl :: windows :: Abi for SILOOBJECT_BASIC_INFORMATION { type Abi = Self ; type DefaultType = Self ; } pub const SIZEOF_RFPO_DATA : u32 = 16u32 ; pub const SIZE_OF_80387_REGISTERS : u32 = 80u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SI_COPYFILE { pub SourceFileNameLength : u32 , pub DestinationFileNameLength : u32 , pub Flags : u32 , pub FileNameBuffer : [ u16 ;1 ] } impl SI_COPYFILE { } impl :: std :: default :: Default for SI_COPYFILE { fn default ( ) -> Self { Self { SourceFileNameLength : 0 , DestinationFileNameLength : 0 , Flags : 0 , FileNameBuffer : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for SI_COPYFILE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SI_COPYFILE" ) . field ( "SourceFileNameLength" , & self . SourceFileNameLength ) . field ( "DestinationFileNameLength" , & self . DestinationFileNameLength ) . field ( "Flags" , & self . Flags ) . field ( "FileNameBuffer" , & self . FileNameBuffer ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SI_COPYFILE { fn eq ( & self , other : & Self ) -> bool { self . SourceFileNameLength == other . SourceFileNameLength && self . DestinationFileNameLength == other . DestinationFileNameLength && self . Flags == other . Flags && self . FileNameBuffer == other . FileNameBuffer } } impl :: std :: cmp :: Eq for SI_COPYFILE { } unsafe impl :: windows :: Abi for SI_COPYFILE { type Abi = Self ; type DefaultType = Self ; } pub const SMART_ABORT_OFFLINE_SELFTEST : u32 = 127u32 ; pub const SMART_CMD : u32 = 176u32 ; pub const SMART_CYL_HI : u32 = 194u32 ; pub const SMART_CYL_LOW : u32 = 79u32 ; pub const SMART_ERROR_NO_MEM : u32 = 7u32 ; pub const SMART_EXTENDED_SELFTEST_CAPTIVE : u32 = 130u32 ; pub const SMART_EXTENDED_SELFTEST_OFFLINE : u32 = 2u32 ; pub const SMART_GET_VERSION : u32 = 475264u32 ; pub const SMART_IDE_ERROR : u32 = 1u32 ; pub const SMART_INVALID_BUFFER : u32 = 4u32 ; pub const SMART_INVALID_COMMAND : u32 = 3u32 ; pub const SMART_INVALID_DRIVE : u32 = 5u32 ; pub const SMART_INVALID_FLAG : u32 = 2u32 ; pub const SMART_INVALID_IOCTL : u32 = 6u32 ; pub const SMART_INVALID_REGISTER : u32 = 8u32 ; pub const SMART_LOG_SECTOR_SIZE : u32 = 512u32 ; pub const SMART_NOT_SUPPORTED : u32 = 9u32 ; pub const SMART_NO_ERROR : u32 = 0u32 ; pub const SMART_NO_IDE_DEVICE : u32 = 10u32 ; pub const SMART_OFFLINE_ROUTINE_OFFLINE : u32 = 0u32 ; pub const SMART_RCV_DRIVE_DATA : u32 = 508040u32 ; pub const SMART_READ_LOG : u32 = 213u32 ; pub const SMART_SEND_DRIVE_COMMAND : u32 = 508036u32 ; pub const SMART_SHORT_SELFTEST_CAPTIVE : u32 = 129u32 ; pub const SMART_SHORT_SELFTEST_OFFLINE : u32 = 1u32 ; pub const SMART_WRITE_LOG : u32 = 214u32 ; pub type SORTCOMP = unsafe extern "system" fn ( pv1 : * const :: std :: ffi :: c_void , pv2 : * const :: std :: ffi :: c_void ) -> i32 ; pub const SORT_CHINESE_BIG5 : u32 = 0u32 ; pub const SORT_CHINESE_BOPOMOFO : u32 = 3u32 ; pub const SORT_CHINESE_PRC : u32 = 2u32 ; pub const SORT_CHINESE_PRCP : u32 = 0u32 ; pub const SORT_CHINESE_RADICALSTROKE : u32 = 4u32 ; pub const SORT_CHINESE_UNICODE : u32 = 1u32 ; pub const SORT_DEFAULT : u32 = 0u32 ; pub const SORT_GEORGIAN_MODERN : u32 = 1u32 ; pub const SORT_GEORGIAN_TRADITIONAL : u32 = 0u32 ; pub const SORT_GERMAN_PHONE_BOOK : u32 = 1u32 ; pub const SORT_HUNGARIAN_DEFAULT : u32 = 0u32 ; pub const SORT_HUNGARIAN_TECHNICAL : u32 = 1u32 ; pub const SORT_INVARIANT_MATH : u32 = 1u32 ; pub const SORT_JAPANESE_RADICALSTROKE : u32 = 4u32 ; pub const SORT_JAPANESE_UNICODE : u32 = 1u32 ; pub const SORT_JAPANESE_XJIS : u32 = 0u32 ; pub const SORT_KOREAN_KSC : u32 = 0u32 ; pub const SORT_KOREAN_UNICODE : u32 = 1u32 ; pub const SO_BREAK_EXTRA : u32 = 4096u32 ; pub const SO_CHARACTER_EXTRA : u32 = 2048u32 ; pub const SO_CHAR_INC_EQUAL_BM_BASE : u32 = 32u32 ; pub const SO_DO_NOT_SUBSTITUTE_DEVICE_FONT : u32 = 128u32 ; pub const SO_DXDY : u32 = 1024u32 ; pub const SO_ESC_NOT_ORIENT : u32 = 512u32 ; pub const SO_FLAG_DEFAULT_PLACEMENT : u32 = 1u32 ; pub const SO_GLYPHINDEX_TEXTOUT : u32 = 256u32 ; pub const SO_HORIZONTAL : u32 = 2u32 ; pub const SO_MAXEXT_EQUAL_BM_SIDE : u32 = 64u32 ; pub const SO_REVERSED : u32 = 8u32 ; pub const SO_VERTICAL : u32 = 4u32 ; pub const SO_ZERO_BEARINGS : u32 = 16u32 ; pub const SPACES_TRACKED_OFFSET_HEADER_FLAG : u32 = 2u32 ; pub const SPS_ACCEPT_EXCLUDE : u32 = 3u32 ; pub const SPS_ACCEPT_NOEXCLUDE : u32 = 2u32 ; pub const SPS_ACCEPT_SYNCHRONOUS : u32 = 4u32 ; pub const SPS_ALPHA : i32 = 16i32 ; pub const SPS_ANIMATESTART : i32 = 4i32 ; pub const SPS_ANIMATEUPDATE : i32 = 8i32 ; pub const SPS_ASYNCCHANGE : i32 = 2i32 ; pub const SPS_CHANGE : i32 = 1i32 ; pub const SPS_DECLINE : u32 = 1u32 ; pub const SPS_ERROR : u32 = 0u32 ; pub const SPS_FLAGSMASK : i32 = 255i32 ; pub const SPS_FREQMASK : i32 = 1044480i32 ; pub const SPS_LENGTHMASK : i32 = 3840i32 ; pub const SPS_RESERVED : i32 = 32i32 ; pub const SPS_RESERVED1 : i32 = 64i32 ; pub const SRB_TYPE_SCSI_REQUEST_BLOCK : u32 = 0u32 ; pub const SRB_TYPE_STORAGE_REQUEST_BLOCK : u32 = 1u32 ; pub const SS_FREE : u32 = 2u32 ; pub const SS_RESTORE : u32 = 1u32 ; pub const SS_SAVE : u32 = 0u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STARTING_LCN_INPUT_BUFFER_EX { pub StartingLcn : i64 , pub Flags : u32 } impl STARTING_LCN_INPUT_BUFFER_EX { } impl :: std :: default :: Default for STARTING_LCN_INPUT_BUFFER_EX { fn default ( ) -> Self { Self { StartingLcn : 0 , Flags : 0 } } } impl :: std :: fmt :: Debug for STARTING_LCN_INPUT_BUFFER_EX { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "STARTING_LCN_INPUT_BUFFER_EX" ) . field ( "StartingLcn" , & self . StartingLcn ) . field ( "Flags" , & self . Flags ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STARTING_LCN_INPUT_BUFFER_EX { fn eq ( & self , other : & Self ) -> bool { self . StartingLcn == other . StartingLcn && self . Flags == other . Flags } } impl :: std :: cmp :: Eq for STARTING_LCN_INPUT_BUFFER_EX { } unsafe impl :: windows :: Abi for STARTING_LCN_INPUT_BUFFER_EX { type Abi = Self ; type DefaultType = Self ; } pub const STORAGE_ADAPTER_SERIAL_NUMBER_V1_MAX_LENGTH : u32 = 128u32 ; pub const STORAGE_ADDRESS_TYPE_BTL8 : u32 = 0u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STORAGE_ALLOCATE_BC_STREAM_INPUT { pub Version : u32 , pub RequestsPerPeriod : u32 , pub Period : u32 , pub RetryFailures : u8 , pub Discardable : u8 , pub Reserved1 : [ u8 ;2 ] , pub AccessType : u32 , pub AccessMode : u32 } impl STORAGE_ALLOCATE_BC_STREAM_INPUT { } impl :: std :: default :: Default for STORAGE_ALLOCATE_BC_STREAM_INPUT { fn default ( ) -> Self { Self { Version : 0 , RequestsPerPeriod : 0 , Period : 0 , RetryFailures : 0 , Discardable : 0 , Reserved1 : [ 0 ;2 ] , AccessType : 0 , AccessMode : 0 } } } impl :: std :: fmt :: Debug for STORAGE_ALLOCATE_BC_STREAM_INPUT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "STORAGE_ALLOCATE_BC_STREAM_INPUT" ) . field ( "Version" , & self . Version ) . field ( "RequestsPerPeriod" , & self . RequestsPerPeriod ) . field ( "Period" , & self . Period ) . field ( "RetryFailures" , & self . RetryFailures ) . field ( "Discardable" , & self . Discardable ) . field ( "Reserved1" , & self . Reserved1 ) . field ( "AccessType" , & self . AccessType ) . field ( "AccessMode" , & self . AccessMode ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STORAGE_ALLOCATE_BC_STREAM_INPUT { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . RequestsPerPeriod == other . RequestsPerPeriod && self . Period == other . Period && self . RetryFailures == other . RetryFailures && self . Discardable == other . Discardable && self . Reserved1 == other . Reserved1 && self . AccessType == other . AccessType && self . AccessMode == other . AccessMode } } impl :: std :: cmp :: Eq for STORAGE_ALLOCATE_BC_STREAM_INPUT { } unsafe impl :: windows :: Abi for STORAGE_ALLOCATE_BC_STREAM_INPUT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STORAGE_ALLOCATE_BC_STREAM_OUTPUT { pub RequestSize : u64 , pub NumOutStandingRequests : u32 } impl STORAGE_ALLOCATE_BC_STREAM_OUTPUT { } impl :: std :: default :: Default for STORAGE_ALLOCATE_BC_STREAM_OUTPUT { fn default ( ) -> Self { Self { RequestSize : 0 , NumOutStandingRequests : 0 } } } impl :: std :: fmt :: Debug for STORAGE_ALLOCATE_BC_STREAM_OUTPUT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "STORAGE_ALLOCATE_BC_STREAM_OUTPUT" ) . field ( "RequestSize" , & self . RequestSize ) . field ( "NumOutStandingRequests" , & self . NumOutStandingRequests ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STORAGE_ALLOCATE_BC_STREAM_OUTPUT { fn eq ( & self , other : & Self ) -> bool { self . RequestSize == other . RequestSize && self . NumOutStandingRequests == other . NumOutStandingRequests } } impl :: std :: cmp :: Eq for STORAGE_ALLOCATE_BC_STREAM_OUTPUT { } unsafe impl :: windows :: Abi for STORAGE_ALLOCATE_BC_STREAM_OUTPUT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct STORAGE_ASSOCIATION_TYPE ( pub i32 ) ; pub const StorageIdAssocDevice : STORAGE_ASSOCIATION_TYPE = STORAGE_ASSOCIATION_TYPE ( 0i32 ) ; pub const StorageIdAssocPort : STORAGE_ASSOCIATION_TYPE = STORAGE_ASSOCIATION_TYPE ( 1i32 ) ; pub const StorageIdAssocTarget : STORAGE_ASSOCIATION_TYPE = STORAGE_ASSOCIATION_TYPE ( 2i32 ) ; impl :: std :: convert :: From < i32 > for STORAGE_ASSOCIATION_TYPE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for STORAGE_ASSOCIATION_TYPE { type Abi = Self ; type DefaultType = Self ; } pub const STORAGE_ATTRIBUTE_ASYNC_EVENT_NOTIFICATION : u32 = 16u32 ; pub const STORAGE_ATTRIBUTE_BLOCK_IO : u32 = 2u32 ; pub const STORAGE_ATTRIBUTE_BYTE_ADDRESSABLE_IO : u32 = 1u32 ; pub const STORAGE_ATTRIBUTE_DYNAMIC_PERSISTENCE : u32 = 4u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STORAGE_ATTRIBUTE_MGMT { pub Version : u32 , pub Size : u32 , pub Action : STORAGE_ATTRIBUTE_MGMT_ACTION , pub Attribute : u32 } impl STORAGE_ATTRIBUTE_MGMT { } impl :: std :: default :: Default for STORAGE_ATTRIBUTE_MGMT { fn default ( ) -> Self { Self { Version : 0 , Size : 0 , Action : :: std :: default :: Default :: default ( ) , Attribute : 0 } } } impl :: std :: fmt :: Debug for STORAGE_ATTRIBUTE_MGMT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "STORAGE_ATTRIBUTE_MGMT" ) . field ( "Version" , & self . Version ) . field ( "Size" , & self . Size ) . field ( "Action" , & self . Action ) . field ( "Attribute" , & self . Attribute ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STORAGE_ATTRIBUTE_MGMT { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Size == other . Size && self . Action == other . Action && self . Attribute == other . Attribute } } impl :: std :: cmp :: Eq for STORAGE_ATTRIBUTE_MGMT { } unsafe impl :: windows :: Abi for STORAGE_ATTRIBUTE_MGMT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct STORAGE_ATTRIBUTE_MGMT_ACTION ( pub i32 ) ; pub const StorAttributeMgmt_ClearAttribute : STORAGE_ATTRIBUTE_MGMT_ACTION = STORAGE_ATTRIBUTE_MGMT_ACTION ( 0i32 ) ; pub const StorAttributeMgmt_SetAttribute : STORAGE_ATTRIBUTE_MGMT_ACTION = STORAGE_ATTRIBUTE_MGMT_ACTION ( 1i32 ) ; pub const StorAttributeMgmt_ResetAttribute : STORAGE_ATTRIBUTE_MGMT_ACTION = STORAGE_ATTRIBUTE_MGMT_ACTION ( 2i32 ) ; impl :: std :: convert :: From < i32 > for STORAGE_ATTRIBUTE_MGMT_ACTION { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for STORAGE_ATTRIBUTE_MGMT_ACTION { type Abi = Self ; type DefaultType = Self ; } pub const STORAGE_ATTRIBUTE_PERF_SIZE_INDEPENDENT : u32 = 32u32 ; pub const STORAGE_ATTRIBUTE_VOLATILE : u32 = 8u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STORAGE_BREAK_RESERVATION_REQUEST { pub Length : u32 , pub _unused : u8 , pub PathId : u8 , pub TargetId : u8 , pub Lun : u8 } impl STORAGE_BREAK_RESERVATION_REQUEST { } impl :: std :: default :: Default for STORAGE_BREAK_RESERVATION_REQUEST { fn default ( ) -> Self { Self { Length : 0 , _unused : 0 , PathId : 0 , TargetId : 0 , Lun : 0 } } } impl :: std :: fmt :: Debug for STORAGE_BREAK_RESERVATION_REQUEST { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "STORAGE_BREAK_RESERVATION_REQUEST" ) . field ( "Length" , & self . Length ) . field ( "_unused" , & self . _unused ) . field ( "PathId" , & self . PathId ) . field ( "TargetId" , & self . TargetId ) . field ( "Lun" , & self . Lun ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STORAGE_BREAK_RESERVATION_REQUEST { fn eq ( & self , other : & Self ) -> bool { self . Length == other . Length && self . _unused == other . _unused && self . PathId == other . PathId && self . TargetId == other . TargetId && self . Lun == other . Lun } } impl :: std :: cmp :: Eq for STORAGE_BREAK_RESERVATION_REQUEST { } unsafe impl :: windows :: Abi for STORAGE_BREAK_RESERVATION_REQUEST { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STORAGE_BUS_RESET_REQUEST { pub PathId : u8 } impl STORAGE_BUS_RESET_REQUEST { } impl :: std :: default :: Default for STORAGE_BUS_RESET_REQUEST { fn default ( ) -> Self { Self { PathId : 0 } } } impl :: std :: fmt :: Debug for STORAGE_BUS_RESET_REQUEST { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "STORAGE_BUS_RESET_REQUEST" ) . field ( "PathId" , & self . PathId ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STORAGE_BUS_RESET_REQUEST { fn eq ( & self , other : & Self ) -> bool { self . PathId == other . PathId } } impl :: std :: cmp :: Eq for STORAGE_BUS_RESET_REQUEST { } unsafe impl :: windows :: Abi for STORAGE_BUS_RESET_REQUEST { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct STORAGE_BUS_TYPE ( pub i32 ) ; pub const BusTypeUnknown : STORAGE_BUS_TYPE = STORAGE_BUS_TYPE ( 0i32 ) ; pub const BusTypeScsi : STORAGE_BUS_TYPE = STORAGE_BUS_TYPE ( 1i32 ) ; pub const BusTypeAtapi : STORAGE_BUS_TYPE = STORAGE_BUS_TYPE ( 2i32 ) ; pub const BusTypeAta : STORAGE_BUS_TYPE = STORAGE_BUS_TYPE ( 3i32 ) ; pub const BusType1394 : STORAGE_BUS_TYPE = STORAGE_BUS_TYPE ( 4i32 ) ; pub const BusTypeSsa : STORAGE_BUS_TYPE = STORAGE_BUS_TYPE ( 5i32 ) ; pub const BusTypeFibre : STORAGE_BUS_TYPE = STORAGE_BUS_TYPE ( 6i32 ) ; pub const BusTypeUsb : STORAGE_BUS_TYPE = STORAGE_BUS_TYPE ( 7i32 ) ; pub const BusTypeRAID : STORAGE_BUS_TYPE = STORAGE_BUS_TYPE ( 8i32 ) ; pub const BusTypeiScsi : STORAGE_BUS_TYPE = STORAGE_BUS_TYPE ( 9i32 ) ; pub const BusTypeSas : STORAGE_BUS_TYPE = STORAGE_BUS_TYPE ( 10i32 ) ; pub const BusTypeSata : STORAGE_BUS_TYPE = STORAGE_BUS_TYPE ( 11i32 ) ; pub const BusTypeSd : STORAGE_BUS_TYPE = STORAGE_BUS_TYPE ( 12i32 ) ; pub const BusTypeMmc : STORAGE_BUS_TYPE = STORAGE_BUS_TYPE ( 13i32 ) ; pub const BusTypeVirtual : STORAGE_BUS_TYPE = STORAGE_BUS_TYPE ( 14i32 ) ; pub const BusTypeFileBackedVirtual : STORAGE_BUS_TYPE = STORAGE_BUS_TYPE ( 15i32 ) ; pub const BusTypeSpaces : STORAGE_BUS_TYPE = STORAGE_BUS_TYPE ( 16i32 ) ; pub const BusTypeNvme : STORAGE_BUS_TYPE = STORAGE_BUS_TYPE ( 17i32 ) ; pub const BusTypeSCM : STORAGE_BUS_TYPE = STORAGE_BUS_TYPE ( 18i32 ) ; pub const BusTypeUfs : STORAGE_BUS_TYPE = STORAGE_BUS_TYPE ( 19i32 ) ; pub const BusTypeMax : STORAGE_BUS_TYPE = STORAGE_BUS_TYPE ( 20i32 ) ; pub const BusTypeMaxReserved : STORAGE_BUS_TYPE = STORAGE_BUS_TYPE ( 127i32 ) ; impl :: std :: convert :: From < i32 > for STORAGE_BUS_TYPE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for STORAGE_BUS_TYPE { type Abi = Self ; type DefaultType = Self ; } pub const STORAGE_COMPONENT_ROLE_CACHE : u32 = 1u32 ; pub const STORAGE_COMPONENT_ROLE_DATA : u32 = 4u32 ; pub const STORAGE_COMPONENT_ROLE_TIERING : u32 = 2u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STORAGE_COUNTER { pub Type : STORAGE_COUNTER_TYPE , pub Value : STORAGE_COUNTER_0 } impl STORAGE_COUNTER { } impl :: std :: cmp :: PartialEq for STORAGE_COUNTER { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for STORAGE_COUNTER { } unsafe impl :: windows :: Abi for STORAGE_COUNTER { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union STORAGE_COUNTER_0 { pub ManufactureDate : STORAGE_COUNTER_0_0 , pub AsUlonglong : u64 } impl STORAGE_COUNTER_0 { } impl :: std :: cmp :: PartialEq for STORAGE_COUNTER_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for STORAGE_COUNTER_0 { } unsafe impl :: windows :: Abi for STORAGE_COUNTER_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STORAGE_COUNTER_0_0 { pub Week : u32 , pub Year : u32 } impl STORAGE_COUNTER_0_0 { } impl :: std :: default :: Default for STORAGE_COUNTER_0_0 { fn default ( ) -> Self { Self { Week : 0 , Year : 0 } } } impl :: std :: fmt :: Debug for STORAGE_COUNTER_0_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_ManufactureDate_e__Struct" ) . field ( "Week" , & self . Week ) . field ( "Year" , & self . Year ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STORAGE_COUNTER_0_0 { fn eq ( & self , other : & Self ) -> bool { self . Week == other . Week && self . Year == other . Year } } impl :: std :: cmp :: Eq for STORAGE_COUNTER_0_0 { } unsafe impl :: windows :: Abi for STORAGE_COUNTER_0_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STORAGE_COUNTERS { pub Version : u32 , pub Size : u32 , pub NumberOfCounters : u32 , pub Counters : [ STORAGE_COUNTER ;1 ] } impl STORAGE_COUNTERS { } impl :: std :: cmp :: PartialEq for STORAGE_COUNTERS { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for STORAGE_COUNTERS { } unsafe impl :: windows :: Abi for STORAGE_COUNTERS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct STORAGE_COUNTER_TYPE ( pub i32 ) ; pub const StorageCounterTypeUnknown : STORAGE_COUNTER_TYPE = STORAGE_COUNTER_TYPE ( 0i32 ) ; pub const StorageCounterTypeTemperatureCelsius : STORAGE_COUNTER_TYPE = STORAGE_COUNTER_TYPE ( 1i32 ) ; pub const StorageCounterTypeTemperatureCelsiusMax : STORAGE_COUNTER_TYPE = STORAGE_COUNTER_TYPE ( 2i32 ) ; pub const StorageCounterTypeReadErrorsTotal : STORAGE_COUNTER_TYPE = STORAGE_COUNTER_TYPE ( 3i32 ) ; pub const StorageCounterTypeReadErrorsCorrected : STORAGE_COUNTER_TYPE = STORAGE_COUNTER_TYPE ( 4i32 ) ; pub const StorageCounterTypeReadErrorsUncorrected : STORAGE_COUNTER_TYPE = STORAGE_COUNTER_TYPE ( 5i32 ) ; pub const StorageCounterTypeWriteErrorsTotal : STORAGE_COUNTER_TYPE = STORAGE_COUNTER_TYPE ( 6i32 ) ; pub const StorageCounterTypeWriteErrorsCorrected : STORAGE_COUNTER_TYPE = STORAGE_COUNTER_TYPE ( 7i32 ) ; pub const StorageCounterTypeWriteErrorsUncorrected : STORAGE_COUNTER_TYPE = STORAGE_COUNTER_TYPE ( 8i32 ) ; pub const StorageCounterTypeManufactureDate : STORAGE_COUNTER_TYPE = STORAGE_COUNTER_TYPE ( 9i32 ) ; pub const StorageCounterTypeStartStopCycleCount : STORAGE_COUNTER_TYPE = STORAGE_COUNTER_TYPE ( 10i32 ) ; pub const StorageCounterTypeStartStopCycleCountMax : STORAGE_COUNTER_TYPE = STORAGE_COUNTER_TYPE ( 11i32 ) ; pub const StorageCounterTypeLoadUnloadCycleCount : STORAGE_COUNTER_TYPE = STORAGE_COUNTER_TYPE ( 12i32 ) ; pub const StorageCounterTypeLoadUnloadCycleCountMax : STORAGE_COUNTER_TYPE = STORAGE_COUNTER_TYPE ( 13i32 ) ; pub const StorageCounterTypeWearPercentage : STORAGE_COUNTER_TYPE = STORAGE_COUNTER_TYPE ( 14i32 ) ; pub const StorageCounterTypeWearPercentageWarning : STORAGE_COUNTER_TYPE = STORAGE_COUNTER_TYPE ( 15i32 ) ; pub const StorageCounterTypeWearPercentageMax : STORAGE_COUNTER_TYPE = STORAGE_COUNTER_TYPE ( 16i32 ) ; pub const StorageCounterTypePowerOnHours : STORAGE_COUNTER_TYPE = STORAGE_COUNTER_TYPE ( 17i32 ) ; pub const StorageCounterTypeReadLatency100NSMax : STORAGE_COUNTER_TYPE = STORAGE_COUNTER_TYPE ( 18i32 ) ; pub const StorageCounterTypeWriteLatency100NSMax : STORAGE_COUNTER_TYPE = STORAGE_COUNTER_TYPE ( 19i32 ) ; pub const StorageCounterTypeFlushLatency100NSMax : STORAGE_COUNTER_TYPE = STORAGE_COUNTER_TYPE ( 20i32 ) ; pub const StorageCounterTypeMax : STORAGE_COUNTER_TYPE = STORAGE_COUNTER_TYPE ( 21i32 ) ; impl :: std :: convert :: From < i32 > for STORAGE_COUNTER_TYPE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for STORAGE_COUNTER_TYPE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct STORAGE_CRYPTO_ALGORITHM_ID ( pub i32 ) ; pub const StorageCryptoAlgorithmUnknown : STORAGE_CRYPTO_ALGORITHM_ID = STORAGE_CRYPTO_ALGORITHM_ID ( 0i32 ) ; pub const StorageCryptoAlgorithmXTSAES : STORAGE_CRYPTO_ALGORITHM_ID = STORAGE_CRYPTO_ALGORITHM_ID ( 1i32 ) ; pub const StorageCryptoAlgorithmBitlockerAESCBC : STORAGE_CRYPTO_ALGORITHM_ID = STORAGE_CRYPTO_ALGORITHM_ID ( 2i32 ) ; pub const StorageCryptoAlgorithmAESECB : STORAGE_CRYPTO_ALGORITHM_ID = STORAGE_CRYPTO_ALGORITHM_ID ( 3i32 ) ; pub const StorageCryptoAlgorithmESSIVAESCBC : STORAGE_CRYPTO_ALGORITHM_ID = STORAGE_CRYPTO_ALGORITHM_ID ( 4i32 ) ; pub const StorageCryptoAlgorithmMax : STORAGE_CRYPTO_ALGORITHM_ID = STORAGE_CRYPTO_ALGORITHM_ID ( 5i32 ) ; impl :: std :: convert :: From < i32 > for STORAGE_CRYPTO_ALGORITHM_ID { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for STORAGE_CRYPTO_ALGORITHM_ID { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STORAGE_CRYPTO_CAPABILITY { pub Version : u32 , pub Size : u32 , pub CryptoCapabilityIndex : u32 , pub AlgorithmId : STORAGE_CRYPTO_ALGORITHM_ID , pub KeySize : STORAGE_CRYPTO_KEY_SIZE , pub DataUnitSizeBitmask : u32 } impl STORAGE_CRYPTO_CAPABILITY { } impl :: std :: default :: Default for STORAGE_CRYPTO_CAPABILITY { fn default ( ) -> Self { Self { Version : 0 , Size : 0 , CryptoCapabilityIndex : 0 , AlgorithmId : :: std :: default :: Default :: default ( ) , KeySize : :: std :: default :: Default :: default ( ) , DataUnitSizeBitmask : 0 } } } impl :: std :: fmt :: Debug for STORAGE_CRYPTO_CAPABILITY { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "STORAGE_CRYPTO_CAPABILITY" ) . field ( "Version" , & self . Version ) . field ( "Size" , & self . Size ) . field ( "CryptoCapabilityIndex" , & self . CryptoCapabilityIndex ) . field ( "AlgorithmId" , & self . AlgorithmId ) . field ( "KeySize" , & self . KeySize ) . field ( "DataUnitSizeBitmask" , & self . DataUnitSizeBitmask ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STORAGE_CRYPTO_CAPABILITY { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Size == other . Size && self . CryptoCapabilityIndex == other . CryptoCapabilityIndex && self . AlgorithmId == other . AlgorithmId && self . KeySize == other . KeySize && self . DataUnitSizeBitmask == other . DataUnitSizeBitmask } } impl :: std :: cmp :: Eq for STORAGE_CRYPTO_CAPABILITY { } unsafe impl :: windows :: Abi for STORAGE_CRYPTO_CAPABILITY { type Abi = Self ; type DefaultType = Self ; } pub const STORAGE_CRYPTO_CAPABILITY_VERSION_1 : u32 = 1u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STORAGE_CRYPTO_DESCRIPTOR { pub Version : u32 , pub Size : u32 , pub NumKeysSupported : u32 , pub NumCryptoCapabilities : u32 , pub CryptoCapabilities : [ STORAGE_CRYPTO_CAPABILITY ;1 ] } impl STORAGE_CRYPTO_DESCRIPTOR { } impl :: std :: default :: Default for STORAGE_CRYPTO_DESCRIPTOR { fn default ( ) -> Self { Self { Version : 0 , Size : 0 , NumKeysSupported : 0 , NumCryptoCapabilities : 0 , CryptoCapabilities : [ :: std :: default :: Default :: default ( ) ;1 ] } } } impl :: std :: fmt :: Debug for STORAGE_CRYPTO_DESCRIPTOR { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "STORAGE_CRYPTO_DESCRIPTOR" ) . field ( "Version" , & self . Version ) . field ( "Size" , & self . Size ) . field ( "NumKeysSupported" , & self . NumKeysSupported ) . field ( "NumCryptoCapabilities" , & self . NumCryptoCapabilities ) . field ( "CryptoCapabilities" , & self . CryptoCapabilities ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STORAGE_CRYPTO_DESCRIPTOR { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Size == other . Size && self . NumKeysSupported == other . NumKeysSupported && self . NumCryptoCapabilities == other . NumCryptoCapabilities && self . CryptoCapabilities == other . CryptoCapabilities } } impl :: std :: cmp :: Eq for STORAGE_CRYPTO_DESCRIPTOR { } unsafe impl :: windows :: Abi for STORAGE_CRYPTO_DESCRIPTOR { type Abi = Self ; type DefaultType = Self ; } pub const STORAGE_CRYPTO_DESCRIPTOR_VERSION_1 : u32 = 1u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct STORAGE_CRYPTO_KEY_SIZE ( pub i32 ) ; pub const StorageCryptoKeySizeUnknown : STORAGE_CRYPTO_KEY_SIZE = STORAGE_CRYPTO_KEY_SIZE ( 0i32 ) ; pub const StorageCryptoKeySize128Bits : STORAGE_CRYPTO_KEY_SIZE = STORAGE_CRYPTO_KEY_SIZE ( 1i32 ) ; pub const StorageCryptoKeySize192Bits : STORAGE_CRYPTO_KEY_SIZE = STORAGE_CRYPTO_KEY_SIZE ( 2i32 ) ; pub const StorageCryptoKeySize256Bits : STORAGE_CRYPTO_KEY_SIZE = STORAGE_CRYPTO_KEY_SIZE ( 3i32 ) ; pub const StorageCryptoKeySize512Bits : STORAGE_CRYPTO_KEY_SIZE = STORAGE_CRYPTO_KEY_SIZE ( 4i32 ) ; impl :: std :: convert :: From < i32 > for STORAGE_CRYPTO_KEY_SIZE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for STORAGE_CRYPTO_KEY_SIZE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STORAGE_DEVICE_FAULT_DOMAIN_DESCRIPTOR { pub Version : u32 , pub Size : u32 , pub NumberOfFaultDomains : u32 , pub FaultDomainIds : [ :: windows :: Guid ;1 ] } impl STORAGE_DEVICE_FAULT_DOMAIN_DESCRIPTOR { } impl :: std :: default :: Default for STORAGE_DEVICE_FAULT_DOMAIN_DESCRIPTOR { fn default ( ) -> Self { Self { Version : 0 , Size : 0 , NumberOfFaultDomains : 0 , FaultDomainIds : [ :: std :: default :: Default :: default ( ) ;1 ] } } } impl :: std :: fmt :: Debug for STORAGE_DEVICE_FAULT_DOMAIN_DESCRIPTOR { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "STORAGE_DEVICE_FAULT_DOMAIN_DESCRIPTOR" ) . field ( "Version" , & self . Version ) . field ( "Size" , & self . Size ) . field ( "NumberOfFaultDomains" , & self . NumberOfFaultDomains ) . field ( "FaultDomainIds" , & self . FaultDomainIds ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STORAGE_DEVICE_FAULT_DOMAIN_DESCRIPTOR { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Size == other . Size && self . NumberOfFaultDomains == other . NumberOfFaultDomains && self . FaultDomainIds == other . FaultDomainIds } } impl :: std :: cmp :: Eq for STORAGE_DEVICE_FAULT_DOMAIN_DESCRIPTOR { } unsafe impl :: windows :: Abi for STORAGE_DEVICE_FAULT_DOMAIN_DESCRIPTOR { type Abi = Self ; type DefaultType = Self ; } pub const STORAGE_DEVICE_FLAGS_PAGE_83_DEVICEGUID : u32 = 4u32 ; pub const STORAGE_DEVICE_FLAGS_RANDOM_DEVICEGUID_REASON_CONFLICT : u32 = 1u32 ; pub const STORAGE_DEVICE_FLAGS_RANDOM_DEVICEGUID_REASON_NOHWID : u32 = 2u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STORAGE_DEVICE_LOCATION_DESCRIPTOR { pub Version : u32 , pub Size : u32 , pub Location : DEVICE_LOCATION , pub StringOffset : u32 } impl STORAGE_DEVICE_LOCATION_DESCRIPTOR { } impl :: std :: cmp :: PartialEq for STORAGE_DEVICE_LOCATION_DESCRIPTOR { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for STORAGE_DEVICE_LOCATION_DESCRIPTOR { } unsafe impl :: windows :: Abi for STORAGE_DEVICE_LOCATION_DESCRIPTOR { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STORAGE_DEVICE_MANAGEMENT_STATUS { pub Version : u32 , pub Size : u32 , pub Health : STORAGE_DISK_HEALTH_STATUS , pub NumberOfOperationalStatus : u32 , pub NumberOfAdditionalReasons : u32 , pub OperationalStatus : [ STORAGE_DISK_OPERATIONAL_STATUS ;16 ] , pub AdditionalReasons : [ STORAGE_OPERATIONAL_REASON ;1 ] } impl STORAGE_DEVICE_MANAGEMENT_STATUS { } impl :: std :: cmp :: PartialEq for STORAGE_DEVICE_MANAGEMENT_STATUS { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for STORAGE_DEVICE_MANAGEMENT_STATUS { } unsafe impl :: windows :: Abi for STORAGE_DEVICE_MANAGEMENT_STATUS { type Abi = Self ; type DefaultType = Self ; } pub const STORAGE_DEVICE_MAX_OPERATIONAL_STATUS : u32 = 16u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STORAGE_DEVICE_NUMA_PROPERTY { pub Version : u32 , pub Size : u32 , pub NumaNode : u32 } impl STORAGE_DEVICE_NUMA_PROPERTY { } impl :: std :: default :: Default for STORAGE_DEVICE_NUMA_PROPERTY { fn default ( ) -> Self { Self { Version : 0 , Size : 0 , NumaNode : 0 } } } impl :: std :: fmt :: Debug for STORAGE_DEVICE_NUMA_PROPERTY { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "STORAGE_DEVICE_NUMA_PROPERTY" ) . field ( "Version" , & self . Version ) . field ( "Size" , & self . Size ) . field ( "NumaNode" , & self . NumaNode ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STORAGE_DEVICE_NUMA_PROPERTY { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Size == other . Size && self . NumaNode == other . NumaNode } } impl :: std :: cmp :: Eq for STORAGE_DEVICE_NUMA_PROPERTY { } unsafe impl :: windows :: Abi for STORAGE_DEVICE_NUMA_PROPERTY { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STORAGE_DEVICE_NUMBER { pub DeviceType : u32 , pub DeviceNumber : u32 , pub PartitionNumber : u32 } impl STORAGE_DEVICE_NUMBER { } impl :: std :: default :: Default for STORAGE_DEVICE_NUMBER { fn default ( ) -> Self { Self { DeviceType : 0 , DeviceNumber : 0 , PartitionNumber : 0 } } } impl :: std :: fmt :: Debug for STORAGE_DEVICE_NUMBER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "STORAGE_DEVICE_NUMBER" ) . field ( "DeviceType" , & self . DeviceType ) . field ( "DeviceNumber" , & self . DeviceNumber ) . field ( "PartitionNumber" , & self . PartitionNumber ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STORAGE_DEVICE_NUMBER { fn eq ( & self , other : & Self ) -> bool { self . DeviceType == other . DeviceType && self . DeviceNumber == other . DeviceNumber && self . PartitionNumber == other . PartitionNumber } } impl :: std :: cmp :: Eq for STORAGE_DEVICE_NUMBER { } unsafe impl :: windows :: Abi for STORAGE_DEVICE_NUMBER { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STORAGE_DEVICE_NUMBERS { pub Version : u32 , pub Size : u32 , pub NumberOfDevices : u32 , pub Devices : [ STORAGE_DEVICE_NUMBER ;1 ] } impl STORAGE_DEVICE_NUMBERS { } impl :: std :: default :: Default for STORAGE_DEVICE_NUMBERS { fn default ( ) -> Self { Self { Version : 0 , Size : 0 , NumberOfDevices : 0 , Devices : [ :: std :: default :: Default :: default ( ) ;1 ] } } } impl :: std :: fmt :: Debug for STORAGE_DEVICE_NUMBERS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "STORAGE_DEVICE_NUMBERS" ) . field ( "Version" , & self . Version ) . field ( "Size" , & self . Size ) . field ( "NumberOfDevices" , & self . NumberOfDevices ) . field ( "Devices" , & self . Devices ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STORAGE_DEVICE_NUMBERS { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Size == other . Size && self . NumberOfDevices == other . NumberOfDevices && self . Devices == other . Devices } } impl :: std :: cmp :: Eq for STORAGE_DEVICE_NUMBERS { } unsafe impl :: windows :: Abi for STORAGE_DEVICE_NUMBERS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STORAGE_DEVICE_NUMBER_EX { pub Version : u32 , pub Size : u32 , pub Flags : u32 , pub DeviceType : u32 , pub DeviceNumber : u32 , pub DeviceGuid : :: windows :: Guid , pub PartitionNumber : u32 } impl STORAGE_DEVICE_NUMBER_EX { } impl :: std :: default :: Default for STORAGE_DEVICE_NUMBER_EX { fn default ( ) -> Self { Self { Version : 0 , Size : 0 , Flags : 0 , DeviceType : 0 , DeviceNumber : 0 , DeviceGuid : :: std :: default :: Default :: default ( ) , PartitionNumber : 0 } } } impl :: std :: fmt :: Debug for STORAGE_DEVICE_NUMBER_EX { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "STORAGE_DEVICE_NUMBER_EX" ) . field ( "Version" , & self . Version ) . field ( "Size" , & self . Size ) . field ( "Flags" , & self . Flags ) . field ( "DeviceType" , & self . DeviceType ) . field ( "DeviceNumber" , & self . DeviceNumber ) . field ( "DeviceGuid" , & self . DeviceGuid ) . field ( "PartitionNumber" , & self . PartitionNumber ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STORAGE_DEVICE_NUMBER_EX { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Size == other . Size && self . Flags == other . Flags && self . DeviceType == other . DeviceType && self . DeviceNumber == other . DeviceNumber && self . DeviceGuid == other . DeviceGuid && self . PartitionNumber == other . PartitionNumber } } impl :: std :: cmp :: Eq for STORAGE_DEVICE_NUMBER_EX { } unsafe impl :: windows :: Abi for STORAGE_DEVICE_NUMBER_EX { type Abi = Self ; type DefaultType = Self ; } pub const STORAGE_DEVICE_POWER_CAP_VERSION_V1 : u32 = 1u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STORAGE_DEVICE_TIERING_DESCRIPTOR { pub Version : u32 , pub Size : u32 , pub Flags : u32 , pub TotalNumberOfTiers : u32 , pub NumberOfTiersReturned : u32 , pub Tiers : [ STORAGE_TIER ;1 ] } impl STORAGE_DEVICE_TIERING_DESCRIPTOR { } impl :: std :: default :: Default for STORAGE_DEVICE_TIERING_DESCRIPTOR { fn default ( ) -> Self { Self { Version : 0 , Size : 0 , Flags : 0 , TotalNumberOfTiers : 0 , NumberOfTiersReturned : 0 , Tiers : [ :: std :: default :: Default :: default ( ) ;1 ] } } } impl :: std :: fmt :: Debug for STORAGE_DEVICE_TIERING_DESCRIPTOR { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "STORAGE_DEVICE_TIERING_DESCRIPTOR" ) . field ( "Version" , & self . Version ) . field ( "Size" , & self . Size ) . field ( "Flags" , & self . Flags ) . field ( "TotalNumberOfTiers" , & self . TotalNumberOfTiers ) . field ( "NumberOfTiersReturned" , & self . NumberOfTiersReturned ) . field ( "Tiers" , & self . Tiers ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STORAGE_DEVICE_TIERING_DESCRIPTOR { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Size == other . Size && self . Flags == other . Flags && self . TotalNumberOfTiers == other . TotalNumberOfTiers && self . NumberOfTiersReturned == other . NumberOfTiersReturned && self . Tiers == other . Tiers } } impl :: std :: cmp :: Eq for STORAGE_DEVICE_TIERING_DESCRIPTOR { } unsafe impl :: windows :: Abi for STORAGE_DEVICE_TIERING_DESCRIPTOR { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STORAGE_DEVICE_UNSAFE_SHUTDOWN_COUNT { pub Version : u32 , pub Size : u32 , pub UnsafeShutdownCount : u32 } impl STORAGE_DEVICE_UNSAFE_SHUTDOWN_COUNT { } impl :: std :: default :: Default for STORAGE_DEVICE_UNSAFE_SHUTDOWN_COUNT { fn default ( ) -> Self { Self { Version : 0 , Size : 0 , UnsafeShutdownCount : 0 } } } impl :: std :: fmt :: Debug for STORAGE_DEVICE_UNSAFE_SHUTDOWN_COUNT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "STORAGE_DEVICE_UNSAFE_SHUTDOWN_COUNT" ) . field ( "Version" , & self . Version ) . field ( "Size" , & self . Size ) . field ( "UnsafeShutdownCount" , & self . UnsafeShutdownCount ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STORAGE_DEVICE_UNSAFE_SHUTDOWN_COUNT { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Size == other . Size && self . UnsafeShutdownCount == other . UnsafeShutdownCount } } impl :: std :: cmp :: Eq for STORAGE_DEVICE_UNSAFE_SHUTDOWN_COUNT { } unsafe impl :: windows :: Abi for STORAGE_DEVICE_UNSAFE_SHUTDOWN_COUNT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STORAGE_DIAGNOSTIC_DATA { pub Version : u32 , pub Size : u32 , pub ProviderId : :: windows :: Guid , pub BufferSize : u32 , pub Reserved : u32 , pub DiagnosticDataBuffer : [ u8 ;1 ] } impl STORAGE_DIAGNOSTIC_DATA { } impl :: std :: default :: Default for STORAGE_DIAGNOSTIC_DATA { fn default ( ) -> Self { Self { Version : 0 , Size : 0 , ProviderId : :: std :: default :: Default :: default ( ) , BufferSize : 0 , Reserved : 0 , DiagnosticDataBuffer : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for STORAGE_DIAGNOSTIC_DATA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "STORAGE_DIAGNOSTIC_DATA" ) . field ( "Version" , & self . Version ) . field ( "Size" , & self . Size ) . field ( "ProviderId" , & self . ProviderId ) . field ( "BufferSize" , & self . BufferSize ) . field ( "Reserved" , & self . Reserved ) . field ( "DiagnosticDataBuffer" , & self . DiagnosticDataBuffer ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STORAGE_DIAGNOSTIC_DATA { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Size == other . Size && self . ProviderId == other . ProviderId && self . BufferSize == other . BufferSize && self . Reserved == other . Reserved && self . DiagnosticDataBuffer == other . DiagnosticDataBuffer } } impl :: std :: cmp :: Eq for STORAGE_DIAGNOSTIC_DATA { } unsafe impl :: windows :: Abi for STORAGE_DIAGNOSTIC_DATA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct STORAGE_DIAGNOSTIC_LEVEL ( pub i32 ) ; pub const StorageDiagnosticLevelDefault : STORAGE_DIAGNOSTIC_LEVEL = STORAGE_DIAGNOSTIC_LEVEL ( 0i32 ) ; pub const StorageDiagnosticLevelMax : STORAGE_DIAGNOSTIC_LEVEL = STORAGE_DIAGNOSTIC_LEVEL ( 1i32 ) ; impl :: std :: convert :: From < i32 > for STORAGE_DIAGNOSTIC_LEVEL { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for STORAGE_DIAGNOSTIC_LEVEL { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STORAGE_DIAGNOSTIC_REQUEST { pub Version : u32 , pub Size : u32 , pub Reserved : u32 , pub TargetType : STORAGE_DIAGNOSTIC_TARGET_TYPE , pub Level : STORAGE_DIAGNOSTIC_LEVEL } impl STORAGE_DIAGNOSTIC_REQUEST { } impl :: std :: default :: Default for STORAGE_DIAGNOSTIC_REQUEST { fn default ( ) -> Self { Self { Version : 0 , Size : 0 , Reserved : 0 , TargetType : :: std :: default :: Default :: default ( ) , Level : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for STORAGE_DIAGNOSTIC_REQUEST { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "STORAGE_DIAGNOSTIC_REQUEST" ) . field ( "Version" , & self . Version ) . field ( "Size" , & self . Size ) . field ( "Reserved" , & self . Reserved ) . field ( "TargetType" , & self . TargetType ) . field ( "Level" , & self . Level ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STORAGE_DIAGNOSTIC_REQUEST { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Size == other . Size && self . Reserved == other . Reserved && self . TargetType == other . TargetType && self . Level == other . Level } } impl :: std :: cmp :: Eq for STORAGE_DIAGNOSTIC_REQUEST { } unsafe impl :: windows :: Abi for STORAGE_DIAGNOSTIC_REQUEST { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct STORAGE_DIAGNOSTIC_TARGET_TYPE ( pub i32 ) ; pub const StorageDiagnosticTargetTypeUndefined : STORAGE_DIAGNOSTIC_TARGET_TYPE = STORAGE_DIAGNOSTIC_TARGET_TYPE ( 0i32 ) ; pub const StorageDiagnosticTargetTypePort : STORAGE_DIAGNOSTIC_TARGET_TYPE = STORAGE_DIAGNOSTIC_TARGET_TYPE ( 1i32 ) ; pub const StorageDiagnosticTargetTypeMiniport : STORAGE_DIAGNOSTIC_TARGET_TYPE = STORAGE_DIAGNOSTIC_TARGET_TYPE ( 2i32 ) ; pub const StorageDiagnosticTargetTypeHbaFirmware : STORAGE_DIAGNOSTIC_TARGET_TYPE = STORAGE_DIAGNOSTIC_TARGET_TYPE ( 3i32 ) ; pub const StorageDiagnosticTargetTypeMax : STORAGE_DIAGNOSTIC_TARGET_TYPE = STORAGE_DIAGNOSTIC_TARGET_TYPE ( 4i32 ) ; impl :: std :: convert :: From < i32 > for STORAGE_DIAGNOSTIC_TARGET_TYPE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for STORAGE_DIAGNOSTIC_TARGET_TYPE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct STORAGE_DISK_HEALTH_STATUS ( pub i32 ) ; pub const DiskHealthUnknown : STORAGE_DISK_HEALTH_STATUS = STORAGE_DISK_HEALTH_STATUS ( 0i32 ) ; pub const DiskHealthUnhealthy : STORAGE_DISK_HEALTH_STATUS = STORAGE_DISK_HEALTH_STATUS ( 1i32 ) ; pub const DiskHealthWarning : STORAGE_DISK_HEALTH_STATUS = STORAGE_DISK_HEALTH_STATUS ( 2i32 ) ; pub const DiskHealthHealthy : STORAGE_DISK_HEALTH_STATUS = STORAGE_DISK_HEALTH_STATUS ( 3i32 ) ; pub const DiskHealthMax : STORAGE_DISK_HEALTH_STATUS = STORAGE_DISK_HEALTH_STATUS ( 4i32 ) ; impl :: std :: convert :: From < i32 > for STORAGE_DISK_HEALTH_STATUS { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for STORAGE_DISK_HEALTH_STATUS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct STORAGE_DISK_OPERATIONAL_STATUS ( pub i32 ) ; pub const DiskOpStatusNone : STORAGE_DISK_OPERATIONAL_STATUS = STORAGE_DISK_OPERATIONAL_STATUS ( 0i32 ) ; pub const DiskOpStatusUnknown : STORAGE_DISK_OPERATIONAL_STATUS = STORAGE_DISK_OPERATIONAL_STATUS ( 1i32 ) ; pub const DiskOpStatusOk : STORAGE_DISK_OPERATIONAL_STATUS = STORAGE_DISK_OPERATIONAL_STATUS ( 2i32 ) ; pub const DiskOpStatusPredictingFailure : STORAGE_DISK_OPERATIONAL_STATUS = STORAGE_DISK_OPERATIONAL_STATUS ( 3i32 ) ; pub const DiskOpStatusInService : STORAGE_DISK_OPERATIONAL_STATUS = STORAGE_DISK_OPERATIONAL_STATUS ( 4i32 ) ; pub const DiskOpStatusHardwareError : STORAGE_DISK_OPERATIONAL_STATUS = STORAGE_DISK_OPERATIONAL_STATUS ( 5i32 ) ; pub const DiskOpStatusNotUsable : STORAGE_DISK_OPERATIONAL_STATUS = STORAGE_DISK_OPERATIONAL_STATUS ( 6i32 ) ; pub const DiskOpStatusTransientError : STORAGE_DISK_OPERATIONAL_STATUS = STORAGE_DISK_OPERATIONAL_STATUS ( 7i32 ) ; pub const DiskOpStatusMissing : STORAGE_DISK_OPERATIONAL_STATUS = STORAGE_DISK_OPERATIONAL_STATUS ( 8i32 ) ; impl :: std :: convert :: From < i32 > for STORAGE_DISK_OPERATIONAL_STATUS { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for STORAGE_DISK_OPERATIONAL_STATUS { type Abi = Self ; type DefaultType = Self ; } pub const STORAGE_EVENT_DEVICE_OPERATION : u64 = 4u64 ; pub const STORAGE_EVENT_DEVICE_STATUS : u64 = 2u64 ; pub const STORAGE_EVENT_MEDIA_STATUS : u64 = 1u64 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STORAGE_EVENT_NOTIFICATION { pub Version : u32 , pub Size : u32 , pub Events : u64 } impl STORAGE_EVENT_NOTIFICATION { } impl :: std :: default :: Default for STORAGE_EVENT_NOTIFICATION { fn default ( ) -> Self { Self { Version : 0 , Size : 0 , Events : 0 } } } impl :: std :: fmt :: Debug for STORAGE_EVENT_NOTIFICATION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "STORAGE_EVENT_NOTIFICATION" ) . field ( "Version" , & self . Version ) . field ( "Size" , & self . Size ) . field ( "Events" , & self . Events ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STORAGE_EVENT_NOTIFICATION { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Size == other . Size && self . Events == other . Events } } impl :: std :: cmp :: Eq for STORAGE_EVENT_NOTIFICATION { } unsafe impl :: windows :: Abi for STORAGE_EVENT_NOTIFICATION { type Abi = Self ; type DefaultType = Self ; } pub const STORAGE_EVENT_NOTIFICATION_VERSION_V1 : u32 = 1u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STORAGE_FAILURE_PREDICTION_CONFIG { pub Version : u32 , pub Size : u32 , pub Set : u8 , pub Enabled : u8 , pub Reserved : u16 } impl STORAGE_FAILURE_PREDICTION_CONFIG { } impl :: std :: default :: Default for STORAGE_FAILURE_PREDICTION_CONFIG { fn default ( ) -> Self { Self { Version : 0 , Size : 0 , Set : 0 , Enabled : 0 , Reserved : 0 } } } impl :: std :: fmt :: Debug for STORAGE_FAILURE_PREDICTION_CONFIG { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "STORAGE_FAILURE_PREDICTION_CONFIG" ) . field ( "Version" , & self . Version ) . field ( "Size" , & self . Size ) . field ( "Set" , & self . Set ) . field ( "Enabled" , & self . Enabled ) . field ( "Reserved" , & self . Reserved ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STORAGE_FAILURE_PREDICTION_CONFIG { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Size == other . Size && self . Set == other . Set && self . Enabled == other . Enabled && self . Reserved == other . Reserved } } impl :: std :: cmp :: Eq for STORAGE_FAILURE_PREDICTION_CONFIG { } unsafe impl :: windows :: Abi for STORAGE_FAILURE_PREDICTION_CONFIG { type Abi = Self ; type DefaultType = Self ; } pub const STORAGE_FAILURE_PREDICTION_CONFIG_V1 : u32 = 1u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STORAGE_GET_BC_PROPERTIES_OUTPUT { pub MaximumRequestsPerPeriod : u32 , pub MinimumPeriod : u32 , pub MaximumRequestSize : u64 , pub EstimatedTimePerRequest : u32 , pub NumOutStandingRequests : u32 , pub RequestSize : u64 } impl STORAGE_GET_BC_PROPERTIES_OUTPUT { } impl :: std :: default :: Default for STORAGE_GET_BC_PROPERTIES_OUTPUT { fn default ( ) -> Self { Self { MaximumRequestsPerPeriod : 0 , MinimumPeriod : 0 , MaximumRequestSize : 0 , EstimatedTimePerRequest : 0 , NumOutStandingRequests : 0 , RequestSize : 0 } } } impl :: std :: fmt :: Debug for STORAGE_GET_BC_PROPERTIES_OUTPUT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "STORAGE_GET_BC_PROPERTIES_OUTPUT" ) . field ( "MaximumRequestsPerPeriod" , & self . MaximumRequestsPerPeriod ) . field ( "MinimumPeriod" , & self . MinimumPeriod ) . field ( "MaximumRequestSize" , & self . MaximumRequestSize ) . field ( "EstimatedTimePerRequest" , & self . EstimatedTimePerRequest ) . field ( "NumOutStandingRequests" , & self . NumOutStandingRequests ) . field ( "RequestSize" , & self . RequestSize ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STORAGE_GET_BC_PROPERTIES_OUTPUT { fn eq ( & self , other : & Self ) -> bool { self . MaximumRequestsPerPeriod == other . MaximumRequestsPerPeriod && self . MinimumPeriod == other . MinimumPeriod && self . MaximumRequestSize == other . MaximumRequestSize && self . EstimatedTimePerRequest == other . EstimatedTimePerRequest && self . NumOutStandingRequests == other . NumOutStandingRequests && self . RequestSize == other . RequestSize } } impl :: std :: cmp :: Eq for STORAGE_GET_BC_PROPERTIES_OUTPUT { } unsafe impl :: windows :: Abi for STORAGE_GET_BC_PROPERTIES_OUTPUT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STORAGE_HOTPLUG_INFO { pub Size : u32 , pub MediaRemovable : u8 , pub MediaHotplug : u8 , pub DeviceHotplug : u8 , pub WriteCacheEnableOverride : u8 } impl STORAGE_HOTPLUG_INFO { } impl :: std :: default :: Default for STORAGE_HOTPLUG_INFO { fn default ( ) -> Self { Self { Size : 0 , MediaRemovable : 0 , MediaHotplug : 0 , DeviceHotplug : 0 , WriteCacheEnableOverride : 0 } } } impl :: std :: fmt :: Debug for STORAGE_HOTPLUG_INFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "STORAGE_HOTPLUG_INFO" ) . field ( "Size" , & self . Size ) . field ( "MediaRemovable" , & self . MediaRemovable ) . field ( "MediaHotplug" , & self . MediaHotplug ) . field ( "DeviceHotplug" , & self . DeviceHotplug ) . field ( "WriteCacheEnableOverride" , & self . WriteCacheEnableOverride ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STORAGE_HOTPLUG_INFO { fn eq ( & self , other : & Self ) -> bool { self . Size == other . Size && self . MediaRemovable == other . MediaRemovable && self . MediaHotplug == other . MediaHotplug && self . DeviceHotplug == other . DeviceHotplug && self . WriteCacheEnableOverride == other . WriteCacheEnableOverride } } impl :: std :: cmp :: Eq for STORAGE_HOTPLUG_INFO { } unsafe impl :: windows :: Abi for STORAGE_HOTPLUG_INFO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STORAGE_HW_ENDURANCE_DATA_DESCRIPTOR { pub Version : u32 , pub Size : u32 , pub EnduranceInfo : STORAGE_HW_ENDURANCE_INFO } impl STORAGE_HW_ENDURANCE_DATA_DESCRIPTOR { } impl :: std :: default :: Default for STORAGE_HW_ENDURANCE_DATA_DESCRIPTOR { fn default ( ) -> Self { Self { Version : 0 , Size : 0 , EnduranceInfo : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for STORAGE_HW_ENDURANCE_DATA_DESCRIPTOR { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "STORAGE_HW_ENDURANCE_DATA_DESCRIPTOR" ) . field ( "Version" , & self . Version ) . field ( "Size" , & self . Size ) . field ( "EnduranceInfo" , & self . EnduranceInfo ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STORAGE_HW_ENDURANCE_DATA_DESCRIPTOR { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Size == other . Size && self . EnduranceInfo == other . EnduranceInfo } } impl :: std :: cmp :: Eq for STORAGE_HW_ENDURANCE_DATA_DESCRIPTOR { } unsafe impl :: windows :: Abi for STORAGE_HW_ENDURANCE_DATA_DESCRIPTOR { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STORAGE_HW_ENDURANCE_INFO { pub ValidFields : u32 , pub GroupId : u32 , pub Flags : STORAGE_HW_ENDURANCE_INFO_0 , pub LifePercentage : u32 , pub BytesReadCount : [ u8 ;16 ] , pub ByteWriteCount : [ u8 ;16 ] } impl STORAGE_HW_ENDURANCE_INFO { } impl :: std :: default :: Default for STORAGE_HW_ENDURANCE_INFO { fn default ( ) -> Self { Self { ValidFields : 0 , GroupId : 0 , Flags : :: std :: default :: Default :: default ( ) , LifePercentage : 0 , BytesReadCount : [ 0 ;16 ] , ByteWriteCount : [ 0 ;16 ] } } } impl :: std :: fmt :: Debug for STORAGE_HW_ENDURANCE_INFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "STORAGE_HW_ENDURANCE_INFO" ) . field ( "ValidFields" , & self . ValidFields ) . field ( "GroupId" , & self . GroupId ) . field ( "Flags" , & self . Flags ) . field ( "LifePercentage" , & self . LifePercentage ) . field ( "BytesReadCount" , & self . BytesReadCount ) . field ( "ByteWriteCount" , & self . ByteWriteCount ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STORAGE_HW_ENDURANCE_INFO { fn eq ( & self , other : & Self ) -> bool { self . ValidFields == other . ValidFields && self . GroupId == other . GroupId && self . Flags == other . Flags && self . LifePercentage == other . LifePercentage && self . BytesReadCount == other . BytesReadCount && self . ByteWriteCount == other . ByteWriteCount } } impl :: std :: cmp :: Eq for STORAGE_HW_ENDURANCE_INFO { } unsafe impl :: windows :: Abi for STORAGE_HW_ENDURANCE_INFO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STORAGE_HW_ENDURANCE_INFO_0 { pub _bitfield : u32 } impl STORAGE_HW_ENDURANCE_INFO_0 { } impl :: std :: default :: Default for STORAGE_HW_ENDURANCE_INFO_0 { fn default ( ) -> Self { Self { _bitfield : 0 } } } impl :: std :: fmt :: Debug for STORAGE_HW_ENDURANCE_INFO_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Flags_e__Struct" ) . field ( "_bitfield" , & self . _bitfield ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STORAGE_HW_ENDURANCE_INFO_0 { fn eq ( & self , other : & Self ) -> bool { self . _bitfield == other . _bitfield } } impl :: std :: cmp :: Eq for STORAGE_HW_ENDURANCE_INFO_0 { } unsafe impl :: windows :: Abi for STORAGE_HW_ENDURANCE_INFO_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STORAGE_HW_FIRMWARE_DOWNLOAD_V2 { pub Version : u32 , pub Size : u32 , pub Flags : u32 , pub Slot : u8 , pub Reserved : [ u8 ;3 ] , pub Offset : u64 , pub BufferSize : u64 , pub ImageSize : u32 , pub Reserved2 : u32 , pub ImageBuffer : [ u8 ;1 ] } impl STORAGE_HW_FIRMWARE_DOWNLOAD_V2 { } impl :: std :: default :: Default for STORAGE_HW_FIRMWARE_DOWNLOAD_V2 { fn default ( ) -> Self { Self { Version : 0 , Size : 0 , Flags : 0 , Slot : 0 , Reserved : [ 0 ;3 ] , Offset : 0 , BufferSize : 0 , ImageSize : 0 , Reserved2 : 0 , ImageBuffer : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for STORAGE_HW_FIRMWARE_DOWNLOAD_V2 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "STORAGE_HW_FIRMWARE_DOWNLOAD_V2" ) . field ( "Version" , & self . Version ) . field ( "Size" , & self . Size ) . field ( "Flags" , & self . Flags ) . field ( "Slot" , & self . Slot ) . field ( "Reserved" , & self . Reserved ) . field ( "Offset" , & self . Offset ) . field ( "BufferSize" , & self . BufferSize ) . field ( "ImageSize" , & self . ImageSize ) . field ( "Reserved2" , & self . Reserved2 ) . field ( "ImageBuffer" , & self . ImageBuffer ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STORAGE_HW_FIRMWARE_DOWNLOAD_V2 { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Size == other . Size && self . Flags == other . Flags && self . Slot == other . Slot && self . Reserved == other . Reserved && self . Offset == other . Offset && self . BufferSize == other . BufferSize && self . ImageSize == other . ImageSize && self . Reserved2 == other . Reserved2 && self . ImageBuffer == other . ImageBuffer } } impl :: std :: cmp :: Eq for STORAGE_HW_FIRMWARE_DOWNLOAD_V2 { } unsafe impl :: windows :: Abi for STORAGE_HW_FIRMWARE_DOWNLOAD_V2 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STORAGE_HW_FIRMWARE_INFO { pub Version : u32 , pub Size : u32 , pub _bitfield : u8 , pub SlotCount : u8 , pub ActiveSlot : u8 , pub PendingActivateSlot : u8 , pub FirmwareShared : u8 , pub Reserved : [ u8 ;3 ] , pub ImagePayloadAlignment : u32 , pub ImagePayloadMaxSize : u32 , pub Slot : [ STORAGE_HW_FIRMWARE_SLOT_INFO ;1 ] } impl STORAGE_HW_FIRMWARE_INFO { } impl :: std :: default :: Default for STORAGE_HW_FIRMWARE_INFO { fn default ( ) -> Self { Self { Version : 0 , Size : 0 , _bitfield : 0 , SlotCount : 0 , ActiveSlot : 0 , PendingActivateSlot : 0 , FirmwareShared : 0 , Reserved : [ 0 ;3 ] , ImagePayloadAlignment : 0 , ImagePayloadMaxSize : 0 , Slot : [ :: std :: default :: Default :: default ( ) ;1 ] } } } impl :: std :: fmt :: Debug for STORAGE_HW_FIRMWARE_INFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "STORAGE_HW_FIRMWARE_INFO" ) . field ( "Version" , & self . Version ) . field ( "Size" , & self . Size ) . field ( "_bitfield" , & self . _bitfield ) . field ( "SlotCount" , & self . SlotCount ) . field ( "ActiveSlot" , & self . ActiveSlot ) . field ( "PendingActivateSlot" , & self . PendingActivateSlot ) . field ( "FirmwareShared" , & self . FirmwareShared ) . field ( "Reserved" , & self . Reserved ) . field ( "ImagePayloadAlignment" , & self . ImagePayloadAlignment ) . field ( "ImagePayloadMaxSize" , & self . ImagePayloadMaxSize ) . field ( "Slot" , & self . Slot ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STORAGE_HW_FIRMWARE_INFO { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Size == other . Size && self . _bitfield == other . _bitfield && self . SlotCount == other . SlotCount && self . ActiveSlot == other . ActiveSlot && self . PendingActivateSlot == other . PendingActivateSlot && self . FirmwareShared == other . FirmwareShared && self . Reserved == other . Reserved && self . ImagePayloadAlignment == other . ImagePayloadAlignment && self . ImagePayloadMaxSize == other . ImagePayloadMaxSize && self . Slot == other . Slot } } impl :: std :: cmp :: Eq for STORAGE_HW_FIRMWARE_INFO { } unsafe impl :: windows :: Abi for STORAGE_HW_FIRMWARE_INFO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STORAGE_HW_FIRMWARE_INFO_QUERY { pub Version : u32 , pub Size : u32 , pub Flags : u32 , pub Reserved : u32 } impl STORAGE_HW_FIRMWARE_INFO_QUERY { } impl :: std :: default :: Default for STORAGE_HW_FIRMWARE_INFO_QUERY { fn default ( ) -> Self { Self { Version : 0 , Size : 0 , Flags : 0 , Reserved : 0 } } } impl :: std :: fmt :: Debug for STORAGE_HW_FIRMWARE_INFO_QUERY { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "STORAGE_HW_FIRMWARE_INFO_QUERY" ) . field ( "Version" , & self . Version ) . field ( "Size" , & self . Size ) . field ( "Flags" , & self . Flags ) . field ( "Reserved" , & self . Reserved ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STORAGE_HW_FIRMWARE_INFO_QUERY { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Size == other . Size && self . Flags == other . Flags && self . Reserved == other . Reserved } } impl :: std :: cmp :: Eq for STORAGE_HW_FIRMWARE_INFO_QUERY { } unsafe impl :: windows :: Abi for STORAGE_HW_FIRMWARE_INFO_QUERY { type Abi = Self ; type DefaultType = Self ; } pub const STORAGE_HW_FIRMWARE_INVALID_SLOT : u32 = 255u32 ; pub const STORAGE_HW_FIRMWARE_REQUEST_FLAG_CONTROLLER : u32 = 1u32 ; pub const STORAGE_HW_FIRMWARE_REQUEST_FLAG_FIRST_SEGMENT : u32 = 4u32 ; pub const STORAGE_HW_FIRMWARE_REQUEST_FLAG_LAST_SEGMENT : u32 = 2u32 ; pub const STORAGE_HW_FIRMWARE_REQUEST_FLAG_SWITCH_TO_EXISTING_FIRMWARE : u32 = 2147483648u32 ; pub const STORAGE_HW_FIRMWARE_REVISION_LENGTH : u32 = 16u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STORAGE_HW_FIRMWARE_SLOT_INFO { pub Version : u32 , pub Size : u32 , pub SlotNumber : u8 , pub _bitfield : u8 , pub Reserved1 : [ u8 ;6 ] , pub Revision : [ u8 ;16 ] } impl STORAGE_HW_FIRMWARE_SLOT_INFO { } impl :: std :: default :: Default for STORAGE_HW_FIRMWARE_SLOT_INFO { fn default ( ) -> Self { Self { Version : 0 , Size : 0 , SlotNumber : 0 , _bitfield : 0 , Reserved1 : [ 0 ;6 ] , Revision : [ 0 ;16 ] } } } impl :: std :: fmt :: Debug for STORAGE_HW_FIRMWARE_SLOT_INFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "STORAGE_HW_FIRMWARE_SLOT_INFO" ) . field ( "Version" , & self . Version ) . field ( "Size" , & self . Size ) . field ( "SlotNumber" , & self . SlotNumber ) . field ( "_bitfield" , & self . _bitfield ) . field ( "Reserved1" , & self . Reserved1 ) . field ( "Revision" , & self . Revision ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STORAGE_HW_FIRMWARE_SLOT_INFO { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Size == other . Size && self . SlotNumber == other . SlotNumber && self . _bitfield == other . _bitfield && self . Reserved1 == other . Reserved1 && self . Revision == other . Revision } } impl :: std :: cmp :: Eq for STORAGE_HW_FIRMWARE_SLOT_INFO { } unsafe impl :: windows :: Abi for STORAGE_HW_FIRMWARE_SLOT_INFO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STORAGE_IDENTIFIER { pub CodeSet : STORAGE_IDENTIFIER_CODE_SET , pub Type : STORAGE_IDENTIFIER_TYPE , pub IdentifierSize : u16 , pub NextOffset : u16 , pub Association : STORAGE_ASSOCIATION_TYPE , pub Identifier : [ u8 ;1 ] } impl STORAGE_IDENTIFIER { } impl :: std :: default :: Default for STORAGE_IDENTIFIER { fn default ( ) -> Self { Self { CodeSet : :: std :: default :: Default :: default ( ) , Type : :: std :: default :: Default :: default ( ) , IdentifierSize : 0 , NextOffset : 0 , Association : :: std :: default :: Default :: default ( ) , Identifier : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for STORAGE_IDENTIFIER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "STORAGE_IDENTIFIER" ) . field ( "CodeSet" , & self . CodeSet ) . field ( "Type" , & self . Type ) . field ( "IdentifierSize" , & self . IdentifierSize ) . field ( "NextOffset" , & self . NextOffset ) . field ( "Association" , & self . Association ) . field ( "Identifier" , & self . Identifier ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STORAGE_IDENTIFIER { fn eq ( & self , other : & Self ) -> bool { self . CodeSet == other . CodeSet && self . Type == other . Type && self . IdentifierSize == other . IdentifierSize && self . NextOffset == other . NextOffset && self . Association == other . Association && self . Identifier == other . Identifier } } impl :: std :: cmp :: Eq for STORAGE_IDENTIFIER { } unsafe impl :: windows :: Abi for STORAGE_IDENTIFIER { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct STORAGE_IDENTIFIER_CODE_SET ( pub i32 ) ; pub const StorageIdCodeSetReserved : STORAGE_IDENTIFIER_CODE_SET = STORAGE_IDENTIFIER_CODE_SET ( 0i32 ) ; pub const StorageIdCodeSetBinary : STORAGE_IDENTIFIER_CODE_SET = STORAGE_IDENTIFIER_CODE_SET ( 1i32 ) ; pub const StorageIdCodeSetAscii : STORAGE_IDENTIFIER_CODE_SET = STORAGE_IDENTIFIER_CODE_SET ( 2i32 ) ; pub const StorageIdCodeSetUtf8 : STORAGE_IDENTIFIER_CODE_SET = STORAGE_IDENTIFIER_CODE_SET ( 3i32 ) ; impl :: std :: convert :: From < i32 > for STORAGE_IDENTIFIER_CODE_SET { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for STORAGE_IDENTIFIER_CODE_SET { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct STORAGE_IDENTIFIER_TYPE ( pub i32 ) ; pub const StorageIdTypeVendorSpecific : STORAGE_IDENTIFIER_TYPE = STORAGE_IDENTIFIER_TYPE ( 0i32 ) ; pub const StorageIdTypeVendorId : STORAGE_IDENTIFIER_TYPE = STORAGE_IDENTIFIER_TYPE ( 1i32 ) ; pub const StorageIdTypeEUI64 : STORAGE_IDENTIFIER_TYPE = STORAGE_IDENTIFIER_TYPE ( 2i32 ) ; pub const StorageIdTypeFCPHName : STORAGE_IDENTIFIER_TYPE = STORAGE_IDENTIFIER_TYPE ( 3i32 ) ; pub const StorageIdTypePortRelative : STORAGE_IDENTIFIER_TYPE = STORAGE_IDENTIFIER_TYPE ( 4i32 ) ; pub const StorageIdTypeTargetPortGroup : STORAGE_IDENTIFIER_TYPE = STORAGE_IDENTIFIER_TYPE ( 5i32 ) ; pub const StorageIdTypeLogicalUnitGroup : STORAGE_IDENTIFIER_TYPE = STORAGE_IDENTIFIER_TYPE ( 6i32 ) ; pub const StorageIdTypeMD5LogicalUnitIdentifier : STORAGE_IDENTIFIER_TYPE = STORAGE_IDENTIFIER_TYPE ( 7i32 ) ; pub const StorageIdTypeScsiNameString : STORAGE_IDENTIFIER_TYPE = STORAGE_IDENTIFIER_TYPE ( 8i32 ) ; impl :: std :: convert :: From < i32 > for STORAGE_IDENTIFIER_TYPE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for STORAGE_IDENTIFIER_TYPE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STORAGE_IDLE_POWER { pub Version : u32 , pub Size : u32 , pub _bitfield : u32 , pub D3IdleTimeout : u32 } impl STORAGE_IDLE_POWER { } impl :: std :: default :: Default for STORAGE_IDLE_POWER { fn default ( ) -> Self { Self { Version : 0 , Size : 0 , _bitfield : 0 , D3IdleTimeout : 0 } } } impl :: std :: fmt :: Debug for STORAGE_IDLE_POWER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "STORAGE_IDLE_POWER" ) . field ( "Version" , & self . Version ) . field ( "Size" , & self . Size ) . field ( "_bitfield" , & self . _bitfield ) . field ( "D3IdleTimeout" , & self . D3IdleTimeout ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STORAGE_IDLE_POWER { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Size == other . Size && self . _bitfield == other . _bitfield && self . D3IdleTimeout == other . D3IdleTimeout } } impl :: std :: cmp :: Eq for STORAGE_IDLE_POWER { } unsafe impl :: windows :: Abi for STORAGE_IDLE_POWER { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STORAGE_IDLE_POWERUP_REASON { pub Version : u32 , pub Size : u32 , pub PowerupReason : STORAGE_POWERUP_REASON_TYPE } impl STORAGE_IDLE_POWERUP_REASON { } impl :: std :: default :: Default for STORAGE_IDLE_POWERUP_REASON { fn default ( ) -> Self { Self { Version : 0 , Size : 0 , PowerupReason : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for STORAGE_IDLE_POWERUP_REASON { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "STORAGE_IDLE_POWERUP_REASON" ) . field ( "Version" , & self . Version ) . field ( "Size" , & self . Size ) . field ( "PowerupReason" , & self . PowerupReason ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STORAGE_IDLE_POWERUP_REASON { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Size == other . Size && self . PowerupReason == other . PowerupReason } } impl :: std :: cmp :: Eq for STORAGE_IDLE_POWERUP_REASON { } unsafe impl :: windows :: Abi for STORAGE_IDLE_POWERUP_REASON { type Abi = Self ; type DefaultType = Self ; } pub const STORAGE_IDLE_POWERUP_REASON_VERSION_V1 : u32 = 1u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct STORAGE_ID_NAA_FORMAT ( pub i32 ) ; pub const StorageIdNAAFormatIEEEExtended : STORAGE_ID_NAA_FORMAT = STORAGE_ID_NAA_FORMAT ( 2i32 ) ; pub const StorageIdNAAFormatIEEERegistered : STORAGE_ID_NAA_FORMAT = STORAGE_ID_NAA_FORMAT ( 3i32 ) ; pub const StorageIdNAAFormatIEEEERegisteredExtended : STORAGE_ID_NAA_FORMAT = STORAGE_ID_NAA_FORMAT ( 5i32 ) ; impl :: std :: convert :: From < i32 > for STORAGE_ID_NAA_FORMAT { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for STORAGE_ID_NAA_FORMAT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STORAGE_LB_PROVISIONING_MAP_RESOURCES { pub Size : u32 , pub Version : u32 , pub _bitfield1 : u8 , pub Reserved1 : [ u8 ;3 ] , pub _bitfield2 : u8 , pub Reserved3 : [ u8 ;3 ] , pub AvailableMappingResources : u64 , pub UsedMappingResources : u64 } impl STORAGE_LB_PROVISIONING_MAP_RESOURCES { } impl :: std :: default :: Default for STORAGE_LB_PROVISIONING_MAP_RESOURCES { fn default ( ) -> Self { Self { Size : 0 , Version : 0 , _bitfield1 : 0 , Reserved1 : [ 0 ;3 ] , _bitfield2 : 0 , Reserved3 : [ 0 ;3 ] , AvailableMappingResources : 0 , UsedMappingResources : 0 } } } impl :: std :: fmt :: Debug for STORAGE_LB_PROVISIONING_MAP_RESOURCES { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "STORAGE_LB_PROVISIONING_MAP_RESOURCES" ) . field ( "Size" , & self . Size ) . field ( "Version" , & self . Version ) . field ( "_bitfield1" , & self . _bitfield1 ) . field ( "Reserved1" , & self . Reserved1 ) . field ( "_bitfield2" , & self . _bitfield2 ) . field ( "Reserved3" , & self . Reserved3 ) . field ( "AvailableMappingResources" , & self . AvailableMappingResources ) . field ( "UsedMappingResources" , & self . UsedMappingResources ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STORAGE_LB_PROVISIONING_MAP_RESOURCES { fn eq ( & self , other : & Self ) -> bool { self . Size == other . Size && self . Version == other . Version && self . _bitfield1 == other . _bitfield1 && self . Reserved1 == other . Reserved1 && self . _bitfield2 == other . _bitfield2 && self . Reserved3 == other . Reserved3 && self . AvailableMappingResources == other . AvailableMappingResources && self . UsedMappingResources == other . UsedMappingResources } } impl :: std :: cmp :: Eq for STORAGE_LB_PROVISIONING_MAP_RESOURCES { } unsafe impl :: windows :: Abi for STORAGE_LB_PROVISIONING_MAP_RESOURCES { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STORAGE_MEDIA_SERIAL_NUMBER_DATA { pub Reserved : u16 , pub SerialNumberLength : u16 , pub SerialNumber : [ u8 ;1 ] } impl STORAGE_MEDIA_SERIAL_NUMBER_DATA { } impl :: std :: default :: Default for STORAGE_MEDIA_SERIAL_NUMBER_DATA { fn default ( ) -> Self { Self { Reserved : 0 , SerialNumberLength : 0 , SerialNumber : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for STORAGE_MEDIA_SERIAL_NUMBER_DATA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "STORAGE_MEDIA_SERIAL_NUMBER_DATA" ) . field ( "Reserved" , & self . Reserved ) . field ( "SerialNumberLength" , & self . SerialNumberLength ) . field ( "SerialNumber" , & self . SerialNumber ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STORAGE_MEDIA_SERIAL_NUMBER_DATA { fn eq ( & self , other : & Self ) -> bool { self . Reserved == other . Reserved && self . SerialNumberLength == other . SerialNumberLength && self . SerialNumber == other . SerialNumber } } impl :: std :: cmp :: Eq for STORAGE_MEDIA_SERIAL_NUMBER_DATA { } unsafe impl :: windows :: Abi for STORAGE_MEDIA_SERIAL_NUMBER_DATA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct STORAGE_MEDIA_TYPE ( pub i32 ) ; pub const DDS_4mm : STORAGE_MEDIA_TYPE = STORAGE_MEDIA_TYPE ( 32i32 ) ; pub const MiniQic : STORAGE_MEDIA_TYPE = STORAGE_MEDIA_TYPE ( 33i32 ) ; pub const Travan : STORAGE_MEDIA_TYPE = STORAGE_MEDIA_TYPE ( 34i32 ) ; pub const QIC : STORAGE_MEDIA_TYPE = STORAGE_MEDIA_TYPE ( 35i32 ) ; pub const MP_8mm : STORAGE_MEDIA_TYPE = STORAGE_MEDIA_TYPE ( 36i32 ) ; pub const AME_8mm : STORAGE_MEDIA_TYPE = STORAGE_MEDIA_TYPE ( 37i32 ) ; pub const AIT1_8mm : STORAGE_MEDIA_TYPE = STORAGE_MEDIA_TYPE ( 38i32 ) ; pub const DLT : STORAGE_MEDIA_TYPE = STORAGE_MEDIA_TYPE ( 39i32 ) ; pub const NCTP : STORAGE_MEDIA_TYPE = STORAGE_MEDIA_TYPE ( 40i32 ) ; pub const IBM_3480 : STORAGE_MEDIA_TYPE = STORAGE_MEDIA_TYPE ( 41i32 ) ; pub const IBM_3490E : STORAGE_MEDIA_TYPE = STORAGE_MEDIA_TYPE ( 42i32 ) ; pub const IBM_Magstar_3590 : STORAGE_MEDIA_TYPE = STORAGE_MEDIA_TYPE ( 43i32 ) ; pub const IBM_Magstar_MP : STORAGE_MEDIA_TYPE = STORAGE_MEDIA_TYPE ( 44i32 ) ; pub const STK_DATA_D3 : STORAGE_MEDIA_TYPE = STORAGE_MEDIA_TYPE ( 45i32 ) ; pub const SONY_DTF : STORAGE_MEDIA_TYPE = STORAGE_MEDIA_TYPE ( 46i32 ) ; pub const DV_6mm : STORAGE_MEDIA_TYPE = STORAGE_MEDIA_TYPE ( 47i32 ) ; pub const DMI : STORAGE_MEDIA_TYPE = STORAGE_MEDIA_TYPE ( 48i32 ) ; pub const SONY_D2 : STORAGE_MEDIA_TYPE = STORAGE_MEDIA_TYPE ( 49i32 ) ; pub const CLEANER_CARTRIDGE : STORAGE_MEDIA_TYPE = STORAGE_MEDIA_TYPE ( 50i32 ) ; pub const CD_ROM : STORAGE_MEDIA_TYPE = STORAGE_MEDIA_TYPE ( 51i32 ) ; pub const CD_R : STORAGE_MEDIA_TYPE = STORAGE_MEDIA_TYPE ( 52i32 ) ; pub const CD_RW : STORAGE_MEDIA_TYPE = STORAGE_MEDIA_TYPE ( 53i32 ) ; pub const DVD_ROM : STORAGE_MEDIA_TYPE = STORAGE_MEDIA_TYPE ( 54i32 ) ; pub const DVD_R : STORAGE_MEDIA_TYPE = STORAGE_MEDIA_TYPE ( 55i32 ) ; pub const DVD_RW : STORAGE_MEDIA_TYPE = STORAGE_MEDIA_TYPE ( 56i32 ) ; pub const MO_3_RW : STORAGE_MEDIA_TYPE = STORAGE_MEDIA_TYPE ( 57i32 ) ; pub const MO_5_WO : STORAGE_MEDIA_TYPE = STORAGE_MEDIA_TYPE ( 58i32 ) ; pub const MO_5_RW : STORAGE_MEDIA_TYPE = STORAGE_MEDIA_TYPE ( 59i32 ) ; pub const MO_5_LIMDOW : STORAGE_MEDIA_TYPE = STORAGE_MEDIA_TYPE ( 60i32 ) ; pub const PC_5_WO : STORAGE_MEDIA_TYPE = STORAGE_MEDIA_TYPE ( 61i32 ) ; pub const PC_5_RW : STORAGE_MEDIA_TYPE = STORAGE_MEDIA_TYPE ( 62i32 ) ; pub const PD_5_RW : STORAGE_MEDIA_TYPE = STORAGE_MEDIA_TYPE ( 63i32 ) ; pub const ABL_5_WO : STORAGE_MEDIA_TYPE = STORAGE_MEDIA_TYPE ( 64i32 ) ; pub const PINNACLE_APEX_5_RW : STORAGE_MEDIA_TYPE = STORAGE_MEDIA_TYPE ( 65i32 ) ; pub const SONY_12_WO : STORAGE_MEDIA_TYPE = STORAGE_MEDIA_TYPE ( 66i32 ) ; pub const PHILIPS_12_WO : STORAGE_MEDIA_TYPE = STORAGE_MEDIA_TYPE ( 67i32 ) ; pub const HITACHI_12_WO : STORAGE_MEDIA_TYPE = STORAGE_MEDIA_TYPE ( 68i32 ) ; pub const CYGNET_12_WO : STORAGE_MEDIA_TYPE = STORAGE_MEDIA_TYPE ( 69i32 ) ; pub const KODAK_14_WO : STORAGE_MEDIA_TYPE = STORAGE_MEDIA_TYPE ( 70i32 ) ; pub const MO_NFR_525 : STORAGE_MEDIA_TYPE = STORAGE_MEDIA_TYPE ( 71i32 ) ; pub const NIKON_12_RW : STORAGE_MEDIA_TYPE = STORAGE_MEDIA_TYPE ( 72i32 ) ; pub const IOMEGA_ZIP : STORAGE_MEDIA_TYPE = STORAGE_MEDIA_TYPE ( 73i32 ) ; pub const IOMEGA_JAZ : STORAGE_MEDIA_TYPE = STORAGE_MEDIA_TYPE ( 74i32 ) ; pub const SYQUEST_EZ135 : STORAGE_MEDIA_TYPE = STORAGE_MEDIA_TYPE ( 75i32 ) ; pub const SYQUEST_EZFLYER : STORAGE_MEDIA_TYPE = STORAGE_MEDIA_TYPE ( 76i32 ) ; pub const SYQUEST_SYJET : STORAGE_MEDIA_TYPE = STORAGE_MEDIA_TYPE ( 77i32 ) ; pub const AVATAR_F2 : STORAGE_MEDIA_TYPE = STORAGE_MEDIA_TYPE ( 78i32 ) ; pub const MP2_8mm : STORAGE_MEDIA_TYPE = STORAGE_MEDIA_TYPE ( 79i32 ) ; pub const DST_S : STORAGE_MEDIA_TYPE = STORAGE_MEDIA_TYPE ( 80i32 ) ; pub const DST_M : STORAGE_MEDIA_TYPE = STORAGE_MEDIA_TYPE ( 81i32 ) ; pub const DST_L : STORAGE_MEDIA_TYPE = STORAGE_MEDIA_TYPE ( 82i32 ) ; pub const VXATape_1 : STORAGE_MEDIA_TYPE = STORAGE_MEDIA_TYPE ( 83i32 ) ; pub const VXATape_2 : STORAGE_MEDIA_TYPE = STORAGE_MEDIA_TYPE ( 84i32 ) ; pub const STK_9840 : STORAGE_MEDIA_TYPE = STORAGE_MEDIA_TYPE ( 85i32 ) ; pub const LTO_Ultrium : STORAGE_MEDIA_TYPE = STORAGE_MEDIA_TYPE ( 86i32 ) ; pub const LTO_Accelis : STORAGE_MEDIA_TYPE = STORAGE_MEDIA_TYPE ( 87i32 ) ; pub const DVD_RAM : STORAGE_MEDIA_TYPE = STORAGE_MEDIA_TYPE ( 88i32 ) ; pub const AIT_8mm : STORAGE_MEDIA_TYPE = STORAGE_MEDIA_TYPE ( 89i32 ) ; pub const ADR_1 : STORAGE_MEDIA_TYPE = STORAGE_MEDIA_TYPE ( 90i32 ) ; pub const ADR_2 : STORAGE_MEDIA_TYPE = STORAGE_MEDIA_TYPE ( 91i32 ) ; pub const STK_9940 : STORAGE_MEDIA_TYPE = STORAGE_MEDIA_TYPE ( 92i32 ) ; pub const SAIT : STORAGE_MEDIA_TYPE = STORAGE_MEDIA_TYPE ( 93i32 ) ; pub const VXATape : STORAGE_MEDIA_TYPE = STORAGE_MEDIA_TYPE ( 94i32 ) ; impl :: std :: convert :: From < i32 > for STORAGE_MEDIA_TYPE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for STORAGE_MEDIA_TYPE { type Abi = Self ; type DefaultType = Self ; } pub const STORAGE_OFFLOAD_MAX_TOKEN_LENGTH : u32 = 512u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STORAGE_OFFLOAD_READ_OUTPUT { pub OffloadReadFlags : u32 , pub Reserved : u32 , pub LengthProtected : u64 , pub TokenLength : u32 , pub Token : STORAGE_OFFLOAD_TOKEN } impl STORAGE_OFFLOAD_READ_OUTPUT { } impl :: std :: cmp :: PartialEq for STORAGE_OFFLOAD_READ_OUTPUT { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for STORAGE_OFFLOAD_READ_OUTPUT { } unsafe impl :: windows :: Abi for STORAGE_OFFLOAD_READ_OUTPUT { type Abi = Self ; type DefaultType = Self ; } pub const STORAGE_OFFLOAD_READ_RANGE_TRUNCATED : u32 = 1u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STORAGE_OFFLOAD_TOKEN { pub TokenType : [ u8 ;4 ] , pub Reserved : [ u8 ;2 ] , pub TokenIdLength : [ u8 ;2 ] , pub Anonymous : STORAGE_OFFLOAD_TOKEN_0 } impl STORAGE_OFFLOAD_TOKEN { } impl :: std :: cmp :: PartialEq for STORAGE_OFFLOAD_TOKEN { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for STORAGE_OFFLOAD_TOKEN { } unsafe impl :: windows :: Abi for STORAGE_OFFLOAD_TOKEN { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union STORAGE_OFFLOAD_TOKEN_0 { pub StorageOffloadZeroDataToken : STORAGE_OFFLOAD_TOKEN_0_0 , pub Token : [ u8 ;504 ] } impl STORAGE_OFFLOAD_TOKEN_0 { } impl :: std :: cmp :: PartialEq for STORAGE_OFFLOAD_TOKEN_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for STORAGE_OFFLOAD_TOKEN_0 { } unsafe impl :: windows :: Abi for STORAGE_OFFLOAD_TOKEN_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STORAGE_OFFLOAD_TOKEN_0_0 { pub Reserved2 : [ u8 ;504 ] } impl STORAGE_OFFLOAD_TOKEN_0_0 { } impl :: std :: default :: Default for STORAGE_OFFLOAD_TOKEN_0_0 { fn default ( ) -> Self { Self { Reserved2 : [ 0 ;504 ] } } } impl :: std :: fmt :: Debug for STORAGE_OFFLOAD_TOKEN_0_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_StorageOffloadZeroDataToken_e__Struct" ) . field ( "Reserved2" , & self . Reserved2 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STORAGE_OFFLOAD_TOKEN_0_0 { fn eq ( & self , other : & Self ) -> bool { self . Reserved2 == other . Reserved2 } } impl :: std :: cmp :: Eq for STORAGE_OFFLOAD_TOKEN_0_0 { } unsafe impl :: windows :: Abi for STORAGE_OFFLOAD_TOKEN_0_0 { type Abi = Self ; type DefaultType = Self ; } pub const STORAGE_OFFLOAD_TOKEN_ID_LENGTH : u32 = 504u32 ; pub const STORAGE_OFFLOAD_TOKEN_INVALID : u32 = 2u32 ; pub const STORAGE_OFFLOAD_TOKEN_TYPE_ZERO_DATA : u32 = 4294901761u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STORAGE_OFFLOAD_WRITE_OUTPUT { pub OffloadWriteFlags : u32 , pub Reserved : u32 , pub LengthCopied : u64 } impl STORAGE_OFFLOAD_WRITE_OUTPUT { } impl :: std :: default :: Default for STORAGE_OFFLOAD_WRITE_OUTPUT { fn default ( ) -> Self { Self { OffloadWriteFlags : 0 , Reserved : 0 , LengthCopied : 0 } } } impl :: std :: fmt :: Debug for STORAGE_OFFLOAD_WRITE_OUTPUT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "STORAGE_OFFLOAD_WRITE_OUTPUT" ) . field ( "OffloadWriteFlags" , & self . OffloadWriteFlags ) . field ( "Reserved" , & self . Reserved ) . field ( "LengthCopied" , & self . LengthCopied ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STORAGE_OFFLOAD_WRITE_OUTPUT { fn eq ( & self , other : & Self ) -> bool { self . OffloadWriteFlags == other . OffloadWriteFlags && self . Reserved == other . Reserved && self . LengthCopied == other . LengthCopied } } impl :: std :: cmp :: Eq for STORAGE_OFFLOAD_WRITE_OUTPUT { } unsafe impl :: windows :: Abi for STORAGE_OFFLOAD_WRITE_OUTPUT { type Abi = Self ; type DefaultType = Self ; } pub const STORAGE_OFFLOAD_WRITE_RANGE_TRUNCATED : u32 = 1u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STORAGE_OPERATIONAL_REASON { pub Version : u32 , pub Size : u32 , pub Reason : STORAGE_OPERATIONAL_STATUS_REASON , pub RawBytes : STORAGE_OPERATIONAL_REASON_0 } impl STORAGE_OPERATIONAL_REASON { } impl :: std :: cmp :: PartialEq for STORAGE_OPERATIONAL_REASON { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for STORAGE_OPERATIONAL_REASON { } unsafe impl :: windows :: Abi for STORAGE_OPERATIONAL_REASON { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union STORAGE_OPERATIONAL_REASON_0 { pub ScsiSenseKey : STORAGE_OPERATIONAL_REASON_0_1 , pub NVDIMM_N : STORAGE_OPERATIONAL_REASON_0_0 , pub AsUlong : u32 } impl STORAGE_OPERATIONAL_REASON_0 { } impl :: std :: cmp :: PartialEq for STORAGE_OPERATIONAL_REASON_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for STORAGE_OPERATIONAL_REASON_0 { } unsafe impl :: windows :: Abi for STORAGE_OPERATIONAL_REASON_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STORAGE_OPERATIONAL_REASON_0_0 { pub CriticalHealth : u8 , pub ModuleHealth : [ u8 ;2 ] , pub ErrorThresholdStatus : u8 } impl STORAGE_OPERATIONAL_REASON_0_0 { } impl :: std :: default :: Default for STORAGE_OPERATIONAL_REASON_0_0 { fn default ( ) -> Self { Self { CriticalHealth : 0 , ModuleHealth : [ 0 ;2 ] , ErrorThresholdStatus : 0 } } } impl :: std :: fmt :: Debug for STORAGE_OPERATIONAL_REASON_0_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_NVDIMM_N_e__Struct" ) . field ( "CriticalHealth" , & self . CriticalHealth ) . field ( "ModuleHealth" , & self . ModuleHealth ) . field ( "ErrorThresholdStatus" , & self . ErrorThresholdStatus ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STORAGE_OPERATIONAL_REASON_0_0 { fn eq ( & self , other : & Self ) -> bool { self . CriticalHealth == other . CriticalHealth && self . ModuleHealth == other . ModuleHealth && self . ErrorThresholdStatus == other . ErrorThresholdStatus } } impl :: std :: cmp :: Eq for STORAGE_OPERATIONAL_REASON_0_0 { } unsafe impl :: windows :: Abi for STORAGE_OPERATIONAL_REASON_0_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STORAGE_OPERATIONAL_REASON_0_1 { pub SenseKey : u8 , pub ASC : u8 , pub ASCQ : u8 , pub Reserved : u8 } impl STORAGE_OPERATIONAL_REASON_0_1 { } impl :: std :: default :: Default for STORAGE_OPERATIONAL_REASON_0_1 { fn default ( ) -> Self { Self { SenseKey : 0 , ASC : 0 , ASCQ : 0 , Reserved : 0 } } } impl :: std :: fmt :: Debug for STORAGE_OPERATIONAL_REASON_0_1 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_ScsiSenseKey_e__Struct" ) . field ( "SenseKey" , & self . SenseKey ) . field ( "ASC" , & self . ASC ) . field ( "ASCQ" , & self . ASCQ ) . field ( "Reserved" , & self . Reserved ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STORAGE_OPERATIONAL_REASON_0_1 { fn eq ( & self , other : & Self ) -> bool { self . SenseKey == other . SenseKey && self . ASC == other . ASC && self . ASCQ == other . ASCQ && self . Reserved == other . Reserved } } impl :: std :: cmp :: Eq for STORAGE_OPERATIONAL_REASON_0_1 { } unsafe impl :: windows :: Abi for STORAGE_OPERATIONAL_REASON_0_1 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct STORAGE_OPERATIONAL_STATUS_REASON ( pub i32 ) ; pub const DiskOpReasonUnknown : STORAGE_OPERATIONAL_STATUS_REASON = STORAGE_OPERATIONAL_STATUS_REASON ( 0i32 ) ; pub const DiskOpReasonScsiSenseCode : STORAGE_OPERATIONAL_STATUS_REASON = STORAGE_OPERATIONAL_STATUS_REASON ( 1i32 ) ; pub const DiskOpReasonMedia : STORAGE_OPERATIONAL_STATUS_REASON = STORAGE_OPERATIONAL_STATUS_REASON ( 2i32 ) ; pub const DiskOpReasonIo : STORAGE_OPERATIONAL_STATUS_REASON = STORAGE_OPERATIONAL_STATUS_REASON ( 3i32 ) ; pub const DiskOpReasonThresholdExceeded : STORAGE_OPERATIONAL_STATUS_REASON = STORAGE_OPERATIONAL_STATUS_REASON ( 4i32 ) ; pub const DiskOpReasonLostData : STORAGE_OPERATIONAL_STATUS_REASON = STORAGE_OPERATIONAL_STATUS_REASON ( 5i32 ) ; pub const DiskOpReasonEnergySource : STORAGE_OPERATIONAL_STATUS_REASON = STORAGE_OPERATIONAL_STATUS_REASON ( 6i32 ) ; pub const DiskOpReasonConfiguration : STORAGE_OPERATIONAL_STATUS_REASON = STORAGE_OPERATIONAL_STATUS_REASON ( 7i32 ) ; pub const DiskOpReasonDeviceController : STORAGE_OPERATIONAL_STATUS_REASON = STORAGE_OPERATIONAL_STATUS_REASON ( 8i32 ) ; pub const DiskOpReasonMediaController : STORAGE_OPERATIONAL_STATUS_REASON = STORAGE_OPERATIONAL_STATUS_REASON ( 9i32 ) ; pub const DiskOpReasonComponent : STORAGE_OPERATIONAL_STATUS_REASON = STORAGE_OPERATIONAL_STATUS_REASON ( 10i32 ) ; pub const DiskOpReasonNVDIMM_N : STORAGE_OPERATIONAL_STATUS_REASON = STORAGE_OPERATIONAL_STATUS_REASON ( 11i32 ) ; pub const DiskOpReasonBackgroundOperation : STORAGE_OPERATIONAL_STATUS_REASON = STORAGE_OPERATIONAL_STATUS_REASON ( 12i32 ) ; pub const DiskOpReasonInvalidFirmware : STORAGE_OPERATIONAL_STATUS_REASON = STORAGE_OPERATIONAL_STATUS_REASON ( 13i32 ) ; pub const DiskOpReasonHealthCheck : STORAGE_OPERATIONAL_STATUS_REASON = STORAGE_OPERATIONAL_STATUS_REASON ( 14i32 ) ; pub const DiskOpReasonLostDataPersistence : STORAGE_OPERATIONAL_STATUS_REASON = STORAGE_OPERATIONAL_STATUS_REASON ( 15i32 ) ; pub const DiskOpReasonDisabledByPlatform : STORAGE_OPERATIONAL_STATUS_REASON = STORAGE_OPERATIONAL_STATUS_REASON ( 16i32 ) ; pub const DiskOpReasonLostWritePersistence : STORAGE_OPERATIONAL_STATUS_REASON = STORAGE_OPERATIONAL_STATUS_REASON ( 17i32 ) ; pub const DiskOpReasonDataPersistenceLossImminent : STORAGE_OPERATIONAL_STATUS_REASON = STORAGE_OPERATIONAL_STATUS_REASON ( 18i32 ) ; pub const DiskOpReasonWritePersistenceLossImminent : STORAGE_OPERATIONAL_STATUS_REASON = STORAGE_OPERATIONAL_STATUS_REASON ( 19i32 ) ; pub const DiskOpReasonMax : STORAGE_OPERATIONAL_STATUS_REASON = STORAGE_OPERATIONAL_STATUS_REASON ( 20i32 ) ; impl :: std :: convert :: From < i32 > for STORAGE_OPERATIONAL_STATUS_REASON { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for STORAGE_OPERATIONAL_STATUS_REASON { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct STORAGE_POWERUP_REASON_TYPE ( pub i32 ) ; pub const StoragePowerupUnknown : STORAGE_POWERUP_REASON_TYPE = STORAGE_POWERUP_REASON_TYPE ( 0i32 ) ; pub const StoragePowerupIO : STORAGE_POWERUP_REASON_TYPE = STORAGE_POWERUP_REASON_TYPE ( 1i32 ) ; pub const StoragePowerupDeviceAttention : STORAGE_POWERUP_REASON_TYPE = STORAGE_POWERUP_REASON_TYPE ( 2i32 ) ; impl :: std :: convert :: From < i32 > for STORAGE_POWERUP_REASON_TYPE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for STORAGE_POWERUP_REASON_TYPE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STORAGE_PREDICT_FAILURE { pub PredictFailure : u32 , pub VendorSpecific : [ u8 ;512 ] } impl STORAGE_PREDICT_FAILURE { } impl :: std :: default :: Default for STORAGE_PREDICT_FAILURE { fn default ( ) -> Self { Self { PredictFailure : 0 , VendorSpecific : [ 0 ;512 ] } } } impl :: std :: fmt :: Debug for STORAGE_PREDICT_FAILURE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "STORAGE_PREDICT_FAILURE" ) . field ( "PredictFailure" , & self . PredictFailure ) . field ( "VendorSpecific" , & self . VendorSpecific ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STORAGE_PREDICT_FAILURE { fn eq ( & self , other : & Self ) -> bool { self . PredictFailure == other . PredictFailure && self . VendorSpecific == other . VendorSpecific } } impl :: std :: cmp :: Eq for STORAGE_PREDICT_FAILURE { } unsafe impl :: windows :: Abi for STORAGE_PREDICT_FAILURE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STORAGE_PRIORITY_HINT_SUPPORT { pub SupportFlags : u32 } impl STORAGE_PRIORITY_HINT_SUPPORT { } impl :: std :: default :: Default for STORAGE_PRIORITY_HINT_SUPPORT { fn default ( ) -> Self { Self { SupportFlags : 0 } } } impl :: std :: fmt :: Debug for STORAGE_PRIORITY_HINT_SUPPORT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "STORAGE_PRIORITY_HINT_SUPPORT" ) . field ( "SupportFlags" , & self . SupportFlags ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STORAGE_PRIORITY_HINT_SUPPORT { fn eq ( & self , other : & Self ) -> bool { self . SupportFlags == other . SupportFlags } } impl :: std :: cmp :: Eq for STORAGE_PRIORITY_HINT_SUPPORT { } unsafe impl :: windows :: Abi for STORAGE_PRIORITY_HINT_SUPPORT { type Abi = Self ; type DefaultType = Self ; } pub const STORAGE_PRIORITY_HINT_SUPPORTED : u32 = 1u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STORAGE_PROPERTY_SET { pub PropertyId : super::super::Storage::FileSystem:: STORAGE_PROPERTY_ID , pub SetType : STORAGE_SET_TYPE , pub AdditionalParameters : [ u8 ;1 ] } impl STORAGE_PROPERTY_SET { } impl :: std :: default :: Default for STORAGE_PROPERTY_SET { fn default ( ) -> Self { Self { PropertyId : :: std :: default :: Default :: default ( ) , SetType : :: std :: default :: Default :: default ( ) , AdditionalParameters : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for STORAGE_PROPERTY_SET { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "STORAGE_PROPERTY_SET" ) . field ( "PropertyId" , & self . PropertyId ) . field ( "SetType" , & self . SetType ) . field ( "AdditionalParameters" , & self . AdditionalParameters ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STORAGE_PROPERTY_SET { fn eq ( & self , other : & Self ) -> bool { self . PropertyId == other . PropertyId && self . SetType == other . SetType && self . AdditionalParameters == other . AdditionalParameters } } impl :: std :: cmp :: Eq for STORAGE_PROPERTY_SET { } unsafe impl :: windows :: Abi for STORAGE_PROPERTY_SET { type Abi = Self ; type DefaultType = Self ; } pub const STORAGE_PROTOCOL_COMMAND_FLAG_ADAPTER_REQUEST : u32 = 2147483648u32 ; pub const STORAGE_PROTOCOL_COMMAND_LENGTH_NVME : u32 = 64u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STORAGE_PROTOCOL_DATA_DESCRIPTOR_EXT { pub Version : u32 , pub Size : u32 , pub ProtocolSpecificData : STORAGE_PROTOCOL_SPECIFIC_DATA_EXT } impl STORAGE_PROTOCOL_DATA_DESCRIPTOR_EXT { } impl :: std :: default :: Default for STORAGE_PROTOCOL_DATA_DESCRIPTOR_EXT { fn default ( ) -> Self { Self { Version : 0 , Size : 0 , ProtocolSpecificData : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for STORAGE_PROTOCOL_DATA_DESCRIPTOR_EXT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "STORAGE_PROTOCOL_DATA_DESCRIPTOR_EXT" ) . field ( "Version" , & self . Version ) . field ( "Size" , & self . Size ) . field ( "ProtocolSpecificData" , & self . ProtocolSpecificData ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STORAGE_PROTOCOL_DATA_DESCRIPTOR_EXT { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Size == other . Size && self . ProtocolSpecificData == other . ProtocolSpecificData } } impl :: std :: cmp :: Eq for STORAGE_PROTOCOL_DATA_DESCRIPTOR_EXT { } unsafe impl :: windows :: Abi for STORAGE_PROTOCOL_DATA_DESCRIPTOR_EXT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STORAGE_PROTOCOL_SPECIFIC_DATA_EXT { pub ProtocolType : super::super::Storage::FileSystem:: STORAGE_PROTOCOL_TYPE , pub DataType : u32 , pub ProtocolDataValue : u32 , pub ProtocolDataSubValue : u32 , pub ProtocolDataOffset : u32 , pub ProtocolDataLength : u32 , pub FixedProtocolReturnData : u32 , pub ProtocolDataSubValue2 : u32 , pub ProtocolDataSubValue3 : u32 , pub ProtocolDataSubValue4 : u32 , pub ProtocolDataSubValue5 : u32 , pub Reserved : [ u32 ;5 ] } impl STORAGE_PROTOCOL_SPECIFIC_DATA_EXT { } impl :: std :: default :: Default for STORAGE_PROTOCOL_SPECIFIC_DATA_EXT { fn default ( ) -> Self { Self { ProtocolType : :: std :: default :: Default :: default ( ) , DataType : 0 , ProtocolDataValue : 0 , ProtocolDataSubValue : 0 , ProtocolDataOffset : 0 , ProtocolDataLength : 0 , FixedProtocolReturnData : 0 , ProtocolDataSubValue2 : 0 , ProtocolDataSubValue3 : 0 , ProtocolDataSubValue4 : 0 , ProtocolDataSubValue5 : 0 , Reserved : [ 0 ;5 ] } } } impl :: std :: fmt :: Debug for STORAGE_PROTOCOL_SPECIFIC_DATA_EXT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "STORAGE_PROTOCOL_SPECIFIC_DATA_EXT" ) . field ( "ProtocolType" , & self . ProtocolType ) . field ( "DataType" , & self . DataType ) . field ( "ProtocolDataValue" , & self . ProtocolDataValue ) . field ( "ProtocolDataSubValue" , & self . ProtocolDataSubValue ) . field ( "ProtocolDataOffset" , & self . ProtocolDataOffset ) . field ( "ProtocolDataLength" , & self . ProtocolDataLength ) . field ( "FixedProtocolReturnData" , & self . FixedProtocolReturnData ) . field ( "ProtocolDataSubValue2" , & self . ProtocolDataSubValue2 ) . field ( "ProtocolDataSubValue3" , & self . ProtocolDataSubValue3 ) . field ( "ProtocolDataSubValue4" , & self . ProtocolDataSubValue4 ) . field ( "ProtocolDataSubValue5" , & self . ProtocolDataSubValue5 ) . field ( "Reserved" , & self . Reserved ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STORAGE_PROTOCOL_SPECIFIC_DATA_EXT { fn eq ( & self , other : & Self ) -> bool { self . ProtocolType == other . ProtocolType && self . DataType == other . DataType && self . ProtocolDataValue == other . ProtocolDataValue && self . ProtocolDataSubValue == other . ProtocolDataSubValue && self . ProtocolDataOffset == other . ProtocolDataOffset && self . ProtocolDataLength == other . ProtocolDataLength && self . FixedProtocolReturnData == other . FixedProtocolReturnData && self . ProtocolDataSubValue2 == other . ProtocolDataSubValue2 && self . ProtocolDataSubValue3 == other . ProtocolDataSubValue3 && self . ProtocolDataSubValue4 == other . ProtocolDataSubValue4 && self . ProtocolDataSubValue5 == other . ProtocolDataSubValue5 && self . Reserved == other . Reserved } } impl :: std :: cmp :: Eq for STORAGE_PROTOCOL_SPECIFIC_DATA_EXT { } unsafe impl :: windows :: Abi for STORAGE_PROTOCOL_SPECIFIC_DATA_EXT { type Abi = Self ; type DefaultType = Self ; } pub const STORAGE_PROTOCOL_SPECIFIC_NVME_ADMIN_COMMAND : u32 = 1u32 ; pub const STORAGE_PROTOCOL_SPECIFIC_NVME_NVM_COMMAND : u32 = 2u32 ; pub const STORAGE_PROTOCOL_STATUS_BUSY : u32 = 5u32 ; pub const STORAGE_PROTOCOL_STATUS_DATA_OVERRUN : u32 = 6u32 ; pub const STORAGE_PROTOCOL_STATUS_ERROR : u32 = 2u32 ; pub const STORAGE_PROTOCOL_STATUS_INSUFFICIENT_RESOURCES : u32 = 7u32 ; pub const STORAGE_PROTOCOL_STATUS_INVALID_REQUEST : u32 = 3u32 ; pub const STORAGE_PROTOCOL_STATUS_NOT_SUPPORTED : u32 = 255u32 ; pub const STORAGE_PROTOCOL_STATUS_NO_DEVICE : u32 = 4u32 ; pub const STORAGE_PROTOCOL_STATUS_PENDING : u32 = 0u32 ; pub const STORAGE_PROTOCOL_STATUS_SUCCESS : u32 = 1u32 ; pub const STORAGE_PROTOCOL_STATUS_THROTTLED_REQUEST : u32 = 8u32 ; pub const STORAGE_PROTOCOL_STRUCTURE_VERSION : u32 = 1u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct STORAGE_PROTOCOL_UFS_DATA_TYPE ( pub i32 ) ; pub const UfsDataTypeUnknown : STORAGE_PROTOCOL_UFS_DATA_TYPE = STORAGE_PROTOCOL_UFS_DATA_TYPE ( 0i32 ) ; pub const UfsDataTypeQueryDescriptor : STORAGE_PROTOCOL_UFS_DATA_TYPE = STORAGE_PROTOCOL_UFS_DATA_TYPE ( 1i32 ) ; pub const UfsDataTypeMax : STORAGE_PROTOCOL_UFS_DATA_TYPE = STORAGE_PROTOCOL_UFS_DATA_TYPE ( 2i32 ) ; impl :: std :: convert :: From < i32 > for STORAGE_PROTOCOL_UFS_DATA_TYPE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for STORAGE_PROTOCOL_UFS_DATA_TYPE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STORAGE_QUERY_DEPENDENT_VOLUME_LEV1_ENTRY { pub EntryLength : u32 , pub DependencyTypeFlags : u32 , pub ProviderSpecificFlags : u32 , pub VirtualStorageType : super::super::Storage::Vhd:: VIRTUAL_STORAGE_TYPE } impl STORAGE_QUERY_DEPENDENT_VOLUME_LEV1_ENTRY { } impl :: std :: default :: Default for STORAGE_QUERY_DEPENDENT_VOLUME_LEV1_ENTRY { fn default ( ) -> Self { Self { EntryLength : 0 , DependencyTypeFlags : 0 , ProviderSpecificFlags : 0 , VirtualStorageType : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for STORAGE_QUERY_DEPENDENT_VOLUME_LEV1_ENTRY { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "STORAGE_QUERY_DEPENDENT_VOLUME_LEV1_ENTRY" ) . field ( "EntryLength" , & self . EntryLength ) . field ( "DependencyTypeFlags" , & self . DependencyTypeFlags ) . field ( "ProviderSpecificFlags" , & self . ProviderSpecificFlags ) . field ( "VirtualStorageType" , & self . VirtualStorageType ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STORAGE_QUERY_DEPENDENT_VOLUME_LEV1_ENTRY { fn eq ( & self , other : & Self ) -> bool { self . EntryLength == other . EntryLength && self . DependencyTypeFlags == other . DependencyTypeFlags && self . ProviderSpecificFlags == other . ProviderSpecificFlags && self . VirtualStorageType == other . VirtualStorageType } } impl :: std :: cmp :: Eq for STORAGE_QUERY_DEPENDENT_VOLUME_LEV1_ENTRY { } unsafe impl :: windows :: Abi for STORAGE_QUERY_DEPENDENT_VOLUME_LEV1_ENTRY { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STORAGE_QUERY_DEPENDENT_VOLUME_LEV2_ENTRY { pub EntryLength : u32 , pub DependencyTypeFlags : u32 , pub ProviderSpecificFlags : u32 , pub VirtualStorageType : super::super::Storage::Vhd:: VIRTUAL_STORAGE_TYPE , pub AncestorLevel : u32 , pub HostVolumeNameOffset : u32 , pub HostVolumeNameSize : u32 , pub DependentVolumeNameOffset : u32 , pub DependentVolumeNameSize : u32 , pub RelativePathOffset : u32 , pub RelativePathSize : u32 , pub DependentDeviceNameOffset : u32 , pub DependentDeviceNameSize : u32 } impl STORAGE_QUERY_DEPENDENT_VOLUME_LEV2_ENTRY { } impl :: std :: default :: Default for STORAGE_QUERY_DEPENDENT_VOLUME_LEV2_ENTRY { fn default ( ) -> Self { Self { EntryLength : 0 , DependencyTypeFlags : 0 , ProviderSpecificFlags : 0 , VirtualStorageType : :: std :: default :: Default :: default ( ) , AncestorLevel : 0 , HostVolumeNameOffset : 0 , HostVolumeNameSize : 0 , DependentVolumeNameOffset : 0 , DependentVolumeNameSize : 0 , RelativePathOffset : 0 , RelativePathSize : 0 , DependentDeviceNameOffset : 0 , DependentDeviceNameSize : 0 } } } impl :: std :: fmt :: Debug for STORAGE_QUERY_DEPENDENT_VOLUME_LEV2_ENTRY { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "STORAGE_QUERY_DEPENDENT_VOLUME_LEV2_ENTRY" ) . field ( "EntryLength" , & self . EntryLength ) . field ( "DependencyTypeFlags" , & self . DependencyTypeFlags ) . field ( "ProviderSpecificFlags" , & self . ProviderSpecificFlags ) . field ( "VirtualStorageType" , & self . VirtualStorageType ) . field ( "AncestorLevel" , & self . AncestorLevel ) . field ( "HostVolumeNameOffset" , & self . HostVolumeNameOffset ) . field ( "HostVolumeNameSize" , & self . HostVolumeNameSize ) . field ( "DependentVolumeNameOffset" , & self . DependentVolumeNameOffset ) . field ( "DependentVolumeNameSize" , & self . DependentVolumeNameSize ) . field ( "RelativePathOffset" , & self . RelativePathOffset ) . field ( "RelativePathSize" , & self . RelativePathSize ) . field ( "DependentDeviceNameOffset" , & self . DependentDeviceNameOffset ) . field ( "DependentDeviceNameSize" , & self . DependentDeviceNameSize ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STORAGE_QUERY_DEPENDENT_VOLUME_LEV2_ENTRY { fn eq ( & self , other : & Self ) -> bool { self . EntryLength == other . EntryLength && self . DependencyTypeFlags == other . DependencyTypeFlags && self . ProviderSpecificFlags == other . ProviderSpecificFlags && self . VirtualStorageType == other . VirtualStorageType && self . AncestorLevel == other . AncestorLevel && self . HostVolumeNameOffset == other . HostVolumeNameOffset && self . HostVolumeNameSize == other . HostVolumeNameSize && self . DependentVolumeNameOffset == other . DependentVolumeNameOffset && self . DependentVolumeNameSize == other . DependentVolumeNameSize && self . RelativePathOffset == other . RelativePathOffset && self . RelativePathSize == other . RelativePathSize && self . DependentDeviceNameOffset == other . DependentDeviceNameOffset && self . DependentDeviceNameSize == other . DependentDeviceNameSize } } impl :: std :: cmp :: Eq for STORAGE_QUERY_DEPENDENT_VOLUME_LEV2_ENTRY { } unsafe impl :: windows :: Abi for STORAGE_QUERY_DEPENDENT_VOLUME_LEV2_ENTRY { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STORAGE_QUERY_DEPENDENT_VOLUME_REQUEST { pub RequestLevel : u32 , pub RequestFlags : u32 } impl STORAGE_QUERY_DEPENDENT_VOLUME_REQUEST { } impl :: std :: default :: Default for STORAGE_QUERY_DEPENDENT_VOLUME_REQUEST { fn default ( ) -> Self { Self { RequestLevel : 0 , RequestFlags : 0 } } } impl :: std :: fmt :: Debug for STORAGE_QUERY_DEPENDENT_VOLUME_REQUEST { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "STORAGE_QUERY_DEPENDENT_VOLUME_REQUEST" ) . field ( "RequestLevel" , & self . RequestLevel ) . field ( "RequestFlags" , & self . RequestFlags ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STORAGE_QUERY_DEPENDENT_VOLUME_REQUEST { fn eq ( & self , other : & Self ) -> bool { self . RequestLevel == other . RequestLevel && self . RequestFlags == other . RequestFlags } } impl :: std :: cmp :: Eq for STORAGE_QUERY_DEPENDENT_VOLUME_REQUEST { } unsafe impl :: windows :: Abi for STORAGE_QUERY_DEPENDENT_VOLUME_REQUEST { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STORAGE_QUERY_DEPENDENT_VOLUME_RESPONSE { pub ResponseLevel : u32 , pub NumberEntries : u32 , pub Anonymous : STORAGE_QUERY_DEPENDENT_VOLUME_RESPONSE_0 } impl STORAGE_QUERY_DEPENDENT_VOLUME_RESPONSE { } impl :: std :: cmp :: PartialEq for STORAGE_QUERY_DEPENDENT_VOLUME_RESPONSE { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for STORAGE_QUERY_DEPENDENT_VOLUME_RESPONSE { } unsafe impl :: windows :: Abi for STORAGE_QUERY_DEPENDENT_VOLUME_RESPONSE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union STORAGE_QUERY_DEPENDENT_VOLUME_RESPONSE_0 { pub Lev1Depends : STORAGE_QUERY_DEPENDENT_VOLUME_LEV1_ENTRY , pub Lev2Depends : STORAGE_QUERY_DEPENDENT_VOLUME_LEV2_ENTRY } impl STORAGE_QUERY_DEPENDENT_VOLUME_RESPONSE_0 { } impl :: std :: cmp :: PartialEq for STORAGE_QUERY_DEPENDENT_VOLUME_RESPONSE_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for STORAGE_QUERY_DEPENDENT_VOLUME_RESPONSE_0 { } unsafe impl :: windows :: Abi for STORAGE_QUERY_DEPENDENT_VOLUME_RESPONSE_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STORAGE_READ_CAPACITY { pub Version : u32 , pub Size : u32 , pub BlockLength : u32 , pub NumberOfBlocks : i64 , pub DiskLength : i64 } impl STORAGE_READ_CAPACITY { } impl :: std :: default :: Default for STORAGE_READ_CAPACITY { fn default ( ) -> Self { Self { Version : 0 , Size : 0 , BlockLength : 0 , NumberOfBlocks : 0 , DiskLength : 0 } } } impl :: std :: fmt :: Debug for STORAGE_READ_CAPACITY { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "STORAGE_READ_CAPACITY" ) . field ( "Version" , & self . Version ) . field ( "Size" , & self . Size ) . field ( "BlockLength" , & self . BlockLength ) . field ( "NumberOfBlocks" , & self . NumberOfBlocks ) . field ( "DiskLength" , & self . DiskLength ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STORAGE_READ_CAPACITY { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Size == other . Size && self . BlockLength == other . BlockLength && self . NumberOfBlocks == other . NumberOfBlocks && self . DiskLength == other . DiskLength } } impl :: std :: cmp :: Eq for STORAGE_READ_CAPACITY { } unsafe impl :: windows :: Abi for STORAGE_READ_CAPACITY { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct STORAGE_RESERVE_ID ( pub i32 ) ; pub const StorageReserveIdNone : STORAGE_RESERVE_ID = STORAGE_RESERVE_ID ( 0i32 ) ; pub const StorageReserveIdHard : STORAGE_RESERVE_ID = STORAGE_RESERVE_ID ( 1i32 ) ; pub const StorageReserveIdSoft : STORAGE_RESERVE_ID = STORAGE_RESERVE_ID ( 2i32 ) ; pub const StorageReserveIdUpdateScratch : STORAGE_RESERVE_ID = STORAGE_RESERVE_ID ( 3i32 ) ; pub const StorageReserveIdMax : STORAGE_RESERVE_ID = STORAGE_RESERVE_ID ( 4i32 ) ; impl :: std :: convert :: From < i32 > for STORAGE_RESERVE_ID { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for STORAGE_RESERVE_ID { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct STORAGE_RPMB_COMMAND_TYPE ( pub i32 ) ; pub const StorRpmbProgramAuthKey : STORAGE_RPMB_COMMAND_TYPE = STORAGE_RPMB_COMMAND_TYPE ( 1i32 ) ; pub const StorRpmbQueryWriteCounter : STORAGE_RPMB_COMMAND_TYPE = STORAGE_RPMB_COMMAND_TYPE ( 2i32 ) ; pub const StorRpmbAuthenticatedWrite : STORAGE_RPMB_COMMAND_TYPE = STORAGE_RPMB_COMMAND_TYPE ( 3i32 ) ; pub const StorRpmbAuthenticatedRead : STORAGE_RPMB_COMMAND_TYPE = STORAGE_RPMB_COMMAND_TYPE ( 4i32 ) ; pub const StorRpmbReadResultRequest : STORAGE_RPMB_COMMAND_TYPE = STORAGE_RPMB_COMMAND_TYPE ( 5i32 ) ; pub const StorRpmbAuthenticatedDeviceConfigWrite : STORAGE_RPMB_COMMAND_TYPE = STORAGE_RPMB_COMMAND_TYPE ( 6i32 ) ; pub const StorRpmbAuthenticatedDeviceConfigRead : STORAGE_RPMB_COMMAND_TYPE = STORAGE_RPMB_COMMAND_TYPE ( 7i32 ) ; impl :: std :: convert :: From < i32 > for STORAGE_RPMB_COMMAND_TYPE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for STORAGE_RPMB_COMMAND_TYPE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STORAGE_RPMB_DATA_FRAME { pub Stuff : [ u8 ;196 ] , pub KeyOrMAC : [ u8 ;32 ] , pub Data : [ u8 ;256 ] , pub Nonce : [ u8 ;16 ] , pub WriteCounter : [ u8 ;4 ] , pub Address : [ u8 ;2 ] , pub BlockCount : [ u8 ;2 ] , pub OperationResult : [ u8 ;2 ] , pub RequestOrResponseType : [ u8 ;2 ] } impl STORAGE_RPMB_DATA_FRAME { } impl :: std :: default :: Default for STORAGE_RPMB_DATA_FRAME { fn default ( ) -> Self { Self { Stuff : [ 0 ;196 ] , KeyOrMAC : [ 0 ;32 ] , Data : [ 0 ;256 ] , Nonce : [ 0 ;16 ] , WriteCounter : [ 0 ;4 ] , Address : [ 0 ;2 ] , BlockCount : [ 0 ;2 ] , OperationResult : [ 0 ;2 ] , RequestOrResponseType : [ 0 ;2 ] } } } impl :: std :: fmt :: Debug for STORAGE_RPMB_DATA_FRAME { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "STORAGE_RPMB_DATA_FRAME" ) . field ( "Stuff" , & self . Stuff ) . field ( "KeyOrMAC" , & self . KeyOrMAC ) . field ( "Data" , & self . Data ) . field ( "Nonce" , & self . Nonce ) . field ( "WriteCounter" , & self . WriteCounter ) . field ( "Address" , & self . Address ) . field ( "BlockCount" , & self . BlockCount ) . field ( "OperationResult" , & self . OperationResult ) . field ( "RequestOrResponseType" , & self . RequestOrResponseType ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STORAGE_RPMB_DATA_FRAME { fn eq ( & self , other : & Self ) -> bool { self . Stuff == other . Stuff && self . KeyOrMAC == other . KeyOrMAC && self . Data == other . Data && self . Nonce == other . Nonce && self . WriteCounter == other . WriteCounter && self . Address == other . Address && self . BlockCount == other . BlockCount && self . OperationResult == other . OperationResult && self . RequestOrResponseType == other . RequestOrResponseType } } impl :: std :: cmp :: Eq for STORAGE_RPMB_DATA_FRAME { } unsafe impl :: windows :: Abi for STORAGE_RPMB_DATA_FRAME { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STORAGE_RPMB_DESCRIPTOR { pub Version : u32 , pub Size : u32 , pub SizeInBytes : u32 , pub MaxReliableWriteSizeInBytes : u32 , pub FrameFormat : STORAGE_RPMB_FRAME_TYPE } impl STORAGE_RPMB_DESCRIPTOR { } impl :: std :: default :: Default for STORAGE_RPMB_DESCRIPTOR { fn default ( ) -> Self { Self { Version : 0 , Size : 0 , SizeInBytes : 0 , MaxReliableWriteSizeInBytes : 0 , FrameFormat : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for STORAGE_RPMB_DESCRIPTOR { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "STORAGE_RPMB_DESCRIPTOR" ) . field ( "Version" , & self . Version ) . field ( "Size" , & self . Size ) . field ( "SizeInBytes" , & self . SizeInBytes ) . field ( "MaxReliableWriteSizeInBytes" , & self . MaxReliableWriteSizeInBytes ) . field ( "FrameFormat" , & self . FrameFormat ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STORAGE_RPMB_DESCRIPTOR { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Size == other . Size && self . SizeInBytes == other . SizeInBytes && self . MaxReliableWriteSizeInBytes == other . MaxReliableWriteSizeInBytes && self . FrameFormat == other . FrameFormat } } impl :: std :: cmp :: Eq for STORAGE_RPMB_DESCRIPTOR { } unsafe impl :: windows :: Abi for STORAGE_RPMB_DESCRIPTOR { type Abi = Self ; type DefaultType = Self ; } pub const STORAGE_RPMB_DESCRIPTOR_VERSION_1 : u32 = 1u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct STORAGE_RPMB_FRAME_TYPE ( pub i32 ) ; pub const StorageRpmbFrameTypeUnknown : STORAGE_RPMB_FRAME_TYPE = STORAGE_RPMB_FRAME_TYPE ( 0i32 ) ; pub const StorageRpmbFrameTypeStandard : STORAGE_RPMB_FRAME_TYPE = STORAGE_RPMB_FRAME_TYPE ( 1i32 ) ; pub const StorageRpmbFrameTypeMax : STORAGE_RPMB_FRAME_TYPE = STORAGE_RPMB_FRAME_TYPE ( 2i32 ) ; impl :: std :: convert :: From < i32 > for STORAGE_RPMB_FRAME_TYPE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for STORAGE_RPMB_FRAME_TYPE { type Abi = Self ; type DefaultType = Self ; } pub const STORAGE_RPMB_MINIMUM_RELIABLE_WRITE_SIZE : u32 = 512u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct STORAGE_SET_TYPE ( pub i32 ) ; pub const PropertyStandardSet : STORAGE_SET_TYPE = STORAGE_SET_TYPE ( 0i32 ) ; pub const PropertyExistsSet : STORAGE_SET_TYPE = STORAGE_SET_TYPE ( 1i32 ) ; pub const PropertySetMaxDefined : STORAGE_SET_TYPE = STORAGE_SET_TYPE ( 2i32 ) ; impl :: std :: convert :: From < i32 > for STORAGE_SET_TYPE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for STORAGE_SET_TYPE { type Abi = Self ; type DefaultType = Self ; } pub const STORAGE_TEMPERATURE_THRESHOLD_FLAG_ADAPTER_REQUEST : u32 = 1u32 ; pub const STORAGE_TEMPERATURE_VALUE_NOT_REPORTED : u32 = 32768u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STORAGE_TIER { pub Id : :: windows :: Guid , pub Name : [ u16 ;256 ] , pub Description : [ u16 ;256 ] , pub Flags : u64 , pub ProvisionedCapacity : u64 , pub MediaType : STORAGE_TIER_MEDIA_TYPE , pub Class : STORAGE_TIER_CLASS } impl STORAGE_TIER { } impl :: std :: default :: Default for STORAGE_TIER { fn default ( ) -> Self { Self { Id : :: std :: default :: Default :: default ( ) , Name : [ 0 ;256 ] , Description : [ 0 ;256 ] , Flags : 0 , ProvisionedCapacity : 0 , MediaType : :: std :: default :: Default :: default ( ) , Class : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for STORAGE_TIER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "STORAGE_TIER" ) . field ( "Id" , & self . Id ) . field ( "Name" , & self . Name ) . field ( "Description" , & self . Description ) . field ( "Flags" , & self . Flags ) . field ( "ProvisionedCapacity" , & self . ProvisionedCapacity ) . field ( "MediaType" , & self . MediaType ) . field ( "Class" , & self . Class ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STORAGE_TIER { fn eq ( & self , other : & Self ) -> bool { self . Id == other . Id && self . Name == other . Name && self . Description == other . Description && self . Flags == other . Flags && self . ProvisionedCapacity == other . ProvisionedCapacity && self . MediaType == other . MediaType && self . Class == other . Class } } impl :: std :: cmp :: Eq for STORAGE_TIER { } unsafe impl :: windows :: Abi for STORAGE_TIER { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct STORAGE_TIER_CLASS ( pub i32 ) ; pub const StorageTierClassUnspecified : STORAGE_TIER_CLASS = STORAGE_TIER_CLASS ( 0i32 ) ; pub const StorageTierClassCapacity : STORAGE_TIER_CLASS = STORAGE_TIER_CLASS ( 1i32 ) ; pub const StorageTierClassPerformance : STORAGE_TIER_CLASS = STORAGE_TIER_CLASS ( 2i32 ) ; pub const StorageTierClassMax : STORAGE_TIER_CLASS = STORAGE_TIER_CLASS ( 3i32 ) ; impl :: std :: convert :: From < i32 > for STORAGE_TIER_CLASS { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for STORAGE_TIER_CLASS { type Abi = Self ; type DefaultType = Self ; } pub const STORAGE_TIER_DESCRIPTION_LENGTH : u32 = 512u32 ; pub const STORAGE_TIER_FLAG_NO_SEEK_PENALTY : u32 = 131072u32 ; pub const STORAGE_TIER_FLAG_PARITY : u32 = 8388608u32 ; pub const STORAGE_TIER_FLAG_READ_CACHE : u32 = 4194304u32 ; pub const STORAGE_TIER_FLAG_SMR : u32 = 16777216u32 ; pub const STORAGE_TIER_FLAG_WRITE_BACK_CACHE : u32 = 2097152u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct STORAGE_TIER_MEDIA_TYPE ( pub i32 ) ; pub const StorageTierMediaTypeUnspecified : STORAGE_TIER_MEDIA_TYPE = STORAGE_TIER_MEDIA_TYPE ( 0i32 ) ; pub const StorageTierMediaTypeDisk : STORAGE_TIER_MEDIA_TYPE = STORAGE_TIER_MEDIA_TYPE ( 1i32 ) ; pub const StorageTierMediaTypeSsd : STORAGE_TIER_MEDIA_TYPE = STORAGE_TIER_MEDIA_TYPE ( 2i32 ) ; pub const StorageTierMediaTypeScm : STORAGE_TIER_MEDIA_TYPE = STORAGE_TIER_MEDIA_TYPE ( 4i32 ) ; pub const StorageTierMediaTypeMax : STORAGE_TIER_MEDIA_TYPE = STORAGE_TIER_MEDIA_TYPE ( 5i32 ) ; impl :: std :: convert :: From < i32 > for STORAGE_TIER_MEDIA_TYPE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for STORAGE_TIER_MEDIA_TYPE { type Abi = Self ; type DefaultType = Self ; } pub const STORAGE_TIER_NAME_LENGTH : u32 = 256u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STORAGE_TIER_REGION { pub TierId : :: windows :: Guid , pub Offset : u64 , pub Length : u64 } impl STORAGE_TIER_REGION { } impl :: std :: default :: Default for STORAGE_TIER_REGION { fn default ( ) -> Self { Self { TierId : :: std :: default :: Default :: default ( ) , Offset : 0 , Length : 0 } } } impl :: std :: fmt :: Debug for STORAGE_TIER_REGION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "STORAGE_TIER_REGION" ) . field ( "TierId" , & self . TierId ) . field ( "Offset" , & self . Offset ) . field ( "Length" , & self . Length ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STORAGE_TIER_REGION { fn eq ( & self , other : & Self ) -> bool { self . TierId == other . TierId && self . Offset == other . Offset && self . Length == other . Length } } impl :: std :: cmp :: Eq for STORAGE_TIER_REGION { } unsafe impl :: windows :: Abi for STORAGE_TIER_REGION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STORAGE_ZONED_DEVICE_DESCRIPTOR { pub Version : u32 , pub Size : u32 , pub DeviceType : STORAGE_ZONED_DEVICE_TYPES , pub ZoneCount : u32 , pub ZoneAttributes : STORAGE_ZONED_DEVICE_DESCRIPTOR_0 , pub ZoneGroupCount : u32 , pub ZoneGroup : [ STORAGE_ZONE_GROUP ;1 ] } impl STORAGE_ZONED_DEVICE_DESCRIPTOR { } impl :: std :: cmp :: PartialEq for STORAGE_ZONED_DEVICE_DESCRIPTOR { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for STORAGE_ZONED_DEVICE_DESCRIPTOR { } unsafe impl :: windows :: Abi for STORAGE_ZONED_DEVICE_DESCRIPTOR { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union STORAGE_ZONED_DEVICE_DESCRIPTOR_0 { pub SequentialRequiredZone : STORAGE_ZONED_DEVICE_DESCRIPTOR_0_1 , pub SequentialPreferredZone : STORAGE_ZONED_DEVICE_DESCRIPTOR_0_0 } impl STORAGE_ZONED_DEVICE_DESCRIPTOR_0 { } impl :: std :: cmp :: PartialEq for STORAGE_ZONED_DEVICE_DESCRIPTOR_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for STORAGE_ZONED_DEVICE_DESCRIPTOR_0 { } unsafe impl :: windows :: Abi for STORAGE_ZONED_DEVICE_DESCRIPTOR_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STORAGE_ZONED_DEVICE_DESCRIPTOR_0_0 { pub OptimalOpenZoneCount : u32 , pub Reserved : u32 } impl STORAGE_ZONED_DEVICE_DESCRIPTOR_0_0 { } impl :: std :: default :: Default for STORAGE_ZONED_DEVICE_DESCRIPTOR_0_0 { fn default ( ) -> Self { Self { OptimalOpenZoneCount : 0 , Reserved : 0 } } } impl :: std :: fmt :: Debug for STORAGE_ZONED_DEVICE_DESCRIPTOR_0_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_SequentialPreferredZone_e__Struct" ) . field ( "OptimalOpenZoneCount" , & self . OptimalOpenZoneCount ) . field ( "Reserved" , & self . Reserved ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STORAGE_ZONED_DEVICE_DESCRIPTOR_0_0 { fn eq ( & self , other : & Self ) -> bool { self . OptimalOpenZoneCount == other . OptimalOpenZoneCount && self . Reserved == other . Reserved } } impl :: std :: cmp :: Eq for STORAGE_ZONED_DEVICE_DESCRIPTOR_0_0 { } unsafe impl :: windows :: Abi for STORAGE_ZONED_DEVICE_DESCRIPTOR_0_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STORAGE_ZONED_DEVICE_DESCRIPTOR_0_1 { pub MaxOpenZoneCount : u32 , pub UnrestrictedRead : u8 , pub Reserved : [ u8 ;3 ] } impl STORAGE_ZONED_DEVICE_DESCRIPTOR_0_1 { } impl :: std :: default :: Default for STORAGE_ZONED_DEVICE_DESCRIPTOR_0_1 { fn default ( ) -> Self { Self { MaxOpenZoneCount : 0 , UnrestrictedRead : 0 , Reserved : [ 0 ;3 ] } } } impl :: std :: fmt :: Debug for STORAGE_ZONED_DEVICE_DESCRIPTOR_0_1 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_SequentialRequiredZone_e__Struct" ) . field ( "MaxOpenZoneCount" , & self . MaxOpenZoneCount ) . field ( "UnrestrictedRead" , & self . UnrestrictedRead ) . field ( "Reserved" , & self . Reserved ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STORAGE_ZONED_DEVICE_DESCRIPTOR_0_1 { fn eq ( & self , other : & Self ) -> bool { self . MaxOpenZoneCount == other . MaxOpenZoneCount && self . UnrestrictedRead == other . UnrestrictedRead && self . Reserved == other . Reserved } } impl :: std :: cmp :: Eq for STORAGE_ZONED_DEVICE_DESCRIPTOR_0_1 { } unsafe impl :: windows :: Abi for STORAGE_ZONED_DEVICE_DESCRIPTOR_0_1 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct STORAGE_ZONED_DEVICE_TYPES ( pub i32 ) ; pub const ZonedDeviceTypeUnknown : STORAGE_ZONED_DEVICE_TYPES = STORAGE_ZONED_DEVICE_TYPES ( 0i32 ) ; pub const ZonedDeviceTypeHostManaged : STORAGE_ZONED_DEVICE_TYPES = STORAGE_ZONED_DEVICE_TYPES ( 1i32 ) ; pub const ZonedDeviceTypeHostAware : STORAGE_ZONED_DEVICE_TYPES = STORAGE_ZONED_DEVICE_TYPES ( 2i32 ) ; pub const ZonedDeviceTypeDeviceManaged : STORAGE_ZONED_DEVICE_TYPES = STORAGE_ZONED_DEVICE_TYPES ( 3i32 ) ; impl :: std :: convert :: From < i32 > for STORAGE_ZONED_DEVICE_TYPES { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for STORAGE_ZONED_DEVICE_TYPES { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct STORAGE_ZONES_ATTRIBUTES ( pub i32 ) ; pub const ZonesAttributeTypeAndLengthMayDifferent : STORAGE_ZONES_ATTRIBUTES = STORAGE_ZONES_ATTRIBUTES ( 0i32 ) ; pub const ZonesAttributeTypeSameLengthSame : STORAGE_ZONES_ATTRIBUTES = STORAGE_ZONES_ATTRIBUTES ( 1i32 ) ; pub const ZonesAttributeTypeSameLastZoneLengthDifferent : STORAGE_ZONES_ATTRIBUTES = STORAGE_ZONES_ATTRIBUTES ( 2i32 ) ; pub const ZonesAttributeTypeMayDifferentLengthSame : STORAGE_ZONES_ATTRIBUTES = STORAGE_ZONES_ATTRIBUTES ( 3i32 ) ; impl :: std :: convert :: From < i32 > for STORAGE_ZONES_ATTRIBUTES { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for STORAGE_ZONES_ATTRIBUTES { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct STORAGE_ZONE_CONDITION ( pub i32 ) ; pub const ZoneConditionConventional : STORAGE_ZONE_CONDITION = STORAGE_ZONE_CONDITION ( 0i32 ) ; pub const ZoneConditionEmpty : STORAGE_ZONE_CONDITION = STORAGE_ZONE_CONDITION ( 1i32 ) ; pub const ZoneConditionImplicitlyOpened : STORAGE_ZONE_CONDITION = STORAGE_ZONE_CONDITION ( 2i32 ) ; pub const ZoneConditionExplicitlyOpened : STORAGE_ZONE_CONDITION = STORAGE_ZONE_CONDITION ( 3i32 ) ; pub const ZoneConditionClosed : STORAGE_ZONE_CONDITION = STORAGE_ZONE_CONDITION ( 4i32 ) ; pub const ZoneConditionReadOnly : STORAGE_ZONE_CONDITION = STORAGE_ZONE_CONDITION ( 13i32 ) ; pub const ZoneConditionFull : STORAGE_ZONE_CONDITION = STORAGE_ZONE_CONDITION ( 14i32 ) ; pub const ZoneConditionOffline : STORAGE_ZONE_CONDITION = STORAGE_ZONE_CONDITION ( 15i32 ) ; impl :: std :: convert :: From < i32 > for STORAGE_ZONE_CONDITION { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for STORAGE_ZONE_CONDITION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STORAGE_ZONE_DESCRIPTOR { pub Size : u32 , pub ZoneType : STORAGE_ZONE_TYPES , pub ZoneCondition : STORAGE_ZONE_CONDITION , pub ResetWritePointerRecommend : u8 , pub Reserved0 : [ u8 ;3 ] , pub ZoneSize : u64 , pub WritePointerOffset : u64 } impl STORAGE_ZONE_DESCRIPTOR { } impl :: std :: default :: Default for STORAGE_ZONE_DESCRIPTOR { fn default ( ) -> Self { Self { Size : 0 , ZoneType : :: std :: default :: Default :: default ( ) , ZoneCondition : :: std :: default :: Default :: default ( ) , ResetWritePointerRecommend : 0 , Reserved0 : [ 0 ;3 ] , ZoneSize : 0 , WritePointerOffset : 0 } } } impl :: std :: fmt :: Debug for STORAGE_ZONE_DESCRIPTOR { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "STORAGE_ZONE_DESCRIPTOR" ) . field ( "Size" , & self . Size ) . field ( "ZoneType" , & self . ZoneType ) . field ( "ZoneCondition" , & self . ZoneCondition ) . field ( "ResetWritePointerRecommend" , & self . ResetWritePointerRecommend ) . field ( "Reserved0" , & self . Reserved0 ) . field ( "ZoneSize" , & self . ZoneSize ) . field ( "WritePointerOffset" , & self . WritePointerOffset ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STORAGE_ZONE_DESCRIPTOR { fn eq ( & self , other : & Self ) -> bool { self . Size == other . Size && self . ZoneType == other . ZoneType && self . ZoneCondition == other . ZoneCondition && self . ResetWritePointerRecommend == other . ResetWritePointerRecommend && self . Reserved0 == other . Reserved0 && self . ZoneSize == other . ZoneSize && self . WritePointerOffset == other . WritePointerOffset } } impl :: std :: cmp :: Eq for STORAGE_ZONE_DESCRIPTOR { } unsafe impl :: windows :: Abi for STORAGE_ZONE_DESCRIPTOR { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STORAGE_ZONE_GROUP { pub ZoneCount : u32 , pub ZoneType : STORAGE_ZONE_TYPES , pub ZoneSize : u64 } impl STORAGE_ZONE_GROUP { } impl :: std :: default :: Default for STORAGE_ZONE_GROUP { fn default ( ) -> Self { Self { ZoneCount : 0 , ZoneType : :: std :: default :: Default :: default ( ) , ZoneSize : 0 } } } impl :: std :: fmt :: Debug for STORAGE_ZONE_GROUP { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "STORAGE_ZONE_GROUP" ) . field ( "ZoneCount" , & self . ZoneCount ) . field ( "ZoneType" , & self . ZoneType ) . field ( "ZoneSize" , & self . ZoneSize ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STORAGE_ZONE_GROUP { fn eq ( & self , other : & Self ) -> bool { self . ZoneCount == other . ZoneCount && self . ZoneType == other . ZoneType && self . ZoneSize == other . ZoneSize } } impl :: std :: cmp :: Eq for STORAGE_ZONE_GROUP { } unsafe impl :: windows :: Abi for STORAGE_ZONE_GROUP { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct STORAGE_ZONE_TYPES ( pub i32 ) ; pub const ZoneTypeUnknown : STORAGE_ZONE_TYPES = STORAGE_ZONE_TYPES ( 0i32 ) ; pub const ZoneTypeConventional : STORAGE_ZONE_TYPES = STORAGE_ZONE_TYPES ( 1i32 ) ; pub const ZoneTypeSequentialWriteRequired : STORAGE_ZONE_TYPES = STORAGE_ZONE_TYPES ( 2i32 ) ; pub const ZoneTypeSequentialWritePreferred : STORAGE_ZONE_TYPES = STORAGE_ZONE_TYPES ( 3i32 ) ; pub const ZoneTypeMax : STORAGE_ZONE_TYPES = STORAGE_ZONE_TYPES ( 4i32 ) ; impl :: std :: convert :: From < i32 > for STORAGE_ZONE_TYPES { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for STORAGE_ZONE_TYPES { type Abi = Self ; type DefaultType = Self ; } pub const STORATTRIBUTE_MANAGEMENT_STATE : u32 = 1u32 ; pub const STORATTRIBUTE_NONE : u32 = 0u32 ; pub const STREAMS_ASSOCIATE_ID_CLEAR : u32 = 1u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STREAMS_ASSOCIATE_ID_INPUT_BUFFER { pub Flags : u32 , pub StreamId : u32 } impl STREAMS_ASSOCIATE_ID_INPUT_BUFFER { } impl :: std :: default :: Default for STREAMS_ASSOCIATE_ID_INPUT_BUFFER { fn default ( ) -> Self { Self { Flags : 0 , StreamId : 0 } } } impl :: std :: fmt :: Debug for STREAMS_ASSOCIATE_ID_INPUT_BUFFER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "STREAMS_ASSOCIATE_ID_INPUT_BUFFER" ) . field ( "Flags" , & self . Flags ) . field ( "StreamId" , & self . StreamId ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STREAMS_ASSOCIATE_ID_INPUT_BUFFER { fn eq ( & self , other : & Self ) -> bool { self . Flags == other . Flags && self . StreamId == other . StreamId } } impl :: std :: cmp :: Eq for STREAMS_ASSOCIATE_ID_INPUT_BUFFER { } unsafe impl :: windows :: Abi for STREAMS_ASSOCIATE_ID_INPUT_BUFFER { type Abi = Self ; type DefaultType = Self ; } pub const STREAMS_ASSOCIATE_ID_SET : u32 = 2u32 ; pub const STREAMS_INVALID_ID : u32 = 0u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STREAMS_QUERY_ID_OUTPUT_BUFFER { pub StreamId : u32 } impl STREAMS_QUERY_ID_OUTPUT_BUFFER { } impl :: std :: default :: Default for STREAMS_QUERY_ID_OUTPUT_BUFFER { fn default ( ) -> Self { Self { StreamId : 0 } } } impl :: std :: fmt :: Debug for STREAMS_QUERY_ID_OUTPUT_BUFFER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "STREAMS_QUERY_ID_OUTPUT_BUFFER" ) . field ( "StreamId" , & self . StreamId ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STREAMS_QUERY_ID_OUTPUT_BUFFER { fn eq ( & self , other : & Self ) -> bool { self . StreamId == other . StreamId } } impl :: std :: cmp :: Eq for STREAMS_QUERY_ID_OUTPUT_BUFFER { } unsafe impl :: windows :: Abi for STREAMS_QUERY_ID_OUTPUT_BUFFER { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STREAMS_QUERY_PARAMETERS_OUTPUT_BUFFER { pub OptimalWriteSize : u32 , pub StreamGranularitySize : u32 , pub StreamIdMin : u32 , pub StreamIdMax : u32 } impl STREAMS_QUERY_PARAMETERS_OUTPUT_BUFFER { } impl :: std :: default :: Default for STREAMS_QUERY_PARAMETERS_OUTPUT_BUFFER { fn default ( ) -> Self { Self { OptimalWriteSize : 0 , StreamGranularitySize : 0 , StreamIdMin : 0 , StreamIdMax : 0 } } } impl :: std :: fmt :: Debug for STREAMS_QUERY_PARAMETERS_OUTPUT_BUFFER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "STREAMS_QUERY_PARAMETERS_OUTPUT_BUFFER" ) . field ( "OptimalWriteSize" , & self . OptimalWriteSize ) . field ( "StreamGranularitySize" , & self . StreamGranularitySize ) . field ( "StreamIdMin" , & self . StreamIdMin ) . field ( "StreamIdMax" , & self . StreamIdMax ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STREAMS_QUERY_PARAMETERS_OUTPUT_BUFFER { fn eq ( & self , other : & Self ) -> bool { self . OptimalWriteSize == other . OptimalWriteSize && self . StreamGranularitySize == other . StreamGranularitySize && self . StreamIdMin == other . StreamIdMin && self . StreamIdMax == other . StreamIdMax } } impl :: std :: cmp :: Eq for STREAMS_QUERY_PARAMETERS_OUTPUT_BUFFER { } unsafe impl :: windows :: Abi for STREAMS_QUERY_PARAMETERS_OUTPUT_BUFFER { type Abi = Self ; type DefaultType = Self ; } pub const STREAM_CLEAR_ENCRYPTION : u32 = 4u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STREAM_EXTENT_ENTRY { pub Flags : u32 , pub ExtentInformation : STREAM_EXTENT_ENTRY_0 } impl STREAM_EXTENT_ENTRY { } impl :: std :: cmp :: PartialEq for STREAM_EXTENT_ENTRY { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for STREAM_EXTENT_ENTRY { } unsafe impl :: windows :: Abi for STREAM_EXTENT_ENTRY { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union STREAM_EXTENT_ENTRY_0 { pub RetrievalPointers : super::super::Storage::FileSystem:: RETRIEVAL_POINTERS_BUFFER } impl STREAM_EXTENT_ENTRY_0 { } impl :: std :: cmp :: PartialEq for STREAM_EXTENT_ENTRY_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for STREAM_EXTENT_ENTRY_0 { } unsafe impl :: windows :: Abi for STREAM_EXTENT_ENTRY_0 { type Abi = Self ; type DefaultType = Self ; } pub const STREAM_EXTENT_ENTRY_ALL_EXTENTS : u32 = 2u32 ; pub const STREAM_EXTENT_ENTRY_AS_RETRIEVAL_POINTERS : u32 = 1u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STREAM_INFORMATION_ENTRY { pub Version : u32 , pub Flags : u32 , pub StreamInformation : STREAM_INFORMATION_ENTRY_0 } impl STREAM_INFORMATION_ENTRY { } impl :: std :: cmp :: PartialEq for STREAM_INFORMATION_ENTRY { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for STREAM_INFORMATION_ENTRY { } unsafe impl :: windows :: Abi for STREAM_INFORMATION_ENTRY { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union STREAM_INFORMATION_ENTRY_0 { pub DesiredStorageClass : STREAM_INFORMATION_ENTRY_0_1 , pub DataStream : STREAM_INFORMATION_ENTRY_0_0 , pub Reparse : STREAM_INFORMATION_ENTRY_0_3 , pub Ea : STREAM_INFORMATION_ENTRY_0_2 } impl STREAM_INFORMATION_ENTRY_0 { } impl :: std :: cmp :: PartialEq for STREAM_INFORMATION_ENTRY_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for STREAM_INFORMATION_ENTRY_0 { } unsafe impl :: windows :: Abi for STREAM_INFORMATION_ENTRY_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STREAM_INFORMATION_ENTRY_0_0 { pub Length : u16 , pub Flags : u16 , pub Reserved : u32 , pub Vdl : u64 } impl STREAM_INFORMATION_ENTRY_0_0 { } impl :: std :: default :: Default for STREAM_INFORMATION_ENTRY_0_0 { fn default ( ) -> Self { Self { Length : 0 , Flags : 0 , Reserved : 0 , Vdl : 0 } } } impl :: std :: fmt :: Debug for STREAM_INFORMATION_ENTRY_0_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_DataStream" ) . field ( "Length" , & self . Length ) . field ( "Flags" , & self . Flags ) . field ( "Reserved" , & self . Reserved ) . field ( "Vdl" , & self . Vdl ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STREAM_INFORMATION_ENTRY_0_0 { fn eq ( & self , other : & Self ) -> bool { self . Length == other . Length && self . Flags == other . Flags && self . Reserved == other . Reserved && self . Vdl == other . Vdl } } impl :: std :: cmp :: Eq for STREAM_INFORMATION_ENTRY_0_0 { } unsafe impl :: windows :: Abi for STREAM_INFORMATION_ENTRY_0_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STREAM_INFORMATION_ENTRY_0_1 { pub Class : FILE_STORAGE_TIER_CLASS , pub Flags : u32 } impl STREAM_INFORMATION_ENTRY_0_1 { } impl :: std :: default :: Default for STREAM_INFORMATION_ENTRY_0_1 { fn default ( ) -> Self { Self { Class : :: std :: default :: Default :: default ( ) , Flags : 0 } } } impl :: std :: fmt :: Debug for STREAM_INFORMATION_ENTRY_0_1 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_DesiredStorageClass" ) . field ( "Class" , & self . Class ) . field ( "Flags" , & self . Flags ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STREAM_INFORMATION_ENTRY_0_1 { fn eq ( & self , other : & Self ) -> bool { self . Class == other . Class && self . Flags == other . Flags } } impl :: std :: cmp :: Eq for STREAM_INFORMATION_ENTRY_0_1 { } unsafe impl :: windows :: Abi for STREAM_INFORMATION_ENTRY_0_1 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STREAM_INFORMATION_ENTRY_0_2 { pub Length : u16 , pub Flags : u16 , pub EaSize : u32 , pub EaInformationOffset : u32 } impl STREAM_INFORMATION_ENTRY_0_2 { } impl :: std :: default :: Default for STREAM_INFORMATION_ENTRY_0_2 { fn default ( ) -> Self { Self { Length : 0 , Flags : 0 , EaSize : 0 , EaInformationOffset : 0 } } } impl :: std :: fmt :: Debug for STREAM_INFORMATION_ENTRY_0_2 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Ea" ) . field ( "Length" , & self . Length ) . field ( "Flags" , & self . Flags ) . field ( "EaSize" , & self . EaSize ) . field ( "EaInformationOffset" , & self . EaInformationOffset ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STREAM_INFORMATION_ENTRY_0_2 { fn eq ( & self , other : & Self ) -> bool { self . Length == other . Length && self . Flags == other . Flags && self . EaSize == other . EaSize && self . EaInformationOffset == other . EaInformationOffset } } impl :: std :: cmp :: Eq for STREAM_INFORMATION_ENTRY_0_2 { } unsafe impl :: windows :: Abi for STREAM_INFORMATION_ENTRY_0_2 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STREAM_INFORMATION_ENTRY_0_3 { pub Length : u16 , pub Flags : u16 , pub ReparseDataSize : u32 , pub ReparseDataOffset : u32 } impl STREAM_INFORMATION_ENTRY_0_3 { } impl :: std :: default :: Default for STREAM_INFORMATION_ENTRY_0_3 { fn default ( ) -> Self { Self { Length : 0 , Flags : 0 , ReparseDataSize : 0 , ReparseDataOffset : 0 } } } impl :: std :: fmt :: Debug for STREAM_INFORMATION_ENTRY_0_3 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Reparse" ) . field ( "Length" , & self . Length ) . field ( "Flags" , & self . Flags ) . field ( "ReparseDataSize" , & self . ReparseDataSize ) . field ( "ReparseDataOffset" , & self . ReparseDataOffset ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STREAM_INFORMATION_ENTRY_0_3 { fn eq ( & self , other : & Self ) -> bool { self . Length == other . Length && self . Flags == other . Flags && self . ReparseDataSize == other . ReparseDataSize && self . ReparseDataOffset == other . ReparseDataOffset } } impl :: std :: cmp :: Eq for STREAM_INFORMATION_ENTRY_0_3 { } unsafe impl :: windows :: Abi for STREAM_INFORMATION_ENTRY_0_3 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STREAM_LAYOUT_ENTRY { pub Version : u32 , pub NextStreamOffset : u32 , pub Flags : u32 , pub ExtentInformationOffset : u32 , pub AllocationSize : i64 , pub EndOfFile : i64 , pub StreamInformationOffset : u32 , pub AttributeTypeCode : u32 , pub AttributeFlags : u32 , pub StreamIdentifierLength : u32 , pub StreamIdentifier : [ u16 ;1 ] } impl STREAM_LAYOUT_ENTRY { } impl :: std :: default :: Default for STREAM_LAYOUT_ENTRY { fn default ( ) -> Self { Self { Version : 0 , NextStreamOffset : 0 , Flags : 0 , ExtentInformationOffset : 0 , AllocationSize : 0 , EndOfFile : 0 , StreamInformationOffset : 0 , AttributeTypeCode : 0 , AttributeFlags : 0 , StreamIdentifierLength : 0 , StreamIdentifier : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for STREAM_LAYOUT_ENTRY { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "STREAM_LAYOUT_ENTRY" ) . field ( "Version" , & self . Version ) . field ( "NextStreamOffset" , & self . NextStreamOffset ) . field ( "Flags" , & self . Flags ) . field ( "ExtentInformationOffset" , & self . ExtentInformationOffset ) . field ( "AllocationSize" , & self . AllocationSize ) . field ( "EndOfFile" , & self . EndOfFile ) . field ( "StreamInformationOffset" , & self . StreamInformationOffset ) . field ( "AttributeTypeCode" , & self . AttributeTypeCode ) . field ( "AttributeFlags" , & self . AttributeFlags ) . field ( "StreamIdentifierLength" , & self . StreamIdentifierLength ) . field ( "StreamIdentifier" , & self . StreamIdentifier ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STREAM_LAYOUT_ENTRY { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . NextStreamOffset == other . NextStreamOffset && self . Flags == other . Flags && self . ExtentInformationOffset == other . ExtentInformationOffset && self . AllocationSize == other . AllocationSize && self . EndOfFile == other . EndOfFile && self . StreamInformationOffset == other . StreamInformationOffset && self . AttributeTypeCode == other . AttributeTypeCode && self . AttributeFlags == other . AttributeFlags && self . StreamIdentifierLength == other . StreamIdentifierLength && self . StreamIdentifier == other . StreamIdentifier } } impl :: std :: cmp :: Eq for STREAM_LAYOUT_ENTRY { } unsafe impl :: windows :: Abi for STREAM_LAYOUT_ENTRY { type Abi = Self ; type DefaultType = Self ; } pub const STREAM_LAYOUT_ENTRY_HAS_INFORMATION : u32 = 16u32 ; pub const STREAM_LAYOUT_ENTRY_IMMOVABLE : u32 = 1u32 ; pub const STREAM_LAYOUT_ENTRY_NO_CLUSTERS_ALLOCATED : u32 = 8u32 ; pub const STREAM_LAYOUT_ENTRY_PINNED : u32 = 2u32 ; pub const STREAM_LAYOUT_ENTRY_RESIDENT : u32 = 4u32 ; pub const STREAM_SET_ENCRYPTION : u32 = 3u32 ; pub const STYPE_BITMAP : i32 = 0i32 ; pub const STYPE_DEVBITMAP : i32 = 3i32 ; pub const SUBLANG_AFRIKAANS_SOUTH_AFRICA : u32 = 1u32 ; pub const SUBLANG_ALBANIAN_ALBANIA : u32 = 1u32 ; pub const SUBLANG_ALSATIAN_FRANCE : u32 = 1u32 ; pub const SUBLANG_AMHARIC_ETHIOPIA : u32 = 1u32 ; pub const SUBLANG_ARABIC_ALGERIA : u32 = 5u32 ; pub const SUBLANG_ARABIC_BAHRAIN : u32 = 15u32 ; pub const SUBLANG_ARABIC_EGYPT : u32 = 3u32 ; pub const SUBLANG_ARABIC_IRAQ : u32 = 2u32 ; pub const SUBLANG_ARABIC_JORDAN : u32 = 11u32 ; pub const SUBLANG_ARABIC_KUWAIT : u32 = 13u32 ; pub const SUBLANG_ARABIC_LEBANON : u32 = 12u32 ; pub const SUBLANG_ARABIC_LIBYA : u32 = 4u32 ; pub const SUBLANG_ARABIC_MOROCCO : u32 = 6u32 ; pub const SUBLANG_ARABIC_OMAN : u32 = 8u32 ; pub const SUBLANG_ARABIC_QATAR : u32 = 16u32 ; pub const SUBLANG_ARABIC_SAUDI_ARABIA : u32 = 1u32 ; pub const SUBLANG_ARABIC_SYRIA : u32 = 10u32 ; pub const SUBLANG_ARABIC_TUNISIA : u32 = 7u32 ; pub const SUBLANG_ARABIC_UAE : u32 = 14u32 ; pub const SUBLANG_ARABIC_YEMEN : u32 = 9u32 ; pub const SUBLANG_ARMENIAN_ARMENIA : u32 = 1u32 ; pub const SUBLANG_ASSAMESE_INDIA : u32 = 1u32 ; pub const SUBLANG_AZERBAIJANI_AZERBAIJAN_CYRILLIC : u32 = 2u32 ; pub const SUBLANG_AZERBAIJANI_AZERBAIJAN_LATIN : u32 = 1u32 ; pub const SUBLANG_AZERI_CYRILLIC : u32 = 2u32 ; pub const SUBLANG_AZERI_LATIN : u32 = 1u32 ; pub const SUBLANG_BANGLA_BANGLADESH : u32 = 2u32 ; pub const SUBLANG_BANGLA_INDIA : u32 = 1u32 ; pub const SUBLANG_BASHKIR_RUSSIA : u32 = 1u32 ; pub const SUBLANG_BASQUE_BASQUE : u32 = 1u32 ; pub const SUBLANG_BELARUSIAN_BELARUS : u32 = 1u32 ; pub const SUBLANG_BENGALI_BANGLADESH : u32 = 2u32 ; pub const SUBLANG_BENGALI_INDIA : u32 = 1u32 ; pub const SUBLANG_BOSNIAN_BOSNIA_HERZEGOVINA_CYRILLIC : u32 = 8u32 ; pub const SUBLANG_BOSNIAN_BOSNIA_HERZEGOVINA_LATIN : u32 = 5u32 ; pub const SUBLANG_BRETON_FRANCE : u32 = 1u32 ; pub const SUBLANG_BULGARIAN_BULGARIA : u32 = 1u32 ; pub const SUBLANG_CATALAN_CATALAN : u32 = 1u32 ; pub const SUBLANG_CENTRAL_KURDISH_IRAQ : u32 = 1u32 ; pub const SUBLANG_CHEROKEE_CHEROKEE : u32 = 1u32 ; pub const SUBLANG_CHINESE_HONGKONG : u32 = 3u32 ; pub const SUBLANG_CHINESE_MACAU : u32 = 5u32 ; pub const SUBLANG_CHINESE_SIMPLIFIED : u32 = 2u32 ; pub const SUBLANG_CHINESE_SINGAPORE : u32 = 4u32 ; pub const SUBLANG_CHINESE_TRADITIONAL : u32 = 1u32 ; pub const SUBLANG_CORSICAN_FRANCE : u32 = 1u32 ; pub const SUBLANG_CROATIAN_BOSNIA_HERZEGOVINA_LATIN : u32 = 4u32 ; pub const SUBLANG_CROATIAN_CROATIA : u32 = 1u32 ; pub const SUBLANG_CUSTOM_DEFAULT : u32 = 3u32 ; pub const SUBLANG_CUSTOM_UNSPECIFIED : u32 = 4u32 ; pub const SUBLANG_CZECH_CZECH_REPUBLIC : u32 = 1u32 ; pub const SUBLANG_DANISH_DENMARK : u32 = 1u32 ; pub const SUBLANG_DARI_AFGHANISTAN : u32 = 1u32 ; pub const SUBLANG_DEFAULT : u32 = 1u32 ; pub const SUBLANG_DIVEHI_MALDIVES : u32 = 1u32 ; pub const SUBLANG_DUTCH : u32 = 1u32 ; pub const SUBLANG_DUTCH_BELGIAN : u32 = 2u32 ; pub const SUBLANG_ENGLISH_AUS : u32 = 3u32 ; pub const SUBLANG_ENGLISH_BELIZE : u32 = 10u32 ; pub const SUBLANG_ENGLISH_CAN : u32 = 4u32 ; pub const SUBLANG_ENGLISH_CARIBBEAN : u32 = 9u32 ; pub const SUBLANG_ENGLISH_EIRE : u32 = 6u32 ; pub const SUBLANG_ENGLISH_INDIA : u32 = 16u32 ; pub const SUBLANG_ENGLISH_JAMAICA : u32 = 8u32 ; pub const SUBLANG_ENGLISH_MALAYSIA : u32 = 17u32 ; pub const SUBLANG_ENGLISH_NZ : u32 = 5u32 ; pub const SUBLANG_ENGLISH_PHILIPPINES : u32 = 13u32 ; pub const SUBLANG_ENGLISH_SINGAPORE : u32 = 18u32 ; pub const SUBLANG_ENGLISH_SOUTH_AFRICA : u32 = 7u32 ; pub const SUBLANG_ENGLISH_TRINIDAD : u32 = 11u32 ; pub const SUBLANG_ENGLISH_UK : u32 = 2u32 ; pub const SUBLANG_ENGLISH_US : u32 = 1u32 ; pub const SUBLANG_ENGLISH_ZIMBABWE : u32 = 12u32 ; pub const SUBLANG_ESTONIAN_ESTONIA : u32 = 1u32 ; pub const SUBLANG_FAEROESE_FAROE_ISLANDS : u32 = 1u32 ; pub const SUBLANG_FILIPINO_PHILIPPINES : u32 = 1u32 ; pub const SUBLANG_FINNISH_FINLAND : u32 = 1u32 ; pub const SUBLANG_FRENCH : u32 = 1u32 ; pub const SUBLANG_FRENCH_BELGIAN : u32 = 2u32 ; pub const SUBLANG_FRENCH_CANADIAN : u32 = 3u32 ; pub const SUBLANG_FRENCH_LUXEMBOURG : u32 = 5u32 ; pub const SUBLANG_FRENCH_MONACO : u32 = 6u32 ; pub const SUBLANG_FRENCH_SWISS : u32 = 4u32 ; pub const SUBLANG_FRISIAN_NETHERLANDS : u32 = 1u32 ; pub const SUBLANG_FULAH_SENEGAL : u32 = 2u32 ; pub const SUBLANG_GALICIAN_GALICIAN : u32 = 1u32 ; pub const SUBLANG_GEORGIAN_GEORGIA : u32 = 1u32 ; pub const SUBLANG_GERMAN : u32 = 1u32 ; pub const SUBLANG_GERMAN_AUSTRIAN : u32 = 3u32 ; pub const SUBLANG_GERMAN_LIECHTENSTEIN : u32 = 5u32 ; pub const SUBLANG_GERMAN_LUXEMBOURG : u32 = 4u32 ; pub const SUBLANG_GERMAN_SWISS : u32 = 2u32 ; pub const SUBLANG_GREEK_GREECE : u32 = 1u32 ; pub const SUBLANG_GREENLANDIC_GREENLAND : u32 = 1u32 ; pub const SUBLANG_GUJARATI_INDIA : u32 = 1u32 ; pub const SUBLANG_HAUSA_NIGERIA_LATIN : u32 = 1u32 ; pub const SUBLANG_HAWAIIAN_US : u32 = 1u32 ; pub const SUBLANG_HEBREW_ISRAEL : u32 = 1u32 ; pub const SUBLANG_HINDI_INDIA : u32 = 1u32 ; pub const SUBLANG_HUNGARIAN_HUNGARY : u32 = 1u32 ; pub const SUBLANG_ICELANDIC_ICELAND : u32 = 1u32 ; pub const SUBLANG_IGBO_NIGERIA : u32 = 1u32 ; pub const SUBLANG_INDONESIAN_INDONESIA : u32 = 1u32 ; pub const SUBLANG_INUKTITUT_CANADA : u32 = 1u32 ; pub const SUBLANG_INUKTITUT_CANADA_LATIN : u32 = 2u32 ; pub const SUBLANG_IRISH_IRELAND : u32 = 2u32 ; pub const SUBLANG_ITALIAN : u32 = 1u32 ; pub const SUBLANG_ITALIAN_SWISS : u32 = 2u32 ; pub const SUBLANG_JAPANESE_JAPAN : u32 = 1u32 ; pub const SUBLANG_KANNADA_INDIA : u32 = 1u32 ; pub const SUBLANG_KASHMIRI_INDIA : u32 = 2u32 ; pub const SUBLANG_KASHMIRI_SASIA : u32 = 2u32 ; pub const SUBLANG_KAZAK_KAZAKHSTAN : u32 = 1u32 ; pub const SUBLANG_KHMER_CAMBODIA : u32 = 1u32 ; pub const SUBLANG_KICHE_GUATEMALA : u32 = 1u32 ; pub const SUBLANG_KINYARWANDA_RWANDA : u32 = 1u32 ; pub const SUBLANG_KONKANI_INDIA : u32 = 1u32 ; pub const SUBLANG_KOREAN : u32 = 1u32 ; pub const SUBLANG_KYRGYZ_KYRGYZSTAN : u32 = 1u32 ; pub const SUBLANG_LAO_LAO : u32 = 1u32 ; pub const SUBLANG_LATVIAN_LATVIA : u32 = 1u32 ; pub const SUBLANG_LITHUANIAN : u32 = 1u32 ; pub const SUBLANG_LOWER_SORBIAN_GERMANY : u32 = 2u32 ; pub const SUBLANG_LUXEMBOURGISH_LUXEMBOURG : u32 = 1u32 ; pub const SUBLANG_MACEDONIAN_MACEDONIA : u32 = 1u32 ; pub const SUBLANG_MALAYALAM_INDIA : u32 = 1u32 ; pub const SUBLANG_MALAY_BRUNEI_DARUSSALAM : u32 = 2u32 ; pub const SUBLANG_MALAY_MALAYSIA : u32 = 1u32 ; pub const SUBLANG_MALTESE_MALTA : u32 = 1u32 ; pub const SUBLANG_MAORI_NEW_ZEALAND : u32 = 1u32 ; pub const SUBLANG_MAPUDUNGUN_CHILE : u32 = 1u32 ; pub const SUBLANG_MARATHI_INDIA : u32 = 1u32 ; pub const SUBLANG_MOHAWK_MOHAWK : u32 = 1u32 ; pub const SUBLANG_MONGOLIAN_CYRILLIC_MONGOLIA : u32 = 1u32 ; pub const SUBLANG_MONGOLIAN_PRC : u32 = 2u32 ; pub const SUBLANG_NEPALI_INDIA : u32 = 2u32 ; pub const SUBLANG_NEPALI_NEPAL : u32 = 1u32 ; pub const SUBLANG_NEUTRAL : u32 = 0u32 ; pub const SUBLANG_NORWEGIAN_BOKMAL : u32 = 1u32 ; pub const SUBLANG_NORWEGIAN_NYNORSK : u32 = 2u32 ; pub const SUBLANG_OCCITAN_FRANCE : u32 = 1u32 ; pub const SUBLANG_ODIA_INDIA : u32 = 1u32 ; pub const SUBLANG_ORIYA_INDIA : u32 = 1u32 ; pub const SUBLANG_PASHTO_AFGHANISTAN : u32 = 1u32 ; pub const SUBLANG_PERSIAN_IRAN : u32 = 1u32 ; pub const SUBLANG_POLISH_POLAND : u32 = 1u32 ; pub const SUBLANG_PORTUGUESE : u32 = 2u32 ; pub const SUBLANG_PORTUGUESE_BRAZILIAN : u32 = 1u32 ; pub const SUBLANG_PULAR_SENEGAL : u32 = 2u32 ; pub const SUBLANG_PUNJABI_INDIA : u32 = 1u32 ; pub const SUBLANG_PUNJABI_PAKISTAN : u32 = 2u32 ; pub const SUBLANG_QUECHUA_BOLIVIA : u32 = 1u32 ; pub const SUBLANG_QUECHUA_ECUADOR : u32 = 2u32 ; pub const SUBLANG_QUECHUA_PERU : u32 = 3u32 ; pub const SUBLANG_ROMANIAN_ROMANIA : u32 = 1u32 ; pub const SUBLANG_ROMANSH_SWITZERLAND : u32 = 1u32 ; pub const SUBLANG_RUSSIAN_RUSSIA : u32 = 1u32 ; pub const SUBLANG_SAKHA_RUSSIA : u32 = 1u32 ; pub const SUBLANG_SAMI_INARI_FINLAND : u32 = 9u32 ; pub const SUBLANG_SAMI_LULE_NORWAY : u32 = 4u32 ; pub const SUBLANG_SAMI_LULE_SWEDEN : u32 = 5u32 ; pub const SUBLANG_SAMI_NORTHERN_FINLAND : u32 = 3u32 ; pub const SUBLANG_SAMI_NORTHERN_NORWAY : u32 = 1u32 ; pub const SUBLANG_SAMI_NORTHERN_SWEDEN : u32 = 2u32 ; pub const SUBLANG_SAMI_SKOLT_FINLAND : u32 = 8u32 ; pub const SUBLANG_SAMI_SOUTHERN_NORWAY : u32 = 6u32 ; pub const SUBLANG_SAMI_SOUTHERN_SWEDEN : u32 = 7u32 ; pub const SUBLANG_SANSKRIT_INDIA : u32 = 1u32 ; pub const SUBLANG_SCOTTISH_GAELIC : u32 = 1u32 ; pub const SUBLANG_SERBIAN_BOSNIA_HERZEGOVINA_CYRILLIC : u32 = 7u32 ; pub const SUBLANG_SERBIAN_BOSNIA_HERZEGOVINA_LATIN : u32 = 6u32 ; pub const SUBLANG_SERBIAN_CROATIA : u32 = 1u32 ; pub const SUBLANG_SERBIAN_CYRILLIC : u32 = 3u32 ; pub const SUBLANG_SERBIAN_LATIN : u32 = 2u32 ; pub const SUBLANG_SERBIAN_MONTENEGRO_CYRILLIC : u32 = 12u32 ; pub const SUBLANG_SERBIAN_MONTENEGRO_LATIN : u32 = 11u32 ; pub const SUBLANG_SERBIAN_SERBIA_CYRILLIC : u32 = 10u32 ; pub const SUBLANG_SERBIAN_SERBIA_LATIN : u32 = 9u32 ; pub const SUBLANG_SINDHI_AFGHANISTAN : u32 = 2u32 ; pub const SUBLANG_SINDHI_INDIA : u32 = 1u32 ; pub const SUBLANG_SINDHI_PAKISTAN : u32 = 2u32 ; pub const SUBLANG_SINHALESE_SRI_LANKA : u32 = 1u32 ; pub const SUBLANG_SLOVAK_SLOVAKIA : u32 = 1u32 ; pub const SUBLANG_SLOVENIAN_SLOVENIA : u32 = 1u32 ; pub const SUBLANG_SOTHO_NORTHERN_SOUTH_AFRICA : u32 = 1u32 ; pub const SUBLANG_SPANISH : u32 = 1u32 ; pub const SUBLANG_SPANISH_ARGENTINA : u32 = 11u32 ; pub const SUBLANG_SPANISH_BOLIVIA : u32 = 16u32 ; pub const SUBLANG_SPANISH_CHILE : u32 = 13u32 ; pub const SUBLANG_SPANISH_COLOMBIA : u32 = 9u32 ; pub const SUBLANG_SPANISH_COSTA_RICA : u32 = 5u32 ; pub const SUBLANG_SPANISH_DOMINICAN_REPUBLIC : u32 = 7u32 ; pub const SUBLANG_SPANISH_ECUADOR : u32 = 12u32 ; pub const SUBLANG_SPANISH_EL_SALVADOR : u32 = 17u32 ; pub const SUBLANG_SPANISH_GUATEMALA : u32 = 4u32 ; pub const SUBLANG_SPANISH_HONDURAS : u32 = 18u32 ; pub const SUBLANG_SPANISH_MEXICAN : u32 = 2u32 ; pub const SUBLANG_SPANISH_MODERN : u32 = 3u32 ; pub const SUBLANG_SPANISH_NICARAGUA : u32 = 19u32 ; pub const SUBLANG_SPANISH_PANAMA : u32 = 6u32 ; pub const SUBLANG_SPANISH_PARAGUAY : u32 = 15u32 ; pub const SUBLANG_SPANISH_PERU : u32 = 10u32 ; pub const SUBLANG_SPANISH_PUERTO_RICO : u32 = 20u32 ; pub const SUBLANG_SPANISH_URUGUAY : u32 = 14u32 ; pub const SUBLANG_SPANISH_US : u32 = 21u32 ; pub const SUBLANG_SPANISH_VENEZUELA : u32 = 8u32 ; pub const SUBLANG_SWAHILI_KENYA : u32 = 1u32 ; pub const SUBLANG_SWEDISH : u32 = 1u32 ; pub const SUBLANG_SWEDISH_FINLAND : u32 = 2u32 ; pub const SUBLANG_SYRIAC_SYRIA : u32 = 1u32 ; pub const SUBLANG_SYS_DEFAULT : u32 = 2u32 ; pub const SUBLANG_TAJIK_TAJIKISTAN : u32 = 1u32 ; pub const SUBLANG_TAMAZIGHT_ALGERIA_LATIN : u32 = 2u32 ; pub const SUBLANG_TAMAZIGHT_MOROCCO_TIFINAGH : u32 = 4u32 ; pub const SUBLANG_TAMIL_INDIA : u32 = 1u32 ; pub const SUBLANG_TAMIL_SRI_LANKA : u32 = 2u32 ; pub const SUBLANG_TATAR_RUSSIA : u32 = 1u32 ; pub const SUBLANG_TELUGU_INDIA : u32 = 1u32 ; pub const SUBLANG_THAI_THAILAND : u32 = 1u32 ; pub const SUBLANG_TIBETAN_PRC : u32 = 1u32 ; pub const SUBLANG_TIGRIGNA_ERITREA : u32 = 2u32 ; pub const SUBLANG_TIGRINYA_ERITREA : u32 = 2u32 ; pub const SUBLANG_TIGRINYA_ETHIOPIA : u32 = 1u32 ; pub const SUBLANG_TSWANA_BOTSWANA : u32 = 2u32 ; pub const SUBLANG_TSWANA_SOUTH_AFRICA : u32 = 1u32 ; pub const SUBLANG_TURKISH_TURKEY : u32 = 1u32 ; pub const SUBLANG_TURKMEN_TURKMENISTAN : u32 = 1u32 ; pub const SUBLANG_UIGHUR_PRC : u32 = 1u32 ; pub const SUBLANG_UI_CUSTOM_DEFAULT : u32 = 5u32 ; pub const SUBLANG_UKRAINIAN_UKRAINE : u32 = 1u32 ; pub const SUBLANG_UPPER_SORBIAN_GERMANY : u32 = 1u32 ; pub const SUBLANG_URDU_INDIA : u32 = 2u32 ; pub const SUBLANG_URDU_PAKISTAN : u32 = 1u32 ; pub const SUBLANG_UZBEK_CYRILLIC : u32 = 2u32 ; pub const SUBLANG_UZBEK_LATIN : u32 = 1u32 ; pub const SUBLANG_VALENCIAN_VALENCIA : u32 = 2u32 ; pub const SUBLANG_VIETNAMESE_VIETNAM : u32 = 1u32 ; pub const SUBLANG_WELSH_UNITED_KINGDOM : u32 = 1u32 ; pub const SUBLANG_WOLOF_SENEGAL : u32 = 1u32 ; pub const SUBLANG_XHOSA_SOUTH_AFRICA : u32 = 1u32 ; pub const SUBLANG_YAKUT_RUSSIA : u32 = 1u32 ; pub const SUBLANG_YI_PRC : u32 = 1u32 ; pub const SUBLANG_YORUBA_NIGERIA : u32 = 1u32 ; pub const SUBLANG_ZULU_SOUTH_AFRICA : u32 = 1u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SUPPORTED_OS_INFO { pub MajorVersion : u16 , pub MinorVersion : u16 } impl SUPPORTED_OS_INFO { } impl :: std :: default :: Default for SUPPORTED_OS_INFO { fn default ( ) -> Self { Self { MajorVersion : 0 , MinorVersion : 0 } } } impl :: std :: fmt :: Debug for SUPPORTED_OS_INFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SUPPORTED_OS_INFO" ) . field ( "MajorVersion" , & self . MajorVersion ) . field ( "MinorVersion" , & self . MinorVersion ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SUPPORTED_OS_INFO { fn eq ( & self , other : & Self ) -> bool { self . MajorVersion == other . MajorVersion && self . MinorVersion == other . MinorVersion } } impl :: std :: cmp :: Eq for SUPPORTED_OS_INFO { } unsafe impl :: windows :: Abi for SUPPORTED_OS_INFO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SYSTEM_ACCESS_FILTER_ACE { pub Header : super::super::Security:: ACE_HEADER , pub Mask : u32 , pub SidStart : u32 } impl SYSTEM_ACCESS_FILTER_ACE { } impl :: std :: default :: Default for SYSTEM_ACCESS_FILTER_ACE { fn default ( ) -> Self { Self { Header : :: std :: default :: Default :: default ( ) , Mask : 0 , SidStart : 0 } } } impl :: std :: fmt :: Debug for SYSTEM_ACCESS_FILTER_ACE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SYSTEM_ACCESS_FILTER_ACE" ) . field ( "Header" , & self . Header ) . field ( "Mask" , & self . Mask ) . field ( "SidStart" , & self . SidStart ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SYSTEM_ACCESS_FILTER_ACE { fn eq ( & self , other : & Self ) -> bool { self . Header == other . Header && self . Mask == other . Mask && self . SidStart == other . SidStart } } impl :: std :: cmp :: Eq for SYSTEM_ACCESS_FILTER_ACE { } unsafe impl :: windows :: Abi for SYSTEM_ACCESS_FILTER_ACE { type Abi = Self ; type DefaultType = Self ; } pub const SYSTEM_ACCESS_FILTER_ACE_TYPE : u32 = 21u32 ; pub const SYSTEM_ACCESS_FILTER_NOCONSTRAINT_MASK : u32 = 4294967295u32 ; pub const SYSTEM_ACCESS_FILTER_VALID_MASK : u32 = 16777215u32 ; pub const SYSTEM_ALARM_ACE_TYPE : u32 = 3u32 ; pub const SYSTEM_ALARM_CALLBACK_ACE_TYPE : u32 = 14u32 ; pub const SYSTEM_ALARM_CALLBACK_OBJECT_ACE_TYPE : u32 = 16u32 ; pub const SYSTEM_ALARM_OBJECT_ACE_TYPE : u32 = 8u32 ; pub const SYSTEM_AUDIT_ACE_TYPE : u32 = 2u32 ; pub const SYSTEM_AUDIT_CALLBACK_ACE_TYPE : u32 = 13u32 ; pub const SYSTEM_AUDIT_CALLBACK_OBJECT_ACE_TYPE : u32 = 15u32 ; pub const SYSTEM_AUDIT_OBJECT_ACE_TYPE : u32 = 7u32 ; pub const SYSTEM_CACHE_ALIGNMENT_SIZE : u32 = 64u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SYSTEM_CPU_SET_INFORMATION { pub Size : u32 , pub Type : CPU_SET_INFORMATION_TYPE , pub Anonymous : SYSTEM_CPU_SET_INFORMATION_0 } impl SYSTEM_CPU_SET_INFORMATION { } impl :: std :: cmp :: PartialEq for SYSTEM_CPU_SET_INFORMATION { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for SYSTEM_CPU_SET_INFORMATION { } unsafe impl :: windows :: Abi for SYSTEM_CPU_SET_INFORMATION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union SYSTEM_CPU_SET_INFORMATION_0 { pub CpuSet : SYSTEM_CPU_SET_INFORMATION_0_0 } impl SYSTEM_CPU_SET_INFORMATION_0 { } impl :: std :: cmp :: PartialEq for SYSTEM_CPU_SET_INFORMATION_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for SYSTEM_CPU_SET_INFORMATION_0 { } unsafe impl :: windows :: Abi for SYSTEM_CPU_SET_INFORMATION_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SYSTEM_CPU_SET_INFORMATION_0_0 { pub Id : u32 , pub Group : u16 , pub LogicalProcessorIndex : u8 , pub CoreIndex : u8 , pub LastLevelCacheIndex : u8 , pub NumaNodeIndex : u8 , pub EfficiencyClass : u8 , pub Anonymous1 : SYSTEM_CPU_SET_INFORMATION_0_0_0 , pub Anonymous2 : SYSTEM_CPU_SET_INFORMATION_0_0_1 , pub AllocationTag : u64 } impl SYSTEM_CPU_SET_INFORMATION_0_0 { } impl :: std :: cmp :: PartialEq for SYSTEM_CPU_SET_INFORMATION_0_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for SYSTEM_CPU_SET_INFORMATION_0_0 { } unsafe impl :: windows :: Abi for SYSTEM_CPU_SET_INFORMATION_0_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union SYSTEM_CPU_SET_INFORMATION_0_0_0 { pub AllFlags : u8 , pub Anonymous : SYSTEM_CPU_SET_INFORMATION_0_0_0_0 } impl SYSTEM_CPU_SET_INFORMATION_0_0_0 { } impl :: std :: cmp :: PartialEq for SYSTEM_CPU_SET_INFORMATION_0_0_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for SYSTEM_CPU_SET_INFORMATION_0_0_0 { } unsafe impl :: windows :: Abi for SYSTEM_CPU_SET_INFORMATION_0_0_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SYSTEM_CPU_SET_INFORMATION_0_0_0_0 { pub _bitfield : u8 } impl SYSTEM_CPU_SET_INFORMATION_0_0_0_0 { } impl :: std :: default :: Default for SYSTEM_CPU_SET_INFORMATION_0_0_0_0 { fn default ( ) -> Self { Self { _bitfield : 0 } } } impl :: std :: fmt :: Debug for SYSTEM_CPU_SET_INFORMATION_0_0_0_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Anonymous_e__Struct" ) . field ( "_bitfield" , & self . _bitfield ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SYSTEM_CPU_SET_INFORMATION_0_0_0_0 { fn eq ( & self , other : & Self ) -> bool { self . _bitfield == other . _bitfield } } impl :: std :: cmp :: Eq for SYSTEM_CPU_SET_INFORMATION_0_0_0_0 { } unsafe impl :: windows :: Abi for SYSTEM_CPU_SET_INFORMATION_0_0_0_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union SYSTEM_CPU_SET_INFORMATION_0_0_1 { pub Reserved : u32 , pub SchedulingClass : u8 } impl SYSTEM_CPU_SET_INFORMATION_0_0_1 { } impl :: std :: cmp :: PartialEq for SYSTEM_CPU_SET_INFORMATION_0_0_1 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for SYSTEM_CPU_SET_INFORMATION_0_0_1 { } unsafe impl :: windows :: Abi for SYSTEM_CPU_SET_INFORMATION_0_0_1 { type Abi = Self ; type DefaultType = Self ; } pub const SYSTEM_CPU_SET_INFORMATION_ALLOCATED : u32 = 2u32 ; pub const SYSTEM_CPU_SET_INFORMATION_ALLOCATED_TO_TARGET_PROCESS : u32 = 4u32 ; pub const SYSTEM_CPU_SET_INFORMATION_PARKED : u32 = 1u32 ; pub const SYSTEM_CPU_SET_INFORMATION_REALTIME : u32 = 8u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX { pub Relationship : super::SystemInformation:: LOGICAL_PROCESSOR_RELATIONSHIP , pub Size : u32 , pub Anonymous : SYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX_0 } impl SYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX { } impl :: std :: cmp :: PartialEq for SYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for SYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX { } unsafe impl :: windows :: Abi for SYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union SYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX_0 { pub Processor : PROCESSOR_RELATIONSHIP , pub NumaNode : NUMA_NODE_RELATIONSHIP , pub Cache : CACHE_RELATIONSHIP , pub Group : GROUP_RELATIONSHIP } impl SYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX_0 { } impl :: std :: cmp :: PartialEq for SYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for SYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX_0 { } unsafe impl :: windows :: Abi for SYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX_0 { type Abi = Self ; type DefaultType = Self ; } pub const SYSTEM_MANDATORY_LABEL_ACE_TYPE : u32 = 17u32 ; pub const SYSTEM_MANDATORY_LABEL_NO_EXECUTE_UP : u32 = 4u32 ; pub const SYSTEM_MANDATORY_LABEL_NO_READ_UP : u32 = 2u32 ; pub const SYSTEM_MANDATORY_LABEL_NO_WRITE_UP : u32 = 1u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SYSTEM_PROCESS_TRUST_LABEL_ACE { pub Header : super::super::Security:: ACE_HEADER , pub Mask : u32 , pub SidStart : u32 } impl SYSTEM_PROCESS_TRUST_LABEL_ACE { } impl :: std :: default :: Default for SYSTEM_PROCESS_TRUST_LABEL_ACE { fn default ( ) -> Self { Self { Header : :: std :: default :: Default :: default ( ) , Mask : 0 , SidStart : 0 } } } impl :: std :: fmt :: Debug for SYSTEM_PROCESS_TRUST_LABEL_ACE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SYSTEM_PROCESS_TRUST_LABEL_ACE" ) . field ( "Header" , & self . Header ) . field ( "Mask" , & self . Mask ) . field ( "SidStart" , & self . SidStart ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SYSTEM_PROCESS_TRUST_LABEL_ACE { fn eq ( & self , other : & Self ) -> bool { self . Header == other . Header && self . Mask == other . Mask && self . SidStart == other . SidStart } } impl :: std :: cmp :: Eq for SYSTEM_PROCESS_TRUST_LABEL_ACE { } unsafe impl :: windows :: Abi for SYSTEM_PROCESS_TRUST_LABEL_ACE { type Abi = Self ; type DefaultType = Self ; } pub const SYSTEM_PROCESS_TRUST_LABEL_ACE_TYPE : u32 = 20u32 ; pub const SYSTEM_PROCESS_TRUST_LABEL_VALID_MASK : u32 = 16777215u32 ; pub const SYSTEM_PROCESS_TRUST_NOCONSTRAINT_MASK : u32 = 4294967295u32 ; pub const SYSTEM_RESOURCE_ATTRIBUTE_ACE_TYPE : u32 = 18u32 ; pub const SYSTEM_SCOPED_POLICY_ID_ACE_TYPE : u32 = 19u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct SharedVirtualDiskHandleState ( pub i32 ) ; pub const SharedVirtualDiskHandleStateNone : SharedVirtualDiskHandleState = SharedVirtualDiskHandleState ( 0i32 ) ; pub const SharedVirtualDiskHandleStateFileShared : SharedVirtualDiskHandleState = SharedVirtualDiskHandleState ( 1i32 ) ; pub const SharedVirtualDiskHandleStateHandleShared : SharedVirtualDiskHandleState = SharedVirtualDiskHandleState ( 3i32 ) ; impl :: std :: convert :: From < i32 > for SharedVirtualDiskHandleState { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for SharedVirtualDiskHandleState { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct SharedVirtualDiskSupportType ( pub i32 ) ; pub const SharedVirtualDisksUnsupported : SharedVirtualDiskSupportType = SharedVirtualDiskSupportType ( 0i32 ) ; pub const SharedVirtualDisksSupported : SharedVirtualDiskSupportType = SharedVirtualDiskSupportType ( 1i32 ) ; pub const SharedVirtualDiskSnapshotsSupported : SharedVirtualDiskSupportType = SharedVirtualDiskSupportType ( 3i32 ) ; pub const SharedVirtualDiskCDPSnapshotsSupported : SharedVirtualDiskSupportType = SharedVirtualDiskSupportType ( 7i32 ) ; impl :: std :: convert :: From < i32 > for SharedVirtualDiskSupportType { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for SharedVirtualDiskSupportType { type Abi = Self ; type DefaultType = Self ; } pub const TAPE_CHECK_FOR_DRIVE_PROBLEM : i32 = 2i32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct TAPE_CREATE_PARTITION { pub Method : u32 , pub Count : u32 , pub Size : u32 } impl TAPE_CREATE_PARTITION { } impl :: std :: default :: Default for TAPE_CREATE_PARTITION { fn default ( ) -> Self { Self { Method : 0 , Count : 0 , Size : 0 } } } impl :: std :: fmt :: Debug for TAPE_CREATE_PARTITION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "TAPE_CREATE_PARTITION" ) . field ( "Method" , & self . Method ) . field ( "Count" , & self . Count ) . field ( "Size" , & self . Size ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TAPE_CREATE_PARTITION { fn eq ( & self , other : & Self ) -> bool { self . Method == other . Method && self . Count == other . Count && self . Size == other . Size } } impl :: std :: cmp :: Eq for TAPE_CREATE_PARTITION { } unsafe impl :: windows :: Abi for TAPE_CREATE_PARTITION { type Abi = Self ; type DefaultType = Self ; } pub const TAPE_DRIVE_CLEAN_REQUESTS : u32 = 33554432u32 ; pub const TAPE_DRIVE_COMPRESSION : u32 = 131072u32 ; pub const TAPE_DRIVE_ECC : u32 = 65536u32 ; pub const TAPE_DRIVE_EJECT_MEDIA : u32 = 16777216u32 ; pub const TAPE_DRIVE_EOT_WZ_SIZE : u32 = 8192u32 ; pub const TAPE_DRIVE_ERASE_BOP_ONLY : u32 = 64u32 ; pub const TAPE_DRIVE_ERASE_IMMEDIATE : u32 = 128u32 ; pub const TAPE_DRIVE_ERASE_LONG : u32 = 32u32 ; pub const TAPE_DRIVE_ERASE_SHORT : u32 = 16u32 ; pub const TAPE_DRIVE_FIXED : u32 = 1u32 ; pub const TAPE_DRIVE_FIXED_BLOCK : u32 = 1024u32 ; pub const TAPE_DRIVE_FORMAT : u32 = 2684354560u32 ; pub const TAPE_DRIVE_FORMAT_IMMEDIATE : u32 = 3221225472u32 ; pub const TAPE_DRIVE_GET_ABSOLUTE_BLK : u32 = 1048576u32 ; pub const TAPE_DRIVE_GET_LOGICAL_BLK : u32 = 2097152u32 ; pub const TAPE_DRIVE_HIGH_FEATURES : u32 = 2147483648u32 ; pub const TAPE_DRIVE_INITIATOR : u32 = 4u32 ; pub const TAPE_DRIVE_PADDING : u32 = 262144u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct TAPE_DRIVE_PROBLEM_TYPE ( pub i32 ) ; pub const TapeDriveProblemNone : TAPE_DRIVE_PROBLEM_TYPE = TAPE_DRIVE_PROBLEM_TYPE ( 0i32 ) ; pub const TapeDriveReadWriteWarning : TAPE_DRIVE_PROBLEM_TYPE = TAPE_DRIVE_PROBLEM_TYPE ( 1i32 ) ; pub const TapeDriveReadWriteError : TAPE_DRIVE_PROBLEM_TYPE = TAPE_DRIVE_PROBLEM_TYPE ( 2i32 ) ; pub const TapeDriveReadWarning : TAPE_DRIVE_PROBLEM_TYPE = TAPE_DRIVE_PROBLEM_TYPE ( 3i32 ) ; pub const TapeDriveWriteWarning : TAPE_DRIVE_PROBLEM_TYPE = TAPE_DRIVE_PROBLEM_TYPE ( 4i32 ) ; pub const TapeDriveReadError : TAPE_DRIVE_PROBLEM_TYPE = TAPE_DRIVE_PROBLEM_TYPE ( 5i32 ) ; pub const TapeDriveWriteError : TAPE_DRIVE_PROBLEM_TYPE = TAPE_DRIVE_PROBLEM_TYPE ( 6i32 ) ; pub const TapeDriveHardwareError : TAPE_DRIVE_PROBLEM_TYPE = TAPE_DRIVE_PROBLEM_TYPE ( 7i32 ) ; pub const TapeDriveUnsupportedMedia : TAPE_DRIVE_PROBLEM_TYPE = TAPE_DRIVE_PROBLEM_TYPE ( 8i32 ) ; pub const TapeDriveScsiConnectionError : TAPE_DRIVE_PROBLEM_TYPE = TAPE_DRIVE_PROBLEM_TYPE ( 9i32 ) ; pub const TapeDriveTimetoClean : TAPE_DRIVE_PROBLEM_TYPE = TAPE_DRIVE_PROBLEM_TYPE ( 10i32 ) ; pub const TapeDriveCleanDriveNow : TAPE_DRIVE_PROBLEM_TYPE = TAPE_DRIVE_PROBLEM_TYPE ( 11i32 ) ; pub const TapeDriveMediaLifeExpired : TAPE_DRIVE_PROBLEM_TYPE = TAPE_DRIVE_PROBLEM_TYPE ( 12i32 ) ; pub const TapeDriveSnappedTape : TAPE_DRIVE_PROBLEM_TYPE = TAPE_DRIVE_PROBLEM_TYPE ( 13i32 ) ; impl :: std :: convert :: From < i32 > for TAPE_DRIVE_PROBLEM_TYPE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for TAPE_DRIVE_PROBLEM_TYPE { type Abi = Self ; type DefaultType = Self ; } pub const TAPE_DRIVE_REPORT_SMKS : u32 = 524288u32 ; pub const TAPE_DRIVE_RESERVED_BIT : u32 = 2147483648u32 ; pub const TAPE_DRIVE_SELECT : u32 = 2u32 ; pub const TAPE_DRIVE_SET_CMP_BOP_ONLY : u32 = 67108864u32 ; pub const TAPE_DRIVE_SET_EOT_WZ_SIZE : u32 = 4194304u32 ; pub const TAPE_DRIVE_TAPE_CAPACITY : u32 = 256u32 ; pub const TAPE_DRIVE_TAPE_REMAINING : u32 = 512u32 ; pub const TAPE_DRIVE_VARIABLE_BLOCK : u32 = 2048u32 ; pub const TAPE_DRIVE_WRITE_PROTECT : u32 = 4096u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct TAPE_ERASE { pub Type : super::super::Storage::FileSystem:: ERASE_TAPE_TYPE , pub Immediate : u8 } impl TAPE_ERASE { } impl :: std :: default :: Default for TAPE_ERASE { fn default ( ) -> Self { Self { Type : :: std :: default :: Default :: default ( ) , Immediate : 0 } } } impl :: std :: fmt :: Debug for TAPE_ERASE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "TAPE_ERASE" ) . field ( "Type" , & self . Type ) . field ( "Immediate" , & self . Immediate ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TAPE_ERASE { fn eq ( & self , other : & Self ) -> bool { self . Type == other . Type && self . Immediate == other . Immediate } } impl :: std :: cmp :: Eq for TAPE_ERASE { } unsafe impl :: windows :: Abi for TAPE_ERASE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct TAPE_GET_DRIVE_PARAMETERS { pub ECC : u8 , pub Compression : u8 , pub DataPadding : u8 , pub ReportSetmarks : u8 , pub DefaultBlockSize : u32 , pub MaximumBlockSize : u32 , pub MinimumBlockSize : u32 , pub MaximumPartitionCount : u32 , pub FeaturesLow : u32 , pub FeaturesHigh : TAPE_GET_DRIVE_PARAMETERS_FEATURES_HIGH , pub EOTWarningZoneSize : u32 } impl TAPE_GET_DRIVE_PARAMETERS { } impl :: std :: default :: Default for TAPE_GET_DRIVE_PARAMETERS { fn default ( ) -> Self { Self { ECC : 0 , Compression : 0 , DataPadding : 0 , ReportSetmarks : 0 , DefaultBlockSize : 0 , MaximumBlockSize : 0 , MinimumBlockSize : 0 , MaximumPartitionCount : 0 , FeaturesLow : 0 , FeaturesHigh : :: std :: default :: Default :: default ( ) , EOTWarningZoneSize : 0 } } } impl :: std :: fmt :: Debug for TAPE_GET_DRIVE_PARAMETERS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "TAPE_GET_DRIVE_PARAMETERS" ) . field ( "ECC" , & self . ECC ) . field ( "Compression" , & self . Compression ) . field ( "DataPadding" , & self . DataPadding ) . field ( "ReportSetmarks" , & self . ReportSetmarks ) . field ( "DefaultBlockSize" , & self . DefaultBlockSize ) . field ( "MaximumBlockSize" , & self . MaximumBlockSize ) . field ( "MinimumBlockSize" , & self . MinimumBlockSize ) . field ( "MaximumPartitionCount" , & self . MaximumPartitionCount ) . field ( "FeaturesLow" , & self . FeaturesLow ) . field ( "FeaturesHigh" , & self . FeaturesHigh ) . field ( "EOTWarningZoneSize" , & self . EOTWarningZoneSize ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TAPE_GET_DRIVE_PARAMETERS { fn eq ( & self , other : & Self ) -> bool { self . ECC == other . ECC && self . Compression == other . Compression && self . DataPadding == other . DataPadding && self . ReportSetmarks == other . ReportSetmarks && self . DefaultBlockSize == other . DefaultBlockSize && self . MaximumBlockSize == other . MaximumBlockSize && self . MinimumBlockSize == other . MinimumBlockSize && self . MaximumPartitionCount == other . MaximumPartitionCount && self . FeaturesLow == other . FeaturesLow && self . FeaturesHigh == other . FeaturesHigh && self . EOTWarningZoneSize == other . EOTWarningZoneSize } } impl :: std :: cmp :: Eq for TAPE_GET_DRIVE_PARAMETERS { } unsafe impl :: windows :: Abi for TAPE_GET_DRIVE_PARAMETERS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct TAPE_GET_DRIVE_PARAMETERS_FEATURES_HIGH ( pub u32 ) ; pub const TAPE_DRIVE_ABS_BLK_IMMED : TAPE_GET_DRIVE_PARAMETERS_FEATURES_HIGH = TAPE_GET_DRIVE_PARAMETERS_FEATURES_HIGH ( 2147491840u32 ) ; pub const TAPE_DRIVE_ABSOLUTE_BLK : TAPE_GET_DRIVE_PARAMETERS_FEATURES_HIGH = TAPE_GET_DRIVE_PARAMETERS_FEATURES_HIGH ( 2147487744u32 ) ; pub const TAPE_DRIVE_END_OF_DATA : TAPE_GET_DRIVE_PARAMETERS_FEATURES_HIGH = TAPE_GET_DRIVE_PARAMETERS_FEATURES_HIGH ( 2147549184u32 ) ; pub const TAPE_DRIVE_FILEMARKS : TAPE_GET_DRIVE_PARAMETERS_FEATURES_HIGH = TAPE_GET_DRIVE_PARAMETERS_FEATURES_HIGH ( 2147745792u32 ) ; pub const TAPE_DRIVE_LOAD_UNLOAD : TAPE_GET_DRIVE_PARAMETERS_FEATURES_HIGH = TAPE_GET_DRIVE_PARAMETERS_FEATURES_HIGH ( 2147483649u32 ) ; pub const TAPE_DRIVE_LOAD_UNLD_IMMED : TAPE_GET_DRIVE_PARAMETERS_FEATURES_HIGH = TAPE_GET_DRIVE_PARAMETERS_FEATURES_HIGH ( 2147483680u32 ) ; pub const TAPE_DRIVE_LOCK_UNLOCK : TAPE_GET_DRIVE_PARAMETERS_FEATURES_HIGH = TAPE_GET_DRIVE_PARAMETERS_FEATURES_HIGH ( 2147483652u32 ) ; pub const TAPE_DRIVE_LOCK_UNLK_IMMED : TAPE_GET_DRIVE_PARAMETERS_FEATURES_HIGH = TAPE_GET_DRIVE_PARAMETERS_FEATURES_HIGH ( 2147483776u32 ) ; pub const TAPE_DRIVE_LOG_BLK_IMMED : TAPE_GET_DRIVE_PARAMETERS_FEATURES_HIGH = TAPE_GET_DRIVE_PARAMETERS_FEATURES_HIGH ( 2147516416u32 ) ; pub const TAPE_DRIVE_LOGICAL_BLK : TAPE_GET_DRIVE_PARAMETERS_FEATURES_HIGH = TAPE_GET_DRIVE_PARAMETERS_FEATURES_HIGH ( 2147500032u32 ) ; pub const TAPE_DRIVE_RELATIVE_BLKS : TAPE_GET_DRIVE_PARAMETERS_FEATURES_HIGH = TAPE_GET_DRIVE_PARAMETERS_FEATURES_HIGH ( 2147614720u32 ) ; pub const TAPE_DRIVE_REVERSE_POSITION : TAPE_GET_DRIVE_PARAMETERS_FEATURES_HIGH = TAPE_GET_DRIVE_PARAMETERS_FEATURES_HIGH ( 2151677952u32 ) ; pub const TAPE_DRIVE_REWIND_IMMEDIATE : TAPE_GET_DRIVE_PARAMETERS_FEATURES_HIGH = TAPE_GET_DRIVE_PARAMETERS_FEATURES_HIGH ( 2147483656u32 ) ; pub const TAPE_DRIVE_SEQUENTIAL_FMKS : TAPE_GET_DRIVE_PARAMETERS_FEATURES_HIGH = TAPE_GET_DRIVE_PARAMETERS_FEATURES_HIGH ( 2148007936u32 ) ; pub const TAPE_DRIVE_SEQUENTIAL_SMKS : TAPE_GET_DRIVE_PARAMETERS_FEATURES_HIGH = TAPE_GET_DRIVE_PARAMETERS_FEATURES_HIGH ( 2149580800u32 ) ; pub const TAPE_DRIVE_SET_BLOCK_SIZE : TAPE_GET_DRIVE_PARAMETERS_FEATURES_HIGH = TAPE_GET_DRIVE_PARAMETERS_FEATURES_HIGH ( 2147483664u32 ) ; pub const TAPE_DRIVE_SET_COMPRESSION : TAPE_GET_DRIVE_PARAMETERS_FEATURES_HIGH = TAPE_GET_DRIVE_PARAMETERS_FEATURES_HIGH ( 2147484160u32 ) ; pub const TAPE_DRIVE_SET_ECC : TAPE_GET_DRIVE_PARAMETERS_FEATURES_HIGH = TAPE_GET_DRIVE_PARAMETERS_FEATURES_HIGH ( 2147483904u32 ) ; pub const TAPE_DRIVE_SET_PADDING : TAPE_GET_DRIVE_PARAMETERS_FEATURES_HIGH = TAPE_GET_DRIVE_PARAMETERS_FEATURES_HIGH ( 2147484672u32 ) ; pub const TAPE_DRIVE_SET_REPORT_SMKS : TAPE_GET_DRIVE_PARAMETERS_FEATURES_HIGH = TAPE_GET_DRIVE_PARAMETERS_FEATURES_HIGH ( 2147485696u32 ) ; pub const TAPE_DRIVE_SETMARKS : TAPE_GET_DRIVE_PARAMETERS_FEATURES_HIGH = TAPE_GET_DRIVE_PARAMETERS_FEATURES_HIGH ( 2148532224u32 ) ; pub const TAPE_DRIVE_SPACE_IMMEDIATE : TAPE_GET_DRIVE_PARAMETERS_FEATURES_HIGH = TAPE_GET_DRIVE_PARAMETERS_FEATURES_HIGH ( 2155872256u32 ) ; pub const TAPE_DRIVE_TENSION : TAPE_GET_DRIVE_PARAMETERS_FEATURES_HIGH = TAPE_GET_DRIVE_PARAMETERS_FEATURES_HIGH ( 2147483650u32 ) ; pub const TAPE_DRIVE_TENSION_IMMED : TAPE_GET_DRIVE_PARAMETERS_FEATURES_HIGH = TAPE_GET_DRIVE_PARAMETERS_FEATURES_HIGH ( 2147483712u32 ) ; pub const TAPE_DRIVE_WRITE_FILEMARKS : TAPE_GET_DRIVE_PARAMETERS_FEATURES_HIGH = TAPE_GET_DRIVE_PARAMETERS_FEATURES_HIGH ( 2181038080u32 ) ; pub const TAPE_DRIVE_WRITE_LONG_FMKS : TAPE_GET_DRIVE_PARAMETERS_FEATURES_HIGH = TAPE_GET_DRIVE_PARAMETERS_FEATURES_HIGH ( 2281701376u32 ) ; pub const TAPE_DRIVE_WRITE_MARK_IMMED : TAPE_GET_DRIVE_PARAMETERS_FEATURES_HIGH = TAPE_GET_DRIVE_PARAMETERS_FEATURES_HIGH ( 2415919104u32 ) ; pub const TAPE_DRIVE_WRITE_SETMARKS : TAPE_GET_DRIVE_PARAMETERS_FEATURES_HIGH = TAPE_GET_DRIVE_PARAMETERS_FEATURES_HIGH ( 2164260864u32 ) ; pub const TAPE_DRIVE_WRITE_SHORT_FMKS : TAPE_GET_DRIVE_PARAMETERS_FEATURES_HIGH = TAPE_GET_DRIVE_PARAMETERS_FEATURES_HIGH ( 2214592512u32 ) ; impl :: std :: convert :: From < u32 > for TAPE_GET_DRIVE_PARAMETERS_FEATURES_HIGH { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for TAPE_GET_DRIVE_PARAMETERS_FEATURES_HIGH { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for TAPE_GET_DRIVE_PARAMETERS_FEATURES_HIGH { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for TAPE_GET_DRIVE_PARAMETERS_FEATURES_HIGH { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for TAPE_GET_DRIVE_PARAMETERS_FEATURES_HIGH { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for TAPE_GET_DRIVE_PARAMETERS_FEATURES_HIGH { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct TAPE_GET_MEDIA_PARAMETERS { pub Capacity : i64 , pub Remaining : i64 , pub BlockSize : u32 , pub PartitionCount : u32 , pub WriteProtected : u8 } impl TAPE_GET_MEDIA_PARAMETERS { } impl :: std :: default :: Default for TAPE_GET_MEDIA_PARAMETERS { fn default ( ) -> Self { Self { Capacity : 0 , Remaining : 0 , BlockSize : 0 , PartitionCount : 0 , WriteProtected : 0 } } } impl :: std :: fmt :: Debug for TAPE_GET_MEDIA_PARAMETERS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "TAPE_GET_MEDIA_PARAMETERS" ) . field ( "Capacity" , & self . Capacity ) . field ( "Remaining" , & self . Remaining ) . field ( "BlockSize" , & self . BlockSize ) . field ( "PartitionCount" , & self . PartitionCount ) . field ( "WriteProtected" , & self . WriteProtected ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TAPE_GET_MEDIA_PARAMETERS { fn eq ( & self , other : & Self ) -> bool { self . Capacity == other . Capacity && self . Remaining == other . Remaining && self . BlockSize == other . BlockSize && self . PartitionCount == other . PartitionCount && self . WriteProtected == other . WriteProtected } } impl :: std :: cmp :: Eq for TAPE_GET_MEDIA_PARAMETERS { } unsafe impl :: windows :: Abi for TAPE_GET_MEDIA_PARAMETERS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct TAPE_GET_POSITION { pub Type : super::super::Storage::FileSystem:: TAPE_POSITION_TYPE , pub Partition : u32 , pub Offset : i64 } impl TAPE_GET_POSITION { } impl :: std :: default :: Default for TAPE_GET_POSITION { fn default ( ) -> Self { Self { Type : :: std :: default :: Default :: default ( ) , Partition : 0 , Offset : 0 } } } impl :: std :: fmt :: Debug for TAPE_GET_POSITION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "TAPE_GET_POSITION" ) . field ( "Type" , & self . Type ) . field ( "Partition" , & self . Partition ) . field ( "Offset" , & self . Offset ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TAPE_GET_POSITION { fn eq ( & self , other : & Self ) -> bool { self . Type == other . Type && self . Partition == other . Partition && self . Offset == other . Offset } } impl :: std :: cmp :: Eq for TAPE_GET_POSITION { } unsafe impl :: windows :: Abi for TAPE_GET_POSITION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct TAPE_GET_STATISTICS { pub Operation : u32 } impl TAPE_GET_STATISTICS { } impl :: std :: default :: Default for TAPE_GET_STATISTICS { fn default ( ) -> Self { Self { Operation : 0 } } } impl :: std :: fmt :: Debug for TAPE_GET_STATISTICS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "TAPE_GET_STATISTICS" ) . field ( "Operation" , & self . Operation ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TAPE_GET_STATISTICS { fn eq ( & self , other : & Self ) -> bool { self . Operation == other . Operation } } impl :: std :: cmp :: Eq for TAPE_GET_STATISTICS { } unsafe impl :: windows :: Abi for TAPE_GET_STATISTICS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct TAPE_PREPARE { pub Operation : super::super::Storage::FileSystem:: PREPARE_TAPE_OPERATION , pub Immediate : u8 } impl TAPE_PREPARE { } impl :: std :: default :: Default for TAPE_PREPARE { fn default ( ) -> Self { Self { Operation : :: std :: default :: Default :: default ( ) , Immediate : 0 } } } impl :: std :: fmt :: Debug for TAPE_PREPARE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "TAPE_PREPARE" ) . field ( "Operation" , & self . Operation ) . field ( "Immediate" , & self . Immediate ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TAPE_PREPARE { fn eq ( & self , other : & Self ) -> bool { self . Operation == other . Operation && self . Immediate == other . Immediate } } impl :: std :: cmp :: Eq for TAPE_PREPARE { } unsafe impl :: windows :: Abi for TAPE_PREPARE { type Abi = Self ; type DefaultType = Self ; } pub const TAPE_PSEUDO_LOGICAL_BLOCK : i32 = 3i32 ; pub const TAPE_PSEUDO_LOGICAL_POSITION : i32 = 2i32 ; pub const TAPE_QUERY_DEVICE_ERROR_DATA : i32 = 4i32 ; pub const TAPE_QUERY_DRIVE_PARAMETERS : i32 = 0i32 ; pub const TAPE_QUERY_IO_ERROR_DATA : i32 = 3i32 ; pub const TAPE_QUERY_MEDIA_CAPACITY : i32 = 1i32 ; pub const TAPE_RESET_STATISTICS : i32 = 2i32 ; pub const TAPE_RETURN_ENV_INFO : i32 = 1i32 ; pub const TAPE_RETURN_STATISTICS : i32 = 0i32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct TAPE_SET_DRIVE_PARAMETERS { pub ECC : u8 , pub Compression : u8 , pub DataPadding : u8 , pub ReportSetmarks : u8 , pub EOTWarningZoneSize : u32 } impl TAPE_SET_DRIVE_PARAMETERS { } impl :: std :: default :: Default for TAPE_SET_DRIVE_PARAMETERS { fn default ( ) -> Self { Self { ECC : 0 , Compression : 0 , DataPadding : 0 , ReportSetmarks : 0 , EOTWarningZoneSize : 0 } } } impl :: std :: fmt :: Debug for TAPE_SET_DRIVE_PARAMETERS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "TAPE_SET_DRIVE_PARAMETERS" ) . field ( "ECC" , & self . ECC ) . field ( "Compression" , & self . Compression ) . field ( "DataPadding" , & self . DataPadding ) . field ( "ReportSetmarks" , & self . ReportSetmarks ) . field ( "EOTWarningZoneSize" , & self . EOTWarningZoneSize ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TAPE_SET_DRIVE_PARAMETERS { fn eq ( & self , other : & Self ) -> bool { self . ECC == other . ECC && self . Compression == other . Compression && self . DataPadding == other . DataPadding && self . ReportSetmarks == other . ReportSetmarks && self . EOTWarningZoneSize == other . EOTWarningZoneSize } } impl :: std :: cmp :: Eq for TAPE_SET_DRIVE_PARAMETERS { } unsafe impl :: windows :: Abi for TAPE_SET_DRIVE_PARAMETERS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct TAPE_SET_MEDIA_PARAMETERS { pub BlockSize : u32 } impl TAPE_SET_MEDIA_PARAMETERS { } impl :: std :: default :: Default for TAPE_SET_MEDIA_PARAMETERS { fn default ( ) -> Self { Self { BlockSize : 0 } } } impl :: std :: fmt :: Debug for TAPE_SET_MEDIA_PARAMETERS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "TAPE_SET_MEDIA_PARAMETERS" ) . field ( "BlockSize" , & self . BlockSize ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TAPE_SET_MEDIA_PARAMETERS { fn eq ( & self , other : & Self ) -> bool { self . BlockSize == other . BlockSize } } impl :: std :: cmp :: Eq for TAPE_SET_MEDIA_PARAMETERS { } unsafe impl :: windows :: Abi for TAPE_SET_MEDIA_PARAMETERS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct TAPE_SET_POSITION { pub Method : super::super::Storage::FileSystem:: TAPE_POSITION_METHOD , pub Partition : u32 , pub Offset : i64 , pub Immediate : u8 } impl TAPE_SET_POSITION { } impl :: std :: default :: Default for TAPE_SET_POSITION { fn default ( ) -> Self { Self { Method : :: std :: default :: Default :: default ( ) , Partition : 0 , Offset : 0 , Immediate : 0 } } } impl :: std :: fmt :: Debug for TAPE_SET_POSITION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "TAPE_SET_POSITION" ) . field ( "Method" , & self . Method ) . field ( "Partition" , & self . Partition ) . field ( "Offset" , & self . Offset ) . field ( "Immediate" , & self . Immediate ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TAPE_SET_POSITION { fn eq ( & self , other : & Self ) -> bool { self . Method == other . Method && self . Partition == other . Partition && self . Offset == other . Offset && self . Immediate == other . Immediate } } impl :: std :: cmp :: Eq for TAPE_SET_POSITION { } unsafe impl :: windows :: Abi for TAPE_SET_POSITION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct TAPE_STATISTICS { pub Version : u32 , pub Flags : u32 , pub RecoveredWrites : i64 , pub UnrecoveredWrites : i64 , pub RecoveredReads : i64 , pub UnrecoveredReads : i64 , pub CompressionRatioReads : u8 , pub CompressionRatioWrites : u8 } impl TAPE_STATISTICS { } impl :: std :: default :: Default for TAPE_STATISTICS { fn default ( ) -> Self { Self { Version : 0 , Flags : 0 , RecoveredWrites : 0 , UnrecoveredWrites : 0 , RecoveredReads : 0 , UnrecoveredReads : 0 , CompressionRatioReads : 0 , CompressionRatioWrites : 0 } } } impl :: std :: fmt :: Debug for TAPE_STATISTICS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "TAPE_STATISTICS" ) . field ( "Version" , & self . Version ) . field ( "Flags" , & self . Flags ) . field ( "RecoveredWrites" , & self . RecoveredWrites ) . field ( "UnrecoveredWrites" , & self . UnrecoveredWrites ) . field ( "RecoveredReads" , & self . RecoveredReads ) . field ( "UnrecoveredReads" , & self . UnrecoveredReads ) . field ( "CompressionRatioReads" , & self . CompressionRatioReads ) . field ( "CompressionRatioWrites" , & self . CompressionRatioWrites ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TAPE_STATISTICS { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Flags == other . Flags && self . RecoveredWrites == other . RecoveredWrites && self . UnrecoveredWrites == other . UnrecoveredWrites && self . RecoveredReads == other . RecoveredReads && self . UnrecoveredReads == other . UnrecoveredReads && self . CompressionRatioReads == other . CompressionRatioReads && self . CompressionRatioWrites == other . CompressionRatioWrites } } impl :: std :: cmp :: Eq for TAPE_STATISTICS { } unsafe impl :: windows :: Abi for TAPE_STATISTICS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct TAPE_WMI_OPERATIONS { pub Method : u32 , pub DataBufferSize : u32 , pub DataBuffer : * mut :: std :: ffi :: c_void } impl TAPE_WMI_OPERATIONS { } impl :: std :: default :: Default for TAPE_WMI_OPERATIONS { fn default ( ) -> Self { Self { Method : 0 , DataBufferSize : 0 , DataBuffer : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for TAPE_WMI_OPERATIONS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "TAPE_WMI_OPERATIONS" ) . field ( "Method" , & self . Method ) . field ( "DataBufferSize" , & self . DataBufferSize ) . field ( "DataBuffer" , & self . DataBuffer ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TAPE_WMI_OPERATIONS { fn eq ( & self , other : & Self ) -> bool { self . Method == other . Method && self . DataBufferSize == other . DataBufferSize && self . DataBuffer == other . DataBuffer } } impl :: std :: cmp :: Eq for TAPE_WMI_OPERATIONS { } unsafe impl :: windows :: Abi for TAPE_WMI_OPERATIONS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct TAPE_WRITE_MARKS { pub Type : super::super::Storage::FileSystem:: TAPEMARK_TYPE , pub Count : u32 , pub Immediate : u8 } impl TAPE_WRITE_MARKS { } impl :: std :: default :: Default for TAPE_WRITE_MARKS { fn default ( ) -> Self { Self { Type : :: std :: default :: Default :: default ( ) , Count : 0 , Immediate : 0 } } } impl :: std :: fmt :: Debug for TAPE_WRITE_MARKS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "TAPE_WRITE_MARKS" ) . field ( "Type" , & self . Type ) . field ( "Count" , & self . Count ) . field ( "Immediate" , & self . Immediate ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TAPE_WRITE_MARKS { fn eq ( & self , other : & Self ) -> bool { self . Type == other . Type && self . Count == other . Count && self . Immediate == other . Immediate } } impl :: std :: cmp :: Eq for TAPE_WRITE_MARKS { } unsafe impl :: windows :: Abi for TAPE_WRITE_MARKS { type Abi = Self ; type DefaultType = Self ; } pub const TC_DEVICEDUMP_SUBSECTION_DESC_LENGTH : u32 = 16u32 ; pub const TC_PATHOBJ : u32 = 2u32 ; pub const TC_PUBLIC_DEVICEDUMP_CONTENT_GPLOG : u32 = 2u32 ; pub const TC_PUBLIC_DEVICEDUMP_CONTENT_GPLOG_MAX : u32 = 16u32 ; pub const TC_PUBLIC_DEVICEDUMP_CONTENT_SMART : u32 = 1u32 ; pub const TC_RECTANGLES : u32 = 0u32 ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug , :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy ) ] pub struct TEB ( pub u8 ) ; pub const TELEMETRY_COMMAND_SIZE : u32 = 16u32 ; pub const THREAD_BASE_PRIORITY_IDLE : i32 = -15i32 ; pub const THREAD_BASE_PRIORITY_LOWRT : u32 = 15u32 ; pub const THREAD_BASE_PRIORITY_MAX : u32 = 2u32 ; pub const THREAD_BASE_PRIORITY_MIN : i32 = -2i32 ; pub const THREAD_DIRECT_IMPERSONATION : u32 = 512u32 ; pub const THREAD_DYNAMIC_CODE_ALLOW : u32 = 1u32 ; pub const THREAD_GET_CONTEXT : u32 = 8u32 ; pub const THREAD_IMPERSONATE : u32 = 256u32 ; pub const THREAD_PROFILING_FLAG_DISPATCH : u32 = 1u32 ; pub const THREAD_QUERY_INFORMATION : u32 = 64u32 ; pub const THREAD_QUERY_LIMITED_INFORMATION : u32 = 2048u32 ; pub const THREAD_RESUME : u32 = 4096u32 ; pub const THREAD_SET_CONTEXT : u32 = 16u32 ; pub const THREAD_SET_INFORMATION : u32 = 32u32 ; pub const THREAD_SET_LIMITED_INFORMATION : u32 = 1024u32 ; pub const THREAD_SET_THREAD_TOKEN : u32 = 128u32 ; pub const THREAD_SUSPEND_RESUME : u32 = 2u32 ; pub const THREAD_TERMINATE : u32 = 1u32 ; pub const TIMER_MODIFY_STATE : u32 = 2u32 ; pub const TIMER_QUERY_STATE : u32 = 1u32 ; 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_ONESHOT : u32 = 0u32 ; pub const TIME_PERIODIC : u32 = 1u32 ; pub const TIME_ZONE_ID_DAYLIGHT : u32 = 2u32 ; pub const TIME_ZONE_ID_STANDARD : u32 = 1u32 ; pub const TIME_ZONE_ID_UNKNOWN : u32 = 0u32 ; pub const TLS_MINIMUM_AVAILABLE : u32 = 64u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct TOKEN_BNO_ISOLATION_INFORMATION { pub IsolationPrefix : super::super::Foundation:: PWSTR , pub IsolationEnabled : u8 } impl TOKEN_BNO_ISOLATION_INFORMATION { } impl :: std :: default :: Default for TOKEN_BNO_ISOLATION_INFORMATION { fn default ( ) -> Self { Self { IsolationPrefix : :: std :: default :: Default :: default ( ) , IsolationEnabled : 0 } } } impl :: std :: fmt :: Debug for TOKEN_BNO_ISOLATION_INFORMATION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "TOKEN_BNO_ISOLATION_INFORMATION" ) . field ( "IsolationPrefix" , & self . IsolationPrefix ) . field ( "IsolationEnabled" , & self . IsolationEnabled ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TOKEN_BNO_ISOLATION_INFORMATION { fn eq ( & self , other : & Self ) -> bool { self . IsolationPrefix == other . IsolationPrefix && self . IsolationEnabled == other . IsolationEnabled } } impl :: std :: cmp :: Eq for TOKEN_BNO_ISOLATION_INFORMATION { } unsafe impl :: windows :: Abi for TOKEN_BNO_ISOLATION_INFORMATION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct TOKEN_SID_INFORMATION { pub Sid : super::super::Foundation:: PSID } impl TOKEN_SID_INFORMATION { } impl :: std :: default :: Default for TOKEN_SID_INFORMATION { fn default ( ) -> Self { Self { Sid : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for TOKEN_SID_INFORMATION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "TOKEN_SID_INFORMATION" ) . field ( "Sid" , & self . Sid ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TOKEN_SID_INFORMATION { fn eq ( & self , other : & Self ) -> bool { self . Sid == other . Sid } } impl :: std :: cmp :: Eq for TOKEN_SID_INFORMATION { } unsafe impl :: windows :: Abi for TOKEN_SID_INFORMATION { type Abi = Self ; type DefaultType = Self ; } pub const TOKEN_SOURCE_LENGTH : u32 = 8u32 ; impl :: std :: clone :: Clone for TP_CALLBACK_ENVIRON_V3 { fn clone ( & self ) -> Self { unimplemented ! ( ) } } # [ repr ( C ) ] pub struct TP_CALLBACK_ENVIRON_V3 { pub Version : u32 , pub Pool : super::Threading:: PTP_POOL , pub CleanupGroup : isize , pub CleanupGroupCancelCallback : :: std :: option :: Option < PTP_CLEANUP_GROUP_CANCEL_CALLBACK > , pub RaceDll : * mut :: std :: ffi :: c_void , pub ActivationContext : isize , pub FinalizationCallback : :: std :: option :: Option < PTP_SIMPLE_CALLBACK > , pub u : TP_CALLBACK_ENVIRON_V3_1 , pub CallbackPriority : TP_CALLBACK_PRIORITY , pub Size : u32 } impl TP_CALLBACK_ENVIRON_V3 { } impl :: std :: cmp :: PartialEq for TP_CALLBACK_ENVIRON_V3 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for TP_CALLBACK_ENVIRON_V3 { } # [ repr ( C ) ] # [ doc ( hidden ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct TP_CALLBACK_ENVIRON_V3_abi { pub Version : u32 , pub Pool : super::Threading:: PTP_POOL , pub CleanupGroup : isize , pub CleanupGroupCancelCallback : :: windows :: RawPtr , pub RaceDll : * mut :: std :: ffi :: c_void , pub ActivationContext : isize , pub FinalizationCallback : :: windows :: RawPtr , pub u : TP_CALLBACK_ENVIRON_V3_1 , pub CallbackPriority : TP_CALLBACK_PRIORITY , pub Size : u32 } unsafe impl :: windows :: Abi for TP_CALLBACK_ENVIRON_V3 { type Abi = TP_CALLBACK_ENVIRON_V3_abi ; type DefaultType = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug , :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy ) ] pub struct TP_CALLBACK_ENVIRON_V3_0 ( pub u8 ) ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union TP_CALLBACK_ENVIRON_V3_1 { pub Flags : u32 , pub s : TP_CALLBACK_ENVIRON_V3_1_0 } impl TP_CALLBACK_ENVIRON_V3_1 { } impl :: std :: cmp :: PartialEq for TP_CALLBACK_ENVIRON_V3_1 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for TP_CALLBACK_ENVIRON_V3_1 { } unsafe impl :: windows :: Abi for TP_CALLBACK_ENVIRON_V3_1 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct TP_CALLBACK_ENVIRON_V3_1_0 { pub _bitfield : u32 } impl TP_CALLBACK_ENVIRON_V3_1_0 { } impl :: std :: default :: Default for TP_CALLBACK_ENVIRON_V3_1_0 { fn default ( ) -> Self { Self { _bitfield : 0 } } } impl :: std :: fmt :: Debug for TP_CALLBACK_ENVIRON_V3_1_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_s_e__Struct" ) . field ( "_bitfield" , & self . _bitfield ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TP_CALLBACK_ENVIRON_V3_1_0 { fn eq ( & self , other : & Self ) -> bool { self . _bitfield == other . _bitfield } } impl :: std :: cmp :: Eq for TP_CALLBACK_ENVIRON_V3_1_0 { } unsafe impl :: windows :: Abi for TP_CALLBACK_ENVIRON_V3_1_0 { type Abi = Self ; type DefaultType = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug , :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy ) ] pub struct TP_CALLBACK_INSTANCE ( pub u8 ) ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct TP_CALLBACK_PRIORITY ( pub i32 ) ; pub const TP_CALLBACK_PRIORITY_HIGH : TP_CALLBACK_PRIORITY = TP_CALLBACK_PRIORITY ( 0i32 ) ; pub const TP_CALLBACK_PRIORITY_NORMAL : TP_CALLBACK_PRIORITY = TP_CALLBACK_PRIORITY ( 1i32 ) ; pub const TP_CALLBACK_PRIORITY_LOW : TP_CALLBACK_PRIORITY = TP_CALLBACK_PRIORITY ( 2i32 ) ; pub const TP_CALLBACK_PRIORITY_INVALID : TP_CALLBACK_PRIORITY = TP_CALLBACK_PRIORITY ( 3i32 ) ; pub const TP_CALLBACK_PRIORITY_COUNT : TP_CALLBACK_PRIORITY = TP_CALLBACK_PRIORITY ( 3i32 ) ; impl :: std :: convert :: From < i32 > for TP_CALLBACK_PRIORITY { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for TP_CALLBACK_PRIORITY { type Abi = Self ; type DefaultType = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug , :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy ) ] pub struct TP_CLEANUP_GROUP ( pub u8 ) ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug , :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy ) ] pub struct TP_IO ( pub u8 ) ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug , :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy ) ] pub struct TP_POOL ( pub u8 ) ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct TP_POOL_STACK_INFORMATION { pub StackReserve : usize , pub StackCommit : usize } impl TP_POOL_STACK_INFORMATION { } impl :: std :: default :: Default for TP_POOL_STACK_INFORMATION { fn default ( ) -> Self { Self { StackReserve : 0 , StackCommit : 0 } } } impl :: std :: fmt :: Debug for TP_POOL_STACK_INFORMATION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "TP_POOL_STACK_INFORMATION" ) . field ( "StackReserve" , & self . StackReserve ) . field ( "StackCommit" , & self . StackCommit ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TP_POOL_STACK_INFORMATION { fn eq ( & self , other : & Self ) -> bool { self . StackReserve == other . StackReserve && self . StackCommit == other . StackCommit } } impl :: std :: cmp :: Eq for TP_POOL_STACK_INFORMATION { } unsafe impl :: windows :: Abi for TP_POOL_STACK_INFORMATION { type Abi = Self ; type DefaultType = Self ; } # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug , :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy ) ] pub struct TP_TIMER ( pub u8 ) ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug , :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy ) ] pub struct TP_WAIT ( pub u8 ) ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug , :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy ) ] pub struct TP_WORK ( pub u8 ) ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct TRANSACTIONMANAGER_BASIC_INFORMATION { pub TmIdentity : :: windows :: Guid , pub VirtualClock : i64 } impl TRANSACTIONMANAGER_BASIC_INFORMATION { } impl :: std :: default :: Default for TRANSACTIONMANAGER_BASIC_INFORMATION { fn default ( ) -> Self { Self { TmIdentity : :: std :: default :: Default :: default ( ) , VirtualClock : 0 } } } impl :: std :: fmt :: Debug for TRANSACTIONMANAGER_BASIC_INFORMATION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "TRANSACTIONMANAGER_BASIC_INFORMATION" ) . field ( "TmIdentity" , & self . TmIdentity ) . field ( "VirtualClock" , & self . VirtualClock ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TRANSACTIONMANAGER_BASIC_INFORMATION { fn eq ( & self , other : & Self ) -> bool { self . TmIdentity == other . TmIdentity && self . VirtualClock == other . VirtualClock } } impl :: std :: cmp :: Eq for TRANSACTIONMANAGER_BASIC_INFORMATION { } unsafe impl :: windows :: Abi for TRANSACTIONMANAGER_BASIC_INFORMATION { type Abi = Self ; type DefaultType = Self ; } pub const TRANSACTIONMANAGER_BIND_TRANSACTION : u32 = 32u32 ; pub const TRANSACTIONMANAGER_CREATE_RM : u32 = 16u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct TRANSACTIONMANAGER_INFORMATION_CLASS ( pub i32 ) ; pub const TransactionManagerBasicInformation : TRANSACTIONMANAGER_INFORMATION_CLASS = TRANSACTIONMANAGER_INFORMATION_CLASS ( 0i32 ) ; pub const TransactionManagerLogInformation : TRANSACTIONMANAGER_INFORMATION_CLASS = TRANSACTIONMANAGER_INFORMATION_CLASS ( 1i32 ) ; pub const TransactionManagerLogPathInformation : TRANSACTIONMANAGER_INFORMATION_CLASS = TRANSACTIONMANAGER_INFORMATION_CLASS ( 2i32 ) ; pub const TransactionManagerRecoveryInformation : TRANSACTIONMANAGER_INFORMATION_CLASS = TRANSACTIONMANAGER_INFORMATION_CLASS ( 4i32 ) ; pub const TransactionManagerOnlineProbeInformation : TRANSACTIONMANAGER_INFORMATION_CLASS = TRANSACTIONMANAGER_INFORMATION_CLASS ( 3i32 ) ; pub const TransactionManagerOldestTransactionInformation : TRANSACTIONMANAGER_INFORMATION_CLASS = TRANSACTIONMANAGER_INFORMATION_CLASS ( 5i32 ) ; impl :: std :: convert :: From < i32 > for TRANSACTIONMANAGER_INFORMATION_CLASS { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for TRANSACTIONMANAGER_INFORMATION_CLASS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct TRANSACTIONMANAGER_LOGPATH_INFORMATION { pub LogPathLength : u32 , pub LogPath : [ u16 ;1 ] } impl TRANSACTIONMANAGER_LOGPATH_INFORMATION { } impl :: std :: default :: Default for TRANSACTIONMANAGER_LOGPATH_INFORMATION { fn default ( ) -> Self { Self { LogPathLength : 0 , LogPath : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for TRANSACTIONMANAGER_LOGPATH_INFORMATION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "TRANSACTIONMANAGER_LOGPATH_INFORMATION" ) . field ( "LogPathLength" , & self . LogPathLength ) . field ( "LogPath" , & self . LogPath ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TRANSACTIONMANAGER_LOGPATH_INFORMATION { fn eq ( & self , other : & Self ) -> bool { self . LogPathLength == other . LogPathLength && self . LogPath == other . LogPath } } impl :: std :: cmp :: Eq for TRANSACTIONMANAGER_LOGPATH_INFORMATION { } unsafe impl :: windows :: Abi for TRANSACTIONMANAGER_LOGPATH_INFORMATION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct TRANSACTIONMANAGER_LOG_INFORMATION { pub LogIdentity : :: windows :: Guid } impl TRANSACTIONMANAGER_LOG_INFORMATION { } impl :: std :: default :: Default for TRANSACTIONMANAGER_LOG_INFORMATION { fn default ( ) -> Self { Self { LogIdentity : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for TRANSACTIONMANAGER_LOG_INFORMATION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "TRANSACTIONMANAGER_LOG_INFORMATION" ) . field ( "LogIdentity" , & self . LogIdentity ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TRANSACTIONMANAGER_LOG_INFORMATION { fn eq ( & self , other : & Self ) -> bool { self . LogIdentity == other . LogIdentity } } impl :: std :: cmp :: Eq for TRANSACTIONMANAGER_LOG_INFORMATION { } unsafe impl :: windows :: Abi for TRANSACTIONMANAGER_LOG_INFORMATION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct TRANSACTIONMANAGER_OLDEST_INFORMATION { pub OldestTransactionGuid : :: windows :: Guid } impl TRANSACTIONMANAGER_OLDEST_INFORMATION { } impl :: std :: default :: Default for TRANSACTIONMANAGER_OLDEST_INFORMATION { fn default ( ) -> Self { Self { OldestTransactionGuid : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for TRANSACTIONMANAGER_OLDEST_INFORMATION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "TRANSACTIONMANAGER_OLDEST_INFORMATION" ) . field ( "OldestTransactionGuid" , & self . OldestTransactionGuid ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TRANSACTIONMANAGER_OLDEST_INFORMATION { fn eq ( & self , other : & Self ) -> bool { self . OldestTransactionGuid == other . OldestTransactionGuid } } impl :: std :: cmp :: Eq for TRANSACTIONMANAGER_OLDEST_INFORMATION { } unsafe impl :: windows :: Abi for TRANSACTIONMANAGER_OLDEST_INFORMATION { type Abi = Self ; type DefaultType = Self ; } pub const TRANSACTIONMANAGER_QUERY_INFORMATION : u32 = 1u32 ; pub const TRANSACTIONMANAGER_RECOVER : u32 = 4u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct TRANSACTIONMANAGER_RECOVERY_INFORMATION { pub LastRecoveredLsn : u64 } impl TRANSACTIONMANAGER_RECOVERY_INFORMATION { } impl :: std :: default :: Default for TRANSACTIONMANAGER_RECOVERY_INFORMATION { fn default ( ) -> Self { Self { LastRecoveredLsn : 0 } } } impl :: std :: fmt :: Debug for TRANSACTIONMANAGER_RECOVERY_INFORMATION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "TRANSACTIONMANAGER_RECOVERY_INFORMATION" ) . field ( "LastRecoveredLsn" , & self . LastRecoveredLsn ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TRANSACTIONMANAGER_RECOVERY_INFORMATION { fn eq ( & self , other : & Self ) -> bool { self . LastRecoveredLsn == other . LastRecoveredLsn } } impl :: std :: cmp :: Eq for TRANSACTIONMANAGER_RECOVERY_INFORMATION { } unsafe impl :: windows :: Abi for TRANSACTIONMANAGER_RECOVERY_INFORMATION { type Abi = Self ; type DefaultType = Self ; } pub const TRANSACTIONMANAGER_RENAME : u32 = 8u32 ; pub const TRANSACTIONMANAGER_SET_INFORMATION : u32 = 2u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct TRANSACTION_BASIC_INFORMATION { pub TransactionId : :: windows :: Guid , pub State : u32 , pub Outcome : u32 } impl TRANSACTION_BASIC_INFORMATION { } impl :: std :: default :: Default for TRANSACTION_BASIC_INFORMATION { fn default ( ) -> Self { Self { TransactionId : :: std :: default :: Default :: default ( ) , State : 0 , Outcome : 0 } } } impl :: std :: fmt :: Debug for TRANSACTION_BASIC_INFORMATION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "TRANSACTION_BASIC_INFORMATION" ) . field ( "TransactionId" , & self . TransactionId ) . field ( "State" , & self . State ) . field ( "Outcome" , & self . Outcome ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TRANSACTION_BASIC_INFORMATION { fn eq ( & self , other : & Self ) -> bool { self . TransactionId == other . TransactionId && self . State == other . State && self . Outcome == other . Outcome } } impl :: std :: cmp :: Eq for TRANSACTION_BASIC_INFORMATION { } unsafe impl :: windows :: Abi for TRANSACTION_BASIC_INFORMATION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct TRANSACTION_BIND_INFORMATION { pub TmHandle : super::super::Foundation:: HANDLE } impl TRANSACTION_BIND_INFORMATION { } impl :: std :: default :: Default for TRANSACTION_BIND_INFORMATION { fn default ( ) -> Self { Self { TmHandle : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for TRANSACTION_BIND_INFORMATION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "TRANSACTION_BIND_INFORMATION" ) . field ( "TmHandle" , & self . TmHandle ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TRANSACTION_BIND_INFORMATION { fn eq ( & self , other : & Self ) -> bool { self . TmHandle == other . TmHandle } } impl :: std :: cmp :: Eq for TRANSACTION_BIND_INFORMATION { } unsafe impl :: windows :: Abi for TRANSACTION_BIND_INFORMATION { type Abi = Self ; type DefaultType = Self ; } pub const TRANSACTION_COMMIT : u32 = 8u32 ; pub const TRANSACTION_ENLIST : u32 = 4u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct TRANSACTION_ENLISTMENTS_INFORMATION { pub NumberOfEnlistments : u32 , pub EnlistmentPair : [ TRANSACTION_ENLISTMENT_PAIR ;1 ] } impl TRANSACTION_ENLISTMENTS_INFORMATION { } impl :: std :: default :: Default for TRANSACTION_ENLISTMENTS_INFORMATION { fn default ( ) -> Self { Self { NumberOfEnlistments : 0 , EnlistmentPair : [ :: std :: default :: Default :: default ( ) ;1 ] } } } impl :: std :: fmt :: Debug for TRANSACTION_ENLISTMENTS_INFORMATION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "TRANSACTION_ENLISTMENTS_INFORMATION" ) . field ( "NumberOfEnlistments" , & self . NumberOfEnlistments ) . field ( "EnlistmentPair" , & self . EnlistmentPair ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TRANSACTION_ENLISTMENTS_INFORMATION { fn eq ( & self , other : & Self ) -> bool { self . NumberOfEnlistments == other . NumberOfEnlistments && self . EnlistmentPair == other . EnlistmentPair } } impl :: std :: cmp :: Eq for TRANSACTION_ENLISTMENTS_INFORMATION { } unsafe impl :: windows :: Abi for TRANSACTION_ENLISTMENTS_INFORMATION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct TRANSACTION_ENLISTMENT_PAIR { pub EnlistmentId : :: windows :: Guid , pub ResourceManagerId : :: windows :: Guid } impl TRANSACTION_ENLISTMENT_PAIR { } impl :: std :: default :: Default for TRANSACTION_ENLISTMENT_PAIR { fn default ( ) -> Self { Self { EnlistmentId : :: std :: default :: Default :: default ( ) , ResourceManagerId : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for TRANSACTION_ENLISTMENT_PAIR { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "TRANSACTION_ENLISTMENT_PAIR" ) . field ( "EnlistmentId" , & self . EnlistmentId ) . field ( "ResourceManagerId" , & self . ResourceManagerId ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TRANSACTION_ENLISTMENT_PAIR { fn eq ( & self , other : & Self ) -> bool { self . EnlistmentId == other . EnlistmentId && self . ResourceManagerId == other . ResourceManagerId } } impl :: std :: cmp :: Eq for TRANSACTION_ENLISTMENT_PAIR { } unsafe impl :: windows :: Abi for TRANSACTION_ENLISTMENT_PAIR { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct TRANSACTION_INFORMATION_CLASS ( pub i32 ) ; pub const TransactionBasicInformation : TRANSACTION_INFORMATION_CLASS = TRANSACTION_INFORMATION_CLASS ( 0i32 ) ; pub const TransactionPropertiesInformation : TRANSACTION_INFORMATION_CLASS = TRANSACTION_INFORMATION_CLASS ( 1i32 ) ; pub const TransactionEnlistmentInformation : TRANSACTION_INFORMATION_CLASS = TRANSACTION_INFORMATION_CLASS ( 2i32 ) ; pub const TransactionSuperiorEnlistmentInformation : TRANSACTION_INFORMATION_CLASS = TRANSACTION_INFORMATION_CLASS ( 3i32 ) ; pub const TransactionBindInformation : TRANSACTION_INFORMATION_CLASS = TRANSACTION_INFORMATION_CLASS ( 4i32 ) ; pub const TransactionDTCPrivateInformation : TRANSACTION_INFORMATION_CLASS = TRANSACTION_INFORMATION_CLASS ( 5i32 ) ; impl :: std :: convert :: From < i32 > for TRANSACTION_INFORMATION_CLASS { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for TRANSACTION_INFORMATION_CLASS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct TRANSACTION_LIST_ENTRY { pub UOW : :: windows :: Guid } impl TRANSACTION_LIST_ENTRY { } impl :: std :: default :: Default for TRANSACTION_LIST_ENTRY { fn default ( ) -> Self { Self { UOW : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for TRANSACTION_LIST_ENTRY { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "TRANSACTION_LIST_ENTRY" ) . field ( "UOW" , & self . UOW ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TRANSACTION_LIST_ENTRY { fn eq ( & self , other : & Self ) -> bool { self . UOW == other . UOW } } impl :: std :: cmp :: Eq for TRANSACTION_LIST_ENTRY { } unsafe impl :: windows :: Abi for TRANSACTION_LIST_ENTRY { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct TRANSACTION_LIST_INFORMATION { pub NumberOfTransactions : u32 , pub TransactionInformation : [ TRANSACTION_LIST_ENTRY ;1 ] } impl TRANSACTION_LIST_INFORMATION { } impl :: std :: default :: Default for TRANSACTION_LIST_INFORMATION { fn default ( ) -> Self { Self { NumberOfTransactions : 0 , TransactionInformation : [ :: std :: default :: Default :: default ( ) ;1 ] } } } impl :: std :: fmt :: Debug for TRANSACTION_LIST_INFORMATION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "TRANSACTION_LIST_INFORMATION" ) . field ( "NumberOfTransactions" , & self . NumberOfTransactions ) . field ( "TransactionInformation" , & self . TransactionInformation ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TRANSACTION_LIST_INFORMATION { fn eq ( & self , other : & Self ) -> bool { self . NumberOfTransactions == other . NumberOfTransactions && self . TransactionInformation == other . TransactionInformation } } impl :: std :: cmp :: Eq for TRANSACTION_LIST_INFORMATION { } unsafe impl :: windows :: Abi for TRANSACTION_LIST_INFORMATION { type Abi = Self ; type DefaultType = Self ; } pub const TRANSACTION_PROPAGATE : u32 = 32u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct TRANSACTION_PROPERTIES_INFORMATION { pub IsolationLevel : u32 , pub IsolationFlags : u32 , pub Timeout : i64 , pub Outcome : u32 , pub DescriptionLength : u32 , pub Description : [ u16 ;1 ] } impl TRANSACTION_PROPERTIES_INFORMATION { } impl :: std :: default :: Default for TRANSACTION_PROPERTIES_INFORMATION { fn default ( ) -> Self { Self { IsolationLevel : 0 , IsolationFlags : 0 , Timeout : 0 , Outcome : 0 , DescriptionLength : 0 , Description : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for TRANSACTION_PROPERTIES_INFORMATION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "TRANSACTION_PROPERTIES_INFORMATION" ) . field ( "IsolationLevel" , & self . IsolationLevel ) . field ( "IsolationFlags" , & self . IsolationFlags ) . field ( "Timeout" , & self . Timeout ) . field ( "Outcome" , & self . Outcome ) . field ( "DescriptionLength" , & self . DescriptionLength ) . field ( "Description" , & self . Description ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TRANSACTION_PROPERTIES_INFORMATION { fn eq ( & self , other : & Self ) -> bool { self . IsolationLevel == other . IsolationLevel && self . IsolationFlags == other . IsolationFlags && self . Timeout == other . Timeout && self . Outcome == other . Outcome && self . DescriptionLength == other . DescriptionLength && self . Description == other . Description } } impl :: std :: cmp :: Eq for TRANSACTION_PROPERTIES_INFORMATION { } unsafe impl :: windows :: Abi for TRANSACTION_PROPERTIES_INFORMATION { type Abi = Self ; type DefaultType = Self ; } pub const TRANSACTION_QUERY_INFORMATION : u32 = 1u32 ; pub const TRANSACTION_RIGHT_RESERVED1 : u32 = 64u32 ; pub const TRANSACTION_ROLLBACK : u32 = 16u32 ; pub const TRANSACTION_SET_INFORMATION : u32 = 2u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct TRANSACTION_STATE ( pub i32 ) ; pub const TransactionStateNormal : TRANSACTION_STATE = TRANSACTION_STATE ( 1i32 ) ; pub const TransactionStateIndoubt : TRANSACTION_STATE = TRANSACTION_STATE ( 2i32 ) ; pub const TransactionStateCommittedNotify : TRANSACTION_STATE = TRANSACTION_STATE ( 3i32 ) ; impl :: std :: convert :: From < i32 > for TRANSACTION_STATE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for TRANSACTION_STATE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct TRANSACTION_SUPERIOR_ENLISTMENT_INFORMATION { pub SuperiorEnlistmentPair : TRANSACTION_ENLISTMENT_PAIR } impl TRANSACTION_SUPERIOR_ENLISTMENT_INFORMATION { } impl :: std :: default :: Default for TRANSACTION_SUPERIOR_ENLISTMENT_INFORMATION { fn default ( ) -> Self { Self { SuperiorEnlistmentPair : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for TRANSACTION_SUPERIOR_ENLISTMENT_INFORMATION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "TRANSACTION_SUPERIOR_ENLISTMENT_INFORMATION" ) . field ( "SuperiorEnlistmentPair" , & self . SuperiorEnlistmentPair ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TRANSACTION_SUPERIOR_ENLISTMENT_INFORMATION { fn eq ( & self , other : & Self ) -> bool { self . SuperiorEnlistmentPair == other . SuperiorEnlistmentPair } } impl :: std :: cmp :: Eq for TRANSACTION_SUPERIOR_ENLISTMENT_INFORMATION { } unsafe impl :: windows :: Abi for TRANSACTION_SUPERIOR_ENLISTMENT_INFORMATION { type Abi = Self ; type DefaultType = Self ; } pub const TREE_CONNECT_ATTRIBUTE_GLOBAL : u32 = 4u32 ; pub const TREE_CONNECT_ATTRIBUTE_INTEGRITY : u32 = 32768u32 ; pub const TREE_CONNECT_ATTRIBUTE_PINNED : u32 = 2u32 ; pub const TREE_CONNECT_ATTRIBUTE_PRIVACY : u32 = 16384u32 ; pub const TRUST_PROTECTED_FILTER_ACE_FLAG : u32 = 64u32 ; pub const TTO_METRICS_ONLY : u32 = 1u32 ; pub const TTO_QUBICS : u32 = 2u32 ; pub const TTO_UNHINTED : u32 = 4u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct TTTOOLINFO_FLAGS ( pub u32 ) ; pub const TTF_ABSOLUTE : TTTOOLINFO_FLAGS = TTTOOLINFO_FLAGS ( 128u32 ) ; pub const TTF_CENTERTIP : TTTOOLINFO_FLAGS = TTTOOLINFO_FLAGS ( 2u32 ) ; pub const TTF_IDISHWND : TTTOOLINFO_FLAGS = TTTOOLINFO_FLAGS ( 1u32 ) ; pub const TTF_PARSELINKS : TTTOOLINFO_FLAGS = TTTOOLINFO_FLAGS ( 4096u32 ) ; pub const TTF_RTLREADING : TTTOOLINFO_FLAGS = TTTOOLINFO_FLAGS ( 4u32 ) ; pub const TTF_SUBCLASS : TTTOOLINFO_FLAGS = TTTOOLINFO_FLAGS ( 16u32 ) ; pub const TTF_TRACK : TTTOOLINFO_FLAGS = TTTOOLINFO_FLAGS ( 32u32 ) ; pub const TTF_TRANSPARENT : TTTOOLINFO_FLAGS = TTTOOLINFO_FLAGS ( 256u32 ) ; impl :: std :: convert :: From < u32 > for TTTOOLINFO_FLAGS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for TTTOOLINFO_FLAGS { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for TTTOOLINFO_FLAGS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for TTTOOLINFO_FLAGS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for TTTOOLINFO_FLAGS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for TTTOOLINFO_FLAGS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub const TXFS_LIST_TRANSACTION_LOCKED_FILES_ENTRY_FLAG_CREATED : u32 = 1u32 ; pub const TXFS_LIST_TRANSACTION_LOCKED_FILES_ENTRY_FLAG_DELETED : u32 = 2u32 ; pub const TXFS_LOGGING_MODE_FULL : u32 = 2u32 ; pub const TXFS_LOGGING_MODE_SIMPLE : u32 = 1u32 ; pub const TXFS_RM_STATE_ACTIVE : u32 = 2u32 ; pub const TXFS_RM_STATE_NOT_STARTED : u32 = 0u32 ; pub const TXFS_RM_STATE_SHUTTING_DOWN : u32 = 3u32 ; pub const TXFS_RM_STATE_STARTING : u32 = 1u32 ; pub const TXFS_ROLLFORWARD_REDO_FLAG_USE_LAST_REDO_LSN : u32 = 1u32 ; pub const TXFS_ROLLFORWARD_REDO_FLAG_USE_LAST_VIRTUAL_CLOCK : u32 = 2u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct TXFS_ROLLFORWARD_REDO_INFORMATION { pub LastVirtualClock : i64 , pub LastRedoLsn : u64 , pub HighestRecoveryLsn : u64 , pub Flags : u32 } impl TXFS_ROLLFORWARD_REDO_INFORMATION { } impl :: std :: default :: Default for TXFS_ROLLFORWARD_REDO_INFORMATION { fn default ( ) -> Self { Self { LastVirtualClock : 0 , LastRedoLsn : 0 , HighestRecoveryLsn : 0 , Flags : 0 } } } impl :: std :: fmt :: Debug for TXFS_ROLLFORWARD_REDO_INFORMATION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "TXFS_ROLLFORWARD_REDO_INFORMATION" ) . field ( "LastVirtualClock" , & self . LastVirtualClock ) . field ( "LastRedoLsn" , & self . LastRedoLsn ) . field ( "HighestRecoveryLsn" , & self . HighestRecoveryLsn ) . field ( "Flags" , & self . Flags ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TXFS_ROLLFORWARD_REDO_INFORMATION { fn eq ( & self , other : & Self ) -> bool { self . LastVirtualClock == other . LastVirtualClock && self . LastRedoLsn == other . LastRedoLsn && self . HighestRecoveryLsn == other . HighestRecoveryLsn && self . Flags == other . Flags } } impl :: std :: cmp :: Eq for TXFS_ROLLFORWARD_REDO_INFORMATION { } unsafe impl :: windows :: Abi for TXFS_ROLLFORWARD_REDO_INFORMATION { type Abi = Self ; type DefaultType = Self ; } pub const TXFS_SAVEPOINT_CLEAR : u32 = 4u32 ; pub const TXFS_SAVEPOINT_CLEAR_ALL : u32 = 16u32 ; pub const TXFS_SAVEPOINT_ROLLBACK : u32 = 2u32 ; pub const TXFS_SAVEPOINT_SET : u32 = 1u32 ; pub const TXFS_START_RM_FLAG_LOGGING_MODE : u32 = 1024u32 ; pub const TXFS_START_RM_FLAG_LOG_AUTO_SHRINK_PERCENTAGE : u32 = 32u32 ; pub const TXFS_START_RM_FLAG_LOG_CONTAINER_COUNT_MAX : u32 = 1u32 ; pub const TXFS_START_RM_FLAG_LOG_CONTAINER_COUNT_MIN : u32 = 2u32 ; pub const TXFS_START_RM_FLAG_LOG_CONTAINER_SIZE : u32 = 4u32 ; pub const TXFS_START_RM_FLAG_LOG_GROWTH_INCREMENT_NUM_CONTAINERS : u32 = 8u32 ; pub const TXFS_START_RM_FLAG_LOG_GROWTH_INCREMENT_PERCENT : u32 = 16u32 ; pub const TXFS_START_RM_FLAG_LOG_NO_CONTAINER_COUNT_MAX : u32 = 64u32 ; pub const TXFS_START_RM_FLAG_LOG_NO_CONTAINER_COUNT_MIN : u32 = 128u32 ; pub const TXFS_START_RM_FLAG_PREFER_AVAILABILITY : u32 = 8192u32 ; pub const TXFS_START_RM_FLAG_PREFER_CONSISTENCY : u32 = 4096u32 ; pub const TXFS_START_RM_FLAG_PRESERVE_CHANGES : u32 = 2048u32 ; pub const TXFS_START_RM_FLAG_RECOVER_BEST_EFFORT : u32 = 512u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct TXFS_START_RM_INFORMATION { pub Flags : u32 , pub LogContainerSize : u64 , pub LogContainerCountMin : u32 , pub LogContainerCountMax : u32 , pub LogGrowthIncrement : u32 , pub LogAutoShrinkPercentage : u32 , pub TmLogPathOffset : u32 , pub TmLogPathLength : u16 , pub LoggingMode : u16 , pub LogPathLength : u16 , pub Reserved : u16 , pub LogPath : [ u16 ;1 ] } impl TXFS_START_RM_INFORMATION { } impl :: std :: default :: Default for TXFS_START_RM_INFORMATION { fn default ( ) -> Self { Self { Flags : 0 , LogContainerSize : 0 , LogContainerCountMin : 0 , LogContainerCountMax : 0 , LogGrowthIncrement : 0 , LogAutoShrinkPercentage : 0 , TmLogPathOffset : 0 , TmLogPathLength : 0 , LoggingMode : 0 , LogPathLength : 0 , Reserved : 0 , LogPath : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for TXFS_START_RM_INFORMATION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "TXFS_START_RM_INFORMATION" ) . field ( "Flags" , & self . Flags ) . field ( "LogContainerSize" , & self . LogContainerSize ) . field ( "LogContainerCountMin" , & self . LogContainerCountMin ) . field ( "LogContainerCountMax" , & self . LogContainerCountMax ) . field ( "LogGrowthIncrement" , & self . LogGrowthIncrement ) . field ( "LogAutoShrinkPercentage" , & self . LogAutoShrinkPercentage ) . field ( "TmLogPathOffset" , & self . TmLogPathOffset ) . field ( "TmLogPathLength" , & self . TmLogPathLength ) . field ( "LoggingMode" , & self . LoggingMode ) . field ( "LogPathLength" , & self . LogPathLength ) . field ( "Reserved" , & self . Reserved ) . field ( "LogPath" , & self . LogPath ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TXFS_START_RM_INFORMATION { fn eq ( & self , other : & Self ) -> bool { self . Flags == other . Flags && self . LogContainerSize == other . LogContainerSize && self . LogContainerCountMin == other . LogContainerCountMin && self . LogContainerCountMax == other . LogContainerCountMax && self . LogGrowthIncrement == other . LogGrowthIncrement && self . LogAutoShrinkPercentage == other . LogAutoShrinkPercentage && self . TmLogPathOffset == other . TmLogPathOffset && self . TmLogPathLength == other . TmLogPathLength && self . LoggingMode == other . LoggingMode && self . LogPathLength == other . LogPathLength && self . Reserved == other . Reserved && self . LogPath == other . LogPath } } impl :: std :: cmp :: Eq for TXFS_START_RM_INFORMATION { } unsafe impl :: windows :: Abi for TXFS_START_RM_INFORMATION { type Abi = Self ; type DefaultType = Self ; } pub const TXFS_TRANSACTED_VERSION_NONTRANSACTED : u32 = 4294967294u32 ; pub const TXFS_TRANSACTED_VERSION_UNCOMMITTED : u32 = 4294967295u32 ; pub const TXFS_TRANSACTION_STATE_ACTIVE : u32 = 1u32 ; pub const TXFS_TRANSACTION_STATE_NONE : u32 = 0u32 ; pub const TXFS_TRANSACTION_STATE_NOTACTIVE : u32 = 3u32 ; pub const TXFS_TRANSACTION_STATE_PREPARED : u32 = 2u32 ; pub const UCSCHAR_INVALID_CHARACTER : u32 = 4294967295u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct UMS_CREATE_THREAD_ATTRIBUTES { pub UmsVersion : u32 , pub UmsContext : * mut :: std :: ffi :: c_void , pub UmsCompletionList : * mut :: std :: ffi :: c_void } impl UMS_CREATE_THREAD_ATTRIBUTES { } impl :: std :: default :: Default for UMS_CREATE_THREAD_ATTRIBUTES { fn default ( ) -> Self { Self { UmsVersion : 0 , UmsContext : :: std :: ptr :: null_mut ( ) , UmsCompletionList : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for UMS_CREATE_THREAD_ATTRIBUTES { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "UMS_CREATE_THREAD_ATTRIBUTES" ) . field ( "UmsVersion" , & self . UmsVersion ) . field ( "UmsContext" , & self . UmsContext ) . field ( "UmsCompletionList" , & self . UmsCompletionList ) . finish ( ) } } impl :: std :: cmp :: PartialEq for UMS_CREATE_THREAD_ATTRIBUTES { fn eq ( & self , other : & Self ) -> bool { self . UmsVersion == other . UmsVersion && self . UmsContext == other . UmsContext && self . UmsCompletionList == other . UmsCompletionList } } impl :: std :: cmp :: Eq for UMS_CREATE_THREAD_ATTRIBUTES { } unsafe impl :: windows :: Abi for UMS_CREATE_THREAD_ATTRIBUTES { type Abi = Self ; type DefaultType = Self ; } pub const UNDEFINE_ALTERNATE : u32 = 13u32 ; pub const UNDEFINE_PRIMARY : u32 = 12u32 ; pub const UNICODE_STRING_MAX_CHARS : u32 = 32767u32 ; pub const UNIFIEDBUILDREVISION_MIN : u32 = 0u32 ; pub const UNLOCK_ELEMENT : u32 = 1u32 ; pub const UNPROTECTED_DACL_SECURITY_INFORMATION : i32 = 536870912i32 ; pub const UNPROTECTED_SACL_SECURITY_INFORMATION : i32 = 268435456i32 ; pub const UNRECOVERED_READS_VALID : u32 = 8u32 ; pub const UNRECOVERED_WRITES_VALID : u32 = 2u32 ; pub const UNWIND_CHAIN_LIMIT : u32 = 32u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct UNWIND_HISTORY_TABLE { pub Count : u32 , pub LocalHint : u8 , pub GlobalHint : u8 , pub Search : u8 , pub Once : u8 , pub LowAddress : u64 , pub HighAddress : u64 , pub Entry : [ UNWIND_HISTORY_TABLE_ENTRY ;12 ] } impl UNWIND_HISTORY_TABLE { } impl :: std :: default :: Default for UNWIND_HISTORY_TABLE { fn default ( ) -> Self { Self { Count : 0 , LocalHint : 0 , GlobalHint : 0 , Search : 0 , Once : 0 , LowAddress : 0 , HighAddress : 0 , Entry : [ :: std :: default :: Default :: default ( ) ;12 ] } } } impl :: std :: fmt :: Debug for UNWIND_HISTORY_TABLE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "UNWIND_HISTORY_TABLE" ) . field ( "Count" , & self . Count ) . field ( "LocalHint" , & self . LocalHint ) . field ( "GlobalHint" , & self . GlobalHint ) . field ( "Search" , & self . Search ) . field ( "Once" , & self . Once ) . field ( "LowAddress" , & self . LowAddress ) . field ( "HighAddress" , & self . HighAddress ) . field ( "Entry" , & self . Entry ) . finish ( ) } } impl :: std :: cmp :: PartialEq for UNWIND_HISTORY_TABLE { fn eq ( & self , other : & Self ) -> bool { self . Count == other . Count && self . LocalHint == other . LocalHint && self . GlobalHint == other . GlobalHint && self . Search == other . Search && self . Once == other . Once && self . LowAddress == other . LowAddress && self . HighAddress == other . HighAddress && self . Entry == other . Entry } } impl :: std :: cmp :: Eq for UNWIND_HISTORY_TABLE { } unsafe impl :: windows :: Abi for UNWIND_HISTORY_TABLE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct UNWIND_HISTORY_TABLE_ENTRY { pub ImageBase : u64 , pub FunctionEntry : * mut IMAGE_ARM64_RUNTIME_FUNCTION_ENTRY } impl UNWIND_HISTORY_TABLE_ENTRY { } impl :: std :: default :: Default for UNWIND_HISTORY_TABLE_ENTRY { fn default ( ) -> Self { Self { ImageBase : 0 , FunctionEntry : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for UNWIND_HISTORY_TABLE_ENTRY { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "UNWIND_HISTORY_TABLE_ENTRY" ) . field ( "ImageBase" , & self . ImageBase ) . field ( "FunctionEntry" , & self . FunctionEntry ) . finish ( ) } } impl :: std :: cmp :: PartialEq for UNWIND_HISTORY_TABLE_ENTRY { fn eq ( & self , other : & Self ) -> bool { self . ImageBase == other . ImageBase && self . FunctionEntry == other . FunctionEntry } } impl :: std :: cmp :: Eq for UNWIND_HISTORY_TABLE_ENTRY { } unsafe impl :: windows :: Abi for UNWIND_HISTORY_TABLE_ENTRY { type Abi = Self ; type DefaultType = Self ; } pub const UNWIND_HISTORY_TABLE_SIZE : u32 = 12u32 ; pub const UNW_FLAG_NO_EPILOGUE : u32 = 2147483648u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct USER_ACTIVITY_PRESENCE ( pub i32 ) ; pub const PowerUserPresent : USER_ACTIVITY_PRESENCE = USER_ACTIVITY_PRESENCE ( 0i32 ) ; pub const PowerUserNotPresent : USER_ACTIVITY_PRESENCE = USER_ACTIVITY_PRESENCE ( 1i32 ) ; pub const PowerUserInactive : USER_ACTIVITY_PRESENCE = USER_ACTIVITY_PRESENCE ( 2i32 ) ; pub const PowerUserMaximum : USER_ACTIVITY_PRESENCE = USER_ACTIVITY_PRESENCE ( 3i32 ) ; pub const PowerUserInvalid : USER_ACTIVITY_PRESENCE = USER_ACTIVITY_PRESENCE ( 3i32 ) ; impl :: std :: convert :: From < i32 > for USER_ACTIVITY_PRESENCE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for USER_ACTIVITY_PRESENCE { type Abi = Self ; type DefaultType = Self ; } pub const USN_DELETE_VALID_FLAGS : u32 = 3u32 ; pub const USN_PAGE_SIZE : u32 = 4096u32 ; pub const USN_REASON_BASIC_INFO_CHANGE : u32 = 32768u32 ; pub const USN_REASON_CLOSE : u32 = 2147483648u32 ; pub const USN_REASON_COMPRESSION_CHANGE : u32 = 131072u32 ; pub const USN_REASON_DATA_EXTEND : u32 = 2u32 ; pub const USN_REASON_DATA_OVERWRITE : u32 = 1u32 ; pub const USN_REASON_DATA_TRUNCATION : u32 = 4u32 ; pub const USN_REASON_DESIRED_STORAGE_CLASS_CHANGE : u32 = 16777216u32 ; pub const USN_REASON_EA_CHANGE : u32 = 1024u32 ; pub const USN_REASON_ENCRYPTION_CHANGE : u32 = 262144u32 ; pub const USN_REASON_FILE_CREATE : u32 = 256u32 ; pub const USN_REASON_FILE_DELETE : u32 = 512u32 ; pub const USN_REASON_HARD_LINK_CHANGE : u32 = 65536u32 ; pub const USN_REASON_INDEXABLE_CHANGE : u32 = 16384u32 ; pub const USN_REASON_INTEGRITY_CHANGE : u32 = 8388608u32 ; pub const USN_REASON_NAMED_DATA_EXTEND : u32 = 32u32 ; pub const USN_REASON_NAMED_DATA_OVERWRITE : u32 = 16u32 ; pub const USN_REASON_NAMED_DATA_TRUNCATION : u32 = 64u32 ; pub const USN_REASON_OBJECT_ID_CHANGE : u32 = 524288u32 ; pub const USN_REASON_RENAME_NEW_NAME : u32 = 8192u32 ; pub const USN_REASON_RENAME_OLD_NAME : u32 = 4096u32 ; pub const USN_REASON_REPARSE_POINT_CHANGE : u32 = 1048576u32 ; pub const USN_REASON_SECURITY_CHANGE : u32 = 2048u32 ; pub const USN_REASON_STREAM_CHANGE : u32 = 2097152u32 ; pub const USN_REASON_TRANSACTED_CHANGE : u32 = 4194304u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union USN_RECORD_UNION { pub Header : super::super::Storage::FileSystem:: USN_RECORD_COMMON_HEADER , pub V2 : super::super::Storage::FileSystem:: USN_RECORD_V2 , pub V3 : super::super::Storage::FileSystem:: USN_RECORD_V3 , pub V4 : super::super::Storage::FileSystem:: USN_RECORD_V4 } impl USN_RECORD_UNION { } impl :: std :: cmp :: PartialEq for USN_RECORD_UNION { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for USN_RECORD_UNION { } unsafe impl :: windows :: Abi for USN_RECORD_UNION { type Abi = Self ; type DefaultType = Self ; } pub unsafe fn UnregisterDeviceNotification < > ( handle : * mut :: std :: ffi :: c_void , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="USER32" ) ] extern "system" { fn UnregisterDeviceNotification ( handle : * mut :: std :: ffi :: c_void ) -> super::super::Foundation:: BOOL ; } UnregisterDeviceNotification ( :: std :: mem :: transmute ( handle ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub const VALID_INHERIT_FLAGS : u32 = 31u32 ; pub const VALID_NTFT : u32 = 192u32 ; pub const VBS_BASIC_PAGE_MEASURED_DATA : u32 = 1u32 ; pub const VBS_BASIC_PAGE_SYSTEM_CALL : u32 = 5u32 ; pub const VBS_BASIC_PAGE_THREAD_DESCRIPTOR : u32 = 4u32 ; pub const VBS_BASIC_PAGE_UNMEASURED_DATA : u32 = 2u32 ; pub const VBS_BASIC_PAGE_ZERO_FILL : u32 = 3u32 ; pub const VENDOR_ID_LENGTH : u32 = 8u32 ; pub const VER_AND : u32 = 6u32 ; pub const VER_CONDITION_MASK : u32 = 7u32 ; pub const VER_EQUAL : u32 = 1u32 ; pub const VER_GREATER : u32 = 2u32 ; pub const VER_GREATER_EQUAL : u32 = 3u32 ; pub const VER_LESS : u32 = 4u32 ; pub const VER_LESS_EQUAL : u32 = 5u32 ; pub const VER_NT_DOMAIN_CONTROLLER : u32 = 2u32 ; pub const VER_NT_SERVER : u32 = 3u32 ; pub const VER_NT_WORKSTATION : u32 = 1u32 ; pub const VER_NUM_BITS_PER_CONDITION_MASK : u32 = 3u32 ; pub const VER_OR : u32 = 7u32 ; pub const VER_SERVER_NT : u32 = 2147483648u32 ; pub const VER_SUITE_BACKOFFICE : u32 = 4u32 ; pub const VER_SUITE_BLADE : u32 = 1024u32 ; pub const VER_SUITE_COMMUNICATIONS : u32 = 8u32 ; pub const VER_SUITE_COMPUTE_SERVER : u32 = 16384u32 ; pub const VER_SUITE_DATACENTER : u32 = 128u32 ; pub const VER_SUITE_EMBEDDEDNT : u32 = 64u32 ; pub const VER_SUITE_EMBEDDED_RESTRICTED : u32 = 2048u32 ; pub const VER_SUITE_ENTERPRISE : u32 = 2u32 ; pub const VER_SUITE_MULTIUSERTS : u32 = 131072u32 ; pub const VER_SUITE_PERSONAL : u32 = 512u32 ; pub const VER_SUITE_SECURITY_APPLIANCE : u32 = 4096u32 ; pub const VER_SUITE_SINGLEUSERTS : u32 = 256u32 ; pub const VER_SUITE_SMALLBUSINESS : u32 = 1u32 ; pub const VER_SUITE_SMALLBUSINESS_RESTRICTED : u32 = 32u32 ; pub const VER_SUITE_STORAGE_SERVER : u32 = 8192u32 ; pub const VER_SUITE_TERMINAL : u32 = 16u32 ; pub const VER_SUITE_WH_SERVER : u32 = 32768u32 ; pub const VER_WORKSTATION_NT : u32 = 1073741824u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct VIRTUALIZATION_INSTANCE_INFO_INPUT { pub NumberOfWorkerThreads : u32 , pub Flags : u32 } impl VIRTUALIZATION_INSTANCE_INFO_INPUT { } impl :: std :: default :: Default for VIRTUALIZATION_INSTANCE_INFO_INPUT { fn default ( ) -> Self { Self { NumberOfWorkerThreads : 0 , Flags : 0 } } } impl :: std :: fmt :: Debug for VIRTUALIZATION_INSTANCE_INFO_INPUT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "VIRTUALIZATION_INSTANCE_INFO_INPUT" ) . field ( "NumberOfWorkerThreads" , & self . NumberOfWorkerThreads ) . field ( "Flags" , & self . Flags ) . finish ( ) } } impl :: std :: cmp :: PartialEq for VIRTUALIZATION_INSTANCE_INFO_INPUT { fn eq ( & self , other : & Self ) -> bool { self . NumberOfWorkerThreads == other . NumberOfWorkerThreads && self . Flags == other . Flags } } impl :: std :: cmp :: Eq for VIRTUALIZATION_INSTANCE_INFO_INPUT { } unsafe impl :: windows :: Abi for VIRTUALIZATION_INSTANCE_INFO_INPUT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct VIRTUALIZATION_INSTANCE_INFO_INPUT_EX { pub HeaderSize : u16 , pub Flags : u32 , pub NotificationInfoSize : u32 , pub NotificationInfoOffset : u16 , pub ProviderMajorVersion : u16 } impl VIRTUALIZATION_INSTANCE_INFO_INPUT_EX { } impl :: std :: default :: Default for VIRTUALIZATION_INSTANCE_INFO_INPUT_EX { fn default ( ) -> Self { Self { HeaderSize : 0 , Flags : 0 , NotificationInfoSize : 0 , NotificationInfoOffset : 0 , ProviderMajorVersion : 0 } } } impl :: std :: fmt :: Debug for VIRTUALIZATION_INSTANCE_INFO_INPUT_EX { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "VIRTUALIZATION_INSTANCE_INFO_INPUT_EX" ) . field ( "HeaderSize" , & self . HeaderSize ) . field ( "Flags" , & self . Flags ) . field ( "NotificationInfoSize" , & self . NotificationInfoSize ) . field ( "NotificationInfoOffset" , & self . NotificationInfoOffset ) . field ( "ProviderMajorVersion" , & self . ProviderMajorVersion ) . finish ( ) } } impl :: std :: cmp :: PartialEq for VIRTUALIZATION_INSTANCE_INFO_INPUT_EX { fn eq ( & self , other : & Self ) -> bool { self . HeaderSize == other . HeaderSize && self . Flags == other . Flags && self . NotificationInfoSize == other . NotificationInfoSize && self . NotificationInfoOffset == other . NotificationInfoOffset && self . ProviderMajorVersion == other . ProviderMajorVersion } } impl :: std :: cmp :: Eq for VIRTUALIZATION_INSTANCE_INFO_INPUT_EX { } unsafe impl :: windows :: Abi for VIRTUALIZATION_INSTANCE_INFO_INPUT_EX { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct VIRTUALIZATION_INSTANCE_INFO_OUTPUT { pub VirtualizationInstanceID : :: windows :: Guid } impl VIRTUALIZATION_INSTANCE_INFO_OUTPUT { } impl :: std :: default :: Default for VIRTUALIZATION_INSTANCE_INFO_OUTPUT { fn default ( ) -> Self { Self { VirtualizationInstanceID : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for VIRTUALIZATION_INSTANCE_INFO_OUTPUT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "VIRTUALIZATION_INSTANCE_INFO_OUTPUT" ) . field ( "VirtualizationInstanceID" , & self . VirtualizationInstanceID ) . finish ( ) } } impl :: std :: cmp :: PartialEq for VIRTUALIZATION_INSTANCE_INFO_OUTPUT { fn eq ( & self , other : & Self ) -> bool { self . VirtualizationInstanceID == other . VirtualizationInstanceID } } impl :: std :: cmp :: Eq for VIRTUALIZATION_INSTANCE_INFO_OUTPUT { } unsafe impl :: windows :: Abi for VIRTUALIZATION_INSTANCE_INFO_OUTPUT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct VIRTUAL_STORAGE_BEHAVIOR_CODE ( pub i32 ) ; pub const VirtualStorageBehaviorUndefined : VIRTUAL_STORAGE_BEHAVIOR_CODE = VIRTUAL_STORAGE_BEHAVIOR_CODE ( 0i32 ) ; pub const VirtualStorageBehaviorCacheWriteThrough : VIRTUAL_STORAGE_BEHAVIOR_CODE = VIRTUAL_STORAGE_BEHAVIOR_CODE ( 1i32 ) ; pub const VirtualStorageBehaviorCacheWriteBack : VIRTUAL_STORAGE_BEHAVIOR_CODE = VIRTUAL_STORAGE_BEHAVIOR_CODE ( 2i32 ) ; impl :: std :: convert :: From < i32 > for VIRTUAL_STORAGE_BEHAVIOR_CODE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for VIRTUAL_STORAGE_BEHAVIOR_CODE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct VIRTUAL_STORAGE_SET_BEHAVIOR_INPUT { pub Size : u32 , pub BehaviorCode : VIRTUAL_STORAGE_BEHAVIOR_CODE } impl VIRTUAL_STORAGE_SET_BEHAVIOR_INPUT { } impl :: std :: default :: Default for VIRTUAL_STORAGE_SET_BEHAVIOR_INPUT { fn default ( ) -> Self { Self { Size : 0 , BehaviorCode : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for VIRTUAL_STORAGE_SET_BEHAVIOR_INPUT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "VIRTUAL_STORAGE_SET_BEHAVIOR_INPUT" ) . field ( "Size" , & self . Size ) . field ( "BehaviorCode" , & self . BehaviorCode ) . finish ( ) } } impl :: std :: cmp :: PartialEq for VIRTUAL_STORAGE_SET_BEHAVIOR_INPUT { fn eq ( & self , other : & Self ) -> bool { self . Size == other . Size && self . BehaviorCode == other . BehaviorCode } } impl :: std :: cmp :: Eq for VIRTUAL_STORAGE_SET_BEHAVIOR_INPUT { } unsafe impl :: windows :: Abi for VIRTUAL_STORAGE_SET_BEHAVIOR_INPUT { type Abi = Self ; type DefaultType = Self ; } pub const VOLUME_IS_DIRTY : u32 = 1u32 ; pub const VOLUME_SESSION_OPEN : u32 = 4u32 ; pub const VOLUME_UPGRADE_SCHEDULED : u32 = 2u32 ; pub const VRL_CUSTOM_CLASS_BEGIN : u32 = 256u32 ; pub const VRL_ENABLE_KERNEL_BREAKS : u32 = 2147483648u32 ; pub const VRL_PREDEFINED_CLASS_BEGIN : u32 = 1u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct VolLockBroadcast { pub vlb_dbh : DEV_BROADCAST_HDR , pub vlb_owner : u32 , pub vlb_perms : u8 , pub vlb_lockType : u8 , pub vlb_drive : u8 , pub vlb_flags : u8 } impl VolLockBroadcast { } impl :: std :: default :: Default for VolLockBroadcast { fn default ( ) -> Self { Self { vlb_dbh : :: std :: default :: Default :: default ( ) , vlb_owner : 0 , vlb_perms : 0 , vlb_lockType : 0 , vlb_drive : 0 , vlb_flags : 0 } } } impl :: std :: fmt :: Debug for VolLockBroadcast { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "VolLockBroadcast" ) . field ( "vlb_dbh" , & self . vlb_dbh ) . field ( "vlb_owner" , & self . vlb_owner ) . field ( "vlb_perms" , & self . vlb_perms ) . field ( "vlb_lockType" , & self . vlb_lockType ) . field ( "vlb_drive" , & self . vlb_drive ) . field ( "vlb_flags" , & self . vlb_flags ) . finish ( ) } } impl :: std :: cmp :: PartialEq for VolLockBroadcast { fn eq ( & self , other : & Self ) -> bool { self . vlb_dbh == other . vlb_dbh && self . vlb_owner == other . vlb_owner && self . vlb_perms == other . vlb_perms && self . vlb_lockType == other . vlb_lockType && self . vlb_drive == other . vlb_drive && self . vlb_flags == other . vlb_flags } } impl :: std :: cmp :: Eq for VolLockBroadcast { } unsafe impl :: windows :: Abi for VolLockBroadcast { type Abi = Self ; type DefaultType = Self ; } pub type WAITORTIMERCALLBACK = unsafe extern "system" fn ( param0 : * mut :: std :: ffi :: c_void , param1 : u8 ) ; pub const WDT_INPROC64_CALL : u32 = 1349805143u32 ; pub const WDT_INPROC_CALL : u32 = 1215587415u32 ; pub const WDT_REMOTE_CALL : u32 = 1383359575u32 ; pub const WIM_BOOT_NOT_OS_WIM : u32 = 0u32 ; pub const WIM_BOOT_OS_WIM : u32 = 1u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct WIM_PROVIDER_ADD_OVERLAY_INPUT { pub WimType : u32 , pub WimIndex : u32 , pub WimFileNameOffset : u32 , pub WimFileNameLength : u32 } impl WIM_PROVIDER_ADD_OVERLAY_INPUT { } impl :: std :: default :: Default for WIM_PROVIDER_ADD_OVERLAY_INPUT { fn default ( ) -> Self { Self { WimType : 0 , WimIndex : 0 , WimFileNameOffset : 0 , WimFileNameLength : 0 } } } impl :: std :: fmt :: Debug for WIM_PROVIDER_ADD_OVERLAY_INPUT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "WIM_PROVIDER_ADD_OVERLAY_INPUT" ) . field ( "WimType" , & self . WimType ) . field ( "WimIndex" , & self . WimIndex ) . field ( "WimFileNameOffset" , & self . WimFileNameOffset ) . field ( "WimFileNameLength" , & self . WimFileNameLength ) . finish ( ) } } impl :: std :: cmp :: PartialEq for WIM_PROVIDER_ADD_OVERLAY_INPUT { fn eq ( & self , other : & Self ) -> bool { self . WimType == other . WimType && self . WimIndex == other . WimIndex && self . WimFileNameOffset == other . WimFileNameOffset && self . WimFileNameLength == other . WimFileNameLength } } impl :: std :: cmp :: Eq for WIM_PROVIDER_ADD_OVERLAY_INPUT { } unsafe impl :: windows :: Abi for WIM_PROVIDER_ADD_OVERLAY_INPUT { type Abi = Self ; type DefaultType = Self ; } pub const WIM_PROVIDER_CURRENT_VERSION : u32 = 1u32 ; pub const WIM_PROVIDER_EXTERNAL_FLAG_NOT_ACTIVE : u32 = 1u32 ; pub const WIM_PROVIDER_EXTERNAL_FLAG_SUSPENDED : u32 = 2u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct WIM_PROVIDER_EXTERNAL_INFO { pub Version : u32 , pub Flags : u32 , pub DataSourceId : i64 , pub ResourceHash : [ u8 ;20 ] } impl WIM_PROVIDER_EXTERNAL_INFO { } impl :: std :: default :: Default for WIM_PROVIDER_EXTERNAL_INFO { fn default ( ) -> Self { Self { Version : 0 , Flags : 0 , DataSourceId : 0 , ResourceHash : [ 0 ;20 ] } } } impl :: std :: fmt :: Debug for WIM_PROVIDER_EXTERNAL_INFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "WIM_PROVIDER_EXTERNAL_INFO" ) . field ( "Version" , & self . Version ) . field ( "Flags" , & self . Flags ) . field ( "DataSourceId" , & self . DataSourceId ) . field ( "ResourceHash" , & self . ResourceHash ) . finish ( ) } } impl :: std :: cmp :: PartialEq for WIM_PROVIDER_EXTERNAL_INFO { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Flags == other . Flags && self . DataSourceId == other . DataSourceId && self . ResourceHash == other . ResourceHash } } impl :: std :: cmp :: Eq for WIM_PROVIDER_EXTERNAL_INFO { } unsafe impl :: windows :: Abi for WIM_PROVIDER_EXTERNAL_INFO { type Abi = Self ; type DefaultType = Self ; } pub const WIM_PROVIDER_HASH_SIZE : u32 = 20u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct WIM_PROVIDER_OVERLAY_ENTRY { pub NextEntryOffset : u32 , pub DataSourceId : i64 , pub WimGuid : :: windows :: Guid , pub WimFileNameOffset : u32 , pub WimType : u32 , pub WimIndex : u32 , pub Flags : u32 } impl WIM_PROVIDER_OVERLAY_ENTRY { } impl :: std :: default :: Default for WIM_PROVIDER_OVERLAY_ENTRY { fn default ( ) -> Self { Self { NextEntryOffset : 0 , DataSourceId : 0 , WimGuid : :: std :: default :: Default :: default ( ) , WimFileNameOffset : 0 , WimType : 0 , WimIndex : 0 , Flags : 0 } } } impl :: std :: fmt :: Debug for WIM_PROVIDER_OVERLAY_ENTRY { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "WIM_PROVIDER_OVERLAY_ENTRY" ) . field ( "NextEntryOffset" , & self . NextEntryOffset ) . field ( "DataSourceId" , & self . DataSourceId ) . field ( "WimGuid" , & self . WimGuid ) . field ( "WimFileNameOffset" , & self . WimFileNameOffset ) . field ( "WimType" , & self . WimType ) . field ( "WimIndex" , & self . WimIndex ) . field ( "Flags" , & self . Flags ) . finish ( ) } } impl :: std :: cmp :: PartialEq for WIM_PROVIDER_OVERLAY_ENTRY { fn eq ( & self , other : & Self ) -> bool { self . NextEntryOffset == other . NextEntryOffset && self . DataSourceId == other . DataSourceId && self . WimGuid == other . WimGuid && self . WimFileNameOffset == other . WimFileNameOffset && self . WimType == other . WimType && self . WimIndex == other . WimIndex && self . Flags == other . Flags } } impl :: std :: cmp :: Eq for WIM_PROVIDER_OVERLAY_ENTRY { } unsafe impl :: windows :: Abi for WIM_PROVIDER_OVERLAY_ENTRY { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct WIM_PROVIDER_REMOVE_OVERLAY_INPUT { pub DataSourceId : i64 } impl WIM_PROVIDER_REMOVE_OVERLAY_INPUT { } impl :: std :: default :: Default for WIM_PROVIDER_REMOVE_OVERLAY_INPUT { fn default ( ) -> Self { Self { DataSourceId : 0 } } } impl :: std :: fmt :: Debug for WIM_PROVIDER_REMOVE_OVERLAY_INPUT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "WIM_PROVIDER_REMOVE_OVERLAY_INPUT" ) . field ( "DataSourceId" , & self . DataSourceId ) . finish ( ) } } impl :: std :: cmp :: PartialEq for WIM_PROVIDER_REMOVE_OVERLAY_INPUT { fn eq ( & self , other : & Self ) -> bool { self . DataSourceId == other . DataSourceId } } impl :: std :: cmp :: Eq for WIM_PROVIDER_REMOVE_OVERLAY_INPUT { } unsafe impl :: windows :: Abi for WIM_PROVIDER_REMOVE_OVERLAY_INPUT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct WIM_PROVIDER_SUSPEND_OVERLAY_INPUT { pub DataSourceId : i64 } impl WIM_PROVIDER_SUSPEND_OVERLAY_INPUT { } impl :: std :: default :: Default for WIM_PROVIDER_SUSPEND_OVERLAY_INPUT { fn default ( ) -> Self { Self { DataSourceId : 0 } } } impl :: std :: fmt :: Debug for WIM_PROVIDER_SUSPEND_OVERLAY_INPUT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "WIM_PROVIDER_SUSPEND_OVERLAY_INPUT" ) . field ( "DataSourceId" , & self . DataSourceId ) . finish ( ) } } impl :: std :: cmp :: PartialEq for WIM_PROVIDER_SUSPEND_OVERLAY_INPUT { fn eq ( & self , other : & Self ) -> bool { self . DataSourceId == other . DataSourceId } } impl :: std :: cmp :: Eq for WIM_PROVIDER_SUSPEND_OVERLAY_INPUT { } unsafe impl :: windows :: Abi for WIM_PROVIDER_SUSPEND_OVERLAY_INPUT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct WIM_PROVIDER_UPDATE_OVERLAY_INPUT { pub DataSourceId : i64 , pub WimFileNameOffset : u32 , pub WimFileNameLength : u32 } impl WIM_PROVIDER_UPDATE_OVERLAY_INPUT { } impl :: std :: default :: Default for WIM_PROVIDER_UPDATE_OVERLAY_INPUT { fn default ( ) -> Self { Self { DataSourceId : 0 , WimFileNameOffset : 0 , WimFileNameLength : 0 } } } impl :: std :: fmt :: Debug for WIM_PROVIDER_UPDATE_OVERLAY_INPUT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "WIM_PROVIDER_UPDATE_OVERLAY_INPUT" ) . field ( "DataSourceId" , & self . DataSourceId ) . field ( "WimFileNameOffset" , & self . WimFileNameOffset ) . field ( "WimFileNameLength" , & self . WimFileNameLength ) . finish ( ) } } impl :: std :: cmp :: PartialEq for WIM_PROVIDER_UPDATE_OVERLAY_INPUT { fn eq ( & self , other : & Self ) -> bool { self . DataSourceId == other . DataSourceId && self . WimFileNameOffset == other . WimFileNameOffset && self . WimFileNameLength == other . WimFileNameLength } } impl :: std :: cmp :: Eq for WIM_PROVIDER_UPDATE_OVERLAY_INPUT { } unsafe impl :: windows :: Abi for WIM_PROVIDER_UPDATE_OVERLAY_INPUT { type Abi = Self ; type DefaultType = Self ; } pub const WINDDI_MAXSETPALETTECOLORINDEX : u32 = 255u32 ; pub const WINDDI_MAXSETPALETTECOLORS : u32 = 256u32 ; pub const WINDDI_MAX_BROADCAST_CONTEXT : u32 = 64u32 ; pub type WNDOBJCHANGEPROC = unsafe extern "system" fn ( pwo : * mut super::super::UI::DisplayDevices:: WNDOBJ , fl : u32 ) ; pub const WNDOBJ_SETUP : u32 = 4354u32 ; pub const WOC_CHANGED : u32 = 16u32 ; pub const WOC_DELETE : u32 = 32u32 ; pub const WOC_DRAWN : u32 = 64u32 ; pub const WOC_RGN_CLIENT : u32 = 2u32 ; pub const WOC_RGN_CLIENT_DELTA : u32 = 1u32 ; pub const WOC_RGN_SPRITE : u32 = 512u32 ; pub const WOC_RGN_SURFACE : u32 = 8u32 ; pub const WOC_RGN_SURFACE_DELTA : u32 = 4u32 ; pub const WOC_SPRITE_NO_OVERLAP : u32 = 256u32 ; pub const WOC_SPRITE_OVERLAP : u32 = 128u32 ; pub const WOF_CURRENT_VERSION : u32 = 1u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct WOF_EXTERNAL_FILE_ID { pub FileId : super::super::Storage::FileSystem:: FILE_ID_128 } impl WOF_EXTERNAL_FILE_ID { } impl :: std :: default :: Default for WOF_EXTERNAL_FILE_ID { fn default ( ) -> Self { Self { FileId : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for WOF_EXTERNAL_FILE_ID { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "WOF_EXTERNAL_FILE_ID" ) . field ( "FileId" , & self . FileId ) . finish ( ) } } impl :: std :: cmp :: PartialEq for WOF_EXTERNAL_FILE_ID { fn eq ( & self , other : & Self ) -> bool { self . FileId == other . FileId } } impl :: std :: cmp :: Eq for WOF_EXTERNAL_FILE_ID { } unsafe impl :: windows :: Abi for WOF_EXTERNAL_FILE_ID { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct WOF_EXTERNAL_INFO { pub Version : u32 , pub Provider : u32 } impl WOF_EXTERNAL_INFO { } impl :: std :: default :: Default for WOF_EXTERNAL_INFO { fn default ( ) -> Self { Self { Version : 0 , Provider : 0 } } } impl :: std :: fmt :: Debug for WOF_EXTERNAL_INFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "WOF_EXTERNAL_INFO" ) . field ( "Version" , & self . Version ) . field ( "Provider" , & self . Provider ) . finish ( ) } } impl :: std :: cmp :: PartialEq for WOF_EXTERNAL_INFO { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Provider == other . Provider } } impl :: std :: cmp :: Eq for WOF_EXTERNAL_INFO { } unsafe impl :: windows :: Abi for WOF_EXTERNAL_INFO { type Abi = Self ; type DefaultType = Self ; } pub const WOF_PROVIDER_CLOUD : u32 = 3u32 ; pub const WOF_PROVIDER_FILE : u32 = 2u32 ; pub const WOF_PROVIDER_WIM : u32 = 1u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct WOF_VERSION_INFO { pub WofVersion : u32 } impl WOF_VERSION_INFO { } impl :: std :: default :: Default for WOF_VERSION_INFO { fn default ( ) -> Self { Self { WofVersion : 0 } } } impl :: std :: fmt :: Debug for WOF_VERSION_INFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "WOF_VERSION_INFO" ) . field ( "WofVersion" , & self . WofVersion ) . finish ( ) } } impl :: std :: cmp :: PartialEq for WOF_VERSION_INFO { fn eq ( & self , other : & Self ) -> bool { self . WofVersion == other . WofVersion } } impl :: std :: cmp :: Eq for WOF_VERSION_INFO { } unsafe impl :: windows :: Abi for WOF_VERSION_INFO { type Abi = Self ; type DefaultType = Self ; } pub type WORKERCALLBACKFUNC = unsafe extern "system" fn ( param0 : * mut :: std :: ffi :: c_void ) ; pub const WO_DRAW_NOTIFY : u32 = 64u32 ; pub const WO_RGN_CLIENT : u32 = 2u32 ; pub const WO_RGN_CLIENT_DELTA : u32 = 1u32 ; pub const WO_RGN_DESKTOP_COORD : u32 = 256u32 ; pub const WO_RGN_SPRITE : u32 = 512u32 ; pub const WO_RGN_SURFACE : u32 = 8u32 ; pub const WO_RGN_SURFACE_DELTA : u32 = 4u32 ; pub const WO_RGN_UPDATE_ALL : u32 = 16u32 ; pub const WO_RGN_WINDOW : u32 = 32u32 ; pub const WO_SPRITE_NOTIFY : u32 = 128u32 ; pub const WRITE_COMPRESSION_INFO_VALID : u32 = 16u32 ; pub const WRITE_DAC : u32 = 262144u32 ; pub const WRITE_NV_MEMORY_FLAG_FLUSH : u32 = 1u32 ; pub const WRITE_NV_MEMORY_FLAG_NON_TEMPORAL : u32 = 2u32 ; pub const WRITE_NV_MEMORY_FLAG_NO_DRAIN : u32 = 256u32 ; pub const WRITE_OWNER : u32 = 524288u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct WRITE_USN_REASON_INPUT { pub Flags : u32 , pub UsnReasonToWrite : u32 } impl WRITE_USN_REASON_INPUT { } impl :: std :: default :: Default for WRITE_USN_REASON_INPUT { fn default ( ) -> Self { Self { Flags : 0 , UsnReasonToWrite : 0 } } } impl :: std :: fmt :: Debug for WRITE_USN_REASON_INPUT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "WRITE_USN_REASON_INPUT" ) . field ( "Flags" , & self . Flags ) . field ( "UsnReasonToWrite" , & self . UsnReasonToWrite ) . finish ( ) } } impl :: std :: cmp :: PartialEq for WRITE_USN_REASON_INPUT { fn eq ( & self , other : & Self ) -> bool { self . Flags == other . Flags && self . UsnReasonToWrite == other . UsnReasonToWrite } } impl :: std :: cmp :: Eq for WRITE_USN_REASON_INPUT { } unsafe impl :: windows :: Abi for WRITE_USN_REASON_INPUT { type Abi = Self ; type DefaultType = Self ; } pub const WRITE_WATCH_FLAG_RESET : u32 = 1u32 ; pub const WT_EXECUTEDELETEWAIT : u32 = 8u32 ; pub const WT_EXECUTEINLONGTHREAD : u32 = 16u32 ; pub const WT_EXECUTEINPERSISTENTIOTHREAD : u32 = 64u32 ; pub const WT_EXECUTEINUITHREAD : u32 = 2u32 ; pub const X3_BTYPE_QP_INST_VAL_POS_X : u32 = 0u32 ; pub const X3_BTYPE_QP_INST_WORD_POS_X : u32 = 23u32 ; pub const X3_BTYPE_QP_INST_WORD_X : u32 = 2u32 ; pub const X3_BTYPE_QP_SIZE_X : u32 = 9u32 ; pub const X3_D_WH_INST_WORD_POS_X : u32 = 24u32 ; pub const X3_D_WH_INST_WORD_X : u32 = 3u32 ; pub const X3_D_WH_SIGN_VAL_POS_X : u32 = 0u32 ; pub const X3_D_WH_SIZE_X : u32 = 3u32 ; pub const X3_EMPTY_INST_VAL_POS_X : u32 = 0u32 ; pub const X3_EMPTY_INST_WORD_POS_X : u32 = 14u32 ; pub const X3_EMPTY_INST_WORD_X : u32 = 1u32 ; pub const X3_EMPTY_SIZE_X : u32 = 2u32 ; pub const X3_IMM20_INST_WORD_POS_X : u32 = 4u32 ; pub const X3_IMM20_INST_WORD_X : u32 = 3u32 ; pub const X3_IMM20_SIGN_VAL_POS_X : u32 = 0u32 ; pub const X3_IMM20_SIZE_X : u32 = 20u32 ; pub const X3_IMM39_1_INST_WORD_POS_X : u32 = 0u32 ; pub const X3_IMM39_1_INST_WORD_X : u32 = 2u32 ; pub const X3_IMM39_1_SIGN_VAL_POS_X : u32 = 36u32 ; pub const X3_IMM39_1_SIZE_X : u32 = 23u32 ; pub const X3_IMM39_2_INST_WORD_POS_X : u32 = 16u32 ; pub const X3_IMM39_2_INST_WORD_X : u32 = 1u32 ; pub const X3_IMM39_2_SIGN_VAL_POS_X : u32 = 20u32 ; pub const X3_IMM39_2_SIZE_X : u32 = 16u32 ; pub const X3_I_INST_WORD_POS_X : u32 = 27u32 ; pub const X3_I_INST_WORD_X : u32 = 3u32 ; pub const X3_I_SIGN_VAL_POS_X : u32 = 59u32 ; pub const X3_I_SIZE_X : u32 = 1u32 ; pub const X3_OPCODE_INST_WORD_POS_X : u32 = 28u32 ; pub const X3_OPCODE_INST_WORD_X : u32 = 3u32 ; pub const X3_OPCODE_SIGN_VAL_POS_X : u32 = 0u32 ; pub const X3_OPCODE_SIZE_X : u32 = 4u32 ; pub const X3_P_INST_WORD_POS_X : u32 = 0u32 ; pub const X3_P_INST_WORD_X : u32 = 3u32 ; pub const X3_P_SIGN_VAL_POS_X : u32 = 0u32 ; pub const X3_P_SIZE_X : u32 = 4u32 ; pub const X3_TMPLT_INST_WORD_POS_X : u32 = 0u32 ; pub const X3_TMPLT_INST_WORD_X : u32 = 0u32 ; pub const X3_TMPLT_SIGN_VAL_POS_X : u32 = 0u32 ; pub const X3_TMPLT_SIZE_X : u32 = 4u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct XFORMOBJ { pub ulReserved : u32 } impl XFORMOBJ { } impl :: std :: default :: Default for XFORMOBJ { fn default ( ) -> Self { Self { ulReserved : 0 } } } impl :: std :: fmt :: Debug for XFORMOBJ { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "XFORMOBJ" ) . field ( "ulReserved" , & self . ulReserved ) . finish ( ) } } impl :: std :: cmp :: PartialEq for XFORMOBJ { fn eq ( & self , other : & Self ) -> bool { self . ulReserved == other . ulReserved } } impl :: std :: cmp :: Eq for XFORMOBJ { } unsafe impl :: windows :: Abi for XFORMOBJ { type Abi = Self ; type DefaultType = Self ; } pub const XF_INV_FXTOL : i32 = 3i32 ; pub const XF_INV_LTOL : i32 = 1i32 ; pub const XF_LTOFX : i32 = 2i32 ; pub const XF_LTOL : i32 = 0i32 ; pub const XO_DESTBITFIELDS : u32 = 5u32 ; pub const XO_DESTDCPALETTE : u32 = 3u32 ; pub const XO_DESTPALETTE : u32 = 2u32 ; pub const XO_DEVICE_ICM : u32 = 16u32 ; pub const XO_FROM_CMYK : u32 = 8u32 ; pub const XO_HOST_ICM : u32 = 32u32 ; pub const XO_SRCBITFIELDS : u32 = 4u32 ; pub const XO_SRCPALETTE : u32 = 1u32 ; pub const XO_TABLE : u32 = 2u32 ; pub const XO_TO_MONO : u32 = 4u32 ; pub const XO_TRIVIAL : u32 = 1u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct XSAVE_AREA { pub LegacyState : XSAVE_FORMAT , pub Header : XSAVE_AREA_HEADER } impl XSAVE_AREA { } impl :: std :: default :: Default for XSAVE_AREA { fn default ( ) -> Self { Self { LegacyState : :: std :: default :: Default :: default ( ) , Header : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for XSAVE_AREA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "XSAVE_AREA" ) . field ( "LegacyState" , & self . LegacyState ) . field ( "Header" , & self . Header ) . finish ( ) } } impl :: std :: cmp :: PartialEq for XSAVE_AREA { fn eq ( & self , other : & Self ) -> bool { self . LegacyState == other . LegacyState && self . Header == other . Header } } impl :: std :: cmp :: Eq for XSAVE_AREA { } unsafe impl :: windows :: Abi for XSAVE_AREA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct XSAVE_AREA_HEADER { pub Mask : u64 , pub CompactionMask : u64 , pub Reserved2 : [ u64 ;6 ] } impl XSAVE_AREA_HEADER { } impl :: std :: default :: Default for XSAVE_AREA_HEADER { fn default ( ) -> Self { Self { Mask : 0 , CompactionMask : 0 , Reserved2 : [ 0 ;6 ] } } } impl :: std :: fmt :: Debug for XSAVE_AREA_HEADER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "XSAVE_AREA_HEADER" ) . field ( "Mask" , & self . Mask ) . field ( "CompactionMask" , & self . CompactionMask ) . field ( "Reserved2" , & self . Reserved2 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for XSAVE_AREA_HEADER { fn eq ( & self , other : & Self ) -> bool { self . Mask == other . Mask && self . CompactionMask == other . CompactionMask && self . Reserved2 == other . Reserved2 } } impl :: std :: cmp :: Eq for XSAVE_AREA_HEADER { } unsafe impl :: windows :: Abi for XSAVE_AREA_HEADER { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct XSAVE_CET_U_FORMAT { pub Ia32CetUMsr : u64 , pub Ia32Pl3SspMsr : u64 } impl XSAVE_CET_U_FORMAT { } impl :: std :: default :: Default for XSAVE_CET_U_FORMAT { fn default ( ) -> Self { Self { Ia32CetUMsr : 0 , Ia32Pl3SspMsr : 0 } } } impl :: std :: fmt :: Debug for XSAVE_CET_U_FORMAT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "XSAVE_CET_U_FORMAT" ) . field ( "Ia32CetUMsr" , & self . Ia32CetUMsr ) . field ( "Ia32Pl3SspMsr" , & self . Ia32Pl3SspMsr ) . finish ( ) } } impl :: std :: cmp :: PartialEq for XSAVE_CET_U_FORMAT { fn eq ( & self , other : & Self ) -> bool { self . Ia32CetUMsr == other . Ia32CetUMsr && self . Ia32Pl3SspMsr == other . Ia32Pl3SspMsr } } impl :: std :: cmp :: Eq for XSAVE_CET_U_FORMAT { } unsafe impl :: windows :: Abi for XSAVE_CET_U_FORMAT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct XSAVE_FORMAT { pub ControlWord : u16 , pub StatusWord : u16 , pub TagWord : u8 , pub Reserved1 : u8 , pub ErrorOpcode : u16 , pub ErrorOffset : u32 , pub ErrorSelector : u16 , pub Reserved2 : u16 , pub DataOffset : u32 , pub DataSelector : u16 , pub Reserved3 : u16 , pub MxCsr : u32 , pub MxCsr_Mask : u32 , pub FloatRegisters : [ M128A ;8 ] , pub XmmRegisters : [ M128A ;16 ] , pub Reserved4 : [ u8 ;96 ] } impl XSAVE_FORMAT { } impl :: std :: default :: Default for XSAVE_FORMAT { fn default ( ) -> Self { Self { ControlWord : 0 , StatusWord : 0 , TagWord : 0 , Reserved1 : 0 , ErrorOpcode : 0 , ErrorOffset : 0 , ErrorSelector : 0 , Reserved2 : 0 , DataOffset : 0 , DataSelector : 0 , Reserved3 : 0 , MxCsr : 0 , MxCsr_Mask : 0 , FloatRegisters : [ :: std :: default :: Default :: default ( ) ;8 ] , XmmRegisters : [ :: std :: default :: Default :: default ( ) ;16 ] , Reserved4 : [ 0 ;96 ] } } } impl :: std :: fmt :: Debug for XSAVE_FORMAT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "XSAVE_FORMAT" ) . field ( "ControlWord" , & self . ControlWord ) . field ( "StatusWord" , & self . StatusWord ) . field ( "TagWord" , & self . TagWord ) . field ( "Reserved1" , & self . Reserved1 ) . field ( "ErrorOpcode" , & self . ErrorOpcode ) . field ( "ErrorOffset" , & self . ErrorOffset ) . field ( "ErrorSelector" , & self . ErrorSelector ) . field ( "Reserved2" , & self . Reserved2 ) . field ( "DataOffset" , & self . DataOffset ) . field ( "DataSelector" , & self . DataSelector ) . field ( "Reserved3" , & self . Reserved3 ) . field ( "MxCsr" , & self . MxCsr ) . field ( "MxCsr_Mask" , & self . MxCsr_Mask ) . field ( "FloatRegisters" , & self . FloatRegisters ) . field ( "XmmRegisters" , & self . XmmRegisters ) . field ( "Reserved4" , & self . Reserved4 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for XSAVE_FORMAT { fn eq ( & self , other : & Self ) -> bool { self . ControlWord == other . ControlWord && self . StatusWord == other . StatusWord && self . TagWord == other . TagWord && self . Reserved1 == other . Reserved1 && self . ErrorOpcode == other . ErrorOpcode && self . ErrorOffset == other . ErrorOffset && self . ErrorSelector == other . ErrorSelector && self . Reserved2 == other . Reserved2 && self . DataOffset == other . DataOffset && self . DataSelector == other . DataSelector && self . Reserved3 == other . Reserved3 && self . MxCsr == other . MxCsr && self . MxCsr_Mask == other . MxCsr_Mask && self . FloatRegisters == other . FloatRegisters && self . XmmRegisters == other . XmmRegisters && self . Reserved4 == other . Reserved4 } } impl :: std :: cmp :: Eq for XSAVE_FORMAT { } unsafe impl :: windows :: Abi for XSAVE_FORMAT { type Abi = Self ; type DefaultType = Self ; } pub const XSTATE_ALIGN_BIT : u32 = 1u32 ; pub const XSTATE_AVX512_KMASK : u32 = 5u32 ; pub const XSTATE_AVX512_ZMM : u32 = 7u32 ; pub const XSTATE_AVX512_ZMM_H : u32 = 6u32 ; pub const XSTATE_CET_U : u32 = 11u32 ; pub const XSTATE_COMPACTION_ENABLE : u32 = 63u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct XSTATE_CONFIGURATION { pub EnabledFeatures : u64 , pub EnabledVolatileFeatures : u64 , pub Size : u32 , pub Anonymous : XSTATE_CONFIGURATION_0 , pub Features : [ XSTATE_FEATURE ;64 ] , pub EnabledSupervisorFeatures : u64 , pub AlignedFeatures : u64 , pub AllFeatureSize : u32 , pub AllFeatures : [ u32 ;64 ] , pub EnabledUserVisibleSupervisorFeatures : u64 } impl XSTATE_CONFIGURATION { } impl :: std :: cmp :: PartialEq for XSTATE_CONFIGURATION { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for XSTATE_CONFIGURATION { } unsafe impl :: windows :: Abi for XSTATE_CONFIGURATION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union XSTATE_CONFIGURATION_0 { pub ControlFlags : u32 , pub Anonymous : XSTATE_CONFIGURATION_0_0 } impl XSTATE_CONFIGURATION_0 { } impl :: std :: cmp :: PartialEq for XSTATE_CONFIGURATION_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for XSTATE_CONFIGURATION_0 { } unsafe impl :: windows :: Abi for XSTATE_CONFIGURATION_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct XSTATE_CONFIGURATION_0_0 { pub _bitfield : u32 } impl XSTATE_CONFIGURATION_0_0 { } impl :: std :: default :: Default for XSTATE_CONFIGURATION_0_0 { fn default ( ) -> Self { Self { _bitfield : 0 } } } impl :: std :: fmt :: Debug for XSTATE_CONFIGURATION_0_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Anonymous_e__Struct" ) . field ( "_bitfield" , & self . _bitfield ) . finish ( ) } } impl :: std :: cmp :: PartialEq for XSTATE_CONFIGURATION_0_0 { fn eq ( & self , other : & Self ) -> bool { self . _bitfield == other . _bitfield } } impl :: std :: cmp :: Eq for XSTATE_CONFIGURATION_0_0 { } unsafe impl :: windows :: Abi for XSTATE_CONFIGURATION_0_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct XSTATE_CONTEXT { pub Mask : u64 , pub Length : u32 , pub Reserved1 : u32 , pub Area : * mut XSAVE_AREA , pub Buffer : * mut :: std :: ffi :: c_void } impl XSTATE_CONTEXT { } impl :: std :: default :: Default for XSTATE_CONTEXT { fn default ( ) -> Self { Self { Mask : 0 , Length : 0 , Reserved1 : 0 , Area : :: std :: ptr :: null_mut ( ) , Buffer : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for XSTATE_CONTEXT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "XSTATE_CONTEXT" ) . field ( "Mask" , & self . Mask ) . field ( "Length" , & self . Length ) . field ( "Reserved1" , & self . Reserved1 ) . field ( "Area" , & self . Area ) . field ( "Buffer" , & self . Buffer ) . finish ( ) } } impl :: std :: cmp :: PartialEq for XSTATE_CONTEXT { fn eq ( & self , other : & Self ) -> bool { self . Mask == other . Mask && self . Length == other . Length && self . Reserved1 == other . Reserved1 && self . Area == other . Area && self . Buffer == other . Buffer } } impl :: std :: cmp :: Eq for XSTATE_CONTEXT { } unsafe impl :: windows :: Abi for XSTATE_CONTEXT { type Abi = Self ; type DefaultType = Self ; } pub const XSTATE_CONTROLFLAG_XSAVEC_MASK : u32 = 2u32 ; pub const XSTATE_CONTROLFLAG_XSAVEOPT_MASK : u32 = 1u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct XSTATE_FEATURE { pub Offset : u32 , pub Size : u32 } impl XSTATE_FEATURE { } impl :: std :: default :: Default for XSTATE_FEATURE { fn default ( ) -> Self { Self { Offset : 0 , Size : 0 } } } impl :: std :: fmt :: Debug for XSTATE_FEATURE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "XSTATE_FEATURE" ) . field ( "Offset" , & self . Offset ) . field ( "Size" , & self . Size ) . finish ( ) } } impl :: std :: cmp :: PartialEq for XSTATE_FEATURE { fn eq ( & self , other : & Self ) -> bool { self . Offset == other . Offset && self . Size == other . Size } } impl :: std :: cmp :: Eq for XSTATE_FEATURE { } unsafe impl :: windows :: Abi for XSTATE_FEATURE { type Abi = Self ; type DefaultType = Self ; } pub const XSTATE_GSSE : u32 = 2u32 ; pub const XSTATE_IPT : u32 = 8u32 ; pub const XSTATE_LEGACY_FLOATING_POINT : u32 = 0u32 ; pub const XSTATE_LEGACY_SSE : u32 = 1u32 ; pub const XSTATE_LWP : u32 = 62u32 ; pub const XSTATE_MPX_BNDCSR : u32 = 4u32 ; pub const XSTATE_MPX_BNDREGS : u32 = 3u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct _D3DDeviceDesc { pub dwSize : u32 , pub dwFlags : u32 , pub dcmColorModel : u32 , pub dwDevCaps : u32 , pub dtcTransformCaps : D3DTRANSFORMCAPS , pub bClipping : super::super::Foundation:: BOOL , pub dlcLightingCaps : D3DLIGHTINGCAPS , pub dpcLineCaps : _D3DPrimCaps , pub dpcTriCaps : _D3DPrimCaps , pub dwDeviceRenderBitDepth : u32 , pub dwDeviceZBufferBitDepth : u32 , pub dwMaxBufferSize : u32 , pub dwMaxVertexCount : u32 , pub dwMinTextureWidth : u32 , pub dwMinTextureHeight : u32 , pub dwMaxTextureWidth : u32 , pub dwMaxTextureHeight : u32 , pub dwMinStippleWidth : u32 , pub dwMaxStippleWidth : u32 , pub dwMinStippleHeight : u32 , pub dwMaxStippleHeight : u32 , pub dwMaxTextureRepeat : u32 , pub dwMaxTextureAspectRatio : u32 , pub dwMaxAnisotropy : u32 , pub dvGuardBandLeft : f32 , pub dvGuardBandTop : f32 , pub dvGuardBandRight : f32 , pub dvGuardBandBottom : f32 , pub dvExtentsAdjust : f32 , pub dwStencilCaps : u32 , pub dwFVFCaps : u32 , pub dwTextureOpCaps : u32 , pub wMaxTextureBlendStages : u16 , pub wMaxSimultaneousTextures : u16 } impl _D3DDeviceDesc { } impl :: std :: default :: Default for _D3DDeviceDesc { fn default ( ) -> Self { Self { dwSize : 0 , dwFlags : 0 , dcmColorModel : 0 , dwDevCaps : 0 , dtcTransformCaps : :: std :: default :: Default :: default ( ) , bClipping : :: std :: default :: Default :: default ( ) , dlcLightingCaps : :: std :: default :: Default :: default ( ) , dpcLineCaps : :: std :: default :: Default :: default ( ) , dpcTriCaps : :: std :: default :: Default :: default ( ) , dwDeviceRenderBitDepth : 0 , dwDeviceZBufferBitDepth : 0 , dwMaxBufferSize : 0 , dwMaxVertexCount : 0 , dwMinTextureWidth : 0 , dwMinTextureHeight : 0 , dwMaxTextureWidth : 0 , dwMaxTextureHeight : 0 , dwMinStippleWidth : 0 , dwMaxStippleWidth : 0 , dwMinStippleHeight : 0 , dwMaxStippleHeight : 0 , dwMaxTextureRepeat : 0 , dwMaxTextureAspectRatio : 0 , dwMaxAnisotropy : 0 , dvGuardBandLeft : 0.0 , dvGuardBandTop : 0.0 , dvGuardBandRight : 0.0 , dvGuardBandBottom : 0.0 , dvExtentsAdjust : 0.0 , dwStencilCaps : 0 , dwFVFCaps : 0 , dwTextureOpCaps : 0 , wMaxTextureBlendStages : 0 , wMaxSimultaneousTextures : 0 } } } impl :: std :: fmt :: Debug for _D3DDeviceDesc { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_D3DDeviceDesc" ) . field ( "dwSize" , & self . dwSize ) . field ( "dwFlags" , & self . dwFlags ) . field ( "dcmColorModel" , & self . dcmColorModel ) . field ( "dwDevCaps" , & self . dwDevCaps ) . field ( "dtcTransformCaps" , & self . dtcTransformCaps ) . field ( "bClipping" , & self . bClipping ) . field ( "dlcLightingCaps" , & self . dlcLightingCaps ) . field ( "dpcLineCaps" , & self . dpcLineCaps ) . field ( "dpcTriCaps" , & self . dpcTriCaps ) . field ( "dwDeviceRenderBitDepth" , & self . dwDeviceRenderBitDepth ) . field ( "dwDeviceZBufferBitDepth" , & self . dwDeviceZBufferBitDepth ) . field ( "dwMaxBufferSize" , & self . dwMaxBufferSize ) . field ( "dwMaxVertexCount" , & self . dwMaxVertexCount ) . field ( "dwMinTextureWidth" , & self . dwMinTextureWidth ) . field ( "dwMinTextureHeight" , & self . dwMinTextureHeight ) . field ( "dwMaxTextureWidth" , & self . dwMaxTextureWidth ) . field ( "dwMaxTextureHeight" , & self . dwMaxTextureHeight ) . field ( "dwMinStippleWidth" , & self . dwMinStippleWidth ) . field ( "dwMaxStippleWidth" , & self . dwMaxStippleWidth ) . field ( "dwMinStippleHeight" , & self . dwMinStippleHeight ) . field ( "dwMaxStippleHeight" , & self . dwMaxStippleHeight ) . field ( "dwMaxTextureRepeat" , & self . dwMaxTextureRepeat ) . field ( "dwMaxTextureAspectRatio" , & self . dwMaxTextureAspectRatio ) . field ( "dwMaxAnisotropy" , & self . dwMaxAnisotropy ) . field ( "dvGuardBandLeft" , & self . dvGuardBandLeft ) . field ( "dvGuardBandTop" , & self . dvGuardBandTop ) . field ( "dvGuardBandRight" , & self . dvGuardBandRight ) . field ( "dvGuardBandBottom" , & self . dvGuardBandBottom ) . field ( "dvExtentsAdjust" , & self . dvExtentsAdjust ) . field ( "dwStencilCaps" , & self . dwStencilCaps ) . field ( "dwFVFCaps" , & self . dwFVFCaps ) . field ( "dwTextureOpCaps" , & self . dwTextureOpCaps ) . field ( "wMaxTextureBlendStages" , & self . wMaxTextureBlendStages ) . field ( "wMaxSimultaneousTextures" , & self . wMaxSimultaneousTextures ) . finish ( ) } } impl :: std :: cmp :: PartialEq for _D3DDeviceDesc { fn eq ( & self , other : & Self ) -> bool { self . dwSize == other . dwSize && self . dwFlags == other . dwFlags && self . dcmColorModel == other . dcmColorModel && self . dwDevCaps == other . dwDevCaps && self . dtcTransformCaps == other . dtcTransformCaps && self . bClipping == other . bClipping && self . dlcLightingCaps == other . dlcLightingCaps && self . dpcLineCaps == other . dpcLineCaps && self . dpcTriCaps == other . dpcTriCaps && self . dwDeviceRenderBitDepth == other . dwDeviceRenderBitDepth && self . dwDeviceZBufferBitDepth == other . dwDeviceZBufferBitDepth && self . dwMaxBufferSize == other . dwMaxBufferSize && self . dwMaxVertexCount == other . dwMaxVertexCount && self . dwMinTextureWidth == other . dwMinTextureWidth && self . dwMinTextureHeight == other . dwMinTextureHeight && self . dwMaxTextureWidth == other . dwMaxTextureWidth && self . dwMaxTextureHeight == other . dwMaxTextureHeight && self . dwMinStippleWidth == other . dwMinStippleWidth && self . dwMaxStippleWidth == other . dwMaxStippleWidth && self . dwMinStippleHeight == other . dwMinStippleHeight && self . dwMaxStippleHeight == other . dwMaxStippleHeight && self . dwMaxTextureRepeat == other . dwMaxTextureRepeat && self . dwMaxTextureAspectRatio == other . dwMaxTextureAspectRatio && self . dwMaxAnisotropy == other . dwMaxAnisotropy && self . dvGuardBandLeft == other . dvGuardBandLeft && self . dvGuardBandTop == other . dvGuardBandTop && self . dvGuardBandRight == other . dvGuardBandRight && self . dvGuardBandBottom == other . dvGuardBandBottom && self . dvExtentsAdjust == other . dvExtentsAdjust && self . dwStencilCaps == other . dwStencilCaps && self . dwFVFCaps == other . dwFVFCaps && self . dwTextureOpCaps == other . dwTextureOpCaps && self . wMaxTextureBlendStages == other . wMaxTextureBlendStages && self . wMaxSimultaneousTextures == other . wMaxSimultaneousTextures } } impl :: std :: cmp :: Eq for _D3DDeviceDesc { } unsafe impl :: windows :: Abi for _D3DDeviceDesc { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct _D3DDeviceDesc7 { pub dwDevCaps : u32 , pub dpcLineCaps : _D3DPrimCaps , pub dpcTriCaps : _D3DPrimCaps , pub dwDeviceRenderBitDepth : u32 , pub dwDeviceZBufferBitDepth : u32 , pub dwMinTextureWidth : u32 , pub dwMinTextureHeight : u32 , pub dwMaxTextureWidth : u32 , pub dwMaxTextureHeight : u32 , pub dwMaxTextureRepeat : u32 , pub dwMaxTextureAspectRatio : u32 , pub dwMaxAnisotropy : u32 , pub dvGuardBandLeft : f32 , pub dvGuardBandTop : f32 , pub dvGuardBandRight : f32 , pub dvGuardBandBottom : f32 , pub dvExtentsAdjust : f32 , pub dwStencilCaps : u32 , pub dwFVFCaps : u32 , pub dwTextureOpCaps : u32 , pub wMaxTextureBlendStages : u16 , pub wMaxSimultaneousTextures : u16 , pub dwMaxActiveLights : u32 , pub dvMaxVertexW : f32 , pub deviceGUID : :: windows :: Guid , pub wMaxUserClipPlanes : u16 , pub wMaxVertexBlendMatrices : u16 , pub dwVertexProcessingCaps : u32 , pub dwReserved1 : u32 , pub dwReserved2 : u32 , pub dwReserved3 : u32 , pub dwReserved4 : u32 } impl _D3DDeviceDesc7 { } impl :: std :: default :: Default for _D3DDeviceDesc7 { fn default ( ) -> Self { Self { dwDevCaps : 0 , dpcLineCaps : :: std :: default :: Default :: default ( ) , dpcTriCaps : :: std :: default :: Default :: default ( ) , dwDeviceRenderBitDepth : 0 , dwDeviceZBufferBitDepth : 0 , dwMinTextureWidth : 0 , dwMinTextureHeight : 0 , dwMaxTextureWidth : 0 , dwMaxTextureHeight : 0 , dwMaxTextureRepeat : 0 , dwMaxTextureAspectRatio : 0 , dwMaxAnisotropy : 0 , dvGuardBandLeft : 0.0 , dvGuardBandTop : 0.0 , dvGuardBandRight : 0.0 , dvGuardBandBottom : 0.0 , dvExtentsAdjust : 0.0 , dwStencilCaps : 0 , dwFVFCaps : 0 , dwTextureOpCaps : 0 , wMaxTextureBlendStages : 0 , wMaxSimultaneousTextures : 0 , dwMaxActiveLights : 0 , dvMaxVertexW : 0.0 , deviceGUID : :: std :: default :: Default :: default ( ) , wMaxUserClipPlanes : 0 , wMaxVertexBlendMatrices : 0 , dwVertexProcessingCaps : 0 , dwReserved1 : 0 , dwReserved2 : 0 , dwReserved3 : 0 , dwReserved4 : 0 } } } impl :: std :: fmt :: Debug for _D3DDeviceDesc7 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_D3DDeviceDesc7" ) . field ( "dwDevCaps" , & self . dwDevCaps ) . field ( "dpcLineCaps" , & self . dpcLineCaps ) . field ( "dpcTriCaps" , & self . dpcTriCaps ) . field ( "dwDeviceRenderBitDepth" , & self . dwDeviceRenderBitDepth ) . field ( "dwDeviceZBufferBitDepth" , & self . dwDeviceZBufferBitDepth ) . field ( "dwMinTextureWidth" , & self . dwMinTextureWidth ) . field ( "dwMinTextureHeight" , & self . dwMinTextureHeight ) . field ( "dwMaxTextureWidth" , & self . dwMaxTextureWidth ) . field ( "dwMaxTextureHeight" , & self . dwMaxTextureHeight ) . field ( "dwMaxTextureRepeat" , & self . dwMaxTextureRepeat ) . field ( "dwMaxTextureAspectRatio" , & self . dwMaxTextureAspectRatio ) . field ( "dwMaxAnisotropy" , & self . dwMaxAnisotropy ) . field ( "dvGuardBandLeft" , & self . dvGuardBandLeft ) . field ( "dvGuardBandTop" , & self . dvGuardBandTop ) . field ( "dvGuardBandRight" , & self . dvGuardBandRight ) . field ( "dvGuardBandBottom" , & self . dvGuardBandBottom ) . field ( "dvExtentsAdjust" , & self . dvExtentsAdjust ) . field ( "dwStencilCaps" , & self . dwStencilCaps ) . field ( "dwFVFCaps" , & self . dwFVFCaps ) . field ( "dwTextureOpCaps" , & self . dwTextureOpCaps ) . field ( "wMaxTextureBlendStages" , & self . wMaxTextureBlendStages ) . field ( "wMaxSimultaneousTextures" , & self . wMaxSimultaneousTextures ) . field ( "dwMaxActiveLights" , & self . dwMaxActiveLights ) . field ( "dvMaxVertexW" , & self . dvMaxVertexW ) . field ( "deviceGUID" , & self . deviceGUID ) . field ( "wMaxUserClipPlanes" , & self . wMaxUserClipPlanes ) . field ( "wMaxVertexBlendMatrices" , & self . wMaxVertexBlendMatrices ) . field ( "dwVertexProcessingCaps" , & self . dwVertexProcessingCaps ) . field ( "dwReserved1" , & self . dwReserved1 ) . field ( "dwReserved2" , & self . dwReserved2 ) . field ( "dwReserved3" , & self . dwReserved3 ) . field ( "dwReserved4" , & self . dwReserved4 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for _D3DDeviceDesc7 { fn eq ( & self , other : & Self ) -> bool { self . dwDevCaps == other . dwDevCaps && self . dpcLineCaps == other . dpcLineCaps && self . dpcTriCaps == other . dpcTriCaps && self . dwDeviceRenderBitDepth == other . dwDeviceRenderBitDepth && self . dwDeviceZBufferBitDepth == other . dwDeviceZBufferBitDepth && self . dwMinTextureWidth == other . dwMinTextureWidth && self . dwMinTextureHeight == other . dwMinTextureHeight && self . dwMaxTextureWidth == other . dwMaxTextureWidth && self . dwMaxTextureHeight == other . dwMaxTextureHeight && self . dwMaxTextureRepeat == other . dwMaxTextureRepeat && self . dwMaxTextureAspectRatio == other . dwMaxTextureAspectRatio && self . dwMaxAnisotropy == other . dwMaxAnisotropy && self . dvGuardBandLeft == other . dvGuardBandLeft && self . dvGuardBandTop == other . dvGuardBandTop && self . dvGuardBandRight == other . dvGuardBandRight && self . dvGuardBandBottom == other . dvGuardBandBottom && self . dvExtentsAdjust == other . dvExtentsAdjust && self . dwStencilCaps == other . dwStencilCaps && self . dwFVFCaps == other . dwFVFCaps && self . dwTextureOpCaps == other . dwTextureOpCaps && self . wMaxTextureBlendStages == other . wMaxTextureBlendStages && self . wMaxSimultaneousTextures == other . wMaxSimultaneousTextures && self . dwMaxActiveLights == other . dwMaxActiveLights && self . dvMaxVertexW == other . dvMaxVertexW && self . deviceGUID == other . deviceGUID && self . wMaxUserClipPlanes == other . wMaxUserClipPlanes && self . wMaxVertexBlendMatrices == other . wMaxVertexBlendMatrices && self . dwVertexProcessingCaps == other . dwVertexProcessingCaps && self . dwReserved1 == other . dwReserved1 && self . dwReserved2 == other . dwReserved2 && self . dwReserved3 == other . dwReserved3 && self . dwReserved4 == other . dwReserved4 } } impl :: std :: cmp :: Eq for _D3DDeviceDesc7 { } unsafe impl :: windows :: Abi for _D3DDeviceDesc7 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct _D3DExecuteBufferDesc { pub dwSize : u32 , pub dwFlags : u32 , pub dwCaps : u32 , pub dwBufferSize : u32 , pub lpData : * mut :: std :: ffi :: c_void } impl _D3DExecuteBufferDesc { } impl :: std :: default :: Default for _D3DExecuteBufferDesc { fn default ( ) -> Self { Self { dwSize : 0 , dwFlags : 0 , dwCaps : 0 , dwBufferSize : 0 , lpData : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for _D3DExecuteBufferDesc { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_D3DExecuteBufferDesc" ) . field ( "dwSize" , & self . dwSize ) . field ( "dwFlags" , & self . dwFlags ) . field ( "dwCaps" , & self . dwCaps ) . field ( "dwBufferSize" , & self . dwBufferSize ) . field ( "lpData" , & self . lpData ) . finish ( ) } } impl :: std :: cmp :: PartialEq for _D3DExecuteBufferDesc { fn eq ( & self , other : & Self ) -> bool { self . dwSize == other . dwSize && self . dwFlags == other . dwFlags && self . dwCaps == other . dwCaps && self . dwBufferSize == other . dwBufferSize && self . lpData == other . lpData } } impl :: std :: cmp :: Eq for _D3DExecuteBufferDesc { } unsafe impl :: windows :: Abi for _D3DExecuteBufferDesc { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct _D3DNTDeviceDesc_V3 { pub dwSize : u32 , pub dwFlags : u32 , pub dcmColorModel : u32 , pub dwDevCaps : u32 , pub dtcTransformCaps : D3DTRANSFORMCAPS , pub bClipping : super::super::Foundation:: BOOL , pub dlcLightingCaps : D3DLIGHTINGCAPS , pub dpcLineCaps : _D3DPrimCaps , pub dpcTriCaps : _D3DPrimCaps , pub dwDeviceRenderBitDepth : u32 , pub dwDeviceZBufferBitDepth : u32 , pub dwMaxBufferSize : u32 , pub dwMaxVertexCount : u32 , pub dwMinTextureWidth : u32 , pub dwMinTextureHeight : u32 , pub dwMaxTextureWidth : u32 , pub dwMaxTextureHeight : u32 , pub dwMinStippleWidth : u32 , pub dwMaxStippleWidth : u32 , pub dwMinStippleHeight : u32 , pub dwMaxStippleHeight : u32 , pub dwMaxTextureRepeat : u32 , pub dwMaxTextureAspectRatio : u32 , pub dwMaxAnisotropy : u32 , pub dvGuardBandLeft : f32 , pub dvGuardBandTop : f32 , pub dvGuardBandRight : f32 , pub dvGuardBandBottom : f32 , pub dvExtentsAdjust : f32 , pub dwStencilCaps : u32 , pub dwFVFCaps : u32 , pub dwTextureOpCaps : u32 , pub wMaxTextureBlendStages : u16 , pub wMaxSimultaneousTextures : u16 } impl _D3DNTDeviceDesc_V3 { } impl :: std :: default :: Default for _D3DNTDeviceDesc_V3 { fn default ( ) -> Self { Self { dwSize : 0 , dwFlags : 0 , dcmColorModel : 0 , dwDevCaps : 0 , dtcTransformCaps : :: std :: default :: Default :: default ( ) , bClipping : :: std :: default :: Default :: default ( ) , dlcLightingCaps : :: std :: default :: Default :: default ( ) , dpcLineCaps : :: std :: default :: Default :: default ( ) , dpcTriCaps : :: std :: default :: Default :: default ( ) , dwDeviceRenderBitDepth : 0 , dwDeviceZBufferBitDepth : 0 , dwMaxBufferSize : 0 , dwMaxVertexCount : 0 , dwMinTextureWidth : 0 , dwMinTextureHeight : 0 , dwMaxTextureWidth : 0 , dwMaxTextureHeight : 0 , dwMinStippleWidth : 0 , dwMaxStippleWidth : 0 , dwMinStippleHeight : 0 , dwMaxStippleHeight : 0 , dwMaxTextureRepeat : 0 , dwMaxTextureAspectRatio : 0 , dwMaxAnisotropy : 0 , dvGuardBandLeft : 0.0 , dvGuardBandTop : 0.0 , dvGuardBandRight : 0.0 , dvGuardBandBottom : 0.0 , dvExtentsAdjust : 0.0 , dwStencilCaps : 0 , dwFVFCaps : 0 , dwTextureOpCaps : 0 , wMaxTextureBlendStages : 0 , wMaxSimultaneousTextures : 0 } } } impl :: std :: fmt :: Debug for _D3DNTDeviceDesc_V3 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_D3DNTDeviceDesc_V3" ) . field ( "dwSize" , & self . dwSize ) . field ( "dwFlags" , & self . dwFlags ) . field ( "dcmColorModel" , & self . dcmColorModel ) . field ( "dwDevCaps" , & self . dwDevCaps ) . field ( "dtcTransformCaps" , & self . dtcTransformCaps ) . field ( "bClipping" , & self . bClipping ) . field ( "dlcLightingCaps" , & self . dlcLightingCaps ) . field ( "dpcLineCaps" , & self . dpcLineCaps ) . field ( "dpcTriCaps" , & self . dpcTriCaps ) . field ( "dwDeviceRenderBitDepth" , & self . dwDeviceRenderBitDepth ) . field ( "dwDeviceZBufferBitDepth" , & self . dwDeviceZBufferBitDepth ) . field ( "dwMaxBufferSize" , & self . dwMaxBufferSize ) . field ( "dwMaxVertexCount" , & self . dwMaxVertexCount ) . field ( "dwMinTextureWidth" , & self . dwMinTextureWidth ) . field ( "dwMinTextureHeight" , & self . dwMinTextureHeight ) . field ( "dwMaxTextureWidth" , & self . dwMaxTextureWidth ) . field ( "dwMaxTextureHeight" , & self . dwMaxTextureHeight ) . field ( "dwMinStippleWidth" , & self . dwMinStippleWidth ) . field ( "dwMaxStippleWidth" , & self . dwMaxStippleWidth ) . field ( "dwMinStippleHeight" , & self . dwMinStippleHeight ) . field ( "dwMaxStippleHeight" , & self . dwMaxStippleHeight ) . field ( "dwMaxTextureRepeat" , & self . dwMaxTextureRepeat ) . field ( "dwMaxTextureAspectRatio" , & self . dwMaxTextureAspectRatio ) . field ( "dwMaxAnisotropy" , & self . dwMaxAnisotropy ) . field ( "dvGuardBandLeft" , & self . dvGuardBandLeft ) . field ( "dvGuardBandTop" , & self . dvGuardBandTop ) . field ( "dvGuardBandRight" , & self . dvGuardBandRight ) . field ( "dvGuardBandBottom" , & self . dvGuardBandBottom ) . field ( "dvExtentsAdjust" , & self . dvExtentsAdjust ) . field ( "dwStencilCaps" , & self . dwStencilCaps ) . field ( "dwFVFCaps" , & self . dwFVFCaps ) . field ( "dwTextureOpCaps" , & self . dwTextureOpCaps ) . field ( "wMaxTextureBlendStages" , & self . wMaxTextureBlendStages ) . field ( "wMaxSimultaneousTextures" , & self . wMaxSimultaneousTextures ) . finish ( ) } } impl :: std :: cmp :: PartialEq for _D3DNTDeviceDesc_V3 { fn eq ( & self , other : & Self ) -> bool { self . dwSize == other . dwSize && self . dwFlags == other . dwFlags && self . dcmColorModel == other . dcmColorModel && self . dwDevCaps == other . dwDevCaps && self . dtcTransformCaps == other . dtcTransformCaps && self . bClipping == other . bClipping && self . dlcLightingCaps == other . dlcLightingCaps && self . dpcLineCaps == other . dpcLineCaps && self . dpcTriCaps == other . dpcTriCaps && self . dwDeviceRenderBitDepth == other . dwDeviceRenderBitDepth && self . dwDeviceZBufferBitDepth == other . dwDeviceZBufferBitDepth && self . dwMaxBufferSize == other . dwMaxBufferSize && self . dwMaxVertexCount == other . dwMaxVertexCount && self . dwMinTextureWidth == other . dwMinTextureWidth && self . dwMinTextureHeight == other . dwMinTextureHeight && self . dwMaxTextureWidth == other . dwMaxTextureWidth && self . dwMaxTextureHeight == other . dwMaxTextureHeight && self . dwMinStippleWidth == other . dwMinStippleWidth && self . dwMaxStippleWidth == other . dwMaxStippleWidth && self . dwMinStippleHeight == other . dwMinStippleHeight && self . dwMaxStippleHeight == other . dwMaxStippleHeight && self . dwMaxTextureRepeat == other . dwMaxTextureRepeat && self . dwMaxTextureAspectRatio == other . dwMaxTextureAspectRatio && self . dwMaxAnisotropy == other . dwMaxAnisotropy && self . dvGuardBandLeft == other . dvGuardBandLeft && self . dvGuardBandTop == other . dvGuardBandTop && self . dvGuardBandRight == other . dvGuardBandRight && self . dvGuardBandBottom == other . dvGuardBandBottom && self . dvExtentsAdjust == other . dvExtentsAdjust && self . dwStencilCaps == other . dwStencilCaps && self . dwFVFCaps == other . dwFVFCaps && self . dwTextureOpCaps == other . dwTextureOpCaps && self . wMaxTextureBlendStages == other . wMaxTextureBlendStages && self . wMaxSimultaneousTextures == other . wMaxSimultaneousTextures } } impl :: std :: cmp :: Eq for _D3DNTDeviceDesc_V3 { } unsafe impl :: windows :: Abi for _D3DNTDeviceDesc_V3 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct _D3DNTHALDeviceDesc_V1 { pub dwSize : u32 , pub dwFlags : u32 , pub dcmColorModel : u32 , pub dwDevCaps : u32 , pub dtcTransformCaps : D3DTRANSFORMCAPS , pub bClipping : super::super::Foundation:: BOOL , pub dlcLightingCaps : D3DLIGHTINGCAPS , pub dpcLineCaps : _D3DPrimCaps , pub dpcTriCaps : _D3DPrimCaps , pub dwDeviceRenderBitDepth : u32 , pub dwDeviceZBufferBitDepth : u32 , pub dwMaxBufferSize : u32 , pub dwMaxVertexCount : u32 } impl _D3DNTHALDeviceDesc_V1 { } impl :: std :: default :: Default for _D3DNTHALDeviceDesc_V1 { fn default ( ) -> Self { Self { dwSize : 0 , dwFlags : 0 , dcmColorModel : 0 , dwDevCaps : 0 , dtcTransformCaps : :: std :: default :: Default :: default ( ) , bClipping : :: std :: default :: Default :: default ( ) , dlcLightingCaps : :: std :: default :: Default :: default ( ) , dpcLineCaps : :: std :: default :: Default :: default ( ) , dpcTriCaps : :: std :: default :: Default :: default ( ) , dwDeviceRenderBitDepth : 0 , dwDeviceZBufferBitDepth : 0 , dwMaxBufferSize : 0 , dwMaxVertexCount : 0 } } } impl :: std :: fmt :: Debug for _D3DNTHALDeviceDesc_V1 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_D3DNTHALDeviceDesc_V1" ) . field ( "dwSize" , & self . dwSize ) . field ( "dwFlags" , & self . dwFlags ) . field ( "dcmColorModel" , & self . dcmColorModel ) . field ( "dwDevCaps" , & self . dwDevCaps ) . field ( "dtcTransformCaps" , & self . dtcTransformCaps ) . field ( "bClipping" , & self . bClipping ) . field ( "dlcLightingCaps" , & self . dlcLightingCaps ) . field ( "dpcLineCaps" , & self . dpcLineCaps ) . field ( "dpcTriCaps" , & self . dpcTriCaps ) . field ( "dwDeviceRenderBitDepth" , & self . dwDeviceRenderBitDepth ) . field ( "dwDeviceZBufferBitDepth" , & self . dwDeviceZBufferBitDepth ) . field ( "dwMaxBufferSize" , & self . dwMaxBufferSize ) . field ( "dwMaxVertexCount" , & self . dwMaxVertexCount ) . finish ( ) } } impl :: std :: cmp :: PartialEq for _D3DNTHALDeviceDesc_V1 { fn eq ( & self , other : & Self ) -> bool { self . dwSize == other . dwSize && self . dwFlags == other . dwFlags && self . dcmColorModel == other . dcmColorModel && self . dwDevCaps == other . dwDevCaps && self . dtcTransformCaps == other . dtcTransformCaps && self . bClipping == other . bClipping && self . dlcLightingCaps == other . dlcLightingCaps && self . dpcLineCaps == other . dpcLineCaps && self . dpcTriCaps == other . dpcTriCaps && self . dwDeviceRenderBitDepth == other . dwDeviceRenderBitDepth && self . dwDeviceZBufferBitDepth == other . dwDeviceZBufferBitDepth && self . dwMaxBufferSize == other . dwMaxBufferSize && self . dwMaxVertexCount == other . dwMaxVertexCount } } impl :: std :: cmp :: Eq for _D3DNTHALDeviceDesc_V1 { } unsafe impl :: windows :: Abi for _D3DNTHALDeviceDesc_V1 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct _D3DNTHALDeviceDesc_V2 { pub dwSize : u32 , pub dwFlags : u32 , pub dcmColorModel : u32 , pub dwDevCaps : u32 , pub dtcTransformCaps : D3DTRANSFORMCAPS , pub bClipping : super::super::Foundation:: BOOL , pub dlcLightingCaps : D3DLIGHTINGCAPS , pub dpcLineCaps : _D3DPrimCaps , pub dpcTriCaps : _D3DPrimCaps , pub dwDeviceRenderBitDepth : u32 , pub dwDeviceZBufferBitDepth : u32 , pub dwMaxBufferSize : u32 , pub dwMaxVertexCount : u32 , pub dwMinTextureWidth : u32 , pub dwMinTextureHeight : u32 , pub dwMaxTextureWidth : u32 , pub dwMaxTextureHeight : u32 , pub dwMinStippleWidth : u32 , pub dwMaxStippleWidth : u32 , pub dwMinStippleHeight : u32 , pub dwMaxStippleHeight : u32 } impl _D3DNTHALDeviceDesc_V2 { } impl :: std :: default :: Default for _D3DNTHALDeviceDesc_V2 { fn default ( ) -> Self { Self { dwSize : 0 , dwFlags : 0 , dcmColorModel : 0 , dwDevCaps : 0 , dtcTransformCaps : :: std :: default :: Default :: default ( ) , bClipping : :: std :: default :: Default :: default ( ) , dlcLightingCaps : :: std :: default :: Default :: default ( ) , dpcLineCaps : :: std :: default :: Default :: default ( ) , dpcTriCaps : :: std :: default :: Default :: default ( ) , dwDeviceRenderBitDepth : 0 , dwDeviceZBufferBitDepth : 0 , dwMaxBufferSize : 0 , dwMaxVertexCount : 0 , dwMinTextureWidth : 0 , dwMinTextureHeight : 0 , dwMaxTextureWidth : 0 , dwMaxTextureHeight : 0 , dwMinStippleWidth : 0 , dwMaxStippleWidth : 0 , dwMinStippleHeight : 0 , dwMaxStippleHeight : 0 } } } impl :: std :: fmt :: Debug for _D3DNTHALDeviceDesc_V2 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_D3DNTHALDeviceDesc_V2" ) . field ( "dwSize" , & self . dwSize ) . field ( "dwFlags" , & self . dwFlags ) . field ( "dcmColorModel" , & self . dcmColorModel ) . field ( "dwDevCaps" , & self . dwDevCaps ) . field ( "dtcTransformCaps" , & self . dtcTransformCaps ) . field ( "bClipping" , & self . bClipping ) . field ( "dlcLightingCaps" , & self . dlcLightingCaps ) . field ( "dpcLineCaps" , & self . dpcLineCaps ) . field ( "dpcTriCaps" , & self . dpcTriCaps ) . field ( "dwDeviceRenderBitDepth" , & self . dwDeviceRenderBitDepth ) . field ( "dwDeviceZBufferBitDepth" , & self . dwDeviceZBufferBitDepth ) . field ( "dwMaxBufferSize" , & self . dwMaxBufferSize ) . field ( "dwMaxVertexCount" , & self . dwMaxVertexCount ) . field ( "dwMinTextureWidth" , & self . dwMinTextureWidth ) . field ( "dwMinTextureHeight" , & self . dwMinTextureHeight ) . field ( "dwMaxTextureWidth" , & self . dwMaxTextureWidth ) . field ( "dwMaxTextureHeight" , & self . dwMaxTextureHeight ) . field ( "dwMinStippleWidth" , & self . dwMinStippleWidth ) . field ( "dwMaxStippleWidth" , & self . dwMaxStippleWidth ) . field ( "dwMinStippleHeight" , & self . dwMinStippleHeight ) . field ( "dwMaxStippleHeight" , & self . dwMaxStippleHeight ) . finish ( ) } } impl :: std :: cmp :: PartialEq for _D3DNTHALDeviceDesc_V2 { fn eq ( & self , other : & Self ) -> bool { self . dwSize == other . dwSize && self . dwFlags == other . dwFlags && self . dcmColorModel == other . dcmColorModel && self . dwDevCaps == other . dwDevCaps && self . dtcTransformCaps == other . dtcTransformCaps && self . bClipping == other . bClipping && self . dlcLightingCaps == other . dlcLightingCaps && self . dpcLineCaps == other . dpcLineCaps && self . dpcTriCaps == other . dpcTriCaps && self . dwDeviceRenderBitDepth == other . dwDeviceRenderBitDepth && self . dwDeviceZBufferBitDepth == other . dwDeviceZBufferBitDepth && self . dwMaxBufferSize == other . dwMaxBufferSize && self . dwMaxVertexCount == other . dwMaxVertexCount && self . dwMinTextureWidth == other . dwMinTextureWidth && self . dwMinTextureHeight == other . dwMinTextureHeight && self . dwMaxTextureWidth == other . dwMaxTextureWidth && self . dwMaxTextureHeight == other . dwMaxTextureHeight && self . dwMinStippleWidth == other . dwMinStippleWidth && self . dwMaxStippleWidth == other . dwMaxStippleWidth && self . dwMinStippleHeight == other . dwMinStippleHeight && self . dwMaxStippleHeight == other . dwMaxStippleHeight } } impl :: std :: cmp :: Eq for _D3DNTHALDeviceDesc_V2 { } unsafe impl :: windows :: Abi for _D3DNTHALDeviceDesc_V2 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct _D3DPrimCaps { pub dwSize : u32 , pub dwMiscCaps : u32 , pub dwRasterCaps : u32 , pub dwZCmpCaps : u32 , pub dwSrcBlendCaps : u32 , pub dwDestBlendCaps : u32 , pub dwAlphaCmpCaps : u32 , pub dwShadeCaps : u32 , pub dwTextureCaps : u32 , pub dwTextureFilterCaps : u32 , pub dwTextureBlendCaps : u32 , pub dwTextureAddressCaps : u32 , pub dwStippleWidth : u32 , pub dwStippleHeight : u32 } impl _D3DPrimCaps { } impl :: std :: default :: Default for _D3DPrimCaps { fn default ( ) -> Self { Self { dwSize : 0 , dwMiscCaps : 0 , dwRasterCaps : 0 , dwZCmpCaps : 0 , dwSrcBlendCaps : 0 , dwDestBlendCaps : 0 , dwAlphaCmpCaps : 0 , dwShadeCaps : 0 , dwTextureCaps : 0 , dwTextureFilterCaps : 0 , dwTextureBlendCaps : 0 , dwTextureAddressCaps : 0 , dwStippleWidth : 0 , dwStippleHeight : 0 } } } impl :: std :: fmt :: Debug for _D3DPrimCaps { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_D3DPrimCaps" ) . field ( "dwSize" , & self . dwSize ) . field ( "dwMiscCaps" , & self . dwMiscCaps ) . field ( "dwRasterCaps" , & self . dwRasterCaps ) . field ( "dwZCmpCaps" , & self . dwZCmpCaps ) . field ( "dwSrcBlendCaps" , & self . dwSrcBlendCaps ) . field ( "dwDestBlendCaps" , & self . dwDestBlendCaps ) . field ( "dwAlphaCmpCaps" , & self . dwAlphaCmpCaps ) . field ( "dwShadeCaps" , & self . dwShadeCaps ) . field ( "dwTextureCaps" , & self . dwTextureCaps ) . field ( "dwTextureFilterCaps" , & self . dwTextureFilterCaps ) . field ( "dwTextureBlendCaps" , & self . dwTextureBlendCaps ) . field ( "dwTextureAddressCaps" , & self . dwTextureAddressCaps ) . field ( "dwStippleWidth" , & self . dwStippleWidth ) . field ( "dwStippleHeight" , & self . dwStippleHeight ) . finish ( ) } } impl :: std :: cmp :: PartialEq for _D3DPrimCaps { fn eq ( & self , other : & Self ) -> bool { self . dwSize == other . dwSize && self . dwMiscCaps == other . dwMiscCaps && self . dwRasterCaps == other . dwRasterCaps && self . dwZCmpCaps == other . dwZCmpCaps && self . dwSrcBlendCaps == other . dwSrcBlendCaps && self . dwDestBlendCaps == other . dwDestBlendCaps && self . dwAlphaCmpCaps == other . dwAlphaCmpCaps && self . dwShadeCaps == other . dwShadeCaps && self . dwTextureCaps == other . dwTextureCaps && self . dwTextureFilterCaps == other . dwTextureFilterCaps && self . dwTextureBlendCaps == other . dwTextureBlendCaps && self . dwTextureAddressCaps == other . dwTextureAddressCaps && self . dwStippleWidth == other . dwStippleWidth && self . dwStippleHeight == other . dwStippleHeight } } impl :: std :: cmp :: Eq for _D3DPrimCaps { } unsafe impl :: windows :: Abi for _D3DPrimCaps { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct _DEVICEDUMP_COLLECTION_TYPE ( pub i32 ) ; pub const TCCollectionBugCheck : _DEVICEDUMP_COLLECTION_TYPE = _DEVICEDUMP_COLLECTION_TYPE ( 1i32 ) ; pub const TCCollectionApplicationRequested : _DEVICEDUMP_COLLECTION_TYPE = _DEVICEDUMP_COLLECTION_TYPE ( 2i32 ) ; pub const TCCollectionDeviceRequested : _DEVICEDUMP_COLLECTION_TYPE = _DEVICEDUMP_COLLECTION_TYPE ( 3i32 ) ; impl :: std :: convert :: From < i32 > for _DEVICEDUMP_COLLECTION_TYPE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for _DEVICEDUMP_COLLECTION_TYPE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct _DEV_BROADCAST_HEADER { pub dbcd_size : u32 , pub dbcd_devicetype : u32 , pub dbcd_reserved : u32 } impl _DEV_BROADCAST_HEADER { } impl :: std :: default :: Default for _DEV_BROADCAST_HEADER { fn default ( ) -> Self { Self { dbcd_size : 0 , dbcd_devicetype : 0 , dbcd_reserved : 0 } } } impl :: std :: fmt :: Debug for _DEV_BROADCAST_HEADER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_DEV_BROADCAST_HEADER" ) . field ( "dbcd_size" , & self . dbcd_size ) . field ( "dbcd_devicetype" , & self . dbcd_devicetype ) . field ( "dbcd_reserved" , & self . dbcd_reserved ) . finish ( ) } } impl :: std :: cmp :: PartialEq for _DEV_BROADCAST_HEADER { fn eq ( & self , other : & Self ) -> bool { self . dbcd_size == other . dbcd_size && self . dbcd_devicetype == other . dbcd_devicetype && self . dbcd_reserved == other . dbcd_reserved } } impl :: std :: cmp :: Eq for _DEV_BROADCAST_HEADER { } unsafe impl :: windows :: Abi for _DEV_BROADCAST_HEADER { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct _DEV_BROADCAST_USERDEFINED { pub dbud_dbh : DEV_BROADCAST_HDR , pub dbud_szName : [ CHAR ;1 ] } impl _DEV_BROADCAST_USERDEFINED { } impl :: std :: default :: Default for _DEV_BROADCAST_USERDEFINED { fn default ( ) -> Self { Self { dbud_dbh : :: std :: default :: Default :: default ( ) , dbud_szName : [ :: std :: default :: Default :: default ( ) ;1 ] } } } impl :: std :: fmt :: Debug for _DEV_BROADCAST_USERDEFINED { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_DEV_BROADCAST_USERDEFINED" ) . field ( "dbud_dbh" , & self . dbud_dbh ) . field ( "dbud_szName" , & self . dbud_szName ) . finish ( ) } } impl :: std :: cmp :: PartialEq for _DEV_BROADCAST_USERDEFINED { fn eq ( & self , other : & Self ) -> bool { self . dbud_dbh == other . dbud_dbh && self . dbud_szName == other . dbud_szName } } impl :: std :: cmp :: Eq for _DEV_BROADCAST_USERDEFINED { } unsafe impl :: windows :: Abi for _DEV_BROADCAST_USERDEFINED { type Abi = Self ; type DefaultType = Self ; } pub const _MM_HINT_NTA : u32 = 0u32 ; pub const _MM_HINT_T0 : u32 = 1u32 ; pub const _MM_HINT_T1 : u32 = 2u32 ; pub const _MM_HINT_T2 : u32 = 3u32 ; pub const _NT_D3DDEVCAPS_HWINDEXBUFFER : i32 = 67108864i32 ; pub const _NT_D3DDEVCAPS_HWVERTEXBUFFER : i32 = 33554432i32 ; pub const _NT_D3DDEVCAPS_SUBVOLUMELOCK : i32 = 134217728i32 ; pub const _NT_D3DFVF_FOG : i32 = 8192i32 ; pub const _NT_D3DGDI2_MAGIC : u32 = 4294967295u32 ; pub const _NT_D3DGDI2_TYPE_DEFERRED_AGP_AWARE : u32 = 24u32 ; pub const _NT_D3DGDI2_TYPE_DEFER_AGP_FREES : u32 = 32u32 ; pub const _NT_D3DGDI2_TYPE_DXVERSION : u32 = 4u32 ; pub const _NT_D3DGDI2_TYPE_FREE_DEFERRED_AGP : u32 = 25u32 ; pub const _NT_D3DGDI2_TYPE_GETADAPTERGROUP : u32 = 19u32 ; pub const _NT_D3DGDI2_TYPE_GETD3DCAPS8 : u32 = 1u32 ; pub const _NT_D3DGDI2_TYPE_GETD3DCAPS9 : u32 = 16u32 ; pub const _NT_D3DGDI2_TYPE_GETD3DQUERY : u32 = 34u32 ; pub const _NT_D3DGDI2_TYPE_GETD3DQUERYCOUNT : u32 = 33u32 ; pub const _NT_D3DGDI2_TYPE_GETDDIVERSION : u32 = 35u32 ; pub const _NT_D3DGDI2_TYPE_GETEXTENDEDMODE : u32 = 18u32 ; pub const _NT_D3DGDI2_TYPE_GETEXTENDEDMODECOUNT : u32 = 17u32 ; pub const _NT_D3DGDI2_TYPE_GETFORMAT : u32 = 3u32 ; pub const _NT_D3DGDI2_TYPE_GETFORMATCOUNT : u32 = 2u32 ; pub const _NT_D3DGDI2_TYPE_GETMULTISAMPLEQUALITYLEVELS : u32 = 22u32 ; pub const _NT_D3DPMISCCAPS_FOGINFVF : i32 = 8192i32 ; pub const _NT_D3DPS_COLOROUT_MAX_V2_0 : u32 = 4u32 ; pub const _NT_D3DPS_COLOROUT_MAX_V2_1 : u32 = 4u32 ; pub const _NT_D3DPS_COLOROUT_MAX_V3_0 : u32 = 4u32 ; pub const _NT_D3DPS_CONSTBOOLREG_MAX_SW_DX9 : u32 = 2048u32 ; pub const _NT_D3DPS_CONSTBOOLREG_MAX_V2_1 : u32 = 16u32 ; pub const _NT_D3DPS_CONSTBOOLREG_MAX_V3_0 : u32 = 16u32 ; pub const _NT_D3DPS_CONSTINTREG_MAX_SW_DX9 : u32 = 2048u32 ; pub const _NT_D3DPS_CONSTINTREG_MAX_V2_1 : u32 = 16u32 ; pub const _NT_D3DPS_CONSTINTREG_MAX_V3_0 : u32 = 16u32 ; pub const _NT_D3DPS_CONSTREG_MAX_DX8 : u32 = 8u32 ; pub const _NT_D3DPS_CONSTREG_MAX_SW_DX9 : u32 = 8192u32 ; pub const _NT_D3DPS_CONSTREG_MAX_V1_1 : u32 = 8u32 ; pub const _NT_D3DPS_CONSTREG_MAX_V1_2 : u32 = 8u32 ; pub const _NT_D3DPS_CONSTREG_MAX_V1_3 : u32 = 8u32 ; pub const _NT_D3DPS_CONSTREG_MAX_V1_4 : u32 = 8u32 ; pub const _NT_D3DPS_CONSTREG_MAX_V2_0 : u32 = 32u32 ; pub const _NT_D3DPS_CONSTREG_MAX_V2_1 : u32 = 32u32 ; pub const _NT_D3DPS_CONSTREG_MAX_V3_0 : u32 = 224u32 ; pub const _NT_D3DPS_INPUTREG_MAX_DX8 : u32 = 8u32 ; pub const _NT_D3DPS_INPUTREG_MAX_V1_1 : u32 = 2u32 ; pub const _NT_D3DPS_INPUTREG_MAX_V1_2 : u32 = 2u32 ; pub const _NT_D3DPS_INPUTREG_MAX_V1_3 : u32 = 2u32 ; pub const _NT_D3DPS_INPUTREG_MAX_V1_4 : u32 = 2u32 ; pub const _NT_D3DPS_INPUTREG_MAX_V2_0 : u32 = 2u32 ; pub const _NT_D3DPS_INPUTREG_MAX_V2_1 : u32 = 2u32 ; pub const _NT_D3DPS_INPUTREG_MAX_V3_0 : u32 = 12u32 ; pub const _NT_D3DPS_MAXLOOPINITVALUE_V2_1 : u32 = 255u32 ; pub const _NT_D3DPS_MAXLOOPINITVALUE_V3_0 : u32 = 255u32 ; pub const _NT_D3DPS_MAXLOOPITERATIONCOUNT_V2_1 : u32 = 255u32 ; pub const _NT_D3DPS_MAXLOOPITERATIONCOUNT_V3_0 : u32 = 255u32 ; pub const _NT_D3DPS_MAXLOOPSTEP_V2_1 : u32 = 128u32 ; pub const _NT_D3DPS_MAXLOOPSTEP_V3_0 : u32 = 128u32 ; pub const _NT_D3DPS_PREDICATE_MAX_V2_1 : u32 = 1u32 ; pub const _NT_D3DPS_PREDICATE_MAX_V3_0 : u32 = 1u32 ; pub const _NT_D3DPS_TEMPREG_MAX_DX8 : u32 = 8u32 ; pub const _NT_D3DPS_TEMPREG_MAX_V1_1 : u32 = 2u32 ; pub const _NT_D3DPS_TEMPREG_MAX_V1_2 : u32 = 2u32 ; pub const _NT_D3DPS_TEMPREG_MAX_V1_3 : u32 = 2u32 ; pub const _NT_D3DPS_TEMPREG_MAX_V1_4 : u32 = 6u32 ; pub const _NT_D3DPS_TEMPREG_MAX_V2_0 : u32 = 12u32 ; pub const _NT_D3DPS_TEMPREG_MAX_V2_1 : u32 = 32u32 ; pub const _NT_D3DPS_TEMPREG_MAX_V3_0 : u32 = 32u32 ; pub const _NT_D3DPS_TEXTUREREG_MAX_DX8 : u32 = 8u32 ; pub const _NT_D3DPS_TEXTUREREG_MAX_V1_1 : u32 = 4u32 ; pub const _NT_D3DPS_TEXTUREREG_MAX_V1_2 : u32 = 4u32 ; pub const _NT_D3DPS_TEXTUREREG_MAX_V1_3 : u32 = 4u32 ; pub const _NT_D3DPS_TEXTUREREG_MAX_V1_4 : u32 = 6u32 ; pub const _NT_D3DPS_TEXTUREREG_MAX_V2_0 : u32 = 8u32 ; pub const _NT_D3DPS_TEXTUREREG_MAX_V2_1 : u32 = 8u32 ; pub const _NT_D3DPS_TEXTUREREG_MAX_V3_0 : u32 = 0u32 ; pub const _NT_D3DRS_DELETERTPATCH : u32 = 169u32 ; pub const _NT_D3DVS_ADDRREG_MAX_V1_1 : u32 = 1u32 ; pub const _NT_D3DVS_ADDRREG_MAX_V2_0 : u32 = 1u32 ; pub const _NT_D3DVS_ADDRREG_MAX_V2_1 : u32 = 1u32 ; pub const _NT_D3DVS_ADDRREG_MAX_V3_0 : u32 = 1u32 ; pub const _NT_D3DVS_ATTROUTREG_MAX_V1_1 : u32 = 2u32 ; pub const _NT_D3DVS_ATTROUTREG_MAX_V2_0 : u32 = 2u32 ; pub const _NT_D3DVS_ATTROUTREG_MAX_V2_1 : u32 = 2u32 ; pub const _NT_D3DVS_CONSTBOOLREG_MAX_SW_DX9 : u32 = 2048u32 ; pub const _NT_D3DVS_CONSTBOOLREG_MAX_V2_0 : u32 = 16u32 ; pub const _NT_D3DVS_CONSTBOOLREG_MAX_V2_1 : u32 = 16u32 ; pub const _NT_D3DVS_CONSTBOOLREG_MAX_V3_0 : u32 = 16u32 ; pub const _NT_D3DVS_CONSTINTREG_MAX_SW_DX9 : u32 = 2048u32 ; pub const _NT_D3DVS_CONSTINTREG_MAX_V2_0 : u32 = 16u32 ; pub const _NT_D3DVS_CONSTINTREG_MAX_V2_1 : u32 = 16u32 ; pub const _NT_D3DVS_CONSTINTREG_MAX_V3_0 : u32 = 16u32 ; pub const _NT_D3DVS_CONSTREG_MAX_V1_1 : u32 = 96u32 ; pub const _NT_D3DVS_CONSTREG_MAX_V2_0 : u32 = 8192u32 ; pub const _NT_D3DVS_CONSTREG_MAX_V2_1 : u32 = 8192u32 ; pub const _NT_D3DVS_CONSTREG_MAX_V3_0 : u32 = 8192u32 ; pub const _NT_D3DVS_INPUTREG_MAX_V1_1 : u32 = 16u32 ; pub const _NT_D3DVS_INPUTREG_MAX_V2_0 : u32 = 16u32 ; pub const _NT_D3DVS_INPUTREG_MAX_V2_1 : u32 = 16u32 ; pub const _NT_D3DVS_INPUTREG_MAX_V3_0 : u32 = 16u32 ; pub const _NT_D3DVS_LABEL_MAX_V3_0 : u32 = 2048u32 ; pub const _NT_D3DVS_MAXINSTRUCTIONCOUNT_V1_1 : u32 = 128u32 ; pub const _NT_D3DVS_MAXLOOPINITVALUE_V2_0 : u32 = 255u32 ; pub const _NT_D3DVS_MAXLOOPINITVALUE_V2_1 : u32 = 255u32 ; pub const _NT_D3DVS_MAXLOOPINITVALUE_V3_0 : u32 = 255u32 ; pub const _NT_D3DVS_MAXLOOPITERATIONCOUNT_V2_0 : u32 = 255u32 ; pub const _NT_D3DVS_MAXLOOPITERATIONCOUNT_V2_1 : u32 = 255u32 ; pub const _NT_D3DVS_MAXLOOPITERATIONCOUNT_V3_0 : u32 = 255u32 ; pub const _NT_D3DVS_MAXLOOPSTEP_V2_0 : u32 = 128u32 ; pub const _NT_D3DVS_MAXLOOPSTEP_V2_1 : u32 = 128u32 ; pub const _NT_D3DVS_MAXLOOPSTEP_V3_0 : u32 = 128u32 ; pub const _NT_D3DVS_OUTPUTREG_MAX_SW_DX9 : u32 = 16u32 ; pub const _NT_D3DVS_OUTPUTREG_MAX_V3_0 : u32 = 12u32 ; pub const _NT_D3DVS_PREDICATE_MAX_V2_1 : u32 = 1u32 ; pub const _NT_D3DVS_PREDICATE_MAX_V3_0 : u32 = 1u32 ; pub const _NT_D3DVS_TCRDOUTREG_MAX_V1_1 : u32 = 8u32 ; pub const _NT_D3DVS_TCRDOUTREG_MAX_V2_0 : u32 = 8u32 ; pub const _NT_D3DVS_TCRDOUTREG_MAX_V2_1 : u32 = 8u32 ; pub const _NT_D3DVS_TEMPREG_MAX_V1_1 : u32 = 12u32 ; pub const _NT_D3DVS_TEMPREG_MAX_V2_0 : u32 = 12u32 ; pub const _NT_D3DVS_TEMPREG_MAX_V2_1 : u32 = 32u32 ; pub const _NT_D3DVS_TEMPREG_MAX_V3_0 : u32 = 32u32 ; pub const _NT_RTPATCHFLAG_HASINFO : i32 = 2i32 ; pub const _NT_RTPATCHFLAG_HASSEGS : i32 = 1i32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct remoteMETAFILEPICT { pub mm : i32 , pub xExt : i32 , pub yExt : i32 , pub hMF : * mut userHMETAFILE } impl remoteMETAFILEPICT { } impl :: std :: default :: Default for remoteMETAFILEPICT { fn default ( ) -> Self { Self { mm : 0 , xExt : 0 , yExt : 0 , hMF : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for remoteMETAFILEPICT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "remoteMETAFILEPICT" ) . field ( "mm" , & self . mm ) . field ( "xExt" , & self . xExt ) . field ( "yExt" , & self . yExt ) . field ( "hMF" , & self . hMF ) . finish ( ) } } impl :: std :: cmp :: PartialEq for remoteMETAFILEPICT { fn eq ( & self , other : & Self ) -> bool { self . mm == other . mm && self . xExt == other . xExt && self . yExt == other . yExt && self . hMF == other . hMF } } impl :: std :: cmp :: Eq for remoteMETAFILEPICT { } unsafe impl :: windows :: Abi for remoteMETAFILEPICT { type Abi = Self ; type DefaultType = Self ; } pub unsafe fn timeKillEvent < > ( utimerid : u32 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="WINMM" ) ] extern "system" { fn timeKillEvent ( utimerid : u32 ) -> u32 ; } timeKillEvent ( :: std :: mem :: transmute ( utimerid ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn timeSetEvent < > ( udelay : u32 , uresolution : u32 , fptc : :: std :: option :: Option < LPTIMECALLBACK > , dwuser : usize , fuevent : u32 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="WINMM" ) ] extern "system" { fn timeSetEvent ( udelay : u32 , uresolution : u32 , fptc : :: windows :: RawPtr , dwuser : usize , fuevent : u32 ) -> u32 ; } timeSetEvent ( :: std :: mem :: transmute ( udelay ) , :: std :: mem :: transmute ( uresolution ) , :: std :: mem :: transmute ( fptc ) , :: std :: mem :: transmute ( dwuser ) , :: std :: mem :: transmute ( fuevent ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct uCLSSPEC { pub tyspec : u32 , pub tagged_union : uCLSSPEC_0 } impl uCLSSPEC { } impl :: std :: cmp :: PartialEq for uCLSSPEC { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for uCLSSPEC { } unsafe impl :: windows :: Abi for uCLSSPEC { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union uCLSSPEC_0 { pub clsid : :: windows :: Guid , pub pFileExt : super::super::Foundation:: PWSTR , pub pMimeType : super::super::Foundation:: PWSTR , pub pProgId : super::super::Foundation:: PWSTR , pub pFileName : super::super::Foundation:: PWSTR , pub ByName : uCLSSPEC_0_0 , pub ByObjectId : uCLSSPEC_0_1 } impl uCLSSPEC_0 { } impl :: std :: cmp :: PartialEq for uCLSSPEC_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for uCLSSPEC_0 { } unsafe impl :: windows :: Abi for uCLSSPEC_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct uCLSSPEC_0_0 { pub pPackageName : super::super::Foundation:: PWSTR , pub PolicyId : :: windows :: Guid } impl uCLSSPEC_0_0 { } impl :: std :: default :: Default for uCLSSPEC_0_0 { fn default ( ) -> Self { Self { pPackageName : :: std :: default :: Default :: default ( ) , PolicyId : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for uCLSSPEC_0_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_ByName_e__Struct" ) . field ( "pPackageName" , & self . pPackageName ) . field ( "PolicyId" , & self . PolicyId ) . finish ( ) } } impl :: std :: cmp :: PartialEq for uCLSSPEC_0_0 { fn eq ( & self , other : & Self ) -> bool { self . pPackageName == other . pPackageName && self . PolicyId == other . PolicyId } } impl :: std :: cmp :: Eq for uCLSSPEC_0_0 { } unsafe impl :: windows :: Abi for uCLSSPEC_0_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct uCLSSPEC_0_1 { pub ObjectId : :: windows :: Guid , pub PolicyId : :: windows :: Guid } impl uCLSSPEC_0_1 { } impl :: std :: default :: Default for uCLSSPEC_0_1 { fn default ( ) -> Self { Self { ObjectId : :: std :: default :: Default :: default ( ) , PolicyId : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for uCLSSPEC_0_1 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_ByObjectId_e__Struct" ) . field ( "ObjectId" , & self . ObjectId ) . field ( "PolicyId" , & self . PolicyId ) . finish ( ) } } impl :: std :: cmp :: PartialEq for uCLSSPEC_0_1 { fn eq ( & self , other : & Self ) -> bool { self . ObjectId == other . ObjectId && self . PolicyId == other . PolicyId } } impl :: std :: cmp :: Eq for uCLSSPEC_0_1 { } unsafe impl :: windows :: Abi for uCLSSPEC_0_1 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct userBITMAP { pub bmType : i32 , pub bmWidth : i32 , pub bmHeight : i32 , pub bmWidthBytes : i32 , pub bmPlanes : u16 , pub bmBitsPixel : u16 , pub cbSize : u32 , pub pBuffer : [ u8 ;1 ] } impl userBITMAP { } impl :: std :: default :: Default for userBITMAP { fn default ( ) -> Self { Self { bmType : 0 , bmWidth : 0 , bmHeight : 0 , bmWidthBytes : 0 , bmPlanes : 0 , bmBitsPixel : 0 , cbSize : 0 , pBuffer : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for userBITMAP { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "userBITMAP" ) . field ( "bmType" , & self . bmType ) . field ( "bmWidth" , & self . bmWidth ) . field ( "bmHeight" , & self . bmHeight ) . field ( "bmWidthBytes" , & self . bmWidthBytes ) . field ( "bmPlanes" , & self . bmPlanes ) . field ( "bmBitsPixel" , & self . bmBitsPixel ) . field ( "cbSize" , & self . cbSize ) . field ( "pBuffer" , & self . pBuffer ) . finish ( ) } } impl :: std :: cmp :: PartialEq for userBITMAP { fn eq ( & self , other : & Self ) -> bool { self . bmType == other . bmType && self . bmWidth == other . bmWidth && self . bmHeight == other . bmHeight && self . bmWidthBytes == other . bmWidthBytes && self . bmPlanes == other . bmPlanes && self . bmBitsPixel == other . bmBitsPixel && self . cbSize == other . cbSize && self . pBuffer == other . pBuffer } } impl :: std :: cmp :: Eq for userBITMAP { } unsafe impl :: windows :: Abi for userBITMAP { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct userCLIPFORMAT { pub fContext : i32 , pub u : userCLIPFORMAT_0 } impl userCLIPFORMAT { } impl :: std :: cmp :: PartialEq for userCLIPFORMAT { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for userCLIPFORMAT { } unsafe impl :: windows :: Abi for userCLIPFORMAT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union userCLIPFORMAT_0 { pub dwValue : u32 , pub pwszName : super::super::Foundation:: PWSTR } impl userCLIPFORMAT_0 { } impl :: std :: cmp :: PartialEq for userCLIPFORMAT_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for userCLIPFORMAT_0 { } unsafe impl :: windows :: Abi for userCLIPFORMAT_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct userHBITMAP { pub fContext : i32 , pub u : userHBITMAP_0 } impl userHBITMAP { } impl :: std :: cmp :: PartialEq for userHBITMAP { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for userHBITMAP { } unsafe impl :: windows :: Abi for userHBITMAP { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union userHBITMAP_0 { pub hInproc : i32 , pub hRemote : * mut userBITMAP , pub hInproc64 : i64 } impl userHBITMAP_0 { } impl :: std :: cmp :: PartialEq for userHBITMAP_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for userHBITMAP_0 { } unsafe impl :: windows :: Abi for userHBITMAP_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct userHENHMETAFILE { pub fContext : i32 , pub u : userHENHMETAFILE_0 } impl userHENHMETAFILE { } impl :: std :: cmp :: PartialEq for userHENHMETAFILE { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for userHENHMETAFILE { } unsafe impl :: windows :: Abi for userHENHMETAFILE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union userHENHMETAFILE_0 { pub hInproc : i32 , pub hRemote : * mut super::Com:: BYTE_BLOB , pub hInproc64 : i64 } impl userHENHMETAFILE_0 { } impl :: std :: cmp :: PartialEq for userHENHMETAFILE_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for userHENHMETAFILE_0 { } unsafe impl :: windows :: Abi for userHENHMETAFILE_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct userHGLOBAL { pub fContext : i32 , pub u : userHGLOBAL_0 } impl userHGLOBAL { } impl :: std :: cmp :: PartialEq for userHGLOBAL { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for userHGLOBAL { } unsafe impl :: windows :: Abi for userHGLOBAL { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union userHGLOBAL_0 { pub hInproc : i32 , pub hRemote : * mut super::Com:: FLAGGED_BYTE_BLOB , pub hInproc64 : i64 } impl userHGLOBAL_0 { } impl :: std :: cmp :: PartialEq for userHGLOBAL_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for userHGLOBAL_0 { } unsafe impl :: windows :: Abi for userHGLOBAL_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct userHMETAFILE { pub fContext : i32 , pub u : userHMETAFILE_0 } impl userHMETAFILE { } impl :: std :: cmp :: PartialEq for userHMETAFILE { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for userHMETAFILE { } unsafe impl :: windows :: Abi for userHMETAFILE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union userHMETAFILE_0 { pub hInproc : i32 , pub hRemote : * mut super::Com:: BYTE_BLOB , pub hInproc64 : i64 } impl userHMETAFILE_0 { } impl :: std :: cmp :: PartialEq for userHMETAFILE_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for userHMETAFILE_0 { } unsafe impl :: windows :: Abi for userHMETAFILE_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct userHMETAFILEPICT { pub fContext : i32 , pub u : userHMETAFILEPICT_0 } impl userHMETAFILEPICT { } impl :: std :: cmp :: PartialEq for userHMETAFILEPICT { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for userHMETAFILEPICT { } unsafe impl :: windows :: Abi for userHMETAFILEPICT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union userHMETAFILEPICT_0 { pub hInproc : i32 , pub hRemote : * mut remoteMETAFILEPICT , pub hInproc64 : i64 } impl userHMETAFILEPICT_0 { } impl :: std :: cmp :: PartialEq for userHMETAFILEPICT_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for userHMETAFILEPICT_0 { } unsafe impl :: windows :: Abi for userHMETAFILEPICT_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct userHPALETTE { pub fContext : i32 , pub u : userHPALETTE_0 } impl userHPALETTE { } impl :: std :: cmp :: PartialEq for userHPALETTE { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for userHPALETTE { } unsafe impl :: windows :: Abi for userHPALETTE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union userHPALETTE_0 { pub hInproc : i32 , pub hRemote : * mut super::super::Graphics::Gdi:: LOGPALETTE , pub hInproc64 : i64 } impl userHPALETTE_0 { } impl :: std :: cmp :: PartialEq for userHPALETTE_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for userHPALETTE_0 { } unsafe impl :: windows :: Abi for userHPALETTE_0 { type Abi = Self ; type DefaultType = Self ; } } # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod Threading { # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct APP_MEMORY_INFORMATION { pub AvailableCommit : u64 , pub PrivateCommitUsage : u64 , pub PeakPrivateCommitUsage : u64 , pub TotalCommitUsage : u64 } impl APP_MEMORY_INFORMATION { } impl :: std :: default :: Default for APP_MEMORY_INFORMATION { fn default ( ) -> Self { Self { AvailableCommit : 0 , PrivateCommitUsage : 0 , PeakPrivateCommitUsage : 0 , TotalCommitUsage : 0 } } } impl :: std :: fmt :: Debug for APP_MEMORY_INFORMATION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "APP_MEMORY_INFORMATION" ) . field ( "AvailableCommit" , & self . AvailableCommit ) . field ( "PrivateCommitUsage" , & self . PrivateCommitUsage ) . field ( "PeakPrivateCommitUsage" , & self . PeakPrivateCommitUsage ) . field ( "TotalCommitUsage" , & self . TotalCommitUsage ) . finish ( ) } } impl :: std :: cmp :: PartialEq for APP_MEMORY_INFORMATION { fn eq ( & self , other : & Self ) -> bool { self . AvailableCommit == other . AvailableCommit && self . PrivateCommitUsage == other . PrivateCommitUsage && self . PeakPrivateCommitUsage == other . PeakPrivateCommitUsage && self . TotalCommitUsage == other . TotalCommitUsage } } impl :: std :: cmp :: Eq for APP_MEMORY_INFORMATION { } unsafe impl :: windows :: Abi for APP_MEMORY_INFORMATION { type Abi = Self ; type DefaultType = Self ; } pub unsafe fn AcquireSRWLockExclusive < > ( srwlock : * mut super::SystemServices:: RTL_SRWLOCK , ) { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn AcquireSRWLockExclusive ( srwlock : * mut super::SystemServices:: RTL_SRWLOCK ) ; } AcquireSRWLockExclusive ( :: std :: mem :: transmute ( srwlock ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn AcquireSRWLockShared < > ( srwlock : * mut super::SystemServices:: RTL_SRWLOCK , ) { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn AcquireSRWLockShared ( srwlock : * mut super::SystemServices:: RTL_SRWLOCK ) ; } AcquireSRWLockShared ( :: std :: mem :: transmute ( srwlock ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn AddIntegrityLabelToBoundaryDescriptor < 'a , > ( boundarydescriptor : * mut super::super::Foundation:: HANDLE , integritylabel : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSID > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn AddIntegrityLabelToBoundaryDescriptor ( boundarydescriptor : * mut super::super::Foundation:: HANDLE , integritylabel : super::super::Foundation:: PSID ) -> super::super::Foundation:: BOOL ; } AddIntegrityLabelToBoundaryDescriptor ( :: std :: mem :: transmute ( boundarydescriptor ) , integritylabel . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn AddSIDToBoundaryDescriptor < 'a , > ( boundarydescriptor : * mut super::super::Foundation:: HANDLE , requiredsid : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSID > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn AddSIDToBoundaryDescriptor ( boundarydescriptor : * mut super::super::Foundation:: HANDLE , requiredsid : super::super::Foundation:: PSID ) -> super::super::Foundation:: BOOL ; } AddSIDToBoundaryDescriptor ( :: std :: mem :: transmute ( boundarydescriptor ) , requiredsid . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn AttachThreadInput < 'a , > ( idattach : u32 , idattachto : u32 , fattach : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="USER32" ) ] extern "system" { fn AttachThreadInput ( idattach : u32 , idattachto : u32 , fattach : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ; } AttachThreadInput ( :: std :: mem :: transmute ( idattach ) , :: std :: mem :: transmute ( idattachto ) , fattach . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( transparent ) ] pub struct BoundaryDescriptorHandle ( pub isize ) ; impl BoundaryDescriptorHandle { } impl :: std :: default :: Default for BoundaryDescriptorHandle { fn default ( ) -> Self { Self ( 0 ) } } impl BoundaryDescriptorHandle { pub const NULL : Self = Self ( 0 ) ; pub fn is_null ( & self ) -> bool { self . 0 == 0 } } impl :: std :: fmt :: Debug for BoundaryDescriptorHandle { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "BoundaryDescriptorHandle" ) . field ( "Value" , & self .0 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for BoundaryDescriptorHandle { fn eq ( & self , other : & Self ) -> bool { self .0 == other .0 } } impl :: std :: cmp :: Eq for BoundaryDescriptorHandle { } unsafe impl :: windows :: Abi for BoundaryDescriptorHandle { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct CREATE_EVENT ( pub u32 ) ; pub const CREATE_EVENT_INITIAL_SET : CREATE_EVENT = CREATE_EVENT ( 2u32 ) ; pub const CREATE_EVENT_MANUAL_RESET : CREATE_EVENT = CREATE_EVENT ( 1u32 ) ; impl :: std :: convert :: From < u32 > for CREATE_EVENT { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for CREATE_EVENT { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for CREATE_EVENT { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for CREATE_EVENT { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for CREATE_EVENT { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for CREATE_EVENT { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub const CREATE_MUTEX_INITIAL_OWNER : u32 = 1u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct CREATE_PROCESS_LOGON_FLAGS ( pub u32 ) ; pub const LOGON_WITH_PROFILE : CREATE_PROCESS_LOGON_FLAGS = CREATE_PROCESS_LOGON_FLAGS ( 1u32 ) ; pub const LOGON_NETCREDENTIALS_ONLY : CREATE_PROCESS_LOGON_FLAGS = CREATE_PROCESS_LOGON_FLAGS ( 2u32 ) ; impl :: std :: convert :: From < u32 > for CREATE_PROCESS_LOGON_FLAGS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for CREATE_PROCESS_LOGON_FLAGS { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for CREATE_PROCESS_LOGON_FLAGS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for CREATE_PROCESS_LOGON_FLAGS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for CREATE_PROCESS_LOGON_FLAGS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for CREATE_PROCESS_LOGON_FLAGS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub const CREATE_WAITABLE_TIMER_HIGH_RESOLUTION : u32 = 2u32 ; pub const CREATE_WAITABLE_TIMER_MANUAL_RESET : u32 = 1u32 ; pub unsafe fn CallbackMayRunLong < > ( pci : * mut super::SystemServices:: TP_CALLBACK_INSTANCE , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn CallbackMayRunLong ( pci : * mut super::SystemServices:: TP_CALLBACK_INSTANCE ) -> super::super::Foundation:: BOOL ; } CallbackMayRunLong ( :: std :: mem :: transmute ( pci ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CancelThreadpoolIo < > ( pio : * mut super::SystemServices:: TP_IO , ) { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn CancelThreadpoolIo ( pio : * mut super::SystemServices:: TP_IO ) ; } CancelThreadpoolIo ( :: std :: mem :: transmute ( pio ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CancelWaitableTimer < 'a , > ( htimer : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn CancelWaitableTimer ( htimer : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ; } CancelWaitableTimer ( htimer . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn ChangeTimerQueueTimer < 'a , > ( timerqueue : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , timer : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , duetime : u32 , period : u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn ChangeTimerQueueTimer ( timerqueue : super::super::Foundation:: HANDLE , timer : super::super::Foundation:: HANDLE , duetime : u32 , period : u32 ) -> super::super::Foundation:: BOOL ; } ChangeTimerQueueTimer ( timerqueue . into_param ( ) . abi ( ) , timer . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( duetime ) , :: std :: mem :: transmute ( period ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn ClosePrivateNamespace < 'a , > ( handle : impl :: windows :: IntoParam < 'a , NamespaceHandle > , flags : u32 , ) -> u8 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn ClosePrivateNamespace ( handle : NamespaceHandle , flags : u32 ) -> u8 ; } ClosePrivateNamespace ( handle . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( flags ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CloseThreadpool < 'a , > ( ptpp : impl :: windows :: IntoParam < 'a , PTP_POOL > , ) { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn CloseThreadpool ( ptpp : PTP_POOL ) ; } CloseThreadpool ( ptpp . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CloseThreadpoolCleanupGroup < > ( ptpcg : isize , ) { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn CloseThreadpoolCleanupGroup ( ptpcg : isize ) ; } CloseThreadpoolCleanupGroup ( :: std :: mem :: transmute ( ptpcg ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CloseThreadpoolCleanupGroupMembers < 'a , > ( ptpcg : isize , fcancelpendingcallbacks : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , pvcleanupcontext : * mut :: std :: ffi :: c_void , ) { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn CloseThreadpoolCleanupGroupMembers ( ptpcg : isize , fcancelpendingcallbacks : super::super::Foundation:: BOOL , pvcleanupcontext : * mut :: std :: ffi :: c_void ) ; } CloseThreadpoolCleanupGroupMembers ( :: std :: mem :: transmute ( ptpcg ) , fcancelpendingcallbacks . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pvcleanupcontext ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CloseThreadpoolIo < > ( pio : * mut super::SystemServices:: TP_IO , ) { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn CloseThreadpoolIo ( pio : * mut super::SystemServices:: TP_IO ) ; } CloseThreadpoolIo ( :: std :: mem :: transmute ( pio ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CloseThreadpoolTimer < > ( pti : * mut super::SystemServices:: TP_TIMER , ) { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn CloseThreadpoolTimer ( pti : * mut super::SystemServices:: TP_TIMER ) ; } CloseThreadpoolTimer ( :: std :: mem :: transmute ( pti ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CloseThreadpoolWait < > ( pwa : * mut super::SystemServices:: TP_WAIT , ) { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn CloseThreadpoolWait ( pwa : * mut super::SystemServices:: TP_WAIT ) ; } CloseThreadpoolWait ( :: std :: mem :: transmute ( pwa ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CloseThreadpoolWork < > ( pwk : * mut super::SystemServices:: TP_WORK , ) { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn CloseThreadpoolWork ( pwk : * mut super::SystemServices:: TP_WORK ) ; } CloseThreadpoolWork ( :: std :: mem :: transmute ( pwk ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn ConvertFiberToThread < > ( ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn ConvertFiberToThread ( ) -> super::super::Foundation:: BOOL ; } ConvertFiberToThread ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn ConvertThreadToFiber < > ( lpparameter : * mut :: std :: ffi :: c_void , ) -> * mut :: std :: ffi :: c_void { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn ConvertThreadToFiber ( lpparameter : * mut :: std :: ffi :: c_void ) -> * mut :: std :: ffi :: c_void ; } ConvertThreadToFiber ( :: std :: mem :: transmute ( lpparameter ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn ConvertThreadToFiberEx < > ( lpparameter : * mut :: std :: ffi :: c_void , dwflags : u32 , ) -> * mut :: std :: ffi :: c_void { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn ConvertThreadToFiberEx ( lpparameter : * mut :: std :: ffi :: c_void , dwflags : u32 ) -> * mut :: std :: ffi :: c_void ; } ConvertThreadToFiberEx ( :: std :: mem :: transmute ( lpparameter ) , :: std :: mem :: transmute ( dwflags ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateBoundaryDescriptorA < 'a , > ( name : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , flags : u32 , ) -> BoundaryDescriptorHandle { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn CreateBoundaryDescriptorA ( name : super::super::Foundation:: PSTR , flags : u32 ) -> BoundaryDescriptorHandle ; } CreateBoundaryDescriptorA ( name . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( flags ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateBoundaryDescriptorW < 'a , > ( name : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , flags : u32 , ) -> BoundaryDescriptorHandle { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn CreateBoundaryDescriptorW ( name : super::super::Foundation:: PWSTR , flags : u32 ) -> BoundaryDescriptorHandle ; } CreateBoundaryDescriptorW ( name . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( flags ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateEventA < 'a , > ( lpeventattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES , bmanualreset : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , binitialstate : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , lpname : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , ) -> super::super::Foundation:: HANDLE { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn CreateEventA ( lpeventattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES , bmanualreset : super::super::Foundation:: BOOL , binitialstate : super::super::Foundation:: BOOL , lpname : super::super::Foundation:: PSTR ) -> super::super::Foundation:: HANDLE ; } CreateEventA ( :: std :: mem :: transmute ( lpeventattributes ) , bmanualreset . into_param ( ) . abi ( ) , binitialstate . into_param ( ) . abi ( ) , lpname . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateEventExA < 'a , > ( lpeventattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES , lpname : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , dwflags : CREATE_EVENT , dwdesiredaccess : u32 , ) -> super::super::Foundation:: HANDLE { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn CreateEventExA ( lpeventattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES , lpname : super::super::Foundation:: PSTR , dwflags : CREATE_EVENT , dwdesiredaccess : u32 ) -> super::super::Foundation:: HANDLE ; } CreateEventExA ( :: std :: mem :: transmute ( lpeventattributes ) , lpname . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwflags ) , :: std :: mem :: transmute ( dwdesiredaccess ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateEventExW < 'a , > ( lpeventattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES , lpname : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , dwflags : CREATE_EVENT , dwdesiredaccess : u32 , ) -> super::super::Foundation:: HANDLE { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn CreateEventExW ( lpeventattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES , lpname : super::super::Foundation:: PWSTR , dwflags : CREATE_EVENT , dwdesiredaccess : u32 ) -> super::super::Foundation:: HANDLE ; } CreateEventExW ( :: std :: mem :: transmute ( lpeventattributes ) , lpname . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwflags ) , :: std :: mem :: transmute ( dwdesiredaccess ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateEventW < 'a , > ( lpeventattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES , bmanualreset : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , binitialstate : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , lpname : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , ) -> super::super::Foundation:: HANDLE { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn CreateEventW ( lpeventattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES , bmanualreset : super::super::Foundation:: BOOL , binitialstate : super::super::Foundation:: BOOL , lpname : super::super::Foundation:: PWSTR ) -> super::super::Foundation:: HANDLE ; } CreateEventW ( :: std :: mem :: transmute ( lpeventattributes ) , bmanualreset . into_param ( ) . abi ( ) , binitialstate . into_param ( ) . abi ( ) , lpname . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateFiber < > ( dwstacksize : usize , lpstartaddress : :: std :: option :: Option < super::WindowsProgramming:: LPFIBER_START_ROUTINE > , lpparameter : * mut :: std :: ffi :: c_void , ) -> * mut :: std :: ffi :: c_void { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn CreateFiber ( dwstacksize : usize , lpstartaddress : :: windows :: RawPtr , lpparameter : * mut :: std :: ffi :: c_void ) -> * mut :: std :: ffi :: c_void ; } CreateFiber ( :: std :: mem :: transmute ( dwstacksize ) , :: std :: mem :: transmute ( lpstartaddress ) , :: std :: mem :: transmute ( lpparameter ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateFiberEx < > ( dwstackcommitsize : usize , dwstackreservesize : usize , dwflags : u32 , lpstartaddress : :: std :: option :: Option < super::WindowsProgramming:: LPFIBER_START_ROUTINE > , lpparameter : * mut :: std :: ffi :: c_void , ) -> * mut :: std :: ffi :: c_void { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn CreateFiberEx ( dwstackcommitsize : usize , dwstackreservesize : usize , dwflags : u32 , lpstartaddress : :: windows :: RawPtr , lpparameter : * mut :: std :: ffi :: c_void ) -> * mut :: std :: ffi :: c_void ; } CreateFiberEx ( :: std :: mem :: transmute ( dwstackcommitsize ) , :: std :: mem :: transmute ( dwstackreservesize ) , :: std :: mem :: transmute ( dwflags ) , :: std :: mem :: transmute ( lpstartaddress ) , :: std :: mem :: transmute ( lpparameter ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateMutexA < 'a , > ( lpmutexattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES , binitialowner : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , lpname : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , ) -> super::super::Foundation:: HANDLE { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn CreateMutexA ( lpmutexattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES , binitialowner : super::super::Foundation:: BOOL , lpname : super::super::Foundation:: PSTR ) -> super::super::Foundation:: HANDLE ; } CreateMutexA ( :: std :: mem :: transmute ( lpmutexattributes ) , binitialowner . into_param ( ) . abi ( ) , lpname . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateMutexExA < 'a , > ( lpmutexattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES , lpname : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , dwflags : u32 , dwdesiredaccess : u32 , ) -> super::super::Foundation:: HANDLE { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn CreateMutexExA ( lpmutexattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES , lpname : super::super::Foundation:: PSTR , dwflags : u32 , dwdesiredaccess : u32 ) -> super::super::Foundation:: HANDLE ; } CreateMutexExA ( :: std :: mem :: transmute ( lpmutexattributes ) , lpname . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwflags ) , :: std :: mem :: transmute ( dwdesiredaccess ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateMutexExW < 'a , > ( lpmutexattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES , lpname : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , dwflags : u32 , dwdesiredaccess : u32 , ) -> super::super::Foundation:: HANDLE { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn CreateMutexExW ( lpmutexattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES , lpname : super::super::Foundation:: PWSTR , dwflags : u32 , dwdesiredaccess : u32 ) -> super::super::Foundation:: HANDLE ; } CreateMutexExW ( :: std :: mem :: transmute ( lpmutexattributes ) , lpname . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwflags ) , :: std :: mem :: transmute ( dwdesiredaccess ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateMutexW < 'a , > ( lpmutexattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES , binitialowner : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , lpname : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , ) -> super::super::Foundation:: HANDLE { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn CreateMutexW ( lpmutexattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES , binitialowner : super::super::Foundation:: BOOL , lpname : super::super::Foundation:: PWSTR ) -> super::super::Foundation:: HANDLE ; } CreateMutexW ( :: std :: mem :: transmute ( lpmutexattributes ) , binitialowner . into_param ( ) . abi ( ) , lpname . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreatePrivateNamespaceA < 'a , > ( lpprivatenamespaceattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES , lpboundarydescriptor : * mut :: std :: ffi :: c_void , lpaliasprefix : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , ) -> NamespaceHandle { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn CreatePrivateNamespaceA ( lpprivatenamespaceattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES , lpboundarydescriptor : * mut :: std :: ffi :: c_void , lpaliasprefix : super::super::Foundation:: PSTR ) -> NamespaceHandle ; } CreatePrivateNamespaceA ( :: std :: mem :: transmute ( lpprivatenamespaceattributes ) , :: std :: mem :: transmute ( lpboundarydescriptor ) , lpaliasprefix . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreatePrivateNamespaceW < 'a , > ( lpprivatenamespaceattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES , lpboundarydescriptor : * mut :: std :: ffi :: c_void , lpaliasprefix : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , ) -> NamespaceHandle { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn CreatePrivateNamespaceW ( lpprivatenamespaceattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES , lpboundarydescriptor : * mut :: std :: ffi :: c_void , lpaliasprefix : super::super::Foundation:: PWSTR ) -> NamespaceHandle ; } CreatePrivateNamespaceW ( :: std :: mem :: transmute ( lpprivatenamespaceattributes ) , :: std :: mem :: transmute ( lpboundarydescriptor ) , lpaliasprefix . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateProcessA < 'a , > ( lpapplicationname : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , lpcommandline : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , lpprocessattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES , lpthreadattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES , binherithandles : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , dwcreationflags : PROCESS_CREATION_FLAGS , lpenvironment : * mut :: std :: ffi :: c_void , lpcurrentdirectory : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , lpstartupinfo : * mut STARTUPINFOA , lpprocessinformation : * mut PROCESS_INFORMATION , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn CreateProcessA ( lpapplicationname : super::super::Foundation:: PSTR , lpcommandline : super::super::Foundation:: PSTR , lpprocessattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES , lpthreadattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES , binherithandles : super::super::Foundation:: BOOL , dwcreationflags : PROCESS_CREATION_FLAGS , lpenvironment : * mut :: std :: ffi :: c_void , lpcurrentdirectory : super::super::Foundation:: PSTR , lpstartupinfo : * mut STARTUPINFOA , lpprocessinformation : * mut PROCESS_INFORMATION ) -> super::super::Foundation:: BOOL ; } CreateProcessA ( lpapplicationname . into_param ( ) . abi ( ) , lpcommandline . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpprocessattributes ) , :: std :: mem :: transmute ( lpthreadattributes ) , binherithandles . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwcreationflags ) , :: std :: mem :: transmute ( lpenvironment ) , lpcurrentdirectory . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpstartupinfo ) , :: std :: mem :: transmute ( lpprocessinformation ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateProcessAsUserA < 'a , > ( htoken : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , lpapplicationname : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , lpcommandline : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , lpprocessattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES , lpthreadattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES , binherithandles : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , dwcreationflags : u32 , lpenvironment : * mut :: std :: ffi :: c_void , lpcurrentdirectory : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , lpstartupinfo : * mut STARTUPINFOA , lpprocessinformation : * mut PROCESS_INFORMATION , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="ADVAPI32" ) ] extern "system" { fn CreateProcessAsUserA ( htoken : super::super::Foundation:: HANDLE , lpapplicationname : super::super::Foundation:: PSTR , lpcommandline : super::super::Foundation:: PSTR , lpprocessattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES , lpthreadattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES , binherithandles : super::super::Foundation:: BOOL , dwcreationflags : u32 , lpenvironment : * mut :: std :: ffi :: c_void , lpcurrentdirectory : super::super::Foundation:: PSTR , lpstartupinfo : * mut STARTUPINFOA , lpprocessinformation : * mut PROCESS_INFORMATION ) -> super::super::Foundation:: BOOL ; } CreateProcessAsUserA ( htoken . into_param ( ) . abi ( ) , lpapplicationname . into_param ( ) . abi ( ) , lpcommandline . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpprocessattributes ) , :: std :: mem :: transmute ( lpthreadattributes ) , binherithandles . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwcreationflags ) , :: std :: mem :: transmute ( lpenvironment ) , lpcurrentdirectory . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpstartupinfo ) , :: std :: mem :: transmute ( lpprocessinformation ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateProcessAsUserW < 'a , > ( htoken : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , lpapplicationname : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , lpcommandline : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , lpprocessattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES , lpthreadattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES , binherithandles : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , dwcreationflags : u32 , lpenvironment : * mut :: std :: ffi :: c_void , lpcurrentdirectory : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , lpstartupinfo : * mut STARTUPINFOW , lpprocessinformation : * mut PROCESS_INFORMATION , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="ADVAPI32" ) ] extern "system" { fn CreateProcessAsUserW ( htoken : super::super::Foundation:: HANDLE , lpapplicationname : super::super::Foundation:: PWSTR , lpcommandline : super::super::Foundation:: PWSTR , lpprocessattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES , lpthreadattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES , binherithandles : super::super::Foundation:: BOOL , dwcreationflags : u32 , lpenvironment : * mut :: std :: ffi :: c_void , lpcurrentdirectory : super::super::Foundation:: PWSTR , lpstartupinfo : * mut STARTUPINFOW , lpprocessinformation : * mut PROCESS_INFORMATION ) -> super::super::Foundation:: BOOL ; } CreateProcessAsUserW ( htoken . into_param ( ) . abi ( ) , lpapplicationname . into_param ( ) . abi ( ) , lpcommandline . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpprocessattributes ) , :: std :: mem :: transmute ( lpthreadattributes ) , binherithandles . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwcreationflags ) , :: std :: mem :: transmute ( lpenvironment ) , lpcurrentdirectory . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpstartupinfo ) , :: std :: mem :: transmute ( lpprocessinformation ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateProcessW < 'a , > ( lpapplicationname : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , lpcommandline : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , lpprocessattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES , lpthreadattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES , binherithandles : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , dwcreationflags : PROCESS_CREATION_FLAGS , lpenvironment : * mut :: std :: ffi :: c_void , lpcurrentdirectory : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , lpstartupinfo : * mut STARTUPINFOW , lpprocessinformation : * mut PROCESS_INFORMATION , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn CreateProcessW ( lpapplicationname : super::super::Foundation:: PWSTR , lpcommandline : super::super::Foundation:: PWSTR , lpprocessattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES , lpthreadattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES , binherithandles : super::super::Foundation:: BOOL , dwcreationflags : PROCESS_CREATION_FLAGS , lpenvironment : * mut :: std :: ffi :: c_void , lpcurrentdirectory : super::super::Foundation:: PWSTR , lpstartupinfo : * mut STARTUPINFOW , lpprocessinformation : * mut PROCESS_INFORMATION ) -> super::super::Foundation:: BOOL ; } CreateProcessW ( lpapplicationname . into_param ( ) . abi ( ) , lpcommandline . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpprocessattributes ) , :: std :: mem :: transmute ( lpthreadattributes ) , binherithandles . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwcreationflags ) , :: std :: mem :: transmute ( lpenvironment ) , lpcurrentdirectory . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpstartupinfo ) , :: std :: mem :: transmute ( lpprocessinformation ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateProcessWithLogonW < 'a , > ( lpusername : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , lpdomain : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , lppassword : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , dwlogonflags : CREATE_PROCESS_LOGON_FLAGS , lpapplicationname : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , lpcommandline : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , dwcreationflags : u32 , lpenvironment : * mut :: std :: ffi :: c_void , lpcurrentdirectory : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , lpstartupinfo : * mut STARTUPINFOW , lpprocessinformation : * mut PROCESS_INFORMATION , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="ADVAPI32" ) ] extern "system" { fn CreateProcessWithLogonW ( lpusername : super::super::Foundation:: PWSTR , lpdomain : super::super::Foundation:: PWSTR , lppassword : super::super::Foundation:: PWSTR , dwlogonflags : CREATE_PROCESS_LOGON_FLAGS , lpapplicationname : super::super::Foundation:: PWSTR , lpcommandline : super::super::Foundation:: PWSTR , dwcreationflags : u32 , lpenvironment : * mut :: std :: ffi :: c_void , lpcurrentdirectory : super::super::Foundation:: PWSTR , lpstartupinfo : * mut STARTUPINFOW , lpprocessinformation : * mut PROCESS_INFORMATION ) -> super::super::Foundation:: BOOL ; } CreateProcessWithLogonW ( lpusername . into_param ( ) . abi ( ) , lpdomain . into_param ( ) . abi ( ) , lppassword . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwlogonflags ) , lpapplicationname . into_param ( ) . abi ( ) , lpcommandline . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwcreationflags ) , :: std :: mem :: transmute ( lpenvironment ) , lpcurrentdirectory . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpstartupinfo ) , :: std :: mem :: transmute ( lpprocessinformation ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateProcessWithTokenW < 'a , > ( htoken : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , dwlogonflags : CREATE_PROCESS_LOGON_FLAGS , lpapplicationname : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , lpcommandline : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , dwcreationflags : u32 , lpenvironment : * mut :: std :: ffi :: c_void , lpcurrentdirectory : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , lpstartupinfo : * mut STARTUPINFOW , lpprocessinformation : * mut PROCESS_INFORMATION , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="ADVAPI32" ) ] extern "system" { fn CreateProcessWithTokenW ( htoken : super::super::Foundation:: HANDLE , dwlogonflags : CREATE_PROCESS_LOGON_FLAGS , lpapplicationname : super::super::Foundation:: PWSTR , lpcommandline : super::super::Foundation:: PWSTR , dwcreationflags : u32 , lpenvironment : * mut :: std :: ffi :: c_void , lpcurrentdirectory : super::super::Foundation:: PWSTR , lpstartupinfo : * mut STARTUPINFOW , lpprocessinformation : * mut PROCESS_INFORMATION ) -> super::super::Foundation:: BOOL ; } CreateProcessWithTokenW ( htoken . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwlogonflags ) , lpapplicationname . into_param ( ) . abi ( ) , lpcommandline . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwcreationflags ) , :: std :: mem :: transmute ( lpenvironment ) , lpcurrentdirectory . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpstartupinfo ) , :: std :: mem :: transmute ( lpprocessinformation ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateRemoteThread < 'a , > ( hprocess : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , lpthreadattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES , dwstacksize : usize , lpstartaddress : :: std :: option :: Option < super::SystemServices:: LPTHREAD_START_ROUTINE > , lpparameter : * mut :: std :: ffi :: c_void , dwcreationflags : u32 , lpthreadid : * mut u32 , ) -> super::super::Foundation:: HANDLE { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn CreateRemoteThread ( hprocess : super::super::Foundation:: HANDLE , lpthreadattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES , dwstacksize : usize , lpstartaddress : :: windows :: RawPtr , lpparameter : * mut :: std :: ffi :: c_void , dwcreationflags : u32 , lpthreadid : * mut u32 ) -> super::super::Foundation:: HANDLE ; } CreateRemoteThread ( hprocess . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpthreadattributes ) , :: std :: mem :: transmute ( dwstacksize ) , :: std :: mem :: transmute ( lpstartaddress ) , :: std :: mem :: transmute ( lpparameter ) , :: std :: mem :: transmute ( dwcreationflags ) , :: std :: mem :: transmute ( lpthreadid ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateRemoteThreadEx < 'a , > ( hprocess : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , lpthreadattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES , dwstacksize : usize , lpstartaddress : :: std :: option :: Option < super::SystemServices:: LPTHREAD_START_ROUTINE > , lpparameter : * mut :: std :: ffi :: c_void , dwcreationflags : u32 , lpattributelist : impl :: windows :: IntoParam < 'a , LPPROC_THREAD_ATTRIBUTE_LIST > , lpthreadid : * mut u32 , ) -> super::super::Foundation:: HANDLE { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn CreateRemoteThreadEx ( hprocess : super::super::Foundation:: HANDLE , lpthreadattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES , dwstacksize : usize , lpstartaddress : :: windows :: RawPtr , lpparameter : * mut :: std :: ffi :: c_void , dwcreationflags : u32 , lpattributelist : LPPROC_THREAD_ATTRIBUTE_LIST , lpthreadid : * mut u32 ) -> super::super::Foundation:: HANDLE ; } CreateRemoteThreadEx ( hprocess . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpthreadattributes ) , :: std :: mem :: transmute ( dwstacksize ) , :: std :: mem :: transmute ( lpstartaddress ) , :: std :: mem :: transmute ( lpparameter ) , :: std :: mem :: transmute ( dwcreationflags ) , lpattributelist . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpthreadid ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateSemaphoreA < 'a , > ( lpsemaphoreattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES , linitialcount : i32 , lmaximumcount : i32 , lpname : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , ) -> super::super::Foundation:: HANDLE { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn CreateSemaphoreA ( lpsemaphoreattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES , linitialcount : i32 , lmaximumcount : i32 , lpname : super::super::Foundation:: PSTR ) -> super::super::Foundation:: HANDLE ; } CreateSemaphoreA ( :: std :: mem :: transmute ( lpsemaphoreattributes ) , :: std :: mem :: transmute ( linitialcount ) , :: std :: mem :: transmute ( lmaximumcount ) , lpname . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateSemaphoreExA < 'a , > ( lpsemaphoreattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES , linitialcount : i32 , lmaximumcount : i32 , lpname : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , dwflags : u32 , dwdesiredaccess : u32 , ) -> super::super::Foundation:: HANDLE { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn CreateSemaphoreExA ( lpsemaphoreattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES , linitialcount : i32 , lmaximumcount : i32 , lpname : super::super::Foundation:: PSTR , dwflags : u32 , dwdesiredaccess : u32 ) -> super::super::Foundation:: HANDLE ; } CreateSemaphoreExA ( :: std :: mem :: transmute ( lpsemaphoreattributes ) , :: std :: mem :: transmute ( linitialcount ) , :: std :: mem :: transmute ( lmaximumcount ) , lpname . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwflags ) , :: std :: mem :: transmute ( dwdesiredaccess ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateSemaphoreExW < 'a , > ( lpsemaphoreattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES , linitialcount : i32 , lmaximumcount : i32 , lpname : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , dwflags : u32 , dwdesiredaccess : u32 , ) -> super::super::Foundation:: HANDLE { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn CreateSemaphoreExW ( lpsemaphoreattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES , linitialcount : i32 , lmaximumcount : i32 , lpname : super::super::Foundation:: PWSTR , dwflags : u32 , dwdesiredaccess : u32 ) -> super::super::Foundation:: HANDLE ; } CreateSemaphoreExW ( :: std :: mem :: transmute ( lpsemaphoreattributes ) , :: std :: mem :: transmute ( linitialcount ) , :: std :: mem :: transmute ( lmaximumcount ) , lpname . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwflags ) , :: std :: mem :: transmute ( dwdesiredaccess ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateSemaphoreW < 'a , > ( lpsemaphoreattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES , linitialcount : i32 , lmaximumcount : i32 , lpname : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , ) -> super::super::Foundation:: HANDLE { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn CreateSemaphoreW ( lpsemaphoreattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES , linitialcount : i32 , lmaximumcount : i32 , lpname : super::super::Foundation:: PWSTR ) -> super::super::Foundation:: HANDLE ; } CreateSemaphoreW ( :: std :: mem :: transmute ( lpsemaphoreattributes ) , :: std :: mem :: transmute ( linitialcount ) , :: std :: mem :: transmute ( lmaximumcount ) , lpname . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateThread < > ( lpthreadattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES , dwstacksize : usize , lpstartaddress : :: std :: option :: Option < super::SystemServices:: LPTHREAD_START_ROUTINE > , lpparameter : * mut :: std :: ffi :: c_void , dwcreationflags : THREAD_CREATION_FLAGS , lpthreadid : * mut u32 , ) -> super::super::Foundation:: HANDLE { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn CreateThread ( lpthreadattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES , dwstacksize : usize , lpstartaddress : :: windows :: RawPtr , lpparameter : * mut :: std :: ffi :: c_void , dwcreationflags : THREAD_CREATION_FLAGS , lpthreadid : * mut u32 ) -> super::super::Foundation:: HANDLE ; } CreateThread ( :: std :: mem :: transmute ( lpthreadattributes ) , :: std :: mem :: transmute ( dwstacksize ) , :: std :: mem :: transmute ( lpstartaddress ) , :: std :: mem :: transmute ( lpparameter ) , :: std :: mem :: transmute ( dwcreationflags ) , :: std :: mem :: transmute ( lpthreadid ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateThreadpool < > ( reserved : * mut :: std :: ffi :: c_void , ) -> PTP_POOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn CreateThreadpool ( reserved : * mut :: std :: ffi :: c_void ) -> PTP_POOL ; } CreateThreadpool ( :: std :: mem :: transmute ( reserved ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateThreadpoolCleanupGroup < > ( ) -> isize { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn CreateThreadpoolCleanupGroup ( ) -> isize ; } CreateThreadpoolCleanupGroup ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateThreadpoolIo < 'a , > ( fl : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , pfnio : :: std :: option :: Option < PTP_WIN32_IO_CALLBACK > , pv : * mut :: std :: ffi :: c_void , pcbe : * mut super::SystemServices:: TP_CALLBACK_ENVIRON_V3 , ) -> * mut super::SystemServices:: TP_IO { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn CreateThreadpoolIo ( fl : super::super::Foundation:: HANDLE , pfnio : :: windows :: RawPtr , pv : * mut :: std :: ffi :: c_void , pcbe : * mut super::SystemServices:: TP_CALLBACK_ENVIRON_V3_abi ) -> * mut super::SystemServices:: TP_IO ; } CreateThreadpoolIo ( fl . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pfnio ) , :: std :: mem :: transmute ( pv ) , :: std :: mem :: transmute ( pcbe ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateThreadpoolTimer < > ( pfnti : :: std :: option :: Option < super::SystemServices:: PTP_TIMER_CALLBACK > , pv : * mut :: std :: ffi :: c_void , pcbe : * mut super::SystemServices:: TP_CALLBACK_ENVIRON_V3 , ) -> * mut super::SystemServices:: TP_TIMER { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn CreateThreadpoolTimer ( pfnti : :: windows :: RawPtr , pv : * mut :: std :: ffi :: c_void , pcbe : * mut super::SystemServices:: TP_CALLBACK_ENVIRON_V3_abi ) -> * mut super::SystemServices:: TP_TIMER ; } CreateThreadpoolTimer ( :: std :: mem :: transmute ( pfnti ) , :: std :: mem :: transmute ( pv ) , :: std :: mem :: transmute ( pcbe ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateThreadpoolWait < > ( pfnwa : :: std :: option :: Option < super::SystemServices:: PTP_WAIT_CALLBACK > , pv : * mut :: std :: ffi :: c_void , pcbe : * mut super::SystemServices:: TP_CALLBACK_ENVIRON_V3 , ) -> * mut super::SystemServices:: TP_WAIT { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn CreateThreadpoolWait ( pfnwa : :: windows :: RawPtr , pv : * mut :: std :: ffi :: c_void , pcbe : * mut super::SystemServices:: TP_CALLBACK_ENVIRON_V3_abi ) -> * mut super::SystemServices:: TP_WAIT ; } CreateThreadpoolWait ( :: std :: mem :: transmute ( pfnwa ) , :: std :: mem :: transmute ( pv ) , :: std :: mem :: transmute ( pcbe ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateThreadpoolWork < > ( pfnwk : :: std :: option :: Option < super::SystemServices:: PTP_WORK_CALLBACK > , pv : * mut :: std :: ffi :: c_void , pcbe : * mut super::SystemServices:: TP_CALLBACK_ENVIRON_V3 , ) -> * mut super::SystemServices:: TP_WORK { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn CreateThreadpoolWork ( pfnwk : :: windows :: RawPtr , pv : * mut :: std :: ffi :: c_void , pcbe : * mut super::SystemServices:: TP_CALLBACK_ENVIRON_V3_abi ) -> * mut super::SystemServices:: TP_WORK ; } CreateThreadpoolWork ( :: std :: mem :: transmute ( pfnwk ) , :: std :: mem :: transmute ( pv ) , :: std :: mem :: transmute ( pcbe ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateTimerQueue < > ( ) -> super::super::Foundation:: HANDLE { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn CreateTimerQueue ( ) -> super::super::Foundation:: HANDLE ; } CreateTimerQueue ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateTimerQueueTimer < 'a , > ( phnewtimer : * mut super::super::Foundation:: HANDLE , timerqueue : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , callback : :: std :: option :: Option < super::SystemServices:: WAITORTIMERCALLBACK > , parameter : * mut :: std :: ffi :: c_void , duetime : u32 , period : u32 , flags : WORKER_THREAD_FLAGS , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn CreateTimerQueueTimer ( phnewtimer : * mut super::super::Foundation:: HANDLE , timerqueue : super::super::Foundation:: HANDLE , callback : :: windows :: RawPtr , parameter : * mut :: std :: ffi :: c_void , duetime : u32 , period : u32 , flags : WORKER_THREAD_FLAGS ) -> super::super::Foundation:: BOOL ; } CreateTimerQueueTimer ( :: std :: mem :: transmute ( phnewtimer ) , timerqueue . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( callback ) , :: std :: mem :: transmute ( parameter ) , :: std :: mem :: transmute ( duetime ) , :: std :: mem :: transmute ( period ) , :: std :: mem :: transmute ( flags ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateUmsCompletionList < > ( umscompletionlist : * mut * mut :: std :: ffi :: c_void , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn CreateUmsCompletionList ( umscompletionlist : * mut * mut :: std :: ffi :: c_void ) -> super::super::Foundation:: BOOL ; } CreateUmsCompletionList ( :: std :: mem :: transmute ( umscompletionlist ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateUmsThreadContext < > ( lpumsthread : * mut * mut :: std :: ffi :: c_void , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn CreateUmsThreadContext ( lpumsthread : * mut * mut :: std :: ffi :: c_void ) -> super::super::Foundation:: BOOL ; } CreateUmsThreadContext ( :: std :: mem :: transmute ( lpumsthread ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateWaitableTimerExW < 'a , > ( lptimerattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES , lptimername : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , dwflags : u32 , dwdesiredaccess : u32 , ) -> super::super::Foundation:: HANDLE { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn CreateWaitableTimerExW ( lptimerattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES , lptimername : super::super::Foundation:: PWSTR , dwflags : u32 , dwdesiredaccess : u32 ) -> super::super::Foundation:: HANDLE ; } CreateWaitableTimerExW ( :: std :: mem :: transmute ( lptimerattributes ) , lptimername . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwflags ) , :: std :: mem :: transmute ( dwdesiredaccess ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateWaitableTimerW < 'a , > ( lptimerattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES , bmanualreset : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , lptimername : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , ) -> super::super::Foundation:: HANDLE { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn CreateWaitableTimerW ( lptimerattributes : * mut super::super::Security:: SECURITY_ATTRIBUTES , bmanualreset : super::super::Foundation:: BOOL , lptimername : super::super::Foundation:: PWSTR ) -> super::super::Foundation:: HANDLE ; } CreateWaitableTimerW ( :: std :: mem :: transmute ( lptimerattributes ) , bmanualreset . into_param ( ) . abi ( ) , lptimername . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn DeleteBoundaryDescriptor < 'a , > ( boundarydescriptor : impl :: windows :: IntoParam < 'a , BoundaryDescriptorHandle > , ) { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn DeleteBoundaryDescriptor ( boundarydescriptor : BoundaryDescriptorHandle ) ; } DeleteBoundaryDescriptor ( boundarydescriptor . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn DeleteCriticalSection < > ( lpcriticalsection : * mut super::SystemServices:: RTL_CRITICAL_SECTION , ) { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn DeleteCriticalSection ( lpcriticalsection : * mut super::SystemServices:: RTL_CRITICAL_SECTION ) ; } DeleteCriticalSection ( :: std :: mem :: transmute ( lpcriticalsection ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn DeleteFiber < > ( lpfiber : * mut :: std :: ffi :: c_void , ) { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn DeleteFiber ( lpfiber : * mut :: std :: ffi :: c_void ) ; } DeleteFiber ( :: std :: mem :: transmute ( lpfiber ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn DeleteProcThreadAttributeList < 'a , > ( lpattributelist : impl :: windows :: IntoParam < 'a , LPPROC_THREAD_ATTRIBUTE_LIST > , ) { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn DeleteProcThreadAttributeList ( lpattributelist : LPPROC_THREAD_ATTRIBUTE_LIST ) ; } DeleteProcThreadAttributeList ( lpattributelist . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn DeleteSynchronizationBarrier < > ( lpbarrier : * mut super::SystemServices:: RTL_BARRIER , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn DeleteSynchronizationBarrier ( lpbarrier : * mut super::SystemServices:: RTL_BARRIER ) -> super::super::Foundation:: BOOL ; } DeleteSynchronizationBarrier ( :: std :: mem :: transmute ( lpbarrier ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn DeleteTimerQueue < 'a , > ( timerqueue : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn DeleteTimerQueue ( timerqueue : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ; } DeleteTimerQueue ( timerqueue . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn DeleteTimerQueueEx < 'a , > ( timerqueue : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , completionevent : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn DeleteTimerQueueEx ( timerqueue : super::super::Foundation:: HANDLE , completionevent : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ; } DeleteTimerQueueEx ( timerqueue . into_param ( ) . abi ( ) , completionevent . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn DeleteTimerQueueTimer < 'a , > ( timerqueue : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , timer : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , completionevent : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn DeleteTimerQueueTimer ( timerqueue : super::super::Foundation:: HANDLE , timer : super::super::Foundation:: HANDLE , completionevent : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ; } DeleteTimerQueueTimer ( timerqueue . into_param ( ) . abi ( ) , timer . into_param ( ) . abi ( ) , completionevent . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn DeleteUmsCompletionList < > ( umscompletionlist : * mut :: std :: ffi :: c_void , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn DeleteUmsCompletionList ( umscompletionlist : * mut :: std :: ffi :: c_void ) -> super::super::Foundation:: BOOL ; } DeleteUmsCompletionList ( :: std :: mem :: transmute ( umscompletionlist ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn DeleteUmsThreadContext < > ( umsthread : * mut :: std :: ffi :: c_void , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn DeleteUmsThreadContext ( umsthread : * mut :: std :: ffi :: c_void ) -> super::super::Foundation:: BOOL ; } DeleteUmsThreadContext ( :: std :: mem :: transmute ( umsthread ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn DequeueUmsCompletionListItems < > ( umscompletionlist : * mut :: std :: ffi :: c_void , waittimeout : u32 , umsthreadlist : * mut * mut :: std :: ffi :: c_void , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn DequeueUmsCompletionListItems ( umscompletionlist : * mut :: std :: ffi :: c_void , waittimeout : u32 , umsthreadlist : * mut * mut :: std :: ffi :: c_void ) -> super::super::Foundation:: BOOL ; } DequeueUmsCompletionListItems ( :: std :: mem :: transmute ( umscompletionlist ) , :: std :: mem :: transmute ( waittimeout ) , :: std :: mem :: transmute ( umsthreadlist ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn DisassociateCurrentThreadFromCallback < > ( pci : * mut super::SystemServices:: TP_CALLBACK_INSTANCE , ) { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn DisassociateCurrentThreadFromCallback ( pci : * mut super::SystemServices:: TP_CALLBACK_INSTANCE ) ; } DisassociateCurrentThreadFromCallback ( :: std :: mem :: transmute ( pci ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn EnterCriticalSection < > ( lpcriticalsection : * mut super::SystemServices:: RTL_CRITICAL_SECTION , ) { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn EnterCriticalSection ( lpcriticalsection : * mut super::SystemServices:: RTL_CRITICAL_SECTION ) ; } EnterCriticalSection ( :: std :: mem :: transmute ( lpcriticalsection ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn EnterSynchronizationBarrier < > ( lpbarrier : * mut super::SystemServices:: RTL_BARRIER , dwflags : u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn EnterSynchronizationBarrier ( lpbarrier : * mut super::SystemServices:: RTL_BARRIER , dwflags : u32 ) -> super::super::Foundation:: BOOL ; } EnterSynchronizationBarrier ( :: std :: mem :: transmute ( lpbarrier ) , :: std :: mem :: transmute ( dwflags ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn EnterUmsSchedulingMode < > ( schedulerstartupinfo : * mut UMS_SCHEDULER_STARTUP_INFO , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn EnterUmsSchedulingMode ( schedulerstartupinfo : * mut UMS_SCHEDULER_STARTUP_INFO_abi ) -> super::super::Foundation:: BOOL ; } EnterUmsSchedulingMode ( :: std :: mem :: transmute ( schedulerstartupinfo ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn ExecuteUmsThread < > ( umsthread : * mut :: std :: ffi :: c_void , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn ExecuteUmsThread ( umsthread : * mut :: std :: ffi :: c_void ) -> super::super::Foundation:: BOOL ; } ExecuteUmsThread ( :: std :: mem :: transmute ( umsthread ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn ExitProcess < > ( uexitcode : u32 , ) { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn ExitProcess ( uexitcode : u32 ) ; } ExitProcess ( :: std :: mem :: transmute ( uexitcode ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn ExitThread < > ( dwexitcode : u32 , ) { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn ExitThread ( dwexitcode : u32 ) ; } ExitThread ( :: std :: mem :: transmute ( dwexitcode ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn FlsAlloc < > ( lpcallback : :: std :: option :: Option < super::SystemServices:: PFLS_CALLBACK_FUNCTION > , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn FlsAlloc ( lpcallback : :: windows :: RawPtr ) -> u32 ; } FlsAlloc ( :: std :: mem :: transmute ( lpcallback ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn FlsFree < > ( dwflsindex : u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn FlsFree ( dwflsindex : u32 ) -> super::super::Foundation:: BOOL ; } FlsFree ( :: std :: mem :: transmute ( dwflsindex ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn FlsGetValue < > ( dwflsindex : u32 , ) -> * mut :: std :: ffi :: c_void { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn FlsGetValue ( dwflsindex : u32 ) -> * mut :: std :: ffi :: c_void ; } FlsGetValue ( :: std :: mem :: transmute ( dwflsindex ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn FlsSetValue < > ( dwflsindex : u32 , lpflsdata : * mut :: std :: ffi :: c_void , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn FlsSetValue ( dwflsindex : u32 , lpflsdata : * mut :: std :: ffi :: c_void ) -> super::super::Foundation:: BOOL ; } FlsSetValue ( :: std :: mem :: transmute ( dwflsindex ) , :: std :: mem :: transmute ( lpflsdata ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn FlushProcessWriteBuffers < > ( ) { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn FlushProcessWriteBuffers ( ) ; } FlushProcessWriteBuffers ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn FreeLibraryWhenCallbackReturns < 'a , > ( pci : * mut super::SystemServices:: TP_CALLBACK_INSTANCE , r#mod : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HINSTANCE > , ) { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn FreeLibraryWhenCallbackReturns ( pci : * mut super::SystemServices:: TP_CALLBACK_INSTANCE , r#mod : super::super::Foundation:: HINSTANCE ) ; } FreeLibraryWhenCallbackReturns ( :: std :: mem :: transmute ( pci ) , r#mod . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct GET_GUI_RESOURCES_FLAGS ( pub u32 ) ; pub const GR_GDIOBJECTS : GET_GUI_RESOURCES_FLAGS = GET_GUI_RESOURCES_FLAGS ( 0u32 ) ; pub const GR_GDIOBJECTS_PEAK : GET_GUI_RESOURCES_FLAGS = GET_GUI_RESOURCES_FLAGS ( 2u32 ) ; pub const GR_USEROBJECTS : GET_GUI_RESOURCES_FLAGS = GET_GUI_RESOURCES_FLAGS ( 1u32 ) ; pub const GR_USEROBJECTS_PEAK : GET_GUI_RESOURCES_FLAGS = GET_GUI_RESOURCES_FLAGS ( 4u32 ) ; impl :: std :: convert :: From < u32 > for GET_GUI_RESOURCES_FLAGS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for GET_GUI_RESOURCES_FLAGS { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for GET_GUI_RESOURCES_FLAGS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for GET_GUI_RESOURCES_FLAGS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for GET_GUI_RESOURCES_FLAGS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for GET_GUI_RESOURCES_FLAGS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub unsafe fn GetActiveProcessorCount < > ( groupnumber : u16 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetActiveProcessorCount ( groupnumber : u16 ) -> u32 ; } GetActiveProcessorCount ( :: std :: mem :: transmute ( groupnumber ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetActiveProcessorGroupCount < > ( ) -> u16 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetActiveProcessorGroupCount ( ) -> u16 ; } GetActiveProcessorGroupCount ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetCurrentProcess < > ( ) -> super::super::Foundation:: HANDLE { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetCurrentProcess ( ) -> super::super::Foundation:: HANDLE ; } GetCurrentProcess ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetCurrentProcessId < > ( ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetCurrentProcessId ( ) -> u32 ; } GetCurrentProcessId ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetCurrentProcessorNumber < > ( ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetCurrentProcessorNumber ( ) -> u32 ; } GetCurrentProcessorNumber ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetCurrentProcessorNumberEx < > ( procnumber : * mut super::Kernel:: PROCESSOR_NUMBER , ) { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetCurrentProcessorNumberEx ( procnumber : * mut super::Kernel:: PROCESSOR_NUMBER ) ; } GetCurrentProcessorNumberEx ( :: std :: mem :: transmute ( procnumber ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetCurrentThread < > ( ) -> super::super::Foundation:: HANDLE { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetCurrentThread ( ) -> super::super::Foundation:: HANDLE ; } GetCurrentThread ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetCurrentThreadId < > ( ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetCurrentThreadId ( ) -> u32 ; } GetCurrentThreadId ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetCurrentThreadStackLimits < > ( lowlimit : * mut usize , highlimit : * mut usize , ) { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetCurrentThreadStackLimits ( lowlimit : * mut usize , highlimit : * mut usize ) ; } GetCurrentThreadStackLimits ( :: std :: mem :: transmute ( lowlimit ) , :: std :: mem :: transmute ( highlimit ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetCurrentUmsThread < > ( ) -> * mut :: std :: ffi :: c_void { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetCurrentUmsThread ( ) -> * mut :: std :: ffi :: c_void ; } GetCurrentUmsThread ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetExitCodeProcess < 'a , > ( hprocess : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , lpexitcode : * mut u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetExitCodeProcess ( hprocess : super::super::Foundation:: HANDLE , lpexitcode : * mut u32 ) -> super::super::Foundation:: BOOL ; } GetExitCodeProcess ( hprocess . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpexitcode ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetExitCodeThread < 'a , > ( hthread : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , lpexitcode : * mut u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetExitCodeThread ( hthread : super::super::Foundation:: HANDLE , lpexitcode : * mut u32 ) -> super::super::Foundation:: BOOL ; } GetExitCodeThread ( hthread . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpexitcode ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetGuiResources < 'a , > ( hprocess : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , uiflags : GET_GUI_RESOURCES_FLAGS , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="USER32" ) ] extern "system" { fn GetGuiResources ( hprocess : super::super::Foundation:: HANDLE , uiflags : GET_GUI_RESOURCES_FLAGS ) -> u32 ; } GetGuiResources ( hprocess . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( uiflags ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetMaximumProcessorCount < > ( groupnumber : u16 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetMaximumProcessorCount ( groupnumber : u16 ) -> u32 ; } GetMaximumProcessorCount ( :: std :: mem :: transmute ( groupnumber ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetMaximumProcessorGroupCount < > ( ) -> u16 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetMaximumProcessorGroupCount ( ) -> u16 ; } GetMaximumProcessorGroupCount ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetNextUmsListItem < > ( umscontext : * mut :: std :: ffi :: c_void , ) -> * mut :: std :: ffi :: c_void { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetNextUmsListItem ( umscontext : * mut :: std :: ffi :: c_void ) -> * mut :: std :: ffi :: c_void ; } GetNextUmsListItem ( :: std :: mem :: transmute ( umscontext ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetNumaAvailableMemoryNode < > ( node : u8 , availablebytes : * mut u64 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetNumaAvailableMemoryNode ( node : u8 , availablebytes : * mut u64 ) -> super::super::Foundation:: BOOL ; } GetNumaAvailableMemoryNode ( :: std :: mem :: transmute ( node ) , :: std :: mem :: transmute ( availablebytes ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetNumaAvailableMemoryNodeEx < > ( node : u16 , availablebytes : * mut u64 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetNumaAvailableMemoryNodeEx ( node : u16 , availablebytes : * mut u64 ) -> super::super::Foundation:: BOOL ; } GetNumaAvailableMemoryNodeEx ( :: std :: mem :: transmute ( node ) , :: std :: mem :: transmute ( availablebytes ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetNumaHighestNodeNumber < > ( highestnodenumber : * mut u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetNumaHighestNodeNumber ( highestnodenumber : * mut u32 ) -> super::super::Foundation:: BOOL ; } GetNumaHighestNodeNumber ( :: std :: mem :: transmute ( highestnodenumber ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetNumaNodeNumberFromHandle < 'a , > ( hfile : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , nodenumber : * mut u16 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetNumaNodeNumberFromHandle ( hfile : super::super::Foundation:: HANDLE , nodenumber : * mut u16 ) -> super::super::Foundation:: BOOL ; } GetNumaNodeNumberFromHandle ( hfile . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( nodenumber ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetNumaNodeProcessorMask < > ( node : u8 , processormask : * mut u64 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetNumaNodeProcessorMask ( node : u8 , processormask : * mut u64 ) -> super::super::Foundation:: BOOL ; } GetNumaNodeProcessorMask ( :: std :: mem :: transmute ( node ) , :: std :: mem :: transmute ( processormask ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetNumaNodeProcessorMaskEx < > ( node : u16 , processormask : * mut super::Kernel:: GROUP_AFFINITY , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetNumaNodeProcessorMaskEx ( node : u16 , processormask : * mut super::Kernel:: GROUP_AFFINITY ) -> super::super::Foundation:: BOOL ; } GetNumaNodeProcessorMaskEx ( :: std :: mem :: transmute ( node ) , :: std :: mem :: transmute ( processormask ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetNumaProcessorNode < > ( processor : u8 , nodenumber : * mut u8 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetNumaProcessorNode ( processor : u8 , nodenumber : * mut u8 ) -> super::super::Foundation:: BOOL ; } GetNumaProcessorNode ( :: std :: mem :: transmute ( processor ) , :: std :: mem :: transmute ( nodenumber ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetNumaProcessorNodeEx < > ( processor : * mut super::Kernel:: PROCESSOR_NUMBER , nodenumber : * mut u16 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetNumaProcessorNodeEx ( processor : * mut super::Kernel:: PROCESSOR_NUMBER , nodenumber : * mut u16 ) -> super::super::Foundation:: BOOL ; } GetNumaProcessorNodeEx ( :: std :: mem :: transmute ( processor ) , :: std :: mem :: transmute ( nodenumber ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetNumaProximityNode < > ( proximityid : u32 , nodenumber : * mut u8 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetNumaProximityNode ( proximityid : u32 , nodenumber : * mut u8 ) -> super::super::Foundation:: BOOL ; } GetNumaProximityNode ( :: std :: mem :: transmute ( proximityid ) , :: std :: mem :: transmute ( nodenumber ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetNumaProximityNodeEx < > ( proximityid : u32 , nodenumber : * mut u16 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetNumaProximityNodeEx ( proximityid : u32 , nodenumber : * mut u16 ) -> super::super::Foundation:: BOOL ; } GetNumaProximityNodeEx ( :: std :: mem :: transmute ( proximityid ) , :: std :: mem :: transmute ( nodenumber ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetPriorityClass < 'a , > ( hprocess : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetPriorityClass ( hprocess : super::super::Foundation:: HANDLE ) -> u32 ; } GetPriorityClass ( hprocess . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetProcessAffinityMask < 'a , > ( hprocess : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , lpprocessaffinitymask : * mut usize , lpsystemaffinitymask : * mut usize , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetProcessAffinityMask ( hprocess : super::super::Foundation:: HANDLE , lpprocessaffinitymask : * mut usize , lpsystemaffinitymask : * mut usize ) -> super::super::Foundation:: BOOL ; } GetProcessAffinityMask ( hprocess . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpprocessaffinitymask ) , :: std :: mem :: transmute ( lpsystemaffinitymask ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetProcessDEPPolicy < 'a , > ( hprocess : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , lpflags : * mut u32 , lppermanent : * mut super::super::Foundation:: BOOL , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetProcessDEPPolicy ( hprocess : super::super::Foundation:: HANDLE , lpflags : * mut u32 , lppermanent : * mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ; } GetProcessDEPPolicy ( hprocess . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpflags ) , :: std :: mem :: transmute ( lppermanent ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetProcessDefaultCpuSets < 'a , > ( process : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , cpusetids : * mut u32 , cpusetidcount : u32 , requiredidcount : * mut u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetProcessDefaultCpuSets ( process : super::super::Foundation:: HANDLE , cpusetids : * mut u32 , cpusetidcount : u32 , requiredidcount : * mut u32 ) -> super::super::Foundation:: BOOL ; } GetProcessDefaultCpuSets ( process . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( cpusetids ) , :: std :: mem :: transmute ( cpusetidcount ) , :: std :: mem :: transmute ( requiredidcount ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetProcessGroupAffinity < 'a , > ( hprocess : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , groupcount : * mut u16 , grouparray : * mut u16 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetProcessGroupAffinity ( hprocess : super::super::Foundation:: HANDLE , groupcount : * mut u16 , grouparray : * mut u16 ) -> super::super::Foundation:: BOOL ; } GetProcessGroupAffinity ( hprocess . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( groupcount ) , :: std :: mem :: transmute ( grouparray ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetProcessHandleCount < 'a , > ( hprocess : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , pdwhandlecount : * mut u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetProcessHandleCount ( hprocess : super::super::Foundation:: HANDLE , pdwhandlecount : * mut u32 ) -> super::super::Foundation:: BOOL ; } GetProcessHandleCount ( hprocess . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pdwhandlecount ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetProcessId < 'a , > ( process : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetProcessId ( process : super::super::Foundation:: HANDLE ) -> u32 ; } GetProcessId ( process . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetProcessIdOfThread < 'a , > ( thread : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetProcessIdOfThread ( thread : super::super::Foundation:: HANDLE ) -> u32 ; } GetProcessIdOfThread ( thread . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetProcessInformation < 'a , > ( hprocess : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , processinformationclass : PROCESS_INFORMATION_CLASS , processinformation : * mut :: std :: ffi :: c_void , processinformationsize : u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetProcessInformation ( hprocess : super::super::Foundation:: HANDLE , processinformationclass : PROCESS_INFORMATION_CLASS , processinformation : * mut :: std :: ffi :: c_void , processinformationsize : u32 ) -> super::super::Foundation:: BOOL ; } GetProcessInformation ( hprocess . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( processinformationclass ) , :: std :: mem :: transmute ( processinformation ) , :: std :: mem :: transmute ( processinformationsize ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetProcessIoCounters < 'a , > ( hprocess : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , lpiocounters : * mut super::SystemServices:: IO_COUNTERS , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetProcessIoCounters ( hprocess : super::super::Foundation:: HANDLE , lpiocounters : * mut super::SystemServices:: IO_COUNTERS ) -> super::super::Foundation:: BOOL ; } GetProcessIoCounters ( hprocess . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpiocounters ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetProcessMitigationPolicy < 'a , > ( hprocess : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , mitigationpolicy : super::SystemServices:: PROCESS_MITIGATION_POLICY , lpbuffer : * mut :: std :: ffi :: c_void , dwlength : usize , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetProcessMitigationPolicy ( hprocess : super::super::Foundation:: HANDLE , mitigationpolicy : super::SystemServices:: PROCESS_MITIGATION_POLICY , lpbuffer : * mut :: std :: ffi :: c_void , dwlength : usize ) -> super::super::Foundation:: BOOL ; } GetProcessMitigationPolicy ( hprocess . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( mitigationpolicy ) , :: std :: mem :: transmute ( lpbuffer ) , :: std :: mem :: transmute ( dwlength ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetProcessPriorityBoost < 'a , > ( hprocess : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , pdisablepriorityboost : * mut super::super::Foundation:: BOOL , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetProcessPriorityBoost ( hprocess : super::super::Foundation:: HANDLE , pdisablepriorityboost : * mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ; } GetProcessPriorityBoost ( hprocess . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pdisablepriorityboost ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetProcessShutdownParameters < > ( lpdwlevel : * mut u32 , lpdwflags : * mut u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetProcessShutdownParameters ( lpdwlevel : * mut u32 , lpdwflags : * mut u32 ) -> super::super::Foundation:: BOOL ; } GetProcessShutdownParameters ( :: std :: mem :: transmute ( lpdwlevel ) , :: std :: mem :: transmute ( lpdwflags ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetProcessTimes < 'a , > ( hprocess : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , lpcreationtime : * mut super::super::Foundation:: FILETIME , lpexittime : * mut super::super::Foundation:: FILETIME , lpkerneltime : * mut super::super::Foundation:: FILETIME , lpusertime : * mut super::super::Foundation:: FILETIME , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetProcessTimes ( hprocess : super::super::Foundation:: HANDLE , lpcreationtime : * mut super::super::Foundation:: FILETIME , lpexittime : * mut super::super::Foundation:: FILETIME , lpkerneltime : * mut super::super::Foundation:: FILETIME , lpusertime : * mut super::super::Foundation:: FILETIME ) -> super::super::Foundation:: BOOL ; } GetProcessTimes ( hprocess . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpcreationtime ) , :: std :: mem :: transmute ( lpexittime ) , :: std :: mem :: transmute ( lpkerneltime ) , :: std :: mem :: transmute ( lpusertime ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetProcessVersion < > ( processid : u32 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetProcessVersion ( processid : u32 ) -> u32 ; } GetProcessVersion ( :: std :: mem :: transmute ( processid ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetProcessWorkingSetSize < 'a , > ( hprocess : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , lpminimumworkingsetsize : * mut usize , lpmaximumworkingsetsize : * mut usize , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetProcessWorkingSetSize ( hprocess : super::super::Foundation:: HANDLE , lpminimumworkingsetsize : * mut usize , lpmaximumworkingsetsize : * mut usize ) -> super::super::Foundation:: BOOL ; } GetProcessWorkingSetSize ( hprocess . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpminimumworkingsetsize ) , :: std :: mem :: transmute ( lpmaximumworkingsetsize ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetStartupInfoW < > ( lpstartupinfo : * mut STARTUPINFOW , ) { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetStartupInfoW ( lpstartupinfo : * mut STARTUPINFOW ) ; } GetStartupInfoW ( :: std :: mem :: transmute ( lpstartupinfo ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetSystemCpuSetInformation < 'a , > ( information : * mut super::SystemServices:: SYSTEM_CPU_SET_INFORMATION , bufferlength : u32 , returnedlength : * mut u32 , process : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , flags : u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetSystemCpuSetInformation ( information : * mut super::SystemServices:: SYSTEM_CPU_SET_INFORMATION , bufferlength : u32 , returnedlength : * mut u32 , process : super::super::Foundation:: HANDLE , flags : u32 ) -> super::super::Foundation:: BOOL ; } GetSystemCpuSetInformation ( :: std :: mem :: transmute ( information ) , :: std :: mem :: transmute ( bufferlength ) , :: std :: mem :: transmute ( returnedlength ) , process . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( flags ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetSystemTimes < > ( lpidletime : * mut super::super::Foundation:: FILETIME , lpkerneltime : * mut super::super::Foundation:: FILETIME , lpusertime : * mut super::super::Foundation:: FILETIME , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetSystemTimes ( lpidletime : * mut super::super::Foundation:: FILETIME , lpkerneltime : * mut super::super::Foundation:: FILETIME , lpusertime : * mut super::super::Foundation:: FILETIME ) -> super::super::Foundation:: BOOL ; } GetSystemTimes ( :: std :: mem :: transmute ( lpidletime ) , :: std :: mem :: transmute ( lpkerneltime ) , :: std :: mem :: transmute ( lpusertime ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetThreadDescription < 'a , > ( hthread : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , ) -> :: windows :: Result < super::super::Foundation:: PWSTR > { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetThreadDescription ( hthread : super::super::Foundation:: HANDLE , ppszthreaddescription : * mut super::super::Foundation:: PWSTR ) -> :: windows :: HRESULT ; } let mut result__ : < super::super::Foundation:: PWSTR as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; GetThreadDescription ( hthread . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < super::super::Foundation:: PWSTR > ( result__ ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetThreadGroupAffinity < 'a , > ( hthread : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , groupaffinity : * mut super::Kernel:: GROUP_AFFINITY , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetThreadGroupAffinity ( hthread : super::super::Foundation:: HANDLE , groupaffinity : * mut super::Kernel:: GROUP_AFFINITY ) -> super::super::Foundation:: BOOL ; } GetThreadGroupAffinity ( hthread . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( groupaffinity ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetThreadIOPendingFlag < 'a , > ( hthread : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , lpioispending : * mut super::super::Foundation:: BOOL , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetThreadIOPendingFlag ( hthread : super::super::Foundation:: HANDLE , lpioispending : * mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ; } GetThreadIOPendingFlag ( hthread . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpioispending ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetThreadId < 'a , > ( thread : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetThreadId ( thread : super::super::Foundation:: HANDLE ) -> u32 ; } GetThreadId ( thread . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetThreadIdealProcessorEx < 'a , > ( hthread : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , lpidealprocessor : * mut super::Kernel:: PROCESSOR_NUMBER , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetThreadIdealProcessorEx ( hthread : super::super::Foundation:: HANDLE , lpidealprocessor : * mut super::Kernel:: PROCESSOR_NUMBER ) -> super::super::Foundation:: BOOL ; } GetThreadIdealProcessorEx ( hthread . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpidealprocessor ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetThreadInformation < 'a , > ( hthread : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , threadinformationclass : THREAD_INFORMATION_CLASS , threadinformation : * mut :: std :: ffi :: c_void , threadinformationsize : u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetThreadInformation ( hthread : super::super::Foundation:: HANDLE , threadinformationclass : THREAD_INFORMATION_CLASS , threadinformation : * mut :: std :: ffi :: c_void , threadinformationsize : u32 ) -> super::super::Foundation:: BOOL ; } GetThreadInformation ( hthread . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( threadinformationclass ) , :: std :: mem :: transmute ( threadinformation ) , :: std :: mem :: transmute ( threadinformationsize ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetThreadPriority < 'a , > ( hthread : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetThreadPriority ( hthread : super::super::Foundation:: HANDLE ) -> i32 ; } GetThreadPriority ( hthread . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetThreadPriorityBoost < 'a , > ( hthread : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , pdisablepriorityboost : * mut super::super::Foundation:: BOOL , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetThreadPriorityBoost ( hthread : super::super::Foundation:: HANDLE , pdisablepriorityboost : * mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ; } GetThreadPriorityBoost ( hthread . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pdisablepriorityboost ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetThreadSelectedCpuSets < 'a , > ( thread : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , cpusetids : * mut u32 , cpusetidcount : u32 , requiredidcount : * mut u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetThreadSelectedCpuSets ( thread : super::super::Foundation:: HANDLE , cpusetids : * mut u32 , cpusetidcount : u32 , requiredidcount : * mut u32 ) -> super::super::Foundation:: BOOL ; } GetThreadSelectedCpuSets ( thread . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( cpusetids ) , :: std :: mem :: transmute ( cpusetidcount ) , :: std :: mem :: transmute ( requiredidcount ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetThreadTimes < 'a , > ( hthread : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , lpcreationtime : * mut super::super::Foundation:: FILETIME , lpexittime : * mut super::super::Foundation:: FILETIME , lpkerneltime : * mut super::super::Foundation:: FILETIME , lpusertime : * mut super::super::Foundation:: FILETIME , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetThreadTimes ( hthread : super::super::Foundation:: HANDLE , lpcreationtime : * mut super::super::Foundation:: FILETIME , lpexittime : * mut super::super::Foundation:: FILETIME , lpkerneltime : * mut super::super::Foundation:: FILETIME , lpusertime : * mut super::super::Foundation:: FILETIME ) -> super::super::Foundation:: BOOL ; } GetThreadTimes ( hthread . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpcreationtime ) , :: std :: mem :: transmute ( lpexittime ) , :: std :: mem :: transmute ( lpkerneltime ) , :: std :: mem :: transmute ( lpusertime ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetUmsCompletionListEvent < > ( umscompletionlist : * mut :: std :: ffi :: c_void , umscompletionevent : * mut super::super::Foundation:: HANDLE , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetUmsCompletionListEvent ( umscompletionlist : * mut :: std :: ffi :: c_void , umscompletionevent : * mut super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ; } GetUmsCompletionListEvent ( :: std :: mem :: transmute ( umscompletionlist ) , :: std :: mem :: transmute ( umscompletionevent ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetUmsSystemThreadInformation < 'a , > ( threadhandle : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , systemthreadinfo : * mut UMS_SYSTEM_THREAD_INFORMATION , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn GetUmsSystemThreadInformation ( threadhandle : super::super::Foundation:: HANDLE , systemthreadinfo : * mut UMS_SYSTEM_THREAD_INFORMATION ) -> super::super::Foundation:: BOOL ; } GetUmsSystemThreadInformation ( threadhandle . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( systemthreadinfo ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn InitOnceBeginInitialize < > ( lpinitonce : * mut super::SystemServices:: RTL_RUN_ONCE , dwflags : u32 , fpending : * mut super::super::Foundation:: BOOL , lpcontext : * mut * mut :: std :: ffi :: c_void , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn InitOnceBeginInitialize ( lpinitonce : * mut super::SystemServices:: RTL_RUN_ONCE , dwflags : u32 , fpending : * mut super::super::Foundation:: BOOL , lpcontext : * mut * mut :: std :: ffi :: c_void ) -> super::super::Foundation:: BOOL ; } InitOnceBeginInitialize ( :: std :: mem :: transmute ( lpinitonce ) , :: std :: mem :: transmute ( dwflags ) , :: std :: mem :: transmute ( fpending ) , :: std :: mem :: transmute ( lpcontext ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn InitOnceComplete < > ( lpinitonce : * mut super::SystemServices:: RTL_RUN_ONCE , dwflags : u32 , lpcontext : * mut :: std :: ffi :: c_void , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn InitOnceComplete ( lpinitonce : * mut super::SystemServices:: RTL_RUN_ONCE , dwflags : u32 , lpcontext : * mut :: std :: ffi :: c_void ) -> super::super::Foundation:: BOOL ; } InitOnceComplete ( :: std :: mem :: transmute ( lpinitonce ) , :: std :: mem :: transmute ( dwflags ) , :: std :: mem :: transmute ( lpcontext ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn InitOnceExecuteOnce < > ( initonce : * mut super::SystemServices:: RTL_RUN_ONCE , initfn : :: std :: option :: Option < PINIT_ONCE_FN > , parameter : * mut :: std :: ffi :: c_void , context : * mut * mut :: std :: ffi :: c_void , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn InitOnceExecuteOnce ( initonce : * mut super::SystemServices:: RTL_RUN_ONCE , initfn : :: windows :: RawPtr , parameter : * mut :: std :: ffi :: c_void , context : * mut * mut :: std :: ffi :: c_void ) -> super::super::Foundation:: BOOL ; } InitOnceExecuteOnce ( :: std :: mem :: transmute ( initonce ) , :: std :: mem :: transmute ( initfn ) , :: std :: mem :: transmute ( parameter ) , :: std :: mem :: transmute ( context ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn InitOnceInitialize < > ( initonce : * mut super::SystemServices:: RTL_RUN_ONCE , ) { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn InitOnceInitialize ( initonce : * mut super::SystemServices:: RTL_RUN_ONCE ) ; } InitOnceInitialize ( :: std :: mem :: transmute ( initonce ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn InitializeConditionVariable < > ( conditionvariable : * mut super::SystemServices:: RTL_CONDITION_VARIABLE , ) { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn InitializeConditionVariable ( conditionvariable : * mut super::SystemServices:: RTL_CONDITION_VARIABLE ) ; } InitializeConditionVariable ( :: std :: mem :: transmute ( conditionvariable ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn InitializeCriticalSection < > ( lpcriticalsection : * mut super::SystemServices:: RTL_CRITICAL_SECTION , ) { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn InitializeCriticalSection ( lpcriticalsection : * mut super::SystemServices:: RTL_CRITICAL_SECTION ) ; } InitializeCriticalSection ( :: std :: mem :: transmute ( lpcriticalsection ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn InitializeCriticalSectionAndSpinCount < > ( lpcriticalsection : * mut super::SystemServices:: RTL_CRITICAL_SECTION , dwspincount : u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn InitializeCriticalSectionAndSpinCount ( lpcriticalsection : * mut super::SystemServices:: RTL_CRITICAL_SECTION , dwspincount : u32 ) -> super::super::Foundation:: BOOL ; } InitializeCriticalSectionAndSpinCount ( :: std :: mem :: transmute ( lpcriticalsection ) , :: std :: mem :: transmute ( dwspincount ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn InitializeCriticalSectionEx < > ( lpcriticalsection : * mut super::SystemServices:: RTL_CRITICAL_SECTION , dwspincount : u32 , flags : u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn InitializeCriticalSectionEx ( lpcriticalsection : * mut super::SystemServices:: RTL_CRITICAL_SECTION , dwspincount : u32 , flags : u32 ) -> super::super::Foundation:: BOOL ; } InitializeCriticalSectionEx ( :: std :: mem :: transmute ( lpcriticalsection ) , :: std :: mem :: transmute ( dwspincount ) , :: std :: mem :: transmute ( flags ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn InitializeProcThreadAttributeList < > ( lpattributelist : LPPROC_THREAD_ATTRIBUTE_LIST , dwattributecount : u32 , dwflags : u32 , lpsize : * mut usize , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn InitializeProcThreadAttributeList ( lpattributelist : LPPROC_THREAD_ATTRIBUTE_LIST , dwattributecount : u32 , dwflags : u32 , lpsize : * mut usize ) -> super::super::Foundation:: BOOL ; } InitializeProcThreadAttributeList ( :: std :: mem :: transmute ( lpattributelist ) , :: std :: mem :: transmute ( dwattributecount ) , :: std :: mem :: transmute ( dwflags ) , :: std :: mem :: transmute ( lpsize ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn InitializeSListHead < > ( listhead : * mut super::Kernel:: SLIST_HEADER , ) { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn InitializeSListHead ( listhead : * mut super::Kernel:: SLIST_HEADER ) ; } InitializeSListHead ( :: std :: mem :: transmute ( listhead ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn InitializeSRWLock < > ( srwlock : * mut super::SystemServices:: RTL_SRWLOCK , ) { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn InitializeSRWLock ( srwlock : * mut super::SystemServices:: RTL_SRWLOCK ) ; } InitializeSRWLock ( :: std :: mem :: transmute ( srwlock ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn InitializeSynchronizationBarrier < > ( lpbarrier : * mut super::SystemServices:: RTL_BARRIER , ltotalthreads : i32 , lspincount : i32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn InitializeSynchronizationBarrier ( lpbarrier : * mut super::SystemServices:: RTL_BARRIER , ltotalthreads : i32 , lspincount : i32 ) -> super::super::Foundation:: BOOL ; } InitializeSynchronizationBarrier ( :: std :: mem :: transmute ( lpbarrier ) , :: std :: mem :: transmute ( ltotalthreads ) , :: std :: mem :: transmute ( lspincount ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn InterlockedFlushSList < > ( listhead : * mut super::Kernel:: SLIST_HEADER , ) -> * mut super::Kernel:: SLIST_ENTRY { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn InterlockedFlushSList ( listhead : * mut super::Kernel:: SLIST_HEADER ) -> * mut super::Kernel:: SLIST_ENTRY ; } InterlockedFlushSList ( :: std :: mem :: transmute ( listhead ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn InterlockedPopEntrySList < > ( listhead : * mut super::Kernel:: SLIST_HEADER , ) -> * mut super::Kernel:: SLIST_ENTRY { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn InterlockedPopEntrySList ( listhead : * mut super::Kernel:: SLIST_HEADER ) -> * mut super::Kernel:: SLIST_ENTRY ; } InterlockedPopEntrySList ( :: std :: mem :: transmute ( listhead ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn InterlockedPushEntrySList < > ( listhead : * mut super::Kernel:: SLIST_HEADER , listentry : * mut super::Kernel:: SLIST_ENTRY , ) -> * mut super::Kernel:: SLIST_ENTRY { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn InterlockedPushEntrySList ( listhead : * mut super::Kernel:: SLIST_HEADER , listentry : * mut super::Kernel:: SLIST_ENTRY ) -> * mut super::Kernel:: SLIST_ENTRY ; } InterlockedPushEntrySList ( :: std :: mem :: transmute ( listhead ) , :: std :: mem :: transmute ( listentry ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn InterlockedPushListSListEx < > ( listhead : * mut super::Kernel:: SLIST_HEADER , list : * mut super::Kernel:: SLIST_ENTRY , listend : * mut super::Kernel:: SLIST_ENTRY , count : u32 , ) -> * mut super::Kernel:: SLIST_ENTRY { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn InterlockedPushListSListEx ( listhead : * mut super::Kernel:: SLIST_HEADER , list : * mut super::Kernel:: SLIST_ENTRY , listend : * mut super::Kernel:: SLIST_ENTRY , count : u32 ) -> * mut super::Kernel:: SLIST_ENTRY ; } InterlockedPushListSListEx ( :: std :: mem :: transmute ( listhead ) , :: std :: mem :: transmute ( list ) , :: std :: mem :: transmute ( listend ) , :: std :: mem :: transmute ( count ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn IsImmersiveProcess < 'a , > ( hprocess : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="USER32" ) ] extern "system" { fn IsImmersiveProcess ( hprocess : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ; } IsImmersiveProcess ( hprocess . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn IsProcessCritical < 'a , > ( hprocess : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , critical : * mut super::super::Foundation:: BOOL , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn IsProcessCritical ( hprocess : super::super::Foundation:: HANDLE , critical : * mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ; } IsProcessCritical ( hprocess . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( critical ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn IsProcessorFeaturePresent < > ( processorfeature : PROCESSOR_FEATURE_ID , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn IsProcessorFeaturePresent ( processorfeature : PROCESSOR_FEATURE_ID ) -> super::super::Foundation:: BOOL ; } IsProcessorFeaturePresent ( :: std :: mem :: transmute ( processorfeature ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn IsThreadAFiber < > ( ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn IsThreadAFiber ( ) -> super::super::Foundation:: BOOL ; } IsThreadAFiber ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn IsThreadpoolTimerSet < > ( pti : * mut super::SystemServices:: TP_TIMER , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn IsThreadpoolTimerSet ( pti : * mut super::SystemServices:: TP_TIMER ) -> super::super::Foundation:: BOOL ; } IsThreadpoolTimerSet ( :: std :: mem :: transmute ( pti ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn IsWow64Process < 'a , > ( hprocess : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , wow64process : * mut super::super::Foundation:: BOOL , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn IsWow64Process ( hprocess : super::super::Foundation:: HANDLE , wow64process : * mut super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ; } IsWow64Process ( hprocess . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( wow64process ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn IsWow64Process2 < 'a , > ( hprocess : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , pprocessmachine : * mut u16 , pnativemachine : * mut u16 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn IsWow64Process2 ( hprocess : super::super::Foundation:: HANDLE , pprocessmachine : * mut u16 , pnativemachine : * mut u16 ) -> super::super::Foundation:: BOOL ; } IsWow64Process2 ( hprocess . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pprocessmachine ) , :: std :: mem :: transmute ( pnativemachine ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( transparent ) ] pub struct LPPROC_THREAD_ATTRIBUTE_LIST ( pub * mut :: std :: ffi :: c_void ) ; impl LPPROC_THREAD_ATTRIBUTE_LIST { } impl :: std :: default :: Default for LPPROC_THREAD_ATTRIBUTE_LIST { fn default ( ) -> Self { Self ( :: std :: ptr :: null_mut ( ) ) } } impl LPPROC_THREAD_ATTRIBUTE_LIST { pub const NULL : Self = Self ( :: std :: ptr :: null_mut ( ) ) ; pub fn is_null ( & self ) -> bool { self . 0 == :: std :: ptr :: null_mut ( ) } } impl :: std :: fmt :: Debug for LPPROC_THREAD_ATTRIBUTE_LIST { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "LPPROC_THREAD_ATTRIBUTE_LIST" ) . field ( "Value" , & self .0 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for LPPROC_THREAD_ATTRIBUTE_LIST { fn eq ( & self , other : & Self ) -> bool { self .0 == other .0 } } impl :: std :: cmp :: Eq for LPPROC_THREAD_ATTRIBUTE_LIST { } unsafe impl :: windows :: Abi for LPPROC_THREAD_ATTRIBUTE_LIST { type Abi = Self ; type DefaultType = Self ; } pub unsafe fn LeaveCriticalSection < > ( lpcriticalsection : * mut super::SystemServices:: RTL_CRITICAL_SECTION , ) { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn LeaveCriticalSection ( lpcriticalsection : * mut super::SystemServices:: RTL_CRITICAL_SECTION ) ; } LeaveCriticalSection ( :: std :: mem :: transmute ( lpcriticalsection ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn LeaveCriticalSectionWhenCallbackReturns < > ( pci : * mut super::SystemServices:: TP_CALLBACK_INSTANCE , pcs : * mut super::SystemServices:: RTL_CRITICAL_SECTION , ) { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn LeaveCriticalSectionWhenCallbackReturns ( pci : * mut super::SystemServices:: TP_CALLBACK_INSTANCE , pcs : * mut super::SystemServices:: RTL_CRITICAL_SECTION ) ; } LeaveCriticalSectionWhenCallbackReturns ( :: std :: mem :: transmute ( pci ) , :: std :: mem :: transmute ( pcs ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct MEMORY_PRIORITY ( pub u32 ) ; pub const MEMORY_PRIORITY_VERY_LOW : MEMORY_PRIORITY = MEMORY_PRIORITY ( 1u32 ) ; pub const MEMORY_PRIORITY_LOW : MEMORY_PRIORITY = MEMORY_PRIORITY ( 2u32 ) ; pub const MEMORY_PRIORITY_MEDIUM : MEMORY_PRIORITY = MEMORY_PRIORITY ( 3u32 ) ; pub const MEMORY_PRIORITY_BELOW_NORMAL : MEMORY_PRIORITY = MEMORY_PRIORITY ( 4u32 ) ; pub const MEMORY_PRIORITY_NORMAL : MEMORY_PRIORITY = MEMORY_PRIORITY ( 5u32 ) ; impl :: std :: convert :: From < u32 > for MEMORY_PRIORITY { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for MEMORY_PRIORITY { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for MEMORY_PRIORITY { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for MEMORY_PRIORITY { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for MEMORY_PRIORITY { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for MEMORY_PRIORITY { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct MEMORY_PRIORITY_INFORMATION { pub MemoryPriority : MEMORY_PRIORITY } impl MEMORY_PRIORITY_INFORMATION { } impl :: std :: default :: Default for MEMORY_PRIORITY_INFORMATION { fn default ( ) -> Self { Self { MemoryPriority : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for MEMORY_PRIORITY_INFORMATION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "MEMORY_PRIORITY_INFORMATION" ) . field ( "MemoryPriority" , & self . MemoryPriority ) . finish ( ) } } impl :: std :: cmp :: PartialEq for MEMORY_PRIORITY_INFORMATION { fn eq ( & self , other : & Self ) -> bool { self . MemoryPriority == other . MemoryPriority } } impl :: std :: cmp :: Eq for MEMORY_PRIORITY_INFORMATION { } unsafe impl :: windows :: Abi for MEMORY_PRIORITY_INFORMATION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct MSG_WAIT_FOR_MULTIPLE_OBJECTS_EX_FLAGS ( pub u32 ) ; pub const MWMO_NONE : MSG_WAIT_FOR_MULTIPLE_OBJECTS_EX_FLAGS = MSG_WAIT_FOR_MULTIPLE_OBJECTS_EX_FLAGS ( 0u32 ) ; pub const MWMO_ALERTABLE : MSG_WAIT_FOR_MULTIPLE_OBJECTS_EX_FLAGS = MSG_WAIT_FOR_MULTIPLE_OBJECTS_EX_FLAGS ( 2u32 ) ; pub const MWMO_INPUTAVAILABLE : MSG_WAIT_FOR_MULTIPLE_OBJECTS_EX_FLAGS = MSG_WAIT_FOR_MULTIPLE_OBJECTS_EX_FLAGS ( 4u32 ) ; pub const MWMO_WAITALL : MSG_WAIT_FOR_MULTIPLE_OBJECTS_EX_FLAGS = MSG_WAIT_FOR_MULTIPLE_OBJECTS_EX_FLAGS ( 1u32 ) ; impl :: std :: convert :: From < u32 > for MSG_WAIT_FOR_MULTIPLE_OBJECTS_EX_FLAGS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for MSG_WAIT_FOR_MULTIPLE_OBJECTS_EX_FLAGS { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for MSG_WAIT_FOR_MULTIPLE_OBJECTS_EX_FLAGS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for MSG_WAIT_FOR_MULTIPLE_OBJECTS_EX_FLAGS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for MSG_WAIT_FOR_MULTIPLE_OBJECTS_EX_FLAGS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for MSG_WAIT_FOR_MULTIPLE_OBJECTS_EX_FLAGS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub unsafe fn MsgWaitForMultipleObjects < 'a , > ( ncount : u32 , phandles : * const super::super::Foundation:: HANDLE , fwaitall : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , dwmilliseconds : u32 , dwwakemask : super::super::UI::WindowsAndMessaging:: QUEUE_STATUS_FLAGS , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="USER32" ) ] extern "system" { fn MsgWaitForMultipleObjects ( ncount : u32 , phandles : * const super::super::Foundation:: HANDLE , fwaitall : super::super::Foundation:: BOOL , dwmilliseconds : u32 , dwwakemask : super::super::UI::WindowsAndMessaging:: QUEUE_STATUS_FLAGS ) -> u32 ; } MsgWaitForMultipleObjects ( :: std :: mem :: transmute ( ncount ) , :: std :: mem :: transmute ( phandles ) , fwaitall . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwmilliseconds ) , :: std :: mem :: transmute ( dwwakemask ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn MsgWaitForMultipleObjectsEx < > ( ncount : u32 , phandles : * const super::super::Foundation:: HANDLE , dwmilliseconds : u32 , dwwakemask : super::super::UI::WindowsAndMessaging:: QUEUE_STATUS_FLAGS , dwflags : MSG_WAIT_FOR_MULTIPLE_OBJECTS_EX_FLAGS , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="USER32" ) ] extern "system" { fn MsgWaitForMultipleObjectsEx ( ncount : u32 , phandles : * const super::super::Foundation:: HANDLE , dwmilliseconds : u32 , dwwakemask : super::super::UI::WindowsAndMessaging:: QUEUE_STATUS_FLAGS , dwflags : MSG_WAIT_FOR_MULTIPLE_OBJECTS_EX_FLAGS ) -> u32 ; } MsgWaitForMultipleObjectsEx ( :: std :: mem :: transmute ( ncount ) , :: std :: mem :: transmute ( phandles ) , :: std :: mem :: transmute ( dwmilliseconds ) , :: std :: mem :: transmute ( dwwakemask ) , :: std :: mem :: transmute ( dwflags ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( transparent ) ] pub struct NamespaceHandle ( pub isize ) ; impl NamespaceHandle { } impl :: std :: default :: Default for NamespaceHandle { fn default ( ) -> Self { Self ( 0 ) } } impl NamespaceHandle { pub const NULL : Self = Self ( 0 ) ; pub fn is_null ( & self ) -> bool { self . 0 == 0 } } impl :: std :: fmt :: Debug for NamespaceHandle { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "NamespaceHandle" ) . field ( "Value" , & self .0 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for NamespaceHandle { fn eq ( & self , other : & Self ) -> bool { self .0 == other .0 } } impl :: std :: cmp :: Eq for NamespaceHandle { } unsafe impl :: windows :: Abi for NamespaceHandle { type Abi = Self ; type DefaultType = Self ; } pub unsafe fn NtQueryInformationProcess < 'a , > ( processhandle : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , processinformationclass : PROCESSINFOCLASS , processinformation : * mut :: std :: ffi :: c_void , processinformationlength : u32 , returnlength : * mut u32 , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="ntdll" ) ] extern "system" { fn NtQueryInformationProcess ( processhandle : super::super::Foundation:: HANDLE , processinformationclass : PROCESSINFOCLASS , processinformation : * mut :: std :: ffi :: c_void , processinformationlength : u32 , returnlength : * mut u32 ) -> super::super::Foundation:: NTSTATUS ; } NtQueryInformationProcess ( processhandle . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( processinformationclass ) , :: std :: mem :: transmute ( processinformation ) , :: std :: mem :: transmute ( processinformationlength ) , :: std :: mem :: transmute ( returnlength ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn NtQueryInformationThread < 'a , > ( threadhandle : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , threadinformationclass : THREADINFOCLASS , threadinformation : * mut :: std :: ffi :: c_void , threadinformationlength : u32 , returnlength : * mut u32 , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="ntdll" ) ] extern "system" { fn NtQueryInformationThread ( threadhandle : super::super::Foundation:: HANDLE , threadinformationclass : THREADINFOCLASS , threadinformation : * mut :: std :: ffi :: c_void , threadinformationlength : u32 , returnlength : * mut u32 ) -> super::super::Foundation:: NTSTATUS ; } NtQueryInformationThread ( threadhandle . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( threadinformationclass ) , :: std :: mem :: transmute ( threadinformation ) , :: std :: mem :: transmute ( threadinformationlength ) , :: std :: mem :: transmute ( returnlength ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OpenEventA < 'a , > ( dwdesiredaccess : u32 , binherithandle : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , lpname : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , ) -> super::super::Foundation:: HANDLE { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn OpenEventA ( dwdesiredaccess : u32 , binherithandle : super::super::Foundation:: BOOL , lpname : super::super::Foundation:: PSTR ) -> super::super::Foundation:: HANDLE ; } OpenEventA ( :: std :: mem :: transmute ( dwdesiredaccess ) , binherithandle . into_param ( ) . abi ( ) , lpname . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OpenEventW < 'a , > ( dwdesiredaccess : u32 , binherithandle : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , lpname : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , ) -> super::super::Foundation:: HANDLE { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn OpenEventW ( dwdesiredaccess : u32 , binherithandle : super::super::Foundation:: BOOL , lpname : super::super::Foundation:: PWSTR ) -> super::super::Foundation:: HANDLE ; } OpenEventW ( :: std :: mem :: transmute ( dwdesiredaccess ) , binherithandle . into_param ( ) . abi ( ) , lpname . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OpenMutexW < 'a , > ( dwdesiredaccess : u32 , binherithandle : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , lpname : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , ) -> super::super::Foundation:: HANDLE { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn OpenMutexW ( dwdesiredaccess : u32 , binherithandle : super::super::Foundation:: BOOL , lpname : super::super::Foundation:: PWSTR ) -> super::super::Foundation:: HANDLE ; } OpenMutexW ( :: std :: mem :: transmute ( dwdesiredaccess ) , binherithandle . into_param ( ) . abi ( ) , lpname . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OpenPrivateNamespaceA < 'a , > ( lpboundarydescriptor : * mut :: std :: ffi :: c_void , lpaliasprefix : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , ) -> NamespaceHandle { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn OpenPrivateNamespaceA ( lpboundarydescriptor : * mut :: std :: ffi :: c_void , lpaliasprefix : super::super::Foundation:: PSTR ) -> NamespaceHandle ; } OpenPrivateNamespaceA ( :: std :: mem :: transmute ( lpboundarydescriptor ) , lpaliasprefix . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OpenPrivateNamespaceW < 'a , > ( lpboundarydescriptor : * mut :: std :: ffi :: c_void , lpaliasprefix : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , ) -> NamespaceHandle { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn OpenPrivateNamespaceW ( lpboundarydescriptor : * mut :: std :: ffi :: c_void , lpaliasprefix : super::super::Foundation:: PWSTR ) -> NamespaceHandle ; } OpenPrivateNamespaceW ( :: std :: mem :: transmute ( lpboundarydescriptor ) , lpaliasprefix . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OpenProcess < 'a , > ( dwdesiredaccess : PROCESS_ACCESS_RIGHTS , binherithandle : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , dwprocessid : u32 , ) -> super::super::Foundation:: HANDLE { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn OpenProcess ( dwdesiredaccess : PROCESS_ACCESS_RIGHTS , binherithandle : super::super::Foundation:: BOOL , dwprocessid : u32 ) -> super::super::Foundation:: HANDLE ; } OpenProcess ( :: std :: mem :: transmute ( dwdesiredaccess ) , binherithandle . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwprocessid ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OpenProcessToken < 'a , > ( processhandle : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , desiredaccess : super::super::Security:: TOKEN_ACCESS_MASK , tokenhandle : * mut super::super::Foundation:: HANDLE , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="ADVAPI32" ) ] extern "system" { fn OpenProcessToken ( processhandle : super::super::Foundation:: HANDLE , desiredaccess : super::super::Security:: TOKEN_ACCESS_MASK , tokenhandle : * mut super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ; } OpenProcessToken ( processhandle . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( desiredaccess ) , :: std :: mem :: transmute ( tokenhandle ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OpenSemaphoreW < 'a , > ( dwdesiredaccess : u32 , binherithandle : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , lpname : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , ) -> super::super::Foundation:: HANDLE { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn OpenSemaphoreW ( dwdesiredaccess : u32 , binherithandle : super::super::Foundation:: BOOL , lpname : super::super::Foundation:: PWSTR ) -> super::super::Foundation:: HANDLE ; } OpenSemaphoreW ( :: std :: mem :: transmute ( dwdesiredaccess ) , binherithandle . into_param ( ) . abi ( ) , lpname . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OpenThread < 'a , > ( dwdesiredaccess : u32 , binherithandle : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , dwthreadid : u32 , ) -> super::super::Foundation:: HANDLE { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn OpenThread ( dwdesiredaccess : u32 , binherithandle : super::super::Foundation:: BOOL , dwthreadid : u32 ) -> super::super::Foundation:: HANDLE ; } OpenThread ( :: std :: mem :: transmute ( dwdesiredaccess ) , binherithandle . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwthreadid ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OpenThreadToken < 'a , > ( threadhandle : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , desiredaccess : super::super::Security:: TOKEN_ACCESS_MASK , openasself : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , tokenhandle : * mut super::super::Foundation:: HANDLE , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="ADVAPI32" ) ] extern "system" { fn OpenThreadToken ( threadhandle : super::super::Foundation:: HANDLE , desiredaccess : super::super::Security:: TOKEN_ACCESS_MASK , openasself : super::super::Foundation:: BOOL , tokenhandle : * mut super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ; } OpenThreadToken ( threadhandle . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( desiredaccess ) , openasself . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( tokenhandle ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OpenWaitableTimerW < 'a , > ( dwdesiredaccess : u32 , binherithandle : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , lptimername : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , ) -> super::super::Foundation:: HANDLE { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn OpenWaitableTimerW ( dwdesiredaccess : u32 , binherithandle : super::super::Foundation:: BOOL , lptimername : super::super::Foundation:: PWSTR ) -> super::super::Foundation:: HANDLE ; } OpenWaitableTimerW ( :: std :: mem :: transmute ( dwdesiredaccess ) , binherithandle . into_param ( ) . abi ( ) , lptimername . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: clone :: Clone ) ] # [ repr ( C ) ] pub struct PEB { pub Reserved1 : [ u8 ;2 ] , pub BeingDebugged : u8 , pub Reserved2 : [ u8 ;1 ] , pub Reserved3 : [ * mut :: std :: ffi :: c_void ;2 ] , pub Ldr : * mut PEB_LDR_DATA , pub ProcessParameters : * mut RTL_USER_PROCESS_PARAMETERS , pub Reserved4 : [ * mut :: std :: ffi :: c_void ;3 ] , pub AtlThunkSListPtr : * mut :: std :: ffi :: c_void , pub Reserved5 : * mut :: std :: ffi :: c_void , pub Reserved6 : u32 , pub Reserved7 : * mut :: std :: ffi :: c_void , pub Reserved8 : u32 , pub AtlThunkSListPtr32 : u32 , pub Reserved9 : [ * mut :: std :: ffi :: c_void ;45 ] , pub Reserved10 : [ u8 ;96 ] , pub PostProcessInitRoutine : :: std :: option :: Option < super::WindowsProgramming:: PPS_POST_PROCESS_INIT_ROUTINE > , pub Reserved11 : [ u8 ;128 ] , pub Reserved12 : [ * mut :: std :: ffi :: c_void ;1 ] , pub SessionId : u32 } impl PEB { } impl :: std :: default :: Default for PEB { fn default ( ) -> Self { Self { Reserved1 : [ 0 ;2 ] , BeingDebugged : 0 , Reserved2 : [ 0 ;1 ] , Reserved3 : [ :: std :: ptr :: null_mut ( ) ;2 ] , Ldr : :: std :: ptr :: null_mut ( ) , ProcessParameters : :: std :: ptr :: null_mut ( ) , Reserved4 : [ :: std :: ptr :: null_mut ( ) ;3 ] , AtlThunkSListPtr : :: std :: ptr :: null_mut ( ) , Reserved5 : :: std :: ptr :: null_mut ( ) , Reserved6 : 0 , Reserved7 : :: std :: ptr :: null_mut ( ) , Reserved8 : 0 , AtlThunkSListPtr32 : 0 , Reserved9 : [ :: std :: ptr :: null_mut ( ) ;45 ] , Reserved10 : [ 0 ;96 ] , PostProcessInitRoutine : :: std :: default :: Default :: default ( ) , Reserved11 : [ 0 ;128 ] , Reserved12 : [ :: std :: ptr :: null_mut ( ) ;1 ] , SessionId : 0 } } } impl :: std :: fmt :: Debug for PEB { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "PEB" ) . field ( "Reserved1" , & self . Reserved1 ) . field ( "BeingDebugged" , & self . BeingDebugged ) . field ( "Reserved2" , & self . Reserved2 ) . field ( "Reserved3" , & self . Reserved3 ) . field ( "Ldr" , & self . Ldr ) . field ( "ProcessParameters" , & self . ProcessParameters ) . field ( "Reserved4" , & self . Reserved4 ) . field ( "AtlThunkSListPtr" , & self . AtlThunkSListPtr ) . field ( "Reserved5" , & self . Reserved5 ) . field ( "Reserved6" , & self . Reserved6 ) . field ( "Reserved7" , & self . Reserved7 ) . field ( "Reserved8" , & self . Reserved8 ) . field ( "AtlThunkSListPtr32" , & self . AtlThunkSListPtr32 ) . field ( "Reserved9" , & self . Reserved9 ) . field ( "Reserved10" , & self . Reserved10 ) . field ( "Reserved11" , & self . Reserved11 ) . field ( "Reserved12" , & self . Reserved12 ) . field ( "SessionId" , & self . SessionId ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PEB { fn eq ( & self , other : & Self ) -> bool { self . Reserved1 == other . Reserved1 && self . BeingDebugged == other . BeingDebugged && self . Reserved2 == other . Reserved2 && self . Reserved3 == other . Reserved3 && self . Ldr == other . Ldr && self . ProcessParameters == other . ProcessParameters && self . Reserved4 == other . Reserved4 && self . AtlThunkSListPtr == other . AtlThunkSListPtr && self . Reserved5 == other . Reserved5 && self . Reserved6 == other . Reserved6 && self . Reserved7 == other . Reserved7 && self . Reserved8 == other . Reserved8 && self . AtlThunkSListPtr32 == other . AtlThunkSListPtr32 && self . Reserved9 == other . Reserved9 && self . Reserved10 == other . Reserved10 && self . PostProcessInitRoutine . map ( | f | f as usize ) == other . PostProcessInitRoutine . map ( | f | f as usize ) && self . Reserved11 == other . Reserved11 && self . Reserved12 == other . Reserved12 && self . SessionId == other . SessionId } } impl :: std :: cmp :: Eq for PEB { } # [ repr ( C ) ] # [ doc ( hidden ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct PEB_abi { pub Reserved1 : [ u8 ;2 ] , pub BeingDebugged : u8 , pub Reserved2 : [ u8 ;1 ] , pub Reserved3 : [ * mut :: std :: ffi :: c_void ;2 ] , pub Ldr : * mut PEB_LDR_DATA , pub ProcessParameters : * mut RTL_USER_PROCESS_PARAMETERS , pub Reserved4 : [ * mut :: std :: ffi :: c_void ;3 ] , pub AtlThunkSListPtr : * mut :: std :: ffi :: c_void , pub Reserved5 : * mut :: std :: ffi :: c_void , pub Reserved6 : u32 , pub Reserved7 : * mut :: std :: ffi :: c_void , pub Reserved8 : u32 , pub AtlThunkSListPtr32 : u32 , pub Reserved9 : [ * mut :: std :: ffi :: c_void ;45 ] , pub Reserved10 : [ u8 ;96 ] , pub PostProcessInitRoutine : :: windows :: RawPtr , pub Reserved11 : [ u8 ;128 ] , pub Reserved12 : [ * mut :: std :: ffi :: c_void ;1 ] , pub SessionId : u32 } unsafe impl :: windows :: Abi for PEB { type Abi = PEB_abi ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PEB_LDR_DATA { pub Reserved1 : [ u8 ;8 ] , pub Reserved2 : [ * mut :: std :: ffi :: c_void ;3 ] , pub InMemoryOrderModuleList : super::Kernel:: LIST_ENTRY } impl PEB_LDR_DATA { } impl :: std :: default :: Default for PEB_LDR_DATA { fn default ( ) -> Self { Self { Reserved1 : [ 0 ;8 ] , Reserved2 : [ :: std :: ptr :: null_mut ( ) ;3 ] , InMemoryOrderModuleList : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for PEB_LDR_DATA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "PEB_LDR_DATA" ) . field ( "Reserved1" , & self . Reserved1 ) . field ( "Reserved2" , & self . Reserved2 ) . field ( "InMemoryOrderModuleList" , & self . InMemoryOrderModuleList ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PEB_LDR_DATA { fn eq ( & self , other : & Self ) -> bool { self . Reserved1 == other . Reserved1 && self . Reserved2 == other . Reserved2 && self . InMemoryOrderModuleList == other . InMemoryOrderModuleList } } impl :: std :: cmp :: Eq for PEB_LDR_DATA { } unsafe impl :: windows :: Abi for PEB_LDR_DATA { type Abi = Self ; type DefaultType = Self ; } pub type PINIT_ONCE_FN = unsafe extern "system" fn ( initonce : * mut super::SystemServices:: RTL_RUN_ONCE , parameter : * mut :: std :: ffi :: c_void , context : * mut * mut :: std :: ffi :: c_void ) -> super::super::Foundation:: BOOL ; pub const PME_CURRENT_VERSION : u32 = 1u32 ; pub const PME_FAILFAST_ON_COMMIT_FAIL_DISABLE : u32 = 0u32 ; pub const PME_FAILFAST_ON_COMMIT_FAIL_ENABLE : u32 = 1u32 ; pub const PRIVATE_NAMESPACE_FLAG_DESTROY : u32 = 1u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct PROCESSINFOCLASS ( pub i32 ) ; pub const ProcessBasicInformation : PROCESSINFOCLASS = PROCESSINFOCLASS ( 0i32 ) ; pub const ProcessDebugPort : PROCESSINFOCLASS = PROCESSINFOCLASS ( 7i32 ) ; pub const ProcessWow64Information : PROCESSINFOCLASS = PROCESSINFOCLASS ( 26i32 ) ; pub const ProcessImageFileName : PROCESSINFOCLASS = PROCESSINFOCLASS ( 27i32 ) ; pub const ProcessBreakOnTermination : PROCESSINFOCLASS = PROCESSINFOCLASS ( 29i32 ) ; impl :: std :: convert :: From < i32 > for PROCESSINFOCLASS { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for PROCESSINFOCLASS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct PROCESSOR_FEATURE_ID ( pub u32 ) ; pub const PF_ARM_64BIT_LOADSTORE_ATOMIC : PROCESSOR_FEATURE_ID = PROCESSOR_FEATURE_ID ( 25u32 ) ; pub const PF_ARM_DIVIDE_INSTRUCTION_AVAILABLE : PROCESSOR_FEATURE_ID = PROCESSOR_FEATURE_ID ( 24u32 ) ; pub const PF_ARM_EXTERNAL_CACHE_AVAILABLE : PROCESSOR_FEATURE_ID = PROCESSOR_FEATURE_ID ( 26u32 ) ; pub const PF_ARM_FMAC_INSTRUCTIONS_AVAILABLE : PROCESSOR_FEATURE_ID = PROCESSOR_FEATURE_ID ( 27u32 ) ; pub const PF_ARM_VFP_32_REGISTERS_AVAILABLE : PROCESSOR_FEATURE_ID = PROCESSOR_FEATURE_ID ( 18u32 ) ; pub const PF_3DNOW_INSTRUCTIONS_AVAILABLE : PROCESSOR_FEATURE_ID = PROCESSOR_FEATURE_ID ( 7u32 ) ; pub const PF_CHANNELS_ENABLED : PROCESSOR_FEATURE_ID = PROCESSOR_FEATURE_ID ( 16u32 ) ; pub const PF_COMPARE_EXCHANGE_DOUBLE : PROCESSOR_FEATURE_ID = PROCESSOR_FEATURE_ID ( 2u32 ) ; pub const PF_COMPARE_EXCHANGE128 : PROCESSOR_FEATURE_ID = PROCESSOR_FEATURE_ID ( 14u32 ) ; pub const PF_COMPARE64_EXCHANGE128 : PROCESSOR_FEATURE_ID = PROCESSOR_FEATURE_ID ( 15u32 ) ; pub const PF_FASTFAIL_AVAILABLE : PROCESSOR_FEATURE_ID = PROCESSOR_FEATURE_ID ( 23u32 ) ; pub const PF_FLOATING_POINT_EMULATED : PROCESSOR_FEATURE_ID = PROCESSOR_FEATURE_ID ( 1u32 ) ; pub const PF_FLOATING_POINT_PRECISION_ERRATA : PROCESSOR_FEATURE_ID = PROCESSOR_FEATURE_ID ( 0u32 ) ; pub const PF_MMX_INSTRUCTIONS_AVAILABLE : PROCESSOR_FEATURE_ID = PROCESSOR_FEATURE_ID ( 3u32 ) ; pub const PF_NX_ENABLED : PROCESSOR_FEATURE_ID = PROCESSOR_FEATURE_ID ( 12u32 ) ; pub const PF_PAE_ENABLED : PROCESSOR_FEATURE_ID = PROCESSOR_FEATURE_ID ( 9u32 ) ; pub const PF_RDTSC_INSTRUCTION_AVAILABLE : PROCESSOR_FEATURE_ID = PROCESSOR_FEATURE_ID ( 8u32 ) ; pub const PF_RDWRFSGSBASE_AVAILABLE : PROCESSOR_FEATURE_ID = PROCESSOR_FEATURE_ID ( 22u32 ) ; pub const PF_SECOND_LEVEL_ADDRESS_TRANSLATION : PROCESSOR_FEATURE_ID = PROCESSOR_FEATURE_ID ( 20u32 ) ; pub const PF_SSE3_INSTRUCTIONS_AVAILABLE : PROCESSOR_FEATURE_ID = PROCESSOR_FEATURE_ID ( 13u32 ) ; pub const PF_VIRT_FIRMWARE_ENABLED : PROCESSOR_FEATURE_ID = PROCESSOR_FEATURE_ID ( 21u32 ) ; pub const PF_XMMI_INSTRUCTIONS_AVAILABLE : PROCESSOR_FEATURE_ID = PROCESSOR_FEATURE_ID ( 6u32 ) ; pub const PF_XMMI64_INSTRUCTIONS_AVAILABLE : PROCESSOR_FEATURE_ID = PROCESSOR_FEATURE_ID ( 10u32 ) ; pub const PF_XSAVE_ENABLED : PROCESSOR_FEATURE_ID = PROCESSOR_FEATURE_ID ( 17u32 ) ; pub const PF_ARM_V8_INSTRUCTIONS_AVAILABLE : PROCESSOR_FEATURE_ID = PROCESSOR_FEATURE_ID ( 29u32 ) ; pub const PF_ARM_V8_CRYPTO_INSTRUCTIONS_AVAILABLE : PROCESSOR_FEATURE_ID = PROCESSOR_FEATURE_ID ( 30u32 ) ; pub const PF_ARM_V8_CRC32_INSTRUCTIONS_AVAILABLE : PROCESSOR_FEATURE_ID = PROCESSOR_FEATURE_ID ( 31u32 ) ; pub const PF_ARM_V81_ATOMIC_INSTRUCTIONS_AVAILABLE : PROCESSOR_FEATURE_ID = PROCESSOR_FEATURE_ID ( 34u32 ) ; impl :: std :: convert :: From < u32 > for PROCESSOR_FEATURE_ID { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for PROCESSOR_FEATURE_ID { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for PROCESSOR_FEATURE_ID { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for PROCESSOR_FEATURE_ID { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for PROCESSOR_FEATURE_ID { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for PROCESSOR_FEATURE_ID { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct PROCESS_ACCESS_RIGHTS ( pub u32 ) ; pub const PROCESS_TERMINATE : PROCESS_ACCESS_RIGHTS = PROCESS_ACCESS_RIGHTS ( 1u32 ) ; pub const PROCESS_CREATE_THREAD : PROCESS_ACCESS_RIGHTS = PROCESS_ACCESS_RIGHTS ( 2u32 ) ; pub const PROCESS_SET_SESSIONID : PROCESS_ACCESS_RIGHTS = PROCESS_ACCESS_RIGHTS ( 4u32 ) ; pub const PROCESS_VM_OPERATION : PROCESS_ACCESS_RIGHTS = PROCESS_ACCESS_RIGHTS ( 8u32 ) ; pub const PROCESS_VM_READ : PROCESS_ACCESS_RIGHTS = PROCESS_ACCESS_RIGHTS ( 16u32 ) ; pub const PROCESS_VM_WRITE : PROCESS_ACCESS_RIGHTS = PROCESS_ACCESS_RIGHTS ( 32u32 ) ; pub const PROCESS_DUP_HANDLE : PROCESS_ACCESS_RIGHTS = PROCESS_ACCESS_RIGHTS ( 64u32 ) ; pub const PROCESS_CREATE_PROCESS : PROCESS_ACCESS_RIGHTS = PROCESS_ACCESS_RIGHTS ( 128u32 ) ; pub const PROCESS_SET_QUOTA : PROCESS_ACCESS_RIGHTS = PROCESS_ACCESS_RIGHTS ( 256u32 ) ; pub const PROCESS_SET_INFORMATION : PROCESS_ACCESS_RIGHTS = PROCESS_ACCESS_RIGHTS ( 512u32 ) ; pub const PROCESS_QUERY_INFORMATION : PROCESS_ACCESS_RIGHTS = PROCESS_ACCESS_RIGHTS ( 1024u32 ) ; pub const PROCESS_SUSPEND_RESUME : PROCESS_ACCESS_RIGHTS = PROCESS_ACCESS_RIGHTS ( 2048u32 ) ; pub const PROCESS_QUERY_LIMITED_INFORMATION : PROCESS_ACCESS_RIGHTS = PROCESS_ACCESS_RIGHTS ( 4096u32 ) ; pub const PROCESS_SET_LIMITED_INFORMATION : PROCESS_ACCESS_RIGHTS = PROCESS_ACCESS_RIGHTS ( 8192u32 ) ; pub const PROCESS_ALL_ACCESS : PROCESS_ACCESS_RIGHTS = PROCESS_ACCESS_RIGHTS ( 2097151u32 ) ; pub const PROCESS_DELETE : PROCESS_ACCESS_RIGHTS = PROCESS_ACCESS_RIGHTS ( 65536u32 ) ; pub const PROCESS_READ_CONTROL : PROCESS_ACCESS_RIGHTS = PROCESS_ACCESS_RIGHTS ( 131072u32 ) ; pub const PROCESS_WRITE_DAC : PROCESS_ACCESS_RIGHTS = PROCESS_ACCESS_RIGHTS ( 262144u32 ) ; pub const PROCESS_WRITE_OWNER : PROCESS_ACCESS_RIGHTS = PROCESS_ACCESS_RIGHTS ( 524288u32 ) ; pub const PROCESS_SYNCHRONIZE : PROCESS_ACCESS_RIGHTS = PROCESS_ACCESS_RIGHTS ( 1048576u32 ) ; pub const PROCESS_STANDARD_RIGHTS_REQUIRED : PROCESS_ACCESS_RIGHTS = PROCESS_ACCESS_RIGHTS ( 983040u32 ) ; impl :: std :: convert :: From < u32 > for PROCESS_ACCESS_RIGHTS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for PROCESS_ACCESS_RIGHTS { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for PROCESS_ACCESS_RIGHTS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for PROCESS_ACCESS_RIGHTS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for PROCESS_ACCESS_RIGHTS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for PROCESS_ACCESS_RIGHTS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct PROCESS_AFFINITY_AUTO_UPDATE_FLAGS ( pub u32 ) ; pub const PROCESS_AFFINITY_DISABLE_AUTO_UPDATE : PROCESS_AFFINITY_AUTO_UPDATE_FLAGS = PROCESS_AFFINITY_AUTO_UPDATE_FLAGS ( 0u32 ) ; pub const PROCESS_AFFINITY_ENABLE_AUTO_UPDATE : PROCESS_AFFINITY_AUTO_UPDATE_FLAGS = PROCESS_AFFINITY_AUTO_UPDATE_FLAGS ( 1u32 ) ; impl :: std :: convert :: From < u32 > for PROCESS_AFFINITY_AUTO_UPDATE_FLAGS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for PROCESS_AFFINITY_AUTO_UPDATE_FLAGS { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for PROCESS_AFFINITY_AUTO_UPDATE_FLAGS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for PROCESS_AFFINITY_AUTO_UPDATE_FLAGS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for PROCESS_AFFINITY_AUTO_UPDATE_FLAGS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for PROCESS_AFFINITY_AUTO_UPDATE_FLAGS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PROCESS_BASIC_INFORMATION { pub Reserved1 : * mut :: std :: ffi :: c_void , pub PebBaseAddress : * mut PEB , pub Reserved2 : [ * mut :: std :: ffi :: c_void ;2 ] , pub UniqueProcessId : usize , pub Reserved3 : * mut :: std :: ffi :: c_void } impl PROCESS_BASIC_INFORMATION { } impl :: std :: default :: Default for PROCESS_BASIC_INFORMATION { fn default ( ) -> Self { Self { Reserved1 : :: std :: ptr :: null_mut ( ) , PebBaseAddress : :: std :: ptr :: null_mut ( ) , Reserved2 : [ :: std :: ptr :: null_mut ( ) ;2 ] , UniqueProcessId : 0 , Reserved3 : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for PROCESS_BASIC_INFORMATION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "PROCESS_BASIC_INFORMATION" ) . field ( "Reserved1" , & self . Reserved1 ) . field ( "PebBaseAddress" , & self . PebBaseAddress ) . field ( "Reserved2" , & self . Reserved2 ) . field ( "UniqueProcessId" , & self . UniqueProcessId ) . field ( "Reserved3" , & self . Reserved3 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PROCESS_BASIC_INFORMATION { fn eq ( & self , other : & Self ) -> bool { self . Reserved1 == other . Reserved1 && self . PebBaseAddress == other . PebBaseAddress && self . Reserved2 == other . Reserved2 && self . UniqueProcessId == other . UniqueProcessId && self . Reserved3 == other . Reserved3 } } impl :: std :: cmp :: Eq for PROCESS_BASIC_INFORMATION { } unsafe impl :: windows :: Abi for PROCESS_BASIC_INFORMATION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct PROCESS_CREATION_FLAGS ( pub u32 ) ; pub const DEBUG_PROCESS : PROCESS_CREATION_FLAGS = PROCESS_CREATION_FLAGS ( 1u32 ) ; pub const DEBUG_ONLY_THIS_PROCESS : PROCESS_CREATION_FLAGS = PROCESS_CREATION_FLAGS ( 2u32 ) ; pub const CREATE_SUSPENDED : PROCESS_CREATION_FLAGS = PROCESS_CREATION_FLAGS ( 4u32 ) ; pub const DETACHED_PROCESS : PROCESS_CREATION_FLAGS = PROCESS_CREATION_FLAGS ( 8u32 ) ; pub const CREATE_NEW_CONSOLE : PROCESS_CREATION_FLAGS = PROCESS_CREATION_FLAGS ( 16u32 ) ; pub const NORMAL_PRIORITY_CLASS : PROCESS_CREATION_FLAGS = PROCESS_CREATION_FLAGS ( 32u32 ) ; pub const IDLE_PRIORITY_CLASS : PROCESS_CREATION_FLAGS = PROCESS_CREATION_FLAGS ( 64u32 ) ; pub const HIGH_PRIORITY_CLASS : PROCESS_CREATION_FLAGS = PROCESS_CREATION_FLAGS ( 128u32 ) ; pub const REALTIME_PRIORITY_CLASS : PROCESS_CREATION_FLAGS = PROCESS_CREATION_FLAGS ( 256u32 ) ; pub const CREATE_NEW_PROCESS_GROUP : PROCESS_CREATION_FLAGS = PROCESS_CREATION_FLAGS ( 512u32 ) ; pub const CREATE_UNICODE_ENVIRONMENT : PROCESS_CREATION_FLAGS = PROCESS_CREATION_FLAGS ( 1024u32 ) ; pub const CREATE_SEPARATE_WOW_VDM : PROCESS_CREATION_FLAGS = PROCESS_CREATION_FLAGS ( 2048u32 ) ; pub const CREATE_SHARED_WOW_VDM : PROCESS_CREATION_FLAGS = PROCESS_CREATION_FLAGS ( 4096u32 ) ; pub const CREATE_FORCEDOS : PROCESS_CREATION_FLAGS = PROCESS_CREATION_FLAGS ( 8192u32 ) ; pub const BELOW_NORMAL_PRIORITY_CLASS : PROCESS_CREATION_FLAGS = PROCESS_CREATION_FLAGS ( 16384u32 ) ; pub const ABOVE_NORMAL_PRIORITY_CLASS : PROCESS_CREATION_FLAGS = PROCESS_CREATION_FLAGS ( 32768u32 ) ; pub const INHERIT_PARENT_AFFINITY : PROCESS_CREATION_FLAGS = PROCESS_CREATION_FLAGS ( 65536u32 ) ; pub const INHERIT_CALLER_PRIORITY : PROCESS_CREATION_FLAGS = PROCESS_CREATION_FLAGS ( 131072u32 ) ; pub const CREATE_PROTECTED_PROCESS : PROCESS_CREATION_FLAGS = PROCESS_CREATION_FLAGS ( 262144u32 ) ; pub const EXTENDED_STARTUPINFO_PRESENT : PROCESS_CREATION_FLAGS = PROCESS_CREATION_FLAGS ( 524288u32 ) ; pub const PROCESS_MODE_BACKGROUND_BEGIN : PROCESS_CREATION_FLAGS = PROCESS_CREATION_FLAGS ( 1048576u32 ) ; pub const PROCESS_MODE_BACKGROUND_END : PROCESS_CREATION_FLAGS = PROCESS_CREATION_FLAGS ( 2097152u32 ) ; pub const CREATE_SECURE_PROCESS : PROCESS_CREATION_FLAGS = PROCESS_CREATION_FLAGS ( 4194304u32 ) ; pub const CREATE_BREAKAWAY_FROM_JOB : PROCESS_CREATION_FLAGS = PROCESS_CREATION_FLAGS ( 16777216u32 ) ; pub const CREATE_PRESERVE_CODE_AUTHZ_LEVEL : PROCESS_CREATION_FLAGS = PROCESS_CREATION_FLAGS ( 33554432u32 ) ; pub const CREATE_DEFAULT_ERROR_MODE : PROCESS_CREATION_FLAGS = PROCESS_CREATION_FLAGS ( 67108864u32 ) ; pub const CREATE_NO_WINDOW : PROCESS_CREATION_FLAGS = PROCESS_CREATION_FLAGS ( 134217728u32 ) ; pub const PROFILE_USER : PROCESS_CREATION_FLAGS = PROCESS_CREATION_FLAGS ( 268435456u32 ) ; pub const PROFILE_KERNEL : PROCESS_CREATION_FLAGS = PROCESS_CREATION_FLAGS ( 536870912u32 ) ; pub const PROFILE_SERVER : PROCESS_CREATION_FLAGS = PROCESS_CREATION_FLAGS ( 1073741824u32 ) ; pub const CREATE_IGNORE_SYSTEM_DEFAULT : PROCESS_CREATION_FLAGS = PROCESS_CREATION_FLAGS ( 2147483648u32 ) ; impl :: std :: convert :: From < u32 > for PROCESS_CREATION_FLAGS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for PROCESS_CREATION_FLAGS { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for PROCESS_CREATION_FLAGS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for PROCESS_CREATION_FLAGS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for PROCESS_CREATION_FLAGS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for PROCESS_CREATION_FLAGS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct PROCESS_DEP_FLAGS ( pub u32 ) ; pub const PROCESS_DEP_ENABLE : PROCESS_DEP_FLAGS = PROCESS_DEP_FLAGS ( 1u32 ) ; pub const PROCESS_DEP_DISABLE_ATL_THUNK_EMULATION : PROCESS_DEP_FLAGS = PROCESS_DEP_FLAGS ( 2u32 ) ; pub const PROCESS_DEP_NONE : PROCESS_DEP_FLAGS = PROCESS_DEP_FLAGS ( 0u32 ) ; impl :: std :: convert :: From < u32 > for PROCESS_DEP_FLAGS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for PROCESS_DEP_FLAGS { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for PROCESS_DEP_FLAGS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for PROCESS_DEP_FLAGS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for PROCESS_DEP_FLAGS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for PROCESS_DEP_FLAGS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PROCESS_INFORMATION { pub hProcess : super::super::Foundation:: HANDLE , pub hThread : super::super::Foundation:: HANDLE , pub dwProcessId : u32 , pub dwThreadId : u32 } impl PROCESS_INFORMATION { } impl :: std :: default :: Default for PROCESS_INFORMATION { fn default ( ) -> Self { Self { hProcess : :: std :: default :: Default :: default ( ) , hThread : :: std :: default :: Default :: default ( ) , dwProcessId : 0 , dwThreadId : 0 } } } impl :: std :: fmt :: Debug for PROCESS_INFORMATION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "PROCESS_INFORMATION" ) . field ( "hProcess" , & self . hProcess ) . field ( "hThread" , & self . hThread ) . field ( "dwProcessId" , & self . dwProcessId ) . field ( "dwThreadId" , & self . dwThreadId ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PROCESS_INFORMATION { fn eq ( & self , other : & Self ) -> bool { self . hProcess == other . hProcess && self . hThread == other . hThread && self . dwProcessId == other . dwProcessId && self . dwThreadId == other . dwThreadId } } impl :: std :: cmp :: Eq for PROCESS_INFORMATION { } unsafe impl :: windows :: Abi for PROCESS_INFORMATION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct PROCESS_INFORMATION_CLASS ( pub i32 ) ; pub const ProcessMemoryPriority : PROCESS_INFORMATION_CLASS = PROCESS_INFORMATION_CLASS ( 0i32 ) ; pub const ProcessMemoryExhaustionInfo : PROCESS_INFORMATION_CLASS = PROCESS_INFORMATION_CLASS ( 1i32 ) ; pub const ProcessAppMemoryInfo : PROCESS_INFORMATION_CLASS = PROCESS_INFORMATION_CLASS ( 2i32 ) ; pub const ProcessInPrivateInfo : PROCESS_INFORMATION_CLASS = PROCESS_INFORMATION_CLASS ( 3i32 ) ; pub const ProcessPowerThrottling : PROCESS_INFORMATION_CLASS = PROCESS_INFORMATION_CLASS ( 4i32 ) ; pub const ProcessReservedValue1 : PROCESS_INFORMATION_CLASS = PROCESS_INFORMATION_CLASS ( 5i32 ) ; pub const ProcessTelemetryCoverageInfo : PROCESS_INFORMATION_CLASS = PROCESS_INFORMATION_CLASS ( 6i32 ) ; pub const ProcessProtectionLevelInfo : PROCESS_INFORMATION_CLASS = PROCESS_INFORMATION_CLASS ( 7i32 ) ; pub const ProcessLeapSecondInfo : PROCESS_INFORMATION_CLASS = PROCESS_INFORMATION_CLASS ( 8i32 ) ; pub const ProcessInformationClassMax : PROCESS_INFORMATION_CLASS = PROCESS_INFORMATION_CLASS ( 9i32 ) ; impl :: std :: convert :: From < i32 > for PROCESS_INFORMATION_CLASS { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for PROCESS_INFORMATION_CLASS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PROCESS_LEAP_SECOND_INFO { pub Flags : u32 , pub Reserved : u32 } impl PROCESS_LEAP_SECOND_INFO { } impl :: std :: default :: Default for PROCESS_LEAP_SECOND_INFO { fn default ( ) -> Self { Self { Flags : 0 , Reserved : 0 } } } impl :: std :: fmt :: Debug for PROCESS_LEAP_SECOND_INFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "PROCESS_LEAP_SECOND_INFO" ) . field ( "Flags" , & self . Flags ) . field ( "Reserved" , & self . Reserved ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PROCESS_LEAP_SECOND_INFO { fn eq ( & self , other : & Self ) -> bool { self . Flags == other . Flags && self . Reserved == other . Reserved } } impl :: std :: cmp :: Eq for PROCESS_LEAP_SECOND_INFO { } unsafe impl :: windows :: Abi for PROCESS_LEAP_SECOND_INFO { type Abi = Self ; type DefaultType = Self ; } pub const PROCESS_LEAP_SECOND_INFO_FLAG_ENABLE_SIXTY_SECOND : u32 = 1u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PROCESS_MEMORY_EXHAUSTION_INFO { pub Version : u16 , pub Reserved : u16 , pub Type : PROCESS_MEMORY_EXHAUSTION_TYPE , pub Value : usize } impl PROCESS_MEMORY_EXHAUSTION_INFO { } impl :: std :: default :: Default for PROCESS_MEMORY_EXHAUSTION_INFO { fn default ( ) -> Self { Self { Version : 0 , Reserved : 0 , Type : :: std :: default :: Default :: default ( ) , Value : 0 } } } impl :: std :: fmt :: Debug for PROCESS_MEMORY_EXHAUSTION_INFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "PROCESS_MEMORY_EXHAUSTION_INFO" ) . field ( "Version" , & self . Version ) . field ( "Reserved" , & self . Reserved ) . field ( "Type" , & self . Type ) . field ( "Value" , & self . Value ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PROCESS_MEMORY_EXHAUSTION_INFO { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . Reserved == other . Reserved && self . Type == other . Type && self . Value == other . Value } } impl :: std :: cmp :: Eq for PROCESS_MEMORY_EXHAUSTION_INFO { } unsafe impl :: windows :: Abi for PROCESS_MEMORY_EXHAUSTION_INFO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct PROCESS_MEMORY_EXHAUSTION_TYPE ( pub i32 ) ; pub const PMETypeFailFastOnCommitFailure : PROCESS_MEMORY_EXHAUSTION_TYPE = PROCESS_MEMORY_EXHAUSTION_TYPE ( 0i32 ) ; pub const PMETypeMax : PROCESS_MEMORY_EXHAUSTION_TYPE = PROCESS_MEMORY_EXHAUSTION_TYPE ( 1i32 ) ; impl :: std :: convert :: From < i32 > for PROCESS_MEMORY_EXHAUSTION_TYPE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for PROCESS_MEMORY_EXHAUSTION_TYPE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct PROCESS_NAME_FORMAT ( pub u32 ) ; pub const PROCESS_NAME_WIN32 : PROCESS_NAME_FORMAT = PROCESS_NAME_FORMAT ( 0u32 ) ; pub const PROCESS_NAME_NATIVE : PROCESS_NAME_FORMAT = PROCESS_NAME_FORMAT ( 1u32 ) ; impl :: std :: convert :: From < u32 > for PROCESS_NAME_FORMAT { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for PROCESS_NAME_FORMAT { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for PROCESS_NAME_FORMAT { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for PROCESS_NAME_FORMAT { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for PROCESS_NAME_FORMAT { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for PROCESS_NAME_FORMAT { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub const PROCESS_POWER_THROTTLING_CURRENT_VERSION : u32 = 1u32 ; pub const PROCESS_POWER_THROTTLING_EXECUTION_SPEED : u32 = 1u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PROCESS_POWER_THROTTLING_STATE { pub Version : u32 , pub ControlMask : u32 , pub StateMask : u32 } impl PROCESS_POWER_THROTTLING_STATE { } impl :: std :: default :: Default for PROCESS_POWER_THROTTLING_STATE { fn default ( ) -> Self { Self { Version : 0 , ControlMask : 0 , StateMask : 0 } } } impl :: std :: fmt :: Debug for PROCESS_POWER_THROTTLING_STATE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "PROCESS_POWER_THROTTLING_STATE" ) . field ( "Version" , & self . Version ) . field ( "ControlMask" , & self . ControlMask ) . field ( "StateMask" , & self . StateMask ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PROCESS_POWER_THROTTLING_STATE { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . ControlMask == other . ControlMask && self . StateMask == other . StateMask } } impl :: std :: cmp :: Eq for PROCESS_POWER_THROTTLING_STATE { } unsafe impl :: windows :: Abi for PROCESS_POWER_THROTTLING_STATE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct PROCESS_PROTECTION_LEVEL ( pub u32 ) ; pub const PROTECTION_LEVEL_WINTCB_LIGHT : PROCESS_PROTECTION_LEVEL = PROCESS_PROTECTION_LEVEL ( 0u32 ) ; pub const PROTECTION_LEVEL_WINDOWS : PROCESS_PROTECTION_LEVEL = PROCESS_PROTECTION_LEVEL ( 1u32 ) ; pub const PROTECTION_LEVEL_WINDOWS_LIGHT : PROCESS_PROTECTION_LEVEL = PROCESS_PROTECTION_LEVEL ( 2u32 ) ; pub const PROTECTION_LEVEL_ANTIMALWARE_LIGHT : PROCESS_PROTECTION_LEVEL = PROCESS_PROTECTION_LEVEL ( 3u32 ) ; pub const PROTECTION_LEVEL_LSA_LIGHT : PROCESS_PROTECTION_LEVEL = PROCESS_PROTECTION_LEVEL ( 4u32 ) ; pub const PROTECTION_LEVEL_WINTCB : PROCESS_PROTECTION_LEVEL = PROCESS_PROTECTION_LEVEL ( 5u32 ) ; pub const PROTECTION_LEVEL_CODEGEN_LIGHT : PROCESS_PROTECTION_LEVEL = PROCESS_PROTECTION_LEVEL ( 6u32 ) ; pub const PROTECTION_LEVEL_AUTHENTICODE : PROCESS_PROTECTION_LEVEL = PROCESS_PROTECTION_LEVEL ( 7u32 ) ; pub const PROTECTION_LEVEL_PPL_APP : PROCESS_PROTECTION_LEVEL = PROCESS_PROTECTION_LEVEL ( 8u32 ) ; pub const PROTECTION_LEVEL_NONE : PROCESS_PROTECTION_LEVEL = PROCESS_PROTECTION_LEVEL ( 4294967294u32 ) ; impl :: std :: convert :: From < u32 > for PROCESS_PROTECTION_LEVEL { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for PROCESS_PROTECTION_LEVEL { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for PROCESS_PROTECTION_LEVEL { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for PROCESS_PROTECTION_LEVEL { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for PROCESS_PROTECTION_LEVEL { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for PROCESS_PROTECTION_LEVEL { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PROCESS_PROTECTION_LEVEL_INFORMATION { pub ProtectionLevel : PROCESS_PROTECTION_LEVEL } impl PROCESS_PROTECTION_LEVEL_INFORMATION { } impl :: std :: default :: Default for PROCESS_PROTECTION_LEVEL_INFORMATION { fn default ( ) -> Self { Self { ProtectionLevel : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for PROCESS_PROTECTION_LEVEL_INFORMATION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "PROCESS_PROTECTION_LEVEL_INFORMATION" ) . field ( "ProtectionLevel" , & self . ProtectionLevel ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PROCESS_PROTECTION_LEVEL_INFORMATION { fn eq ( & self , other : & Self ) -> bool { self . ProtectionLevel == other . ProtectionLevel } } impl :: std :: cmp :: Eq for PROCESS_PROTECTION_LEVEL_INFORMATION { } unsafe impl :: windows :: Abi for PROCESS_PROTECTION_LEVEL_INFORMATION { type Abi = Self ; type DefaultType = Self ; } pub const PROC_THREAD_ATTRIBUTE_REPLACE_VALUE : u32 = 1u32 ; pub type PTIMERAPCROUTINE = unsafe extern "system" fn ( lpargtocompletionroutine : * mut :: std :: ffi :: c_void , dwtimerlowvalue : u32 , dwtimerhighvalue : u32 ) ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( transparent ) ] pub struct PTP_POOL ( pub isize ) ; impl PTP_POOL { } impl :: std :: default :: Default for PTP_POOL { fn default ( ) -> Self { Self ( 0 ) } } impl PTP_POOL { pub const NULL : Self = Self ( 0 ) ; pub fn is_null ( & self ) -> bool { self . 0 == 0 } } impl :: std :: fmt :: Debug for PTP_POOL { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "PTP_POOL" ) . field ( "Value" , & self .0 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PTP_POOL { fn eq ( & self , other : & Self ) -> bool { self .0 == other .0 } } impl :: std :: cmp :: Eq for PTP_POOL { } unsafe impl :: windows :: Abi for PTP_POOL { type Abi = Self ; type DefaultType = Self ; } pub type PTP_WIN32_IO_CALLBACK = unsafe extern "system" fn ( instance : * mut super::SystemServices:: TP_CALLBACK_INSTANCE , context : * mut :: std :: ffi :: c_void , overlapped : * mut :: std :: ffi :: c_void , ioresult : u32 , numberofbytestransferred : usize , io : * mut super::SystemServices:: TP_IO ) ; pub unsafe fn PulseEvent < 'a , > ( hevent : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn PulseEvent ( hevent : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ; } PulseEvent ( hevent . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn QueryDepthSList < > ( listhead : * mut super::Kernel:: SLIST_HEADER , ) -> u16 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn QueryDepthSList ( listhead : * mut super::Kernel:: SLIST_HEADER ) -> u16 ; } QueryDepthSList ( :: std :: mem :: transmute ( listhead ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn QueryFullProcessImageNameA < 'a , > ( hprocess : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , dwflags : PROCESS_NAME_FORMAT , lpexename : super::super::Foundation:: PSTR , lpdwsize : * mut u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn QueryFullProcessImageNameA ( hprocess : super::super::Foundation:: HANDLE , dwflags : PROCESS_NAME_FORMAT , lpexename : super::super::Foundation:: PSTR , lpdwsize : * mut u32 ) -> super::super::Foundation:: BOOL ; } QueryFullProcessImageNameA ( hprocess . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwflags ) , :: std :: mem :: transmute ( lpexename ) , :: std :: mem :: transmute ( lpdwsize ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn QueryFullProcessImageNameW < 'a , > ( hprocess : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , dwflags : PROCESS_NAME_FORMAT , lpexename : super::super::Foundation:: PWSTR , lpdwsize : * mut u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn QueryFullProcessImageNameW ( hprocess : super::super::Foundation:: HANDLE , dwflags : PROCESS_NAME_FORMAT , lpexename : super::super::Foundation:: PWSTR , lpdwsize : * mut u32 ) -> super::super::Foundation:: BOOL ; } QueryFullProcessImageNameW ( hprocess . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwflags ) , :: std :: mem :: transmute ( lpexename ) , :: std :: mem :: transmute ( lpdwsize ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn QueryProcessAffinityUpdateMode < 'a , > ( hprocess : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , lpdwflags : * mut PROCESS_AFFINITY_AUTO_UPDATE_FLAGS , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn QueryProcessAffinityUpdateMode ( hprocess : super::super::Foundation:: HANDLE , lpdwflags : * mut PROCESS_AFFINITY_AUTO_UPDATE_FLAGS ) -> super::super::Foundation:: BOOL ; } QueryProcessAffinityUpdateMode ( hprocess . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpdwflags ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn QueryProtectedPolicy < > ( policyguid : * const :: windows :: Guid , policyvalue : * mut usize , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn QueryProtectedPolicy ( policyguid : * const :: windows :: Guid , policyvalue : * mut usize ) -> super::super::Foundation:: BOOL ; } QueryProtectedPolicy ( :: std :: mem :: transmute ( policyguid ) , :: std :: mem :: transmute ( policyvalue ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn QueryThreadpoolStackInformation < 'a , > ( ptpp : impl :: windows :: IntoParam < 'a , PTP_POOL > , ptpsi : * mut super::SystemServices:: TP_POOL_STACK_INFORMATION , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn QueryThreadpoolStackInformation ( ptpp : PTP_POOL , ptpsi : * mut super::SystemServices:: TP_POOL_STACK_INFORMATION ) -> super::super::Foundation:: BOOL ; } QueryThreadpoolStackInformation ( ptpp . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ptpsi ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn QueryUmsThreadInformation < > ( umsthread : * mut :: std :: ffi :: c_void , umsthreadinfoclass : super::SystemServices:: RTL_UMS_THREAD_INFO_CLASS , umsthreadinformation : * mut :: std :: ffi :: c_void , umsthreadinformationlength : u32 , returnlength : * mut u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn QueryUmsThreadInformation ( umsthread : * mut :: std :: ffi :: c_void , umsthreadinfoclass : super::SystemServices:: RTL_UMS_THREAD_INFO_CLASS , umsthreadinformation : * mut :: std :: ffi :: c_void , umsthreadinformationlength : u32 , returnlength : * mut u32 ) -> super::super::Foundation:: BOOL ; } QueryUmsThreadInformation ( :: std :: mem :: transmute ( umsthread ) , :: std :: mem :: transmute ( umsthreadinfoclass ) , :: std :: mem :: transmute ( umsthreadinformation ) , :: std :: mem :: transmute ( umsthreadinformationlength ) , :: std :: mem :: transmute ( returnlength ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn QueueUserAPC < 'a , > ( pfnapc : :: std :: option :: Option < super::SystemServices:: PAPCFUNC > , hthread : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , dwdata : usize , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn QueueUserAPC ( pfnapc : :: windows :: RawPtr , hthread : super::super::Foundation:: HANDLE , dwdata : usize ) -> u32 ; } QueueUserAPC ( :: std :: mem :: transmute ( pfnapc ) , hthread . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwdata ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn QueueUserWorkItem < > ( function : :: std :: option :: Option < super::SystemServices:: LPTHREAD_START_ROUTINE > , context : * mut :: std :: ffi :: c_void , flags : WORKER_THREAD_FLAGS , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn QueueUserWorkItem ( function : :: windows :: RawPtr , context : * mut :: std :: ffi :: c_void , flags : WORKER_THREAD_FLAGS ) -> super::super::Foundation:: BOOL ; } QueueUserWorkItem ( :: std :: mem :: transmute ( function ) , :: std :: mem :: transmute ( context ) , :: std :: mem :: transmute ( flags ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct RTL_USER_PROCESS_PARAMETERS { pub Reserved1 : [ u8 ;16 ] , pub Reserved2 : [ * mut :: std :: ffi :: c_void ;10 ] , pub ImagePathName : super::Kernel:: UNICODE_STRING , pub CommandLine : super::Kernel:: UNICODE_STRING } impl RTL_USER_PROCESS_PARAMETERS { } impl :: std :: default :: Default for RTL_USER_PROCESS_PARAMETERS { fn default ( ) -> Self { Self { Reserved1 : [ 0 ;16 ] , Reserved2 : [ :: std :: ptr :: null_mut ( ) ;10 ] , ImagePathName : :: std :: default :: Default :: default ( ) , CommandLine : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for RTL_USER_PROCESS_PARAMETERS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "RTL_USER_PROCESS_PARAMETERS" ) . field ( "Reserved1" , & self . Reserved1 ) . field ( "Reserved2" , & self . Reserved2 ) . field ( "ImagePathName" , & self . ImagePathName ) . field ( "CommandLine" , & self . CommandLine ) . finish ( ) } } impl :: std :: cmp :: PartialEq for RTL_USER_PROCESS_PARAMETERS { fn eq ( & self , other : & Self ) -> bool { self . Reserved1 == other . Reserved1 && self . Reserved2 == other . Reserved2 && self . ImagePathName == other . ImagePathName && self . CommandLine == other . CommandLine } } impl :: std :: cmp :: Eq for RTL_USER_PROCESS_PARAMETERS { } unsafe impl :: windows :: Abi for RTL_USER_PROCESS_PARAMETERS { type Abi = Self ; type DefaultType = Self ; } pub unsafe fn RegisterWaitForSingleObject < 'a , > ( phnewwaitobject : * mut super::super::Foundation:: HANDLE , hobject : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , callback : :: std :: option :: Option < super::SystemServices:: WAITORTIMERCALLBACK > , context : * mut :: std :: ffi :: c_void , dwmilliseconds : u32 , dwflags : WORKER_THREAD_FLAGS , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn RegisterWaitForSingleObject ( phnewwaitobject : * mut super::super::Foundation:: HANDLE , hobject : super::super::Foundation:: HANDLE , callback : :: windows :: RawPtr , context : * mut :: std :: ffi :: c_void , dwmilliseconds : u32 , dwflags : WORKER_THREAD_FLAGS ) -> super::super::Foundation:: BOOL ; } RegisterWaitForSingleObject ( :: std :: mem :: transmute ( phnewwaitobject ) , hobject . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( callback ) , :: std :: mem :: transmute ( context ) , :: std :: mem :: transmute ( dwmilliseconds ) , :: std :: mem :: transmute ( dwflags ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn ReleaseMutex < 'a , > ( hmutex : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn ReleaseMutex ( hmutex : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ; } ReleaseMutex ( hmutex . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn ReleaseMutexWhenCallbackReturns < 'a , > ( pci : * mut super::SystemServices:: TP_CALLBACK_INSTANCE , r#mut : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , ) { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn ReleaseMutexWhenCallbackReturns ( pci : * mut super::SystemServices:: TP_CALLBACK_INSTANCE , r#mut : super::super::Foundation:: HANDLE ) ; } ReleaseMutexWhenCallbackReturns ( :: std :: mem :: transmute ( pci ) , r#mut . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn ReleaseSRWLockExclusive < > ( srwlock : * mut super::SystemServices:: RTL_SRWLOCK , ) { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn ReleaseSRWLockExclusive ( srwlock : * mut super::SystemServices:: RTL_SRWLOCK ) ; } ReleaseSRWLockExclusive ( :: std :: mem :: transmute ( srwlock ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn ReleaseSRWLockShared < > ( srwlock : * mut super::SystemServices:: RTL_SRWLOCK , ) { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn ReleaseSRWLockShared ( srwlock : * mut super::SystemServices:: RTL_SRWLOCK ) ; } ReleaseSRWLockShared ( :: std :: mem :: transmute ( srwlock ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn ReleaseSemaphore < 'a , > ( hsemaphore : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , lreleasecount : i32 , lppreviouscount : * mut i32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn ReleaseSemaphore ( hsemaphore : super::super::Foundation:: HANDLE , lreleasecount : i32 , lppreviouscount : * mut i32 ) -> super::super::Foundation:: BOOL ; } ReleaseSemaphore ( hsemaphore . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lreleasecount ) , :: std :: mem :: transmute ( lppreviouscount ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn ReleaseSemaphoreWhenCallbackReturns < 'a , > ( pci : * mut super::SystemServices:: TP_CALLBACK_INSTANCE , sem : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , crel : u32 , ) { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn ReleaseSemaphoreWhenCallbackReturns ( pci : * mut super::SystemServices:: TP_CALLBACK_INSTANCE , sem : super::super::Foundation:: HANDLE , crel : u32 ) ; } ReleaseSemaphoreWhenCallbackReturns ( :: std :: mem :: transmute ( pci ) , sem . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( crel ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn ResetEvent < 'a , > ( hevent : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn ResetEvent ( hevent : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ; } ResetEvent ( hevent . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn ResumeThread < 'a , > ( hthread : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn ResumeThread ( hthread : super::super::Foundation:: HANDLE ) -> u32 ; } ResumeThread ( hthread . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STARTUPINFOA { pub cb : u32 , pub lpReserved : super::super::Foundation:: PSTR , pub lpDesktop : super::super::Foundation:: PSTR , pub lpTitle : super::super::Foundation:: PSTR , pub dwX : u32 , pub dwY : u32 , pub dwXSize : u32 , pub dwYSize : u32 , pub dwXCountChars : u32 , pub dwYCountChars : u32 , pub dwFillAttribute : u32 , pub dwFlags : STARTUPINFOW_FLAGS , pub wShowWindow : u16 , pub cbReserved2 : u16 , pub lpReserved2 : * mut u8 , pub hStdInput : super::super::Foundation:: HANDLE , pub hStdOutput : super::super::Foundation:: HANDLE , pub hStdError : super::super::Foundation:: HANDLE } impl STARTUPINFOA { } impl :: std :: default :: Default for STARTUPINFOA { fn default ( ) -> Self { Self { cb : 0 , lpReserved : :: std :: default :: Default :: default ( ) , lpDesktop : :: std :: default :: Default :: default ( ) , lpTitle : :: std :: default :: Default :: default ( ) , dwX : 0 , dwY : 0 , dwXSize : 0 , dwYSize : 0 , dwXCountChars : 0 , dwYCountChars : 0 , dwFillAttribute : 0 , dwFlags : :: std :: default :: Default :: default ( ) , wShowWindow : 0 , cbReserved2 : 0 , lpReserved2 : :: std :: ptr :: null_mut ( ) , hStdInput : :: std :: default :: Default :: default ( ) , hStdOutput : :: std :: default :: Default :: default ( ) , hStdError : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for STARTUPINFOA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "STARTUPINFOA" ) . field ( "cb" , & self . cb ) . field ( "lpReserved" , & self . lpReserved ) . field ( "lpDesktop" , & self . lpDesktop ) . field ( "lpTitle" , & self . lpTitle ) . field ( "dwX" , & self . dwX ) . field ( "dwY" , & self . dwY ) . field ( "dwXSize" , & self . dwXSize ) . field ( "dwYSize" , & self . dwYSize ) . field ( "dwXCountChars" , & self . dwXCountChars ) . field ( "dwYCountChars" , & self . dwYCountChars ) . field ( "dwFillAttribute" , & self . dwFillAttribute ) . field ( "dwFlags" , & self . dwFlags ) . field ( "wShowWindow" , & self . wShowWindow ) . field ( "cbReserved2" , & self . cbReserved2 ) . field ( "lpReserved2" , & self . lpReserved2 ) . field ( "hStdInput" , & self . hStdInput ) . field ( "hStdOutput" , & self . hStdOutput ) . field ( "hStdError" , & self . hStdError ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STARTUPINFOA { fn eq ( & self , other : & Self ) -> bool { self . cb == other . cb && self . lpReserved == other . lpReserved && self . lpDesktop == other . lpDesktop && self . lpTitle == other . lpTitle && self . dwX == other . dwX && self . dwY == other . dwY && self . dwXSize == other . dwXSize && self . dwYSize == other . dwYSize && self . dwXCountChars == other . dwXCountChars && self . dwYCountChars == other . dwYCountChars && self . dwFillAttribute == other . dwFillAttribute && self . dwFlags == other . dwFlags && self . wShowWindow == other . wShowWindow && self . cbReserved2 == other . cbReserved2 && self . lpReserved2 == other . lpReserved2 && self . hStdInput == other . hStdInput && self . hStdOutput == other . hStdOutput && self . hStdError == other . hStdError } } impl :: std :: cmp :: Eq for STARTUPINFOA { } unsafe impl :: windows :: Abi for STARTUPINFOA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STARTUPINFOEXA { pub StartupInfo : STARTUPINFOA , pub lpAttributeList : LPPROC_THREAD_ATTRIBUTE_LIST } impl STARTUPINFOEXA { } impl :: std :: default :: Default for STARTUPINFOEXA { fn default ( ) -> Self { Self { StartupInfo : :: std :: default :: Default :: default ( ) , lpAttributeList : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for STARTUPINFOEXA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "STARTUPINFOEXA" ) . field ( "StartupInfo" , & self . StartupInfo ) . field ( "lpAttributeList" , & self . lpAttributeList ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STARTUPINFOEXA { fn eq ( & self , other : & Self ) -> bool { self . StartupInfo == other . StartupInfo && self . lpAttributeList == other . lpAttributeList } } impl :: std :: cmp :: Eq for STARTUPINFOEXA { } unsafe impl :: windows :: Abi for STARTUPINFOEXA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STARTUPINFOEXW { pub StartupInfo : STARTUPINFOW , pub lpAttributeList : LPPROC_THREAD_ATTRIBUTE_LIST } impl STARTUPINFOEXW { } impl :: std :: default :: Default for STARTUPINFOEXW { fn default ( ) -> Self { Self { StartupInfo : :: std :: default :: Default :: default ( ) , lpAttributeList : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for STARTUPINFOEXW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "STARTUPINFOEXW" ) . field ( "StartupInfo" , & self . StartupInfo ) . field ( "lpAttributeList" , & self . lpAttributeList ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STARTUPINFOEXW { fn eq ( & self , other : & Self ) -> bool { self . StartupInfo == other . StartupInfo && self . lpAttributeList == other . lpAttributeList } } impl :: std :: cmp :: Eq for STARTUPINFOEXW { } unsafe impl :: windows :: Abi for STARTUPINFOEXW { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STARTUPINFOW { pub cb : u32 , pub lpReserved : super::super::Foundation:: PWSTR , pub lpDesktop : super::super::Foundation:: PWSTR , pub lpTitle : super::super::Foundation:: PWSTR , pub dwX : u32 , pub dwY : u32 , pub dwXSize : u32 , pub dwYSize : u32 , pub dwXCountChars : u32 , pub dwYCountChars : u32 , pub dwFillAttribute : u32 , pub dwFlags : STARTUPINFOW_FLAGS , pub wShowWindow : u16 , pub cbReserved2 : u16 , pub lpReserved2 : * mut u8 , pub hStdInput : super::super::Foundation:: HANDLE , pub hStdOutput : super::super::Foundation:: HANDLE , pub hStdError : super::super::Foundation:: HANDLE } impl STARTUPINFOW { } impl :: std :: default :: Default for STARTUPINFOW { fn default ( ) -> Self { Self { cb : 0 , lpReserved : :: std :: default :: Default :: default ( ) , lpDesktop : :: std :: default :: Default :: default ( ) , lpTitle : :: std :: default :: Default :: default ( ) , dwX : 0 , dwY : 0 , dwXSize : 0 , dwYSize : 0 , dwXCountChars : 0 , dwYCountChars : 0 , dwFillAttribute : 0 , dwFlags : :: std :: default :: Default :: default ( ) , wShowWindow : 0 , cbReserved2 : 0 , lpReserved2 : :: std :: ptr :: null_mut ( ) , hStdInput : :: std :: default :: Default :: default ( ) , hStdOutput : :: std :: default :: Default :: default ( ) , hStdError : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for STARTUPINFOW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "STARTUPINFOW" ) . field ( "cb" , & self . cb ) . field ( "lpReserved" , & self . lpReserved ) . field ( "lpDesktop" , & self . lpDesktop ) . field ( "lpTitle" , & self . lpTitle ) . field ( "dwX" , & self . dwX ) . field ( "dwY" , & self . dwY ) . field ( "dwXSize" , & self . dwXSize ) . field ( "dwYSize" , & self . dwYSize ) . field ( "dwXCountChars" , & self . dwXCountChars ) . field ( "dwYCountChars" , & self . dwYCountChars ) . field ( "dwFillAttribute" , & self . dwFillAttribute ) . field ( "dwFlags" , & self . dwFlags ) . field ( "wShowWindow" , & self . wShowWindow ) . field ( "cbReserved2" , & self . cbReserved2 ) . field ( "lpReserved2" , & self . lpReserved2 ) . field ( "hStdInput" , & self . hStdInput ) . field ( "hStdOutput" , & self . hStdOutput ) . field ( "hStdError" , & self . hStdError ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STARTUPINFOW { fn eq ( & self , other : & Self ) -> bool { self . cb == other . cb && self . lpReserved == other . lpReserved && self . lpDesktop == other . lpDesktop && self . lpTitle == other . lpTitle && self . dwX == other . dwX && self . dwY == other . dwY && self . dwXSize == other . dwXSize && self . dwYSize == other . dwYSize && self . dwXCountChars == other . dwXCountChars && self . dwYCountChars == other . dwYCountChars && self . dwFillAttribute == other . dwFillAttribute && self . dwFlags == other . dwFlags && self . wShowWindow == other . wShowWindow && self . cbReserved2 == other . cbReserved2 && self . lpReserved2 == other . lpReserved2 && self . hStdInput == other . hStdInput && self . hStdOutput == other . hStdOutput && self . hStdError == other . hStdError } } impl :: std :: cmp :: Eq for STARTUPINFOW { } unsafe impl :: windows :: Abi for STARTUPINFOW { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct STARTUPINFOW_FLAGS ( pub u32 ) ; pub const STARTF_FORCEONFEEDBACK : STARTUPINFOW_FLAGS = STARTUPINFOW_FLAGS ( 64u32 ) ; pub const STARTF_FORCEOFFFEEDBACK : STARTUPINFOW_FLAGS = STARTUPINFOW_FLAGS ( 128u32 ) ; pub const STARTF_PREVENTPINNING : STARTUPINFOW_FLAGS = STARTUPINFOW_FLAGS ( 8192u32 ) ; pub const STARTF_RUNFULLSCREEN : STARTUPINFOW_FLAGS = STARTUPINFOW_FLAGS ( 32u32 ) ; pub const STARTF_TITLEISAPPID : STARTUPINFOW_FLAGS = STARTUPINFOW_FLAGS ( 4096u32 ) ; pub const STARTF_TITLEISLINKNAME : STARTUPINFOW_FLAGS = STARTUPINFOW_FLAGS ( 2048u32 ) ; pub const STARTF_UNTRUSTEDSOURCE : STARTUPINFOW_FLAGS = STARTUPINFOW_FLAGS ( 32768u32 ) ; pub const STARTF_USECOUNTCHARS : STARTUPINFOW_FLAGS = STARTUPINFOW_FLAGS ( 8u32 ) ; pub const STARTF_USEFILLATTRIBUTE : STARTUPINFOW_FLAGS = STARTUPINFOW_FLAGS ( 16u32 ) ; pub const STARTF_USEHOTKEY : STARTUPINFOW_FLAGS = STARTUPINFOW_FLAGS ( 512u32 ) ; pub const STARTF_USEPOSITION : STARTUPINFOW_FLAGS = STARTUPINFOW_FLAGS ( 4u32 ) ; pub const STARTF_USESHOWWINDOW : STARTUPINFOW_FLAGS = STARTUPINFOW_FLAGS ( 1u32 ) ; pub const STARTF_USESIZE : STARTUPINFOW_FLAGS = STARTUPINFOW_FLAGS ( 2u32 ) ; pub const STARTF_USESTDHANDLES : STARTUPINFOW_FLAGS = STARTUPINFOW_FLAGS ( 256u32 ) ; impl :: std :: convert :: From < u32 > for STARTUPINFOW_FLAGS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for STARTUPINFOW_FLAGS { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for STARTUPINFOW_FLAGS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for STARTUPINFOW_FLAGS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for STARTUPINFOW_FLAGS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for STARTUPINFOW_FLAGS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub const SYNCHRONIZATION_BARRIER_FLAGS_BLOCK_ONLY : u32 = 2u32 ; pub const SYNCHRONIZATION_BARRIER_FLAGS_NO_DELETE : u32 = 4u32 ; pub const SYNCHRONIZATION_BARRIER_FLAGS_SPIN_ONLY : u32 = 1u32 ; pub unsafe fn SetCriticalSectionSpinCount < > ( lpcriticalsection : * mut super::SystemServices:: RTL_CRITICAL_SECTION , dwspincount : u32 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn SetCriticalSectionSpinCount ( lpcriticalsection : * mut super::SystemServices:: RTL_CRITICAL_SECTION , dwspincount : u32 ) -> u32 ; } SetCriticalSectionSpinCount ( :: std :: mem :: transmute ( lpcriticalsection ) , :: std :: mem :: transmute ( dwspincount ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetEvent < 'a , > ( hevent : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn SetEvent ( hevent : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ; } SetEvent ( hevent . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetEventWhenCallbackReturns < 'a , > ( pci : * mut super::SystemServices:: TP_CALLBACK_INSTANCE , evt : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , ) { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn SetEventWhenCallbackReturns ( pci : * mut super::SystemServices:: TP_CALLBACK_INSTANCE , evt : super::super::Foundation:: HANDLE ) ; } SetEventWhenCallbackReturns ( :: std :: mem :: transmute ( pci ) , evt . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetPriorityClass < 'a , > ( hprocess : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , dwpriorityclass : PROCESS_CREATION_FLAGS , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn SetPriorityClass ( hprocess : super::super::Foundation:: HANDLE , dwpriorityclass : PROCESS_CREATION_FLAGS ) -> super::super::Foundation:: BOOL ; } SetPriorityClass ( hprocess . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwpriorityclass ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetProcessAffinityMask < 'a , > ( hprocess : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , dwprocessaffinitymask : usize , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn SetProcessAffinityMask ( hprocess : super::super::Foundation:: HANDLE , dwprocessaffinitymask : usize ) -> super::super::Foundation:: BOOL ; } SetProcessAffinityMask ( hprocess . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwprocessaffinitymask ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetProcessAffinityUpdateMode < 'a , > ( hprocess : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , dwflags : PROCESS_AFFINITY_AUTO_UPDATE_FLAGS , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn SetProcessAffinityUpdateMode ( hprocess : super::super::Foundation:: HANDLE , dwflags : PROCESS_AFFINITY_AUTO_UPDATE_FLAGS ) -> super::super::Foundation:: BOOL ; } SetProcessAffinityUpdateMode ( hprocess . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwflags ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetProcessDEPPolicy < > ( dwflags : PROCESS_DEP_FLAGS , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn SetProcessDEPPolicy ( dwflags : PROCESS_DEP_FLAGS ) -> super::super::Foundation:: BOOL ; } SetProcessDEPPolicy ( :: std :: mem :: transmute ( dwflags ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetProcessDefaultCpuSets < 'a , > ( process : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , cpusetids : * const u32 , cpusetidcount : u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn SetProcessDefaultCpuSets ( process : super::super::Foundation:: HANDLE , cpusetids : * const u32 , cpusetidcount : u32 ) -> super::super::Foundation:: BOOL ; } SetProcessDefaultCpuSets ( process . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( cpusetids ) , :: std :: mem :: transmute ( cpusetidcount ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetProcessDynamicEHContinuationTargets < 'a , > ( process : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , numberoftargets : u16 , targets : * mut super::SystemServices:: PROCESS_DYNAMIC_EH_CONTINUATION_TARGET , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn SetProcessDynamicEHContinuationTargets ( process : super::super::Foundation:: HANDLE , numberoftargets : u16 , targets : * mut super::SystemServices:: PROCESS_DYNAMIC_EH_CONTINUATION_TARGET ) -> super::super::Foundation:: BOOL ; } SetProcessDynamicEHContinuationTargets ( process . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( numberoftargets ) , :: std :: mem :: transmute ( targets ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetProcessInformation < 'a , > ( hprocess : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , processinformationclass : PROCESS_INFORMATION_CLASS , processinformation : * mut :: std :: ffi :: c_void , processinformationsize : u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn SetProcessInformation ( hprocess : super::super::Foundation:: HANDLE , processinformationclass : PROCESS_INFORMATION_CLASS , processinformation : * mut :: std :: ffi :: c_void , processinformationsize : u32 ) -> super::super::Foundation:: BOOL ; } SetProcessInformation ( hprocess . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( processinformationclass ) , :: std :: mem :: transmute ( processinformation ) , :: std :: mem :: transmute ( processinformationsize ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetProcessMitigationPolicy < > ( mitigationpolicy : super::SystemServices:: PROCESS_MITIGATION_POLICY , lpbuffer : * mut :: std :: ffi :: c_void , dwlength : usize , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn SetProcessMitigationPolicy ( mitigationpolicy : super::SystemServices:: PROCESS_MITIGATION_POLICY , lpbuffer : * mut :: std :: ffi :: c_void , dwlength : usize ) -> super::super::Foundation:: BOOL ; } SetProcessMitigationPolicy ( :: std :: mem :: transmute ( mitigationpolicy ) , :: std :: mem :: transmute ( lpbuffer ) , :: std :: mem :: transmute ( dwlength ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetProcessPriorityBoost < 'a , > ( hprocess : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , bdisablepriorityboost : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn SetProcessPriorityBoost ( hprocess : super::super::Foundation:: HANDLE , bdisablepriorityboost : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ; } SetProcessPriorityBoost ( hprocess . into_param ( ) . abi ( ) , bdisablepriorityboost . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetProcessRestrictionExemption < 'a , > ( fenableexemption : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="USER32" ) ] extern "system" { fn SetProcessRestrictionExemption ( fenableexemption : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ; } SetProcessRestrictionExemption ( fenableexemption . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetProcessShutdownParameters < > ( dwlevel : u32 , dwflags : u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn SetProcessShutdownParameters ( dwlevel : u32 , dwflags : u32 ) -> super::super::Foundation:: BOOL ; } SetProcessShutdownParameters ( :: std :: mem :: transmute ( dwlevel ) , :: std :: mem :: transmute ( dwflags ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetProcessWorkingSetSize < 'a , > ( hprocess : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , dwminimumworkingsetsize : usize , dwmaximumworkingsetsize : usize , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn SetProcessWorkingSetSize ( hprocess : super::super::Foundation:: HANDLE , dwminimumworkingsetsize : usize , dwmaximumworkingsetsize : usize ) -> super::super::Foundation:: BOOL ; } SetProcessWorkingSetSize ( hprocess . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwminimumworkingsetsize ) , :: std :: mem :: transmute ( dwmaximumworkingsetsize ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetProtectedPolicy < > ( policyguid : * const :: windows :: Guid , policyvalue : usize , oldpolicyvalue : * mut usize , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn SetProtectedPolicy ( policyguid : * const :: windows :: Guid , policyvalue : usize , oldpolicyvalue : * mut usize ) -> super::super::Foundation:: BOOL ; } SetProtectedPolicy ( :: std :: mem :: transmute ( policyguid ) , :: std :: mem :: transmute ( policyvalue ) , :: std :: mem :: transmute ( oldpolicyvalue ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetThreadAffinityMask < 'a , > ( hthread : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , dwthreadaffinitymask : usize , ) -> usize { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn SetThreadAffinityMask ( hthread : super::super::Foundation:: HANDLE , dwthreadaffinitymask : usize ) -> usize ; } SetThreadAffinityMask ( hthread . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwthreadaffinitymask ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetThreadDescription < 'a , > ( hthread : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , lpthreaddescription : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn SetThreadDescription ( hthread : super::super::Foundation:: HANDLE , lpthreaddescription : super::super::Foundation:: PWSTR ) -> :: windows :: HRESULT ; } SetThreadDescription ( hthread . into_param ( ) . abi ( ) , lpthreaddescription . into_param ( ) . abi ( ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetThreadGroupAffinity < 'a , > ( hthread : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , groupaffinity : * const super::Kernel:: GROUP_AFFINITY , previousgroupaffinity : * mut super::Kernel:: GROUP_AFFINITY , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn SetThreadGroupAffinity ( hthread : super::super::Foundation:: HANDLE , groupaffinity : * const super::Kernel:: GROUP_AFFINITY , previousgroupaffinity : * mut super::Kernel:: GROUP_AFFINITY ) -> super::super::Foundation:: BOOL ; } SetThreadGroupAffinity ( hthread . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( groupaffinity ) , :: std :: mem :: transmute ( previousgroupaffinity ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetThreadIdealProcessor < 'a , > ( hthread : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , dwidealprocessor : u32 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn SetThreadIdealProcessor ( hthread : super::super::Foundation:: HANDLE , dwidealprocessor : u32 ) -> u32 ; } SetThreadIdealProcessor ( hthread . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwidealprocessor ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetThreadIdealProcessorEx < 'a , > ( hthread : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , lpidealprocessor : * mut super::Kernel:: PROCESSOR_NUMBER , lppreviousidealprocessor : * mut super::Kernel:: PROCESSOR_NUMBER , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn SetThreadIdealProcessorEx ( hthread : super::super::Foundation:: HANDLE , lpidealprocessor : * mut super::Kernel:: PROCESSOR_NUMBER , lppreviousidealprocessor : * mut super::Kernel:: PROCESSOR_NUMBER ) -> super::super::Foundation:: BOOL ; } SetThreadIdealProcessorEx ( hthread . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpidealprocessor ) , :: std :: mem :: transmute ( lppreviousidealprocessor ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetThreadInformation < 'a , > ( hthread : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , threadinformationclass : THREAD_INFORMATION_CLASS , threadinformation : * mut :: std :: ffi :: c_void , threadinformationsize : u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn SetThreadInformation ( hthread : super::super::Foundation:: HANDLE , threadinformationclass : THREAD_INFORMATION_CLASS , threadinformation : * mut :: std :: ffi :: c_void , threadinformationsize : u32 ) -> super::super::Foundation:: BOOL ; } SetThreadInformation ( hthread . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( threadinformationclass ) , :: std :: mem :: transmute ( threadinformation ) , :: std :: mem :: transmute ( threadinformationsize ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetThreadPriority < 'a , > ( hthread : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , npriority : THREAD_PRIORITY , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn SetThreadPriority ( hthread : super::super::Foundation:: HANDLE , npriority : THREAD_PRIORITY ) -> super::super::Foundation:: BOOL ; } SetThreadPriority ( hthread . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( npriority ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetThreadPriorityBoost < 'a , > ( hthread : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , bdisablepriorityboost : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn SetThreadPriorityBoost ( hthread : super::super::Foundation:: HANDLE , bdisablepriorityboost : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ; } SetThreadPriorityBoost ( hthread . into_param ( ) . abi ( ) , bdisablepriorityboost . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetThreadSelectedCpuSets < 'a , > ( thread : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , cpusetids : * const u32 , cpusetidcount : u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn SetThreadSelectedCpuSets ( thread : super::super::Foundation:: HANDLE , cpusetids : * const u32 , cpusetidcount : u32 ) -> super::super::Foundation:: BOOL ; } SetThreadSelectedCpuSets ( thread . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( cpusetids ) , :: std :: mem :: transmute ( cpusetidcount ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetThreadStackGuarantee < > ( stacksizeinbytes : * mut u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn SetThreadStackGuarantee ( stacksizeinbytes : * mut u32 ) -> super::super::Foundation:: BOOL ; } SetThreadStackGuarantee ( :: std :: mem :: transmute ( stacksizeinbytes ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetThreadToken < 'a , > ( thread : * mut super::super::Foundation:: HANDLE , token : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="ADVAPI32" ) ] extern "system" { fn SetThreadToken ( thread : * mut super::super::Foundation:: HANDLE , token : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ; } SetThreadToken ( :: std :: mem :: transmute ( thread ) , token . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetThreadpoolStackInformation < 'a , > ( ptpp : impl :: windows :: IntoParam < 'a , PTP_POOL > , ptpsi : * mut super::SystemServices:: TP_POOL_STACK_INFORMATION , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn SetThreadpoolStackInformation ( ptpp : PTP_POOL , ptpsi : * mut super::SystemServices:: TP_POOL_STACK_INFORMATION ) -> super::super::Foundation:: BOOL ; } SetThreadpoolStackInformation ( ptpp . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ptpsi ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetThreadpoolThreadMaximum < 'a , > ( ptpp : impl :: windows :: IntoParam < 'a , PTP_POOL > , cthrdmost : u32 , ) { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn SetThreadpoolThreadMaximum ( ptpp : PTP_POOL , cthrdmost : u32 ) ; } SetThreadpoolThreadMaximum ( ptpp . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( cthrdmost ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetThreadpoolThreadMinimum < 'a , > ( ptpp : impl :: windows :: IntoParam < 'a , PTP_POOL > , cthrdmic : u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn SetThreadpoolThreadMinimum ( ptpp : PTP_POOL , cthrdmic : u32 ) -> super::super::Foundation:: BOOL ; } SetThreadpoolThreadMinimum ( ptpp . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( cthrdmic ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetThreadpoolTimer < > ( pti : * mut super::SystemServices:: TP_TIMER , pftduetime : * mut super::super::Foundation:: FILETIME , msperiod : u32 , mswindowlength : u32 , ) { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn SetThreadpoolTimer ( pti : * mut super::SystemServices:: TP_TIMER , pftduetime : * mut super::super::Foundation:: FILETIME , msperiod : u32 , mswindowlength : u32 ) ; } SetThreadpoolTimer ( :: std :: mem :: transmute ( pti ) , :: std :: mem :: transmute ( pftduetime ) , :: std :: mem :: transmute ( msperiod ) , :: std :: mem :: transmute ( mswindowlength ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetThreadpoolTimerEx < > ( pti : * mut super::SystemServices:: TP_TIMER , pftduetime : * mut super::super::Foundation:: FILETIME , msperiod : u32 , mswindowlength : u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn SetThreadpoolTimerEx ( pti : * mut super::SystemServices:: TP_TIMER , pftduetime : * mut super::super::Foundation:: FILETIME , msperiod : u32 , mswindowlength : u32 ) -> super::super::Foundation:: BOOL ; } SetThreadpoolTimerEx ( :: std :: mem :: transmute ( pti ) , :: std :: mem :: transmute ( pftduetime ) , :: std :: mem :: transmute ( msperiod ) , :: std :: mem :: transmute ( mswindowlength ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetThreadpoolWait < 'a , > ( pwa : * mut super::SystemServices:: TP_WAIT , h : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , pfttimeout : * mut super::super::Foundation:: FILETIME , ) { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn SetThreadpoolWait ( pwa : * mut super::SystemServices:: TP_WAIT , h : super::super::Foundation:: HANDLE , pfttimeout : * mut super::super::Foundation:: FILETIME ) ; } SetThreadpoolWait ( :: std :: mem :: transmute ( pwa ) , h . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pfttimeout ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetThreadpoolWaitEx < 'a , > ( pwa : * mut super::SystemServices:: TP_WAIT , h : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , pfttimeout : * mut super::super::Foundation:: FILETIME , reserved : * mut :: std :: ffi :: c_void , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn SetThreadpoolWaitEx ( pwa : * mut super::SystemServices:: TP_WAIT , h : super::super::Foundation:: HANDLE , pfttimeout : * mut super::super::Foundation:: FILETIME , reserved : * mut :: std :: ffi :: c_void ) -> super::super::Foundation:: BOOL ; } SetThreadpoolWaitEx ( :: std :: mem :: transmute ( pwa ) , h . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pfttimeout ) , :: std :: mem :: transmute ( reserved ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetUmsThreadInformation < > ( umsthread : * mut :: std :: ffi :: c_void , umsthreadinfoclass : super::SystemServices:: RTL_UMS_THREAD_INFO_CLASS , umsthreadinformation : * mut :: std :: ffi :: c_void , umsthreadinformationlength : u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn SetUmsThreadInformation ( umsthread : * mut :: std :: ffi :: c_void , umsthreadinfoclass : super::SystemServices:: RTL_UMS_THREAD_INFO_CLASS , umsthreadinformation : * mut :: std :: ffi :: c_void , umsthreadinformationlength : u32 ) -> super::super::Foundation:: BOOL ; } SetUmsThreadInformation ( :: std :: mem :: transmute ( umsthread ) , :: std :: mem :: transmute ( umsthreadinfoclass ) , :: std :: mem :: transmute ( umsthreadinformation ) , :: std :: mem :: transmute ( umsthreadinformationlength ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetWaitableTimer < 'a , > ( htimer : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , lpduetime : * const i64 , lperiod : i32 , pfncompletionroutine : :: std :: option :: Option < PTIMERAPCROUTINE > , lpargtocompletionroutine : * mut :: std :: ffi :: c_void , fresume : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn SetWaitableTimer ( htimer : super::super::Foundation:: HANDLE , lpduetime : * const i64 , lperiod : i32 , pfncompletionroutine : :: windows :: RawPtr , lpargtocompletionroutine : * mut :: std :: ffi :: c_void , fresume : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ; } SetWaitableTimer ( htimer . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpduetime ) , :: std :: mem :: transmute ( lperiod ) , :: std :: mem :: transmute ( pfncompletionroutine ) , :: std :: mem :: transmute ( lpargtocompletionroutine ) , fresume . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetWaitableTimerEx < 'a , > ( htimer : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , lpduetime : * const i64 , lperiod : i32 , pfncompletionroutine : :: std :: option :: Option < PTIMERAPCROUTINE > , lpargtocompletionroutine : * mut :: std :: ffi :: c_void , wakecontext : * mut super::SystemServices:: REASON_CONTEXT , tolerabledelay : u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn SetWaitableTimerEx ( htimer : super::super::Foundation:: HANDLE , lpduetime : * const i64 , lperiod : i32 , pfncompletionroutine : :: windows :: RawPtr , lpargtocompletionroutine : * mut :: std :: ffi :: c_void , wakecontext : * mut super::SystemServices:: REASON_CONTEXT , tolerabledelay : u32 ) -> super::super::Foundation:: BOOL ; } SetWaitableTimerEx ( htimer . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpduetime ) , :: std :: mem :: transmute ( lperiod ) , :: std :: mem :: transmute ( pfncompletionroutine ) , :: std :: mem :: transmute ( lpargtocompletionroutine ) , :: std :: mem :: transmute ( wakecontext ) , :: std :: mem :: transmute ( tolerabledelay ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn Sleep < > ( dwmilliseconds : u32 , ) { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn Sleep ( dwmilliseconds : u32 ) ; } Sleep ( :: std :: mem :: transmute ( dwmilliseconds ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SleepConditionVariableCS < > ( conditionvariable : * mut super::SystemServices:: RTL_CONDITION_VARIABLE , criticalsection : * mut super::SystemServices:: RTL_CRITICAL_SECTION , dwmilliseconds : u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn SleepConditionVariableCS ( conditionvariable : * mut super::SystemServices:: RTL_CONDITION_VARIABLE , criticalsection : * mut super::SystemServices:: RTL_CRITICAL_SECTION , dwmilliseconds : u32 ) -> super::super::Foundation:: BOOL ; } SleepConditionVariableCS ( :: std :: mem :: transmute ( conditionvariable ) , :: std :: mem :: transmute ( criticalsection ) , :: std :: mem :: transmute ( dwmilliseconds ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SleepConditionVariableSRW < > ( conditionvariable : * mut super::SystemServices:: RTL_CONDITION_VARIABLE , srwlock : * mut super::SystemServices:: RTL_SRWLOCK , dwmilliseconds : u32 , flags : u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn SleepConditionVariableSRW ( conditionvariable : * mut super::SystemServices:: RTL_CONDITION_VARIABLE , srwlock : * mut super::SystemServices:: RTL_SRWLOCK , dwmilliseconds : u32 , flags : u32 ) -> super::super::Foundation:: BOOL ; } SleepConditionVariableSRW ( :: std :: mem :: transmute ( conditionvariable ) , :: std :: mem :: transmute ( srwlock ) , :: std :: mem :: transmute ( dwmilliseconds ) , :: std :: mem :: transmute ( flags ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SleepEx < 'a , > ( dwmilliseconds : u32 , balertable : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn SleepEx ( dwmilliseconds : u32 , balertable : super::super::Foundation:: BOOL ) -> u32 ; } SleepEx ( :: std :: mem :: transmute ( dwmilliseconds ) , balertable . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn StartThreadpoolIo < > ( pio : * mut super::SystemServices:: TP_IO , ) { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn StartThreadpoolIo ( pio : * mut super::SystemServices:: TP_IO ) ; } StartThreadpoolIo ( :: std :: mem :: transmute ( pio ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SubmitThreadpoolWork < > ( pwk : * mut super::SystemServices:: TP_WORK , ) { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn SubmitThreadpoolWork ( pwk : * mut super::SystemServices:: TP_WORK ) ; } SubmitThreadpoolWork ( :: std :: mem :: transmute ( pwk ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SuspendThread < 'a , > ( hthread : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn SuspendThread ( hthread : super::super::Foundation:: HANDLE ) -> u32 ; } SuspendThread ( hthread . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SwitchToFiber < > ( lpfiber : * mut :: std :: ffi :: c_void , ) { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn SwitchToFiber ( lpfiber : * mut :: std :: ffi :: c_void ) ; } SwitchToFiber ( :: std :: mem :: transmute ( lpfiber ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SwitchToThread < > ( ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn SwitchToThread ( ) -> super::super::Foundation:: BOOL ; } SwitchToThread ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct THREADINFOCLASS ( pub i32 ) ; pub const ThreadIsIoPending : THREADINFOCLASS = THREADINFOCLASS ( 16i32 ) ; impl :: std :: convert :: From < i32 > for THREADINFOCLASS { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for THREADINFOCLASS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct THREAD_CREATION_FLAGS ( pub u32 ) ; pub const THREAD_CREATE_RUN_IMMEDIATELY : THREAD_CREATION_FLAGS = THREAD_CREATION_FLAGS ( 0u32 ) ; pub const THREAD_CREATE_SUSPENDED : THREAD_CREATION_FLAGS = THREAD_CREATION_FLAGS ( 4u32 ) ; pub const STACK_SIZE_PARAM_IS_A_RESERVATION : THREAD_CREATION_FLAGS = THREAD_CREATION_FLAGS ( 65536u32 ) ; impl :: std :: convert :: From < u32 > for THREAD_CREATION_FLAGS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for THREAD_CREATION_FLAGS { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for THREAD_CREATION_FLAGS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for THREAD_CREATION_FLAGS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for THREAD_CREATION_FLAGS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for THREAD_CREATION_FLAGS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct THREAD_INFORMATION_CLASS ( pub i32 ) ; pub const ThreadMemoryPriority : THREAD_INFORMATION_CLASS = THREAD_INFORMATION_CLASS ( 0i32 ) ; pub const ThreadAbsoluteCpuPriority : THREAD_INFORMATION_CLASS = THREAD_INFORMATION_CLASS ( 1i32 ) ; pub const ThreadDynamicCodePolicy : THREAD_INFORMATION_CLASS = THREAD_INFORMATION_CLASS ( 2i32 ) ; pub const ThreadPowerThrottling : THREAD_INFORMATION_CLASS = THREAD_INFORMATION_CLASS ( 3i32 ) ; pub const ThreadInformationClassMax : THREAD_INFORMATION_CLASS = THREAD_INFORMATION_CLASS ( 4i32 ) ; impl :: std :: convert :: From < i32 > for THREAD_INFORMATION_CLASS { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for THREAD_INFORMATION_CLASS { type Abi = Self ; type DefaultType = Self ; } pub const THREAD_POWER_THROTTLING_CURRENT_VERSION : u32 = 1u32 ; pub const THREAD_POWER_THROTTLING_EXECUTION_SPEED : u32 = 1u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct THREAD_POWER_THROTTLING_STATE { pub Version : u32 , pub ControlMask : u32 , pub StateMask : u32 } impl THREAD_POWER_THROTTLING_STATE { } impl :: std :: default :: Default for THREAD_POWER_THROTTLING_STATE { fn default ( ) -> Self { Self { Version : 0 , ControlMask : 0 , StateMask : 0 } } } impl :: std :: fmt :: Debug for THREAD_POWER_THROTTLING_STATE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "THREAD_POWER_THROTTLING_STATE" ) . field ( "Version" , & self . Version ) . field ( "ControlMask" , & self . ControlMask ) . field ( "StateMask" , & self . StateMask ) . finish ( ) } } impl :: std :: cmp :: PartialEq for THREAD_POWER_THROTTLING_STATE { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . ControlMask == other . ControlMask && self . StateMask == other . StateMask } } impl :: std :: cmp :: Eq for THREAD_POWER_THROTTLING_STATE { } unsafe impl :: windows :: Abi for THREAD_POWER_THROTTLING_STATE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct THREAD_PRIORITY ( pub i32 ) ; pub const THREAD_MODE_BACKGROUND_BEGIN : THREAD_PRIORITY = THREAD_PRIORITY ( 65536i32 ) ; pub const THREAD_MODE_BACKGROUND_END : THREAD_PRIORITY = THREAD_PRIORITY ( 131072i32 ) ; pub const THREAD_PRIORITY_ABOVE_NORMAL : THREAD_PRIORITY = THREAD_PRIORITY ( 1i32 ) ; pub const THREAD_PRIORITY_BELOW_NORMAL : THREAD_PRIORITY = THREAD_PRIORITY ( -1i32 ) ; pub const THREAD_PRIORITY_HIGHEST : THREAD_PRIORITY = THREAD_PRIORITY ( 2i32 ) ; pub const THREAD_PRIORITY_IDLE : THREAD_PRIORITY = THREAD_PRIORITY ( -15i32 ) ; pub const THREAD_PRIORITY_LOWEST : THREAD_PRIORITY = THREAD_PRIORITY ( -2i32 ) ; pub const THREAD_PRIORITY_NORMAL : THREAD_PRIORITY = THREAD_PRIORITY ( 0i32 ) ; pub const THREAD_PRIORITY_TIME_CRITICAL : THREAD_PRIORITY = THREAD_PRIORITY ( 15i32 ) ; impl :: std :: convert :: From < i32 > for THREAD_PRIORITY { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for THREAD_PRIORITY { type Abi = Self ; type DefaultType = Self ; } pub unsafe fn TerminateProcess < 'a , > ( hprocess : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , uexitcode : u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn TerminateProcess ( hprocess : super::super::Foundation:: HANDLE , uexitcode : u32 ) -> super::super::Foundation:: BOOL ; } TerminateProcess ( hprocess . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( uexitcode ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn TerminateThread < 'a , > ( hthread : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , dwexitcode : u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn TerminateThread ( hthread : super::super::Foundation:: HANDLE , dwexitcode : u32 ) -> super::super::Foundation:: BOOL ; } TerminateThread ( hthread . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwexitcode ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( transparent ) ] pub struct TimerQueueHandle ( pub isize ) ; impl TimerQueueHandle { } impl :: std :: default :: Default for TimerQueueHandle { fn default ( ) -> Self { Self ( 0 ) } } impl TimerQueueHandle { pub const NULL : Self = Self ( 0 ) ; pub fn is_null ( & self ) -> bool { self . 0 == 0 } } impl :: std :: fmt :: Debug for TimerQueueHandle { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "TimerQueueHandle" ) . field ( "Value" , & self .0 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TimerQueueHandle { fn eq ( & self , other : & Self ) -> bool { self .0 == other .0 } } impl :: std :: cmp :: Eq for TimerQueueHandle { } unsafe impl :: windows :: Abi for TimerQueueHandle { type Abi = Self ; type DefaultType = Self ; } pub unsafe fn TlsAlloc < > ( ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn TlsAlloc ( ) -> u32 ; } TlsAlloc ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn TlsFree < > ( dwtlsindex : u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn TlsFree ( dwtlsindex : u32 ) -> super::super::Foundation:: BOOL ; } TlsFree ( :: std :: mem :: transmute ( dwtlsindex ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn TlsGetValue < > ( dwtlsindex : u32 , ) -> * mut :: std :: ffi :: c_void { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn TlsGetValue ( dwtlsindex : u32 ) -> * mut :: std :: ffi :: c_void ; } TlsGetValue ( :: std :: mem :: transmute ( dwtlsindex ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn TlsSetValue < > ( dwtlsindex : u32 , lptlsvalue : * mut :: std :: ffi :: c_void , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn TlsSetValue ( dwtlsindex : u32 , lptlsvalue : * mut :: std :: ffi :: c_void ) -> super::super::Foundation:: BOOL ; } TlsSetValue ( :: std :: mem :: transmute ( dwtlsindex ) , :: std :: mem :: transmute ( lptlsvalue ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn TryAcquireSRWLockExclusive < > ( srwlock : * mut super::SystemServices:: RTL_SRWLOCK , ) -> u8 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn TryAcquireSRWLockExclusive ( srwlock : * mut super::SystemServices:: RTL_SRWLOCK ) -> u8 ; } TryAcquireSRWLockExclusive ( :: std :: mem :: transmute ( srwlock ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn TryAcquireSRWLockShared < > ( srwlock : * mut super::SystemServices:: RTL_SRWLOCK , ) -> u8 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn TryAcquireSRWLockShared ( srwlock : * mut super::SystemServices:: RTL_SRWLOCK ) -> u8 ; } TryAcquireSRWLockShared ( :: std :: mem :: transmute ( srwlock ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn TryEnterCriticalSection < > ( lpcriticalsection : * mut super::SystemServices:: RTL_CRITICAL_SECTION , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn TryEnterCriticalSection ( lpcriticalsection : * mut super::SystemServices:: RTL_CRITICAL_SECTION ) -> super::super::Foundation:: BOOL ; } TryEnterCriticalSection ( :: std :: mem :: transmute ( lpcriticalsection ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn TrySubmitThreadpoolCallback < > ( pfns : :: std :: option :: Option < super::SystemServices:: PTP_SIMPLE_CALLBACK > , pv : * mut :: std :: ffi :: c_void , pcbe : * mut super::SystemServices:: TP_CALLBACK_ENVIRON_V3 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn TrySubmitThreadpoolCallback ( pfns : :: windows :: RawPtr , pv : * mut :: std :: ffi :: c_void , pcbe : * mut super::SystemServices:: TP_CALLBACK_ENVIRON_V3_abi ) -> super::super::Foundation:: BOOL ; } TrySubmitThreadpoolCallback ( :: std :: mem :: transmute ( pfns ) , :: std :: mem :: transmute ( pv ) , :: std :: mem :: transmute ( pcbe ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: clone :: Clone ) ] # [ repr ( C ) ] pub struct UMS_SCHEDULER_STARTUP_INFO { pub UmsVersion : u32 , pub CompletionList : * mut :: std :: ffi :: c_void , pub SchedulerProc : :: std :: option :: Option < super::SystemServices:: PRTL_UMS_SCHEDULER_ENTRY_POINT > , pub SchedulerParam : * mut :: std :: ffi :: c_void } impl UMS_SCHEDULER_STARTUP_INFO { } impl :: std :: default :: Default for UMS_SCHEDULER_STARTUP_INFO { fn default ( ) -> Self { Self { UmsVersion : 0 , CompletionList : :: std :: ptr :: null_mut ( ) , SchedulerProc : :: std :: default :: Default :: default ( ) , SchedulerParam : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for UMS_SCHEDULER_STARTUP_INFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "UMS_SCHEDULER_STARTUP_INFO" ) . field ( "UmsVersion" , & self . UmsVersion ) . field ( "CompletionList" , & self . CompletionList ) . field ( "SchedulerParam" , & self . SchedulerParam ) . finish ( ) } } impl :: std :: cmp :: PartialEq for UMS_SCHEDULER_STARTUP_INFO { fn eq ( & self , other : & Self ) -> bool { self . UmsVersion == other . UmsVersion && self . CompletionList == other . CompletionList && self . SchedulerProc . map ( | f | f as usize ) == other . SchedulerProc . map ( | f | f as usize ) && self . SchedulerParam == other . SchedulerParam } } impl :: std :: cmp :: Eq for UMS_SCHEDULER_STARTUP_INFO { } # [ repr ( C ) ] # [ doc ( hidden ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct UMS_SCHEDULER_STARTUP_INFO_abi { pub UmsVersion : u32 , pub CompletionList : * mut :: std :: ffi :: c_void , pub SchedulerProc : :: windows :: RawPtr , pub SchedulerParam : * mut :: std :: ffi :: c_void } unsafe impl :: windows :: Abi for UMS_SCHEDULER_STARTUP_INFO { type Abi = UMS_SCHEDULER_STARTUP_INFO_abi ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct UMS_SYSTEM_THREAD_INFORMATION { pub UmsVersion : u32 , pub Anonymous : UMS_SYSTEM_THREAD_INFORMATION_0 } impl UMS_SYSTEM_THREAD_INFORMATION { } impl :: std :: cmp :: PartialEq for UMS_SYSTEM_THREAD_INFORMATION { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for UMS_SYSTEM_THREAD_INFORMATION { } unsafe impl :: windows :: Abi for UMS_SYSTEM_THREAD_INFORMATION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union UMS_SYSTEM_THREAD_INFORMATION_0 { pub Anonymous : UMS_SYSTEM_THREAD_INFORMATION_0_0 , pub ThreadUmsFlags : u32 } impl UMS_SYSTEM_THREAD_INFORMATION_0 { } impl :: std :: cmp :: PartialEq for UMS_SYSTEM_THREAD_INFORMATION_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for UMS_SYSTEM_THREAD_INFORMATION_0 { } unsafe impl :: windows :: Abi for UMS_SYSTEM_THREAD_INFORMATION_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct UMS_SYSTEM_THREAD_INFORMATION_0_0 { pub _bitfield : u32 } impl UMS_SYSTEM_THREAD_INFORMATION_0_0 { } impl :: std :: default :: Default for UMS_SYSTEM_THREAD_INFORMATION_0_0 { fn default ( ) -> Self { Self { _bitfield : 0 } } } impl :: std :: fmt :: Debug for UMS_SYSTEM_THREAD_INFORMATION_0_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Anonymous_e__Struct" ) . field ( "_bitfield" , & self . _bitfield ) . finish ( ) } } impl :: std :: cmp :: PartialEq for UMS_SYSTEM_THREAD_INFORMATION_0_0 { fn eq ( & self , other : & Self ) -> bool { self . _bitfield == other . _bitfield } } impl :: std :: cmp :: Eq for UMS_SYSTEM_THREAD_INFORMATION_0_0 { } unsafe impl :: windows :: Abi for UMS_SYSTEM_THREAD_INFORMATION_0_0 { type Abi = Self ; type DefaultType = Self ; } pub unsafe fn UmsThreadYield < > ( schedulerparam : * mut :: std :: ffi :: c_void , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn UmsThreadYield ( schedulerparam : * mut :: std :: ffi :: c_void ) -> super::super::Foundation:: BOOL ; } UmsThreadYield ( :: std :: mem :: transmute ( schedulerparam ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn UnregisterWait < 'a , > ( waithandle : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn UnregisterWait ( waithandle : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ; } UnregisterWait ( waithandle . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn UnregisterWaitEx < 'a , > ( waithandle : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , completionevent : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn UnregisterWaitEx ( waithandle : super::super::Foundation:: HANDLE , completionevent : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ; } UnregisterWaitEx ( waithandle . into_param ( ) . abi ( ) , completionevent . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn UpdateProcThreadAttribute < 'a , > ( lpattributelist : impl :: windows :: IntoParam < 'a , LPPROC_THREAD_ATTRIBUTE_LIST > , dwflags : u32 , attribute : usize , lpvalue : * mut :: std :: ffi :: c_void , cbsize : usize , lppreviousvalue : * mut :: std :: ffi :: c_void , lpreturnsize : * mut usize , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn UpdateProcThreadAttribute ( lpattributelist : LPPROC_THREAD_ATTRIBUTE_LIST , dwflags : u32 , attribute : usize , lpvalue : * mut :: std :: ffi :: c_void , cbsize : usize , lppreviousvalue : * mut :: std :: ffi :: c_void , lpreturnsize : * mut usize ) -> super::super::Foundation:: BOOL ; } UpdateProcThreadAttribute ( lpattributelist . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwflags ) , :: std :: mem :: transmute ( attribute ) , :: std :: mem :: transmute ( lpvalue ) , :: std :: mem :: transmute ( cbsize ) , :: std :: mem :: transmute ( lppreviousvalue ) , :: std :: mem :: transmute ( lpreturnsize ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct WAIT_RETURN_CAUSE ( pub u32 ) ; pub const WAIT_OBJECT_0 : WAIT_RETURN_CAUSE = WAIT_RETURN_CAUSE ( 0u32 ) ; pub const WAIT_ABANDONED : WAIT_RETURN_CAUSE = WAIT_RETURN_CAUSE ( 128u32 ) ; pub const WAIT_ABANDONED_0 : WAIT_RETURN_CAUSE = WAIT_RETURN_CAUSE ( 128u32 ) ; pub const WAIT_IO_COMPLETION : WAIT_RETURN_CAUSE = WAIT_RETURN_CAUSE ( 192u32 ) ; pub const WAIT_TIMEOUT : WAIT_RETURN_CAUSE = WAIT_RETURN_CAUSE ( 258u32 ) ; pub const WAIT_FAILED : WAIT_RETURN_CAUSE = WAIT_RETURN_CAUSE ( 4294967295u32 ) ; impl :: std :: convert :: From < u32 > for WAIT_RETURN_CAUSE { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for WAIT_RETURN_CAUSE { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for WAIT_RETURN_CAUSE { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for WAIT_RETURN_CAUSE { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for WAIT_RETURN_CAUSE { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for WAIT_RETURN_CAUSE { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct WORKER_THREAD_FLAGS ( pub u32 ) ; pub const WT_EXECUTEDEFAULT : WORKER_THREAD_FLAGS = WORKER_THREAD_FLAGS ( 0u32 ) ; pub const WT_EXECUTEINIOTHREAD : WORKER_THREAD_FLAGS = WORKER_THREAD_FLAGS ( 1u32 ) ; pub const WT_EXECUTEINPERSISTENTTHREAD : WORKER_THREAD_FLAGS = WORKER_THREAD_FLAGS ( 128u32 ) ; pub const WT_EXECUTEINWAITTHREAD : WORKER_THREAD_FLAGS = WORKER_THREAD_FLAGS ( 4u32 ) ; pub const WT_EXECUTELONGFUNCTION : WORKER_THREAD_FLAGS = WORKER_THREAD_FLAGS ( 16u32 ) ; pub const WT_EXECUTEONLYONCE : WORKER_THREAD_FLAGS = WORKER_THREAD_FLAGS ( 8u32 ) ; pub const WT_TRANSFER_IMPERSONATION : WORKER_THREAD_FLAGS = WORKER_THREAD_FLAGS ( 256u32 ) ; pub const WT_EXECUTEINTIMERTHREAD : WORKER_THREAD_FLAGS = WORKER_THREAD_FLAGS ( 32u32 ) ; impl :: std :: convert :: From < u32 > for WORKER_THREAD_FLAGS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for WORKER_THREAD_FLAGS { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for WORKER_THREAD_FLAGS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for WORKER_THREAD_FLAGS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for WORKER_THREAD_FLAGS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for WORKER_THREAD_FLAGS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub unsafe fn WaitForInputIdle < 'a , > ( hprocess : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , dwmilliseconds : u32 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="USER32" ) ] extern "system" { fn WaitForInputIdle ( hprocess : super::super::Foundation:: HANDLE , dwmilliseconds : u32 ) -> u32 ; } WaitForInputIdle ( hprocess . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwmilliseconds ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn WaitForMultipleObjects < 'a , > ( ncount : u32 , lphandles : * const super::super::Foundation:: HANDLE , bwaitall : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , dwmilliseconds : u32 , ) -> WAIT_RETURN_CAUSE { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn WaitForMultipleObjects ( ncount : u32 , lphandles : * const super::super::Foundation:: HANDLE , bwaitall : super::super::Foundation:: BOOL , dwmilliseconds : u32 ) -> WAIT_RETURN_CAUSE ; } WaitForMultipleObjects ( :: std :: mem :: transmute ( ncount ) , :: std :: mem :: transmute ( lphandles ) , bwaitall . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwmilliseconds ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn WaitForMultipleObjectsEx < 'a , > ( ncount : u32 , lphandles : * const super::super::Foundation:: HANDLE , bwaitall : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , dwmilliseconds : u32 , balertable : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> WAIT_RETURN_CAUSE { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn WaitForMultipleObjectsEx ( ncount : u32 , lphandles : * const super::super::Foundation:: HANDLE , bwaitall : super::super::Foundation:: BOOL , dwmilliseconds : u32 , balertable : super::super::Foundation:: BOOL ) -> WAIT_RETURN_CAUSE ; } WaitForMultipleObjectsEx ( :: std :: mem :: transmute ( ncount ) , :: std :: mem :: transmute ( lphandles ) , bwaitall . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwmilliseconds ) , balertable . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn WaitForSingleObject < 'a , > ( hhandle : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , dwmilliseconds : u32 , ) -> WAIT_RETURN_CAUSE { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn WaitForSingleObject ( hhandle : super::super::Foundation:: HANDLE , dwmilliseconds : u32 ) -> WAIT_RETURN_CAUSE ; } WaitForSingleObject ( hhandle . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwmilliseconds ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn WaitForSingleObjectEx < 'a , > ( hhandle : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , dwmilliseconds : u32 , balertable : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> WAIT_RETURN_CAUSE { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn WaitForSingleObjectEx ( hhandle : super::super::Foundation:: HANDLE , dwmilliseconds : u32 , balertable : super::super::Foundation:: BOOL ) -> WAIT_RETURN_CAUSE ; } WaitForSingleObjectEx ( hhandle . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwmilliseconds ) , balertable . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn WaitForThreadpoolIoCallbacks < 'a , > ( pio : * mut super::SystemServices:: TP_IO , fcancelpendingcallbacks : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn WaitForThreadpoolIoCallbacks ( pio : * mut super::SystemServices:: TP_IO , fcancelpendingcallbacks : super::super::Foundation:: BOOL ) ; } WaitForThreadpoolIoCallbacks ( :: std :: mem :: transmute ( pio ) , fcancelpendingcallbacks . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn WaitForThreadpoolTimerCallbacks < 'a , > ( pti : * mut super::SystemServices:: TP_TIMER , fcancelpendingcallbacks : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn WaitForThreadpoolTimerCallbacks ( pti : * mut super::SystemServices:: TP_TIMER , fcancelpendingcallbacks : super::super::Foundation:: BOOL ) ; } WaitForThreadpoolTimerCallbacks ( :: std :: mem :: transmute ( pti ) , fcancelpendingcallbacks . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn WaitForThreadpoolWaitCallbacks < 'a , > ( pwa : * mut super::SystemServices:: TP_WAIT , fcancelpendingcallbacks : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn WaitForThreadpoolWaitCallbacks ( pwa : * mut super::SystemServices:: TP_WAIT , fcancelpendingcallbacks : super::super::Foundation:: BOOL ) ; } WaitForThreadpoolWaitCallbacks ( :: std :: mem :: transmute ( pwa ) , fcancelpendingcallbacks . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn WaitForThreadpoolWorkCallbacks < 'a , > ( pwk : * mut super::SystemServices:: TP_WORK , fcancelpendingcallbacks : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn WaitForThreadpoolWorkCallbacks ( pwk : * mut super::SystemServices:: TP_WORK , fcancelpendingcallbacks : super::super::Foundation:: BOOL ) ; } WaitForThreadpoolWorkCallbacks ( :: std :: mem :: transmute ( pwk ) , fcancelpendingcallbacks . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn WaitOnAddress < > ( address : * mut :: std :: ffi :: c_void , compareaddress : * mut :: std :: ffi :: c_void , addresssize : usize , dwmilliseconds : u32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="vertdll" ) ] extern "system" { fn WaitOnAddress ( address : * mut :: std :: ffi :: c_void , compareaddress : * mut :: std :: ffi :: c_void , addresssize : usize , dwmilliseconds : u32 ) -> super::super::Foundation:: BOOL ; } WaitOnAddress ( :: std :: mem :: transmute ( address ) , :: std :: mem :: transmute ( compareaddress ) , :: std :: mem :: transmute ( addresssize ) , :: std :: mem :: transmute ( dwmilliseconds ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn WakeAllConditionVariable < > ( conditionvariable : * mut super::SystemServices:: RTL_CONDITION_VARIABLE , ) { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn WakeAllConditionVariable ( conditionvariable : * mut super::SystemServices:: RTL_CONDITION_VARIABLE ) ; } WakeAllConditionVariable ( :: std :: mem :: transmute ( conditionvariable ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn WakeByAddressAll < > ( address : * mut :: std :: ffi :: c_void , ) { # [ cfg ( windows ) ] { # [ link ( name ="vertdll" ) ] extern "system" { fn WakeByAddressAll ( address : * mut :: std :: ffi :: c_void ) ; } WakeByAddressAll ( :: std :: mem :: transmute ( address ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn WakeByAddressSingle < > ( address : * mut :: std :: ffi :: c_void , ) { # [ cfg ( windows ) ] { # [ link ( name ="vertdll" ) ] extern "system" { fn WakeByAddressSingle ( address : * mut :: std :: ffi :: c_void ) ; } WakeByAddressSingle ( :: std :: mem :: transmute ( address ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn WakeConditionVariable < > ( conditionvariable : * mut super::SystemServices:: RTL_CONDITION_VARIABLE , ) { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn WakeConditionVariable ( conditionvariable : * mut super::SystemServices:: RTL_CONDITION_VARIABLE ) ; } WakeConditionVariable ( :: std :: mem :: transmute ( conditionvariable ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn WinExec < 'a , > ( lpcmdline : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , ucmdshow : u32 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn WinExec ( lpcmdline : super::super::Foundation:: PSTR , ucmdshow : u32 ) -> u32 ; } WinExec ( lpcmdline . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ucmdshow ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn Wow64SetThreadDefaultGuestMachine < > ( machine : u16 , ) -> u16 { # [ cfg ( windows ) ] { # [ link ( name ="onecoreuap" ) ] extern "system" { fn Wow64SetThreadDefaultGuestMachine ( machine : u16 ) -> u16 ; } Wow64SetThreadDefaultGuestMachine ( :: std :: mem :: transmute ( machine ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn Wow64SuspendThread < 'a , > ( hthread : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="KERNEL32" ) ] extern "system" { fn Wow64SuspendThread ( hthread : super::super::Foundation:: HANDLE ) -> u32 ; } Wow64SuspendThread ( hthread . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } } # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod WindowsProgramming { pub const INFINITE : u32 = 4294967295u32 ; pub type LPFIBER_START_ROUTINE = unsafe extern "system" fn ( lpfiberparameter : * mut :: std :: ffi :: c_void ) ; pub const PIPE_WAIT : u32 = 0u32 ; pub type PPS_POST_PROCESS_INIT_ROUTINE = unsafe extern "system" fn ( ) ; } } # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod UI { # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod ColorSystem { # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CIEXYZ { pub ciexyzX : i32 , pub ciexyzY : i32 , pub ciexyzZ : i32 } impl CIEXYZ { } impl :: std :: default :: Default for CIEXYZ { fn default ( ) -> Self { Self { ciexyzX : 0 , ciexyzY : 0 , ciexyzZ : 0 } } } impl :: std :: fmt :: Debug for CIEXYZ { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CIEXYZ" ) . field ( "ciexyzX" , & self . ciexyzX ) . field ( "ciexyzY" , & self . ciexyzY ) . field ( "ciexyzZ" , & self . ciexyzZ ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CIEXYZ { fn eq ( & self , other : & Self ) -> bool { self . ciexyzX == other . ciexyzX && self . ciexyzY == other . ciexyzY && self . ciexyzZ == other . ciexyzZ } } impl :: std :: cmp :: Eq for CIEXYZ { } unsafe impl :: windows :: Abi for CIEXYZ { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CIEXYZTRIPLE { pub ciexyzRed : CIEXYZ , pub ciexyzGreen : CIEXYZ , pub ciexyzBlue : CIEXYZ } impl CIEXYZTRIPLE { } impl :: std :: default :: Default for CIEXYZTRIPLE { fn default ( ) -> Self { Self { ciexyzRed : :: std :: default :: Default :: default ( ) , ciexyzGreen : :: std :: default :: Default :: default ( ) , ciexyzBlue : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for CIEXYZTRIPLE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CIEXYZTRIPLE" ) . field ( "ciexyzRed" , & self . ciexyzRed ) . field ( "ciexyzGreen" , & self . ciexyzGreen ) . field ( "ciexyzBlue" , & self . ciexyzBlue ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CIEXYZTRIPLE { fn eq ( & self , other : & Self ) -> bool { self . ciexyzRed == other . ciexyzRed && self . ciexyzGreen == other . ciexyzGreen && self . ciexyzBlue == other . ciexyzBlue } } impl :: std :: cmp :: Eq for CIEXYZTRIPLE { } unsafe impl :: windows :: Abi for CIEXYZTRIPLE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct LOGCOLORSPACEW { pub lcsSignature : u32 , pub lcsVersion : u32 , pub lcsSize : u32 , pub lcsCSType : i32 , pub lcsIntent : i32 , pub lcsEndpoints : CIEXYZTRIPLE , pub lcsGammaRed : u32 , pub lcsGammaGreen : u32 , pub lcsGammaBlue : u32 , pub lcsFilename : [ u16 ;260 ] } impl LOGCOLORSPACEW { } impl :: std :: default :: Default for LOGCOLORSPACEW { fn default ( ) -> Self { Self { lcsSignature : 0 , lcsVersion : 0 , lcsSize : 0 , lcsCSType : 0 , lcsIntent : 0 , lcsEndpoints : :: std :: default :: Default :: default ( ) , lcsGammaRed : 0 , lcsGammaGreen : 0 , lcsGammaBlue : 0 , lcsFilename : [ 0 ;260 ] } } } impl :: std :: fmt :: Debug for LOGCOLORSPACEW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "LOGCOLORSPACEW" ) . field ( "lcsSignature" , & self . lcsSignature ) . field ( "lcsVersion" , & self . lcsVersion ) . field ( "lcsSize" , & self . lcsSize ) . field ( "lcsCSType" , & self . lcsCSType ) . field ( "lcsIntent" , & self . lcsIntent ) . field ( "lcsEndpoints" , & self . lcsEndpoints ) . field ( "lcsGammaRed" , & self . lcsGammaRed ) . field ( "lcsGammaGreen" , & self . lcsGammaGreen ) . field ( "lcsGammaBlue" , & self . lcsGammaBlue ) . field ( "lcsFilename" , & self . lcsFilename ) . finish ( ) } } impl :: std :: cmp :: PartialEq for LOGCOLORSPACEW { fn eq ( & self , other : & Self ) -> bool { self . lcsSignature == other . lcsSignature && self . lcsVersion == other . lcsVersion && self . lcsSize == other . lcsSize && self . lcsCSType == other . lcsCSType && self . lcsIntent == other . lcsIntent && self . lcsEndpoints == other . lcsEndpoints && self . lcsGammaRed == other . lcsGammaRed && self . lcsGammaGreen == other . lcsGammaGreen && self . lcsGammaBlue == other . lcsGammaBlue && self . lcsFilename == other . lcsFilename } } impl :: std :: cmp :: Eq for LOGCOLORSPACEW { } unsafe impl :: windows :: Abi for LOGCOLORSPACEW { type Abi = Self ; type DefaultType = Self ; } } # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod DisplayDevices { # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct BLENDOBJ { pub BlendFunction : super::super::Graphics::Gdi:: BLENDFUNCTION } impl BLENDOBJ { } impl :: std :: default :: Default for BLENDOBJ { fn default ( ) -> Self { Self { BlendFunction : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for BLENDOBJ { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "BLENDOBJ" ) . field ( "BlendFunction" , & self . BlendFunction ) . finish ( ) } } impl :: std :: cmp :: PartialEq for BLENDOBJ { fn eq ( & self , other : & Self ) -> bool { self . BlendFunction == other . BlendFunction } } impl :: std :: cmp :: Eq for BLENDOBJ { } unsafe impl :: windows :: Abi for BLENDOBJ { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct BRUSHOBJ { pub iSolidColor : u32 , pub pvRbrush : * mut :: std :: ffi :: c_void , pub flColorType : u32 } impl BRUSHOBJ { } impl :: std :: default :: Default for BRUSHOBJ { fn default ( ) -> Self { Self { iSolidColor : 0 , pvRbrush : :: std :: ptr :: null_mut ( ) , flColorType : 0 } } } impl :: std :: fmt :: Debug for BRUSHOBJ { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "BRUSHOBJ" ) . field ( "iSolidColor" , & self . iSolidColor ) . field ( "pvRbrush" , & self . pvRbrush ) . field ( "flColorType" , & self . flColorType ) . finish ( ) } } impl :: std :: cmp :: PartialEq for BRUSHOBJ { fn eq ( & self , other : & Self ) -> bool { self . iSolidColor == other . iSolidColor && self . pvRbrush == other . pvRbrush && self . flColorType == other . flColorType } } impl :: std :: cmp :: Eq for BRUSHOBJ { } unsafe impl :: windows :: Abi for BRUSHOBJ { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CIECHROMA { pub x : i32 , pub y : i32 , pub Y : i32 } impl CIECHROMA { } impl :: std :: default :: Default for CIECHROMA { fn default ( ) -> Self { Self { x : 0 , y : 0 , Y : 0 } } } impl :: std :: fmt :: Debug for CIECHROMA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CIECHROMA" ) . field ( "x" , & self . x ) . field ( "y" , & self . y ) . field ( "Y" , & self . Y ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CIECHROMA { fn eq ( & self , other : & Self ) -> bool { self . x == other . x && self . y == other . y && self . Y == other . Y } } impl :: std :: cmp :: Eq for CIECHROMA { } unsafe impl :: windows :: Abi for CIECHROMA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CLIPOBJ { pub iUniq : u32 , pub rclBounds : super::super::Foundation:: RECTL , pub iDComplexity : u8 , pub iFComplexity : u8 , pub iMode : u8 , pub fjOptions : u8 } impl CLIPOBJ { } impl :: std :: default :: Default for CLIPOBJ { fn default ( ) -> Self { Self { iUniq : 0 , rclBounds : :: std :: default :: Default :: default ( ) , iDComplexity : 0 , iFComplexity : 0 , iMode : 0 , fjOptions : 0 } } } impl :: std :: fmt :: Debug for CLIPOBJ { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CLIPOBJ" ) . field ( "iUniq" , & self . iUniq ) . field ( "rclBounds" , & self . rclBounds ) . field ( "iDComplexity" , & self . iDComplexity ) . field ( "iFComplexity" , & self . iFComplexity ) . field ( "iMode" , & self . iMode ) . field ( "fjOptions" , & self . fjOptions ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CLIPOBJ { fn eq ( & self , other : & Self ) -> bool { self . iUniq == other . iUniq && self . rclBounds == other . rclBounds && self . iDComplexity == other . iDComplexity && self . iFComplexity == other . iFComplexity && self . iMode == other . iMode && self . fjOptions == other . fjOptions } } impl :: std :: cmp :: Eq for CLIPOBJ { } unsafe impl :: windows :: Abi for CLIPOBJ { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct COLORINFO { pub Red : CIECHROMA , pub Green : CIECHROMA , pub Blue : CIECHROMA , pub Cyan : CIECHROMA , pub Magenta : CIECHROMA , pub Yellow : CIECHROMA , pub AlignmentWhite : CIECHROMA , pub RedGamma : i32 , pub GreenGamma : i32 , pub BlueGamma : i32 , pub MagentaInCyanDye : i32 , pub YellowInCyanDye : i32 , pub CyanInMagentaDye : i32 , pub YellowInMagentaDye : i32 , pub CyanInYellowDye : i32 , pub MagentaInYellowDye : i32 } impl COLORINFO { } impl :: std :: default :: Default for COLORINFO { fn default ( ) -> Self { Self { Red : :: std :: default :: Default :: default ( ) , Green : :: std :: default :: Default :: default ( ) , Blue : :: std :: default :: Default :: default ( ) , Cyan : :: std :: default :: Default :: default ( ) , Magenta : :: std :: default :: Default :: default ( ) , Yellow : :: std :: default :: Default :: default ( ) , AlignmentWhite : :: std :: default :: Default :: default ( ) , RedGamma : 0 , GreenGamma : 0 , BlueGamma : 0 , MagentaInCyanDye : 0 , YellowInCyanDye : 0 , CyanInMagentaDye : 0 , YellowInMagentaDye : 0 , CyanInYellowDye : 0 , MagentaInYellowDye : 0 } } } impl :: std :: fmt :: Debug for COLORINFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "COLORINFO" ) . field ( "Red" , & self . Red ) . field ( "Green" , & self . Green ) . field ( "Blue" , & self . Blue ) . field ( "Cyan" , & self . Cyan ) . field ( "Magenta" , & self . Magenta ) . field ( "Yellow" , & self . Yellow ) . field ( "AlignmentWhite" , & self . AlignmentWhite ) . field ( "RedGamma" , & self . RedGamma ) . field ( "GreenGamma" , & self . GreenGamma ) . field ( "BlueGamma" , & self . BlueGamma ) . field ( "MagentaInCyanDye" , & self . MagentaInCyanDye ) . field ( "YellowInCyanDye" , & self . YellowInCyanDye ) . field ( "CyanInMagentaDye" , & self . CyanInMagentaDye ) . field ( "YellowInMagentaDye" , & self . YellowInMagentaDye ) . field ( "CyanInYellowDye" , & self . CyanInYellowDye ) . field ( "MagentaInYellowDye" , & self . MagentaInYellowDye ) . finish ( ) } } impl :: std :: cmp :: PartialEq for COLORINFO { fn eq ( & self , other : & Self ) -> bool { self . Red == other . Red && self . Green == other . Green && self . Blue == other . Blue && self . Cyan == other . Cyan && self . Magenta == other . Magenta && self . Yellow == other . Yellow && self . AlignmentWhite == other . AlignmentWhite && self . RedGamma == other . RedGamma && self . GreenGamma == other . GreenGamma && self . BlueGamma == other . BlueGamma && self . MagentaInCyanDye == other . MagentaInCyanDye && self . YellowInCyanDye == other . YellowInCyanDye && self . CyanInMagentaDye == other . CyanInMagentaDye && self . YellowInMagentaDye == other . YellowInMagentaDye && self . CyanInYellowDye == other . CyanInYellowDye && self . MagentaInYellowDye == other . MagentaInYellowDye } } impl :: std :: cmp :: Eq for COLORINFO { } unsafe impl :: windows :: Abi for COLORINFO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DDVIDEOPORTCAPS { pub dwSize : u32 , pub dwFlags : u32 , pub dwMaxWidth : u32 , pub dwMaxVBIWidth : u32 , pub dwMaxHeight : u32 , pub dwVideoPortID : u32 , pub dwCaps : u32 , pub dwFX : u32 , pub dwNumAutoFlipSurfaces : u32 , pub dwAlignVideoPortBoundary : u32 , pub dwAlignVideoPortPrescaleWidth : u32 , pub dwAlignVideoPortCropBoundary : u32 , pub dwAlignVideoPortCropWidth : u32 , pub dwPreshrinkXStep : u32 , pub dwPreshrinkYStep : u32 , pub dwNumVBIAutoFlipSurfaces : u32 , pub dwNumPreferredAutoflip : u32 , pub wNumFilterTapsX : u16 , pub wNumFilterTapsY : u16 } impl DDVIDEOPORTCAPS { } impl :: std :: default :: Default for DDVIDEOPORTCAPS { fn default ( ) -> Self { Self { dwSize : 0 , dwFlags : 0 , dwMaxWidth : 0 , dwMaxVBIWidth : 0 , dwMaxHeight : 0 , dwVideoPortID : 0 , dwCaps : 0 , dwFX : 0 , dwNumAutoFlipSurfaces : 0 , dwAlignVideoPortBoundary : 0 , dwAlignVideoPortPrescaleWidth : 0 , dwAlignVideoPortCropBoundary : 0 , dwAlignVideoPortCropWidth : 0 , dwPreshrinkXStep : 0 , dwPreshrinkYStep : 0 , dwNumVBIAutoFlipSurfaces : 0 , dwNumPreferredAutoflip : 0 , wNumFilterTapsX : 0 , wNumFilterTapsY : 0 } } } impl :: std :: fmt :: Debug for DDVIDEOPORTCAPS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DDVIDEOPORTCAPS" ) . field ( "dwSize" , & self . dwSize ) . field ( "dwFlags" , & self . dwFlags ) . field ( "dwMaxWidth" , & self . dwMaxWidth ) . field ( "dwMaxVBIWidth" , & self . dwMaxVBIWidth ) . field ( "dwMaxHeight" , & self . dwMaxHeight ) . field ( "dwVideoPortID" , & self . dwVideoPortID ) . field ( "dwCaps" , & self . dwCaps ) . field ( "dwFX" , & self . dwFX ) . field ( "dwNumAutoFlipSurfaces" , & self . dwNumAutoFlipSurfaces ) . field ( "dwAlignVideoPortBoundary" , & self . dwAlignVideoPortBoundary ) . field ( "dwAlignVideoPortPrescaleWidth" , & self . dwAlignVideoPortPrescaleWidth ) . field ( "dwAlignVideoPortCropBoundary" , & self . dwAlignVideoPortCropBoundary ) . field ( "dwAlignVideoPortCropWidth" , & self . dwAlignVideoPortCropWidth ) . field ( "dwPreshrinkXStep" , & self . dwPreshrinkXStep ) . field ( "dwPreshrinkYStep" , & self . dwPreshrinkYStep ) . field ( "dwNumVBIAutoFlipSurfaces" , & self . dwNumVBIAutoFlipSurfaces ) . field ( "dwNumPreferredAutoflip" , & self . dwNumPreferredAutoflip ) . field ( "wNumFilterTapsX" , & self . wNumFilterTapsX ) . field ( "wNumFilterTapsY" , & self . wNumFilterTapsY ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DDVIDEOPORTCAPS { fn eq ( & self , other : & Self ) -> bool { self . dwSize == other . dwSize && self . dwFlags == other . dwFlags && self . dwMaxWidth == other . dwMaxWidth && self . dwMaxVBIWidth == other . dwMaxVBIWidth && self . dwMaxHeight == other . dwMaxHeight && self . dwVideoPortID == other . dwVideoPortID && self . dwCaps == other . dwCaps && self . dwFX == other . dwFX && self . dwNumAutoFlipSurfaces == other . dwNumAutoFlipSurfaces && self . dwAlignVideoPortBoundary == other . dwAlignVideoPortBoundary && self . dwAlignVideoPortPrescaleWidth == other . dwAlignVideoPortPrescaleWidth && self . dwAlignVideoPortCropBoundary == other . dwAlignVideoPortCropBoundary && self . dwAlignVideoPortCropWidth == other . dwAlignVideoPortCropWidth && self . dwPreshrinkXStep == other . dwPreshrinkXStep && self . dwPreshrinkYStep == other . dwPreshrinkYStep && self . dwNumVBIAutoFlipSurfaces == other . dwNumVBIAutoFlipSurfaces && self . dwNumPreferredAutoflip == other . dwNumPreferredAutoflip && self . wNumFilterTapsX == other . wNumFilterTapsX && self . wNumFilterTapsY == other . wNumFilterTapsY } } impl :: std :: cmp :: Eq for DDVIDEOPORTCAPS { } unsafe impl :: windows :: Abi for DDVIDEOPORTCAPS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DDVIDEOPORTDESC { pub dwSize : u32 , pub dwFieldWidth : u32 , pub dwVBIWidth : u32 , pub dwFieldHeight : u32 , pub dwMicrosecondsPerField : u32 , pub dwMaxPixelsPerSecond : u32 , pub dwVideoPortID : u32 , pub dwReserved1 : u32 , pub VideoPortType : super::super::Graphics::DirectDraw:: DDVIDEOPORTCONNECT , pub dwReserved2 : usize , pub dwReserved3 : usize } impl DDVIDEOPORTDESC { } impl :: std :: default :: Default for DDVIDEOPORTDESC { fn default ( ) -> Self { Self { dwSize : 0 , dwFieldWidth : 0 , dwVBIWidth : 0 , dwFieldHeight : 0 , dwMicrosecondsPerField : 0 , dwMaxPixelsPerSecond : 0 , dwVideoPortID : 0 , dwReserved1 : 0 , VideoPortType : :: std :: default :: Default :: default ( ) , dwReserved2 : 0 , dwReserved3 : 0 } } } impl :: std :: fmt :: Debug for DDVIDEOPORTDESC { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DDVIDEOPORTDESC" ) . field ( "dwSize" , & self . dwSize ) . field ( "dwFieldWidth" , & self . dwFieldWidth ) . field ( "dwVBIWidth" , & self . dwVBIWidth ) . field ( "dwFieldHeight" , & self . dwFieldHeight ) . field ( "dwMicrosecondsPerField" , & self . dwMicrosecondsPerField ) . field ( "dwMaxPixelsPerSecond" , & self . dwMaxPixelsPerSecond ) . field ( "dwVideoPortID" , & self . dwVideoPortID ) . field ( "dwReserved1" , & self . dwReserved1 ) . field ( "VideoPortType" , & self . VideoPortType ) . field ( "dwReserved2" , & self . dwReserved2 ) . field ( "dwReserved3" , & self . dwReserved3 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DDVIDEOPORTDESC { fn eq ( & self , other : & Self ) -> bool { self . dwSize == other . dwSize && self . dwFieldWidth == other . dwFieldWidth && self . dwVBIWidth == other . dwVBIWidth && self . dwFieldHeight == other . dwFieldHeight && self . dwMicrosecondsPerField == other . dwMicrosecondsPerField && self . dwMaxPixelsPerSecond == other . dwMaxPixelsPerSecond && self . dwVideoPortID == other . dwVideoPortID && self . dwReserved1 == other . dwReserved1 && self . VideoPortType == other . VideoPortType && self . dwReserved2 == other . dwReserved2 && self . dwReserved3 == other . dwReserved3 } } impl :: std :: cmp :: Eq for DDVIDEOPORTDESC { } unsafe impl :: windows :: Abi for DDVIDEOPORTDESC { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DDVIDEOPORTINFO { pub dwSize : u32 , pub dwOriginX : u32 , pub dwOriginY : u32 , pub dwVPFlags : u32 , pub rCrop : super::super::Foundation:: RECT , pub dwPrescaleWidth : u32 , pub dwPrescaleHeight : u32 , pub lpddpfInputFormat : * mut super::super::Graphics::DirectDraw:: DDPIXELFORMAT , pub lpddpfVBIInputFormat : * mut super::super::Graphics::DirectDraw:: DDPIXELFORMAT , pub lpddpfVBIOutputFormat : * mut super::super::Graphics::DirectDraw:: DDPIXELFORMAT , pub dwVBIHeight : u32 , pub dwReserved1 : usize , pub dwReserved2 : usize } impl DDVIDEOPORTINFO { } impl :: std :: default :: Default for DDVIDEOPORTINFO { fn default ( ) -> Self { Self { dwSize : 0 , dwOriginX : 0 , dwOriginY : 0 , dwVPFlags : 0 , rCrop : :: std :: default :: Default :: default ( ) , dwPrescaleWidth : 0 , dwPrescaleHeight : 0 , lpddpfInputFormat : :: std :: ptr :: null_mut ( ) , lpddpfVBIInputFormat : :: std :: ptr :: null_mut ( ) , lpddpfVBIOutputFormat : :: std :: ptr :: null_mut ( ) , dwVBIHeight : 0 , dwReserved1 : 0 , dwReserved2 : 0 } } } impl :: std :: fmt :: Debug for DDVIDEOPORTINFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DDVIDEOPORTINFO" ) . field ( "dwSize" , & self . dwSize ) . field ( "dwOriginX" , & self . dwOriginX ) . field ( "dwOriginY" , & self . dwOriginY ) . field ( "dwVPFlags" , & self . dwVPFlags ) . field ( "rCrop" , & self . rCrop ) . field ( "dwPrescaleWidth" , & self . dwPrescaleWidth ) . field ( "dwPrescaleHeight" , & self . dwPrescaleHeight ) . field ( "lpddpfInputFormat" , & self . lpddpfInputFormat ) . field ( "lpddpfVBIInputFormat" , & self . lpddpfVBIInputFormat ) . field ( "lpddpfVBIOutputFormat" , & self . lpddpfVBIOutputFormat ) . field ( "dwVBIHeight" , & self . dwVBIHeight ) . field ( "dwReserved1" , & self . dwReserved1 ) . field ( "dwReserved2" , & self . dwReserved2 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DDVIDEOPORTINFO { fn eq ( & self , other : & Self ) -> bool { self . dwSize == other . dwSize && self . dwOriginX == other . dwOriginX && self . dwOriginY == other . dwOriginY && self . dwVPFlags == other . dwVPFlags && self . rCrop == other . rCrop && self . dwPrescaleWidth == other . dwPrescaleWidth && self . dwPrescaleHeight == other . dwPrescaleHeight && self . lpddpfInputFormat == other . lpddpfInputFormat && self . lpddpfVBIInputFormat == other . lpddpfVBIInputFormat && self . lpddpfVBIOutputFormat == other . lpddpfVBIOutputFormat && self . dwVBIHeight == other . dwVBIHeight && self . dwReserved1 == other . dwReserved1 && self . dwReserved2 == other . dwReserved2 } } impl :: std :: cmp :: Eq for DDVIDEOPORTINFO { } unsafe impl :: windows :: Abi for DDVIDEOPORTINFO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DD_ADDATTACHEDSURFACEDATA { pub lpDD : * mut DD_DIRECTDRAW_GLOBAL , pub lpDDSurface : * mut DD_SURFACE_LOCAL , pub lpSurfAttached : * mut DD_SURFACE_LOCAL , pub ddRVal : :: windows :: HRESULT , pub AddAttachedSurface : * mut :: std :: ffi :: c_void } impl DD_ADDATTACHEDSURFACEDATA { } impl :: std :: default :: Default for DD_ADDATTACHEDSURFACEDATA { fn default ( ) -> Self { Self { lpDD : :: std :: ptr :: null_mut ( ) , lpDDSurface : :: std :: ptr :: null_mut ( ) , lpSurfAttached : :: std :: ptr :: null_mut ( ) , ddRVal : :: std :: default :: Default :: default ( ) , AddAttachedSurface : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for DD_ADDATTACHEDSURFACEDATA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DD_ADDATTACHEDSURFACEDATA" ) . field ( "lpDD" , & self . lpDD ) . field ( "lpDDSurface" , & self . lpDDSurface ) . field ( "lpSurfAttached" , & self . lpSurfAttached ) . field ( "ddRVal" , & self . ddRVal ) . field ( "AddAttachedSurface" , & self . AddAttachedSurface ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DD_ADDATTACHEDSURFACEDATA { fn eq ( & self , other : & Self ) -> bool { self . lpDD == other . lpDD && self . lpDDSurface == other . lpDDSurface && self . lpSurfAttached == other . lpSurfAttached && self . ddRVal == other . ddRVal && self . AddAttachedSurface == other . AddAttachedSurface } } impl :: std :: cmp :: Eq for DD_ADDATTACHEDSURFACEDATA { } unsafe impl :: windows :: Abi for DD_ADDATTACHEDSURFACEDATA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DD_ATTACHLIST { pub lpLink : * mut DD_ATTACHLIST , pub lpAttached : * mut DD_SURFACE_LOCAL } impl DD_ATTACHLIST { } impl :: std :: default :: Default for DD_ATTACHLIST { fn default ( ) -> Self { Self { lpLink : :: std :: ptr :: null_mut ( ) , lpAttached : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for DD_ATTACHLIST { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DD_ATTACHLIST" ) . field ( "lpLink" , & self . lpLink ) . field ( "lpAttached" , & self . lpAttached ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DD_ATTACHLIST { fn eq ( & self , other : & Self ) -> bool { self . lpLink == other . lpLink && self . lpAttached == other . lpAttached } } impl :: std :: cmp :: Eq for DD_ATTACHLIST { } unsafe impl :: windows :: Abi for DD_ATTACHLIST { type Abi = Self ; type DefaultType = Self ; } impl :: std :: clone :: Clone for DD_BLTDATA { fn clone ( & self ) -> Self { unimplemented ! ( ) } } # [ repr ( C ) ] pub struct DD_BLTDATA { pub lpDD : * mut DD_DIRECTDRAW_GLOBAL , pub lpDDDestSurface : * mut DD_SURFACE_LOCAL , pub rDest : super::super::Foundation:: RECTL , pub lpDDSrcSurface : * mut DD_SURFACE_LOCAL , pub rSrc : super::super::Foundation:: RECTL , pub dwFlags : u32 , pub dwROPFlags : u32 , pub bltFX : super::super::Graphics::DirectDraw:: DDBLTFX , pub ddRVal : :: windows :: HRESULT , pub Blt : * mut :: std :: ffi :: c_void , pub IsClipped : super::super::Foundation:: BOOL , pub rOrigDest : super::super::Foundation:: RECTL , pub rOrigSrc : super::super::Foundation:: RECTL , pub dwRectCnt : u32 , pub prDestRects : * mut super::super::Foundation:: RECT , pub dwAFlags : u32 , pub ddargbScaleFactors : super::super::Graphics::DirectDraw:: DDARGB } impl DD_BLTDATA { } impl :: std :: cmp :: PartialEq for DD_BLTDATA { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for DD_BLTDATA { } # [ repr ( C ) ] # [ doc ( hidden ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct DD_BLTDATA_abi { pub lpDD : * mut DD_DIRECTDRAW_GLOBAL , pub lpDDDestSurface : * mut DD_SURFACE_LOCAL , pub rDest : super::super::Foundation:: RECTL , pub lpDDSrcSurface : * mut DD_SURFACE_LOCAL , pub rSrc : super::super::Foundation:: RECTL , pub dwFlags : u32 , pub dwROPFlags : u32 , pub bltFX : super::super::Graphics::DirectDraw:: DDBLTFX_abi , pub ddRVal : :: windows :: HRESULT , pub Blt : * mut :: std :: ffi :: c_void , pub IsClipped : super::super::Foundation:: BOOL , pub rOrigDest : super::super::Foundation:: RECTL , pub rOrigSrc : super::super::Foundation:: RECTL , pub dwRectCnt : u32 , pub prDestRects : * mut super::super::Foundation:: RECT , pub dwAFlags : u32 , pub ddargbScaleFactors : super::super::Graphics::DirectDraw:: DDARGB } unsafe impl :: windows :: Abi for DD_BLTDATA { type Abi = DD_BLTDATA_abi ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone ) ] # [ repr ( C ) ] pub struct DD_CALLBACKS { pub dwSize : u32 , pub dwFlags : u32 , pub DestroyDriver : :: std :: option :: Option < super::super::Graphics::DirectDraw:: PDD_DESTROYDRIVER > , pub CreateSurface : :: std :: option :: Option < PDD_CREATESURFACE > , pub SetColorKey : :: std :: option :: Option < super::super::Graphics::DirectDraw:: PDD_SETCOLORKEY > , pub SetMode : :: std :: option :: Option < super::super::Graphics::DirectDraw:: PDD_SETMODE > , pub WaitForVerticalBlank : :: std :: option :: Option < PDD_WAITFORVERTICALBLANK > , pub CanCreateSurface : :: std :: option :: Option < PDD_CANCREATESURFACE > , pub CreatePalette : :: std :: option :: Option < PDD_CREATEPALETTE > , pub GetScanLine : :: std :: option :: Option < PDD_GETSCANLINE > , pub MapMemory : :: std :: option :: Option < PDD_MAPMEMORY > } impl DD_CALLBACKS { } impl :: std :: default :: Default for DD_CALLBACKS { fn default ( ) -> Self { Self { dwSize : 0 , dwFlags : 0 , DestroyDriver : :: std :: default :: Default :: default ( ) , CreateSurface : :: std :: default :: Default :: default ( ) , SetColorKey : :: std :: default :: Default :: default ( ) , SetMode : :: std :: default :: Default :: default ( ) , WaitForVerticalBlank : :: std :: default :: Default :: default ( ) , CanCreateSurface : :: std :: default :: Default :: default ( ) , CreatePalette : :: std :: default :: Default :: default ( ) , GetScanLine : :: std :: default :: Default :: default ( ) , MapMemory : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for DD_CALLBACKS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DD_CALLBACKS" ) . field ( "dwSize" , & self . dwSize ) . field ( "dwFlags" , & self . dwFlags ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DD_CALLBACKS { fn eq ( & self , other : & Self ) -> bool { self . dwSize == other . dwSize && self . dwFlags == other . dwFlags && self . DestroyDriver . map ( | f | f as usize ) == other . DestroyDriver . map ( | f | f as usize ) && self . CreateSurface . map ( | f | f as usize ) == other . CreateSurface . map ( | f | f as usize ) && self . SetColorKey . map ( | f | f as usize ) == other . SetColorKey . map ( | f | f as usize ) && self . SetMode . map ( | f | f as usize ) == other . SetMode . map ( | f | f as usize ) && self . WaitForVerticalBlank . map ( | f | f as usize ) == other . WaitForVerticalBlank . map ( | f | f as usize ) && self . CanCreateSurface . map ( | f | f as usize ) == other . CanCreateSurface . map ( | f | f as usize ) && self . CreatePalette . map ( | f | f as usize ) == other . CreatePalette . map ( | f | f as usize ) && self . GetScanLine . map ( | f | f as usize ) == other . GetScanLine . map ( | f | f as usize ) && self . MapMemory . map ( | f | f as usize ) == other . MapMemory . map ( | f | f as usize ) } } impl :: std :: cmp :: Eq for DD_CALLBACKS { } # [ repr ( C ) ] # [ doc ( hidden ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct DD_CALLBACKS_abi { pub dwSize : u32 , pub dwFlags : u32 , pub DestroyDriver : :: windows :: RawPtr , pub CreateSurface : :: windows :: RawPtr , pub SetColorKey : :: windows :: RawPtr , pub SetMode : :: windows :: RawPtr , pub WaitForVerticalBlank : :: windows :: RawPtr , pub CanCreateSurface : :: windows :: RawPtr , pub CreatePalette : :: windows :: RawPtr , pub GetScanLine : :: windows :: RawPtr , pub MapMemory : :: windows :: RawPtr } unsafe impl :: windows :: Abi for DD_CALLBACKS { type Abi = DD_CALLBACKS_abi ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DD_CANCREATESURFACEDATA { pub lpDD : * mut DD_DIRECTDRAW_GLOBAL , pub lpDDSurfaceDesc : * mut super::super::Graphics::DirectDraw:: DDSURFACEDESC , pub bIsDifferentPixelFormat : u32 , pub ddRVal : :: windows :: HRESULT , pub CanCreateSurface : * mut :: std :: ffi :: c_void } impl DD_CANCREATESURFACEDATA { } impl :: std :: default :: Default for DD_CANCREATESURFACEDATA { fn default ( ) -> Self { Self { lpDD : :: std :: ptr :: null_mut ( ) , lpDDSurfaceDesc : :: std :: ptr :: null_mut ( ) , bIsDifferentPixelFormat : 0 , ddRVal : :: std :: default :: Default :: default ( ) , CanCreateSurface : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for DD_CANCREATESURFACEDATA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DD_CANCREATESURFACEDATA" ) . field ( "lpDD" , & self . lpDD ) . field ( "lpDDSurfaceDesc" , & self . lpDDSurfaceDesc ) . field ( "bIsDifferentPixelFormat" , & self . bIsDifferentPixelFormat ) . field ( "ddRVal" , & self . ddRVal ) . field ( "CanCreateSurface" , & self . CanCreateSurface ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DD_CANCREATESURFACEDATA { fn eq ( & self , other : & Self ) -> bool { self . lpDD == other . lpDD && self . lpDDSurfaceDesc == other . lpDDSurfaceDesc && self . bIsDifferentPixelFormat == other . bIsDifferentPixelFormat && self . ddRVal == other . ddRVal && self . CanCreateSurface == other . CanCreateSurface } } impl :: std :: cmp :: Eq for DD_CANCREATESURFACEDATA { } unsafe impl :: windows :: Abi for DD_CANCREATESURFACEDATA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DD_CREATEPALETTEDATA { pub lpDD : * mut DD_DIRECTDRAW_GLOBAL , pub lpDDPalette : * mut DD_PALETTE_GLOBAL , pub lpColorTable : * mut super::super::Graphics::Gdi:: PALETTEENTRY , pub ddRVal : :: windows :: HRESULT , pub CreatePalette : * mut :: std :: ffi :: c_void , pub is_excl : super::super::Foundation:: BOOL } impl DD_CREATEPALETTEDATA { } impl :: std :: default :: Default for DD_CREATEPALETTEDATA { fn default ( ) -> Self { Self { lpDD : :: std :: ptr :: null_mut ( ) , lpDDPalette : :: std :: ptr :: null_mut ( ) , lpColorTable : :: std :: ptr :: null_mut ( ) , ddRVal : :: std :: default :: Default :: default ( ) , CreatePalette : :: std :: ptr :: null_mut ( ) , is_excl : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for DD_CREATEPALETTEDATA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DD_CREATEPALETTEDATA" ) . field ( "lpDD" , & self . lpDD ) . field ( "lpDDPalette" , & self . lpDDPalette ) . field ( "lpColorTable" , & self . lpColorTable ) . field ( "ddRVal" , & self . ddRVal ) . field ( "CreatePalette" , & self . CreatePalette ) . field ( "is_excl" , & self . is_excl ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DD_CREATEPALETTEDATA { fn eq ( & self , other : & Self ) -> bool { self . lpDD == other . lpDD && self . lpDDPalette == other . lpDDPalette && self . lpColorTable == other . lpColorTable && self . ddRVal == other . ddRVal && self . CreatePalette == other . CreatePalette && self . is_excl == other . is_excl } } impl :: std :: cmp :: Eq for DD_CREATEPALETTEDATA { } unsafe impl :: windows :: Abi for DD_CREATEPALETTEDATA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DD_CREATESURFACEDATA { pub lpDD : * mut DD_DIRECTDRAW_GLOBAL , pub lpDDSurfaceDesc : * mut super::super::Graphics::DirectDraw:: DDSURFACEDESC , pub lplpSList : * mut * mut DD_SURFACE_LOCAL , pub dwSCnt : u32 , pub ddRVal : :: windows :: HRESULT , pub CreateSurface : * mut :: std :: ffi :: c_void } impl DD_CREATESURFACEDATA { } impl :: std :: default :: Default for DD_CREATESURFACEDATA { fn default ( ) -> Self { Self { lpDD : :: std :: ptr :: null_mut ( ) , lpDDSurfaceDesc : :: std :: ptr :: null_mut ( ) , lplpSList : :: std :: ptr :: null_mut ( ) , dwSCnt : 0 , ddRVal : :: std :: default :: Default :: default ( ) , CreateSurface : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for DD_CREATESURFACEDATA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DD_CREATESURFACEDATA" ) . field ( "lpDD" , & self . lpDD ) . field ( "lpDDSurfaceDesc" , & self . lpDDSurfaceDesc ) . field ( "lplpSList" , & self . lplpSList ) . field ( "dwSCnt" , & self . dwSCnt ) . field ( "ddRVal" , & self . ddRVal ) . field ( "CreateSurface" , & self . CreateSurface ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DD_CREATESURFACEDATA { fn eq ( & self , other : & Self ) -> bool { self . lpDD == other . lpDD && self . lpDDSurfaceDesc == other . lpDDSurfaceDesc && self . lplpSList == other . lplpSList && self . dwSCnt == other . dwSCnt && self . ddRVal == other . ddRVal && self . CreateSurface == other . CreateSurface } } impl :: std :: cmp :: Eq for DD_CREATESURFACEDATA { } unsafe impl :: windows :: Abi for DD_CREATESURFACEDATA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone ) ] # [ repr ( C ) ] pub struct DD_D3DBUFCALLBACKS { pub dwSize : u32 , pub dwFlags : u32 , pub CanCreateD3DBuffer : :: std :: option :: Option < PDD_CANCREATESURFACE > , pub CreateD3DBuffer : :: std :: option :: Option < PDD_CREATESURFACE > , pub DestroyD3DBuffer : :: std :: option :: Option < PDD_SURFCB_DESTROYSURFACE > , pub LockD3DBuffer : :: std :: option :: Option < PDD_SURFCB_LOCK > , pub UnlockD3DBuffer : :: std :: option :: Option < PDD_SURFCB_UNLOCK > } impl DD_D3DBUFCALLBACKS { } impl :: std :: default :: Default for DD_D3DBUFCALLBACKS { fn default ( ) -> Self { Self { dwSize : 0 , dwFlags : 0 , CanCreateD3DBuffer : :: std :: default :: Default :: default ( ) , CreateD3DBuffer : :: std :: default :: Default :: default ( ) , DestroyD3DBuffer : :: std :: default :: Default :: default ( ) , LockD3DBuffer : :: std :: default :: Default :: default ( ) , UnlockD3DBuffer : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for DD_D3DBUFCALLBACKS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DD_D3DBUFCALLBACKS" ) . field ( "dwSize" , & self . dwSize ) . field ( "dwFlags" , & self . dwFlags ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DD_D3DBUFCALLBACKS { fn eq ( & self , other : & Self ) -> bool { self . dwSize == other . dwSize && self . dwFlags == other . dwFlags && self . CanCreateD3DBuffer . map ( | f | f as usize ) == other . CanCreateD3DBuffer . map ( | f | f as usize ) && self . CreateD3DBuffer . map ( | f | f as usize ) == other . CreateD3DBuffer . map ( | f | f as usize ) && self . DestroyD3DBuffer . map ( | f | f as usize ) == other . DestroyD3DBuffer . map ( | f | f as usize ) && self . LockD3DBuffer . map ( | f | f as usize ) == other . LockD3DBuffer . map ( | f | f as usize ) && self . UnlockD3DBuffer . map ( | f | f as usize ) == other . UnlockD3DBuffer . map ( | f | f as usize ) } } impl :: std :: cmp :: Eq for DD_D3DBUFCALLBACKS { } # [ repr ( C ) ] # [ doc ( hidden ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct DD_D3DBUFCALLBACKS_abi { pub dwSize : u32 , pub dwFlags : u32 , pub CanCreateD3DBuffer : :: windows :: RawPtr , pub CreateD3DBuffer : :: windows :: RawPtr , pub DestroyD3DBuffer : :: windows :: RawPtr , pub LockD3DBuffer : :: windows :: RawPtr , pub UnlockD3DBuffer : :: windows :: RawPtr } unsafe impl :: windows :: Abi for DD_D3DBUFCALLBACKS { type Abi = DD_D3DBUFCALLBACKS_abi ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DD_DESTROYPALETTEDATA { pub lpDD : * mut DD_DIRECTDRAW_GLOBAL , pub lpDDPalette : * mut DD_PALETTE_GLOBAL , pub ddRVal : :: windows :: HRESULT , pub DestroyPalette : * mut :: std :: ffi :: c_void } impl DD_DESTROYPALETTEDATA { } impl :: std :: default :: Default for DD_DESTROYPALETTEDATA { fn default ( ) -> Self { Self { lpDD : :: std :: ptr :: null_mut ( ) , lpDDPalette : :: std :: ptr :: null_mut ( ) , ddRVal : :: std :: default :: Default :: default ( ) , DestroyPalette : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for DD_DESTROYPALETTEDATA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DD_DESTROYPALETTEDATA" ) . field ( "lpDD" , & self . lpDD ) . field ( "lpDDPalette" , & self . lpDDPalette ) . field ( "ddRVal" , & self . ddRVal ) . field ( "DestroyPalette" , & self . DestroyPalette ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DD_DESTROYPALETTEDATA { fn eq ( & self , other : & Self ) -> bool { self . lpDD == other . lpDD && self . lpDDPalette == other . lpDDPalette && self . ddRVal == other . ddRVal && self . DestroyPalette == other . DestroyPalette } } impl :: std :: cmp :: Eq for DD_DESTROYPALETTEDATA { } unsafe impl :: windows :: Abi for DD_DESTROYPALETTEDATA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DD_DESTROYSURFACEDATA { pub lpDD : * mut DD_DIRECTDRAW_GLOBAL , pub lpDDSurface : * mut DD_SURFACE_LOCAL , pub ddRVal : :: windows :: HRESULT , pub DestroySurface : * mut :: std :: ffi :: c_void } impl DD_DESTROYSURFACEDATA { } impl :: std :: default :: Default for DD_DESTROYSURFACEDATA { fn default ( ) -> Self { Self { lpDD : :: std :: ptr :: null_mut ( ) , lpDDSurface : :: std :: ptr :: null_mut ( ) , ddRVal : :: std :: default :: Default :: default ( ) , DestroySurface : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for DD_DESTROYSURFACEDATA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DD_DESTROYSURFACEDATA" ) . field ( "lpDD" , & self . lpDD ) . field ( "lpDDSurface" , & self . lpDDSurface ) . field ( "ddRVal" , & self . ddRVal ) . field ( "DestroySurface" , & self . DestroySurface ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DD_DESTROYSURFACEDATA { fn eq ( & self , other : & Self ) -> bool { self . lpDD == other . lpDD && self . lpDDSurface == other . lpDDSurface && self . ddRVal == other . ddRVal && self . DestroySurface == other . DestroySurface } } impl :: std :: cmp :: Eq for DD_DESTROYSURFACEDATA { } unsafe impl :: windows :: Abi for DD_DESTROYSURFACEDATA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DD_DIRECTDRAW_GLOBAL { pub dhpdev : * mut :: std :: ffi :: c_void , pub dwReserved1 : usize , pub dwReserved2 : usize , pub lpDDVideoPortCaps : * mut DDVIDEOPORTCAPS } impl DD_DIRECTDRAW_GLOBAL { } impl :: std :: default :: Default for DD_DIRECTDRAW_GLOBAL { fn default ( ) -> Self { Self { dhpdev : :: std :: ptr :: null_mut ( ) , dwReserved1 : 0 , dwReserved2 : 0 , lpDDVideoPortCaps : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for DD_DIRECTDRAW_GLOBAL { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DD_DIRECTDRAW_GLOBAL" ) . field ( "dhpdev" , & self . dhpdev ) . field ( "dwReserved1" , & self . dwReserved1 ) . field ( "dwReserved2" , & self . dwReserved2 ) . field ( "lpDDVideoPortCaps" , & self . lpDDVideoPortCaps ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DD_DIRECTDRAW_GLOBAL { fn eq ( & self , other : & Self ) -> bool { self . dhpdev == other . dhpdev && self . dwReserved1 == other . dwReserved1 && self . dwReserved2 == other . dwReserved2 && self . lpDDVideoPortCaps == other . lpDDVideoPortCaps } } impl :: std :: cmp :: Eq for DD_DIRECTDRAW_GLOBAL { } unsafe impl :: windows :: Abi for DD_DIRECTDRAW_GLOBAL { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DD_DIRECTDRAW_LOCAL { pub lpGbl : * mut DD_DIRECTDRAW_GLOBAL } impl DD_DIRECTDRAW_LOCAL { } impl :: std :: default :: Default for DD_DIRECTDRAW_LOCAL { fn default ( ) -> Self { Self { lpGbl : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for DD_DIRECTDRAW_LOCAL { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DD_DIRECTDRAW_LOCAL" ) . field ( "lpGbl" , & self . lpGbl ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DD_DIRECTDRAW_LOCAL { fn eq ( & self , other : & Self ) -> bool { self . lpGbl == other . lpGbl } } impl :: std :: cmp :: Eq for DD_DIRECTDRAW_LOCAL { } unsafe impl :: windows :: Abi for DD_DIRECTDRAW_LOCAL { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DD_FLIPDATA { pub lpDD : * mut DD_DIRECTDRAW_GLOBAL , pub lpSurfCurr : * mut DD_SURFACE_LOCAL , pub lpSurfTarg : * mut DD_SURFACE_LOCAL , pub dwFlags : u32 , pub ddRVal : :: windows :: HRESULT , pub Flip : * mut :: std :: ffi :: c_void , pub lpSurfCurrLeft : * mut DD_SURFACE_LOCAL , pub lpSurfTargLeft : * mut DD_SURFACE_LOCAL } impl DD_FLIPDATA { } impl :: std :: default :: Default for DD_FLIPDATA { fn default ( ) -> Self { Self { lpDD : :: std :: ptr :: null_mut ( ) , lpSurfCurr : :: std :: ptr :: null_mut ( ) , lpSurfTarg : :: std :: ptr :: null_mut ( ) , dwFlags : 0 , ddRVal : :: std :: default :: Default :: default ( ) , Flip : :: std :: ptr :: null_mut ( ) , lpSurfCurrLeft : :: std :: ptr :: null_mut ( ) , lpSurfTargLeft : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for DD_FLIPDATA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DD_FLIPDATA" ) . field ( "lpDD" , & self . lpDD ) . field ( "lpSurfCurr" , & self . lpSurfCurr ) . field ( "lpSurfTarg" , & self . lpSurfTarg ) . field ( "dwFlags" , & self . dwFlags ) . field ( "ddRVal" , & self . ddRVal ) . field ( "Flip" , & self . Flip ) . field ( "lpSurfCurrLeft" , & self . lpSurfCurrLeft ) . field ( "lpSurfTargLeft" , & self . lpSurfTargLeft ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DD_FLIPDATA { fn eq ( & self , other : & Self ) -> bool { self . lpDD == other . lpDD && self . lpSurfCurr == other . lpSurfCurr && self . lpSurfTarg == other . lpSurfTarg && self . dwFlags == other . dwFlags && self . ddRVal == other . ddRVal && self . Flip == other . Flip && self . lpSurfCurrLeft == other . lpSurfCurrLeft && self . lpSurfTargLeft == other . lpSurfTargLeft } } impl :: std :: cmp :: Eq for DD_FLIPDATA { } unsafe impl :: windows :: Abi for DD_FLIPDATA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DD_GETBLTSTATUSDATA { pub lpDD : * mut DD_DIRECTDRAW_GLOBAL , pub lpDDSurface : * mut DD_SURFACE_LOCAL , pub dwFlags : u32 , pub ddRVal : :: windows :: HRESULT , pub GetBltStatus : * mut :: std :: ffi :: c_void } impl DD_GETBLTSTATUSDATA { } impl :: std :: default :: Default for DD_GETBLTSTATUSDATA { fn default ( ) -> Self { Self { lpDD : :: std :: ptr :: null_mut ( ) , lpDDSurface : :: std :: ptr :: null_mut ( ) , dwFlags : 0 , ddRVal : :: std :: default :: Default :: default ( ) , GetBltStatus : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for DD_GETBLTSTATUSDATA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DD_GETBLTSTATUSDATA" ) . field ( "lpDD" , & self . lpDD ) . field ( "lpDDSurface" , & self . lpDDSurface ) . field ( "dwFlags" , & self . dwFlags ) . field ( "ddRVal" , & self . ddRVal ) . field ( "GetBltStatus" , & self . GetBltStatus ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DD_GETBLTSTATUSDATA { fn eq ( & self , other : & Self ) -> bool { self . lpDD == other . lpDD && self . lpDDSurface == other . lpDDSurface && self . dwFlags == other . dwFlags && self . ddRVal == other . ddRVal && self . GetBltStatus == other . GetBltStatus } } impl :: std :: cmp :: Eq for DD_GETBLTSTATUSDATA { } unsafe impl :: windows :: Abi for DD_GETBLTSTATUSDATA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DD_GETDRIVERINFODATA { pub dhpdev : * mut :: std :: ffi :: c_void , pub dwSize : u32 , pub dwFlags : u32 , pub guidInfo : :: windows :: Guid , pub dwExpectedSize : u32 , pub lpvData : * mut :: std :: ffi :: c_void , pub dwActualSize : u32 , pub ddRVal : :: windows :: HRESULT } impl DD_GETDRIVERINFODATA { } impl :: std :: default :: Default for DD_GETDRIVERINFODATA { fn default ( ) -> Self { Self { dhpdev : :: std :: ptr :: null_mut ( ) , dwSize : 0 , dwFlags : 0 , guidInfo : :: std :: default :: Default :: default ( ) , dwExpectedSize : 0 , lpvData : :: std :: ptr :: null_mut ( ) , dwActualSize : 0 , ddRVal : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for DD_GETDRIVERINFODATA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DD_GETDRIVERINFODATA" ) . field ( "dhpdev" , & self . dhpdev ) . field ( "dwSize" , & self . dwSize ) . field ( "dwFlags" , & self . dwFlags ) . field ( "guidInfo" , & self . guidInfo ) . field ( "dwExpectedSize" , & self . dwExpectedSize ) . field ( "lpvData" , & self . lpvData ) . field ( "dwActualSize" , & self . dwActualSize ) . field ( "ddRVal" , & self . ddRVal ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DD_GETDRIVERINFODATA { fn eq ( & self , other : & Self ) -> bool { self . dhpdev == other . dhpdev && self . dwSize == other . dwSize && self . dwFlags == other . dwFlags && self . guidInfo == other . guidInfo && self . dwExpectedSize == other . dwExpectedSize && self . lpvData == other . lpvData && self . dwActualSize == other . dwActualSize && self . ddRVal == other . ddRVal } } impl :: std :: cmp :: Eq for DD_GETDRIVERINFODATA { } unsafe impl :: windows :: Abi for DD_GETDRIVERINFODATA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DD_GETFLIPSTATUSDATA { pub lpDD : * mut DD_DIRECTDRAW_GLOBAL , pub lpDDSurface : * mut DD_SURFACE_LOCAL , pub dwFlags : u32 , pub ddRVal : :: windows :: HRESULT , pub GetFlipStatus : * mut :: std :: ffi :: c_void } impl DD_GETFLIPSTATUSDATA { } impl :: std :: default :: Default for DD_GETFLIPSTATUSDATA { fn default ( ) -> Self { Self { lpDD : :: std :: ptr :: null_mut ( ) , lpDDSurface : :: std :: ptr :: null_mut ( ) , dwFlags : 0 , ddRVal : :: std :: default :: Default :: default ( ) , GetFlipStatus : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for DD_GETFLIPSTATUSDATA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DD_GETFLIPSTATUSDATA" ) . field ( "lpDD" , & self . lpDD ) . field ( "lpDDSurface" , & self . lpDDSurface ) . field ( "dwFlags" , & self . dwFlags ) . field ( "ddRVal" , & self . ddRVal ) . field ( "GetFlipStatus" , & self . GetFlipStatus ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DD_GETFLIPSTATUSDATA { fn eq ( & self , other : & Self ) -> bool { self . lpDD == other . lpDD && self . lpDDSurface == other . lpDDSurface && self . dwFlags == other . dwFlags && self . ddRVal == other . ddRVal && self . GetFlipStatus == other . GetFlipStatus } } impl :: std :: cmp :: Eq for DD_GETFLIPSTATUSDATA { } unsafe impl :: windows :: Abi for DD_GETFLIPSTATUSDATA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DD_GETSCANLINEDATA { pub lpDD : * mut DD_DIRECTDRAW_GLOBAL , pub dwScanLine : u32 , pub ddRVal : :: windows :: HRESULT , pub GetScanLine : * mut :: std :: ffi :: c_void } impl DD_GETSCANLINEDATA { } impl :: std :: default :: Default for DD_GETSCANLINEDATA { fn default ( ) -> Self { Self { lpDD : :: std :: ptr :: null_mut ( ) , dwScanLine : 0 , ddRVal : :: std :: default :: Default :: default ( ) , GetScanLine : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for DD_GETSCANLINEDATA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DD_GETSCANLINEDATA" ) . field ( "lpDD" , & self . lpDD ) . field ( "dwScanLine" , & self . dwScanLine ) . field ( "ddRVal" , & self . ddRVal ) . field ( "GetScanLine" , & self . GetScanLine ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DD_GETSCANLINEDATA { fn eq ( & self , other : & Self ) -> bool { self . lpDD == other . lpDD && self . dwScanLine == other . dwScanLine && self . ddRVal == other . ddRVal && self . GetScanLine == other . GetScanLine } } impl :: std :: cmp :: Eq for DD_GETSCANLINEDATA { } unsafe impl :: windows :: Abi for DD_GETSCANLINEDATA { type Abi = Self ; type DefaultType = Self ; } impl :: std :: clone :: Clone for DD_HALINFO { fn clone ( & self ) -> Self { unimplemented ! ( ) } } # [ repr ( C ) ] pub struct DD_HALINFO { pub dwSize : u32 , pub vmiData : VIDEOMEMORYINFO , pub ddCaps : super::super::Graphics::DirectDraw:: DDNTCORECAPS , pub GetDriverInfo : :: std :: option :: Option < PDD_GETDRIVERINFO > , pub dwFlags : u32 , pub lpD3DGlobalDriverData : * mut :: std :: ffi :: c_void , pub lpD3DHALCallbacks : * mut :: std :: ffi :: c_void , pub lpD3DBufCallbacks : * mut DD_D3DBUFCALLBACKS } impl DD_HALINFO { } impl :: std :: cmp :: PartialEq for DD_HALINFO { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for DD_HALINFO { } # [ repr ( C ) ] # [ doc ( hidden ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct DD_HALINFO_abi { pub dwSize : u32 , pub vmiData : VIDEOMEMORYINFO , pub ddCaps : super::super::Graphics::DirectDraw:: DDNTCORECAPS , pub GetDriverInfo : :: windows :: RawPtr , pub dwFlags : u32 , pub lpD3DGlobalDriverData : * mut :: std :: ffi :: c_void , pub lpD3DHALCallbacks : * mut :: std :: ffi :: c_void , pub lpD3DBufCallbacks : * mut DD_D3DBUFCALLBACKS_abi } unsafe impl :: windows :: Abi for DD_HALINFO { type Abi = DD_HALINFO_abi ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DD_LOCKDATA { pub lpDD : * mut DD_DIRECTDRAW_GLOBAL , pub lpDDSurface : * mut DD_SURFACE_LOCAL , pub bHasRect : u32 , pub rArea : super::super::Foundation:: RECTL , pub lpSurfData : * mut :: std :: ffi :: c_void , pub ddRVal : :: windows :: HRESULT , pub Lock : * mut :: std :: ffi :: c_void , pub dwFlags : u32 , pub fpProcess : usize } impl DD_LOCKDATA { } impl :: std :: default :: Default for DD_LOCKDATA { fn default ( ) -> Self { Self { lpDD : :: std :: ptr :: null_mut ( ) , lpDDSurface : :: std :: ptr :: null_mut ( ) , bHasRect : 0 , rArea : :: std :: default :: Default :: default ( ) , lpSurfData : :: std :: ptr :: null_mut ( ) , ddRVal : :: std :: default :: Default :: default ( ) , Lock : :: std :: ptr :: null_mut ( ) , dwFlags : 0 , fpProcess : 0 } } } impl :: std :: fmt :: Debug for DD_LOCKDATA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DD_LOCKDATA" ) . field ( "lpDD" , & self . lpDD ) . field ( "lpDDSurface" , & self . lpDDSurface ) . field ( "bHasRect" , & self . bHasRect ) . field ( "rArea" , & self . rArea ) . field ( "lpSurfData" , & self . lpSurfData ) . field ( "ddRVal" , & self . ddRVal ) . field ( "Lock" , & self . Lock ) . field ( "dwFlags" , & self . dwFlags ) . field ( "fpProcess" , & self . fpProcess ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DD_LOCKDATA { fn eq ( & self , other : & Self ) -> bool { self . lpDD == other . lpDD && self . lpDDSurface == other . lpDDSurface && self . bHasRect == other . bHasRect && self . rArea == other . rArea && self . lpSurfData == other . lpSurfData && self . ddRVal == other . ddRVal && self . Lock == other . Lock && self . dwFlags == other . dwFlags && self . fpProcess == other . fpProcess } } impl :: std :: cmp :: Eq for DD_LOCKDATA { } unsafe impl :: windows :: Abi for DD_LOCKDATA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DD_MAPMEMORYDATA { pub lpDD : * mut DD_DIRECTDRAW_GLOBAL , pub bMap : super::super::Foundation:: BOOL , pub hProcess : super::super::Foundation:: HANDLE , pub fpProcess : usize , pub ddRVal : :: windows :: HRESULT } impl DD_MAPMEMORYDATA { } impl :: std :: default :: Default for DD_MAPMEMORYDATA { fn default ( ) -> Self { Self { lpDD : :: std :: ptr :: null_mut ( ) , bMap : :: std :: default :: Default :: default ( ) , hProcess : :: std :: default :: Default :: default ( ) , fpProcess : 0 , ddRVal : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for DD_MAPMEMORYDATA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DD_MAPMEMORYDATA" ) . field ( "lpDD" , & self . lpDD ) . field ( "bMap" , & self . bMap ) . field ( "hProcess" , & self . hProcess ) . field ( "fpProcess" , & self . fpProcess ) . field ( "ddRVal" , & self . ddRVal ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DD_MAPMEMORYDATA { fn eq ( & self , other : & Self ) -> bool { self . lpDD == other . lpDD && self . bMap == other . bMap && self . hProcess == other . hProcess && self . fpProcess == other . fpProcess && self . ddRVal == other . ddRVal } } impl :: std :: cmp :: Eq for DD_MAPMEMORYDATA { } unsafe impl :: windows :: Abi for DD_MAPMEMORYDATA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone ) ] # [ repr ( C ) ] pub struct DD_PALETTECALLBACKS { pub dwSize : u32 , pub dwFlags : u32 , pub DestroyPalette : :: std :: option :: Option < PDD_PALCB_DESTROYPALETTE > , pub SetEntries : :: std :: option :: Option < PDD_PALCB_SETENTRIES > } impl DD_PALETTECALLBACKS { } impl :: std :: default :: Default for DD_PALETTECALLBACKS { fn default ( ) -> Self { Self { dwSize : 0 , dwFlags : 0 , DestroyPalette : :: std :: default :: Default :: default ( ) , SetEntries : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for DD_PALETTECALLBACKS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DD_PALETTECALLBACKS" ) . field ( "dwSize" , & self . dwSize ) . field ( "dwFlags" , & self . dwFlags ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DD_PALETTECALLBACKS { fn eq ( & self , other : & Self ) -> bool { self . dwSize == other . dwSize && self . dwFlags == other . dwFlags && self . DestroyPalette . map ( | f | f as usize ) == other . DestroyPalette . map ( | f | f as usize ) && self . SetEntries . map ( | f | f as usize ) == other . SetEntries . map ( | f | f as usize ) } } impl :: std :: cmp :: Eq for DD_PALETTECALLBACKS { } # [ repr ( C ) ] # [ doc ( hidden ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct DD_PALETTECALLBACKS_abi { pub dwSize : u32 , pub dwFlags : u32 , pub DestroyPalette : :: windows :: RawPtr , pub SetEntries : :: windows :: RawPtr } unsafe impl :: windows :: Abi for DD_PALETTECALLBACKS { type Abi = DD_PALETTECALLBACKS_abi ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DD_PALETTE_GLOBAL { pub dwReserved1 : usize } impl DD_PALETTE_GLOBAL { } impl :: std :: default :: Default for DD_PALETTE_GLOBAL { fn default ( ) -> Self { Self { dwReserved1 : 0 } } } impl :: std :: fmt :: Debug for DD_PALETTE_GLOBAL { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DD_PALETTE_GLOBAL" ) . field ( "dwReserved1" , & self . dwReserved1 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DD_PALETTE_GLOBAL { fn eq ( & self , other : & Self ) -> bool { self . dwReserved1 == other . dwReserved1 } } impl :: std :: cmp :: Eq for DD_PALETTE_GLOBAL { } unsafe impl :: windows :: Abi for DD_PALETTE_GLOBAL { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DD_SETCOLORKEYDATA { pub lpDD : * mut DD_DIRECTDRAW_GLOBAL , pub lpDDSurface : * mut DD_SURFACE_LOCAL , pub dwFlags : u32 , pub ckNew : super::super::Graphics::DirectDraw:: DDCOLORKEY , pub ddRVal : :: windows :: HRESULT , pub SetColorKey : * mut :: std :: ffi :: c_void } impl DD_SETCOLORKEYDATA { } impl :: std :: default :: Default for DD_SETCOLORKEYDATA { fn default ( ) -> Self { Self { lpDD : :: std :: ptr :: null_mut ( ) , lpDDSurface : :: std :: ptr :: null_mut ( ) , dwFlags : 0 , ckNew : :: std :: default :: Default :: default ( ) , ddRVal : :: std :: default :: Default :: default ( ) , SetColorKey : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for DD_SETCOLORKEYDATA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DD_SETCOLORKEYDATA" ) . field ( "lpDD" , & self . lpDD ) . field ( "lpDDSurface" , & self . lpDDSurface ) . field ( "dwFlags" , & self . dwFlags ) . field ( "ckNew" , & self . ckNew ) . field ( "ddRVal" , & self . ddRVal ) . field ( "SetColorKey" , & self . SetColorKey ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DD_SETCOLORKEYDATA { fn eq ( & self , other : & Self ) -> bool { self . lpDD == other . lpDD && self . lpDDSurface == other . lpDDSurface && self . dwFlags == other . dwFlags && self . ckNew == other . ckNew && self . ddRVal == other . ddRVal && self . SetColorKey == other . SetColorKey } } impl :: std :: cmp :: Eq for DD_SETCOLORKEYDATA { } unsafe impl :: windows :: Abi for DD_SETCOLORKEYDATA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DD_SETENTRIESDATA { pub lpDD : * mut DD_DIRECTDRAW_GLOBAL , pub lpDDPalette : * mut DD_PALETTE_GLOBAL , pub dwBase : u32 , pub dwNumEntries : u32 , pub lpEntries : * mut super::super::Graphics::Gdi:: PALETTEENTRY , pub ddRVal : :: windows :: HRESULT , pub SetEntries : * mut :: std :: ffi :: c_void } impl DD_SETENTRIESDATA { } impl :: std :: default :: Default for DD_SETENTRIESDATA { fn default ( ) -> Self { Self { lpDD : :: std :: ptr :: null_mut ( ) , lpDDPalette : :: std :: ptr :: null_mut ( ) , dwBase : 0 , dwNumEntries : 0 , lpEntries : :: std :: ptr :: null_mut ( ) , ddRVal : :: std :: default :: Default :: default ( ) , SetEntries : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for DD_SETENTRIESDATA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DD_SETENTRIESDATA" ) . field ( "lpDD" , & self . lpDD ) . field ( "lpDDPalette" , & self . lpDDPalette ) . field ( "dwBase" , & self . dwBase ) . field ( "dwNumEntries" , & self . dwNumEntries ) . field ( "lpEntries" , & self . lpEntries ) . field ( "ddRVal" , & self . ddRVal ) . field ( "SetEntries" , & self . SetEntries ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DD_SETENTRIESDATA { fn eq ( & self , other : & Self ) -> bool { self . lpDD == other . lpDD && self . lpDDPalette == other . lpDDPalette && self . dwBase == other . dwBase && self . dwNumEntries == other . dwNumEntries && self . lpEntries == other . lpEntries && self . ddRVal == other . ddRVal && self . SetEntries == other . SetEntries } } impl :: std :: cmp :: Eq for DD_SETENTRIESDATA { } unsafe impl :: windows :: Abi for DD_SETENTRIESDATA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DD_SETOVERLAYPOSITIONDATA { pub lpDD : * mut DD_DIRECTDRAW_GLOBAL , pub lpDDSrcSurface : * mut DD_SURFACE_LOCAL , pub lpDDDestSurface : * mut DD_SURFACE_LOCAL , pub lXPos : i32 , pub lYPos : i32 , pub ddRVal : :: windows :: HRESULT , pub SetOverlayPosition : * mut :: std :: ffi :: c_void } impl DD_SETOVERLAYPOSITIONDATA { } impl :: std :: default :: Default for DD_SETOVERLAYPOSITIONDATA { fn default ( ) -> Self { Self { lpDD : :: std :: ptr :: null_mut ( ) , lpDDSrcSurface : :: std :: ptr :: null_mut ( ) , lpDDDestSurface : :: std :: ptr :: null_mut ( ) , lXPos : 0 , lYPos : 0 , ddRVal : :: std :: default :: Default :: default ( ) , SetOverlayPosition : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for DD_SETOVERLAYPOSITIONDATA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DD_SETOVERLAYPOSITIONDATA" ) . field ( "lpDD" , & self . lpDD ) . field ( "lpDDSrcSurface" , & self . lpDDSrcSurface ) . field ( "lpDDDestSurface" , & self . lpDDDestSurface ) . field ( "lXPos" , & self . lXPos ) . field ( "lYPos" , & self . lYPos ) . field ( "ddRVal" , & self . ddRVal ) . field ( "SetOverlayPosition" , & self . SetOverlayPosition ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DD_SETOVERLAYPOSITIONDATA { fn eq ( & self , other : & Self ) -> bool { self . lpDD == other . lpDD && self . lpDDSrcSurface == other . lpDDSrcSurface && self . lpDDDestSurface == other . lpDDDestSurface && self . lXPos == other . lXPos && self . lYPos == other . lYPos && self . ddRVal == other . ddRVal && self . SetOverlayPosition == other . SetOverlayPosition } } impl :: std :: cmp :: Eq for DD_SETOVERLAYPOSITIONDATA { } unsafe impl :: windows :: Abi for DD_SETOVERLAYPOSITIONDATA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DD_SETPALETTEDATA { pub lpDD : * mut DD_DIRECTDRAW_GLOBAL , pub lpDDSurface : * mut DD_SURFACE_LOCAL , pub lpDDPalette : * mut DD_PALETTE_GLOBAL , pub ddRVal : :: windows :: HRESULT , pub SetPalette : * mut :: std :: ffi :: c_void , pub Attach : super::super::Foundation:: BOOL } impl DD_SETPALETTEDATA { } impl :: std :: default :: Default for DD_SETPALETTEDATA { fn default ( ) -> Self { Self { lpDD : :: std :: ptr :: null_mut ( ) , lpDDSurface : :: std :: ptr :: null_mut ( ) , lpDDPalette : :: std :: ptr :: null_mut ( ) , ddRVal : :: std :: default :: Default :: default ( ) , SetPalette : :: std :: ptr :: null_mut ( ) , Attach : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for DD_SETPALETTEDATA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DD_SETPALETTEDATA" ) . field ( "lpDD" , & self . lpDD ) . field ( "lpDDSurface" , & self . lpDDSurface ) . field ( "lpDDPalette" , & self . lpDDPalette ) . field ( "ddRVal" , & self . ddRVal ) . field ( "SetPalette" , & self . SetPalette ) . field ( "Attach" , & self . Attach ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DD_SETPALETTEDATA { fn eq ( & self , other : & Self ) -> bool { self . lpDD == other . lpDD && self . lpDDSurface == other . lpDDSurface && self . lpDDPalette == other . lpDDPalette && self . ddRVal == other . ddRVal && self . SetPalette == other . SetPalette && self . Attach == other . Attach } } impl :: std :: cmp :: Eq for DD_SETPALETTEDATA { } unsafe impl :: windows :: Abi for DD_SETPALETTEDATA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone ) ] # [ repr ( C ) ] pub struct DD_SURFACECALLBACKS { pub dwSize : u32 , pub dwFlags : u32 , pub DestroySurface : :: std :: option :: Option < PDD_SURFCB_DESTROYSURFACE > , pub Flip : :: std :: option :: Option < PDD_SURFCB_FLIP > , pub SetClipList : :: std :: option :: Option < super::super::Graphics::DirectDraw:: PDD_SURFCB_SETCLIPLIST > , pub Lock : :: std :: option :: Option < PDD_SURFCB_LOCK > , pub Unlock : :: std :: option :: Option < PDD_SURFCB_UNLOCK > , pub Blt : :: std :: option :: Option < PDD_SURFCB_BLT > , pub SetColorKey : :: std :: option :: Option < PDD_SURFCB_SETCOLORKEY > , pub AddAttachedSurface : :: std :: option :: Option < PDD_SURFCB_ADDATTACHEDSURFACE > , pub GetBltStatus : :: std :: option :: Option < PDD_SURFCB_GETBLTSTATUS > , pub GetFlipStatus : :: std :: option :: Option < PDD_SURFCB_GETFLIPSTATUS > , pub UpdateOverlay : :: std :: option :: Option < PDD_SURFCB_UPDATEOVERLAY > , pub SetOverlayPosition : :: std :: option :: Option < PDD_SURFCB_SETOVERLAYPOSITION > , pub reserved4 : * mut :: std :: ffi :: c_void , pub SetPalette : :: std :: option :: Option < PDD_SURFCB_SETPALETTE > } impl DD_SURFACECALLBACKS { } impl :: std :: default :: Default for DD_SURFACECALLBACKS { fn default ( ) -> Self { Self { dwSize : 0 , dwFlags : 0 , DestroySurface : :: std :: default :: Default :: default ( ) , Flip : :: std :: default :: Default :: default ( ) , SetClipList : :: std :: default :: Default :: default ( ) , Lock : :: std :: default :: Default :: default ( ) , Unlock : :: std :: default :: Default :: default ( ) , Blt : :: std :: default :: Default :: default ( ) , SetColorKey : :: std :: default :: Default :: default ( ) , AddAttachedSurface : :: std :: default :: Default :: default ( ) , GetBltStatus : :: std :: default :: Default :: default ( ) , GetFlipStatus : :: std :: default :: Default :: default ( ) , UpdateOverlay : :: std :: default :: Default :: default ( ) , SetOverlayPosition : :: std :: default :: Default :: default ( ) , reserved4 : :: std :: ptr :: null_mut ( ) , SetPalette : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for DD_SURFACECALLBACKS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DD_SURFACECALLBACKS" ) . field ( "dwSize" , & self . dwSize ) . field ( "dwFlags" , & self . dwFlags ) . field ( "reserved4" , & self . reserved4 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DD_SURFACECALLBACKS { fn eq ( & self , other : & Self ) -> bool { self . dwSize == other . dwSize && self . dwFlags == other . dwFlags && self . DestroySurface . map ( | f | f as usize ) == other . DestroySurface . map ( | f | f as usize ) && self . Flip . map ( | f | f as usize ) == other . Flip . map ( | f | f as usize ) && self . SetClipList . map ( | f | f as usize ) == other . SetClipList . map ( | f | f as usize ) && self . Lock . map ( | f | f as usize ) == other . Lock . map ( | f | f as usize ) && self . Unlock . map ( | f | f as usize ) == other . Unlock . map ( | f | f as usize ) && self . Blt . map ( | f | f as usize ) == other . Blt . map ( | f | f as usize ) && self . SetColorKey . map ( | f | f as usize ) == other . SetColorKey . map ( | f | f as usize ) && self . AddAttachedSurface . map ( | f | f as usize ) == other . AddAttachedSurface . map ( | f | f as usize ) && self . GetBltStatus . map ( | f | f as usize ) == other . GetBltStatus . map ( | f | f as usize ) && self . GetFlipStatus . map ( | f | f as usize ) == other . GetFlipStatus . map ( | f | f as usize ) && self . UpdateOverlay . map ( | f | f as usize ) == other . UpdateOverlay . map ( | f | f as usize ) && self . SetOverlayPosition . map ( | f | f as usize ) == other . SetOverlayPosition . map ( | f | f as usize ) && self . reserved4 == other . reserved4 && self . SetPalette . map ( | f | f as usize ) == other . SetPalette . map ( | f | f as usize ) } } impl :: std :: cmp :: Eq for DD_SURFACECALLBACKS { } # [ repr ( C ) ] # [ doc ( hidden ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct DD_SURFACECALLBACKS_abi { pub dwSize : u32 , pub dwFlags : u32 , pub DestroySurface : :: windows :: RawPtr , pub Flip : :: windows :: RawPtr , pub SetClipList : :: windows :: RawPtr , pub Lock : :: windows :: RawPtr , pub Unlock : :: windows :: RawPtr , pub Blt : :: windows :: RawPtr , pub SetColorKey : :: windows :: RawPtr , pub AddAttachedSurface : :: windows :: RawPtr , pub GetBltStatus : :: windows :: RawPtr , pub GetFlipStatus : :: windows :: RawPtr , pub UpdateOverlay : :: windows :: RawPtr , pub SetOverlayPosition : :: windows :: RawPtr , pub reserved4 : * mut :: std :: ffi :: c_void , pub SetPalette : :: windows :: RawPtr } unsafe impl :: windows :: Abi for DD_SURFACECALLBACKS { type Abi = DD_SURFACECALLBACKS_abi ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DD_SURFACE_GLOBAL { pub Anonymous1 : DD_SURFACE_GLOBAL_0 , pub Anonymous2 : DD_SURFACE_GLOBAL_1 , pub fpVidMem : usize , pub Anonymous3 : DD_SURFACE_GLOBAL_2 , pub yHint : i32 , pub xHint : i32 , pub wHeight : u32 , pub wWidth : u32 , pub dwReserved1 : usize , pub ddpfSurface : super::super::Graphics::DirectDraw:: DDPIXELFORMAT , pub fpHeapOffset : usize , pub hCreatorProcess : super::super::Foundation:: HANDLE } impl DD_SURFACE_GLOBAL { } impl :: std :: cmp :: PartialEq for DD_SURFACE_GLOBAL { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for DD_SURFACE_GLOBAL { } unsafe impl :: windows :: Abi for DD_SURFACE_GLOBAL { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union DD_SURFACE_GLOBAL_0 { pub dwBlockSizeY : u32 , pub lSlicePitch : i32 } impl DD_SURFACE_GLOBAL_0 { } impl :: std :: cmp :: PartialEq for DD_SURFACE_GLOBAL_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for DD_SURFACE_GLOBAL_0 { } unsafe impl :: windows :: Abi for DD_SURFACE_GLOBAL_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union DD_SURFACE_GLOBAL_1 { pub lpVidMemHeap : * mut VIDEOMEMORY , pub dwBlockSizeX : u32 , pub dwUserMemSize : u32 } impl DD_SURFACE_GLOBAL_1 { } impl :: std :: cmp :: PartialEq for DD_SURFACE_GLOBAL_1 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for DD_SURFACE_GLOBAL_1 { } unsafe impl :: windows :: Abi for DD_SURFACE_GLOBAL_1 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union DD_SURFACE_GLOBAL_2 { pub lPitch : i32 , pub dwLinearSize : u32 } impl DD_SURFACE_GLOBAL_2 { } impl :: std :: cmp :: PartialEq for DD_SURFACE_GLOBAL_2 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for DD_SURFACE_GLOBAL_2 { } unsafe impl :: windows :: Abi for DD_SURFACE_GLOBAL_2 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DD_SURFACE_INT { pub lpLcl : * mut DD_SURFACE_LOCAL } impl DD_SURFACE_INT { } impl :: std :: default :: Default for DD_SURFACE_INT { fn default ( ) -> Self { Self { lpLcl : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for DD_SURFACE_INT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DD_SURFACE_INT" ) . field ( "lpLcl" , & self . lpLcl ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DD_SURFACE_INT { fn eq ( & self , other : & Self ) -> bool { self . lpLcl == other . lpLcl } } impl :: std :: cmp :: Eq for DD_SURFACE_INT { } unsafe impl :: windows :: Abi for DD_SURFACE_INT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DD_SURFACE_LOCAL { pub lpGbl : * mut DD_SURFACE_GLOBAL , pub dwFlags : u32 , pub ddsCaps : super::super::Graphics::DirectDraw:: DDSCAPS , pub dwReserved1 : usize , pub Anonymous1 : DD_SURFACE_LOCAL_0 , pub Anonymous2 : DD_SURFACE_LOCAL_1 , pub lpSurfMore : * mut DD_SURFACE_MORE , pub lpAttachList : * mut DD_ATTACHLIST , pub lpAttachListFrom : * mut DD_ATTACHLIST , pub rcOverlaySrc : super::super::Foundation:: RECT } impl DD_SURFACE_LOCAL { } impl :: std :: cmp :: PartialEq for DD_SURFACE_LOCAL { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for DD_SURFACE_LOCAL { } unsafe impl :: windows :: Abi for DD_SURFACE_LOCAL { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union DD_SURFACE_LOCAL_0 { pub ddckCKSrcOverlay : super::super::Graphics::DirectDraw:: DDCOLORKEY , pub ddckCKSrcBlt : super::super::Graphics::DirectDraw:: DDCOLORKEY } impl DD_SURFACE_LOCAL_0 { } impl :: std :: cmp :: PartialEq for DD_SURFACE_LOCAL_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for DD_SURFACE_LOCAL_0 { } unsafe impl :: windows :: Abi for DD_SURFACE_LOCAL_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union DD_SURFACE_LOCAL_1 { pub ddckCKDestOverlay : super::super::Graphics::DirectDraw:: DDCOLORKEY , pub ddckCKDestBlt : super::super::Graphics::DirectDraw:: DDCOLORKEY } impl DD_SURFACE_LOCAL_1 { } impl :: std :: cmp :: PartialEq for DD_SURFACE_LOCAL_1 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for DD_SURFACE_LOCAL_1 { } unsafe impl :: windows :: Abi for DD_SURFACE_LOCAL_1 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DD_SURFACE_MORE { pub dwMipMapCount : u32 , pub lpVideoPort : * mut DD_VIDEOPORT_LOCAL , pub dwOverlayFlags : u32 , pub ddsCapsEx : super::super::Graphics::DirectDraw:: DDSCAPSEX , pub dwSurfaceHandle : u32 } impl DD_SURFACE_MORE { } impl :: std :: cmp :: PartialEq for DD_SURFACE_MORE { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for DD_SURFACE_MORE { } unsafe impl :: windows :: Abi for DD_SURFACE_MORE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DD_UNLOCKDATA { pub lpDD : * mut DD_DIRECTDRAW_GLOBAL , pub lpDDSurface : * mut DD_SURFACE_LOCAL , pub ddRVal : :: windows :: HRESULT , pub Unlock : * mut :: std :: ffi :: c_void } impl DD_UNLOCKDATA { } impl :: std :: default :: Default for DD_UNLOCKDATA { fn default ( ) -> Self { Self { lpDD : :: std :: ptr :: null_mut ( ) , lpDDSurface : :: std :: ptr :: null_mut ( ) , ddRVal : :: std :: default :: Default :: default ( ) , Unlock : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for DD_UNLOCKDATA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DD_UNLOCKDATA" ) . field ( "lpDD" , & self . lpDD ) . field ( "lpDDSurface" , & self . lpDDSurface ) . field ( "ddRVal" , & self . ddRVal ) . field ( "Unlock" , & self . Unlock ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DD_UNLOCKDATA { fn eq ( & self , other : & Self ) -> bool { self . lpDD == other . lpDD && self . lpDDSurface == other . lpDDSurface && self . ddRVal == other . ddRVal && self . Unlock == other . Unlock } } impl :: std :: cmp :: Eq for DD_UNLOCKDATA { } unsafe impl :: windows :: Abi for DD_UNLOCKDATA { type Abi = Self ; type DefaultType = Self ; } impl :: std :: clone :: Clone for DD_UPDATEOVERLAYDATA { fn clone ( & self ) -> Self { unimplemented ! ( ) } } # [ repr ( C ) ] pub struct DD_UPDATEOVERLAYDATA { pub lpDD : * mut DD_DIRECTDRAW_GLOBAL , pub lpDDDestSurface : * mut DD_SURFACE_LOCAL , pub rDest : super::super::Foundation:: RECTL , pub lpDDSrcSurface : * mut DD_SURFACE_LOCAL , pub rSrc : super::super::Foundation:: RECTL , pub dwFlags : u32 , pub overlayFX : super::super::Graphics::DirectDraw:: DDOVERLAYFX , pub ddRVal : :: windows :: HRESULT , pub UpdateOverlay : * mut :: std :: ffi :: c_void } impl DD_UPDATEOVERLAYDATA { } impl :: std :: cmp :: PartialEq for DD_UPDATEOVERLAYDATA { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for DD_UPDATEOVERLAYDATA { } # [ repr ( C ) ] # [ doc ( hidden ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct DD_UPDATEOVERLAYDATA_abi { pub lpDD : * mut DD_DIRECTDRAW_GLOBAL , pub lpDDDestSurface : * mut DD_SURFACE_LOCAL , pub rDest : super::super::Foundation:: RECTL , pub lpDDSrcSurface : * mut DD_SURFACE_LOCAL , pub rSrc : super::super::Foundation:: RECTL , pub dwFlags : u32 , pub overlayFX : super::super::Graphics::DirectDraw:: DDOVERLAYFX_abi , pub ddRVal : :: windows :: HRESULT , pub UpdateOverlay : * mut :: std :: ffi :: c_void } unsafe impl :: windows :: Abi for DD_UPDATEOVERLAYDATA { type Abi = DD_UPDATEOVERLAYDATA_abi ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DD_VIDEOPORT_LOCAL { pub lpDD : * mut DD_DIRECTDRAW_LOCAL , pub ddvpDesc : DDVIDEOPORTDESC , pub ddvpInfo : DDVIDEOPORTINFO , pub lpSurface : * mut DD_SURFACE_INT , pub lpVBISurface : * mut DD_SURFACE_INT , pub dwNumAutoflip : u32 , pub dwNumVBIAutoflip : u32 , pub dwReserved1 : usize , pub dwReserved2 : usize , pub dwReserved3 : usize } impl DD_VIDEOPORT_LOCAL { } impl :: std :: default :: Default for DD_VIDEOPORT_LOCAL { fn default ( ) -> Self { Self { lpDD : :: std :: ptr :: null_mut ( ) , ddvpDesc : :: std :: default :: Default :: default ( ) , ddvpInfo : :: std :: default :: Default :: default ( ) , lpSurface : :: std :: ptr :: null_mut ( ) , lpVBISurface : :: std :: ptr :: null_mut ( ) , dwNumAutoflip : 0 , dwNumVBIAutoflip : 0 , dwReserved1 : 0 , dwReserved2 : 0 , dwReserved3 : 0 } } } impl :: std :: fmt :: Debug for DD_VIDEOPORT_LOCAL { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DD_VIDEOPORT_LOCAL" ) . field ( "lpDD" , & self . lpDD ) . field ( "ddvpDesc" , & self . ddvpDesc ) . field ( "ddvpInfo" , & self . ddvpInfo ) . field ( "lpSurface" , & self . lpSurface ) . field ( "lpVBISurface" , & self . lpVBISurface ) . field ( "dwNumAutoflip" , & self . dwNumAutoflip ) . field ( "dwNumVBIAutoflip" , & self . dwNumVBIAutoflip ) . field ( "dwReserved1" , & self . dwReserved1 ) . field ( "dwReserved2" , & self . dwReserved2 ) . field ( "dwReserved3" , & self . dwReserved3 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DD_VIDEOPORT_LOCAL { fn eq ( & self , other : & Self ) -> bool { self . lpDD == other . lpDD && self . ddvpDesc == other . ddvpDesc && self . ddvpInfo == other . ddvpInfo && self . lpSurface == other . lpSurface && self . lpVBISurface == other . lpVBISurface && self . dwNumAutoflip == other . dwNumAutoflip && self . dwNumVBIAutoflip == other . dwNumVBIAutoflip && self . dwReserved1 == other . dwReserved1 && self . dwReserved2 == other . dwReserved2 && self . dwReserved3 == other . dwReserved3 } } impl :: std :: cmp :: Eq for DD_VIDEOPORT_LOCAL { } unsafe impl :: windows :: Abi for DD_VIDEOPORT_LOCAL { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DD_WAITFORVERTICALBLANKDATA { pub lpDD : * mut DD_DIRECTDRAW_GLOBAL , pub dwFlags : u32 , pub bIsInVB : u32 , pub hEvent : usize , pub ddRVal : :: windows :: HRESULT , pub WaitForVerticalBlank : * mut :: std :: ffi :: c_void } impl DD_WAITFORVERTICALBLANKDATA { } impl :: std :: default :: Default for DD_WAITFORVERTICALBLANKDATA { fn default ( ) -> Self { Self { lpDD : :: std :: ptr :: null_mut ( ) , dwFlags : 0 , bIsInVB : 0 , hEvent : 0 , ddRVal : :: std :: default :: Default :: default ( ) , WaitForVerticalBlank : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for DD_WAITFORVERTICALBLANKDATA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DD_WAITFORVERTICALBLANKDATA" ) . field ( "lpDD" , & self . lpDD ) . field ( "dwFlags" , & self . dwFlags ) . field ( "bIsInVB" , & self . bIsInVB ) . field ( "hEvent" , & self . hEvent ) . field ( "ddRVal" , & self . ddRVal ) . field ( "WaitForVerticalBlank" , & self . WaitForVerticalBlank ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DD_WAITFORVERTICALBLANKDATA { fn eq ( & self , other : & Self ) -> bool { self . lpDD == other . lpDD && self . dwFlags == other . dwFlags && self . bIsInVB == other . bIsInVB && self . hEvent == other . hEvent && self . ddRVal == other . ddRVal && self . WaitForVerticalBlank == other . WaitForVerticalBlank } } impl :: std :: cmp :: Eq for DD_WAITFORVERTICALBLANKDATA { } unsafe impl :: windows :: Abi for DD_WAITFORVERTICALBLANKDATA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DEVINFO { pub flGraphicsCaps : u32 , pub lfDefaultFont : super::super::Graphics::Gdi:: LOGFONTW , pub lfAnsiVarFont : super::super::Graphics::Gdi:: LOGFONTW , pub lfAnsiFixFont : super::super::Graphics::Gdi:: LOGFONTW , pub cFonts : u32 , pub iDitherFormat : u32 , pub cxDither : u16 , pub cyDither : u16 , pub hpalDefault : super::super::Graphics::Gdi:: HPALETTE , pub flGraphicsCaps2 : u32 } impl DEVINFO { } impl :: std :: default :: Default for DEVINFO { fn default ( ) -> Self { Self { flGraphicsCaps : 0 , lfDefaultFont : :: std :: default :: Default :: default ( ) , lfAnsiVarFont : :: std :: default :: Default :: default ( ) , lfAnsiFixFont : :: std :: default :: Default :: default ( ) , cFonts : 0 , iDitherFormat : 0 , cxDither : 0 , cyDither : 0 , hpalDefault : :: std :: default :: Default :: default ( ) , flGraphicsCaps2 : 0 } } } impl :: std :: fmt :: Debug for DEVINFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DEVINFO" ) . field ( "flGraphicsCaps" , & self . flGraphicsCaps ) . field ( "lfDefaultFont" , & self . lfDefaultFont ) . field ( "lfAnsiVarFont" , & self . lfAnsiVarFont ) . field ( "lfAnsiFixFont" , & self . lfAnsiFixFont ) . field ( "cFonts" , & self . cFonts ) . field ( "iDitherFormat" , & self . iDitherFormat ) . field ( "cxDither" , & self . cxDither ) . field ( "cyDither" , & self . cyDither ) . field ( "hpalDefault" , & self . hpalDefault ) . field ( "flGraphicsCaps2" , & self . flGraphicsCaps2 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DEVINFO { fn eq ( & self , other : & Self ) -> bool { self . flGraphicsCaps == other . flGraphicsCaps && self . lfDefaultFont == other . lfDefaultFont && self . lfAnsiVarFont == other . lfAnsiVarFont && self . lfAnsiFixFont == other . lfAnsiFixFont && self . cFonts == other . cFonts && self . iDitherFormat == other . iDitherFormat && self . cxDither == other . cxDither && self . cyDither == other . cyDither && self . hpalDefault == other . hpalDefault && self . flGraphicsCaps2 == other . flGraphicsCaps2 } } impl :: std :: cmp :: Eq for DEVINFO { } unsafe impl :: windows :: Abi for DEVINFO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DEVMODEW { pub dmDeviceName : [ u16 ;32 ] , pub dmSpecVersion : u16 , pub dmDriverVersion : u16 , pub dmSize : u16 , pub dmDriverExtra : u16 , pub dmFields : u32 , pub Anonymous1 : DEVMODEW_0 , pub dmColor : i16 , pub dmDuplex : i16 , pub dmYResolution : i16 , pub dmTTOption : i16 , pub dmCollate : i16 , pub dmFormName : [ u16 ;32 ] , pub dmLogPixels : u16 , pub dmBitsPerPel : u32 , pub dmPelsWidth : u32 , pub dmPelsHeight : u32 , pub Anonymous2 : DEVMODEW_1 , pub dmDisplayFrequency : u32 , pub dmICMMethod : u32 , pub dmICMIntent : u32 , pub dmMediaType : u32 , pub dmDitherType : u32 , pub dmReserved1 : u32 , pub dmReserved2 : u32 , pub dmPanningWidth : u32 , pub dmPanningHeight : u32 } impl DEVMODEW { } impl :: std :: cmp :: PartialEq for DEVMODEW { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for DEVMODEW { } unsafe impl :: windows :: Abi for DEVMODEW { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union DEVMODEW_0 { pub Anonymous1 : DEVMODEW_0_0 , pub Anonymous2 : DEVMODEW_0_1 } impl DEVMODEW_0 { } impl :: std :: cmp :: PartialEq for DEVMODEW_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for DEVMODEW_0 { } unsafe impl :: windows :: Abi for DEVMODEW_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DEVMODEW_0_0 { pub dmOrientation : i16 , pub dmPaperSize : i16 , pub dmPaperLength : i16 , pub dmPaperWidth : i16 , pub dmScale : i16 , pub dmCopies : i16 , pub dmDefaultSource : i16 , pub dmPrintQuality : i16 } impl DEVMODEW_0_0 { } impl :: std :: default :: Default for DEVMODEW_0_0 { fn default ( ) -> Self { Self { dmOrientation : 0 , dmPaperSize : 0 , dmPaperLength : 0 , dmPaperWidth : 0 , dmScale : 0 , dmCopies : 0 , dmDefaultSource : 0 , dmPrintQuality : 0 } } } impl :: std :: fmt :: Debug for DEVMODEW_0_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Anonymous1_e__Struct" ) . field ( "dmOrientation" , & self . dmOrientation ) . field ( "dmPaperSize" , & self . dmPaperSize ) . field ( "dmPaperLength" , & self . dmPaperLength ) . field ( "dmPaperWidth" , & self . dmPaperWidth ) . field ( "dmScale" , & self . dmScale ) . field ( "dmCopies" , & self . dmCopies ) . field ( "dmDefaultSource" , & self . dmDefaultSource ) . field ( "dmPrintQuality" , & self . dmPrintQuality ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DEVMODEW_0_0 { fn eq ( & self , other : & Self ) -> bool { self . dmOrientation == other . dmOrientation && self . dmPaperSize == other . dmPaperSize && self . dmPaperLength == other . dmPaperLength && self . dmPaperWidth == other . dmPaperWidth && self . dmScale == other . dmScale && self . dmCopies == other . dmCopies && self . dmDefaultSource == other . dmDefaultSource && self . dmPrintQuality == other . dmPrintQuality } } impl :: std :: cmp :: Eq for DEVMODEW_0_0 { } unsafe impl :: windows :: Abi for DEVMODEW_0_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DEVMODEW_0_1 { pub dmPosition : super::super::Foundation:: POINTL , pub dmDisplayOrientation : u32 , pub dmDisplayFixedOutput : u32 } impl DEVMODEW_0_1 { } impl :: std :: default :: Default for DEVMODEW_0_1 { fn default ( ) -> Self { Self { dmPosition : :: std :: default :: Default :: default ( ) , dmDisplayOrientation : 0 , dmDisplayFixedOutput : 0 } } } impl :: std :: fmt :: Debug for DEVMODEW_0_1 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Anonymous2_e__Struct" ) . field ( "dmPosition" , & self . dmPosition ) . field ( "dmDisplayOrientation" , & self . dmDisplayOrientation ) . field ( "dmDisplayFixedOutput" , & self . dmDisplayFixedOutput ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DEVMODEW_0_1 { fn eq ( & self , other : & Self ) -> bool { self . dmPosition == other . dmPosition && self . dmDisplayOrientation == other . dmDisplayOrientation && self . dmDisplayFixedOutput == other . dmDisplayFixedOutput } } impl :: std :: cmp :: Eq for DEVMODEW_0_1 { } unsafe impl :: windows :: Abi for DEVMODEW_0_1 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union DEVMODEW_1 { pub dmDisplayFlags : u32 , pub dmNup : u32 } impl DEVMODEW_1 { } impl :: std :: cmp :: PartialEq for DEVMODEW_1 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for DEVMODEW_1 { } unsafe impl :: windows :: Abi for DEVMODEW_1 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone ) ] # [ repr ( C ) ] pub struct DRIVEROBJ { pub pvObj : * mut :: std :: ffi :: c_void , pub pFreeProc : :: std :: option :: Option < super::super::System::SystemServices:: FREEOBJPROC > , pub hdev : super::super::System::SystemServices:: HDEV , pub dhpdev : super::super::System::SystemServices:: DHPDEV } impl DRIVEROBJ { } impl :: std :: default :: Default for DRIVEROBJ { fn default ( ) -> Self { Self { pvObj : :: std :: ptr :: null_mut ( ) , pFreeProc : :: std :: default :: Default :: default ( ) , hdev : :: std :: default :: Default :: default ( ) , dhpdev : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for DRIVEROBJ { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DRIVEROBJ" ) . field ( "pvObj" , & self . pvObj ) . field ( "hdev" , & self . hdev ) . field ( "dhpdev" , & self . dhpdev ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DRIVEROBJ { fn eq ( & self , other : & Self ) -> bool { self . pvObj == other . pvObj && self . pFreeProc . map ( | f | f as usize ) == other . pFreeProc . map ( | f | f as usize ) && self . hdev == other . hdev && self . dhpdev == other . dhpdev } } impl :: std :: cmp :: Eq for DRIVEROBJ { } # [ repr ( C ) ] # [ doc ( hidden ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct DRIVEROBJ_abi { pub pvObj : * mut :: std :: ffi :: c_void , pub pFreeProc : :: windows :: RawPtr , pub hdev : super::super::System::SystemServices:: HDEV , pub dhpdev : super::super::System::SystemServices:: DHPDEV } unsafe impl :: windows :: Abi for DRIVEROBJ { type Abi = DRIVEROBJ_abi ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DRVENABLEDATA { pub iDriverVersion : u32 , pub c : u32 , pub pdrvfn : * mut DRVFN } impl DRVENABLEDATA { } impl :: std :: default :: Default for DRVENABLEDATA { fn default ( ) -> Self { Self { iDriverVersion : 0 , c : 0 , pdrvfn : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for DRVENABLEDATA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DRVENABLEDATA" ) . field ( "iDriverVersion" , & self . iDriverVersion ) . field ( "c" , & self . c ) . field ( "pdrvfn" , & self . pdrvfn ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DRVENABLEDATA { fn eq ( & self , other : & Self ) -> bool { self . iDriverVersion == other . iDriverVersion && self . c == other . c && self . pdrvfn == other . pdrvfn } } impl :: std :: cmp :: Eq for DRVENABLEDATA { } unsafe impl :: windows :: Abi for DRVENABLEDATA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone ) ] # [ repr ( C ) ] pub struct DRVFN { pub iFunc : u32 , pub pfn : :: std :: option :: Option < super::super::System::SystemServices:: PFN > } impl DRVFN { } impl :: std :: default :: Default for DRVFN { fn default ( ) -> Self { Self { iFunc : 0 , pfn : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for DRVFN { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DRVFN" ) . field ( "iFunc" , & self . iFunc ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DRVFN { fn eq ( & self , other : & Self ) -> bool { self . iFunc == other . iFunc && self . pfn . map ( | f | f as usize ) == other . pfn . map ( | f | f as usize ) } } impl :: std :: cmp :: Eq for DRVFN { } # [ repr ( C ) ] # [ doc ( hidden ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct DRVFN_abi { pub iFunc : u32 , pub pfn : :: windows :: RawPtr } unsafe impl :: windows :: Abi for DRVFN { type Abi = DRVFN_abi ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct FONTOBJ { pub iUniq : u32 , pub iFace : u32 , pub cxMax : u32 , pub flFontType : u32 , pub iTTUniq : usize , pub iFile : usize , pub sizLogResPpi : super::super::Foundation:: SIZE , pub ulStyleSize : u32 , pub pvConsumer : * mut :: std :: ffi :: c_void , pub pvProducer : * mut :: std :: ffi :: c_void } impl FONTOBJ { } impl :: std :: default :: Default for FONTOBJ { fn default ( ) -> Self { Self { iUniq : 0 , iFace : 0 , cxMax : 0 , flFontType : 0 , iTTUniq : 0 , iFile : 0 , sizLogResPpi : :: std :: default :: Default :: default ( ) , ulStyleSize : 0 , pvConsumer : :: std :: ptr :: null_mut ( ) , pvProducer : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for FONTOBJ { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "FONTOBJ" ) . field ( "iUniq" , & self . iUniq ) . field ( "iFace" , & self . iFace ) . field ( "cxMax" , & self . cxMax ) . field ( "flFontType" , & self . flFontType ) . field ( "iTTUniq" , & self . iTTUniq ) . field ( "iFile" , & self . iFile ) . field ( "sizLogResPpi" , & self . sizLogResPpi ) . field ( "ulStyleSize" , & self . ulStyleSize ) . field ( "pvConsumer" , & self . pvConsumer ) . field ( "pvProducer" , & self . pvProducer ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FONTOBJ { fn eq ( & self , other : & Self ) -> bool { self . iUniq == other . iUniq && self . iFace == other . iFace && self . cxMax == other . cxMax && self . flFontType == other . flFontType && self . iTTUniq == other . iTTUniq && self . iFile == other . iFile && self . sizLogResPpi == other . sizLogResPpi && self . ulStyleSize == other . ulStyleSize && self . pvConsumer == other . pvConsumer && self . pvProducer == other . pvProducer } } impl :: std :: cmp :: Eq for FONTOBJ { } unsafe impl :: windows :: Abi for FONTOBJ { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct GDIINFO { pub ulVersion : u32 , pub ulTechnology : u32 , pub ulHorzSize : u32 , pub ulVertSize : u32 , pub ulHorzRes : u32 , pub ulVertRes : u32 , pub cBitsPixel : u32 , pub cPlanes : u32 , pub ulNumColors : u32 , pub flRaster : u32 , pub ulLogPixelsX : u32 , pub ulLogPixelsY : u32 , pub flTextCaps : u32 , pub ulDACRed : u32 , pub ulDACGreen : u32 , pub ulDACBlue : u32 , pub ulAspectX : u32 , pub ulAspectY : u32 , pub ulAspectXY : u32 , pub xStyleStep : i32 , pub yStyleStep : i32 , pub denStyleStep : i32 , pub ptlPhysOffset : super::super::Foundation:: POINTL , pub szlPhysSize : super::super::Foundation:: SIZE , pub ulNumPalReg : u32 , pub ciDevice : COLORINFO , pub ulDevicePelsDPI : u32 , pub ulPrimaryOrder : u32 , pub ulHTPatternSize : u32 , pub ulHTOutputFormat : u32 , pub flHTFlags : u32 , pub ulVRefresh : u32 , pub ulBltAlignment : u32 , pub ulPanningHorzRes : u32 , pub ulPanningVertRes : u32 , pub xPanningAlignment : u32 , pub yPanningAlignment : u32 , pub cxHTPat : u32 , pub cyHTPat : u32 , pub pHTPatA : * mut u8 , pub pHTPatB : * mut u8 , pub pHTPatC : * mut u8 , pub flShadeBlend : u32 , pub ulPhysicalPixelCharacteristics : u32 , pub ulPhysicalPixelGamma : u32 } impl GDIINFO { } impl :: std :: default :: Default for GDIINFO { fn default ( ) -> Self { Self { ulVersion : 0 , ulTechnology : 0 , ulHorzSize : 0 , ulVertSize : 0 , ulHorzRes : 0 , ulVertRes : 0 , cBitsPixel : 0 , cPlanes : 0 , ulNumColors : 0 , flRaster : 0 , ulLogPixelsX : 0 , ulLogPixelsY : 0 , flTextCaps : 0 , ulDACRed : 0 , ulDACGreen : 0 , ulDACBlue : 0 , ulAspectX : 0 , ulAspectY : 0 , ulAspectXY : 0 , xStyleStep : 0 , yStyleStep : 0 , denStyleStep : 0 , ptlPhysOffset : :: std :: default :: Default :: default ( ) , szlPhysSize : :: std :: default :: Default :: default ( ) , ulNumPalReg : 0 , ciDevice : :: std :: default :: Default :: default ( ) , ulDevicePelsDPI : 0 , ulPrimaryOrder : 0 , ulHTPatternSize : 0 , ulHTOutputFormat : 0 , flHTFlags : 0 , ulVRefresh : 0 , ulBltAlignment : 0 , ulPanningHorzRes : 0 , ulPanningVertRes : 0 , xPanningAlignment : 0 , yPanningAlignment : 0 , cxHTPat : 0 , cyHTPat : 0 , pHTPatA : :: std :: ptr :: null_mut ( ) , pHTPatB : :: std :: ptr :: null_mut ( ) , pHTPatC : :: std :: ptr :: null_mut ( ) , flShadeBlend : 0 , ulPhysicalPixelCharacteristics : 0 , ulPhysicalPixelGamma : 0 } } } impl :: std :: fmt :: Debug for GDIINFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "GDIINFO" ) . field ( "ulVersion" , & self . ulVersion ) . field ( "ulTechnology" , & self . ulTechnology ) . field ( "ulHorzSize" , & self . ulHorzSize ) . field ( "ulVertSize" , & self . ulVertSize ) . field ( "ulHorzRes" , & self . ulHorzRes ) . field ( "ulVertRes" , & self . ulVertRes ) . field ( "cBitsPixel" , & self . cBitsPixel ) . field ( "cPlanes" , & self . cPlanes ) . field ( "ulNumColors" , & self . ulNumColors ) . field ( "flRaster" , & self . flRaster ) . field ( "ulLogPixelsX" , & self . ulLogPixelsX ) . field ( "ulLogPixelsY" , & self . ulLogPixelsY ) . field ( "flTextCaps" , & self . flTextCaps ) . field ( "ulDACRed" , & self . ulDACRed ) . field ( "ulDACGreen" , & self . ulDACGreen ) . field ( "ulDACBlue" , & self . ulDACBlue ) . field ( "ulAspectX" , & self . ulAspectX ) . field ( "ulAspectY" , & self . ulAspectY ) . field ( "ulAspectXY" , & self . ulAspectXY ) . field ( "xStyleStep" , & self . xStyleStep ) . field ( "yStyleStep" , & self . yStyleStep ) . field ( "denStyleStep" , & self . denStyleStep ) . field ( "ptlPhysOffset" , & self . ptlPhysOffset ) . field ( "szlPhysSize" , & self . szlPhysSize ) . field ( "ulNumPalReg" , & self . ulNumPalReg ) . field ( "ciDevice" , & self . ciDevice ) . field ( "ulDevicePelsDPI" , & self . ulDevicePelsDPI ) . field ( "ulPrimaryOrder" , & self . ulPrimaryOrder ) . field ( "ulHTPatternSize" , & self . ulHTPatternSize ) . field ( "ulHTOutputFormat" , & self . ulHTOutputFormat ) . field ( "flHTFlags" , & self . flHTFlags ) . field ( "ulVRefresh" , & self . ulVRefresh ) . field ( "ulBltAlignment" , & self . ulBltAlignment ) . field ( "ulPanningHorzRes" , & self . ulPanningHorzRes ) . field ( "ulPanningVertRes" , & self . ulPanningVertRes ) . field ( "xPanningAlignment" , & self . xPanningAlignment ) . field ( "yPanningAlignment" , & self . yPanningAlignment ) . field ( "cxHTPat" , & self . cxHTPat ) . field ( "cyHTPat" , & self . cyHTPat ) . field ( "pHTPatA" , & self . pHTPatA ) . field ( "pHTPatB" , & self . pHTPatB ) . field ( "pHTPatC" , & self . pHTPatC ) . field ( "flShadeBlend" , & self . flShadeBlend ) . field ( "ulPhysicalPixelCharacteristics" , & self . ulPhysicalPixelCharacteristics ) . field ( "ulPhysicalPixelGamma" , & self . ulPhysicalPixelGamma ) . finish ( ) } } impl :: std :: cmp :: PartialEq for GDIINFO { fn eq ( & self , other : & Self ) -> bool { self . ulVersion == other . ulVersion && self . ulTechnology == other . ulTechnology && self . ulHorzSize == other . ulHorzSize && self . ulVertSize == other . ulVertSize && self . ulHorzRes == other . ulHorzRes && self . ulVertRes == other . ulVertRes && self . cBitsPixel == other . cBitsPixel && self . cPlanes == other . cPlanes && self . ulNumColors == other . ulNumColors && self . flRaster == other . flRaster && self . ulLogPixelsX == other . ulLogPixelsX && self . ulLogPixelsY == other . ulLogPixelsY && self . flTextCaps == other . flTextCaps && self . ulDACRed == other . ulDACRed && self . ulDACGreen == other . ulDACGreen && self . ulDACBlue == other . ulDACBlue && self . ulAspectX == other . ulAspectX && self . ulAspectY == other . ulAspectY && self . ulAspectXY == other . ulAspectXY && self . xStyleStep == other . xStyleStep && self . yStyleStep == other . yStyleStep && self . denStyleStep == other . denStyleStep && self . ptlPhysOffset == other . ptlPhysOffset && self . szlPhysSize == other . szlPhysSize && self . ulNumPalReg == other . ulNumPalReg && self . ciDevice == other . ciDevice && self . ulDevicePelsDPI == other . ulDevicePelsDPI && self . ulPrimaryOrder == other . ulPrimaryOrder && self . ulHTPatternSize == other . ulHTPatternSize && self . ulHTOutputFormat == other . ulHTOutputFormat && self . flHTFlags == other . flHTFlags && self . ulVRefresh == other . ulVRefresh && self . ulBltAlignment == other . ulBltAlignment && self . ulPanningHorzRes == other . ulPanningHorzRes && self . ulPanningVertRes == other . ulPanningVertRes && self . xPanningAlignment == other . xPanningAlignment && self . yPanningAlignment == other . yPanningAlignment && self . cxHTPat == other . cxHTPat && self . cyHTPat == other . cyHTPat && self . pHTPatA == other . pHTPatA && self . pHTPatB == other . pHTPatB && self . pHTPatC == other . pHTPatC && self . flShadeBlend == other . flShadeBlend && self . ulPhysicalPixelCharacteristics == other . ulPhysicalPixelCharacteristics && self . ulPhysicalPixelGamma == other . ulPhysicalPixelGamma } } impl :: std :: cmp :: Eq for GDIINFO { } unsafe impl :: windows :: Abi for GDIINFO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct GLYPHBITS { pub ptlOrigin : super::super::Foundation:: POINTL , pub sizlBitmap : super::super::Foundation:: SIZE , pub aj : [ u8 ;1 ] } impl GLYPHBITS { } impl :: std :: default :: Default for GLYPHBITS { fn default ( ) -> Self { Self { ptlOrigin : :: std :: default :: Default :: default ( ) , sizlBitmap : :: std :: default :: Default :: default ( ) , aj : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for GLYPHBITS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "GLYPHBITS" ) . field ( "ptlOrigin" , & self . ptlOrigin ) . field ( "sizlBitmap" , & self . sizlBitmap ) . field ( "aj" , & self . aj ) . finish ( ) } } impl :: std :: cmp :: PartialEq for GLYPHBITS { fn eq ( & self , other : & Self ) -> bool { self . ptlOrigin == other . ptlOrigin && self . sizlBitmap == other . sizlBitmap && self . aj == other . aj } } impl :: std :: cmp :: Eq for GLYPHBITS { } unsafe impl :: windows :: Abi for GLYPHBITS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct GLYPHDATA { pub gdf : GLYPHDEF , pub hg : u32 , pub fxD : i32 , pub fxA : i32 , pub fxAB : i32 , pub fxInkTop : i32 , pub fxInkBottom : i32 , pub rclInk : super::super::Foundation:: RECTL , pub ptqD : super::super::System::SystemServices:: POINTQF } impl GLYPHDATA { } impl :: std :: cmp :: PartialEq for GLYPHDATA { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for GLYPHDATA { } unsafe impl :: windows :: Abi for GLYPHDATA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union GLYPHDEF { pub pgb : * mut GLYPHBITS , pub ppo : * mut PATHOBJ } impl GLYPHDEF { } impl :: std :: cmp :: PartialEq for GLYPHDEF { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for GLYPHDEF { } unsafe impl :: windows :: Abi for GLYPHDEF { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct GLYPHPOS { pub hg : u32 , pub pgdf : * mut GLYPHDEF , pub ptl : super::super::Foundation:: POINTL } impl GLYPHPOS { } impl :: std :: default :: Default for GLYPHPOS { fn default ( ) -> Self { Self { hg : 0 , pgdf : :: std :: ptr :: null_mut ( ) , ptl : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for GLYPHPOS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "GLYPHPOS" ) . field ( "hg" , & self . hg ) . field ( "pgdf" , & self . pgdf ) . field ( "ptl" , & self . ptl ) . finish ( ) } } impl :: std :: cmp :: PartialEq for GLYPHPOS { fn eq ( & self , other : & Self ) -> bool { self . hg == other . hg && self . pgdf == other . pgdf && self . ptl == other . ptl } } impl :: std :: cmp :: Eq for GLYPHPOS { } unsafe impl :: windows :: Abi for GLYPHPOS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct IFIMETRICS { pub cjThis : u32 , pub cjIfiExtra : u32 , pub dpwszFamilyName : i32 , pub dpwszStyleName : i32 , pub dpwszFaceName : i32 , pub dpwszUniqueName : i32 , pub dpFontSim : i32 , pub lEmbedId : i32 , pub lItalicAngle : i32 , pub lCharBias : i32 , pub dpCharSets : i32 , pub jWinCharSet : u8 , pub jWinPitchAndFamily : u8 , pub usWinWeight : u16 , pub flInfo : u32 , pub fsSelection : u16 , pub fsType : u16 , pub fwdUnitsPerEm : i16 , pub fwdLowestPPEm : i16 , pub fwdWinAscender : i16 , pub fwdWinDescender : i16 , pub fwdMacAscender : i16 , pub fwdMacDescender : i16 , pub fwdMacLineGap : i16 , pub fwdTypoAscender : i16 , pub fwdTypoDescender : i16 , pub fwdTypoLineGap : i16 , pub fwdAveCharWidth : i16 , pub fwdMaxCharInc : i16 , pub fwdCapHeight : i16 , pub fwdXHeight : i16 , pub fwdSubscriptXSize : i16 , pub fwdSubscriptYSize : i16 , pub fwdSubscriptXOffset : i16 , pub fwdSubscriptYOffset : i16 , pub fwdSuperscriptXSize : i16 , pub fwdSuperscriptYSize : i16 , pub fwdSuperscriptXOffset : i16 , pub fwdSuperscriptYOffset : i16 , pub fwdUnderscoreSize : i16 , pub fwdUnderscorePosition : i16 , pub fwdStrikeoutSize : i16 , pub fwdStrikeoutPosition : i16 , pub chFirstChar : u8 , pub chLastChar : u8 , pub chDefaultChar : u8 , pub chBreakChar : u8 , pub wcFirstChar : u16 , pub wcLastChar : u16 , pub wcDefaultChar : u16 , pub wcBreakChar : u16 , pub ptlBaseline : super::super::Foundation:: POINTL , pub ptlAspect : super::super::Foundation:: POINTL , pub ptlCaret : super::super::Foundation:: POINTL , pub rclFontBox : super::super::Foundation:: RECTL , pub achVendId : [ u8 ;4 ] , pub cKerningPairs : u32 , pub ulPanoseCulture : u32 , pub panose : super::super::Graphics::Gdi:: PANOSE , pub Align : * mut :: std :: ffi :: c_void } impl IFIMETRICS { } impl :: std :: default :: Default for IFIMETRICS { fn default ( ) -> Self { Self { cjThis : 0 , cjIfiExtra : 0 , dpwszFamilyName : 0 , dpwszStyleName : 0 , dpwszFaceName : 0 , dpwszUniqueName : 0 , dpFontSim : 0 , lEmbedId : 0 , lItalicAngle : 0 , lCharBias : 0 , dpCharSets : 0 , jWinCharSet : 0 , jWinPitchAndFamily : 0 , usWinWeight : 0 , flInfo : 0 , fsSelection : 0 , fsType : 0 , fwdUnitsPerEm : 0 , fwdLowestPPEm : 0 , fwdWinAscender : 0 , fwdWinDescender : 0 , fwdMacAscender : 0 , fwdMacDescender : 0 , fwdMacLineGap : 0 , fwdTypoAscender : 0 , fwdTypoDescender : 0 , fwdTypoLineGap : 0 , fwdAveCharWidth : 0 , fwdMaxCharInc : 0 , fwdCapHeight : 0 , fwdXHeight : 0 , fwdSubscriptXSize : 0 , fwdSubscriptYSize : 0 , fwdSubscriptXOffset : 0 , fwdSubscriptYOffset : 0 , fwdSuperscriptXSize : 0 , fwdSuperscriptYSize : 0 , fwdSuperscriptXOffset : 0 , fwdSuperscriptYOffset : 0 , fwdUnderscoreSize : 0 , fwdUnderscorePosition : 0 , fwdStrikeoutSize : 0 , fwdStrikeoutPosition : 0 , chFirstChar : 0 , chLastChar : 0 , chDefaultChar : 0 , chBreakChar : 0 , wcFirstChar : 0 , wcLastChar : 0 , wcDefaultChar : 0 , wcBreakChar : 0 , ptlBaseline : :: std :: default :: Default :: default ( ) , ptlAspect : :: std :: default :: Default :: default ( ) , ptlCaret : :: std :: default :: Default :: default ( ) , rclFontBox : :: std :: default :: Default :: default ( ) , achVendId : [ 0 ;4 ] , cKerningPairs : 0 , ulPanoseCulture : 0 , panose : :: std :: default :: Default :: default ( ) , Align : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for IFIMETRICS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "IFIMETRICS" ) . field ( "cjThis" , & self . cjThis ) . field ( "cjIfiExtra" , & self . cjIfiExtra ) . field ( "dpwszFamilyName" , & self . dpwszFamilyName ) . field ( "dpwszStyleName" , & self . dpwszStyleName ) . field ( "dpwszFaceName" , & self . dpwszFaceName ) . field ( "dpwszUniqueName" , & self . dpwszUniqueName ) . field ( "dpFontSim" , & self . dpFontSim ) . field ( "lEmbedId" , & self . lEmbedId ) . field ( "lItalicAngle" , & self . lItalicAngle ) . field ( "lCharBias" , & self . lCharBias ) . field ( "dpCharSets" , & self . dpCharSets ) . field ( "jWinCharSet" , & self . jWinCharSet ) . field ( "jWinPitchAndFamily" , & self . jWinPitchAndFamily ) . field ( "usWinWeight" , & self . usWinWeight ) . field ( "flInfo" , & self . flInfo ) . field ( "fsSelection" , & self . fsSelection ) . field ( "fsType" , & self . fsType ) . field ( "fwdUnitsPerEm" , & self . fwdUnitsPerEm ) . field ( "fwdLowestPPEm" , & self . fwdLowestPPEm ) . field ( "fwdWinAscender" , & self . fwdWinAscender ) . field ( "fwdWinDescender" , & self . fwdWinDescender ) . field ( "fwdMacAscender" , & self . fwdMacAscender ) . field ( "fwdMacDescender" , & self . fwdMacDescender ) . field ( "fwdMacLineGap" , & self . fwdMacLineGap ) . field ( "fwdTypoAscender" , & self . fwdTypoAscender ) . field ( "fwdTypoDescender" , & self . fwdTypoDescender ) . field ( "fwdTypoLineGap" , & self . fwdTypoLineGap ) . field ( "fwdAveCharWidth" , & self . fwdAveCharWidth ) . field ( "fwdMaxCharInc" , & self . fwdMaxCharInc ) . field ( "fwdCapHeight" , & self . fwdCapHeight ) . field ( "fwdXHeight" , & self . fwdXHeight ) . field ( "fwdSubscriptXSize" , & self . fwdSubscriptXSize ) . field ( "fwdSubscriptYSize" , & self . fwdSubscriptYSize ) . field ( "fwdSubscriptXOffset" , & self . fwdSubscriptXOffset ) . field ( "fwdSubscriptYOffset" , & self . fwdSubscriptYOffset ) . field ( "fwdSuperscriptXSize" , & self . fwdSuperscriptXSize ) . field ( "fwdSuperscriptYSize" , & self . fwdSuperscriptYSize ) . field ( "fwdSuperscriptXOffset" , & self . fwdSuperscriptXOffset ) . field ( "fwdSuperscriptYOffset" , & self . fwdSuperscriptYOffset ) . field ( "fwdUnderscoreSize" , & self . fwdUnderscoreSize ) . field ( "fwdUnderscorePosition" , & self . fwdUnderscorePosition ) . field ( "fwdStrikeoutSize" , & self . fwdStrikeoutSize ) . field ( "fwdStrikeoutPosition" , & self . fwdStrikeoutPosition ) . field ( "chFirstChar" , & self . chFirstChar ) . field ( "chLastChar" , & self . chLastChar ) . field ( "chDefaultChar" , & self . chDefaultChar ) . field ( "chBreakChar" , & self . chBreakChar ) . field ( "wcFirstChar" , & self . wcFirstChar ) . field ( "wcLastChar" , & self . wcLastChar ) . field ( "wcDefaultChar" , & self . wcDefaultChar ) . field ( "wcBreakChar" , & self . wcBreakChar ) . field ( "ptlBaseline" , & self . ptlBaseline ) . field ( "ptlAspect" , & self . ptlAspect ) . field ( "ptlCaret" , & self . ptlCaret ) . field ( "rclFontBox" , & self . rclFontBox ) . field ( "achVendId" , & self . achVendId ) . field ( "cKerningPairs" , & self . cKerningPairs ) . field ( "ulPanoseCulture" , & self . ulPanoseCulture ) . field ( "panose" , & self . panose ) . field ( "Align" , & self . Align ) . finish ( ) } } impl :: std :: cmp :: PartialEq for IFIMETRICS { fn eq ( & self , other : & Self ) -> bool { self . cjThis == other . cjThis && self . cjIfiExtra == other . cjIfiExtra && self . dpwszFamilyName == other . dpwszFamilyName && self . dpwszStyleName == other . dpwszStyleName && self . dpwszFaceName == other . dpwszFaceName && self . dpwszUniqueName == other . dpwszUniqueName && self . dpFontSim == other . dpFontSim && self . lEmbedId == other . lEmbedId && self . lItalicAngle == other . lItalicAngle && self . lCharBias == other . lCharBias && self . dpCharSets == other . dpCharSets && self . jWinCharSet == other . jWinCharSet && self . jWinPitchAndFamily == other . jWinPitchAndFamily && self . usWinWeight == other . usWinWeight && self . flInfo == other . flInfo && self . fsSelection == other . fsSelection && self . fsType == other . fsType && self . fwdUnitsPerEm == other . fwdUnitsPerEm && self . fwdLowestPPEm == other . fwdLowestPPEm && self . fwdWinAscender == other . fwdWinAscender && self . fwdWinDescender == other . fwdWinDescender && self . fwdMacAscender == other . fwdMacAscender && self . fwdMacDescender == other . fwdMacDescender && self . fwdMacLineGap == other . fwdMacLineGap && self . fwdTypoAscender == other . fwdTypoAscender && self . fwdTypoDescender == other . fwdTypoDescender && self . fwdTypoLineGap == other . fwdTypoLineGap && self . fwdAveCharWidth == other . fwdAveCharWidth && self . fwdMaxCharInc == other . fwdMaxCharInc && self . fwdCapHeight == other . fwdCapHeight && self . fwdXHeight == other . fwdXHeight && self . fwdSubscriptXSize == other . fwdSubscriptXSize && self . fwdSubscriptYSize == other . fwdSubscriptYSize && self . fwdSubscriptXOffset == other . fwdSubscriptXOffset && self . fwdSubscriptYOffset == other . fwdSubscriptYOffset && self . fwdSuperscriptXSize == other . fwdSuperscriptXSize && self . fwdSuperscriptYSize == other . fwdSuperscriptYSize && self . fwdSuperscriptXOffset == other . fwdSuperscriptXOffset && self . fwdSuperscriptYOffset == other . fwdSuperscriptYOffset && self . fwdUnderscoreSize == other . fwdUnderscoreSize && self . fwdUnderscorePosition == other . fwdUnderscorePosition && self . fwdStrikeoutSize == other . fwdStrikeoutSize && self . fwdStrikeoutPosition == other . fwdStrikeoutPosition && self . chFirstChar == other . chFirstChar && self . chLastChar == other . chLastChar && self . chDefaultChar == other . chDefaultChar && self . chBreakChar == other . chBreakChar && self . wcFirstChar == other . wcFirstChar && self . wcLastChar == other . wcLastChar && self . wcDefaultChar == other . wcDefaultChar && self . wcBreakChar == other . wcBreakChar && self . ptlBaseline == other . ptlBaseline && self . ptlAspect == other . ptlAspect && self . ptlCaret == other . ptlCaret && self . rclFontBox == other . rclFontBox && self . achVendId == other . achVendId && self . cKerningPairs == other . cKerningPairs && self . ulPanoseCulture == other . ulPanoseCulture && self . panose == other . panose && self . Align == other . Align } } impl :: std :: cmp :: Eq for IFIMETRICS { } unsafe impl :: windows :: Abi for IFIMETRICS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct LINEATTRS { pub fl : u32 , pub iJoin : u32 , pub iEndCap : u32 , pub elWidth : super::super::System::SystemServices:: FLOAT_LONG , pub eMiterLimit : f32 , pub cstyle : u32 , pub pstyle : * mut super::super::System::SystemServices:: FLOAT_LONG , pub elStyleState : super::super::System::SystemServices:: FLOAT_LONG } impl LINEATTRS { } impl :: std :: cmp :: PartialEq for LINEATTRS { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for LINEATTRS { } unsafe impl :: windows :: Abi for LINEATTRS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PALOBJ { pub ulReserved : u32 } impl PALOBJ { } impl :: std :: default :: Default for PALOBJ { fn default ( ) -> Self { Self { ulReserved : 0 } } } impl :: std :: fmt :: Debug for PALOBJ { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "PALOBJ" ) . field ( "ulReserved" , & self . ulReserved ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PALOBJ { fn eq ( & self , other : & Self ) -> bool { self . ulReserved == other . ulReserved } } impl :: std :: cmp :: Eq for PALOBJ { } unsafe impl :: windows :: Abi for PALOBJ { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PATHOBJ { pub fl : u32 , pub cCurves : u32 } impl PATHOBJ { } impl :: std :: default :: Default for PATHOBJ { fn default ( ) -> Self { Self { fl : 0 , cCurves : 0 } } } impl :: std :: fmt :: Debug for PATHOBJ { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "PATHOBJ" ) . field ( "fl" , & self . fl ) . field ( "cCurves" , & self . cCurves ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PATHOBJ { fn eq ( & self , other : & Self ) -> bool { self . fl == other . fl && self . cCurves == other . cCurves } } impl :: std :: cmp :: Eq for PATHOBJ { } unsafe impl :: windows :: Abi for PATHOBJ { type Abi = Self ; type DefaultType = Self ; } pub type PDD_CANCREATESURFACE = unsafe extern "system" fn ( param0 : * mut DD_CANCREATESURFACEDATA ) -> u32 ; pub type PDD_CREATEPALETTE = unsafe extern "system" fn ( param0 : * mut DD_CREATEPALETTEDATA ) -> u32 ; pub type PDD_CREATESURFACE = unsafe extern "system" fn ( param0 : * mut DD_CREATESURFACEDATA ) -> u32 ; pub type PDD_GETDRIVERINFO = unsafe extern "system" fn ( param0 : * mut DD_GETDRIVERINFODATA ) -> u32 ; pub type PDD_GETSCANLINE = unsafe extern "system" fn ( param0 : * mut DD_GETSCANLINEDATA ) -> u32 ; pub type PDD_MAPMEMORY = unsafe extern "system" fn ( param0 : * mut DD_MAPMEMORYDATA ) -> u32 ; pub type PDD_PALCB_DESTROYPALETTE = unsafe extern "system" fn ( param0 : * mut DD_DESTROYPALETTEDATA ) -> u32 ; pub type PDD_PALCB_SETENTRIES = unsafe extern "system" fn ( param0 : * mut DD_SETENTRIESDATA ) -> u32 ; pub type PDD_SURFCB_ADDATTACHEDSURFACE = unsafe extern "system" fn ( param0 : * mut DD_ADDATTACHEDSURFACEDATA ) -> u32 ; pub type PDD_SURFCB_BLT = unsafe extern "system" fn ( param0 : * mut DD_BLTDATA_abi ) -> u32 ; pub type PDD_SURFCB_DESTROYSURFACE = unsafe extern "system" fn ( param0 : * mut DD_DESTROYSURFACEDATA ) -> u32 ; pub type PDD_SURFCB_FLIP = unsafe extern "system" fn ( param0 : * mut DD_FLIPDATA ) -> u32 ; pub type PDD_SURFCB_GETBLTSTATUS = unsafe extern "system" fn ( param0 : * mut DD_GETBLTSTATUSDATA ) -> u32 ; pub type PDD_SURFCB_GETFLIPSTATUS = unsafe extern "system" fn ( param0 : * mut DD_GETFLIPSTATUSDATA ) -> u32 ; pub type PDD_SURFCB_LOCK = unsafe extern "system" fn ( param0 : * mut DD_LOCKDATA ) -> u32 ; pub type PDD_SURFCB_SETCOLORKEY = unsafe extern "system" fn ( param0 : * mut DD_SETCOLORKEYDATA ) -> u32 ; pub type PDD_SURFCB_SETOVERLAYPOSITION = unsafe extern "system" fn ( param0 : * mut DD_SETOVERLAYPOSITIONDATA ) -> u32 ; pub type PDD_SURFCB_SETPALETTE = unsafe extern "system" fn ( param0 : * mut DD_SETPALETTEDATA ) -> u32 ; pub type PDD_SURFCB_UNLOCK = unsafe extern "system" fn ( param0 : * mut DD_UNLOCKDATA ) -> u32 ; pub type PDD_SURFCB_UPDATEOVERLAY = unsafe extern "system" fn ( param0 : * mut DD_UPDATEOVERLAYDATA_abi ) -> u32 ; pub type PDD_WAITFORVERTICALBLANK = unsafe extern "system" fn ( param0 : * mut DD_WAITFORVERTICALBLANKDATA ) -> u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PERBANDINFO { pub bRepeatThisBand : super::super::Foundation:: BOOL , pub szlBand : super::super::Foundation:: SIZE , pub ulHorzRes : u32 , pub ulVertRes : u32 } impl PERBANDINFO { } impl :: std :: default :: Default for PERBANDINFO { fn default ( ) -> Self { Self { bRepeatThisBand : :: std :: default :: Default :: default ( ) , szlBand : :: std :: default :: Default :: default ( ) , ulHorzRes : 0 , ulVertRes : 0 } } } impl :: std :: fmt :: Debug for PERBANDINFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "PERBANDINFO" ) . field ( "bRepeatThisBand" , & self . bRepeatThisBand ) . field ( "szlBand" , & self . szlBand ) . field ( "ulHorzRes" , & self . ulHorzRes ) . field ( "ulVertRes" , & self . ulVertRes ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PERBANDINFO { fn eq ( & self , other : & Self ) -> bool { self . bRepeatThisBand == other . bRepeatThisBand && self . szlBand == other . szlBand && self . ulHorzRes == other . ulHorzRes && self . ulVertRes == other . ulVertRes } } impl :: std :: cmp :: Eq for PERBANDINFO { } unsafe impl :: windows :: Abi for PERBANDINFO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STROBJ { pub cGlyphs : u32 , pub flAccel : u32 , pub ulCharInc : u32 , pub rclBkGround : super::super::Foundation:: RECTL , pub pgp : * mut GLYPHPOS , pub pwszOrg : super::super::Foundation:: PWSTR } impl STROBJ { } impl :: std :: default :: Default for STROBJ { fn default ( ) -> Self { Self { cGlyphs : 0 , flAccel : 0 , ulCharInc : 0 , rclBkGround : :: std :: default :: Default :: default ( ) , pgp : :: std :: ptr :: null_mut ( ) , pwszOrg : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for STROBJ { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "STROBJ" ) . field ( "cGlyphs" , & self . cGlyphs ) . field ( "flAccel" , & self . flAccel ) . field ( "ulCharInc" , & self . ulCharInc ) . field ( "rclBkGround" , & self . rclBkGround ) . field ( "pgp" , & self . pgp ) . field ( "pwszOrg" , & self . pwszOrg ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STROBJ { fn eq ( & self , other : & Self ) -> bool { self . cGlyphs == other . cGlyphs && self . flAccel == other . flAccel && self . ulCharInc == other . ulCharInc && self . rclBkGround == other . rclBkGround && self . pgp == other . pgp && self . pwszOrg == other . pwszOrg } } impl :: std :: cmp :: Eq for STROBJ { } unsafe impl :: windows :: Abi for STROBJ { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SURFOBJ { pub dhsurf : super::super::System::SystemServices:: DHSURF , pub hsurf : super::super::System::SystemServices:: HSURF , pub dhpdev : super::super::System::SystemServices:: DHPDEV , pub hdev : super::super::System::SystemServices:: HDEV , pub sizlBitmap : super::super::Foundation:: SIZE , pub cjBits : u32 , pub pvBits : * mut :: std :: ffi :: c_void , pub pvScan0 : * mut :: std :: ffi :: c_void , pub lDelta : i32 , pub iUniq : u32 , pub iBitmapFormat : u32 , pub iType : u16 , pub fjBitmap : u16 } impl SURFOBJ { } impl :: std :: default :: Default for SURFOBJ { fn default ( ) -> Self { Self { dhsurf : :: std :: default :: Default :: default ( ) , hsurf : :: std :: default :: Default :: default ( ) , dhpdev : :: std :: default :: Default :: default ( ) , hdev : :: std :: default :: Default :: default ( ) , sizlBitmap : :: std :: default :: Default :: default ( ) , cjBits : 0 , pvBits : :: std :: ptr :: null_mut ( ) , pvScan0 : :: std :: ptr :: null_mut ( ) , lDelta : 0 , iUniq : 0 , iBitmapFormat : 0 , iType : 0 , fjBitmap : 0 } } } impl :: std :: fmt :: Debug for SURFOBJ { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SURFOBJ" ) . field ( "dhsurf" , & self . dhsurf ) . field ( "hsurf" , & self . hsurf ) . field ( "dhpdev" , & self . dhpdev ) . field ( "hdev" , & self . hdev ) . field ( "sizlBitmap" , & self . sizlBitmap ) . field ( "cjBits" , & self . cjBits ) . field ( "pvBits" , & self . pvBits ) . field ( "pvScan0" , & self . pvScan0 ) . field ( "lDelta" , & self . lDelta ) . field ( "iUniq" , & self . iUniq ) . field ( "iBitmapFormat" , & self . iBitmapFormat ) . field ( "iType" , & self . iType ) . field ( "fjBitmap" , & self . fjBitmap ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SURFOBJ { fn eq ( & self , other : & Self ) -> bool { self . dhsurf == other . dhsurf && self . hsurf == other . hsurf && self . dhpdev == other . dhpdev && self . hdev == other . hdev && self . sizlBitmap == other . sizlBitmap && self . cjBits == other . cjBits && self . pvBits == other . pvBits && self . pvScan0 == other . pvScan0 && self . lDelta == other . lDelta && self . iUniq == other . iUniq && self . iBitmapFormat == other . iBitmapFormat && self . iType == other . iType && self . fjBitmap == other . fjBitmap } } impl :: std :: cmp :: Eq for SURFOBJ { } unsafe impl :: windows :: Abi for SURFOBJ { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct VIDEOMEMORY { pub dwFlags : u32 , pub fpStart : usize , pub Anonymous1 : VIDEOMEMORY_0 , pub ddsCaps : super::super::Graphics::DirectDraw:: DDSCAPS , pub ddsCapsAlt : super::super::Graphics::DirectDraw:: DDSCAPS , pub Anonymous2 : VIDEOMEMORY_1 } impl VIDEOMEMORY { } impl :: std :: cmp :: PartialEq for VIDEOMEMORY { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for VIDEOMEMORY { } unsafe impl :: windows :: Abi for VIDEOMEMORY { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union VIDEOMEMORY_0 { pub fpEnd : usize , pub dwWidth : u32 } impl VIDEOMEMORY_0 { } impl :: std :: cmp :: PartialEq for VIDEOMEMORY_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for VIDEOMEMORY_0 { } unsafe impl :: windows :: Abi for VIDEOMEMORY_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union VIDEOMEMORY_1 { pub lpHeap : * mut super::super::Devices::Display:: VMEMHEAP , pub dwHeight : u32 } impl VIDEOMEMORY_1 { } impl :: std :: cmp :: PartialEq for VIDEOMEMORY_1 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for VIDEOMEMORY_1 { } unsafe impl :: windows :: Abi for VIDEOMEMORY_1 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct VIDEOMEMORYINFO { pub fpPrimary : usize , pub dwFlags : u32 , pub dwDisplayWidth : u32 , pub dwDisplayHeight : u32 , pub lDisplayPitch : i32 , pub ddpfDisplay : super::super::Graphics::DirectDraw:: DDPIXELFORMAT , pub dwOffscreenAlign : u32 , pub dwOverlayAlign : u32 , pub dwTextureAlign : u32 , pub dwZBufferAlign : u32 , pub dwAlphaAlign : u32 , pub pvPrimary : * mut :: std :: ffi :: c_void } impl VIDEOMEMORYINFO { } impl :: std :: cmp :: PartialEq for VIDEOMEMORYINFO { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for VIDEOMEMORYINFO { } unsafe impl :: windows :: Abi for VIDEOMEMORYINFO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct WNDOBJ { pub coClient : CLIPOBJ , pub pvConsumer : * mut :: std :: ffi :: c_void , pub rclClient : super::super::Foundation:: RECTL , pub psoOwner : * mut SURFOBJ } impl WNDOBJ { } impl :: std :: default :: Default for WNDOBJ { fn default ( ) -> Self { Self { coClient : :: std :: default :: Default :: default ( ) , pvConsumer : :: std :: ptr :: null_mut ( ) , rclClient : :: std :: default :: Default :: default ( ) , psoOwner : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for WNDOBJ { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "WNDOBJ" ) . field ( "coClient" , & self . coClient ) . field ( "pvConsumer" , & self . pvConsumer ) . field ( "rclClient" , & self . rclClient ) . field ( "psoOwner" , & self . psoOwner ) . finish ( ) } } impl :: std :: cmp :: PartialEq for WNDOBJ { fn eq ( & self , other : & Self ) -> bool { self . coClient == other . coClient && self . pvConsumer == other . pvConsumer && self . rclClient == other . rclClient && self . psoOwner == other . psoOwner } } impl :: std :: cmp :: Eq for WNDOBJ { } unsafe impl :: windows :: Abi for WNDOBJ { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct XLATEOBJ { pub iUniq : u32 , pub flXlate : u32 , pub iSrcType : u16 , pub iDstType : u16 , pub cEntries : u32 , pub pulXlate : * mut u32 } impl XLATEOBJ { } impl :: std :: default :: Default for XLATEOBJ { fn default ( ) -> Self { Self { iUniq : 0 , flXlate : 0 , iSrcType : 0 , iDstType : 0 , cEntries : 0 , pulXlate : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for XLATEOBJ { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "XLATEOBJ" ) . field ( "iUniq" , & self . iUniq ) . field ( "flXlate" , & self . flXlate ) . field ( "iSrcType" , & self . iSrcType ) . field ( "iDstType" , & self . iDstType ) . field ( "cEntries" , & self . cEntries ) . field ( "pulXlate" , & self . pulXlate ) . finish ( ) } } impl :: std :: cmp :: PartialEq for XLATEOBJ { fn eq ( & self , other : & Self ) -> bool { self . iUniq == other . iUniq && self . flXlate == other . flXlate && self . iSrcType == other . iSrcType && self . iDstType == other . iDstType && self . cEntries == other . cEntries && self . pulXlate == other . pulXlate } } impl :: std :: cmp :: Eq for XLATEOBJ { } unsafe impl :: windows :: Abi for XLATEOBJ { type Abi = Self ; type DefaultType = Self ; } } # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod WindowsAndMessaging { # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct QUEUE_STATUS_FLAGS ( pub u32 ) ; pub const QS_ALLEVENTS : QUEUE_STATUS_FLAGS = QUEUE_STATUS_FLAGS ( 1215u32 ) ; pub const QS_ALLINPUT : QUEUE_STATUS_FLAGS = QUEUE_STATUS_FLAGS ( 1279u32 ) ; pub const QS_ALLPOSTMESSAGE : QUEUE_STATUS_FLAGS = QUEUE_STATUS_FLAGS ( 256u32 ) ; pub const QS_HOTKEY : QUEUE_STATUS_FLAGS = QUEUE_STATUS_FLAGS ( 128u32 ) ; pub const QS_INPUT : QUEUE_STATUS_FLAGS = QUEUE_STATUS_FLAGS ( 1031u32 ) ; pub const QS_KEY : QUEUE_STATUS_FLAGS = QUEUE_STATUS_FLAGS ( 1u32 ) ; pub const QS_MOUSE : QUEUE_STATUS_FLAGS = QUEUE_STATUS_FLAGS ( 6u32 ) ; pub const QS_MOUSEBUTTON : QUEUE_STATUS_FLAGS = QUEUE_STATUS_FLAGS ( 4u32 ) ; pub const QS_MOUSEMOVE : QUEUE_STATUS_FLAGS = QUEUE_STATUS_FLAGS ( 2u32 ) ; pub const QS_PAINT : QUEUE_STATUS_FLAGS = QUEUE_STATUS_FLAGS ( 32u32 ) ; pub const QS_POSTMESSAGE : QUEUE_STATUS_FLAGS = QUEUE_STATUS_FLAGS ( 8u32 ) ; pub const QS_RAWINPUT : QUEUE_STATUS_FLAGS = QUEUE_STATUS_FLAGS ( 1024u32 ) ; pub const QS_SENDMESSAGE : QUEUE_STATUS_FLAGS = QUEUE_STATUS_FLAGS ( 64u32 ) ; pub const QS_TIMER : QUEUE_STATUS_FLAGS = QUEUE_STATUS_FLAGS ( 16u32 ) ; impl :: std :: convert :: From < u32 > for QUEUE_STATUS_FLAGS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for QUEUE_STATUS_FLAGS { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for QUEUE_STATUS_FLAGS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for QUEUE_STATUS_FLAGS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for QUEUE_STATUS_FLAGS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for QUEUE_STATUS_FLAGS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } } } } } [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> /opt/rustwide/target/debug/build/conpty-bindings-fd565586bb227ce6/out/windows.rs:1:251459 [INFO] [stdout] | [INFO] [stdout] 1 | ... { if ! value . 0 . is_null ( ) { unsafe { :: std :: boxed :: Box :: from_raw ( value . 0 ) ; } } } } } impl < 'a > :: windows :: Into... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [WARN] too much data in the log, truncating it