[INFO] cloning repository https://github.com/mhils/yeti-volume-sync [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mhils/yeti-volume-sync" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmhils%2Fyeti-volume-sync", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmhils%2Fyeti-volume-sync'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] aedc3305997478bb60610f8f27445605c14cd509 [INFO] checking mhils/yeti-volume-sync against master#b2728d5426bab1d8c39709768c7e22b7f66dde5d for pr-135852 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmhils%2Fyeti-volume-sync" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mhils/yeti-volume-sync on toolchain b2728d5426bab1d8c39709768c7e22b7f66dde5d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b2728d5426bab1d8c39709768c7e22b7f66dde5d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mhils/yeti-volume-sync [INFO] finished tweaking git repo https://github.com/mhils/yeti-volume-sync [INFO] tweaked toml for git repo https://github.com/mhils/yeti-volume-sync written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/mhils/yeti-volume-sync already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b2728d5426bab1d8c39709768c7e22b7f66dde5d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded windows_gen v0.19.0 [INFO] [stderr] Downloaded windows_macros v0.19.0 [INFO] [stderr] Downloaded windows_quote v0.19.0 [INFO] [stderr] Downloaded hidapi v1.2.3 [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-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+b2728d5426bab1d8c39709768c7e22b7f66dde5d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d45380d366d3b53506d9e3b9ffbd55e92c6859bbc295ca12418f5a99b7b09dd4 [INFO] running `Command { std: "docker" "start" "-a" "d45380d366d3b53506d9e3b9ffbd55e92c6859bbc295ca12418f5a99b7b09dd4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d45380d366d3b53506d9e3b9ffbd55e92c6859bbc295ca12418f5a99b7b09dd4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d45380d366d3b53506d9e3b9ffbd55e92c6859bbc295ca12418f5a99b7b09dd4", kill_on_drop: false }` [INFO] [stdout] d45380d366d3b53506d9e3b9ffbd55e92c6859bbc295ca12418f5a99b7b09dd4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+b2728d5426bab1d8c39709768c7e22b7f66dde5d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0ec000054d1678fb3fcd970e76800d5457495cb5cfbe832637d3b135fc678376 [INFO] running `Command { std: "docker" "start" "-a" "0ec000054d1678fb3fcd970e76800d5457495cb5cfbe832637d3b135fc678376", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling windows_quote v0.19.0 [INFO] [stderr] Compiling windows_reader v0.19.0 [INFO] [stderr] Compiling cc v1.0.61 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling const-sha1 v0.2.0 [INFO] [stderr] Compiling anyhow v1.0.33 [INFO] [stderr] Checking windows_gen v0.19.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling hidapi v1.2.3 [INFO] [stderr] Compiling windows_macros v0.19.0 [INFO] [stderr] Compiling windows v0.19.0 [INFO] [stderr] Compiling yeti v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/win.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | #[implement(Windows::Win32::Media::Audio::CoreAudio::IAudioEndpointVolumeCallback)] [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] = note: this warning originates in the attribute macro `implement` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/win.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | #[implement(Windows::Win32::Media::Audio::CoreAudio::IAudioEndpointVolumeCallback)] [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] = note: this warning originates in the attribute macro `implement` (in Nightly builds, run with -Z macro-backtrace for more info) [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/yeti-575feabe69de4bdd/out/windows.rs:1:21815 [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] 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 Data { # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod Xml { # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod MsXml { # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] # [ doc ( hidden ) ] pub struct IXMLElement ( :: windows :: IUnknown ) ; unsafe impl :: windows :: Interface for IXMLElement { type Vtable = < :: windows :: IUnknown as :: windows :: Interface > :: Vtable ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 1065300396 ,57695 ,4560 , [ 156 ,37 ,0 ,192 ,79 ,201 ,156 ,142 ] , ) ; } } } } # [ 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 { # [ 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 ; # [ 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 ; } # [ 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 :: 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 ; } # [ 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 ; } # [ 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 ; } # [ 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 :: 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 ( 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 ; } # [ 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 ; } # [ 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 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 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" ) ; } # [ 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 ; } } # [ 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 DirectShow { # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSTOPOLOGY_CONNECTION { pub FromNode : u32 , pub FromNodePin : u32 , pub ToNode : u32 , pub ToNodePin : u32 } impl KSTOPOLOGY_CONNECTION { } impl :: std :: default :: Default for KSTOPOLOGY_CONNECTION { fn default ( ) -> Self { Self { FromNode : 0 , FromNodePin : 0 , ToNode : 0 , ToNodePin : 0 } } } impl :: std :: fmt :: Debug for KSTOPOLOGY_CONNECTION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSTOPOLOGY_CONNECTION" ) . field ( "FromNode" , & self . FromNode ) . field ( "FromNodePin" , & self . FromNodePin ) . field ( "ToNode" , & self . ToNode ) . field ( "ToNodePin" , & self . ToNodePin ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSTOPOLOGY_CONNECTION { fn eq ( & self , other : & Self ) -> bool { self . FromNode == other . FromNode && self . FromNodePin == other . FromNodePin && self . ToNode == other . ToNode && self . ToNodePin == other . ToNodePin } } impl :: std :: cmp :: Eq for KSTOPOLOGY_CONNECTION { } unsafe impl :: windows :: Abi for KSTOPOLOGY_CONNECTION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union TIMECODE { pub Anonymous : TIMECODE_0 , pub qw : u64 } impl TIMECODE { } impl :: std :: cmp :: PartialEq for TIMECODE { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for TIMECODE { } unsafe impl :: windows :: Abi for TIMECODE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct TIMECODE_0 { pub wFrameRate : u16 , pub wFrameFract : u16 , pub dwFrames : u32 } impl TIMECODE_0 { } impl :: std :: default :: Default for TIMECODE_0 { fn default ( ) -> Self { Self { wFrameRate : 0 , wFrameFract : 0 , dwFrames : 0 } } } impl :: std :: fmt :: Debug for TIMECODE_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Anonymous_e__Struct" ) . field ( "wFrameRate" , & self . wFrameRate ) . field ( "wFrameFract" , & self . wFrameFract ) . field ( "dwFrames" , & self . dwFrames ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TIMECODE_0 { fn eq ( & self , other : & Self ) -> bool { self . wFrameRate == other . wFrameRate && self . wFrameFract == other . wFrameFract && self . dwFrames == other . dwFrames } } impl :: std :: cmp :: Eq for TIMECODE_0 { } unsafe impl :: windows :: Abi for TIMECODE_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct TIMECODE_SAMPLE { pub qwTick : i64 , pub timecode : TIMECODE , pub dwUser : u32 , pub dwFlags : u32 } impl TIMECODE_SAMPLE { } impl :: std :: cmp :: PartialEq for TIMECODE_SAMPLE { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for TIMECODE_SAMPLE { } unsafe impl :: windows :: Abi for TIMECODE_SAMPLE { 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 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 HENHMETAFILE ( pub isize ) ; impl HENHMETAFILE { } impl :: std :: default :: Default for HENHMETAFILE { fn default ( ) -> Self { Self ( 0 ) } } impl HENHMETAFILE { pub const NULL : Self = Self ( 0 ) ; pub fn is_null ( & self ) -> bool { self . 0 == 0 } } impl :: std :: fmt :: Debug for HENHMETAFILE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "HENHMETAFILE" ) . field ( "Value" , & self .0 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for HENHMETAFILE { fn eq ( & self , other : & Self ) -> bool { self .0 == other .0 } } impl :: std :: cmp :: Eq for HENHMETAFILE { } unsafe impl :: windows :: Abi for HENHMETAFILE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( transparent ) ] pub struct HFONT ( pub isize ) ; impl HFONT { } impl :: std :: default :: Default for HFONT { fn default ( ) -> Self { Self ( 0 ) } } impl HFONT { pub const NULL : Self = Self ( 0 ) ; pub fn is_null ( & self ) -> bool { self . 0 == 0 } } impl :: std :: fmt :: Debug for HFONT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "HFONT" ) . field ( "Value" , & self .0 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for HFONT { fn eq ( & self , other : & Self ) -> bool { self .0 == other .0 } } impl :: std :: cmp :: Eq for HFONT { } unsafe impl :: windows :: Abi for HFONT { type Abi = Self ; type DefaultType = Self ; } impl < 'a > :: windows :: IntoParam < 'a , HGDIOBJ > for HFONT { 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 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 HMETAFILE ( pub isize ) ; impl HMETAFILE { } impl :: std :: default :: Default for HMETAFILE { fn default ( ) -> Self { Self ( 0 ) } } impl HMETAFILE { pub const NULL : Self = Self ( 0 ) ; pub fn is_null ( & self ) -> bool { self . 0 == 0 } } impl :: std :: fmt :: Debug for HMETAFILE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "HMETAFILE" ) . field ( "Value" , & self .0 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for HMETAFILE { fn eq ( & self , other : & Self ) -> bool { self .0 == other .0 } } impl :: std :: cmp :: Eq for HMETAFILE { } unsafe impl :: windows :: Abi for HMETAFILE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( transparent ) ] pub struct HMONITOR ( pub isize ) ; impl HMONITOR { } impl :: std :: default :: Default for HMONITOR { fn default ( ) -> Self { Self ( 0 ) } } impl HMONITOR { pub const NULL : Self = Self ( 0 ) ; pub fn is_null ( & self ) -> bool { self . 0 == 0 } } impl :: std :: fmt :: Debug for HMONITOR { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "HMONITOR" ) . field ( "Value" , & self .0 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for HMONITOR { fn eq ( & self , other : & Self ) -> bool { self .0 == other .0 } } impl :: std :: cmp :: Eq for HMONITOR { } unsafe impl :: windows :: Abi for HMONITOR { 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 ( transparent ) ] pub struct HRGN ( pub isize ) ; impl HRGN { } impl :: std :: default :: Default for HRGN { fn default ( ) -> Self { Self ( 0 ) } } impl HRGN { pub const NULL : Self = Self ( 0 ) ; pub fn is_null ( & self ) -> bool { self . 0 == 0 } } impl :: std :: fmt :: Debug for HRGN { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "HRGN" ) . field ( "Value" , & self .0 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for HRGN { fn eq ( & self , other : & Self ) -> bool { self .0 == other .0 } } impl :: std :: cmp :: Eq for HRGN { } unsafe impl :: windows :: Abi for HRGN { type Abi = Self ; type DefaultType = Self ; } impl < 'a > :: windows :: IntoParam < 'a , HGDIOBJ > for HRGN { 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 TEXTMETRICW { pub tmHeight : i32 , pub tmAscent : i32 , pub tmDescent : i32 , pub tmInternalLeading : i32 , pub tmExternalLeading : i32 , pub tmAveCharWidth : i32 , pub tmMaxCharWidth : i32 , pub tmWeight : i32 , pub tmOverhang : i32 , pub tmDigitizedAspectX : i32 , pub tmDigitizedAspectY : i32 , pub tmFirstChar : u16 , pub tmLastChar : u16 , pub tmDefaultChar : u16 , pub tmBreakChar : u16 , pub tmItalic : u8 , pub tmUnderlined : u8 , pub tmStruckOut : u8 , pub tmPitchAndFamily : u8 , pub tmCharSet : u8 } impl TEXTMETRICW { } impl :: std :: default :: Default for TEXTMETRICW { fn default ( ) -> Self { Self { tmHeight : 0 , tmAscent : 0 , tmDescent : 0 , tmInternalLeading : 0 , tmExternalLeading : 0 , tmAveCharWidth : 0 , tmMaxCharWidth : 0 , tmWeight : 0 , tmOverhang : 0 , tmDigitizedAspectX : 0 , tmDigitizedAspectY : 0 , tmFirstChar : 0 , tmLastChar : 0 , tmDefaultChar : 0 , tmBreakChar : 0 , tmItalic : 0 , tmUnderlined : 0 , tmStruckOut : 0 , tmPitchAndFamily : 0 , tmCharSet : 0 } } } impl :: std :: fmt :: Debug for TEXTMETRICW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "TEXTMETRICW" ) . field ( "tmHeight" , & self . tmHeight ) . field ( "tmAscent" , & self . tmAscent ) . field ( "tmDescent" , & self . tmDescent ) . field ( "tmInternalLeading" , & self . tmInternalLeading ) . field ( "tmExternalLeading" , & self . tmExternalLeading ) . field ( "tmAveCharWidth" , & self . tmAveCharWidth ) . field ( "tmMaxCharWidth" , & self . tmMaxCharWidth ) . field ( "tmWeight" , & self . tmWeight ) . field ( "tmOverhang" , & self . tmOverhang ) . field ( "tmDigitizedAspectX" , & self . tmDigitizedAspectX ) . field ( "tmDigitizedAspectY" , & self . tmDigitizedAspectY ) . field ( "tmFirstChar" , & self . tmFirstChar ) . field ( "tmLastChar" , & self . tmLastChar ) . field ( "tmDefaultChar" , & self . tmDefaultChar ) . field ( "tmBreakChar" , & self . tmBreakChar ) . field ( "tmItalic" , & self . tmItalic ) . field ( "tmUnderlined" , & self . tmUnderlined ) . field ( "tmStruckOut" , & self . tmStruckOut ) . field ( "tmPitchAndFamily" , & self . tmPitchAndFamily ) . field ( "tmCharSet" , & self . tmCharSet ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TEXTMETRICW { fn eq ( & self , other : & Self ) -> bool { self . tmHeight == other . tmHeight && self . tmAscent == other . tmAscent && self . tmDescent == other . tmDescent && self . tmInternalLeading == other . tmInternalLeading && self . tmExternalLeading == other . tmExternalLeading && self . tmAveCharWidth == other . tmAveCharWidth && self . tmMaxCharWidth == other . tmMaxCharWidth && self . tmWeight == other . tmWeight && self . tmOverhang == other . tmOverhang && self . tmDigitizedAspectX == other . tmDigitizedAspectX && self . tmDigitizedAspectY == other . tmDigitizedAspectY && self . tmFirstChar == other . tmFirstChar && self . tmLastChar == other . tmLastChar && self . tmDefaultChar == other . tmDefaultChar && self . tmBreakChar == other . tmBreakChar && self . tmItalic == other . tmItalic && self . tmUnderlined == other . tmUnderlined && self . tmStruckOut == other . tmStruckOut && self . tmPitchAndFamily == other . tmPitchAndFamily && self . tmCharSet == other . tmCharSet } } impl :: std :: cmp :: Eq for TEXTMETRICW { } unsafe impl :: windows :: Abi for TEXTMETRICW { 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 Media { # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod Audio { # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod CoreAudio { pub const AEC_MODE_FULL_DUPLEX : u32 = 2u32 ; pub const AEC_MODE_HALF_DUPLEX : u32 = 1u32 ; pub const AEC_MODE_PASS_THROUGH : u32 = 0u32 ; pub const AEC_STATUS_FD_CURRENTLY_CONVERGED : u32 = 8u32 ; pub const AEC_STATUS_FD_HISTORY_CONTINUOUSLY_CONVERGED : u32 = 1u32 ; pub const AEC_STATUS_FD_HISTORY_PREVIOUSLY_DIVERGED : u32 = 2u32 ; pub const AEC_STATUS_FD_HISTORY_UNINITIALIZED : 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 AMBISONICS_CHANNEL_ORDERING ( pub i32 ) ; pub const AMBISONICS_CHANNEL_ORDERING_ACN : AMBISONICS_CHANNEL_ORDERING = AMBISONICS_CHANNEL_ORDERING ( 0i32 ) ; impl :: std :: convert :: From < i32 > for AMBISONICS_CHANNEL_ORDERING { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for AMBISONICS_CHANNEL_ORDERING { 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 AMBISONICS_NORMALIZATION ( pub i32 ) ; pub const AMBISONICS_NORMALIZATION_SN3D : AMBISONICS_NORMALIZATION = AMBISONICS_NORMALIZATION ( 0i32 ) ; pub const AMBISONICS_NORMALIZATION_N3D : AMBISONICS_NORMALIZATION = AMBISONICS_NORMALIZATION ( 1i32 ) ; impl :: std :: convert :: From < i32 > for AMBISONICS_NORMALIZATION { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for AMBISONICS_NORMALIZATION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct AMBISONICS_PARAMS { pub u32Size : u32 , pub u32Version : u32 , pub u32Type : AMBISONICS_TYPE , pub u32ChannelOrdering : AMBISONICS_CHANNEL_ORDERING , pub u32Normalization : AMBISONICS_NORMALIZATION , pub u32Order : u32 , pub u32NumChannels : u32 , pub pu32ChannelMap : * mut u32 } impl AMBISONICS_PARAMS { } impl :: std :: default :: Default for AMBISONICS_PARAMS { fn default ( ) -> Self { Self { u32Size : 0 , u32Version : 0 , u32Type : :: std :: default :: Default :: default ( ) , u32ChannelOrdering : :: std :: default :: Default :: default ( ) , u32Normalization : :: std :: default :: Default :: default ( ) , u32Order : 0 , u32NumChannels : 0 , pu32ChannelMap : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for AMBISONICS_PARAMS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "AMBISONICS_PARAMS" ) . field ( "u32Size" , & self . u32Size ) . field ( "u32Version" , & self . u32Version ) . field ( "u32Type" , & self . u32Type ) . field ( "u32ChannelOrdering" , & self . u32ChannelOrdering ) . field ( "u32Normalization" , & self . u32Normalization ) . field ( "u32Order" , & self . u32Order ) . field ( "u32NumChannels" , & self . u32NumChannels ) . field ( "pu32ChannelMap" , & self . pu32ChannelMap ) . finish ( ) } } impl :: std :: cmp :: PartialEq for AMBISONICS_PARAMS { fn eq ( & self , other : & Self ) -> bool { self . u32Size == other . u32Size && self . u32Version == other . u32Version && self . u32Type == other . u32Type && self . u32ChannelOrdering == other . u32ChannelOrdering && self . u32Normalization == other . u32Normalization && self . u32Order == other . u32Order && self . u32NumChannels == other . u32NumChannels && self . pu32ChannelMap == other . pu32ChannelMap } } impl :: std :: cmp :: Eq for AMBISONICS_PARAMS { } unsafe impl :: windows :: Abi for AMBISONICS_PARAMS { type Abi = Self ; type DefaultType = Self ; } pub const AMBISONICS_PARAM_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 AMBISONICS_TYPE ( pub i32 ) ; pub const AMBISONICS_TYPE_FULL3D : AMBISONICS_TYPE = AMBISONICS_TYPE ( 0i32 ) ; impl :: std :: convert :: From < i32 > for AMBISONICS_TYPE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for AMBISONICS_TYPE { type Abi = Self ; type DefaultType = Self ; } pub const APO_CLASS_UUID : :: windows :: Guid = :: windows :: Guid :: from_values ( 1502215400 ,40144 ,18045 , [ 138 ,106 ,84 ,25 ,227 ,21 ,41 ,212 ] , ) ; pub const AUDCLNT_E_ALREADY_INITIALIZED : :: windows :: HRESULT = :: windows :: HRESULT ( -2004287486i32 as _ ) ; pub const AUDCLNT_E_BUFDURATION_PERIOD_NOT_EQUAL : :: windows :: HRESULT = :: windows :: HRESULT ( -2004287469i32 as _ ) ; pub const AUDCLNT_E_BUFFER_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2004287464i32 as _ ) ; pub const AUDCLNT_E_BUFFER_OPERATION_PENDING : :: windows :: HRESULT = :: windows :: HRESULT ( -2004287477i32 as _ ) ; pub const AUDCLNT_E_BUFFER_SIZE_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2004287466i32 as _ ) ; pub const AUDCLNT_E_BUFFER_SIZE_NOT_ALIGNED : :: windows :: HRESULT = :: windows :: HRESULT ( -2004287463i32 as _ ) ; pub const AUDCLNT_E_BUFFER_TOO_LARGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2004287482i32 as _ ) ; pub const AUDCLNT_E_CPUUSAGE_EXCEEDED : :: windows :: HRESULT = :: windows :: HRESULT ( -2004287465i32 as _ ) ; pub const AUDCLNT_E_DEVICE_INVALIDATED : :: windows :: HRESULT = :: windows :: HRESULT ( -2004287484i32 as _ ) ; pub const AUDCLNT_E_DEVICE_IN_USE : :: windows :: HRESULT = :: windows :: HRESULT ( -2004287478i32 as _ ) ; pub const AUDCLNT_E_ENDPOINT_CREATE_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2004287473i32 as _ ) ; pub const AUDCLNT_E_ENDPOINT_OFFLOAD_NOT_CAPABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2004287454i32 as _ ) ; pub const AUDCLNT_E_ENGINE_FORMAT_LOCKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2004287447i32 as _ ) ; pub const AUDCLNT_E_ENGINE_PERIODICITY_LOCKED : :: windows :: HRESULT = :: windows :: HRESULT ( -2004287448i32 as _ ) ; pub const AUDCLNT_E_EVENTHANDLE_NOT_EXPECTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2004287471i32 as _ ) ; pub const AUDCLNT_E_EVENTHANDLE_NOT_SET : :: windows :: HRESULT = :: windows :: HRESULT ( -2004287468i32 as _ ) ; pub const AUDCLNT_E_EXCLUSIVE_MODE_NOT_ALLOWED : :: windows :: HRESULT = :: windows :: HRESULT ( -2004287474i32 as _ ) ; pub const AUDCLNT_E_EXCLUSIVE_MODE_ONLY : :: windows :: HRESULT = :: windows :: HRESULT ( -2004287470i32 as _ ) ; pub const AUDCLNT_E_HEADTRACKING_ENABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2004287440i32 as _ ) ; pub const AUDCLNT_E_HEADTRACKING_UNSUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2004287424i32 as _ ) ; pub const AUDCLNT_E_INCORRECT_BUFFER_SIZE : :: windows :: HRESULT = :: windows :: HRESULT ( -2004287467i32 as _ ) ; pub const AUDCLNT_E_INVALID_DEVICE_PERIOD : :: windows :: HRESULT = :: windows :: HRESULT ( -2004287456i32 as _ ) ; pub const AUDCLNT_E_INVALID_SIZE : :: windows :: HRESULT = :: windows :: HRESULT ( -2004287479i32 as _ ) ; pub const AUDCLNT_E_INVALID_STREAM_FLAG : :: windows :: HRESULT = :: windows :: HRESULT ( -2004287455i32 as _ ) ; pub const AUDCLNT_E_NONOFFLOAD_MODE_ONLY : :: windows :: HRESULT = :: windows :: HRESULT ( -2004287451i32 as _ ) ; pub const AUDCLNT_E_NOT_INITIALIZED : :: windows :: HRESULT = :: windows :: HRESULT ( -2004287487i32 as _ ) ; pub const AUDCLNT_E_NOT_STOPPED : :: windows :: HRESULT = :: windows :: HRESULT ( -2004287483i32 as _ ) ; pub const AUDCLNT_E_OFFLOAD_MODE_ONLY : :: windows :: HRESULT = :: windows :: HRESULT ( -2004287452i32 as _ ) ; pub const AUDCLNT_E_OUT_OF_OFFLOAD_RESOURCES : :: windows :: HRESULT = :: windows :: HRESULT ( -2004287453i32 as _ ) ; pub const AUDCLNT_E_OUT_OF_ORDER : :: windows :: HRESULT = :: windows :: HRESULT ( -2004287481i32 as _ ) ; pub const AUDCLNT_E_RAW_MODE_UNSUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2004287449i32 as _ ) ; pub const AUDCLNT_E_RESOURCES_INVALIDATED : :: windows :: HRESULT = :: windows :: HRESULT ( -2004287450i32 as _ ) ; pub const AUDCLNT_E_SERVICE_NOT_RUNNING : :: windows :: HRESULT = :: windows :: HRESULT ( -2004287472i32 as _ ) ; pub const AUDCLNT_E_THREAD_NOT_REGISTERED : :: windows :: HRESULT = :: windows :: HRESULT ( -2004287476i32 as _ ) ; pub const AUDCLNT_E_UNSUPPORTED_FORMAT : :: windows :: HRESULT = :: windows :: HRESULT ( -2004287480i32 as _ ) ; pub const AUDCLNT_E_WRONG_ENDPOINT_TYPE : :: windows :: HRESULT = :: windows :: HRESULT ( -2004287485i32 as _ ) ; pub const AUDCLNT_SESSIONFLAGS_DISPLAY_HIDE : u32 = 536870912u32 ; pub const AUDCLNT_SESSIONFLAGS_DISPLAY_HIDEWHENEXPIRED : u32 = 1073741824u32 ; pub const AUDCLNT_SESSIONFLAGS_EXPIREWHENUNOWNED : u32 = 268435456u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct AUDCLNT_SHAREMODE ( pub i32 ) ; pub const AUDCLNT_SHAREMODE_SHARED : AUDCLNT_SHAREMODE = AUDCLNT_SHAREMODE ( 0i32 ) ; pub const AUDCLNT_SHAREMODE_EXCLUSIVE : AUDCLNT_SHAREMODE = AUDCLNT_SHAREMODE ( 1i32 ) ; impl :: std :: convert :: From < i32 > for AUDCLNT_SHAREMODE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for AUDCLNT_SHAREMODE { type Abi = Self ; type DefaultType = Self ; } pub const AUDCLNT_STREAMFLAGS_AUTOCONVERTPCM : u32 = 2147483648u32 ; pub const AUDCLNT_STREAMFLAGS_CROSSPROCESS : u32 = 65536u32 ; pub const AUDCLNT_STREAMFLAGS_EVENTCALLBACK : u32 = 262144u32 ; pub const AUDCLNT_STREAMFLAGS_LOOPBACK : u32 = 131072u32 ; pub const AUDCLNT_STREAMFLAGS_NOPERSIST : u32 = 524288u32 ; pub const AUDCLNT_STREAMFLAGS_RATEADJUST : u32 = 1048576u32 ; pub const AUDCLNT_STREAMFLAGS_SRC_DEFAULT_QUALITY : u32 = 134217728u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct AUDCLNT_STREAMOPTIONS ( pub u32 ) ; pub const AUDCLNT_STREAMOPTIONS_NONE : AUDCLNT_STREAMOPTIONS = AUDCLNT_STREAMOPTIONS ( 0u32 ) ; pub const AUDCLNT_STREAMOPTIONS_RAW : AUDCLNT_STREAMOPTIONS = AUDCLNT_STREAMOPTIONS ( 1u32 ) ; pub const AUDCLNT_STREAMOPTIONS_MATCH_FORMAT : AUDCLNT_STREAMOPTIONS = AUDCLNT_STREAMOPTIONS ( 2u32 ) ; pub const AUDCLNT_STREAMOPTIONS_AMBISONICS : AUDCLNT_STREAMOPTIONS = AUDCLNT_STREAMOPTIONS ( 4u32 ) ; impl :: std :: convert :: From < u32 > for AUDCLNT_STREAMOPTIONS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for AUDCLNT_STREAMOPTIONS { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for AUDCLNT_STREAMOPTIONS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for AUDCLNT_STREAMOPTIONS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for AUDCLNT_STREAMOPTIONS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for AUDCLNT_STREAMOPTIONS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub const AUDCLNT_S_BUFFER_EMPTY : :: windows :: HRESULT = :: windows :: HRESULT ( 143196161i32 as _ ) ; pub const AUDCLNT_S_POSITION_STALLED : :: windows :: HRESULT = :: windows :: HRESULT ( 143196163i32 as _ ) ; pub const AUDCLNT_S_THREAD_ALREADY_REGISTERED : :: windows :: HRESULT = :: windows :: HRESULT ( 143196162i32 as _ ) ; pub const AUDIOCLOCK_CHARACTERISTIC_FIXED_FREQ : u32 = 1u32 ; pub const AUDIOENDPOINT_CLASS_UUID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3244708412 ,65036 ,19092 , [ 165 ,134 ,241 ,168 ,12 ,251 ,191 ,62 ] , ) ; pub const AUDIOMODULE_MAX_DATA_SIZE : u32 = 64000u32 ; pub const AUDIOMODULE_MAX_NAME_CCH_SIZE : u32 = 128u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct AUDIOPOSTURE_MEMBER_FLAGS ( pub i32 ) ; pub const AUDIOPOSTURE_MEMBER_FLAGS_HINGEANGLE : AUDIOPOSTURE_MEMBER_FLAGS = AUDIOPOSTURE_MEMBER_FLAGS ( 1i32 ) ; pub const AUDIOPOSTURE_MEMBER_FLAGS_PANELSTATE : AUDIOPOSTURE_MEMBER_FLAGS = AUDIOPOSTURE_MEMBER_FLAGS ( 2i32 ) ; impl :: std :: convert :: From < i32 > for AUDIOPOSTURE_MEMBER_FLAGS { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for AUDIOPOSTURE_MEMBER_FLAGS { 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 AUDIOPOSTURE_PANEL_ORIENTATION ( pub i32 ) ; pub const AUDIOPOSTURE_PANEL_ORIENTATION_NOTROTATED : AUDIOPOSTURE_PANEL_ORIENTATION = AUDIOPOSTURE_PANEL_ORIENTATION ( 0i32 ) ; pub const AUDIOPOSTURE_PANEL_ORIENTATION_ROTATED90DEGREESCOUNTERCLOCKWISE : AUDIOPOSTURE_PANEL_ORIENTATION = AUDIOPOSTURE_PANEL_ORIENTATION ( 1i32 ) ; pub const AUDIOPOSTURE_PANEL_ORIENTATION_ROTATED180DEGREESCOUNTERCLOCKWISE : AUDIOPOSTURE_PANEL_ORIENTATION = AUDIOPOSTURE_PANEL_ORIENTATION ( 2i32 ) ; pub const AUDIOPOSTURE_PANEL_ORIENTATION_ROTATED270DEGREESCOUNTERCLOCKWISE : AUDIOPOSTURE_PANEL_ORIENTATION = AUDIOPOSTURE_PANEL_ORIENTATION ( 3i32 ) ; pub const AUDIOPOSTURE_PANEL_ORIENTATION_FACEUP : AUDIOPOSTURE_PANEL_ORIENTATION = AUDIOPOSTURE_PANEL_ORIENTATION ( 4i32 ) ; pub const AUDIOPOSTURE_PANEL_ORIENTATION_FACEDOWN : AUDIOPOSTURE_PANEL_ORIENTATION = AUDIOPOSTURE_PANEL_ORIENTATION ( 5i32 ) ; pub const AUDIOPOSTURE_PANEL_ORIENTATION_COUNT : AUDIOPOSTURE_PANEL_ORIENTATION = AUDIOPOSTURE_PANEL_ORIENTATION ( 6i32 ) ; impl :: std :: convert :: From < i32 > for AUDIOPOSTURE_PANEL_ORIENTATION { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for AUDIOPOSTURE_PANEL_ORIENTATION { 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 AUDIOPOSTURE_PANEL_POWER ( pub i32 ) ; pub const AUDIOPOSTURE_PANEL_POWER_OFF : AUDIOPOSTURE_PANEL_POWER = AUDIOPOSTURE_PANEL_POWER ( 0i32 ) ; pub const AUDIOPOSTURE_PANEL_POWER_ON : AUDIOPOSTURE_PANEL_POWER = AUDIOPOSTURE_PANEL_POWER ( 1i32 ) ; impl :: std :: convert :: From < i32 > for AUDIOPOSTURE_PANEL_POWER { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for AUDIOPOSTURE_PANEL_POWER { 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 AUDIO_CURVE_TYPE ( pub i32 ) ; pub const AUDIO_CURVE_TYPE_NONE : AUDIO_CURVE_TYPE = AUDIO_CURVE_TYPE ( 0i32 ) ; pub const AUDIO_CURVE_TYPE_WINDOWS_FADE : AUDIO_CURVE_TYPE = AUDIO_CURVE_TYPE ( 1i32 ) ; impl :: std :: convert :: From < i32 > for AUDIO_CURVE_TYPE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for AUDIO_CURVE_TYPE { type Abi = Self ; type DefaultType = Self ; } pub const AUDIO_EFFECT_TYPE_ACOUSTIC_ECHO_CANCELLATION : :: windows :: Guid = :: windows :: Guid :: from_values ( 1868869054 ,33297 ,4578 , [ 140 ,112 ,44 ,39 ,215 ,240 ,1 ,250 ] , ) ; pub const AUDIO_EFFECT_TYPE_AUTOMATIC_GAIN_CONTROL : :: windows :: Guid = :: windows :: Guid :: from_values ( 1868869056 ,33297 ,4578 , [ 140 ,112 ,44 ,39 ,215 ,240 ,1 ,250 ] , ) ; pub const AUDIO_EFFECT_TYPE_BASS_BOOST : :: windows :: Guid = :: windows :: Guid :: from_values ( 1868869061 ,33297 ,4578 , [ 140 ,112 ,44 ,39 ,215 ,240 ,1 ,250 ] , ) ; pub const AUDIO_EFFECT_TYPE_BASS_MANAGEMENT : :: windows :: Guid = :: windows :: Guid :: from_values ( 1868869066 ,33297 ,4578 , [ 140 ,112 ,44 ,39 ,215 ,240 ,1 ,250 ] , ) ; pub const AUDIO_EFFECT_TYPE_BEAMFORMING : :: windows :: Guid = :: windows :: Guid :: from_values ( 1868869057 ,33297 ,4578 , [ 140 ,112 ,44 ,39 ,215 ,240 ,1 ,250 ] , ) ; pub const AUDIO_EFFECT_TYPE_CONSTANT_TONE_REMOVAL : :: windows :: Guid = :: windows :: Guid :: from_values ( 1868869058 ,33297 ,4578 , [ 140 ,112 ,44 ,39 ,215 ,240 ,1 ,250 ] , ) ; pub const AUDIO_EFFECT_TYPE_DYNAMIC_RANGE_COMPRESSION : :: windows :: Guid = :: windows :: Guid :: from_values ( 1868869070 ,33297 ,4578 , [ 140 ,112 ,44 ,39 ,215 ,240 ,1 ,250 ] , ) ; pub const AUDIO_EFFECT_TYPE_ENVIRONMENTAL_EFFECTS : :: windows :: Guid = :: windows :: Guid :: from_values ( 1868869067 ,33297 ,4578 , [ 140 ,112 ,44 ,39 ,215 ,240 ,1 ,250 ] , ) ; pub const AUDIO_EFFECT_TYPE_EQUALIZER : :: windows :: Guid = :: windows :: Guid :: from_values ( 1868869059 ,33297 ,4578 , [ 140 ,112 ,44 ,39 ,215 ,240 ,1 ,250 ] , ) ; pub const AUDIO_EFFECT_TYPE_LOUDNESS_EQUALIZER : :: windows :: Guid = :: windows :: Guid :: from_values ( 1868869060 ,33297 ,4578 , [ 140 ,112 ,44 ,39 ,215 ,240 ,1 ,250 ] , ) ; pub const AUDIO_EFFECT_TYPE_NOISE_SUPPRESSION : :: windows :: Guid = :: windows :: Guid :: from_values ( 1868869055 ,33297 ,4578 , [ 140 ,112 ,44 ,39 ,215 ,240 ,1 ,250 ] , ) ; pub const AUDIO_EFFECT_TYPE_ROOM_CORRECTION : :: windows :: Guid = :: windows :: Guid :: from_values ( 1868869065 ,33297 ,4578 , [ 140 ,112 ,44 ,39 ,215 ,240 ,1 ,250 ] , ) ; pub const AUDIO_EFFECT_TYPE_SPEAKER_COMPENSATION : :: windows :: Guid = :: windows :: Guid :: from_values ( 1868869069 ,33297 ,4578 , [ 140 ,112 ,44 ,39 ,215 ,240 ,1 ,250 ] , ) ; pub const AUDIO_EFFECT_TYPE_SPEAKER_FILL : :: windows :: Guid = :: windows :: Guid :: from_values ( 1868869064 ,33297 ,4578 , [ 140 ,112 ,44 ,39 ,215 ,240 ,1 ,250 ] , ) ; pub const AUDIO_EFFECT_TYPE_SPEAKER_PROTECTION : :: windows :: Guid = :: windows :: Guid :: from_values ( 1868869068 ,33297 ,4578 , [ 140 ,112 ,44 ,39 ,215 ,240 ,1 ,250 ] , ) ; pub const AUDIO_EFFECT_TYPE_VIRTUAL_HEADPHONES : :: windows :: Guid = :: windows :: Guid :: from_values ( 1868869063 ,33297 ,4578 , [ 140 ,112 ,44 ,39 ,215 ,240 ,1 ,250 ] , ) ; pub const AUDIO_EFFECT_TYPE_VIRTUAL_SURROUND : :: windows :: Guid = :: windows :: Guid :: from_values ( 1868869062 ,33297 ,4578 , [ 140 ,112 ,44 ,39 ,215 ,240 ,1 ,250 ] , ) ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct AUDIO_ENDPOINT_SHARED_CREATE_PARAMS { pub u32Size : u32 , pub u32TSSessionId : u32 , pub targetEndpointConnectorType : EndpointConnectorType , pub wfxDeviceFormat : super::super::Multimedia:: WAVEFORMATEX } impl AUDIO_ENDPOINT_SHARED_CREATE_PARAMS { } impl :: std :: cmp :: PartialEq for AUDIO_ENDPOINT_SHARED_CREATE_PARAMS { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for AUDIO_ENDPOINT_SHARED_CREATE_PARAMS { } unsafe impl :: windows :: Abi for AUDIO_ENDPOINT_SHARED_CREATE_PARAMS { type Abi = Self ; type DefaultType = Self ; } pub const AUDIO_SIGNALPROCESSINGMODE_COMMUNICATIONS : :: windows :: Guid = :: windows :: Guid :: from_values ( 2559906611 ,47565 ,18609 , [ 160 ,163 ,255 ,64 ,104 ,45 ,115 ,247 ] , ) ; pub const AUDIO_SIGNALPROCESSINGMODE_DEFAULT : :: windows :: Guid = :: windows :: Guid :: from_values ( 3247320958 ,37693 ,18789 , [ 183 ,209 ,30 ,239 ,34 ,141 ,42 ,243 ] , ) ; pub const AUDIO_SIGNALPROCESSINGMODE_MEDIA : :: windows :: Guid = :: windows :: Guid :: from_values ( 1199571022 ,28979 ,16856 , [ 140 ,116 ,102 ,13 ,173 ,210 ,192 ,238 ] , ) ; pub const AUDIO_SIGNALPROCESSINGMODE_MOVIE : :: windows :: Guid = :: windows :: Guid :: from_values ( 2993679117 ,60564 ,18300 , [ 148 ,148 ,209 ,171 ,142 ,117 ,63 ,110 ] , ) ; pub const AUDIO_SIGNALPROCESSINGMODE_NOTIFICATION : :: windows :: Guid = :: windows :: Guid :: from_values ( 2633148171 ,62327 ,16443 , [ 189 ,107 ,54 ,8 ,99 ,224 ,53 ,92 ] , ) ; pub const AUDIO_SIGNALPROCESSINGMODE_RAW : :: windows :: Guid = :: windows :: Guid :: from_values ( 2660297248 ,46227 ,20433 , [ 161 ,168 ,126 ,19 ,97 ,169 ,86 ,207 ] , ) ; pub const AUDIO_SIGNALPROCESSINGMODE_SPEECH : :: windows :: Guid = :: windows :: Guid :: from_values ( 4229758107 ,47574 ,19706 , [ 181 ,224 ,75 ,178 ,22 ,104 ,120 ,178 ] , ) ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct AUDIO_STREAM_CATEGORY ( pub i32 ) ; pub const AudioCategory_Other : AUDIO_STREAM_CATEGORY = AUDIO_STREAM_CATEGORY ( 0i32 ) ; pub const AudioCategory_ForegroundOnlyMedia : AUDIO_STREAM_CATEGORY = AUDIO_STREAM_CATEGORY ( 1i32 ) ; pub const AudioCategory_Communications : AUDIO_STREAM_CATEGORY = AUDIO_STREAM_CATEGORY ( 3i32 ) ; pub const AudioCategory_Alerts : AUDIO_STREAM_CATEGORY = AUDIO_STREAM_CATEGORY ( 4i32 ) ; pub const AudioCategory_SoundEffects : AUDIO_STREAM_CATEGORY = AUDIO_STREAM_CATEGORY ( 5i32 ) ; pub const AudioCategory_GameEffects : AUDIO_STREAM_CATEGORY = AUDIO_STREAM_CATEGORY ( 6i32 ) ; pub const AudioCategory_GameMedia : AUDIO_STREAM_CATEGORY = AUDIO_STREAM_CATEGORY ( 7i32 ) ; pub const AudioCategory_GameChat : AUDIO_STREAM_CATEGORY = AUDIO_STREAM_CATEGORY ( 8i32 ) ; pub const AudioCategory_Speech : AUDIO_STREAM_CATEGORY = AUDIO_STREAM_CATEGORY ( 9i32 ) ; pub const AudioCategory_Movie : AUDIO_STREAM_CATEGORY = AUDIO_STREAM_CATEGORY ( 10i32 ) ; pub const AudioCategory_Media : AUDIO_STREAM_CATEGORY = AUDIO_STREAM_CATEGORY ( 11i32 ) ; impl :: std :: convert :: From < i32 > for AUDIO_STREAM_CATEGORY { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for AUDIO_STREAM_CATEGORY { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct AUDIO_VOLUME_NOTIFICATION_DATA { pub guidEventContext : :: windows :: Guid , pub bMuted : super::super::super::Foundation:: BOOL , pub fMasterVolume : f32 , pub nChannels : u32 , pub afChannelVolumes : [ f32 ;1 ] } impl AUDIO_VOLUME_NOTIFICATION_DATA { } impl :: std :: default :: Default for AUDIO_VOLUME_NOTIFICATION_DATA { fn default ( ) -> Self { Self { guidEventContext : :: std :: default :: Default :: default ( ) , bMuted : :: std :: default :: Default :: default ( ) , fMasterVolume : 0.0 , nChannels : 0 , afChannelVolumes : [ 0.0 ;1 ] } } } impl :: std :: fmt :: Debug for AUDIO_VOLUME_NOTIFICATION_DATA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "AUDIO_VOLUME_NOTIFICATION_DATA" ) . field ( "guidEventContext" , & self . guidEventContext ) . field ( "bMuted" , & self . bMuted ) . field ( "fMasterVolume" , & self . fMasterVolume ) . field ( "nChannels" , & self . nChannels ) . field ( "afChannelVolumes" , & self . afChannelVolumes ) . finish ( ) } } impl :: std :: cmp :: PartialEq for AUDIO_VOLUME_NOTIFICATION_DATA { fn eq ( & self , other : & Self ) -> bool { self . guidEventContext == other . guidEventContext && self . bMuted == other . bMuted && self . fMasterVolume == other . fMasterVolume && self . nChannels == other . nChannels && self . afChannelVolumes == other . afChannelVolumes } } impl :: std :: cmp :: Eq for AUDIO_VOLUME_NOTIFICATION_DATA { } unsafe impl :: windows :: Abi for AUDIO_VOLUME_NOTIFICATION_DATA { type Abi = Self ; type DefaultType = Self ; } pub unsafe fn ActivateAudioInterfaceAsync < 'a , > ( deviceinterfacepath : impl :: windows :: IntoParam < 'a , super::super::super::Foundation:: PWSTR > , riid : * const :: windows :: Guid , activationparams : * mut super::super::super::Storage::StructuredStorage:: PROPVARIANT , completionhandler : impl :: windows :: IntoParam < 'a , IActivateAudioInterfaceCompletionHandler > , ) -> :: windows :: Result < IActivateAudioInterfaceAsyncOperation > { # [ cfg ( windows ) ] { # [ link ( name ="MMDevAPI" ) ] extern "system" { fn ActivateAudioInterfaceAsync ( deviceinterfacepath : super::super::super::Foundation:: PWSTR , riid : * const :: windows :: Guid , activationparams : * mut super::super::super::Storage::StructuredStorage:: PROPVARIANT_abi , completionhandler : :: windows :: RawPtr , activationoperation : * mut :: windows :: RawPtr ) -> :: windows :: HRESULT ; } let mut result__ : < IActivateAudioInterfaceAsyncOperation as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ActivateAudioInterfaceAsync ( deviceinterfacepath . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( riid ) , :: std :: mem :: transmute ( activationparams ) , completionhandler . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < IActivateAudioInterfaceAsyncOperation > ( result__ ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct AudioClient3ActivationParams { pub tracingContextId : :: windows :: Guid } impl AudioClient3ActivationParams { } impl :: std :: default :: Default for AudioClient3ActivationParams { fn default ( ) -> Self { Self { tracingContextId : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for AudioClient3ActivationParams { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "AudioClient3ActivationParams" ) . field ( "tracingContextId" , & self . tracingContextId ) . finish ( ) } } impl :: std :: cmp :: PartialEq for AudioClient3ActivationParams { fn eq ( & self , other : & Self ) -> bool { self . tracingContextId == other . tracingContextId } } impl :: std :: cmp :: Eq for AudioClient3ActivationParams { } unsafe impl :: windows :: Abi for AudioClient3ActivationParams { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct AudioClientProperties { pub cbSize : u32 , pub bIsOffload : super::super::super::Foundation:: BOOL , pub eCategory : AUDIO_STREAM_CATEGORY , pub Options : AUDCLNT_STREAMOPTIONS } impl AudioClientProperties { } impl :: std :: default :: Default for AudioClientProperties { fn default ( ) -> Self { Self { cbSize : 0 , bIsOffload : :: std :: default :: Default :: default ( ) , eCategory : :: std :: default :: Default :: default ( ) , Options : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for AudioClientProperties { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "AudioClientProperties" ) . field ( "cbSize" , & self . cbSize ) . field ( "bIsOffload" , & self . bIsOffload ) . field ( "eCategory" , & self . eCategory ) . field ( "Options" , & self . Options ) . finish ( ) } } impl :: std :: cmp :: PartialEq for AudioClientProperties { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . bIsOffload == other . bIsOffload && self . eCategory == other . eCategory && self . Options == other . Options } } impl :: std :: cmp :: Eq for AudioClientProperties { } unsafe impl :: windows :: Abi for AudioClientProperties { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone ) ] # [ repr ( C ) ] pub struct AudioExtensionParams { pub AddPageParam : super::super::super::Foundation:: LPARAM , pub pEndpoint : :: std :: option :: Option < IMMDevice > , pub pPnpInterface : :: std :: option :: Option < IMMDevice > , pub pPnpDevnode : :: std :: option :: Option < IMMDevice > } impl AudioExtensionParams { } impl :: std :: default :: Default for AudioExtensionParams { fn default ( ) -> Self { Self { AddPageParam : :: std :: default :: Default :: default ( ) , pEndpoint : :: std :: default :: Default :: default ( ) , pPnpInterface : :: std :: default :: Default :: default ( ) , pPnpDevnode : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for AudioExtensionParams { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "AudioExtensionParams" ) . field ( "AddPageParam" , & self . AddPageParam ) . field ( "pEndpoint" , & self . pEndpoint ) . field ( "pPnpInterface" , & self . pPnpInterface ) . field ( "pPnpDevnode" , & self . pPnpDevnode ) . finish ( ) } } impl :: std :: cmp :: PartialEq for AudioExtensionParams { fn eq ( & self , other : & Self ) -> bool { self . AddPageParam == other . AddPageParam && self . pEndpoint == other . pEndpoint && self . pPnpInterface == other . pPnpInterface && self . pPnpDevnode == other . pPnpDevnode } } impl :: std :: cmp :: Eq for AudioExtensionParams { } # [ repr ( C ) ] # [ doc ( hidden ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct AudioExtensionParams_abi { pub AddPageParam : super::super::super::Foundation:: LPARAM , pub pEndpoint : :: windows :: RawPtr , pub pPnpInterface : :: windows :: RawPtr , pub pPnpDevnode : :: windows :: RawPtr } unsafe impl :: windows :: Abi for AudioExtensionParams { type Abi = AudioExtensionParams_abi ; 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 AudioObjectType ( pub u32 ) ; pub const AudioObjectType_None : AudioObjectType = AudioObjectType ( 0u32 ) ; pub const AudioObjectType_Dynamic : AudioObjectType = AudioObjectType ( 1u32 ) ; pub const AudioObjectType_FrontLeft : AudioObjectType = AudioObjectType ( 2u32 ) ; pub const AudioObjectType_FrontRight : AudioObjectType = AudioObjectType ( 4u32 ) ; pub const AudioObjectType_FrontCenter : AudioObjectType = AudioObjectType ( 8u32 ) ; pub const AudioObjectType_LowFrequency : AudioObjectType = AudioObjectType ( 16u32 ) ; pub const AudioObjectType_SideLeft : AudioObjectType = AudioObjectType ( 32u32 ) ; pub const AudioObjectType_SideRight : AudioObjectType = AudioObjectType ( 64u32 ) ; pub const AudioObjectType_BackLeft : AudioObjectType = AudioObjectType ( 128u32 ) ; pub const AudioObjectType_BackRight : AudioObjectType = AudioObjectType ( 256u32 ) ; pub const AudioObjectType_TopFrontLeft : AudioObjectType = AudioObjectType ( 512u32 ) ; pub const AudioObjectType_TopFrontRight : AudioObjectType = AudioObjectType ( 1024u32 ) ; pub const AudioObjectType_TopBackLeft : AudioObjectType = AudioObjectType ( 2048u32 ) ; pub const AudioObjectType_TopBackRight : AudioObjectType = AudioObjectType ( 4096u32 ) ; pub const AudioObjectType_BottomFrontLeft : AudioObjectType = AudioObjectType ( 8192u32 ) ; pub const AudioObjectType_BottomFrontRight : AudioObjectType = AudioObjectType ( 16384u32 ) ; pub const AudioObjectType_BottomBackLeft : AudioObjectType = AudioObjectType ( 32768u32 ) ; pub const AudioObjectType_BottomBackRight : AudioObjectType = AudioObjectType ( 65536u32 ) ; pub const AudioObjectType_BackCenter : AudioObjectType = AudioObjectType ( 131072u32 ) ; impl :: std :: convert :: From < u32 > for AudioObjectType { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for AudioObjectType { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for AudioObjectType { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for AudioObjectType { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for AudioObjectType { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for AudioObjectType { 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 AudioSessionDisconnectReason ( pub i32 ) ; pub const DisconnectReasonDeviceRemoval : AudioSessionDisconnectReason = AudioSessionDisconnectReason ( 0i32 ) ; pub const DisconnectReasonServerShutdown : AudioSessionDisconnectReason = AudioSessionDisconnectReason ( 1i32 ) ; pub const DisconnectReasonFormatChanged : AudioSessionDisconnectReason = AudioSessionDisconnectReason ( 2i32 ) ; pub const DisconnectReasonSessionLogoff : AudioSessionDisconnectReason = AudioSessionDisconnectReason ( 3i32 ) ; pub const DisconnectReasonSessionDisconnected : AudioSessionDisconnectReason = AudioSessionDisconnectReason ( 4i32 ) ; pub const DisconnectReasonExclusiveModeOverride : AudioSessionDisconnectReason = AudioSessionDisconnectReason ( 5i32 ) ; impl :: std :: convert :: From < i32 > for AudioSessionDisconnectReason { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for AudioSessionDisconnectReason { 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 AudioSessionState ( pub i32 ) ; pub const AudioSessionStateInactive : AudioSessionState = AudioSessionState ( 0i32 ) ; pub const AudioSessionStateActive : AudioSessionState = AudioSessionState ( 1i32 ) ; pub const AudioSessionStateExpired : AudioSessionState = AudioSessionState ( 2i32 ) ; impl :: std :: convert :: From < i32 > for AudioSessionState { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for AudioSessionState { type Abi = Self ; type DefaultType = Self ; } pub const BLUETOOTHLE_MIDI_SERVICE_UUID : :: windows :: Guid = :: windows :: Guid :: from_values ( 62393946 ,60904 ,19251 , [ 167 ,81 ,108 ,227 ,78 ,196 ,199 ,0 ] , ) ; pub const BLUETOOTH_MIDI_DATAIO_CHARACTERISTIC : :: windows :: Guid = :: windows :: Guid :: from_values ( 2004018651 ,14440 ,16658 , [ 161 ,169 ,242 ,102 ,157 ,16 ,107 ,243 ] , ) ; pub const BUS_INTERFACE_REFERENCE_VERSION : u32 = 256u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct CAPTURE_MEMORY_ALLOCATION_FLAGS ( pub i32 ) ; pub const KS_CAPTURE_ALLOC_INVALID : CAPTURE_MEMORY_ALLOCATION_FLAGS = CAPTURE_MEMORY_ALLOCATION_FLAGS ( 0i32 ) ; pub const KS_CAPTURE_ALLOC_SYSTEM : CAPTURE_MEMORY_ALLOCATION_FLAGS = CAPTURE_MEMORY_ALLOCATION_FLAGS ( 1i32 ) ; pub const KS_CAPTURE_ALLOC_VRAM : CAPTURE_MEMORY_ALLOCATION_FLAGS = CAPTURE_MEMORY_ALLOCATION_FLAGS ( 2i32 ) ; pub const KS_CAPTURE_ALLOC_SYSTEM_AGP : CAPTURE_MEMORY_ALLOCATION_FLAGS = CAPTURE_MEMORY_ALLOCATION_FLAGS ( 4i32 ) ; pub const KS_CAPTURE_ALLOC_VRAM_MAPPED : CAPTURE_MEMORY_ALLOCATION_FLAGS = CAPTURE_MEMORY_ALLOCATION_FLAGS ( 8i32 ) ; pub const KS_CAPTURE_ALLOC_SECURE_BUFFER : CAPTURE_MEMORY_ALLOCATION_FLAGS = CAPTURE_MEMORY_ALLOCATION_FLAGS ( 16i32 ) ; impl :: std :: convert :: From < i32 > for CAPTURE_MEMORY_ALLOCATION_FLAGS { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for CAPTURE_MEMORY_ALLOCATION_FLAGS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CC_BYTE_PAIR { pub Decoded : [ u8 ;2 ] , pub Reserved : u16 } impl CC_BYTE_PAIR { } impl :: std :: default :: Default for CC_BYTE_PAIR { fn default ( ) -> Self { Self { Decoded : [ 0 ;2 ] , Reserved : 0 } } } impl :: std :: fmt :: Debug for CC_BYTE_PAIR { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CC_BYTE_PAIR" ) . field ( "Decoded" , & self . Decoded ) . field ( "Reserved" , & self . Reserved ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CC_BYTE_PAIR { fn eq ( & self , other : & Self ) -> bool { self . Decoded == other . Decoded && self . Reserved == other . Reserved } } impl :: std :: cmp :: Eq for CC_BYTE_PAIR { } unsafe impl :: windows :: Abi for CC_BYTE_PAIR { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CC_HW_FIELD { pub ScanlinesRequested : VBICODECFILTERING_SCANLINES , pub fieldFlags : u32 , pub PictureNumber : i64 , pub Lines : [ CC_BYTE_PAIR ;12 ] } impl CC_HW_FIELD { } impl :: std :: default :: Default for CC_HW_FIELD { fn default ( ) -> Self { Self { ScanlinesRequested : :: std :: default :: Default :: default ( ) , fieldFlags : 0 , PictureNumber : 0 , Lines : [ :: std :: default :: Default :: default ( ) ;12 ] } } } impl :: std :: fmt :: Debug for CC_HW_FIELD { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CC_HW_FIELD" ) . field ( "ScanlinesRequested" , & self . ScanlinesRequested ) . field ( "fieldFlags" , & self . fieldFlags ) . field ( "PictureNumber" , & self . PictureNumber ) . field ( "Lines" , & self . Lines ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CC_HW_FIELD { fn eq ( & self , other : & Self ) -> bool { self . ScanlinesRequested == other . ScanlinesRequested && self . fieldFlags == other . fieldFlags && self . PictureNumber == other . PictureNumber && self . Lines == other . Lines } } impl :: std :: cmp :: Eq for CC_HW_FIELD { } unsafe impl :: windows :: Abi for CC_HW_FIELD { type Abi = Self ; type DefaultType = Self ; } pub const CC_MAX_HW_DECODE_LINES : u32 = 12u32 ; pub const CLSID_KsIBasicAudioInterfaceHandler : :: windows :: Guid = :: windows :: Guid :: from_values ( 3120081982 ,3953 ,4562 , [ 183 ,44 ,0 ,192 ,79 ,182 ,189 ,61 ] , ) ; pub const CODECAPI_ALLSETTINGS : :: windows :: Guid = :: windows :: Guid :: from_values ( 1784118930 ,33761 ,16659 , [ 173 ,194 ,79 ,206 ,195 ,47 ,131 ,161 ] , ) ; pub const CODECAPI_AUDIO_ENCODER : :: windows :: Guid = :: windows :: Guid :: from_values ( 3117521470 ,63639 ,17052 , [ 188 ,70 ,129 ,56 ,183 ,39 ,43 ,45 ] , ) ; pub const CODECAPI_CHANGELISTS : :: windows :: Guid = :: windows :: Guid :: from_values ( 1655777999 ,63152 ,18393 , [ 148 ,86 ,150 ,242 ,44 ,78 ,11 ,157 ] , ) ; pub const CODECAPI_CURRENTCHANGELIST : :: windows :: Guid = :: windows :: Guid :: from_values ( 481382019 ,32114 ,18007 , [ 131 ,253 ,71 ,162 ,197 ,185 ,209 ,61 ] , ) ; pub const CODECAPI_SETALLDEFAULTS : :: windows :: Guid = :: windows :: Guid :: from_values ( 1818126972 ,44280 ,20309 , [ 169 ,153 ,26 ,98 ,129 ,9 ,5 ,27 ] , ) ; pub const CODECAPI_SUPPORTSEVENTS : :: windows :: Guid = :: windows :: Guid :: from_values ( 92385175 ,30355 ,19901 , [ 157 ,202 ,63 ,158 ,189 ,101 ,133 ,161 ] , ) ; pub const CODECAPI_VIDEO_ENCODER : :: windows :: Guid = :: windows :: Guid :: from_values ( 1897064673 ,15619 ,18415 , [ 142 ,96 ,3 ,241 ,207 ,83 ,115 ,1 ] , ) ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct CONSTRICTOR_OPTION ( pub i32 ) ; pub const CONSTRICTOR_OPTION_DISABLE : CONSTRICTOR_OPTION = CONSTRICTOR_OPTION ( 0i32 ) ; pub const CONSTRICTOR_OPTION_MUTE : CONSTRICTOR_OPTION = CONSTRICTOR_OPTION ( 1i32 ) ; impl :: std :: convert :: From < i32 > for CONSTRICTOR_OPTION { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for CONSTRICTOR_OPTION { 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 ConnectorType ( pub i32 ) ; impl ConnectorType { pub const Unknown_Connector : ConnectorType = ConnectorType ( 0i32 ) ; pub const Physical_Internal : ConnectorType = ConnectorType ( 1i32 ) ; pub const Physical_External : ConnectorType = ConnectorType ( 2i32 ) ; pub const Software_IO : ConnectorType = ConnectorType ( 3i32 ) ; pub const Software_Fixed : ConnectorType = ConnectorType ( 4i32 ) ; pub const Network : ConnectorType = ConnectorType ( 5i32 ) ; } impl :: std :: convert :: From < i32 > for ConnectorType { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for ConnectorType { type Abi = Self ; type DefaultType = Self ; } pub const DDPF_FOURCC : i32 = 4i32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DEVCAPS { pub CanRecord : i32 , pub CanRecordStrobe : i32 , pub HasAudio : i32 , pub HasVideo : i32 , pub UsesFiles : i32 , pub CanSave : i32 , pub DeviceType : i32 , pub TCRead : i32 , pub TCWrite : i32 , pub CTLRead : i32 , pub IndexRead : i32 , pub Preroll : i32 , pub Postroll : i32 , pub SyncAcc : i32 , pub NormRate : i32 , pub CanPreview : i32 , pub CanMonitorSrc : i32 , pub CanTest : i32 , pub VideoIn : i32 , pub AudioIn : i32 , pub Calibrate : i32 , pub SeekType : i32 , pub SimulatedHardware : i32 } impl DEVCAPS { } impl :: std :: default :: Default for DEVCAPS { fn default ( ) -> Self { Self { CanRecord : 0 , CanRecordStrobe : 0 , HasAudio : 0 , HasVideo : 0 , UsesFiles : 0 , CanSave : 0 , DeviceType : 0 , TCRead : 0 , TCWrite : 0 , CTLRead : 0 , IndexRead : 0 , Preroll : 0 , Postroll : 0 , SyncAcc : 0 , NormRate : 0 , CanPreview : 0 , CanMonitorSrc : 0 , CanTest : 0 , VideoIn : 0 , AudioIn : 0 , Calibrate : 0 , SeekType : 0 , SimulatedHardware : 0 } } } impl :: std :: fmt :: Debug for DEVCAPS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DEVCAPS" ) . field ( "CanRecord" , & self . CanRecord ) . field ( "CanRecordStrobe" , & self . CanRecordStrobe ) . field ( "HasAudio" , & self . HasAudio ) . field ( "HasVideo" , & self . HasVideo ) . field ( "UsesFiles" , & self . UsesFiles ) . field ( "CanSave" , & self . CanSave ) . field ( "DeviceType" , & self . DeviceType ) . field ( "TCRead" , & self . TCRead ) . field ( "TCWrite" , & self . TCWrite ) . field ( "CTLRead" , & self . CTLRead ) . field ( "IndexRead" , & self . IndexRead ) . field ( "Preroll" , & self . Preroll ) . field ( "Postroll" , & self . Postroll ) . field ( "SyncAcc" , & self . SyncAcc ) . field ( "NormRate" , & self . NormRate ) . field ( "CanPreview" , & self . CanPreview ) . field ( "CanMonitorSrc" , & self . CanMonitorSrc ) . field ( "CanTest" , & self . CanTest ) . field ( "VideoIn" , & self . VideoIn ) . field ( "AudioIn" , & self . AudioIn ) . field ( "Calibrate" , & self . Calibrate ) . field ( "SeekType" , & self . SeekType ) . field ( "SimulatedHardware" , & self . SimulatedHardware ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DEVCAPS { fn eq ( & self , other : & Self ) -> bool { self . CanRecord == other . CanRecord && self . CanRecordStrobe == other . CanRecordStrobe && self . HasAudio == other . HasAudio && self . HasVideo == other . HasVideo && self . UsesFiles == other . UsesFiles && self . CanSave == other . CanSave && self . DeviceType == other . DeviceType && self . TCRead == other . TCRead && self . TCWrite == other . TCWrite && self . CTLRead == other . CTLRead && self . IndexRead == other . IndexRead && self . Preroll == other . Preroll && self . Postroll == other . Postroll && self . SyncAcc == other . SyncAcc && self . NormRate == other . NormRate && self . CanPreview == other . CanPreview && self . CanMonitorSrc == other . CanMonitorSrc && self . CanTest == other . CanTest && self . VideoIn == other . VideoIn && self . AudioIn == other . AudioIn && self . Calibrate == other . Calibrate && self . SeekType == other . SeekType && self . SimulatedHardware == other . SimulatedHardware } } impl :: std :: cmp :: Eq for DEVCAPS { } unsafe impl :: windows :: Abi for DEVCAPS { type Abi = Self ; type DefaultType = Self ; } pub const DEVICE_STATEMASK_ALL : u32 = 15u32 ; pub const DEVICE_STATE_ACTIVE : u32 = 1u32 ; pub const DEVICE_STATE_DISABLED : u32 = 2u32 ; pub const DEVICE_STATE_NOTPRESENT : u32 = 4u32 ; pub const DEVICE_STATE_UNPLUGGED : u32 = 8u32 ; pub const DEVINTERFACE_AUDIOENDPOINTPLUGIN : :: windows :: Guid = :: windows :: Guid :: from_values ( 2670689126 ,26028 ,20390 , [ 138 ,228 ,18 ,60 ,120 ,184 ,147 ,19 ] , ) ; pub const DEVINTERFACE_AUDIO_CAPTURE : :: windows :: Guid = :: windows :: Guid :: from_values ( 787448254 ,13306 ,18432 , [ 150 ,112 ,28 ,212 ,116 ,151 ,44 ,63 ] , ) ; pub const DEVINTERFACE_AUDIO_RENDER : :: windows :: Guid = :: windows :: Guid :: from_values ( 3862068397 ,56556 ,18761 , [ 174 ,138 ,153 ,30 ,151 ,106 ,121 ,210 ] , ) ; pub const DEVINTERFACE_MIDI_INPUT : :: windows :: Guid = :: windows :: Guid :: from_values ( 1347150636 ,52470 ,19756 , [ 183 ,63 ,111 ,139 ,55 ,71 ,226 ,43 ] , ) ; pub const DEVINTERFACE_MIDI_OUTPUT : :: windows :: Guid = :: windows :: Guid :: from_values ( 1841443616 ,43827 ,19684 , [ 128 ,212 ,187 ,179 ,235 ,191 ,40 ,20 ] , ) ; pub const DEVPKEY_KsAudio_Controller_DeviceInterface_Path : super::super::super::System::PropertiesSystem:: PROPERTYKEY = super::super::super::System::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 333448406 ,45158 ,17341 , [ 145 ,59 ,164 ,21 ,205 ,19 ,218 ,135 ] , ) , pid : 3u32 , } ; pub const DEVPKEY_KsAudio_PacketSize_Constraints : super::super::super::System::PropertiesSystem:: PROPERTYKEY = super::super::super::System::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 333448406 ,45158 ,17341 , [ 145 ,59 ,164 ,21 ,205 ,19 ,218 ,135 ] , ) , pid : 2u32 , } ; pub const DEVPKEY_KsAudio_PacketSize_Constraints2 : super::super::super::System::PropertiesSystem:: PROPERTYKEY = super::super::super::System::PropertiesSystem:: PROPERTYKEY { fmtid : :: windows :: Guid :: from_values ( 2483353473 ,29073 ,16539 , [ 139 ,11 ,128 ,191 ,110 ,194 ,41 ,174 ] , ) , pid : 2u32 , } ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DIRECTX_AUDIO_ACTIVATION_PARAMS { pub cbDirectXAudioActivationParams : u32 , pub guidAudioSession : :: windows :: Guid , pub dwAudioStreamFlags : u32 } impl DIRECTX_AUDIO_ACTIVATION_PARAMS { } impl :: std :: default :: Default for DIRECTX_AUDIO_ACTIVATION_PARAMS { fn default ( ) -> Self { Self { cbDirectXAudioActivationParams : 0 , guidAudioSession : :: std :: default :: Default :: default ( ) , dwAudioStreamFlags : 0 } } } impl :: std :: fmt :: Debug for DIRECTX_AUDIO_ACTIVATION_PARAMS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DIRECTX_AUDIO_ACTIVATION_PARAMS" ) . field ( "cbDirectXAudioActivationParams" , & self . cbDirectXAudioActivationParams ) . field ( "guidAudioSession" , & self . guidAudioSession ) . field ( "dwAudioStreamFlags" , & self . dwAudioStreamFlags ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DIRECTX_AUDIO_ACTIVATION_PARAMS { fn eq ( & self , other : & Self ) -> bool { self . cbDirectXAudioActivationParams == other . cbDirectXAudioActivationParams && self . guidAudioSession == other . guidAudioSession && self . dwAudioStreamFlags == other . dwAudioStreamFlags } } impl :: std :: cmp :: Eq for DIRECTX_AUDIO_ACTIVATION_PARAMS { } unsafe impl :: windows :: Abi for DIRECTX_AUDIO_ACTIVATION_PARAMS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DS3DVECTOR { pub Anonymous1 : DS3DVECTOR_0 , pub Anonymous2 : DS3DVECTOR_1 , pub Anonymous3 : DS3DVECTOR_2 } impl DS3DVECTOR { } impl :: std :: cmp :: PartialEq for DS3DVECTOR { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for DS3DVECTOR { } unsafe impl :: windows :: Abi for DS3DVECTOR { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union DS3DVECTOR_0 { pub x : f32 , pub dvX : f32 } impl DS3DVECTOR_0 { } impl :: std :: cmp :: PartialEq for DS3DVECTOR_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for DS3DVECTOR_0 { } unsafe impl :: windows :: Abi for DS3DVECTOR_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union DS3DVECTOR_1 { pub y : f32 , pub dvY : f32 } impl DS3DVECTOR_1 { } impl :: std :: cmp :: PartialEq for DS3DVECTOR_1 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for DS3DVECTOR_1 { } unsafe impl :: windows :: Abi for DS3DVECTOR_1 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union DS3DVECTOR_2 { pub z : f32 , pub dvZ : f32 } impl DS3DVECTOR_2 { } impl :: std :: cmp :: PartialEq for DS3DVECTOR_2 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for DS3DVECTOR_2 { } unsafe impl :: windows :: Abi for DS3DVECTOR_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 DataFlow ( pub i32 ) ; pub const In : DataFlow = DataFlow ( 0i32 ) ; pub const Out : DataFlow = DataFlow ( 1i32 ) ; impl :: std :: convert :: From < i32 > for DataFlow { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for DataFlow { type Abi = Self ; type DefaultType = Self ; } pub const DeviceTopology : :: windows :: Guid = :: windows :: Guid :: from_values ( 502675920 ,24257 ,18346 , [ 147 ,121 ,130 ,141 ,193 ,170 ,140 ,89 ] , ) ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct EDataFlow ( pub i32 ) ; pub const eRender : EDataFlow = EDataFlow ( 0i32 ) ; pub const eCapture : EDataFlow = EDataFlow ( 1i32 ) ; pub const eAll : EDataFlow = EDataFlow ( 2i32 ) ; pub const EDataFlow_enum_count : EDataFlow = EDataFlow ( 3i32 ) ; impl :: std :: convert :: From < i32 > for EDataFlow { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for EDataFlow { type Abi = Self ; type DefaultType = Self ; } pub const ENCAPIPARAM_BITRATE : :: windows :: Guid = :: windows :: Guid :: from_values ( 1238125635 ,51843 ,19156 , [ 169 ,175 ,243 ,105 ,106 ,246 ,102 ,223 ] , ) ; pub const ENCAPIPARAM_BITRATE_MODE : :: windows :: Guid = :: windows :: Guid :: from_values ( 3999248988 ,50963 ,16593 , [ 157 ,88 ,192 ,215 ,36 ,30 ,37 ,15 ] , ) ; pub const ENCAPIPARAM_PEAK_BITRATE : :: windows :: Guid = :: windows :: Guid :: from_values ( 1883182761 ,15688 ,17569 , [ 176 ,119 ,1 ,141 ,255 ,145 ,93 ,25 ] , ) ; pub const ENDPOINT_FORMAT_RESET_MIX_ONLY : u32 = 1u32 ; pub const ENDPOINT_HARDWARE_SUPPORT_METER : u32 = 4u32 ; pub const ENDPOINT_HARDWARE_SUPPORT_MUTE : u32 = 2u32 ; pub const ENDPOINT_HARDWARE_SUPPORT_VOLUME : u32 = 1u32 ; pub const ENDPOINT_SYSFX_DISABLED : u32 = 1u32 ; pub const ENDPOINT_SYSFX_ENABLED : 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 EPcxConnectionType ( pub i32 ) ; pub const eConnTypeUnknown : EPcxConnectionType = EPcxConnectionType ( 0i32 ) ; pub const eConnType3Point5mm : EPcxConnectionType = EPcxConnectionType ( 1i32 ) ; pub const eConnTypeQuarter : EPcxConnectionType = EPcxConnectionType ( 2i32 ) ; pub const eConnTypeAtapiInternal : EPcxConnectionType = EPcxConnectionType ( 3i32 ) ; pub const eConnTypeRCA : EPcxConnectionType = EPcxConnectionType ( 4i32 ) ; pub const eConnTypeOptical : EPcxConnectionType = EPcxConnectionType ( 5i32 ) ; pub const eConnTypeOtherDigital : EPcxConnectionType = EPcxConnectionType ( 6i32 ) ; pub const eConnTypeOtherAnalog : EPcxConnectionType = EPcxConnectionType ( 7i32 ) ; pub const eConnTypeMultichannelAnalogDIN : EPcxConnectionType = EPcxConnectionType ( 8i32 ) ; pub const eConnTypeXlrProfessional : EPcxConnectionType = EPcxConnectionType ( 9i32 ) ; pub const eConnTypeRJ11Modem : EPcxConnectionType = EPcxConnectionType ( 10i32 ) ; pub const eConnTypeCombination : EPcxConnectionType = EPcxConnectionType ( 11i32 ) ; impl :: std :: convert :: From < i32 > for EPcxConnectionType { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for EPcxConnectionType { 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 EPcxGenLocation ( pub i32 ) ; pub const eGenLocPrimaryBox : EPcxGenLocation = EPcxGenLocation ( 0i32 ) ; pub const eGenLocInternal : EPcxGenLocation = EPcxGenLocation ( 1i32 ) ; pub const eGenLocSeparate : EPcxGenLocation = EPcxGenLocation ( 2i32 ) ; pub const eGenLocOther : EPcxGenLocation = EPcxGenLocation ( 3i32 ) ; pub const EPcxGenLocation_enum_count : EPcxGenLocation = EPcxGenLocation ( 4i32 ) ; impl :: std :: convert :: From < i32 > for EPcxGenLocation { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for EPcxGenLocation { 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 EPcxGeoLocation ( pub i32 ) ; pub const eGeoLocRear : EPcxGeoLocation = EPcxGeoLocation ( 1i32 ) ; pub const eGeoLocFront : EPcxGeoLocation = EPcxGeoLocation ( 2i32 ) ; pub const eGeoLocLeft : EPcxGeoLocation = EPcxGeoLocation ( 3i32 ) ; pub const eGeoLocRight : EPcxGeoLocation = EPcxGeoLocation ( 4i32 ) ; pub const eGeoLocTop : EPcxGeoLocation = EPcxGeoLocation ( 5i32 ) ; pub const eGeoLocBottom : EPcxGeoLocation = EPcxGeoLocation ( 6i32 ) ; pub const eGeoLocRearPanel : EPcxGeoLocation = EPcxGeoLocation ( 7i32 ) ; pub const eGeoLocRiser : EPcxGeoLocation = EPcxGeoLocation ( 8i32 ) ; pub const eGeoLocInsideMobileLid : EPcxGeoLocation = EPcxGeoLocation ( 9i32 ) ; pub const eGeoLocDrivebay : EPcxGeoLocation = EPcxGeoLocation ( 10i32 ) ; pub const eGeoLocHDMI : EPcxGeoLocation = EPcxGeoLocation ( 11i32 ) ; pub const eGeoLocOutsideMobileLid : EPcxGeoLocation = EPcxGeoLocation ( 12i32 ) ; pub const eGeoLocATAPI : EPcxGeoLocation = EPcxGeoLocation ( 13i32 ) ; pub const eGeoLocNotApplicable : EPcxGeoLocation = EPcxGeoLocation ( 14i32 ) ; pub const eGeoLocReserved6 : EPcxGeoLocation = EPcxGeoLocation ( 15i32 ) ; pub const EPcxGeoLocation_enum_count : EPcxGeoLocation = EPcxGeoLocation ( 16i32 ) ; impl :: std :: convert :: From < i32 > for EPcxGeoLocation { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for EPcxGeoLocation { 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 EPxcPortConnection ( pub i32 ) ; pub const ePortConnJack : EPxcPortConnection = EPxcPortConnection ( 0i32 ) ; pub const ePortConnIntegratedDevice : EPxcPortConnection = EPxcPortConnection ( 1i32 ) ; pub const ePortConnBothIntegratedAndJack : EPxcPortConnection = EPxcPortConnection ( 2i32 ) ; pub const ePortConnUnknown : EPxcPortConnection = EPxcPortConnection ( 3i32 ) ; impl :: std :: convert :: From < i32 > for EPxcPortConnection { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for EPxcPortConnection { 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 ERole ( pub i32 ) ; pub const eConsole : ERole = ERole ( 0i32 ) ; pub const eMultimedia : ERole = ERole ( 1i32 ) ; pub const eCommunications : ERole = ERole ( 2i32 ) ; pub const ERole_enum_count : ERole = ERole ( 3i32 ) ; impl :: std :: convert :: From < i32 > for ERole { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for ERole { type Abi = Self ; type DefaultType = Self ; } pub const EVENTCONTEXT_VOLUMESLIDER : :: windows :: Guid = :: windows :: Guid :: from_values ( 3804424670 ,2481 ,19204 , [ 132 ,229 ,7 ,147 ,18 ,37 ,238 ,4 ] , ) ; pub const EVENTSETID_CROSSBAR : :: windows :: Guid = :: windows :: Guid :: from_values ( 1781401153 ,10468 ,4560 , [ 161 ,140 ,0 ,160 ,201 ,17 ,137 ,86 ] , ) ; pub const EVENTSETID_TUNER : :: windows :: Guid = :: windows :: Guid :: from_values ( 1781401094 ,10468 ,4560 , [ 161 ,140 ,0 ,160 ,201 ,17 ,137 ,86 ] , ) ; pub const EVENTSETID_VIDCAP_CAMERACONTROL_REGION_OF_INTEREST : :: windows :: Guid = :: windows :: Guid :: from_values ( 803208285 ,50994 ,19366 , [ 181 ,223 ,107 ,77 ,127 ,200 ,139 ,139 ] , ) ; pub const EVENTSETID_VIDEODECODER : :: windows :: Guid = :: windows :: Guid :: from_values ( 1781401121 ,10468 ,4560 , [ 161 ,140 ,0 ,160 ,201 ,17 ,137 ,86 ] , ) ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct EndpointConnectorType ( pub i32 ) ; pub const eHostProcessConnector : EndpointConnectorType = EndpointConnectorType ( 0i32 ) ; pub const eOffloadConnector : EndpointConnectorType = EndpointConnectorType ( 1i32 ) ; pub const eLoopbackConnector : EndpointConnectorType = EndpointConnectorType ( 2i32 ) ; pub const eKeywordDetectorConnector : EndpointConnectorType = EndpointConnectorType ( 3i32 ) ; pub const eConnectorCount : EndpointConnectorType = EndpointConnectorType ( 4i32 ) ; impl :: std :: convert :: From < i32 > for EndpointConnectorType { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for EndpointConnectorType { 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 EndpointFormFactor ( pub i32 ) ; pub const RemoteNetworkDevice : EndpointFormFactor = EndpointFormFactor ( 0i32 ) ; pub const Speakers : EndpointFormFactor = EndpointFormFactor ( 1i32 ) ; pub const LineLevel : EndpointFormFactor = EndpointFormFactor ( 2i32 ) ; pub const Headphones : EndpointFormFactor = EndpointFormFactor ( 3i32 ) ; pub const Microphone : EndpointFormFactor = EndpointFormFactor ( 4i32 ) ; pub const Headset : EndpointFormFactor = EndpointFormFactor ( 5i32 ) ; pub const Handset : EndpointFormFactor = EndpointFormFactor ( 6i32 ) ; pub const UnknownDigitalPassthrough : EndpointFormFactor = EndpointFormFactor ( 7i32 ) ; pub const SPDIF : EndpointFormFactor = EndpointFormFactor ( 8i32 ) ; pub const DigitalAudioDisplayDevice : EndpointFormFactor = EndpointFormFactor ( 9i32 ) ; pub const UnknownFormFactor : EndpointFormFactor = EndpointFormFactor ( 10i32 ) ; pub const EndpointFormFactor_enum_count : EndpointFormFactor = EndpointFormFactor ( 11i32 ) ; impl :: std :: convert :: From < i32 > for EndpointFormFactor { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for EndpointFormFactor { type Abi = Self ; type DefaultType = Self ; } pub const GUID_NULL : :: windows :: Guid = :: windows :: Guid :: from_values ( 0 ,0 ,0 , [ 0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ] , ) ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( transparent ) ] pub struct HTASK ( pub isize ) ; impl HTASK { } impl :: std :: default :: Default for HTASK { fn default ( ) -> Self { Self ( 0 ) } } impl HTASK { pub const NULL : Self = Self ( 0 ) ; pub fn is_null ( & self ) -> bool { self . 0 == 0 } } impl :: std :: fmt :: Debug for HTASK { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "HTASK" ) . field ( "Value" , & self .0 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for HTASK { fn eq ( & self , other : & Self ) -> bool { self .0 == other .0 } } impl :: std :: cmp :: Eq for HTASK { } unsafe impl :: windows :: Abi for HTASK { type Abi = Self ; type DefaultType = Self ; } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IActivateAudioInterfaceAsyncOperation ( :: windows :: IUnknown ) ; impl IActivateAudioInterfaceAsyncOperation { pub unsafe fn GetActivateResult < > ( & self , activateresult : * mut :: windows :: HRESULT , activatedinterface : * mut :: std :: option :: Option < :: windows :: IUnknown > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( activateresult ) , :: std :: mem :: transmute ( activatedinterface ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IActivateAudioInterfaceAsyncOperation { type Vtable = IActivateAudioInterfaceAsyncOperation_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 1923231096 ,52708 ,17181 , [ 184 ,204 ,132 ,58 ,113 ,25 ,155 ,109 ] , ) ; } impl :: std :: convert :: From < IActivateAudioInterfaceAsyncOperation > for :: windows :: IUnknown { fn from ( value : IActivateAudioInterfaceAsyncOperation ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IActivateAudioInterfaceAsyncOperation > for :: windows :: IUnknown { fn from ( value : & IActivateAudioInterfaceAsyncOperation ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IActivateAudioInterfaceAsyncOperation { 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 IActivateAudioInterfaceAsyncOperation { 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 IActivateAudioInterfaceAsyncOperation_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 , activateresult : * mut :: windows :: HRESULT , activatedinterface : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IActivateAudioInterfaceCompletionHandler ( :: windows :: IUnknown ) ; impl IActivateAudioInterfaceCompletionHandler { pub unsafe fn ActivateCompleted < 'a , > ( & self , activateoperation : impl :: windows :: IntoParam < 'a , IActivateAudioInterfaceAsyncOperation > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , activateoperation . into_param ( ) . abi ( ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IActivateAudioInterfaceCompletionHandler { type Vtable = IActivateAudioInterfaceCompletionHandler_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 1104759211 ,39010 ,17482 , [ 128 ,246 ,194 ,97 ,51 ,77 ,165 ,235 ] , ) ; } impl :: std :: convert :: From < IActivateAudioInterfaceCompletionHandler > for :: windows :: IUnknown { fn from ( value : IActivateAudioInterfaceCompletionHandler ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IActivateAudioInterfaceCompletionHandler > for :: windows :: IUnknown { fn from ( value : & IActivateAudioInterfaceCompletionHandler ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IActivateAudioInterfaceCompletionHandler { 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 IActivateAudioInterfaceCompletionHandler { 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 IActivateAudioInterfaceCompletionHandler_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 , activateoperation : :: windows :: RawPtr , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IAudioAmbisonicsControl ( :: windows :: IUnknown ) ; impl IAudioAmbisonicsControl { pub unsafe fn SetData < > ( & self , pambisonicsparams : * const AMBISONICS_PARAMS , cbambisonicsparams : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pambisonicsparams ) , :: std :: mem :: transmute ( cbambisonicsparams ) , ) . ok ( ) } pub unsafe fn SetHeadTracking < 'a , > ( & self , benableheadtracking : impl :: windows :: IntoParam < 'a , super::super::super::Foundation:: BOOL > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , benableheadtracking . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn GetHeadTracking < > ( & self , ) -> :: windows :: Result < super::super::super::Foundation:: BOOL > { let mut result__ : < super::super::super::Foundation:: BOOL as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < super::super::super::Foundation:: BOOL > ( result__ ) } pub unsafe fn SetRotation < > ( & self , x : f32 , y : f32 , z : f32 , w : f32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( x ) , :: std :: mem :: transmute ( y ) , :: std :: mem :: transmute ( z ) , :: std :: mem :: transmute ( w ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IAudioAmbisonicsControl { type Vtable = IAudioAmbisonicsControl_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 678579345 ,57141 ,18518 , [ 159 ,118 ,214 ,162 ,100 ,19 ,243 ,223 ] , ) ; } impl :: std :: convert :: From < IAudioAmbisonicsControl > for :: windows :: IUnknown { fn from ( value : IAudioAmbisonicsControl ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IAudioAmbisonicsControl > for :: windows :: IUnknown { fn from ( value : & IAudioAmbisonicsControl ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IAudioAmbisonicsControl { 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 IAudioAmbisonicsControl { 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 IAudioAmbisonicsControl_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 , pambisonicsparams : * const AMBISONICS_PARAMS , cbambisonicsparams : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , benableheadtracking : super::super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pbenableheadtracking : * mut super::super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , x : f32 , y : f32 , z : f32 , w : f32 , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IAudioAutoGainControl ( :: windows :: IUnknown ) ; impl IAudioAutoGainControl { pub unsafe fn GetEnabled < > ( & self , ) -> :: windows :: Result < super::super::super::Foundation:: BOOL > { let mut result__ : < super::super::super::Foundation:: BOOL as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < super::super::super::Foundation:: BOOL > ( result__ ) } pub unsafe fn SetEnabled < 'a , > ( & self , benable : impl :: windows :: IntoParam < 'a , super::super::super::Foundation:: BOOL > , pguideventcontext : * const :: windows :: Guid , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , benable . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pguideventcontext ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IAudioAutoGainControl { type Vtable = IAudioAutoGainControl_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2235572180 ,28132 ,19357 , [ 152 ,105 ,45 ,103 ,83 ,168 ,47 ,60 ] , ) ; } impl :: std :: convert :: From < IAudioAutoGainControl > for :: windows :: IUnknown { fn from ( value : IAudioAutoGainControl ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IAudioAutoGainControl > for :: windows :: IUnknown { fn from ( value : & IAudioAutoGainControl ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IAudioAutoGainControl { 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 IAudioAutoGainControl { 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 IAudioAutoGainControl_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 , pbenabled : * mut super::super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , benable : super::super::super::Foundation:: BOOL , pguideventcontext : * const :: windows :: Guid , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IAudioBass ( :: windows :: IUnknown ) ; impl IAudioBass { pub unsafe fn GetChannelCount < > ( & self , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn GetLevelRange < > ( & self , nchannel : u32 , pfminleveldb : * mut f32 , pfmaxleveldb : * mut f32 , pfstepping : * mut f32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( nchannel ) , :: std :: mem :: transmute ( pfminleveldb ) , :: std :: mem :: transmute ( pfmaxleveldb ) , :: std :: mem :: transmute ( pfstepping ) , ) . ok ( ) } pub unsafe fn GetLevel < > ( & self , nchannel : u32 , ) -> :: windows :: Result < f32 > { let mut result__ : < f32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( nchannel ) , & mut result__ ) . from_abi :: < f32 > ( result__ ) } pub unsafe fn SetLevel < > ( & self , nchannel : u32 , fleveldb : f32 , pguideventcontext : * const :: windows :: Guid , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( nchannel ) , :: std :: mem :: transmute ( fleveldb ) , :: std :: mem :: transmute ( pguideventcontext ) , ) . ok ( ) } pub unsafe fn SetLevelUniform < > ( & self , fleveldb : f32 , pguideventcontext : * const :: windows :: Guid , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( fleveldb ) , :: std :: mem :: transmute ( pguideventcontext ) , ) . ok ( ) } pub unsafe fn SetLevelAllChannels < > ( & self , alevelsdb : * mut f32 , cchannels : u32 , pguideventcontext : * const :: windows :: Guid , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( alevelsdb ) , :: std :: mem :: transmute ( cchannels ) , :: std :: mem :: transmute ( pguideventcontext ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IAudioBass { type Vtable = IAudioBass_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2729550297 ,19891 ,16989 , [ 162 ,178 ,189 ,51 ,92 ,179 ,226 ,229 ] , ) ; } impl :: std :: convert :: From < IAudioBass > for :: windows :: IUnknown { fn from ( value : IAudioBass ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IAudioBass > for :: windows :: IUnknown { fn from ( value : & IAudioBass ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IAudioBass { 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 IAudioBass { 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 < IAudioBass > for IPerChannelDbLevel { fn from ( value : IAudioBass ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IAudioBass > for IPerChannelDbLevel { fn from ( value : & IAudioBass ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IPerChannelDbLevel > for IAudioBass { fn into_param ( self ) -> :: windows :: Param < 'a , IPerChannelDbLevel > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IPerChannelDbLevel > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IPerChannelDbLevel > for & 'a IAudioBass { fn into_param ( self ) -> :: windows :: Param < 'a , IPerChannelDbLevel > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IPerChannelDbLevel > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IAudioBass_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 , pcchannels : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , nchannel : u32 , pfminleveldb : * mut f32 , pfmaxleveldb : * mut f32 , pfstepping : * mut f32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , nchannel : u32 , pfleveldb : * mut f32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , nchannel : u32 , fleveldb : f32 , pguideventcontext : * const :: windows :: Guid , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , fleveldb : f32 , pguideventcontext : * const :: windows :: Guid , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , alevelsdb : * mut f32 , cchannels : u32 , pguideventcontext : * const :: windows :: Guid , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IAudioCaptureClient ( :: windows :: IUnknown ) ; impl IAudioCaptureClient { pub unsafe fn GetBuffer < > ( & self , ppdata : * mut * mut u8 , pnumframestoread : * mut u32 , pdwflags : * mut u32 , pu64deviceposition : * mut u64 , pu64qpcposition : * mut u64 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ppdata ) , :: std :: mem :: transmute ( pnumframestoread ) , :: std :: mem :: transmute ( pdwflags ) , :: std :: mem :: transmute ( pu64deviceposition ) , :: std :: mem :: transmute ( pu64qpcposition ) , ) . ok ( ) } pub unsafe fn ReleaseBuffer < > ( & self , numframesread : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( numframesread ) , ) . ok ( ) } pub unsafe fn GetNextPacketSize < > ( & self , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } } unsafe impl :: windows :: Interface for IAudioCaptureClient { type Vtable = IAudioCaptureClient_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3366829412 ,59166 ,18592 , [ 164 ,222 ,24 ,92 ,57 ,92 ,211 ,23 ] , ) ; } impl :: std :: convert :: From < IAudioCaptureClient > for :: windows :: IUnknown { fn from ( value : IAudioCaptureClient ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IAudioCaptureClient > for :: windows :: IUnknown { fn from ( value : & IAudioCaptureClient ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IAudioCaptureClient { 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 IAudioCaptureClient { 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 IAudioCaptureClient_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 , ppdata : * mut * mut u8 , pnumframestoread : * mut u32 , pdwflags : * mut u32 , pu64deviceposition : * mut u64 , pu64qpcposition : * mut u64 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , numframesread : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pnumframesinnextpacket : * mut u32 , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IAudioChannelConfig ( :: windows :: IUnknown ) ; impl IAudioChannelConfig { pub unsafe fn SetChannelConfig < > ( & self , dwconfig : u32 , pguideventcontext : * const :: windows :: Guid , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwconfig ) , :: std :: mem :: transmute ( pguideventcontext ) , ) . ok ( ) } pub unsafe fn GetChannelConfig < > ( & self , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } } unsafe impl :: windows :: Interface for IAudioChannelConfig { type Vtable = IAudioChannelConfig_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3138503791 ,60456 ,18748 , [ 184 ,138 ,93 ,184 ,128 ,98 ,206 ,152 ] , ) ; } impl :: std :: convert :: From < IAudioChannelConfig > for :: windows :: IUnknown { fn from ( value : IAudioChannelConfig ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IAudioChannelConfig > for :: windows :: IUnknown { fn from ( value : & IAudioChannelConfig ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IAudioChannelConfig { 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 IAudioChannelConfig { 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 IAudioChannelConfig_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 , dwconfig : u32 , pguideventcontext : * const :: windows :: Guid , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pdwconfig : * mut u32 , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IAudioClient ( :: windows :: IUnknown ) ; impl IAudioClient { pub unsafe fn Initialize < > ( & self , sharemode : AUDCLNT_SHAREMODE , streamflags : u32 , hnsbufferduration : i64 , hnsperiodicity : i64 , pformat : * const super::super::Multimedia:: WAVEFORMATEX , audiosessionguid : * const :: windows :: Guid , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( sharemode ) , :: std :: mem :: transmute ( streamflags ) , :: std :: mem :: transmute ( hnsbufferduration ) , :: std :: mem :: transmute ( hnsperiodicity ) , :: std :: mem :: transmute ( pformat ) , :: std :: mem :: transmute ( audiosessionguid ) , ) . ok ( ) } pub unsafe fn GetBufferSize < > ( & self , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn GetStreamLatency < > ( & self , ) -> :: windows :: Result < i64 > { let mut result__ : < i64 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < i64 > ( result__ ) } pub unsafe fn GetCurrentPadding < > ( & self , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn IsFormatSupported < > ( & self , sharemode : AUDCLNT_SHAREMODE , pformat : * const super::super::Multimedia:: WAVEFORMATEX , ) -> :: windows :: Result < * mut super::super::Multimedia:: WAVEFORMATEX > { let mut result__ : < * mut super::super::Multimedia:: WAVEFORMATEX as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( sharemode ) , :: std :: mem :: transmute ( pformat ) , & mut result__ ) . from_abi :: < * mut super::super::Multimedia:: WAVEFORMATEX > ( result__ ) } pub unsafe fn GetMixFormat < > ( & self , ) -> :: windows :: Result < * mut super::super::Multimedia:: WAVEFORMATEX > { let mut result__ : < * mut super::super::Multimedia:: WAVEFORMATEX as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < * mut super::super::Multimedia:: WAVEFORMATEX > ( result__ ) } pub unsafe fn GetDevicePeriod < > ( & self , phnsdefaultdeviceperiod : * mut i64 , phnsminimumdeviceperiod : * mut i64 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( phnsdefaultdeviceperiod ) , :: std :: mem :: transmute ( phnsminimumdeviceperiod ) , ) . ok ( ) } pub unsafe fn Start < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn Stop < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .11 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn Reset < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .12 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn SetEventHandle < 'a , > ( & self , eventhandle : impl :: windows :: IntoParam < 'a , super::super::super::Foundation:: HANDLE > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .13 ) ( :: windows :: Abi :: abi ( self ) , eventhandle . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn GetService < T : :: windows :: Interface > ( & self , ) -> :: windows :: Result < T > { let mut result__ = :: std :: option :: Option :: None ; ( :: windows :: Interface :: vtable ( self ) .14 ) ( :: windows :: Abi :: abi ( self ) , & < T as :: windows :: Interface > :: IID , :: windows :: Abi :: set_abi ( & mut result__ ) ) . and_some ( result__ ) } } unsafe impl :: windows :: Interface for IAudioClient { type Vtable = IAudioClient_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 481930572 ,56314 ,19506 , [ 177 ,120 ,194 ,245 ,104 ,167 ,3 ,178 ] , ) ; } impl :: std :: convert :: From < IAudioClient > for :: windows :: IUnknown { fn from ( value : IAudioClient ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IAudioClient > for :: windows :: IUnknown { fn from ( value : & IAudioClient ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IAudioClient { 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 IAudioClient { 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 IAudioClient_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 , sharemode : AUDCLNT_SHAREMODE , streamflags : u32 , hnsbufferduration : i64 , hnsperiodicity : i64 , pformat : * const super::super::Multimedia:: WAVEFORMATEX , audiosessionguid : * const :: windows :: Guid , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pnumbufferframes : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , phnslatency : * mut i64 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pnumpaddingframes : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , sharemode : AUDCLNT_SHAREMODE , pformat : * const super::super::Multimedia:: WAVEFORMATEX , ppclosestmatch : * mut * mut super::super::Multimedia:: WAVEFORMATEX , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppdeviceformat : * mut * mut super::super::Multimedia:: WAVEFORMATEX , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , phnsdefaultdeviceperiod : * mut i64 , phnsminimumdeviceperiod : * mut i64 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , eventhandle : super::super::super::Foundation:: HANDLE , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , riid : * const :: windows :: Guid , ppv : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IAudioClient2 ( :: windows :: IUnknown ) ; impl IAudioClient2 { pub unsafe fn Initialize < > ( & self , sharemode : AUDCLNT_SHAREMODE , streamflags : u32 , hnsbufferduration : i64 , hnsperiodicity : i64 , pformat : * const super::super::Multimedia:: WAVEFORMATEX , audiosessionguid : * const :: windows :: Guid , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( sharemode ) , :: std :: mem :: transmute ( streamflags ) , :: std :: mem :: transmute ( hnsbufferduration ) , :: std :: mem :: transmute ( hnsperiodicity ) , :: std :: mem :: transmute ( pformat ) , :: std :: mem :: transmute ( audiosessionguid ) , ) . ok ( ) } pub unsafe fn GetBufferSize < > ( & self , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn GetStreamLatency < > ( & self , ) -> :: windows :: Result < i64 > { let mut result__ : < i64 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < i64 > ( result__ ) } pub unsafe fn GetCurrentPadding < > ( & self , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn IsFormatSupported < > ( & self , sharemode : AUDCLNT_SHAREMODE , pformat : * const super::super::Multimedia:: WAVEFORMATEX , ) -> :: windows :: Result < * mut super::super::Multimedia:: WAVEFORMATEX > { let mut result__ : < * mut super::super::Multimedia:: WAVEFORMATEX as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( sharemode ) , :: std :: mem :: transmute ( pformat ) , & mut result__ ) . from_abi :: < * mut super::super::Multimedia:: WAVEFORMATEX > ( result__ ) } pub unsafe fn GetMixFormat < > ( & self , ) -> :: windows :: Result < * mut super::super::Multimedia:: WAVEFORMATEX > { let mut result__ : < * mut super::super::Multimedia:: WAVEFORMATEX as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < * mut super::super::Multimedia:: WAVEFORMATEX > ( result__ ) } pub unsafe fn GetDevicePeriod < > ( & self , phnsdefaultdeviceperiod : * mut i64 , phnsminimumdeviceperiod : * mut i64 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( phnsdefaultdeviceperiod ) , :: std :: mem :: transmute ( phnsminimumdeviceperiod ) , ) . ok ( ) } pub unsafe fn Start < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn Stop < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .11 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn Reset < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .12 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn SetEventHandle < 'a , > ( & self , eventhandle : impl :: windows :: IntoParam < 'a , super::super::super::Foundation:: HANDLE > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .13 ) ( :: windows :: Abi :: abi ( self ) , eventhandle . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn GetService < T : :: windows :: Interface > ( & self , ) -> :: windows :: Result < T > { let mut result__ = :: std :: option :: Option :: None ; ( :: windows :: Interface :: vtable ( self ) .14 ) ( :: windows :: Abi :: abi ( self ) , & < T as :: windows :: Interface > :: IID , :: windows :: Abi :: set_abi ( & mut result__ ) ) . and_some ( result__ ) } pub unsafe fn IsOffloadCapable < > ( & self , category : AUDIO_STREAM_CATEGORY , ) -> :: windows :: Result < super::super::super::Foundation:: BOOL > { let mut result__ : < super::super::super::Foundation:: BOOL as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .15 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( category ) , & mut result__ ) . from_abi :: < super::super::super::Foundation:: BOOL > ( result__ ) } pub unsafe fn SetClientProperties < > ( & self , pproperties : * const AudioClientProperties , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .16 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pproperties ) , ) . ok ( ) } pub unsafe fn GetBufferSizeLimits < 'a , > ( & self , pformat : * const super::super::Multimedia:: WAVEFORMATEX , beventdriven : impl :: windows :: IntoParam < 'a , super::super::super::Foundation:: BOOL > , phnsminbufferduration : * mut i64 , phnsmaxbufferduration : * mut i64 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .17 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pformat ) , beventdriven . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( phnsminbufferduration ) , :: std :: mem :: transmute ( phnsmaxbufferduration ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IAudioClient2 { type Vtable = IAudioClient2_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 1919383757 ,62986 ,20186 , [ 130 ,222 ,228 ,118 ,16 ,205 ,120 ,170 ] , ) ; } impl :: std :: convert :: From < IAudioClient2 > for :: windows :: IUnknown { fn from ( value : IAudioClient2 ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IAudioClient2 > for :: windows :: IUnknown { fn from ( value : & IAudioClient2 ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IAudioClient2 { 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 IAudioClient2 { 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 < IAudioClient2 > for IAudioClient { fn from ( value : IAudioClient2 ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IAudioClient2 > for IAudioClient { fn from ( value : & IAudioClient2 ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IAudioClient > for IAudioClient2 { fn into_param ( self ) -> :: windows :: Param < 'a , IAudioClient > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IAudioClient > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IAudioClient > for & 'a IAudioClient2 { fn into_param ( self ) -> :: windows :: Param < 'a , IAudioClient > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IAudioClient > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IAudioClient2_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 , sharemode : AUDCLNT_SHAREMODE , streamflags : u32 , hnsbufferduration : i64 , hnsperiodicity : i64 , pformat : * const super::super::Multimedia:: WAVEFORMATEX , audiosessionguid : * const :: windows :: Guid , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pnumbufferframes : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , phnslatency : * mut i64 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pnumpaddingframes : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , sharemode : AUDCLNT_SHAREMODE , pformat : * const super::super::Multimedia:: WAVEFORMATEX , ppclosestmatch : * mut * mut super::super::Multimedia:: WAVEFORMATEX , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppdeviceformat : * mut * mut super::super::Multimedia:: WAVEFORMATEX , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , phnsdefaultdeviceperiod : * mut i64 , phnsminimumdeviceperiod : * mut i64 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , eventhandle : super::super::super::Foundation:: HANDLE , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , riid : * const :: windows :: Guid , ppv : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , category : AUDIO_STREAM_CATEGORY , pboffloadcapable : * mut super::super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pproperties : * const AudioClientProperties , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pformat : * const super::super::Multimedia:: WAVEFORMATEX , beventdriven : super::super::super::Foundation:: BOOL , phnsminbufferduration : * mut i64 , phnsmaxbufferduration : * mut i64 , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IAudioClient3 ( :: windows :: IUnknown ) ; impl IAudioClient3 { pub unsafe fn Initialize < > ( & self , sharemode : AUDCLNT_SHAREMODE , streamflags : u32 , hnsbufferduration : i64 , hnsperiodicity : i64 , pformat : * const super::super::Multimedia:: WAVEFORMATEX , audiosessionguid : * const :: windows :: Guid , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( sharemode ) , :: std :: mem :: transmute ( streamflags ) , :: std :: mem :: transmute ( hnsbufferduration ) , :: std :: mem :: transmute ( hnsperiodicity ) , :: std :: mem :: transmute ( pformat ) , :: std :: mem :: transmute ( audiosessionguid ) , ) . ok ( ) } pub unsafe fn GetBufferSize < > ( & self , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn GetStreamLatency < > ( & self , ) -> :: windows :: Result < i64 > { let mut result__ : < i64 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < i64 > ( result__ ) } pub unsafe fn GetCurrentPadding < > ( & self , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn IsFormatSupported < > ( & self , sharemode : AUDCLNT_SHAREMODE , pformat : * const super::super::Multimedia:: WAVEFORMATEX , ) -> :: windows :: Result < * mut super::super::Multimedia:: WAVEFORMATEX > { let mut result__ : < * mut super::super::Multimedia:: WAVEFORMATEX as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( sharemode ) , :: std :: mem :: transmute ( pformat ) , & mut result__ ) . from_abi :: < * mut super::super::Multimedia:: WAVEFORMATEX > ( result__ ) } pub unsafe fn GetMixFormat < > ( & self , ) -> :: windows :: Result < * mut super::super::Multimedia:: WAVEFORMATEX > { let mut result__ : < * mut super::super::Multimedia:: WAVEFORMATEX as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < * mut super::super::Multimedia:: WAVEFORMATEX > ( result__ ) } pub unsafe fn GetDevicePeriod < > ( & self , phnsdefaultdeviceperiod : * mut i64 , phnsminimumdeviceperiod : * mut i64 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( phnsdefaultdeviceperiod ) , :: std :: mem :: transmute ( phnsminimumdeviceperiod ) , ) . ok ( ) } pub unsafe fn Start < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn Stop < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .11 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn Reset < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .12 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn SetEventHandle < 'a , > ( & self , eventhandle : impl :: windows :: IntoParam < 'a , super::super::super::Foundation:: HANDLE > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .13 ) ( :: windows :: Abi :: abi ( self ) , eventhandle . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn GetService < T : :: windows :: Interface > ( & self , ) -> :: windows :: Result < T > { let mut result__ = :: std :: option :: Option :: None ; ( :: windows :: Interface :: vtable ( self ) .14 ) ( :: windows :: Abi :: abi ( self ) , & < T as :: windows :: Interface > :: IID , :: windows :: Abi :: set_abi ( & mut result__ ) ) . and_some ( result__ ) } pub unsafe fn IsOffloadCapable < > ( & self , category : AUDIO_STREAM_CATEGORY , ) -> :: windows :: Result < super::super::super::Foundation:: BOOL > { let mut result__ : < super::super::super::Foundation:: BOOL as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .15 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( category ) , & mut result__ ) . from_abi :: < super::super::super::Foundation:: BOOL > ( result__ ) } pub unsafe fn SetClientProperties < > ( & self , pproperties : * const AudioClientProperties , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .16 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pproperties ) , ) . ok ( ) } pub unsafe fn GetBufferSizeLimits < 'a , > ( & self , pformat : * const super::super::Multimedia:: WAVEFORMATEX , beventdriven : impl :: windows :: IntoParam < 'a , super::super::super::Foundation:: BOOL > , phnsminbufferduration : * mut i64 , phnsmaxbufferduration : * mut i64 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .17 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pformat ) , beventdriven . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( phnsminbufferduration ) , :: std :: mem :: transmute ( phnsmaxbufferduration ) , ) . ok ( ) } pub unsafe fn GetSharedModeEnginePeriod < > ( & self , pformat : * const super::super::Multimedia:: WAVEFORMATEX , pdefaultperiodinframes : * mut u32 , pfundamentalperiodinframes : * mut u32 , pminperiodinframes : * mut u32 , pmaxperiodinframes : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .18 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pformat ) , :: std :: mem :: transmute ( pdefaultperiodinframes ) , :: std :: mem :: transmute ( pfundamentalperiodinframes ) , :: std :: mem :: transmute ( pminperiodinframes ) , :: std :: mem :: transmute ( pmaxperiodinframes ) , ) . ok ( ) } pub unsafe fn GetCurrentSharedModeEnginePeriod < > ( & self , ppformat : * mut * mut super::super::Multimedia:: WAVEFORMATEX , pcurrentperiodinframes : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .19 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ppformat ) , :: std :: mem :: transmute ( pcurrentperiodinframes ) , ) . ok ( ) } pub unsafe fn InitializeSharedAudioStream < > ( & self , streamflags : u32 , periodinframes : u32 , pformat : * const super::super::Multimedia:: WAVEFORMATEX , audiosessionguid : * const :: windows :: Guid , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .20 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( streamflags ) , :: std :: mem :: transmute ( periodinframes ) , :: std :: mem :: transmute ( pformat ) , :: std :: mem :: transmute ( audiosessionguid ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IAudioClient3 { type Vtable = IAudioClient3_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2127883783 ,36455 ,19668 , [ 140 ,26 ,43 ,122 ,89 ,135 ,173 ,66 ] , ) ; } impl :: std :: convert :: From < IAudioClient3 > for :: windows :: IUnknown { fn from ( value : IAudioClient3 ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IAudioClient3 > for :: windows :: IUnknown { fn from ( value : & IAudioClient3 ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IAudioClient3 { 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 IAudioClient3 { 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 < IAudioClient3 > for IAudioClient2 { fn from ( value : IAudioClient3 ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IAudioClient3 > for IAudioClient2 { fn from ( value : & IAudioClient3 ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IAudioClient2 > for IAudioClient3 { fn into_param ( self ) -> :: windows :: Param < 'a , IAudioClient2 > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IAudioClient2 > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IAudioClient2 > for & 'a IAudioClient3 { fn into_param ( self ) -> :: windows :: Param < 'a , IAudioClient2 > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IAudioClient2 > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } impl :: std :: convert :: From < IAudioClient3 > for IAudioClient { fn from ( value : IAudioClient3 ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IAudioClient3 > for IAudioClient { fn from ( value : & IAudioClient3 ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IAudioClient > for IAudioClient3 { fn into_param ( self ) -> :: windows :: Param < 'a , IAudioClient > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IAudioClient > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IAudioClient > for & 'a IAudioClient3 { fn into_param ( self ) -> :: windows :: Param < 'a , IAudioClient > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IAudioClient > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IAudioClient3_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 , sharemode : AUDCLNT_SHAREMODE , streamflags : u32 , hnsbufferduration : i64 , hnsperiodicity : i64 , pformat : * const super::super::Multimedia:: WAVEFORMATEX , audiosessionguid : * const :: windows :: Guid , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pnumbufferframes : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , phnslatency : * mut i64 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pnumpaddingframes : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , sharemode : AUDCLNT_SHAREMODE , pformat : * const super::super::Multimedia:: WAVEFORMATEX , ppclosestmatch : * mut * mut super::super::Multimedia:: WAVEFORMATEX , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppdeviceformat : * mut * mut super::super::Multimedia:: WAVEFORMATEX , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , phnsdefaultdeviceperiod : * mut i64 , phnsminimumdeviceperiod : * mut i64 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , eventhandle : super::super::super::Foundation:: HANDLE , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , riid : * const :: windows :: Guid , ppv : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , category : AUDIO_STREAM_CATEGORY , pboffloadcapable : * mut super::super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pproperties : * const AudioClientProperties , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pformat : * const super::super::Multimedia:: WAVEFORMATEX , beventdriven : super::super::super::Foundation:: BOOL , phnsminbufferduration : * mut i64 , phnsmaxbufferduration : * mut i64 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pformat : * const super::super::Multimedia:: WAVEFORMATEX , pdefaultperiodinframes : * mut u32 , pfundamentalperiodinframes : * mut u32 , pminperiodinframes : * mut u32 , pmaxperiodinframes : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppformat : * mut * mut super::super::Multimedia:: WAVEFORMATEX , pcurrentperiodinframes : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , streamflags : u32 , periodinframes : u32 , pformat : * const super::super::Multimedia:: WAVEFORMATEX , audiosessionguid : * const :: windows :: Guid , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IAudioClock ( :: windows :: IUnknown ) ; impl IAudioClock { pub unsafe fn GetFrequency < > ( & self , ) -> :: windows :: Result < u64 > { let mut result__ : < u64 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < u64 > ( result__ ) } pub unsafe fn GetPosition < > ( & self , pu64position : * mut u64 , pu64qpcposition : * mut u64 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pu64position ) , :: std :: mem :: transmute ( pu64qpcposition ) , ) . ok ( ) } pub unsafe fn GetCharacteristics < > ( & self , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } } unsafe impl :: windows :: Interface for IAudioClock { type Vtable = IAudioClock_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3445829967 ,16314 ,18971 , [ 129 ,44 ,239 ,150 ,53 ,135 ,40 ,231 ] , ) ; } impl :: std :: convert :: From < IAudioClock > for :: windows :: IUnknown { fn from ( value : IAudioClock ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IAudioClock > for :: windows :: IUnknown { fn from ( value : & IAudioClock ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IAudioClock { 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 IAudioClock { 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 IAudioClock_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 , pu64frequency : * mut u64 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pu64position : * mut u64 , pu64qpcposition : * mut u64 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pdwcharacteristics : * mut u32 , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IAudioClock2 ( :: windows :: IUnknown ) ; impl IAudioClock2 { pub unsafe fn GetDevicePosition < > ( & self , deviceposition : * mut u64 , qpcposition : * mut u64 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( deviceposition ) , :: std :: mem :: transmute ( qpcposition ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IAudioClock2 { type Vtable = IAudioClock2_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 1867120499 ,26407 ,18860 , [ 160 ,8 ,217 ,140 ,245 ,231 ,0 ,72 ] , ) ; } impl :: std :: convert :: From < IAudioClock2 > for :: windows :: IUnknown { fn from ( value : IAudioClock2 ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IAudioClock2 > for :: windows :: IUnknown { fn from ( value : & IAudioClock2 ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IAudioClock2 { 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 IAudioClock2 { 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 IAudioClock2_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 , deviceposition : * mut u64 , qpcposition : * mut u64 , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IAudioClockAdjustment ( :: windows :: IUnknown ) ; impl IAudioClockAdjustment { pub unsafe fn SetSampleRate < > ( & self , flsamplerate : f32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( flsamplerate ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IAudioClockAdjustment { type Vtable = IAudioClockAdjustment_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 4142186656 ,18137 ,20408 , [ 190 ,33 ,87 ,163 ,239 ,43 ,98 ,108 ] , ) ; } impl :: std :: convert :: From < IAudioClockAdjustment > for :: windows :: IUnknown { fn from ( value : IAudioClockAdjustment ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IAudioClockAdjustment > for :: windows :: IUnknown { fn from ( value : & IAudioClockAdjustment ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IAudioClockAdjustment { 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 IAudioClockAdjustment { 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 IAudioClockAdjustment_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 , flsamplerate : f32 , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IAudioEndpointFormatControl ( :: windows :: IUnknown ) ; impl IAudioEndpointFormatControl { pub unsafe fn ResetToDefault < > ( & self , resetflags : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( resetflags ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IAudioEndpointFormatControl { type Vtable = IAudioEndpointFormatControl_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2018311488 ,40841 ,17774 , [ 161 ,166 ,135 ,59 ,0 ,106 ,102 ,78 ] , ) ; } impl :: std :: convert :: From < IAudioEndpointFormatControl > for :: windows :: IUnknown { fn from ( value : IAudioEndpointFormatControl ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IAudioEndpointFormatControl > for :: windows :: IUnknown { fn from ( value : & IAudioEndpointFormatControl ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IAudioEndpointFormatControl { 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 IAudioEndpointFormatControl { 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 IAudioEndpointFormatControl_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 , resetflags : u32 , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IAudioEndpointLastBufferControl ( :: windows :: IUnknown ) ; impl IAudioEndpointLastBufferControl { pub unsafe fn IsLastBufferControlSupported < > ( & self , ) -> super::super::super::Foundation:: BOOL { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn ReleaseOutputDataPointerForLastBuffer < > ( & self , pconnectionproperty : * const super::super::super::System::RemoteDesktop:: APO_CONNECTION_PROPERTY , ) { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pconnectionproperty ) , ) } } unsafe impl :: windows :: Interface for IAudioEndpointLastBufferControl { type Vtable = IAudioEndpointLastBufferControl_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 4166127059 ,36765 ,17463 , [ 152 ,97 ,98 ,245 ,132 ,195 ,61 ,214 ] , ) ; } impl :: std :: convert :: From < IAudioEndpointLastBufferControl > for :: windows :: IUnknown { fn from ( value : IAudioEndpointLastBufferControl ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IAudioEndpointLastBufferControl > for :: windows :: IUnknown { fn from ( value : & IAudioEndpointLastBufferControl ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IAudioEndpointLastBufferControl { 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 IAudioEndpointLastBufferControl { 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 IAudioEndpointLastBufferControl_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 , ) -> super::super::super::Foundation:: BOOL , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pconnectionproperty : * const super::super::super::System::RemoteDesktop:: APO_CONNECTION_PROPERTY , ) , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IAudioEndpointOffloadStreamMeter ( :: windows :: IUnknown ) ; impl IAudioEndpointOffloadStreamMeter { pub unsafe fn GetMeterChannelCount < > ( & self , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn GetMeteringData < > ( & self , u32channelcount : u32 , ) -> :: windows :: Result < f32 > { let mut result__ : < f32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( u32channelcount ) , & mut result__ ) . from_abi :: < f32 > ( result__ ) } } unsafe impl :: windows :: Interface for IAudioEndpointOffloadStreamMeter { type Vtable = IAudioEndpointOffloadStreamMeter_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3780406734 ,40401 ,16779 , [ 154 ,178 ,52 ,140 ,237 ,22 ,28 ,134 ] , ) ; } impl :: std :: convert :: From < IAudioEndpointOffloadStreamMeter > for :: windows :: IUnknown { fn from ( value : IAudioEndpointOffloadStreamMeter ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IAudioEndpointOffloadStreamMeter > for :: windows :: IUnknown { fn from ( value : & IAudioEndpointOffloadStreamMeter ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IAudioEndpointOffloadStreamMeter { 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 IAudioEndpointOffloadStreamMeter { 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 IAudioEndpointOffloadStreamMeter_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 , pu32channelcount : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , u32channelcount : u32 , pf32peakvalues : * mut f32 , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IAudioEndpointOffloadStreamMute ( :: windows :: IUnknown ) ; impl IAudioEndpointOffloadStreamMute { pub unsafe fn SetMute < > ( & self , bmuted : u8 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( bmuted ) , ) . ok ( ) } pub unsafe fn GetMute < > ( & self , ) -> :: windows :: Result < u8 > { let mut result__ : < u8 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < u8 > ( result__ ) } } unsafe impl :: windows :: Interface for IAudioEndpointOffloadStreamMute { type Vtable = IAudioEndpointOffloadStreamMute_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3756135253 ,24258 ,16608 , [ 141 ,107 ,113 ,10 ,195 ,192 ,2 ,73 ] , ) ; } impl :: std :: convert :: From < IAudioEndpointOffloadStreamMute > for :: windows :: IUnknown { fn from ( value : IAudioEndpointOffloadStreamMute ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IAudioEndpointOffloadStreamMute > for :: windows :: IUnknown { fn from ( value : & IAudioEndpointOffloadStreamMute ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IAudioEndpointOffloadStreamMute { 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 IAudioEndpointOffloadStreamMute { 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 IAudioEndpointOffloadStreamMute_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 , bmuted : u8 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pbmuted : * mut u8 , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IAudioEndpointOffloadStreamVolume ( :: windows :: IUnknown ) ; impl IAudioEndpointOffloadStreamVolume { pub unsafe fn GetVolumeChannelCount < > ( & self , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn SetChannelVolumes < > ( & self , u32channelcount : u32 , pf32volumes : * mut f32 , u32curvetype : AUDIO_CURVE_TYPE , pcurveduration : * mut i64 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( u32channelcount ) , :: std :: mem :: transmute ( pf32volumes ) , :: std :: mem :: transmute ( u32curvetype ) , :: std :: mem :: transmute ( pcurveduration ) , ) . ok ( ) } pub unsafe fn GetChannelVolumes < > ( & self , u32channelcount : u32 , ) -> :: windows :: Result < f32 > { let mut result__ : < f32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( u32channelcount ) , & mut result__ ) . from_abi :: < f32 > ( result__ ) } } unsafe impl :: windows :: Interface for IAudioEndpointOffloadStreamVolume { type Vtable = IAudioEndpointOffloadStreamVolume_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 1693572425 ,29130 ,17025 , [ 134 ,114 ,58 ,158 ,221 ,209 ,208 ,182 ] , ) ; } impl :: std :: convert :: From < IAudioEndpointOffloadStreamVolume > for :: windows :: IUnknown { fn from ( value : IAudioEndpointOffloadStreamVolume ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IAudioEndpointOffloadStreamVolume > for :: windows :: IUnknown { fn from ( value : & IAudioEndpointOffloadStreamVolume ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IAudioEndpointOffloadStreamVolume { 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 IAudioEndpointOffloadStreamVolume { 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 IAudioEndpointOffloadStreamVolume_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 , pu32channelcount : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , u32channelcount : u32 , pf32volumes : * mut f32 , u32curvetype : AUDIO_CURVE_TYPE , pcurveduration : * mut i64 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , u32channelcount : u32 , pf32volumes : * mut f32 , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IAudioEndpointVolume ( :: windows :: IUnknown ) ; impl IAudioEndpointVolume { pub unsafe fn RegisterControlChangeNotify < 'a , > ( & self , pnotify : impl :: windows :: IntoParam < 'a , IAudioEndpointVolumeCallback > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , pnotify . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn UnregisterControlChangeNotify < 'a , > ( & self , pnotify : impl :: windows :: IntoParam < 'a , IAudioEndpointVolumeCallback > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , pnotify . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn GetChannelCount < > ( & self , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn SetMasterVolumeLevel < > ( & self , fleveldb : f32 , pguideventcontext : * const :: windows :: Guid , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( fleveldb ) , :: std :: mem :: transmute ( pguideventcontext ) , ) . ok ( ) } pub unsafe fn SetMasterVolumeLevelScalar < > ( & self , flevel : f32 , pguideventcontext : * const :: windows :: Guid , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( flevel ) , :: std :: mem :: transmute ( pguideventcontext ) , ) . ok ( ) } pub unsafe fn GetMasterVolumeLevel < > ( & self , ) -> :: windows :: Result < f32 > { let mut result__ : < f32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < f32 > ( result__ ) } pub unsafe fn GetMasterVolumeLevelScalar < > ( & self , ) -> :: windows :: Result < f32 > { let mut result__ : < f32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < f32 > ( result__ ) } pub unsafe fn SetChannelVolumeLevel < > ( & self , nchannel : u32 , fleveldb : f32 , pguideventcontext : * const :: windows :: Guid , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( nchannel ) , :: std :: mem :: transmute ( fleveldb ) , :: std :: mem :: transmute ( pguideventcontext ) , ) . ok ( ) } pub unsafe fn SetChannelVolumeLevelScalar < > ( & self , nchannel : u32 , flevel : f32 , pguideventcontext : * const :: windows :: Guid , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .11 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( nchannel ) , :: std :: mem :: transmute ( flevel ) , :: std :: mem :: transmute ( pguideventcontext ) , ) . ok ( ) } pub unsafe fn GetChannelVolumeLevel < > ( & self , nchannel : u32 , ) -> :: windows :: Result < f32 > { let mut result__ : < f32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .12 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( nchannel ) , & mut result__ ) . from_abi :: < f32 > ( result__ ) } pub unsafe fn GetChannelVolumeLevelScalar < > ( & self , nchannel : u32 , ) -> :: windows :: Result < f32 > { let mut result__ : < f32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .13 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( nchannel ) , & mut result__ ) . from_abi :: < f32 > ( result__ ) } pub unsafe fn SetMute < 'a , > ( & self , bmute : impl :: windows :: IntoParam < 'a , super::super::super::Foundation:: BOOL > , pguideventcontext : * const :: windows :: Guid , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .14 ) ( :: windows :: Abi :: abi ( self ) , bmute . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pguideventcontext ) , ) . ok ( ) } pub unsafe fn GetMute < > ( & self , ) -> :: windows :: Result < super::super::super::Foundation:: BOOL > { let mut result__ : < super::super::super::Foundation:: BOOL as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .15 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < super::super::super::Foundation:: BOOL > ( result__ ) } pub unsafe fn GetVolumeStepInfo < > ( & self , pnstep : * mut u32 , pnstepcount : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .16 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pnstep ) , :: std :: mem :: transmute ( pnstepcount ) , ) . ok ( ) } pub unsafe fn VolumeStepUp < > ( & self , pguideventcontext : * const :: windows :: Guid , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .17 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pguideventcontext ) , ) . ok ( ) } pub unsafe fn VolumeStepDown < > ( & self , pguideventcontext : * const :: windows :: Guid , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .18 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pguideventcontext ) , ) . ok ( ) } pub unsafe fn QueryHardwareSupport < > ( & self , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .19 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn GetVolumeRange < > ( & self , pflvolumemindb : * mut f32 , pflvolumemaxdb : * mut f32 , pflvolumeincrementdb : * mut f32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .20 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pflvolumemindb ) , :: std :: mem :: transmute ( pflvolumemaxdb ) , :: std :: mem :: transmute ( pflvolumeincrementdb ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IAudioEndpointVolume { type Vtable = IAudioEndpointVolume_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 1558129794 ,33822 ,17734 , [ 151 ,34 ,12 ,247 ,64 ,120 ,34 ,154 ] , ) ; } impl :: std :: convert :: From < IAudioEndpointVolume > for :: windows :: IUnknown { fn from ( value : IAudioEndpointVolume ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IAudioEndpointVolume > for :: windows :: IUnknown { fn from ( value : & IAudioEndpointVolume ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IAudioEndpointVolume { 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 IAudioEndpointVolume { 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 IAudioEndpointVolume_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 , pnotify : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pnotify : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pnchannelcount : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , fleveldb : f32 , pguideventcontext : * const :: windows :: Guid , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , flevel : f32 , pguideventcontext : * const :: windows :: Guid , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pfleveldb : * mut f32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pflevel : * mut f32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , nchannel : u32 , fleveldb : f32 , pguideventcontext : * const :: windows :: Guid , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , nchannel : u32 , flevel : f32 , pguideventcontext : * const :: windows :: Guid , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , nchannel : u32 , pfleveldb : * mut f32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , nchannel : u32 , pflevel : * mut f32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , bmute : super::super::super::Foundation:: BOOL , pguideventcontext : * const :: windows :: Guid , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pbmute : * mut super::super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pnstep : * mut u32 , pnstepcount : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pguideventcontext : * const :: windows :: Guid , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pguideventcontext : * const :: windows :: Guid , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pdwhardwaresupportmask : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pflvolumemindb : * mut f32 , pflvolumemaxdb : * mut f32 , pflvolumeincrementdb : * mut f32 , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IAudioEndpointVolumeCallback ( :: windows :: IUnknown ) ; impl IAudioEndpointVolumeCallback { pub unsafe fn OnNotify < > ( & self , pnotify : * mut AUDIO_VOLUME_NOTIFICATION_DATA , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pnotify ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IAudioEndpointVolumeCallback { type Vtable = IAudioEndpointVolumeCallback_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 1702364410 ,54957 ,17558 , [ 138 ,96 ,53 ,39 ,82 ,175 ,79 ,137 ] , ) ; } impl :: std :: convert :: From < IAudioEndpointVolumeCallback > for :: windows :: IUnknown { fn from ( value : IAudioEndpointVolumeCallback ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IAudioEndpointVolumeCallback > for :: windows :: IUnknown { fn from ( value : & IAudioEndpointVolumeCallback ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IAudioEndpointVolumeCallback { 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 IAudioEndpointVolumeCallback { 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 IAudioEndpointVolumeCallback_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 , pnotify : * mut AUDIO_VOLUME_NOTIFICATION_DATA , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IAudioEndpointVolumeEx ( :: windows :: IUnknown ) ; impl IAudioEndpointVolumeEx { pub unsafe fn RegisterControlChangeNotify < 'a , > ( & self , pnotify : impl :: windows :: IntoParam < 'a , IAudioEndpointVolumeCallback > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , pnotify . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn UnregisterControlChangeNotify < 'a , > ( & self , pnotify : impl :: windows :: IntoParam < 'a , IAudioEndpointVolumeCallback > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , pnotify . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn GetChannelCount < > ( & self , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn SetMasterVolumeLevel < > ( & self , fleveldb : f32 , pguideventcontext : * const :: windows :: Guid , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( fleveldb ) , :: std :: mem :: transmute ( pguideventcontext ) , ) . ok ( ) } pub unsafe fn SetMasterVolumeLevelScalar < > ( & self , flevel : f32 , pguideventcontext : * const :: windows :: Guid , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( flevel ) , :: std :: mem :: transmute ( pguideventcontext ) , ) . ok ( ) } pub unsafe fn GetMasterVolumeLevel < > ( & self , ) -> :: windows :: Result < f32 > { let mut result__ : < f32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < f32 > ( result__ ) } pub unsafe fn GetMasterVolumeLevelScalar < > ( & self , ) -> :: windows :: Result < f32 > { let mut result__ : < f32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < f32 > ( result__ ) } pub unsafe fn SetChannelVolumeLevel < > ( & self , nchannel : u32 , fleveldb : f32 , pguideventcontext : * const :: windows :: Guid , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( nchannel ) , :: std :: mem :: transmute ( fleveldb ) , :: std :: mem :: transmute ( pguideventcontext ) , ) . ok ( ) } pub unsafe fn SetChannelVolumeLevelScalar < > ( & self , nchannel : u32 , flevel : f32 , pguideventcontext : * const :: windows :: Guid , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .11 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( nchannel ) , :: std :: mem :: transmute ( flevel ) , :: std :: mem :: transmute ( pguideventcontext ) , ) . ok ( ) } pub unsafe fn GetChannelVolumeLevel < > ( & self , nchannel : u32 , ) -> :: windows :: Result < f32 > { let mut result__ : < f32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .12 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( nchannel ) , & mut result__ ) . from_abi :: < f32 > ( result__ ) } pub unsafe fn GetChannelVolumeLevelScalar < > ( & self , nchannel : u32 , ) -> :: windows :: Result < f32 > { let mut result__ : < f32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .13 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( nchannel ) , & mut result__ ) . from_abi :: < f32 > ( result__ ) } pub unsafe fn SetMute < 'a , > ( & self , bmute : impl :: windows :: IntoParam < 'a , super::super::super::Foundation:: BOOL > , pguideventcontext : * const :: windows :: Guid , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .14 ) ( :: windows :: Abi :: abi ( self ) , bmute . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pguideventcontext ) , ) . ok ( ) } pub unsafe fn GetMute < > ( & self , ) -> :: windows :: Result < super::super::super::Foundation:: BOOL > { let mut result__ : < super::super::super::Foundation:: BOOL as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .15 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < super::super::super::Foundation:: BOOL > ( result__ ) } pub unsafe fn GetVolumeStepInfo < > ( & self , pnstep : * mut u32 , pnstepcount : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .16 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pnstep ) , :: std :: mem :: transmute ( pnstepcount ) , ) . ok ( ) } pub unsafe fn VolumeStepUp < > ( & self , pguideventcontext : * const :: windows :: Guid , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .17 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pguideventcontext ) , ) . ok ( ) } pub unsafe fn VolumeStepDown < > ( & self , pguideventcontext : * const :: windows :: Guid , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .18 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pguideventcontext ) , ) . ok ( ) } pub unsafe fn QueryHardwareSupport < > ( & self , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .19 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn GetVolumeRange < > ( & self , pflvolumemindb : * mut f32 , pflvolumemaxdb : * mut f32 , pflvolumeincrementdb : * mut f32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .20 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pflvolumemindb ) , :: std :: mem :: transmute ( pflvolumemaxdb ) , :: std :: mem :: transmute ( pflvolumeincrementdb ) , ) . ok ( ) } pub unsafe fn GetVolumeRangeChannel < > ( & self , ichannel : u32 , pflvolumemindb : * mut f32 , pflvolumemaxdb : * mut f32 , pflvolumeincrementdb : * mut f32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .21 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ichannel ) , :: std :: mem :: transmute ( pflvolumemindb ) , :: std :: mem :: transmute ( pflvolumemaxdb ) , :: std :: mem :: transmute ( pflvolumeincrementdb ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IAudioEndpointVolumeEx { type Vtable = IAudioEndpointVolumeEx_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 1726027652 ,63125 ,20264 , [ 165 ,5 ,167 ,8 ,0 ,129 ,167 ,143 ] , ) ; } impl :: std :: convert :: From < IAudioEndpointVolumeEx > for :: windows :: IUnknown { fn from ( value : IAudioEndpointVolumeEx ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IAudioEndpointVolumeEx > for :: windows :: IUnknown { fn from ( value : & IAudioEndpointVolumeEx ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IAudioEndpointVolumeEx { 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 IAudioEndpointVolumeEx { 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 < IAudioEndpointVolumeEx > for IAudioEndpointVolume { fn from ( value : IAudioEndpointVolumeEx ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IAudioEndpointVolumeEx > for IAudioEndpointVolume { fn from ( value : & IAudioEndpointVolumeEx ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IAudioEndpointVolume > for IAudioEndpointVolumeEx { fn into_param ( self ) -> :: windows :: Param < 'a , IAudioEndpointVolume > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IAudioEndpointVolume > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IAudioEndpointVolume > for & 'a IAudioEndpointVolumeEx { fn into_param ( self ) -> :: windows :: Param < 'a , IAudioEndpointVolume > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IAudioEndpointVolume > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IAudioEndpointVolumeEx_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 , pnotify : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pnotify : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pnchannelcount : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , fleveldb : f32 , pguideventcontext : * const :: windows :: Guid , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , flevel : f32 , pguideventcontext : * const :: windows :: Guid , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pfleveldb : * mut f32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pflevel : * mut f32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , nchannel : u32 , fleveldb : f32 , pguideventcontext : * const :: windows :: Guid , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , nchannel : u32 , flevel : f32 , pguideventcontext : * const :: windows :: Guid , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , nchannel : u32 , pfleveldb : * mut f32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , nchannel : u32 , pflevel : * mut f32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , bmute : super::super::super::Foundation:: BOOL , pguideventcontext : * const :: windows :: Guid , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pbmute : * mut super::super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pnstep : * mut u32 , pnstepcount : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pguideventcontext : * const :: windows :: Guid , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pguideventcontext : * const :: windows :: Guid , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pdwhardwaresupportmask : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pflvolumemindb : * mut f32 , pflvolumemaxdb : * mut f32 , pflvolumeincrementdb : * mut f32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ichannel : u32 , pflvolumemindb : * mut f32 , pflvolumemaxdb : * mut f32 , pflvolumeincrementdb : * mut f32 , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IAudioFormatEnumerator ( :: windows :: IUnknown ) ; impl IAudioFormatEnumerator { pub unsafe fn GetCount < > ( & self , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn GetFormat < > ( & self , index : u32 , ) -> :: windows :: Result < * mut super::super::Multimedia:: WAVEFORMATEX > { let mut result__ : < * mut super::super::Multimedia:: WAVEFORMATEX as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( index ) , & mut result__ ) . from_abi :: < * mut super::super::Multimedia:: WAVEFORMATEX > ( result__ ) } } unsafe impl :: windows :: Interface for IAudioFormatEnumerator { type Vtable = IAudioFormatEnumerator_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3705317464 ,35162 ,18978 , [ 165 ,235 ,103 ,189 ,165 ,6 ,9 ,109 ] , ) ; } impl :: std :: convert :: From < IAudioFormatEnumerator > for :: windows :: IUnknown { fn from ( value : IAudioFormatEnumerator ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IAudioFormatEnumerator > for :: windows :: IUnknown { fn from ( value : & IAudioFormatEnumerator ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IAudioFormatEnumerator { 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 IAudioFormatEnumerator { 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 IAudioFormatEnumerator_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 , count : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , index : u32 , format : * mut * mut super::super::Multimedia:: WAVEFORMATEX , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IAudioInputSelector ( :: windows :: IUnknown ) ; impl IAudioInputSelector { pub unsafe fn GetSelection < > ( & self , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn SetSelection < > ( & self , nidselect : u32 , pguideventcontext : * const :: windows :: Guid , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( nidselect ) , :: std :: mem :: transmute ( pguideventcontext ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IAudioInputSelector { type Vtable = IAudioInputSelector_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 1325652994 ,24174 ,18003 , [ 143 ,114 ,160 ,48 ,193 ,35 ,213 ,152 ] , ) ; } impl :: std :: convert :: From < IAudioInputSelector > for :: windows :: IUnknown { fn from ( value : IAudioInputSelector ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IAudioInputSelector > for :: windows :: IUnknown { fn from ( value : & IAudioInputSelector ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IAudioInputSelector { 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 IAudioInputSelector { 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 IAudioInputSelector_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 , pnidselected : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , nidselect : u32 , pguideventcontext : * const :: windows :: Guid , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IAudioLfxControl ( :: windows :: IUnknown ) ; impl IAudioLfxControl { pub unsafe fn SetLocalEffectsState < 'a , > ( & self , benabled : impl :: windows :: IntoParam < 'a , super::super::super::Foundation:: BOOL > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , benabled . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn GetLocalEffectsState < > ( & self , ) -> :: windows :: Result < super::super::super::Foundation:: BOOL > { let mut result__ : < super::super::super::Foundation:: BOOL as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < super::super::super::Foundation:: BOOL > ( result__ ) } } unsafe impl :: windows :: Interface for IAudioLfxControl { type Vtable = IAudioLfxControl_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 124414242 ,55298 ,20355 , [ 186 ,246 ,64 ,157 ,156 ,161 ,27 ,254 ] , ) ; } impl :: std :: convert :: From < IAudioLfxControl > for :: windows :: IUnknown { fn from ( value : IAudioLfxControl ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IAudioLfxControl > for :: windows :: IUnknown { fn from ( value : & IAudioLfxControl ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IAudioLfxControl { 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 IAudioLfxControl { 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 IAudioLfxControl_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 , benabled : super::super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pbenabled : * mut super::super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IAudioLoudness ( :: windows :: IUnknown ) ; impl IAudioLoudness { pub unsafe fn GetEnabled < > ( & self , ) -> :: windows :: Result < super::super::super::Foundation:: BOOL > { let mut result__ : < super::super::super::Foundation:: BOOL as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < super::super::super::Foundation:: BOOL > ( result__ ) } pub unsafe fn SetEnabled < 'a , > ( & self , benable : impl :: windows :: IntoParam < 'a , super::super::super::Foundation:: BOOL > , pguideventcontext : * const :: windows :: Guid , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , benable . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pguideventcontext ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IAudioLoudness { type Vtable = IAudioLoudness_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2106266679 ,56659 ,17232 , [ 156 ,27 ,30 ,226 ,137 ,11 ,217 ,56 ] , ) ; } impl :: std :: convert :: From < IAudioLoudness > for :: windows :: IUnknown { fn from ( value : IAudioLoudness ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IAudioLoudness > for :: windows :: IUnknown { fn from ( value : & IAudioLoudness ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IAudioLoudness { 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 IAudioLoudness { 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 IAudioLoudness_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 , pbenabled : * mut super::super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , benable : super::super::super::Foundation:: BOOL , pguideventcontext : * const :: windows :: Guid , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IAudioMeterInformation ( :: windows :: IUnknown ) ; impl IAudioMeterInformation { pub unsafe fn GetPeakValue < > ( & self , ) -> :: windows :: Result < f32 > { let mut result__ : < f32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < f32 > ( result__ ) } pub unsafe fn GetMeteringChannelCount < > ( & self , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn GetChannelsPeakValues < > ( & self , u32channelcount : u32 , afpeakvalues : * mut f32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( u32channelcount ) , :: std :: mem :: transmute ( afpeakvalues ) , ) . ok ( ) } pub unsafe fn QueryHardwareSupport < > ( & self , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } } unsafe impl :: windows :: Interface for IAudioMeterInformation { type Vtable = IAudioMeterInformation_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3223459574 ,35943 ,19291 , [ 157 ,0 ,208 ,8 ,231 ,62 ,0 ,100 ] , ) ; } impl :: std :: convert :: From < IAudioMeterInformation > for :: windows :: IUnknown { fn from ( value : IAudioMeterInformation ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IAudioMeterInformation > for :: windows :: IUnknown { fn from ( value : & IAudioMeterInformation ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IAudioMeterInformation { 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 IAudioMeterInformation { 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 IAudioMeterInformation_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 , pfpeak : * mut f32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pnchannelcount : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , u32channelcount : u32 , afpeakvalues : * mut f32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pdwhardwaresupportmask : * mut u32 , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IAudioMidrange ( :: windows :: IUnknown ) ; impl IAudioMidrange { pub unsafe fn GetChannelCount < > ( & self , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn GetLevelRange < > ( & self , nchannel : u32 , pfminleveldb : * mut f32 , pfmaxleveldb : * mut f32 , pfstepping : * mut f32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( nchannel ) , :: std :: mem :: transmute ( pfminleveldb ) , :: std :: mem :: transmute ( pfmaxleveldb ) , :: std :: mem :: transmute ( pfstepping ) , ) . ok ( ) } pub unsafe fn GetLevel < > ( & self , nchannel : u32 , ) -> :: windows :: Result < f32 > { let mut result__ : < f32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( nchannel ) , & mut result__ ) . from_abi :: < f32 > ( result__ ) } pub unsafe fn SetLevel < > ( & self , nchannel : u32 , fleveldb : f32 , pguideventcontext : * const :: windows :: Guid , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( nchannel ) , :: std :: mem :: transmute ( fleveldb ) , :: std :: mem :: transmute ( pguideventcontext ) , ) . ok ( ) } pub unsafe fn SetLevelUniform < > ( & self , fleveldb : f32 , pguideventcontext : * const :: windows :: Guid , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( fleveldb ) , :: std :: mem :: transmute ( pguideventcontext ) , ) . ok ( ) } pub unsafe fn SetLevelAllChannels < > ( & self , alevelsdb : * mut f32 , cchannels : u32 , pguideventcontext : * const :: windows :: Guid , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( alevelsdb ) , :: std :: mem :: transmute ( cchannels ) , :: std :: mem :: transmute ( pguideventcontext ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IAudioMidrange { type Vtable = IAudioMidrange_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 1582610135 ,46155 ,16601 , [ 154 ,158 ,230 ,145 ,217 ,206 ,110 ,223 ] , ) ; } impl :: std :: convert :: From < IAudioMidrange > for :: windows :: IUnknown { fn from ( value : IAudioMidrange ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IAudioMidrange > for :: windows :: IUnknown { fn from ( value : & IAudioMidrange ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IAudioMidrange { 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 IAudioMidrange { 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 < IAudioMidrange > for IPerChannelDbLevel { fn from ( value : IAudioMidrange ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IAudioMidrange > for IPerChannelDbLevel { fn from ( value : & IAudioMidrange ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IPerChannelDbLevel > for IAudioMidrange { fn into_param ( self ) -> :: windows :: Param < 'a , IPerChannelDbLevel > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IPerChannelDbLevel > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IPerChannelDbLevel > for & 'a IAudioMidrange { fn into_param ( self ) -> :: windows :: Param < 'a , IPerChannelDbLevel > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IPerChannelDbLevel > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IAudioMidrange_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 , pcchannels : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , nchannel : u32 , pfminleveldb : * mut f32 , pfmaxleveldb : * mut f32 , pfstepping : * mut f32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , nchannel : u32 , pfleveldb : * mut f32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , nchannel : u32 , fleveldb : f32 , pguideventcontext : * const :: windows :: Guid , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , fleveldb : f32 , pguideventcontext : * const :: windows :: Guid , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , alevelsdb : * mut f32 , cchannels : u32 , pguideventcontext : * const :: windows :: Guid , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IAudioMute ( :: windows :: IUnknown ) ; impl IAudioMute { pub unsafe fn SetMute < 'a , > ( & self , bmuted : impl :: windows :: IntoParam < 'a , super::super::super::Foundation:: BOOL > , pguideventcontext : * const :: windows :: Guid , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , bmuted . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pguideventcontext ) , ) . ok ( ) } pub unsafe fn GetMute < > ( & self , ) -> :: windows :: Result < super::super::super::Foundation:: BOOL > { let mut result__ : < super::super::super::Foundation:: BOOL as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < super::super::super::Foundation:: BOOL > ( result__ ) } } unsafe impl :: windows :: Interface for IAudioMute { type Vtable = IAudioMute_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3745885930 ,46922 ,19307 , [ 175 ,173 ,35 ,102 ,182 ,170 ,1 ,46 ] , ) ; } impl :: std :: convert :: From < IAudioMute > for :: windows :: IUnknown { fn from ( value : IAudioMute ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IAudioMute > for :: windows :: IUnknown { fn from ( value : & IAudioMute ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IAudioMute { 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 IAudioMute { 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 IAudioMute_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 , bmuted : super::super::super::Foundation:: BOOL , pguideventcontext : * const :: windows :: Guid , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pbmuted : * mut super::super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IAudioOutputSelector ( :: windows :: IUnknown ) ; impl IAudioOutputSelector { pub unsafe fn GetSelection < > ( & self , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn SetSelection < > ( & self , nidselect : u32 , pguideventcontext : * const :: windows :: Guid , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( nidselect ) , :: std :: mem :: transmute ( pguideventcontext ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IAudioOutputSelector { type Vtable = IAudioOutputSelector_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3142672233 ,38055 ,17054 , [ 139 ,156 ,39 ,27 ,63 ,17 ,163 ,171 ] , ) ; } impl :: std :: convert :: From < IAudioOutputSelector > for :: windows :: IUnknown { fn from ( value : IAudioOutputSelector ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IAudioOutputSelector > for :: windows :: IUnknown { fn from ( value : & IAudioOutputSelector ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IAudioOutputSelector { 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 IAudioOutputSelector { 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 IAudioOutputSelector_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 , pnidselected : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , nidselect : u32 , pguideventcontext : * const :: windows :: Guid , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IAudioPeakMeter ( :: windows :: IUnknown ) ; impl IAudioPeakMeter { pub unsafe fn GetChannelCount < > ( & self , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn GetLevel < > ( & self , nchannel : u32 , ) -> :: windows :: Result < f32 > { let mut result__ : < f32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( nchannel ) , & mut result__ ) . from_abi :: < f32 > ( result__ ) } } unsafe impl :: windows :: Interface for IAudioPeakMeter { type Vtable = IAudioPeakMeter_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3715732028 ,1433 ,17888 , [ 184 ,182 ,200 ,223 ,125 ,182 ,231 ,150 ] , ) ; } impl :: std :: convert :: From < IAudioPeakMeter > for :: windows :: IUnknown { fn from ( value : IAudioPeakMeter ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IAudioPeakMeter > for :: windows :: IUnknown { fn from ( value : & IAudioPeakMeter ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IAudioPeakMeter { 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 IAudioPeakMeter { 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 IAudioPeakMeter_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 , pcchannels : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , nchannel : u32 , pflevel : * mut f32 , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IAudioRenderClient ( :: windows :: IUnknown ) ; impl IAudioRenderClient { pub unsafe fn GetBuffer < > ( & self , numframesrequested : u32 , ) -> :: windows :: Result < * mut u8 > { let mut result__ : < * mut u8 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( numframesrequested ) , & mut result__ ) . from_abi :: < * mut u8 > ( result__ ) } pub unsafe fn ReleaseBuffer < > ( & self , numframeswritten : u32 , dwflags : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( numframeswritten ) , :: std :: mem :: transmute ( dwflags ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IAudioRenderClient { type Vtable = IAudioRenderClient_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 4069829884 ,12614 ,17539 , [ 167 ,191 ,173 ,220 ,167 ,194 ,96 ,226 ] , ) ; } impl :: std :: convert :: From < IAudioRenderClient > for :: windows :: IUnknown { fn from ( value : IAudioRenderClient ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IAudioRenderClient > for :: windows :: IUnknown { fn from ( value : & IAudioRenderClient ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IAudioRenderClient { 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 IAudioRenderClient { 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 IAudioRenderClient_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 , numframesrequested : u32 , ppdata : * mut * mut u8 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , numframeswritten : u32 , dwflags : u32 , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IAudioSessionControl ( :: windows :: IUnknown ) ; impl IAudioSessionControl { pub unsafe fn GetState < > ( & self , ) -> :: windows :: Result < AudioSessionState > { let mut result__ : < AudioSessionState as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < AudioSessionState > ( result__ ) } pub unsafe fn GetDisplayName < > ( & self , ) -> :: windows :: Result < super::super::super::Foundation:: PWSTR > { let mut result__ : < super::super::super::Foundation:: PWSTR as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < super::super::super::Foundation:: PWSTR > ( result__ ) } pub unsafe fn SetDisplayName < 'a , > ( & self , value : impl :: windows :: IntoParam < 'a , super::super::super::Foundation:: PWSTR > , eventcontext : * const :: windows :: Guid , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , value . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( eventcontext ) , ) . ok ( ) } pub unsafe fn GetIconPath < > ( & self , ) -> :: windows :: Result < super::super::super::Foundation:: PWSTR > { let mut result__ : < super::super::super::Foundation:: PWSTR as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < super::super::super::Foundation:: PWSTR > ( result__ ) } pub unsafe fn SetIconPath < 'a , > ( & self , value : impl :: windows :: IntoParam < 'a , super::super::super::Foundation:: PWSTR > , eventcontext : * const :: windows :: Guid , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , value . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( eventcontext ) , ) . ok ( ) } pub unsafe fn GetGroupingParam < > ( & self , ) -> :: windows :: Result < :: windows :: Guid > { let mut result__ : < :: windows :: Guid as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < :: windows :: Guid > ( result__ ) } pub unsafe fn SetGroupingParam < > ( & self , r#override : * const :: windows :: Guid , eventcontext : * const :: windows :: Guid , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( r#override ) , :: std :: mem :: transmute ( eventcontext ) , ) . ok ( ) } pub unsafe fn RegisterAudioSessionNotification < 'a , > ( & self , newnotifications : impl :: windows :: IntoParam < 'a , IAudioSessionEvents > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , newnotifications . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn UnregisterAudioSessionNotification < 'a , > ( & self , newnotifications : impl :: windows :: IntoParam < 'a , IAudioSessionEvents > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .11 ) ( :: windows :: Abi :: abi ( self ) , newnotifications . into_param ( ) . abi ( ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IAudioSessionControl { type Vtable = IAudioSessionControl_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 4105282969 ,29286 ,17177 , [ 168 ,202 ,231 ,10 ,203 ,17 ,232 ,205 ] , ) ; } impl :: std :: convert :: From < IAudioSessionControl > for :: windows :: IUnknown { fn from ( value : IAudioSessionControl ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IAudioSessionControl > for :: windows :: IUnknown { fn from ( value : & IAudioSessionControl ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IAudioSessionControl { 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 IAudioSessionControl { 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 IAudioSessionControl_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 , pretval : * mut AudioSessionState , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pretval : * mut super::super::super::Foundation:: PWSTR , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : super::super::super::Foundation:: PWSTR , eventcontext : * const :: windows :: Guid , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pretval : * mut super::super::super::Foundation:: PWSTR , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : super::super::super::Foundation:: PWSTR , eventcontext : * const :: windows :: Guid , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pretval : * mut :: windows :: Guid , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , r#override : * const :: windows :: Guid , eventcontext : * const :: windows :: Guid , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , newnotifications : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , newnotifications : :: windows :: RawPtr , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IAudioSessionControl2 ( :: windows :: IUnknown ) ; impl IAudioSessionControl2 { pub unsafe fn GetState < > ( & self , ) -> :: windows :: Result < AudioSessionState > { let mut result__ : < AudioSessionState as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < AudioSessionState > ( result__ ) } pub unsafe fn GetDisplayName < > ( & self , ) -> :: windows :: Result < super::super::super::Foundation:: PWSTR > { let mut result__ : < super::super::super::Foundation:: PWSTR as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < super::super::super::Foundation:: PWSTR > ( result__ ) } pub unsafe fn SetDisplayName < 'a , > ( & self , value : impl :: windows :: IntoParam < 'a , super::super::super::Foundation:: PWSTR > , eventcontext : * const :: windows :: Guid , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , value . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( eventcontext ) , ) . ok ( ) } pub unsafe fn GetIconPath < > ( & self , ) -> :: windows :: Result < super::super::super::Foundation:: PWSTR > { let mut result__ : < super::super::super::Foundation:: PWSTR as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < super::super::super::Foundation:: PWSTR > ( result__ ) } pub unsafe fn SetIconPath < 'a , > ( & self , value : impl :: windows :: IntoParam < 'a , super::super::super::Foundation:: PWSTR > , eventcontext : * const :: windows :: Guid , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , value . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( eventcontext ) , ) . ok ( ) } pub unsafe fn GetGroupingParam < > ( & self , ) -> :: windows :: Result < :: windows :: Guid > { let mut result__ : < :: windows :: Guid as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < :: windows :: Guid > ( result__ ) } pub unsafe fn SetGroupingParam < > ( & self , r#override : * const :: windows :: Guid , eventcontext : * const :: windows :: Guid , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( r#override ) , :: std :: mem :: transmute ( eventcontext ) , ) . ok ( ) } pub unsafe fn RegisterAudioSessionNotification < 'a , > ( & self , newnotifications : impl :: windows :: IntoParam < 'a , IAudioSessionEvents > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , newnotifications . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn UnregisterAudioSessionNotification < 'a , > ( & self , newnotifications : impl :: windows :: IntoParam < 'a , IAudioSessionEvents > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .11 ) ( :: windows :: Abi :: abi ( self ) , newnotifications . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn GetSessionIdentifier < > ( & self , ) -> :: windows :: Result < super::super::super::Foundation:: PWSTR > { let mut result__ : < super::super::super::Foundation:: PWSTR as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .12 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < super::super::super::Foundation:: PWSTR > ( result__ ) } pub unsafe fn GetSessionInstanceIdentifier < > ( & self , ) -> :: windows :: Result < super::super::super::Foundation:: PWSTR > { let mut result__ : < super::super::super::Foundation:: PWSTR as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .13 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < super::super::super::Foundation:: PWSTR > ( result__ ) } pub unsafe fn GetProcessId < > ( & self , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .14 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn IsSystemSoundsSession < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .15 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn SetDuckingPreference < 'a , > ( & self , optout : impl :: windows :: IntoParam < 'a , super::super::super::Foundation:: BOOL > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .16 ) ( :: windows :: Abi :: abi ( self ) , optout . into_param ( ) . abi ( ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IAudioSessionControl2 { type Vtable = IAudioSessionControl2_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3216506760 ,29241 ,20425 , [ 143 ,162 ,7 ,201 ,80 ,190 ,156 ,109 ] , ) ; } impl :: std :: convert :: From < IAudioSessionControl2 > for :: windows :: IUnknown { fn from ( value : IAudioSessionControl2 ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IAudioSessionControl2 > for :: windows :: IUnknown { fn from ( value : & IAudioSessionControl2 ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IAudioSessionControl2 { 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 IAudioSessionControl2 { 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 < IAudioSessionControl2 > for IAudioSessionControl { fn from ( value : IAudioSessionControl2 ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IAudioSessionControl2 > for IAudioSessionControl { fn from ( value : & IAudioSessionControl2 ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IAudioSessionControl > for IAudioSessionControl2 { fn into_param ( self ) -> :: windows :: Param < 'a , IAudioSessionControl > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IAudioSessionControl > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IAudioSessionControl > for & 'a IAudioSessionControl2 { fn into_param ( self ) -> :: windows :: Param < 'a , IAudioSessionControl > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IAudioSessionControl > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IAudioSessionControl2_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 , pretval : * mut AudioSessionState , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pretval : * mut super::super::super::Foundation:: PWSTR , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : super::super::super::Foundation:: PWSTR , eventcontext : * const :: windows :: Guid , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pretval : * mut super::super::super::Foundation:: PWSTR , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : super::super::super::Foundation:: PWSTR , eventcontext : * const :: windows :: Guid , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pretval : * mut :: windows :: Guid , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , r#override : * const :: windows :: Guid , eventcontext : * const :: windows :: Guid , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , newnotifications : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , newnotifications : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pretval : * mut super::super::super::Foundation:: PWSTR , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pretval : * mut super::super::super::Foundation:: PWSTR , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pretval : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , optout : super::super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IAudioSessionEnumerator ( :: windows :: IUnknown ) ; impl IAudioSessionEnumerator { pub unsafe fn GetCount < > ( & self , ) -> :: windows :: Result < i32 > { let mut result__ : < i32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < i32 > ( result__ ) } pub unsafe fn GetSession < > ( & self , sessioncount : i32 , ) -> :: windows :: Result < IAudioSessionControl > { let mut result__ : < IAudioSessionControl as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( sessioncount ) , & mut result__ ) . from_abi :: < IAudioSessionControl > ( result__ ) } } unsafe impl :: windows :: Interface for IAudioSessionEnumerator { type Vtable = IAudioSessionEnumerator_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3807755025 ,1392 ,16586 , [ 172 ,221 ,58 ,160 ,18 ,119 ,222 ,232 ] , ) ; } impl :: std :: convert :: From < IAudioSessionEnumerator > for :: windows :: IUnknown { fn from ( value : IAudioSessionEnumerator ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IAudioSessionEnumerator > for :: windows :: IUnknown { fn from ( value : & IAudioSessionEnumerator ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IAudioSessionEnumerator { 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 IAudioSessionEnumerator { 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 IAudioSessionEnumerator_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 , sessioncount : * mut i32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , sessioncount : i32 , session : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IAudioSessionEvents ( :: windows :: IUnknown ) ; impl IAudioSessionEvents { pub unsafe fn OnDisplayNameChanged < 'a , > ( & self , newdisplayname : impl :: windows :: IntoParam < 'a , super::super::super::Foundation:: PWSTR > , eventcontext : * const :: windows :: Guid , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , newdisplayname . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( eventcontext ) , ) . ok ( ) } pub unsafe fn OnIconPathChanged < 'a , > ( & self , newiconpath : impl :: windows :: IntoParam < 'a , super::super::super::Foundation:: PWSTR > , eventcontext : * const :: windows :: Guid , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , newiconpath . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( eventcontext ) , ) . ok ( ) } pub unsafe fn OnSimpleVolumeChanged < 'a , > ( & self , newvolume : f32 , newmute : impl :: windows :: IntoParam < 'a , super::super::super::Foundation:: BOOL > , eventcontext : * const :: windows :: Guid , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( newvolume ) , newmute . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( eventcontext ) , ) . ok ( ) } pub unsafe fn OnChannelVolumeChanged < > ( & self , channelcount : u32 , newchannelvolumearray : * mut f32 , changedchannel : u32 , eventcontext : * const :: windows :: Guid , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( channelcount ) , :: std :: mem :: transmute ( newchannelvolumearray ) , :: std :: mem :: transmute ( changedchannel ) , :: std :: mem :: transmute ( eventcontext ) , ) . ok ( ) } pub unsafe fn OnGroupingParamChanged < > ( & self , newgroupingparam : * const :: windows :: Guid , eventcontext : * const :: windows :: Guid , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( newgroupingparam ) , :: std :: mem :: transmute ( eventcontext ) , ) . ok ( ) } pub unsafe fn OnStateChanged < > ( & self , newstate : AudioSessionState , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( newstate ) , ) . ok ( ) } pub unsafe fn OnSessionDisconnected < > ( & self , disconnectreason : AudioSessionDisconnectReason , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( disconnectreason ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IAudioSessionEvents { type Vtable = IAudioSessionEvents_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 613518028 ,25779 ,14273 , [ 140 ,169 ,116 ,166 ,110 ,153 ,87 ,168 ] , ) ; } impl :: std :: convert :: From < IAudioSessionEvents > for :: windows :: IUnknown { fn from ( value : IAudioSessionEvents ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IAudioSessionEvents > for :: windows :: IUnknown { fn from ( value : & IAudioSessionEvents ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IAudioSessionEvents { 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 IAudioSessionEvents { 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 IAudioSessionEvents_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 , newdisplayname : super::super::super::Foundation:: PWSTR , eventcontext : * const :: windows :: Guid , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , newiconpath : super::super::super::Foundation:: PWSTR , eventcontext : * const :: windows :: Guid , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , newvolume : f32 , newmute : super::super::super::Foundation:: BOOL , eventcontext : * const :: windows :: Guid , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , channelcount : u32 , newchannelvolumearray : * mut f32 , changedchannel : u32 , eventcontext : * const :: windows :: Guid , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , newgroupingparam : * const :: windows :: Guid , eventcontext : * const :: windows :: Guid , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , newstate : AudioSessionState , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , disconnectreason : AudioSessionDisconnectReason , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IAudioSessionManager ( :: windows :: IUnknown ) ; impl IAudioSessionManager { pub unsafe fn GetAudioSessionControl < > ( & self , audiosessionguid : * const :: windows :: Guid , streamflags : u32 , ) -> :: windows :: Result < IAudioSessionControl > { let mut result__ : < IAudioSessionControl as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( audiosessionguid ) , :: std :: mem :: transmute ( streamflags ) , & mut result__ ) . from_abi :: < IAudioSessionControl > ( result__ ) } pub unsafe fn GetSimpleAudioVolume < > ( & self , audiosessionguid : * const :: windows :: Guid , streamflags : u32 , ) -> :: windows :: Result < ISimpleAudioVolume > { let mut result__ : < ISimpleAudioVolume as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( audiosessionguid ) , :: std :: mem :: transmute ( streamflags ) , & mut result__ ) . from_abi :: < ISimpleAudioVolume > ( result__ ) } } unsafe impl :: windows :: Interface for IAudioSessionManager { type Vtable = IAudioSessionManager_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3215553009 ,19806 ,16571 , [ 147 ,94 ,150 ,112 ,57 ,191 ,190 ,228 ] , ) ; } impl :: std :: convert :: From < IAudioSessionManager > for :: windows :: IUnknown { fn from ( value : IAudioSessionManager ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IAudioSessionManager > for :: windows :: IUnknown { fn from ( value : & IAudioSessionManager ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IAudioSessionManager { 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 IAudioSessionManager { 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 IAudioSessionManager_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 , audiosessionguid : * const :: windows :: Guid , streamflags : u32 , sessioncontrol : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , audiosessionguid : * const :: windows :: Guid , streamflags : u32 , audiovolume : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IAudioSessionManager2 ( :: windows :: IUnknown ) ; impl IAudioSessionManager2 { pub unsafe fn GetAudioSessionControl < > ( & self , audiosessionguid : * const :: windows :: Guid , streamflags : u32 , ) -> :: windows :: Result < IAudioSessionControl > { let mut result__ : < IAudioSessionControl as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( audiosessionguid ) , :: std :: mem :: transmute ( streamflags ) , & mut result__ ) . from_abi :: < IAudioSessionControl > ( result__ ) } pub unsafe fn GetSimpleAudioVolume < > ( & self , audiosessionguid : * const :: windows :: Guid , streamflags : u32 , ) -> :: windows :: Result < ISimpleAudioVolume > { let mut result__ : < ISimpleAudioVolume as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( audiosessionguid ) , :: std :: mem :: transmute ( streamflags ) , & mut result__ ) . from_abi :: < ISimpleAudioVolume > ( result__ ) } pub unsafe fn GetSessionEnumerator < > ( & self , ) -> :: windows :: Result < IAudioSessionEnumerator > { let mut result__ : < IAudioSessionEnumerator as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < IAudioSessionEnumerator > ( result__ ) } pub unsafe fn RegisterSessionNotification < 'a , > ( & self , sessionnotification : impl :: windows :: IntoParam < 'a , IAudioSessionNotification > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , sessionnotification . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn UnregisterSessionNotification < 'a , > ( & self , sessionnotification : impl :: windows :: IntoParam < 'a , IAudioSessionNotification > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , sessionnotification . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn RegisterDuckNotification < 'a , > ( & self , sessionid : impl :: windows :: IntoParam < 'a , super::super::super::Foundation:: PWSTR > , ducknotification : impl :: windows :: IntoParam < 'a , IAudioVolumeDuckNotification > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , sessionid . into_param ( ) . abi ( ) , ducknotification . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn UnregisterDuckNotification < 'a , > ( & self , ducknotification : impl :: windows :: IntoParam < 'a , IAudioVolumeDuckNotification > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , ducknotification . into_param ( ) . abi ( ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IAudioSessionManager2 { type Vtable = IAudioSessionManager2_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2007669152 ,7126 ,18511 , [ 139 ,199 ,44 ,101 ,76 ,154 ,155 ,111 ] , ) ; } impl :: std :: convert :: From < IAudioSessionManager2 > for :: windows :: IUnknown { fn from ( value : IAudioSessionManager2 ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IAudioSessionManager2 > for :: windows :: IUnknown { fn from ( value : & IAudioSessionManager2 ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IAudioSessionManager2 { 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 IAudioSessionManager2 { 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 < IAudioSessionManager2 > for IAudioSessionManager { fn from ( value : IAudioSessionManager2 ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IAudioSessionManager2 > for IAudioSessionManager { fn from ( value : & IAudioSessionManager2 ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IAudioSessionManager > for IAudioSessionManager2 { fn into_param ( self ) -> :: windows :: Param < 'a , IAudioSessionManager > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IAudioSessionManager > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IAudioSessionManager > for & 'a IAudioSessionManager2 { fn into_param ( self ) -> :: windows :: Param < 'a , IAudioSessionManager > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IAudioSessionManager > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IAudioSessionManager2_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 , audiosessionguid : * const :: windows :: Guid , streamflags : u32 , sessioncontrol : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , audiosessionguid : * const :: windows :: Guid , streamflags : u32 , audiovolume : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , sessionenum : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , sessionnotification : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , sessionnotification : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , sessionid : super::super::super::Foundation:: PWSTR , ducknotification : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ducknotification : :: windows :: RawPtr , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IAudioSessionNotification ( :: windows :: IUnknown ) ; impl IAudioSessionNotification { pub unsafe fn OnSessionCreated < 'a , > ( & self , newsession : impl :: windows :: IntoParam < 'a , IAudioSessionControl > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , newsession . into_param ( ) . abi ( ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IAudioSessionNotification { type Vtable = IAudioSessionNotification_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 1679675915 ,19777 ,18892 , [ 171 ,163 ,23 ,75 ,148 ,119 ,187 ,8 ] , ) ; } impl :: std :: convert :: From < IAudioSessionNotification > for :: windows :: IUnknown { fn from ( value : IAudioSessionNotification ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IAudioSessionNotification > for :: windows :: IUnknown { fn from ( value : & IAudioSessionNotification ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IAudioSessionNotification { 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 IAudioSessionNotification { 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 IAudioSessionNotification_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 , newsession : :: windows :: RawPtr , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IAudioStreamVolume ( :: windows :: IUnknown ) ; impl IAudioStreamVolume { pub unsafe fn GetChannelCount < > ( & self , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn SetChannelVolume < > ( & self , dwindex : u32 , flevel : f32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwindex ) , :: std :: mem :: transmute ( flevel ) , ) . ok ( ) } pub unsafe fn GetChannelVolume < > ( & self , dwindex : u32 , ) -> :: windows :: Result < f32 > { let mut result__ : < f32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwindex ) , & mut result__ ) . from_abi :: < f32 > ( result__ ) } pub unsafe fn SetAllVolumes < > ( & self , dwcount : u32 , pfvolumes : * const f32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwcount ) , :: std :: mem :: transmute ( pfvolumes ) , ) . ok ( ) } pub unsafe fn GetAllVolumes < > ( & self , dwcount : u32 , pfvolumes : * mut f32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwcount ) , :: std :: mem :: transmute ( pfvolumes ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IAudioStreamVolume { type Vtable = IAudioStreamVolume_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2466334855 ,9261 ,16488 , [ 138 ,21 ,207 ,94 ,147 ,185 ,15 ,227 ] , ) ; } impl :: std :: convert :: From < IAudioStreamVolume > for :: windows :: IUnknown { fn from ( value : IAudioStreamVolume ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IAudioStreamVolume > for :: windows :: IUnknown { fn from ( value : & IAudioStreamVolume ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IAudioStreamVolume { 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 IAudioStreamVolume { 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 IAudioStreamVolume_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 , pdwcount : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwindex : u32 , flevel : f32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwindex : u32 , pflevel : * mut f32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwcount : u32 , pfvolumes : * const f32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwcount : u32 , pfvolumes : * mut f32 , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IAudioTreble ( :: windows :: IUnknown ) ; impl IAudioTreble { pub unsafe fn GetChannelCount < > ( & self , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn GetLevelRange < > ( & self , nchannel : u32 , pfminleveldb : * mut f32 , pfmaxleveldb : * mut f32 , pfstepping : * mut f32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( nchannel ) , :: std :: mem :: transmute ( pfminleveldb ) , :: std :: mem :: transmute ( pfmaxleveldb ) , :: std :: mem :: transmute ( pfstepping ) , ) . ok ( ) } pub unsafe fn GetLevel < > ( & self , nchannel : u32 , ) -> :: windows :: Result < f32 > { let mut result__ : < f32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( nchannel ) , & mut result__ ) . from_abi :: < f32 > ( result__ ) } pub unsafe fn SetLevel < > ( & self , nchannel : u32 , fleveldb : f32 , pguideventcontext : * const :: windows :: Guid , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( nchannel ) , :: std :: mem :: transmute ( fleveldb ) , :: std :: mem :: transmute ( pguideventcontext ) , ) . ok ( ) } pub unsafe fn SetLevelUniform < > ( & self , fleveldb : f32 , pguideventcontext : * const :: windows :: Guid , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( fleveldb ) , :: std :: mem :: transmute ( pguideventcontext ) , ) . ok ( ) } pub unsafe fn SetLevelAllChannels < > ( & self , alevelsdb : * mut f32 , cchannels : u32 , pguideventcontext : * const :: windows :: Guid , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( alevelsdb ) , :: std :: mem :: transmute ( cchannels ) , :: std :: mem :: transmute ( pguideventcontext ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IAudioTreble { type Vtable = IAudioTreble_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 175208466 ,26958 ,18695 , [ 183 ,75 ,186 ,250 ,92 ,253 ,202 ,123 ] , ) ; } impl :: std :: convert :: From < IAudioTreble > for :: windows :: IUnknown { fn from ( value : IAudioTreble ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IAudioTreble > for :: windows :: IUnknown { fn from ( value : & IAudioTreble ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IAudioTreble { 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 IAudioTreble { 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 < IAudioTreble > for IPerChannelDbLevel { fn from ( value : IAudioTreble ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IAudioTreble > for IPerChannelDbLevel { fn from ( value : & IAudioTreble ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IPerChannelDbLevel > for IAudioTreble { fn into_param ( self ) -> :: windows :: Param < 'a , IPerChannelDbLevel > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IPerChannelDbLevel > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IPerChannelDbLevel > for & 'a IAudioTreble { fn into_param ( self ) -> :: windows :: Param < 'a , IPerChannelDbLevel > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IPerChannelDbLevel > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IAudioTreble_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 , pcchannels : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , nchannel : u32 , pfminleveldb : * mut f32 , pfmaxleveldb : * mut f32 , pfstepping : * mut f32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , nchannel : u32 , pfleveldb : * mut f32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , nchannel : u32 , fleveldb : f32 , pguideventcontext : * const :: windows :: Guid , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , fleveldb : f32 , pguideventcontext : * const :: windows :: Guid , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , alevelsdb : * mut f32 , cchannels : u32 , pguideventcontext : * const :: windows :: Guid , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IAudioVolumeDuckNotification ( :: windows :: IUnknown ) ; impl IAudioVolumeDuckNotification { pub unsafe fn OnVolumeDuckNotification < 'a , > ( & self , sessionid : impl :: windows :: IntoParam < 'a , super::super::super::Foundation:: PWSTR > , countcommunicationsessions : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , sessionid . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( countcommunicationsessions ) , ) . ok ( ) } pub unsafe fn OnVolumeUnduckNotification < 'a , > ( & self , sessionid : impl :: windows :: IntoParam < 'a , super::super::super::Foundation:: PWSTR > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , sessionid . into_param ( ) . abi ( ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IAudioVolumeDuckNotification { type Vtable = IAudioVolumeDuckNotification_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3283256532 ,27961 ,17241 , [ 179 ,207 ,181 ,109 ,219 ,59 ,179 ,156 ] , ) ; } impl :: std :: convert :: From < IAudioVolumeDuckNotification > for :: windows :: IUnknown { fn from ( value : IAudioVolumeDuckNotification ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IAudioVolumeDuckNotification > for :: windows :: IUnknown { fn from ( value : & IAudioVolumeDuckNotification ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IAudioVolumeDuckNotification { 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 IAudioVolumeDuckNotification { 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 IAudioVolumeDuckNotification_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 , sessionid : super::super::super::Foundation:: PWSTR , countcommunicationsessions : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , sessionid : super::super::super::Foundation:: PWSTR , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IAudioVolumeLevel ( :: windows :: IUnknown ) ; impl IAudioVolumeLevel { pub unsafe fn GetChannelCount < > ( & self , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn GetLevelRange < > ( & self , nchannel : u32 , pfminleveldb : * mut f32 , pfmaxleveldb : * mut f32 , pfstepping : * mut f32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( nchannel ) , :: std :: mem :: transmute ( pfminleveldb ) , :: std :: mem :: transmute ( pfmaxleveldb ) , :: std :: mem :: transmute ( pfstepping ) , ) . ok ( ) } pub unsafe fn GetLevel < > ( & self , nchannel : u32 , ) -> :: windows :: Result < f32 > { let mut result__ : < f32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( nchannel ) , & mut result__ ) . from_abi :: < f32 > ( result__ ) } pub unsafe fn SetLevel < > ( & self , nchannel : u32 , fleveldb : f32 , pguideventcontext : * const :: windows :: Guid , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( nchannel ) , :: std :: mem :: transmute ( fleveldb ) , :: std :: mem :: transmute ( pguideventcontext ) , ) . ok ( ) } pub unsafe fn SetLevelUniform < > ( & self , fleveldb : f32 , pguideventcontext : * const :: windows :: Guid , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( fleveldb ) , :: std :: mem :: transmute ( pguideventcontext ) , ) . ok ( ) } pub unsafe fn SetLevelAllChannels < > ( & self , alevelsdb : * mut f32 , cchannels : u32 , pguideventcontext : * const :: windows :: Guid , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( alevelsdb ) , :: std :: mem :: transmute ( cchannels ) , :: std :: mem :: transmute ( pguideventcontext ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IAudioVolumeLevel { type Vtable = IAudioVolumeLevel_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2142745743 ,21277 ,17570 , [ 188 ,179 ,90 ,213 ,161 ,52 ,179 ,220 ] , ) ; } impl :: std :: convert :: From < IAudioVolumeLevel > for :: windows :: IUnknown { fn from ( value : IAudioVolumeLevel ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IAudioVolumeLevel > for :: windows :: IUnknown { fn from ( value : & IAudioVolumeLevel ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IAudioVolumeLevel { 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 IAudioVolumeLevel { 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 < IAudioVolumeLevel > for IPerChannelDbLevel { fn from ( value : IAudioVolumeLevel ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IAudioVolumeLevel > for IPerChannelDbLevel { fn from ( value : & IAudioVolumeLevel ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IPerChannelDbLevel > for IAudioVolumeLevel { fn into_param ( self ) -> :: windows :: Param < 'a , IPerChannelDbLevel > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IPerChannelDbLevel > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IPerChannelDbLevel > for & 'a IAudioVolumeLevel { fn into_param ( self ) -> :: windows :: Param < 'a , IPerChannelDbLevel > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IPerChannelDbLevel > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IAudioVolumeLevel_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 , pcchannels : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , nchannel : u32 , pfminleveldb : * mut f32 , pfmaxleveldb : * mut f32 , pfstepping : * mut f32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , nchannel : u32 , pfleveldb : * mut f32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , nchannel : u32 , fleveldb : f32 , pguideventcontext : * const :: windows :: Guid , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , fleveldb : f32 , pguideventcontext : * const :: windows :: Guid , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , alevelsdb : * mut f32 , cchannels : u32 , pguideventcontext : * const :: windows :: Guid , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IChannelAudioVolume ( :: windows :: IUnknown ) ; impl IChannelAudioVolume { pub unsafe fn GetChannelCount < > ( & self , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn SetChannelVolume < > ( & self , dwindex : u32 , flevel : f32 , eventcontext : * const :: windows :: Guid , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwindex ) , :: std :: mem :: transmute ( flevel ) , :: std :: mem :: transmute ( eventcontext ) , ) . ok ( ) } pub unsafe fn GetChannelVolume < > ( & self , dwindex : u32 , ) -> :: windows :: Result < f32 > { let mut result__ : < f32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwindex ) , & mut result__ ) . from_abi :: < f32 > ( result__ ) } pub unsafe fn SetAllVolumes < > ( & self , dwcount : u32 , pfvolumes : * const f32 , eventcontext : * const :: windows :: Guid , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwcount ) , :: std :: mem :: transmute ( pfvolumes ) , :: std :: mem :: transmute ( eventcontext ) , ) . ok ( ) } pub unsafe fn GetAllVolumes < > ( & self , dwcount : u32 , pfvolumes : * mut f32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwcount ) , :: std :: mem :: transmute ( pfvolumes ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IChannelAudioVolume { type Vtable = IChannelAudioVolume_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 471173217 ,46387 ,19248 , [ 177 ,207 ,232 ,83 ,229 ,28 ,89 ,184 ] , ) ; } impl :: std :: convert :: From < IChannelAudioVolume > for :: windows :: IUnknown { fn from ( value : IChannelAudioVolume ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IChannelAudioVolume > for :: windows :: IUnknown { fn from ( value : & IChannelAudioVolume ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IChannelAudioVolume { 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 IChannelAudioVolume { 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 IChannelAudioVolume_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 , pdwcount : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwindex : u32 , flevel : f32 , eventcontext : * const :: windows :: Guid , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwindex : u32 , pflevel : * mut f32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwcount : u32 , pfvolumes : * const f32 , eventcontext : * const :: windows :: Guid , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwcount : u32 , pfvolumes : * mut f32 , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IConnector ( :: windows :: IUnknown ) ; impl IConnector { pub unsafe fn GetType < > ( & self , ) -> :: windows :: Result < ConnectorType > { let mut result__ : < ConnectorType as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < ConnectorType > ( result__ ) } pub unsafe fn GetDataFlow < > ( & self , ) -> :: windows :: Result < DataFlow > { let mut result__ : < DataFlow as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < DataFlow > ( result__ ) } pub unsafe fn ConnectTo < 'a , > ( & self , pconnectto : impl :: windows :: IntoParam < 'a , IConnector > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , pconnectto . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn Disconnect < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn IsConnected < > ( & self , ) -> :: windows :: Result < super::super::super::Foundation:: BOOL > { let mut result__ : < super::super::super::Foundation:: BOOL as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < super::super::super::Foundation:: BOOL > ( result__ ) } pub unsafe fn GetConnectedTo < > ( & self , ) -> :: windows :: Result < IConnector > { let mut result__ : < IConnector as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < IConnector > ( result__ ) } pub unsafe fn GetConnectorIdConnectedTo < > ( & self , ) -> :: windows :: Result < super::super::super::Foundation:: PWSTR > { let mut result__ : < super::super::super::Foundation:: PWSTR as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < super::super::super::Foundation:: PWSTR > ( result__ ) } pub unsafe fn GetDeviceIdConnectedTo < > ( & self , ) -> :: windows :: Result < super::super::super::Foundation:: PWSTR > { let mut result__ : < super::super::super::Foundation:: PWSTR as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < super::super::super::Foundation:: PWSTR > ( result__ ) } } unsafe impl :: windows :: Interface for IConnector { type Vtable = IConnector_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2620145752 ,9205 ,16862 , [ 135 ,122 ,223 ,58 ,242 ,54 ,160 ,158 ] , ) ; } impl :: std :: convert :: From < IConnector > for :: windows :: IUnknown { fn from ( value : IConnector ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IConnector > for :: windows :: IUnknown { fn from ( value : & IConnector ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IConnector { 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 IConnector { 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 IConnector_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 , ptype : * mut ConnectorType , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pflow : * mut DataFlow , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pconnectto : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pbconnected : * mut super::super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppconto : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppwstrconnectorid : * mut super::super::super::Foundation:: PWSTR , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppwstrdeviceid : * mut super::super::super::Foundation:: PWSTR , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IControlChangeNotify ( :: windows :: IUnknown ) ; impl IControlChangeNotify { pub unsafe fn OnNotify < > ( & self , dwsenderprocessid : u32 , pguideventcontext : * const :: windows :: Guid , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwsenderprocessid ) , :: std :: mem :: transmute ( pguideventcontext ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IControlChangeNotify { type Vtable = IControlChangeNotify_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2694124525 ,50953 ,19745 , [ 189 ,123 ,95 ,52 ,196 ,127 ,57 ,71 ] , ) ; } impl :: std :: convert :: From < IControlChangeNotify > for :: windows :: IUnknown { fn from ( value : IControlChangeNotify ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IControlChangeNotify > for :: windows :: IUnknown { fn from ( value : & IControlChangeNotify ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IControlChangeNotify { 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 IControlChangeNotify { 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 IControlChangeNotify_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 , dwsenderprocessid : u32 , pguideventcontext : * const :: windows :: Guid , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IControlInterface ( :: windows :: IUnknown ) ; impl IControlInterface { pub unsafe fn GetName < > ( & self , ) -> :: windows :: Result < super::super::super::Foundation:: PWSTR > { let mut result__ : < super::super::super::Foundation:: PWSTR as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < super::super::super::Foundation:: PWSTR > ( result__ ) } pub unsafe fn GetIID < > ( & self , ) -> :: windows :: Result < :: windows :: Guid > { let mut result__ : < :: windows :: Guid as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < :: windows :: Guid > ( result__ ) } } unsafe impl :: windows :: Interface for IControlInterface { type Vtable = IControlInterface_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 1171487807 ,20800 ,17482 , [ 174 ,36 ,64 ,7 ,137 ,243 ,203 ,243 ] , ) ; } impl :: std :: convert :: From < IControlInterface > for :: windows :: IUnknown { fn from ( value : IControlInterface ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IControlInterface > for :: windows :: IUnknown { fn from ( value : & IControlInterface ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IControlInterface { 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 IControlInterface { 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 IControlInterface_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 , ppwstrname : * mut super::super::super::Foundation:: PWSTR , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , piid : * mut :: windows :: Guid , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IDeviceSpecificProperty ( :: windows :: IUnknown ) ; impl IDeviceSpecificProperty { pub unsafe fn GetType < > ( & self , ) -> :: windows :: Result < u16 > { let mut result__ : < u16 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < u16 > ( result__ ) } pub unsafe fn GetValue < > ( & self , pvvalue : * mut :: std :: ffi :: c_void , pcbvalue : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pvvalue ) , :: std :: mem :: transmute ( pcbvalue ) , ) . ok ( ) } pub unsafe fn SetValue < > ( & self , pvvalue : * mut :: std :: ffi :: c_void , cbvalue : u32 , pguideventcontext : * const :: windows :: Guid , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pvvalue ) , :: std :: mem :: transmute ( cbvalue ) , :: std :: mem :: transmute ( pguideventcontext ) , ) . ok ( ) } pub unsafe fn Get4BRange < > ( & self , plmin : * mut i32 , plmax : * mut i32 , plstepping : * mut i32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( plmin ) , :: std :: mem :: transmute ( plmax ) , :: std :: mem :: transmute ( plstepping ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IDeviceSpecificProperty { type Vtable = IDeviceSpecificProperty_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 992132287 ,9606 ,19184 , [ 133 ,131 ,32 ,93 ,57 ,27 ,128 ,124 ] , ) ; } impl :: std :: convert :: From < IDeviceSpecificProperty > for :: windows :: IUnknown { fn from ( value : IDeviceSpecificProperty ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IDeviceSpecificProperty > for :: windows :: IUnknown { fn from ( value : & IDeviceSpecificProperty ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IDeviceSpecificProperty { 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 IDeviceSpecificProperty { 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 IDeviceSpecificProperty_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 , pvtype : * mut u16 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pvvalue : * mut :: std :: ffi :: c_void , pcbvalue : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pvvalue : * mut :: std :: ffi :: c_void , cbvalue : u32 , pguideventcontext : * const :: windows :: Guid , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , plmin : * mut i32 , plmax : * mut i32 , plstepping : * mut i32 , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IDeviceTopology ( :: windows :: IUnknown ) ; impl IDeviceTopology { pub unsafe fn GetConnectorCount < > ( & self , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn GetConnector < > ( & self , nindex : u32 , ) -> :: windows :: Result < IConnector > { let mut result__ : < IConnector as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( nindex ) , & mut result__ ) . from_abi :: < IConnector > ( result__ ) } pub unsafe fn GetSubunitCount < > ( & self , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn GetSubunit < > ( & self , nindex : u32 , ) -> :: windows :: Result < ISubunit > { let mut result__ : < ISubunit as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( nindex ) , & mut result__ ) . from_abi :: < ISubunit > ( result__ ) } pub unsafe fn GetPartById < > ( & self , nid : u32 , ) -> :: windows :: Result < IPart > { let mut result__ : < IPart as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( nid ) , & mut result__ ) . from_abi :: < IPart > ( result__ ) } pub unsafe fn GetDeviceId < > ( & self , ) -> :: windows :: Result < super::super::super::Foundation:: PWSTR > { let mut result__ : < super::super::super::Foundation:: PWSTR as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < super::super::super::Foundation:: PWSTR > ( result__ ) } pub unsafe fn GetSignalPath < 'a , > ( & self , pipartfrom : impl :: windows :: IntoParam < 'a , IPart > , pipartto : impl :: windows :: IntoParam < 'a , IPart > , brejectmixedpaths : impl :: windows :: IntoParam < 'a , super::super::super::Foundation:: BOOL > , ) -> :: windows :: Result < IPartsList > { let mut result__ : < IPartsList as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , pipartfrom . into_param ( ) . abi ( ) , pipartto . into_param ( ) . abi ( ) , brejectmixedpaths . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < IPartsList > ( result__ ) } } unsafe impl :: windows :: Interface for IDeviceTopology { type Vtable = IDeviceTopology_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 705118334 ,25751 ,18968 , [ 151 ,135 ,50 ,247 ,155 ,208 ,217 ,143 ] , ) ; } impl :: std :: convert :: From < IDeviceTopology > for :: windows :: IUnknown { fn from ( value : IDeviceTopology ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IDeviceTopology > for :: windows :: IUnknown { fn from ( value : & IDeviceTopology ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IDeviceTopology { 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 IDeviceTopology { 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 IDeviceTopology_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 , pcount : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , nindex : u32 , ppconnector : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pcount : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , nindex : u32 , ppsubunit : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , nid : u32 , pppart : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppwstrdeviceid : * mut super::super::super::Foundation:: PWSTR , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pipartfrom : :: windows :: RawPtr , pipartto : :: windows :: RawPtr , brejectmixedpaths : super::super::super::Foundation:: BOOL , ppparts : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IHardwareAudioEngineBase ( :: windows :: IUnknown ) ; impl IHardwareAudioEngineBase { pub unsafe fn GetAvailableOffloadConnectorCount < 'a , > ( & self , _pwstrdeviceid : impl :: windows :: IntoParam < 'a , super::super::super::Foundation:: PWSTR > , _uconnectorid : u32 , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , _pwstrdeviceid . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( _uconnectorid ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn GetEngineFormat < 'a , > ( & self , pdevice : impl :: windows :: IntoParam < 'a , IMMDevice > , _brequestdeviceformat : impl :: windows :: IntoParam < 'a , super::super::super::Foundation:: BOOL > , _ppwfxformat : * mut * mut super::super::Multimedia:: WAVEFORMATEX , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , pdevice . into_param ( ) . abi ( ) , _brequestdeviceformat . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( _ppwfxformat ) , ) . ok ( ) } pub unsafe fn SetEngineDeviceFormat < 'a , > ( & self , pdevice : impl :: windows :: IntoParam < 'a , IMMDevice > , _pwfxformat : * mut super::super::Multimedia:: WAVEFORMATEX , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , pdevice . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( _pwfxformat ) , ) . ok ( ) } pub unsafe fn SetGfxState < 'a , > ( & self , pdevice : impl :: windows :: IntoParam < 'a , IMMDevice > , _benable : impl :: windows :: IntoParam < 'a , super::super::super::Foundation:: BOOL > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , pdevice . into_param ( ) . abi ( ) , _benable . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn GetGfxState < 'a , > ( & self , pdevice : impl :: windows :: IntoParam < 'a , IMMDevice > , ) -> :: windows :: Result < super::super::super::Foundation:: BOOL > { let mut result__ : < super::super::super::Foundation:: BOOL as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , pdevice . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < super::super::super::Foundation:: BOOL > ( result__ ) } } unsafe impl :: windows :: Interface for IHardwareAudioEngineBase { type Vtable = IHardwareAudioEngineBase_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3990676452 ,62401 ,17722 , [ 180 ,97 ,34 ,53 ,99 ,203 ,216 ,134 ] , ) ; } impl :: std :: convert :: From < IHardwareAudioEngineBase > for :: windows :: IUnknown { fn from ( value : IHardwareAudioEngineBase ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IHardwareAudioEngineBase > for :: windows :: IUnknown { fn from ( value : & IHardwareAudioEngineBase ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IHardwareAudioEngineBase { 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 IHardwareAudioEngineBase { 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 IHardwareAudioEngineBase_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 , _pwstrdeviceid : super::super::super::Foundation:: PWSTR , _uconnectorid : u32 , _pavailableconnectorinstancecount : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pdevice : :: windows :: RawPtr , _brequestdeviceformat : super::super::super::Foundation:: BOOL , _ppwfxformat : * mut * mut super::super::Multimedia:: WAVEFORMATEX , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pdevice : :: windows :: RawPtr , _pwfxformat : * mut super::super::Multimedia:: WAVEFORMATEX , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pdevice : :: windows :: RawPtr , _benable : super::super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pdevice : :: windows :: RawPtr , _pbenable : * mut super::super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IKsFormatSupport ( :: windows :: IUnknown ) ; impl IKsFormatSupport { pub unsafe fn IsFormatSupported < > ( & self , pksformat : * mut KSDATAFORMAT , cbformat : u32 , pbsupported : * mut super::super::super::Foundation:: BOOL , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pksformat ) , :: std :: mem :: transmute ( cbformat ) , :: std :: mem :: transmute ( pbsupported ) , ) . ok ( ) } pub unsafe fn GetDevicePreferredFormat < > ( & self , ) -> :: windows :: Result < * mut KSDATAFORMAT > { let mut result__ : < * mut KSDATAFORMAT as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < * mut KSDATAFORMAT > ( result__ ) } } unsafe impl :: windows :: Interface for IKsFormatSupport { type Vtable = IKsFormatSupport_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 1018472093 ,47983 ,19755 , [ 149 ,183 ,69 ,45 ,44 ,21 ,93 ,181 ] , ) ; } impl :: std :: convert :: From < IKsFormatSupport > for :: windows :: IUnknown { fn from ( value : IKsFormatSupport ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IKsFormatSupport > for :: windows :: IUnknown { fn from ( value : & IKsFormatSupport ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IKsFormatSupport { 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 IKsFormatSupport { 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 IKsFormatSupport_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 , pksformat : * mut KSDATAFORMAT , cbformat : u32 , pbsupported : * mut super::super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppksformat : * mut * mut KSDATAFORMAT , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IKsJackContainerId ( :: windows :: IUnknown ) ; impl IKsJackContainerId { pub unsafe fn GetJackContainerId < > ( & self , ) -> :: windows :: Result < :: windows :: Guid > { let mut result__ : < :: windows :: Guid as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < :: windows :: Guid > ( result__ ) } } unsafe impl :: windows :: Interface for IKsJackContainerId { type Vtable = IKsJackContainerId_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3382375523 ,54825 ,20164 , [ 140 ,0 ,229 ,77 ,104 ,21 ,66 ,72 ] , ) ; } impl :: std :: convert :: From < IKsJackContainerId > for :: windows :: IUnknown { fn from ( value : IKsJackContainerId ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IKsJackContainerId > for :: windows :: IUnknown { fn from ( value : & IKsJackContainerId ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IKsJackContainerId { 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 IKsJackContainerId { 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 IKsJackContainerId_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 , pjackcontainerid : * mut :: windows :: Guid , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IKsJackDescription ( :: windows :: IUnknown ) ; impl IKsJackDescription { pub unsafe fn GetJackCount < > ( & self , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn GetJackDescription < > ( & self , njack : u32 , ) -> :: windows :: Result < KSJACK_DESCRIPTION > { let mut result__ : < KSJACK_DESCRIPTION as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( njack ) , & mut result__ ) . from_abi :: < KSJACK_DESCRIPTION > ( result__ ) } } unsafe impl :: windows :: Interface for IKsJackDescription { type Vtable = IKsJackDescription_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 1158281047 ,11590 ,17975 , [ 142 ,98 ,206 ,125 ,185 ,68 ,245 ,123 ] , ) ; } impl :: std :: convert :: From < IKsJackDescription > for :: windows :: IUnknown { fn from ( value : IKsJackDescription ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IKsJackDescription > for :: windows :: IUnknown { fn from ( value : & IKsJackDescription ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IKsJackDescription { 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 IKsJackDescription { 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 IKsJackDescription_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 , pcjacks : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , njack : u32 , pdescription : * mut KSJACK_DESCRIPTION , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IKsJackDescription2 ( :: windows :: IUnknown ) ; impl IKsJackDescription2 { pub unsafe fn GetJackCount < > ( & self , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn GetJackDescription2 < > ( & self , njack : u32 , ) -> :: windows :: Result < KSJACK_DESCRIPTION2 > { let mut result__ : < KSJACK_DESCRIPTION2 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( njack ) , & mut result__ ) . from_abi :: < KSJACK_DESCRIPTION2 > ( result__ ) } } unsafe impl :: windows :: Interface for IKsJackDescription2 { type Vtable = IKsJackDescription2_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 1200568987 ,57545 ,18471 , [ 146 ,40 ,111 ,85 ,5 ,255 ,231 ,106 ] , ) ; } impl :: std :: convert :: From < IKsJackDescription2 > for :: windows :: IUnknown { fn from ( value : IKsJackDescription2 ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IKsJackDescription2 > for :: windows :: IUnknown { fn from ( value : & IKsJackDescription2 ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IKsJackDescription2 { 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 IKsJackDescription2 { 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 IKsJackDescription2_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 , pcjacks : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , njack : u32 , pdescription2 : * mut KSJACK_DESCRIPTION2 , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IKsJackSinkInformation ( :: windows :: IUnknown ) ; impl IKsJackSinkInformation { pub unsafe fn GetJackSinkInformation < > ( & self , ) -> :: windows :: Result < KSJACK_SINK_INFORMATION > { let mut result__ : < KSJACK_SINK_INFORMATION as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < KSJACK_SINK_INFORMATION > ( result__ ) } } unsafe impl :: windows :: Interface for IKsJackSinkInformation { type Vtable = IKsJackSinkInformation_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3653071597 ,10511 ,17793 , [ 159 ,243 ,97 ,2 ,122 ,143 ,229 ,50 ] , ) ; } impl :: std :: convert :: From < IKsJackSinkInformation > for :: windows :: IUnknown { fn from ( value : IKsJackSinkInformation ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IKsJackSinkInformation > for :: windows :: IUnknown { fn from ( value : & IKsJackSinkInformation ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IKsJackSinkInformation { 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 IKsJackSinkInformation { 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 IKsJackSinkInformation_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 , pjacksinkinformation : * mut KSJACK_SINK_INFORMATION , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IMMDevice ( :: windows :: IUnknown ) ; impl IMMDevice { pub unsafe fn Activate < > ( & self , iid : * const :: windows :: Guid , dwclsctx : u32 , pactivationparams : * mut super::super::super::Storage::StructuredStorage:: PROPVARIANT , ppinterface : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( iid ) , :: std :: mem :: transmute ( dwclsctx ) , :: std :: mem :: transmute ( pactivationparams ) , :: std :: mem :: transmute ( ppinterface ) , ) . ok ( ) } pub unsafe fn OpenPropertyStore < > ( & self , stgmaccess : u32 , ) -> :: windows :: Result < super::super::super::System::PropertiesSystem:: IPropertyStore > { let mut result__ : < super::super::super::System::PropertiesSystem:: IPropertyStore as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( stgmaccess ) , & mut result__ ) . from_abi :: < super::super::super::System::PropertiesSystem:: IPropertyStore > ( result__ ) } pub unsafe fn GetId < > ( & self , ) -> :: windows :: Result < super::super::super::Foundation:: PWSTR > { let mut result__ : < super::super::super::Foundation:: PWSTR as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < super::super::super::Foundation:: PWSTR > ( result__ ) } pub unsafe fn GetState < > ( & self , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } } unsafe impl :: windows :: Interface for IMMDevice { type Vtable = IMMDevice_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3597010495 ,5511 ,20035 , [ 129 ,241 ,185 ,72 ,232 ,7 ,54 ,63 ] , ) ; } impl :: std :: convert :: From < IMMDevice > for :: windows :: IUnknown { fn from ( value : IMMDevice ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IMMDevice > for :: windows :: IUnknown { fn from ( value : & IMMDevice ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IMMDevice { 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 IMMDevice { 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 IMMDevice_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 , iid : * const :: windows :: Guid , dwclsctx : u32 , pactivationparams : * mut super::super::super::Storage::StructuredStorage:: PROPVARIANT_abi , ppinterface : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , stgmaccess : u32 , ppproperties : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppstrid : * mut super::super::super::Foundation:: PWSTR , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pdwstate : * mut u32 , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IMMDeviceActivator ( :: windows :: IUnknown ) ; impl IMMDeviceActivator { pub unsafe fn Activate < 'a , > ( & self , iid : * const :: windows :: Guid , pdevice : impl :: windows :: IntoParam < 'a , IMMDevice > , pactivationparams : * mut super::super::super::Storage::StructuredStorage:: PROPVARIANT , ppinterface : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( iid ) , pdevice . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pactivationparams ) , :: std :: mem :: transmute ( ppinterface ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IMMDeviceActivator { type Vtable = IMMDeviceActivator_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 990711460 ,53417 ,19214 , [ 147 ,91 ,9 ,81 ,103 ,70 ,250 ,192 ] , ) ; } impl :: std :: convert :: From < IMMDeviceActivator > for :: windows :: IUnknown { fn from ( value : IMMDeviceActivator ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IMMDeviceActivator > for :: windows :: IUnknown { fn from ( value : & IMMDeviceActivator ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IMMDeviceActivator { 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 IMMDeviceActivator { 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 IMMDeviceActivator_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 , iid : * const :: windows :: Guid , pdevice : :: windows :: RawPtr , pactivationparams : * mut super::super::super::Storage::StructuredStorage:: PROPVARIANT_abi , ppinterface : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IMMDeviceCollection ( :: windows :: IUnknown ) ; impl IMMDeviceCollection { pub unsafe fn GetCount < > ( & self , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn Item < > ( & self , ndevice : u32 , ) -> :: windows :: Result < IMMDevice > { let mut result__ : < IMMDevice as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ndevice ) , & mut result__ ) . from_abi :: < IMMDevice > ( result__ ) } } unsafe impl :: windows :: Interface for IMMDeviceCollection { type Vtable = IMMDeviceCollection_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 198681022 ,31258 ,17627 , [ 131 ,151 ,204 ,83 ,146 ,56 ,123 ,94 ] , ) ; } impl :: std :: convert :: From < IMMDeviceCollection > for :: windows :: IUnknown { fn from ( value : IMMDeviceCollection ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IMMDeviceCollection > for :: windows :: IUnknown { fn from ( value : & IMMDeviceCollection ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IMMDeviceCollection { 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 IMMDeviceCollection { 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 IMMDeviceCollection_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 , pcdevices : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ndevice : u32 , ppdevice : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IMMDeviceEnumerator ( :: windows :: IUnknown ) ; impl IMMDeviceEnumerator { pub unsafe fn EnumAudioEndpoints < > ( & self , dataflow : EDataFlow , dwstatemask : u32 , ) -> :: windows :: Result < IMMDeviceCollection > { let mut result__ : < IMMDeviceCollection as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dataflow ) , :: std :: mem :: transmute ( dwstatemask ) , & mut result__ ) . from_abi :: < IMMDeviceCollection > ( result__ ) } pub unsafe fn GetDefaultAudioEndpoint < > ( & self , dataflow : EDataFlow , role : ERole , ) -> :: windows :: Result < IMMDevice > { let mut result__ : < IMMDevice as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dataflow ) , :: std :: mem :: transmute ( role ) , & mut result__ ) . from_abi :: < IMMDevice > ( result__ ) } pub unsafe fn GetDevice < 'a , > ( & self , pwstrid : impl :: windows :: IntoParam < 'a , super::super::super::Foundation:: PWSTR > , ) -> :: windows :: Result < IMMDevice > { let mut result__ : < IMMDevice as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , pwstrid . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < IMMDevice > ( result__ ) } pub unsafe fn RegisterEndpointNotificationCallback < 'a , > ( & self , pclient : impl :: windows :: IntoParam < 'a , IMMNotificationClient > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , pclient . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn UnregisterEndpointNotificationCallback < 'a , > ( & self , pclient : impl :: windows :: IntoParam < 'a , IMMNotificationClient > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , pclient . into_param ( ) . abi ( ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IMMDeviceEnumerator { type Vtable = IMMDeviceEnumerator_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2841011410 ,38420 ,20277 , [ 167 ,70 ,222 ,141 ,182 ,54 ,23 ,230 ] , ) ; } impl :: std :: convert :: From < IMMDeviceEnumerator > for :: windows :: IUnknown { fn from ( value : IMMDeviceEnumerator ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IMMDeviceEnumerator > for :: windows :: IUnknown { fn from ( value : & IMMDeviceEnumerator ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IMMDeviceEnumerator { 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 IMMDeviceEnumerator { 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 IMMDeviceEnumerator_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 , dataflow : EDataFlow , dwstatemask : u32 , ppdevices : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dataflow : EDataFlow , role : ERole , ppendpoint : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pwstrid : super::super::super::Foundation:: PWSTR , ppdevice : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pclient : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pclient : :: windows :: RawPtr , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IMMEndpoint ( :: windows :: IUnknown ) ; impl IMMEndpoint { pub unsafe fn GetDataFlow < > ( & self , ) -> :: windows :: Result < EDataFlow > { let mut result__ : < EDataFlow as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < EDataFlow > ( result__ ) } } unsafe impl :: windows :: Interface for IMMEndpoint { type Vtable = IMMEndpoint_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 467703688 ,26772 ,16521 , [ 133 ,134 ,154 ,42 ,108 ,38 ,90 ,197 ] , ) ; } impl :: std :: convert :: From < IMMEndpoint > for :: windows :: IUnknown { fn from ( value : IMMEndpoint ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IMMEndpoint > for :: windows :: IUnknown { fn from ( value : & IMMEndpoint ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IMMEndpoint { 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 IMMEndpoint { 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 IMMEndpoint_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 , pdataflow : * mut EDataFlow , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IMMNotificationClient ( :: windows :: IUnknown ) ; impl IMMNotificationClient { pub unsafe fn OnDeviceStateChanged < 'a , > ( & self , pwstrdeviceid : impl :: windows :: IntoParam < 'a , super::super::super::Foundation:: PWSTR > , dwnewstate : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , pwstrdeviceid . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwnewstate ) , ) . ok ( ) } pub unsafe fn OnDeviceAdded < 'a , > ( & self , pwstrdeviceid : impl :: windows :: IntoParam < 'a , super::super::super::Foundation:: PWSTR > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , pwstrdeviceid . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn OnDeviceRemoved < 'a , > ( & self , pwstrdeviceid : impl :: windows :: IntoParam < 'a , super::super::super::Foundation:: PWSTR > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , pwstrdeviceid . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn OnDefaultDeviceChanged < 'a , > ( & self , flow : EDataFlow , role : ERole , pwstrdefaultdeviceid : impl :: windows :: IntoParam < 'a , super::super::super::Foundation:: PWSTR > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( flow ) , :: std :: mem :: transmute ( role ) , pwstrdefaultdeviceid . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn OnPropertyValueChanged < 'a , > ( & self , pwstrdeviceid : impl :: windows :: IntoParam < 'a , super::super::super::Foundation:: PWSTR > , key : impl :: windows :: IntoParam < 'a , super::super::super::System::PropertiesSystem:: PROPERTYKEY > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , pwstrdeviceid . into_param ( ) . abi ( ) , key . into_param ( ) . abi ( ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IMMNotificationClient { type Vtable = IMMNotificationClient_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2039606985 ,32393 ,19845 , [ 131 ,144 ,108 ,112 ,60 ,236 ,96 ,192 ] , ) ; } impl :: std :: convert :: From < IMMNotificationClient > for :: windows :: IUnknown { fn from ( value : IMMNotificationClient ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IMMNotificationClient > for :: windows :: IUnknown { fn from ( value : & IMMNotificationClient ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IMMNotificationClient { 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 IMMNotificationClient { 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 IMMNotificationClient_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 , pwstrdeviceid : super::super::super::Foundation:: PWSTR , dwnewstate : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pwstrdeviceid : super::super::super::Foundation:: PWSTR , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pwstrdeviceid : super::super::super::Foundation:: PWSTR , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , flow : EDataFlow , role : ERole , pwstrdefaultdeviceid : super::super::super::Foundation:: PWSTR , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pwstrdeviceid : super::super::super::Foundation:: PWSTR , key : super::super::super::System::PropertiesSystem:: PROPERTYKEY , ) -> :: windows :: HRESULT , ) ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct INTERLEAVED_AUDIO_FORMAT_INFORMATION { pub Size : u32 , pub PrimaryChannelCount : u32 , pub PrimaryChannelStartPosition : u32 , pub PrimaryChannelMask : u32 , pub InterleavedChannelCount : u32 , pub InterleavedChannelStartPosition : u32 , pub InterleavedChannelMask : u32 } impl INTERLEAVED_AUDIO_FORMAT_INFORMATION { } impl :: std :: default :: Default for INTERLEAVED_AUDIO_FORMAT_INFORMATION { fn default ( ) -> Self { Self { Size : 0 , PrimaryChannelCount : 0 , PrimaryChannelStartPosition : 0 , PrimaryChannelMask : 0 , InterleavedChannelCount : 0 , InterleavedChannelStartPosition : 0 , InterleavedChannelMask : 0 } } } impl :: std :: fmt :: Debug for INTERLEAVED_AUDIO_FORMAT_INFORMATION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "INTERLEAVED_AUDIO_FORMAT_INFORMATION" ) . field ( "Size" , & self . Size ) . field ( "PrimaryChannelCount" , & self . PrimaryChannelCount ) . field ( "PrimaryChannelStartPosition" , & self . PrimaryChannelStartPosition ) . field ( "PrimaryChannelMask" , & self . PrimaryChannelMask ) . field ( "InterleavedChannelCount" , & self . InterleavedChannelCount ) . field ( "InterleavedChannelStartPosition" , & self . InterleavedChannelStartPosition ) . field ( "InterleavedChannelMask" , & self . InterleavedChannelMask ) . finish ( ) } } impl :: std :: cmp :: PartialEq for INTERLEAVED_AUDIO_FORMAT_INFORMATION { fn eq ( & self , other : & Self ) -> bool { self . Size == other . Size && self . PrimaryChannelCount == other . PrimaryChannelCount && self . PrimaryChannelStartPosition == other . PrimaryChannelStartPosition && self . PrimaryChannelMask == other . PrimaryChannelMask && self . InterleavedChannelCount == other . InterleavedChannelCount && self . InterleavedChannelStartPosition == other . InterleavedChannelStartPosition && self . InterleavedChannelMask == other . InterleavedChannelMask } } impl :: std :: cmp :: Eq for INTERLEAVED_AUDIO_FORMAT_INFORMATION { } unsafe impl :: windows :: Abi for INTERLEAVED_AUDIO_FORMAT_INFORMATION { type Abi = Self ; type DefaultType = Self ; } pub const IOCTL_KS_DISABLE_EVENT : u32 = 3080203u32 ; pub const IOCTL_KS_ENABLE_EVENT : u32 = 3080199u32 ; pub const IOCTL_KS_HANDSHAKE : u32 = 3080223u32 ; pub const IOCTL_KS_METHOD : u32 = 3080207u32 ; pub const IOCTL_KS_PROPERTY : u32 = 3080195u32 ; pub const IOCTL_KS_READ_STREAM : u32 = 3096599u32 ; pub const IOCTL_KS_RESET_STATE : u32 = 3080219u32 ; pub const IOCTL_KS_WRITE_STREAM : u32 = 3112979u32 ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IPart ( :: windows :: IUnknown ) ; impl IPart { pub unsafe fn GetName < > ( & self , ) -> :: windows :: Result < super::super::super::Foundation:: PWSTR > { let mut result__ : < super::super::super::Foundation:: PWSTR as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < super::super::super::Foundation:: PWSTR > ( result__ ) } pub unsafe fn GetLocalId < > ( & self , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn GetGlobalId < > ( & self , ) -> :: windows :: Result < super::super::super::Foundation:: PWSTR > { let mut result__ : < super::super::super::Foundation:: PWSTR as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < super::super::super::Foundation:: PWSTR > ( result__ ) } pub unsafe fn GetPartType < > ( & self , ) -> :: windows :: Result < PartType > { let mut result__ : < PartType as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < PartType > ( result__ ) } pub unsafe fn GetSubType < > ( & self , ) -> :: windows :: Result < :: windows :: Guid > { let mut result__ : < :: windows :: Guid as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < :: windows :: Guid > ( result__ ) } pub unsafe fn GetControlInterfaceCount < > ( & self , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn GetControlInterface < > ( & self , nindex : u32 , ) -> :: windows :: Result < IControlInterface > { let mut result__ : < IControlInterface as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( nindex ) , & mut result__ ) . from_abi :: < IControlInterface > ( result__ ) } pub unsafe fn EnumPartsIncoming < > ( & self , ) -> :: windows :: Result < IPartsList > { let mut result__ : < IPartsList as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < IPartsList > ( result__ ) } pub unsafe fn EnumPartsOutgoing < > ( & self , ) -> :: windows :: Result < IPartsList > { let mut result__ : < IPartsList as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .11 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < IPartsList > ( result__ ) } pub unsafe fn GetTopologyObject < > ( & self , ) -> :: windows :: Result < IDeviceTopology > { let mut result__ : < IDeviceTopology as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .12 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < IDeviceTopology > ( result__ ) } pub unsafe fn Activate < T : :: windows :: Interface > ( & self , dwclscontext : u32 , ) -> :: windows :: Result < T > { let mut result__ = :: std :: option :: Option :: None ; ( :: windows :: Interface :: vtable ( self ) .13 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwclscontext ) , & < T as :: windows :: Interface > :: IID , :: windows :: Abi :: set_abi ( & mut result__ ) ) . and_some ( result__ ) } pub unsafe fn RegisterControlChangeCallback < 'a , > ( & self , riid : * const :: windows :: Guid , pnotify : impl :: windows :: IntoParam < 'a , IControlChangeNotify > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .14 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( riid ) , pnotify . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn UnregisterControlChangeCallback < 'a , > ( & self , pnotify : impl :: windows :: IntoParam < 'a , IControlChangeNotify > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .15 ) ( :: windows :: Abi :: abi ( self ) , pnotify . into_param ( ) . abi ( ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IPart { type Vtable = IPart_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2922242276 ,23498 ,20269 , [ 170 ,70 ,93 ,19 ,248 ,253 ,179 ,169 ] , ) ; } impl :: std :: convert :: From < IPart > for :: windows :: IUnknown { fn from ( value : IPart ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IPart > for :: windows :: IUnknown { fn from ( value : & IPart ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IPart { 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 IPart { 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 IPart_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 , ppwstrname : * mut super::super::super::Foundation:: PWSTR , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pnid : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppwstrglobalid : * mut super::super::super::Foundation:: PWSTR , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pparttype : * mut PartType , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , psubtype : * mut :: windows :: Guid , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pcount : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , nindex : u32 , ppinterfacedesc : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppparts : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppparts : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pptopology : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwclscontext : u32 , refiid : * const :: windows :: Guid , ppvobject : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , riid : * const :: windows :: Guid , pnotify : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pnotify : :: windows :: RawPtr , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IPartsList ( :: windows :: IUnknown ) ; impl IPartsList { pub unsafe fn GetCount < > ( & self , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn GetPart < > ( & self , nindex : u32 , ) -> :: windows :: Result < IPart > { let mut result__ : < IPart as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( nindex ) , & mut result__ ) . from_abi :: < IPart > ( result__ ) } } unsafe impl :: windows :: Interface for IPartsList { type Vtable = IPartsList_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 1839891596 ,24240 ,17868 , [ 174 ,165 ,153 ,138 ,44 ,218 ,31 ,251 ] , ) ; } impl :: std :: convert :: From < IPartsList > for :: windows :: IUnknown { fn from ( value : IPartsList ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IPartsList > for :: windows :: IUnknown { fn from ( value : & IPartsList ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IPartsList { 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 IPartsList { 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 IPartsList_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 , pcount : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , nindex : u32 , pppart : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IPerChannelDbLevel ( :: windows :: IUnknown ) ; impl IPerChannelDbLevel { pub unsafe fn GetChannelCount < > ( & self , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn GetLevelRange < > ( & self , nchannel : u32 , pfminleveldb : * mut f32 , pfmaxleveldb : * mut f32 , pfstepping : * mut f32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( nchannel ) , :: std :: mem :: transmute ( pfminleveldb ) , :: std :: mem :: transmute ( pfmaxleveldb ) , :: std :: mem :: transmute ( pfstepping ) , ) . ok ( ) } pub unsafe fn GetLevel < > ( & self , nchannel : u32 , ) -> :: windows :: Result < f32 > { let mut result__ : < f32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( nchannel ) , & mut result__ ) . from_abi :: < f32 > ( result__ ) } pub unsafe fn SetLevel < > ( & self , nchannel : u32 , fleveldb : f32 , pguideventcontext : * const :: windows :: Guid , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( nchannel ) , :: std :: mem :: transmute ( fleveldb ) , :: std :: mem :: transmute ( pguideventcontext ) , ) . ok ( ) } pub unsafe fn SetLevelUniform < > ( & self , fleveldb : f32 , pguideventcontext : * const :: windows :: Guid , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( fleveldb ) , :: std :: mem :: transmute ( pguideventcontext ) , ) . ok ( ) } pub unsafe fn SetLevelAllChannels < > ( & self , alevelsdb : * mut f32 , cchannels : u32 , pguideventcontext : * const :: windows :: Guid , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( alevelsdb ) , :: std :: mem :: transmute ( cchannels ) , :: std :: mem :: transmute ( pguideventcontext ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IPerChannelDbLevel { type Vtable = IPerChannelDbLevel_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3271090177 ,61957 ,19401 , [ 153 ,188 ,193 ,59 ,30 ,4 ,140 ,203 ] , ) ; } impl :: std :: convert :: From < IPerChannelDbLevel > for :: windows :: IUnknown { fn from ( value : IPerChannelDbLevel ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IPerChannelDbLevel > for :: windows :: IUnknown { fn from ( value : & IPerChannelDbLevel ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IPerChannelDbLevel { 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 IPerChannelDbLevel { 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 IPerChannelDbLevel_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 , pcchannels : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , nchannel : u32 , pfminleveldb : * mut f32 , pfmaxleveldb : * mut f32 , pfstepping : * mut f32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , nchannel : u32 , pfleveldb : * mut f32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , nchannel : u32 , fleveldb : f32 , pguideventcontext : * const :: windows :: Guid , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , fleveldb : f32 , pguideventcontext : * const :: windows :: Guid , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , alevelsdb : * mut f32 , cchannels : u32 , pguideventcontext : * const :: windows :: Guid , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct ISimpleAudioVolume ( :: windows :: IUnknown ) ; impl ISimpleAudioVolume { pub unsafe fn SetMasterVolume < > ( & self , flevel : f32 , eventcontext : * const :: windows :: Guid , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( flevel ) , :: std :: mem :: transmute ( eventcontext ) , ) . ok ( ) } pub unsafe fn GetMasterVolume < > ( & self , ) -> :: windows :: Result < f32 > { let mut result__ : < f32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < f32 > ( result__ ) } pub unsafe fn SetMute < 'a , > ( & self , bmute : impl :: windows :: IntoParam < 'a , super::super::super::Foundation:: BOOL > , eventcontext : * const :: windows :: Guid , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , bmute . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( eventcontext ) , ) . ok ( ) } pub unsafe fn GetMute < > ( & self , ) -> :: windows :: Result < super::super::super::Foundation:: BOOL > { let mut result__ : < super::super::super::Foundation:: BOOL as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < super::super::super::Foundation:: BOOL > ( result__ ) } } unsafe impl :: windows :: Interface for ISimpleAudioVolume { type Vtable = ISimpleAudioVolume_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2278446232 ,26838 ,17637 , [ 146 ,21 ,109 ,164 ,126 ,248 ,131 ,216 ] , ) ; } impl :: std :: convert :: From < ISimpleAudioVolume > for :: windows :: IUnknown { fn from ( value : ISimpleAudioVolume ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & ISimpleAudioVolume > for :: windows :: IUnknown { fn from ( value : & ISimpleAudioVolume ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for ISimpleAudioVolume { 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 ISimpleAudioVolume { 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 ISimpleAudioVolume_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 , flevel : f32 , eventcontext : * const :: windows :: Guid , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pflevel : * mut f32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , bmute : super::super::super::Foundation:: BOOL , eventcontext : * const :: windows :: Guid , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pbmute : * mut super::super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct ISpatialAudioClient ( :: windows :: IUnknown ) ; impl ISpatialAudioClient { pub unsafe fn GetStaticObjectPosition < > ( & self , r#type : AudioObjectType , x : * mut f32 , y : * mut f32 , z : * mut f32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( r#type ) , :: std :: mem :: transmute ( x ) , :: std :: mem :: transmute ( y ) , :: std :: mem :: transmute ( z ) , ) . ok ( ) } pub unsafe fn GetNativeStaticObjectTypeMask < > ( & self , ) -> :: windows :: Result < AudioObjectType > { let mut result__ : < AudioObjectType as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < AudioObjectType > ( result__ ) } pub unsafe fn GetMaxDynamicObjectCount < > ( & self , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn GetSupportedAudioObjectFormatEnumerator < > ( & self , ) -> :: windows :: Result < IAudioFormatEnumerator > { let mut result__ : < IAudioFormatEnumerator as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < IAudioFormatEnumerator > ( result__ ) } pub unsafe fn GetMaxFrameCount < > ( & self , objectformat : * const super::super::Multimedia:: WAVEFORMATEX , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( objectformat ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn IsAudioObjectFormatSupported < > ( & self , objectformat : * const super::super::Multimedia:: WAVEFORMATEX , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( objectformat ) , ) . ok ( ) } pub unsafe fn IsSpatialAudioStreamAvailable < > ( & self , streamuuid : * const :: windows :: Guid , auxiliaryinfo : * const super::super::super::Storage::StructuredStorage:: PROPVARIANT , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( streamuuid ) , :: std :: mem :: transmute ( auxiliaryinfo ) , ) . ok ( ) } pub unsafe fn ActivateSpatialAudioStream < T : :: windows :: Interface > ( & self , activationparams : * const super::super::super::Storage::StructuredStorage:: PROPVARIANT , ) -> :: windows :: Result < T > { let mut result__ = :: std :: option :: Option :: None ; ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( activationparams ) , & < T as :: windows :: Interface > :: IID , :: windows :: Abi :: set_abi ( & mut result__ ) ) . and_some ( result__ ) } } unsafe impl :: windows :: Interface for ISpatialAudioClient { type Vtable = ISpatialAudioClient_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3153649766 ,43690 ,18878 , [ 154 ,77 ,253 ,42 ,133 ,142 ,162 ,127 ] , ) ; } impl :: std :: convert :: From < ISpatialAudioClient > for :: windows :: IUnknown { fn from ( value : ISpatialAudioClient ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & ISpatialAudioClient > for :: windows :: IUnknown { fn from ( value : & ISpatialAudioClient ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for ISpatialAudioClient { 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 ISpatialAudioClient { 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 ISpatialAudioClient_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 , r#type : AudioObjectType , x : * mut f32 , y : * mut f32 , z : * mut f32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , mask : * mut AudioObjectType , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , enumerator : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , objectformat : * const super::super::Multimedia:: WAVEFORMATEX , framecountperbuffer : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , objectformat : * const super::super::Multimedia:: WAVEFORMATEX , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , streamuuid : * const :: windows :: Guid , auxiliaryinfo : * const super::super::super::Storage::StructuredStorage:: PROPVARIANT_abi , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , activationparams : * const super::super::super::Storage::StructuredStorage:: PROPVARIANT_abi , riid : * const :: windows :: Guid , stream : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct ISpatialAudioMetadataClient ( :: windows :: IUnknown ) ; impl ISpatialAudioMetadataClient { pub unsafe fn ActivateSpatialAudioMetadataItems < > ( & self , maxitemcount : u16 , framecount : u16 , metadataitemsbuffer : * mut :: std :: option :: Option < ISpatialAudioMetadataItemsBuffer > , metadataitems : * mut :: std :: option :: Option < ISpatialAudioMetadataItems > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( maxitemcount ) , :: std :: mem :: transmute ( framecount ) , :: std :: mem :: transmute ( metadataitemsbuffer ) , :: std :: mem :: transmute ( metadataitems ) , ) . ok ( ) } pub unsafe fn GetSpatialAudioMetadataItemsBufferLength < > ( & self , maxitemcount : u16 , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( maxitemcount ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn ActivateSpatialAudioMetadataWriter < > ( & self , overflowmode : SpatialAudioMetadataWriterOverflowMode , ) -> :: windows :: Result < ISpatialAudioMetadataWriter > { let mut result__ : < ISpatialAudioMetadataWriter as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( overflowmode ) , & mut result__ ) . from_abi :: < ISpatialAudioMetadataWriter > ( result__ ) } pub unsafe fn ActivateSpatialAudioMetadataCopier < > ( & self , ) -> :: windows :: Result < ISpatialAudioMetadataCopier > { let mut result__ : < ISpatialAudioMetadataCopier as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < ISpatialAudioMetadataCopier > ( result__ ) } pub unsafe fn ActivateSpatialAudioMetadataReader < > ( & self , ) -> :: windows :: Result < ISpatialAudioMetadataReader > { let mut result__ : < ISpatialAudioMetadataReader as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < ISpatialAudioMetadataReader > ( result__ ) } } unsafe impl :: windows :: Interface for ISpatialAudioMetadataClient { type Vtable = ISpatialAudioMetadataClient_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2004699707 ,63231 ,18982 , [ 133 ,220 ,104 ,215 ,205 ,237 ,161 ,212 ] , ) ; } impl :: std :: convert :: From < ISpatialAudioMetadataClient > for :: windows :: IUnknown { fn from ( value : ISpatialAudioMetadataClient ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & ISpatialAudioMetadataClient > for :: windows :: IUnknown { fn from ( value : & ISpatialAudioMetadataClient ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for ISpatialAudioMetadataClient { 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 ISpatialAudioMetadataClient { 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 ISpatialAudioMetadataClient_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 , maxitemcount : u16 , framecount : u16 , metadataitemsbuffer : * mut :: windows :: RawPtr , metadataitems : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , maxitemcount : u16 , bufferlength : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , overflowmode : SpatialAudioMetadataWriterOverflowMode , metadatawriter : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , metadatacopier : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , metadatareader : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct ISpatialAudioMetadataCopier ( :: windows :: IUnknown ) ; impl ISpatialAudioMetadataCopier { pub unsafe fn Open < 'a , > ( & self , metadataitems : impl :: windows :: IntoParam < 'a , ISpatialAudioMetadataItems > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , metadataitems . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn CopyMetadataForFrames < 'a , > ( & self , copyframecount : u16 , copymode : SpatialAudioMetadataCopyMode , dstmetadataitems : impl :: windows :: IntoParam < 'a , ISpatialAudioMetadataItems > , ) -> :: windows :: Result < u16 > { let mut result__ : < u16 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( copyframecount ) , :: std :: mem :: transmute ( copymode ) , dstmetadataitems . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < u16 > ( result__ ) } pub unsafe fn Close < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for ISpatialAudioMetadataCopier { type Vtable = ISpatialAudioMetadataCopier_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3525620275 ,57937 ,20432 , [ 156 ,162 ,213 ,236 ,249 ,166 ,132 ,4 ] , ) ; } impl :: std :: convert :: From < ISpatialAudioMetadataCopier > for :: windows :: IUnknown { fn from ( value : ISpatialAudioMetadataCopier ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & ISpatialAudioMetadataCopier > for :: windows :: IUnknown { fn from ( value : & ISpatialAudioMetadataCopier ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for ISpatialAudioMetadataCopier { 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 ISpatialAudioMetadataCopier { 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 ISpatialAudioMetadataCopier_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 , metadataitems : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , copyframecount : u16 , copymode : SpatialAudioMetadataCopyMode , dstmetadataitems : :: windows :: RawPtr , itemscopied : * mut u16 , ) -> :: 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 ISpatialAudioMetadataItems ( :: windows :: IUnknown ) ; impl ISpatialAudioMetadataItems { pub unsafe fn GetFrameCount < > ( & self , ) -> :: windows :: Result < u16 > { let mut result__ : < u16 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < u16 > ( result__ ) } pub unsafe fn GetItemCount < > ( & self , ) -> :: windows :: Result < u16 > { let mut result__ : < u16 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < u16 > ( result__ ) } pub unsafe fn GetMaxItemCount < > ( & self , ) -> :: windows :: Result < u16 > { let mut result__ : < u16 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < u16 > ( result__ ) } pub unsafe fn GetMaxValueBufferLength < > ( & self , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn GetInfo < > ( & self , ) -> :: windows :: Result < SpatialAudioMetadataItemsInfo > { let mut result__ : < SpatialAudioMetadataItemsInfo as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < SpatialAudioMetadataItemsInfo > ( result__ ) } } unsafe impl :: windows :: Interface for ISpatialAudioMetadataItems { type Vtable = ISpatialAudioMetadataItems_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3168257935 ,12440 ,20258 , [ 181 ,71 ,162 ,242 ,90 ,56 ,18 ,105 ] , ) ; } impl :: std :: convert :: From < ISpatialAudioMetadataItems > for :: windows :: IUnknown { fn from ( value : ISpatialAudioMetadataItems ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & ISpatialAudioMetadataItems > for :: windows :: IUnknown { fn from ( value : & ISpatialAudioMetadataItems ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for ISpatialAudioMetadataItems { 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 ISpatialAudioMetadataItems { 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 ISpatialAudioMetadataItems_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 , framecount : * mut u16 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , itemcount : * mut u16 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , maxitemcount : * mut u16 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , maxvaluebufferlength : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , info : * mut SpatialAudioMetadataItemsInfo , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct ISpatialAudioMetadataItemsBuffer ( :: windows :: IUnknown ) ; impl ISpatialAudioMetadataItemsBuffer { pub unsafe fn AttachToBuffer < > ( & self , buffer : * mut u8 , bufferlength : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( buffer ) , :: std :: mem :: transmute ( bufferlength ) , ) . ok ( ) } pub unsafe fn AttachToPopulatedBuffer < > ( & self , buffer : * mut u8 , bufferlength : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( buffer ) , :: std :: mem :: transmute ( bufferlength ) , ) . ok ( ) } pub unsafe fn DetachBuffer < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for ISpatialAudioMetadataItemsBuffer { type Vtable = ISpatialAudioMetadataItemsBuffer_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 1113852438 ,57789 ,17113 , [ 159 ,246 ,3 ,26 ,183 ,26 ,45 ,186 ] , ) ; } impl :: std :: convert :: From < ISpatialAudioMetadataItemsBuffer > for :: windows :: IUnknown { fn from ( value : ISpatialAudioMetadataItemsBuffer ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & ISpatialAudioMetadataItemsBuffer > for :: windows :: IUnknown { fn from ( value : & ISpatialAudioMetadataItemsBuffer ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for ISpatialAudioMetadataItemsBuffer { 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 ISpatialAudioMetadataItemsBuffer { 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 ISpatialAudioMetadataItemsBuffer_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 , buffer : * mut u8 , bufferlength : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , buffer : * mut u8 , bufferlength : u32 , ) -> :: 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 ISpatialAudioMetadataReader ( :: windows :: IUnknown ) ; impl ISpatialAudioMetadataReader { pub unsafe fn Open < 'a , > ( & self , metadataitems : impl :: windows :: IntoParam < 'a , ISpatialAudioMetadataItems > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , metadataitems . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn ReadNextItem < > ( & self , commandcount : * mut u8 , frameoffset : * mut u16 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( commandcount ) , :: std :: mem :: transmute ( frameoffset ) , ) . ok ( ) } pub unsafe fn ReadNextItemCommand < > ( & self , commandid : * mut u8 , valuebuffer : * mut :: std :: ffi :: c_void , maxvaluebufferlength : u32 , valuebufferlength : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( commandid ) , :: std :: mem :: transmute ( valuebuffer ) , :: std :: mem :: transmute ( maxvaluebufferlength ) , :: std :: mem :: transmute ( valuebufferlength ) , ) . ok ( ) } pub unsafe fn Close < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for ISpatialAudioMetadataReader { type Vtable = ISpatialAudioMetadataReader_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3079571106 ,12761 ,19506 , [ 148 ,210 ,125 ,244 ,15 ,199 ,235 ,236 ] , ) ; } impl :: std :: convert :: From < ISpatialAudioMetadataReader > for :: windows :: IUnknown { fn from ( value : ISpatialAudioMetadataReader ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & ISpatialAudioMetadataReader > for :: windows :: IUnknown { fn from ( value : & ISpatialAudioMetadataReader ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for ISpatialAudioMetadataReader { 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 ISpatialAudioMetadataReader { 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 ISpatialAudioMetadataReader_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 , metadataitems : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , commandcount : * mut u8 , frameoffset : * mut u16 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , commandid : * mut u8 , valuebuffer : * mut :: std :: ffi :: c_void , maxvaluebufferlength : u32 , valuebufferlength : * mut u32 , ) -> :: 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 ISpatialAudioMetadataWriter ( :: windows :: IUnknown ) ; impl ISpatialAudioMetadataWriter { pub unsafe fn Open < 'a , > ( & self , metadataitems : impl :: windows :: IntoParam < 'a , ISpatialAudioMetadataItems > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , metadataitems . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn WriteNextItem < > ( & self , frameoffset : u16 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( frameoffset ) , ) . ok ( ) } pub unsafe fn WriteNextItemCommand < > ( & self , commandid : u8 , valuebuffer : * const :: std :: ffi :: c_void , valuebufferlength : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( commandid ) , :: std :: mem :: transmute ( valuebuffer ) , :: std :: mem :: transmute ( valuebufferlength ) , ) . ok ( ) } pub unsafe fn Close < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for ISpatialAudioMetadataWriter { type Vtable = ISpatialAudioMetadataWriter_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 454543873 ,10581 ,17485 , [ 164 ,48 ,83 ,125 ,197 ,137 ,168 ,68 ] , ) ; } impl :: std :: convert :: From < ISpatialAudioMetadataWriter > for :: windows :: IUnknown { fn from ( value : ISpatialAudioMetadataWriter ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & ISpatialAudioMetadataWriter > for :: windows :: IUnknown { fn from ( value : & ISpatialAudioMetadataWriter ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for ISpatialAudioMetadataWriter { 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 ISpatialAudioMetadataWriter { 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 ISpatialAudioMetadataWriter_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 , metadataitems : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , frameoffset : u16 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , commandid : u8 , valuebuffer : * const :: std :: ffi :: c_void , valuebufferlength : u32 , ) -> :: 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 ISpatialAudioObject ( :: windows :: IUnknown ) ; impl ISpatialAudioObject { pub unsafe fn GetBuffer < > ( & self , buffer : * mut * mut u8 , bufferlength : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( buffer ) , :: std :: mem :: transmute ( bufferlength ) , ) . ok ( ) } pub unsafe fn SetEndOfStream < > ( & self , framecount : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( framecount ) , ) . ok ( ) } pub unsafe fn IsActive < > ( & self , ) -> :: windows :: Result < super::super::super::Foundation:: BOOL > { let mut result__ : < super::super::super::Foundation:: BOOL as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < super::super::super::Foundation:: BOOL > ( result__ ) } pub unsafe fn GetAudioObjectType < > ( & self , ) -> :: windows :: Result < AudioObjectType > { let mut result__ : < AudioObjectType as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < AudioObjectType > ( result__ ) } pub unsafe fn SetPosition < > ( & self , x : f32 , y : f32 , z : f32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( x ) , :: std :: mem :: transmute ( y ) , :: std :: mem :: transmute ( z ) , ) . ok ( ) } pub unsafe fn SetVolume < > ( & self , volume : f32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( volume ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for ISpatialAudioObject { type Vtable = ISpatialAudioObject_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3722611047 ,21019 ,18149 , [ 143 ,0 ,189 ,111 ,43 ,200 ,171 ,29 ] , ) ; } impl :: std :: convert :: From < ISpatialAudioObject > for :: windows :: IUnknown { fn from ( value : ISpatialAudioObject ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & ISpatialAudioObject > for :: windows :: IUnknown { fn from ( value : & ISpatialAudioObject ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for ISpatialAudioObject { 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 ISpatialAudioObject { 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 < ISpatialAudioObject > for ISpatialAudioObjectBase { fn from ( value : ISpatialAudioObject ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & ISpatialAudioObject > for ISpatialAudioObjectBase { fn from ( value : & ISpatialAudioObject ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , ISpatialAudioObjectBase > for ISpatialAudioObject { fn into_param ( self ) -> :: windows :: Param < 'a , ISpatialAudioObjectBase > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < ISpatialAudioObjectBase > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , ISpatialAudioObjectBase > for & 'a ISpatialAudioObject { fn into_param ( self ) -> :: windows :: Param < 'a , ISpatialAudioObjectBase > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < ISpatialAudioObjectBase > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct ISpatialAudioObject_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 , buffer : * mut * mut u8 , bufferlength : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , framecount : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , isactive : * mut super::super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , audioobjecttype : * mut AudioObjectType , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , x : f32 , y : f32 , z : f32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , volume : f32 , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct ISpatialAudioObjectBase ( :: windows :: IUnknown ) ; impl ISpatialAudioObjectBase { pub unsafe fn GetBuffer < > ( & self , buffer : * mut * mut u8 , bufferlength : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( buffer ) , :: std :: mem :: transmute ( bufferlength ) , ) . ok ( ) } pub unsafe fn SetEndOfStream < > ( & self , framecount : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( framecount ) , ) . ok ( ) } pub unsafe fn IsActive < > ( & self , ) -> :: windows :: Result < super::super::super::Foundation:: BOOL > { let mut result__ : < super::super::super::Foundation:: BOOL as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < super::super::super::Foundation:: BOOL > ( result__ ) } pub unsafe fn GetAudioObjectType < > ( & self , ) -> :: windows :: Result < AudioObjectType > { let mut result__ : < AudioObjectType as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < AudioObjectType > ( result__ ) } } unsafe impl :: windows :: Interface for ISpatialAudioObjectBase { type Vtable = ISpatialAudioObjectBase_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3437279474 ,36173 ,20219 , [ 168 ,207 ,61 ,110 ,207 ,28 ,48 ,224 ] , ) ; } impl :: std :: convert :: From < ISpatialAudioObjectBase > for :: windows :: IUnknown { fn from ( value : ISpatialAudioObjectBase ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & ISpatialAudioObjectBase > for :: windows :: IUnknown { fn from ( value : & ISpatialAudioObjectBase ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for ISpatialAudioObjectBase { 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 ISpatialAudioObjectBase { 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 ISpatialAudioObjectBase_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 , buffer : * mut * mut u8 , bufferlength : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , framecount : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , isactive : * mut super::super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , audioobjecttype : * mut AudioObjectType , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct ISpatialAudioObjectForHrtf ( :: windows :: IUnknown ) ; impl ISpatialAudioObjectForHrtf { pub unsafe fn GetBuffer < > ( & self , buffer : * mut * mut u8 , bufferlength : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( buffer ) , :: std :: mem :: transmute ( bufferlength ) , ) . ok ( ) } pub unsafe fn SetEndOfStream < > ( & self , framecount : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( framecount ) , ) . ok ( ) } pub unsafe fn IsActive < > ( & self , ) -> :: windows :: Result < super::super::super::Foundation:: BOOL > { let mut result__ : < super::super::super::Foundation:: BOOL as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < super::super::super::Foundation:: BOOL > ( result__ ) } pub unsafe fn GetAudioObjectType < > ( & self , ) -> :: windows :: Result < AudioObjectType > { let mut result__ : < AudioObjectType as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < AudioObjectType > ( result__ ) } pub unsafe fn SetPosition < > ( & self , x : f32 , y : f32 , z : f32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( x ) , :: std :: mem :: transmute ( y ) , :: std :: mem :: transmute ( z ) , ) . ok ( ) } pub unsafe fn SetGain < > ( & self , gain : f32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( gain ) , ) . ok ( ) } pub unsafe fn SetOrientation < > ( & self , orientation : * const * const f32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( orientation ) , ) . ok ( ) } pub unsafe fn SetEnvironment < > ( & self , environment : SpatialAudioHrtfEnvironmentType , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( environment ) , ) . ok ( ) } pub unsafe fn SetDistanceDecay < > ( & self , distancedecay : * mut SpatialAudioHrtfDistanceDecay , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .11 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( distancedecay ) , ) . ok ( ) } pub unsafe fn SetDirectivity < > ( & self , directivity : * mut SpatialAudioHrtfDirectivityUnion , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .12 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( directivity ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for ISpatialAudioObjectForHrtf { type Vtable = ISpatialAudioObjectForHrtf_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3611519710 ,6520 ,19988 , [ 171 ,160 ,85 ,91 ,216 ,235 ,131 ,180 ] , ) ; } impl :: std :: convert :: From < ISpatialAudioObjectForHrtf > for :: windows :: IUnknown { fn from ( value : ISpatialAudioObjectForHrtf ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & ISpatialAudioObjectForHrtf > for :: windows :: IUnknown { fn from ( value : & ISpatialAudioObjectForHrtf ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for ISpatialAudioObjectForHrtf { 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 ISpatialAudioObjectForHrtf { 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 < ISpatialAudioObjectForHrtf > for ISpatialAudioObjectBase { fn from ( value : ISpatialAudioObjectForHrtf ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & ISpatialAudioObjectForHrtf > for ISpatialAudioObjectBase { fn from ( value : & ISpatialAudioObjectForHrtf ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , ISpatialAudioObjectBase > for ISpatialAudioObjectForHrtf { fn into_param ( self ) -> :: windows :: Param < 'a , ISpatialAudioObjectBase > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < ISpatialAudioObjectBase > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , ISpatialAudioObjectBase > for & 'a ISpatialAudioObjectForHrtf { fn into_param ( self ) -> :: windows :: Param < 'a , ISpatialAudioObjectBase > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < ISpatialAudioObjectBase > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct ISpatialAudioObjectForHrtf_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 , buffer : * mut * mut u8 , bufferlength : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , framecount : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , isactive : * mut super::super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , audioobjecttype : * mut AudioObjectType , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , x : f32 , y : f32 , z : f32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , gain : f32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , orientation : * const * const f32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , environment : SpatialAudioHrtfEnvironmentType , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , distancedecay : * mut SpatialAudioHrtfDistanceDecay , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , directivity : * mut SpatialAudioHrtfDirectivityUnion , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct ISpatialAudioObjectForMetadataCommands ( :: windows :: IUnknown ) ; impl ISpatialAudioObjectForMetadataCommands { pub unsafe fn GetBuffer < > ( & self , buffer : * mut * mut u8 , bufferlength : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( buffer ) , :: std :: mem :: transmute ( bufferlength ) , ) . ok ( ) } pub unsafe fn SetEndOfStream < > ( & self , framecount : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( framecount ) , ) . ok ( ) } pub unsafe fn IsActive < > ( & self , ) -> :: windows :: Result < super::super::super::Foundation:: BOOL > { let mut result__ : < super::super::super::Foundation:: BOOL as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < super::super::super::Foundation:: BOOL > ( result__ ) } pub unsafe fn GetAudioObjectType < > ( & self , ) -> :: windows :: Result < AudioObjectType > { let mut result__ : < AudioObjectType as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < AudioObjectType > ( result__ ) } pub unsafe fn WriteNextMetadataCommand < > ( & self , commandid : u8 , valuebuffer : * mut :: std :: ffi :: c_void , valuebufferlength : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( commandid ) , :: std :: mem :: transmute ( valuebuffer ) , :: std :: mem :: transmute ( valuebufferlength ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for ISpatialAudioObjectForMetadataCommands { type Vtable = ISpatialAudioObjectForMetadataCommands_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 234015051 ,62969 ,18221 , [ 175 ,107 ,196 ,110 ,10 ,201 ,205 ,5 ] , ) ; } impl :: std :: convert :: From < ISpatialAudioObjectForMetadataCommands > for :: windows :: IUnknown { fn from ( value : ISpatialAudioObjectForMetadataCommands ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & ISpatialAudioObjectForMetadataCommands > for :: windows :: IUnknown { fn from ( value : & ISpatialAudioObjectForMetadataCommands ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for ISpatialAudioObjectForMetadataCommands { 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 ISpatialAudioObjectForMetadataCommands { 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 < ISpatialAudioObjectForMetadataCommands > for ISpatialAudioObjectBase { fn from ( value : ISpatialAudioObjectForMetadataCommands ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & ISpatialAudioObjectForMetadataCommands > for ISpatialAudioObjectBase { fn from ( value : & ISpatialAudioObjectForMetadataCommands ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , ISpatialAudioObjectBase > for ISpatialAudioObjectForMetadataCommands { fn into_param ( self ) -> :: windows :: Param < 'a , ISpatialAudioObjectBase > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < ISpatialAudioObjectBase > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , ISpatialAudioObjectBase > for & 'a ISpatialAudioObjectForMetadataCommands { fn into_param ( self ) -> :: windows :: Param < 'a , ISpatialAudioObjectBase > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < ISpatialAudioObjectBase > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct ISpatialAudioObjectForMetadataCommands_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 , buffer : * mut * mut u8 , bufferlength : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , framecount : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , isactive : * mut super::super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , audioobjecttype : * mut AudioObjectType , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , commandid : u8 , valuebuffer : * mut :: std :: ffi :: c_void , valuebufferlength : u32 , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct ISpatialAudioObjectForMetadataItems ( :: windows :: IUnknown ) ; impl ISpatialAudioObjectForMetadataItems { pub unsafe fn GetBuffer < > ( & self , buffer : * mut * mut u8 , bufferlength : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( buffer ) , :: std :: mem :: transmute ( bufferlength ) , ) . ok ( ) } pub unsafe fn SetEndOfStream < > ( & self , framecount : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( framecount ) , ) . ok ( ) } pub unsafe fn IsActive < > ( & self , ) -> :: windows :: Result < super::super::super::Foundation:: BOOL > { let mut result__ : < super::super::super::Foundation:: BOOL as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < super::super::super::Foundation:: BOOL > ( result__ ) } pub unsafe fn GetAudioObjectType < > ( & self , ) -> :: windows :: Result < AudioObjectType > { let mut result__ : < AudioObjectType as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < AudioObjectType > ( result__ ) } pub unsafe fn GetSpatialAudioMetadataItems < > ( & self , ) -> :: windows :: Result < ISpatialAudioMetadataItems > { let mut result__ : < ISpatialAudioMetadataItems as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < ISpatialAudioMetadataItems > ( result__ ) } } unsafe impl :: windows :: Interface for ISpatialAudioObjectForMetadataItems { type Vtable = ISpatialAudioObjectForMetadataItems_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3723119103 ,15296 ,17271 , [ 138 ,173 ,159 ,188 ,253 ,128 ,133 ,102 ] , ) ; } impl :: std :: convert :: From < ISpatialAudioObjectForMetadataItems > for :: windows :: IUnknown { fn from ( value : ISpatialAudioObjectForMetadataItems ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & ISpatialAudioObjectForMetadataItems > for :: windows :: IUnknown { fn from ( value : & ISpatialAudioObjectForMetadataItems ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for ISpatialAudioObjectForMetadataItems { 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 ISpatialAudioObjectForMetadataItems { 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 < ISpatialAudioObjectForMetadataItems > for ISpatialAudioObjectBase { fn from ( value : ISpatialAudioObjectForMetadataItems ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & ISpatialAudioObjectForMetadataItems > for ISpatialAudioObjectBase { fn from ( value : & ISpatialAudioObjectForMetadataItems ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , ISpatialAudioObjectBase > for ISpatialAudioObjectForMetadataItems { fn into_param ( self ) -> :: windows :: Param < 'a , ISpatialAudioObjectBase > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < ISpatialAudioObjectBase > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , ISpatialAudioObjectBase > for & 'a ISpatialAudioObjectForMetadataItems { fn into_param ( self ) -> :: windows :: Param < 'a , ISpatialAudioObjectBase > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < ISpatialAudioObjectBase > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct ISpatialAudioObjectForMetadataItems_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 , buffer : * mut * mut u8 , bufferlength : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , framecount : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , isactive : * mut super::super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , audioobjecttype : * mut AudioObjectType , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , metadataitems : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct ISpatialAudioObjectRenderStream ( :: windows :: IUnknown ) ; impl ISpatialAudioObjectRenderStream { pub unsafe fn GetAvailableDynamicObjectCount < > ( & self , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn GetService < T : :: windows :: Interface > ( & self , ) -> :: windows :: Result < T > { let mut result__ = :: std :: option :: Option :: None ; ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , & < T as :: windows :: Interface > :: IID , :: windows :: Abi :: set_abi ( & mut result__ ) ) . and_some ( result__ ) } pub unsafe fn Start < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn Stop < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn Reset < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn BeginUpdatingAudioObjects < > ( & self , availabledynamicobjectcount : * mut u32 , framecountperbuffer : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( availabledynamicobjectcount ) , :: std :: mem :: transmute ( framecountperbuffer ) , ) . ok ( ) } pub unsafe fn EndUpdatingAudioObjects < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn ActivateSpatialAudioObject < > ( & self , r#type : AudioObjectType , ) -> :: windows :: Result < ISpatialAudioObject > { let mut result__ : < ISpatialAudioObject as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( r#type ) , & mut result__ ) . from_abi :: < ISpatialAudioObject > ( result__ ) } } unsafe impl :: windows :: Interface for ISpatialAudioObjectRenderStream { type Vtable = ISpatialAudioObjectRenderStream_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3132486771 ,46115 ,18299 , [ 133 ,245 ,181 ,163 ,50 ,160 ,65 ,83 ] , ) ; } impl :: std :: convert :: From < ISpatialAudioObjectRenderStream > for :: windows :: IUnknown { fn from ( value : ISpatialAudioObjectRenderStream ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & ISpatialAudioObjectRenderStream > for :: windows :: IUnknown { fn from ( value : & ISpatialAudioObjectRenderStream ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for ISpatialAudioObjectRenderStream { 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 ISpatialAudioObjectRenderStream { 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 < ISpatialAudioObjectRenderStream > for ISpatialAudioObjectRenderStreamBase { fn from ( value : ISpatialAudioObjectRenderStream ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & ISpatialAudioObjectRenderStream > for ISpatialAudioObjectRenderStreamBase { fn from ( value : & ISpatialAudioObjectRenderStream ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , ISpatialAudioObjectRenderStreamBase > for ISpatialAudioObjectRenderStream { fn into_param ( self ) -> :: windows :: Param < 'a , ISpatialAudioObjectRenderStreamBase > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < ISpatialAudioObjectRenderStreamBase > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , ISpatialAudioObjectRenderStreamBase > for & 'a ISpatialAudioObjectRenderStream { fn into_param ( self ) -> :: windows :: Param < 'a , ISpatialAudioObjectRenderStreamBase > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < ISpatialAudioObjectRenderStreamBase > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct ISpatialAudioObjectRenderStream_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 , value : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , riid : * const :: windows :: Guid , service : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , availabledynamicobjectcount : * mut u32 , framecountperbuffer : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , r#type : AudioObjectType , audioobject : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct ISpatialAudioObjectRenderStreamBase ( :: windows :: IUnknown ) ; impl ISpatialAudioObjectRenderStreamBase { pub unsafe fn GetAvailableDynamicObjectCount < > ( & self , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn GetService < T : :: windows :: Interface > ( & self , ) -> :: windows :: Result < T > { let mut result__ = :: std :: option :: Option :: None ; ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , & < T as :: windows :: Interface > :: IID , :: windows :: Abi :: set_abi ( & mut result__ ) ) . and_some ( result__ ) } pub unsafe fn Start < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn Stop < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn Reset < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn BeginUpdatingAudioObjects < > ( & self , availabledynamicobjectcount : * mut u32 , framecountperbuffer : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( availabledynamicobjectcount ) , :: std :: mem :: transmute ( framecountperbuffer ) , ) . ok ( ) } pub unsafe fn EndUpdatingAudioObjects < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for ISpatialAudioObjectRenderStreamBase { type Vtable = ISpatialAudioObjectRenderStreamBase_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 4272616451 ,49624 ,17677 , [ 170 ,5 ,224 ,204 ,238 ,117 ,2 ,168 ] , ) ; } impl :: std :: convert :: From < ISpatialAudioObjectRenderStreamBase > for :: windows :: IUnknown { fn from ( value : ISpatialAudioObjectRenderStreamBase ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & ISpatialAudioObjectRenderStreamBase > for :: windows :: IUnknown { fn from ( value : & ISpatialAudioObjectRenderStreamBase ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for ISpatialAudioObjectRenderStreamBase { 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 ISpatialAudioObjectRenderStreamBase { 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 ISpatialAudioObjectRenderStreamBase_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 , value : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , riid : * const :: windows :: Guid , service : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , availabledynamicobjectcount : * mut u32 , framecountperbuffer : * mut u32 , ) -> :: 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 ISpatialAudioObjectRenderStreamForHrtf ( :: windows :: IUnknown ) ; impl ISpatialAudioObjectRenderStreamForHrtf { pub unsafe fn GetAvailableDynamicObjectCount < > ( & self , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn GetService < T : :: windows :: Interface > ( & self , ) -> :: windows :: Result < T > { let mut result__ = :: std :: option :: Option :: None ; ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , & < T as :: windows :: Interface > :: IID , :: windows :: Abi :: set_abi ( & mut result__ ) ) . and_some ( result__ ) } pub unsafe fn Start < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn Stop < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn Reset < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn BeginUpdatingAudioObjects < > ( & self , availabledynamicobjectcount : * mut u32 , framecountperbuffer : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( availabledynamicobjectcount ) , :: std :: mem :: transmute ( framecountperbuffer ) , ) . ok ( ) } pub unsafe fn EndUpdatingAudioObjects < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn ActivateSpatialAudioObjectForHrtf < > ( & self , r#type : AudioObjectType , ) -> :: windows :: Result < ISpatialAudioObjectForHrtf > { let mut result__ : < ISpatialAudioObjectForHrtf as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( r#type ) , & mut result__ ) . from_abi :: < ISpatialAudioObjectForHrtf > ( result__ ) } } unsafe impl :: windows :: Interface for ISpatialAudioObjectRenderStreamForHrtf { type Vtable = ISpatialAudioObjectRenderStreamForHrtf_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3767398137 ,21347 ,16494 , [ 159 ,220 ,8 ,14 ,226 ,71 ,187 ,224 ] , ) ; } impl :: std :: convert :: From < ISpatialAudioObjectRenderStreamForHrtf > for :: windows :: IUnknown { fn from ( value : ISpatialAudioObjectRenderStreamForHrtf ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & ISpatialAudioObjectRenderStreamForHrtf > for :: windows :: IUnknown { fn from ( value : & ISpatialAudioObjectRenderStreamForHrtf ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for ISpatialAudioObjectRenderStreamForHrtf { 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 ISpatialAudioObjectRenderStreamForHrtf { 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 < ISpatialAudioObjectRenderStreamForHrtf > for ISpatialAudioObjectRenderStreamBase { fn from ( value : ISpatialAudioObjectRenderStreamForHrtf ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & ISpatialAudioObjectRenderStreamForHrtf > for ISpatialAudioObjectRenderStreamBase { fn from ( value : & ISpatialAudioObjectRenderStreamForHrtf ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , ISpatialAudioObjectRenderStreamBase > for ISpatialAudioObjectRenderStreamForHrtf { fn into_param ( self ) -> :: windows :: Param < 'a , ISpatialAudioObjectRenderStreamBase > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < ISpatialAudioObjectRenderStreamBase > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , ISpatialAudioObjectRenderStreamBase > for & 'a ISpatialAudioObjectRenderStreamForHrtf { fn into_param ( self ) -> :: windows :: Param < 'a , ISpatialAudioObjectRenderStreamBase > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < ISpatialAudioObjectRenderStreamBase > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct ISpatialAudioObjectRenderStreamForHrtf_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 , value : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , riid : * const :: windows :: Guid , service : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , availabledynamicobjectcount : * mut u32 , framecountperbuffer : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , r#type : AudioObjectType , audioobject : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct ISpatialAudioObjectRenderStreamForMetadata ( :: windows :: IUnknown ) ; impl ISpatialAudioObjectRenderStreamForMetadata { pub unsafe fn GetAvailableDynamicObjectCount < > ( & self , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn GetService < T : :: windows :: Interface > ( & self , ) -> :: windows :: Result < T > { let mut result__ = :: std :: option :: Option :: None ; ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , & < T as :: windows :: Interface > :: IID , :: windows :: Abi :: set_abi ( & mut result__ ) ) . and_some ( result__ ) } pub unsafe fn Start < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn Stop < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn Reset < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn BeginUpdatingAudioObjects < > ( & self , availabledynamicobjectcount : * mut u32 , framecountperbuffer : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( availabledynamicobjectcount ) , :: std :: mem :: transmute ( framecountperbuffer ) , ) . ok ( ) } pub unsafe fn EndUpdatingAudioObjects < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn ActivateSpatialAudioObjectForMetadataCommands < > ( & self , r#type : AudioObjectType , ) -> :: windows :: Result < ISpatialAudioObjectForMetadataCommands > { let mut result__ : < ISpatialAudioObjectForMetadataCommands as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( r#type ) , & mut result__ ) . from_abi :: < ISpatialAudioObjectForMetadataCommands > ( result__ ) } pub unsafe fn ActivateSpatialAudioObjectForMetadataItems < > ( & self , r#type : AudioObjectType , ) -> :: windows :: Result < ISpatialAudioObjectForMetadataItems > { let mut result__ : < ISpatialAudioObjectForMetadataItems as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .11 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( r#type ) , & mut result__ ) . from_abi :: < ISpatialAudioObjectForMetadataItems > ( result__ ) } } unsafe impl :: windows :: Interface for ISpatialAudioObjectRenderStreamForMetadata { type Vtable = ISpatialAudioObjectRenderStreamForMetadata_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3150563591 ,18645 ,18990 , [ 160 ,199 ,247 ,240 ,214 ,124 ,31 ,177 ] , ) ; } impl :: std :: convert :: From < ISpatialAudioObjectRenderStreamForMetadata > for :: windows :: IUnknown { fn from ( value : ISpatialAudioObjectRenderStreamForMetadata ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & ISpatialAudioObjectRenderStreamForMetadata > for :: windows :: IUnknown { fn from ( value : & ISpatialAudioObjectRenderStreamForMetadata ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for ISpatialAudioObjectRenderStreamForMetadata { 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 ISpatialAudioObjectRenderStreamForMetadata { 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 < ISpatialAudioObjectRenderStreamForMetadata > for ISpatialAudioObjectRenderStreamBase { fn from ( value : ISpatialAudioObjectRenderStreamForMetadata ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & ISpatialAudioObjectRenderStreamForMetadata > for ISpatialAudioObjectRenderStreamBase { fn from ( value : & ISpatialAudioObjectRenderStreamForMetadata ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , ISpatialAudioObjectRenderStreamBase > for ISpatialAudioObjectRenderStreamForMetadata { fn into_param ( self ) -> :: windows :: Param < 'a , ISpatialAudioObjectRenderStreamBase > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < ISpatialAudioObjectRenderStreamBase > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , ISpatialAudioObjectRenderStreamBase > for & 'a ISpatialAudioObjectRenderStreamForMetadata { fn into_param ( self ) -> :: windows :: Param < 'a , ISpatialAudioObjectRenderStreamBase > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < ISpatialAudioObjectRenderStreamBase > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct ISpatialAudioObjectRenderStreamForMetadata_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 , value : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , riid : * const :: windows :: Guid , service : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , availabledynamicobjectcount : * mut u32 , framecountperbuffer : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , r#type : AudioObjectType , audioobject : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , r#type : AudioObjectType , audioobject : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct ISpatialAudioObjectRenderStreamNotify ( :: windows :: IUnknown ) ; impl ISpatialAudioObjectRenderStreamNotify { pub unsafe fn OnAvailableDynamicObjectCountChange < 'a , > ( & self , sender : impl :: windows :: IntoParam < 'a , ISpatialAudioObjectRenderStreamBase > , hnscompliancedeadlinetime : i64 , availabledynamicobjectcountchange : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , sender . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( hnscompliancedeadlinetime ) , :: std :: mem :: transmute ( availabledynamicobjectcountchange ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for ISpatialAudioObjectRenderStreamNotify { type Vtable = ISpatialAudioObjectRenderStreamNotify_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3722413030 ,26839 ,19568 , [ 136 ,63 ,161 ,131 ,106 ,251 ,74 ,80 ] , ) ; } impl :: std :: convert :: From < ISpatialAudioObjectRenderStreamNotify > for :: windows :: IUnknown { fn from ( value : ISpatialAudioObjectRenderStreamNotify ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & ISpatialAudioObjectRenderStreamNotify > for :: windows :: IUnknown { fn from ( value : & ISpatialAudioObjectRenderStreamNotify ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for ISpatialAudioObjectRenderStreamNotify { 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 ISpatialAudioObjectRenderStreamNotify { 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 ISpatialAudioObjectRenderStreamNotify_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 , sender : :: windows :: RawPtr , hnscompliancedeadlinetime : i64 , availabledynamicobjectcountchange : u32 , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct ISubunit ( :: windows :: IUnknown ) ; impl ISubunit { } unsafe impl :: windows :: Interface for ISubunit { type Vtable = ISubunit_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2182388357 ,56230 ,17543 , [ 134 ,187 ,234 ,143 ,127 ,239 ,204 ,113 ] , ) ; } impl :: std :: convert :: From < ISubunit > for :: windows :: IUnknown { fn from ( value : ISubunit ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & ISubunit > for :: windows :: IUnknown { fn from ( value : & ISubunit ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for ISubunit { 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 ISubunit { 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 ISubunit_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 const JACKDESC2_DYNAMIC_FORMAT_CHANGE_CAPABILITY : u32 = 2u32 ; pub const JACKDESC2_PRESENCE_DETECT_CAPABILITY : u32 = 1u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSAC3_ALTERNATE_AUDIO { pub fStereo : super::super::super::Foundation:: BOOL , pub DualMode : u32 } impl KSAC3_ALTERNATE_AUDIO { } impl :: std :: default :: Default for KSAC3_ALTERNATE_AUDIO { fn default ( ) -> Self { Self { fStereo : :: std :: default :: Default :: default ( ) , DualMode : 0 } } } impl :: std :: fmt :: Debug for KSAC3_ALTERNATE_AUDIO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSAC3_ALTERNATE_AUDIO" ) . field ( "fStereo" , & self . fStereo ) . field ( "DualMode" , & self . DualMode ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSAC3_ALTERNATE_AUDIO { fn eq ( & self , other : & Self ) -> bool { self . fStereo == other . fStereo && self . DualMode == other . DualMode } } impl :: std :: cmp :: Eq for KSAC3_ALTERNATE_AUDIO { } unsafe impl :: windows :: Abi for KSAC3_ALTERNATE_AUDIO { type Abi = Self ; type DefaultType = Self ; } pub const KSAC3_ALTERNATE_AUDIO_1 : u32 = 1u32 ; pub const KSAC3_ALTERNATE_AUDIO_2 : u32 = 2u32 ; pub const KSAC3_ALTERNATE_AUDIO_BOTH : u32 = 3u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSAC3_BIT_STREAM_MODE { pub BitStreamMode : i32 } impl KSAC3_BIT_STREAM_MODE { } impl :: std :: default :: Default for KSAC3_BIT_STREAM_MODE { fn default ( ) -> Self { Self { BitStreamMode : 0 } } } impl :: std :: fmt :: Debug for KSAC3_BIT_STREAM_MODE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSAC3_BIT_STREAM_MODE" ) . field ( "BitStreamMode" , & self . BitStreamMode ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSAC3_BIT_STREAM_MODE { fn eq ( & self , other : & Self ) -> bool { self . BitStreamMode == other . BitStreamMode } } impl :: std :: cmp :: Eq for KSAC3_BIT_STREAM_MODE { } unsafe impl :: windows :: Abi for KSAC3_BIT_STREAM_MODE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSAC3_DIALOGUE_LEVEL { pub DialogueLevel : u32 } impl KSAC3_DIALOGUE_LEVEL { } impl :: std :: default :: Default for KSAC3_DIALOGUE_LEVEL { fn default ( ) -> Self { Self { DialogueLevel : 0 } } } impl :: std :: fmt :: Debug for KSAC3_DIALOGUE_LEVEL { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSAC3_DIALOGUE_LEVEL" ) . field ( "DialogueLevel" , & self . DialogueLevel ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSAC3_DIALOGUE_LEVEL { fn eq ( & self , other : & Self ) -> bool { self . DialogueLevel == other . DialogueLevel } } impl :: std :: cmp :: Eq for KSAC3_DIALOGUE_LEVEL { } unsafe impl :: windows :: Abi for KSAC3_DIALOGUE_LEVEL { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSAC3_DOWNMIX { pub fDownMix : super::super::super::Foundation:: BOOL , pub fDolbySurround : super::super::super::Foundation:: BOOL } impl KSAC3_DOWNMIX { } impl :: std :: default :: Default for KSAC3_DOWNMIX { fn default ( ) -> Self { Self { fDownMix : :: std :: default :: Default :: default ( ) , fDolbySurround : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for KSAC3_DOWNMIX { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSAC3_DOWNMIX" ) . field ( "fDownMix" , & self . fDownMix ) . field ( "fDolbySurround" , & self . fDolbySurround ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSAC3_DOWNMIX { fn eq ( & self , other : & Self ) -> bool { self . fDownMix == other . fDownMix && self . fDolbySurround == other . fDolbySurround } } impl :: std :: cmp :: Eq for KSAC3_DOWNMIX { } unsafe impl :: windows :: Abi for KSAC3_DOWNMIX { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSAC3_ERROR_CONCEALMENT { pub fRepeatPreviousBlock : super::super::super::Foundation:: BOOL , pub fErrorInCurrentBlock : super::super::super::Foundation:: BOOL } impl KSAC3_ERROR_CONCEALMENT { } impl :: std :: default :: Default for KSAC3_ERROR_CONCEALMENT { fn default ( ) -> Self { Self { fRepeatPreviousBlock : :: std :: default :: Default :: default ( ) , fErrorInCurrentBlock : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for KSAC3_ERROR_CONCEALMENT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSAC3_ERROR_CONCEALMENT" ) . field ( "fRepeatPreviousBlock" , & self . fRepeatPreviousBlock ) . field ( "fErrorInCurrentBlock" , & self . fErrorInCurrentBlock ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSAC3_ERROR_CONCEALMENT { fn eq ( & self , other : & Self ) -> bool { self . fRepeatPreviousBlock == other . fRepeatPreviousBlock && self . fErrorInCurrentBlock == other . fErrorInCurrentBlock } } impl :: std :: cmp :: Eq for KSAC3_ERROR_CONCEALMENT { } unsafe impl :: windows :: Abi for KSAC3_ERROR_CONCEALMENT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSAC3_ROOM_TYPE { pub fLargeRoom : super::super::super::Foundation:: BOOL } impl KSAC3_ROOM_TYPE { } impl :: std :: default :: Default for KSAC3_ROOM_TYPE { fn default ( ) -> Self { Self { fLargeRoom : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for KSAC3_ROOM_TYPE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSAC3_ROOM_TYPE" ) . field ( "fLargeRoom" , & self . fLargeRoom ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSAC3_ROOM_TYPE { fn eq ( & self , other : & Self ) -> bool { self . fLargeRoom == other . fLargeRoom } } impl :: std :: cmp :: Eq for KSAC3_ROOM_TYPE { } unsafe impl :: windows :: Abi for KSAC3_ROOM_TYPE { type Abi = Self ; type DefaultType = Self ; } pub const KSAC3_SERVICE_COMMENTARY : u32 = 5u32 ; pub const KSAC3_SERVICE_DIALOG_ONLY : u32 = 4u32 ; pub const KSAC3_SERVICE_EMERGENCY_FLASH : u32 = 6u32 ; pub const KSAC3_SERVICE_HEARING_IMPAIRED : u32 = 3u32 ; pub const KSAC3_SERVICE_MAIN_AUDIO : u32 = 0u32 ; pub const KSAC3_SERVICE_NO_DIALOG : u32 = 1u32 ; pub const KSAC3_SERVICE_VISUALLY_IMPAIRED : u32 = 2u32 ; pub const KSAC3_SERVICE_VOICE_OVER : u32 = 7u32 ; pub const KSALGORITHMINSTANCE_SYSTEM_ACOUSTIC_ECHO_CANCEL : :: windows :: Guid = :: windows :: Guid :: from_values ( 472040813 ,39033 ,20315 , [ 163 ,137 ,39 ,153 ,109 ,220 ,40 ,16 ] , ) ; pub const KSALGORITHMINSTANCE_SYSTEM_AGC : :: windows :: Guid = :: windows :: Guid :: from_values ( 2500744633 ,34684 ,19559 , [ 190 ,8 ,228 ,123 ,86 ,17 ,19 ,10 ] , ) ; pub const KSALGORITHMINSTANCE_SYSTEM_MICROPHONE_ARRAY_PROCESSOR : :: windows :: Guid = :: windows :: Guid :: from_values ( 3069550752 ,40545 ,20364 , [ 145 ,227 ,118 ,207 ,15 ,60 ,71 ,31 ] , ) ; pub const KSALGORITHMINSTANCE_SYSTEM_NOISE_SUPPRESS : :: windows :: Guid = :: windows :: Guid :: from_values ( 1521518638 ,29300 ,17686 , [ 135 ,125 ,78 ,238 ,153 ,186 ,79 ,208 ] , ) ; pub const KSALLOCATOR_FLAG_2D_BUFFER_REQUIRED : u32 = 32768u32 ; pub const KSALLOCATOR_FLAG_ALLOCATOR_EXISTS : u32 = 2048u32 ; pub const KSALLOCATOR_FLAG_ATTENTION_STEPPING : u32 = 8192u32 ; pub const KSALLOCATOR_FLAG_CAN_ALLOCATE : u32 = 64u32 ; pub const KSALLOCATOR_FLAG_CYCLE : u32 = 1024u32 ; pub const KSALLOCATOR_FLAG_DEVICE_SPECIFIC : u32 = 32u32 ; pub const KSALLOCATOR_FLAG_ENABLE_CACHED_MDL : u32 = 16384u32 ; pub const KSALLOCATOR_FLAG_INDEPENDENT_RANGES : u32 = 4096u32 ; pub const KSALLOCATOR_FLAG_INSIST_ON_FRAMESIZE_RATIO : u32 = 128u32 ; pub const KSALLOCATOR_FLAG_MULTIPLE_OUTPUT : u32 = 512u32 ; pub const KSALLOCATOR_FLAG_NO_FRAME_INTEGRITY : u32 = 256u32 ; pub const KSALLOCATOR_FLAG_PARTIAL_READ_SUPPORT : u32 = 16u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSALLOCATOR_FRAMING { pub Anonymous1 : KSALLOCATOR_FRAMING_0 , pub PoolType : u32 , pub Frames : u32 , pub FrameSize : u32 , pub Anonymous2 : KSALLOCATOR_FRAMING_1 , pub Reserved : u32 } impl KSALLOCATOR_FRAMING { } impl :: std :: cmp :: PartialEq for KSALLOCATOR_FRAMING { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSALLOCATOR_FRAMING { } unsafe impl :: windows :: Abi for KSALLOCATOR_FRAMING { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union KSALLOCATOR_FRAMING_0 { pub OptionsFlags : u32 , pub RequirementsFlags : u32 } impl KSALLOCATOR_FRAMING_0 { } impl :: std :: cmp :: PartialEq for KSALLOCATOR_FRAMING_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSALLOCATOR_FRAMING_0 { } unsafe impl :: windows :: Abi for KSALLOCATOR_FRAMING_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union KSALLOCATOR_FRAMING_1 { pub FileAlignment : u32 , pub FramePitch : i32 } impl KSALLOCATOR_FRAMING_1 { } impl :: std :: cmp :: PartialEq for KSALLOCATOR_FRAMING_1 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSALLOCATOR_FRAMING_1 { } unsafe impl :: windows :: Abi for KSALLOCATOR_FRAMING_1 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSALLOCATOR_FRAMING_EX { pub CountItems : u32 , pub PinFlags : u32 , pub OutputCompression : KS_COMPRESSION , pub PinWeight : u32 , pub FramingItem : [ KS_FRAMING_ITEM ;1 ] } impl KSALLOCATOR_FRAMING_EX { } impl :: std :: cmp :: PartialEq for KSALLOCATOR_FRAMING_EX { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSALLOCATOR_FRAMING_EX { } unsafe impl :: windows :: Abi for KSALLOCATOR_FRAMING_EX { type Abi = Self ; type DefaultType = Self ; } pub const KSALLOCATOR_OPTIONF_COMPATIBLE : u32 = 1u32 ; pub const KSALLOCATOR_OPTIONF_SYSTEM_MEMORY : u32 = 2u32 ; pub const KSALLOCATOR_OPTIONF_VALID : u32 = 3u32 ; pub const KSALLOCATOR_REQUIREMENTF_FRAME_INTEGRITY : u32 = 4u32 ; pub const KSALLOCATOR_REQUIREMENTF_INPLACE_MODIFIER : u32 = 1u32 ; pub const KSALLOCATOR_REQUIREMENTF_MUST_ALLOCATE : u32 = 8u32 ; pub const KSALLOCATOR_REQUIREMENTF_PREFERENCES_ONLY : u32 = 2147483648u32 ; pub const KSALLOCATOR_REQUIREMENTF_SYSTEM_MEMORY : u32 = 2u32 ; pub const KSALLOCATOR_REQUIREMENTF_SYSTEM_MEMORY_CUSTOM_ALLOCATION : u32 = 16u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSATTRIBUTE { pub Size : u32 , pub Flags : u32 , pub Attribute : :: windows :: Guid } impl KSATTRIBUTE { } impl :: std :: default :: Default for KSATTRIBUTE { fn default ( ) -> Self { Self { Size : 0 , Flags : 0 , Attribute : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for KSATTRIBUTE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSATTRIBUTE" ) . field ( "Size" , & self . Size ) . field ( "Flags" , & self . Flags ) . field ( "Attribute" , & self . Attribute ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSATTRIBUTE { fn eq ( & self , other : & Self ) -> bool { self . Size == other . Size && self . Flags == other . Flags && self . Attribute == other . Attribute } } impl :: std :: cmp :: Eq for KSATTRIBUTE { } unsafe impl :: windows :: Abi for KSATTRIBUTE { type Abi = Self ; type DefaultType = Self ; } pub const KSATTRIBUTEID_AUDIOSIGNALPROCESSING_MODE : :: windows :: Guid = :: windows :: Guid :: from_values ( 3791167157 ,24390 ,16795 , [ 150 ,123 ,255 ,103 ,112 ,185 ,132 ,1 ] , ) ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSATTRIBUTE_AUDIOSIGNALPROCESSING_MODE { pub AttributeHeader : KSATTRIBUTE , pub SignalProcessingMode : :: windows :: Guid } impl KSATTRIBUTE_AUDIOSIGNALPROCESSING_MODE { } impl :: std :: default :: Default for KSATTRIBUTE_AUDIOSIGNALPROCESSING_MODE { fn default ( ) -> Self { Self { AttributeHeader : :: std :: default :: Default :: default ( ) , SignalProcessingMode : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for KSATTRIBUTE_AUDIOSIGNALPROCESSING_MODE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSATTRIBUTE_AUDIOSIGNALPROCESSING_MODE" ) . field ( "AttributeHeader" , & self . AttributeHeader ) . field ( "SignalProcessingMode" , & self . SignalProcessingMode ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSATTRIBUTE_AUDIOSIGNALPROCESSING_MODE { fn eq ( & self , other : & Self ) -> bool { self . AttributeHeader == other . AttributeHeader && self . SignalProcessingMode == other . SignalProcessingMode } } impl :: std :: cmp :: Eq for KSATTRIBUTE_AUDIOSIGNALPROCESSING_MODE { } unsafe impl :: windows :: Abi for KSATTRIBUTE_AUDIOSIGNALPROCESSING_MODE { type Abi = Self ; type DefaultType = Self ; } pub const KSATTRIBUTE_REQUIRED : u32 = 1u32 ; pub const KSAUDDECOUTMODE_PCM_51 : u32 = 2u32 ; pub const KSAUDDECOUTMODE_SPDIFF : u32 = 4u32 ; pub const KSAUDDECOUTMODE_STEREO_ANALOG : u32 = 1u32 ; pub const KSAUDFNAME_3D_CENTER : :: windows :: Guid = :: windows :: Guid :: from_values ( 2667999412 ,39199 ,4562 , [ 172 ,77 ,0 ,192 ,79 ,142 ,251 ,104 ] , ) ; pub const KSAUDFNAME_3D_DEPTH : :: windows :: Guid = :: windows :: Guid :: from_values ( 1677678407 ,39199 ,4562 , [ 172 ,77 ,0 ,192 ,79 ,142 ,251 ,104 ] , ) ; pub const KSAUDFNAME_3D_STEREO : :: windows :: Guid = :: windows :: Guid :: from_values ( 408940002 ,39173 ,4561 , [ 149 ,169 ,0 ,192 ,79 ,185 ,37 ,211 ] , ) ; pub const KSAUDFNAME_ALTERNATE_MICROPHONE : :: windows :: Guid = :: windows :: Guid :: from_values ( 734207339 ,38627 ,4562 , [ 172 ,76 ,0 ,192 ,79 ,142 ,251 ,104 ] , ) ; pub const KSAUDFNAME_AUX : :: windows :: Guid = :: windows :: Guid :: from_values ( 408940030 ,39173 ,4561 , [ 149 ,169 ,0 ,192 ,79 ,185 ,37 ,211 ] , ) ; pub const KSAUDFNAME_AUX_MUTE : :: windows :: Guid = :: windows :: Guid :: from_values ( 408940029 ,39173 ,4561 , [ 149 ,169 ,0 ,192 ,79 ,185 ,37 ,211 ] , ) ; pub const KSAUDFNAME_AUX_VOLUME : :: windows :: Guid = :: windows :: Guid :: from_values ( 408940028 ,39173 ,4561 , [ 149 ,169 ,0 ,192 ,79 ,185 ,37 ,211 ] , ) ; pub const KSAUDFNAME_BASS : :: windows :: Guid = :: windows :: Guid :: from_values ( 408940000 ,39173 ,4561 , [ 149 ,169 ,0 ,192 ,79 ,185 ,37 ,211 ] , ) ; pub const KSAUDFNAME_CD_AUDIO : :: windows :: Guid = :: windows :: Guid :: from_values ( 408940027 ,39173 ,4561 , [ 149 ,169 ,0 ,192 ,79 ,185 ,37 ,211 ] , ) ; pub const KSAUDFNAME_CD_IN_VOLUME : :: windows :: Guid = :: windows :: Guid :: from_values ( 408940019 ,39173 ,4561 , [ 149 ,169 ,0 ,192 ,79 ,185 ,37 ,211 ] , ) ; pub const KSAUDFNAME_CD_MUTE : :: windows :: Guid = :: windows :: Guid :: from_values ( 408940010 ,39173 ,4561 , [ 149 ,169 ,0 ,192 ,79 ,185 ,37 ,211 ] , ) ; pub const KSAUDFNAME_CD_VOLUME : :: windows :: Guid = :: windows :: Guid :: from_values ( 408940009 ,39173 ,4561 , [ 149 ,169 ,0 ,192 ,79 ,185 ,37 ,211 ] , ) ; pub const KSAUDFNAME_LINE_IN : :: windows :: Guid = :: windows :: Guid :: from_values ( 408940025 ,39173 ,4561 , [ 149 ,169 ,0 ,192 ,79 ,185 ,37 ,211 ] , ) ; pub const KSAUDFNAME_LINE_IN_VOLUME : :: windows :: Guid = :: windows :: Guid :: from_values ( 408940020 ,39173 ,4561 , [ 149 ,169 ,0 ,192 ,79 ,185 ,37 ,211 ] , ) ; pub const KSAUDFNAME_LINE_MUTE : :: windows :: Guid = :: windows :: Guid :: from_values ( 408940012 ,39173 ,4561 , [ 149 ,169 ,0 ,192 ,79 ,185 ,37 ,211 ] , ) ; pub const KSAUDFNAME_LINE_VOLUME : :: windows :: Guid = :: windows :: Guid :: from_values ( 408940011 ,39173 ,4561 , [ 149 ,169 ,0 ,192 ,79 ,185 ,37 ,211 ] , ) ; pub const KSAUDFNAME_MASTER_MUTE : :: windows :: Guid = :: windows :: Guid :: from_values ( 408940004 ,39173 ,4561 , [ 149 ,169 ,0 ,192 ,79 ,185 ,37 ,211 ] , ) ; pub const KSAUDFNAME_MASTER_VOLUME : :: windows :: Guid = :: windows :: Guid :: from_values ( 408940003 ,39173 ,4561 , [ 149 ,169 ,0 ,192 ,79 ,185 ,37 ,211 ] , ) ; pub const KSAUDFNAME_MICROPHONE_BOOST : :: windows :: Guid = :: windows :: Guid :: from_values ( 734207338 ,38627 ,4562 , [ 172 ,76 ,0 ,192 ,79 ,142 ,251 ,104 ] , ) ; pub const KSAUDFNAME_MIC_IN_VOLUME : :: windows :: Guid = :: windows :: Guid :: from_values ( 408940021 ,39173 ,4561 , [ 149 ,169 ,0 ,192 ,79 ,185 ,37 ,211 ] , ) ; pub const KSAUDFNAME_MIC_MUTE : :: windows :: Guid = :: windows :: Guid :: from_values ( 408940014 ,39173 ,4561 , [ 149 ,169 ,0 ,192 ,79 ,185 ,37 ,211 ] , ) ; pub const KSAUDFNAME_MIC_VOLUME : :: windows :: Guid = :: windows :: Guid :: from_values ( 408940013 ,39173 ,4561 , [ 149 ,169 ,0 ,192 ,79 ,185 ,37 ,211 ] , ) ; pub const KSAUDFNAME_MIDI : :: windows :: Guid = :: windows :: Guid :: from_values ( 408940024 ,39173 ,4561 , [ 149 ,169 ,0 ,192 ,79 ,185 ,37 ,211 ] , ) ; pub const KSAUDFNAME_MIDI_IN_VOLUME : :: windows :: Guid = :: windows :: Guid :: from_values ( 408940018 ,39173 ,4561 , [ 149 ,169 ,0 ,192 ,79 ,185 ,37 ,211 ] , ) ; pub const KSAUDFNAME_MIDI_MUTE : :: windows :: Guid = :: windows :: Guid :: from_values ( 408940008 ,39173 ,4561 , [ 149 ,169 ,0 ,192 ,79 ,185 ,37 ,211 ] , ) ; pub const KSAUDFNAME_MIDI_VOLUME : :: windows :: Guid = :: windows :: Guid :: from_values ( 408940007 ,39173 ,4561 , [ 149 ,169 ,0 ,192 ,79 ,185 ,37 ,211 ] , ) ; pub const KSAUDFNAME_MIDRANGE : :: windows :: Guid = :: windows :: Guid :: from_values ( 2731271288 ,44676 ,18849 , [ 139 ,114 ,74 ,208 ,155 ,120 ,237 ,52 ] , ) ; pub const KSAUDFNAME_MONO_MIX : :: windows :: Guid = :: windows :: Guid :: from_values ( 14676088 ,38627 ,4562 , [ 172 ,76 ,0 ,192 ,79 ,142 ,251 ,104 ] , ) ; pub const KSAUDFNAME_MONO_MIX_MUTE : :: windows :: Guid = :: windows :: Guid :: from_values ( 734207337 ,38627 ,4562 , [ 172 ,76 ,0 ,192 ,79 ,142 ,251 ,104 ] , ) ; pub const KSAUDFNAME_MONO_MIX_VOLUME : :: windows :: Guid = :: windows :: Guid :: from_values ( 582019838 ,38627 ,4562 , [ 172 ,76 ,0 ,192 ,79 ,142 ,251 ,104 ] , ) ; pub const KSAUDFNAME_MONO_OUT : :: windows :: Guid = :: windows :: Guid :: from_values ( 4189330883 ,38626 ,4562 , [ 172 ,76 ,0 ,192 ,79 ,142 ,251 ,104 ] , ) ; pub const KSAUDFNAME_MONO_OUT_MUTE : :: windows :: Guid = :: windows :: Guid :: from_values ( 449988588 ,38627 ,4562 , [ 172 ,76 ,0 ,192 ,79 ,142 ,251 ,104 ] , ) ; pub const KSAUDFNAME_MONO_OUT_VOLUME : :: windows :: Guid = :: windows :: Guid :: from_values ( 449988587 ,38627 ,4562 , [ 172 ,76 ,0 ,192 ,79 ,142 ,251 ,104 ] , ) ; pub const KSAUDFNAME_PC_SPEAKER : :: windows :: Guid = :: windows :: Guid :: from_values ( 408940031 ,39173 ,4561 , [ 149 ,169 ,0 ,192 ,79 ,185 ,37 ,211 ] , ) ; pub const KSAUDFNAME_PC_SPEAKER_MUTE : :: windows :: Guid = :: windows :: Guid :: from_values ( 408940017 ,39173 ,4561 , [ 149 ,169 ,0 ,192 ,79 ,185 ,37 ,211 ] , ) ; pub const KSAUDFNAME_PC_SPEAKER_VOLUME : :: windows :: Guid = :: windows :: Guid :: from_values ( 408940016 ,39173 ,4561 , [ 149 ,169 ,0 ,192 ,79 ,185 ,37 ,211 ] , ) ; pub const KSAUDFNAME_PEAKMETER : :: windows :: Guid = :: windows :: Guid :: from_values ( 1474446144 ,64603 ,17938 , [ 165 ,98 ,114 ,177 ,26 ,41 ,223 ,174 ] , ) ; pub const KSAUDFNAME_RECORDING_CONTROL : :: windows :: Guid = :: windows :: Guid :: from_values ( 408940026 ,39173 ,4561 , [ 149 ,169 ,0 ,192 ,79 ,185 ,37 ,211 ] , ) ; pub const KSAUDFNAME_RECORDING_SOURCE : :: windows :: Guid = :: windows :: Guid :: from_values ( 408940015 ,39173 ,4561 , [ 149 ,169 ,0 ,192 ,79 ,185 ,37 ,211 ] , ) ; pub const KSAUDFNAME_STEREO_MIX : :: windows :: Guid = :: windows :: Guid :: from_values ( 14676087 ,38627 ,4562 , [ 172 ,76 ,0 ,192 ,79 ,142 ,251 ,104 ] , ) ; pub const KSAUDFNAME_STEREO_MIX_MUTE : :: windows :: Guid = :: windows :: Guid :: from_values ( 582019837 ,38627 ,4562 , [ 172 ,76 ,0 ,192 ,79 ,142 ,251 ,104 ] , ) ; pub const KSAUDFNAME_STEREO_MIX_VOLUME : :: windows :: Guid = :: windows :: Guid :: from_values ( 449988589 ,38627 ,4562 , [ 172 ,76 ,0 ,192 ,79 ,142 ,251 ,104 ] , ) ; pub const KSAUDFNAME_TREBLE : :: windows :: Guid = :: windows :: Guid :: from_values ( 408940001 ,39173 ,4561 , [ 149 ,169 ,0 ,192 ,79 ,185 ,37 ,211 ] , ) ; pub const KSAUDFNAME_VIDEO : :: windows :: Guid = :: windows :: Guid :: from_values ( 2438835908 ,42036 ,4562 , [ 172 ,82 ,0 ,192 ,79 ,142 ,251 ,104 ] , ) ; pub const KSAUDFNAME_VIDEO_MUTE : :: windows :: Guid = :: windows :: Guid :: from_values ( 2605115145 ,39210 ,4562 , [ 172 ,77 ,0 ,192 ,79 ,142 ,251 ,104 ] , ) ; pub const KSAUDFNAME_VIDEO_VOLUME : :: windows :: Guid = :: windows :: Guid :: from_values ( 2605115144 ,39210 ,4562 , [ 172 ,77 ,0 ,192 ,79 ,142 ,251 ,104 ] , ) ; pub const KSAUDFNAME_VOLUME_CONTROL : :: windows :: Guid = :: windows :: Guid :: from_values ( 408940023 ,39173 ,4561 , [ 149 ,169 ,0 ,192 ,79 ,185 ,37 ,211 ] , ) ; pub const KSAUDFNAME_WAVE_IN_VOLUME : :: windows :: Guid = :: windows :: Guid :: from_values ( 408940022 ,39173 ,4561 , [ 149 ,169 ,0 ,192 ,79 ,185 ,37 ,211 ] , ) ; pub const KSAUDFNAME_WAVE_MUTE : :: windows :: Guid = :: windows :: Guid :: from_values ( 408940006 ,39173 ,4561 , [ 149 ,169 ,0 ,192 ,79 ,185 ,37 ,211 ] , ) ; pub const KSAUDFNAME_WAVE_OUT_MIX : :: windows :: Guid = :: windows :: Guid :: from_values ( 408940032 ,39173 ,4561 , [ 149 ,169 ,0 ,192 ,79 ,185 ,37 ,211 ] , ) ; pub const KSAUDFNAME_WAVE_VOLUME : :: windows :: Guid = :: windows :: Guid :: from_values ( 408940005 ,39173 ,4561 , [ 149 ,169 ,0 ,192 ,79 ,185 ,37 ,211 ] , ) ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSAUDIOENGINE_BUFFER_SIZE_RANGE { pub MinBufferBytes : u32 , pub MaxBufferBytes : u32 } impl KSAUDIOENGINE_BUFFER_SIZE_RANGE { } impl :: std :: default :: Default for KSAUDIOENGINE_BUFFER_SIZE_RANGE { fn default ( ) -> Self { Self { MinBufferBytes : 0 , MaxBufferBytes : 0 } } } impl :: std :: fmt :: Debug for KSAUDIOENGINE_BUFFER_SIZE_RANGE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSAUDIOENGINE_BUFFER_SIZE_RANGE" ) . field ( "MinBufferBytes" , & self . MinBufferBytes ) . field ( "MaxBufferBytes" , & self . MaxBufferBytes ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSAUDIOENGINE_BUFFER_SIZE_RANGE { fn eq ( & self , other : & Self ) -> bool { self . MinBufferBytes == other . MinBufferBytes && self . MaxBufferBytes == other . MaxBufferBytes } } impl :: std :: cmp :: Eq for KSAUDIOENGINE_BUFFER_SIZE_RANGE { } unsafe impl :: windows :: Abi for KSAUDIOENGINE_BUFFER_SIZE_RANGE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSAUDIOENGINE_DESCRIPTOR { pub nHostPinId : u32 , pub nOffloadPinId : u32 , pub nLoopbackPinId : u32 } impl KSAUDIOENGINE_DESCRIPTOR { } impl :: std :: default :: Default for KSAUDIOENGINE_DESCRIPTOR { fn default ( ) -> Self { Self { nHostPinId : 0 , nOffloadPinId : 0 , nLoopbackPinId : 0 } } } impl :: std :: fmt :: Debug for KSAUDIOENGINE_DESCRIPTOR { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSAUDIOENGINE_DESCRIPTOR" ) . field ( "nHostPinId" , & self . nHostPinId ) . field ( "nOffloadPinId" , & self . nOffloadPinId ) . field ( "nLoopbackPinId" , & self . nLoopbackPinId ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSAUDIOENGINE_DESCRIPTOR { fn eq ( & self , other : & Self ) -> bool { self . nHostPinId == other . nHostPinId && self . nOffloadPinId == other . nOffloadPinId && self . nLoopbackPinId == other . nLoopbackPinId } } impl :: std :: cmp :: Eq for KSAUDIOENGINE_DESCRIPTOR { } unsafe impl :: windows :: Abi for KSAUDIOENGINE_DESCRIPTOR { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSAUDIOENGINE_VOLUMELEVEL { pub TargetVolume : i32 , pub CurveType : AUDIO_CURVE_TYPE , pub CurveDuration : u64 } impl KSAUDIOENGINE_VOLUMELEVEL { } impl :: std :: default :: Default for KSAUDIOENGINE_VOLUMELEVEL { fn default ( ) -> Self { Self { TargetVolume : 0 , CurveType : :: std :: default :: Default :: default ( ) , CurveDuration : 0 } } } impl :: std :: fmt :: Debug for KSAUDIOENGINE_VOLUMELEVEL { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSAUDIOENGINE_VOLUMELEVEL" ) . field ( "TargetVolume" , & self . TargetVolume ) . field ( "CurveType" , & self . CurveType ) . field ( "CurveDuration" , & self . CurveDuration ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSAUDIOENGINE_VOLUMELEVEL { fn eq ( & self , other : & Self ) -> bool { self . TargetVolume == other . TargetVolume && self . CurveType == other . CurveType && self . CurveDuration == other . CurveDuration } } impl :: std :: cmp :: Eq for KSAUDIOENGINE_VOLUMELEVEL { } unsafe impl :: windows :: Abi for KSAUDIOENGINE_VOLUMELEVEL { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSAUDIOMODULE_DESCRIPTOR { pub ClassId : :: windows :: Guid , pub InstanceId : u32 , pub VersionMajor : u32 , pub VersionMinor : u32 , pub Name : [ u16 ;128 ] } impl KSAUDIOMODULE_DESCRIPTOR { } impl :: std :: default :: Default for KSAUDIOMODULE_DESCRIPTOR { fn default ( ) -> Self { Self { ClassId : :: std :: default :: Default :: default ( ) , InstanceId : 0 , VersionMajor : 0 , VersionMinor : 0 , Name : [ 0 ;128 ] } } } impl :: std :: fmt :: Debug for KSAUDIOMODULE_DESCRIPTOR { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSAUDIOMODULE_DESCRIPTOR" ) . field ( "ClassId" , & self . ClassId ) . field ( "InstanceId" , & self . InstanceId ) . field ( "VersionMajor" , & self . VersionMajor ) . field ( "VersionMinor" , & self . VersionMinor ) . field ( "Name" , & self . Name ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSAUDIOMODULE_DESCRIPTOR { fn eq ( & self , other : & Self ) -> bool { self . ClassId == other . ClassId && self . InstanceId == other . InstanceId && self . VersionMajor == other . VersionMajor && self . VersionMinor == other . VersionMinor && self . Name == other . Name } } impl :: std :: cmp :: Eq for KSAUDIOMODULE_DESCRIPTOR { } unsafe impl :: windows :: Abi for KSAUDIOMODULE_DESCRIPTOR { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSAUDIOMODULE_NOTIFICATION { pub Anonymous : KSAUDIOMODULE_NOTIFICATION_0 } impl KSAUDIOMODULE_NOTIFICATION { } impl :: std :: cmp :: PartialEq for KSAUDIOMODULE_NOTIFICATION { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSAUDIOMODULE_NOTIFICATION { } unsafe impl :: windows :: Abi for KSAUDIOMODULE_NOTIFICATION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union KSAUDIOMODULE_NOTIFICATION_0 { pub ProviderId : KSAUDIOMODULE_NOTIFICATION_0_0 , pub Alignment : i64 } impl KSAUDIOMODULE_NOTIFICATION_0 { } impl :: std :: cmp :: PartialEq for KSAUDIOMODULE_NOTIFICATION_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSAUDIOMODULE_NOTIFICATION_0 { } unsafe impl :: windows :: Abi for KSAUDIOMODULE_NOTIFICATION_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSAUDIOMODULE_NOTIFICATION_0_0 { pub DeviceId : :: windows :: Guid , pub ClassId : :: windows :: Guid , pub InstanceId : u32 , pub Reserved : u32 } impl KSAUDIOMODULE_NOTIFICATION_0_0 { } impl :: std :: default :: Default for KSAUDIOMODULE_NOTIFICATION_0_0 { fn default ( ) -> Self { Self { DeviceId : :: std :: default :: Default :: default ( ) , ClassId : :: std :: default :: Default :: default ( ) , InstanceId : 0 , Reserved : 0 } } } impl :: std :: fmt :: Debug for KSAUDIOMODULE_NOTIFICATION_0_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_ProviderId_e__Struct" ) . field ( "DeviceId" , & self . DeviceId ) . field ( "ClassId" , & self . ClassId ) . field ( "InstanceId" , & self . InstanceId ) . field ( "Reserved" , & self . Reserved ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSAUDIOMODULE_NOTIFICATION_0_0 { fn eq ( & self , other : & Self ) -> bool { self . DeviceId == other . DeviceId && self . ClassId == other . ClassId && self . InstanceId == other . InstanceId && self . Reserved == other . Reserved } } impl :: std :: cmp :: Eq for KSAUDIOMODULE_NOTIFICATION_0_0 { } unsafe impl :: windows :: Abi for KSAUDIOMODULE_NOTIFICATION_0_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSAUDIOMODULE_PROPERTY { pub Property : KSIDENTIFIER , pub ClassId : :: windows :: Guid , pub InstanceId : u32 } impl KSAUDIOMODULE_PROPERTY { } impl :: std :: cmp :: PartialEq for KSAUDIOMODULE_PROPERTY { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSAUDIOMODULE_PROPERTY { } unsafe impl :: windows :: Abi for KSAUDIOMODULE_PROPERTY { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSAUDIOPOSTURE_DESCRIPTION { pub CbSize : u32 , pub MembersListCount : u32 } impl KSAUDIOPOSTURE_DESCRIPTION { } impl :: std :: default :: Default for KSAUDIOPOSTURE_DESCRIPTION { fn default ( ) -> Self { Self { CbSize : 0 , MembersListCount : 0 } } } impl :: std :: fmt :: Debug for KSAUDIOPOSTURE_DESCRIPTION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSAUDIOPOSTURE_DESCRIPTION" ) . field ( "CbSize" , & self . CbSize ) . field ( "MembersListCount" , & self . MembersListCount ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSAUDIOPOSTURE_DESCRIPTION { fn eq ( & self , other : & Self ) -> bool { self . CbSize == other . CbSize && self . MembersListCount == other . MembersListCount } } impl :: std :: cmp :: Eq for KSAUDIOPOSTURE_DESCRIPTION { } unsafe impl :: windows :: Abi for KSAUDIOPOSTURE_DESCRIPTION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSAUDIOPOSTURE_PANEL_STATE { pub Power : AUDIOPOSTURE_PANEL_POWER , pub Orientation : AUDIOPOSTURE_PANEL_ORIENTATION } impl KSAUDIOPOSTURE_PANEL_STATE { } impl :: std :: default :: Default for KSAUDIOPOSTURE_PANEL_STATE { fn default ( ) -> Self { Self { Power : :: std :: default :: Default :: default ( ) , Orientation : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for KSAUDIOPOSTURE_PANEL_STATE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSAUDIOPOSTURE_PANEL_STATE" ) . field ( "Power" , & self . Power ) . field ( "Orientation" , & self . Orientation ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSAUDIOPOSTURE_PANEL_STATE { fn eq ( & self , other : & Self ) -> bool { self . Power == other . Power && self . Orientation == other . Orientation } } impl :: std :: cmp :: Eq for KSAUDIOPOSTURE_PANEL_STATE { } unsafe impl :: windows :: Abi for KSAUDIOPOSTURE_PANEL_STATE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSAUDIO_CHANNEL_CONFIG { pub ActiveSpeakerPositions : i32 } impl KSAUDIO_CHANNEL_CONFIG { } impl :: std :: default :: Default for KSAUDIO_CHANNEL_CONFIG { fn default ( ) -> Self { Self { ActiveSpeakerPositions : 0 } } } impl :: std :: fmt :: Debug for KSAUDIO_CHANNEL_CONFIG { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSAUDIO_CHANNEL_CONFIG" ) . field ( "ActiveSpeakerPositions" , & self . ActiveSpeakerPositions ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSAUDIO_CHANNEL_CONFIG { fn eq ( & self , other : & Self ) -> bool { self . ActiveSpeakerPositions == other . ActiveSpeakerPositions } } impl :: std :: cmp :: Eq for KSAUDIO_CHANNEL_CONFIG { } unsafe impl :: windows :: Abi for KSAUDIO_CHANNEL_CONFIG { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSAUDIO_COPY_PROTECTION { pub fCopyrighted : super::super::super::Foundation:: BOOL , pub fOriginal : super::super::super::Foundation:: BOOL } impl KSAUDIO_COPY_PROTECTION { } impl :: std :: default :: Default for KSAUDIO_COPY_PROTECTION { fn default ( ) -> Self { Self { fCopyrighted : :: std :: default :: Default :: default ( ) , fOriginal : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for KSAUDIO_COPY_PROTECTION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSAUDIO_COPY_PROTECTION" ) . field ( "fCopyrighted" , & self . fCopyrighted ) . field ( "fOriginal" , & self . fOriginal ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSAUDIO_COPY_PROTECTION { fn eq ( & self , other : & Self ) -> bool { self . fCopyrighted == other . fCopyrighted && self . fOriginal == other . fOriginal } } impl :: std :: cmp :: Eq for KSAUDIO_COPY_PROTECTION { } unsafe impl :: windows :: Abi for KSAUDIO_COPY_PROTECTION { type Abi = Self ; type DefaultType = Self ; } pub const KSAUDIO_CPU_RESOURCES_HOST_CPU : u32 = 2147483647u32 ; pub const KSAUDIO_CPU_RESOURCES_NOT_HOST_CPU : u32 = 0u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSAUDIO_DYNAMIC_RANGE { pub QuietCompression : u32 , pub LoudCompression : u32 } impl KSAUDIO_DYNAMIC_RANGE { } impl :: std :: default :: Default for KSAUDIO_DYNAMIC_RANGE { fn default ( ) -> Self { Self { QuietCompression : 0 , LoudCompression : 0 } } } impl :: std :: fmt :: Debug for KSAUDIO_DYNAMIC_RANGE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSAUDIO_DYNAMIC_RANGE" ) . field ( "QuietCompression" , & self . QuietCompression ) . field ( "LoudCompression" , & self . LoudCompression ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSAUDIO_DYNAMIC_RANGE { fn eq ( & self , other : & Self ) -> bool { self . QuietCompression == other . QuietCompression && self . LoudCompression == other . LoudCompression } } impl :: std :: cmp :: Eq for KSAUDIO_DYNAMIC_RANGE { } unsafe impl :: windows :: Abi for KSAUDIO_DYNAMIC_RANGE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSAUDIO_MICROPHONE_COORDINATES { pub usType : u16 , pub wXCoord : i16 , pub wYCoord : i16 , pub wZCoord : i16 , pub wVerticalAngle : i16 , pub wHorizontalAngle : i16 } impl KSAUDIO_MICROPHONE_COORDINATES { } impl :: std :: default :: Default for KSAUDIO_MICROPHONE_COORDINATES { fn default ( ) -> Self { Self { usType : 0 , wXCoord : 0 , wYCoord : 0 , wZCoord : 0 , wVerticalAngle : 0 , wHorizontalAngle : 0 } } } impl :: std :: fmt :: Debug for KSAUDIO_MICROPHONE_COORDINATES { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSAUDIO_MICROPHONE_COORDINATES" ) . field ( "usType" , & self . usType ) . field ( "wXCoord" , & self . wXCoord ) . field ( "wYCoord" , & self . wYCoord ) . field ( "wZCoord" , & self . wZCoord ) . field ( "wVerticalAngle" , & self . wVerticalAngle ) . field ( "wHorizontalAngle" , & self . wHorizontalAngle ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSAUDIO_MICROPHONE_COORDINATES { fn eq ( & self , other : & Self ) -> bool { self . usType == other . usType && self . wXCoord == other . wXCoord && self . wYCoord == other . wYCoord && self . wZCoord == other . wZCoord && self . wVerticalAngle == other . wVerticalAngle && self . wHorizontalAngle == other . wHorizontalAngle } } impl :: std :: cmp :: Eq for KSAUDIO_MICROPHONE_COORDINATES { } unsafe impl :: windows :: Abi for KSAUDIO_MICROPHONE_COORDINATES { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSAUDIO_MIC_ARRAY_GEOMETRY { pub usVersion : u16 , pub usMicArrayType : u16 , pub wVerticalAngleBegin : i16 , pub wVerticalAngleEnd : i16 , pub wHorizontalAngleBegin : i16 , pub wHorizontalAngleEnd : i16 , pub usFrequencyBandLo : u16 , pub usFrequencyBandHi : u16 , pub usNumberOfMicrophones : u16 , pub KsMicCoord : [ KSAUDIO_MICROPHONE_COORDINATES ;1 ] } impl KSAUDIO_MIC_ARRAY_GEOMETRY { } impl :: std :: default :: Default for KSAUDIO_MIC_ARRAY_GEOMETRY { fn default ( ) -> Self { Self { usVersion : 0 , usMicArrayType : 0 , wVerticalAngleBegin : 0 , wVerticalAngleEnd : 0 , wHorizontalAngleBegin : 0 , wHorizontalAngleEnd : 0 , usFrequencyBandLo : 0 , usFrequencyBandHi : 0 , usNumberOfMicrophones : 0 , KsMicCoord : [ :: std :: default :: Default :: default ( ) ;1 ] } } } impl :: std :: fmt :: Debug for KSAUDIO_MIC_ARRAY_GEOMETRY { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSAUDIO_MIC_ARRAY_GEOMETRY" ) . field ( "usVersion" , & self . usVersion ) . field ( "usMicArrayType" , & self . usMicArrayType ) . field ( "wVerticalAngleBegin" , & self . wVerticalAngleBegin ) . field ( "wVerticalAngleEnd" , & self . wVerticalAngleEnd ) . field ( "wHorizontalAngleBegin" , & self . wHorizontalAngleBegin ) . field ( "wHorizontalAngleEnd" , & self . wHorizontalAngleEnd ) . field ( "usFrequencyBandLo" , & self . usFrequencyBandLo ) . field ( "usFrequencyBandHi" , & self . usFrequencyBandHi ) . field ( "usNumberOfMicrophones" , & self . usNumberOfMicrophones ) . field ( "KsMicCoord" , & self . KsMicCoord ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSAUDIO_MIC_ARRAY_GEOMETRY { fn eq ( & self , other : & Self ) -> bool { self . usVersion == other . usVersion && self . usMicArrayType == other . usMicArrayType && self . wVerticalAngleBegin == other . wVerticalAngleBegin && self . wVerticalAngleEnd == other . wVerticalAngleEnd && self . wHorizontalAngleBegin == other . wHorizontalAngleBegin && self . wHorizontalAngleEnd == other . wHorizontalAngleEnd && self . usFrequencyBandLo == other . usFrequencyBandLo && self . usFrequencyBandHi == other . usFrequencyBandHi && self . usNumberOfMicrophones == other . usNumberOfMicrophones && self . KsMicCoord == other . KsMicCoord } } impl :: std :: cmp :: Eq for KSAUDIO_MIC_ARRAY_GEOMETRY { } unsafe impl :: windows :: Abi for KSAUDIO_MIC_ARRAY_GEOMETRY { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSAUDIO_MIXCAP_TABLE { pub InputChannels : u32 , pub OutputChannels : u32 , pub Capabilities : [ KSAUDIO_MIX_CAPS ;1 ] } impl KSAUDIO_MIXCAP_TABLE { } impl :: std :: cmp :: PartialEq for KSAUDIO_MIXCAP_TABLE { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSAUDIO_MIXCAP_TABLE { } unsafe impl :: windows :: Abi for KSAUDIO_MIXCAP_TABLE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSAUDIO_MIXLEVEL { pub Mute : super::super::super::Foundation:: BOOL , pub Level : i32 } impl KSAUDIO_MIXLEVEL { } impl :: std :: default :: Default for KSAUDIO_MIXLEVEL { fn default ( ) -> Self { Self { Mute : :: std :: default :: Default :: default ( ) , Level : 0 } } } impl :: std :: fmt :: Debug for KSAUDIO_MIXLEVEL { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSAUDIO_MIXLEVEL" ) . field ( "Mute" , & self . Mute ) . field ( "Level" , & self . Level ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSAUDIO_MIXLEVEL { fn eq ( & self , other : & Self ) -> bool { self . Mute == other . Mute && self . Level == other . Level } } impl :: std :: cmp :: Eq for KSAUDIO_MIXLEVEL { } unsafe impl :: windows :: Abi for KSAUDIO_MIXLEVEL { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSAUDIO_MIX_CAPS { pub Mute : super::super::super::Foundation:: BOOL , pub Minimum : i32 , pub Maximum : i32 , pub Anonymous : KSAUDIO_MIX_CAPS_0 } impl KSAUDIO_MIX_CAPS { } impl :: std :: cmp :: PartialEq for KSAUDIO_MIX_CAPS { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSAUDIO_MIX_CAPS { } unsafe impl :: windows :: Abi for KSAUDIO_MIX_CAPS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union KSAUDIO_MIX_CAPS_0 { pub Reset : i32 , pub Resolution : i32 } impl KSAUDIO_MIX_CAPS_0 { } impl :: std :: cmp :: PartialEq for KSAUDIO_MIX_CAPS_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSAUDIO_MIX_CAPS_0 { } unsafe impl :: windows :: Abi for KSAUDIO_MIX_CAPS_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSAUDIO_PACKETSIZE_CONSTRAINTS { pub MinPacketPeriodInHns : u32 , pub PacketSizeFileAlignment : u32 , pub Reserved : u32 , pub NumProcessingModeConstraints : u32 , pub ProcessingModeConstraints : [ _KSAUDIO_PACKETSIZE_SIGNALPROCESSINGMODE_CONSTRAINT ;1 ] } impl KSAUDIO_PACKETSIZE_CONSTRAINTS { } impl :: std :: default :: Default for KSAUDIO_PACKETSIZE_CONSTRAINTS { fn default ( ) -> Self { Self { MinPacketPeriodInHns : 0 , PacketSizeFileAlignment : 0 , Reserved : 0 , NumProcessingModeConstraints : 0 , ProcessingModeConstraints : [ :: std :: default :: Default :: default ( ) ;1 ] } } } impl :: std :: fmt :: Debug for KSAUDIO_PACKETSIZE_CONSTRAINTS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSAUDIO_PACKETSIZE_CONSTRAINTS" ) . field ( "MinPacketPeriodInHns" , & self . MinPacketPeriodInHns ) . field ( "PacketSizeFileAlignment" , & self . PacketSizeFileAlignment ) . field ( "Reserved" , & self . Reserved ) . field ( "NumProcessingModeConstraints" , & self . NumProcessingModeConstraints ) . field ( "ProcessingModeConstraints" , & self . ProcessingModeConstraints ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSAUDIO_PACKETSIZE_CONSTRAINTS { fn eq ( & self , other : & Self ) -> bool { self . MinPacketPeriodInHns == other . MinPacketPeriodInHns && self . PacketSizeFileAlignment == other . PacketSizeFileAlignment && self . Reserved == other . Reserved && self . NumProcessingModeConstraints == other . NumProcessingModeConstraints && self . ProcessingModeConstraints == other . ProcessingModeConstraints } } impl :: std :: cmp :: Eq for KSAUDIO_PACKETSIZE_CONSTRAINTS { } unsafe impl :: windows :: Abi for KSAUDIO_PACKETSIZE_CONSTRAINTS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSAUDIO_PACKETSIZE_CONSTRAINTS2 { pub MinPacketPeriodInHns : u32 , pub PacketSizeFileAlignment : u32 , pub MaxPacketSizeInBytes : u32 , pub NumProcessingModeConstraints : u32 , pub ProcessingModeConstraints : [ _KSAUDIO_PACKETSIZE_SIGNALPROCESSINGMODE_CONSTRAINT ;1 ] } impl KSAUDIO_PACKETSIZE_CONSTRAINTS2 { } impl :: std :: default :: Default for KSAUDIO_PACKETSIZE_CONSTRAINTS2 { fn default ( ) -> Self { Self { MinPacketPeriodInHns : 0 , PacketSizeFileAlignment : 0 , MaxPacketSizeInBytes : 0 , NumProcessingModeConstraints : 0 , ProcessingModeConstraints : [ :: std :: default :: Default :: default ( ) ;1 ] } } } impl :: std :: fmt :: Debug for KSAUDIO_PACKETSIZE_CONSTRAINTS2 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSAUDIO_PACKETSIZE_CONSTRAINTS2" ) . field ( "MinPacketPeriodInHns" , & self . MinPacketPeriodInHns ) . field ( "PacketSizeFileAlignment" , & self . PacketSizeFileAlignment ) . field ( "MaxPacketSizeInBytes" , & self . MaxPacketSizeInBytes ) . field ( "NumProcessingModeConstraints" , & self . NumProcessingModeConstraints ) . field ( "ProcessingModeConstraints" , & self . ProcessingModeConstraints ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSAUDIO_PACKETSIZE_CONSTRAINTS2 { fn eq ( & self , other : & Self ) -> bool { self . MinPacketPeriodInHns == other . MinPacketPeriodInHns && self . PacketSizeFileAlignment == other . PacketSizeFileAlignment && self . MaxPacketSizeInBytes == other . MaxPacketSizeInBytes && self . NumProcessingModeConstraints == other . NumProcessingModeConstraints && self . ProcessingModeConstraints == other . ProcessingModeConstraints } } impl :: std :: cmp :: Eq for KSAUDIO_PACKETSIZE_CONSTRAINTS2 { } unsafe impl :: windows :: Abi for KSAUDIO_PACKETSIZE_CONSTRAINTS2 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSAUDIO_POSITION { pub PlayOffset : u64 , pub WriteOffset : u64 } impl KSAUDIO_POSITION { } impl :: std :: default :: Default for KSAUDIO_POSITION { fn default ( ) -> Self { Self { PlayOffset : 0 , WriteOffset : 0 } } } impl :: std :: fmt :: Debug for KSAUDIO_POSITION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSAUDIO_POSITION" ) . field ( "PlayOffset" , & self . PlayOffset ) . field ( "WriteOffset" , & self . WriteOffset ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSAUDIO_POSITION { fn eq ( & self , other : & Self ) -> bool { self . PlayOffset == other . PlayOffset && self . WriteOffset == other . WriteOffset } } impl :: std :: cmp :: Eq for KSAUDIO_POSITION { } unsafe impl :: windows :: Abi for KSAUDIO_POSITION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSAUDIO_POSITIONEX { pub TimerFrequency : i64 , pub TimeStamp1 : i64 , pub Position : KSAUDIO_POSITION , pub TimeStamp2 : i64 } impl KSAUDIO_POSITIONEX { } impl :: std :: default :: Default for KSAUDIO_POSITIONEX { fn default ( ) -> Self { Self { TimerFrequency : 0 , TimeStamp1 : 0 , Position : :: std :: default :: Default :: default ( ) , TimeStamp2 : 0 } } } impl :: std :: fmt :: Debug for KSAUDIO_POSITIONEX { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSAUDIO_POSITIONEX" ) . field ( "TimerFrequency" , & self . TimerFrequency ) . field ( "TimeStamp1" , & self . TimeStamp1 ) . field ( "Position" , & self . Position ) . field ( "TimeStamp2" , & self . TimeStamp2 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSAUDIO_POSITIONEX { fn eq ( & self , other : & Self ) -> bool { self . TimerFrequency == other . TimerFrequency && self . TimeStamp1 == other . TimeStamp1 && self . Position == other . Position && self . TimeStamp2 == other . TimeStamp2 } } impl :: std :: cmp :: Eq for KSAUDIO_POSITIONEX { } unsafe impl :: windows :: Abi for KSAUDIO_POSITIONEX { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSAUDIO_PRESENTATION_POSITION { pub u64PositionInBlocks : u64 , pub u64QPCPosition : u64 } impl KSAUDIO_PRESENTATION_POSITION { } impl :: std :: default :: Default for KSAUDIO_PRESENTATION_POSITION { fn default ( ) -> Self { Self { u64PositionInBlocks : 0 , u64QPCPosition : 0 } } } impl :: std :: fmt :: Debug for KSAUDIO_PRESENTATION_POSITION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSAUDIO_PRESENTATION_POSITION" ) . field ( "u64PositionInBlocks" , & self . u64PositionInBlocks ) . field ( "u64QPCPosition" , & self . u64QPCPosition ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSAUDIO_PRESENTATION_POSITION { fn eq ( & self , other : & Self ) -> bool { self . u64PositionInBlocks == other . u64PositionInBlocks && self . u64QPCPosition == other . u64QPCPosition } } impl :: std :: cmp :: Eq for KSAUDIO_PRESENTATION_POSITION { } unsafe impl :: windows :: Abi for KSAUDIO_PRESENTATION_POSITION { type Abi = Self ; type DefaultType = Self ; } pub const KSAUDIO_QUALITY_ADVANCED : u32 = 3u32 ; pub const KSAUDIO_QUALITY_BASIC : u32 = 2u32 ; pub const KSAUDIO_QUALITY_PC : u32 = 1u32 ; pub const KSAUDIO_QUALITY_WORST : u32 = 0u32 ; pub const KSAUDIO_SPEAKER_DIRECTOUT : u32 = 0u32 ; pub const KSAUDIO_STEREO_SPEAKER_GEOMETRY_HEADPHONE : i32 = -1i32 ; pub const KSAUDIO_STEREO_SPEAKER_GEOMETRY_MAX : u32 = 180u32 ; pub const KSAUDIO_STEREO_SPEAKER_GEOMETRY_MIN : u32 = 5u32 ; pub const KSAUDIO_STEREO_SPEAKER_GEOMETRY_NARROW : u32 = 10u32 ; pub const KSAUDIO_STEREO_SPEAKER_GEOMETRY_WIDE : u32 = 20u32 ; pub const KSCAMERAPROFILE_BalancedVideoAndPhoto : :: windows :: Guid = :: windows :: Guid :: from_values ( 1800581143 ,17095 ,18977 , [ 191 ,227 ,35 ,240 ,9 ,20 ,152 ,135 ] , ) ; pub const KSCAMERAPROFILE_FLAGS_FACEDETECTION : u64 = 8u64 ; pub const KSCAMERAPROFILE_FLAGS_PHOTOHDR : u64 = 4u64 ; pub const KSCAMERAPROFILE_FLAGS_PREVIEW_RES_MUSTMATCH : u64 = 32u64 ; pub const KSCAMERAPROFILE_FLAGS_VARIABLEPHOTOSEQUENCE : u64 = 16u64 ; pub const KSCAMERAPROFILE_FLAGS_VIDEOHDR : u64 = 2u64 ; pub const KSCAMERAPROFILE_FLAGS_VIDEOSTABLIZATION : u64 = 1u64 ; pub const KSCAMERAPROFILE_FaceAuth_Mode : :: windows :: Guid = :: windows :: Guid :: from_values ( 2167806754 ,28683 ,17734 , [ 162 ,212 ,197 ,46 ,144 ,123 ,252 ,39 ] , ) ; pub const KSCAMERAPROFILE_HDRWithWCGPhoto : :: windows :: Guid = :: windows :: Guid :: from_values ( 2616652287 ,46421 ,17957 , [ 179 ,38 ,164 ,109 ,239 ,49 ,143 ,183 ] , ) ; pub const KSCAMERAPROFILE_HDRWithWCGVideo : :: windows :: Guid = :: windows :: Guid :: from_values ( 1260897078 ,18724 ,18825 , [ 185 ,148 ,253 ,175 ,29 ,199 ,205 ,133 ] , ) ; pub const KSCAMERAPROFILE_HighFrameRate : :: windows :: Guid = :: windows :: Guid :: from_values ( 1450074387 ,35893 ,18663 , [ 184 ,159 ,210 ,63 ,220 ,18 ,25 ,220 ] , ) ; pub const KSCAMERAPROFILE_HighQualityPhoto : :: windows :: Guid = :: windows :: Guid :: from_values ( 843319077 ,38427 ,19619 , [ 181 ,178 ,133 ,78 ,113 ,157 ,158 ,27 ] , ) ; pub const KSCAMERAPROFILE_Legacy : :: windows :: Guid = :: windows :: Guid :: from_values ( 3028897153 ,25271 ,20204 , [ 135 ,64 ,128 ,101 ,140 ,74 ,157 ,62 ] , ) ; pub const KSCAMERAPROFILE_PhotoSequence : :: windows :: Guid = :: windows :: Guid :: from_values ( 37330333 ,20200 ,18874 , [ 188 ,7 ,95 ,241 ,86 ,83 ,20 ,19 ] , ) ; pub const KSCAMERAPROFILE_VariablePhotoSequence : :: windows :: Guid = :: windows :: Guid :: from_values ( 2683489110 ,59226 ,18865 , [ 169 ,40 ,153 ,133 ,213 ,148 ,111 ,135 ] , ) ; pub const KSCAMERAPROFILE_VideoConferencing : :: windows :: Guid = :: windows :: Guid :: from_values ( 3309587080 ,57791 ,17815 , [ 178 ,221 ,158 ,30 ,173 ,134 ,75 ,184 ] , ) ; pub const KSCAMERAPROFILE_VideoHDR8 : :: windows :: Guid = :: windows :: Guid :: from_values ( 3572757740 ,48639 ,17172 , [ 177 ,212 ,0 ,142 ,40 ,31 ,116 ,231 ] , ) ; pub const KSCAMERAPROFILE_VideoRecording : :: windows :: Guid = :: windows :: Guid :: from_values ( 2699368424 ,36748 ,20335 , [ 154 ,87 ,70 ,252 ,47 ,100 ,126 ,192 ] , ) ; pub const KSCAMERA_EXTENDEDPROP_ADVANCEDPHOTO_AUTO : u64 = 1u64 ; pub const KSCAMERA_EXTENDEDPROP_ADVANCEDPHOTO_FNF : u64 = 4u64 ; pub const KSCAMERA_EXTENDEDPROP_ADVANCEDPHOTO_HDR : u64 = 2u64 ; pub const KSCAMERA_EXTENDEDPROP_ADVANCEDPHOTO_OFF : u64 = 0u64 ; pub const KSCAMERA_EXTENDEDPROP_ADVANCEDPHOTO_ULTRALOWLIGHT : u64 = 8u64 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSCAMERA_EXTENDEDPROP_CAMERAOFFSET { pub PitchAngle : i32 , pub YawAngle : i32 , pub Flag : u32 , pub Reserved : u32 } impl KSCAMERA_EXTENDEDPROP_CAMERAOFFSET { } impl :: std :: default :: Default for KSCAMERA_EXTENDEDPROP_CAMERAOFFSET { fn default ( ) -> Self { Self { PitchAngle : 0 , YawAngle : 0 , Flag : 0 , Reserved : 0 } } } impl :: std :: fmt :: Debug for KSCAMERA_EXTENDEDPROP_CAMERAOFFSET { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSCAMERA_EXTENDEDPROP_CAMERAOFFSET" ) . field ( "PitchAngle" , & self . PitchAngle ) . field ( "YawAngle" , & self . YawAngle ) . field ( "Flag" , & self . Flag ) . field ( "Reserved" , & self . Reserved ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSCAMERA_EXTENDEDPROP_CAMERAOFFSET { fn eq ( & self , other : & Self ) -> bool { self . PitchAngle == other . PitchAngle && self . YawAngle == other . YawAngle && self . Flag == other . Flag && self . Reserved == other . Reserved } } impl :: std :: cmp :: Eq for KSCAMERA_EXTENDEDPROP_CAMERAOFFSET { } unsafe impl :: windows :: Abi for KSCAMERA_EXTENDEDPROP_CAMERAOFFSET { type Abi = Self ; type DefaultType = Self ; } pub const KSCAMERA_EXTENDEDPROP_CAPS_ASYNCCONTROL : u64 = 9223372036854775808u64 ; pub const KSCAMERA_EXTENDEDPROP_CAPS_CANCELLABLE : u64 = 4611686018427387904u64 ; pub const KSCAMERA_EXTENDEDPROP_CAPS_MASK : u64 = 18374686479671623680u64 ; pub const KSCAMERA_EXTENDEDPROP_CAPS_RESERVED : u64 = 18374686479671623680u64 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSCAMERA_EXTENDEDPROP_EVCOMPENSATION { pub Mode : u32 , pub Min : i32 , pub Max : i32 , pub Value : i32 , pub Reserved : u64 } impl KSCAMERA_EXTENDEDPROP_EVCOMPENSATION { } impl :: std :: default :: Default for KSCAMERA_EXTENDEDPROP_EVCOMPENSATION { fn default ( ) -> Self { Self { Mode : 0 , Min : 0 , Max : 0 , Value : 0 , Reserved : 0 } } } impl :: std :: fmt :: Debug for KSCAMERA_EXTENDEDPROP_EVCOMPENSATION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSCAMERA_EXTENDEDPROP_EVCOMPENSATION" ) . field ( "Mode" , & self . Mode ) . field ( "Min" , & self . Min ) . field ( "Max" , & self . Max ) . field ( "Value" , & self . Value ) . field ( "Reserved" , & self . Reserved ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSCAMERA_EXTENDEDPROP_EVCOMPENSATION { fn eq ( & self , other : & Self ) -> bool { self . Mode == other . Mode && self . Min == other . Min && self . Max == other . Max && self . Value == other . Value && self . Reserved == other . Reserved } } impl :: std :: cmp :: Eq for KSCAMERA_EXTENDEDPROP_EVCOMPENSATION { } unsafe impl :: windows :: Abi for KSCAMERA_EXTENDEDPROP_EVCOMPENSATION { type Abi = Self ; type DefaultType = Self ; } pub const KSCAMERA_EXTENDEDPROP_EVCOMP_FULLSTEP : u64 = 16u64 ; pub const KSCAMERA_EXTENDEDPROP_EVCOMP_HALFSTEP : u64 = 8u64 ; pub const KSCAMERA_EXTENDEDPROP_EVCOMP_QUARTERSTEP : u64 = 2u64 ; pub const KSCAMERA_EXTENDEDPROP_EVCOMP_SIXTHSTEP : u64 = 1u64 ; pub const KSCAMERA_EXTENDEDPROP_EVCOMP_THIRDSTEP : u64 = 4u64 ; pub const KSCAMERA_EXTENDEDPROP_FACEAUTH_MODE_ALTERNATIVE_FRAME_ILLUMINATION : u64 = 2u64 ; pub const KSCAMERA_EXTENDEDPROP_FACEAUTH_MODE_BACKGROUND_SUBTRACTION : u64 = 4u64 ; pub const KSCAMERA_EXTENDEDPROP_FACEAUTH_MODE_DISABLED : u64 = 1u64 ; pub const KSCAMERA_EXTENDEDPROP_FACEDETECTION_BLINK : u64 = 8u64 ; pub const KSCAMERA_EXTENDEDPROP_FACEDETECTION_OFF : u64 = 0u64 ; pub const KSCAMERA_EXTENDEDPROP_FACEDETECTION_ON : u64 = 1u64 ; pub const KSCAMERA_EXTENDEDPROP_FACEDETECTION_PHOTO : u64 = 4u64 ; pub const KSCAMERA_EXTENDEDPROP_FACEDETECTION_PREVIEW : u64 = 1u64 ; pub const KSCAMERA_EXTENDEDPROP_FACEDETECTION_SMILE : u64 = 16u64 ; pub const KSCAMERA_EXTENDEDPROP_FACEDETECTION_VIDEO : u64 = 2u64 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSCAMERA_EXTENDEDPROP_FIELDOFVIEW { pub NormalizedFocalLengthX : u32 , pub NormalizedFocalLengthY : u32 , pub Flag : u32 , pub Reserved : u32 } impl KSCAMERA_EXTENDEDPROP_FIELDOFVIEW { } impl :: std :: default :: Default for KSCAMERA_EXTENDEDPROP_FIELDOFVIEW { fn default ( ) -> Self { Self { NormalizedFocalLengthX : 0 , NormalizedFocalLengthY : 0 , Flag : 0 , Reserved : 0 } } } impl :: std :: fmt :: Debug for KSCAMERA_EXTENDEDPROP_FIELDOFVIEW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSCAMERA_EXTENDEDPROP_FIELDOFVIEW" ) . field ( "NormalizedFocalLengthX" , & self . NormalizedFocalLengthX ) . field ( "NormalizedFocalLengthY" , & self . NormalizedFocalLengthY ) . field ( "Flag" , & self . Flag ) . field ( "Reserved" , & self . Reserved ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSCAMERA_EXTENDEDPROP_FIELDOFVIEW { fn eq ( & self , other : & Self ) -> bool { self . NormalizedFocalLengthX == other . NormalizedFocalLengthX && self . NormalizedFocalLengthY == other . NormalizedFocalLengthY && self . Flag == other . Flag && self . Reserved == other . Reserved } } impl :: std :: cmp :: Eq for KSCAMERA_EXTENDEDPROP_FIELDOFVIEW { } unsafe impl :: windows :: Abi for KSCAMERA_EXTENDEDPROP_FIELDOFVIEW { type Abi = Self ; type DefaultType = Self ; } pub const KSCAMERA_EXTENDEDPROP_FILTERSCOPE : u32 = 4294967295u32 ; pub const KSCAMERA_EXTENDEDPROP_FLAG_CANCELOPERATION : u64 = 9223372036854775808u64 ; pub const KSCAMERA_EXTENDEDPROP_FLAG_MASK : u64 = 18374686479671623680u64 ; pub const KSCAMERA_EXTENDEDPROP_FLASH_ASSISTANT_AUTO : u64 = 256u64 ; pub const KSCAMERA_EXTENDEDPROP_FLASH_ASSISTANT_OFF : u64 = 0u64 ; pub const KSCAMERA_EXTENDEDPROP_FLASH_ASSISTANT_ON : u64 = 128u64 ; pub const KSCAMERA_EXTENDEDPROP_FLASH_AUTO : u64 = 4u64 ; pub const KSCAMERA_EXTENDEDPROP_FLASH_AUTO_ADJUSTABLEPOWER : u64 = 8u64 ; pub const KSCAMERA_EXTENDEDPROP_FLASH_MULTIFLASHSUPPORTED : u64 = 64u64 ; pub const KSCAMERA_EXTENDEDPROP_FLASH_OFF : u64 = 0u64 ; pub const KSCAMERA_EXTENDEDPROP_FLASH_ON : u64 = 1u64 ; pub const KSCAMERA_EXTENDEDPROP_FLASH_ON_ADJUSTABLEPOWER : u64 = 2u64 ; pub const KSCAMERA_EXTENDEDPROP_FLASH_REDEYEREDUCTION : u64 = 16u64 ; pub const KSCAMERA_EXTENDEDPROP_FLASH_SINGLEFLASH : u64 = 32u64 ; pub const KSCAMERA_EXTENDEDPROP_FOCUSPRIORITY_OFF : u64 = 0u64 ; pub const KSCAMERA_EXTENDEDPROP_FOCUSPRIORITY_ON : u64 = 1u64 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct KSCAMERA_EXTENDEDPROP_FOCUSSTATE ( pub i32 ) ; pub const KSCAMERA_EXTENDEDPROP_FOCUSSTATE_UNINITIALIZED : KSCAMERA_EXTENDEDPROP_FOCUSSTATE = KSCAMERA_EXTENDEDPROP_FOCUSSTATE ( 0i32 ) ; pub const KSCAMERA_EXTENDEDPROP_FOCUSSTATE_LOST : KSCAMERA_EXTENDEDPROP_FOCUSSTATE = KSCAMERA_EXTENDEDPROP_FOCUSSTATE ( 1i32 ) ; pub const KSCAMERA_EXTENDEDPROP_FOCUSSTATE_SEARCHING : KSCAMERA_EXTENDEDPROP_FOCUSSTATE = KSCAMERA_EXTENDEDPROP_FOCUSSTATE ( 2i32 ) ; pub const KSCAMERA_EXTENDEDPROP_FOCUSSTATE_FOCUSED : KSCAMERA_EXTENDEDPROP_FOCUSSTATE = KSCAMERA_EXTENDEDPROP_FOCUSSTATE ( 3i32 ) ; pub const KSCAMERA_EXTENDEDPROP_FOCUSSTATE_FAILED : KSCAMERA_EXTENDEDPROP_FOCUSSTATE = KSCAMERA_EXTENDEDPROP_FOCUSSTATE ( 4i32 ) ; impl :: std :: convert :: From < i32 > for KSCAMERA_EXTENDEDPROP_FOCUSSTATE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSCAMERA_EXTENDEDPROP_FOCUSSTATE { type Abi = Self ; type DefaultType = Self ; } pub const KSCAMERA_EXTENDEDPROP_FOCUS_CONTINUOUS : u64 = 256u64 ; pub const KSCAMERA_EXTENDEDPROP_FOCUS_CONTINUOUSLOCK : u64 = 512u64 ; pub const KSCAMERA_EXTENDEDPROP_FOCUS_DISTANCE_HYPERFOCAL : u64 = 33554432u64 ; pub const KSCAMERA_EXTENDEDPROP_FOCUS_DISTANCE_INFINITY : u64 = 16777216u64 ; pub const KSCAMERA_EXTENDEDPROP_FOCUS_DISTANCE_NEAREST : u64 = 67108864u64 ; pub const KSCAMERA_EXTENDEDPROP_FOCUS_DRIVERFALLBACK_OFF : u64 = 2048u64 ; pub const KSCAMERA_EXTENDEDPROP_FOCUS_RANGE_FULLRANGE : u64 = 262144u64 ; pub const KSCAMERA_EXTENDEDPROP_FOCUS_RANGE_HYPERFOCAL : u64 = 1048576u64 ; pub const KSCAMERA_EXTENDEDPROP_FOCUS_RANGE_INFINITY : u64 = 524288u64 ; pub const KSCAMERA_EXTENDEDPROP_FOCUS_RANGE_MACRO : u64 = 65536u64 ; pub const KSCAMERA_EXTENDEDPROP_FOCUS_RANGE_NORMAL : u64 = 131072u64 ; pub const KSCAMERA_EXTENDEDPROP_FOCUS_REGIONBASED : u64 = 4096u64 ; pub const KSCAMERA_EXTENDEDPROP_FOCUS_UNLOCK : u64 = 1024u64 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSCAMERA_EXTENDEDPROP_HEADER { pub Version : u32 , pub PinId : u32 , pub Size : u32 , pub Result : u32 , pub Flags : u64 , pub Capability : u64 } impl KSCAMERA_EXTENDEDPROP_HEADER { } impl :: std :: default :: Default for KSCAMERA_EXTENDEDPROP_HEADER { fn default ( ) -> Self { Self { Version : 0 , PinId : 0 , Size : 0 , Result : 0 , Flags : 0 , Capability : 0 } } } impl :: std :: fmt :: Debug for KSCAMERA_EXTENDEDPROP_HEADER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSCAMERA_EXTENDEDPROP_HEADER" ) . field ( "Version" , & self . Version ) . field ( "PinId" , & self . PinId ) . field ( "Size" , & self . Size ) . field ( "Result" , & self . Result ) . field ( "Flags" , & self . Flags ) . field ( "Capability" , & self . Capability ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSCAMERA_EXTENDEDPROP_HEADER { fn eq ( & self , other : & Self ) -> bool { self . Version == other . Version && self . PinId == other . PinId && self . Size == other . Size && self . Result == other . Result && self . Flags == other . Flags && self . Capability == other . Capability } } impl :: std :: cmp :: Eq for KSCAMERA_EXTENDEDPROP_HEADER { } unsafe impl :: windows :: Abi for KSCAMERA_EXTENDEDPROP_HEADER { type Abi = Self ; type DefaultType = Self ; } pub const KSCAMERA_EXTENDEDPROP_HISTOGRAM_OFF : u64 = 0u64 ; pub const KSCAMERA_EXTENDEDPROP_HISTOGRAM_ON : u64 = 1u64 ; pub const KSCAMERA_EXTENDEDPROP_IRTORCHMODE_ALTERNATING_FRAME_ILLUMINATION : u64 = 4u64 ; pub const KSCAMERA_EXTENDEDPROP_IRTORCHMODE_ALWAYS_ON : u64 = 2u64 ; pub const KSCAMERA_EXTENDEDPROP_IRTORCHMODE_OFF : u64 = 1u64 ; pub const KSCAMERA_EXTENDEDPROP_ISO_100 : u64 = 8u64 ; pub const KSCAMERA_EXTENDEDPROP_ISO_12800 : u64 = 1024u64 ; pub const KSCAMERA_EXTENDEDPROP_ISO_1600 : u64 = 128u64 ; pub const KSCAMERA_EXTENDEDPROP_ISO_200 : u64 = 16u64 ; pub const KSCAMERA_EXTENDEDPROP_ISO_25600 : u64 = 2048u64 ; pub const KSCAMERA_EXTENDEDPROP_ISO_3200 : u64 = 256u64 ; pub const KSCAMERA_EXTENDEDPROP_ISO_400 : u64 = 32u64 ; pub const KSCAMERA_EXTENDEDPROP_ISO_50 : u64 = 2u64 ; pub const KSCAMERA_EXTENDEDPROP_ISO_6400 : u64 = 512u64 ; pub const KSCAMERA_EXTENDEDPROP_ISO_80 : u64 = 4u64 ; pub const KSCAMERA_EXTENDEDPROP_ISO_800 : u64 = 64u64 ; pub const KSCAMERA_EXTENDEDPROP_ISO_AUTO : u64 = 1u64 ; pub const KSCAMERA_EXTENDEDPROP_ISO_MANUAL : u64 = 36028797018963968u64 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSCAMERA_EXTENDEDPROP_METADATAINFO { pub BufferAlignment : i32 , pub MaxMetadataBufferSize : u32 } impl KSCAMERA_EXTENDEDPROP_METADATAINFO { } impl :: std :: default :: Default for KSCAMERA_EXTENDEDPROP_METADATAINFO { fn default ( ) -> Self { Self { BufferAlignment : 0 , MaxMetadataBufferSize : 0 } } } impl :: std :: fmt :: Debug for KSCAMERA_EXTENDEDPROP_METADATAINFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSCAMERA_EXTENDEDPROP_METADATAINFO" ) . field ( "BufferAlignment" , & self . BufferAlignment ) . field ( "MaxMetadataBufferSize" , & self . MaxMetadataBufferSize ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSCAMERA_EXTENDEDPROP_METADATAINFO { fn eq ( & self , other : & Self ) -> bool { self . BufferAlignment == other . BufferAlignment && self . MaxMetadataBufferSize == other . MaxMetadataBufferSize } } impl :: std :: cmp :: Eq for KSCAMERA_EXTENDEDPROP_METADATAINFO { } unsafe impl :: windows :: Abi for KSCAMERA_EXTENDEDPROP_METADATAINFO { type Abi = Self ; type DefaultType = Self ; } pub const KSCAMERA_EXTENDEDPROP_METADATA_ALIGNMENTREQUIRED : u64 = 256u64 ; pub const KSCAMERA_EXTENDEDPROP_METADATA_MEMORYTYPE_MASK : u64 = 255u64 ; pub const KSCAMERA_EXTENDEDPROP_METADATA_SYSTEMMEMORY : u64 = 1u64 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct KSCAMERA_EXTENDEDPROP_MetadataAlignment ( pub i32 ) ; pub const KSCAMERA_EXTENDEDPROP_MetadataAlignment_16 : KSCAMERA_EXTENDEDPROP_MetadataAlignment = KSCAMERA_EXTENDEDPROP_MetadataAlignment ( 4i32 ) ; pub const KSCAMERA_EXTENDEDPROP_MetadataAlignment_32 : KSCAMERA_EXTENDEDPROP_MetadataAlignment = KSCAMERA_EXTENDEDPROP_MetadataAlignment ( 5i32 ) ; pub const KSCAMERA_EXTENDEDPROP_MetadataAlignment_64 : KSCAMERA_EXTENDEDPROP_MetadataAlignment = KSCAMERA_EXTENDEDPROP_MetadataAlignment ( 6i32 ) ; pub const KSCAMERA_EXTENDEDPROP_MetadataAlignment_128 : KSCAMERA_EXTENDEDPROP_MetadataAlignment = KSCAMERA_EXTENDEDPROP_MetadataAlignment ( 7i32 ) ; pub const KSCAMERA_EXTENDEDPROP_MetadataAlignment_256 : KSCAMERA_EXTENDEDPROP_MetadataAlignment = KSCAMERA_EXTENDEDPROP_MetadataAlignment ( 8i32 ) ; pub const KSCAMERA_EXTENDEDPROP_MetadataAlignment_512 : KSCAMERA_EXTENDEDPROP_MetadataAlignment = KSCAMERA_EXTENDEDPROP_MetadataAlignment ( 9i32 ) ; pub const KSCAMERA_EXTENDEDPROP_MetadataAlignment_1024 : KSCAMERA_EXTENDEDPROP_MetadataAlignment = KSCAMERA_EXTENDEDPROP_MetadataAlignment ( 10i32 ) ; pub const KSCAMERA_EXTENDEDPROP_MetadataAlignment_2048 : KSCAMERA_EXTENDEDPROP_MetadataAlignment = KSCAMERA_EXTENDEDPROP_MetadataAlignment ( 11i32 ) ; pub const KSCAMERA_EXTENDEDPROP_MetadataAlignment_4096 : KSCAMERA_EXTENDEDPROP_MetadataAlignment = KSCAMERA_EXTENDEDPROP_MetadataAlignment ( 12i32 ) ; pub const KSCAMERA_EXTENDEDPROP_MetadataAlignment_8192 : KSCAMERA_EXTENDEDPROP_MetadataAlignment = KSCAMERA_EXTENDEDPROP_MetadataAlignment ( 13i32 ) ; impl :: std :: convert :: From < i32 > for KSCAMERA_EXTENDEDPROP_MetadataAlignment { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSCAMERA_EXTENDEDPROP_MetadataAlignment { type Abi = Self ; type DefaultType = Self ; } pub const KSCAMERA_EXTENDEDPROP_OIS_AUTO : u64 = 2u64 ; pub const KSCAMERA_EXTENDEDPROP_OIS_OFF : u64 = 0u64 ; pub const KSCAMERA_EXTENDEDPROP_OIS_ON : u64 = 1u64 ; pub const KSCAMERA_EXTENDEDPROP_OPTIMIZATION_DEFAULT : u64 = 0u64 ; pub const KSCAMERA_EXTENDEDPROP_OPTIMIZATION_LATENCY : u64 = 8u64 ; pub const KSCAMERA_EXTENDEDPROP_OPTIMIZATION_PHOTO : u64 = 1u64 ; pub const KSCAMERA_EXTENDEDPROP_OPTIMIZATION_POWER : u64 = 16u64 ; pub const KSCAMERA_EXTENDEDPROP_OPTIMIZATION_QUALITY : u64 = 4u64 ; pub const KSCAMERA_EXTENDEDPROP_OPTIMIZATION_VIDEO : u64 = 2u64 ; pub const KSCAMERA_EXTENDEDPROP_PHOTOCONFIRMATION_OFF : u64 = 0u64 ; pub const KSCAMERA_EXTENDEDPROP_PHOTOCONFIRMATION_ON : u64 = 1u64 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSCAMERA_EXTENDEDPROP_PHOTOMODE { pub RequestedHistoryFrames : u32 , pub MaxHistoryFrames : u32 , pub SubMode : u32 , pub Reserved : u32 } impl KSCAMERA_EXTENDEDPROP_PHOTOMODE { } impl :: std :: default :: Default for KSCAMERA_EXTENDEDPROP_PHOTOMODE { fn default ( ) -> Self { Self { RequestedHistoryFrames : 0 , MaxHistoryFrames : 0 , SubMode : 0 , Reserved : 0 } } } impl :: std :: fmt :: Debug for KSCAMERA_EXTENDEDPROP_PHOTOMODE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSCAMERA_EXTENDEDPROP_PHOTOMODE" ) . field ( "RequestedHistoryFrames" , & self . RequestedHistoryFrames ) . field ( "MaxHistoryFrames" , & self . MaxHistoryFrames ) . field ( "SubMode" , & self . SubMode ) . field ( "Reserved" , & self . Reserved ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSCAMERA_EXTENDEDPROP_PHOTOMODE { fn eq ( & self , other : & Self ) -> bool { self . RequestedHistoryFrames == other . RequestedHistoryFrames && self . MaxHistoryFrames == other . MaxHistoryFrames && self . SubMode == other . SubMode && self . Reserved == other . Reserved } } impl :: std :: cmp :: Eq for KSCAMERA_EXTENDEDPROP_PHOTOMODE { } unsafe impl :: windows :: Abi for KSCAMERA_EXTENDEDPROP_PHOTOMODE { type Abi = Self ; type DefaultType = Self ; } pub const KSCAMERA_EXTENDEDPROP_PHOTOMODE_NORMAL : u64 = 0u64 ; pub const KSCAMERA_EXTENDEDPROP_PHOTOMODE_SEQUENCE : u64 = 1u64 ; pub const KSCAMERA_EXTENDEDPROP_PHOTOMODE_SEQUENCE_SUB_NONE : u32 = 0u32 ; pub const KSCAMERA_EXTENDEDPROP_PHOTOMODE_SEQUENCE_SUB_VARIABLE : u32 = 1u32 ; pub const KSCAMERA_EXTENDEDPROP_PHOTOTHUMBNAIL_16X : u64 = 8u64 ; pub const KSCAMERA_EXTENDEDPROP_PHOTOTHUMBNAIL_2X : u64 = 1u64 ; pub const KSCAMERA_EXTENDEDPROP_PHOTOTHUMBNAIL_4X : u64 = 2u64 ; pub const KSCAMERA_EXTENDEDPROP_PHOTOTHUMBNAIL_8X : u64 = 4u64 ; pub const KSCAMERA_EXTENDEDPROP_PHOTOTHUMBNAIL_DISABLE : u64 = 0u64 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSCAMERA_EXTENDEDPROP_PROFILE { pub ProfileId : :: windows :: Guid , pub Index : u32 , pub Reserved : u32 } impl KSCAMERA_EXTENDEDPROP_PROFILE { } impl :: std :: default :: Default for KSCAMERA_EXTENDEDPROP_PROFILE { fn default ( ) -> Self { Self { ProfileId : :: std :: default :: Default :: default ( ) , Index : 0 , Reserved : 0 } } } impl :: std :: fmt :: Debug for KSCAMERA_EXTENDEDPROP_PROFILE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSCAMERA_EXTENDEDPROP_PROFILE" ) . field ( "ProfileId" , & self . ProfileId ) . field ( "Index" , & self . Index ) . field ( "Reserved" , & self . Reserved ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSCAMERA_EXTENDEDPROP_PROFILE { fn eq ( & self , other : & Self ) -> bool { self . ProfileId == other . ProfileId && self . Index == other . Index && self . Reserved == other . Reserved } } impl :: std :: cmp :: Eq for KSCAMERA_EXTENDEDPROP_PROFILE { } unsafe impl :: windows :: Abi for KSCAMERA_EXTENDEDPROP_PROFILE { type Abi = Self ; type DefaultType = Self ; } pub const KSCAMERA_EXTENDEDPROP_RELATIVEPANELOPTIMIZATION_DYNAMIC : u64 = 2u64 ; pub const KSCAMERA_EXTENDEDPROP_RELATIVEPANELOPTIMIZATION_OFF : u64 = 0u64 ; pub const KSCAMERA_EXTENDEDPROP_RELATIVEPANELOPTIMIZATION_ON : u64 = 1u64 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct KSCAMERA_EXTENDEDPROP_ROITYPE ( pub i32 ) ; pub const KSCAMERA_EXTENDEDPROP_ROITYPE_UNKNOWN : KSCAMERA_EXTENDEDPROP_ROITYPE = KSCAMERA_EXTENDEDPROP_ROITYPE ( 0i32 ) ; pub const KSCAMERA_EXTENDEDPROP_ROITYPE_FACE : KSCAMERA_EXTENDEDPROP_ROITYPE = KSCAMERA_EXTENDEDPROP_ROITYPE ( 1i32 ) ; impl :: std :: convert :: From < i32 > for KSCAMERA_EXTENDEDPROP_ROITYPE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSCAMERA_EXTENDEDPROP_ROITYPE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSCAMERA_EXTENDEDPROP_ROI_CONFIGCAPS { pub ControlId : u32 , pub MaxNumberOfROIs : u32 , pub Capability : u64 } impl KSCAMERA_EXTENDEDPROP_ROI_CONFIGCAPS { } impl :: std :: default :: Default for KSCAMERA_EXTENDEDPROP_ROI_CONFIGCAPS { fn default ( ) -> Self { Self { ControlId : 0 , MaxNumberOfROIs : 0 , Capability : 0 } } } impl :: std :: fmt :: Debug for KSCAMERA_EXTENDEDPROP_ROI_CONFIGCAPS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSCAMERA_EXTENDEDPROP_ROI_CONFIGCAPS" ) . field ( "ControlId" , & self . ControlId ) . field ( "MaxNumberOfROIs" , & self . MaxNumberOfROIs ) . field ( "Capability" , & self . Capability ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSCAMERA_EXTENDEDPROP_ROI_CONFIGCAPS { fn eq ( & self , other : & Self ) -> bool { self . ControlId == other . ControlId && self . MaxNumberOfROIs == other . MaxNumberOfROIs && self . Capability == other . Capability } } impl :: std :: cmp :: Eq for KSCAMERA_EXTENDEDPROP_ROI_CONFIGCAPS { } unsafe impl :: windows :: Abi for KSCAMERA_EXTENDEDPROP_ROI_CONFIGCAPS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSCAMERA_EXTENDEDPROP_ROI_CONFIGCAPSHEADER { pub Size : u32 , pub ConfigCapCount : u32 , pub Reserved : u64 } impl KSCAMERA_EXTENDEDPROP_ROI_CONFIGCAPSHEADER { } impl :: std :: default :: Default for KSCAMERA_EXTENDEDPROP_ROI_CONFIGCAPSHEADER { fn default ( ) -> Self { Self { Size : 0 , ConfigCapCount : 0 , Reserved : 0 } } } impl :: std :: fmt :: Debug for KSCAMERA_EXTENDEDPROP_ROI_CONFIGCAPSHEADER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSCAMERA_EXTENDEDPROP_ROI_CONFIGCAPSHEADER" ) . field ( "Size" , & self . Size ) . field ( "ConfigCapCount" , & self . ConfigCapCount ) . field ( "Reserved" , & self . Reserved ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSCAMERA_EXTENDEDPROP_ROI_CONFIGCAPSHEADER { fn eq ( & self , other : & Self ) -> bool { self . Size == other . Size && self . ConfigCapCount == other . ConfigCapCount && self . Reserved == other . Reserved } } impl :: std :: cmp :: Eq for KSCAMERA_EXTENDEDPROP_ROI_CONFIGCAPSHEADER { } unsafe impl :: windows :: Abi for KSCAMERA_EXTENDEDPROP_ROI_CONFIGCAPSHEADER { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSCAMERA_EXTENDEDPROP_ROI_EXPOSURE { pub ROIInfo : KSCAMERA_EXTENDEDPROP_ROI_INFO , pub Reserved : u64 } impl KSCAMERA_EXTENDEDPROP_ROI_EXPOSURE { } impl :: std :: default :: Default for KSCAMERA_EXTENDEDPROP_ROI_EXPOSURE { fn default ( ) -> Self { Self { ROIInfo : :: std :: default :: Default :: default ( ) , Reserved : 0 } } } impl :: std :: fmt :: Debug for KSCAMERA_EXTENDEDPROP_ROI_EXPOSURE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSCAMERA_EXTENDEDPROP_ROI_EXPOSURE" ) . field ( "ROIInfo" , & self . ROIInfo ) . field ( "Reserved" , & self . Reserved ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSCAMERA_EXTENDEDPROP_ROI_EXPOSURE { fn eq ( & self , other : & Self ) -> bool { self . ROIInfo == other . ROIInfo && self . Reserved == other . Reserved } } impl :: std :: cmp :: Eq for KSCAMERA_EXTENDEDPROP_ROI_EXPOSURE { } unsafe impl :: windows :: Abi for KSCAMERA_EXTENDEDPROP_ROI_EXPOSURE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSCAMERA_EXTENDEDPROP_ROI_FOCUS { pub ROIInfo : KSCAMERA_EXTENDEDPROP_ROI_INFO , pub Reserved : u64 } impl KSCAMERA_EXTENDEDPROP_ROI_FOCUS { } impl :: std :: default :: Default for KSCAMERA_EXTENDEDPROP_ROI_FOCUS { fn default ( ) -> Self { Self { ROIInfo : :: std :: default :: Default :: default ( ) , Reserved : 0 } } } impl :: std :: fmt :: Debug for KSCAMERA_EXTENDEDPROP_ROI_FOCUS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSCAMERA_EXTENDEDPROP_ROI_FOCUS" ) . field ( "ROIInfo" , & self . ROIInfo ) . field ( "Reserved" , & self . Reserved ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSCAMERA_EXTENDEDPROP_ROI_FOCUS { fn eq ( & self , other : & Self ) -> bool { self . ROIInfo == other . ROIInfo && self . Reserved == other . Reserved } } impl :: std :: cmp :: Eq for KSCAMERA_EXTENDEDPROP_ROI_FOCUS { } unsafe impl :: windows :: Abi for KSCAMERA_EXTENDEDPROP_ROI_FOCUS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSCAMERA_EXTENDEDPROP_ROI_INFO { pub Region : super::super::super::Foundation:: RECT , pub Flags : u64 , pub Weight : i32 , pub RegionOfInterestType : i32 } impl KSCAMERA_EXTENDEDPROP_ROI_INFO { } impl :: std :: default :: Default for KSCAMERA_EXTENDEDPROP_ROI_INFO { fn default ( ) -> Self { Self { Region : :: std :: default :: Default :: default ( ) , Flags : 0 , Weight : 0 , RegionOfInterestType : 0 } } } impl :: std :: fmt :: Debug for KSCAMERA_EXTENDEDPROP_ROI_INFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSCAMERA_EXTENDEDPROP_ROI_INFO" ) . field ( "Region" , & self . Region ) . field ( "Flags" , & self . Flags ) . field ( "Weight" , & self . Weight ) . field ( "RegionOfInterestType" , & self . RegionOfInterestType ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSCAMERA_EXTENDEDPROP_ROI_INFO { fn eq ( & self , other : & Self ) -> bool { self . Region == other . Region && self . Flags == other . Flags && self . Weight == other . Weight && self . RegionOfInterestType == other . RegionOfInterestType } } impl :: std :: cmp :: Eq for KSCAMERA_EXTENDEDPROP_ROI_INFO { } unsafe impl :: windows :: Abi for KSCAMERA_EXTENDEDPROP_ROI_INFO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSCAMERA_EXTENDEDPROP_ROI_ISPCONTROL { pub ControlId : u32 , pub ROICount : u32 , pub Result : u32 , pub Reserved : u32 } impl KSCAMERA_EXTENDEDPROP_ROI_ISPCONTROL { } impl :: std :: default :: Default for KSCAMERA_EXTENDEDPROP_ROI_ISPCONTROL { fn default ( ) -> Self { Self { ControlId : 0 , ROICount : 0 , Result : 0 , Reserved : 0 } } } impl :: std :: fmt :: Debug for KSCAMERA_EXTENDEDPROP_ROI_ISPCONTROL { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSCAMERA_EXTENDEDPROP_ROI_ISPCONTROL" ) . field ( "ControlId" , & self . ControlId ) . field ( "ROICount" , & self . ROICount ) . field ( "Result" , & self . Result ) . field ( "Reserved" , & self . Reserved ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSCAMERA_EXTENDEDPROP_ROI_ISPCONTROL { fn eq ( & self , other : & Self ) -> bool { self . ControlId == other . ControlId && self . ROICount == other . ROICount && self . Result == other . Result && self . Reserved == other . Reserved } } impl :: std :: cmp :: Eq for KSCAMERA_EXTENDEDPROP_ROI_ISPCONTROL { } unsafe impl :: windows :: Abi for KSCAMERA_EXTENDEDPROP_ROI_ISPCONTROL { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSCAMERA_EXTENDEDPROP_ROI_ISPCONTROLHEADER { pub Size : u32 , pub ControlCount : u32 , pub Reserved : u64 } impl KSCAMERA_EXTENDEDPROP_ROI_ISPCONTROLHEADER { } impl :: std :: default :: Default for KSCAMERA_EXTENDEDPROP_ROI_ISPCONTROLHEADER { fn default ( ) -> Self { Self { Size : 0 , ControlCount : 0 , Reserved : 0 } } } impl :: std :: fmt :: Debug for KSCAMERA_EXTENDEDPROP_ROI_ISPCONTROLHEADER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSCAMERA_EXTENDEDPROP_ROI_ISPCONTROLHEADER" ) . field ( "Size" , & self . Size ) . field ( "ControlCount" , & self . ControlCount ) . field ( "Reserved" , & self . Reserved ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSCAMERA_EXTENDEDPROP_ROI_ISPCONTROLHEADER { fn eq ( & self , other : & Self ) -> bool { self . Size == other . Size && self . ControlCount == other . ControlCount && self . Reserved == other . Reserved } } impl :: std :: cmp :: Eq for KSCAMERA_EXTENDEDPROP_ROI_ISPCONTROLHEADER { } unsafe impl :: windows :: Abi for KSCAMERA_EXTENDEDPROP_ROI_ISPCONTROLHEADER { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSCAMERA_EXTENDEDPROP_ROI_WHITEBALANCE { pub ROIInfo : KSCAMERA_EXTENDEDPROP_ROI_INFO , pub Reserved : u64 } impl KSCAMERA_EXTENDEDPROP_ROI_WHITEBALANCE { } impl :: std :: default :: Default for KSCAMERA_EXTENDEDPROP_ROI_WHITEBALANCE { fn default ( ) -> Self { Self { ROIInfo : :: std :: default :: Default :: default ( ) , Reserved : 0 } } } impl :: std :: fmt :: Debug for KSCAMERA_EXTENDEDPROP_ROI_WHITEBALANCE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSCAMERA_EXTENDEDPROP_ROI_WHITEBALANCE" ) . field ( "ROIInfo" , & self . ROIInfo ) . field ( "Reserved" , & self . Reserved ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSCAMERA_EXTENDEDPROP_ROI_WHITEBALANCE { fn eq ( & self , other : & Self ) -> bool { self . ROIInfo == other . ROIInfo && self . Reserved == other . Reserved } } impl :: std :: cmp :: Eq for KSCAMERA_EXTENDEDPROP_ROI_WHITEBALANCE { } unsafe impl :: windows :: Abi for KSCAMERA_EXTENDEDPROP_ROI_WHITEBALANCE { type Abi = Self ; type DefaultType = Self ; } pub const KSCAMERA_EXTENDEDPROP_SCENEMODE_AUTO : u64 = 0u64 ; pub const KSCAMERA_EXTENDEDPROP_SCENEMODE_BACKLIT : u64 = 1024u64 ; pub const KSCAMERA_EXTENDEDPROP_SCENEMODE_BEACH : u64 = 32u64 ; pub const KSCAMERA_EXTENDEDPROP_SCENEMODE_CANDLELIGHT : u64 = 128u64 ; pub const KSCAMERA_EXTENDEDPROP_SCENEMODE_LANDSCAPE : u64 = 256u64 ; pub const KSCAMERA_EXTENDEDPROP_SCENEMODE_MACRO : u64 = 1u64 ; pub const KSCAMERA_EXTENDEDPROP_SCENEMODE_MANUAL : u64 = 36028797018963968u64 ; pub const KSCAMERA_EXTENDEDPROP_SCENEMODE_NIGHT : u64 = 16u64 ; pub const KSCAMERA_EXTENDEDPROP_SCENEMODE_NIGHTPORTRAIT : u64 = 512u64 ; pub const KSCAMERA_EXTENDEDPROP_SCENEMODE_PORTRAIT : u64 = 2u64 ; pub const KSCAMERA_EXTENDEDPROP_SCENEMODE_SNOW : u64 = 8u64 ; pub const KSCAMERA_EXTENDEDPROP_SCENEMODE_SPORT : u64 = 4u64 ; pub const KSCAMERA_EXTENDEDPROP_SCENEMODE_SUNSET : u64 = 64u64 ; pub const KSCAMERA_EXTENDEDPROP_SECUREMODE_DISABLED : u64 = 1u64 ; pub const KSCAMERA_EXTENDEDPROP_SECUREMODE_ENABLED : u64 = 2u64 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSCAMERA_EXTENDEDPROP_VALUE { pub Value : KSCAMERA_EXTENDEDPROP_VALUE_0 } impl KSCAMERA_EXTENDEDPROP_VALUE { } impl :: std :: cmp :: PartialEq for KSCAMERA_EXTENDEDPROP_VALUE { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSCAMERA_EXTENDEDPROP_VALUE { } unsafe impl :: windows :: Abi for KSCAMERA_EXTENDEDPROP_VALUE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union KSCAMERA_EXTENDEDPROP_VALUE_0 { pub dbl : f64 , pub ull : u64 , pub ul : u32 , pub ratio : u64 , pub l : i32 , pub ll : i64 } impl KSCAMERA_EXTENDEDPROP_VALUE_0 { } impl :: std :: cmp :: PartialEq for KSCAMERA_EXTENDEDPROP_VALUE_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSCAMERA_EXTENDEDPROP_VALUE_0 { } unsafe impl :: windows :: Abi for KSCAMERA_EXTENDEDPROP_VALUE_0 { type Abi = Self ; type DefaultType = Self ; } pub const KSCAMERA_EXTENDEDPROP_VFR_OFF : u64 = 0u64 ; pub const KSCAMERA_EXTENDEDPROP_VFR_ON : u64 = 1u64 ; pub const KSCAMERA_EXTENDEDPROP_VIDEOHDR_AUTO : u64 = 2u64 ; pub const KSCAMERA_EXTENDEDPROP_VIDEOHDR_OFF : u64 = 0u64 ; pub const KSCAMERA_EXTENDEDPROP_VIDEOHDR_ON : u64 = 1u64 ; pub const KSCAMERA_EXTENDEDPROP_VIDEOPROCFLAG_AUTO : u64 = 1u64 ; pub const KSCAMERA_EXTENDEDPROP_VIDEOPROCFLAG_LOCK : u64 = 4u64 ; pub const KSCAMERA_EXTENDEDPROP_VIDEOPROCFLAG_MANUAL : u64 = 2u64 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSCAMERA_EXTENDEDPROP_VIDEOPROCSETTING { pub Mode : u32 , pub Min : i32 , pub Max : i32 , pub Step : i32 , pub VideoProc : KSCAMERA_EXTENDEDPROP_VALUE , pub Reserved : u64 } impl KSCAMERA_EXTENDEDPROP_VIDEOPROCSETTING { } impl :: std :: cmp :: PartialEq for KSCAMERA_EXTENDEDPROP_VIDEOPROCSETTING { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSCAMERA_EXTENDEDPROP_VIDEOPROCSETTING { } unsafe impl :: windows :: Abi for KSCAMERA_EXTENDEDPROP_VIDEOPROCSETTING { type Abi = Self ; type DefaultType = Self ; } pub const KSCAMERA_EXTENDEDPROP_VIDEOSTABILIZATION_AUTO : u64 = 2u64 ; pub const KSCAMERA_EXTENDEDPROP_VIDEOSTABILIZATION_OFF : u64 = 0u64 ; pub const KSCAMERA_EXTENDEDPROP_VIDEOSTABILIZATION_ON : u64 = 1u64 ; pub const KSCAMERA_EXTENDEDPROP_VIDEOTEMPORALDENOISING_AUTO : u64 = 1u64 ; pub const KSCAMERA_EXTENDEDPROP_VIDEOTEMPORALDENOISING_OFF : u64 = 2u64 ; pub const KSCAMERA_EXTENDEDPROP_VIDEOTEMPORALDENOISING_ON : u64 = 4u64 ; pub const KSCAMERA_EXTENDEDPROP_VIDEOTORCH_OFF : u64 = 0u64 ; pub const KSCAMERA_EXTENDEDPROP_VIDEOTORCH_ON : u64 = 1u64 ; pub const KSCAMERA_EXTENDEDPROP_VIDEOTORCH_ON_ADJUSTABLEPOWER : u64 = 2u64 ; pub const KSCAMERA_EXTENDEDPROP_WARMSTART_MODE_DISABLED : u64 = 0u64 ; pub const KSCAMERA_EXTENDEDPROP_WARMSTART_MODE_ENABLED : u64 = 1u64 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct KSCAMERA_EXTENDEDPROP_WBPRESET ( pub i32 ) ; pub const KSCAMERA_EXTENDEDPROP_WBPRESET_CLOUDY : KSCAMERA_EXTENDEDPROP_WBPRESET = KSCAMERA_EXTENDEDPROP_WBPRESET ( 1i32 ) ; pub const KSCAMERA_EXTENDEDPROP_WBPRESET_DAYLIGHT : KSCAMERA_EXTENDEDPROP_WBPRESET = KSCAMERA_EXTENDEDPROP_WBPRESET ( 2i32 ) ; pub const KSCAMERA_EXTENDEDPROP_WBPRESET_FLASH : KSCAMERA_EXTENDEDPROP_WBPRESET = KSCAMERA_EXTENDEDPROP_WBPRESET ( 3i32 ) ; pub const KSCAMERA_EXTENDEDPROP_WBPRESET_FLUORESCENT : KSCAMERA_EXTENDEDPROP_WBPRESET = KSCAMERA_EXTENDEDPROP_WBPRESET ( 4i32 ) ; pub const KSCAMERA_EXTENDEDPROP_WBPRESET_TUNGSTEN : KSCAMERA_EXTENDEDPROP_WBPRESET = KSCAMERA_EXTENDEDPROP_WBPRESET ( 5i32 ) ; pub const KSCAMERA_EXTENDEDPROP_WBPRESET_CANDLELIGHT : KSCAMERA_EXTENDEDPROP_WBPRESET = KSCAMERA_EXTENDEDPROP_WBPRESET ( 6i32 ) ; impl :: std :: convert :: From < i32 > for KSCAMERA_EXTENDEDPROP_WBPRESET { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSCAMERA_EXTENDEDPROP_WBPRESET { 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 KSCAMERA_EXTENDEDPROP_WHITEBALANCE_MODE ( pub i32 ) ; pub const KSCAMERA_EXTENDEDPROP_WHITEBALANCE_TEMPERATURE : KSCAMERA_EXTENDEDPROP_WHITEBALANCE_MODE = KSCAMERA_EXTENDEDPROP_WHITEBALANCE_MODE ( 1i32 ) ; pub const KSCAMERA_EXTENDEDPROP_WHITEBALANCE_PRESET : KSCAMERA_EXTENDEDPROP_WHITEBALANCE_MODE = KSCAMERA_EXTENDEDPROP_WHITEBALANCE_MODE ( 2i32 ) ; impl :: std :: convert :: From < i32 > for KSCAMERA_EXTENDEDPROP_WHITEBALANCE_MODE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSCAMERA_EXTENDEDPROP_WHITEBALANCE_MODE { type Abi = Self ; type DefaultType = Self ; } pub const KSCAMERA_EXTENDEDPROP_ZOOM_DEFAULT : u64 = 0u64 ; pub const KSCAMERA_EXTENDEDPROP_ZOOM_DIRECT : u64 = 1u64 ; pub const KSCAMERA_EXTENDEDPROP_ZOOM_SMOOTH : u64 = 2u64 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSCAMERA_MAXVIDEOFPS_FORPHOTORES { pub PhotoResWidth : u32 , pub PhotoResHeight : u32 , pub PreviewFPSNum : u32 , pub PreviewFPSDenom : u32 , pub CaptureFPSNum : u32 , pub CaptureFPSDenom : u32 } impl KSCAMERA_MAXVIDEOFPS_FORPHOTORES { } impl :: std :: default :: Default for KSCAMERA_MAXVIDEOFPS_FORPHOTORES { fn default ( ) -> Self { Self { PhotoResWidth : 0 , PhotoResHeight : 0 , PreviewFPSNum : 0 , PreviewFPSDenom : 0 , CaptureFPSNum : 0 , CaptureFPSDenom : 0 } } } impl :: std :: fmt :: Debug for KSCAMERA_MAXVIDEOFPS_FORPHOTORES { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSCAMERA_MAXVIDEOFPS_FORPHOTORES" ) . field ( "PhotoResWidth" , & self . PhotoResWidth ) . field ( "PhotoResHeight" , & self . PhotoResHeight ) . field ( "PreviewFPSNum" , & self . PreviewFPSNum ) . field ( "PreviewFPSDenom" , & self . PreviewFPSDenom ) . field ( "CaptureFPSNum" , & self . CaptureFPSNum ) . field ( "CaptureFPSDenom" , & self . CaptureFPSDenom ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSCAMERA_MAXVIDEOFPS_FORPHOTORES { fn eq ( & self , other : & Self ) -> bool { self . PhotoResWidth == other . PhotoResWidth && self . PhotoResHeight == other . PhotoResHeight && self . PreviewFPSNum == other . PreviewFPSNum && self . PreviewFPSDenom == other . PreviewFPSDenom && self . CaptureFPSNum == other . CaptureFPSNum && self . CaptureFPSDenom == other . CaptureFPSDenom } } impl :: std :: cmp :: Eq for KSCAMERA_MAXVIDEOFPS_FORPHOTORES { } unsafe impl :: windows :: Abi for KSCAMERA_MAXVIDEOFPS_FORPHOTORES { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSCAMERA_METADATA_CAPTURESTATS { pub Header : KSCAMERA_METADATA_ITEMHEADER , pub Flags : u32 , pub Reserved : u32 , pub ExposureTime : u64 , pub ExposureCompensationFlags : u64 , pub ExposureCompensationValue : i32 , pub IsoSpeed : u32 , pub FocusState : u32 , pub LensPosition : u32 , pub WhiteBalance : u32 , pub Flash : u32 , pub FlashPower : u32 , pub ZoomFactor : u32 , pub SceneMode : u64 , pub SensorFramerate : u64 } impl KSCAMERA_METADATA_CAPTURESTATS { } impl :: std :: default :: Default for KSCAMERA_METADATA_CAPTURESTATS { fn default ( ) -> Self { Self { Header : :: std :: default :: Default :: default ( ) , Flags : 0 , Reserved : 0 , ExposureTime : 0 , ExposureCompensationFlags : 0 , ExposureCompensationValue : 0 , IsoSpeed : 0 , FocusState : 0 , LensPosition : 0 , WhiteBalance : 0 , Flash : 0 , FlashPower : 0 , ZoomFactor : 0 , SceneMode : 0 , SensorFramerate : 0 } } } impl :: std :: fmt :: Debug for KSCAMERA_METADATA_CAPTURESTATS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSCAMERA_METADATA_CAPTURESTATS" ) . field ( "Header" , & self . Header ) . field ( "Flags" , & self . Flags ) . field ( "Reserved" , & self . Reserved ) . field ( "ExposureTime" , & self . ExposureTime ) . field ( "ExposureCompensationFlags" , & self . ExposureCompensationFlags ) . field ( "ExposureCompensationValue" , & self . ExposureCompensationValue ) . field ( "IsoSpeed" , & self . IsoSpeed ) . field ( "FocusState" , & self . FocusState ) . field ( "LensPosition" , & self . LensPosition ) . field ( "WhiteBalance" , & self . WhiteBalance ) . field ( "Flash" , & self . Flash ) . field ( "FlashPower" , & self . FlashPower ) . field ( "ZoomFactor" , & self . ZoomFactor ) . field ( "SceneMode" , & self . SceneMode ) . field ( "SensorFramerate" , & self . SensorFramerate ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSCAMERA_METADATA_CAPTURESTATS { fn eq ( & self , other : & Self ) -> bool { self . Header == other . Header && self . Flags == other . Flags && self . Reserved == other . Reserved && self . ExposureTime == other . ExposureTime && self . ExposureCompensationFlags == other . ExposureCompensationFlags && self . ExposureCompensationValue == other . ExposureCompensationValue && self . IsoSpeed == other . IsoSpeed && self . FocusState == other . FocusState && self . LensPosition == other . LensPosition && self . WhiteBalance == other . WhiteBalance && self . Flash == other . Flash && self . FlashPower == other . FlashPower && self . ZoomFactor == other . ZoomFactor && self . SceneMode == other . SceneMode && self . SensorFramerate == other . SensorFramerate } } impl :: std :: cmp :: Eq for KSCAMERA_METADATA_CAPTURESTATS { } unsafe impl :: windows :: Abi for KSCAMERA_METADATA_CAPTURESTATS { type Abi = Self ; type DefaultType = Self ; } pub const KSCAMERA_METADATA_CAPTURESTATS_FLAG_EXPOSURECOMPENSATION : u32 = 2u32 ; pub const KSCAMERA_METADATA_CAPTURESTATS_FLAG_EXPOSURETIME : u32 = 1u32 ; pub const KSCAMERA_METADATA_CAPTURESTATS_FLAG_FLASH : u32 = 64u32 ; pub const KSCAMERA_METADATA_CAPTURESTATS_FLAG_FLASHPOWER : u32 = 128u32 ; pub const KSCAMERA_METADATA_CAPTURESTATS_FLAG_FOCUSSTATE : u32 = 8u32 ; pub const KSCAMERA_METADATA_CAPTURESTATS_FLAG_ISOSPEED : u32 = 4u32 ; pub const KSCAMERA_METADATA_CAPTURESTATS_FLAG_LENSPOSITION : u32 = 16u32 ; pub const KSCAMERA_METADATA_CAPTURESTATS_FLAG_SCENEMODE : u32 = 512u32 ; pub const KSCAMERA_METADATA_CAPTURESTATS_FLAG_SENSORFRAMERATE : u32 = 1024u32 ; pub const KSCAMERA_METADATA_CAPTURESTATS_FLAG_WHITEBALANCE : u32 = 32u32 ; pub const KSCAMERA_METADATA_CAPTURESTATS_FLAG_ZOOMFACTOR : u32 = 256u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSCAMERA_METADATA_FRAMEILLUMINATION { pub Header : KSCAMERA_METADATA_ITEMHEADER , pub Flags : u32 , pub Reserved : u32 } impl KSCAMERA_METADATA_FRAMEILLUMINATION { } impl :: std :: default :: Default for KSCAMERA_METADATA_FRAMEILLUMINATION { fn default ( ) -> Self { Self { Header : :: std :: default :: Default :: default ( ) , Flags : 0 , Reserved : 0 } } } impl :: std :: fmt :: Debug for KSCAMERA_METADATA_FRAMEILLUMINATION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSCAMERA_METADATA_FRAMEILLUMINATION" ) . field ( "Header" , & self . Header ) . field ( "Flags" , & self . Flags ) . field ( "Reserved" , & self . Reserved ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSCAMERA_METADATA_FRAMEILLUMINATION { fn eq ( & self , other : & Self ) -> bool { self . Header == other . Header && self . Flags == other . Flags && self . Reserved == other . Reserved } } impl :: std :: cmp :: Eq for KSCAMERA_METADATA_FRAMEILLUMINATION { } unsafe impl :: windows :: Abi for KSCAMERA_METADATA_FRAMEILLUMINATION { type Abi = Self ; type DefaultType = Self ; } pub const KSCAMERA_METADATA_FRAMEILLUMINATION_FLAG_ON : u32 = 1u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSCAMERA_METADATA_ITEMHEADER { pub MetadataId : u32 , pub Size : u32 } impl KSCAMERA_METADATA_ITEMHEADER { } impl :: std :: default :: Default for KSCAMERA_METADATA_ITEMHEADER { fn default ( ) -> Self { Self { MetadataId : 0 , Size : 0 } } } impl :: std :: fmt :: Debug for KSCAMERA_METADATA_ITEMHEADER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSCAMERA_METADATA_ITEMHEADER" ) . field ( "MetadataId" , & self . MetadataId ) . field ( "Size" , & self . Size ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSCAMERA_METADATA_ITEMHEADER { fn eq ( & self , other : & Self ) -> bool { self . MetadataId == other . MetadataId && self . Size == other . Size } } impl :: std :: cmp :: Eq for KSCAMERA_METADATA_ITEMHEADER { } unsafe impl :: windows :: Abi for KSCAMERA_METADATA_ITEMHEADER { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSCAMERA_METADATA_PHOTOCONFIRMATION { pub Header : KSCAMERA_METADATA_ITEMHEADER , pub PhotoConfirmationIndex : u32 , pub Reserved : u32 } impl KSCAMERA_METADATA_PHOTOCONFIRMATION { } impl :: std :: default :: Default for KSCAMERA_METADATA_PHOTOCONFIRMATION { fn default ( ) -> Self { Self { Header : :: std :: default :: Default :: default ( ) , PhotoConfirmationIndex : 0 , Reserved : 0 } } } impl :: std :: fmt :: Debug for KSCAMERA_METADATA_PHOTOCONFIRMATION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSCAMERA_METADATA_PHOTOCONFIRMATION" ) . field ( "Header" , & self . Header ) . field ( "PhotoConfirmationIndex" , & self . PhotoConfirmationIndex ) . field ( "Reserved" , & self . Reserved ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSCAMERA_METADATA_PHOTOCONFIRMATION { fn eq ( & self , other : & Self ) -> bool { self . Header == other . Header && self . PhotoConfirmationIndex == other . PhotoConfirmationIndex && self . Reserved == other . Reserved } } impl :: std :: cmp :: Eq for KSCAMERA_METADATA_PHOTOCONFIRMATION { } unsafe impl :: windows :: Abi for KSCAMERA_METADATA_PHOTOCONFIRMATION { 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 KSCAMERA_MetadataId ( pub i32 ) ; pub const MetadataId_Standard_Start : KSCAMERA_MetadataId = KSCAMERA_MetadataId ( 1i32 ) ; pub const MetadataId_PhotoConfirmation : KSCAMERA_MetadataId = KSCAMERA_MetadataId ( 1i32 ) ; pub const MetadataId_UsbVideoHeader : KSCAMERA_MetadataId = KSCAMERA_MetadataId ( 2i32 ) ; pub const MetadataId_CaptureStats : KSCAMERA_MetadataId = KSCAMERA_MetadataId ( 3i32 ) ; pub const MetadataId_CameraExtrinsics : KSCAMERA_MetadataId = KSCAMERA_MetadataId ( 4i32 ) ; pub const MetadataId_CameraIntrinsics : KSCAMERA_MetadataId = KSCAMERA_MetadataId ( 5i32 ) ; pub const MetadataId_FrameIllumination : KSCAMERA_MetadataId = KSCAMERA_MetadataId ( 6i32 ) ; pub const MetadataId_Standard_End : KSCAMERA_MetadataId = KSCAMERA_MetadataId ( 6i32 ) ; pub const MetadataId_Custom_Start : KSCAMERA_MetadataId = KSCAMERA_MetadataId ( -2147483648i32 ) ; impl :: std :: convert :: From < i32 > for KSCAMERA_MetadataId { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSCAMERA_MetadataId { type Abi = Self ; type DefaultType = Self ; } pub const KSCAMERA_PERFRAMESETTING_AUTO : u64 = 4294967296u64 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSCAMERA_PERFRAMESETTING_CAP_HEADER { pub Size : u32 , pub ItemCount : u32 , pub Flags : u64 } impl KSCAMERA_PERFRAMESETTING_CAP_HEADER { } impl :: std :: default :: Default for KSCAMERA_PERFRAMESETTING_CAP_HEADER { fn default ( ) -> Self { Self { Size : 0 , ItemCount : 0 , Flags : 0 } } } impl :: std :: fmt :: Debug for KSCAMERA_PERFRAMESETTING_CAP_HEADER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSCAMERA_PERFRAMESETTING_CAP_HEADER" ) . field ( "Size" , & self . Size ) . field ( "ItemCount" , & self . ItemCount ) . field ( "Flags" , & self . Flags ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSCAMERA_PERFRAMESETTING_CAP_HEADER { fn eq ( & self , other : & Self ) -> bool { self . Size == other . Size && self . ItemCount == other . ItemCount && self . Flags == other . Flags } } impl :: std :: cmp :: Eq for KSCAMERA_PERFRAMESETTING_CAP_HEADER { } unsafe impl :: windows :: Abi for KSCAMERA_PERFRAMESETTING_CAP_HEADER { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSCAMERA_PERFRAMESETTING_CAP_ITEM_HEADER { pub Size : u32 , pub Type : u32 , pub Flags : u64 } impl KSCAMERA_PERFRAMESETTING_CAP_ITEM_HEADER { } impl :: std :: default :: Default for KSCAMERA_PERFRAMESETTING_CAP_ITEM_HEADER { fn default ( ) -> Self { Self { Size : 0 , Type : 0 , Flags : 0 } } } impl :: std :: fmt :: Debug for KSCAMERA_PERFRAMESETTING_CAP_ITEM_HEADER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSCAMERA_PERFRAMESETTING_CAP_ITEM_HEADER" ) . field ( "Size" , & self . Size ) . field ( "Type" , & self . Type ) . field ( "Flags" , & self . Flags ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSCAMERA_PERFRAMESETTING_CAP_ITEM_HEADER { fn eq ( & self , other : & Self ) -> bool { self . Size == other . Size && self . Type == other . Type && self . Flags == other . Flags } } impl :: std :: cmp :: Eq for KSCAMERA_PERFRAMESETTING_CAP_ITEM_HEADER { } unsafe impl :: windows :: Abi for KSCAMERA_PERFRAMESETTING_CAP_ITEM_HEADER { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSCAMERA_PERFRAMESETTING_CUSTOM_ITEM { pub Size : u32 , pub Reserved : u32 , pub Id : :: windows :: Guid } impl KSCAMERA_PERFRAMESETTING_CUSTOM_ITEM { } impl :: std :: default :: Default for KSCAMERA_PERFRAMESETTING_CUSTOM_ITEM { fn default ( ) -> Self { Self { Size : 0 , Reserved : 0 , Id : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for KSCAMERA_PERFRAMESETTING_CUSTOM_ITEM { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSCAMERA_PERFRAMESETTING_CUSTOM_ITEM" ) . field ( "Size" , & self . Size ) . field ( "Reserved" , & self . Reserved ) . field ( "Id" , & self . Id ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSCAMERA_PERFRAMESETTING_CUSTOM_ITEM { fn eq ( & self , other : & Self ) -> bool { self . Size == other . Size && self . Reserved == other . Reserved && self . Id == other . Id } } impl :: std :: cmp :: Eq for KSCAMERA_PERFRAMESETTING_CUSTOM_ITEM { } unsafe impl :: windows :: Abi for KSCAMERA_PERFRAMESETTING_CUSTOM_ITEM { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSCAMERA_PERFRAMESETTING_FRAME_HEADER { pub Size : u32 , pub Id : u32 , pub ItemCount : u32 , pub Reserved : u32 } impl KSCAMERA_PERFRAMESETTING_FRAME_HEADER { } impl :: std :: default :: Default for KSCAMERA_PERFRAMESETTING_FRAME_HEADER { fn default ( ) -> Self { Self { Size : 0 , Id : 0 , ItemCount : 0 , Reserved : 0 } } } impl :: std :: fmt :: Debug for KSCAMERA_PERFRAMESETTING_FRAME_HEADER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSCAMERA_PERFRAMESETTING_FRAME_HEADER" ) . field ( "Size" , & self . Size ) . field ( "Id" , & self . Id ) . field ( "ItemCount" , & self . ItemCount ) . field ( "Reserved" , & self . Reserved ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSCAMERA_PERFRAMESETTING_FRAME_HEADER { fn eq ( & self , other : & Self ) -> bool { self . Size == other . Size && self . Id == other . Id && self . ItemCount == other . ItemCount && self . Reserved == other . Reserved } } impl :: std :: cmp :: Eq for KSCAMERA_PERFRAMESETTING_FRAME_HEADER { } unsafe impl :: windows :: Abi for KSCAMERA_PERFRAMESETTING_FRAME_HEADER { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSCAMERA_PERFRAMESETTING_HEADER { pub Size : u32 , pub FrameCount : u32 , pub Id : :: windows :: Guid , pub Flags : u64 , pub LoopCount : u32 , pub Reserved : u32 } impl KSCAMERA_PERFRAMESETTING_HEADER { } impl :: std :: default :: Default for KSCAMERA_PERFRAMESETTING_HEADER { fn default ( ) -> Self { Self { Size : 0 , FrameCount : 0 , Id : :: std :: default :: Default :: default ( ) , Flags : 0 , LoopCount : 0 , Reserved : 0 } } } impl :: std :: fmt :: Debug for KSCAMERA_PERFRAMESETTING_HEADER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSCAMERA_PERFRAMESETTING_HEADER" ) . field ( "Size" , & self . Size ) . field ( "FrameCount" , & self . FrameCount ) . field ( "Id" , & self . Id ) . field ( "Flags" , & self . Flags ) . field ( "LoopCount" , & self . LoopCount ) . field ( "Reserved" , & self . Reserved ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSCAMERA_PERFRAMESETTING_HEADER { fn eq ( & self , other : & Self ) -> bool { self . Size == other . Size && self . FrameCount == other . FrameCount && self . Id == other . Id && self . Flags == other . Flags && self . LoopCount == other . LoopCount && self . Reserved == other . Reserved } } impl :: std :: cmp :: Eq for KSCAMERA_PERFRAMESETTING_HEADER { } unsafe impl :: windows :: Abi for KSCAMERA_PERFRAMESETTING_HEADER { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSCAMERA_PERFRAMESETTING_ITEM_HEADER { pub Size : u32 , pub Type : u32 , pub Flags : u64 } impl KSCAMERA_PERFRAMESETTING_ITEM_HEADER { } impl :: std :: default :: Default for KSCAMERA_PERFRAMESETTING_ITEM_HEADER { fn default ( ) -> Self { Self { Size : 0 , Type : 0 , Flags : 0 } } } impl :: std :: fmt :: Debug for KSCAMERA_PERFRAMESETTING_ITEM_HEADER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSCAMERA_PERFRAMESETTING_ITEM_HEADER" ) . field ( "Size" , & self . Size ) . field ( "Type" , & self . Type ) . field ( "Flags" , & self . Flags ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSCAMERA_PERFRAMESETTING_ITEM_HEADER { fn eq ( & self , other : & Self ) -> bool { self . Size == other . Size && self . Type == other . Type && self . Flags == other . Flags } } impl :: std :: cmp :: Eq for KSCAMERA_PERFRAMESETTING_ITEM_HEADER { } unsafe impl :: windows :: Abi for KSCAMERA_PERFRAMESETTING_ITEM_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 KSCAMERA_PERFRAMESETTING_ITEM_TYPE ( pub i32 ) ; pub const KSCAMERA_PERFRAMESETTING_ITEM_EXPOSURE_TIME : KSCAMERA_PERFRAMESETTING_ITEM_TYPE = KSCAMERA_PERFRAMESETTING_ITEM_TYPE ( 1i32 ) ; pub const KSCAMERA_PERFRAMESETTING_ITEM_FLASH : KSCAMERA_PERFRAMESETTING_ITEM_TYPE = KSCAMERA_PERFRAMESETTING_ITEM_TYPE ( 2i32 ) ; pub const KSCAMERA_PERFRAMESETTING_ITEM_EXPOSURE_COMPENSATION : KSCAMERA_PERFRAMESETTING_ITEM_TYPE = KSCAMERA_PERFRAMESETTING_ITEM_TYPE ( 3i32 ) ; pub const KSCAMERA_PERFRAMESETTING_ITEM_ISO : KSCAMERA_PERFRAMESETTING_ITEM_TYPE = KSCAMERA_PERFRAMESETTING_ITEM_TYPE ( 4i32 ) ; pub const KSCAMERA_PERFRAMESETTING_ITEM_FOCUS : KSCAMERA_PERFRAMESETTING_ITEM_TYPE = KSCAMERA_PERFRAMESETTING_ITEM_TYPE ( 5i32 ) ; pub const KSCAMERA_PERFRAMESETTING_ITEM_PHOTOCONFIRMATION : KSCAMERA_PERFRAMESETTING_ITEM_TYPE = KSCAMERA_PERFRAMESETTING_ITEM_TYPE ( 6i32 ) ; pub const KSCAMERA_PERFRAMESETTING_ITEM_CUSTOM : KSCAMERA_PERFRAMESETTING_ITEM_TYPE = KSCAMERA_PERFRAMESETTING_ITEM_TYPE ( 7i32 ) ; impl :: std :: convert :: From < i32 > for KSCAMERA_PERFRAMESETTING_ITEM_TYPE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSCAMERA_PERFRAMESETTING_ITEM_TYPE { type Abi = Self ; type DefaultType = Self ; } pub const KSCAMERA_PERFRAMESETTING_MANUAL : u64 = 8589934592u64 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSCAMERA_PROFILE_CONCURRENCYINFO { pub ReferenceGuid : :: windows :: Guid , pub Reserved : u32 , pub ProfileCount : u32 , pub Profiles : * mut KSCAMERA_PROFILE_INFO } impl KSCAMERA_PROFILE_CONCURRENCYINFO { } impl :: std :: default :: Default for KSCAMERA_PROFILE_CONCURRENCYINFO { fn default ( ) -> Self { Self { ReferenceGuid : :: std :: default :: Default :: default ( ) , Reserved : 0 , ProfileCount : 0 , Profiles : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for KSCAMERA_PROFILE_CONCURRENCYINFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSCAMERA_PROFILE_CONCURRENCYINFO" ) . field ( "ReferenceGuid" , & self . ReferenceGuid ) . field ( "Reserved" , & self . Reserved ) . field ( "ProfileCount" , & self . ProfileCount ) . field ( "Profiles" , & self . Profiles ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSCAMERA_PROFILE_CONCURRENCYINFO { fn eq ( & self , other : & Self ) -> bool { self . ReferenceGuid == other . ReferenceGuid && self . Reserved == other . Reserved && self . ProfileCount == other . ProfileCount && self . Profiles == other . Profiles } } impl :: std :: cmp :: Eq for KSCAMERA_PROFILE_CONCURRENCYINFO { } unsafe impl :: windows :: Abi for KSCAMERA_PROFILE_CONCURRENCYINFO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSCAMERA_PROFILE_INFO { pub ProfileId : :: windows :: Guid , pub Index : u32 , pub PinCount : u32 , pub Pins : * mut KSCAMERA_PROFILE_PININFO } impl KSCAMERA_PROFILE_INFO { } impl :: std :: default :: Default for KSCAMERA_PROFILE_INFO { fn default ( ) -> Self { Self { ProfileId : :: std :: default :: Default :: default ( ) , Index : 0 , PinCount : 0 , Pins : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for KSCAMERA_PROFILE_INFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSCAMERA_PROFILE_INFO" ) . field ( "ProfileId" , & self . ProfileId ) . field ( "Index" , & self . Index ) . field ( "PinCount" , & self . PinCount ) . field ( "Pins" , & self . Pins ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSCAMERA_PROFILE_INFO { fn eq ( & self , other : & Self ) -> bool { self . ProfileId == other . ProfileId && self . Index == other . Index && self . PinCount == other . PinCount && self . Pins == other . Pins } } impl :: std :: cmp :: Eq for KSCAMERA_PROFILE_INFO { } unsafe impl :: windows :: Abi for KSCAMERA_PROFILE_INFO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSCAMERA_PROFILE_MEDIAINFO { pub Resolution : KSCAMERA_PROFILE_MEDIAINFO_1 , pub MaxFrameRate : KSCAMERA_PROFILE_MEDIAINFO_0 , pub Flags : u64 , pub Data0 : u32 , pub Data1 : u32 , pub Data2 : u32 , pub Data3 : u32 } impl KSCAMERA_PROFILE_MEDIAINFO { } impl :: std :: default :: Default for KSCAMERA_PROFILE_MEDIAINFO { fn default ( ) -> Self { Self { Resolution : :: std :: default :: Default :: default ( ) , MaxFrameRate : :: std :: default :: Default :: default ( ) , Flags : 0 , Data0 : 0 , Data1 : 0 , Data2 : 0 , Data3 : 0 } } } impl :: std :: fmt :: Debug for KSCAMERA_PROFILE_MEDIAINFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSCAMERA_PROFILE_MEDIAINFO" ) . field ( "Resolution" , & self . Resolution ) . field ( "MaxFrameRate" , & self . MaxFrameRate ) . field ( "Flags" , & self . Flags ) . field ( "Data0" , & self . Data0 ) . field ( "Data1" , & self . Data1 ) . field ( "Data2" , & self . Data2 ) . field ( "Data3" , & self . Data3 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSCAMERA_PROFILE_MEDIAINFO { fn eq ( & self , other : & Self ) -> bool { self . Resolution == other . Resolution && self . MaxFrameRate == other . MaxFrameRate && self . Flags == other . Flags && self . Data0 == other . Data0 && self . Data1 == other . Data1 && self . Data2 == other . Data2 && self . Data3 == other . Data3 } } impl :: std :: cmp :: Eq for KSCAMERA_PROFILE_MEDIAINFO { } unsafe impl :: windows :: Abi for KSCAMERA_PROFILE_MEDIAINFO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSCAMERA_PROFILE_MEDIAINFO_0 { pub Numerator : u32 , pub Denominator : u32 } impl KSCAMERA_PROFILE_MEDIAINFO_0 { } impl :: std :: default :: Default for KSCAMERA_PROFILE_MEDIAINFO_0 { fn default ( ) -> Self { Self { Numerator : 0 , Denominator : 0 } } } impl :: std :: fmt :: Debug for KSCAMERA_PROFILE_MEDIAINFO_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_MaxFrameRate_e__Struct" ) . field ( "Numerator" , & self . Numerator ) . field ( "Denominator" , & self . Denominator ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSCAMERA_PROFILE_MEDIAINFO_0 { fn eq ( & self , other : & Self ) -> bool { self . Numerator == other . Numerator && self . Denominator == other . Denominator } } impl :: std :: cmp :: Eq for KSCAMERA_PROFILE_MEDIAINFO_0 { } unsafe impl :: windows :: Abi for KSCAMERA_PROFILE_MEDIAINFO_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSCAMERA_PROFILE_MEDIAINFO_1 { pub X : u32 , pub Y : u32 } impl KSCAMERA_PROFILE_MEDIAINFO_1 { } impl :: std :: default :: Default for KSCAMERA_PROFILE_MEDIAINFO_1 { fn default ( ) -> Self { Self { X : 0 , Y : 0 } } } impl :: std :: fmt :: Debug for KSCAMERA_PROFILE_MEDIAINFO_1 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Resolution_e__Struct" ) . field ( "X" , & self . X ) . field ( "Y" , & self . Y ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSCAMERA_PROFILE_MEDIAINFO_1 { fn eq ( & self , other : & Self ) -> bool { self . X == other . X && self . Y == other . Y } } impl :: std :: cmp :: Eq for KSCAMERA_PROFILE_MEDIAINFO_1 { } unsafe impl :: windows :: Abi for KSCAMERA_PROFILE_MEDIAINFO_1 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSCAMERA_PROFILE_PININFO { pub PinCategory : :: windows :: Guid , pub Anonymous : KSCAMERA_PROFILE_PININFO_0 , pub MediaInfoCount : u32 , pub MediaInfos : * mut KSCAMERA_PROFILE_MEDIAINFO } impl KSCAMERA_PROFILE_PININFO { } impl :: std :: cmp :: PartialEq for KSCAMERA_PROFILE_PININFO { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSCAMERA_PROFILE_PININFO { } unsafe impl :: windows :: Abi for KSCAMERA_PROFILE_PININFO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union KSCAMERA_PROFILE_PININFO_0 { pub Anonymous : KSCAMERA_PROFILE_PININFO_0_0 , pub Reserved : u32 } impl KSCAMERA_PROFILE_PININFO_0 { } impl :: std :: cmp :: PartialEq for KSCAMERA_PROFILE_PININFO_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSCAMERA_PROFILE_PININFO_0 { } unsafe impl :: windows :: Abi for KSCAMERA_PROFILE_PININFO_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSCAMERA_PROFILE_PININFO_0_0 { pub PinIndex : u16 , pub ProfileSensorType : u16 } impl KSCAMERA_PROFILE_PININFO_0_0 { } impl :: std :: default :: Default for KSCAMERA_PROFILE_PININFO_0_0 { fn default ( ) -> Self { Self { PinIndex : 0 , ProfileSensorType : 0 } } } impl :: std :: fmt :: Debug for KSCAMERA_PROFILE_PININFO_0_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Anonymous_e__Struct" ) . field ( "PinIndex" , & self . PinIndex ) . field ( "ProfileSensorType" , & self . ProfileSensorType ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSCAMERA_PROFILE_PININFO_0_0 { fn eq ( & self , other : & Self ) -> bool { self . PinIndex == other . PinIndex && self . ProfileSensorType == other . ProfileSensorType } } impl :: std :: cmp :: Eq for KSCAMERA_PROFILE_PININFO_0_0 { } unsafe impl :: windows :: Abi for KSCAMERA_PROFILE_PININFO_0_0 { type Abi = Self ; type DefaultType = Self ; } pub const KSCATEGORY_ACOUSTIC_ECHO_CANCEL : :: windows :: Guid = :: windows :: Guid :: from_values ( 3214294400 ,50521 ,4560 , [ 138 ,43 ,0 ,160 ,201 ,37 ,90 ,193 ] , ) ; pub const KSCATEGORY_AUDIO : :: windows :: Guid = :: windows :: Guid :: from_values ( 1771351300 ,37871 ,4560 , [ 163 ,204 ,0 ,160 ,201 ,34 ,49 ,150 ] , ) ; pub const KSCATEGORY_BRIDGE : :: windows :: Guid = :: windows :: Guid :: from_values ( 140181248 ,25294 ,4559 , [ 165 ,214 ,40 ,219 ,4 ,193 ,0 ,0 ] , ) ; pub const KSCATEGORY_CAPTURE : :: windows :: Guid = :: windows :: Guid :: from_values ( 1709733693 ,36694 ,4560 , [ 163 ,185 ,0 ,160 ,201 ,34 ,49 ,150 ] , ) ; pub const KSCATEGORY_CLOCK : :: windows :: Guid = :: windows :: Guid :: from_values ( 1394025600 ,18321 ,4560 , [ 165 ,214 ,40 ,219 ,4 ,193 ,0 ,0 ] , ) ; pub const KSCATEGORY_COMMUNICATIONSTRANSFORM : :: windows :: Guid = :: windows :: Guid :: from_values ( 3474840108 ,38723 ,4560 , [ 163 ,238 ,0 ,160 ,201 ,34 ,49 ,150 ] , ) ; pub const KSCATEGORY_CROSSBAR : :: windows :: Guid = :: windows :: Guid :: from_values ( 2811865089 ,42093 ,4560 , [ 161 ,140 ,0 ,160 ,36 ,1 ,220 ,212 ] , ) ; pub const KSCATEGORY_DATACOMPRESSOR : :: windows :: Guid = :: windows :: Guid :: from_values ( 512018688 ,32368 ,4560 , [ 165 ,214 ,40 ,219 ,4 ,193 ,0 ,0 ] , ) ; pub const KSCATEGORY_DATADECOMPRESSOR : :: windows :: Guid = :: windows :: Guid :: from_values ( 656518688 ,32368 ,4560 , [ 165 ,214 ,40 ,219 ,4 ,193 ,0 ,0 ] , ) ; pub const KSCATEGORY_DATATRANSFORM : :: windows :: Guid = :: windows :: Guid :: from_values ( 783318688 ,32368 ,4560 , [ 165 ,214 ,40 ,219 ,4 ,193 ,0 ,0 ] , ) ; pub const KSCATEGORY_ENCODER : :: windows :: Guid = :: windows :: Guid :: from_values ( 426286070 ,50052 ,18685 , [ 173 ,81 ,144 ,229 ,140 ,121 ,247 ,11 ] , ) ; pub const KSCATEGORY_ESCALANTE_PLATFORM_DRIVER : :: windows :: Guid = :: windows :: Guid :: from_values ( 1962127016 ,38760 ,4561 , [ 142 ,7 ,0 ,160 ,201 ,94 ,194 ,46 ] , ) ; pub const KSCATEGORY_FILESYSTEM : :: windows :: Guid = :: windows :: Guid :: from_values ( 1980755294 ,37719 ,4560 , [ 163 ,204 ,0 ,160 ,201 ,34 ,49 ,150 ] , ) ; pub const KSCATEGORY_INTERFACETRANSFORM : :: windows :: Guid = :: windows :: Guid :: from_values ( 3474840109 ,38723 ,4560 , [ 163 ,238 ,0 ,160 ,201 ,34 ,49 ,150 ] , ) ; pub const KSCATEGORY_MEDIUMTRANSFORM : :: windows :: Guid = :: windows :: Guid :: from_values ( 3474840110 ,38723 ,4560 , [ 163 ,238 ,0 ,160 ,201 ,34 ,49 ,150 ] , ) ; pub const KSCATEGORY_MICROPHONE_ARRAY_PROCESSOR : :: windows :: Guid = :: windows :: Guid :: from_values ( 2198488306 ,41773 ,18283 , [ 190 ,151 ,66 ,132 ,86 ,115 ,179 ,90 ] , ) ; pub const KSCATEGORY_MIXER : :: windows :: Guid = :: windows :: Guid :: from_values ( 2910886912 ,31624 ,4560 , [ 165 ,214 ,40 ,219 ,4 ,193 ,0 ,0 ] , ) ; pub const KSCATEGORY_MULTIPLEXER : :: windows :: Guid = :: windows :: Guid :: from_values ( 2052973011 ,417 ,17708 , [ 180 ,129 ,79 ,162 ,185 ,98 ,113 ,232 ] , ) ; pub const KSCATEGORY_NETWORK : :: windows :: Guid = :: windows :: Guid :: from_values ( 1741278268 ,27076 ,4562 , [ 135 ,89 ,0 ,160 ,201 ,34 ,49 ,150 ] , ) ; pub const KSCATEGORY_NETWORK_CAMERA : :: windows :: Guid = :: windows :: Guid :: from_values ( 3089335890 ,46336 ,16875 , [ 180 ,243 ,66 ,52 ,247 ,245 ,174 ,153 ] , ) ; pub const KSCATEGORY_PROXY : :: windows :: Guid = :: windows :: Guid :: from_values ( 2548804298 ,38333 ,4560 , [ 163 ,234 ,0 ,160 ,201 ,34 ,49 ,150 ] , ) ; pub const KSCATEGORY_QUALITY : :: windows :: Guid = :: windows :: Guid :: from_values ( 2548804299 ,38333 ,4560 , [ 163 ,234 ,0 ,160 ,201 ,34 ,49 ,150 ] , ) ; pub const KSCATEGORY_REALTIME : :: windows :: Guid = :: windows :: Guid :: from_values ( 3943784444 ,4296 ,18788 , [ 131 ,29 ,109 ,203 ,2 ,230 ,242 ,63 ] , ) ; pub const KSCATEGORY_RENDER : :: windows :: Guid = :: windows :: Guid :: from_values ( 1709733694 ,36694 ,4560 , [ 163 ,185 ,0 ,160 ,201 ,34 ,49 ,150 ] , ) ; pub const KSCATEGORY_SENSOR_CAMERA : :: windows :: Guid = :: windows :: Guid :: from_values ( 619008727 ,25891 ,18423 , [ 166 ,71 ,211 ,70 ,91 ,241 ,245 ,202 ] , ) ; pub const KSCATEGORY_SENSOR_GROUP : :: windows :: Guid = :: windows :: Guid :: from_values ( 1721528852 ,2696 ,17169 , [ 167 ,243 ,78 ,121 ,130 ,14 ,51 ,189 ] , ) ; pub const KSCATEGORY_SPLITTER : :: windows :: Guid = :: windows :: Guid :: from_values ( 172118688 ,32368 ,4560 , [ 165 ,214 ,40 ,219 ,4 ,193 ,0 ,0 ] , ) ; pub const KSCATEGORY_TEXT : :: windows :: Guid = :: windows :: Guid :: from_values ( 1771351302 ,37871 ,4560 , [ 163 ,204 ,0 ,160 ,201 ,34 ,49 ,150 ] , ) ; pub const KSCATEGORY_TOPOLOGY : :: windows :: Guid = :: windows :: Guid :: from_values ( 3718597184 ,7756 ,4561 , [ 160 ,80 ,64 ,87 ,5 ,193 ,0 ,0 ] , ) ; pub const KSCATEGORY_TVAUDIO : :: windows :: Guid = :: windows :: Guid :: from_values ( 2811865090 ,42093 ,4560 , [ 161 ,140 ,0 ,160 ,36 ,1 ,220 ,212 ] , ) ; pub const KSCATEGORY_TVTUNER : :: windows :: Guid = :: windows :: Guid :: from_values ( 2811865088 ,42093 ,4560 , [ 161 ,140 ,0 ,160 ,36 ,1 ,220 ,212 ] , ) ; pub const KSCATEGORY_VBICODEC : :: windows :: Guid = :: windows :: Guid :: from_values ( 131782240 ,8945 ,4561 , [ 169 ,244 ,0 ,192 ,79 ,187 ,222 ,143 ] , ) ; pub const KSCATEGORY_VIDEO : :: windows :: Guid = :: windows :: Guid :: from_values ( 1771351301 ,37871 ,4560 , [ 163 ,204 ,0 ,160 ,201 ,34 ,49 ,150 ] , ) ; pub const KSCATEGORY_VIDEO_CAMERA : :: windows :: Guid = :: windows :: Guid :: from_values ( 3845273463 ,63862 ,20315 , [ 155 ,85 ,185 ,70 ,153 ,196 ,110 ,68 ] , ) ; pub const KSCATEGORY_VIRTUAL : :: windows :: Guid = :: windows :: Guid :: from_values ( 889449156 ,7974 ,4561 , [ 138 ,176 ,0 ,160 ,201 ,34 ,49 ,150 ] , ) ; pub const KSCATEGORY_VPMUX : :: windows :: Guid = :: windows :: Guid :: from_values ( 2811865091 ,42093 ,4560 , [ 161 ,140 ,0 ,160 ,36 ,1 ,220 ,212 ] , ) ; pub const KSCATEGORY_WDMAUD_USE_PIN_NAME : :: windows :: Guid = :: windows :: Guid :: from_values ( 1201994272 ,41553 ,4561 , [ 160 ,80 ,0 ,0 ,248 ,0 ,71 ,136 ] , ) ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSCLOCK_CREATE { pub CreateFlags : u32 } impl KSCLOCK_CREATE { } impl :: std :: default :: Default for KSCLOCK_CREATE { fn default ( ) -> Self { Self { CreateFlags : 0 } } } impl :: std :: fmt :: Debug for KSCLOCK_CREATE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSCLOCK_CREATE" ) . field ( "CreateFlags" , & self . CreateFlags ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSCLOCK_CREATE { fn eq ( & self , other : & Self ) -> bool { self . CreateFlags == other . CreateFlags } } impl :: std :: cmp :: Eq for KSCLOCK_CREATE { } unsafe impl :: windows :: Abi for KSCLOCK_CREATE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSCOMPONENTID { pub Manufacturer : :: windows :: Guid , pub Product : :: windows :: Guid , pub Component : :: windows :: Guid , pub Name : :: windows :: Guid , pub Version : u32 , pub Revision : u32 } impl KSCOMPONENTID { } impl :: std :: default :: Default for KSCOMPONENTID { fn default ( ) -> Self { Self { Manufacturer : :: std :: default :: Default :: default ( ) , Product : :: std :: default :: Default :: default ( ) , Component : :: std :: default :: Default :: default ( ) , Name : :: std :: default :: Default :: default ( ) , Version : 0 , Revision : 0 } } } impl :: std :: fmt :: Debug for KSCOMPONENTID { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSCOMPONENTID" ) . field ( "Manufacturer" , & self . Manufacturer ) . field ( "Product" , & self . Product ) . field ( "Component" , & self . Component ) . field ( "Name" , & self . Name ) . field ( "Version" , & self . Version ) . field ( "Revision" , & self . Revision ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSCOMPONENTID { fn eq ( & self , other : & Self ) -> bool { self . Manufacturer == other . Manufacturer && self . Product == other . Product && self . Component == other . Component && self . Name == other . Name && self . Version == other . Version && self . Revision == other . Revision } } impl :: std :: cmp :: Eq for KSCOMPONENTID { } unsafe impl :: windows :: Abi for KSCOMPONENTID { type Abi = Self ; type DefaultType = Self ; } pub const KSCOMPONENTID_USBAUDIO : :: windows :: Guid = :: windows :: Guid :: from_values ( 2400351728 ,9961 ,16996 , [ 186 ,77 ,57 ,255 ,240 ,29 ,148 ,170 ] , ) ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSCORRELATED_TIME { pub Time : i64 , pub SystemTime : i64 } impl KSCORRELATED_TIME { } impl :: std :: default :: Default for KSCORRELATED_TIME { fn default ( ) -> Self { Self { Time : 0 , SystemTime : 0 } } } impl :: std :: fmt :: Debug for KSCORRELATED_TIME { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSCORRELATED_TIME" ) . field ( "Time" , & self . Time ) . field ( "SystemTime" , & self . SystemTime ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSCORRELATED_TIME { fn eq ( & self , other : & Self ) -> bool { self . Time == other . Time && self . SystemTime == other . SystemTime } } impl :: std :: cmp :: Eq for KSCORRELATED_TIME { } unsafe impl :: windows :: Abi for KSCORRELATED_TIME { type Abi = Self ; type DefaultType = Self ; } pub const KSCREATE_ITEM_FREEONSTOP : u32 = 8u32 ; pub const KSCREATE_ITEM_NOPARAMETERS : u32 = 4u32 ; pub const KSCREATE_ITEM_SECURITYCHANGED : u32 = 1u32 ; pub const KSCREATE_ITEM_WILDCARD : u32 = 2u32 ; pub const KSCameraProfileSensorType_Custom : u32 = 128u32 ; pub const KSCameraProfileSensorType_Depth : u32 = 4u32 ; pub const KSCameraProfileSensorType_ImageSegmentation : u32 = 16u32 ; pub const KSCameraProfileSensorType_Infrared : u32 = 2u32 ; pub const KSCameraProfileSensorType_PoseTracking : u32 = 8u32 ; pub const KSCameraProfileSensorType_RGB : u32 = 1u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union KSDATAFORMAT { pub Anonymous : KSDATAFORMAT_0 , pub Alignment : i64 } impl KSDATAFORMAT { } impl :: std :: cmp :: PartialEq for KSDATAFORMAT { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSDATAFORMAT { } unsafe impl :: windows :: Abi for KSDATAFORMAT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSDATAFORMAT_0 { pub FormatSize : u32 , pub Flags : u32 , pub SampleSize : u32 , pub Reserved : u32 , pub MajorFormat : :: windows :: Guid , pub SubFormat : :: windows :: Guid , pub Specifier : :: windows :: Guid } impl KSDATAFORMAT_0 { } impl :: std :: default :: Default for KSDATAFORMAT_0 { fn default ( ) -> Self { Self { FormatSize : 0 , Flags : 0 , SampleSize : 0 , Reserved : 0 , MajorFormat : :: std :: default :: Default :: default ( ) , SubFormat : :: std :: default :: Default :: default ( ) , Specifier : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for KSDATAFORMAT_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Anonymous_e__Struct" ) . field ( "FormatSize" , & self . FormatSize ) . field ( "Flags" , & self . Flags ) . field ( "SampleSize" , & self . SampleSize ) . field ( "Reserved" , & self . Reserved ) . field ( "MajorFormat" , & self . MajorFormat ) . field ( "SubFormat" , & self . SubFormat ) . field ( "Specifier" , & self . Specifier ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSDATAFORMAT_0 { fn eq ( & self , other : & Self ) -> bool { self . FormatSize == other . FormatSize && self . Flags == other . Flags && self . SampleSize == other . SampleSize && self . Reserved == other . Reserved && self . MajorFormat == other . MajorFormat && self . SubFormat == other . SubFormat && self . Specifier == other . Specifier } } impl :: std :: cmp :: Eq for KSDATAFORMAT_0 { } unsafe impl :: windows :: Abi for KSDATAFORMAT_0 { type Abi = Self ; type DefaultType = Self ; } pub const KSDATAFORMAT_BIT_ATTRIBUTES : u32 = 1u32 ; pub const KSDATAFORMAT_BIT_TEMPORAL_COMPRESSION : u32 = 0u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 1 ) ) ] pub struct KSDATAFORMAT_DSOUND { pub DataFormat : KSDATAFORMAT , pub BufferDesc : KSDSOUND_BUFFERDESC } impl KSDATAFORMAT_DSOUND { } impl :: std :: cmp :: PartialEq for KSDATAFORMAT_DSOUND { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSDATAFORMAT_DSOUND { } unsafe impl :: windows :: Abi for KSDATAFORMAT_DSOUND { type Abi = Self ; type DefaultType = Self ; } pub const KSDATAFORMAT_SPECIFIER_AC3_AUDIO : :: windows :: Guid = :: windows :: Guid :: from_values ( 3765272804 ,56134 ,4559 , [ 180 ,209 ,0 ,128 ,95 ,108 ,187 ,234 ] , ) ; pub const KSDATAFORMAT_SPECIFIER_ANALOGVIDEO : :: windows :: Guid = :: windows :: Guid :: from_values ( 75685344 ,30743 ,4559 , [ 138 ,3 ,0 ,170 ,0 ,110 ,203 ,101 ] , ) ; pub const KSDATAFORMAT_SPECIFIER_DIALECT_AC3_AUDIO : :: windows :: Guid = :: windows :: Guid :: from_values ( 911358773 ,36581 ,4561 , [ 140 ,163 ,0 ,96 ,176 ,87 ,102 ,74 ] , ) ; pub const KSDATAFORMAT_SPECIFIER_DIALECT_MPEG1_AUDIO : :: windows :: Guid = :: windows :: Guid :: from_values ( 911358770 ,36581 ,4561 , [ 140 ,163 ,0 ,96 ,176 ,87 ,102 ,74 ] , ) ; pub const KSDATAFORMAT_SPECIFIER_DIALECT_MPEG1_VIDEO : :: windows :: Guid = :: windows :: Guid :: from_values ( 911358769 ,36581 ,4561 , [ 140 ,163 ,0 ,96 ,176 ,87 ,102 ,74 ] , ) ; pub const KSDATAFORMAT_SPECIFIER_DIALECT_MPEG2_AUDIO : :: windows :: Guid = :: windows :: Guid :: from_values ( 911358772 ,36581 ,4561 , [ 140 ,163 ,0 ,96 ,176 ,87 ,102 ,74 ] , ) ; pub const KSDATAFORMAT_SPECIFIER_DIALECT_MPEG2_VIDEO : :: windows :: Guid = :: windows :: Guid :: from_values ( 911358771 ,36581 ,4561 , [ 140 ,163 ,0 ,96 ,176 ,87 ,102 ,74 ] , ) ; pub const KSDATAFORMAT_SPECIFIER_DSOUND : :: windows :: Guid = :: windows :: Guid :: from_values ( 1367707810 ,41348 ,4560 , [ 133 ,34 ,0 ,192 ,79 ,217 ,186 ,243 ] , ) ; pub const KSDATAFORMAT_SPECIFIER_FILEHANDLE : :: windows :: Guid = :: windows :: Guid :: from_values ( 1709733692 ,36694 ,4560 , [ 163 ,185 ,0 ,160 ,201 ,34 ,49 ,150 ] , ) ; pub const KSDATAFORMAT_SPECIFIER_FILENAME : :: windows :: Guid = :: windows :: Guid :: from_values ( 2860088128 ,59764 ,4559 , [ 165 ,214 ,40 ,219 ,4 ,193 ,0 ,0 ] , ) ; pub const KSDATAFORMAT_SPECIFIER_H264_VIDEO : :: windows :: Guid = :: windows :: Guid :: from_values ( 538426885 ,26153 ,16968 , [ 170 ,237 ,126 ,26 ,71 ,188 ,155 ,156 ] , ) ; pub const KSDATAFORMAT_SPECIFIER_IMAGE : :: windows :: Guid = :: windows :: Guid :: from_values ( 1764729721 ,54248 ,18001 , [ 181 ,180 ,11 ,148 ,176 ,19 ,238 ,175 ] , ) ; pub const KSDATAFORMAT_SPECIFIER_JPEG_IMAGE : :: windows :: Guid = :: windows :: Guid :: from_values ( 1764729721 ,54248 ,18001 , [ 181 ,180 ,11 ,148 ,176 ,19 ,238 ,175 ] , ) ; pub const KSDATAFORMAT_SPECIFIER_LPCM_AUDIO : :: windows :: Guid = :: windows :: Guid :: from_values ( 3765272806 ,56134 ,4559 , [ 180 ,209 ,0 ,128 ,95 ,108 ,187 ,234 ] , ) ; pub const KSDATAFORMAT_SPECIFIER_MPEG1_VIDEO : :: windows :: Guid = :: windows :: Guid :: from_values ( 89694082 ,50006 ,4558 , [ 191 ,1 ,0 ,170 ,0 ,85 ,89 ,90 ] , ) ; pub const KSDATAFORMAT_SPECIFIER_MPEG2_AUDIO : :: windows :: Guid = :: windows :: Guid :: from_values ( 3765272805 ,56134 ,4559 , [ 180 ,209 ,0 ,128 ,95 ,108 ,187 ,234 ] , ) ; pub const KSDATAFORMAT_SPECIFIER_MPEG2_VIDEO : :: windows :: Guid = :: windows :: Guid :: from_values ( 3765272803 ,56134 ,4559 , [ 180 ,209 ,0 ,128 ,95 ,108 ,187 ,234 ] , ) ; pub const KSDATAFORMAT_SPECIFIER_NONE : :: windows :: Guid = :: windows :: Guid :: from_values ( 258217942 ,49944 ,4560 , [ 164 ,63 ,0 ,160 ,201 ,34 ,49 ,150 ] , ) ; pub const KSDATAFORMAT_SPECIFIER_VBI : :: windows :: Guid = :: windows :: Guid :: from_values ( 4146755296 ,60170 ,4560 , [ 172 ,228 ,0 ,0 ,192 ,204 ,22 ,186 ] , ) ; pub const KSDATAFORMAT_SPECIFIER_VC_ID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2912473476 ,43715 ,4560 , [ 164 ,28 ,0 ,160 ,201 ,34 ,49 ,150 ] , ) ; pub const KSDATAFORMAT_SPECIFIER_VIDEOINFO : :: windows :: Guid = :: windows :: Guid :: from_values ( 89694080 ,50006 ,4558 , [ 191 ,1 ,0 ,170 ,0 ,85 ,89 ,90 ] , ) ; pub const KSDATAFORMAT_SPECIFIER_VIDEOINFO2 : :: windows :: Guid = :: windows :: Guid :: from_values ( 4146755232 ,60170 ,4560 , [ 172 ,228 ,0 ,0 ,192 ,204 ,22 ,186 ] , ) ; pub const KSDATAFORMAT_SPECIFIER_WAVEFORMATEX : :: windows :: Guid = :: windows :: Guid :: from_values ( 89694081 ,50006 ,4558 , [ 191 ,1 ,0 ,170 ,0 ,85 ,89 ,90 ] , ) ; pub const KSDATAFORMAT_SUBTYPE_AC3_AUDIO : :: windows :: Guid = :: windows :: Guid :: from_values ( 3765272620 ,56134 ,4559 , [ 180 ,209 ,0 ,128 ,95 ,108 ,187 ,234 ] , ) ; pub const KSDATAFORMAT_SUBTYPE_ADPCM : :: windows :: Guid = :: windows :: Guid :: from_values ( 2 ,0 ,16 , [ 128 ,0 ,0 ,170 ,0 ,56 ,155 ,113 ] , ) ; pub const KSDATAFORMAT_SUBTYPE_ALAW : :: windows :: Guid = :: windows :: Guid :: from_values ( 6 ,0 ,16 , [ 128 ,0 ,0 ,170 ,0 ,56 ,155 ,113 ] , ) ; pub const KSDATAFORMAT_SUBTYPE_ANALOG : :: windows :: Guid = :: windows :: Guid :: from_values ( 1840918928 ,26557 ,4559 , [ 160 ,247 ,0 ,32 ,175 ,209 ,86 ,228 ] , ) ; pub const KSDATAFORMAT_SUBTYPE_CC : :: windows :: Guid = :: windows :: Guid :: from_values ( 857820353 ,287 ,4562 , [ 180 ,177 ,0 ,160 ,209 ,2 ,207 ,190 ] , ) ; pub const KSDATAFORMAT_SUBTYPE_D16 : :: windows :: Guid = :: windows :: Guid :: from_values ( 80 ,4 ,16 , [ 128 ,0 ,0 ,170 ,0 ,56 ,155 ,113 ] , ) ; pub const KSDATAFORMAT_SUBTYPE_DRM : :: windows :: Guid = :: windows :: Guid :: from_values ( 9 ,0 ,16 , [ 128 ,0 ,0 ,170 ,0 ,56 ,155 ,113 ] , ) ; pub const KSDATAFORMAT_SUBTYPE_DSS_AUDIO : :: windows :: Guid = :: windows :: Guid :: from_values ( 2695843714 ,57699 ,4560 , [ 186 ,217 ,0 ,96 ,151 ,68 ,17 ,26 ] , ) ; pub const KSDATAFORMAT_SUBTYPE_DSS_VIDEO : :: windows :: Guid = :: windows :: Guid :: from_values ( 2695843713 ,57699 ,4560 , [ 186 ,217 ,0 ,96 ,151 ,68 ,17 ,26 ] , ) ; pub const KSDATAFORMAT_SUBTYPE_DTS_AUDIO : :: windows :: Guid = :: windows :: Guid :: from_values ( 3765272627 ,56134 ,4559 , [ 180 ,209 ,0 ,128 ,95 ,108 ,187 ,234 ] , ) ; pub const KSDATAFORMAT_SUBTYPE_IEC61937_AAC : :: windows :: Guid = :: windows :: Guid :: from_values ( 6 ,3306 ,16 , [ 128 ,0 ,0 ,170 ,0 ,56 ,155 ,113 ] , ) ; pub const KSDATAFORMAT_SUBTYPE_IEC61937_ATRAC : :: windows :: Guid = :: windows :: Guid :: from_values ( 8 ,3306 ,16 , [ 128 ,0 ,0 ,170 ,0 ,56 ,155 ,113 ] , ) ; pub const KSDATAFORMAT_SUBTYPE_IEC61937_DOLBY_DIGITAL : :: windows :: Guid = :: windows :: Guid :: from_values ( 146 ,0 ,16 , [ 128 ,0 ,0 ,170 ,0 ,56 ,155 ,113 ] , ) ; pub const KSDATAFORMAT_SUBTYPE_IEC61937_DOLBY_DIGITAL_PLUS : :: windows :: Guid = :: windows :: Guid :: from_values ( 10 ,3306 ,16 , [ 128 ,0 ,0 ,170 ,0 ,56 ,155 ,113 ] , ) ; pub const KSDATAFORMAT_SUBTYPE_IEC61937_DOLBY_DIGITAL_PLUS_ATMOS : :: windows :: Guid = :: windows :: Guid :: from_values ( 266 ,3306 ,16 , [ 128 ,0 ,0 ,170 ,0 ,56 ,155 ,113 ] , ) ; pub const KSDATAFORMAT_SUBTYPE_IEC61937_DOLBY_MAT20 : :: windows :: Guid = :: windows :: Guid :: from_values ( 268 ,3306 ,16 , [ 128 ,0 ,0 ,170 ,0 ,56 ,155 ,113 ] , ) ; pub const KSDATAFORMAT_SUBTYPE_IEC61937_DOLBY_MAT21 : :: windows :: Guid = :: windows :: Guid :: from_values ( 780 ,3306 ,16 , [ 128 ,0 ,0 ,170 ,0 ,56 ,155 ,113 ] , ) ; pub const KSDATAFORMAT_SUBTYPE_IEC61937_DOLBY_MLP : :: windows :: Guid = :: windows :: Guid :: from_values ( 12 ,3306 ,16 , [ 128 ,0 ,0 ,170 ,0 ,56 ,155 ,113 ] , ) ; pub const KSDATAFORMAT_SUBTYPE_IEC61937_DST : :: windows :: Guid = :: windows :: Guid :: from_values ( 13 ,3306 ,16 , [ 128 ,0 ,0 ,170 ,0 ,56 ,155 ,113 ] , ) ; pub const KSDATAFORMAT_SUBTYPE_IEC61937_DTS : :: windows :: Guid = :: windows :: Guid :: from_values ( 8 ,0 ,16 , [ 128 ,0 ,0 ,170 ,0 ,56 ,155 ,113 ] , ) ; pub const KSDATAFORMAT_SUBTYPE_IEC61937_DTS_HD : :: windows :: Guid = :: windows :: Guid :: from_values ( 11 ,3306 ,16 , [ 128 ,0 ,0 ,170 ,0 ,56 ,155 ,113 ] , ) ; pub const KSDATAFORMAT_SUBTYPE_IEC61937_MPEG1 : :: windows :: Guid = :: windows :: Guid :: from_values ( 3 ,3306 ,16 , [ 128 ,0 ,0 ,170 ,0 ,56 ,155 ,113 ] , ) ; pub const KSDATAFORMAT_SUBTYPE_IEC61937_MPEG2 : :: windows :: Guid = :: windows :: Guid :: from_values ( 4 ,3306 ,16 , [ 128 ,0 ,0 ,170 ,0 ,56 ,155 ,113 ] , ) ; pub const KSDATAFORMAT_SUBTYPE_IEC61937_MPEG3 : :: windows :: Guid = :: windows :: Guid :: from_values ( 5 ,3306 ,16 , [ 128 ,0 ,0 ,170 ,0 ,56 ,155 ,113 ] , ) ; pub const KSDATAFORMAT_SUBTYPE_IEC61937_ONE_BIT_AUDIO : :: windows :: Guid = :: windows :: Guid :: from_values ( 9 ,3306 ,16 , [ 128 ,0 ,0 ,170 ,0 ,56 ,155 ,113 ] , ) ; pub const KSDATAFORMAT_SUBTYPE_IEC61937_WMA_PRO : :: windows :: Guid = :: windows :: Guid :: from_values ( 356 ,0 ,16 , [ 128 ,0 ,0 ,170 ,0 ,56 ,155 ,113 ] , ) ; pub const KSDATAFORMAT_SUBTYPE_IMAGE_RGB32 : :: windows :: Guid = :: windows :: Guid :: from_values ( 22 ,0 ,16 , [ 128 ,0 ,0 ,170 ,0 ,56 ,155 ,113 ] , ) ; pub const KSDATAFORMAT_SUBTYPE_JPEG : :: windows :: Guid = :: windows :: Guid :: from_values ( 434415018 ,22114 ,20421 , [ 160 ,192 ,23 ,88 ,2 ,142 ,16 ,87 ] , ) ; pub const KSDATAFORMAT_SUBTYPE_L16 : :: windows :: Guid = :: windows :: Guid :: from_values ( 81 ,0 ,16 , [ 128 ,0 ,0 ,170 ,0 ,56 ,155 ,113 ] , ) ; pub const KSDATAFORMAT_SUBTYPE_L16_CUSTOM : :: windows :: Guid = :: windows :: Guid :: from_values ( 81 ,32768 ,16 , [ 128 ,0 ,0 ,170 ,0 ,56 ,155 ,113 ] , ) ; pub const KSDATAFORMAT_SUBTYPE_L16_IR : :: windows :: Guid = :: windows :: Guid :: from_values ( 81 ,2 ,16 , [ 128 ,0 ,0 ,170 ,0 ,56 ,155 ,113 ] , ) ; pub const KSDATAFORMAT_SUBTYPE_L8 : :: windows :: Guid = :: windows :: Guid :: from_values ( 50 ,0 ,16 , [ 128 ,0 ,0 ,170 ,0 ,56 ,155 ,113 ] , ) ; pub const KSDATAFORMAT_SUBTYPE_L8_CUSTOM : :: windows :: Guid = :: windows :: Guid :: from_values ( 50 ,32768 ,16 , [ 128 ,0 ,0 ,170 ,0 ,56 ,155 ,113 ] , ) ; pub const KSDATAFORMAT_SUBTYPE_L8_IR : :: windows :: Guid = :: windows :: Guid :: from_values ( 50 ,2 ,16 , [ 128 ,0 ,0 ,170 ,0 ,56 ,155 ,113 ] , ) ; pub const KSDATAFORMAT_SUBTYPE_LPCM_AUDIO : :: windows :: Guid = :: windows :: Guid :: from_values ( 3765272626 ,56134 ,4559 , [ 180 ,209 ,0 ,128 ,95 ,108 ,187 ,234 ] , ) ; pub const KSDATAFORMAT_SUBTYPE_Line21_BytePair : :: windows :: Guid = :: windows :: Guid :: from_values ( 1854753314 ,12556 ,4560 , [ 183 ,154 ,0 ,170 ,0 ,55 ,103 ,167 ] , ) ; pub const KSDATAFORMAT_SUBTYPE_Line21_GOPPacket : :: windows :: Guid = :: windows :: Guid :: from_values ( 1854753315 ,12556 ,4560 , [ 183 ,154 ,0 ,170 ,0 ,55 ,103 ,167 ] , ) ; pub const KSDATAFORMAT_SUBTYPE_MIDI : :: windows :: Guid = :: windows :: Guid :: from_values ( 489039712 ,59735 ,4559 , [ 165 ,214 ,40 ,219 ,4 ,193 ,0 ,0 ] , ) ; pub const KSDATAFORMAT_SUBTYPE_MIDI_BUS : :: windows :: Guid = :: windows :: Guid :: from_values ( 748773280 ,27902 ,4559 , [ 165 ,214 ,40 ,219 ,4 ,193 ,0 ,0 ] , ) ; pub const KSDATAFORMAT_SUBTYPE_MJPG_CUSTOM : :: windows :: Guid = :: windows :: Guid :: from_values ( 1196444237 ,32768 ,16 , [ 128 ,0 ,0 ,170 ,0 ,56 ,155 ,113 ] , ) ; pub const KSDATAFORMAT_SUBTYPE_MJPG_DEPTH : :: windows :: Guid = :: windows :: Guid :: from_values ( 1196444237 ,4 ,16 , [ 128 ,0 ,0 ,170 ,0 ,56 ,155 ,113 ] , ) ; pub const KSDATAFORMAT_SUBTYPE_MJPG_IR : :: windows :: Guid = :: windows :: Guid :: from_values ( 1196444237 ,2 ,16 , [ 128 ,0 ,0 ,170 ,0 ,56 ,155 ,113 ] , ) ; pub const KSDATAFORMAT_SUBTYPE_MPEG : :: windows :: Guid = :: windows :: Guid :: from_values ( 80 ,0 ,16 , [ 128 ,0 ,0 ,170 ,0 ,56 ,155 ,113 ] , ) ; pub const KSDATAFORMAT_SUBTYPE_MPEG1Packet : :: windows :: Guid = :: windows :: Guid :: from_values ( 3828804480 ,21071 ,4558 , [ 159 ,83 ,0 ,32 ,175 ,11 ,167 ,112 ] , ) ; pub const KSDATAFORMAT_SUBTYPE_MPEG1Payload : :: windows :: Guid = :: windows :: Guid :: from_values ( 3828804481 ,21071 ,4558 , [ 159 ,83 ,0 ,32 ,175 ,11 ,167 ,112 ] , ) ; pub const KSDATAFORMAT_SUBTYPE_MPEG1Video : :: windows :: Guid = :: windows :: Guid :: from_values ( 3828804486 ,21071 ,4558 , [ 159 ,83 ,0 ,32 ,175 ,11 ,167 ,112 ] , ) ; pub const KSDATAFORMAT_SUBTYPE_MPEG2_AUDIO : :: windows :: Guid = :: windows :: Guid :: from_values ( 3765272619 ,56134 ,4559 , [ 180 ,209 ,0 ,128 ,95 ,108 ,187 ,234 ] , ) ; pub const KSDATAFORMAT_SUBTYPE_MPEG2_VIDEO : :: windows :: Guid = :: windows :: Guid :: from_values ( 3765272614 ,56134 ,4559 , [ 180 ,209 ,0 ,128 ,95 ,108 ,187 ,234 ] , ) ; pub const KSDATAFORMAT_SUBTYPE_MPEGLAYER3 : :: windows :: Guid = :: windows :: Guid :: from_values ( 85 ,0 ,16 , [ 128 ,0 ,0 ,170 ,0 ,56 ,155 ,113 ] , ) ; pub const KSDATAFORMAT_SUBTYPE_MPEG_HEAAC : :: windows :: Guid = :: windows :: Guid :: from_values ( 5648 ,0 ,16 , [ 128 ,0 ,0 ,170 ,0 ,56 ,155 ,113 ] , ) ; pub const KSDATAFORMAT_SUBTYPE_MULAW : :: windows :: Guid = :: windows :: Guid :: from_values ( 7 ,0 ,16 , [ 128 ,0 ,0 ,170 ,0 ,56 ,155 ,113 ] , ) ; pub const KSDATAFORMAT_SUBTYPE_NABTS : :: windows :: Guid = :: windows :: Guid :: from_values ( 4146755298 ,60170 ,4560 , [ 172 ,228 ,0 ,0 ,192 ,204 ,22 ,186 ] , ) ; pub const KSDATAFORMAT_SUBTYPE_NABTS_FEC : :: windows :: Guid = :: windows :: Guid :: from_values ( 3881286817 ,14764 ,4561 , [ 169 ,245 ,0 ,192 ,79 ,187 ,222 ,143 ] , ) ; pub const KSDATAFORMAT_SUBTYPE_NONE : :: windows :: Guid = :: windows :: Guid :: from_values ( 3828804494 ,21071 ,4558 , [ 159 ,83 ,0 ,32 ,175 ,11 ,167 ,112 ] , ) ; pub const KSDATAFORMAT_SUBTYPE_OVERLAY : :: windows :: Guid = :: windows :: Guid :: from_values ( 3828804479 ,21071 ,4558 , [ 159 ,83 ,0 ,32 ,175 ,11 ,167 ,112 ] , ) ; pub const KSDATAFORMAT_SUBTYPE_RAW8 : :: windows :: Guid = :: windows :: Guid :: from_values ( 3391150496 ,15934 ,4561 , [ 155 ,249 ,0 ,192 ,79 ,187 ,222 ,191 ] , ) ; pub const KSDATAFORMAT_SUBTYPE_RIFF : :: windows :: Guid = :: windows :: Guid :: from_values ( 1234557678 ,40678 ,4560 , [ 164 ,14 ,0 ,160 ,201 ,34 ,49 ,150 ] , ) ; pub const KSDATAFORMAT_SUBTYPE_RIFFMIDI : :: windows :: Guid = :: windows :: Guid :: from_values ( 1234557680 ,40678 ,4560 , [ 164 ,14 ,0 ,160 ,201 ,34 ,49 ,150 ] , ) ; pub const KSDATAFORMAT_SUBTYPE_RIFFWAVE : :: windows :: Guid = :: windows :: Guid :: from_values ( 3828804491 ,21071 ,4558 , [ 159 ,83 ,0 ,32 ,175 ,11 ,167 ,112 ] , ) ; pub const KSDATAFORMAT_SUBTYPE_SDDS_AUDIO : :: windows :: Guid = :: windows :: Guid :: from_values ( 3765272628 ,56134 ,4559 , [ 180 ,209 ,0 ,128 ,95 ,108 ,187 ,234 ] , ) ; pub const KSDATAFORMAT_SUBTYPE_STANDARD_AC3_AUDIO : :: windows :: Guid = :: windows :: Guid :: from_values ( 911358757 ,36581 ,4561 , [ 140 ,163 ,0 ,96 ,176 ,87 ,102 ,74 ] , ) ; pub const KSDATAFORMAT_SUBTYPE_STANDARD_MPEG1_AUDIO : :: windows :: Guid = :: windows :: Guid :: from_values ( 911358754 ,36581 ,4561 , [ 140 ,163 ,0 ,96 ,176 ,87 ,102 ,74 ] , ) ; pub const KSDATAFORMAT_SUBTYPE_STANDARD_MPEG1_VIDEO : :: windows :: Guid = :: windows :: Guid :: from_values ( 911358753 ,36581 ,4561 , [ 140 ,163 ,0 ,96 ,176 ,87 ,102 ,74 ] , ) ; pub const KSDATAFORMAT_SUBTYPE_STANDARD_MPEG2_AUDIO : :: windows :: Guid = :: windows :: Guid :: from_values ( 911358756 ,36581 ,4561 , [ 140 ,163 ,0 ,96 ,176 ,87 ,102 ,74 ] , ) ; pub const KSDATAFORMAT_SUBTYPE_STANDARD_MPEG2_VIDEO : :: windows :: Guid = :: windows :: Guid :: from_values ( 911358755 ,36581 ,4561 , [ 140 ,163 ,0 ,96 ,176 ,87 ,102 ,74 ] , ) ; pub const KSDATAFORMAT_SUBTYPE_SUBPICTURE : :: windows :: Guid = :: windows :: Guid :: from_values ( 3765272621 ,56134 ,4559 , [ 180 ,209 ,0 ,128 ,95 ,108 ,187 ,234 ] , ) ; pub const KSDATAFORMAT_SUBTYPE_TELETEXT : :: windows :: Guid = :: windows :: Guid :: from_values ( 4146755299 ,60170 ,4560 , [ 172 ,228 ,0 ,0 ,192 ,204 ,22 ,186 ] , ) ; pub const KSDATAFORMAT_SUBTYPE_VPVBI : :: windows :: Guid = :: windows :: Guid :: from_values ( 1520134721 ,6690 ,4561 , [ 186 ,217 ,0 ,96 ,151 ,68 ,17 ,26 ] , ) ; pub const KSDATAFORMAT_SUBTYPE_VPVideo : :: windows :: Guid = :: windows :: Guid :: from_values ( 1520134720 ,6690 ,4561 , [ 186 ,217 ,0 ,96 ,151 ,68 ,17 ,26 ] , ) ; pub const KSDATAFORMAT_SUBTYPE_WMAUDIO2 : :: windows :: Guid = :: windows :: Guid :: from_values ( 353 ,0 ,16 , [ 128 ,0 ,0 ,170 ,0 ,56 ,155 ,113 ] , ) ; pub const KSDATAFORMAT_SUBTYPE_WMAUDIO3 : :: windows :: Guid = :: windows :: Guid :: from_values ( 354 ,0 ,16 , [ 128 ,0 ,0 ,170 ,0 ,56 ,155 ,113 ] , ) ; pub const KSDATAFORMAT_SUBTYPE_WMAUDIO_LOSSLESS : :: windows :: Guid = :: windows :: Guid :: from_values ( 355 ,0 ,16 , [ 128 ,0 ,0 ,170 ,0 ,56 ,155 ,113 ] , ) ; pub const KSDATAFORMAT_TYPE_ANALOGAUDIO : :: windows :: Guid = :: windows :: Guid :: from_values ( 75685601 ,30743 ,4559 , [ 138 ,3 ,0 ,170 ,0 ,110 ,203 ,101 ] , ) ; pub const KSDATAFORMAT_TYPE_ANALOGVIDEO : :: windows :: Guid = :: windows :: Guid :: from_values ( 75685345 ,30743 ,4559 , [ 138 ,3 ,0 ,170 ,0 ,110 ,203 ,101 ] , ) ; pub const KSDATAFORMAT_TYPE_AUDIO : :: windows :: Guid = :: windows :: Guid :: from_values ( 1935963489 ,0 ,16 , [ 128 ,0 ,0 ,170 ,0 ,56 ,155 ,113 ] , ) ; pub const KSDATAFORMAT_TYPE_AUXLine21Data : :: windows :: Guid = :: windows :: Guid :: from_values ( 1728768640 ,14978 ,4560 , [ 183 ,155 ,0 ,170 ,0 ,55 ,103 ,167 ] , ) ; pub const KSDATAFORMAT_TYPE_DVD_ENCRYPTED_PACK : :: windows :: Guid = :: windows :: Guid :: from_values ( 3976958314 ,1101 ,4561 , [ 170 ,120 ,0 ,192 ,79 ,195 ,29 ,96 ] , ) ; pub const KSDATAFORMAT_TYPE_IMAGE : :: windows :: Guid = :: windows :: Guid :: from_values ( 1914145827 ,58459 ,4565 , [ 188 ,42 ,0 ,176 ,208 ,243 ,244 ,171 ] , ) ; pub const KSDATAFORMAT_TYPE_MIDI : :: windows :: Guid = :: windows :: Guid :: from_values ( 1935960429 ,0 ,16 , [ 128 ,0 ,0 ,170 ,0 ,56 ,155 ,113 ] , ) ; pub const KSDATAFORMAT_TYPE_MPEG2_PES : :: windows :: Guid = :: windows :: Guid :: from_values ( 3765272608 ,56134 ,4559 , [ 180 ,209 ,0 ,128 ,95 ,108 ,187 ,234 ] , ) ; pub const KSDATAFORMAT_TYPE_MPEG2_PROGRAM : :: windows :: Guid = :: windows :: Guid :: from_values ( 3765272610 ,56134 ,4559 , [ 180 ,209 ,0 ,128 ,95 ,108 ,187 ,234 ] , ) ; pub const KSDATAFORMAT_TYPE_MPEG2_TRANSPORT : :: windows :: Guid = :: windows :: Guid :: from_values ( 3765272611 ,56134 ,4559 , [ 180 ,209 ,0 ,128 ,95 ,108 ,187 ,234 ] , ) ; pub const KSDATAFORMAT_TYPE_MUSIC : :: windows :: Guid = :: windows :: Guid :: from_values ( 3878015840 ,25292 ,4559 , [ 165 ,214 ,40 ,219 ,4 ,193 ,0 ,0 ] , ) ; pub const KSDATAFORMAT_TYPE_NABTS : :: windows :: Guid = :: windows :: Guid :: from_values ( 3881286816 ,14764 ,4561 , [ 169 ,245 ,0 ,192 ,79 ,187 ,222 ,143 ] , ) ; pub const KSDATAFORMAT_TYPE_STANDARD_ELEMENTARY_STREAM : :: windows :: Guid = :: windows :: Guid :: from_values ( 911358737 ,36581 ,4561 , [ 140 ,163 ,0 ,96 ,176 ,87 ,102 ,74 ] , ) ; pub const KSDATAFORMAT_TYPE_STANDARD_PACK_HEADER : :: windows :: Guid = :: windows :: Guid :: from_values ( 911358739 ,36581 ,4561 , [ 140 ,163 ,0 ,96 ,176 ,87 ,102 ,74 ] , ) ; pub const KSDATAFORMAT_TYPE_STANDARD_PES_PACKET : :: windows :: Guid = :: windows :: Guid :: from_values ( 911358738 ,36581 ,4561 , [ 140 ,163 ,0 ,96 ,176 ,87 ,102 ,74 ] , ) ; pub const KSDATAFORMAT_TYPE_STREAM : :: windows :: Guid = :: windows :: Guid :: from_values ( 3828804483 ,21071 ,4558 , [ 159 ,83 ,0 ,32 ,175 ,11 ,167 ,112 ] , ) ; pub const KSDATAFORMAT_TYPE_TEXT : :: windows :: Guid = :: windows :: Guid :: from_values ( 1937012852 ,0 ,16 , [ 128 ,0 ,0 ,170 ,0 ,56 ,155 ,113 ] , ) ; pub const KSDATAFORMAT_TYPE_VBI : :: windows :: Guid = :: windows :: Guid :: from_values ( 4146755297 ,60170 ,4560 , [ 172 ,228 ,0 ,0 ,192 ,204 ,22 ,186 ] , ) ; pub const KSDATAFORMAT_TYPE_VIDEO : :: windows :: Guid = :: windows :: Guid :: from_values ( 1935960438 ,0 ,16 , [ 128 ,0 ,0 ,170 ,0 ,56 ,155 ,113 ] , ) ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 1 ) ) ] pub struct KSDATAFORMAT_WAVEFORMATEX { pub DataFormat : KSDATAFORMAT , pub WaveFormatEx : super::super::Multimedia:: WAVEFORMATEX } impl KSDATAFORMAT_WAVEFORMATEX { } impl :: std :: cmp :: PartialEq for KSDATAFORMAT_WAVEFORMATEX { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSDATAFORMAT_WAVEFORMATEX { } unsafe impl :: windows :: Abi for KSDATAFORMAT_WAVEFORMATEX { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 1 ) ) ] pub struct KSDATAFORMAT_WAVEFORMATEXTENSIBLE { pub DataFormat : KSDATAFORMAT , pub WaveFormatExt : super::super::Multimedia:: WAVEFORMATEXTENSIBLE } impl KSDATAFORMAT_WAVEFORMATEXTENSIBLE { } impl :: std :: cmp :: PartialEq for KSDATAFORMAT_WAVEFORMATEXTENSIBLE { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSDATAFORMAT_WAVEFORMATEXTENSIBLE { } unsafe impl :: windows :: Abi for KSDATAFORMAT_WAVEFORMATEXTENSIBLE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSDATARANGE_AUDIO { pub DataRange : KSDATAFORMAT , pub MaximumChannels : u32 , pub MinimumBitsPerSample : u32 , pub MaximumBitsPerSample : u32 , pub MinimumSampleFrequency : u32 , pub MaximumSampleFrequency : u32 } impl KSDATARANGE_AUDIO { } impl :: std :: cmp :: PartialEq for KSDATARANGE_AUDIO { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSDATARANGE_AUDIO { } unsafe impl :: windows :: Abi for KSDATARANGE_AUDIO { type Abi = Self ; type DefaultType = Self ; } pub const KSDATARANGE_BIT_ATTRIBUTES : u32 = 1u32 ; pub const KSDATARANGE_BIT_REQUIRED_ATTRIBUTES : u32 = 2u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSDATARANGE_MUSIC { pub DataRange : KSDATAFORMAT , pub Technology : :: windows :: Guid , pub Channels : u32 , pub Notes : u32 , pub ChannelMask : u32 } impl KSDATARANGE_MUSIC { } impl :: std :: cmp :: PartialEq for KSDATARANGE_MUSIC { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSDATARANGE_MUSIC { } unsafe impl :: windows :: Abi for KSDATARANGE_MUSIC { type Abi = Self ; type DefaultType = Self ; } pub const KSDEGRADESETID_Standard : :: windows :: Guid = :: windows :: Guid :: from_values ( 2673230208 ,28748 ,4560 , [ 165 ,214 ,40 ,219 ,4 ,193 ,0 ,0 ] , ) ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct KSDEGRADE_STANDARD ( pub i32 ) ; pub const KSDEGRADE_STANDARD_SAMPLE : KSDEGRADE_STANDARD = KSDEGRADE_STANDARD ( 0i32 ) ; pub const KSDEGRADE_STANDARD_QUALITY : KSDEGRADE_STANDARD = KSDEGRADE_STANDARD ( 1i32 ) ; pub const KSDEGRADE_STANDARD_COMPUTATION : KSDEGRADE_STANDARD = KSDEGRADE_STANDARD ( 2i32 ) ; pub const KSDEGRADE_STANDARD_SKIP : KSDEGRADE_STANDARD = KSDEGRADE_STANDARD ( 3i32 ) ; impl :: std :: convert :: From < i32 > for KSDEGRADE_STANDARD { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSDEGRADE_STANDARD { type Abi = Self ; type DefaultType = Self ; } pub const KSDEVICE_DESCRIPTOR_VERSION : u32 = 256u32 ; pub const KSDEVICE_DESCRIPTOR_VERSION_2 : u32 = 272u32 ; pub const KSDEVICE_FLAG_ENABLE_QUERYINTERFACE : u32 = 4u32 ; pub const KSDEVICE_FLAG_ENABLE_REMOTE_WAKEUP : u32 = 1u32 ; pub const KSDEVICE_FLAG_LOWPOWER_PASSTHROUGH : u32 = 2u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSDEVICE_PROFILE_INFO { pub Type : u32 , pub Size : u32 , pub Anonymous : KSDEVICE_PROFILE_INFO_0 } impl KSDEVICE_PROFILE_INFO { } impl :: std :: cmp :: PartialEq for KSDEVICE_PROFILE_INFO { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSDEVICE_PROFILE_INFO { } unsafe impl :: windows :: Abi for KSDEVICE_PROFILE_INFO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union KSDEVICE_PROFILE_INFO_0 { pub Camera : KSDEVICE_PROFILE_INFO_0_0 } impl KSDEVICE_PROFILE_INFO_0 { } impl :: std :: cmp :: PartialEq for KSDEVICE_PROFILE_INFO_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSDEVICE_PROFILE_INFO_0 { } unsafe impl :: windows :: Abi for KSDEVICE_PROFILE_INFO_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSDEVICE_PROFILE_INFO_0_0 { pub Info : KSCAMERA_PROFILE_INFO , pub Reserved : u32 , pub ConcurrencyCount : u32 , pub Concurrency : * mut KSCAMERA_PROFILE_CONCURRENCYINFO } impl KSDEVICE_PROFILE_INFO_0_0 { } impl :: std :: default :: Default for KSDEVICE_PROFILE_INFO_0_0 { fn default ( ) -> Self { Self { Info : :: std :: default :: Default :: default ( ) , Reserved : 0 , ConcurrencyCount : 0 , Concurrency : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for KSDEVICE_PROFILE_INFO_0_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Camera_e__Struct" ) . field ( "Info" , & self . Info ) . field ( "Reserved" , & self . Reserved ) . field ( "ConcurrencyCount" , & self . ConcurrencyCount ) . field ( "Concurrency" , & self . Concurrency ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSDEVICE_PROFILE_INFO_0_0 { fn eq ( & self , other : & Self ) -> bool { self . Info == other . Info && self . Reserved == other . Reserved && self . ConcurrencyCount == other . ConcurrencyCount && self . Concurrency == other . Concurrency } } impl :: std :: cmp :: Eq for KSDEVICE_PROFILE_INFO_0_0 { } unsafe impl :: windows :: Abi for KSDEVICE_PROFILE_INFO_0_0 { type Abi = Self ; type DefaultType = Self ; } pub const KSDEVICE_PROFILE_TYPE_CAMERA : u32 = 1u32 ; pub const KSDEVICE_PROFILE_TYPE_UNKNOWN : 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 KSDEVICE_THERMAL_STATE ( pub i32 ) ; pub const KSDEVICE_THERMAL_STATE_LOW : KSDEVICE_THERMAL_STATE = KSDEVICE_THERMAL_STATE ( 0i32 ) ; pub const KSDEVICE_THERMAL_STATE_HIGH : KSDEVICE_THERMAL_STATE = KSDEVICE_THERMAL_STATE ( 1i32 ) ; impl :: std :: convert :: From < i32 > for KSDEVICE_THERMAL_STATE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSDEVICE_THERMAL_STATE { type Abi = Self ; type DefaultType = Self ; } pub const KSDISPATCH_FASTIO : u32 = 2147483648u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSDISPLAYCHANGE { pub PelsWidth : u32 , pub PelsHeight : u32 , pub BitsPerPel : u32 , pub DeviceID : [ u16 ;1 ] } impl KSDISPLAYCHANGE { } impl :: std :: default :: Default for KSDISPLAYCHANGE { fn default ( ) -> Self { Self { PelsWidth : 0 , PelsHeight : 0 , BitsPerPel : 0 , DeviceID : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for KSDISPLAYCHANGE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSDISPLAYCHANGE" ) . field ( "PelsWidth" , & self . PelsWidth ) . field ( "PelsHeight" , & self . PelsHeight ) . field ( "BitsPerPel" , & self . BitsPerPel ) . field ( "DeviceID" , & self . DeviceID ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSDISPLAYCHANGE { fn eq ( & self , other : & Self ) -> bool { self . PelsWidth == other . PelsWidth && self . PelsHeight == other . PelsHeight && self . BitsPerPel == other . BitsPerPel && self . DeviceID == other . DeviceID } } impl :: std :: cmp :: Eq for KSDISPLAYCHANGE { } unsafe impl :: windows :: Abi for KSDISPLAYCHANGE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSDS3D_BUFFER_ALL { pub Position : DS3DVECTOR , pub Velocity : DS3DVECTOR , pub InsideConeAngle : u32 , pub OutsideConeAngle : u32 , pub ConeOrientation : DS3DVECTOR , pub ConeOutsideVolume : i32 , pub MinDistance : f32 , pub MaxDistance : f32 , pub Mode : u32 } impl KSDS3D_BUFFER_ALL { } impl :: std :: cmp :: PartialEq for KSDS3D_BUFFER_ALL { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSDS3D_BUFFER_ALL { } unsafe impl :: windows :: Abi for KSDS3D_BUFFER_ALL { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSDS3D_BUFFER_CONE_ANGLES { pub InsideConeAngle : u32 , pub OutsideConeAngle : u32 } impl KSDS3D_BUFFER_CONE_ANGLES { } impl :: std :: default :: Default for KSDS3D_BUFFER_CONE_ANGLES { fn default ( ) -> Self { Self { InsideConeAngle : 0 , OutsideConeAngle : 0 } } } impl :: std :: fmt :: Debug for KSDS3D_BUFFER_CONE_ANGLES { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSDS3D_BUFFER_CONE_ANGLES" ) . field ( "InsideConeAngle" , & self . InsideConeAngle ) . field ( "OutsideConeAngle" , & self . OutsideConeAngle ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSDS3D_BUFFER_CONE_ANGLES { fn eq ( & self , other : & Self ) -> bool { self . InsideConeAngle == other . InsideConeAngle && self . OutsideConeAngle == other . OutsideConeAngle } } impl :: std :: cmp :: Eq for KSDS3D_BUFFER_CONE_ANGLES { } unsafe impl :: windows :: Abi for KSDS3D_BUFFER_CONE_ANGLES { 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 KSDS3D_HRTF_COEFF_FORMAT ( pub i32 ) ; pub const FLOAT_COEFF : KSDS3D_HRTF_COEFF_FORMAT = KSDS3D_HRTF_COEFF_FORMAT ( 0i32 ) ; pub const SHORT_COEFF : KSDS3D_HRTF_COEFF_FORMAT = KSDS3D_HRTF_COEFF_FORMAT ( 1i32 ) ; pub const KSDS3D_COEFF_COUNT : KSDS3D_HRTF_COEFF_FORMAT = KSDS3D_HRTF_COEFF_FORMAT ( 2i32 ) ; impl :: std :: convert :: From < i32 > for KSDS3D_HRTF_COEFF_FORMAT { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSDS3D_HRTF_COEFF_FORMAT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSDS3D_HRTF_FILTER_FORMAT_MSG { pub FilterMethod : KSDS3D_HRTF_FILTER_METHOD , pub CoeffFormat : KSDS3D_HRTF_COEFF_FORMAT , pub Version : KSDS3D_HRTF_FILTER_VERSION , pub Reserved : u32 } impl KSDS3D_HRTF_FILTER_FORMAT_MSG { } impl :: std :: default :: Default for KSDS3D_HRTF_FILTER_FORMAT_MSG { fn default ( ) -> Self { Self { FilterMethod : :: std :: default :: Default :: default ( ) , CoeffFormat : :: std :: default :: Default :: default ( ) , Version : :: std :: default :: Default :: default ( ) , Reserved : 0 } } } impl :: std :: fmt :: Debug for KSDS3D_HRTF_FILTER_FORMAT_MSG { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSDS3D_HRTF_FILTER_FORMAT_MSG" ) . field ( "FilterMethod" , & self . FilterMethod ) . field ( "CoeffFormat" , & self . CoeffFormat ) . field ( "Version" , & self . Version ) . field ( "Reserved" , & self . Reserved ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSDS3D_HRTF_FILTER_FORMAT_MSG { fn eq ( & self , other : & Self ) -> bool { self . FilterMethod == other . FilterMethod && self . CoeffFormat == other . CoeffFormat && self . Version == other . Version && self . Reserved == other . Reserved } } impl :: std :: cmp :: Eq for KSDS3D_HRTF_FILTER_FORMAT_MSG { } unsafe impl :: windows :: Abi for KSDS3D_HRTF_FILTER_FORMAT_MSG { 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 KSDS3D_HRTF_FILTER_METHOD ( pub i32 ) ; pub const DIRECT_FORM : KSDS3D_HRTF_FILTER_METHOD = KSDS3D_HRTF_FILTER_METHOD ( 0i32 ) ; pub const CASCADE_FORM : KSDS3D_HRTF_FILTER_METHOD = KSDS3D_HRTF_FILTER_METHOD ( 1i32 ) ; pub const KSDS3D_FILTER_METHOD_COUNT : KSDS3D_HRTF_FILTER_METHOD = KSDS3D_HRTF_FILTER_METHOD ( 2i32 ) ; impl :: std :: convert :: From < i32 > for KSDS3D_HRTF_FILTER_METHOD { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSDS3D_HRTF_FILTER_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 KSDS3D_HRTF_FILTER_QUALITY ( pub i32 ) ; pub const FULL_FILTER : KSDS3D_HRTF_FILTER_QUALITY = KSDS3D_HRTF_FILTER_QUALITY ( 0i32 ) ; pub const LIGHT_FILTER : KSDS3D_HRTF_FILTER_QUALITY = KSDS3D_HRTF_FILTER_QUALITY ( 1i32 ) ; pub const KSDS3D_FILTER_QUALITY_COUNT : KSDS3D_HRTF_FILTER_QUALITY = KSDS3D_HRTF_FILTER_QUALITY ( 2i32 ) ; impl :: std :: convert :: From < i32 > for KSDS3D_HRTF_FILTER_QUALITY { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSDS3D_HRTF_FILTER_QUALITY { 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 KSDS3D_HRTF_FILTER_VERSION ( pub i32 ) ; pub const DS3D_HRTF_VERSION_1 : KSDS3D_HRTF_FILTER_VERSION = KSDS3D_HRTF_FILTER_VERSION ( 0i32 ) ; impl :: std :: convert :: From < i32 > for KSDS3D_HRTF_FILTER_VERSION { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSDS3D_HRTF_FILTER_VERSION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSDS3D_HRTF_INIT_MSG { pub Size : u32 , pub Quality : KSDS3D_HRTF_FILTER_QUALITY , pub SampleRate : f32 , pub MaxFilterSize : u32 , pub FilterTransientMuteLength : u32 , pub FilterOverlapBufferLength : u32 , pub OutputOverlapBufferLength : u32 , pub Reserved : u32 } impl KSDS3D_HRTF_INIT_MSG { } impl :: std :: default :: Default for KSDS3D_HRTF_INIT_MSG { fn default ( ) -> Self { Self { Size : 0 , Quality : :: std :: default :: Default :: default ( ) , SampleRate : 0.0 , MaxFilterSize : 0 , FilterTransientMuteLength : 0 , FilterOverlapBufferLength : 0 , OutputOverlapBufferLength : 0 , Reserved : 0 } } } impl :: std :: fmt :: Debug for KSDS3D_HRTF_INIT_MSG { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSDS3D_HRTF_INIT_MSG" ) . field ( "Size" , & self . Size ) . field ( "Quality" , & self . Quality ) . field ( "SampleRate" , & self . SampleRate ) . field ( "MaxFilterSize" , & self . MaxFilterSize ) . field ( "FilterTransientMuteLength" , & self . FilterTransientMuteLength ) . field ( "FilterOverlapBufferLength" , & self . FilterOverlapBufferLength ) . field ( "OutputOverlapBufferLength" , & self . OutputOverlapBufferLength ) . field ( "Reserved" , & self . Reserved ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSDS3D_HRTF_INIT_MSG { fn eq ( & self , other : & Self ) -> bool { self . Size == other . Size && self . Quality == other . Quality && self . SampleRate == other . SampleRate && self . MaxFilterSize == other . MaxFilterSize && self . FilterTransientMuteLength == other . FilterTransientMuteLength && self . FilterOverlapBufferLength == other . FilterOverlapBufferLength && self . OutputOverlapBufferLength == other . OutputOverlapBufferLength && self . Reserved == other . Reserved } } impl :: std :: cmp :: Eq for KSDS3D_HRTF_INIT_MSG { } unsafe impl :: windows :: Abi for KSDS3D_HRTF_INIT_MSG { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSDS3D_HRTF_PARAMS_MSG { pub Size : u32 , pub Enabled : u32 , pub SwapChannels : super::super::super::Foundation:: BOOL , pub ZeroAzimuth : super::super::super::Foundation:: BOOL , pub CrossFadeOutput : super::super::super::Foundation:: BOOL , pub FilterSize : u32 } impl KSDS3D_HRTF_PARAMS_MSG { } impl :: std :: default :: Default for KSDS3D_HRTF_PARAMS_MSG { fn default ( ) -> Self { Self { Size : 0 , Enabled : 0 , SwapChannels : :: std :: default :: Default :: default ( ) , ZeroAzimuth : :: std :: default :: Default :: default ( ) , CrossFadeOutput : :: std :: default :: Default :: default ( ) , FilterSize : 0 } } } impl :: std :: fmt :: Debug for KSDS3D_HRTF_PARAMS_MSG { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSDS3D_HRTF_PARAMS_MSG" ) . field ( "Size" , & self . Size ) . field ( "Enabled" , & self . Enabled ) . field ( "SwapChannels" , & self . SwapChannels ) . field ( "ZeroAzimuth" , & self . ZeroAzimuth ) . field ( "CrossFadeOutput" , & self . CrossFadeOutput ) . field ( "FilterSize" , & self . FilterSize ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSDS3D_HRTF_PARAMS_MSG { fn eq ( & self , other : & Self ) -> bool { self . Size == other . Size && self . Enabled == other . Enabled && self . SwapChannels == other . SwapChannels && self . ZeroAzimuth == other . ZeroAzimuth && self . CrossFadeOutput == other . CrossFadeOutput && self . FilterSize == other . FilterSize } } impl :: std :: cmp :: Eq for KSDS3D_HRTF_PARAMS_MSG { } unsafe impl :: windows :: Abi for KSDS3D_HRTF_PARAMS_MSG { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSDS3D_ITD_PARAMS { pub Channel : i32 , pub VolSmoothScale : f32 , pub TotalDryAttenuation : f32 , pub TotalWetAttenuation : f32 , pub SmoothFrequency : i32 , pub Delay : i32 } impl KSDS3D_ITD_PARAMS { } impl :: std :: default :: Default for KSDS3D_ITD_PARAMS { fn default ( ) -> Self { Self { Channel : 0 , VolSmoothScale : 0.0 , TotalDryAttenuation : 0.0 , TotalWetAttenuation : 0.0 , SmoothFrequency : 0 , Delay : 0 } } } impl :: std :: fmt :: Debug for KSDS3D_ITD_PARAMS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSDS3D_ITD_PARAMS" ) . field ( "Channel" , & self . Channel ) . field ( "VolSmoothScale" , & self . VolSmoothScale ) . field ( "TotalDryAttenuation" , & self . TotalDryAttenuation ) . field ( "TotalWetAttenuation" , & self . TotalWetAttenuation ) . field ( "SmoothFrequency" , & self . SmoothFrequency ) . field ( "Delay" , & self . Delay ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSDS3D_ITD_PARAMS { fn eq ( & self , other : & Self ) -> bool { self . Channel == other . Channel && self . VolSmoothScale == other . VolSmoothScale && self . TotalDryAttenuation == other . TotalDryAttenuation && self . TotalWetAttenuation == other . TotalWetAttenuation && self . SmoothFrequency == other . SmoothFrequency && self . Delay == other . Delay } } impl :: std :: cmp :: Eq for KSDS3D_ITD_PARAMS { } unsafe impl :: windows :: Abi for KSDS3D_ITD_PARAMS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSDS3D_ITD_PARAMS_MSG { pub Enabled : u32 , pub LeftParams : KSDS3D_ITD_PARAMS , pub RightParams : KSDS3D_ITD_PARAMS , pub Reserved : u32 } impl KSDS3D_ITD_PARAMS_MSG { } impl :: std :: default :: Default for KSDS3D_ITD_PARAMS_MSG { fn default ( ) -> Self { Self { Enabled : 0 , LeftParams : :: std :: default :: Default :: default ( ) , RightParams : :: std :: default :: Default :: default ( ) , Reserved : 0 } } } impl :: std :: fmt :: Debug for KSDS3D_ITD_PARAMS_MSG { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSDS3D_ITD_PARAMS_MSG" ) . field ( "Enabled" , & self . Enabled ) . field ( "LeftParams" , & self . LeftParams ) . field ( "RightParams" , & self . RightParams ) . field ( "Reserved" , & self . Reserved ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSDS3D_ITD_PARAMS_MSG { fn eq ( & self , other : & Self ) -> bool { self . Enabled == other . Enabled && self . LeftParams == other . LeftParams && self . RightParams == other . RightParams && self . Reserved == other . Reserved } } impl :: std :: cmp :: Eq for KSDS3D_ITD_PARAMS_MSG { } unsafe impl :: windows :: Abi for KSDS3D_ITD_PARAMS_MSG { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSDS3D_LISTENER_ALL { pub Position : DS3DVECTOR , pub Velocity : DS3DVECTOR , pub OrientFront : DS3DVECTOR , pub OrientTop : DS3DVECTOR , pub DistanceFactor : f32 , pub RolloffFactor : f32 , pub DopplerFactor : f32 } impl KSDS3D_LISTENER_ALL { } impl :: std :: cmp :: PartialEq for KSDS3D_LISTENER_ALL { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSDS3D_LISTENER_ALL { } unsafe impl :: windows :: Abi for KSDS3D_LISTENER_ALL { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSDS3D_LISTENER_ORIENTATION { pub Front : DS3DVECTOR , pub Top : DS3DVECTOR } impl KSDS3D_LISTENER_ORIENTATION { } impl :: std :: cmp :: PartialEq for KSDS3D_LISTENER_ORIENTATION { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSDS3D_LISTENER_ORIENTATION { } unsafe impl :: windows :: Abi for KSDS3D_LISTENER_ORIENTATION { type Abi = Self ; type DefaultType = Self ; } pub const KSDSOUND_3D_MODE_DISABLE : u32 = 2u32 ; pub const KSDSOUND_3D_MODE_HEADRELATIVE : u32 = 1u32 ; pub const KSDSOUND_3D_MODE_NORMAL : u32 = 0u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 1 ) ) ] pub struct KSDSOUND_BUFFERDESC { pub Flags : u32 , pub Control : u32 , pub WaveFormatEx : super::super::Multimedia:: WAVEFORMATEX } impl KSDSOUND_BUFFERDESC { } impl :: std :: cmp :: PartialEq for KSDSOUND_BUFFERDESC { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSDSOUND_BUFFERDESC { } unsafe impl :: windows :: Abi for KSDSOUND_BUFFERDESC { type Abi = Self ; type DefaultType = Self ; } pub const KSDSOUND_BUFFER_CTRL_3D : u32 = 1u32 ; pub const KSDSOUND_BUFFER_CTRL_FREQUENCY : u32 = 2u32 ; pub const KSDSOUND_BUFFER_CTRL_HRTF_3D : u32 = 1073741824u32 ; pub const KSDSOUND_BUFFER_CTRL_PAN : u32 = 4u32 ; pub const KSDSOUND_BUFFER_CTRL_POSITIONNOTIFY : u32 = 16u32 ; pub const KSDSOUND_BUFFER_CTRL_VOLUME : u32 = 8u32 ; pub const KSDSOUND_BUFFER_LOCHARDWARE : u32 = 4u32 ; pub const KSDSOUND_BUFFER_LOCSOFTWARE : u32 = 8u32 ; pub const KSDSOUND_BUFFER_PRIMARY : u32 = 1u32 ; pub const KSDSOUND_BUFFER_STATIC : u32 = 2u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSERROR { pub Context : * mut :: std :: ffi :: c_void , pub Status : u32 } impl KSERROR { } impl :: std :: default :: Default for KSERROR { fn default ( ) -> Self { Self { Context : :: std :: ptr :: null_mut ( ) , Status : 0 } } } impl :: std :: fmt :: Debug for KSERROR { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSERROR" ) . field ( "Context" , & self . Context ) . field ( "Status" , & self . Status ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSERROR { fn eq ( & self , other : & Self ) -> bool { self . Context == other . Context && self . Status == other . Status } } impl :: std :: cmp :: Eq for KSERROR { } unsafe impl :: windows :: Abi for KSERROR { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSEVENTDATA { pub NotificationType : u32 , pub Anonymous : KSEVENTDATA_0 } impl KSEVENTDATA { } impl :: std :: cmp :: PartialEq for KSEVENTDATA { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSEVENTDATA { } unsafe impl :: windows :: Abi for KSEVENTDATA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union KSEVENTDATA_0 { pub EventHandle : KSEVENTDATA_0_1 , pub SemaphoreHandle : KSEVENTDATA_0_2 , pub Alignment : KSEVENTDATA_0_0 } impl KSEVENTDATA_0 { } impl :: std :: cmp :: PartialEq for KSEVENTDATA_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSEVENTDATA_0 { } unsafe impl :: windows :: Abi for KSEVENTDATA_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSEVENTDATA_0_0 { pub Unused : * mut :: std :: ffi :: c_void , pub Alignment : [ isize ;2 ] } impl KSEVENTDATA_0_0 { } impl :: std :: default :: Default for KSEVENTDATA_0_0 { fn default ( ) -> Self { Self { Unused : :: std :: ptr :: null_mut ( ) , Alignment : [ 0 ;2 ] } } } impl :: std :: fmt :: Debug for KSEVENTDATA_0_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Alignment_e__Struct" ) . field ( "Unused" , & self . Unused ) . field ( "Alignment" , & self . Alignment ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSEVENTDATA_0_0 { fn eq ( & self , other : & Self ) -> bool { self . Unused == other . Unused && self . Alignment == other . Alignment } } impl :: std :: cmp :: Eq for KSEVENTDATA_0_0 { } unsafe impl :: windows :: Abi for KSEVENTDATA_0_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSEVENTDATA_0_1 { pub Event : super::super::super::Foundation:: HANDLE , pub Reserved : [ usize ;2 ] } impl KSEVENTDATA_0_1 { } impl :: std :: default :: Default for KSEVENTDATA_0_1 { fn default ( ) -> Self { Self { Event : :: std :: default :: Default :: default ( ) , Reserved : [ 0 ;2 ] } } } impl :: std :: fmt :: Debug for KSEVENTDATA_0_1 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_EventHandle_e__Struct" ) . field ( "Event" , & self . Event ) . field ( "Reserved" , & self . Reserved ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSEVENTDATA_0_1 { fn eq ( & self , other : & Self ) -> bool { self . Event == other . Event && self . Reserved == other . Reserved } } impl :: std :: cmp :: Eq for KSEVENTDATA_0_1 { } unsafe impl :: windows :: Abi for KSEVENTDATA_0_1 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSEVENTDATA_0_2 { pub Semaphore : super::super::super::Foundation:: HANDLE , pub Reserved : u32 , pub Adjustment : i32 } impl KSEVENTDATA_0_2 { } impl :: std :: default :: Default for KSEVENTDATA_0_2 { fn default ( ) -> Self { Self { Semaphore : :: std :: default :: Default :: default ( ) , Reserved : 0 , Adjustment : 0 } } } impl :: std :: fmt :: Debug for KSEVENTDATA_0_2 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_SemaphoreHandle_e__Struct" ) . field ( "Semaphore" , & self . Semaphore ) . field ( "Reserved" , & self . Reserved ) . field ( "Adjustment" , & self . Adjustment ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSEVENTDATA_0_2 { fn eq ( & self , other : & Self ) -> bool { self . Semaphore == other . Semaphore && self . Reserved == other . Reserved && self . Adjustment == other . Adjustment } } impl :: std :: cmp :: Eq for KSEVENTDATA_0_2 { } unsafe impl :: windows :: Abi for KSEVENTDATA_0_2 { type Abi = Self ; type DefaultType = Self ; } pub const KSEVENTF_DPC : u32 = 16u32 ; pub const KSEVENTF_EVENT_HANDLE : u32 = 1u32 ; pub const KSEVENTF_EVENT_OBJECT : u32 = 4u32 ; pub const KSEVENTF_KSWORKITEM : u32 = 128u32 ; pub const KSEVENTF_SEMAPHORE_HANDLE : u32 = 2u32 ; pub const KSEVENTF_SEMAPHORE_OBJECT : u32 = 8u32 ; pub const KSEVENTF_WORKITEM : u32 = 32u32 ; pub const KSEVENTSETID_AudioControlChange : :: windows :: Guid = :: windows :: Guid :: from_values ( 3898513048 ,64047 ,4561 , [ 149 ,189 ,0 ,192 ,79 ,185 ,37 ,211 ] , ) ; pub const KSEVENTSETID_CameraAsyncControl : :: windows :: Guid = :: windows :: Guid :: from_values ( 580982612 ,38657 ,16520 , [ 179 ,63 ,107 ,156 ,188 ,82 ,223 ,94 ] , ) ; pub const KSEVENTSETID_CameraEvent : :: windows :: Guid = :: windows :: Guid :: from_values ( 2023338720 ,27459 ,18788 , [ 157 ,42 ,162 ,31 ,64 ,97 ,245 ,118 ] , ) ; pub const KSEVENTSETID_Clock : :: windows :: Guid = :: windows :: Guid :: from_values ( 911052320 ,25287 ,4559 , [ 165 ,214 ,40 ,219 ,4 ,193 ,0 ,0 ] , ) ; pub const KSEVENTSETID_Connection : :: windows :: Guid = :: windows :: Guid :: from_values ( 2135673824 ,40613 ,4559 , [ 165 ,214 ,40 ,219 ,4 ,193 ,0 ,0 ] , ) ; pub const KSEVENTSETID_Device : :: windows :: Guid = :: windows :: Guid :: from_values ( 679646956 ,40852 ,16820 , [ 161 ,83 ,170 ,49 ,174 ,236 ,179 ,63 ] , ) ; pub const KSEVENTSETID_DynamicFormatChange : :: windows :: Guid = :: windows :: Guid :: from_values ( 371901526 ,33751 ,16953 , [ 150 ,223 ,199 ,95 ,250 ,19 ,139 ,198 ] , ) ; pub const KSEVENTSETID_EXTDEV_Command : :: windows :: Guid = :: windows :: Guid :: from_values ( 278690184 ,46027 ,4562 , [ 180 ,142 ,0 ,96 ,151 ,179 ,57 ,27 ] , ) ; pub const KSEVENTSETID_ExtendedCameraControl : :: windows :: Guid = :: windows :: Guid :: from_values ( 1461490377 ,5026 ,18403 , [ 166 ,73 ,210 ,167 ,120 ,22 ,99 ,132 ] , ) ; pub const KSEVENTSETID_LoopedStreaming : :: windows :: Guid = :: windows :: Guid :: from_values ( 1182972224 ,50927 ,4560 , [ 150 ,216 ,0 ,170 ,0 ,81 ,229 ,29 ] , ) ; pub const KSEVENTSETID_PinCapsChange : :: windows :: Guid = :: windows :: Guid :: from_values ( 3712948526 ,15224 ,18861 , [ 165 ,52 ,44 ,49 ,91 ,130 ,32 ,0 ] , ) ; pub const KSEVENTSETID_SoundDetector : :: windows :: Guid = :: windows :: Guid :: from_values ( 1769495707 ,64557 ,18902 , [ 172 ,50 ,71 ,153 ,248 ,125 ,233 ,246 ] , ) ; pub const KSEVENTSETID_StreamAllocator : :: windows :: Guid = :: windows :: Guid :: from_values ( 1977177457 ,1852 ,4560 , [ 161 ,97 ,0 ,32 ,175 ,209 ,86 ,228 ] , ) ; pub const KSEVENTSETID_Telephony : :: windows :: Guid = :: windows :: Guid :: from_values ( 3078558388 ,52916 ,17540 , [ 141 ,94 ,82 ,193 ,231 ,216 ,118 ,45 ] , ) ; pub const KSEVENTSETID_VIDCAPTOSTI : :: windows :: Guid = :: windows :: Guid :: from_values ( 3678920224 ,63016 ,4561 , [ 186 ,65 ,0 ,160 ,201 ,13 ,43 ,5 ] , ) ; pub const KSEVENTSETID_VIDCAP_TVAUDIO : :: windows :: Guid = :: windows :: Guid :: from_values ( 1781401169 ,10468 ,4560 , [ 161 ,140 ,0 ,160 ,201 ,17 ,137 ,86 ] , ) ; pub const KSEVENTSETID_VPNotify : :: windows :: Guid = :: windows :: Guid :: from_values ( 549804430 ,54216 ,4560 , [ 141 ,252 ,0 ,192 ,79 ,215 ,192 ,139 ] , ) ; pub const KSEVENTSETID_VPVBINotify : :: windows :: Guid = :: windows :: Guid :: from_values ( 3964836609 ,6687 ,4561 , [ 186 ,217 ,0 ,96 ,151 ,68 ,17 ,26 ] , ) ; pub const KSEVENTSETID_VolumeLimit : :: windows :: Guid = :: windows :: Guid :: from_values ( 3658908773 ,14972 ,18520 , [ 157 ,74 ,62 ,142 ,36 ,112 ,26 ,239 ] , ) ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct KSEVENT_AUDIO_CONTROL_CHANGE ( pub i32 ) ; pub const KSEVENT_CONTROL_CHANGE : KSEVENT_AUDIO_CONTROL_CHANGE = KSEVENT_AUDIO_CONTROL_CHANGE ( 0i32 ) ; impl :: std :: convert :: From < i32 > for KSEVENT_AUDIO_CONTROL_CHANGE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSEVENT_AUDIO_CONTROL_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 KSEVENT_CAMERACONTROL ( pub i32 ) ; pub const KSEVENT_CAMERACONTROL_FOCUS : KSEVENT_CAMERACONTROL = KSEVENT_CAMERACONTROL ( 0i32 ) ; pub const KSEVENT_CAMERACONTROL_ZOOM : KSEVENT_CAMERACONTROL = KSEVENT_CAMERACONTROL ( 1i32 ) ; impl :: std :: convert :: From < i32 > for KSEVENT_CAMERACONTROL { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSEVENT_CAMERACONTROL { 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 KSEVENT_CAMERAEVENT ( pub i32 ) ; pub const KSEVENT_PHOTO_SAMPLE_SCANNED : KSEVENT_CAMERAEVENT = KSEVENT_CAMERAEVENT ( 0i32 ) ; impl :: std :: convert :: From < i32 > for KSEVENT_CAMERAEVENT { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSEVENT_CAMERAEVENT { 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 KSEVENT_CLOCK_POSITION ( pub i32 ) ; pub const KSEVENT_CLOCK_INTERVAL_MARK : KSEVENT_CLOCK_POSITION = KSEVENT_CLOCK_POSITION ( 0i32 ) ; pub const KSEVENT_CLOCK_POSITION_MARK : KSEVENT_CLOCK_POSITION = KSEVENT_CLOCK_POSITION ( 1i32 ) ; impl :: std :: convert :: From < i32 > for KSEVENT_CLOCK_POSITION { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSEVENT_CLOCK_POSITION { 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 KSEVENT_CONNECTION ( pub i32 ) ; pub const KSEVENT_CONNECTION_POSITIONUPDATE : KSEVENT_CONNECTION = KSEVENT_CONNECTION ( 0i32 ) ; pub const KSEVENT_CONNECTION_DATADISCONTINUITY : KSEVENT_CONNECTION = KSEVENT_CONNECTION ( 1i32 ) ; pub const KSEVENT_CONNECTION_TIMEDISCONTINUITY : KSEVENT_CONNECTION = KSEVENT_CONNECTION ( 2i32 ) ; pub const KSEVENT_CONNECTION_PRIORITY : KSEVENT_CONNECTION = KSEVENT_CONNECTION ( 3i32 ) ; pub const KSEVENT_CONNECTION_ENDOFSTREAM : KSEVENT_CONNECTION = KSEVENT_CONNECTION ( 4i32 ) ; impl :: std :: convert :: From < i32 > for KSEVENT_CONNECTION { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSEVENT_CONNECTION { 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 KSEVENT_CROSSBAR ( pub i32 ) ; pub const KSEVENT_CROSSBAR_CHANGED : KSEVENT_CROSSBAR = KSEVENT_CROSSBAR ( 0i32 ) ; impl :: std :: convert :: From < i32 > for KSEVENT_CROSSBAR { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSEVENT_CROSSBAR { 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 KSEVENT_DEVCMD ( pub i32 ) ; pub const KSEVENT_EXTDEV_COMMAND_NOTIFY_INTERIM_READY : KSEVENT_DEVCMD = KSEVENT_DEVCMD ( 0i32 ) ; pub const KSEVENT_EXTDEV_COMMAND_CONTROL_INTERIM_READY : KSEVENT_DEVCMD = KSEVENT_DEVCMD ( 1i32 ) ; pub const KSEVENT_EXTDEV_COMMAND_BUSRESET : KSEVENT_DEVCMD = KSEVENT_DEVCMD ( 2i32 ) ; pub const KSEVENT_EXTDEV_TIMECODE_UPDATE : KSEVENT_DEVCMD = KSEVENT_DEVCMD ( 3i32 ) ; pub const KSEVENT_EXTDEV_OPERATION_MODE_UPDATE : KSEVENT_DEVCMD = KSEVENT_DEVCMD ( 4i32 ) ; pub const KSEVENT_EXTDEV_TRANSPORT_STATE_UPDATE : KSEVENT_DEVCMD = KSEVENT_DEVCMD ( 5i32 ) ; pub const KSEVENT_EXTDEV_NOTIFY_REMOVAL : KSEVENT_DEVCMD = KSEVENT_DEVCMD ( 6i32 ) ; pub const KSEVENT_EXTDEV_NOTIFY_MEDIUM_CHANGE : KSEVENT_DEVCMD = KSEVENT_DEVCMD ( 7i32 ) ; impl :: std :: convert :: From < i32 > for KSEVENT_DEVCMD { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSEVENT_DEVCMD { 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 KSEVENT_DEVICE ( pub i32 ) ; pub const KSEVENT_DEVICE_LOST : KSEVENT_DEVICE = KSEVENT_DEVICE ( 0i32 ) ; pub const KSEVENT_DEVICE_PREEMPTED : KSEVENT_DEVICE = KSEVENT_DEVICE ( 1i32 ) ; pub const KSEVENT_DEVICE_THERMAL_HIGH : KSEVENT_DEVICE = KSEVENT_DEVICE ( 2i32 ) ; pub const KSEVENT_DEVICE_THERMAL_LOW : KSEVENT_DEVICE = KSEVENT_DEVICE ( 3i32 ) ; impl :: std :: convert :: From < i32 > for KSEVENT_DEVICE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSEVENT_DEVICE { 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 KSEVENT_DYNAMICFORMATCHANGE ( pub i32 ) ; pub const KSEVENT_DYNAMIC_FORMAT_CHANGE : KSEVENT_DYNAMICFORMATCHANGE = KSEVENT_DYNAMICFORMATCHANGE ( 0i32 ) ; impl :: std :: convert :: From < i32 > for KSEVENT_DYNAMICFORMATCHANGE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSEVENT_DYNAMICFORMATCHANGE { type Abi = Self ; type DefaultType = Self ; } pub const KSEVENT_ENTRY_BUFFERED : u32 = 4u32 ; pub const KSEVENT_ENTRY_DELETED : u32 = 1u32 ; pub const KSEVENT_ENTRY_ONESHOT : 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 KSEVENT_LOOPEDSTREAMING ( pub i32 ) ; pub const KSEVENT_LOOPEDSTREAMING_POSITION : KSEVENT_LOOPEDSTREAMING = KSEVENT_LOOPEDSTREAMING ( 0i32 ) ; impl :: std :: convert :: From < i32 > for KSEVENT_LOOPEDSTREAMING { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSEVENT_LOOPEDSTREAMING { 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 KSEVENT_PINCAPS_CHANGENOTIFICATIONS ( pub i32 ) ; pub const KSEVENT_PINCAPS_FORMATCHANGE : KSEVENT_PINCAPS_CHANGENOTIFICATIONS = KSEVENT_PINCAPS_CHANGENOTIFICATIONS ( 0i32 ) ; pub const KSEVENT_PINCAPS_JACKINFOCHANGE : KSEVENT_PINCAPS_CHANGENOTIFICATIONS = KSEVENT_PINCAPS_CHANGENOTIFICATIONS ( 1i32 ) ; impl :: std :: convert :: From < i32 > for KSEVENT_PINCAPS_CHANGENOTIFICATIONS { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSEVENT_PINCAPS_CHANGENOTIFICATIONS { 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 KSEVENT_SOUNDDETECTOR ( pub i32 ) ; pub const KSEVENT_SOUNDDETECTOR_MATCHDETECTED : KSEVENT_SOUNDDETECTOR = KSEVENT_SOUNDDETECTOR ( 1i32 ) ; impl :: std :: convert :: From < i32 > for KSEVENT_SOUNDDETECTOR { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSEVENT_SOUNDDETECTOR { 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 KSEVENT_STREAMALLOCATOR ( pub i32 ) ; pub const KSEVENT_STREAMALLOCATOR_INTERNAL_FREEFRAME : KSEVENT_STREAMALLOCATOR = KSEVENT_STREAMALLOCATOR ( 0i32 ) ; pub const KSEVENT_STREAMALLOCATOR_FREEFRAME : KSEVENT_STREAMALLOCATOR = KSEVENT_STREAMALLOCATOR ( 1i32 ) ; impl :: std :: convert :: From < i32 > for KSEVENT_STREAMALLOCATOR { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSEVENT_STREAMALLOCATOR { 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 KSEVENT_TELEPHONY ( pub i32 ) ; pub const KSEVENT_TELEPHONY_ENDPOINTPAIRS_CHANGED : KSEVENT_TELEPHONY = KSEVENT_TELEPHONY ( 0i32 ) ; impl :: std :: convert :: From < i32 > for KSEVENT_TELEPHONY { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSEVENT_TELEPHONY { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSEVENT_TIME_INTERVAL { pub EventData : KSEVENTDATA , pub TimeBase : i64 , pub Interval : i64 } impl KSEVENT_TIME_INTERVAL { } impl :: std :: cmp :: PartialEq for KSEVENT_TIME_INTERVAL { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSEVENT_TIME_INTERVAL { } unsafe impl :: windows :: Abi for KSEVENT_TIME_INTERVAL { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSEVENT_TIME_MARK { pub EventData : KSEVENTDATA , pub MarkTime : i64 } impl KSEVENT_TIME_MARK { } impl :: std :: cmp :: PartialEq for KSEVENT_TIME_MARK { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSEVENT_TIME_MARK { } unsafe impl :: windows :: Abi for KSEVENT_TIME_MARK { 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 KSEVENT_TUNER ( pub i32 ) ; pub const KSEVENT_TUNER_CHANGED : KSEVENT_TUNER = KSEVENT_TUNER ( 0i32 ) ; pub const KSEVENT_TUNER_INITIATE_SCAN : KSEVENT_TUNER = KSEVENT_TUNER ( 1i32 ) ; impl :: std :: convert :: From < i32 > for KSEVENT_TUNER { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSEVENT_TUNER { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSEVENT_TUNER_INITIATE_SCAN_S { pub EventData : KSEVENTDATA , pub StartFrequency : u32 , pub EndFrequency : u32 } impl KSEVENT_TUNER_INITIATE_SCAN_S { } impl :: std :: cmp :: PartialEq for KSEVENT_TUNER_INITIATE_SCAN_S { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSEVENT_TUNER_INITIATE_SCAN_S { } unsafe impl :: windows :: Abi for KSEVENT_TUNER_INITIATE_SCAN_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 KSEVENT_TVAUDIO ( pub i32 ) ; pub const KSEVENT_TVAUDIO_CHANGED : KSEVENT_TVAUDIO = KSEVENT_TVAUDIO ( 0i32 ) ; impl :: std :: convert :: From < i32 > for KSEVENT_TVAUDIO { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSEVENT_TVAUDIO { type Abi = Self ; type DefaultType = Self ; } pub const KSEVENT_TYPE_BASICSUPPORT : u32 = 512u32 ; pub const KSEVENT_TYPE_ENABLE : u32 = 1u32 ; pub const KSEVENT_TYPE_ENABLEBUFFERED : u32 = 4u32 ; pub const KSEVENT_TYPE_ONESHOT : u32 = 2u32 ; pub const KSEVENT_TYPE_QUERYBUFFER : u32 = 1024u32 ; pub const KSEVENT_TYPE_SETSUPPORT : u32 = 256u32 ; pub const KSEVENT_TYPE_TOPOLOGY : u32 = 268435456u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct KSEVENT_VIDCAPTOSTI ( pub i32 ) ; pub const KSEVENT_VIDCAPTOSTI_EXT_TRIGGER : KSEVENT_VIDCAPTOSTI = KSEVENT_VIDCAPTOSTI ( 0i32 ) ; pub const KSEVENT_VIDCAP_AUTO_UPDATE : KSEVENT_VIDCAPTOSTI = KSEVENT_VIDCAPTOSTI ( 1i32 ) ; pub const KSEVENT_VIDCAP_SEARCH : KSEVENT_VIDCAPTOSTI = KSEVENT_VIDCAPTOSTI ( 2i32 ) ; impl :: std :: convert :: From < i32 > for KSEVENT_VIDCAPTOSTI { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSEVENT_VIDCAPTOSTI { 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 KSEVENT_VIDEODECODER ( pub i32 ) ; pub const KSEVENT_VIDEODECODER_CHANGED : KSEVENT_VIDEODECODER = KSEVENT_VIDEODECODER ( 0i32 ) ; impl :: std :: convert :: From < i32 > for KSEVENT_VIDEODECODER { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSEVENT_VIDEODECODER { 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 KSEVENT_VOLUMELIMIT ( pub i32 ) ; pub const KSEVENT_VOLUMELIMIT_CHANGED : KSEVENT_VOLUMELIMIT = KSEVENT_VOLUMELIMIT ( 0i32 ) ; impl :: std :: convert :: From < i32 > for KSEVENT_VOLUMELIMIT { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSEVENT_VOLUMELIMIT { 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 KSEVENT_VPNOTIFY ( pub i32 ) ; pub const KSEVENT_VPNOTIFY_FORMATCHANGE : KSEVENT_VPNOTIFY = KSEVENT_VPNOTIFY ( 0i32 ) ; impl :: std :: convert :: From < i32 > for KSEVENT_VPNOTIFY { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSEVENT_VPNOTIFY { 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 KSEVENT_VPVBINOTIFY ( pub i32 ) ; pub const KSEVENT_VPVBINOTIFY_FORMATCHANGE : KSEVENT_VPVBINOTIFY = KSEVENT_VPVBINOTIFY ( 0i32 ) ; impl :: std :: convert :: From < i32 > for KSEVENT_VPVBINOTIFY { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSEVENT_VPVBINOTIFY { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSE_NODE { pub Event : KSIDENTIFIER , pub NodeId : u32 , pub Reserved : u32 } impl KSE_NODE { } impl :: std :: cmp :: PartialEq for KSE_NODE { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSE_NODE { } unsafe impl :: windows :: Abi for KSE_NODE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSE_PIN { pub Event : KSIDENTIFIER , pub PinId : u32 , pub Reserved : u32 } impl KSE_PIN { } impl :: std :: cmp :: PartialEq for KSE_PIN { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSE_PIN { } unsafe impl :: windows :: Abi for KSE_PIN { type Abi = Self ; type DefaultType = Self ; } pub const KSFILTER_FLAG_CRITICAL_PROCESSING : u32 = 2u32 ; pub const KSFILTER_FLAG_DENY_USERMODE_ACCESS : u32 = 2147483648u32 ; pub const KSFILTER_FLAG_DISPATCH_LEVEL_PROCESSING : u32 = 1u32 ; pub const KSFILTER_FLAG_HYPERCRITICAL_PROCESSING : u32 = 4u32 ; pub const KSFILTER_FLAG_PRIORITIZE_REFERENCEGUID : u32 = 16u32 ; pub const KSFILTER_FLAG_RECEIVE_ZERO_LENGTH_SAMPLES : u32 = 8u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSFRAMETIME { pub Duration : i64 , pub FrameFlags : u32 , pub Reserved : u32 } impl KSFRAMETIME { } impl :: std :: default :: Default for KSFRAMETIME { fn default ( ) -> Self { Self { Duration : 0 , FrameFlags : 0 , Reserved : 0 } } } impl :: std :: fmt :: Debug for KSFRAMETIME { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSFRAMETIME" ) . field ( "Duration" , & self . Duration ) . field ( "FrameFlags" , & self . FrameFlags ) . field ( "Reserved" , & self . Reserved ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSFRAMETIME { fn eq ( & self , other : & Self ) -> bool { self . Duration == other . Duration && self . FrameFlags == other . FrameFlags && self . Reserved == other . Reserved } } impl :: std :: cmp :: Eq for KSFRAMETIME { } unsafe impl :: windows :: Abi for KSFRAMETIME { type Abi = Self ; type DefaultType = Self ; } pub const KSFRAMETIME_VARIABLESIZE : u32 = 1u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSGOP_USERDATA { pub sc : u32 , pub reserved1 : u32 , pub cFields : u8 , pub l21Data : [ super::super::super::System::SystemServices:: CHAR ;3 ] } impl KSGOP_USERDATA { } impl :: std :: default :: Default for KSGOP_USERDATA { fn default ( ) -> Self { Self { sc : 0 , reserved1 : 0 , cFields : 0 , l21Data : [ :: std :: default :: Default :: default ( ) ;3 ] } } } impl :: std :: fmt :: Debug for KSGOP_USERDATA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSGOP_USERDATA" ) . field ( "sc" , & self . sc ) . field ( "reserved1" , & self . reserved1 ) . field ( "cFields" , & self . cFields ) . field ( "l21Data" , & self . l21Data ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSGOP_USERDATA { fn eq ( & self , other : & Self ) -> bool { self . sc == other . sc && self . reserved1 == other . reserved1 && self . cFields == other . cFields && self . l21Data == other . l21Data } } impl :: std :: cmp :: Eq for KSGOP_USERDATA { } unsafe impl :: windows :: Abi for KSGOP_USERDATA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSIDENTIFIER { pub Anonymous : KSIDENTIFIER_0 } impl KSIDENTIFIER { } impl :: std :: cmp :: PartialEq for KSIDENTIFIER { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSIDENTIFIER { } unsafe impl :: windows :: Abi for KSIDENTIFIER { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union KSIDENTIFIER_0 { pub Anonymous : KSIDENTIFIER_0_0 , pub Alignment : i64 } impl KSIDENTIFIER_0 { } impl :: std :: cmp :: PartialEq for KSIDENTIFIER_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSIDENTIFIER_0 { } unsafe impl :: windows :: Abi for KSIDENTIFIER_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSIDENTIFIER_0_0 { pub Set : :: windows :: Guid , pub Id : u32 , pub Flags : u32 } impl KSIDENTIFIER_0_0 { } impl :: std :: default :: Default for KSIDENTIFIER_0_0 { fn default ( ) -> Self { Self { Set : :: std :: default :: Default :: default ( ) , Id : 0 , Flags : 0 } } } impl :: std :: fmt :: Debug for KSIDENTIFIER_0_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Anonymous_e__Struct" ) . field ( "Set" , & self . Set ) . field ( "Id" , & self . Id ) . field ( "Flags" , & self . Flags ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSIDENTIFIER_0_0 { fn eq ( & self , other : & Self ) -> bool { self . Set == other . Set && self . Id == other . Id && self . Flags == other . Flags } } impl :: std :: cmp :: Eq for KSIDENTIFIER_0_0 { } unsafe impl :: windows :: Abi for KSIDENTIFIER_0_0 { type Abi = Self ; type DefaultType = Self ; } pub const KSINTERFACESETID_FileIo : :: windows :: Guid = :: windows :: Guid :: from_values ( 2356122412 ,59249 ,4560 , [ 184 ,255 ,0 ,160 ,201 ,34 ,49 ,150 ] , ) ; pub const KSINTERFACESETID_Media : :: windows :: Guid = :: windows :: Guid :: from_values ( 974383936 ,12455 ,4560 , [ 165 ,214 ,40 ,219 ,4 ,193 ,0 ,0 ] , ) ; pub const KSINTERFACESETID_Standard : :: windows :: Guid = :: windows :: Guid :: from_values ( 445081248 ,25294 ,4559 , [ 165 ,214 ,40 ,219 ,4 ,193 ,0 ,0 ] , ) ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct KSINTERFACE_FILEIO ( pub i32 ) ; pub const KSINTERFACE_FILEIO_STREAMING : KSINTERFACE_FILEIO = KSINTERFACE_FILEIO ( 0i32 ) ; impl :: std :: convert :: From < i32 > for KSINTERFACE_FILEIO { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSINTERFACE_FILEIO { 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 KSINTERFACE_MEDIA ( pub i32 ) ; pub const KSINTERFACE_MEDIA_MUSIC : KSINTERFACE_MEDIA = KSINTERFACE_MEDIA ( 0i32 ) ; pub const KSINTERFACE_MEDIA_WAVE_BUFFERED : KSINTERFACE_MEDIA = KSINTERFACE_MEDIA ( 1i32 ) ; pub const KSINTERFACE_MEDIA_WAVE_QUEUED : KSINTERFACE_MEDIA = KSINTERFACE_MEDIA ( 2i32 ) ; impl :: std :: convert :: From < i32 > for KSINTERFACE_MEDIA { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSINTERFACE_MEDIA { 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 KSINTERFACE_STANDARD ( pub i32 ) ; pub const KSINTERFACE_STANDARD_STREAMING : KSINTERFACE_STANDARD = KSINTERFACE_STANDARD ( 0i32 ) ; pub const KSINTERFACE_STANDARD_LOOPED_STREAMING : KSINTERFACE_STANDARD = KSINTERFACE_STANDARD ( 1i32 ) ; pub const KSINTERFACE_STANDARD_CONTROL : KSINTERFACE_STANDARD = KSINTERFACE_STANDARD ( 2i32 ) ; impl :: std :: convert :: From < i32 > for KSINTERFACE_STANDARD { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSINTERFACE_STANDARD { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSINTERVAL { pub TimeBase : i64 , pub Interval : i64 } impl KSINTERVAL { } impl :: std :: default :: Default for KSINTERVAL { fn default ( ) -> Self { Self { TimeBase : 0 , Interval : 0 } } } impl :: std :: fmt :: Debug for KSINTERVAL { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSINTERVAL" ) . field ( "TimeBase" , & self . TimeBase ) . field ( "Interval" , & self . Interval ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSINTERVAL { fn eq ( & self , other : & Self ) -> bool { self . TimeBase == other . TimeBase && self . Interval == other . Interval } } impl :: std :: cmp :: Eq for KSINTERVAL { } unsafe impl :: windows :: Abi for KSINTERVAL { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSJACK_DESCRIPTION { pub ChannelMapping : u32 , pub Color : u32 , pub ConnectionType : EPcxConnectionType , pub GeoLocation : EPcxGeoLocation , pub GenLocation : EPcxGenLocation , pub PortConnection : EPxcPortConnection , pub IsConnected : super::super::super::Foundation:: BOOL } impl KSJACK_DESCRIPTION { } impl :: std :: default :: Default for KSJACK_DESCRIPTION { fn default ( ) -> Self { Self { ChannelMapping : 0 , Color : 0 , ConnectionType : :: std :: default :: Default :: default ( ) , GeoLocation : :: std :: default :: Default :: default ( ) , GenLocation : :: std :: default :: Default :: default ( ) , PortConnection : :: std :: default :: Default :: default ( ) , IsConnected : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for KSJACK_DESCRIPTION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSJACK_DESCRIPTION" ) . field ( "ChannelMapping" , & self . ChannelMapping ) . field ( "Color" , & self . Color ) . field ( "ConnectionType" , & self . ConnectionType ) . field ( "GeoLocation" , & self . GeoLocation ) . field ( "GenLocation" , & self . GenLocation ) . field ( "PortConnection" , & self . PortConnection ) . field ( "IsConnected" , & self . IsConnected ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSJACK_DESCRIPTION { fn eq ( & self , other : & Self ) -> bool { self . ChannelMapping == other . ChannelMapping && self . Color == other . Color && self . ConnectionType == other . ConnectionType && self . GeoLocation == other . GeoLocation && self . GenLocation == other . GenLocation && self . PortConnection == other . PortConnection && self . IsConnected == other . IsConnected } } impl :: std :: cmp :: Eq for KSJACK_DESCRIPTION { } unsafe impl :: windows :: Abi for KSJACK_DESCRIPTION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSJACK_DESCRIPTION2 { pub DeviceStateInfo : u32 , pub JackCapabilities : u32 } impl KSJACK_DESCRIPTION2 { } impl :: std :: default :: Default for KSJACK_DESCRIPTION2 { fn default ( ) -> Self { Self { DeviceStateInfo : 0 , JackCapabilities : 0 } } } impl :: std :: fmt :: Debug for KSJACK_DESCRIPTION2 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSJACK_DESCRIPTION2" ) . field ( "DeviceStateInfo" , & self . DeviceStateInfo ) . field ( "JackCapabilities" , & self . JackCapabilities ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSJACK_DESCRIPTION2 { fn eq ( & self , other : & Self ) -> bool { self . DeviceStateInfo == other . DeviceStateInfo && self . JackCapabilities == other . JackCapabilities } } impl :: std :: cmp :: Eq for KSJACK_DESCRIPTION2 { } unsafe impl :: windows :: Abi for KSJACK_DESCRIPTION2 { 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 KSJACK_SINK_CONNECTIONTYPE ( pub i32 ) ; pub const KSJACK_SINK_CONNECTIONTYPE_HDMI : KSJACK_SINK_CONNECTIONTYPE = KSJACK_SINK_CONNECTIONTYPE ( 0i32 ) ; pub const KSJACK_SINK_CONNECTIONTYPE_DISPLAYPORT : KSJACK_SINK_CONNECTIONTYPE = KSJACK_SINK_CONNECTIONTYPE ( 1i32 ) ; impl :: std :: convert :: From < i32 > for KSJACK_SINK_CONNECTIONTYPE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSJACK_SINK_CONNECTIONTYPE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSJACK_SINK_INFORMATION { pub ConnType : KSJACK_SINK_CONNECTIONTYPE , pub ManufacturerId : u16 , pub ProductId : u16 , pub AudioLatency : u16 , pub HDCPCapable : super::super::super::Foundation:: BOOL , pub AICapable : super::super::super::Foundation:: BOOL , pub SinkDescriptionLength : u8 , pub SinkDescription : [ u16 ;32 ] , pub PortId : super::super::super::System::SystemServices:: LUID } impl KSJACK_SINK_INFORMATION { } impl :: std :: default :: Default for KSJACK_SINK_INFORMATION { fn default ( ) -> Self { Self { ConnType : :: std :: default :: Default :: default ( ) , ManufacturerId : 0 , ProductId : 0 , AudioLatency : 0 , HDCPCapable : :: std :: default :: Default :: default ( ) , AICapable : :: std :: default :: Default :: default ( ) , SinkDescriptionLength : 0 , SinkDescription : [ 0 ;32 ] , PortId : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for KSJACK_SINK_INFORMATION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSJACK_SINK_INFORMATION" ) . field ( "ConnType" , & self . ConnType ) . field ( "ManufacturerId" , & self . ManufacturerId ) . field ( "ProductId" , & self . ProductId ) . field ( "AudioLatency" , & self . AudioLatency ) . field ( "HDCPCapable" , & self . HDCPCapable ) . field ( "AICapable" , & self . AICapable ) . field ( "SinkDescriptionLength" , & self . SinkDescriptionLength ) . field ( "SinkDescription" , & self . SinkDescription ) . field ( "PortId" , & self . PortId ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSJACK_SINK_INFORMATION { fn eq ( & self , other : & Self ) -> bool { self . ConnType == other . ConnType && self . ManufacturerId == other . ManufacturerId && self . ProductId == other . ProductId && self . AudioLatency == other . AudioLatency && self . HDCPCapable == other . HDCPCapable && self . AICapable == other . AICapable && self . SinkDescriptionLength == other . SinkDescriptionLength && self . SinkDescription == other . SinkDescription && self . PortId == other . PortId } } impl :: std :: cmp :: Eq for KSJACK_SINK_INFORMATION { } unsafe impl :: windows :: Abi for KSJACK_SINK_INFORMATION { type Abi = Self ; type DefaultType = Self ; } pub const KSMEDIUMSETID_MidiBus : :: windows :: Guid = :: windows :: Guid :: from_values ( 93356096 ,12870 ,4560 , [ 165 ,214 ,40 ,219 ,4 ,193 ,0 ,0 ] , ) ; pub const KSMEDIUMSETID_Standard : :: windows :: Guid = :: windows :: Guid :: from_values ( 1195881248 ,25294 ,4559 , [ 165 ,214 ,40 ,219 ,4 ,193 ,0 ,0 ] , ) ; pub const KSMEDIUMSETID_VPBus : :: windows :: Guid = :: windows :: Guid :: from_values ( 2710312428 ,52803 ,4560 , [ 171 ,231 ,0 ,160 ,201 ,34 ,49 ,150 ] , ) ; pub const KSMEDIUM_TYPE_ANYINSTANCE : u32 = 0u32 ; pub const KSMEMORY_TYPE_DEVICE_UNKNOWN : :: windows :: Guid = :: windows :: Guid :: from_values ( 152811065 ,24639 ,4561 , [ 176 ,103 ,0 ,160 ,201 ,6 ,40 ,2 ] , ) ; pub const KSMEMORY_TYPE_KERNEL_NONPAGED : :: windows :: Guid = :: windows :: Guid :: from_values ( 1248681924 ,30869 ,4561 , [ 176 ,105 ,0 ,160 ,201 ,6 ,40 ,2 ] , ) ; pub const KSMEMORY_TYPE_KERNEL_PAGED : :: windows :: Guid = :: windows :: Guid :: from_values ( 3627284728 ,30868 ,4561 , [ 176 ,105 ,0 ,160 ,201 ,6 ,40 ,2 ] , ) ; pub const KSMEMORY_TYPE_SYSTEM : :: windows :: Guid = :: windows :: Guid :: from_values ( 152811064 ,24639 ,4561 , [ 176 ,103 ,0 ,160 ,201 ,6 ,40 ,2 ] , ) ; pub const KSMEMORY_TYPE_USER : :: windows :: Guid = :: windows :: Guid :: from_values ( 2360409128 ,30867 ,4561 , [ 176 ,105 ,0 ,160 ,201 ,6 ,40 ,2 ] , ) ; pub const KSMETHODSETID_StreamAllocator : :: windows :: Guid = :: windows :: Guid :: from_values ( 3480109889 ,60551 ,4559 , [ 161 ,48 ,0 ,32 ,175 ,209 ,86 ,228 ] , ) ; pub const KSMETHODSETID_StreamIo : :: windows :: Guid = :: windows :: Guid :: from_values ( 1708131274 ,5411 ,4562 , [ 178 ,122 ,0 ,160 ,201 ,34 ,49 ,150 ] , ) ; pub const KSMETHODSETID_Wavetable : :: windows :: Guid = :: windows :: Guid :: from_values ( 3706663403 ,55559 ,4560 , [ 149 ,131 ,0 ,192 ,79 ,185 ,37 ,211 ] , ) ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct KSMETHOD_STREAMALLOCATOR ( pub i32 ) ; pub const KSMETHOD_STREAMALLOCATOR_ALLOC : KSMETHOD_STREAMALLOCATOR = KSMETHOD_STREAMALLOCATOR ( 0i32 ) ; pub const KSMETHOD_STREAMALLOCATOR_FREE : KSMETHOD_STREAMALLOCATOR = KSMETHOD_STREAMALLOCATOR ( 1i32 ) ; impl :: std :: convert :: From < i32 > for KSMETHOD_STREAMALLOCATOR { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSMETHOD_STREAMALLOCATOR { 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 KSMETHOD_STREAMIO ( pub i32 ) ; pub const KSMETHOD_STREAMIO_READ : KSMETHOD_STREAMIO = KSMETHOD_STREAMIO ( 0i32 ) ; pub const KSMETHOD_STREAMIO_WRITE : KSMETHOD_STREAMIO = KSMETHOD_STREAMIO ( 1i32 ) ; impl :: std :: convert :: From < i32 > for KSMETHOD_STREAMIO { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSMETHOD_STREAMIO { type Abi = Self ; type DefaultType = Self ; } pub const KSMETHOD_TYPE_BASICSUPPORT : u32 = 512u32 ; pub const KSMETHOD_TYPE_MODIFY : u32 = 3u32 ; pub const KSMETHOD_TYPE_NONE : u32 = 0u32 ; pub const KSMETHOD_TYPE_READ : u32 = 1u32 ; pub const KSMETHOD_TYPE_SEND : u32 = 1u32 ; pub const KSMETHOD_TYPE_SETSUPPORT : u32 = 256u32 ; pub const KSMETHOD_TYPE_SOURCE : u32 = 4u32 ; pub const KSMETHOD_TYPE_TOPOLOGY : u32 = 268435456u32 ; pub const KSMETHOD_TYPE_WRITE : 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 KSMETHOD_WAVETABLE ( pub i32 ) ; pub const KSMETHOD_WAVETABLE_WAVE_ALLOC : KSMETHOD_WAVETABLE = KSMETHOD_WAVETABLE ( 0i32 ) ; pub const KSMETHOD_WAVETABLE_WAVE_FREE : KSMETHOD_WAVETABLE = KSMETHOD_WAVETABLE ( 1i32 ) ; pub const KSMETHOD_WAVETABLE_WAVE_FIND : KSMETHOD_WAVETABLE = KSMETHOD_WAVETABLE ( 2i32 ) ; pub const KSMETHOD_WAVETABLE_WAVE_WRITE : KSMETHOD_WAVETABLE = KSMETHOD_WAVETABLE ( 3i32 ) ; impl :: std :: convert :: From < i32 > for KSMETHOD_WAVETABLE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSMETHOD_WAVETABLE { type Abi = Self ; type DefaultType = Self ; } pub const KSMETHOD_WAVE_QUEUED_BREAKLOOP : u32 = 1u32 ; pub const KSMFT_CATEGORY_AUDIO_DECODER : :: windows :: Guid = :: windows :: Guid :: from_values ( 2661760948 ,61306 ,17753 , [ 141 ,93 ,113 ,157 ,143 ,4 ,38 ,199 ] , ) ; pub const KSMFT_CATEGORY_AUDIO_EFFECT : :: windows :: Guid = :: windows :: Guid :: from_values ( 285625416 ,13896 ,20176 , [ 147 ,46 ,5 ,206 ,138 ,200 ,17 ,183 ] , ) ; pub const KSMFT_CATEGORY_AUDIO_ENCODER : :: windows :: Guid = :: windows :: Guid :: from_values ( 2445691856 ,63774 ,19852 , [ 146 ,118 ,219 ,36 ,130 ,121 ,217 ,117 ] , ) ; pub const KSMFT_CATEGORY_DEMULTIPLEXER : :: windows :: Guid = :: windows :: Guid :: from_values ( 2825915002 ,37787 ,17605 , [ 153 ,215 ,118 ,34 ,107 ,35 ,179 ,241 ] , ) ; pub const KSMFT_CATEGORY_MULTIPLEXER : :: windows :: Guid = :: windows :: Guid :: from_values ( 94131742 ,1454 ,19297 , [ 182 ,157 ,85 ,182 ,30 ,229 ,74 ,123 ] , ) ; pub const KSMFT_CATEGORY_OTHER : :: windows :: Guid = :: windows :: Guid :: from_values ( 2417450327 ,47082 ,18689 , [ 174 ,179 ,147 ,58 ,135 ,71 ,117 ,111 ] , ) ; pub const KSMFT_CATEGORY_VIDEO_DECODER : :: windows :: Guid = :: windows :: Guid :: from_values ( 3602918731 ,26675 ,17844 , [ 151 ,26 ,5 ,164 ,176 ,75 ,171 ,145 ] , ) ; pub const KSMFT_CATEGORY_VIDEO_EFFECT : :: windows :: Guid = :: windows :: Guid :: from_values ( 316767265 ,21292 ,19054 , [ 138 ,28 ,64 ,130 ,90 ,115 ,99 ,151 ] , ) ; pub const KSMFT_CATEGORY_VIDEO_ENCODER : :: windows :: Guid = :: windows :: Guid :: from_values ( 4154371197 ,58693 ,17287 , [ 189 ,238 ,214 ,71 ,215 ,189 ,228 ,42 ] , ) ; pub const KSMFT_CATEGORY_VIDEO_PROCESSOR : :: windows :: Guid = :: windows :: Guid :: from_values ( 808363004 ,43615 ,18425 , [ 159 ,122 ,194 ,24 ,139 ,177 ,99 ,2 ] , ) ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct KSMICARRAY_MICARRAYTYPE ( pub i32 ) ; pub const KSMICARRAY_MICARRAYTYPE_LINEAR : KSMICARRAY_MICARRAYTYPE = KSMICARRAY_MICARRAYTYPE ( 0i32 ) ; pub const KSMICARRAY_MICARRAYTYPE_PLANAR : KSMICARRAY_MICARRAYTYPE = KSMICARRAY_MICARRAYTYPE ( 1i32 ) ; pub const KSMICARRAY_MICARRAYTYPE_3D : KSMICARRAY_MICARRAYTYPE = KSMICARRAY_MICARRAYTYPE ( 2i32 ) ; impl :: std :: convert :: From < i32 > for KSMICARRAY_MICARRAYTYPE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSMICARRAY_MICARRAYTYPE { 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 KSMICARRAY_MICTYPE ( pub i32 ) ; pub const KSMICARRAY_MICTYPE_OMNIDIRECTIONAL : KSMICARRAY_MICTYPE = KSMICARRAY_MICTYPE ( 0i32 ) ; pub const KSMICARRAY_MICTYPE_SUBCARDIOID : KSMICARRAY_MICTYPE = KSMICARRAY_MICTYPE ( 1i32 ) ; pub const KSMICARRAY_MICTYPE_CARDIOID : KSMICARRAY_MICTYPE = KSMICARRAY_MICTYPE ( 2i32 ) ; pub const KSMICARRAY_MICTYPE_SUPERCARDIOID : KSMICARRAY_MICTYPE = KSMICARRAY_MICTYPE ( 3i32 ) ; pub const KSMICARRAY_MICTYPE_HYPERCARDIOID : KSMICARRAY_MICTYPE = KSMICARRAY_MICTYPE ( 4i32 ) ; pub const KSMICARRAY_MICTYPE_8SHAPED : KSMICARRAY_MICTYPE = KSMICARRAY_MICTYPE ( 5i32 ) ; pub const KSMICARRAY_MICTYPE_VENDORDEFINED : KSMICARRAY_MICTYPE = KSMICARRAY_MICTYPE ( 15i32 ) ; impl :: std :: convert :: From < i32 > for KSMICARRAY_MICTYPE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSMICARRAY_MICTYPE { type Abi = Self ; type DefaultType = Self ; } pub const KSMPEGVIDMODE_LTRBOX : u32 = 2u32 ; pub const KSMPEGVIDMODE_PANSCAN : u32 = 1u32 ; pub const KSMPEGVIDMODE_SCALE : u32 = 4u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSMPEGVID_RECT { pub StartX : u32 , pub StartY : u32 , pub EndX : u32 , pub EndY : u32 } impl KSMPEGVID_RECT { } impl :: std :: default :: Default for KSMPEGVID_RECT { fn default ( ) -> Self { Self { StartX : 0 , StartY : 0 , EndX : 0 , EndY : 0 } } } impl :: std :: fmt :: Debug for KSMPEGVID_RECT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSMPEGVID_RECT" ) . field ( "StartX" , & self . StartX ) . field ( "StartY" , & self . StartY ) . field ( "EndX" , & self . EndX ) . field ( "EndY" , & self . EndY ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSMPEGVID_RECT { fn eq ( & self , other : & Self ) -> bool { self . StartX == other . StartX && self . StartY == other . StartY && self . EndX == other . EndX && self . EndY == other . EndY } } impl :: std :: cmp :: Eq for KSMPEGVID_RECT { } unsafe impl :: windows :: Abi for KSMPEGVID_RECT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSMULTIPLE_DATA_PROP { pub Property : KSIDENTIFIER , pub MultipleItem : KSMULTIPLE_ITEM } impl KSMULTIPLE_DATA_PROP { } impl :: std :: cmp :: PartialEq for KSMULTIPLE_DATA_PROP { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSMULTIPLE_DATA_PROP { } unsafe impl :: windows :: Abi for KSMULTIPLE_DATA_PROP { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSMULTIPLE_ITEM { pub Size : u32 , pub Count : u32 } impl KSMULTIPLE_ITEM { } impl :: std :: default :: Default for KSMULTIPLE_ITEM { fn default ( ) -> Self { Self { Size : 0 , Count : 0 } } } impl :: std :: fmt :: Debug for KSMULTIPLE_ITEM { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSMULTIPLE_ITEM" ) . field ( "Size" , & self . Size ) . field ( "Count" , & self . Count ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSMULTIPLE_ITEM { fn eq ( & self , other : & Self ) -> bool { self . Size == other . Size && self . Count == other . Count } } impl :: std :: cmp :: Eq for KSMULTIPLE_ITEM { } unsafe impl :: windows :: Abi for KSMULTIPLE_ITEM { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSMUSICFORMAT { pub TimeDeltaMs : u32 , pub ByteCount : u32 } impl KSMUSICFORMAT { } impl :: std :: default :: Default for KSMUSICFORMAT { fn default ( ) -> Self { Self { TimeDeltaMs : 0 , ByteCount : 0 } } } impl :: std :: fmt :: Debug for KSMUSICFORMAT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSMUSICFORMAT" ) . field ( "TimeDeltaMs" , & self . TimeDeltaMs ) . field ( "ByteCount" , & self . ByteCount ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSMUSICFORMAT { fn eq ( & self , other : & Self ) -> bool { self . TimeDeltaMs == other . TimeDeltaMs && self . ByteCount == other . ByteCount } } impl :: std :: cmp :: Eq for KSMUSICFORMAT { } unsafe impl :: windows :: Abi for KSMUSICFORMAT { type Abi = Self ; type DefaultType = Self ; } pub const KSMUSIC_TECHNOLOGY_FMSYNTH : :: windows :: Guid = :: windows :: Guid :: from_values ( 623664256 ,25321 ,4559 , [ 165 ,214 ,40 ,219 ,4 ,193 ,0 ,0 ] , ) ; pub const KSMUSIC_TECHNOLOGY_PORT : :: windows :: Guid = :: windows :: Guid :: from_values ( 2261331552 ,25320 ,4559 , [ 165 ,214 ,40 ,219 ,4 ,193 ,0 ,0 ] , ) ; pub const KSMUSIC_TECHNOLOGY_SQSYNTH : :: windows :: Guid = :: windows :: Guid :: from_values ( 248464256 ,25321 ,4559 , [ 165 ,214 ,40 ,219 ,4 ,193 ,0 ,0 ] , ) ; pub const KSMUSIC_TECHNOLOGY_SWSYNTH : :: windows :: Guid = :: windows :: Guid :: from_values ( 926971702 ,13856 ,4561 , [ 133 ,211 ,0 ,0 ,248 ,117 ,67 ,128 ] , ) ; pub const KSMUSIC_TECHNOLOGY_WAVETABLE : :: windows :: Guid = :: windows :: Guid :: from_values ( 961464256 ,25321 ,4559 , [ 165 ,214 ,40 ,219 ,4 ,193 ,0 ,0 ] , ) ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSM_NODE { pub Method : KSIDENTIFIER , pub NodeId : u32 , pub Reserved : u32 } impl KSM_NODE { } impl :: std :: cmp :: PartialEq for KSM_NODE { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSM_NODE { } unsafe impl :: windows :: Abi for KSM_NODE { type Abi = Self ; type DefaultType = Self ; } pub const KSNAME_Allocator : :: windows :: Guid = :: windows :: Guid :: from_values ( 1680825600 ,18321 ,4560 , [ 165 ,214 ,40 ,219 ,4 ,193 ,0 ,0 ] , ) ; pub const KSNAME_Clock : :: windows :: Guid = :: windows :: Guid :: from_values ( 1394025600 ,18321 ,4560 , [ 165 ,214 ,40 ,219 ,4 ,193 ,0 ,0 ] , ) ; pub const KSNAME_Filter : :: windows :: Guid = :: windows :: Guid :: from_values ( 2604030096 ,5727 ,4560 , [ 161 ,149 ,0 ,32 ,175 ,209 ,86 ,228 ] , ) ; pub const KSNAME_Pin : :: windows :: Guid = :: windows :: Guid :: from_values ( 342825600 ,18321 ,4560 , [ 165 ,214 ,40 ,219 ,4 ,193 ,0 ,0 ] , ) ; pub const KSNAME_TopologyNode : :: windows :: Guid = :: windows :: Guid :: from_values ( 102827546 ,61045 ,4560 , [ 185 ,21 ,0 ,160 ,201 ,34 ,49 ,150 ] , ) ; pub const KSNODEPIN_AEC_CAPTURE_IN : u32 = 2u32 ; pub const KSNODEPIN_AEC_CAPTURE_OUT : u32 = 3u32 ; pub const KSNODEPIN_AEC_RENDER_IN : u32 = 1u32 ; pub const KSNODEPIN_AEC_RENDER_OUT : u32 = 0u32 ; pub const KSNODEPIN_DEMUX_IN : u32 = 0u32 ; pub const KSNODEPIN_DEMUX_OUT : u32 = 1u32 ; pub const KSNODEPIN_STANDARD_IN : u32 = 1u32 ; pub const KSNODEPIN_STANDARD_OUT : u32 = 0u32 ; pub const KSNODEPIN_SUM_MUX_IN : u32 = 1u32 ; pub const KSNODEPIN_SUM_MUX_OUT : u32 = 0u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSNODEPROPERTY { pub Property : KSIDENTIFIER , pub NodeId : u32 , pub Reserved : u32 } impl KSNODEPROPERTY { } impl :: std :: cmp :: PartialEq for KSNODEPROPERTY { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSNODEPROPERTY { } unsafe impl :: windows :: Abi for KSNODEPROPERTY { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSNODEPROPERTY_AUDIO_3D_LISTENER { pub NodeProperty : KSNODEPROPERTY , pub ListenerId : * mut :: std :: ffi :: c_void , pub Reserved : u32 } impl KSNODEPROPERTY_AUDIO_3D_LISTENER { } impl :: std :: cmp :: PartialEq for KSNODEPROPERTY_AUDIO_3D_LISTENER { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSNODEPROPERTY_AUDIO_3D_LISTENER { } unsafe impl :: windows :: Abi for KSNODEPROPERTY_AUDIO_3D_LISTENER { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSNODEPROPERTY_AUDIO_CHANNEL { pub NodeProperty : KSNODEPROPERTY , pub Channel : i32 , pub Reserved : u32 } impl KSNODEPROPERTY_AUDIO_CHANNEL { } impl :: std :: cmp :: PartialEq for KSNODEPROPERTY_AUDIO_CHANNEL { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSNODEPROPERTY_AUDIO_CHANNEL { } unsafe impl :: windows :: Abi for KSNODEPROPERTY_AUDIO_CHANNEL { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSNODEPROPERTY_AUDIO_DEV_SPECIFIC { pub NodeProperty : KSNODEPROPERTY , pub DevSpecificId : u32 , pub DeviceInfo : u32 , pub Length : u32 } impl KSNODEPROPERTY_AUDIO_DEV_SPECIFIC { } impl :: std :: cmp :: PartialEq for KSNODEPROPERTY_AUDIO_DEV_SPECIFIC { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSNODEPROPERTY_AUDIO_DEV_SPECIFIC { } unsafe impl :: windows :: Abi for KSNODEPROPERTY_AUDIO_DEV_SPECIFIC { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSNODEPROPERTY_AUDIO_PROPERTY { pub NodeProperty : KSNODEPROPERTY , pub AppContext : * mut :: std :: ffi :: c_void , pub Length : u32 , pub Reserved : u32 } impl KSNODEPROPERTY_AUDIO_PROPERTY { } impl :: std :: cmp :: PartialEq for KSNODEPROPERTY_AUDIO_PROPERTY { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSNODEPROPERTY_AUDIO_PROPERTY { } unsafe impl :: windows :: Abi for KSNODEPROPERTY_AUDIO_PROPERTY { type Abi = Self ; type DefaultType = Self ; } pub const KSNODETYPE_1394_DA_STREAM : :: windows :: Guid = :: windows :: Guid :: from_values ( 3757187046 ,63247 ,4560 , [ 185 ,23 ,0 ,160 ,201 ,34 ,49 ,150 ] , ) ; pub const KSNODETYPE_1394_DV_STREAM_SOUNDTRACK : :: windows :: Guid = :: windows :: Guid :: from_values ( 3757187047 ,63247 ,4560 , [ 185 ,23 ,0 ,160 ,201 ,34 ,49 ,150 ] , ) ; pub const KSNODETYPE_3D_EFFECTS : :: windows :: Guid = :: windows :: Guid :: from_values ( 1431394400 ,50521 ,4560 , [ 138 ,43 ,0 ,160 ,201 ,37 ,90 ,193 ] , ) ; pub const KSNODETYPE_ADC : :: windows :: Guid = :: windows :: Guid :: from_values ( 1300463584 ,50517 ,4560 , [ 138 ,43 ,0 ,160 ,201 ,37 ,90 ,193 ] , ) ; pub const KSNODETYPE_AGC : :: windows :: Guid = :: windows :: Guid :: from_values ( 3901528992 ,50519 ,4560 , [ 138 ,43 ,0 ,160 ,201 ,37 ,90 ,193 ] , ) ; pub const KSNODETYPE_ANALOG_CONNECTOR : :: windows :: Guid = :: windows :: Guid :: from_values ( 3757187041 ,63247 ,4560 , [ 185 ,23 ,0 ,160 ,201 ,34 ,49 ,150 ] , ) ; pub const KSNODETYPE_ANALOG_TAPE : :: windows :: Guid = :: windows :: Guid :: from_values ( 3757187303 ,63247 ,4560 , [ 185 ,23 ,0 ,160 ,201 ,34 ,49 ,150 ] , ) ; pub const KSNODETYPE_AUDIO_ENGINE : :: windows :: Guid = :: windows :: Guid :: from_values ( 902493924 ,62387 ,16744 , [ 187 ,75 ,85 ,231 ,122 ,70 ,28 ,126 ] , ) ; pub const KSNODETYPE_AUDIO_KEYWORDDETECTOR : :: windows :: Guid = :: windows :: Guid :: from_values ( 941088952 ,57176 ,17269 , [ 182 ,105 ,196 ,150 ,52 ,51 ,31 ,157 ] , ) ; pub const KSNODETYPE_AUDIO_LOOPBACK : :: windows :: Guid = :: windows :: Guid :: from_values ( 2403516594 ,37326 ,19407 , [ 156 ,205 ,14 ,89 ,144 ,55 ,171 ,53 ] , ) ; pub const KSNODETYPE_BIDIRECTIONAL_UNDEFINED : :: windows :: Guid = :: windows :: Guid :: from_values ( 3757186528 ,63247 ,4560 , [ 185 ,23 ,0 ,160 ,201 ,34 ,49 ,150 ] , ) ; pub const KSNODETYPE_CABLE_TUNER_AUDIO : :: windows :: Guid = :: windows :: Guid :: from_values ( 3757187310 ,63247 ,4560 , [ 185 ,23 ,0 ,160 ,201 ,34 ,49 ,150 ] , ) ; pub const KSNODETYPE_CD_PLAYER : :: windows :: Guid = :: windows :: Guid :: from_values ( 3757187299 ,63247 ,4560 , [ 185 ,23 ,0 ,160 ,201 ,34 ,49 ,150 ] , ) ; pub const KSNODETYPE_CHORUS : :: windows :: Guid = :: windows :: Guid :: from_values ( 538394400 ,50521 ,4560 , [ 138 ,43 ,0 ,160 ,201 ,37 ,90 ,193 ] , ) ; pub const KSNODETYPE_COMMUNICATION_SPEAKER : :: windows :: Guid = :: windows :: Guid :: from_values ( 3757186278 ,63247 ,4560 , [ 185 ,23 ,0 ,160 ,201 ,34 ,49 ,150 ] , ) ; pub const KSNODETYPE_DAC : :: windows :: Guid = :: windows :: Guid :: from_values ( 1350230880 ,50516 ,4560 , [ 138 ,43 ,0 ,160 ,201 ,37 ,90 ,193 ] , ) ; pub const KSNODETYPE_DAT_IO_DIGITAL_AUDIO_TAPE : :: windows :: Guid = :: windows :: Guid :: from_values ( 3757187300 ,63247 ,4560 , [ 185 ,23 ,0 ,160 ,201 ,34 ,49 ,150 ] , ) ; pub const KSNODETYPE_DCC_IO_DIGITAL_COMPACT_CASSETTE : :: windows :: Guid = :: windows :: Guid :: from_values ( 3757187301 ,63247 ,4560 , [ 185 ,23 ,0 ,160 ,201 ,34 ,49 ,150 ] , ) ; pub const KSNODETYPE_DELAY : :: windows :: Guid = :: windows :: Guid :: from_values ( 340361696 ,50520 ,4560 , [ 138 ,43 ,0 ,160 ,201 ,37 ,90 ,193 ] , ) ; pub const KSNODETYPE_DEMUX : :: windows :: Guid = :: windows :: Guid :: from_values ( 3236653012 ,59399 ,4560 , [ 149 ,138 ,0 ,192 ,79 ,185 ,37 ,211 ] , ) ; pub const KSNODETYPE_DESKTOP_MICROPHONE : :: windows :: Guid = :: windows :: Guid :: from_values ( 3757186018 ,63247 ,4560 , [ 185 ,23 ,0 ,160 ,201 ,34 ,49 ,150 ] , ) ; pub const KSNODETYPE_DESKTOP_SPEAKER : :: windows :: Guid = :: windows :: Guid :: from_values ( 3757186276 ,63247 ,4560 , [ 185 ,23 ,0 ,160 ,201 ,34 ,49 ,150 ] , ) ; pub const KSNODETYPE_DEV_SPECIFIC : :: windows :: Guid = :: windows :: Guid :: from_values ( 2484894400 ,50521 ,4560 , [ 138 ,43 ,0 ,160 ,201 ,37 ,90 ,193 ] , ) ; pub const KSNODETYPE_DIGITAL_AUDIO_INTERFACE : :: windows :: Guid = :: windows :: Guid :: from_values ( 3757187042 ,63247 ,4560 , [ 185 ,23 ,0 ,160 ,201 ,34 ,49 ,150 ] , ) ; pub const KSNODETYPE_DISPLAYPORT_INTERFACE : :: windows :: Guid = :: windows :: Guid :: from_values ( 3833479217 ,16038 ,16781 , [ 143 ,155 ,183 ,56 ,67 ,204 ,186 ,151 ] , ) ; pub const KSNODETYPE_DOWN_LINE_PHONE : :: windows :: Guid = :: windows :: Guid :: from_values ( 3757186787 ,63247 ,4560 , [ 185 ,23 ,0 ,160 ,201 ,34 ,49 ,150 ] , ) ; pub const KSNODETYPE_DRM_DESCRAMBLE : :: windows :: Guid = :: windows :: Guid :: from_values ( 4290473535 ,52478 ,19844 , [ 144 ,217 ,66 ,20 ,24 ,176 ,58 ,142 ] , ) ; pub const KSNODETYPE_DSS_AUDIO : :: windows :: Guid = :: windows :: Guid :: from_values ( 3757187311 ,63247 ,4560 , [ 185 ,23 ,0 ,160 ,201 ,34 ,49 ,150 ] , ) ; pub const KSNODETYPE_DVD_AUDIO : :: windows :: Guid = :: windows :: Guid :: from_values ( 3757187307 ,63247 ,4560 , [ 185 ,23 ,0 ,160 ,201 ,34 ,49 ,150 ] , ) ; pub const KSNODETYPE_DYN_RANGE_COMPRESSOR : :: windows :: Guid = :: windows :: Guid :: from_values ( 147367592 ,24607 ,19192 , [ 135 ,147 ,217 ,5 ,255 ,76 ,169 ,125 ] , ) ; pub const KSNODETYPE_ECHO_CANCELING_SPEAKERPHONE : :: windows :: Guid = :: windows :: Guid :: from_values ( 3757186533 ,63247 ,4560 , [ 185 ,23 ,0 ,160 ,201 ,34 ,49 ,150 ] , ) ; pub const KSNODETYPE_ECHO_SUPPRESSING_SPEAKERPHONE : :: windows :: Guid = :: windows :: Guid :: from_values ( 3757186532 ,63247 ,4560 , [ 185 ,23 ,0 ,160 ,201 ,34 ,49 ,150 ] , ) ; pub const KSNODETYPE_EMBEDDED_UNDEFINED : :: windows :: Guid = :: windows :: Guid :: from_values ( 3757187296 ,63247 ,4560 , [ 185 ,23 ,0 ,160 ,201 ,34 ,49 ,150 ] , ) ; pub const KSNODETYPE_EQUALIZATION_NOISE : :: windows :: Guid = :: windows :: Guid :: from_values ( 3757187298 ,63247 ,4560 , [ 185 ,23 ,0 ,160 ,201 ,34 ,49 ,150 ] , ) ; pub const KSNODETYPE_EQUALIZER : :: windows :: Guid = :: windows :: Guid :: from_values ( 2638328992 ,50519 ,4560 , [ 138 ,43 ,0 ,160 ,201 ,37 ,90 ,193 ] , ) ; pub const KSNODETYPE_EXTERNAL_UNDEFINED : :: windows :: Guid = :: windows :: Guid :: from_values ( 3757187040 ,63247 ,4560 , [ 185 ,23 ,0 ,160 ,201 ,34 ,49 ,150 ] , ) ; pub const KSNODETYPE_FM_RX : :: windows :: Guid = :: windows :: Guid :: from_values ( 2202694460 ,62597 ,16832 , [ 166 ,43 ,81 ,48 ,37 ,1 ,78 ,64 ] , ) ; pub const KSNODETYPE_HANDSET : :: windows :: Guid = :: windows :: Guid :: from_values ( 3757186529 ,63247 ,4560 , [ 185 ,23 ,0 ,160 ,201 ,34 ,49 ,150 ] , ) ; pub const KSNODETYPE_HDMI_INTERFACE : :: windows :: Guid = :: windows :: Guid :: from_values ( 3518614570 ,62745 ,16767 , [ 145 ,201 ,85 ,250 ,101 ,72 ,16 ,1 ] , ) ; pub const KSNODETYPE_HEADPHONES : :: windows :: Guid = :: windows :: Guid :: from_values ( 3757186274 ,63247 ,4560 , [ 185 ,23 ,0 ,160 ,201 ,34 ,49 ,150 ] , ) ; pub const KSNODETYPE_HEADSET : :: windows :: Guid = :: windows :: Guid :: from_values ( 3757186530 ,63247 ,4560 , [ 185 ,23 ,0 ,160 ,201 ,34 ,49 ,150 ] , ) ; pub const KSNODETYPE_HEAD_MOUNTED_DISPLAY_AUDIO : :: windows :: Guid = :: windows :: Guid :: from_values ( 3757186275 ,63247 ,4560 , [ 185 ,23 ,0 ,160 ,201 ,34 ,49 ,150 ] , ) ; pub const KSNODETYPE_INPUT_UNDEFINED : :: windows :: Guid = :: windows :: Guid :: from_values ( 3757186016 ,63247 ,4560 , [ 185 ,23 ,0 ,160 ,201 ,34 ,49 ,150 ] , ) ; pub const KSNODETYPE_LEGACY_AUDIO_CONNECTOR : :: windows :: Guid = :: windows :: Guid :: from_values ( 3757187044 ,63247 ,4560 , [ 185 ,23 ,0 ,160 ,201 ,34 ,49 ,150 ] , ) ; pub const KSNODETYPE_LEVEL_CALIBRATION_NOISE_SOURCE : :: windows :: Guid = :: windows :: Guid :: from_values ( 3757187297 ,63247 ,4560 , [ 185 ,23 ,0 ,160 ,201 ,34 ,49 ,150 ] , ) ; pub const KSNODETYPE_LINE_CONNECTOR : :: windows :: Guid = :: windows :: Guid :: from_values ( 3757187043 ,63247 ,4560 , [ 185 ,23 ,0 ,160 ,201 ,34 ,49 ,150 ] , ) ; pub const KSNODETYPE_LOUDNESS : :: windows :: Guid = :: windows :: Guid :: from_values ( 1099461696 ,50520 ,4560 , [ 138 ,43 ,0 ,160 ,201 ,37 ,90 ,193 ] , ) ; pub const KSNODETYPE_LOW_FREQUENCY_EFFECTS_SPEAKER : :: windows :: Guid = :: windows :: Guid :: from_values ( 3757186279 ,63247 ,4560 , [ 185 ,23 ,0 ,160 ,201 ,34 ,49 ,150 ] , ) ; pub const KSNODETYPE_MICROPHONE : :: windows :: Guid = :: windows :: Guid :: from_values ( 3757186017 ,63247 ,4560 , [ 185 ,23 ,0 ,160 ,201 ,34 ,49 ,150 ] , ) ; pub const KSNODETYPE_MICROPHONE_ARRAY : :: windows :: Guid = :: windows :: Guid :: from_values ( 3757186021 ,63247 ,4560 , [ 185 ,23 ,0 ,160 ,201 ,34 ,49 ,150 ] , ) ; pub const KSNODETYPE_MIDI_ELEMENT : :: windows :: Guid = :: windows :: Guid :: from_values ( 29818470 ,28232 ,19557 , [ 172 ,155 ,82 ,219 ,93 ,101 ,108 ,126 ] , ) ; pub const KSNODETYPE_MIDI_JACK : :: windows :: Guid = :: windows :: Guid :: from_values ( 643697727 ,64057 ,19955 , [ 171 ,4 ,190 ,1 ,185 ,30 ,41 ,154 ] , ) ; pub const KSNODETYPE_MINIDISK : :: windows :: Guid = :: windows :: Guid :: from_values ( 3757187302 ,63247 ,4560 , [ 185 ,23 ,0 ,160 ,201 ,34 ,49 ,150 ] , ) ; pub const KSNODETYPE_MULTITRACK_RECORDER : :: windows :: Guid = :: windows :: Guid :: from_values ( 3757187314 ,63247 ,4560 , [ 185 ,23 ,0 ,160 ,201 ,34 ,49 ,150 ] , ) ; pub const KSNODETYPE_MUTE : :: windows :: Guid = :: windows :: Guid :: from_values ( 45228992 ,50519 ,4560 , [ 138 ,43 ,0 ,160 ,201 ,37 ,90 ,193 ] , ) ; pub const KSNODETYPE_MUX : :: windows :: Guid = :: windows :: Guid :: from_values ( 753596288 ,50518 ,4560 , [ 138 ,43 ,0 ,160 ,201 ,37 ,90 ,193 ] , ) ; pub const KSNODETYPE_NOISE_SUPPRESS : :: windows :: Guid = :: windows :: Guid :: from_values ( 3766456383 ,25341 ,20064 , [ 140 ,221 ,222 ,167 ,35 ,102 ,101 ,181 ] , ) ; pub const KSNODETYPE_OMNI_DIRECTIONAL_MICROPHONE : :: windows :: Guid = :: windows :: Guid :: from_values ( 3757186020 ,63247 ,4560 , [ 185 ,23 ,0 ,160 ,201 ,34 ,49 ,150 ] , ) ; pub const KSNODETYPE_OUTPUT_UNDEFINED : :: windows :: Guid = :: windows :: Guid :: from_values ( 3757186272 ,63247 ,4560 , [ 185 ,23 ,0 ,160 ,201 ,34 ,49 ,150 ] , ) ; pub const KSNODETYPE_PARAMETRIC_EQUALIZER : :: windows :: Guid = :: windows :: Guid :: from_values ( 431700586 ,52779 ,17474 , [ 135 ,236 ,103 ,39 ,195 ,202 ,180 ,119 ] , ) ; pub const KSNODETYPE_PEAKMETER : :: windows :: Guid = :: windows :: Guid :: from_values ( 2693096734 ,24333 ,19254 , [ 168 ,105 ,209 ,149 ,214 ,171 ,75 ,158 ] , ) ; pub const KSNODETYPE_PERSONAL_MICROPHONE : :: windows :: Guid = :: windows :: Guid :: from_values ( 3757186019 ,63247 ,4560 , [ 185 ,23 ,0 ,160 ,201 ,34 ,49 ,150 ] , ) ; pub const KSNODETYPE_PHONE_LINE : :: windows :: Guid = :: windows :: Guid :: from_values ( 3757186785 ,63247 ,4560 , [ 185 ,23 ,0 ,160 ,201 ,34 ,49 ,150 ] , ) ; pub const KSNODETYPE_PHONOGRAPH : :: windows :: Guid = :: windows :: Guid :: from_values ( 3757187304 ,63247 ,4560 , [ 185 ,23 ,0 ,160 ,201 ,34 ,49 ,150 ] , ) ; pub const KSNODETYPE_PROCESSING_MICROPHONE_ARRAY : :: windows :: Guid = :: windows :: Guid :: from_values ( 3757186022 ,63247 ,4560 , [ 185 ,23 ,0 ,160 ,201 ,34 ,49 ,150 ] , ) ; pub const KSNODETYPE_PROLOGIC_DECODER : :: windows :: Guid = :: windows :: Guid :: from_values ( 2199661696 ,50520 ,4560 , [ 138 ,43 ,0 ,160 ,201 ,37 ,90 ,193 ] , ) ; pub const KSNODETYPE_PROLOGIC_ENCODER : :: windows :: Guid = :: windows :: Guid :: from_values ( 2155136434 ,15462 ,4562 , [ 180 ,90 ,48 ,120 ,48 ,44 ,32 ,48 ] , ) ; pub const KSNODETYPE_RADIO_RECEIVER : :: windows :: Guid = :: windows :: Guid :: from_values ( 3757187312 ,63247 ,4560 , [ 185 ,23 ,0 ,160 ,201 ,34 ,49 ,150 ] , ) ; pub const KSNODETYPE_RADIO_TRANSMITTER : :: windows :: Guid = :: windows :: Guid :: from_values ( 3757187313 ,63247 ,4560 , [ 185 ,23 ,0 ,160 ,201 ,34 ,49 ,150 ] , ) ; pub const KSNODETYPE_REVERB : :: windows :: Guid = :: windows :: Guid :: from_values ( 4009961696 ,50520 ,4560 , [ 138 ,43 ,0 ,160 ,201 ,37 ,90 ,193 ] , ) ; pub const KSNODETYPE_ROOM_SPEAKER : :: windows :: Guid = :: windows :: Guid :: from_values ( 3757186277 ,63247 ,4560 , [ 185 ,23 ,0 ,160 ,201 ,34 ,49 ,150 ] , ) ; pub const KSNODETYPE_SATELLITE_RECEIVER_AUDIO : :: windows :: Guid = :: windows :: Guid :: from_values ( 3757187309 ,63247 ,4560 , [ 185 ,23 ,0 ,160 ,201 ,34 ,49 ,150 ] , ) ; pub const KSNODETYPE_SPDIF_INTERFACE : :: windows :: Guid = :: windows :: Guid :: from_values ( 3757187045 ,63247 ,4560 , [ 185 ,23 ,0 ,160 ,201 ,34 ,49 ,150 ] , ) ; pub const KSNODETYPE_SPEAKER : :: windows :: Guid = :: windows :: Guid :: from_values ( 3757186273 ,63247 ,4560 , [ 185 ,23 ,0 ,160 ,201 ,34 ,49 ,150 ] , ) ; pub const KSNODETYPE_SPEAKERPHONE_NO_ECHO_REDUCTION : :: windows :: Guid = :: windows :: Guid :: from_values ( 3757186531 ,63247 ,4560 , [ 185 ,23 ,0 ,160 ,201 ,34 ,49 ,150 ] , ) ; pub const KSNODETYPE_SPEAKERS_STATIC_JACK : :: windows :: Guid = :: windows :: Guid :: from_values ( 685789063 ,19902 ,20365 , [ 133 ,137 ,2 ,93 ,32 ,157 ,251 ,74 ] , ) ; pub const KSNODETYPE_SRC : :: windows :: Guid = :: windows :: Guid :: from_values ( 2646063584 ,50517 ,4560 , [ 138 ,43 ,0 ,160 ,201 ,37 ,90 ,193 ] , ) ; pub const KSNODETYPE_STEREO_WIDE : :: windows :: Guid = :: windows :: Guid :: from_values ( 2850461696 ,50520 ,4560 , [ 138 ,43 ,0 ,160 ,201 ,37 ,90 ,193 ] , ) ; pub const KSNODETYPE_SUM : :: windows :: Guid = :: windows :: Guid :: from_values ( 3661896288 ,50518 ,4560 , [ 138 ,43 ,0 ,160 ,201 ,37 ,90 ,193 ] , ) ; pub const KSNODETYPE_SUPERMIX : :: windows :: Guid = :: windows :: Guid :: from_values ( 3849563584 ,50517 ,4560 , [ 138 ,43 ,0 ,160 ,201 ,37 ,90 ,193 ] , ) ; pub const KSNODETYPE_SYNTHESIZER : :: windows :: Guid = :: windows :: Guid :: from_values ( 3757187315 ,63247 ,4560 , [ 185 ,23 ,0 ,160 ,201 ,34 ,49 ,150 ] , ) ; pub const KSNODETYPE_TELEPHONE : :: windows :: Guid = :: windows :: Guid :: from_values ( 3757186786 ,63247 ,4560 , [ 185 ,23 ,0 ,160 ,201 ,34 ,49 ,150 ] , ) ; pub const KSNODETYPE_TELEPHONY_BIDI : :: windows :: Guid = :: windows :: Guid :: from_values ( 1752005824 ,55555 ,16984 , [ 180 ,67 ,58 ,61 ,53 ,128 ,116 ,28 ] , ) ; pub const KSNODETYPE_TELEPHONY_UNDEFINED : :: windows :: Guid = :: windows :: Guid :: from_values ( 3757186784 ,63247 ,4560 , [ 185 ,23 ,0 ,160 ,201 ,34 ,49 ,150 ] , ) ; pub const KSNODETYPE_TONE : :: windows :: Guid = :: windows :: Guid :: from_values ( 1980228992 ,50519 ,4560 , [ 138 ,43 ,0 ,160 ,201 ,37 ,90 ,193 ] , ) ; pub const KSNODETYPE_TV_TUNER_AUDIO : :: windows :: Guid = :: windows :: Guid :: from_values ( 3757187308 ,63247 ,4560 , [ 185 ,23 ,0 ,160 ,201 ,34 ,49 ,150 ] , ) ; pub const KSNODETYPE_UPDOWN_MIX : :: windows :: Guid = :: windows :: Guid :: from_values ( 3085813199 ,31587 ,20194 , [ 161 ,0 ,41 ,238 ,44 ,182 ,178 ,222 ] , ) ; pub const KSNODETYPE_VCR_AUDIO : :: windows :: Guid = :: windows :: Guid :: from_values ( 3757187305 ,63247 ,4560 , [ 185 ,23 ,0 ,160 ,201 ,34 ,49 ,150 ] , ) ; pub const KSNODETYPE_VIDEO_CAMERA_TERMINAL : :: windows :: Guid = :: windows :: Guid :: from_values ( 3757189606 ,63247 ,4560 , [ 185 ,23 ,0 ,160 ,201 ,34 ,49 ,150 ] , ) ; pub const KSNODETYPE_VIDEO_DISC_AUDIO : :: windows :: Guid = :: windows :: Guid :: from_values ( 3757187306 ,63247 ,4560 , [ 185 ,23 ,0 ,160 ,201 ,34 ,49 ,150 ] , ) ; pub const KSNODETYPE_VIDEO_INPUT_MTT : :: windows :: Guid = :: windows :: Guid :: from_values ( 3757189607 ,63247 ,4560 , [ 185 ,23 ,0 ,160 ,201 ,34 ,49 ,150 ] , ) ; pub const KSNODETYPE_VIDEO_INPUT_TERMINAL : :: windows :: Guid = :: windows :: Guid :: from_values ( 3757189602 ,63247 ,4560 , [ 185 ,23 ,0 ,160 ,201 ,34 ,49 ,150 ] , ) ; pub const KSNODETYPE_VIDEO_OUTPUT_MTT : :: windows :: Guid = :: windows :: Guid :: from_values ( 3757189608 ,63247 ,4560 , [ 185 ,23 ,0 ,160 ,201 ,34 ,49 ,150 ] , ) ; pub const KSNODETYPE_VIDEO_OUTPUT_TERMINAL : :: windows :: Guid = :: windows :: Guid :: from_values ( 3757189603 ,63247 ,4560 , [ 185 ,23 ,0 ,160 ,201 ,34 ,49 ,150 ] , ) ; pub const KSNODETYPE_VIDEO_PROCESSING : :: windows :: Guid = :: windows :: Guid :: from_values ( 3757189605 ,63247 ,4560 , [ 185 ,23 ,0 ,160 ,201 ,34 ,49 ,150 ] , ) ; pub const KSNODETYPE_VIDEO_SELECTOR : :: windows :: Guid = :: windows :: Guid :: from_values ( 3757189604 ,63247 ,4560 , [ 185 ,23 ,0 ,160 ,201 ,34 ,49 ,150 ] , ) ; pub const KSNODETYPE_VIDEO_STREAMING : :: windows :: Guid = :: windows :: Guid :: from_values ( 3757189601 ,63247 ,4560 , [ 185 ,23 ,0 ,160 ,201 ,34 ,49 ,150 ] , ) ; pub const KSNODETYPE_VOLUME : :: windows :: Guid = :: windows :: Guid :: from_values ( 979028992 ,50519 ,4560 , [ 138 ,43 ,0 ,160 ,201 ,37 ,90 ,193 ] , ) ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSNODE_CREATE { pub CreateFlags : u32 , pub Node : u32 } impl KSNODE_CREATE { } impl :: std :: default :: Default for KSNODE_CREATE { fn default ( ) -> Self { Self { CreateFlags : 0 , Node : 0 } } } impl :: std :: fmt :: Debug for KSNODE_CREATE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSNODE_CREATE" ) . field ( "CreateFlags" , & self . CreateFlags ) . field ( "Node" , & self . Node ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSNODE_CREATE { fn eq ( & self , other : & Self ) -> bool { self . CreateFlags == other . CreateFlags && self . Node == other . Node } } impl :: std :: cmp :: Eq for KSNODE_CREATE { } unsafe impl :: windows :: Abi for KSNODE_CREATE { type Abi = Self ; type DefaultType = Self ; } pub const KSNOTIFICATIONID_AudioModule : :: windows :: Guid = :: windows :: Guid :: from_values ( 2619482352 ,55718 ,19804 , [ 160 ,54 ,87 ,56 ,87 ,253 ,80 ,210 ] , ) ; pub const KSNOTIFICATIONID_SoundDetector : :: windows :: Guid = :: windows :: Guid :: from_values ( 1669978180 ,47922 ,19532 , [ 168 ,2 ,244 ,180 ,183 ,122 ,254 ,173 ] , ) ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSPIN_CINSTANCES { pub PossibleCount : u32 , pub CurrentCount : u32 } impl KSPIN_CINSTANCES { } impl :: std :: default :: Default for KSPIN_CINSTANCES { fn default ( ) -> Self { Self { PossibleCount : 0 , CurrentCount : 0 } } } impl :: std :: fmt :: Debug for KSPIN_CINSTANCES { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSPIN_CINSTANCES" ) . field ( "PossibleCount" , & self . PossibleCount ) . field ( "CurrentCount" , & self . CurrentCount ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSPIN_CINSTANCES { fn eq ( & self , other : & Self ) -> bool { self . PossibleCount == other . PossibleCount && self . CurrentCount == other . CurrentCount } } impl :: std :: cmp :: Eq for KSPIN_CINSTANCES { } unsafe impl :: windows :: Abi for KSPIN_CINSTANCES { 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 KSPIN_COMMUNICATION ( pub i32 ) ; pub const KSPIN_COMMUNICATION_NONE : KSPIN_COMMUNICATION = KSPIN_COMMUNICATION ( 0i32 ) ; pub const KSPIN_COMMUNICATION_SINK : KSPIN_COMMUNICATION = KSPIN_COMMUNICATION ( 1i32 ) ; pub const KSPIN_COMMUNICATION_SOURCE : KSPIN_COMMUNICATION = KSPIN_COMMUNICATION ( 2i32 ) ; pub const KSPIN_COMMUNICATION_BOTH : KSPIN_COMMUNICATION = KSPIN_COMMUNICATION ( 3i32 ) ; pub const KSPIN_COMMUNICATION_BRIDGE : KSPIN_COMMUNICATION = KSPIN_COMMUNICATION ( 4i32 ) ; impl :: std :: convert :: From < i32 > for KSPIN_COMMUNICATION { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSPIN_COMMUNICATION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSPIN_CONNECT { pub Interface : KSIDENTIFIER , pub Medium : KSIDENTIFIER , pub PinId : u32 , pub PinToHandle : super::super::super::Foundation:: HANDLE , pub Priority : KSPRIORITY } impl KSPIN_CONNECT { } impl :: std :: cmp :: PartialEq for KSPIN_CONNECT { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSPIN_CONNECT { } unsafe impl :: windows :: Abi for KSPIN_CONNECT { 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 KSPIN_DATAFLOW ( pub i32 ) ; pub const KSPIN_DATAFLOW_IN : KSPIN_DATAFLOW = KSPIN_DATAFLOW ( 1i32 ) ; pub const KSPIN_DATAFLOW_OUT : KSPIN_DATAFLOW = KSPIN_DATAFLOW ( 2i32 ) ; impl :: std :: convert :: From < i32 > for KSPIN_DATAFLOW { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSPIN_DATAFLOW { type Abi = Self ; type DefaultType = Self ; } pub const KSPIN_FLAG_ASYNCHRONOUS_PROCESSING : u32 = 8u32 ; pub const KSPIN_FLAG_DENY_USERMODE_ACCESS : u32 = 2147483648u32 ; pub const KSPIN_FLAG_DISTINCT_TRAILING_EDGE : u32 = 512u32 ; pub const KSPIN_FLAG_DO_NOT_INITIATE_PROCESSING : u32 = 16u32 ; pub const KSPIN_FLAG_DO_NOT_USE_STANDARD_TRANSPORT : u32 = 524288u32 ; pub const KSPIN_FLAG_ENFORCE_FIFO : u32 = 128u32 ; pub const KSPIN_FLAG_FIXED_FORMAT : u32 = 1048576u32 ; pub const KSPIN_FLAG_FRAMES_NOT_REQUIRED_FOR_PROCESSING : u32 = 64u32 ; pub const KSPIN_FLAG_GENERATE_EOS_EVENTS : u32 = 2097152u32 ; pub const KSPIN_FLAG_GENERATE_MAPPINGS : u32 = 256u32 ; pub const KSPIN_FLAG_IMPLEMENT_CLOCK : u32 = 4194304u32 ; pub const KSPIN_FLAG_INITIATE_PROCESSING_ON_EVERY_ARRIVAL : u32 = 32u32 ; pub const KSPIN_FLAG_PROCESS_IF_ANY_IN_RUN_STATE : u32 = 16777216u32 ; pub const KSPIN_FLAG_PROCESS_IN_RUN_STATE_ONLY : u32 = 65536u32 ; pub const KSPIN_FLAG_SOME_FRAMES_REQUIRED_FOR_PROCESSING : u32 = 8388608u32 ; pub const KSPIN_FLAG_SPLITTER : u32 = 131072u32 ; pub const KSPIN_FLAG_USE_STANDARD_TRANSPORT : 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 KSPIN_MDL_CACHING_EVENT ( pub i32 ) ; pub const KSPIN_MDL_CACHING_NOTIFY_CLEANUP : KSPIN_MDL_CACHING_EVENT = KSPIN_MDL_CACHING_EVENT ( 0i32 ) ; pub const KSPIN_MDL_CACHING_NOTIFY_CLEANALL_WAIT : KSPIN_MDL_CACHING_EVENT = KSPIN_MDL_CACHING_EVENT ( 1i32 ) ; pub const KSPIN_MDL_CACHING_NOTIFY_CLEANALL_NOWAIT : KSPIN_MDL_CACHING_EVENT = KSPIN_MDL_CACHING_EVENT ( 2i32 ) ; pub const KSPIN_MDL_CACHING_NOTIFY_ADDSAMPLE : KSPIN_MDL_CACHING_EVENT = KSPIN_MDL_CACHING_EVENT ( 3i32 ) ; impl :: std :: convert :: From < i32 > for KSPIN_MDL_CACHING_EVENT { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSPIN_MDL_CACHING_EVENT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSPIN_MDL_CACHING_NOTIFICATION { pub Event : KSPIN_MDL_CACHING_EVENT , pub Buffer : * mut :: std :: ffi :: c_void } impl KSPIN_MDL_CACHING_NOTIFICATION { } impl :: std :: default :: Default for KSPIN_MDL_CACHING_NOTIFICATION { fn default ( ) -> Self { Self { Event : :: std :: default :: Default :: default ( ) , Buffer : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for KSPIN_MDL_CACHING_NOTIFICATION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSPIN_MDL_CACHING_NOTIFICATION" ) . field ( "Event" , & self . Event ) . field ( "Buffer" , & self . Buffer ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSPIN_MDL_CACHING_NOTIFICATION { fn eq ( & self , other : & Self ) -> bool { self . Event == other . Event && self . Buffer == other . Buffer } } impl :: std :: cmp :: Eq for KSPIN_MDL_CACHING_NOTIFICATION { } unsafe impl :: windows :: Abi for KSPIN_MDL_CACHING_NOTIFICATION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSPIN_MDL_CACHING_NOTIFICATION32 { pub Event : KSPIN_MDL_CACHING_EVENT , pub Buffer : u32 } impl KSPIN_MDL_CACHING_NOTIFICATION32 { } impl :: std :: default :: Default for KSPIN_MDL_CACHING_NOTIFICATION32 { fn default ( ) -> Self { Self { Event : :: std :: default :: Default :: default ( ) , Buffer : 0 } } } impl :: std :: fmt :: Debug for KSPIN_MDL_CACHING_NOTIFICATION32 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSPIN_MDL_CACHING_NOTIFICATION32" ) . field ( "Event" , & self . Event ) . field ( "Buffer" , & self . Buffer ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSPIN_MDL_CACHING_NOTIFICATION32 { fn eq ( & self , other : & Self ) -> bool { self . Event == other . Event && self . Buffer == other . Buffer } } impl :: std :: cmp :: Eq for KSPIN_MDL_CACHING_NOTIFICATION32 { } unsafe impl :: windows :: Abi for KSPIN_MDL_CACHING_NOTIFICATION32 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSPIN_PHYSICALCONNECTION { pub Size : u32 , pub Pin : u32 , pub SymbolicLinkName : [ u16 ;1 ] } impl KSPIN_PHYSICALCONNECTION { } impl :: std :: default :: Default for KSPIN_PHYSICALCONNECTION { fn default ( ) -> Self { Self { Size : 0 , Pin : 0 , SymbolicLinkName : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for KSPIN_PHYSICALCONNECTION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSPIN_PHYSICALCONNECTION" ) . field ( "Size" , & self . Size ) . field ( "Pin" , & self . Pin ) . field ( "SymbolicLinkName" , & self . SymbolicLinkName ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSPIN_PHYSICALCONNECTION { fn eq ( & self , other : & Self ) -> bool { self . Size == other . Size && self . Pin == other . Pin && self . SymbolicLinkName == other . SymbolicLinkName } } impl :: std :: cmp :: Eq for KSPIN_PHYSICALCONNECTION { } unsafe impl :: windows :: Abi for KSPIN_PHYSICALCONNECTION { 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 KSPPROPERTY_ALLOCATOR_MDLCACHING ( pub i32 ) ; pub const KSPROPERTY_ALLOCATOR_CLEANUP_CACHEDMDLPAGES : KSPPROPERTY_ALLOCATOR_MDLCACHING = KSPPROPERTY_ALLOCATOR_MDLCACHING ( 1i32 ) ; impl :: std :: convert :: From < i32 > for KSPPROPERTY_ALLOCATOR_MDLCACHING { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSPPROPERTY_ALLOCATOR_MDLCACHING { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSPRIORITY { pub PriorityClass : u32 , pub PrioritySubClass : u32 } impl KSPRIORITY { } impl :: std :: default :: Default for KSPRIORITY { fn default ( ) -> Self { Self { PriorityClass : 0 , PrioritySubClass : 0 } } } impl :: std :: fmt :: Debug for KSPRIORITY { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSPRIORITY" ) . field ( "PriorityClass" , & self . PriorityClass ) . field ( "PrioritySubClass" , & self . PrioritySubClass ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSPRIORITY { fn eq ( & self , other : & Self ) -> bool { self . PriorityClass == other . PriorityClass && self . PrioritySubClass == other . PrioritySubClass } } impl :: std :: cmp :: Eq for KSPRIORITY { } unsafe impl :: windows :: Abi for KSPRIORITY { type Abi = Self ; type DefaultType = Self ; } pub const KSPRIORITY_EXCLUSIVE : u32 = 4294967295u32 ; pub const KSPRIORITY_HIGH : u32 = 2147483648u32 ; pub const KSPRIORITY_LOW : u32 = 1u32 ; pub const KSPRIORITY_NORMAL : u32 = 1073741824u32 ; pub const KSPROBE_ALLOCATEMDL : u32 = 16u32 ; pub const KSPROBE_ALLOWFORMATCHANGE : u32 = 128u32 ; pub const KSPROBE_MODIFY : u32 = 512u32 ; pub const KSPROBE_PROBEANDLOCK : u32 = 32u32 ; pub const KSPROBE_STREAMREAD : u32 = 0u32 ; pub const KSPROBE_STREAMWRITE : u32 = 1u32 ; pub const KSPROBE_SYSTEMADDRESS : u32 = 64u32 ; pub const KSPROPERTYSETID_ExtendedCameraControl : :: windows :: Guid = :: windows :: Guid :: from_values ( 481792274 ,49362 ,16915 , [ 156 ,166 ,205 ,79 ,219 ,146 ,121 ,114 ] , ) ; pub const KSPROPERTYSETID_NetworkCameraControl : :: windows :: Guid = :: windows :: Guid :: from_values ( 242749193 ,22341 ,20026 , [ 188 ,159 ,242 ,38 ,234 ,67 ,166 ,236 ] , ) ; pub const KSPROPERTYSETID_PerFrameSettingControl : :: windows :: Guid = :: windows :: Guid :: from_values ( 4059292257 ,57062 ,17719 , [ 191 ,245 ,238 ,32 ,109 ,181 ,74 ,172 ] , ) ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct KSPROPERTY_AC3 ( pub i32 ) ; pub const KSPROPERTY_AC3_ERROR_CONCEALMENT : KSPROPERTY_AC3 = KSPROPERTY_AC3 ( 1i32 ) ; pub const KSPROPERTY_AC3_ALTERNATE_AUDIO : KSPROPERTY_AC3 = KSPROPERTY_AC3 ( 2i32 ) ; pub const KSPROPERTY_AC3_DOWNMIX : KSPROPERTY_AC3 = KSPROPERTY_AC3 ( 3i32 ) ; pub const KSPROPERTY_AC3_BIT_STREAM_MODE : KSPROPERTY_AC3 = KSPROPERTY_AC3 ( 4i32 ) ; pub const KSPROPERTY_AC3_DIALOGUE_LEVEL : KSPROPERTY_AC3 = KSPROPERTY_AC3 ( 5i32 ) ; pub const KSPROPERTY_AC3_LANGUAGE_CODE : KSPROPERTY_AC3 = KSPROPERTY_AC3 ( 6i32 ) ; pub const KSPROPERTY_AC3_ROOM_TYPE : KSPROPERTY_AC3 = KSPROPERTY_AC3 ( 7i32 ) ; impl :: std :: convert :: From < i32 > for KSPROPERTY_AC3 { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSPROPERTY_AC3 { 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 KSPROPERTY_ALLOCATOR_CONTROL ( pub i32 ) ; pub const KSPROPERTY_ALLOCATOR_CONTROL_HONOR_COUNT : KSPROPERTY_ALLOCATOR_CONTROL = KSPROPERTY_ALLOCATOR_CONTROL ( 0i32 ) ; pub const KSPROPERTY_ALLOCATOR_CONTROL_SURFACE_SIZE : KSPROPERTY_ALLOCATOR_CONTROL = KSPROPERTY_ALLOCATOR_CONTROL ( 1i32 ) ; pub const KSPROPERTY_ALLOCATOR_CONTROL_CAPTURE_CAPS : KSPROPERTY_ALLOCATOR_CONTROL = KSPROPERTY_ALLOCATOR_CONTROL ( 2i32 ) ; pub const KSPROPERTY_ALLOCATOR_CONTROL_CAPTURE_INTERLEAVE : KSPROPERTY_ALLOCATOR_CONTROL = KSPROPERTY_ALLOCATOR_CONTROL ( 3i32 ) ; impl :: std :: convert :: From < i32 > for KSPROPERTY_ALLOCATOR_CONTROL { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSPROPERTY_ALLOCATOR_CONTROL { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSPROPERTY_ALLOCATOR_CONTROL_CAPTURE_CAPS_S { pub InterleavedCapSupported : u32 } impl KSPROPERTY_ALLOCATOR_CONTROL_CAPTURE_CAPS_S { } impl :: std :: default :: Default for KSPROPERTY_ALLOCATOR_CONTROL_CAPTURE_CAPS_S { fn default ( ) -> Self { Self { InterleavedCapSupported : 0 } } } impl :: std :: fmt :: Debug for KSPROPERTY_ALLOCATOR_CONTROL_CAPTURE_CAPS_S { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSPROPERTY_ALLOCATOR_CONTROL_CAPTURE_CAPS_S" ) . field ( "InterleavedCapSupported" , & self . InterleavedCapSupported ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSPROPERTY_ALLOCATOR_CONTROL_CAPTURE_CAPS_S { fn eq ( & self , other : & Self ) -> bool { self . InterleavedCapSupported == other . InterleavedCapSupported } } impl :: std :: cmp :: Eq for KSPROPERTY_ALLOCATOR_CONTROL_CAPTURE_CAPS_S { } unsafe impl :: windows :: Abi for KSPROPERTY_ALLOCATOR_CONTROL_CAPTURE_CAPS_S { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSPROPERTY_ALLOCATOR_CONTROL_CAPTURE_INTERLEAVE_S { pub InterleavedCapPossible : u32 } impl KSPROPERTY_ALLOCATOR_CONTROL_CAPTURE_INTERLEAVE_S { } impl :: std :: default :: Default for KSPROPERTY_ALLOCATOR_CONTROL_CAPTURE_INTERLEAVE_S { fn default ( ) -> Self { Self { InterleavedCapPossible : 0 } } } impl :: std :: fmt :: Debug for KSPROPERTY_ALLOCATOR_CONTROL_CAPTURE_INTERLEAVE_S { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSPROPERTY_ALLOCATOR_CONTROL_CAPTURE_INTERLEAVE_S" ) . field ( "InterleavedCapPossible" , & self . InterleavedCapPossible ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSPROPERTY_ALLOCATOR_CONTROL_CAPTURE_INTERLEAVE_S { fn eq ( & self , other : & Self ) -> bool { self . InterleavedCapPossible == other . InterleavedCapPossible } } impl :: std :: cmp :: Eq for KSPROPERTY_ALLOCATOR_CONTROL_CAPTURE_INTERLEAVE_S { } unsafe impl :: windows :: Abi for KSPROPERTY_ALLOCATOR_CONTROL_CAPTURE_INTERLEAVE_S { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSPROPERTY_ALLOCATOR_CONTROL_SURFACE_SIZE_S { pub CX : u32 , pub CY : u32 } impl KSPROPERTY_ALLOCATOR_CONTROL_SURFACE_SIZE_S { } impl :: std :: default :: Default for KSPROPERTY_ALLOCATOR_CONTROL_SURFACE_SIZE_S { fn default ( ) -> Self { Self { CX : 0 , CY : 0 } } } impl :: std :: fmt :: Debug for KSPROPERTY_ALLOCATOR_CONTROL_SURFACE_SIZE_S { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSPROPERTY_ALLOCATOR_CONTROL_SURFACE_SIZE_S" ) . field ( "CX" , & self . CX ) . field ( "CY" , & self . CY ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSPROPERTY_ALLOCATOR_CONTROL_SURFACE_SIZE_S { fn eq ( & self , other : & Self ) -> bool { self . CX == other . CX && self . CY == other . CY } } impl :: std :: cmp :: Eq for KSPROPERTY_ALLOCATOR_CONTROL_SURFACE_SIZE_S { } unsafe impl :: windows :: Abi for KSPROPERTY_ALLOCATOR_CONTROL_SURFACE_SIZE_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 KSPROPERTY_AUDDECOUT ( pub i32 ) ; pub const KSPROPERTY_AUDDECOUT_MODES : KSPROPERTY_AUDDECOUT = KSPROPERTY_AUDDECOUT ( 0i32 ) ; pub const KSPROPERTY_AUDDECOUT_CUR_MODE : KSPROPERTY_AUDDECOUT = KSPROPERTY_AUDDECOUT ( 1i32 ) ; impl :: std :: convert :: From < i32 > for KSPROPERTY_AUDDECOUT { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSPROPERTY_AUDDECOUT { 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 KSPROPERTY_AUDIO ( pub i32 ) ; pub const KSPROPERTY_AUDIO_LATENCY : KSPROPERTY_AUDIO = KSPROPERTY_AUDIO ( 1i32 ) ; pub const KSPROPERTY_AUDIO_COPY_PROTECTION : KSPROPERTY_AUDIO = KSPROPERTY_AUDIO ( 2i32 ) ; pub const KSPROPERTY_AUDIO_CHANNEL_CONFIG : KSPROPERTY_AUDIO = KSPROPERTY_AUDIO ( 3i32 ) ; pub const KSPROPERTY_AUDIO_VOLUMELEVEL : KSPROPERTY_AUDIO = KSPROPERTY_AUDIO ( 4i32 ) ; pub const KSPROPERTY_AUDIO_POSITION : KSPROPERTY_AUDIO = KSPROPERTY_AUDIO ( 5i32 ) ; pub const KSPROPERTY_AUDIO_DYNAMIC_RANGE : KSPROPERTY_AUDIO = KSPROPERTY_AUDIO ( 6i32 ) ; pub const KSPROPERTY_AUDIO_QUALITY : KSPROPERTY_AUDIO = KSPROPERTY_AUDIO ( 7i32 ) ; pub const KSPROPERTY_AUDIO_SAMPLING_RATE : KSPROPERTY_AUDIO = KSPROPERTY_AUDIO ( 8i32 ) ; pub const KSPROPERTY_AUDIO_DYNAMIC_SAMPLING_RATE : KSPROPERTY_AUDIO = KSPROPERTY_AUDIO ( 9i32 ) ; pub const KSPROPERTY_AUDIO_MIX_LEVEL_TABLE : KSPROPERTY_AUDIO = KSPROPERTY_AUDIO ( 10i32 ) ; pub const KSPROPERTY_AUDIO_MIX_LEVEL_CAPS : KSPROPERTY_AUDIO = KSPROPERTY_AUDIO ( 11i32 ) ; pub const KSPROPERTY_AUDIO_MUX_SOURCE : KSPROPERTY_AUDIO = KSPROPERTY_AUDIO ( 12i32 ) ; pub const KSPROPERTY_AUDIO_MUTE : KSPROPERTY_AUDIO = KSPROPERTY_AUDIO ( 13i32 ) ; pub const KSPROPERTY_AUDIO_BASS : KSPROPERTY_AUDIO = KSPROPERTY_AUDIO ( 14i32 ) ; pub const KSPROPERTY_AUDIO_MID : KSPROPERTY_AUDIO = KSPROPERTY_AUDIO ( 15i32 ) ; pub const KSPROPERTY_AUDIO_TREBLE : KSPROPERTY_AUDIO = KSPROPERTY_AUDIO ( 16i32 ) ; pub const KSPROPERTY_AUDIO_BASS_BOOST : KSPROPERTY_AUDIO = KSPROPERTY_AUDIO ( 17i32 ) ; pub const KSPROPERTY_AUDIO_EQ_LEVEL : KSPROPERTY_AUDIO = KSPROPERTY_AUDIO ( 18i32 ) ; pub const KSPROPERTY_AUDIO_NUM_EQ_BANDS : KSPROPERTY_AUDIO = KSPROPERTY_AUDIO ( 19i32 ) ; pub const KSPROPERTY_AUDIO_EQ_BANDS : KSPROPERTY_AUDIO = KSPROPERTY_AUDIO ( 20i32 ) ; pub const KSPROPERTY_AUDIO_AGC : KSPROPERTY_AUDIO = KSPROPERTY_AUDIO ( 21i32 ) ; pub const KSPROPERTY_AUDIO_DELAY : KSPROPERTY_AUDIO = KSPROPERTY_AUDIO ( 22i32 ) ; pub const KSPROPERTY_AUDIO_LOUDNESS : KSPROPERTY_AUDIO = KSPROPERTY_AUDIO ( 23i32 ) ; pub const KSPROPERTY_AUDIO_WIDE_MODE : KSPROPERTY_AUDIO = KSPROPERTY_AUDIO ( 24i32 ) ; pub const KSPROPERTY_AUDIO_WIDENESS : KSPROPERTY_AUDIO = KSPROPERTY_AUDIO ( 25i32 ) ; pub const KSPROPERTY_AUDIO_REVERB_LEVEL : KSPROPERTY_AUDIO = KSPROPERTY_AUDIO ( 26i32 ) ; pub const KSPROPERTY_AUDIO_CHORUS_LEVEL : KSPROPERTY_AUDIO = KSPROPERTY_AUDIO ( 27i32 ) ; pub const KSPROPERTY_AUDIO_DEV_SPECIFIC : KSPROPERTY_AUDIO = KSPROPERTY_AUDIO ( 28i32 ) ; pub const KSPROPERTY_AUDIO_DEMUX_DEST : KSPROPERTY_AUDIO = KSPROPERTY_AUDIO ( 29i32 ) ; pub const KSPROPERTY_AUDIO_STEREO_ENHANCE : KSPROPERTY_AUDIO = KSPROPERTY_AUDIO ( 30i32 ) ; pub const KSPROPERTY_AUDIO_MANUFACTURE_GUID : KSPROPERTY_AUDIO = KSPROPERTY_AUDIO ( 31i32 ) ; pub const KSPROPERTY_AUDIO_PRODUCT_GUID : KSPROPERTY_AUDIO = KSPROPERTY_AUDIO ( 32i32 ) ; pub const KSPROPERTY_AUDIO_CPU_RESOURCES : KSPROPERTY_AUDIO = KSPROPERTY_AUDIO ( 33i32 ) ; pub const KSPROPERTY_AUDIO_STEREO_SPEAKER_GEOMETRY : KSPROPERTY_AUDIO = KSPROPERTY_AUDIO ( 34i32 ) ; pub const KSPROPERTY_AUDIO_SURROUND_ENCODE : KSPROPERTY_AUDIO = KSPROPERTY_AUDIO ( 35i32 ) ; pub const KSPROPERTY_AUDIO_3D_INTERFACE : KSPROPERTY_AUDIO = KSPROPERTY_AUDIO ( 36i32 ) ; pub const KSPROPERTY_AUDIO_PEAKMETER : KSPROPERTY_AUDIO = KSPROPERTY_AUDIO ( 37i32 ) ; pub const KSPROPERTY_AUDIO_ALGORITHM_INSTANCE : KSPROPERTY_AUDIO = KSPROPERTY_AUDIO ( 38i32 ) ; pub const KSPROPERTY_AUDIO_FILTER_STATE : KSPROPERTY_AUDIO = KSPROPERTY_AUDIO ( 39i32 ) ; pub const KSPROPERTY_AUDIO_PREFERRED_STATUS : KSPROPERTY_AUDIO = KSPROPERTY_AUDIO ( 40i32 ) ; pub const KSPROPERTY_AUDIO_PEQ_MAX_BANDS : KSPROPERTY_AUDIO = KSPROPERTY_AUDIO ( 41i32 ) ; pub const KSPROPERTY_AUDIO_PEQ_NUM_BANDS : KSPROPERTY_AUDIO = KSPROPERTY_AUDIO ( 42i32 ) ; pub const KSPROPERTY_AUDIO_PEQ_BAND_CENTER_FREQ : KSPROPERTY_AUDIO = KSPROPERTY_AUDIO ( 43i32 ) ; pub const KSPROPERTY_AUDIO_PEQ_BAND_Q_FACTOR : KSPROPERTY_AUDIO = KSPROPERTY_AUDIO ( 44i32 ) ; pub const KSPROPERTY_AUDIO_PEQ_BAND_LEVEL : KSPROPERTY_AUDIO = KSPROPERTY_AUDIO ( 45i32 ) ; pub const KSPROPERTY_AUDIO_CHORUS_MODULATION_RATE : KSPROPERTY_AUDIO = KSPROPERTY_AUDIO ( 46i32 ) ; pub const KSPROPERTY_AUDIO_CHORUS_MODULATION_DEPTH : KSPROPERTY_AUDIO = KSPROPERTY_AUDIO ( 47i32 ) ; pub const KSPROPERTY_AUDIO_REVERB_TIME : KSPROPERTY_AUDIO = KSPROPERTY_AUDIO ( 48i32 ) ; pub const KSPROPERTY_AUDIO_REVERB_DELAY_FEEDBACK : KSPROPERTY_AUDIO = KSPROPERTY_AUDIO ( 49i32 ) ; pub const KSPROPERTY_AUDIO_POSITIONEX : KSPROPERTY_AUDIO = KSPROPERTY_AUDIO ( 50i32 ) ; pub const KSPROPERTY_AUDIO_MIC_ARRAY_GEOMETRY : KSPROPERTY_AUDIO = KSPROPERTY_AUDIO ( 51i32 ) ; pub const KSPROPERTY_AUDIO_PRESENTATION_POSITION : KSPROPERTY_AUDIO = KSPROPERTY_AUDIO ( 52i32 ) ; pub const KSPROPERTY_AUDIO_WAVERT_CURRENT_WRITE_POSITION : KSPROPERTY_AUDIO = KSPROPERTY_AUDIO ( 53i32 ) ; pub const KSPROPERTY_AUDIO_LINEAR_BUFFER_POSITION : KSPROPERTY_AUDIO = KSPROPERTY_AUDIO ( 54i32 ) ; pub const KSPROPERTY_AUDIO_PEAKMETER2 : KSPROPERTY_AUDIO = KSPROPERTY_AUDIO ( 55i32 ) ; pub const KSPROPERTY_AUDIO_WAVERT_CURRENT_WRITE_LASTBUFFER_POSITION : KSPROPERTY_AUDIO = KSPROPERTY_AUDIO ( 56i32 ) ; pub const KSPROPERTY_AUDIO_VOLUMELIMIT_ENGAGED : KSPROPERTY_AUDIO = KSPROPERTY_AUDIO ( 57i32 ) ; pub const KSPROPERTY_AUDIO_MIC_SENSITIVITY : KSPROPERTY_AUDIO = KSPROPERTY_AUDIO ( 58i32 ) ; pub const KSPROPERTY_AUDIO_MIC_SNR : KSPROPERTY_AUDIO = KSPROPERTY_AUDIO ( 59i32 ) ; pub const KSPROPERTY_AUDIO_MIC_SENSITIVITY2 : KSPROPERTY_AUDIO = KSPROPERTY_AUDIO ( 60i32 ) ; impl :: std :: convert :: From < i32 > for KSPROPERTY_AUDIO { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSPROPERTY_AUDIO { 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 KSPROPERTY_AUDIOENGINE ( pub i32 ) ; pub const KSPROPERTY_AUDIOENGINE_LFXENABLE : KSPROPERTY_AUDIOENGINE = KSPROPERTY_AUDIOENGINE ( 0i32 ) ; pub const KSPROPERTY_AUDIOENGINE_GFXENABLE : KSPROPERTY_AUDIOENGINE = KSPROPERTY_AUDIOENGINE ( 1i32 ) ; pub const KSPROPERTY_AUDIOENGINE_MIXFORMAT : KSPROPERTY_AUDIOENGINE = KSPROPERTY_AUDIOENGINE ( 2i32 ) ; pub const KSPROPERTY_AUDIOENGINE_DEVICEFORMAT : KSPROPERTY_AUDIOENGINE = KSPROPERTY_AUDIOENGINE ( 4i32 ) ; pub const KSPROPERTY_AUDIOENGINE_SUPPORTEDDEVICEFORMATS : KSPROPERTY_AUDIOENGINE = KSPROPERTY_AUDIOENGINE ( 5i32 ) ; pub const KSPROPERTY_AUDIOENGINE_DESCRIPTOR : KSPROPERTY_AUDIOENGINE = KSPROPERTY_AUDIOENGINE ( 6i32 ) ; pub const KSPROPERTY_AUDIOENGINE_BUFFER_SIZE_RANGE : KSPROPERTY_AUDIOENGINE = KSPROPERTY_AUDIOENGINE ( 7i32 ) ; pub const KSPROPERTY_AUDIOENGINE_LOOPBACK_PROTECTION : KSPROPERTY_AUDIOENGINE = KSPROPERTY_AUDIOENGINE ( 8i32 ) ; pub const KSPROPERTY_AUDIOENGINE_VOLUMELEVEL : KSPROPERTY_AUDIOENGINE = KSPROPERTY_AUDIOENGINE ( 9i32 ) ; impl :: std :: convert :: From < i32 > for KSPROPERTY_AUDIOENGINE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSPROPERTY_AUDIOENGINE { 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 KSPROPERTY_AUDIOMODULE ( pub i32 ) ; pub const KSPROPERTY_AUDIOMODULE_DESCRIPTORS : KSPROPERTY_AUDIOMODULE = KSPROPERTY_AUDIOMODULE ( 1i32 ) ; pub const KSPROPERTY_AUDIOMODULE_COMMAND : KSPROPERTY_AUDIOMODULE = KSPROPERTY_AUDIOMODULE ( 2i32 ) ; pub const KSPROPERTY_AUDIOMODULE_NOTIFICATION_DEVICE_ID : KSPROPERTY_AUDIOMODULE = KSPROPERTY_AUDIOMODULE ( 3i32 ) ; impl :: std :: convert :: From < i32 > for KSPROPERTY_AUDIOMODULE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSPROPERTY_AUDIOMODULE { 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 KSPROPERTY_AUDIOPOSTURE ( pub i32 ) ; pub const KSPROPERTY_AUDIOPOSTURE_DESCRIPTION : KSPROPERTY_AUDIOPOSTURE = KSPROPERTY_AUDIOPOSTURE ( 1i32 ) ; impl :: std :: convert :: From < i32 > for KSPROPERTY_AUDIOPOSTURE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSPROPERTY_AUDIOPOSTURE { 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 KSPROPERTY_AUDIOSIGNALPROCESSING ( pub i32 ) ; pub const KSPROPERTY_AUDIOSIGNALPROCESSING_MODES : KSPROPERTY_AUDIOSIGNALPROCESSING = KSPROPERTY_AUDIOSIGNALPROCESSING ( 0i32 ) ; impl :: std :: convert :: From < i32 > for KSPROPERTY_AUDIOSIGNALPROCESSING { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSPROPERTY_AUDIOSIGNALPROCESSING { type Abi = Self ; type DefaultType = Self ; } pub const KSPROPERTY_AUDIO_BUFFER_DURATION : 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 KSPROPERTY_BIBLIOGRAPHIC ( pub i32 ) ; pub const KSPROPERTY_BIBLIOGRAPHIC_LEADER : KSPROPERTY_BIBLIOGRAPHIC = KSPROPERTY_BIBLIOGRAPHIC ( 1380207648i32 ) ; pub const KSPROPERTY_BIBLIOGRAPHIC_LCCN : KSPROPERTY_BIBLIOGRAPHIC = KSPROPERTY_BIBLIOGRAPHIC ( 808529952i32 ) ; pub const KSPROPERTY_BIBLIOGRAPHIC_ISBN : KSPROPERTY_BIBLIOGRAPHIC = KSPROPERTY_BIBLIOGRAPHIC ( 808595488i32 ) ; pub const KSPROPERTY_BIBLIOGRAPHIC_ISSN : KSPROPERTY_BIBLIOGRAPHIC = KSPROPERTY_BIBLIOGRAPHIC ( 842149920i32 ) ; pub const KSPROPERTY_BIBLIOGRAPHIC_CATALOGINGSOURCE : KSPROPERTY_BIBLIOGRAPHIC = KSPROPERTY_BIBLIOGRAPHIC ( 808726560i32 ) ; pub const KSPROPERTY_BIBLIOGRAPHIC_MAINPERSONALNAME : KSPROPERTY_BIBLIOGRAPHIC = KSPROPERTY_BIBLIOGRAPHIC ( 808464672i32 ) ; pub const KSPROPERTY_BIBLIOGRAPHIC_MAINCORPORATEBODY : KSPROPERTY_BIBLIOGRAPHIC = KSPROPERTY_BIBLIOGRAPHIC ( 808530208i32 ) ; pub const KSPROPERTY_BIBLIOGRAPHIC_MAINMEETINGNAME : KSPROPERTY_BIBLIOGRAPHIC = KSPROPERTY_BIBLIOGRAPHIC ( 825307424i32 ) ; pub const KSPROPERTY_BIBLIOGRAPHIC_MAINUNIFORMTITLE : KSPROPERTY_BIBLIOGRAPHIC = KSPROPERTY_BIBLIOGRAPHIC ( 808661280i32 ) ; pub const KSPROPERTY_BIBLIOGRAPHIC_UNIFORMTITLE : KSPROPERTY_BIBLIOGRAPHIC = KSPROPERTY_BIBLIOGRAPHIC ( 808727072i32 ) ; pub const KSPROPERTY_BIBLIOGRAPHIC_TITLESTATEMENT : KSPROPERTY_BIBLIOGRAPHIC = KSPROPERTY_BIBLIOGRAPHIC ( 892613152i32 ) ; pub const KSPROPERTY_BIBLIOGRAPHIC_VARYINGFORMTITLE : KSPROPERTY_BIBLIOGRAPHIC = KSPROPERTY_BIBLIOGRAPHIC ( 909390368i32 ) ; pub const KSPROPERTY_BIBLIOGRAPHIC_PUBLICATION : KSPROPERTY_BIBLIOGRAPHIC = KSPROPERTY_BIBLIOGRAPHIC ( 808858144i32 ) ; pub const KSPROPERTY_BIBLIOGRAPHIC_PHYSICALDESCRIPTION : KSPROPERTY_BIBLIOGRAPHIC = KSPROPERTY_BIBLIOGRAPHIC ( 808465184i32 ) ; pub const KSPROPERTY_BIBLIOGRAPHIC_ADDEDENTRYTITLE : KSPROPERTY_BIBLIOGRAPHIC = KSPROPERTY_BIBLIOGRAPHIC ( 808727584i32 ) ; pub const KSPROPERTY_BIBLIOGRAPHIC_SERIESSTATEMENT : KSPROPERTY_BIBLIOGRAPHIC = KSPROPERTY_BIBLIOGRAPHIC ( 809055264i32 ) ; pub const KSPROPERTY_BIBLIOGRAPHIC_GENERALNOTE : KSPROPERTY_BIBLIOGRAPHIC = KSPROPERTY_BIBLIOGRAPHIC ( 808465696i32 ) ; pub const KSPROPERTY_BIBLIOGRAPHIC_BIBLIOGRAPHYNOTE : KSPROPERTY_BIBLIOGRAPHIC = KSPROPERTY_BIBLIOGRAPHIC ( 875574560i32 ) ; pub const KSPROPERTY_BIBLIOGRAPHIC_CONTENTSNOTE : KSPROPERTY_BIBLIOGRAPHIC = KSPROPERTY_BIBLIOGRAPHIC ( 892351776i32 ) ; pub const KSPROPERTY_BIBLIOGRAPHIC_CREATIONCREDIT : KSPROPERTY_BIBLIOGRAPHIC = KSPROPERTY_BIBLIOGRAPHIC ( 942683424i32 ) ; pub const KSPROPERTY_BIBLIOGRAPHIC_CITATION : KSPROPERTY_BIBLIOGRAPHIC = KSPROPERTY_BIBLIOGRAPHIC ( 808531232i32 ) ; pub const KSPROPERTY_BIBLIOGRAPHIC_PARTICIPANT : KSPROPERTY_BIBLIOGRAPHIC = KSPROPERTY_BIBLIOGRAPHIC ( 825308448i32 ) ; pub const KSPROPERTY_BIBLIOGRAPHIC_SUMMARY : KSPROPERTY_BIBLIOGRAPHIC = KSPROPERTY_BIBLIOGRAPHIC ( 808596768i32 ) ; pub const KSPROPERTY_BIBLIOGRAPHIC_TARGETAUDIENCE : KSPROPERTY_BIBLIOGRAPHIC = KSPROPERTY_BIBLIOGRAPHIC ( 825373984i32 ) ; pub const KSPROPERTY_BIBLIOGRAPHIC_ADDEDFORMAVAILABLE : KSPROPERTY_BIBLIOGRAPHIC = KSPROPERTY_BIBLIOGRAPHIC ( 808662304i32 ) ; pub const KSPROPERTY_BIBLIOGRAPHIC_SYSTEMDETAILS : KSPROPERTY_BIBLIOGRAPHIC = KSPROPERTY_BIBLIOGRAPHIC ( 942880032i32 ) ; pub const KSPROPERTY_BIBLIOGRAPHIC_AWARDS : KSPROPERTY_BIBLIOGRAPHIC = KSPROPERTY_BIBLIOGRAPHIC ( 909653280i32 ) ; pub const KSPROPERTY_BIBLIOGRAPHIC_ADDEDENTRYPERSONALNAME : KSPROPERTY_BIBLIOGRAPHIC = KSPROPERTY_BIBLIOGRAPHIC ( 808465952i32 ) ; pub const KSPROPERTY_BIBLIOGRAPHIC_ADDEDENTRYTOPICALTERM : KSPROPERTY_BIBLIOGRAPHIC = KSPROPERTY_BIBLIOGRAPHIC ( 808793632i32 ) ; pub const KSPROPERTY_BIBLIOGRAPHIC_ADDEDENTRYGEOGRAPHIC : KSPROPERTY_BIBLIOGRAPHIC = KSPROPERTY_BIBLIOGRAPHIC ( 825570848i32 ) ; pub const KSPROPERTY_BIBLIOGRAPHIC_INDEXTERMGENRE : KSPROPERTY_BIBLIOGRAPHIC = KSPROPERTY_BIBLIOGRAPHIC ( 892679712i32 ) ; pub const KSPROPERTY_BIBLIOGRAPHIC_INDEXTERMCURRICULUM : KSPROPERTY_BIBLIOGRAPHIC = KSPROPERTY_BIBLIOGRAPHIC ( 943011360i32 ) ; pub const KSPROPERTY_BIBLIOGRAPHIC_ADDEDENTRYUNIFORMTITLE : KSPROPERTY_BIBLIOGRAPHIC = KSPROPERTY_BIBLIOGRAPHIC ( 808662816i32 ) ; pub const KSPROPERTY_BIBLIOGRAPHIC_ADDEDENTRYRELATED : KSPROPERTY_BIBLIOGRAPHIC = KSPROPERTY_BIBLIOGRAPHIC ( 808728352i32 ) ; pub const KSPROPERTY_BIBLIOGRAPHIC_SERIESSTATEMENTPERSONALNAME : KSPROPERTY_BIBLIOGRAPHIC = KSPROPERTY_BIBLIOGRAPHIC ( 808466464i32 ) ; pub const KSPROPERTY_BIBLIOGRAPHIC_SERIESSTATEMENTUNIFORMTITLE : KSPROPERTY_BIBLIOGRAPHIC = KSPROPERTY_BIBLIOGRAPHIC ( 808663072i32 ) ; impl :: std :: convert :: From < i32 > for KSPROPERTY_BIBLIOGRAPHIC { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSPROPERTY_BIBLIOGRAPHIC { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union KSPROPERTY_BOUNDS_LONG { pub Anonymous1 : KSPROPERTY_BOUNDS_LONG_0 , pub Anonymous2 : KSPROPERTY_BOUNDS_LONG_1 } impl KSPROPERTY_BOUNDS_LONG { } impl :: std :: cmp :: PartialEq for KSPROPERTY_BOUNDS_LONG { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSPROPERTY_BOUNDS_LONG { } unsafe impl :: windows :: Abi for KSPROPERTY_BOUNDS_LONG { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSPROPERTY_BOUNDS_LONG_0 { pub SignedMinimum : i32 , pub SignedMaximum : i32 } impl KSPROPERTY_BOUNDS_LONG_0 { } impl :: std :: default :: Default for KSPROPERTY_BOUNDS_LONG_0 { fn default ( ) -> Self { Self { SignedMinimum : 0 , SignedMaximum : 0 } } } impl :: std :: fmt :: Debug for KSPROPERTY_BOUNDS_LONG_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Anonymous1_e__Struct" ) . field ( "SignedMinimum" , & self . SignedMinimum ) . field ( "SignedMaximum" , & self . SignedMaximum ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSPROPERTY_BOUNDS_LONG_0 { fn eq ( & self , other : & Self ) -> bool { self . SignedMinimum == other . SignedMinimum && self . SignedMaximum == other . SignedMaximum } } impl :: std :: cmp :: Eq for KSPROPERTY_BOUNDS_LONG_0 { } unsafe impl :: windows :: Abi for KSPROPERTY_BOUNDS_LONG_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSPROPERTY_BOUNDS_LONG_1 { pub UnsignedMinimum : u32 , pub UnsignedMaximum : u32 } impl KSPROPERTY_BOUNDS_LONG_1 { } impl :: std :: default :: Default for KSPROPERTY_BOUNDS_LONG_1 { fn default ( ) -> Self { Self { UnsignedMinimum : 0 , UnsignedMaximum : 0 } } } impl :: std :: fmt :: Debug for KSPROPERTY_BOUNDS_LONG_1 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Anonymous2_e__Struct" ) . field ( "UnsignedMinimum" , & self . UnsignedMinimum ) . field ( "UnsignedMaximum" , & self . UnsignedMaximum ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSPROPERTY_BOUNDS_LONG_1 { fn eq ( & self , other : & Self ) -> bool { self . UnsignedMinimum == other . UnsignedMinimum && self . UnsignedMaximum == other . UnsignedMaximum } } impl :: std :: cmp :: Eq for KSPROPERTY_BOUNDS_LONG_1 { } unsafe impl :: windows :: Abi for KSPROPERTY_BOUNDS_LONG_1 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union KSPROPERTY_BOUNDS_LONGLONG { pub Anonymous1 : KSPROPERTY_BOUNDS_LONGLONG_0 , pub Anonymous2 : KSPROPERTY_BOUNDS_LONGLONG_1 } impl KSPROPERTY_BOUNDS_LONGLONG { } impl :: std :: cmp :: PartialEq for KSPROPERTY_BOUNDS_LONGLONG { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSPROPERTY_BOUNDS_LONGLONG { } unsafe impl :: windows :: Abi for KSPROPERTY_BOUNDS_LONGLONG { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSPROPERTY_BOUNDS_LONGLONG_0 { pub SignedMinimum : i64 , pub SignedMaximum : i64 } impl KSPROPERTY_BOUNDS_LONGLONG_0 { } impl :: std :: default :: Default for KSPROPERTY_BOUNDS_LONGLONG_0 { fn default ( ) -> Self { Self { SignedMinimum : 0 , SignedMaximum : 0 } } } impl :: std :: fmt :: Debug for KSPROPERTY_BOUNDS_LONGLONG_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Anonymous1_e__Struct" ) . field ( "SignedMinimum" , & self . SignedMinimum ) . field ( "SignedMaximum" , & self . SignedMaximum ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSPROPERTY_BOUNDS_LONGLONG_0 { fn eq ( & self , other : & Self ) -> bool { self . SignedMinimum == other . SignedMinimum && self . SignedMaximum == other . SignedMaximum } } impl :: std :: cmp :: Eq for KSPROPERTY_BOUNDS_LONGLONG_0 { } unsafe impl :: windows :: Abi for KSPROPERTY_BOUNDS_LONGLONG_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSPROPERTY_BOUNDS_LONGLONG_1 { pub UnsignedMinimum : u64 , pub UnsignedMaximum : u64 } impl KSPROPERTY_BOUNDS_LONGLONG_1 { } impl :: std :: default :: Default for KSPROPERTY_BOUNDS_LONGLONG_1 { fn default ( ) -> Self { Self { UnsignedMinimum : 0 , UnsignedMaximum : 0 } } } impl :: std :: fmt :: Debug for KSPROPERTY_BOUNDS_LONGLONG_1 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Anonymous2_e__Struct" ) . field ( "UnsignedMinimum" , & self . UnsignedMinimum ) . field ( "UnsignedMaximum" , & self . UnsignedMaximum ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSPROPERTY_BOUNDS_LONGLONG_1 { fn eq ( & self , other : & Self ) -> bool { self . UnsignedMinimum == other . UnsignedMinimum && self . UnsignedMaximum == other . UnsignedMaximum } } impl :: std :: cmp :: Eq for KSPROPERTY_BOUNDS_LONGLONG_1 { } unsafe impl :: windows :: Abi for KSPROPERTY_BOUNDS_LONGLONG_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 KSPROPERTY_BTAUDIO ( pub i32 ) ; pub const KSPROPERTY_ONESHOT_RECONNECT : KSPROPERTY_BTAUDIO = KSPROPERTY_BTAUDIO ( 0i32 ) ; pub const KSPROPERTY_ONESHOT_DISCONNECT : KSPROPERTY_BTAUDIO = KSPROPERTY_BTAUDIO ( 1i32 ) ; impl :: std :: convert :: From < i32 > for KSPROPERTY_BTAUDIO { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSPROPERTY_BTAUDIO { 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 KSPROPERTY_CAMERACONTROL_EXTENDED_PROPERTY ( pub i32 ) ; pub const KSPROPERTY_CAMERACONTROL_EXTENDED_PHOTOMODE : KSPROPERTY_CAMERACONTROL_EXTENDED_PROPERTY = KSPROPERTY_CAMERACONTROL_EXTENDED_PROPERTY ( 0i32 ) ; pub const KSPROPERTY_CAMERACONTROL_EXTENDED_PHOTOFRAMERATE : KSPROPERTY_CAMERACONTROL_EXTENDED_PROPERTY = KSPROPERTY_CAMERACONTROL_EXTENDED_PROPERTY ( 1i32 ) ; pub const KSPROPERTY_CAMERACONTROL_EXTENDED_PHOTOMAXFRAMERATE : KSPROPERTY_CAMERACONTROL_EXTENDED_PROPERTY = KSPROPERTY_CAMERACONTROL_EXTENDED_PROPERTY ( 2i32 ) ; pub const KSPROPERTY_CAMERACONTROL_EXTENDED_PHOTOTRIGGERTIME : KSPROPERTY_CAMERACONTROL_EXTENDED_PROPERTY = KSPROPERTY_CAMERACONTROL_EXTENDED_PROPERTY ( 3i32 ) ; pub const KSPROPERTY_CAMERACONTROL_EXTENDED_WARMSTART : KSPROPERTY_CAMERACONTROL_EXTENDED_PROPERTY = KSPROPERTY_CAMERACONTROL_EXTENDED_PROPERTY ( 4i32 ) ; pub const KSPROPERTY_CAMERACONTROL_EXTENDED_MAXVIDFPS_PHOTORES : KSPROPERTY_CAMERACONTROL_EXTENDED_PROPERTY = KSPROPERTY_CAMERACONTROL_EXTENDED_PROPERTY ( 5i32 ) ; pub const KSPROPERTY_CAMERACONTROL_EXTENDED_PHOTOTHUMBNAIL : KSPROPERTY_CAMERACONTROL_EXTENDED_PROPERTY = KSPROPERTY_CAMERACONTROL_EXTENDED_PROPERTY ( 6i32 ) ; pub const KSPROPERTY_CAMERACONTROL_EXTENDED_SCENEMODE : KSPROPERTY_CAMERACONTROL_EXTENDED_PROPERTY = KSPROPERTY_CAMERACONTROL_EXTENDED_PROPERTY ( 7i32 ) ; pub const KSPROPERTY_CAMERACONTROL_EXTENDED_TORCHMODE : KSPROPERTY_CAMERACONTROL_EXTENDED_PROPERTY = KSPROPERTY_CAMERACONTROL_EXTENDED_PROPERTY ( 8i32 ) ; pub const KSPROPERTY_CAMERACONTROL_EXTENDED_FLASHMODE : KSPROPERTY_CAMERACONTROL_EXTENDED_PROPERTY = KSPROPERTY_CAMERACONTROL_EXTENDED_PROPERTY ( 9i32 ) ; pub const KSPROPERTY_CAMERACONTROL_EXTENDED_OPTIMIZATIONHINT : KSPROPERTY_CAMERACONTROL_EXTENDED_PROPERTY = KSPROPERTY_CAMERACONTROL_EXTENDED_PROPERTY ( 10i32 ) ; pub const KSPROPERTY_CAMERACONTROL_EXTENDED_WHITEBALANCEMODE : KSPROPERTY_CAMERACONTROL_EXTENDED_PROPERTY = KSPROPERTY_CAMERACONTROL_EXTENDED_PROPERTY ( 11i32 ) ; pub const KSPROPERTY_CAMERACONTROL_EXTENDED_EXPOSUREMODE : KSPROPERTY_CAMERACONTROL_EXTENDED_PROPERTY = KSPROPERTY_CAMERACONTROL_EXTENDED_PROPERTY ( 12i32 ) ; pub const KSPROPERTY_CAMERACONTROL_EXTENDED_FOCUSMODE : KSPROPERTY_CAMERACONTROL_EXTENDED_PROPERTY = KSPROPERTY_CAMERACONTROL_EXTENDED_PROPERTY ( 13i32 ) ; pub const KSPROPERTY_CAMERACONTROL_EXTENDED_ISO : KSPROPERTY_CAMERACONTROL_EXTENDED_PROPERTY = KSPROPERTY_CAMERACONTROL_EXTENDED_PROPERTY ( 14i32 ) ; pub const KSPROPERTY_CAMERACONTROL_EXTENDED_FIELDOFVIEW : KSPROPERTY_CAMERACONTROL_EXTENDED_PROPERTY = KSPROPERTY_CAMERACONTROL_EXTENDED_PROPERTY ( 15i32 ) ; pub const KSPROPERTY_CAMERACONTROL_EXTENDED_EVCOMPENSATION : KSPROPERTY_CAMERACONTROL_EXTENDED_PROPERTY = KSPROPERTY_CAMERACONTROL_EXTENDED_PROPERTY ( 16i32 ) ; pub const KSPROPERTY_CAMERACONTROL_EXTENDED_CAMERAANGLEOFFSET : KSPROPERTY_CAMERACONTROL_EXTENDED_PROPERTY = KSPROPERTY_CAMERACONTROL_EXTENDED_PROPERTY ( 17i32 ) ; pub const KSPROPERTY_CAMERACONTROL_EXTENDED_METADATA : KSPROPERTY_CAMERACONTROL_EXTENDED_PROPERTY = KSPROPERTY_CAMERACONTROL_EXTENDED_PROPERTY ( 18i32 ) ; pub const KSPROPERTY_CAMERACONTROL_EXTENDED_FOCUSPRIORITY : KSPROPERTY_CAMERACONTROL_EXTENDED_PROPERTY = KSPROPERTY_CAMERACONTROL_EXTENDED_PROPERTY ( 19i32 ) ; pub const KSPROPERTY_CAMERACONTROL_EXTENDED_FOCUSSTATE : KSPROPERTY_CAMERACONTROL_EXTENDED_PROPERTY = KSPROPERTY_CAMERACONTROL_EXTENDED_PROPERTY ( 20i32 ) ; pub const KSPROPERTY_CAMERACONTROL_EXTENDED_ROI_CONFIGCAPS : KSPROPERTY_CAMERACONTROL_EXTENDED_PROPERTY = KSPROPERTY_CAMERACONTROL_EXTENDED_PROPERTY ( 21i32 ) ; pub const KSPROPERTY_CAMERACONTROL_EXTENDED_ROI_ISPCONTROL : KSPROPERTY_CAMERACONTROL_EXTENDED_PROPERTY = KSPROPERTY_CAMERACONTROL_EXTENDED_PROPERTY ( 22i32 ) ; pub const KSPROPERTY_CAMERACONTROL_EXTENDED_PHOTOCONFIRMATION : KSPROPERTY_CAMERACONTROL_EXTENDED_PROPERTY = KSPROPERTY_CAMERACONTROL_EXTENDED_PROPERTY ( 23i32 ) ; pub const KSPROPERTY_CAMERACONTROL_EXTENDED_ZOOM : KSPROPERTY_CAMERACONTROL_EXTENDED_PROPERTY = KSPROPERTY_CAMERACONTROL_EXTENDED_PROPERTY ( 24i32 ) ; pub const KSPROPERTY_CAMERACONTROL_EXTENDED_MCC : KSPROPERTY_CAMERACONTROL_EXTENDED_PROPERTY = KSPROPERTY_CAMERACONTROL_EXTENDED_PROPERTY ( 25i32 ) ; pub const KSPROPERTY_CAMERACONTROL_EXTENDED_ISO_ADVANCED : KSPROPERTY_CAMERACONTROL_EXTENDED_PROPERTY = KSPROPERTY_CAMERACONTROL_EXTENDED_PROPERTY ( 26i32 ) ; pub const KSPROPERTY_CAMERACONTROL_EXTENDED_VIDEOSTABILIZATION : KSPROPERTY_CAMERACONTROL_EXTENDED_PROPERTY = KSPROPERTY_CAMERACONTROL_EXTENDED_PROPERTY ( 27i32 ) ; pub const KSPROPERTY_CAMERACONTROL_EXTENDED_VFR : KSPROPERTY_CAMERACONTROL_EXTENDED_PROPERTY = KSPROPERTY_CAMERACONTROL_EXTENDED_PROPERTY ( 28i32 ) ; pub const KSPROPERTY_CAMERACONTROL_EXTENDED_FACEDETECTION : KSPROPERTY_CAMERACONTROL_EXTENDED_PROPERTY = KSPROPERTY_CAMERACONTROL_EXTENDED_PROPERTY ( 29i32 ) ; pub const KSPROPERTY_CAMERACONTROL_EXTENDED_VIDEOHDR : KSPROPERTY_CAMERACONTROL_EXTENDED_PROPERTY = KSPROPERTY_CAMERACONTROL_EXTENDED_PROPERTY ( 30i32 ) ; pub const KSPROPERTY_CAMERACONTROL_EXTENDED_HISTOGRAM : KSPROPERTY_CAMERACONTROL_EXTENDED_PROPERTY = KSPROPERTY_CAMERACONTROL_EXTENDED_PROPERTY ( 31i32 ) ; pub const KSPROPERTY_CAMERACONTROL_EXTENDED_OIS : KSPROPERTY_CAMERACONTROL_EXTENDED_PROPERTY = KSPROPERTY_CAMERACONTROL_EXTENDED_PROPERTY ( 32i32 ) ; pub const KSPROPERTY_CAMERACONTROL_EXTENDED_ADVANCEDPHOTO : KSPROPERTY_CAMERACONTROL_EXTENDED_PROPERTY = KSPROPERTY_CAMERACONTROL_EXTENDED_PROPERTY ( 33i32 ) ; pub const KSPROPERTY_CAMERACONTROL_EXTENDED_PROFILE : KSPROPERTY_CAMERACONTROL_EXTENDED_PROPERTY = KSPROPERTY_CAMERACONTROL_EXTENDED_PROPERTY ( 34i32 ) ; pub const KSPROPERTY_CAMERACONTROL_EXTENDED_FACEAUTH_MODE : KSPROPERTY_CAMERACONTROL_EXTENDED_PROPERTY = KSPROPERTY_CAMERACONTROL_EXTENDED_PROPERTY ( 35i32 ) ; pub const KSPROPERTY_CAMERACONTROL_EXTENDED_SECURE_MODE : KSPROPERTY_CAMERACONTROL_EXTENDED_PROPERTY = KSPROPERTY_CAMERACONTROL_EXTENDED_PROPERTY ( 36i32 ) ; pub const KSPROPERTY_CAMERACONTROL_EXTENDED_VIDEOTEMPORALDENOISING : KSPROPERTY_CAMERACONTROL_EXTENDED_PROPERTY = KSPROPERTY_CAMERACONTROL_EXTENDED_PROPERTY ( 37i32 ) ; pub const KSPROPERTY_CAMERACONTROL_EXTENDED_IRTORCHMODE : KSPROPERTY_CAMERACONTROL_EXTENDED_PROPERTY = KSPROPERTY_CAMERACONTROL_EXTENDED_PROPERTY ( 38i32 ) ; pub const KSPROPERTY_CAMERACONTROL_EXTENDED_RELATIVEPANELOPTIMIZATION : KSPROPERTY_CAMERACONTROL_EXTENDED_PROPERTY = KSPROPERTY_CAMERACONTROL_EXTENDED_PROPERTY ( 39i32 ) ; pub const KSPROPERTY_CAMERACONTROL_EXTENDED_END : KSPROPERTY_CAMERACONTROL_EXTENDED_PROPERTY = KSPROPERTY_CAMERACONTROL_EXTENDED_PROPERTY ( 40i32 ) ; pub const KSPROPERTY_CAMERACONTROL_EXTENDED_END2 : KSPROPERTY_CAMERACONTROL_EXTENDED_PROPERTY = KSPROPERTY_CAMERACONTROL_EXTENDED_PROPERTY ( 40i32 ) ; impl :: std :: convert :: From < i32 > for KSPROPERTY_CAMERACONTROL_EXTENDED_PROPERTY { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSPROPERTY_CAMERACONTROL_EXTENDED_PROPERTY { type Abi = Self ; type DefaultType = Self ; } pub const KSPROPERTY_CAMERACONTROL_FLAGS_ABSOLUTE : i32 = 0i32 ; pub const KSPROPERTY_CAMERACONTROL_FLAGS_ASYNCHRONOUS : i32 = 4i32 ; pub const KSPROPERTY_CAMERACONTROL_FLAGS_AUTO : i32 = 1i32 ; pub const KSPROPERTY_CAMERACONTROL_FLAGS_MANUAL : i32 = 2i32 ; pub const KSPROPERTY_CAMERACONTROL_FLAGS_RELATIVE : 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 KSPROPERTY_CAMERACONTROL_FLASH ( pub i32 ) ; pub const KSPROPERTY_CAMERACONTROL_FLASH_PROPERTY_ID : KSPROPERTY_CAMERACONTROL_FLASH = KSPROPERTY_CAMERACONTROL_FLASH ( 0i32 ) ; impl :: std :: convert :: From < i32 > for KSPROPERTY_CAMERACONTROL_FLASH { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSPROPERTY_CAMERACONTROL_FLASH { type Abi = Self ; type DefaultType = Self ; } pub const KSPROPERTY_CAMERACONTROL_FLASH_AUTO : i32 = 2i32 ; pub const KSPROPERTY_CAMERACONTROL_FLASH_FLAGS_AUTO : i32 = 1i32 ; pub const KSPROPERTY_CAMERACONTROL_FLASH_FLAGS_MANUAL : i32 = 2i32 ; pub const KSPROPERTY_CAMERACONTROL_FLASH_OFF : i32 = 0i32 ; pub const KSPROPERTY_CAMERACONTROL_FLASH_ON : i32 = 1i32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSPROPERTY_CAMERACONTROL_FLASH_S { pub Flash : u32 , pub Capabilities : u32 } impl KSPROPERTY_CAMERACONTROL_FLASH_S { } impl :: std :: default :: Default for KSPROPERTY_CAMERACONTROL_FLASH_S { fn default ( ) -> Self { Self { Flash : 0 , Capabilities : 0 } } } impl :: std :: fmt :: Debug for KSPROPERTY_CAMERACONTROL_FLASH_S { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSPROPERTY_CAMERACONTROL_FLASH_S" ) . field ( "Flash" , & self . Flash ) . field ( "Capabilities" , & self . Capabilities ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSPROPERTY_CAMERACONTROL_FLASH_S { fn eq ( & self , other : & Self ) -> bool { self . Flash == other . Flash && self . Capabilities == other . Capabilities } } impl :: std :: cmp :: Eq for KSPROPERTY_CAMERACONTROL_FLASH_S { } unsafe impl :: windows :: Abi for KSPROPERTY_CAMERACONTROL_FLASH_S { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSPROPERTY_CAMERACONTROL_FOCAL_LENGTH_S { pub Property : KSIDENTIFIER , pub lOcularFocalLength : i32 , pub lObjectiveFocalLengthMin : i32 , pub lObjectiveFocalLengthMax : i32 } impl KSPROPERTY_CAMERACONTROL_FOCAL_LENGTH_S { } impl :: std :: cmp :: PartialEq for KSPROPERTY_CAMERACONTROL_FOCAL_LENGTH_S { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSPROPERTY_CAMERACONTROL_FOCAL_LENGTH_S { } unsafe impl :: windows :: Abi for KSPROPERTY_CAMERACONTROL_FOCAL_LENGTH_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 KSPROPERTY_CAMERACONTROL_IMAGE_PIN_CAPABILITY ( pub i32 ) ; pub const KSPROPERTY_CAMERACONTROL_IMAGE_PIN_CAPABILITY_PROPERTY_ID : KSPROPERTY_CAMERACONTROL_IMAGE_PIN_CAPABILITY = KSPROPERTY_CAMERACONTROL_IMAGE_PIN_CAPABILITY ( 0i32 ) ; impl :: std :: convert :: From < i32 > for KSPROPERTY_CAMERACONTROL_IMAGE_PIN_CAPABILITY { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSPROPERTY_CAMERACONTROL_IMAGE_PIN_CAPABILITY { type Abi = Self ; type DefaultType = Self ; } pub const KSPROPERTY_CAMERACONTROL_IMAGE_PIN_CAPABILITY_EXCLUSIVE_WITH_RECORD : i32 = 1i32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSPROPERTY_CAMERACONTROL_IMAGE_PIN_CAPABILITY_S { pub Capabilities : u32 , pub Reserved0 : u32 } impl KSPROPERTY_CAMERACONTROL_IMAGE_PIN_CAPABILITY_S { } impl :: std :: default :: Default for KSPROPERTY_CAMERACONTROL_IMAGE_PIN_CAPABILITY_S { fn default ( ) -> Self { Self { Capabilities : 0 , Reserved0 : 0 } } } impl :: std :: fmt :: Debug for KSPROPERTY_CAMERACONTROL_IMAGE_PIN_CAPABILITY_S { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSPROPERTY_CAMERACONTROL_IMAGE_PIN_CAPABILITY_S" ) . field ( "Capabilities" , & self . Capabilities ) . field ( "Reserved0" , & self . Reserved0 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSPROPERTY_CAMERACONTROL_IMAGE_PIN_CAPABILITY_S { fn eq ( & self , other : & Self ) -> bool { self . Capabilities == other . Capabilities && self . Reserved0 == other . Reserved0 } } impl :: std :: cmp :: Eq for KSPROPERTY_CAMERACONTROL_IMAGE_PIN_CAPABILITY_S { } unsafe impl :: windows :: Abi for KSPROPERTY_CAMERACONTROL_IMAGE_PIN_CAPABILITY_S { type Abi = Self ; type DefaultType = Self ; } pub const KSPROPERTY_CAMERACONTROL_IMAGE_PIN_CAPABILITY_SEQUENCE_EXCLUSIVE_WITH_RECORD : i32 = 2i32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSPROPERTY_CAMERACONTROL_NODE_FOCAL_LENGTH_S { pub NodeProperty : KSNODEPROPERTY , pub lOcularFocalLength : i32 , pub lObjectiveFocalLengthMin : i32 , pub lObjectiveFocalLengthMax : i32 } impl KSPROPERTY_CAMERACONTROL_NODE_FOCAL_LENGTH_S { } impl :: std :: cmp :: PartialEq for KSPROPERTY_CAMERACONTROL_NODE_FOCAL_LENGTH_S { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSPROPERTY_CAMERACONTROL_NODE_FOCAL_LENGTH_S { } unsafe impl :: windows :: Abi for KSPROPERTY_CAMERACONTROL_NODE_FOCAL_LENGTH_S { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSPROPERTY_CAMERACONTROL_NODE_S { pub NodeProperty : KSP_NODE , pub Value : i32 , pub Flags : u32 , pub Capabilities : u32 } impl KSPROPERTY_CAMERACONTROL_NODE_S { } impl :: std :: cmp :: PartialEq for KSPROPERTY_CAMERACONTROL_NODE_S { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSPROPERTY_CAMERACONTROL_NODE_S { } unsafe impl :: windows :: Abi for KSPROPERTY_CAMERACONTROL_NODE_S { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSPROPERTY_CAMERACONTROL_NODE_S2 { pub NodeProperty : KSP_NODE , pub Value1 : i32 , pub Flags : u32 , pub Capabilities : u32 , pub Value2 : i32 } impl KSPROPERTY_CAMERACONTROL_NODE_S2 { } impl :: std :: cmp :: PartialEq for KSPROPERTY_CAMERACONTROL_NODE_S2 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSPROPERTY_CAMERACONTROL_NODE_S2 { } unsafe impl :: windows :: Abi for KSPROPERTY_CAMERACONTROL_NODE_S2 { 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 KSPROPERTY_CAMERACONTROL_PERFRAMESETTING_PROPERTY ( pub i32 ) ; pub const KSPROPERTY_CAMERACONTROL_PERFRAMESETTING_CAPABILITY : KSPROPERTY_CAMERACONTROL_PERFRAMESETTING_PROPERTY = KSPROPERTY_CAMERACONTROL_PERFRAMESETTING_PROPERTY ( 0i32 ) ; pub const KSPROPERTY_CAMERACONTROL_PERFRAMESETTING_SET : KSPROPERTY_CAMERACONTROL_PERFRAMESETTING_PROPERTY = KSPROPERTY_CAMERACONTROL_PERFRAMESETTING_PROPERTY ( 1i32 ) ; pub const KSPROPERTY_CAMERACONTROL_PERFRAMESETTING_CLEAR : KSPROPERTY_CAMERACONTROL_PERFRAMESETTING_PROPERTY = KSPROPERTY_CAMERACONTROL_PERFRAMESETTING_PROPERTY ( 2i32 ) ; impl :: std :: convert :: From < i32 > for KSPROPERTY_CAMERACONTROL_PERFRAMESETTING_PROPERTY { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSPROPERTY_CAMERACONTROL_PERFRAMESETTING_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 KSPROPERTY_CAMERACONTROL_REGION_OF_INTEREST ( pub i32 ) ; pub const KSPROPERTY_CAMERACONTROL_REGION_OF_INTEREST_PROPERTY_ID : KSPROPERTY_CAMERACONTROL_REGION_OF_INTEREST = KSPROPERTY_CAMERACONTROL_REGION_OF_INTEREST ( 0i32 ) ; impl :: std :: convert :: From < i32 > for KSPROPERTY_CAMERACONTROL_REGION_OF_INTEREST { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSPROPERTY_CAMERACONTROL_REGION_OF_INTEREST { type Abi = Self ; type DefaultType = Self ; } pub const KSPROPERTY_CAMERACONTROL_REGION_OF_INTEREST_CONFIG_EXPOSURE : i32 = 512i32 ; pub const KSPROPERTY_CAMERACONTROL_REGION_OF_INTEREST_CONFIG_FOCUS : i32 = 256i32 ; pub const KSPROPERTY_CAMERACONTROL_REGION_OF_INTEREST_CONFIG_WB : i32 = 1024i32 ; pub const KSPROPERTY_CAMERACONTROL_REGION_OF_INTEREST_CONVERGEMODE : i32 = 1073741824i32 ; pub const KSPROPERTY_CAMERACONTROL_REGION_OF_INTEREST_FLAGS_ASYNC : i32 = -2147483648i32 ; pub const KSPROPERTY_CAMERACONTROL_REGION_OF_INTEREST_FLAGS_AUTO : i32 = 1i32 ; pub const KSPROPERTY_CAMERACONTROL_REGION_OF_INTEREST_FLAGS_MANUAL : i32 = 2i32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSPROPERTY_CAMERACONTROL_REGION_OF_INTEREST_S { pub FocusRect : super::super::super::Foundation:: RECT , pub AutoFocusLock : super::super::super::Foundation:: BOOL , pub AutoExposureLock : super::super::super::Foundation:: BOOL , pub AutoWhitebalanceLock : super::super::super::Foundation:: BOOL , pub Anonymous : KSPROPERTY_CAMERACONTROL_REGION_OF_INTEREST_S_0 } impl KSPROPERTY_CAMERACONTROL_REGION_OF_INTEREST_S { } impl :: std :: cmp :: PartialEq for KSPROPERTY_CAMERACONTROL_REGION_OF_INTEREST_S { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSPROPERTY_CAMERACONTROL_REGION_OF_INTEREST_S { } unsafe impl :: windows :: Abi for KSPROPERTY_CAMERACONTROL_REGION_OF_INTEREST_S { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union KSPROPERTY_CAMERACONTROL_REGION_OF_INTEREST_S_0 { pub Capabilities : u32 , pub Configuration : u32 } impl KSPROPERTY_CAMERACONTROL_REGION_OF_INTEREST_S_0 { } impl :: std :: cmp :: PartialEq for KSPROPERTY_CAMERACONTROL_REGION_OF_INTEREST_S_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSPROPERTY_CAMERACONTROL_REGION_OF_INTEREST_S_0 { } unsafe impl :: windows :: Abi for KSPROPERTY_CAMERACONTROL_REGION_OF_INTEREST_S_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSPROPERTY_CAMERACONTROL_S { pub Property : KSIDENTIFIER , pub Value : i32 , pub Flags : u32 , pub Capabilities : u32 } impl KSPROPERTY_CAMERACONTROL_S { } impl :: std :: cmp :: PartialEq for KSPROPERTY_CAMERACONTROL_S { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSPROPERTY_CAMERACONTROL_S { } unsafe impl :: windows :: Abi for KSPROPERTY_CAMERACONTROL_S { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSPROPERTY_CAMERACONTROL_S2 { pub Property : KSIDENTIFIER , pub Value1 : i32 , pub Flags : u32 , pub Capabilities : u32 , pub Value2 : i32 } impl KSPROPERTY_CAMERACONTROL_S2 { } impl :: std :: cmp :: PartialEq for KSPROPERTY_CAMERACONTROL_S2 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSPROPERTY_CAMERACONTROL_S2 { } unsafe impl :: windows :: Abi for KSPROPERTY_CAMERACONTROL_S2 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSPROPERTY_CAMERACONTROL_S_EX { pub Property : KSIDENTIFIER , pub Value : i32 , pub Flags : u32 , pub Capabilities : u32 , pub FocusRect : super::super::super::Foundation:: RECT } impl KSPROPERTY_CAMERACONTROL_S_EX { } impl :: std :: cmp :: PartialEq for KSPROPERTY_CAMERACONTROL_S_EX { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSPROPERTY_CAMERACONTROL_S_EX { } unsafe impl :: windows :: Abi for KSPROPERTY_CAMERACONTROL_S_EX { type Abi = Self ; type DefaultType = Self ; } pub const KSPROPERTY_CAMERACONTROL_VIDEOSTABILIZATION_MODE_AUTO : i32 = 4i32 ; pub const KSPROPERTY_CAMERACONTROL_VIDEOSTABILIZATION_MODE_FLAGS_AUTO : i32 = 1i32 ; pub const KSPROPERTY_CAMERACONTROL_VIDEOSTABILIZATION_MODE_FLAGS_MANUAL : i32 = 2i32 ; pub const KSPROPERTY_CAMERACONTROL_VIDEOSTABILIZATION_MODE_HIGH : i32 = 1i32 ; pub const KSPROPERTY_CAMERACONTROL_VIDEOSTABILIZATION_MODE_LOW : i32 = 3i32 ; pub const KSPROPERTY_CAMERACONTROL_VIDEOSTABILIZATION_MODE_MEDIUM : i32 = 2i32 ; pub const KSPROPERTY_CAMERACONTROL_VIDEOSTABILIZATION_MODE_OFF : i32 = 0i32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSPROPERTY_CAMERACONTROL_VIDEOSTABILIZATION_MODE_S { pub VideoStabilizationMode : u32 , pub Capabilities : u32 } impl KSPROPERTY_CAMERACONTROL_VIDEOSTABILIZATION_MODE_S { } impl :: std :: default :: Default for KSPROPERTY_CAMERACONTROL_VIDEOSTABILIZATION_MODE_S { fn default ( ) -> Self { Self { VideoStabilizationMode : 0 , Capabilities : 0 } } } impl :: std :: fmt :: Debug for KSPROPERTY_CAMERACONTROL_VIDEOSTABILIZATION_MODE_S { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSPROPERTY_CAMERACONTROL_VIDEOSTABILIZATION_MODE_S" ) . field ( "VideoStabilizationMode" , & self . VideoStabilizationMode ) . field ( "Capabilities" , & self . Capabilities ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSPROPERTY_CAMERACONTROL_VIDEOSTABILIZATION_MODE_S { fn eq ( & self , other : & Self ) -> bool { self . VideoStabilizationMode == other . VideoStabilizationMode && self . Capabilities == other . Capabilities } } impl :: std :: cmp :: Eq for KSPROPERTY_CAMERACONTROL_VIDEOSTABILIZATION_MODE_S { } unsafe impl :: windows :: Abi for KSPROPERTY_CAMERACONTROL_VIDEOSTABILIZATION_MODE_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 KSPROPERTY_CAMERACONTROL_VIDEO_STABILIZATION_MODE ( pub i32 ) ; pub const KSPROPERTY_CAMERACONTROL_VIDEO_STABILIZATION_MODE_PROPERTY_ID : KSPROPERTY_CAMERACONTROL_VIDEO_STABILIZATION_MODE = KSPROPERTY_CAMERACONTROL_VIDEO_STABILIZATION_MODE ( 0i32 ) ; impl :: std :: convert :: From < i32 > for KSPROPERTY_CAMERACONTROL_VIDEO_STABILIZATION_MODE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSPROPERTY_CAMERACONTROL_VIDEO_STABILIZATION_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 KSPROPERTY_CAMERA_PHOTOTRIGGERTIME_FLAGS ( pub i32 ) ; pub const KSPROPERTY_CAMERA_PHOTOTRIGGERTIME_CLEAR : KSPROPERTY_CAMERA_PHOTOTRIGGERTIME_FLAGS = KSPROPERTY_CAMERA_PHOTOTRIGGERTIME_FLAGS ( 0i32 ) ; pub const KSPROPERTY_CAMERA_PHOTOTRIGGERTIME_SET : KSPROPERTY_CAMERA_PHOTOTRIGGERTIME_FLAGS = KSPROPERTY_CAMERA_PHOTOTRIGGERTIME_FLAGS ( 1i32 ) ; impl :: std :: convert :: From < i32 > for KSPROPERTY_CAMERA_PHOTOTRIGGERTIME_FLAGS { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSPROPERTY_CAMERA_PHOTOTRIGGERTIME_FLAGS { 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 KSPROPERTY_CLOCK ( pub i32 ) ; pub const KSPROPERTY_CLOCK_TIME : KSPROPERTY_CLOCK = KSPROPERTY_CLOCK ( 0i32 ) ; pub const KSPROPERTY_CLOCK_PHYSICALTIME : KSPROPERTY_CLOCK = KSPROPERTY_CLOCK ( 1i32 ) ; pub const KSPROPERTY_CLOCK_CORRELATEDTIME : KSPROPERTY_CLOCK = KSPROPERTY_CLOCK ( 2i32 ) ; pub const KSPROPERTY_CLOCK_CORRELATEDPHYSICALTIME : KSPROPERTY_CLOCK = KSPROPERTY_CLOCK ( 3i32 ) ; pub const KSPROPERTY_CLOCK_RESOLUTION : KSPROPERTY_CLOCK = KSPROPERTY_CLOCK ( 4i32 ) ; pub const KSPROPERTY_CLOCK_STATE : KSPROPERTY_CLOCK = KSPROPERTY_CLOCK ( 5i32 ) ; impl :: std :: convert :: From < i32 > for KSPROPERTY_CLOCK { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSPROPERTY_CLOCK { 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 KSPROPERTY_CONNECTION ( pub i32 ) ; pub const KSPROPERTY_CONNECTION_STATE : KSPROPERTY_CONNECTION = KSPROPERTY_CONNECTION ( 0i32 ) ; pub const KSPROPERTY_CONNECTION_PRIORITY : KSPROPERTY_CONNECTION = KSPROPERTY_CONNECTION ( 1i32 ) ; pub const KSPROPERTY_CONNECTION_DATAFORMAT : KSPROPERTY_CONNECTION = KSPROPERTY_CONNECTION ( 2i32 ) ; pub const KSPROPERTY_CONNECTION_ALLOCATORFRAMING : KSPROPERTY_CONNECTION = KSPROPERTY_CONNECTION ( 3i32 ) ; pub const KSPROPERTY_CONNECTION_PROPOSEDATAFORMAT : KSPROPERTY_CONNECTION = KSPROPERTY_CONNECTION ( 4i32 ) ; pub const KSPROPERTY_CONNECTION_ACQUIREORDERING : KSPROPERTY_CONNECTION = KSPROPERTY_CONNECTION ( 5i32 ) ; pub const KSPROPERTY_CONNECTION_ALLOCATORFRAMING_EX : KSPROPERTY_CONNECTION = KSPROPERTY_CONNECTION ( 6i32 ) ; pub const KSPROPERTY_CONNECTION_STARTAT : KSPROPERTY_CONNECTION = KSPROPERTY_CONNECTION ( 7i32 ) ; impl :: std :: convert :: From < i32 > for KSPROPERTY_CONNECTION { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSPROPERTY_CONNECTION { 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 KSPROPERTY_COPYPROT ( pub i32 ) ; pub const KSPROPERTY_DVDCOPY_CHLG_KEY : KSPROPERTY_COPYPROT = KSPROPERTY_COPYPROT ( 1i32 ) ; pub const KSPROPERTY_DVDCOPY_DVD_KEY1 : KSPROPERTY_COPYPROT = KSPROPERTY_COPYPROT ( 2i32 ) ; pub const KSPROPERTY_DVDCOPY_DEC_KEY2 : KSPROPERTY_COPYPROT = KSPROPERTY_COPYPROT ( 3i32 ) ; pub const KSPROPERTY_DVDCOPY_TITLE_KEY : KSPROPERTY_COPYPROT = KSPROPERTY_COPYPROT ( 4i32 ) ; pub const KSPROPERTY_COPY_MACROVISION : KSPROPERTY_COPYPROT = KSPROPERTY_COPYPROT ( 5i32 ) ; pub const KSPROPERTY_DVDCOPY_REGION : KSPROPERTY_COPYPROT = KSPROPERTY_COPYPROT ( 6i32 ) ; pub const KSPROPERTY_DVDCOPY_SET_COPY_STATE : KSPROPERTY_COPYPROT = KSPROPERTY_COPYPROT ( 7i32 ) ; pub const KSPROPERTY_DVDCOPY_DISC_KEY : KSPROPERTY_COPYPROT = KSPROPERTY_COPYPROT ( 128i32 ) ; impl :: std :: convert :: From < i32 > for KSPROPERTY_COPYPROT { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSPROPERTY_COPYPROT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSPROPERTY_CROSSBAR_ACTIVE_S { pub Property : KSIDENTIFIER , pub IndexInputPin : u32 , pub Active : u32 } impl KSPROPERTY_CROSSBAR_ACTIVE_S { } impl :: std :: cmp :: PartialEq for KSPROPERTY_CROSSBAR_ACTIVE_S { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSPROPERTY_CROSSBAR_ACTIVE_S { } unsafe impl :: windows :: Abi for KSPROPERTY_CROSSBAR_ACTIVE_S { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSPROPERTY_CROSSBAR_CAPS_S { pub Property : KSIDENTIFIER , pub NumberOfInputs : u32 , pub NumberOfOutputs : u32 } impl KSPROPERTY_CROSSBAR_CAPS_S { } impl :: std :: cmp :: PartialEq for KSPROPERTY_CROSSBAR_CAPS_S { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSPROPERTY_CROSSBAR_CAPS_S { } unsafe impl :: windows :: Abi for KSPROPERTY_CROSSBAR_CAPS_S { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSPROPERTY_CROSSBAR_PININFO_S { pub Property : KSIDENTIFIER , pub Direction : KSPIN_DATAFLOW , pub Index : u32 , pub PinType : u32 , pub RelatedPinIndex : u32 , pub Medium : KSIDENTIFIER } impl KSPROPERTY_CROSSBAR_PININFO_S { } impl :: std :: cmp :: PartialEq for KSPROPERTY_CROSSBAR_PININFO_S { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSPROPERTY_CROSSBAR_PININFO_S { } unsafe impl :: windows :: Abi for KSPROPERTY_CROSSBAR_PININFO_S { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSPROPERTY_CROSSBAR_ROUTE_S { pub Property : KSIDENTIFIER , pub IndexInputPin : u32 , pub IndexOutputPin : u32 , pub CanRoute : u32 } impl KSPROPERTY_CROSSBAR_ROUTE_S { } impl :: std :: cmp :: PartialEq for KSPROPERTY_CROSSBAR_ROUTE_S { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSPROPERTY_CROSSBAR_ROUTE_S { } unsafe impl :: windows :: Abi for KSPROPERTY_CROSSBAR_ROUTE_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 KSPROPERTY_CYCLIC ( pub i32 ) ; pub const KSPROPERTY_CYCLIC_POSITION : KSPROPERTY_CYCLIC = KSPROPERTY_CYCLIC ( 0i32 ) ; impl :: std :: convert :: From < i32 > for KSPROPERTY_CYCLIC { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSPROPERTY_CYCLIC { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSPROPERTY_DESCRIPTION { pub AccessFlags : u32 , pub DescriptionSize : u32 , pub PropTypeSet : KSIDENTIFIER , pub MembersListCount : u32 , pub Reserved : u32 } impl KSPROPERTY_DESCRIPTION { } impl :: std :: cmp :: PartialEq for KSPROPERTY_DESCRIPTION { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSPROPERTY_DESCRIPTION { } unsafe impl :: windows :: Abi for KSPROPERTY_DESCRIPTION { 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 KSPROPERTY_DIRECTSOUND3DBUFFER ( pub i32 ) ; pub const KSPROPERTY_DIRECTSOUND3DBUFFER_ALL : KSPROPERTY_DIRECTSOUND3DBUFFER = KSPROPERTY_DIRECTSOUND3DBUFFER ( 0i32 ) ; pub const KSPROPERTY_DIRECTSOUND3DBUFFER_POSITION : KSPROPERTY_DIRECTSOUND3DBUFFER = KSPROPERTY_DIRECTSOUND3DBUFFER ( 1i32 ) ; pub const KSPROPERTY_DIRECTSOUND3DBUFFER_VELOCITY : KSPROPERTY_DIRECTSOUND3DBUFFER = KSPROPERTY_DIRECTSOUND3DBUFFER ( 2i32 ) ; pub const KSPROPERTY_DIRECTSOUND3DBUFFER_CONEANGLES : KSPROPERTY_DIRECTSOUND3DBUFFER = KSPROPERTY_DIRECTSOUND3DBUFFER ( 3i32 ) ; pub const KSPROPERTY_DIRECTSOUND3DBUFFER_CONEORIENTATION : KSPROPERTY_DIRECTSOUND3DBUFFER = KSPROPERTY_DIRECTSOUND3DBUFFER ( 4i32 ) ; pub const KSPROPERTY_DIRECTSOUND3DBUFFER_CONEOUTSIDEVOLUME : KSPROPERTY_DIRECTSOUND3DBUFFER = KSPROPERTY_DIRECTSOUND3DBUFFER ( 5i32 ) ; pub const KSPROPERTY_DIRECTSOUND3DBUFFER_MINDISTANCE : KSPROPERTY_DIRECTSOUND3DBUFFER = KSPROPERTY_DIRECTSOUND3DBUFFER ( 6i32 ) ; pub const KSPROPERTY_DIRECTSOUND3DBUFFER_MAXDISTANCE : KSPROPERTY_DIRECTSOUND3DBUFFER = KSPROPERTY_DIRECTSOUND3DBUFFER ( 7i32 ) ; pub const KSPROPERTY_DIRECTSOUND3DBUFFER_MODE : KSPROPERTY_DIRECTSOUND3DBUFFER = KSPROPERTY_DIRECTSOUND3DBUFFER ( 8i32 ) ; impl :: std :: convert :: From < i32 > for KSPROPERTY_DIRECTSOUND3DBUFFER { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSPROPERTY_DIRECTSOUND3DBUFFER { 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 KSPROPERTY_DIRECTSOUND3DLISTENER ( pub i32 ) ; pub const KSPROPERTY_DIRECTSOUND3DLISTENER_ALL : KSPROPERTY_DIRECTSOUND3DLISTENER = KSPROPERTY_DIRECTSOUND3DLISTENER ( 0i32 ) ; pub const KSPROPERTY_DIRECTSOUND3DLISTENER_POSITION : KSPROPERTY_DIRECTSOUND3DLISTENER = KSPROPERTY_DIRECTSOUND3DLISTENER ( 1i32 ) ; pub const KSPROPERTY_DIRECTSOUND3DLISTENER_VELOCITY : KSPROPERTY_DIRECTSOUND3DLISTENER = KSPROPERTY_DIRECTSOUND3DLISTENER ( 2i32 ) ; pub const KSPROPERTY_DIRECTSOUND3DLISTENER_ORIENTATION : KSPROPERTY_DIRECTSOUND3DLISTENER = KSPROPERTY_DIRECTSOUND3DLISTENER ( 3i32 ) ; pub const KSPROPERTY_DIRECTSOUND3DLISTENER_DISTANCEFACTOR : KSPROPERTY_DIRECTSOUND3DLISTENER = KSPROPERTY_DIRECTSOUND3DLISTENER ( 4i32 ) ; pub const KSPROPERTY_DIRECTSOUND3DLISTENER_ROLLOFFFACTOR : KSPROPERTY_DIRECTSOUND3DLISTENER = KSPROPERTY_DIRECTSOUND3DLISTENER ( 5i32 ) ; pub const KSPROPERTY_DIRECTSOUND3DLISTENER_DOPPLERFACTOR : KSPROPERTY_DIRECTSOUND3DLISTENER = KSPROPERTY_DIRECTSOUND3DLISTENER ( 6i32 ) ; pub const KSPROPERTY_DIRECTSOUND3DLISTENER_BATCH : KSPROPERTY_DIRECTSOUND3DLISTENER = KSPROPERTY_DIRECTSOUND3DLISTENER ( 7i32 ) ; pub const KSPROPERTY_DIRECTSOUND3DLISTENER_ALLOCATION : KSPROPERTY_DIRECTSOUND3DLISTENER = KSPROPERTY_DIRECTSOUND3DLISTENER ( 8i32 ) ; impl :: std :: convert :: From < i32 > for KSPROPERTY_DIRECTSOUND3DLISTENER { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSPROPERTY_DIRECTSOUND3DLISTENER { 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 KSPROPERTY_DRMAUDIOSTREAM ( pub i32 ) ; pub const KSPROPERTY_DRMAUDIOSTREAM_CONTENTID : KSPROPERTY_DRMAUDIOSTREAM = KSPROPERTY_DRMAUDIOSTREAM ( 0i32 ) ; impl :: std :: convert :: From < i32 > for KSPROPERTY_DRMAUDIOSTREAM { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSPROPERTY_DRMAUDIOSTREAM { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSPROPERTY_DROPPEDFRAMES_CURRENT_S { pub Property : KSIDENTIFIER , pub PictureNumber : i64 , pub DropCount : i64 , pub AverageFrameSize : u32 } impl KSPROPERTY_DROPPEDFRAMES_CURRENT_S { } impl :: std :: cmp :: PartialEq for KSPROPERTY_DROPPEDFRAMES_CURRENT_S { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSPROPERTY_DROPPEDFRAMES_CURRENT_S { } unsafe impl :: windows :: Abi for KSPROPERTY_DROPPEDFRAMES_CURRENT_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 KSPROPERTY_DVDSUBPIC ( pub i32 ) ; pub const KSPROPERTY_DVDSUBPIC_PALETTE : KSPROPERTY_DVDSUBPIC = KSPROPERTY_DVDSUBPIC ( 0i32 ) ; pub const KSPROPERTY_DVDSUBPIC_HLI : KSPROPERTY_DVDSUBPIC = KSPROPERTY_DVDSUBPIC ( 1i32 ) ; pub const KSPROPERTY_DVDSUBPIC_COMPOSIT_ON : KSPROPERTY_DVDSUBPIC = KSPROPERTY_DVDSUBPIC ( 2i32 ) ; impl :: std :: convert :: From < i32 > for KSPROPERTY_DVDSUBPIC { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSPROPERTY_DVDSUBPIC { 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 KSPROPERTY_EXTDEVICE ( pub i32 ) ; pub const KSPROPERTY_EXTDEVICE_ID : KSPROPERTY_EXTDEVICE = KSPROPERTY_EXTDEVICE ( 0i32 ) ; pub const KSPROPERTY_EXTDEVICE_VERSION : KSPROPERTY_EXTDEVICE = KSPROPERTY_EXTDEVICE ( 1i32 ) ; pub const KSPROPERTY_EXTDEVICE_POWER_STATE : KSPROPERTY_EXTDEVICE = KSPROPERTY_EXTDEVICE ( 2i32 ) ; pub const KSPROPERTY_EXTDEVICE_PORT : KSPROPERTY_EXTDEVICE = KSPROPERTY_EXTDEVICE ( 3i32 ) ; pub const KSPROPERTY_EXTDEVICE_CAPABILITIES : KSPROPERTY_EXTDEVICE = KSPROPERTY_EXTDEVICE ( 4i32 ) ; impl :: std :: convert :: From < i32 > for KSPROPERTY_EXTDEVICE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSPROPERTY_EXTDEVICE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSPROPERTY_EXTDEVICE_S { pub Property : KSIDENTIFIER , pub u : KSPROPERTY_EXTDEVICE_S_0 } impl KSPROPERTY_EXTDEVICE_S { } impl :: std :: cmp :: PartialEq for KSPROPERTY_EXTDEVICE_S { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSPROPERTY_EXTDEVICE_S { } unsafe impl :: windows :: Abi for KSPROPERTY_EXTDEVICE_S { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union KSPROPERTY_EXTDEVICE_S_0 { pub Capabilities : DEVCAPS , pub DevPort : u32 , pub PowerState : u32 , pub pawchString : [ u16 ;260 ] , pub NodeUniqueID : [ u32 ;2 ] } impl KSPROPERTY_EXTDEVICE_S_0 { } impl :: std :: cmp :: PartialEq for KSPROPERTY_EXTDEVICE_S_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSPROPERTY_EXTDEVICE_S_0 { } unsafe impl :: windows :: Abi for KSPROPERTY_EXTDEVICE_S_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 KSPROPERTY_EXTENSION_UNIT ( pub i32 ) ; pub const KSPROPERTY_EXTENSION_UNIT_INFO : KSPROPERTY_EXTENSION_UNIT = KSPROPERTY_EXTENSION_UNIT ( 0i32 ) ; pub const KSPROPERTY_EXTENSION_UNIT_CONTROL : KSPROPERTY_EXTENSION_UNIT = KSPROPERTY_EXTENSION_UNIT ( 1i32 ) ; pub const KSPROPERTY_EXTENSION_UNIT_PASS_THROUGH : KSPROPERTY_EXTENSION_UNIT = KSPROPERTY_EXTENSION_UNIT ( 65535i32 ) ; impl :: std :: convert :: From < i32 > for KSPROPERTY_EXTENSION_UNIT { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSPROPERTY_EXTENSION_UNIT { 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 KSPROPERTY_EXTXPORT ( pub i32 ) ; pub const KSPROPERTY_EXTXPORT_CAPABILITIES : KSPROPERTY_EXTXPORT = KSPROPERTY_EXTXPORT ( 0i32 ) ; pub const KSPROPERTY_EXTXPORT_INPUT_SIGNAL_MODE : KSPROPERTY_EXTXPORT = KSPROPERTY_EXTXPORT ( 1i32 ) ; pub const KSPROPERTY_EXTXPORT_OUTPUT_SIGNAL_MODE : KSPROPERTY_EXTXPORT = KSPROPERTY_EXTXPORT ( 2i32 ) ; pub const KSPROPERTY_EXTXPORT_LOAD_MEDIUM : KSPROPERTY_EXTXPORT = KSPROPERTY_EXTXPORT ( 3i32 ) ; pub const KSPROPERTY_EXTXPORT_MEDIUM_INFO : KSPROPERTY_EXTXPORT = KSPROPERTY_EXTXPORT ( 4i32 ) ; pub const KSPROPERTY_EXTXPORT_STATE : KSPROPERTY_EXTXPORT = KSPROPERTY_EXTXPORT ( 5i32 ) ; pub const KSPROPERTY_EXTXPORT_STATE_NOTIFY : KSPROPERTY_EXTXPORT = KSPROPERTY_EXTXPORT ( 6i32 ) ; pub const KSPROPERTY_EXTXPORT_TIMECODE_SEARCH : KSPROPERTY_EXTXPORT = KSPROPERTY_EXTXPORT ( 7i32 ) ; pub const KSPROPERTY_EXTXPORT_ATN_SEARCH : KSPROPERTY_EXTXPORT = KSPROPERTY_EXTXPORT ( 8i32 ) ; pub const KSPROPERTY_EXTXPORT_RTC_SEARCH : KSPROPERTY_EXTXPORT = KSPROPERTY_EXTXPORT ( 9i32 ) ; pub const KSPROPERTY_RAW_AVC_CMD : KSPROPERTY_EXTXPORT = KSPROPERTY_EXTXPORT ( 10i32 ) ; impl :: std :: convert :: From < i32 > for KSPROPERTY_EXTXPORT { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSPROPERTY_EXTXPORT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSPROPERTY_EXTXPORT_NODE_S { pub NodeProperty : KSP_NODE , pub u : KSPROPERTY_EXTXPORT_NODE_S_0 } impl KSPROPERTY_EXTXPORT_NODE_S { } impl :: std :: cmp :: PartialEq for KSPROPERTY_EXTXPORT_NODE_S { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSPROPERTY_EXTXPORT_NODE_S { } unsafe impl :: windows :: Abi for KSPROPERTY_EXTXPORT_NODE_S { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union KSPROPERTY_EXTXPORT_NODE_S_0 { pub Capabilities : u32 , pub SignalMode : u32 , pub LoadMedium : u32 , pub MediumInfo : MEDIUM_INFO , pub XPrtState : TRANSPORT_STATE , pub Timecode : KSPROPERTY_EXTXPORT_NODE_S_0_1 , pub dwTimecode : u32 , pub dwAbsTrackNumber : u32 , pub RawAVC : KSPROPERTY_EXTXPORT_NODE_S_0_0 } impl KSPROPERTY_EXTXPORT_NODE_S_0 { } impl :: std :: cmp :: PartialEq for KSPROPERTY_EXTXPORT_NODE_S_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSPROPERTY_EXTXPORT_NODE_S_0 { } unsafe impl :: windows :: Abi for KSPROPERTY_EXTXPORT_NODE_S_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSPROPERTY_EXTXPORT_NODE_S_0_0 { pub PayloadSize : u32 , pub Payload : [ u8 ;512 ] } impl KSPROPERTY_EXTXPORT_NODE_S_0_0 { } impl :: std :: default :: Default for KSPROPERTY_EXTXPORT_NODE_S_0_0 { fn default ( ) -> Self { Self { PayloadSize : 0 , Payload : [ 0 ;512 ] } } } impl :: std :: fmt :: Debug for KSPROPERTY_EXTXPORT_NODE_S_0_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_RawAVC_e__Struct" ) . field ( "PayloadSize" , & self . PayloadSize ) . field ( "Payload" , & self . Payload ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSPROPERTY_EXTXPORT_NODE_S_0_0 { fn eq ( & self , other : & Self ) -> bool { self . PayloadSize == other . PayloadSize && self . Payload == other . Payload } } impl :: std :: cmp :: Eq for KSPROPERTY_EXTXPORT_NODE_S_0_0 { } unsafe impl :: windows :: Abi for KSPROPERTY_EXTXPORT_NODE_S_0_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSPROPERTY_EXTXPORT_NODE_S_0_1 { pub frame : u8 , pub second : u8 , pub minute : u8 , pub hour : u8 } impl KSPROPERTY_EXTXPORT_NODE_S_0_1 { } impl :: std :: default :: Default for KSPROPERTY_EXTXPORT_NODE_S_0_1 { fn default ( ) -> Self { Self { frame : 0 , second : 0 , minute : 0 , hour : 0 } } } impl :: std :: fmt :: Debug for KSPROPERTY_EXTXPORT_NODE_S_0_1 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Timecode_e__Struct" ) . field ( "frame" , & self . frame ) . field ( "second" , & self . second ) . field ( "minute" , & self . minute ) . field ( "hour" , & self . hour ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSPROPERTY_EXTXPORT_NODE_S_0_1 { fn eq ( & self , other : & Self ) -> bool { self . frame == other . frame && self . second == other . second && self . minute == other . minute && self . hour == other . hour } } impl :: std :: cmp :: Eq for KSPROPERTY_EXTXPORT_NODE_S_0_1 { } unsafe impl :: windows :: Abi for KSPROPERTY_EXTXPORT_NODE_S_0_1 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSPROPERTY_EXTXPORT_S { pub Property : KSIDENTIFIER , pub u : KSPROPERTY_EXTXPORT_S_0 } impl KSPROPERTY_EXTXPORT_S { } impl :: std :: cmp :: PartialEq for KSPROPERTY_EXTXPORT_S { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSPROPERTY_EXTXPORT_S { } unsafe impl :: windows :: Abi for KSPROPERTY_EXTXPORT_S { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union KSPROPERTY_EXTXPORT_S_0 { pub Capabilities : u32 , pub SignalMode : u32 , pub LoadMedium : u32 , pub MediumInfo : MEDIUM_INFO , pub XPrtState : TRANSPORT_STATE , pub Timecode : KSPROPERTY_EXTXPORT_S_0_1 , pub dwTimecode : u32 , pub dwAbsTrackNumber : u32 , pub RawAVC : KSPROPERTY_EXTXPORT_S_0_0 } impl KSPROPERTY_EXTXPORT_S_0 { } impl :: std :: cmp :: PartialEq for KSPROPERTY_EXTXPORT_S_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSPROPERTY_EXTXPORT_S_0 { } unsafe impl :: windows :: Abi for KSPROPERTY_EXTXPORT_S_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSPROPERTY_EXTXPORT_S_0_0 { pub PayloadSize : u32 , pub Payload : [ u8 ;512 ] } impl KSPROPERTY_EXTXPORT_S_0_0 { } impl :: std :: default :: Default for KSPROPERTY_EXTXPORT_S_0_0 { fn default ( ) -> Self { Self { PayloadSize : 0 , Payload : [ 0 ;512 ] } } } impl :: std :: fmt :: Debug for KSPROPERTY_EXTXPORT_S_0_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_RawAVC_e__Struct" ) . field ( "PayloadSize" , & self . PayloadSize ) . field ( "Payload" , & self . Payload ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSPROPERTY_EXTXPORT_S_0_0 { fn eq ( & self , other : & Self ) -> bool { self . PayloadSize == other . PayloadSize && self . Payload == other . Payload } } impl :: std :: cmp :: Eq for KSPROPERTY_EXTXPORT_S_0_0 { } unsafe impl :: windows :: Abi for KSPROPERTY_EXTXPORT_S_0_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSPROPERTY_EXTXPORT_S_0_1 { pub frame : u8 , pub second : u8 , pub minute : u8 , pub hour : u8 } impl KSPROPERTY_EXTXPORT_S_0_1 { } impl :: std :: default :: Default for KSPROPERTY_EXTXPORT_S_0_1 { fn default ( ) -> Self { Self { frame : 0 , second : 0 , minute : 0 , hour : 0 } } } impl :: std :: fmt :: Debug for KSPROPERTY_EXTXPORT_S_0_1 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Timecode_e__Struct" ) . field ( "frame" , & self . frame ) . field ( "second" , & self . second ) . field ( "minute" , & self . minute ) . field ( "hour" , & self . hour ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSPROPERTY_EXTXPORT_S_0_1 { fn eq ( & self , other : & Self ) -> bool { self . frame == other . frame && self . second == other . second && self . minute == other . minute && self . hour == other . hour } } impl :: std :: cmp :: Eq for KSPROPERTY_EXTXPORT_S_0_1 { } unsafe impl :: windows :: Abi for KSPROPERTY_EXTXPORT_S_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 KSPROPERTY_FMRX_CONTROL ( pub i32 ) ; pub const KSPROPERTY_FMRX_STATE : KSPROPERTY_FMRX_CONTROL = KSPROPERTY_FMRX_CONTROL ( 0i32 ) ; impl :: std :: convert :: From < i32 > for KSPROPERTY_FMRX_CONTROL { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSPROPERTY_FMRX_CONTROL { 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 KSPROPERTY_FMRX_TOPOLOGY ( pub i32 ) ; pub const KSPROPERTY_FMRX_ENDPOINTID : KSPROPERTY_FMRX_TOPOLOGY = KSPROPERTY_FMRX_TOPOLOGY ( 0i32 ) ; pub const KSPROPERTY_FMRX_VOLUME : KSPROPERTY_FMRX_TOPOLOGY = KSPROPERTY_FMRX_TOPOLOGY ( 1i32 ) ; pub const KSPROPERTY_FMRX_ANTENNAENDPOINTID : KSPROPERTY_FMRX_TOPOLOGY = KSPROPERTY_FMRX_TOPOLOGY ( 2i32 ) ; impl :: std :: convert :: From < i32 > for KSPROPERTY_FMRX_TOPOLOGY { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSPROPERTY_FMRX_TOPOLOGY { 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 KSPROPERTY_GENERAL ( pub i32 ) ; pub const KSPROPERTY_GENERAL_COMPONENTID : KSPROPERTY_GENERAL = KSPROPERTY_GENERAL ( 0i32 ) ; impl :: std :: convert :: From < i32 > for KSPROPERTY_GENERAL { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSPROPERTY_GENERAL { 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 KSPROPERTY_HRTF3D ( pub i32 ) ; pub const KSPROPERTY_HRTF3D_PARAMS : KSPROPERTY_HRTF3D = KSPROPERTY_HRTF3D ( 0i32 ) ; pub const KSPROPERTY_HRTF3D_INITIALIZE : KSPROPERTY_HRTF3D = KSPROPERTY_HRTF3D ( 1i32 ) ; pub const KSPROPERTY_HRTF3D_FILTER_FORMAT : KSPROPERTY_HRTF3D = KSPROPERTY_HRTF3D ( 2i32 ) ; impl :: std :: convert :: From < i32 > for KSPROPERTY_HRTF3D { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSPROPERTY_HRTF3D { 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 KSPROPERTY_INTERLEAVEDAUDIO ( pub i32 ) ; pub const KSPROPERTY_INTERLEAVEDAUDIO_FORMATINFORMATION : KSPROPERTY_INTERLEAVEDAUDIO = KSPROPERTY_INTERLEAVEDAUDIO ( 1i32 ) ; impl :: std :: convert :: From < i32 > for KSPROPERTY_INTERLEAVEDAUDIO { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSPROPERTY_INTERLEAVEDAUDIO { 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 KSPROPERTY_ITD3D ( pub i32 ) ; pub const KSPROPERTY_ITD3D_PARAMS : KSPROPERTY_ITD3D = KSPROPERTY_ITD3D ( 0i32 ) ; impl :: std :: convert :: From < i32 > for KSPROPERTY_ITD3D { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSPROPERTY_ITD3D { 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 KSPROPERTY_JACK ( pub i32 ) ; pub const KSPROPERTY_JACK_DESCRIPTION : KSPROPERTY_JACK = KSPROPERTY_JACK ( 1i32 ) ; pub const KSPROPERTY_JACK_DESCRIPTION2 : KSPROPERTY_JACK = KSPROPERTY_JACK ( 2i32 ) ; pub const KSPROPERTY_JACK_SINK_INFO : KSPROPERTY_JACK = KSPROPERTY_JACK ( 3i32 ) ; pub const KSPROPERTY_JACK_CONTAINERID : KSPROPERTY_JACK = KSPROPERTY_JACK ( 4i32 ) ; impl :: std :: convert :: From < i32 > for KSPROPERTY_JACK { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSPROPERTY_JACK { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSPROPERTY_MEDIAAVAILABLE { pub Earliest : i64 , pub Latest : i64 } impl KSPROPERTY_MEDIAAVAILABLE { } impl :: std :: default :: Default for KSPROPERTY_MEDIAAVAILABLE { fn default ( ) -> Self { Self { Earliest : 0 , Latest : 0 } } } impl :: std :: fmt :: Debug for KSPROPERTY_MEDIAAVAILABLE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSPROPERTY_MEDIAAVAILABLE" ) . field ( "Earliest" , & self . Earliest ) . field ( "Latest" , & self . Latest ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSPROPERTY_MEDIAAVAILABLE { fn eq ( & self , other : & Self ) -> bool { self . Earliest == other . Earliest && self . Latest == other . Latest } } impl :: std :: cmp :: Eq for KSPROPERTY_MEDIAAVAILABLE { } unsafe impl :: windows :: Abi for KSPROPERTY_MEDIAAVAILABLE { 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 KSPROPERTY_MEDIASEEKING ( pub i32 ) ; pub const KSPROPERTY_MEDIASEEKING_CAPABILITIES : KSPROPERTY_MEDIASEEKING = KSPROPERTY_MEDIASEEKING ( 0i32 ) ; pub const KSPROPERTY_MEDIASEEKING_FORMATS : KSPROPERTY_MEDIASEEKING = KSPROPERTY_MEDIASEEKING ( 1i32 ) ; pub const KSPROPERTY_MEDIASEEKING_TIMEFORMAT : KSPROPERTY_MEDIASEEKING = KSPROPERTY_MEDIASEEKING ( 2i32 ) ; pub const KSPROPERTY_MEDIASEEKING_POSITION : KSPROPERTY_MEDIASEEKING = KSPROPERTY_MEDIASEEKING ( 3i32 ) ; pub const KSPROPERTY_MEDIASEEKING_STOPPOSITION : KSPROPERTY_MEDIASEEKING = KSPROPERTY_MEDIASEEKING ( 4i32 ) ; pub const KSPROPERTY_MEDIASEEKING_POSITIONS : KSPROPERTY_MEDIASEEKING = KSPROPERTY_MEDIASEEKING ( 5i32 ) ; pub const KSPROPERTY_MEDIASEEKING_DURATION : KSPROPERTY_MEDIASEEKING = KSPROPERTY_MEDIASEEKING ( 6i32 ) ; pub const KSPROPERTY_MEDIASEEKING_AVAILABLE : KSPROPERTY_MEDIASEEKING = KSPROPERTY_MEDIASEEKING ( 7i32 ) ; pub const KSPROPERTY_MEDIASEEKING_PREROLL : KSPROPERTY_MEDIASEEKING = KSPROPERTY_MEDIASEEKING ( 8i32 ) ; pub const KSPROPERTY_MEDIASEEKING_CONVERTTIMEFORMAT : KSPROPERTY_MEDIASEEKING = KSPROPERTY_MEDIASEEKING ( 9i32 ) ; impl :: std :: convert :: From < i32 > for KSPROPERTY_MEDIASEEKING { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSPROPERTY_MEDIASEEKING { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSPROPERTY_MEMBERSHEADER { pub MembersFlags : u32 , pub MembersSize : u32 , pub MembersCount : u32 , pub Flags : u32 } impl KSPROPERTY_MEMBERSHEADER { } impl :: std :: default :: Default for KSPROPERTY_MEMBERSHEADER { fn default ( ) -> Self { Self { MembersFlags : 0 , MembersSize : 0 , MembersCount : 0 , Flags : 0 } } } impl :: std :: fmt :: Debug for KSPROPERTY_MEMBERSHEADER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSPROPERTY_MEMBERSHEADER" ) . field ( "MembersFlags" , & self . MembersFlags ) . field ( "MembersSize" , & self . MembersSize ) . field ( "MembersCount" , & self . MembersCount ) . field ( "Flags" , & self . Flags ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSPROPERTY_MEMBERSHEADER { fn eq ( & self , other : & Self ) -> bool { self . MembersFlags == other . MembersFlags && self . MembersSize == other . MembersSize && self . MembersCount == other . MembersCount && self . Flags == other . Flags } } impl :: std :: cmp :: Eq for KSPROPERTY_MEMBERSHEADER { } unsafe impl :: windows :: Abi for KSPROPERTY_MEMBERSHEADER { type Abi = Self ; type DefaultType = Self ; } pub const KSPROPERTY_MEMBER_FLAG_BASICSUPPORT_MULTICHANNEL : u32 = 2u32 ; pub const KSPROPERTY_MEMBER_FLAG_BASICSUPPORT_UNIFORM : u32 = 4u32 ; pub const KSPROPERTY_MEMBER_FLAG_DEFAULT : u32 = 1u32 ; pub const KSPROPERTY_MEMBER_RANGES : u32 = 1u32 ; pub const KSPROPERTY_MEMBER_STEPPEDRANGES : u32 = 2u32 ; pub const KSPROPERTY_MEMBER_VALUES : u32 = 3u32 ; pub const KSPROPERTY_MEMORY_TRANSPORT : 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 KSPROPERTY_MPEG2VID ( pub i32 ) ; pub const KSPROPERTY_MPEG2VID_MODES : KSPROPERTY_MPEG2VID = KSPROPERTY_MPEG2VID ( 0i32 ) ; pub const KSPROPERTY_MPEG2VID_CUR_MODE : KSPROPERTY_MPEG2VID = KSPROPERTY_MPEG2VID ( 1i32 ) ; pub const KSPROPERTY_MPEG2VID_4_3_RECT : KSPROPERTY_MPEG2VID = KSPROPERTY_MPEG2VID ( 2i32 ) ; pub const KSPROPERTY_MPEG2VID_16_9_RECT : KSPROPERTY_MPEG2VID = KSPROPERTY_MPEG2VID ( 3i32 ) ; pub const KSPROPERTY_MPEG2VID_16_9_PANSCAN : KSPROPERTY_MPEG2VID = KSPROPERTY_MPEG2VID ( 4i32 ) ; impl :: std :: convert :: From < i32 > for KSPROPERTY_MPEG2VID { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSPROPERTY_MPEG2VID { 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 KSPROPERTY_MPEG4_MEDIATYPE_ATTRIBUTES ( pub i32 ) ; pub const KSPROPERTY_MPEG4_MEDIATYPE_SD_BOX : KSPROPERTY_MPEG4_MEDIATYPE_ATTRIBUTES = KSPROPERTY_MPEG4_MEDIATYPE_ATTRIBUTES ( 1i32 ) ; impl :: std :: convert :: From < i32 > for KSPROPERTY_MPEG4_MEDIATYPE_ATTRIBUTES { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSPROPERTY_MPEG4_MEDIATYPE_ATTRIBUTES { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSPROPERTY_NETWORKCAMERACONTROL_NTPINFO_HEADER { pub Size : u32 , pub Type : KSPROPERTY_NETWORKCAMERACONTROL_NTPINFO_TYPE } impl KSPROPERTY_NETWORKCAMERACONTROL_NTPINFO_HEADER { } impl :: std :: default :: Default for KSPROPERTY_NETWORKCAMERACONTROL_NTPINFO_HEADER { fn default ( ) -> Self { Self { Size : 0 , Type : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for KSPROPERTY_NETWORKCAMERACONTROL_NTPINFO_HEADER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSPROPERTY_NETWORKCAMERACONTROL_NTPINFO_HEADER" ) . field ( "Size" , & self . Size ) . field ( "Type" , & self . Type ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSPROPERTY_NETWORKCAMERACONTROL_NTPINFO_HEADER { fn eq ( & self , other : & Self ) -> bool { self . Size == other . Size && self . Type == other . Type } } impl :: std :: cmp :: Eq for KSPROPERTY_NETWORKCAMERACONTROL_NTPINFO_HEADER { } unsafe impl :: windows :: Abi for KSPROPERTY_NETWORKCAMERACONTROL_NTPINFO_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 KSPROPERTY_NETWORKCAMERACONTROL_NTPINFO_TYPE ( pub i32 ) ; pub const KSPROPERTY_NETWORKCAMERACONTROL_NTPINFO_TYPE_DISABLE : KSPROPERTY_NETWORKCAMERACONTROL_NTPINFO_TYPE = KSPROPERTY_NETWORKCAMERACONTROL_NTPINFO_TYPE ( 0i32 ) ; pub const KSPROPERTY_NETWORKCAMERACONTROL_NTPINFO_TYPE_HOSTNTP : KSPROPERTY_NETWORKCAMERACONTROL_NTPINFO_TYPE = KSPROPERTY_NETWORKCAMERACONTROL_NTPINFO_TYPE ( 1i32 ) ; pub const KSPROPERYT_NETWORKCAMERACONTROL_NTPINFO_TYPE_CUSTOM : KSPROPERTY_NETWORKCAMERACONTROL_NTPINFO_TYPE = KSPROPERTY_NETWORKCAMERACONTROL_NTPINFO_TYPE ( 2i32 ) ; impl :: std :: convert :: From < i32 > for KSPROPERTY_NETWORKCAMERACONTROL_NTPINFO_TYPE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSPROPERTY_NETWORKCAMERACONTROL_NTPINFO_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 KSPROPERTY_NETWORKCAMERACONTROL_PROPERTY ( pub i32 ) ; pub const KSPROPERTY_NETWORKCAMERACONTROL_NTP : KSPROPERTY_NETWORKCAMERACONTROL_PROPERTY = KSPROPERTY_NETWORKCAMERACONTROL_PROPERTY ( 0i32 ) ; pub const KSPROPERTY_NETWORKCAMERACONTROL_URI : KSPROPERTY_NETWORKCAMERACONTROL_PROPERTY = KSPROPERTY_NETWORKCAMERACONTROL_PROPERTY ( 1i32 ) ; impl :: std :: convert :: From < i32 > for KSPROPERTY_NETWORKCAMERACONTROL_PROPERTY { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSPROPERTY_NETWORKCAMERACONTROL_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 KSPROPERTY_OVERLAYUPDATE ( pub i32 ) ; pub const KSPROPERTY_OVERLAYUPDATE_INTERESTS : KSPROPERTY_OVERLAYUPDATE = KSPROPERTY_OVERLAYUPDATE ( 0i32 ) ; pub const KSPROPERTY_OVERLAYUPDATE_CLIPLIST : KSPROPERTY_OVERLAYUPDATE = KSPROPERTY_OVERLAYUPDATE ( 1i32 ) ; pub const KSPROPERTY_OVERLAYUPDATE_PALETTE : KSPROPERTY_OVERLAYUPDATE = KSPROPERTY_OVERLAYUPDATE ( 2i32 ) ; pub const KSPROPERTY_OVERLAYUPDATE_COLORKEY : KSPROPERTY_OVERLAYUPDATE = KSPROPERTY_OVERLAYUPDATE ( 4i32 ) ; pub const KSPROPERTY_OVERLAYUPDATE_VIDEOPOSITION : KSPROPERTY_OVERLAYUPDATE = KSPROPERTY_OVERLAYUPDATE ( 8i32 ) ; pub const KSPROPERTY_OVERLAYUPDATE_DISPLAYCHANGE : KSPROPERTY_OVERLAYUPDATE = KSPROPERTY_OVERLAYUPDATE ( 16i32 ) ; pub const KSPROPERTY_OVERLAYUPDATE_COLORREF : KSPROPERTY_OVERLAYUPDATE = KSPROPERTY_OVERLAYUPDATE ( 268435456i32 ) ; impl :: std :: convert :: From < i32 > for KSPROPERTY_OVERLAYUPDATE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSPROPERTY_OVERLAYUPDATE { 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 KSPROPERTY_PIN ( pub i32 ) ; pub const KSPROPERTY_PIN_CINSTANCES : KSPROPERTY_PIN = KSPROPERTY_PIN ( 0i32 ) ; pub const KSPROPERTY_PIN_CTYPES : KSPROPERTY_PIN = KSPROPERTY_PIN ( 1i32 ) ; pub const KSPROPERTY_PIN_DATAFLOW : KSPROPERTY_PIN = KSPROPERTY_PIN ( 2i32 ) ; pub const KSPROPERTY_PIN_DATARANGES : KSPROPERTY_PIN = KSPROPERTY_PIN ( 3i32 ) ; pub const KSPROPERTY_PIN_DATAINTERSECTION : KSPROPERTY_PIN = KSPROPERTY_PIN ( 4i32 ) ; pub const KSPROPERTY_PIN_INTERFACES : KSPROPERTY_PIN = KSPROPERTY_PIN ( 5i32 ) ; pub const KSPROPERTY_PIN_MEDIUMS : KSPROPERTY_PIN = KSPROPERTY_PIN ( 6i32 ) ; pub const KSPROPERTY_PIN_COMMUNICATION : KSPROPERTY_PIN = KSPROPERTY_PIN ( 7i32 ) ; pub const KSPROPERTY_PIN_GLOBALCINSTANCES : KSPROPERTY_PIN = KSPROPERTY_PIN ( 8i32 ) ; pub const KSPROPERTY_PIN_NECESSARYINSTANCES : KSPROPERTY_PIN = KSPROPERTY_PIN ( 9i32 ) ; pub const KSPROPERTY_PIN_PHYSICALCONNECTION : KSPROPERTY_PIN = KSPROPERTY_PIN ( 10i32 ) ; pub const KSPROPERTY_PIN_CATEGORY : KSPROPERTY_PIN = KSPROPERTY_PIN ( 11i32 ) ; pub const KSPROPERTY_PIN_NAME : KSPROPERTY_PIN = KSPROPERTY_PIN ( 12i32 ) ; pub const KSPROPERTY_PIN_CONSTRAINEDDATARANGES : KSPROPERTY_PIN = KSPROPERTY_PIN ( 13i32 ) ; pub const KSPROPERTY_PIN_PROPOSEDATAFORMAT : KSPROPERTY_PIN = KSPROPERTY_PIN ( 14i32 ) ; pub const KSPROPERTY_PIN_PROPOSEDATAFORMAT2 : KSPROPERTY_PIN = KSPROPERTY_PIN ( 15i32 ) ; pub const KSPROPERTY_PIN_MODEDATAFORMATS : KSPROPERTY_PIN = KSPROPERTY_PIN ( 16i32 ) ; impl :: std :: convert :: From < i32 > for KSPROPERTY_PIN { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSPROPERTY_PIN { type Abi = Self ; type DefaultType = Self ; } pub const KSPROPERTY_PIN_FLAGS_ATTRIBUTE_RANGE_AWARE : u32 = 1u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSPROPERTY_POSITIONS { pub Current : i64 , pub Stop : i64 , pub CurrentFlags : KS_SEEKING_FLAGS , pub StopFlags : KS_SEEKING_FLAGS } impl KSPROPERTY_POSITIONS { } impl :: std :: default :: Default for KSPROPERTY_POSITIONS { fn default ( ) -> Self { Self { Current : 0 , Stop : 0 , CurrentFlags : :: std :: default :: Default :: default ( ) , StopFlags : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for KSPROPERTY_POSITIONS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSPROPERTY_POSITIONS" ) . field ( "Current" , & self . Current ) . field ( "Stop" , & self . Stop ) . field ( "CurrentFlags" , & self . CurrentFlags ) . field ( "StopFlags" , & self . StopFlags ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSPROPERTY_POSITIONS { fn eq ( & self , other : & Self ) -> bool { self . Current == other . Current && self . Stop == other . Stop && self . CurrentFlags == other . CurrentFlags && self . StopFlags == other . StopFlags } } impl :: std :: cmp :: Eq for KSPROPERTY_POSITIONS { } unsafe impl :: windows :: Abi for KSPROPERTY_POSITIONS { 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 KSPROPERTY_QUALITY ( pub i32 ) ; pub const KSPROPERTY_QUALITY_REPORT : KSPROPERTY_QUALITY = KSPROPERTY_QUALITY ( 0i32 ) ; pub const KSPROPERTY_QUALITY_ERROR : KSPROPERTY_QUALITY = KSPROPERTY_QUALITY ( 1i32 ) ; impl :: std :: convert :: From < i32 > for KSPROPERTY_QUALITY { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSPROPERTY_QUALITY { 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 KSPROPERTY_RTAUDIO ( pub i32 ) ; pub const KSPROPERTY_RTAUDIO_GETPOSITIONFUNCTION : KSPROPERTY_RTAUDIO = KSPROPERTY_RTAUDIO ( 0i32 ) ; pub const KSPROPERTY_RTAUDIO_BUFFER : KSPROPERTY_RTAUDIO = KSPROPERTY_RTAUDIO ( 1i32 ) ; pub const KSPROPERTY_RTAUDIO_HWLATENCY : KSPROPERTY_RTAUDIO = KSPROPERTY_RTAUDIO ( 2i32 ) ; pub const KSPROPERTY_RTAUDIO_POSITIONREGISTER : KSPROPERTY_RTAUDIO = KSPROPERTY_RTAUDIO ( 3i32 ) ; pub const KSPROPERTY_RTAUDIO_CLOCKREGISTER : KSPROPERTY_RTAUDIO = KSPROPERTY_RTAUDIO ( 4i32 ) ; pub const KSPROPERTY_RTAUDIO_BUFFER_WITH_NOTIFICATION : KSPROPERTY_RTAUDIO = KSPROPERTY_RTAUDIO ( 5i32 ) ; pub const KSPROPERTY_RTAUDIO_REGISTER_NOTIFICATION_EVENT : KSPROPERTY_RTAUDIO = KSPROPERTY_RTAUDIO ( 6i32 ) ; pub const KSPROPERTY_RTAUDIO_UNREGISTER_NOTIFICATION_EVENT : KSPROPERTY_RTAUDIO = KSPROPERTY_RTAUDIO ( 7i32 ) ; pub const KSPROPERTY_RTAUDIO_QUERY_NOTIFICATION_SUPPORT : KSPROPERTY_RTAUDIO = KSPROPERTY_RTAUDIO ( 8i32 ) ; pub const KSPROPERTY_RTAUDIO_PACKETCOUNT : KSPROPERTY_RTAUDIO = KSPROPERTY_RTAUDIO ( 9i32 ) ; pub const KSPROPERTY_RTAUDIO_PRESENTATION_POSITION : KSPROPERTY_RTAUDIO = KSPROPERTY_RTAUDIO ( 10i32 ) ; pub const KSPROPERTY_RTAUDIO_GETREADPACKET : KSPROPERTY_RTAUDIO = KSPROPERTY_RTAUDIO ( 11i32 ) ; pub const KSPROPERTY_RTAUDIO_SETWRITEPACKET : KSPROPERTY_RTAUDIO = KSPROPERTY_RTAUDIO ( 12i32 ) ; pub const KSPROPERTY_RTAUDIO_PACKETVREGISTER : KSPROPERTY_RTAUDIO = KSPROPERTY_RTAUDIO ( 13i32 ) ; impl :: std :: convert :: From < i32 > for KSPROPERTY_RTAUDIO { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSPROPERTY_RTAUDIO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSPROPERTY_SELECTOR_NODE_S { pub NodeProperty : KSP_NODE , pub Value : i32 , pub Flags : u32 , pub Capabilities : u32 } impl KSPROPERTY_SELECTOR_NODE_S { } impl :: std :: cmp :: PartialEq for KSPROPERTY_SELECTOR_NODE_S { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSPROPERTY_SELECTOR_NODE_S { } unsafe impl :: windows :: Abi for KSPROPERTY_SELECTOR_NODE_S { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSPROPERTY_SELECTOR_S { pub Property : KSIDENTIFIER , pub Value : i32 , pub Flags : u32 , pub Capabilities : u32 } impl KSPROPERTY_SELECTOR_S { } impl :: std :: cmp :: PartialEq for KSPROPERTY_SELECTOR_S { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSPROPERTY_SELECTOR_S { } unsafe impl :: windows :: Abi for KSPROPERTY_SELECTOR_S { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSPROPERTY_SERIAL { pub PropTypeSet : KSIDENTIFIER , pub Id : u32 , pub PropertyLength : u32 } impl KSPROPERTY_SERIAL { } impl :: std :: cmp :: PartialEq for KSPROPERTY_SERIAL { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSPROPERTY_SERIAL { } unsafe impl :: windows :: Abi for KSPROPERTY_SERIAL { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 1 ) ) ] pub struct KSPROPERTY_SERIALHDR { pub PropertySet : :: windows :: Guid , pub Count : u32 } impl KSPROPERTY_SERIALHDR { } impl :: std :: cmp :: PartialEq for KSPROPERTY_SERIALHDR { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSPROPERTY_SERIALHDR { } unsafe impl :: windows :: Abi for KSPROPERTY_SERIALHDR { 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 KSPROPERTY_SOUNDDETECTOR ( pub i32 ) ; pub const KSPROPERTY_SOUNDDETECTOR_SUPPORTEDPATTERNS : KSPROPERTY_SOUNDDETECTOR = KSPROPERTY_SOUNDDETECTOR ( 1i32 ) ; pub const KSPROPERTY_SOUNDDETECTOR_PATTERNS : KSPROPERTY_SOUNDDETECTOR = KSPROPERTY_SOUNDDETECTOR ( 2i32 ) ; pub const KSPROPERTY_SOUNDDETECTOR_ARMED : KSPROPERTY_SOUNDDETECTOR = KSPROPERTY_SOUNDDETECTOR ( 3i32 ) ; pub const KSPROPERTY_SOUNDDETECTOR_MATCHRESULT : KSPROPERTY_SOUNDDETECTOR = KSPROPERTY_SOUNDDETECTOR ( 4i32 ) ; pub const KSPROPERTY_SOUNDDETECTOR_RESET : KSPROPERTY_SOUNDDETECTOR = KSPROPERTY_SOUNDDETECTOR ( 5i32 ) ; pub const KSPROPERTY_SOUNDDETECTOR_STREAMINGSUPPORT : KSPROPERTY_SOUNDDETECTOR = KSPROPERTY_SOUNDDETECTOR ( 6i32 ) ; impl :: std :: convert :: From < i32 > for KSPROPERTY_SOUNDDETECTOR { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSPROPERTY_SOUNDDETECTOR { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSPROPERTY_SPHLI { pub HLISS : u16 , pub Reserved : u16 , pub StartPTM : u32 , pub EndPTM : u32 , pub StartX : u16 , pub StartY : u16 , pub StopX : u16 , pub StopY : u16 , pub ColCon : KS_COLCON } impl KSPROPERTY_SPHLI { } impl :: std :: default :: Default for KSPROPERTY_SPHLI { fn default ( ) -> Self { Self { HLISS : 0 , Reserved : 0 , StartPTM : 0 , EndPTM : 0 , StartX : 0 , StartY : 0 , StopX : 0 , StopY : 0 , ColCon : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for KSPROPERTY_SPHLI { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSPROPERTY_SPHLI" ) . field ( "HLISS" , & self . HLISS ) . field ( "Reserved" , & self . Reserved ) . field ( "StartPTM" , & self . StartPTM ) . field ( "EndPTM" , & self . EndPTM ) . field ( "StartX" , & self . StartX ) . field ( "StartY" , & self . StartY ) . field ( "StopX" , & self . StopX ) . field ( "StopY" , & self . StopY ) . field ( "ColCon" , & self . ColCon ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSPROPERTY_SPHLI { fn eq ( & self , other : & Self ) -> bool { self . HLISS == other . HLISS && self . Reserved == other . Reserved && self . StartPTM == other . StartPTM && self . EndPTM == other . EndPTM && self . StartX == other . StartX && self . StartY == other . StartY && self . StopX == other . StopX && self . StopY == other . StopY && self . ColCon == other . ColCon } } impl :: std :: cmp :: Eq for KSPROPERTY_SPHLI { } unsafe impl :: windows :: Abi for KSPROPERTY_SPHLI { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSPROPERTY_SPPAL { pub sppal : [ KS_DVD_YUV ;16 ] } impl KSPROPERTY_SPPAL { } impl :: std :: default :: Default for KSPROPERTY_SPPAL { fn default ( ) -> Self { Self { sppal : [ :: std :: default :: Default :: default ( ) ;16 ] } } } impl :: std :: fmt :: Debug for KSPROPERTY_SPPAL { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSPROPERTY_SPPAL" ) . field ( "sppal" , & self . sppal ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSPROPERTY_SPPAL { fn eq ( & self , other : & Self ) -> bool { self . sppal == other . sppal } } impl :: std :: cmp :: Eq for KSPROPERTY_SPPAL { } unsafe impl :: windows :: Abi for KSPROPERTY_SPPAL { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSPROPERTY_STEPPING_LONG { pub SteppingDelta : u32 , pub Reserved : u32 , pub Bounds : KSPROPERTY_BOUNDS_LONG } impl KSPROPERTY_STEPPING_LONG { } impl :: std :: cmp :: PartialEq for KSPROPERTY_STEPPING_LONG { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSPROPERTY_STEPPING_LONG { } unsafe impl :: windows :: Abi for KSPROPERTY_STEPPING_LONG { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSPROPERTY_STEPPING_LONGLONG { pub SteppingDelta : u64 , pub Bounds : KSPROPERTY_BOUNDS_LONGLONG } impl KSPROPERTY_STEPPING_LONGLONG { } impl :: std :: cmp :: PartialEq for KSPROPERTY_STEPPING_LONGLONG { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSPROPERTY_STEPPING_LONGLONG { } unsafe impl :: windows :: Abi for KSPROPERTY_STEPPING_LONGLONG { 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 KSPROPERTY_STREAM ( pub i32 ) ; pub const KSPROPERTY_STREAM_ALLOCATOR : KSPROPERTY_STREAM = KSPROPERTY_STREAM ( 0i32 ) ; pub const KSPROPERTY_STREAM_QUALITY : KSPROPERTY_STREAM = KSPROPERTY_STREAM ( 1i32 ) ; pub const KSPROPERTY_STREAM_DEGRADATION : KSPROPERTY_STREAM = KSPROPERTY_STREAM ( 2i32 ) ; pub const KSPROPERTY_STREAM_MASTERCLOCK : KSPROPERTY_STREAM = KSPROPERTY_STREAM ( 3i32 ) ; pub const KSPROPERTY_STREAM_TIMEFORMAT : KSPROPERTY_STREAM = KSPROPERTY_STREAM ( 4i32 ) ; pub const KSPROPERTY_STREAM_PRESENTATIONTIME : KSPROPERTY_STREAM = KSPROPERTY_STREAM ( 5i32 ) ; pub const KSPROPERTY_STREAM_PRESENTATIONEXTENT : KSPROPERTY_STREAM = KSPROPERTY_STREAM ( 6i32 ) ; pub const KSPROPERTY_STREAM_FRAMETIME : KSPROPERTY_STREAM = KSPROPERTY_STREAM ( 7i32 ) ; pub const KSPROPERTY_STREAM_RATECAPABILITY : KSPROPERTY_STREAM = KSPROPERTY_STREAM ( 8i32 ) ; pub const KSPROPERTY_STREAM_RATE : KSPROPERTY_STREAM = KSPROPERTY_STREAM ( 9i32 ) ; pub const KSPROPERTY_STREAM_PIPE_ID : KSPROPERTY_STREAM = KSPROPERTY_STREAM ( 10i32 ) ; impl :: std :: convert :: From < i32 > for KSPROPERTY_STREAM { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSPROPERTY_STREAM { 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 KSPROPERTY_STREAMINTERFACE ( pub i32 ) ; pub const KSPROPERTY_STREAMINTERFACE_HEADERSIZE : KSPROPERTY_STREAMINTERFACE = KSPROPERTY_STREAMINTERFACE ( 0i32 ) ; impl :: std :: convert :: From < i32 > for KSPROPERTY_STREAMINTERFACE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSPROPERTY_STREAMINTERFACE { 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 KSPROPERTY_TELEPHONY_CONTROL ( pub i32 ) ; pub const KSPROPERTY_TELEPHONY_PROVIDERID : KSPROPERTY_TELEPHONY_CONTROL = KSPROPERTY_TELEPHONY_CONTROL ( 0i32 ) ; pub const KSPROPERTY_TELEPHONY_CALLINFO : KSPROPERTY_TELEPHONY_CONTROL = KSPROPERTY_TELEPHONY_CONTROL ( 1i32 ) ; pub const KSPROPERTY_TELEPHONY_CALLCONTROL : KSPROPERTY_TELEPHONY_CONTROL = KSPROPERTY_TELEPHONY_CONTROL ( 2i32 ) ; pub const KSPROPERTY_TELEPHONY_PROVIDERCHANGE : KSPROPERTY_TELEPHONY_CONTROL = KSPROPERTY_TELEPHONY_CONTROL ( 3i32 ) ; pub const KSPROPERTY_TELEPHONY_CALLHOLD : KSPROPERTY_TELEPHONY_CONTROL = KSPROPERTY_TELEPHONY_CONTROL ( 4i32 ) ; pub const KSPROPERTY_TELEPHONY_MUTE_TX : KSPROPERTY_TELEPHONY_CONTROL = KSPROPERTY_TELEPHONY_CONTROL ( 5i32 ) ; impl :: std :: convert :: From < i32 > for KSPROPERTY_TELEPHONY_CONTROL { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSPROPERTY_TELEPHONY_CONTROL { 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 KSPROPERTY_TELEPHONY_TOPOLOGY ( pub i32 ) ; pub const KSPROPERTY_TELEPHONY_ENDPOINTIDPAIR : KSPROPERTY_TELEPHONY_TOPOLOGY = KSPROPERTY_TELEPHONY_TOPOLOGY ( 0i32 ) ; pub const KSPROPERTY_TELEPHONY_VOLUME : KSPROPERTY_TELEPHONY_TOPOLOGY = KSPROPERTY_TELEPHONY_TOPOLOGY ( 1i32 ) ; impl :: std :: convert :: From < i32 > for KSPROPERTY_TELEPHONY_TOPOLOGY { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSPROPERTY_TELEPHONY_TOPOLOGY { 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 KSPROPERTY_TIMECODE ( pub i32 ) ; pub const KSPROPERTY_TIMECODE_READER : KSPROPERTY_TIMECODE = KSPROPERTY_TIMECODE ( 0i32 ) ; pub const KSPROPERTY_ATN_READER : KSPROPERTY_TIMECODE = KSPROPERTY_TIMECODE ( 1i32 ) ; pub const KSPROPERTY_RTC_READER : KSPROPERTY_TIMECODE = KSPROPERTY_TIMECODE ( 2i32 ) ; impl :: std :: convert :: From < i32 > for KSPROPERTY_TIMECODE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSPROPERTY_TIMECODE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSPROPERTY_TIMECODE_NODE_S { pub NodeProperty : KSP_NODE , pub TimecodeSamp : super::super::super::Graphics::DirectShow:: TIMECODE_SAMPLE } impl KSPROPERTY_TIMECODE_NODE_S { } impl :: std :: cmp :: PartialEq for KSPROPERTY_TIMECODE_NODE_S { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSPROPERTY_TIMECODE_NODE_S { } unsafe impl :: windows :: Abi for KSPROPERTY_TIMECODE_NODE_S { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSPROPERTY_TIMECODE_S { pub Property : KSIDENTIFIER , pub TimecodeSamp : super::super::super::Graphics::DirectShow:: TIMECODE_SAMPLE } impl KSPROPERTY_TIMECODE_S { } impl :: std :: cmp :: PartialEq for KSPROPERTY_TIMECODE_S { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSPROPERTY_TIMECODE_S { } unsafe impl :: windows :: Abi for KSPROPERTY_TIMECODE_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 KSPROPERTY_TOPOLOGY ( pub i32 ) ; pub const KSPROPERTY_TOPOLOGY_CATEGORIES : KSPROPERTY_TOPOLOGY = KSPROPERTY_TOPOLOGY ( 0i32 ) ; pub const KSPROPERTY_TOPOLOGY_NODES : KSPROPERTY_TOPOLOGY = KSPROPERTY_TOPOLOGY ( 1i32 ) ; pub const KSPROPERTY_TOPOLOGY_CONNECTIONS : KSPROPERTY_TOPOLOGY = KSPROPERTY_TOPOLOGY ( 2i32 ) ; pub const KSPROPERTY_TOPOLOGY_NAME : KSPROPERTY_TOPOLOGY = KSPROPERTY_TOPOLOGY ( 3i32 ) ; impl :: std :: convert :: From < i32 > for KSPROPERTY_TOPOLOGY { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSPROPERTY_TOPOLOGY { 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 KSPROPERTY_TOPOLOGYNODE ( pub i32 ) ; pub const KSPROPERTY_TOPOLOGYNODE_ENABLE : KSPROPERTY_TOPOLOGYNODE = KSPROPERTY_TOPOLOGYNODE ( 1i32 ) ; pub const KSPROPERTY_TOPOLOGYNODE_RESET : KSPROPERTY_TOPOLOGYNODE = KSPROPERTY_TOPOLOGYNODE ( 2i32 ) ; impl :: std :: convert :: From < i32 > for KSPROPERTY_TOPOLOGYNODE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSPROPERTY_TOPOLOGYNODE { 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 KSPROPERTY_TUNER ( pub i32 ) ; pub const KSPROPERTY_TUNER_CAPS : KSPROPERTY_TUNER = KSPROPERTY_TUNER ( 0i32 ) ; pub const KSPROPERTY_TUNER_MODE_CAPS : KSPROPERTY_TUNER = KSPROPERTY_TUNER ( 1i32 ) ; pub const KSPROPERTY_TUNER_MODE : KSPROPERTY_TUNER = KSPROPERTY_TUNER ( 2i32 ) ; pub const KSPROPERTY_TUNER_STANDARD : KSPROPERTY_TUNER = KSPROPERTY_TUNER ( 3i32 ) ; pub const KSPROPERTY_TUNER_FREQUENCY : KSPROPERTY_TUNER = KSPROPERTY_TUNER ( 4i32 ) ; pub const KSPROPERTY_TUNER_INPUT : KSPROPERTY_TUNER = KSPROPERTY_TUNER ( 5i32 ) ; pub const KSPROPERTY_TUNER_STATUS : KSPROPERTY_TUNER = KSPROPERTY_TUNER ( 6i32 ) ; pub const KSPROPERTY_TUNER_IF_MEDIUM : KSPROPERTY_TUNER = KSPROPERTY_TUNER ( 7i32 ) ; pub const KSPROPERTY_TUNER_SCAN_CAPS : KSPROPERTY_TUNER = KSPROPERTY_TUNER ( 8i32 ) ; pub const KSPROPERTY_TUNER_SCAN_STATUS : KSPROPERTY_TUNER = KSPROPERTY_TUNER ( 9i32 ) ; pub const KSPROPERTY_TUNER_STANDARD_MODE : KSPROPERTY_TUNER = KSPROPERTY_TUNER ( 10i32 ) ; pub const KSPROPERTY_TUNER_NETWORKTYPE_SCAN_CAPS : KSPROPERTY_TUNER = KSPROPERTY_TUNER ( 11i32 ) ; impl :: std :: convert :: From < i32 > for KSPROPERTY_TUNER { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSPROPERTY_TUNER { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSPROPERTY_TUNER_CAPS_S { pub Property : KSIDENTIFIER , pub ModesSupported : u32 , pub VideoMedium : KSIDENTIFIER , pub TVAudioMedium : KSIDENTIFIER , pub RadioAudioMedium : KSIDENTIFIER } impl KSPROPERTY_TUNER_CAPS_S { } impl :: std :: cmp :: PartialEq for KSPROPERTY_TUNER_CAPS_S { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSPROPERTY_TUNER_CAPS_S { } unsafe impl :: windows :: Abi for KSPROPERTY_TUNER_CAPS_S { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSPROPERTY_TUNER_FREQUENCY_S { pub Property : KSIDENTIFIER , pub Frequency : u32 , pub LastFrequency : u32 , pub TuningFlags : u32 , pub VideoSubChannel : u32 , pub AudioSubChannel : u32 , pub Channel : u32 , pub Country : u32 } impl KSPROPERTY_TUNER_FREQUENCY_S { } impl :: std :: cmp :: PartialEq for KSPROPERTY_TUNER_FREQUENCY_S { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSPROPERTY_TUNER_FREQUENCY_S { } unsafe impl :: windows :: Abi for KSPROPERTY_TUNER_FREQUENCY_S { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSPROPERTY_TUNER_IF_MEDIUM_S { pub Property : KSIDENTIFIER , pub IFMedium : KSIDENTIFIER } impl KSPROPERTY_TUNER_IF_MEDIUM_S { } impl :: std :: cmp :: PartialEq for KSPROPERTY_TUNER_IF_MEDIUM_S { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSPROPERTY_TUNER_IF_MEDIUM_S { } unsafe impl :: windows :: Abi for KSPROPERTY_TUNER_IF_MEDIUM_S { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSPROPERTY_TUNER_INPUT_S { pub Property : KSIDENTIFIER , pub InputIndex : u32 } impl KSPROPERTY_TUNER_INPUT_S { } impl :: std :: cmp :: PartialEq for KSPROPERTY_TUNER_INPUT_S { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSPROPERTY_TUNER_INPUT_S { } unsafe impl :: windows :: Abi for KSPROPERTY_TUNER_INPUT_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 KSPROPERTY_TUNER_MODES ( pub i32 ) ; pub const KSPROPERTY_TUNER_MODE_TV : KSPROPERTY_TUNER_MODES = KSPROPERTY_TUNER_MODES ( 1i32 ) ; pub const KSPROPERTY_TUNER_MODE_FM_RADIO : KSPROPERTY_TUNER_MODES = KSPROPERTY_TUNER_MODES ( 2i32 ) ; pub const KSPROPERTY_TUNER_MODE_AM_RADIO : KSPROPERTY_TUNER_MODES = KSPROPERTY_TUNER_MODES ( 4i32 ) ; pub const KSPROPERTY_TUNER_MODE_DSS : KSPROPERTY_TUNER_MODES = KSPROPERTY_TUNER_MODES ( 8i32 ) ; pub const KSPROPERTY_TUNER_MODE_ATSC : KSPROPERTY_TUNER_MODES = KSPROPERTY_TUNER_MODES ( 16i32 ) ; impl :: std :: convert :: From < i32 > for KSPROPERTY_TUNER_MODES { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSPROPERTY_TUNER_MODES { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSPROPERTY_TUNER_MODE_CAPS_S { pub Property : KSIDENTIFIER , pub Mode : u32 , pub StandardsSupported : u32 , pub MinFrequency : u32 , pub MaxFrequency : u32 , pub TuningGranularity : u32 , pub NumberOfInputs : u32 , pub SettlingTime : u32 , pub Strategy : u32 } impl KSPROPERTY_TUNER_MODE_CAPS_S { } impl :: std :: cmp :: PartialEq for KSPROPERTY_TUNER_MODE_CAPS_S { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSPROPERTY_TUNER_MODE_CAPS_S { } unsafe impl :: windows :: Abi for KSPROPERTY_TUNER_MODE_CAPS_S { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSPROPERTY_TUNER_MODE_S { pub Property : KSIDENTIFIER , pub Mode : u32 } impl KSPROPERTY_TUNER_MODE_S { } impl :: std :: cmp :: PartialEq for KSPROPERTY_TUNER_MODE_S { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSPROPERTY_TUNER_MODE_S { } unsafe impl :: windows :: Abi for KSPROPERTY_TUNER_MODE_S { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSPROPERTY_TUNER_NETWORKTYPE_SCAN_CAPS_S { pub Property : KSIDENTIFIER , pub NetworkType : :: windows :: Guid , pub BufferSize : u32 , pub NetworkTunerCapabilities : * mut :: std :: ffi :: c_void } impl KSPROPERTY_TUNER_NETWORKTYPE_SCAN_CAPS_S { } impl :: std :: cmp :: PartialEq for KSPROPERTY_TUNER_NETWORKTYPE_SCAN_CAPS_S { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSPROPERTY_TUNER_NETWORKTYPE_SCAN_CAPS_S { } unsafe impl :: windows :: Abi for KSPROPERTY_TUNER_NETWORKTYPE_SCAN_CAPS_S { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSPROPERTY_TUNER_SCAN_CAPS_S { pub Property : KSIDENTIFIER , pub fSupportsHardwareAssistedScanning : super::super::super::Foundation:: BOOL , pub SupportedBroadcastStandards : u32 , pub GUIDBucket : * mut :: std :: ffi :: c_void , pub lengthofBucket : u32 } impl KSPROPERTY_TUNER_SCAN_CAPS_S { } impl :: std :: cmp :: PartialEq for KSPROPERTY_TUNER_SCAN_CAPS_S { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSPROPERTY_TUNER_SCAN_CAPS_S { } unsafe impl :: windows :: Abi for KSPROPERTY_TUNER_SCAN_CAPS_S { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSPROPERTY_TUNER_SCAN_STATUS_S { pub Property : KSIDENTIFIER , pub LockStatus : _TunerDecoderLockType , pub CurrentFrequency : u32 } impl KSPROPERTY_TUNER_SCAN_STATUS_S { } impl :: std :: cmp :: PartialEq for KSPROPERTY_TUNER_SCAN_STATUS_S { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSPROPERTY_TUNER_SCAN_STATUS_S { } unsafe impl :: windows :: Abi for KSPROPERTY_TUNER_SCAN_STATUS_S { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSPROPERTY_TUNER_STANDARD_MODE_S { pub Property : KSIDENTIFIER , pub AutoDetect : super::super::super::Foundation:: BOOL } impl KSPROPERTY_TUNER_STANDARD_MODE_S { } impl :: std :: cmp :: PartialEq for KSPROPERTY_TUNER_STANDARD_MODE_S { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSPROPERTY_TUNER_STANDARD_MODE_S { } unsafe impl :: windows :: Abi for KSPROPERTY_TUNER_STANDARD_MODE_S { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSPROPERTY_TUNER_STANDARD_S { pub Property : KSIDENTIFIER , pub Standard : u32 } impl KSPROPERTY_TUNER_STANDARD_S { } impl :: std :: cmp :: PartialEq for KSPROPERTY_TUNER_STANDARD_S { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSPROPERTY_TUNER_STANDARD_S { } unsafe impl :: windows :: Abi for KSPROPERTY_TUNER_STANDARD_S { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSPROPERTY_TUNER_STATUS_S { pub Property : KSIDENTIFIER , pub CurrentFrequency : u32 , pub PLLOffset : u32 , pub SignalStrength : u32 , pub Busy : u32 } impl KSPROPERTY_TUNER_STATUS_S { } impl :: std :: cmp :: PartialEq for KSPROPERTY_TUNER_STATUS_S { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSPROPERTY_TUNER_STATUS_S { } unsafe impl :: windows :: Abi for KSPROPERTY_TUNER_STATUS_S { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSPROPERTY_TVAUDIO_CAPS_S { pub Property : KSIDENTIFIER , pub Capabilities : u32 , pub InputMedium : KSIDENTIFIER , pub OutputMedium : KSIDENTIFIER } impl KSPROPERTY_TVAUDIO_CAPS_S { } impl :: std :: cmp :: PartialEq for KSPROPERTY_TVAUDIO_CAPS_S { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSPROPERTY_TVAUDIO_CAPS_S { } unsafe impl :: windows :: Abi for KSPROPERTY_TVAUDIO_CAPS_S { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSPROPERTY_TVAUDIO_S { pub Property : KSIDENTIFIER , pub Mode : u32 } impl KSPROPERTY_TVAUDIO_S { } impl :: std :: cmp :: PartialEq for KSPROPERTY_TVAUDIO_S { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSPROPERTY_TVAUDIO_S { } unsafe impl :: windows :: Abi for KSPROPERTY_TVAUDIO_S { type Abi = Self ; type DefaultType = Self ; } pub const KSPROPERTY_TYPE_BASICSUPPORT : u32 = 512u32 ; pub const KSPROPERTY_TYPE_COPYPAYLOAD : u32 = 2147483648u32 ; pub const KSPROPERTY_TYPE_DEFAULTVALUES : u32 = 65536u32 ; pub const KSPROPERTY_TYPE_FSFILTERSCOPE : u32 = 1073741824u32 ; pub const KSPROPERTY_TYPE_GET : u32 = 1u32 ; pub const KSPROPERTY_TYPE_GETPAYLOADSIZE : u32 = 4u32 ; pub const KSPROPERTY_TYPE_HIGHPRIORITY : u32 = 134217728u32 ; pub const KSPROPERTY_TYPE_RELATIONS : u32 = 1024u32 ; pub const KSPROPERTY_TYPE_SERIALIZERAW : u32 = 8192u32 ; pub const KSPROPERTY_TYPE_SERIALIZESET : u32 = 2048u32 ; pub const KSPROPERTY_TYPE_SERIALIZESIZE : u32 = 32768u32 ; pub const KSPROPERTY_TYPE_SET : u32 = 2u32 ; pub const KSPROPERTY_TYPE_SETSUPPORT : u32 = 256u32 ; pub const KSPROPERTY_TYPE_TOPOLOGY : u32 = 268435456u32 ; pub const KSPROPERTY_TYPE_UNSERIALIZERAW : u32 = 16384u32 ; pub const KSPROPERTY_TYPE_UNSERIALIZESET : u32 = 4096u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct KSPROPERTY_VBICAP ( pub i32 ) ; pub const KSPROPERTY_VBICAP_PROPERTIES_PROTECTION : KSPROPERTY_VBICAP = KSPROPERTY_VBICAP ( 1i32 ) ; impl :: std :: convert :: From < i32 > for KSPROPERTY_VBICAP { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSPROPERTY_VBICAP { 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 KSPROPERTY_VBICODECFILTERING ( pub i32 ) ; pub const KSPROPERTY_VBICODECFILTERING_SCANLINES_REQUESTED_BIT_ARRAY : KSPROPERTY_VBICODECFILTERING = KSPROPERTY_VBICODECFILTERING ( 1i32 ) ; pub const KSPROPERTY_VBICODECFILTERING_SCANLINES_DISCOVERED_BIT_ARRAY : KSPROPERTY_VBICODECFILTERING = KSPROPERTY_VBICODECFILTERING ( 2i32 ) ; pub const KSPROPERTY_VBICODECFILTERING_SUBSTREAMS_REQUESTED_BIT_ARRAY : KSPROPERTY_VBICODECFILTERING = KSPROPERTY_VBICODECFILTERING ( 3i32 ) ; pub const KSPROPERTY_VBICODECFILTERING_SUBSTREAMS_DISCOVERED_BIT_ARRAY : KSPROPERTY_VBICODECFILTERING = KSPROPERTY_VBICODECFILTERING ( 4i32 ) ; pub const KSPROPERTY_VBICODECFILTERING_STATISTICS : KSPROPERTY_VBICODECFILTERING = KSPROPERTY_VBICODECFILTERING ( 5i32 ) ; impl :: std :: convert :: From < i32 > for KSPROPERTY_VBICODECFILTERING { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSPROPERTY_VBICODECFILTERING { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSPROPERTY_VBICODECFILTERING_CC_SUBSTREAMS_S { pub Property : KSIDENTIFIER , pub Substreams : VBICODECFILTERING_CC_SUBSTREAMS } impl KSPROPERTY_VBICODECFILTERING_CC_SUBSTREAMS_S { } impl :: std :: cmp :: PartialEq for KSPROPERTY_VBICODECFILTERING_CC_SUBSTREAMS_S { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSPROPERTY_VBICODECFILTERING_CC_SUBSTREAMS_S { } unsafe impl :: windows :: Abi for KSPROPERTY_VBICODECFILTERING_CC_SUBSTREAMS_S { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSPROPERTY_VBICODECFILTERING_NABTS_SUBSTREAMS_S { pub Property : KSIDENTIFIER , pub Substreams : VBICODECFILTERING_NABTS_SUBSTREAMS } impl KSPROPERTY_VBICODECFILTERING_NABTS_SUBSTREAMS_S { } impl :: std :: cmp :: PartialEq for KSPROPERTY_VBICODECFILTERING_NABTS_SUBSTREAMS_S { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSPROPERTY_VBICODECFILTERING_NABTS_SUBSTREAMS_S { } unsafe impl :: windows :: Abi for KSPROPERTY_VBICODECFILTERING_NABTS_SUBSTREAMS_S { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSPROPERTY_VBICODECFILTERING_SCANLINES_S { pub Property : KSIDENTIFIER , pub Scanlines : VBICODECFILTERING_SCANLINES } impl KSPROPERTY_VBICODECFILTERING_SCANLINES_S { } impl :: std :: cmp :: PartialEq for KSPROPERTY_VBICODECFILTERING_SCANLINES_S { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSPROPERTY_VBICODECFILTERING_SCANLINES_S { } unsafe impl :: windows :: Abi for KSPROPERTY_VBICODECFILTERING_SCANLINES_S { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSPROPERTY_VBICODECFILTERING_STATISTICS_CC_PIN_S { pub Property : KSIDENTIFIER , pub Statistics : VBICODECFILTERING_STATISTICS_CC_PIN } impl KSPROPERTY_VBICODECFILTERING_STATISTICS_CC_PIN_S { } impl :: std :: cmp :: PartialEq for KSPROPERTY_VBICODECFILTERING_STATISTICS_CC_PIN_S { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSPROPERTY_VBICODECFILTERING_STATISTICS_CC_PIN_S { } unsafe impl :: windows :: Abi for KSPROPERTY_VBICODECFILTERING_STATISTICS_CC_PIN_S { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSPROPERTY_VBICODECFILTERING_STATISTICS_CC_S { pub Property : KSIDENTIFIER , pub Statistics : VBICODECFILTERING_STATISTICS_CC } impl KSPROPERTY_VBICODECFILTERING_STATISTICS_CC_S { } impl :: std :: cmp :: PartialEq for KSPROPERTY_VBICODECFILTERING_STATISTICS_CC_S { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSPROPERTY_VBICODECFILTERING_STATISTICS_CC_S { } unsafe impl :: windows :: Abi for KSPROPERTY_VBICODECFILTERING_STATISTICS_CC_S { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSPROPERTY_VBICODECFILTERING_STATISTICS_COMMON_PIN_S { pub Property : KSIDENTIFIER , pub Statistics : VBICODECFILTERING_STATISTICS_COMMON_PIN } impl KSPROPERTY_VBICODECFILTERING_STATISTICS_COMMON_PIN_S { } impl :: std :: cmp :: PartialEq for KSPROPERTY_VBICODECFILTERING_STATISTICS_COMMON_PIN_S { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSPROPERTY_VBICODECFILTERING_STATISTICS_COMMON_PIN_S { } unsafe impl :: windows :: Abi for KSPROPERTY_VBICODECFILTERING_STATISTICS_COMMON_PIN_S { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSPROPERTY_VBICODECFILTERING_STATISTICS_COMMON_S { pub Property : KSIDENTIFIER , pub Statistics : VBICODECFILTERING_STATISTICS_COMMON } impl KSPROPERTY_VBICODECFILTERING_STATISTICS_COMMON_S { } impl :: std :: cmp :: PartialEq for KSPROPERTY_VBICODECFILTERING_STATISTICS_COMMON_S { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSPROPERTY_VBICODECFILTERING_STATISTICS_COMMON_S { } unsafe impl :: windows :: Abi for KSPROPERTY_VBICODECFILTERING_STATISTICS_COMMON_S { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSPROPERTY_VBICODECFILTERING_STATISTICS_NABTS_PIN_S { pub Property : KSIDENTIFIER , pub Statistics : VBICODECFILTERING_STATISTICS_NABTS_PIN } impl KSPROPERTY_VBICODECFILTERING_STATISTICS_NABTS_PIN_S { } impl :: std :: cmp :: PartialEq for KSPROPERTY_VBICODECFILTERING_STATISTICS_NABTS_PIN_S { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSPROPERTY_VBICODECFILTERING_STATISTICS_NABTS_PIN_S { } unsafe impl :: windows :: Abi for KSPROPERTY_VBICODECFILTERING_STATISTICS_NABTS_PIN_S { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSPROPERTY_VBICODECFILTERING_STATISTICS_NABTS_S { pub Property : KSIDENTIFIER , pub Statistics : VBICODECFILTERING_STATISTICS_NABTS } impl KSPROPERTY_VBICODECFILTERING_STATISTICS_NABTS_S { } impl :: std :: cmp :: PartialEq for KSPROPERTY_VBICODECFILTERING_STATISTICS_NABTS_S { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSPROPERTY_VBICODECFILTERING_STATISTICS_NABTS_S { } unsafe impl :: windows :: Abi for KSPROPERTY_VBICODECFILTERING_STATISTICS_NABTS_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 KSPROPERTY_VIDCAP_CAMERACONTROL ( pub i32 ) ; pub const KSPROPERTY_CAMERACONTROL_PAN : KSPROPERTY_VIDCAP_CAMERACONTROL = KSPROPERTY_VIDCAP_CAMERACONTROL ( 0i32 ) ; pub const KSPROPERTY_CAMERACONTROL_TILT : KSPROPERTY_VIDCAP_CAMERACONTROL = KSPROPERTY_VIDCAP_CAMERACONTROL ( 1i32 ) ; pub const KSPROPERTY_CAMERACONTROL_ROLL : KSPROPERTY_VIDCAP_CAMERACONTROL = KSPROPERTY_VIDCAP_CAMERACONTROL ( 2i32 ) ; pub const KSPROPERTY_CAMERACONTROL_ZOOM : KSPROPERTY_VIDCAP_CAMERACONTROL = KSPROPERTY_VIDCAP_CAMERACONTROL ( 3i32 ) ; pub const KSPROPERTY_CAMERACONTROL_EXPOSURE : KSPROPERTY_VIDCAP_CAMERACONTROL = KSPROPERTY_VIDCAP_CAMERACONTROL ( 4i32 ) ; pub const KSPROPERTY_CAMERACONTROL_IRIS : KSPROPERTY_VIDCAP_CAMERACONTROL = KSPROPERTY_VIDCAP_CAMERACONTROL ( 5i32 ) ; pub const KSPROPERTY_CAMERACONTROL_FOCUS : KSPROPERTY_VIDCAP_CAMERACONTROL = KSPROPERTY_VIDCAP_CAMERACONTROL ( 6i32 ) ; pub const KSPROPERTY_CAMERACONTROL_SCANMODE : KSPROPERTY_VIDCAP_CAMERACONTROL = KSPROPERTY_VIDCAP_CAMERACONTROL ( 7i32 ) ; pub const KSPROPERTY_CAMERACONTROL_PRIVACY : KSPROPERTY_VIDCAP_CAMERACONTROL = KSPROPERTY_VIDCAP_CAMERACONTROL ( 8i32 ) ; pub const KSPROPERTY_CAMERACONTROL_PANTILT : KSPROPERTY_VIDCAP_CAMERACONTROL = KSPROPERTY_VIDCAP_CAMERACONTROL ( 9i32 ) ; pub const KSPROPERTY_CAMERACONTROL_PAN_RELATIVE : KSPROPERTY_VIDCAP_CAMERACONTROL = KSPROPERTY_VIDCAP_CAMERACONTROL ( 10i32 ) ; pub const KSPROPERTY_CAMERACONTROL_TILT_RELATIVE : KSPROPERTY_VIDCAP_CAMERACONTROL = KSPROPERTY_VIDCAP_CAMERACONTROL ( 11i32 ) ; pub const KSPROPERTY_CAMERACONTROL_ROLL_RELATIVE : KSPROPERTY_VIDCAP_CAMERACONTROL = KSPROPERTY_VIDCAP_CAMERACONTROL ( 12i32 ) ; pub const KSPROPERTY_CAMERACONTROL_ZOOM_RELATIVE : KSPROPERTY_VIDCAP_CAMERACONTROL = KSPROPERTY_VIDCAP_CAMERACONTROL ( 13i32 ) ; pub const KSPROPERTY_CAMERACONTROL_EXPOSURE_RELATIVE : KSPROPERTY_VIDCAP_CAMERACONTROL = KSPROPERTY_VIDCAP_CAMERACONTROL ( 14i32 ) ; pub const KSPROPERTY_CAMERACONTROL_IRIS_RELATIVE : KSPROPERTY_VIDCAP_CAMERACONTROL = KSPROPERTY_VIDCAP_CAMERACONTROL ( 15i32 ) ; pub const KSPROPERTY_CAMERACONTROL_FOCUS_RELATIVE : KSPROPERTY_VIDCAP_CAMERACONTROL = KSPROPERTY_VIDCAP_CAMERACONTROL ( 16i32 ) ; pub const KSPROPERTY_CAMERACONTROL_PANTILT_RELATIVE : KSPROPERTY_VIDCAP_CAMERACONTROL = KSPROPERTY_VIDCAP_CAMERACONTROL ( 17i32 ) ; pub const KSPROPERTY_CAMERACONTROL_FOCAL_LENGTH : KSPROPERTY_VIDCAP_CAMERACONTROL = KSPROPERTY_VIDCAP_CAMERACONTROL ( 18i32 ) ; pub const KSPROPERTY_CAMERACONTROL_AUTO_EXPOSURE_PRIORITY : KSPROPERTY_VIDCAP_CAMERACONTROL = KSPROPERTY_VIDCAP_CAMERACONTROL ( 19i32 ) ; impl :: std :: convert :: From < i32 > for KSPROPERTY_VIDCAP_CAMERACONTROL { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSPROPERTY_VIDCAP_CAMERACONTROL { 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 KSPROPERTY_VIDCAP_CROSSBAR ( pub i32 ) ; pub const KSPROPERTY_CROSSBAR_CAPS : KSPROPERTY_VIDCAP_CROSSBAR = KSPROPERTY_VIDCAP_CROSSBAR ( 0i32 ) ; pub const KSPROPERTY_CROSSBAR_PININFO : KSPROPERTY_VIDCAP_CROSSBAR = KSPROPERTY_VIDCAP_CROSSBAR ( 1i32 ) ; pub const KSPROPERTY_CROSSBAR_CAN_ROUTE : KSPROPERTY_VIDCAP_CROSSBAR = KSPROPERTY_VIDCAP_CROSSBAR ( 2i32 ) ; pub const KSPROPERTY_CROSSBAR_ROUTE : KSPROPERTY_VIDCAP_CROSSBAR = KSPROPERTY_VIDCAP_CROSSBAR ( 3i32 ) ; pub const KSPROPERTY_CROSSBAR_INPUT_ACTIVE : KSPROPERTY_VIDCAP_CROSSBAR = KSPROPERTY_VIDCAP_CROSSBAR ( 4i32 ) ; impl :: std :: convert :: From < i32 > for KSPROPERTY_VIDCAP_CROSSBAR { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSPROPERTY_VIDCAP_CROSSBAR { 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 KSPROPERTY_VIDCAP_DROPPEDFRAMES ( pub i32 ) ; pub const KSPROPERTY_DROPPEDFRAMES_CURRENT : KSPROPERTY_VIDCAP_DROPPEDFRAMES = KSPROPERTY_VIDCAP_DROPPEDFRAMES ( 0i32 ) ; impl :: std :: convert :: From < i32 > for KSPROPERTY_VIDCAP_DROPPEDFRAMES { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSPROPERTY_VIDCAP_DROPPEDFRAMES { 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 KSPROPERTY_VIDCAP_SELECTOR ( pub i32 ) ; pub const KSPROPERTY_SELECTOR_SOURCE_NODE_ID : KSPROPERTY_VIDCAP_SELECTOR = KSPROPERTY_VIDCAP_SELECTOR ( 0i32 ) ; pub const KSPROPERTY_SELECTOR_NUM_SOURCES : KSPROPERTY_VIDCAP_SELECTOR = KSPROPERTY_VIDCAP_SELECTOR ( 1i32 ) ; impl :: std :: convert :: From < i32 > for KSPROPERTY_VIDCAP_SELECTOR { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSPROPERTY_VIDCAP_SELECTOR { 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 KSPROPERTY_VIDCAP_TVAUDIO ( pub i32 ) ; pub const KSPROPERTY_TVAUDIO_CAPS : KSPROPERTY_VIDCAP_TVAUDIO = KSPROPERTY_VIDCAP_TVAUDIO ( 0i32 ) ; pub const KSPROPERTY_TVAUDIO_MODE : KSPROPERTY_VIDCAP_TVAUDIO = KSPROPERTY_VIDCAP_TVAUDIO ( 1i32 ) ; pub const KSPROPERTY_TVAUDIO_CURRENTLY_AVAILABLE_MODES : KSPROPERTY_VIDCAP_TVAUDIO = KSPROPERTY_VIDCAP_TVAUDIO ( 2i32 ) ; impl :: std :: convert :: From < i32 > for KSPROPERTY_VIDCAP_TVAUDIO { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSPROPERTY_VIDCAP_TVAUDIO { 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 KSPROPERTY_VIDCAP_VIDEOCOMPRESSION ( pub i32 ) ; pub const KSPROPERTY_VIDEOCOMPRESSION_GETINFO : KSPROPERTY_VIDCAP_VIDEOCOMPRESSION = KSPROPERTY_VIDCAP_VIDEOCOMPRESSION ( 0i32 ) ; pub const KSPROPERTY_VIDEOCOMPRESSION_KEYFRAME_RATE : KSPROPERTY_VIDCAP_VIDEOCOMPRESSION = KSPROPERTY_VIDCAP_VIDEOCOMPRESSION ( 1i32 ) ; pub const KSPROPERTY_VIDEOCOMPRESSION_PFRAMES_PER_KEYFRAME : KSPROPERTY_VIDCAP_VIDEOCOMPRESSION = KSPROPERTY_VIDCAP_VIDEOCOMPRESSION ( 2i32 ) ; pub const KSPROPERTY_VIDEOCOMPRESSION_QUALITY : KSPROPERTY_VIDCAP_VIDEOCOMPRESSION = KSPROPERTY_VIDCAP_VIDEOCOMPRESSION ( 3i32 ) ; pub const KSPROPERTY_VIDEOCOMPRESSION_OVERRIDE_KEYFRAME : KSPROPERTY_VIDCAP_VIDEOCOMPRESSION = KSPROPERTY_VIDCAP_VIDEOCOMPRESSION ( 4i32 ) ; pub const KSPROPERTY_VIDEOCOMPRESSION_OVERRIDE_FRAME_SIZE : KSPROPERTY_VIDCAP_VIDEOCOMPRESSION = KSPROPERTY_VIDCAP_VIDEOCOMPRESSION ( 5i32 ) ; pub const KSPROPERTY_VIDEOCOMPRESSION_WINDOWSIZE : KSPROPERTY_VIDCAP_VIDEOCOMPRESSION = KSPROPERTY_VIDCAP_VIDEOCOMPRESSION ( 6i32 ) ; impl :: std :: convert :: From < i32 > for KSPROPERTY_VIDCAP_VIDEOCOMPRESSION { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSPROPERTY_VIDCAP_VIDEOCOMPRESSION { 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 KSPROPERTY_VIDCAP_VIDEOCONTROL ( pub i32 ) ; pub const KSPROPERTY_VIDEOCONTROL_CAPS : KSPROPERTY_VIDCAP_VIDEOCONTROL = KSPROPERTY_VIDCAP_VIDEOCONTROL ( 0i32 ) ; pub const KSPROPERTY_VIDEOCONTROL_ACTUAL_FRAME_RATE : KSPROPERTY_VIDCAP_VIDEOCONTROL = KSPROPERTY_VIDCAP_VIDEOCONTROL ( 1i32 ) ; pub const KSPROPERTY_VIDEOCONTROL_FRAME_RATES : KSPROPERTY_VIDCAP_VIDEOCONTROL = KSPROPERTY_VIDCAP_VIDEOCONTROL ( 2i32 ) ; pub const KSPROPERTY_VIDEOCONTROL_MODE : KSPROPERTY_VIDCAP_VIDEOCONTROL = KSPROPERTY_VIDCAP_VIDEOCONTROL ( 3i32 ) ; impl :: std :: convert :: From < i32 > for KSPROPERTY_VIDCAP_VIDEOCONTROL { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSPROPERTY_VIDCAP_VIDEOCONTROL { 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 KSPROPERTY_VIDCAP_VIDEODECODER ( pub i32 ) ; pub const KSPROPERTY_VIDEODECODER_CAPS : KSPROPERTY_VIDCAP_VIDEODECODER = KSPROPERTY_VIDCAP_VIDEODECODER ( 0i32 ) ; pub const KSPROPERTY_VIDEODECODER_STANDARD : KSPROPERTY_VIDCAP_VIDEODECODER = KSPROPERTY_VIDCAP_VIDEODECODER ( 1i32 ) ; pub const KSPROPERTY_VIDEODECODER_STATUS : KSPROPERTY_VIDCAP_VIDEODECODER = KSPROPERTY_VIDCAP_VIDEODECODER ( 2i32 ) ; pub const KSPROPERTY_VIDEODECODER_OUTPUT_ENABLE : KSPROPERTY_VIDCAP_VIDEODECODER = KSPROPERTY_VIDCAP_VIDEODECODER ( 3i32 ) ; pub const KSPROPERTY_VIDEODECODER_VCR_TIMING : KSPROPERTY_VIDCAP_VIDEODECODER = KSPROPERTY_VIDCAP_VIDEODECODER ( 4i32 ) ; pub const KSPROPERTY_VIDEODECODER_STATUS2 : KSPROPERTY_VIDCAP_VIDEODECODER = KSPROPERTY_VIDCAP_VIDEODECODER ( 5i32 ) ; impl :: std :: convert :: From < i32 > for KSPROPERTY_VIDCAP_VIDEODECODER { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSPROPERTY_VIDCAP_VIDEODECODER { 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 KSPROPERTY_VIDCAP_VIDEOENCODER ( pub i32 ) ; pub const KSPROPERTY_VIDEOENCODER_CAPS : KSPROPERTY_VIDCAP_VIDEOENCODER = KSPROPERTY_VIDCAP_VIDEOENCODER ( 0i32 ) ; pub const KSPROPERTY_VIDEOENCODER_STANDARD : KSPROPERTY_VIDCAP_VIDEOENCODER = KSPROPERTY_VIDCAP_VIDEOENCODER ( 1i32 ) ; pub const KSPROPERTY_VIDEOENCODER_COPYPROTECTION : KSPROPERTY_VIDCAP_VIDEOENCODER = KSPROPERTY_VIDCAP_VIDEOENCODER ( 2i32 ) ; pub const KSPROPERTY_VIDEOENCODER_CC_ENABLE : KSPROPERTY_VIDCAP_VIDEOENCODER = KSPROPERTY_VIDCAP_VIDEOENCODER ( 3i32 ) ; impl :: std :: convert :: From < i32 > for KSPROPERTY_VIDCAP_VIDEOENCODER { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSPROPERTY_VIDCAP_VIDEOENCODER { 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 KSPROPERTY_VIDCAP_VIDEOPROCAMP ( pub i32 ) ; pub const KSPROPERTY_VIDEOPROCAMP_BRIGHTNESS : KSPROPERTY_VIDCAP_VIDEOPROCAMP = KSPROPERTY_VIDCAP_VIDEOPROCAMP ( 0i32 ) ; pub const KSPROPERTY_VIDEOPROCAMP_CONTRAST : KSPROPERTY_VIDCAP_VIDEOPROCAMP = KSPROPERTY_VIDCAP_VIDEOPROCAMP ( 1i32 ) ; pub const KSPROPERTY_VIDEOPROCAMP_HUE : KSPROPERTY_VIDCAP_VIDEOPROCAMP = KSPROPERTY_VIDCAP_VIDEOPROCAMP ( 2i32 ) ; pub const KSPROPERTY_VIDEOPROCAMP_SATURATION : KSPROPERTY_VIDCAP_VIDEOPROCAMP = KSPROPERTY_VIDCAP_VIDEOPROCAMP ( 3i32 ) ; pub const KSPROPERTY_VIDEOPROCAMP_SHARPNESS : KSPROPERTY_VIDCAP_VIDEOPROCAMP = KSPROPERTY_VIDCAP_VIDEOPROCAMP ( 4i32 ) ; pub const KSPROPERTY_VIDEOPROCAMP_GAMMA : KSPROPERTY_VIDCAP_VIDEOPROCAMP = KSPROPERTY_VIDCAP_VIDEOPROCAMP ( 5i32 ) ; pub const KSPROPERTY_VIDEOPROCAMP_COLORENABLE : KSPROPERTY_VIDCAP_VIDEOPROCAMP = KSPROPERTY_VIDCAP_VIDEOPROCAMP ( 6i32 ) ; pub const KSPROPERTY_VIDEOPROCAMP_WHITEBALANCE : KSPROPERTY_VIDCAP_VIDEOPROCAMP = KSPROPERTY_VIDCAP_VIDEOPROCAMP ( 7i32 ) ; pub const KSPROPERTY_VIDEOPROCAMP_BACKLIGHT_COMPENSATION : KSPROPERTY_VIDCAP_VIDEOPROCAMP = KSPROPERTY_VIDCAP_VIDEOPROCAMP ( 8i32 ) ; pub const KSPROPERTY_VIDEOPROCAMP_GAIN : KSPROPERTY_VIDCAP_VIDEOPROCAMP = KSPROPERTY_VIDCAP_VIDEOPROCAMP ( 9i32 ) ; pub const KSPROPERTY_VIDEOPROCAMP_DIGITAL_MULTIPLIER : KSPROPERTY_VIDCAP_VIDEOPROCAMP = KSPROPERTY_VIDCAP_VIDEOPROCAMP ( 10i32 ) ; pub const KSPROPERTY_VIDEOPROCAMP_DIGITAL_MULTIPLIER_LIMIT : KSPROPERTY_VIDCAP_VIDEOPROCAMP = KSPROPERTY_VIDCAP_VIDEOPROCAMP ( 11i32 ) ; pub const KSPROPERTY_VIDEOPROCAMP_WHITEBALANCE_COMPONENT : KSPROPERTY_VIDCAP_VIDEOPROCAMP = KSPROPERTY_VIDCAP_VIDEOPROCAMP ( 12i32 ) ; pub const KSPROPERTY_VIDEOPROCAMP_POWERLINE_FREQUENCY : KSPROPERTY_VIDCAP_VIDEOPROCAMP = KSPROPERTY_VIDCAP_VIDEOPROCAMP ( 13i32 ) ; impl :: std :: convert :: From < i32 > for KSPROPERTY_VIDCAP_VIDEOPROCAMP { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSPROPERTY_VIDCAP_VIDEOPROCAMP { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSPROPERTY_VIDEOCOMPRESSION_GETINFO_S { pub Property : KSIDENTIFIER , pub StreamIndex : u32 , pub DefaultKeyFrameRate : i32 , pub DefaultPFrameRate : i32 , pub DefaultQuality : i32 , pub NumberOfQualitySettings : i32 , pub Capabilities : i32 } impl KSPROPERTY_VIDEOCOMPRESSION_GETINFO_S { } impl :: std :: cmp :: PartialEq for KSPROPERTY_VIDEOCOMPRESSION_GETINFO_S { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSPROPERTY_VIDEOCOMPRESSION_GETINFO_S { } unsafe impl :: windows :: Abi for KSPROPERTY_VIDEOCOMPRESSION_GETINFO_S { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSPROPERTY_VIDEOCOMPRESSION_S { pub Property : KSIDENTIFIER , pub StreamIndex : u32 , pub Value : i32 } impl KSPROPERTY_VIDEOCOMPRESSION_S { } impl :: std :: cmp :: PartialEq for KSPROPERTY_VIDEOCOMPRESSION_S { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSPROPERTY_VIDEOCOMPRESSION_S { } unsafe impl :: windows :: Abi for KSPROPERTY_VIDEOCOMPRESSION_S { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSPROPERTY_VIDEOCOMPRESSION_S1 { pub Property : KSIDENTIFIER , pub StreamIndex : u32 , pub Value : i32 , pub Flags : u32 } impl KSPROPERTY_VIDEOCOMPRESSION_S1 { } impl :: std :: cmp :: PartialEq for KSPROPERTY_VIDEOCOMPRESSION_S1 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSPROPERTY_VIDEOCOMPRESSION_S1 { } unsafe impl :: windows :: Abi for KSPROPERTY_VIDEOCOMPRESSION_S1 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSPROPERTY_VIDEOCONTROL_ACTUAL_FRAME_RATE_S { pub Property : KSIDENTIFIER , pub StreamIndex : u32 , pub RangeIndex : u32 , pub Dimensions : super::super::super::Foundation:: SIZE , pub CurrentActualFrameRate : i64 , pub CurrentMaxAvailableFrameRate : i64 } impl KSPROPERTY_VIDEOCONTROL_ACTUAL_FRAME_RATE_S { } impl :: std :: cmp :: PartialEq for KSPROPERTY_VIDEOCONTROL_ACTUAL_FRAME_RATE_S { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSPROPERTY_VIDEOCONTROL_ACTUAL_FRAME_RATE_S { } unsafe impl :: windows :: Abi for KSPROPERTY_VIDEOCONTROL_ACTUAL_FRAME_RATE_S { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSPROPERTY_VIDEOCONTROL_CAPS_S { pub Property : KSIDENTIFIER , pub StreamIndex : u32 , pub VideoControlCaps : u32 } impl KSPROPERTY_VIDEOCONTROL_CAPS_S { } impl :: std :: cmp :: PartialEq for KSPROPERTY_VIDEOCONTROL_CAPS_S { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSPROPERTY_VIDEOCONTROL_CAPS_S { } unsafe impl :: windows :: Abi for KSPROPERTY_VIDEOCONTROL_CAPS_S { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSPROPERTY_VIDEOCONTROL_FRAME_RATES_S { pub Property : KSIDENTIFIER , pub StreamIndex : u32 , pub RangeIndex : u32 , pub Dimensions : super::super::super::Foundation:: SIZE } impl KSPROPERTY_VIDEOCONTROL_FRAME_RATES_S { } impl :: std :: cmp :: PartialEq for KSPROPERTY_VIDEOCONTROL_FRAME_RATES_S { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSPROPERTY_VIDEOCONTROL_FRAME_RATES_S { } unsafe impl :: windows :: Abi for KSPROPERTY_VIDEOCONTROL_FRAME_RATES_S { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSPROPERTY_VIDEOCONTROL_MODE_S { pub Property : KSIDENTIFIER , pub StreamIndex : u32 , pub Mode : i32 } impl KSPROPERTY_VIDEOCONTROL_MODE_S { } impl :: std :: cmp :: PartialEq for KSPROPERTY_VIDEOCONTROL_MODE_S { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSPROPERTY_VIDEOCONTROL_MODE_S { } unsafe impl :: windows :: Abi for KSPROPERTY_VIDEOCONTROL_MODE_S { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSPROPERTY_VIDEODECODER_CAPS_S { pub Property : KSIDENTIFIER , pub StandardsSupported : u32 , pub Capabilities : u32 , pub SettlingTime : u32 , pub HSyncPerVSync : u32 } impl KSPROPERTY_VIDEODECODER_CAPS_S { } impl :: std :: cmp :: PartialEq for KSPROPERTY_VIDEODECODER_CAPS_S { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSPROPERTY_VIDEODECODER_CAPS_S { } unsafe impl :: windows :: Abi for KSPROPERTY_VIDEODECODER_CAPS_S { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSPROPERTY_VIDEODECODER_S { pub Property : KSIDENTIFIER , pub Value : u32 } impl KSPROPERTY_VIDEODECODER_S { } impl :: std :: cmp :: PartialEq for KSPROPERTY_VIDEODECODER_S { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSPROPERTY_VIDEODECODER_S { } unsafe impl :: windows :: Abi for KSPROPERTY_VIDEODECODER_S { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSPROPERTY_VIDEODECODER_STATUS2_S { pub Property : KSIDENTIFIER , pub NumberOfLines : u32 , pub SignalLocked : u32 , pub ChromaLock : u32 } impl KSPROPERTY_VIDEODECODER_STATUS2_S { } impl :: std :: cmp :: PartialEq for KSPROPERTY_VIDEODECODER_STATUS2_S { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSPROPERTY_VIDEODECODER_STATUS2_S { } unsafe impl :: windows :: Abi for KSPROPERTY_VIDEODECODER_STATUS2_S { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSPROPERTY_VIDEODECODER_STATUS_S { pub Property : KSIDENTIFIER , pub NumberOfLines : u32 , pub SignalLocked : u32 } impl KSPROPERTY_VIDEODECODER_STATUS_S { } impl :: std :: cmp :: PartialEq for KSPROPERTY_VIDEODECODER_STATUS_S { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSPROPERTY_VIDEODECODER_STATUS_S { } unsafe impl :: windows :: Abi for KSPROPERTY_VIDEODECODER_STATUS_S { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSPROPERTY_VIDEOENCODER_S { pub Property : KSIDENTIFIER , pub Value : i32 , pub Flags : u32 , pub Capabilities : u32 } impl KSPROPERTY_VIDEOENCODER_S { } impl :: std :: cmp :: PartialEq for KSPROPERTY_VIDEOENCODER_S { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSPROPERTY_VIDEOENCODER_S { } unsafe impl :: windows :: Abi for KSPROPERTY_VIDEOENCODER_S { type Abi = Self ; type DefaultType = Self ; } pub const KSPROPERTY_VIDEOPROCAMP_FLAGS_AUTO : i32 = 1i32 ; pub const KSPROPERTY_VIDEOPROCAMP_FLAGS_MANUAL : i32 = 2i32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSPROPERTY_VIDEOPROCAMP_NODE_S { pub NodeProperty : KSP_NODE , pub Value : i32 , pub Flags : u32 , pub Capabilities : u32 } impl KSPROPERTY_VIDEOPROCAMP_NODE_S { } impl :: std :: cmp :: PartialEq for KSPROPERTY_VIDEOPROCAMP_NODE_S { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSPROPERTY_VIDEOPROCAMP_NODE_S { } unsafe impl :: windows :: Abi for KSPROPERTY_VIDEOPROCAMP_NODE_S { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSPROPERTY_VIDEOPROCAMP_NODE_S2 { pub NodeProperty : KSP_NODE , pub Value1 : i32 , pub Flags : u32 , pub Capabilities : u32 , pub Value2 : i32 } impl KSPROPERTY_VIDEOPROCAMP_NODE_S2 { } impl :: std :: cmp :: PartialEq for KSPROPERTY_VIDEOPROCAMP_NODE_S2 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSPROPERTY_VIDEOPROCAMP_NODE_S2 { } unsafe impl :: windows :: Abi for KSPROPERTY_VIDEOPROCAMP_NODE_S2 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSPROPERTY_VIDEOPROCAMP_S { pub Property : KSIDENTIFIER , pub Value : i32 , pub Flags : u32 , pub Capabilities : u32 } impl KSPROPERTY_VIDEOPROCAMP_S { } impl :: std :: cmp :: PartialEq for KSPROPERTY_VIDEOPROCAMP_S { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSPROPERTY_VIDEOPROCAMP_S { } unsafe impl :: windows :: Abi for KSPROPERTY_VIDEOPROCAMP_S { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSPROPERTY_VIDEOPROCAMP_S2 { pub Property : KSIDENTIFIER , pub Value1 : i32 , pub Flags : u32 , pub Capabilities : u32 , pub Value2 : i32 } impl KSPROPERTY_VIDEOPROCAMP_S2 { } impl :: std :: cmp :: PartialEq for KSPROPERTY_VIDEOPROCAMP_S2 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSPROPERTY_VIDEOPROCAMP_S2 { } unsafe impl :: windows :: Abi for KSPROPERTY_VIDEOPROCAMP_S2 { 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 KSPROPERTY_VIDMEM_TRANSPORT ( pub i32 ) ; pub const KSPROPERTY_DISPLAY_ADAPTER_GUID : KSPROPERTY_VIDMEM_TRANSPORT = KSPROPERTY_VIDMEM_TRANSPORT ( 1i32 ) ; pub const KSPROPERTY_PREFERRED_CAPTURE_SURFACE : KSPROPERTY_VIDMEM_TRANSPORT = KSPROPERTY_VIDMEM_TRANSPORT ( 2i32 ) ; pub const KSPROPERTY_CURRENT_CAPTURE_SURFACE : KSPROPERTY_VIDMEM_TRANSPORT = KSPROPERTY_VIDMEM_TRANSPORT ( 3i32 ) ; pub const KSPROPERTY_MAP_CAPTURE_HANDLE_TO_VRAM_ADDRESS : KSPROPERTY_VIDMEM_TRANSPORT = KSPROPERTY_VIDMEM_TRANSPORT ( 4i32 ) ; impl :: std :: convert :: From < i32 > for KSPROPERTY_VIDMEM_TRANSPORT { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSPROPERTY_VIDMEM_TRANSPORT { 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 KSPROPERTY_VPCONFIG ( pub i32 ) ; pub const KSPROPERTY_VPCONFIG_NUMCONNECTINFO : KSPROPERTY_VPCONFIG = KSPROPERTY_VPCONFIG ( 0i32 ) ; pub const KSPROPERTY_VPCONFIG_GETCONNECTINFO : KSPROPERTY_VPCONFIG = KSPROPERTY_VPCONFIG ( 1i32 ) ; pub const KSPROPERTY_VPCONFIG_SETCONNECTINFO : KSPROPERTY_VPCONFIG = KSPROPERTY_VPCONFIG ( 2i32 ) ; pub const KSPROPERTY_VPCONFIG_VPDATAINFO : KSPROPERTY_VPCONFIG = KSPROPERTY_VPCONFIG ( 3i32 ) ; pub const KSPROPERTY_VPCONFIG_MAXPIXELRATE : KSPROPERTY_VPCONFIG = KSPROPERTY_VPCONFIG ( 4i32 ) ; pub const KSPROPERTY_VPCONFIG_INFORMVPINPUT : KSPROPERTY_VPCONFIG = KSPROPERTY_VPCONFIG ( 5i32 ) ; pub const KSPROPERTY_VPCONFIG_NUMVIDEOFORMAT : KSPROPERTY_VPCONFIG = KSPROPERTY_VPCONFIG ( 6i32 ) ; pub const KSPROPERTY_VPCONFIG_GETVIDEOFORMAT : KSPROPERTY_VPCONFIG = KSPROPERTY_VPCONFIG ( 7i32 ) ; pub const KSPROPERTY_VPCONFIG_SETVIDEOFORMAT : KSPROPERTY_VPCONFIG = KSPROPERTY_VPCONFIG ( 8i32 ) ; pub const KSPROPERTY_VPCONFIG_INVERTPOLARITY : KSPROPERTY_VPCONFIG = KSPROPERTY_VPCONFIG ( 9i32 ) ; pub const KSPROPERTY_VPCONFIG_DECIMATIONCAPABILITY : KSPROPERTY_VPCONFIG = KSPROPERTY_VPCONFIG ( 10i32 ) ; pub const KSPROPERTY_VPCONFIG_SCALEFACTOR : KSPROPERTY_VPCONFIG = KSPROPERTY_VPCONFIG ( 11i32 ) ; pub const KSPROPERTY_VPCONFIG_DDRAWHANDLE : KSPROPERTY_VPCONFIG = KSPROPERTY_VPCONFIG ( 12i32 ) ; pub const KSPROPERTY_VPCONFIG_VIDEOPORTID : KSPROPERTY_VPCONFIG = KSPROPERTY_VPCONFIG ( 13i32 ) ; pub const KSPROPERTY_VPCONFIG_DDRAWSURFACEHANDLE : KSPROPERTY_VPCONFIG = KSPROPERTY_VPCONFIG ( 14i32 ) ; pub const KSPROPERTY_VPCONFIG_SURFACEPARAMS : KSPROPERTY_VPCONFIG = KSPROPERTY_VPCONFIG ( 15i32 ) ; impl :: std :: convert :: From < i32 > for KSPROPERTY_VPCONFIG { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSPROPERTY_VPCONFIG { 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 KSPROPERTY_WAVE ( pub i32 ) ; pub const KSPROPERTY_WAVE_COMPATIBLE_CAPABILITIES : KSPROPERTY_WAVE = KSPROPERTY_WAVE ( 0i32 ) ; pub const KSPROPERTY_WAVE_INPUT_CAPABILITIES : KSPROPERTY_WAVE = KSPROPERTY_WAVE ( 1i32 ) ; pub const KSPROPERTY_WAVE_OUTPUT_CAPABILITIES : KSPROPERTY_WAVE = KSPROPERTY_WAVE ( 2i32 ) ; pub const KSPROPERTY_WAVE_BUFFER : KSPROPERTY_WAVE = KSPROPERTY_WAVE ( 3i32 ) ; pub const KSPROPERTY_WAVE_FREQUENCY : KSPROPERTY_WAVE = KSPROPERTY_WAVE ( 4i32 ) ; pub const KSPROPERTY_WAVE_VOLUME : KSPROPERTY_WAVE = KSPROPERTY_WAVE ( 5i32 ) ; pub const KSPROPERTY_WAVE_PAN : KSPROPERTY_WAVE = KSPROPERTY_WAVE ( 6i32 ) ; impl :: std :: convert :: From < i32 > for KSPROPERTY_WAVE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSPROPERTY_WAVE { type Abi = Self ; type DefaultType = Self ; } pub const KSPROPERTY_WAVE_QUEUED_POSITION : u32 = 1u32 ; pub const KSPROPSETID_AC3 : :: windows :: Guid = :: windows :: Guid :: from_values ( 3215714080 ,28191 ,4560 , [ 188 ,242 ,68 ,69 ,83 ,84 ,0 ,0 ] , ) ; pub const KSPROPSETID_Audio : :: windows :: Guid = :: windows :: Guid :: from_values ( 1174383264 ,28187 ,4560 , [ 188 ,242 ,68 ,69 ,83 ,84 ,0 ,0 ] , ) ; pub const KSPROPSETID_AudioBufferDuration : :: windows :: Guid = :: windows :: Guid :: from_values ( 1316208767 ,9164 ,18773 , [ 167 ,234 ,61 ,165 ,2 ,73 ,98 ,144 ] , ) ; pub const KSPROPSETID_AudioDecoderOut : :: windows :: Guid = :: windows :: Guid :: from_values ( 1822875680 ,17341 ,4560 , [ 189 ,106 ,0 ,53 ,5 ,193 ,3 ,169 ] , ) ; pub const KSPROPSETID_AudioEngine : :: windows :: Guid = :: windows :: Guid :: from_values ( 976192220 ,34927 ,19370 , [ 158 ,180 ,8 ,43 ,144 ,37 ,197 ,54 ] , ) ; pub const KSPROPSETID_AudioModule : :: windows :: Guid = :: windows :: Guid :: from_values ( 3224698288 ,65397 ,18376 , [ 170 ,60 ,238 ,70 ,113 ,107 ,80 ,198 ] , ) ; pub const KSPROPSETID_AudioPosture : :: windows :: Guid = :: windows :: Guid :: from_values ( 3675580634 ,615 ,19115 , [ 135 ,89 ,186 ,200 ,142 ,70 ,182 ,83 ] , ) ; pub const KSPROPSETID_AudioSignalProcessing : :: windows :: Guid = :: windows :: Guid :: from_values ( 1332196648 ,12489 ,16606 , [ 178 ,251 ,133 ,157 ,221 ,31 ,52 ,112 ] , ) ; pub const KSPROPSETID_Bibliographic : :: windows :: Guid = :: windows :: Guid :: from_values ( 129635598 ,58033 ,4560 , [ 172 ,23 ,0 ,160 ,201 ,34 ,49 ,150 ] , ) ; pub const KSPROPSETID_BtAudio : :: windows :: Guid = :: windows :: Guid :: from_values ( 2141219904 ,47350 ,19582 , [ 133 ,86 ,232 ,195 ,58 ,18 ,229 ,77 ] , ) ; pub const KSPROPSETID_Clock : :: windows :: Guid = :: windows :: Guid :: from_values ( 3742540992 ,44055 ,4559 , [ 165 ,214 ,40 ,219 ,4 ,193 ,0 ,0 ] , ) ; pub const KSPROPSETID_Connection : :: windows :: Guid = :: windows :: Guid :: from_values ( 492357920 ,44187 ,4559 , [ 165 ,214 ,40 ,219 ,4 ,193 ,0 ,0 ] , ) ; pub const KSPROPSETID_CopyProt : :: windows :: Guid = :: windows :: Guid :: from_values ( 243927616 ,27375 ,4560 , [ 158 ,208 ,0 ,160 ,36 ,202 ,25 ,179 ] , ) ; pub const KSPROPSETID_Cyclic : :: windows :: Guid = :: windows :: Guid :: from_values ( 1073655456 ,11246 ,4559 , [ 165 ,214 ,40 ,219 ,4 ,193 ,0 ,0 ] , ) ; pub const KSPROPSETID_DirectSound3DBuffer : :: windows :: Guid = :: windows :: Guid :: from_values ( 1132147729 ,53344 ,4560 , [ 133 ,131 ,0 ,192 ,79 ,217 ,186 ,243 ] , ) ; pub const KSPROPSETID_DirectSound3DListener : :: windows :: Guid = :: windows :: Guid :: from_values ( 1132147732 ,53344 ,4560 , [ 133 ,131 ,0 ,192 ,79 ,217 ,186 ,243 ] , ) ; pub const KSPROPSETID_DrmAudioStream : :: windows :: Guid = :: windows :: Guid :: from_values ( 791449053 ,16792 ,20396 , [ 186 ,41 ,97 ,187 ,5 ,183 ,222 ,6 ] , ) ; pub const KSPROPSETID_DvdSubPic : :: windows :: Guid = :: windows :: Guid :: from_values ( 2889417824 ,17327 ,4560 , [ 189 ,106 ,0 ,53 ,5 ,193 ,3 ,169 ] , ) ; pub const KSPROPSETID_FMRXControl : :: windows :: Guid = :: windows :: Guid :: from_values ( 2491136570 ,59630 ,18310 , [ 144 ,196 ,132 ,40 ,24 ,95 ,5 ,190 ] , ) ; pub const KSPROPSETID_FMRXTopology : :: windows :: Guid = :: windows :: Guid :: from_values ( 205966991 ,56365 ,16900 , [ 157 ,201 ,245 ,137 ,99 ,54 ,101 ,99 ] , ) ; pub const KSPROPSETID_General : :: windows :: Guid = :: windows :: Guid :: from_values ( 342158757 ,27279 ,4561 , [ 154 ,167 ,0 ,160 ,201 ,34 ,49 ,150 ] , ) ; pub const KSPROPSETID_Hrtf3d : :: windows :: Guid = :: windows :: Guid :: from_values ( 3060657328 ,41091 ,4560 , [ 133 ,30 ,0 ,192 ,79 ,217 ,186 ,243 ] , ) ; pub const KSPROPSETID_InterleavedAudio : :: windows :: Guid = :: windows :: Guid :: from_values ( 3924550992 ,54809 ,19466 , [ 151 ,107 ,112 ,98 ,50 ,43 ,48 ,6 ] , ) ; pub const KSPROPSETID_Itd3d : :: windows :: Guid = :: windows :: Guid :: from_values ( 1680470160 ,40921 ,4560 , [ 167 ,91 ,0 ,160 ,201 ,3 ,101 ,227 ] , ) ; pub const KSPROPSETID_Jack : :: windows :: Guid = :: windows :: Guid :: from_values ( 1158281047 ,11590 ,17975 , [ 142 ,98 ,206 ,125 ,185 ,68 ,245 ,123 ] , ) ; pub const KSPROPSETID_MPEG4_MediaType_Attributes : :: windows :: Guid = :: windows :: Guid :: from_values ( 4285287418 ,1961 ,19579 , [ 162 ,55 ,103 ,47 ,157 ,104 ,6 ,95 ] , ) ; pub const KSPROPSETID_MediaSeeking : :: windows :: Guid = :: windows :: Guid :: from_values ( 4002434828 ,53403 ,4560 , [ 171 ,233 ,0 ,160 ,201 ,34 ,49 ,150 ] , ) ; pub const KSPROPSETID_MemoryTransport : :: windows :: Guid = :: windows :: Guid :: from_values ( 171777117 ,21059 ,18457 , [ 158 ,208 ,174 ,232 ,4 ,76 ,238 ,43 ] , ) ; pub const KSPROPSETID_Mpeg2Vid : :: windows :: Guid = :: windows :: Guid :: from_values ( 3370195808 ,3273 ,4560 , [ 189 ,105 ,0 ,53 ,5 ,193 ,3 ,169 ] , ) ; pub const KSPROPSETID_OverlayUpdate : :: windows :: Guid = :: windows :: Guid :: from_values ( 1225696719 ,30337 ,4561 , [ 162 ,28 ,0 ,160 ,201 ,34 ,49 ,150 ] , ) ; pub const KSPROPSETID_Pin : :: windows :: Guid = :: windows :: Guid :: from_values ( 2350074208 ,20909 ,4559 , [ 135 ,138 ,148 ,248 ,1 ,193 ,0 ,0 ] , ) ; pub const KSPROPSETID_PinMDLCacheClearProp : :: windows :: Guid = :: windows :: Guid :: from_values ( 3178334843 ,38908 ,16583 , [ 136 ,206 ,211 ,255 ,6 ,245 ,91 ,22 ] , ) ; pub const KSPROPSETID_Quality : :: windows :: Guid = :: windows :: Guid :: from_values ( 3513439104 ,44058 ,4559 , [ 165 ,214 ,40 ,219 ,4 ,193 ,0 ,0 ] , ) ; pub const KSPROPSETID_RtAudio : :: windows :: Guid = :: windows :: Guid :: from_values ( 2824184972 ,12152 ,18217 , [ 144 ,81 ,25 ,104 ,116 ,107 ,158 ,239 ] , ) ; pub const KSPROPSETID_SoundDetector : :: windows :: Guid = :: windows :: Guid :: from_values ( 289161822 ,64791 ,16471 , [ 180 ,34 ,237 ,64 ,116 ,241 ,175 ,223 ] , ) ; pub const KSPROPSETID_SoundDetector2 : :: windows :: Guid = :: windows :: Guid :: from_values ( 4261929762 ,17676 ,19413 , [ 132 ,202 ,169 ,72 ,80 ,14 ,166 ,170 ] , ) ; pub const KSPROPSETID_Stream : :: windows :: Guid = :: windows :: Guid :: from_values ( 1705687648 ,39086 ,4559 , [ 161 ,13 ,0 ,32 ,175 ,209 ,86 ,228 ] , ) ; pub const KSPROPSETID_StreamAllocator : :: windows :: Guid = :: windows :: Guid :: from_values ( 3480109890 ,60551 ,4559 , [ 161 ,48 ,0 ,32 ,175 ,209 ,86 ,228 ] , ) ; pub const KSPROPSETID_StreamInterface : :: windows :: Guid = :: windows :: Guid :: from_values ( 534613729 ,40147 ,4560 , [ 130 ,170 ,0 ,0 ,248 ,34 ,254 ,138 ] , ) ; pub const KSPROPSETID_TSRateChange : :: windows :: Guid = :: windows :: Guid :: from_values ( 2768487872 ,7453 ,4561 , [ 173 ,128 ,68 ,69 ,83 ,84 ,0 ,0 ] , ) ; pub const KSPROPSETID_TelephonyControl : :: windows :: Guid = :: windows :: Guid :: from_values ( 3068100273 ,53401 ,18591 , [ 166 ,160 ,192 ,16 ,111 ,8 ,135 ,167 ] , ) ; pub const KSPROPSETID_TelephonyTopology : :: windows :: Guid = :: windows :: Guid :: from_values ( 2884787326 ,3684 ,20018 , [ 177 ,144 ,208 ,246 ,215 ,197 ,62 ,151 ] , ) ; pub const KSPROPSETID_Topology : :: windows :: Guid = :: windows :: Guid :: from_values ( 1913473728 ,30003 ,4560 , [ 165 ,214 ,40 ,219 ,4 ,193 ,0 ,0 ] , ) ; pub const KSPROPSETID_TopologyNode : :: windows :: Guid = :: windows :: Guid :: from_values ( 1174383265 ,28187 ,4560 , [ 188 ,242 ,68 ,69 ,83 ,84 ,0 ,0 ] , ) ; pub const KSPROPSETID_VBICAP_PROPERTIES : :: windows :: Guid = :: windows :: Guid :: from_values ( 4049782279 ,31541 ,18799 , [ 173 ,127 ,45 ,202 ,59 ,70 ,183 ,24 ] , ) ; pub const KSPROPSETID_VBICodecFiltering : :: windows :: Guid = :: windows :: Guid :: from_values ( 3405689034 ,34581 ,4560 , [ 189 ,106 ,0 ,53 ,192 ,237 ,186 ,190 ] , ) ; pub const KSPROPSETID_VPConfig : :: windows :: Guid = :: windows :: Guid :: from_values ( 3156846176 ,12515 ,4560 , [ 158 ,105 ,0 ,192 ,79 ,215 ,193 ,91 ] , ) ; pub const KSPROPSETID_VPVBIConfig : :: windows :: Guid = :: windows :: Guid :: from_values ( 3964836608 ,6687 ,4561 , [ 186 ,217 ,0 ,96 ,151 ,68 ,17 ,26 ] , ) ; pub const KSPROPSETID_VramCapture : :: windows :: Guid = :: windows :: Guid :: from_values ( 3879709923 ,10368 ,18690 , [ 183 ,153 ,136 ,208 ,205 ,99 ,78 ,15 ] , ) ; pub const KSPROPSETID_Wave : :: windows :: Guid = :: windows :: Guid :: from_values ( 2454607024 ,25359 ,4559 , [ 173 ,167 ,8 ,0 ,62 ,48 ,73 ,74 ] , ) ; pub const KSPROPTYPESETID_General : :: windows :: Guid = :: windows :: Guid :: from_values ( 2548669344 ,48618 ,4559 , [ 165 ,214 ,40 ,219 ,4 ,193 ,0 ,0 ] , ) ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSP_NODE { pub Property : KSIDENTIFIER , pub NodeId : u32 , pub Reserved : u32 } impl KSP_NODE { } impl :: std :: cmp :: PartialEq for KSP_NODE { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSP_NODE { } unsafe impl :: windows :: Abi for KSP_NODE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSP_PIN { pub Property : KSIDENTIFIER , pub PinId : u32 , pub Anonymous : KSP_PIN_0 } impl KSP_PIN { } impl :: std :: cmp :: PartialEq for KSP_PIN { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSP_PIN { } unsafe impl :: windows :: Abi for KSP_PIN { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union KSP_PIN_0 { pub Reserved : u32 , pub Flags : u32 } impl KSP_PIN_0 { } impl :: std :: cmp :: PartialEq for KSP_PIN_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSP_PIN_0 { } unsafe impl :: windows :: Abi for KSP_PIN_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSP_TIMEFORMAT { pub Property : KSIDENTIFIER , pub SourceFormat : :: windows :: Guid , pub TargetFormat : :: windows :: Guid , pub Time : i64 } impl KSP_TIMEFORMAT { } impl :: std :: cmp :: PartialEq for KSP_TIMEFORMAT { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSP_TIMEFORMAT { } unsafe impl :: windows :: Abi for KSP_TIMEFORMAT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSQUALITY { pub Context : * mut :: std :: ffi :: c_void , pub Proportion : u32 , pub DeltaTime : i64 } impl KSQUALITY { } impl :: std :: default :: Default for KSQUALITY { fn default ( ) -> Self { Self { Context : :: std :: ptr :: null_mut ( ) , Proportion : 0 , DeltaTime : 0 } } } impl :: std :: fmt :: Debug for KSQUALITY { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSQUALITY" ) . field ( "Context" , & self . Context ) . field ( "Proportion" , & self . Proportion ) . field ( "DeltaTime" , & self . DeltaTime ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSQUALITY { fn eq ( & self , other : & Self ) -> bool { self . Context == other . Context && self . Proportion == other . Proportion && self . DeltaTime == other . DeltaTime } } impl :: std :: cmp :: Eq for KSQUALITY { } unsafe impl :: windows :: Abi for KSQUALITY { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSQUALITY_MANAGER { pub QualityManager : super::super::super::Foundation:: HANDLE , pub Context : * mut :: std :: ffi :: c_void } impl KSQUALITY_MANAGER { } impl :: std :: default :: Default for KSQUALITY_MANAGER { fn default ( ) -> Self { Self { QualityManager : :: std :: default :: Default :: default ( ) , Context : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for KSQUALITY_MANAGER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSQUALITY_MANAGER" ) . field ( "QualityManager" , & self . QualityManager ) . field ( "Context" , & self . Context ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSQUALITY_MANAGER { fn eq ( & self , other : & Self ) -> bool { self . QualityManager == other . QualityManager && self . Context == other . Context } } impl :: std :: cmp :: Eq for KSQUALITY_MANAGER { } unsafe impl :: windows :: Abi for KSQUALITY_MANAGER { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSQUERYBUFFER { pub Event : KSIDENTIFIER , pub EventData : * mut KSEVENTDATA , pub Reserved : * mut :: std :: ffi :: c_void } impl KSQUERYBUFFER { } impl :: std :: cmp :: PartialEq for KSQUERYBUFFER { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSQUERYBUFFER { } unsafe impl :: windows :: Abi for KSQUERYBUFFER { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSRATE { pub PresentationStart : i64 , pub Duration : i64 , pub Interface : KSIDENTIFIER , pub Rate : i32 , pub Flags : u32 } impl KSRATE { } impl :: std :: cmp :: PartialEq for KSRATE { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSRATE { } unsafe impl :: windows :: Abi for KSRATE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSRATE_CAPABILITY { pub Property : KSIDENTIFIER , pub Rate : KSRATE } impl KSRATE_CAPABILITY { } impl :: std :: cmp :: PartialEq for KSRATE_CAPABILITY { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSRATE_CAPABILITY { } unsafe impl :: windows :: Abi for KSRATE_CAPABILITY { type Abi = Self ; type DefaultType = Self ; } pub const KSRATE_NOPRESENTATIONDURATION : u32 = 2u32 ; pub const KSRATE_NOPRESENTATIONSTART : u32 = 1u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSRELATIVEEVENT { pub Size : u32 , pub Flags : u32 , pub Anonymous : KSRELATIVEEVENT_0 , pub Reserved : * mut :: std :: ffi :: c_void , pub Event : KSIDENTIFIER , pub EventData : KSEVENTDATA } impl KSRELATIVEEVENT { } impl :: std :: cmp :: PartialEq for KSRELATIVEEVENT { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSRELATIVEEVENT { } unsafe impl :: windows :: Abi for KSRELATIVEEVENT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union KSRELATIVEEVENT_0 { pub ObjectHandle : super::super::super::Foundation:: HANDLE , pub ObjectPointer : * mut :: std :: ffi :: c_void } impl KSRELATIVEEVENT_0 { } impl :: std :: cmp :: PartialEq for KSRELATIVEEVENT_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSRELATIVEEVENT_0 { } unsafe impl :: windows :: Abi for KSRELATIVEEVENT_0 { type Abi = Self ; type DefaultType = Self ; } pub const KSRELATIVEEVENT_FLAG_HANDLE : u32 = 1u32 ; pub const KSRELATIVEEVENT_FLAG_POINTER : 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 KSRESET ( pub i32 ) ; pub const KSRESET_BEGIN : KSRESET = KSRESET ( 0i32 ) ; pub const KSRESET_END : KSRESET = KSRESET ( 1i32 ) ; impl :: std :: convert :: From < i32 > for KSRESET { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSRESET { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSRESOLUTION { pub Granularity : i64 , pub Error : i64 } impl KSRESOLUTION { } impl :: std :: default :: Default for KSRESOLUTION { fn default ( ) -> Self { Self { Granularity : 0 , Error : 0 } } } impl :: std :: fmt :: Debug for KSRESOLUTION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSRESOLUTION" ) . field ( "Granularity" , & self . Granularity ) . field ( "Error" , & self . Error ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSRESOLUTION { fn eq ( & self , other : & Self ) -> bool { self . Granularity == other . Granularity && self . Error == other . Error } } impl :: std :: cmp :: Eq for KSRESOLUTION { } unsafe impl :: windows :: Abi for KSRESOLUTION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSRTAUDIO_BUFFER { pub BufferAddress : * mut :: std :: ffi :: c_void , pub ActualBufferSize : u32 , pub CallMemoryBarrier : super::super::super::Foundation:: BOOL } impl KSRTAUDIO_BUFFER { } impl :: std :: default :: Default for KSRTAUDIO_BUFFER { fn default ( ) -> Self { Self { BufferAddress : :: std :: ptr :: null_mut ( ) , ActualBufferSize : 0 , CallMemoryBarrier : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for KSRTAUDIO_BUFFER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSRTAUDIO_BUFFER" ) . field ( "BufferAddress" , & self . BufferAddress ) . field ( "ActualBufferSize" , & self . ActualBufferSize ) . field ( "CallMemoryBarrier" , & self . CallMemoryBarrier ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSRTAUDIO_BUFFER { fn eq ( & self , other : & Self ) -> bool { self . BufferAddress == other . BufferAddress && self . ActualBufferSize == other . ActualBufferSize && self . CallMemoryBarrier == other . CallMemoryBarrier } } impl :: std :: cmp :: Eq for KSRTAUDIO_BUFFER { } unsafe impl :: windows :: Abi for KSRTAUDIO_BUFFER { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSRTAUDIO_BUFFER32 { pub BufferAddress : u32 , pub ActualBufferSize : u32 , pub CallMemoryBarrier : super::super::super::Foundation:: BOOL } impl KSRTAUDIO_BUFFER32 { } impl :: std :: default :: Default for KSRTAUDIO_BUFFER32 { fn default ( ) -> Self { Self { BufferAddress : 0 , ActualBufferSize : 0 , CallMemoryBarrier : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for KSRTAUDIO_BUFFER32 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSRTAUDIO_BUFFER32" ) . field ( "BufferAddress" , & self . BufferAddress ) . field ( "ActualBufferSize" , & self . ActualBufferSize ) . field ( "CallMemoryBarrier" , & self . CallMemoryBarrier ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSRTAUDIO_BUFFER32 { fn eq ( & self , other : & Self ) -> bool { self . BufferAddress == other . BufferAddress && self . ActualBufferSize == other . ActualBufferSize && self . CallMemoryBarrier == other . CallMemoryBarrier } } impl :: std :: cmp :: Eq for KSRTAUDIO_BUFFER32 { } unsafe impl :: windows :: Abi for KSRTAUDIO_BUFFER32 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSRTAUDIO_BUFFER_PROPERTY { pub Property : KSIDENTIFIER , pub BaseAddress : * mut :: std :: ffi :: c_void , pub RequestedBufferSize : u32 } impl KSRTAUDIO_BUFFER_PROPERTY { } impl :: std :: cmp :: PartialEq for KSRTAUDIO_BUFFER_PROPERTY { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSRTAUDIO_BUFFER_PROPERTY { } unsafe impl :: windows :: Abi for KSRTAUDIO_BUFFER_PROPERTY { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSRTAUDIO_BUFFER_PROPERTY32 { pub Property : KSIDENTIFIER , pub BaseAddress : u32 , pub RequestedBufferSize : u32 } impl KSRTAUDIO_BUFFER_PROPERTY32 { } impl :: std :: cmp :: PartialEq for KSRTAUDIO_BUFFER_PROPERTY32 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSRTAUDIO_BUFFER_PROPERTY32 { } unsafe impl :: windows :: Abi for KSRTAUDIO_BUFFER_PROPERTY32 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSRTAUDIO_BUFFER_PROPERTY_WITH_NOTIFICATION { pub Property : KSIDENTIFIER , pub BaseAddress : * mut :: std :: ffi :: c_void , pub RequestedBufferSize : u32 , pub NotificationCount : u32 } impl KSRTAUDIO_BUFFER_PROPERTY_WITH_NOTIFICATION { } impl :: std :: cmp :: PartialEq for KSRTAUDIO_BUFFER_PROPERTY_WITH_NOTIFICATION { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSRTAUDIO_BUFFER_PROPERTY_WITH_NOTIFICATION { } unsafe impl :: windows :: Abi for KSRTAUDIO_BUFFER_PROPERTY_WITH_NOTIFICATION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSRTAUDIO_BUFFER_PROPERTY_WITH_NOTIFICATION32 { pub Property : KSIDENTIFIER , pub BaseAddress : u32 , pub RequestedBufferSize : u32 , pub NotificationCount : u32 } impl KSRTAUDIO_BUFFER_PROPERTY_WITH_NOTIFICATION32 { } impl :: std :: cmp :: PartialEq for KSRTAUDIO_BUFFER_PROPERTY_WITH_NOTIFICATION32 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSRTAUDIO_BUFFER_PROPERTY_WITH_NOTIFICATION32 { } unsafe impl :: windows :: Abi for KSRTAUDIO_BUFFER_PROPERTY_WITH_NOTIFICATION32 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSRTAUDIO_GETREADPACKET_INFO { pub PacketNumber : u32 , pub Flags : u32 , pub PerformanceCounterValue : u64 , pub MoreData : super::super::super::Foundation:: BOOL } impl KSRTAUDIO_GETREADPACKET_INFO { } impl :: std :: default :: Default for KSRTAUDIO_GETREADPACKET_INFO { fn default ( ) -> Self { Self { PacketNumber : 0 , Flags : 0 , PerformanceCounterValue : 0 , MoreData : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for KSRTAUDIO_GETREADPACKET_INFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSRTAUDIO_GETREADPACKET_INFO" ) . field ( "PacketNumber" , & self . PacketNumber ) . field ( "Flags" , & self . Flags ) . field ( "PerformanceCounterValue" , & self . PerformanceCounterValue ) . field ( "MoreData" , & self . MoreData ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSRTAUDIO_GETREADPACKET_INFO { fn eq ( & self , other : & Self ) -> bool { self . PacketNumber == other . PacketNumber && self . Flags == other . Flags && self . PerformanceCounterValue == other . PerformanceCounterValue && self . MoreData == other . MoreData } } impl :: std :: cmp :: Eq for KSRTAUDIO_GETREADPACKET_INFO { } unsafe impl :: windows :: Abi for KSRTAUDIO_GETREADPACKET_INFO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSRTAUDIO_HWLATENCY { pub FifoSize : u32 , pub ChipsetDelay : u32 , pub CodecDelay : u32 } impl KSRTAUDIO_HWLATENCY { } impl :: std :: default :: Default for KSRTAUDIO_HWLATENCY { fn default ( ) -> Self { Self { FifoSize : 0 , ChipsetDelay : 0 , CodecDelay : 0 } } } impl :: std :: fmt :: Debug for KSRTAUDIO_HWLATENCY { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSRTAUDIO_HWLATENCY" ) . field ( "FifoSize" , & self . FifoSize ) . field ( "ChipsetDelay" , & self . ChipsetDelay ) . field ( "CodecDelay" , & self . CodecDelay ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSRTAUDIO_HWLATENCY { fn eq ( & self , other : & Self ) -> bool { self . FifoSize == other . FifoSize && self . ChipsetDelay == other . ChipsetDelay && self . CodecDelay == other . CodecDelay } } impl :: std :: cmp :: Eq for KSRTAUDIO_HWLATENCY { } unsafe impl :: windows :: Abi for KSRTAUDIO_HWLATENCY { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSRTAUDIO_HWREGISTER { pub Register : * mut :: std :: ffi :: c_void , pub Width : u32 , pub Numerator : u64 , pub Denominator : u64 , pub Accuracy : u32 } impl KSRTAUDIO_HWREGISTER { } impl :: std :: default :: Default for KSRTAUDIO_HWREGISTER { fn default ( ) -> Self { Self { Register : :: std :: ptr :: null_mut ( ) , Width : 0 , Numerator : 0 , Denominator : 0 , Accuracy : 0 } } } impl :: std :: fmt :: Debug for KSRTAUDIO_HWREGISTER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSRTAUDIO_HWREGISTER" ) . field ( "Register" , & self . Register ) . field ( "Width" , & self . Width ) . field ( "Numerator" , & self . Numerator ) . field ( "Denominator" , & self . Denominator ) . field ( "Accuracy" , & self . Accuracy ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSRTAUDIO_HWREGISTER { fn eq ( & self , other : & Self ) -> bool { self . Register == other . Register && self . Width == other . Width && self . Numerator == other . Numerator && self . Denominator == other . Denominator && self . Accuracy == other . Accuracy } } impl :: std :: cmp :: Eq for KSRTAUDIO_HWREGISTER { } unsafe impl :: windows :: Abi for KSRTAUDIO_HWREGISTER { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSRTAUDIO_HWREGISTER32 { pub Register : u32 , pub Width : u32 , pub Numerator : u64 , pub Denominator : u64 , pub Accuracy : u32 } impl KSRTAUDIO_HWREGISTER32 { } impl :: std :: default :: Default for KSRTAUDIO_HWREGISTER32 { fn default ( ) -> Self { Self { Register : 0 , Width : 0 , Numerator : 0 , Denominator : 0 , Accuracy : 0 } } } impl :: std :: fmt :: Debug for KSRTAUDIO_HWREGISTER32 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSRTAUDIO_HWREGISTER32" ) . field ( "Register" , & self . Register ) . field ( "Width" , & self . Width ) . field ( "Numerator" , & self . Numerator ) . field ( "Denominator" , & self . Denominator ) . field ( "Accuracy" , & self . Accuracy ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSRTAUDIO_HWREGISTER32 { fn eq ( & self , other : & Self ) -> bool { self . Register == other . Register && self . Width == other . Width && self . Numerator == other . Numerator && self . Denominator == other . Denominator && self . Accuracy == other . Accuracy } } impl :: std :: cmp :: Eq for KSRTAUDIO_HWREGISTER32 { } unsafe impl :: windows :: Abi for KSRTAUDIO_HWREGISTER32 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSRTAUDIO_HWREGISTER_PROPERTY { pub Property : KSIDENTIFIER , pub BaseAddress : * mut :: std :: ffi :: c_void } impl KSRTAUDIO_HWREGISTER_PROPERTY { } impl :: std :: cmp :: PartialEq for KSRTAUDIO_HWREGISTER_PROPERTY { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSRTAUDIO_HWREGISTER_PROPERTY { } unsafe impl :: windows :: Abi for KSRTAUDIO_HWREGISTER_PROPERTY { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSRTAUDIO_HWREGISTER_PROPERTY32 { pub Property : KSIDENTIFIER , pub BaseAddress : u32 } impl KSRTAUDIO_HWREGISTER_PROPERTY32 { } impl :: std :: cmp :: PartialEq for KSRTAUDIO_HWREGISTER_PROPERTY32 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSRTAUDIO_HWREGISTER_PROPERTY32 { } unsafe impl :: windows :: Abi for KSRTAUDIO_HWREGISTER_PROPERTY32 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSRTAUDIO_NOTIFICATION_EVENT_PROPERTY { pub Property : KSIDENTIFIER , pub NotificationEvent : super::super::super::Foundation:: HANDLE } impl KSRTAUDIO_NOTIFICATION_EVENT_PROPERTY { } impl :: std :: cmp :: PartialEq for KSRTAUDIO_NOTIFICATION_EVENT_PROPERTY { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSRTAUDIO_NOTIFICATION_EVENT_PROPERTY { } unsafe impl :: windows :: Abi for KSRTAUDIO_NOTIFICATION_EVENT_PROPERTY { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSRTAUDIO_NOTIFICATION_EVENT_PROPERTY32 { pub Property : KSIDENTIFIER , pub NotificationEvent : u32 } impl KSRTAUDIO_NOTIFICATION_EVENT_PROPERTY32 { } impl :: std :: cmp :: PartialEq for KSRTAUDIO_NOTIFICATION_EVENT_PROPERTY32 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSRTAUDIO_NOTIFICATION_EVENT_PROPERTY32 { } unsafe impl :: windows :: Abi for KSRTAUDIO_NOTIFICATION_EVENT_PROPERTY32 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSRTAUDIO_PACKETVREGISTER { pub CompletedPacketCount : * mut u64 , pub CompletedPacketQPC : * mut u64 , pub CompletedPacketHash : * mut u64 } impl KSRTAUDIO_PACKETVREGISTER { } impl :: std :: default :: Default for KSRTAUDIO_PACKETVREGISTER { fn default ( ) -> Self { Self { CompletedPacketCount : :: std :: ptr :: null_mut ( ) , CompletedPacketQPC : :: std :: ptr :: null_mut ( ) , CompletedPacketHash : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for KSRTAUDIO_PACKETVREGISTER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSRTAUDIO_PACKETVREGISTER" ) . field ( "CompletedPacketCount" , & self . CompletedPacketCount ) . field ( "CompletedPacketQPC" , & self . CompletedPacketQPC ) . field ( "CompletedPacketHash" , & self . CompletedPacketHash ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSRTAUDIO_PACKETVREGISTER { fn eq ( & self , other : & Self ) -> bool { self . CompletedPacketCount == other . CompletedPacketCount && self . CompletedPacketQPC == other . CompletedPacketQPC && self . CompletedPacketHash == other . CompletedPacketHash } } impl :: std :: cmp :: Eq for KSRTAUDIO_PACKETVREGISTER { } unsafe impl :: windows :: Abi for KSRTAUDIO_PACKETVREGISTER { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSRTAUDIO_PACKETVREGISTER_PROPERTY { pub Property : KSIDENTIFIER , pub BaseAddress : * mut :: std :: ffi :: c_void } impl KSRTAUDIO_PACKETVREGISTER_PROPERTY { } impl :: std :: cmp :: PartialEq for KSRTAUDIO_PACKETVREGISTER_PROPERTY { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSRTAUDIO_PACKETVREGISTER_PROPERTY { } unsafe impl :: windows :: Abi for KSRTAUDIO_PACKETVREGISTER_PROPERTY { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSRTAUDIO_SETWRITEPACKET_INFO { pub PacketNumber : u32 , pub Flags : u32 , pub EosPacketLength : u32 } impl KSRTAUDIO_SETWRITEPACKET_INFO { } impl :: std :: default :: Default for KSRTAUDIO_SETWRITEPACKET_INFO { fn default ( ) -> Self { Self { PacketNumber : 0 , Flags : 0 , EosPacketLength : 0 } } } impl :: std :: fmt :: Debug for KSRTAUDIO_SETWRITEPACKET_INFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSRTAUDIO_SETWRITEPACKET_INFO" ) . field ( "PacketNumber" , & self . PacketNumber ) . field ( "Flags" , & self . Flags ) . field ( "EosPacketLength" , & self . EosPacketLength ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSRTAUDIO_SETWRITEPACKET_INFO { fn eq ( & self , other : & Self ) -> bool { self . PacketNumber == other . PacketNumber && self . Flags == other . Flags && self . EosPacketLength == other . EosPacketLength } } impl :: std :: cmp :: Eq for KSRTAUDIO_SETWRITEPACKET_INFO { } unsafe impl :: windows :: Abi for KSRTAUDIO_SETWRITEPACKET_INFO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSSOUNDDETECTORPROPERTY { pub Property : KSIDENTIFIER , pub EventId : :: windows :: Guid } impl KSSOUNDDETECTORPROPERTY { } impl :: std :: cmp :: PartialEq for KSSOUNDDETECTORPROPERTY { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSSOUNDDETECTORPROPERTY { } unsafe impl :: windows :: Abi for KSSOUNDDETECTORPROPERTY { 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 KSSTATE ( pub i32 ) ; pub const KSSTATE_STOP : KSSTATE = KSSTATE ( 0i32 ) ; pub const KSSTATE_ACQUIRE : KSSTATE = KSSTATE ( 1i32 ) ; pub const KSSTATE_PAUSE : KSSTATE = KSSTATE ( 2i32 ) ; pub const KSSTATE_RUN : KSSTATE = KSSTATE ( 3i32 ) ; impl :: std :: convert :: From < i32 > for KSSTATE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KSSTATE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSSTREAMALLOCATOR_STATUS { pub Framing : KSALLOCATOR_FRAMING , pub AllocatedFrames : u32 , pub Reserved : u32 } impl KSSTREAMALLOCATOR_STATUS { } impl :: std :: cmp :: PartialEq for KSSTREAMALLOCATOR_STATUS { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSSTREAMALLOCATOR_STATUS { } unsafe impl :: windows :: Abi for KSSTREAMALLOCATOR_STATUS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSSTREAMALLOCATOR_STATUS_EX { pub Framing : KSALLOCATOR_FRAMING_EX , pub AllocatedFrames : u32 , pub Reserved : u32 } impl KSSTREAMALLOCATOR_STATUS_EX { } impl :: std :: cmp :: PartialEq for KSSTREAMALLOCATOR_STATUS_EX { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSSTREAMALLOCATOR_STATUS_EX { } unsafe impl :: windows :: Abi for KSSTREAMALLOCATOR_STATUS_EX { type Abi = Self ; type DefaultType = Self ; } pub const KSSTREAM_FAILUREEXCEPTION : u32 = 8192u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSSTREAM_HEADER { pub Size : u32 , pub TypeSpecificFlags : u32 , pub PresentationTime : KSTIME , pub Duration : i64 , pub FrameExtent : u32 , pub DataUsed : u32 , pub Data : * mut :: std :: ffi :: c_void , pub OptionsFlags : u32 } impl KSSTREAM_HEADER { } impl :: std :: default :: Default for KSSTREAM_HEADER { fn default ( ) -> Self { Self { Size : 0 , TypeSpecificFlags : 0 , PresentationTime : :: std :: default :: Default :: default ( ) , Duration : 0 , FrameExtent : 0 , DataUsed : 0 , Data : :: std :: ptr :: null_mut ( ) , OptionsFlags : 0 } } } impl :: std :: fmt :: Debug for KSSTREAM_HEADER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSSTREAM_HEADER" ) . field ( "Size" , & self . Size ) . field ( "TypeSpecificFlags" , & self . TypeSpecificFlags ) . field ( "PresentationTime" , & self . PresentationTime ) . field ( "Duration" , & self . Duration ) . field ( "FrameExtent" , & self . FrameExtent ) . field ( "DataUsed" , & self . DataUsed ) . field ( "Data" , & self . Data ) . field ( "OptionsFlags" , & self . OptionsFlags ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSSTREAM_HEADER { fn eq ( & self , other : & Self ) -> bool { self . Size == other . Size && self . TypeSpecificFlags == other . TypeSpecificFlags && self . PresentationTime == other . PresentationTime && self . Duration == other . Duration && self . FrameExtent == other . FrameExtent && self . DataUsed == other . DataUsed && self . Data == other . Data && self . OptionsFlags == other . OptionsFlags } } impl :: std :: cmp :: Eq for KSSTREAM_HEADER { } unsafe impl :: windows :: Abi for KSSTREAM_HEADER { type Abi = Self ; type DefaultType = Self ; } pub const KSSTREAM_HEADER_OPTIONSF_BUFFEREDTRANSFER : u32 = 1024u32 ; pub const KSSTREAM_HEADER_OPTIONSF_DATADISCONTINUITY : u32 = 4u32 ; pub const KSSTREAM_HEADER_OPTIONSF_DURATIONVALID : u32 = 256u32 ; pub const KSSTREAM_HEADER_OPTIONSF_ENDOFPHOTOSEQUENCE : u32 = 8192u32 ; pub const KSSTREAM_HEADER_OPTIONSF_ENDOFSTREAM : u32 = 512u32 ; pub const KSSTREAM_HEADER_OPTIONSF_FLUSHONPAUSE : u32 = 128u32 ; pub const KSSTREAM_HEADER_OPTIONSF_FRAMEINFO : u32 = 16384u32 ; pub const KSSTREAM_HEADER_OPTIONSF_LOOPEDDATA : u32 = 2147483648u32 ; pub const KSSTREAM_HEADER_OPTIONSF_METADATA : u32 = 4096u32 ; pub const KSSTREAM_HEADER_OPTIONSF_PERSIST_SAMPLE : u32 = 32768u32 ; pub const KSSTREAM_HEADER_OPTIONSF_PREROLL : u32 = 2u32 ; pub const KSSTREAM_HEADER_OPTIONSF_SAMPLE_PERSISTED : u32 = 65536u32 ; pub const KSSTREAM_HEADER_OPTIONSF_SECUREBUFFERTRANSFER : u32 = 262144u32 ; pub const KSSTREAM_HEADER_OPTIONSF_SPLICEPOINT : u32 = 1u32 ; pub const KSSTREAM_HEADER_OPTIONSF_TIMEDISCONTINUITY : u32 = 64u32 ; pub const KSSTREAM_HEADER_OPTIONSF_TIMEVALID : u32 = 16u32 ; pub const KSSTREAM_HEADER_OPTIONSF_TYPECHANGED : u32 = 8u32 ; pub const KSSTREAM_HEADER_OPTIONSF_VRAM_DATA_TRANSFER : u32 = 2048u32 ; pub const KSSTREAM_HEADER_TRACK_COMPLETION_NUMBERS : u32 = 131072u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSSTREAM_METADATA_INFO { pub BufferSize : u32 , pub UsedSize : u32 , pub Data : * mut :: std :: ffi :: c_void , pub SystemVa : * mut :: std :: ffi :: c_void , pub Flags : u32 , pub Reserved : u32 } impl KSSTREAM_METADATA_INFO { } impl :: std :: default :: Default for KSSTREAM_METADATA_INFO { fn default ( ) -> Self { Self { BufferSize : 0 , UsedSize : 0 , Data : :: std :: ptr :: null_mut ( ) , SystemVa : :: std :: ptr :: null_mut ( ) , Flags : 0 , Reserved : 0 } } } impl :: std :: fmt :: Debug for KSSTREAM_METADATA_INFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSSTREAM_METADATA_INFO" ) . field ( "BufferSize" , & self . BufferSize ) . field ( "UsedSize" , & self . UsedSize ) . field ( "Data" , & self . Data ) . field ( "SystemVa" , & self . SystemVa ) . field ( "Flags" , & self . Flags ) . field ( "Reserved" , & self . Reserved ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSSTREAM_METADATA_INFO { fn eq ( & self , other : & Self ) -> bool { self . BufferSize == other . BufferSize && self . UsedSize == other . UsedSize && self . Data == other . Data && self . SystemVa == other . SystemVa && self . Flags == other . Flags && self . Reserved == other . Reserved } } impl :: std :: cmp :: Eq for KSSTREAM_METADATA_INFO { } unsafe impl :: windows :: Abi for KSSTREAM_METADATA_INFO { type Abi = Self ; type DefaultType = Self ; } pub const KSSTREAM_NONPAGED_DATA : u32 = 256u32 ; pub const KSSTREAM_PAGED_DATA : u32 = 0u32 ; pub const KSSTREAM_SYNCHRONOUS : u32 = 4096u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSSTREAM_UVC_METADATA { pub StartOfFrameTimestamp : KSSTREAM_UVC_METADATATYPE_TIMESTAMP , pub EndOfFrameTimestamp : KSSTREAM_UVC_METADATATYPE_TIMESTAMP } impl KSSTREAM_UVC_METADATA { } impl :: std :: cmp :: PartialEq for KSSTREAM_UVC_METADATA { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSSTREAM_UVC_METADATA { } unsafe impl :: windows :: Abi for KSSTREAM_UVC_METADATA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSSTREAM_UVC_METADATATYPE_TIMESTAMP { pub PresentationTimeStamp : u32 , pub SourceClockReference : u32 , pub Anonymous : KSSTREAM_UVC_METADATATYPE_TIMESTAMP_0 , pub Reserved0 : u16 , pub Reserved1 : u32 } impl KSSTREAM_UVC_METADATATYPE_TIMESTAMP { } impl :: std :: cmp :: PartialEq for KSSTREAM_UVC_METADATATYPE_TIMESTAMP { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSSTREAM_UVC_METADATATYPE_TIMESTAMP { } unsafe impl :: windows :: Abi for KSSTREAM_UVC_METADATATYPE_TIMESTAMP { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union KSSTREAM_UVC_METADATATYPE_TIMESTAMP_0 { pub Anonymous : KSSTREAM_UVC_METADATATYPE_TIMESTAMP_0_0 , pub SCRToken : u16 } impl KSSTREAM_UVC_METADATATYPE_TIMESTAMP_0 { } impl :: std :: cmp :: PartialEq for KSSTREAM_UVC_METADATATYPE_TIMESTAMP_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSSTREAM_UVC_METADATATYPE_TIMESTAMP_0 { } unsafe impl :: windows :: Abi for KSSTREAM_UVC_METADATATYPE_TIMESTAMP_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSSTREAM_UVC_METADATATYPE_TIMESTAMP_0_0 { pub _bitfield : u16 } impl KSSTREAM_UVC_METADATATYPE_TIMESTAMP_0_0 { } impl :: std :: default :: Default for KSSTREAM_UVC_METADATATYPE_TIMESTAMP_0_0 { fn default ( ) -> Self { Self { _bitfield : 0 } } } impl :: std :: fmt :: Debug for KSSTREAM_UVC_METADATATYPE_TIMESTAMP_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 KSSTREAM_UVC_METADATATYPE_TIMESTAMP_0_0 { fn eq ( & self , other : & Self ) -> bool { self . _bitfield == other . _bitfield } } impl :: std :: cmp :: Eq for KSSTREAM_UVC_METADATATYPE_TIMESTAMP_0_0 { } unsafe impl :: windows :: Abi for KSSTREAM_UVC_METADATATYPE_TIMESTAMP_0_0 { type Abi = Self ; type DefaultType = Self ; } pub const KSSTREAM_UVC_SECURE_ATTRIBUTE_SIZE : u32 = 8192u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSTELEPHONY_CALLCONTROL { pub CallType : TELEPHONY_CALLTYPE , pub CallControlOp : TELEPHONY_CALLCONTROLOP } impl KSTELEPHONY_CALLCONTROL { } impl :: std :: default :: Default for KSTELEPHONY_CALLCONTROL { fn default ( ) -> Self { Self { CallType : :: std :: default :: Default :: default ( ) , CallControlOp : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for KSTELEPHONY_CALLCONTROL { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSTELEPHONY_CALLCONTROL" ) . field ( "CallType" , & self . CallType ) . field ( "CallControlOp" , & self . CallControlOp ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSTELEPHONY_CALLCONTROL { fn eq ( & self , other : & Self ) -> bool { self . CallType == other . CallType && self . CallControlOp == other . CallControlOp } } impl :: std :: cmp :: Eq for KSTELEPHONY_CALLCONTROL { } unsafe impl :: windows :: Abi for KSTELEPHONY_CALLCONTROL { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSTELEPHONY_CALLINFO { pub CallType : TELEPHONY_CALLTYPE , pub CallState : TELEPHONY_CALLSTATE } impl KSTELEPHONY_CALLINFO { } impl :: std :: default :: Default for KSTELEPHONY_CALLINFO { fn default ( ) -> Self { Self { CallType : :: std :: default :: Default :: default ( ) , CallState : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for KSTELEPHONY_CALLINFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSTELEPHONY_CALLINFO" ) . field ( "CallType" , & self . CallType ) . field ( "CallState" , & self . CallState ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSTELEPHONY_CALLINFO { fn eq ( & self , other : & Self ) -> bool { self . CallType == other . CallType && self . CallState == other . CallState } } impl :: std :: cmp :: Eq for KSTELEPHONY_CALLINFO { } unsafe impl :: windows :: Abi for KSTELEPHONY_CALLINFO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSTELEPHONY_PROVIDERCHANGE { pub CallType : TELEPHONY_CALLTYPE , pub ProviderChangeOp : TELEPHONY_PROVIDERCHANGEOP } impl KSTELEPHONY_PROVIDERCHANGE { } impl :: std :: default :: Default for KSTELEPHONY_PROVIDERCHANGE { fn default ( ) -> Self { Self { CallType : :: std :: default :: Default :: default ( ) , ProviderChangeOp : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for KSTELEPHONY_PROVIDERCHANGE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSTELEPHONY_PROVIDERCHANGE" ) . field ( "CallType" , & self . CallType ) . field ( "ProviderChangeOp" , & self . ProviderChangeOp ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSTELEPHONY_PROVIDERCHANGE { fn eq ( & self , other : & Self ) -> bool { self . CallType == other . CallType && self . ProviderChangeOp == other . ProviderChangeOp } } impl :: std :: cmp :: Eq for KSTELEPHONY_PROVIDERCHANGE { } unsafe impl :: windows :: Abi for KSTELEPHONY_PROVIDERCHANGE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSTIME { pub Time : i64 , pub Numerator : u32 , pub Denominator : u32 } impl KSTIME { } impl :: std :: default :: Default for KSTIME { fn default ( ) -> Self { Self { Time : 0 , Numerator : 0 , Denominator : 0 } } } impl :: std :: fmt :: Debug for KSTIME { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSTIME" ) . field ( "Time" , & self . Time ) . field ( "Numerator" , & self . Numerator ) . field ( "Denominator" , & self . Denominator ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSTIME { fn eq ( & self , other : & Self ) -> bool { self . Time == other . Time && self . Numerator == other . Numerator && self . Denominator == other . Denominator } } impl :: std :: cmp :: Eq for KSTIME { } unsafe impl :: windows :: Abi for KSTIME { type Abi = Self ; type DefaultType = Self ; } pub const KSTIME_FORMAT_BYTE : :: windows :: Guid = :: windows :: Guid :: from_values ( 2071483761 ,35970 ,4559 , [ 188 ,12 ,0 ,170 ,0 ,172 ,116 ,246 ] , ) ; pub const KSTIME_FORMAT_FIELD : :: windows :: Guid = :: windows :: Guid :: from_values ( 2071483763 ,35970 ,4559 , [ 188 ,12 ,0 ,170 ,0 ,172 ,116 ,246 ] , ) ; pub const KSTIME_FORMAT_FRAME : :: windows :: Guid = :: windows :: Guid :: from_values ( 2071483760 ,35970 ,4559 , [ 188 ,12 ,0 ,170 ,0 ,172 ,116 ,246 ] , ) ; pub const KSTIME_FORMAT_MEDIA_TIME : :: windows :: Guid = :: windows :: Guid :: from_values ( 2071483764 ,35970 ,4559 , [ 188 ,12 ,0 ,170 ,0 ,172 ,116 ,246 ] , ) ; pub const KSTIME_FORMAT_SAMPLE : :: windows :: Guid = :: windows :: Guid :: from_values ( 2071483762 ,35970 ,4559 , [ 188 ,12 ,0 ,170 ,0 ,172 ,116 ,246 ] , ) ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSTOPOLOGY { pub CategoriesCount : u32 , pub Categories : * mut :: windows :: Guid , pub TopologyNodesCount : u32 , pub TopologyNodes : * mut :: windows :: Guid , pub TopologyConnectionsCount : u32 , pub TopologyConnections : * mut super::super::super::Graphics::DirectShow:: KSTOPOLOGY_CONNECTION , pub TopologyNodesNames : * mut :: windows :: Guid , pub Reserved : u32 } impl KSTOPOLOGY { } impl :: std :: default :: Default for KSTOPOLOGY { fn default ( ) -> Self { Self { CategoriesCount : 0 , Categories : :: std :: ptr :: null_mut ( ) , TopologyNodesCount : 0 , TopologyNodes : :: std :: ptr :: null_mut ( ) , TopologyConnectionsCount : 0 , TopologyConnections : :: std :: ptr :: null_mut ( ) , TopologyNodesNames : :: std :: ptr :: null_mut ( ) , Reserved : 0 } } } impl :: std :: fmt :: Debug for KSTOPOLOGY { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSTOPOLOGY" ) . field ( "CategoriesCount" , & self . CategoriesCount ) . field ( "Categories" , & self . Categories ) . field ( "TopologyNodesCount" , & self . TopologyNodesCount ) . field ( "TopologyNodes" , & self . TopologyNodes ) . field ( "TopologyConnectionsCount" , & self . TopologyConnectionsCount ) . field ( "TopologyConnections" , & self . TopologyConnections ) . field ( "TopologyNodesNames" , & self . TopologyNodesNames ) . field ( "Reserved" , & self . Reserved ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSTOPOLOGY { fn eq ( & self , other : & Self ) -> bool { self . CategoriesCount == other . CategoriesCount && self . Categories == other . Categories && self . TopologyNodesCount == other . TopologyNodesCount && self . TopologyNodes == other . TopologyNodes && self . TopologyConnectionsCount == other . TopologyConnectionsCount && self . TopologyConnections == other . TopologyConnections && self . TopologyNodesNames == other . TopologyNodesNames && self . Reserved == other . Reserved } } impl :: std :: cmp :: Eq for KSTOPOLOGY { } unsafe impl :: windows :: Abi for KSTOPOLOGY { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSTOPOLOGY_ENDPOINTID { pub TopologyName : [ u16 ;260 ] , pub PinId : u32 } impl KSTOPOLOGY_ENDPOINTID { } impl :: std :: default :: Default for KSTOPOLOGY_ENDPOINTID { fn default ( ) -> Self { Self { TopologyName : [ 0 ;260 ] , PinId : 0 } } } impl :: std :: fmt :: Debug for KSTOPOLOGY_ENDPOINTID { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSTOPOLOGY_ENDPOINTID" ) . field ( "TopologyName" , & self . TopologyName ) . field ( "PinId" , & self . PinId ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSTOPOLOGY_ENDPOINTID { fn eq ( & self , other : & Self ) -> bool { self . TopologyName == other . TopologyName && self . PinId == other . PinId } } impl :: std :: cmp :: Eq for KSTOPOLOGY_ENDPOINTID { } unsafe impl :: windows :: Abi for KSTOPOLOGY_ENDPOINTID { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSTOPOLOGY_ENDPOINTIDPAIR { pub RenderEndpoint : KSTOPOLOGY_ENDPOINTID , pub CaptureEndpoint : KSTOPOLOGY_ENDPOINTID } impl KSTOPOLOGY_ENDPOINTIDPAIR { } impl :: std :: default :: Default for KSTOPOLOGY_ENDPOINTIDPAIR { fn default ( ) -> Self { Self { RenderEndpoint : :: std :: default :: Default :: default ( ) , CaptureEndpoint : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for KSTOPOLOGY_ENDPOINTIDPAIR { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSTOPOLOGY_ENDPOINTIDPAIR" ) . field ( "RenderEndpoint" , & self . RenderEndpoint ) . field ( "CaptureEndpoint" , & self . CaptureEndpoint ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSTOPOLOGY_ENDPOINTIDPAIR { fn eq ( & self , other : & Self ) -> bool { self . RenderEndpoint == other . RenderEndpoint && self . CaptureEndpoint == other . CaptureEndpoint } } impl :: std :: cmp :: Eq for KSTOPOLOGY_ENDPOINTIDPAIR { } unsafe impl :: windows :: Abi for KSTOPOLOGY_ENDPOINTIDPAIR { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSVPMAXPIXELRATE { pub Size : KS_AMVPSIZE , pub MaxPixelsPerSecond : u32 , pub Reserved : u32 } impl KSVPMAXPIXELRATE { } impl :: std :: default :: Default for KSVPMAXPIXELRATE { fn default ( ) -> Self { Self { Size : :: std :: default :: Default :: default ( ) , MaxPixelsPerSecond : 0 , Reserved : 0 } } } impl :: std :: fmt :: Debug for KSVPMAXPIXELRATE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSVPMAXPIXELRATE" ) . field ( "Size" , & self . Size ) . field ( "MaxPixelsPerSecond" , & self . MaxPixelsPerSecond ) . field ( "Reserved" , & self . Reserved ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSVPMAXPIXELRATE { fn eq ( & self , other : & Self ) -> bool { self . Size == other . Size && self . MaxPixelsPerSecond == other . MaxPixelsPerSecond && self . Reserved == other . Reserved } } impl :: std :: cmp :: Eq for KSVPMAXPIXELRATE { } unsafe impl :: windows :: Abi for KSVPMAXPIXELRATE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSVPSIZE_PROP { pub Property : KSIDENTIFIER , pub Size : KS_AMVPSIZE } impl KSVPSIZE_PROP { } impl :: std :: cmp :: PartialEq for KSVPSIZE_PROP { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSVPSIZE_PROP { } unsafe impl :: windows :: Abi for KSVPSIZE_PROP { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSVPSURFACEPARAMS { pub dwPitch : u32 , pub dwXOrigin : u32 , pub dwYOrigin : u32 } impl KSVPSURFACEPARAMS { } impl :: std :: default :: Default for KSVPSURFACEPARAMS { fn default ( ) -> Self { Self { dwPitch : 0 , dwXOrigin : 0 , dwYOrigin : 0 } } } impl :: std :: fmt :: Debug for KSVPSURFACEPARAMS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSVPSURFACEPARAMS" ) . field ( "dwPitch" , & self . dwPitch ) . field ( "dwXOrigin" , & self . dwXOrigin ) . field ( "dwYOrigin" , & self . dwYOrigin ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSVPSURFACEPARAMS { fn eq ( & self , other : & Self ) -> bool { self . dwPitch == other . dwPitch && self . dwXOrigin == other . dwXOrigin && self . dwYOrigin == other . dwYOrigin } } impl :: std :: cmp :: Eq for KSVPSURFACEPARAMS { } unsafe impl :: windows :: Abi for KSVPSURFACEPARAMS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSWAVETABLE_WAVE_DESC { pub Identifier : KSIDENTIFIER , pub Size : u32 , pub Looped : super::super::super::Foundation:: BOOL , pub LoopPoint : u32 , pub InROM : super::super::super::Foundation:: BOOL , pub Format : KSDATAFORMAT } impl KSWAVETABLE_WAVE_DESC { } impl :: std :: cmp :: PartialEq for KSWAVETABLE_WAVE_DESC { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KSWAVETABLE_WAVE_DESC { } unsafe impl :: windows :: Abi for KSWAVETABLE_WAVE_DESC { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSWAVE_BUFFER { pub Attributes : u32 , pub BufferSize : u32 , pub BufferAddress : * mut :: std :: ffi :: c_void } impl KSWAVE_BUFFER { } impl :: std :: default :: Default for KSWAVE_BUFFER { fn default ( ) -> Self { Self { Attributes : 0 , BufferSize : 0 , BufferAddress : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for KSWAVE_BUFFER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSWAVE_BUFFER" ) . field ( "Attributes" , & self . Attributes ) . field ( "BufferSize" , & self . BufferSize ) . field ( "BufferAddress" , & self . BufferAddress ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSWAVE_BUFFER { fn eq ( & self , other : & Self ) -> bool { self . Attributes == other . Attributes && self . BufferSize == other . BufferSize && self . BufferAddress == other . BufferAddress } } impl :: std :: cmp :: Eq for KSWAVE_BUFFER { } unsafe impl :: windows :: Abi for KSWAVE_BUFFER { type Abi = Self ; type DefaultType = Self ; } pub const KSWAVE_BUFFER_ATTRIBUTEF_LOOPING : u32 = 1u32 ; pub const KSWAVE_BUFFER_ATTRIBUTEF_STATIC : u32 = 2u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSWAVE_COMPATCAPS { pub ulDeviceType : u32 } impl KSWAVE_COMPATCAPS { } impl :: std :: default :: Default for KSWAVE_COMPATCAPS { fn default ( ) -> Self { Self { ulDeviceType : 0 } } } impl :: std :: fmt :: Debug for KSWAVE_COMPATCAPS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSWAVE_COMPATCAPS" ) . field ( "ulDeviceType" , & self . ulDeviceType ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSWAVE_COMPATCAPS { fn eq ( & self , other : & Self ) -> bool { self . ulDeviceType == other . ulDeviceType } } impl :: std :: cmp :: Eq for KSWAVE_COMPATCAPS { } unsafe impl :: windows :: Abi for KSWAVE_COMPATCAPS { type Abi = Self ; type DefaultType = Self ; } pub const KSWAVE_COMPATCAPS_INPUT : u32 = 0u32 ; pub const KSWAVE_COMPATCAPS_OUTPUT : u32 = 1u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSWAVE_INPUT_CAPABILITIES { pub MaximumChannelsPerConnection : u32 , pub MinimumBitsPerSample : u32 , pub MaximumBitsPerSample : u32 , pub MinimumSampleFrequency : u32 , pub MaximumSampleFrequency : u32 , pub TotalConnections : u32 , pub ActiveConnections : u32 } impl KSWAVE_INPUT_CAPABILITIES { } impl :: std :: default :: Default for KSWAVE_INPUT_CAPABILITIES { fn default ( ) -> Self { Self { MaximumChannelsPerConnection : 0 , MinimumBitsPerSample : 0 , MaximumBitsPerSample : 0 , MinimumSampleFrequency : 0 , MaximumSampleFrequency : 0 , TotalConnections : 0 , ActiveConnections : 0 } } } impl :: std :: fmt :: Debug for KSWAVE_INPUT_CAPABILITIES { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSWAVE_INPUT_CAPABILITIES" ) . field ( "MaximumChannelsPerConnection" , & self . MaximumChannelsPerConnection ) . field ( "MinimumBitsPerSample" , & self . MinimumBitsPerSample ) . field ( "MaximumBitsPerSample" , & self . MaximumBitsPerSample ) . field ( "MinimumSampleFrequency" , & self . MinimumSampleFrequency ) . field ( "MaximumSampleFrequency" , & self . MaximumSampleFrequency ) . field ( "TotalConnections" , & self . TotalConnections ) . field ( "ActiveConnections" , & self . ActiveConnections ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSWAVE_INPUT_CAPABILITIES { fn eq ( & self , other : & Self ) -> bool { self . MaximumChannelsPerConnection == other . MaximumChannelsPerConnection && self . MinimumBitsPerSample == other . MinimumBitsPerSample && self . MaximumBitsPerSample == other . MaximumBitsPerSample && self . MinimumSampleFrequency == other . MinimumSampleFrequency && self . MaximumSampleFrequency == other . MaximumSampleFrequency && self . TotalConnections == other . TotalConnections && self . ActiveConnections == other . ActiveConnections } } impl :: std :: cmp :: Eq for KSWAVE_INPUT_CAPABILITIES { } unsafe impl :: windows :: Abi for KSWAVE_INPUT_CAPABILITIES { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSWAVE_OUTPUT_CAPABILITIES { pub MaximumChannelsPerConnection : u32 , pub MinimumBitsPerSample : u32 , pub MaximumBitsPerSample : u32 , pub MinimumSampleFrequency : u32 , pub MaximumSampleFrequency : u32 , pub TotalConnections : u32 , pub StaticConnections : u32 , pub StreamingConnections : u32 , pub ActiveConnections : u32 , pub ActiveStaticConnections : u32 , pub ActiveStreamingConnections : u32 , pub Total3DConnections : u32 , pub Static3DConnections : u32 , pub Streaming3DConnections : u32 , pub Active3DConnections : u32 , pub ActiveStatic3DConnections : u32 , pub ActiveStreaming3DConnections : u32 , pub TotalSampleMemory : u32 , pub FreeSampleMemory : u32 , pub LargestFreeContiguousSampleMemory : u32 } impl KSWAVE_OUTPUT_CAPABILITIES { } impl :: std :: default :: Default for KSWAVE_OUTPUT_CAPABILITIES { fn default ( ) -> Self { Self { MaximumChannelsPerConnection : 0 , MinimumBitsPerSample : 0 , MaximumBitsPerSample : 0 , MinimumSampleFrequency : 0 , MaximumSampleFrequency : 0 , TotalConnections : 0 , StaticConnections : 0 , StreamingConnections : 0 , ActiveConnections : 0 , ActiveStaticConnections : 0 , ActiveStreamingConnections : 0 , Total3DConnections : 0 , Static3DConnections : 0 , Streaming3DConnections : 0 , Active3DConnections : 0 , ActiveStatic3DConnections : 0 , ActiveStreaming3DConnections : 0 , TotalSampleMemory : 0 , FreeSampleMemory : 0 , LargestFreeContiguousSampleMemory : 0 } } } impl :: std :: fmt :: Debug for KSWAVE_OUTPUT_CAPABILITIES { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSWAVE_OUTPUT_CAPABILITIES" ) . field ( "MaximumChannelsPerConnection" , & self . MaximumChannelsPerConnection ) . field ( "MinimumBitsPerSample" , & self . MinimumBitsPerSample ) . field ( "MaximumBitsPerSample" , & self . MaximumBitsPerSample ) . field ( "MinimumSampleFrequency" , & self . MinimumSampleFrequency ) . field ( "MaximumSampleFrequency" , & self . MaximumSampleFrequency ) . field ( "TotalConnections" , & self . TotalConnections ) . field ( "StaticConnections" , & self . StaticConnections ) . field ( "StreamingConnections" , & self . StreamingConnections ) . field ( "ActiveConnections" , & self . ActiveConnections ) . field ( "ActiveStaticConnections" , & self . ActiveStaticConnections ) . field ( "ActiveStreamingConnections" , & self . ActiveStreamingConnections ) . field ( "Total3DConnections" , & self . Total3DConnections ) . field ( "Static3DConnections" , & self . Static3DConnections ) . field ( "Streaming3DConnections" , & self . Streaming3DConnections ) . field ( "Active3DConnections" , & self . Active3DConnections ) . field ( "ActiveStatic3DConnections" , & self . ActiveStatic3DConnections ) . field ( "ActiveStreaming3DConnections" , & self . ActiveStreaming3DConnections ) . field ( "TotalSampleMemory" , & self . TotalSampleMemory ) . field ( "FreeSampleMemory" , & self . FreeSampleMemory ) . field ( "LargestFreeContiguousSampleMemory" , & self . LargestFreeContiguousSampleMemory ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSWAVE_OUTPUT_CAPABILITIES { fn eq ( & self , other : & Self ) -> bool { self . MaximumChannelsPerConnection == other . MaximumChannelsPerConnection && self . MinimumBitsPerSample == other . MinimumBitsPerSample && self . MaximumBitsPerSample == other . MaximumBitsPerSample && self . MinimumSampleFrequency == other . MinimumSampleFrequency && self . MaximumSampleFrequency == other . MaximumSampleFrequency && self . TotalConnections == other . TotalConnections && self . StaticConnections == other . StaticConnections && self . StreamingConnections == other . StreamingConnections && self . ActiveConnections == other . ActiveConnections && self . ActiveStaticConnections == other . ActiveStaticConnections && self . ActiveStreamingConnections == other . ActiveStreamingConnections && self . Total3DConnections == other . Total3DConnections && self . Static3DConnections == other . Static3DConnections && self . Streaming3DConnections == other . Streaming3DConnections && self . Active3DConnections == other . Active3DConnections && self . ActiveStatic3DConnections == other . ActiveStatic3DConnections && self . ActiveStreaming3DConnections == other . ActiveStreaming3DConnections && self . TotalSampleMemory == other . TotalSampleMemory && self . FreeSampleMemory == other . FreeSampleMemory && self . LargestFreeContiguousSampleMemory == other . LargestFreeContiguousSampleMemory } } impl :: std :: cmp :: Eq for KSWAVE_OUTPUT_CAPABILITIES { } unsafe impl :: windows :: Abi for KSWAVE_OUTPUT_CAPABILITIES { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KSWAVE_VOLUME { pub LeftAttenuation : i32 , pub RightAttenuation : i32 } impl KSWAVE_VOLUME { } impl :: std :: default :: Default for KSWAVE_VOLUME { fn default ( ) -> Self { Self { LeftAttenuation : 0 , RightAttenuation : 0 } } } impl :: std :: fmt :: Debug for KSWAVE_VOLUME { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KSWAVE_VOLUME" ) . field ( "LeftAttenuation" , & self . LeftAttenuation ) . field ( "RightAttenuation" , & self . RightAttenuation ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KSWAVE_VOLUME { fn eq ( & self , other : & Self ) -> bool { self . LeftAttenuation == other . LeftAttenuation && self . RightAttenuation == other . RightAttenuation } } impl :: std :: cmp :: Eq for KSWAVE_VOLUME { } unsafe impl :: windows :: Abi for KSWAVE_VOLUME { type Abi = Self ; type DefaultType = Self ; } pub const KS_AMCONTROL_COLORINFO_PRESENT : u32 = 128u32 ; pub const KS_AMCONTROL_PAD_TO_16x9 : u32 = 4u32 ; pub const KS_AMCONTROL_PAD_TO_4x3 : u32 = 2u32 ; pub const KS_AMCONTROL_USED : 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 KS_AMPixAspectRatio ( pub i32 ) ; pub const KS_PixAspectRatio_NTSC4x3 : KS_AMPixAspectRatio = KS_AMPixAspectRatio ( 0i32 ) ; pub const KS_PixAspectRatio_NTSC16x9 : KS_AMPixAspectRatio = KS_AMPixAspectRatio ( 1i32 ) ; pub const KS_PixAspectRatio_PAL4x3 : KS_AMPixAspectRatio = KS_AMPixAspectRatio ( 2i32 ) ; pub const KS_PixAspectRatio_PAL16x9 : KS_AMPixAspectRatio = KS_AMPixAspectRatio ( 3i32 ) ; impl :: std :: convert :: From < i32 > for KS_AMPixAspectRatio { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KS_AMPixAspectRatio { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KS_AMVPDATAINFO { pub dwSize : u32 , pub dwMicrosecondsPerField : u32 , pub amvpDimInfo : KS_AMVPDIMINFO , pub dwPictAspectRatioX : u32 , pub dwPictAspectRatioY : u32 , pub bEnableDoubleClock : super::super::super::Foundation:: BOOL , pub bEnableVACT : super::super::super::Foundation:: BOOL , pub bDataIsInterlaced : super::super::super::Foundation:: BOOL , pub lHalfLinesOdd : i32 , pub bFieldPolarityInverted : super::super::super::Foundation:: BOOL , pub dwNumLinesInVREF : u32 , pub lHalfLinesEven : i32 , pub dwReserved1 : u32 } impl KS_AMVPDATAINFO { } impl :: std :: default :: Default for KS_AMVPDATAINFO { fn default ( ) -> Self { Self { dwSize : 0 , dwMicrosecondsPerField : 0 , amvpDimInfo : :: std :: default :: Default :: default ( ) , dwPictAspectRatioX : 0 , dwPictAspectRatioY : 0 , bEnableDoubleClock : :: std :: default :: Default :: default ( ) , bEnableVACT : :: std :: default :: Default :: default ( ) , bDataIsInterlaced : :: std :: default :: Default :: default ( ) , lHalfLinesOdd : 0 , bFieldPolarityInverted : :: std :: default :: Default :: default ( ) , dwNumLinesInVREF : 0 , lHalfLinesEven : 0 , dwReserved1 : 0 } } } impl :: std :: fmt :: Debug for KS_AMVPDATAINFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KS_AMVPDATAINFO" ) . field ( "dwSize" , & self . dwSize ) . field ( "dwMicrosecondsPerField" , & self . dwMicrosecondsPerField ) . field ( "amvpDimInfo" , & self . amvpDimInfo ) . field ( "dwPictAspectRatioX" , & self . dwPictAspectRatioX ) . field ( "dwPictAspectRatioY" , & self . dwPictAspectRatioY ) . field ( "bEnableDoubleClock" , & self . bEnableDoubleClock ) . field ( "bEnableVACT" , & self . bEnableVACT ) . field ( "bDataIsInterlaced" , & self . bDataIsInterlaced ) . field ( "lHalfLinesOdd" , & self . lHalfLinesOdd ) . field ( "bFieldPolarityInverted" , & self . bFieldPolarityInverted ) . field ( "dwNumLinesInVREF" , & self . dwNumLinesInVREF ) . field ( "lHalfLinesEven" , & self . lHalfLinesEven ) . field ( "dwReserved1" , & self . dwReserved1 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KS_AMVPDATAINFO { fn eq ( & self , other : & Self ) -> bool { self . dwSize == other . dwSize && self . dwMicrosecondsPerField == other . dwMicrosecondsPerField && self . amvpDimInfo == other . amvpDimInfo && self . dwPictAspectRatioX == other . dwPictAspectRatioX && self . dwPictAspectRatioY == other . dwPictAspectRatioY && self . bEnableDoubleClock == other . bEnableDoubleClock && self . bEnableVACT == other . bEnableVACT && self . bDataIsInterlaced == other . bDataIsInterlaced && self . lHalfLinesOdd == other . lHalfLinesOdd && self . bFieldPolarityInverted == other . bFieldPolarityInverted && self . dwNumLinesInVREF == other . dwNumLinesInVREF && self . lHalfLinesEven == other . lHalfLinesEven && self . dwReserved1 == other . dwReserved1 } } impl :: std :: cmp :: Eq for KS_AMVPDATAINFO { } unsafe impl :: windows :: Abi for KS_AMVPDATAINFO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KS_AMVPDIMINFO { pub dwFieldWidth : u32 , pub dwFieldHeight : u32 , pub dwVBIWidth : u32 , pub dwVBIHeight : u32 , pub rcValidRegion : super::super::super::Foundation:: RECT } impl KS_AMVPDIMINFO { } impl :: std :: default :: Default for KS_AMVPDIMINFO { fn default ( ) -> Self { Self { dwFieldWidth : 0 , dwFieldHeight : 0 , dwVBIWidth : 0 , dwVBIHeight : 0 , rcValidRegion : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for KS_AMVPDIMINFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KS_AMVPDIMINFO" ) . field ( "dwFieldWidth" , & self . dwFieldWidth ) . field ( "dwFieldHeight" , & self . dwFieldHeight ) . field ( "dwVBIWidth" , & self . dwVBIWidth ) . field ( "dwVBIHeight" , & self . dwVBIHeight ) . field ( "rcValidRegion" , & self . rcValidRegion ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KS_AMVPDIMINFO { fn eq ( & self , other : & Self ) -> bool { self . dwFieldWidth == other . dwFieldWidth && self . dwFieldHeight == other . dwFieldHeight && self . dwVBIWidth == other . dwVBIWidth && self . dwVBIHeight == other . dwVBIHeight && self . rcValidRegion == other . rcValidRegion } } impl :: std :: cmp :: Eq for KS_AMVPDIMINFO { } unsafe impl :: windows :: Abi for KS_AMVPDIMINFO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KS_AMVPSIZE { pub dwWidth : u32 , pub dwHeight : u32 } impl KS_AMVPSIZE { } impl :: std :: default :: Default for KS_AMVPSIZE { fn default ( ) -> Self { Self { dwWidth : 0 , dwHeight : 0 } } } impl :: std :: fmt :: Debug for KS_AMVPSIZE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KS_AMVPSIZE" ) . field ( "dwWidth" , & self . dwWidth ) . field ( "dwHeight" , & self . dwHeight ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KS_AMVPSIZE { fn eq ( & self , other : & Self ) -> bool { self . dwWidth == other . dwWidth && self . dwHeight == other . dwHeight } } impl :: std :: cmp :: Eq for KS_AMVPSIZE { } unsafe impl :: windows :: Abi for KS_AMVPSIZE { 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 KS_AMVP_MODE ( pub i32 ) ; pub const KS_AMVP_MODE_WEAVE : KS_AMVP_MODE = KS_AMVP_MODE ( 0i32 ) ; pub const KS_AMVP_MODE_BOBINTERLEAVED : KS_AMVP_MODE = KS_AMVP_MODE ( 1i32 ) ; pub const KS_AMVP_MODE_BOBNONINTERLEAVED : KS_AMVP_MODE = KS_AMVP_MODE ( 2i32 ) ; pub const KS_AMVP_MODE_SKIPEVEN : KS_AMVP_MODE = KS_AMVP_MODE ( 3i32 ) ; pub const KS_AMVP_MODE_SKIPODD : KS_AMVP_MODE = KS_AMVP_MODE ( 4i32 ) ; impl :: std :: convert :: From < i32 > for KS_AMVP_MODE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KS_AMVP_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 KS_AMVP_SELECTFORMATBY ( pub i32 ) ; pub const KS_AMVP_DO_NOT_CARE : KS_AMVP_SELECTFORMATBY = KS_AMVP_SELECTFORMATBY ( 0i32 ) ; pub const KS_AMVP_BEST_BANDWIDTH : KS_AMVP_SELECTFORMATBY = KS_AMVP_SELECTFORMATBY ( 1i32 ) ; pub const KS_AMVP_INPUT_SAME_AS_OUTPUT : KS_AMVP_SELECTFORMATBY = KS_AMVP_SELECTFORMATBY ( 2i32 ) ; impl :: std :: convert :: From < i32 > for KS_AMVP_SELECTFORMATBY { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KS_AMVP_SELECTFORMATBY { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KS_AM_ExactRateChange { pub OutputZeroTime : i64 , pub Rate : i32 } impl KS_AM_ExactRateChange { } impl :: std :: default :: Default for KS_AM_ExactRateChange { fn default ( ) -> Self { Self { OutputZeroTime : 0 , Rate : 0 } } } impl :: std :: fmt :: Debug for KS_AM_ExactRateChange { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KS_AM_ExactRateChange" ) . field ( "OutputZeroTime" , & self . OutputZeroTime ) . field ( "Rate" , & self . Rate ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KS_AM_ExactRateChange { fn eq ( & self , other : & Self ) -> bool { self . OutputZeroTime == other . OutputZeroTime && self . Rate == other . Rate } } impl :: std :: cmp :: Eq for KS_AM_ExactRateChange { } unsafe impl :: windows :: Abi for KS_AM_ExactRateChange { 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 KS_AM_PROPERTY_TS_RATE_CHANGE ( pub i32 ) ; pub const KS_AM_RATE_SimpleRateChange : KS_AM_PROPERTY_TS_RATE_CHANGE = KS_AM_PROPERTY_TS_RATE_CHANGE ( 1i32 ) ; pub const KS_AM_RATE_ExactRateChange : KS_AM_PROPERTY_TS_RATE_CHANGE = KS_AM_PROPERTY_TS_RATE_CHANGE ( 2i32 ) ; pub const KS_AM_RATE_MaxFullDataRate : KS_AM_PROPERTY_TS_RATE_CHANGE = KS_AM_PROPERTY_TS_RATE_CHANGE ( 3i32 ) ; pub const KS_AM_RATE_Step : KS_AM_PROPERTY_TS_RATE_CHANGE = KS_AM_PROPERTY_TS_RATE_CHANGE ( 4i32 ) ; impl :: std :: convert :: From < i32 > for KS_AM_PROPERTY_TS_RATE_CHANGE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KS_AM_PROPERTY_TS_RATE_CHANGE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KS_AM_SimpleRateChange { pub StartTime : i64 , pub Rate : i32 } impl KS_AM_SimpleRateChange { } impl :: std :: default :: Default for KS_AM_SimpleRateChange { fn default ( ) -> Self { Self { StartTime : 0 , Rate : 0 } } } impl :: std :: fmt :: Debug for KS_AM_SimpleRateChange { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KS_AM_SimpleRateChange" ) . field ( "StartTime" , & self . StartTime ) . field ( "Rate" , & self . Rate ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KS_AM_SimpleRateChange { fn eq ( & self , other : & Self ) -> bool { self . StartTime == other . StartTime && self . Rate == other . Rate } } impl :: std :: cmp :: Eq for KS_AM_SimpleRateChange { } unsafe impl :: windows :: Abi for KS_AM_SimpleRateChange { type Abi = Self ; type DefaultType = Self ; } pub const KS_AM_UseNewCSSKey : i32 = 1i32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KS_AnalogVideoInfo { pub rcSource : super::super::super::Foundation:: RECT , pub rcTarget : super::super::super::Foundation:: RECT , pub dwActiveWidth : u32 , pub dwActiveHeight : u32 , pub AvgTimePerFrame : i64 } impl KS_AnalogVideoInfo { } impl :: std :: default :: Default for KS_AnalogVideoInfo { fn default ( ) -> Self { Self { rcSource : :: std :: default :: Default :: default ( ) , rcTarget : :: std :: default :: Default :: default ( ) , dwActiveWidth : 0 , dwActiveHeight : 0 , AvgTimePerFrame : 0 } } } impl :: std :: fmt :: Debug for KS_AnalogVideoInfo { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KS_AnalogVideoInfo" ) . field ( "rcSource" , & self . rcSource ) . field ( "rcTarget" , & self . rcTarget ) . field ( "dwActiveWidth" , & self . dwActiveWidth ) . field ( "dwActiveHeight" , & self . dwActiveHeight ) . field ( "AvgTimePerFrame" , & self . AvgTimePerFrame ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KS_AnalogVideoInfo { fn eq ( & self , other : & Self ) -> bool { self . rcSource == other . rcSource && self . rcTarget == other . rcTarget && self . dwActiveWidth == other . dwActiveWidth && self . dwActiveHeight == other . dwActiveHeight && self . AvgTimePerFrame == other . AvgTimePerFrame } } impl :: std :: cmp :: Eq for KS_AnalogVideoInfo { } unsafe impl :: windows :: Abi for KS_AnalogVideoInfo { 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 KS_AnalogVideoStandard ( pub i32 ) ; pub const KS_AnalogVideo_None : KS_AnalogVideoStandard = KS_AnalogVideoStandard ( 0i32 ) ; pub const KS_AnalogVideo_NTSC_M : KS_AnalogVideoStandard = KS_AnalogVideoStandard ( 1i32 ) ; pub const KS_AnalogVideo_NTSC_M_J : KS_AnalogVideoStandard = KS_AnalogVideoStandard ( 2i32 ) ; pub const KS_AnalogVideo_NTSC_433 : KS_AnalogVideoStandard = KS_AnalogVideoStandard ( 4i32 ) ; pub const KS_AnalogVideo_PAL_B : KS_AnalogVideoStandard = KS_AnalogVideoStandard ( 16i32 ) ; pub const KS_AnalogVideo_PAL_D : KS_AnalogVideoStandard = KS_AnalogVideoStandard ( 32i32 ) ; pub const KS_AnalogVideo_PAL_G : KS_AnalogVideoStandard = KS_AnalogVideoStandard ( 64i32 ) ; pub const KS_AnalogVideo_PAL_H : KS_AnalogVideoStandard = KS_AnalogVideoStandard ( 128i32 ) ; pub const KS_AnalogVideo_PAL_I : KS_AnalogVideoStandard = KS_AnalogVideoStandard ( 256i32 ) ; pub const KS_AnalogVideo_PAL_M : KS_AnalogVideoStandard = KS_AnalogVideoStandard ( 512i32 ) ; pub const KS_AnalogVideo_PAL_N : KS_AnalogVideoStandard = KS_AnalogVideoStandard ( 1024i32 ) ; pub const KS_AnalogVideo_PAL_60 : KS_AnalogVideoStandard = KS_AnalogVideoStandard ( 2048i32 ) ; pub const KS_AnalogVideo_SECAM_B : KS_AnalogVideoStandard = KS_AnalogVideoStandard ( 4096i32 ) ; pub const KS_AnalogVideo_SECAM_D : KS_AnalogVideoStandard = KS_AnalogVideoStandard ( 8192i32 ) ; pub const KS_AnalogVideo_SECAM_G : KS_AnalogVideoStandard = KS_AnalogVideoStandard ( 16384i32 ) ; pub const KS_AnalogVideo_SECAM_H : KS_AnalogVideoStandard = KS_AnalogVideoStandard ( 32768i32 ) ; pub const KS_AnalogVideo_SECAM_K : KS_AnalogVideoStandard = KS_AnalogVideoStandard ( 65536i32 ) ; pub const KS_AnalogVideo_SECAM_K1 : KS_AnalogVideoStandard = KS_AnalogVideoStandard ( 131072i32 ) ; pub const KS_AnalogVideo_SECAM_L : KS_AnalogVideoStandard = KS_AnalogVideoStandard ( 262144i32 ) ; pub const KS_AnalogVideo_SECAM_L1 : KS_AnalogVideoStandard = KS_AnalogVideoStandard ( 524288i32 ) ; pub const KS_AnalogVideo_PAL_N_COMBO : KS_AnalogVideoStandard = KS_AnalogVideoStandard ( 1048576i32 ) ; impl :: std :: convert :: From < i32 > for KS_AnalogVideoStandard { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KS_AnalogVideoStandard { type Abi = Self ; type DefaultType = Self ; } pub const KS_AnalogVideo_NTSC_Mask : u32 = 7u32 ; pub const KS_AnalogVideo_PAL_Mask : u32 = 1052656u32 ; pub const KS_AnalogVideo_SECAM_Mask : u32 = 1044480u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KS_BITMAPINFOHEADER { pub biSize : u32 , pub biWidth : i32 , pub biHeight : i32 , pub biPlanes : u16 , pub biBitCount : u16 , pub biCompression : u32 , pub biSizeImage : u32 , pub biXPelsPerMeter : i32 , pub biYPelsPerMeter : i32 , pub biClrUsed : u32 , pub biClrImportant : u32 } impl KS_BITMAPINFOHEADER { } impl :: std :: default :: Default for KS_BITMAPINFOHEADER { fn default ( ) -> Self { Self { biSize : 0 , biWidth : 0 , biHeight : 0 , biPlanes : 0 , biBitCount : 0 , biCompression : 0 , biSizeImage : 0 , biXPelsPerMeter : 0 , biYPelsPerMeter : 0 , biClrUsed : 0 , biClrImportant : 0 } } } impl :: std :: fmt :: Debug for KS_BITMAPINFOHEADER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KS_BITMAPINFOHEADER" ) . field ( "biSize" , & self . biSize ) . field ( "biWidth" , & self . biWidth ) . field ( "biHeight" , & self . biHeight ) . field ( "biPlanes" , & self . biPlanes ) . field ( "biBitCount" , & self . biBitCount ) . field ( "biCompression" , & self . biCompression ) . field ( "biSizeImage" , & self . biSizeImage ) . field ( "biXPelsPerMeter" , & self . biXPelsPerMeter ) . field ( "biYPelsPerMeter" , & self . biYPelsPerMeter ) . field ( "biClrUsed" , & self . biClrUsed ) . field ( "biClrImportant" , & self . biClrImportant ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KS_BITMAPINFOHEADER { fn eq ( & self , other : & Self ) -> bool { self . biSize == other . biSize && self . biWidth == other . biWidth && self . biHeight == other . biHeight && self . biPlanes == other . biPlanes && self . biBitCount == other . biBitCount && self . biCompression == other . biCompression && self . biSizeImage == other . biSizeImage && self . biXPelsPerMeter == other . biXPelsPerMeter && self . biYPelsPerMeter == other . biYPelsPerMeter && self . biClrUsed == other . biClrUsed && self . biClrImportant == other . biClrImportant } } impl :: std :: cmp :: Eq for KS_BITMAPINFOHEADER { } unsafe impl :: windows :: Abi for KS_BITMAPINFOHEADER { type Abi = Self ; type DefaultType = Self ; } pub const KS_BI_BITFIELDS : i32 = 3i32 ; pub const KS_BI_JPEG : i32 = 4i32 ; pub const KS_BI_RGB : i32 = 0i32 ; pub const KS_BI_RLE4 : i32 = 2i32 ; pub const KS_BI_RLE8 : i32 = 1i32 ; pub const KS_CC_SUBSTREAM_EVEN : i32 = 2i32 ; pub const KS_CC_SUBSTREAM_FIELD1_MASK : i32 = 240i32 ; pub const KS_CC_SUBSTREAM_FIELD2_MASK : i32 = 7936i32 ; pub const KS_CC_SUBSTREAM_ODD : i32 = 1i32 ; pub const KS_CC_SUBSTREAM_SERVICE_CC1 : i32 = 16i32 ; pub const KS_CC_SUBSTREAM_SERVICE_CC2 : i32 = 32i32 ; pub const KS_CC_SUBSTREAM_SERVICE_CC3 : i32 = 256i32 ; pub const KS_CC_SUBSTREAM_SERVICE_CC4 : i32 = 512i32 ; pub const KS_CC_SUBSTREAM_SERVICE_T1 : i32 = 64i32 ; pub const KS_CC_SUBSTREAM_SERVICE_T2 : i32 = 128i32 ; pub const KS_CC_SUBSTREAM_SERVICE_T3 : i32 = 1024i32 ; pub const KS_CC_SUBSTREAM_SERVICE_T4 : i32 = 2048i32 ; pub const KS_CC_SUBSTREAM_SERVICE_XDS : i32 = 4096i32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KS_COLCON { pub _bitfield1 : u8 , pub _bitfield2 : u8 , pub _bitfield3 : u8 , pub _bitfield4 : u8 } impl KS_COLCON { } impl :: std :: default :: Default for KS_COLCON { fn default ( ) -> Self { Self { _bitfield1 : 0 , _bitfield2 : 0 , _bitfield3 : 0 , _bitfield4 : 0 } } } impl :: std :: fmt :: Debug for KS_COLCON { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KS_COLCON" ) . field ( "_bitfield1" , & self . _bitfield1 ) . field ( "_bitfield2" , & self . _bitfield2 ) . field ( "_bitfield3" , & self . _bitfield3 ) . field ( "_bitfield4" , & self . _bitfield4 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KS_COLCON { fn eq ( & self , other : & Self ) -> bool { self . _bitfield1 == other . _bitfield1 && self . _bitfield2 == other . _bitfield2 && self . _bitfield3 == other . _bitfield3 && self . _bitfield4 == other . _bitfield4 } } impl :: std :: cmp :: Eq for KS_COLCON { } unsafe impl :: windows :: Abi for KS_COLCON { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KS_COMPRESSION { pub RatioNumerator : u32 , pub RatioDenominator : u32 , pub RatioConstantMargin : u32 } impl KS_COMPRESSION { } impl :: std :: default :: Default for KS_COMPRESSION { fn default ( ) -> Self { Self { RatioNumerator : 0 , RatioDenominator : 0 , RatioConstantMargin : 0 } } } impl :: std :: fmt :: Debug for KS_COMPRESSION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KS_COMPRESSION" ) . field ( "RatioNumerator" , & self . RatioNumerator ) . field ( "RatioDenominator" , & self . RatioDenominator ) . field ( "RatioConstantMargin" , & self . RatioConstantMargin ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KS_COMPRESSION { fn eq ( & self , other : & Self ) -> bool { self . RatioNumerator == other . RatioNumerator && self . RatioDenominator == other . RatioDenominator && self . RatioConstantMargin == other . RatioConstantMargin } } impl :: std :: cmp :: Eq for KS_COMPRESSION { } unsafe impl :: windows :: Abi for KS_COMPRESSION { type Abi = Self ; type DefaultType = Self ; } pub const KS_COPYPROTECT_RestrictDuplication : u32 = 1u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KS_COPY_MACROVISION { pub MACROVISIONLevel : u32 } impl KS_COPY_MACROVISION { } impl :: std :: default :: Default for KS_COPY_MACROVISION { fn default ( ) -> Self { Self { MACROVISIONLevel : 0 } } } impl :: std :: fmt :: Debug for KS_COPY_MACROVISION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KS_COPY_MACROVISION" ) . field ( "MACROVISIONLevel" , & self . MACROVISIONLevel ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KS_COPY_MACROVISION { fn eq ( & self , other : & Self ) -> bool { self . MACROVISIONLevel == other . MACROVISIONLevel } } impl :: std :: cmp :: Eq for KS_COPY_MACROVISION { } unsafe impl :: windows :: Abi for KS_COPY_MACROVISION { 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 KS_COPY_MACROVISION_LEVEL ( pub i32 ) ; pub const KS_MACROVISION_DISABLED : KS_COPY_MACROVISION_LEVEL = KS_COPY_MACROVISION_LEVEL ( 0i32 ) ; pub const KS_MACROVISION_LEVEL1 : KS_COPY_MACROVISION_LEVEL = KS_COPY_MACROVISION_LEVEL ( 1i32 ) ; pub const KS_MACROVISION_LEVEL2 : KS_COPY_MACROVISION_LEVEL = KS_COPY_MACROVISION_LEVEL ( 2i32 ) ; pub const KS_MACROVISION_LEVEL3 : KS_COPY_MACROVISION_LEVEL = KS_COPY_MACROVISION_LEVEL ( 3i32 ) ; impl :: std :: convert :: From < i32 > for KS_COPY_MACROVISION_LEVEL { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KS_COPY_MACROVISION_LEVEL { 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 KS_CameraControlAsyncOperation ( pub i32 ) ; pub const KS_CAMERACONTROL_ASYNC_START : KS_CameraControlAsyncOperation = KS_CameraControlAsyncOperation ( 1i32 ) ; pub const KS_CAMERACONTROL_ASYNC_STOP : KS_CameraControlAsyncOperation = KS_CameraControlAsyncOperation ( 2i32 ) ; pub const KS_CAMERACONTROL_ASYNC_RESET : KS_CameraControlAsyncOperation = KS_CameraControlAsyncOperation ( 3i32 ) ; impl :: std :: convert :: From < i32 > for KS_CameraControlAsyncOperation { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KS_CameraControlAsyncOperation { 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 KS_CompressionCaps ( pub i32 ) ; pub const KS_CompressionCaps_CanQuality : KS_CompressionCaps = KS_CompressionCaps ( 1i32 ) ; pub const KS_CompressionCaps_CanCrunch : KS_CompressionCaps = KS_CompressionCaps ( 2i32 ) ; pub const KS_CompressionCaps_CanKeyFrame : KS_CompressionCaps = KS_CompressionCaps ( 4i32 ) ; pub const KS_CompressionCaps_CanBFrame : KS_CompressionCaps = KS_CompressionCaps ( 8i32 ) ; pub const KS_CompressionCaps_CanWindow : KS_CompressionCaps = KS_CompressionCaps ( 16i32 ) ; impl :: std :: convert :: From < i32 > for KS_CompressionCaps { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KS_CompressionCaps { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KS_DATAFORMAT_H264VIDEOINFO { pub DataFormat : KSDATAFORMAT , pub H264VideoInfoHeader : KS_H264VIDEOINFO } impl KS_DATAFORMAT_H264VIDEOINFO { } impl :: std :: cmp :: PartialEq for KS_DATAFORMAT_H264VIDEOINFO { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KS_DATAFORMAT_H264VIDEOINFO { } unsafe impl :: windows :: Abi for KS_DATAFORMAT_H264VIDEOINFO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KS_DATAFORMAT_IMAGEINFO { pub DataFormat : KSDATAFORMAT , pub ImageInfoHeader : KS_BITMAPINFOHEADER } impl KS_DATAFORMAT_IMAGEINFO { } impl :: std :: cmp :: PartialEq for KS_DATAFORMAT_IMAGEINFO { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KS_DATAFORMAT_IMAGEINFO { } unsafe impl :: windows :: Abi for KS_DATAFORMAT_IMAGEINFO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KS_DATAFORMAT_MPEGVIDEOINFO2 { pub DataFormat : KSDATAFORMAT , pub MpegVideoInfoHeader2 : KS_MPEGVIDEOINFO2 } impl KS_DATAFORMAT_MPEGVIDEOINFO2 { } impl :: std :: cmp :: PartialEq for KS_DATAFORMAT_MPEGVIDEOINFO2 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KS_DATAFORMAT_MPEGVIDEOINFO2 { } unsafe impl :: windows :: Abi for KS_DATAFORMAT_MPEGVIDEOINFO2 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KS_DATAFORMAT_VBIINFOHEADER { pub DataFormat : KSDATAFORMAT , pub VBIInfoHeader : KS_VBIINFOHEADER } impl KS_DATAFORMAT_VBIINFOHEADER { } impl :: std :: cmp :: PartialEq for KS_DATAFORMAT_VBIINFOHEADER { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KS_DATAFORMAT_VBIINFOHEADER { } unsafe impl :: windows :: Abi for KS_DATAFORMAT_VBIINFOHEADER { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KS_DATAFORMAT_VIDEOINFOHEADER { pub DataFormat : KSDATAFORMAT , pub VideoInfoHeader : KS_VIDEOINFOHEADER } impl KS_DATAFORMAT_VIDEOINFOHEADER { } impl :: std :: cmp :: PartialEq for KS_DATAFORMAT_VIDEOINFOHEADER { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KS_DATAFORMAT_VIDEOINFOHEADER { } unsafe impl :: windows :: Abi for KS_DATAFORMAT_VIDEOINFOHEADER { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KS_DATAFORMAT_VIDEOINFOHEADER2 { pub DataFormat : KSDATAFORMAT , pub VideoInfoHeader2 : KS_VIDEOINFOHEADER2 } impl KS_DATAFORMAT_VIDEOINFOHEADER2 { } impl :: std :: cmp :: PartialEq for KS_DATAFORMAT_VIDEOINFOHEADER2 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KS_DATAFORMAT_VIDEOINFOHEADER2 { } unsafe impl :: windows :: Abi for KS_DATAFORMAT_VIDEOINFOHEADER2 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KS_DATAFORMAT_VIDEOINFO_PALETTE { pub DataFormat : KSDATAFORMAT , pub VideoInfo : KS_VIDEOINFO } impl KS_DATAFORMAT_VIDEOINFO_PALETTE { } impl :: std :: cmp :: PartialEq for KS_DATAFORMAT_VIDEOINFO_PALETTE { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KS_DATAFORMAT_VIDEOINFO_PALETTE { } unsafe impl :: windows :: Abi for KS_DATAFORMAT_VIDEOINFO_PALETTE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KS_DATARANGE_ANALOGVIDEO { pub DataRange : KSDATAFORMAT , pub AnalogVideoInfo : KS_AnalogVideoInfo } impl KS_DATARANGE_ANALOGVIDEO { } impl :: std :: cmp :: PartialEq for KS_DATARANGE_ANALOGVIDEO { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KS_DATARANGE_ANALOGVIDEO { } unsafe impl :: windows :: Abi for KS_DATARANGE_ANALOGVIDEO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KS_DATARANGE_H264_VIDEO { pub DataRange : KSDATAFORMAT , pub bFixedSizeSamples : super::super::super::Foundation:: BOOL , pub bTemporalCompression : super::super::super::Foundation:: BOOL , pub StreamDescriptionFlags : u32 , pub MemoryAllocationFlags : u32 , pub ConfigCaps : KS_VIDEO_STREAM_CONFIG_CAPS , pub VideoInfoHeader : KS_H264VIDEOINFO } impl KS_DATARANGE_H264_VIDEO { } impl :: std :: cmp :: PartialEq for KS_DATARANGE_H264_VIDEO { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KS_DATARANGE_H264_VIDEO { } unsafe impl :: windows :: Abi for KS_DATARANGE_H264_VIDEO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KS_DATARANGE_IMAGE { pub DataRange : KSDATAFORMAT , pub ConfigCaps : KS_VIDEO_STREAM_CONFIG_CAPS , pub ImageInfoHeader : KS_BITMAPINFOHEADER } impl KS_DATARANGE_IMAGE { } impl :: std :: cmp :: PartialEq for KS_DATARANGE_IMAGE { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KS_DATARANGE_IMAGE { } unsafe impl :: windows :: Abi for KS_DATARANGE_IMAGE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KS_DATARANGE_MPEG1_VIDEO { pub DataRange : KSDATAFORMAT , pub bFixedSizeSamples : super::super::super::Foundation:: BOOL , pub bTemporalCompression : super::super::super::Foundation:: BOOL , pub StreamDescriptionFlags : u32 , pub MemoryAllocationFlags : u32 , pub ConfigCaps : KS_VIDEO_STREAM_CONFIG_CAPS , pub VideoInfoHeader : KS_MPEG1VIDEOINFO } impl KS_DATARANGE_MPEG1_VIDEO { } impl :: std :: cmp :: PartialEq for KS_DATARANGE_MPEG1_VIDEO { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KS_DATARANGE_MPEG1_VIDEO { } unsafe impl :: windows :: Abi for KS_DATARANGE_MPEG1_VIDEO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KS_DATARANGE_MPEG2_VIDEO { pub DataRange : KSDATAFORMAT , pub bFixedSizeSamples : super::super::super::Foundation:: BOOL , pub bTemporalCompression : super::super::super::Foundation:: BOOL , pub StreamDescriptionFlags : u32 , pub MemoryAllocationFlags : u32 , pub ConfigCaps : KS_VIDEO_STREAM_CONFIG_CAPS , pub VideoInfoHeader : KS_MPEGVIDEOINFO2 } impl KS_DATARANGE_MPEG2_VIDEO { } impl :: std :: cmp :: PartialEq for KS_DATARANGE_MPEG2_VIDEO { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KS_DATARANGE_MPEG2_VIDEO { } unsafe impl :: windows :: Abi for KS_DATARANGE_MPEG2_VIDEO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KS_DATARANGE_VIDEO { pub DataRange : KSDATAFORMAT , pub bFixedSizeSamples : super::super::super::Foundation:: BOOL , pub bTemporalCompression : super::super::super::Foundation:: BOOL , pub StreamDescriptionFlags : u32 , pub MemoryAllocationFlags : u32 , pub ConfigCaps : KS_VIDEO_STREAM_CONFIG_CAPS , pub VideoInfoHeader : KS_VIDEOINFOHEADER } impl KS_DATARANGE_VIDEO { } impl :: std :: cmp :: PartialEq for KS_DATARANGE_VIDEO { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KS_DATARANGE_VIDEO { } unsafe impl :: windows :: Abi for KS_DATARANGE_VIDEO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KS_DATARANGE_VIDEO2 { pub DataRange : KSDATAFORMAT , pub bFixedSizeSamples : super::super::super::Foundation:: BOOL , pub bTemporalCompression : super::super::super::Foundation:: BOOL , pub StreamDescriptionFlags : u32 , pub MemoryAllocationFlags : u32 , pub ConfigCaps : KS_VIDEO_STREAM_CONFIG_CAPS , pub VideoInfoHeader : KS_VIDEOINFOHEADER2 } impl KS_DATARANGE_VIDEO2 { } impl :: std :: cmp :: PartialEq for KS_DATARANGE_VIDEO2 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KS_DATARANGE_VIDEO2 { } unsafe impl :: windows :: Abi for KS_DATARANGE_VIDEO2 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KS_DATARANGE_VIDEO_PALETTE { pub DataRange : KSDATAFORMAT , pub bFixedSizeSamples : super::super::super::Foundation:: BOOL , pub bTemporalCompression : super::super::super::Foundation:: BOOL , pub StreamDescriptionFlags : u32 , pub MemoryAllocationFlags : u32 , pub ConfigCaps : KS_VIDEO_STREAM_CONFIG_CAPS , pub VideoInfo : KS_VIDEOINFO } impl KS_DATARANGE_VIDEO_PALETTE { } impl :: std :: cmp :: PartialEq for KS_DATARANGE_VIDEO_PALETTE { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KS_DATARANGE_VIDEO_PALETTE { } unsafe impl :: windows :: Abi for KS_DATARANGE_VIDEO_PALETTE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KS_DATARANGE_VIDEO_VBI { pub DataRange : KSDATAFORMAT , pub bFixedSizeSamples : super::super::super::Foundation:: BOOL , pub bTemporalCompression : super::super::super::Foundation:: BOOL , pub StreamDescriptionFlags : u32 , pub MemoryAllocationFlags : u32 , pub ConfigCaps : KS_VIDEO_STREAM_CONFIG_CAPS , pub VBIInfoHeader : KS_VBIINFOHEADER } impl KS_DATARANGE_VIDEO_VBI { } impl :: std :: cmp :: PartialEq for KS_DATARANGE_VIDEO_VBI { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KS_DATARANGE_VIDEO_VBI { } unsafe impl :: windows :: Abi for KS_DATARANGE_VIDEO_VBI { 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 KS_DVDCOPYSTATE ( pub i32 ) ; pub const KS_DVDCOPYSTATE_INITIALIZE : KS_DVDCOPYSTATE = KS_DVDCOPYSTATE ( 0i32 ) ; pub const KS_DVDCOPYSTATE_INITIALIZE_TITLE : KS_DVDCOPYSTATE = KS_DVDCOPYSTATE ( 1i32 ) ; pub const KS_DVDCOPYSTATE_AUTHENTICATION_NOT_REQUIRED : KS_DVDCOPYSTATE = KS_DVDCOPYSTATE ( 2i32 ) ; pub const KS_DVDCOPYSTATE_AUTHENTICATION_REQUIRED : KS_DVDCOPYSTATE = KS_DVDCOPYSTATE ( 3i32 ) ; pub const KS_DVDCOPYSTATE_DONE : KS_DVDCOPYSTATE = KS_DVDCOPYSTATE ( 4i32 ) ; impl :: std :: convert :: From < i32 > for KS_DVDCOPYSTATE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KS_DVDCOPYSTATE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KS_DVDCOPY_BUSKEY { pub BusKey : [ u8 ;5 ] , pub Reserved : [ u8 ;1 ] } impl KS_DVDCOPY_BUSKEY { } impl :: std :: default :: Default for KS_DVDCOPY_BUSKEY { fn default ( ) -> Self { Self { BusKey : [ 0 ;5 ] , Reserved : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for KS_DVDCOPY_BUSKEY { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KS_DVDCOPY_BUSKEY" ) . field ( "BusKey" , & self . BusKey ) . field ( "Reserved" , & self . Reserved ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KS_DVDCOPY_BUSKEY { fn eq ( & self , other : & Self ) -> bool { self . BusKey == other . BusKey && self . Reserved == other . Reserved } } impl :: std :: cmp :: Eq for KS_DVDCOPY_BUSKEY { } unsafe impl :: windows :: Abi for KS_DVDCOPY_BUSKEY { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KS_DVDCOPY_CHLGKEY { pub ChlgKey : [ u8 ;10 ] , pub Reserved : [ u8 ;2 ] } impl KS_DVDCOPY_CHLGKEY { } impl :: std :: default :: Default for KS_DVDCOPY_CHLGKEY { fn default ( ) -> Self { Self { ChlgKey : [ 0 ;10 ] , Reserved : [ 0 ;2 ] } } } impl :: std :: fmt :: Debug for KS_DVDCOPY_CHLGKEY { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KS_DVDCOPY_CHLGKEY" ) . field ( "ChlgKey" , & self . ChlgKey ) . field ( "Reserved" , & self . Reserved ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KS_DVDCOPY_CHLGKEY { fn eq ( & self , other : & Self ) -> bool { self . ChlgKey == other . ChlgKey && self . Reserved == other . Reserved } } impl :: std :: cmp :: Eq for KS_DVDCOPY_CHLGKEY { } unsafe impl :: windows :: Abi for KS_DVDCOPY_CHLGKEY { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KS_DVDCOPY_DISCKEY { pub DiscKey : [ u8 ;2048 ] } impl KS_DVDCOPY_DISCKEY { } impl :: std :: default :: Default for KS_DVDCOPY_DISCKEY { fn default ( ) -> Self { Self { DiscKey : [ 0 ;2048 ] } } } impl :: std :: fmt :: Debug for KS_DVDCOPY_DISCKEY { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KS_DVDCOPY_DISCKEY" ) . field ( "DiscKey" , & self . DiscKey ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KS_DVDCOPY_DISCKEY { fn eq ( & self , other : & Self ) -> bool { self . DiscKey == other . DiscKey } } impl :: std :: cmp :: Eq for KS_DVDCOPY_DISCKEY { } unsafe impl :: windows :: Abi for KS_DVDCOPY_DISCKEY { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KS_DVDCOPY_REGION { pub Reserved : u8 , pub RegionData : u8 , pub Reserved2 : [ u8 ;2 ] } impl KS_DVDCOPY_REGION { } impl :: std :: default :: Default for KS_DVDCOPY_REGION { fn default ( ) -> Self { Self { Reserved : 0 , RegionData : 0 , Reserved2 : [ 0 ;2 ] } } } impl :: std :: fmt :: Debug for KS_DVDCOPY_REGION { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KS_DVDCOPY_REGION" ) . field ( "Reserved" , & self . Reserved ) . field ( "RegionData" , & self . RegionData ) . field ( "Reserved2" , & self . Reserved2 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KS_DVDCOPY_REGION { fn eq ( & self , other : & Self ) -> bool { self . Reserved == other . Reserved && self . RegionData == other . RegionData && self . Reserved2 == other . Reserved2 } } impl :: std :: cmp :: Eq for KS_DVDCOPY_REGION { } unsafe impl :: windows :: Abi for KS_DVDCOPY_REGION { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KS_DVDCOPY_SET_COPY_STATE { pub DVDCopyState : u32 } impl KS_DVDCOPY_SET_COPY_STATE { } impl :: std :: default :: Default for KS_DVDCOPY_SET_COPY_STATE { fn default ( ) -> Self { Self { DVDCopyState : 0 } } } impl :: std :: fmt :: Debug for KS_DVDCOPY_SET_COPY_STATE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KS_DVDCOPY_SET_COPY_STATE" ) . field ( "DVDCopyState" , & self . DVDCopyState ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KS_DVDCOPY_SET_COPY_STATE { fn eq ( & self , other : & Self ) -> bool { self . DVDCopyState == other . DVDCopyState } } impl :: std :: cmp :: Eq for KS_DVDCOPY_SET_COPY_STATE { } unsafe impl :: windows :: Abi for KS_DVDCOPY_SET_COPY_STATE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KS_DVDCOPY_TITLEKEY { pub KeyFlags : u32 , pub ReservedNT : [ u32 ;2 ] , pub TitleKey : [ u8 ;6 ] , pub Reserved : [ u8 ;2 ] } impl KS_DVDCOPY_TITLEKEY { } impl :: std :: default :: Default for KS_DVDCOPY_TITLEKEY { fn default ( ) -> Self { Self { KeyFlags : 0 , ReservedNT : [ 0 ;2 ] , TitleKey : [ 0 ;6 ] , Reserved : [ 0 ;2 ] } } } impl :: std :: fmt :: Debug for KS_DVDCOPY_TITLEKEY { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KS_DVDCOPY_TITLEKEY" ) . field ( "KeyFlags" , & self . KeyFlags ) . field ( "ReservedNT" , & self . ReservedNT ) . field ( "TitleKey" , & self . TitleKey ) . field ( "Reserved" , & self . Reserved ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KS_DVDCOPY_TITLEKEY { fn eq ( & self , other : & Self ) -> bool { self . KeyFlags == other . KeyFlags && self . ReservedNT == other . ReservedNT && self . TitleKey == other . TitleKey && self . Reserved == other . Reserved } } impl :: std :: cmp :: Eq for KS_DVDCOPY_TITLEKEY { } unsafe impl :: windows :: Abi for KS_DVDCOPY_TITLEKEY { type Abi = Self ; type DefaultType = Self ; } pub const KS_DVD_CGMS_COPY_ONCE : u32 = 16u32 ; pub const KS_DVD_CGMS_COPY_PERMITTED : u32 = 0u32 ; pub const KS_DVD_CGMS_COPY_PROTECT_MASK : u32 = 24u32 ; pub const KS_DVD_CGMS_NO_COPY : u32 = 24u32 ; pub const KS_DVD_CGMS_RESERVED_MASK : u32 = 120u32 ; pub const KS_DVD_COPYRIGHTED : u32 = 64u32 ; pub const KS_DVD_COPYRIGHT_MASK : u32 = 64u32 ; pub const KS_DVD_NOT_COPYRIGHTED : u32 = 0u32 ; pub const KS_DVD_SECTOR_NOT_PROTECTED : u32 = 0u32 ; pub const KS_DVD_SECTOR_PROTECTED : u32 = 32u32 ; pub const KS_DVD_SECTOR_PROTECT_MASK : u32 = 32u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KS_DVD_YCrCb { pub Reserved : u8 , pub Y : u8 , pub Cr : u8 , pub Cb : u8 } impl KS_DVD_YCrCb { } impl :: std :: default :: Default for KS_DVD_YCrCb { fn default ( ) -> Self { Self { Reserved : 0 , Y : 0 , Cr : 0 , Cb : 0 } } } impl :: std :: fmt :: Debug for KS_DVD_YCrCb { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KS_DVD_YCrCb" ) . field ( "Reserved" , & self . Reserved ) . field ( "Y" , & self . Y ) . field ( "Cr" , & self . Cr ) . field ( "Cb" , & self . Cb ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KS_DVD_YCrCb { fn eq ( & self , other : & Self ) -> bool { self . Reserved == other . Reserved && self . Y == other . Y && self . Cr == other . Cr && self . Cb == other . Cb } } impl :: std :: cmp :: Eq for KS_DVD_YCrCb { } unsafe impl :: windows :: Abi for KS_DVD_YCrCb { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KS_DVD_YUV { pub Reserved : u8 , pub Y : u8 , pub V : u8 , pub U : u8 } impl KS_DVD_YUV { } impl :: std :: default :: Default for KS_DVD_YUV { fn default ( ) -> Self { Self { Reserved : 0 , Y : 0 , V : 0 , U : 0 } } } impl :: std :: fmt :: Debug for KS_DVD_YUV { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KS_DVD_YUV" ) . field ( "Reserved" , & self . Reserved ) . field ( "Y" , & self . Y ) . field ( "V" , & self . V ) . field ( "U" , & self . U ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KS_DVD_YUV { fn eq ( & self , other : & Self ) -> bool { self . Reserved == other . Reserved && self . Y == other . Y && self . V == other . V && self . U == other . U } } impl :: std :: cmp :: Eq for KS_DVD_YUV { } unsafe impl :: windows :: Abi for KS_DVD_YUV { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KS_FRAME_INFO { pub ExtendedHeaderSize : u32 , pub dwFrameFlags : u32 , pub PictureNumber : i64 , pub DropCount : i64 , pub hDirectDraw : super::super::super::Foundation:: HANDLE , pub hSurfaceHandle : super::super::super::Foundation:: HANDLE , pub DirectDrawRect : super::super::super::Foundation:: RECT , pub Anonymous1 : KS_FRAME_INFO_0 , pub Reserved2 : u32 , pub Anonymous2 : KS_FRAME_INFO_1 } impl KS_FRAME_INFO { } impl :: std :: cmp :: PartialEq for KS_FRAME_INFO { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KS_FRAME_INFO { } unsafe impl :: windows :: Abi for KS_FRAME_INFO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union KS_FRAME_INFO_0 { pub lSurfacePitch : i32 , pub Reserved1 : u32 } impl KS_FRAME_INFO_0 { } impl :: std :: cmp :: PartialEq for KS_FRAME_INFO_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KS_FRAME_INFO_0 { } unsafe impl :: windows :: Abi for KS_FRAME_INFO_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union KS_FRAME_INFO_1 { pub Anonymous : KS_FRAME_INFO_1_0 , pub FrameCompletionNumber : u64 } impl KS_FRAME_INFO_1 { } impl :: std :: cmp :: PartialEq for KS_FRAME_INFO_1 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KS_FRAME_INFO_1 { } unsafe impl :: windows :: Abi for KS_FRAME_INFO_1 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KS_FRAME_INFO_1_0 { pub Reserved3 : u32 , pub Reserved4 : u32 } impl KS_FRAME_INFO_1_0 { } impl :: std :: default :: Default for KS_FRAME_INFO_1_0 { fn default ( ) -> Self { Self { Reserved3 : 0 , Reserved4 : 0 } } } impl :: std :: fmt :: Debug for KS_FRAME_INFO_1_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Anonymous_e__Struct" ) . field ( "Reserved3" , & self . Reserved3 ) . field ( "Reserved4" , & self . Reserved4 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KS_FRAME_INFO_1_0 { fn eq ( & self , other : & Self ) -> bool { self . Reserved3 == other . Reserved3 && self . Reserved4 == other . Reserved4 } } impl :: std :: cmp :: Eq for KS_FRAME_INFO_1_0 { } unsafe impl :: windows :: Abi for KS_FRAME_INFO_1_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KS_FRAMING_ITEM { pub MemoryType : :: windows :: Guid , pub BusType : :: windows :: Guid , pub MemoryFlags : u32 , pub BusFlags : u32 , pub Flags : u32 , pub Frames : u32 , pub Anonymous : KS_FRAMING_ITEM_0 , pub MemoryTypeWeight : u32 , pub PhysicalRange : KS_FRAMING_RANGE , pub FramingRange : KS_FRAMING_RANGE_WEIGHTED } impl KS_FRAMING_ITEM { } impl :: std :: cmp :: PartialEq for KS_FRAMING_ITEM { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KS_FRAMING_ITEM { } unsafe impl :: windows :: Abi for KS_FRAMING_ITEM { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union KS_FRAMING_ITEM_0 { pub FileAlignment : u32 , pub FramePitch : i32 } impl KS_FRAMING_ITEM_0 { } impl :: std :: cmp :: PartialEq for KS_FRAMING_ITEM_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KS_FRAMING_ITEM_0 { } unsafe impl :: windows :: Abi for KS_FRAMING_ITEM_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KS_FRAMING_RANGE { pub MinFrameSize : u32 , pub MaxFrameSize : u32 , pub Stepping : u32 } impl KS_FRAMING_RANGE { } impl :: std :: default :: Default for KS_FRAMING_RANGE { fn default ( ) -> Self { Self { MinFrameSize : 0 , MaxFrameSize : 0 , Stepping : 0 } } } impl :: std :: fmt :: Debug for KS_FRAMING_RANGE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KS_FRAMING_RANGE" ) . field ( "MinFrameSize" , & self . MinFrameSize ) . field ( "MaxFrameSize" , & self . MaxFrameSize ) . field ( "Stepping" , & self . Stepping ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KS_FRAMING_RANGE { fn eq ( & self , other : & Self ) -> bool { self . MinFrameSize == other . MinFrameSize && self . MaxFrameSize == other . MaxFrameSize && self . Stepping == other . Stepping } } impl :: std :: cmp :: Eq for KS_FRAMING_RANGE { } unsafe impl :: windows :: Abi for KS_FRAMING_RANGE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KS_FRAMING_RANGE_WEIGHTED { pub Range : KS_FRAMING_RANGE , pub InPlaceWeight : u32 , pub NotInPlaceWeight : u32 } impl KS_FRAMING_RANGE_WEIGHTED { } impl :: std :: default :: Default for KS_FRAMING_RANGE_WEIGHTED { fn default ( ) -> Self { Self { Range : :: std :: default :: Default :: default ( ) , InPlaceWeight : 0 , NotInPlaceWeight : 0 } } } impl :: std :: fmt :: Debug for KS_FRAMING_RANGE_WEIGHTED { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KS_FRAMING_RANGE_WEIGHTED" ) . field ( "Range" , & self . Range ) . field ( "InPlaceWeight" , & self . InPlaceWeight ) . field ( "NotInPlaceWeight" , & self . NotInPlaceWeight ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KS_FRAMING_RANGE_WEIGHTED { fn eq ( & self , other : & Self ) -> bool { self . Range == other . Range && self . InPlaceWeight == other . InPlaceWeight && self . NotInPlaceWeight == other . NotInPlaceWeight } } impl :: std :: cmp :: Eq for KS_FRAMING_RANGE_WEIGHTED { } unsafe impl :: windows :: Abi for KS_FRAMING_RANGE_WEIGHTED { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KS_H264VIDEOINFO { pub wWidth : u16 , pub wHeight : u16 , pub wSARwidth : u16 , pub wSARheight : u16 , pub wProfile : u16 , pub bLevelIDC : u8 , pub wConstrainedToolset : u16 , pub bmSupportedUsages : u32 , pub bmCapabilities : u16 , pub bmSVCCapabilities : u32 , pub bmMVCCapabilities : u32 , pub dwFrameInterval : u32 , pub bMaxCodecConfigDelay : u8 , pub bmSupportedSliceModes : u8 , pub bmSupportedSyncFrameTypes : u8 , pub bResolutionScaling : u8 , pub bSimulcastSupport : u8 , pub bmSupportedRateControlModes : u8 , pub wMaxMBperSecOneResolutionNoScalability : u16 , pub wMaxMBperSecTwoResolutionsNoScalability : u16 , pub wMaxMBperSecThreeResolutionsNoScalability : u16 , pub wMaxMBperSecFourResolutionsNoScalability : u16 , pub wMaxMBperSecOneResolutionTemporalScalability : u16 , pub wMaxMBperSecTwoResolutionsTemporalScalablility : u16 , pub wMaxMBperSecThreeResolutionsTemporalScalability : u16 , pub wMaxMBperSecFourResolutionsTemporalScalability : u16 , pub wMaxMBperSecOneResolutionTemporalQualityScalability : u16 , pub wMaxMBperSecTwoResolutionsTemporalQualityScalability : u16 , pub wMaxMBperSecThreeResolutionsTemporalQualityScalablity : u16 , pub wMaxMBperSecFourResolutionsTemporalQualityScalability : u16 , pub wMaxMBperSecOneResolutionTemporalSpatialScalability : u16 , pub wMaxMBperSecTwoResolutionsTemporalSpatialScalability : u16 , pub wMaxMBperSecThreeResolutionsTemporalSpatialScalablity : u16 , pub wMaxMBperSecFourResolutionsTemporalSpatialScalability : u16 , pub wMaxMBperSecOneResolutionFullScalability : u16 , pub wMaxMBperSecTwoResolutionsFullScalability : u16 , pub wMaxMBperSecThreeResolutionsFullScalability : u16 , pub wMaxMBperSecFourResolutionsFullScalability : u16 } impl KS_H264VIDEOINFO { } impl :: std :: default :: Default for KS_H264VIDEOINFO { fn default ( ) -> Self { Self { wWidth : 0 , wHeight : 0 , wSARwidth : 0 , wSARheight : 0 , wProfile : 0 , bLevelIDC : 0 , wConstrainedToolset : 0 , bmSupportedUsages : 0 , bmCapabilities : 0 , bmSVCCapabilities : 0 , bmMVCCapabilities : 0 , dwFrameInterval : 0 , bMaxCodecConfigDelay : 0 , bmSupportedSliceModes : 0 , bmSupportedSyncFrameTypes : 0 , bResolutionScaling : 0 , bSimulcastSupport : 0 , bmSupportedRateControlModes : 0 , wMaxMBperSecOneResolutionNoScalability : 0 , wMaxMBperSecTwoResolutionsNoScalability : 0 , wMaxMBperSecThreeResolutionsNoScalability : 0 , wMaxMBperSecFourResolutionsNoScalability : 0 , wMaxMBperSecOneResolutionTemporalScalability : 0 , wMaxMBperSecTwoResolutionsTemporalScalablility : 0 , wMaxMBperSecThreeResolutionsTemporalScalability : 0 , wMaxMBperSecFourResolutionsTemporalScalability : 0 , wMaxMBperSecOneResolutionTemporalQualityScalability : 0 , wMaxMBperSecTwoResolutionsTemporalQualityScalability : 0 , wMaxMBperSecThreeResolutionsTemporalQualityScalablity : 0 , wMaxMBperSecFourResolutionsTemporalQualityScalability : 0 , wMaxMBperSecOneResolutionTemporalSpatialScalability : 0 , wMaxMBperSecTwoResolutionsTemporalSpatialScalability : 0 , wMaxMBperSecThreeResolutionsTemporalSpatialScalablity : 0 , wMaxMBperSecFourResolutionsTemporalSpatialScalability : 0 , wMaxMBperSecOneResolutionFullScalability : 0 , wMaxMBperSecTwoResolutionsFullScalability : 0 , wMaxMBperSecThreeResolutionsFullScalability : 0 , wMaxMBperSecFourResolutionsFullScalability : 0 } } } impl :: std :: fmt :: Debug for KS_H264VIDEOINFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KS_H264VIDEOINFO" ) . field ( "wWidth" , & self . wWidth ) . field ( "wHeight" , & self . wHeight ) . field ( "wSARwidth" , & self . wSARwidth ) . field ( "wSARheight" , & self . wSARheight ) . field ( "wProfile" , & self . wProfile ) . field ( "bLevelIDC" , & self . bLevelIDC ) . field ( "wConstrainedToolset" , & self . wConstrainedToolset ) . field ( "bmSupportedUsages" , & self . bmSupportedUsages ) . field ( "bmCapabilities" , & self . bmCapabilities ) . field ( "bmSVCCapabilities" , & self . bmSVCCapabilities ) . field ( "bmMVCCapabilities" , & self . bmMVCCapabilities ) . field ( "dwFrameInterval" , & self . dwFrameInterval ) . field ( "bMaxCodecConfigDelay" , & self . bMaxCodecConfigDelay ) . field ( "bmSupportedSliceModes" , & self . bmSupportedSliceModes ) . field ( "bmSupportedSyncFrameTypes" , & self . bmSupportedSyncFrameTypes ) . field ( "bResolutionScaling" , & self . bResolutionScaling ) . field ( "bSimulcastSupport" , & self . bSimulcastSupport ) . field ( "bmSupportedRateControlModes" , & self . bmSupportedRateControlModes ) . field ( "wMaxMBperSecOneResolutionNoScalability" , & self . wMaxMBperSecOneResolutionNoScalability ) . field ( "wMaxMBperSecTwoResolutionsNoScalability" , & self . wMaxMBperSecTwoResolutionsNoScalability ) . field ( "wMaxMBperSecThreeResolutionsNoScalability" , & self . wMaxMBperSecThreeResolutionsNoScalability ) . field ( "wMaxMBperSecFourResolutionsNoScalability" , & self . wMaxMBperSecFourResolutionsNoScalability ) . field ( "wMaxMBperSecOneResolutionTemporalScalability" , & self . wMaxMBperSecOneResolutionTemporalScalability ) . field ( "wMaxMBperSecTwoResolutionsTemporalScalablility" , & self . wMaxMBperSecTwoResolutionsTemporalScalablility ) . field ( "wMaxMBperSecThreeResolutionsTemporalScalability" , & self . wMaxMBperSecThreeResolutionsTemporalScalability ) . field ( "wMaxMBperSecFourResolutionsTemporalScalability" , & self . wMaxMBperSecFourResolutionsTemporalScalability ) . field ( "wMaxMBperSecOneResolutionTemporalQualityScalability" , & self . wMaxMBperSecOneResolutionTemporalQualityScalability ) . field ( "wMaxMBperSecTwoResolutionsTemporalQualityScalability" , & self . wMaxMBperSecTwoResolutionsTemporalQualityScalability ) . field ( "wMaxMBperSecThreeResolutionsTemporalQualityScalablity" , & self . wMaxMBperSecThreeResolutionsTemporalQualityScalablity ) . field ( "wMaxMBperSecFourResolutionsTemporalQualityScalability" , & self . wMaxMBperSecFourResolutionsTemporalQualityScalability ) . field ( "wMaxMBperSecOneResolutionTemporalSpatialScalability" , & self . wMaxMBperSecOneResolutionTemporalSpatialScalability ) . field ( "wMaxMBperSecTwoResolutionsTemporalSpatialScalability" , & self . wMaxMBperSecTwoResolutionsTemporalSpatialScalability ) . field ( "wMaxMBperSecThreeResolutionsTemporalSpatialScalablity" , & self . wMaxMBperSecThreeResolutionsTemporalSpatialScalablity ) . field ( "wMaxMBperSecFourResolutionsTemporalSpatialScalability" , & self . wMaxMBperSecFourResolutionsTemporalSpatialScalability ) . field ( "wMaxMBperSecOneResolutionFullScalability" , & self . wMaxMBperSecOneResolutionFullScalability ) . field ( "wMaxMBperSecTwoResolutionsFullScalability" , & self . wMaxMBperSecTwoResolutionsFullScalability ) . field ( "wMaxMBperSecThreeResolutionsFullScalability" , & self . wMaxMBperSecThreeResolutionsFullScalability ) . field ( "wMaxMBperSecFourResolutionsFullScalability" , & self . wMaxMBperSecFourResolutionsFullScalability ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KS_H264VIDEOINFO { fn eq ( & self , other : & Self ) -> bool { self . wWidth == other . wWidth && self . wHeight == other . wHeight && self . wSARwidth == other . wSARwidth && self . wSARheight == other . wSARheight && self . wProfile == other . wProfile && self . bLevelIDC == other . bLevelIDC && self . wConstrainedToolset == other . wConstrainedToolset && self . bmSupportedUsages == other . bmSupportedUsages && self . bmCapabilities == other . bmCapabilities && self . bmSVCCapabilities == other . bmSVCCapabilities && self . bmMVCCapabilities == other . bmMVCCapabilities && self . dwFrameInterval == other . dwFrameInterval && self . bMaxCodecConfigDelay == other . bMaxCodecConfigDelay && self . bmSupportedSliceModes == other . bmSupportedSliceModes && self . bmSupportedSyncFrameTypes == other . bmSupportedSyncFrameTypes && self . bResolutionScaling == other . bResolutionScaling && self . bSimulcastSupport == other . bSimulcastSupport && self . bmSupportedRateControlModes == other . bmSupportedRateControlModes && self . wMaxMBperSecOneResolutionNoScalability == other . wMaxMBperSecOneResolutionNoScalability && self . wMaxMBperSecTwoResolutionsNoScalability == other . wMaxMBperSecTwoResolutionsNoScalability && self . wMaxMBperSecThreeResolutionsNoScalability == other . wMaxMBperSecThreeResolutionsNoScalability && self . wMaxMBperSecFourResolutionsNoScalability == other . wMaxMBperSecFourResolutionsNoScalability && self . wMaxMBperSecOneResolutionTemporalScalability == other . wMaxMBperSecOneResolutionTemporalScalability && self . wMaxMBperSecTwoResolutionsTemporalScalablility == other . wMaxMBperSecTwoResolutionsTemporalScalablility && self . wMaxMBperSecThreeResolutionsTemporalScalability == other . wMaxMBperSecThreeResolutionsTemporalScalability && self . wMaxMBperSecFourResolutionsTemporalScalability == other . wMaxMBperSecFourResolutionsTemporalScalability && self . wMaxMBperSecOneResolutionTemporalQualityScalability == other . wMaxMBperSecOneResolutionTemporalQualityScalability && self . wMaxMBperSecTwoResolutionsTemporalQualityScalability == other . wMaxMBperSecTwoResolutionsTemporalQualityScalability && self . wMaxMBperSecThreeResolutionsTemporalQualityScalablity == other . wMaxMBperSecThreeResolutionsTemporalQualityScalablity && self . wMaxMBperSecFourResolutionsTemporalQualityScalability == other . wMaxMBperSecFourResolutionsTemporalQualityScalability && self . wMaxMBperSecOneResolutionTemporalSpatialScalability == other . wMaxMBperSecOneResolutionTemporalSpatialScalability && self . wMaxMBperSecTwoResolutionsTemporalSpatialScalability == other . wMaxMBperSecTwoResolutionsTemporalSpatialScalability && self . wMaxMBperSecThreeResolutionsTemporalSpatialScalablity == other . wMaxMBperSecThreeResolutionsTemporalSpatialScalablity && self . wMaxMBperSecFourResolutionsTemporalSpatialScalability == other . wMaxMBperSecFourResolutionsTemporalSpatialScalability && self . wMaxMBperSecOneResolutionFullScalability == other . wMaxMBperSecOneResolutionFullScalability && self . wMaxMBperSecTwoResolutionsFullScalability == other . wMaxMBperSecTwoResolutionsFullScalability && self . wMaxMBperSecThreeResolutionsFullScalability == other . wMaxMBperSecThreeResolutionsFullScalability && self . wMaxMBperSecFourResolutionsFullScalability == other . wMaxMBperSecFourResolutionsFullScalability } } impl :: std :: cmp :: Eq for KS_H264VIDEOINFO { } unsafe impl :: windows :: Abi for KS_H264VIDEOINFO { type Abi = Self ; type DefaultType = Self ; } pub const KS_INTERLACE_1FieldPerSample : u32 = 2u32 ; pub const KS_INTERLACE_DisplayModeBobOnly : u32 = 0u32 ; pub const KS_INTERLACE_DisplayModeBobOrWeave : u32 = 128u32 ; pub const KS_INTERLACE_DisplayModeMask : u32 = 192u32 ; pub const KS_INTERLACE_DisplayModeWeaveOnly : u32 = 64u32 ; pub const KS_INTERLACE_Field1First : u32 = 4u32 ; pub const KS_INTERLACE_FieldPatBothIrregular : u32 = 48u32 ; pub const KS_INTERLACE_FieldPatBothRegular : u32 = 32u32 ; pub const KS_INTERLACE_FieldPatField1Only : u32 = 0u32 ; pub const KS_INTERLACE_FieldPatField2Only : u32 = 16u32 ; pub const KS_INTERLACE_FieldPatternMask : u32 = 48u32 ; pub const KS_INTERLACE_IsInterlaced : u32 = 1u32 ; pub const KS_INTERLACE_UNUSED : u32 = 8u32 ; pub const KS_MAX_SIZE_MPEG1_SEQUENCE_INFO : u32 = 140u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KS_MPEAUDIOINFO { pub dwFlags : u32 , pub dwReserved1 : u32 , pub dwReserved2 : u32 , pub dwReserved3 : u32 } impl KS_MPEAUDIOINFO { } impl :: std :: default :: Default for KS_MPEAUDIOINFO { fn default ( ) -> Self { Self { dwFlags : 0 , dwReserved1 : 0 , dwReserved2 : 0 , dwReserved3 : 0 } } } impl :: std :: fmt :: Debug for KS_MPEAUDIOINFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KS_MPEAUDIOINFO" ) . field ( "dwFlags" , & self . dwFlags ) . field ( "dwReserved1" , & self . dwReserved1 ) . field ( "dwReserved2" , & self . dwReserved2 ) . field ( "dwReserved3" , & self . dwReserved3 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KS_MPEAUDIOINFO { fn eq ( & self , other : & Self ) -> bool { self . dwFlags == other . dwFlags && self . dwReserved1 == other . dwReserved1 && self . dwReserved2 == other . dwReserved2 && self . dwReserved3 == other . dwReserved3 } } impl :: std :: cmp :: Eq for KS_MPEAUDIOINFO { } unsafe impl :: windows :: Abi for KS_MPEAUDIOINFO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KS_MPEG1VIDEOINFO { pub hdr : KS_VIDEOINFOHEADER , pub dwStartTimeCode : u32 , pub cbSequenceHeader : u32 , pub bSequenceHeader : [ u8 ;1 ] } impl KS_MPEG1VIDEOINFO { } impl :: std :: default :: Default for KS_MPEG1VIDEOINFO { fn default ( ) -> Self { Self { hdr : :: std :: default :: Default :: default ( ) , dwStartTimeCode : 0 , cbSequenceHeader : 0 , bSequenceHeader : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for KS_MPEG1VIDEOINFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KS_MPEG1VIDEOINFO" ) . field ( "hdr" , & self . hdr ) . field ( "dwStartTimeCode" , & self . dwStartTimeCode ) . field ( "cbSequenceHeader" , & self . cbSequenceHeader ) . field ( "bSequenceHeader" , & self . bSequenceHeader ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KS_MPEG1VIDEOINFO { fn eq ( & self , other : & Self ) -> bool { self . hdr == other . hdr && self . dwStartTimeCode == other . dwStartTimeCode && self . cbSequenceHeader == other . cbSequenceHeader && self . bSequenceHeader == other . bSequenceHeader } } impl :: std :: cmp :: Eq for KS_MPEG1VIDEOINFO { } unsafe impl :: windows :: Abi for KS_MPEG1VIDEOINFO { 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 KS_MPEG2Level ( pub i32 ) ; pub const KS_MPEG2Level_Low : KS_MPEG2Level = KS_MPEG2Level ( 0i32 ) ; pub const KS_MPEG2Level_Main : KS_MPEG2Level = KS_MPEG2Level ( 1i32 ) ; pub const KS_MPEG2Level_High1440 : KS_MPEG2Level = KS_MPEG2Level ( 2i32 ) ; pub const KS_MPEG2Level_High : KS_MPEG2Level = KS_MPEG2Level ( 3i32 ) ; impl :: std :: convert :: From < i32 > for KS_MPEG2Level { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KS_MPEG2Level { 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 KS_MPEG2Profile ( pub i32 ) ; pub const KS_MPEG2Profile_Simple : KS_MPEG2Profile = KS_MPEG2Profile ( 0i32 ) ; pub const KS_MPEG2Profile_Main : KS_MPEG2Profile = KS_MPEG2Profile ( 1i32 ) ; pub const KS_MPEG2Profile_SNRScalable : KS_MPEG2Profile = KS_MPEG2Profile ( 2i32 ) ; pub const KS_MPEG2Profile_SpatiallyScalable : KS_MPEG2Profile = KS_MPEG2Profile ( 3i32 ) ; pub const KS_MPEG2Profile_High : KS_MPEG2Profile = KS_MPEG2Profile ( 4i32 ) ; impl :: std :: convert :: From < i32 > for KS_MPEG2Profile { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KS_MPEG2Profile { type Abi = Self ; type DefaultType = Self ; } pub const KS_MPEG2_27MhzTimebase : u32 = 256u32 ; pub const KS_MPEG2_DSS_UserData : u32 = 64u32 ; pub const KS_MPEG2_DVB_UserData : u32 = 128u32 ; pub const KS_MPEG2_DVDLine21Field1 : u32 = 2u32 ; pub const KS_MPEG2_DVDLine21Field2 : u32 = 4u32 ; pub const KS_MPEG2_DoPanScan : u32 = 1u32 ; pub const KS_MPEG2_FilmCameraMode : u32 = 16u32 ; pub const KS_MPEG2_LetterboxAnalogOut : u32 = 32u32 ; pub const KS_MPEG2_SourceIsLetterboxed : u32 = 8u32 ; pub const KS_MPEG2_WidescreenAnalogOut : u32 = 512u32 ; pub const KS_MPEGAUDIOINFO_27MhzTimebase : u32 = 1u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KS_MPEGVIDEOINFO2 { pub hdr : KS_VIDEOINFOHEADER2 , pub dwStartTimeCode : u32 , pub cbSequenceHeader : u32 , pub dwProfile : u32 , pub dwLevel : u32 , pub dwFlags : u32 , pub bSequenceHeader : [ u32 ;1 ] } impl KS_MPEGVIDEOINFO2 { } impl :: std :: cmp :: PartialEq for KS_MPEGVIDEOINFO2 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KS_MPEGVIDEOINFO2 { } unsafe impl :: windows :: Abi for KS_MPEGVIDEOINFO2 { type Abi = Self ; type DefaultType = Self ; } pub const KS_NABTS_GROUPID_LOCAL_CABLE_SYSTEM_ADVERTISER_BASE : u32 = 2224u32 ; pub const KS_NABTS_GROUPID_LOCAL_CABLE_SYSTEM_CONTENT_BASE : u32 = 2208u32 ; pub const KS_NABTS_GROUPID_MICROSOFT_RESERVED_TEST_DATA_BASE : u32 = 2288u32 ; pub const KS_NABTS_GROUPID_NETWORK_WIDE_ADVERTISER_BASE : u32 = 2160u32 ; pub const KS_NABTS_GROUPID_NETWORK_WIDE_CONTENT_BASE : u32 = 2144u32 ; pub const KS_NABTS_GROUPID_ORIGINAL_CONTENT_ADVERTISER_BASE : u32 = 2064u32 ; pub const KS_NABTS_GROUPID_ORIGINAL_CONTENT_BASE : u32 = 2048u32 ; pub const KS_NABTS_GROUPID_PRODUCTION_COMPANY_ADVERTISER_BASE : u32 = 2096u32 ; pub const KS_NABTS_GROUPID_PRODUCTION_COMPANY_CONTENT_BASE : u32 = 2080u32 ; pub const KS_NABTS_GROUPID_SYNDICATED_SHOW_ADVERTISER_BASE : u32 = 2128u32 ; pub const KS_NABTS_GROUPID_SYNDICATED_SHOW_CONTENT_BASE : u32 = 2112u32 ; pub const KS_NABTS_GROUPID_TELEVISION_STATION_ADVERTISER_BASE : u32 = 2192u32 ; pub const KS_NABTS_GROUPID_TELEVISION_STATION_CONTENT_BASE : u32 = 2176u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct KS_PhysicalConnectorType ( pub i32 ) ; pub const KS_PhysConn_Video_Tuner : KS_PhysicalConnectorType = KS_PhysicalConnectorType ( 1i32 ) ; pub const KS_PhysConn_Video_Composite : KS_PhysicalConnectorType = KS_PhysicalConnectorType ( 2i32 ) ; pub const KS_PhysConn_Video_SVideo : KS_PhysicalConnectorType = KS_PhysicalConnectorType ( 3i32 ) ; pub const KS_PhysConn_Video_RGB : KS_PhysicalConnectorType = KS_PhysicalConnectorType ( 4i32 ) ; pub const KS_PhysConn_Video_YRYBY : KS_PhysicalConnectorType = KS_PhysicalConnectorType ( 5i32 ) ; pub const KS_PhysConn_Video_SerialDigital : KS_PhysicalConnectorType = KS_PhysicalConnectorType ( 6i32 ) ; pub const KS_PhysConn_Video_ParallelDigital : KS_PhysicalConnectorType = KS_PhysicalConnectorType ( 7i32 ) ; pub const KS_PhysConn_Video_SCSI : KS_PhysicalConnectorType = KS_PhysicalConnectorType ( 8i32 ) ; pub const KS_PhysConn_Video_AUX : KS_PhysicalConnectorType = KS_PhysicalConnectorType ( 9i32 ) ; pub const KS_PhysConn_Video_1394 : KS_PhysicalConnectorType = KS_PhysicalConnectorType ( 10i32 ) ; pub const KS_PhysConn_Video_USB : KS_PhysicalConnectorType = KS_PhysicalConnectorType ( 11i32 ) ; pub const KS_PhysConn_Video_VideoDecoder : KS_PhysicalConnectorType = KS_PhysicalConnectorType ( 12i32 ) ; pub const KS_PhysConn_Video_VideoEncoder : KS_PhysicalConnectorType = KS_PhysicalConnectorType ( 13i32 ) ; pub const KS_PhysConn_Video_SCART : KS_PhysicalConnectorType = KS_PhysicalConnectorType ( 14i32 ) ; pub const KS_PhysConn_Audio_Tuner : KS_PhysicalConnectorType = KS_PhysicalConnectorType ( 4096i32 ) ; pub const KS_PhysConn_Audio_Line : KS_PhysicalConnectorType = KS_PhysicalConnectorType ( 4097i32 ) ; pub const KS_PhysConn_Audio_Mic : KS_PhysicalConnectorType = KS_PhysicalConnectorType ( 4098i32 ) ; pub const KS_PhysConn_Audio_AESDigital : KS_PhysicalConnectorType = KS_PhysicalConnectorType ( 4099i32 ) ; pub const KS_PhysConn_Audio_SPDIFDigital : KS_PhysicalConnectorType = KS_PhysicalConnectorType ( 4100i32 ) ; pub const KS_PhysConn_Audio_SCSI : KS_PhysicalConnectorType = KS_PhysicalConnectorType ( 4101i32 ) ; pub const KS_PhysConn_Audio_AUX : KS_PhysicalConnectorType = KS_PhysicalConnectorType ( 4102i32 ) ; pub const KS_PhysConn_Audio_1394 : KS_PhysicalConnectorType = KS_PhysicalConnectorType ( 4103i32 ) ; pub const KS_PhysConn_Audio_USB : KS_PhysicalConnectorType = KS_PhysicalConnectorType ( 4104i32 ) ; pub const KS_PhysConn_Audio_AudioDecoder : KS_PhysicalConnectorType = KS_PhysicalConnectorType ( 4105i32 ) ; impl :: std :: convert :: From < i32 > for KS_PhysicalConnectorType { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KS_PhysicalConnectorType { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KS_RGBQUAD { pub rgbBlue : u8 , pub rgbGreen : u8 , pub rgbRed : u8 , pub rgbReserved : u8 } impl KS_RGBQUAD { } impl :: std :: default :: Default for KS_RGBQUAD { fn default ( ) -> Self { Self { rgbBlue : 0 , rgbGreen : 0 , rgbRed : 0 , rgbReserved : 0 } } } impl :: std :: fmt :: Debug for KS_RGBQUAD { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KS_RGBQUAD" ) . field ( "rgbBlue" , & self . rgbBlue ) . field ( "rgbGreen" , & self . rgbGreen ) . field ( "rgbRed" , & self . rgbRed ) . field ( "rgbReserved" , & self . rgbReserved ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KS_RGBQUAD { fn eq ( & self , other : & Self ) -> bool { self . rgbBlue == other . rgbBlue && self . rgbGreen == other . rgbGreen && self . rgbRed == other . rgbRed && self . rgbReserved == other . rgbReserved } } impl :: std :: cmp :: Eq for KS_RGBQUAD { } unsafe impl :: windows :: Abi for KS_RGBQUAD { type Abi = Self ; type DefaultType = Self ; } pub const KS_SECURE_CAMERA_SCENARIO_ID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2924739694 ,36233 ,17544 , [ 157 ,46 ,77 ,0 ,135 ,49 ,197 ,253 ] , ) ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct KS_SEEKING_CAPABILITIES ( pub i32 ) ; pub const KS_SEEKING_CanSeekAbsolute : KS_SEEKING_CAPABILITIES = KS_SEEKING_CAPABILITIES ( 1i32 ) ; pub const KS_SEEKING_CanSeekForwards : KS_SEEKING_CAPABILITIES = KS_SEEKING_CAPABILITIES ( 2i32 ) ; pub const KS_SEEKING_CanSeekBackwards : KS_SEEKING_CAPABILITIES = KS_SEEKING_CAPABILITIES ( 4i32 ) ; pub const KS_SEEKING_CanGetCurrentPos : KS_SEEKING_CAPABILITIES = KS_SEEKING_CAPABILITIES ( 8i32 ) ; pub const KS_SEEKING_CanGetStopPos : KS_SEEKING_CAPABILITIES = KS_SEEKING_CAPABILITIES ( 16i32 ) ; pub const KS_SEEKING_CanGetDuration : KS_SEEKING_CAPABILITIES = KS_SEEKING_CAPABILITIES ( 32i32 ) ; pub const KS_SEEKING_CanPlayBackwards : KS_SEEKING_CAPABILITIES = KS_SEEKING_CAPABILITIES ( 64i32 ) ; impl :: std :: convert :: From < i32 > for KS_SEEKING_CAPABILITIES { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KS_SEEKING_CAPABILITIES { 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 KS_SEEKING_FLAGS ( pub i32 ) ; pub const KS_SEEKING_NoPositioning : KS_SEEKING_FLAGS = KS_SEEKING_FLAGS ( 0i32 ) ; pub const KS_SEEKING_AbsolutePositioning : KS_SEEKING_FLAGS = KS_SEEKING_FLAGS ( 1i32 ) ; pub const KS_SEEKING_RelativePositioning : KS_SEEKING_FLAGS = KS_SEEKING_FLAGS ( 2i32 ) ; pub const KS_SEEKING_IncrementalPositioning : KS_SEEKING_FLAGS = KS_SEEKING_FLAGS ( 3i32 ) ; pub const KS_SEEKING_PositioningBitsMask : KS_SEEKING_FLAGS = KS_SEEKING_FLAGS ( 3i32 ) ; pub const KS_SEEKING_SeekToKeyFrame : KS_SEEKING_FLAGS = KS_SEEKING_FLAGS ( 4i32 ) ; pub const KS_SEEKING_ReturnTime : KS_SEEKING_FLAGS = KS_SEEKING_FLAGS ( 8i32 ) ; impl :: std :: convert :: From < i32 > for KS_SEEKING_FLAGS { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KS_SEEKING_FLAGS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KS_TRUECOLORINFO { pub dwBitMasks : [ u32 ;3 ] , pub bmiColors : [ KS_RGBQUAD ;256 ] } impl KS_TRUECOLORINFO { } impl :: std :: default :: Default for KS_TRUECOLORINFO { fn default ( ) -> Self { Self { dwBitMasks : [ 0 ;3 ] , bmiColors : [ :: std :: default :: Default :: default ( ) ;256 ] } } } impl :: std :: fmt :: Debug for KS_TRUECOLORINFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KS_TRUECOLORINFO" ) . field ( "dwBitMasks" , & self . dwBitMasks ) . field ( "bmiColors" , & self . bmiColors ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KS_TRUECOLORINFO { fn eq ( & self , other : & Self ) -> bool { self . dwBitMasks == other . dwBitMasks && self . bmiColors == other . bmiColors } } impl :: std :: cmp :: Eq for KS_TRUECOLORINFO { } unsafe impl :: windows :: Abi for KS_TRUECOLORINFO { 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 KS_TUNER_STRATEGY ( pub i32 ) ; pub const KS_TUNER_STRATEGY_PLL : KS_TUNER_STRATEGY = KS_TUNER_STRATEGY ( 1i32 ) ; pub const KS_TUNER_STRATEGY_SIGNAL_STRENGTH : KS_TUNER_STRATEGY = KS_TUNER_STRATEGY ( 2i32 ) ; pub const KS_TUNER_STRATEGY_DRIVER_TUNES : KS_TUNER_STRATEGY = KS_TUNER_STRATEGY ( 4i32 ) ; impl :: std :: convert :: From < i32 > for KS_TUNER_STRATEGY { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KS_TUNER_STRATEGY { 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 KS_TUNER_TUNING_FLAGS ( pub i32 ) ; pub const KS_TUNER_TUNING_EXACT : KS_TUNER_TUNING_FLAGS = KS_TUNER_TUNING_FLAGS ( 1i32 ) ; pub const KS_TUNER_TUNING_FINE : KS_TUNER_TUNING_FLAGS = KS_TUNER_TUNING_FLAGS ( 2i32 ) ; pub const KS_TUNER_TUNING_COARSE : KS_TUNER_TUNING_FLAGS = KS_TUNER_TUNING_FLAGS ( 3i32 ) ; impl :: std :: convert :: From < i32 > for KS_TUNER_TUNING_FLAGS { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KS_TUNER_TUNING_FLAGS { type Abi = Self ; type DefaultType = Self ; } pub const KS_TVAUDIO_MODE_LANG_A : u32 = 16u32 ; pub const KS_TVAUDIO_MODE_LANG_B : u32 = 32u32 ; pub const KS_TVAUDIO_MODE_LANG_C : u32 = 64u32 ; pub const KS_TVAUDIO_MODE_MONO : u32 = 1u32 ; pub const KS_TVAUDIO_MODE_STEREO : u32 = 2u32 ; pub const KS_TVAUDIO_PRESET_LANG_A : u32 = 4096u32 ; pub const KS_TVAUDIO_PRESET_LANG_B : u32 = 8192u32 ; pub const KS_TVAUDIO_PRESET_LANG_C : u32 = 16384u32 ; pub const KS_TVAUDIO_PRESET_STEREO : u32 = 512u32 ; pub const KS_TVTUNER_CHANGE_BEGIN_TUNE : i32 = 1i32 ; pub const KS_TVTUNER_CHANGE_END_TUNE : i32 = 2i32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KS_TVTUNER_CHANGE_INFO { pub dwFlags : u32 , pub dwCountryCode : u32 , pub dwAnalogVideoStandard : u32 , pub dwChannel : u32 } impl KS_TVTUNER_CHANGE_INFO { } impl :: std :: default :: Default for KS_TVTUNER_CHANGE_INFO { fn default ( ) -> Self { Self { dwFlags : 0 , dwCountryCode : 0 , dwAnalogVideoStandard : 0 , dwChannel : 0 } } } impl :: std :: fmt :: Debug for KS_TVTUNER_CHANGE_INFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KS_TVTUNER_CHANGE_INFO" ) . field ( "dwFlags" , & self . dwFlags ) . field ( "dwCountryCode" , & self . dwCountryCode ) . field ( "dwAnalogVideoStandard" , & self . dwAnalogVideoStandard ) . field ( "dwChannel" , & self . dwChannel ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KS_TVTUNER_CHANGE_INFO { fn eq ( & self , other : & Self ) -> bool { self . dwFlags == other . dwFlags && self . dwCountryCode == other . dwCountryCode && self . dwAnalogVideoStandard == other . dwAnalogVideoStandard && self . dwChannel == other . dwChannel } } impl :: std :: cmp :: Eq for KS_TVTUNER_CHANGE_INFO { } unsafe impl :: windows :: Abi for KS_TVTUNER_CHANGE_INFO { type Abi = Self ; type DefaultType = Self ; } pub const KS_VBICAP_PROTECTION_MV_DETECTED : i32 = 4i32 ; pub const KS_VBICAP_PROTECTION_MV_HARDWARE : i32 = 2i32 ; pub const KS_VBICAP_PROTECTION_MV_PRESENT : i32 = 1i32 ; pub const KS_VBIDATARATE_CC : i32 = 503493i32 ; pub const KS_VBIDATARATE_NABTS : i32 = 5727272i32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KS_VBIINFOHEADER { pub StartLine : u32 , pub EndLine : u32 , pub SamplingFrequency : u32 , pub MinLineStartTime : u32 , pub MaxLineStartTime : u32 , pub ActualLineStartTime : u32 , pub ActualLineEndTime : u32 , pub VideoStandard : u32 , pub SamplesPerLine : u32 , pub StrideInBytes : u32 , pub BufferSize : u32 } impl KS_VBIINFOHEADER { } impl :: std :: default :: Default for KS_VBIINFOHEADER { fn default ( ) -> Self { Self { StartLine : 0 , EndLine : 0 , SamplingFrequency : 0 , MinLineStartTime : 0 , MaxLineStartTime : 0 , ActualLineStartTime : 0 , ActualLineEndTime : 0 , VideoStandard : 0 , SamplesPerLine : 0 , StrideInBytes : 0 , BufferSize : 0 } } } impl :: std :: fmt :: Debug for KS_VBIINFOHEADER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KS_VBIINFOHEADER" ) . field ( "StartLine" , & self . StartLine ) . field ( "EndLine" , & self . EndLine ) . field ( "SamplingFrequency" , & self . SamplingFrequency ) . field ( "MinLineStartTime" , & self . MinLineStartTime ) . field ( "MaxLineStartTime" , & self . MaxLineStartTime ) . field ( "ActualLineStartTime" , & self . ActualLineStartTime ) . field ( "ActualLineEndTime" , & self . ActualLineEndTime ) . field ( "VideoStandard" , & self . VideoStandard ) . field ( "SamplesPerLine" , & self . SamplesPerLine ) . field ( "StrideInBytes" , & self . StrideInBytes ) . field ( "BufferSize" , & self . BufferSize ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KS_VBIINFOHEADER { fn eq ( & self , other : & Self ) -> bool { self . StartLine == other . StartLine && self . EndLine == other . EndLine && self . SamplingFrequency == other . SamplingFrequency && self . MinLineStartTime == other . MinLineStartTime && self . MaxLineStartTime == other . MaxLineStartTime && self . ActualLineStartTime == other . ActualLineStartTime && self . ActualLineEndTime == other . ActualLineEndTime && self . VideoStandard == other . VideoStandard && self . SamplesPerLine == other . SamplesPerLine && self . StrideInBytes == other . StrideInBytes && self . BufferSize == other . BufferSize } } impl :: std :: cmp :: Eq for KS_VBIINFOHEADER { } unsafe impl :: windows :: Abi for KS_VBIINFOHEADER { type Abi = Self ; type DefaultType = Self ; } pub const KS_VBI_FLAG_FIELD1 : i32 = 1i32 ; pub const KS_VBI_FLAG_FIELD2 : i32 = 2i32 ; pub const KS_VBI_FLAG_FRAME : i32 = 0i32 ; pub const KS_VBI_FLAG_MV_DETECTED : i32 = 1024i32 ; pub const KS_VBI_FLAG_MV_HARDWARE : i32 = 512i32 ; pub const KS_VBI_FLAG_MV_PRESENT : i32 = 256i32 ; pub const KS_VBI_FLAG_TVTUNER_CHANGE : i32 = 16i32 ; pub const KS_VBI_FLAG_VBIINFOHEADER_CHANGE : i32 = 32i32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KS_VBI_FRAME_INFO { pub ExtendedHeaderSize : u32 , pub dwFrameFlags : u32 , pub PictureNumber : i64 , pub DropCount : i64 , pub dwSamplingFrequency : u32 , pub TvTunerChangeInfo : KS_TVTUNER_CHANGE_INFO , pub VBIInfoHeader : KS_VBIINFOHEADER } impl KS_VBI_FRAME_INFO { } impl :: std :: default :: Default for KS_VBI_FRAME_INFO { fn default ( ) -> Self { Self { ExtendedHeaderSize : 0 , dwFrameFlags : 0 , PictureNumber : 0 , DropCount : 0 , dwSamplingFrequency : 0 , TvTunerChangeInfo : :: std :: default :: Default :: default ( ) , VBIInfoHeader : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for KS_VBI_FRAME_INFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KS_VBI_FRAME_INFO" ) . field ( "ExtendedHeaderSize" , & self . ExtendedHeaderSize ) . field ( "dwFrameFlags" , & self . dwFrameFlags ) . field ( "PictureNumber" , & self . PictureNumber ) . field ( "DropCount" , & self . DropCount ) . field ( "dwSamplingFrequency" , & self . dwSamplingFrequency ) . field ( "TvTunerChangeInfo" , & self . TvTunerChangeInfo ) . field ( "VBIInfoHeader" , & self . VBIInfoHeader ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KS_VBI_FRAME_INFO { fn eq ( & self , other : & Self ) -> bool { self . ExtendedHeaderSize == other . ExtendedHeaderSize && self . dwFrameFlags == other . dwFrameFlags && self . PictureNumber == other . PictureNumber && self . DropCount == other . DropCount && self . dwSamplingFrequency == other . dwSamplingFrequency && self . TvTunerChangeInfo == other . TvTunerChangeInfo && self . VBIInfoHeader == other . VBIInfoHeader } } impl :: std :: cmp :: Eq for KS_VBI_FRAME_INFO { } unsafe impl :: windows :: Abi for KS_VBI_FRAME_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 KS_VIDEODECODER_FLAGS ( pub i32 ) ; pub const KS_VIDEODECODER_FLAGS_CAN_DISABLE_OUTPUT : KS_VIDEODECODER_FLAGS = KS_VIDEODECODER_FLAGS ( 1i32 ) ; pub const KS_VIDEODECODER_FLAGS_CAN_USE_VCR_LOCKING : KS_VIDEODECODER_FLAGS = KS_VIDEODECODER_FLAGS ( 2i32 ) ; pub const KS_VIDEODECODER_FLAGS_CAN_INDICATE_LOCKED : KS_VIDEODECODER_FLAGS = KS_VIDEODECODER_FLAGS ( 4i32 ) ; impl :: std :: convert :: From < i32 > for KS_VIDEODECODER_FLAGS { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KS_VIDEODECODER_FLAGS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KS_VIDEOINFO { pub rcSource : super::super::super::Foundation:: RECT , pub rcTarget : super::super::super::Foundation:: RECT , pub dwBitRate : u32 , pub dwBitErrorRate : u32 , pub AvgTimePerFrame : i64 , pub bmiHeader : KS_BITMAPINFOHEADER , pub Anonymous : KS_VIDEOINFO_0 } impl KS_VIDEOINFO { } impl :: std :: cmp :: PartialEq for KS_VIDEOINFO { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KS_VIDEOINFO { } unsafe impl :: windows :: Abi for KS_VIDEOINFO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union KS_VIDEOINFO_0 { pub bmiColors : [ KS_RGBQUAD ;256 ] , pub dwBitMasks : [ u32 ;3 ] , pub TrueColorInfo : KS_TRUECOLORINFO } impl KS_VIDEOINFO_0 { } impl :: std :: cmp :: PartialEq for KS_VIDEOINFO_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KS_VIDEOINFO_0 { } unsafe impl :: windows :: Abi for KS_VIDEOINFO_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KS_VIDEOINFOHEADER { pub rcSource : super::super::super::Foundation:: RECT , pub rcTarget : super::super::super::Foundation:: RECT , pub dwBitRate : u32 , pub dwBitErrorRate : u32 , pub AvgTimePerFrame : i64 , pub bmiHeader : KS_BITMAPINFOHEADER } impl KS_VIDEOINFOHEADER { } impl :: std :: default :: Default for KS_VIDEOINFOHEADER { fn default ( ) -> Self { Self { rcSource : :: std :: default :: Default :: default ( ) , rcTarget : :: std :: default :: Default :: default ( ) , dwBitRate : 0 , dwBitErrorRate : 0 , AvgTimePerFrame : 0 , bmiHeader : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for KS_VIDEOINFOHEADER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KS_VIDEOINFOHEADER" ) . field ( "rcSource" , & self . rcSource ) . field ( "rcTarget" , & self . rcTarget ) . field ( "dwBitRate" , & self . dwBitRate ) . field ( "dwBitErrorRate" , & self . dwBitErrorRate ) . field ( "AvgTimePerFrame" , & self . AvgTimePerFrame ) . field ( "bmiHeader" , & self . bmiHeader ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KS_VIDEOINFOHEADER { fn eq ( & self , other : & Self ) -> bool { self . rcSource == other . rcSource && self . rcTarget == other . rcTarget && self . dwBitRate == other . dwBitRate && self . dwBitErrorRate == other . dwBitErrorRate && self . AvgTimePerFrame == other . AvgTimePerFrame && self . bmiHeader == other . bmiHeader } } impl :: std :: cmp :: Eq for KS_VIDEOINFOHEADER { } unsafe impl :: windows :: Abi for KS_VIDEOINFOHEADER { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KS_VIDEOINFOHEADER2 { pub rcSource : super::super::super::Foundation:: RECT , pub rcTarget : super::super::super::Foundation:: RECT , pub dwBitRate : u32 , pub dwBitErrorRate : u32 , pub AvgTimePerFrame : i64 , pub dwInterlaceFlags : u32 , pub dwCopyProtectFlags : u32 , pub dwPictAspectRatioX : u32 , pub dwPictAspectRatioY : u32 , pub Anonymous : KS_VIDEOINFOHEADER2_0 , pub dwReserved2 : u32 , pub bmiHeader : KS_BITMAPINFOHEADER } impl KS_VIDEOINFOHEADER2 { } impl :: std :: cmp :: PartialEq for KS_VIDEOINFOHEADER2 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KS_VIDEOINFOHEADER2 { } unsafe impl :: windows :: Abi for KS_VIDEOINFOHEADER2 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union KS_VIDEOINFOHEADER2_0 { pub dwControlFlags : u32 , pub dwReserved1 : u32 } impl KS_VIDEOINFOHEADER2_0 { } impl :: std :: cmp :: PartialEq for KS_VIDEOINFOHEADER2_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for KS_VIDEOINFOHEADER2_0 { } unsafe impl :: windows :: Abi for KS_VIDEOINFOHEADER2_0 { type Abi = Self ; type DefaultType = Self ; } pub const KS_VIDEOSTREAM_CAPTURE : u32 = 2u32 ; pub const KS_VIDEOSTREAM_CC : u32 = 256u32 ; pub const KS_VIDEOSTREAM_EDS : u32 = 512u32 ; pub const KS_VIDEOSTREAM_IS_VPE : u32 = 32768u32 ; pub const KS_VIDEOSTREAM_NABTS : u32 = 32u32 ; pub const KS_VIDEOSTREAM_PREVIEW : u32 = 1u32 ; pub const KS_VIDEOSTREAM_STILL : u32 = 4096u32 ; pub const KS_VIDEOSTREAM_TELETEXT : u32 = 1024u32 ; pub const KS_VIDEOSTREAM_VBI : u32 = 16u32 ; pub const KS_VIDEO_ALLOC_VPE_AGP : u32 = 4u32 ; pub const KS_VIDEO_ALLOC_VPE_DISPLAY : u32 = 2u32 ; pub const KS_VIDEO_ALLOC_VPE_SYSTEM : u32 = 1u32 ; pub const KS_VIDEO_FLAG_B_FRAME : i32 = 32i32 ; pub const KS_VIDEO_FLAG_FIELD1 : i32 = 1i32 ; pub const KS_VIDEO_FLAG_FIELD1FIRST : i32 = 4i32 ; pub const KS_VIDEO_FLAG_FIELD2 : i32 = 2i32 ; pub const KS_VIDEO_FLAG_FIELD_MASK : i32 = 3i32 ; pub const KS_VIDEO_FLAG_FRAME : i32 = 0i32 ; pub const KS_VIDEO_FLAG_IPB_MASK : i32 = 48i32 ; pub const KS_VIDEO_FLAG_I_FRAME : i32 = 0i32 ; pub const KS_VIDEO_FLAG_P_FRAME : i32 = 16i32 ; pub const KS_VIDEO_FLAG_REPEAT_FIELD : i32 = 64i32 ; pub const KS_VIDEO_FLAG_WEAVE : i32 = 8i32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct KS_VIDEO_STREAM_CONFIG_CAPS { pub guid : :: windows :: Guid , pub VideoStandard : u32 , pub InputSize : super::super::super::Foundation:: SIZE , pub MinCroppingSize : super::super::super::Foundation:: SIZE , pub MaxCroppingSize : super::super::super::Foundation:: SIZE , pub CropGranularityX : i32 , pub CropGranularityY : i32 , pub CropAlignX : i32 , pub CropAlignY : i32 , pub MinOutputSize : super::super::super::Foundation:: SIZE , pub MaxOutputSize : super::super::super::Foundation:: SIZE , pub OutputGranularityX : i32 , pub OutputGranularityY : i32 , pub StretchTapsX : i32 , pub StretchTapsY : i32 , pub ShrinkTapsX : i32 , pub ShrinkTapsY : i32 , pub MinFrameInterval : i64 , pub MaxFrameInterval : i64 , pub MinBitsPerSecond : i32 , pub MaxBitsPerSecond : i32 } impl KS_VIDEO_STREAM_CONFIG_CAPS { } impl :: std :: default :: Default for KS_VIDEO_STREAM_CONFIG_CAPS { fn default ( ) -> Self { Self { guid : :: std :: default :: Default :: default ( ) , VideoStandard : 0 , InputSize : :: std :: default :: Default :: default ( ) , MinCroppingSize : :: std :: default :: Default :: default ( ) , MaxCroppingSize : :: std :: default :: Default :: default ( ) , CropGranularityX : 0 , CropGranularityY : 0 , CropAlignX : 0 , CropAlignY : 0 , MinOutputSize : :: std :: default :: Default :: default ( ) , MaxOutputSize : :: std :: default :: Default :: default ( ) , OutputGranularityX : 0 , OutputGranularityY : 0 , StretchTapsX : 0 , StretchTapsY : 0 , ShrinkTapsX : 0 , ShrinkTapsY : 0 , MinFrameInterval : 0 , MaxFrameInterval : 0 , MinBitsPerSecond : 0 , MaxBitsPerSecond : 0 } } } impl :: std :: fmt :: Debug for KS_VIDEO_STREAM_CONFIG_CAPS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "KS_VIDEO_STREAM_CONFIG_CAPS" ) . field ( "guid" , & self . guid ) . field ( "VideoStandard" , & self . VideoStandard ) . field ( "InputSize" , & self . InputSize ) . field ( "MinCroppingSize" , & self . MinCroppingSize ) . field ( "MaxCroppingSize" , & self . MaxCroppingSize ) . field ( "CropGranularityX" , & self . CropGranularityX ) . field ( "CropGranularityY" , & self . CropGranularityY ) . field ( "CropAlignX" , & self . CropAlignX ) . field ( "CropAlignY" , & self . CropAlignY ) . field ( "MinOutputSize" , & self . MinOutputSize ) . field ( "MaxOutputSize" , & self . MaxOutputSize ) . field ( "OutputGranularityX" , & self . OutputGranularityX ) . field ( "OutputGranularityY" , & self . OutputGranularityY ) . field ( "StretchTapsX" , & self . StretchTapsX ) . field ( "StretchTapsY" , & self . StretchTapsY ) . field ( "ShrinkTapsX" , & self . ShrinkTapsX ) . field ( "ShrinkTapsY" , & self . ShrinkTapsY ) . field ( "MinFrameInterval" , & self . MinFrameInterval ) . field ( "MaxFrameInterval" , & self . MaxFrameInterval ) . field ( "MinBitsPerSecond" , & self . MinBitsPerSecond ) . field ( "MaxBitsPerSecond" , & self . MaxBitsPerSecond ) . finish ( ) } } impl :: std :: cmp :: PartialEq for KS_VIDEO_STREAM_CONFIG_CAPS { fn eq ( & self , other : & Self ) -> bool { self . guid == other . guid && self . VideoStandard == other . VideoStandard && self . InputSize == other . InputSize && self . MinCroppingSize == other . MinCroppingSize && self . MaxCroppingSize == other . MaxCroppingSize && self . CropGranularityX == other . CropGranularityX && self . CropGranularityY == other . CropGranularityY && self . CropAlignX == other . CropAlignX && self . CropAlignY == other . CropAlignY && self . MinOutputSize == other . MinOutputSize && self . MaxOutputSize == other . MaxOutputSize && self . OutputGranularityX == other . OutputGranularityX && self . OutputGranularityY == other . OutputGranularityY && self . StretchTapsX == other . StretchTapsX && self . StretchTapsY == other . StretchTapsY && self . ShrinkTapsX == other . ShrinkTapsX && self . ShrinkTapsY == other . ShrinkTapsY && self . MinFrameInterval == other . MinFrameInterval && self . MaxFrameInterval == other . MaxFrameInterval && self . MinBitsPerSecond == other . MinBitsPerSecond && self . MaxBitsPerSecond == other . MaxBitsPerSecond } } impl :: std :: cmp :: Eq for KS_VIDEO_STREAM_CONFIG_CAPS { } unsafe impl :: windows :: Abi for KS_VIDEO_STREAM_CONFIG_CAPS { 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 KS_VideoControlFlags ( pub i32 ) ; pub const KS_VideoControlFlag_FlipHorizontal : KS_VideoControlFlags = KS_VideoControlFlags ( 1i32 ) ; pub const KS_VideoControlFlag_FlipVertical : KS_VideoControlFlags = KS_VideoControlFlags ( 2i32 ) ; pub const KS_Obsolete_VideoControlFlag_ExternalTriggerEnable : KS_VideoControlFlags = KS_VideoControlFlags ( 16i32 ) ; pub const KS_Obsolete_VideoControlFlag_Trigger : KS_VideoControlFlags = KS_VideoControlFlags ( 32i32 ) ; pub const KS_VideoControlFlag_ExternalTriggerEnable : KS_VideoControlFlags = KS_VideoControlFlags ( 4i32 ) ; pub const KS_VideoControlFlag_Trigger : KS_VideoControlFlags = KS_VideoControlFlags ( 8i32 ) ; pub const KS_VideoControlFlag_IndependentImagePin : KS_VideoControlFlags = KS_VideoControlFlags ( 64i32 ) ; pub const KS_VideoControlFlag_StillCapturePreviewFrame : KS_VideoControlFlags = KS_VideoControlFlags ( 128i32 ) ; pub const KS_VideoControlFlag_StartPhotoSequenceCapture : KS_VideoControlFlags = KS_VideoControlFlags ( 256i32 ) ; pub const KS_VideoControlFlag_StopPhotoSequenceCapture : KS_VideoControlFlags = KS_VideoControlFlags ( 512i32 ) ; impl :: std :: convert :: From < i32 > for KS_VideoControlFlags { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KS_VideoControlFlags { 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 KS_VideoStreamingHints ( pub i32 ) ; pub const KS_StreamingHint_FrameInterval : KS_VideoStreamingHints = KS_VideoStreamingHints ( 256i32 ) ; pub const KS_StreamingHint_KeyFrameRate : KS_VideoStreamingHints = KS_VideoStreamingHints ( 512i32 ) ; pub const KS_StreamingHint_PFrameRate : KS_VideoStreamingHints = KS_VideoStreamingHints ( 1024i32 ) ; pub const KS_StreamingHint_CompQuality : KS_VideoStreamingHints = KS_VideoStreamingHints ( 2048i32 ) ; pub const KS_StreamingHint_CompWindowSize : KS_VideoStreamingHints = KS_VideoStreamingHints ( 4096i32 ) ; impl :: std :: convert :: From < i32 > for KS_VideoStreamingHints { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for KS_VideoStreamingHints { type Abi = Self ; type DefaultType = Self ; } pub const KS_iBLUE : u32 = 2u32 ; pub const KS_iEGA_COLORS : u32 = 16u32 ; pub const KS_iGREEN : u32 = 1u32 ; pub const KS_iMASK_COLORS : u32 = 3u32 ; pub const KS_iMAXBITS : u32 = 8u32 ; pub const KS_iPALETTE : u32 = 8u32 ; pub const KS_iPALETTE_COLORS : u32 = 256u32 ; pub const KS_iRED : u32 = 0u32 ; pub const KS_iTRUECOLOR : u32 = 16u32 ; pub unsafe fn KsCreateAllocator < 'a , > ( connectionhandle : impl :: windows :: IntoParam < 'a , super::super::super::Foundation:: HANDLE > , allocatorframing : * mut KSALLOCATOR_FRAMING , allocatorhandle : * mut super::super::super::Foundation:: HANDLE , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="ksuser" ) ] extern "system" { fn KsCreateAllocator ( connectionhandle : super::super::super::Foundation:: HANDLE , allocatorframing : * mut KSALLOCATOR_FRAMING , allocatorhandle : * mut super::super::super::Foundation:: HANDLE ) -> u32 ; } KsCreateAllocator ( connectionhandle . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( allocatorframing ) , :: std :: mem :: transmute ( allocatorhandle ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn KsCreateAllocator2 < 'a , > ( connectionhandle : impl :: windows :: IntoParam < 'a , super::super::super::Foundation:: HANDLE > , allocatorframing : * mut KSALLOCATOR_FRAMING , ) -> :: windows :: Result < super::super::super::Foundation:: HANDLE > { # [ cfg ( windows ) ] { # [ link ( name ="ksuser" ) ] extern "system" { fn KsCreateAllocator2 ( connectionhandle : super::super::super::Foundation:: HANDLE , allocatorframing : * mut KSALLOCATOR_FRAMING , allocatorhandle : * mut super::super::super::Foundation:: HANDLE ) -> :: windows :: HRESULT ; } let mut result__ : < super::super::super::Foundation:: HANDLE as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; KsCreateAllocator2 ( connectionhandle . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( allocatorframing ) , & mut result__ ) . from_abi :: < super::super::super::Foundation:: HANDLE > ( result__ ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn KsCreateClock < 'a , > ( connectionhandle : impl :: windows :: IntoParam < 'a , super::super::super::Foundation:: HANDLE > , clockcreate : * mut KSCLOCK_CREATE , clockhandle : * mut super::super::super::Foundation:: HANDLE , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="ksuser" ) ] extern "system" { fn KsCreateClock ( connectionhandle : super::super::super::Foundation:: HANDLE , clockcreate : * mut KSCLOCK_CREATE , clockhandle : * mut super::super::super::Foundation:: HANDLE ) -> u32 ; } KsCreateClock ( connectionhandle . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( clockcreate ) , :: std :: mem :: transmute ( clockhandle ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn KsCreateClock2 < 'a , > ( connectionhandle : impl :: windows :: IntoParam < 'a , super::super::super::Foundation:: HANDLE > , clockcreate : * mut KSCLOCK_CREATE , ) -> :: windows :: Result < super::super::super::Foundation:: HANDLE > { # [ cfg ( windows ) ] { # [ link ( name ="ksuser" ) ] extern "system" { fn KsCreateClock2 ( connectionhandle : super::super::super::Foundation:: HANDLE , clockcreate : * mut KSCLOCK_CREATE , clockhandle : * mut super::super::super::Foundation:: HANDLE ) -> :: windows :: HRESULT ; } let mut result__ : < super::super::super::Foundation:: HANDLE as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; KsCreateClock2 ( connectionhandle . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( clockcreate ) , & mut result__ ) . from_abi :: < super::super::super::Foundation:: HANDLE > ( result__ ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn KsCreatePin < 'a , > ( filterhandle : impl :: windows :: IntoParam < 'a , super::super::super::Foundation:: HANDLE > , connect : * mut KSPIN_CONNECT , desiredaccess : u32 , connectionhandle : * mut super::super::super::Foundation:: HANDLE , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="ksuser" ) ] extern "system" { fn KsCreatePin ( filterhandle : super::super::super::Foundation:: HANDLE , connect : * mut KSPIN_CONNECT , desiredaccess : u32 , connectionhandle : * mut super::super::super::Foundation:: HANDLE ) -> u32 ; } KsCreatePin ( filterhandle . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( connect ) , :: std :: mem :: transmute ( desiredaccess ) , :: std :: mem :: transmute ( connectionhandle ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn KsCreatePin2 < 'a , > ( filterhandle : impl :: windows :: IntoParam < 'a , super::super::super::Foundation:: HANDLE > , connect : * mut KSPIN_CONNECT , desiredaccess : u32 , ) -> :: windows :: Result < super::super::super::Foundation:: HANDLE > { # [ cfg ( windows ) ] { # [ link ( name ="ksuser" ) ] extern "system" { fn KsCreatePin2 ( filterhandle : super::super::super::Foundation:: HANDLE , connect : * mut KSPIN_CONNECT , desiredaccess : u32 , connectionhandle : * mut super::super::super::Foundation:: HANDLE ) -> :: windows :: HRESULT ; } let mut result__ : < super::super::super::Foundation:: HANDLE as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; KsCreatePin2 ( filterhandle . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( connect ) , :: std :: mem :: transmute ( desiredaccess ) , & mut result__ ) . from_abi :: < super::super::super::Foundation:: HANDLE > ( result__ ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn KsCreateTopologyNode < 'a , > ( parenthandle : impl :: windows :: IntoParam < 'a , super::super::super::Foundation:: HANDLE > , nodecreate : * mut KSNODE_CREATE , desiredaccess : u32 , nodehandle : * mut super::super::super::Foundation:: HANDLE , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="ksuser" ) ] extern "system" { fn KsCreateTopologyNode ( parenthandle : super::super::super::Foundation:: HANDLE , nodecreate : * mut KSNODE_CREATE , desiredaccess : u32 , nodehandle : * mut super::super::super::Foundation:: HANDLE ) -> u32 ; } KsCreateTopologyNode ( parenthandle . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( nodecreate ) , :: std :: mem :: transmute ( desiredaccess ) , :: std :: mem :: transmute ( nodehandle ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn KsCreateTopologyNode2 < 'a , > ( parenthandle : impl :: windows :: IntoParam < 'a , super::super::super::Foundation:: HANDLE > , nodecreate : * mut KSNODE_CREATE , desiredaccess : u32 , ) -> :: windows :: Result < super::super::super::Foundation:: HANDLE > { # [ cfg ( windows ) ] { # [ link ( name ="ksuser" ) ] extern "system" { fn KsCreateTopologyNode2 ( parenthandle : super::super::super::Foundation:: HANDLE , nodecreate : * mut KSNODE_CREATE , desiredaccess : u32 , nodehandle : * mut super::super::super::Foundation:: HANDLE ) -> :: windows :: HRESULT ; } let mut result__ : < super::super::super::Foundation:: HANDLE as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; KsCreateTopologyNode2 ( parenthandle . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( nodecreate ) , :: std :: mem :: transmute ( desiredaccess ) , & mut result__ ) . from_abi :: < super::super::super::Foundation:: HANDLE > ( result__ ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct LOOPEDSTREAMING_POSITION_EVENT_DATA { pub KsEventData : KSEVENTDATA , pub Position : u64 } impl LOOPEDSTREAMING_POSITION_EVENT_DATA { } impl :: std :: cmp :: PartialEq for LOOPEDSTREAMING_POSITION_EVENT_DATA { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for LOOPEDSTREAMING_POSITION_EVENT_DATA { } unsafe impl :: windows :: Abi for LOOPEDSTREAMING_POSITION_EVENT_DATA { type Abi = Self ; type DefaultType = Self ; } pub const MAX_NABTS_VBI_LINES_PER_FIELD : u32 = 11u32 ; pub const MAX_SINK_DESCRIPTION_NAME_LENGTH : u32 = 32u32 ; pub const MAX_WST_VBI_LINES_PER_FIELD : u32 = 17u32 ; pub const MCIERR_BAD_CONSTANT : u32 = 290u32 ; pub const MCIERR_BAD_INTEGER : u32 = 270u32 ; pub const MCIERR_BAD_TIME_FORMAT : u32 = 293u32 ; pub const MCIERR_CANNOT_LOAD_DRIVER : u32 = 266u32 ; pub const MCIERR_CANNOT_USE_ALL : u32 = 279u32 ; pub const MCIERR_CREATEWINDOW : u32 = 347u32 ; pub const MCIERR_CUSTOM_DRIVER_BASE : u32 = 512u32 ; pub const MCIERR_DEVICE_LENGTH : u32 = 310u32 ; pub const MCIERR_DEVICE_LOCKED : u32 = 288u32 ; pub const MCIERR_DEVICE_NOT_INSTALLED : u32 = 306u32 ; pub const MCIERR_DEVICE_NOT_READY : u32 = 276u32 ; pub const MCIERR_DEVICE_OPEN : u32 = 265u32 ; pub const MCIERR_DEVICE_ORD_LENGTH : u32 = 311u32 ; pub const MCIERR_DEVICE_TYPE_REQUIRED : u32 = 287u32 ; pub const MCIERR_DRIVER : u32 = 278u32 ; pub const MCIERR_DRIVER_INTERNAL : u32 = 272u32 ; pub const MCIERR_DUPLICATE_ALIAS : u32 = 289u32 ; pub const MCIERR_DUPLICATE_FLAGS : u32 = 295u32 ; pub const MCIERR_EXTENSION_NOT_FOUND : u32 = 281u32 ; pub const MCIERR_EXTRA_CHARACTERS : u32 = 305u32 ; pub const MCIERR_FILENAME_REQUIRED : u32 = 304u32 ; pub const MCIERR_FILE_NOT_FOUND : u32 = 275u32 ; pub const MCIERR_FILE_NOT_SAVED : u32 = 286u32 ; pub const MCIERR_FILE_READ : u32 = 348u32 ; pub const MCIERR_FILE_WRITE : u32 = 349u32 ; pub const MCIERR_FLAGS_NOT_COMPATIBLE : u32 = 284u32 ; pub const MCIERR_GET_CD : u32 = 307u32 ; pub const MCIERR_HARDWARE : u32 = 262u32 ; pub const MCIERR_ILLEGAL_FOR_AUTO_OPEN : u32 = 303u32 ; pub const MCIERR_INTERNAL : u32 = 277u32 ; pub const MCIERR_INVALID_DEVICE_ID : u32 = 257u32 ; pub const MCIERR_INVALID_DEVICE_NAME : u32 = 263u32 ; pub const MCIERR_INVALID_FILE : u32 = 296u32 ; pub const MCIERR_MISSING_COMMAND_STRING : u32 = 267u32 ; pub const MCIERR_MISSING_DEVICE_NAME : u32 = 292u32 ; pub const MCIERR_MISSING_PARAMETER : u32 = 273u32 ; pub const MCIERR_MISSING_STRING_ARGUMENT : u32 = 269u32 ; pub const MCIERR_MULTIPLE : u32 = 280u32 ; pub const MCIERR_MUST_USE_SHAREABLE : u32 = 291u32 ; pub const MCIERR_NEW_REQUIRES_ALIAS : u32 = 299u32 ; pub const MCIERR_NONAPPLICABLE_FUNCTION : u32 = 302u32 ; pub const MCIERR_NOTIFY_ON_AUTO_OPEN : u32 = 300u32 ; pub const MCIERR_NO_CLOSING_QUOTE : u32 = 294u32 ; pub const MCIERR_NO_ELEMENT_ALLOWED : u32 = 301u32 ; pub const MCIERR_NO_IDENTITY : u32 = 350u32 ; pub const MCIERR_NO_INTEGER : u32 = 312u32 ; pub const MCIERR_NO_WINDOW : u32 = 346u32 ; pub const MCIERR_NULL_PARAMETER_BLOCK : u32 = 297u32 ; pub const MCIERR_OUTOFRANGE : u32 = 282u32 ; pub const MCIERR_OUT_OF_MEMORY : u32 = 264u32 ; pub const MCIERR_PARAM_OVERFLOW : u32 = 268u32 ; pub const MCIERR_PARSER_INTERNAL : u32 = 271u32 ; pub const MCIERR_SEQ_DIV_INCOMPATIBLE : u32 = 336u32 ; pub const MCIERR_SEQ_NOMIDIPRESENT : u32 = 343u32 ; pub const MCIERR_SEQ_PORTUNSPECIFIED : u32 = 342u32 ; pub const MCIERR_SEQ_PORT_INUSE : u32 = 337u32 ; pub const MCIERR_SEQ_PORT_MAPNODEVICE : u32 = 339u32 ; pub const MCIERR_SEQ_PORT_MISCERROR : u32 = 340u32 ; pub const MCIERR_SEQ_PORT_NONEXISTENT : u32 = 338u32 ; pub const MCIERR_SEQ_TIMER : u32 = 341u32 ; pub const MCIERR_SET_CD : u32 = 308u32 ; pub const MCIERR_SET_DRIVE : u32 = 309u32 ; pub const MCIERR_UNNAMED_RESOURCE : u32 = 298u32 ; pub const MCIERR_UNRECOGNIZED_COMMAND : u32 = 261u32 ; pub const MCIERR_UNRECOGNIZED_KEYWORD : u32 = 259u32 ; pub const MCIERR_UNSUPPORTED_FUNCTION : u32 = 274u32 ; pub const MCIERR_WAVE_INPUTSINUSE : u32 = 322u32 ; pub const MCIERR_WAVE_INPUTSUNSUITABLE : u32 = 328u32 ; pub const MCIERR_WAVE_INPUTUNSPECIFIED : u32 = 325u32 ; pub const MCIERR_WAVE_OUTPUTSINUSE : u32 = 320u32 ; pub const MCIERR_WAVE_OUTPUTSUNSUITABLE : u32 = 326u32 ; pub const MCIERR_WAVE_OUTPUTUNSPECIFIED : u32 = 324u32 ; pub const MCIERR_WAVE_SETINPUTINUSE : u32 = 323u32 ; pub const MCIERR_WAVE_SETINPUTUNSUITABLE : u32 = 329u32 ; pub const MCIERR_WAVE_SETOUTPUTINUSE : u32 = 321u32 ; pub const MCIERR_WAVE_SETOUTPUTUNSUITABLE : u32 = 327u32 ; pub const MCI_ANIM_GETDEVCAPS_CAN_REVERSE : i32 = 16385i32 ; pub const MCI_ANIM_GETDEVCAPS_CAN_STRETCH : i32 = 16391i32 ; pub const MCI_ANIM_GETDEVCAPS_FAST_RATE : i32 = 16386i32 ; pub const MCI_ANIM_GETDEVCAPS_MAX_WINDOWS : i32 = 16392i32 ; pub const MCI_ANIM_GETDEVCAPS_NORMAL_RATE : i32 = 16388i32 ; pub const MCI_ANIM_GETDEVCAPS_PALETTES : i32 = 16390i32 ; pub const MCI_ANIM_GETDEVCAPS_SLOW_RATE : i32 = 16387i32 ; pub const MCI_ANIM_INFO_TEXT : i32 = 65536i32 ; pub const MCI_ANIM_OPEN_NOSTATIC : i32 = 262144i32 ; pub const MCI_ANIM_OPEN_PARENT : i32 = 131072i32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 1 ) ) ] pub struct MCI_ANIM_OPEN_PARMSA { pub dwCallback : usize , pub wDeviceID : u32 , pub lpstrDeviceType : super::super::super::Foundation:: PSTR , pub lpstrElementName : super::super::super::Foundation:: PSTR , pub lpstrAlias : super::super::super::Foundation:: PSTR , pub dwStyle : u32 , pub hWndParent : super::super::super::Foundation:: HWND } impl MCI_ANIM_OPEN_PARMSA { } impl :: std :: cmp :: PartialEq for MCI_ANIM_OPEN_PARMSA { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for MCI_ANIM_OPEN_PARMSA { } unsafe impl :: windows :: Abi for MCI_ANIM_OPEN_PARMSA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 1 ) ) ] pub struct MCI_ANIM_OPEN_PARMSW { pub dwCallback : usize , pub wDeviceID : u32 , pub lpstrDeviceType : super::super::super::Foundation:: PWSTR , pub lpstrElementName : super::super::super::Foundation:: PWSTR , pub lpstrAlias : super::super::super::Foundation:: PWSTR , pub dwStyle : u32 , pub hWndParent : super::super::super::Foundation:: HWND } impl MCI_ANIM_OPEN_PARMSW { } impl :: std :: cmp :: PartialEq for MCI_ANIM_OPEN_PARMSW { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for MCI_ANIM_OPEN_PARMSW { } unsafe impl :: windows :: Abi for MCI_ANIM_OPEN_PARMSW { type Abi = Self ; type DefaultType = Self ; } pub const MCI_ANIM_OPEN_WS : i32 = 65536i32 ; pub const MCI_ANIM_PLAY_FAST : i32 = 262144i32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 1 ) ) ] pub struct MCI_ANIM_PLAY_PARMS { pub dwCallback : usize , pub dwFrom : u32 , pub dwTo : u32 , pub dwSpeed : u32 } impl MCI_ANIM_PLAY_PARMS { } impl :: std :: cmp :: PartialEq for MCI_ANIM_PLAY_PARMS { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for MCI_ANIM_PLAY_PARMS { } unsafe impl :: windows :: Abi for MCI_ANIM_PLAY_PARMS { type Abi = Self ; type DefaultType = Self ; } pub const MCI_ANIM_PLAY_REVERSE : i32 = 131072i32 ; pub const MCI_ANIM_PLAY_SCAN : i32 = 1048576i32 ; pub const MCI_ANIM_PLAY_SLOW : i32 = 524288i32 ; pub const MCI_ANIM_PLAY_SPEED : i32 = 65536i32 ; pub const MCI_ANIM_PUT_DESTINATION : i32 = 262144i32 ; pub const MCI_ANIM_PUT_SOURCE : i32 = 131072i32 ; pub const MCI_ANIM_REALIZE_BKGD : i32 = 131072i32 ; pub const MCI_ANIM_REALIZE_NORM : i32 = 65536i32 ; pub const MCI_ANIM_RECT : i32 = 65536i32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 1 ) ) ] pub struct MCI_ANIM_RECT_PARMS { pub dwCallback : usize , pub rc : super::super::super::Foundation:: RECT } impl MCI_ANIM_RECT_PARMS { } impl :: std :: cmp :: PartialEq for MCI_ANIM_RECT_PARMS { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for MCI_ANIM_RECT_PARMS { } unsafe impl :: windows :: Abi for MCI_ANIM_RECT_PARMS { type Abi = Self ; type DefaultType = Self ; } pub const MCI_ANIM_STATUS_FORWARD : i32 = 16386i32 ; pub const MCI_ANIM_STATUS_HPAL : i32 = 16388i32 ; pub const MCI_ANIM_STATUS_HWND : i32 = 16387i32 ; pub const MCI_ANIM_STATUS_SPEED : i32 = 16385i32 ; pub const MCI_ANIM_STATUS_STRETCH : i32 = 16389i32 ; pub const MCI_ANIM_STEP_FRAMES : i32 = 131072i32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 1 ) ) ] pub struct MCI_ANIM_STEP_PARMS { pub dwCallback : usize , pub dwFrames : u32 } impl MCI_ANIM_STEP_PARMS { } impl :: std :: cmp :: PartialEq for MCI_ANIM_STEP_PARMS { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for MCI_ANIM_STEP_PARMS { } unsafe impl :: windows :: Abi for MCI_ANIM_STEP_PARMS { type Abi = Self ; type DefaultType = Self ; } pub const MCI_ANIM_STEP_REVERSE : i32 = 65536i32 ; pub const MCI_ANIM_UPDATE_HDC : i32 = 131072i32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 1 ) ) ] pub struct MCI_ANIM_UPDATE_PARMS { pub dwCallback : usize , pub rc : super::super::super::Foundation:: RECT , pub hDC : super::super::super::Graphics::Gdi:: HDC } impl MCI_ANIM_UPDATE_PARMS { } impl :: std :: cmp :: PartialEq for MCI_ANIM_UPDATE_PARMS { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for MCI_ANIM_UPDATE_PARMS { } unsafe impl :: windows :: Abi for MCI_ANIM_UPDATE_PARMS { type Abi = Self ; type DefaultType = Self ; } pub const MCI_ANIM_WHERE_DESTINATION : i32 = 262144i32 ; pub const MCI_ANIM_WHERE_SOURCE : i32 = 131072i32 ; pub const MCI_ANIM_WINDOW_DEFAULT : i32 = 0i32 ; pub const MCI_ANIM_WINDOW_DISABLE_STRETCH : i32 = 2097152i32 ; pub const MCI_ANIM_WINDOW_ENABLE_STRETCH : i32 = 1048576i32 ; pub const MCI_ANIM_WINDOW_HWND : i32 = 65536i32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 1 ) ) ] pub struct MCI_ANIM_WINDOW_PARMSA { pub dwCallback : usize , pub hWnd : super::super::super::Foundation:: HWND , pub nCmdShow : u32 , pub lpstrText : super::super::super::Foundation:: PSTR } impl MCI_ANIM_WINDOW_PARMSA { } impl :: std :: cmp :: PartialEq for MCI_ANIM_WINDOW_PARMSA { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for MCI_ANIM_WINDOW_PARMSA { } unsafe impl :: windows :: Abi for MCI_ANIM_WINDOW_PARMSA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 1 ) ) ] pub struct MCI_ANIM_WINDOW_PARMSW { pub dwCallback : usize , pub hWnd : super::super::super::Foundation:: HWND , pub nCmdShow : u32 , pub lpstrText : super::super::super::Foundation:: PWSTR } impl MCI_ANIM_WINDOW_PARMSW { } impl :: std :: cmp :: PartialEq for MCI_ANIM_WINDOW_PARMSW { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for MCI_ANIM_WINDOW_PARMSW { } unsafe impl :: windows :: Abi for MCI_ANIM_WINDOW_PARMSW { type Abi = Self ; type DefaultType = Self ; } pub const MCI_ANIM_WINDOW_STATE : i32 = 262144i32 ; pub const MCI_ANIM_WINDOW_TEXT : i32 = 524288i32 ; pub const MCI_BREAK : u32 = 2065u32 ; pub const MCI_BREAK_HWND : i32 = 512i32 ; pub const MCI_BREAK_KEY : i32 = 256i32 ; pub const MCI_BREAK_OFF : i32 = 1024i32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 1 ) ) ] pub struct MCI_BREAK_PARMS { pub dwCallback : usize , pub nVirtKey : i32 , pub hwndBreak : super::super::super::Foundation:: HWND } impl MCI_BREAK_PARMS { } impl :: std :: cmp :: PartialEq for MCI_BREAK_PARMS { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for MCI_BREAK_PARMS { } unsafe impl :: windows :: Abi for MCI_BREAK_PARMS { type Abi = Self ; type DefaultType = Self ; } pub const MCI_CDA_STATUS_TYPE_TRACK : i32 = 16385i32 ; pub const MCI_CDA_TRACK_AUDIO : u32 = 1088u32 ; pub const MCI_CDA_TRACK_OTHER : u32 = 1089u32 ; pub const MCI_CLOSE : u32 = 2052u32 ; pub const MCI_COPY : u32 = 2130u32 ; pub const MCI_CUE : u32 = 2096u32 ; pub const MCI_CUT : u32 = 2129u32 ; pub const MCI_DELETE : u32 = 2134u32 ; pub const MCI_DEVTYPE_ANIMATION : u32 = 519u32 ; pub const MCI_DEVTYPE_CD_AUDIO : u32 = 516u32 ; pub const MCI_DEVTYPE_DAT : u32 = 517u32 ; pub const MCI_DEVTYPE_DIGITAL_VIDEO : u32 = 520u32 ; pub const MCI_DEVTYPE_FIRST_USER : u32 = 4096u32 ; pub const MCI_DEVTYPE_OTHER : u32 = 521u32 ; pub const MCI_DEVTYPE_OVERLAY : u32 = 515u32 ; pub const MCI_DEVTYPE_SCANNER : u32 = 518u32 ; pub const MCI_DEVTYPE_SEQUENCER : u32 = 523u32 ; pub const MCI_DEVTYPE_VCR : u32 = 513u32 ; pub const MCI_DEVTYPE_VIDEODISC : u32 = 514u32 ; pub const MCI_DEVTYPE_WAVEFORM_AUDIO : u32 = 522u32 ; pub const MCI_ESCAPE : u32 = 2053u32 ; pub const MCI_FORMAT_BYTES : u32 = 8u32 ; pub const MCI_FORMAT_FRAMES : u32 = 3u32 ; pub const MCI_FORMAT_HMS : u32 = 1u32 ; pub const MCI_FORMAT_MILLISECONDS : u32 = 0u32 ; pub const MCI_FORMAT_MSF : u32 = 2u32 ; pub const MCI_FORMAT_SAMPLES : u32 = 9u32 ; pub const MCI_FORMAT_SMPTE_24 : u32 = 4u32 ; pub const MCI_FORMAT_SMPTE_25 : u32 = 5u32 ; pub const MCI_FORMAT_SMPTE_30 : u32 = 6u32 ; pub const MCI_FORMAT_SMPTE_30DROP : u32 = 7u32 ; pub const MCI_FORMAT_TMSF : u32 = 10u32 ; pub const MCI_FREEZE : u32 = 2116u32 ; pub const MCI_FROM : i32 = 4i32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 1 ) ) ] pub struct MCI_GENERIC_PARMS { pub dwCallback : usize } impl MCI_GENERIC_PARMS { } impl :: std :: cmp :: PartialEq for MCI_GENERIC_PARMS { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for MCI_GENERIC_PARMS { } unsafe impl :: windows :: Abi for MCI_GENERIC_PARMS { type Abi = Self ; type DefaultType = Self ; } pub const MCI_GETDEVCAPS : u32 = 2059u32 ; pub const MCI_GETDEVCAPS_CAN_EJECT : i32 = 7i32 ; pub const MCI_GETDEVCAPS_CAN_PLAY : i32 = 8i32 ; pub const MCI_GETDEVCAPS_CAN_RECORD : i32 = 1i32 ; pub const MCI_GETDEVCAPS_CAN_SAVE : i32 = 9i32 ; pub const MCI_GETDEVCAPS_COMPOUND_DEVICE : i32 = 6i32 ; pub const MCI_GETDEVCAPS_DEVICE_TYPE : i32 = 4i32 ; pub const MCI_GETDEVCAPS_HAS_AUDIO : i32 = 2i32 ; pub const MCI_GETDEVCAPS_HAS_VIDEO : i32 = 3i32 ; pub const MCI_GETDEVCAPS_ITEM : i32 = 256i32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 1 ) ) ] pub struct MCI_GETDEVCAPS_PARMS { pub dwCallback : usize , pub dwReturn : u32 , pub dwItem : u32 } impl MCI_GETDEVCAPS_PARMS { } impl :: std :: cmp :: PartialEq for MCI_GETDEVCAPS_PARMS { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for MCI_GETDEVCAPS_PARMS { } unsafe impl :: windows :: Abi for MCI_GETDEVCAPS_PARMS { type Abi = Self ; type DefaultType = Self ; } pub const MCI_GETDEVCAPS_USES_FILES : i32 = 5i32 ; pub const MCI_INFO : u32 = 2058u32 ; pub const MCI_INFO_COPYRIGHT : i32 = 8192i32 ; pub const MCI_INFO_FILE : i32 = 512i32 ; pub const MCI_INFO_MEDIA_IDENTITY : i32 = 2048i32 ; pub const MCI_INFO_MEDIA_UPC : i32 = 1024i32 ; pub const MCI_INFO_NAME : i32 = 4096i32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 1 ) ) ] pub struct MCI_INFO_PARMSA { pub dwCallback : usize , pub lpstrReturn : super::super::super::Foundation:: PSTR , pub dwRetSize : u32 } impl MCI_INFO_PARMSA { } impl :: std :: cmp :: PartialEq for MCI_INFO_PARMSA { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for MCI_INFO_PARMSA { } unsafe impl :: windows :: Abi for MCI_INFO_PARMSA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 1 ) ) ] pub struct MCI_INFO_PARMSW { pub dwCallback : usize , pub lpstrReturn : super::super::super::Foundation:: PWSTR , pub dwRetSize : u32 } impl MCI_INFO_PARMSW { } impl :: std :: cmp :: PartialEq for MCI_INFO_PARMSW { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for MCI_INFO_PARMSW { } unsafe impl :: windows :: Abi for MCI_INFO_PARMSW { type Abi = Self ; type DefaultType = Self ; } pub const MCI_INFO_PRODUCT : i32 = 256i32 ; pub const MCI_LAST : u32 = 4095u32 ; pub const MCI_LOAD : u32 = 2128u32 ; pub const MCI_LOAD_FILE : i32 = 256i32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 1 ) ) ] pub struct MCI_LOAD_PARMSA { pub dwCallback : usize , pub lpfilename : super::super::super::Foundation:: PSTR } impl MCI_LOAD_PARMSA { } impl :: std :: cmp :: PartialEq for MCI_LOAD_PARMSA { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for MCI_LOAD_PARMSA { } unsafe impl :: windows :: Abi for MCI_LOAD_PARMSA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 1 ) ) ] pub struct MCI_LOAD_PARMSW { pub dwCallback : usize , pub lpfilename : super::super::super::Foundation:: PWSTR } impl MCI_LOAD_PARMSW { } impl :: std :: cmp :: PartialEq for MCI_LOAD_PARMSW { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for MCI_LOAD_PARMSW { } unsafe impl :: windows :: Abi for MCI_LOAD_PARMSW { type Abi = Self ; type DefaultType = Self ; } pub const MCI_MODE_NOT_READY : u32 = 524u32 ; pub const MCI_MODE_OPEN : u32 = 530u32 ; pub const MCI_MODE_PAUSE : u32 = 529u32 ; pub const MCI_MODE_PLAY : u32 = 526u32 ; pub const MCI_MODE_RECORD : u32 = 527u32 ; pub const MCI_MODE_SEEK : u32 = 528u32 ; pub const MCI_MODE_STOP : u32 = 525u32 ; pub const MCI_NOTIFY : i32 = 1i32 ; pub const MCI_NOTIFY_ABORTED : u32 = 4u32 ; pub const MCI_NOTIFY_FAILURE : u32 = 8u32 ; pub const MCI_NOTIFY_SUCCESSFUL : u32 = 1u32 ; pub const MCI_NOTIFY_SUPERSEDED : u32 = 2u32 ; pub const MCI_OPEN : u32 = 2051u32 ; pub const MCI_OPEN_ALIAS : i32 = 1024i32 ; pub const MCI_OPEN_ELEMENT : i32 = 512i32 ; pub const MCI_OPEN_ELEMENT_ID : i32 = 2048i32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 1 ) ) ] pub struct MCI_OPEN_PARMSA { pub dwCallback : usize , pub wDeviceID : u32 , pub lpstrDeviceType : super::super::super::Foundation:: PSTR , pub lpstrElementName : super::super::super::Foundation:: PSTR , pub lpstrAlias : super::super::super::Foundation:: PSTR } impl MCI_OPEN_PARMSA { } impl :: std :: cmp :: PartialEq for MCI_OPEN_PARMSA { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for MCI_OPEN_PARMSA { } unsafe impl :: windows :: Abi for MCI_OPEN_PARMSA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 1 ) ) ] pub struct MCI_OPEN_PARMSW { pub dwCallback : usize , pub wDeviceID : u32 , pub lpstrDeviceType : super::super::super::Foundation:: PWSTR , pub lpstrElementName : super::super::super::Foundation:: PWSTR , pub lpstrAlias : super::super::super::Foundation:: PWSTR } impl MCI_OPEN_PARMSW { } impl :: std :: cmp :: PartialEq for MCI_OPEN_PARMSW { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for MCI_OPEN_PARMSW { } unsafe impl :: windows :: Abi for MCI_OPEN_PARMSW { type Abi = Self ; type DefaultType = Self ; } pub const MCI_OPEN_SHAREABLE : i32 = 256i32 ; pub const MCI_OPEN_TYPE : i32 = 8192i32 ; pub const MCI_OPEN_TYPE_ID : i32 = 4096i32 ; pub const MCI_OVLY_GETDEVCAPS_CAN_FREEZE : i32 = 16386i32 ; pub const MCI_OVLY_GETDEVCAPS_CAN_STRETCH : i32 = 16385i32 ; pub const MCI_OVLY_GETDEVCAPS_MAX_WINDOWS : i32 = 16387i32 ; pub const MCI_OVLY_INFO_TEXT : i32 = 65536i32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 1 ) ) ] pub struct MCI_OVLY_LOAD_PARMSA { pub dwCallback : usize , pub lpfilename : super::super::super::Foundation:: PSTR , pub rc : super::super::super::Foundation:: RECT } impl MCI_OVLY_LOAD_PARMSA { } impl :: std :: cmp :: PartialEq for MCI_OVLY_LOAD_PARMSA { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for MCI_OVLY_LOAD_PARMSA { } unsafe impl :: windows :: Abi for MCI_OVLY_LOAD_PARMSA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 1 ) ) ] pub struct MCI_OVLY_LOAD_PARMSW { pub dwCallback : usize , pub lpfilename : super::super::super::Foundation:: PWSTR , pub rc : super::super::super::Foundation:: RECT } impl MCI_OVLY_LOAD_PARMSW { } impl :: std :: cmp :: PartialEq for MCI_OVLY_LOAD_PARMSW { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for MCI_OVLY_LOAD_PARMSW { } unsafe impl :: windows :: Abi for MCI_OVLY_LOAD_PARMSW { type Abi = Self ; type DefaultType = Self ; } pub const MCI_OVLY_OPEN_PARENT : i32 = 131072i32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 1 ) ) ] pub struct MCI_OVLY_OPEN_PARMSA { pub dwCallback : usize , pub wDeviceID : u32 , pub lpstrDeviceType : super::super::super::Foundation:: PSTR , pub lpstrElementName : super::super::super::Foundation:: PSTR , pub lpstrAlias : super::super::super::Foundation:: PSTR , pub dwStyle : u32 , pub hWndParent : super::super::super::Foundation:: HWND } impl MCI_OVLY_OPEN_PARMSA { } impl :: std :: cmp :: PartialEq for MCI_OVLY_OPEN_PARMSA { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for MCI_OVLY_OPEN_PARMSA { } unsafe impl :: windows :: Abi for MCI_OVLY_OPEN_PARMSA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 1 ) ) ] pub struct MCI_OVLY_OPEN_PARMSW { pub dwCallback : usize , pub wDeviceID : u32 , pub lpstrDeviceType : super::super::super::Foundation:: PWSTR , pub lpstrElementName : super::super::super::Foundation:: PWSTR , pub lpstrAlias : super::super::super::Foundation:: PWSTR , pub dwStyle : u32 , pub hWndParent : super::super::super::Foundation:: HWND } impl MCI_OVLY_OPEN_PARMSW { } impl :: std :: cmp :: PartialEq for MCI_OVLY_OPEN_PARMSW { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for MCI_OVLY_OPEN_PARMSW { } unsafe impl :: windows :: Abi for MCI_OVLY_OPEN_PARMSW { type Abi = Self ; type DefaultType = Self ; } pub const MCI_OVLY_OPEN_WS : i32 = 65536i32 ; pub const MCI_OVLY_PUT_DESTINATION : i32 = 262144i32 ; pub const MCI_OVLY_PUT_FRAME : i32 = 524288i32 ; pub const MCI_OVLY_PUT_SOURCE : i32 = 131072i32 ; pub const MCI_OVLY_PUT_VIDEO : i32 = 1048576i32 ; pub const MCI_OVLY_RECT : i32 = 65536i32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 1 ) ) ] pub struct MCI_OVLY_RECT_PARMS { pub dwCallback : usize , pub rc : super::super::super::Foundation:: RECT } impl MCI_OVLY_RECT_PARMS { } impl :: std :: cmp :: PartialEq for MCI_OVLY_RECT_PARMS { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for MCI_OVLY_RECT_PARMS { } unsafe impl :: windows :: Abi for MCI_OVLY_RECT_PARMS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 1 ) ) ] pub struct MCI_OVLY_SAVE_PARMSA { pub dwCallback : usize , pub lpfilename : super::super::super::Foundation:: PSTR , pub rc : super::super::super::Foundation:: RECT } impl MCI_OVLY_SAVE_PARMSA { } impl :: std :: cmp :: PartialEq for MCI_OVLY_SAVE_PARMSA { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for MCI_OVLY_SAVE_PARMSA { } unsafe impl :: windows :: Abi for MCI_OVLY_SAVE_PARMSA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 1 ) ) ] pub struct MCI_OVLY_SAVE_PARMSW { pub dwCallback : usize , pub lpfilename : super::super::super::Foundation:: PWSTR , pub rc : super::super::super::Foundation:: RECT } impl MCI_OVLY_SAVE_PARMSW { } impl :: std :: cmp :: PartialEq for MCI_OVLY_SAVE_PARMSW { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for MCI_OVLY_SAVE_PARMSW { } unsafe impl :: windows :: Abi for MCI_OVLY_SAVE_PARMSW { type Abi = Self ; type DefaultType = Self ; } pub const MCI_OVLY_STATUS_HWND : i32 = 16385i32 ; pub const MCI_OVLY_STATUS_STRETCH : i32 = 16386i32 ; pub const MCI_OVLY_WHERE_DESTINATION : i32 = 262144i32 ; pub const MCI_OVLY_WHERE_FRAME : i32 = 524288i32 ; pub const MCI_OVLY_WHERE_SOURCE : i32 = 131072i32 ; pub const MCI_OVLY_WHERE_VIDEO : i32 = 1048576i32 ; pub const MCI_OVLY_WINDOW_DEFAULT : i32 = 0i32 ; pub const MCI_OVLY_WINDOW_DISABLE_STRETCH : i32 = 2097152i32 ; pub const MCI_OVLY_WINDOW_ENABLE_STRETCH : i32 = 1048576i32 ; pub const MCI_OVLY_WINDOW_HWND : i32 = 65536i32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 1 ) ) ] pub struct MCI_OVLY_WINDOW_PARMSA { pub dwCallback : usize , pub hWnd : super::super::super::Foundation:: HWND , pub nCmdShow : u32 , pub lpstrText : super::super::super::Foundation:: PSTR } impl MCI_OVLY_WINDOW_PARMSA { } impl :: std :: cmp :: PartialEq for MCI_OVLY_WINDOW_PARMSA { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for MCI_OVLY_WINDOW_PARMSA { } unsafe impl :: windows :: Abi for MCI_OVLY_WINDOW_PARMSA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 1 ) ) ] pub struct MCI_OVLY_WINDOW_PARMSW { pub dwCallback : usize , pub hWnd : super::super::super::Foundation:: HWND , pub nCmdShow : u32 , pub lpstrText : super::super::super::Foundation:: PWSTR } impl MCI_OVLY_WINDOW_PARMSW { } impl :: std :: cmp :: PartialEq for MCI_OVLY_WINDOW_PARMSW { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for MCI_OVLY_WINDOW_PARMSW { } unsafe impl :: windows :: Abi for MCI_OVLY_WINDOW_PARMSW { type Abi = Self ; type DefaultType = Self ; } pub const MCI_OVLY_WINDOW_STATE : i32 = 262144i32 ; pub const MCI_OVLY_WINDOW_TEXT : i32 = 524288i32 ; pub const MCI_PASTE : u32 = 2131u32 ; pub const MCI_PAUSE : u32 = 2057u32 ; pub const MCI_PLAY : u32 = 2054u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 1 ) ) ] pub struct MCI_PLAY_PARMS { pub dwCallback : usize , pub dwFrom : u32 , pub dwTo : u32 } impl MCI_PLAY_PARMS { } impl :: std :: cmp :: PartialEq for MCI_PLAY_PARMS { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for MCI_PLAY_PARMS { } unsafe impl :: windows :: Abi for MCI_PLAY_PARMS { type Abi = Self ; type DefaultType = Self ; } pub const MCI_PUT : u32 = 2114u32 ; pub const MCI_REALIZE : u32 = 2112u32 ; pub const MCI_RECORD : u32 = 2063u32 ; pub const MCI_RECORD_INSERT : i32 = 256i32 ; pub const MCI_RECORD_OVERWRITE : i32 = 512i32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 1 ) ) ] pub struct MCI_RECORD_PARMS { pub dwCallback : usize , pub dwFrom : u32 , pub dwTo : u32 } impl MCI_RECORD_PARMS { } impl :: std :: cmp :: PartialEq for MCI_RECORD_PARMS { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for MCI_RECORD_PARMS { } unsafe impl :: windows :: Abi for MCI_RECORD_PARMS { type Abi = Self ; type DefaultType = Self ; } pub const MCI_RESUME : u32 = 2133u32 ; pub const MCI_SAVE : u32 = 2067u32 ; pub const MCI_SAVE_FILE : i32 = 256i32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 1 ) ) ] pub struct MCI_SAVE_PARMSA { pub dwCallback : usize , pub lpfilename : super::super::super::Foundation:: PSTR } impl MCI_SAVE_PARMSA { } impl :: std :: cmp :: PartialEq for MCI_SAVE_PARMSA { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for MCI_SAVE_PARMSA { } unsafe impl :: windows :: Abi for MCI_SAVE_PARMSA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 1 ) ) ] pub struct MCI_SAVE_PARMSW { pub dwCallback : usize , pub lpfilename : super::super::super::Foundation:: PWSTR } impl MCI_SAVE_PARMSW { } impl :: std :: cmp :: PartialEq for MCI_SAVE_PARMSW { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for MCI_SAVE_PARMSW { } unsafe impl :: windows :: Abi for MCI_SAVE_PARMSW { type Abi = Self ; type DefaultType = Self ; } pub const MCI_SEEK : u32 = 2055u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 1 ) ) ] pub struct MCI_SEEK_PARMS { pub dwCallback : usize , pub dwTo : u32 } impl MCI_SEEK_PARMS { } impl :: std :: cmp :: PartialEq for MCI_SEEK_PARMS { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for MCI_SEEK_PARMS { } unsafe impl :: windows :: Abi for MCI_SEEK_PARMS { type Abi = Self ; type DefaultType = Self ; } pub const MCI_SEEK_TO_END : i32 = 512i32 ; pub const MCI_SEEK_TO_START : i32 = 256i32 ; pub const MCI_SEQ_FILE : u32 = 16386u32 ; pub const MCI_SEQ_FORMAT_SONGPTR : u32 = 16385u32 ; pub const MCI_SEQ_MAPPER : u32 = 65535u32 ; pub const MCI_SEQ_MIDI : u32 = 16387u32 ; pub const MCI_SEQ_NONE : u32 = 65533u32 ; pub const MCI_SEQ_SET_MASTER : i32 = 524288i32 ; pub const MCI_SEQ_SET_OFFSET : i32 = 16777216i32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 1 ) ) ] pub struct MCI_SEQ_SET_PARMS { pub dwCallback : usize , pub dwTimeFormat : u32 , pub dwAudio : u32 , pub dwTempo : u32 , pub dwPort : u32 , pub dwSlave : u32 , pub dwMaster : u32 , pub dwOffset : u32 } impl MCI_SEQ_SET_PARMS { } impl :: std :: cmp :: PartialEq for MCI_SEQ_SET_PARMS { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for MCI_SEQ_SET_PARMS { } unsafe impl :: windows :: Abi for MCI_SEQ_SET_PARMS { type Abi = Self ; type DefaultType = Self ; } pub const MCI_SEQ_SET_PORT : i32 = 131072i32 ; pub const MCI_SEQ_SET_SLAVE : i32 = 262144i32 ; pub const MCI_SEQ_SET_TEMPO : i32 = 65536i32 ; pub const MCI_SEQ_SMPTE : u32 = 16388u32 ; pub const MCI_SEQ_STATUS_COPYRIGHT : i32 = 16396i32 ; pub const MCI_SEQ_STATUS_DIVTYPE : i32 = 16394i32 ; pub const MCI_SEQ_STATUS_MASTER : i32 = 16392i32 ; pub const MCI_SEQ_STATUS_NAME : i32 = 16395i32 ; pub const MCI_SEQ_STATUS_OFFSET : i32 = 16393i32 ; pub const MCI_SEQ_STATUS_PORT : i32 = 16387i32 ; pub const MCI_SEQ_STATUS_SLAVE : i32 = 16391i32 ; pub const MCI_SEQ_STATUS_TEMPO : i32 = 16386i32 ; pub const MCI_SET : u32 = 2061u32 ; pub const MCI_SET_AUDIO : i32 = 2048i32 ; pub const MCI_SET_AUDIO_ALL : i32 = 0i32 ; pub const MCI_SET_AUDIO_LEFT : i32 = 1i32 ; pub const MCI_SET_AUDIO_RIGHT : i32 = 2i32 ; pub const MCI_SET_DOOR_CLOSED : i32 = 512i32 ; pub const MCI_SET_DOOR_OPEN : i32 = 256i32 ; pub const MCI_SET_OFF : i32 = 16384i32 ; pub const MCI_SET_ON : i32 = 8192i32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 1 ) ) ] pub struct MCI_SET_PARMS { pub dwCallback : usize , pub dwTimeFormat : u32 , pub dwAudio : u32 } impl MCI_SET_PARMS { } impl :: std :: cmp :: PartialEq for MCI_SET_PARMS { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for MCI_SET_PARMS { } unsafe impl :: windows :: Abi for MCI_SET_PARMS { type Abi = Self ; type DefaultType = Self ; } pub const MCI_SET_TIME_FORMAT : i32 = 1024i32 ; pub const MCI_SET_VIDEO : i32 = 4096i32 ; pub const MCI_SPIN : u32 = 2060u32 ; pub const MCI_STATUS : u32 = 2068u32 ; pub const MCI_STATUS_CURRENT_TRACK : i32 = 8i32 ; pub const MCI_STATUS_ITEM : i32 = 256i32 ; pub const MCI_STATUS_LENGTH : i32 = 1i32 ; pub const MCI_STATUS_MEDIA_PRESENT : i32 = 5i32 ; pub const MCI_STATUS_MODE : i32 = 4i32 ; pub const MCI_STATUS_NUMBER_OF_TRACKS : i32 = 3i32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 1 ) ) ] pub struct MCI_STATUS_PARMS { pub dwCallback : usize , pub dwReturn : usize , pub dwItem : u32 , pub dwTrack : u32 } impl MCI_STATUS_PARMS { } impl :: std :: cmp :: PartialEq for MCI_STATUS_PARMS { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for MCI_STATUS_PARMS { } unsafe impl :: windows :: Abi for MCI_STATUS_PARMS { type Abi = Self ; type DefaultType = Self ; } pub const MCI_STATUS_POSITION : i32 = 2i32 ; pub const MCI_STATUS_READY : i32 = 7i32 ; pub const MCI_STATUS_START : i32 = 512i32 ; pub const MCI_STATUS_TIME_FORMAT : i32 = 6i32 ; pub const MCI_STEP : u32 = 2062u32 ; pub const MCI_STOP : u32 = 2056u32 ; pub const MCI_SYSINFO : u32 = 2064u32 ; pub const MCI_SYSINFO_INSTALLNAME : i32 = 2048i32 ; pub const MCI_SYSINFO_NAME : i32 = 1024i32 ; pub const MCI_SYSINFO_OPEN : i32 = 512i32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 1 ) ) ] pub struct MCI_SYSINFO_PARMSA { pub dwCallback : usize , pub lpstrReturn : super::super::super::Foundation:: PSTR , pub dwRetSize : u32 , pub dwNumber : u32 , pub wDeviceType : u32 } impl MCI_SYSINFO_PARMSA { } impl :: std :: cmp :: PartialEq for MCI_SYSINFO_PARMSA { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for MCI_SYSINFO_PARMSA { } unsafe impl :: windows :: Abi for MCI_SYSINFO_PARMSA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 1 ) ) ] pub struct MCI_SYSINFO_PARMSW { pub dwCallback : usize , pub lpstrReturn : super::super::super::Foundation:: PWSTR , pub dwRetSize : u32 , pub dwNumber : u32 , pub wDeviceType : u32 } impl MCI_SYSINFO_PARMSW { } impl :: std :: cmp :: PartialEq for MCI_SYSINFO_PARMSW { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for MCI_SYSINFO_PARMSW { } unsafe impl :: windows :: Abi for MCI_SYSINFO_PARMSW { type Abi = Self ; type DefaultType = Self ; } pub const MCI_SYSINFO_QUANTITY : i32 = 256i32 ; pub const MCI_TO : i32 = 8i32 ; pub const MCI_TRACK : i32 = 16i32 ; pub const MCI_UNFREEZE : u32 = 2117u32 ; pub const MCI_UPDATE : u32 = 2132u32 ; pub const MCI_USER_MESSAGES : u32 = 3072u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 1 ) ) ] pub struct MCI_VD_ESCAPE_PARMSA { pub dwCallback : usize , pub lpstrCommand : super::super::super::Foundation:: PSTR } impl MCI_VD_ESCAPE_PARMSA { } impl :: std :: cmp :: PartialEq for MCI_VD_ESCAPE_PARMSA { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for MCI_VD_ESCAPE_PARMSA { } unsafe impl :: windows :: Abi for MCI_VD_ESCAPE_PARMSA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 1 ) ) ] pub struct MCI_VD_ESCAPE_PARMSW { pub dwCallback : usize , pub lpstrCommand : super::super::super::Foundation:: PWSTR } impl MCI_VD_ESCAPE_PARMSW { } impl :: std :: cmp :: PartialEq for MCI_VD_ESCAPE_PARMSW { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for MCI_VD_ESCAPE_PARMSW { } unsafe impl :: windows :: Abi for MCI_VD_ESCAPE_PARMSW { type Abi = Self ; type DefaultType = Self ; } pub const MCI_VD_ESCAPE_STRING : i32 = 256i32 ; pub const MCI_VD_FORMAT_TRACK : u32 = 16385u32 ; pub const MCI_VD_GETDEVCAPS_CAN_REVERSE : i32 = 16386i32 ; pub const MCI_VD_GETDEVCAPS_CAV : i32 = 131072i32 ; pub const MCI_VD_GETDEVCAPS_CLV : i32 = 65536i32 ; pub const MCI_VD_GETDEVCAPS_FAST_RATE : i32 = 16387i32 ; pub const MCI_VD_GETDEVCAPS_NORMAL_RATE : i32 = 16389i32 ; pub const MCI_VD_GETDEVCAPS_SLOW_RATE : i32 = 16388i32 ; pub const MCI_VD_MEDIA_CAV : u32 = 1027u32 ; pub const MCI_VD_MEDIA_CLV : u32 = 1026u32 ; pub const MCI_VD_MEDIA_OTHER : u32 = 1028u32 ; pub const MCI_VD_MODE_PARK : u32 = 1025u32 ; pub const MCI_VD_PLAY_FAST : i32 = 131072i32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 1 ) ) ] pub struct MCI_VD_PLAY_PARMS { pub dwCallback : usize , pub dwFrom : u32 , pub dwTo : u32 , pub dwSpeed : u32 } impl MCI_VD_PLAY_PARMS { } impl :: std :: cmp :: PartialEq for MCI_VD_PLAY_PARMS { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for MCI_VD_PLAY_PARMS { } unsafe impl :: windows :: Abi for MCI_VD_PLAY_PARMS { type Abi = Self ; type DefaultType = Self ; } pub const MCI_VD_PLAY_REVERSE : i32 = 65536i32 ; pub const MCI_VD_PLAY_SCAN : i32 = 524288i32 ; pub const MCI_VD_PLAY_SLOW : i32 = 1048576i32 ; pub const MCI_VD_PLAY_SPEED : i32 = 262144i32 ; pub const MCI_VD_SEEK_REVERSE : i32 = 65536i32 ; pub const MCI_VD_SPIN_DOWN : i32 = 131072i32 ; pub const MCI_VD_SPIN_UP : i32 = 65536i32 ; pub const MCI_VD_STATUS_DISC_SIZE : i32 = 16390i32 ; pub const MCI_VD_STATUS_FORWARD : i32 = 16387i32 ; pub const MCI_VD_STATUS_MEDIA_TYPE : i32 = 16388i32 ; pub const MCI_VD_STATUS_SIDE : i32 = 16389i32 ; pub const MCI_VD_STATUS_SPEED : i32 = 16386i32 ; pub const MCI_VD_STEP_FRAMES : i32 = 65536i32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 1 ) ) ] pub struct MCI_VD_STEP_PARMS { pub dwCallback : usize , pub dwFrames : u32 } impl MCI_VD_STEP_PARMS { } impl :: std :: cmp :: PartialEq for MCI_VD_STEP_PARMS { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for MCI_VD_STEP_PARMS { } unsafe impl :: windows :: Abi for MCI_VD_STEP_PARMS { type Abi = Self ; type DefaultType = Self ; } pub const MCI_VD_STEP_REVERSE : i32 = 131072i32 ; pub const MCI_WAIT : i32 = 2i32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 1 ) ) ] pub struct MCI_WAVE_DELETE_PARMS { pub dwCallback : usize , pub dwFrom : u32 , pub dwTo : u32 } impl MCI_WAVE_DELETE_PARMS { } impl :: std :: cmp :: PartialEq for MCI_WAVE_DELETE_PARMS { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for MCI_WAVE_DELETE_PARMS { } unsafe impl :: windows :: Abi for MCI_WAVE_DELETE_PARMS { type Abi = Self ; type DefaultType = Self ; } pub const MCI_WAVE_GETDEVCAPS_INPUTS : i32 = 16385i32 ; pub const MCI_WAVE_GETDEVCAPS_OUTPUTS : i32 = 16386i32 ; pub const MCI_WAVE_INPUT : i32 = 4194304i32 ; pub const MCI_WAVE_MAPPER : u32 = 1153u32 ; pub const MCI_WAVE_OPEN_BUFFER : i32 = 65536i32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 1 ) ) ] pub struct MCI_WAVE_OPEN_PARMSA { pub dwCallback : usize , pub wDeviceID : u32 , pub lpstrDeviceType : super::super::super::Foundation:: PSTR , pub lpstrElementName : super::super::super::Foundation:: PSTR , pub lpstrAlias : super::super::super::Foundation:: PSTR , pub dwBufferSeconds : u32 } impl MCI_WAVE_OPEN_PARMSA { } impl :: std :: cmp :: PartialEq for MCI_WAVE_OPEN_PARMSA { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for MCI_WAVE_OPEN_PARMSA { } unsafe impl :: windows :: Abi for MCI_WAVE_OPEN_PARMSA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 1 ) ) ] pub struct MCI_WAVE_OPEN_PARMSW { pub dwCallback : usize , pub wDeviceID : u32 , pub lpstrDeviceType : super::super::super::Foundation:: PWSTR , pub lpstrElementName : super::super::super::Foundation:: PWSTR , pub lpstrAlias : super::super::super::Foundation:: PWSTR , pub dwBufferSeconds : u32 } impl MCI_WAVE_OPEN_PARMSW { } impl :: std :: cmp :: PartialEq for MCI_WAVE_OPEN_PARMSW { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for MCI_WAVE_OPEN_PARMSW { } unsafe impl :: windows :: Abi for MCI_WAVE_OPEN_PARMSW { type Abi = Self ; type DefaultType = Self ; } pub const MCI_WAVE_OUTPUT : i32 = 8388608i32 ; pub const MCI_WAVE_PCM : u32 = 1152u32 ; pub const MCI_WAVE_SET_ANYINPUT : i32 = 67108864i32 ; pub const MCI_WAVE_SET_ANYOUTPUT : i32 = 134217728i32 ; pub const MCI_WAVE_SET_AVGBYTESPERSEC : i32 = 524288i32 ; pub const MCI_WAVE_SET_BITSPERSAMPLE : i32 = 2097152i32 ; pub const MCI_WAVE_SET_BLOCKALIGN : i32 = 1048576i32 ; pub const MCI_WAVE_SET_CHANNELS : i32 = 131072i32 ; pub const MCI_WAVE_SET_FORMATTAG : i32 = 65536i32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 1 ) ) ] pub struct MCI_WAVE_SET_PARMS { pub dwCallback : usize , pub dwTimeFormat : u32 , pub dwAudio : u32 , pub wInput : u32 , pub wOutput : u32 , pub wFormatTag : u16 , pub wReserved2 : u16 , pub nChannels : u16 , pub wReserved3 : u16 , pub nSamplesPerSec : u32 , pub nAvgBytesPerSec : u32 , pub nBlockAlign : u16 , pub wReserved4 : u16 , pub wBitsPerSample : u16 , pub wReserved5 : u16 } impl MCI_WAVE_SET_PARMS { } impl :: std :: cmp :: PartialEq for MCI_WAVE_SET_PARMS { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for MCI_WAVE_SET_PARMS { } unsafe impl :: windows :: Abi for MCI_WAVE_SET_PARMS { type Abi = Self ; type DefaultType = Self ; } pub const MCI_WAVE_SET_SAMPLESPERSEC : i32 = 262144i32 ; pub const MCI_WAVE_STATUS_AVGBYTESPERSEC : i32 = 16388i32 ; pub const MCI_WAVE_STATUS_BITSPERSAMPLE : i32 = 16390i32 ; pub const MCI_WAVE_STATUS_BLOCKALIGN : i32 = 16389i32 ; pub const MCI_WAVE_STATUS_CHANNELS : i32 = 16386i32 ; pub const MCI_WAVE_STATUS_FORMATTAG : i32 = 16385i32 ; pub const MCI_WAVE_STATUS_LEVEL : i32 = 16391i32 ; pub const MCI_WAVE_STATUS_SAMPLESPERSEC : i32 = 16387i32 ; pub const MCI_WHERE : u32 = 2115u32 ; pub const MCI_WINDOW : u32 = 2113u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct MEDIUM_INFO { pub MediaPresent : super::super::super::Foundation:: BOOL , pub MediaType : u32 , pub RecordInhibit : super::super::super::Foundation:: BOOL } impl MEDIUM_INFO { } impl :: std :: default :: Default for MEDIUM_INFO { fn default ( ) -> Self { Self { MediaPresent : :: std :: default :: Default :: default ( ) , MediaType : 0 , RecordInhibit : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for MEDIUM_INFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "MEDIUM_INFO" ) . field ( "MediaPresent" , & self . MediaPresent ) . field ( "MediaType" , & self . MediaType ) . field ( "RecordInhibit" , & self . RecordInhibit ) . finish ( ) } } impl :: std :: cmp :: PartialEq for MEDIUM_INFO { fn eq ( & self , other : & Self ) -> bool { self . MediaPresent == other . MediaPresent && self . MediaType == other . MediaType && self . RecordInhibit == other . RecordInhibit } } impl :: std :: cmp :: Eq for MEDIUM_INFO { } unsafe impl :: windows :: Abi for MEDIUM_INFO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union MF_MDL_SHARED_PAYLOAD_KEY { pub combined : MF_MDL_SHARED_PAYLOAD_KEY_0 , pub GMDLHandle : :: windows :: Guid } impl MF_MDL_SHARED_PAYLOAD_KEY { } impl :: std :: cmp :: PartialEq for MF_MDL_SHARED_PAYLOAD_KEY { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for MF_MDL_SHARED_PAYLOAD_KEY { } unsafe impl :: windows :: Abi for MF_MDL_SHARED_PAYLOAD_KEY { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct MF_MDL_SHARED_PAYLOAD_KEY_0 { pub pHandle : u32 , pub fHandle : u32 , pub uPayload : u64 } impl MF_MDL_SHARED_PAYLOAD_KEY_0 { } impl :: std :: default :: Default for MF_MDL_SHARED_PAYLOAD_KEY_0 { fn default ( ) -> Self { Self { pHandle : 0 , fHandle : 0 , uPayload : 0 } } } impl :: std :: fmt :: Debug for MF_MDL_SHARED_PAYLOAD_KEY_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_combined_e__Struct" ) . field ( "pHandle" , & self . pHandle ) . field ( "fHandle" , & self . fHandle ) . field ( "uPayload" , & self . uPayload ) . finish ( ) } } impl :: std :: cmp :: PartialEq for MF_MDL_SHARED_PAYLOAD_KEY_0 { fn eq ( & self , other : & Self ) -> bool { self . pHandle == other . pHandle && self . fHandle == other . fHandle && self . uPayload == other . uPayload } } impl :: std :: cmp :: Eq for MF_MDL_SHARED_PAYLOAD_KEY_0 { } unsafe impl :: windows :: Abi for MF_MDL_SHARED_PAYLOAD_KEY_0 { type Abi = Self ; type DefaultType = Self ; } pub const MIN_DEV_VER_FOR_FLAGS : u32 = 272u32 ; pub const MIN_DEV_VER_FOR_QI : u32 = 256u32 ; pub const MMDeviceEnumerator : :: windows :: Guid = :: windows :: Guid :: from_values ( 3168666517 ,58671 ,18044 , [ 142 ,61 ,196 ,87 ,146 ,145 ,105 ,46 ] , ) ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct NABTSFEC_BUFFER { pub dataSize : u32 , pub groupID : u16 , pub Reserved : u16 , pub data : [ u8 ;448 ] } impl NABTSFEC_BUFFER { } impl :: std :: default :: Default for NABTSFEC_BUFFER { fn default ( ) -> Self { Self { dataSize : 0 , groupID : 0 , Reserved : 0 , data : [ 0 ;448 ] } } } impl :: std :: fmt :: Debug for NABTSFEC_BUFFER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "NABTSFEC_BUFFER" ) . field ( "dataSize" , & self . dataSize ) . field ( "groupID" , & self . groupID ) . field ( "Reserved" , & self . Reserved ) . field ( "data" , & self . data ) . finish ( ) } } impl :: std :: cmp :: PartialEq for NABTSFEC_BUFFER { fn eq ( & self , other : & Self ) -> bool { self . dataSize == other . dataSize && self . groupID == other . groupID && self . Reserved == other . Reserved && self . data == other . data } } impl :: std :: cmp :: Eq for NABTSFEC_BUFFER { } unsafe impl :: windows :: Abi for NABTSFEC_BUFFER { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 1 ) ) ] pub struct NABTS_BUFFER { pub ScanlinesRequested : VBICODECFILTERING_SCANLINES , pub PictureNumber : i64 , pub NabtsLines : [ NABTS_BUFFER_LINE ;11 ] } impl NABTS_BUFFER { } impl :: std :: cmp :: PartialEq for NABTS_BUFFER { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for NABTS_BUFFER { } unsafe impl :: windows :: Abi for NABTS_BUFFER { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct NABTS_BUFFER_LINE { pub Confidence : u8 , pub Bytes : [ u8 ;36 ] } impl NABTS_BUFFER_LINE { } impl :: std :: default :: Default for NABTS_BUFFER_LINE { fn default ( ) -> Self { Self { Confidence : 0 , Bytes : [ 0 ;36 ] } } } impl :: std :: fmt :: Debug for NABTS_BUFFER_LINE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "NABTS_BUFFER_LINE" ) . field ( "Confidence" , & self . Confidence ) . field ( "Bytes" , & self . Bytes ) . finish ( ) } } impl :: std :: cmp :: PartialEq for NABTS_BUFFER_LINE { fn eq ( & self , other : & Self ) -> bool { self . Confidence == other . Confidence && self . Bytes == other . Bytes } } impl :: std :: cmp :: Eq for NABTS_BUFFER_LINE { } unsafe impl :: windows :: Abi for NABTS_BUFFER_LINE { type Abi = Self ; type DefaultType = Self ; } pub const NABTS_BUFFER_PICTURENUMBER_SUPPORT : u32 = 1u32 ; pub const NABTS_BYTES_PER_LINE : u32 = 36u32 ; pub const NABTS_LINES_PER_BUNDLE : u32 = 16u32 ; pub const NABTS_PAYLOAD_PER_LINE : u32 = 28u32 ; pub const NANOSECONDS : u32 = 10000000u32 ; pub const PINNAME_DISPLAYPORT_OUT : :: windows :: Guid = :: windows :: Guid :: from_values ( 570143529 ,6730 ,18650 , [ 160 ,118 ,35 ,24 ,163 ,197 ,155 ,38 ] , ) ; pub const PINNAME_HDMI_OUT : :: windows :: Guid = :: windows :: Guid :: from_values ( 947649539 ,59375 ,18689 , [ 134 ,224 ,53 ,183 ,195 ,43 ,0 ,239 ] , ) ; pub const PINNAME_IMAGE : :: windows :: Guid = :: windows :: Guid :: from_values ( 950062488 ,54427 ,19688 , [ 180 ,138 ,52 ,70 ,103 ,161 ,120 ,48 ] , ) ; pub const PINNAME_SPDIF_IN : :: windows :: Guid = :: windows :: Guid :: from_values ( 366776357 ,8877 ,16819 , [ 136 ,117 ,244 ,206 ,176 ,41 ,158 ,32 ] , ) ; pub const PINNAME_SPDIF_OUT : :: windows :: Guid = :: windows :: Guid :: from_values ( 975586433 ,58668 ,19330 , [ 142 ,122 ,200 ,226 ,249 ,29 ,195 ,128 ] , ) ; pub const PINNAME_VIDEO_ANALOGVIDEOIN : :: windows :: Guid = :: windows :: Guid :: from_values ( 4218176131 ,851 ,4561 , [ 144 ,95 ,0 ,0 ,192 ,204 ,22 ,186 ] , ) ; pub const PINNAME_VIDEO_CAPTURE : :: windows :: Guid = :: windows :: Guid :: from_values ( 4218176129 ,851 ,4561 , [ 144 ,95 ,0 ,0 ,192 ,204 ,22 ,186 ] , ) ; pub const PINNAME_VIDEO_CC : :: windows :: Guid = :: windows :: Guid :: from_values ( 4218176137 ,851 ,4561 , [ 144 ,95 ,0 ,0 ,192 ,204 ,22 ,186 ] , ) ; pub const PINNAME_VIDEO_CC_CAPTURE : :: windows :: Guid = :: windows :: Guid :: from_values ( 447578209 ,301 ,4562 , [ 180 ,177 ,0 ,160 ,209 ,2 ,207 ,190 ] , ) ; pub const PINNAME_VIDEO_EDS : :: windows :: Guid = :: windows :: Guid :: from_values ( 4218176135 ,851 ,4561 , [ 144 ,95 ,0 ,0 ,192 ,204 ,22 ,186 ] , ) ; pub const PINNAME_VIDEO_NABTS : :: windows :: Guid = :: windows :: Guid :: from_values ( 4218176134 ,851 ,4561 , [ 144 ,95 ,0 ,0 ,192 ,204 ,22 ,186 ] , ) ; pub const PINNAME_VIDEO_NABTS_CAPTURE : :: windows :: Guid = :: windows :: Guid :: from_values ( 695219808 ,18826 ,4562 , [ 180 ,177 ,0 ,160 ,209 ,2 ,207 ,190 ] , ) ; pub const PINNAME_VIDEO_PREVIEW : :: windows :: Guid = :: windows :: Guid :: from_values ( 4218176130 ,851 ,4561 , [ 144 ,95 ,0 ,0 ,192 ,204 ,22 ,186 ] , ) ; pub const PINNAME_VIDEO_STILL : :: windows :: Guid = :: windows :: Guid :: from_values ( 4218176138 ,851 ,4561 , [ 144 ,95 ,0 ,0 ,192 ,204 ,22 ,186 ] , ) ; pub const PINNAME_VIDEO_TELETEXT : :: windows :: Guid = :: windows :: Guid :: from_values ( 4218176136 ,851 ,4561 , [ 144 ,95 ,0 ,0 ,192 ,204 ,22 ,186 ] , ) ; pub const PINNAME_VIDEO_TIMECODE : :: windows :: Guid = :: windows :: Guid :: from_values ( 4218176139 ,851 ,4561 , [ 144 ,95 ,0 ,0 ,192 ,204 ,22 ,186 ] , ) ; pub const PINNAME_VIDEO_VBI : :: windows :: Guid = :: windows :: Guid :: from_values ( 4218176132 ,851 ,4561 , [ 144 ,95 ,0 ,0 ,192 ,204 ,22 ,186 ] , ) ; pub const PINNAME_VIDEO_VIDEOPORT : :: windows :: Guid = :: windows :: Guid :: from_values ( 4218176133 ,851 ,4561 , [ 144 ,95 ,0 ,0 ,192 ,204 ,22 ,186 ] , ) ; pub const PINNAME_VIDEO_VIDEOPORT_VBI : :: windows :: Guid = :: windows :: Guid :: from_values ( 4218176140 ,851 ,4561 , [ 144 ,95 ,0 ,0 ,192 ,204 ,22 ,186 ] , ) ; pub const PROPSETID_ALLOCATOR_CONTROL : :: windows :: Guid = :: windows :: Guid :: from_values ( 1394022752 ,5262 ,4562 , [ 153 ,121 ,0 ,0 ,192 ,204 ,22 ,186 ] , ) ; pub const PROPSETID_EXT_DEVICE : :: windows :: Guid = :: windows :: Guid :: from_values ( 3044215440 ,6700 ,4559 , [ 140 ,35 ,0 ,170 ,0 ,107 ,104 ,20 ] , ) ; pub const PROPSETID_EXT_TRANSPORT : :: windows :: Guid = :: windows :: Guid :: from_values ( 2688341488 ,12357 ,4559 , [ 140 ,68 ,0 ,170 ,0 ,107 ,104 ,20 ] , ) ; pub const PROPSETID_TIMECODE_READER : :: windows :: Guid = :: windows :: Guid :: from_values ( 2605280481 ,33051 ,4559 , [ 140 ,119 ,0 ,170 ,0 ,107 ,104 ,20 ] , ) ; pub const PROPSETID_TUNER : :: windows :: Guid = :: windows :: Guid :: from_values ( 1781401093 ,10468 ,4560 , [ 161 ,140 ,0 ,160 ,201 ,17 ,137 ,86 ] , ) ; pub const PROPSETID_VIDCAP_CAMERACONTROL : :: windows :: Guid = :: windows :: Guid :: from_values ( 3336647536 ,12460 ,4560 , [ 161 ,140 ,0 ,160 ,201 ,17 ,137 ,86 ] , ) ; pub const PROPSETID_VIDCAP_CAMERACONTROL_FLASH : :: windows :: Guid = :: windows :: Guid :: from_values ( 2019462985 ,25506 ,16708 , [ 171 ,112 ,255 ,178 ,120 ,250 ,38 ,206 ] , ) ; pub const PROPSETID_VIDCAP_CAMERACONTROL_IMAGE_PIN_CAPABILITY : :: windows :: Guid = :: windows :: Guid :: from_values ( 2638052287 ,23661 ,16696 , [ 187 ,0 ,88 ,78 ,221 ,32 ,247 ,197 ] , ) ; pub const PROPSETID_VIDCAP_CAMERACONTROL_REGION_OF_INTEREST : :: windows :: Guid = :: windows :: Guid :: from_values ( 2635256216 ,63596 ,20461 , [ 176 ,35 ,93 ,135 ,101 ,61 ,167 ,147 ] , ) ; pub const PROPSETID_VIDCAP_CAMERACONTROL_VIDEO_STABILIZATION : :: windows :: Guid = :: windows :: Guid :: from_values ( 1133923283 ,30486 ,16462 , [ 139 ,225 ,210 ,153 ,178 ,14 ,80 ,253 ] , ) ; pub const PROPSETID_VIDCAP_CROSSBAR : :: windows :: Guid = :: windows :: Guid :: from_values ( 1781401152 ,10468 ,4560 , [ 161 ,140 ,0 ,160 ,201 ,17 ,137 ,86 ] , ) ; pub const PROPSETID_VIDCAP_DROPPEDFRAMES : :: windows :: Guid = :: windows :: Guid :: from_values ( 3336647492 ,12460 ,4560 , [ 161 ,140 ,0 ,160 ,201 ,17 ,137 ,86 ] , ) ; pub const PROPSETID_VIDCAP_SELECTOR : :: windows :: Guid = :: windows :: Guid :: from_values ( 448638666 ,26806 ,20355 , [ 147 ,113 ,180 ,19 ,144 ,124 ,123 ,159 ] , ) ; pub const PROPSETID_VIDCAP_TVAUDIO : :: windows :: Guid = :: windows :: Guid :: from_values ( 1781401168 ,10468 ,4560 , [ 161 ,140 ,0 ,160 ,201 ,17 ,137 ,86 ] , ) ; pub const PROPSETID_VIDCAP_VIDEOCOMPRESSION : :: windows :: Guid = :: windows :: Guid :: from_values ( 3336647491 ,12460 ,4560 , [ 161 ,140 ,0 ,160 ,201 ,17 ,137 ,86 ] , ) ; pub const PROPSETID_VIDCAP_VIDEOCONTROL : :: windows :: Guid = :: windows :: Guid :: from_values ( 1781401200 ,10468 ,4560 , [ 161 ,140 ,0 ,160 ,201 ,17 ,137 ,86 ] , ) ; pub const PROPSETID_VIDCAP_VIDEODECODER : :: windows :: Guid = :: windows :: Guid :: from_values ( 3336647504 ,12460 ,4560 , [ 161 ,140 ,0 ,160 ,201 ,17 ,137 ,86 ] , ) ; pub const PROPSETID_VIDCAP_VIDEOENCODER : :: windows :: Guid = :: windows :: Guid :: from_values ( 1781401104 ,10468 ,4560 , [ 161 ,140 ,0 ,160 ,201 ,17 ,137 ,86 ] , ) ; pub const PROPSETID_VIDCAP_VIDEOPROCAMP : :: windows :: Guid = :: windows :: Guid :: from_values ( 3336647520 ,12460 ,4560 , [ 161 ,140 ,0 ,160 ,201 ,17 ,137 ,86 ] , ) ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct PartType ( pub i32 ) ; pub const Connector : PartType = PartType ( 0i32 ) ; pub const Subunit : PartType = PartType ( 1i32 ) ; impl :: std :: convert :: From < i32 > for PartType { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for PartType { type Abi = Self ; type DefaultType = Self ; } pub const RT_RCDATA : super::super::super::Foundation:: PWSTR = super::super::super::Foundation:: PWSTR ( 10i32 as _ ) ; pub const RT_STRING : super::super::super::Foundation:: PWSTR = super::super::super::Foundation:: PWSTR ( 6i32 as _ ) ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SECURE_BUFFER_INFO { pub guidBufferIdentifier : :: windows :: Guid , pub cbBufferSize : u32 , pub cbCaptured : u32 , pub ullReserved : [ u64 ;16 ] } impl SECURE_BUFFER_INFO { } impl :: std :: default :: Default for SECURE_BUFFER_INFO { fn default ( ) -> Self { Self { guidBufferIdentifier : :: std :: default :: Default :: default ( ) , cbBufferSize : 0 , cbCaptured : 0 , ullReserved : [ 0 ;16 ] } } } impl :: std :: fmt :: Debug for SECURE_BUFFER_INFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SECURE_BUFFER_INFO" ) . field ( "guidBufferIdentifier" , & self . guidBufferIdentifier ) . field ( "cbBufferSize" , & self . cbBufferSize ) . field ( "cbCaptured" , & self . cbCaptured ) . field ( "ullReserved" , & self . ullReserved ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SECURE_BUFFER_INFO { fn eq ( & self , other : & Self ) -> bool { self . guidBufferIdentifier == other . guidBufferIdentifier && self . cbBufferSize == other . cbBufferSize && self . cbCaptured == other . cbCaptured && self . ullReserved == other . ullReserved } } impl :: std :: cmp :: Eq for SECURE_BUFFER_INFO { } unsafe impl :: windows :: Abi for SECURE_BUFFER_INFO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SOUNDDETECTOR_PATTERNHEADER { pub Size : u32 , pub PatternType : :: windows :: Guid } impl SOUNDDETECTOR_PATTERNHEADER { } impl :: std :: default :: Default for SOUNDDETECTOR_PATTERNHEADER { fn default ( ) -> Self { Self { Size : 0 , PatternType : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for SOUNDDETECTOR_PATTERNHEADER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SOUNDDETECTOR_PATTERNHEADER" ) . field ( "Size" , & self . Size ) . field ( "PatternType" , & self . PatternType ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SOUNDDETECTOR_PATTERNHEADER { fn eq ( & self , other : & Self ) -> bool { self . Size == other . Size && self . PatternType == other . PatternType } } impl :: std :: cmp :: Eq for SOUNDDETECTOR_PATTERNHEADER { } unsafe impl :: windows :: Abi for SOUNDDETECTOR_PATTERNHEADER { type Abi = Self ; type DefaultType = Self ; } pub const SPATIAL_AUDIO_STANDARD_COMMANDS_START : u32 = 200u32 ; pub const SPEAKER_ALL : u32 = 2147483648u32 ; pub const SPEAKER_BACK_CENTER : u32 = 256u32 ; pub const SPEAKER_BACK_LEFT : u32 = 16u32 ; pub const SPEAKER_BACK_RIGHT : u32 = 32u32 ; pub const SPEAKER_FRONT_CENTER : u32 = 4u32 ; pub const SPEAKER_FRONT_LEFT : u32 = 1u32 ; pub const SPEAKER_FRONT_LEFT_OF_CENTER : u32 = 64u32 ; pub const SPEAKER_FRONT_RIGHT : u32 = 2u32 ; pub const SPEAKER_FRONT_RIGHT_OF_CENTER : u32 = 128u32 ; pub const SPEAKER_LOW_FREQUENCY : u32 = 8u32 ; pub const SPEAKER_RESERVED : u32 = 2147221504u32 ; pub const SPEAKER_SIDE_LEFT : u32 = 512u32 ; pub const SPEAKER_SIDE_RIGHT : u32 = 1024u32 ; pub const SPEAKER_TOP_BACK_CENTER : u32 = 65536u32 ; pub const SPEAKER_TOP_BACK_LEFT : u32 = 32768u32 ; pub const SPEAKER_TOP_BACK_RIGHT : u32 = 131072u32 ; pub const SPEAKER_TOP_CENTER : u32 = 2048u32 ; pub const SPEAKER_TOP_FRONT_CENTER : u32 = 8192u32 ; pub const SPEAKER_TOP_FRONT_LEFT : u32 = 4096u32 ; pub const SPEAKER_TOP_FRONT_RIGHT : u32 = 16384u32 ; pub const SPTLAUDCLNT_E_DESTROYED : :: windows :: HRESULT = :: windows :: HRESULT ( -2004287232i32 as _ ) ; pub const SPTLAUDCLNT_E_ERRORS_IN_OBJECT_CALLS : :: windows :: HRESULT = :: windows :: HRESULT ( -2004287227i32 as _ ) ; pub const SPTLAUDCLNT_E_INTERNAL : :: windows :: HRESULT = :: windows :: HRESULT ( -2004287219i32 as _ ) ; pub const SPTLAUDCLNT_E_INVALID_LICENSE : :: windows :: HRESULT = :: windows :: HRESULT ( -2004287224i32 as _ ) ; pub const SPTLAUDCLNT_E_METADATA_FORMAT_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2004287226i32 as _ ) ; pub const SPTLAUDCLNT_E_NO_MORE_OBJECTS : :: windows :: HRESULT = :: windows :: HRESULT ( -2004287229i32 as _ ) ; pub const SPTLAUDCLNT_E_OBJECT_ALREADY_ACTIVE : :: windows :: HRESULT = :: windows :: HRESULT ( -2004287220i32 as _ ) ; pub const SPTLAUDCLNT_E_OUT_OF_ORDER : :: windows :: HRESULT = :: windows :: HRESULT ( -2004287231i32 as _ ) ; pub const SPTLAUDCLNT_E_PROPERTY_NOT_SUPPORTED : :: windows :: HRESULT = :: windows :: HRESULT ( -2004287228i32 as _ ) ; pub const SPTLAUDCLNT_E_RESOURCES_INVALIDATED : :: windows :: HRESULT = :: windows :: HRESULT ( -2004287230i32 as _ ) ; pub const SPTLAUDCLNT_E_STATIC_OBJECT_NOT_AVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2004287221i32 as _ ) ; pub const SPTLAUDCLNT_E_STREAM_NOT_AVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2004287225i32 as _ ) ; pub const SPTLAUDCLNT_E_STREAM_NOT_STOPPED : :: windows :: HRESULT = :: windows :: HRESULT ( -2004287222i32 as _ ) ; pub const SPTLAUD_MD_CLNT_E_ATTACH_FAILED_INTERNAL_BUFFER : :: windows :: HRESULT = :: windows :: HRESULT ( -2004286956i32 as _ ) ; pub const SPTLAUD_MD_CLNT_E_BUFFER_ALREADY_ATTACHED : :: windows :: HRESULT = :: windows :: HRESULT ( -2004286969i32 as _ ) ; pub const SPTLAUD_MD_CLNT_E_BUFFER_NOT_ATTACHED : :: windows :: HRESULT = :: windows :: HRESULT ( -2004286968i32 as _ ) ; pub const SPTLAUD_MD_CLNT_E_BUFFER_STILL_ATTACHED : :: windows :: HRESULT = :: windows :: HRESULT ( -2004286940i32 as _ ) ; pub const SPTLAUD_MD_CLNT_E_COMMAND_ALREADY_WRITTEN : :: windows :: HRESULT = :: windows :: HRESULT ( -2004286942i32 as _ ) ; pub const SPTLAUD_MD_CLNT_E_COMMAND_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2004286976i32 as _ ) ; pub const SPTLAUD_MD_CLNT_E_DETACH_FAILED_INTERNAL_BUFFER : :: windows :: HRESULT = :: windows :: HRESULT ( -2004286955i32 as _ ) ; pub const SPTLAUD_MD_CLNT_E_FORMAT_MISMATCH : :: windows :: HRESULT = :: windows :: HRESULT ( -2004286941i32 as _ ) ; pub const SPTLAUD_MD_CLNT_E_FRAMECOUNT_OUT_OF_RANGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2004286967i32 as _ ) ; pub const SPTLAUD_MD_CLNT_E_FRAMEOFFSET_OUT_OF_RANGE : :: windows :: HRESULT = :: windows :: HRESULT ( -2004286952i32 as _ ) ; pub const SPTLAUD_MD_CLNT_E_INVALID_ARGS : :: windows :: HRESULT = :: windows :: HRESULT ( -2004286974i32 as _ ) ; pub const SPTLAUD_MD_CLNT_E_ITEMS_ALREADY_OPEN : :: windows :: HRESULT = :: windows :: HRESULT ( -2004286957i32 as _ ) ; pub const SPTLAUD_MD_CLNT_E_ITEMS_LOCKED_FOR_WRITING : :: windows :: HRESULT = :: windows :: HRESULT ( -2004286939i32 as _ ) ; pub const SPTLAUD_MD_CLNT_E_ITEM_COPY_OVERFLOW : :: windows :: HRESULT = :: windows :: HRESULT ( -2004286959i32 as _ ) ; pub const SPTLAUD_MD_CLNT_E_ITEM_MUST_HAVE_COMMANDS : :: windows :: HRESULT = :: windows :: HRESULT ( -2004286951i32 as _ ) ; pub const SPTLAUD_MD_CLNT_E_MEMORY_BOUNDS : :: windows :: HRESULT = :: windows :: HRESULT ( -2004286971i32 as _ ) ; pub const SPTLAUD_MD_CLNT_E_METADATA_FORMAT_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2004286973i32 as _ ) ; pub const SPTLAUD_MD_CLNT_E_NO_BUFFER_ATTACHED : :: windows :: HRESULT = :: windows :: HRESULT ( -2004286954i32 as _ ) ; pub const SPTLAUD_MD_CLNT_E_NO_ITEMOFFSET_WRITTEN : :: windows :: HRESULT = :: windows :: HRESULT ( -2004286944i32 as _ ) ; pub const SPTLAUD_MD_CLNT_E_NO_ITEMS_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2004286960i32 as _ ) ; pub const SPTLAUD_MD_CLNT_E_NO_ITEMS_OPEN : :: windows :: HRESULT = :: windows :: HRESULT ( -2004286958i32 as _ ) ; pub const SPTLAUD_MD_CLNT_E_NO_ITEMS_WRITTEN : :: windows :: HRESULT = :: windows :: HRESULT ( -2004286943i32 as _ ) ; pub const SPTLAUD_MD_CLNT_E_NO_MORE_COMMANDS : :: windows :: HRESULT = :: windows :: HRESULT ( -2004286970i32 as _ ) ; pub const SPTLAUD_MD_CLNT_E_NO_MORE_ITEMS : :: windows :: HRESULT = :: windows :: HRESULT ( -2004286953i32 as _ ) ; pub const SPTLAUD_MD_CLNT_E_OBJECT_NOT_INITIALIZED : :: windows :: HRESULT = :: windows :: HRESULT ( -2004286975i32 as _ ) ; pub const SPTLAUD_MD_CLNT_E_VALUE_BUFFER_INCORRECT_SIZE : :: windows :: HRESULT = :: windows :: HRESULT ( -2004286972i32 as _ ) ; pub const SYSAUDIO_FLAGS_CLEAR_PREFERRED : u32 = 2u32 ; pub const SYSAUDIO_FLAGS_DONT_COMBINE_PINS : u32 = 1u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SpatialAudioClientActivationParams { pub tracingContextId : :: windows :: Guid , pub appId : :: windows :: Guid , pub majorVersion : i32 , pub minorVersion1 : i32 , pub minorVersion2 : i32 , pub minorVersion3 : i32 } impl SpatialAudioClientActivationParams { } impl :: std :: default :: Default for SpatialAudioClientActivationParams { fn default ( ) -> Self { Self { tracingContextId : :: std :: default :: Default :: default ( ) , appId : :: std :: default :: Default :: default ( ) , majorVersion : 0 , minorVersion1 : 0 , minorVersion2 : 0 , minorVersion3 : 0 } } } impl :: std :: fmt :: Debug for SpatialAudioClientActivationParams { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SpatialAudioClientActivationParams" ) . field ( "tracingContextId" , & self . tracingContextId ) . field ( "appId" , & self . appId ) . field ( "majorVersion" , & self . majorVersion ) . field ( "minorVersion1" , & self . minorVersion1 ) . field ( "minorVersion2" , & self . minorVersion2 ) . field ( "minorVersion3" , & self . minorVersion3 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SpatialAudioClientActivationParams { fn eq ( & self , other : & Self ) -> bool { self . tracingContextId == other . tracingContextId && self . appId == other . appId && self . majorVersion == other . majorVersion && self . minorVersion1 == other . minorVersion1 && self . minorVersion2 == other . minorVersion2 && self . minorVersion3 == other . minorVersion3 } } impl :: std :: cmp :: Eq for SpatialAudioClientActivationParams { } unsafe impl :: windows :: Abi for SpatialAudioClientActivationParams { type Abi = Self ; type DefaultType = Self ; } impl :: std :: clone :: Clone for SpatialAudioHrtfActivationParams { fn clone ( & self ) -> Self { unimplemented ! ( ) } } # [ repr ( C , packed ( 1 ) ) ] pub struct SpatialAudioHrtfActivationParams { pub ObjectFormat : * mut super::super::Multimedia:: WAVEFORMATEX , pub StaticObjectTypeMask : AudioObjectType , pub MinDynamicObjectCount : u32 , pub MaxDynamicObjectCount : u32 , pub Category : AUDIO_STREAM_CATEGORY , pub EventHandle : super::super::super::Foundation:: HANDLE , pub NotifyObject : :: std :: option :: Option < ISpatialAudioObjectRenderStreamNotify > , pub DistanceDecay : * mut SpatialAudioHrtfDistanceDecay , pub Directivity : * mut SpatialAudioHrtfDirectivityUnion , pub Environment : * mut SpatialAudioHrtfEnvironmentType , pub Orientation : * mut f32 } impl SpatialAudioHrtfActivationParams { } impl :: std :: cmp :: PartialEq for SpatialAudioHrtfActivationParams { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for SpatialAudioHrtfActivationParams { } # [ repr ( C , packed ( 1 ) ) ] # [ doc ( hidden ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct SpatialAudioHrtfActivationParams_abi { pub ObjectFormat : * mut super::super::Multimedia:: WAVEFORMATEX , pub StaticObjectTypeMask : AudioObjectType , pub MinDynamicObjectCount : u32 , pub MaxDynamicObjectCount : u32 , pub Category : AUDIO_STREAM_CATEGORY , pub EventHandle : super::super::super::Foundation:: HANDLE , pub NotifyObject : :: windows :: RawPtr , pub DistanceDecay : * mut SpatialAudioHrtfDistanceDecay , pub Directivity : * mut SpatialAudioHrtfDirectivityUnion , pub Environment : * mut SpatialAudioHrtfEnvironmentType , pub Orientation : * mut f32 } unsafe impl :: windows :: Abi for SpatialAudioHrtfActivationParams { type Abi = SpatialAudioHrtfActivationParams_abi ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 1 ) ) ] pub struct SpatialAudioHrtfDirectivity { pub Type : SpatialAudioHrtfDirectivityType , pub Scaling : f32 } impl SpatialAudioHrtfDirectivity { } impl :: std :: cmp :: PartialEq for SpatialAudioHrtfDirectivity { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for SpatialAudioHrtfDirectivity { } unsafe impl :: windows :: Abi for SpatialAudioHrtfDirectivity { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 1 ) ) ] pub struct SpatialAudioHrtfDirectivityCardioid { pub directivity : SpatialAudioHrtfDirectivity , pub Order : f32 } impl SpatialAudioHrtfDirectivityCardioid { } impl :: std :: cmp :: PartialEq for SpatialAudioHrtfDirectivityCardioid { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for SpatialAudioHrtfDirectivityCardioid { } unsafe impl :: windows :: Abi for SpatialAudioHrtfDirectivityCardioid { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 1 ) ) ] pub struct SpatialAudioHrtfDirectivityCone { pub directivity : SpatialAudioHrtfDirectivity , pub InnerAngle : f32 , pub OuterAngle : f32 } impl SpatialAudioHrtfDirectivityCone { } impl :: std :: cmp :: PartialEq for SpatialAudioHrtfDirectivityCone { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for SpatialAudioHrtfDirectivityCone { } unsafe impl :: windows :: Abi for SpatialAudioHrtfDirectivityCone { 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 SpatialAudioHrtfDirectivityType ( pub i32 ) ; pub const SpatialAudioHrtfDirectivity_OmniDirectional : SpatialAudioHrtfDirectivityType = SpatialAudioHrtfDirectivityType ( 0i32 ) ; pub const SpatialAudioHrtfDirectivity_Cardioid : SpatialAudioHrtfDirectivityType = SpatialAudioHrtfDirectivityType ( 1i32 ) ; pub const SpatialAudioHrtfDirectivity_Cone : SpatialAudioHrtfDirectivityType = SpatialAudioHrtfDirectivityType ( 2i32 ) ; impl :: std :: convert :: From < i32 > for SpatialAudioHrtfDirectivityType { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for SpatialAudioHrtfDirectivityType { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union SpatialAudioHrtfDirectivityUnion { pub Cone : SpatialAudioHrtfDirectivityCone , pub Cardiod : SpatialAudioHrtfDirectivityCardioid , pub Omni : SpatialAudioHrtfDirectivity } impl SpatialAudioHrtfDirectivityUnion { } impl :: std :: cmp :: PartialEq for SpatialAudioHrtfDirectivityUnion { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for SpatialAudioHrtfDirectivityUnion { } unsafe impl :: windows :: Abi for SpatialAudioHrtfDirectivityUnion { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 1 ) ) ] pub struct SpatialAudioHrtfDistanceDecay { pub Type : SpatialAudioHrtfDistanceDecayType , pub MaxGain : f32 , pub MinGain : f32 , pub UnityGainDistance : f32 , pub CutoffDistance : f32 } impl SpatialAudioHrtfDistanceDecay { } impl :: std :: cmp :: PartialEq for SpatialAudioHrtfDistanceDecay { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for SpatialAudioHrtfDistanceDecay { } unsafe impl :: windows :: Abi for SpatialAudioHrtfDistanceDecay { 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 SpatialAudioHrtfDistanceDecayType ( pub i32 ) ; pub const SpatialAudioHrtfDistanceDecay_NaturalDecay : SpatialAudioHrtfDistanceDecayType = SpatialAudioHrtfDistanceDecayType ( 0i32 ) ; pub const SpatialAudioHrtfDistanceDecay_CustomDecay : SpatialAudioHrtfDistanceDecayType = SpatialAudioHrtfDistanceDecayType ( 1i32 ) ; impl :: std :: convert :: From < i32 > for SpatialAudioHrtfDistanceDecayType { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for SpatialAudioHrtfDistanceDecayType { 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 SpatialAudioHrtfEnvironmentType ( pub i32 ) ; pub const SpatialAudioHrtfEnvironment_Small : SpatialAudioHrtfEnvironmentType = SpatialAudioHrtfEnvironmentType ( 0i32 ) ; pub const SpatialAudioHrtfEnvironment_Medium : SpatialAudioHrtfEnvironmentType = SpatialAudioHrtfEnvironmentType ( 1i32 ) ; pub const SpatialAudioHrtfEnvironment_Large : SpatialAudioHrtfEnvironmentType = SpatialAudioHrtfEnvironmentType ( 2i32 ) ; pub const SpatialAudioHrtfEnvironment_Outdoors : SpatialAudioHrtfEnvironmentType = SpatialAudioHrtfEnvironmentType ( 3i32 ) ; pub const SpatialAudioHrtfEnvironment_Average : SpatialAudioHrtfEnvironmentType = SpatialAudioHrtfEnvironmentType ( 4i32 ) ; impl :: std :: convert :: From < i32 > for SpatialAudioHrtfEnvironmentType { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for SpatialAudioHrtfEnvironmentType { 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 SpatialAudioMetadataCopyMode ( pub i32 ) ; pub const SpatialAudioMetadataCopy_Overwrite : SpatialAudioMetadataCopyMode = SpatialAudioMetadataCopyMode ( 0i32 ) ; pub const SpatialAudioMetadataCopy_Append : SpatialAudioMetadataCopyMode = SpatialAudioMetadataCopyMode ( 1i32 ) ; pub const SpatialAudioMetadataCopy_AppendMergeWithLast : SpatialAudioMetadataCopyMode = SpatialAudioMetadataCopyMode ( 2i32 ) ; pub const SpatialAudioMetadataCopy_AppendMergeWithFirst : SpatialAudioMetadataCopyMode = SpatialAudioMetadataCopyMode ( 3i32 ) ; impl :: std :: convert :: From < i32 > for SpatialAudioMetadataCopyMode { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for SpatialAudioMetadataCopyMode { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 1 ) ) ] pub struct SpatialAudioMetadataItemsInfo { pub FrameCount : u16 , pub ItemCount : u16 , pub MaxItemCount : u16 , pub MaxValueBufferLength : u32 } impl SpatialAudioMetadataItemsInfo { } impl :: std :: cmp :: PartialEq for SpatialAudioMetadataItemsInfo { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for SpatialAudioMetadataItemsInfo { } unsafe impl :: windows :: Abi for SpatialAudioMetadataItemsInfo { 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 SpatialAudioMetadataWriterOverflowMode ( pub i32 ) ; pub const SpatialAudioMetadataWriterOverflow_Fail : SpatialAudioMetadataWriterOverflowMode = SpatialAudioMetadataWriterOverflowMode ( 0i32 ) ; pub const SpatialAudioMetadataWriterOverflow_MergeWithNew : SpatialAudioMetadataWriterOverflowMode = SpatialAudioMetadataWriterOverflowMode ( 1i32 ) ; pub const SpatialAudioMetadataWriterOverflow_MergeWithLast : SpatialAudioMetadataWriterOverflowMode = SpatialAudioMetadataWriterOverflowMode ( 2i32 ) ; impl :: std :: convert :: From < i32 > for SpatialAudioMetadataWriterOverflowMode { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for SpatialAudioMetadataWriterOverflowMode { type Abi = Self ; type DefaultType = Self ; } impl :: std :: clone :: Clone for SpatialAudioObjectRenderStreamActivationParams { fn clone ( & self ) -> Self { unimplemented ! ( ) } } # [ repr ( C , packed ( 1 ) ) ] pub struct SpatialAudioObjectRenderStreamActivationParams { pub ObjectFormat : * mut super::super::Multimedia:: WAVEFORMATEX , pub StaticObjectTypeMask : AudioObjectType , pub MinDynamicObjectCount : u32 , pub MaxDynamicObjectCount : u32 , pub Category : AUDIO_STREAM_CATEGORY , pub EventHandle : super::super::super::Foundation:: HANDLE , pub NotifyObject : :: std :: option :: Option < ISpatialAudioObjectRenderStreamNotify > } impl SpatialAudioObjectRenderStreamActivationParams { } impl :: std :: cmp :: PartialEq for SpatialAudioObjectRenderStreamActivationParams { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for SpatialAudioObjectRenderStreamActivationParams { } # [ repr ( C , packed ( 1 ) ) ] # [ doc ( hidden ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct SpatialAudioObjectRenderStreamActivationParams_abi { pub ObjectFormat : * mut super::super::Multimedia:: WAVEFORMATEX , pub StaticObjectTypeMask : AudioObjectType , pub MinDynamicObjectCount : u32 , pub MaxDynamicObjectCount : u32 , pub Category : AUDIO_STREAM_CATEGORY , pub EventHandle : super::super::super::Foundation:: HANDLE , pub NotifyObject : :: windows :: RawPtr } unsafe impl :: windows :: Abi for SpatialAudioObjectRenderStreamActivationParams { type Abi = SpatialAudioObjectRenderStreamActivationParams_abi ; type DefaultType = Self ; } impl :: std :: clone :: Clone for SpatialAudioObjectRenderStreamForMetadataActivationParams { fn clone ( & self ) -> Self { unimplemented ! ( ) } } # [ repr ( C , packed ( 1 ) ) ] pub struct SpatialAudioObjectRenderStreamForMetadataActivationParams { pub ObjectFormat : * mut super::super::Multimedia:: WAVEFORMATEX , pub StaticObjectTypeMask : AudioObjectType , pub MinDynamicObjectCount : u32 , pub MaxDynamicObjectCount : u32 , pub Category : AUDIO_STREAM_CATEGORY , pub EventHandle : super::super::super::Foundation:: HANDLE , pub MetadataFormatId : :: windows :: Guid , pub MaxMetadataItemCount : u16 , pub MetadataActivationParams : * mut super::super::super::Storage::StructuredStorage:: PROPVARIANT , pub NotifyObject : :: std :: option :: Option < ISpatialAudioObjectRenderStreamNotify > } impl SpatialAudioObjectRenderStreamForMetadataActivationParams { } impl :: std :: cmp :: PartialEq for SpatialAudioObjectRenderStreamForMetadataActivationParams { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for SpatialAudioObjectRenderStreamForMetadataActivationParams { } # [ repr ( C , packed ( 1 ) ) ] # [ doc ( hidden ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct SpatialAudioObjectRenderStreamForMetadataActivationParams_abi { pub ObjectFormat : * mut super::super::Multimedia:: WAVEFORMATEX , pub StaticObjectTypeMask : AudioObjectType , pub MinDynamicObjectCount : u32 , pub MaxDynamicObjectCount : u32 , pub Category : AUDIO_STREAM_CATEGORY , pub EventHandle : super::super::super::Foundation:: HANDLE , pub MetadataFormatId : :: windows :: Guid , pub MaxMetadataItemCount : u16 , pub MetadataActivationParams : * mut super::super::super::Storage::StructuredStorage:: PROPVARIANT_abi , pub NotifyObject : :: windows :: RawPtr } unsafe impl :: windows :: Abi for SpatialAudioObjectRenderStreamForMetadataActivationParams { type Abi = SpatialAudioObjectRenderStreamForMetadataActivationParams_abi ; 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 TELEPHONY_CALLCONTROLOP ( pub i32 ) ; pub const TELEPHONY_CALLCONTROLOP_DISABLE : TELEPHONY_CALLCONTROLOP = TELEPHONY_CALLCONTROLOP ( 0i32 ) ; pub const TELEPHONY_CALLCONTROLOP_ENABLE : TELEPHONY_CALLCONTROLOP = TELEPHONY_CALLCONTROLOP ( 1i32 ) ; impl :: std :: convert :: From < i32 > for TELEPHONY_CALLCONTROLOP { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for TELEPHONY_CALLCONTROLOP { 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 TELEPHONY_CALLSTATE ( pub i32 ) ; pub const TELEPHONY_CALLSTATE_DISABLED : TELEPHONY_CALLSTATE = TELEPHONY_CALLSTATE ( 0i32 ) ; pub const TELEPHONY_CALLSTATE_ENABLED : TELEPHONY_CALLSTATE = TELEPHONY_CALLSTATE ( 1i32 ) ; pub const TELEPHONY_CALLSTATE_HOLD : TELEPHONY_CALLSTATE = TELEPHONY_CALLSTATE ( 2i32 ) ; pub const TELEPHONY_CALLSTATE_PROVIDERTRANSITION : TELEPHONY_CALLSTATE = TELEPHONY_CALLSTATE ( 3i32 ) ; impl :: std :: convert :: From < i32 > for TELEPHONY_CALLSTATE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for TELEPHONY_CALLSTATE { 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 TELEPHONY_CALLTYPE ( pub i32 ) ; pub const TELEPHONY_CALLTYPE_CIRCUITSWITCHED : TELEPHONY_CALLTYPE = TELEPHONY_CALLTYPE ( 0i32 ) ; pub const TELEPHONY_CALLTYPE_PACKETSWITCHED_LTE : TELEPHONY_CALLTYPE = TELEPHONY_CALLTYPE ( 1i32 ) ; pub const TELEPHONY_CALLTYPE_PACKETSWITCHED_WLAN : TELEPHONY_CALLTYPE = TELEPHONY_CALLTYPE ( 2i32 ) ; impl :: std :: convert :: From < i32 > for TELEPHONY_CALLTYPE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for TELEPHONY_CALLTYPE { 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 TELEPHONY_PROVIDERCHANGEOP ( pub i32 ) ; pub const TELEPHONY_PROVIDERCHANGEOP_END : TELEPHONY_PROVIDERCHANGEOP = TELEPHONY_PROVIDERCHANGEOP ( 0i32 ) ; pub const TELEPHONY_PROVIDERCHANGEOP_BEGIN : TELEPHONY_PROVIDERCHANGEOP = TELEPHONY_PROVIDERCHANGEOP ( 1i32 ) ; pub const TELEPHONY_PROVIDERCHANGEOP_CANCEL : TELEPHONY_PROVIDERCHANGEOP = TELEPHONY_PROVIDERCHANGEOP ( 2i32 ) ; impl :: std :: convert :: From < i32 > for TELEPHONY_PROVIDERCHANGEOP { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for TELEPHONY_PROVIDERCHANGEOP { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct TRANSPORTAUDIOPARMS { pub EnableOutput : i32 , pub EnableRecord : i32 , pub EnableSelsync : i32 , pub Input : i32 , pub MonitorSource : i32 } impl TRANSPORTAUDIOPARMS { } impl :: std :: default :: Default for TRANSPORTAUDIOPARMS { fn default ( ) -> Self { Self { EnableOutput : 0 , EnableRecord : 0 , EnableSelsync : 0 , Input : 0 , MonitorSource : 0 } } } impl :: std :: fmt :: Debug for TRANSPORTAUDIOPARMS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "TRANSPORTAUDIOPARMS" ) . field ( "EnableOutput" , & self . EnableOutput ) . field ( "EnableRecord" , & self . EnableRecord ) . field ( "EnableSelsync" , & self . EnableSelsync ) . field ( "Input" , & self . Input ) . field ( "MonitorSource" , & self . MonitorSource ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TRANSPORTAUDIOPARMS { fn eq ( & self , other : & Self ) -> bool { self . EnableOutput == other . EnableOutput && self . EnableRecord == other . EnableRecord && self . EnableSelsync == other . EnableSelsync && self . Input == other . Input && self . MonitorSource == other . MonitorSource } } impl :: std :: cmp :: Eq for TRANSPORTAUDIOPARMS { } unsafe impl :: windows :: Abi for TRANSPORTAUDIOPARMS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct TRANSPORTBASICPARMS { pub TimeFormat : i32 , pub TimeReference : i32 , pub Superimpose : i32 , pub EndStopAction : i32 , pub RecordFormat : i32 , pub StepFrames : i32 , pub SetpField : i32 , pub Preroll : i32 , pub RecPreroll : i32 , pub Postroll : i32 , pub EditDelay : i32 , pub PlayTCDelay : i32 , pub RecTCDelay : i32 , pub EditField : i32 , pub FrameServo : i32 , pub ColorFrameServo : i32 , pub ServoRef : i32 , pub WarnGenlock : i32 , pub SetTracking : i32 , pub VolumeName : [ i8 ;40 ] , pub Ballistic : [ i32 ;20 ] , pub Speed : i32 , pub CounterFormat : i32 , pub TunerChannel : i32 , pub TunerNumber : i32 , pub TimerEvent : i32 , pub TimerStartDay : i32 , pub TimerStartTime : i32 , pub TimerStopDay : i32 , pub TimerStopTime : i32 } impl TRANSPORTBASICPARMS { } impl :: std :: default :: Default for TRANSPORTBASICPARMS { fn default ( ) -> Self { Self { TimeFormat : 0 , TimeReference : 0 , Superimpose : 0 , EndStopAction : 0 , RecordFormat : 0 , StepFrames : 0 , SetpField : 0 , Preroll : 0 , RecPreroll : 0 , Postroll : 0 , EditDelay : 0 , PlayTCDelay : 0 , RecTCDelay : 0 , EditField : 0 , FrameServo : 0 , ColorFrameServo : 0 , ServoRef : 0 , WarnGenlock : 0 , SetTracking : 0 , VolumeName : [ 0 ;40 ] , Ballistic : [ 0 ;20 ] , Speed : 0 , CounterFormat : 0 , TunerChannel : 0 , TunerNumber : 0 , TimerEvent : 0 , TimerStartDay : 0 , TimerStartTime : 0 , TimerStopDay : 0 , TimerStopTime : 0 } } } impl :: std :: fmt :: Debug for TRANSPORTBASICPARMS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "TRANSPORTBASICPARMS" ) . field ( "TimeFormat" , & self . TimeFormat ) . field ( "TimeReference" , & self . TimeReference ) . field ( "Superimpose" , & self . Superimpose ) . field ( "EndStopAction" , & self . EndStopAction ) . field ( "RecordFormat" , & self . RecordFormat ) . field ( "StepFrames" , & self . StepFrames ) . field ( "SetpField" , & self . SetpField ) . field ( "Preroll" , & self . Preroll ) . field ( "RecPreroll" , & self . RecPreroll ) . field ( "Postroll" , & self . Postroll ) . field ( "EditDelay" , & self . EditDelay ) . field ( "PlayTCDelay" , & self . PlayTCDelay ) . field ( "RecTCDelay" , & self . RecTCDelay ) . field ( "EditField" , & self . EditField ) . field ( "FrameServo" , & self . FrameServo ) . field ( "ColorFrameServo" , & self . ColorFrameServo ) . field ( "ServoRef" , & self . ServoRef ) . field ( "WarnGenlock" , & self . WarnGenlock ) . field ( "SetTracking" , & self . SetTracking ) . field ( "VolumeName" , & self . VolumeName ) . field ( "Ballistic" , & self . Ballistic ) . field ( "Speed" , & self . Speed ) . field ( "CounterFormat" , & self . CounterFormat ) . field ( "TunerChannel" , & self . TunerChannel ) . field ( "TunerNumber" , & self . TunerNumber ) . field ( "TimerEvent" , & self . TimerEvent ) . field ( "TimerStartDay" , & self . TimerStartDay ) . field ( "TimerStartTime" , & self . TimerStartTime ) . field ( "TimerStopDay" , & self . TimerStopDay ) . field ( "TimerStopTime" , & self . TimerStopTime ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TRANSPORTBASICPARMS { fn eq ( & self , other : & Self ) -> bool { self . TimeFormat == other . TimeFormat && self . TimeReference == other . TimeReference && self . Superimpose == other . Superimpose && self . EndStopAction == other . EndStopAction && self . RecordFormat == other . RecordFormat && self . StepFrames == other . StepFrames && self . SetpField == other . SetpField && self . Preroll == other . Preroll && self . RecPreroll == other . RecPreroll && self . Postroll == other . Postroll && self . EditDelay == other . EditDelay && self . PlayTCDelay == other . PlayTCDelay && self . RecTCDelay == other . RecTCDelay && self . EditField == other . EditField && self . FrameServo == other . FrameServo && self . ColorFrameServo == other . ColorFrameServo && self . ServoRef == other . ServoRef && self . WarnGenlock == other . WarnGenlock && self . SetTracking == other . SetTracking && self . VolumeName == other . VolumeName && self . Ballistic == other . Ballistic && self . Speed == other . Speed && self . CounterFormat == other . CounterFormat && self . TunerChannel == other . TunerChannel && self . TunerNumber == other . TunerNumber && self . TimerEvent == other . TimerEvent && self . TimerStartDay == other . TimerStartDay && self . TimerStartTime == other . TimerStartTime && self . TimerStopDay == other . TimerStopDay && self . TimerStopTime == other . TimerStopTime } } impl :: std :: cmp :: Eq for TRANSPORTBASICPARMS { } unsafe impl :: windows :: Abi for TRANSPORTBASICPARMS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct TRANSPORTSTATUS { pub Mode : i32 , pub LastError : i32 , pub RecordInhibit : i32 , pub ServoLock : i32 , pub MediaPresent : i32 , pub MediaLength : i32 , pub MediaSize : i32 , pub MediaTrackCount : i32 , pub MediaTrackLength : i32 , pub MediaTrackSide : i32 , pub MediaType : i32 , pub LinkMode : i32 , pub NotifyOn : i32 } impl TRANSPORTSTATUS { } impl :: std :: default :: Default for TRANSPORTSTATUS { fn default ( ) -> Self { Self { Mode : 0 , LastError : 0 , RecordInhibit : 0 , ServoLock : 0 , MediaPresent : 0 , MediaLength : 0 , MediaSize : 0 , MediaTrackCount : 0 , MediaTrackLength : 0 , MediaTrackSide : 0 , MediaType : 0 , LinkMode : 0 , NotifyOn : 0 } } } impl :: std :: fmt :: Debug for TRANSPORTSTATUS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "TRANSPORTSTATUS" ) . field ( "Mode" , & self . Mode ) . field ( "LastError" , & self . LastError ) . field ( "RecordInhibit" , & self . RecordInhibit ) . field ( "ServoLock" , & self . ServoLock ) . field ( "MediaPresent" , & self . MediaPresent ) . field ( "MediaLength" , & self . MediaLength ) . field ( "MediaSize" , & self . MediaSize ) . field ( "MediaTrackCount" , & self . MediaTrackCount ) . field ( "MediaTrackLength" , & self . MediaTrackLength ) . field ( "MediaTrackSide" , & self . MediaTrackSide ) . field ( "MediaType" , & self . MediaType ) . field ( "LinkMode" , & self . LinkMode ) . field ( "NotifyOn" , & self . NotifyOn ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TRANSPORTSTATUS { fn eq ( & self , other : & Self ) -> bool { self . Mode == other . Mode && self . LastError == other . LastError && self . RecordInhibit == other . RecordInhibit && self . ServoLock == other . ServoLock && self . MediaPresent == other . MediaPresent && self . MediaLength == other . MediaLength && self . MediaSize == other . MediaSize && self . MediaTrackCount == other . MediaTrackCount && self . MediaTrackLength == other . MediaTrackLength && self . MediaTrackSide == other . MediaTrackSide && self . MediaType == other . MediaType && self . LinkMode == other . LinkMode && self . NotifyOn == other . NotifyOn } } impl :: std :: cmp :: Eq for TRANSPORTSTATUS { } unsafe impl :: windows :: Abi for TRANSPORTSTATUS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct TRANSPORTVIDEOPARMS { pub OutputMode : i32 , pub Input : i32 } impl TRANSPORTVIDEOPARMS { } impl :: std :: default :: Default for TRANSPORTVIDEOPARMS { fn default ( ) -> Self { Self { OutputMode : 0 , Input : 0 } } } impl :: std :: fmt :: Debug for TRANSPORTVIDEOPARMS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "TRANSPORTVIDEOPARMS" ) . field ( "OutputMode" , & self . OutputMode ) . field ( "Input" , & self . Input ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TRANSPORTVIDEOPARMS { fn eq ( & self , other : & Self ) -> bool { self . OutputMode == other . OutputMode && self . Input == other . Input } } impl :: std :: cmp :: Eq for TRANSPORTVIDEOPARMS { } unsafe impl :: windows :: Abi for TRANSPORTVIDEOPARMS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct TRANSPORT_STATE { pub Mode : u32 , pub State : u32 } impl TRANSPORT_STATE { } impl :: std :: default :: Default for TRANSPORT_STATE { fn default ( ) -> Self { Self { Mode : 0 , State : 0 } } } impl :: std :: fmt :: Debug for TRANSPORT_STATE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "TRANSPORT_STATE" ) . field ( "Mode" , & self . Mode ) . field ( "State" , & self . State ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TRANSPORT_STATE { fn eq ( & self , other : & Self ) -> bool { self . Mode == other . Mode && self . State == other . State } } impl :: std :: cmp :: Eq for TRANSPORT_STATE { } unsafe impl :: windows :: Abi for TRANSPORT_STATE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct TUNER_ANALOG_CAPS_S { pub Mode : u32 , pub StandardsSupported : u32 , pub MinFrequency : u32 , pub MaxFrequency : u32 , pub TuningGranularity : u32 , pub SettlingTime : u32 , pub ScanSensingRange : u32 , pub FineTuneSensingRange : u32 } impl TUNER_ANALOG_CAPS_S { } impl :: std :: default :: Default for TUNER_ANALOG_CAPS_S { fn default ( ) -> Self { Self { Mode : 0 , StandardsSupported : 0 , MinFrequency : 0 , MaxFrequency : 0 , TuningGranularity : 0 , SettlingTime : 0 , ScanSensingRange : 0 , FineTuneSensingRange : 0 } } } impl :: std :: fmt :: Debug for TUNER_ANALOG_CAPS_S { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "TUNER_ANALOG_CAPS_S" ) . field ( "Mode" , & self . Mode ) . field ( "StandardsSupported" , & self . StandardsSupported ) . field ( "MinFrequency" , & self . MinFrequency ) . field ( "MaxFrequency" , & self . MaxFrequency ) . field ( "TuningGranularity" , & self . TuningGranularity ) . field ( "SettlingTime" , & self . SettlingTime ) . field ( "ScanSensingRange" , & self . ScanSensingRange ) . field ( "FineTuneSensingRange" , & self . FineTuneSensingRange ) . finish ( ) } } impl :: std :: cmp :: PartialEq for TUNER_ANALOG_CAPS_S { fn eq ( & self , other : & Self ) -> bool { self . Mode == other . Mode && self . StandardsSupported == other . StandardsSupported && self . MinFrequency == other . MinFrequency && self . MaxFrequency == other . MaxFrequency && self . TuningGranularity == other . TuningGranularity && self . SettlingTime == other . SettlingTime && self . ScanSensingRange == other . ScanSensingRange && self . FineTuneSensingRange == other . FineTuneSensingRange } } impl :: std :: cmp :: Eq for TUNER_ANALOG_CAPS_S { } unsafe impl :: windows :: Abi for TUNER_ANALOG_CAPS_S { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct VBICAP_PROPERTIES_PROTECTION_S { pub Property : KSIDENTIFIER , pub StreamIndex : u32 , pub Status : u32 } impl VBICAP_PROPERTIES_PROTECTION_S { } impl :: std :: cmp :: PartialEq for VBICAP_PROPERTIES_PROTECTION_S { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for VBICAP_PROPERTIES_PROTECTION_S { } unsafe impl :: windows :: Abi for VBICAP_PROPERTIES_PROTECTION_S { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct VBICODECFILTERING_CC_SUBSTREAMS { pub SubstreamMask : u32 } impl VBICODECFILTERING_CC_SUBSTREAMS { } impl :: std :: default :: Default for VBICODECFILTERING_CC_SUBSTREAMS { fn default ( ) -> Self { Self { SubstreamMask : 0 } } } impl :: std :: fmt :: Debug for VBICODECFILTERING_CC_SUBSTREAMS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "VBICODECFILTERING_CC_SUBSTREAMS" ) . field ( "SubstreamMask" , & self . SubstreamMask ) . finish ( ) } } impl :: std :: cmp :: PartialEq for VBICODECFILTERING_CC_SUBSTREAMS { fn eq ( & self , other : & Self ) -> bool { self . SubstreamMask == other . SubstreamMask } } impl :: std :: cmp :: Eq for VBICODECFILTERING_CC_SUBSTREAMS { } unsafe impl :: windows :: Abi for VBICODECFILTERING_CC_SUBSTREAMS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct VBICODECFILTERING_NABTS_SUBSTREAMS { pub SubstreamMask : [ u32 ;128 ] } impl VBICODECFILTERING_NABTS_SUBSTREAMS { } impl :: std :: default :: Default for VBICODECFILTERING_NABTS_SUBSTREAMS { fn default ( ) -> Self { Self { SubstreamMask : [ 0 ;128 ] } } } impl :: std :: fmt :: Debug for VBICODECFILTERING_NABTS_SUBSTREAMS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "VBICODECFILTERING_NABTS_SUBSTREAMS" ) . field ( "SubstreamMask" , & self . SubstreamMask ) . finish ( ) } } impl :: std :: cmp :: PartialEq for VBICODECFILTERING_NABTS_SUBSTREAMS { fn eq ( & self , other : & Self ) -> bool { self . SubstreamMask == other . SubstreamMask } } impl :: std :: cmp :: Eq for VBICODECFILTERING_NABTS_SUBSTREAMS { } unsafe impl :: windows :: Abi for VBICODECFILTERING_NABTS_SUBSTREAMS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct VBICODECFILTERING_SCANLINES { pub DwordBitArray : [ u32 ;32 ] } impl VBICODECFILTERING_SCANLINES { } impl :: std :: default :: Default for VBICODECFILTERING_SCANLINES { fn default ( ) -> Self { Self { DwordBitArray : [ 0 ;32 ] } } } impl :: std :: fmt :: Debug for VBICODECFILTERING_SCANLINES { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "VBICODECFILTERING_SCANLINES" ) . field ( "DwordBitArray" , & self . DwordBitArray ) . finish ( ) } } impl :: std :: cmp :: PartialEq for VBICODECFILTERING_SCANLINES { fn eq ( & self , other : & Self ) -> bool { self . DwordBitArray == other . DwordBitArray } } impl :: std :: cmp :: Eq for VBICODECFILTERING_SCANLINES { } unsafe impl :: windows :: Abi for VBICODECFILTERING_SCANLINES { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct VBICODECFILTERING_STATISTICS_CC { pub Common : VBICODECFILTERING_STATISTICS_COMMON } impl VBICODECFILTERING_STATISTICS_CC { } impl :: std :: default :: Default for VBICODECFILTERING_STATISTICS_CC { fn default ( ) -> Self { Self { Common : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for VBICODECFILTERING_STATISTICS_CC { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "VBICODECFILTERING_STATISTICS_CC" ) . field ( "Common" , & self . Common ) . finish ( ) } } impl :: std :: cmp :: PartialEq for VBICODECFILTERING_STATISTICS_CC { fn eq ( & self , other : & Self ) -> bool { self . Common == other . Common } } impl :: std :: cmp :: Eq for VBICODECFILTERING_STATISTICS_CC { } unsafe impl :: windows :: Abi for VBICODECFILTERING_STATISTICS_CC { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct VBICODECFILTERING_STATISTICS_CC_PIN { pub Common : VBICODECFILTERING_STATISTICS_COMMON_PIN } impl VBICODECFILTERING_STATISTICS_CC_PIN { } impl :: std :: default :: Default for VBICODECFILTERING_STATISTICS_CC_PIN { fn default ( ) -> Self { Self { Common : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for VBICODECFILTERING_STATISTICS_CC_PIN { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "VBICODECFILTERING_STATISTICS_CC_PIN" ) . field ( "Common" , & self . Common ) . finish ( ) } } impl :: std :: cmp :: PartialEq for VBICODECFILTERING_STATISTICS_CC_PIN { fn eq ( & self , other : & Self ) -> bool { self . Common == other . Common } } impl :: std :: cmp :: Eq for VBICODECFILTERING_STATISTICS_CC_PIN { } unsafe impl :: windows :: Abi for VBICODECFILTERING_STATISTICS_CC_PIN { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct VBICODECFILTERING_STATISTICS_COMMON { pub InputSRBsProcessed : u32 , pub OutputSRBsProcessed : u32 , pub SRBsIgnored : u32 , pub InputSRBsMissing : u32 , pub OutputSRBsMissing : u32 , pub OutputFailures : u32 , pub InternalErrors : u32 , pub ExternalErrors : u32 , pub InputDiscontinuities : u32 , pub DSPFailures : u32 , pub TvTunerChanges : u32 , pub VBIHeaderChanges : u32 , pub LineConfidenceAvg : u32 , pub BytesOutput : u32 } impl VBICODECFILTERING_STATISTICS_COMMON { } impl :: std :: default :: Default for VBICODECFILTERING_STATISTICS_COMMON { fn default ( ) -> Self { Self { InputSRBsProcessed : 0 , OutputSRBsProcessed : 0 , SRBsIgnored : 0 , InputSRBsMissing : 0 , OutputSRBsMissing : 0 , OutputFailures : 0 , InternalErrors : 0 , ExternalErrors : 0 , InputDiscontinuities : 0 , DSPFailures : 0 , TvTunerChanges : 0 , VBIHeaderChanges : 0 , LineConfidenceAvg : 0 , BytesOutput : 0 } } } impl :: std :: fmt :: Debug for VBICODECFILTERING_STATISTICS_COMMON { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "VBICODECFILTERING_STATISTICS_COMMON" ) . field ( "InputSRBsProcessed" , & self . InputSRBsProcessed ) . field ( "OutputSRBsProcessed" , & self . OutputSRBsProcessed ) . field ( "SRBsIgnored" , & self . SRBsIgnored ) . field ( "InputSRBsMissing" , & self . InputSRBsMissing ) . field ( "OutputSRBsMissing" , & self . OutputSRBsMissing ) . field ( "OutputFailures" , & self . OutputFailures ) . field ( "InternalErrors" , & self . InternalErrors ) . field ( "ExternalErrors" , & self . ExternalErrors ) . field ( "InputDiscontinuities" , & self . InputDiscontinuities ) . field ( "DSPFailures" , & self . DSPFailures ) . field ( "TvTunerChanges" , & self . TvTunerChanges ) . field ( "VBIHeaderChanges" , & self . VBIHeaderChanges ) . field ( "LineConfidenceAvg" , & self . LineConfidenceAvg ) . field ( "BytesOutput" , & self . BytesOutput ) . finish ( ) } } impl :: std :: cmp :: PartialEq for VBICODECFILTERING_STATISTICS_COMMON { fn eq ( & self , other : & Self ) -> bool { self . InputSRBsProcessed == other . InputSRBsProcessed && self . OutputSRBsProcessed == other . OutputSRBsProcessed && self . SRBsIgnored == other . SRBsIgnored && self . InputSRBsMissing == other . InputSRBsMissing && self . OutputSRBsMissing == other . OutputSRBsMissing && self . OutputFailures == other . OutputFailures && self . InternalErrors == other . InternalErrors && self . ExternalErrors == other . ExternalErrors && self . InputDiscontinuities == other . InputDiscontinuities && self . DSPFailures == other . DSPFailures && self . TvTunerChanges == other . TvTunerChanges && self . VBIHeaderChanges == other . VBIHeaderChanges && self . LineConfidenceAvg == other . LineConfidenceAvg && self . BytesOutput == other . BytesOutput } } impl :: std :: cmp :: Eq for VBICODECFILTERING_STATISTICS_COMMON { } unsafe impl :: windows :: Abi for VBICODECFILTERING_STATISTICS_COMMON { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct VBICODECFILTERING_STATISTICS_COMMON_PIN { pub SRBsProcessed : u32 , pub SRBsIgnored : u32 , pub SRBsMissing : u32 , pub InternalErrors : u32 , pub ExternalErrors : u32 , pub Discontinuities : u32 , pub LineConfidenceAvg : u32 , pub BytesOutput : u32 } impl VBICODECFILTERING_STATISTICS_COMMON_PIN { } impl :: std :: default :: Default for VBICODECFILTERING_STATISTICS_COMMON_PIN { fn default ( ) -> Self { Self { SRBsProcessed : 0 , SRBsIgnored : 0 , SRBsMissing : 0 , InternalErrors : 0 , ExternalErrors : 0 , Discontinuities : 0 , LineConfidenceAvg : 0 , BytesOutput : 0 } } } impl :: std :: fmt :: Debug for VBICODECFILTERING_STATISTICS_COMMON_PIN { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "VBICODECFILTERING_STATISTICS_COMMON_PIN" ) . field ( "SRBsProcessed" , & self . SRBsProcessed ) . field ( "SRBsIgnored" , & self . SRBsIgnored ) . field ( "SRBsMissing" , & self . SRBsMissing ) . field ( "InternalErrors" , & self . InternalErrors ) . field ( "ExternalErrors" , & self . ExternalErrors ) . field ( "Discontinuities" , & self . Discontinuities ) . field ( "LineConfidenceAvg" , & self . LineConfidenceAvg ) . field ( "BytesOutput" , & self . BytesOutput ) . finish ( ) } } impl :: std :: cmp :: PartialEq for VBICODECFILTERING_STATISTICS_COMMON_PIN { fn eq ( & self , other : & Self ) -> bool { self . SRBsProcessed == other . SRBsProcessed && self . SRBsIgnored == other . SRBsIgnored && self . SRBsMissing == other . SRBsMissing && self . InternalErrors == other . InternalErrors && self . ExternalErrors == other . ExternalErrors && self . Discontinuities == other . Discontinuities && self . LineConfidenceAvg == other . LineConfidenceAvg && self . BytesOutput == other . BytesOutput } } impl :: std :: cmp :: Eq for VBICODECFILTERING_STATISTICS_COMMON_PIN { } unsafe impl :: windows :: Abi for VBICODECFILTERING_STATISTICS_COMMON_PIN { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct VBICODECFILTERING_STATISTICS_NABTS { pub Common : VBICODECFILTERING_STATISTICS_COMMON , pub FECBundleBadLines : u32 , pub FECQueueOverflows : u32 , pub FECCorrectedLines : u32 , pub FECUncorrectableLines : u32 , pub BundlesProcessed : u32 , pub BundlesSent2IP : u32 , pub FilteredLines : u32 } impl VBICODECFILTERING_STATISTICS_NABTS { } impl :: std :: default :: Default for VBICODECFILTERING_STATISTICS_NABTS { fn default ( ) -> Self { Self { Common : :: std :: default :: Default :: default ( ) , FECBundleBadLines : 0 , FECQueueOverflows : 0 , FECCorrectedLines : 0 , FECUncorrectableLines : 0 , BundlesProcessed : 0 , BundlesSent2IP : 0 , FilteredLines : 0 } } } impl :: std :: fmt :: Debug for VBICODECFILTERING_STATISTICS_NABTS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "VBICODECFILTERING_STATISTICS_NABTS" ) . field ( "Common" , & self . Common ) . field ( "FECBundleBadLines" , & self . FECBundleBadLines ) . field ( "FECQueueOverflows" , & self . FECQueueOverflows ) . field ( "FECCorrectedLines" , & self . FECCorrectedLines ) . field ( "FECUncorrectableLines" , & self . FECUncorrectableLines ) . field ( "BundlesProcessed" , & self . BundlesProcessed ) . field ( "BundlesSent2IP" , & self . BundlesSent2IP ) . field ( "FilteredLines" , & self . FilteredLines ) . finish ( ) } } impl :: std :: cmp :: PartialEq for VBICODECFILTERING_STATISTICS_NABTS { fn eq ( & self , other : & Self ) -> bool { self . Common == other . Common && self . FECBundleBadLines == other . FECBundleBadLines && self . FECQueueOverflows == other . FECQueueOverflows && self . FECCorrectedLines == other . FECCorrectedLines && self . FECUncorrectableLines == other . FECUncorrectableLines && self . BundlesProcessed == other . BundlesProcessed && self . BundlesSent2IP == other . BundlesSent2IP && self . FilteredLines == other . FilteredLines } } impl :: std :: cmp :: Eq for VBICODECFILTERING_STATISTICS_NABTS { } unsafe impl :: windows :: Abi for VBICODECFILTERING_STATISTICS_NABTS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct VBICODECFILTERING_STATISTICS_NABTS_PIN { pub Common : VBICODECFILTERING_STATISTICS_COMMON_PIN } impl VBICODECFILTERING_STATISTICS_NABTS_PIN { } impl :: std :: default :: Default for VBICODECFILTERING_STATISTICS_NABTS_PIN { fn default ( ) -> Self { Self { Common : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for VBICODECFILTERING_STATISTICS_NABTS_PIN { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "VBICODECFILTERING_STATISTICS_NABTS_PIN" ) . field ( "Common" , & self . Common ) . finish ( ) } } impl :: std :: cmp :: PartialEq for VBICODECFILTERING_STATISTICS_NABTS_PIN { fn eq ( & self , other : & Self ) -> bool { self . Common == other . Common } } impl :: std :: cmp :: Eq for VBICODECFILTERING_STATISTICS_NABTS_PIN { } unsafe impl :: windows :: Abi for VBICODECFILTERING_STATISTICS_NABTS_PIN { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct VBICODECFILTERING_STATISTICS_TELETEXT { pub Common : VBICODECFILTERING_STATISTICS_COMMON } impl VBICODECFILTERING_STATISTICS_TELETEXT { } impl :: std :: default :: Default for VBICODECFILTERING_STATISTICS_TELETEXT { fn default ( ) -> Self { Self { Common : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for VBICODECFILTERING_STATISTICS_TELETEXT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "VBICODECFILTERING_STATISTICS_TELETEXT" ) . field ( "Common" , & self . Common ) . finish ( ) } } impl :: std :: cmp :: PartialEq for VBICODECFILTERING_STATISTICS_TELETEXT { fn eq ( & self , other : & Self ) -> bool { self . Common == other . Common } } impl :: std :: cmp :: Eq for VBICODECFILTERING_STATISTICS_TELETEXT { } unsafe impl :: windows :: Abi for VBICODECFILTERING_STATISTICS_TELETEXT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct VBICODECFILTERING_STATISTICS_TELETEXT_PIN { pub Common : VBICODECFILTERING_STATISTICS_COMMON_PIN } impl VBICODECFILTERING_STATISTICS_TELETEXT_PIN { } impl :: std :: default :: Default for VBICODECFILTERING_STATISTICS_TELETEXT_PIN { fn default ( ) -> Self { Self { Common : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for VBICODECFILTERING_STATISTICS_TELETEXT_PIN { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "VBICODECFILTERING_STATISTICS_TELETEXT_PIN" ) . field ( "Common" , & self . Common ) . finish ( ) } } impl :: std :: cmp :: PartialEq for VBICODECFILTERING_STATISTICS_TELETEXT_PIN { fn eq ( & self , other : & Self ) -> bool { self . Common == other . Common } } impl :: std :: cmp :: Eq for VBICODECFILTERING_STATISTICS_TELETEXT_PIN { } unsafe impl :: windows :: Abi for VBICODECFILTERING_STATISTICS_TELETEXT_PIN { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct VRAM_SURFACE_INFO { pub hSurface : usize , pub VramPhysicalAddress : i64 , pub cbCaptured : u32 , pub dwWidth : u32 , pub dwHeight : u32 , pub dwLinearSize : u32 , pub lPitch : i32 , pub ullReserved : [ u64 ;16 ] } impl VRAM_SURFACE_INFO { } impl :: std :: default :: Default for VRAM_SURFACE_INFO { fn default ( ) -> Self { Self { hSurface : 0 , VramPhysicalAddress : 0 , cbCaptured : 0 , dwWidth : 0 , dwHeight : 0 , dwLinearSize : 0 , lPitch : 0 , ullReserved : [ 0 ;16 ] } } } impl :: std :: fmt :: Debug for VRAM_SURFACE_INFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "VRAM_SURFACE_INFO" ) . field ( "hSurface" , & self . hSurface ) . field ( "VramPhysicalAddress" , & self . VramPhysicalAddress ) . field ( "cbCaptured" , & self . cbCaptured ) . field ( "dwWidth" , & self . dwWidth ) . field ( "dwHeight" , & self . dwHeight ) . field ( "dwLinearSize" , & self . dwLinearSize ) . field ( "lPitch" , & self . lPitch ) . field ( "ullReserved" , & self . ullReserved ) . finish ( ) } } impl :: std :: cmp :: PartialEq for VRAM_SURFACE_INFO { fn eq ( & self , other : & Self ) -> bool { self . hSurface == other . hSurface && self . VramPhysicalAddress == other . VramPhysicalAddress && self . cbCaptured == other . cbCaptured && self . dwWidth == other . dwWidth && self . dwHeight == other . dwHeight && self . dwLinearSize == other . dwLinearSize && self . lPitch == other . lPitch && self . ullReserved == other . ullReserved } } impl :: std :: cmp :: Eq for VRAM_SURFACE_INFO { } unsafe impl :: windows :: Abi for VRAM_SURFACE_INFO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct VRAM_SURFACE_INFO_PROPERTY_S { pub Property : KSIDENTIFIER , pub pVramSurfaceInfo : * mut VRAM_SURFACE_INFO } impl VRAM_SURFACE_INFO_PROPERTY_S { } impl :: std :: cmp :: PartialEq for VRAM_SURFACE_INFO_PROPERTY_S { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for VRAM_SURFACE_INFO_PROPERTY_S { } unsafe impl :: windows :: Abi for VRAM_SURFACE_INFO_PROPERTY_S { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 1 ) ) ] pub struct WAVEFORMATEXTENSIBLE_IEC61937 { pub FormatExt : super::super::Multimedia:: WAVEFORMATEXTENSIBLE , pub dwEncodedSamplesPerSec : u32 , pub dwEncodedChannelCount : u32 , pub dwAverageBytesPerSec : u32 } impl WAVEFORMATEXTENSIBLE_IEC61937 { } impl :: std :: cmp :: PartialEq for WAVEFORMATEXTENSIBLE_IEC61937 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for WAVEFORMATEXTENSIBLE_IEC61937 { } unsafe impl :: windows :: Abi for WAVEFORMATEXTENSIBLE_IEC61937 { type Abi = Self ; type DefaultType = Self ; } pub const WAVE_FORMAT_EXTENSIBLE : u32 = 65534u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct WNF_KSCAMERA_STREAMSTATE_INFO { pub ProcessId : u32 , pub SessionId : u32 , pub StreamState : u32 , pub Reserved : u32 } impl WNF_KSCAMERA_STREAMSTATE_INFO { } impl :: std :: default :: Default for WNF_KSCAMERA_STREAMSTATE_INFO { fn default ( ) -> Self { Self { ProcessId : 0 , SessionId : 0 , StreamState : 0 , Reserved : 0 } } } impl :: std :: fmt :: Debug for WNF_KSCAMERA_STREAMSTATE_INFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "WNF_KSCAMERA_STREAMSTATE_INFO" ) . field ( "ProcessId" , & self . ProcessId ) . field ( "SessionId" , & self . SessionId ) . field ( "StreamState" , & self . StreamState ) . field ( "Reserved" , & self . Reserved ) . finish ( ) } } impl :: std :: cmp :: PartialEq for WNF_KSCAMERA_STREAMSTATE_INFO { fn eq ( & self , other : & Self ) -> bool { self . ProcessId == other . ProcessId && self . SessionId == other . SessionId && self . StreamState == other . StreamState && self . Reserved == other . Reserved } } impl :: std :: cmp :: Eq for WNF_KSCAMERA_STREAMSTATE_INFO { } unsafe impl :: windows :: Abi for WNF_KSCAMERA_STREAMSTATE_INFO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct WST_BUFFER { pub ScanlinesRequested : VBICODECFILTERING_SCANLINES , pub WstLines : [ WST_BUFFER_LINE ;17 ] } impl WST_BUFFER { } impl :: std :: default :: Default for WST_BUFFER { fn default ( ) -> Self { Self { ScanlinesRequested : :: std :: default :: Default :: default ( ) , WstLines : [ :: std :: default :: Default :: default ( ) ;17 ] } } } impl :: std :: fmt :: Debug for WST_BUFFER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "WST_BUFFER" ) . field ( "ScanlinesRequested" , & self . ScanlinesRequested ) . field ( "WstLines" , & self . WstLines ) . finish ( ) } } impl :: std :: cmp :: PartialEq for WST_BUFFER { fn eq ( & self , other : & Self ) -> bool { self . ScanlinesRequested == other . ScanlinesRequested && self . WstLines == other . WstLines } } impl :: std :: cmp :: Eq for WST_BUFFER { } unsafe impl :: windows :: Abi for WST_BUFFER { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct WST_BUFFER_LINE { pub Confidence : u8 , pub Bytes : [ u8 ;42 ] } impl WST_BUFFER_LINE { } impl :: std :: default :: Default for WST_BUFFER_LINE { fn default ( ) -> Self { Self { Confidence : 0 , Bytes : [ 0 ;42 ] } } } impl :: std :: fmt :: Debug for WST_BUFFER_LINE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "WST_BUFFER_LINE" ) . field ( "Confidence" , & self . Confidence ) . field ( "Bytes" , & self . Bytes ) . finish ( ) } } impl :: std :: cmp :: PartialEq for WST_BUFFER_LINE { fn eq ( & self , other : & Self ) -> bool { self . Confidence == other . Confidence && self . Bytes == other . Bytes } } impl :: std :: cmp :: Eq for WST_BUFFER_LINE { } unsafe impl :: windows :: Abi for WST_BUFFER_LINE { type Abi = Self ; type DefaultType = Self ; } pub const WST_BYTES_PER_LINE : u32 = 42u32 ; pub const WST_TVTUNER_CHANGE_BEGIN_TUNE : i32 = 4096i32 ; pub const WST_TVTUNER_CHANGE_END_TUNE : i32 = 8192i32 ; pub type YIELDPROC = unsafe extern "system" fn ( mciid : u32 , dwyielddata : u32 ) -> u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct _AUDCLNT_BUFFERFLAGS ( pub i32 ) ; pub const AUDCLNT_BUFFERFLAGS_DATA_DISCONTINUITY : _AUDCLNT_BUFFERFLAGS = _AUDCLNT_BUFFERFLAGS ( 1i32 ) ; pub const AUDCLNT_BUFFERFLAGS_SILENT : _AUDCLNT_BUFFERFLAGS = _AUDCLNT_BUFFERFLAGS ( 2i32 ) ; pub const AUDCLNT_BUFFERFLAGS_TIMESTAMP_ERROR : _AUDCLNT_BUFFERFLAGS = _AUDCLNT_BUFFERFLAGS ( 4i32 ) ; impl :: std :: convert :: From < i32 > for _AUDCLNT_BUFFERFLAGS { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for _AUDCLNT_BUFFERFLAGS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct _KSAUDIO_PACKETSIZE_SIGNALPROCESSINGMODE_CONSTRAINT { pub ProcessingMode : :: windows :: Guid , pub SamplesPerProcessingPacket : u32 , pub ProcessingPacketDurationInHns : u32 } impl _KSAUDIO_PACKETSIZE_SIGNALPROCESSINGMODE_CONSTRAINT { } impl :: std :: default :: Default for _KSAUDIO_PACKETSIZE_SIGNALPROCESSINGMODE_CONSTRAINT { fn default ( ) -> Self { Self { ProcessingMode : :: std :: default :: Default :: default ( ) , SamplesPerProcessingPacket : 0 , ProcessingPacketDurationInHns : 0 } } } impl :: std :: fmt :: Debug for _KSAUDIO_PACKETSIZE_SIGNALPROCESSINGMODE_CONSTRAINT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_KSAUDIO_PACKETSIZE_SIGNALPROCESSINGMODE_CONSTRAINT" ) . field ( "ProcessingMode" , & self . ProcessingMode ) . field ( "SamplesPerProcessingPacket" , & self . SamplesPerProcessingPacket ) . field ( "ProcessingPacketDurationInHns" , & self . ProcessingPacketDurationInHns ) . finish ( ) } } impl :: std :: cmp :: PartialEq for _KSAUDIO_PACKETSIZE_SIGNALPROCESSINGMODE_CONSTRAINT { fn eq ( & self , other : & Self ) -> bool { self . ProcessingMode == other . ProcessingMode && self . SamplesPerProcessingPacket == other . SamplesPerProcessingPacket && self . ProcessingPacketDurationInHns == other . ProcessingPacketDurationInHns } } impl :: std :: cmp :: Eq for _KSAUDIO_PACKETSIZE_SIGNALPROCESSINGMODE_CONSTRAINT { } unsafe impl :: windows :: Abi for _KSAUDIO_PACKETSIZE_SIGNALPROCESSINGMODE_CONSTRAINT { 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 _TunerDecoderLockType ( pub i32 ) ; pub const Tuner_LockType_None : _TunerDecoderLockType = _TunerDecoderLockType ( 0i32 ) ; pub const Tuner_LockType_Within_Scan_Sensing_Range : _TunerDecoderLockType = _TunerDecoderLockType ( 1i32 ) ; pub const Tuner_LockType_Locked : _TunerDecoderLockType = _TunerDecoderLockType ( 2i32 ) ; impl :: std :: convert :: From < i32 > for _TunerDecoderLockType { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for _TunerDecoderLockType { type Abi = Self ; type DefaultType = Self ; } pub unsafe fn mciDriverNotify < 'a , > ( hwndcallback : impl :: windows :: IntoParam < 'a , super::super::super::Foundation:: HANDLE > , wdeviceid : u32 , ustatus : u32 , ) -> super::super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="WINMM" ) ] extern "system" { fn mciDriverNotify ( hwndcallback : super::super::super::Foundation:: HANDLE , wdeviceid : u32 , ustatus : u32 ) -> super::super::super::Foundation:: BOOL ; } mciDriverNotify ( hwndcallback . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( wdeviceid ) , :: std :: mem :: transmute ( ustatus ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn mciDriverYield < > ( wdeviceid : u32 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="WINMM" ) ] extern "system" { fn mciDriverYield ( wdeviceid : u32 ) -> u32 ; } mciDriverYield ( :: std :: mem :: transmute ( wdeviceid ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn mciFreeCommandResource < > ( wtable : u32 , ) -> super::super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="WINMM" ) ] extern "system" { fn mciFreeCommandResource ( wtable : u32 ) -> super::super::super::Foundation:: BOOL ; } mciFreeCommandResource ( :: std :: mem :: transmute ( wtable ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn mciGetCreatorTask < > ( mciid : u32 , ) -> HTASK { # [ cfg ( windows ) ] { # [ link ( name ="WINMM" ) ] extern "system" { fn mciGetCreatorTask ( mciid : u32 ) -> HTASK ; } mciGetCreatorTask ( :: std :: mem :: transmute ( mciid ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn mciGetDeviceIDA < 'a , > ( pszdevice : impl :: windows :: IntoParam < 'a , super::super::super::Foundation:: PSTR > , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="WINMM" ) ] extern "system" { fn mciGetDeviceIDA ( pszdevice : super::super::super::Foundation:: PSTR ) -> u32 ; } mciGetDeviceIDA ( pszdevice . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn mciGetDeviceIDFromElementIDA < 'a , > ( dwelementid : u32 , lpstrtype : impl :: windows :: IntoParam < 'a , super::super::super::Foundation:: PSTR > , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="WINMM" ) ] extern "system" { fn mciGetDeviceIDFromElementIDA ( dwelementid : u32 , lpstrtype : super::super::super::Foundation:: PSTR ) -> u32 ; } mciGetDeviceIDFromElementIDA ( :: std :: mem :: transmute ( dwelementid ) , lpstrtype . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn mciGetDeviceIDFromElementIDW < 'a , > ( dwelementid : u32 , lpstrtype : impl :: windows :: IntoParam < 'a , super::super::super::Foundation:: PWSTR > , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="WINMM" ) ] extern "system" { fn mciGetDeviceIDFromElementIDW ( dwelementid : u32 , lpstrtype : super::super::super::Foundation:: PWSTR ) -> u32 ; } mciGetDeviceIDFromElementIDW ( :: std :: mem :: transmute ( dwelementid ) , lpstrtype . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn mciGetDeviceIDW < 'a , > ( pszdevice : impl :: windows :: IntoParam < 'a , super::super::super::Foundation:: PWSTR > , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="WINMM" ) ] extern "system" { fn mciGetDeviceIDW ( pszdevice : super::super::super::Foundation:: PWSTR ) -> u32 ; } mciGetDeviceIDW ( pszdevice . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn mciGetDriverData < > ( wdeviceid : u32 , ) -> usize { # [ cfg ( windows ) ] { # [ link ( name ="WINMM" ) ] extern "system" { fn mciGetDriverData ( wdeviceid : u32 ) -> usize ; } mciGetDriverData ( :: std :: mem :: transmute ( wdeviceid ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn mciGetErrorStringA < > ( mcierr : u32 , psztext : super::super::super::Foundation:: PSTR , cchtext : u32 , ) -> super::super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="WINMM" ) ] extern "system" { fn mciGetErrorStringA ( mcierr : u32 , psztext : super::super::super::Foundation:: PSTR , cchtext : u32 ) -> super::super::super::Foundation:: BOOL ; } mciGetErrorStringA ( :: std :: mem :: transmute ( mcierr ) , :: std :: mem :: transmute ( psztext ) , :: std :: mem :: transmute ( cchtext ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn mciGetErrorStringW < > ( mcierr : u32 , psztext : super::super::super::Foundation:: PWSTR , cchtext : u32 , ) -> super::super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="WINMM" ) ] extern "system" { fn mciGetErrorStringW ( mcierr : u32 , psztext : super::super::super::Foundation:: PWSTR , cchtext : u32 ) -> super::super::super::Foundation:: BOOL ; } mciGetErrorStringW ( :: std :: mem :: transmute ( mcierr ) , :: std :: mem :: transmute ( psztext ) , :: std :: mem :: transmute ( cchtext ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn mciGetYieldProc < > ( mciid : u32 , pdwyielddata : * mut u32 , ) -> :: std :: option :: Option < YIELDPROC > { # [ cfg ( windows ) ] { # [ link ( name ="WINMM" ) ] extern "system" { fn mciGetYieldProc ( mciid : u32 , pdwyielddata : * mut u32 ) -> :: std :: option :: Option < YIELDPROC > ; } mciGetYieldProc ( :: std :: mem :: transmute ( mciid ) , :: std :: mem :: transmute ( pdwyielddata ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn mciLoadCommandResource < 'a , > ( hinstance : impl :: windows :: IntoParam < 'a , super::super::super::Foundation:: HANDLE > , lpresname : impl :: windows :: IntoParam < 'a , super::super::super::Foundation:: PWSTR > , wtype : u32 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="WINMM" ) ] extern "system" { fn mciLoadCommandResource ( hinstance : super::super::super::Foundation:: HANDLE , lpresname : super::super::super::Foundation:: PWSTR , wtype : u32 ) -> u32 ; } mciLoadCommandResource ( hinstance . into_param ( ) . abi ( ) , lpresname . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( wtype ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn mciSendCommandA < > ( mciid : u32 , umsg : u32 , dwparam1 : usize , dwparam2 : usize , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="WINMM" ) ] extern "system" { fn mciSendCommandA ( mciid : u32 , umsg : u32 , dwparam1 : usize , dwparam2 : usize ) -> u32 ; } mciSendCommandA ( :: std :: mem :: transmute ( mciid ) , :: std :: mem :: transmute ( umsg ) , :: std :: mem :: transmute ( dwparam1 ) , :: std :: mem :: transmute ( dwparam2 ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn mciSendCommandW < > ( mciid : u32 , umsg : u32 , dwparam1 : usize , dwparam2 : usize , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="WINMM" ) ] extern "system" { fn mciSendCommandW ( mciid : u32 , umsg : u32 , dwparam1 : usize , dwparam2 : usize ) -> u32 ; } mciSendCommandW ( :: std :: mem :: transmute ( mciid ) , :: std :: mem :: transmute ( umsg ) , :: std :: mem :: transmute ( dwparam1 ) , :: std :: mem :: transmute ( dwparam2 ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn mciSendStringA < 'a , > ( lpstrcommand : impl :: windows :: IntoParam < 'a , super::super::super::Foundation:: PSTR > , lpstrreturnstring : super::super::super::Foundation:: PSTR , ureturnlength : u32 , hwndcallback : impl :: windows :: IntoParam < 'a , super::super::super::Foundation:: HWND > , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="WINMM" ) ] extern "system" { fn mciSendStringA ( lpstrcommand : super::super::super::Foundation:: PSTR , lpstrreturnstring : super::super::super::Foundation:: PSTR , ureturnlength : u32 , hwndcallback : super::super::super::Foundation:: HWND ) -> u32 ; } mciSendStringA ( lpstrcommand . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpstrreturnstring ) , :: std :: mem :: transmute ( ureturnlength ) , hwndcallback . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn mciSendStringW < 'a , > ( lpstrcommand : impl :: windows :: IntoParam < 'a , super::super::super::Foundation:: PWSTR > , lpstrreturnstring : super::super::super::Foundation:: PWSTR , ureturnlength : u32 , hwndcallback : impl :: windows :: IntoParam < 'a , super::super::super::Foundation:: HWND > , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="WINMM" ) ] extern "system" { fn mciSendStringW ( lpstrcommand : super::super::super::Foundation:: PWSTR , lpstrreturnstring : super::super::super::Foundation:: PWSTR , ureturnlength : u32 , hwndcallback : super::super::super::Foundation:: HWND ) -> u32 ; } mciSendStringW ( lpstrcommand . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpstrreturnstring ) , :: std :: mem :: transmute ( ureturnlength ) , hwndcallback . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn mciSetDriverData < > ( wdeviceid : u32 , dwdata : usize , ) -> super::super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="WINMM" ) ] extern "system" { fn mciSetDriverData ( wdeviceid : u32 , dwdata : usize ) -> super::super::super::Foundation:: BOOL ; } mciSetDriverData ( :: std :: mem :: transmute ( wdeviceid ) , :: std :: mem :: transmute ( dwdata ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn mciSetYieldProc < > ( mciid : u32 , fpyieldproc : :: std :: option :: Option < YIELDPROC > , dwyielddata : u32 , ) -> super::super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="WINMM" ) ] extern "system" { fn mciSetYieldProc ( mciid : u32 , fpyieldproc : :: windows :: RawPtr , dwyielddata : u32 ) -> super::super::super::Foundation:: BOOL ; } mciSetYieldProc ( :: std :: mem :: transmute ( mciid ) , :: std :: mem :: transmute ( fpyieldproc ) , :: std :: mem :: transmute ( dwyielddata ) ) } # [ 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 Multimedia { # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 1 ) ) ] pub struct WAVEFORMATEX { pub wFormatTag : u16 , pub nChannels : u16 , pub nSamplesPerSec : u32 , pub nAvgBytesPerSec : u32 , pub nBlockAlign : u16 , pub wBitsPerSample : u16 , pub cbSize : u16 } impl WAVEFORMATEX { } impl :: std :: cmp :: PartialEq for WAVEFORMATEX { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for WAVEFORMATEX { } unsafe impl :: windows :: Abi for WAVEFORMATEX { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 1 ) ) ] pub struct WAVEFORMATEXTENSIBLE { pub Format : WAVEFORMATEX , pub Samples : WAVEFORMATEXTENSIBLE_0 , pub dwChannelMask : u32 , pub SubFormat : :: windows :: Guid } impl WAVEFORMATEXTENSIBLE { } impl :: std :: cmp :: PartialEq for WAVEFORMATEXTENSIBLE { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for WAVEFORMATEXTENSIBLE { } unsafe impl :: windows :: Abi for WAVEFORMATEXTENSIBLE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 1 ) ) ] pub union WAVEFORMATEXTENSIBLE_0 { pub wValidBitsPerSample : u16 , pub wSamplesPerBlock : u16 , pub wReserved : u16 } impl WAVEFORMATEXTENSIBLE_0 { } impl :: std :: cmp :: PartialEq for WAVEFORMATEXTENSIBLE_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for WAVEFORMATEXTENSIBLE_0 { } unsafe impl :: windows :: Abi for WAVEFORMATEXTENSIBLE_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 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 :: 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 { # [ 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 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 :: 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 type LPOVERLAPPED_COMPLETION_ROUTINE = unsafe extern "system" fn ( dwerrorcode : u32 , dwnumberofbytestransfered : u32 , lpoverlapped : * mut super::super::System::SystemServices:: OVERLAPPED ) ; # [ 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 :: 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 ; } # [ 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 :: 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 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 ; } # [ 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 :: 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 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_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 ; } # [ 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 ) } } } # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod StructuredStorage { # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CABOOL { pub cElems : u32 , pub pElems : * mut i16 } impl CABOOL { } impl :: std :: default :: Default for CABOOL { fn default ( ) -> Self { Self { cElems : 0 , pElems : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for CABOOL { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CABOOL" ) . field ( "cElems" , & self . cElems ) . field ( "pElems" , & self . pElems ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CABOOL { fn eq ( & self , other : & Self ) -> bool { self . cElems == other . cElems && self . pElems == other . pElems } } impl :: std :: cmp :: Eq for CABOOL { } unsafe impl :: windows :: Abi for CABOOL { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CABSTR { pub cElems : u32 , pub pElems : * mut super::super::Foundation:: BSTR } impl CABSTR { } impl :: std :: default :: Default for CABSTR { fn default ( ) -> Self { Self { cElems : 0 , pElems : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for CABSTR { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CABSTR" ) . field ( "cElems" , & self . cElems ) . field ( "pElems" , & self . pElems ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CABSTR { fn eq ( & self , other : & Self ) -> bool { self . cElems == other . cElems && self . pElems == other . pElems } } impl :: std :: cmp :: Eq for CABSTR { } unsafe impl :: windows :: Abi for CABSTR { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CABSTRBLOB { pub cElems : u32 , pub pElems : * mut super::super::System::SystemServices:: BSTRBLOB } impl CABSTRBLOB { } impl :: std :: default :: Default for CABSTRBLOB { fn default ( ) -> Self { Self { cElems : 0 , pElems : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for CABSTRBLOB { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CABSTRBLOB" ) . field ( "cElems" , & self . cElems ) . field ( "pElems" , & self . pElems ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CABSTRBLOB { fn eq ( & self , other : & Self ) -> bool { self . cElems == other . cElems && self . pElems == other . pElems } } impl :: std :: cmp :: Eq for CABSTRBLOB { } unsafe impl :: windows :: Abi for CABSTRBLOB { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CAC { pub cElems : u32 , pub pElems : super::super::Foundation:: PSTR } impl CAC { } impl :: std :: default :: Default for CAC { fn default ( ) -> Self { Self { cElems : 0 , pElems : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for CAC { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CAC" ) . field ( "cElems" , & self . cElems ) . field ( "pElems" , & self . pElems ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CAC { fn eq ( & self , other : & Self ) -> bool { self . cElems == other . cElems && self . pElems == other . pElems } } impl :: std :: cmp :: Eq for CAC { } unsafe impl :: windows :: Abi for CAC { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CACLIPDATA { pub cElems : u32 , pub pElems : * mut super::super::System::SystemServices:: CLIPDATA } impl CACLIPDATA { } impl :: std :: default :: Default for CACLIPDATA { fn default ( ) -> Self { Self { cElems : 0 , pElems : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for CACLIPDATA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CACLIPDATA" ) . field ( "cElems" , & self . cElems ) . field ( "pElems" , & self . pElems ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CACLIPDATA { fn eq ( & self , other : & Self ) -> bool { self . cElems == other . cElems && self . pElems == other . pElems } } impl :: std :: cmp :: Eq for CACLIPDATA { } unsafe impl :: windows :: Abi for CACLIPDATA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CACLSID { pub cElems : u32 , pub pElems : * mut :: windows :: Guid } impl CACLSID { } impl :: std :: default :: Default for CACLSID { fn default ( ) -> Self { Self { cElems : 0 , pElems : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for CACLSID { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CACLSID" ) . field ( "cElems" , & self . cElems ) . field ( "pElems" , & self . pElems ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CACLSID { fn eq ( & self , other : & Self ) -> bool { self . cElems == other . cElems && self . pElems == other . pElems } } impl :: std :: cmp :: Eq for CACLSID { } unsafe impl :: windows :: Abi for CACLSID { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CACY { pub cElems : u32 , pub pElems : * mut super::super::System::SystemServices:: CY } impl CACY { } impl :: std :: default :: Default for CACY { fn default ( ) -> Self { Self { cElems : 0 , pElems : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for CACY { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CACY" ) . field ( "cElems" , & self . cElems ) . field ( "pElems" , & self . pElems ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CACY { fn eq ( & self , other : & Self ) -> bool { self . cElems == other . cElems && self . pElems == other . pElems } } impl :: std :: cmp :: Eq for CACY { } unsafe impl :: windows :: Abi for CACY { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CADATE { pub cElems : u32 , pub pElems : * mut f64 } impl CADATE { } impl :: std :: default :: Default for CADATE { fn default ( ) -> Self { Self { cElems : 0 , pElems : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for CADATE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CADATE" ) . field ( "cElems" , & self . cElems ) . field ( "pElems" , & self . pElems ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CADATE { fn eq ( & self , other : & Self ) -> bool { self . cElems == other . cElems && self . pElems == other . pElems } } impl :: std :: cmp :: Eq for CADATE { } unsafe impl :: windows :: Abi for CADATE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CADBL { pub cElems : u32 , pub pElems : * mut f64 } impl CADBL { } impl :: std :: default :: Default for CADBL { fn default ( ) -> Self { Self { cElems : 0 , pElems : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for CADBL { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CADBL" ) . field ( "cElems" , & self . cElems ) . field ( "pElems" , & self . pElems ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CADBL { fn eq ( & self , other : & Self ) -> bool { self . cElems == other . cElems && self . pElems == other . pElems } } impl :: std :: cmp :: Eq for CADBL { } unsafe impl :: windows :: Abi for CADBL { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CAFILETIME { pub cElems : u32 , pub pElems : * mut super::super::Foundation:: FILETIME } impl CAFILETIME { } impl :: std :: default :: Default for CAFILETIME { fn default ( ) -> Self { Self { cElems : 0 , pElems : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for CAFILETIME { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CAFILETIME" ) . field ( "cElems" , & self . cElems ) . field ( "pElems" , & self . pElems ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CAFILETIME { fn eq ( & self , other : & Self ) -> bool { self . cElems == other . cElems && self . pElems == other . pElems } } impl :: std :: cmp :: Eq for CAFILETIME { } unsafe impl :: windows :: Abi for CAFILETIME { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CAFLT { pub cElems : u32 , pub pElems : * mut f32 } impl CAFLT { } impl :: std :: default :: Default for CAFLT { fn default ( ) -> Self { Self { cElems : 0 , pElems : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for CAFLT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CAFLT" ) . field ( "cElems" , & self . cElems ) . field ( "pElems" , & self . pElems ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CAFLT { fn eq ( & self , other : & Self ) -> bool { self . cElems == other . cElems && self . pElems == other . pElems } } impl :: std :: cmp :: Eq for CAFLT { } unsafe impl :: windows :: Abi for CAFLT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CAH { pub cElems : u32 , pub pElems : * mut i64 } impl CAH { } impl :: std :: default :: Default for CAH { fn default ( ) -> Self { Self { cElems : 0 , pElems : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for CAH { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CAH" ) . field ( "cElems" , & self . cElems ) . field ( "pElems" , & self . pElems ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CAH { fn eq ( & self , other : & Self ) -> bool { self . cElems == other . cElems && self . pElems == other . pElems } } impl :: std :: cmp :: Eq for CAH { } unsafe impl :: windows :: Abi for CAH { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CAI { pub cElems : u32 , pub pElems : * mut i16 } impl CAI { } impl :: std :: default :: Default for CAI { fn default ( ) -> Self { Self { cElems : 0 , pElems : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for CAI { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CAI" ) . field ( "cElems" , & self . cElems ) . field ( "pElems" , & self . pElems ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CAI { fn eq ( & self , other : & Self ) -> bool { self . cElems == other . cElems && self . pElems == other . pElems } } impl :: std :: cmp :: Eq for CAI { } unsafe impl :: windows :: Abi for CAI { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CAL { pub cElems : u32 , pub pElems : * mut i32 } impl CAL { } impl :: std :: default :: Default for CAL { fn default ( ) -> Self { Self { cElems : 0 , pElems : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for CAL { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CAL" ) . field ( "cElems" , & self . cElems ) . field ( "pElems" , & self . pElems ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CAL { fn eq ( & self , other : & Self ) -> bool { self . cElems == other . cElems && self . pElems == other . pElems } } impl :: std :: cmp :: Eq for CAL { } unsafe impl :: windows :: Abi for CAL { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CALPSTR { pub cElems : u32 , pub pElems : * mut super::super::Foundation:: PSTR } impl CALPSTR { } impl :: std :: default :: Default for CALPSTR { fn default ( ) -> Self { Self { cElems : 0 , pElems : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for CALPSTR { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CALPSTR" ) . field ( "cElems" , & self . cElems ) . field ( "pElems" , & self . pElems ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CALPSTR { fn eq ( & self , other : & Self ) -> bool { self . cElems == other . cElems && self . pElems == other . pElems } } impl :: std :: cmp :: Eq for CALPSTR { } unsafe impl :: windows :: Abi for CALPSTR { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CALPWSTR { pub cElems : u32 , pub pElems : * mut super::super::Foundation:: PWSTR } impl CALPWSTR { } impl :: std :: default :: Default for CALPWSTR { fn default ( ) -> Self { Self { cElems : 0 , pElems : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for CALPWSTR { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CALPWSTR" ) . field ( "cElems" , & self . cElems ) . field ( "pElems" , & self . pElems ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CALPWSTR { fn eq ( & self , other : & Self ) -> bool { self . cElems == other . cElems && self . pElems == other . pElems } } impl :: std :: cmp :: Eq for CALPWSTR { } unsafe impl :: windows :: Abi for CALPWSTR { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CAPROPVARIANT { pub cElems : u32 , pub pElems : * mut PROPVARIANT } impl CAPROPVARIANT { } impl :: std :: default :: Default for CAPROPVARIANT { fn default ( ) -> Self { Self { cElems : 0 , pElems : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for CAPROPVARIANT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CAPROPVARIANT" ) . field ( "cElems" , & self . cElems ) . field ( "pElems" , & self . pElems ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CAPROPVARIANT { fn eq ( & self , other : & Self ) -> bool { self . cElems == other . cElems && self . pElems == other . pElems } } impl :: std :: cmp :: Eq for CAPROPVARIANT { } unsafe impl :: windows :: Abi for CAPROPVARIANT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CASCODE { pub cElems : u32 , pub pElems : * mut i32 } impl CASCODE { } impl :: std :: default :: Default for CASCODE { fn default ( ) -> Self { Self { cElems : 0 , pElems : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for CASCODE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CASCODE" ) . field ( "cElems" , & self . cElems ) . field ( "pElems" , & self . pElems ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CASCODE { fn eq ( & self , other : & Self ) -> bool { self . cElems == other . cElems && self . pElems == other . pElems } } impl :: std :: cmp :: Eq for CASCODE { } unsafe impl :: windows :: Abi for CASCODE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CAUB { pub cElems : u32 , pub pElems : * mut u8 } impl CAUB { } impl :: std :: default :: Default for CAUB { fn default ( ) -> Self { Self { cElems : 0 , pElems : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for CAUB { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CAUB" ) . field ( "cElems" , & self . cElems ) . field ( "pElems" , & self . pElems ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CAUB { fn eq ( & self , other : & Self ) -> bool { self . cElems == other . cElems && self . pElems == other . pElems } } impl :: std :: cmp :: Eq for CAUB { } unsafe impl :: windows :: Abi for CAUB { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CAUH { pub cElems : u32 , pub pElems : * mut u64 } impl CAUH { } impl :: std :: default :: Default for CAUH { fn default ( ) -> Self { Self { cElems : 0 , pElems : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for CAUH { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CAUH" ) . field ( "cElems" , & self . cElems ) . field ( "pElems" , & self . pElems ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CAUH { fn eq ( & self , other : & Self ) -> bool { self . cElems == other . cElems && self . pElems == other . pElems } } impl :: std :: cmp :: Eq for CAUH { } unsafe impl :: windows :: Abi for CAUH { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CAUI { pub cElems : u32 , pub pElems : * mut u16 } impl CAUI { } impl :: std :: default :: Default for CAUI { fn default ( ) -> Self { Self { cElems : 0 , pElems : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for CAUI { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CAUI" ) . field ( "cElems" , & self . cElems ) . field ( "pElems" , & self . pElems ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CAUI { fn eq ( & self , other : & Self ) -> bool { self . cElems == other . cElems && self . pElems == other . pElems } } impl :: std :: cmp :: Eq for CAUI { } unsafe impl :: windows :: Abi for CAUI { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CAUL { pub cElems : u32 , pub pElems : * mut u32 } impl CAUL { } impl :: std :: default :: Default for CAUL { fn default ( ) -> Self { Self { cElems : 0 , pElems : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for CAUL { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CAUL" ) . field ( "cElems" , & self . cElems ) . field ( "pElems" , & self . pElems ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CAUL { fn eq ( & self , other : & Self ) -> bool { self . cElems == other . cElems && self . pElems == other . pElems } } impl :: std :: cmp :: Eq for CAUL { } unsafe impl :: windows :: Abi for CAUL { type Abi = Self ; type DefaultType = Self ; } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct ISequentialStream ( :: windows :: IUnknown ) ; impl ISequentialStream { pub unsafe fn Read < > ( & self , pv : * mut :: std :: ffi :: c_void , cb : u32 , pcbread : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pv ) , :: std :: mem :: transmute ( cb ) , :: std :: mem :: transmute ( pcbread ) , ) . ok ( ) } pub unsafe fn Write < > ( & self , pv : * const :: std :: ffi :: c_void , cb : u32 , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pv ) , :: std :: mem :: transmute ( cb ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } } unsafe impl :: windows :: Interface for ISequentialStream { type Vtable = ISequentialStream_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 208878128 ,10780 ,4558 , [ 173 ,229 ,0 ,170 ,0 ,68 ,119 ,61 ] , ) ; } impl :: std :: convert :: From < ISequentialStream > for :: windows :: IUnknown { fn from ( value : ISequentialStream ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & ISequentialStream > for :: windows :: IUnknown { fn from ( value : & ISequentialStream ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for ISequentialStream { 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 ISequentialStream { 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 ISequentialStream_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 , pv : * mut :: std :: ffi :: c_void , cb : u32 , pcbread : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pv : * const :: std :: ffi :: c_void , cb : u32 , pcbwritten : * mut u32 , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] # [ doc ( hidden ) ] pub struct IStorage ( :: windows :: IUnknown ) ; unsafe impl :: windows :: Interface for IStorage { type Vtable = < :: windows :: IUnknown as :: windows :: Interface > :: Vtable ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 11 ,0 ,0 , [ 192 ,0 ,0 ,0 ,0 ,0 ,0 ,70 ] , ) ; } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IStream ( :: windows :: IUnknown ) ; impl IStream { pub unsafe fn Read < > ( & self , pv : * mut :: std :: ffi :: c_void , cb : u32 , pcbread : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pv ) , :: std :: mem :: transmute ( cb ) , :: std :: mem :: transmute ( pcbread ) , ) . ok ( ) } pub unsafe fn Write < > ( & self , pv : * const :: std :: ffi :: c_void , cb : u32 , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pv ) , :: std :: mem :: transmute ( cb ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn Seek < > ( & self , dlibmove : i64 , dworigin : STREAM_SEEK , ) -> :: windows :: Result < u64 > { let mut result__ : < u64 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dlibmove ) , :: std :: mem :: transmute ( dworigin ) , & mut result__ ) . from_abi :: < u64 > ( result__ ) } pub unsafe fn SetSize < > ( & self , libnewsize : u64 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( libnewsize ) , ) . ok ( ) } pub unsafe fn CopyTo < 'a , > ( & self , pstm : impl :: windows :: IntoParam < 'a , IStream > , cb : u64 , pcbread : * mut u64 , pcbwritten : * mut u64 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , pstm . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( cb ) , :: std :: mem :: transmute ( pcbread ) , :: std :: mem :: transmute ( pcbwritten ) , ) . ok ( ) } pub unsafe fn Commit < > ( & self , grfcommitflags : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( grfcommitflags ) , ) . ok ( ) } pub unsafe fn Revert < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn LockRegion < > ( & self , liboffset : u64 , cb : u64 , dwlocktype : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( liboffset ) , :: std :: mem :: transmute ( cb ) , :: std :: mem :: transmute ( dwlocktype ) , ) . ok ( ) } pub unsafe fn UnlockRegion < > ( & self , liboffset : u64 , cb : u64 , dwlocktype : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .11 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( liboffset ) , :: std :: mem :: transmute ( cb ) , :: std :: mem :: transmute ( dwlocktype ) , ) . ok ( ) } pub unsafe fn Stat < > ( & self , pstatstg : * mut STATSTG , grfstatflag : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .12 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pstatstg ) , :: std :: mem :: transmute ( grfstatflag ) , ) . ok ( ) } pub unsafe fn Clone < > ( & self , ) -> :: windows :: Result < IStream > { let mut result__ : < IStream as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .13 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < IStream > ( result__ ) } } unsafe impl :: windows :: Interface for IStream { type Vtable = IStream_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 12 ,0 ,0 , [ 192 ,0 ,0 ,0 ,0 ,0 ,0 ,70 ] , ) ; } impl :: std :: convert :: From < IStream > for :: windows :: IUnknown { fn from ( value : IStream ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IStream > for :: windows :: IUnknown { fn from ( value : & IStream ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IStream { 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 IStream { 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 < IStream > for ISequentialStream { fn from ( value : IStream ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IStream > for ISequentialStream { fn from ( value : & IStream ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , ISequentialStream > for IStream { fn into_param ( self ) -> :: windows :: Param < 'a , ISequentialStream > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < ISequentialStream > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , ISequentialStream > for & 'a IStream { fn into_param ( self ) -> :: windows :: Param < 'a , ISequentialStream > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < ISequentialStream > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IStream_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 , pv : * mut :: std :: ffi :: c_void , cb : u32 , pcbread : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pv : * const :: std :: ffi :: c_void , cb : u32 , pcbwritten : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dlibmove : i64 , dworigin : STREAM_SEEK , plibnewposition : * mut u64 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , libnewsize : u64 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pstm : :: windows :: RawPtr , cb : u64 , pcbread : * mut u64 , pcbwritten : * mut u64 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , grfcommitflags : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , liboffset : u64 , cb : u64 , dwlocktype : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , liboffset : u64 , cb : u64 , dwlocktype : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pstatstg : * mut STATSTG , grfstatflag : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppstm : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , ) ; impl :: std :: clone :: Clone for PROPVARIANT { fn clone ( & self ) -> Self { unimplemented ! ( ) } } # [ repr ( C ) ] pub struct PROPVARIANT { pub Anonymous : PROPVARIANT_0 } impl PROPVARIANT { } impl :: std :: cmp :: PartialEq for PROPVARIANT { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for PROPVARIANT { } # [ repr ( C ) ] # [ doc ( hidden ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct PROPVARIANT_abi { pub Anonymous : PROPVARIANT_0_abi } unsafe impl :: windows :: Abi for PROPVARIANT { type Abi = PROPVARIANT_abi ; type DefaultType = Self ; } impl :: std :: clone :: Clone for PROPVARIANT_0 { fn clone ( & self ) -> Self { unimplemented ! ( ) } } # [ repr ( C ) ] pub union PROPVARIANT_0 { pub Anonymous : PROPVARIANT_0_0_abi , pub decVal : super::super::System::SystemServices:: DECIMAL } impl PROPVARIANT_0 { } impl :: std :: cmp :: PartialEq for PROPVARIANT_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for PROPVARIANT_0 { } # [ repr ( C ) ] # [ doc ( hidden ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub union PROPVARIANT_0_abi { pub Anonymous : PROPVARIANT_0_0_abi , pub decVal : super::super::System::SystemServices:: DECIMAL } unsafe impl :: windows :: Abi for PROPVARIANT_0 { type Abi = PROPVARIANT_0_abi ; type DefaultType = Self ; } impl :: std :: clone :: Clone for PROPVARIANT_0_0 { fn clone ( & self ) -> Self { unimplemented ! ( ) } } # [ repr ( C ) ] pub struct PROPVARIANT_0_0 { pub vt : u16 , pub wReserved1 : u16 , pub wReserved2 : u16 , pub wReserved3 : u16 , pub Anonymous : PROPVARIANT_0_0_0 } impl PROPVARIANT_0_0 { } impl :: std :: cmp :: PartialEq for PROPVARIANT_0_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for PROPVARIANT_0_0 { } # [ repr ( C ) ] # [ doc ( hidden ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct PROPVARIANT_0_0_abi { pub vt : u16 , pub wReserved1 : u16 , pub wReserved2 : u16 , pub wReserved3 : u16 , pub Anonymous : PROPVARIANT_0_0_0_abi } unsafe impl :: windows :: Abi for PROPVARIANT_0_0 { type Abi = PROPVARIANT_0_0_abi ; type DefaultType = Self ; } impl :: std :: clone :: Clone for PROPVARIANT_0_0_0 { fn clone ( & self ) -> Self { unimplemented ! ( ) } } # [ repr ( C ) ] pub union PROPVARIANT_0_0_0 { pub cVal : super::super::System::SystemServices:: CHAR , pub bVal : u8 , pub iVal : i16 , pub uiVal : u16 , pub lVal : i32 , pub ulVal : u32 , pub intVal : i32 , pub uintVal : u32 , pub hVal : i64 , pub uhVal : u64 , pub fltVal : f32 , pub dblVal : f64 , pub boolVal : i16 , pub __OBSOLETE__VARIANT_BOOL : i16 , pub scode : i32 , pub cyVal : super::super::System::SystemServices:: CY , pub date : f64 , pub filetime : super::super::Foundation:: FILETIME , pub puuid : * mut :: windows :: Guid , pub pclipdata : * mut super::super::System::SystemServices:: CLIPDATA , pub bstrVal : super::super::Foundation:: BSTR_abi , pub bstrblobVal : super::super::System::SystemServices:: BSTRBLOB , pub blob : super::super::System::Com:: BLOB , pub pszVal : super::super::Foundation:: PSTR , pub pwszVal : super::super::Foundation:: PWSTR , pub punkVal : :: windows :: RawPtr , pub pdispVal : :: windows :: RawPtr , pub pStream : :: windows :: RawPtr , pub pStorage : :: windows :: RawPtr , pub pVersionedStream : * mut VERSIONEDSTREAM_abi , pub parray : * mut super::super::System::OleAutomation:: SAFEARRAY , pub cac : CAC , pub caub : CAUB , pub cai : CAI , pub caui : CAUI , pub cal : CAL , pub caul : CAUL , pub cah : CAH , pub cauh : CAUH , pub caflt : CAFLT , pub cadbl : CADBL , pub cabool : CABOOL , pub cascode : CASCODE , pub cacy : CACY , pub cadate : CADATE , pub cafiletime : CAFILETIME , pub cauuid : CACLSID , pub caclipdata : CACLIPDATA , pub cabstr : CABSTR , pub cabstrblob : CABSTRBLOB , pub calpstr : CALPSTR , pub calpwstr : CALPWSTR , pub capropvar : CAPROPVARIANT , pub pcVal : super::super::Foundation:: PSTR , pub pbVal : * mut u8 , pub piVal : * mut i16 , pub puiVal : * mut u16 , pub plVal : * mut i32 , pub pulVal : * mut u32 , pub pintVal : * mut i32 , pub puintVal : * mut u32 , pub pfltVal : * mut f32 , pub pdblVal : * mut f64 , pub pboolVal : * mut i16 , pub pdecVal : * mut super::super::System::SystemServices:: DECIMAL , pub pscode : * mut i32 , pub pcyVal : * mut super::super::System::SystemServices:: CY , pub pdate : * mut f64 , pub pbstrVal : * mut super::super::Foundation:: BSTR_abi , pub ppunkVal : * mut :: windows :: RawPtr , pub ppdispVal : * mut :: windows :: RawPtr , pub pparray : * mut * mut super::super::System::OleAutomation:: SAFEARRAY , pub pvarVal : * mut PROPVARIANT_abi } impl PROPVARIANT_0_0_0 { } impl :: std :: cmp :: PartialEq for PROPVARIANT_0_0_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for PROPVARIANT_0_0_0 { } # [ repr ( C ) ] # [ doc ( hidden ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub union PROPVARIANT_0_0_0_abi { pub cVal : super::super::System::SystemServices:: CHAR , pub bVal : u8 , pub iVal : i16 , pub uiVal : u16 , pub lVal : i32 , pub ulVal : u32 , pub intVal : i32 , pub uintVal : u32 , pub hVal : i64 , pub uhVal : u64 , pub fltVal : f32 , pub dblVal : f64 , pub boolVal : i16 , pub __OBSOLETE__VARIANT_BOOL : i16 , pub scode : i32 , pub cyVal : super::super::System::SystemServices:: CY , pub date : f64 , pub filetime : super::super::Foundation:: FILETIME , pub puuid : * mut :: windows :: Guid , pub pclipdata : * mut super::super::System::SystemServices:: CLIPDATA , pub bstrVal : super::super::Foundation:: BSTR_abi , pub bstrblobVal : super::super::System::SystemServices:: BSTRBLOB , pub blob : super::super::System::Com:: BLOB , pub pszVal : super::super::Foundation:: PSTR , pub pwszVal : super::super::Foundation:: PWSTR , pub punkVal : :: windows :: RawPtr , pub pdispVal : :: windows :: RawPtr , pub pStream : :: windows :: RawPtr , pub pStorage : :: windows :: RawPtr , pub pVersionedStream : * mut VERSIONEDSTREAM_abi , pub parray : * mut super::super::System::OleAutomation:: SAFEARRAY , pub cac : CAC , pub caub : CAUB , pub cai : CAI , pub caui : CAUI , pub cal : CAL , pub caul : CAUL , pub cah : CAH , pub cauh : CAUH , pub caflt : CAFLT , pub cadbl : CADBL , pub cabool : CABOOL , pub cascode : CASCODE , pub cacy : CACY , pub cadate : CADATE , pub cafiletime : CAFILETIME , pub cauuid : CACLSID , pub caclipdata : CACLIPDATA , pub cabstr : CABSTR , pub cabstrblob : CABSTRBLOB , pub calpstr : CALPSTR , pub calpwstr : CALPWSTR , pub capropvar : CAPROPVARIANT , pub pcVal : super::super::Foundation:: PSTR , pub pbVal : * mut u8 , pub piVal : * mut i16 , pub puiVal : * mut u16 , pub plVal : * mut i32 , pub pulVal : * mut u32 , pub pintVal : * mut i32 , pub puintVal : * mut u32 , pub pfltVal : * mut f32 , pub pdblVal : * mut f64 , pub pboolVal : * mut i16 , pub pdecVal : * mut super::super::System::SystemServices:: DECIMAL , pub pscode : * mut i32 , pub pcyVal : * mut super::super::System::SystemServices:: CY , pub pdate : * mut f64 , pub pbstrVal : * mut super::super::Foundation:: BSTR_abi , pub ppunkVal : * mut :: windows :: RawPtr , pub ppdispVal : * mut :: windows :: RawPtr , pub pparray : * mut * mut super::super::System::OleAutomation:: SAFEARRAY , pub pvarVal : * mut PROPVARIANT_abi } unsafe impl :: windows :: Abi for PROPVARIANT_0_0_0 { type Abi = PROPVARIANT_0_0_0_abi ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct STATSTG { pub pwcsName : super::super::Foundation:: PWSTR , pub r#type : u32 , pub cbSize : u64 , pub mtime : super::super::Foundation:: FILETIME , pub ctime : super::super::Foundation:: FILETIME , pub atime : super::super::Foundation:: FILETIME , pub grfMode : u32 , pub grfLocksSupported : u32 , pub clsid : :: windows :: Guid , pub grfStateBits : u32 , pub reserved : u32 } impl STATSTG { } impl :: std :: default :: Default for STATSTG { fn default ( ) -> Self { Self { pwcsName : :: std :: default :: Default :: default ( ) , r#type : 0 , cbSize : 0 , mtime : :: std :: default :: Default :: default ( ) , ctime : :: std :: default :: Default :: default ( ) , atime : :: std :: default :: Default :: default ( ) , grfMode : 0 , grfLocksSupported : 0 , clsid : :: std :: default :: Default :: default ( ) , grfStateBits : 0 , reserved : 0 } } } impl :: std :: fmt :: Debug for STATSTG { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "STATSTG" ) . field ( "pwcsName" , & self . pwcsName ) . field ( "r#type" , & self . r#type ) . field ( "cbSize" , & self . cbSize ) . field ( "mtime" , & self . mtime ) . field ( "ctime" , & self . ctime ) . field ( "atime" , & self . atime ) . field ( "grfMode" , & self . grfMode ) . field ( "grfLocksSupported" , & self . grfLocksSupported ) . field ( "clsid" , & self . clsid ) . field ( "grfStateBits" , & self . grfStateBits ) . field ( "reserved" , & self . reserved ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STATSTG { fn eq ( & self , other : & Self ) -> bool { self . pwcsName == other . pwcsName && self . r#type == other . r#type && self . cbSize == other . cbSize && self . mtime == other . mtime && self . ctime == other . ctime && self . atime == other . atime && self . grfMode == other . grfMode && self . grfLocksSupported == other . grfLocksSupported && self . clsid == other . clsid && self . grfStateBits == other . grfStateBits && self . reserved == other . reserved } } impl :: std :: cmp :: Eq for STATSTG { } unsafe impl :: windows :: Abi for STATSTG { type Abi = Self ; type DefaultType = Self ; } pub const STGM_READ : i32 = 0i32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct STREAM_SEEK ( pub u32 ) ; pub const STREAM_SEEK_SET : STREAM_SEEK = STREAM_SEEK ( 0u32 ) ; pub const STREAM_SEEK_CUR : STREAM_SEEK = STREAM_SEEK ( 1u32 ) ; pub const STREAM_SEEK_END : STREAM_SEEK = STREAM_SEEK ( 2u32 ) ; impl :: std :: convert :: From < u32 > for STREAM_SEEK { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for STREAM_SEEK { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for STREAM_SEEK { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for STREAM_SEEK { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for STREAM_SEEK { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for STREAM_SEEK { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ derive ( :: std :: clone :: Clone ) ] # [ repr ( C ) ] pub struct VERSIONEDSTREAM { pub guidVersion : :: windows :: Guid , pub pStream : :: std :: option :: Option < IStream > } impl VERSIONEDSTREAM { } impl :: std :: default :: Default for VERSIONEDSTREAM { fn default ( ) -> Self { Self { guidVersion : :: std :: default :: Default :: default ( ) , pStream : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for VERSIONEDSTREAM { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "VERSIONEDSTREAM" ) . field ( "guidVersion" , & self . guidVersion ) . field ( "pStream" , & self . pStream ) . finish ( ) } } impl :: std :: cmp :: PartialEq for VERSIONEDSTREAM { fn eq ( & self , other : & Self ) -> bool { self . guidVersion == other . guidVersion && self . pStream == other . pStream } } impl :: std :: cmp :: Eq for VERSIONEDSTREAM { } # [ repr ( C ) ] # [ doc ( hidden ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct VERSIONEDSTREAM_abi { pub guidVersion : :: windows :: Guid , pub pStream : :: windows :: RawPtr } unsafe impl :: windows :: Abi for VERSIONEDSTREAM { type Abi = VERSIONEDSTREAM_abi ; 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 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 :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct ACTIVATEFLAGS ( pub i32 ) ; pub const ACTIVATE_WINDOWLESS : ACTIVATEFLAGS = ACTIVATEFLAGS ( 1i32 ) ; impl :: std :: convert :: From < i32 > for ACTIVATEFLAGS { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for ACTIVATEFLAGS { 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 ADVF ( pub i32 ) ; pub const ADVF_NODATA : ADVF = ADVF ( 1i32 ) ; pub const ADVF_PRIMEFIRST : ADVF = ADVF ( 2i32 ) ; pub const ADVF_ONLYONCE : ADVF = ADVF ( 4i32 ) ; pub const ADVF_DATAONSTOP : ADVF = ADVF ( 64i32 ) ; pub const ADVFCACHE_NOHANDLER : ADVF = ADVF ( 8i32 ) ; pub const ADVFCACHE_FORCEBUILTIN : ADVF = ADVF ( 16i32 ) ; pub const ADVFCACHE_ONSAVE : ADVF = ADVF ( 32i32 ) ; impl :: std :: convert :: From < i32 > for ADVF { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for ADVF { type Abi = Self ; type DefaultType = Self ; } pub const APPIDREGFLAGS_AAA_NO_IMPLICIT_ACTIVATE_AS_IU : u32 = 2048u32 ; pub const APPIDREGFLAGS_ACTIVATE_IUSERVER_INDESKTOP : u32 = 1u32 ; pub const APPIDREGFLAGS_ISSUE_ACTIVATION_RPC_AT_IDENTIFY : u32 = 4u32 ; pub const APPIDREGFLAGS_IUSERVER_ACTIVATE_IN_CLIENT_SESSION_ONLY : u32 = 32u32 ; pub const APPIDREGFLAGS_IUSERVER_SELF_SID_IN_LAUNCH_PERMISSION : u32 = 16u32 ; pub const APPIDREGFLAGS_IUSERVER_UNMODIFIED_LOGON_TOKEN : u32 = 8u32 ; pub const APPIDREGFLAGS_RESERVED1 : u32 = 64u32 ; pub const APPIDREGFLAGS_RESERVED2 : u32 = 128u32 ; pub const APPIDREGFLAGS_RESERVED3 : u32 = 256u32 ; pub const APPIDREGFLAGS_RESERVED4 : u32 = 512u32 ; pub const APPIDREGFLAGS_RESERVED5 : u32 = 1024u32 ; pub const APPIDREGFLAGS_RESERVED7 : u32 = 4096u32 ; pub const APPIDREGFLAGS_RESERVED8 : u32 = 8192u32 ; pub const APPIDREGFLAGS_RESERVED9 : u32 = 16384u32 ; pub const APPIDREGFLAGS_SECURE_SERVER_PROCESS_SD_AND_BIND : 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 APTTYPE ( pub i32 ) ; pub const APTTYPE_CURRENT : APTTYPE = APTTYPE ( -1i32 ) ; pub const APTTYPE_STA : APTTYPE = APTTYPE ( 0i32 ) ; pub const APTTYPE_MTA : APTTYPE = APTTYPE ( 1i32 ) ; pub const APTTYPE_NA : APTTYPE = APTTYPE ( 2i32 ) ; pub const APTTYPE_MAINSTA : APTTYPE = APTTYPE ( 3i32 ) ; impl :: std :: convert :: From < i32 > for APTTYPE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for APTTYPE { 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 APTTYPEQUALIFIER ( pub i32 ) ; pub const APTTYPEQUALIFIER_NONE : APTTYPEQUALIFIER = APTTYPEQUALIFIER ( 0i32 ) ; pub const APTTYPEQUALIFIER_IMPLICIT_MTA : APTTYPEQUALIFIER = APTTYPEQUALIFIER ( 1i32 ) ; pub const APTTYPEQUALIFIER_NA_ON_MTA : APTTYPEQUALIFIER = APTTYPEQUALIFIER ( 2i32 ) ; pub const APTTYPEQUALIFIER_NA_ON_STA : APTTYPEQUALIFIER = APTTYPEQUALIFIER ( 3i32 ) ; pub const APTTYPEQUALIFIER_NA_ON_IMPLICIT_MTA : APTTYPEQUALIFIER = APTTYPEQUALIFIER ( 4i32 ) ; pub const APTTYPEQUALIFIER_NA_ON_MAINSTA : APTTYPEQUALIFIER = APTTYPEQUALIFIER ( 5i32 ) ; pub const APTTYPEQUALIFIER_APPLICATION_STA : APTTYPEQUALIFIER = APTTYPEQUALIFIER ( 6i32 ) ; pub const APTTYPEQUALIFIER_RESERVED_1 : APTTYPEQUALIFIER = APTTYPEQUALIFIER ( 7i32 ) ; impl :: std :: convert :: From < i32 > for APTTYPEQUALIFIER { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for APTTYPEQUALIFIER { 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 AUTHENTICATEF ( pub i32 ) ; pub const AUTHENTICATEF_PROXY : AUTHENTICATEF = AUTHENTICATEF ( 1i32 ) ; pub const AUTHENTICATEF_BASIC : AUTHENTICATEF = AUTHENTICATEF ( 2i32 ) ; pub const AUTHENTICATEF_HTTP : AUTHENTICATEF = AUTHENTICATEF ( 4i32 ) ; impl :: std :: convert :: From < i32 > for AUTHENTICATEF { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for AUTHENTICATEF { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct AUTHENTICATEINFO { pub dwFlags : u32 , pub dwReserved : u32 } impl AUTHENTICATEINFO { } impl :: std :: default :: Default for AUTHENTICATEINFO { fn default ( ) -> Self { Self { dwFlags : 0 , dwReserved : 0 } } } impl :: std :: fmt :: Debug for AUTHENTICATEINFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "AUTHENTICATEINFO" ) . field ( "dwFlags" , & self . dwFlags ) . field ( "dwReserved" , & self . dwReserved ) . finish ( ) } } impl :: std :: cmp :: PartialEq for AUTHENTICATEINFO { fn eq ( & self , other : & Self ) -> bool { self . dwFlags == other . dwFlags && self . dwReserved == other . dwReserved } } impl :: std :: cmp :: Eq for AUTHENTICATEINFO { } unsafe impl :: windows :: Abi for AUTHENTICATEINFO { 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 ApplicationType ( pub i32 ) ; pub const ServerApplication : ApplicationType = ApplicationType ( 0i32 ) ; pub const LibraryApplication : ApplicationType = ApplicationType ( 1i32 ) ; impl :: std :: convert :: From < i32 > for ApplicationType { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for ApplicationType { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct AspectInfo { pub cb : u32 , pub dwFlags : u32 } impl AspectInfo { } impl :: std :: default :: Default for AspectInfo { fn default ( ) -> Self { Self { cb : 0 , dwFlags : 0 } } } impl :: std :: fmt :: Debug for AspectInfo { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "AspectInfo" ) . field ( "cb" , & self . cb ) . field ( "dwFlags" , & self . dwFlags ) . finish ( ) } } impl :: std :: cmp :: PartialEq for AspectInfo { fn eq ( & self , other : & Self ) -> bool { self . cb == other . cb && self . dwFlags == other . dwFlags } } impl :: std :: cmp :: Eq for AspectInfo { } unsafe impl :: windows :: Abi for AspectInfo { 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 AspectInfoFlag ( pub i32 ) ; pub const DVASPECTINFOFLAG_CANOPTIMIZE : AspectInfoFlag = AspectInfoFlag ( 1i32 ) ; impl :: std :: convert :: From < i32 > for AspectInfoFlag { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for AspectInfoFlag { type Abi = Self ; type DefaultType = Self ; } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct AsyncIAdviseSink ( :: windows :: IUnknown ) ; impl AsyncIAdviseSink { pub unsafe fn Begin_OnDataChange < > ( & self , pformatetc : * mut FORMATETC , pstgmed : * mut STGMEDIUM , ) { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pformatetc ) , :: std :: mem :: transmute ( pstgmed ) , ) } pub unsafe fn Finish_OnDataChange < > ( & self , ) { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn Begin_OnViewChange < > ( & self , dwaspect : u32 , lindex : i32 , ) { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwaspect ) , :: std :: mem :: transmute ( lindex ) , ) } pub unsafe fn Finish_OnViewChange < > ( & self , ) { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn Begin_OnRename < 'a , > ( & self , pmk : impl :: windows :: IntoParam < 'a , IMoniker > , ) { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , pmk . into_param ( ) . abi ( ) , ) } pub unsafe fn Finish_OnRename < > ( & self , ) { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn Begin_OnSave < > ( & self , ) { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn Finish_OnSave < > ( & self , ) { ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn Begin_OnClose < > ( & self , ) { ( :: windows :: Interface :: vtable ( self ) .11 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn Finish_OnClose < > ( & self , ) { ( :: windows :: Interface :: vtable ( self ) .12 ) ( :: windows :: Abi :: abi ( self ) , ) } } unsafe impl :: windows :: Interface for AsyncIAdviseSink { type Vtable = AsyncIAdviseSink_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 336 ,0 ,0 , [ 192 ,0 ,0 ,0 ,0 ,0 ,0 ,70 ] , ) ; } impl :: std :: convert :: From < AsyncIAdviseSink > for :: windows :: IUnknown { fn from ( value : AsyncIAdviseSink ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & AsyncIAdviseSink > for :: windows :: IUnknown { fn from ( value : & AsyncIAdviseSink ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for AsyncIAdviseSink { 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 AsyncIAdviseSink { 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 AsyncIAdviseSink_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 , pformatetc : * mut FORMATETC , pstgmed : * mut STGMEDIUM_abi , ) , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwaspect : u32 , lindex : i32 , ) , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pmk : :: windows :: RawPtr , ) , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct AsyncIAdviseSink2 ( :: windows :: IUnknown ) ; impl AsyncIAdviseSink2 { pub unsafe fn Begin_OnDataChange < > ( & self , pformatetc : * mut FORMATETC , pstgmed : * mut STGMEDIUM , ) { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pformatetc ) , :: std :: mem :: transmute ( pstgmed ) , ) } pub unsafe fn Finish_OnDataChange < > ( & self , ) { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn Begin_OnViewChange < > ( & self , dwaspect : u32 , lindex : i32 , ) { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwaspect ) , :: std :: mem :: transmute ( lindex ) , ) } pub unsafe fn Finish_OnViewChange < > ( & self , ) { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn Begin_OnRename < 'a , > ( & self , pmk : impl :: windows :: IntoParam < 'a , IMoniker > , ) { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , pmk . into_param ( ) . abi ( ) , ) } pub unsafe fn Finish_OnRename < > ( & self , ) { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn Begin_OnSave < > ( & self , ) { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn Finish_OnSave < > ( & self , ) { ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn Begin_OnClose < > ( & self , ) { ( :: windows :: Interface :: vtable ( self ) .11 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn Finish_OnClose < > ( & self , ) { ( :: windows :: Interface :: vtable ( self ) .12 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn Begin_OnLinkSrcChange < 'a , > ( & self , pmk : impl :: windows :: IntoParam < 'a , IMoniker > , ) { ( :: windows :: Interface :: vtable ( self ) .13 ) ( :: windows :: Abi :: abi ( self ) , pmk . into_param ( ) . abi ( ) , ) } pub unsafe fn Finish_OnLinkSrcChange < > ( & self , ) { ( :: windows :: Interface :: vtable ( self ) .14 ) ( :: windows :: Abi :: abi ( self ) , ) } } unsafe impl :: windows :: Interface for AsyncIAdviseSink2 { type Vtable = AsyncIAdviseSink2_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 337 ,0 ,0 , [ 192 ,0 ,0 ,0 ,0 ,0 ,0 ,70 ] , ) ; } impl :: std :: convert :: From < AsyncIAdviseSink2 > for :: windows :: IUnknown { fn from ( value : AsyncIAdviseSink2 ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & AsyncIAdviseSink2 > for :: windows :: IUnknown { fn from ( value : & AsyncIAdviseSink2 ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for AsyncIAdviseSink2 { 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 AsyncIAdviseSink2 { 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 < AsyncIAdviseSink2 > for AsyncIAdviseSink { fn from ( value : AsyncIAdviseSink2 ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & AsyncIAdviseSink2 > for AsyncIAdviseSink { fn from ( value : & AsyncIAdviseSink2 ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , AsyncIAdviseSink > for AsyncIAdviseSink2 { fn into_param ( self ) -> :: windows :: Param < 'a , AsyncIAdviseSink > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < AsyncIAdviseSink > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , AsyncIAdviseSink > for & 'a AsyncIAdviseSink2 { fn into_param ( self ) -> :: windows :: Param < 'a , AsyncIAdviseSink > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < AsyncIAdviseSink > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct AsyncIAdviseSink2_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 , pformatetc : * mut FORMATETC , pstgmed : * mut STGMEDIUM_abi , ) , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwaspect : u32 , lindex : i32 , ) , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pmk : :: windows :: RawPtr , ) , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pmk : :: windows :: RawPtr , ) , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct AsyncIMultiQI ( :: windows :: IUnknown ) ; impl AsyncIMultiQI { pub unsafe fn Begin_QueryMultipleInterfaces < > ( & self , cmqis : u32 , pmqis : * mut MULTI_QI , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( cmqis ) , :: std :: mem :: transmute ( pmqis ) , ) . ok ( ) } pub unsafe fn Finish_QueryMultipleInterfaces < > ( & self , pmqis : * mut MULTI_QI , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pmqis ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for AsyncIMultiQI { type Vtable = AsyncIMultiQI_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 917536 ,0 ,0 , [ 192 ,0 ,0 ,0 ,0 ,0 ,0 ,70 ] , ) ; } impl :: std :: convert :: From < AsyncIMultiQI > for :: windows :: IUnknown { fn from ( value : AsyncIMultiQI ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & AsyncIMultiQI > for :: windows :: IUnknown { fn from ( value : & AsyncIMultiQI ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for AsyncIMultiQI { 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 AsyncIMultiQI { 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 AsyncIMultiQI_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 , cmqis : u32 , pmqis : * mut MULTI_QI_abi , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pmqis : * mut MULTI_QI_abi , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct AsyncIPipeByte ( :: windows :: IUnknown ) ; impl AsyncIPipeByte { pub unsafe fn Begin_Pull < > ( & self , crequest : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( crequest ) , ) . ok ( ) } pub unsafe fn Finish_Pull < > ( & self , buf : * mut u8 , pcreturned : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( buf ) , :: std :: mem :: transmute ( pcreturned ) , ) . ok ( ) } pub unsafe fn Begin_Push < > ( & self , buf : * mut u8 , csent : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( buf ) , :: std :: mem :: transmute ( csent ) , ) . ok ( ) } pub unsafe fn Finish_Push < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for AsyncIPipeByte { type Vtable = AsyncIPipeByte_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3677305547 ,12166 ,4561 , [ 142 ,4 ,0 ,192 ,79 ,185 ,152 ,154 ] , ) ; } impl :: std :: convert :: From < AsyncIPipeByte > for :: windows :: IUnknown { fn from ( value : AsyncIPipeByte ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & AsyncIPipeByte > for :: windows :: IUnknown { fn from ( value : & AsyncIPipeByte ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for AsyncIPipeByte { 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 AsyncIPipeByte { 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 AsyncIPipeByte_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 , crequest : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , buf : * mut u8 , pcreturned : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , buf : * mut u8 , csent : u32 , ) -> :: 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 AsyncIPipeDouble ( :: windows :: IUnknown ) ; impl AsyncIPipeDouble { pub unsafe fn Begin_Pull < > ( & self , crequest : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( crequest ) , ) . ok ( ) } pub unsafe fn Finish_Pull < > ( & self , buf : * mut f64 , pcreturned : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( buf ) , :: std :: mem :: transmute ( pcreturned ) , ) . ok ( ) } pub unsafe fn Begin_Push < > ( & self , buf : * mut f64 , csent : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( buf ) , :: std :: mem :: transmute ( csent ) , ) . ok ( ) } pub unsafe fn Finish_Push < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for AsyncIPipeDouble { type Vtable = AsyncIPipeDouble_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3677305551 ,12166 ,4561 , [ 142 ,4 ,0 ,192 ,79 ,185 ,152 ,154 ] , ) ; } impl :: std :: convert :: From < AsyncIPipeDouble > for :: windows :: IUnknown { fn from ( value : AsyncIPipeDouble ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & AsyncIPipeDouble > for :: windows :: IUnknown { fn from ( value : & AsyncIPipeDouble ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for AsyncIPipeDouble { 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 AsyncIPipeDouble { 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 AsyncIPipeDouble_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 , crequest : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , buf : * mut f64 , pcreturned : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , buf : * mut f64 , csent : u32 , ) -> :: 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 AsyncIPipeLong ( :: windows :: IUnknown ) ; impl AsyncIPipeLong { pub unsafe fn Begin_Pull < > ( & self , crequest : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( crequest ) , ) . ok ( ) } pub unsafe fn Finish_Pull < > ( & self , buf : * mut i32 , pcreturned : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( buf ) , :: std :: mem :: transmute ( pcreturned ) , ) . ok ( ) } pub unsafe fn Begin_Push < > ( & self , buf : * mut i32 , csent : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( buf ) , :: std :: mem :: transmute ( csent ) , ) . ok ( ) } pub unsafe fn Finish_Push < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for AsyncIPipeLong { type Vtable = AsyncIPipeLong_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3677305549 ,12166 ,4561 , [ 142 ,4 ,0 ,192 ,79 ,185 ,152 ,154 ] , ) ; } impl :: std :: convert :: From < AsyncIPipeLong > for :: windows :: IUnknown { fn from ( value : AsyncIPipeLong ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & AsyncIPipeLong > for :: windows :: IUnknown { fn from ( value : & AsyncIPipeLong ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for AsyncIPipeLong { 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 AsyncIPipeLong { 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 AsyncIPipeLong_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 , crequest : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , buf : * mut i32 , pcreturned : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , buf : * mut i32 , csent : u32 , ) -> :: 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 AsyncIUnknown ( :: windows :: IUnknown ) ; impl AsyncIUnknown { pub unsafe fn Begin_QueryInterface < > ( & self , riid : * const :: windows :: Guid , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( riid ) , ) . ok ( ) } pub unsafe fn Finish_QueryInterface < > ( & self , ppvobject : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ppvobject ) , ) . ok ( ) } pub unsafe fn Begin_AddRef < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn Finish_AddRef < > ( & self , ) -> u32 { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn Begin_Release < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn Finish_Release < > ( & self , ) -> u32 { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , ) } } unsafe impl :: windows :: Interface for AsyncIUnknown { type Vtable = AsyncIUnknown_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 917504 ,0 ,0 , [ 192 ,0 ,0 ,0 ,0 ,0 ,0 ,70 ] , ) ; } impl :: std :: convert :: From < AsyncIUnknown > for :: windows :: IUnknown { fn from ( value : AsyncIUnknown ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & AsyncIUnknown > for :: windows :: IUnknown { fn from ( value : & AsyncIUnknown ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for AsyncIUnknown { 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 AsyncIUnknown { 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 AsyncIUnknown_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 , riid : * const :: windows :: Guid , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppvobject : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> u32 , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> u32 , ) ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct BINDF ( pub i32 ) ; pub const BINDF_ASYNCHRONOUS : BINDF = BINDF ( 1i32 ) ; pub const BINDF_ASYNCSTORAGE : BINDF = BINDF ( 2i32 ) ; pub const BINDF_NOPROGRESSIVERENDERING : BINDF = BINDF ( 4i32 ) ; pub const BINDF_OFFLINEOPERATION : BINDF = BINDF ( 8i32 ) ; pub const BINDF_GETNEWESTVERSION : BINDF = BINDF ( 16i32 ) ; pub const BINDF_NOWRITECACHE : BINDF = BINDF ( 32i32 ) ; pub const BINDF_NEEDFILE : BINDF = BINDF ( 64i32 ) ; pub const BINDF_PULLDATA : BINDF = BINDF ( 128i32 ) ; pub const BINDF_IGNORESECURITYPROBLEM : BINDF = BINDF ( 256i32 ) ; pub const BINDF_RESYNCHRONIZE : BINDF = BINDF ( 512i32 ) ; pub const BINDF_HYPERLINK : BINDF = BINDF ( 1024i32 ) ; pub const BINDF_NO_UI : BINDF = BINDF ( 2048i32 ) ; pub const BINDF_SILENTOPERATION : BINDF = BINDF ( 4096i32 ) ; pub const BINDF_PRAGMA_NO_CACHE : BINDF = BINDF ( 8192i32 ) ; pub const BINDF_GETCLASSOBJECT : BINDF = BINDF ( 16384i32 ) ; pub const BINDF_RESERVED_1 : BINDF = BINDF ( 32768i32 ) ; pub const BINDF_FREE_THREADED : BINDF = BINDF ( 65536i32 ) ; pub const BINDF_DIRECT_READ : BINDF = BINDF ( 131072i32 ) ; pub const BINDF_FORMS_SUBMIT : BINDF = BINDF ( 262144i32 ) ; pub const BINDF_GETFROMCACHE_IF_NET_FAIL : BINDF = BINDF ( 524288i32 ) ; pub const BINDF_FROMURLMON : BINDF = BINDF ( 1048576i32 ) ; pub const BINDF_FWD_BACK : BINDF = BINDF ( 2097152i32 ) ; pub const BINDF_PREFERDEFAULTHANDLER : BINDF = BINDF ( 4194304i32 ) ; pub const BINDF_ENFORCERESTRICTED : BINDF = BINDF ( 8388608i32 ) ; pub const BINDF_RESERVED_2 : BINDF = BINDF ( -2147483648i32 ) ; pub const BINDF_RESERVED_3 : BINDF = BINDF ( 16777216i32 ) ; pub const BINDF_RESERVED_4 : BINDF = BINDF ( 33554432i32 ) ; pub const BINDF_RESERVED_5 : BINDF = BINDF ( 67108864i32 ) ; pub const BINDF_RESERVED_6 : BINDF = BINDF ( 134217728i32 ) ; pub const BINDF_RESERVED_7 : BINDF = BINDF ( 1073741824i32 ) ; pub const BINDF_RESERVED_8 : BINDF = BINDF ( 536870912i32 ) ; impl :: std :: convert :: From < i32 > for BINDF { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for BINDF { 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 BINDF2 ( pub i32 ) ; pub const BINDF2_DISABLEBASICOVERHTTP : BINDF2 = BINDF2 ( 1i32 ) ; pub const BINDF2_DISABLEAUTOCOOKIEHANDLING : BINDF2 = BINDF2 ( 2i32 ) ; pub const BINDF2_READ_DATA_GREATER_THAN_4GB : BINDF2 = BINDF2 ( 4i32 ) ; pub const BINDF2_DISABLE_HTTP_REDIRECT_XSECURITYID : BINDF2 = BINDF2 ( 8i32 ) ; pub const BINDF2_SETDOWNLOADMODE : BINDF2 = BINDF2 ( 32i32 ) ; pub const BINDF2_DISABLE_HTTP_REDIRECT_CACHING : BINDF2 = BINDF2 ( 64i32 ) ; pub const BINDF2_KEEP_CALLBACK_MODULE_LOADED : BINDF2 = BINDF2 ( 128i32 ) ; pub const BINDF2_ALLOW_PROXY_CRED_PROMPT : BINDF2 = BINDF2 ( 256i32 ) ; pub const BINDF2_RESERVED_17 : BINDF2 = BINDF2 ( 512i32 ) ; pub const BINDF2_RESERVED_16 : BINDF2 = BINDF2 ( 1024i32 ) ; pub const BINDF2_RESERVED_15 : BINDF2 = BINDF2 ( 2048i32 ) ; pub const BINDF2_RESERVED_14 : BINDF2 = BINDF2 ( 4096i32 ) ; pub const BINDF2_RESERVED_13 : BINDF2 = BINDF2 ( 8192i32 ) ; pub const BINDF2_RESERVED_12 : BINDF2 = BINDF2 ( 16384i32 ) ; pub const BINDF2_RESERVED_11 : BINDF2 = BINDF2 ( 32768i32 ) ; pub const BINDF2_RESERVED_10 : BINDF2 = BINDF2 ( 65536i32 ) ; pub const BINDF2_RESERVED_F : BINDF2 = BINDF2 ( 131072i32 ) ; pub const BINDF2_RESERVED_E : BINDF2 = BINDF2 ( 262144i32 ) ; pub const BINDF2_RESERVED_D : BINDF2 = BINDF2 ( 524288i32 ) ; pub const BINDF2_RESERVED_C : BINDF2 = BINDF2 ( 1048576i32 ) ; pub const BINDF2_RESERVED_B : BINDF2 = BINDF2 ( 2097152i32 ) ; pub const BINDF2_RESERVED_A : BINDF2 = BINDF2 ( 4194304i32 ) ; pub const BINDF2_RESERVED_9 : BINDF2 = BINDF2 ( 8388608i32 ) ; pub const BINDF2_RESERVED_8 : BINDF2 = BINDF2 ( 16777216i32 ) ; pub const BINDF2_RESERVED_7 : BINDF2 = BINDF2 ( 33554432i32 ) ; pub const BINDF2_RESERVED_6 : BINDF2 = BINDF2 ( 67108864i32 ) ; pub const BINDF2_RESERVED_5 : BINDF2 = BINDF2 ( 134217728i32 ) ; pub const BINDF2_RESERVED_4 : BINDF2 = BINDF2 ( 268435456i32 ) ; pub const BINDF2_RESERVED_3 : BINDF2 = BINDF2 ( 536870912i32 ) ; pub const BINDF2_RESERVED_2 : BINDF2 = BINDF2 ( 1073741824i32 ) ; pub const BINDF2_RESERVED_1 : BINDF2 = BINDF2 ( -2147483648i32 ) ; impl :: std :: convert :: From < i32 > for BINDF2 { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for BINDF2 { 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 BINDHANDLETYPES ( pub i32 ) ; pub const BINDHANDLETYPES_APPCACHE : BINDHANDLETYPES = BINDHANDLETYPES ( 0i32 ) ; pub const BINDHANDLETYPES_DEPENDENCY : BINDHANDLETYPES = BINDHANDLETYPES ( 1i32 ) ; pub const BINDHANDLETYPES_COUNT : BINDHANDLETYPES = BINDHANDLETYPES ( 2i32 ) ; impl :: std :: convert :: From < i32 > for BINDHANDLETYPES { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for BINDHANDLETYPES { type Abi = Self ; type DefaultType = Self ; } impl :: std :: clone :: Clone for BINDINFO { fn clone ( & self ) -> Self { unimplemented ! ( ) } } # [ repr ( C ) ] pub struct BINDINFO { pub cbSize : u32 , pub szExtraInfo : super::super::Foundation:: PWSTR , pub stgmedData : STGMEDIUM , pub grfBindInfoF : u32 , pub dwBindVerb : u32 , pub szCustomVerb : super::super::Foundation:: PWSTR , pub cbstgmedData : u32 , pub dwOptions : u32 , pub dwOptionsFlags : u32 , pub dwCodePage : u32 , pub securityAttributes : super::super::Security:: SECURITY_ATTRIBUTES , pub iid : :: windows :: Guid , pub pUnk : :: std :: option :: Option < :: windows :: IUnknown > , pub dwReserved : u32 } impl BINDINFO { } impl :: std :: cmp :: PartialEq for BINDINFO { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for BINDINFO { } # [ repr ( C ) ] # [ doc ( hidden ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct BINDINFO_abi { pub cbSize : u32 , pub szExtraInfo : super::super::Foundation:: PWSTR , pub stgmedData : STGMEDIUM_abi , pub grfBindInfoF : u32 , pub dwBindVerb : u32 , pub szCustomVerb : super::super::Foundation:: PWSTR , pub cbstgmedData : u32 , pub dwOptions : u32 , pub dwOptionsFlags : u32 , pub dwCodePage : u32 , pub securityAttributes : super::super::Security:: SECURITY_ATTRIBUTES , pub iid : :: windows :: Guid , pub pUnk : :: windows :: RawPtr , pub dwReserved : u32 } unsafe impl :: windows :: Abi for BINDINFO { type Abi = BINDINFO_abi ; 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 BINDINFOF ( pub i32 ) ; pub const BINDINFOF_URLENCODESTGMEDDATA : BINDINFOF = BINDINFOF ( 1i32 ) ; pub const BINDINFOF_URLENCODEDEXTRAINFO : BINDINFOF = BINDINFOF ( 2i32 ) ; impl :: std :: convert :: From < i32 > for BINDINFOF { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for BINDINFOF { 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 BINDINFO_OPTIONS ( pub i32 ) ; pub const BINDINFO_OPTIONS_WININETFLAG : BINDINFO_OPTIONS = BINDINFO_OPTIONS ( 65536i32 ) ; pub const BINDINFO_OPTIONS_ENABLE_UTF8 : BINDINFO_OPTIONS = BINDINFO_OPTIONS ( 131072i32 ) ; pub const BINDINFO_OPTIONS_DISABLE_UTF8 : BINDINFO_OPTIONS = BINDINFO_OPTIONS ( 262144i32 ) ; pub const BINDINFO_OPTIONS_USE_IE_ENCODING : BINDINFO_OPTIONS = BINDINFO_OPTIONS ( 524288i32 ) ; pub const BINDINFO_OPTIONS_BINDTOOBJECT : BINDINFO_OPTIONS = BINDINFO_OPTIONS ( 1048576i32 ) ; pub const BINDINFO_OPTIONS_SECURITYOPTOUT : BINDINFO_OPTIONS = BINDINFO_OPTIONS ( 2097152i32 ) ; pub const BINDINFO_OPTIONS_IGNOREMIMETEXTPLAIN : BINDINFO_OPTIONS = BINDINFO_OPTIONS ( 4194304i32 ) ; pub const BINDINFO_OPTIONS_USEBINDSTRINGCREDS : BINDINFO_OPTIONS = BINDINFO_OPTIONS ( 8388608i32 ) ; pub const BINDINFO_OPTIONS_IGNOREHTTPHTTPSREDIRECTS : BINDINFO_OPTIONS = BINDINFO_OPTIONS ( 16777216i32 ) ; pub const BINDINFO_OPTIONS_IGNORE_SSLERRORS_ONCE : BINDINFO_OPTIONS = BINDINFO_OPTIONS ( 33554432i32 ) ; pub const BINDINFO_WPC_DOWNLOADBLOCKED : BINDINFO_OPTIONS = BINDINFO_OPTIONS ( 134217728i32 ) ; pub const BINDINFO_WPC_LOGGING_ENABLED : BINDINFO_OPTIONS = BINDINFO_OPTIONS ( 268435456i32 ) ; pub const BINDINFO_OPTIONS_ALLOWCONNECTDATA : BINDINFO_OPTIONS = BINDINFO_OPTIONS ( 536870912i32 ) ; pub const BINDINFO_OPTIONS_DISABLEAUTOREDIRECTS : BINDINFO_OPTIONS = BINDINFO_OPTIONS ( 1073741824i32 ) ; pub const BINDINFO_OPTIONS_SHDOCVW_NAVIGATE : BINDINFO_OPTIONS = BINDINFO_OPTIONS ( -2147483648i32 ) ; impl :: std :: convert :: From < i32 > for BINDINFO_OPTIONS { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for BINDINFO_OPTIONS { 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 BINDSPEED ( pub i32 ) ; pub const BINDSPEED_INDEFINITE : BINDSPEED = BINDSPEED ( 1i32 ) ; pub const BINDSPEED_MODERATE : BINDSPEED = BINDSPEED ( 2i32 ) ; pub const BINDSPEED_IMMEDIATE : BINDSPEED = BINDSPEED ( 3i32 ) ; impl :: std :: convert :: From < i32 > for BINDSPEED { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for BINDSPEED { 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 BINDSTATUS ( pub i32 ) ; pub const BINDSTATUS_FINDINGRESOURCE : BINDSTATUS = BINDSTATUS ( 1i32 ) ; pub const BINDSTATUS_CONNECTING : BINDSTATUS = BINDSTATUS ( 2i32 ) ; pub const BINDSTATUS_REDIRECTING : BINDSTATUS = BINDSTATUS ( 3i32 ) ; pub const BINDSTATUS_BEGINDOWNLOADDATA : BINDSTATUS = BINDSTATUS ( 4i32 ) ; pub const BINDSTATUS_DOWNLOADINGDATA : BINDSTATUS = BINDSTATUS ( 5i32 ) ; pub const BINDSTATUS_ENDDOWNLOADDATA : BINDSTATUS = BINDSTATUS ( 6i32 ) ; pub const BINDSTATUS_BEGINDOWNLOADCOMPONENTS : BINDSTATUS = BINDSTATUS ( 7i32 ) ; pub const BINDSTATUS_INSTALLINGCOMPONENTS : BINDSTATUS = BINDSTATUS ( 8i32 ) ; pub const BINDSTATUS_ENDDOWNLOADCOMPONENTS : BINDSTATUS = BINDSTATUS ( 9i32 ) ; pub const BINDSTATUS_USINGCACHEDCOPY : BINDSTATUS = BINDSTATUS ( 10i32 ) ; pub const BINDSTATUS_SENDINGREQUEST : BINDSTATUS = BINDSTATUS ( 11i32 ) ; pub const BINDSTATUS_CLASSIDAVAILABLE : BINDSTATUS = BINDSTATUS ( 12i32 ) ; pub const BINDSTATUS_MIMETYPEAVAILABLE : BINDSTATUS = BINDSTATUS ( 13i32 ) ; pub const BINDSTATUS_CACHEFILENAMEAVAILABLE : BINDSTATUS = BINDSTATUS ( 14i32 ) ; pub const BINDSTATUS_BEGINSYNCOPERATION : BINDSTATUS = BINDSTATUS ( 15i32 ) ; pub const BINDSTATUS_ENDSYNCOPERATION : BINDSTATUS = BINDSTATUS ( 16i32 ) ; pub const BINDSTATUS_BEGINUPLOADDATA : BINDSTATUS = BINDSTATUS ( 17i32 ) ; pub const BINDSTATUS_UPLOADINGDATA : BINDSTATUS = BINDSTATUS ( 18i32 ) ; pub const BINDSTATUS_ENDUPLOADDATA : BINDSTATUS = BINDSTATUS ( 19i32 ) ; pub const BINDSTATUS_PROTOCOLCLASSID : BINDSTATUS = BINDSTATUS ( 20i32 ) ; pub const BINDSTATUS_ENCODING : BINDSTATUS = BINDSTATUS ( 21i32 ) ; pub const BINDSTATUS_VERIFIEDMIMETYPEAVAILABLE : BINDSTATUS = BINDSTATUS ( 22i32 ) ; pub const BINDSTATUS_CLASSINSTALLLOCATION : BINDSTATUS = BINDSTATUS ( 23i32 ) ; pub const BINDSTATUS_DECODING : BINDSTATUS = BINDSTATUS ( 24i32 ) ; pub const BINDSTATUS_LOADINGMIMEHANDLER : BINDSTATUS = BINDSTATUS ( 25i32 ) ; pub const BINDSTATUS_CONTENTDISPOSITIONATTACH : BINDSTATUS = BINDSTATUS ( 26i32 ) ; pub const BINDSTATUS_FILTERREPORTMIMETYPE : BINDSTATUS = BINDSTATUS ( 27i32 ) ; pub const BINDSTATUS_CLSIDCANINSTANTIATE : BINDSTATUS = BINDSTATUS ( 28i32 ) ; pub const BINDSTATUS_IUNKNOWNAVAILABLE : BINDSTATUS = BINDSTATUS ( 29i32 ) ; pub const BINDSTATUS_DIRECTBIND : BINDSTATUS = BINDSTATUS ( 30i32 ) ; pub const BINDSTATUS_RAWMIMETYPE : BINDSTATUS = BINDSTATUS ( 31i32 ) ; pub const BINDSTATUS_PROXYDETECTING : BINDSTATUS = BINDSTATUS ( 32i32 ) ; pub const BINDSTATUS_ACCEPTRANGES : BINDSTATUS = BINDSTATUS ( 33i32 ) ; pub const BINDSTATUS_COOKIE_SENT : BINDSTATUS = BINDSTATUS ( 34i32 ) ; pub const BINDSTATUS_COMPACT_POLICY_RECEIVED : BINDSTATUS = BINDSTATUS ( 35i32 ) ; pub const BINDSTATUS_COOKIE_SUPPRESSED : BINDSTATUS = BINDSTATUS ( 36i32 ) ; pub const BINDSTATUS_COOKIE_STATE_UNKNOWN : BINDSTATUS = BINDSTATUS ( 37i32 ) ; pub const BINDSTATUS_COOKIE_STATE_ACCEPT : BINDSTATUS = BINDSTATUS ( 38i32 ) ; pub const BINDSTATUS_COOKIE_STATE_REJECT : BINDSTATUS = BINDSTATUS ( 39i32 ) ; pub const BINDSTATUS_COOKIE_STATE_PROMPT : BINDSTATUS = BINDSTATUS ( 40i32 ) ; pub const BINDSTATUS_COOKIE_STATE_LEASH : BINDSTATUS = BINDSTATUS ( 41i32 ) ; pub const BINDSTATUS_COOKIE_STATE_DOWNGRADE : BINDSTATUS = BINDSTATUS ( 42i32 ) ; pub const BINDSTATUS_POLICY_HREF : BINDSTATUS = BINDSTATUS ( 43i32 ) ; pub const BINDSTATUS_P3P_HEADER : BINDSTATUS = BINDSTATUS ( 44i32 ) ; pub const BINDSTATUS_SESSION_COOKIE_RECEIVED : BINDSTATUS = BINDSTATUS ( 45i32 ) ; pub const BINDSTATUS_PERSISTENT_COOKIE_RECEIVED : BINDSTATUS = BINDSTATUS ( 46i32 ) ; pub const BINDSTATUS_SESSION_COOKIES_ALLOWED : BINDSTATUS = BINDSTATUS ( 47i32 ) ; pub const BINDSTATUS_CACHECONTROL : BINDSTATUS = BINDSTATUS ( 48i32 ) ; pub const BINDSTATUS_CONTENTDISPOSITIONFILENAME : BINDSTATUS = BINDSTATUS ( 49i32 ) ; pub const BINDSTATUS_MIMETEXTPLAINMISMATCH : BINDSTATUS = BINDSTATUS ( 50i32 ) ; pub const BINDSTATUS_PUBLISHERAVAILABLE : BINDSTATUS = BINDSTATUS ( 51i32 ) ; pub const BINDSTATUS_DISPLAYNAMEAVAILABLE : BINDSTATUS = BINDSTATUS ( 52i32 ) ; pub const BINDSTATUS_SSLUX_NAVBLOCKED : BINDSTATUS = BINDSTATUS ( 53i32 ) ; pub const BINDSTATUS_SERVER_MIMETYPEAVAILABLE : BINDSTATUS = BINDSTATUS ( 54i32 ) ; pub const BINDSTATUS_SNIFFED_CLASSIDAVAILABLE : BINDSTATUS = BINDSTATUS ( 55i32 ) ; pub const BINDSTATUS_64BIT_PROGRESS : BINDSTATUS = BINDSTATUS ( 56i32 ) ; pub const BINDSTATUS_LAST : BINDSTATUS = BINDSTATUS ( 56i32 ) ; pub const BINDSTATUS_RESERVED_0 : BINDSTATUS = BINDSTATUS ( 57i32 ) ; pub const BINDSTATUS_RESERVED_1 : BINDSTATUS = BINDSTATUS ( 58i32 ) ; pub const BINDSTATUS_RESERVED_2 : BINDSTATUS = BINDSTATUS ( 59i32 ) ; pub const BINDSTATUS_RESERVED_3 : BINDSTATUS = BINDSTATUS ( 60i32 ) ; pub const BINDSTATUS_RESERVED_4 : BINDSTATUS = BINDSTATUS ( 61i32 ) ; pub const BINDSTATUS_RESERVED_5 : BINDSTATUS = BINDSTATUS ( 62i32 ) ; pub const BINDSTATUS_RESERVED_6 : BINDSTATUS = BINDSTATUS ( 63i32 ) ; pub const BINDSTATUS_RESERVED_7 : BINDSTATUS = BINDSTATUS ( 64i32 ) ; pub const BINDSTATUS_RESERVED_8 : BINDSTATUS = BINDSTATUS ( 65i32 ) ; pub const BINDSTATUS_RESERVED_9 : BINDSTATUS = BINDSTATUS ( 66i32 ) ; pub const BINDSTATUS_RESERVED_A : BINDSTATUS = BINDSTATUS ( 67i32 ) ; pub const BINDSTATUS_RESERVED_B : BINDSTATUS = BINDSTATUS ( 68i32 ) ; pub const BINDSTATUS_RESERVED_C : BINDSTATUS = BINDSTATUS ( 69i32 ) ; pub const BINDSTATUS_RESERVED_D : BINDSTATUS = BINDSTATUS ( 70i32 ) ; pub const BINDSTATUS_RESERVED_E : BINDSTATUS = BINDSTATUS ( 71i32 ) ; pub const BINDSTATUS_RESERVED_F : BINDSTATUS = BINDSTATUS ( 72i32 ) ; pub const BINDSTATUS_RESERVED_10 : BINDSTATUS = BINDSTATUS ( 73i32 ) ; pub const BINDSTATUS_RESERVED_11 : BINDSTATUS = BINDSTATUS ( 74i32 ) ; pub const BINDSTATUS_RESERVED_12 : BINDSTATUS = BINDSTATUS ( 75i32 ) ; pub const BINDSTATUS_RESERVED_13 : BINDSTATUS = BINDSTATUS ( 76i32 ) ; pub const BINDSTATUS_LAST_PRIVATE : BINDSTATUS = BINDSTATUS ( 76i32 ) ; impl :: std :: convert :: From < i32 > for BINDSTATUS { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for BINDSTATUS { 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 BINDSTRING ( pub i32 ) ; pub const BINDSTRING_HEADERS : BINDSTRING = BINDSTRING ( 1i32 ) ; pub const BINDSTRING_ACCEPT_MIMES : BINDSTRING = BINDSTRING ( 2i32 ) ; pub const BINDSTRING_EXTRA_URL : BINDSTRING = BINDSTRING ( 3i32 ) ; pub const BINDSTRING_LANGUAGE : BINDSTRING = BINDSTRING ( 4i32 ) ; pub const BINDSTRING_USERNAME : BINDSTRING = BINDSTRING ( 5i32 ) ; pub const BINDSTRING_PASSWORD : BINDSTRING = BINDSTRING ( 6i32 ) ; pub const BINDSTRING_UA_PIXELS : BINDSTRING = BINDSTRING ( 7i32 ) ; pub const BINDSTRING_UA_COLOR : BINDSTRING = BINDSTRING ( 8i32 ) ; pub const BINDSTRING_OS : BINDSTRING = BINDSTRING ( 9i32 ) ; pub const BINDSTRING_USER_AGENT : BINDSTRING = BINDSTRING ( 10i32 ) ; pub const BINDSTRING_ACCEPT_ENCODINGS : BINDSTRING = BINDSTRING ( 11i32 ) ; pub const BINDSTRING_POST_COOKIE : BINDSTRING = BINDSTRING ( 12i32 ) ; pub const BINDSTRING_POST_DATA_MIME : BINDSTRING = BINDSTRING ( 13i32 ) ; pub const BINDSTRING_URL : BINDSTRING = BINDSTRING ( 14i32 ) ; pub const BINDSTRING_IID : BINDSTRING = BINDSTRING ( 15i32 ) ; pub const BINDSTRING_FLAG_BIND_TO_OBJECT : BINDSTRING = BINDSTRING ( 16i32 ) ; pub const BINDSTRING_PTR_BIND_CONTEXT : BINDSTRING = BINDSTRING ( 17i32 ) ; pub const BINDSTRING_XDR_ORIGIN : BINDSTRING = BINDSTRING ( 18i32 ) ; pub const BINDSTRING_DOWNLOADPATH : BINDSTRING = BINDSTRING ( 19i32 ) ; pub const BINDSTRING_ROOTDOC_URL : BINDSTRING = BINDSTRING ( 20i32 ) ; pub const BINDSTRING_INITIAL_FILENAME : BINDSTRING = BINDSTRING ( 21i32 ) ; pub const BINDSTRING_PROXY_USERNAME : BINDSTRING = BINDSTRING ( 22i32 ) ; pub const BINDSTRING_PROXY_PASSWORD : BINDSTRING = BINDSTRING ( 23i32 ) ; pub const BINDSTRING_ENTERPRISE_ID : BINDSTRING = BINDSTRING ( 24i32 ) ; pub const BINDSTRING_DOC_URL : BINDSTRING = BINDSTRING ( 25i32 ) ; pub const BINDSTRING_SAMESITE_COOKIE_LEVEL : BINDSTRING = BINDSTRING ( 26i32 ) ; impl :: std :: convert :: From < i32 > for BINDSTRING { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for BINDSTRING { 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 BINDVERB ( pub i32 ) ; pub const BINDVERB_GET : BINDVERB = BINDVERB ( 0i32 ) ; pub const BINDVERB_POST : BINDVERB = BINDVERB ( 1i32 ) ; pub const BINDVERB_PUT : BINDVERB = BINDVERB ( 2i32 ) ; pub const BINDVERB_CUSTOM : BINDVERB = BINDVERB ( 3i32 ) ; pub const BINDVERB_RESERVED1 : BINDVERB = BINDVERB ( 4i32 ) ; impl :: std :: convert :: From < i32 > for BINDVERB { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for BINDVERB { 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 BIND_FLAGS ( pub i32 ) ; pub const BIND_MAYBOTHERUSER : BIND_FLAGS = BIND_FLAGS ( 1i32 ) ; pub const BIND_JUSTTESTEXISTENCE : BIND_FLAGS = BIND_FLAGS ( 2i32 ) ; impl :: std :: convert :: From < i32 > for BIND_FLAGS { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for BIND_FLAGS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct BIND_OPTS { pub cbStruct : u32 , pub grfFlags : u32 , pub grfMode : u32 , pub dwTickCountDeadline : u32 } impl BIND_OPTS { } impl :: std :: default :: Default for BIND_OPTS { fn default ( ) -> Self { Self { cbStruct : 0 , grfFlags : 0 , grfMode : 0 , dwTickCountDeadline : 0 } } } impl :: std :: fmt :: Debug for BIND_OPTS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "BIND_OPTS" ) . field ( "cbStruct" , & self . cbStruct ) . field ( "grfFlags" , & self . grfFlags ) . field ( "grfMode" , & self . grfMode ) . field ( "dwTickCountDeadline" , & self . dwTickCountDeadline ) . finish ( ) } } impl :: std :: cmp :: PartialEq for BIND_OPTS { fn eq ( & self , other : & Self ) -> bool { self . cbStruct == other . cbStruct && self . grfFlags == other . grfFlags && self . grfMode == other . grfMode && self . dwTickCountDeadline == other . dwTickCountDeadline } } impl :: std :: cmp :: Eq for BIND_OPTS { } unsafe impl :: windows :: Abi for BIND_OPTS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct BIND_OPTS2 { pub __AnonymousBase_objidl_L8479_C36 : BIND_OPTS , pub dwTrackFlags : u32 , pub dwClassContext : u32 , pub locale : u32 , pub pServerInfo : * mut COSERVERINFO } impl BIND_OPTS2 { } impl :: std :: default :: Default for BIND_OPTS2 { fn default ( ) -> Self { Self { __AnonymousBase_objidl_L8479_C36 : :: std :: default :: Default :: default ( ) , dwTrackFlags : 0 , dwClassContext : 0 , locale : 0 , pServerInfo : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for BIND_OPTS2 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "BIND_OPTS2" ) . field ( "__AnonymousBase_objidl_L8479_C36" , & self . __AnonymousBase_objidl_L8479_C36 ) . field ( "dwTrackFlags" , & self . dwTrackFlags ) . field ( "dwClassContext" , & self . dwClassContext ) . field ( "locale" , & self . locale ) . field ( "pServerInfo" , & self . pServerInfo ) . finish ( ) } } impl :: std :: cmp :: PartialEq for BIND_OPTS2 { fn eq ( & self , other : & Self ) -> bool { self . __AnonymousBase_objidl_L8479_C36 == other . __AnonymousBase_objidl_L8479_C36 && self . dwTrackFlags == other . dwTrackFlags && self . dwClassContext == other . dwClassContext && self . locale == other . locale && self . pServerInfo == other . pServerInfo } } impl :: std :: cmp :: Eq for BIND_OPTS2 { } unsafe impl :: windows :: Abi for BIND_OPTS2 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct BIND_OPTS3 { pub __AnonymousBase_objidl_L8503_C36 : BIND_OPTS2 , pub hwnd : super::super::Foundation:: HWND } impl BIND_OPTS3 { } impl :: std :: default :: Default for BIND_OPTS3 { fn default ( ) -> Self { Self { __AnonymousBase_objidl_L8503_C36 : :: std :: default :: Default :: default ( ) , hwnd : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for BIND_OPTS3 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "BIND_OPTS3" ) . field ( "__AnonymousBase_objidl_L8503_C36" , & self . __AnonymousBase_objidl_L8503_C36 ) . field ( "hwnd" , & self . hwnd ) . finish ( ) } } impl :: std :: cmp :: PartialEq for BIND_OPTS3 { fn eq ( & self , other : & Self ) -> bool { self . __AnonymousBase_objidl_L8503_C36 == other . __AnonymousBase_objidl_L8503_C36 && self . hwnd == other . hwnd } } impl :: std :: cmp :: Eq for BIND_OPTS3 { } unsafe impl :: windows :: Abi for BIND_OPTS3 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct BLOB { pub cbSize : u32 , pub pBlobData : * mut u8 } impl BLOB { } impl :: std :: default :: Default for BLOB { fn default ( ) -> Self { Self { cbSize : 0 , pBlobData : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for BLOB { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "BLOB" ) . field ( "cbSize" , & self . cbSize ) . field ( "pBlobData" , & self . pBlobData ) . finish ( ) } } impl :: std :: cmp :: PartialEq for BLOB { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . pBlobData == other . pBlobData } } impl :: std :: cmp :: Eq for BLOB { } unsafe impl :: windows :: Abi for BLOB { 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 BSCF ( pub i32 ) ; pub const BSCF_FIRSTDATANOTIFICATION : BSCF = BSCF ( 1i32 ) ; pub const BSCF_INTERMEDIATEDATANOTIFICATION : BSCF = BSCF ( 2i32 ) ; pub const BSCF_LASTDATANOTIFICATION : BSCF = BSCF ( 4i32 ) ; pub const BSCF_DATAFULLYAVAILABLE : BSCF = BSCF ( 8i32 ) ; pub const BSCF_AVAILABLEDATASIZEUNKNOWN : BSCF = BSCF ( 16i32 ) ; pub const BSCF_SKIPDRAINDATAFORFILEURLS : BSCF = BSCF ( 32i32 ) ; pub const BSCF_64BITLENGTHDOWNLOAD : BSCF = BSCF ( 64i32 ) ; impl :: std :: convert :: From < i32 > for BSCF { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for BSCF { type Abi = Self ; type DefaultType = Self ; } # [ 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 BYTE_SIZEDARR { pub clSize : u32 , pub pData : * mut u8 } impl BYTE_SIZEDARR { } impl :: std :: default :: Default for BYTE_SIZEDARR { fn default ( ) -> Self { Self { clSize : 0 , pData : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for BYTE_SIZEDARR { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "BYTE_SIZEDARR" ) . field ( "clSize" , & self . clSize ) . field ( "pData" , & self . pData ) . finish ( ) } } impl :: std :: cmp :: PartialEq for BYTE_SIZEDARR { fn eq ( & self , other : & Self ) -> bool { self . clSize == other . clSize && self . pData == other . pData } } impl :: std :: cmp :: Eq for BYTE_SIZEDARR { } unsafe impl :: windows :: Abi for BYTE_SIZEDARR { type Abi = Self ; type DefaultType = Self ; } pub const BZ_DISABLECANCELBUTTON : i32 = 1i32 ; pub const BZ_DISABLERETRYBUTTON : i32 = 4i32 ; pub const BZ_DISABLESWITCHTOBUTTON : i32 = 2i32 ; pub const BZ_NOTRESPONDINGDIALOG : i32 = 8i32 ; pub unsafe fn BindMoniker < 'a , T : :: windows :: Interface > ( pmk : impl :: windows :: IntoParam < 'a , IMoniker > , grfopt : u32 , ) -> :: windows :: Result < T > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn BindMoniker ( pmk : :: windows :: RawPtr , grfopt : u32 , iidresult : * const :: windows :: Guid , ppvresult : * mut * mut :: std :: ffi :: c_void ) -> :: windows :: HRESULT ; } let mut result__ = :: std :: option :: Option :: None ; BindMoniker ( pmk . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( grfopt ) , & < T as :: windows :: Interface > :: IID , :: windows :: Abi :: set_abi ( & mut result__ ) ) . and_some ( result__ ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CADWORD { pub cElems : u32 , pub pElems : * mut u32 } impl CADWORD { } impl :: std :: default :: Default for CADWORD { fn default ( ) -> Self { Self { cElems : 0 , pElems : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for CADWORD { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CADWORD" ) . field ( "cElems" , & self . cElems ) . field ( "pElems" , & self . pElems ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CADWORD { fn eq ( & self , other : & Self ) -> bool { self . cElems == other . cElems && self . pElems == other . pElems } } impl :: std :: cmp :: Eq for CADWORD { } unsafe impl :: windows :: Abi for CADWORD { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CALLFRAMEINFO { pub iMethod : u32 , pub fHasInValues : super::super::Foundation:: BOOL , pub fHasInOutValues : super::super::Foundation:: BOOL , pub fHasOutValues : super::super::Foundation:: BOOL , pub fDerivesFromIDispatch : super::super::Foundation:: BOOL , pub cInInterfacesMax : i32 , pub cInOutInterfacesMax : i32 , pub cOutInterfacesMax : i32 , pub cTopLevelInInterfaces : i32 , pub iid : :: windows :: Guid , pub cMethod : u32 , pub cParams : u32 } impl CALLFRAMEINFO { } impl :: std :: default :: Default for CALLFRAMEINFO { fn default ( ) -> Self { Self { iMethod : 0 , fHasInValues : :: std :: default :: Default :: default ( ) , fHasInOutValues : :: std :: default :: Default :: default ( ) , fHasOutValues : :: std :: default :: Default :: default ( ) , fDerivesFromIDispatch : :: std :: default :: Default :: default ( ) , cInInterfacesMax : 0 , cInOutInterfacesMax : 0 , cOutInterfacesMax : 0 , cTopLevelInInterfaces : 0 , iid : :: std :: default :: Default :: default ( ) , cMethod : 0 , cParams : 0 } } } impl :: std :: fmt :: Debug for CALLFRAMEINFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CALLFRAMEINFO" ) . field ( "iMethod" , & self . iMethod ) . field ( "fHasInValues" , & self . fHasInValues ) . field ( "fHasInOutValues" , & self . fHasInOutValues ) . field ( "fHasOutValues" , & self . fHasOutValues ) . field ( "fDerivesFromIDispatch" , & self . fDerivesFromIDispatch ) . field ( "cInInterfacesMax" , & self . cInInterfacesMax ) . field ( "cInOutInterfacesMax" , & self . cInOutInterfacesMax ) . field ( "cOutInterfacesMax" , & self . cOutInterfacesMax ) . field ( "cTopLevelInInterfaces" , & self . cTopLevelInInterfaces ) . field ( "iid" , & self . iid ) . field ( "cMethod" , & self . cMethod ) . field ( "cParams" , & self . cParams ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CALLFRAMEINFO { fn eq ( & self , other : & Self ) -> bool { self . iMethod == other . iMethod && self . fHasInValues == other . fHasInValues && self . fHasInOutValues == other . fHasInOutValues && self . fHasOutValues == other . fHasOutValues && self . fDerivesFromIDispatch == other . fDerivesFromIDispatch && self . cInInterfacesMax == other . cInInterfacesMax && self . cInOutInterfacesMax == other . cInOutInterfacesMax && self . cOutInterfacesMax == other . cOutInterfacesMax && self . cTopLevelInInterfaces == other . cTopLevelInInterfaces && self . iid == other . iid && self . cMethod == other . cMethod && self . cParams == other . cParams } } impl :: std :: cmp :: Eq for CALLFRAMEINFO { } unsafe impl :: windows :: Abi for CALLFRAMEINFO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CALLFRAMEPARAMINFO { pub fIn : u8 , pub fOut : u8 , pub stackOffset : u32 , pub cbParam : u32 } impl CALLFRAMEPARAMINFO { } impl :: std :: default :: Default for CALLFRAMEPARAMINFO { fn default ( ) -> Self { Self { fIn : 0 , fOut : 0 , stackOffset : 0 , cbParam : 0 } } } impl :: std :: fmt :: Debug for CALLFRAMEPARAMINFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CALLFRAMEPARAMINFO" ) . field ( "fIn" , & self . fIn ) . field ( "fOut" , & self . fOut ) . field ( "stackOffset" , & self . stackOffset ) . field ( "cbParam" , & self . cbParam ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CALLFRAMEPARAMINFO { fn eq ( & self , other : & Self ) -> bool { self . fIn == other . fIn && self . fOut == other . fOut && self . stackOffset == other . stackOffset && self . cbParam == other . cbParam } } impl :: std :: cmp :: Eq for CALLFRAMEPARAMINFO { } unsafe impl :: windows :: Abi for CALLFRAMEPARAMINFO { 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 CALLFRAME_COPY ( pub i32 ) ; pub const CALLFRAME_COPY_NESTED : CALLFRAME_COPY = CALLFRAME_COPY ( 1i32 ) ; pub const CALLFRAME_COPY_INDEPENDENT : CALLFRAME_COPY = CALLFRAME_COPY ( 2i32 ) ; impl :: std :: convert :: From < i32 > for CALLFRAME_COPY { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for CALLFRAME_COPY { 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 CALLFRAME_FREE ( pub i32 ) ; pub const CALLFRAME_FREE_NONE : CALLFRAME_FREE = CALLFRAME_FREE ( 0i32 ) ; pub const CALLFRAME_FREE_IN : CALLFRAME_FREE = CALLFRAME_FREE ( 1i32 ) ; pub const CALLFRAME_FREE_INOUT : CALLFRAME_FREE = CALLFRAME_FREE ( 2i32 ) ; pub const CALLFRAME_FREE_OUT : CALLFRAME_FREE = CALLFRAME_FREE ( 4i32 ) ; pub const CALLFRAME_FREE_TOP_INOUT : CALLFRAME_FREE = CALLFRAME_FREE ( 8i32 ) ; pub const CALLFRAME_FREE_TOP_OUT : CALLFRAME_FREE = CALLFRAME_FREE ( 16i32 ) ; pub const CALLFRAME_FREE_ALL : CALLFRAME_FREE = CALLFRAME_FREE ( 31i32 ) ; impl :: std :: convert :: From < i32 > for CALLFRAME_FREE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for CALLFRAME_FREE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone ) ] # [ repr ( C ) ] pub struct CALLFRAME_MARSHALCONTEXT { pub fIn : u8 , pub dwDestContext : u32 , pub pvDestContext : * mut :: std :: ffi :: c_void , pub punkReserved : :: std :: option :: Option < :: windows :: IUnknown > , pub guidTransferSyntax : :: windows :: Guid } impl CALLFRAME_MARSHALCONTEXT { } impl :: std :: default :: Default for CALLFRAME_MARSHALCONTEXT { fn default ( ) -> Self { Self { fIn : 0 , dwDestContext : 0 , pvDestContext : :: std :: ptr :: null_mut ( ) , punkReserved : :: std :: default :: Default :: default ( ) , guidTransferSyntax : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for CALLFRAME_MARSHALCONTEXT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CALLFRAME_MARSHALCONTEXT" ) . field ( "fIn" , & self . fIn ) . field ( "dwDestContext" , & self . dwDestContext ) . field ( "pvDestContext" , & self . pvDestContext ) . field ( "punkReserved" , & self . punkReserved ) . field ( "guidTransferSyntax" , & self . guidTransferSyntax ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CALLFRAME_MARSHALCONTEXT { fn eq ( & self , other : & Self ) -> bool { self . fIn == other . fIn && self . dwDestContext == other . dwDestContext && self . pvDestContext == other . pvDestContext && self . punkReserved == other . punkReserved && self . guidTransferSyntax == other . guidTransferSyntax } } impl :: std :: cmp :: Eq for CALLFRAME_MARSHALCONTEXT { } # [ repr ( C ) ] # [ doc ( hidden ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct CALLFRAME_MARSHALCONTEXT_abi { pub fIn : u8 , pub dwDestContext : u32 , pub pvDestContext : * mut :: std :: ffi :: c_void , pub punkReserved : :: windows :: RawPtr , pub guidTransferSyntax : :: windows :: Guid } unsafe impl :: windows :: Abi for CALLFRAME_MARSHALCONTEXT { type Abi = CALLFRAME_MARSHALCONTEXT_abi ; 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 CALLFRAME_NULL ( pub i32 ) ; pub const CALLFRAME_NULL_NONE : CALLFRAME_NULL = CALLFRAME_NULL ( 0i32 ) ; pub const CALLFRAME_NULL_INOUT : CALLFRAME_NULL = CALLFRAME_NULL ( 2i32 ) ; pub const CALLFRAME_NULL_OUT : CALLFRAME_NULL = CALLFRAME_NULL ( 4i32 ) ; pub const CALLFRAME_NULL_ALL : CALLFRAME_NULL = CALLFRAME_NULL ( 6i32 ) ; impl :: std :: convert :: From < i32 > for CALLFRAME_NULL { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for CALLFRAME_NULL { 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 CALLFRAME_WALK ( pub i32 ) ; pub const CALLFRAME_WALK_IN : CALLFRAME_WALK = CALLFRAME_WALK ( 1i32 ) ; pub const CALLFRAME_WALK_INOUT : CALLFRAME_WALK = CALLFRAME_WALK ( 2i32 ) ; pub const CALLFRAME_WALK_OUT : CALLFRAME_WALK = CALLFRAME_WALK ( 4i32 ) ; impl :: std :: convert :: From < i32 > for CALLFRAME_WALK { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for CALLFRAME_WALK { 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 CALLTYPE ( pub i32 ) ; pub const CALLTYPE_TOPLEVEL : CALLTYPE = CALLTYPE ( 1i32 ) ; pub const CALLTYPE_NESTED : CALLTYPE = CALLTYPE ( 2i32 ) ; pub const CALLTYPE_ASYNC : CALLTYPE = CALLTYPE ( 3i32 ) ; pub const CALLTYPE_TOPLEVEL_CALLPENDING : CALLTYPE = CALLTYPE ( 4i32 ) ; pub const CALLTYPE_ASYNC_CALLPENDING : CALLTYPE = CALLTYPE ( 5i32 ) ; impl :: std :: convert :: From < i32 > for CALLTYPE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for CALLTYPE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CALPOLESTR { pub cElems : u32 , pub pElems : * mut super::super::Foundation:: PWSTR } impl CALPOLESTR { } impl :: std :: default :: Default for CALPOLESTR { fn default ( ) -> Self { Self { cElems : 0 , pElems : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for CALPOLESTR { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CALPOLESTR" ) . field ( "cElems" , & self . cElems ) . field ( "pElems" , & self . pElems ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CALPOLESTR { fn eq ( & self , other : & Self ) -> bool { self . cElems == other . cElems && self . pElems == other . pElems } } impl :: std :: cmp :: Eq for CALPOLESTR { } unsafe impl :: windows :: Abi for CALPOLESTR { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CATEGORYINFO { pub catid : :: windows :: Guid , pub lcid : u32 , pub szDescription : [ u16 ;128 ] } impl CATEGORYINFO { } impl :: std :: default :: Default for CATEGORYINFO { fn default ( ) -> Self { Self { catid : :: std :: default :: Default :: default ( ) , lcid : 0 , szDescription : [ 0 ;128 ] } } } impl :: std :: fmt :: Debug for CATEGORYINFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CATEGORYINFO" ) . field ( "catid" , & self . catid ) . field ( "lcid" , & self . lcid ) . field ( "szDescription" , & self . szDescription ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CATEGORYINFO { fn eq ( & self , other : & Self ) -> bool { self . catid == other . catid && self . lcid == other . lcid && self . szDescription == other . szDescription } } impl :: std :: cmp :: Eq for CATEGORYINFO { } unsafe impl :: windows :: Abi for CATEGORYINFO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CAUUID { pub cElems : u32 , pub pElems : * mut :: windows :: Guid } impl CAUUID { } impl :: std :: default :: Default for CAUUID { fn default ( ) -> Self { Self { cElems : 0 , pElems : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for CAUUID { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CAUUID" ) . field ( "cElems" , & self . cElems ) . field ( "pElems" , & self . pElems ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CAUUID { fn eq ( & self , other : & Self ) -> bool { self . cElems == other . cElems && self . pElems == other . pElems } } impl :: std :: cmp :: Eq for CAUUID { } unsafe impl :: windows :: Abi for CAUUID { type Abi = Self ; type DefaultType = Self ; } pub const CF_CONVERTONLY : i32 = 256i32 ; pub const CF_DISABLEACTIVATEAS : i32 = 64i32 ; pub const CF_DISABLEDISPLAYASICON : i32 = 32i32 ; pub const CF_HIDECHANGEICON : i32 = 128i32 ; pub const CF_NULL : u32 = 0u32 ; pub const CF_SELECTACTIVATEAS : i32 = 16i32 ; pub const CF_SELECTCONVERTTO : i32 = 8i32 ; pub const CF_SETACTIVATEDEFAULT : i32 = 4i32 ; pub const CF_SETCONVERTDEFAULT : i32 = 2i32 ; pub const CF_SHOWHELPBUTTON : i32 = 1i32 ; pub const CIF_SELECTCURRENT : i32 = 2i32 ; pub const CIF_SELECTDEFAULT : i32 = 4i32 ; pub const CIF_SELECTFROMFILE : i32 = 8i32 ; pub const CIF_SHOWHELP : i32 = 1i32 ; pub const CIF_USEICONEXE : 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 CIP_STATUS ( pub i32 ) ; pub const CIP_DISK_FULL : CIP_STATUS = CIP_STATUS ( 0i32 ) ; pub const CIP_ACCESS_DENIED : CIP_STATUS = CIP_STATUS ( 1i32 ) ; pub const CIP_NEWER_VERSION_EXISTS : CIP_STATUS = CIP_STATUS ( 2i32 ) ; pub const CIP_OLDER_VERSION_EXISTS : CIP_STATUS = CIP_STATUS ( 3i32 ) ; pub const CIP_NAME_CONFLICT : CIP_STATUS = CIP_STATUS ( 4i32 ) ; pub const CIP_TRUST_VERIFICATION_COMPONENT_MISSING : CIP_STATUS = CIP_STATUS ( 5i32 ) ; pub const CIP_EXE_SELF_REGISTERATION_TIMEOUT : CIP_STATUS = CIP_STATUS ( 6i32 ) ; pub const CIP_UNSAFE_TO_ABORT : CIP_STATUS = CIP_STATUS ( 7i32 ) ; pub const CIP_NEED_REBOOT : CIP_STATUS = CIP_STATUS ( 8i32 ) ; pub const CIP_NEED_REBOOT_UI_PERMISSION : CIP_STATUS = CIP_STATUS ( 9i32 ) ; impl :: std :: convert :: From < i32 > for CIP_STATUS { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for CIP_STATUS { type Abi = Self ; type DefaultType = Self ; } pub unsafe fn CLIPFORMAT_UserFree < > ( param0 : * mut u32 , param1 : * mut u16 , ) { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CLIPFORMAT_UserFree ( param0 : * mut u32 , param1 : * mut u16 ) ; } CLIPFORMAT_UserFree ( :: std :: mem :: transmute ( param0 ) , :: std :: mem :: transmute ( param1 ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CLIPFORMAT_UserFree64 < > ( param0 : * mut u32 , param1 : * mut u16 , ) { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CLIPFORMAT_UserFree64 ( param0 : * mut u32 , param1 : * mut u16 ) ; } CLIPFORMAT_UserFree64 ( :: std :: mem :: transmute ( param0 ) , :: std :: mem :: transmute ( param1 ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CLIPFORMAT_UserMarshal < > ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut u16 , ) -> * mut u8 { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CLIPFORMAT_UserMarshal ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut u16 ) -> * mut u8 ; } CLIPFORMAT_UserMarshal ( :: std :: mem :: transmute ( param0 ) , :: std :: mem :: transmute ( param1 ) , :: std :: mem :: transmute ( param2 ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CLIPFORMAT_UserMarshal64 < > ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut u16 , ) -> * mut u8 { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CLIPFORMAT_UserMarshal64 ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut u16 ) -> * mut u8 ; } CLIPFORMAT_UserMarshal64 ( :: std :: mem :: transmute ( param0 ) , :: std :: mem :: transmute ( param1 ) , :: std :: mem :: transmute ( param2 ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CLIPFORMAT_UserSize < > ( param0 : * mut u32 , param1 : u32 , param2 : * mut u16 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CLIPFORMAT_UserSize ( param0 : * mut u32 , param1 : u32 , param2 : * mut u16 ) -> u32 ; } CLIPFORMAT_UserSize ( :: std :: mem :: transmute ( param0 ) , :: std :: mem :: transmute ( param1 ) , :: std :: mem :: transmute ( param2 ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CLIPFORMAT_UserSize64 < > ( param0 : * mut u32 , param1 : u32 , param2 : * mut u16 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CLIPFORMAT_UserSize64 ( param0 : * mut u32 , param1 : u32 , param2 : * mut u16 ) -> u32 ; } CLIPFORMAT_UserSize64 ( :: std :: mem :: transmute ( param0 ) , :: std :: mem :: transmute ( param1 ) , :: std :: mem :: transmute ( param2 ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CLIPFORMAT_UserUnmarshal < > ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut u16 , ) -> * mut u8 { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CLIPFORMAT_UserUnmarshal ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut u16 ) -> * mut u8 ; } CLIPFORMAT_UserUnmarshal ( :: std :: mem :: transmute ( param0 ) , :: std :: mem :: transmute ( param1 ) , :: std :: mem :: transmute ( param2 ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CLIPFORMAT_UserUnmarshal64 < > ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut u16 , ) -> * mut u8 { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CLIPFORMAT_UserUnmarshal64 ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut u16 ) -> * mut u8 ; } CLIPFORMAT_UserUnmarshal64 ( :: std :: mem :: transmute ( param0 ) , :: std :: mem :: transmute ( param1 ) , :: std :: mem :: transmute ( param2 ) ) } # [ 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 CLSCTX ( pub u32 ) ; pub const CLSCTX_INPROC_SERVER : CLSCTX = CLSCTX ( 1u32 ) ; pub const CLSCTX_INPROC_HANDLER : CLSCTX = CLSCTX ( 2u32 ) ; pub const CLSCTX_LOCAL_SERVER : CLSCTX = CLSCTX ( 4u32 ) ; pub const CLSCTX_INPROC_SERVER16 : CLSCTX = CLSCTX ( 8u32 ) ; pub const CLSCTX_REMOTE_SERVER : CLSCTX = CLSCTX ( 16u32 ) ; pub const CLSCTX_INPROC_HANDLER16 : CLSCTX = CLSCTX ( 32u32 ) ; pub const CLSCTX_RESERVED1 : CLSCTX = CLSCTX ( 64u32 ) ; pub const CLSCTX_RESERVED2 : CLSCTX = CLSCTX ( 128u32 ) ; pub const CLSCTX_RESERVED3 : CLSCTX = CLSCTX ( 256u32 ) ; pub const CLSCTX_RESERVED4 : CLSCTX = CLSCTX ( 512u32 ) ; pub const CLSCTX_NO_CODE_DOWNLOAD : CLSCTX = CLSCTX ( 1024u32 ) ; pub const CLSCTX_RESERVED5 : CLSCTX = CLSCTX ( 2048u32 ) ; pub const CLSCTX_NO_CUSTOM_MARSHAL : CLSCTX = CLSCTX ( 4096u32 ) ; pub const CLSCTX_ENABLE_CODE_DOWNLOAD : CLSCTX = CLSCTX ( 8192u32 ) ; pub const CLSCTX_NO_FAILURE_LOG : CLSCTX = CLSCTX ( 16384u32 ) ; pub const CLSCTX_DISABLE_AAA : CLSCTX = CLSCTX ( 32768u32 ) ; pub const CLSCTX_ENABLE_AAA : CLSCTX = CLSCTX ( 65536u32 ) ; pub const CLSCTX_FROM_DEFAULT_CONTEXT : CLSCTX = CLSCTX ( 131072u32 ) ; pub const CLSCTX_ACTIVATE_X86_SERVER : CLSCTX = CLSCTX ( 262144u32 ) ; pub const CLSCTX_ACTIVATE_32_BIT_SERVER : CLSCTX = CLSCTX ( 262144u32 ) ; pub const CLSCTX_ACTIVATE_64_BIT_SERVER : CLSCTX = CLSCTX ( 524288u32 ) ; pub const CLSCTX_ENABLE_CLOAKING : CLSCTX = CLSCTX ( 1048576u32 ) ; pub const CLSCTX_APPCONTAINER : CLSCTX = CLSCTX ( 4194304u32 ) ; pub const CLSCTX_ACTIVATE_AAA_AS_IU : CLSCTX = CLSCTX ( 8388608u32 ) ; pub const CLSCTX_RESERVED6 : CLSCTX = CLSCTX ( 16777216u32 ) ; pub const CLSCTX_ACTIVATE_ARM32_SERVER : CLSCTX = CLSCTX ( 33554432u32 ) ; pub const CLSCTX_PS_DLL : CLSCTX = CLSCTX ( 2147483648u32 ) ; pub const CLSCTX_ALL : CLSCTX = CLSCTX ( 23u32 ) ; pub const CLSCTX_SERVER : CLSCTX = CLSCTX ( 21u32 ) ; impl :: std :: convert :: From < u32 > for CLSCTX { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for CLSCTX { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for CLSCTX { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for CLSCTX { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for CLSCTX { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for CLSCTX { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub unsafe fn CLSIDFromProgID < 'a , > ( lpszprogid : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , ) -> :: windows :: Result < :: windows :: Guid > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CLSIDFromProgID ( lpszprogid : super::super::Foundation:: PWSTR , lpclsid : * mut :: windows :: Guid ) -> :: windows :: HRESULT ; } let mut result__ : < :: windows :: Guid as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; CLSIDFromProgID ( lpszprogid . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < :: windows :: Guid > ( result__ ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CLSIDFromProgIDEx < 'a , > ( lpszprogid : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , ) -> :: windows :: Result < :: windows :: Guid > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CLSIDFromProgIDEx ( lpszprogid : super::super::Foundation:: PWSTR , lpclsid : * mut :: windows :: Guid ) -> :: windows :: HRESULT ; } let mut result__ : < :: windows :: Guid as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; CLSIDFromProgIDEx ( lpszprogid . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < :: windows :: Guid > ( result__ ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CLSIDFromString < 'a , > ( lpsz : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , ) -> :: windows :: Result < :: windows :: Guid > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CLSIDFromString ( lpsz : super::super::Foundation:: PWSTR , pclsid : * mut :: windows :: Guid ) -> :: windows :: HRESULT ; } let mut result__ : < :: windows :: Guid as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; CLSIDFromString ( lpsz . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < :: windows :: Guid > ( result__ ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub const CLSID_CColorPropPage : :: windows :: Guid = :: windows :: Guid :: from_values ( 199447041 ,36753 ,4558 , [ 157 ,227 ,0 ,170 ,0 ,75 ,184 ,81 ] , ) ; pub const CLSID_CFontPropPage : :: windows :: Guid = :: windows :: Guid :: from_values ( 199447040 ,36753 ,4558 , [ 157 ,227 ,0 ,170 ,0 ,75 ,184 ,81 ] , ) ; pub const CLSID_CPicturePropPage : :: windows :: Guid = :: windows :: Guid :: from_values ( 199447042 ,36753 ,4558 , [ 157 ,227 ,0 ,170 ,0 ,75 ,184 ,81 ] , ) ; pub const CLSID_ConvertVBX : :: windows :: Guid = :: windows :: Guid :: from_values ( 4220454946 ,356 ,4123 , [ 132 ,237 ,8 ,0 ,43 ,46 ,199 ,19 ] , ) ; pub const CLSID_PersistPropset : :: windows :: Guid = :: windows :: Guid :: from_values ( 4220454945 ,356 ,4123 , [ 132 ,237 ,8 ,0 ,43 ,46 ,199 ,19 ] , ) ; pub const CLSID_StdFont : :: windows :: Guid = :: windows :: Guid :: from_values ( 199447043 ,36753 ,4558 , [ 157 ,227 ,0 ,170 ,0 ,75 ,184 ,81 ] , ) ; pub const CLSID_StdPicture : :: windows :: Guid = :: windows :: Guid :: from_values ( 199447044 ,36753 ,4558 , [ 157 ,227 ,0 ,170 ,0 ,75 ,184 ,81 ] , ) ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct COAUTHIDENTITY { pub User : * mut u16 , pub UserLength : u32 , pub Domain : * mut u16 , pub DomainLength : u32 , pub Password : * mut u16 , pub PasswordLength : u32 , pub Flags : u32 } impl COAUTHIDENTITY { } impl :: std :: default :: Default for COAUTHIDENTITY { fn default ( ) -> Self { Self { User : :: std :: ptr :: null_mut ( ) , UserLength : 0 , Domain : :: std :: ptr :: null_mut ( ) , DomainLength : 0 , Password : :: std :: ptr :: null_mut ( ) , PasswordLength : 0 , Flags : 0 } } } impl :: std :: fmt :: Debug for COAUTHIDENTITY { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "COAUTHIDENTITY" ) . field ( "User" , & self . User ) . field ( "UserLength" , & self . UserLength ) . field ( "Domain" , & self . Domain ) . field ( "DomainLength" , & self . DomainLength ) . field ( "Password" , & self . Password ) . field ( "PasswordLength" , & self . PasswordLength ) . field ( "Flags" , & self . Flags ) . finish ( ) } } impl :: std :: cmp :: PartialEq for COAUTHIDENTITY { fn eq ( & self , other : & Self ) -> bool { self . User == other . User && self . UserLength == other . UserLength && self . Domain == other . Domain && self . DomainLength == other . DomainLength && self . Password == other . Password && self . PasswordLength == other . PasswordLength && self . Flags == other . Flags } } impl :: std :: cmp :: Eq for COAUTHIDENTITY { } unsafe impl :: windows :: Abi for COAUTHIDENTITY { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct COAUTHINFO { pub dwAuthnSvc : u32 , pub dwAuthzSvc : u32 , pub pwszServerPrincName : super::super::Foundation:: PWSTR , pub dwAuthnLevel : u32 , pub dwImpersonationLevel : u32 , pub pAuthIdentityData : * mut COAUTHIDENTITY , pub dwCapabilities : u32 } impl COAUTHINFO { } impl :: std :: default :: Default for COAUTHINFO { fn default ( ) -> Self { Self { dwAuthnSvc : 0 , dwAuthzSvc : 0 , pwszServerPrincName : :: std :: default :: Default :: default ( ) , dwAuthnLevel : 0 , dwImpersonationLevel : 0 , pAuthIdentityData : :: std :: ptr :: null_mut ( ) , dwCapabilities : 0 } } } impl :: std :: fmt :: Debug for COAUTHINFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "COAUTHINFO" ) . field ( "dwAuthnSvc" , & self . dwAuthnSvc ) . field ( "dwAuthzSvc" , & self . dwAuthzSvc ) . field ( "pwszServerPrincName" , & self . pwszServerPrincName ) . field ( "dwAuthnLevel" , & self . dwAuthnLevel ) . field ( "dwImpersonationLevel" , & self . dwImpersonationLevel ) . field ( "pAuthIdentityData" , & self . pAuthIdentityData ) . field ( "dwCapabilities" , & self . dwCapabilities ) . finish ( ) } } impl :: std :: cmp :: PartialEq for COAUTHINFO { fn eq ( & self , other : & Self ) -> bool { self . dwAuthnSvc == other . dwAuthnSvc && self . dwAuthzSvc == other . dwAuthzSvc && self . pwszServerPrincName == other . pwszServerPrincName && self . dwAuthnLevel == other . dwAuthnLevel && self . dwImpersonationLevel == other . dwImpersonationLevel && self . pAuthIdentityData == other . pAuthIdentityData && self . dwCapabilities == other . dwCapabilities } } impl :: std :: cmp :: Eq for COAUTHINFO { } unsafe impl :: windows :: Abi for COAUTHINFO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CODEBASEHOLD { pub cbSize : u32 , pub szDistUnit : super::super::Foundation:: PWSTR , pub szCodeBase : super::super::Foundation:: PWSTR , pub dwVersionMS : u32 , pub dwVersionLS : u32 , pub dwStyle : u32 } impl CODEBASEHOLD { } impl :: std :: default :: Default for CODEBASEHOLD { fn default ( ) -> Self { Self { cbSize : 0 , szDistUnit : :: std :: default :: Default :: default ( ) , szCodeBase : :: std :: default :: Default :: default ( ) , dwVersionMS : 0 , dwVersionLS : 0 , dwStyle : 0 } } } impl :: std :: fmt :: Debug for CODEBASEHOLD { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CODEBASEHOLD" ) . field ( "cbSize" , & self . cbSize ) . field ( "szDistUnit" , & self . szDistUnit ) . field ( "szCodeBase" , & self . szCodeBase ) . field ( "dwVersionMS" , & self . dwVersionMS ) . field ( "dwVersionLS" , & self . dwVersionLS ) . field ( "dwStyle" , & self . dwStyle ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CODEBASEHOLD { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . szDistUnit == other . szDistUnit && self . szCodeBase == other . szCodeBase && self . dwVersionMS == other . dwVersionMS && self . dwVersionLS == other . dwVersionLS && self . dwStyle == other . dwStyle } } impl :: std :: cmp :: Eq for CODEBASEHOLD { } unsafe impl :: windows :: Abi for CODEBASEHOLD { 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 COINIT ( pub u32 ) ; pub const COINIT_APARTMENTTHREADED : COINIT = COINIT ( 2u32 ) ; pub const COINIT_MULTITHREADED : COINIT = COINIT ( 0u32 ) ; pub const COINIT_DISABLE_OLE1DDE : COINIT = COINIT ( 4u32 ) ; pub const COINIT_SPEED_OVER_MEMORY : COINIT = COINIT ( 8u32 ) ; impl :: std :: convert :: From < u32 > for COINIT { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for COINIT { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for COINIT { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for COINIT { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for COINIT { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for COINIT { 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 COINITBASE ( pub i32 ) ; pub const COINITBASE_MULTITHREADED : COINITBASE = COINITBASE ( 0i32 ) ; impl :: std :: convert :: From < i32 > for COINITBASE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for COINITBASE { 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 COMSD ( pub i32 ) ; pub const SD_LAUNCHPERMISSIONS : COMSD = COMSD ( 0i32 ) ; pub const SD_ACCESSPERMISSIONS : COMSD = COMSD ( 1i32 ) ; pub const SD_LAUNCHRESTRICTIONS : COMSD = COMSD ( 2i32 ) ; pub const SD_ACCESSRESTRICTIONS : COMSD = COMSD ( 3i32 ) ; impl :: std :: convert :: From < i32 > for COMSD { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for COMSD { type Abi = Self ; type DefaultType = Self ; } pub const COM_RIGHTS_ACTIVATE_LOCAL : u32 = 8u32 ; pub const COM_RIGHTS_ACTIVATE_REMOTE : u32 = 16u32 ; pub const COM_RIGHTS_EXECUTE : u32 = 1u32 ; pub const COM_RIGHTS_EXECUTE_LOCAL : u32 = 2u32 ; pub const COM_RIGHTS_EXECUTE_REMOTE : u32 = 4u32 ; pub const COM_RIGHTS_RESERVED1 : u32 = 32u32 ; pub const COM_RIGHTS_RESERVED2 : u32 = 64u32 ; # [ derive ( :: std :: clone :: Clone ) ] # [ repr ( C ) ] pub struct CONFIRMSAFETY { pub clsid : :: windows :: Guid , pub pUnk : :: std :: option :: Option < :: windows :: IUnknown > , pub dwFlags : u32 } impl CONFIRMSAFETY { } impl :: std :: default :: Default for CONFIRMSAFETY { fn default ( ) -> Self { Self { clsid : :: std :: default :: Default :: default ( ) , pUnk : :: std :: default :: Default :: default ( ) , dwFlags : 0 } } } impl :: std :: fmt :: Debug for CONFIRMSAFETY { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CONFIRMSAFETY" ) . field ( "clsid" , & self . clsid ) . field ( "pUnk" , & self . pUnk ) . field ( "dwFlags" , & self . dwFlags ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CONFIRMSAFETY { fn eq ( & self , other : & Self ) -> bool { self . clsid == other . clsid && self . pUnk == other . pUnk && self . dwFlags == other . dwFlags } } impl :: std :: cmp :: Eq for CONFIRMSAFETY { } # [ repr ( C ) ] # [ doc ( hidden ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct CONFIRMSAFETY_abi { pub clsid : :: windows :: Guid , pub pUnk : :: windows :: RawPtr , pub dwFlags : u32 } unsafe impl :: windows :: Abi for CONFIRMSAFETY { type Abi = CONFIRMSAFETY_abi ; type DefaultType = Self ; } pub const CONFIRMSAFETYACTION_LOADOBJECT : u32 = 1u32 ; # [ derive ( :: std :: clone :: Clone ) ] # [ repr ( C ) ] pub struct CONNECTDATA { pub pUnk : :: std :: option :: Option < :: windows :: IUnknown > , pub dwCookie : u32 } impl CONNECTDATA { } impl :: std :: default :: Default for CONNECTDATA { fn default ( ) -> Self { Self { pUnk : :: std :: default :: Default :: default ( ) , dwCookie : 0 } } } impl :: std :: fmt :: Debug for CONNECTDATA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CONNECTDATA" ) . field ( "pUnk" , & self . pUnk ) . field ( "dwCookie" , & self . dwCookie ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CONNECTDATA { fn eq ( & self , other : & Self ) -> bool { self . pUnk == other . pUnk && self . dwCookie == other . dwCookie } } impl :: std :: cmp :: Eq for CONNECTDATA { } # [ repr ( C ) ] # [ doc ( hidden ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct CONNECTDATA_abi { pub pUnk : :: windows :: RawPtr , pub dwCookie : u32 } unsafe impl :: windows :: Abi for CONNECTDATA { type Abi = CONNECTDATA_abi ; type DefaultType = Self ; } pub const CONNECT_E_ADVISELIMIT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220991i32 as _ ) ; pub const CONNECT_E_CANNOTCONNECT : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220990i32 as _ ) ; pub const CONNECT_E_FIRST : i32 = -2147220992i32 ; pub const CONNECT_E_LAST : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220977i32 as _ ) ; pub const CONNECT_E_NOCONNECTION : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220992i32 as _ ) ; pub const CONNECT_E_OVERRIDDEN : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220989i32 as _ ) ; pub const CONNECT_S_FIRST : :: windows :: HRESULT = :: windows :: HRESULT ( 262656i32 as _ ) ; pub const CONNECT_S_LAST : :: windows :: HRESULT = :: windows :: HRESULT ( 262671i32 as _ ) ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CONTROLINFO { pub cb : u32 , pub hAccel : super::super::UI::WindowsAndMessaging:: HACCEL , pub cAccel : u16 , pub dwFlags : u32 } impl CONTROLINFO { } impl :: std :: default :: Default for CONTROLINFO { fn default ( ) -> Self { Self { cb : 0 , hAccel : :: std :: default :: Default :: default ( ) , cAccel : 0 , dwFlags : 0 } } } impl :: std :: fmt :: Debug for CONTROLINFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CONTROLINFO" ) . field ( "cb" , & self . cb ) . field ( "hAccel" , & self . hAccel ) . field ( "cAccel" , & self . cAccel ) . field ( "dwFlags" , & self . dwFlags ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CONTROLINFO { fn eq ( & self , other : & Self ) -> bool { self . cb == other . cb && self . hAccel == other . hAccel && self . cAccel == other . cAccel && self . dwFlags == other . dwFlags } } impl :: std :: cmp :: Eq for CONTROLINFO { } unsafe impl :: windows :: Abi for CONTROLINFO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct COSERVERINFO { pub dwReserved1 : u32 , pub pwszName : super::super::Foundation:: PWSTR , pub pAuthInfo : * mut COAUTHINFO , pub dwReserved2 : u32 } impl COSERVERINFO { } impl :: std :: default :: Default for COSERVERINFO { fn default ( ) -> Self { Self { dwReserved1 : 0 , pwszName : :: std :: default :: Default :: default ( ) , pAuthInfo : :: std :: ptr :: null_mut ( ) , dwReserved2 : 0 } } } impl :: std :: fmt :: Debug for COSERVERINFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "COSERVERINFO" ) . field ( "dwReserved1" , & self . dwReserved1 ) . field ( "pwszName" , & self . pwszName ) . field ( "pAuthInfo" , & self . pAuthInfo ) . field ( "dwReserved2" , & self . dwReserved2 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for COSERVERINFO { fn eq ( & self , other : & Self ) -> bool { self . dwReserved1 == other . dwReserved1 && self . pwszName == other . pwszName && self . pAuthInfo == other . pAuthInfo && self . dwReserved2 == other . dwReserved2 } } impl :: std :: cmp :: Eq for COSERVERINFO { } unsafe impl :: windows :: Abi for COSERVERINFO { 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 COWAIT_FLAGS ( pub i32 ) ; pub const COWAIT_DEFAULT : COWAIT_FLAGS = COWAIT_FLAGS ( 0i32 ) ; pub const COWAIT_WAITALL : COWAIT_FLAGS = COWAIT_FLAGS ( 1i32 ) ; pub const COWAIT_ALERTABLE : COWAIT_FLAGS = COWAIT_FLAGS ( 2i32 ) ; pub const COWAIT_INPUTAVAILABLE : COWAIT_FLAGS = COWAIT_FLAGS ( 4i32 ) ; pub const COWAIT_DISPATCH_CALLS : COWAIT_FLAGS = COWAIT_FLAGS ( 8i32 ) ; pub const COWAIT_DISPATCH_WINDOW_MESSAGES : COWAIT_FLAGS = COWAIT_FLAGS ( 16i32 ) ; impl :: std :: convert :: From < i32 > for COWAIT_FLAGS { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for COWAIT_FLAGS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( transparent ) ] pub struct CO_DEVICE_CATALOG_COOKIE ( pub isize ) ; impl CO_DEVICE_CATALOG_COOKIE { } impl :: std :: default :: Default for CO_DEVICE_CATALOG_COOKIE { fn default ( ) -> Self { Self ( 0 ) } } impl CO_DEVICE_CATALOG_COOKIE { pub const NULL : Self = Self ( 0 ) ; pub fn is_null ( & self ) -> bool { self . 0 == 0 } } impl :: std :: fmt :: Debug for CO_DEVICE_CATALOG_COOKIE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CO_DEVICE_CATALOG_COOKIE" ) . field ( "Value" , & self .0 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CO_DEVICE_CATALOG_COOKIE { fn eq ( & self , other : & Self ) -> bool { self .0 == other .0 } } impl :: std :: cmp :: Eq for CO_DEVICE_CATALOG_COOKIE { } unsafe impl :: windows :: Abi for CO_DEVICE_CATALOG_COOKIE { 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 CO_MARSHALING_CONTEXT_ATTRIBUTES ( pub i32 ) ; pub const CO_MARSHALING_SOURCE_IS_APP_CONTAINER : CO_MARSHALING_CONTEXT_ATTRIBUTES = CO_MARSHALING_CONTEXT_ATTRIBUTES ( 0i32 ) ; pub const CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_1 : CO_MARSHALING_CONTEXT_ATTRIBUTES = CO_MARSHALING_CONTEXT_ATTRIBUTES ( -2147483648i32 ) ; pub const CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_2 : CO_MARSHALING_CONTEXT_ATTRIBUTES = CO_MARSHALING_CONTEXT_ATTRIBUTES ( -2147483647i32 ) ; pub const CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_3 : CO_MARSHALING_CONTEXT_ATTRIBUTES = CO_MARSHALING_CONTEXT_ATTRIBUTES ( -2147483646i32 ) ; pub const CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_4 : CO_MARSHALING_CONTEXT_ATTRIBUTES = CO_MARSHALING_CONTEXT_ATTRIBUTES ( -2147483645i32 ) ; pub const CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_5 : CO_MARSHALING_CONTEXT_ATTRIBUTES = CO_MARSHALING_CONTEXT_ATTRIBUTES ( -2147483644i32 ) ; pub const CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_6 : CO_MARSHALING_CONTEXT_ATTRIBUTES = CO_MARSHALING_CONTEXT_ATTRIBUTES ( -2147483643i32 ) ; pub const CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_7 : CO_MARSHALING_CONTEXT_ATTRIBUTES = CO_MARSHALING_CONTEXT_ATTRIBUTES ( -2147483642i32 ) ; pub const CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_8 : CO_MARSHALING_CONTEXT_ATTRIBUTES = CO_MARSHALING_CONTEXT_ATTRIBUTES ( -2147483641i32 ) ; pub const CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_9 : CO_MARSHALING_CONTEXT_ATTRIBUTES = CO_MARSHALING_CONTEXT_ATTRIBUTES ( -2147483640i32 ) ; pub const CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_10 : CO_MARSHALING_CONTEXT_ATTRIBUTES = CO_MARSHALING_CONTEXT_ATTRIBUTES ( -2147483639i32 ) ; pub const CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_11 : CO_MARSHALING_CONTEXT_ATTRIBUTES = CO_MARSHALING_CONTEXT_ATTRIBUTES ( -2147483638i32 ) ; pub const CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_12 : CO_MARSHALING_CONTEXT_ATTRIBUTES = CO_MARSHALING_CONTEXT_ATTRIBUTES ( -2147483637i32 ) ; pub const CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_13 : CO_MARSHALING_CONTEXT_ATTRIBUTES = CO_MARSHALING_CONTEXT_ATTRIBUTES ( -2147483636i32 ) ; pub const CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_14 : CO_MARSHALING_CONTEXT_ATTRIBUTES = CO_MARSHALING_CONTEXT_ATTRIBUTES ( -2147483635i32 ) ; pub const CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_15 : CO_MARSHALING_CONTEXT_ATTRIBUTES = CO_MARSHALING_CONTEXT_ATTRIBUTES ( -2147483634i32 ) ; pub const CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_16 : CO_MARSHALING_CONTEXT_ATTRIBUTES = CO_MARSHALING_CONTEXT_ATTRIBUTES ( -2147483633i32 ) ; pub const CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_17 : CO_MARSHALING_CONTEXT_ATTRIBUTES = CO_MARSHALING_CONTEXT_ATTRIBUTES ( -2147483632i32 ) ; pub const CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_18 : CO_MARSHALING_CONTEXT_ATTRIBUTES = CO_MARSHALING_CONTEXT_ATTRIBUTES ( -2147483631i32 ) ; impl :: std :: convert :: From < i32 > for CO_MARSHALING_CONTEXT_ATTRIBUTES { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for CO_MARSHALING_CONTEXT_ATTRIBUTES { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( transparent ) ] pub struct CO_MTA_USAGE_COOKIE ( pub isize ) ; impl CO_MTA_USAGE_COOKIE { } impl :: std :: default :: Default for CO_MTA_USAGE_COOKIE { fn default ( ) -> Self { Self ( 0 ) } } impl CO_MTA_USAGE_COOKIE { pub const NULL : Self = Self ( 0 ) ; pub fn is_null ( & self ) -> bool { self . 0 == 0 } } impl :: std :: fmt :: Debug for CO_MTA_USAGE_COOKIE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CO_MTA_USAGE_COOKIE" ) . field ( "Value" , & self .0 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CO_MTA_USAGE_COOKIE { fn eq ( & self , other : & Self ) -> bool { self .0 == other .0 } } impl :: std :: cmp :: Eq for CO_MTA_USAGE_COOKIE { } unsafe impl :: windows :: Abi for CO_MTA_USAGE_COOKIE { type Abi = Self ; type DefaultType = Self ; } pub const CSF_EXPLORER : i32 = 8i32 ; pub const CSF_ONLYGETSOURCE : i32 = 4i32 ; pub const CSF_SHOWHELP : i32 = 1i32 ; pub const CSF_VALIDSOURCE : i32 = 2i32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct CSPLATFORM { pub dwPlatformId : u32 , pub dwVersionHi : u32 , pub dwVersionLo : u32 , pub dwProcessorArch : u32 } impl CSPLATFORM { } impl :: std :: default :: Default for CSPLATFORM { fn default ( ) -> Self { Self { dwPlatformId : 0 , dwVersionHi : 0 , dwVersionLo : 0 , dwProcessorArch : 0 } } } impl :: std :: fmt :: Debug for CSPLATFORM { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "CSPLATFORM" ) . field ( "dwPlatformId" , & self . dwPlatformId ) . field ( "dwVersionHi" , & self . dwVersionHi ) . field ( "dwVersionLo" , & self . dwVersionLo ) . field ( "dwProcessorArch" , & self . dwProcessorArch ) . finish ( ) } } impl :: std :: cmp :: PartialEq for CSPLATFORM { fn eq ( & self , other : & Self ) -> bool { self . dwPlatformId == other . dwPlatformId && self . dwVersionHi == other . dwVersionHi && self . dwVersionLo == other . dwVersionLo && self . dwProcessorArch == other . dwProcessorArch } } impl :: std :: cmp :: Eq for CSPLATFORM { } unsafe impl :: windows :: Abi for CSPLATFORM { type Abi = Self ; type DefaultType = Self ; } pub const CTL_E_ILLEGALFUNCTIONCALL : i32 = -2146828283i32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct CTRLINFO ( pub i32 ) ; pub const CTRLINFO_EATS_RETURN : CTRLINFO = CTRLINFO ( 1i32 ) ; pub const CTRLINFO_EATS_ESCAPE : CTRLINFO = CTRLINFO ( 2i32 ) ; impl :: std :: convert :: From < i32 > for CTRLINFO { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for CTRLINFO { 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 CWMO_FLAGS ( pub i32 ) ; pub const CWMO_DEFAULT : CWMO_FLAGS = CWMO_FLAGS ( 0i32 ) ; pub const CWMO_DISPATCH_CALLS : CWMO_FLAGS = CWMO_FLAGS ( 1i32 ) ; pub const CWMO_DISPATCH_WINDOW_MESSAGES : CWMO_FLAGS = CWMO_FLAGS ( 2i32 ) ; impl :: std :: convert :: From < i32 > for CWMO_FLAGS { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for CWMO_FLAGS { type Abi = Self ; type DefaultType = Self ; } pub const CWMO_MAX_HANDLES : u32 = 56u32 ; pub unsafe fn CoAddRefServerProcess < > ( ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CoAddRefServerProcess ( ) -> u32 ; } CoAddRefServerProcess ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoAllowSetForegroundWindow < 'a , > ( punk : impl :: windows :: IntoParam < 'a , :: windows :: IUnknown > , lpvreserved : * mut :: std :: ffi :: c_void , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CoAllowSetForegroundWindow ( punk : :: windows :: RawPtr , lpvreserved : * mut :: std :: ffi :: c_void ) -> :: windows :: HRESULT ; } CoAllowSetForegroundWindow ( punk . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpvreserved ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoAllowUnmarshalerCLSID < > ( clsid : * const :: windows :: Guid , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CoAllowUnmarshalerCLSID ( clsid : * const :: windows :: Guid ) -> :: windows :: HRESULT ; } CoAllowUnmarshalerCLSID ( :: std :: mem :: transmute ( clsid ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoCancelCall < > ( dwthreadid : u32 , ultimeout : u32 , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CoCancelCall ( dwthreadid : u32 , ultimeout : u32 ) -> :: windows :: HRESULT ; } CoCancelCall ( :: std :: mem :: transmute ( dwthreadid ) , :: std :: mem :: transmute ( ultimeout ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoCopyProxy < 'a , > ( pproxy : impl :: windows :: IntoParam < 'a , :: windows :: IUnknown > , ) -> :: windows :: Result < :: windows :: IUnknown > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CoCopyProxy ( pproxy : :: windows :: RawPtr , ppcopy : * mut :: windows :: RawPtr ) -> :: windows :: HRESULT ; } let mut result__ : < :: windows :: IUnknown as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; CoCopyProxy ( pproxy . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < :: windows :: IUnknown > ( result__ ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoCreateFreeThreadedMarshaler < 'a , > ( punkouter : impl :: windows :: IntoParam < 'a , :: windows :: IUnknown > , ) -> :: windows :: Result < :: windows :: IUnknown > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CoCreateFreeThreadedMarshaler ( punkouter : :: windows :: RawPtr , ppunkmarshal : * mut :: windows :: RawPtr ) -> :: windows :: HRESULT ; } let mut result__ : < :: windows :: IUnknown as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; CoCreateFreeThreadedMarshaler ( punkouter . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < :: windows :: IUnknown > ( result__ ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoCreateGuid < > ( ) -> :: windows :: Result < :: windows :: Guid > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CoCreateGuid ( pguid : * mut :: windows :: Guid ) -> :: windows :: HRESULT ; } let mut result__ : < :: windows :: Guid as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; CoCreateGuid ( & mut result__ ) . from_abi :: < :: windows :: Guid > ( result__ ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoCreateInstance < 'a , T : :: windows :: Interface > ( rclsid : * const :: windows :: Guid , punkouter : impl :: windows :: IntoParam < 'a , :: windows :: IUnknown > , dwclscontext : CLSCTX , ) -> :: windows :: Result < T > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CoCreateInstance ( rclsid : * const :: windows :: Guid , punkouter : :: windows :: RawPtr , dwclscontext : CLSCTX , riid : * const :: windows :: Guid , ppv : * mut * mut :: std :: ffi :: c_void ) -> :: windows :: HRESULT ; } let mut result__ = :: std :: option :: Option :: None ; CoCreateInstance ( :: std :: mem :: transmute ( rclsid ) , punkouter . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwclscontext ) , & < T as :: windows :: Interface > :: IID , :: windows :: Abi :: set_abi ( & mut result__ ) ) . and_some ( result__ ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoCreateInstanceEx < 'a , > ( clsid : * const :: windows :: Guid , punkouter : impl :: windows :: IntoParam < 'a , :: windows :: IUnknown > , dwclsctx : CLSCTX , pserverinfo : * mut COSERVERINFO , dwcount : u32 , presults : * mut MULTI_QI , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CoCreateInstanceEx ( clsid : * const :: windows :: Guid , punkouter : :: windows :: RawPtr , dwclsctx : CLSCTX , pserverinfo : * mut COSERVERINFO , dwcount : u32 , presults : * mut MULTI_QI_abi ) -> :: windows :: HRESULT ; } CoCreateInstanceEx ( :: std :: mem :: transmute ( clsid ) , punkouter . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwclsctx ) , :: std :: mem :: transmute ( pserverinfo ) , :: std :: mem :: transmute ( dwcount ) , :: std :: mem :: transmute ( presults ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoCreateInstanceFromApp < 'a , > ( clsid : * const :: windows :: Guid , punkouter : impl :: windows :: IntoParam < 'a , :: windows :: IUnknown > , dwclsctx : CLSCTX , reserved : * mut :: std :: ffi :: c_void , dwcount : u32 , presults : * mut MULTI_QI , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CoCreateInstanceFromApp ( clsid : * const :: windows :: Guid , punkouter : :: windows :: RawPtr , dwclsctx : CLSCTX , reserved : * mut :: std :: ffi :: c_void , dwcount : u32 , presults : * mut MULTI_QI_abi ) -> :: windows :: HRESULT ; } CoCreateInstanceFromApp ( :: std :: mem :: transmute ( clsid ) , punkouter . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwclsctx ) , :: std :: mem :: transmute ( reserved ) , :: std :: mem :: transmute ( dwcount ) , :: std :: mem :: transmute ( presults ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoDecrementMTAUsage < 'a , > ( cookie : impl :: windows :: IntoParam < 'a , CO_MTA_USAGE_COOKIE > , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CoDecrementMTAUsage ( cookie : CO_MTA_USAGE_COOKIE ) -> :: windows :: HRESULT ; } CoDecrementMTAUsage ( cookie . into_param ( ) . abi ( ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoDisableCallCancellation < > ( preserved : * mut :: std :: ffi :: c_void , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CoDisableCallCancellation ( preserved : * mut :: std :: ffi :: c_void ) -> :: windows :: HRESULT ; } CoDisableCallCancellation ( :: std :: mem :: transmute ( preserved ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoDisconnectContext < > ( dwtimeout : u32 , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CoDisconnectContext ( dwtimeout : u32 ) -> :: windows :: HRESULT ; } CoDisconnectContext ( :: std :: mem :: transmute ( dwtimeout ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoDisconnectObject < 'a , > ( punk : impl :: windows :: IntoParam < 'a , :: windows :: IUnknown > , dwreserved : u32 , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CoDisconnectObject ( punk : :: windows :: RawPtr , dwreserved : u32 ) -> :: windows :: HRESULT ; } CoDisconnectObject ( punk . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwreserved ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoDosDateTimeToFileTime < > ( ndosdate : u16 , ndostime : u16 , lpfiletime : * mut super::super::Foundation:: FILETIME , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CoDosDateTimeToFileTime ( ndosdate : u16 , ndostime : u16 , lpfiletime : * mut super::super::Foundation:: FILETIME ) -> super::super::Foundation:: BOOL ; } CoDosDateTimeToFileTime ( :: std :: mem :: transmute ( ndosdate ) , :: std :: mem :: transmute ( ndostime ) , :: std :: mem :: transmute ( lpfiletime ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoEnableCallCancellation < > ( preserved : * mut :: std :: ffi :: c_void , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CoEnableCallCancellation ( preserved : * mut :: std :: ffi :: c_void ) -> :: windows :: HRESULT ; } CoEnableCallCancellation ( :: std :: mem :: transmute ( preserved ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoFileTimeNow < > ( ) -> :: windows :: Result < super::super::Foundation:: FILETIME > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CoFileTimeNow ( lpfiletime : * mut super::super::Foundation:: FILETIME ) -> :: windows :: HRESULT ; } let mut result__ : < super::super::Foundation:: FILETIME as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; CoFileTimeNow ( & mut result__ ) . from_abi :: < super::super::Foundation:: FILETIME > ( result__ ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoFileTimeToDosDateTime < > ( lpfiletime : * mut super::super::Foundation:: FILETIME , lpdosdate : * mut u16 , lpdostime : * mut u16 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CoFileTimeToDosDateTime ( lpfiletime : * mut super::super::Foundation:: FILETIME , lpdosdate : * mut u16 , lpdostime : * mut u16 ) -> super::super::Foundation:: BOOL ; } CoFileTimeToDosDateTime ( :: std :: mem :: transmute ( lpfiletime ) , :: std :: mem :: transmute ( lpdosdate ) , :: std :: mem :: transmute ( lpdostime ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoFreeAllLibraries < > ( ) { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CoFreeAllLibraries ( ) ; } CoFreeAllLibraries ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoFreeLibrary < 'a , > ( hinst : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HINSTANCE > , ) { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CoFreeLibrary ( hinst : super::super::Foundation:: HINSTANCE ) ; } CoFreeLibrary ( hinst . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoFreeUnusedLibraries < > ( ) { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CoFreeUnusedLibraries ( ) ; } CoFreeUnusedLibraries ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoFreeUnusedLibrariesEx < > ( dwunloaddelay : u32 , dwreserved : u32 , ) { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CoFreeUnusedLibrariesEx ( dwunloaddelay : u32 , dwreserved : u32 ) ; } CoFreeUnusedLibrariesEx ( :: std :: mem :: transmute ( dwunloaddelay ) , :: std :: mem :: transmute ( dwreserved ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoGetApartmentType < > ( papttype : * mut APTTYPE , paptqualifier : * mut APTTYPEQUALIFIER , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CoGetApartmentType ( papttype : * mut APTTYPE , paptqualifier : * mut APTTYPEQUALIFIER ) -> :: windows :: HRESULT ; } CoGetApartmentType ( :: std :: mem :: transmute ( papttype ) , :: std :: mem :: transmute ( paptqualifier ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoGetCallContext < T : :: windows :: Interface > ( ) -> :: windows :: Result < T > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CoGetCallContext ( riid : * const :: windows :: Guid , ppinterface : * mut * mut :: std :: ffi :: c_void ) -> :: windows :: HRESULT ; } let mut result__ = :: std :: option :: Option :: None ; CoGetCallContext ( & < T as :: windows :: Interface > :: IID , :: windows :: Abi :: set_abi ( & mut result__ ) ) . and_some ( result__ ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoGetCallerTID < > ( ) -> :: windows :: Result < u32 > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CoGetCallerTID ( lpdwtid : * mut u32 ) -> :: windows :: HRESULT ; } let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; CoGetCallerTID ( & mut result__ ) . from_abi :: < u32 > ( result__ ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoGetCancelObject < T : :: windows :: Interface > ( dwthreadid : u32 , ) -> :: windows :: Result < T > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CoGetCancelObject ( dwthreadid : u32 , iid : * const :: windows :: Guid , ppunk : * mut * mut :: std :: ffi :: c_void ) -> :: windows :: HRESULT ; } let mut result__ = :: std :: option :: Option :: None ; CoGetCancelObject ( :: std :: mem :: transmute ( dwthreadid ) , & < T as :: windows :: Interface > :: IID , :: windows :: Abi :: set_abi ( & mut result__ ) ) . and_some ( result__ ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoGetClassObject < T : :: windows :: Interface > ( rclsid : * const :: windows :: Guid , dwclscontext : CLSCTX , pvreserved : * mut :: std :: ffi :: c_void , ) -> :: windows :: Result < T > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CoGetClassObject ( rclsid : * const :: windows :: Guid , dwclscontext : CLSCTX , pvreserved : * mut :: std :: ffi :: c_void , riid : * const :: windows :: Guid , ppv : * mut * mut :: std :: ffi :: c_void ) -> :: windows :: HRESULT ; } let mut result__ = :: std :: option :: Option :: None ; CoGetClassObject ( :: std :: mem :: transmute ( rclsid ) , :: std :: mem :: transmute ( dwclscontext ) , :: std :: mem :: transmute ( pvreserved ) , & < T as :: windows :: Interface > :: IID , :: windows :: Abi :: set_abi ( & mut result__ ) ) . and_some ( result__ ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoGetClassObjectFromURL < 'a , T : :: windows :: Interface > ( rclassid : * const :: windows :: Guid , szcode : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , dwfileversionms : u32 , dwfileversionls : u32 , sztype : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , pbindctx : impl :: windows :: IntoParam < 'a , IBindCtx > , dwclscontext : CLSCTX , pvreserved : * mut :: std :: ffi :: c_void , ) -> :: windows :: Result < T > { # [ cfg ( windows ) ] { # [ link ( name ="urlmon" ) ] extern "system" { fn CoGetClassObjectFromURL ( rclassid : * const :: windows :: Guid , szcode : super::super::Foundation:: PWSTR , dwfileversionms : u32 , dwfileversionls : u32 , sztype : super::super::Foundation:: PWSTR , pbindctx : :: windows :: RawPtr , dwclscontext : CLSCTX , pvreserved : * mut :: std :: ffi :: c_void , riid : * const :: windows :: Guid , ppv : * mut * mut :: std :: ffi :: c_void ) -> :: windows :: HRESULT ; } let mut result__ = :: std :: option :: Option :: None ; CoGetClassObjectFromURL ( :: std :: mem :: transmute ( rclassid ) , szcode . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwfileversionms ) , :: std :: mem :: transmute ( dwfileversionls ) , sztype . into_param ( ) . abi ( ) , pbindctx . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwclscontext ) , :: std :: mem :: transmute ( pvreserved ) , & < T as :: windows :: Interface > :: IID , :: windows :: Abi :: set_abi ( & mut result__ ) ) . and_some ( result__ ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoGetContextToken < > ( ) -> :: windows :: Result < usize > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CoGetContextToken ( ptoken : * mut usize ) -> :: windows :: HRESULT ; } let mut result__ : < usize as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; CoGetContextToken ( & mut result__ ) . from_abi :: < usize > ( result__ ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoGetCurrentLogicalThreadId < > ( ) -> :: windows :: Result < :: windows :: Guid > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CoGetCurrentLogicalThreadId ( pguid : * mut :: windows :: Guid ) -> :: windows :: HRESULT ; } let mut result__ : < :: windows :: Guid as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; CoGetCurrentLogicalThreadId ( & mut result__ ) . from_abi :: < :: windows :: Guid > ( result__ ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoGetCurrentProcess < > ( ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CoGetCurrentProcess ( ) -> u32 ; } CoGetCurrentProcess ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoGetInstanceFromFile < 'a , > ( pserverinfo : * mut COSERVERINFO , pclsid : * mut :: windows :: Guid , punkouter : impl :: windows :: IntoParam < 'a , :: windows :: IUnknown > , dwclsctx : CLSCTX , grfmode : u32 , pwszname : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , dwcount : u32 , presults : * mut MULTI_QI , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CoGetInstanceFromFile ( pserverinfo : * mut COSERVERINFO , pclsid : * mut :: windows :: Guid , punkouter : :: windows :: RawPtr , dwclsctx : CLSCTX , grfmode : u32 , pwszname : super::super::Foundation:: PWSTR , dwcount : u32 , presults : * mut MULTI_QI_abi ) -> :: windows :: HRESULT ; } CoGetInstanceFromFile ( :: std :: mem :: transmute ( pserverinfo ) , :: std :: mem :: transmute ( pclsid ) , punkouter . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwclsctx ) , :: std :: mem :: transmute ( grfmode ) , pwszname . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwcount ) , :: std :: mem :: transmute ( presults ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoGetInstanceFromIStorage < 'a , > ( pserverinfo : * mut COSERVERINFO , pclsid : * mut :: windows :: Guid , punkouter : impl :: windows :: IntoParam < 'a , :: windows :: IUnknown > , dwclsctx : CLSCTX , pstg : impl :: windows :: IntoParam < 'a , super::super::Storage::StructuredStorage:: IStorage > , dwcount : u32 , presults : * mut MULTI_QI , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CoGetInstanceFromIStorage ( pserverinfo : * mut COSERVERINFO , pclsid : * mut :: windows :: Guid , punkouter : :: windows :: RawPtr , dwclsctx : CLSCTX , pstg : :: windows :: RawPtr , dwcount : u32 , presults : * mut MULTI_QI_abi ) -> :: windows :: HRESULT ; } CoGetInstanceFromIStorage ( :: std :: mem :: transmute ( pserverinfo ) , :: std :: mem :: transmute ( pclsid ) , punkouter . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwclsctx ) , pstg . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwcount ) , :: std :: mem :: transmute ( presults ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoGetInterceptor < 'a , T : :: windows :: Interface > ( iidintercepted : * const :: windows :: Guid , punkouter : impl :: windows :: IntoParam < 'a , :: windows :: IUnknown > , ) -> :: windows :: Result < T > { # [ cfg ( windows ) ] { # [ link ( name ="ole32" ) ] extern "system" { fn CoGetInterceptor ( iidintercepted : * const :: windows :: Guid , punkouter : :: windows :: RawPtr , iid : * const :: windows :: Guid , ppv : * mut * mut :: std :: ffi :: c_void ) -> :: windows :: HRESULT ; } let mut result__ = :: std :: option :: Option :: None ; CoGetInterceptor ( :: std :: mem :: transmute ( iidintercepted ) , punkouter . into_param ( ) . abi ( ) , & < T as :: windows :: Interface > :: IID , :: windows :: Abi :: set_abi ( & mut result__ ) ) . and_some ( result__ ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoGetInterceptorFromTypeInfo < 'a , T : :: windows :: Interface > ( iidintercepted : * const :: windows :: Guid , punkouter : impl :: windows :: IntoParam < 'a , :: windows :: IUnknown > , typeinfo : impl :: windows :: IntoParam < 'a , super::OleAutomation:: ITypeInfo > , ) -> :: windows :: Result < T > { # [ cfg ( windows ) ] { # [ link ( name ="ole32" ) ] extern "system" { fn CoGetInterceptorFromTypeInfo ( iidintercepted : * const :: windows :: Guid , punkouter : :: windows :: RawPtr , typeinfo : :: windows :: RawPtr , iid : * const :: windows :: Guid , ppv : * mut * mut :: std :: ffi :: c_void ) -> :: windows :: HRESULT ; } let mut result__ = :: std :: option :: Option :: None ; CoGetInterceptorFromTypeInfo ( :: std :: mem :: transmute ( iidintercepted ) , punkouter . into_param ( ) . abi ( ) , typeinfo . into_param ( ) . abi ( ) , & < T as :: windows :: Interface > :: IID , :: windows :: Abi :: set_abi ( & mut result__ ) ) . and_some ( result__ ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoGetInterfaceAndReleaseStream < 'a , T : :: windows :: Interface > ( pstm : impl :: windows :: IntoParam < 'a , super::super::Storage::StructuredStorage:: IStream > , ) -> :: windows :: Result < T > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CoGetInterfaceAndReleaseStream ( pstm : :: windows :: RawPtr , iid : * const :: windows :: Guid , ppv : * mut * mut :: std :: ffi :: c_void ) -> :: windows :: HRESULT ; } let mut result__ = :: std :: option :: Option :: None ; CoGetInterfaceAndReleaseStream ( pstm . into_param ( ) . abi ( ) , & < T as :: windows :: Interface > :: IID , :: windows :: Abi :: set_abi ( & mut result__ ) ) . and_some ( result__ ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoGetMalloc < > ( dwmemcontext : u32 , ) -> :: windows :: Result < IMalloc > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CoGetMalloc ( dwmemcontext : u32 , ppmalloc : * mut :: windows :: RawPtr ) -> :: windows :: HRESULT ; } let mut result__ : < IMalloc as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; CoGetMalloc ( :: std :: mem :: transmute ( dwmemcontext ) , & mut result__ ) . from_abi :: < IMalloc > ( result__ ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoGetMarshalSizeMax < 'a , > ( pulsize : * mut u32 , riid : * const :: windows :: Guid , punk : impl :: windows :: IntoParam < 'a , :: windows :: IUnknown > , dwdestcontext : u32 , pvdestcontext : * mut :: std :: ffi :: c_void , mshlflags : u32 , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CoGetMarshalSizeMax ( pulsize : * mut u32 , riid : * const :: windows :: Guid , punk : :: windows :: RawPtr , dwdestcontext : u32 , pvdestcontext : * mut :: std :: ffi :: c_void , mshlflags : u32 ) -> :: windows :: HRESULT ; } CoGetMarshalSizeMax ( :: std :: mem :: transmute ( pulsize ) , :: std :: mem :: transmute ( riid ) , punk . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwdestcontext ) , :: std :: mem :: transmute ( pvdestcontext ) , :: std :: mem :: transmute ( mshlflags ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoGetObject < 'a , T : :: windows :: Interface > ( pszname : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , pbindoptions : * mut BIND_OPTS , ) -> :: windows :: Result < T > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CoGetObject ( pszname : super::super::Foundation:: PWSTR , pbindoptions : * mut BIND_OPTS , riid : * const :: windows :: Guid , ppv : * mut * mut :: std :: ffi :: c_void ) -> :: windows :: HRESULT ; } let mut result__ = :: std :: option :: Option :: None ; CoGetObject ( pszname . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pbindoptions ) , & < T as :: windows :: Interface > :: IID , :: windows :: Abi :: set_abi ( & mut result__ ) ) . and_some ( result__ ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoGetObjectContext < T : :: windows :: Interface > ( ) -> :: windows :: Result < T > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CoGetObjectContext ( riid : * const :: windows :: Guid , ppv : * mut * mut :: std :: ffi :: c_void ) -> :: windows :: HRESULT ; } let mut result__ = :: std :: option :: Option :: None ; CoGetObjectContext ( & < T as :: windows :: Interface > :: IID , :: windows :: Abi :: set_abi ( & mut result__ ) ) . and_some ( result__ ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoGetPSClsid < > ( riid : * const :: windows :: Guid , ) -> :: windows :: Result < :: windows :: Guid > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CoGetPSClsid ( riid : * const :: windows :: Guid , pclsid : * mut :: windows :: Guid ) -> :: windows :: HRESULT ; } let mut result__ : < :: windows :: Guid as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; CoGetPSClsid ( :: std :: mem :: transmute ( riid ) , & mut result__ ) . from_abi :: < :: windows :: Guid > ( result__ ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoGetStandardMarshal < 'a , > ( riid : * const :: windows :: Guid , punk : impl :: windows :: IntoParam < 'a , :: windows :: IUnknown > , dwdestcontext : u32 , pvdestcontext : * mut :: std :: ffi :: c_void , mshlflags : u32 , ) -> :: windows :: Result < IMarshal > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CoGetStandardMarshal ( riid : * const :: windows :: Guid , punk : :: windows :: RawPtr , dwdestcontext : u32 , pvdestcontext : * mut :: std :: ffi :: c_void , mshlflags : u32 , ppmarshal : * mut :: windows :: RawPtr ) -> :: windows :: HRESULT ; } let mut result__ : < IMarshal as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; CoGetStandardMarshal ( :: std :: mem :: transmute ( riid ) , punk . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwdestcontext ) , :: std :: mem :: transmute ( pvdestcontext ) , :: std :: mem :: transmute ( mshlflags ) , & mut result__ ) . from_abi :: < IMarshal > ( result__ ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoGetStdMarshalEx < 'a , > ( punkouter : impl :: windows :: IntoParam < 'a , :: windows :: IUnknown > , smexflags : u32 , ) -> :: windows :: Result < :: windows :: IUnknown > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CoGetStdMarshalEx ( punkouter : :: windows :: RawPtr , smexflags : u32 , ppunkinner : * mut :: windows :: RawPtr ) -> :: windows :: HRESULT ; } let mut result__ : < :: windows :: IUnknown as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; CoGetStdMarshalEx ( punkouter . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( smexflags ) , & mut result__ ) . from_abi :: < :: windows :: IUnknown > ( result__ ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoGetSystemSecurityPermissions < > ( comsdtype : COMSD , ppsd : * mut * mut super::super::Security:: SECURITY_DESCRIPTOR , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CoGetSystemSecurityPermissions ( comsdtype : COMSD , ppsd : * mut * mut super::super::Security:: SECURITY_DESCRIPTOR ) -> :: windows :: HRESULT ; } CoGetSystemSecurityPermissions ( :: std :: mem :: transmute ( comsdtype ) , :: std :: mem :: transmute ( ppsd ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoGetTreatAsClass < > ( clsidold : * const :: windows :: Guid , ) -> :: windows :: Result < :: windows :: Guid > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CoGetTreatAsClass ( clsidold : * const :: windows :: Guid , pclsidnew : * mut :: windows :: Guid ) -> :: windows :: HRESULT ; } let mut result__ : < :: windows :: Guid as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; CoGetTreatAsClass ( :: std :: mem :: transmute ( clsidold ) , & mut result__ ) . from_abi :: < :: windows :: Guid > ( result__ ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoHandlePriorityEventsFromMessagePump < > ( ) { # [ cfg ( windows ) ] { # [ link ( name ="ole32" ) ] extern "system" { fn CoHandlePriorityEventsFromMessagePump ( ) ; } CoHandlePriorityEventsFromMessagePump ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoImpersonateClient < > ( ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CoImpersonateClient ( ) -> :: windows :: HRESULT ; } CoImpersonateClient ( ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoIncrementMTAUsage < > ( ) -> :: windows :: Result < CO_MTA_USAGE_COOKIE > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CoIncrementMTAUsage ( pcookie : * mut CO_MTA_USAGE_COOKIE ) -> :: windows :: HRESULT ; } let mut result__ : < CO_MTA_USAGE_COOKIE as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; CoIncrementMTAUsage ( & mut result__ ) . from_abi :: < CO_MTA_USAGE_COOKIE > ( result__ ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoInitialize < > ( pvreserved : * mut :: std :: ffi :: c_void , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CoInitialize ( pvreserved : * mut :: std :: ffi :: c_void ) -> :: windows :: HRESULT ; } CoInitialize ( :: std :: mem :: transmute ( pvreserved ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoInitializeEx < > ( pvreserved : * mut :: std :: ffi :: c_void , dwcoinit : COINIT , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CoInitializeEx ( pvreserved : * mut :: std :: ffi :: c_void , dwcoinit : COINIT ) -> :: windows :: HRESULT ; } CoInitializeEx ( :: std :: mem :: transmute ( pvreserved ) , :: std :: mem :: transmute ( dwcoinit ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoInitializeSecurity < > ( psecdesc : * mut super::super::Security:: SECURITY_DESCRIPTOR , cauthsvc : i32 , asauthsvc : * mut SOLE_AUTHENTICATION_SERVICE , preserved1 : * mut :: std :: ffi :: c_void , dwauthnlevel : RPC_C_AUTHN_LEVEL , dwimplevel : RPC_C_IMP_LEVEL , pauthlist : * mut :: std :: ffi :: c_void , dwcapabilities : EOLE_AUTHENTICATION_CAPABILITIES , preserved3 : * mut :: std :: ffi :: c_void , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CoInitializeSecurity ( psecdesc : * mut super::super::Security:: SECURITY_DESCRIPTOR , cauthsvc : i32 , asauthsvc : * mut SOLE_AUTHENTICATION_SERVICE , preserved1 : * mut :: std :: ffi :: c_void , dwauthnlevel : RPC_C_AUTHN_LEVEL , dwimplevel : RPC_C_IMP_LEVEL , pauthlist : * mut :: std :: ffi :: c_void , dwcapabilities : EOLE_AUTHENTICATION_CAPABILITIES , preserved3 : * mut :: std :: ffi :: c_void ) -> :: windows :: HRESULT ; } CoInitializeSecurity ( :: std :: mem :: transmute ( psecdesc ) , :: std :: mem :: transmute ( cauthsvc ) , :: std :: mem :: transmute ( asauthsvc ) , :: std :: mem :: transmute ( preserved1 ) , :: std :: mem :: transmute ( dwauthnlevel ) , :: std :: mem :: transmute ( dwimplevel ) , :: std :: mem :: transmute ( pauthlist ) , :: std :: mem :: transmute ( dwcapabilities ) , :: std :: mem :: transmute ( preserved3 ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoInstall < 'a , > ( pbc : impl :: windows :: IntoParam < 'a , IBindCtx > , dwflags : u32 , pclassspec : * mut super::SystemServices:: uCLSSPEC , pquery : * mut QUERYCONTEXT , pszcodebase : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="ole32" ) ] extern "system" { fn CoInstall ( pbc : :: windows :: RawPtr , dwflags : u32 , pclassspec : * mut super::SystemServices:: uCLSSPEC , pquery : * mut QUERYCONTEXT , pszcodebase : super::super::Foundation:: PWSTR ) -> :: windows :: HRESULT ; } CoInstall ( pbc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwflags ) , :: std :: mem :: transmute ( pclassspec ) , :: std :: mem :: transmute ( pquery ) , pszcodebase . into_param ( ) . abi ( ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoInternetCombineIUri < 'a , > ( pbaseuri : impl :: windows :: IntoParam < 'a , IUri > , prelativeuri : impl :: windows :: IntoParam < 'a , IUri > , dwcombineflags : u32 , ppcombineduri : * mut :: std :: option :: Option < IUri > , dwreserved : usize , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="urlmon" ) ] extern "system" { fn CoInternetCombineIUri ( pbaseuri : :: windows :: RawPtr , prelativeuri : :: windows :: RawPtr , dwcombineflags : u32 , ppcombineduri : * mut :: windows :: RawPtr , dwreserved : usize ) -> :: windows :: HRESULT ; } CoInternetCombineIUri ( pbaseuri . into_param ( ) . abi ( ) , prelativeuri . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwcombineflags ) , :: std :: mem :: transmute ( ppcombineduri ) , :: std :: mem :: transmute ( dwreserved ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoInternetCombineUrl < 'a , > ( pwzbaseurl : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , pwzrelativeurl : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , dwcombineflags : u32 , pszresult : super::super::Foundation:: PWSTR , cchresult : u32 , pcchresult : * mut u32 , dwreserved : u32 , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="urlmon" ) ] extern "system" { fn CoInternetCombineUrl ( pwzbaseurl : super::super::Foundation:: PWSTR , pwzrelativeurl : super::super::Foundation:: PWSTR , dwcombineflags : u32 , pszresult : super::super::Foundation:: PWSTR , cchresult : u32 , pcchresult : * mut u32 , dwreserved : u32 ) -> :: windows :: HRESULT ; } CoInternetCombineUrl ( pwzbaseurl . into_param ( ) . abi ( ) , pwzrelativeurl . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwcombineflags ) , :: std :: mem :: transmute ( pszresult ) , :: std :: mem :: transmute ( cchresult ) , :: std :: mem :: transmute ( pcchresult ) , :: std :: mem :: transmute ( dwreserved ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoInternetCombineUrlEx < 'a , > ( pbaseuri : impl :: windows :: IntoParam < 'a , IUri > , pwzrelativeurl : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , dwcombineflags : u32 , ppcombineduri : * mut :: std :: option :: Option < IUri > , dwreserved : usize , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="urlmon" ) ] extern "system" { fn CoInternetCombineUrlEx ( pbaseuri : :: windows :: RawPtr , pwzrelativeurl : super::super::Foundation:: PWSTR , dwcombineflags : u32 , ppcombineduri : * mut :: windows :: RawPtr , dwreserved : usize ) -> :: windows :: HRESULT ; } CoInternetCombineUrlEx ( pbaseuri . into_param ( ) . abi ( ) , pwzrelativeurl . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwcombineflags ) , :: std :: mem :: transmute ( ppcombineduri ) , :: std :: mem :: transmute ( dwreserved ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoInternetCompareUrl < 'a , > ( pwzurl1 : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , pwzurl2 : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , dwflags : u32 , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="urlmon" ) ] extern "system" { fn CoInternetCompareUrl ( pwzurl1 : super::super::Foundation:: PWSTR , pwzurl2 : super::super::Foundation:: PWSTR , dwflags : u32 ) -> :: windows :: HRESULT ; } CoInternetCompareUrl ( pwzurl1 . into_param ( ) . abi ( ) , pwzurl2 . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwflags ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoInternetCreateSecurityManager < 'a , > ( psp : impl :: windows :: IntoParam < 'a , super::SystemServices:: IServiceProvider > , ppsm : * mut :: std :: option :: Option < IInternetSecurityManager > , dwreserved : u32 , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="urlmon" ) ] extern "system" { fn CoInternetCreateSecurityManager ( psp : :: windows :: RawPtr , ppsm : * mut :: windows :: RawPtr , dwreserved : u32 ) -> :: windows :: HRESULT ; } CoInternetCreateSecurityManager ( psp . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ppsm ) , :: std :: mem :: transmute ( dwreserved ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoInternetCreateZoneManager < 'a , > ( psp : impl :: windows :: IntoParam < 'a , super::SystemServices:: IServiceProvider > , ppzm : * mut :: std :: option :: Option < IInternetZoneManager > , dwreserved : u32 , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="urlmon" ) ] extern "system" { fn CoInternetCreateZoneManager ( psp : :: windows :: RawPtr , ppzm : * mut :: windows :: RawPtr , dwreserved : u32 ) -> :: windows :: HRESULT ; } CoInternetCreateZoneManager ( psp . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ppzm ) , :: std :: mem :: transmute ( dwreserved ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoInternetGetProtocolFlags < 'a , > ( pwzurl : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , pdwflags : * mut u32 , dwreserved : u32 , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="urlmon" ) ] extern "system" { fn CoInternetGetProtocolFlags ( pwzurl : super::super::Foundation:: PWSTR , pdwflags : * mut u32 , dwreserved : u32 ) -> :: windows :: HRESULT ; } CoInternetGetProtocolFlags ( pwzurl . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pdwflags ) , :: std :: mem :: transmute ( dwreserved ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoInternetGetSecurityUrl < 'a , > ( pwszurl : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , ppwszsecurl : * mut super::super::Foundation:: PWSTR , psuaction : PSUACTION , dwreserved : u32 , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="urlmon" ) ] extern "system" { fn CoInternetGetSecurityUrl ( pwszurl : super::super::Foundation:: PWSTR , ppwszsecurl : * mut super::super::Foundation:: PWSTR , psuaction : PSUACTION , dwreserved : u32 ) -> :: windows :: HRESULT ; } CoInternetGetSecurityUrl ( pwszurl . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ppwszsecurl ) , :: std :: mem :: transmute ( psuaction ) , :: std :: mem :: transmute ( dwreserved ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoInternetGetSecurityUrlEx < 'a , > ( puri : impl :: windows :: IntoParam < 'a , IUri > , ppsecuri : * mut :: std :: option :: Option < IUri > , psuaction : PSUACTION , dwreserved : usize , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="urlmon" ) ] extern "system" { fn CoInternetGetSecurityUrlEx ( puri : :: windows :: RawPtr , ppsecuri : * mut :: windows :: RawPtr , psuaction : PSUACTION , dwreserved : usize ) -> :: windows :: HRESULT ; } CoInternetGetSecurityUrlEx ( puri . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ppsecuri ) , :: std :: mem :: transmute ( psuaction ) , :: std :: mem :: transmute ( dwreserved ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoInternetGetSession < > ( dwsessionmode : u32 , ppiinternetsession : * mut :: std :: option :: Option < IInternetSession > , dwreserved : u32 , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="urlmon" ) ] extern "system" { fn CoInternetGetSession ( dwsessionmode : u32 , ppiinternetsession : * mut :: windows :: RawPtr , dwreserved : u32 ) -> :: windows :: HRESULT ; } CoInternetGetSession ( :: std :: mem :: transmute ( dwsessionmode ) , :: std :: mem :: transmute ( ppiinternetsession ) , :: std :: mem :: transmute ( dwreserved ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoInternetIsFeatureEnabled < > ( featureentry : INTERNETFEATURELIST , dwflags : u32 , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="urlmon" ) ] extern "system" { fn CoInternetIsFeatureEnabled ( featureentry : INTERNETFEATURELIST , dwflags : u32 ) -> :: windows :: HRESULT ; } CoInternetIsFeatureEnabled ( :: std :: mem :: transmute ( featureentry ) , :: std :: mem :: transmute ( dwflags ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoInternetIsFeatureEnabledForIUri < 'a , > ( featureentry : INTERNETFEATURELIST , dwflags : u32 , piuri : impl :: windows :: IntoParam < 'a , IUri > , psecmgr : impl :: windows :: IntoParam < 'a , IInternetSecurityManagerEx2 > , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="urlmon" ) ] extern "system" { fn CoInternetIsFeatureEnabledForIUri ( featureentry : INTERNETFEATURELIST , dwflags : u32 , piuri : :: windows :: RawPtr , psecmgr : :: windows :: RawPtr ) -> :: windows :: HRESULT ; } CoInternetIsFeatureEnabledForIUri ( :: std :: mem :: transmute ( featureentry ) , :: std :: mem :: transmute ( dwflags ) , piuri . into_param ( ) . abi ( ) , psecmgr . into_param ( ) . abi ( ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoInternetIsFeatureEnabledForUrl < 'a , > ( featureentry : INTERNETFEATURELIST , dwflags : u32 , szurl : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , psecmgr : impl :: windows :: IntoParam < 'a , IInternetSecurityManager > , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="urlmon" ) ] extern "system" { fn CoInternetIsFeatureEnabledForUrl ( featureentry : INTERNETFEATURELIST , dwflags : u32 , szurl : super::super::Foundation:: PWSTR , psecmgr : :: windows :: RawPtr ) -> :: windows :: HRESULT ; } CoInternetIsFeatureEnabledForUrl ( :: std :: mem :: transmute ( featureentry ) , :: std :: mem :: transmute ( dwflags ) , szurl . into_param ( ) . abi ( ) , psecmgr . into_param ( ) . abi ( ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoInternetIsFeatureZoneElevationEnabled < 'a , > ( szfromurl : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , sztourl : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , psecmgr : impl :: windows :: IntoParam < 'a , IInternetSecurityManager > , dwflags : u32 , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="urlmon" ) ] extern "system" { fn CoInternetIsFeatureZoneElevationEnabled ( szfromurl : super::super::Foundation:: PWSTR , sztourl : super::super::Foundation:: PWSTR , psecmgr : :: windows :: RawPtr , dwflags : u32 ) -> :: windows :: HRESULT ; } CoInternetIsFeatureZoneElevationEnabled ( szfromurl . into_param ( ) . abi ( ) , sztourl . into_param ( ) . abi ( ) , psecmgr . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwflags ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoInternetParseIUri < 'a , > ( piuri : impl :: windows :: IntoParam < 'a , IUri > , parseaction : PARSEACTION , dwflags : u32 , pwzresult : super::super::Foundation:: PWSTR , cchresult : u32 , pcchresult : * mut u32 , dwreserved : usize , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="urlmon" ) ] extern "system" { fn CoInternetParseIUri ( piuri : :: windows :: RawPtr , parseaction : PARSEACTION , dwflags : u32 , pwzresult : super::super::Foundation:: PWSTR , cchresult : u32 , pcchresult : * mut u32 , dwreserved : usize ) -> :: windows :: HRESULT ; } CoInternetParseIUri ( piuri . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( parseaction ) , :: std :: mem :: transmute ( dwflags ) , :: std :: mem :: transmute ( pwzresult ) , :: std :: mem :: transmute ( cchresult ) , :: std :: mem :: transmute ( pcchresult ) , :: std :: mem :: transmute ( dwreserved ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoInternetParseUrl < 'a , > ( pwzurl : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , parseaction : PARSEACTION , dwflags : u32 , pszresult : super::super::Foundation:: PWSTR , cchresult : u32 , pcchresult : * mut u32 , dwreserved : u32 , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="urlmon" ) ] extern "system" { fn CoInternetParseUrl ( pwzurl : super::super::Foundation:: PWSTR , parseaction : PARSEACTION , dwflags : u32 , pszresult : super::super::Foundation:: PWSTR , cchresult : u32 , pcchresult : * mut u32 , dwreserved : u32 ) -> :: windows :: HRESULT ; } CoInternetParseUrl ( pwzurl . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( parseaction ) , :: std :: mem :: transmute ( dwflags ) , :: std :: mem :: transmute ( pszresult ) , :: std :: mem :: transmute ( cchresult ) , :: std :: mem :: transmute ( pcchresult ) , :: std :: mem :: transmute ( dwreserved ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoInternetQueryInfo < 'a , > ( pwzurl : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , queryoptions : QUERYOPTION , dwqueryflags : u32 , pvbuffer : * mut :: std :: ffi :: c_void , cbbuffer : u32 , pcbbuffer : * mut u32 , dwreserved : u32 , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="urlmon" ) ] extern "system" { fn CoInternetQueryInfo ( pwzurl : super::super::Foundation:: PWSTR , queryoptions : QUERYOPTION , dwqueryflags : u32 , pvbuffer : * mut :: std :: ffi :: c_void , cbbuffer : u32 , pcbbuffer : * mut u32 , dwreserved : u32 ) -> :: windows :: HRESULT ; } CoInternetQueryInfo ( pwzurl . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( queryoptions ) , :: std :: mem :: transmute ( dwqueryflags ) , :: std :: mem :: transmute ( pvbuffer ) , :: std :: mem :: transmute ( cbbuffer ) , :: std :: mem :: transmute ( pcbbuffer ) , :: std :: mem :: transmute ( dwreserved ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoInternetSetFeatureEnabled < 'a , > ( featureentry : INTERNETFEATURELIST , dwflags : u32 , fenable : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="urlmon" ) ] extern "system" { fn CoInternetSetFeatureEnabled ( featureentry : INTERNETFEATURELIST , dwflags : u32 , fenable : super::super::Foundation:: BOOL ) -> :: windows :: HRESULT ; } CoInternetSetFeatureEnabled ( :: std :: mem :: transmute ( featureentry ) , :: std :: mem :: transmute ( dwflags ) , fenable . into_param ( ) . abi ( ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoInvalidateRemoteMachineBindings < 'a , > ( pszmachinename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CoInvalidateRemoteMachineBindings ( pszmachinename : super::super::Foundation:: PWSTR ) -> :: windows :: HRESULT ; } CoInvalidateRemoteMachineBindings ( pszmachinename . into_param ( ) . abi ( ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoIsHandlerConnected < 'a , > ( punk : impl :: windows :: IntoParam < 'a , :: windows :: IUnknown > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CoIsHandlerConnected ( punk : :: windows :: RawPtr ) -> super::super::Foundation:: BOOL ; } CoIsHandlerConnected ( punk . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoIsOle1Class < > ( rclsid : * const :: windows :: Guid , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="ole32" ) ] extern "system" { fn CoIsOle1Class ( rclsid : * const :: windows :: Guid ) -> super::super::Foundation:: BOOL ; } CoIsOle1Class ( :: std :: mem :: transmute ( rclsid ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoLoadLibrary < 'a , > ( lpszlibname : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , bautofree : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> super::super::Foundation:: HINSTANCE { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CoLoadLibrary ( lpszlibname : super::super::Foundation:: PWSTR , bautofree : super::super::Foundation:: BOOL ) -> super::super::Foundation:: HINSTANCE ; } CoLoadLibrary ( lpszlibname . into_param ( ) . abi ( ) , bautofree . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoLockObjectExternal < 'a , > ( punk : impl :: windows :: IntoParam < 'a , :: windows :: IUnknown > , flock : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , flastunlockreleases : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CoLockObjectExternal ( punk : :: windows :: RawPtr , flock : super::super::Foundation:: BOOL , flastunlockreleases : super::super::Foundation:: BOOL ) -> :: windows :: HRESULT ; } CoLockObjectExternal ( punk . into_param ( ) . abi ( ) , flock . into_param ( ) . abi ( ) , flastunlockreleases . into_param ( ) . abi ( ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoMarshalHresult < 'a , > ( pstm : impl :: windows :: IntoParam < 'a , super::super::Storage::StructuredStorage:: IStream > , hresult : :: windows :: HRESULT , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CoMarshalHresult ( pstm : :: windows :: RawPtr , hresult : :: windows :: HRESULT ) -> :: windows :: HRESULT ; } CoMarshalHresult ( pstm . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( hresult ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoMarshalInterThreadInterfaceInStream < 'a , > ( riid : * const :: windows :: Guid , punk : impl :: windows :: IntoParam < 'a , :: windows :: IUnknown > , ) -> :: windows :: Result < super::super::Storage::StructuredStorage:: IStream > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CoMarshalInterThreadInterfaceInStream ( riid : * const :: windows :: Guid , punk : :: windows :: RawPtr , ppstm : * mut :: windows :: RawPtr ) -> :: windows :: HRESULT ; } let mut result__ : < super::super::Storage::StructuredStorage:: IStream as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; CoMarshalInterThreadInterfaceInStream ( :: std :: mem :: transmute ( riid ) , punk . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < super::super::Storage::StructuredStorage:: IStream > ( result__ ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoMarshalInterface < 'a , > ( pstm : impl :: windows :: IntoParam < 'a , super::super::Storage::StructuredStorage:: IStream > , riid : * const :: windows :: Guid , punk : impl :: windows :: IntoParam < 'a , :: windows :: IUnknown > , dwdestcontext : u32 , pvdestcontext : * mut :: std :: ffi :: c_void , mshlflags : u32 , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CoMarshalInterface ( pstm : :: windows :: RawPtr , riid : * const :: windows :: Guid , punk : :: windows :: RawPtr , dwdestcontext : u32 , pvdestcontext : * mut :: std :: ffi :: c_void , mshlflags : u32 ) -> :: windows :: HRESULT ; } CoMarshalInterface ( pstm . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( riid ) , punk . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwdestcontext ) , :: std :: mem :: transmute ( pvdestcontext ) , :: std :: mem :: transmute ( mshlflags ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoQueryAuthenticationServices < > ( pcauthsvc : * mut u32 , asauthsvc : * mut * mut SOLE_AUTHENTICATION_SERVICE , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CoQueryAuthenticationServices ( pcauthsvc : * mut u32 , asauthsvc : * mut * mut SOLE_AUTHENTICATION_SERVICE ) -> :: windows :: HRESULT ; } CoQueryAuthenticationServices ( :: std :: mem :: transmute ( pcauthsvc ) , :: std :: mem :: transmute ( asauthsvc ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoQueryClientBlanket < > ( pauthnsvc : * mut u32 , pauthzsvc : * mut u32 , pserverprincname : * mut super::super::Foundation:: PWSTR , pauthnlevel : * mut u32 , pimplevel : * mut u32 , pprivs : * mut * mut :: std :: ffi :: c_void , pcapabilities : * mut u32 , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CoQueryClientBlanket ( pauthnsvc : * mut u32 , pauthzsvc : * mut u32 , pserverprincname : * mut super::super::Foundation:: PWSTR , pauthnlevel : * mut u32 , pimplevel : * mut u32 , pprivs : * mut * mut :: std :: ffi :: c_void , pcapabilities : * mut u32 ) -> :: windows :: HRESULT ; } CoQueryClientBlanket ( :: std :: mem :: transmute ( pauthnsvc ) , :: std :: mem :: transmute ( pauthzsvc ) , :: std :: mem :: transmute ( pserverprincname ) , :: std :: mem :: transmute ( pauthnlevel ) , :: std :: mem :: transmute ( pimplevel ) , :: std :: mem :: transmute ( pprivs ) , :: std :: mem :: transmute ( pcapabilities ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoQueryProxyBlanket < 'a , > ( pproxy : impl :: windows :: IntoParam < 'a , :: windows :: IUnknown > , pwauthnsvc : * mut u32 , pauthzsvc : * mut u32 , pserverprincname : * mut super::super::Foundation:: PWSTR , pauthnlevel : * mut u32 , pimplevel : * mut u32 , pauthinfo : * mut * mut :: std :: ffi :: c_void , pcapabilites : * mut u32 , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CoQueryProxyBlanket ( pproxy : :: windows :: RawPtr , pwauthnsvc : * mut u32 , pauthzsvc : * mut u32 , pserverprincname : * mut super::super::Foundation:: PWSTR , pauthnlevel : * mut u32 , pimplevel : * mut u32 , pauthinfo : * mut * mut :: std :: ffi :: c_void , pcapabilites : * mut u32 ) -> :: windows :: HRESULT ; } CoQueryProxyBlanket ( pproxy . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pwauthnsvc ) , :: std :: mem :: transmute ( pauthzsvc ) , :: std :: mem :: transmute ( pserverprincname ) , :: std :: mem :: transmute ( pauthnlevel ) , :: std :: mem :: transmute ( pimplevel ) , :: std :: mem :: transmute ( pauthinfo ) , :: std :: mem :: transmute ( pcapabilites ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoRegisterActivationFilter < 'a , > ( pactivationfilter : impl :: windows :: IntoParam < 'a , IActivationFilter > , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CoRegisterActivationFilter ( pactivationfilter : :: windows :: RawPtr ) -> :: windows :: HRESULT ; } CoRegisterActivationFilter ( pactivationfilter . into_param ( ) . abi ( ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoRegisterChannelHook < 'a , > ( extensionuuid : * const :: windows :: Guid , pchannelhook : impl :: windows :: IntoParam < 'a , IChannelHook > , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="ole32" ) ] extern "system" { fn CoRegisterChannelHook ( extensionuuid : * const :: windows :: Guid , pchannelhook : :: windows :: RawPtr ) -> :: windows :: HRESULT ; } CoRegisterChannelHook ( :: std :: mem :: transmute ( extensionuuid ) , pchannelhook . into_param ( ) . abi ( ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoRegisterClassObject < 'a , > ( rclsid : * const :: windows :: Guid , punk : impl :: windows :: IntoParam < 'a , :: windows :: IUnknown > , dwclscontext : CLSCTX , flags : u32 , ) -> :: windows :: Result < u32 > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CoRegisterClassObject ( rclsid : * const :: windows :: Guid , punk : :: windows :: RawPtr , dwclscontext : CLSCTX , flags : u32 , lpdwregister : * mut u32 ) -> :: windows :: HRESULT ; } let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; CoRegisterClassObject ( :: std :: mem :: transmute ( rclsid ) , punk . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwclscontext ) , :: std :: mem :: transmute ( flags ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoRegisterDeviceCatalog < 'a , > ( deviceinstanceid : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , ) -> :: windows :: Result < CO_DEVICE_CATALOG_COOKIE > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CoRegisterDeviceCatalog ( deviceinstanceid : super::super::Foundation:: PWSTR , cookie : * mut CO_DEVICE_CATALOG_COOKIE ) -> :: windows :: HRESULT ; } let mut result__ : < CO_DEVICE_CATALOG_COOKIE as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; CoRegisterDeviceCatalog ( deviceinstanceid . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < CO_DEVICE_CATALOG_COOKIE > ( result__ ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoRegisterInitializeSpy < 'a , > ( pspy : impl :: windows :: IntoParam < 'a , IInitializeSpy > , ) -> :: windows :: Result < u64 > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CoRegisterInitializeSpy ( pspy : :: windows :: RawPtr , pulicookie : * mut u64 ) -> :: windows :: HRESULT ; } let mut result__ : < u64 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; CoRegisterInitializeSpy ( pspy . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < u64 > ( result__ ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoRegisterMallocSpy < 'a , > ( pmallocspy : impl :: windows :: IntoParam < 'a , IMallocSpy > , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CoRegisterMallocSpy ( pmallocspy : :: windows :: RawPtr ) -> :: windows :: HRESULT ; } CoRegisterMallocSpy ( pmallocspy . into_param ( ) . abi ( ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoRegisterMessageFilter < 'a , > ( lpmessagefilter : impl :: windows :: IntoParam < 'a , IMessageFilter > , ) -> :: windows :: Result < IMessageFilter > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CoRegisterMessageFilter ( lpmessagefilter : :: windows :: RawPtr , lplpmessagefilter : * mut :: windows :: RawPtr ) -> :: windows :: HRESULT ; } let mut result__ : < IMessageFilter as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; CoRegisterMessageFilter ( lpmessagefilter . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < IMessageFilter > ( result__ ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoRegisterPSClsid < > ( riid : * const :: windows :: Guid , rclsid : * const :: windows :: Guid , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CoRegisterPSClsid ( riid : * const :: windows :: Guid , rclsid : * const :: windows :: Guid ) -> :: windows :: HRESULT ; } CoRegisterPSClsid ( :: std :: mem :: transmute ( riid ) , :: std :: mem :: transmute ( rclsid ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoRegisterSurrogate < 'a , > ( psurrogate : impl :: windows :: IntoParam < 'a , ISurrogate > , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CoRegisterSurrogate ( psurrogate : :: windows :: RawPtr ) -> :: windows :: HRESULT ; } CoRegisterSurrogate ( psurrogate . into_param ( ) . abi ( ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoReleaseMarshalData < 'a , > ( pstm : impl :: windows :: IntoParam < 'a , super::super::Storage::StructuredStorage:: IStream > , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CoReleaseMarshalData ( pstm : :: windows :: RawPtr ) -> :: windows :: HRESULT ; } CoReleaseMarshalData ( pstm . into_param ( ) . abi ( ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoReleaseServerProcess < > ( ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CoReleaseServerProcess ( ) -> u32 ; } CoReleaseServerProcess ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoResumeClassObjects < > ( ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CoResumeClassObjects ( ) -> :: windows :: HRESULT ; } CoResumeClassObjects ( ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoRevertToSelf < > ( ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CoRevertToSelf ( ) -> :: windows :: HRESULT ; } CoRevertToSelf ( ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoRevokeClassObject < > ( dwregister : u32 , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CoRevokeClassObject ( dwregister : u32 ) -> :: windows :: HRESULT ; } CoRevokeClassObject ( :: std :: mem :: transmute ( dwregister ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoRevokeDeviceCatalog < 'a , > ( cookie : impl :: windows :: IntoParam < 'a , CO_DEVICE_CATALOG_COOKIE > , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CoRevokeDeviceCatalog ( cookie : CO_DEVICE_CATALOG_COOKIE ) -> :: windows :: HRESULT ; } CoRevokeDeviceCatalog ( cookie . into_param ( ) . abi ( ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoRevokeInitializeSpy < > ( ulicookie : u64 , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CoRevokeInitializeSpy ( ulicookie : u64 ) -> :: windows :: HRESULT ; } CoRevokeInitializeSpy ( :: std :: mem :: transmute ( ulicookie ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoRevokeMallocSpy < > ( ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CoRevokeMallocSpy ( ) -> :: windows :: HRESULT ; } CoRevokeMallocSpy ( ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoSetCancelObject < 'a , > ( punk : impl :: windows :: IntoParam < 'a , :: windows :: IUnknown > , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CoSetCancelObject ( punk : :: windows :: RawPtr ) -> :: windows :: HRESULT ; } CoSetCancelObject ( punk . into_param ( ) . abi ( ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoSetMessageDispatcher < 'a , > ( pmessagedispatcher : impl :: windows :: IntoParam < 'a , IMessageDispatcher > , ) { # [ cfg ( windows ) ] { # [ link ( name ="ole32" ) ] extern "system" { fn CoSetMessageDispatcher ( pmessagedispatcher : :: windows :: RawPtr ) ; } CoSetMessageDispatcher ( pmessagedispatcher . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoSetProxyBlanket < 'a , > ( pproxy : impl :: windows :: IntoParam < 'a , :: windows :: IUnknown > , dwauthnsvc : u32 , dwauthzsvc : u32 , pserverprincname : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , dwauthnlevel : RPC_C_AUTHN_LEVEL , dwimplevel : RPC_C_IMP_LEVEL , pauthinfo : * mut :: std :: ffi :: c_void , dwcapabilities : EOLE_AUTHENTICATION_CAPABILITIES , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CoSetProxyBlanket ( pproxy : :: windows :: RawPtr , dwauthnsvc : u32 , dwauthzsvc : u32 , pserverprincname : super::super::Foundation:: PWSTR , dwauthnlevel : RPC_C_AUTHN_LEVEL , dwimplevel : RPC_C_IMP_LEVEL , pauthinfo : * mut :: std :: ffi :: c_void , dwcapabilities : EOLE_AUTHENTICATION_CAPABILITIES ) -> :: windows :: HRESULT ; } CoSetProxyBlanket ( pproxy . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwauthnsvc ) , :: std :: mem :: transmute ( dwauthzsvc ) , pserverprincname . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwauthnlevel ) , :: std :: mem :: transmute ( dwimplevel ) , :: std :: mem :: transmute ( pauthinfo ) , :: std :: mem :: transmute ( dwcapabilities ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoSuspendClassObjects < > ( ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CoSuspendClassObjects ( ) -> :: windows :: HRESULT ; } CoSuspendClassObjects ( ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoSwitchCallContext < 'a , > ( pnewobject : impl :: windows :: IntoParam < 'a , :: windows :: IUnknown > , ) -> :: windows :: Result < :: windows :: IUnknown > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CoSwitchCallContext ( pnewobject : :: windows :: RawPtr , ppoldobject : * mut :: windows :: RawPtr ) -> :: windows :: HRESULT ; } let mut result__ : < :: windows :: IUnknown as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; CoSwitchCallContext ( pnewobject . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < :: windows :: IUnknown > ( result__ ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoTaskMemAlloc < > ( cb : usize , ) -> * mut :: std :: ffi :: c_void { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CoTaskMemAlloc ( cb : usize ) -> * mut :: std :: ffi :: c_void ; } CoTaskMemAlloc ( :: std :: mem :: transmute ( cb ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoTaskMemFree < > ( pv : * mut :: std :: ffi :: c_void , ) { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CoTaskMemFree ( pv : * mut :: std :: ffi :: c_void ) ; } CoTaskMemFree ( :: std :: mem :: transmute ( pv ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoTaskMemRealloc < > ( pv : * mut :: std :: ffi :: c_void , cb : usize , ) -> * mut :: std :: ffi :: c_void { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CoTaskMemRealloc ( pv : * mut :: std :: ffi :: c_void , cb : usize ) -> * mut :: std :: ffi :: c_void ; } CoTaskMemRealloc ( :: std :: mem :: transmute ( pv ) , :: std :: mem :: transmute ( cb ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoTestCancel < > ( ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CoTestCancel ( ) -> :: windows :: HRESULT ; } CoTestCancel ( ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoTreatAsClass < > ( clsidold : * const :: windows :: Guid , clsidnew : * const :: windows :: Guid , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CoTreatAsClass ( clsidold : * const :: windows :: Guid , clsidnew : * const :: windows :: Guid ) -> :: windows :: HRESULT ; } CoTreatAsClass ( :: std :: mem :: transmute ( clsidold ) , :: std :: mem :: transmute ( clsidnew ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoUninitialize < > ( ) { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CoUninitialize ( ) ; } CoUninitialize ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoUnmarshalHresult < 'a , > ( pstm : impl :: windows :: IntoParam < 'a , super::super::Storage::StructuredStorage:: IStream > , ) -> :: windows :: Result < :: windows :: HRESULT > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CoUnmarshalHresult ( pstm : :: windows :: RawPtr , phresult : * mut :: windows :: HRESULT ) -> :: windows :: HRESULT ; } let mut result__ : < :: windows :: HRESULT as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; CoUnmarshalHresult ( pstm . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < :: windows :: HRESULT > ( result__ ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoUnmarshalInterface < 'a , T : :: windows :: Interface > ( pstm : impl :: windows :: IntoParam < 'a , super::super::Storage::StructuredStorage:: IStream > , ) -> :: windows :: Result < T > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CoUnmarshalInterface ( pstm : :: windows :: RawPtr , riid : * const :: windows :: Guid , ppv : * mut * mut :: std :: ffi :: c_void ) -> :: windows :: HRESULT ; } let mut result__ = :: std :: option :: Option :: None ; CoUnmarshalInterface ( pstm . into_param ( ) . abi ( ) , & < T as :: windows :: Interface > :: IID , :: windows :: Abi :: set_abi ( & mut result__ ) ) . and_some ( result__ ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoWaitForMultipleHandles < > ( dwflags : u32 , dwtimeout : u32 , chandles : u32 , phandles : * mut super::super::Foundation:: HANDLE , ) -> :: windows :: Result < u32 > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CoWaitForMultipleHandles ( dwflags : u32 , dwtimeout : u32 , chandles : u32 , phandles : * mut super::super::Foundation:: HANDLE , lpdwindex : * mut u32 ) -> :: windows :: HRESULT ; } let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; CoWaitForMultipleHandles ( :: std :: mem :: transmute ( dwflags ) , :: std :: mem :: transmute ( dwtimeout ) , :: std :: mem :: transmute ( chandles ) , :: std :: mem :: transmute ( phandles ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CoWaitForMultipleObjects < > ( dwflags : u32 , dwtimeout : u32 , chandles : u32 , phandles : * const super::super::Foundation:: HANDLE , ) -> :: windows :: Result < u32 > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CoWaitForMultipleObjects ( dwflags : u32 , dwtimeout : u32 , chandles : u32 , phandles : * const super::super::Foundation:: HANDLE , lpdwindex : * mut u32 ) -> :: windows :: HRESULT ; } let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; CoWaitForMultipleObjects ( :: std :: mem :: transmute ( dwflags ) , :: std :: mem :: transmute ( dwtimeout ) , :: std :: mem :: transmute ( chandles ) , :: std :: mem :: transmute ( phandles ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct ComCallData { pub dwDispid : u32 , pub dwReserved : u32 , pub pUserDefined : * mut :: std :: ffi :: c_void } impl ComCallData { } impl :: std :: default :: Default for ComCallData { fn default ( ) -> Self { Self { dwDispid : 0 , dwReserved : 0 , pUserDefined : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for ComCallData { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "ComCallData" ) . field ( "dwDispid" , & self . dwDispid ) . field ( "dwReserved" , & self . dwReserved ) . field ( "pUserDefined" , & self . pUserDefined ) . finish ( ) } } impl :: std :: cmp :: PartialEq for ComCallData { fn eq ( & self , other : & Self ) -> bool { self . dwDispid == other . dwDispid && self . dwReserved == other . dwReserved && self . pUserDefined == other . pUserDefined } } impl :: std :: cmp :: Eq for ComCallData { } unsafe impl :: windows :: Abi for ComCallData { type Abi = Self ; type DefaultType = Self ; } pub unsafe fn CompareSecurityIds < > ( pbsecurityid1 : * mut u8 , dwlen1 : u32 , pbsecurityid2 : * mut u8 , dwlen2 : u32 , dwreserved : u32 , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="urlmon" ) ] extern "system" { fn CompareSecurityIds ( pbsecurityid1 : * mut u8 , dwlen1 : u32 , pbsecurityid2 : * mut u8 , dwlen2 : u32 , dwreserved : u32 ) -> :: windows :: HRESULT ; } CompareSecurityIds ( :: std :: mem :: transmute ( pbsecurityid1 ) , :: std :: mem :: transmute ( dwlen1 ) , :: std :: mem :: transmute ( pbsecurityid2 ) , :: std :: mem :: transmute ( dwlen2 ) , :: std :: mem :: transmute ( dwreserved ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CompatFlagsFromClsid < > ( pclsid : * mut :: windows :: Guid , pdwcompatflags : * mut u32 , pdwmiscstatusflags : * mut u32 , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="urlmon" ) ] extern "system" { fn CompatFlagsFromClsid ( pclsid : * mut :: windows :: Guid , pdwcompatflags : * mut u32 , pdwmiscstatusflags : * mut u32 ) -> :: windows :: HRESULT ; } CompatFlagsFromClsid ( :: std :: mem :: transmute ( pclsid ) , :: std :: mem :: transmute ( pdwcompatflags ) , :: std :: mem :: transmute ( pdwmiscstatusflags ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CopyBindInfo < > ( pcbisrc : * const BINDINFO , ) -> :: windows :: Result < BINDINFO > { # [ cfg ( windows ) ] { # [ link ( name ="urlmon" ) ] extern "system" { fn CopyBindInfo ( pcbisrc : * const BINDINFO_abi , pbidest : * mut BINDINFO_abi ) -> :: windows :: HRESULT ; } let mut result__ : < BINDINFO as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; CopyBindInfo ( :: std :: mem :: transmute ( pcbisrc ) , & mut result__ ) . from_abi :: < BINDINFO > ( result__ ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CopyStgMedium < > ( pcstgmedsrc : * const STGMEDIUM , ) -> :: windows :: Result < STGMEDIUM > { # [ cfg ( windows ) ] { # [ link ( name ="urlmon" ) ] extern "system" { fn CopyStgMedium ( pcstgmedsrc : * const STGMEDIUM_abi , pstgmeddest : * mut STGMEDIUM_abi ) -> :: windows :: HRESULT ; } let mut result__ : < STGMEDIUM as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; CopyStgMedium ( :: std :: mem :: transmute ( pcstgmedsrc ) , & mut result__ ) . from_abi :: < STGMEDIUM > ( result__ ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateAntiMoniker < > ( ) -> :: windows :: Result < IMoniker > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CreateAntiMoniker ( ppmk : * mut :: windows :: RawPtr ) -> :: windows :: HRESULT ; } let mut result__ : < IMoniker as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; CreateAntiMoniker ( & mut result__ ) . from_abi :: < IMoniker > ( result__ ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateAsyncBindCtx < 'a , > ( reserved : u32 , pbscb : impl :: windows :: IntoParam < 'a , IBindStatusCallback > , pefetc : impl :: windows :: IntoParam < 'a , IEnumFORMATETC > , ) -> :: windows :: Result < IBindCtx > { # [ cfg ( windows ) ] { # [ link ( name ="urlmon" ) ] extern "system" { fn CreateAsyncBindCtx ( reserved : u32 , pbscb : :: windows :: RawPtr , pefetc : :: windows :: RawPtr , ppbc : * mut :: windows :: RawPtr ) -> :: windows :: HRESULT ; } let mut result__ : < IBindCtx as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; CreateAsyncBindCtx ( :: std :: mem :: transmute ( reserved ) , pbscb . into_param ( ) . abi ( ) , pefetc . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < IBindCtx > ( result__ ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateAsyncBindCtxEx < 'a , > ( pbc : impl :: windows :: IntoParam < 'a , IBindCtx > , dwoptions : u32 , pbscb : impl :: windows :: IntoParam < 'a , IBindStatusCallback > , penum : impl :: windows :: IntoParam < 'a , IEnumFORMATETC > , ppbc : * mut :: std :: option :: Option < IBindCtx > , reserved : u32 , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="urlmon" ) ] extern "system" { fn CreateAsyncBindCtxEx ( pbc : :: windows :: RawPtr , dwoptions : u32 , pbscb : :: windows :: RawPtr , penum : :: windows :: RawPtr , ppbc : * mut :: windows :: RawPtr , reserved : u32 ) -> :: windows :: HRESULT ; } CreateAsyncBindCtxEx ( pbc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwoptions ) , pbscb . into_param ( ) . abi ( ) , penum . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ppbc ) , :: std :: mem :: transmute ( reserved ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateBindCtx < > ( reserved : u32 , ) -> :: windows :: Result < IBindCtx > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CreateBindCtx ( reserved : u32 , ppbc : * mut :: windows :: RawPtr ) -> :: windows :: HRESULT ; } let mut result__ : < IBindCtx as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; CreateBindCtx ( :: std :: mem :: transmute ( reserved ) , & mut result__ ) . from_abi :: < IBindCtx > ( result__ ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateClassMoniker < > ( rclsid : * const :: windows :: Guid , ) -> :: windows :: Result < IMoniker > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CreateClassMoniker ( rclsid : * const :: windows :: Guid , ppmk : * mut :: windows :: RawPtr ) -> :: windows :: HRESULT ; } let mut result__ : < IMoniker as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; CreateClassMoniker ( :: std :: mem :: transmute ( rclsid ) , & mut result__ ) . from_abi :: < IMoniker > ( result__ ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateDataAdviseHolder < > ( ) -> :: windows :: Result < IDataAdviseHolder > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CreateDataAdviseHolder ( ppdaholder : * mut :: windows :: RawPtr ) -> :: windows :: HRESULT ; } let mut result__ : < IDataAdviseHolder as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; CreateDataAdviseHolder ( & mut result__ ) . from_abi :: < IDataAdviseHolder > ( result__ ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateDataCache < 'a , T : :: windows :: Interface > ( punkouter : impl :: windows :: IntoParam < 'a , :: windows :: IUnknown > , rclsid : * const :: windows :: Guid , ) -> :: windows :: Result < T > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CreateDataCache ( punkouter : :: windows :: RawPtr , rclsid : * const :: windows :: Guid , iid : * const :: windows :: Guid , ppv : * mut * mut :: std :: ffi :: c_void ) -> :: windows :: HRESULT ; } let mut result__ = :: std :: option :: Option :: None ; CreateDataCache ( punkouter . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( rclsid ) , & < T as :: windows :: Interface > :: IID , :: windows :: Abi :: set_abi ( & mut result__ ) ) . and_some ( result__ ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateFileMoniker < 'a , > ( lpszpathname : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , ) -> :: windows :: Result < IMoniker > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CreateFileMoniker ( lpszpathname : super::super::Foundation:: PWSTR , ppmk : * mut :: windows :: RawPtr ) -> :: windows :: HRESULT ; } let mut result__ : < IMoniker as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; CreateFileMoniker ( lpszpathname . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < IMoniker > ( result__ ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateFormatEnumerator < > ( cfmtetc : u32 , rgfmtetc : * mut FORMATETC , ) -> :: windows :: Result < IEnumFORMATETC > { # [ cfg ( windows ) ] { # [ link ( name ="urlmon" ) ] extern "system" { fn CreateFormatEnumerator ( cfmtetc : u32 , rgfmtetc : * mut FORMATETC , ppenumfmtetc : * mut :: windows :: RawPtr ) -> :: windows :: HRESULT ; } let mut result__ : < IEnumFORMATETC as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; CreateFormatEnumerator ( :: std :: mem :: transmute ( cfmtetc ) , :: std :: mem :: transmute ( rgfmtetc ) , & mut result__ ) . from_abi :: < IEnumFORMATETC > ( result__ ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateGenericComposite < 'a , > ( pmkfirst : impl :: windows :: IntoParam < 'a , IMoniker > , pmkrest : impl :: windows :: IntoParam < 'a , IMoniker > , ) -> :: windows :: Result < IMoniker > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CreateGenericComposite ( pmkfirst : :: windows :: RawPtr , pmkrest : :: windows :: RawPtr , ppmkcomposite : * mut :: windows :: RawPtr ) -> :: windows :: HRESULT ; } let mut result__ : < IMoniker as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; CreateGenericComposite ( pmkfirst . into_param ( ) . abi ( ) , pmkrest . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < IMoniker > ( result__ ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateIUriBuilder < 'a , > ( piuri : impl :: windows :: IntoParam < 'a , IUri > , dwflags : u32 , dwreserved : usize , ) -> :: windows :: Result < IUriBuilder > { # [ cfg ( windows ) ] { # [ link ( name ="URLMON" ) ] extern "system" { fn CreateIUriBuilder ( piuri : :: windows :: RawPtr , dwflags : u32 , dwreserved : usize , ppiuribuilder : * mut :: windows :: RawPtr ) -> :: windows :: HRESULT ; } let mut result__ : < IUriBuilder as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; CreateIUriBuilder ( piuri . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwflags ) , :: std :: mem :: transmute ( dwreserved ) , & mut result__ ) . from_abi :: < IUriBuilder > ( result__ ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateItemMoniker < 'a , > ( lpszdelim : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , lpszitem : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , ) -> :: windows :: Result < IMoniker > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CreateItemMoniker ( lpszdelim : super::super::Foundation:: PWSTR , lpszitem : super::super::Foundation:: PWSTR , ppmk : * mut :: windows :: RawPtr ) -> :: windows :: HRESULT ; } let mut result__ : < IMoniker as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; CreateItemMoniker ( lpszdelim . into_param ( ) . abi ( ) , lpszitem . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < IMoniker > ( result__ ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateObjrefMoniker < 'a , > ( punk : impl :: windows :: IntoParam < 'a , :: windows :: IUnknown > , ) -> :: windows :: Result < IMoniker > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CreateObjrefMoniker ( punk : :: windows :: RawPtr , ppmk : * mut :: windows :: RawPtr ) -> :: windows :: HRESULT ; } let mut result__ : < IMoniker as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; CreateObjrefMoniker ( punk . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < IMoniker > ( result__ ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateOleAdviseHolder < > ( ) -> :: windows :: Result < IOleAdviseHolder > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CreateOleAdviseHolder ( ppoaholder : * mut :: windows :: RawPtr ) -> :: windows :: HRESULT ; } let mut result__ : < IOleAdviseHolder as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; CreateOleAdviseHolder ( & mut result__ ) . from_abi :: < IOleAdviseHolder > ( result__ ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreatePointerMoniker < 'a , > ( punk : impl :: windows :: IntoParam < 'a , :: windows :: IUnknown > , ) -> :: windows :: Result < IMoniker > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn CreatePointerMoniker ( punk : :: windows :: RawPtr , ppmk : * mut :: windows :: RawPtr ) -> :: windows :: HRESULT ; } let mut result__ : < IMoniker as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; CreatePointerMoniker ( punk . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < IMoniker > ( result__ ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateURLMoniker < 'a , > ( pmkctx : impl :: windows :: IntoParam < 'a , IMoniker > , szurl : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , ) -> :: windows :: Result < IMoniker > { # [ cfg ( windows ) ] { # [ link ( name ="urlmon" ) ] extern "system" { fn CreateURLMoniker ( pmkctx : :: windows :: RawPtr , szurl : super::super::Foundation:: PWSTR , ppmk : * mut :: windows :: RawPtr ) -> :: windows :: HRESULT ; } let mut result__ : < IMoniker as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; CreateURLMoniker ( pmkctx . into_param ( ) . abi ( ) , szurl . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < IMoniker > ( result__ ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateURLMonikerEx < 'a , > ( pmkctx : impl :: windows :: IntoParam < 'a , IMoniker > , szurl : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , ppmk : * mut :: std :: option :: Option < IMoniker > , dwflags : u32 , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="urlmon" ) ] extern "system" { fn CreateURLMonikerEx ( pmkctx : :: windows :: RawPtr , szurl : super::super::Foundation:: PWSTR , ppmk : * mut :: windows :: RawPtr , dwflags : u32 ) -> :: windows :: HRESULT ; } CreateURLMonikerEx ( pmkctx . into_param ( ) . abi ( ) , szurl . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ppmk ) , :: std :: mem :: transmute ( dwflags ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateURLMonikerEx2 < 'a , > ( pmkctx : impl :: windows :: IntoParam < 'a , IMoniker > , puri : impl :: windows :: IntoParam < 'a , IUri > , ppmk : * mut :: std :: option :: Option < IMoniker > , dwflags : u32 , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="urlmon" ) ] extern "system" { fn CreateURLMonikerEx2 ( pmkctx : :: windows :: RawPtr , puri : :: windows :: RawPtr , ppmk : * mut :: windows :: RawPtr , dwflags : u32 ) -> :: windows :: HRESULT ; } CreateURLMonikerEx2 ( pmkctx . into_param ( ) . abi ( ) , puri . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ppmk ) , :: std :: mem :: transmute ( dwflags ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateUri < 'a , > ( pwzuri : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , dwflags : URI_CREATE_FLAGS , dwreserved : usize , ) -> :: windows :: Result < IUri > { # [ cfg ( windows ) ] { # [ link ( name ="URLMON" ) ] extern "system" { fn CreateUri ( pwzuri : super::super::Foundation:: PWSTR , dwflags : URI_CREATE_FLAGS , dwreserved : usize , ppuri : * mut :: windows :: RawPtr ) -> :: windows :: HRESULT ; } let mut result__ : < IUri as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; CreateUri ( pwzuri . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwflags ) , :: std :: mem :: transmute ( dwreserved ) , & mut result__ ) . from_abi :: < IUri > ( result__ ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateUriFromMultiByteString < 'a , > ( pszansiinputuri : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , dwencodingflags : u32 , dwcodepage : u32 , dwcreateflags : u32 , dwreserved : usize , ) -> :: windows :: Result < IUri > { # [ cfg ( windows ) ] { # [ link ( name ="urlmon" ) ] extern "system" { fn CreateUriFromMultiByteString ( pszansiinputuri : super::super::Foundation:: PSTR , dwencodingflags : u32 , dwcodepage : u32 , dwcreateflags : u32 , dwreserved : usize , ppuri : * mut :: windows :: RawPtr ) -> :: windows :: HRESULT ; } let mut result__ : < IUri as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; CreateUriFromMultiByteString ( pszansiinputuri . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwencodingflags ) , :: std :: mem :: transmute ( dwcodepage ) , :: std :: mem :: transmute ( dwcreateflags ) , :: std :: mem :: transmute ( dwreserved ) , & mut result__ ) . from_abi :: < IUri > ( result__ ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn CreateUriWithFragment < 'a , > ( pwzuri : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , pwzfragment : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , dwflags : u32 , dwreserved : usize , ) -> :: windows :: Result < IUri > { # [ cfg ( windows ) ] { # [ link ( name ="URLMON" ) ] extern "system" { fn CreateUriWithFragment ( pwzuri : super::super::Foundation:: PWSTR , pwzfragment : super::super::Foundation:: PWSTR , dwflags : u32 , dwreserved : usize , ppuri : * mut :: windows :: RawPtr ) -> :: windows :: HRESULT ; } let mut result__ : < IUri as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; CreateUriWithFragment ( pwzuri . into_param ( ) . abi ( ) , pwzfragment . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwflags ) , :: std :: mem :: transmute ( dwreserved ) , & mut result__ ) . from_abi :: < IUri > ( result__ ) } # [ 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 DATADIR ( pub i32 ) ; pub const DATADIR_GET : DATADIR = DATADIR ( 1i32 ) ; pub const DATADIR_SET : DATADIR = DATADIR ( 2i32 ) ; impl :: std :: convert :: From < i32 > for DATADIR { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for DATADIR { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DATAINFO { pub ulTotalSize : u32 , pub ulavrPacketSize : u32 , pub ulConnectSpeed : u32 , pub ulProcessorSpeed : u32 } impl DATAINFO { } impl :: std :: default :: Default for DATAINFO { fn default ( ) -> Self { Self { ulTotalSize : 0 , ulavrPacketSize : 0 , ulConnectSpeed : 0 , ulProcessorSpeed : 0 } } } impl :: std :: fmt :: Debug for DATAINFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DATAINFO" ) . field ( "ulTotalSize" , & self . ulTotalSize ) . field ( "ulavrPacketSize" , & self . ulavrPacketSize ) . field ( "ulConnectSpeed" , & self . ulConnectSpeed ) . field ( "ulProcessorSpeed" , & self . ulProcessorSpeed ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DATAINFO { fn eq ( & self , other : & Self ) -> bool { self . ulTotalSize == other . ulTotalSize && self . ulavrPacketSize == other . ulavrPacketSize && self . ulConnectSpeed == other . ulConnectSpeed && self . ulProcessorSpeed == other . ulProcessorSpeed } } impl :: std :: cmp :: Eq for DATAINFO { } unsafe impl :: windows :: Abi for DATAINFO { type Abi = Self ; type DefaultType = Self ; } pub const DCOMSCM_ACTIVATION_DISALLOW_UNSECURE_CALL : u32 = 2u32 ; pub const DCOMSCM_ACTIVATION_USE_ALL_AUTHNSERVICES : u32 = 1u32 ; pub const DCOMSCM_PING_DISALLOW_UNSECURE_CALL : u32 = 32u32 ; pub const DCOMSCM_PING_USE_MID_AUTHNSERVICE : u32 = 16u32 ; pub const DCOMSCM_RESOLVE_DISALLOW_UNSECURE_CALL : u32 = 8u32 ; pub const DCOMSCM_RESOLVE_USE_ALL_AUTHNSERVICES : 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 DCOM_CALL_STATE ( pub i32 ) ; pub const DCOM_NONE : DCOM_CALL_STATE = DCOM_CALL_STATE ( 0i32 ) ; pub const DCOM_CALL_COMPLETE : DCOM_CALL_STATE = DCOM_CALL_STATE ( 1i32 ) ; pub const DCOM_CALL_CANCELED : DCOM_CALL_STATE = DCOM_CALL_STATE ( 2i32 ) ; impl :: std :: convert :: From < i32 > for DCOM_CALL_STATE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for DCOM_CALL_STATE { type Abi = Self ; type DefaultType = Self ; } pub const DD_DEFDRAGDELAY : u32 = 200u32 ; pub const DD_DEFDRAGMINDIST : u32 = 2u32 ; pub const DD_DEFSCROLLDELAY : u32 = 50u32 ; pub const DD_DEFSCROLLINSET : u32 = 11u32 ; pub const DD_DEFSCROLLINTERVAL : u32 = 50u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct DISCARDCACHE ( pub i32 ) ; pub const DISCARDCACHE_SAVEIFDIRTY : DISCARDCACHE = DISCARDCACHE ( 0i32 ) ; pub const DISCARDCACHE_NOSAVE : DISCARDCACHE = DISCARDCACHE ( 1i32 ) ; impl :: std :: convert :: From < i32 > for DISCARDCACHE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for DISCARDCACHE { type Abi = Self ; type DefaultType = Self ; } pub const DISPID_ABOUTBOX : i32 = -552i32 ; pub const DISPID_ACCELERATOR : i32 = -543i32 ; pub const DISPID_ADDITEM : i32 = -553i32 ; pub const DISPID_AMBIENT_APPEARANCE : i32 = -716i32 ; pub const DISPID_AMBIENT_AUTOCLIP : i32 = -715i32 ; pub const DISPID_AMBIENT_BACKCOLOR : i32 = -701i32 ; pub const DISPID_AMBIENT_CHARSET : i32 = -727i32 ; pub const DISPID_AMBIENT_CODEPAGE : i32 = -725i32 ; pub const DISPID_AMBIENT_DISPLAYASDEFAULT : i32 = -713i32 ; pub const DISPID_AMBIENT_DISPLAYNAME : i32 = -702i32 ; pub const DISPID_AMBIENT_FONT : i32 = -703i32 ; pub const DISPID_AMBIENT_FORECOLOR : i32 = -704i32 ; pub const DISPID_AMBIENT_LOCALEID : i32 = -705i32 ; pub const DISPID_AMBIENT_MESSAGEREFLECT : i32 = -706i32 ; pub const DISPID_AMBIENT_PALETTE : i32 = -726i32 ; pub const DISPID_AMBIENT_RIGHTTOLEFT : i32 = -732i32 ; pub const DISPID_AMBIENT_SCALEUNITS : i32 = -707i32 ; pub const DISPID_AMBIENT_SHOWGRABHANDLES : i32 = -711i32 ; pub const DISPID_AMBIENT_SHOWHATCHING : i32 = -712i32 ; pub const DISPID_AMBIENT_SUPPORTSMNEMONICS : i32 = -714i32 ; pub const DISPID_AMBIENT_TEXTALIGN : i32 = -708i32 ; pub const DISPID_AMBIENT_TOPTOBOTTOM : i32 = -733i32 ; pub const DISPID_AMBIENT_TRANSFERPRIORITY : i32 = -728i32 ; pub const DISPID_AMBIENT_UIDEAD : i32 = -710i32 ; pub const DISPID_AMBIENT_USERMODE : i32 = -709i32 ; pub const DISPID_APPEARANCE : i32 = -520i32 ; pub const DISPID_AUTOSIZE : i32 = -500i32 ; pub const DISPID_BACKCOLOR : i32 = -501i32 ; pub const DISPID_BACKSTYLE : i32 = -502i32 ; pub const DISPID_BORDERCOLOR : i32 = -503i32 ; pub const DISPID_BORDERSTYLE : i32 = -504i32 ; pub const DISPID_BORDERVISIBLE : i32 = -519i32 ; pub const DISPID_BORDERWIDTH : i32 = -505i32 ; pub const DISPID_CAPTION : i32 = -518i32 ; pub const DISPID_CLEAR : i32 = -554i32 ; pub const DISPID_CLICK : i32 = -600i32 ; pub const DISPID_CLICK_VALUE : i32 = -610i32 ; pub const DISPID_COLUMN : i32 = -529i32 ; pub const DISPID_DBLCLICK : i32 = -601i32 ; pub const DISPID_DISPLAYSTYLE : i32 = -540i32 ; pub const DISPID_DOCLICK : i32 = -551i32 ; pub const DISPID_DRAWMODE : i32 = -507i32 ; pub const DISPID_DRAWSTYLE : i32 = -508i32 ; pub const DISPID_DRAWWIDTH : i32 = -509i32 ; pub const DISPID_Delete : i32 = -801i32 ; pub const DISPID_ENABLED : i32 = -514i32 ; pub const DISPID_ENTERKEYBEHAVIOR : i32 = -544i32 ; pub const DISPID_ERROREVENT : i32 = -608i32 ; pub const DISPID_FILLCOLOR : i32 = -510i32 ; pub const DISPID_FILLSTYLE : i32 = -511i32 ; pub const DISPID_FONT : i32 = -512i32 ; pub const DISPID_FONT_BOLD : u32 = 3u32 ; pub const DISPID_FONT_CHANGED : u32 = 9u32 ; pub const DISPID_FONT_CHARSET : u32 = 8u32 ; pub const DISPID_FONT_ITALIC : u32 = 4u32 ; pub const DISPID_FONT_NAME : u32 = 0u32 ; pub const DISPID_FONT_SIZE : u32 = 2u32 ; pub const DISPID_FONT_STRIKE : u32 = 6u32 ; pub const DISPID_FONT_UNDER : u32 = 5u32 ; pub const DISPID_FONT_WEIGHT : u32 = 7u32 ; pub const DISPID_FORECOLOR : i32 = -513i32 ; pub const DISPID_GROUPNAME : i32 = -541i32 ; pub const DISPID_HWND : i32 = -515i32 ; pub const DISPID_IMEMODE : i32 = -542i32 ; pub const DISPID_KEYDOWN : i32 = -602i32 ; pub const DISPID_KEYPRESS : i32 = -603i32 ; pub const DISPID_KEYUP : i32 = -604i32 ; pub const DISPID_LIST : i32 = -528i32 ; pub const DISPID_LISTCOUNT : i32 = -531i32 ; pub const DISPID_LISTINDEX : i32 = -526i32 ; pub const DISPID_MAXLENGTH : i32 = -533i32 ; pub const DISPID_MOUSEDOWN : i32 = -605i32 ; pub const DISPID_MOUSEICON : i32 = -522i32 ; pub const DISPID_MOUSEMOVE : i32 = -606i32 ; pub const DISPID_MOUSEPOINTER : i32 = -521i32 ; pub const DISPID_MOUSEUP : i32 = -607i32 ; pub const DISPID_MULTILINE : i32 = -537i32 ; pub const DISPID_MULTISELECT : i32 = -532i32 ; pub const DISPID_NUMBEROFCOLUMNS : i32 = -539i32 ; pub const DISPID_NUMBEROFROWS : i32 = -538i32 ; pub const DISPID_Name : i32 = -800i32 ; pub const DISPID_Object : i32 = -802i32 ; pub const DISPID_PASSWORDCHAR : i32 = -534i32 ; pub const DISPID_PICTURE : i32 = -523i32 ; pub const DISPID_PICT_HANDLE : u32 = 0u32 ; pub const DISPID_PICT_HEIGHT : u32 = 5u32 ; pub const DISPID_PICT_HPAL : u32 = 2u32 ; pub const DISPID_PICT_RENDER : u32 = 6u32 ; pub const DISPID_PICT_TYPE : u32 = 3u32 ; pub const DISPID_PICT_WIDTH : u32 = 4u32 ; pub const DISPID_Parent : i32 = -803i32 ; pub const DISPID_READYSTATE : i32 = -525i32 ; pub const DISPID_READYSTATECHANGE : i32 = -609i32 ; pub const DISPID_REFRESH : i32 = -550i32 ; pub const DISPID_REMOVEITEM : i32 = -555i32 ; pub const DISPID_RIGHTTOLEFT : i32 = -611i32 ; pub const DISPID_SCROLLBARS : i32 = -535i32 ; pub const DISPID_SELECTED : i32 = -527i32 ; pub const DISPID_SELLENGTH : i32 = -548i32 ; pub const DISPID_SELSTART : i32 = -547i32 ; pub const DISPID_SELTEXT : i32 = -546i32 ; pub const DISPID_TABKEYBEHAVIOR : i32 = -545i32 ; pub const DISPID_TABSTOP : i32 = -516i32 ; pub const DISPID_TEXT : i32 = -517i32 ; pub const DISPID_TOPTOBOTTOM : i32 = -612i32 ; pub const DISPID_VALID : i32 = -524i32 ; pub const DISPID_WORDWRAP : i32 = -536i32 ; pub const DMUS_ERRBASE : u32 = 4096u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct DOCMISC ( pub i32 ) ; pub const DOCMISC_CANCREATEMULTIPLEVIEWS : DOCMISC = DOCMISC ( 1i32 ) ; pub const DOCMISC_SUPPORTCOMPLEXRECTANGLES : DOCMISC = DOCMISC ( 2i32 ) ; pub const DOCMISC_CANTOPENEDIT : DOCMISC = DOCMISC ( 4i32 ) ; pub const DOCMISC_NOFILESUPPORT : DOCMISC = DOCMISC ( 8i32 ) ; impl :: std :: convert :: From < i32 > for DOCMISC { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for DOCMISC { type Abi = Self ; type DefaultType = Self ; } pub const DROPEFFECT_COPY : u32 = 1u32 ; pub const DROPEFFECT_LINK : u32 = 4u32 ; pub const DROPEFFECT_MOVE : u32 = 2u32 ; pub const DROPEFFECT_NONE : u32 = 0u32 ; pub const DROPEFFECT_SCROLL : 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 DVASPECT ( pub i32 ) ; pub const DVASPECT_CONTENT : DVASPECT = DVASPECT ( 1i32 ) ; pub const DVASPECT_THUMBNAIL : DVASPECT = DVASPECT ( 2i32 ) ; pub const DVASPECT_ICON : DVASPECT = DVASPECT ( 4i32 ) ; pub const DVASPECT_DOCPRINT : DVASPECT = DVASPECT ( 8i32 ) ; impl :: std :: convert :: From < i32 > for DVASPECT { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for DVASPECT { 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 DVASPECT2 ( pub i32 ) ; pub const DVASPECT_OPAQUE : DVASPECT2 = DVASPECT2 ( 16i32 ) ; pub const DVASPECT_TRANSPARENT : DVASPECT2 = DVASPECT2 ( 32i32 ) ; impl :: std :: convert :: From < i32 > for DVASPECT2 { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for DVASPECT2 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DVTARGETDEVICE { pub tdSize : u32 , pub tdDriverNameOffset : u16 , pub tdDeviceNameOffset : u16 , pub tdPortNameOffset : u16 , pub tdExtDevmodeOffset : u16 , pub tdData : [ u8 ;1 ] } impl DVTARGETDEVICE { } impl :: std :: default :: Default for DVTARGETDEVICE { fn default ( ) -> Self { Self { tdSize : 0 , tdDriverNameOffset : 0 , tdDeviceNameOffset : 0 , tdPortNameOffset : 0 , tdExtDevmodeOffset : 0 , tdData : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for DVTARGETDEVICE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DVTARGETDEVICE" ) . field ( "tdSize" , & self . tdSize ) . field ( "tdDriverNameOffset" , & self . tdDriverNameOffset ) . field ( "tdDeviceNameOffset" , & self . tdDeviceNameOffset ) . field ( "tdPortNameOffset" , & self . tdPortNameOffset ) . field ( "tdExtDevmodeOffset" , & self . tdExtDevmodeOffset ) . field ( "tdData" , & self . tdData ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DVTARGETDEVICE { fn eq ( & self , other : & Self ) -> bool { self . tdSize == other . tdSize && self . tdDriverNameOffset == other . tdDriverNameOffset && self . tdDeviceNameOffset == other . tdDeviceNameOffset && self . tdPortNameOffset == other . tdPortNameOffset && self . tdExtDevmodeOffset == other . tdExtDevmodeOffset && self . tdData == other . tdData } } impl :: std :: cmp :: Eq for DVTARGETDEVICE { } unsafe impl :: windows :: Abi for DVTARGETDEVICE { 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 ; } pub unsafe fn DoDragDrop < 'a , > ( pdataobj : impl :: windows :: IntoParam < 'a , IDataObject > , pdropsource : impl :: windows :: IntoParam < 'a , IDropSource > , dwokeffects : u32 , pdweffect : * mut u32 , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn DoDragDrop ( pdataobj : :: windows :: RawPtr , pdropsource : :: windows :: RawPtr , dwokeffects : u32 , pdweffect : * mut u32 ) -> :: windows :: HRESULT ; } DoDragDrop ( pdataobj . into_param ( ) . abi ( ) , pdropsource . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwokeffects ) , :: std :: mem :: transmute ( pdweffect ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub const ELF_DISABLECANCELLINK : i32 = 16i32 ; pub const ELF_DISABLECHANGESOURCE : i32 = 8i32 ; pub const ELF_DISABLEOPENSOURCE : i32 = 4i32 ; pub const ELF_DISABLEUPDATENOW : i32 = 2i32 ; pub const ELF_SHOWHELP : i32 = 1i32 ; pub const EMBDHLP_CREATENOW : i32 = 0i32 ; pub const EMBDHLP_DELAYCREATE : i32 = 65536i32 ; pub const EMBDHLP_INPROC_HANDLER : i32 = 0i32 ; pub const EMBDHLP_INPROC_SERVER : 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 ENUM_CONTROLS_WHICH_FLAGS ( pub u32 ) ; pub const GCW_WCH_SIBLING : ENUM_CONTROLS_WHICH_FLAGS = ENUM_CONTROLS_WHICH_FLAGS ( 1u32 ) ; pub const GC_WCH_CONTAINER : ENUM_CONTROLS_WHICH_FLAGS = ENUM_CONTROLS_WHICH_FLAGS ( 2u32 ) ; pub const GC_WCH_CONTAINED : ENUM_CONTROLS_WHICH_FLAGS = ENUM_CONTROLS_WHICH_FLAGS ( 3u32 ) ; pub const GC_WCH_ALL : ENUM_CONTROLS_WHICH_FLAGS = ENUM_CONTROLS_WHICH_FLAGS ( 4u32 ) ; pub const GC_WCH_FREVERSEDIR : ENUM_CONTROLS_WHICH_FLAGS = ENUM_CONTROLS_WHICH_FLAGS ( 134217728u32 ) ; pub const GC_WCH_FONLYAFTER : ENUM_CONTROLS_WHICH_FLAGS = ENUM_CONTROLS_WHICH_FLAGS ( 268435456u32 ) ; pub const GC_WCH_FONLYBEFORE : ENUM_CONTROLS_WHICH_FLAGS = ENUM_CONTROLS_WHICH_FLAGS ( 536870912u32 ) ; pub const GC_WCH_FSELECTED : ENUM_CONTROLS_WHICH_FLAGS = ENUM_CONTROLS_WHICH_FLAGS ( 1073741824u32 ) ; impl :: std :: convert :: From < u32 > for ENUM_CONTROLS_WHICH_FLAGS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for ENUM_CONTROLS_WHICH_FLAGS { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for ENUM_CONTROLS_WHICH_FLAGS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for ENUM_CONTROLS_WHICH_FLAGS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for ENUM_CONTROLS_WHICH_FLAGS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for ENUM_CONTROLS_WHICH_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 EOC_ChangeType ( pub i32 ) ; pub const EOC_NewObject : EOC_ChangeType = EOC_ChangeType ( 0i32 ) ; pub const EOC_ModifiedObject : EOC_ChangeType = EOC_ChangeType ( 1i32 ) ; pub const EOC_DeletedObject : EOC_ChangeType = EOC_ChangeType ( 2i32 ) ; impl :: std :: convert :: From < i32 > for EOC_ChangeType { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for EOC_ChangeType { 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 EOLE_AUTHENTICATION_CAPABILITIES ( pub i32 ) ; pub const EOAC_NONE : EOLE_AUTHENTICATION_CAPABILITIES = EOLE_AUTHENTICATION_CAPABILITIES ( 0i32 ) ; pub const EOAC_MUTUAL_AUTH : EOLE_AUTHENTICATION_CAPABILITIES = EOLE_AUTHENTICATION_CAPABILITIES ( 1i32 ) ; pub const EOAC_STATIC_CLOAKING : EOLE_AUTHENTICATION_CAPABILITIES = EOLE_AUTHENTICATION_CAPABILITIES ( 32i32 ) ; pub const EOAC_DYNAMIC_CLOAKING : EOLE_AUTHENTICATION_CAPABILITIES = EOLE_AUTHENTICATION_CAPABILITIES ( 64i32 ) ; pub const EOAC_ANY_AUTHORITY : EOLE_AUTHENTICATION_CAPABILITIES = EOLE_AUTHENTICATION_CAPABILITIES ( 128i32 ) ; pub const EOAC_MAKE_FULLSIC : EOLE_AUTHENTICATION_CAPABILITIES = EOLE_AUTHENTICATION_CAPABILITIES ( 256i32 ) ; pub const EOAC_DEFAULT : EOLE_AUTHENTICATION_CAPABILITIES = EOLE_AUTHENTICATION_CAPABILITIES ( 2048i32 ) ; pub const EOAC_SECURE_REFS : EOLE_AUTHENTICATION_CAPABILITIES = EOLE_AUTHENTICATION_CAPABILITIES ( 2i32 ) ; pub const EOAC_ACCESS_CONTROL : EOLE_AUTHENTICATION_CAPABILITIES = EOLE_AUTHENTICATION_CAPABILITIES ( 4i32 ) ; pub const EOAC_APPID : EOLE_AUTHENTICATION_CAPABILITIES = EOLE_AUTHENTICATION_CAPABILITIES ( 8i32 ) ; pub const EOAC_DYNAMIC : EOLE_AUTHENTICATION_CAPABILITIES = EOLE_AUTHENTICATION_CAPABILITIES ( 16i32 ) ; pub const EOAC_REQUIRE_FULLSIC : EOLE_AUTHENTICATION_CAPABILITIES = EOLE_AUTHENTICATION_CAPABILITIES ( 512i32 ) ; pub const EOAC_AUTO_IMPERSONATE : EOLE_AUTHENTICATION_CAPABILITIES = EOLE_AUTHENTICATION_CAPABILITIES ( 1024i32 ) ; pub const EOAC_DISABLE_AAA : EOLE_AUTHENTICATION_CAPABILITIES = EOLE_AUTHENTICATION_CAPABILITIES ( 4096i32 ) ; pub const EOAC_NO_CUSTOM_MARSHAL : EOLE_AUTHENTICATION_CAPABILITIES = EOLE_AUTHENTICATION_CAPABILITIES ( 8192i32 ) ; pub const EOAC_RESERVED1 : EOLE_AUTHENTICATION_CAPABILITIES = EOLE_AUTHENTICATION_CAPABILITIES ( 16384i32 ) ; impl :: std :: convert :: From < i32 > for EOLE_AUTHENTICATION_CAPABILITIES { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for EOLE_AUTHENTICATION_CAPABILITIES { 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 EXTCONN ( pub i32 ) ; pub const EXTCONN_STRONG : EXTCONN = EXTCONN ( 1i32 ) ; pub const EXTCONN_WEAK : EXTCONN = EXTCONN ( 2i32 ) ; pub const EXTCONN_CALLABLE : EXTCONN = EXTCONN ( 4i32 ) ; impl :: std :: convert :: From < i32 > for EXTCONN { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for EXTCONN { type Abi = Self ; type DefaultType = Self ; } pub const E_PENDING : :: windows :: HRESULT = :: windows :: HRESULT ( -2147483638i32 as _ ) ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct ExtentInfo { pub cb : u32 , pub dwExtentMode : u32 , pub sizelProposed : super::super::Foundation:: SIZE } impl ExtentInfo { } impl :: std :: default :: Default for ExtentInfo { fn default ( ) -> Self { Self { cb : 0 , dwExtentMode : 0 , sizelProposed : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for ExtentInfo { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "ExtentInfo" ) . field ( "cb" , & self . cb ) . field ( "dwExtentMode" , & self . dwExtentMode ) . field ( "sizelProposed" , & self . sizelProposed ) . finish ( ) } } impl :: std :: cmp :: PartialEq for ExtentInfo { fn eq ( & self , other : & Self ) -> bool { self . cb == other . cb && self . dwExtentMode == other . dwExtentMode && self . sizelProposed == other . sizelProposed } } impl :: std :: cmp :: Eq for ExtentInfo { } unsafe impl :: windows :: Abi for ExtentInfo { 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 ExtentMode ( pub i32 ) ; pub const DVEXTENT_CONTENT : ExtentMode = ExtentMode ( 0i32 ) ; pub const DVEXTENT_INTEGRAL : ExtentMode = ExtentMode ( 1i32 ) ; impl :: std :: convert :: From < i32 > for ExtentMode { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for ExtentMode { type Abi = Self ; type DefaultType = Self ; } pub const FIEF_FLAG_FORCE_JITUI : u32 = 1u32 ; pub const FIEF_FLAG_PEEK : u32 = 2u32 ; pub const FIEF_FLAG_RESERVED_0 : u32 = 8u32 ; pub const FIEF_FLAG_SKIP_INSTALLED_VERSION_CHECK : u32 = 4u32 ; # [ 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 ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct FLAGGED_WORD_BLOB { pub fFlags : u32 , pub clSize : u32 , pub asData : [ u16 ;1 ] } impl FLAGGED_WORD_BLOB { } impl :: std :: default :: Default for FLAGGED_WORD_BLOB { fn default ( ) -> Self { Self { fFlags : 0 , clSize : 0 , asData : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for FLAGGED_WORD_BLOB { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "FLAGGED_WORD_BLOB" ) . field ( "fFlags" , & self . fFlags ) . field ( "clSize" , & self . clSize ) . field ( "asData" , & self . asData ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FLAGGED_WORD_BLOB { fn eq ( & self , other : & Self ) -> bool { self . fFlags == other . fFlags && self . clSize == other . clSize && self . asData == other . asData } } impl :: std :: cmp :: Eq for FLAGGED_WORD_BLOB { } unsafe impl :: windows :: Abi for FLAGGED_WORD_BLOB { type Abi = Self ; type DefaultType = Self ; } impl :: std :: clone :: Clone for FLAG_STGMEDIUM { fn clone ( & self ) -> Self { unimplemented ! ( ) } } # [ repr ( C ) ] pub struct FLAG_STGMEDIUM { pub ContextFlags : i32 , pub fPassOwnership : i32 , pub Stgmed : STGMEDIUM } impl FLAG_STGMEDIUM { } impl :: std :: cmp :: PartialEq for FLAG_STGMEDIUM { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for FLAG_STGMEDIUM { } # [ repr ( C ) ] # [ doc ( hidden ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct FLAG_STGMEDIUM_abi { pub ContextFlags : i32 , pub fPassOwnership : i32 , pub Stgmed : STGMEDIUM_abi } unsafe impl :: windows :: Abi for FLAG_STGMEDIUM { type Abi = FLAG_STGMEDIUM_abi ; type DefaultType = Self ; } pub const FMFD_DEFAULT : u32 = 0u32 ; pub const FMFD_ENABLEMIMESNIFFING : u32 = 2u32 ; pub const FMFD_IGNOREMIMETEXTPLAIN : u32 = 4u32 ; pub const FMFD_RESERVED_1 : u32 = 64u32 ; pub const FMFD_RESPECTTEXTPLAIN : u32 = 16u32 ; pub const FMFD_RETURNUPDATEDIMGMIMES : u32 = 32u32 ; pub const FMFD_SERVERMIME : u32 = 8u32 ; pub const FMFD_URLASFILENAME : u32 = 1u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct FONTDESC { pub cbSizeofstruct : u32 , pub lpstrName : super::super::Foundation:: PWSTR , pub cySize : super::SystemServices:: CY , pub sWeight : i16 , pub sCharset : i16 , pub fItalic : super::super::Foundation:: BOOL , pub fUnderline : super::super::Foundation:: BOOL , pub fStrikethrough : super::super::Foundation:: BOOL } impl FONTDESC { } impl :: std :: cmp :: PartialEq for FONTDESC { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for FONTDESC { } unsafe impl :: windows :: Abi for FONTDESC { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct FORMATETC { pub cfFormat : u16 , pub ptd : * mut DVTARGETDEVICE , pub dwAspect : u32 , pub lindex : i32 , pub tymed : u32 } impl FORMATETC { } impl :: std :: default :: Default for FORMATETC { fn default ( ) -> Self { Self { cfFormat : 0 , ptd : :: std :: ptr :: null_mut ( ) , dwAspect : 0 , lindex : 0 , tymed : 0 } } } impl :: std :: fmt :: Debug for FORMATETC { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "FORMATETC" ) . field ( "cfFormat" , & self . cfFormat ) . field ( "ptd" , & self . ptd ) . field ( "dwAspect" , & self . dwAspect ) . field ( "lindex" , & self . lindex ) . field ( "tymed" , & self . tymed ) . finish ( ) } } impl :: std :: cmp :: PartialEq for FORMATETC { fn eq ( & self , other : & Self ) -> bool { self . cfFormat == other . cfFormat && self . ptd == other . ptd && self . dwAspect == other . dwAspect && self . lindex == other . lindex && self . tymed == other . tymed } } impl :: std :: cmp :: Eq for FORMATETC { } unsafe impl :: windows :: Abi for FORMATETC { type Abi = Self ; type DefaultType = Self ; } pub unsafe fn FaultInIEFeature < 'a , > ( hwnd : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HWND > , pclassspec : * mut super::SystemServices:: uCLSSPEC , pquery : * mut QUERYCONTEXT , dwflags : u32 , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="urlmon" ) ] extern "system" { fn FaultInIEFeature ( hwnd : super::super::Foundation:: HWND , pclassspec : * mut super::SystemServices:: uCLSSPEC , pquery : * mut QUERYCONTEXT , dwflags : u32 ) -> :: windows :: HRESULT ; } FaultInIEFeature ( hwnd . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pclassspec ) , :: std :: mem :: transmute ( pquery ) , :: std :: mem :: transmute ( dwflags ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn FindMediaType < 'a , > ( rgsztypes : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , ) -> :: windows :: Result < u16 > { # [ cfg ( windows ) ] { # [ link ( name ="urlmon" ) ] extern "system" { fn FindMediaType ( rgsztypes : super::super::Foundation:: PSTR , rgcftypes : * mut u16 ) -> :: windows :: HRESULT ; } let mut result__ : < u16 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; FindMediaType ( rgsztypes . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < u16 > ( result__ ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn FindMediaTypeClass < 'a , > ( pbc : impl :: windows :: IntoParam < 'a , IBindCtx > , sztype : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , pclsid : * mut :: windows :: Guid , reserved : u32 , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="urlmon" ) ] extern "system" { fn FindMediaTypeClass ( pbc : :: windows :: RawPtr , sztype : super::super::Foundation:: PSTR , pclsid : * mut :: windows :: Guid , reserved : u32 ) -> :: windows :: HRESULT ; } FindMediaTypeClass ( pbc . into_param ( ) . abi ( ) , sztype . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pclsid ) , :: std :: mem :: transmute ( reserved ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn FindMimeFromData < 'a , > ( pbc : impl :: windows :: IntoParam < 'a , IBindCtx > , pwzurl : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , pbuffer : * mut :: std :: ffi :: c_void , cbsize : u32 , pwzmimeproposed : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , dwmimeflags : u32 , ppwzmimeout : * mut super::super::Foundation:: PWSTR , dwreserved : u32 , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="urlmon" ) ] extern "system" { fn FindMimeFromData ( pbc : :: windows :: RawPtr , pwzurl : super::super::Foundation:: PWSTR , pbuffer : * mut :: std :: ffi :: c_void , cbsize : u32 , pwzmimeproposed : super::super::Foundation:: PWSTR , dwmimeflags : u32 , ppwzmimeout : * mut super::super::Foundation:: PWSTR , dwreserved : u32 ) -> :: windows :: HRESULT ; } FindMimeFromData ( pbc . into_param ( ) . abi ( ) , pwzurl . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pbuffer ) , :: std :: mem :: transmute ( cbsize ) , pwzmimeproposed . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwmimeflags ) , :: std :: mem :: transmute ( ppwzmimeout ) , :: std :: mem :: transmute ( dwreserved ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub const GC_WCH_SIBLING : i32 = 1i32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct GDI_OBJECT { pub ObjectType : u32 , pub u : GDI_OBJECT_0 } impl GDI_OBJECT { } impl :: std :: cmp :: PartialEq for GDI_OBJECT { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for GDI_OBJECT { } unsafe impl :: windows :: Abi for GDI_OBJECT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union GDI_OBJECT_0 { pub hBitmap : * mut super::SystemServices:: userHBITMAP , pub hPalette : * mut super::SystemServices:: userHPALETTE , pub hGeneric : * mut super::SystemServices:: userHGLOBAL } impl GDI_OBJECT_0 { } impl :: std :: cmp :: PartialEq for GDI_OBJECT_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for GDI_OBJECT_0 { } unsafe impl :: windows :: Abi for GDI_OBJECT_0 { type Abi = Self ; type DefaultType = Self ; } pub const GET_FEATURE_FROM_PROCESS : u32 = 2u32 ; pub const GET_FEATURE_FROM_REGISTRY : u32 = 4u32 ; pub const GET_FEATURE_FROM_THREAD : u32 = 1u32 ; pub const GET_FEATURE_FROM_THREAD_INTERNET : u32 = 64u32 ; pub const GET_FEATURE_FROM_THREAD_INTRANET : u32 = 16u32 ; pub const GET_FEATURE_FROM_THREAD_LOCALMACHINE : u32 = 8u32 ; pub const GET_FEATURE_FROM_THREAD_RESTRICTED : u32 = 128u32 ; pub const GET_FEATURE_FROM_THREAD_TRUSTED : 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 GLOBALOPT_EH_VALUES ( pub i32 ) ; pub const COMGLB_EXCEPTION_HANDLE : GLOBALOPT_EH_VALUES = GLOBALOPT_EH_VALUES ( 0i32 ) ; pub const COMGLB_EXCEPTION_DONOT_HANDLE_FATAL : GLOBALOPT_EH_VALUES = GLOBALOPT_EH_VALUES ( 1i32 ) ; pub const COMGLB_EXCEPTION_DONOT_HANDLE : GLOBALOPT_EH_VALUES = GLOBALOPT_EH_VALUES ( 1i32 ) ; pub const COMGLB_EXCEPTION_DONOT_HANDLE_ANY : GLOBALOPT_EH_VALUES = GLOBALOPT_EH_VALUES ( 2i32 ) ; impl :: std :: convert :: From < i32 > for GLOBALOPT_EH_VALUES { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for GLOBALOPT_EH_VALUES { 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 GLOBALOPT_PROPERTIES ( pub i32 ) ; pub const COMGLB_EXCEPTION_HANDLING : GLOBALOPT_PROPERTIES = GLOBALOPT_PROPERTIES ( 1i32 ) ; pub const COMGLB_APPID : GLOBALOPT_PROPERTIES = GLOBALOPT_PROPERTIES ( 2i32 ) ; pub const COMGLB_RPC_THREADPOOL_SETTING : GLOBALOPT_PROPERTIES = GLOBALOPT_PROPERTIES ( 3i32 ) ; pub const COMGLB_RO_SETTINGS : GLOBALOPT_PROPERTIES = GLOBALOPT_PROPERTIES ( 4i32 ) ; pub const COMGLB_UNMARSHALING_POLICY : GLOBALOPT_PROPERTIES = GLOBALOPT_PROPERTIES ( 5i32 ) ; pub const COMGLB_PROPERTIES_RESERVED1 : GLOBALOPT_PROPERTIES = GLOBALOPT_PROPERTIES ( 6i32 ) ; pub const COMGLB_PROPERTIES_RESERVED2 : GLOBALOPT_PROPERTIES = GLOBALOPT_PROPERTIES ( 7i32 ) ; pub const COMGLB_PROPERTIES_RESERVED3 : GLOBALOPT_PROPERTIES = GLOBALOPT_PROPERTIES ( 8i32 ) ; impl :: std :: convert :: From < i32 > for GLOBALOPT_PROPERTIES { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for GLOBALOPT_PROPERTIES { 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 GLOBALOPT_RO_FLAGS ( pub i32 ) ; pub const COMGLB_STA_MODALLOOP_REMOVE_TOUCH_MESSAGES : GLOBALOPT_RO_FLAGS = GLOBALOPT_RO_FLAGS ( 1i32 ) ; pub const COMGLB_STA_MODALLOOP_SHARED_QUEUE_REMOVE_INPUT_MESSAGES : GLOBALOPT_RO_FLAGS = GLOBALOPT_RO_FLAGS ( 2i32 ) ; pub const COMGLB_STA_MODALLOOP_SHARED_QUEUE_DONOT_REMOVE_INPUT_MESSAGES : GLOBALOPT_RO_FLAGS = GLOBALOPT_RO_FLAGS ( 4i32 ) ; pub const COMGLB_FAST_RUNDOWN : GLOBALOPT_RO_FLAGS = GLOBALOPT_RO_FLAGS ( 8i32 ) ; pub const COMGLB_RESERVED1 : GLOBALOPT_RO_FLAGS = GLOBALOPT_RO_FLAGS ( 16i32 ) ; pub const COMGLB_RESERVED2 : GLOBALOPT_RO_FLAGS = GLOBALOPT_RO_FLAGS ( 32i32 ) ; pub const COMGLB_RESERVED3 : GLOBALOPT_RO_FLAGS = GLOBALOPT_RO_FLAGS ( 64i32 ) ; pub const COMGLB_STA_MODALLOOP_SHARED_QUEUE_REORDER_POINTER_MESSAGES : GLOBALOPT_RO_FLAGS = GLOBALOPT_RO_FLAGS ( 128i32 ) ; pub const COMGLB_RESERVED4 : GLOBALOPT_RO_FLAGS = GLOBALOPT_RO_FLAGS ( 256i32 ) ; pub const COMGLB_RESERVED5 : GLOBALOPT_RO_FLAGS = GLOBALOPT_RO_FLAGS ( 512i32 ) ; pub const COMGLB_RESERVED6 : GLOBALOPT_RO_FLAGS = GLOBALOPT_RO_FLAGS ( 1024i32 ) ; impl :: std :: convert :: From < i32 > for GLOBALOPT_RO_FLAGS { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for GLOBALOPT_RO_FLAGS { 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 GLOBALOPT_RPCTP_VALUES ( pub i32 ) ; pub const COMGLB_RPC_THREADPOOL_SETTING_DEFAULT_POOL : GLOBALOPT_RPCTP_VALUES = GLOBALOPT_RPCTP_VALUES ( 0i32 ) ; pub const COMGLB_RPC_THREADPOOL_SETTING_PRIVATE_POOL : GLOBALOPT_RPCTP_VALUES = GLOBALOPT_RPCTP_VALUES ( 1i32 ) ; impl :: std :: convert :: From < i32 > for GLOBALOPT_RPCTP_VALUES { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for GLOBALOPT_RPCTP_VALUES { 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 GLOBALOPT_UNMARSHALING_POLICY_VALUES ( pub i32 ) ; pub const COMGLB_UNMARSHALING_POLICY_NORMAL : GLOBALOPT_UNMARSHALING_POLICY_VALUES = GLOBALOPT_UNMARSHALING_POLICY_VALUES ( 0i32 ) ; pub const COMGLB_UNMARSHALING_POLICY_STRONG : GLOBALOPT_UNMARSHALING_POLICY_VALUES = GLOBALOPT_UNMARSHALING_POLICY_VALUES ( 1i32 ) ; pub const COMGLB_UNMARSHALING_POLICY_HYBRID : GLOBALOPT_UNMARSHALING_POLICY_VALUES = GLOBALOPT_UNMARSHALING_POLICY_VALUES ( 2i32 ) ; impl :: std :: convert :: From < i32 > for GLOBALOPT_UNMARSHALING_POLICY_VALUES { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for GLOBALOPT_UNMARSHALING_POLICY_VALUES { 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 GUIDKIND ( pub i32 ) ; pub const GUIDKIND_DEFAULT_SOURCE_DISP_IID : GUIDKIND = GUIDKIND ( 1i32 ) ; impl :: std :: convert :: From < i32 > for GUIDKIND { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for GUIDKIND { type Abi = Self ; type DefaultType = Self ; } pub const GUID_CHECKVALUEEXCLUSIVE : :: windows :: Guid = :: windows :: Guid :: from_values ( 1716536076 ,48655 ,4122 , [ 139 ,187 ,0 ,170 ,0 ,48 ,12 ,171 ] , ) ; pub const GUID_COLOR : :: windows :: Guid = :: windows :: Guid :: from_values ( 1716536065 ,48655 ,4122 , [ 139 ,187 ,0 ,170 ,0 ,48 ,12 ,171 ] , ) ; pub const GUID_FONTBOLD : :: windows :: Guid = :: windows :: Guid :: from_values ( 1716536079 ,48655 ,4122 , [ 139 ,187 ,0 ,170 ,0 ,48 ,12 ,171 ] , ) ; pub const GUID_FONTITALIC : :: windows :: Guid = :: windows :: Guid :: from_values ( 1716536080 ,48655 ,4122 , [ 139 ,187 ,0 ,170 ,0 ,48 ,12 ,171 ] , ) ; pub const GUID_FONTNAME : :: windows :: Guid = :: windows :: Guid :: from_values ( 1716536077 ,48655 ,4122 , [ 139 ,187 ,0 ,170 ,0 ,48 ,12 ,171 ] , ) ; pub const GUID_FONTSIZE : :: windows :: Guid = :: windows :: Guid :: from_values ( 1716536078 ,48655 ,4122 , [ 139 ,187 ,0 ,170 ,0 ,48 ,12 ,171 ] , ) ; pub const GUID_FONTSTRIKETHROUGH : :: windows :: Guid = :: windows :: Guid :: from_values ( 1716536082 ,48655 ,4122 , [ 139 ,187 ,0 ,170 ,0 ,48 ,12 ,171 ] , ) ; pub const GUID_FONTUNDERSCORE : :: windows :: Guid = :: windows :: Guid :: from_values ( 1716536081 ,48655 ,4122 , [ 139 ,187 ,0 ,170 ,0 ,48 ,12 ,171 ] , ) ; pub const GUID_HANDLE : :: windows :: Guid = :: windows :: Guid :: from_values ( 1716536083 ,48655 ,4122 , [ 139 ,187 ,0 ,170 ,0 ,48 ,12 ,171 ] , ) ; pub const GUID_HIMETRIC : :: windows :: Guid = :: windows :: Guid :: from_values ( 1716536064 ,48655 ,4122 , [ 139 ,187 ,0 ,170 ,0 ,48 ,12 ,171 ] , ) ; pub const GUID_OPTIONVALUEEXCLUSIVE : :: windows :: Guid = :: windows :: Guid :: from_values ( 1716536075 ,48655 ,4122 , [ 139 ,187 ,0 ,170 ,0 ,48 ,12 ,171 ] , ) ; pub const GUID_TRISTATE : :: windows :: Guid = :: windows :: Guid :: from_values ( 1716536074 ,48655 ,4122 , [ 139 ,187 ,0 ,170 ,0 ,48 ,12 ,171 ] , ) ; pub const GUID_XPOS : :: windows :: Guid = :: windows :: Guid :: from_values ( 1716536070 ,48655 ,4122 , [ 139 ,187 ,0 ,170 ,0 ,48 ,12 ,171 ] , ) ; pub const GUID_XPOSPIXEL : :: windows :: Guid = :: windows :: Guid :: from_values ( 1716536066 ,48655 ,4122 , [ 139 ,187 ,0 ,170 ,0 ,48 ,12 ,171 ] , ) ; pub const GUID_XSIZE : :: windows :: Guid = :: windows :: Guid :: from_values ( 1716536072 ,48655 ,4122 , [ 139 ,187 ,0 ,170 ,0 ,48 ,12 ,171 ] , ) ; pub const GUID_XSIZEPIXEL : :: windows :: Guid = :: windows :: Guid :: from_values ( 1716536068 ,48655 ,4122 , [ 139 ,187 ,0 ,170 ,0 ,48 ,12 ,171 ] , ) ; pub const GUID_YPOS : :: windows :: Guid = :: windows :: Guid :: from_values ( 1716536071 ,48655 ,4122 , [ 139 ,187 ,0 ,170 ,0 ,48 ,12 ,171 ] , ) ; pub const GUID_YPOSPIXEL : :: windows :: Guid = :: windows :: Guid :: from_values ( 1716536067 ,48655 ,4122 , [ 139 ,187 ,0 ,170 ,0 ,48 ,12 ,171 ] , ) ; pub const GUID_YSIZE : :: windows :: Guid = :: windows :: Guid :: from_values ( 1716536073 ,48655 ,4122 , [ 139 ,187 ,0 ,170 ,0 ,48 ,12 ,171 ] , ) ; pub const GUID_YSIZEPIXEL : :: windows :: Guid = :: windows :: Guid :: from_values ( 1716536069 ,48655 ,4122 , [ 139 ,187 ,0 ,170 ,0 ,48 ,12 ,171 ] , ) ; pub unsafe fn GetClassFile < 'a , > ( szfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , ) -> :: windows :: Result < :: windows :: Guid > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn GetClassFile ( szfilename : super::super::Foundation:: PWSTR , pclsid : * mut :: windows :: Guid ) -> :: windows :: HRESULT ; } let mut result__ : < :: windows :: Guid as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; GetClassFile ( szfilename . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < :: windows :: Guid > ( result__ ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetClassFileOrMime < 'a , > ( pbc : impl :: windows :: IntoParam < 'a , IBindCtx > , szfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , pbuffer : * mut :: std :: ffi :: c_void , cbsize : u32 , szmime : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , dwreserved : u32 , ) -> :: windows :: Result < :: windows :: Guid > { # [ cfg ( windows ) ] { # [ link ( name ="urlmon" ) ] extern "system" { fn GetClassFileOrMime ( pbc : :: windows :: RawPtr , szfilename : super::super::Foundation:: PWSTR , pbuffer : * mut :: std :: ffi :: c_void , cbsize : u32 , szmime : super::super::Foundation:: PWSTR , dwreserved : u32 , pclsid : * mut :: windows :: Guid ) -> :: windows :: HRESULT ; } let mut result__ : < :: windows :: Guid as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; GetClassFileOrMime ( pbc . into_param ( ) . abi ( ) , szfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pbuffer ) , :: std :: mem :: transmute ( cbsize ) , szmime . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwreserved ) , & mut result__ ) . from_abi :: < :: windows :: Guid > ( result__ ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetClassURL < 'a , > ( szurl : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , ) -> :: windows :: Result < :: windows :: Guid > { # [ cfg ( windows ) ] { # [ link ( name ="urlmon" ) ] extern "system" { fn GetClassURL ( szurl : super::super::Foundation:: PWSTR , pclsid : * mut :: windows :: Guid ) -> :: windows :: HRESULT ; } let mut result__ : < :: windows :: Guid as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; GetClassURL ( szurl . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < :: windows :: Guid > ( result__ ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetComponentIDFromCLSSPEC < > ( pclassspec : * mut super::SystemServices:: uCLSSPEC , ) -> :: windows :: Result < super::super::Foundation:: PSTR > { # [ cfg ( windows ) ] { # [ link ( name ="urlmon" ) ] extern "system" { fn GetComponentIDFromCLSSPEC ( pclassspec : * mut super::SystemServices:: uCLSSPEC , ppszcomponentid : * mut super::super::Foundation:: PSTR ) -> :: windows :: HRESULT ; } let mut result__ : < super::super::Foundation:: PSTR as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; GetComponentIDFromCLSSPEC ( :: std :: mem :: transmute ( pclassspec ) , & mut result__ ) . from_abi :: < super::super::Foundation:: PSTR > ( result__ ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetRunningObjectTable < > ( reserved : u32 , ) -> :: windows :: Result < IRunningObjectTable > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn GetRunningObjectTable ( reserved : u32 , pprot : * mut :: windows :: RawPtr ) -> :: windows :: HRESULT ; } let mut result__ : < IRunningObjectTable as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; GetRunningObjectTable ( :: std :: mem :: transmute ( reserved ) , & mut result__ ) . from_abi :: < IRunningObjectTable > ( result__ ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn GetSoftwareUpdateInfo < 'a , > ( szdistunit : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , ) -> :: windows :: Result < super::super::UI::Shell:: SOFTDISTINFO > { # [ cfg ( windows ) ] { # [ link ( name ="urlmon" ) ] extern "system" { fn GetSoftwareUpdateInfo ( szdistunit : super::super::Foundation:: PWSTR , psdi : * mut super::super::UI::Shell:: SOFTDISTINFO ) -> :: windows :: HRESULT ; } let mut result__ : < super::super::UI::Shell:: SOFTDISTINFO as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; GetSoftwareUpdateInfo ( szdistunit . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < super::super::UI::Shell:: SOFTDISTINFO > ( result__ ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn HACCEL_UserFree < > ( param0 : * mut u32 , param1 : * mut super::super::UI::WindowsAndMessaging:: HACCEL , ) { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn HACCEL_UserFree ( param0 : * mut u32 , param1 : * mut super::super::UI::WindowsAndMessaging:: HACCEL ) ; } HACCEL_UserFree ( :: std :: mem :: transmute ( param0 ) , :: std :: mem :: transmute ( param1 ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn HACCEL_UserFree64 < > ( param0 : * mut u32 , param1 : * mut super::super::UI::WindowsAndMessaging:: HACCEL , ) { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn HACCEL_UserFree64 ( param0 : * mut u32 , param1 : * mut super::super::UI::WindowsAndMessaging:: HACCEL ) ; } HACCEL_UserFree64 ( :: std :: mem :: transmute ( param0 ) , :: std :: mem :: transmute ( param1 ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn HACCEL_UserMarshal < > ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut super::super::UI::WindowsAndMessaging:: HACCEL , ) -> * mut u8 { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn HACCEL_UserMarshal ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut super::super::UI::WindowsAndMessaging:: HACCEL ) -> * mut u8 ; } HACCEL_UserMarshal ( :: std :: mem :: transmute ( param0 ) , :: std :: mem :: transmute ( param1 ) , :: std :: mem :: transmute ( param2 ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn HACCEL_UserMarshal64 < > ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut super::super::UI::WindowsAndMessaging:: HACCEL , ) -> * mut u8 { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn HACCEL_UserMarshal64 ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut super::super::UI::WindowsAndMessaging:: HACCEL ) -> * mut u8 ; } HACCEL_UserMarshal64 ( :: std :: mem :: transmute ( param0 ) , :: std :: mem :: transmute ( param1 ) , :: std :: mem :: transmute ( param2 ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn HACCEL_UserSize < > ( param0 : * mut u32 , param1 : u32 , param2 : * mut super::super::UI::WindowsAndMessaging:: HACCEL , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn HACCEL_UserSize ( param0 : * mut u32 , param1 : u32 , param2 : * mut super::super::UI::WindowsAndMessaging:: HACCEL ) -> u32 ; } HACCEL_UserSize ( :: std :: mem :: transmute ( param0 ) , :: std :: mem :: transmute ( param1 ) , :: std :: mem :: transmute ( param2 ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn HACCEL_UserSize64 < > ( param0 : * mut u32 , param1 : u32 , param2 : * mut super::super::UI::WindowsAndMessaging:: HACCEL , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn HACCEL_UserSize64 ( param0 : * mut u32 , param1 : u32 , param2 : * mut super::super::UI::WindowsAndMessaging:: HACCEL ) -> u32 ; } HACCEL_UserSize64 ( :: std :: mem :: transmute ( param0 ) , :: std :: mem :: transmute ( param1 ) , :: std :: mem :: transmute ( param2 ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn HACCEL_UserUnmarshal < > ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut super::super::UI::WindowsAndMessaging:: HACCEL , ) -> * mut u8 { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn HACCEL_UserUnmarshal ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut super::super::UI::WindowsAndMessaging:: HACCEL ) -> * mut u8 ; } HACCEL_UserUnmarshal ( :: std :: mem :: transmute ( param0 ) , :: std :: mem :: transmute ( param1 ) , :: std :: mem :: transmute ( param2 ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn HACCEL_UserUnmarshal64 < > ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut super::super::UI::WindowsAndMessaging:: HACCEL , ) -> * mut u8 { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn HACCEL_UserUnmarshal64 ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut super::super::UI::WindowsAndMessaging:: HACCEL ) -> * mut u8 ; } HACCEL_UserUnmarshal64 ( :: std :: mem :: transmute ( param0 ) , :: std :: mem :: transmute ( param1 ) , :: std :: mem :: transmute ( param2 ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn HBITMAP_UserFree < > ( param0 : * mut u32 , param1 : * mut super::super::Graphics::Gdi:: HBITMAP , ) { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn HBITMAP_UserFree ( param0 : * mut u32 , param1 : * mut super::super::Graphics::Gdi:: HBITMAP ) ; } HBITMAP_UserFree ( :: std :: mem :: transmute ( param0 ) , :: std :: mem :: transmute ( param1 ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn HBITMAP_UserFree64 < > ( param0 : * mut u32 , param1 : * mut super::super::Graphics::Gdi:: HBITMAP , ) { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn HBITMAP_UserFree64 ( param0 : * mut u32 , param1 : * mut super::super::Graphics::Gdi:: HBITMAP ) ; } HBITMAP_UserFree64 ( :: std :: mem :: transmute ( param0 ) , :: std :: mem :: transmute ( param1 ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn HBITMAP_UserMarshal < > ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut super::super::Graphics::Gdi:: HBITMAP , ) -> * mut u8 { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn HBITMAP_UserMarshal ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut super::super::Graphics::Gdi:: HBITMAP ) -> * mut u8 ; } HBITMAP_UserMarshal ( :: std :: mem :: transmute ( param0 ) , :: std :: mem :: transmute ( param1 ) , :: std :: mem :: transmute ( param2 ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn HBITMAP_UserMarshal64 < > ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut super::super::Graphics::Gdi:: HBITMAP , ) -> * mut u8 { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn HBITMAP_UserMarshal64 ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut super::super::Graphics::Gdi:: HBITMAP ) -> * mut u8 ; } HBITMAP_UserMarshal64 ( :: std :: mem :: transmute ( param0 ) , :: std :: mem :: transmute ( param1 ) , :: std :: mem :: transmute ( param2 ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn HBITMAP_UserSize < > ( param0 : * mut u32 , param1 : u32 , param2 : * mut super::super::Graphics::Gdi:: HBITMAP , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn HBITMAP_UserSize ( param0 : * mut u32 , param1 : u32 , param2 : * mut super::super::Graphics::Gdi:: HBITMAP ) -> u32 ; } HBITMAP_UserSize ( :: std :: mem :: transmute ( param0 ) , :: std :: mem :: transmute ( param1 ) , :: std :: mem :: transmute ( param2 ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn HBITMAP_UserSize64 < > ( param0 : * mut u32 , param1 : u32 , param2 : * mut super::super::Graphics::Gdi:: HBITMAP , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn HBITMAP_UserSize64 ( param0 : * mut u32 , param1 : u32 , param2 : * mut super::super::Graphics::Gdi:: HBITMAP ) -> u32 ; } HBITMAP_UserSize64 ( :: std :: mem :: transmute ( param0 ) , :: std :: mem :: transmute ( param1 ) , :: std :: mem :: transmute ( param2 ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn HBITMAP_UserUnmarshal < > ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut super::super::Graphics::Gdi:: HBITMAP , ) -> * mut u8 { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn HBITMAP_UserUnmarshal ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut super::super::Graphics::Gdi:: HBITMAP ) -> * mut u8 ; } HBITMAP_UserUnmarshal ( :: std :: mem :: transmute ( param0 ) , :: std :: mem :: transmute ( param1 ) , :: std :: mem :: transmute ( param2 ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn HBITMAP_UserUnmarshal64 < > ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut super::super::Graphics::Gdi:: HBITMAP , ) -> * mut u8 { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn HBITMAP_UserUnmarshal64 ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut super::super::Graphics::Gdi:: HBITMAP ) -> * mut u8 ; } HBITMAP_UserUnmarshal64 ( :: std :: mem :: transmute ( param0 ) , :: std :: mem :: transmute ( param1 ) , :: std :: mem :: transmute ( param2 ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn HDC_UserFree < > ( param0 : * mut u32 , param1 : * mut super::super::Graphics::Gdi:: HDC , ) { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn HDC_UserFree ( param0 : * mut u32 , param1 : * mut super::super::Graphics::Gdi:: HDC ) ; } HDC_UserFree ( :: std :: mem :: transmute ( param0 ) , :: std :: mem :: transmute ( param1 ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn HDC_UserFree64 < > ( param0 : * mut u32 , param1 : * mut super::super::Graphics::Gdi:: HDC , ) { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn HDC_UserFree64 ( param0 : * mut u32 , param1 : * mut super::super::Graphics::Gdi:: HDC ) ; } HDC_UserFree64 ( :: std :: mem :: transmute ( param0 ) , :: std :: mem :: transmute ( param1 ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn HDC_UserMarshal < > ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut super::super::Graphics::Gdi:: HDC , ) -> * mut u8 { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn HDC_UserMarshal ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut super::super::Graphics::Gdi:: HDC ) -> * mut u8 ; } HDC_UserMarshal ( :: std :: mem :: transmute ( param0 ) , :: std :: mem :: transmute ( param1 ) , :: std :: mem :: transmute ( param2 ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn HDC_UserMarshal64 < > ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut super::super::Graphics::Gdi:: HDC , ) -> * mut u8 { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn HDC_UserMarshal64 ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut super::super::Graphics::Gdi:: HDC ) -> * mut u8 ; } HDC_UserMarshal64 ( :: std :: mem :: transmute ( param0 ) , :: std :: mem :: transmute ( param1 ) , :: std :: mem :: transmute ( param2 ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn HDC_UserSize < > ( param0 : * mut u32 , param1 : u32 , param2 : * mut super::super::Graphics::Gdi:: HDC , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn HDC_UserSize ( param0 : * mut u32 , param1 : u32 , param2 : * mut super::super::Graphics::Gdi:: HDC ) -> u32 ; } HDC_UserSize ( :: std :: mem :: transmute ( param0 ) , :: std :: mem :: transmute ( param1 ) , :: std :: mem :: transmute ( param2 ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn HDC_UserSize64 < > ( param0 : * mut u32 , param1 : u32 , param2 : * mut super::super::Graphics::Gdi:: HDC , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn HDC_UserSize64 ( param0 : * mut u32 , param1 : u32 , param2 : * mut super::super::Graphics::Gdi:: HDC ) -> u32 ; } HDC_UserSize64 ( :: std :: mem :: transmute ( param0 ) , :: std :: mem :: transmute ( param1 ) , :: std :: mem :: transmute ( param2 ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn HDC_UserUnmarshal < > ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut super::super::Graphics::Gdi:: HDC , ) -> * mut u8 { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn HDC_UserUnmarshal ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut super::super::Graphics::Gdi:: HDC ) -> * mut u8 ; } HDC_UserUnmarshal ( :: std :: mem :: transmute ( param0 ) , :: std :: mem :: transmute ( param1 ) , :: std :: mem :: transmute ( param2 ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn HDC_UserUnmarshal64 < > ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut super::super::Graphics::Gdi:: HDC , ) -> * mut u8 { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn HDC_UserUnmarshal64 ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut super::super::Graphics::Gdi:: HDC ) -> * mut u8 ; } HDC_UserUnmarshal64 ( :: std :: mem :: transmute ( param0 ) , :: std :: mem :: transmute ( param1 ) , :: std :: mem :: transmute ( param2 ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn HGLOBAL_UserFree < > ( param0 : * mut u32 , param1 : * mut isize , ) { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn HGLOBAL_UserFree ( param0 : * mut u32 , param1 : * mut isize ) ; } HGLOBAL_UserFree ( :: std :: mem :: transmute ( param0 ) , :: std :: mem :: transmute ( param1 ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn HGLOBAL_UserFree64 < > ( param0 : * mut u32 , param1 : * mut isize , ) { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn HGLOBAL_UserFree64 ( param0 : * mut u32 , param1 : * mut isize ) ; } HGLOBAL_UserFree64 ( :: std :: mem :: transmute ( param0 ) , :: std :: mem :: transmute ( param1 ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn HGLOBAL_UserMarshal < > ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut isize , ) -> * mut u8 { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn HGLOBAL_UserMarshal ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut isize ) -> * mut u8 ; } HGLOBAL_UserMarshal ( :: std :: mem :: transmute ( param0 ) , :: std :: mem :: transmute ( param1 ) , :: std :: mem :: transmute ( param2 ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn HGLOBAL_UserMarshal64 < > ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut isize , ) -> * mut u8 { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn HGLOBAL_UserMarshal64 ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut isize ) -> * mut u8 ; } HGLOBAL_UserMarshal64 ( :: std :: mem :: transmute ( param0 ) , :: std :: mem :: transmute ( param1 ) , :: std :: mem :: transmute ( param2 ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn HGLOBAL_UserSize < > ( param0 : * mut u32 , param1 : u32 , param2 : * mut isize , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn HGLOBAL_UserSize ( param0 : * mut u32 , param1 : u32 , param2 : * mut isize ) -> u32 ; } HGLOBAL_UserSize ( :: std :: mem :: transmute ( param0 ) , :: std :: mem :: transmute ( param1 ) , :: std :: mem :: transmute ( param2 ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn HGLOBAL_UserSize64 < > ( param0 : * mut u32 , param1 : u32 , param2 : * mut isize , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn HGLOBAL_UserSize64 ( param0 : * mut u32 , param1 : u32 , param2 : * mut isize ) -> u32 ; } HGLOBAL_UserSize64 ( :: std :: mem :: transmute ( param0 ) , :: std :: mem :: transmute ( param1 ) , :: std :: mem :: transmute ( param2 ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn HGLOBAL_UserUnmarshal < > ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut isize , ) -> * mut u8 { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn HGLOBAL_UserUnmarshal ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut isize ) -> * mut u8 ; } HGLOBAL_UserUnmarshal ( :: std :: mem :: transmute ( param0 ) , :: std :: mem :: transmute ( param1 ) , :: std :: mem :: transmute ( param2 ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn HGLOBAL_UserUnmarshal64 < > ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut isize , ) -> * mut u8 { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn HGLOBAL_UserUnmarshal64 ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut isize ) -> * mut u8 ; } HGLOBAL_UserUnmarshal64 ( :: std :: mem :: transmute ( param0 ) , :: std :: mem :: transmute ( param1 ) , :: std :: mem :: transmute ( param2 ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn HICON_UserFree < > ( param0 : * mut u32 , param1 : * mut super::super::UI::WindowsAndMessaging:: HICON , ) { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn HICON_UserFree ( param0 : * mut u32 , param1 : * mut super::super::UI::WindowsAndMessaging:: HICON ) ; } HICON_UserFree ( :: std :: mem :: transmute ( param0 ) , :: std :: mem :: transmute ( param1 ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn HICON_UserFree64 < > ( param0 : * mut u32 , param1 : * mut super::super::UI::WindowsAndMessaging:: HICON , ) { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn HICON_UserFree64 ( param0 : * mut u32 , param1 : * mut super::super::UI::WindowsAndMessaging:: HICON ) ; } HICON_UserFree64 ( :: std :: mem :: transmute ( param0 ) , :: std :: mem :: transmute ( param1 ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn HICON_UserMarshal < > ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut super::super::UI::WindowsAndMessaging:: HICON , ) -> * mut u8 { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn HICON_UserMarshal ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut super::super::UI::WindowsAndMessaging:: HICON ) -> * mut u8 ; } HICON_UserMarshal ( :: std :: mem :: transmute ( param0 ) , :: std :: mem :: transmute ( param1 ) , :: std :: mem :: transmute ( param2 ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn HICON_UserMarshal64 < > ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut super::super::UI::WindowsAndMessaging:: HICON , ) -> * mut u8 { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn HICON_UserMarshal64 ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut super::super::UI::WindowsAndMessaging:: HICON ) -> * mut u8 ; } HICON_UserMarshal64 ( :: std :: mem :: transmute ( param0 ) , :: std :: mem :: transmute ( param1 ) , :: std :: mem :: transmute ( param2 ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn HICON_UserSize < > ( param0 : * mut u32 , param1 : u32 , param2 : * mut super::super::UI::WindowsAndMessaging:: HICON , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn HICON_UserSize ( param0 : * mut u32 , param1 : u32 , param2 : * mut super::super::UI::WindowsAndMessaging:: HICON ) -> u32 ; } HICON_UserSize ( :: std :: mem :: transmute ( param0 ) , :: std :: mem :: transmute ( param1 ) , :: std :: mem :: transmute ( param2 ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn HICON_UserSize64 < > ( param0 : * mut u32 , param1 : u32 , param2 : * mut super::super::UI::WindowsAndMessaging:: HICON , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn HICON_UserSize64 ( param0 : * mut u32 , param1 : u32 , param2 : * mut super::super::UI::WindowsAndMessaging:: HICON ) -> u32 ; } HICON_UserSize64 ( :: std :: mem :: transmute ( param0 ) , :: std :: mem :: transmute ( param1 ) , :: std :: mem :: transmute ( param2 ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn HICON_UserUnmarshal < > ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut super::super::UI::WindowsAndMessaging:: HICON , ) -> * mut u8 { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn HICON_UserUnmarshal ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut super::super::UI::WindowsAndMessaging:: HICON ) -> * mut u8 ; } HICON_UserUnmarshal ( :: std :: mem :: transmute ( param0 ) , :: std :: mem :: transmute ( param1 ) , :: std :: mem :: transmute ( param2 ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn HICON_UserUnmarshal64 < > ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut super::super::UI::WindowsAndMessaging:: HICON , ) -> * mut u8 { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn HICON_UserUnmarshal64 ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut super::super::UI::WindowsAndMessaging:: HICON ) -> * mut u8 ; } HICON_UserUnmarshal64 ( :: std :: mem :: transmute ( param0 ) , :: std :: mem :: transmute ( param1 ) , :: std :: mem :: transmute ( param2 ) ) } # [ 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 HITRESULT ( pub i32 ) ; pub const HITRESULT_OUTSIDE : HITRESULT = HITRESULT ( 0i32 ) ; pub const HITRESULT_TRANSPARENT : HITRESULT = HITRESULT ( 1i32 ) ; pub const HITRESULT_CLOSE : HITRESULT = HITRESULT ( 2i32 ) ; pub const HITRESULT_HIT : HITRESULT = HITRESULT ( 3i32 ) ; impl :: std :: convert :: From < i32 > for HITRESULT { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for HITRESULT { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct HIT_LOGGING_INFO { pub dwStructSize : u32 , pub lpszLoggedUrlName : super::super::Foundation:: PSTR , pub StartTime : super::super::Foundation:: SYSTEMTIME , pub EndTime : super::super::Foundation:: SYSTEMTIME , pub lpszExtendedInfo : super::super::Foundation:: PSTR } impl HIT_LOGGING_INFO { } impl :: std :: default :: Default for HIT_LOGGING_INFO { fn default ( ) -> Self { Self { dwStructSize : 0 , lpszLoggedUrlName : :: std :: default :: Default :: default ( ) , StartTime : :: std :: default :: Default :: default ( ) , EndTime : :: std :: default :: Default :: default ( ) , lpszExtendedInfo : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for HIT_LOGGING_INFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "HIT_LOGGING_INFO" ) . field ( "dwStructSize" , & self . dwStructSize ) . field ( "lpszLoggedUrlName" , & self . lpszLoggedUrlName ) . field ( "StartTime" , & self . StartTime ) . field ( "EndTime" , & self . EndTime ) . field ( "lpszExtendedInfo" , & self . lpszExtendedInfo ) . finish ( ) } } impl :: std :: cmp :: PartialEq for HIT_LOGGING_INFO { fn eq ( & self , other : & Self ) -> bool { self . dwStructSize == other . dwStructSize && self . lpszLoggedUrlName == other . lpszLoggedUrlName && self . StartTime == other . StartTime && self . EndTime == other . EndTime && self . lpszExtendedInfo == other . lpszExtendedInfo } } impl :: std :: cmp :: Eq for HIT_LOGGING_INFO { } unsafe impl :: windows :: Abi for HIT_LOGGING_INFO { type Abi = Self ; type DefaultType = Self ; } pub unsafe fn HMENU_UserFree < > ( param0 : * mut u32 , param1 : * mut super::super::UI::WindowsAndMessaging:: HMENU , ) { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn HMENU_UserFree ( param0 : * mut u32 , param1 : * mut super::super::UI::WindowsAndMessaging:: HMENU ) ; } HMENU_UserFree ( :: std :: mem :: transmute ( param0 ) , :: std :: mem :: transmute ( param1 ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn HMENU_UserFree64 < > ( param0 : * mut u32 , param1 : * mut super::super::UI::WindowsAndMessaging:: HMENU , ) { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn HMENU_UserFree64 ( param0 : * mut u32 , param1 : * mut super::super::UI::WindowsAndMessaging:: HMENU ) ; } HMENU_UserFree64 ( :: std :: mem :: transmute ( param0 ) , :: std :: mem :: transmute ( param1 ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn HMENU_UserMarshal < > ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut super::super::UI::WindowsAndMessaging:: HMENU , ) -> * mut u8 { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn HMENU_UserMarshal ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut super::super::UI::WindowsAndMessaging:: HMENU ) -> * mut u8 ; } HMENU_UserMarshal ( :: std :: mem :: transmute ( param0 ) , :: std :: mem :: transmute ( param1 ) , :: std :: mem :: transmute ( param2 ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn HMENU_UserMarshal64 < > ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut super::super::UI::WindowsAndMessaging:: HMENU , ) -> * mut u8 { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn HMENU_UserMarshal64 ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut super::super::UI::WindowsAndMessaging:: HMENU ) -> * mut u8 ; } HMENU_UserMarshal64 ( :: std :: mem :: transmute ( param0 ) , :: std :: mem :: transmute ( param1 ) , :: std :: mem :: transmute ( param2 ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn HMENU_UserSize < > ( param0 : * mut u32 , param1 : u32 , param2 : * mut super::super::UI::WindowsAndMessaging:: HMENU , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn HMENU_UserSize ( param0 : * mut u32 , param1 : u32 , param2 : * mut super::super::UI::WindowsAndMessaging:: HMENU ) -> u32 ; } HMENU_UserSize ( :: std :: mem :: transmute ( param0 ) , :: std :: mem :: transmute ( param1 ) , :: std :: mem :: transmute ( param2 ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn HMENU_UserSize64 < > ( param0 : * mut u32 , param1 : u32 , param2 : * mut super::super::UI::WindowsAndMessaging:: HMENU , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn HMENU_UserSize64 ( param0 : * mut u32 , param1 : u32 , param2 : * mut super::super::UI::WindowsAndMessaging:: HMENU ) -> u32 ; } HMENU_UserSize64 ( :: std :: mem :: transmute ( param0 ) , :: std :: mem :: transmute ( param1 ) , :: std :: mem :: transmute ( param2 ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn HMENU_UserUnmarshal < > ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut super::super::UI::WindowsAndMessaging:: HMENU , ) -> * mut u8 { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn HMENU_UserUnmarshal ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut super::super::UI::WindowsAndMessaging:: HMENU ) -> * mut u8 ; } HMENU_UserUnmarshal ( :: std :: mem :: transmute ( param0 ) , :: std :: mem :: transmute ( param1 ) , :: std :: mem :: transmute ( param2 ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn HMENU_UserUnmarshal64 < > ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut super::super::UI::WindowsAndMessaging:: HMENU , ) -> * mut u8 { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn HMENU_UserUnmarshal64 ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut super::super::UI::WindowsAndMessaging:: HMENU ) -> * mut u8 ; } HMENU_UserUnmarshal64 ( :: std :: mem :: transmute ( param0 ) , :: std :: mem :: transmute ( param1 ) , :: std :: mem :: transmute ( param2 ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn HPALETTE_UserFree < > ( param0 : * mut u32 , param1 : * mut super::super::Graphics::Gdi:: HPALETTE , ) { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn HPALETTE_UserFree ( param0 : * mut u32 , param1 : * mut super::super::Graphics::Gdi:: HPALETTE ) ; } HPALETTE_UserFree ( :: std :: mem :: transmute ( param0 ) , :: std :: mem :: transmute ( param1 ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn HPALETTE_UserFree64 < > ( param0 : * mut u32 , param1 : * mut super::super::Graphics::Gdi:: HPALETTE , ) { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn HPALETTE_UserFree64 ( param0 : * mut u32 , param1 : * mut super::super::Graphics::Gdi:: HPALETTE ) ; } HPALETTE_UserFree64 ( :: std :: mem :: transmute ( param0 ) , :: std :: mem :: transmute ( param1 ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn HPALETTE_UserMarshal < > ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut super::super::Graphics::Gdi:: HPALETTE , ) -> * mut u8 { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn HPALETTE_UserMarshal ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut super::super::Graphics::Gdi:: HPALETTE ) -> * mut u8 ; } HPALETTE_UserMarshal ( :: std :: mem :: transmute ( param0 ) , :: std :: mem :: transmute ( param1 ) , :: std :: mem :: transmute ( param2 ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn HPALETTE_UserMarshal64 < > ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut super::super::Graphics::Gdi:: HPALETTE , ) -> * mut u8 { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn HPALETTE_UserMarshal64 ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut super::super::Graphics::Gdi:: HPALETTE ) -> * mut u8 ; } HPALETTE_UserMarshal64 ( :: std :: mem :: transmute ( param0 ) , :: std :: mem :: transmute ( param1 ) , :: std :: mem :: transmute ( param2 ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn HPALETTE_UserSize < > ( param0 : * mut u32 , param1 : u32 , param2 : * mut super::super::Graphics::Gdi:: HPALETTE , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn HPALETTE_UserSize ( param0 : * mut u32 , param1 : u32 , param2 : * mut super::super::Graphics::Gdi:: HPALETTE ) -> u32 ; } HPALETTE_UserSize ( :: std :: mem :: transmute ( param0 ) , :: std :: mem :: transmute ( param1 ) , :: std :: mem :: transmute ( param2 ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn HPALETTE_UserSize64 < > ( param0 : * mut u32 , param1 : u32 , param2 : * mut super::super::Graphics::Gdi:: HPALETTE , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn HPALETTE_UserSize64 ( param0 : * mut u32 , param1 : u32 , param2 : * mut super::super::Graphics::Gdi:: HPALETTE ) -> u32 ; } HPALETTE_UserSize64 ( :: std :: mem :: transmute ( param0 ) , :: std :: mem :: transmute ( param1 ) , :: std :: mem :: transmute ( param2 ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn HPALETTE_UserUnmarshal < > ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut super::super::Graphics::Gdi:: HPALETTE , ) -> * mut u8 { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn HPALETTE_UserUnmarshal ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut super::super::Graphics::Gdi:: HPALETTE ) -> * mut u8 ; } HPALETTE_UserUnmarshal ( :: std :: mem :: transmute ( param0 ) , :: std :: mem :: transmute ( param1 ) , :: std :: mem :: transmute ( param2 ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn HPALETTE_UserUnmarshal64 < > ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut super::super::Graphics::Gdi:: HPALETTE , ) -> * mut u8 { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn HPALETTE_UserUnmarshal64 ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut super::super::Graphics::Gdi:: HPALETTE ) -> * mut u8 ; } HPALETTE_UserUnmarshal64 ( :: std :: mem :: transmute ( param0 ) , :: std :: mem :: transmute ( param1 ) , :: std :: mem :: transmute ( param2 ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn HRGN_UserFree < > ( param0 : * mut u32 , param1 : * mut super::super::Graphics::Gdi:: HRGN , ) { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn HRGN_UserFree ( param0 : * mut u32 , param1 : * mut super::super::Graphics::Gdi:: HRGN ) ; } HRGN_UserFree ( :: std :: mem :: transmute ( param0 ) , :: std :: mem :: transmute ( param1 ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn HRGN_UserMarshal < > ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut super::super::Graphics::Gdi:: HRGN , ) -> * mut u8 { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn HRGN_UserMarshal ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut super::super::Graphics::Gdi:: HRGN ) -> * mut u8 ; } HRGN_UserMarshal ( :: std :: mem :: transmute ( param0 ) , :: std :: mem :: transmute ( param1 ) , :: std :: mem :: transmute ( param2 ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn HRGN_UserSize < > ( param0 : * mut u32 , param1 : u32 , param2 : * mut super::super::Graphics::Gdi:: HRGN , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn HRGN_UserSize ( param0 : * mut u32 , param1 : u32 , param2 : * mut super::super::Graphics::Gdi:: HRGN ) -> u32 ; } HRGN_UserSize ( :: std :: mem :: transmute ( param0 ) , :: std :: mem :: transmute ( param1 ) , :: std :: mem :: transmute ( param2 ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn HRGN_UserUnmarshal < > ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut super::super::Graphics::Gdi:: HRGN , ) -> * mut u8 { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn HRGN_UserUnmarshal ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut super::super::Graphics::Gdi:: HRGN ) -> * mut u8 ; } HRGN_UserUnmarshal ( :: std :: mem :: transmute ( param0 ) , :: std :: mem :: transmute ( param1 ) , :: std :: mem :: transmute ( param2 ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct HYPER_SIZEDARR { pub clSize : u32 , pub pData : * mut i64 } impl HYPER_SIZEDARR { } impl :: std :: default :: Default for HYPER_SIZEDARR { fn default ( ) -> Self { Self { clSize : 0 , pData : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for HYPER_SIZEDARR { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "HYPER_SIZEDARR" ) . field ( "clSize" , & self . clSize ) . field ( "pData" , & self . pData ) . finish ( ) } } impl :: std :: cmp :: PartialEq for HYPER_SIZEDARR { fn eq ( & self , other : & Self ) -> bool { self . clSize == other . clSize && self . pData == other . pData } } impl :: std :: cmp :: Eq for HYPER_SIZEDARR { } unsafe impl :: windows :: Abi for HYPER_SIZEDARR { type Abi = Self ; type DefaultType = Self ; } pub unsafe fn HlinkGoBack < 'a , > ( punk : impl :: windows :: IntoParam < 'a , :: windows :: IUnknown > , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="urlmon" ) ] extern "system" { fn HlinkGoBack ( punk : :: windows :: RawPtr ) -> :: windows :: HRESULT ; } HlinkGoBack ( punk . into_param ( ) . abi ( ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn HlinkGoForward < 'a , > ( punk : impl :: windows :: IntoParam < 'a , :: windows :: IUnknown > , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="urlmon" ) ] extern "system" { fn HlinkGoForward ( punk : :: windows :: RawPtr ) -> :: windows :: HRESULT ; } HlinkGoForward ( punk . into_param ( ) . abi ( ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn HlinkNavigateMoniker < 'a , > ( punk : impl :: windows :: IntoParam < 'a , :: windows :: IUnknown > , pmktarget : impl :: windows :: IntoParam < 'a , IMoniker > , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="urlmon" ) ] extern "system" { fn HlinkNavigateMoniker ( punk : :: windows :: RawPtr , pmktarget : :: windows :: RawPtr ) -> :: windows :: HRESULT ; } HlinkNavigateMoniker ( punk . into_param ( ) . abi ( ) , pmktarget . into_param ( ) . abi ( ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn HlinkNavigateString < 'a , > ( punk : impl :: windows :: IntoParam < 'a , :: windows :: IUnknown > , sztarget : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="urlmon" ) ] extern "system" { fn HlinkNavigateString ( punk : :: windows :: RawPtr , sztarget : super::super::Foundation:: PWSTR ) -> :: windows :: HRESULT ; } HlinkNavigateString ( punk . into_param ( ) . abi ( ) , sztarget . into_param ( ) . abi ( ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn HlinkSimpleNavigateToMoniker < 'a , > ( pmktarget : impl :: windows :: IntoParam < 'a , IMoniker > , szlocation : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , sztargetframename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , punk : impl :: windows :: IntoParam < 'a , :: windows :: IUnknown > , pbc : impl :: windows :: IntoParam < 'a , IBindCtx > , param5 : impl :: windows :: IntoParam < 'a , IBindStatusCallback > , grfhlnf : u32 , dwreserved : u32 , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="urlmon" ) ] extern "system" { fn HlinkSimpleNavigateToMoniker ( pmktarget : :: windows :: RawPtr , szlocation : super::super::Foundation:: PWSTR , sztargetframename : super::super::Foundation:: PWSTR , punk : :: windows :: RawPtr , pbc : :: windows :: RawPtr , param5 : :: windows :: RawPtr , grfhlnf : u32 , dwreserved : u32 ) -> :: windows :: HRESULT ; } HlinkSimpleNavigateToMoniker ( pmktarget . into_param ( ) . abi ( ) , szlocation . into_param ( ) . abi ( ) , sztargetframename . into_param ( ) . abi ( ) , punk . into_param ( ) . abi ( ) , pbc . into_param ( ) . abi ( ) , param5 . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( grfhlnf ) , :: std :: mem :: transmute ( dwreserved ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn HlinkSimpleNavigateToString < 'a , > ( sztarget : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , szlocation : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , sztargetframename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , punk : impl :: windows :: IntoParam < 'a , :: windows :: IUnknown > , pbc : impl :: windows :: IntoParam < 'a , IBindCtx > , param5 : impl :: windows :: IntoParam < 'a , IBindStatusCallback > , grfhlnf : u32 , dwreserved : u32 , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="urlmon" ) ] extern "system" { fn HlinkSimpleNavigateToString ( sztarget : super::super::Foundation:: PWSTR , szlocation : super::super::Foundation:: PWSTR , sztargetframename : super::super::Foundation:: PWSTR , punk : :: windows :: RawPtr , pbc : :: windows :: RawPtr , param5 : :: windows :: RawPtr , grfhlnf : u32 , dwreserved : u32 ) -> :: windows :: HRESULT ; } HlinkSimpleNavigateToString ( sztarget . into_param ( ) . abi ( ) , szlocation . into_param ( ) . abi ( ) , sztargetframename . into_param ( ) . abi ( ) , punk . into_param ( ) . abi ( ) , pbc . into_param ( ) . abi ( ) , param5 . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( grfhlnf ) , :: std :: mem :: transmute ( dwreserved ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IAccessibilityDockingService ( :: windows :: IUnknown ) ; impl IAccessibilityDockingService { pub unsafe fn GetAvailableSize < 'a , > ( & self , hmonitor : impl :: windows :: IntoParam < 'a , super::super::Graphics::Gdi:: HMONITOR > , pcxfixed : * mut u32 , pcymax : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , hmonitor . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pcxfixed ) , :: std :: mem :: transmute ( pcymax ) , ) . ok ( ) } pub unsafe fn DockWindow < 'a , > ( & self , hwnd : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HWND > , hmonitor : impl :: windows :: IntoParam < 'a , super::super::Graphics::Gdi:: HMONITOR > , cyrequested : u32 , pcallback : impl :: windows :: IntoParam < 'a , IAccessibilityDockingServiceCallback > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , hwnd . into_param ( ) . abi ( ) , hmonitor . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( cyrequested ) , pcallback . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn UndockWindow < 'a , > ( & self , hwnd : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HWND > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , hwnd . into_param ( ) . abi ( ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IAccessibilityDockingService { type Vtable = IAccessibilityDockingService_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2286541858 ,52959 ,19605 , [ 153 ,141 ,5 ,20 ,25 ,221 ,63 ,118 ] , ) ; } impl :: std :: convert :: From < IAccessibilityDockingService > for :: windows :: IUnknown { fn from ( value : IAccessibilityDockingService ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IAccessibilityDockingService > for :: windows :: IUnknown { fn from ( value : & IAccessibilityDockingService ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IAccessibilityDockingService { 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 IAccessibilityDockingService { 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 IAccessibilityDockingService_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 , hmonitor : super::super::Graphics::Gdi:: HMONITOR , pcxfixed : * mut u32 , pcymax : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , hwnd : super::super::Foundation:: HWND , hmonitor : super::super::Graphics::Gdi:: HMONITOR , cyrequested : u32 , pcallback : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , hwnd : super::super::Foundation:: HWND , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IAccessibilityDockingServiceCallback ( :: windows :: IUnknown ) ; impl IAccessibilityDockingServiceCallback { pub unsafe fn Undocked < > ( & self , undockreason : super::super::UI::Shell:: UNDOCK_REASON , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( undockreason ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IAccessibilityDockingServiceCallback { type Vtable = IAccessibilityDockingServiceCallback_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 360133629 ,42386 ,17125 , [ 181 ,148 ,36 ,132 ,104 ,197 ,168 ,27 ] , ) ; } impl :: std :: convert :: From < IAccessibilityDockingServiceCallback > for :: windows :: IUnknown { fn from ( value : IAccessibilityDockingServiceCallback ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IAccessibilityDockingServiceCallback > for :: windows :: IUnknown { fn from ( value : & IAccessibilityDockingServiceCallback ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IAccessibilityDockingServiceCallback { 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 IAccessibilityDockingServiceCallback { 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 IAccessibilityDockingServiceCallback_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 , undockreason : super::super::UI::Shell:: UNDOCK_REASON , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IActivationFilter ( :: windows :: IUnknown ) ; impl IActivationFilter { pub unsafe fn HandleActivation < > ( & self , dwactivationtype : u32 , rclsid : * const :: windows :: Guid , ) -> :: windows :: Result < :: windows :: Guid > { let mut result__ : < :: windows :: Guid as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwactivationtype ) , :: std :: mem :: transmute ( rclsid ) , & mut result__ ) . from_abi :: < :: windows :: Guid > ( result__ ) } } unsafe impl :: windows :: Interface for IActivationFilter { type Vtable = IActivationFilter_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 23 ,0 ,0 , [ 192 ,0 ,0 ,0 ,0 ,0 ,0 ,70 ] , ) ; } impl :: std :: convert :: From < IActivationFilter > for :: windows :: IUnknown { fn from ( value : IActivationFilter ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IActivationFilter > for :: windows :: IUnknown { fn from ( value : & IActivationFilter ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IActivationFilter { 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 IActivationFilter { 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 IActivationFilter_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 , dwactivationtype : u32 , rclsid : * const :: windows :: Guid , preplacementclsid : * mut :: windows :: Guid , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IAddrExclusionControl ( :: windows :: IUnknown ) ; impl IAddrExclusionControl { pub unsafe fn GetCurrentAddrExclusionList < T : :: windows :: Interface > ( & self , ) -> :: windows :: Result < T > { let mut result__ = :: std :: option :: Option :: None ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , & < T as :: windows :: Interface > :: IID , :: windows :: Abi :: set_abi ( & mut result__ ) ) . and_some ( result__ ) } pub unsafe fn UpdateAddrExclusionList < 'a , > ( & self , penumerator : impl :: windows :: IntoParam < 'a , :: windows :: IUnknown > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , penumerator . into_param ( ) . abi ( ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IAddrExclusionControl { type Vtable = IAddrExclusionControl_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 328 ,0 ,0 , [ 192 ,0 ,0 ,0 ,0 ,0 ,0 ,70 ] , ) ; } impl :: std :: convert :: From < IAddrExclusionControl > for :: windows :: IUnknown { fn from ( value : IAddrExclusionControl ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IAddrExclusionControl > for :: windows :: IUnknown { fn from ( value : & IAddrExclusionControl ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IAddrExclusionControl { 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 IAddrExclusionControl { 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 IAddrExclusionControl_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 , riid : * const :: windows :: Guid , ppenumerator : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , penumerator : :: windows :: RawPtr , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IAddrTrackingControl ( :: windows :: IUnknown ) ; impl IAddrTrackingControl { pub unsafe fn EnableCOMDynamicAddrTracking < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn DisableCOMDynamicAddrTracking < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IAddrTrackingControl { type Vtable = IAddrTrackingControl_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 327 ,0 ,0 , [ 192 ,0 ,0 ,0 ,0 ,0 ,0 ,70 ] , ) ; } impl :: std :: convert :: From < IAddrTrackingControl > for :: windows :: IUnknown { fn from ( value : IAddrTrackingControl ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IAddrTrackingControl > for :: windows :: IUnknown { fn from ( value : & IAddrTrackingControl ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IAddrTrackingControl { 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 IAddrTrackingControl { 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 IAddrTrackingControl_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 , ) -> :: 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 IAdviseSink ( :: windows :: IUnknown ) ; impl IAdviseSink { pub unsafe fn OnDataChange < > ( & self , pformatetc : * mut FORMATETC , pstgmed : * mut STGMEDIUM , ) { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pformatetc ) , :: std :: mem :: transmute ( pstgmed ) , ) } pub unsafe fn OnViewChange < > ( & self , dwaspect : u32 , lindex : i32 , ) { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwaspect ) , :: std :: mem :: transmute ( lindex ) , ) } pub unsafe fn OnRename < 'a , > ( & self , pmk : impl :: windows :: IntoParam < 'a , IMoniker > , ) { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , pmk . into_param ( ) . abi ( ) , ) } pub unsafe fn OnSave < > ( & self , ) { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn OnClose < > ( & self , ) { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , ) } } unsafe impl :: windows :: Interface for IAdviseSink { type Vtable = IAdviseSink_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 271 ,0 ,0 , [ 192 ,0 ,0 ,0 ,0 ,0 ,0 ,70 ] , ) ; } impl :: std :: convert :: From < IAdviseSink > for :: windows :: IUnknown { fn from ( value : IAdviseSink ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IAdviseSink > for :: windows :: IUnknown { fn from ( value : & IAdviseSink ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IAdviseSink { 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 IAdviseSink { 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 IAdviseSink_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 , pformatetc : * mut FORMATETC , pstgmed : * mut STGMEDIUM_abi , ) , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwaspect : u32 , lindex : i32 , ) , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pmk : :: windows :: RawPtr , ) , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IAdviseSink2 ( :: windows :: IUnknown ) ; impl IAdviseSink2 { pub unsafe fn OnDataChange < > ( & self , pformatetc : * mut FORMATETC , pstgmed : * mut STGMEDIUM , ) { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pformatetc ) , :: std :: mem :: transmute ( pstgmed ) , ) } pub unsafe fn OnViewChange < > ( & self , dwaspect : u32 , lindex : i32 , ) { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwaspect ) , :: std :: mem :: transmute ( lindex ) , ) } pub unsafe fn OnRename < 'a , > ( & self , pmk : impl :: windows :: IntoParam < 'a , IMoniker > , ) { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , pmk . into_param ( ) . abi ( ) , ) } pub unsafe fn OnSave < > ( & self , ) { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn OnClose < > ( & self , ) { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn OnLinkSrcChange < 'a , > ( & self , pmk : impl :: windows :: IntoParam < 'a , IMoniker > , ) { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , pmk . into_param ( ) . abi ( ) , ) } } unsafe impl :: windows :: Interface for IAdviseSink2 { type Vtable = IAdviseSink2_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 293 ,0 ,0 , [ 192 ,0 ,0 ,0 ,0 ,0 ,0 ,70 ] , ) ; } impl :: std :: convert :: From < IAdviseSink2 > for :: windows :: IUnknown { fn from ( value : IAdviseSink2 ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IAdviseSink2 > for :: windows :: IUnknown { fn from ( value : & IAdviseSink2 ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IAdviseSink2 { 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 IAdviseSink2 { 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 < IAdviseSink2 > for IAdviseSink { fn from ( value : IAdviseSink2 ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IAdviseSink2 > for IAdviseSink { fn from ( value : & IAdviseSink2 ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IAdviseSink > for IAdviseSink2 { fn into_param ( self ) -> :: windows :: Param < 'a , IAdviseSink > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IAdviseSink > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IAdviseSink > for & 'a IAdviseSink2 { fn into_param ( self ) -> :: windows :: Param < 'a , IAdviseSink > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IAdviseSink > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IAdviseSink2_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 , pformatetc : * mut FORMATETC , pstgmed : * mut STGMEDIUM_abi , ) , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwaspect : u32 , lindex : i32 , ) , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pmk : :: windows :: RawPtr , ) , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pmk : :: windows :: RawPtr , ) , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IAdviseSinkEx ( :: windows :: IUnknown ) ; impl IAdviseSinkEx { pub unsafe fn OnDataChange < > ( & self , pformatetc : * mut FORMATETC , pstgmed : * mut STGMEDIUM , ) { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pformatetc ) , :: std :: mem :: transmute ( pstgmed ) , ) } pub unsafe fn OnViewChange < > ( & self , dwaspect : u32 , lindex : i32 , ) { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwaspect ) , :: std :: mem :: transmute ( lindex ) , ) } pub unsafe fn OnRename < 'a , > ( & self , pmk : impl :: windows :: IntoParam < 'a , IMoniker > , ) { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , pmk . into_param ( ) . abi ( ) , ) } pub unsafe fn OnSave < > ( & self , ) { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn OnClose < > ( & self , ) { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn OnViewStatusChange < > ( & self , dwviewstatus : u32 , ) { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwviewstatus ) , ) } } unsafe impl :: windows :: Interface for IAdviseSinkEx { type Vtable = IAdviseSinkEx_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 988955280 ,3222 ,4558 , [ 160 ,207 ,0 ,170 ,0 ,96 ,10 ,184 ] , ) ; } impl :: std :: convert :: From < IAdviseSinkEx > for :: windows :: IUnknown { fn from ( value : IAdviseSinkEx ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IAdviseSinkEx > for :: windows :: IUnknown { fn from ( value : & IAdviseSinkEx ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IAdviseSinkEx { 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 IAdviseSinkEx { 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 < IAdviseSinkEx > for IAdviseSink { fn from ( value : IAdviseSinkEx ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IAdviseSinkEx > for IAdviseSink { fn from ( value : & IAdviseSinkEx ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IAdviseSink > for IAdviseSinkEx { fn into_param ( self ) -> :: windows :: Param < 'a , IAdviseSink > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IAdviseSink > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IAdviseSink > for & 'a IAdviseSinkEx { fn into_param ( self ) -> :: windows :: Param < 'a , IAdviseSink > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IAdviseSink > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IAdviseSinkEx_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 , pformatetc : * mut FORMATETC , pstgmed : * mut STGMEDIUM_abi , ) , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwaspect : u32 , lindex : i32 , ) , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pmk : :: windows :: RawPtr , ) , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwviewstatus : u32 , ) , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IAgileObject ( :: windows :: IUnknown ) ; impl IAgileObject { } unsafe impl :: windows :: Interface for IAgileObject { type Vtable = IAgileObject_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2498374548 ,59852 ,18912 , [ 192 ,255 ,238 ,100 ,202 ,143 ,91 ,144 ] , ) ; } impl :: std :: convert :: From < IAgileObject > for :: windows :: IUnknown { fn from ( value : IAgileObject ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IAgileObject > for :: windows :: IUnknown { fn from ( value : & IAgileObject ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IAgileObject { 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 IAgileObject { 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 IAgileObject_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 , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IAsyncManager ( :: windows :: IUnknown ) ; impl IAsyncManager { pub unsafe fn CompleteCall < > ( & self , result : :: windows :: HRESULT , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( result ) , ) . ok ( ) } pub unsafe fn GetCallContext < T : :: windows :: Interface > ( & self , ) -> :: windows :: Result < T > { let mut result__ = :: std :: option :: Option :: None ; ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , & < T as :: windows :: Interface > :: IID , :: windows :: Abi :: set_abi ( & mut result__ ) ) . and_some ( result__ ) } pub unsafe fn GetState < > ( & self , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } } unsafe impl :: windows :: Interface for IAsyncManager { type Vtable = IAsyncManager_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 42 ,0 ,0 , [ 192 ,0 ,0 ,0 ,0 ,0 ,0 ,70 ] , ) ; } impl :: std :: convert :: From < IAsyncManager > for :: windows :: IUnknown { fn from ( value : IAsyncManager ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IAsyncManager > for :: windows :: IUnknown { fn from ( value : & IAsyncManager ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IAsyncManager { 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 IAsyncManager { 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 IAsyncManager_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 , result : :: windows :: HRESULT , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , riid : * const :: windows :: Guid , pinterface : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pulstateflags : * mut u32 , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IAsyncRpcChannelBuffer ( :: windows :: IUnknown ) ; impl IAsyncRpcChannelBuffer { pub unsafe fn GetBuffer < > ( & self , pmessage : * mut RPCOLEMESSAGE , riid : * const :: windows :: Guid , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pmessage ) , :: std :: mem :: transmute ( riid ) , ) . ok ( ) } pub unsafe fn SendReceive < > ( & self , pmessage : * mut RPCOLEMESSAGE , pstatus : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pmessage ) , :: std :: mem :: transmute ( pstatus ) , ) . ok ( ) } pub unsafe fn FreeBuffer < > ( & self , pmessage : * mut RPCOLEMESSAGE , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pmessage ) , ) . ok ( ) } pub unsafe fn GetDestCtx < > ( & self , pdwdestcontext : * mut u32 , ppvdestcontext : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pdwdestcontext ) , :: std :: mem :: transmute ( ppvdestcontext ) , ) . ok ( ) } pub unsafe fn IsConnected < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn GetProtocolVersion < > ( & self , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn Send < 'a , > ( & self , pmsg : * mut RPCOLEMESSAGE , psync : impl :: windows :: IntoParam < 'a , ISynchronize > , pulstatus : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pmsg ) , psync . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pulstatus ) , ) . ok ( ) } pub unsafe fn Receive < > ( & self , pmsg : * mut RPCOLEMESSAGE , pulstatus : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pmsg ) , :: std :: mem :: transmute ( pulstatus ) , ) . ok ( ) } pub unsafe fn GetDestCtxEx < > ( & self , pmsg : * mut RPCOLEMESSAGE , pdwdestcontext : * mut u32 , ppvdestcontext : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .11 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pmsg ) , :: std :: mem :: transmute ( pdwdestcontext ) , :: std :: mem :: transmute ( ppvdestcontext ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IAsyncRpcChannelBuffer { type Vtable = IAsyncRpcChannelBuffer_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2768412598 ,15412 ,4561 , [ 156 ,153 ,0 ,192 ,79 ,185 ,152 ,170 ] , ) ; } impl :: std :: convert :: From < IAsyncRpcChannelBuffer > for :: windows :: IUnknown { fn from ( value : IAsyncRpcChannelBuffer ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IAsyncRpcChannelBuffer > for :: windows :: IUnknown { fn from ( value : & IAsyncRpcChannelBuffer ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IAsyncRpcChannelBuffer { 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 IAsyncRpcChannelBuffer { 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 < IAsyncRpcChannelBuffer > for IRpcChannelBuffer2 { fn from ( value : IAsyncRpcChannelBuffer ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IAsyncRpcChannelBuffer > for IRpcChannelBuffer2 { fn from ( value : & IAsyncRpcChannelBuffer ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IRpcChannelBuffer2 > for IAsyncRpcChannelBuffer { fn into_param ( self ) -> :: windows :: Param < 'a , IRpcChannelBuffer2 > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IRpcChannelBuffer2 > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IRpcChannelBuffer2 > for & 'a IAsyncRpcChannelBuffer { fn into_param ( self ) -> :: windows :: Param < 'a , IRpcChannelBuffer2 > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IRpcChannelBuffer2 > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } impl :: std :: convert :: From < IAsyncRpcChannelBuffer > for IRpcChannelBuffer { fn from ( value : IAsyncRpcChannelBuffer ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IAsyncRpcChannelBuffer > for IRpcChannelBuffer { fn from ( value : & IAsyncRpcChannelBuffer ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IRpcChannelBuffer > for IAsyncRpcChannelBuffer { fn into_param ( self ) -> :: windows :: Param < 'a , IRpcChannelBuffer > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IRpcChannelBuffer > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IRpcChannelBuffer > for & 'a IAsyncRpcChannelBuffer { fn into_param ( self ) -> :: windows :: Param < 'a , IRpcChannelBuffer > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IRpcChannelBuffer > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IAsyncRpcChannelBuffer_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 , pmessage : * mut RPCOLEMESSAGE , riid : * const :: windows :: Guid , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pmessage : * mut RPCOLEMESSAGE , pstatus : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pmessage : * mut RPCOLEMESSAGE , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pdwdestcontext : * mut u32 , ppvdestcontext : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pdwversion : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pmsg : * mut RPCOLEMESSAGE , psync : :: windows :: RawPtr , pulstatus : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pmsg : * mut RPCOLEMESSAGE , pulstatus : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pmsg : * mut RPCOLEMESSAGE , pdwdestcontext : * mut u32 , ppvdestcontext : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IAuthenticate ( :: windows :: IUnknown ) ; impl IAuthenticate { pub unsafe fn Authenticate < > ( & self , phwnd : * mut super::super::Foundation:: HWND , pszusername : * mut super::super::Foundation:: PWSTR , pszpassword : * mut super::super::Foundation:: PWSTR , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( phwnd ) , :: std :: mem :: transmute ( pszusername ) , :: std :: mem :: transmute ( pszpassword ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IAuthenticate { type Vtable = IAuthenticate_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2045430224 ,47865 ,4558 , [ 140 ,130 ,0 ,170 ,0 ,75 ,169 ,11 ] , ) ; } impl :: std :: convert :: From < IAuthenticate > for :: windows :: IUnknown { fn from ( value : IAuthenticate ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IAuthenticate > for :: windows :: IUnknown { fn from ( value : & IAuthenticate ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IAuthenticate { 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 IAuthenticate { 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 IAuthenticate_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 , phwnd : * mut super::super::Foundation:: HWND , pszusername : * mut super::super::Foundation:: PWSTR , pszpassword : * mut super::super::Foundation:: PWSTR , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IAuthenticateEx ( :: windows :: IUnknown ) ; impl IAuthenticateEx { pub unsafe fn Authenticate < > ( & self , phwnd : * mut super::super::Foundation:: HWND , pszusername : * mut super::super::Foundation:: PWSTR , pszpassword : * mut super::super::Foundation:: PWSTR , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( phwnd ) , :: std :: mem :: transmute ( pszusername ) , :: std :: mem :: transmute ( pszpassword ) , ) . ok ( ) } pub unsafe fn AuthenticateEx < > ( & self , phwnd : * mut super::super::Foundation:: HWND , pszusername : * mut super::super::Foundation:: PWSTR , pszpassword : * mut super::super::Foundation:: PWSTR , pauthinfo : * mut AUTHENTICATEINFO , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( phwnd ) , :: std :: mem :: transmute ( pszusername ) , :: std :: mem :: transmute ( pszpassword ) , :: std :: mem :: transmute ( pauthinfo ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IAuthenticateEx { type Vtable = IAuthenticateEx_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 718400943 ,55357 ,18613 , [ 154 ,223 ,3 ,219 ,225 ,159 ,83 ,189 ] , ) ; } impl :: std :: convert :: From < IAuthenticateEx > for :: windows :: IUnknown { fn from ( value : IAuthenticateEx ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IAuthenticateEx > for :: windows :: IUnknown { fn from ( value : & IAuthenticateEx ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IAuthenticateEx { 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 IAuthenticateEx { 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 < IAuthenticateEx > for IAuthenticate { fn from ( value : IAuthenticateEx ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IAuthenticateEx > for IAuthenticate { fn from ( value : & IAuthenticateEx ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IAuthenticate > for IAuthenticateEx { fn into_param ( self ) -> :: windows :: Param < 'a , IAuthenticate > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IAuthenticate > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IAuthenticate > for & 'a IAuthenticateEx { fn into_param ( self ) -> :: windows :: Param < 'a , IAuthenticate > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IAuthenticate > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IAuthenticateEx_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 , phwnd : * mut super::super::Foundation:: HWND , pszusername : * mut super::super::Foundation:: PWSTR , pszpassword : * mut super::super::Foundation:: PWSTR , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , phwnd : * mut super::super::Foundation:: HWND , pszusername : * mut super::super::Foundation:: PWSTR , pszpassword : * mut super::super::Foundation:: PWSTR , pauthinfo : * mut AUTHENTICATEINFO , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IBindCallbackRedirect ( :: windows :: IUnknown ) ; impl IBindCallbackRedirect { pub unsafe fn Redirect < 'a , > ( & self , lpcurl : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , ) -> :: windows :: Result < i16 > { let mut result__ : < i16 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , lpcurl . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < i16 > ( result__ ) } } unsafe impl :: windows :: Interface for IBindCallbackRedirect { type Vtable = IBindCallbackRedirect_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 298326978 ,4638 ,20181 , [ 185 ,196 ,180 ,48 ,189 ,84 ,242 ,192 ] , ) ; } impl :: std :: convert :: From < IBindCallbackRedirect > for :: windows :: IUnknown { fn from ( value : IBindCallbackRedirect ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IBindCallbackRedirect > for :: windows :: IUnknown { fn from ( value : & IBindCallbackRedirect ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IBindCallbackRedirect { 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 IBindCallbackRedirect { 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 IBindCallbackRedirect_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 , lpcurl : super::super::Foundation:: PWSTR , vbcancel : * mut i16 , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IBindCtx ( :: windows :: IUnknown ) ; impl IBindCtx { pub unsafe fn RegisterObjectBound < 'a , > ( & self , punk : impl :: windows :: IntoParam < 'a , :: windows :: IUnknown > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , punk . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn RevokeObjectBound < 'a , > ( & self , punk : impl :: windows :: IntoParam < 'a , :: windows :: IUnknown > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , punk . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn ReleaseBoundObjects < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn SetBindOptions < > ( & self , pbindopts : * mut BIND_OPTS , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pbindopts ) , ) . ok ( ) } pub unsafe fn GetBindOptions < > ( & self , pbindopts : * mut BIND_OPTS , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pbindopts ) , ) . ok ( ) } pub unsafe fn GetRunningObjectTable < > ( & self , ) -> :: windows :: Result < IRunningObjectTable > { let mut result__ : < IRunningObjectTable as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < IRunningObjectTable > ( result__ ) } pub unsafe fn RegisterObjectParam < 'a , > ( & self , pszkey : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , punk : impl :: windows :: IntoParam < 'a , :: windows :: IUnknown > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , pszkey . into_param ( ) . abi ( ) , punk . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn GetObjectParam < 'a , > ( & self , pszkey : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , ) -> :: windows :: Result < :: windows :: IUnknown > { let mut result__ : < :: windows :: IUnknown as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , pszkey . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < :: windows :: IUnknown > ( result__ ) } pub unsafe fn EnumObjectParam < > ( & self , ) -> :: windows :: Result < IEnumString > { let mut result__ : < IEnumString as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .11 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < IEnumString > ( result__ ) } pub unsafe fn RevokeObjectParam < 'a , > ( & self , pszkey : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .12 ) ( :: windows :: Abi :: abi ( self ) , pszkey . into_param ( ) . abi ( ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IBindCtx { type Vtable = IBindCtx_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 14 ,0 ,0 , [ 192 ,0 ,0 ,0 ,0 ,0 ,0 ,70 ] , ) ; } impl :: std :: convert :: From < IBindCtx > for :: windows :: IUnknown { fn from ( value : IBindCtx ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IBindCtx > for :: windows :: IUnknown { fn from ( value : & IBindCtx ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IBindCtx { 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 IBindCtx { 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 IBindCtx_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 , punk : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , punk : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pbindopts : * mut BIND_OPTS , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pbindopts : * mut BIND_OPTS , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pprot : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pszkey : super::super::Foundation:: PWSTR , punk : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pszkey : super::super::Foundation:: PWSTR , ppunk : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppenum : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pszkey : super::super::Foundation:: PWSTR , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IBindHost ( :: windows :: IUnknown ) ; impl IBindHost { pub unsafe fn CreateMoniker < 'a , > ( & self , szname : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , pbc : impl :: windows :: IntoParam < 'a , IBindCtx > , ppmk : * mut :: std :: option :: Option < IMoniker > , dwreserved : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , szname . into_param ( ) . abi ( ) , pbc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ppmk ) , :: std :: mem :: transmute ( dwreserved ) , ) . ok ( ) } pub unsafe fn MonikerBindToStorage < 'a , T : :: windows :: Interface > ( & self , pmk : impl :: windows :: IntoParam < 'a , IMoniker > , pbc : impl :: windows :: IntoParam < 'a , IBindCtx > , pbsc : impl :: windows :: IntoParam < 'a , IBindStatusCallback > , ) -> :: windows :: Result < T > { let mut result__ = :: std :: option :: Option :: None ; ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , pmk . into_param ( ) . abi ( ) , pbc . into_param ( ) . abi ( ) , pbsc . into_param ( ) . abi ( ) , & < T as :: windows :: Interface > :: IID , :: windows :: Abi :: set_abi ( & mut result__ ) ) . and_some ( result__ ) } pub unsafe fn MonikerBindToObject < 'a , T : :: windows :: Interface > ( & self , pmk : impl :: windows :: IntoParam < 'a , IMoniker > , pbc : impl :: windows :: IntoParam < 'a , IBindCtx > , pbsc : impl :: windows :: IntoParam < 'a , IBindStatusCallback > , ) -> :: windows :: Result < T > { let mut result__ = :: std :: option :: Option :: None ; ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , pmk . into_param ( ) . abi ( ) , pbc . into_param ( ) . abi ( ) , pbsc . into_param ( ) . abi ( ) , & < T as :: windows :: Interface > :: IID , :: windows :: Abi :: set_abi ( & mut result__ ) ) . and_some ( result__ ) } } unsafe impl :: windows :: Interface for IBindHost { type Vtable = IBindHost_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 4232577441 ,11177 ,4559 , [ 162 ,41 ,0 ,170 ,0 ,61 ,115 ,82 ] , ) ; } impl :: std :: convert :: From < IBindHost > for :: windows :: IUnknown { fn from ( value : IBindHost ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IBindHost > for :: windows :: IUnknown { fn from ( value : & IBindHost ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IBindHost { 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 IBindHost { 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 IBindHost_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 , szname : super::super::Foundation:: PWSTR , pbc : :: windows :: RawPtr , ppmk : * mut :: windows :: RawPtr , dwreserved : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pmk : :: windows :: RawPtr , pbc : :: windows :: RawPtr , pbsc : :: windows :: RawPtr , riid : * const :: windows :: Guid , ppvobj : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pmk : :: windows :: RawPtr , pbc : :: windows :: RawPtr , pbsc : :: windows :: RawPtr , riid : * const :: windows :: Guid , ppvobj : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IBindHttpSecurity ( :: windows :: IUnknown ) ; impl IBindHttpSecurity { pub unsafe fn GetIgnoreCertMask < > ( & self , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } } unsafe impl :: windows :: Interface for IBindHttpSecurity { type Vtable = IBindHttpSecurity_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2850924903 ,62734 ,18995 , [ 179 ,88 ,32 ,111 ,110 ,243 ,8 ,109 ] , ) ; } impl :: std :: convert :: From < IBindHttpSecurity > for :: windows :: IUnknown { fn from ( value : IBindHttpSecurity ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IBindHttpSecurity > for :: windows :: IUnknown { fn from ( value : & IBindHttpSecurity ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IBindHttpSecurity { 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 IBindHttpSecurity { 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 IBindHttpSecurity_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 , pdwignorecertmask : * mut u32 , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IBindProtocol ( :: windows :: IUnknown ) ; impl IBindProtocol { pub unsafe fn CreateBinding < 'a , > ( & self , szurl : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , pbc : impl :: windows :: IntoParam < 'a , IBindCtx > , ) -> :: windows :: Result < IBinding > { let mut result__ : < IBinding as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , szurl . into_param ( ) . abi ( ) , pbc . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < IBinding > ( result__ ) } } unsafe impl :: windows :: Interface for IBindProtocol { type Vtable = IBindProtocol_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2045430221 ,47865 ,4558 , [ 140 ,130 ,0 ,170 ,0 ,75 ,169 ,11 ] , ) ; } impl :: std :: convert :: From < IBindProtocol > for :: windows :: IUnknown { fn from ( value : IBindProtocol ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IBindProtocol > for :: windows :: IUnknown { fn from ( value : & IBindProtocol ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IBindProtocol { 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 IBindProtocol { 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 IBindProtocol_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 , szurl : super::super::Foundation:: PWSTR , pbc : :: windows :: RawPtr , ppb : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IBindStatusCallback ( :: windows :: IUnknown ) ; impl IBindStatusCallback { pub unsafe fn OnStartBinding < 'a , > ( & self , dwreserved : u32 , pib : impl :: windows :: IntoParam < 'a , IBinding > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwreserved ) , pib . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn GetPriority < > ( & self , ) -> :: windows :: Result < i32 > { let mut result__ : < i32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < i32 > ( result__ ) } pub unsafe fn OnLowResource < > ( & self , reserved : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( reserved ) , ) . ok ( ) } pub unsafe fn OnProgress < 'a , > ( & self , ulprogress : u32 , ulprogressmax : u32 , ulstatuscode : u32 , szstatustext : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ulprogress ) , :: std :: mem :: transmute ( ulprogressmax ) , :: std :: mem :: transmute ( ulstatuscode ) , szstatustext . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn OnStopBinding < 'a , > ( & self , hresult : :: windows :: HRESULT , szerror : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( hresult ) , szerror . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn GetBindInfo < > ( & self , grfbindf : * mut u32 , pbindinfo : * mut BINDINFO , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( grfbindf ) , :: std :: mem :: transmute ( pbindinfo ) , ) . ok ( ) } pub unsafe fn OnDataAvailable < > ( & self , grfbscf : u32 , dwsize : u32 , pformatetc : * mut FORMATETC , pstgmed : * mut STGMEDIUM , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( grfbscf ) , :: std :: mem :: transmute ( dwsize ) , :: std :: mem :: transmute ( pformatetc ) , :: std :: mem :: transmute ( pstgmed ) , ) . ok ( ) } pub unsafe fn OnObjectAvailable < > ( & self , riid : * const :: windows :: Guid , punk : :: std :: option :: Option < :: windows :: IUnknown > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( riid ) , :: std :: mem :: transmute ( punk ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IBindStatusCallback { type Vtable = IBindStatusCallback_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2045430209 ,47865 ,4558 , [ 140 ,130 ,0 ,170 ,0 ,75 ,169 ,11 ] , ) ; } impl :: std :: convert :: From < IBindStatusCallback > for :: windows :: IUnknown { fn from ( value : IBindStatusCallback ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IBindStatusCallback > for :: windows :: IUnknown { fn from ( value : & IBindStatusCallback ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IBindStatusCallback { 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 IBindStatusCallback { 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 IBindStatusCallback_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 , dwreserved : u32 , pib : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pnpriority : * mut i32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , reserved : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ulprogress : u32 , ulprogressmax : u32 , ulstatuscode : u32 , szstatustext : super::super::Foundation:: PWSTR , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , hresult : :: windows :: HRESULT , szerror : super::super::Foundation:: PWSTR , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , grfbindf : * mut u32 , pbindinfo : * mut BINDINFO_abi , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , grfbscf : u32 , dwsize : u32 , pformatetc : * mut FORMATETC , pstgmed : * mut STGMEDIUM_abi , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , riid : * const :: windows :: Guid , punk : :: windows :: RawPtr , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IBindStatusCallbackEx ( :: windows :: IUnknown ) ; impl IBindStatusCallbackEx { pub unsafe fn OnStartBinding < 'a , > ( & self , dwreserved : u32 , pib : impl :: windows :: IntoParam < 'a , IBinding > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwreserved ) , pib . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn GetPriority < > ( & self , ) -> :: windows :: Result < i32 > { let mut result__ : < i32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < i32 > ( result__ ) } pub unsafe fn OnLowResource < > ( & self , reserved : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( reserved ) , ) . ok ( ) } pub unsafe fn OnProgress < 'a , > ( & self , ulprogress : u32 , ulprogressmax : u32 , ulstatuscode : u32 , szstatustext : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ulprogress ) , :: std :: mem :: transmute ( ulprogressmax ) , :: std :: mem :: transmute ( ulstatuscode ) , szstatustext . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn OnStopBinding < 'a , > ( & self , hresult : :: windows :: HRESULT , szerror : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( hresult ) , szerror . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn GetBindInfo < > ( & self , grfbindf : * mut u32 , pbindinfo : * mut BINDINFO , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( grfbindf ) , :: std :: mem :: transmute ( pbindinfo ) , ) . ok ( ) } pub unsafe fn OnDataAvailable < > ( & self , grfbscf : u32 , dwsize : u32 , pformatetc : * mut FORMATETC , pstgmed : * mut STGMEDIUM , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( grfbscf ) , :: std :: mem :: transmute ( dwsize ) , :: std :: mem :: transmute ( pformatetc ) , :: std :: mem :: transmute ( pstgmed ) , ) . ok ( ) } pub unsafe fn OnObjectAvailable < > ( & self , riid : * const :: windows :: Guid , punk : :: std :: option :: Option < :: windows :: IUnknown > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( riid ) , :: std :: mem :: transmute ( punk ) , ) . ok ( ) } pub unsafe fn GetBindInfoEx < > ( & self , grfbindf : * mut u32 , pbindinfo : * mut BINDINFO , grfbindf2 : * mut u32 , pdwreserved : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .11 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( grfbindf ) , :: std :: mem :: transmute ( pbindinfo ) , :: std :: mem :: transmute ( grfbindf2 ) , :: std :: mem :: transmute ( pdwreserved ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IBindStatusCallbackEx { type Vtable = IBindStatusCallbackEx_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2863091449 ,36583 ,18009 , [ 136 ,217 ,248 ,197 ,4 ,218 ,115 ,204 ] , ) ; } impl :: std :: convert :: From < IBindStatusCallbackEx > for :: windows :: IUnknown { fn from ( value : IBindStatusCallbackEx ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IBindStatusCallbackEx > for :: windows :: IUnknown { fn from ( value : & IBindStatusCallbackEx ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IBindStatusCallbackEx { 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 IBindStatusCallbackEx { 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 < IBindStatusCallbackEx > for IBindStatusCallback { fn from ( value : IBindStatusCallbackEx ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IBindStatusCallbackEx > for IBindStatusCallback { fn from ( value : & IBindStatusCallbackEx ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IBindStatusCallback > for IBindStatusCallbackEx { fn into_param ( self ) -> :: windows :: Param < 'a , IBindStatusCallback > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IBindStatusCallback > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IBindStatusCallback > for & 'a IBindStatusCallbackEx { fn into_param ( self ) -> :: windows :: Param < 'a , IBindStatusCallback > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IBindStatusCallback > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IBindStatusCallbackEx_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 , dwreserved : u32 , pib : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pnpriority : * mut i32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , reserved : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ulprogress : u32 , ulprogressmax : u32 , ulstatuscode : u32 , szstatustext : super::super::Foundation:: PWSTR , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , hresult : :: windows :: HRESULT , szerror : super::super::Foundation:: PWSTR , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , grfbindf : * mut u32 , pbindinfo : * mut BINDINFO_abi , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , grfbscf : u32 , dwsize : u32 , pformatetc : * mut FORMATETC , pstgmed : * mut STGMEDIUM_abi , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , riid : * const :: windows :: Guid , punk : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , grfbindf : * mut u32 , pbindinfo : * mut BINDINFO_abi , grfbindf2 : * mut u32 , pdwreserved : * mut u32 , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IBinding ( :: windows :: IUnknown ) ; impl IBinding { pub unsafe fn Abort < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn Suspend < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn Resume < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn SetPriority < > ( & self , npriority : i32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( npriority ) , ) . ok ( ) } pub unsafe fn GetPriority < > ( & self , ) -> :: windows :: Result < i32 > { let mut result__ : < i32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < i32 > ( result__ ) } pub unsafe fn GetBindResult < > ( & self , pclsidprotocol : * mut :: windows :: Guid , pdwresult : * mut u32 , pszresult : * mut super::super::Foundation:: PWSTR , pdwreserved : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pclsidprotocol ) , :: std :: mem :: transmute ( pdwresult ) , :: std :: mem :: transmute ( pszresult ) , :: std :: mem :: transmute ( pdwreserved ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IBinding { type Vtable = IBinding_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2045430208 ,47865 ,4558 , [ 140 ,130 ,0 ,170 ,0 ,75 ,169 ,11 ] , ) ; } impl :: std :: convert :: From < IBinding > for :: windows :: IUnknown { fn from ( value : IBinding ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IBinding > for :: windows :: IUnknown { fn from ( value : & IBinding ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IBinding { 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 IBinding { 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 IBinding_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 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , npriority : i32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pnpriority : * mut i32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pclsidprotocol : * mut :: windows :: Guid , pdwresult : * mut u32 , pszresult : * mut super::super::Foundation:: PWSTR , pdwreserved : * mut u32 , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IBlockingLock ( :: windows :: IUnknown ) ; impl IBlockingLock { pub unsafe fn Lock < > ( & self , dwtimeout : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwtimeout ) , ) . ok ( ) } pub unsafe fn Unlock < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IBlockingLock { type Vtable = IBlockingLock_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 821286010 ,25671 ,4561 , [ 142 ,60 ,0 ,192 ,79 ,185 ,56 ,109 ] , ) ; } impl :: std :: convert :: From < IBlockingLock > for :: windows :: IUnknown { fn from ( value : IBlockingLock ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IBlockingLock > for :: windows :: IUnknown { fn from ( value : & IBlockingLock ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IBlockingLock { 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 IBlockingLock { 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 IBlockingLock_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 , dwtimeout : u32 , ) -> :: 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 ICallFactory ( :: windows :: IUnknown ) ; impl ICallFactory { pub unsafe fn CreateCall < 'a , > ( & self , riid : * const :: windows :: Guid , pctrlunk : impl :: windows :: IntoParam < 'a , :: windows :: IUnknown > , riid2 : * const :: windows :: Guid , ) -> :: windows :: Result < :: windows :: IUnknown > { let mut result__ : < :: windows :: IUnknown as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( riid ) , pctrlunk . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( riid2 ) , & mut result__ ) . from_abi :: < :: windows :: IUnknown > ( result__ ) } } unsafe impl :: windows :: Interface for ICallFactory { type Vtable = ICallFactory_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 477313584 ,10780 ,4558 , [ 173 ,229 ,0 ,170 ,0 ,68 ,119 ,61 ] , ) ; } impl :: std :: convert :: From < ICallFactory > for :: windows :: IUnknown { fn from ( value : ICallFactory ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & ICallFactory > for :: windows :: IUnknown { fn from ( value : & ICallFactory ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for ICallFactory { 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 ICallFactory { 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 ICallFactory_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 , riid : * const :: windows :: Guid , pctrlunk : :: windows :: RawPtr , riid2 : * const :: windows :: Guid , ppv : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct ICallFrame ( :: windows :: IUnknown ) ; impl ICallFrame { pub unsafe fn GetInfo < > ( & self , ) -> :: windows :: Result < CALLFRAMEINFO > { let mut result__ : < CALLFRAMEINFO as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < CALLFRAMEINFO > ( result__ ) } pub unsafe fn GetIIDAndMethod < > ( & self , piid : * mut :: windows :: Guid , pimethod : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( piid ) , :: std :: mem :: transmute ( pimethod ) , ) . ok ( ) } pub unsafe fn GetNames < > ( & self , pwszinterface : * mut super::super::Foundation:: PWSTR , pwszmethod : * mut super::super::Foundation:: PWSTR , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pwszinterface ) , :: std :: mem :: transmute ( pwszmethod ) , ) . ok ( ) } pub unsafe fn GetStackLocation < > ( & self , ) -> * mut :: std :: ffi :: c_void { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn SetStackLocation < > ( & self , pvstack : * mut :: std :: ffi :: c_void , ) { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pvstack ) , ) } pub unsafe fn SetReturnValue < > ( & self , hr : :: windows :: HRESULT , ) { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( hr ) , ) } pub unsafe fn GetReturnValue < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn GetParamInfo < > ( & self , iparam : u32 , ) -> :: windows :: Result < CALLFRAMEPARAMINFO > { let mut result__ : < CALLFRAMEPARAMINFO as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( iparam ) , & mut result__ ) . from_abi :: < CALLFRAMEPARAMINFO > ( result__ ) } pub unsafe fn SetParam < > ( & self , iparam : u32 , pvar : * mut super::OleAutomation:: VARIANT , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .11 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( iparam ) , :: std :: mem :: transmute ( pvar ) , ) . ok ( ) } pub unsafe fn GetParam < > ( & self , iparam : u32 , ) -> :: windows :: Result < super::OleAutomation:: VARIANT > { let mut result__ : < super::OleAutomation:: VARIANT as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .12 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( iparam ) , & mut result__ ) . from_abi :: < super::OleAutomation:: VARIANT > ( result__ ) } pub unsafe fn Copy < 'a , > ( & self , copycontrol : CALLFRAME_COPY , pwalker : impl :: windows :: IntoParam < 'a , ICallFrameWalker > , ) -> :: windows :: Result < ICallFrame > { let mut result__ : < ICallFrame as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .13 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( copycontrol ) , pwalker . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < ICallFrame > ( result__ ) } pub unsafe fn Free < 'a , > ( & self , pframeargsdest : impl :: windows :: IntoParam < 'a , ICallFrame > , pwalkerdestfree : impl :: windows :: IntoParam < 'a , ICallFrameWalker > , pwalkercopy : impl :: windows :: IntoParam < 'a , ICallFrameWalker > , freeflags : u32 , pwalkerfree : impl :: windows :: IntoParam < 'a , ICallFrameWalker > , nullflags : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .14 ) ( :: windows :: Abi :: abi ( self ) , pframeargsdest . into_param ( ) . abi ( ) , pwalkerdestfree . into_param ( ) . abi ( ) , pwalkercopy . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( freeflags ) , pwalkerfree . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( nullflags ) , ) . ok ( ) } pub unsafe fn FreeParam < 'a , > ( & self , iparam : u32 , freeflags : u32 , pwalkerfree : impl :: windows :: IntoParam < 'a , ICallFrameWalker > , nullflags : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .15 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( iparam ) , :: std :: mem :: transmute ( freeflags ) , pwalkerfree . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( nullflags ) , ) . ok ( ) } pub unsafe fn WalkFrame < 'a , > ( & self , walkwhat : u32 , pwalker : impl :: windows :: IntoParam < 'a , ICallFrameWalker > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .16 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( walkwhat ) , pwalker . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn GetMarshalSizeMax < > ( & self , pmshlcontext : * mut CALLFRAME_MARSHALCONTEXT , mshlflags : MSHLFLAGS , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .17 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pmshlcontext ) , :: std :: mem :: transmute ( mshlflags ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn Marshal < > ( & self , pmshlcontext : * mut CALLFRAME_MARSHALCONTEXT , mshlflags : MSHLFLAGS , pbuffer : * mut :: std :: ffi :: c_void , cbbuffer : u32 , pcbbufferused : * mut u32 , pdatarep : * mut u32 , prpcflags : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .18 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pmshlcontext ) , :: std :: mem :: transmute ( mshlflags ) , :: std :: mem :: transmute ( pbuffer ) , :: std :: mem :: transmute ( cbbuffer ) , :: std :: mem :: transmute ( pcbbufferused ) , :: std :: mem :: transmute ( pdatarep ) , :: std :: mem :: transmute ( prpcflags ) , ) . ok ( ) } pub unsafe fn Unmarshal < > ( & self , pbuffer : * mut :: std :: ffi :: c_void , cbbuffer : u32 , datarep : u32 , pcontext : * mut CALLFRAME_MARSHALCONTEXT , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .19 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pbuffer ) , :: std :: mem :: transmute ( cbbuffer ) , :: std :: mem :: transmute ( datarep ) , :: std :: mem :: transmute ( pcontext ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn ReleaseMarshalData < > ( & self , pbuffer : * mut :: std :: ffi :: c_void , cbbuffer : u32 , ibfirstrelease : u32 , datarep : u32 , pcontext : * mut CALLFRAME_MARSHALCONTEXT , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .20 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pbuffer ) , :: std :: mem :: transmute ( cbbuffer ) , :: std :: mem :: transmute ( ibfirstrelease ) , :: std :: mem :: transmute ( datarep ) , :: std :: mem :: transmute ( pcontext ) , ) . ok ( ) } pub unsafe fn Invoke < > ( & self , pvreceiver : * mut :: std :: ffi :: c_void , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .21 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pvreceiver ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for ICallFrame { type Vtable = ICallFrame_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3581129904 ,35150 ,4562 , [ 184 ,182 ,0 ,192 ,79 ,185 ,97 ,138 ] , ) ; } impl :: std :: convert :: From < ICallFrame > for :: windows :: IUnknown { fn from ( value : ICallFrame ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & ICallFrame > for :: windows :: IUnknown { fn from ( value : & ICallFrame ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for ICallFrame { 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 ICallFrame { 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 ICallFrame_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 , pinfo : * mut CALLFRAMEINFO , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , piid : * mut :: windows :: Guid , pimethod : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pwszinterface : * mut super::super::Foundation:: PWSTR , pwszmethod : * mut super::super::Foundation:: PWSTR , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> * mut :: std :: ffi :: c_void , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pvstack : * mut :: std :: ffi :: c_void , ) , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , hr : :: windows :: HRESULT , ) , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iparam : u32 , pinfo : * mut CALLFRAMEPARAMINFO , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iparam : u32 , pvar : * mut super::OleAutomation:: VARIANT_abi , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iparam : u32 , pvar : * mut super::OleAutomation:: VARIANT_abi , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , copycontrol : CALLFRAME_COPY , pwalker : :: windows :: RawPtr , ppframe : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pframeargsdest : :: windows :: RawPtr , pwalkerdestfree : :: windows :: RawPtr , pwalkercopy : :: windows :: RawPtr , freeflags : u32 , pwalkerfree : :: windows :: RawPtr , nullflags : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iparam : u32 , freeflags : u32 , pwalkerfree : :: windows :: RawPtr , nullflags : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , walkwhat : u32 , pwalker : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pmshlcontext : * mut CALLFRAME_MARSHALCONTEXT_abi , mshlflags : MSHLFLAGS , pcbbufferneeded : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pmshlcontext : * mut CALLFRAME_MARSHALCONTEXT_abi , mshlflags : MSHLFLAGS , pbuffer : * mut :: std :: ffi :: c_void , cbbuffer : u32 , pcbbufferused : * mut u32 , pdatarep : * mut u32 , prpcflags : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pbuffer : * mut :: std :: ffi :: c_void , cbbuffer : u32 , datarep : u32 , pcontext : * mut CALLFRAME_MARSHALCONTEXT_abi , pcbunmarshalled : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pbuffer : * mut :: std :: ffi :: c_void , cbbuffer : u32 , ibfirstrelease : u32 , datarep : u32 , pcontext : * mut CALLFRAME_MARSHALCONTEXT_abi , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pvreceiver : * mut :: std :: ffi :: c_void , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct ICallFrameEvents ( :: windows :: IUnknown ) ; impl ICallFrameEvents { pub unsafe fn OnCall < 'a , > ( & self , pframe : impl :: windows :: IntoParam < 'a , ICallFrame > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , pframe . into_param ( ) . abi ( ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for ICallFrameEvents { type Vtable = ICallFrameEvents_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 4250798147 ,64657 ,4560 , [ 151 ,215 ,0 ,192 ,79 ,185 ,97 ,138 ] , ) ; } impl :: std :: convert :: From < ICallFrameEvents > for :: windows :: IUnknown { fn from ( value : ICallFrameEvents ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & ICallFrameEvents > for :: windows :: IUnknown { fn from ( value : & ICallFrameEvents ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for ICallFrameEvents { 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 ICallFrameEvents { 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 ICallFrameEvents_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 , pframe : :: windows :: RawPtr , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct ICallFrameWalker ( :: windows :: IUnknown ) ; impl ICallFrameWalker { pub unsafe fn OnWalkInterface < 'a , > ( & self , iid : * const :: windows :: Guid , ppvinterface : * mut * mut :: std :: ffi :: c_void , fin : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , fout : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( iid ) , :: std :: mem :: transmute ( ppvinterface ) , fin . into_param ( ) . abi ( ) , fout . into_param ( ) . abi ( ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for ICallFrameWalker { type Vtable = ICallFrameWalker_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 145897753 ,14637 ,4562 , [ 184 ,164 ,0 ,192 ,79 ,185 ,97 ,138 ] , ) ; } impl :: std :: convert :: From < ICallFrameWalker > for :: windows :: IUnknown { fn from ( value : ICallFrameWalker ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & ICallFrameWalker > for :: windows :: IUnknown { fn from ( value : & ICallFrameWalker ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for ICallFrameWalker { 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 ICallFrameWalker { 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 ICallFrameWalker_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 , iid : * const :: windows :: Guid , ppvinterface : * mut * mut :: std :: ffi :: c_void , fin : super::super::Foundation:: BOOL , fout : super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct ICallIndirect ( :: windows :: IUnknown ) ; impl ICallIndirect { pub unsafe fn CallIndirect < > ( & self , phrreturn : * mut :: windows :: HRESULT , imethod : u32 , pvargs : * mut :: std :: ffi :: c_void , cbargs : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( phrreturn ) , :: std :: mem :: transmute ( imethod ) , :: std :: mem :: transmute ( pvargs ) , :: std :: mem :: transmute ( cbargs ) , ) . ok ( ) } pub unsafe fn GetMethodInfo < > ( & self , imethod : u32 , pinfo : * mut CALLFRAMEINFO , pwszmethod : * mut super::super::Foundation:: PWSTR , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( imethod ) , :: std :: mem :: transmute ( pinfo ) , :: std :: mem :: transmute ( pwszmethod ) , ) . ok ( ) } pub unsafe fn GetStackSize < > ( & self , imethod : u32 , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( imethod ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn GetIID < > ( & self , piid : * mut :: windows :: Guid , pfderivesfromidispatch : * mut super::super::Foundation:: BOOL , pcmethod : * mut u32 , pwszinterface : * mut super::super::Foundation:: PWSTR , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( piid ) , :: std :: mem :: transmute ( pfderivesfromidispatch ) , :: std :: mem :: transmute ( pcmethod ) , :: std :: mem :: transmute ( pwszinterface ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for ICallIndirect { type Vtable = ICallIndirect_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3581129905 ,35150 ,4562 , [ 184 ,182 ,0 ,192 ,79 ,185 ,97 ,138 ] , ) ; } impl :: std :: convert :: From < ICallIndirect > for :: windows :: IUnknown { fn from ( value : ICallIndirect ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & ICallIndirect > for :: windows :: IUnknown { fn from ( value : & ICallIndirect ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for ICallIndirect { 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 ICallIndirect { 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 ICallIndirect_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 , phrreturn : * mut :: windows :: HRESULT , imethod : u32 , pvargs : * mut :: std :: ffi :: c_void , cbargs : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , imethod : u32 , pinfo : * mut CALLFRAMEINFO , pwszmethod : * mut super::super::Foundation:: PWSTR , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , imethod : u32 , cbargs : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , piid : * mut :: windows :: Guid , pfderivesfromidispatch : * mut super::super::Foundation:: BOOL , pcmethod : * mut u32 , pwszinterface : * mut super::super::Foundation:: PWSTR , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct ICallInterceptor ( :: windows :: IUnknown ) ; impl ICallInterceptor { pub unsafe fn CallIndirect < > ( & self , phrreturn : * mut :: windows :: HRESULT , imethod : u32 , pvargs : * mut :: std :: ffi :: c_void , cbargs : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( phrreturn ) , :: std :: mem :: transmute ( imethod ) , :: std :: mem :: transmute ( pvargs ) , :: std :: mem :: transmute ( cbargs ) , ) . ok ( ) } pub unsafe fn GetMethodInfo < > ( & self , imethod : u32 , pinfo : * mut CALLFRAMEINFO , pwszmethod : * mut super::super::Foundation:: PWSTR , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( imethod ) , :: std :: mem :: transmute ( pinfo ) , :: std :: mem :: transmute ( pwszmethod ) , ) . ok ( ) } pub unsafe fn GetStackSize < > ( & self , imethod : u32 , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( imethod ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn GetIID < > ( & self , piid : * mut :: windows :: Guid , pfderivesfromidispatch : * mut super::super::Foundation:: BOOL , pcmethod : * mut u32 , pwszinterface : * mut super::super::Foundation:: PWSTR , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( piid ) , :: std :: mem :: transmute ( pfderivesfromidispatch ) , :: std :: mem :: transmute ( pcmethod ) , :: std :: mem :: transmute ( pwszinterface ) , ) . ok ( ) } pub unsafe fn RegisterSink < 'a , > ( & self , psink : impl :: windows :: IntoParam < 'a , ICallFrameEvents > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , psink . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn GetRegisteredSink < > ( & self , ) -> :: windows :: Result < ICallFrameEvents > { let mut result__ : < ICallFrameEvents as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < ICallFrameEvents > ( result__ ) } } unsafe impl :: windows :: Interface for ICallInterceptor { type Vtable = ICallInterceptor_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 1623706229 ,35181 ,4562 , [ 184 ,182 ,0 ,192 ,79 ,185 ,97 ,138 ] , ) ; } impl :: std :: convert :: From < ICallInterceptor > for :: windows :: IUnknown { fn from ( value : ICallInterceptor ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & ICallInterceptor > for :: windows :: IUnknown { fn from ( value : & ICallInterceptor ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for ICallInterceptor { 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 ICallInterceptor { 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 < ICallInterceptor > for ICallIndirect { fn from ( value : ICallInterceptor ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & ICallInterceptor > for ICallIndirect { fn from ( value : & ICallInterceptor ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , ICallIndirect > for ICallInterceptor { fn into_param ( self ) -> :: windows :: Param < 'a , ICallIndirect > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < ICallIndirect > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , ICallIndirect > for & 'a ICallInterceptor { fn into_param ( self ) -> :: windows :: Param < 'a , ICallIndirect > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < ICallIndirect > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct ICallInterceptor_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 , phrreturn : * mut :: windows :: HRESULT , imethod : u32 , pvargs : * mut :: std :: ffi :: c_void , cbargs : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , imethod : u32 , pinfo : * mut CALLFRAMEINFO , pwszmethod : * mut super::super::Foundation:: PWSTR , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , imethod : u32 , cbargs : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , piid : * mut :: windows :: Guid , pfderivesfromidispatch : * mut super::super::Foundation:: BOOL , pcmethod : * mut u32 , pwszinterface : * mut super::super::Foundation:: PWSTR , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , psink : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppsink : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct ICallUnmarshal ( :: windows :: IUnknown ) ; impl ICallUnmarshal { pub unsafe fn Unmarshal < 'a , > ( & self , imethod : u32 , pbuffer : * mut :: std :: ffi :: c_void , cbbuffer : u32 , fforcebuffercopy : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , datarep : u32 , pcontext : * mut CALLFRAME_MARSHALCONTEXT , pcbunmarshalled : * mut u32 , ppframe : * mut :: std :: option :: Option < ICallFrame > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( imethod ) , :: std :: mem :: transmute ( pbuffer ) , :: std :: mem :: transmute ( cbbuffer ) , fforcebuffercopy . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( datarep ) , :: std :: mem :: transmute ( pcontext ) , :: std :: mem :: transmute ( pcbunmarshalled ) , :: std :: mem :: transmute ( ppframe ) , ) . ok ( ) } pub unsafe fn ReleaseMarshalData < > ( & self , imethod : u32 , pbuffer : * mut :: std :: ffi :: c_void , cbbuffer : u32 , ibfirstrelease : u32 , datarep : u32 , pcontext : * mut CALLFRAME_MARSHALCONTEXT , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( imethod ) , :: std :: mem :: transmute ( pbuffer ) , :: std :: mem :: transmute ( cbbuffer ) , :: std :: mem :: transmute ( ibfirstrelease ) , :: std :: mem :: transmute ( datarep ) , :: std :: mem :: transmute ( pcontext ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for ICallUnmarshal { type Vtable = ICallUnmarshal_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 1395896323 ,11842 ,4562 , [ 184 ,157 ,0 ,192 ,79 ,185 ,97 ,138 ] , ) ; } impl :: std :: convert :: From < ICallUnmarshal > for :: windows :: IUnknown { fn from ( value : ICallUnmarshal ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & ICallUnmarshal > for :: windows :: IUnknown { fn from ( value : & ICallUnmarshal ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for ICallUnmarshal { 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 ICallUnmarshal { 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 ICallUnmarshal_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 , imethod : u32 , pbuffer : * mut :: std :: ffi :: c_void , cbbuffer : u32 , fforcebuffercopy : super::super::Foundation:: BOOL , datarep : u32 , pcontext : * mut CALLFRAME_MARSHALCONTEXT_abi , pcbunmarshalled : * mut u32 , ppframe : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , imethod : u32 , pbuffer : * mut :: std :: ffi :: c_void , cbbuffer : u32 , ibfirstrelease : u32 , datarep : u32 , pcontext : * mut CALLFRAME_MARSHALCONTEXT_abi , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct ICancelMethodCalls ( :: windows :: IUnknown ) ; impl ICancelMethodCalls { pub unsafe fn Cancel < > ( & self , ulseconds : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ulseconds ) , ) . ok ( ) } pub unsafe fn TestCancel < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for ICancelMethodCalls { type Vtable = ICancelMethodCalls_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 41 ,0 ,0 , [ 192 ,0 ,0 ,0 ,0 ,0 ,0 ,70 ] , ) ; } impl :: std :: convert :: From < ICancelMethodCalls > for :: windows :: IUnknown { fn from ( value : ICancelMethodCalls ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & ICancelMethodCalls > for :: windows :: IUnknown { fn from ( value : & ICancelMethodCalls ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for ICancelMethodCalls { 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 ICancelMethodCalls { 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 ICancelMethodCalls_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 , ulseconds : u32 , ) -> :: 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 ICatInformation ( :: windows :: IUnknown ) ; impl ICatInformation { pub unsafe fn EnumCategories < > ( & self , lcid : u32 , ) -> :: windows :: Result < IEnumCATEGORYINFO > { let mut result__ : < IEnumCATEGORYINFO as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( lcid ) , & mut result__ ) . from_abi :: < IEnumCATEGORYINFO > ( result__ ) } pub unsafe fn GetCategoryDesc < > ( & self , rcatid : * mut :: windows :: Guid , lcid : u32 , ) -> :: windows :: Result < super::super::Foundation:: PWSTR > { let mut result__ : < super::super::Foundation:: PWSTR as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( rcatid ) , :: std :: mem :: transmute ( lcid ) , & mut result__ ) . from_abi :: < super::super::Foundation:: PWSTR > ( result__ ) } pub unsafe fn EnumClassesOfCategories < > ( & self , cimplemented : u32 , rgcatidimpl : * const :: windows :: Guid , crequired : u32 , rgcatidreq : * const :: windows :: Guid , ) -> :: windows :: Result < IEnumGUID > { let mut result__ : < IEnumGUID as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( cimplemented ) , :: std :: mem :: transmute ( rgcatidimpl ) , :: std :: mem :: transmute ( crequired ) , :: std :: mem :: transmute ( rgcatidreq ) , & mut result__ ) . from_abi :: < IEnumGUID > ( result__ ) } pub unsafe fn IsClassOfCategories < > ( & self , rclsid : * const :: windows :: Guid , cimplemented : u32 , rgcatidimpl : * const :: windows :: Guid , crequired : u32 , rgcatidreq : * const :: windows :: Guid , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( rclsid ) , :: std :: mem :: transmute ( cimplemented ) , :: std :: mem :: transmute ( rgcatidimpl ) , :: std :: mem :: transmute ( crequired ) , :: std :: mem :: transmute ( rgcatidreq ) , ) . ok ( ) } pub unsafe fn EnumImplCategoriesOfClass < > ( & self , rclsid : * const :: windows :: Guid , ) -> :: windows :: Result < IEnumGUID > { let mut result__ : < IEnumGUID as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( rclsid ) , & mut result__ ) . from_abi :: < IEnumGUID > ( result__ ) } pub unsafe fn EnumReqCategoriesOfClass < > ( & self , rclsid : * const :: windows :: Guid , ) -> :: windows :: Result < IEnumGUID > { let mut result__ : < IEnumGUID as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( rclsid ) , & mut result__ ) . from_abi :: < IEnumGUID > ( result__ ) } } unsafe impl :: windows :: Interface for ICatInformation { type Vtable = ICatInformation_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 188435 ,0 ,0 , [ 192 ,0 ,0 ,0 ,0 ,0 ,0 ,70 ] , ) ; } impl :: std :: convert :: From < ICatInformation > for :: windows :: IUnknown { fn from ( value : ICatInformation ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & ICatInformation > for :: windows :: IUnknown { fn from ( value : & ICatInformation ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for ICatInformation { 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 ICatInformation { 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 ICatInformation_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 , lcid : u32 , ppenumcategoryinfo : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , rcatid : * mut :: windows :: Guid , lcid : u32 , pszdesc : * mut super::super::Foundation:: PWSTR , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , cimplemented : u32 , rgcatidimpl : * const :: windows :: Guid , crequired : u32 , rgcatidreq : * const :: windows :: Guid , ppenumclsid : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , rclsid : * const :: windows :: Guid , cimplemented : u32 , rgcatidimpl : * const :: windows :: Guid , crequired : u32 , rgcatidreq : * const :: windows :: Guid , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , rclsid : * const :: windows :: Guid , ppenumcatid : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , rclsid : * const :: windows :: Guid , ppenumcatid : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct ICatRegister ( :: windows :: IUnknown ) ; impl ICatRegister { pub unsafe fn RegisterCategories < > ( & self , ccategories : u32 , rgcategoryinfo : * mut CATEGORYINFO , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ccategories ) , :: std :: mem :: transmute ( rgcategoryinfo ) , ) . ok ( ) } pub unsafe fn UnRegisterCategories < > ( & self , ccategories : u32 , rgcatid : * mut :: windows :: Guid , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ccategories ) , :: std :: mem :: transmute ( rgcatid ) , ) . ok ( ) } pub unsafe fn RegisterClassImplCategories < > ( & self , rclsid : * const :: windows :: Guid , ccategories : u32 , rgcatid : * mut :: windows :: Guid , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( rclsid ) , :: std :: mem :: transmute ( ccategories ) , :: std :: mem :: transmute ( rgcatid ) , ) . ok ( ) } pub unsafe fn UnRegisterClassImplCategories < > ( & self , rclsid : * const :: windows :: Guid , ccategories : u32 , rgcatid : * mut :: windows :: Guid , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( rclsid ) , :: std :: mem :: transmute ( ccategories ) , :: std :: mem :: transmute ( rgcatid ) , ) . ok ( ) } pub unsafe fn RegisterClassReqCategories < > ( & self , rclsid : * const :: windows :: Guid , ccategories : u32 , rgcatid : * mut :: windows :: Guid , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( rclsid ) , :: std :: mem :: transmute ( ccategories ) , :: std :: mem :: transmute ( rgcatid ) , ) . ok ( ) } pub unsafe fn UnRegisterClassReqCategories < > ( & self , rclsid : * const :: windows :: Guid , ccategories : u32 , rgcatid : * mut :: windows :: Guid , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( rclsid ) , :: std :: mem :: transmute ( ccategories ) , :: std :: mem :: transmute ( rgcatid ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for ICatRegister { type Vtable = ICatRegister_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 188434 ,0 ,0 , [ 192 ,0 ,0 ,0 ,0 ,0 ,0 ,70 ] , ) ; } impl :: std :: convert :: From < ICatRegister > for :: windows :: IUnknown { fn from ( value : ICatRegister ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & ICatRegister > for :: windows :: IUnknown { fn from ( value : & ICatRegister ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for ICatRegister { 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 ICatRegister { 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 ICatRegister_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 , ccategories : u32 , rgcategoryinfo : * mut CATEGORYINFO , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ccategories : u32 , rgcatid : * mut :: windows :: Guid , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , rclsid : * const :: windows :: Guid , ccategories : u32 , rgcatid : * mut :: windows :: Guid , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , rclsid : * const :: windows :: Guid , ccategories : u32 , rgcatid : * mut :: windows :: Guid , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , rclsid : * const :: windows :: Guid , ccategories : u32 , rgcatid : * mut :: windows :: Guid , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , rclsid : * const :: windows :: Guid , ccategories : u32 , rgcatid : * mut :: windows :: Guid , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct ICatalogFileInfo ( :: windows :: IUnknown ) ; impl ICatalogFileInfo { pub unsafe fn GetCatalogFile < > ( & self , ) -> :: windows :: Result < super::super::Foundation:: PSTR > { let mut result__ : < super::super::Foundation:: PSTR as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < super::super::Foundation:: PSTR > ( result__ ) } pub unsafe fn GetJavaTrust < > ( & self , ppjavatrust : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ppjavatrust ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for ICatalogFileInfo { type Vtable = ICatalogFileInfo_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 1897690624 ,27464 ,4561 , [ 180 ,3 ,0 ,170 ,0 ,185 ,42 ,241 ] , ) ; } impl :: std :: convert :: From < ICatalogFileInfo > for :: windows :: IUnknown { fn from ( value : ICatalogFileInfo ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & ICatalogFileInfo > for :: windows :: IUnknown { fn from ( value : & ICatalogFileInfo ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for ICatalogFileInfo { 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 ICatalogFileInfo { 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 ICatalogFileInfo_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 , ppszcatalogfile : * mut super::super::Foundation:: PSTR , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppjavatrust : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IChannelHook ( :: windows :: IUnknown ) ; impl IChannelHook { pub unsafe fn ClientGetSize < > ( & self , uextent : * const :: windows :: Guid , riid : * const :: windows :: Guid , pdatasize : * mut u32 , ) { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( uextent ) , :: std :: mem :: transmute ( riid ) , :: std :: mem :: transmute ( pdatasize ) , ) } pub unsafe fn ClientFillBuffer < > ( & self , uextent : * const :: windows :: Guid , riid : * const :: windows :: Guid , pdatasize : * mut u32 , pdatabuffer : * mut :: std :: ffi :: c_void , ) { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( uextent ) , :: std :: mem :: transmute ( riid ) , :: std :: mem :: transmute ( pdatasize ) , :: std :: mem :: transmute ( pdatabuffer ) , ) } pub unsafe fn ClientNotify < > ( & self , uextent : * const :: windows :: Guid , riid : * const :: windows :: Guid , cbdatasize : u32 , pdatabuffer : * mut :: std :: ffi :: c_void , ldatarep : u32 , hrfault : :: windows :: HRESULT , ) { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( uextent ) , :: std :: mem :: transmute ( riid ) , :: std :: mem :: transmute ( cbdatasize ) , :: std :: mem :: transmute ( pdatabuffer ) , :: std :: mem :: transmute ( ldatarep ) , :: std :: mem :: transmute ( hrfault ) , ) } pub unsafe fn ServerNotify < > ( & self , uextent : * const :: windows :: Guid , riid : * const :: windows :: Guid , cbdatasize : u32 , pdatabuffer : * mut :: std :: ffi :: c_void , ldatarep : u32 , ) { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( uextent ) , :: std :: mem :: transmute ( riid ) , :: std :: mem :: transmute ( cbdatasize ) , :: std :: mem :: transmute ( pdatabuffer ) , :: std :: mem :: transmute ( ldatarep ) , ) } pub unsafe fn ServerGetSize < > ( & self , uextent : * const :: windows :: Guid , riid : * const :: windows :: Guid , hrfault : :: windows :: HRESULT , pdatasize : * mut u32 , ) { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( uextent ) , :: std :: mem :: transmute ( riid ) , :: std :: mem :: transmute ( hrfault ) , :: std :: mem :: transmute ( pdatasize ) , ) } pub unsafe fn ServerFillBuffer < > ( & self , uextent : * const :: windows :: Guid , riid : * const :: windows :: Guid , pdatasize : * mut u32 , pdatabuffer : * mut :: std :: ffi :: c_void , hrfault : :: windows :: HRESULT , ) { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( uextent ) , :: std :: mem :: transmute ( riid ) , :: std :: mem :: transmute ( pdatasize ) , :: std :: mem :: transmute ( pdatabuffer ) , :: std :: mem :: transmute ( hrfault ) , ) } } unsafe impl :: windows :: Interface for IChannelHook { type Vtable = IChannelHook_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 269010080 ,30227 ,4559 , [ 154 ,241 ,0 ,32 ,175 ,110 ,114 ,244 ] , ) ; } impl :: std :: convert :: From < IChannelHook > for :: windows :: IUnknown { fn from ( value : IChannelHook ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IChannelHook > for :: windows :: IUnknown { fn from ( value : & IChannelHook ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IChannelHook { 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 IChannelHook { 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 IChannelHook_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 , uextent : * const :: windows :: Guid , riid : * const :: windows :: Guid , pdatasize : * mut u32 , ) , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , uextent : * const :: windows :: Guid , riid : * const :: windows :: Guid , pdatasize : * mut u32 , pdatabuffer : * mut :: std :: ffi :: c_void , ) , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , uextent : * const :: windows :: Guid , riid : * const :: windows :: Guid , cbdatasize : u32 , pdatabuffer : * mut :: std :: ffi :: c_void , ldatarep : u32 , hrfault : :: windows :: HRESULT , ) , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , uextent : * const :: windows :: Guid , riid : * const :: windows :: Guid , cbdatasize : u32 , pdatabuffer : * mut :: std :: ffi :: c_void , ldatarep : u32 , ) , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , uextent : * const :: windows :: Guid , riid : * const :: windows :: Guid , hrfault : :: windows :: HRESULT , pdatasize : * mut u32 , ) , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , uextent : * const :: windows :: Guid , riid : * const :: windows :: Guid , pdatasize : * mut u32 , pdatabuffer : * mut :: std :: ffi :: c_void , hrfault : :: windows :: HRESULT , ) , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IClassActivator ( :: windows :: IUnknown ) ; impl IClassActivator { pub unsafe fn GetClassObject < T : :: windows :: Interface > ( & self , rclsid : * const :: windows :: Guid , dwclasscontext : u32 , locale : u32 , ) -> :: windows :: Result < T > { let mut result__ = :: std :: option :: Option :: None ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( rclsid ) , :: std :: mem :: transmute ( dwclasscontext ) , :: std :: mem :: transmute ( locale ) , & < T as :: windows :: Interface > :: IID , :: windows :: Abi :: set_abi ( & mut result__ ) ) . and_some ( result__ ) } } unsafe impl :: windows :: Interface for IClassActivator { type Vtable = IClassActivator_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 320 ,0 ,0 , [ 192 ,0 ,0 ,0 ,0 ,0 ,0 ,70 ] , ) ; } impl :: std :: convert :: From < IClassActivator > for :: windows :: IUnknown { fn from ( value : IClassActivator ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IClassActivator > for :: windows :: IUnknown { fn from ( value : & IClassActivator ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IClassActivator { 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 IClassActivator { 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 IClassActivator_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 , rclsid : * const :: windows :: Guid , dwclasscontext : u32 , locale : u32 , riid : * const :: windows :: Guid , ppv : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IClassFactory ( :: windows :: IUnknown ) ; impl IClassFactory { pub unsafe fn CreateInstance < 'a , T : :: windows :: Interface > ( & self , punkouter : impl :: windows :: IntoParam < 'a , :: windows :: IUnknown > , ) -> :: windows :: Result < T > { let mut result__ = :: std :: option :: Option :: None ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , punkouter . into_param ( ) . abi ( ) , & < T as :: windows :: Interface > :: IID , :: windows :: Abi :: set_abi ( & mut result__ ) ) . and_some ( result__ ) } pub unsafe fn LockServer < 'a , > ( & self , flock : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , flock . into_param ( ) . abi ( ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IClassFactory { type Vtable = IClassFactory_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 1 ,0 ,0 , [ 192 ,0 ,0 ,0 ,0 ,0 ,0 ,70 ] , ) ; } impl :: std :: convert :: From < IClassFactory > for :: windows :: IUnknown { fn from ( value : IClassFactory ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IClassFactory > for :: windows :: IUnknown { fn from ( value : & IClassFactory ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IClassFactory { 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 IClassFactory { 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 IClassFactory_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 , punkouter : :: windows :: RawPtr , riid : * const :: windows :: Guid , ppvobject : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , flock : super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IClassFactory2 ( :: windows :: IUnknown ) ; impl IClassFactory2 { pub unsafe fn CreateInstance < 'a , T : :: windows :: Interface > ( & self , punkouter : impl :: windows :: IntoParam < 'a , :: windows :: IUnknown > , ) -> :: windows :: Result < T > { let mut result__ = :: std :: option :: Option :: None ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , punkouter . into_param ( ) . abi ( ) , & < T as :: windows :: Interface > :: IID , :: windows :: Abi :: set_abi ( & mut result__ ) ) . and_some ( result__ ) } pub unsafe fn LockServer < 'a , > ( & self , flock : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , flock . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn GetLicInfo < > ( & self , plicinfo : * mut LICINFO , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( plicinfo ) , ) . ok ( ) } pub unsafe fn RequestLicKey < > ( & self , dwreserved : u32 , ) -> :: windows :: Result < super::super::Foundation:: BSTR > { let mut result__ : < super::super::Foundation:: BSTR as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwreserved ) , & mut result__ ) . from_abi :: < super::super::Foundation:: BSTR > ( result__ ) } pub unsafe fn CreateInstanceLic < 'a , > ( & self , punkouter : impl :: windows :: IntoParam < 'a , :: windows :: IUnknown > , punkreserved : impl :: windows :: IntoParam < 'a , :: windows :: IUnknown > , riid : * const :: windows :: Guid , bstrkey : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BSTR > , ppvobj : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , punkouter . into_param ( ) . abi ( ) , punkreserved . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( riid ) , bstrkey . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ppvobj ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IClassFactory2 { type Vtable = IClassFactory2_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2979443343 ,47796 ,4122 , [ 182 ,156 ,0 ,170 ,0 ,52 ,29 ,7 ] , ) ; } impl :: std :: convert :: From < IClassFactory2 > for :: windows :: IUnknown { fn from ( value : IClassFactory2 ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IClassFactory2 > for :: windows :: IUnknown { fn from ( value : & IClassFactory2 ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IClassFactory2 { 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 IClassFactory2 { 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 < IClassFactory2 > for IClassFactory { fn from ( value : IClassFactory2 ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IClassFactory2 > for IClassFactory { fn from ( value : & IClassFactory2 ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IClassFactory > for IClassFactory2 { fn into_param ( self ) -> :: windows :: Param < 'a , IClassFactory > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IClassFactory > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IClassFactory > for & 'a IClassFactory2 { fn into_param ( self ) -> :: windows :: Param < 'a , IClassFactory > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IClassFactory > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IClassFactory2_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 , punkouter : :: windows :: RawPtr , riid : * const :: windows :: Guid , ppvobject : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , flock : super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , plicinfo : * mut LICINFO , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwreserved : u32 , pbstrkey : * mut super::super::Foundation:: BSTR_abi , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , punkouter : :: windows :: RawPtr , punkreserved : :: windows :: RawPtr , riid : * const :: windows :: Guid , bstrkey : super::super::Foundation:: BSTR_abi , ppvobj : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IClientSecurity ( :: windows :: IUnknown ) ; impl IClientSecurity { pub unsafe fn QueryBlanket < 'a , > ( & self , pproxy : impl :: windows :: IntoParam < 'a , :: windows :: IUnknown > , pauthnsvc : * mut u32 , pauthzsvc : * mut u32 , pserverprincname : * mut * mut u16 , pauthnlevel : * mut RPC_C_AUTHN_LEVEL , pimplevel : * mut RPC_C_IMP_LEVEL , pauthinfo : * mut * mut :: std :: ffi :: c_void , pcapabilites : * mut EOLE_AUTHENTICATION_CAPABILITIES , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , pproxy . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pauthnsvc ) , :: std :: mem :: transmute ( pauthzsvc ) , :: std :: mem :: transmute ( pserverprincname ) , :: std :: mem :: transmute ( pauthnlevel ) , :: std :: mem :: transmute ( pimplevel ) , :: std :: mem :: transmute ( pauthinfo ) , :: std :: mem :: transmute ( pcapabilites ) , ) . ok ( ) } pub unsafe fn SetBlanket < 'a , > ( & self , pproxy : impl :: windows :: IntoParam < 'a , :: windows :: IUnknown > , dwauthnsvc : u32 , dwauthzsvc : u32 , pserverprincname : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , dwauthnlevel : RPC_C_AUTHN_LEVEL , dwimplevel : RPC_C_IMP_LEVEL , pauthinfo : * mut :: std :: ffi :: c_void , dwcapabilities : EOLE_AUTHENTICATION_CAPABILITIES , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , pproxy . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwauthnsvc ) , :: std :: mem :: transmute ( dwauthzsvc ) , pserverprincname . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwauthnlevel ) , :: std :: mem :: transmute ( dwimplevel ) , :: std :: mem :: transmute ( pauthinfo ) , :: std :: mem :: transmute ( dwcapabilities ) , ) . ok ( ) } pub unsafe fn CopyProxy < 'a , > ( & self , pproxy : impl :: windows :: IntoParam < 'a , :: windows :: IUnknown > , ) -> :: windows :: Result < :: windows :: IUnknown > { let mut result__ : < :: windows :: IUnknown as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , pproxy . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < :: windows :: IUnknown > ( result__ ) } } unsafe impl :: windows :: Interface for IClientSecurity { type Vtable = IClientSecurity_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 317 ,0 ,0 , [ 192 ,0 ,0 ,0 ,0 ,0 ,0 ,70 ] , ) ; } impl :: std :: convert :: From < IClientSecurity > for :: windows :: IUnknown { fn from ( value : IClientSecurity ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IClientSecurity > for :: windows :: IUnknown { fn from ( value : & IClientSecurity ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IClientSecurity { 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 IClientSecurity { 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 IClientSecurity_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 , pproxy : :: windows :: RawPtr , pauthnsvc : * mut u32 , pauthzsvc : * mut u32 , pserverprincname : * mut * mut u16 , pauthnlevel : * mut RPC_C_AUTHN_LEVEL , pimplevel : * mut RPC_C_IMP_LEVEL , pauthinfo : * mut * mut :: std :: ffi :: c_void , pcapabilites : * mut EOLE_AUTHENTICATION_CAPABILITIES , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pproxy : :: windows :: RawPtr , dwauthnsvc : u32 , dwauthzsvc : u32 , pserverprincname : super::super::Foundation:: PWSTR , dwauthnlevel : RPC_C_AUTHN_LEVEL , dwimplevel : RPC_C_IMP_LEVEL , pauthinfo : * mut :: std :: ffi :: c_void , dwcapabilities : EOLE_AUTHENTICATION_CAPABILITIES , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pproxy : :: windows :: RawPtr , ppcopy : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct ICodeInstall ( :: windows :: IUnknown ) ; impl ICodeInstall { pub unsafe fn GetWindow < > ( & self , rguidreason : * const :: windows :: Guid , ) -> :: windows :: Result < super::super::Foundation:: HWND > { let mut result__ : < super::super::Foundation:: HWND as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( rguidreason ) , & mut result__ ) . from_abi :: < super::super::Foundation:: HWND > ( result__ ) } pub unsafe fn OnCodeInstallProblem < 'a , > ( & self , ulstatuscode : u32 , szdestination : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , szsource : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , dwreserved : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ulstatuscode ) , szdestination . into_param ( ) . abi ( ) , szsource . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwreserved ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for ICodeInstall { type Vtable = ICodeInstall_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2045430225 ,47865 ,4558 , [ 140 ,130 ,0 ,170 ,0 ,75 ,169 ,11 ] , ) ; } impl :: std :: convert :: From < ICodeInstall > for :: windows :: IUnknown { fn from ( value : ICodeInstall ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & ICodeInstall > for :: windows :: IUnknown { fn from ( value : & ICodeInstall ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for ICodeInstall { 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 ICodeInstall { 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 < ICodeInstall > for IWindowForBindingUI { fn from ( value : ICodeInstall ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & ICodeInstall > for IWindowForBindingUI { fn from ( value : & ICodeInstall ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IWindowForBindingUI > for ICodeInstall { fn into_param ( self ) -> :: windows :: Param < 'a , IWindowForBindingUI > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IWindowForBindingUI > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IWindowForBindingUI > for & 'a ICodeInstall { fn into_param ( self ) -> :: windows :: Param < 'a , IWindowForBindingUI > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IWindowForBindingUI > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct ICodeInstall_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 , rguidreason : * const :: windows :: Guid , phwnd : * mut super::super::Foundation:: HWND , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ulstatuscode : u32 , szdestination : super::super::Foundation:: PWSTR , szsource : super::super::Foundation:: PWSTR , dwreserved : u32 , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IComThreadingInfo ( :: windows :: IUnknown ) ; impl IComThreadingInfo { pub unsafe fn GetCurrentApartmentType < > ( & self , ) -> :: windows :: Result < APTTYPE > { let mut result__ : < APTTYPE as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < APTTYPE > ( result__ ) } pub unsafe fn GetCurrentThreadType < > ( & self , ) -> :: windows :: Result < THDTYPE > { let mut result__ : < THDTYPE as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < THDTYPE > ( result__ ) } pub unsafe fn GetCurrentLogicalThreadId < > ( & self , ) -> :: windows :: Result < :: windows :: Guid > { let mut result__ : < :: windows :: Guid as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < :: windows :: Guid > ( result__ ) } pub unsafe fn SetCurrentLogicalThreadId < > ( & self , rguid : * const :: windows :: Guid , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( rguid ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IComThreadingInfo { type Vtable = IComThreadingInfo_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 462 ,0 ,0 , [ 192 ,0 ,0 ,0 ,0 ,0 ,0 ,70 ] , ) ; } impl :: std :: convert :: From < IComThreadingInfo > for :: windows :: IUnknown { fn from ( value : IComThreadingInfo ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IComThreadingInfo > for :: windows :: IUnknown { fn from ( value : & IComThreadingInfo ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IComThreadingInfo { 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 IComThreadingInfo { 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 IComThreadingInfo_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 , papttype : * mut APTTYPE , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pthreadtype : * mut THDTYPE , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pguidlogicalthreadid : * mut :: windows :: Guid , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , rguid : * const :: windows :: Guid , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IConnectionPoint ( :: windows :: IUnknown ) ; impl IConnectionPoint { pub unsafe fn GetConnectionInterface < > ( & self , ) -> :: windows :: Result < :: windows :: Guid > { let mut result__ : < :: windows :: Guid as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < :: windows :: Guid > ( result__ ) } pub unsafe fn GetConnectionPointContainer < > ( & self , ) -> :: windows :: Result < IConnectionPointContainer > { let mut result__ : < IConnectionPointContainer as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < IConnectionPointContainer > ( result__ ) } pub unsafe fn Advise < 'a , > ( & self , punksink : impl :: windows :: IntoParam < 'a , :: windows :: IUnknown > , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , punksink . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn Unadvise < > ( & self , dwcookie : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwcookie ) , ) . ok ( ) } pub unsafe fn EnumConnections < > ( & self , ) -> :: windows :: Result < IEnumConnections > { let mut result__ : < IEnumConnections as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < IEnumConnections > ( result__ ) } } unsafe impl :: windows :: Interface for IConnectionPoint { type Vtable = IConnectionPoint_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2979443334 ,47796 ,4122 , [ 182 ,156 ,0 ,170 ,0 ,52 ,29 ,7 ] , ) ; } impl :: std :: convert :: From < IConnectionPoint > for :: windows :: IUnknown { fn from ( value : IConnectionPoint ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IConnectionPoint > for :: windows :: IUnknown { fn from ( value : & IConnectionPoint ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IConnectionPoint { 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 IConnectionPoint { 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 IConnectionPoint_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 , piid : * mut :: windows :: Guid , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppcpc : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , punksink : :: windows :: RawPtr , pdwcookie : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwcookie : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppenum : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , ) ; # [ 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 ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug , :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy ) ] pub struct IContext ( pub u8 ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IContextCallback ( :: windows :: IUnknown ) ; impl IContextCallback { pub unsafe fn ContextCallback < 'a , > ( & self , pfncallback : :: std :: option :: Option < PFNCONTEXTCALL > , pparam : * mut ComCallData , riid : * const :: windows :: Guid , imethod : i32 , punk : impl :: windows :: IntoParam < 'a , :: windows :: IUnknown > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pfncallback ) , :: std :: mem :: transmute ( pparam ) , :: std :: mem :: transmute ( riid ) , :: std :: mem :: transmute ( imethod ) , punk . into_param ( ) . abi ( ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IContextCallback { type Vtable = IContextCallback_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 474 ,0 ,0 , [ 192 ,0 ,0 ,0 ,0 ,0 ,0 ,70 ] , ) ; } impl :: std :: convert :: From < IContextCallback > for :: windows :: IUnknown { fn from ( value : IContextCallback ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IContextCallback > for :: windows :: IUnknown { fn from ( value : & IContextCallback ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IContextCallback { 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 IContextCallback { 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 IContextCallback_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 , pfncallback : :: windows :: RawPtr , pparam : * mut ComCallData , riid : * const :: windows :: Guid , imethod : i32 , punk : :: windows :: RawPtr , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IContinue ( :: windows :: IUnknown ) ; impl IContinue { pub unsafe fn FContinue < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IContinue { type Vtable = IContinue_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 298 ,0 ,0 , [ 192 ,0 ,0 ,0 ,0 ,0 ,0 ,70 ] , ) ; } impl :: std :: convert :: From < IContinue > for :: windows :: IUnknown { fn from ( value : IContinue ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IContinue > for :: windows :: IUnknown { fn from ( value : & IContinue ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IContinue { 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 IContinue { 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 IContinue_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 , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IContinueCallback ( :: windows :: IUnknown ) ; impl IContinueCallback { pub unsafe fn FContinue < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn FContinuePrinting < 'a , > ( & self , ncntprinted : i32 , ncurpage : i32 , pwszprintstatus : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ncntprinted ) , :: std :: mem :: transmute ( ncurpage ) , pwszprintstatus . into_param ( ) . abi ( ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IContinueCallback { type Vtable = IContinueCallback_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3072507082 ,20072 ,4123 , [ 162 ,188 ,0 ,170 ,0 ,64 ,71 ,112 ] , ) ; } impl :: std :: convert :: From < IContinueCallback > for :: windows :: IUnknown { fn from ( value : IContinueCallback ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IContinueCallback > for :: windows :: IUnknown { fn from ( value : & IContinueCallback ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IContinueCallback { 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 IContinueCallback { 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 IContinueCallback_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 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ncntprinted : i32 , ncurpage : i32 , pwszprintstatus : super::super::Foundation:: PWSTR , ) -> :: windows :: HRESULT , ) ; pub const IDC_BZ_ICON : u32 = 601u32 ; pub const IDC_BZ_MESSAGE1 : u32 = 602u32 ; pub const IDC_BZ_RETRY : u32 = 600u32 ; pub const IDC_BZ_SWITCHTO : u32 = 604u32 ; pub const IDC_CI_BROWSE : u32 = 130u32 ; pub const IDC_CI_CURRENT : u32 = 121u32 ; pub const IDC_CI_CURRENTICON : u32 = 122u32 ; pub const IDC_CI_DEFAULT : u32 = 123u32 ; pub const IDC_CI_DEFAULTICON : u32 = 124u32 ; pub const IDC_CI_FROMFILE : u32 = 125u32 ; pub const IDC_CI_FROMFILEEDIT : u32 = 126u32 ; pub const IDC_CI_GROUP : u32 = 120u32 ; pub const IDC_CI_ICONDISPLAY : u32 = 131u32 ; pub const IDC_CI_ICONLIST : u32 = 127u32 ; pub const IDC_CI_LABEL : u32 = 128u32 ; pub const IDC_CI_LABELEDIT : u32 = 129u32 ; pub const IDC_CV_ACTIVATEAS : u32 = 156u32 ; pub const IDC_CV_ACTIVATELIST : u32 = 154u32 ; pub const IDC_CV_CHANGEICON : u32 = 153u32 ; pub const IDC_CV_CONVERTLIST : u32 = 158u32 ; pub const IDC_CV_CONVERTTO : u32 = 155u32 ; pub const IDC_CV_DISPLAYASICON : u32 = 152u32 ; pub const IDC_CV_ICONDISPLAY : u32 = 165u32 ; pub const IDC_CV_OBJECTTYPE : u32 = 150u32 ; pub const IDC_CV_RESULTTEXT : u32 = 157u32 ; pub const IDC_EL_AUTOMATIC : u32 = 202u32 ; pub const IDC_EL_CANCELLINK : u32 = 209u32 ; pub const IDC_EL_CHANGESOURCE : u32 = 201u32 ; pub const IDC_EL_COL1 : u32 = 220u32 ; pub const IDC_EL_COL2 : u32 = 221u32 ; pub const IDC_EL_COL3 : u32 = 222u32 ; pub const IDC_EL_LINKSLISTBOX : u32 = 206u32 ; pub const IDC_EL_LINKSOURCE : u32 = 216u32 ; pub const IDC_EL_LINKTYPE : u32 = 217u32 ; pub const IDC_EL_MANUAL : u32 = 212u32 ; pub const IDC_EL_OPENSOURCE : u32 = 211u32 ; pub const IDC_EL_UPDATENOW : u32 = 210u32 ; pub const IDC_GP_CONVERT : u32 = 1013u32 ; pub const IDC_GP_OBJECTICON : u32 = 1014u32 ; pub const IDC_GP_OBJECTLOCATION : u32 = 1022u32 ; pub const IDC_GP_OBJECTNAME : u32 = 1009u32 ; pub const IDC_GP_OBJECTSIZE : u32 = 1011u32 ; pub const IDC_GP_OBJECTTYPE : u32 = 1010u32 ; pub const IDC_IO_ADDCONTROL : u32 = 2115u32 ; pub const IDC_IO_CHANGEICON : u32 = 2105u32 ; pub const IDC_IO_CONTROLTYPELIST : u32 = 2116u32 ; pub const IDC_IO_CREATEFROMFILE : u32 = 2101u32 ; pub const IDC_IO_CREATENEW : u32 = 2100u32 ; pub const IDC_IO_DISPLAYASICON : u32 = 2104u32 ; pub const IDC_IO_FILE : u32 = 2106u32 ; pub const IDC_IO_FILEDISPLAY : u32 = 2107u32 ; pub const IDC_IO_FILETEXT : u32 = 2112u32 ; pub const IDC_IO_FILETYPE : u32 = 2113u32 ; pub const IDC_IO_ICONDISPLAY : u32 = 2110u32 ; pub const IDC_IO_INSERTCONTROL : u32 = 2114u32 ; pub const IDC_IO_LINKFILE : u32 = 2102u32 ; pub const IDC_IO_OBJECTTYPELIST : u32 = 2103u32 ; pub const IDC_IO_OBJECTTYPETEXT : u32 = 2111u32 ; pub const IDC_IO_RESULTIMAGE : u32 = 2108u32 ; pub const IDC_IO_RESULTTEXT : u32 = 2109u32 ; pub const IDC_LP_AUTOMATIC : u32 = 1016u32 ; pub const IDC_LP_BREAKLINK : u32 = 1008u32 ; pub const IDC_LP_CHANGESOURCE : u32 = 1015u32 ; pub const IDC_LP_DATE : u32 = 1018u32 ; pub const IDC_LP_LINKSOURCE : u32 = 1012u32 ; pub const IDC_LP_MANUAL : u32 = 1017u32 ; pub const IDC_LP_OPENSOURCE : u32 = 1006u32 ; pub const IDC_LP_TIME : u32 = 1019u32 ; pub const IDC_LP_UPDATENOW : u32 = 1007u32 ; pub const IDC_OLEUIHELP : u32 = 99u32 ; pub const IDC_PS_CHANGEICON : u32 = 508u32 ; pub const IDC_PS_DISPLAYASICON : u32 = 506u32 ; pub const IDC_PS_DISPLAYLIST : u32 = 505u32 ; pub const IDC_PS_ICONDISPLAY : u32 = 507u32 ; pub const IDC_PS_PASTE : u32 = 500u32 ; pub const IDC_PS_PASTELINK : u32 = 501u32 ; pub const IDC_PS_PASTELINKLIST : u32 = 504u32 ; pub const IDC_PS_PASTELIST : u32 = 503u32 ; pub const IDC_PS_RESULTIMAGE : u32 = 509u32 ; pub const IDC_PS_RESULTTEXT : u32 = 510u32 ; pub const IDC_PS_SOURCETEXT : u32 = 502u32 ; pub const IDC_PU_CONVERT : u32 = 902u32 ; pub const IDC_PU_ICON : u32 = 908u32 ; pub const IDC_PU_LINKS : u32 = 900u32 ; pub const IDC_PU_TEXT : u32 = 901u32 ; pub const IDC_UL_METER : u32 = 1029u32 ; pub const IDC_UL_PERCENT : u32 = 1031u32 ; pub const IDC_UL_PROGRESS : u32 = 1032u32 ; pub const IDC_UL_STOP : u32 = 1030u32 ; pub const IDC_VP_ASICON : u32 = 1003u32 ; pub const IDC_VP_CHANGEICON : u32 = 1001u32 ; pub const IDC_VP_EDITABLE : u32 = 1002u32 ; pub const IDC_VP_ICONDISPLAY : u32 = 1021u32 ; pub const IDC_VP_PERCENT : u32 = 1000u32 ; pub const IDC_VP_RELATIVE : u32 = 1005u32 ; pub const IDC_VP_RESULTIMAGE : u32 = 1033u32 ; pub const IDC_VP_SCALETXT : u32 = 1034u32 ; pub const IDC_VP_SPIN : u32 = 1006u32 ; pub const IDD_BUSY : u32 = 1006u32 ; pub const IDD_CANNOTUPDATELINK : u32 = 1008u32 ; pub const IDD_CHANGEICON : u32 = 1001u32 ; pub const IDD_CHANGEICONBROWSE : u32 = 1011u32 ; pub const IDD_CHANGESOURCE : u32 = 1009u32 ; pub const IDD_CHANGESOURCE4 : u32 = 1013u32 ; pub const IDD_CONVERT : u32 = 1002u32 ; pub const IDD_CONVERT4 : u32 = 1103u32 ; pub const IDD_CONVERTONLY : u32 = 1012u32 ; pub const IDD_CONVERTONLY4 : u32 = 1104u32 ; pub const IDD_EDITLINKS : u32 = 1004u32 ; pub const IDD_EDITLINKS4 : u32 = 1105u32 ; pub const IDD_GNRLPROPS : u32 = 1100u32 ; pub const IDD_GNRLPROPS4 : u32 = 1106u32 ; pub const IDD_INSERTFILEBROWSE : u32 = 1010u32 ; pub const IDD_INSERTOBJECT : u32 = 1000u32 ; pub const IDD_LINKPROPS : u32 = 1102u32 ; pub const IDD_LINKPROPS4 : u32 = 1107u32 ; pub const IDD_LINKSOURCEUNAVAILABLE : u32 = 1020u32 ; pub const IDD_LINKTYPECHANGEDA : u32 = 1026u32 ; pub const IDD_LINKTYPECHANGEDW : u32 = 1022u32 ; pub const IDD_OUTOFMEMORY : u32 = 1024u32 ; pub const IDD_PASTESPECIAL : u32 = 1003u32 ; pub const IDD_PASTESPECIAL4 : u32 = 1108u32 ; pub const IDD_SERVERNOTFOUND : u32 = 1023u32 ; pub const IDD_SERVERNOTREGA : u32 = 1025u32 ; pub const IDD_SERVERNOTREGW : u32 = 1021u32 ; pub const IDD_UPDATELINKS : u32 = 1007u32 ; pub const IDD_VIEWPROPS : u32 = 1101u32 ; pub const ID_BROWSE_ADDCONTROL : u32 = 3u32 ; pub const ID_BROWSE_CHANGEICON : u32 = 1u32 ; pub const ID_BROWSE_CHANGESOURCE : u32 = 4u32 ; pub const ID_BROWSE_INSERTFILE : u32 = 2u32 ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IDataAdviseHolder ( :: windows :: IUnknown ) ; impl IDataAdviseHolder { pub unsafe fn Advise < 'a , > ( & self , pdataobject : impl :: windows :: IntoParam < 'a , IDataObject > , pfetc : * mut FORMATETC , advf : u32 , padvise : impl :: windows :: IntoParam < 'a , IAdviseSink > , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , pdataobject . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pfetc ) , :: std :: mem :: transmute ( advf ) , padvise . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn Unadvise < > ( & self , dwconnection : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwconnection ) , ) . ok ( ) } pub unsafe fn EnumAdvise < > ( & self , ) -> :: windows :: Result < IEnumSTATDATA > { let mut result__ : < IEnumSTATDATA as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < IEnumSTATDATA > ( result__ ) } pub unsafe fn SendOnDataChange < 'a , > ( & self , pdataobject : impl :: windows :: IntoParam < 'a , IDataObject > , dwreserved : u32 , advf : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , pdataobject . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwreserved ) , :: std :: mem :: transmute ( advf ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IDataAdviseHolder { type Vtable = IDataAdviseHolder_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 272 ,0 ,0 , [ 192 ,0 ,0 ,0 ,0 ,0 ,0 ,70 ] , ) ; } impl :: std :: convert :: From < IDataAdviseHolder > for :: windows :: IUnknown { fn from ( value : IDataAdviseHolder ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IDataAdviseHolder > for :: windows :: IUnknown { fn from ( value : & IDataAdviseHolder ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IDataAdviseHolder { 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 IDataAdviseHolder { 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 IDataAdviseHolder_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 , pdataobject : :: windows :: RawPtr , pfetc : * mut FORMATETC , advf : u32 , padvise : :: windows :: RawPtr , pdwconnection : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwconnection : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppenumadvise : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pdataobject : :: windows :: RawPtr , dwreserved : u32 , advf : u32 , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IDataFilter ( :: windows :: IUnknown ) ; impl IDataFilter { pub unsafe fn DoEncode < > ( & self , dwflags : u32 , linbuffersize : i32 , pbinbuffer : * mut u8 , loutbuffersize : i32 , pboutbuffer : * mut u8 , linbytesavailable : i32 , plinbytesread : * mut i32 , ploutbyteswritten : * mut i32 , dwreserved : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwflags ) , :: std :: mem :: transmute ( linbuffersize ) , :: std :: mem :: transmute ( pbinbuffer ) , :: std :: mem :: transmute ( loutbuffersize ) , :: std :: mem :: transmute ( pboutbuffer ) , :: std :: mem :: transmute ( linbytesavailable ) , :: std :: mem :: transmute ( plinbytesread ) , :: std :: mem :: transmute ( ploutbyteswritten ) , :: std :: mem :: transmute ( dwreserved ) , ) . ok ( ) } pub unsafe fn DoDecode < > ( & self , dwflags : u32 , linbuffersize : i32 , pbinbuffer : * mut u8 , loutbuffersize : i32 , pboutbuffer : * mut u8 , linbytesavailable : i32 , plinbytesread : * mut i32 , ploutbyteswritten : * mut i32 , dwreserved : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwflags ) , :: std :: mem :: transmute ( linbuffersize ) , :: std :: mem :: transmute ( pbinbuffer ) , :: std :: mem :: transmute ( loutbuffersize ) , :: std :: mem :: transmute ( pboutbuffer ) , :: std :: mem :: transmute ( linbytesavailable ) , :: std :: mem :: transmute ( plinbytesread ) , :: std :: mem :: transmute ( ploutbyteswritten ) , :: std :: mem :: transmute ( dwreserved ) , ) . ok ( ) } pub unsafe fn SetEncodingLevel < > ( & self , dwenclevel : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwenclevel ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IDataFilter { type Vtable = IDataFilter_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 1775324288 ,49550 ,4560 , [ 169 ,206 ,0 ,96 ,151 ,148 ,35 ,17 ] , ) ; } impl :: std :: convert :: From < IDataFilter > for :: windows :: IUnknown { fn from ( value : IDataFilter ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IDataFilter > for :: windows :: IUnknown { fn from ( value : & IDataFilter ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IDataFilter { 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 IDataFilter { 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 IDataFilter_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 , dwflags : u32 , linbuffersize : i32 , pbinbuffer : * mut u8 , loutbuffersize : i32 , pboutbuffer : * mut u8 , linbytesavailable : i32 , plinbytesread : * mut i32 , ploutbyteswritten : * mut i32 , dwreserved : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwflags : u32 , linbuffersize : i32 , pbinbuffer : * mut u8 , loutbuffersize : i32 , pboutbuffer : * mut u8 , linbytesavailable : i32 , plinbytesread : * mut i32 , ploutbyteswritten : * mut i32 , dwreserved : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwenclevel : u32 , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IDataObject ( :: windows :: IUnknown ) ; impl IDataObject { pub unsafe fn GetData < > ( & self , pformatetcin : * mut FORMATETC , ) -> :: windows :: Result < STGMEDIUM > { let mut result__ : < STGMEDIUM as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pformatetcin ) , & mut result__ ) . from_abi :: < STGMEDIUM > ( result__ ) } pub unsafe fn GetDataHere < > ( & self , pformatetc : * mut FORMATETC , pmedium : * mut STGMEDIUM , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pformatetc ) , :: std :: mem :: transmute ( pmedium ) , ) . ok ( ) } pub unsafe fn QueryGetData < > ( & self , pformatetc : * mut FORMATETC , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pformatetc ) , ) . ok ( ) } pub unsafe fn GetCanonicalFormatEtc < > ( & self , pformatectin : * mut FORMATETC , ) -> :: windows :: Result < FORMATETC > { let mut result__ : < FORMATETC as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pformatectin ) , & mut result__ ) . from_abi :: < FORMATETC > ( result__ ) } pub unsafe fn SetData < 'a , > ( & self , pformatetc : * mut FORMATETC , pmedium : * mut STGMEDIUM , frelease : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pformatetc ) , :: std :: mem :: transmute ( pmedium ) , frelease . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn EnumFormatEtc < > ( & self , dwdirection : u32 , ) -> :: windows :: Result < IEnumFORMATETC > { let mut result__ : < IEnumFORMATETC as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwdirection ) , & mut result__ ) . from_abi :: < IEnumFORMATETC > ( result__ ) } pub unsafe fn DAdvise < 'a , > ( & self , pformatetc : * mut FORMATETC , advf : u32 , padvsink : impl :: windows :: IntoParam < 'a , IAdviseSink > , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pformatetc ) , :: std :: mem :: transmute ( advf ) , padvsink . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn DUnadvise < > ( & self , dwconnection : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwconnection ) , ) . ok ( ) } pub unsafe fn EnumDAdvise < > ( & self , ) -> :: windows :: Result < IEnumSTATDATA > { let mut result__ : < IEnumSTATDATA as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .11 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < IEnumSTATDATA > ( result__ ) } } unsafe impl :: windows :: Interface for IDataObject { type Vtable = IDataObject_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 270 ,0 ,0 , [ 192 ,0 ,0 ,0 ,0 ,0 ,0 ,70 ] , ) ; } impl :: std :: convert :: From < IDataObject > for :: windows :: IUnknown { fn from ( value : IDataObject ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IDataObject > for :: windows :: IUnknown { fn from ( value : & IDataObject ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IDataObject { 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 IDataObject { 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 IDataObject_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 , pformatetcin : * mut FORMATETC , pmedium : * mut STGMEDIUM_abi , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pformatetc : * mut FORMATETC , pmedium : * mut STGMEDIUM_abi , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pformatetc : * mut FORMATETC , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pformatectin : * mut FORMATETC , pformatetcout : * mut FORMATETC , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pformatetc : * mut FORMATETC , pmedium : * mut STGMEDIUM_abi , frelease : super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwdirection : u32 , ppenumformatetc : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pformatetc : * mut FORMATETC , advf : u32 , padvsink : :: windows :: RawPtr , pdwconnection : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwconnection : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppenumadvise : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IDropSource ( :: windows :: IUnknown ) ; impl IDropSource { pub unsafe fn QueryContinueDrag < 'a , > ( & self , fescapepressed : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , grfkeystate : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , fescapepressed . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( grfkeystate ) , ) . ok ( ) } pub unsafe fn GiveFeedback < > ( & self , dweffect : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dweffect ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IDropSource { type Vtable = IDropSource_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 289 ,0 ,0 , [ 192 ,0 ,0 ,0 ,0 ,0 ,0 ,70 ] , ) ; } impl :: std :: convert :: From < IDropSource > for :: windows :: IUnknown { fn from ( value : IDropSource ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IDropSource > for :: windows :: IUnknown { fn from ( value : & IDropSource ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IDropSource { 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 IDropSource { 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 IDropSource_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 , fescapepressed : super::super::Foundation:: BOOL , grfkeystate : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dweffect : u32 , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IDropSourceNotify ( :: windows :: IUnknown ) ; impl IDropSourceNotify { pub unsafe fn DragEnterTarget < 'a , > ( & self , hwndtarget : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HWND > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , hwndtarget . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn DragLeaveTarget < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IDropSourceNotify { type Vtable = IDropSourceNotify_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 299 ,0 ,0 , [ 192 ,0 ,0 ,0 ,0 ,0 ,0 ,70 ] , ) ; } impl :: std :: convert :: From < IDropSourceNotify > for :: windows :: IUnknown { fn from ( value : IDropSourceNotify ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IDropSourceNotify > for :: windows :: IUnknown { fn from ( value : & IDropSourceNotify ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IDropSourceNotify { 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 IDropSourceNotify { 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 IDropSourceNotify_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 , hwndtarget : super::super::Foundation:: HWND , ) -> :: 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 IDropTarget ( :: windows :: IUnknown ) ; impl IDropTarget { pub unsafe fn DragEnter < 'a , > ( & self , pdataobj : impl :: windows :: IntoParam < 'a , IDataObject > , grfkeystate : u32 , pt : impl :: windows :: IntoParam < 'a , super::super::Foundation:: POINTL > , pdweffect : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , pdataobj . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( grfkeystate ) , pt . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pdweffect ) , ) . ok ( ) } pub unsafe fn DragOver < 'a , > ( & self , grfkeystate : u32 , pt : impl :: windows :: IntoParam < 'a , super::super::Foundation:: POINTL > , pdweffect : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( grfkeystate ) , pt . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pdweffect ) , ) . ok ( ) } pub unsafe fn DragLeave < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn Drop < 'a , > ( & self , pdataobj : impl :: windows :: IntoParam < 'a , IDataObject > , grfkeystate : u32 , pt : impl :: windows :: IntoParam < 'a , super::super::Foundation:: POINTL > , pdweffect : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , pdataobj . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( grfkeystate ) , pt . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pdweffect ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IDropTarget { type Vtable = IDropTarget_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 290 ,0 ,0 , [ 192 ,0 ,0 ,0 ,0 ,0 ,0 ,70 ] , ) ; } impl :: std :: convert :: From < IDropTarget > for :: windows :: IUnknown { fn from ( value : IDropTarget ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IDropTarget > for :: windows :: IUnknown { fn from ( value : & IDropTarget ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IDropTarget { 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 IDropTarget { 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 IDropTarget_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 , pdataobj : :: windows :: RawPtr , grfkeystate : u32 , pt : super::super::Foundation:: POINTL , pdweffect : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , grfkeystate : u32 , pt : super::super::Foundation:: POINTL , pdweffect : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pdataobj : :: windows :: RawPtr , grfkeystate : u32 , pt : super::super::Foundation:: POINTL , pdweffect : * mut u32 , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IDummyHICONIncluder ( :: windows :: IUnknown ) ; impl IDummyHICONIncluder { pub unsafe fn Dummy < 'a , > ( & self , h1 : impl :: windows :: IntoParam < 'a , super::super::UI::WindowsAndMessaging:: HICON > , h2 : impl :: windows :: IntoParam < 'a , super::super::Graphics::Gdi:: HDC > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , h1 . into_param ( ) . abi ( ) , h2 . into_param ( ) . abi ( ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IDummyHICONIncluder { type Vtable = IDummyHICONIncluder_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2490994910 ,52264 ,4562 , [ 160 ,247 ,0 ,128 ,95 ,133 ,143 ,177 ] , ) ; } impl :: std :: convert :: From < IDummyHICONIncluder > for :: windows :: IUnknown { fn from ( value : IDummyHICONIncluder ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IDummyHICONIncluder > for :: windows :: IUnknown { fn from ( value : & IDummyHICONIncluder ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IDummyHICONIncluder { 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 IDummyHICONIncluder { 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 IDummyHICONIncluder_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 , h1 : super::super::UI::WindowsAndMessaging:: HICON , h2 : super::super::Graphics::Gdi:: HDC , ) -> :: windows :: HRESULT , ) ; pub unsafe fn IEGetUserPrivateNamespaceName < > ( ) -> super::super::Foundation:: PWSTR { # [ cfg ( windows ) ] { # [ link ( name ="urlmon" ) ] extern "system" { fn IEGetUserPrivateNamespaceName ( ) -> super::super::Foundation:: PWSTR ; } IEGetUserPrivateNamespaceName ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn IEInstallScope < > ( ) -> :: windows :: Result < u32 > { # [ cfg ( windows ) ] { # [ link ( name ="urlmon" ) ] extern "system" { fn IEInstallScope ( pdwscope : * mut u32 ) -> :: windows :: HRESULT ; } let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; IEInstallScope ( & mut result__ ) . from_abi :: < u32 > ( result__ ) } # [ 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 IEObjectType ( pub i32 ) ; pub const IE_EPM_OBJECT_EVENT : IEObjectType = IEObjectType ( 0i32 ) ; pub const IE_EPM_OBJECT_MUTEX : IEObjectType = IEObjectType ( 1i32 ) ; pub const IE_EPM_OBJECT_SEMAPHORE : IEObjectType = IEObjectType ( 2i32 ) ; pub const IE_EPM_OBJECT_SHARED_MEMORY : IEObjectType = IEObjectType ( 3i32 ) ; pub const IE_EPM_OBJECT_WAITABLE_TIMER : IEObjectType = IEObjectType ( 4i32 ) ; pub const IE_EPM_OBJECT_FILE : IEObjectType = IEObjectType ( 5i32 ) ; pub const IE_EPM_OBJECT_NAMED_PIPE : IEObjectType = IEObjectType ( 6i32 ) ; pub const IE_EPM_OBJECT_REGISTRY : IEObjectType = IEObjectType ( 7i32 ) ; impl :: std :: convert :: From < i32 > for IEObjectType { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for IEObjectType { type Abi = Self ; type DefaultType = Self ; } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IEncodingFilterFactory ( :: windows :: IUnknown ) ; impl IEncodingFilterFactory { pub unsafe fn FindBestFilter < 'a , > ( & self , pwzcodein : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , pwzcodeout : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , info : impl :: windows :: IntoParam < 'a , DATAINFO > , ) -> :: windows :: Result < IDataFilter > { let mut result__ : < IDataFilter as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , pwzcodein . into_param ( ) . abi ( ) , pwzcodeout . into_param ( ) . abi ( ) , info . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < IDataFilter > ( result__ ) } pub unsafe fn GetDefaultFilter < 'a , > ( & self , pwzcodein : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , pwzcodeout : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , ) -> :: windows :: Result < IDataFilter > { let mut result__ : < IDataFilter as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , pwzcodein . into_param ( ) . abi ( ) , pwzcodeout . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < IDataFilter > ( result__ ) } } unsafe impl :: windows :: Interface for IEncodingFilterFactory { type Vtable = IEncodingFilterFactory_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 1891491328 ,49550 ,4560 , [ 169 ,206 ,0 ,96 ,151 ,148 ,35 ,17 ] , ) ; } impl :: std :: convert :: From < IEncodingFilterFactory > for :: windows :: IUnknown { fn from ( value : IEncodingFilterFactory ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IEncodingFilterFactory > for :: windows :: IUnknown { fn from ( value : & IEncodingFilterFactory ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IEncodingFilterFactory { 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 IEncodingFilterFactory { 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 IEncodingFilterFactory_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 , pwzcodein : super::super::Foundation:: PWSTR , pwzcodeout : super::super::Foundation:: PWSTR , info : DATAINFO , ppdf : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pwzcodein : super::super::Foundation:: PWSTR , pwzcodeout : super::super::Foundation:: PWSTR , ppdf : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IEnterpriseDropTarget ( :: windows :: IUnknown ) ; impl IEnterpriseDropTarget { pub unsafe fn SetDropSourceEnterpriseId < 'a , > ( & self , identity : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , identity . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn IsEvaluatingEdpPolicy < > ( & self , ) -> :: windows :: Result < super::super::Foundation:: BOOL > { let mut result__ : < super::super::Foundation:: BOOL as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < super::super::Foundation:: BOOL > ( result__ ) } } unsafe impl :: windows :: Interface for IEnterpriseDropTarget { type Vtable = IEnterpriseDropTarget_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 957233272 ,64853 ,19992 , [ 129 ,157 ,70 ,130 ,8 ,28 ,12 ,253 ] , ) ; } impl :: std :: convert :: From < IEnterpriseDropTarget > for :: windows :: IUnknown { fn from ( value : IEnterpriseDropTarget ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IEnterpriseDropTarget > for :: windows :: IUnknown { fn from ( value : & IEnterpriseDropTarget ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IEnterpriseDropTarget { 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 IEnterpriseDropTarget { 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 IEnterpriseDropTarget_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 , identity : super::super::Foundation:: PWSTR , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IEnumCATEGORYINFO ( :: windows :: IUnknown ) ; impl IEnumCATEGORYINFO { pub unsafe fn Next < > ( & self , celt : u32 , rgelt : * mut CATEGORYINFO , pceltfetched : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( celt ) , :: std :: mem :: transmute ( rgelt ) , :: std :: mem :: transmute ( pceltfetched ) , ) . ok ( ) } pub unsafe fn Skip < > ( & self , celt : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( celt ) , ) . 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 < IEnumCATEGORYINFO > { let mut result__ : < IEnumCATEGORYINFO as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < IEnumCATEGORYINFO > ( result__ ) } } unsafe impl :: windows :: Interface for IEnumCATEGORYINFO { type Vtable = IEnumCATEGORYINFO_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 188433 ,0 ,0 , [ 192 ,0 ,0 ,0 ,0 ,0 ,0 ,70 ] , ) ; } impl :: std :: convert :: From < IEnumCATEGORYINFO > for :: windows :: IUnknown { fn from ( value : IEnumCATEGORYINFO ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IEnumCATEGORYINFO > for :: windows :: IUnknown { fn from ( value : & IEnumCATEGORYINFO ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IEnumCATEGORYINFO { 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 IEnumCATEGORYINFO { 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 IEnumCATEGORYINFO_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 , celt : u32 , rgelt : * mut CATEGORYINFO , pceltfetched : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , celt : 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 , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IEnumConnectionPoints ( :: windows :: IUnknown ) ; impl IEnumConnectionPoints { pub unsafe fn Next < > ( & self , cconnections : u32 , ppcp : * mut :: std :: option :: Option < IConnectionPoint > , pcfetched : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( cconnections ) , :: std :: mem :: transmute ( ppcp ) , :: std :: mem :: transmute ( pcfetched ) , ) . ok ( ) } pub unsafe fn Skip < > ( & self , cconnections : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( cconnections ) , ) . 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 < IEnumConnectionPoints > { let mut result__ : < IEnumConnectionPoints as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < IEnumConnectionPoints > ( result__ ) } } unsafe impl :: windows :: Interface for IEnumConnectionPoints { type Vtable = IEnumConnectionPoints_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2979443333 ,47796 ,4122 , [ 182 ,156 ,0 ,170 ,0 ,52 ,29 ,7 ] , ) ; } impl :: std :: convert :: From < IEnumConnectionPoints > for :: windows :: IUnknown { fn from ( value : IEnumConnectionPoints ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IEnumConnectionPoints > for :: windows :: IUnknown { fn from ( value : & IEnumConnectionPoints ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IEnumConnectionPoints { 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 IEnumConnectionPoints { 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 IEnumConnectionPoints_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 , cconnections : u32 , ppcp : * mut :: windows :: RawPtr , pcfetched : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , cconnections : 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 , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IEnumConnections ( :: windows :: IUnknown ) ; impl IEnumConnections { pub unsafe fn Next < > ( & self , cconnections : u32 , rgcd : * mut CONNECTDATA , pcfetched : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( cconnections ) , :: std :: mem :: transmute ( rgcd ) , :: std :: mem :: transmute ( pcfetched ) , ) . ok ( ) } pub unsafe fn Skip < > ( & self , cconnections : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( cconnections ) , ) . 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 < IEnumConnections > { let mut result__ : < IEnumConnections as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < IEnumConnections > ( result__ ) } } unsafe impl :: windows :: Interface for IEnumConnections { type Vtable = IEnumConnections_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2979443335 ,47796 ,4122 , [ 182 ,156 ,0 ,170 ,0 ,52 ,29 ,7 ] , ) ; } impl :: std :: convert :: From < IEnumConnections > for :: windows :: IUnknown { fn from ( value : IEnumConnections ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IEnumConnections > for :: windows :: IUnknown { fn from ( value : & IEnumConnections ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IEnumConnections { 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 IEnumConnections { 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 IEnumConnections_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 , cconnections : u32 , rgcd : * mut CONNECTDATA_abi , pcfetched : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , cconnections : 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 , ) ; # [ repr ( C ) ] # [ derive ( :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug , :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy ) ] pub struct IEnumContextProps ( pub u8 ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IEnumFORMATETC ( :: windows :: IUnknown ) ; impl IEnumFORMATETC { pub unsafe fn Next < > ( & self , celt : u32 , rgelt : * mut FORMATETC , pceltfetched : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( celt ) , :: std :: mem :: transmute ( rgelt ) , :: std :: mem :: transmute ( pceltfetched ) , ) . ok ( ) } pub unsafe fn Skip < > ( & self , celt : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( celt ) , ) . 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 < IEnumFORMATETC > { let mut result__ : < IEnumFORMATETC as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < IEnumFORMATETC > ( result__ ) } } unsafe impl :: windows :: Interface for IEnumFORMATETC { type Vtable = IEnumFORMATETC_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 259 ,0 ,0 , [ 192 ,0 ,0 ,0 ,0 ,0 ,0 ,70 ] , ) ; } impl :: std :: convert :: From < IEnumFORMATETC > for :: windows :: IUnknown { fn from ( value : IEnumFORMATETC ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IEnumFORMATETC > for :: windows :: IUnknown { fn from ( value : & IEnumFORMATETC ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IEnumFORMATETC { 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 IEnumFORMATETC { 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 IEnumFORMATETC_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 , celt : u32 , rgelt : * mut FORMATETC , pceltfetched : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , celt : 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 , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IEnumGUID ( :: windows :: IUnknown ) ; impl IEnumGUID { pub unsafe fn Next < > ( & self , celt : u32 , rgelt : * mut :: windows :: Guid , pceltfetched : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( celt ) , :: std :: mem :: transmute ( rgelt ) , :: std :: mem :: transmute ( pceltfetched ) , ) . ok ( ) } pub unsafe fn Skip < > ( & self , celt : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( celt ) , ) . 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 < IEnumGUID > { let mut result__ : < IEnumGUID as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < IEnumGUID > ( result__ ) } } unsafe impl :: windows :: Interface for IEnumGUID { type Vtable = IEnumGUID_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 188416 ,0 ,0 , [ 192 ,0 ,0 ,0 ,0 ,0 ,0 ,70 ] , ) ; } impl :: std :: convert :: From < IEnumGUID > for :: windows :: IUnknown { fn from ( value : IEnumGUID ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IEnumGUID > for :: windows :: IUnknown { fn from ( value : & IEnumGUID ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IEnumGUID { 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 IEnumGUID { 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 IEnumGUID_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 , celt : u32 , rgelt : * mut :: windows :: Guid , pceltfetched : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , celt : 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 , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IEnumMoniker ( :: windows :: IUnknown ) ; impl IEnumMoniker { pub unsafe fn Next < > ( & self , celt : u32 , rgelt : * mut :: std :: option :: Option < IMoniker > , pceltfetched : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( celt ) , :: std :: mem :: transmute ( rgelt ) , :: std :: mem :: transmute ( pceltfetched ) , ) . ok ( ) } pub unsafe fn Skip < > ( & self , celt : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( celt ) , ) . 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 < IEnumMoniker > { let mut result__ : < IEnumMoniker as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < IEnumMoniker > ( result__ ) } } unsafe impl :: windows :: Interface for IEnumMoniker { type Vtable = IEnumMoniker_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 258 ,0 ,0 , [ 192 ,0 ,0 ,0 ,0 ,0 ,0 ,70 ] , ) ; } impl :: std :: convert :: From < IEnumMoniker > for :: windows :: IUnknown { fn from ( value : IEnumMoniker ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IEnumMoniker > for :: windows :: IUnknown { fn from ( value : & IEnumMoniker ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IEnumMoniker { 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 IEnumMoniker { 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 IEnumMoniker_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 , celt : u32 , rgelt : * mut :: windows :: RawPtr , pceltfetched : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , celt : 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 , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IEnumOLEVERB ( :: windows :: IUnknown ) ; impl IEnumOLEVERB { pub unsafe fn Next < > ( & self , celt : u32 , rgelt : * mut OLEVERB , pceltfetched : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( celt ) , :: std :: mem :: transmute ( rgelt ) , :: std :: mem :: transmute ( pceltfetched ) , ) . ok ( ) } pub unsafe fn Skip < > ( & self , celt : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( celt ) , ) . 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 < IEnumOLEVERB > { let mut result__ : < IEnumOLEVERB as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < IEnumOLEVERB > ( result__ ) } } unsafe impl :: windows :: Interface for IEnumOLEVERB { type Vtable = IEnumOLEVERB_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 260 ,0 ,0 , [ 192 ,0 ,0 ,0 ,0 ,0 ,0 ,70 ] , ) ; } impl :: std :: convert :: From < IEnumOLEVERB > for :: windows :: IUnknown { fn from ( value : IEnumOLEVERB ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IEnumOLEVERB > for :: windows :: IUnknown { fn from ( value : & IEnumOLEVERB ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IEnumOLEVERB { 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 IEnumOLEVERB { 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 IEnumOLEVERB_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 , celt : u32 , rgelt : * mut OLEVERB , pceltfetched : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , celt : 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 , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IEnumOleDocumentViews ( :: windows :: IUnknown ) ; impl IEnumOleDocumentViews { pub unsafe fn Next < > ( & self , cviews : u32 , rgpview : * mut :: std :: option :: Option < IOleDocumentView > , pcfetched : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( cviews ) , :: std :: mem :: transmute ( rgpview ) , :: std :: mem :: transmute ( pcfetched ) , ) . ok ( ) } pub unsafe fn Skip < > ( & self , cviews : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( cviews ) , ) . 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 < IEnumOleDocumentViews > { let mut result__ : < IEnumOleDocumentViews as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < IEnumOleDocumentViews > ( result__ ) } } unsafe impl :: windows :: Interface for IEnumOleDocumentViews { type Vtable = IEnumOleDocumentViews_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3072507080 ,20072 ,4123 , [ 162 ,188 ,0 ,170 ,0 ,64 ,71 ,112 ] , ) ; } impl :: std :: convert :: From < IEnumOleDocumentViews > for :: windows :: IUnknown { fn from ( value : IEnumOleDocumentViews ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IEnumOleDocumentViews > for :: windows :: IUnknown { fn from ( value : & IEnumOleDocumentViews ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IEnumOleDocumentViews { 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 IEnumOleDocumentViews { 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 IEnumOleDocumentViews_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 , cviews : u32 , rgpview : * mut :: windows :: RawPtr , pcfetched : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , cviews : 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 , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IEnumOleUndoUnits ( :: windows :: IUnknown ) ; impl IEnumOleUndoUnits { pub unsafe fn Next < > ( & self , celt : u32 , rgelt : * mut :: std :: option :: Option < IOleUndoUnit > , pceltfetched : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( celt ) , :: std :: mem :: transmute ( rgelt ) , :: std :: mem :: transmute ( pceltfetched ) , ) . ok ( ) } pub unsafe fn Skip < > ( & self , celt : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( celt ) , ) . 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 < IEnumOleUndoUnits > { let mut result__ : < IEnumOleUndoUnits as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < IEnumOleUndoUnits > ( result__ ) } } unsafe impl :: windows :: Interface for IEnumOleUndoUnits { type Vtable = IEnumOleUndoUnits_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3018310464 ,61335 ,4558 , [ 155 ,201 ,0 ,170 ,0 ,96 ,142 ,1 ] , ) ; } impl :: std :: convert :: From < IEnumOleUndoUnits > for :: windows :: IUnknown { fn from ( value : IEnumOleUndoUnits ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IEnumOleUndoUnits > for :: windows :: IUnknown { fn from ( value : & IEnumOleUndoUnits ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IEnumOleUndoUnits { 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 IEnumOleUndoUnits { 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 IEnumOleUndoUnits_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 , celt : u32 , rgelt : * mut :: windows :: RawPtr , pceltfetched : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , celt : 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 , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IEnumSTATDATA ( :: windows :: IUnknown ) ; impl IEnumSTATDATA { pub unsafe fn Next < > ( & self , celt : u32 , rgelt : * mut STATDATA , pceltfetched : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( celt ) , :: std :: mem :: transmute ( rgelt ) , :: std :: mem :: transmute ( pceltfetched ) , ) . ok ( ) } pub unsafe fn Skip < > ( & self , celt : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( celt ) , ) . 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 < IEnumSTATDATA > { let mut result__ : < IEnumSTATDATA as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < IEnumSTATDATA > ( result__ ) } } unsafe impl :: windows :: Interface for IEnumSTATDATA { type Vtable = IEnumSTATDATA_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 261 ,0 ,0 , [ 192 ,0 ,0 ,0 ,0 ,0 ,0 ,70 ] , ) ; } impl :: std :: convert :: From < IEnumSTATDATA > for :: windows :: IUnknown { fn from ( value : IEnumSTATDATA ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IEnumSTATDATA > for :: windows :: IUnknown { fn from ( value : & IEnumSTATDATA ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IEnumSTATDATA { 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 IEnumSTATDATA { 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 IEnumSTATDATA_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 , celt : u32 , rgelt : * mut STATDATA_abi , pceltfetched : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , celt : 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 , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IEnumString ( :: windows :: IUnknown ) ; impl IEnumString { pub unsafe fn Next < > ( & self , celt : u32 , rgelt : * mut super::super::Foundation:: PWSTR , pceltfetched : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( celt ) , :: std :: mem :: transmute ( rgelt ) , :: std :: mem :: transmute ( pceltfetched ) , ) . ok ( ) } pub unsafe fn Skip < > ( & self , celt : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( celt ) , ) . 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 < IEnumString > { let mut result__ : < IEnumString as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < IEnumString > ( result__ ) } } unsafe impl :: windows :: Interface for IEnumString { type Vtable = IEnumString_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 257 ,0 ,0 , [ 192 ,0 ,0 ,0 ,0 ,0 ,0 ,70 ] , ) ; } impl :: std :: convert :: From < IEnumString > for :: windows :: IUnknown { fn from ( value : IEnumString ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IEnumString > for :: windows :: IUnknown { fn from ( value : & IEnumString ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IEnumString { 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 IEnumString { 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 IEnumString_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 , celt : u32 , rgelt : * mut super::super::Foundation:: PWSTR , pceltfetched : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , celt : 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 , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IEnumUnknown ( :: windows :: IUnknown ) ; impl IEnumUnknown { pub unsafe fn Next < > ( & self , celt : u32 , rgelt : * mut :: std :: option :: Option < :: windows :: IUnknown > , pceltfetched : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( celt ) , :: std :: mem :: transmute ( rgelt ) , :: std :: mem :: transmute ( pceltfetched ) , ) . ok ( ) } pub unsafe fn Skip < > ( & self , celt : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( celt ) , ) . 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 < IEnumUnknown > { let mut result__ : < IEnumUnknown as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < IEnumUnknown > ( result__ ) } } unsafe impl :: windows :: Interface for IEnumUnknown { type Vtable = IEnumUnknown_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 256 ,0 ,0 , [ 192 ,0 ,0 ,0 ,0 ,0 ,0 ,70 ] , ) ; } impl :: std :: convert :: From < IEnumUnknown > for :: windows :: IUnknown { fn from ( value : IEnumUnknown ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IEnumUnknown > for :: windows :: IUnknown { fn from ( value : & IEnumUnknown ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IEnumUnknown { 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 IEnumUnknown { 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 IEnumUnknown_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 , celt : u32 , rgelt : * mut :: windows :: RawPtr , pceltfetched : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , celt : 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 , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IEventProperty ( :: windows :: IUnknown ) ; impl IEventProperty { pub unsafe fn GetTypeInfoCount < > ( & self , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn GetTypeInfo < > ( & self , itinfo : u32 , lcid : u32 , ) -> :: windows :: Result < super::OleAutomation:: ITypeInfo > { let mut result__ : < super::OleAutomation:: ITypeInfo as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( itinfo ) , :: std :: mem :: transmute ( lcid ) , & mut result__ ) . from_abi :: < super::OleAutomation:: ITypeInfo > ( result__ ) } pub unsafe fn GetIDsOfNames < > ( & self , riid : * const :: windows :: Guid , rgsznames : * mut super::super::Foundation:: PWSTR , cnames : u32 , lcid : u32 , rgdispid : * mut i32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( riid ) , :: std :: mem :: transmute ( rgsznames ) , :: std :: mem :: transmute ( cnames ) , :: std :: mem :: transmute ( lcid ) , :: std :: mem :: transmute ( rgdispid ) , ) . ok ( ) } pub unsafe fn Invoke < > ( & self , dispidmember : i32 , riid : * const :: windows :: Guid , lcid : u32 , wflags : u16 , pdispparams : * mut super::OleAutomation:: DISPPARAMS , pvarresult : * mut super::OleAutomation:: VARIANT , pexcepinfo : * mut super::OleAutomation:: EXCEPINFO , puargerr : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dispidmember ) , :: std :: mem :: transmute ( riid ) , :: std :: mem :: transmute ( lcid ) , :: std :: mem :: transmute ( wflags ) , :: std :: mem :: transmute ( pdispparams ) , :: std :: mem :: transmute ( pvarresult ) , :: std :: mem :: transmute ( pexcepinfo ) , :: std :: mem :: transmute ( puargerr ) , ) . ok ( ) } pub unsafe fn get_Name < > ( & self , ) -> :: windows :: Result < super::super::Foundation:: BSTR > { let mut result__ : < super::super::Foundation:: BSTR as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < super::super::Foundation:: BSTR > ( result__ ) } pub unsafe fn put_Name < 'a , > ( & self , propertyname : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BSTR > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , propertyname . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn get_Value < > ( & self , ) -> :: windows :: Result < super::OleAutomation:: VARIANT > { let mut result__ : < super::OleAutomation:: VARIANT as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < super::OleAutomation:: VARIANT > ( result__ ) } pub unsafe fn put_Value < > ( & self , propertyvalue : * mut super::OleAutomation:: VARIANT , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( propertyvalue ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IEventProperty { type Vtable = IEventProperty_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3662909154 ,62686 ,4561 , [ 182 ,187 ,0 ,128 ,95 ,199 ,146 ,22 ] , ) ; } impl :: std :: convert :: From < IEventProperty > for :: windows :: IUnknown { fn from ( value : IEventProperty ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IEventProperty > for :: windows :: IUnknown { fn from ( value : & IEventProperty ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IEventProperty { 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 IEventProperty { 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 < IEventProperty > for super::OleAutomation:: IDispatch { fn from ( value : IEventProperty ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IEventProperty > for super::OleAutomation:: IDispatch { fn from ( value : & IEventProperty ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , super::OleAutomation:: IDispatch > for IEventProperty { fn into_param ( self ) -> :: windows :: Param < 'a , super::OleAutomation:: IDispatch > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < super::OleAutomation:: IDispatch > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , super::OleAutomation:: IDispatch > for & 'a IEventProperty { fn into_param ( self ) -> :: windows :: Param < 'a , super::OleAutomation:: IDispatch > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < super::OleAutomation:: IDispatch > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IEventProperty_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 , pctinfo : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , itinfo : u32 , lcid : u32 , pptinfo : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , riid : * const :: windows :: Guid , rgsznames : * mut super::super::Foundation:: PWSTR , cnames : u32 , lcid : u32 , rgdispid : * mut i32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dispidmember : i32 , riid : * const :: windows :: Guid , lcid : u32 , wflags : u16 , pdispparams : * mut super::OleAutomation:: DISPPARAMS , pvarresult : * mut super::OleAutomation:: VARIANT_abi , pexcepinfo : * mut super::OleAutomation:: EXCEPINFO_abi , puargerr : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , propertyname : * mut super::super::Foundation:: BSTR_abi , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , propertyname : super::super::Foundation:: BSTR_abi , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , propertyvalue : * mut super::OleAutomation:: VARIANT_abi , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , propertyvalue : * mut super::OleAutomation:: VARIANT_abi , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IEventPublisher ( :: windows :: IUnknown ) ; impl IEventPublisher { pub unsafe fn GetTypeInfoCount < > ( & self , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn GetTypeInfo < > ( & self , itinfo : u32 , lcid : u32 , ) -> :: windows :: Result < super::OleAutomation:: ITypeInfo > { let mut result__ : < super::OleAutomation:: ITypeInfo as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( itinfo ) , :: std :: mem :: transmute ( lcid ) , & mut result__ ) . from_abi :: < super::OleAutomation:: ITypeInfo > ( result__ ) } pub unsafe fn GetIDsOfNames < > ( & self , riid : * const :: windows :: Guid , rgsznames : * mut super::super::Foundation:: PWSTR , cnames : u32 , lcid : u32 , rgdispid : * mut i32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( riid ) , :: std :: mem :: transmute ( rgsznames ) , :: std :: mem :: transmute ( cnames ) , :: std :: mem :: transmute ( lcid ) , :: std :: mem :: transmute ( rgdispid ) , ) . ok ( ) } pub unsafe fn Invoke < > ( & self , dispidmember : i32 , riid : * const :: windows :: Guid , lcid : u32 , wflags : u16 , pdispparams : * mut super::OleAutomation:: DISPPARAMS , pvarresult : * mut super::OleAutomation:: VARIANT , pexcepinfo : * mut super::OleAutomation:: EXCEPINFO , puargerr : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dispidmember ) , :: std :: mem :: transmute ( riid ) , :: std :: mem :: transmute ( lcid ) , :: std :: mem :: transmute ( wflags ) , :: std :: mem :: transmute ( pdispparams ) , :: std :: mem :: transmute ( pvarresult ) , :: std :: mem :: transmute ( pexcepinfo ) , :: std :: mem :: transmute ( puargerr ) , ) . ok ( ) } pub unsafe fn get_PublisherID < > ( & self , ) -> :: windows :: Result < super::super::Foundation:: BSTR > { let mut result__ : < super::super::Foundation:: BSTR as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < super::super::Foundation:: BSTR > ( result__ ) } pub unsafe fn put_PublisherID < 'a , > ( & self , bstrpublisherid : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BSTR > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , bstrpublisherid . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn get_PublisherName < > ( & self , ) -> :: windows :: Result < super::super::Foundation:: BSTR > { let mut result__ : < super::super::Foundation:: BSTR as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < super::super::Foundation:: BSTR > ( result__ ) } pub unsafe fn put_PublisherName < 'a , > ( & self , bstrpublishername : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BSTR > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , bstrpublishername . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn get_PublisherType < > ( & self , ) -> :: windows :: Result < super::super::Foundation:: BSTR > { let mut result__ : < super::super::Foundation:: BSTR as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .11 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < super::super::Foundation:: BSTR > ( result__ ) } pub unsafe fn put_PublisherType < 'a , > ( & self , bstrpublishertype : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BSTR > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .12 ) ( :: windows :: Abi :: abi ( self ) , bstrpublishertype . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn get_OwnerSID < > ( & self , ) -> :: windows :: Result < super::super::Foundation:: BSTR > { let mut result__ : < super::super::Foundation:: BSTR as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .13 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < super::super::Foundation:: BSTR > ( result__ ) } pub unsafe fn put_OwnerSID < 'a , > ( & self , bstrownersid : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BSTR > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .14 ) ( :: windows :: Abi :: abi ( self ) , bstrownersid . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn get_Description < > ( & self , ) -> :: windows :: Result < super::super::Foundation:: BSTR > { let mut result__ : < super::super::Foundation:: BSTR as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .15 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < super::super::Foundation:: BSTR > ( result__ ) } pub unsafe fn put_Description < 'a , > ( & self , bstrdescription : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BSTR > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .16 ) ( :: windows :: Abi :: abi ( self ) , bstrdescription . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn GetDefaultProperty < 'a , > ( & self , bstrpropertyname : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BSTR > , ) -> :: windows :: Result < super::OleAutomation:: VARIANT > { let mut result__ : < super::OleAutomation:: VARIANT as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .17 ) ( :: windows :: Abi :: abi ( self ) , bstrpropertyname . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < super::OleAutomation:: VARIANT > ( result__ ) } pub unsafe fn PutDefaultProperty < 'a , > ( & self , bstrpropertyname : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BSTR > , propertyvalue : * mut super::OleAutomation:: VARIANT , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .18 ) ( :: windows :: Abi :: abi ( self ) , bstrpropertyname . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( propertyvalue ) , ) . ok ( ) } pub unsafe fn RemoveDefaultProperty < 'a , > ( & self , bstrpropertyname : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BSTR > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .19 ) ( :: windows :: Abi :: abi ( self ) , bstrpropertyname . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn GetDefaultPropertyCollection < > ( & self , ) -> :: windows :: Result < super::ComponentServices:: IEventObjectCollection > { let mut result__ : < super::ComponentServices:: IEventObjectCollection as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .20 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < super::ComponentServices:: IEventObjectCollection > ( result__ ) } } unsafe impl :: windows :: Interface for IEventPublisher { type Vtable = IEventPublisher_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3812708715 ,11826 ,4561 , [ 153 ,100 ,0 ,192 ,79 ,187 ,179 ,69 ] , ) ; } impl :: std :: convert :: From < IEventPublisher > for :: windows :: IUnknown { fn from ( value : IEventPublisher ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IEventPublisher > for :: windows :: IUnknown { fn from ( value : & IEventPublisher ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IEventPublisher { 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 IEventPublisher { 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 < IEventPublisher > for super::OleAutomation:: IDispatch { fn from ( value : IEventPublisher ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IEventPublisher > for super::OleAutomation:: IDispatch { fn from ( value : & IEventPublisher ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , super::OleAutomation:: IDispatch > for IEventPublisher { fn into_param ( self ) -> :: windows :: Param < 'a , super::OleAutomation:: IDispatch > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < super::OleAutomation:: IDispatch > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , super::OleAutomation:: IDispatch > for & 'a IEventPublisher { fn into_param ( self ) -> :: windows :: Param < 'a , super::OleAutomation:: IDispatch > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < super::OleAutomation:: IDispatch > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IEventPublisher_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 , pctinfo : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , itinfo : u32 , lcid : u32 , pptinfo : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , riid : * const :: windows :: Guid , rgsznames : * mut super::super::Foundation:: PWSTR , cnames : u32 , lcid : u32 , rgdispid : * mut i32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dispidmember : i32 , riid : * const :: windows :: Guid , lcid : u32 , wflags : u16 , pdispparams : * mut super::OleAutomation:: DISPPARAMS , pvarresult : * mut super::OleAutomation:: VARIANT_abi , pexcepinfo : * mut super::OleAutomation:: EXCEPINFO_abi , puargerr : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pbstrpublisherid : * mut super::super::Foundation:: BSTR_abi , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , bstrpublisherid : super::super::Foundation:: BSTR_abi , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pbstrpublishername : * mut super::super::Foundation:: BSTR_abi , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , bstrpublishername : super::super::Foundation:: BSTR_abi , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pbstrpublishertype : * mut super::super::Foundation:: BSTR_abi , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , bstrpublishertype : super::super::Foundation:: BSTR_abi , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pbstrownersid : * mut super::super::Foundation:: BSTR_abi , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , bstrownersid : super::super::Foundation:: BSTR_abi , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pbstrdescription : * mut super::super::Foundation:: BSTR_abi , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , bstrdescription : super::super::Foundation:: BSTR_abi , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , bstrpropertyname : super::super::Foundation:: BSTR_abi , propertyvalue : * mut super::OleAutomation:: VARIANT_abi , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , bstrpropertyname : super::super::Foundation:: BSTR_abi , propertyvalue : * mut super::OleAutomation:: VARIANT_abi , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , bstrpropertyname : super::super::Foundation:: BSTR_abi , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , collection : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IExternalConnection ( :: windows :: IUnknown ) ; impl IExternalConnection { pub unsafe fn AddConnection < > ( & self , extconn : u32 , reserved : u32 , ) -> u32 { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( extconn ) , :: std :: mem :: transmute ( reserved ) , ) } pub unsafe fn ReleaseConnection < 'a , > ( & self , extconn : u32 , reserved : u32 , flastreleasecloses : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> u32 { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( extconn ) , :: std :: mem :: transmute ( reserved ) , flastreleasecloses . into_param ( ) . abi ( ) , ) } } unsafe impl :: windows :: Interface for IExternalConnection { type Vtable = IExternalConnection_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 25 ,0 ,0 , [ 192 ,0 ,0 ,0 ,0 ,0 ,0 ,70 ] , ) ; } impl :: std :: convert :: From < IExternalConnection > for :: windows :: IUnknown { fn from ( value : IExternalConnection ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IExternalConnection > for :: windows :: IUnknown { fn from ( value : & IExternalConnection ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IExternalConnection { 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 IExternalConnection { 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 IExternalConnection_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 , extconn : u32 , reserved : u32 , ) -> u32 , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , extconn : u32 , reserved : u32 , flastreleasecloses : super::super::Foundation:: BOOL , ) -> u32 , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IFastRundown ( :: windows :: IUnknown ) ; impl IFastRundown { } unsafe impl :: windows :: Interface for IFastRundown { type Vtable = IFastRundown_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 64 ,0 ,0 , [ 192 ,0 ,0 ,0 ,0 ,0 ,0 ,70 ] , ) ; } impl :: std :: convert :: From < IFastRundown > for :: windows :: IUnknown { fn from ( value : IFastRundown ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IFastRundown > for :: windows :: IUnknown { fn from ( value : & IFastRundown ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IFastRundown { 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 IFastRundown { 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 IFastRundown_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 , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IFont ( :: windows :: IUnknown ) ; impl IFont { pub unsafe fn get_Name < > ( & self , ) -> :: windows :: Result < super::super::Foundation:: BSTR > { let mut result__ : < super::super::Foundation:: BSTR as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < super::super::Foundation:: BSTR > ( result__ ) } pub unsafe fn put_Name < 'a , > ( & self , name : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BSTR > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , name . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn get_Size < > ( & self , ) -> :: windows :: Result < super::SystemServices:: CY > { let mut result__ : < super::SystemServices:: CY as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < super::SystemServices:: CY > ( result__ ) } pub unsafe fn put_Size < 'a , > ( & self , size : impl :: windows :: IntoParam < 'a , super::SystemServices:: CY > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , size . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn get_Bold < > ( & self , ) -> :: windows :: Result < super::super::Foundation:: BOOL > { let mut result__ : < super::super::Foundation:: BOOL as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < super::super::Foundation:: BOOL > ( result__ ) } pub unsafe fn put_Bold < 'a , > ( & self , bold : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , bold . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn get_Italic < > ( & self , ) -> :: windows :: Result < super::super::Foundation:: BOOL > { let mut result__ : < super::super::Foundation:: BOOL as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < super::super::Foundation:: BOOL > ( result__ ) } pub unsafe fn put_Italic < 'a , > ( & self , italic : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , italic . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn get_Underline < > ( & self , ) -> :: windows :: Result < super::super::Foundation:: BOOL > { let mut result__ : < super::super::Foundation:: BOOL as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .11 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < super::super::Foundation:: BOOL > ( result__ ) } pub unsafe fn put_Underline < 'a , > ( & self , underline : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .12 ) ( :: windows :: Abi :: abi ( self ) , underline . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn get_Strikethrough < > ( & self , ) -> :: windows :: Result < super::super::Foundation:: BOOL > { let mut result__ : < super::super::Foundation:: BOOL as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .13 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < super::super::Foundation:: BOOL > ( result__ ) } pub unsafe fn put_Strikethrough < 'a , > ( & self , strikethrough : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .14 ) ( :: windows :: Abi :: abi ( self ) , strikethrough . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn get_Weight < > ( & self , ) -> :: windows :: Result < i16 > { let mut result__ : < i16 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .15 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < i16 > ( result__ ) } pub unsafe fn put_Weight < > ( & self , weight : i16 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .16 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( weight ) , ) . ok ( ) } pub unsafe fn get_Charset < > ( & self , ) -> :: windows :: Result < i16 > { let mut result__ : < i16 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .17 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < i16 > ( result__ ) } pub unsafe fn put_Charset < > ( & self , charset : i16 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .18 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( charset ) , ) . ok ( ) } pub unsafe fn get_hFont < > ( & self , ) -> :: windows :: Result < super::super::Graphics::Gdi:: HFONT > { let mut result__ : < super::super::Graphics::Gdi:: HFONT as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .19 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < super::super::Graphics::Gdi:: HFONT > ( result__ ) } pub unsafe fn Clone < > ( & self , ) -> :: windows :: Result < IFont > { let mut result__ : < IFont as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .20 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < IFont > ( result__ ) } pub unsafe fn IsEqual < 'a , > ( & self , pfontother : impl :: windows :: IntoParam < 'a , IFont > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .21 ) ( :: windows :: Abi :: abi ( self ) , pfontother . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn SetRatio < > ( & self , cylogical : i32 , cyhimetric : i32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .22 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( cylogical ) , :: std :: mem :: transmute ( cyhimetric ) , ) . ok ( ) } pub unsafe fn QueryTextMetrics < > ( & self , ) -> :: windows :: Result < super::super::Graphics::Gdi:: TEXTMETRICW > { let mut result__ : < super::super::Graphics::Gdi:: TEXTMETRICW as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .23 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < super::super::Graphics::Gdi:: TEXTMETRICW > ( result__ ) } pub unsafe fn AddRefHfont < 'a , > ( & self , hfont : impl :: windows :: IntoParam < 'a , super::super::Graphics::Gdi:: HFONT > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .24 ) ( :: windows :: Abi :: abi ( self ) , hfont . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn ReleaseHfont < 'a , > ( & self , hfont : impl :: windows :: IntoParam < 'a , super::super::Graphics::Gdi:: HFONT > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .25 ) ( :: windows :: Abi :: abi ( self ) , hfont . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn SetHdc < 'a , > ( & self , hdc : impl :: windows :: IntoParam < 'a , super::super::Graphics::Gdi:: HDC > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .26 ) ( :: windows :: Abi :: abi ( self ) , hdc . into_param ( ) . abi ( ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IFont { type Vtable = IFont_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3203850242 ,43124 ,4122 , [ 139 ,186 ,0 ,170 ,0 ,48 ,12 ,171 ] , ) ; } impl :: std :: convert :: From < IFont > for :: windows :: IUnknown { fn from ( value : IFont ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IFont > for :: windows :: IUnknown { fn from ( value : & IFont ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IFont { 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 IFont { 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 IFont_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 , pname : * mut super::super::Foundation:: BSTR_abi , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , name : super::super::Foundation:: BSTR_abi , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , psize : * mut super::SystemServices:: CY , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , size : super::SystemServices:: CY , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pbold : * mut super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , bold : super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pitalic : * mut super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , italic : super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , punderline : * mut super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , underline : super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pstrikethrough : * mut super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , strikethrough : super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pweight : * mut i16 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , weight : i16 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pcharset : * mut i16 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , charset : i16 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , phfont : * mut super::super::Graphics::Gdi:: HFONT , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppfont : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pfontother : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , cylogical : i32 , cyhimetric : i32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ptm : * mut super::super::Graphics::Gdi:: TEXTMETRICW , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , hfont : super::super::Graphics::Gdi:: HFONT , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , hfont : super::super::Graphics::Gdi:: HFONT , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , hdc : super::super::Graphics::Gdi:: HDC , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IFontDisp ( :: windows :: IUnknown ) ; impl IFontDisp { pub unsafe fn GetTypeInfoCount < > ( & self , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn GetTypeInfo < > ( & self , itinfo : u32 , lcid : u32 , ) -> :: windows :: Result < super::OleAutomation:: ITypeInfo > { let mut result__ : < super::OleAutomation:: ITypeInfo as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( itinfo ) , :: std :: mem :: transmute ( lcid ) , & mut result__ ) . from_abi :: < super::OleAutomation:: ITypeInfo > ( result__ ) } pub unsafe fn GetIDsOfNames < > ( & self , riid : * const :: windows :: Guid , rgsznames : * mut super::super::Foundation:: PWSTR , cnames : u32 , lcid : u32 , rgdispid : * mut i32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( riid ) , :: std :: mem :: transmute ( rgsznames ) , :: std :: mem :: transmute ( cnames ) , :: std :: mem :: transmute ( lcid ) , :: std :: mem :: transmute ( rgdispid ) , ) . ok ( ) } pub unsafe fn Invoke < > ( & self , dispidmember : i32 , riid : * const :: windows :: Guid , lcid : u32 , wflags : u16 , pdispparams : * mut super::OleAutomation:: DISPPARAMS , pvarresult : * mut super::OleAutomation:: VARIANT , pexcepinfo : * mut super::OleAutomation:: EXCEPINFO , puargerr : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dispidmember ) , :: std :: mem :: transmute ( riid ) , :: std :: mem :: transmute ( lcid ) , :: std :: mem :: transmute ( wflags ) , :: std :: mem :: transmute ( pdispparams ) , :: std :: mem :: transmute ( pvarresult ) , :: std :: mem :: transmute ( pexcepinfo ) , :: std :: mem :: transmute ( puargerr ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IFontDisp { type Vtable = IFontDisp_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3203850243 ,43124 ,4122 , [ 139 ,186 ,0 ,170 ,0 ,48 ,12 ,171 ] , ) ; } impl :: std :: convert :: From < IFontDisp > for :: windows :: IUnknown { fn from ( value : IFontDisp ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IFontDisp > for :: windows :: IUnknown { fn from ( value : & IFontDisp ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IFontDisp { 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 IFontDisp { 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 < IFontDisp > for super::OleAutomation:: IDispatch { fn from ( value : IFontDisp ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IFontDisp > for super::OleAutomation:: IDispatch { fn from ( value : & IFontDisp ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , super::OleAutomation:: IDispatch > for IFontDisp { fn into_param ( self ) -> :: windows :: Param < 'a , super::OleAutomation:: IDispatch > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < super::OleAutomation:: IDispatch > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , super::OleAutomation:: IDispatch > for & 'a IFontDisp { fn into_param ( self ) -> :: windows :: Param < 'a , super::OleAutomation:: IDispatch > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < super::OleAutomation:: IDispatch > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IFontDisp_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 , pctinfo : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , itinfo : u32 , lcid : u32 , pptinfo : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , riid : * const :: windows :: Guid , rgsznames : * mut super::super::Foundation:: PWSTR , cnames : u32 , lcid : u32 , rgdispid : * mut i32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dispidmember : i32 , riid : * const :: windows :: Guid , lcid : u32 , wflags : u16 , pdispparams : * mut super::OleAutomation:: DISPPARAMS , pvarresult : * mut super::OleAutomation:: VARIANT_abi , pexcepinfo : * mut super::OleAutomation:: EXCEPINFO_abi , puargerr : * mut u32 , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IFontEventsDisp ( :: windows :: IUnknown ) ; impl IFontEventsDisp { pub unsafe fn GetTypeInfoCount < > ( & self , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn GetTypeInfo < > ( & self , itinfo : u32 , lcid : u32 , ) -> :: windows :: Result < super::OleAutomation:: ITypeInfo > { let mut result__ : < super::OleAutomation:: ITypeInfo as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( itinfo ) , :: std :: mem :: transmute ( lcid ) , & mut result__ ) . from_abi :: < super::OleAutomation:: ITypeInfo > ( result__ ) } pub unsafe fn GetIDsOfNames < > ( & self , riid : * const :: windows :: Guid , rgsznames : * mut super::super::Foundation:: PWSTR , cnames : u32 , lcid : u32 , rgdispid : * mut i32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( riid ) , :: std :: mem :: transmute ( rgsznames ) , :: std :: mem :: transmute ( cnames ) , :: std :: mem :: transmute ( lcid ) , :: std :: mem :: transmute ( rgdispid ) , ) . ok ( ) } pub unsafe fn Invoke < > ( & self , dispidmember : i32 , riid : * const :: windows :: Guid , lcid : u32 , wflags : u16 , pdispparams : * mut super::OleAutomation:: DISPPARAMS , pvarresult : * mut super::OleAutomation:: VARIANT , pexcepinfo : * mut super::OleAutomation:: EXCEPINFO , puargerr : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dispidmember ) , :: std :: mem :: transmute ( riid ) , :: std :: mem :: transmute ( lcid ) , :: std :: mem :: transmute ( wflags ) , :: std :: mem :: transmute ( pdispparams ) , :: std :: mem :: transmute ( pvarresult ) , :: std :: mem :: transmute ( pexcepinfo ) , :: std :: mem :: transmute ( puargerr ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IFontEventsDisp { type Vtable = IFontEventsDisp_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 1324748810 ,44936 ,4560 , [ 152 ,70 ,0 ,192 ,79 ,194 ,153 ,147 ] , ) ; } impl :: std :: convert :: From < IFontEventsDisp > for :: windows :: IUnknown { fn from ( value : IFontEventsDisp ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IFontEventsDisp > for :: windows :: IUnknown { fn from ( value : & IFontEventsDisp ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IFontEventsDisp { 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 IFontEventsDisp { 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 < IFontEventsDisp > for super::OleAutomation:: IDispatch { fn from ( value : IFontEventsDisp ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IFontEventsDisp > for super::OleAutomation:: IDispatch { fn from ( value : & IFontEventsDisp ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , super::OleAutomation:: IDispatch > for IFontEventsDisp { fn into_param ( self ) -> :: windows :: Param < 'a , super::OleAutomation:: IDispatch > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < super::OleAutomation:: IDispatch > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , super::OleAutomation:: IDispatch > for & 'a IFontEventsDisp { fn into_param ( self ) -> :: windows :: Param < 'a , super::OleAutomation:: IDispatch > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < super::OleAutomation:: IDispatch > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IFontEventsDisp_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 , pctinfo : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , itinfo : u32 , lcid : u32 , pptinfo : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , riid : * const :: windows :: Guid , rgsznames : * mut super::super::Foundation:: PWSTR , cnames : u32 , lcid : u32 , rgdispid : * mut i32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dispidmember : i32 , riid : * const :: windows :: Guid , lcid : u32 , wflags : u16 , pdispparams : * mut super::OleAutomation:: DISPPARAMS , pvarresult : * mut super::OleAutomation:: VARIANT_abi , pexcepinfo : * mut super::OleAutomation:: EXCEPINFO_abi , puargerr : * mut u32 , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IForegroundTransfer ( :: windows :: IUnknown ) ; impl IForegroundTransfer { pub unsafe fn AllowForegroundTransfer < > ( & self , lpvreserved : * mut :: std :: ffi :: c_void , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( lpvreserved ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IForegroundTransfer { type Vtable = IForegroundTransfer_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 325 ,0 ,0 , [ 192 ,0 ,0 ,0 ,0 ,0 ,0 ,70 ] , ) ; } impl :: std :: convert :: From < IForegroundTransfer > for :: windows :: IUnknown { fn from ( value : IForegroundTransfer ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IForegroundTransfer > for :: windows :: IUnknown { fn from ( value : & IForegroundTransfer ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IForegroundTransfer { 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 IForegroundTransfer { 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 IForegroundTransfer_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 , lpvreserved : * mut :: std :: ffi :: c_void , ) -> :: windows :: HRESULT , ) ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct IGNOREMIME ( pub i32 ) ; pub const IGNOREMIME_PROMPT : IGNOREMIME = IGNOREMIME ( 1i32 ) ; pub const IGNOREMIME_TEXT : IGNOREMIME = IGNOREMIME ( 2i32 ) ; impl :: std :: convert :: From < i32 > for IGNOREMIME { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for IGNOREMIME { type Abi = Self ; type DefaultType = Self ; } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IGetBindHandle ( :: windows :: IUnknown ) ; impl IGetBindHandle { pub unsafe fn GetBindHandle < > ( & self , enumrequestedhandle : BINDHANDLETYPES , ) -> :: windows :: Result < super::super::Foundation:: HANDLE > { let mut result__ : < super::super::Foundation:: HANDLE as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( enumrequestedhandle ) , & mut result__ ) . from_abi :: < super::super::Foundation:: HANDLE > ( result__ ) } } unsafe impl :: windows :: Interface for IGetBindHandle { type Vtable = IGetBindHandle_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2937058312 ,4765 ,19232 , [ 145 ,240 ,2 ,189 ,35 ,216 ,131 ,82 ] , ) ; } impl :: std :: convert :: From < IGetBindHandle > for :: windows :: IUnknown { fn from ( value : IGetBindHandle ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IGetBindHandle > for :: windows :: IUnknown { fn from ( value : & IGetBindHandle ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IGetBindHandle { 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 IGetBindHandle { 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 IGetBindHandle_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 , enumrequestedhandle : BINDHANDLETYPES , prethandle : * mut super::super::Foundation:: HANDLE , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IGetOleObject ( :: windows :: IUnknown ) ; impl IGetOleObject { pub unsafe fn GetOleObject < T : :: windows :: Interface > ( & self , ) -> :: windows :: Result < T > { let mut result__ = :: std :: option :: Option :: None ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , & < T as :: windows :: Interface > :: IID , :: windows :: Abi :: set_abi ( & mut result__ ) ) . and_some ( result__ ) } } unsafe impl :: windows :: Interface for IGetOleObject { type Vtable = IGetOleObject_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2322603424 ,20459 ,4123 , [ 168 ,46 ,8 ,0 ,43 ,43 ,35 ,55 ] , ) ; } impl :: std :: convert :: From < IGetOleObject > for :: windows :: IUnknown { fn from ( value : IGetOleObject ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IGetOleObject > for :: windows :: IUnknown { fn from ( value : & IGetOleObject ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IGetOleObject { 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 IGetOleObject { 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 IGetOleObject_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 , riid : * const :: windows :: Guid , ppvobj : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IGetVBAObject ( :: windows :: IUnknown ) ; impl IGetVBAObject { pub unsafe fn GetObject < > ( & self , riid : * const :: windows :: Guid , ppvobj : * mut * mut :: std :: ffi :: c_void , dwreserved : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( riid ) , :: std :: mem :: transmute ( ppvobj ) , :: std :: mem :: transmute ( dwreserved ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IGetVBAObject { type Vtable = IGetVBAObject_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2440247904 ,16204 ,4123 , [ 163 ,246 ,0 ,170 ,0 ,52 ,228 ,233 ] , ) ; } impl :: std :: convert :: From < IGetVBAObject > for :: windows :: IUnknown { fn from ( value : IGetVBAObject ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IGetVBAObject > for :: windows :: IUnknown { fn from ( value : & IGetVBAObject ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IGetVBAObject { 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 IGetVBAObject { 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 IGetVBAObject_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 , riid : * const :: windows :: Guid , ppvobj : * mut * mut :: std :: ffi :: c_void , dwreserved : u32 , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IGlobalInterfaceTable ( :: windows :: IUnknown ) ; impl IGlobalInterfaceTable { pub unsafe fn RegisterInterfaceInGlobal < 'a , > ( & self , punk : impl :: windows :: IntoParam < 'a , :: windows :: IUnknown > , riid : * const :: windows :: Guid , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , punk . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( riid ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn RevokeInterfaceFromGlobal < > ( & self , dwcookie : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwcookie ) , ) . ok ( ) } pub unsafe fn GetInterfaceFromGlobal < T : :: windows :: Interface > ( & self , dwcookie : u32 , ) -> :: windows :: Result < T > { let mut result__ = :: std :: option :: Option :: None ; ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwcookie ) , & < T as :: windows :: Interface > :: IID , :: windows :: Abi :: set_abi ( & mut result__ ) ) . and_some ( result__ ) } } unsafe impl :: windows :: Interface for IGlobalInterfaceTable { type Vtable = IGlobalInterfaceTable_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 326 ,0 ,0 , [ 192 ,0 ,0 ,0 ,0 ,0 ,0 ,70 ] , ) ; } impl :: std :: convert :: From < IGlobalInterfaceTable > for :: windows :: IUnknown { fn from ( value : IGlobalInterfaceTable ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IGlobalInterfaceTable > for :: windows :: IUnknown { fn from ( value : & IGlobalInterfaceTable ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IGlobalInterfaceTable { 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 IGlobalInterfaceTable { 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 IGlobalInterfaceTable_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 , punk : :: windows :: RawPtr , riid : * const :: windows :: Guid , pdwcookie : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwcookie : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwcookie : u32 , riid : * const :: windows :: Guid , ppv : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IGlobalOptions ( :: windows :: IUnknown ) ; impl IGlobalOptions { pub unsafe fn Set < > ( & self , dwproperty : GLOBALOPT_PROPERTIES , dwvalue : usize , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwproperty ) , :: std :: mem :: transmute ( dwvalue ) , ) . ok ( ) } pub unsafe fn Query < > ( & self , dwproperty : GLOBALOPT_PROPERTIES , ) -> :: windows :: Result < usize > { let mut result__ : < usize as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwproperty ) , & mut result__ ) . from_abi :: < usize > ( result__ ) } } unsafe impl :: windows :: Interface for IGlobalOptions { type Vtable = IGlobalOptions_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 347 ,0 ,0 , [ 192 ,0 ,0 ,0 ,0 ,0 ,0 ,70 ] , ) ; } impl :: std :: convert :: From < IGlobalOptions > for :: windows :: IUnknown { fn from ( value : IGlobalOptions ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IGlobalOptions > for :: windows :: IUnknown { fn from ( value : & IGlobalOptions ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IGlobalOptions { 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 IGlobalOptions { 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 IGlobalOptions_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 , dwproperty : GLOBALOPT_PROPERTIES , dwvalue : usize , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwproperty : GLOBALOPT_PROPERTIES , pdwvalue : * mut usize , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IHttpNegotiate ( :: windows :: IUnknown ) ; impl IHttpNegotiate { pub unsafe fn BeginningTransaction < 'a , > ( & self , szurl : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , szheaders : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , dwreserved : u32 , ) -> :: windows :: Result < super::super::Foundation:: PWSTR > { let mut result__ : < super::super::Foundation:: PWSTR as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , szurl . into_param ( ) . abi ( ) , szheaders . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwreserved ) , & mut result__ ) . from_abi :: < super::super::Foundation:: PWSTR > ( result__ ) } pub unsafe fn OnResponse < 'a , > ( & self , dwresponsecode : u32 , szresponseheaders : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , szrequestheaders : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , ) -> :: windows :: Result < super::super::Foundation:: PWSTR > { let mut result__ : < super::super::Foundation:: PWSTR as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwresponsecode ) , szresponseheaders . into_param ( ) . abi ( ) , szrequestheaders . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < super::super::Foundation:: PWSTR > ( result__ ) } } unsafe impl :: windows :: Interface for IHttpNegotiate { type Vtable = IHttpNegotiate_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2045430226 ,47865 ,4558 , [ 140 ,130 ,0 ,170 ,0 ,75 ,169 ,11 ] , ) ; } impl :: std :: convert :: From < IHttpNegotiate > for :: windows :: IUnknown { fn from ( value : IHttpNegotiate ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IHttpNegotiate > for :: windows :: IUnknown { fn from ( value : & IHttpNegotiate ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IHttpNegotiate { 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 IHttpNegotiate { 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 IHttpNegotiate_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 , szurl : super::super::Foundation:: PWSTR , szheaders : super::super::Foundation:: PWSTR , dwreserved : u32 , pszadditionalheaders : * mut super::super::Foundation:: PWSTR , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwresponsecode : u32 , szresponseheaders : super::super::Foundation:: PWSTR , szrequestheaders : super::super::Foundation:: PWSTR , pszadditionalrequestheaders : * mut super::super::Foundation:: PWSTR , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IHttpNegotiate2 ( :: windows :: IUnknown ) ; impl IHttpNegotiate2 { pub unsafe fn BeginningTransaction < 'a , > ( & self , szurl : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , szheaders : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , dwreserved : u32 , ) -> :: windows :: Result < super::super::Foundation:: PWSTR > { let mut result__ : < super::super::Foundation:: PWSTR as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , szurl . into_param ( ) . abi ( ) , szheaders . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwreserved ) , & mut result__ ) . from_abi :: < super::super::Foundation:: PWSTR > ( result__ ) } pub unsafe fn OnResponse < 'a , > ( & self , dwresponsecode : u32 , szresponseheaders : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , szrequestheaders : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , ) -> :: windows :: Result < super::super::Foundation:: PWSTR > { let mut result__ : < super::super::Foundation:: PWSTR as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwresponsecode ) , szresponseheaders . into_param ( ) . abi ( ) , szrequestheaders . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < super::super::Foundation:: PWSTR > ( result__ ) } pub unsafe fn GetRootSecurityId < > ( & self , pbsecurityid : * mut u8 , pcbsecurityid : * mut u32 , dwreserved : usize , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pbsecurityid ) , :: std :: mem :: transmute ( pcbsecurityid ) , :: std :: mem :: transmute ( dwreserved ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IHttpNegotiate2 { type Vtable = IHttpNegotiate2_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 1335861195 ,57588 ,18667 , [ 183 ,171 ,250 ,46 ,169 ,54 ,92 ,180 ] , ) ; } impl :: std :: convert :: From < IHttpNegotiate2 > for :: windows :: IUnknown { fn from ( value : IHttpNegotiate2 ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IHttpNegotiate2 > for :: windows :: IUnknown { fn from ( value : & IHttpNegotiate2 ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IHttpNegotiate2 { 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 IHttpNegotiate2 { 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 < IHttpNegotiate2 > for IHttpNegotiate { fn from ( value : IHttpNegotiate2 ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IHttpNegotiate2 > for IHttpNegotiate { fn from ( value : & IHttpNegotiate2 ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IHttpNegotiate > for IHttpNegotiate2 { fn into_param ( self ) -> :: windows :: Param < 'a , IHttpNegotiate > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IHttpNegotiate > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IHttpNegotiate > for & 'a IHttpNegotiate2 { fn into_param ( self ) -> :: windows :: Param < 'a , IHttpNegotiate > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IHttpNegotiate > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IHttpNegotiate2_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 , szurl : super::super::Foundation:: PWSTR , szheaders : super::super::Foundation:: PWSTR , dwreserved : u32 , pszadditionalheaders : * mut super::super::Foundation:: PWSTR , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwresponsecode : u32 , szresponseheaders : super::super::Foundation:: PWSTR , szrequestheaders : super::super::Foundation:: PWSTR , pszadditionalrequestheaders : * mut super::super::Foundation:: PWSTR , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pbsecurityid : * mut u8 , pcbsecurityid : * mut u32 , dwreserved : usize , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IHttpNegotiate3 ( :: windows :: IUnknown ) ; impl IHttpNegotiate3 { pub unsafe fn BeginningTransaction < 'a , > ( & self , szurl : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , szheaders : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , dwreserved : u32 , ) -> :: windows :: Result < super::super::Foundation:: PWSTR > { let mut result__ : < super::super::Foundation:: PWSTR as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , szurl . into_param ( ) . abi ( ) , szheaders . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwreserved ) , & mut result__ ) . from_abi :: < super::super::Foundation:: PWSTR > ( result__ ) } pub unsafe fn OnResponse < 'a , > ( & self , dwresponsecode : u32 , szresponseheaders : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , szrequestheaders : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , ) -> :: windows :: Result < super::super::Foundation:: PWSTR > { let mut result__ : < super::super::Foundation:: PWSTR as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwresponsecode ) , szresponseheaders . into_param ( ) . abi ( ) , szrequestheaders . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < super::super::Foundation:: PWSTR > ( result__ ) } pub unsafe fn GetRootSecurityId < > ( & self , pbsecurityid : * mut u8 , pcbsecurityid : * mut u32 , dwreserved : usize , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pbsecurityid ) , :: std :: mem :: transmute ( pcbsecurityid ) , :: std :: mem :: transmute ( dwreserved ) , ) . ok ( ) } pub unsafe fn GetSerializedClientCertContext < > ( & self , ppbcert : * mut * mut u8 , pcbcert : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ppbcert ) , :: std :: mem :: transmute ( pcbcert ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IHttpNegotiate3 { type Vtable = IHttpNegotiate3_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 1471596554 ,13506 ,17922 , [ 188 ,38 ,102 ,160 ,47 ,197 ,113 ,83 ] , ) ; } impl :: std :: convert :: From < IHttpNegotiate3 > for :: windows :: IUnknown { fn from ( value : IHttpNegotiate3 ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IHttpNegotiate3 > for :: windows :: IUnknown { fn from ( value : & IHttpNegotiate3 ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IHttpNegotiate3 { 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 IHttpNegotiate3 { 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 < IHttpNegotiate3 > for IHttpNegotiate2 { fn from ( value : IHttpNegotiate3 ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IHttpNegotiate3 > for IHttpNegotiate2 { fn from ( value : & IHttpNegotiate3 ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IHttpNegotiate2 > for IHttpNegotiate3 { fn into_param ( self ) -> :: windows :: Param < 'a , IHttpNegotiate2 > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IHttpNegotiate2 > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IHttpNegotiate2 > for & 'a IHttpNegotiate3 { fn into_param ( self ) -> :: windows :: Param < 'a , IHttpNegotiate2 > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IHttpNegotiate2 > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } impl :: std :: convert :: From < IHttpNegotiate3 > for IHttpNegotiate { fn from ( value : IHttpNegotiate3 ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IHttpNegotiate3 > for IHttpNegotiate { fn from ( value : & IHttpNegotiate3 ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IHttpNegotiate > for IHttpNegotiate3 { fn into_param ( self ) -> :: windows :: Param < 'a , IHttpNegotiate > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IHttpNegotiate > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IHttpNegotiate > for & 'a IHttpNegotiate3 { fn into_param ( self ) -> :: windows :: Param < 'a , IHttpNegotiate > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IHttpNegotiate > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IHttpNegotiate3_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 , szurl : super::super::Foundation:: PWSTR , szheaders : super::super::Foundation:: PWSTR , dwreserved : u32 , pszadditionalheaders : * mut super::super::Foundation:: PWSTR , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwresponsecode : u32 , szresponseheaders : super::super::Foundation:: PWSTR , szrequestheaders : super::super::Foundation:: PWSTR , pszadditionalrequestheaders : * mut super::super::Foundation:: PWSTR , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pbsecurityid : * mut u8 , pcbsecurityid : * mut u32 , dwreserved : usize , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppbcert : * mut * mut u8 , pcbcert : * mut u32 , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IHttpSecurity ( :: windows :: IUnknown ) ; impl IHttpSecurity { pub unsafe fn GetWindow < > ( & self , rguidreason : * const :: windows :: Guid , ) -> :: windows :: Result < super::super::Foundation:: HWND > { let mut result__ : < super::super::Foundation:: HWND as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( rguidreason ) , & mut result__ ) . from_abi :: < super::super::Foundation:: HWND > ( result__ ) } pub unsafe fn OnSecurityProblem < > ( & self , dwproblem : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwproblem ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IHttpSecurity { type Vtable = IHttpSecurity_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2045430231 ,47866 ,4558 , [ 140 ,130 ,0 ,170 ,0 ,75 ,169 ,11 ] , ) ; } impl :: std :: convert :: From < IHttpSecurity > for :: windows :: IUnknown { fn from ( value : IHttpSecurity ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IHttpSecurity > for :: windows :: IUnknown { fn from ( value : & IHttpSecurity ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IHttpSecurity { 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 IHttpSecurity { 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 < IHttpSecurity > for IWindowForBindingUI { fn from ( value : IHttpSecurity ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IHttpSecurity > for IWindowForBindingUI { fn from ( value : & IHttpSecurity ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IWindowForBindingUI > for IHttpSecurity { fn into_param ( self ) -> :: windows :: Param < 'a , IWindowForBindingUI > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IWindowForBindingUI > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IWindowForBindingUI > for & 'a IHttpSecurity { fn into_param ( self ) -> :: windows :: Param < 'a , IWindowForBindingUI > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IWindowForBindingUI > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IHttpSecurity_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 , rguidreason : * const :: windows :: Guid , phwnd : * mut super::super::Foundation:: HWND , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwproblem : u32 , ) -> :: windows :: HRESULT , ) ; pub unsafe fn IIDFromString < 'a , > ( lpsz : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , ) -> :: windows :: Result < :: windows :: Guid > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn IIDFromString ( lpsz : super::super::Foundation:: PWSTR , lpiid : * mut :: windows :: Guid ) -> :: windows :: HRESULT ; } let mut result__ : < :: windows :: Guid as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; IIDFromString ( lpsz . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < :: windows :: Guid > ( result__ ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IInitializeSpy ( :: windows :: IUnknown ) ; impl IInitializeSpy { pub unsafe fn PreInitialize < > ( & self , dwcoinit : u32 , dwcurthreadaptrefs : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwcoinit ) , :: std :: mem :: transmute ( dwcurthreadaptrefs ) , ) . ok ( ) } pub unsafe fn PostInitialize < > ( & self , hrcoinit : :: windows :: HRESULT , dwcoinit : u32 , dwnewthreadaptrefs : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( hrcoinit ) , :: std :: mem :: transmute ( dwcoinit ) , :: std :: mem :: transmute ( dwnewthreadaptrefs ) , ) . ok ( ) } pub unsafe fn PreUninitialize < > ( & self , dwcurthreadaptrefs : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwcurthreadaptrefs ) , ) . ok ( ) } pub unsafe fn PostUninitialize < > ( & self , dwnewthreadaptrefs : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwnewthreadaptrefs ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IInitializeSpy { type Vtable = IInitializeSpy_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 52 ,0 ,0 , [ 192 ,0 ,0 ,0 ,0 ,0 ,0 ,70 ] , ) ; } impl :: std :: convert :: From < IInitializeSpy > for :: windows :: IUnknown { fn from ( value : IInitializeSpy ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IInitializeSpy > for :: windows :: IUnknown { fn from ( value : & IInitializeSpy ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IInitializeSpy { 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 IInitializeSpy { 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 IInitializeSpy_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 , dwcoinit : u32 , dwcurthreadaptrefs : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , hrcoinit : :: windows :: HRESULT , dwcoinit : u32 , dwnewthreadaptrefs : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwcurthreadaptrefs : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwnewthreadaptrefs : u32 , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IInterfaceRelated ( :: windows :: IUnknown ) ; impl IInterfaceRelated { pub unsafe fn SetIID < > ( & self , iid : * const :: windows :: Guid , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( iid ) , ) . ok ( ) } pub unsafe fn GetIID < > ( & self , ) -> :: windows :: Result < :: windows :: Guid > { let mut result__ : < :: windows :: Guid as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < :: windows :: Guid > ( result__ ) } } unsafe impl :: windows :: Interface for IInterfaceRelated { type Vtable = IInterfaceRelated_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3522910841 ,30470 ,4561 , [ 173 ,186 ,0 ,192 ,79 ,194 ,173 ,192 ] , ) ; } impl :: std :: convert :: From < IInterfaceRelated > for :: windows :: IUnknown { fn from ( value : IInterfaceRelated ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IInterfaceRelated > for :: windows :: IUnknown { fn from ( value : & IInterfaceRelated ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IInterfaceRelated { 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 IInterfaceRelated { 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 IInterfaceRelated_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 , iid : * const :: windows :: Guid , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , piid : * mut :: windows :: Guid , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IInternalUnknown ( :: windows :: IUnknown ) ; impl IInternalUnknown { pub unsafe fn QueryInternalInterface < T : :: windows :: Interface > ( & self , ) -> :: windows :: Result < T > { let mut result__ = :: std :: option :: Option :: None ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , & < T as :: windows :: Interface > :: IID , :: windows :: Abi :: set_abi ( & mut result__ ) ) . and_some ( result__ ) } } unsafe impl :: windows :: Interface for IInternalUnknown { type Vtable = IInternalUnknown_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 33 ,0 ,0 , [ 192 ,0 ,0 ,0 ,0 ,0 ,0 ,70 ] , ) ; } impl :: std :: convert :: From < IInternalUnknown > for :: windows :: IUnknown { fn from ( value : IInternalUnknown ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IInternalUnknown > for :: windows :: IUnknown { fn from ( value : & IInternalUnknown ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IInternalUnknown { 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 IInternalUnknown { 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 IInternalUnknown_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 , riid : * const :: windows :: Guid , ppv : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IInternet ( :: windows :: IUnknown ) ; impl IInternet { } unsafe impl :: windows :: Interface for IInternet { type Vtable = IInternet_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2045430240 ,47865 ,4558 , [ 140 ,130 ,0 ,170 ,0 ,75 ,169 ,11 ] , ) ; } impl :: std :: convert :: From < IInternet > for :: windows :: IUnknown { fn from ( value : IInternet ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IInternet > for :: windows :: IUnknown { fn from ( value : & IInternet ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IInternet { 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 IInternet { 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 IInternet_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 , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IInternetBindInfo ( :: windows :: IUnknown ) ; impl IInternetBindInfo { pub unsafe fn GetBindInfo < > ( & self , grfbindf : * mut u32 , pbindinfo : * mut BINDINFO , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( grfbindf ) , :: std :: mem :: transmute ( pbindinfo ) , ) . ok ( ) } pub unsafe fn GetBindString < > ( & self , ulstringtype : u32 , ppwzstr : * mut super::super::Foundation:: PWSTR , cel : u32 , pcelfetched : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ulstringtype ) , :: std :: mem :: transmute ( ppwzstr ) , :: std :: mem :: transmute ( cel ) , :: std :: mem :: transmute ( pcelfetched ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IInternetBindInfo { type Vtable = IInternetBindInfo_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2045430241 ,47865 ,4558 , [ 140 ,130 ,0 ,170 ,0 ,75 ,169 ,11 ] , ) ; } impl :: std :: convert :: From < IInternetBindInfo > for :: windows :: IUnknown { fn from ( value : IInternetBindInfo ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IInternetBindInfo > for :: windows :: IUnknown { fn from ( value : & IInternetBindInfo ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IInternetBindInfo { 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 IInternetBindInfo { 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 IInternetBindInfo_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 , grfbindf : * mut u32 , pbindinfo : * mut BINDINFO_abi , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ulstringtype : u32 , ppwzstr : * mut super::super::Foundation:: PWSTR , cel : u32 , pcelfetched : * mut u32 , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IInternetBindInfoEx ( :: windows :: IUnknown ) ; impl IInternetBindInfoEx { pub unsafe fn GetBindInfo < > ( & self , grfbindf : * mut u32 , pbindinfo : * mut BINDINFO , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( grfbindf ) , :: std :: mem :: transmute ( pbindinfo ) , ) . ok ( ) } pub unsafe fn GetBindString < > ( & self , ulstringtype : u32 , ppwzstr : * mut super::super::Foundation:: PWSTR , cel : u32 , pcelfetched : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ulstringtype ) , :: std :: mem :: transmute ( ppwzstr ) , :: std :: mem :: transmute ( cel ) , :: std :: mem :: transmute ( pcelfetched ) , ) . ok ( ) } pub unsafe fn GetBindInfoEx < > ( & self , grfbindf : * mut u32 , pbindinfo : * mut BINDINFO , grfbindf2 : * mut u32 , pdwreserved : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( grfbindf ) , :: std :: mem :: transmute ( pbindinfo ) , :: std :: mem :: transmute ( grfbindf2 ) , :: std :: mem :: transmute ( pdwreserved ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IInternetBindInfoEx { type Vtable = IInternetBindInfoEx_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2749371831 ,43052 ,19917 , [ 161 ,80 ,86 ,154 ,238 ,237 ,54 ,171 ] , ) ; } impl :: std :: convert :: From < IInternetBindInfoEx > for :: windows :: IUnknown { fn from ( value : IInternetBindInfoEx ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IInternetBindInfoEx > for :: windows :: IUnknown { fn from ( value : & IInternetBindInfoEx ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IInternetBindInfoEx { 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 IInternetBindInfoEx { 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 < IInternetBindInfoEx > for IInternetBindInfo { fn from ( value : IInternetBindInfoEx ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IInternetBindInfoEx > for IInternetBindInfo { fn from ( value : & IInternetBindInfoEx ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IInternetBindInfo > for IInternetBindInfoEx { fn into_param ( self ) -> :: windows :: Param < 'a , IInternetBindInfo > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IInternetBindInfo > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IInternetBindInfo > for & 'a IInternetBindInfoEx { fn into_param ( self ) -> :: windows :: Param < 'a , IInternetBindInfo > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IInternetBindInfo > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IInternetBindInfoEx_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 , grfbindf : * mut u32 , pbindinfo : * mut BINDINFO_abi , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ulstringtype : u32 , ppwzstr : * mut super::super::Foundation:: PWSTR , cel : u32 , pcelfetched : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , grfbindf : * mut u32 , pbindinfo : * mut BINDINFO_abi , grfbindf2 : * mut u32 , pdwreserved : * mut u32 , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IInternetHostSecurityManager ( :: windows :: IUnknown ) ; impl IInternetHostSecurityManager { pub unsafe fn GetSecurityId < > ( & self , pbsecurityid : * mut u8 , pcbsecurityid : * mut u32 , dwreserved : usize , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pbsecurityid ) , :: std :: mem :: transmute ( pcbsecurityid ) , :: std :: mem :: transmute ( dwreserved ) , ) . ok ( ) } pub unsafe fn ProcessUrlAction < > ( & self , dwaction : u32 , ppolicy : * mut u8 , cbpolicy : u32 , pcontext : * mut u8 , cbcontext : u32 , dwflags : u32 , dwreserved : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwaction ) , :: std :: mem :: transmute ( ppolicy ) , :: std :: mem :: transmute ( cbpolicy ) , :: std :: mem :: transmute ( pcontext ) , :: std :: mem :: transmute ( cbcontext ) , :: std :: mem :: transmute ( dwflags ) , :: std :: mem :: transmute ( dwreserved ) , ) . ok ( ) } pub unsafe fn QueryCustomPolicy < > ( & self , guidkey : * const :: windows :: Guid , pppolicy : * mut * mut u8 , pcbpolicy : * mut u32 , pcontext : * mut u8 , cbcontext : u32 , dwreserved : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( guidkey ) , :: std :: mem :: transmute ( pppolicy ) , :: std :: mem :: transmute ( pcbpolicy ) , :: std :: mem :: transmute ( pcontext ) , :: std :: mem :: transmute ( cbcontext ) , :: std :: mem :: transmute ( dwreserved ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IInternetHostSecurityManager { type Vtable = IInternetHostSecurityManager_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 988971190 ,52031 ,4560 , [ 137 ,30 ,0 ,192 ,79 ,182 ,191 ,196 ] , ) ; } impl :: std :: convert :: From < IInternetHostSecurityManager > for :: windows :: IUnknown { fn from ( value : IInternetHostSecurityManager ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IInternetHostSecurityManager > for :: windows :: IUnknown { fn from ( value : & IInternetHostSecurityManager ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IInternetHostSecurityManager { 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 IInternetHostSecurityManager { 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 IInternetHostSecurityManager_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 , pbsecurityid : * mut u8 , pcbsecurityid : * mut u32 , dwreserved : usize , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwaction : u32 , ppolicy : * mut u8 , cbpolicy : u32 , pcontext : * mut u8 , cbcontext : u32 , dwflags : u32 , dwreserved : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , guidkey : * const :: windows :: Guid , pppolicy : * mut * mut u8 , pcbpolicy : * mut u32 , pcontext : * mut u8 , cbcontext : u32 , dwreserved : u32 , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IInternetPriority ( :: windows :: IUnknown ) ; impl IInternetPriority { pub unsafe fn SetPriority < > ( & self , npriority : i32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( npriority ) , ) . ok ( ) } pub unsafe fn GetPriority < > ( & self , ) -> :: windows :: Result < i32 > { let mut result__ : < i32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < i32 > ( result__ ) } } unsafe impl :: windows :: Interface for IInternetPriority { type Vtable = IInternetPriority_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2045430251 ,47865 ,4558 , [ 140 ,130 ,0 ,170 ,0 ,75 ,169 ,11 ] , ) ; } impl :: std :: convert :: From < IInternetPriority > for :: windows :: IUnknown { fn from ( value : IInternetPriority ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IInternetPriority > for :: windows :: IUnknown { fn from ( value : & IInternetPriority ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IInternetPriority { 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 IInternetPriority { 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 IInternetPriority_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 , npriority : i32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pnpriority : * mut i32 , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IInternetProtocol ( :: windows :: IUnknown ) ; impl IInternetProtocol { pub unsafe fn Start < 'a , > ( & self , szurl : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , poiprotsink : impl :: windows :: IntoParam < 'a , IInternetProtocolSink > , poibindinfo : impl :: windows :: IntoParam < 'a , IInternetBindInfo > , grfpi : u32 , dwreserved : impl :: windows :: IntoParam < 'a , super::SystemServices:: HANDLE_PTR > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , szurl . into_param ( ) . abi ( ) , poiprotsink . into_param ( ) . abi ( ) , poibindinfo . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( grfpi ) , dwreserved . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn Continue < > ( & self , pprotocoldata : * mut PROTOCOLDATA , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pprotocoldata ) , ) . ok ( ) } pub unsafe fn Abort < > ( & self , hrreason : :: windows :: HRESULT , dwoptions : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( hrreason ) , :: std :: mem :: transmute ( dwoptions ) , ) . ok ( ) } pub unsafe fn Terminate < > ( & self , dwoptions : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwoptions ) , ) . ok ( ) } pub unsafe fn Suspend < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn Resume < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn Read < > ( & self , pv : * mut :: std :: ffi :: c_void , cb : u32 , pcbread : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pv ) , :: std :: mem :: transmute ( cb ) , :: std :: mem :: transmute ( pcbread ) , ) . ok ( ) } pub unsafe fn Seek < > ( & self , dlibmove : i64 , dworigin : u32 , ) -> :: windows :: Result < u64 > { let mut result__ : < u64 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dlibmove ) , :: std :: mem :: transmute ( dworigin ) , & mut result__ ) . from_abi :: < u64 > ( result__ ) } pub unsafe fn LockRequest < > ( & self , dwoptions : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .11 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwoptions ) , ) . ok ( ) } pub unsafe fn UnlockRequest < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .12 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IInternetProtocol { type Vtable = IInternetProtocol_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2045430244 ,47865 ,4558 , [ 140 ,130 ,0 ,170 ,0 ,75 ,169 ,11 ] , ) ; } impl :: std :: convert :: From < IInternetProtocol > for :: windows :: IUnknown { fn from ( value : IInternetProtocol ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IInternetProtocol > for :: windows :: IUnknown { fn from ( value : & IInternetProtocol ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IInternetProtocol { 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 IInternetProtocol { 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 < IInternetProtocol > for IInternetProtocolRoot { fn from ( value : IInternetProtocol ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IInternetProtocol > for IInternetProtocolRoot { fn from ( value : & IInternetProtocol ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IInternetProtocolRoot > for IInternetProtocol { fn into_param ( self ) -> :: windows :: Param < 'a , IInternetProtocolRoot > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IInternetProtocolRoot > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IInternetProtocolRoot > for & 'a IInternetProtocol { fn into_param ( self ) -> :: windows :: Param < 'a , IInternetProtocolRoot > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IInternetProtocolRoot > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IInternetProtocol_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 , szurl : super::super::Foundation:: PWSTR , poiprotsink : :: windows :: RawPtr , poibindinfo : :: windows :: RawPtr , grfpi : u32 , dwreserved : super::SystemServices:: HANDLE_PTR , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pprotocoldata : * mut PROTOCOLDATA , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , hrreason : :: windows :: HRESULT , dwoptions : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwoptions : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pv : * mut :: std :: ffi :: c_void , cb : u32 , pcbread : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dlibmove : i64 , dworigin : u32 , plibnewposition : * mut u64 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwoptions : u32 , ) -> :: 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 IInternetProtocolEx ( :: windows :: IUnknown ) ; impl IInternetProtocolEx { pub unsafe fn Start < 'a , > ( & self , szurl : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , poiprotsink : impl :: windows :: IntoParam < 'a , IInternetProtocolSink > , poibindinfo : impl :: windows :: IntoParam < 'a , IInternetBindInfo > , grfpi : u32 , dwreserved : impl :: windows :: IntoParam < 'a , super::SystemServices:: HANDLE_PTR > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , szurl . into_param ( ) . abi ( ) , poiprotsink . into_param ( ) . abi ( ) , poibindinfo . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( grfpi ) , dwreserved . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn Continue < > ( & self , pprotocoldata : * mut PROTOCOLDATA , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pprotocoldata ) , ) . ok ( ) } pub unsafe fn Abort < > ( & self , hrreason : :: windows :: HRESULT , dwoptions : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( hrreason ) , :: std :: mem :: transmute ( dwoptions ) , ) . ok ( ) } pub unsafe fn Terminate < > ( & self , dwoptions : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwoptions ) , ) . ok ( ) } pub unsafe fn Suspend < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn Resume < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn Read < > ( & self , pv : * mut :: std :: ffi :: c_void , cb : u32 , pcbread : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pv ) , :: std :: mem :: transmute ( cb ) , :: std :: mem :: transmute ( pcbread ) , ) . ok ( ) } pub unsafe fn Seek < > ( & self , dlibmove : i64 , dworigin : u32 , ) -> :: windows :: Result < u64 > { let mut result__ : < u64 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dlibmove ) , :: std :: mem :: transmute ( dworigin ) , & mut result__ ) . from_abi :: < u64 > ( result__ ) } pub unsafe fn LockRequest < > ( & self , dwoptions : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .11 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwoptions ) , ) . ok ( ) } pub unsafe fn UnlockRequest < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .12 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn StartEx < 'a , > ( & self , puri : impl :: windows :: IntoParam < 'a , IUri > , poiprotsink : impl :: windows :: IntoParam < 'a , IInternetProtocolSink > , poibindinfo : impl :: windows :: IntoParam < 'a , IInternetBindInfo > , grfpi : u32 , dwreserved : impl :: windows :: IntoParam < 'a , super::SystemServices:: HANDLE_PTR > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .13 ) ( :: windows :: Abi :: abi ( self ) , puri . into_param ( ) . abi ( ) , poiprotsink . into_param ( ) . abi ( ) , poibindinfo . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( grfpi ) , dwreserved . into_param ( ) . abi ( ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IInternetProtocolEx { type Vtable = IInternetProtocolEx_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3349778022 ,4112 ,18732 , [ 161 ,200 ,200 ,9 ,225 ,247 ,89 ,5 ] , ) ; } impl :: std :: convert :: From < IInternetProtocolEx > for :: windows :: IUnknown { fn from ( value : IInternetProtocolEx ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IInternetProtocolEx > for :: windows :: IUnknown { fn from ( value : & IInternetProtocolEx ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IInternetProtocolEx { 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 IInternetProtocolEx { 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 < IInternetProtocolEx > for IInternetProtocol { fn from ( value : IInternetProtocolEx ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IInternetProtocolEx > for IInternetProtocol { fn from ( value : & IInternetProtocolEx ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IInternetProtocol > for IInternetProtocolEx { fn into_param ( self ) -> :: windows :: Param < 'a , IInternetProtocol > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IInternetProtocol > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IInternetProtocol > for & 'a IInternetProtocolEx { fn into_param ( self ) -> :: windows :: Param < 'a , IInternetProtocol > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IInternetProtocol > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } impl :: std :: convert :: From < IInternetProtocolEx > for IInternetProtocolRoot { fn from ( value : IInternetProtocolEx ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IInternetProtocolEx > for IInternetProtocolRoot { fn from ( value : & IInternetProtocolEx ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IInternetProtocolRoot > for IInternetProtocolEx { fn into_param ( self ) -> :: windows :: Param < 'a , IInternetProtocolRoot > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IInternetProtocolRoot > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IInternetProtocolRoot > for & 'a IInternetProtocolEx { fn into_param ( self ) -> :: windows :: Param < 'a , IInternetProtocolRoot > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IInternetProtocolRoot > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IInternetProtocolEx_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 , szurl : super::super::Foundation:: PWSTR , poiprotsink : :: windows :: RawPtr , poibindinfo : :: windows :: RawPtr , grfpi : u32 , dwreserved : super::SystemServices:: HANDLE_PTR , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pprotocoldata : * mut PROTOCOLDATA , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , hrreason : :: windows :: HRESULT , dwoptions : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwoptions : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pv : * mut :: std :: ffi :: c_void , cb : u32 , pcbread : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dlibmove : i64 , dworigin : u32 , plibnewposition : * mut u64 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwoptions : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , puri : :: windows :: RawPtr , poiprotsink : :: windows :: RawPtr , poibindinfo : :: windows :: RawPtr , grfpi : u32 , dwreserved : super::SystemServices:: HANDLE_PTR , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IInternetProtocolInfo ( :: windows :: IUnknown ) ; impl IInternetProtocolInfo { pub unsafe fn ParseUrl < 'a , > ( & self , pwzurl : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , parseaction : PARSEACTION , dwparseflags : u32 , pwzresult : super::super::Foundation:: PWSTR , cchresult : u32 , pcchresult : * mut u32 , dwreserved : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , pwzurl . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( parseaction ) , :: std :: mem :: transmute ( dwparseflags ) , :: std :: mem :: transmute ( pwzresult ) , :: std :: mem :: transmute ( cchresult ) , :: std :: mem :: transmute ( pcchresult ) , :: std :: mem :: transmute ( dwreserved ) , ) . ok ( ) } pub unsafe fn CombineUrl < 'a , > ( & self , pwzbaseurl : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , pwzrelativeurl : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , dwcombineflags : u32 , pwzresult : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , cchresult : u32 , pcchresult : * mut u32 , dwreserved : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , pwzbaseurl . into_param ( ) . abi ( ) , pwzrelativeurl . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwcombineflags ) , pwzresult . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( cchresult ) , :: std :: mem :: transmute ( pcchresult ) , :: std :: mem :: transmute ( dwreserved ) , ) . ok ( ) } pub unsafe fn CompareUrl < 'a , > ( & self , pwzurl1 : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , pwzurl2 : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , dwcompareflags : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , pwzurl1 . into_param ( ) . abi ( ) , pwzurl2 . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwcompareflags ) , ) . ok ( ) } pub unsafe fn QueryInfo < 'a , > ( & self , pwzurl : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , oueryoption : QUERYOPTION , dwqueryflags : u32 , pbuffer : * mut :: std :: ffi :: c_void , cbbuffer : u32 , pcbbuf : * mut u32 , dwreserved : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , pwzurl . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( oueryoption ) , :: std :: mem :: transmute ( dwqueryflags ) , :: std :: mem :: transmute ( pbuffer ) , :: std :: mem :: transmute ( cbbuffer ) , :: std :: mem :: transmute ( pcbbuf ) , :: std :: mem :: transmute ( dwreserved ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IInternetProtocolInfo { type Vtable = IInternetProtocolInfo_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2045430252 ,47865 ,4558 , [ 140 ,130 ,0 ,170 ,0 ,75 ,169 ,11 ] , ) ; } impl :: std :: convert :: From < IInternetProtocolInfo > for :: windows :: IUnknown { fn from ( value : IInternetProtocolInfo ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IInternetProtocolInfo > for :: windows :: IUnknown { fn from ( value : & IInternetProtocolInfo ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IInternetProtocolInfo { 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 IInternetProtocolInfo { 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 IInternetProtocolInfo_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 , pwzurl : super::super::Foundation:: PWSTR , parseaction : PARSEACTION , dwparseflags : u32 , pwzresult : super::super::Foundation:: PWSTR , cchresult : u32 , pcchresult : * mut u32 , dwreserved : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pwzbaseurl : super::super::Foundation:: PWSTR , pwzrelativeurl : super::super::Foundation:: PWSTR , dwcombineflags : u32 , pwzresult : super::super::Foundation:: PWSTR , cchresult : u32 , pcchresult : * mut u32 , dwreserved : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pwzurl1 : super::super::Foundation:: PWSTR , pwzurl2 : super::super::Foundation:: PWSTR , dwcompareflags : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pwzurl : super::super::Foundation:: PWSTR , oueryoption : QUERYOPTION , dwqueryflags : u32 , pbuffer : * mut :: std :: ffi :: c_void , cbbuffer : u32 , pcbbuf : * mut u32 , dwreserved : u32 , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IInternetProtocolRoot ( :: windows :: IUnknown ) ; impl IInternetProtocolRoot { pub unsafe fn Start < 'a , > ( & self , szurl : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , poiprotsink : impl :: windows :: IntoParam < 'a , IInternetProtocolSink > , poibindinfo : impl :: windows :: IntoParam < 'a , IInternetBindInfo > , grfpi : u32 , dwreserved : impl :: windows :: IntoParam < 'a , super::SystemServices:: HANDLE_PTR > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , szurl . into_param ( ) . abi ( ) , poiprotsink . into_param ( ) . abi ( ) , poibindinfo . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( grfpi ) , dwreserved . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn Continue < > ( & self , pprotocoldata : * mut PROTOCOLDATA , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pprotocoldata ) , ) . ok ( ) } pub unsafe fn Abort < > ( & self , hrreason : :: windows :: HRESULT , dwoptions : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( hrreason ) , :: std :: mem :: transmute ( dwoptions ) , ) . ok ( ) } pub unsafe fn Terminate < > ( & self , dwoptions : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwoptions ) , ) . ok ( ) } pub unsafe fn Suspend < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn Resume < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IInternetProtocolRoot { type Vtable = IInternetProtocolRoot_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2045430243 ,47865 ,4558 , [ 140 ,130 ,0 ,170 ,0 ,75 ,169 ,11 ] , ) ; } impl :: std :: convert :: From < IInternetProtocolRoot > for :: windows :: IUnknown { fn from ( value : IInternetProtocolRoot ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IInternetProtocolRoot > for :: windows :: IUnknown { fn from ( value : & IInternetProtocolRoot ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IInternetProtocolRoot { 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 IInternetProtocolRoot { 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 IInternetProtocolRoot_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 , szurl : super::super::Foundation:: PWSTR , poiprotsink : :: windows :: RawPtr , poibindinfo : :: windows :: RawPtr , grfpi : u32 , dwreserved : super::SystemServices:: HANDLE_PTR , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pprotocoldata : * mut PROTOCOLDATA , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , hrreason : :: windows :: HRESULT , dwoptions : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwoptions : u32 , ) -> :: 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 IInternetProtocolSink ( :: windows :: IUnknown ) ; impl IInternetProtocolSink { pub unsafe fn Switch < > ( & self , pprotocoldata : * mut PROTOCOLDATA , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pprotocoldata ) , ) . ok ( ) } pub unsafe fn ReportProgress < 'a , > ( & self , ulstatuscode : u32 , szstatustext : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ulstatuscode ) , szstatustext . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn ReportData < > ( & self , grfbscf : u32 , ulprogress : u32 , ulprogressmax : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( grfbscf ) , :: std :: mem :: transmute ( ulprogress ) , :: std :: mem :: transmute ( ulprogressmax ) , ) . ok ( ) } pub unsafe fn ReportResult < 'a , > ( & self , hrresult : :: windows :: HRESULT , dwerror : u32 , szresult : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( hrresult ) , :: std :: mem :: transmute ( dwerror ) , szresult . into_param ( ) . abi ( ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IInternetProtocolSink { type Vtable = IInternetProtocolSink_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2045430245 ,47865 ,4558 , [ 140 ,130 ,0 ,170 ,0 ,75 ,169 ,11 ] , ) ; } impl :: std :: convert :: From < IInternetProtocolSink > for :: windows :: IUnknown { fn from ( value : IInternetProtocolSink ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IInternetProtocolSink > for :: windows :: IUnknown { fn from ( value : & IInternetProtocolSink ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IInternetProtocolSink { 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 IInternetProtocolSink { 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 IInternetProtocolSink_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 , pprotocoldata : * mut PROTOCOLDATA , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ulstatuscode : u32 , szstatustext : super::super::Foundation:: PWSTR , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , grfbscf : u32 , ulprogress : u32 , ulprogressmax : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , hrresult : :: windows :: HRESULT , dwerror : u32 , szresult : super::super::Foundation:: PWSTR , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IInternetProtocolSinkStackable ( :: windows :: IUnknown ) ; impl IInternetProtocolSinkStackable { pub unsafe fn SwitchSink < 'a , > ( & self , poiprotsink : impl :: windows :: IntoParam < 'a , IInternetProtocolSink > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , poiprotsink . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn CommitSwitch < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn RollbackSwitch < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IInternetProtocolSinkStackable { type Vtable = IInternetProtocolSinkStackable_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2045430256 ,47865 ,4558 , [ 140 ,130 ,0 ,170 ,0 ,75 ,169 ,11 ] , ) ; } impl :: std :: convert :: From < IInternetProtocolSinkStackable > for :: windows :: IUnknown { fn from ( value : IInternetProtocolSinkStackable ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IInternetProtocolSinkStackable > for :: windows :: IUnknown { fn from ( value : & IInternetProtocolSinkStackable ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IInternetProtocolSinkStackable { 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 IInternetProtocolSinkStackable { 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 IInternetProtocolSinkStackable_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 , poiprotsink : :: 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 IInternetSecurityManager ( :: windows :: IUnknown ) ; impl IInternetSecurityManager { pub unsafe fn SetSecuritySite < 'a , > ( & self , psite : impl :: windows :: IntoParam < 'a , IInternetSecurityMgrSite > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , psite . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn GetSecuritySite < > ( & self , ) -> :: windows :: Result < IInternetSecurityMgrSite > { let mut result__ : < IInternetSecurityMgrSite as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < IInternetSecurityMgrSite > ( result__ ) } pub unsafe fn MapUrlToZone < 'a , > ( & self , pwszurl : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , pdwzone : * mut u32 , dwflags : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , pwszurl . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pdwzone ) , :: std :: mem :: transmute ( dwflags ) , ) . ok ( ) } pub unsafe fn GetSecurityId < 'a , > ( & self , pwszurl : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , pbsecurityid : * mut u8 , pcbsecurityid : * mut u32 , dwreserved : usize , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , pwszurl . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pbsecurityid ) , :: std :: mem :: transmute ( pcbsecurityid ) , :: std :: mem :: transmute ( dwreserved ) , ) . ok ( ) } pub unsafe fn ProcessUrlAction < 'a , > ( & self , pwszurl : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , dwaction : u32 , ppolicy : * mut u8 , cbpolicy : u32 , pcontext : * mut u8 , cbcontext : u32 , dwflags : u32 , dwreserved : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , pwszurl . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwaction ) , :: std :: mem :: transmute ( ppolicy ) , :: std :: mem :: transmute ( cbpolicy ) , :: std :: mem :: transmute ( pcontext ) , :: std :: mem :: transmute ( cbcontext ) , :: std :: mem :: transmute ( dwflags ) , :: std :: mem :: transmute ( dwreserved ) , ) . ok ( ) } pub unsafe fn QueryCustomPolicy < 'a , > ( & self , pwszurl : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , guidkey : * const :: windows :: Guid , pppolicy : * mut * mut u8 , pcbpolicy : * mut u32 , pcontext : * mut u8 , cbcontext : u32 , dwreserved : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , pwszurl . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( guidkey ) , :: std :: mem :: transmute ( pppolicy ) , :: std :: mem :: transmute ( pcbpolicy ) , :: std :: mem :: transmute ( pcontext ) , :: std :: mem :: transmute ( cbcontext ) , :: std :: mem :: transmute ( dwreserved ) , ) . ok ( ) } pub unsafe fn SetZoneMapping < 'a , > ( & self , dwzone : u32 , lpszpattern : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , dwflags : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwzone ) , lpszpattern . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwflags ) , ) . ok ( ) } pub unsafe fn GetZoneMappings < > ( & self , dwzone : u32 , ppenumstring : * mut :: std :: option :: Option < IEnumString > , dwflags : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwzone ) , :: std :: mem :: transmute ( ppenumstring ) , :: std :: mem :: transmute ( dwflags ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IInternetSecurityManager { type Vtable = IInternetSecurityManager_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2045430254 ,47865 ,4558 , [ 140 ,130 ,0 ,170 ,0 ,75 ,169 ,11 ] , ) ; } impl :: std :: convert :: From < IInternetSecurityManager > for :: windows :: IUnknown { fn from ( value : IInternetSecurityManager ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IInternetSecurityManager > for :: windows :: IUnknown { fn from ( value : & IInternetSecurityManager ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IInternetSecurityManager { 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 IInternetSecurityManager { 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 IInternetSecurityManager_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 , psite : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppsite : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pwszurl : super::super::Foundation:: PWSTR , pdwzone : * mut u32 , dwflags : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pwszurl : super::super::Foundation:: PWSTR , pbsecurityid : * mut u8 , pcbsecurityid : * mut u32 , dwreserved : usize , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pwszurl : super::super::Foundation:: PWSTR , dwaction : u32 , ppolicy : * mut u8 , cbpolicy : u32 , pcontext : * mut u8 , cbcontext : u32 , dwflags : u32 , dwreserved : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pwszurl : super::super::Foundation:: PWSTR , guidkey : * const :: windows :: Guid , pppolicy : * mut * mut u8 , pcbpolicy : * mut u32 , pcontext : * mut u8 , cbcontext : u32 , dwreserved : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwzone : u32 , lpszpattern : super::super::Foundation:: PWSTR , dwflags : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwzone : u32 , ppenumstring : * mut :: windows :: RawPtr , dwflags : u32 , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IInternetSecurityManagerEx ( :: windows :: IUnknown ) ; impl IInternetSecurityManagerEx { pub unsafe fn SetSecuritySite < 'a , > ( & self , psite : impl :: windows :: IntoParam < 'a , IInternetSecurityMgrSite > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , psite . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn GetSecuritySite < > ( & self , ) -> :: windows :: Result < IInternetSecurityMgrSite > { let mut result__ : < IInternetSecurityMgrSite as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < IInternetSecurityMgrSite > ( result__ ) } pub unsafe fn MapUrlToZone < 'a , > ( & self , pwszurl : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , pdwzone : * mut u32 , dwflags : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , pwszurl . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pdwzone ) , :: std :: mem :: transmute ( dwflags ) , ) . ok ( ) } pub unsafe fn GetSecurityId < 'a , > ( & self , pwszurl : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , pbsecurityid : * mut u8 , pcbsecurityid : * mut u32 , dwreserved : usize , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , pwszurl . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pbsecurityid ) , :: std :: mem :: transmute ( pcbsecurityid ) , :: std :: mem :: transmute ( dwreserved ) , ) . ok ( ) } pub unsafe fn ProcessUrlAction < 'a , > ( & self , pwszurl : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , dwaction : u32 , ppolicy : * mut u8 , cbpolicy : u32 , pcontext : * mut u8 , cbcontext : u32 , dwflags : u32 , dwreserved : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , pwszurl . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwaction ) , :: std :: mem :: transmute ( ppolicy ) , :: std :: mem :: transmute ( cbpolicy ) , :: std :: mem :: transmute ( pcontext ) , :: std :: mem :: transmute ( cbcontext ) , :: std :: mem :: transmute ( dwflags ) , :: std :: mem :: transmute ( dwreserved ) , ) . ok ( ) } pub unsafe fn QueryCustomPolicy < 'a , > ( & self , pwszurl : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , guidkey : * const :: windows :: Guid , pppolicy : * mut * mut u8 , pcbpolicy : * mut u32 , pcontext : * mut u8 , cbcontext : u32 , dwreserved : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , pwszurl . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( guidkey ) , :: std :: mem :: transmute ( pppolicy ) , :: std :: mem :: transmute ( pcbpolicy ) , :: std :: mem :: transmute ( pcontext ) , :: std :: mem :: transmute ( cbcontext ) , :: std :: mem :: transmute ( dwreserved ) , ) . ok ( ) } pub unsafe fn SetZoneMapping < 'a , > ( & self , dwzone : u32 , lpszpattern : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , dwflags : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwzone ) , lpszpattern . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwflags ) , ) . ok ( ) } pub unsafe fn GetZoneMappings < > ( & self , dwzone : u32 , ppenumstring : * mut :: std :: option :: Option < IEnumString > , dwflags : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwzone ) , :: std :: mem :: transmute ( ppenumstring ) , :: std :: mem :: transmute ( dwflags ) , ) . ok ( ) } pub unsafe fn ProcessUrlActionEx < 'a , > ( & self , pwszurl : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , dwaction : u32 , ppolicy : * mut u8 , cbpolicy : u32 , pcontext : * mut u8 , cbcontext : u32 , dwflags : u32 , dwreserved : u32 , pdwoutflags : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .11 ) ( :: windows :: Abi :: abi ( self ) , pwszurl . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwaction ) , :: std :: mem :: transmute ( ppolicy ) , :: std :: mem :: transmute ( cbpolicy ) , :: std :: mem :: transmute ( pcontext ) , :: std :: mem :: transmute ( cbcontext ) , :: std :: mem :: transmute ( dwflags ) , :: std :: mem :: transmute ( dwreserved ) , :: std :: mem :: transmute ( pdwoutflags ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IInternetSecurityManagerEx { type Vtable = IInternetSecurityManagerEx_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 4049923569 ,52348 ,20237 , [ 154 ,148 ,52 ,34 ,38 ,37 ,195 ,147 ] , ) ; } impl :: std :: convert :: From < IInternetSecurityManagerEx > for :: windows :: IUnknown { fn from ( value : IInternetSecurityManagerEx ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IInternetSecurityManagerEx > for :: windows :: IUnknown { fn from ( value : & IInternetSecurityManagerEx ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IInternetSecurityManagerEx { 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 IInternetSecurityManagerEx { 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 < IInternetSecurityManagerEx > for IInternetSecurityManager { fn from ( value : IInternetSecurityManagerEx ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IInternetSecurityManagerEx > for IInternetSecurityManager { fn from ( value : & IInternetSecurityManagerEx ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IInternetSecurityManager > for IInternetSecurityManagerEx { fn into_param ( self ) -> :: windows :: Param < 'a , IInternetSecurityManager > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IInternetSecurityManager > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IInternetSecurityManager > for & 'a IInternetSecurityManagerEx { fn into_param ( self ) -> :: windows :: Param < 'a , IInternetSecurityManager > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IInternetSecurityManager > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IInternetSecurityManagerEx_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 , psite : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppsite : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pwszurl : super::super::Foundation:: PWSTR , pdwzone : * mut u32 , dwflags : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pwszurl : super::super::Foundation:: PWSTR , pbsecurityid : * mut u8 , pcbsecurityid : * mut u32 , dwreserved : usize , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pwszurl : super::super::Foundation:: PWSTR , dwaction : u32 , ppolicy : * mut u8 , cbpolicy : u32 , pcontext : * mut u8 , cbcontext : u32 , dwflags : u32 , dwreserved : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pwszurl : super::super::Foundation:: PWSTR , guidkey : * const :: windows :: Guid , pppolicy : * mut * mut u8 , pcbpolicy : * mut u32 , pcontext : * mut u8 , cbcontext : u32 , dwreserved : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwzone : u32 , lpszpattern : super::super::Foundation:: PWSTR , dwflags : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwzone : u32 , ppenumstring : * mut :: windows :: RawPtr , dwflags : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pwszurl : super::super::Foundation:: PWSTR , dwaction : u32 , ppolicy : * mut u8 , cbpolicy : u32 , pcontext : * mut u8 , cbcontext : u32 , dwflags : u32 , dwreserved : u32 , pdwoutflags : * mut u32 , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IInternetSecurityManagerEx2 ( :: windows :: IUnknown ) ; impl IInternetSecurityManagerEx2 { pub unsafe fn SetSecuritySite < 'a , > ( & self , psite : impl :: windows :: IntoParam < 'a , IInternetSecurityMgrSite > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , psite . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn GetSecuritySite < > ( & self , ) -> :: windows :: Result < IInternetSecurityMgrSite > { let mut result__ : < IInternetSecurityMgrSite as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < IInternetSecurityMgrSite > ( result__ ) } pub unsafe fn MapUrlToZone < 'a , > ( & self , pwszurl : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , pdwzone : * mut u32 , dwflags : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , pwszurl . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pdwzone ) , :: std :: mem :: transmute ( dwflags ) , ) . ok ( ) } pub unsafe fn GetSecurityId < 'a , > ( & self , pwszurl : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , pbsecurityid : * mut u8 , pcbsecurityid : * mut u32 , dwreserved : usize , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , pwszurl . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pbsecurityid ) , :: std :: mem :: transmute ( pcbsecurityid ) , :: std :: mem :: transmute ( dwreserved ) , ) . ok ( ) } pub unsafe fn ProcessUrlAction < 'a , > ( & self , pwszurl : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , dwaction : u32 , ppolicy : * mut u8 , cbpolicy : u32 , pcontext : * mut u8 , cbcontext : u32 , dwflags : u32 , dwreserved : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , pwszurl . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwaction ) , :: std :: mem :: transmute ( ppolicy ) , :: std :: mem :: transmute ( cbpolicy ) , :: std :: mem :: transmute ( pcontext ) , :: std :: mem :: transmute ( cbcontext ) , :: std :: mem :: transmute ( dwflags ) , :: std :: mem :: transmute ( dwreserved ) , ) . ok ( ) } pub unsafe fn QueryCustomPolicy < 'a , > ( & self , pwszurl : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , guidkey : * const :: windows :: Guid , pppolicy : * mut * mut u8 , pcbpolicy : * mut u32 , pcontext : * mut u8 , cbcontext : u32 , dwreserved : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , pwszurl . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( guidkey ) , :: std :: mem :: transmute ( pppolicy ) , :: std :: mem :: transmute ( pcbpolicy ) , :: std :: mem :: transmute ( pcontext ) , :: std :: mem :: transmute ( cbcontext ) , :: std :: mem :: transmute ( dwreserved ) , ) . ok ( ) } pub unsafe fn SetZoneMapping < 'a , > ( & self , dwzone : u32 , lpszpattern : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , dwflags : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwzone ) , lpszpattern . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwflags ) , ) . ok ( ) } pub unsafe fn GetZoneMappings < > ( & self , dwzone : u32 , ppenumstring : * mut :: std :: option :: Option < IEnumString > , dwflags : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwzone ) , :: std :: mem :: transmute ( ppenumstring ) , :: std :: mem :: transmute ( dwflags ) , ) . ok ( ) } pub unsafe fn ProcessUrlActionEx < 'a , > ( & self , pwszurl : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , dwaction : u32 , ppolicy : * mut u8 , cbpolicy : u32 , pcontext : * mut u8 , cbcontext : u32 , dwflags : u32 , dwreserved : u32 , pdwoutflags : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .11 ) ( :: windows :: Abi :: abi ( self ) , pwszurl . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwaction ) , :: std :: mem :: transmute ( ppolicy ) , :: std :: mem :: transmute ( cbpolicy ) , :: std :: mem :: transmute ( pcontext ) , :: std :: mem :: transmute ( cbcontext ) , :: std :: mem :: transmute ( dwflags ) , :: std :: mem :: transmute ( dwreserved ) , :: std :: mem :: transmute ( pdwoutflags ) , ) . ok ( ) } pub unsafe fn MapUrlToZoneEx2 < 'a , > ( & self , puri : impl :: windows :: IntoParam < 'a , IUri > , pdwzone : * mut u32 , dwflags : u32 , ppwszmappedurl : * mut super::super::Foundation:: PWSTR , pdwoutflags : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .12 ) ( :: windows :: Abi :: abi ( self ) , puri . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pdwzone ) , :: std :: mem :: transmute ( dwflags ) , :: std :: mem :: transmute ( ppwszmappedurl ) , :: std :: mem :: transmute ( pdwoutflags ) , ) . ok ( ) } pub unsafe fn ProcessUrlActionEx2 < 'a , > ( & self , puri : impl :: windows :: IntoParam < 'a , IUri > , dwaction : u32 , ppolicy : * mut u8 , cbpolicy : u32 , pcontext : * mut u8 , cbcontext : u32 , dwflags : u32 , dwreserved : usize , pdwoutflags : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .13 ) ( :: windows :: Abi :: abi ( self ) , puri . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwaction ) , :: std :: mem :: transmute ( ppolicy ) , :: std :: mem :: transmute ( cbpolicy ) , :: std :: mem :: transmute ( pcontext ) , :: std :: mem :: transmute ( cbcontext ) , :: std :: mem :: transmute ( dwflags ) , :: std :: mem :: transmute ( dwreserved ) , :: std :: mem :: transmute ( pdwoutflags ) , ) . ok ( ) } pub unsafe fn GetSecurityIdEx2 < 'a , > ( & self , puri : impl :: windows :: IntoParam < 'a , IUri > , pbsecurityid : * mut u8 , pcbsecurityid : * mut u32 , dwreserved : usize , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .14 ) ( :: windows :: Abi :: abi ( self ) , puri . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pbsecurityid ) , :: std :: mem :: transmute ( pcbsecurityid ) , :: std :: mem :: transmute ( dwreserved ) , ) . ok ( ) } pub unsafe fn QueryCustomPolicyEx2 < 'a , > ( & self , puri : impl :: windows :: IntoParam < 'a , IUri > , guidkey : * const :: windows :: Guid , pppolicy : * mut * mut u8 , pcbpolicy : * mut u32 , pcontext : * mut u8 , cbcontext : u32 , dwreserved : usize , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .15 ) ( :: windows :: Abi :: abi ( self ) , puri . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( guidkey ) , :: std :: mem :: transmute ( pppolicy ) , :: std :: mem :: transmute ( pcbpolicy ) , :: std :: mem :: transmute ( pcontext ) , :: std :: mem :: transmute ( cbcontext ) , :: std :: mem :: transmute ( dwreserved ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IInternetSecurityManagerEx2 { type Vtable = IInternetSecurityManagerEx2_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 4058317458 ,42901 ,16663 , [ 142 ,9 ,43 ,86 ,10 ,114 ,172 ,96 ] , ) ; } impl :: std :: convert :: From < IInternetSecurityManagerEx2 > for :: windows :: IUnknown { fn from ( value : IInternetSecurityManagerEx2 ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IInternetSecurityManagerEx2 > for :: windows :: IUnknown { fn from ( value : & IInternetSecurityManagerEx2 ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IInternetSecurityManagerEx2 { 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 IInternetSecurityManagerEx2 { 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 < IInternetSecurityManagerEx2 > for IInternetSecurityManagerEx { fn from ( value : IInternetSecurityManagerEx2 ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IInternetSecurityManagerEx2 > for IInternetSecurityManagerEx { fn from ( value : & IInternetSecurityManagerEx2 ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IInternetSecurityManagerEx > for IInternetSecurityManagerEx2 { fn into_param ( self ) -> :: windows :: Param < 'a , IInternetSecurityManagerEx > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IInternetSecurityManagerEx > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IInternetSecurityManagerEx > for & 'a IInternetSecurityManagerEx2 { fn into_param ( self ) -> :: windows :: Param < 'a , IInternetSecurityManagerEx > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IInternetSecurityManagerEx > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } impl :: std :: convert :: From < IInternetSecurityManagerEx2 > for IInternetSecurityManager { fn from ( value : IInternetSecurityManagerEx2 ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IInternetSecurityManagerEx2 > for IInternetSecurityManager { fn from ( value : & IInternetSecurityManagerEx2 ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IInternetSecurityManager > for IInternetSecurityManagerEx2 { fn into_param ( self ) -> :: windows :: Param < 'a , IInternetSecurityManager > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IInternetSecurityManager > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IInternetSecurityManager > for & 'a IInternetSecurityManagerEx2 { fn into_param ( self ) -> :: windows :: Param < 'a , IInternetSecurityManager > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IInternetSecurityManager > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IInternetSecurityManagerEx2_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 , psite : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppsite : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pwszurl : super::super::Foundation:: PWSTR , pdwzone : * mut u32 , dwflags : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pwszurl : super::super::Foundation:: PWSTR , pbsecurityid : * mut u8 , pcbsecurityid : * mut u32 , dwreserved : usize , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pwszurl : super::super::Foundation:: PWSTR , dwaction : u32 , ppolicy : * mut u8 , cbpolicy : u32 , pcontext : * mut u8 , cbcontext : u32 , dwflags : u32 , dwreserved : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pwszurl : super::super::Foundation:: PWSTR , guidkey : * const :: windows :: Guid , pppolicy : * mut * mut u8 , pcbpolicy : * mut u32 , pcontext : * mut u8 , cbcontext : u32 , dwreserved : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwzone : u32 , lpszpattern : super::super::Foundation:: PWSTR , dwflags : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwzone : u32 , ppenumstring : * mut :: windows :: RawPtr , dwflags : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pwszurl : super::super::Foundation:: PWSTR , dwaction : u32 , ppolicy : * mut u8 , cbpolicy : u32 , pcontext : * mut u8 , cbcontext : u32 , dwflags : u32 , dwreserved : u32 , pdwoutflags : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , puri : :: windows :: RawPtr , pdwzone : * mut u32 , dwflags : u32 , ppwszmappedurl : * mut super::super::Foundation:: PWSTR , pdwoutflags : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , puri : :: windows :: RawPtr , dwaction : u32 , ppolicy : * mut u8 , cbpolicy : u32 , pcontext : * mut u8 , cbcontext : u32 , dwflags : u32 , dwreserved : usize , pdwoutflags : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , puri : :: windows :: RawPtr , pbsecurityid : * mut u8 , pcbsecurityid : * mut u32 , dwreserved : usize , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , puri : :: windows :: RawPtr , guidkey : * const :: windows :: Guid , pppolicy : * mut * mut u8 , pcbpolicy : * mut u32 , pcontext : * mut u8 , cbcontext : u32 , dwreserved : usize , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IInternetSecurityMgrSite ( :: windows :: IUnknown ) ; impl IInternetSecurityMgrSite { pub unsafe fn GetWindow < > ( & self , ) -> :: windows :: Result < super::super::Foundation:: HWND > { let mut result__ : < super::super::Foundation:: HWND as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < super::super::Foundation:: HWND > ( result__ ) } pub unsafe fn EnableModeless < 'a , > ( & self , fenable : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , fenable . into_param ( ) . abi ( ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IInternetSecurityMgrSite { type Vtable = IInternetSecurityMgrSite_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2045430253 ,47865 ,4558 , [ 140 ,130 ,0 ,170 ,0 ,75 ,169 ,11 ] , ) ; } impl :: std :: convert :: From < IInternetSecurityMgrSite > for :: windows :: IUnknown { fn from ( value : IInternetSecurityMgrSite ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IInternetSecurityMgrSite > for :: windows :: IUnknown { fn from ( value : & IInternetSecurityMgrSite ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IInternetSecurityMgrSite { 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 IInternetSecurityMgrSite { 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 IInternetSecurityMgrSite_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 , phwnd : * mut super::super::Foundation:: HWND , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , fenable : super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IInternetSession ( :: windows :: IUnknown ) ; impl IInternetSession { pub unsafe fn RegisterNameSpace < 'a , > ( & self , pcf : impl :: windows :: IntoParam < 'a , IClassFactory > , rclsid : * const :: windows :: Guid , pwzprotocol : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , cpatterns : u32 , ppwzpatterns : * const super::super::Foundation:: PWSTR , dwreserved : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , pcf . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( rclsid ) , pwzprotocol . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( cpatterns ) , :: std :: mem :: transmute ( ppwzpatterns ) , :: std :: mem :: transmute ( dwreserved ) , ) . ok ( ) } pub unsafe fn UnregisterNameSpace < 'a , > ( & self , pcf : impl :: windows :: IntoParam < 'a , IClassFactory > , pszprotocol : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , pcf . into_param ( ) . abi ( ) , pszprotocol . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn RegisterMimeFilter < 'a , > ( & self , pcf : impl :: windows :: IntoParam < 'a , IClassFactory > , rclsid : * const :: windows :: Guid , pwztype : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , pcf . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( rclsid ) , pwztype . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn UnregisterMimeFilter < 'a , > ( & self , pcf : impl :: windows :: IntoParam < 'a , IClassFactory > , pwztype : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , pcf . into_param ( ) . abi ( ) , pwztype . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn CreateBinding < 'a , > ( & self , pbc : impl :: windows :: IntoParam < 'a , IBindCtx > , szurl : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , punkouter : impl :: windows :: IntoParam < 'a , :: windows :: IUnknown > , ppunk : * mut :: std :: option :: Option < :: windows :: IUnknown > , ppoinetprot : * mut :: std :: option :: Option < IInternetProtocol > , dwoption : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , pbc . into_param ( ) . abi ( ) , szurl . into_param ( ) . abi ( ) , punkouter . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ppunk ) , :: std :: mem :: transmute ( ppoinetprot ) , :: std :: mem :: transmute ( dwoption ) , ) . ok ( ) } pub unsafe fn SetSessionOption < > ( & self , dwoption : u32 , pbuffer : * mut :: std :: ffi :: c_void , dwbufferlength : u32 , dwreserved : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwoption ) , :: std :: mem :: transmute ( pbuffer ) , :: std :: mem :: transmute ( dwbufferlength ) , :: std :: mem :: transmute ( dwreserved ) , ) . ok ( ) } pub unsafe fn GetSessionOption < > ( & self , dwoption : u32 , pbuffer : * mut :: std :: ffi :: c_void , pdwbufferlength : * mut u32 , dwreserved : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwoption ) , :: std :: mem :: transmute ( pbuffer ) , :: std :: mem :: transmute ( pdwbufferlength ) , :: std :: mem :: transmute ( dwreserved ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IInternetSession { type Vtable = IInternetSession_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2045430247 ,47865 ,4558 , [ 140 ,130 ,0 ,170 ,0 ,75 ,169 ,11 ] , ) ; } impl :: std :: convert :: From < IInternetSession > for :: windows :: IUnknown { fn from ( value : IInternetSession ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IInternetSession > for :: windows :: IUnknown { fn from ( value : & IInternetSession ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IInternetSession { 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 IInternetSession { 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 IInternetSession_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 , pcf : :: windows :: RawPtr , rclsid : * const :: windows :: Guid , pwzprotocol : super::super::Foundation:: PWSTR , cpatterns : u32 , ppwzpatterns : * const super::super::Foundation:: PWSTR , dwreserved : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pcf : :: windows :: RawPtr , pszprotocol : super::super::Foundation:: PWSTR , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pcf : :: windows :: RawPtr , rclsid : * const :: windows :: Guid , pwztype : super::super::Foundation:: PWSTR , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pcf : :: windows :: RawPtr , pwztype : super::super::Foundation:: PWSTR , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pbc : :: windows :: RawPtr , szurl : super::super::Foundation:: PWSTR , punkouter : :: windows :: RawPtr , ppunk : * mut :: windows :: RawPtr , ppoinetprot : * mut :: windows :: RawPtr , dwoption : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwoption : u32 , pbuffer : * mut :: std :: ffi :: c_void , dwbufferlength : u32 , dwreserved : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwoption : u32 , pbuffer : * mut :: std :: ffi :: c_void , pdwbufferlength : * mut u32 , dwreserved : u32 , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IInternetThreadSwitch ( :: windows :: IUnknown ) ; impl IInternetThreadSwitch { pub unsafe fn Prepare < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn Continue < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IInternetThreadSwitch { type Vtable = IInternetThreadSwitch_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2045430248 ,47865 ,4558 , [ 140 ,130 ,0 ,170 ,0 ,75 ,169 ,11 ] , ) ; } impl :: std :: convert :: From < IInternetThreadSwitch > for :: windows :: IUnknown { fn from ( value : IInternetThreadSwitch ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IInternetThreadSwitch > for :: windows :: IUnknown { fn from ( value : & IInternetThreadSwitch ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IInternetThreadSwitch { 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 IInternetThreadSwitch { 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 IInternetThreadSwitch_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 , ) -> :: 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 IInternetZoneManager ( :: windows :: IUnknown ) ; impl IInternetZoneManager { pub unsafe fn GetZoneAttributes < > ( & self , dwzone : u32 , pzoneattributes : * mut ZONEATTRIBUTES , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwzone ) , :: std :: mem :: transmute ( pzoneattributes ) , ) . ok ( ) } pub unsafe fn SetZoneAttributes < > ( & self , dwzone : u32 , pzoneattributes : * mut ZONEATTRIBUTES , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwzone ) , :: std :: mem :: transmute ( pzoneattributes ) , ) . ok ( ) } pub unsafe fn GetZoneCustomPolicy < > ( & self , dwzone : u32 , guidkey : * const :: windows :: Guid , pppolicy : * mut * mut u8 , pcbpolicy : * mut u32 , urlzonereg : URLZONEREG , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwzone ) , :: std :: mem :: transmute ( guidkey ) , :: std :: mem :: transmute ( pppolicy ) , :: std :: mem :: transmute ( pcbpolicy ) , :: std :: mem :: transmute ( urlzonereg ) , ) . ok ( ) } pub unsafe fn SetZoneCustomPolicy < > ( & self , dwzone : u32 , guidkey : * const :: windows :: Guid , ppolicy : * mut u8 , cbpolicy : u32 , urlzonereg : URLZONEREG , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwzone ) , :: std :: mem :: transmute ( guidkey ) , :: std :: mem :: transmute ( ppolicy ) , :: std :: mem :: transmute ( cbpolicy ) , :: std :: mem :: transmute ( urlzonereg ) , ) . ok ( ) } pub unsafe fn GetZoneActionPolicy < > ( & self , dwzone : u32 , dwaction : u32 , ppolicy : * mut u8 , cbpolicy : u32 , urlzonereg : URLZONEREG , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwzone ) , :: std :: mem :: transmute ( dwaction ) , :: std :: mem :: transmute ( ppolicy ) , :: std :: mem :: transmute ( cbpolicy ) , :: std :: mem :: transmute ( urlzonereg ) , ) . ok ( ) } pub unsafe fn SetZoneActionPolicy < > ( & self , dwzone : u32 , dwaction : u32 , ppolicy : * mut u8 , cbpolicy : u32 , urlzonereg : URLZONEREG , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwzone ) , :: std :: mem :: transmute ( dwaction ) , :: std :: mem :: transmute ( ppolicy ) , :: std :: mem :: transmute ( cbpolicy ) , :: std :: mem :: transmute ( urlzonereg ) , ) . ok ( ) } pub unsafe fn PromptAction < 'a , > ( & self , dwaction : u32 , hwndparent : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HWND > , pwszurl : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , pwsztext : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , dwpromptflags : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwaction ) , hwndparent . into_param ( ) . abi ( ) , pwszurl . into_param ( ) . abi ( ) , pwsztext . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwpromptflags ) , ) . ok ( ) } pub unsafe fn LogAction < 'a , > ( & self , dwaction : u32 , pwszurl : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , pwsztext : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , dwlogflags : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwaction ) , pwszurl . into_param ( ) . abi ( ) , pwsztext . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwlogflags ) , ) . ok ( ) } pub unsafe fn CreateZoneEnumerator < > ( & self , pdwenum : * mut u32 , pdwcount : * mut u32 , dwflags : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .11 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pdwenum ) , :: std :: mem :: transmute ( pdwcount ) , :: std :: mem :: transmute ( dwflags ) , ) . ok ( ) } pub unsafe fn GetZoneAt < > ( & self , dwenum : u32 , dwindex : u32 , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .12 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwenum ) , :: std :: mem :: transmute ( dwindex ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn DestroyZoneEnumerator < > ( & self , dwenum : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .13 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwenum ) , ) . ok ( ) } pub unsafe fn CopyTemplatePoliciesToZone < > ( & self , dwtemplate : u32 , dwzone : u32 , dwreserved : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .14 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwtemplate ) , :: std :: mem :: transmute ( dwzone ) , :: std :: mem :: transmute ( dwreserved ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IInternetZoneManager { type Vtable = IInternetZoneManager_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2045430255 ,47865 ,4558 , [ 140 ,130 ,0 ,170 ,0 ,75 ,169 ,11 ] , ) ; } impl :: std :: convert :: From < IInternetZoneManager > for :: windows :: IUnknown { fn from ( value : IInternetZoneManager ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IInternetZoneManager > for :: windows :: IUnknown { fn from ( value : & IInternetZoneManager ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IInternetZoneManager { 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 IInternetZoneManager { 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 IInternetZoneManager_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 , dwzone : u32 , pzoneattributes : * mut ZONEATTRIBUTES , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwzone : u32 , pzoneattributes : * mut ZONEATTRIBUTES , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwzone : u32 , guidkey : * const :: windows :: Guid , pppolicy : * mut * mut u8 , pcbpolicy : * mut u32 , urlzonereg : URLZONEREG , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwzone : u32 , guidkey : * const :: windows :: Guid , ppolicy : * mut u8 , cbpolicy : u32 , urlzonereg : URLZONEREG , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwzone : u32 , dwaction : u32 , ppolicy : * mut u8 , cbpolicy : u32 , urlzonereg : URLZONEREG , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwzone : u32 , dwaction : u32 , ppolicy : * mut u8 , cbpolicy : u32 , urlzonereg : URLZONEREG , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwaction : u32 , hwndparent : super::super::Foundation:: HWND , pwszurl : super::super::Foundation:: PWSTR , pwsztext : super::super::Foundation:: PWSTR , dwpromptflags : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwaction : u32 , pwszurl : super::super::Foundation:: PWSTR , pwsztext : super::super::Foundation:: PWSTR , dwlogflags : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pdwenum : * mut u32 , pdwcount : * mut u32 , dwflags : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwenum : u32 , dwindex : u32 , pdwzone : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwenum : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwtemplate : u32 , dwzone : u32 , dwreserved : u32 , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IInternetZoneManagerEx ( :: windows :: IUnknown ) ; impl IInternetZoneManagerEx { pub unsafe fn GetZoneAttributes < > ( & self , dwzone : u32 , pzoneattributes : * mut ZONEATTRIBUTES , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwzone ) , :: std :: mem :: transmute ( pzoneattributes ) , ) . ok ( ) } pub unsafe fn SetZoneAttributes < > ( & self , dwzone : u32 , pzoneattributes : * mut ZONEATTRIBUTES , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwzone ) , :: std :: mem :: transmute ( pzoneattributes ) , ) . ok ( ) } pub unsafe fn GetZoneCustomPolicy < > ( & self , dwzone : u32 , guidkey : * const :: windows :: Guid , pppolicy : * mut * mut u8 , pcbpolicy : * mut u32 , urlzonereg : URLZONEREG , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwzone ) , :: std :: mem :: transmute ( guidkey ) , :: std :: mem :: transmute ( pppolicy ) , :: std :: mem :: transmute ( pcbpolicy ) , :: std :: mem :: transmute ( urlzonereg ) , ) . ok ( ) } pub unsafe fn SetZoneCustomPolicy < > ( & self , dwzone : u32 , guidkey : * const :: windows :: Guid , ppolicy : * mut u8 , cbpolicy : u32 , urlzonereg : URLZONEREG , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwzone ) , :: std :: mem :: transmute ( guidkey ) , :: std :: mem :: transmute ( ppolicy ) , :: std :: mem :: transmute ( cbpolicy ) , :: std :: mem :: transmute ( urlzonereg ) , ) . ok ( ) } pub unsafe fn GetZoneActionPolicy < > ( & self , dwzone : u32 , dwaction : u32 , ppolicy : * mut u8 , cbpolicy : u32 , urlzonereg : URLZONEREG , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwzone ) , :: std :: mem :: transmute ( dwaction ) , :: std :: mem :: transmute ( ppolicy ) , :: std :: mem :: transmute ( cbpolicy ) , :: std :: mem :: transmute ( urlzonereg ) , ) . ok ( ) } pub unsafe fn SetZoneActionPolicy < > ( & self , dwzone : u32 , dwaction : u32 , ppolicy : * mut u8 , cbpolicy : u32 , urlzonereg : URLZONEREG , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwzone ) , :: std :: mem :: transmute ( dwaction ) , :: std :: mem :: transmute ( ppolicy ) , :: std :: mem :: transmute ( cbpolicy ) , :: std :: mem :: transmute ( urlzonereg ) , ) . ok ( ) } pub unsafe fn PromptAction < 'a , > ( & self , dwaction : u32 , hwndparent : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HWND > , pwszurl : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , pwsztext : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , dwpromptflags : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwaction ) , hwndparent . into_param ( ) . abi ( ) , pwszurl . into_param ( ) . abi ( ) , pwsztext . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwpromptflags ) , ) . ok ( ) } pub unsafe fn LogAction < 'a , > ( & self , dwaction : u32 , pwszurl : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , pwsztext : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , dwlogflags : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwaction ) , pwszurl . into_param ( ) . abi ( ) , pwsztext . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwlogflags ) , ) . ok ( ) } pub unsafe fn CreateZoneEnumerator < > ( & self , pdwenum : * mut u32 , pdwcount : * mut u32 , dwflags : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .11 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pdwenum ) , :: std :: mem :: transmute ( pdwcount ) , :: std :: mem :: transmute ( dwflags ) , ) . ok ( ) } pub unsafe fn GetZoneAt < > ( & self , dwenum : u32 , dwindex : u32 , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .12 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwenum ) , :: std :: mem :: transmute ( dwindex ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn DestroyZoneEnumerator < > ( & self , dwenum : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .13 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwenum ) , ) . ok ( ) } pub unsafe fn CopyTemplatePoliciesToZone < > ( & self , dwtemplate : u32 , dwzone : u32 , dwreserved : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .14 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwtemplate ) , :: std :: mem :: transmute ( dwzone ) , :: std :: mem :: transmute ( dwreserved ) , ) . ok ( ) } pub unsafe fn GetZoneActionPolicyEx < > ( & self , dwzone : u32 , dwaction : u32 , ppolicy : * mut u8 , cbpolicy : u32 , urlzonereg : URLZONEREG , dwflags : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .15 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwzone ) , :: std :: mem :: transmute ( dwaction ) , :: std :: mem :: transmute ( ppolicy ) , :: std :: mem :: transmute ( cbpolicy ) , :: std :: mem :: transmute ( urlzonereg ) , :: std :: mem :: transmute ( dwflags ) , ) . ok ( ) } pub unsafe fn SetZoneActionPolicyEx < > ( & self , dwzone : u32 , dwaction : u32 , ppolicy : * mut u8 , cbpolicy : u32 , urlzonereg : URLZONEREG , dwflags : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .16 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwzone ) , :: std :: mem :: transmute ( dwaction ) , :: std :: mem :: transmute ( ppolicy ) , :: std :: mem :: transmute ( cbpolicy ) , :: std :: mem :: transmute ( urlzonereg ) , :: std :: mem :: transmute ( dwflags ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IInternetZoneManagerEx { type Vtable = IInternetZoneManagerEx_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2764190521 ,36358 ,17182 , [ 155 ,244 ,126 ,113 ,28 ,8 ,86 ,72 ] , ) ; } impl :: std :: convert :: From < IInternetZoneManagerEx > for :: windows :: IUnknown { fn from ( value : IInternetZoneManagerEx ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IInternetZoneManagerEx > for :: windows :: IUnknown { fn from ( value : & IInternetZoneManagerEx ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IInternetZoneManagerEx { 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 IInternetZoneManagerEx { 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 < IInternetZoneManagerEx > for IInternetZoneManager { fn from ( value : IInternetZoneManagerEx ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IInternetZoneManagerEx > for IInternetZoneManager { fn from ( value : & IInternetZoneManagerEx ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IInternetZoneManager > for IInternetZoneManagerEx { fn into_param ( self ) -> :: windows :: Param < 'a , IInternetZoneManager > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IInternetZoneManager > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IInternetZoneManager > for & 'a IInternetZoneManagerEx { fn into_param ( self ) -> :: windows :: Param < 'a , IInternetZoneManager > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IInternetZoneManager > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IInternetZoneManagerEx_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 , dwzone : u32 , pzoneattributes : * mut ZONEATTRIBUTES , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwzone : u32 , pzoneattributes : * mut ZONEATTRIBUTES , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwzone : u32 , guidkey : * const :: windows :: Guid , pppolicy : * mut * mut u8 , pcbpolicy : * mut u32 , urlzonereg : URLZONEREG , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwzone : u32 , guidkey : * const :: windows :: Guid , ppolicy : * mut u8 , cbpolicy : u32 , urlzonereg : URLZONEREG , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwzone : u32 , dwaction : u32 , ppolicy : * mut u8 , cbpolicy : u32 , urlzonereg : URLZONEREG , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwzone : u32 , dwaction : u32 , ppolicy : * mut u8 , cbpolicy : u32 , urlzonereg : URLZONEREG , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwaction : u32 , hwndparent : super::super::Foundation:: HWND , pwszurl : super::super::Foundation:: PWSTR , pwsztext : super::super::Foundation:: PWSTR , dwpromptflags : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwaction : u32 , pwszurl : super::super::Foundation:: PWSTR , pwsztext : super::super::Foundation:: PWSTR , dwlogflags : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pdwenum : * mut u32 , pdwcount : * mut u32 , dwflags : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwenum : u32 , dwindex : u32 , pdwzone : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwenum : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwtemplate : u32 , dwzone : u32 , dwreserved : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwzone : u32 , dwaction : u32 , ppolicy : * mut u8 , cbpolicy : u32 , urlzonereg : URLZONEREG , dwflags : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwzone : u32 , dwaction : u32 , ppolicy : * mut u8 , cbpolicy : u32 , urlzonereg : URLZONEREG , dwflags : u32 , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IInternetZoneManagerEx2 ( :: windows :: IUnknown ) ; impl IInternetZoneManagerEx2 { pub unsafe fn GetZoneAttributes < > ( & self , dwzone : u32 , pzoneattributes : * mut ZONEATTRIBUTES , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwzone ) , :: std :: mem :: transmute ( pzoneattributes ) , ) . ok ( ) } pub unsafe fn SetZoneAttributes < > ( & self , dwzone : u32 , pzoneattributes : * mut ZONEATTRIBUTES , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwzone ) , :: std :: mem :: transmute ( pzoneattributes ) , ) . ok ( ) } pub unsafe fn GetZoneCustomPolicy < > ( & self , dwzone : u32 , guidkey : * const :: windows :: Guid , pppolicy : * mut * mut u8 , pcbpolicy : * mut u32 , urlzonereg : URLZONEREG , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwzone ) , :: std :: mem :: transmute ( guidkey ) , :: std :: mem :: transmute ( pppolicy ) , :: std :: mem :: transmute ( pcbpolicy ) , :: std :: mem :: transmute ( urlzonereg ) , ) . ok ( ) } pub unsafe fn SetZoneCustomPolicy < > ( & self , dwzone : u32 , guidkey : * const :: windows :: Guid , ppolicy : * mut u8 , cbpolicy : u32 , urlzonereg : URLZONEREG , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwzone ) , :: std :: mem :: transmute ( guidkey ) , :: std :: mem :: transmute ( ppolicy ) , :: std :: mem :: transmute ( cbpolicy ) , :: std :: mem :: transmute ( urlzonereg ) , ) . ok ( ) } pub unsafe fn GetZoneActionPolicy < > ( & self , dwzone : u32 , dwaction : u32 , ppolicy : * mut u8 , cbpolicy : u32 , urlzonereg : URLZONEREG , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwzone ) , :: std :: mem :: transmute ( dwaction ) , :: std :: mem :: transmute ( ppolicy ) , :: std :: mem :: transmute ( cbpolicy ) , :: std :: mem :: transmute ( urlzonereg ) , ) . ok ( ) } pub unsafe fn SetZoneActionPolicy < > ( & self , dwzone : u32 , dwaction : u32 , ppolicy : * mut u8 , cbpolicy : u32 , urlzonereg : URLZONEREG , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwzone ) , :: std :: mem :: transmute ( dwaction ) , :: std :: mem :: transmute ( ppolicy ) , :: std :: mem :: transmute ( cbpolicy ) , :: std :: mem :: transmute ( urlzonereg ) , ) . ok ( ) } pub unsafe fn PromptAction < 'a , > ( & self , dwaction : u32 , hwndparent : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HWND > , pwszurl : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , pwsztext : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , dwpromptflags : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwaction ) , hwndparent . into_param ( ) . abi ( ) , pwszurl . into_param ( ) . abi ( ) , pwsztext . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwpromptflags ) , ) . ok ( ) } pub unsafe fn LogAction < 'a , > ( & self , dwaction : u32 , pwszurl : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , pwsztext : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , dwlogflags : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwaction ) , pwszurl . into_param ( ) . abi ( ) , pwsztext . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwlogflags ) , ) . ok ( ) } pub unsafe fn CreateZoneEnumerator < > ( & self , pdwenum : * mut u32 , pdwcount : * mut u32 , dwflags : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .11 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pdwenum ) , :: std :: mem :: transmute ( pdwcount ) , :: std :: mem :: transmute ( dwflags ) , ) . ok ( ) } pub unsafe fn GetZoneAt < > ( & self , dwenum : u32 , dwindex : u32 , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .12 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwenum ) , :: std :: mem :: transmute ( dwindex ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn DestroyZoneEnumerator < > ( & self , dwenum : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .13 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwenum ) , ) . ok ( ) } pub unsafe fn CopyTemplatePoliciesToZone < > ( & self , dwtemplate : u32 , dwzone : u32 , dwreserved : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .14 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwtemplate ) , :: std :: mem :: transmute ( dwzone ) , :: std :: mem :: transmute ( dwreserved ) , ) . ok ( ) } pub unsafe fn GetZoneActionPolicyEx < > ( & self , dwzone : u32 , dwaction : u32 , ppolicy : * mut u8 , cbpolicy : u32 , urlzonereg : URLZONEREG , dwflags : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .15 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwzone ) , :: std :: mem :: transmute ( dwaction ) , :: std :: mem :: transmute ( ppolicy ) , :: std :: mem :: transmute ( cbpolicy ) , :: std :: mem :: transmute ( urlzonereg ) , :: std :: mem :: transmute ( dwflags ) , ) . ok ( ) } pub unsafe fn SetZoneActionPolicyEx < > ( & self , dwzone : u32 , dwaction : u32 , ppolicy : * mut u8 , cbpolicy : u32 , urlzonereg : URLZONEREG , dwflags : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .16 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwzone ) , :: std :: mem :: transmute ( dwaction ) , :: std :: mem :: transmute ( ppolicy ) , :: std :: mem :: transmute ( cbpolicy ) , :: std :: mem :: transmute ( urlzonereg ) , :: std :: mem :: transmute ( dwflags ) , ) . ok ( ) } pub unsafe fn GetZoneAttributesEx < > ( & self , dwzone : u32 , pzoneattributes : * mut ZONEATTRIBUTES , dwflags : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .17 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwzone ) , :: std :: mem :: transmute ( pzoneattributes ) , :: std :: mem :: transmute ( dwflags ) , ) . ok ( ) } pub unsafe fn GetZoneSecurityState < 'a , > ( & self , dwzoneindex : u32 , frespectpolicy : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , pdwstate : * mut u32 , pfpolicyencountered : * mut super::super::Foundation:: BOOL , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .18 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwzoneindex ) , frespectpolicy . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pdwstate ) , :: std :: mem :: transmute ( pfpolicyencountered ) , ) . ok ( ) } pub unsafe fn GetIESecurityState < 'a , > ( & self , frespectpolicy : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , pdwstate : * mut u32 , pfpolicyencountered : * mut super::super::Foundation:: BOOL , fnocache : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .19 ) ( :: windows :: Abi :: abi ( self ) , frespectpolicy . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pdwstate ) , :: std :: mem :: transmute ( pfpolicyencountered ) , fnocache . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn FixUnsecureSettings < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .20 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IInternetZoneManagerEx2 { type Vtable = IInternetZoneManagerEx2_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3988878681 ,56669 ,18502 , [ 142 ,239 ,139 ,236 ,186 ,90 ,74 ,191 ] , ) ; } impl :: std :: convert :: From < IInternetZoneManagerEx2 > for :: windows :: IUnknown { fn from ( value : IInternetZoneManagerEx2 ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IInternetZoneManagerEx2 > for :: windows :: IUnknown { fn from ( value : & IInternetZoneManagerEx2 ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IInternetZoneManagerEx2 { 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 IInternetZoneManagerEx2 { 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 < IInternetZoneManagerEx2 > for IInternetZoneManagerEx { fn from ( value : IInternetZoneManagerEx2 ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IInternetZoneManagerEx2 > for IInternetZoneManagerEx { fn from ( value : & IInternetZoneManagerEx2 ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IInternetZoneManagerEx > for IInternetZoneManagerEx2 { fn into_param ( self ) -> :: windows :: Param < 'a , IInternetZoneManagerEx > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IInternetZoneManagerEx > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IInternetZoneManagerEx > for & 'a IInternetZoneManagerEx2 { fn into_param ( self ) -> :: windows :: Param < 'a , IInternetZoneManagerEx > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IInternetZoneManagerEx > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } impl :: std :: convert :: From < IInternetZoneManagerEx2 > for IInternetZoneManager { fn from ( value : IInternetZoneManagerEx2 ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IInternetZoneManagerEx2 > for IInternetZoneManager { fn from ( value : & IInternetZoneManagerEx2 ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IInternetZoneManager > for IInternetZoneManagerEx2 { fn into_param ( self ) -> :: windows :: Param < 'a , IInternetZoneManager > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IInternetZoneManager > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IInternetZoneManager > for & 'a IInternetZoneManagerEx2 { fn into_param ( self ) -> :: windows :: Param < 'a , IInternetZoneManager > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IInternetZoneManager > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IInternetZoneManagerEx2_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 , dwzone : u32 , pzoneattributes : * mut ZONEATTRIBUTES , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwzone : u32 , pzoneattributes : * mut ZONEATTRIBUTES , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwzone : u32 , guidkey : * const :: windows :: Guid , pppolicy : * mut * mut u8 , pcbpolicy : * mut u32 , urlzonereg : URLZONEREG , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwzone : u32 , guidkey : * const :: windows :: Guid , ppolicy : * mut u8 , cbpolicy : u32 , urlzonereg : URLZONEREG , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwzone : u32 , dwaction : u32 , ppolicy : * mut u8 , cbpolicy : u32 , urlzonereg : URLZONEREG , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwzone : u32 , dwaction : u32 , ppolicy : * mut u8 , cbpolicy : u32 , urlzonereg : URLZONEREG , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwaction : u32 , hwndparent : super::super::Foundation:: HWND , pwszurl : super::super::Foundation:: PWSTR , pwsztext : super::super::Foundation:: PWSTR , dwpromptflags : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwaction : u32 , pwszurl : super::super::Foundation:: PWSTR , pwsztext : super::super::Foundation:: PWSTR , dwlogflags : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pdwenum : * mut u32 , pdwcount : * mut u32 , dwflags : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwenum : u32 , dwindex : u32 , pdwzone : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwenum : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwtemplate : u32 , dwzone : u32 , dwreserved : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwzone : u32 , dwaction : u32 , ppolicy : * mut u8 , cbpolicy : u32 , urlzonereg : URLZONEREG , dwflags : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwzone : u32 , dwaction : u32 , ppolicy : * mut u8 , cbpolicy : u32 , urlzonereg : URLZONEREG , dwflags : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwzone : u32 , pzoneattributes : * mut ZONEATTRIBUTES , dwflags : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwzoneindex : u32 , frespectpolicy : super::super::Foundation:: BOOL , pdwstate : * mut u32 , pfpolicyencountered : * mut super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , frespectpolicy : super::super::Foundation:: BOOL , pdwstate : * mut u32 , pfpolicyencountered : * mut super::super::Foundation:: BOOL , fnocache : super::super::Foundation:: BOOL , ) -> :: 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 IMalloc ( :: windows :: IUnknown ) ; impl IMalloc { pub unsafe fn Alloc < > ( & self , cb : usize , ) -> * mut :: std :: ffi :: c_void { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( cb ) , ) } pub unsafe fn Realloc < > ( & self , pv : * mut :: std :: ffi :: c_void , cb : usize , ) -> * mut :: std :: ffi :: c_void { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pv ) , :: std :: mem :: transmute ( cb ) , ) } pub unsafe fn Free < > ( & self , pv : * mut :: std :: ffi :: c_void , ) { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pv ) , ) } pub unsafe fn GetSize < > ( & self , pv : * mut :: std :: ffi :: c_void , ) -> usize { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pv ) , ) } pub unsafe fn DidAlloc < > ( & self , pv : * mut :: std :: ffi :: c_void , ) -> i32 { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pv ) , ) } pub unsafe fn HeapMinimize < > ( & self , ) { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , ) } } unsafe impl :: windows :: Interface for IMalloc { type Vtable = IMalloc_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2 ,0 ,0 , [ 192 ,0 ,0 ,0 ,0 ,0 ,0 ,70 ] , ) ; } impl :: std :: convert :: From < IMalloc > for :: windows :: IUnknown { fn from ( value : IMalloc ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IMalloc > for :: windows :: IUnknown { fn from ( value : & IMalloc ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IMalloc { 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 IMalloc { 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 IMalloc_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 , cb : usize , ) -> * mut :: std :: ffi :: c_void , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pv : * mut :: std :: ffi :: c_void , cb : usize , ) -> * mut :: std :: ffi :: c_void , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pv : * mut :: std :: ffi :: c_void , ) , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pv : * mut :: std :: ffi :: c_void , ) -> usize , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pv : * mut :: std :: ffi :: c_void , ) -> i32 , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IMallocSpy ( :: windows :: IUnknown ) ; impl IMallocSpy { pub unsafe fn PreAlloc < > ( & self , cbrequest : usize , ) -> usize { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( cbrequest ) , ) } pub unsafe fn PostAlloc < > ( & self , pactual : * mut :: std :: ffi :: c_void , ) -> * mut :: std :: ffi :: c_void { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pactual ) , ) } pub unsafe fn PreFree < 'a , > ( & self , prequest : * mut :: std :: ffi :: c_void , fspyed : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> * mut :: std :: ffi :: c_void { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( prequest ) , fspyed . into_param ( ) . abi ( ) , ) } pub unsafe fn PostFree < 'a , > ( & self , fspyed : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , fspyed . into_param ( ) . abi ( ) , ) } pub unsafe fn PreRealloc < 'a , > ( & self , prequest : * mut :: std :: ffi :: c_void , cbrequest : usize , ppnewrequest : * mut * mut :: std :: ffi :: c_void , fspyed : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> usize { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( prequest ) , :: std :: mem :: transmute ( cbrequest ) , :: std :: mem :: transmute ( ppnewrequest ) , fspyed . into_param ( ) . abi ( ) , ) } pub unsafe fn PostRealloc < 'a , > ( & self , pactual : * mut :: std :: ffi :: c_void , fspyed : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> * mut :: std :: ffi :: c_void { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pactual ) , fspyed . into_param ( ) . abi ( ) , ) } pub unsafe fn PreGetSize < 'a , > ( & self , prequest : * mut :: std :: ffi :: c_void , fspyed : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> * mut :: std :: ffi :: c_void { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( prequest ) , fspyed . into_param ( ) . abi ( ) , ) } pub unsafe fn PostGetSize < 'a , > ( & self , cbactual : usize , fspyed : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> usize { ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( cbactual ) , fspyed . into_param ( ) . abi ( ) , ) } pub unsafe fn PreDidAlloc < 'a , > ( & self , prequest : * mut :: std :: ffi :: c_void , fspyed : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> * mut :: std :: ffi :: c_void { ( :: windows :: Interface :: vtable ( self ) .11 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( prequest ) , fspyed . into_param ( ) . abi ( ) , ) } pub unsafe fn PostDidAlloc < 'a , > ( & self , prequest : * mut :: std :: ffi :: c_void , fspyed : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , factual : i32 , ) -> i32 { ( :: windows :: Interface :: vtable ( self ) .12 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( prequest ) , fspyed . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( factual ) , ) } pub unsafe fn PreHeapMinimize < > ( & self , ) { ( :: windows :: Interface :: vtable ( self ) .13 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn PostHeapMinimize < > ( & self , ) { ( :: windows :: Interface :: vtable ( self ) .14 ) ( :: windows :: Abi :: abi ( self ) , ) } } unsafe impl :: windows :: Interface for IMallocSpy { type Vtable = IMallocSpy_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 29 ,0 ,0 , [ 192 ,0 ,0 ,0 ,0 ,0 ,0 ,70 ] , ) ; } impl :: std :: convert :: From < IMallocSpy > for :: windows :: IUnknown { fn from ( value : IMallocSpy ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IMallocSpy > for :: windows :: IUnknown { fn from ( value : & IMallocSpy ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IMallocSpy { 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 IMallocSpy { 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 IMallocSpy_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 , cbrequest : usize , ) -> usize , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pactual : * mut :: std :: ffi :: c_void , ) -> * mut :: std :: ffi :: c_void , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , prequest : * mut :: std :: ffi :: c_void , fspyed : super::super::Foundation:: BOOL , ) -> * mut :: std :: ffi :: c_void , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , fspyed : super::super::Foundation:: BOOL , ) , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , prequest : * mut :: std :: ffi :: c_void , cbrequest : usize , ppnewrequest : * mut * mut :: std :: ffi :: c_void , fspyed : super::super::Foundation:: BOOL , ) -> usize , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pactual : * mut :: std :: ffi :: c_void , fspyed : super::super::Foundation:: BOOL , ) -> * mut :: std :: ffi :: c_void , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , prequest : * mut :: std :: ffi :: c_void , fspyed : super::super::Foundation:: BOOL , ) -> * mut :: std :: ffi :: c_void , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , cbactual : usize , fspyed : super::super::Foundation:: BOOL , ) -> usize , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , prequest : * mut :: std :: ffi :: c_void , fspyed : super::super::Foundation:: BOOL , ) -> * mut :: std :: ffi :: c_void , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , prequest : * mut :: std :: ffi :: c_void , fspyed : super::super::Foundation:: BOOL , factual : i32 , ) -> i32 , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IMarshal ( :: windows :: IUnknown ) ; impl IMarshal { pub unsafe fn GetUnmarshalClass < > ( & self , riid : * const :: windows :: Guid , pv : * mut :: std :: ffi :: c_void , dwdestcontext : u32 , pvdestcontext : * mut :: std :: ffi :: c_void , mshlflags : u32 , pcid : * mut :: windows :: Guid , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( riid ) , :: std :: mem :: transmute ( pv ) , :: std :: mem :: transmute ( dwdestcontext ) , :: std :: mem :: transmute ( pvdestcontext ) , :: std :: mem :: transmute ( mshlflags ) , :: std :: mem :: transmute ( pcid ) , ) . ok ( ) } pub unsafe fn GetMarshalSizeMax < > ( & self , riid : * const :: windows :: Guid , pv : * mut :: std :: ffi :: c_void , dwdestcontext : u32 , pvdestcontext : * mut :: std :: ffi :: c_void , mshlflags : u32 , psize : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( riid ) , :: std :: mem :: transmute ( pv ) , :: std :: mem :: transmute ( dwdestcontext ) , :: std :: mem :: transmute ( pvdestcontext ) , :: std :: mem :: transmute ( mshlflags ) , :: std :: mem :: transmute ( psize ) , ) . ok ( ) } pub unsafe fn MarshalInterface < 'a , > ( & self , pstm : impl :: windows :: IntoParam < 'a , super::super::Storage::StructuredStorage:: IStream > , riid : * const :: windows :: Guid , pv : * mut :: std :: ffi :: c_void , dwdestcontext : u32 , pvdestcontext : * mut :: std :: ffi :: c_void , mshlflags : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , pstm . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( riid ) , :: std :: mem :: transmute ( pv ) , :: std :: mem :: transmute ( dwdestcontext ) , :: std :: mem :: transmute ( pvdestcontext ) , :: std :: mem :: transmute ( mshlflags ) , ) . ok ( ) } pub unsafe fn UnmarshalInterface < 'a , T : :: windows :: Interface > ( & self , pstm : impl :: windows :: IntoParam < 'a , super::super::Storage::StructuredStorage:: IStream > , ) -> :: windows :: Result < T > { let mut result__ = :: std :: option :: Option :: None ; ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , pstm . into_param ( ) . abi ( ) , & < T as :: windows :: Interface > :: IID , :: windows :: Abi :: set_abi ( & mut result__ ) ) . and_some ( result__ ) } pub unsafe fn ReleaseMarshalData < 'a , > ( & self , pstm : impl :: windows :: IntoParam < 'a , super::super::Storage::StructuredStorage:: IStream > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , pstm . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn DisconnectObject < > ( & self , dwreserved : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwreserved ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IMarshal { type Vtable = IMarshal_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3 ,0 ,0 , [ 192 ,0 ,0 ,0 ,0 ,0 ,0 ,70 ] , ) ; } impl :: std :: convert :: From < IMarshal > for :: windows :: IUnknown { fn from ( value : IMarshal ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IMarshal > for :: windows :: IUnknown { fn from ( value : & IMarshal ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IMarshal { 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 IMarshal { 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 IMarshal_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 , riid : * const :: windows :: Guid , pv : * mut :: std :: ffi :: c_void , dwdestcontext : u32 , pvdestcontext : * mut :: std :: ffi :: c_void , mshlflags : u32 , pcid : * mut :: windows :: Guid , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , riid : * const :: windows :: Guid , pv : * mut :: std :: ffi :: c_void , dwdestcontext : u32 , pvdestcontext : * mut :: std :: ffi :: c_void , mshlflags : u32 , psize : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pstm : :: windows :: RawPtr , riid : * const :: windows :: Guid , pv : * mut :: std :: ffi :: c_void , dwdestcontext : u32 , pvdestcontext : * mut :: std :: ffi :: c_void , mshlflags : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pstm : :: windows :: RawPtr , riid : * const :: windows :: Guid , ppv : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pstm : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwreserved : u32 , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IMarshal2 ( :: windows :: IUnknown ) ; impl IMarshal2 { pub unsafe fn GetUnmarshalClass < > ( & self , riid : * const :: windows :: Guid , pv : * mut :: std :: ffi :: c_void , dwdestcontext : u32 , pvdestcontext : * mut :: std :: ffi :: c_void , mshlflags : u32 , pcid : * mut :: windows :: Guid , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( riid ) , :: std :: mem :: transmute ( pv ) , :: std :: mem :: transmute ( dwdestcontext ) , :: std :: mem :: transmute ( pvdestcontext ) , :: std :: mem :: transmute ( mshlflags ) , :: std :: mem :: transmute ( pcid ) , ) . ok ( ) } pub unsafe fn GetMarshalSizeMax < > ( & self , riid : * const :: windows :: Guid , pv : * mut :: std :: ffi :: c_void , dwdestcontext : u32 , pvdestcontext : * mut :: std :: ffi :: c_void , mshlflags : u32 , psize : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( riid ) , :: std :: mem :: transmute ( pv ) , :: std :: mem :: transmute ( dwdestcontext ) , :: std :: mem :: transmute ( pvdestcontext ) , :: std :: mem :: transmute ( mshlflags ) , :: std :: mem :: transmute ( psize ) , ) . ok ( ) } pub unsafe fn MarshalInterface < 'a , > ( & self , pstm : impl :: windows :: IntoParam < 'a , super::super::Storage::StructuredStorage:: IStream > , riid : * const :: windows :: Guid , pv : * mut :: std :: ffi :: c_void , dwdestcontext : u32 , pvdestcontext : * mut :: std :: ffi :: c_void , mshlflags : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , pstm . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( riid ) , :: std :: mem :: transmute ( pv ) , :: std :: mem :: transmute ( dwdestcontext ) , :: std :: mem :: transmute ( pvdestcontext ) , :: std :: mem :: transmute ( mshlflags ) , ) . ok ( ) } pub unsafe fn UnmarshalInterface < 'a , T : :: windows :: Interface > ( & self , pstm : impl :: windows :: IntoParam < 'a , super::super::Storage::StructuredStorage:: IStream > , ) -> :: windows :: Result < T > { let mut result__ = :: std :: option :: Option :: None ; ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , pstm . into_param ( ) . abi ( ) , & < T as :: windows :: Interface > :: IID , :: windows :: Abi :: set_abi ( & mut result__ ) ) . and_some ( result__ ) } pub unsafe fn ReleaseMarshalData < 'a , > ( & self , pstm : impl :: windows :: IntoParam < 'a , super::super::Storage::StructuredStorage:: IStream > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , pstm . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn DisconnectObject < > ( & self , dwreserved : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwreserved ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IMarshal2 { type Vtable = IMarshal2_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 463 ,0 ,0 , [ 192 ,0 ,0 ,0 ,0 ,0 ,0 ,70 ] , ) ; } impl :: std :: convert :: From < IMarshal2 > for :: windows :: IUnknown { fn from ( value : IMarshal2 ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IMarshal2 > for :: windows :: IUnknown { fn from ( value : & IMarshal2 ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IMarshal2 { 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 IMarshal2 { 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 < IMarshal2 > for IMarshal { fn from ( value : IMarshal2 ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IMarshal2 > for IMarshal { fn from ( value : & IMarshal2 ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IMarshal > for IMarshal2 { fn into_param ( self ) -> :: windows :: Param < 'a , IMarshal > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IMarshal > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IMarshal > for & 'a IMarshal2 { fn into_param ( self ) -> :: windows :: Param < 'a , IMarshal > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IMarshal > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IMarshal2_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 , riid : * const :: windows :: Guid , pv : * mut :: std :: ffi :: c_void , dwdestcontext : u32 , pvdestcontext : * mut :: std :: ffi :: c_void , mshlflags : u32 , pcid : * mut :: windows :: Guid , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , riid : * const :: windows :: Guid , pv : * mut :: std :: ffi :: c_void , dwdestcontext : u32 , pvdestcontext : * mut :: std :: ffi :: c_void , mshlflags : u32 , psize : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pstm : :: windows :: RawPtr , riid : * const :: windows :: Guid , pv : * mut :: std :: ffi :: c_void , dwdestcontext : u32 , pvdestcontext : * mut :: std :: ffi :: c_void , mshlflags : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pstm : :: windows :: RawPtr , riid : * const :: windows :: Guid , ppv : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pstm : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwreserved : u32 , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IMarshalingStream ( :: windows :: IUnknown ) ; impl IMarshalingStream { pub unsafe fn Read < > ( & self , pv : * mut :: std :: ffi :: c_void , cb : u32 , pcbread : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pv ) , :: std :: mem :: transmute ( cb ) , :: std :: mem :: transmute ( pcbread ) , ) . ok ( ) } pub unsafe fn Write < > ( & self , pv : * const :: std :: ffi :: c_void , cb : u32 , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pv ) , :: std :: mem :: transmute ( cb ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn Seek < > ( & self , dlibmove : i64 , dworigin : super::super::Storage::StructuredStorage:: STREAM_SEEK , ) -> :: windows :: Result < u64 > { let mut result__ : < u64 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dlibmove ) , :: std :: mem :: transmute ( dworigin ) , & mut result__ ) . from_abi :: < u64 > ( result__ ) } pub unsafe fn SetSize < > ( & self , libnewsize : u64 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( libnewsize ) , ) . ok ( ) } pub unsafe fn CopyTo < 'a , > ( & self , pstm : impl :: windows :: IntoParam < 'a , super::super::Storage::StructuredStorage:: IStream > , cb : u64 , pcbread : * mut u64 , pcbwritten : * mut u64 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , pstm . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( cb ) , :: std :: mem :: transmute ( pcbread ) , :: std :: mem :: transmute ( pcbwritten ) , ) . ok ( ) } pub unsafe fn Commit < > ( & self , grfcommitflags : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( grfcommitflags ) , ) . ok ( ) } pub unsafe fn Revert < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn LockRegion < > ( & self , liboffset : u64 , cb : u64 , dwlocktype : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( liboffset ) , :: std :: mem :: transmute ( cb ) , :: std :: mem :: transmute ( dwlocktype ) , ) . ok ( ) } pub unsafe fn UnlockRegion < > ( & self , liboffset : u64 , cb : u64 , dwlocktype : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .11 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( liboffset ) , :: std :: mem :: transmute ( cb ) , :: std :: mem :: transmute ( dwlocktype ) , ) . ok ( ) } pub unsafe fn Stat < > ( & self , pstatstg : * mut super::super::Storage::StructuredStorage:: STATSTG , grfstatflag : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .12 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pstatstg ) , :: std :: mem :: transmute ( grfstatflag ) , ) . ok ( ) } pub unsafe fn Clone < > ( & self , ) -> :: windows :: Result < super::super::Storage::StructuredStorage:: IStream > { let mut result__ : < super::super::Storage::StructuredStorage:: IStream as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .13 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < super::super::Storage::StructuredStorage:: IStream > ( result__ ) } pub unsafe fn GetMarshalingContextAttribute < > ( & self , attribute : CO_MARSHALING_CONTEXT_ATTRIBUTES , ) -> :: windows :: Result < usize > { let mut result__ : < usize as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .14 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( attribute ) , & mut result__ ) . from_abi :: < usize > ( result__ ) } } unsafe impl :: windows :: Interface for IMarshalingStream { type Vtable = IMarshalingStream_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3639801318 ,24834 ,18531 , [ 159 ,38 ,56 ,154 ,70 ,118 ,239 ,222 ] , ) ; } impl :: std :: convert :: From < IMarshalingStream > for :: windows :: IUnknown { fn from ( value : IMarshalingStream ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IMarshalingStream > for :: windows :: IUnknown { fn from ( value : & IMarshalingStream ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IMarshalingStream { 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 IMarshalingStream { 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 < IMarshalingStream > for super::super::Storage::StructuredStorage:: IStream { fn from ( value : IMarshalingStream ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IMarshalingStream > for super::super::Storage::StructuredStorage:: IStream { fn from ( value : & IMarshalingStream ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , super::super::Storage::StructuredStorage:: IStream > for IMarshalingStream { fn into_param ( self ) -> :: windows :: Param < 'a , super::super::Storage::StructuredStorage:: IStream > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < super::super::Storage::StructuredStorage:: IStream > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , super::super::Storage::StructuredStorage:: IStream > for & 'a IMarshalingStream { fn into_param ( self ) -> :: windows :: Param < 'a , super::super::Storage::StructuredStorage:: IStream > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < super::super::Storage::StructuredStorage:: IStream > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } impl :: std :: convert :: From < IMarshalingStream > for super::super::Storage::StructuredStorage:: ISequentialStream { fn from ( value : IMarshalingStream ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IMarshalingStream > for super::super::Storage::StructuredStorage:: ISequentialStream { fn from ( value : & IMarshalingStream ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , super::super::Storage::StructuredStorage:: ISequentialStream > for IMarshalingStream { fn into_param ( self ) -> :: windows :: Param < 'a , super::super::Storage::StructuredStorage:: ISequentialStream > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < super::super::Storage::StructuredStorage:: ISequentialStream > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , super::super::Storage::StructuredStorage:: ISequentialStream > for & 'a IMarshalingStream { fn into_param ( self ) -> :: windows :: Param < 'a , super::super::Storage::StructuredStorage:: ISequentialStream > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < super::super::Storage::StructuredStorage:: ISequentialStream > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IMarshalingStream_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 , pv : * mut :: std :: ffi :: c_void , cb : u32 , pcbread : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pv : * const :: std :: ffi :: c_void , cb : u32 , pcbwritten : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dlibmove : i64 , dworigin : super::super::Storage::StructuredStorage:: STREAM_SEEK , plibnewposition : * mut u64 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , libnewsize : u64 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pstm : :: windows :: RawPtr , cb : u64 , pcbread : * mut u64 , pcbwritten : * mut u64 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , grfcommitflags : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , liboffset : u64 , cb : u64 , dwlocktype : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , liboffset : u64 , cb : u64 , dwlocktype : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pstatstg : * mut super::super::Storage::StructuredStorage:: STATSTG , grfstatflag : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppstm : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , attribute : CO_MARSHALING_CONTEXT_ATTRIBUTES , pattributevalue : * mut usize , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IMessageDispatcher ( :: windows :: IUnknown ) ; impl IMessageDispatcher { pub unsafe fn PumpMessages < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IMessageDispatcher { type Vtable = IMessageDispatcher_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 4126690447 ,53200 ,19670 , [ 182 ,107 ,197 ,210 ,111 ,241 ,104 ,157 ] , ) ; } impl :: std :: convert :: From < IMessageDispatcher > for :: windows :: IUnknown { fn from ( value : IMessageDispatcher ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IMessageDispatcher > for :: windows :: IUnknown { fn from ( value : & IMessageDispatcher ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IMessageDispatcher { 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 IMessageDispatcher { 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 IMessageDispatcher_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 , count : * mut u32 , values : * mut * mut :: windows :: Guid ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut :: windows :: RawPtr ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , value : * mut i32 ) -> :: 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 IMessageFilter ( :: windows :: IUnknown ) ; impl IMessageFilter { pub unsafe fn HandleInComingCall < 'a , > ( & self , dwcalltype : u32 , htaskcaller : impl :: windows :: IntoParam < 'a , super::super::Media::Audio::CoreAudio:: HTASK > , dwtickcount : u32 , lpinterfaceinfo : * mut INTERFACEINFO , ) -> u32 { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwcalltype ) , htaskcaller . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwtickcount ) , :: std :: mem :: transmute ( lpinterfaceinfo ) , ) } pub unsafe fn RetryRejectedCall < 'a , > ( & self , htaskcallee : impl :: windows :: IntoParam < 'a , super::super::Media::Audio::CoreAudio:: HTASK > , dwtickcount : u32 , dwrejecttype : u32 , ) -> u32 { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , htaskcallee . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwtickcount ) , :: std :: mem :: transmute ( dwrejecttype ) , ) } pub unsafe fn MessagePending < 'a , > ( & self , htaskcallee : impl :: windows :: IntoParam < 'a , super::super::Media::Audio::CoreAudio:: HTASK > , dwtickcount : u32 , dwpendingtype : u32 , ) -> u32 { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , htaskcallee . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwtickcount ) , :: std :: mem :: transmute ( dwpendingtype ) , ) } } unsafe impl :: windows :: Interface for IMessageFilter { type Vtable = IMessageFilter_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 22 ,0 ,0 , [ 192 ,0 ,0 ,0 ,0 ,0 ,0 ,70 ] , ) ; } impl :: std :: convert :: From < IMessageFilter > for :: windows :: IUnknown { fn from ( value : IMessageFilter ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IMessageFilter > for :: windows :: IUnknown { fn from ( value : & IMessageFilter ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IMessageFilter { 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 IMessageFilter { 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 IMessageFilter_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 , dwcalltype : u32 , htaskcaller : super::super::Media::Audio::CoreAudio:: HTASK , dwtickcount : u32 , lpinterfaceinfo : * mut INTERFACEINFO_abi , ) -> u32 , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , htaskcallee : super::super::Media::Audio::CoreAudio:: HTASK , dwtickcount : u32 , dwrejecttype : u32 , ) -> u32 , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , htaskcallee : super::super::Media::Audio::CoreAudio:: HTASK , dwtickcount : u32 , dwpendingtype : u32 , ) -> u32 , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IMoniker ( :: windows :: IUnknown ) ; impl IMoniker { pub unsafe fn GetClassID < > ( & self , ) -> :: windows :: Result < :: windows :: Guid > { let mut result__ : < :: windows :: Guid as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < :: windows :: Guid > ( result__ ) } pub unsafe fn IsDirty < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn Load < 'a , > ( & self , pstm : impl :: windows :: IntoParam < 'a , super::super::Storage::StructuredStorage:: IStream > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , pstm . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn Save < 'a , > ( & self , pstm : impl :: windows :: IntoParam < 'a , super::super::Storage::StructuredStorage:: IStream > , fcleardirty : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , pstm . into_param ( ) . abi ( ) , fcleardirty . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn GetSizeMax < > ( & self , ) -> :: windows :: Result < u64 > { let mut result__ : < u64 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < u64 > ( result__ ) } pub unsafe fn BindToObject < 'a , T : :: windows :: Interface > ( & self , pbc : impl :: windows :: IntoParam < 'a , IBindCtx > , pmktoleft : impl :: windows :: IntoParam < 'a , IMoniker > , ) -> :: windows :: Result < T > { let mut result__ = :: std :: option :: Option :: None ; ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , pbc . into_param ( ) . abi ( ) , pmktoleft . into_param ( ) . abi ( ) , & < T as :: windows :: Interface > :: IID , :: windows :: Abi :: set_abi ( & mut result__ ) ) . and_some ( result__ ) } pub unsafe fn BindToStorage < 'a , T : :: windows :: Interface > ( & self , pbc : impl :: windows :: IntoParam < 'a , IBindCtx > , pmktoleft : impl :: windows :: IntoParam < 'a , IMoniker > , ) -> :: windows :: Result < T > { let mut result__ = :: std :: option :: Option :: None ; ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , pbc . into_param ( ) . abi ( ) , pmktoleft . into_param ( ) . abi ( ) , & < T as :: windows :: Interface > :: IID , :: windows :: Abi :: set_abi ( & mut result__ ) ) . and_some ( result__ ) } pub unsafe fn Reduce < 'a , > ( & self , pbc : impl :: windows :: IntoParam < 'a , IBindCtx > , dwreducehowfar : u32 , ppmktoleft : * mut :: std :: option :: Option < IMoniker > , ppmkreduced : * mut :: std :: option :: Option < IMoniker > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , pbc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwreducehowfar ) , :: std :: mem :: transmute ( ppmktoleft ) , :: std :: mem :: transmute ( ppmkreduced ) , ) . ok ( ) } pub unsafe fn ComposeWith < 'a , > ( & self , pmkright : impl :: windows :: IntoParam < 'a , IMoniker > , fonlyifnotgeneric : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> :: windows :: Result < IMoniker > { let mut result__ : < IMoniker as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .11 ) ( :: windows :: Abi :: abi ( self ) , pmkright . into_param ( ) . abi ( ) , fonlyifnotgeneric . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < IMoniker > ( result__ ) } pub unsafe fn Enum < 'a , > ( & self , fforward : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> :: windows :: Result < IEnumMoniker > { let mut result__ : < IEnumMoniker as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .12 ) ( :: windows :: Abi :: abi ( self ) , fforward . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < IEnumMoniker > ( result__ ) } pub unsafe fn IsEqual < 'a , > ( & self , pmkothermoniker : impl :: windows :: IntoParam < 'a , IMoniker > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .13 ) ( :: windows :: Abi :: abi ( self ) , pmkothermoniker . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn Hash < > ( & self , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .14 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn IsRunning < 'a , > ( & self , pbc : impl :: windows :: IntoParam < 'a , IBindCtx > , pmktoleft : impl :: windows :: IntoParam < 'a , IMoniker > , pmknewlyrunning : impl :: windows :: IntoParam < 'a , IMoniker > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .15 ) ( :: windows :: Abi :: abi ( self ) , pbc . into_param ( ) . abi ( ) , pmktoleft . into_param ( ) . abi ( ) , pmknewlyrunning . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn GetTimeOfLastChange < 'a , > ( & self , pbc : impl :: windows :: IntoParam < 'a , IBindCtx > , pmktoleft : impl :: windows :: IntoParam < 'a , IMoniker > , ) -> :: windows :: Result < super::super::Foundation:: FILETIME > { let mut result__ : < super::super::Foundation:: FILETIME as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .16 ) ( :: windows :: Abi :: abi ( self ) , pbc . into_param ( ) . abi ( ) , pmktoleft . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < super::super::Foundation:: FILETIME > ( result__ ) } pub unsafe fn Inverse < > ( & self , ) -> :: windows :: Result < IMoniker > { let mut result__ : < IMoniker as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .17 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < IMoniker > ( result__ ) } pub unsafe fn CommonPrefixWith < 'a , > ( & self , pmkother : impl :: windows :: IntoParam < 'a , IMoniker > , ) -> :: windows :: Result < IMoniker > { let mut result__ : < IMoniker as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .18 ) ( :: windows :: Abi :: abi ( self ) , pmkother . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < IMoniker > ( result__ ) } pub unsafe fn RelativePathTo < 'a , > ( & self , pmkother : impl :: windows :: IntoParam < 'a , IMoniker > , ) -> :: windows :: Result < IMoniker > { let mut result__ : < IMoniker as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .19 ) ( :: windows :: Abi :: abi ( self ) , pmkother . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < IMoniker > ( result__ ) } pub unsafe fn GetDisplayName < 'a , > ( & self , pbc : impl :: windows :: IntoParam < 'a , IBindCtx > , pmktoleft : impl :: windows :: IntoParam < 'a , IMoniker > , ) -> :: windows :: Result < super::super::Foundation:: PWSTR > { let mut result__ : < super::super::Foundation:: PWSTR as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .20 ) ( :: windows :: Abi :: abi ( self ) , pbc . into_param ( ) . abi ( ) , pmktoleft . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < super::super::Foundation:: PWSTR > ( result__ ) } pub unsafe fn ParseDisplayName < 'a , > ( & self , pbc : impl :: windows :: IntoParam < 'a , IBindCtx > , pmktoleft : impl :: windows :: IntoParam < 'a , IMoniker > , pszdisplayname : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , pcheaten : * mut u32 , ppmkout : * mut :: std :: option :: Option < IMoniker > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .21 ) ( :: windows :: Abi :: abi ( self ) , pbc . into_param ( ) . abi ( ) , pmktoleft . into_param ( ) . abi ( ) , pszdisplayname . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pcheaten ) , :: std :: mem :: transmute ( ppmkout ) , ) . ok ( ) } pub unsafe fn IsSystemMoniker < > ( & self , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .22 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } } unsafe impl :: windows :: Interface for IMoniker { type Vtable = IMoniker_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 15 ,0 ,0 , [ 192 ,0 ,0 ,0 ,0 ,0 ,0 ,70 ] , ) ; } impl :: std :: convert :: From < IMoniker > for :: windows :: IUnknown { fn from ( value : IMoniker ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IMoniker > for :: windows :: IUnknown { fn from ( value : & IMoniker ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IMoniker { 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 IMoniker { 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 < IMoniker > for IPersistStream { fn from ( value : IMoniker ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IMoniker > for IPersistStream { fn from ( value : & IMoniker ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IPersistStream > for IMoniker { fn into_param ( self ) -> :: windows :: Param < 'a , IPersistStream > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IPersistStream > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IPersistStream > for & 'a IMoniker { fn into_param ( self ) -> :: windows :: Param < 'a , IPersistStream > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IPersistStream > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } impl :: std :: convert :: From < IMoniker > for IPersist { fn from ( value : IMoniker ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IMoniker > for IPersist { fn from ( value : & IMoniker ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IPersist > for IMoniker { fn into_param ( self ) -> :: windows :: Param < 'a , IPersist > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IPersist > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IPersist > for & 'a IMoniker { fn into_param ( self ) -> :: windows :: Param < 'a , IPersist > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IPersist > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IMoniker_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 , pclassid : * mut :: windows :: Guid , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pstm : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pstm : :: windows :: RawPtr , fcleardirty : super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pcbsize : * mut u64 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pbc : :: windows :: RawPtr , pmktoleft : :: windows :: RawPtr , riidresult : * const :: windows :: Guid , ppvresult : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pbc : :: windows :: RawPtr , pmktoleft : :: windows :: RawPtr , riid : * const :: windows :: Guid , ppvobj : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pbc : :: windows :: RawPtr , dwreducehowfar : u32 , ppmktoleft : * mut :: windows :: RawPtr , ppmkreduced : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pmkright : :: windows :: RawPtr , fonlyifnotgeneric : super::super::Foundation:: BOOL , ppmkcomposite : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , fforward : super::super::Foundation:: BOOL , ppenummoniker : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pmkothermoniker : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pdwhash : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pbc : :: windows :: RawPtr , pmktoleft : :: windows :: RawPtr , pmknewlyrunning : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pbc : :: windows :: RawPtr , pmktoleft : :: windows :: RawPtr , pfiletime : * mut super::super::Foundation:: FILETIME , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppmk : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pmkother : :: windows :: RawPtr , ppmkprefix : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pmkother : :: windows :: RawPtr , ppmkrelpath : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pbc : :: windows :: RawPtr , pmktoleft : :: windows :: RawPtr , ppszdisplayname : * mut super::super::Foundation:: PWSTR , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pbc : :: windows :: RawPtr , pmktoleft : :: windows :: RawPtr , pszdisplayname : super::super::Foundation:: PWSTR , pcheaten : * mut u32 , ppmkout : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pdwmksys : * mut u32 , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IMonikerProp ( :: windows :: IUnknown ) ; impl IMonikerProp { pub unsafe fn PutProperty < 'a , > ( & self , mkp : MONIKERPROPERTY , val : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( mkp ) , val . into_param ( ) . abi ( ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IMonikerProp { type Vtable = IMonikerProp_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2781503359 ,6215 ,19847 , [ 156 ,91 ,145 ,133 ,9 ,247 ,81 ,29 ] , ) ; } impl :: std :: convert :: From < IMonikerProp > for :: windows :: IUnknown { fn from ( value : IMonikerProp ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IMonikerProp > for :: windows :: IUnknown { fn from ( value : & IMonikerProp ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IMonikerProp { 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 IMonikerProp { 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 IMonikerProp_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 , mkp : MONIKERPROPERTY , val : super::super::Foundation:: PWSTR , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IMultiQI ( :: windows :: IUnknown ) ; impl IMultiQI { pub unsafe fn QueryMultipleInterfaces < > ( & self , cmqis : u32 , pmqis : * mut MULTI_QI , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( cmqis ) , :: std :: mem :: transmute ( pmqis ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IMultiQI { type Vtable = IMultiQI_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 32 ,0 ,0 , [ 192 ,0 ,0 ,0 ,0 ,0 ,0 ,70 ] , ) ; } impl :: std :: convert :: From < IMultiQI > for :: windows :: IUnknown { fn from ( value : IMultiQI ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IMultiQI > for :: windows :: IUnknown { fn from ( value : & IMultiQI ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IMultiQI { 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 IMultiQI { 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 IMultiQI_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 , cmqis : u32 , pmqis : * mut MULTI_QI_abi , ) -> :: windows :: HRESULT , ) ; pub const INET_E_AUTHENTICATION_REQUIRED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146697207i32 as _ ) ; pub const INET_E_BLOCKED_ENHANCEDPROTECTEDMODE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146695930i32 as _ ) ; pub const INET_E_BLOCKED_PLUGGABLE_PROTOCOL : :: windows :: HRESULT = :: windows :: HRESULT ( -2146695931i32 as _ ) ; pub const INET_E_BLOCKED_REDIRECT_XSECURITYID : :: windows :: HRESULT = :: windows :: HRESULT ( -2146697189i32 as _ ) ; pub const INET_E_CANNOT_CONNECT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146697212i32 as _ ) ; pub const INET_E_CANNOT_INSTANTIATE_OBJECT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146697200i32 as _ ) ; pub const INET_E_CANNOT_LOAD_DATA : :: windows :: HRESULT = :: windows :: HRESULT ( -2146697201i32 as _ ) ; pub const INET_E_CANNOT_LOCK_REQUEST : :: windows :: HRESULT = :: windows :: HRESULT ( -2146697194i32 as _ ) ; pub const INET_E_CANNOT_REPLACE_SFP_FILE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146696448i32 as _ ) ; pub const INET_E_CODE_DOWNLOAD_DECLINED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146696960i32 as _ ) ; pub const INET_E_CODE_INSTALL_BLOCKED_ARM : :: windows :: HRESULT = :: windows :: HRESULT ( -2146695932i32 as _ ) ; pub const INET_E_CODE_INSTALL_BLOCKED_BITNESS : :: windows :: HRESULT = :: windows :: HRESULT ( -2146695929i32 as _ ) ; pub const INET_E_CODE_INSTALL_BLOCKED_BY_HASH_POLICY : :: windows :: HRESULT = :: windows :: HRESULT ( -2146695936i32 as _ ) ; pub const INET_E_CODE_INSTALL_BLOCKED_IMMERSIVE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146695934i32 as _ ) ; pub const INET_E_CODE_INSTALL_SUPPRESSED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146696192i32 as _ ) ; pub const INET_E_CONNECTION_TIMEOUT : :: windows :: HRESULT = :: windows :: HRESULT ( -2146697205i32 as _ ) ; pub const INET_E_DATA_NOT_AVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146697209i32 as _ ) ; pub const INET_E_DOMINJECTIONVALIDATION : :: windows :: HRESULT = :: windows :: HRESULT ( -2146697188i32 as _ ) ; pub const INET_E_DOWNLOAD_BLOCKED_BY_CSP : :: windows :: HRESULT = :: windows :: HRESULT ( -2146695928i32 as _ ) ; pub const INET_E_DOWNLOAD_BLOCKED_BY_INPRIVATE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146695935i32 as _ ) ; pub const INET_E_DOWNLOAD_FAILURE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146697208i32 as _ ) ; pub const INET_E_ERROR_FIRST : :: windows :: HRESULT = :: windows :: HRESULT ( -2146697214i32 as _ ) ; pub const INET_E_FORBIDFRAMING : :: windows :: HRESULT = :: windows :: HRESULT ( -2146695933i32 as _ ) ; pub const INET_E_HSTS_CERTIFICATE_ERROR : :: windows :: HRESULT = :: windows :: HRESULT ( -2146697186i32 as _ ) ; pub const INET_E_INVALID_CERTIFICATE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146697191i32 as _ ) ; pub const INET_E_INVALID_REQUEST : :: windows :: HRESULT = :: windows :: HRESULT ( -2146697204i32 as _ ) ; pub const INET_E_INVALID_URL : :: windows :: HRESULT = :: windows :: HRESULT ( -2146697214i32 as _ ) ; pub const INET_E_NO_SESSION : :: windows :: HRESULT = :: windows :: HRESULT ( -2146697213i32 as _ ) ; pub const INET_E_NO_VALID_MEDIA : :: windows :: HRESULT = :: windows :: HRESULT ( -2146697206i32 as _ ) ; pub const INET_E_OBJECT_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2146697210i32 as _ ) ; pub const INET_E_QUERYOPTION_UNKNOWN : :: windows :: HRESULT = :: windows :: HRESULT ( -2146697197i32 as _ ) ; pub const INET_E_REDIRECTING : :: windows :: HRESULT = :: windows :: HRESULT ( -2146697196i32 as _ ) ; pub const INET_E_REDIRECT_FAILED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146697196i32 as _ ) ; pub const INET_E_REDIRECT_TO_DIR : :: windows :: HRESULT = :: windows :: HRESULT ( -2146697195i32 as _ ) ; pub const INET_E_RESERVED_1 : :: windows :: HRESULT = :: windows :: HRESULT ( -2146697190i32 as _ ) ; pub const INET_E_RESERVED_2 : :: windows :: HRESULT = :: windows :: HRESULT ( -2146697185i32 as _ ) ; pub const INET_E_RESERVED_3 : :: windows :: HRESULT = :: windows :: HRESULT ( -2146697184i32 as _ ) ; pub const INET_E_RESERVED_4 : :: windows :: HRESULT = :: windows :: HRESULT ( -2146697183i32 as _ ) ; pub const INET_E_RESERVED_5 : :: windows :: HRESULT = :: windows :: HRESULT ( -2146697182i32 as _ ) ; pub const INET_E_RESOURCE_NOT_FOUND : :: windows :: HRESULT = :: windows :: HRESULT ( -2146697211i32 as _ ) ; pub const INET_E_RESULT_DISPATCHED : :: windows :: HRESULT = :: windows :: HRESULT ( -2146696704i32 as _ ) ; pub const INET_E_SECURITY_PROBLEM : :: windows :: HRESULT = :: windows :: HRESULT ( -2146697202i32 as _ ) ; pub const INET_E_TERMINATED_BIND : :: windows :: HRESULT = :: windows :: HRESULT ( -2146697192i32 as _ ) ; pub const INET_E_UNKNOWN_PROTOCOL : :: windows :: HRESULT = :: windows :: HRESULT ( -2146697203i32 as _ ) ; pub const INET_E_USE_DEFAULT_PROTOCOLHANDLER : :: windows :: HRESULT = :: windows :: HRESULT ( -2146697199i32 as _ ) ; pub const INET_E_USE_DEFAULT_SETTING : :: windows :: HRESULT = :: windows :: HRESULT ( -2146697198i32 as _ ) ; pub const INET_E_USE_EXTEND_BINDING : :: windows :: HRESULT = :: windows :: HRESULT ( -2146697193i32 as _ ) ; pub const INET_E_VTAB_SWITCH_FORCE_ENGINE : :: windows :: HRESULT = :: windows :: HRESULT ( -2146697187i32 as _ ) ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct INET_ZONE_MANAGER_CONSTANTS ( pub i32 ) ; pub const MAX_ZONE_PATH : INET_ZONE_MANAGER_CONSTANTS = INET_ZONE_MANAGER_CONSTANTS ( 260i32 ) ; pub const MAX_ZONE_DESCRIPTION : INET_ZONE_MANAGER_CONSTANTS = INET_ZONE_MANAGER_CONSTANTS ( 200i32 ) ; impl :: std :: convert :: From < i32 > for INET_ZONE_MANAGER_CONSTANTS { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for INET_ZONE_MANAGER_CONSTANTS { type Abi = Self ; type DefaultType = Self ; } pub const INSTALL_SCOPE_INVALID : u32 = 0u32 ; pub const INSTALL_SCOPE_MACHINE : u32 = 1u32 ; pub const INSTALL_SCOPE_USER : u32 = 2u32 ; # [ derive ( :: std :: clone :: Clone ) ] # [ repr ( C ) ] pub struct INTERFACEINFO { pub pUnk : :: std :: option :: Option < :: windows :: IUnknown > , pub iid : :: windows :: Guid , pub wMethod : u16 } impl INTERFACEINFO { } impl :: std :: default :: Default for INTERFACEINFO { fn default ( ) -> Self { Self { pUnk : :: std :: default :: Default :: default ( ) , iid : :: std :: default :: Default :: default ( ) , wMethod : 0 } } } impl :: std :: fmt :: Debug for INTERFACEINFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "INTERFACEINFO" ) . field ( "pUnk" , & self . pUnk ) . field ( "iid" , & self . iid ) . field ( "wMethod" , & self . wMethod ) . finish ( ) } } impl :: std :: cmp :: PartialEq for INTERFACEINFO { fn eq ( & self , other : & Self ) -> bool { self . pUnk == other . pUnk && self . iid == other . iid && self . wMethod == other . wMethod } } impl :: std :: cmp :: Eq for INTERFACEINFO { } # [ repr ( C ) ] # [ doc ( hidden ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct INTERFACEINFO_abi { pub pUnk : :: windows :: RawPtr , pub iid : :: windows :: Guid , pub wMethod : u16 } unsafe impl :: windows :: Abi for INTERFACEINFO { type Abi = INTERFACEINFO_abi ; 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 INTERNETFEATURELIST ( pub i32 ) ; pub const FEATURE_OBJECT_CACHING : INTERNETFEATURELIST = INTERNETFEATURELIST ( 0i32 ) ; pub const FEATURE_ZONE_ELEVATION : INTERNETFEATURELIST = INTERNETFEATURELIST ( 1i32 ) ; pub const FEATURE_MIME_HANDLING : INTERNETFEATURELIST = INTERNETFEATURELIST ( 2i32 ) ; pub const FEATURE_MIME_SNIFFING : INTERNETFEATURELIST = INTERNETFEATURELIST ( 3i32 ) ; pub const FEATURE_WINDOW_RESTRICTIONS : INTERNETFEATURELIST = INTERNETFEATURELIST ( 4i32 ) ; pub const FEATURE_WEBOC_POPUPMANAGEMENT : INTERNETFEATURELIST = INTERNETFEATURELIST ( 5i32 ) ; pub const FEATURE_BEHAVIORS : INTERNETFEATURELIST = INTERNETFEATURELIST ( 6i32 ) ; pub const FEATURE_DISABLE_MK_PROTOCOL : INTERNETFEATURELIST = INTERNETFEATURELIST ( 7i32 ) ; pub const FEATURE_LOCALMACHINE_LOCKDOWN : INTERNETFEATURELIST = INTERNETFEATURELIST ( 8i32 ) ; pub const FEATURE_SECURITYBAND : INTERNETFEATURELIST = INTERNETFEATURELIST ( 9i32 ) ; pub const FEATURE_RESTRICT_ACTIVEXINSTALL : INTERNETFEATURELIST = INTERNETFEATURELIST ( 10i32 ) ; pub const FEATURE_VALIDATE_NAVIGATE_URL : INTERNETFEATURELIST = INTERNETFEATURELIST ( 11i32 ) ; pub const FEATURE_RESTRICT_FILEDOWNLOAD : INTERNETFEATURELIST = INTERNETFEATURELIST ( 12i32 ) ; pub const FEATURE_ADDON_MANAGEMENT : INTERNETFEATURELIST = INTERNETFEATURELIST ( 13i32 ) ; pub const FEATURE_PROTOCOL_LOCKDOWN : INTERNETFEATURELIST = INTERNETFEATURELIST ( 14i32 ) ; pub const FEATURE_HTTP_USERNAME_PASSWORD_DISABLE : INTERNETFEATURELIST = INTERNETFEATURELIST ( 15i32 ) ; pub const FEATURE_SAFE_BINDTOOBJECT : INTERNETFEATURELIST = INTERNETFEATURELIST ( 16i32 ) ; pub const FEATURE_UNC_SAVEDFILECHECK : INTERNETFEATURELIST = INTERNETFEATURELIST ( 17i32 ) ; pub const FEATURE_GET_URL_DOM_FILEPATH_UNENCODED : INTERNETFEATURELIST = INTERNETFEATURELIST ( 18i32 ) ; pub const FEATURE_TABBED_BROWSING : INTERNETFEATURELIST = INTERNETFEATURELIST ( 19i32 ) ; pub const FEATURE_SSLUX : INTERNETFEATURELIST = INTERNETFEATURELIST ( 20i32 ) ; pub const FEATURE_DISABLE_NAVIGATION_SOUNDS : INTERNETFEATURELIST = INTERNETFEATURELIST ( 21i32 ) ; pub const FEATURE_DISABLE_LEGACY_COMPRESSION : INTERNETFEATURELIST = INTERNETFEATURELIST ( 22i32 ) ; pub const FEATURE_FORCE_ADDR_AND_STATUS : INTERNETFEATURELIST = INTERNETFEATURELIST ( 23i32 ) ; pub const FEATURE_XMLHTTP : INTERNETFEATURELIST = INTERNETFEATURELIST ( 24i32 ) ; pub const FEATURE_DISABLE_TELNET_PROTOCOL : INTERNETFEATURELIST = INTERNETFEATURELIST ( 25i32 ) ; pub const FEATURE_FEEDS : INTERNETFEATURELIST = INTERNETFEATURELIST ( 26i32 ) ; pub const FEATURE_BLOCK_INPUT_PROMPTS : INTERNETFEATURELIST = INTERNETFEATURELIST ( 27i32 ) ; pub const FEATURE_ENTRY_COUNT : INTERNETFEATURELIST = INTERNETFEATURELIST ( 28i32 ) ; impl :: std :: convert :: From < i32 > for INTERNETFEATURELIST { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for INTERNETFEATURELIST { type Abi = Self ; type DefaultType = Self ; } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct INoMarshal ( :: windows :: IUnknown ) ; impl INoMarshal { } unsafe impl :: windows :: Interface for INoMarshal { type Vtable = INoMarshal_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3972557083 ,49627 ,19904 , [ 133 ,94 ,101 ,246 ,197 ,81 ,175 ,73 ] , ) ; } impl :: std :: convert :: From < INoMarshal > for :: windows :: IUnknown { fn from ( value : INoMarshal ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & INoMarshal > for :: windows :: IUnknown { fn from ( value : & INoMarshal ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for INoMarshal { 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 INoMarshal { 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 INoMarshal_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 const IOF_CHECKDISPLAYASICON : i32 = 16i32 ; pub const IOF_CHECKLINK : i32 = 8i32 ; pub const IOF_CREATEFILEOBJECT : i32 = 64i32 ; pub const IOF_CREATELINKOBJECT : i32 = 128i32 ; pub const IOF_CREATENEWOBJECT : i32 = 32i32 ; pub const IOF_DISABLEDISPLAYASICON : i32 = 1024i32 ; pub const IOF_DISABLELINK : i32 = 256i32 ; pub const IOF_HIDECHANGEICON : i32 = 2048i32 ; pub const IOF_SELECTCREATECONTROL : i32 = 8192i32 ; pub const IOF_SELECTCREATEFROMFILE : i32 = 4i32 ; pub const IOF_SELECTCREATENEW : i32 = 2i32 ; pub const IOF_SHOWHELP : i32 = 1i32 ; pub const IOF_SHOWINSERTCONTROL : i32 = 4096i32 ; pub const IOF_VERIFYSERVERSEXIST : i32 = 512i32 ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IObjectWithSite ( :: windows :: IUnknown ) ; impl IObjectWithSite { pub unsafe fn SetSite < 'a , > ( & self , punksite : impl :: windows :: IntoParam < 'a , :: windows :: IUnknown > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , punksite . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn GetSite < T : :: windows :: Interface > ( & self , ) -> :: windows :: Result < T > { let mut result__ = :: std :: option :: Option :: None ; ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , & < T as :: windows :: Interface > :: IID , :: windows :: Abi :: set_abi ( & mut result__ ) ) . and_some ( result__ ) } } unsafe impl :: windows :: Interface for IObjectWithSite { type Vtable = IObjectWithSite_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 4232577443 ,11177 ,4559 , [ 162 ,41 ,0 ,170 ,0 ,61 ,115 ,82 ] , ) ; } impl :: std :: convert :: From < IObjectWithSite > for :: windows :: IUnknown { fn from ( value : IObjectWithSite ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IObjectWithSite > for :: windows :: IUnknown { fn from ( value : & IObjectWithSite ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IObjectWithSite { 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 IObjectWithSite { 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 IObjectWithSite_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 , punksite : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , riid : * const :: windows :: Guid , ppvsite : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IOleAdviseHolder ( :: windows :: IUnknown ) ; impl IOleAdviseHolder { pub unsafe fn Advise < 'a , > ( & self , padvise : impl :: windows :: IntoParam < 'a , IAdviseSink > , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , padvise . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn Unadvise < > ( & self , dwconnection : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwconnection ) , ) . ok ( ) } pub unsafe fn EnumAdvise < > ( & self , ) -> :: windows :: Result < IEnumSTATDATA > { let mut result__ : < IEnumSTATDATA as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < IEnumSTATDATA > ( result__ ) } pub unsafe fn SendOnRename < 'a , > ( & self , pmk : impl :: windows :: IntoParam < 'a , IMoniker > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , pmk . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn SendOnSave < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn SendOnClose < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IOleAdviseHolder { type Vtable = IOleAdviseHolder_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 273 ,0 ,0 , [ 192 ,0 ,0 ,0 ,0 ,0 ,0 ,70 ] , ) ; } impl :: std :: convert :: From < IOleAdviseHolder > for :: windows :: IUnknown { fn from ( value : IOleAdviseHolder ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IOleAdviseHolder > for :: windows :: IUnknown { fn from ( value : & IOleAdviseHolder ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IOleAdviseHolder { 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 IOleAdviseHolder { 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 IOleAdviseHolder_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 , padvise : :: windows :: RawPtr , pdwconnection : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwconnection : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppenumadvise : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pmk : :: 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 IOleCache ( :: windows :: IUnknown ) ; impl IOleCache { pub unsafe fn Cache < > ( & self , pformatetc : * mut FORMATETC , advf : u32 , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pformatetc ) , :: std :: mem :: transmute ( advf ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn Uncache < > ( & self , dwconnection : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwconnection ) , ) . ok ( ) } pub unsafe fn EnumCache < > ( & self , ) -> :: windows :: Result < IEnumSTATDATA > { let mut result__ : < IEnumSTATDATA as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < IEnumSTATDATA > ( result__ ) } pub unsafe fn InitCache < 'a , > ( & self , pdataobject : impl :: windows :: IntoParam < 'a , IDataObject > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , pdataobject . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn SetData < 'a , > ( & self , pformatetc : * mut FORMATETC , pmedium : * mut STGMEDIUM , frelease : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pformatetc ) , :: std :: mem :: transmute ( pmedium ) , frelease . into_param ( ) . abi ( ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IOleCache { type Vtable = IOleCache_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 286 ,0 ,0 , [ 192 ,0 ,0 ,0 ,0 ,0 ,0 ,70 ] , ) ; } impl :: std :: convert :: From < IOleCache > for :: windows :: IUnknown { fn from ( value : IOleCache ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IOleCache > for :: windows :: IUnknown { fn from ( value : & IOleCache ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IOleCache { 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 IOleCache { 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 IOleCache_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 , pformatetc : * mut FORMATETC , advf : u32 , pdwconnection : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwconnection : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppenumstatdata : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pdataobject : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pformatetc : * mut FORMATETC , pmedium : * mut STGMEDIUM_abi , frelease : super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IOleCache2 ( :: windows :: IUnknown ) ; impl IOleCache2 { pub unsafe fn Cache < > ( & self , pformatetc : * mut FORMATETC , advf : u32 , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pformatetc ) , :: std :: mem :: transmute ( advf ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn Uncache < > ( & self , dwconnection : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwconnection ) , ) . ok ( ) } pub unsafe fn EnumCache < > ( & self , ) -> :: windows :: Result < IEnumSTATDATA > { let mut result__ : < IEnumSTATDATA as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < IEnumSTATDATA > ( result__ ) } pub unsafe fn InitCache < 'a , > ( & self , pdataobject : impl :: windows :: IntoParam < 'a , IDataObject > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , pdataobject . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn SetData < 'a , > ( & self , pformatetc : * mut FORMATETC , pmedium : * mut STGMEDIUM , frelease : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pformatetc ) , :: std :: mem :: transmute ( pmedium ) , frelease . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn UpdateCache < 'a , > ( & self , pdataobject : impl :: windows :: IntoParam < 'a , IDataObject > , grfupdf : UPDFCACHE_FLAGS , preserved : * mut :: std :: ffi :: c_void , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , pdataobject . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( grfupdf ) , :: std :: mem :: transmute ( preserved ) , ) . ok ( ) } pub unsafe fn DiscardCache < > ( & self , dwdiscardoptions : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwdiscardoptions ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IOleCache2 { type Vtable = IOleCache2_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 296 ,0 ,0 , [ 192 ,0 ,0 ,0 ,0 ,0 ,0 ,70 ] , ) ; } impl :: std :: convert :: From < IOleCache2 > for :: windows :: IUnknown { fn from ( value : IOleCache2 ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IOleCache2 > for :: windows :: IUnknown { fn from ( value : & IOleCache2 ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IOleCache2 { 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 IOleCache2 { 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 < IOleCache2 > for IOleCache { fn from ( value : IOleCache2 ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IOleCache2 > for IOleCache { fn from ( value : & IOleCache2 ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IOleCache > for IOleCache2 { fn into_param ( self ) -> :: windows :: Param < 'a , IOleCache > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IOleCache > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IOleCache > for & 'a IOleCache2 { fn into_param ( self ) -> :: windows :: Param < 'a , IOleCache > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IOleCache > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IOleCache2_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 , pformatetc : * mut FORMATETC , advf : u32 , pdwconnection : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwconnection : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppenumstatdata : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pdataobject : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pformatetc : * mut FORMATETC , pmedium : * mut STGMEDIUM_abi , frelease : super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pdataobject : :: windows :: RawPtr , grfupdf : UPDFCACHE_FLAGS , preserved : * mut :: std :: ffi :: c_void , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwdiscardoptions : u32 , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IOleCacheControl ( :: windows :: IUnknown ) ; impl IOleCacheControl { pub unsafe fn OnRun < 'a , > ( & self , pdataobject : impl :: windows :: IntoParam < 'a , IDataObject > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , pdataobject . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn OnStop < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IOleCacheControl { type Vtable = IOleCacheControl_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 297 ,0 ,0 , [ 192 ,0 ,0 ,0 ,0 ,0 ,0 ,70 ] , ) ; } impl :: std :: convert :: From < IOleCacheControl > for :: windows :: IUnknown { fn from ( value : IOleCacheControl ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IOleCacheControl > for :: windows :: IUnknown { fn from ( value : & IOleCacheControl ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IOleCacheControl { 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 IOleCacheControl { 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 IOleCacheControl_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 , pdataobject : :: 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 IOleClientSite ( :: windows :: IUnknown ) ; impl IOleClientSite { pub unsafe fn SaveObject < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn GetMoniker < > ( & self , dwassign : u32 , dwwhichmoniker : u32 , ) -> :: windows :: Result < IMoniker > { let mut result__ : < IMoniker as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwassign ) , :: std :: mem :: transmute ( dwwhichmoniker ) , & mut result__ ) . from_abi :: < IMoniker > ( result__ ) } pub unsafe fn GetContainer < > ( & self , ) -> :: windows :: Result < IOleContainer > { let mut result__ : < IOleContainer as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < IOleContainer > ( result__ ) } pub unsafe fn ShowObject < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn OnShowWindow < 'a , > ( & self , fshow : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , fshow . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn RequestNewObjectLayout < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IOleClientSite { type Vtable = IOleClientSite_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 280 ,0 ,0 , [ 192 ,0 ,0 ,0 ,0 ,0 ,0 ,70 ] , ) ; } impl :: std :: convert :: From < IOleClientSite > for :: windows :: IUnknown { fn from ( value : IOleClientSite ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IOleClientSite > for :: windows :: IUnknown { fn from ( value : & IOleClientSite ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IOleClientSite { 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 IOleClientSite { 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 IOleClientSite_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 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwassign : u32 , dwwhichmoniker : u32 , ppmk : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppcontainer : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , fshow : super::super::Foundation:: BOOL , ) -> :: 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 IOleCommandTarget ( :: windows :: IUnknown ) ; impl IOleCommandTarget { pub unsafe fn QueryStatus < > ( & self , pguidcmdgroup : * const :: windows :: Guid , ccmds : u32 , prgcmds : * mut OLECMD , pcmdtext : * mut OLECMDTEXT , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pguidcmdgroup ) , :: std :: mem :: transmute ( ccmds ) , :: std :: mem :: transmute ( prgcmds ) , :: std :: mem :: transmute ( pcmdtext ) , ) . ok ( ) } pub unsafe fn Exec < > ( & self , pguidcmdgroup : * const :: windows :: Guid , ncmdid : u32 , ncmdexecopt : u32 , pvain : * mut super::OleAutomation:: VARIANT , pvaout : * mut super::OleAutomation:: VARIANT , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pguidcmdgroup ) , :: std :: mem :: transmute ( ncmdid ) , :: std :: mem :: transmute ( ncmdexecopt ) , :: std :: mem :: transmute ( pvain ) , :: std :: mem :: transmute ( pvaout ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IOleCommandTarget { type Vtable = IOleCommandTarget_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3072507083 ,20072 ,4123 , [ 162 ,188 ,0 ,170 ,0 ,64 ,71 ,112 ] , ) ; } impl :: std :: convert :: From < IOleCommandTarget > for :: windows :: IUnknown { fn from ( value : IOleCommandTarget ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IOleCommandTarget > for :: windows :: IUnknown { fn from ( value : & IOleCommandTarget ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IOleCommandTarget { 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 IOleCommandTarget { 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 IOleCommandTarget_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 , pguidcmdgroup : * const :: windows :: Guid , ccmds : u32 , prgcmds : * mut OLECMD , pcmdtext : * mut OLECMDTEXT , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pguidcmdgroup : * const :: windows :: Guid , ncmdid : u32 , ncmdexecopt : u32 , pvain : * mut super::OleAutomation:: VARIANT_abi , pvaout : * mut super::OleAutomation:: VARIANT_abi , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IOleContainer ( :: windows :: IUnknown ) ; impl IOleContainer { pub unsafe fn ParseDisplayName < 'a , > ( & self , pbc : impl :: windows :: IntoParam < 'a , IBindCtx > , pszdisplayname : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , pcheaten : * mut u32 , ppmkout : * mut :: std :: option :: Option < IMoniker > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , pbc . into_param ( ) . abi ( ) , pszdisplayname . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pcheaten ) , :: std :: mem :: transmute ( ppmkout ) , ) . ok ( ) } pub unsafe fn EnumObjects < > ( & self , grfflags : u32 , ) -> :: windows :: Result < IEnumUnknown > { let mut result__ : < IEnumUnknown as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( grfflags ) , & mut result__ ) . from_abi :: < IEnumUnknown > ( result__ ) } pub unsafe fn LockContainer < 'a , > ( & self , flock : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , flock . into_param ( ) . abi ( ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IOleContainer { type Vtable = IOleContainer_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 283 ,0 ,0 , [ 192 ,0 ,0 ,0 ,0 ,0 ,0 ,70 ] , ) ; } impl :: std :: convert :: From < IOleContainer > for :: windows :: IUnknown { fn from ( value : IOleContainer ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IOleContainer > for :: windows :: IUnknown { fn from ( value : & IOleContainer ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IOleContainer { 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 IOleContainer { 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 < IOleContainer > for IParseDisplayName { fn from ( value : IOleContainer ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IOleContainer > for IParseDisplayName { fn from ( value : & IOleContainer ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IParseDisplayName > for IOleContainer { fn into_param ( self ) -> :: windows :: Param < 'a , IParseDisplayName > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IParseDisplayName > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IParseDisplayName > for & 'a IOleContainer { fn into_param ( self ) -> :: windows :: Param < 'a , IParseDisplayName > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IParseDisplayName > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IOleContainer_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 , pbc : :: windows :: RawPtr , pszdisplayname : super::super::Foundation:: PWSTR , pcheaten : * mut u32 , ppmkout : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , grfflags : u32 , ppenum : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , flock : super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IOleControl ( :: windows :: IUnknown ) ; impl IOleControl { pub unsafe fn GetControlInfo < > ( & self , pci : * mut CONTROLINFO , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pci ) , ) . ok ( ) } pub unsafe fn OnMnemonic < > ( & self , pmsg : * mut super::super::UI::WindowsAndMessaging:: MSG , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pmsg ) , ) . ok ( ) } pub unsafe fn OnAmbientPropertyChange < > ( & self , dispid : i32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dispid ) , ) . ok ( ) } pub unsafe fn FreezeEvents < 'a , > ( & self , bfreeze : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , bfreeze . into_param ( ) . abi ( ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IOleControl { type Vtable = IOleControl_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2979443336 ,47796 ,4122 , [ 182 ,156 ,0 ,170 ,0 ,52 ,29 ,7 ] , ) ; } impl :: std :: convert :: From < IOleControl > for :: windows :: IUnknown { fn from ( value : IOleControl ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IOleControl > for :: windows :: IUnknown { fn from ( value : & IOleControl ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IOleControl { 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 IOleControl { 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 IOleControl_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 , pci : * mut CONTROLINFO , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pmsg : * mut super::super::UI::WindowsAndMessaging:: MSG , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dispid : i32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , bfreeze : super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IOleControlSite ( :: windows :: IUnknown ) ; impl IOleControlSite { pub unsafe fn OnControlInfoChanged < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn LockInPlaceActive < 'a , > ( & self , flock : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , flock . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn GetExtendedControl < > ( & self , ) -> :: windows :: Result < super::OleAutomation:: IDispatch > { let mut result__ : < super::OleAutomation:: IDispatch as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < super::OleAutomation:: IDispatch > ( result__ ) } pub unsafe fn TransformCoords < > ( & self , pptlhimetric : * mut super::super::Foundation:: POINTL , pptfcontainer : * mut POINTF , dwflags : XFORMCOORDS , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pptlhimetric ) , :: std :: mem :: transmute ( pptfcontainer ) , :: std :: mem :: transmute ( dwflags ) , ) . ok ( ) } pub unsafe fn TranslateAccelerator < > ( & self , pmsg : * mut super::super::UI::WindowsAndMessaging:: MSG , grfmodifiers : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pmsg ) , :: std :: mem :: transmute ( grfmodifiers ) , ) . ok ( ) } pub unsafe fn OnFocus < 'a , > ( & self , fgotfocus : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , fgotfocus . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn ShowPropertyFrame < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IOleControlSite { type Vtable = IOleControlSite_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2979443337 ,47796 ,4122 , [ 182 ,156 ,0 ,170 ,0 ,52 ,29 ,7 ] , ) ; } impl :: std :: convert :: From < IOleControlSite > for :: windows :: IUnknown { fn from ( value : IOleControlSite ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IOleControlSite > for :: windows :: IUnknown { fn from ( value : & IOleControlSite ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IOleControlSite { 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 IOleControlSite { 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 IOleControlSite_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 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , flock : super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppdisp : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pptlhimetric : * mut super::super::Foundation:: POINTL , pptfcontainer : * mut POINTF , dwflags : XFORMCOORDS , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pmsg : * mut super::super::UI::WindowsAndMessaging:: MSG , grfmodifiers : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , fgotfocus : super::super::Foundation:: BOOL , ) -> :: 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 IOleDocument ( :: windows :: IUnknown ) ; impl IOleDocument { pub unsafe fn CreateView < 'a , > ( & self , pipsite : impl :: windows :: IntoParam < 'a , IOleInPlaceSite > , pstm : impl :: windows :: IntoParam < 'a , super::super::Storage::StructuredStorage:: IStream > , dwreserved : u32 , ) -> :: windows :: Result < IOleDocumentView > { let mut result__ : < IOleDocumentView as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , pipsite . into_param ( ) . abi ( ) , pstm . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwreserved ) , & mut result__ ) . from_abi :: < IOleDocumentView > ( result__ ) } pub unsafe fn GetDocMiscStatus < > ( & self , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn EnumViews < > ( & self , ppenum : * mut :: std :: option :: Option < IEnumOleDocumentViews > , ppview : * mut :: std :: option :: Option < IOleDocumentView > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ppenum ) , :: std :: mem :: transmute ( ppview ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IOleDocument { type Vtable = IOleDocument_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3072507077 ,20072 ,4123 , [ 162 ,188 ,0 ,170 ,0 ,64 ,71 ,112 ] , ) ; } impl :: std :: convert :: From < IOleDocument > for :: windows :: IUnknown { fn from ( value : IOleDocument ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IOleDocument > for :: windows :: IUnknown { fn from ( value : & IOleDocument ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IOleDocument { 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 IOleDocument { 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 IOleDocument_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 , pipsite : :: windows :: RawPtr , pstm : :: windows :: RawPtr , dwreserved : u32 , ppview : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pdwstatus : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppenum : * mut :: windows :: RawPtr , ppview : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IOleDocumentSite ( :: windows :: IUnknown ) ; impl IOleDocumentSite { pub unsafe fn ActivateMe < 'a , > ( & self , pviewtoactivate : impl :: windows :: IntoParam < 'a , IOleDocumentView > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , pviewtoactivate . into_param ( ) . abi ( ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IOleDocumentSite { type Vtable = IOleDocumentSite_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3072507079 ,20072 ,4123 , [ 162 ,188 ,0 ,170 ,0 ,64 ,71 ,112 ] , ) ; } impl :: std :: convert :: From < IOleDocumentSite > for :: windows :: IUnknown { fn from ( value : IOleDocumentSite ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IOleDocumentSite > for :: windows :: IUnknown { fn from ( value : & IOleDocumentSite ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IOleDocumentSite { 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 IOleDocumentSite { 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 IOleDocumentSite_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 , pviewtoactivate : :: windows :: RawPtr , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IOleDocumentView ( :: windows :: IUnknown ) ; impl IOleDocumentView { pub unsafe fn SetInPlaceSite < 'a , > ( & self , pipsite : impl :: windows :: IntoParam < 'a , IOleInPlaceSite > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , pipsite . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn GetInPlaceSite < > ( & self , ) -> :: windows :: Result < IOleInPlaceSite > { let mut result__ : < IOleInPlaceSite as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < IOleInPlaceSite > ( result__ ) } pub unsafe fn GetDocument < > ( & self , ) -> :: windows :: Result < :: windows :: IUnknown > { let mut result__ : < :: windows :: IUnknown as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < :: windows :: IUnknown > ( result__ ) } pub unsafe fn SetRect < > ( & self , prcview : * mut super::super::Foundation:: RECT , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( prcview ) , ) . ok ( ) } pub unsafe fn GetRect < > ( & self , ) -> :: windows :: Result < super::super::Foundation:: RECT > { let mut result__ : < super::super::Foundation:: RECT as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < super::super::Foundation:: RECT > ( result__ ) } pub unsafe fn SetRectComplex < > ( & self , prcview : * mut super::super::Foundation:: RECT , prchscroll : * mut super::super::Foundation:: RECT , prcvscroll : * mut super::super::Foundation:: RECT , prcsizebox : * mut super::super::Foundation:: RECT , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( prcview ) , :: std :: mem :: transmute ( prchscroll ) , :: std :: mem :: transmute ( prcvscroll ) , :: std :: mem :: transmute ( prcsizebox ) , ) . ok ( ) } pub unsafe fn Show < 'a , > ( & self , fshow : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , fshow . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn UIActivate < 'a , > ( & self , fuiactivate : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , fuiactivate . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn Open < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .11 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn CloseView < > ( & self , dwreserved : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .12 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwreserved ) , ) . ok ( ) } pub unsafe fn SaveViewState < 'a , > ( & self , pstm : impl :: windows :: IntoParam < 'a , super::super::Storage::StructuredStorage:: IStream > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .13 ) ( :: windows :: Abi :: abi ( self ) , pstm . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn ApplyViewState < 'a , > ( & self , pstm : impl :: windows :: IntoParam < 'a , super::super::Storage::StructuredStorage:: IStream > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .14 ) ( :: windows :: Abi :: abi ( self ) , pstm . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn Clone < 'a , > ( & self , pipsitenew : impl :: windows :: IntoParam < 'a , IOleInPlaceSite > , ) -> :: windows :: Result < IOleDocumentView > { let mut result__ : < IOleDocumentView as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .15 ) ( :: windows :: Abi :: abi ( self ) , pipsitenew . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < IOleDocumentView > ( result__ ) } } unsafe impl :: windows :: Interface for IOleDocumentView { type Vtable = IOleDocumentView_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3072507078 ,20072 ,4123 , [ 162 ,188 ,0 ,170 ,0 ,64 ,71 ,112 ] , ) ; } impl :: std :: convert :: From < IOleDocumentView > for :: windows :: IUnknown { fn from ( value : IOleDocumentView ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IOleDocumentView > for :: windows :: IUnknown { fn from ( value : & IOleDocumentView ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IOleDocumentView { 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 IOleDocumentView { 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 IOleDocumentView_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 , pipsite : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppipsite : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppunk : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , prcview : * mut super::super::Foundation:: RECT , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , prcview : * mut super::super::Foundation:: RECT , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , prcview : * mut super::super::Foundation:: RECT , prchscroll : * mut super::super::Foundation:: RECT , prcvscroll : * mut super::super::Foundation:: RECT , prcsizebox : * mut super::super::Foundation:: RECT , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , fshow : super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , fuiactivate : super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwreserved : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pstm : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pstm : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pipsitenew : :: windows :: RawPtr , ppviewnew : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IOleInPlaceActiveObject ( :: windows :: IUnknown ) ; impl IOleInPlaceActiveObject { pub unsafe fn GetWindow < > ( & self , ) -> :: windows :: Result < super::super::Foundation:: HWND > { let mut result__ : < super::super::Foundation:: HWND as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < super::super::Foundation:: HWND > ( result__ ) } pub unsafe fn ContextSensitiveHelp < 'a , > ( & self , fentermode : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , fentermode . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn TranslateAccelerator < > ( & self , lpmsg : * mut super::super::UI::WindowsAndMessaging:: MSG , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( lpmsg ) , ) . ok ( ) } pub unsafe fn OnFrameWindowActivate < 'a , > ( & self , factivate : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , factivate . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn OnDocWindowActivate < 'a , > ( & self , factivate : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , factivate . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn ResizeBorder < 'a , > ( & self , prcborder : * mut super::super::Foundation:: RECT , puiwindow : impl :: windows :: IntoParam < 'a , IOleInPlaceUIWindow > , fframewindow : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( prcborder ) , puiwindow . into_param ( ) . abi ( ) , fframewindow . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn EnableModeless < 'a , > ( & self , fenable : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , fenable . into_param ( ) . abi ( ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IOleInPlaceActiveObject { type Vtable = IOleInPlaceActiveObject_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 279 ,0 ,0 , [ 192 ,0 ,0 ,0 ,0 ,0 ,0 ,70 ] , ) ; } impl :: std :: convert :: From < IOleInPlaceActiveObject > for :: windows :: IUnknown { fn from ( value : IOleInPlaceActiveObject ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IOleInPlaceActiveObject > for :: windows :: IUnknown { fn from ( value : & IOleInPlaceActiveObject ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IOleInPlaceActiveObject { 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 IOleInPlaceActiveObject { 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 < IOleInPlaceActiveObject > for IOleWindow { fn from ( value : IOleInPlaceActiveObject ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IOleInPlaceActiveObject > for IOleWindow { fn from ( value : & IOleInPlaceActiveObject ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IOleWindow > for IOleInPlaceActiveObject { fn into_param ( self ) -> :: windows :: Param < 'a , IOleWindow > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IOleWindow > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IOleWindow > for & 'a IOleInPlaceActiveObject { fn into_param ( self ) -> :: windows :: Param < 'a , IOleWindow > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IOleWindow > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IOleInPlaceActiveObject_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 , phwnd : * mut super::super::Foundation:: HWND , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , fentermode : super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , lpmsg : * mut super::super::UI::WindowsAndMessaging:: MSG , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , factivate : super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , factivate : super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , prcborder : * mut super::super::Foundation:: RECT , puiwindow : :: windows :: RawPtr , fframewindow : super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , fenable : super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IOleInPlaceFrame ( :: windows :: IUnknown ) ; impl IOleInPlaceFrame { pub unsafe fn GetWindow < > ( & self , ) -> :: windows :: Result < super::super::Foundation:: HWND > { let mut result__ : < super::super::Foundation:: HWND as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < super::super::Foundation:: HWND > ( result__ ) } pub unsafe fn ContextSensitiveHelp < 'a , > ( & self , fentermode : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , fentermode . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn GetBorder < > ( & self , ) -> :: windows :: Result < super::super::Foundation:: RECT > { let mut result__ : < super::super::Foundation:: RECT as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < super::super::Foundation:: RECT > ( result__ ) } pub unsafe fn RequestBorderSpace < > ( & self , pborderwidths : * mut super::super::Foundation:: RECT , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pborderwidths ) , ) . ok ( ) } pub unsafe fn SetBorderSpace < > ( & self , pborderwidths : * mut super::super::Foundation:: RECT , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pborderwidths ) , ) . ok ( ) } pub unsafe fn SetActiveObject < 'a , > ( & self , pactiveobject : impl :: windows :: IntoParam < 'a , IOleInPlaceActiveObject > , pszobjname : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , pactiveobject . into_param ( ) . abi ( ) , pszobjname . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn InsertMenus < 'a , > ( & self , hmenushared : impl :: windows :: IntoParam < 'a , super::super::UI::WindowsAndMessaging:: HMENU > , lpmenuwidths : * mut OleMenuGroupWidths , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , hmenushared . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpmenuwidths ) , ) . ok ( ) } pub unsafe fn SetMenu < 'a , > ( & self , hmenushared : impl :: windows :: IntoParam < 'a , super::super::UI::WindowsAndMessaging:: HMENU > , holemenu : isize , hwndactiveobject : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HWND > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , hmenushared . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( holemenu ) , hwndactiveobject . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn RemoveMenus < 'a , > ( & self , hmenushared : impl :: windows :: IntoParam < 'a , super::super::UI::WindowsAndMessaging:: HMENU > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .11 ) ( :: windows :: Abi :: abi ( self ) , hmenushared . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn SetStatusText < 'a , > ( & self , pszstatustext : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .12 ) ( :: windows :: Abi :: abi ( self ) , pszstatustext . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn EnableModeless < 'a , > ( & self , fenable : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .13 ) ( :: windows :: Abi :: abi ( self ) , fenable . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn TranslateAccelerator < > ( & self , lpmsg : * mut super::super::UI::WindowsAndMessaging:: MSG , wid : u16 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .14 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( lpmsg ) , :: std :: mem :: transmute ( wid ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IOleInPlaceFrame { type Vtable = IOleInPlaceFrame_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 278 ,0 ,0 , [ 192 ,0 ,0 ,0 ,0 ,0 ,0 ,70 ] , ) ; } impl :: std :: convert :: From < IOleInPlaceFrame > for :: windows :: IUnknown { fn from ( value : IOleInPlaceFrame ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IOleInPlaceFrame > for :: windows :: IUnknown { fn from ( value : & IOleInPlaceFrame ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IOleInPlaceFrame { 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 IOleInPlaceFrame { 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 < IOleInPlaceFrame > for IOleInPlaceUIWindow { fn from ( value : IOleInPlaceFrame ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IOleInPlaceFrame > for IOleInPlaceUIWindow { fn from ( value : & IOleInPlaceFrame ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IOleInPlaceUIWindow > for IOleInPlaceFrame { fn into_param ( self ) -> :: windows :: Param < 'a , IOleInPlaceUIWindow > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IOleInPlaceUIWindow > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IOleInPlaceUIWindow > for & 'a IOleInPlaceFrame { fn into_param ( self ) -> :: windows :: Param < 'a , IOleInPlaceUIWindow > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IOleInPlaceUIWindow > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } impl :: std :: convert :: From < IOleInPlaceFrame > for IOleWindow { fn from ( value : IOleInPlaceFrame ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IOleInPlaceFrame > for IOleWindow { fn from ( value : & IOleInPlaceFrame ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IOleWindow > for IOleInPlaceFrame { fn into_param ( self ) -> :: windows :: Param < 'a , IOleWindow > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IOleWindow > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IOleWindow > for & 'a IOleInPlaceFrame { fn into_param ( self ) -> :: windows :: Param < 'a , IOleWindow > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IOleWindow > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IOleInPlaceFrame_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 , phwnd : * mut super::super::Foundation:: HWND , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , fentermode : super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , lprectborder : * mut super::super::Foundation:: RECT , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pborderwidths : * mut super::super::Foundation:: RECT , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pborderwidths : * mut super::super::Foundation:: RECT , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pactiveobject : :: windows :: RawPtr , pszobjname : super::super::Foundation:: PWSTR , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , hmenushared : super::super::UI::WindowsAndMessaging:: HMENU , lpmenuwidths : * mut OleMenuGroupWidths , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , hmenushared : super::super::UI::WindowsAndMessaging:: HMENU , holemenu : isize , hwndactiveobject : super::super::Foundation:: HWND , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , hmenushared : super::super::UI::WindowsAndMessaging:: HMENU , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pszstatustext : super::super::Foundation:: PWSTR , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , fenable : super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , lpmsg : * mut super::super::UI::WindowsAndMessaging:: MSG , wid : u16 , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IOleInPlaceObject ( :: windows :: IUnknown ) ; impl IOleInPlaceObject { pub unsafe fn GetWindow < > ( & self , ) -> :: windows :: Result < super::super::Foundation:: HWND > { let mut result__ : < super::super::Foundation:: HWND as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < super::super::Foundation:: HWND > ( result__ ) } pub unsafe fn ContextSensitiveHelp < 'a , > ( & self , fentermode : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , fentermode . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn InPlaceDeactivate < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn UIDeactivate < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn SetObjectRects < > ( & self , lprcposrect : * mut super::super::Foundation:: RECT , lprccliprect : * mut super::super::Foundation:: RECT , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( lprcposrect ) , :: std :: mem :: transmute ( lprccliprect ) , ) . ok ( ) } pub unsafe fn ReactivateAndUndo < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IOleInPlaceObject { type Vtable = IOleInPlaceObject_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 275 ,0 ,0 , [ 192 ,0 ,0 ,0 ,0 ,0 ,0 ,70 ] , ) ; } impl :: std :: convert :: From < IOleInPlaceObject > for :: windows :: IUnknown { fn from ( value : IOleInPlaceObject ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IOleInPlaceObject > for :: windows :: IUnknown { fn from ( value : & IOleInPlaceObject ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IOleInPlaceObject { 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 IOleInPlaceObject { 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 < IOleInPlaceObject > for IOleWindow { fn from ( value : IOleInPlaceObject ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IOleInPlaceObject > for IOleWindow { fn from ( value : & IOleInPlaceObject ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IOleWindow > for IOleInPlaceObject { fn into_param ( self ) -> :: windows :: Param < 'a , IOleWindow > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IOleWindow > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IOleWindow > for & 'a IOleInPlaceObject { fn into_param ( self ) -> :: windows :: Param < 'a , IOleWindow > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IOleWindow > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IOleInPlaceObject_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 , phwnd : * mut super::super::Foundation:: HWND , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , fentermode : super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , lprcposrect : * mut super::super::Foundation:: RECT , lprccliprect : * mut super::super::Foundation:: RECT , ) -> :: 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 IOleInPlaceObjectWindowless ( :: windows :: IUnknown ) ; impl IOleInPlaceObjectWindowless { pub unsafe fn GetWindow < > ( & self , ) -> :: windows :: Result < super::super::Foundation:: HWND > { let mut result__ : < super::super::Foundation:: HWND as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < super::super::Foundation:: HWND > ( result__ ) } pub unsafe fn ContextSensitiveHelp < 'a , > ( & self , fentermode : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , fentermode . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn InPlaceDeactivate < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn UIDeactivate < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn SetObjectRects < > ( & self , lprcposrect : * mut super::super::Foundation:: RECT , lprccliprect : * mut super::super::Foundation:: RECT , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( lprcposrect ) , :: std :: mem :: transmute ( lprccliprect ) , ) . ok ( ) } pub unsafe fn ReactivateAndUndo < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn OnWindowMessage < 'a , > ( & self , msg : u32 , wparam : impl :: windows :: IntoParam < 'a , super::super::Foundation:: WPARAM > , lparam : impl :: windows :: IntoParam < 'a , super::super::Foundation:: LPARAM > , ) -> :: windows :: Result < super::super::Foundation:: LRESULT > { let mut result__ : < super::super::Foundation:: LRESULT as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( msg ) , wparam . into_param ( ) . abi ( ) , lparam . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < super::super::Foundation:: LRESULT > ( result__ ) } pub unsafe fn GetDropTarget < > ( & self , ) -> :: windows :: Result < IDropTarget > { let mut result__ : < IDropTarget as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < IDropTarget > ( result__ ) } } unsafe impl :: windows :: Interface for IOleInPlaceObjectWindowless { type Vtable = IOleInPlaceObjectWindowless_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 471881420 ,24308 ,4123 , [ 139 ,200 ,0 ,170 ,0 ,62 ,59 ,41 ] , ) ; } impl :: std :: convert :: From < IOleInPlaceObjectWindowless > for :: windows :: IUnknown { fn from ( value : IOleInPlaceObjectWindowless ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IOleInPlaceObjectWindowless > for :: windows :: IUnknown { fn from ( value : & IOleInPlaceObjectWindowless ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IOleInPlaceObjectWindowless { 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 IOleInPlaceObjectWindowless { 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 < IOleInPlaceObjectWindowless > for IOleInPlaceObject { fn from ( value : IOleInPlaceObjectWindowless ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IOleInPlaceObjectWindowless > for IOleInPlaceObject { fn from ( value : & IOleInPlaceObjectWindowless ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IOleInPlaceObject > for IOleInPlaceObjectWindowless { fn into_param ( self ) -> :: windows :: Param < 'a , IOleInPlaceObject > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IOleInPlaceObject > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IOleInPlaceObject > for & 'a IOleInPlaceObjectWindowless { fn into_param ( self ) -> :: windows :: Param < 'a , IOleInPlaceObject > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IOleInPlaceObject > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } impl :: std :: convert :: From < IOleInPlaceObjectWindowless > for IOleWindow { fn from ( value : IOleInPlaceObjectWindowless ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IOleInPlaceObjectWindowless > for IOleWindow { fn from ( value : & IOleInPlaceObjectWindowless ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IOleWindow > for IOleInPlaceObjectWindowless { fn into_param ( self ) -> :: windows :: Param < 'a , IOleWindow > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IOleWindow > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IOleWindow > for & 'a IOleInPlaceObjectWindowless { fn into_param ( self ) -> :: windows :: Param < 'a , IOleWindow > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IOleWindow > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IOleInPlaceObjectWindowless_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 , phwnd : * mut super::super::Foundation:: HWND , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , fentermode : super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , lprcposrect : * mut super::super::Foundation:: RECT , lprccliprect : * mut super::super::Foundation:: RECT , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , msg : u32 , wparam : super::super::Foundation:: WPARAM , lparam : super::super::Foundation:: LPARAM , plresult : * mut super::super::Foundation:: LRESULT , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppdroptarget : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IOleInPlaceSite ( :: windows :: IUnknown ) ; impl IOleInPlaceSite { pub unsafe fn GetWindow < > ( & self , ) -> :: windows :: Result < super::super::Foundation:: HWND > { let mut result__ : < super::super::Foundation:: HWND as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < super::super::Foundation:: HWND > ( result__ ) } pub unsafe fn ContextSensitiveHelp < 'a , > ( & self , fentermode : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , fentermode . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn CanInPlaceActivate < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn OnInPlaceActivate < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn OnUIActivate < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn GetWindowContext < > ( & self , ppframe : * mut :: std :: option :: Option < IOleInPlaceFrame > , ppdoc : * mut :: std :: option :: Option < IOleInPlaceUIWindow > , lprcposrect : * mut super::super::Foundation:: RECT , lprccliprect : * mut super::super::Foundation:: RECT , lpframeinfo : * mut OIFI , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ppframe ) , :: std :: mem :: transmute ( ppdoc ) , :: std :: mem :: transmute ( lprcposrect ) , :: std :: mem :: transmute ( lprccliprect ) , :: std :: mem :: transmute ( lpframeinfo ) , ) . ok ( ) } pub unsafe fn Scroll < 'a , > ( & self , scrollextant : impl :: windows :: IntoParam < 'a , super::super::Foundation:: SIZE > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , scrollextant . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn OnUIDeactivate < 'a , > ( & self , fundoable : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , fundoable . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn OnInPlaceDeactivate < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .11 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn DiscardUndoState < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .12 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn DeactivateAndUndo < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .13 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn OnPosRectChange < > ( & self , lprcposrect : * mut super::super::Foundation:: RECT , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .14 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( lprcposrect ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IOleInPlaceSite { type Vtable = IOleInPlaceSite_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 281 ,0 ,0 , [ 192 ,0 ,0 ,0 ,0 ,0 ,0 ,70 ] , ) ; } impl :: std :: convert :: From < IOleInPlaceSite > for :: windows :: IUnknown { fn from ( value : IOleInPlaceSite ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IOleInPlaceSite > for :: windows :: IUnknown { fn from ( value : & IOleInPlaceSite ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IOleInPlaceSite { 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 IOleInPlaceSite { 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 < IOleInPlaceSite > for IOleWindow { fn from ( value : IOleInPlaceSite ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IOleInPlaceSite > for IOleWindow { fn from ( value : & IOleInPlaceSite ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IOleWindow > for IOleInPlaceSite { fn into_param ( self ) -> :: windows :: Param < 'a , IOleWindow > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IOleWindow > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IOleWindow > for & 'a IOleInPlaceSite { fn into_param ( self ) -> :: windows :: Param < 'a , IOleWindow > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IOleWindow > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IOleInPlaceSite_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 , phwnd : * mut super::super::Foundation:: HWND , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , fentermode : super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppframe : * mut :: windows :: RawPtr , ppdoc : * mut :: windows :: RawPtr , lprcposrect : * mut super::super::Foundation:: RECT , lprccliprect : * mut super::super::Foundation:: RECT , lpframeinfo : * mut OIFI , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , scrollextant : super::super::Foundation:: SIZE , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , fundoable : super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , lprcposrect : * mut super::super::Foundation:: RECT , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IOleInPlaceSiteEx ( :: windows :: IUnknown ) ; impl IOleInPlaceSiteEx { pub unsafe fn GetWindow < > ( & self , ) -> :: windows :: Result < super::super::Foundation:: HWND > { let mut result__ : < super::super::Foundation:: HWND as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < super::super::Foundation:: HWND > ( result__ ) } pub unsafe fn ContextSensitiveHelp < 'a , > ( & self , fentermode : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , fentermode . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn CanInPlaceActivate < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn OnInPlaceActivate < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn OnUIActivate < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn GetWindowContext < > ( & self , ppframe : * mut :: std :: option :: Option < IOleInPlaceFrame > , ppdoc : * mut :: std :: option :: Option < IOleInPlaceUIWindow > , lprcposrect : * mut super::super::Foundation:: RECT , lprccliprect : * mut super::super::Foundation:: RECT , lpframeinfo : * mut OIFI , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ppframe ) , :: std :: mem :: transmute ( ppdoc ) , :: std :: mem :: transmute ( lprcposrect ) , :: std :: mem :: transmute ( lprccliprect ) , :: std :: mem :: transmute ( lpframeinfo ) , ) . ok ( ) } pub unsafe fn Scroll < 'a , > ( & self , scrollextant : impl :: windows :: IntoParam < 'a , super::super::Foundation:: SIZE > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , scrollextant . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn OnUIDeactivate < 'a , > ( & self , fundoable : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , fundoable . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn OnInPlaceDeactivate < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .11 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn DiscardUndoState < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .12 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn DeactivateAndUndo < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .13 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn OnPosRectChange < > ( & self , lprcposrect : * mut super::super::Foundation:: RECT , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .14 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( lprcposrect ) , ) . ok ( ) } pub unsafe fn OnInPlaceActivateEx < > ( & self , pfnoredraw : * mut super::super::Foundation:: BOOL , dwflags : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .15 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pfnoredraw ) , :: std :: mem :: transmute ( dwflags ) , ) . ok ( ) } pub unsafe fn OnInPlaceDeactivateEx < 'a , > ( & self , fnoredraw : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .16 ) ( :: windows :: Abi :: abi ( self ) , fnoredraw . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn RequestUIActivate < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .17 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IOleInPlaceSiteEx { type Vtable = IOleInPlaceSiteEx_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2620173696 ,13348 ,4559 , [ 182 ,112 ,0 ,170 ,0 ,76 ,214 ,216 ] , ) ; } impl :: std :: convert :: From < IOleInPlaceSiteEx > for :: windows :: IUnknown { fn from ( value : IOleInPlaceSiteEx ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IOleInPlaceSiteEx > for :: windows :: IUnknown { fn from ( value : & IOleInPlaceSiteEx ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IOleInPlaceSiteEx { 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 IOleInPlaceSiteEx { 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 < IOleInPlaceSiteEx > for IOleInPlaceSite { fn from ( value : IOleInPlaceSiteEx ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IOleInPlaceSiteEx > for IOleInPlaceSite { fn from ( value : & IOleInPlaceSiteEx ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IOleInPlaceSite > for IOleInPlaceSiteEx { fn into_param ( self ) -> :: windows :: Param < 'a , IOleInPlaceSite > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IOleInPlaceSite > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IOleInPlaceSite > for & 'a IOleInPlaceSiteEx { fn into_param ( self ) -> :: windows :: Param < 'a , IOleInPlaceSite > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IOleInPlaceSite > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } impl :: std :: convert :: From < IOleInPlaceSiteEx > for IOleWindow { fn from ( value : IOleInPlaceSiteEx ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IOleInPlaceSiteEx > for IOleWindow { fn from ( value : & IOleInPlaceSiteEx ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IOleWindow > for IOleInPlaceSiteEx { fn into_param ( self ) -> :: windows :: Param < 'a , IOleWindow > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IOleWindow > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IOleWindow > for & 'a IOleInPlaceSiteEx { fn into_param ( self ) -> :: windows :: Param < 'a , IOleWindow > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IOleWindow > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IOleInPlaceSiteEx_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 , phwnd : * mut super::super::Foundation:: HWND , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , fentermode : super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppframe : * mut :: windows :: RawPtr , ppdoc : * mut :: windows :: RawPtr , lprcposrect : * mut super::super::Foundation:: RECT , lprccliprect : * mut super::super::Foundation:: RECT , lpframeinfo : * mut OIFI , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , scrollextant : super::super::Foundation:: SIZE , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , fundoable : super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , lprcposrect : * mut super::super::Foundation:: RECT , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pfnoredraw : * mut super::super::Foundation:: BOOL , dwflags : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , fnoredraw : super::super::Foundation:: BOOL , ) -> :: 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 IOleInPlaceSiteWindowless ( :: windows :: IUnknown ) ; impl IOleInPlaceSiteWindowless { pub unsafe fn GetWindow < > ( & self , ) -> :: windows :: Result < super::super::Foundation:: HWND > { let mut result__ : < super::super::Foundation:: HWND as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < super::super::Foundation:: HWND > ( result__ ) } pub unsafe fn ContextSensitiveHelp < 'a , > ( & self , fentermode : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , fentermode . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn CanInPlaceActivate < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn OnInPlaceActivate < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn OnUIActivate < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn GetWindowContext < > ( & self , ppframe : * mut :: std :: option :: Option < IOleInPlaceFrame > , ppdoc : * mut :: std :: option :: Option < IOleInPlaceUIWindow > , lprcposrect : * mut super::super::Foundation:: RECT , lprccliprect : * mut super::super::Foundation:: RECT , lpframeinfo : * mut OIFI , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ppframe ) , :: std :: mem :: transmute ( ppdoc ) , :: std :: mem :: transmute ( lprcposrect ) , :: std :: mem :: transmute ( lprccliprect ) , :: std :: mem :: transmute ( lpframeinfo ) , ) . ok ( ) } pub unsafe fn Scroll < 'a , > ( & self , scrollextant : impl :: windows :: IntoParam < 'a , super::super::Foundation:: SIZE > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , scrollextant . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn OnUIDeactivate < 'a , > ( & self , fundoable : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , fundoable . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn OnInPlaceDeactivate < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .11 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn DiscardUndoState < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .12 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn DeactivateAndUndo < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .13 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn OnPosRectChange < > ( & self , lprcposrect : * mut super::super::Foundation:: RECT , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .14 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( lprcposrect ) , ) . ok ( ) } pub unsafe fn OnInPlaceActivateEx < > ( & self , pfnoredraw : * mut super::super::Foundation:: BOOL , dwflags : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .15 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pfnoredraw ) , :: std :: mem :: transmute ( dwflags ) , ) . ok ( ) } pub unsafe fn OnInPlaceDeactivateEx < 'a , > ( & self , fnoredraw : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .16 ) ( :: windows :: Abi :: abi ( self ) , fnoredraw . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn RequestUIActivate < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .17 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn CanWindowlessActivate < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .18 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn GetCapture < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .19 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn SetCapture < 'a , > ( & self , fcapture : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .20 ) ( :: windows :: Abi :: abi ( self ) , fcapture . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn GetFocus < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .21 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn SetFocus < 'a , > ( & self , ffocus : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .22 ) ( :: windows :: Abi :: abi ( self ) , ffocus . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn GetDC < > ( & self , prect : * mut super::super::Foundation:: RECT , grfflags : u32 , ) -> :: windows :: Result < super::super::Graphics::Gdi:: HDC > { let mut result__ : < super::super::Graphics::Gdi:: HDC as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .23 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( prect ) , :: std :: mem :: transmute ( grfflags ) , & mut result__ ) . from_abi :: < super::super::Graphics::Gdi:: HDC > ( result__ ) } pub unsafe fn ReleaseDC < 'a , > ( & self , hdc : impl :: windows :: IntoParam < 'a , super::super::Graphics::Gdi:: HDC > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .24 ) ( :: windows :: Abi :: abi ( self ) , hdc . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn InvalidateRect < 'a , > ( & self , prect : * mut super::super::Foundation:: RECT , ferase : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .25 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( prect ) , ferase . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn InvalidateRgn < 'a , > ( & self , hrgn : impl :: windows :: IntoParam < 'a , super::super::Graphics::Gdi:: HRGN > , ferase : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .26 ) ( :: windows :: Abi :: abi ( self ) , hrgn . into_param ( ) . abi ( ) , ferase . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn ScrollRect < > ( & self , dx : i32 , dy : i32 , prectscroll : * mut super::super::Foundation:: RECT , prectclip : * mut super::super::Foundation:: RECT , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .27 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dx ) , :: std :: mem :: transmute ( dy ) , :: std :: mem :: transmute ( prectscroll ) , :: std :: mem :: transmute ( prectclip ) , ) . ok ( ) } pub unsafe fn AdjustRect < > ( & self , prc : * mut super::super::Foundation:: RECT , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .28 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( prc ) , ) . ok ( ) } pub unsafe fn OnDefWindowMessage < 'a , > ( & self , msg : u32 , wparam : impl :: windows :: IntoParam < 'a , super::super::Foundation:: WPARAM > , lparam : impl :: windows :: IntoParam < 'a , super::super::Foundation:: LPARAM > , ) -> :: windows :: Result < super::super::Foundation:: LRESULT > { let mut result__ : < super::super::Foundation:: LRESULT as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .29 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( msg ) , wparam . into_param ( ) . abi ( ) , lparam . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < super::super::Foundation:: LRESULT > ( result__ ) } } unsafe impl :: windows :: Interface for IOleInPlaceSiteWindowless { type Vtable = IOleInPlaceSiteWindowless_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2452532640 ,13348 ,4559 , [ 182 ,112 ,0 ,170 ,0 ,76 ,214 ,216 ] , ) ; } impl :: std :: convert :: From < IOleInPlaceSiteWindowless > for :: windows :: IUnknown { fn from ( value : IOleInPlaceSiteWindowless ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IOleInPlaceSiteWindowless > for :: windows :: IUnknown { fn from ( value : & IOleInPlaceSiteWindowless ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IOleInPlaceSiteWindowless { 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 IOleInPlaceSiteWindowless { 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 < IOleInPlaceSiteWindowless > for IOleInPlaceSiteEx { fn from ( value : IOleInPlaceSiteWindowless ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IOleInPlaceSiteWindowless > for IOleInPlaceSiteEx { fn from ( value : & IOleInPlaceSiteWindowless ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IOleInPlaceSiteEx > for IOleInPlaceSiteWindowless { fn into_param ( self ) -> :: windows :: Param < 'a , IOleInPlaceSiteEx > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IOleInPlaceSiteEx > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IOleInPlaceSiteEx > for & 'a IOleInPlaceSiteWindowless { fn into_param ( self ) -> :: windows :: Param < 'a , IOleInPlaceSiteEx > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IOleInPlaceSiteEx > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } impl :: std :: convert :: From < IOleInPlaceSiteWindowless > for IOleInPlaceSite { fn from ( value : IOleInPlaceSiteWindowless ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IOleInPlaceSiteWindowless > for IOleInPlaceSite { fn from ( value : & IOleInPlaceSiteWindowless ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IOleInPlaceSite > for IOleInPlaceSiteWindowless { fn into_param ( self ) -> :: windows :: Param < 'a , IOleInPlaceSite > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IOleInPlaceSite > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IOleInPlaceSite > for & 'a IOleInPlaceSiteWindowless { fn into_param ( self ) -> :: windows :: Param < 'a , IOleInPlaceSite > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IOleInPlaceSite > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } impl :: std :: convert :: From < IOleInPlaceSiteWindowless > for IOleWindow { fn from ( value : IOleInPlaceSiteWindowless ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IOleInPlaceSiteWindowless > for IOleWindow { fn from ( value : & IOleInPlaceSiteWindowless ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IOleWindow > for IOleInPlaceSiteWindowless { fn into_param ( self ) -> :: windows :: Param < 'a , IOleWindow > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IOleWindow > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IOleWindow > for & 'a IOleInPlaceSiteWindowless { fn into_param ( self ) -> :: windows :: Param < 'a , IOleWindow > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IOleWindow > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IOleInPlaceSiteWindowless_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 , phwnd : * mut super::super::Foundation:: HWND , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , fentermode : super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppframe : * mut :: windows :: RawPtr , ppdoc : * mut :: windows :: RawPtr , lprcposrect : * mut super::super::Foundation:: RECT , lprccliprect : * mut super::super::Foundation:: RECT , lpframeinfo : * mut OIFI , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , scrollextant : super::super::Foundation:: SIZE , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , fundoable : super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , lprcposrect : * mut super::super::Foundation:: RECT , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pfnoredraw : * mut super::super::Foundation:: BOOL , dwflags : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , fnoredraw : super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , fcapture : super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ffocus : super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , prect : * mut super::super::Foundation:: RECT , grfflags : u32 , phdc : * mut super::super::Graphics::Gdi:: HDC , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , hdc : super::super::Graphics::Gdi:: HDC , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , prect : * mut super::super::Foundation:: RECT , ferase : super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , hrgn : super::super::Graphics::Gdi:: HRGN , ferase : super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dx : i32 , dy : i32 , prectscroll : * mut super::super::Foundation:: RECT , prectclip : * mut super::super::Foundation:: RECT , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , prc : * mut super::super::Foundation:: RECT , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , msg : u32 , wparam : super::super::Foundation:: WPARAM , lparam : super::super::Foundation:: LPARAM , plresult : * mut super::super::Foundation:: LRESULT , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IOleInPlaceUIWindow ( :: windows :: IUnknown ) ; impl IOleInPlaceUIWindow { pub unsafe fn GetWindow < > ( & self , ) -> :: windows :: Result < super::super::Foundation:: HWND > { let mut result__ : < super::super::Foundation:: HWND as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < super::super::Foundation:: HWND > ( result__ ) } pub unsafe fn ContextSensitiveHelp < 'a , > ( & self , fentermode : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , fentermode . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn GetBorder < > ( & self , ) -> :: windows :: Result < super::super::Foundation:: RECT > { let mut result__ : < super::super::Foundation:: RECT as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < super::super::Foundation:: RECT > ( result__ ) } pub unsafe fn RequestBorderSpace < > ( & self , pborderwidths : * mut super::super::Foundation:: RECT , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pborderwidths ) , ) . ok ( ) } pub unsafe fn SetBorderSpace < > ( & self , pborderwidths : * mut super::super::Foundation:: RECT , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pborderwidths ) , ) . ok ( ) } pub unsafe fn SetActiveObject < 'a , > ( & self , pactiveobject : impl :: windows :: IntoParam < 'a , IOleInPlaceActiveObject > , pszobjname : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , pactiveobject . into_param ( ) . abi ( ) , pszobjname . into_param ( ) . abi ( ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IOleInPlaceUIWindow { type Vtable = IOleInPlaceUIWindow_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 277 ,0 ,0 , [ 192 ,0 ,0 ,0 ,0 ,0 ,0 ,70 ] , ) ; } impl :: std :: convert :: From < IOleInPlaceUIWindow > for :: windows :: IUnknown { fn from ( value : IOleInPlaceUIWindow ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IOleInPlaceUIWindow > for :: windows :: IUnknown { fn from ( value : & IOleInPlaceUIWindow ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IOleInPlaceUIWindow { 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 IOleInPlaceUIWindow { 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 < IOleInPlaceUIWindow > for IOleWindow { fn from ( value : IOleInPlaceUIWindow ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IOleInPlaceUIWindow > for IOleWindow { fn from ( value : & IOleInPlaceUIWindow ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IOleWindow > for IOleInPlaceUIWindow { fn into_param ( self ) -> :: windows :: Param < 'a , IOleWindow > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IOleWindow > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IOleWindow > for & 'a IOleInPlaceUIWindow { fn into_param ( self ) -> :: windows :: Param < 'a , IOleWindow > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IOleWindow > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IOleInPlaceUIWindow_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 , phwnd : * mut super::super::Foundation:: HWND , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , fentermode : super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , lprectborder : * mut super::super::Foundation:: RECT , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pborderwidths : * mut super::super::Foundation:: RECT , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pborderwidths : * mut super::super::Foundation:: RECT , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pactiveobject : :: windows :: RawPtr , pszobjname : super::super::Foundation:: PWSTR , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IOleItemContainer ( :: windows :: IUnknown ) ; impl IOleItemContainer { pub unsafe fn ParseDisplayName < 'a , > ( & self , pbc : impl :: windows :: IntoParam < 'a , IBindCtx > , pszdisplayname : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , pcheaten : * mut u32 , ppmkout : * mut :: std :: option :: Option < IMoniker > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , pbc . into_param ( ) . abi ( ) , pszdisplayname . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pcheaten ) , :: std :: mem :: transmute ( ppmkout ) , ) . ok ( ) } pub unsafe fn EnumObjects < > ( & self , grfflags : u32 , ) -> :: windows :: Result < IEnumUnknown > { let mut result__ : < IEnumUnknown as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( grfflags ) , & mut result__ ) . from_abi :: < IEnumUnknown > ( result__ ) } pub unsafe fn LockContainer < 'a , > ( & self , flock : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , flock . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn GetObject < 'a , T : :: windows :: Interface > ( & self , pszitem : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , dwspeedneeded : u32 , pbc : impl :: windows :: IntoParam < 'a , IBindCtx > , ) -> :: windows :: Result < T > { let mut result__ = :: std :: option :: Option :: None ; ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , pszitem . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwspeedneeded ) , pbc . into_param ( ) . abi ( ) , & < T as :: windows :: Interface > :: IID , :: windows :: Abi :: set_abi ( & mut result__ ) ) . and_some ( result__ ) } pub unsafe fn GetObjectStorage < 'a , T : :: windows :: Interface > ( & self , pszitem : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , pbc : impl :: windows :: IntoParam < 'a , IBindCtx > , ) -> :: windows :: Result < T > { let mut result__ = :: std :: option :: Option :: None ; ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , pszitem . into_param ( ) . abi ( ) , pbc . into_param ( ) . abi ( ) , & < T as :: windows :: Interface > :: IID , :: windows :: Abi :: set_abi ( & mut result__ ) ) . and_some ( result__ ) } pub unsafe fn IsRunning < 'a , > ( & self , pszitem : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , pszitem . into_param ( ) . abi ( ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IOleItemContainer { type Vtable = IOleItemContainer_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 284 ,0 ,0 , [ 192 ,0 ,0 ,0 ,0 ,0 ,0 ,70 ] , ) ; } impl :: std :: convert :: From < IOleItemContainer > for :: windows :: IUnknown { fn from ( value : IOleItemContainer ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IOleItemContainer > for :: windows :: IUnknown { fn from ( value : & IOleItemContainer ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IOleItemContainer { 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 IOleItemContainer { 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 < IOleItemContainer > for IOleContainer { fn from ( value : IOleItemContainer ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IOleItemContainer > for IOleContainer { fn from ( value : & IOleItemContainer ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IOleContainer > for IOleItemContainer { fn into_param ( self ) -> :: windows :: Param < 'a , IOleContainer > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IOleContainer > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IOleContainer > for & 'a IOleItemContainer { fn into_param ( self ) -> :: windows :: Param < 'a , IOleContainer > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IOleContainer > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } impl :: std :: convert :: From < IOleItemContainer > for IParseDisplayName { fn from ( value : IOleItemContainer ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IOleItemContainer > for IParseDisplayName { fn from ( value : & IOleItemContainer ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IParseDisplayName > for IOleItemContainer { fn into_param ( self ) -> :: windows :: Param < 'a , IParseDisplayName > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IParseDisplayName > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IParseDisplayName > for & 'a IOleItemContainer { fn into_param ( self ) -> :: windows :: Param < 'a , IParseDisplayName > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IParseDisplayName > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IOleItemContainer_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 , pbc : :: windows :: RawPtr , pszdisplayname : super::super::Foundation:: PWSTR , pcheaten : * mut u32 , ppmkout : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , grfflags : u32 , ppenum : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , flock : super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pszitem : super::super::Foundation:: PWSTR , dwspeedneeded : u32 , pbc : :: windows :: RawPtr , riid : * const :: windows :: Guid , ppvobject : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pszitem : super::super::Foundation:: PWSTR , pbc : :: windows :: RawPtr , riid : * const :: windows :: Guid , ppvstorage : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pszitem : super::super::Foundation:: PWSTR , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IOleLink ( :: windows :: IUnknown ) ; impl IOleLink { pub unsafe fn SetUpdateOptions < > ( & self , dwupdateopt : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwupdateopt ) , ) . ok ( ) } pub unsafe fn GetUpdateOptions < > ( & self , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn SetSourceMoniker < 'a , > ( & self , pmk : impl :: windows :: IntoParam < 'a , IMoniker > , rclsid : * const :: windows :: Guid , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , pmk . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( rclsid ) , ) . ok ( ) } pub unsafe fn GetSourceMoniker < > ( & self , ) -> :: windows :: Result < IMoniker > { let mut result__ : < IMoniker as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < IMoniker > ( result__ ) } pub unsafe fn SetSourceDisplayName < 'a , > ( & self , pszstatustext : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , pszstatustext . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn GetSourceDisplayName < > ( & self , ) -> :: windows :: Result < super::super::Foundation:: PWSTR > { let mut result__ : < super::super::Foundation:: PWSTR as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < super::super::Foundation:: PWSTR > ( result__ ) } pub unsafe fn BindToSource < 'a , > ( & self , bindflags : u32 , pbc : impl :: windows :: IntoParam < 'a , IBindCtx > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( bindflags ) , pbc . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn BindIfRunning < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn GetBoundSource < > ( & self , ) -> :: windows :: Result < :: windows :: IUnknown > { let mut result__ : < :: windows :: IUnknown as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .11 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < :: windows :: IUnknown > ( result__ ) } pub unsafe fn UnbindSource < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .12 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn Update < 'a , > ( & self , pbc : impl :: windows :: IntoParam < 'a , IBindCtx > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .13 ) ( :: windows :: Abi :: abi ( self ) , pbc . into_param ( ) . abi ( ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IOleLink { type Vtable = IOleLink_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 285 ,0 ,0 , [ 192 ,0 ,0 ,0 ,0 ,0 ,0 ,70 ] , ) ; } impl :: std :: convert :: From < IOleLink > for :: windows :: IUnknown { fn from ( value : IOleLink ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IOleLink > for :: windows :: IUnknown { fn from ( value : & IOleLink ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IOleLink { 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 IOleLink { 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 IOleLink_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 , dwupdateopt : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pdwupdateopt : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pmk : :: windows :: RawPtr , rclsid : * const :: windows :: Guid , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppmk : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pszstatustext : super::super::Foundation:: PWSTR , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppszdisplayname : * mut super::super::Foundation:: PWSTR , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , bindflags : u32 , pbc : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppunk : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pbc : :: windows :: RawPtr , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IOleObject ( :: windows :: IUnknown ) ; impl IOleObject { pub unsafe fn SetClientSite < 'a , > ( & self , pclientsite : impl :: windows :: IntoParam < 'a , IOleClientSite > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , pclientsite . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn GetClientSite < > ( & self , ) -> :: windows :: Result < IOleClientSite > { let mut result__ : < IOleClientSite as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < IOleClientSite > ( result__ ) } pub unsafe fn SetHostNames < 'a , > ( & self , szcontainerapp : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , szcontainerobj : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , szcontainerapp . into_param ( ) . abi ( ) , szcontainerobj . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn Close < > ( & self , dwsaveoption : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwsaveoption ) , ) . ok ( ) } pub unsafe fn SetMoniker < 'a , > ( & self , dwwhichmoniker : u32 , pmk : impl :: windows :: IntoParam < 'a , IMoniker > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwwhichmoniker ) , pmk . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn GetMoniker < > ( & self , dwassign : u32 , dwwhichmoniker : u32 , ) -> :: windows :: Result < IMoniker > { let mut result__ : < IMoniker as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwassign ) , :: std :: mem :: transmute ( dwwhichmoniker ) , & mut result__ ) . from_abi :: < IMoniker > ( result__ ) } pub unsafe fn InitFromData < 'a , > ( & self , pdataobject : impl :: windows :: IntoParam < 'a , IDataObject > , fcreation : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , dwreserved : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , pdataobject . into_param ( ) . abi ( ) , fcreation . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwreserved ) , ) . ok ( ) } pub unsafe fn GetClipboardData < > ( & self , dwreserved : u32 , ) -> :: windows :: Result < IDataObject > { let mut result__ : < IDataObject as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwreserved ) , & mut result__ ) . from_abi :: < IDataObject > ( result__ ) } pub unsafe fn DoVerb < 'a , > ( & self , iverb : i32 , lpmsg : * mut super::super::UI::WindowsAndMessaging:: MSG , pactivesite : impl :: windows :: IntoParam < 'a , IOleClientSite > , lindex : i32 , hwndparent : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HWND > , lprcposrect : * mut super::super::Foundation:: RECT , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .11 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( iverb ) , :: std :: mem :: transmute ( lpmsg ) , pactivesite . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lindex ) , hwndparent . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lprcposrect ) , ) . ok ( ) } pub unsafe fn EnumVerbs < > ( & self , ) -> :: windows :: Result < IEnumOLEVERB > { let mut result__ : < IEnumOLEVERB as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .12 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < IEnumOLEVERB > ( result__ ) } pub unsafe fn Update < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .13 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn IsUpToDate < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .14 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn GetUserClassID < > ( & self , ) -> :: windows :: Result < :: windows :: Guid > { let mut result__ : < :: windows :: Guid as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .15 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < :: windows :: Guid > ( result__ ) } pub unsafe fn GetUserType < > ( & self , dwformoftype : u32 , ) -> :: windows :: Result < super::super::Foundation:: PWSTR > { let mut result__ : < super::super::Foundation:: PWSTR as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .16 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwformoftype ) , & mut result__ ) . from_abi :: < super::super::Foundation:: PWSTR > ( result__ ) } pub unsafe fn SetExtent < > ( & self , dwdrawaspect : u32 , psizel : * mut super::super::Foundation:: SIZE , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .17 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwdrawaspect ) , :: std :: mem :: transmute ( psizel ) , ) . ok ( ) } pub unsafe fn GetExtent < > ( & self , dwdrawaspect : u32 , ) -> :: windows :: Result < super::super::Foundation:: SIZE > { let mut result__ : < super::super::Foundation:: SIZE as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .18 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwdrawaspect ) , & mut result__ ) . from_abi :: < super::super::Foundation:: SIZE > ( result__ ) } pub unsafe fn Advise < 'a , > ( & self , padvsink : impl :: windows :: IntoParam < 'a , IAdviseSink > , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .19 ) ( :: windows :: Abi :: abi ( self ) , padvsink . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn Unadvise < > ( & self , dwconnection : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .20 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwconnection ) , ) . ok ( ) } pub unsafe fn EnumAdvise < > ( & self , ) -> :: windows :: Result < IEnumSTATDATA > { let mut result__ : < IEnumSTATDATA as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .21 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < IEnumSTATDATA > ( result__ ) } pub unsafe fn GetMiscStatus < > ( & self , dwaspect : u32 , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .22 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwaspect ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn SetColorScheme < > ( & self , plogpal : * mut super::super::Graphics::Gdi:: LOGPALETTE , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .23 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( plogpal ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IOleObject { type Vtable = IOleObject_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 274 ,0 ,0 , [ 192 ,0 ,0 ,0 ,0 ,0 ,0 ,70 ] , ) ; } impl :: std :: convert :: From < IOleObject > for :: windows :: IUnknown { fn from ( value : IOleObject ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IOleObject > for :: windows :: IUnknown { fn from ( value : & IOleObject ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IOleObject { 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 IOleObject { 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 IOleObject_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 , pclientsite : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppclientsite : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , szcontainerapp : super::super::Foundation:: PWSTR , szcontainerobj : super::super::Foundation:: PWSTR , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwsaveoption : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwwhichmoniker : u32 , pmk : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwassign : u32 , dwwhichmoniker : u32 , ppmk : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pdataobject : :: windows :: RawPtr , fcreation : super::super::Foundation:: BOOL , dwreserved : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwreserved : u32 , ppdataobject : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iverb : i32 , lpmsg : * mut super::super::UI::WindowsAndMessaging:: MSG , pactivesite : :: windows :: RawPtr , lindex : i32 , hwndparent : super::super::Foundation:: HWND , lprcposrect : * mut super::super::Foundation:: RECT , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppenumoleverb : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pclsid : * mut :: windows :: Guid , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwformoftype : u32 , pszusertype : * mut super::super::Foundation:: PWSTR , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwdrawaspect : u32 , psizel : * mut super::super::Foundation:: SIZE , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwdrawaspect : u32 , psizel : * mut super::super::Foundation:: SIZE , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , padvsink : :: windows :: RawPtr , pdwconnection : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwconnection : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppenumadvise : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwaspect : u32 , pdwstatus : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , plogpal : * mut super::super::Graphics::Gdi:: LOGPALETTE , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IOleParentUndoUnit ( :: windows :: IUnknown ) ; impl IOleParentUndoUnit { pub unsafe fn Do < 'a , > ( & self , pundomanager : impl :: windows :: IntoParam < 'a , IOleUndoManager > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , pundomanager . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn GetDescription < > ( & self , ) -> :: windows :: Result < super::super::Foundation:: BSTR > { let mut result__ : < super::super::Foundation:: BSTR as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < super::super::Foundation:: BSTR > ( result__ ) } pub unsafe fn GetUnitType < > ( & self , pclsid : * mut :: windows :: Guid , plid : * mut i32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pclsid ) , :: std :: mem :: transmute ( plid ) , ) . ok ( ) } pub unsafe fn OnNextAdd < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn Open < 'a , > ( & self , ppuu : impl :: windows :: IntoParam < 'a , IOleParentUndoUnit > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , ppuu . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn Close < 'a , > ( & self , ppuu : impl :: windows :: IntoParam < 'a , IOleParentUndoUnit > , fcommit : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , ppuu . into_param ( ) . abi ( ) , fcommit . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn Add < 'a , > ( & self , puu : impl :: windows :: IntoParam < 'a , IOleUndoUnit > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , puu . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn FindUnit < 'a , > ( & self , puu : impl :: windows :: IntoParam < 'a , IOleUndoUnit > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , puu . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn GetParentState < > ( & self , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .11 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } } unsafe impl :: windows :: Interface for IOleParentUndoUnit { type Vtable = IOleParentUndoUnit_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2717578032 ,61335 ,4558 , [ 155 ,201 ,0 ,170 ,0 ,96 ,142 ,1 ] , ) ; } impl :: std :: convert :: From < IOleParentUndoUnit > for :: windows :: IUnknown { fn from ( value : IOleParentUndoUnit ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IOleParentUndoUnit > for :: windows :: IUnknown { fn from ( value : & IOleParentUndoUnit ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IOleParentUndoUnit { 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 IOleParentUndoUnit { 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 < IOleParentUndoUnit > for IOleUndoUnit { fn from ( value : IOleParentUndoUnit ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IOleParentUndoUnit > for IOleUndoUnit { fn from ( value : & IOleParentUndoUnit ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IOleUndoUnit > for IOleParentUndoUnit { fn into_param ( self ) -> :: windows :: Param < 'a , IOleUndoUnit > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IOleUndoUnit > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IOleUndoUnit > for & 'a IOleParentUndoUnit { fn into_param ( self ) -> :: windows :: Param < 'a , IOleUndoUnit > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IOleUndoUnit > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IOleParentUndoUnit_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 , pundomanager : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pbstr : * mut super::super::Foundation:: BSTR_abi , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pclsid : * mut :: windows :: Guid , plid : * mut i32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppuu : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppuu : :: windows :: RawPtr , fcommit : super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , puu : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , puu : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pdwstate : * mut u32 , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IOleUILinkContainerA ( :: windows :: IUnknown ) ; impl IOleUILinkContainerA { pub unsafe fn GetNextLink < > ( & self , dwlink : u32 , ) -> u32 { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwlink ) , ) } pub unsafe fn SetLinkUpdateOptions < > ( & self , dwlink : u32 , dwupdateopt : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwlink ) , :: std :: mem :: transmute ( dwupdateopt ) , ) . ok ( ) } pub unsafe fn GetLinkUpdateOptions < > ( & self , dwlink : u32 , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwlink ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn SetLinkSource < 'a , > ( & self , dwlink : u32 , lpszdisplayname : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , lenfilename : u32 , pcheaten : * mut u32 , fvalidatesource : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwlink ) , lpszdisplayname . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lenfilename ) , :: std :: mem :: transmute ( pcheaten ) , fvalidatesource . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn GetLinkSource < > ( & self , dwlink : u32 , lplpszdisplayname : * mut super::super::Foundation:: PSTR , lplenfilename : * mut u32 , lplpszfulllinktype : * mut super::super::Foundation:: PSTR , lplpszshortlinktype : * mut super::super::Foundation:: PSTR , lpfsourceavailable : * mut super::super::Foundation:: BOOL , lpfisselected : * mut super::super::Foundation:: BOOL , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwlink ) , :: std :: mem :: transmute ( lplpszdisplayname ) , :: std :: mem :: transmute ( lplenfilename ) , :: std :: mem :: transmute ( lplpszfulllinktype ) , :: std :: mem :: transmute ( lplpszshortlinktype ) , :: std :: mem :: transmute ( lpfsourceavailable ) , :: std :: mem :: transmute ( lpfisselected ) , ) . ok ( ) } pub unsafe fn OpenLinkSource < > ( & self , dwlink : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwlink ) , ) . ok ( ) } pub unsafe fn UpdateLink < 'a , > ( & self , dwlink : u32 , ferrormessage : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , freserved : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwlink ) , ferrormessage . into_param ( ) . abi ( ) , freserved . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn CancelLink < > ( & self , dwlink : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwlink ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IOleUILinkContainerA { type Vtable = IOleUILinkContainerA_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: zeroed ( ) ; } impl :: std :: convert :: From < IOleUILinkContainerA > for :: windows :: IUnknown { fn from ( value : IOleUILinkContainerA ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IOleUILinkContainerA > for :: windows :: IUnknown { fn from ( value : & IOleUILinkContainerA ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IOleUILinkContainerA { 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 IOleUILinkContainerA { 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 IOleUILinkContainerA_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 , dwlink : u32 , ) -> u32 , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwlink : u32 , dwupdateopt : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwlink : u32 , lpdwupdateopt : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwlink : u32 , lpszdisplayname : super::super::Foundation:: PSTR , lenfilename : u32 , pcheaten : * mut u32 , fvalidatesource : super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwlink : u32 , lplpszdisplayname : * mut super::super::Foundation:: PSTR , lplenfilename : * mut u32 , lplpszfulllinktype : * mut super::super::Foundation:: PSTR , lplpszshortlinktype : * mut super::super::Foundation:: PSTR , lpfsourceavailable : * mut super::super::Foundation:: BOOL , lpfisselected : * mut super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwlink : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwlink : u32 , ferrormessage : super::super::Foundation:: BOOL , freserved : super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwlink : u32 , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IOleUILinkContainerW ( :: windows :: IUnknown ) ; impl IOleUILinkContainerW { pub unsafe fn GetNextLink < > ( & self , dwlink : u32 , ) -> u32 { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwlink ) , ) } pub unsafe fn SetLinkUpdateOptions < > ( & self , dwlink : u32 , dwupdateopt : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwlink ) , :: std :: mem :: transmute ( dwupdateopt ) , ) . ok ( ) } pub unsafe fn GetLinkUpdateOptions < > ( & self , dwlink : u32 , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwlink ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn SetLinkSource < 'a , > ( & self , dwlink : u32 , lpszdisplayname : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , lenfilename : u32 , pcheaten : * mut u32 , fvalidatesource : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwlink ) , lpszdisplayname . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lenfilename ) , :: std :: mem :: transmute ( pcheaten ) , fvalidatesource . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn GetLinkSource < > ( & self , dwlink : u32 , lplpszdisplayname : * mut super::super::Foundation:: PWSTR , lplenfilename : * mut u32 , lplpszfulllinktype : * mut super::super::Foundation:: PWSTR , lplpszshortlinktype : * mut super::super::Foundation:: PWSTR , lpfsourceavailable : * mut super::super::Foundation:: BOOL , lpfisselected : * mut super::super::Foundation:: BOOL , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwlink ) , :: std :: mem :: transmute ( lplpszdisplayname ) , :: std :: mem :: transmute ( lplenfilename ) , :: std :: mem :: transmute ( lplpszfulllinktype ) , :: std :: mem :: transmute ( lplpszshortlinktype ) , :: std :: mem :: transmute ( lpfsourceavailable ) , :: std :: mem :: transmute ( lpfisselected ) , ) . ok ( ) } pub unsafe fn OpenLinkSource < > ( & self , dwlink : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwlink ) , ) . ok ( ) } pub unsafe fn UpdateLink < 'a , > ( & self , dwlink : u32 , ferrormessage : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , freserved : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwlink ) , ferrormessage . into_param ( ) . abi ( ) , freserved . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn CancelLink < > ( & self , dwlink : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwlink ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IOleUILinkContainerW { type Vtable = IOleUILinkContainerW_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: zeroed ( ) ; } impl :: std :: convert :: From < IOleUILinkContainerW > for :: windows :: IUnknown { fn from ( value : IOleUILinkContainerW ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IOleUILinkContainerW > for :: windows :: IUnknown { fn from ( value : & IOleUILinkContainerW ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IOleUILinkContainerW { 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 IOleUILinkContainerW { 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 IOleUILinkContainerW_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 , dwlink : u32 , ) -> u32 , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwlink : u32 , dwupdateopt : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwlink : u32 , lpdwupdateopt : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwlink : u32 , lpszdisplayname : super::super::Foundation:: PWSTR , lenfilename : u32 , pcheaten : * mut u32 , fvalidatesource : super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwlink : u32 , lplpszdisplayname : * mut super::super::Foundation:: PWSTR , lplenfilename : * mut u32 , lplpszfulllinktype : * mut super::super::Foundation:: PWSTR , lplpszshortlinktype : * mut super::super::Foundation:: PWSTR , lpfsourceavailable : * mut super::super::Foundation:: BOOL , lpfisselected : * mut super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwlink : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwlink : u32 , ferrormessage : super::super::Foundation:: BOOL , freserved : super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwlink : u32 , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IOleUILinkInfoA ( :: windows :: IUnknown ) ; impl IOleUILinkInfoA { pub unsafe fn GetNextLink < > ( & self , dwlink : u32 , ) -> u32 { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwlink ) , ) } pub unsafe fn SetLinkUpdateOptions < > ( & self , dwlink : u32 , dwupdateopt : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwlink ) , :: std :: mem :: transmute ( dwupdateopt ) , ) . ok ( ) } pub unsafe fn GetLinkUpdateOptions < > ( & self , dwlink : u32 , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwlink ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn SetLinkSource < 'a , > ( & self , dwlink : u32 , lpszdisplayname : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , lenfilename : u32 , pcheaten : * mut u32 , fvalidatesource : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwlink ) , lpszdisplayname . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lenfilename ) , :: std :: mem :: transmute ( pcheaten ) , fvalidatesource . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn GetLinkSource < > ( & self , dwlink : u32 , lplpszdisplayname : * mut super::super::Foundation:: PSTR , lplenfilename : * mut u32 , lplpszfulllinktype : * mut super::super::Foundation:: PSTR , lplpszshortlinktype : * mut super::super::Foundation:: PSTR , lpfsourceavailable : * mut super::super::Foundation:: BOOL , lpfisselected : * mut super::super::Foundation:: BOOL , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwlink ) , :: std :: mem :: transmute ( lplpszdisplayname ) , :: std :: mem :: transmute ( lplenfilename ) , :: std :: mem :: transmute ( lplpszfulllinktype ) , :: std :: mem :: transmute ( lplpszshortlinktype ) , :: std :: mem :: transmute ( lpfsourceavailable ) , :: std :: mem :: transmute ( lpfisselected ) , ) . ok ( ) } pub unsafe fn OpenLinkSource < > ( & self , dwlink : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwlink ) , ) . ok ( ) } pub unsafe fn UpdateLink < 'a , > ( & self , dwlink : u32 , ferrormessage : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , freserved : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwlink ) , ferrormessage . into_param ( ) . abi ( ) , freserved . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn CancelLink < > ( & self , dwlink : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwlink ) , ) . ok ( ) } pub unsafe fn GetLastUpdate < > ( & self , dwlink : u32 , ) -> :: windows :: Result < super::super::Foundation:: FILETIME > { let mut result__ : < super::super::Foundation:: FILETIME as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .11 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwlink ) , & mut result__ ) . from_abi :: < super::super::Foundation:: FILETIME > ( result__ ) } } unsafe impl :: windows :: Interface for IOleUILinkInfoA { type Vtable = IOleUILinkInfoA_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: zeroed ( ) ; } impl :: std :: convert :: From < IOleUILinkInfoA > for :: windows :: IUnknown { fn from ( value : IOleUILinkInfoA ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IOleUILinkInfoA > for :: windows :: IUnknown { fn from ( value : & IOleUILinkInfoA ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IOleUILinkInfoA { 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 IOleUILinkInfoA { 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 < IOleUILinkInfoA > for IOleUILinkContainerA { fn from ( value : IOleUILinkInfoA ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IOleUILinkInfoA > for IOleUILinkContainerA { fn from ( value : & IOleUILinkInfoA ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IOleUILinkContainerA > for IOleUILinkInfoA { fn into_param ( self ) -> :: windows :: Param < 'a , IOleUILinkContainerA > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IOleUILinkContainerA > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IOleUILinkContainerA > for & 'a IOleUILinkInfoA { fn into_param ( self ) -> :: windows :: Param < 'a , IOleUILinkContainerA > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IOleUILinkContainerA > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IOleUILinkInfoA_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 , dwlink : u32 , ) -> u32 , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwlink : u32 , dwupdateopt : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwlink : u32 , lpdwupdateopt : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwlink : u32 , lpszdisplayname : super::super::Foundation:: PSTR , lenfilename : u32 , pcheaten : * mut u32 , fvalidatesource : super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwlink : u32 , lplpszdisplayname : * mut super::super::Foundation:: PSTR , lplenfilename : * mut u32 , lplpszfulllinktype : * mut super::super::Foundation:: PSTR , lplpszshortlinktype : * mut super::super::Foundation:: PSTR , lpfsourceavailable : * mut super::super::Foundation:: BOOL , lpfisselected : * mut super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwlink : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwlink : u32 , ferrormessage : super::super::Foundation:: BOOL , freserved : super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwlink : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwlink : u32 , lplastupdate : * mut super::super::Foundation:: FILETIME , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IOleUILinkInfoW ( :: windows :: IUnknown ) ; impl IOleUILinkInfoW { pub unsafe fn GetNextLink < > ( & self , dwlink : u32 , ) -> u32 { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwlink ) , ) } pub unsafe fn SetLinkUpdateOptions < > ( & self , dwlink : u32 , dwupdateopt : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwlink ) , :: std :: mem :: transmute ( dwupdateopt ) , ) . ok ( ) } pub unsafe fn GetLinkUpdateOptions < > ( & self , dwlink : u32 , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwlink ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn SetLinkSource < 'a , > ( & self , dwlink : u32 , lpszdisplayname : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , lenfilename : u32 , pcheaten : * mut u32 , fvalidatesource : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwlink ) , lpszdisplayname . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lenfilename ) , :: std :: mem :: transmute ( pcheaten ) , fvalidatesource . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn GetLinkSource < > ( & self , dwlink : u32 , lplpszdisplayname : * mut super::super::Foundation:: PWSTR , lplenfilename : * mut u32 , lplpszfulllinktype : * mut super::super::Foundation:: PWSTR , lplpszshortlinktype : * mut super::super::Foundation:: PWSTR , lpfsourceavailable : * mut super::super::Foundation:: BOOL , lpfisselected : * mut super::super::Foundation:: BOOL , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwlink ) , :: std :: mem :: transmute ( lplpszdisplayname ) , :: std :: mem :: transmute ( lplenfilename ) , :: std :: mem :: transmute ( lplpszfulllinktype ) , :: std :: mem :: transmute ( lplpszshortlinktype ) , :: std :: mem :: transmute ( lpfsourceavailable ) , :: std :: mem :: transmute ( lpfisselected ) , ) . ok ( ) } pub unsafe fn OpenLinkSource < > ( & self , dwlink : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwlink ) , ) . ok ( ) } pub unsafe fn UpdateLink < 'a , > ( & self , dwlink : u32 , ferrormessage : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , freserved : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwlink ) , ferrormessage . into_param ( ) . abi ( ) , freserved . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn CancelLink < > ( & self , dwlink : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwlink ) , ) . ok ( ) } pub unsafe fn GetLastUpdate < > ( & self , dwlink : u32 , ) -> :: windows :: Result < super::super::Foundation:: FILETIME > { let mut result__ : < super::super::Foundation:: FILETIME as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .11 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwlink ) , & mut result__ ) . from_abi :: < super::super::Foundation:: FILETIME > ( result__ ) } } unsafe impl :: windows :: Interface for IOleUILinkInfoW { type Vtable = IOleUILinkInfoW_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: zeroed ( ) ; } impl :: std :: convert :: From < IOleUILinkInfoW > for :: windows :: IUnknown { fn from ( value : IOleUILinkInfoW ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IOleUILinkInfoW > for :: windows :: IUnknown { fn from ( value : & IOleUILinkInfoW ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IOleUILinkInfoW { 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 IOleUILinkInfoW { 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 < IOleUILinkInfoW > for IOleUILinkContainerW { fn from ( value : IOleUILinkInfoW ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IOleUILinkInfoW > for IOleUILinkContainerW { fn from ( value : & IOleUILinkInfoW ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IOleUILinkContainerW > for IOleUILinkInfoW { fn into_param ( self ) -> :: windows :: Param < 'a , IOleUILinkContainerW > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IOleUILinkContainerW > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IOleUILinkContainerW > for & 'a IOleUILinkInfoW { fn into_param ( self ) -> :: windows :: Param < 'a , IOleUILinkContainerW > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IOleUILinkContainerW > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IOleUILinkInfoW_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 , dwlink : u32 , ) -> u32 , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwlink : u32 , dwupdateopt : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwlink : u32 , lpdwupdateopt : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwlink : u32 , lpszdisplayname : super::super::Foundation:: PWSTR , lenfilename : u32 , pcheaten : * mut u32 , fvalidatesource : super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwlink : u32 , lplpszdisplayname : * mut super::super::Foundation:: PWSTR , lplenfilename : * mut u32 , lplpszfulllinktype : * mut super::super::Foundation:: PWSTR , lplpszshortlinktype : * mut super::super::Foundation:: PWSTR , lpfsourceavailable : * mut super::super::Foundation:: BOOL , lpfisselected : * mut super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwlink : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwlink : u32 , ferrormessage : super::super::Foundation:: BOOL , freserved : super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwlink : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwlink : u32 , lplastupdate : * mut super::super::Foundation:: FILETIME , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IOleUIObjInfoA ( :: windows :: IUnknown ) ; impl IOleUIObjInfoA { pub unsafe fn GetObjectInfo < > ( & self , dwobject : u32 , lpdwobjsize : * mut u32 , lplpszlabel : * mut super::super::Foundation:: PSTR , lplpsztype : * mut super::super::Foundation:: PSTR , lplpszshorttype : * mut super::super::Foundation:: PSTR , lplpszlocation : * mut super::super::Foundation:: PSTR , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwobject ) , :: std :: mem :: transmute ( lpdwobjsize ) , :: std :: mem :: transmute ( lplpszlabel ) , :: std :: mem :: transmute ( lplpsztype ) , :: std :: mem :: transmute ( lplpszshorttype ) , :: std :: mem :: transmute ( lplpszlocation ) , ) . ok ( ) } pub unsafe fn GetConvertInfo < > ( & self , dwobject : u32 , lpclassid : * mut :: windows :: Guid , lpwformat : * mut u16 , lpconvertdefaultclassid : * mut :: windows :: Guid , lplpclsidexclude : * mut * mut :: windows :: Guid , lpcclsidexclude : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwobject ) , :: std :: mem :: transmute ( lpclassid ) , :: std :: mem :: transmute ( lpwformat ) , :: std :: mem :: transmute ( lpconvertdefaultclassid ) , :: std :: mem :: transmute ( lplpclsidexclude ) , :: std :: mem :: transmute ( lpcclsidexclude ) , ) . ok ( ) } pub unsafe fn ConvertObject < > ( & self , dwobject : u32 , clsidnew : * const :: windows :: Guid , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwobject ) , :: std :: mem :: transmute ( clsidnew ) , ) . ok ( ) } pub unsafe fn GetViewInfo < > ( & self , dwobject : u32 , phmetapict : * mut isize , pdvaspect : * mut u32 , pncurrentscale : * mut i32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwobject ) , :: std :: mem :: transmute ( phmetapict ) , :: std :: mem :: transmute ( pdvaspect ) , :: std :: mem :: transmute ( pncurrentscale ) , ) . ok ( ) } pub unsafe fn SetViewInfo < 'a , > ( & self , dwobject : u32 , hmetapict : isize , dvaspect : u32 , ncurrentscale : i32 , brelativetoorig : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwobject ) , :: std :: mem :: transmute ( hmetapict ) , :: std :: mem :: transmute ( dvaspect ) , :: std :: mem :: transmute ( ncurrentscale ) , brelativetoorig . into_param ( ) . abi ( ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IOleUIObjInfoA { type Vtable = IOleUIObjInfoA_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: zeroed ( ) ; } impl :: std :: convert :: From < IOleUIObjInfoA > for :: windows :: IUnknown { fn from ( value : IOleUIObjInfoA ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IOleUIObjInfoA > for :: windows :: IUnknown { fn from ( value : & IOleUIObjInfoA ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IOleUIObjInfoA { 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 IOleUIObjInfoA { 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 IOleUIObjInfoA_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 , dwobject : u32 , lpdwobjsize : * mut u32 , lplpszlabel : * mut super::super::Foundation:: PSTR , lplpsztype : * mut super::super::Foundation:: PSTR , lplpszshorttype : * mut super::super::Foundation:: PSTR , lplpszlocation : * mut super::super::Foundation:: PSTR , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwobject : u32 , lpclassid : * mut :: windows :: Guid , lpwformat : * mut u16 , lpconvertdefaultclassid : * mut :: windows :: Guid , lplpclsidexclude : * mut * mut :: windows :: Guid , lpcclsidexclude : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwobject : u32 , clsidnew : * const :: windows :: Guid , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwobject : u32 , phmetapict : * mut isize , pdvaspect : * mut u32 , pncurrentscale : * mut i32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwobject : u32 , hmetapict : isize , dvaspect : u32 , ncurrentscale : i32 , brelativetoorig : super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IOleUIObjInfoW ( :: windows :: IUnknown ) ; impl IOleUIObjInfoW { pub unsafe fn GetObjectInfo < > ( & self , dwobject : u32 , lpdwobjsize : * mut u32 , lplpszlabel : * mut super::super::Foundation:: PWSTR , lplpsztype : * mut super::super::Foundation:: PWSTR , lplpszshorttype : * mut super::super::Foundation:: PWSTR , lplpszlocation : * mut super::super::Foundation:: PWSTR , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwobject ) , :: std :: mem :: transmute ( lpdwobjsize ) , :: std :: mem :: transmute ( lplpszlabel ) , :: std :: mem :: transmute ( lplpsztype ) , :: std :: mem :: transmute ( lplpszshorttype ) , :: std :: mem :: transmute ( lplpszlocation ) , ) . ok ( ) } pub unsafe fn GetConvertInfo < > ( & self , dwobject : u32 , lpclassid : * mut :: windows :: Guid , lpwformat : * mut u16 , lpconvertdefaultclassid : * mut :: windows :: Guid , lplpclsidexclude : * mut * mut :: windows :: Guid , lpcclsidexclude : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwobject ) , :: std :: mem :: transmute ( lpclassid ) , :: std :: mem :: transmute ( lpwformat ) , :: std :: mem :: transmute ( lpconvertdefaultclassid ) , :: std :: mem :: transmute ( lplpclsidexclude ) , :: std :: mem :: transmute ( lpcclsidexclude ) , ) . ok ( ) } pub unsafe fn ConvertObject < > ( & self , dwobject : u32 , clsidnew : * const :: windows :: Guid , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwobject ) , :: std :: mem :: transmute ( clsidnew ) , ) . ok ( ) } pub unsafe fn GetViewInfo < > ( & self , dwobject : u32 , phmetapict : * mut isize , pdvaspect : * mut u32 , pncurrentscale : * mut i32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwobject ) , :: std :: mem :: transmute ( phmetapict ) , :: std :: mem :: transmute ( pdvaspect ) , :: std :: mem :: transmute ( pncurrentscale ) , ) . ok ( ) } pub unsafe fn SetViewInfo < 'a , > ( & self , dwobject : u32 , hmetapict : isize , dvaspect : u32 , ncurrentscale : i32 , brelativetoorig : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwobject ) , :: std :: mem :: transmute ( hmetapict ) , :: std :: mem :: transmute ( dvaspect ) , :: std :: mem :: transmute ( ncurrentscale ) , brelativetoorig . into_param ( ) . abi ( ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IOleUIObjInfoW { type Vtable = IOleUIObjInfoW_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: zeroed ( ) ; } impl :: std :: convert :: From < IOleUIObjInfoW > for :: windows :: IUnknown { fn from ( value : IOleUIObjInfoW ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IOleUIObjInfoW > for :: windows :: IUnknown { fn from ( value : & IOleUIObjInfoW ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IOleUIObjInfoW { 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 IOleUIObjInfoW { 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 IOleUIObjInfoW_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 , dwobject : u32 , lpdwobjsize : * mut u32 , lplpszlabel : * mut super::super::Foundation:: PWSTR , lplpsztype : * mut super::super::Foundation:: PWSTR , lplpszshorttype : * mut super::super::Foundation:: PWSTR , lplpszlocation : * mut super::super::Foundation:: PWSTR , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwobject : u32 , lpclassid : * mut :: windows :: Guid , lpwformat : * mut u16 , lpconvertdefaultclassid : * mut :: windows :: Guid , lplpclsidexclude : * mut * mut :: windows :: Guid , lpcclsidexclude : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwobject : u32 , clsidnew : * const :: windows :: Guid , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwobject : u32 , phmetapict : * mut isize , pdvaspect : * mut u32 , pncurrentscale : * mut i32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwobject : u32 , hmetapict : isize , dvaspect : u32 , ncurrentscale : i32 , brelativetoorig : super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IOleUndoManager ( :: windows :: IUnknown ) ; impl IOleUndoManager { pub unsafe fn Open < 'a , > ( & self , ppuu : impl :: windows :: IntoParam < 'a , IOleParentUndoUnit > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , ppuu . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn Close < 'a , > ( & self , ppuu : impl :: windows :: IntoParam < 'a , IOleParentUndoUnit > , fcommit : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , ppuu . into_param ( ) . abi ( ) , fcommit . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn Add < 'a , > ( & self , puu : impl :: windows :: IntoParam < 'a , IOleUndoUnit > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , puu . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn GetOpenParentState < > ( & self , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn DiscardFrom < 'a , > ( & self , puu : impl :: windows :: IntoParam < 'a , IOleUndoUnit > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , puu . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn UndoTo < 'a , > ( & self , puu : impl :: windows :: IntoParam < 'a , IOleUndoUnit > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , puu . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn RedoTo < 'a , > ( & self , puu : impl :: windows :: IntoParam < 'a , IOleUndoUnit > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , puu . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn EnumUndoable < > ( & self , ) -> :: windows :: Result < IEnumOleUndoUnits > { let mut result__ : < IEnumOleUndoUnits as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < IEnumOleUndoUnits > ( result__ ) } pub unsafe fn EnumRedoable < > ( & self , ) -> :: windows :: Result < IEnumOleUndoUnits > { let mut result__ : < IEnumOleUndoUnits as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .11 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < IEnumOleUndoUnits > ( result__ ) } pub unsafe fn GetLastUndoDescription < > ( & self , ) -> :: windows :: Result < super::super::Foundation:: BSTR > { let mut result__ : < super::super::Foundation:: BSTR as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .12 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < super::super::Foundation:: BSTR > ( result__ ) } pub unsafe fn GetLastRedoDescription < > ( & self , ) -> :: windows :: Result < super::super::Foundation:: BSTR > { let mut result__ : < super::super::Foundation:: BSTR as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .13 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < super::super::Foundation:: BSTR > ( result__ ) } pub unsafe fn Enable < 'a , > ( & self , fenable : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .14 ) ( :: windows :: Abi :: abi ( self ) , fenable . into_param ( ) . abi ( ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IOleUndoManager { type Vtable = IOleUndoManager_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3489788416 ,61335 ,4558 , [ 155 ,201 ,0 ,170 ,0 ,96 ,142 ,1 ] , ) ; } impl :: std :: convert :: From < IOleUndoManager > for :: windows :: IUnknown { fn from ( value : IOleUndoManager ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IOleUndoManager > for :: windows :: IUnknown { fn from ( value : & IOleUndoManager ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IOleUndoManager { 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 IOleUndoManager { 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 IOleUndoManager_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 , ppuu : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppuu : :: windows :: RawPtr , fcommit : super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , puu : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pdwstate : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , puu : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , puu : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , puu : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppenum : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppenum : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pbstr : * mut super::super::Foundation:: BSTR_abi , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pbstr : * mut super::super::Foundation:: BSTR_abi , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , fenable : super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IOleUndoUnit ( :: windows :: IUnknown ) ; impl IOleUndoUnit { pub unsafe fn Do < 'a , > ( & self , pundomanager : impl :: windows :: IntoParam < 'a , IOleUndoManager > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , pundomanager . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn GetDescription < > ( & self , ) -> :: windows :: Result < super::super::Foundation:: BSTR > { let mut result__ : < super::super::Foundation:: BSTR as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < super::super::Foundation:: BSTR > ( result__ ) } pub unsafe fn GetUnitType < > ( & self , pclsid : * mut :: windows :: Guid , plid : * mut i32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pclsid ) , :: std :: mem :: transmute ( plid ) , ) . ok ( ) } pub unsafe fn OnNextAdd < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IOleUndoUnit { type Vtable = IOleUndoUnit_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2303382448 ,61335 ,4558 , [ 155 ,201 ,0 ,170 ,0 ,96 ,142 ,1 ] , ) ; } impl :: std :: convert :: From < IOleUndoUnit > for :: windows :: IUnknown { fn from ( value : IOleUndoUnit ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IOleUndoUnit > for :: windows :: IUnknown { fn from ( value : & IOleUndoUnit ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IOleUndoUnit { 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 IOleUndoUnit { 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 IOleUndoUnit_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 , pundomanager : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pbstr : * mut super::super::Foundation:: BSTR_abi , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pclsid : * mut :: windows :: Guid , plid : * mut i32 , ) -> :: 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 IOleWindow ( :: windows :: IUnknown ) ; impl IOleWindow { pub unsafe fn GetWindow < > ( & self , ) -> :: windows :: Result < super::super::Foundation:: HWND > { let mut result__ : < super::super::Foundation:: HWND as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < super::super::Foundation:: HWND > ( result__ ) } pub unsafe fn ContextSensitiveHelp < 'a , > ( & self , fentermode : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , fentermode . into_param ( ) . abi ( ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IOleWindow { type Vtable = IOleWindow_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 276 ,0 ,0 , [ 192 ,0 ,0 ,0 ,0 ,0 ,0 ,70 ] , ) ; } impl :: std :: convert :: From < IOleWindow > for :: windows :: IUnknown { fn from ( value : IOleWindow ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IOleWindow > for :: windows :: IUnknown { fn from ( value : & IOleWindow ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IOleWindow { 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 IOleWindow { 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 IOleWindow_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 , phwnd : * mut super::super::Foundation:: HWND , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , fentermode : super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IOplockStorage ( :: windows :: IUnknown ) ; impl IOplockStorage { pub unsafe fn CreateStorageEx < 'a , T : :: windows :: Interface > ( & self , pwcsname : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , grfmode : u32 , stgfmt : u32 , grfattrs : u32 , ) -> :: windows :: Result < T > { let mut result__ = :: std :: option :: Option :: None ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , pwcsname . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( grfmode ) , :: std :: mem :: transmute ( stgfmt ) , :: std :: mem :: transmute ( grfattrs ) , & < T as :: windows :: Interface > :: IID , :: windows :: Abi :: set_abi ( & mut result__ ) ) . and_some ( result__ ) } pub unsafe fn OpenStorageEx < 'a , T : :: windows :: Interface > ( & self , pwcsname : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , grfmode : u32 , stgfmt : u32 , grfattrs : u32 , ) -> :: windows :: Result < T > { let mut result__ = :: std :: option :: Option :: None ; ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , pwcsname . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( grfmode ) , :: std :: mem :: transmute ( stgfmt ) , :: std :: mem :: transmute ( grfattrs ) , & < T as :: windows :: Interface > :: IID , :: windows :: Abi :: set_abi ( & mut result__ ) ) . and_some ( result__ ) } } unsafe impl :: windows :: Interface for IOplockStorage { type Vtable = IOplockStorage_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2367277108 ,34937 ,4561 , [ 131 ,233 ,0 ,192 ,79 ,194 ,198 ,212 ] , ) ; } impl :: std :: convert :: From < IOplockStorage > for :: windows :: IUnknown { fn from ( value : IOplockStorage ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IOplockStorage > for :: windows :: IUnknown { fn from ( value : & IOplockStorage ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IOplockStorage { 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 IOplockStorage { 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 IOplockStorage_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 , pwcsname : super::super::Foundation:: PWSTR , grfmode : u32 , stgfmt : u32 , grfattrs : u32 , riid : * const :: windows :: Guid , ppstgopen : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pwcsname : super::super::Foundation:: PWSTR , grfmode : u32 , stgfmt : u32 , grfattrs : u32 , riid : * const :: windows :: Guid , ppstgopen : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IPSFactoryBuffer ( :: windows :: IUnknown ) ; impl IPSFactoryBuffer { pub unsafe fn CreateProxy < 'a , > ( & self , punkouter : impl :: windows :: IntoParam < 'a , :: windows :: IUnknown > , riid : * const :: windows :: Guid , ppproxy : * mut :: std :: option :: Option < IRpcProxyBuffer > , ppv : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , punkouter . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( riid ) , :: std :: mem :: transmute ( ppproxy ) , :: std :: mem :: transmute ( ppv ) , ) . ok ( ) } pub unsafe fn CreateStub < 'a , > ( & self , riid : * const :: windows :: Guid , punkserver : impl :: windows :: IntoParam < 'a , :: windows :: IUnknown > , ) -> :: windows :: Result < IRpcStubBuffer > { let mut result__ : < IRpcStubBuffer as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( riid ) , punkserver . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < IRpcStubBuffer > ( result__ ) } } unsafe impl :: windows :: Interface for IPSFactoryBuffer { type Vtable = IPSFactoryBuffer_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3589630416 ,22843 ,4122 , [ 181 ,105 ,8 ,0 ,43 ,45 ,191 ,122 ] , ) ; } impl :: std :: convert :: From < IPSFactoryBuffer > for :: windows :: IUnknown { fn from ( value : IPSFactoryBuffer ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IPSFactoryBuffer > for :: windows :: IUnknown { fn from ( value : & IPSFactoryBuffer ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IPSFactoryBuffer { 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 IPSFactoryBuffer { 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 IPSFactoryBuffer_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 , punkouter : :: windows :: RawPtr , riid : * const :: windows :: Guid , ppproxy : * mut :: windows :: RawPtr , ppv : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , riid : * const :: windows :: Guid , punkserver : :: windows :: RawPtr , ppstub : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IParseDisplayName ( :: windows :: IUnknown ) ; impl IParseDisplayName { pub unsafe fn ParseDisplayName < 'a , > ( & self , pbc : impl :: windows :: IntoParam < 'a , IBindCtx > , pszdisplayname : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , pcheaten : * mut u32 , ppmkout : * mut :: std :: option :: Option < IMoniker > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , pbc . into_param ( ) . abi ( ) , pszdisplayname . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pcheaten ) , :: std :: mem :: transmute ( ppmkout ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IParseDisplayName { type Vtable = IParseDisplayName_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 282 ,0 ,0 , [ 192 ,0 ,0 ,0 ,0 ,0 ,0 ,70 ] , ) ; } impl :: std :: convert :: From < IParseDisplayName > for :: windows :: IUnknown { fn from ( value : IParseDisplayName ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IParseDisplayName > for :: windows :: IUnknown { fn from ( value : & IParseDisplayName ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IParseDisplayName { 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 IParseDisplayName { 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 IParseDisplayName_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 , pbc : :: windows :: RawPtr , pszdisplayname : super::super::Foundation:: PWSTR , pcheaten : * mut u32 , ppmkout : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IPerPropertyBrowsing ( :: windows :: IUnknown ) ; impl IPerPropertyBrowsing { pub unsafe fn GetDisplayString < > ( & self , dispid : i32 , ) -> :: windows :: Result < super::super::Foundation:: BSTR > { let mut result__ : < super::super::Foundation:: BSTR as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dispid ) , & mut result__ ) . from_abi :: < super::super::Foundation:: BSTR > ( result__ ) } pub unsafe fn MapPropertyToPage < > ( & self , dispid : i32 , ) -> :: windows :: Result < :: windows :: Guid > { let mut result__ : < :: windows :: Guid as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dispid ) , & mut result__ ) . from_abi :: < :: windows :: Guid > ( result__ ) } pub unsafe fn GetPredefinedStrings < > ( & self , dispid : i32 , pcastringsout : * mut CALPOLESTR , pcacookiesout : * mut CADWORD , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dispid ) , :: std :: mem :: transmute ( pcastringsout ) , :: std :: mem :: transmute ( pcacookiesout ) , ) . ok ( ) } pub unsafe fn GetPredefinedValue < > ( & self , dispid : i32 , dwcookie : u32 , ) -> :: windows :: Result < super::OleAutomation:: VARIANT > { let mut result__ : < super::OleAutomation:: VARIANT as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dispid ) , :: std :: mem :: transmute ( dwcookie ) , & mut result__ ) . from_abi :: < super::OleAutomation:: VARIANT > ( result__ ) } } unsafe impl :: windows :: Interface for IPerPropertyBrowsing { type Vtable = IPerPropertyBrowsing_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 929813418 ,14405 ,4123 , [ 132 ,237 ,8 ,0 ,43 ,46 ,199 ,19 ] , ) ; } impl :: std :: convert :: From < IPerPropertyBrowsing > for :: windows :: IUnknown { fn from ( value : IPerPropertyBrowsing ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IPerPropertyBrowsing > for :: windows :: IUnknown { fn from ( value : & IPerPropertyBrowsing ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IPerPropertyBrowsing { 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 IPerPropertyBrowsing { 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 IPerPropertyBrowsing_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 , dispid : i32 , pbstr : * mut super::super::Foundation:: BSTR_abi , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dispid : i32 , pclsid : * mut :: windows :: Guid , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dispid : i32 , pcastringsout : * mut CALPOLESTR , pcacookiesout : * mut CADWORD , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dispid : i32 , dwcookie : u32 , pvarout : * mut super::OleAutomation:: VARIANT_abi , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IPersist ( :: windows :: IUnknown ) ; impl IPersist { pub unsafe fn GetClassID < > ( & self , ) -> :: windows :: Result < :: windows :: Guid > { let mut result__ : < :: windows :: Guid as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < :: windows :: Guid > ( result__ ) } } unsafe impl :: windows :: Interface for IPersist { type Vtable = IPersist_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 268 ,0 ,0 , [ 192 ,0 ,0 ,0 ,0 ,0 ,0 ,70 ] , ) ; } impl :: std :: convert :: From < IPersist > for :: windows :: IUnknown { fn from ( value : IPersist ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IPersist > for :: windows :: IUnknown { fn from ( value : & IPersist ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IPersist { 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 IPersist { 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 IPersist_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 , pclassid : * mut :: windows :: Guid , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IPersistFile ( :: windows :: IUnknown ) ; impl IPersistFile { pub unsafe fn GetClassID < > ( & self , ) -> :: windows :: Result < :: windows :: Guid > { let mut result__ : < :: windows :: Guid as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < :: windows :: Guid > ( result__ ) } pub unsafe fn IsDirty < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn Load < 'a , > ( & self , pszfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , dwmode : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , pszfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwmode ) , ) . ok ( ) } pub unsafe fn Save < 'a , > ( & self , pszfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , fremember : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , pszfilename . into_param ( ) . abi ( ) , fremember . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn SaveCompleted < 'a , > ( & self , pszfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , pszfilename . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn GetCurFile < > ( & self , ) -> :: windows :: Result < super::super::Foundation:: PWSTR > { let mut result__ : < super::super::Foundation:: PWSTR as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < super::super::Foundation:: PWSTR > ( result__ ) } } unsafe impl :: windows :: Interface for IPersistFile { type Vtable = IPersistFile_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 267 ,0 ,0 , [ 192 ,0 ,0 ,0 ,0 ,0 ,0 ,70 ] , ) ; } impl :: std :: convert :: From < IPersistFile > for :: windows :: IUnknown { fn from ( value : IPersistFile ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IPersistFile > for :: windows :: IUnknown { fn from ( value : & IPersistFile ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IPersistFile { 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 IPersistFile { 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 < IPersistFile > for IPersist { fn from ( value : IPersistFile ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IPersistFile > for IPersist { fn from ( value : & IPersistFile ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IPersist > for IPersistFile { fn into_param ( self ) -> :: windows :: Param < 'a , IPersist > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IPersist > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IPersist > for & 'a IPersistFile { fn into_param ( self ) -> :: windows :: Param < 'a , IPersist > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IPersist > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IPersistFile_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 , pclassid : * mut :: windows :: Guid , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pszfilename : super::super::Foundation:: PWSTR , dwmode : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pszfilename : super::super::Foundation:: PWSTR , fremember : super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pszfilename : super::super::Foundation:: PWSTR , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppszfilename : * mut super::super::Foundation:: PWSTR , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IPersistMemory ( :: windows :: IUnknown ) ; impl IPersistMemory { pub unsafe fn GetClassID < > ( & self , ) -> :: windows :: Result < :: windows :: Guid > { let mut result__ : < :: windows :: Guid as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < :: windows :: Guid > ( result__ ) } pub unsafe fn IsDirty < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn Load < > ( & self , pmem : * mut :: std :: ffi :: c_void , cbsize : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pmem ) , :: std :: mem :: transmute ( cbsize ) , ) . ok ( ) } pub unsafe fn Save < 'a , > ( & self , pmem : * mut :: std :: ffi :: c_void , fcleardirty : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , cbsize : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pmem ) , fcleardirty . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( cbsize ) , ) . ok ( ) } pub unsafe fn GetSizeMax < > ( & self , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn InitNew < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IPersistMemory { type Vtable = IPersistMemory_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3172656608 ,42670 ,4558 , [ 189 ,55 ,80 ,66 ,0 ,193 ,0 ,0 ] , ) ; } impl :: std :: convert :: From < IPersistMemory > for :: windows :: IUnknown { fn from ( value : IPersistMemory ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IPersistMemory > for :: windows :: IUnknown { fn from ( value : & IPersistMemory ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IPersistMemory { 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 IPersistMemory { 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 < IPersistMemory > for IPersist { fn from ( value : IPersistMemory ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IPersistMemory > for IPersist { fn from ( value : & IPersistMemory ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IPersist > for IPersistMemory { fn into_param ( self ) -> :: windows :: Param < 'a , IPersist > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IPersist > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IPersist > for & 'a IPersistMemory { fn into_param ( self ) -> :: windows :: Param < 'a , IPersist > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IPersist > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IPersistMemory_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 , pclassid : * mut :: windows :: Guid , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pmem : * mut :: std :: ffi :: c_void , cbsize : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pmem : * mut :: std :: ffi :: c_void , fcleardirty : super::super::Foundation:: BOOL , cbsize : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pcbsize : * mut u32 , ) -> :: 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 IPersistMoniker ( :: windows :: IUnknown ) ; impl IPersistMoniker { pub unsafe fn GetClassID < > ( & self , ) -> :: windows :: Result < :: windows :: Guid > { let mut result__ : < :: windows :: Guid as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < :: windows :: Guid > ( result__ ) } pub unsafe fn IsDirty < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn Load < 'a , > ( & self , ffullyavailable : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , pimkname : impl :: windows :: IntoParam < 'a , IMoniker > , pibc : impl :: windows :: IntoParam < 'a , IBindCtx > , grfmode : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , ffullyavailable . into_param ( ) . abi ( ) , pimkname . into_param ( ) . abi ( ) , pibc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( grfmode ) , ) . ok ( ) } pub unsafe fn Save < 'a , > ( & self , pimkname : impl :: windows :: IntoParam < 'a , IMoniker > , pbc : impl :: windows :: IntoParam < 'a , IBindCtx > , fremember : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , pimkname . into_param ( ) . abi ( ) , pbc . into_param ( ) . abi ( ) , fremember . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn SaveCompleted < 'a , > ( & self , pimkname : impl :: windows :: IntoParam < 'a , IMoniker > , pibc : impl :: windows :: IntoParam < 'a , IBindCtx > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , pimkname . into_param ( ) . abi ( ) , pibc . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn GetCurMoniker < > ( & self , ) -> :: windows :: Result < IMoniker > { let mut result__ : < IMoniker as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < IMoniker > ( result__ ) } } unsafe impl :: windows :: Interface for IPersistMoniker { type Vtable = IPersistMoniker_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2045430217 ,47865 ,4558 , [ 140 ,130 ,0 ,170 ,0 ,75 ,169 ,11 ] , ) ; } impl :: std :: convert :: From < IPersistMoniker > for :: windows :: IUnknown { fn from ( value : IPersistMoniker ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IPersistMoniker > for :: windows :: IUnknown { fn from ( value : & IPersistMoniker ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IPersistMoniker { 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 IPersistMoniker { 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 IPersistMoniker_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 , pclassid : * mut :: windows :: Guid , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ffullyavailable : super::super::Foundation:: BOOL , pimkname : :: windows :: RawPtr , pibc : :: windows :: RawPtr , grfmode : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pimkname : :: windows :: RawPtr , pbc : :: windows :: RawPtr , fremember : super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pimkname : :: windows :: RawPtr , pibc : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppimkname : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IPersistPropertyBag ( :: windows :: IUnknown ) ; impl IPersistPropertyBag { pub unsafe fn GetClassID < > ( & self , ) -> :: windows :: Result < :: windows :: Guid > { let mut result__ : < :: windows :: Guid as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < :: windows :: Guid > ( result__ ) } pub unsafe fn InitNew < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn Load < 'a , > ( & self , ppropbag : impl :: windows :: IntoParam < 'a , super::OleAutomation:: IPropertyBag > , perrorlog : impl :: windows :: IntoParam < 'a , super::OleAutomation:: IErrorLog > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , ppropbag . into_param ( ) . abi ( ) , perrorlog . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn Save < 'a , > ( & self , ppropbag : impl :: windows :: IntoParam < 'a , super::OleAutomation:: IPropertyBag > , fcleardirty : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , fsaveallproperties : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , ppropbag . into_param ( ) . abi ( ) , fcleardirty . into_param ( ) . abi ( ) , fsaveallproperties . into_param ( ) . abi ( ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IPersistPropertyBag { type Vtable = IPersistPropertyBag_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 936922976 ,17099 ,4558 , [ 129 ,53 ,0 ,170 ,0 ,75 ,184 ,81 ] , ) ; } impl :: std :: convert :: From < IPersistPropertyBag > for :: windows :: IUnknown { fn from ( value : IPersistPropertyBag ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IPersistPropertyBag > for :: windows :: IUnknown { fn from ( value : & IPersistPropertyBag ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IPersistPropertyBag { 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 IPersistPropertyBag { 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 < IPersistPropertyBag > for IPersist { fn from ( value : IPersistPropertyBag ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IPersistPropertyBag > for IPersist { fn from ( value : & IPersistPropertyBag ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IPersist > for IPersistPropertyBag { fn into_param ( self ) -> :: windows :: Param < 'a , IPersist > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IPersist > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IPersist > for & 'a IPersistPropertyBag { fn into_param ( self ) -> :: windows :: Param < 'a , IPersist > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IPersist > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IPersistPropertyBag_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 , pclassid : * mut :: windows :: Guid , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppropbag : :: windows :: RawPtr , perrorlog : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppropbag : :: windows :: RawPtr , fcleardirty : super::super::Foundation:: BOOL , fsaveallproperties : super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IPersistPropertyBag2 ( :: windows :: IUnknown ) ; impl IPersistPropertyBag2 { pub unsafe fn GetClassID < > ( & self , ) -> :: windows :: Result < :: windows :: Guid > { let mut result__ : < :: windows :: Guid as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < :: windows :: Guid > ( result__ ) } pub unsafe fn InitNew < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn Load < 'a , > ( & self , ppropbag : impl :: windows :: IntoParam < 'a , IPropertyBag2 > , perrlog : impl :: windows :: IntoParam < 'a , super::OleAutomation:: IErrorLog > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , ppropbag . into_param ( ) . abi ( ) , perrlog . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn Save < 'a , > ( & self , ppropbag : impl :: windows :: IntoParam < 'a , IPropertyBag2 > , fcleardirty : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , fsaveallproperties : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , ppropbag . into_param ( ) . abi ( ) , fcleardirty . into_param ( ) . abi ( ) , fsaveallproperties . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn IsDirty < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IPersistPropertyBag2 { type Vtable = IPersistPropertyBag2_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 586504321 ,10251 ,4560 , [ 168 ,169 ,0 ,160 ,201 ,12 ,32 ,4 ] , ) ; } impl :: std :: convert :: From < IPersistPropertyBag2 > for :: windows :: IUnknown { fn from ( value : IPersistPropertyBag2 ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IPersistPropertyBag2 > for :: windows :: IUnknown { fn from ( value : & IPersistPropertyBag2 ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IPersistPropertyBag2 { 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 IPersistPropertyBag2 { 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 < IPersistPropertyBag2 > for IPersist { fn from ( value : IPersistPropertyBag2 ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IPersistPropertyBag2 > for IPersist { fn from ( value : & IPersistPropertyBag2 ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IPersist > for IPersistPropertyBag2 { fn into_param ( self ) -> :: windows :: Param < 'a , IPersist > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IPersist > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IPersist > for & 'a IPersistPropertyBag2 { fn into_param ( self ) -> :: windows :: Param < 'a , IPersist > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IPersist > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IPersistPropertyBag2_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 , pclassid : * mut :: windows :: Guid , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppropbag : :: windows :: RawPtr , perrlog : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppropbag : :: windows :: RawPtr , fcleardirty : super::super::Foundation:: BOOL , fsaveallproperties : super::super::Foundation:: BOOL , ) -> :: 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 IPersistStorage ( :: windows :: IUnknown ) ; impl IPersistStorage { pub unsafe fn GetClassID < > ( & self , ) -> :: windows :: Result < :: windows :: Guid > { let mut result__ : < :: windows :: Guid as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < :: windows :: Guid > ( result__ ) } pub unsafe fn IsDirty < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn InitNew < 'a , > ( & self , pstg : impl :: windows :: IntoParam < 'a , super::super::Storage::StructuredStorage:: IStorage > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , pstg . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn Load < 'a , > ( & self , pstg : impl :: windows :: IntoParam < 'a , super::super::Storage::StructuredStorage:: IStorage > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , pstg . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn Save < 'a , > ( & self , pstgsave : impl :: windows :: IntoParam < 'a , super::super::Storage::StructuredStorage:: IStorage > , fsameasload : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , pstgsave . into_param ( ) . abi ( ) , fsameasload . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn SaveCompleted < 'a , > ( & self , pstgnew : impl :: windows :: IntoParam < 'a , super::super::Storage::StructuredStorage:: IStorage > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , pstgnew . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn HandsOffStorage < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IPersistStorage { type Vtable = IPersistStorage_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 266 ,0 ,0 , [ 192 ,0 ,0 ,0 ,0 ,0 ,0 ,70 ] , ) ; } impl :: std :: convert :: From < IPersistStorage > for :: windows :: IUnknown { fn from ( value : IPersistStorage ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IPersistStorage > for :: windows :: IUnknown { fn from ( value : & IPersistStorage ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IPersistStorage { 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 IPersistStorage { 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 < IPersistStorage > for IPersist { fn from ( value : IPersistStorage ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IPersistStorage > for IPersist { fn from ( value : & IPersistStorage ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IPersist > for IPersistStorage { fn into_param ( self ) -> :: windows :: Param < 'a , IPersist > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IPersist > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IPersist > for & 'a IPersistStorage { fn into_param ( self ) -> :: windows :: Param < 'a , IPersist > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IPersist > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IPersistStorage_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 , pclassid : * mut :: windows :: Guid , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pstg : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pstg : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pstgsave : :: windows :: RawPtr , fsameasload : super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pstgnew : :: 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 IPersistStream ( :: windows :: IUnknown ) ; impl IPersistStream { pub unsafe fn GetClassID < > ( & self , ) -> :: windows :: Result < :: windows :: Guid > { let mut result__ : < :: windows :: Guid as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < :: windows :: Guid > ( result__ ) } pub unsafe fn IsDirty < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn Load < 'a , > ( & self , pstm : impl :: windows :: IntoParam < 'a , super::super::Storage::StructuredStorage:: IStream > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , pstm . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn Save < 'a , > ( & self , pstm : impl :: windows :: IntoParam < 'a , super::super::Storage::StructuredStorage:: IStream > , fcleardirty : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , pstm . into_param ( ) . abi ( ) , fcleardirty . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn GetSizeMax < > ( & self , ) -> :: windows :: Result < u64 > { let mut result__ : < u64 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < u64 > ( result__ ) } } unsafe impl :: windows :: Interface for IPersistStream { type Vtable = IPersistStream_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 265 ,0 ,0 , [ 192 ,0 ,0 ,0 ,0 ,0 ,0 ,70 ] , ) ; } impl :: std :: convert :: From < IPersistStream > for :: windows :: IUnknown { fn from ( value : IPersistStream ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IPersistStream > for :: windows :: IUnknown { fn from ( value : & IPersistStream ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IPersistStream { 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 IPersistStream { 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 < IPersistStream > for IPersist { fn from ( value : IPersistStream ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IPersistStream > for IPersist { fn from ( value : & IPersistStream ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IPersist > for IPersistStream { fn into_param ( self ) -> :: windows :: Param < 'a , IPersist > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IPersist > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IPersist > for & 'a IPersistStream { fn into_param ( self ) -> :: windows :: Param < 'a , IPersist > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IPersist > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IPersistStream_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 , pclassid : * mut :: windows :: Guid , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pstm : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pstm : :: windows :: RawPtr , fcleardirty : super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pcbsize : * mut u64 , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IPersistStreamInit ( :: windows :: IUnknown ) ; impl IPersistStreamInit { pub unsafe fn GetClassID < > ( & self , ) -> :: windows :: Result < :: windows :: Guid > { let mut result__ : < :: windows :: Guid as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < :: windows :: Guid > ( result__ ) } pub unsafe fn IsDirty < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn Load < 'a , > ( & self , pstm : impl :: windows :: IntoParam < 'a , super::super::Storage::StructuredStorage:: IStream > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , pstm . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn Save < 'a , > ( & self , pstm : impl :: windows :: IntoParam < 'a , super::super::Storage::StructuredStorage:: IStream > , fcleardirty : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , pstm . into_param ( ) . abi ( ) , fcleardirty . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn GetSizeMax < > ( & self , ) -> :: windows :: Result < u64 > { let mut result__ : < u64 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < u64 > ( result__ ) } pub unsafe fn InitNew < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IPersistStreamInit { type Vtable = IPersistStreamInit_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2144674688 ,19975 ,4123 , [ 174 ,45 ,8 ,0 ,43 ,46 ,199 ,19 ] , ) ; } impl :: std :: convert :: From < IPersistStreamInit > for :: windows :: IUnknown { fn from ( value : IPersistStreamInit ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IPersistStreamInit > for :: windows :: IUnknown { fn from ( value : & IPersistStreamInit ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IPersistStreamInit { 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 IPersistStreamInit { 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 < IPersistStreamInit > for IPersist { fn from ( value : IPersistStreamInit ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IPersistStreamInit > for IPersist { fn from ( value : & IPersistStreamInit ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IPersist > for IPersistStreamInit { fn into_param ( self ) -> :: windows :: Param < 'a , IPersist > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IPersist > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IPersist > for & 'a IPersistStreamInit { fn into_param ( self ) -> :: windows :: Param < 'a , IPersist > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IPersist > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IPersistStreamInit_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 , pclassid : * mut :: windows :: Guid , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pstm : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pstm : :: windows :: RawPtr , fcleardirty : super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pcbsize : * mut u64 , ) -> :: 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 IPicture ( :: windows :: IUnknown ) ; impl IPicture { pub unsafe fn get_Handle < > ( & self , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn get_hPal < > ( & self , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn get_Type < > ( & self , ) -> :: windows :: Result < i16 > { let mut result__ : < i16 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < i16 > ( result__ ) } pub unsafe fn get_Width < > ( & self , ) -> :: windows :: Result < i32 > { let mut result__ : < i32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < i32 > ( result__ ) } pub unsafe fn get_Height < > ( & self , ) -> :: windows :: Result < i32 > { let mut result__ : < i32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < i32 > ( result__ ) } pub unsafe fn Render < 'a , > ( & self , hdc : impl :: windows :: IntoParam < 'a , super::super::Graphics::Gdi:: HDC > , x : i32 , y : i32 , cx : i32 , cy : i32 , xsrc : i32 , ysrc : i32 , cxsrc : i32 , cysrc : i32 , prcwbounds : * mut super::super::Foundation:: RECT , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( x ) , :: std :: mem :: transmute ( y ) , :: std :: mem :: transmute ( cx ) , :: std :: mem :: transmute ( cy ) , :: std :: mem :: transmute ( xsrc ) , :: std :: mem :: transmute ( ysrc ) , :: std :: mem :: transmute ( cxsrc ) , :: std :: mem :: transmute ( cysrc ) , :: std :: mem :: transmute ( prcwbounds ) , ) . ok ( ) } pub unsafe fn set_hPal < > ( & self , hpal : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( hpal ) , ) . ok ( ) } pub unsafe fn get_CurDC < > ( & self , ) -> :: windows :: Result < super::super::Graphics::Gdi:: HDC > { let mut result__ : < super::super::Graphics::Gdi:: HDC as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < super::super::Graphics::Gdi:: HDC > ( result__ ) } pub unsafe fn SelectPicture < 'a , > ( & self , hdcin : impl :: windows :: IntoParam < 'a , super::super::Graphics::Gdi:: HDC > , phdcout : * mut super::super::Graphics::Gdi:: HDC , phbmpout : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .11 ) ( :: windows :: Abi :: abi ( self ) , hdcin . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( phdcout ) , :: std :: mem :: transmute ( phbmpout ) , ) . ok ( ) } pub unsafe fn get_KeepOriginalFormat < > ( & self , ) -> :: windows :: Result < super::super::Foundation:: BOOL > { let mut result__ : < super::super::Foundation:: BOOL as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .12 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < super::super::Foundation:: BOOL > ( result__ ) } pub unsafe fn put_KeepOriginalFormat < 'a , > ( & self , keep : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .13 ) ( :: windows :: Abi :: abi ( self ) , keep . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn PictureChanged < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .14 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn SaveAsFile < 'a , > ( & self , pstream : impl :: windows :: IntoParam < 'a , super::super::Storage::StructuredStorage:: IStream > , fsavememcopy : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> :: windows :: Result < i32 > { let mut result__ : < i32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .15 ) ( :: windows :: Abi :: abi ( self ) , pstream . into_param ( ) . abi ( ) , fsavememcopy . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < i32 > ( result__ ) } pub unsafe fn get_Attributes < > ( & self , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .16 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } } unsafe impl :: windows :: Interface for IPicture { type Vtable = IPicture_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2079852928 ,48946 ,4122 , [ 139 ,187 ,0 ,170 ,0 ,48 ,12 ,171 ] , ) ; } impl :: std :: convert :: From < IPicture > for :: windows :: IUnknown { fn from ( value : IPicture ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IPicture > for :: windows :: IUnknown { fn from ( value : & IPicture ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IPicture { 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 IPicture { 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 IPicture_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 , phandle : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , phpal : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ptype : * mut i16 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pwidth : * mut i32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pheight : * mut i32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , hdc : super::super::Graphics::Gdi:: HDC , x : i32 , y : i32 , cx : i32 , cy : i32 , xsrc : i32 , ysrc : i32 , cxsrc : i32 , cysrc : i32 , prcwbounds : * mut super::super::Foundation:: RECT , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , hpal : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , phdc : * mut super::super::Graphics::Gdi:: HDC , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , hdcin : super::super::Graphics::Gdi:: HDC , phdcout : * mut super::super::Graphics::Gdi:: HDC , phbmpout : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pkeep : * mut super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , keep : super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pstream : :: windows :: RawPtr , fsavememcopy : super::super::Foundation:: BOOL , pcbsize : * mut i32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pdwattr : * mut u32 , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IPicture2 ( :: windows :: IUnknown ) ; impl IPicture2 { pub unsafe fn get_Handle < > ( & self , ) -> :: windows :: Result < usize > { let mut result__ : < usize as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < usize > ( result__ ) } pub unsafe fn get_hPal < > ( & self , ) -> :: windows :: Result < usize > { let mut result__ : < usize as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < usize > ( result__ ) } pub unsafe fn get_Type < > ( & self , ) -> :: windows :: Result < i16 > { let mut result__ : < i16 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < i16 > ( result__ ) } pub unsafe fn get_Width < > ( & self , ) -> :: windows :: Result < i32 > { let mut result__ : < i32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < i32 > ( result__ ) } pub unsafe fn get_Height < > ( & self , ) -> :: windows :: Result < i32 > { let mut result__ : < i32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < i32 > ( result__ ) } pub unsafe fn Render < 'a , > ( & self , hdc : impl :: windows :: IntoParam < 'a , super::super::Graphics::Gdi:: HDC > , x : i32 , y : i32 , cx : i32 , cy : i32 , xsrc : i32 , ysrc : i32 , cxsrc : i32 , cysrc : i32 , prcwbounds : * mut super::super::Foundation:: RECT , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , hdc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( x ) , :: std :: mem :: transmute ( y ) , :: std :: mem :: transmute ( cx ) , :: std :: mem :: transmute ( cy ) , :: std :: mem :: transmute ( xsrc ) , :: std :: mem :: transmute ( ysrc ) , :: std :: mem :: transmute ( cxsrc ) , :: std :: mem :: transmute ( cysrc ) , :: std :: mem :: transmute ( prcwbounds ) , ) . ok ( ) } pub unsafe fn set_hPal < > ( & self , hpal : usize , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( hpal ) , ) . ok ( ) } pub unsafe fn get_CurDC < > ( & self , ) -> :: windows :: Result < super::super::Graphics::Gdi:: HDC > { let mut result__ : < super::super::Graphics::Gdi:: HDC as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < super::super::Graphics::Gdi:: HDC > ( result__ ) } pub unsafe fn SelectPicture < 'a , > ( & self , hdcin : impl :: windows :: IntoParam < 'a , super::super::Graphics::Gdi:: HDC > , phdcout : * mut super::super::Graphics::Gdi:: HDC , phbmpout : * mut usize , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .11 ) ( :: windows :: Abi :: abi ( self ) , hdcin . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( phdcout ) , :: std :: mem :: transmute ( phbmpout ) , ) . ok ( ) } pub unsafe fn get_KeepOriginalFormat < > ( & self , ) -> :: windows :: Result < super::super::Foundation:: BOOL > { let mut result__ : < super::super::Foundation:: BOOL as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .12 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < super::super::Foundation:: BOOL > ( result__ ) } pub unsafe fn put_KeepOriginalFormat < 'a , > ( & self , keep : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .13 ) ( :: windows :: Abi :: abi ( self ) , keep . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn PictureChanged < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .14 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn SaveAsFile < 'a , > ( & self , pstream : impl :: windows :: IntoParam < 'a , super::super::Storage::StructuredStorage:: IStream > , fsavememcopy : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> :: windows :: Result < i32 > { let mut result__ : < i32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .15 ) ( :: windows :: Abi :: abi ( self ) , pstream . into_param ( ) . abi ( ) , fsavememcopy . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < i32 > ( result__ ) } pub unsafe fn get_Attributes < > ( & self , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .16 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } } unsafe impl :: windows :: Interface for IPicture2 { type Vtable = IPicture2_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 4112014808 ,8210 ,19211 , [ 170 ,217 ,240 ,82 ,198 ,189 ,72 ,43 ] , ) ; } impl :: std :: convert :: From < IPicture2 > for :: windows :: IUnknown { fn from ( value : IPicture2 ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IPicture2 > for :: windows :: IUnknown { fn from ( value : & IPicture2 ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IPicture2 { 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 IPicture2 { 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 IPicture2_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 , phandle : * mut usize , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , phpal : * mut usize , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ptype : * mut i16 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pwidth : * mut i32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pheight : * mut i32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , hdc : super::super::Graphics::Gdi:: HDC , x : i32 , y : i32 , cx : i32 , cy : i32 , xsrc : i32 , ysrc : i32 , cxsrc : i32 , cysrc : i32 , prcwbounds : * mut super::super::Foundation:: RECT , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , hpal : usize , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , phdc : * mut super::super::Graphics::Gdi:: HDC , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , hdcin : super::super::Graphics::Gdi:: HDC , phdcout : * mut super::super::Graphics::Gdi:: HDC , phbmpout : * mut usize , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pkeep : * mut super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , keep : super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pstream : :: windows :: RawPtr , fsavememcopy : super::super::Foundation:: BOOL , pcbsize : * mut i32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pdwattr : * mut u32 , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IPictureDisp ( :: windows :: IUnknown ) ; impl IPictureDisp { pub unsafe fn GetTypeInfoCount < > ( & self , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn GetTypeInfo < > ( & self , itinfo : u32 , lcid : u32 , ) -> :: windows :: Result < super::OleAutomation:: ITypeInfo > { let mut result__ : < super::OleAutomation:: ITypeInfo as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( itinfo ) , :: std :: mem :: transmute ( lcid ) , & mut result__ ) . from_abi :: < super::OleAutomation:: ITypeInfo > ( result__ ) } pub unsafe fn GetIDsOfNames < > ( & self , riid : * const :: windows :: Guid , rgsznames : * mut super::super::Foundation:: PWSTR , cnames : u32 , lcid : u32 , rgdispid : * mut i32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( riid ) , :: std :: mem :: transmute ( rgsznames ) , :: std :: mem :: transmute ( cnames ) , :: std :: mem :: transmute ( lcid ) , :: std :: mem :: transmute ( rgdispid ) , ) . ok ( ) } pub unsafe fn Invoke < > ( & self , dispidmember : i32 , riid : * const :: windows :: Guid , lcid : u32 , wflags : u16 , pdispparams : * mut super::OleAutomation:: DISPPARAMS , pvarresult : * mut super::OleAutomation:: VARIANT , pexcepinfo : * mut super::OleAutomation:: EXCEPINFO , puargerr : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dispidmember ) , :: std :: mem :: transmute ( riid ) , :: std :: mem :: transmute ( lcid ) , :: std :: mem :: transmute ( wflags ) , :: std :: mem :: transmute ( pdispparams ) , :: std :: mem :: transmute ( pvarresult ) , :: std :: mem :: transmute ( pexcepinfo ) , :: std :: mem :: transmute ( puargerr ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IPictureDisp { type Vtable = IPictureDisp_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2079852929 ,48946 ,4122 , [ 139 ,187 ,0 ,170 ,0 ,48 ,12 ,171 ] , ) ; } impl :: std :: convert :: From < IPictureDisp > for :: windows :: IUnknown { fn from ( value : IPictureDisp ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IPictureDisp > for :: windows :: IUnknown { fn from ( value : & IPictureDisp ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IPictureDisp { 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 IPictureDisp { 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 < IPictureDisp > for super::OleAutomation:: IDispatch { fn from ( value : IPictureDisp ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IPictureDisp > for super::OleAutomation:: IDispatch { fn from ( value : & IPictureDisp ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , super::OleAutomation:: IDispatch > for IPictureDisp { fn into_param ( self ) -> :: windows :: Param < 'a , super::OleAutomation:: IDispatch > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < super::OleAutomation:: IDispatch > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , super::OleAutomation:: IDispatch > for & 'a IPictureDisp { fn into_param ( self ) -> :: windows :: Param < 'a , super::OleAutomation:: IDispatch > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < super::OleAutomation:: IDispatch > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IPictureDisp_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 , pctinfo : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , itinfo : u32 , lcid : u32 , pptinfo : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , riid : * const :: windows :: Guid , rgsznames : * mut super::super::Foundation:: PWSTR , cnames : u32 , lcid : u32 , rgdispid : * mut i32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dispidmember : i32 , riid : * const :: windows :: Guid , lcid : u32 , wflags : u16 , pdispparams : * mut super::OleAutomation:: DISPPARAMS , pvarresult : * mut super::OleAutomation:: VARIANT_abi , pexcepinfo : * mut super::OleAutomation:: EXCEPINFO_abi , puargerr : * mut u32 , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IPipeByte ( :: windows :: IUnknown ) ; impl IPipeByte { pub unsafe fn Pull < > ( & self , buf : * mut u8 , crequest : u32 , pcreturned : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( buf ) , :: std :: mem :: transmute ( crequest ) , :: std :: mem :: transmute ( pcreturned ) , ) . ok ( ) } pub unsafe fn Push < > ( & self , buf : * mut u8 , csent : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( buf ) , :: std :: mem :: transmute ( csent ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IPipeByte { type Vtable = IPipeByte_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3677305546 ,12166 ,4561 , [ 142 ,4 ,0 ,192 ,79 ,185 ,152 ,154 ] , ) ; } impl :: std :: convert :: From < IPipeByte > for :: windows :: IUnknown { fn from ( value : IPipeByte ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IPipeByte > for :: windows :: IUnknown { fn from ( value : & IPipeByte ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IPipeByte { 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 IPipeByte { 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 IPipeByte_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 , buf : * mut u8 , crequest : u32 , pcreturned : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , buf : * mut u8 , csent : u32 , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IPipeDouble ( :: windows :: IUnknown ) ; impl IPipeDouble { pub unsafe fn Pull < > ( & self , buf : * mut f64 , crequest : u32 , pcreturned : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( buf ) , :: std :: mem :: transmute ( crequest ) , :: std :: mem :: transmute ( pcreturned ) , ) . ok ( ) } pub unsafe fn Push < > ( & self , buf : * mut f64 , csent : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( buf ) , :: std :: mem :: transmute ( csent ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IPipeDouble { type Vtable = IPipeDouble_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3677305550 ,12166 ,4561 , [ 142 ,4 ,0 ,192 ,79 ,185 ,152 ,154 ] , ) ; } impl :: std :: convert :: From < IPipeDouble > for :: windows :: IUnknown { fn from ( value : IPipeDouble ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IPipeDouble > for :: windows :: IUnknown { fn from ( value : & IPipeDouble ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IPipeDouble { 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 IPipeDouble { 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 IPipeDouble_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 , buf : * mut f64 , crequest : u32 , pcreturned : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , buf : * mut f64 , csent : u32 , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IPipeLong ( :: windows :: IUnknown ) ; impl IPipeLong { pub unsafe fn Pull < > ( & self , buf : * mut i32 , crequest : u32 , pcreturned : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( buf ) , :: std :: mem :: transmute ( crequest ) , :: std :: mem :: transmute ( pcreturned ) , ) . ok ( ) } pub unsafe fn Push < > ( & self , buf : * mut i32 , csent : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( buf ) , :: std :: mem :: transmute ( csent ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IPipeLong { type Vtable = IPipeLong_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3677305548 ,12166 ,4561 , [ 142 ,4 ,0 ,192 ,79 ,185 ,152 ,154 ] , ) ; } impl :: std :: convert :: From < IPipeLong > for :: windows :: IUnknown { fn from ( value : IPipeLong ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IPipeLong > for :: windows :: IUnknown { fn from ( value : & IPipeLong ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IPipeLong { 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 IPipeLong { 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 IPipeLong_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 , buf : * mut i32 , crequest : u32 , pcreturned : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , buf : * mut i32 , csent : u32 , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IPointerInactive ( :: windows :: IUnknown ) ; impl IPointerInactive { pub unsafe fn GetActivationPolicy < > ( & self , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn OnInactiveMouseMove < > ( & self , prectbounds : * mut super::super::Foundation:: RECT , x : i32 , y : i32 , grfkeystate : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( prectbounds ) , :: std :: mem :: transmute ( x ) , :: std :: mem :: transmute ( y ) , :: std :: mem :: transmute ( grfkeystate ) , ) . ok ( ) } pub unsafe fn OnInactiveSetCursor < 'a , > ( & self , prectbounds : * mut super::super::Foundation:: RECT , x : i32 , y : i32 , dwmousemsg : u32 , fsetalways : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( prectbounds ) , :: std :: mem :: transmute ( x ) , :: std :: mem :: transmute ( y ) , :: std :: mem :: transmute ( dwmousemsg ) , fsetalways . into_param ( ) . abi ( ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IPointerInactive { type Vtable = IPointerInactive_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 1436027808 ,13738 ,4559 , [ 182 ,113 ,0 ,170 ,0 ,76 ,214 ,216 ] , ) ; } impl :: std :: convert :: From < IPointerInactive > for :: windows :: IUnknown { fn from ( value : IPointerInactive ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IPointerInactive > for :: windows :: IUnknown { fn from ( value : & IPointerInactive ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IPointerInactive { 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 IPointerInactive { 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 IPointerInactive_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 , pdwpolicy : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , prectbounds : * mut super::super::Foundation:: RECT , x : i32 , y : i32 , grfkeystate : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , prectbounds : * mut super::super::Foundation:: RECT , x : i32 , y : i32 , dwmousemsg : u32 , fsetalways : super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IPrint ( :: windows :: IUnknown ) ; impl IPrint { pub unsafe fn SetInitialPageNum < > ( & self , nfirstpage : i32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( nfirstpage ) , ) . ok ( ) } pub unsafe fn GetPageInfo < > ( & self , pnfirstpage : * mut i32 , pcpages : * mut i32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pnfirstpage ) , :: std :: mem :: transmute ( pcpages ) , ) . ok ( ) } pub unsafe fn Print < 'a , > ( & self , grfflags : u32 , pptd : * mut * mut DVTARGETDEVICE , pppageset : * mut * mut PAGESET , pstgmoptions : * mut STGMEDIUM , pcallback : impl :: windows :: IntoParam < 'a , IContinueCallback > , nfirstpage : i32 , pcpagesprinted : * mut i32 , pnlastpage : * mut i32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( grfflags ) , :: std :: mem :: transmute ( pptd ) , :: std :: mem :: transmute ( pppageset ) , :: std :: mem :: transmute ( pstgmoptions ) , pcallback . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( nfirstpage ) , :: std :: mem :: transmute ( pcpagesprinted ) , :: std :: mem :: transmute ( pnlastpage ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IPrint { type Vtable = IPrint_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3072507081 ,20072 ,4123 , [ 162 ,188 ,0 ,170 ,0 ,64 ,71 ,112 ] , ) ; } impl :: std :: convert :: From < IPrint > for :: windows :: IUnknown { fn from ( value : IPrint ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IPrint > for :: windows :: IUnknown { fn from ( value : & IPrint ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IPrint { 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 IPrint { 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 IPrint_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 , nfirstpage : i32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pnfirstpage : * mut i32 , pcpages : * mut i32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , grfflags : u32 , pptd : * mut * mut DVTARGETDEVICE , pppageset : * mut * mut PAGESET , pstgmoptions : * mut STGMEDIUM_abi , pcallback : :: windows :: RawPtr , nfirstpage : i32 , pcpagesprinted : * mut i32 , pnlastpage : * mut i32 , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IProcessInitControl ( :: windows :: IUnknown ) ; impl IProcessInitControl { pub unsafe fn ResetInitializerTimeout < > ( & self , dwsecondsremaining : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwsecondsremaining ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IProcessInitControl { type Vtable = IProcessInitControl_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 1916276053 ,36139 ,17315 , [ 133 ,19 ,43 ,110 ,243 ,20 ,52 ,233 ] , ) ; } impl :: std :: convert :: From < IProcessInitControl > for :: windows :: IUnknown { fn from ( value : IProcessInitControl ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IProcessInitControl > for :: windows :: IUnknown { fn from ( value : & IProcessInitControl ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IProcessInitControl { 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 IProcessInitControl { 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 IProcessInitControl_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 , dwsecondsremaining : u32 , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IProcessLock ( :: windows :: IUnknown ) ; impl IProcessLock { pub unsafe fn AddRefOnProcess < > ( & self , ) -> u32 { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn ReleaseRefOnProcess < > ( & self , ) -> u32 { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , ) } } unsafe impl :: windows :: Interface for IProcessLock { type Vtable = IProcessLock_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 469 ,0 ,0 , [ 192 ,0 ,0 ,0 ,0 ,0 ,0 ,70 ] , ) ; } impl :: std :: convert :: From < IProcessLock > for :: windows :: IUnknown { fn from ( value : IProcessLock ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IProcessLock > for :: windows :: IUnknown { fn from ( value : & IProcessLock ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IProcessLock { 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 IProcessLock { 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 IProcessLock_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 , ) -> u32 , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> u32 , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IProgressNotify ( :: windows :: IUnknown ) ; impl IProgressNotify { pub unsafe fn OnProgress < 'a , > ( & self , dwprogresscurrent : u32 , dwprogressmaximum : u32 , faccurate : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , fowner : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwprogresscurrent ) , :: std :: mem :: transmute ( dwprogressmaximum ) , faccurate . into_param ( ) . abi ( ) , fowner . into_param ( ) . abi ( ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IProgressNotify { type Vtable = IProgressNotify_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2849462432 ,17943 ,4559 , [ 149 ,252 ,0 ,170 ,0 ,104 ,13 ,180 ] , ) ; } impl :: std :: convert :: From < IProgressNotify > for :: windows :: IUnknown { fn from ( value : IProgressNotify ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IProgressNotify > for :: windows :: IUnknown { fn from ( value : & IProgressNotify ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IProgressNotify { 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 IProgressNotify { 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 IProgressNotify_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 , dwprogresscurrent : u32 , dwprogressmaximum : u32 , faccurate : super::super::Foundation:: BOOL , fowner : super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IPropertyBag2 ( :: windows :: IUnknown ) ; impl IPropertyBag2 { pub unsafe fn Read < 'a , > ( & self , cproperties : u32 , ppropbag : * mut PROPBAG2 , perrlog : impl :: windows :: IntoParam < 'a , super::OleAutomation:: IErrorLog > , pvarvalue : * mut super::OleAutomation:: VARIANT , phrerror : * mut :: windows :: HRESULT , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( cproperties ) , :: std :: mem :: transmute ( ppropbag ) , perrlog . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pvarvalue ) , :: std :: mem :: transmute ( phrerror ) , ) . ok ( ) } pub unsafe fn Write < > ( & self , cproperties : u32 , ppropbag : * mut PROPBAG2 , pvarvalue : * mut super::OleAutomation:: VARIANT , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( cproperties ) , :: std :: mem :: transmute ( ppropbag ) , :: std :: mem :: transmute ( pvarvalue ) , ) . ok ( ) } pub unsafe fn CountProperties < > ( & self , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn GetPropertyInfo < > ( & self , iproperty : u32 , cproperties : u32 , ppropbag : * mut PROPBAG2 , pcproperties : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( iproperty ) , :: std :: mem :: transmute ( cproperties ) , :: std :: mem :: transmute ( ppropbag ) , :: std :: mem :: transmute ( pcproperties ) , ) . ok ( ) } pub unsafe fn LoadObject < 'a , > ( & self , pstrname : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , dwhint : u32 , punkobject : impl :: windows :: IntoParam < 'a , :: windows :: IUnknown > , perrlog : impl :: windows :: IntoParam < 'a , super::OleAutomation:: IErrorLog > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , pstrname . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwhint ) , punkobject . into_param ( ) . abi ( ) , perrlog . into_param ( ) . abi ( ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IPropertyBag2 { type Vtable = IPropertyBag2_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 586504322 ,10251 ,4560 , [ 168 ,169 ,0 ,160 ,201 ,12 ,32 ,4 ] , ) ; } impl :: std :: convert :: From < IPropertyBag2 > for :: windows :: IUnknown { fn from ( value : IPropertyBag2 ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IPropertyBag2 > for :: windows :: IUnknown { fn from ( value : & IPropertyBag2 ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IPropertyBag2 { 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 IPropertyBag2 { 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 IPropertyBag2_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 , cproperties : u32 , ppropbag : * mut PROPBAG2 , perrlog : :: windows :: RawPtr , pvarvalue : * mut super::OleAutomation:: VARIANT_abi , phrerror : * mut :: windows :: HRESULT , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , cproperties : u32 , ppropbag : * mut PROPBAG2 , pvarvalue : * mut super::OleAutomation:: VARIANT_abi , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pcproperties : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iproperty : u32 , cproperties : u32 , ppropbag : * mut PROPBAG2 , pcproperties : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pstrname : super::super::Foundation:: PWSTR , dwhint : u32 , punkobject : :: windows :: RawPtr , perrlog : :: windows :: RawPtr , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IPropertyNotifySink ( :: windows :: IUnknown ) ; impl IPropertyNotifySink { pub unsafe fn OnChanged < > ( & self , dispid : i32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dispid ) , ) . ok ( ) } pub unsafe fn OnRequestEdit < > ( & self , dispid : i32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dispid ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IPropertyNotifySink { type Vtable = IPropertyNotifySink_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2616966146 ,61425 ,4122 , [ 132 ,237 ,0 ,170 ,0 ,52 ,29 ,7 ] , ) ; } impl :: std :: convert :: From < IPropertyNotifySink > for :: windows :: IUnknown { fn from ( value : IPropertyNotifySink ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IPropertyNotifySink > for :: windows :: IUnknown { fn from ( value : & IPropertyNotifySink ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IPropertyNotifySink { 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 IPropertyNotifySink { 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 IPropertyNotifySink_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 , dispid : i32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dispid : i32 , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IPropertyPage ( :: windows :: IUnknown ) ; impl IPropertyPage { pub unsafe fn SetPageSite < 'a , > ( & self , ppagesite : impl :: windows :: IntoParam < 'a , IPropertyPageSite > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , ppagesite . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn Activate < 'a , > ( & self , hwndparent : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HWND > , prect : * mut super::super::Foundation:: RECT , bmodal : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , hwndparent . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( prect ) , bmodal . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn Deactivate < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn GetPageInfo < > ( & self , ) -> :: windows :: Result < PROPPAGEINFO > { let mut result__ : < PROPPAGEINFO as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < PROPPAGEINFO > ( result__ ) } pub unsafe fn SetObjects < > ( & self , cobjects : u32 , ppunk : * mut :: std :: option :: Option < :: windows :: IUnknown > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( cobjects ) , :: std :: mem :: transmute ( ppunk ) , ) . ok ( ) } pub unsafe fn Show < > ( & self , ncmdshow : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ncmdshow ) , ) . ok ( ) } pub unsafe fn Move < > ( & self , prect : * mut super::super::Foundation:: RECT , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( prect ) , ) . ok ( ) } pub unsafe fn IsPageDirty < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn Apply < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .11 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn Help < 'a , > ( & self , pszhelpdir : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .12 ) ( :: windows :: Abi :: abi ( self ) , pszhelpdir . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn TranslateAccelerator < > ( & self , pmsg : * mut super::super::UI::WindowsAndMessaging:: MSG , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .13 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pmsg ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IPropertyPage { type Vtable = IPropertyPage_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2979443341 ,47796 ,4122 , [ 182 ,156 ,0 ,170 ,0 ,52 ,29 ,7 ] , ) ; } impl :: std :: convert :: From < IPropertyPage > for :: windows :: IUnknown { fn from ( value : IPropertyPage ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IPropertyPage > for :: windows :: IUnknown { fn from ( value : & IPropertyPage ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IPropertyPage { 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 IPropertyPage { 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 IPropertyPage_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 , ppagesite : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , hwndparent : super::super::Foundation:: HWND , prect : * mut super::super::Foundation:: RECT , bmodal : super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppageinfo : * mut PROPPAGEINFO , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , cobjects : u32 , ppunk : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ncmdshow : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , prect : * mut super::super::Foundation:: RECT , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pszhelpdir : super::super::Foundation:: PWSTR , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pmsg : * mut super::super::UI::WindowsAndMessaging:: MSG , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IPropertyPage2 ( :: windows :: IUnknown ) ; impl IPropertyPage2 { pub unsafe fn SetPageSite < 'a , > ( & self , ppagesite : impl :: windows :: IntoParam < 'a , IPropertyPageSite > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , ppagesite . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn Activate < 'a , > ( & self , hwndparent : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HWND > , prect : * mut super::super::Foundation:: RECT , bmodal : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , hwndparent . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( prect ) , bmodal . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn Deactivate < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn GetPageInfo < > ( & self , ) -> :: windows :: Result < PROPPAGEINFO > { let mut result__ : < PROPPAGEINFO as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < PROPPAGEINFO > ( result__ ) } pub unsafe fn SetObjects < > ( & self , cobjects : u32 , ppunk : * mut :: std :: option :: Option < :: windows :: IUnknown > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( cobjects ) , :: std :: mem :: transmute ( ppunk ) , ) . ok ( ) } pub unsafe fn Show < > ( & self , ncmdshow : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ncmdshow ) , ) . ok ( ) } pub unsafe fn Move < > ( & self , prect : * mut super::super::Foundation:: RECT , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( prect ) , ) . ok ( ) } pub unsafe fn IsPageDirty < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn Apply < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .11 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn Help < 'a , > ( & self , pszhelpdir : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .12 ) ( :: windows :: Abi :: abi ( self ) , pszhelpdir . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn TranslateAccelerator < > ( & self , pmsg : * mut super::super::UI::WindowsAndMessaging:: MSG , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .13 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pmsg ) , ) . ok ( ) } pub unsafe fn EditProperty < > ( & self , dispid : i32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .14 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dispid ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IPropertyPage2 { type Vtable = IPropertyPage2_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 31737445 ,9388 ,4123 , [ 132 ,237 ,8 ,0 ,43 ,46 ,199 ,19 ] , ) ; } impl :: std :: convert :: From < IPropertyPage2 > for :: windows :: IUnknown { fn from ( value : IPropertyPage2 ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IPropertyPage2 > for :: windows :: IUnknown { fn from ( value : & IPropertyPage2 ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IPropertyPage2 { 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 IPropertyPage2 { 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 < IPropertyPage2 > for IPropertyPage { fn from ( value : IPropertyPage2 ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IPropertyPage2 > for IPropertyPage { fn from ( value : & IPropertyPage2 ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IPropertyPage > for IPropertyPage2 { fn into_param ( self ) -> :: windows :: Param < 'a , IPropertyPage > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IPropertyPage > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IPropertyPage > for & 'a IPropertyPage2 { fn into_param ( self ) -> :: windows :: Param < 'a , IPropertyPage > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IPropertyPage > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IPropertyPage2_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 , ppagesite : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , hwndparent : super::super::Foundation:: HWND , prect : * mut super::super::Foundation:: RECT , bmodal : super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppageinfo : * mut PROPPAGEINFO , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , cobjects : u32 , ppunk : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ncmdshow : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , prect : * mut super::super::Foundation:: RECT , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pszhelpdir : super::super::Foundation:: PWSTR , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pmsg : * mut super::super::UI::WindowsAndMessaging:: MSG , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dispid : i32 , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IPropertyPageSite ( :: windows :: IUnknown ) ; impl IPropertyPageSite { pub unsafe fn OnStatusChange < > ( & self , dwflags : PROPPAGESTATUS , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwflags ) , ) . ok ( ) } pub unsafe fn GetLocaleID < > ( & self , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn GetPageContainer < > ( & self , ) -> :: windows :: Result < :: windows :: IUnknown > { let mut result__ : < :: windows :: IUnknown as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < :: windows :: IUnknown > ( result__ ) } pub unsafe fn TranslateAccelerator < > ( & self , pmsg : * mut super::super::UI::WindowsAndMessaging:: MSG , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pmsg ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IPropertyPageSite { type Vtable = IPropertyPageSite_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2979443340 ,47796 ,4122 , [ 182 ,156 ,0 ,170 ,0 ,52 ,29 ,7 ] , ) ; } impl :: std :: convert :: From < IPropertyPageSite > for :: windows :: IUnknown { fn from ( value : IPropertyPageSite ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IPropertyPageSite > for :: windows :: IUnknown { fn from ( value : & IPropertyPageSite ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IPropertyPageSite { 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 IPropertyPageSite { 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 IPropertyPageSite_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 , dwflags : PROPPAGESTATUS , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , plocaleid : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppunk : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pmsg : * mut super::super::UI::WindowsAndMessaging:: MSG , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IProtectFocus ( :: windows :: IUnknown ) ; impl IProtectFocus { pub unsafe fn AllowFocusChange < > ( & self , ) -> :: windows :: Result < super::super::Foundation:: BOOL > { let mut result__ : < super::super::Foundation:: BOOL as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < super::super::Foundation:: BOOL > ( result__ ) } } unsafe impl :: windows :: Interface for IProtectFocus { type Vtable = IProtectFocus_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3625947299 ,33110 ,17655 , [ 173 ,40 ,90 ,187 ,135 ,0 ,50 ,116 ] , ) ; } impl :: std :: convert :: From < IProtectFocus > for :: windows :: IUnknown { fn from ( value : IProtectFocus ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IProtectFocus > for :: windows :: IUnknown { fn from ( value : & IProtectFocus ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IProtectFocus { 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 IProtectFocus { 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 IProtectFocus_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 , pfallow : * mut super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IProtectedModeMenuServices ( :: windows :: IUnknown ) ; impl IProtectedModeMenuServices { pub unsafe fn CreateMenu < > ( & self , ) -> :: windows :: Result < super::super::UI::WindowsAndMessaging:: HMENU > { let mut result__ : < super::super::UI::WindowsAndMessaging:: HMENU as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < super::super::UI::WindowsAndMessaging:: HMENU > ( result__ ) } pub unsafe fn LoadMenu < 'a , > ( & self , pszmodulename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , pszmenuname : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , ) -> :: windows :: Result < super::super::UI::WindowsAndMessaging:: HMENU > { let mut result__ : < super::super::UI::WindowsAndMessaging:: HMENU as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , pszmodulename . into_param ( ) . abi ( ) , pszmenuname . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < super::super::UI::WindowsAndMessaging:: HMENU > ( result__ ) } pub unsafe fn LoadMenuID < 'a , > ( & self , pszmodulename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , wresourceid : u16 , ) -> :: windows :: Result < super::super::UI::WindowsAndMessaging:: HMENU > { let mut result__ : < super::super::UI::WindowsAndMessaging:: HMENU as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , pszmodulename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( wresourceid ) , & mut result__ ) . from_abi :: < super::super::UI::WindowsAndMessaging:: HMENU > ( result__ ) } } unsafe impl :: windows :: Interface for IProtectedModeMenuServices { type Vtable = IProtectedModeMenuServices_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 1942029806 ,40447 ,18951 , [ 184 ,60 ,126 ,255 ,41 ,12 ,38 ,110 ] , ) ; } impl :: std :: convert :: From < IProtectedModeMenuServices > for :: windows :: IUnknown { fn from ( value : IProtectedModeMenuServices ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IProtectedModeMenuServices > for :: windows :: IUnknown { fn from ( value : & IProtectedModeMenuServices ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IProtectedModeMenuServices { 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 IProtectedModeMenuServices { 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 IProtectedModeMenuServices_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 , phmenu : * mut super::super::UI::WindowsAndMessaging:: HMENU , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pszmodulename : super::super::Foundation:: PWSTR , pszmenuname : super::super::Foundation:: PWSTR , phmenu : * mut super::super::UI::WindowsAndMessaging:: HMENU , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pszmodulename : super::super::Foundation:: PWSTR , wresourceid : u16 , phmenu : * mut super::super::UI::WindowsAndMessaging:: HMENU , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IProvideClassInfo ( :: windows :: IUnknown ) ; impl IProvideClassInfo { pub unsafe fn GetClassInfo < > ( & self , ) -> :: windows :: Result < super::OleAutomation:: ITypeInfo > { let mut result__ : < super::OleAutomation:: ITypeInfo as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < super::OleAutomation:: ITypeInfo > ( result__ ) } } unsafe impl :: windows :: Interface for IProvideClassInfo { type Vtable = IProvideClassInfo_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2979443331 ,47796 ,4122 , [ 182 ,156 ,0 ,170 ,0 ,52 ,29 ,7 ] , ) ; } impl :: std :: convert :: From < IProvideClassInfo > for :: windows :: IUnknown { fn from ( value : IProvideClassInfo ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IProvideClassInfo > for :: windows :: IUnknown { fn from ( value : & IProvideClassInfo ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IProvideClassInfo { 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 IProvideClassInfo { 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 IProvideClassInfo_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 , ppti : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IProvideClassInfo2 ( :: windows :: IUnknown ) ; impl IProvideClassInfo2 { pub unsafe fn GetClassInfo < > ( & self , ) -> :: windows :: Result < super::OleAutomation:: ITypeInfo > { let mut result__ : < super::OleAutomation:: ITypeInfo as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < super::OleAutomation:: ITypeInfo > ( result__ ) } pub unsafe fn GetGUID < > ( & self , dwguidkind : u32 , ) -> :: windows :: Result < :: windows :: Guid > { let mut result__ : < :: windows :: Guid as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwguidkind ) , & mut result__ ) . from_abi :: < :: windows :: Guid > ( result__ ) } } unsafe impl :: windows :: Interface for IProvideClassInfo2 { type Vtable = IProvideClassInfo2_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2797353664 ,56234 ,4558 , [ 157 ,227 ,0 ,170 ,0 ,75 ,184 ,81 ] , ) ; } impl :: std :: convert :: From < IProvideClassInfo2 > for :: windows :: IUnknown { fn from ( value : IProvideClassInfo2 ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IProvideClassInfo2 > for :: windows :: IUnknown { fn from ( value : & IProvideClassInfo2 ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IProvideClassInfo2 { 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 IProvideClassInfo2 { 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 < IProvideClassInfo2 > for IProvideClassInfo { fn from ( value : IProvideClassInfo2 ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IProvideClassInfo2 > for IProvideClassInfo { fn from ( value : & IProvideClassInfo2 ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IProvideClassInfo > for IProvideClassInfo2 { fn into_param ( self ) -> :: windows :: Param < 'a , IProvideClassInfo > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IProvideClassInfo > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IProvideClassInfo > for & 'a IProvideClassInfo2 { fn into_param ( self ) -> :: windows :: Param < 'a , IProvideClassInfo > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IProvideClassInfo > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IProvideClassInfo2_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 , ppti : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwguidkind : u32 , pguid : * mut :: windows :: Guid , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IProvideMultipleClassInfo ( :: windows :: IUnknown ) ; impl IProvideMultipleClassInfo { pub unsafe fn GetClassInfo < > ( & self , ) -> :: windows :: Result < super::OleAutomation:: ITypeInfo > { let mut result__ : < super::OleAutomation:: ITypeInfo as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < super::OleAutomation:: ITypeInfo > ( result__ ) } pub unsafe fn GetGUID < > ( & self , dwguidkind : u32 , ) -> :: windows :: Result < :: windows :: Guid > { let mut result__ : < :: windows :: Guid as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwguidkind ) , & mut result__ ) . from_abi :: < :: windows :: Guid > ( result__ ) } pub unsafe fn GetMultiTypeInfoCount < > ( & self , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn GetInfoOfIndex < > ( & self , iti : u32 , dwflags : MULTICLASSINFO_FLAGS , ppticoclass : * mut :: std :: option :: Option < super::OleAutomation:: ITypeInfo > , pdwtiflags : * mut u32 , pcdispidreserved : * mut u32 , piidprimary : * mut :: windows :: Guid , piidsource : * mut :: windows :: Guid , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( iti ) , :: std :: mem :: transmute ( dwflags ) , :: std :: mem :: transmute ( ppticoclass ) , :: std :: mem :: transmute ( pdwtiflags ) , :: std :: mem :: transmute ( pcdispidreserved ) , :: std :: mem :: transmute ( piidprimary ) , :: std :: mem :: transmute ( piidsource ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IProvideMultipleClassInfo { type Vtable = IProvideMultipleClassInfo_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2813045185 ,35203 ,4559 , [ 143 ,32 ,0 ,128 ,95 ,44 ,208 ,100 ] , ) ; } impl :: std :: convert :: From < IProvideMultipleClassInfo > for :: windows :: IUnknown { fn from ( value : IProvideMultipleClassInfo ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IProvideMultipleClassInfo > for :: windows :: IUnknown { fn from ( value : & IProvideMultipleClassInfo ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IProvideMultipleClassInfo { 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 IProvideMultipleClassInfo { 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 < IProvideMultipleClassInfo > for IProvideClassInfo2 { fn from ( value : IProvideMultipleClassInfo ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IProvideMultipleClassInfo > for IProvideClassInfo2 { fn from ( value : & IProvideMultipleClassInfo ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IProvideClassInfo2 > for IProvideMultipleClassInfo { fn into_param ( self ) -> :: windows :: Param < 'a , IProvideClassInfo2 > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IProvideClassInfo2 > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IProvideClassInfo2 > for & 'a IProvideMultipleClassInfo { fn into_param ( self ) -> :: windows :: Param < 'a , IProvideClassInfo2 > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IProvideClassInfo2 > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } impl :: std :: convert :: From < IProvideMultipleClassInfo > for IProvideClassInfo { fn from ( value : IProvideMultipleClassInfo ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IProvideMultipleClassInfo > for IProvideClassInfo { fn from ( value : & IProvideMultipleClassInfo ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IProvideClassInfo > for IProvideMultipleClassInfo { fn into_param ( self ) -> :: windows :: Param < 'a , IProvideClassInfo > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IProvideClassInfo > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IProvideClassInfo > for & 'a IProvideMultipleClassInfo { fn into_param ( self ) -> :: windows :: Param < 'a , IProvideClassInfo > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IProvideClassInfo > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IProvideMultipleClassInfo_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 , ppti : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwguidkind : u32 , pguid : * mut :: windows :: Guid , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pcti : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iti : u32 , dwflags : MULTICLASSINFO_FLAGS , ppticoclass : * mut :: windows :: RawPtr , pdwtiflags : * mut u32 , pcdispidreserved : * mut u32 , piidprimary : * mut :: windows :: Guid , piidsource : * mut :: windows :: Guid , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IQuickActivate ( :: windows :: IUnknown ) ; impl IQuickActivate { pub unsafe fn QuickActivate < > ( & self , pqacontainer : * mut QACONTAINER , pqacontrol : * mut QACONTROL , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pqacontainer ) , :: std :: mem :: transmute ( pqacontrol ) , ) . ok ( ) } pub unsafe fn SetContentExtent < > ( & self , psizel : * mut super::super::Foundation:: SIZE , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( psizel ) , ) . ok ( ) } pub unsafe fn GetContentExtent < > ( & self , ) -> :: windows :: Result < super::super::Foundation:: SIZE > { let mut result__ : < super::super::Foundation:: SIZE as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < super::super::Foundation:: SIZE > ( result__ ) } } unsafe impl :: windows :: Interface for IQuickActivate { type Vtable = IQuickActivate_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3478252816 ,25342 ,4559 , [ 191 ,134 ,0 ,160 ,201 ,3 ,72 ,54 ] , ) ; } impl :: std :: convert :: From < IQuickActivate > for :: windows :: IUnknown { fn from ( value : IQuickActivate ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IQuickActivate > for :: windows :: IUnknown { fn from ( value : & IQuickActivate ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IQuickActivate { 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 IQuickActivate { 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 IQuickActivate_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 , pqacontainer : * mut QACONTAINER_abi , pqacontrol : * mut QACONTROL , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , psizel : * mut super::super::Foundation:: SIZE , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , psizel : * mut super::super::Foundation:: SIZE , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IROTData ( :: windows :: IUnknown ) ; impl IROTData { pub unsafe fn GetComparisonData < > ( & self , pbdata : * mut u8 , cbmax : u32 , pcbdata : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pbdata ) , :: std :: mem :: transmute ( cbmax ) , :: std :: mem :: transmute ( pcbdata ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IROTData { type Vtable = IROTData_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 4070534080 ,20513 ,4558 , [ 170 ,21 ,0 ,0 ,105 ,1 ,41 ,63 ] , ) ; } impl :: std :: convert :: From < IROTData > for :: windows :: IUnknown { fn from ( value : IROTData ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IROTData > for :: windows :: IUnknown { fn from ( value : & IROTData ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IROTData { 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 IROTData { 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 IROTData_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 , pbdata : * mut u8 , cbmax : u32 , pcbdata : * mut u32 , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IReleaseMarshalBuffers ( :: windows :: IUnknown ) ; impl IReleaseMarshalBuffers { pub unsafe fn ReleaseMarshalBuffer < 'a , > ( & self , pmsg : * mut RPCOLEMESSAGE , dwflags : u32 , pchnl : impl :: windows :: IntoParam < 'a , :: windows :: IUnknown > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pmsg ) , :: std :: mem :: transmute ( dwflags ) , pchnl . into_param ( ) . abi ( ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IReleaseMarshalBuffers { type Vtable = IReleaseMarshalBuffers_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3943479784 ,31126 ,4562 , [ 135 ,46 ,0 ,0 ,248 ,8 ,8 ,89 ] , ) ; } impl :: std :: convert :: From < IReleaseMarshalBuffers > for :: windows :: IUnknown { fn from ( value : IReleaseMarshalBuffers ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IReleaseMarshalBuffers > for :: windows :: IUnknown { fn from ( value : & IReleaseMarshalBuffers ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IReleaseMarshalBuffers { 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 IReleaseMarshalBuffers { 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 IReleaseMarshalBuffers_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 , pmsg : * mut RPCOLEMESSAGE , dwflags : u32 , pchnl : :: windows :: RawPtr , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IRpcChannelBuffer ( :: windows :: IUnknown ) ; impl IRpcChannelBuffer { pub unsafe fn GetBuffer < > ( & self , pmessage : * mut RPCOLEMESSAGE , riid : * const :: windows :: Guid , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pmessage ) , :: std :: mem :: transmute ( riid ) , ) . ok ( ) } pub unsafe fn SendReceive < > ( & self , pmessage : * mut RPCOLEMESSAGE , pstatus : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pmessage ) , :: std :: mem :: transmute ( pstatus ) , ) . ok ( ) } pub unsafe fn FreeBuffer < > ( & self , pmessage : * mut RPCOLEMESSAGE , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pmessage ) , ) . ok ( ) } pub unsafe fn GetDestCtx < > ( & self , pdwdestcontext : * mut u32 , ppvdestcontext : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pdwdestcontext ) , :: std :: mem :: transmute ( ppvdestcontext ) , ) . ok ( ) } pub unsafe fn IsConnected < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IRpcChannelBuffer { type Vtable = IRpcChannelBuffer_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3589630816 ,22843 ,4122 , [ 181 ,105 ,8 ,0 ,43 ,45 ,191 ,122 ] , ) ; } impl :: std :: convert :: From < IRpcChannelBuffer > for :: windows :: IUnknown { fn from ( value : IRpcChannelBuffer ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IRpcChannelBuffer > for :: windows :: IUnknown { fn from ( value : & IRpcChannelBuffer ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IRpcChannelBuffer { 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 IRpcChannelBuffer { 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 IRpcChannelBuffer_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 , pmessage : * mut RPCOLEMESSAGE , riid : * const :: windows :: Guid , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pmessage : * mut RPCOLEMESSAGE , pstatus : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pmessage : * mut RPCOLEMESSAGE , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pdwdestcontext : * mut u32 , ppvdestcontext : * mut * mut :: std :: ffi :: c_void , ) -> :: 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 IRpcChannelBuffer2 ( :: windows :: IUnknown ) ; impl IRpcChannelBuffer2 { pub unsafe fn GetBuffer < > ( & self , pmessage : * mut RPCOLEMESSAGE , riid : * const :: windows :: Guid , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pmessage ) , :: std :: mem :: transmute ( riid ) , ) . ok ( ) } pub unsafe fn SendReceive < > ( & self , pmessage : * mut RPCOLEMESSAGE , pstatus : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pmessage ) , :: std :: mem :: transmute ( pstatus ) , ) . ok ( ) } pub unsafe fn FreeBuffer < > ( & self , pmessage : * mut RPCOLEMESSAGE , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pmessage ) , ) . ok ( ) } pub unsafe fn GetDestCtx < > ( & self , pdwdestcontext : * mut u32 , ppvdestcontext : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pdwdestcontext ) , :: std :: mem :: transmute ( ppvdestcontext ) , ) . ok ( ) } pub unsafe fn IsConnected < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn GetProtocolVersion < > ( & self , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } } unsafe impl :: windows :: Interface for IRpcChannelBuffer2 { type Vtable = IRpcChannelBuffer2_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 1498362320 ,32537 ,4560 , [ 177 ,148 ,0 ,160 ,201 ,13 ,200 ,191 ] , ) ; } impl :: std :: convert :: From < IRpcChannelBuffer2 > for :: windows :: IUnknown { fn from ( value : IRpcChannelBuffer2 ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IRpcChannelBuffer2 > for :: windows :: IUnknown { fn from ( value : & IRpcChannelBuffer2 ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IRpcChannelBuffer2 { 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 IRpcChannelBuffer2 { 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 < IRpcChannelBuffer2 > for IRpcChannelBuffer { fn from ( value : IRpcChannelBuffer2 ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IRpcChannelBuffer2 > for IRpcChannelBuffer { fn from ( value : & IRpcChannelBuffer2 ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IRpcChannelBuffer > for IRpcChannelBuffer2 { fn into_param ( self ) -> :: windows :: Param < 'a , IRpcChannelBuffer > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IRpcChannelBuffer > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IRpcChannelBuffer > for & 'a IRpcChannelBuffer2 { fn into_param ( self ) -> :: windows :: Param < 'a , IRpcChannelBuffer > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IRpcChannelBuffer > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IRpcChannelBuffer2_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 , pmessage : * mut RPCOLEMESSAGE , riid : * const :: windows :: Guid , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pmessage : * mut RPCOLEMESSAGE , pstatus : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pmessage : * mut RPCOLEMESSAGE , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pdwdestcontext : * mut u32 , ppvdestcontext : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pdwversion : * mut u32 , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IRpcChannelBuffer3 ( :: windows :: IUnknown ) ; impl IRpcChannelBuffer3 { pub unsafe fn GetBuffer < > ( & self , pmessage : * mut RPCOLEMESSAGE , riid : * const :: windows :: Guid , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pmessage ) , :: std :: mem :: transmute ( riid ) , ) . ok ( ) } pub unsafe fn SendReceive < > ( & self , pmessage : * mut RPCOLEMESSAGE , pstatus : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pmessage ) , :: std :: mem :: transmute ( pstatus ) , ) . ok ( ) } pub unsafe fn FreeBuffer < > ( & self , pmessage : * mut RPCOLEMESSAGE , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pmessage ) , ) . ok ( ) } pub unsafe fn GetDestCtx < > ( & self , pdwdestcontext : * mut u32 , ppvdestcontext : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pdwdestcontext ) , :: std :: mem :: transmute ( ppvdestcontext ) , ) . ok ( ) } pub unsafe fn IsConnected < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn GetProtocolVersion < > ( & self , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn Send < > ( & self , pmsg : * mut RPCOLEMESSAGE , pulstatus : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pmsg ) , :: std :: mem :: transmute ( pulstatus ) , ) . ok ( ) } pub unsafe fn Receive < > ( & self , pmsg : * mut RPCOLEMESSAGE , ulsize : u32 , pulstatus : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pmsg ) , :: std :: mem :: transmute ( ulsize ) , :: std :: mem :: transmute ( pulstatus ) , ) . ok ( ) } pub unsafe fn Cancel < > ( & self , pmsg : * mut RPCOLEMESSAGE , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .11 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pmsg ) , ) . ok ( ) } pub unsafe fn GetCallContext < T : :: windows :: Interface > ( & self , pmsg : * mut RPCOLEMESSAGE , ) -> :: windows :: Result < T > { let mut result__ = :: std :: option :: Option :: None ; ( :: windows :: Interface :: vtable ( self ) .12 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pmsg ) , & < T as :: windows :: Interface > :: IID , :: windows :: Abi :: set_abi ( & mut result__ ) ) . and_some ( result__ ) } pub unsafe fn GetDestCtxEx < > ( & self , pmsg : * mut RPCOLEMESSAGE , pdwdestcontext : * mut u32 , ppvdestcontext : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .13 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pmsg ) , :: std :: mem :: transmute ( pdwdestcontext ) , :: std :: mem :: transmute ( ppvdestcontext ) , ) . ok ( ) } pub unsafe fn GetState < > ( & self , pmsg : * mut RPCOLEMESSAGE , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .14 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pmsg ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn RegisterAsync < 'a , > ( & self , pmsg : * mut RPCOLEMESSAGE , pasyncmgr : impl :: windows :: IntoParam < 'a , IAsyncManager > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .15 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pmsg ) , pasyncmgr . into_param ( ) . abi ( ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IRpcChannelBuffer3 { type Vtable = IRpcChannelBuffer3_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 632378880 ,277 ,4560 , [ 191 ,13 ,0 ,170 ,0 ,184 ,223 ,210 ] , ) ; } impl :: std :: convert :: From < IRpcChannelBuffer3 > for :: windows :: IUnknown { fn from ( value : IRpcChannelBuffer3 ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IRpcChannelBuffer3 > for :: windows :: IUnknown { fn from ( value : & IRpcChannelBuffer3 ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IRpcChannelBuffer3 { 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 IRpcChannelBuffer3 { 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 < IRpcChannelBuffer3 > for IRpcChannelBuffer2 { fn from ( value : IRpcChannelBuffer3 ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IRpcChannelBuffer3 > for IRpcChannelBuffer2 { fn from ( value : & IRpcChannelBuffer3 ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IRpcChannelBuffer2 > for IRpcChannelBuffer3 { fn into_param ( self ) -> :: windows :: Param < 'a , IRpcChannelBuffer2 > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IRpcChannelBuffer2 > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IRpcChannelBuffer2 > for & 'a IRpcChannelBuffer3 { fn into_param ( self ) -> :: windows :: Param < 'a , IRpcChannelBuffer2 > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IRpcChannelBuffer2 > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } impl :: std :: convert :: From < IRpcChannelBuffer3 > for IRpcChannelBuffer { fn from ( value : IRpcChannelBuffer3 ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IRpcChannelBuffer3 > for IRpcChannelBuffer { fn from ( value : & IRpcChannelBuffer3 ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IRpcChannelBuffer > for IRpcChannelBuffer3 { fn into_param ( self ) -> :: windows :: Param < 'a , IRpcChannelBuffer > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IRpcChannelBuffer > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IRpcChannelBuffer > for & 'a IRpcChannelBuffer3 { fn into_param ( self ) -> :: windows :: Param < 'a , IRpcChannelBuffer > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IRpcChannelBuffer > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IRpcChannelBuffer3_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 , pmessage : * mut RPCOLEMESSAGE , riid : * const :: windows :: Guid , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pmessage : * mut RPCOLEMESSAGE , pstatus : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pmessage : * mut RPCOLEMESSAGE , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pdwdestcontext : * mut u32 , ppvdestcontext : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pdwversion : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pmsg : * mut RPCOLEMESSAGE , pulstatus : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pmsg : * mut RPCOLEMESSAGE , ulsize : u32 , pulstatus : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pmsg : * mut RPCOLEMESSAGE , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pmsg : * mut RPCOLEMESSAGE , riid : * const :: windows :: Guid , pinterface : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pmsg : * mut RPCOLEMESSAGE , pdwdestcontext : * mut u32 , ppvdestcontext : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pmsg : * mut RPCOLEMESSAGE , pstate : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pmsg : * mut RPCOLEMESSAGE , pasyncmgr : :: windows :: RawPtr , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IRpcHelper ( :: windows :: IUnknown ) ; impl IRpcHelper { pub unsafe fn GetDCOMProtocolVersion < > ( & self , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn GetIIDFromOBJREF < > ( & self , pobjref : * mut :: std :: ffi :: c_void , ) -> :: windows :: Result < * mut :: windows :: Guid > { let mut result__ : < * mut :: windows :: Guid as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pobjref ) , & mut result__ ) . from_abi :: < * mut :: windows :: Guid > ( result__ ) } } unsafe impl :: windows :: Interface for IRpcHelper { type Vtable = IRpcHelper_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 329 ,0 ,0 , [ 192 ,0 ,0 ,0 ,0 ,0 ,0 ,70 ] , ) ; } impl :: std :: convert :: From < IRpcHelper > for :: windows :: IUnknown { fn from ( value : IRpcHelper ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IRpcHelper > for :: windows :: IUnknown { fn from ( value : & IRpcHelper ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IRpcHelper { 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 IRpcHelper { 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 IRpcHelper_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 , pcomversion : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pobjref : * mut :: std :: ffi :: c_void , piid : * mut * mut :: windows :: Guid , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IRpcOptions ( :: windows :: IUnknown ) ; impl IRpcOptions { pub unsafe fn Set < 'a , > ( & self , pprx : impl :: windows :: IntoParam < 'a , :: windows :: IUnknown > , dwproperty : RPCOPT_PROPERTIES , dwvalue : usize , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , pprx . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwproperty ) , :: std :: mem :: transmute ( dwvalue ) , ) . ok ( ) } pub unsafe fn Query < 'a , > ( & self , pprx : impl :: windows :: IntoParam < 'a , :: windows :: IUnknown > , dwproperty : RPCOPT_PROPERTIES , ) -> :: windows :: Result < usize > { let mut result__ : < usize as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , pprx . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwproperty ) , & mut result__ ) . from_abi :: < usize > ( result__ ) } } unsafe impl :: windows :: Interface for IRpcOptions { type Vtable = IRpcOptions_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 324 ,0 ,0 , [ 192 ,0 ,0 ,0 ,0 ,0 ,0 ,70 ] , ) ; } impl :: std :: convert :: From < IRpcOptions > for :: windows :: IUnknown { fn from ( value : IRpcOptions ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IRpcOptions > for :: windows :: IUnknown { fn from ( value : & IRpcOptions ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IRpcOptions { 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 IRpcOptions { 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 IRpcOptions_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 , pprx : :: windows :: RawPtr , dwproperty : RPCOPT_PROPERTIES , dwvalue : usize , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pprx : :: windows :: RawPtr , dwproperty : RPCOPT_PROPERTIES , pdwvalue : * mut usize , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IRpcProxyBuffer ( :: windows :: IUnknown ) ; impl IRpcProxyBuffer { pub unsafe fn Connect < 'a , > ( & self , prpcchannelbuffer : impl :: windows :: IntoParam < 'a , IRpcChannelBuffer > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , prpcchannelbuffer . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn Disconnect < > ( & self , ) { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , ) } } unsafe impl :: windows :: Interface for IRpcProxyBuffer { type Vtable = IRpcProxyBuffer_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3589630516 ,22843 ,4122 , [ 181 ,105 ,8 ,0 ,43 ,45 ,191 ,122 ] , ) ; } impl :: std :: convert :: From < IRpcProxyBuffer > for :: windows :: IUnknown { fn from ( value : IRpcProxyBuffer ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IRpcProxyBuffer > for :: windows :: IUnknown { fn from ( value : & IRpcProxyBuffer ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IRpcProxyBuffer { 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 IRpcProxyBuffer { 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 IRpcProxyBuffer_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 , prpcchannelbuffer : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IRpcStubBuffer ( :: windows :: IUnknown ) ; impl IRpcStubBuffer { pub unsafe fn Connect < 'a , > ( & self , punkserver : impl :: windows :: IntoParam < 'a , :: windows :: IUnknown > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , punkserver . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn Disconnect < > ( & self , ) { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn Invoke < 'a , > ( & self , _prpcmsg : * mut RPCOLEMESSAGE , _prpcchannelbuffer : impl :: windows :: IntoParam < 'a , IRpcChannelBuffer > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( _prpcmsg ) , _prpcchannelbuffer . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn IsIIDSupported < > ( & self , riid : * const :: windows :: Guid , ) -> :: windows :: RawPtr { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( riid ) , ) } pub unsafe fn CountRefs < > ( & self , ) -> u32 { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn DebugServerQueryInterface < > ( & self , ppv : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ppv ) , ) . ok ( ) } pub unsafe fn DebugServerRelease < > ( & self , pv : * mut :: std :: ffi :: c_void , ) { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pv ) , ) } } unsafe impl :: windows :: Interface for IRpcStubBuffer { type Vtable = IRpcStubBuffer_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3589630716 ,22843 ,4122 , [ 181 ,105 ,8 ,0 ,43 ,45 ,191 ,122 ] , ) ; } impl :: std :: convert :: From < IRpcStubBuffer > for :: windows :: IUnknown { fn from ( value : IRpcStubBuffer ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IRpcStubBuffer > for :: windows :: IUnknown { fn from ( value : & IRpcStubBuffer ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IRpcStubBuffer { 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 IRpcStubBuffer { 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 IRpcStubBuffer_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 , punkserver : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , _prpcmsg : * mut RPCOLEMESSAGE , _prpcchannelbuffer : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , riid : * const :: windows :: Guid , ) -> :: windows :: RawPtr , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> u32 , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppv : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pv : * mut :: std :: ffi :: c_void , ) , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IRpcSyntaxNegotiate ( :: windows :: IUnknown ) ; impl IRpcSyntaxNegotiate { pub unsafe fn NegotiateSyntax < > ( & self , pmsg : * mut RPCOLEMESSAGE , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pmsg ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IRpcSyntaxNegotiate { type Vtable = IRpcSyntaxNegotiate_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 1486914841 ,9416 ,18741 , [ 180 ,130 ,63 ,216 ,35 ,51 ,58 ,79 ] , ) ; } impl :: std :: convert :: From < IRpcSyntaxNegotiate > for :: windows :: IUnknown { fn from ( value : IRpcSyntaxNegotiate ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IRpcSyntaxNegotiate > for :: windows :: IUnknown { fn from ( value : & IRpcSyntaxNegotiate ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IRpcSyntaxNegotiate { 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 IRpcSyntaxNegotiate { 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 IRpcSyntaxNegotiate_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 , pmsg : * mut RPCOLEMESSAGE , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IRunnableObject ( :: windows :: IUnknown ) ; impl IRunnableObject { pub unsafe fn GetRunningClass < > ( & self , ) -> :: windows :: Result < :: windows :: Guid > { let mut result__ : < :: windows :: Guid as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < :: windows :: Guid > ( result__ ) } pub unsafe fn Run < 'a , > ( & self , pbc : impl :: windows :: IntoParam < 'a , IBindCtx > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , pbc . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn IsRunning < > ( & self , ) -> super::super::Foundation:: BOOL { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , ) } pub unsafe fn LockRunning < 'a , > ( & self , flock : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , flastunlockcloses : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , flock . into_param ( ) . abi ( ) , flastunlockcloses . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn SetContainedObject < 'a , > ( & self , fcontained : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , fcontained . into_param ( ) . abi ( ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IRunnableObject { type Vtable = IRunnableObject_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 294 ,0 ,0 , [ 192 ,0 ,0 ,0 ,0 ,0 ,0 ,70 ] , ) ; } impl :: std :: convert :: From < IRunnableObject > for :: windows :: IUnknown { fn from ( value : IRunnableObject ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IRunnableObject > for :: windows :: IUnknown { fn from ( value : & IRunnableObject ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IRunnableObject { 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 IRunnableObject { 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 IRunnableObject_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 , lpclsid : * mut :: windows :: Guid , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pbc : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> super::super::Foundation:: BOOL , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , flock : super::super::Foundation:: BOOL , flastunlockcloses : super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , fcontained : super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IRunningObjectTable ( :: windows :: IUnknown ) ; impl IRunningObjectTable { pub unsafe fn Register < 'a , > ( & self , grfflags : u32 , punkobject : impl :: windows :: IntoParam < 'a , :: windows :: IUnknown > , pmkobjectname : impl :: windows :: IntoParam < 'a , IMoniker > , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( grfflags ) , punkobject . into_param ( ) . abi ( ) , pmkobjectname . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn Revoke < > ( & self , dwregister : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwregister ) , ) . ok ( ) } pub unsafe fn IsRunning < 'a , > ( & self , pmkobjectname : impl :: windows :: IntoParam < 'a , IMoniker > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , pmkobjectname . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn GetObject < 'a , > ( & self , pmkobjectname : impl :: windows :: IntoParam < 'a , IMoniker > , ) -> :: windows :: Result < :: windows :: IUnknown > { let mut result__ : < :: windows :: IUnknown as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , pmkobjectname . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < :: windows :: IUnknown > ( result__ ) } pub unsafe fn NoteChangeTime < > ( & self , dwregister : u32 , pfiletime : * mut super::super::Foundation:: FILETIME , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwregister ) , :: std :: mem :: transmute ( pfiletime ) , ) . ok ( ) } pub unsafe fn GetTimeOfLastChange < 'a , > ( & self , pmkobjectname : impl :: windows :: IntoParam < 'a , IMoniker > , ) -> :: windows :: Result < super::super::Foundation:: FILETIME > { let mut result__ : < super::super::Foundation:: FILETIME as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , pmkobjectname . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < super::super::Foundation:: FILETIME > ( result__ ) } pub unsafe fn EnumRunning < > ( & self , ) -> :: windows :: Result < IEnumMoniker > { let mut result__ : < IEnumMoniker as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < IEnumMoniker > ( result__ ) } } unsafe impl :: windows :: Interface for IRunningObjectTable { type Vtable = IRunningObjectTable_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 16 ,0 ,0 , [ 192 ,0 ,0 ,0 ,0 ,0 ,0 ,70 ] , ) ; } impl :: std :: convert :: From < IRunningObjectTable > for :: windows :: IUnknown { fn from ( value : IRunningObjectTable ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IRunningObjectTable > for :: windows :: IUnknown { fn from ( value : & IRunningObjectTable ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IRunningObjectTable { 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 IRunningObjectTable { 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 IRunningObjectTable_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 , grfflags : u32 , punkobject : :: windows :: RawPtr , pmkobjectname : :: windows :: RawPtr , pdwregister : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwregister : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pmkobjectname : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pmkobjectname : :: windows :: RawPtr , ppunkobject : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwregister : u32 , pfiletime : * mut super::super::Foundation:: FILETIME , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pmkobjectname : :: windows :: RawPtr , pfiletime : * mut super::super::Foundation:: FILETIME , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppenummoniker : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IServerSecurity ( :: windows :: IUnknown ) ; impl IServerSecurity { pub unsafe fn QueryBlanket < > ( & self , pauthnsvc : * mut u32 , pauthzsvc : * mut u32 , pserverprincname : * mut * mut u16 , pauthnlevel : * mut u32 , pimplevel : * mut u32 , pprivs : * mut * mut :: std :: ffi :: c_void , pcapabilities : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pauthnsvc ) , :: std :: mem :: transmute ( pauthzsvc ) , :: std :: mem :: transmute ( pserverprincname ) , :: std :: mem :: transmute ( pauthnlevel ) , :: std :: mem :: transmute ( pimplevel ) , :: std :: mem :: transmute ( pprivs ) , :: std :: mem :: transmute ( pcapabilities ) , ) . ok ( ) } pub unsafe fn ImpersonateClient < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn RevertToSelf < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn IsImpersonating < > ( & self , ) -> super::super::Foundation:: BOOL { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , ) } } unsafe impl :: windows :: Interface for IServerSecurity { type Vtable = IServerSecurity_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 318 ,0 ,0 , [ 192 ,0 ,0 ,0 ,0 ,0 ,0 ,70 ] , ) ; } impl :: std :: convert :: From < IServerSecurity > for :: windows :: IUnknown { fn from ( value : IServerSecurity ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IServerSecurity > for :: windows :: IUnknown { fn from ( value : & IServerSecurity ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IServerSecurity { 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 IServerSecurity { 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 IServerSecurity_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 , pauthnsvc : * mut u32 , pauthzsvc : * mut u32 , pserverprincname : * mut * mut u16 , pauthnlevel : * mut u32 , pimplevel : * mut u32 , pprivs : * mut * mut :: std :: ffi :: c_void , pcapabilities : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> super::super::Foundation:: BOOL , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct ISimpleFrameSite ( :: windows :: IUnknown ) ; impl ISimpleFrameSite { pub unsafe fn PreMessageFilter < 'a , > ( & self , hwnd : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HWND > , msg : u32 , wp : impl :: windows :: IntoParam < 'a , super::super::Foundation:: WPARAM > , lp : impl :: windows :: IntoParam < 'a , super::super::Foundation:: LPARAM > , plresult : * mut super::super::Foundation:: LRESULT , pdwcookie : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , hwnd . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( msg ) , wp . into_param ( ) . abi ( ) , lp . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( plresult ) , :: std :: mem :: transmute ( pdwcookie ) , ) . ok ( ) } pub unsafe fn PostMessageFilter < 'a , > ( & self , hwnd : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HWND > , msg : u32 , wp : impl :: windows :: IntoParam < 'a , super::super::Foundation:: WPARAM > , lp : impl :: windows :: IntoParam < 'a , super::super::Foundation:: LPARAM > , plresult : * mut super::super::Foundation:: LRESULT , dwcookie : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , hwnd . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( msg ) , wp . into_param ( ) . abi ( ) , lp . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( plresult ) , :: std :: mem :: transmute ( dwcookie ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for ISimpleFrameSite { type Vtable = ISimpleFrameSite_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 1948978689 ,5350 ,4123 , [ 145 ,78 ,0 ,170 ,0 ,48 ,12 ,171 ] , ) ; } impl :: std :: convert :: From < ISimpleFrameSite > for :: windows :: IUnknown { fn from ( value : ISimpleFrameSite ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & ISimpleFrameSite > for :: windows :: IUnknown { fn from ( value : & ISimpleFrameSite ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for ISimpleFrameSite { 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 ISimpleFrameSite { 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 ISimpleFrameSite_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 , hwnd : super::super::Foundation:: HWND , msg : u32 , wp : super::super::Foundation:: WPARAM , lp : super::super::Foundation:: LPARAM , plresult : * mut super::super::Foundation:: LRESULT , pdwcookie : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , hwnd : super::super::Foundation:: HWND , msg : u32 , wp : super::super::Foundation:: WPARAM , lp : super::super::Foundation:: LPARAM , plresult : * mut super::super::Foundation:: LRESULT , dwcookie : u32 , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct ISoftDistExt ( :: windows :: IUnknown ) ; impl ISoftDistExt { pub unsafe fn ProcessSoftDist < 'a , > ( & self , szcdfurl : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , psoftdistelement : impl :: windows :: IntoParam < 'a , super::super::Data::Xml::MsXml:: IXMLElement > , lpsdi : * mut super::super::UI::Shell:: SOFTDISTINFO , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , szcdfurl . into_param ( ) . abi ( ) , psoftdistelement . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpsdi ) , ) . ok ( ) } pub unsafe fn GetFirstCodeBase < > ( & self , szcodebase : * mut super::super::Foundation:: PWSTR , dwmaxsize : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( szcodebase ) , :: std :: mem :: transmute ( dwmaxsize ) , ) . ok ( ) } pub unsafe fn GetNextCodeBase < > ( & self , szcodebase : * mut super::super::Foundation:: PWSTR , dwmaxsize : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( szcodebase ) , :: std :: mem :: transmute ( dwmaxsize ) , ) . ok ( ) } pub unsafe fn AsyncInstallDistributionUnit < 'a , > ( & self , pbc : impl :: windows :: IntoParam < 'a , IBindCtx > , pvreserved : * mut :: std :: ffi :: c_void , flags : u32 , lpcbh : * mut CODEBASEHOLD , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , pbc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pvreserved ) , :: std :: mem :: transmute ( flags ) , :: std :: mem :: transmute ( lpcbh ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for ISoftDistExt { type Vtable = ISoftDistExt_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2975567297 ,51169 ,4560 , [ 134 ,128 ,0 ,170 ,0 ,189 ,203 ,113 ] , ) ; } impl :: std :: convert :: From < ISoftDistExt > for :: windows :: IUnknown { fn from ( value : ISoftDistExt ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & ISoftDistExt > for :: windows :: IUnknown { fn from ( value : & ISoftDistExt ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for ISoftDistExt { 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 ISoftDistExt { 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 ISoftDistExt_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 , szcdfurl : super::super::Foundation:: PWSTR , psoftdistelement : :: windows :: RawPtr , lpsdi : * mut super::super::UI::Shell:: SOFTDISTINFO , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , szcodebase : * mut super::super::Foundation:: PWSTR , dwmaxsize : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , szcodebase : * mut super::super::Foundation:: PWSTR , dwmaxsize : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pbc : :: windows :: RawPtr , pvreserved : * mut :: std :: ffi :: c_void , flags : u32 , lpcbh : * mut CODEBASEHOLD , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct ISpecifyPropertyPages ( :: windows :: IUnknown ) ; impl ISpecifyPropertyPages { pub unsafe fn GetPages < > ( & self , ) -> :: windows :: Result < CAUUID > { let mut result__ : < CAUUID as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < CAUUID > ( result__ ) } } unsafe impl :: windows :: Interface for ISpecifyPropertyPages { type Vtable = ISpecifyPropertyPages_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2979443339 ,47796 ,4122 , [ 182 ,156 ,0 ,170 ,0 ,52 ,29 ,7 ] , ) ; } impl :: std :: convert :: From < ISpecifyPropertyPages > for :: windows :: IUnknown { fn from ( value : ISpecifyPropertyPages ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & ISpecifyPropertyPages > for :: windows :: IUnknown { fn from ( value : & ISpecifyPropertyPages ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for ISpecifyPropertyPages { 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 ISpecifyPropertyPages { 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 ISpecifyPropertyPages_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 , ppages : * mut CAUUID , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IStdMarshalInfo ( :: windows :: IUnknown ) ; impl IStdMarshalInfo { pub unsafe fn GetClassForHandler < > ( & self , dwdestcontext : u32 , pvdestcontext : * mut :: std :: ffi :: c_void , pclsid : * mut :: windows :: Guid , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwdestcontext ) , :: std :: mem :: transmute ( pvdestcontext ) , :: std :: mem :: transmute ( pclsid ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IStdMarshalInfo { type Vtable = IStdMarshalInfo_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 24 ,0 ,0 , [ 192 ,0 ,0 ,0 ,0 ,0 ,0 ,70 ] , ) ; } impl :: std :: convert :: From < IStdMarshalInfo > for :: windows :: IUnknown { fn from ( value : IStdMarshalInfo ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IStdMarshalInfo > for :: windows :: IUnknown { fn from ( value : & IStdMarshalInfo ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IStdMarshalInfo { 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 IStdMarshalInfo { 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 IStdMarshalInfo_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 , dwdestcontext : u32 , pvdestcontext : * mut :: std :: ffi :: c_void , pclsid : * mut :: windows :: Guid , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct ISurrogate ( :: windows :: IUnknown ) ; impl ISurrogate { pub unsafe fn LoadDllServer < > ( & self , clsid : * const :: windows :: Guid , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( clsid ) , ) . ok ( ) } pub unsafe fn FreeSurrogate < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for ISurrogate { type Vtable = ISurrogate_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 34 ,0 ,0 , [ 192 ,0 ,0 ,0 ,0 ,0 ,0 ,70 ] , ) ; } impl :: std :: convert :: From < ISurrogate > for :: windows :: IUnknown { fn from ( value : ISurrogate ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & ISurrogate > for :: windows :: IUnknown { fn from ( value : & ISurrogate ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for ISurrogate { 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 ISurrogate { 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 ISurrogate_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 , clsid : * const :: windows :: Guid , ) -> :: 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 ISurrogateService ( :: windows :: IUnknown ) ; impl ISurrogateService { pub unsafe fn Init < 'a , > ( & self , rguidprocessid : * const :: windows :: Guid , pprocesslock : impl :: windows :: IntoParam < 'a , IProcessLock > , ) -> :: windows :: Result < super::super::Foundation:: BOOL > { let mut result__ : < super::super::Foundation:: BOOL as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( rguidprocessid ) , pprocesslock . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < super::super::Foundation:: BOOL > ( result__ ) } pub unsafe fn ApplicationLaunch < > ( & self , rguidapplid : * const :: windows :: Guid , apptype : ApplicationType , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( rguidapplid ) , :: std :: mem :: transmute ( apptype ) , ) . ok ( ) } pub unsafe fn ApplicationFree < > ( & self , rguidapplid : * const :: windows :: Guid , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( rguidapplid ) , ) . ok ( ) } pub unsafe fn CatalogRefresh < > ( & self , ulreserved : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ulreserved ) , ) . ok ( ) } pub unsafe fn ProcessShutdown < > ( & self , shutdowntype : ShutdownType , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( shutdowntype ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for ISurrogateService { type Vtable = ISurrogateService_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 468 ,0 ,0 , [ 192 ,0 ,0 ,0 ,0 ,0 ,0 ,70 ] , ) ; } impl :: std :: convert :: From < ISurrogateService > for :: windows :: IUnknown { fn from ( value : ISurrogateService ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & ISurrogateService > for :: windows :: IUnknown { fn from ( value : & ISurrogateService ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for ISurrogateService { 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 ISurrogateService { 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 ISurrogateService_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 , rguidprocessid : * const :: windows :: Guid , pprocesslock : :: windows :: RawPtr , pfapplicationaware : * mut super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , rguidapplid : * const :: windows :: Guid , apptype : ApplicationType , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , rguidapplid : * const :: windows :: Guid , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ulreserved : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , shutdowntype : ShutdownType , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct ISynchronize ( :: windows :: IUnknown ) ; impl ISynchronize { pub unsafe fn Wait < > ( & self , dwflags : u32 , dwmilliseconds : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwflags ) , :: std :: mem :: transmute ( dwmilliseconds ) , ) . ok ( ) } pub unsafe fn Signal < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn Reset < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for ISynchronize { type Vtable = ISynchronize_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 48 ,0 ,0 , [ 192 ,0 ,0 ,0 ,0 ,0 ,0 ,70 ] , ) ; } impl :: std :: convert :: From < ISynchronize > for :: windows :: IUnknown { fn from ( value : ISynchronize ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & ISynchronize > for :: windows :: IUnknown { fn from ( value : & ISynchronize ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for ISynchronize { 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 ISynchronize { 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 ISynchronize_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 , dwflags : u32 , dwmilliseconds : u32 , ) -> :: 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 ISynchronizeContainer ( :: windows :: IUnknown ) ; impl ISynchronizeContainer { pub unsafe fn AddSynchronize < 'a , > ( & self , psync : impl :: windows :: IntoParam < 'a , ISynchronize > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , psync . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn WaitMultiple < > ( & self , dwflags : u32 , dwtimeout : u32 , ) -> :: windows :: Result < ISynchronize > { let mut result__ : < ISynchronize as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwflags ) , :: std :: mem :: transmute ( dwtimeout ) , & mut result__ ) . from_abi :: < ISynchronize > ( result__ ) } } unsafe impl :: windows :: Interface for ISynchronizeContainer { type Vtable = ISynchronizeContainer_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 51 ,0 ,0 , [ 192 ,0 ,0 ,0 ,0 ,0 ,0 ,70 ] , ) ; } impl :: std :: convert :: From < ISynchronizeContainer > for :: windows :: IUnknown { fn from ( value : ISynchronizeContainer ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & ISynchronizeContainer > for :: windows :: IUnknown { fn from ( value : & ISynchronizeContainer ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for ISynchronizeContainer { 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 ISynchronizeContainer { 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 ISynchronizeContainer_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 , psync : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwflags : u32 , dwtimeout : u32 , ppsync : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct ISynchronizeEvent ( :: windows :: IUnknown ) ; impl ISynchronizeEvent { pub unsafe fn GetHandle < > ( & self , ) -> :: windows :: Result < super::super::Foundation:: HANDLE > { let mut result__ : < super::super::Foundation:: HANDLE as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < super::super::Foundation:: HANDLE > ( result__ ) } pub unsafe fn SetEventHandle < > ( & self , ph : * mut super::super::Foundation:: HANDLE , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ph ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for ISynchronizeEvent { type Vtable = ISynchronizeEvent_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 50 ,0 ,0 , [ 192 ,0 ,0 ,0 ,0 ,0 ,0 ,70 ] , ) ; } impl :: std :: convert :: From < ISynchronizeEvent > for :: windows :: IUnknown { fn from ( value : ISynchronizeEvent ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & ISynchronizeEvent > for :: windows :: IUnknown { fn from ( value : & ISynchronizeEvent ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for ISynchronizeEvent { 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 ISynchronizeEvent { 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 < ISynchronizeEvent > for ISynchronizeHandle { fn from ( value : ISynchronizeEvent ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & ISynchronizeEvent > for ISynchronizeHandle { fn from ( value : & ISynchronizeEvent ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , ISynchronizeHandle > for ISynchronizeEvent { fn into_param ( self ) -> :: windows :: Param < 'a , ISynchronizeHandle > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < ISynchronizeHandle > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , ISynchronizeHandle > for & 'a ISynchronizeEvent { fn into_param ( self ) -> :: windows :: Param < 'a , ISynchronizeHandle > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < ISynchronizeHandle > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct ISynchronizeEvent_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 , ph : * mut super::super::Foundation:: HANDLE , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ph : * mut super::super::Foundation:: HANDLE , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct ISynchronizeHandle ( :: windows :: IUnknown ) ; impl ISynchronizeHandle { pub unsafe fn GetHandle < > ( & self , ) -> :: windows :: Result < super::super::Foundation:: HANDLE > { let mut result__ : < super::super::Foundation:: HANDLE as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < super::super::Foundation:: HANDLE > ( result__ ) } } unsafe impl :: windows :: Interface for ISynchronizeHandle { type Vtable = ISynchronizeHandle_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 49 ,0 ,0 , [ 192 ,0 ,0 ,0 ,0 ,0 ,0 ,70 ] , ) ; } impl :: std :: convert :: From < ISynchronizeHandle > for :: windows :: IUnknown { fn from ( value : ISynchronizeHandle ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & ISynchronizeHandle > for :: windows :: IUnknown { fn from ( value : & ISynchronizeHandle ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for ISynchronizeHandle { 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 ISynchronizeHandle { 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 ISynchronizeHandle_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 , ph : * mut super::super::Foundation:: HANDLE , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct ISynchronizeMutex ( :: windows :: IUnknown ) ; impl ISynchronizeMutex { pub unsafe fn Wait < > ( & self , dwflags : u32 , dwmilliseconds : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwflags ) , :: std :: mem :: transmute ( dwmilliseconds ) , ) . ok ( ) } pub unsafe fn Signal < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn Reset < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn ReleaseMutex < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for ISynchronizeMutex { type Vtable = ISynchronizeMutex_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 37 ,0 ,0 , [ 192 ,0 ,0 ,0 ,0 ,0 ,0 ,70 ] , ) ; } impl :: std :: convert :: From < ISynchronizeMutex > for :: windows :: IUnknown { fn from ( value : ISynchronizeMutex ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & ISynchronizeMutex > for :: windows :: IUnknown { fn from ( value : & ISynchronizeMutex ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for ISynchronizeMutex { 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 ISynchronizeMutex { 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 < ISynchronizeMutex > for ISynchronize { fn from ( value : ISynchronizeMutex ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & ISynchronizeMutex > for ISynchronize { fn from ( value : & ISynchronizeMutex ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , ISynchronize > for ISynchronizeMutex { fn into_param ( self ) -> :: windows :: Param < 'a , ISynchronize > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < ISynchronize > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , ISynchronize > for & 'a ISynchronizeMutex { fn into_param ( self ) -> :: windows :: Param < 'a , ISynchronize > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < ISynchronize > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct ISynchronizeMutex_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 , dwflags : u32 , dwmilliseconds : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: 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 IThumbnailExtractor ( :: windows :: IUnknown ) ; impl IThumbnailExtractor { pub unsafe fn ExtractThumbnail < 'a , > ( & self , pstg : impl :: windows :: IntoParam < 'a , super::super::Storage::StructuredStorage:: IStorage > , ullength : u32 , ulheight : u32 , puloutputlength : * mut u32 , puloutputheight : * mut u32 , phoutputbitmap : * mut super::super::Graphics::Gdi:: HBITMAP , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , pstg . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ullength ) , :: std :: mem :: transmute ( ulheight ) , :: std :: mem :: transmute ( puloutputlength ) , :: std :: mem :: transmute ( puloutputheight ) , :: std :: mem :: transmute ( phoutputbitmap ) , ) . ok ( ) } pub unsafe fn OnFileUpdated < 'a , > ( & self , pstg : impl :: windows :: IntoParam < 'a , super::super::Storage::StructuredStorage:: IStorage > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , pstg . into_param ( ) . abi ( ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IThumbnailExtractor { type Vtable = IThumbnailExtractor_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2526922504 ,23670 ,4561 , [ 141 ,134 ,0 ,0 ,248 ,4 ,176 ,87 ] , ) ; } impl :: std :: convert :: From < IThumbnailExtractor > for :: windows :: IUnknown { fn from ( value : IThumbnailExtractor ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IThumbnailExtractor > for :: windows :: IUnknown { fn from ( value : & IThumbnailExtractor ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IThumbnailExtractor { 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 IThumbnailExtractor { 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 IThumbnailExtractor_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 , pstg : :: windows :: RawPtr , ullength : u32 , ulheight : u32 , puloutputlength : * mut u32 , puloutputheight : * mut u32 , phoutputbitmap : * mut super::super::Graphics::Gdi:: HBITMAP , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pstg : :: windows :: RawPtr , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct ITimeAndNoticeControl ( :: windows :: IUnknown ) ; impl ITimeAndNoticeControl { pub unsafe fn SuppressChanges < > ( & self , res1 : u32 , res2 : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( res1 ) , :: std :: mem :: transmute ( res2 ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for ITimeAndNoticeControl { type Vtable = ITimeAndNoticeControl_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3154900654 ,34936 ,4561 , [ 131 ,233 ,0 ,192 ,79 ,194 ,198 ,212 ] , ) ; } impl :: std :: convert :: From < ITimeAndNoticeControl > for :: windows :: IUnknown { fn from ( value : ITimeAndNoticeControl ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & ITimeAndNoticeControl > for :: windows :: IUnknown { fn from ( value : & ITimeAndNoticeControl ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for ITimeAndNoticeControl { 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 ITimeAndNoticeControl { 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 ITimeAndNoticeControl_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 , res1 : u32 , res2 : u32 , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IUri ( :: windows :: IUnknown ) ; impl IUri { pub unsafe fn GetPropertyBSTR < > ( & self , uriprop : Uri_PROPERTY , pbstrproperty : * mut super::super::Foundation:: BSTR , dwflags : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( uriprop ) , :: std :: mem :: transmute ( pbstrproperty ) , :: std :: mem :: transmute ( dwflags ) , ) . ok ( ) } pub unsafe fn GetPropertyLength < > ( & self , uriprop : Uri_PROPERTY , pcchproperty : * mut u32 , dwflags : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( uriprop ) , :: std :: mem :: transmute ( pcchproperty ) , :: std :: mem :: transmute ( dwflags ) , ) . ok ( ) } pub unsafe fn GetPropertyDWORD < > ( & self , uriprop : Uri_PROPERTY , pdwproperty : * mut u32 , dwflags : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( uriprop ) , :: std :: mem :: transmute ( pdwproperty ) , :: std :: mem :: transmute ( dwflags ) , ) . ok ( ) } pub unsafe fn HasProperty < > ( & self , uriprop : Uri_PROPERTY , ) -> :: windows :: Result < super::super::Foundation:: BOOL > { let mut result__ : < super::super::Foundation:: BOOL as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( uriprop ) , & mut result__ ) . from_abi :: < super::super::Foundation:: BOOL > ( result__ ) } pub unsafe fn GetAbsoluteUri < > ( & self , ) -> :: windows :: Result < super::super::Foundation:: BSTR > { let mut result__ : < super::super::Foundation:: BSTR as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < super::super::Foundation:: BSTR > ( result__ ) } pub unsafe fn GetAuthority < > ( & self , ) -> :: windows :: Result < super::super::Foundation:: BSTR > { let mut result__ : < super::super::Foundation:: BSTR as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < super::super::Foundation:: BSTR > ( result__ ) } pub unsafe fn GetDisplayUri < > ( & self , ) -> :: windows :: Result < super::super::Foundation:: BSTR > { let mut result__ : < super::super::Foundation:: BSTR as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < super::super::Foundation:: BSTR > ( result__ ) } pub unsafe fn GetDomain < > ( & self , ) -> :: windows :: Result < super::super::Foundation:: BSTR > { let mut result__ : < super::super::Foundation:: BSTR as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < super::super::Foundation:: BSTR > ( result__ ) } pub unsafe fn GetExtension < > ( & self , ) -> :: windows :: Result < super::super::Foundation:: BSTR > { let mut result__ : < super::super::Foundation:: BSTR as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .11 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < super::super::Foundation:: BSTR > ( result__ ) } pub unsafe fn GetFragment < > ( & self , ) -> :: windows :: Result < super::super::Foundation:: BSTR > { let mut result__ : < super::super::Foundation:: BSTR as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .12 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < super::super::Foundation:: BSTR > ( result__ ) } pub unsafe fn GetHost < > ( & self , ) -> :: windows :: Result < super::super::Foundation:: BSTR > { let mut result__ : < super::super::Foundation:: BSTR as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .13 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < super::super::Foundation:: BSTR > ( result__ ) } pub unsafe fn GetPassword < > ( & self , ) -> :: windows :: Result < super::super::Foundation:: BSTR > { let mut result__ : < super::super::Foundation:: BSTR as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .14 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < super::super::Foundation:: BSTR > ( result__ ) } pub unsafe fn GetPath < > ( & self , ) -> :: windows :: Result < super::super::Foundation:: BSTR > { let mut result__ : < super::super::Foundation:: BSTR as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .15 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < super::super::Foundation:: BSTR > ( result__ ) } pub unsafe fn GetPathAndQuery < > ( & self , ) -> :: windows :: Result < super::super::Foundation:: BSTR > { let mut result__ : < super::super::Foundation:: BSTR as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .16 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < super::super::Foundation:: BSTR > ( result__ ) } pub unsafe fn GetQuery < > ( & self , ) -> :: windows :: Result < super::super::Foundation:: BSTR > { let mut result__ : < super::super::Foundation:: BSTR as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .17 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < super::super::Foundation:: BSTR > ( result__ ) } pub unsafe fn GetRawUri < > ( & self , ) -> :: windows :: Result < super::super::Foundation:: BSTR > { let mut result__ : < super::super::Foundation:: BSTR as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .18 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < super::super::Foundation:: BSTR > ( result__ ) } pub unsafe fn GetSchemeName < > ( & self , ) -> :: windows :: Result < super::super::Foundation:: BSTR > { let mut result__ : < super::super::Foundation:: BSTR as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .19 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < super::super::Foundation:: BSTR > ( result__ ) } pub unsafe fn GetUserInfo < > ( & self , ) -> :: windows :: Result < super::super::Foundation:: BSTR > { let mut result__ : < super::super::Foundation:: BSTR as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .20 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < super::super::Foundation:: BSTR > ( result__ ) } pub unsafe fn GetUserName < > ( & self , ) -> :: windows :: Result < super::super::Foundation:: BSTR > { let mut result__ : < super::super::Foundation:: BSTR as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .21 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < super::super::Foundation:: BSTR > ( result__ ) } pub unsafe fn GetHostType < > ( & self , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .22 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn GetPort < > ( & self , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .23 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn GetScheme < > ( & self , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .24 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn GetZone < > ( & self , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .25 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn GetProperties < > ( & self , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .26 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn IsEqual < 'a , > ( & self , puri : impl :: windows :: IntoParam < 'a , IUri > , ) -> :: windows :: Result < super::super::Foundation:: BOOL > { let mut result__ : < super::super::Foundation:: BOOL as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .27 ) ( :: windows :: Abi :: abi ( self ) , puri . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < super::super::Foundation:: BOOL > ( result__ ) } } unsafe impl :: windows :: Interface for IUri { type Vtable = IUri_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2745100104 ,27175 ,18455 , [ 166 ,242 ,19 ,145 ,75 ,239 ,88 ,144 ] , ) ; } impl :: std :: convert :: From < IUri > for :: windows :: IUnknown { fn from ( value : IUri ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IUri > for :: windows :: IUnknown { fn from ( value : & IUri ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IUri { 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 IUri { 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 IUri_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 , uriprop : Uri_PROPERTY , pbstrproperty : * mut super::super::Foundation:: BSTR_abi , dwflags : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , uriprop : Uri_PROPERTY , pcchproperty : * mut u32 , dwflags : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , uriprop : Uri_PROPERTY , pdwproperty : * mut u32 , dwflags : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , uriprop : Uri_PROPERTY , pfhasproperty : * mut super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pbstrabsoluteuri : * mut super::super::Foundation:: BSTR_abi , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pbstrauthority : * mut super::super::Foundation:: BSTR_abi , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pbstrdisplaystring : * mut super::super::Foundation:: BSTR_abi , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pbstrdomain : * mut super::super::Foundation:: BSTR_abi , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pbstrextension : * mut super::super::Foundation:: BSTR_abi , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pbstrfragment : * mut super::super::Foundation:: BSTR_abi , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pbstrhost : * mut super::super::Foundation:: BSTR_abi , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pbstrpassword : * mut super::super::Foundation:: BSTR_abi , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pbstrpath : * mut super::super::Foundation:: BSTR_abi , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pbstrpathandquery : * mut super::super::Foundation:: BSTR_abi , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pbstrquery : * mut super::super::Foundation:: BSTR_abi , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pbstrrawuri : * mut super::super::Foundation:: BSTR_abi , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pbstrschemename : * mut super::super::Foundation:: BSTR_abi , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pbstruserinfo : * mut super::super::Foundation:: BSTR_abi , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pbstrusername : * mut super::super::Foundation:: BSTR_abi , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pdwhosttype : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pdwport : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pdwscheme : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pdwzone : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pdwflags : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , puri : :: windows :: RawPtr , pfequal : * mut super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IUriBuilder ( :: windows :: IUnknown ) ; impl IUriBuilder { pub unsafe fn CreateUriSimple < > ( & self , dwallowencodingpropertymask : u32 , dwreserved : usize , ) -> :: windows :: Result < IUri > { let mut result__ : < IUri as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwallowencodingpropertymask ) , :: std :: mem :: transmute ( dwreserved ) , & mut result__ ) . from_abi :: < IUri > ( result__ ) } pub unsafe fn CreateUri < > ( & self , dwcreateflags : u32 , dwallowencodingpropertymask : u32 , dwreserved : usize , ) -> :: windows :: Result < IUri > { let mut result__ : < IUri as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwcreateflags ) , :: std :: mem :: transmute ( dwallowencodingpropertymask ) , :: std :: mem :: transmute ( dwreserved ) , & mut result__ ) . from_abi :: < IUri > ( result__ ) } pub unsafe fn CreateUriWithFlags < > ( & self , dwcreateflags : u32 , dwuribuilderflags : u32 , dwallowencodingpropertymask : u32 , dwreserved : usize , ) -> :: windows :: Result < IUri > { let mut result__ : < IUri as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwcreateflags ) , :: std :: mem :: transmute ( dwuribuilderflags ) , :: std :: mem :: transmute ( dwallowencodingpropertymask ) , :: std :: mem :: transmute ( dwreserved ) , & mut result__ ) . from_abi :: < IUri > ( result__ ) } pub unsafe fn GetIUri < > ( & self , ) -> :: windows :: Result < IUri > { let mut result__ : < IUri as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < IUri > ( result__ ) } pub unsafe fn SetIUri < 'a , > ( & self , piuri : impl :: windows :: IntoParam < 'a , IUri > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , piuri . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn GetFragment < > ( & self , pcchfragment : * mut u32 , ppwzfragment : * mut super::super::Foundation:: PWSTR , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pcchfragment ) , :: std :: mem :: transmute ( ppwzfragment ) , ) . ok ( ) } pub unsafe fn GetHost < > ( & self , pcchhost : * mut u32 , ppwzhost : * mut super::super::Foundation:: PWSTR , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pcchhost ) , :: std :: mem :: transmute ( ppwzhost ) , ) . ok ( ) } pub unsafe fn GetPassword < > ( & self , pcchpassword : * mut u32 , ppwzpassword : * mut super::super::Foundation:: PWSTR , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pcchpassword ) , :: std :: mem :: transmute ( ppwzpassword ) , ) . ok ( ) } pub unsafe fn GetPath < > ( & self , pcchpath : * mut u32 , ppwzpath : * mut super::super::Foundation:: PWSTR , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .11 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pcchpath ) , :: std :: mem :: transmute ( ppwzpath ) , ) . ok ( ) } pub unsafe fn GetPort < > ( & self , pfhasport : * mut super::super::Foundation:: BOOL , pdwport : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .12 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pfhasport ) , :: std :: mem :: transmute ( pdwport ) , ) . ok ( ) } pub unsafe fn GetQuery < > ( & self , pcchquery : * mut u32 , ppwzquery : * mut super::super::Foundation:: PWSTR , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .13 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pcchquery ) , :: std :: mem :: transmute ( ppwzquery ) , ) . ok ( ) } pub unsafe fn GetSchemeName < > ( & self , pcchschemename : * mut u32 , ppwzschemename : * mut super::super::Foundation:: PWSTR , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .14 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pcchschemename ) , :: std :: mem :: transmute ( ppwzschemename ) , ) . ok ( ) } pub unsafe fn GetUserName < > ( & self , pcchusername : * mut u32 , ppwzusername : * mut super::super::Foundation:: PWSTR , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .15 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pcchusername ) , :: std :: mem :: transmute ( ppwzusername ) , ) . ok ( ) } pub unsafe fn SetFragment < 'a , > ( & self , pwznewvalue : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .16 ) ( :: windows :: Abi :: abi ( self ) , pwznewvalue . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn SetHost < 'a , > ( & self , pwznewvalue : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .17 ) ( :: windows :: Abi :: abi ( self ) , pwznewvalue . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn SetPassword < 'a , > ( & self , pwznewvalue : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .18 ) ( :: windows :: Abi :: abi ( self ) , pwznewvalue . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn SetPath < 'a , > ( & self , pwznewvalue : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .19 ) ( :: windows :: Abi :: abi ( self ) , pwznewvalue . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn SetPort < 'a , > ( & self , fhasport : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , dwnewvalue : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .20 ) ( :: windows :: Abi :: abi ( self ) , fhasport . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwnewvalue ) , ) . ok ( ) } pub unsafe fn SetQuery < 'a , > ( & self , pwznewvalue : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .21 ) ( :: windows :: Abi :: abi ( self ) , pwznewvalue . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn SetSchemeName < 'a , > ( & self , pwznewvalue : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .22 ) ( :: windows :: Abi :: abi ( self ) , pwznewvalue . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn SetUserName < 'a , > ( & self , pwznewvalue : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .23 ) ( :: windows :: Abi :: abi ( self ) , pwznewvalue . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn RemoveProperties < > ( & self , dwpropertymask : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .24 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwpropertymask ) , ) . ok ( ) } pub unsafe fn HasBeenModified < > ( & self , ) -> :: windows :: Result < super::super::Foundation:: BOOL > { let mut result__ : < super::super::Foundation:: BOOL as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .25 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < super::super::Foundation:: BOOL > ( result__ ) } } unsafe impl :: windows :: Interface for IUriBuilder { type Vtable = IUriBuilder_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 1109504737 ,35157 ,18112 , [ 189 ,91 ,222 ,152 ,151 ,86 ,93 ,231 ] , ) ; } impl :: std :: convert :: From < IUriBuilder > for :: windows :: IUnknown { fn from ( value : IUriBuilder ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IUriBuilder > for :: windows :: IUnknown { fn from ( value : & IUriBuilder ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IUriBuilder { 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 IUriBuilder { 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 IUriBuilder_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 , dwallowencodingpropertymask : u32 , dwreserved : usize , ppiuri : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwcreateflags : u32 , dwallowencodingpropertymask : u32 , dwreserved : usize , ppiuri : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwcreateflags : u32 , dwuribuilderflags : u32 , dwallowencodingpropertymask : u32 , dwreserved : usize , ppiuri : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ppiuri : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , piuri : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pcchfragment : * mut u32 , ppwzfragment : * mut super::super::Foundation:: PWSTR , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pcchhost : * mut u32 , ppwzhost : * mut super::super::Foundation:: PWSTR , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pcchpassword : * mut u32 , ppwzpassword : * mut super::super::Foundation:: PWSTR , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pcchpath : * mut u32 , ppwzpath : * mut super::super::Foundation:: PWSTR , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pfhasport : * mut super::super::Foundation:: BOOL , pdwport : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pcchquery : * mut u32 , ppwzquery : * mut super::super::Foundation:: PWSTR , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pcchschemename : * mut u32 , ppwzschemename : * mut super::super::Foundation:: PWSTR , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pcchusername : * mut u32 , ppwzusername : * mut super::super::Foundation:: PWSTR , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pwznewvalue : super::super::Foundation:: PWSTR , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pwznewvalue : super::super::Foundation:: PWSTR , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pwznewvalue : super::super::Foundation:: PWSTR , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pwznewvalue : super::super::Foundation:: PWSTR , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , fhasport : super::super::Foundation:: BOOL , dwnewvalue : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pwznewvalue : super::super::Foundation:: PWSTR , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pwznewvalue : super::super::Foundation:: PWSTR , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pwznewvalue : super::super::Foundation:: PWSTR , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwpropertymask : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pfmodified : * mut super::super::Foundation:: BOOL , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IUriBuilderFactory ( :: windows :: IUnknown ) ; impl IUriBuilderFactory { pub unsafe fn CreateIUriBuilder < > ( & self , dwflags : u32 , dwreserved : usize , ) -> :: windows :: Result < IUriBuilder > { let mut result__ : < IUriBuilder as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwflags ) , :: std :: mem :: transmute ( dwreserved ) , & mut result__ ) . from_abi :: < IUriBuilder > ( result__ ) } pub unsafe fn CreateInitializedIUriBuilder < > ( & self , dwflags : u32 , dwreserved : usize , ) -> :: windows :: Result < IUriBuilder > { let mut result__ : < IUriBuilder as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwflags ) , :: std :: mem :: transmute ( dwreserved ) , & mut result__ ) . from_abi :: < IUriBuilder > ( result__ ) } } unsafe impl :: windows :: Interface for IUriBuilderFactory { type Vtable = IUriBuilderFactory_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3917663816 ,2966 ,17420 , [ 188 ,55 ,12 ,134 ,155 ,39 ,162 ,158 ] , ) ; } impl :: std :: convert :: From < IUriBuilderFactory > for :: windows :: IUnknown { fn from ( value : IUriBuilderFactory ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IUriBuilderFactory > for :: windows :: IUnknown { fn from ( value : & IUriBuilderFactory ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IUriBuilderFactory { 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 IUriBuilderFactory { 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 IUriBuilderFactory_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 , dwflags : u32 , dwreserved : usize , ppiuribuilder : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwflags : u32 , dwreserved : usize , ppiuribuilder : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IUriContainer ( :: windows :: IUnknown ) ; impl IUriContainer { pub unsafe fn GetIUri < > ( & self , ) -> :: windows :: Result < IUri > { let mut result__ : < IUri as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < IUri > ( result__ ) } } unsafe impl :: windows :: Interface for IUriContainer { type Vtable = IUriContainer_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2706941488 ,60783 ,17915 , [ 185 ,135 ,246 ,134 ,118 ,245 ,119 ,82 ] , ) ; } impl :: std :: convert :: From < IUriContainer > for :: windows :: IUnknown { fn from ( value : IUriContainer ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IUriContainer > for :: windows :: IUnknown { fn from ( value : & IUriContainer ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IUriContainer { 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 IUriContainer { 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 IUriContainer_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 , ppiuri : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IUrlMon ( :: windows :: IUnknown ) ; impl IUrlMon { pub unsafe fn AsyncGetClassBits < 'a , > ( & self , rclsid : * const :: windows :: Guid , psztype : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , pszext : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , dwfileversionms : u32 , dwfileversionls : u32 , pszcodebase : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , pbc : impl :: windows :: IntoParam < 'a , IBindCtx > , dwclasscontext : u32 , riid : * const :: windows :: Guid , flags : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( rclsid ) , psztype . into_param ( ) . abi ( ) , pszext . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwfileversionms ) , :: std :: mem :: transmute ( dwfileversionls ) , pszcodebase . into_param ( ) . abi ( ) , pbc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwclasscontext ) , :: std :: mem :: transmute ( riid ) , :: std :: mem :: transmute ( flags ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IUrlMon { type Vtable = IUrlMon_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 38 ,0 ,0 , [ 192 ,0 ,0 ,0 ,0 ,0 ,0 ,70 ] , ) ; } impl :: std :: convert :: From < IUrlMon > for :: windows :: IUnknown { fn from ( value : IUrlMon ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IUrlMon > for :: windows :: IUnknown { fn from ( value : & IUrlMon ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IUrlMon { 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 IUrlMon { 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 IUrlMon_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 , rclsid : * const :: windows :: Guid , psztype : super::super::Foundation:: PWSTR , pszext : super::super::Foundation:: PWSTR , dwfileversionms : u32 , dwfileversionls : u32 , pszcodebase : super::super::Foundation:: PWSTR , pbc : :: windows :: RawPtr , dwclasscontext : u32 , riid : * const :: windows :: Guid , flags : u32 , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IVBFormat ( :: windows :: IUnknown ) ; impl IVBFormat { pub unsafe fn Format < 'a , > ( & self , vdata : * mut super::OleAutomation:: VARIANT , bstrformat : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BSTR > , lpbuffer : * mut :: std :: ffi :: c_void , cb : u16 , lcid : i32 , sfirstdayofweek : i16 , sfirstweekofyear : u16 , rcb : * mut u16 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( vdata ) , bstrformat . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpbuffer ) , :: std :: mem :: transmute ( cb ) , :: std :: mem :: transmute ( lcid ) , :: std :: mem :: transmute ( sfirstdayofweek ) , :: std :: mem :: transmute ( sfirstweekofyear ) , :: std :: mem :: transmute ( rcb ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IVBFormat { type Vtable = IVBFormat_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2554985824 ,14184 ,4123 , [ 141 ,114 ,174 ,97 ,100 ,255 ,227 ,207 ] , ) ; } impl :: std :: convert :: From < IVBFormat > for :: windows :: IUnknown { fn from ( value : IVBFormat ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IVBFormat > for :: windows :: IUnknown { fn from ( value : & IVBFormat ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IVBFormat { 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 IVBFormat { 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 IVBFormat_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 , vdata : * mut super::OleAutomation:: VARIANT_abi , bstrformat : super::super::Foundation:: BSTR_abi , lpbuffer : * mut :: std :: ffi :: c_void , cb : u16 , lcid : i32 , sfirstdayofweek : i16 , sfirstweekofyear : u16 , rcb : * mut u16 , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IVBGetControl ( :: windows :: IUnknown ) ; impl IVBGetControl { pub unsafe fn EnumControls < > ( & self , dwolecontf : OLECONTF , dwwhich : ENUM_CONTROLS_WHICH_FLAGS , ) -> :: windows :: Result < IEnumUnknown > { let mut result__ : < IEnumUnknown as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwolecontf ) , :: std :: mem :: transmute ( dwwhich ) , & mut result__ ) . from_abi :: < IEnumUnknown > ( result__ ) } } unsafe impl :: windows :: Interface for IVBGetControl { type Vtable = IVBGetControl_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 1084248224 ,15409 ,4123 , [ 168 ,46 ,8 ,0 ,43 ,43 ,35 ,55 ] , ) ; } impl :: std :: convert :: From < IVBGetControl > for :: windows :: IUnknown { fn from ( value : IVBGetControl ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IVBGetControl > for :: windows :: IUnknown { fn from ( value : & IVBGetControl ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IVBGetControl { 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 IVBGetControl { 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 IVBGetControl_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 , dwolecontf : OLECONTF , dwwhich : ENUM_CONTROLS_WHICH_FLAGS , ppenumunk : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IViewObject ( :: windows :: IUnknown ) ; impl IViewObject { pub unsafe fn Draw < 'a , > ( & self , dwdrawaspect : u32 , lindex : i32 , pvaspect : * mut :: std :: ffi :: c_void , ptd : * mut DVTARGETDEVICE , hdctargetdev : impl :: windows :: IntoParam < 'a , super::super::Graphics::Gdi:: HDC > , hdcdraw : impl :: windows :: IntoParam < 'a , super::super::Graphics::Gdi:: HDC > , lprcbounds : * mut super::super::Foundation:: RECTL , lprcwbounds : * mut super::super::Foundation:: RECTL , pfncontinue : isize , dwcontinue : usize , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwdrawaspect ) , :: std :: mem :: transmute ( lindex ) , :: std :: mem :: transmute ( pvaspect ) , :: std :: mem :: transmute ( ptd ) , hdctargetdev . into_param ( ) . abi ( ) , hdcdraw . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lprcbounds ) , :: std :: mem :: transmute ( lprcwbounds ) , :: std :: mem :: transmute ( pfncontinue ) , :: std :: mem :: transmute ( dwcontinue ) , ) . ok ( ) } pub unsafe fn GetColorSet < 'a , > ( & self , dwdrawaspect : u32 , lindex : i32 , pvaspect : * mut :: std :: ffi :: c_void , ptd : * mut DVTARGETDEVICE , hictargetdev : impl :: windows :: IntoParam < 'a , super::super::Graphics::Gdi:: HDC > , ppcolorset : * mut * mut super::super::Graphics::Gdi:: LOGPALETTE , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwdrawaspect ) , :: std :: mem :: transmute ( lindex ) , :: std :: mem :: transmute ( pvaspect ) , :: std :: mem :: transmute ( ptd ) , hictargetdev . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ppcolorset ) , ) . ok ( ) } pub unsafe fn Freeze < > ( & self , dwdrawaspect : u32 , lindex : i32 , pvaspect : * mut :: std :: ffi :: c_void , pdwfreeze : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwdrawaspect ) , :: std :: mem :: transmute ( lindex ) , :: std :: mem :: transmute ( pvaspect ) , :: std :: mem :: transmute ( pdwfreeze ) , ) . ok ( ) } pub unsafe fn Unfreeze < > ( & self , dwfreeze : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwfreeze ) , ) . ok ( ) } pub unsafe fn SetAdvise < 'a , > ( & self , aspects : u32 , advf : u32 , padvsink : impl :: windows :: IntoParam < 'a , IAdviseSink > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( aspects ) , :: std :: mem :: transmute ( advf ) , padvsink . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn GetAdvise < > ( & self , paspects : * mut u32 , padvf : * mut u32 , ppadvsink : * mut :: std :: option :: Option < IAdviseSink > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( paspects ) , :: std :: mem :: transmute ( padvf ) , :: std :: mem :: transmute ( ppadvsink ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IViewObject { type Vtable = IViewObject_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 269 ,0 ,0 , [ 192 ,0 ,0 ,0 ,0 ,0 ,0 ,70 ] , ) ; } impl :: std :: convert :: From < IViewObject > for :: windows :: IUnknown { fn from ( value : IViewObject ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IViewObject > for :: windows :: IUnknown { fn from ( value : & IViewObject ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IViewObject { 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 IViewObject { 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 IViewObject_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 , dwdrawaspect : u32 , lindex : i32 , pvaspect : * mut :: std :: ffi :: c_void , ptd : * mut DVTARGETDEVICE , hdctargetdev : super::super::Graphics::Gdi:: HDC , hdcdraw : super::super::Graphics::Gdi:: HDC , lprcbounds : * mut super::super::Foundation:: RECTL , lprcwbounds : * mut super::super::Foundation:: RECTL , pfncontinue : isize , dwcontinue : usize , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwdrawaspect : u32 , lindex : i32 , pvaspect : * mut :: std :: ffi :: c_void , ptd : * mut DVTARGETDEVICE , hictargetdev : super::super::Graphics::Gdi:: HDC , ppcolorset : * mut * mut super::super::Graphics::Gdi:: LOGPALETTE , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwdrawaspect : u32 , lindex : i32 , pvaspect : * mut :: std :: ffi :: c_void , pdwfreeze : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwfreeze : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , aspects : u32 , advf : u32 , padvsink : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , paspects : * mut u32 , padvf : * mut u32 , ppadvsink : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IViewObject2 ( :: windows :: IUnknown ) ; impl IViewObject2 { pub unsafe fn Draw < 'a , > ( & self , dwdrawaspect : u32 , lindex : i32 , pvaspect : * mut :: std :: ffi :: c_void , ptd : * mut DVTARGETDEVICE , hdctargetdev : impl :: windows :: IntoParam < 'a , super::super::Graphics::Gdi:: HDC > , hdcdraw : impl :: windows :: IntoParam < 'a , super::super::Graphics::Gdi:: HDC > , lprcbounds : * mut super::super::Foundation:: RECTL , lprcwbounds : * mut super::super::Foundation:: RECTL , pfncontinue : isize , dwcontinue : usize , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwdrawaspect ) , :: std :: mem :: transmute ( lindex ) , :: std :: mem :: transmute ( pvaspect ) , :: std :: mem :: transmute ( ptd ) , hdctargetdev . into_param ( ) . abi ( ) , hdcdraw . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lprcbounds ) , :: std :: mem :: transmute ( lprcwbounds ) , :: std :: mem :: transmute ( pfncontinue ) , :: std :: mem :: transmute ( dwcontinue ) , ) . ok ( ) } pub unsafe fn GetColorSet < 'a , > ( & self , dwdrawaspect : u32 , lindex : i32 , pvaspect : * mut :: std :: ffi :: c_void , ptd : * mut DVTARGETDEVICE , hictargetdev : impl :: windows :: IntoParam < 'a , super::super::Graphics::Gdi:: HDC > , ppcolorset : * mut * mut super::super::Graphics::Gdi:: LOGPALETTE , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwdrawaspect ) , :: std :: mem :: transmute ( lindex ) , :: std :: mem :: transmute ( pvaspect ) , :: std :: mem :: transmute ( ptd ) , hictargetdev . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ppcolorset ) , ) . ok ( ) } pub unsafe fn Freeze < > ( & self , dwdrawaspect : u32 , lindex : i32 , pvaspect : * mut :: std :: ffi :: c_void , pdwfreeze : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwdrawaspect ) , :: std :: mem :: transmute ( lindex ) , :: std :: mem :: transmute ( pvaspect ) , :: std :: mem :: transmute ( pdwfreeze ) , ) . ok ( ) } pub unsafe fn Unfreeze < > ( & self , dwfreeze : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwfreeze ) , ) . ok ( ) } pub unsafe fn SetAdvise < 'a , > ( & self , aspects : u32 , advf : u32 , padvsink : impl :: windows :: IntoParam < 'a , IAdviseSink > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( aspects ) , :: std :: mem :: transmute ( advf ) , padvsink . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn GetAdvise < > ( & self , paspects : * mut u32 , padvf : * mut u32 , ppadvsink : * mut :: std :: option :: Option < IAdviseSink > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( paspects ) , :: std :: mem :: transmute ( padvf ) , :: std :: mem :: transmute ( ppadvsink ) , ) . ok ( ) } pub unsafe fn GetExtent < > ( & self , dwdrawaspect : u32 , lindex : i32 , ptd : * mut DVTARGETDEVICE , ) -> :: windows :: Result < super::super::Foundation:: SIZE > { let mut result__ : < super::super::Foundation:: SIZE as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwdrawaspect ) , :: std :: mem :: transmute ( lindex ) , :: std :: mem :: transmute ( ptd ) , & mut result__ ) . from_abi :: < super::super::Foundation:: SIZE > ( result__ ) } } unsafe impl :: windows :: Interface for IViewObject2 { type Vtable = IViewObject2_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 295 ,0 ,0 , [ 192 ,0 ,0 ,0 ,0 ,0 ,0 ,70 ] , ) ; } impl :: std :: convert :: From < IViewObject2 > for :: windows :: IUnknown { fn from ( value : IViewObject2 ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IViewObject2 > for :: windows :: IUnknown { fn from ( value : & IViewObject2 ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IViewObject2 { 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 IViewObject2 { 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 < IViewObject2 > for IViewObject { fn from ( value : IViewObject2 ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IViewObject2 > for IViewObject { fn from ( value : & IViewObject2 ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IViewObject > for IViewObject2 { fn into_param ( self ) -> :: windows :: Param < 'a , IViewObject > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IViewObject > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IViewObject > for & 'a IViewObject2 { fn into_param ( self ) -> :: windows :: Param < 'a , IViewObject > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IViewObject > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IViewObject2_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 , dwdrawaspect : u32 , lindex : i32 , pvaspect : * mut :: std :: ffi :: c_void , ptd : * mut DVTARGETDEVICE , hdctargetdev : super::super::Graphics::Gdi:: HDC , hdcdraw : super::super::Graphics::Gdi:: HDC , lprcbounds : * mut super::super::Foundation:: RECTL , lprcwbounds : * mut super::super::Foundation:: RECTL , pfncontinue : isize , dwcontinue : usize , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwdrawaspect : u32 , lindex : i32 , pvaspect : * mut :: std :: ffi :: c_void , ptd : * mut DVTARGETDEVICE , hictargetdev : super::super::Graphics::Gdi:: HDC , ppcolorset : * mut * mut super::super::Graphics::Gdi:: LOGPALETTE , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwdrawaspect : u32 , lindex : i32 , pvaspect : * mut :: std :: ffi :: c_void , pdwfreeze : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwfreeze : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , aspects : u32 , advf : u32 , padvsink : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , paspects : * mut u32 , padvf : * mut u32 , ppadvsink : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwdrawaspect : u32 , lindex : i32 , ptd : * mut DVTARGETDEVICE , lpsizel : * mut super::super::Foundation:: SIZE , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IViewObjectEx ( :: windows :: IUnknown ) ; impl IViewObjectEx { pub unsafe fn Draw < 'a , > ( & self , dwdrawaspect : u32 , lindex : i32 , pvaspect : * mut :: std :: ffi :: c_void , ptd : * mut DVTARGETDEVICE , hdctargetdev : impl :: windows :: IntoParam < 'a , super::super::Graphics::Gdi:: HDC > , hdcdraw : impl :: windows :: IntoParam < 'a , super::super::Graphics::Gdi:: HDC > , lprcbounds : * mut super::super::Foundation:: RECTL , lprcwbounds : * mut super::super::Foundation:: RECTL , pfncontinue : isize , dwcontinue : usize , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwdrawaspect ) , :: std :: mem :: transmute ( lindex ) , :: std :: mem :: transmute ( pvaspect ) , :: std :: mem :: transmute ( ptd ) , hdctargetdev . into_param ( ) . abi ( ) , hdcdraw . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lprcbounds ) , :: std :: mem :: transmute ( lprcwbounds ) , :: std :: mem :: transmute ( pfncontinue ) , :: std :: mem :: transmute ( dwcontinue ) , ) . ok ( ) } pub unsafe fn GetColorSet < 'a , > ( & self , dwdrawaspect : u32 , lindex : i32 , pvaspect : * mut :: std :: ffi :: c_void , ptd : * mut DVTARGETDEVICE , hictargetdev : impl :: windows :: IntoParam < 'a , super::super::Graphics::Gdi:: HDC > , ppcolorset : * mut * mut super::super::Graphics::Gdi:: LOGPALETTE , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwdrawaspect ) , :: std :: mem :: transmute ( lindex ) , :: std :: mem :: transmute ( pvaspect ) , :: std :: mem :: transmute ( ptd ) , hictargetdev . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ppcolorset ) , ) . ok ( ) } pub unsafe fn Freeze < > ( & self , dwdrawaspect : u32 , lindex : i32 , pvaspect : * mut :: std :: ffi :: c_void , pdwfreeze : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwdrawaspect ) , :: std :: mem :: transmute ( lindex ) , :: std :: mem :: transmute ( pvaspect ) , :: std :: mem :: transmute ( pdwfreeze ) , ) . ok ( ) } pub unsafe fn Unfreeze < > ( & self , dwfreeze : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwfreeze ) , ) . ok ( ) } pub unsafe fn SetAdvise < 'a , > ( & self , aspects : u32 , advf : u32 , padvsink : impl :: windows :: IntoParam < 'a , IAdviseSink > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( aspects ) , :: std :: mem :: transmute ( advf ) , padvsink . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn GetAdvise < > ( & self , paspects : * mut u32 , padvf : * mut u32 , ppadvsink : * mut :: std :: option :: Option < IAdviseSink > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( paspects ) , :: std :: mem :: transmute ( padvf ) , :: std :: mem :: transmute ( ppadvsink ) , ) . ok ( ) } pub unsafe fn GetExtent < > ( & self , dwdrawaspect : u32 , lindex : i32 , ptd : * mut DVTARGETDEVICE , ) -> :: windows :: Result < super::super::Foundation:: SIZE > { let mut result__ : < super::super::Foundation:: SIZE as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwdrawaspect ) , :: std :: mem :: transmute ( lindex ) , :: std :: mem :: transmute ( ptd ) , & mut result__ ) . from_abi :: < super::super::Foundation:: SIZE > ( result__ ) } pub unsafe fn GetRect < > ( & self , dwaspect : u32 , ) -> :: windows :: Result < super::super::Foundation:: RECTL > { let mut result__ : < super::super::Foundation:: RECTL as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwaspect ) , & mut result__ ) . from_abi :: < super::super::Foundation:: RECTL > ( result__ ) } pub unsafe fn GetViewStatus < > ( & self , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .11 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn QueryHitPoint < 'a , > ( & self , dwaspect : u32 , prectbounds : * mut super::super::Foundation:: RECT , ptlloc : impl :: windows :: IntoParam < 'a , super::super::Foundation:: POINT > , lclosehint : i32 , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .12 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwaspect ) , :: std :: mem :: transmute ( prectbounds ) , ptlloc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lclosehint ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn QueryHitRect < > ( & self , dwaspect : u32 , prectbounds : * mut super::super::Foundation:: RECT , prectloc : * mut super::super::Foundation:: RECT , lclosehint : i32 , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .13 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwaspect ) , :: std :: mem :: transmute ( prectbounds ) , :: std :: mem :: transmute ( prectloc ) , :: std :: mem :: transmute ( lclosehint ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn GetNaturalExtent < 'a , > ( & self , dwaspect : DVASPECT , lindex : i32 , ptd : * mut DVTARGETDEVICE , hictargetdev : impl :: windows :: IntoParam < 'a , super::super::Graphics::Gdi:: HDC > , pextentinfo : * mut ExtentInfo , ) -> :: windows :: Result < super::super::Foundation:: SIZE > { let mut result__ : < super::super::Foundation:: SIZE as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .14 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwaspect ) , :: std :: mem :: transmute ( lindex ) , :: std :: mem :: transmute ( ptd ) , hictargetdev . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pextentinfo ) , & mut result__ ) . from_abi :: < super::super::Foundation:: SIZE > ( result__ ) } } unsafe impl :: windows :: Interface for IViewObjectEx { type Vtable = IViewObjectEx_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 988955282 ,3222 ,4558 , [ 160 ,207 ,0 ,170 ,0 ,96 ,10 ,184 ] , ) ; } impl :: std :: convert :: From < IViewObjectEx > for :: windows :: IUnknown { fn from ( value : IViewObjectEx ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IViewObjectEx > for :: windows :: IUnknown { fn from ( value : & IViewObjectEx ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IViewObjectEx { 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 IViewObjectEx { 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 < IViewObjectEx > for IViewObject2 { fn from ( value : IViewObjectEx ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IViewObjectEx > for IViewObject2 { fn from ( value : & IViewObjectEx ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IViewObject2 > for IViewObjectEx { fn into_param ( self ) -> :: windows :: Param < 'a , IViewObject2 > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IViewObject2 > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IViewObject2 > for & 'a IViewObjectEx { fn into_param ( self ) -> :: windows :: Param < 'a , IViewObject2 > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IViewObject2 > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } impl :: std :: convert :: From < IViewObjectEx > for IViewObject { fn from ( value : IViewObjectEx ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IViewObjectEx > for IViewObject { fn from ( value : & IViewObjectEx ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IViewObject > for IViewObjectEx { fn into_param ( self ) -> :: windows :: Param < 'a , IViewObject > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IViewObject > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IViewObject > for & 'a IViewObjectEx { fn into_param ( self ) -> :: windows :: Param < 'a , IViewObject > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IViewObject > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IViewObjectEx_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 , dwdrawaspect : u32 , lindex : i32 , pvaspect : * mut :: std :: ffi :: c_void , ptd : * mut DVTARGETDEVICE , hdctargetdev : super::super::Graphics::Gdi:: HDC , hdcdraw : super::super::Graphics::Gdi:: HDC , lprcbounds : * mut super::super::Foundation:: RECTL , lprcwbounds : * mut super::super::Foundation:: RECTL , pfncontinue : isize , dwcontinue : usize , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwdrawaspect : u32 , lindex : i32 , pvaspect : * mut :: std :: ffi :: c_void , ptd : * mut DVTARGETDEVICE , hictargetdev : super::super::Graphics::Gdi:: HDC , ppcolorset : * mut * mut super::super::Graphics::Gdi:: LOGPALETTE , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwdrawaspect : u32 , lindex : i32 , pvaspect : * mut :: std :: ffi :: c_void , pdwfreeze : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwfreeze : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , aspects : u32 , advf : u32 , padvsink : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , paspects : * mut u32 , padvf : * mut u32 , ppadvsink : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwdrawaspect : u32 , lindex : i32 , ptd : * mut DVTARGETDEVICE , lpsizel : * mut super::super::Foundation:: SIZE , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwaspect : u32 , prect : * mut super::super::Foundation:: RECTL , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pdwstatus : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwaspect : u32 , prectbounds : * mut super::super::Foundation:: RECT , ptlloc : super::super::Foundation:: POINT , lclosehint : i32 , phitresult : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwaspect : u32 , prectbounds : * mut super::super::Foundation:: RECT , prectloc : * mut super::super::Foundation:: RECT , lclosehint : i32 , phitresult : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwaspect : DVASPECT , lindex : i32 , ptd : * mut DVTARGETDEVICE , hictargetdev : super::super::Graphics::Gdi:: HDC , pextentinfo : * mut ExtentInfo , psizel : * mut super::super::Foundation:: SIZE , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IWaitMultiple ( :: windows :: IUnknown ) ; impl IWaitMultiple { pub unsafe fn WaitMultiple < > ( & self , timeout : u32 , ) -> :: windows :: Result < ISynchronize > { let mut result__ : < ISynchronize as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( timeout ) , & mut result__ ) . from_abi :: < ISynchronize > ( result__ ) } pub unsafe fn AddSynchronize < 'a , > ( & self , psync : impl :: windows :: IntoParam < 'a , ISynchronize > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , psync . into_param ( ) . abi ( ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IWaitMultiple { type Vtable = IWaitMultiple_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 43 ,0 ,0 , [ 192 ,0 ,0 ,0 ,0 ,0 ,0 ,70 ] , ) ; } impl :: std :: convert :: From < IWaitMultiple > for :: windows :: IUnknown { fn from ( value : IWaitMultiple ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IWaitMultiple > for :: windows :: IUnknown { fn from ( value : & IWaitMultiple ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IWaitMultiple { 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 IWaitMultiple { 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 IWaitMultiple_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 , timeout : u32 , psync : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , psync : :: windows :: RawPtr , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IWinInetCacheHints ( :: windows :: IUnknown ) ; impl IWinInetCacheHints { pub unsafe fn SetCacheExtension < 'a , > ( & self , pwzext : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , pszcachefile : * mut :: std :: ffi :: c_void , pcbcachefile : * mut u32 , pdwwinineterror : * mut u32 , pdwreserved : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , pwzext . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pszcachefile ) , :: std :: mem :: transmute ( pcbcachefile ) , :: std :: mem :: transmute ( pdwwinineterror ) , :: std :: mem :: transmute ( pdwreserved ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IWinInetCacheHints { type Vtable = IWinInetCacheHints_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3709780915 ,33681 ,20443 , [ 169 ,230 ,52 ,124 ,60 ,170 ,167 ,221 ] , ) ; } impl :: std :: convert :: From < IWinInetCacheHints > for :: windows :: IUnknown { fn from ( value : IWinInetCacheHints ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IWinInetCacheHints > for :: windows :: IUnknown { fn from ( value : & IWinInetCacheHints ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IWinInetCacheHints { 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 IWinInetCacheHints { 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 IWinInetCacheHints_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 , pwzext : super::super::Foundation:: PWSTR , pszcachefile : * mut :: std :: ffi :: c_void , pcbcachefile : * mut u32 , pdwwinineterror : * mut u32 , pdwreserved : * mut u32 , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IWinInetCacheHints2 ( :: windows :: IUnknown ) ; impl IWinInetCacheHints2 { pub unsafe fn SetCacheExtension < 'a , > ( & self , pwzext : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , pszcachefile : * mut :: std :: ffi :: c_void , pcbcachefile : * mut u32 , pdwwinineterror : * mut u32 , pdwreserved : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , pwzext . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pszcachefile ) , :: std :: mem :: transmute ( pcbcachefile ) , :: std :: mem :: transmute ( pdwwinineterror ) , :: std :: mem :: transmute ( pdwreserved ) , ) . ok ( ) } pub unsafe fn SetCacheExtension2 < 'a , > ( & self , pwzext : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , pwzcachefile : super::super::Foundation:: PWSTR , pcchcachefile : * mut u32 , pdwwinineterror : * mut u32 , pdwreserved : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , pwzext . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pwzcachefile ) , :: std :: mem :: transmute ( pcchcachefile ) , :: std :: mem :: transmute ( pdwwinineterror ) , :: std :: mem :: transmute ( pdwreserved ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IWinInetCacheHints2 { type Vtable = IWinInetCacheHints2_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2019012268 ,54047 ,18879 , [ 136 ,78 ,221 ,70 ,223 ,54 ,120 ,10 ] , ) ; } impl :: std :: convert :: From < IWinInetCacheHints2 > for :: windows :: IUnknown { fn from ( value : IWinInetCacheHints2 ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IWinInetCacheHints2 > for :: windows :: IUnknown { fn from ( value : & IWinInetCacheHints2 ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IWinInetCacheHints2 { 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 IWinInetCacheHints2 { 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 < IWinInetCacheHints2 > for IWinInetCacheHints { fn from ( value : IWinInetCacheHints2 ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IWinInetCacheHints2 > for IWinInetCacheHints { fn from ( value : & IWinInetCacheHints2 ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IWinInetCacheHints > for IWinInetCacheHints2 { fn into_param ( self ) -> :: windows :: Param < 'a , IWinInetCacheHints > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IWinInetCacheHints > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IWinInetCacheHints > for & 'a IWinInetCacheHints2 { fn into_param ( self ) -> :: windows :: Param < 'a , IWinInetCacheHints > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IWinInetCacheHints > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IWinInetCacheHints2_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 , pwzext : super::super::Foundation:: PWSTR , pszcachefile : * mut :: std :: ffi :: c_void , pcbcachefile : * mut u32 , pdwwinineterror : * mut u32 , pdwreserved : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , pwzext : super::super::Foundation:: PWSTR , pwzcachefile : super::super::Foundation:: PWSTR , pcchcachefile : * mut u32 , pdwwinineterror : * mut u32 , pdwreserved : * mut u32 , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IWinInetFileStream ( :: windows :: IUnknown ) ; impl IWinInetFileStream { pub unsafe fn SetHandleForUnlock < > ( & self , hwininetlockhandle : usize , dwreserved : usize , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( hwininetlockhandle ) , :: std :: mem :: transmute ( dwreserved ) , ) . ok ( ) } pub unsafe fn SetDeleteFile < > ( & self , dwreserved : usize , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwreserved ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IWinInetFileStream { type Vtable = IWinInetFileStream_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 4046767287 ,45560 ,20085 , [ 184 ,134 ,116 ,185 ,9 ,67 ,190 ,203 ] , ) ; } impl :: std :: convert :: From < IWinInetFileStream > for :: windows :: IUnknown { fn from ( value : IWinInetFileStream ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IWinInetFileStream > for :: windows :: IUnknown { fn from ( value : & IWinInetFileStream ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IWinInetFileStream { 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 IWinInetFileStream { 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 IWinInetFileStream_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 , hwininetlockhandle : usize , dwreserved : usize , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwreserved : usize , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IWinInetHttpInfo ( :: windows :: IUnknown ) ; impl IWinInetHttpInfo { pub unsafe fn QueryOption < > ( & self , dwoption : u32 , pbuffer : * mut :: std :: ffi :: c_void , pcbbuf : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwoption ) , :: std :: mem :: transmute ( pbuffer ) , :: std :: mem :: transmute ( pcbbuf ) , ) . ok ( ) } pub unsafe fn QueryInfo < > ( & self , dwoption : u32 , pbuffer : * mut :: std :: ffi :: c_void , pcbbuf : * mut u32 , pdwflags : * mut u32 , pdwreserved : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwoption ) , :: std :: mem :: transmute ( pbuffer ) , :: std :: mem :: transmute ( pcbbuf ) , :: std :: mem :: transmute ( pdwflags ) , :: std :: mem :: transmute ( pdwreserved ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IWinInetHttpInfo { type Vtable = IWinInetHttpInfo_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2045430232 ,47866 ,4558 , [ 140 ,130 ,0 ,170 ,0 ,75 ,169 ,11 ] , ) ; } impl :: std :: convert :: From < IWinInetHttpInfo > for :: windows :: IUnknown { fn from ( value : IWinInetHttpInfo ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IWinInetHttpInfo > for :: windows :: IUnknown { fn from ( value : & IWinInetHttpInfo ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IWinInetHttpInfo { 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 IWinInetHttpInfo { 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 < IWinInetHttpInfo > for IWinInetInfo { fn from ( value : IWinInetHttpInfo ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IWinInetHttpInfo > for IWinInetInfo { fn from ( value : & IWinInetHttpInfo ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IWinInetInfo > for IWinInetHttpInfo { fn into_param ( self ) -> :: windows :: Param < 'a , IWinInetInfo > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IWinInetInfo > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IWinInetInfo > for & 'a IWinInetHttpInfo { fn into_param ( self ) -> :: windows :: Param < 'a , IWinInetInfo > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IWinInetInfo > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IWinInetHttpInfo_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 , dwoption : u32 , pbuffer : * mut :: std :: ffi :: c_void , pcbbuf : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwoption : u32 , pbuffer : * mut :: std :: ffi :: c_void , pcbbuf : * mut u32 , pdwflags : * mut u32 , pdwreserved : * mut u32 , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IWinInetHttpTimeouts ( :: windows :: IUnknown ) ; impl IWinInetHttpTimeouts { pub unsafe fn GetRequestTimeouts < > ( & self , pdwconnecttimeout : * mut u32 , pdwsendtimeout : * mut u32 , pdwreceivetimeout : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pdwconnecttimeout ) , :: std :: mem :: transmute ( pdwsendtimeout ) , :: std :: mem :: transmute ( pdwreceivetimeout ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IWinInetHttpTimeouts { type Vtable = IWinInetHttpTimeouts_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 4068932182 ,49661 ,17008 , [ 142 ,103 ,179 ,235 ,121 ,10 ,129 ,232 ] , ) ; } impl :: std :: convert :: From < IWinInetHttpTimeouts > for :: windows :: IUnknown { fn from ( value : IWinInetHttpTimeouts ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IWinInetHttpTimeouts > for :: windows :: IUnknown { fn from ( value : & IWinInetHttpTimeouts ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IWinInetHttpTimeouts { 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 IWinInetHttpTimeouts { 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 IWinInetHttpTimeouts_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 , pdwconnecttimeout : * mut u32 , pdwsendtimeout : * mut u32 , pdwreceivetimeout : * mut u32 , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IWinInetInfo ( :: windows :: IUnknown ) ; impl IWinInetInfo { pub unsafe fn QueryOption < > ( & self , dwoption : u32 , pbuffer : * mut :: std :: ffi :: c_void , pcbbuf : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwoption ) , :: std :: mem :: transmute ( pbuffer ) , :: std :: mem :: transmute ( pcbbuf ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IWinInetInfo { type Vtable = IWinInetInfo_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2045430230 ,47866 ,4558 , [ 140 ,130 ,0 ,170 ,0 ,75 ,169 ,11 ] , ) ; } impl :: std :: convert :: From < IWinInetInfo > for :: windows :: IUnknown { fn from ( value : IWinInetInfo ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IWinInetInfo > for :: windows :: IUnknown { fn from ( value : & IWinInetInfo ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IWinInetInfo { 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 IWinInetInfo { 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 IWinInetInfo_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 , dwoption : u32 , pbuffer : * mut :: std :: ffi :: c_void , pcbbuf : * mut u32 , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IWindowForBindingUI ( :: windows :: IUnknown ) ; impl IWindowForBindingUI { pub unsafe fn GetWindow < > ( & self , rguidreason : * const :: windows :: Guid , ) -> :: windows :: Result < super::super::Foundation:: HWND > { let mut result__ : < super::super::Foundation:: HWND as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( rguidreason ) , & mut result__ ) . from_abi :: < super::super::Foundation:: HWND > ( result__ ) } } unsafe impl :: windows :: Interface for IWindowForBindingUI { type Vtable = IWindowForBindingUI_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2045430229 ,47866 ,4558 , [ 140 ,130 ,0 ,170 ,0 ,75 ,169 ,11 ] , ) ; } impl :: std :: convert :: From < IWindowForBindingUI > for :: windows :: IUnknown { fn from ( value : IWindowForBindingUI ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IWindowForBindingUI > for :: windows :: IUnknown { fn from ( value : & IWindowForBindingUI ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IWindowForBindingUI { 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 IWindowForBindingUI { 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 IWindowForBindingUI_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 , rguidreason : * const :: windows :: Guid , phwnd : * mut super::super::Foundation:: HWND , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IWrappedProtocol ( :: windows :: IUnknown ) ; impl IWrappedProtocol { pub unsafe fn GetWrapperCode < > ( & self , pncode : * mut i32 , dwreserved : usize , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( pncode ) , :: std :: mem :: transmute ( dwreserved ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IWrappedProtocol { type Vtable = IWrappedProtocol_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 1405634437 ,33829 ,19909 , [ 151 ,27 ,229 ,141 ,156 ,25 ,249 ,182 ] , ) ; } impl :: std :: convert :: From < IWrappedProtocol > for :: windows :: IUnknown { fn from ( value : IWrappedProtocol ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IWrappedProtocol > for :: windows :: IUnknown { fn from ( value : & IWrappedProtocol ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IWrappedProtocol { 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 IWrappedProtocol { 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 IWrappedProtocol_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 , pncode : * mut i32 , dwreserved : usize , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IZoneIdentifier ( :: windows :: IUnknown ) ; impl IZoneIdentifier { pub unsafe fn GetId < > ( & self , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn SetId < > ( & self , dwzone : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwzone ) , ) . ok ( ) } pub unsafe fn Remove < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IZoneIdentifier { type Vtable = IZoneIdentifier_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3443913093 ,6945 ,18658 , [ 150 ,123 ,234 ,215 ,67 ,168 ,145 ,78 ] , ) ; } impl :: std :: convert :: From < IZoneIdentifier > for :: windows :: IUnknown { fn from ( value : IZoneIdentifier ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IZoneIdentifier > for :: windows :: IUnknown { fn from ( value : & IZoneIdentifier ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IZoneIdentifier { 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 IZoneIdentifier { 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 IZoneIdentifier_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 , pdwzone : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwzone : u32 , ) -> :: 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 IZoneIdentifier2 ( :: windows :: IUnknown ) ; impl IZoneIdentifier2 { pub unsafe fn GetId < > ( & self , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn SetId < > ( & self , dwzone : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dwzone ) , ) . ok ( ) } pub unsafe fn Remove < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn GetLastWriterPackageFamilyName < > ( & self , ) -> :: windows :: Result < super::super::Foundation:: PWSTR > { let mut result__ : < super::super::Foundation:: PWSTR as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < super::super::Foundation:: PWSTR > ( result__ ) } pub unsafe fn SetLastWriterPackageFamilyName < 'a , > ( & self , packagefamilyname : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , packagefamilyname . into_param ( ) . abi ( ) , ) . ok ( ) } pub unsafe fn RemoveLastWriterPackageFamilyName < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .8 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } pub unsafe fn GetAppZoneId < > ( & self , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .9 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn SetAppZoneId < > ( & self , zone : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .10 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( zone ) , ) . ok ( ) } pub unsafe fn RemoveAppZoneId < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .11 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IZoneIdentifier2 { type Vtable = IZoneIdentifier2_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 3948836364 ,2543 ,17856 , [ 181 ,16 ,112 ,131 ,12 ,227 ,30 ,106 ] , ) ; } impl :: std :: convert :: From < IZoneIdentifier2 > for :: windows :: IUnknown { fn from ( value : IZoneIdentifier2 ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IZoneIdentifier2 > for :: windows :: IUnknown { fn from ( value : & IZoneIdentifier2 ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IZoneIdentifier2 { 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 IZoneIdentifier2 { 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 < IZoneIdentifier2 > for IZoneIdentifier { fn from ( value : IZoneIdentifier2 ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IZoneIdentifier2 > for IZoneIdentifier { fn from ( value : & IZoneIdentifier2 ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IZoneIdentifier > for IZoneIdentifier2 { fn into_param ( self ) -> :: windows :: Param < 'a , IZoneIdentifier > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IZoneIdentifier > :: into ( self ) ) } } impl < 'a > :: windows :: IntoParam < 'a , IZoneIdentifier > for & 'a IZoneIdentifier2 { fn into_param ( self ) -> :: windows :: Param < 'a , IZoneIdentifier > { :: windows :: Param :: Owned ( :: std :: convert :: Into :: < IZoneIdentifier > :: into ( :: std :: clone :: Clone :: clone ( self ) ) ) } } # [ repr ( C ) ] # [ doc ( hidden ) ] pub struct IZoneIdentifier2_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 , pdwzone : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dwzone : u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , packagefamilyname : * mut super::super::Foundation:: PWSTR , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , packagefamilyname : super::super::Foundation:: PWSTR , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , zone : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , zone : u32 , ) -> :: 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 IZoomEvents ( :: windows :: IUnknown ) ; impl IZoomEvents { pub unsafe fn OnZoomPercentChanged < > ( & self , ulzoompercent : u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( ulzoompercent ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IZoomEvents { type Vtable = IZoomEvents_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 1102479696 ,36940 ,19991 , [ 160 ,186 ,164 ,56 ,24 ,46 ,53 ,157 ] , ) ; } impl :: std :: convert :: From < IZoomEvents > for :: windows :: IUnknown { fn from ( value : IZoomEvents ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IZoomEvents > for :: windows :: IUnknown { fn from ( value : & IZoomEvents ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IZoomEvents { 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 IZoomEvents { 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 IZoomEvents_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 , ulzoompercent : u32 , ) -> :: windows :: HRESULT , ) ; pub unsafe fn IsAccelerator < 'a , > ( haccel : impl :: windows :: IntoParam < 'a , super::super::UI::WindowsAndMessaging:: HACCEL > , caccelentries : i32 , lpmsg : * mut super::super::UI::WindowsAndMessaging:: MSG , lpwcmd : * mut u16 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn IsAccelerator ( haccel : super::super::UI::WindowsAndMessaging:: HACCEL , caccelentries : i32 , lpmsg : * mut super::super::UI::WindowsAndMessaging:: MSG , lpwcmd : * mut u16 ) -> super::super::Foundation:: BOOL ; } IsAccelerator ( haccel . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( caccelentries ) , :: std :: mem :: transmute ( lpmsg ) , :: std :: mem :: transmute ( lpwcmd ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn IsAsyncMoniker < 'a , > ( pmk : impl :: windows :: IntoParam < 'a , IMoniker > , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="urlmon" ) ] extern "system" { fn IsAsyncMoniker ( pmk : :: windows :: RawPtr ) -> :: windows :: HRESULT ; } IsAsyncMoniker ( pmk . into_param ( ) . abi ( ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn IsLoggingEnabledA < 'a , > ( pszurl : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="urlmon" ) ] extern "system" { fn IsLoggingEnabledA ( pszurl : super::super::Foundation:: PSTR ) -> super::super::Foundation:: BOOL ; } IsLoggingEnabledA ( pszurl . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn IsLoggingEnabledW < 'a , > ( pwszurl : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="urlmon" ) ] extern "system" { fn IsLoggingEnabledW ( pwszurl : super::super::Foundation:: PWSTR ) -> super::super::Foundation:: BOOL ; } IsLoggingEnabledW ( pwszurl . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn IsValidURL < 'a , > ( pbc : impl :: windows :: IntoParam < 'a , IBindCtx > , szurl : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , dwreserved : u32 , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="urlmon" ) ] extern "system" { fn IsValidURL ( pbc : :: windows :: RawPtr , szurl : super::super::Foundation:: PWSTR , dwreserved : u32 ) -> :: windows :: HRESULT ; } IsValidURL ( pbc . into_param ( ) . abi ( ) , szurl . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwreserved ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct LICINFO { pub cbLicInfo : i32 , pub fRuntimeKeyAvail : super::super::Foundation:: BOOL , pub fLicVerified : super::super::Foundation:: BOOL } impl LICINFO { } impl :: std :: default :: Default for LICINFO { fn default ( ) -> Self { Self { cbLicInfo : 0 , fRuntimeKeyAvail : :: std :: default :: Default :: default ( ) , fLicVerified : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for LICINFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "LICINFO" ) . field ( "cbLicInfo" , & self . cbLicInfo ) . field ( "fRuntimeKeyAvail" , & self . fRuntimeKeyAvail ) . field ( "fLicVerified" , & self . fLicVerified ) . finish ( ) } } impl :: std :: cmp :: PartialEq for LICINFO { fn eq ( & self , other : & Self ) -> bool { self . cbLicInfo == other . cbLicInfo && self . fRuntimeKeyAvail == other . fRuntimeKeyAvail && self . fLicVerified == other . fLicVerified } } impl :: std :: cmp :: Eq for LICINFO { } unsafe impl :: windows :: Abi for LICINFO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct LONG_SIZEDARR { pub clSize : u32 , pub pData : * mut u32 } impl LONG_SIZEDARR { } impl :: std :: default :: Default for LONG_SIZEDARR { fn default ( ) -> Self { Self { clSize : 0 , pData : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for LONG_SIZEDARR { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "LONG_SIZEDARR" ) . field ( "clSize" , & self . clSize ) . field ( "pData" , & self . pData ) . finish ( ) } } impl :: std :: cmp :: PartialEq for LONG_SIZEDARR { fn eq ( & self , other : & Self ) -> bool { self . clSize == other . clSize && self . pData == other . pData } } impl :: std :: cmp :: Eq for LONG_SIZEDARR { } unsafe impl :: windows :: Abi for LONG_SIZEDARR { type Abi = Self ; type DefaultType = Self ; } pub type LPFNCANUNLOADNOW = unsafe extern "system" fn ( ) -> :: windows :: HRESULT ; pub type LPFNGETCLASSOBJECT = unsafe extern "system" fn ( param0 : * const :: windows :: Guid , param1 : * const :: windows :: Guid , param2 : * mut * mut :: std :: ffi :: c_void ) -> :: windows :: HRESULT ; pub type LPFNOLEUIHOOK = unsafe extern "system" fn ( param0 : super::super::Foundation:: HWND , param1 : u32 , param2 : super::super::Foundation:: WPARAM , param3 : super::super::Foundation:: LPARAM ) -> u32 ; pub const LP_COLOR : u32 = 4u32 ; pub const LP_DEFAULT : u32 = 0u32 ; pub const LP_MONOCHROME : u32 = 1u32 ; pub const LP_VGACOLOR : u32 = 2u32 ; pub const MAXLSN : u64 = 9223372036854775807u64 ; pub const MAX_SIZE_SECURITY_ID : 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 MEDIAPLAYBACK_STATE ( pub i32 ) ; pub const MEDIAPLAYBACK_RESUME : MEDIAPLAYBACK_STATE = MEDIAPLAYBACK_STATE ( 0i32 ) ; pub const MEDIAPLAYBACK_PAUSE : MEDIAPLAYBACK_STATE = MEDIAPLAYBACK_STATE ( 1i32 ) ; pub const MEDIAPLAYBACK_PAUSE_AND_SUSPEND : MEDIAPLAYBACK_STATE = MEDIAPLAYBACK_STATE ( 2i32 ) ; pub const MEDIAPLAYBACK_RESUME_FROM_SUSPEND : MEDIAPLAYBACK_STATE = MEDIAPLAYBACK_STATE ( 3i32 ) ; impl :: std :: convert :: From < i32 > for MEDIAPLAYBACK_STATE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for MEDIAPLAYBACK_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 MEMCTX ( pub i32 ) ; pub const MEMCTX_TASK : MEMCTX = MEMCTX ( 1i32 ) ; pub const MEMCTX_SHARED : MEMCTX = MEMCTX ( 2i32 ) ; pub const MEMCTX_MACSYSTEM : MEMCTX = MEMCTX ( 3i32 ) ; pub const MEMCTX_UNKNOWN : MEMCTX = MEMCTX ( -1i32 ) ; pub const MEMCTX_SAME : MEMCTX = MEMCTX ( -2i32 ) ; impl :: std :: convert :: From < i32 > for MEMCTX { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for MEMCTX { 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 MKREDUCE ( pub i32 ) ; pub const MKRREDUCE_ONE : MKREDUCE = MKREDUCE ( 196608i32 ) ; pub const MKRREDUCE_TOUSER : MKREDUCE = MKREDUCE ( 131072i32 ) ; pub const MKRREDUCE_THROUGHUSER : MKREDUCE = MKREDUCE ( 65536i32 ) ; pub const MKRREDUCE_ALL : MKREDUCE = MKREDUCE ( 0i32 ) ; impl :: std :: convert :: From < i32 > for MKREDUCE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for MKREDUCE { 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 MKSYS ( pub i32 ) ; pub const MKSYS_NONE : MKSYS = MKSYS ( 0i32 ) ; pub const MKSYS_GENERICCOMPOSITE : MKSYS = MKSYS ( 1i32 ) ; pub const MKSYS_FILEMONIKER : MKSYS = MKSYS ( 2i32 ) ; pub const MKSYS_ANTIMONIKER : MKSYS = MKSYS ( 3i32 ) ; pub const MKSYS_ITEMMONIKER : MKSYS = MKSYS ( 4i32 ) ; pub const MKSYS_POINTERMONIKER : MKSYS = MKSYS ( 5i32 ) ; pub const MKSYS_CLASSMONIKER : MKSYS = MKSYS ( 7i32 ) ; pub const MKSYS_OBJREFMONIKER : MKSYS = MKSYS ( 8i32 ) ; pub const MKSYS_SESSIONMONIKER : MKSYS = MKSYS ( 9i32 ) ; pub const MKSYS_LUAMONIKER : MKSYS = MKSYS ( 10i32 ) ; impl :: std :: convert :: From < i32 > for MKSYS { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for MKSYS { type Abi = Self ; type DefaultType = Self ; } pub const MKSYS_URLMONIKER : u32 = 6u32 ; pub const MK_ALT : u32 = 32u32 ; pub const MK_S_ASYNCHRONOUS : :: windows :: HRESULT = :: windows :: HRESULT ( 262632i32 as _ ) ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct MONIKERPROPERTY ( pub i32 ) ; pub const MIMETYPEPROP : MONIKERPROPERTY = MONIKERPROPERTY ( 0i32 ) ; pub const USE_SRC_URL : MONIKERPROPERTY = MONIKERPROPERTY ( 1i32 ) ; pub const CLASSIDPROP : MONIKERPROPERTY = MONIKERPROPERTY ( 2i32 ) ; pub const TRUSTEDDOWNLOADPROP : MONIKERPROPERTY = MONIKERPROPERTY ( 3i32 ) ; pub const POPUPLEVELPROP : MONIKERPROPERTY = MONIKERPROPERTY ( 4i32 ) ; impl :: std :: convert :: From < i32 > for MONIKERPROPERTY { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for MONIKERPROPERTY { 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 MSHCTX ( pub i32 ) ; pub const MSHCTX_LOCAL : MSHCTX = MSHCTX ( 0i32 ) ; pub const MSHCTX_NOSHAREDMEM : MSHCTX = MSHCTX ( 1i32 ) ; pub const MSHCTX_DIFFERENTMACHINE : MSHCTX = MSHCTX ( 2i32 ) ; pub const MSHCTX_INPROC : MSHCTX = MSHCTX ( 3i32 ) ; pub const MSHCTX_CROSSCTX : MSHCTX = MSHCTX ( 4i32 ) ; pub const MSHCTX_RESERVED1 : MSHCTX = MSHCTX ( 5i32 ) ; impl :: std :: convert :: From < i32 > for MSHCTX { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for MSHCTX { 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 MSHLFLAGS ( pub i32 ) ; pub const MSHLFLAGS_NORMAL : MSHLFLAGS = MSHLFLAGS ( 0i32 ) ; pub const MSHLFLAGS_TABLESTRONG : MSHLFLAGS = MSHLFLAGS ( 1i32 ) ; pub const MSHLFLAGS_TABLEWEAK : MSHLFLAGS = MSHLFLAGS ( 2i32 ) ; pub const MSHLFLAGS_NOPING : MSHLFLAGS = MSHLFLAGS ( 4i32 ) ; pub const MSHLFLAGS_RESERVED1 : MSHLFLAGS = MSHLFLAGS ( 8i32 ) ; pub const MSHLFLAGS_RESERVED2 : MSHLFLAGS = MSHLFLAGS ( 16i32 ) ; pub const MSHLFLAGS_RESERVED3 : MSHLFLAGS = MSHLFLAGS ( 32i32 ) ; pub const MSHLFLAGS_RESERVED4 : MSHLFLAGS = MSHLFLAGS ( 64i32 ) ; impl :: std :: convert :: From < i32 > for MSHLFLAGS { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for MSHLFLAGS { 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 MULTICLASSINFO_FLAGS ( pub u32 ) ; pub const MULTICLASSINFO_GETTYPEINFO : MULTICLASSINFO_FLAGS = MULTICLASSINFO_FLAGS ( 1u32 ) ; pub const MULTICLASSINFO_GETNUMRESERVEDDISPIDS : MULTICLASSINFO_FLAGS = MULTICLASSINFO_FLAGS ( 2u32 ) ; pub const MULTICLASSINFO_GETIIDPRIMARY : MULTICLASSINFO_FLAGS = MULTICLASSINFO_FLAGS ( 4u32 ) ; pub const MULTICLASSINFO_GETIIDSOURCE : MULTICLASSINFO_FLAGS = MULTICLASSINFO_FLAGS ( 8u32 ) ; impl :: std :: convert :: From < u32 > for MULTICLASSINFO_FLAGS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for MULTICLASSINFO_FLAGS { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for MULTICLASSINFO_FLAGS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for MULTICLASSINFO_FLAGS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for MULTICLASSINFO_FLAGS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for MULTICLASSINFO_FLAGS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ derive ( :: std :: clone :: Clone ) ] # [ repr ( C ) ] pub struct MULTI_QI { pub pIID : * mut :: windows :: Guid , pub pItf : :: std :: option :: Option < :: windows :: IUnknown > , pub hr : :: windows :: HRESULT } impl MULTI_QI { } impl :: std :: default :: Default for MULTI_QI { fn default ( ) -> Self { Self { pIID : :: std :: ptr :: null_mut ( ) , pItf : :: std :: default :: Default :: default ( ) , hr : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for MULTI_QI { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "MULTI_QI" ) . field ( "pIID" , & self . pIID ) . field ( "pItf" , & self . pItf ) . field ( "hr" , & self . hr ) . finish ( ) } } impl :: std :: cmp :: PartialEq for MULTI_QI { fn eq ( & self , other : & Self ) -> bool { self . pIID == other . pIID && self . pItf == other . pItf && self . hr == other . hr } } impl :: std :: cmp :: Eq for MULTI_QI { } # [ repr ( C ) ] # [ doc ( hidden ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct MULTI_QI_abi { pub pIID : * mut :: windows :: Guid , pub pItf : :: windows :: RawPtr , pub hr : :: windows :: HRESULT } unsafe impl :: windows :: Abi for MULTI_QI { type Abi = MULTI_QI_abi ; type DefaultType = Self ; } pub const MUTZ_ACCEPT_WILDCARD_SCHEME : u32 = 128u32 ; pub const MUTZ_DONT_UNESCAPE : u32 = 2048u32 ; pub const MUTZ_DONT_USE_CACHE : u32 = 4096u32 ; pub const MUTZ_ENFORCERESTRICTED : u32 = 256u32 ; pub const MUTZ_FORCE_INTRANET_FLAGS : u32 = 8192u32 ; pub const MUTZ_IGNORE_ZONE_MAPPINGS : u32 = 16384u32 ; pub const MUTZ_ISFILE : u32 = 2u32 ; pub const MUTZ_NOSAVEDFILECHECK : u32 = 1u32 ; pub const MUTZ_REQUIRESAVEDFILECHECK : u32 = 1024u32 ; pub const MUTZ_RESERVED : u32 = 512u32 ; pub unsafe fn MkParseDisplayName < 'a , > ( pbc : impl :: windows :: IntoParam < 'a , IBindCtx > , szusername : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , pcheaten : * mut u32 , ppmk : * mut :: std :: option :: Option < IMoniker > , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn MkParseDisplayName ( pbc : :: windows :: RawPtr , szusername : super::super::Foundation:: PWSTR , pcheaten : * mut u32 , ppmk : * mut :: windows :: RawPtr ) -> :: windows :: HRESULT ; } MkParseDisplayName ( pbc . into_param ( ) . abi ( ) , szusername . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pcheaten ) , :: std :: mem :: transmute ( ppmk ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn MkParseDisplayNameEx < 'a , > ( pbc : impl :: windows :: IntoParam < 'a , IBindCtx > , szdisplayname : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , pcheaten : * mut u32 , ppmk : * mut :: std :: option :: Option < IMoniker > , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="urlmon" ) ] extern "system" { fn MkParseDisplayNameEx ( pbc : :: windows :: RawPtr , szdisplayname : super::super::Foundation:: PWSTR , pcheaten : * mut u32 , ppmk : * mut :: windows :: RawPtr ) -> :: windows :: HRESULT ; } MkParseDisplayNameEx ( pbc . into_param ( ) . abi ( ) , szdisplayname . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pcheaten ) , :: std :: mem :: transmute ( ppmk ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn MonikerCommonPrefixWith < 'a , > ( pmkthis : impl :: windows :: IntoParam < 'a , IMoniker > , pmkother : impl :: windows :: IntoParam < 'a , IMoniker > , ) -> :: windows :: Result < IMoniker > { # [ cfg ( windows ) ] { # [ link ( name ="ole32" ) ] extern "system" { fn MonikerCommonPrefixWith ( pmkthis : :: windows :: RawPtr , pmkother : :: windows :: RawPtr , ppmkcommon : * mut :: windows :: RawPtr ) -> :: windows :: HRESULT ; } let mut result__ : < IMoniker as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; MonikerCommonPrefixWith ( pmkthis . into_param ( ) . abi ( ) , pmkother . into_param ( ) . abi ( ) , & mut result__ ) . from_abi :: < IMoniker > ( result__ ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn MonikerRelativePathTo < 'a , > ( pmksrc : impl :: windows :: IntoParam < 'a , IMoniker > , pmkdest : impl :: windows :: IntoParam < 'a , IMoniker > , ppmkrelpath : * mut :: std :: option :: Option < IMoniker > , dwreserved : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="ole32" ) ] extern "system" { fn MonikerRelativePathTo ( pmksrc : :: windows :: RawPtr , pmkdest : :: windows :: RawPtr , ppmkrelpath : * mut :: windows :: RawPtr , dwreserved : super::super::Foundation:: BOOL ) -> :: windows :: HRESULT ; } MonikerRelativePathTo ( pmksrc . into_param ( ) . abi ( ) , pmkdest . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ppmkrelpath ) , dwreserved . into_param ( ) . abi ( ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct OBJECTDESCRIPTOR { pub cbSize : u32 , pub clsid : :: windows :: Guid , pub dwDrawAspect : u32 , pub sizel : super::super::Foundation:: SIZE , pub pointl : super::super::Foundation:: POINTL , pub dwStatus : u32 , pub dwFullUserTypeName : u32 , pub dwSrcOfCopy : u32 } impl OBJECTDESCRIPTOR { } impl :: std :: default :: Default for OBJECTDESCRIPTOR { fn default ( ) -> Self { Self { cbSize : 0 , clsid : :: std :: default :: Default :: default ( ) , dwDrawAspect : 0 , sizel : :: std :: default :: Default :: default ( ) , pointl : :: std :: default :: Default :: default ( ) , dwStatus : 0 , dwFullUserTypeName : 0 , dwSrcOfCopy : 0 } } } impl :: std :: fmt :: Debug for OBJECTDESCRIPTOR { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "OBJECTDESCRIPTOR" ) . field ( "cbSize" , & self . cbSize ) . field ( "clsid" , & self . clsid ) . field ( "dwDrawAspect" , & self . dwDrawAspect ) . field ( "sizel" , & self . sizel ) . field ( "pointl" , & self . pointl ) . field ( "dwStatus" , & self . dwStatus ) . field ( "dwFullUserTypeName" , & self . dwFullUserTypeName ) . field ( "dwSrcOfCopy" , & self . dwSrcOfCopy ) . finish ( ) } } impl :: std :: cmp :: PartialEq for OBJECTDESCRIPTOR { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . clsid == other . clsid && self . dwDrawAspect == other . dwDrawAspect && self . sizel == other . sizel && self . pointl == other . pointl && self . dwStatus == other . dwStatus && self . dwFullUserTypeName == other . dwFullUserTypeName && self . dwSrcOfCopy == other . dwSrcOfCopy } } impl :: std :: cmp :: Eq for OBJECTDESCRIPTOR { } unsafe impl :: windows :: Abi for OBJECTDESCRIPTOR { type Abi = Self ; type DefaultType = Self ; } pub const OCM__BASE : u32 = 8192u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct OCPFIPARAMS { pub cbStructSize : u32 , pub hWndOwner : super::super::Foundation:: HWND , pub x : i32 , pub y : i32 , pub lpszCaption : super::super::Foundation:: PWSTR , pub cObjects : u32 , pub lplpUnk : * mut :: std :: option :: Option < :: windows :: IUnknown > , pub cPages : u32 , pub lpPages : * mut :: windows :: Guid , pub lcid : u32 , pub dispidInitialProperty : i32 } impl OCPFIPARAMS { } impl :: std :: default :: Default for OCPFIPARAMS { fn default ( ) -> Self { Self { cbStructSize : 0 , hWndOwner : :: std :: default :: Default :: default ( ) , x : 0 , y : 0 , lpszCaption : :: std :: default :: Default :: default ( ) , cObjects : 0 , lplpUnk : :: std :: ptr :: null_mut ( ) , cPages : 0 , lpPages : :: std :: ptr :: null_mut ( ) , lcid : 0 , dispidInitialProperty : 0 } } } impl :: std :: fmt :: Debug for OCPFIPARAMS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "OCPFIPARAMS" ) . field ( "cbStructSize" , & self . cbStructSize ) . field ( "hWndOwner" , & self . hWndOwner ) . field ( "x" , & self . x ) . field ( "y" , & self . y ) . field ( "lpszCaption" , & self . lpszCaption ) . field ( "cObjects" , & self . cObjects ) . field ( "lplpUnk" , & self . lplpUnk ) . field ( "cPages" , & self . cPages ) . field ( "lpPages" , & self . lpPages ) . field ( "lcid" , & self . lcid ) . field ( "dispidInitialProperty" , & self . dispidInitialProperty ) . finish ( ) } } impl :: std :: cmp :: PartialEq for OCPFIPARAMS { fn eq ( & self , other : & Self ) -> bool { self . cbStructSize == other . cbStructSize && self . hWndOwner == other . hWndOwner && self . x == other . x && self . y == other . y && self . lpszCaption == other . lpszCaption && self . cObjects == other . cObjects && self . lplpUnk == other . lplpUnk && self . cPages == other . cPages && self . lpPages == other . lpPages && self . lcid == other . lcid && self . dispidInitialProperty == other . dispidInitialProperty } } impl :: std :: cmp :: Eq for OCPFIPARAMS { } unsafe impl :: windows :: Abi for OCPFIPARAMS { type Abi = Self ; type DefaultType = Self ; } pub const OF_GET : u32 = 2u32 ; pub const OF_HANDLER : u32 = 4u32 ; pub const OF_SET : 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 OIBDG_FLAGS ( pub i32 ) ; pub const OIBDG_APARTMENTTHREADED : OIBDG_FLAGS = OIBDG_FLAGS ( 256i32 ) ; pub const OIBDG_DATAONLY : OIBDG_FLAGS = OIBDG_FLAGS ( 4096i32 ) ; impl :: std :: convert :: From < i32 > for OIBDG_FLAGS { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for OIBDG_FLAGS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct OIFI { pub cb : u32 , pub fMDIApp : super::super::Foundation:: BOOL , pub hwndFrame : super::super::Foundation:: HWND , pub haccel : super::super::UI::WindowsAndMessaging:: HACCEL , pub cAccelEntries : u32 } impl OIFI { } impl :: std :: default :: Default for OIFI { fn default ( ) -> Self { Self { cb : 0 , fMDIApp : :: std :: default :: Default :: default ( ) , hwndFrame : :: std :: default :: Default :: default ( ) , haccel : :: std :: default :: Default :: default ( ) , cAccelEntries : 0 } } } impl :: std :: fmt :: Debug for OIFI { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "OIFI" ) . field ( "cb" , & self . cb ) . field ( "fMDIApp" , & self . fMDIApp ) . field ( "hwndFrame" , & self . hwndFrame ) . field ( "haccel" , & self . haccel ) . field ( "cAccelEntries" , & self . cAccelEntries ) . finish ( ) } } impl :: std :: cmp :: PartialEq for OIFI { fn eq ( & self , other : & Self ) -> bool { self . cb == other . cb && self . fMDIApp == other . fMDIApp && self . hwndFrame == other . hwndFrame && self . haccel == other . haccel && self . cAccelEntries == other . cAccelEntries } } impl :: std :: cmp :: Eq for OIFI { } unsafe impl :: windows :: Abi for OIFI { 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 OLECLOSE ( pub i32 ) ; pub const OLECLOSE_SAVEIFDIRTY : OLECLOSE = OLECLOSE ( 0i32 ) ; pub const OLECLOSE_NOSAVE : OLECLOSE = OLECLOSE ( 1i32 ) ; pub const OLECLOSE_PROMPTSAVE : OLECLOSE = OLECLOSE ( 2i32 ) ; impl :: std :: convert :: From < i32 > for OLECLOSE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for OLECLOSE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct OLECMD { pub cmdID : u32 , pub cmdf : u32 } impl OLECMD { } impl :: std :: default :: Default for OLECMD { fn default ( ) -> Self { Self { cmdID : 0 , cmdf : 0 } } } impl :: std :: fmt :: Debug for OLECMD { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "OLECMD" ) . field ( "cmdID" , & self . cmdID ) . field ( "cmdf" , & self . cmdf ) . finish ( ) } } impl :: std :: cmp :: PartialEq for OLECMD { fn eq ( & self , other : & Self ) -> bool { self . cmdID == other . cmdID && self . cmdf == other . cmdf } } impl :: std :: cmp :: Eq for OLECMD { } unsafe impl :: windows :: Abi for OLECMD { type Abi = Self ; type DefaultType = Self ; } pub const OLECMDARGINDEX_ACTIVEXINSTALL_CLSID : u32 = 2u32 ; pub const OLECMDARGINDEX_ACTIVEXINSTALL_DISPLAYNAME : u32 = 1u32 ; pub const OLECMDARGINDEX_ACTIVEXINSTALL_INSTALLSCOPE : u32 = 3u32 ; pub const OLECMDARGINDEX_ACTIVEXINSTALL_PUBLISHER : u32 = 0u32 ; pub const OLECMDARGINDEX_ACTIVEXINSTALL_SOURCEURL : u32 = 4u32 ; pub const OLECMDARGINDEX_SHOWPAGEACTIONMENU_HWND : u32 = 0u32 ; pub const OLECMDARGINDEX_SHOWPAGEACTIONMENU_X : u32 = 1u32 ; pub const OLECMDARGINDEX_SHOWPAGEACTIONMENU_Y : u32 = 2u32 ; pub const OLECMDERR_E_CANCELED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221245i32 as _ ) ; pub const OLECMDERR_E_DISABLED : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221247i32 as _ ) ; pub const OLECMDERR_E_FIRST : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221248i32 as _ ) ; pub const OLECMDERR_E_NOHELP : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221246i32 as _ ) ; pub const OLECMDERR_E_UNKNOWNGROUP : :: windows :: HRESULT = :: windows :: HRESULT ( -2147221244i32 as _ ) ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct OLECMDEXECOPT ( pub i32 ) ; pub const OLECMDEXECOPT_DODEFAULT : OLECMDEXECOPT = OLECMDEXECOPT ( 0i32 ) ; pub const OLECMDEXECOPT_PROMPTUSER : OLECMDEXECOPT = OLECMDEXECOPT ( 1i32 ) ; pub const OLECMDEXECOPT_DONTPROMPTUSER : OLECMDEXECOPT = OLECMDEXECOPT ( 2i32 ) ; pub const OLECMDEXECOPT_SHOWHELP : OLECMDEXECOPT = OLECMDEXECOPT ( 3i32 ) ; impl :: std :: convert :: From < i32 > for OLECMDEXECOPT { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for OLECMDEXECOPT { 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 OLECMDF ( pub i32 ) ; pub const OLECMDF_SUPPORTED : OLECMDF = OLECMDF ( 1i32 ) ; pub const OLECMDF_ENABLED : OLECMDF = OLECMDF ( 2i32 ) ; pub const OLECMDF_LATCHED : OLECMDF = OLECMDF ( 4i32 ) ; pub const OLECMDF_NINCHED : OLECMDF = OLECMDF ( 8i32 ) ; pub const OLECMDF_INVISIBLE : OLECMDF = OLECMDF ( 16i32 ) ; pub const OLECMDF_DEFHIDEONCTXTMENU : OLECMDF = OLECMDF ( 32i32 ) ; impl :: std :: convert :: From < i32 > for OLECMDF { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for OLECMDF { 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 OLECMDID ( pub i32 ) ; pub const OLECMDID_OPEN : OLECMDID = OLECMDID ( 1i32 ) ; pub const OLECMDID_NEW : OLECMDID = OLECMDID ( 2i32 ) ; pub const OLECMDID_SAVE : OLECMDID = OLECMDID ( 3i32 ) ; pub const OLECMDID_SAVEAS : OLECMDID = OLECMDID ( 4i32 ) ; pub const OLECMDID_SAVECOPYAS : OLECMDID = OLECMDID ( 5i32 ) ; pub const OLECMDID_PRINT : OLECMDID = OLECMDID ( 6i32 ) ; pub const OLECMDID_PRINTPREVIEW : OLECMDID = OLECMDID ( 7i32 ) ; pub const OLECMDID_PAGESETUP : OLECMDID = OLECMDID ( 8i32 ) ; pub const OLECMDID_SPELL : OLECMDID = OLECMDID ( 9i32 ) ; pub const OLECMDID_PROPERTIES : OLECMDID = OLECMDID ( 10i32 ) ; pub const OLECMDID_CUT : OLECMDID = OLECMDID ( 11i32 ) ; pub const OLECMDID_COPY : OLECMDID = OLECMDID ( 12i32 ) ; pub const OLECMDID_PASTE : OLECMDID = OLECMDID ( 13i32 ) ; pub const OLECMDID_PASTESPECIAL : OLECMDID = OLECMDID ( 14i32 ) ; pub const OLECMDID_UNDO : OLECMDID = OLECMDID ( 15i32 ) ; pub const OLECMDID_REDO : OLECMDID = OLECMDID ( 16i32 ) ; pub const OLECMDID_SELECTALL : OLECMDID = OLECMDID ( 17i32 ) ; pub const OLECMDID_CLEARSELECTION : OLECMDID = OLECMDID ( 18i32 ) ; pub const OLECMDID_ZOOM : OLECMDID = OLECMDID ( 19i32 ) ; pub const OLECMDID_GETZOOMRANGE : OLECMDID = OLECMDID ( 20i32 ) ; pub const OLECMDID_UPDATECOMMANDS : OLECMDID = OLECMDID ( 21i32 ) ; pub const OLECMDID_REFRESH : OLECMDID = OLECMDID ( 22i32 ) ; pub const OLECMDID_STOP : OLECMDID = OLECMDID ( 23i32 ) ; pub const OLECMDID_HIDETOOLBARS : OLECMDID = OLECMDID ( 24i32 ) ; pub const OLECMDID_SETPROGRESSMAX : OLECMDID = OLECMDID ( 25i32 ) ; pub const OLECMDID_SETPROGRESSPOS : OLECMDID = OLECMDID ( 26i32 ) ; pub const OLECMDID_SETPROGRESSTEXT : OLECMDID = OLECMDID ( 27i32 ) ; pub const OLECMDID_SETTITLE : OLECMDID = OLECMDID ( 28i32 ) ; pub const OLECMDID_SETDOWNLOADSTATE : OLECMDID = OLECMDID ( 29i32 ) ; pub const OLECMDID_STOPDOWNLOAD : OLECMDID = OLECMDID ( 30i32 ) ; pub const OLECMDID_ONTOOLBARACTIVATED : OLECMDID = OLECMDID ( 31i32 ) ; pub const OLECMDID_FIND : OLECMDID = OLECMDID ( 32i32 ) ; pub const OLECMDID_DELETE : OLECMDID = OLECMDID ( 33i32 ) ; pub const OLECMDID_HTTPEQUIV : OLECMDID = OLECMDID ( 34i32 ) ; pub const OLECMDID_HTTPEQUIV_DONE : OLECMDID = OLECMDID ( 35i32 ) ; pub const OLECMDID_ENABLE_INTERACTION : OLECMDID = OLECMDID ( 36i32 ) ; pub const OLECMDID_ONUNLOAD : OLECMDID = OLECMDID ( 37i32 ) ; pub const OLECMDID_PROPERTYBAG2 : OLECMDID = OLECMDID ( 38i32 ) ; pub const OLECMDID_PREREFRESH : OLECMDID = OLECMDID ( 39i32 ) ; pub const OLECMDID_SHOWSCRIPTERROR : OLECMDID = OLECMDID ( 40i32 ) ; pub const OLECMDID_SHOWMESSAGE : OLECMDID = OLECMDID ( 41i32 ) ; pub const OLECMDID_SHOWFIND : OLECMDID = OLECMDID ( 42i32 ) ; pub const OLECMDID_SHOWPAGESETUP : OLECMDID = OLECMDID ( 43i32 ) ; pub const OLECMDID_SHOWPRINT : OLECMDID = OLECMDID ( 44i32 ) ; pub const OLECMDID_CLOSE : OLECMDID = OLECMDID ( 45i32 ) ; pub const OLECMDID_ALLOWUILESSSAVEAS : OLECMDID = OLECMDID ( 46i32 ) ; pub const OLECMDID_DONTDOWNLOADCSS : OLECMDID = OLECMDID ( 47i32 ) ; pub const OLECMDID_UPDATEPAGESTATUS : OLECMDID = OLECMDID ( 48i32 ) ; pub const OLECMDID_PRINT2 : OLECMDID = OLECMDID ( 49i32 ) ; pub const OLECMDID_PRINTPREVIEW2 : OLECMDID = OLECMDID ( 50i32 ) ; pub const OLECMDID_SETPRINTTEMPLATE : OLECMDID = OLECMDID ( 51i32 ) ; pub const OLECMDID_GETPRINTTEMPLATE : OLECMDID = OLECMDID ( 52i32 ) ; pub const OLECMDID_PAGEACTIONBLOCKED : OLECMDID = OLECMDID ( 55i32 ) ; pub const OLECMDID_PAGEACTIONUIQUERY : OLECMDID = OLECMDID ( 56i32 ) ; pub const OLECMDID_FOCUSVIEWCONTROLS : OLECMDID = OLECMDID ( 57i32 ) ; pub const OLECMDID_FOCUSVIEWCONTROLSQUERY : OLECMDID = OLECMDID ( 58i32 ) ; pub const OLECMDID_SHOWPAGEACTIONMENU : OLECMDID = OLECMDID ( 59i32 ) ; pub const OLECMDID_ADDTRAVELENTRY : OLECMDID = OLECMDID ( 60i32 ) ; pub const OLECMDID_UPDATETRAVELENTRY : OLECMDID = OLECMDID ( 61i32 ) ; pub const OLECMDID_UPDATEBACKFORWARDSTATE : OLECMDID = OLECMDID ( 62i32 ) ; pub const OLECMDID_OPTICAL_ZOOM : OLECMDID = OLECMDID ( 63i32 ) ; pub const OLECMDID_OPTICAL_GETZOOMRANGE : OLECMDID = OLECMDID ( 64i32 ) ; pub const OLECMDID_WINDOWSTATECHANGED : OLECMDID = OLECMDID ( 65i32 ) ; pub const OLECMDID_ACTIVEXINSTALLSCOPE : OLECMDID = OLECMDID ( 66i32 ) ; pub const OLECMDID_UPDATETRAVELENTRY_DATARECOVERY : OLECMDID = OLECMDID ( 67i32 ) ; pub const OLECMDID_SHOWTASKDLG : OLECMDID = OLECMDID ( 68i32 ) ; pub const OLECMDID_POPSTATEEVENT : OLECMDID = OLECMDID ( 69i32 ) ; pub const OLECMDID_VIEWPORT_MODE : OLECMDID = OLECMDID ( 70i32 ) ; pub const OLECMDID_LAYOUT_VIEWPORT_WIDTH : OLECMDID = OLECMDID ( 71i32 ) ; pub const OLECMDID_VISUAL_VIEWPORT_EXCLUDE_BOTTOM : OLECMDID = OLECMDID ( 72i32 ) ; pub const OLECMDID_USER_OPTICAL_ZOOM : OLECMDID = OLECMDID ( 73i32 ) ; pub const OLECMDID_PAGEAVAILABLE : OLECMDID = OLECMDID ( 74i32 ) ; pub const OLECMDID_GETUSERSCALABLE : OLECMDID = OLECMDID ( 75i32 ) ; pub const OLECMDID_UPDATE_CARET : OLECMDID = OLECMDID ( 76i32 ) ; pub const OLECMDID_ENABLE_VISIBILITY : OLECMDID = OLECMDID ( 77i32 ) ; pub const OLECMDID_MEDIA_PLAYBACK : OLECMDID = OLECMDID ( 78i32 ) ; pub const OLECMDID_SETFAVICON : OLECMDID = OLECMDID ( 79i32 ) ; pub const OLECMDID_SET_HOST_FULLSCREENMODE : OLECMDID = OLECMDID ( 80i32 ) ; pub const OLECMDID_EXITFULLSCREEN : OLECMDID = OLECMDID ( 81i32 ) ; pub const OLECMDID_SCROLLCOMPLETE : OLECMDID = OLECMDID ( 82i32 ) ; pub const OLECMDID_ONBEFOREUNLOAD : OLECMDID = OLECMDID ( 83i32 ) ; pub const OLECMDID_SHOWMESSAGE_BLOCKABLE : OLECMDID = OLECMDID ( 84i32 ) ; pub const OLECMDID_SHOWTASKDLG_BLOCKABLE : OLECMDID = OLECMDID ( 85i32 ) ; impl :: std :: convert :: From < i32 > for OLECMDID { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for OLECMDID { 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 OLECMDID_BROWSERSTATEFLAG ( pub i32 ) ; pub const OLECMDIDF_BROWSERSTATE_EXTENSIONSOFF : OLECMDID_BROWSERSTATEFLAG = OLECMDID_BROWSERSTATEFLAG ( 1i32 ) ; pub const OLECMDIDF_BROWSERSTATE_IESECURITY : OLECMDID_BROWSERSTATEFLAG = OLECMDID_BROWSERSTATEFLAG ( 2i32 ) ; pub const OLECMDIDF_BROWSERSTATE_PROTECTEDMODE_OFF : OLECMDID_BROWSERSTATEFLAG = OLECMDID_BROWSERSTATEFLAG ( 4i32 ) ; pub const OLECMDIDF_BROWSERSTATE_RESET : OLECMDID_BROWSERSTATEFLAG = OLECMDID_BROWSERSTATEFLAG ( 8i32 ) ; pub const OLECMDIDF_BROWSERSTATE_REQUIRESACTIVEX : OLECMDID_BROWSERSTATEFLAG = OLECMDID_BROWSERSTATEFLAG ( 16i32 ) ; pub const OLECMDIDF_BROWSERSTATE_DESKTOPHTMLDIALOG : OLECMDID_BROWSERSTATEFLAG = OLECMDID_BROWSERSTATEFLAG ( 32i32 ) ; pub const OLECMDIDF_BROWSERSTATE_BLOCKEDVERSION : OLECMDID_BROWSERSTATEFLAG = OLECMDID_BROWSERSTATEFLAG ( 64i32 ) ; impl :: std :: convert :: From < i32 > for OLECMDID_BROWSERSTATEFLAG { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for OLECMDID_BROWSERSTATEFLAG { 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 OLECMDID_OPTICAL_ZOOMFLAG ( pub i32 ) ; pub const OLECMDIDF_OPTICAL_ZOOM_NOPERSIST : OLECMDID_OPTICAL_ZOOMFLAG = OLECMDID_OPTICAL_ZOOMFLAG ( 1i32 ) ; pub const OLECMDIDF_OPTICAL_ZOOM_NOLAYOUT : OLECMDID_OPTICAL_ZOOMFLAG = OLECMDID_OPTICAL_ZOOMFLAG ( 16i32 ) ; pub const OLECMDIDF_OPTICAL_ZOOM_NOTRANSIENT : OLECMDID_OPTICAL_ZOOMFLAG = OLECMDID_OPTICAL_ZOOMFLAG ( 32i32 ) ; pub const OLECMDIDF_OPTICAL_ZOOM_RELOADFORNEWTAB : OLECMDID_OPTICAL_ZOOMFLAG = OLECMDID_OPTICAL_ZOOMFLAG ( 64i32 ) ; impl :: std :: convert :: From < i32 > for OLECMDID_OPTICAL_ZOOMFLAG { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for OLECMDID_OPTICAL_ZOOMFLAG { 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 OLECMDID_PAGEACTIONFLAG ( pub i32 ) ; pub const OLECMDIDF_PAGEACTION_FILEDOWNLOAD : OLECMDID_PAGEACTIONFLAG = OLECMDID_PAGEACTIONFLAG ( 1i32 ) ; pub const OLECMDIDF_PAGEACTION_ACTIVEXINSTALL : OLECMDID_PAGEACTIONFLAG = OLECMDID_PAGEACTIONFLAG ( 2i32 ) ; pub const OLECMDIDF_PAGEACTION_ACTIVEXTRUSTFAIL : OLECMDID_PAGEACTIONFLAG = OLECMDID_PAGEACTIONFLAG ( 4i32 ) ; pub const OLECMDIDF_PAGEACTION_ACTIVEXUSERDISABLE : OLECMDID_PAGEACTIONFLAG = OLECMDID_PAGEACTIONFLAG ( 8i32 ) ; pub const OLECMDIDF_PAGEACTION_ACTIVEXDISALLOW : OLECMDID_PAGEACTIONFLAG = OLECMDID_PAGEACTIONFLAG ( 16i32 ) ; pub const OLECMDIDF_PAGEACTION_ACTIVEXUNSAFE : OLECMDID_PAGEACTIONFLAG = OLECMDID_PAGEACTIONFLAG ( 32i32 ) ; pub const OLECMDIDF_PAGEACTION_POPUPWINDOW : OLECMDID_PAGEACTIONFLAG = OLECMDID_PAGEACTIONFLAG ( 64i32 ) ; pub const OLECMDIDF_PAGEACTION_LOCALMACHINE : OLECMDID_PAGEACTIONFLAG = OLECMDID_PAGEACTIONFLAG ( 128i32 ) ; pub const OLECMDIDF_PAGEACTION_MIMETEXTPLAIN : OLECMDID_PAGEACTIONFLAG = OLECMDID_PAGEACTIONFLAG ( 256i32 ) ; pub const OLECMDIDF_PAGEACTION_SCRIPTNAVIGATE : OLECMDID_PAGEACTIONFLAG = OLECMDID_PAGEACTIONFLAG ( 512i32 ) ; pub const OLECMDIDF_PAGEACTION_SCRIPTNAVIGATE_ACTIVEXINSTALL : OLECMDID_PAGEACTIONFLAG = OLECMDID_PAGEACTIONFLAG ( 512i32 ) ; pub const OLECMDIDF_PAGEACTION_PROTLOCKDOWNLOCALMACHINE : OLECMDID_PAGEACTIONFLAG = OLECMDID_PAGEACTIONFLAG ( 1024i32 ) ; pub const OLECMDIDF_PAGEACTION_PROTLOCKDOWNTRUSTED : OLECMDID_PAGEACTIONFLAG = OLECMDID_PAGEACTIONFLAG ( 2048i32 ) ; pub const OLECMDIDF_PAGEACTION_PROTLOCKDOWNINTRANET : OLECMDID_PAGEACTIONFLAG = OLECMDID_PAGEACTIONFLAG ( 4096i32 ) ; pub const OLECMDIDF_PAGEACTION_PROTLOCKDOWNINTERNET : OLECMDID_PAGEACTIONFLAG = OLECMDID_PAGEACTIONFLAG ( 8192i32 ) ; pub const OLECMDIDF_PAGEACTION_PROTLOCKDOWNRESTRICTED : OLECMDID_PAGEACTIONFLAG = OLECMDID_PAGEACTIONFLAG ( 16384i32 ) ; pub const OLECMDIDF_PAGEACTION_PROTLOCKDOWNDENY : OLECMDID_PAGEACTIONFLAG = OLECMDID_PAGEACTIONFLAG ( 32768i32 ) ; pub const OLECMDIDF_PAGEACTION_POPUPALLOWED : OLECMDID_PAGEACTIONFLAG = OLECMDID_PAGEACTIONFLAG ( 65536i32 ) ; pub const OLECMDIDF_PAGEACTION_SCRIPTPROMPT : OLECMDID_PAGEACTIONFLAG = OLECMDID_PAGEACTIONFLAG ( 131072i32 ) ; pub const OLECMDIDF_PAGEACTION_ACTIVEXUSERAPPROVAL : OLECMDID_PAGEACTIONFLAG = OLECMDID_PAGEACTIONFLAG ( 262144i32 ) ; pub const OLECMDIDF_PAGEACTION_MIXEDCONTENT : OLECMDID_PAGEACTIONFLAG = OLECMDID_PAGEACTIONFLAG ( 524288i32 ) ; pub const OLECMDIDF_PAGEACTION_INVALID_CERT : OLECMDID_PAGEACTIONFLAG = OLECMDID_PAGEACTIONFLAG ( 1048576i32 ) ; pub const OLECMDIDF_PAGEACTION_INTRANETZONEREQUEST : OLECMDID_PAGEACTIONFLAG = OLECMDID_PAGEACTIONFLAG ( 2097152i32 ) ; pub const OLECMDIDF_PAGEACTION_XSSFILTERED : OLECMDID_PAGEACTIONFLAG = OLECMDID_PAGEACTIONFLAG ( 4194304i32 ) ; pub const OLECMDIDF_PAGEACTION_SPOOFABLEIDNHOST : OLECMDID_PAGEACTIONFLAG = OLECMDID_PAGEACTIONFLAG ( 8388608i32 ) ; pub const OLECMDIDF_PAGEACTION_ACTIVEX_EPM_INCOMPATIBLE : OLECMDID_PAGEACTIONFLAG = OLECMDID_PAGEACTIONFLAG ( 16777216i32 ) ; pub const OLECMDIDF_PAGEACTION_SCRIPTNAVIGATE_ACTIVEXUSERAPPROVAL : OLECMDID_PAGEACTIONFLAG = OLECMDID_PAGEACTIONFLAG ( 33554432i32 ) ; pub const OLECMDIDF_PAGEACTION_WPCBLOCKED : OLECMDID_PAGEACTIONFLAG = OLECMDID_PAGEACTIONFLAG ( 67108864i32 ) ; pub const OLECMDIDF_PAGEACTION_WPCBLOCKED_ACTIVEX : OLECMDID_PAGEACTIONFLAG = OLECMDID_PAGEACTIONFLAG ( 134217728i32 ) ; pub const OLECMDIDF_PAGEACTION_EXTENSION_COMPAT_BLOCKED : OLECMDID_PAGEACTIONFLAG = OLECMDID_PAGEACTIONFLAG ( 268435456i32 ) ; pub const OLECMDIDF_PAGEACTION_NORESETACTIVEX : OLECMDID_PAGEACTIONFLAG = OLECMDID_PAGEACTIONFLAG ( 536870912i32 ) ; pub const OLECMDIDF_PAGEACTION_GENERIC_STATE : OLECMDID_PAGEACTIONFLAG = OLECMDID_PAGEACTIONFLAG ( 1073741824i32 ) ; pub const OLECMDIDF_PAGEACTION_RESET : OLECMDID_PAGEACTIONFLAG = OLECMDID_PAGEACTIONFLAG ( -2147483648i32 ) ; impl :: std :: convert :: From < i32 > for OLECMDID_PAGEACTIONFLAG { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for OLECMDID_PAGEACTIONFLAG { 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 OLECMDID_REFRESHFLAG ( pub i32 ) ; pub const OLECMDIDF_REFRESH_NORMAL : OLECMDID_REFRESHFLAG = OLECMDID_REFRESHFLAG ( 0i32 ) ; pub const OLECMDIDF_REFRESH_IFEXPIRED : OLECMDID_REFRESHFLAG = OLECMDID_REFRESHFLAG ( 1i32 ) ; pub const OLECMDIDF_REFRESH_CONTINUE : OLECMDID_REFRESHFLAG = OLECMDID_REFRESHFLAG ( 2i32 ) ; pub const OLECMDIDF_REFRESH_COMPLETELY : OLECMDID_REFRESHFLAG = OLECMDID_REFRESHFLAG ( 3i32 ) ; pub const OLECMDIDF_REFRESH_NO_CACHE : OLECMDID_REFRESHFLAG = OLECMDID_REFRESHFLAG ( 4i32 ) ; pub const OLECMDIDF_REFRESH_RELOAD : OLECMDID_REFRESHFLAG = OLECMDID_REFRESHFLAG ( 5i32 ) ; pub const OLECMDIDF_REFRESH_LEVELMASK : OLECMDID_REFRESHFLAG = OLECMDID_REFRESHFLAG ( 255i32 ) ; pub const OLECMDIDF_REFRESH_CLEARUSERINPUT : OLECMDID_REFRESHFLAG = OLECMDID_REFRESHFLAG ( 4096i32 ) ; pub const OLECMDIDF_REFRESH_PROMPTIFOFFLINE : OLECMDID_REFRESHFLAG = OLECMDID_REFRESHFLAG ( 8192i32 ) ; pub const OLECMDIDF_REFRESH_THROUGHSCRIPT : OLECMDID_REFRESHFLAG = OLECMDID_REFRESHFLAG ( 16384i32 ) ; pub const OLECMDIDF_REFRESH_SKIPBEFOREUNLOADEVENT : OLECMDID_REFRESHFLAG = OLECMDID_REFRESHFLAG ( 32768i32 ) ; pub const OLECMDIDF_REFRESH_PAGEACTION_ACTIVEXINSTALL : OLECMDID_REFRESHFLAG = OLECMDID_REFRESHFLAG ( 65536i32 ) ; pub const OLECMDIDF_REFRESH_PAGEACTION_FILEDOWNLOAD : OLECMDID_REFRESHFLAG = OLECMDID_REFRESHFLAG ( 131072i32 ) ; pub const OLECMDIDF_REFRESH_PAGEACTION_LOCALMACHINE : OLECMDID_REFRESHFLAG = OLECMDID_REFRESHFLAG ( 262144i32 ) ; pub const OLECMDIDF_REFRESH_PAGEACTION_POPUPWINDOW : OLECMDID_REFRESHFLAG = OLECMDID_REFRESHFLAG ( 524288i32 ) ; pub const OLECMDIDF_REFRESH_PAGEACTION_PROTLOCKDOWNLOCALMACHINE : OLECMDID_REFRESHFLAG = OLECMDID_REFRESHFLAG ( 1048576i32 ) ; pub const OLECMDIDF_REFRESH_PAGEACTION_PROTLOCKDOWNTRUSTED : OLECMDID_REFRESHFLAG = OLECMDID_REFRESHFLAG ( 2097152i32 ) ; pub const OLECMDIDF_REFRESH_PAGEACTION_PROTLOCKDOWNINTRANET : OLECMDID_REFRESHFLAG = OLECMDID_REFRESHFLAG ( 4194304i32 ) ; pub const OLECMDIDF_REFRESH_PAGEACTION_PROTLOCKDOWNINTERNET : OLECMDID_REFRESHFLAG = OLECMDID_REFRESHFLAG ( 8388608i32 ) ; pub const OLECMDIDF_REFRESH_PAGEACTION_PROTLOCKDOWNRESTRICTED : OLECMDID_REFRESHFLAG = OLECMDID_REFRESHFLAG ( 16777216i32 ) ; pub const OLECMDIDF_REFRESH_PAGEACTION_MIXEDCONTENT : OLECMDID_REFRESHFLAG = OLECMDID_REFRESHFLAG ( 33554432i32 ) ; pub const OLECMDIDF_REFRESH_PAGEACTION_INVALID_CERT : OLECMDID_REFRESHFLAG = OLECMDID_REFRESHFLAG ( 67108864i32 ) ; pub const OLECMDIDF_REFRESH_PAGEACTION_ALLOW_VERSION : OLECMDID_REFRESHFLAG = OLECMDID_REFRESHFLAG ( 134217728i32 ) ; impl :: std :: convert :: From < i32 > for OLECMDID_REFRESHFLAG { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for OLECMDID_REFRESHFLAG { 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 OLECMDID_VIEWPORT_MODE_FLAG ( pub i32 ) ; pub const OLECMDIDF_VIEWPORTMODE_FIXED_LAYOUT_WIDTH : OLECMDID_VIEWPORT_MODE_FLAG = OLECMDID_VIEWPORT_MODE_FLAG ( 1i32 ) ; pub const OLECMDIDF_VIEWPORTMODE_EXCLUDE_VISUAL_BOTTOM : OLECMDID_VIEWPORT_MODE_FLAG = OLECMDID_VIEWPORT_MODE_FLAG ( 2i32 ) ; pub const OLECMDIDF_VIEWPORTMODE_FIXED_LAYOUT_WIDTH_VALID : OLECMDID_VIEWPORT_MODE_FLAG = OLECMDID_VIEWPORT_MODE_FLAG ( 65536i32 ) ; pub const OLECMDIDF_VIEWPORTMODE_EXCLUDE_VISUAL_BOTTOM_VALID : OLECMDID_VIEWPORT_MODE_FLAG = OLECMDID_VIEWPORT_MODE_FLAG ( 131072i32 ) ; impl :: std :: convert :: From < i32 > for OLECMDID_VIEWPORT_MODE_FLAG { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for OLECMDID_VIEWPORT_MODE_FLAG { 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 OLECMDID_WINDOWSTATE_FLAG ( pub i32 ) ; pub const OLECMDIDF_WINDOWSTATE_USERVISIBLE : OLECMDID_WINDOWSTATE_FLAG = OLECMDID_WINDOWSTATE_FLAG ( 1i32 ) ; pub const OLECMDIDF_WINDOWSTATE_ENABLED : OLECMDID_WINDOWSTATE_FLAG = OLECMDID_WINDOWSTATE_FLAG ( 2i32 ) ; pub const OLECMDIDF_WINDOWSTATE_USERVISIBLE_VALID : OLECMDID_WINDOWSTATE_FLAG = OLECMDID_WINDOWSTATE_FLAG ( 65536i32 ) ; pub const OLECMDIDF_WINDOWSTATE_ENABLED_VALID : OLECMDID_WINDOWSTATE_FLAG = OLECMDID_WINDOWSTATE_FLAG ( 131072i32 ) ; impl :: std :: convert :: From < i32 > for OLECMDID_WINDOWSTATE_FLAG { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for OLECMDID_WINDOWSTATE_FLAG { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct OLECMDTEXT { pub cmdtextf : u32 , pub cwActual : u32 , pub cwBuf : u32 , pub rgwz : [ u16 ;1 ] } impl OLECMDTEXT { } impl :: std :: default :: Default for OLECMDTEXT { fn default ( ) -> Self { Self { cmdtextf : 0 , cwActual : 0 , cwBuf : 0 , rgwz : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for OLECMDTEXT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "OLECMDTEXT" ) . field ( "cmdtextf" , & self . cmdtextf ) . field ( "cwActual" , & self . cwActual ) . field ( "cwBuf" , & self . cwBuf ) . field ( "rgwz" , & self . rgwz ) . finish ( ) } } impl :: std :: cmp :: PartialEq for OLECMDTEXT { fn eq ( & self , other : & Self ) -> bool { self . cmdtextf == other . cmdtextf && self . cwActual == other . cwActual && self . cwBuf == other . cwBuf && self . rgwz == other . rgwz } } impl :: std :: cmp :: Eq for OLECMDTEXT { } unsafe impl :: windows :: Abi for OLECMDTEXT { 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 OLECMDTEXTF ( pub i32 ) ; pub const OLECMDTEXTF_NONE : OLECMDTEXTF = OLECMDTEXTF ( 0i32 ) ; pub const OLECMDTEXTF_NAME : OLECMDTEXTF = OLECMDTEXTF ( 1i32 ) ; pub const OLECMDTEXTF_STATUS : OLECMDTEXTF = OLECMDTEXTF ( 2i32 ) ; impl :: std :: convert :: From < i32 > for OLECMDTEXTF { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for OLECMDTEXTF { type Abi = Self ; type DefaultType = Self ; } pub const OLECMD_TASKDLGID_ONBEFOREUNLOAD : 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 OLECONTF ( pub i32 ) ; pub const OLECONTF_EMBEDDINGS : OLECONTF = OLECONTF ( 1i32 ) ; pub const OLECONTF_LINKS : OLECONTF = OLECONTF ( 2i32 ) ; pub const OLECONTF_OTHERS : OLECONTF = OLECONTF ( 4i32 ) ; pub const OLECONTF_ONLYUSER : OLECONTF = OLECONTF ( 8i32 ) ; pub const OLECONTF_ONLYIFRUNNING : OLECONTF = OLECONTF ( 16i32 ) ; impl :: std :: convert :: From < i32 > for OLECONTF { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for OLECONTF { type Abi = Self ; type DefaultType = Self ; } pub const OLECREATE_LEAVERUNNING : 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 OLEDCFLAGS ( pub i32 ) ; pub const OLEDC_NODRAW : OLEDCFLAGS = OLEDCFLAGS ( 1i32 ) ; pub const OLEDC_PAINTBKGND : OLEDCFLAGS = OLEDCFLAGS ( 2i32 ) ; pub const OLEDC_OFFSCREEN : OLEDCFLAGS = OLEDCFLAGS ( 4i32 ) ; impl :: std :: convert :: From < i32 > for OLEDCFLAGS { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for OLEDCFLAGS { 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 OLEGETMONIKER ( pub i32 ) ; pub const OLEGETMONIKER_ONLYIFTHERE : OLEGETMONIKER = OLEGETMONIKER ( 1i32 ) ; pub const OLEGETMONIKER_FORCEASSIGN : OLEGETMONIKER = OLEGETMONIKER ( 2i32 ) ; pub const OLEGETMONIKER_UNASSIGN : OLEGETMONIKER = OLEGETMONIKER ( 3i32 ) ; pub const OLEGETMONIKER_TEMPFORUSER : OLEGETMONIKER = OLEGETMONIKER ( 4i32 ) ; impl :: std :: convert :: From < i32 > for OLEGETMONIKER { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for OLEGETMONIKER { type Abi = Self ; type DefaultType = Self ; } pub const OLEIVERB_DISCARDUNDOSTATE : i32 = -6i32 ; pub const OLEIVERB_HIDE : i32 = -3i32 ; pub const OLEIVERB_INPLACEACTIVATE : i32 = -5i32 ; pub const OLEIVERB_OPEN : i32 = -2i32 ; pub const OLEIVERB_PRIMARY : i32 = 0i32 ; pub const OLEIVERB_PROPERTIES : i32 = -7i32 ; pub const OLEIVERB_SHOW : i32 = -1i32 ; pub const OLEIVERB_UIACTIVATE : i32 = -4i32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct OLELINKBIND ( pub i32 ) ; pub const OLELINKBIND_EVENIFCLASSDIFF : OLELINKBIND = OLELINKBIND ( 1i32 ) ; impl :: std :: convert :: From < i32 > for OLELINKBIND { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for OLELINKBIND { 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 OLEMISC ( pub i32 ) ; pub const OLEMISC_RECOMPOSEONRESIZE : OLEMISC = OLEMISC ( 1i32 ) ; pub const OLEMISC_ONLYICONIC : OLEMISC = OLEMISC ( 2i32 ) ; pub const OLEMISC_INSERTNOTREPLACE : OLEMISC = OLEMISC ( 4i32 ) ; pub const OLEMISC_STATIC : OLEMISC = OLEMISC ( 8i32 ) ; pub const OLEMISC_CANTLINKINSIDE : OLEMISC = OLEMISC ( 16i32 ) ; pub const OLEMISC_CANLINKBYOLE1 : OLEMISC = OLEMISC ( 32i32 ) ; pub const OLEMISC_ISLINKOBJECT : OLEMISC = OLEMISC ( 64i32 ) ; pub const OLEMISC_INSIDEOUT : OLEMISC = OLEMISC ( 128i32 ) ; pub const OLEMISC_ACTIVATEWHENVISIBLE : OLEMISC = OLEMISC ( 256i32 ) ; pub const OLEMISC_RENDERINGISDEVICEINDEPENDENT : OLEMISC = OLEMISC ( 512i32 ) ; pub const OLEMISC_INVISIBLEATRUNTIME : OLEMISC = OLEMISC ( 1024i32 ) ; pub const OLEMISC_ALWAYSRUN : OLEMISC = OLEMISC ( 2048i32 ) ; pub const OLEMISC_ACTSLIKEBUTTON : OLEMISC = OLEMISC ( 4096i32 ) ; pub const OLEMISC_ACTSLIKELABEL : OLEMISC = OLEMISC ( 8192i32 ) ; pub const OLEMISC_NOUIACTIVATE : OLEMISC = OLEMISC ( 16384i32 ) ; pub const OLEMISC_ALIGNABLE : OLEMISC = OLEMISC ( 32768i32 ) ; pub const OLEMISC_SIMPLEFRAME : OLEMISC = OLEMISC ( 65536i32 ) ; pub const OLEMISC_SETCLIENTSITEFIRST : OLEMISC = OLEMISC ( 131072i32 ) ; pub const OLEMISC_IMEMODE : OLEMISC = OLEMISC ( 262144i32 ) ; pub const OLEMISC_IGNOREACTIVATEWHENVISIBLE : OLEMISC = OLEMISC ( 524288i32 ) ; pub const OLEMISC_WANTSTOMENUMERGE : OLEMISC = OLEMISC ( 1048576i32 ) ; pub const OLEMISC_SUPPORTSMULTILEVELUNDO : OLEMISC = OLEMISC ( 2097152i32 ) ; impl :: std :: convert :: From < i32 > for OLEMISC { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for OLEMISC { 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 OLERENDER ( pub i32 ) ; pub const OLERENDER_NONE : OLERENDER = OLERENDER ( 0i32 ) ; pub const OLERENDER_DRAW : OLERENDER = OLERENDER ( 1i32 ) ; pub const OLERENDER_FORMAT : OLERENDER = OLERENDER ( 2i32 ) ; pub const OLERENDER_ASIS : OLERENDER = OLERENDER ( 3i32 ) ; impl :: std :: convert :: From < i32 > for OLERENDER { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for OLERENDER { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct OLESTREAM { pub lpstbl : * mut OLESTREAMVTBL } impl OLESTREAM { } impl :: std :: default :: Default for OLESTREAM { fn default ( ) -> Self { Self { lpstbl : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for OLESTREAM { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "OLESTREAM" ) . field ( "lpstbl" , & self . lpstbl ) . finish ( ) } } impl :: std :: cmp :: PartialEq for OLESTREAM { fn eq ( & self , other : & Self ) -> bool { self . lpstbl == other . lpstbl } } impl :: std :: cmp :: Eq for OLESTREAM { } unsafe impl :: windows :: Abi for OLESTREAM { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct OLESTREAMVTBL { pub Get : isize , pub Put : isize } impl OLESTREAMVTBL { } impl :: std :: default :: Default for OLESTREAMVTBL { fn default ( ) -> Self { Self { Get : 0 , Put : 0 } } } impl :: std :: fmt :: Debug for OLESTREAMVTBL { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "OLESTREAMVTBL" ) . field ( "Get" , & self . Get ) . field ( "Put" , & self . Put ) . finish ( ) } } impl :: std :: cmp :: PartialEq for OLESTREAMVTBL { fn eq ( & self , other : & Self ) -> bool { self . Get == other . Get && self . Put == other . Put } } impl :: std :: cmp :: Eq for OLESTREAMVTBL { } unsafe impl :: windows :: Abi for OLESTREAMVTBL { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone ) ] # [ repr ( C ) ] pub struct OLEUIBUSYA { pub cbStruct : u32 , pub dwFlags : u32 , pub hWndOwner : super::super::Foundation:: HWND , pub lpszCaption : super::super::Foundation:: PSTR , pub lpfnHook : :: std :: option :: Option < LPFNOLEUIHOOK > , pub lCustData : super::super::Foundation:: LPARAM , pub hInstance : super::super::Foundation:: HINSTANCE , pub lpszTemplate : super::super::Foundation:: PSTR , pub hResource : super::LibraryLoader:: HRSRC , pub hTask : super::super::Media::Audio::CoreAudio:: HTASK , pub lphWndDialog : * mut super::super::Foundation:: HWND } impl OLEUIBUSYA { } impl :: std :: default :: Default for OLEUIBUSYA { fn default ( ) -> Self { Self { cbStruct : 0 , dwFlags : 0 , hWndOwner : :: std :: default :: Default :: default ( ) , lpszCaption : :: std :: default :: Default :: default ( ) , lpfnHook : :: std :: default :: Default :: default ( ) , lCustData : :: std :: default :: Default :: default ( ) , hInstance : :: std :: default :: Default :: default ( ) , lpszTemplate : :: std :: default :: Default :: default ( ) , hResource : :: std :: default :: Default :: default ( ) , hTask : :: std :: default :: Default :: default ( ) , lphWndDialog : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for OLEUIBUSYA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "OLEUIBUSYA" ) . field ( "cbStruct" , & self . cbStruct ) . field ( "dwFlags" , & self . dwFlags ) . field ( "hWndOwner" , & self . hWndOwner ) . field ( "lpszCaption" , & self . lpszCaption ) . field ( "lCustData" , & self . lCustData ) . field ( "hInstance" , & self . hInstance ) . field ( "lpszTemplate" , & self . lpszTemplate ) . field ( "hResource" , & self . hResource ) . field ( "hTask" , & self . hTask ) . field ( "lphWndDialog" , & self . lphWndDialog ) . finish ( ) } } impl :: std :: cmp :: PartialEq for OLEUIBUSYA { fn eq ( & self , other : & Self ) -> bool { self . cbStruct == other . cbStruct && self . dwFlags == other . dwFlags && self . hWndOwner == other . hWndOwner && self . lpszCaption == other . lpszCaption && self . lpfnHook . map ( | f | f as usize ) == other . lpfnHook . map ( | f | f as usize ) && self . lCustData == other . lCustData && self . hInstance == other . hInstance && self . lpszTemplate == other . lpszTemplate && self . hResource == other . hResource && self . hTask == other . hTask && self . lphWndDialog == other . lphWndDialog } } impl :: std :: cmp :: Eq for OLEUIBUSYA { } # [ repr ( C ) ] # [ doc ( hidden ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct OLEUIBUSYA_abi { pub cbStruct : u32 , pub dwFlags : u32 , pub hWndOwner : super::super::Foundation:: HWND , pub lpszCaption : super::super::Foundation:: PSTR , pub lpfnHook : :: windows :: RawPtr , pub lCustData : super::super::Foundation:: LPARAM , pub hInstance : super::super::Foundation:: HINSTANCE , pub lpszTemplate : super::super::Foundation:: PSTR , pub hResource : super::LibraryLoader:: HRSRC , pub hTask : super::super::Media::Audio::CoreAudio:: HTASK , pub lphWndDialog : * mut super::super::Foundation:: HWND } unsafe impl :: windows :: Abi for OLEUIBUSYA { type Abi = OLEUIBUSYA_abi ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone ) ] # [ repr ( C ) ] pub struct OLEUIBUSYW { pub cbStruct : u32 , pub dwFlags : u32 , pub hWndOwner : super::super::Foundation:: HWND , pub lpszCaption : super::super::Foundation:: PWSTR , pub lpfnHook : :: std :: option :: Option < LPFNOLEUIHOOK > , pub lCustData : super::super::Foundation:: LPARAM , pub hInstance : super::super::Foundation:: HINSTANCE , pub lpszTemplate : super::super::Foundation:: PWSTR , pub hResource : super::LibraryLoader:: HRSRC , pub hTask : super::super::Media::Audio::CoreAudio:: HTASK , pub lphWndDialog : * mut super::super::Foundation:: HWND } impl OLEUIBUSYW { } impl :: std :: default :: Default for OLEUIBUSYW { fn default ( ) -> Self { Self { cbStruct : 0 , dwFlags : 0 , hWndOwner : :: std :: default :: Default :: default ( ) , lpszCaption : :: std :: default :: Default :: default ( ) , lpfnHook : :: std :: default :: Default :: default ( ) , lCustData : :: std :: default :: Default :: default ( ) , hInstance : :: std :: default :: Default :: default ( ) , lpszTemplate : :: std :: default :: Default :: default ( ) , hResource : :: std :: default :: Default :: default ( ) , hTask : :: std :: default :: Default :: default ( ) , lphWndDialog : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for OLEUIBUSYW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "OLEUIBUSYW" ) . field ( "cbStruct" , & self . cbStruct ) . field ( "dwFlags" , & self . dwFlags ) . field ( "hWndOwner" , & self . hWndOwner ) . field ( "lpszCaption" , & self . lpszCaption ) . field ( "lCustData" , & self . lCustData ) . field ( "hInstance" , & self . hInstance ) . field ( "lpszTemplate" , & self . lpszTemplate ) . field ( "hResource" , & self . hResource ) . field ( "hTask" , & self . hTask ) . field ( "lphWndDialog" , & self . lphWndDialog ) . finish ( ) } } impl :: std :: cmp :: PartialEq for OLEUIBUSYW { fn eq ( & self , other : & Self ) -> bool { self . cbStruct == other . cbStruct && self . dwFlags == other . dwFlags && self . hWndOwner == other . hWndOwner && self . lpszCaption == other . lpszCaption && self . lpfnHook . map ( | f | f as usize ) == other . lpfnHook . map ( | f | f as usize ) && self . lCustData == other . lCustData && self . hInstance == other . hInstance && self . lpszTemplate == other . lpszTemplate && self . hResource == other . hResource && self . hTask == other . hTask && self . lphWndDialog == other . lphWndDialog } } impl :: std :: cmp :: Eq for OLEUIBUSYW { } # [ repr ( C ) ] # [ doc ( hidden ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct OLEUIBUSYW_abi { pub cbStruct : u32 , pub dwFlags : u32 , pub hWndOwner : super::super::Foundation:: HWND , pub lpszCaption : super::super::Foundation:: PWSTR , pub lpfnHook : :: windows :: RawPtr , pub lCustData : super::super::Foundation:: LPARAM , pub hInstance : super::super::Foundation:: HINSTANCE , pub lpszTemplate : super::super::Foundation:: PWSTR , pub hResource : super::LibraryLoader:: HRSRC , pub hTask : super::super::Media::Audio::CoreAudio:: HTASK , pub lphWndDialog : * mut super::super::Foundation:: HWND } unsafe impl :: windows :: Abi for OLEUIBUSYW { type Abi = OLEUIBUSYW_abi ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone ) ] # [ repr ( C ) ] pub struct OLEUICHANGEICONA { pub cbStruct : u32 , pub dwFlags : u32 , pub hWndOwner : super::super::Foundation:: HWND , pub lpszCaption : super::super::Foundation:: PSTR , pub lpfnHook : :: std :: option :: Option < LPFNOLEUIHOOK > , pub lCustData : super::super::Foundation:: LPARAM , pub hInstance : super::super::Foundation:: HINSTANCE , pub lpszTemplate : super::super::Foundation:: PSTR , pub hResource : super::LibraryLoader:: HRSRC , pub hMetaPict : isize , pub clsid : :: windows :: Guid , pub szIconExe : [ super::SystemServices:: CHAR ;260 ] , pub cchIconExe : i32 } impl OLEUICHANGEICONA { } impl :: std :: default :: Default for OLEUICHANGEICONA { fn default ( ) -> Self { Self { cbStruct : 0 , dwFlags : 0 , hWndOwner : :: std :: default :: Default :: default ( ) , lpszCaption : :: std :: default :: Default :: default ( ) , lpfnHook : :: std :: default :: Default :: default ( ) , lCustData : :: std :: default :: Default :: default ( ) , hInstance : :: std :: default :: Default :: default ( ) , lpszTemplate : :: std :: default :: Default :: default ( ) , hResource : :: std :: default :: Default :: default ( ) , hMetaPict : 0 , clsid : :: std :: default :: Default :: default ( ) , szIconExe : [ :: std :: default :: Default :: default ( ) ;260 ] , cchIconExe : 0 } } } impl :: std :: fmt :: Debug for OLEUICHANGEICONA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "OLEUICHANGEICONA" ) . field ( "cbStruct" , & self . cbStruct ) . field ( "dwFlags" , & self . dwFlags ) . field ( "hWndOwner" , & self . hWndOwner ) . field ( "lpszCaption" , & self . lpszCaption ) . field ( "lCustData" , & self . lCustData ) . field ( "hInstance" , & self . hInstance ) . field ( "lpszTemplate" , & self . lpszTemplate ) . field ( "hResource" , & self . hResource ) . field ( "hMetaPict" , & self . hMetaPict ) . field ( "clsid" , & self . clsid ) . field ( "szIconExe" , & self . szIconExe ) . field ( "cchIconExe" , & self . cchIconExe ) . finish ( ) } } impl :: std :: cmp :: PartialEq for OLEUICHANGEICONA { fn eq ( & self , other : & Self ) -> bool { self . cbStruct == other . cbStruct && self . dwFlags == other . dwFlags && self . hWndOwner == other . hWndOwner && self . lpszCaption == other . lpszCaption && self . lpfnHook . map ( | f | f as usize ) == other . lpfnHook . map ( | f | f as usize ) && self . lCustData == other . lCustData && self . hInstance == other . hInstance && self . lpszTemplate == other . lpszTemplate && self . hResource == other . hResource && self . hMetaPict == other . hMetaPict && self . clsid == other . clsid && self . szIconExe == other . szIconExe && self . cchIconExe == other . cchIconExe } } impl :: std :: cmp :: Eq for OLEUICHANGEICONA { } # [ repr ( C ) ] # [ doc ( hidden ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct OLEUICHANGEICONA_abi { pub cbStruct : u32 , pub dwFlags : u32 , pub hWndOwner : super::super::Foundation:: HWND , pub lpszCaption : super::super::Foundation:: PSTR , pub lpfnHook : :: windows :: RawPtr , pub lCustData : super::super::Foundation:: LPARAM , pub hInstance : super::super::Foundation:: HINSTANCE , pub lpszTemplate : super::super::Foundation:: PSTR , pub hResource : super::LibraryLoader:: HRSRC , pub hMetaPict : isize , pub clsid : :: windows :: Guid , pub szIconExe : [ super::SystemServices:: CHAR ;260 ] , pub cchIconExe : i32 } unsafe impl :: windows :: Abi for OLEUICHANGEICONA { type Abi = OLEUICHANGEICONA_abi ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone ) ] # [ repr ( C ) ] pub struct OLEUICHANGEICONW { pub cbStruct : u32 , pub dwFlags : u32 , pub hWndOwner : super::super::Foundation:: HWND , pub lpszCaption : super::super::Foundation:: PWSTR , pub lpfnHook : :: std :: option :: Option < LPFNOLEUIHOOK > , pub lCustData : super::super::Foundation:: LPARAM , pub hInstance : super::super::Foundation:: HINSTANCE , pub lpszTemplate : super::super::Foundation:: PWSTR , pub hResource : super::LibraryLoader:: HRSRC , pub hMetaPict : isize , pub clsid : :: windows :: Guid , pub szIconExe : [ u16 ;260 ] , pub cchIconExe : i32 } impl OLEUICHANGEICONW { } impl :: std :: default :: Default for OLEUICHANGEICONW { fn default ( ) -> Self { Self { cbStruct : 0 , dwFlags : 0 , hWndOwner : :: std :: default :: Default :: default ( ) , lpszCaption : :: std :: default :: Default :: default ( ) , lpfnHook : :: std :: default :: Default :: default ( ) , lCustData : :: std :: default :: Default :: default ( ) , hInstance : :: std :: default :: Default :: default ( ) , lpszTemplate : :: std :: default :: Default :: default ( ) , hResource : :: std :: default :: Default :: default ( ) , hMetaPict : 0 , clsid : :: std :: default :: Default :: default ( ) , szIconExe : [ 0 ;260 ] , cchIconExe : 0 } } } impl :: std :: fmt :: Debug for OLEUICHANGEICONW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "OLEUICHANGEICONW" ) . field ( "cbStruct" , & self . cbStruct ) . field ( "dwFlags" , & self . dwFlags ) . field ( "hWndOwner" , & self . hWndOwner ) . field ( "lpszCaption" , & self . lpszCaption ) . field ( "lCustData" , & self . lCustData ) . field ( "hInstance" , & self . hInstance ) . field ( "lpszTemplate" , & self . lpszTemplate ) . field ( "hResource" , & self . hResource ) . field ( "hMetaPict" , & self . hMetaPict ) . field ( "clsid" , & self . clsid ) . field ( "szIconExe" , & self . szIconExe ) . field ( "cchIconExe" , & self . cchIconExe ) . finish ( ) } } impl :: std :: cmp :: PartialEq for OLEUICHANGEICONW { fn eq ( & self , other : & Self ) -> bool { self . cbStruct == other . cbStruct && self . dwFlags == other . dwFlags && self . hWndOwner == other . hWndOwner && self . lpszCaption == other . lpszCaption && self . lpfnHook . map ( | f | f as usize ) == other . lpfnHook . map ( | f | f as usize ) && self . lCustData == other . lCustData && self . hInstance == other . hInstance && self . lpszTemplate == other . lpszTemplate && self . hResource == other . hResource && self . hMetaPict == other . hMetaPict && self . clsid == other . clsid && self . szIconExe == other . szIconExe && self . cchIconExe == other . cchIconExe } } impl :: std :: cmp :: Eq for OLEUICHANGEICONW { } # [ repr ( C ) ] # [ doc ( hidden ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct OLEUICHANGEICONW_abi { pub cbStruct : u32 , pub dwFlags : u32 , pub hWndOwner : super::super::Foundation:: HWND , pub lpszCaption : super::super::Foundation:: PWSTR , pub lpfnHook : :: windows :: RawPtr , pub lCustData : super::super::Foundation:: LPARAM , pub hInstance : super::super::Foundation:: HINSTANCE , pub lpszTemplate : super::super::Foundation:: PWSTR , pub hResource : super::LibraryLoader:: HRSRC , pub hMetaPict : isize , pub clsid : :: windows :: Guid , pub szIconExe : [ u16 ;260 ] , pub cchIconExe : i32 } unsafe impl :: windows :: Abi for OLEUICHANGEICONW { type Abi = OLEUICHANGEICONW_abi ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone ) ] # [ repr ( C ) ] pub struct OLEUICHANGESOURCEA { pub cbStruct : u32 , pub dwFlags : u32 , pub hWndOwner : super::super::Foundation:: HWND , pub lpszCaption : super::super::Foundation:: PSTR , pub lpfnHook : :: std :: option :: Option < LPFNOLEUIHOOK > , pub lCustData : super::super::Foundation:: LPARAM , pub hInstance : super::super::Foundation:: HINSTANCE , pub lpszTemplate : super::super::Foundation:: PSTR , pub hResource : super::LibraryLoader:: HRSRC , pub lpOFN : * mut super::super::UI::WindowsAndMessaging:: OPENFILENAMEA , pub dwReserved1 : [ u32 ;4 ] , pub lpOleUILinkContainer : :: std :: option :: Option < IOleUILinkContainerA > , pub dwLink : u32 , pub lpszDisplayName : super::super::Foundation:: PSTR , pub nFileLength : u32 , pub lpszFrom : super::super::Foundation:: PSTR , pub lpszTo : super::super::Foundation:: PSTR } impl OLEUICHANGESOURCEA { } impl :: std :: default :: Default for OLEUICHANGESOURCEA { fn default ( ) -> Self { Self { cbStruct : 0 , dwFlags : 0 , hWndOwner : :: std :: default :: Default :: default ( ) , lpszCaption : :: std :: default :: Default :: default ( ) , lpfnHook : :: std :: default :: Default :: default ( ) , lCustData : :: std :: default :: Default :: default ( ) , hInstance : :: std :: default :: Default :: default ( ) , lpszTemplate : :: std :: default :: Default :: default ( ) , hResource : :: std :: default :: Default :: default ( ) , lpOFN : :: std :: ptr :: null_mut ( ) , dwReserved1 : [ 0 ;4 ] , lpOleUILinkContainer : :: std :: default :: Default :: default ( ) , dwLink : 0 , lpszDisplayName : :: std :: default :: Default :: default ( ) , nFileLength : 0 , lpszFrom : :: std :: default :: Default :: default ( ) , lpszTo : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for OLEUICHANGESOURCEA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "OLEUICHANGESOURCEA" ) . field ( "cbStruct" , & self . cbStruct ) . field ( "dwFlags" , & self . dwFlags ) . field ( "hWndOwner" , & self . hWndOwner ) . field ( "lpszCaption" , & self . lpszCaption ) . field ( "lCustData" , & self . lCustData ) . field ( "hInstance" , & self . hInstance ) . field ( "lpszTemplate" , & self . lpszTemplate ) . field ( "hResource" , & self . hResource ) . field ( "lpOFN" , & self . lpOFN ) . field ( "dwReserved1" , & self . dwReserved1 ) . field ( "lpOleUILinkContainer" , & self . lpOleUILinkContainer ) . field ( "dwLink" , & self . dwLink ) . field ( "lpszDisplayName" , & self . lpszDisplayName ) . field ( "nFileLength" , & self . nFileLength ) . field ( "lpszFrom" , & self . lpszFrom ) . field ( "lpszTo" , & self . lpszTo ) . finish ( ) } } impl :: std :: cmp :: PartialEq for OLEUICHANGESOURCEA { fn eq ( & self , other : & Self ) -> bool { self . cbStruct == other . cbStruct && self . dwFlags == other . dwFlags && self . hWndOwner == other . hWndOwner && self . lpszCaption == other . lpszCaption && self . lpfnHook . map ( | f | f as usize ) == other . lpfnHook . map ( | f | f as usize ) && self . lCustData == other . lCustData && self . hInstance == other . hInstance && self . lpszTemplate == other . lpszTemplate && self . hResource == other . hResource && self . lpOFN == other . lpOFN && self . dwReserved1 == other . dwReserved1 && self . lpOleUILinkContainer == other . lpOleUILinkContainer && self . dwLink == other . dwLink && self . lpszDisplayName == other . lpszDisplayName && self . nFileLength == other . nFileLength && self . lpszFrom == other . lpszFrom && self . lpszTo == other . lpszTo } } impl :: std :: cmp :: Eq for OLEUICHANGESOURCEA { } # [ repr ( C ) ] # [ doc ( hidden ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct OLEUICHANGESOURCEA_abi { pub cbStruct : u32 , pub dwFlags : u32 , pub hWndOwner : super::super::Foundation:: HWND , pub lpszCaption : super::super::Foundation:: PSTR , pub lpfnHook : :: windows :: RawPtr , pub lCustData : super::super::Foundation:: LPARAM , pub hInstance : super::super::Foundation:: HINSTANCE , pub lpszTemplate : super::super::Foundation:: PSTR , pub hResource : super::LibraryLoader:: HRSRC , pub lpOFN : * mut super::super::UI::WindowsAndMessaging:: OPENFILENAMEA_abi , pub dwReserved1 : [ u32 ;4 ] , pub lpOleUILinkContainer : :: windows :: RawPtr , pub dwLink : u32 , pub lpszDisplayName : super::super::Foundation:: PSTR , pub nFileLength : u32 , pub lpszFrom : super::super::Foundation:: PSTR , pub lpszTo : super::super::Foundation:: PSTR } unsafe impl :: windows :: Abi for OLEUICHANGESOURCEA { type Abi = OLEUICHANGESOURCEA_abi ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone ) ] # [ repr ( C ) ] pub struct OLEUICHANGESOURCEW { pub cbStruct : u32 , pub dwFlags : u32 , pub hWndOwner : super::super::Foundation:: HWND , pub lpszCaption : super::super::Foundation:: PWSTR , pub lpfnHook : :: std :: option :: Option < LPFNOLEUIHOOK > , pub lCustData : super::super::Foundation:: LPARAM , pub hInstance : super::super::Foundation:: HINSTANCE , pub lpszTemplate : super::super::Foundation:: PWSTR , pub hResource : super::LibraryLoader:: HRSRC , pub lpOFN : * mut super::super::UI::WindowsAndMessaging:: OPENFILENAMEW , pub dwReserved1 : [ u32 ;4 ] , pub lpOleUILinkContainer : :: std :: option :: Option < IOleUILinkContainerW > , pub dwLink : u32 , pub lpszDisplayName : super::super::Foundation:: PWSTR , pub nFileLength : u32 , pub lpszFrom : super::super::Foundation:: PWSTR , pub lpszTo : super::super::Foundation:: PWSTR } impl OLEUICHANGESOURCEW { } impl :: std :: default :: Default for OLEUICHANGESOURCEW { fn default ( ) -> Self { Self { cbStruct : 0 , dwFlags : 0 , hWndOwner : :: std :: default :: Default :: default ( ) , lpszCaption : :: std :: default :: Default :: default ( ) , lpfnHook : :: std :: default :: Default :: default ( ) , lCustData : :: std :: default :: Default :: default ( ) , hInstance : :: std :: default :: Default :: default ( ) , lpszTemplate : :: std :: default :: Default :: default ( ) , hResource : :: std :: default :: Default :: default ( ) , lpOFN : :: std :: ptr :: null_mut ( ) , dwReserved1 : [ 0 ;4 ] , lpOleUILinkContainer : :: std :: default :: Default :: default ( ) , dwLink : 0 , lpszDisplayName : :: std :: default :: Default :: default ( ) , nFileLength : 0 , lpszFrom : :: std :: default :: Default :: default ( ) , lpszTo : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for OLEUICHANGESOURCEW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "OLEUICHANGESOURCEW" ) . field ( "cbStruct" , & self . cbStruct ) . field ( "dwFlags" , & self . dwFlags ) . field ( "hWndOwner" , & self . hWndOwner ) . field ( "lpszCaption" , & self . lpszCaption ) . field ( "lCustData" , & self . lCustData ) . field ( "hInstance" , & self . hInstance ) . field ( "lpszTemplate" , & self . lpszTemplate ) . field ( "hResource" , & self . hResource ) . field ( "lpOFN" , & self . lpOFN ) . field ( "dwReserved1" , & self . dwReserved1 ) . field ( "lpOleUILinkContainer" , & self . lpOleUILinkContainer ) . field ( "dwLink" , & self . dwLink ) . field ( "lpszDisplayName" , & self . lpszDisplayName ) . field ( "nFileLength" , & self . nFileLength ) . field ( "lpszFrom" , & self . lpszFrom ) . field ( "lpszTo" , & self . lpszTo ) . finish ( ) } } impl :: std :: cmp :: PartialEq for OLEUICHANGESOURCEW { fn eq ( & self , other : & Self ) -> bool { self . cbStruct == other . cbStruct && self . dwFlags == other . dwFlags && self . hWndOwner == other . hWndOwner && self . lpszCaption == other . lpszCaption && self . lpfnHook . map ( | f | f as usize ) == other . lpfnHook . map ( | f | f as usize ) && self . lCustData == other . lCustData && self . hInstance == other . hInstance && self . lpszTemplate == other . lpszTemplate && self . hResource == other . hResource && self . lpOFN == other . lpOFN && self . dwReserved1 == other . dwReserved1 && self . lpOleUILinkContainer == other . lpOleUILinkContainer && self . dwLink == other . dwLink && self . lpszDisplayName == other . lpszDisplayName && self . nFileLength == other . nFileLength && self . lpszFrom == other . lpszFrom && self . lpszTo == other . lpszTo } } impl :: std :: cmp :: Eq for OLEUICHANGESOURCEW { } # [ repr ( C ) ] # [ doc ( hidden ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct OLEUICHANGESOURCEW_abi { pub cbStruct : u32 , pub dwFlags : u32 , pub hWndOwner : super::super::Foundation:: HWND , pub lpszCaption : super::super::Foundation:: PWSTR , pub lpfnHook : :: windows :: RawPtr , pub lCustData : super::super::Foundation:: LPARAM , pub hInstance : super::super::Foundation:: HINSTANCE , pub lpszTemplate : super::super::Foundation:: PWSTR , pub hResource : super::LibraryLoader:: HRSRC , pub lpOFN : * mut super::super::UI::WindowsAndMessaging:: OPENFILENAMEW_abi , pub dwReserved1 : [ u32 ;4 ] , pub lpOleUILinkContainer : :: windows :: RawPtr , pub dwLink : u32 , pub lpszDisplayName : super::super::Foundation:: PWSTR , pub nFileLength : u32 , pub lpszFrom : super::super::Foundation:: PWSTR , pub lpszTo : super::super::Foundation:: PWSTR } unsafe impl :: windows :: Abi for OLEUICHANGESOURCEW { type Abi = OLEUICHANGESOURCEW_abi ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone ) ] # [ repr ( C ) ] pub struct OLEUICONVERTA { pub cbStruct : u32 , pub dwFlags : u32 , pub hWndOwner : super::super::Foundation:: HWND , pub lpszCaption : super::super::Foundation:: PSTR , pub lpfnHook : :: std :: option :: Option < LPFNOLEUIHOOK > , pub lCustData : super::super::Foundation:: LPARAM , pub hInstance : super::super::Foundation:: HINSTANCE , pub lpszTemplate : super::super::Foundation:: PSTR , pub hResource : super::LibraryLoader:: HRSRC , pub clsid : :: windows :: Guid , pub clsidConvertDefault : :: windows :: Guid , pub clsidActivateDefault : :: windows :: Guid , pub clsidNew : :: windows :: Guid , pub dvAspect : u32 , pub wFormat : u16 , pub fIsLinkedObject : super::super::Foundation:: BOOL , pub hMetaPict : isize , pub lpszUserType : super::super::Foundation:: PSTR , pub fObjectsIconChanged : super::super::Foundation:: BOOL , pub lpszDefLabel : super::super::Foundation:: PSTR , pub cClsidExclude : u32 , pub lpClsidExclude : * mut :: windows :: Guid } impl OLEUICONVERTA { } impl :: std :: default :: Default for OLEUICONVERTA { fn default ( ) -> Self { Self { cbStruct : 0 , dwFlags : 0 , hWndOwner : :: std :: default :: Default :: default ( ) , lpszCaption : :: std :: default :: Default :: default ( ) , lpfnHook : :: std :: default :: Default :: default ( ) , lCustData : :: std :: default :: Default :: default ( ) , hInstance : :: std :: default :: Default :: default ( ) , lpszTemplate : :: std :: default :: Default :: default ( ) , hResource : :: std :: default :: Default :: default ( ) , clsid : :: std :: default :: Default :: default ( ) , clsidConvertDefault : :: std :: default :: Default :: default ( ) , clsidActivateDefault : :: std :: default :: Default :: default ( ) , clsidNew : :: std :: default :: Default :: default ( ) , dvAspect : 0 , wFormat : 0 , fIsLinkedObject : :: std :: default :: Default :: default ( ) , hMetaPict : 0 , lpszUserType : :: std :: default :: Default :: default ( ) , fObjectsIconChanged : :: std :: default :: Default :: default ( ) , lpszDefLabel : :: std :: default :: Default :: default ( ) , cClsidExclude : 0 , lpClsidExclude : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for OLEUICONVERTA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "OLEUICONVERTA" ) . field ( "cbStruct" , & self . cbStruct ) . field ( "dwFlags" , & self . dwFlags ) . field ( "hWndOwner" , & self . hWndOwner ) . field ( "lpszCaption" , & self . lpszCaption ) . field ( "lCustData" , & self . lCustData ) . field ( "hInstance" , & self . hInstance ) . field ( "lpszTemplate" , & self . lpszTemplate ) . field ( "hResource" , & self . hResource ) . field ( "clsid" , & self . clsid ) . field ( "clsidConvertDefault" , & self . clsidConvertDefault ) . field ( "clsidActivateDefault" , & self . clsidActivateDefault ) . field ( "clsidNew" , & self . clsidNew ) . field ( "dvAspect" , & self . dvAspect ) . field ( "wFormat" , & self . wFormat ) . field ( "fIsLinkedObject" , & self . fIsLinkedObject ) . field ( "hMetaPict" , & self . hMetaPict ) . field ( "lpszUserType" , & self . lpszUserType ) . field ( "fObjectsIconChanged" , & self . fObjectsIconChanged ) . field ( "lpszDefLabel" , & self . lpszDefLabel ) . field ( "cClsidExclude" , & self . cClsidExclude ) . field ( "lpClsidExclude" , & self . lpClsidExclude ) . finish ( ) } } impl :: std :: cmp :: PartialEq for OLEUICONVERTA { fn eq ( & self , other : & Self ) -> bool { self . cbStruct == other . cbStruct && self . dwFlags == other . dwFlags && self . hWndOwner == other . hWndOwner && self . lpszCaption == other . lpszCaption && self . lpfnHook . map ( | f | f as usize ) == other . lpfnHook . map ( | f | f as usize ) && self . lCustData == other . lCustData && self . hInstance == other . hInstance && self . lpszTemplate == other . lpszTemplate && self . hResource == other . hResource && self . clsid == other . clsid && self . clsidConvertDefault == other . clsidConvertDefault && self . clsidActivateDefault == other . clsidActivateDefault && self . clsidNew == other . clsidNew && self . dvAspect == other . dvAspect && self . wFormat == other . wFormat && self . fIsLinkedObject == other . fIsLinkedObject && self . hMetaPict == other . hMetaPict && self . lpszUserType == other . lpszUserType && self . fObjectsIconChanged == other . fObjectsIconChanged && self . lpszDefLabel == other . lpszDefLabel && self . cClsidExclude == other . cClsidExclude && self . lpClsidExclude == other . lpClsidExclude } } impl :: std :: cmp :: Eq for OLEUICONVERTA { } # [ repr ( C ) ] # [ doc ( hidden ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct OLEUICONVERTA_abi { pub cbStruct : u32 , pub dwFlags : u32 , pub hWndOwner : super::super::Foundation:: HWND , pub lpszCaption : super::super::Foundation:: PSTR , pub lpfnHook : :: windows :: RawPtr , pub lCustData : super::super::Foundation:: LPARAM , pub hInstance : super::super::Foundation:: HINSTANCE , pub lpszTemplate : super::super::Foundation:: PSTR , pub hResource : super::LibraryLoader:: HRSRC , pub clsid : :: windows :: Guid , pub clsidConvertDefault : :: windows :: Guid , pub clsidActivateDefault : :: windows :: Guid , pub clsidNew : :: windows :: Guid , pub dvAspect : u32 , pub wFormat : u16 , pub fIsLinkedObject : super::super::Foundation:: BOOL , pub hMetaPict : isize , pub lpszUserType : super::super::Foundation:: PSTR , pub fObjectsIconChanged : super::super::Foundation:: BOOL , pub lpszDefLabel : super::super::Foundation:: PSTR , pub cClsidExclude : u32 , pub lpClsidExclude : * mut :: windows :: Guid } unsafe impl :: windows :: Abi for OLEUICONVERTA { type Abi = OLEUICONVERTA_abi ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone ) ] # [ repr ( C ) ] pub struct OLEUICONVERTW { pub cbStruct : u32 , pub dwFlags : u32 , pub hWndOwner : super::super::Foundation:: HWND , pub lpszCaption : super::super::Foundation:: PWSTR , pub lpfnHook : :: std :: option :: Option < LPFNOLEUIHOOK > , pub lCustData : super::super::Foundation:: LPARAM , pub hInstance : super::super::Foundation:: HINSTANCE , pub lpszTemplate : super::super::Foundation:: PWSTR , pub hResource : super::LibraryLoader:: HRSRC , pub clsid : :: windows :: Guid , pub clsidConvertDefault : :: windows :: Guid , pub clsidActivateDefault : :: windows :: Guid , pub clsidNew : :: windows :: Guid , pub dvAspect : u32 , pub wFormat : u16 , pub fIsLinkedObject : super::super::Foundation:: BOOL , pub hMetaPict : isize , pub lpszUserType : super::super::Foundation:: PWSTR , pub fObjectsIconChanged : super::super::Foundation:: BOOL , pub lpszDefLabel : super::super::Foundation:: PWSTR , pub cClsidExclude : u32 , pub lpClsidExclude : * mut :: windows :: Guid } impl OLEUICONVERTW { } impl :: std :: default :: Default for OLEUICONVERTW { fn default ( ) -> Self { Self { cbStruct : 0 , dwFlags : 0 , hWndOwner : :: std :: default :: Default :: default ( ) , lpszCaption : :: std :: default :: Default :: default ( ) , lpfnHook : :: std :: default :: Default :: default ( ) , lCustData : :: std :: default :: Default :: default ( ) , hInstance : :: std :: default :: Default :: default ( ) , lpszTemplate : :: std :: default :: Default :: default ( ) , hResource : :: std :: default :: Default :: default ( ) , clsid : :: std :: default :: Default :: default ( ) , clsidConvertDefault : :: std :: default :: Default :: default ( ) , clsidActivateDefault : :: std :: default :: Default :: default ( ) , clsidNew : :: std :: default :: Default :: default ( ) , dvAspect : 0 , wFormat : 0 , fIsLinkedObject : :: std :: default :: Default :: default ( ) , hMetaPict : 0 , lpszUserType : :: std :: default :: Default :: default ( ) , fObjectsIconChanged : :: std :: default :: Default :: default ( ) , lpszDefLabel : :: std :: default :: Default :: default ( ) , cClsidExclude : 0 , lpClsidExclude : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for OLEUICONVERTW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "OLEUICONVERTW" ) . field ( "cbStruct" , & self . cbStruct ) . field ( "dwFlags" , & self . dwFlags ) . field ( "hWndOwner" , & self . hWndOwner ) . field ( "lpszCaption" , & self . lpszCaption ) . field ( "lCustData" , & self . lCustData ) . field ( "hInstance" , & self . hInstance ) . field ( "lpszTemplate" , & self . lpszTemplate ) . field ( "hResource" , & self . hResource ) . field ( "clsid" , & self . clsid ) . field ( "clsidConvertDefault" , & self . clsidConvertDefault ) . field ( "clsidActivateDefault" , & self . clsidActivateDefault ) . field ( "clsidNew" , & self . clsidNew ) . field ( "dvAspect" , & self . dvAspect ) . field ( "wFormat" , & self . wFormat ) . field ( "fIsLinkedObject" , & self . fIsLinkedObject ) . field ( "hMetaPict" , & self . hMetaPict ) . field ( "lpszUserType" , & self . lpszUserType ) . field ( "fObjectsIconChanged" , & self . fObjectsIconChanged ) . field ( "lpszDefLabel" , & self . lpszDefLabel ) . field ( "cClsidExclude" , & self . cClsidExclude ) . field ( "lpClsidExclude" , & self . lpClsidExclude ) . finish ( ) } } impl :: std :: cmp :: PartialEq for OLEUICONVERTW { fn eq ( & self , other : & Self ) -> bool { self . cbStruct == other . cbStruct && self . dwFlags == other . dwFlags && self . hWndOwner == other . hWndOwner && self . lpszCaption == other . lpszCaption && self . lpfnHook . map ( | f | f as usize ) == other . lpfnHook . map ( | f | f as usize ) && self . lCustData == other . lCustData && self . hInstance == other . hInstance && self . lpszTemplate == other . lpszTemplate && self . hResource == other . hResource && self . clsid == other . clsid && self . clsidConvertDefault == other . clsidConvertDefault && self . clsidActivateDefault == other . clsidActivateDefault && self . clsidNew == other . clsidNew && self . dvAspect == other . dvAspect && self . wFormat == other . wFormat && self . fIsLinkedObject == other . fIsLinkedObject && self . hMetaPict == other . hMetaPict && self . lpszUserType == other . lpszUserType && self . fObjectsIconChanged == other . fObjectsIconChanged && self . lpszDefLabel == other . lpszDefLabel && self . cClsidExclude == other . cClsidExclude && self . lpClsidExclude == other . lpClsidExclude } } impl :: std :: cmp :: Eq for OLEUICONVERTW { } # [ repr ( C ) ] # [ doc ( hidden ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct OLEUICONVERTW_abi { pub cbStruct : u32 , pub dwFlags : u32 , pub hWndOwner : super::super::Foundation:: HWND , pub lpszCaption : super::super::Foundation:: PWSTR , pub lpfnHook : :: windows :: RawPtr , pub lCustData : super::super::Foundation:: LPARAM , pub hInstance : super::super::Foundation:: HINSTANCE , pub lpszTemplate : super::super::Foundation:: PWSTR , pub hResource : super::LibraryLoader:: HRSRC , pub clsid : :: windows :: Guid , pub clsidConvertDefault : :: windows :: Guid , pub clsidActivateDefault : :: windows :: Guid , pub clsidNew : :: windows :: Guid , pub dvAspect : u32 , pub wFormat : u16 , pub fIsLinkedObject : super::super::Foundation:: BOOL , pub hMetaPict : isize , pub lpszUserType : super::super::Foundation:: PWSTR , pub fObjectsIconChanged : super::super::Foundation:: BOOL , pub lpszDefLabel : super::super::Foundation:: PWSTR , pub cClsidExclude : u32 , pub lpClsidExclude : * mut :: windows :: Guid } unsafe impl :: windows :: Abi for OLEUICONVERTW { type Abi = OLEUICONVERTW_abi ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone ) ] # [ repr ( C ) ] pub struct OLEUIEDITLINKSA { pub cbStruct : u32 , pub dwFlags : u32 , pub hWndOwner : super::super::Foundation:: HWND , pub lpszCaption : super::super::Foundation:: PSTR , pub lpfnHook : :: std :: option :: Option < LPFNOLEUIHOOK > , pub lCustData : super::super::Foundation:: LPARAM , pub hInstance : super::super::Foundation:: HINSTANCE , pub lpszTemplate : super::super::Foundation:: PSTR , pub hResource : super::LibraryLoader:: HRSRC , pub lpOleUILinkContainer : :: std :: option :: Option < IOleUILinkContainerA > } impl OLEUIEDITLINKSA { } impl :: std :: default :: Default for OLEUIEDITLINKSA { fn default ( ) -> Self { Self { cbStruct : 0 , dwFlags : 0 , hWndOwner : :: std :: default :: Default :: default ( ) , lpszCaption : :: std :: default :: Default :: default ( ) , lpfnHook : :: std :: default :: Default :: default ( ) , lCustData : :: std :: default :: Default :: default ( ) , hInstance : :: std :: default :: Default :: default ( ) , lpszTemplate : :: std :: default :: Default :: default ( ) , hResource : :: std :: default :: Default :: default ( ) , lpOleUILinkContainer : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for OLEUIEDITLINKSA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "OLEUIEDITLINKSA" ) . field ( "cbStruct" , & self . cbStruct ) . field ( "dwFlags" , & self . dwFlags ) . field ( "hWndOwner" , & self . hWndOwner ) . field ( "lpszCaption" , & self . lpszCaption ) . field ( "lCustData" , & self . lCustData ) . field ( "hInstance" , & self . hInstance ) . field ( "lpszTemplate" , & self . lpszTemplate ) . field ( "hResource" , & self . hResource ) . field ( "lpOleUILinkContainer" , & self . lpOleUILinkContainer ) . finish ( ) } } impl :: std :: cmp :: PartialEq for OLEUIEDITLINKSA { fn eq ( & self , other : & Self ) -> bool { self . cbStruct == other . cbStruct && self . dwFlags == other . dwFlags && self . hWndOwner == other . hWndOwner && self . lpszCaption == other . lpszCaption && self . lpfnHook . map ( | f | f as usize ) == other . lpfnHook . map ( | f | f as usize ) && self . lCustData == other . lCustData && self . hInstance == other . hInstance && self . lpszTemplate == other . lpszTemplate && self . hResource == other . hResource && self . lpOleUILinkContainer == other . lpOleUILinkContainer } } impl :: std :: cmp :: Eq for OLEUIEDITLINKSA { } # [ repr ( C ) ] # [ doc ( hidden ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct OLEUIEDITLINKSA_abi { pub cbStruct : u32 , pub dwFlags : u32 , pub hWndOwner : super::super::Foundation:: HWND , pub lpszCaption : super::super::Foundation:: PSTR , pub lpfnHook : :: windows :: RawPtr , pub lCustData : super::super::Foundation:: LPARAM , pub hInstance : super::super::Foundation:: HINSTANCE , pub lpszTemplate : super::super::Foundation:: PSTR , pub hResource : super::LibraryLoader:: HRSRC , pub lpOleUILinkContainer : :: windows :: RawPtr } unsafe impl :: windows :: Abi for OLEUIEDITLINKSA { type Abi = OLEUIEDITLINKSA_abi ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone ) ] # [ repr ( C ) ] pub struct OLEUIEDITLINKSW { pub cbStruct : u32 , pub dwFlags : u32 , pub hWndOwner : super::super::Foundation:: HWND , pub lpszCaption : super::super::Foundation:: PWSTR , pub lpfnHook : :: std :: option :: Option < LPFNOLEUIHOOK > , pub lCustData : super::super::Foundation:: LPARAM , pub hInstance : super::super::Foundation:: HINSTANCE , pub lpszTemplate : super::super::Foundation:: PWSTR , pub hResource : super::LibraryLoader:: HRSRC , pub lpOleUILinkContainer : :: std :: option :: Option < IOleUILinkContainerW > } impl OLEUIEDITLINKSW { } impl :: std :: default :: Default for OLEUIEDITLINKSW { fn default ( ) -> Self { Self { cbStruct : 0 , dwFlags : 0 , hWndOwner : :: std :: default :: Default :: default ( ) , lpszCaption : :: std :: default :: Default :: default ( ) , lpfnHook : :: std :: default :: Default :: default ( ) , lCustData : :: std :: default :: Default :: default ( ) , hInstance : :: std :: default :: Default :: default ( ) , lpszTemplate : :: std :: default :: Default :: default ( ) , hResource : :: std :: default :: Default :: default ( ) , lpOleUILinkContainer : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for OLEUIEDITLINKSW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "OLEUIEDITLINKSW" ) . field ( "cbStruct" , & self . cbStruct ) . field ( "dwFlags" , & self . dwFlags ) . field ( "hWndOwner" , & self . hWndOwner ) . field ( "lpszCaption" , & self . lpszCaption ) . field ( "lCustData" , & self . lCustData ) . field ( "hInstance" , & self . hInstance ) . field ( "lpszTemplate" , & self . lpszTemplate ) . field ( "hResource" , & self . hResource ) . field ( "lpOleUILinkContainer" , & self . lpOleUILinkContainer ) . finish ( ) } } impl :: std :: cmp :: PartialEq for OLEUIEDITLINKSW { fn eq ( & self , other : & Self ) -> bool { self . cbStruct == other . cbStruct && self . dwFlags == other . dwFlags && self . hWndOwner == other . hWndOwner && self . lpszCaption == other . lpszCaption && self . lpfnHook . map ( | f | f as usize ) == other . lpfnHook . map ( | f | f as usize ) && self . lCustData == other . lCustData && self . hInstance == other . hInstance && self . lpszTemplate == other . lpszTemplate && self . hResource == other . hResource && self . lpOleUILinkContainer == other . lpOleUILinkContainer } } impl :: std :: cmp :: Eq for OLEUIEDITLINKSW { } # [ repr ( C ) ] # [ doc ( hidden ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct OLEUIEDITLINKSW_abi { pub cbStruct : u32 , pub dwFlags : u32 , pub hWndOwner : super::super::Foundation:: HWND , pub lpszCaption : super::super::Foundation:: PWSTR , pub lpfnHook : :: windows :: RawPtr , pub lCustData : super::super::Foundation:: LPARAM , pub hInstance : super::super::Foundation:: HINSTANCE , pub lpszTemplate : super::super::Foundation:: PWSTR , pub hResource : super::LibraryLoader:: HRSRC , pub lpOleUILinkContainer : :: windows :: RawPtr } unsafe impl :: windows :: Abi for OLEUIEDITLINKSW { type Abi = OLEUIEDITLINKSW_abi ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone ) ] # [ repr ( C ) ] pub struct OLEUIGNRLPROPSA { pub cbStruct : u32 , pub dwFlags : u32 , pub dwReserved1 : [ u32 ;2 ] , pub lpfnHook : :: std :: option :: Option < LPFNOLEUIHOOK > , pub lCustData : super::super::Foundation:: LPARAM , pub dwReserved2 : [ u32 ;3 ] , pub lpOP : * mut OLEUIOBJECTPROPSA } impl OLEUIGNRLPROPSA { } impl :: std :: default :: Default for OLEUIGNRLPROPSA { fn default ( ) -> Self { Self { cbStruct : 0 , dwFlags : 0 , dwReserved1 : [ 0 ;2 ] , lpfnHook : :: std :: default :: Default :: default ( ) , lCustData : :: std :: default :: Default :: default ( ) , dwReserved2 : [ 0 ;3 ] , lpOP : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for OLEUIGNRLPROPSA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "OLEUIGNRLPROPSA" ) . field ( "cbStruct" , & self . cbStruct ) . field ( "dwFlags" , & self . dwFlags ) . field ( "dwReserved1" , & self . dwReserved1 ) . field ( "lCustData" , & self . lCustData ) . field ( "dwReserved2" , & self . dwReserved2 ) . field ( "lpOP" , & self . lpOP ) . finish ( ) } } impl :: std :: cmp :: PartialEq for OLEUIGNRLPROPSA { fn eq ( & self , other : & Self ) -> bool { self . cbStruct == other . cbStruct && self . dwFlags == other . dwFlags && self . dwReserved1 == other . dwReserved1 && self . lpfnHook . map ( | f | f as usize ) == other . lpfnHook . map ( | f | f as usize ) && self . lCustData == other . lCustData && self . dwReserved2 == other . dwReserved2 && self . lpOP == other . lpOP } } impl :: std :: cmp :: Eq for OLEUIGNRLPROPSA { } # [ repr ( C ) ] # [ doc ( hidden ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct OLEUIGNRLPROPSA_abi { pub cbStruct : u32 , pub dwFlags : u32 , pub dwReserved1 : [ u32 ;2 ] , pub lpfnHook : :: windows :: RawPtr , pub lCustData : super::super::Foundation:: LPARAM , pub dwReserved2 : [ u32 ;3 ] , pub lpOP : * mut OLEUIOBJECTPROPSA_abi } unsafe impl :: windows :: Abi for OLEUIGNRLPROPSA { type Abi = OLEUIGNRLPROPSA_abi ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone ) ] # [ repr ( C ) ] pub struct OLEUIGNRLPROPSW { pub cbStruct : u32 , pub dwFlags : u32 , pub dwReserved1 : [ u32 ;2 ] , pub lpfnHook : :: std :: option :: Option < LPFNOLEUIHOOK > , pub lCustData : super::super::Foundation:: LPARAM , pub dwReserved2 : [ u32 ;3 ] , pub lpOP : * mut OLEUIOBJECTPROPSW } impl OLEUIGNRLPROPSW { } impl :: std :: default :: Default for OLEUIGNRLPROPSW { fn default ( ) -> Self { Self { cbStruct : 0 , dwFlags : 0 , dwReserved1 : [ 0 ;2 ] , lpfnHook : :: std :: default :: Default :: default ( ) , lCustData : :: std :: default :: Default :: default ( ) , dwReserved2 : [ 0 ;3 ] , lpOP : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for OLEUIGNRLPROPSW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "OLEUIGNRLPROPSW" ) . field ( "cbStruct" , & self . cbStruct ) . field ( "dwFlags" , & self . dwFlags ) . field ( "dwReserved1" , & self . dwReserved1 ) . field ( "lCustData" , & self . lCustData ) . field ( "dwReserved2" , & self . dwReserved2 ) . field ( "lpOP" , & self . lpOP ) . finish ( ) } } impl :: std :: cmp :: PartialEq for OLEUIGNRLPROPSW { fn eq ( & self , other : & Self ) -> bool { self . cbStruct == other . cbStruct && self . dwFlags == other . dwFlags && self . dwReserved1 == other . dwReserved1 && self . lpfnHook . map ( | f | f as usize ) == other . lpfnHook . map ( | f | f as usize ) && self . lCustData == other . lCustData && self . dwReserved2 == other . dwReserved2 && self . lpOP == other . lpOP } } impl :: std :: cmp :: Eq for OLEUIGNRLPROPSW { } # [ repr ( C ) ] # [ doc ( hidden ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct OLEUIGNRLPROPSW_abi { pub cbStruct : u32 , pub dwFlags : u32 , pub dwReserved1 : [ u32 ;2 ] , pub lpfnHook : :: windows :: RawPtr , pub lCustData : super::super::Foundation:: LPARAM , pub dwReserved2 : [ u32 ;3 ] , pub lpOP : * mut OLEUIOBJECTPROPSW_abi } unsafe impl :: windows :: Abi for OLEUIGNRLPROPSW { type Abi = OLEUIGNRLPROPSW_abi ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone ) ] # [ repr ( C ) ] pub struct OLEUIINSERTOBJECTA { pub cbStruct : u32 , pub dwFlags : u32 , pub hWndOwner : super::super::Foundation:: HWND , pub lpszCaption : super::super::Foundation:: PSTR , pub lpfnHook : :: std :: option :: Option < LPFNOLEUIHOOK > , pub lCustData : super::super::Foundation:: LPARAM , pub hInstance : super::super::Foundation:: HINSTANCE , pub lpszTemplate : super::super::Foundation:: PSTR , pub hResource : super::LibraryLoader:: HRSRC , pub clsid : :: windows :: Guid , pub lpszFile : super::super::Foundation:: PSTR , pub cchFile : u32 , pub cClsidExclude : u32 , pub lpClsidExclude : * mut :: windows :: Guid , pub iid : :: windows :: Guid , pub oleRender : u32 , pub lpFormatEtc : * mut FORMATETC , pub lpIOleClientSite : :: std :: option :: Option < IOleClientSite > , pub lpIStorage : :: std :: option :: Option < super::super::Storage::StructuredStorage:: IStorage > , pub ppvObj : * mut * mut :: std :: ffi :: c_void , pub sc : i32 , pub hMetaPict : isize } impl OLEUIINSERTOBJECTA { } impl :: std :: default :: Default for OLEUIINSERTOBJECTA { fn default ( ) -> Self { Self { cbStruct : 0 , dwFlags : 0 , hWndOwner : :: std :: default :: Default :: default ( ) , lpszCaption : :: std :: default :: Default :: default ( ) , lpfnHook : :: std :: default :: Default :: default ( ) , lCustData : :: std :: default :: Default :: default ( ) , hInstance : :: std :: default :: Default :: default ( ) , lpszTemplate : :: std :: default :: Default :: default ( ) , hResource : :: std :: default :: Default :: default ( ) , clsid : :: std :: default :: Default :: default ( ) , lpszFile : :: std :: default :: Default :: default ( ) , cchFile : 0 , cClsidExclude : 0 , lpClsidExclude : :: std :: ptr :: null_mut ( ) , iid : :: std :: default :: Default :: default ( ) , oleRender : 0 , lpFormatEtc : :: std :: ptr :: null_mut ( ) , lpIOleClientSite : :: std :: default :: Default :: default ( ) , lpIStorage : :: std :: default :: Default :: default ( ) , ppvObj : :: std :: ptr :: null_mut ( ) , sc : 0 , hMetaPict : 0 } } } impl :: std :: fmt :: Debug for OLEUIINSERTOBJECTA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "OLEUIINSERTOBJECTA" ) . field ( "cbStruct" , & self . cbStruct ) . field ( "dwFlags" , & self . dwFlags ) . field ( "hWndOwner" , & self . hWndOwner ) . field ( "lpszCaption" , & self . lpszCaption ) . field ( "lCustData" , & self . lCustData ) . field ( "hInstance" , & self . hInstance ) . field ( "lpszTemplate" , & self . lpszTemplate ) . field ( "hResource" , & self . hResource ) . field ( "clsid" , & self . clsid ) . field ( "lpszFile" , & self . lpszFile ) . field ( "cchFile" , & self . cchFile ) . field ( "cClsidExclude" , & self . cClsidExclude ) . field ( "lpClsidExclude" , & self . lpClsidExclude ) . field ( "iid" , & self . iid ) . field ( "oleRender" , & self . oleRender ) . field ( "lpFormatEtc" , & self . lpFormatEtc ) . field ( "lpIOleClientSite" , & self . lpIOleClientSite ) . field ( "lpIStorage" , & self . lpIStorage ) . field ( "ppvObj" , & self . ppvObj ) . field ( "sc" , & self . sc ) . field ( "hMetaPict" , & self . hMetaPict ) . finish ( ) } } impl :: std :: cmp :: PartialEq for OLEUIINSERTOBJECTA { fn eq ( & self , other : & Self ) -> bool { self . cbStruct == other . cbStruct && self . dwFlags == other . dwFlags && self . hWndOwner == other . hWndOwner && self . lpszCaption == other . lpszCaption && self . lpfnHook . map ( | f | f as usize ) == other . lpfnHook . map ( | f | f as usize ) && self . lCustData == other . lCustData && self . hInstance == other . hInstance && self . lpszTemplate == other . lpszTemplate && self . hResource == other . hResource && self . clsid == other . clsid && self . lpszFile == other . lpszFile && self . cchFile == other . cchFile && self . cClsidExclude == other . cClsidExclude && self . lpClsidExclude == other . lpClsidExclude && self . iid == other . iid && self . oleRender == other . oleRender && self . lpFormatEtc == other . lpFormatEtc && self . lpIOleClientSite == other . lpIOleClientSite && self . lpIStorage == other . lpIStorage && self . ppvObj == other . ppvObj && self . sc == other . sc && self . hMetaPict == other . hMetaPict } } impl :: std :: cmp :: Eq for OLEUIINSERTOBJECTA { } # [ repr ( C ) ] # [ doc ( hidden ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct OLEUIINSERTOBJECTA_abi { pub cbStruct : u32 , pub dwFlags : u32 , pub hWndOwner : super::super::Foundation:: HWND , pub lpszCaption : super::super::Foundation:: PSTR , pub lpfnHook : :: windows :: RawPtr , pub lCustData : super::super::Foundation:: LPARAM , pub hInstance : super::super::Foundation:: HINSTANCE , pub lpszTemplate : super::super::Foundation:: PSTR , pub hResource : super::LibraryLoader:: HRSRC , pub clsid : :: windows :: Guid , pub lpszFile : super::super::Foundation:: PSTR , pub cchFile : u32 , pub cClsidExclude : u32 , pub lpClsidExclude : * mut :: windows :: Guid , pub iid : :: windows :: Guid , pub oleRender : u32 , pub lpFormatEtc : * mut FORMATETC , pub lpIOleClientSite : :: windows :: RawPtr , pub lpIStorage : :: windows :: RawPtr , pub ppvObj : * mut * mut :: std :: ffi :: c_void , pub sc : i32 , pub hMetaPict : isize } unsafe impl :: windows :: Abi for OLEUIINSERTOBJECTA { type Abi = OLEUIINSERTOBJECTA_abi ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone ) ] # [ repr ( C ) ] pub struct OLEUIINSERTOBJECTW { pub cbStruct : u32 , pub dwFlags : u32 , pub hWndOwner : super::super::Foundation:: HWND , pub lpszCaption : super::super::Foundation:: PWSTR , pub lpfnHook : :: std :: option :: Option < LPFNOLEUIHOOK > , pub lCustData : super::super::Foundation:: LPARAM , pub hInstance : super::super::Foundation:: HINSTANCE , pub lpszTemplate : super::super::Foundation:: PWSTR , pub hResource : super::LibraryLoader:: HRSRC , pub clsid : :: windows :: Guid , pub lpszFile : super::super::Foundation:: PWSTR , pub cchFile : u32 , pub cClsidExclude : u32 , pub lpClsidExclude : * mut :: windows :: Guid , pub iid : :: windows :: Guid , pub oleRender : u32 , pub lpFormatEtc : * mut FORMATETC , pub lpIOleClientSite : :: std :: option :: Option < IOleClientSite > , pub lpIStorage : :: std :: option :: Option < super::super::Storage::StructuredStorage:: IStorage > , pub ppvObj : * mut * mut :: std :: ffi :: c_void , pub sc : i32 , pub hMetaPict : isize } impl OLEUIINSERTOBJECTW { } impl :: std :: default :: Default for OLEUIINSERTOBJECTW { fn default ( ) -> Self { Self { cbStruct : 0 , dwFlags : 0 , hWndOwner : :: std :: default :: Default :: default ( ) , lpszCaption : :: std :: default :: Default :: default ( ) , lpfnHook : :: std :: default :: Default :: default ( ) , lCustData : :: std :: default :: Default :: default ( ) , hInstance : :: std :: default :: Default :: default ( ) , lpszTemplate : :: std :: default :: Default :: default ( ) , hResource : :: std :: default :: Default :: default ( ) , clsid : :: std :: default :: Default :: default ( ) , lpszFile : :: std :: default :: Default :: default ( ) , cchFile : 0 , cClsidExclude : 0 , lpClsidExclude : :: std :: ptr :: null_mut ( ) , iid : :: std :: default :: Default :: default ( ) , oleRender : 0 , lpFormatEtc : :: std :: ptr :: null_mut ( ) , lpIOleClientSite : :: std :: default :: Default :: default ( ) , lpIStorage : :: std :: default :: Default :: default ( ) , ppvObj : :: std :: ptr :: null_mut ( ) , sc : 0 , hMetaPict : 0 } } } impl :: std :: fmt :: Debug for OLEUIINSERTOBJECTW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "OLEUIINSERTOBJECTW" ) . field ( "cbStruct" , & self . cbStruct ) . field ( "dwFlags" , & self . dwFlags ) . field ( "hWndOwner" , & self . hWndOwner ) . field ( "lpszCaption" , & self . lpszCaption ) . field ( "lCustData" , & self . lCustData ) . field ( "hInstance" , & self . hInstance ) . field ( "lpszTemplate" , & self . lpszTemplate ) . field ( "hResource" , & self . hResource ) . field ( "clsid" , & self . clsid ) . field ( "lpszFile" , & self . lpszFile ) . field ( "cchFile" , & self . cchFile ) . field ( "cClsidExclude" , & self . cClsidExclude ) . field ( "lpClsidExclude" , & self . lpClsidExclude ) . field ( "iid" , & self . iid ) . field ( "oleRender" , & self . oleRender ) . field ( "lpFormatEtc" , & self . lpFormatEtc ) . field ( "lpIOleClientSite" , & self . lpIOleClientSite ) . field ( "lpIStorage" , & self . lpIStorage ) . field ( "ppvObj" , & self . ppvObj ) . field ( "sc" , & self . sc ) . field ( "hMetaPict" , & self . hMetaPict ) . finish ( ) } } impl :: std :: cmp :: PartialEq for OLEUIINSERTOBJECTW { fn eq ( & self , other : & Self ) -> bool { self . cbStruct == other . cbStruct && self . dwFlags == other . dwFlags && self . hWndOwner == other . hWndOwner && self . lpszCaption == other . lpszCaption && self . lpfnHook . map ( | f | f as usize ) == other . lpfnHook . map ( | f | f as usize ) && self . lCustData == other . lCustData && self . hInstance == other . hInstance && self . lpszTemplate == other . lpszTemplate && self . hResource == other . hResource && self . clsid == other . clsid && self . lpszFile == other . lpszFile && self . cchFile == other . cchFile && self . cClsidExclude == other . cClsidExclude && self . lpClsidExclude == other . lpClsidExclude && self . iid == other . iid && self . oleRender == other . oleRender && self . lpFormatEtc == other . lpFormatEtc && self . lpIOleClientSite == other . lpIOleClientSite && self . lpIStorage == other . lpIStorage && self . ppvObj == other . ppvObj && self . sc == other . sc && self . hMetaPict == other . hMetaPict } } impl :: std :: cmp :: Eq for OLEUIINSERTOBJECTW { } # [ repr ( C ) ] # [ doc ( hidden ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct OLEUIINSERTOBJECTW_abi { pub cbStruct : u32 , pub dwFlags : u32 , pub hWndOwner : super::super::Foundation:: HWND , pub lpszCaption : super::super::Foundation:: PWSTR , pub lpfnHook : :: windows :: RawPtr , pub lCustData : super::super::Foundation:: LPARAM , pub hInstance : super::super::Foundation:: HINSTANCE , pub lpszTemplate : super::super::Foundation:: PWSTR , pub hResource : super::LibraryLoader:: HRSRC , pub clsid : :: windows :: Guid , pub lpszFile : super::super::Foundation:: PWSTR , pub cchFile : u32 , pub cClsidExclude : u32 , pub lpClsidExclude : * mut :: windows :: Guid , pub iid : :: windows :: Guid , pub oleRender : u32 , pub lpFormatEtc : * mut FORMATETC , pub lpIOleClientSite : :: windows :: RawPtr , pub lpIStorage : :: windows :: RawPtr , pub ppvObj : * mut * mut :: std :: ffi :: c_void , pub sc : i32 , pub hMetaPict : isize } unsafe impl :: windows :: Abi for OLEUIINSERTOBJECTW { type Abi = OLEUIINSERTOBJECTW_abi ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone ) ] # [ repr ( C ) ] pub struct OLEUILINKPROPSA { pub cbStruct : u32 , pub dwFlags : u32 , pub dwReserved1 : [ u32 ;2 ] , pub lpfnHook : :: std :: option :: Option < LPFNOLEUIHOOK > , pub lCustData : super::super::Foundation:: LPARAM , pub dwReserved2 : [ u32 ;3 ] , pub lpOP : * mut OLEUIOBJECTPROPSA } impl OLEUILINKPROPSA { } impl :: std :: default :: Default for OLEUILINKPROPSA { fn default ( ) -> Self { Self { cbStruct : 0 , dwFlags : 0 , dwReserved1 : [ 0 ;2 ] , lpfnHook : :: std :: default :: Default :: default ( ) , lCustData : :: std :: default :: Default :: default ( ) , dwReserved2 : [ 0 ;3 ] , lpOP : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for OLEUILINKPROPSA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "OLEUILINKPROPSA" ) . field ( "cbStruct" , & self . cbStruct ) . field ( "dwFlags" , & self . dwFlags ) . field ( "dwReserved1" , & self . dwReserved1 ) . field ( "lCustData" , & self . lCustData ) . field ( "dwReserved2" , & self . dwReserved2 ) . field ( "lpOP" , & self . lpOP ) . finish ( ) } } impl :: std :: cmp :: PartialEq for OLEUILINKPROPSA { fn eq ( & self , other : & Self ) -> bool { self . cbStruct == other . cbStruct && self . dwFlags == other . dwFlags && self . dwReserved1 == other . dwReserved1 && self . lpfnHook . map ( | f | f as usize ) == other . lpfnHook . map ( | f | f as usize ) && self . lCustData == other . lCustData && self . dwReserved2 == other . dwReserved2 && self . lpOP == other . lpOP } } impl :: std :: cmp :: Eq for OLEUILINKPROPSA { } # [ repr ( C ) ] # [ doc ( hidden ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct OLEUILINKPROPSA_abi { pub cbStruct : u32 , pub dwFlags : u32 , pub dwReserved1 : [ u32 ;2 ] , pub lpfnHook : :: windows :: RawPtr , pub lCustData : super::super::Foundation:: LPARAM , pub dwReserved2 : [ u32 ;3 ] , pub lpOP : * mut OLEUIOBJECTPROPSA_abi } unsafe impl :: windows :: Abi for OLEUILINKPROPSA { type Abi = OLEUILINKPROPSA_abi ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone ) ] # [ repr ( C ) ] pub struct OLEUILINKPROPSW { pub cbStruct : u32 , pub dwFlags : u32 , pub dwReserved1 : [ u32 ;2 ] , pub lpfnHook : :: std :: option :: Option < LPFNOLEUIHOOK > , pub lCustData : super::super::Foundation:: LPARAM , pub dwReserved2 : [ u32 ;3 ] , pub lpOP : * mut OLEUIOBJECTPROPSW } impl OLEUILINKPROPSW { } impl :: std :: default :: Default for OLEUILINKPROPSW { fn default ( ) -> Self { Self { cbStruct : 0 , dwFlags : 0 , dwReserved1 : [ 0 ;2 ] , lpfnHook : :: std :: default :: Default :: default ( ) , lCustData : :: std :: default :: Default :: default ( ) , dwReserved2 : [ 0 ;3 ] , lpOP : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for OLEUILINKPROPSW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "OLEUILINKPROPSW" ) . field ( "cbStruct" , & self . cbStruct ) . field ( "dwFlags" , & self . dwFlags ) . field ( "dwReserved1" , & self . dwReserved1 ) . field ( "lCustData" , & self . lCustData ) . field ( "dwReserved2" , & self . dwReserved2 ) . field ( "lpOP" , & self . lpOP ) . finish ( ) } } impl :: std :: cmp :: PartialEq for OLEUILINKPROPSW { fn eq ( & self , other : & Self ) -> bool { self . cbStruct == other . cbStruct && self . dwFlags == other . dwFlags && self . dwReserved1 == other . dwReserved1 && self . lpfnHook . map ( | f | f as usize ) == other . lpfnHook . map ( | f | f as usize ) && self . lCustData == other . lCustData && self . dwReserved2 == other . dwReserved2 && self . lpOP == other . lpOP } } impl :: std :: cmp :: Eq for OLEUILINKPROPSW { } # [ repr ( C ) ] # [ doc ( hidden ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct OLEUILINKPROPSW_abi { pub cbStruct : u32 , pub dwFlags : u32 , pub dwReserved1 : [ u32 ;2 ] , pub lpfnHook : :: windows :: RawPtr , pub lCustData : super::super::Foundation:: LPARAM , pub dwReserved2 : [ u32 ;3 ] , pub lpOP : * mut OLEUIOBJECTPROPSW_abi } unsafe impl :: windows :: Abi for OLEUILINKPROPSW { type Abi = OLEUILINKPROPSW_abi ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone ) ] # [ repr ( C ) ] pub struct OLEUIOBJECTPROPSA { pub cbStruct : u32 , pub dwFlags : u32 , pub lpPS : * mut super::super::UI::Controls:: PROPSHEETHEADERA_V2 , pub dwObject : u32 , pub lpObjInfo : :: std :: option :: Option < IOleUIObjInfoA > , pub dwLink : u32 , pub lpLinkInfo : :: std :: option :: Option < IOleUILinkInfoA > , pub lpGP : * mut OLEUIGNRLPROPSA , pub lpVP : * mut OLEUIVIEWPROPSA , pub lpLP : * mut OLEUILINKPROPSA } impl OLEUIOBJECTPROPSA { } impl :: std :: default :: Default for OLEUIOBJECTPROPSA { fn default ( ) -> Self { Self { cbStruct : 0 , dwFlags : 0 , lpPS : :: std :: ptr :: null_mut ( ) , dwObject : 0 , lpObjInfo : :: std :: default :: Default :: default ( ) , dwLink : 0 , lpLinkInfo : :: std :: default :: Default :: default ( ) , lpGP : :: std :: ptr :: null_mut ( ) , lpVP : :: std :: ptr :: null_mut ( ) , lpLP : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for OLEUIOBJECTPROPSA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "OLEUIOBJECTPROPSA" ) . field ( "cbStruct" , & self . cbStruct ) . field ( "dwFlags" , & self . dwFlags ) . field ( "lpPS" , & self . lpPS ) . field ( "dwObject" , & self . dwObject ) . field ( "lpObjInfo" , & self . lpObjInfo ) . field ( "dwLink" , & self . dwLink ) . field ( "lpLinkInfo" , & self . lpLinkInfo ) . field ( "lpGP" , & self . lpGP ) . field ( "lpVP" , & self . lpVP ) . field ( "lpLP" , & self . lpLP ) . finish ( ) } } impl :: std :: cmp :: PartialEq for OLEUIOBJECTPROPSA { fn eq ( & self , other : & Self ) -> bool { self . cbStruct == other . cbStruct && self . dwFlags == other . dwFlags && self . lpPS == other . lpPS && self . dwObject == other . dwObject && self . lpObjInfo == other . lpObjInfo && self . dwLink == other . dwLink && self . lpLinkInfo == other . lpLinkInfo && self . lpGP == other . lpGP && self . lpVP == other . lpVP && self . lpLP == other . lpLP } } impl :: std :: cmp :: Eq for OLEUIOBJECTPROPSA { } # [ repr ( C ) ] # [ doc ( hidden ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct OLEUIOBJECTPROPSA_abi { pub cbStruct : u32 , pub dwFlags : u32 , pub lpPS : * mut super::super::UI::Controls:: PROPSHEETHEADERA_V2_abi , pub dwObject : u32 , pub lpObjInfo : :: windows :: RawPtr , pub dwLink : u32 , pub lpLinkInfo : :: windows :: RawPtr , pub lpGP : * mut OLEUIGNRLPROPSA_abi , pub lpVP : * mut OLEUIVIEWPROPSA_abi , pub lpLP : * mut OLEUILINKPROPSA_abi } unsafe impl :: windows :: Abi for OLEUIOBJECTPROPSA { type Abi = OLEUIOBJECTPROPSA_abi ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone ) ] # [ repr ( C ) ] pub struct OLEUIOBJECTPROPSW { pub cbStruct : u32 , pub dwFlags : u32 , pub lpPS : * mut super::super::UI::Controls:: PROPSHEETHEADERW_V2 , pub dwObject : u32 , pub lpObjInfo : :: std :: option :: Option < IOleUIObjInfoW > , pub dwLink : u32 , pub lpLinkInfo : :: std :: option :: Option < IOleUILinkInfoW > , pub lpGP : * mut OLEUIGNRLPROPSW , pub lpVP : * mut OLEUIVIEWPROPSW , pub lpLP : * mut OLEUILINKPROPSW } impl OLEUIOBJECTPROPSW { } impl :: std :: default :: Default for OLEUIOBJECTPROPSW { fn default ( ) -> Self { Self { cbStruct : 0 , dwFlags : 0 , lpPS : :: std :: ptr :: null_mut ( ) , dwObject : 0 , lpObjInfo : :: std :: default :: Default :: default ( ) , dwLink : 0 , lpLinkInfo : :: std :: default :: Default :: default ( ) , lpGP : :: std :: ptr :: null_mut ( ) , lpVP : :: std :: ptr :: null_mut ( ) , lpLP : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for OLEUIOBJECTPROPSW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "OLEUIOBJECTPROPSW" ) . field ( "cbStruct" , & self . cbStruct ) . field ( "dwFlags" , & self . dwFlags ) . field ( "lpPS" , & self . lpPS ) . field ( "dwObject" , & self . dwObject ) . field ( "lpObjInfo" , & self . lpObjInfo ) . field ( "dwLink" , & self . dwLink ) . field ( "lpLinkInfo" , & self . lpLinkInfo ) . field ( "lpGP" , & self . lpGP ) . field ( "lpVP" , & self . lpVP ) . field ( "lpLP" , & self . lpLP ) . finish ( ) } } impl :: std :: cmp :: PartialEq for OLEUIOBJECTPROPSW { fn eq ( & self , other : & Self ) -> bool { self . cbStruct == other . cbStruct && self . dwFlags == other . dwFlags && self . lpPS == other . lpPS && self . dwObject == other . dwObject && self . lpObjInfo == other . lpObjInfo && self . dwLink == other . dwLink && self . lpLinkInfo == other . lpLinkInfo && self . lpGP == other . lpGP && self . lpVP == other . lpVP && self . lpLP == other . lpLP } } impl :: std :: cmp :: Eq for OLEUIOBJECTPROPSW { } # [ repr ( C ) ] # [ doc ( hidden ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct OLEUIOBJECTPROPSW_abi { pub cbStruct : u32 , pub dwFlags : u32 , pub lpPS : * mut super::super::UI::Controls:: PROPSHEETHEADERW_V2_abi , pub dwObject : u32 , pub lpObjInfo : :: windows :: RawPtr , pub dwLink : u32 , pub lpLinkInfo : :: windows :: RawPtr , pub lpGP : * mut OLEUIGNRLPROPSW_abi , pub lpVP : * mut OLEUIVIEWPROPSW_abi , pub lpLP : * mut OLEUILINKPROPSW_abi } unsafe impl :: windows :: Abi for OLEUIOBJECTPROPSW { type Abi = OLEUIOBJECTPROPSW_abi ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct OLEUIPASTEENTRYA { pub fmtetc : FORMATETC , pub lpstrFormatName : super::super::Foundation:: PSTR , pub lpstrResultText : super::super::Foundation:: PSTR , pub dwFlags : u32 , pub dwScratchSpace : u32 } impl OLEUIPASTEENTRYA { } impl :: std :: default :: Default for OLEUIPASTEENTRYA { fn default ( ) -> Self { Self { fmtetc : :: std :: default :: Default :: default ( ) , lpstrFormatName : :: std :: default :: Default :: default ( ) , lpstrResultText : :: std :: default :: Default :: default ( ) , dwFlags : 0 , dwScratchSpace : 0 } } } impl :: std :: fmt :: Debug for OLEUIPASTEENTRYA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "OLEUIPASTEENTRYA" ) . field ( "fmtetc" , & self . fmtetc ) . field ( "lpstrFormatName" , & self . lpstrFormatName ) . field ( "lpstrResultText" , & self . lpstrResultText ) . field ( "dwFlags" , & self . dwFlags ) . field ( "dwScratchSpace" , & self . dwScratchSpace ) . finish ( ) } } impl :: std :: cmp :: PartialEq for OLEUIPASTEENTRYA { fn eq ( & self , other : & Self ) -> bool { self . fmtetc == other . fmtetc && self . lpstrFormatName == other . lpstrFormatName && self . lpstrResultText == other . lpstrResultText && self . dwFlags == other . dwFlags && self . dwScratchSpace == other . dwScratchSpace } } impl :: std :: cmp :: Eq for OLEUIPASTEENTRYA { } unsafe impl :: windows :: Abi for OLEUIPASTEENTRYA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct OLEUIPASTEENTRYW { pub fmtetc : FORMATETC , pub lpstrFormatName : super::super::Foundation:: PWSTR , pub lpstrResultText : super::super::Foundation:: PWSTR , pub dwFlags : u32 , pub dwScratchSpace : u32 } impl OLEUIPASTEENTRYW { } impl :: std :: default :: Default for OLEUIPASTEENTRYW { fn default ( ) -> Self { Self { fmtetc : :: std :: default :: Default :: default ( ) , lpstrFormatName : :: std :: default :: Default :: default ( ) , lpstrResultText : :: std :: default :: Default :: default ( ) , dwFlags : 0 , dwScratchSpace : 0 } } } impl :: std :: fmt :: Debug for OLEUIPASTEENTRYW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "OLEUIPASTEENTRYW" ) . field ( "fmtetc" , & self . fmtetc ) . field ( "lpstrFormatName" , & self . lpstrFormatName ) . field ( "lpstrResultText" , & self . lpstrResultText ) . field ( "dwFlags" , & self . dwFlags ) . field ( "dwScratchSpace" , & self . dwScratchSpace ) . finish ( ) } } impl :: std :: cmp :: PartialEq for OLEUIPASTEENTRYW { fn eq ( & self , other : & Self ) -> bool { self . fmtetc == other . fmtetc && self . lpstrFormatName == other . lpstrFormatName && self . lpstrResultText == other . lpstrResultText && self . dwFlags == other . dwFlags && self . dwScratchSpace == other . dwScratchSpace } } impl :: std :: cmp :: Eq for OLEUIPASTEENTRYW { } unsafe impl :: windows :: Abi for OLEUIPASTEENTRYW { 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 OLEUIPASTEFLAG ( pub i32 ) ; pub const OLEUIPASTE_ENABLEICON : OLEUIPASTEFLAG = OLEUIPASTEFLAG ( 2048i32 ) ; pub const OLEUIPASTE_PASTEONLY : OLEUIPASTEFLAG = OLEUIPASTEFLAG ( 0i32 ) ; pub const OLEUIPASTE_PASTE : OLEUIPASTEFLAG = OLEUIPASTEFLAG ( 512i32 ) ; pub const OLEUIPASTE_LINKANYTYPE : OLEUIPASTEFLAG = OLEUIPASTEFLAG ( 1024i32 ) ; pub const OLEUIPASTE_LINKTYPE1 : OLEUIPASTEFLAG = OLEUIPASTEFLAG ( 1i32 ) ; pub const OLEUIPASTE_LINKTYPE2 : OLEUIPASTEFLAG = OLEUIPASTEFLAG ( 2i32 ) ; pub const OLEUIPASTE_LINKTYPE3 : OLEUIPASTEFLAG = OLEUIPASTEFLAG ( 4i32 ) ; pub const OLEUIPASTE_LINKTYPE4 : OLEUIPASTEFLAG = OLEUIPASTEFLAG ( 8i32 ) ; pub const OLEUIPASTE_LINKTYPE5 : OLEUIPASTEFLAG = OLEUIPASTEFLAG ( 16i32 ) ; pub const OLEUIPASTE_LINKTYPE6 : OLEUIPASTEFLAG = OLEUIPASTEFLAG ( 32i32 ) ; pub const OLEUIPASTE_LINKTYPE7 : OLEUIPASTEFLAG = OLEUIPASTEFLAG ( 64i32 ) ; pub const OLEUIPASTE_LINKTYPE8 : OLEUIPASTEFLAG = OLEUIPASTEFLAG ( 128i32 ) ; impl :: std :: convert :: From < i32 > for OLEUIPASTEFLAG { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for OLEUIPASTEFLAG { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone ) ] # [ repr ( C ) ] pub struct OLEUIPASTESPECIALA { pub cbStruct : u32 , pub dwFlags : u32 , pub hWndOwner : super::super::Foundation:: HWND , pub lpszCaption : super::super::Foundation:: PSTR , pub lpfnHook : :: std :: option :: Option < LPFNOLEUIHOOK > , pub lCustData : super::super::Foundation:: LPARAM , pub hInstance : super::super::Foundation:: HINSTANCE , pub lpszTemplate : super::super::Foundation:: PSTR , pub hResource : super::LibraryLoader:: HRSRC , pub lpSrcDataObj : :: std :: option :: Option < IDataObject > , pub arrPasteEntries : * mut OLEUIPASTEENTRYA , pub cPasteEntries : i32 , pub arrLinkTypes : * mut u32 , pub cLinkTypes : i32 , pub cClsidExclude : u32 , pub lpClsidExclude : * mut :: windows :: Guid , pub nSelectedIndex : i32 , pub fLink : super::super::Foundation:: BOOL , pub hMetaPict : isize , pub sizel : super::super::Foundation:: SIZE } impl OLEUIPASTESPECIALA { } impl :: std :: default :: Default for OLEUIPASTESPECIALA { fn default ( ) -> Self { Self { cbStruct : 0 , dwFlags : 0 , hWndOwner : :: std :: default :: Default :: default ( ) , lpszCaption : :: std :: default :: Default :: default ( ) , lpfnHook : :: std :: default :: Default :: default ( ) , lCustData : :: std :: default :: Default :: default ( ) , hInstance : :: std :: default :: Default :: default ( ) , lpszTemplate : :: std :: default :: Default :: default ( ) , hResource : :: std :: default :: Default :: default ( ) , lpSrcDataObj : :: std :: default :: Default :: default ( ) , arrPasteEntries : :: std :: ptr :: null_mut ( ) , cPasteEntries : 0 , arrLinkTypes : :: std :: ptr :: null_mut ( ) , cLinkTypes : 0 , cClsidExclude : 0 , lpClsidExclude : :: std :: ptr :: null_mut ( ) , nSelectedIndex : 0 , fLink : :: std :: default :: Default :: default ( ) , hMetaPict : 0 , sizel : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for OLEUIPASTESPECIALA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "OLEUIPASTESPECIALA" ) . field ( "cbStruct" , & self . cbStruct ) . field ( "dwFlags" , & self . dwFlags ) . field ( "hWndOwner" , & self . hWndOwner ) . field ( "lpszCaption" , & self . lpszCaption ) . field ( "lCustData" , & self . lCustData ) . field ( "hInstance" , & self . hInstance ) . field ( "lpszTemplate" , & self . lpszTemplate ) . field ( "hResource" , & self . hResource ) . field ( "lpSrcDataObj" , & self . lpSrcDataObj ) . field ( "arrPasteEntries" , & self . arrPasteEntries ) . field ( "cPasteEntries" , & self . cPasteEntries ) . field ( "arrLinkTypes" , & self . arrLinkTypes ) . field ( "cLinkTypes" , & self . cLinkTypes ) . field ( "cClsidExclude" , & self . cClsidExclude ) . field ( "lpClsidExclude" , & self . lpClsidExclude ) . field ( "nSelectedIndex" , & self . nSelectedIndex ) . field ( "fLink" , & self . fLink ) . field ( "hMetaPict" , & self . hMetaPict ) . field ( "sizel" , & self . sizel ) . finish ( ) } } impl :: std :: cmp :: PartialEq for OLEUIPASTESPECIALA { fn eq ( & self , other : & Self ) -> bool { self . cbStruct == other . cbStruct && self . dwFlags == other . dwFlags && self . hWndOwner == other . hWndOwner && self . lpszCaption == other . lpszCaption && self . lpfnHook . map ( | f | f as usize ) == other . lpfnHook . map ( | f | f as usize ) && self . lCustData == other . lCustData && self . hInstance == other . hInstance && self . lpszTemplate == other . lpszTemplate && self . hResource == other . hResource && self . lpSrcDataObj == other . lpSrcDataObj && self . arrPasteEntries == other . arrPasteEntries && self . cPasteEntries == other . cPasteEntries && self . arrLinkTypes == other . arrLinkTypes && self . cLinkTypes == other . cLinkTypes && self . cClsidExclude == other . cClsidExclude && self . lpClsidExclude == other . lpClsidExclude && self . nSelectedIndex == other . nSelectedIndex && self . fLink == other . fLink && self . hMetaPict == other . hMetaPict && self . sizel == other . sizel } } impl :: std :: cmp :: Eq for OLEUIPASTESPECIALA { } # [ repr ( C ) ] # [ doc ( hidden ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct OLEUIPASTESPECIALA_abi { pub cbStruct : u32 , pub dwFlags : u32 , pub hWndOwner : super::super::Foundation:: HWND , pub lpszCaption : super::super::Foundation:: PSTR , pub lpfnHook : :: windows :: RawPtr , pub lCustData : super::super::Foundation:: LPARAM , pub hInstance : super::super::Foundation:: HINSTANCE , pub lpszTemplate : super::super::Foundation:: PSTR , pub hResource : super::LibraryLoader:: HRSRC , pub lpSrcDataObj : :: windows :: RawPtr , pub arrPasteEntries : * mut OLEUIPASTEENTRYA , pub cPasteEntries : i32 , pub arrLinkTypes : * mut u32 , pub cLinkTypes : i32 , pub cClsidExclude : u32 , pub lpClsidExclude : * mut :: windows :: Guid , pub nSelectedIndex : i32 , pub fLink : super::super::Foundation:: BOOL , pub hMetaPict : isize , pub sizel : super::super::Foundation:: SIZE } unsafe impl :: windows :: Abi for OLEUIPASTESPECIALA { type Abi = OLEUIPASTESPECIALA_abi ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone ) ] # [ repr ( C ) ] pub struct OLEUIPASTESPECIALW { pub cbStruct : u32 , pub dwFlags : u32 , pub hWndOwner : super::super::Foundation:: HWND , pub lpszCaption : super::super::Foundation:: PWSTR , pub lpfnHook : :: std :: option :: Option < LPFNOLEUIHOOK > , pub lCustData : super::super::Foundation:: LPARAM , pub hInstance : super::super::Foundation:: HINSTANCE , pub lpszTemplate : super::super::Foundation:: PWSTR , pub hResource : super::LibraryLoader:: HRSRC , pub lpSrcDataObj : :: std :: option :: Option < IDataObject > , pub arrPasteEntries : * mut OLEUIPASTEENTRYW , pub cPasteEntries : i32 , pub arrLinkTypes : * mut u32 , pub cLinkTypes : i32 , pub cClsidExclude : u32 , pub lpClsidExclude : * mut :: windows :: Guid , pub nSelectedIndex : i32 , pub fLink : super::super::Foundation:: BOOL , pub hMetaPict : isize , pub sizel : super::super::Foundation:: SIZE } impl OLEUIPASTESPECIALW { } impl :: std :: default :: Default for OLEUIPASTESPECIALW { fn default ( ) -> Self { Self { cbStruct : 0 , dwFlags : 0 , hWndOwner : :: std :: default :: Default :: default ( ) , lpszCaption : :: std :: default :: Default :: default ( ) , lpfnHook : :: std :: default :: Default :: default ( ) , lCustData : :: std :: default :: Default :: default ( ) , hInstance : :: std :: default :: Default :: default ( ) , lpszTemplate : :: std :: default :: Default :: default ( ) , hResource : :: std :: default :: Default :: default ( ) , lpSrcDataObj : :: std :: default :: Default :: default ( ) , arrPasteEntries : :: std :: ptr :: null_mut ( ) , cPasteEntries : 0 , arrLinkTypes : :: std :: ptr :: null_mut ( ) , cLinkTypes : 0 , cClsidExclude : 0 , lpClsidExclude : :: std :: ptr :: null_mut ( ) , nSelectedIndex : 0 , fLink : :: std :: default :: Default :: default ( ) , hMetaPict : 0 , sizel : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for OLEUIPASTESPECIALW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "OLEUIPASTESPECIALW" ) . field ( "cbStruct" , & self . cbStruct ) . field ( "dwFlags" , & self . dwFlags ) . field ( "hWndOwner" , & self . hWndOwner ) . field ( "lpszCaption" , & self . lpszCaption ) . field ( "lCustData" , & self . lCustData ) . field ( "hInstance" , & self . hInstance ) . field ( "lpszTemplate" , & self . lpszTemplate ) . field ( "hResource" , & self . hResource ) . field ( "lpSrcDataObj" , & self . lpSrcDataObj ) . field ( "arrPasteEntries" , & self . arrPasteEntries ) . field ( "cPasteEntries" , & self . cPasteEntries ) . field ( "arrLinkTypes" , & self . arrLinkTypes ) . field ( "cLinkTypes" , & self . cLinkTypes ) . field ( "cClsidExclude" , & self . cClsidExclude ) . field ( "lpClsidExclude" , & self . lpClsidExclude ) . field ( "nSelectedIndex" , & self . nSelectedIndex ) . field ( "fLink" , & self . fLink ) . field ( "hMetaPict" , & self . hMetaPict ) . field ( "sizel" , & self . sizel ) . finish ( ) } } impl :: std :: cmp :: PartialEq for OLEUIPASTESPECIALW { fn eq ( & self , other : & Self ) -> bool { self . cbStruct == other . cbStruct && self . dwFlags == other . dwFlags && self . hWndOwner == other . hWndOwner && self . lpszCaption == other . lpszCaption && self . lpfnHook . map ( | f | f as usize ) == other . lpfnHook . map ( | f | f as usize ) && self . lCustData == other . lCustData && self . hInstance == other . hInstance && self . lpszTemplate == other . lpszTemplate && self . hResource == other . hResource && self . lpSrcDataObj == other . lpSrcDataObj && self . arrPasteEntries == other . arrPasteEntries && self . cPasteEntries == other . cPasteEntries && self . arrLinkTypes == other . arrLinkTypes && self . cLinkTypes == other . cLinkTypes && self . cClsidExclude == other . cClsidExclude && self . lpClsidExclude == other . lpClsidExclude && self . nSelectedIndex == other . nSelectedIndex && self . fLink == other . fLink && self . hMetaPict == other . hMetaPict && self . sizel == other . sizel } } impl :: std :: cmp :: Eq for OLEUIPASTESPECIALW { } # [ repr ( C ) ] # [ doc ( hidden ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct OLEUIPASTESPECIALW_abi { pub cbStruct : u32 , pub dwFlags : u32 , pub hWndOwner : super::super::Foundation:: HWND , pub lpszCaption : super::super::Foundation:: PWSTR , pub lpfnHook : :: windows :: RawPtr , pub lCustData : super::super::Foundation:: LPARAM , pub hInstance : super::super::Foundation:: HINSTANCE , pub lpszTemplate : super::super::Foundation:: PWSTR , pub hResource : super::LibraryLoader:: HRSRC , pub lpSrcDataObj : :: windows :: RawPtr , pub arrPasteEntries : * mut OLEUIPASTEENTRYW , pub cPasteEntries : i32 , pub arrLinkTypes : * mut u32 , pub cLinkTypes : i32 , pub cClsidExclude : u32 , pub lpClsidExclude : * mut :: windows :: Guid , pub nSelectedIndex : i32 , pub fLink : super::super::Foundation:: BOOL , pub hMetaPict : isize , pub sizel : super::super::Foundation:: SIZE } unsafe impl :: windows :: Abi for OLEUIPASTESPECIALW { type Abi = OLEUIPASTESPECIALW_abi ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone ) ] # [ repr ( C ) ] pub struct OLEUIVIEWPROPSA { pub cbStruct : u32 , pub dwFlags : u32 , pub dwReserved1 : [ u32 ;2 ] , pub lpfnHook : :: std :: option :: Option < LPFNOLEUIHOOK > , pub lCustData : super::super::Foundation:: LPARAM , pub dwReserved2 : [ u32 ;3 ] , pub lpOP : * mut OLEUIOBJECTPROPSA , pub nScaleMin : i32 , pub nScaleMax : i32 } impl OLEUIVIEWPROPSA { } impl :: std :: default :: Default for OLEUIVIEWPROPSA { fn default ( ) -> Self { Self { cbStruct : 0 , dwFlags : 0 , dwReserved1 : [ 0 ;2 ] , lpfnHook : :: std :: default :: Default :: default ( ) , lCustData : :: std :: default :: Default :: default ( ) , dwReserved2 : [ 0 ;3 ] , lpOP : :: std :: ptr :: null_mut ( ) , nScaleMin : 0 , nScaleMax : 0 } } } impl :: std :: fmt :: Debug for OLEUIVIEWPROPSA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "OLEUIVIEWPROPSA" ) . field ( "cbStruct" , & self . cbStruct ) . field ( "dwFlags" , & self . dwFlags ) . field ( "dwReserved1" , & self . dwReserved1 ) . field ( "lCustData" , & self . lCustData ) . field ( "dwReserved2" , & self . dwReserved2 ) . field ( "lpOP" , & self . lpOP ) . field ( "nScaleMin" , & self . nScaleMin ) . field ( "nScaleMax" , & self . nScaleMax ) . finish ( ) } } impl :: std :: cmp :: PartialEq for OLEUIVIEWPROPSA { fn eq ( & self , other : & Self ) -> bool { self . cbStruct == other . cbStruct && self . dwFlags == other . dwFlags && self . dwReserved1 == other . dwReserved1 && self . lpfnHook . map ( | f | f as usize ) == other . lpfnHook . map ( | f | f as usize ) && self . lCustData == other . lCustData && self . dwReserved2 == other . dwReserved2 && self . lpOP == other . lpOP && self . nScaleMin == other . nScaleMin && self . nScaleMax == other . nScaleMax } } impl :: std :: cmp :: Eq for OLEUIVIEWPROPSA { } # [ repr ( C ) ] # [ doc ( hidden ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct OLEUIVIEWPROPSA_abi { pub cbStruct : u32 , pub dwFlags : u32 , pub dwReserved1 : [ u32 ;2 ] , pub lpfnHook : :: windows :: RawPtr , pub lCustData : super::super::Foundation:: LPARAM , pub dwReserved2 : [ u32 ;3 ] , pub lpOP : * mut OLEUIOBJECTPROPSA_abi , pub nScaleMin : i32 , pub nScaleMax : i32 } unsafe impl :: windows :: Abi for OLEUIVIEWPROPSA { type Abi = OLEUIVIEWPROPSA_abi ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone ) ] # [ repr ( C ) ] pub struct OLEUIVIEWPROPSW { pub cbStruct : u32 , pub dwFlags : u32 , pub dwReserved1 : [ u32 ;2 ] , pub lpfnHook : :: std :: option :: Option < LPFNOLEUIHOOK > , pub lCustData : super::super::Foundation:: LPARAM , pub dwReserved2 : [ u32 ;3 ] , pub lpOP : * mut OLEUIOBJECTPROPSW , pub nScaleMin : i32 , pub nScaleMax : i32 } impl OLEUIVIEWPROPSW { } impl :: std :: default :: Default for OLEUIVIEWPROPSW { fn default ( ) -> Self { Self { cbStruct : 0 , dwFlags : 0 , dwReserved1 : [ 0 ;2 ] , lpfnHook : :: std :: default :: Default :: default ( ) , lCustData : :: std :: default :: Default :: default ( ) , dwReserved2 : [ 0 ;3 ] , lpOP : :: std :: ptr :: null_mut ( ) , nScaleMin : 0 , nScaleMax : 0 } } } impl :: std :: fmt :: Debug for OLEUIVIEWPROPSW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "OLEUIVIEWPROPSW" ) . field ( "cbStruct" , & self . cbStruct ) . field ( "dwFlags" , & self . dwFlags ) . field ( "dwReserved1" , & self . dwReserved1 ) . field ( "lCustData" , & self . lCustData ) . field ( "dwReserved2" , & self . dwReserved2 ) . field ( "lpOP" , & self . lpOP ) . field ( "nScaleMin" , & self . nScaleMin ) . field ( "nScaleMax" , & self . nScaleMax ) . finish ( ) } } impl :: std :: cmp :: PartialEq for OLEUIVIEWPROPSW { fn eq ( & self , other : & Self ) -> bool { self . cbStruct == other . cbStruct && self . dwFlags == other . dwFlags && self . dwReserved1 == other . dwReserved1 && self . lpfnHook . map ( | f | f as usize ) == other . lpfnHook . map ( | f | f as usize ) && self . lCustData == other . lCustData && self . dwReserved2 == other . dwReserved2 && self . lpOP == other . lpOP && self . nScaleMin == other . nScaleMin && self . nScaleMax == other . nScaleMax } } impl :: std :: cmp :: Eq for OLEUIVIEWPROPSW { } # [ repr ( C ) ] # [ doc ( hidden ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct OLEUIVIEWPROPSW_abi { pub cbStruct : u32 , pub dwFlags : u32 , pub dwReserved1 : [ u32 ;2 ] , pub lpfnHook : :: windows :: RawPtr , pub lCustData : super::super::Foundation:: LPARAM , pub dwReserved2 : [ u32 ;3 ] , pub lpOP : * mut OLEUIOBJECTPROPSW_abi , pub nScaleMin : i32 , pub nScaleMax : i32 } unsafe impl :: windows :: Abi for OLEUIVIEWPROPSW { type Abi = OLEUIVIEWPROPSW_abi ; type DefaultType = Self ; } pub const OLEUI_BZERR_HTASKINVALID : u32 = 116u32 ; pub const OLEUI_BZ_CALLUNBLOCKED : u32 = 119u32 ; pub const OLEUI_BZ_RETRYSELECTED : u32 = 118u32 ; pub const OLEUI_BZ_SWITCHTOSELECTED : u32 = 117u32 ; pub const OLEUI_CANCEL : u32 = 2u32 ; pub const OLEUI_CIERR_MUSTHAVECLSID : u32 = 116u32 ; pub const OLEUI_CIERR_MUSTHAVECURRENTMETAFILE : u32 = 117u32 ; pub const OLEUI_CIERR_SZICONEXEINVALID : u32 = 118u32 ; pub const OLEUI_CSERR_FROMNOTNULL : u32 = 118u32 ; pub const OLEUI_CSERR_LINKCNTRINVALID : u32 = 117u32 ; pub const OLEUI_CSERR_LINKCNTRNULL : u32 = 116u32 ; pub const OLEUI_CSERR_SOURCEINVALID : u32 = 121u32 ; pub const OLEUI_CSERR_SOURCENULL : u32 = 120u32 ; pub const OLEUI_CSERR_SOURCEPARSEERROR : u32 = 122u32 ; pub const OLEUI_CSERR_SOURCEPARSERROR : u32 = 122u32 ; pub const OLEUI_CSERR_TONOTNULL : u32 = 119u32 ; pub const OLEUI_CTERR_CBFORMATINVALID : u32 = 119u32 ; pub const OLEUI_CTERR_CLASSIDINVALID : u32 = 117u32 ; pub const OLEUI_CTERR_DVASPECTINVALID : u32 = 118u32 ; pub const OLEUI_CTERR_HMETAPICTINVALID : u32 = 120u32 ; pub const OLEUI_CTERR_STRINGINVALID : u32 = 121u32 ; pub const OLEUI_ELERR_LINKCNTRINVALID : u32 = 117u32 ; pub const OLEUI_ELERR_LINKCNTRNULL : u32 = 116u32 ; pub const OLEUI_ERR_CBSTRUCTINCORRECT : u32 = 103u32 ; pub const OLEUI_ERR_DIALOGFAILURE : u32 = 112u32 ; pub const OLEUI_ERR_FINDTEMPLATEFAILURE : u32 = 110u32 ; pub const OLEUI_ERR_GLOBALMEMALLOC : u32 = 114u32 ; pub const OLEUI_ERR_HINSTANCEINVALID : u32 = 107u32 ; pub const OLEUI_ERR_HRESOURCEINVALID : u32 = 109u32 ; pub const OLEUI_ERR_HWNDOWNERINVALID : u32 = 104u32 ; pub const OLEUI_ERR_LOADSTRING : u32 = 115u32 ; pub const OLEUI_ERR_LOADTEMPLATEFAILURE : u32 = 111u32 ; pub const OLEUI_ERR_LOCALMEMALLOC : u32 = 113u32 ; pub const OLEUI_ERR_LPFNHOOKINVALID : u32 = 106u32 ; pub const OLEUI_ERR_LPSZCAPTIONINVALID : u32 = 105u32 ; pub const OLEUI_ERR_LPSZTEMPLATEINVALID : u32 = 108u32 ; pub const OLEUI_ERR_OLEMEMALLOC : u32 = 100u32 ; pub const OLEUI_ERR_STANDARDMAX : u32 = 116u32 ; pub const OLEUI_ERR_STANDARDMIN : u32 = 100u32 ; pub const OLEUI_ERR_STRUCTUREINVALID : u32 = 102u32 ; pub const OLEUI_ERR_STRUCTURENULL : u32 = 101u32 ; pub const OLEUI_FALSE : u32 = 0u32 ; pub const OLEUI_GPERR_CBFORMATINVALID : u32 = 130u32 ; pub const OLEUI_GPERR_CLASSIDINVALID : u32 = 128u32 ; pub const OLEUI_GPERR_LPCLSIDEXCLUDEINVALID : u32 = 129u32 ; pub const OLEUI_GPERR_STRINGINVALID : u32 = 127u32 ; pub const OLEUI_IOERR_ARRLINKTYPESINVALID : u32 = 118u32 ; pub const OLEUI_IOERR_ARRPASTEENTRIESINVALID : u32 = 117u32 ; pub const OLEUI_IOERR_CCHFILEINVALID : u32 = 125u32 ; pub const OLEUI_IOERR_HICONINVALID : u32 = 118u32 ; pub const OLEUI_IOERR_LPCLSIDEXCLUDEINVALID : u32 = 124u32 ; pub const OLEUI_IOERR_LPFORMATETCINVALID : u32 = 119u32 ; pub const OLEUI_IOERR_LPIOLECLIENTSITEINVALID : u32 = 121u32 ; pub const OLEUI_IOERR_LPISTORAGEINVALID : u32 = 122u32 ; pub const OLEUI_IOERR_LPSZFILEINVALID : u32 = 116u32 ; pub const OLEUI_IOERR_LPSZLABELINVALID : u32 = 117u32 ; pub const OLEUI_IOERR_PPVOBJINVALID : u32 = 120u32 ; pub const OLEUI_IOERR_SCODEHASERROR : u32 = 123u32 ; pub const OLEUI_IOERR_SRCDATAOBJECTINVALID : u32 = 116u32 ; pub const OLEUI_LPERR_LINKCNTRINVALID : u32 = 134u32 ; pub const OLEUI_LPERR_LINKCNTRNULL : u32 = 133u32 ; pub const OLEUI_OK : u32 = 1u32 ; pub const OLEUI_OPERR_DLGPROCNOTNULL : u32 = 125u32 ; pub const OLEUI_OPERR_INVALIDPAGES : u32 = 123u32 ; pub const OLEUI_OPERR_LINKINFOINVALID : u32 = 137u32 ; pub const OLEUI_OPERR_LPARAMNOTZERO : u32 = 126u32 ; pub const OLEUI_OPERR_NOTSUPPORTED : u32 = 124u32 ; pub const OLEUI_OPERR_OBJINFOINVALID : u32 = 136u32 ; pub const OLEUI_OPERR_PAGESINCORRECT : u32 = 122u32 ; pub const OLEUI_OPERR_PROPERTYSHEET : u32 = 135u32 ; pub const OLEUI_OPERR_PROPSHEETINVALID : u32 = 119u32 ; pub const OLEUI_OPERR_PROPSHEETNULL : u32 = 118u32 ; pub const OLEUI_OPERR_PROPSINVALID : u32 = 121u32 ; pub const OLEUI_OPERR_SUBPROPINVALID : u32 = 117u32 ; pub const OLEUI_OPERR_SUBPROPNULL : u32 = 116u32 ; pub const OLEUI_OPERR_SUPPROP : u32 = 120u32 ; pub const OLEUI_PSERR_CLIPBOARDCHANGED : u32 = 119u32 ; pub const OLEUI_PSERR_GETCLIPBOARDFAILED : u32 = 120u32 ; pub const OLEUI_QUERY_GETCLASSID : u32 = 65280u32 ; pub const OLEUI_QUERY_LINKBROKEN : u32 = 65281u32 ; pub const OLEUI_SUCCESS : u32 = 1u32 ; pub const OLEUI_VPERR_DVASPECTINVALID : u32 = 132u32 ; pub const OLEUI_VPERR_METAPICTINVALID : u32 = 131u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct OLEUPDATE ( pub i32 ) ; pub const OLEUPDATE_ALWAYS : OLEUPDATE = OLEUPDATE ( 1i32 ) ; pub const OLEUPDATE_ONCALL : OLEUPDATE = OLEUPDATE ( 3i32 ) ; impl :: std :: convert :: From < i32 > for OLEUPDATE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for OLEUPDATE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct OLEVERB { pub lVerb : i32 , pub lpszVerbName : super::super::Foundation:: PWSTR , pub fuFlags : u32 , pub grfAttribs : u32 } impl OLEVERB { } impl :: std :: default :: Default for OLEVERB { fn default ( ) -> Self { Self { lVerb : 0 , lpszVerbName : :: std :: default :: Default :: default ( ) , fuFlags : 0 , grfAttribs : 0 } } } impl :: std :: fmt :: Debug for OLEVERB { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "OLEVERB" ) . field ( "lVerb" , & self . lVerb ) . field ( "lpszVerbName" , & self . lpszVerbName ) . field ( "fuFlags" , & self . fuFlags ) . field ( "grfAttribs" , & self . grfAttribs ) . finish ( ) } } impl :: std :: cmp :: PartialEq for OLEVERB { fn eq ( & self , other : & Self ) -> bool { self . lVerb == other . lVerb && self . lpszVerbName == other . lpszVerbName && self . fuFlags == other . fuFlags && self . grfAttribs == other . grfAttribs } } impl :: std :: cmp :: Eq for OLEVERB { } unsafe impl :: windows :: Abi for OLEVERB { 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 OLEVERBATTRIB ( pub i32 ) ; pub const OLEVERBATTRIB_NEVERDIRTIES : OLEVERBATTRIB = OLEVERBATTRIB ( 1i32 ) ; pub const OLEVERBATTRIB_ONCONTAINERMENU : OLEVERBATTRIB = OLEVERBATTRIB ( 2i32 ) ; impl :: std :: convert :: From < i32 > for OLEVERBATTRIB { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for OLEVERBATTRIB { type Abi = Self ; type DefaultType = Self ; } pub const OLEVERB_PRIMARY : 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 OLEWHICHMK ( pub i32 ) ; pub const OLEWHICHMK_CONTAINER : OLEWHICHMK = OLEWHICHMK ( 1i32 ) ; pub const OLEWHICHMK_OBJREL : OLEWHICHMK = OLEWHICHMK ( 2i32 ) ; pub const OLEWHICHMK_OBJFULL : OLEWHICHMK = OLEWHICHMK ( 3i32 ) ; impl :: std :: convert :: From < i32 > for OLEWHICHMK { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for OLEWHICHMK { 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 OLE_TRISTATE ( pub i32 ) ; pub const triUnchecked : OLE_TRISTATE = OLE_TRISTATE ( 0i32 ) ; pub const triChecked : OLE_TRISTATE = OLE_TRISTATE ( 1i32 ) ; pub const triGray : OLE_TRISTATE = OLE_TRISTATE ( 2i32 ) ; impl :: std :: convert :: From < i32 > for OLE_TRISTATE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for OLE_TRISTATE { type Abi = Self ; type DefaultType = Self ; } pub const OPF_DISABLECONVERT : i32 = 8i32 ; pub const OPF_NOFILLDEFAULT : i32 = 2i32 ; pub const OPF_OBJECTISLINK : i32 = 1i32 ; pub const OPF_SHOWHELP : i32 = 4i32 ; pub const OT_EMBEDDED : i32 = 2i32 ; pub const OT_LINK : i32 = 1i32 ; pub const OT_STATIC : i32 = 3i32 ; pub unsafe fn ObtainUserAgentString < > ( dwoption : u32 , pszuaout : super::super::Foundation:: PSTR , cbsize : * mut u32 , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="urlmon" ) ] extern "system" { fn ObtainUserAgentString ( dwoption : u32 , pszuaout : super::super::Foundation:: PSTR , cbsize : * mut u32 ) -> :: windows :: HRESULT ; } ObtainUserAgentString ( :: std :: mem :: transmute ( dwoption ) , :: std :: mem :: transmute ( pszuaout ) , :: std :: mem :: transmute ( cbsize ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OleBuildVersion < > ( ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="ole32" ) ] extern "system" { fn OleBuildVersion ( ) -> u32 ; } OleBuildVersion ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OleCreate < 'a , > ( rclsid : * const :: windows :: Guid , riid : * const :: windows :: Guid , renderopt : u32 , pformatetc : * mut FORMATETC , pclientsite : impl :: windows :: IntoParam < 'a , IOleClientSite > , pstg : impl :: windows :: IntoParam < 'a , super::super::Storage::StructuredStorage:: IStorage > , ppvobj : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn OleCreate ( rclsid : * const :: windows :: Guid , riid : * const :: windows :: Guid , renderopt : u32 , pformatetc : * mut FORMATETC , pclientsite : :: windows :: RawPtr , pstg : :: windows :: RawPtr , ppvobj : * mut * mut :: std :: ffi :: c_void ) -> :: windows :: HRESULT ; } OleCreate ( :: std :: mem :: transmute ( rclsid ) , :: std :: mem :: transmute ( riid ) , :: std :: mem :: transmute ( renderopt ) , :: std :: mem :: transmute ( pformatetc ) , pclientsite . into_param ( ) . abi ( ) , pstg . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ppvobj ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OleCreateDefaultHandler < 'a , T : :: windows :: Interface > ( clsid : * const :: windows :: Guid , punkouter : impl :: windows :: IntoParam < 'a , :: windows :: IUnknown > , ) -> :: windows :: Result < T > { # [ cfg ( windows ) ] { # [ link ( name ="ole32" ) ] extern "system" { fn OleCreateDefaultHandler ( clsid : * const :: windows :: Guid , punkouter : :: windows :: RawPtr , riid : * const :: windows :: Guid , lplpobj : * mut * mut :: std :: ffi :: c_void ) -> :: windows :: HRESULT ; } let mut result__ = :: std :: option :: Option :: None ; OleCreateDefaultHandler ( :: std :: mem :: transmute ( clsid ) , punkouter . into_param ( ) . abi ( ) , & < T as :: windows :: Interface > :: IID , :: windows :: Abi :: set_abi ( & mut result__ ) ) . and_some ( result__ ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OleCreateEmbeddingHelper < 'a , T : :: windows :: Interface > ( clsid : * const :: windows :: Guid , punkouter : impl :: windows :: IntoParam < 'a , :: windows :: IUnknown > , flags : u32 , pcf : impl :: windows :: IntoParam < 'a , IClassFactory > , ) -> :: windows :: Result < T > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn OleCreateEmbeddingHelper ( clsid : * const :: windows :: Guid , punkouter : :: windows :: RawPtr , flags : u32 , pcf : :: windows :: RawPtr , riid : * const :: windows :: Guid , lplpobj : * mut * mut :: std :: ffi :: c_void ) -> :: windows :: HRESULT ; } let mut result__ = :: std :: option :: Option :: None ; OleCreateEmbeddingHelper ( :: std :: mem :: transmute ( clsid ) , punkouter . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( flags ) , pcf . into_param ( ) . abi ( ) , & < T as :: windows :: Interface > :: IID , :: windows :: Abi :: set_abi ( & mut result__ ) ) . and_some ( result__ ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OleCreateEx < 'a , > ( rclsid : * const :: windows :: Guid , riid : * const :: windows :: Guid , dwflags : u32 , renderopt : u32 , cformats : u32 , rgadvf : * mut u32 , rgformatetc : * mut FORMATETC , lpadvisesink : impl :: windows :: IntoParam < 'a , IAdviseSink > , rgdwconnection : * mut u32 , pclientsite : impl :: windows :: IntoParam < 'a , IOleClientSite > , pstg : impl :: windows :: IntoParam < 'a , super::super::Storage::StructuredStorage:: IStorage > , ppvobj : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="ole32" ) ] extern "system" { fn OleCreateEx ( rclsid : * const :: windows :: Guid , riid : * const :: windows :: Guid , dwflags : u32 , renderopt : u32 , cformats : u32 , rgadvf : * mut u32 , rgformatetc : * mut FORMATETC , lpadvisesink : :: windows :: RawPtr , rgdwconnection : * mut u32 , pclientsite : :: windows :: RawPtr , pstg : :: windows :: RawPtr , ppvobj : * mut * mut :: std :: ffi :: c_void ) -> :: windows :: HRESULT ; } OleCreateEx ( :: std :: mem :: transmute ( rclsid ) , :: std :: mem :: transmute ( riid ) , :: std :: mem :: transmute ( dwflags ) , :: std :: mem :: transmute ( renderopt ) , :: std :: mem :: transmute ( cformats ) , :: std :: mem :: transmute ( rgadvf ) , :: std :: mem :: transmute ( rgformatetc ) , lpadvisesink . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( rgdwconnection ) , pclientsite . into_param ( ) . abi ( ) , pstg . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ppvobj ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OleCreateFontIndirect < T : :: windows :: Interface > ( lpfontdesc : * mut FONTDESC , ) -> :: windows :: Result < T > { # [ cfg ( windows ) ] { # [ link ( name ="OLEAUT32" ) ] extern "system" { fn OleCreateFontIndirect ( lpfontdesc : * mut FONTDESC , riid : * const :: windows :: Guid , lplpvobj : * mut * mut :: std :: ffi :: c_void ) -> :: windows :: HRESULT ; } let mut result__ = :: std :: option :: Option :: None ; OleCreateFontIndirect ( :: std :: mem :: transmute ( lpfontdesc ) , & < T as :: windows :: Interface > :: IID , :: windows :: Abi :: set_abi ( & mut result__ ) ) . and_some ( result__ ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OleCreateFromData < 'a , > ( psrcdataobj : impl :: windows :: IntoParam < 'a , IDataObject > , riid : * const :: windows :: Guid , renderopt : u32 , pformatetc : * mut FORMATETC , pclientsite : impl :: windows :: IntoParam < 'a , IOleClientSite > , pstg : impl :: windows :: IntoParam < 'a , super::super::Storage::StructuredStorage:: IStorage > , ppvobj : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn OleCreateFromData ( psrcdataobj : :: windows :: RawPtr , riid : * const :: windows :: Guid , renderopt : u32 , pformatetc : * mut FORMATETC , pclientsite : :: windows :: RawPtr , pstg : :: windows :: RawPtr , ppvobj : * mut * mut :: std :: ffi :: c_void ) -> :: windows :: HRESULT ; } OleCreateFromData ( psrcdataobj . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( riid ) , :: std :: mem :: transmute ( renderopt ) , :: std :: mem :: transmute ( pformatetc ) , pclientsite . into_param ( ) . abi ( ) , pstg . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ppvobj ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OleCreateFromDataEx < 'a , > ( psrcdataobj : impl :: windows :: IntoParam < 'a , IDataObject > , riid : * const :: windows :: Guid , dwflags : u32 , renderopt : u32 , cformats : u32 , rgadvf : * mut u32 , rgformatetc : * mut FORMATETC , lpadvisesink : impl :: windows :: IntoParam < 'a , IAdviseSink > , rgdwconnection : * mut u32 , pclientsite : impl :: windows :: IntoParam < 'a , IOleClientSite > , pstg : impl :: windows :: IntoParam < 'a , super::super::Storage::StructuredStorage:: IStorage > , ppvobj : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="ole32" ) ] extern "system" { fn OleCreateFromDataEx ( psrcdataobj : :: windows :: RawPtr , riid : * const :: windows :: Guid , dwflags : u32 , renderopt : u32 , cformats : u32 , rgadvf : * mut u32 , rgformatetc : * mut FORMATETC , lpadvisesink : :: windows :: RawPtr , rgdwconnection : * mut u32 , pclientsite : :: windows :: RawPtr , pstg : :: windows :: RawPtr , ppvobj : * mut * mut :: std :: ffi :: c_void ) -> :: windows :: HRESULT ; } OleCreateFromDataEx ( psrcdataobj . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( riid ) , :: std :: mem :: transmute ( dwflags ) , :: std :: mem :: transmute ( renderopt ) , :: std :: mem :: transmute ( cformats ) , :: std :: mem :: transmute ( rgadvf ) , :: std :: mem :: transmute ( rgformatetc ) , lpadvisesink . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( rgdwconnection ) , pclientsite . into_param ( ) . abi ( ) , pstg . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ppvobj ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OleCreateFromFile < 'a , > ( rclsid : * const :: windows :: Guid , lpszfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , riid : * const :: windows :: Guid , renderopt : u32 , lpformatetc : * mut FORMATETC , pclientsite : impl :: windows :: IntoParam < 'a , IOleClientSite > , pstg : impl :: windows :: IntoParam < 'a , super::super::Storage::StructuredStorage:: IStorage > , ppvobj : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn OleCreateFromFile ( rclsid : * const :: windows :: Guid , lpszfilename : super::super::Foundation:: PWSTR , riid : * const :: windows :: Guid , renderopt : u32 , lpformatetc : * mut FORMATETC , pclientsite : :: windows :: RawPtr , pstg : :: windows :: RawPtr , ppvobj : * mut * mut :: std :: ffi :: c_void ) -> :: windows :: HRESULT ; } OleCreateFromFile ( :: std :: mem :: transmute ( rclsid ) , lpszfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( riid ) , :: std :: mem :: transmute ( renderopt ) , :: std :: mem :: transmute ( lpformatetc ) , pclientsite . into_param ( ) . abi ( ) , pstg . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ppvobj ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OleCreateFromFileEx < 'a , > ( rclsid : * const :: windows :: Guid , lpszfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , riid : * const :: windows :: Guid , dwflags : u32 , renderopt : u32 , cformats : u32 , rgadvf : * mut u32 , rgformatetc : * mut FORMATETC , lpadvisesink : impl :: windows :: IntoParam < 'a , IAdviseSink > , rgdwconnection : * mut u32 , pclientsite : impl :: windows :: IntoParam < 'a , IOleClientSite > , pstg : impl :: windows :: IntoParam < 'a , super::super::Storage::StructuredStorage:: IStorage > , ppvobj : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="ole32" ) ] extern "system" { fn OleCreateFromFileEx ( rclsid : * const :: windows :: Guid , lpszfilename : super::super::Foundation:: PWSTR , riid : * const :: windows :: Guid , dwflags : u32 , renderopt : u32 , cformats : u32 , rgadvf : * mut u32 , rgformatetc : * mut FORMATETC , lpadvisesink : :: windows :: RawPtr , rgdwconnection : * mut u32 , pclientsite : :: windows :: RawPtr , pstg : :: windows :: RawPtr , ppvobj : * mut * mut :: std :: ffi :: c_void ) -> :: windows :: HRESULT ; } OleCreateFromFileEx ( :: std :: mem :: transmute ( rclsid ) , lpszfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( riid ) , :: std :: mem :: transmute ( dwflags ) , :: std :: mem :: transmute ( renderopt ) , :: std :: mem :: transmute ( cformats ) , :: std :: mem :: transmute ( rgadvf ) , :: std :: mem :: transmute ( rgformatetc ) , lpadvisesink . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( rgdwconnection ) , pclientsite . into_param ( ) . abi ( ) , pstg . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ppvobj ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OleCreateLink < 'a , > ( pmklinksrc : impl :: windows :: IntoParam < 'a , IMoniker > , riid : * const :: windows :: Guid , renderopt : u32 , lpformatetc : * mut FORMATETC , pclientsite : impl :: windows :: IntoParam < 'a , IOleClientSite > , pstg : impl :: windows :: IntoParam < 'a , super::super::Storage::StructuredStorage:: IStorage > , ppvobj : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="ole32" ) ] extern "system" { fn OleCreateLink ( pmklinksrc : :: windows :: RawPtr , riid : * const :: windows :: Guid , renderopt : u32 , lpformatetc : * mut FORMATETC , pclientsite : :: windows :: RawPtr , pstg : :: windows :: RawPtr , ppvobj : * mut * mut :: std :: ffi :: c_void ) -> :: windows :: HRESULT ; } OleCreateLink ( pmklinksrc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( riid ) , :: std :: mem :: transmute ( renderopt ) , :: std :: mem :: transmute ( lpformatetc ) , pclientsite . into_param ( ) . abi ( ) , pstg . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ppvobj ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OleCreateLinkEx < 'a , > ( pmklinksrc : impl :: windows :: IntoParam < 'a , IMoniker > , riid : * const :: windows :: Guid , dwflags : u32 , renderopt : u32 , cformats : u32 , rgadvf : * mut u32 , rgformatetc : * mut FORMATETC , lpadvisesink : impl :: windows :: IntoParam < 'a , IAdviseSink > , rgdwconnection : * mut u32 , pclientsite : impl :: windows :: IntoParam < 'a , IOleClientSite > , pstg : impl :: windows :: IntoParam < 'a , super::super::Storage::StructuredStorage:: IStorage > , ppvobj : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="ole32" ) ] extern "system" { fn OleCreateLinkEx ( pmklinksrc : :: windows :: RawPtr , riid : * const :: windows :: Guid , dwflags : u32 , renderopt : u32 , cformats : u32 , rgadvf : * mut u32 , rgformatetc : * mut FORMATETC , lpadvisesink : :: windows :: RawPtr , rgdwconnection : * mut u32 , pclientsite : :: windows :: RawPtr , pstg : :: windows :: RawPtr , ppvobj : * mut * mut :: std :: ffi :: c_void ) -> :: windows :: HRESULT ; } OleCreateLinkEx ( pmklinksrc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( riid ) , :: std :: mem :: transmute ( dwflags ) , :: std :: mem :: transmute ( renderopt ) , :: std :: mem :: transmute ( cformats ) , :: std :: mem :: transmute ( rgadvf ) , :: std :: mem :: transmute ( rgformatetc ) , lpadvisesink . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( rgdwconnection ) , pclientsite . into_param ( ) . abi ( ) , pstg . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ppvobj ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OleCreateLinkFromData < 'a , > ( psrcdataobj : impl :: windows :: IntoParam < 'a , IDataObject > , riid : * const :: windows :: Guid , renderopt : u32 , pformatetc : * mut FORMATETC , pclientsite : impl :: windows :: IntoParam < 'a , IOleClientSite > , pstg : impl :: windows :: IntoParam < 'a , super::super::Storage::StructuredStorage:: IStorage > , ppvobj : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn OleCreateLinkFromData ( psrcdataobj : :: windows :: RawPtr , riid : * const :: windows :: Guid , renderopt : u32 , pformatetc : * mut FORMATETC , pclientsite : :: windows :: RawPtr , pstg : :: windows :: RawPtr , ppvobj : * mut * mut :: std :: ffi :: c_void ) -> :: windows :: HRESULT ; } OleCreateLinkFromData ( psrcdataobj . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( riid ) , :: std :: mem :: transmute ( renderopt ) , :: std :: mem :: transmute ( pformatetc ) , pclientsite . into_param ( ) . abi ( ) , pstg . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ppvobj ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OleCreateLinkFromDataEx < 'a , > ( psrcdataobj : impl :: windows :: IntoParam < 'a , IDataObject > , riid : * const :: windows :: Guid , dwflags : u32 , renderopt : u32 , cformats : u32 , rgadvf : * mut u32 , rgformatetc : * mut FORMATETC , lpadvisesink : impl :: windows :: IntoParam < 'a , IAdviseSink > , rgdwconnection : * mut u32 , pclientsite : impl :: windows :: IntoParam < 'a , IOleClientSite > , pstg : impl :: windows :: IntoParam < 'a , super::super::Storage::StructuredStorage:: IStorage > , ppvobj : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="ole32" ) ] extern "system" { fn OleCreateLinkFromDataEx ( psrcdataobj : :: windows :: RawPtr , riid : * const :: windows :: Guid , dwflags : u32 , renderopt : u32 , cformats : u32 , rgadvf : * mut u32 , rgformatetc : * mut FORMATETC , lpadvisesink : :: windows :: RawPtr , rgdwconnection : * mut u32 , pclientsite : :: windows :: RawPtr , pstg : :: windows :: RawPtr , ppvobj : * mut * mut :: std :: ffi :: c_void ) -> :: windows :: HRESULT ; } OleCreateLinkFromDataEx ( psrcdataobj . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( riid ) , :: std :: mem :: transmute ( dwflags ) , :: std :: mem :: transmute ( renderopt ) , :: std :: mem :: transmute ( cformats ) , :: std :: mem :: transmute ( rgadvf ) , :: std :: mem :: transmute ( rgformatetc ) , lpadvisesink . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( rgdwconnection ) , pclientsite . into_param ( ) . abi ( ) , pstg . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ppvobj ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OleCreateLinkToFile < 'a , > ( lpszfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , riid : * const :: windows :: Guid , renderopt : u32 , lpformatetc : * mut FORMATETC , pclientsite : impl :: windows :: IntoParam < 'a , IOleClientSite > , pstg : impl :: windows :: IntoParam < 'a , super::super::Storage::StructuredStorage:: IStorage > , ppvobj : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn OleCreateLinkToFile ( lpszfilename : super::super::Foundation:: PWSTR , riid : * const :: windows :: Guid , renderopt : u32 , lpformatetc : * mut FORMATETC , pclientsite : :: windows :: RawPtr , pstg : :: windows :: RawPtr , ppvobj : * mut * mut :: std :: ffi :: c_void ) -> :: windows :: HRESULT ; } OleCreateLinkToFile ( lpszfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( riid ) , :: std :: mem :: transmute ( renderopt ) , :: std :: mem :: transmute ( lpformatetc ) , pclientsite . into_param ( ) . abi ( ) , pstg . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ppvobj ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OleCreateLinkToFileEx < 'a , > ( lpszfilename : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , riid : * const :: windows :: Guid , dwflags : u32 , renderopt : u32 , cformats : u32 , rgadvf : * mut u32 , rgformatetc : * mut FORMATETC , lpadvisesink : impl :: windows :: IntoParam < 'a , IAdviseSink > , rgdwconnection : * mut u32 , pclientsite : impl :: windows :: IntoParam < 'a , IOleClientSite > , pstg : impl :: windows :: IntoParam < 'a , super::super::Storage::StructuredStorage:: IStorage > , ppvobj : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="ole32" ) ] extern "system" { fn OleCreateLinkToFileEx ( lpszfilename : super::super::Foundation:: PWSTR , riid : * const :: windows :: Guid , dwflags : u32 , renderopt : u32 , cformats : u32 , rgadvf : * mut u32 , rgformatetc : * mut FORMATETC , lpadvisesink : :: windows :: RawPtr , rgdwconnection : * mut u32 , pclientsite : :: windows :: RawPtr , pstg : :: windows :: RawPtr , ppvobj : * mut * mut :: std :: ffi :: c_void ) -> :: windows :: HRESULT ; } OleCreateLinkToFileEx ( lpszfilename . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( riid ) , :: std :: mem :: transmute ( dwflags ) , :: std :: mem :: transmute ( renderopt ) , :: std :: mem :: transmute ( cformats ) , :: std :: mem :: transmute ( rgadvf ) , :: std :: mem :: transmute ( rgformatetc ) , lpadvisesink . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( rgdwconnection ) , pclientsite . into_param ( ) . abi ( ) , pstg . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ppvobj ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OleCreateMenuDescriptor < 'a , > ( hmenucombined : impl :: windows :: IntoParam < 'a , super::super::UI::WindowsAndMessaging:: HMENU > , lpmenuwidths : * mut OleMenuGroupWidths , ) -> isize { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn OleCreateMenuDescriptor ( hmenucombined : super::super::UI::WindowsAndMessaging:: HMENU , lpmenuwidths : * mut OleMenuGroupWidths ) -> isize ; } OleCreateMenuDescriptor ( hmenucombined . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpmenuwidths ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OleCreatePictureIndirect < 'a , > ( lppictdesc : * mut PICTDESC , riid : * const :: windows :: Guid , fown : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , lplpvobj : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="OLEAUT32" ) ] extern "system" { fn OleCreatePictureIndirect ( lppictdesc : * mut PICTDESC , riid : * const :: windows :: Guid , fown : super::super::Foundation:: BOOL , lplpvobj : * mut * mut :: std :: ffi :: c_void ) -> :: windows :: HRESULT ; } OleCreatePictureIndirect ( :: std :: mem :: transmute ( lppictdesc ) , :: std :: mem :: transmute ( riid ) , fown . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lplpvobj ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OleCreatePropertyFrame < 'a , > ( hwndowner : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HWND > , x : u32 , y : u32 , lpszcaption : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , cobjects : u32 , ppunk : * mut :: std :: option :: Option < :: windows :: IUnknown > , cpages : u32 , ppageclsid : * mut :: windows :: Guid , lcid : u32 , dwreserved : u32 , pvreserved : * mut :: std :: ffi :: c_void , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="OLEAUT32" ) ] extern "system" { fn OleCreatePropertyFrame ( hwndowner : super::super::Foundation:: HWND , x : u32 , y : u32 , lpszcaption : super::super::Foundation:: PWSTR , cobjects : u32 , ppunk : * mut :: windows :: RawPtr , cpages : u32 , ppageclsid : * mut :: windows :: Guid , lcid : u32 , dwreserved : u32 , pvreserved : * mut :: std :: ffi :: c_void ) -> :: windows :: HRESULT ; } OleCreatePropertyFrame ( hwndowner . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( x ) , :: std :: mem :: transmute ( y ) , lpszcaption . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( cobjects ) , :: std :: mem :: transmute ( ppunk ) , :: std :: mem :: transmute ( cpages ) , :: std :: mem :: transmute ( ppageclsid ) , :: std :: mem :: transmute ( lcid ) , :: std :: mem :: transmute ( dwreserved ) , :: std :: mem :: transmute ( pvreserved ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OleCreatePropertyFrameIndirect < > ( lpparams : * mut OCPFIPARAMS , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="OLEAUT32" ) ] extern "system" { fn OleCreatePropertyFrameIndirect ( lpparams : * mut OCPFIPARAMS ) -> :: windows :: HRESULT ; } OleCreatePropertyFrameIndirect ( :: std :: mem :: transmute ( lpparams ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OleCreateStaticFromData < 'a , > ( psrcdataobj : impl :: windows :: IntoParam < 'a , IDataObject > , iid : * const :: windows :: Guid , renderopt : u32 , pformatetc : * mut FORMATETC , pclientsite : impl :: windows :: IntoParam < 'a , IOleClientSite > , pstg : impl :: windows :: IntoParam < 'a , super::super::Storage::StructuredStorage:: IStorage > , ppvobj : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn OleCreateStaticFromData ( psrcdataobj : :: windows :: RawPtr , iid : * const :: windows :: Guid , renderopt : u32 , pformatetc : * mut FORMATETC , pclientsite : :: windows :: RawPtr , pstg : :: windows :: RawPtr , ppvobj : * mut * mut :: std :: ffi :: c_void ) -> :: windows :: HRESULT ; } OleCreateStaticFromData ( psrcdataobj . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( iid ) , :: std :: mem :: transmute ( renderopt ) , :: std :: mem :: transmute ( pformatetc ) , pclientsite . into_param ( ) . abi ( ) , pstg . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ppvobj ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OleDestroyMenuDescriptor < > ( holemenu : isize , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn OleDestroyMenuDescriptor ( holemenu : isize ) -> :: windows :: HRESULT ; } OleDestroyMenuDescriptor ( :: std :: mem :: transmute ( holemenu ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OleDoAutoConvert < 'a , > ( pstg : impl :: windows :: IntoParam < 'a , super::super::Storage::StructuredStorage:: IStorage > , pclsidnew : * mut :: windows :: Guid , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="ole32" ) ] extern "system" { fn OleDoAutoConvert ( pstg : :: windows :: RawPtr , pclsidnew : * mut :: windows :: Guid ) -> :: windows :: HRESULT ; } OleDoAutoConvert ( pstg . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( pclsidnew ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OleDraw < 'a , > ( punknown : impl :: windows :: IntoParam < 'a , :: windows :: IUnknown > , dwaspect : u32 , hdcdraw : impl :: windows :: IntoParam < 'a , super::super::Graphics::Gdi:: HDC > , lprcbounds : * mut super::super::Foundation:: RECT , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn OleDraw ( punknown : :: windows :: RawPtr , dwaspect : u32 , hdcdraw : super::super::Graphics::Gdi:: HDC , lprcbounds : * mut super::super::Foundation:: RECT ) -> :: windows :: HRESULT ; } OleDraw ( punknown . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwaspect ) , hdcdraw . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lprcbounds ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OleDuplicateData < 'a , > ( hsrc : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , cfformat : u16 , uiflags : u32 , ) -> super::super::Foundation:: HANDLE { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn OleDuplicateData ( hsrc : super::super::Foundation:: HANDLE , cfformat : u16 , uiflags : u32 ) -> super::super::Foundation:: HANDLE ; } OleDuplicateData ( hsrc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( cfformat ) , :: std :: mem :: transmute ( uiflags ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OleFlushClipboard < > ( ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn OleFlushClipboard ( ) -> :: windows :: HRESULT ; } OleFlushClipboard ( ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OleGetAutoConvert < > ( clsidold : * const :: windows :: Guid , pclsidnew : * mut :: windows :: Guid , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn OleGetAutoConvert ( clsidold : * const :: windows :: Guid , pclsidnew : * mut :: windows :: Guid ) -> :: windows :: HRESULT ; } OleGetAutoConvert ( :: std :: mem :: transmute ( clsidold ) , :: std :: mem :: transmute ( pclsidnew ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OleGetClipboard < > ( ) -> :: windows :: Result < IDataObject > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn OleGetClipboard ( ppdataobj : * mut :: windows :: RawPtr ) -> :: windows :: HRESULT ; } let mut result__ : < IDataObject as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; OleGetClipboard ( & mut result__ ) . from_abi :: < IDataObject > ( result__ ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OleGetClipboardWithEnterpriseInfo < > ( dataobject : * mut :: std :: option :: Option < IDataObject > , dataenterpriseid : * mut super::super::Foundation:: PWSTR , sourcedescription : * mut super::super::Foundation:: PWSTR , targetdescription : * mut super::super::Foundation:: PWSTR , datadescription : * mut super::super::Foundation:: PWSTR , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="ole32" ) ] extern "system" { fn OleGetClipboardWithEnterpriseInfo ( dataobject : * mut :: windows :: RawPtr , dataenterpriseid : * mut super::super::Foundation:: PWSTR , sourcedescription : * mut super::super::Foundation:: PWSTR , targetdescription : * mut super::super::Foundation:: PWSTR , datadescription : * mut super::super::Foundation:: PWSTR ) -> :: windows :: HRESULT ; } OleGetClipboardWithEnterpriseInfo ( :: std :: mem :: transmute ( dataobject ) , :: std :: mem :: transmute ( dataenterpriseid ) , :: std :: mem :: transmute ( sourcedescription ) , :: std :: mem :: transmute ( targetdescription ) , :: std :: mem :: transmute ( datadescription ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OleGetIconOfClass < 'a , > ( rclsid : * const :: windows :: Guid , lpszlabel : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , fusetypeaslabel : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> isize { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn OleGetIconOfClass ( rclsid : * const :: windows :: Guid , lpszlabel : super::super::Foundation:: PWSTR , fusetypeaslabel : super::super::Foundation:: BOOL ) -> isize ; } OleGetIconOfClass ( :: std :: mem :: transmute ( rclsid ) , lpszlabel . into_param ( ) . abi ( ) , fusetypeaslabel . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OleGetIconOfFile < 'a , > ( lpszpath : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , fusefileaslabel : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> isize { # [ cfg ( windows ) ] { # [ link ( name ="ole32" ) ] extern "system" { fn OleGetIconOfFile ( lpszpath : super::super::Foundation:: PWSTR , fusefileaslabel : super::super::Foundation:: BOOL ) -> isize ; } OleGetIconOfFile ( lpszpath . into_param ( ) . abi ( ) , fusefileaslabel . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OleIconToCursor < 'a , > ( hinstexe : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HINSTANCE > , hicon : impl :: windows :: IntoParam < 'a , super::super::UI::WindowsAndMessaging:: HICON > , ) -> super::super::UI::WindowsAndMessaging:: HCURSOR { # [ cfg ( windows ) ] { # [ link ( name ="OLEAUT32" ) ] extern "system" { fn OleIconToCursor ( hinstexe : super::super::Foundation:: HINSTANCE , hicon : super::super::UI::WindowsAndMessaging:: HICON ) -> super::super::UI::WindowsAndMessaging:: HCURSOR ; } OleIconToCursor ( hinstexe . into_param ( ) . abi ( ) , hicon . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OleInitialize < > ( pvreserved : * mut :: std :: ffi :: c_void , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn OleInitialize ( pvreserved : * mut :: std :: ffi :: c_void ) -> :: windows :: HRESULT ; } OleInitialize ( :: std :: mem :: transmute ( pvreserved ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OleIsCurrentClipboard < 'a , > ( pdataobj : impl :: windows :: IntoParam < 'a , IDataObject > , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn OleIsCurrentClipboard ( pdataobj : :: windows :: RawPtr ) -> :: windows :: HRESULT ; } OleIsCurrentClipboard ( pdataobj . into_param ( ) . abi ( ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OleIsRunning < 'a , > ( pobject : impl :: windows :: IntoParam < 'a , IOleObject > , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn OleIsRunning ( pobject : :: windows :: RawPtr ) -> super::super::Foundation:: BOOL ; } OleIsRunning ( pobject . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OleLoad < 'a , > ( pstg : impl :: windows :: IntoParam < 'a , super::super::Storage::StructuredStorage:: IStorage > , riid : * const :: windows :: Guid , pclientsite : impl :: windows :: IntoParam < 'a , IOleClientSite > , ppvobj : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn OleLoad ( pstg : :: windows :: RawPtr , riid : * const :: windows :: Guid , pclientsite : :: windows :: RawPtr , ppvobj : * mut * mut :: std :: ffi :: c_void ) -> :: windows :: HRESULT ; } OleLoad ( pstg . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( riid ) , pclientsite . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ppvobj ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OleLoadFromStream < 'a , T : :: windows :: Interface > ( pstm : impl :: windows :: IntoParam < 'a , super::super::Storage::StructuredStorage:: IStream > , ) -> :: windows :: Result < T > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn OleLoadFromStream ( pstm : :: windows :: RawPtr , iidinterface : * const :: windows :: Guid , ppvobj : * mut * mut :: std :: ffi :: c_void ) -> :: windows :: HRESULT ; } let mut result__ = :: std :: option :: Option :: None ; OleLoadFromStream ( pstm . into_param ( ) . abi ( ) , & < T as :: windows :: Interface > :: IID , :: windows :: Abi :: set_abi ( & mut result__ ) ) . and_some ( result__ ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OleLoadPicture < 'a , T : :: windows :: Interface > ( lpstream : impl :: windows :: IntoParam < 'a , super::super::Storage::StructuredStorage:: IStream > , lsize : i32 , frunmode : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> :: windows :: Result < T > { # [ cfg ( windows ) ] { # [ link ( name ="OLEAUT32" ) ] extern "system" { fn OleLoadPicture ( lpstream : :: windows :: RawPtr , lsize : i32 , frunmode : super::super::Foundation:: BOOL , riid : * const :: windows :: Guid , lplpvobj : * mut * mut :: std :: ffi :: c_void ) -> :: windows :: HRESULT ; } let mut result__ = :: std :: option :: Option :: None ; OleLoadPicture ( lpstream . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lsize ) , frunmode . into_param ( ) . abi ( ) , & < T as :: windows :: Interface > :: IID , :: windows :: Abi :: set_abi ( & mut result__ ) ) . and_some ( result__ ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OleLoadPictureEx < 'a , > ( lpstream : impl :: windows :: IntoParam < 'a , super::super::Storage::StructuredStorage:: IStream > , lsize : i32 , frunmode : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , riid : * const :: windows :: Guid , xsizedesired : u32 , ysizedesired : u32 , dwflags : u32 , lplpvobj : * mut * mut :: std :: ffi :: c_void , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="OLEAUT32" ) ] extern "system" { fn OleLoadPictureEx ( lpstream : :: windows :: RawPtr , lsize : i32 , frunmode : super::super::Foundation:: BOOL , riid : * const :: windows :: Guid , xsizedesired : u32 , ysizedesired : u32 , dwflags : u32 , lplpvobj : * mut * mut :: std :: ffi :: c_void ) -> :: windows :: HRESULT ; } OleLoadPictureEx ( lpstream . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lsize ) , frunmode . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( riid ) , :: std :: mem :: transmute ( xsizedesired ) , :: std :: mem :: transmute ( ysizedesired ) , :: std :: mem :: transmute ( dwflags ) , :: std :: mem :: transmute ( lplpvobj ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OleLoadPicturePath < 'a , T : :: windows :: Interface > ( szurlorpath : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , punkcaller : impl :: windows :: IntoParam < 'a , :: windows :: IUnknown > , dwreserved : u32 , clrreserved : u32 , ) -> :: windows :: Result < T > { # [ cfg ( windows ) ] { # [ link ( name ="OLEAUT32" ) ] extern "system" { fn OleLoadPicturePath ( szurlorpath : super::super::Foundation:: PWSTR , punkcaller : :: windows :: RawPtr , dwreserved : u32 , clrreserved : u32 , riid : * const :: windows :: Guid , ppvret : * mut * mut :: std :: ffi :: c_void ) -> :: windows :: HRESULT ; } let mut result__ = :: std :: option :: Option :: None ; OleLoadPicturePath ( szurlorpath . into_param ( ) . abi ( ) , punkcaller . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwreserved ) , :: std :: mem :: transmute ( clrreserved ) , & < T as :: windows :: Interface > :: IID , :: windows :: Abi :: set_abi ( & mut result__ ) ) . and_some ( result__ ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OleLockRunning < 'a , > ( punknown : impl :: windows :: IntoParam < 'a , :: windows :: IUnknown > , flock : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , flastunlockcloses : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn OleLockRunning ( punknown : :: windows :: RawPtr , flock : super::super::Foundation:: BOOL , flastunlockcloses : super::super::Foundation:: BOOL ) -> :: windows :: HRESULT ; } OleLockRunning ( punknown . into_param ( ) . abi ( ) , flock . into_param ( ) . abi ( ) , flastunlockcloses . into_param ( ) . abi ( ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct OleMenuGroupWidths { pub width : [ i32 ;6 ] } impl OleMenuGroupWidths { } impl :: std :: default :: Default for OleMenuGroupWidths { fn default ( ) -> Self { Self { width : [ 0 ;6 ] } } } impl :: std :: fmt :: Debug for OleMenuGroupWidths { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "OleMenuGroupWidths" ) . field ( "width" , & self . width ) . finish ( ) } } impl :: std :: cmp :: PartialEq for OleMenuGroupWidths { fn eq ( & self , other : & Self ) -> bool { self . width == other . width } } impl :: std :: cmp :: Eq for OleMenuGroupWidths { } unsafe impl :: windows :: Abi for OleMenuGroupWidths { type Abi = Self ; type DefaultType = Self ; } pub unsafe fn OleMetafilePictFromIconAndLabel < 'a , > ( hicon : impl :: windows :: IntoParam < 'a , super::super::UI::WindowsAndMessaging:: HICON > , lpszlabel : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , lpszsourcefile : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , iiconindex : u32 , ) -> isize { # [ cfg ( windows ) ] { # [ link ( name ="ole32" ) ] extern "system" { fn OleMetafilePictFromIconAndLabel ( hicon : super::super::UI::WindowsAndMessaging:: HICON , lpszlabel : super::super::Foundation:: PWSTR , lpszsourcefile : super::super::Foundation:: PWSTR , iiconindex : u32 ) -> isize ; } OleMetafilePictFromIconAndLabel ( hicon . into_param ( ) . abi ( ) , lpszlabel . into_param ( ) . abi ( ) , lpszsourcefile . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( iiconindex ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OleNoteObjectVisible < 'a , > ( punknown : impl :: windows :: IntoParam < 'a , :: windows :: IUnknown > , fvisible : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="ole32" ) ] extern "system" { fn OleNoteObjectVisible ( punknown : :: windows :: RawPtr , fvisible : super::super::Foundation:: BOOL ) -> :: windows :: HRESULT ; } OleNoteObjectVisible ( punknown . into_param ( ) . abi ( ) , fvisible . into_param ( ) . abi ( ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OleQueryCreateFromData < 'a , > ( psrcdataobject : impl :: windows :: IntoParam < 'a , IDataObject > , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn OleQueryCreateFromData ( psrcdataobject : :: windows :: RawPtr ) -> :: windows :: HRESULT ; } OleQueryCreateFromData ( psrcdataobject . into_param ( ) . abi ( ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OleQueryLinkFromData < 'a , > ( psrcdataobject : impl :: windows :: IntoParam < 'a , IDataObject > , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn OleQueryLinkFromData ( psrcdataobject : :: windows :: RawPtr ) -> :: windows :: HRESULT ; } OleQueryLinkFromData ( psrcdataobject . into_param ( ) . abi ( ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OleRegEnumFormatEtc < > ( clsid : * const :: windows :: Guid , dwdirection : u32 , ) -> :: windows :: Result < IEnumFORMATETC > { # [ cfg ( windows ) ] { # [ link ( name ="ole32" ) ] extern "system" { fn OleRegEnumFormatEtc ( clsid : * const :: windows :: Guid , dwdirection : u32 , ppenum : * mut :: windows :: RawPtr ) -> :: windows :: HRESULT ; } let mut result__ : < IEnumFORMATETC as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; OleRegEnumFormatEtc ( :: std :: mem :: transmute ( clsid ) , :: std :: mem :: transmute ( dwdirection ) , & mut result__ ) . from_abi :: < IEnumFORMATETC > ( result__ ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OleRegEnumVerbs < > ( clsid : * const :: windows :: Guid , ) -> :: windows :: Result < IEnumOLEVERB > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn OleRegEnumVerbs ( clsid : * const :: windows :: Guid , ppenum : * mut :: windows :: RawPtr ) -> :: windows :: HRESULT ; } let mut result__ : < IEnumOLEVERB as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; OleRegEnumVerbs ( :: std :: mem :: transmute ( clsid ) , & mut result__ ) . from_abi :: < IEnumOLEVERB > ( result__ ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OleRegGetMiscStatus < > ( clsid : * const :: windows :: Guid , dwaspect : u32 , pdwstatus : * mut u32 , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn OleRegGetMiscStatus ( clsid : * const :: windows :: Guid , dwaspect : u32 , pdwstatus : * mut u32 ) -> :: windows :: HRESULT ; } OleRegGetMiscStatus ( :: std :: mem :: transmute ( clsid ) , :: std :: mem :: transmute ( dwaspect ) , :: std :: mem :: transmute ( pdwstatus ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OleRegGetUserType < > ( clsid : * const :: windows :: Guid , dwformoftype : u32 , ) -> :: windows :: Result < super::super::Foundation:: PWSTR > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn OleRegGetUserType ( clsid : * const :: windows :: Guid , dwformoftype : u32 , pszusertype : * mut super::super::Foundation:: PWSTR ) -> :: windows :: HRESULT ; } let mut result__ : < super::super::Foundation:: PWSTR as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; OleRegGetUserType ( :: std :: mem :: transmute ( clsid ) , :: std :: mem :: transmute ( dwformoftype ) , & mut result__ ) . from_abi :: < super::super::Foundation:: PWSTR > ( result__ ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OleRun < 'a , > ( punknown : impl :: windows :: IntoParam < 'a , :: windows :: IUnknown > , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn OleRun ( punknown : :: windows :: RawPtr ) -> :: windows :: HRESULT ; } OleRun ( punknown . into_param ( ) . abi ( ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OleSave < 'a , > ( pps : impl :: windows :: IntoParam < 'a , IPersistStorage > , pstg : impl :: windows :: IntoParam < 'a , super::super::Storage::StructuredStorage:: IStorage > , fsameasload : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn OleSave ( pps : :: windows :: RawPtr , pstg : :: windows :: RawPtr , fsameasload : super::super::Foundation:: BOOL ) -> :: windows :: HRESULT ; } OleSave ( pps . into_param ( ) . abi ( ) , pstg . into_param ( ) . abi ( ) , fsameasload . into_param ( ) . abi ( ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OleSaveToStream < 'a , > ( ppstm : impl :: windows :: IntoParam < 'a , IPersistStream > , pstm : impl :: windows :: IntoParam < 'a , super::super::Storage::StructuredStorage:: IStream > , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn OleSaveToStream ( ppstm : :: windows :: RawPtr , pstm : :: windows :: RawPtr ) -> :: windows :: HRESULT ; } OleSaveToStream ( ppstm . into_param ( ) . abi ( ) , pstm . into_param ( ) . abi ( ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OleSetAutoConvert < > ( clsidold : * const :: windows :: Guid , clsidnew : * const :: windows :: Guid , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="ole32" ) ] extern "system" { fn OleSetAutoConvert ( clsidold : * const :: windows :: Guid , clsidnew : * const :: windows :: Guid ) -> :: windows :: HRESULT ; } OleSetAutoConvert ( :: std :: mem :: transmute ( clsidold ) , :: std :: mem :: transmute ( clsidnew ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OleSetClipboard < 'a , > ( pdataobj : impl :: windows :: IntoParam < 'a , IDataObject > , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn OleSetClipboard ( pdataobj : :: windows :: RawPtr ) -> :: windows :: HRESULT ; } OleSetClipboard ( pdataobj . into_param ( ) . abi ( ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OleSetContainedObject < 'a , > ( punknown : impl :: windows :: IntoParam < 'a , :: windows :: IUnknown > , fcontained : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn OleSetContainedObject ( punknown : :: windows :: RawPtr , fcontained : super::super::Foundation:: BOOL ) -> :: windows :: HRESULT ; } OleSetContainedObject ( punknown . into_param ( ) . abi ( ) , fcontained . into_param ( ) . abi ( ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OleSetMenuDescriptor < 'a , > ( holemenu : isize , hwndframe : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HWND > , hwndactiveobject : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HWND > , lpframe : impl :: windows :: IntoParam < 'a , IOleInPlaceFrame > , lpactiveobj : impl :: windows :: IntoParam < 'a , IOleInPlaceActiveObject > , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn OleSetMenuDescriptor ( holemenu : isize , hwndframe : super::super::Foundation:: HWND , hwndactiveobject : super::super::Foundation:: HWND , lpframe : :: windows :: RawPtr , lpactiveobj : :: windows :: RawPtr ) -> :: windows :: HRESULT ; } OleSetMenuDescriptor ( :: std :: mem :: transmute ( holemenu ) , hwndframe . into_param ( ) . abi ( ) , hwndactiveobject . into_param ( ) . abi ( ) , lpframe . into_param ( ) . abi ( ) , lpactiveobj . into_param ( ) . abi ( ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OleTranslateAccelerator < 'a , > ( lpframe : impl :: windows :: IntoParam < 'a , IOleInPlaceFrame > , lpframeinfo : * mut OIFI , lpmsg : * mut super::super::UI::WindowsAndMessaging:: MSG , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn OleTranslateAccelerator ( lpframe : :: windows :: RawPtr , lpframeinfo : * mut OIFI , lpmsg : * mut super::super::UI::WindowsAndMessaging:: MSG ) -> :: windows :: HRESULT ; } OleTranslateAccelerator ( lpframe . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpframeinfo ) , :: std :: mem :: transmute ( lpmsg ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OleTranslateColor < 'a , > ( clr : u32 , hpal : impl :: windows :: IntoParam < 'a , super::super::Graphics::Gdi:: HPALETTE > , lpcolorref : * mut u32 , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="OLEAUT32" ) ] extern "system" { fn OleTranslateColor ( clr : u32 , hpal : super::super::Graphics::Gdi:: HPALETTE , lpcolorref : * mut u32 ) -> :: windows :: HRESULT ; } OleTranslateColor ( :: std :: mem :: transmute ( clr ) , hpal . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( lpcolorref ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OleUIAddVerbMenuA < 'a , > ( lpoleobj : impl :: windows :: IntoParam < 'a , IOleObject > , lpszshorttype : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , hmenu : impl :: windows :: IntoParam < 'a , super::super::UI::WindowsAndMessaging:: HMENU > , upos : u32 , uidverbmin : u32 , uidverbmax : u32 , baddconvert : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , idconvert : u32 , lphmenu : * mut super::super::UI::WindowsAndMessaging:: HMENU , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="oledlg" ) ] extern "system" { fn OleUIAddVerbMenuA ( lpoleobj : :: windows :: RawPtr , lpszshorttype : super::super::Foundation:: PSTR , hmenu : super::super::UI::WindowsAndMessaging:: HMENU , upos : u32 , uidverbmin : u32 , uidverbmax : u32 , baddconvert : super::super::Foundation:: BOOL , idconvert : u32 , lphmenu : * mut super::super::UI::WindowsAndMessaging:: HMENU ) -> super::super::Foundation:: BOOL ; } OleUIAddVerbMenuA ( lpoleobj . into_param ( ) . abi ( ) , lpszshorttype . into_param ( ) . abi ( ) , hmenu . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( upos ) , :: std :: mem :: transmute ( uidverbmin ) , :: std :: mem :: transmute ( uidverbmax ) , baddconvert . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( idconvert ) , :: std :: mem :: transmute ( lphmenu ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OleUIAddVerbMenuW < 'a , > ( lpoleobj : impl :: windows :: IntoParam < 'a , IOleObject > , lpszshorttype : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , hmenu : impl :: windows :: IntoParam < 'a , super::super::UI::WindowsAndMessaging:: HMENU > , upos : u32 , uidverbmin : u32 , uidverbmax : u32 , baddconvert : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , idconvert : u32 , lphmenu : * mut super::super::UI::WindowsAndMessaging:: HMENU , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="oledlg" ) ] extern "system" { fn OleUIAddVerbMenuW ( lpoleobj : :: windows :: RawPtr , lpszshorttype : super::super::Foundation:: PWSTR , hmenu : super::super::UI::WindowsAndMessaging:: HMENU , upos : u32 , uidverbmin : u32 , uidverbmax : u32 , baddconvert : super::super::Foundation:: BOOL , idconvert : u32 , lphmenu : * mut super::super::UI::WindowsAndMessaging:: HMENU ) -> super::super::Foundation:: BOOL ; } OleUIAddVerbMenuW ( lpoleobj . into_param ( ) . abi ( ) , lpszshorttype . into_param ( ) . abi ( ) , hmenu . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( upos ) , :: std :: mem :: transmute ( uidverbmin ) , :: std :: mem :: transmute ( uidverbmax ) , baddconvert . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( idconvert ) , :: std :: mem :: transmute ( lphmenu ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OleUIBusyA < > ( param0 : * mut OLEUIBUSYA , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="oledlg" ) ] extern "system" { fn OleUIBusyA ( param0 : * mut OLEUIBUSYA_abi ) -> u32 ; } OleUIBusyA ( :: std :: mem :: transmute ( param0 ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OleUIBusyW < > ( param0 : * mut OLEUIBUSYW , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="oledlg" ) ] extern "system" { fn OleUIBusyW ( param0 : * mut OLEUIBUSYW_abi ) -> u32 ; } OleUIBusyW ( :: std :: mem :: transmute ( param0 ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OleUICanConvertOrActivateAs < 'a , > ( rclsid : * const :: windows :: Guid , fislinkedobject : impl :: windows :: IntoParam < 'a , super::super::Foundation:: BOOL > , wformat : u16 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="oledlg" ) ] extern "system" { fn OleUICanConvertOrActivateAs ( rclsid : * const :: windows :: Guid , fislinkedobject : super::super::Foundation:: BOOL , wformat : u16 ) -> super::super::Foundation:: BOOL ; } OleUICanConvertOrActivateAs ( :: std :: mem :: transmute ( rclsid ) , fislinkedobject . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( wformat ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OleUIChangeIconA < > ( param0 : * mut OLEUICHANGEICONA , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="oledlg" ) ] extern "system" { fn OleUIChangeIconA ( param0 : * mut OLEUICHANGEICONA_abi ) -> u32 ; } OleUIChangeIconA ( :: std :: mem :: transmute ( param0 ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OleUIChangeIconW < > ( param0 : * mut OLEUICHANGEICONW , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="oledlg" ) ] extern "system" { fn OleUIChangeIconW ( param0 : * mut OLEUICHANGEICONW_abi ) -> u32 ; } OleUIChangeIconW ( :: std :: mem :: transmute ( param0 ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OleUIChangeSourceA < > ( param0 : * mut OLEUICHANGESOURCEA , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="oledlg" ) ] extern "system" { fn OleUIChangeSourceA ( param0 : * mut OLEUICHANGESOURCEA_abi ) -> u32 ; } OleUIChangeSourceA ( :: std :: mem :: transmute ( param0 ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OleUIChangeSourceW < > ( param0 : * mut OLEUICHANGESOURCEW , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="oledlg" ) ] extern "system" { fn OleUIChangeSourceW ( param0 : * mut OLEUICHANGESOURCEW_abi ) -> u32 ; } OleUIChangeSourceW ( :: std :: mem :: transmute ( param0 ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OleUIConvertA < > ( param0 : * mut OLEUICONVERTA , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="oledlg" ) ] extern "system" { fn OleUIConvertA ( param0 : * mut OLEUICONVERTA_abi ) -> u32 ; } OleUIConvertA ( :: std :: mem :: transmute ( param0 ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OleUIConvertW < > ( param0 : * mut OLEUICONVERTW , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="oledlg" ) ] extern "system" { fn OleUIConvertW ( param0 : * mut OLEUICONVERTW_abi ) -> u32 ; } OleUIConvertW ( :: std :: mem :: transmute ( param0 ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OleUIEditLinksA < > ( param0 : * mut OLEUIEDITLINKSA , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="oledlg" ) ] extern "system" { fn OleUIEditLinksA ( param0 : * mut OLEUIEDITLINKSA_abi ) -> u32 ; } OleUIEditLinksA ( :: std :: mem :: transmute ( param0 ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OleUIEditLinksW < > ( param0 : * mut OLEUIEDITLINKSW , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="oledlg" ) ] extern "system" { fn OleUIEditLinksW ( param0 : * mut OLEUIEDITLINKSW_abi ) -> u32 ; } OleUIEditLinksW ( :: std :: mem :: transmute ( param0 ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OleUIInsertObjectA < > ( param0 : * mut OLEUIINSERTOBJECTA , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="oledlg" ) ] extern "system" { fn OleUIInsertObjectA ( param0 : * mut OLEUIINSERTOBJECTA_abi ) -> u32 ; } OleUIInsertObjectA ( :: std :: mem :: transmute ( param0 ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OleUIInsertObjectW < > ( param0 : * mut OLEUIINSERTOBJECTW , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="oledlg" ) ] extern "system" { fn OleUIInsertObjectW ( param0 : * mut OLEUIINSERTOBJECTW_abi ) -> u32 ; } OleUIInsertObjectW ( :: std :: mem :: transmute ( param0 ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OleUIObjectPropertiesA < > ( param0 : * mut OLEUIOBJECTPROPSA , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="oledlg" ) ] extern "system" { fn OleUIObjectPropertiesA ( param0 : * mut OLEUIOBJECTPROPSA_abi ) -> u32 ; } OleUIObjectPropertiesA ( :: std :: mem :: transmute ( param0 ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OleUIObjectPropertiesW < > ( param0 : * mut OLEUIOBJECTPROPSW , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="oledlg" ) ] extern "system" { fn OleUIObjectPropertiesW ( param0 : * mut OLEUIOBJECTPROPSW_abi ) -> u32 ; } OleUIObjectPropertiesW ( :: std :: mem :: transmute ( param0 ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OleUIPasteSpecialA < > ( param0 : * mut OLEUIPASTESPECIALA , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="oledlg" ) ] extern "system" { fn OleUIPasteSpecialA ( param0 : * mut OLEUIPASTESPECIALA_abi ) -> u32 ; } OleUIPasteSpecialA ( :: std :: mem :: transmute ( param0 ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OleUIPasteSpecialW < > ( param0 : * mut OLEUIPASTESPECIALW , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="oledlg" ) ] extern "system" { fn OleUIPasteSpecialW ( param0 : * mut OLEUIPASTESPECIALW_abi ) -> u32 ; } OleUIPasteSpecialW ( :: std :: mem :: transmute ( param0 ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OleUIPromptUserA < 'a , > ( ntemplate : i32 , hwndparent : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HWND > , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="oledlg" ) ] extern "system" { fn OleUIPromptUserA ( ntemplate : i32 , hwndparent : super::super::Foundation:: HWND ) -> i32 ; } OleUIPromptUserA ( :: std :: mem :: transmute ( ntemplate ) , hwndparent . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OleUIPromptUserW < 'a , > ( ntemplate : i32 , hwndparent : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HWND > , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="oledlg" ) ] extern "system" { fn OleUIPromptUserW ( ntemplate : i32 , hwndparent : super::super::Foundation:: HWND ) -> i32 ; } OleUIPromptUserW ( :: std :: mem :: transmute ( ntemplate ) , hwndparent . into_param ( ) . abi ( ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OleUIUpdateLinksA < 'a , > ( lpoleuilinkcntr : impl :: windows :: IntoParam < 'a , IOleUILinkContainerA > , hwndparent : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HWND > , lpsztitle : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , clinks : i32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="oledlg" ) ] extern "system" { fn OleUIUpdateLinksA ( lpoleuilinkcntr : :: windows :: RawPtr , hwndparent : super::super::Foundation:: HWND , lpsztitle : super::super::Foundation:: PSTR , clinks : i32 ) -> super::super::Foundation:: BOOL ; } OleUIUpdateLinksA ( lpoleuilinkcntr . into_param ( ) . abi ( ) , hwndparent . into_param ( ) . abi ( ) , lpsztitle . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( clinks ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OleUIUpdateLinksW < 'a , > ( lpoleuilinkcntr : impl :: windows :: IntoParam < 'a , IOleUILinkContainerW > , hwndparent : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HWND > , lpsztitle : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , clinks : i32 , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="oledlg" ) ] extern "system" { fn OleUIUpdateLinksW ( lpoleuilinkcntr : :: windows :: RawPtr , hwndparent : super::super::Foundation:: HWND , lpsztitle : super::super::Foundation:: PWSTR , clinks : i32 ) -> super::super::Foundation:: BOOL ; } OleUIUpdateLinksW ( lpoleuilinkcntr . into_param ( ) . abi ( ) , hwndparent . into_param ( ) . abi ( ) , lpsztitle . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( clinks ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn OleUninitialize < > ( ) { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn OleUninitialize ( ) ; } OleUninitialize ( ) } # [ 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 PAGEACTION_UI ( pub i32 ) ; pub const PAGEACTION_UI_DEFAULT : PAGEACTION_UI = PAGEACTION_UI ( 0i32 ) ; pub const PAGEACTION_UI_MODAL : PAGEACTION_UI = PAGEACTION_UI ( 1i32 ) ; pub const PAGEACTION_UI_MODELESS : PAGEACTION_UI = PAGEACTION_UI ( 2i32 ) ; pub const PAGEACTION_UI_SILENT : PAGEACTION_UI = PAGEACTION_UI ( 3i32 ) ; impl :: std :: convert :: From < i32 > for PAGEACTION_UI { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for PAGEACTION_UI { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PAGERANGE { pub nFromPage : i32 , pub nToPage : i32 } impl PAGERANGE { } impl :: std :: default :: Default for PAGERANGE { fn default ( ) -> Self { Self { nFromPage : 0 , nToPage : 0 } } } impl :: std :: fmt :: Debug for PAGERANGE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "PAGERANGE" ) . field ( "nFromPage" , & self . nFromPage ) . field ( "nToPage" , & self . nToPage ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PAGERANGE { fn eq ( & self , other : & Self ) -> bool { self . nFromPage == other . nFromPage && self . nToPage == other . nToPage } } impl :: std :: cmp :: Eq for PAGERANGE { } unsafe impl :: windows :: Abi for PAGERANGE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PAGESET { pub cbStruct : u32 , pub fOddPages : super::super::Foundation:: BOOL , pub fEvenPages : super::super::Foundation:: BOOL , pub cPageRange : u32 , pub rgPages : [ PAGERANGE ;1 ] } impl PAGESET { } impl :: std :: default :: Default for PAGESET { fn default ( ) -> Self { Self { cbStruct : 0 , fOddPages : :: std :: default :: Default :: default ( ) , fEvenPages : :: std :: default :: Default :: default ( ) , cPageRange : 0 , rgPages : [ :: std :: default :: Default :: default ( ) ;1 ] } } } impl :: std :: fmt :: Debug for PAGESET { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "PAGESET" ) . field ( "cbStruct" , & self . cbStruct ) . field ( "fOddPages" , & self . fOddPages ) . field ( "fEvenPages" , & self . fEvenPages ) . field ( "cPageRange" , & self . cPageRange ) . field ( "rgPages" , & self . rgPages ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PAGESET { fn eq ( & self , other : & Self ) -> bool { self . cbStruct == other . cbStruct && self . fOddPages == other . fOddPages && self . fEvenPages == other . fEvenPages && self . cPageRange == other . cPageRange && self . rgPages == other . rgPages } } impl :: std :: cmp :: Eq for PAGESET { } unsafe impl :: windows :: Abi for PAGESET { 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 PARSEACTION ( pub i32 ) ; pub const PARSE_CANONICALIZE : PARSEACTION = PARSEACTION ( 1i32 ) ; pub const PARSE_FRIENDLY : PARSEACTION = PARSEACTION ( 2i32 ) ; pub const PARSE_SECURITY_URL : PARSEACTION = PARSEACTION ( 3i32 ) ; pub const PARSE_ROOTDOCUMENT : PARSEACTION = PARSEACTION ( 4i32 ) ; pub const PARSE_DOCUMENT : PARSEACTION = PARSEACTION ( 5i32 ) ; pub const PARSE_ANCHOR : PARSEACTION = PARSEACTION ( 6i32 ) ; pub const PARSE_ENCODE_IS_UNESCAPE : PARSEACTION = PARSEACTION ( 7i32 ) ; pub const PARSE_DECODE_IS_ESCAPE : PARSEACTION = PARSEACTION ( 8i32 ) ; pub const PARSE_PATH_FROM_URL : PARSEACTION = PARSEACTION ( 9i32 ) ; pub const PARSE_URL_FROM_PATH : PARSEACTION = PARSEACTION ( 10i32 ) ; pub const PARSE_MIME : PARSEACTION = PARSEACTION ( 11i32 ) ; pub const PARSE_SERVER : PARSEACTION = PARSEACTION ( 12i32 ) ; pub const PARSE_SCHEMA : PARSEACTION = PARSEACTION ( 13i32 ) ; pub const PARSE_SITE : PARSEACTION = PARSEACTION ( 14i32 ) ; pub const PARSE_DOMAIN : PARSEACTION = PARSEACTION ( 15i32 ) ; pub const PARSE_LOCATION : PARSEACTION = PARSEACTION ( 16i32 ) ; pub const PARSE_SECURITY_DOMAIN : PARSEACTION = PARSEACTION ( 17i32 ) ; pub const PARSE_ESCAPE : PARSEACTION = PARSEACTION ( 18i32 ) ; pub const PARSE_UNESCAPE : PARSEACTION = PARSEACTION ( 19i32 ) ; impl :: std :: convert :: From < i32 > for PARSEACTION { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for PARSEACTION { 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 PENDINGMSG ( pub i32 ) ; pub const PENDINGMSG_CANCELCALL : PENDINGMSG = PENDINGMSG ( 0i32 ) ; pub const PENDINGMSG_WAITNOPROCESS : PENDINGMSG = PENDINGMSG ( 1i32 ) ; pub const PENDINGMSG_WAITDEFPROCESS : PENDINGMSG = PENDINGMSG ( 2i32 ) ; impl :: std :: convert :: From < i32 > for PENDINGMSG { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for PENDINGMSG { 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 PENDINGTYPE ( pub i32 ) ; pub const PENDINGTYPE_TOPLEVEL : PENDINGTYPE = PENDINGTYPE ( 1i32 ) ; pub const PENDINGTYPE_NESTED : PENDINGTYPE = PENDINGTYPE ( 2i32 ) ; impl :: std :: convert :: From < i32 > for PENDINGTYPE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for PENDINGTYPE { type Abi = Self ; type DefaultType = Self ; } pub const PERPROP_E_FIRST : i32 = -2147220992i32 ; pub const PERPROP_E_LAST : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220977i32 as _ ) ; pub const PERPROP_E_NOPAGEAVAILABLE : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220992i32 as _ ) ; pub const PERPROP_S_FIRST : :: windows :: HRESULT = :: windows :: HRESULT ( 262656i32 as _ ) ; pub const PERPROP_S_LAST : :: windows :: HRESULT = :: windows :: HRESULT ( 262671i32 as _ ) ; pub type PFNCONTEXTCALL = unsafe extern "system" fn ( pparam : * mut ComCallData ) -> :: windows :: HRESULT ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PICTDESC { pub cbSizeofstruct : u32 , pub picType : u32 , pub Anonymous : PICTDESC_0 } impl PICTDESC { } impl :: std :: cmp :: PartialEq for PICTDESC { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for PICTDESC { } unsafe impl :: windows :: Abi for PICTDESC { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union PICTDESC_0 { pub bmp : PICTDESC_0_0 , pub wmf : PICTDESC_0_3 , pub icon : PICTDESC_0_2 , pub emf : PICTDESC_0_1 } impl PICTDESC_0 { } impl :: std :: cmp :: PartialEq for PICTDESC_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for PICTDESC_0 { } unsafe impl :: windows :: Abi for PICTDESC_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PICTDESC_0_0 { pub hbitmap : super::super::Graphics::Gdi:: HBITMAP , pub hpal : super::super::Graphics::Gdi:: HPALETTE } impl PICTDESC_0_0 { } impl :: std :: default :: Default for PICTDESC_0_0 { fn default ( ) -> Self { Self { hbitmap : :: std :: default :: Default :: default ( ) , hpal : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for PICTDESC_0_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_bmp_e__Struct" ) . field ( "hbitmap" , & self . hbitmap ) . field ( "hpal" , & self . hpal ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PICTDESC_0_0 { fn eq ( & self , other : & Self ) -> bool { self . hbitmap == other . hbitmap && self . hpal == other . hpal } } impl :: std :: cmp :: Eq for PICTDESC_0_0 { } unsafe impl :: windows :: Abi for PICTDESC_0_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PICTDESC_0_1 { pub hemf : super::super::Graphics::Gdi:: HENHMETAFILE } impl PICTDESC_0_1 { } impl :: std :: default :: Default for PICTDESC_0_1 { fn default ( ) -> Self { Self { hemf : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for PICTDESC_0_1 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_emf_e__Struct" ) . field ( "hemf" , & self . hemf ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PICTDESC_0_1 { fn eq ( & self , other : & Self ) -> bool { self . hemf == other . hemf } } impl :: std :: cmp :: Eq for PICTDESC_0_1 { } unsafe impl :: windows :: Abi for PICTDESC_0_1 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PICTDESC_0_2 { pub hicon : super::super::UI::WindowsAndMessaging:: HICON } impl PICTDESC_0_2 { } impl :: std :: default :: Default for PICTDESC_0_2 { fn default ( ) -> Self { Self { hicon : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for PICTDESC_0_2 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_icon_e__Struct" ) . field ( "hicon" , & self . hicon ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PICTDESC_0_2 { fn eq ( & self , other : & Self ) -> bool { self . hicon == other . hicon } } impl :: std :: cmp :: Eq for PICTDESC_0_2 { } unsafe impl :: windows :: Abi for PICTDESC_0_2 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PICTDESC_0_3 { pub hmeta : super::super::Graphics::Gdi:: HMETAFILE , pub xExt : i32 , pub yExt : i32 } impl PICTDESC_0_3 { } impl :: std :: default :: Default for PICTDESC_0_3 { fn default ( ) -> Self { Self { hmeta : :: std :: default :: Default :: default ( ) , xExt : 0 , yExt : 0 } } } impl :: std :: fmt :: Debug for PICTDESC_0_3 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_wmf_e__Struct" ) . field ( "hmeta" , & self . hmeta ) . field ( "xExt" , & self . xExt ) . field ( "yExt" , & self . yExt ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PICTDESC_0_3 { fn eq ( & self , other : & Self ) -> bool { self . hmeta == other . hmeta && self . xExt == other . xExt && self . yExt == other . yExt } } impl :: std :: cmp :: Eq for PICTDESC_0_3 { } unsafe impl :: windows :: Abi for PICTDESC_0_3 { type Abi = Self ; type DefaultType = Self ; } pub const PICTYPE_BITMAP : u32 = 1u32 ; pub const PICTYPE_ENHMETAFILE : u32 = 4u32 ; pub const PICTYPE_ICON : u32 = 3u32 ; pub const PICTYPE_METAFILE : u32 = 2u32 ; pub const PICTYPE_NONE : u32 = 0u32 ; pub const PICTYPE_UNINITIALIZED : 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 PI_FLAGS ( pub i32 ) ; pub const PI_PARSE_URL : PI_FLAGS = PI_FLAGS ( 1i32 ) ; pub const PI_FILTER_MODE : PI_FLAGS = PI_FLAGS ( 2i32 ) ; pub const PI_FORCE_ASYNC : PI_FLAGS = PI_FLAGS ( 4i32 ) ; pub const PI_USE_WORKERTHREAD : PI_FLAGS = PI_FLAGS ( 8i32 ) ; pub const PI_MIMEVERIFICATION : PI_FLAGS = PI_FLAGS ( 16i32 ) ; pub const PI_CLSIDLOOKUP : PI_FLAGS = PI_FLAGS ( 32i32 ) ; pub const PI_DATAPROGRESS : PI_FLAGS = PI_FLAGS ( 64i32 ) ; pub const PI_SYNCHRONOUS : PI_FLAGS = PI_FLAGS ( 128i32 ) ; pub const PI_APARTMENTTHREADED : PI_FLAGS = PI_FLAGS ( 256i32 ) ; pub const PI_CLASSINSTALL : PI_FLAGS = PI_FLAGS ( 512i32 ) ; pub const PI_PASSONBINDCTX : PI_FLAGS = PI_FLAGS ( 8192i32 ) ; pub const PI_NOMIMEHANDLER : PI_FLAGS = PI_FLAGS ( 32768i32 ) ; pub const PI_LOADAPPDIRECT : PI_FLAGS = PI_FLAGS ( 16384i32 ) ; pub const PD_FORCE_SWITCH : PI_FLAGS = PI_FLAGS ( 65536i32 ) ; pub const PI_PREFERDEFAULTHANDLER : PI_FLAGS = PI_FLAGS ( 131072i32 ) ; impl :: std :: convert :: From < i32 > for PI_FLAGS { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for PI_FLAGS { 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 POINTERINACTIVE ( pub i32 ) ; pub const POINTERINACTIVE_ACTIVATEONENTRY : POINTERINACTIVE = POINTERINACTIVE ( 1i32 ) ; pub const POINTERINACTIVE_DEACTIVATEONLEAVE : POINTERINACTIVE = POINTERINACTIVE ( 2i32 ) ; pub const POINTERINACTIVE_ACTIVATEONDRAG : POINTERINACTIVE = POINTERINACTIVE ( 4i32 ) ; impl :: std :: convert :: From < i32 > for POINTERINACTIVE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for POINTERINACTIVE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct POINTF { pub x : f32 , pub y : f32 } impl POINTF { } impl :: std :: default :: Default for POINTF { fn default ( ) -> Self { Self { x : 0.0 , y : 0.0 } } } impl :: std :: fmt :: Debug for POINTF { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "POINTF" ) . field ( "x" , & self . x ) . field ( "y" , & self . y ) . finish ( ) } } impl :: std :: cmp :: PartialEq for POINTF { fn eq ( & self , other : & Self ) -> bool { self . x == other . x && self . y == other . y } } impl :: std :: cmp :: Eq for POINTF { } unsafe impl :: windows :: Abi for POINTF { 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 PRINTFLAG ( pub u32 ) ; pub const PRINTFLAG_MAYBOTHERUSER : PRINTFLAG = PRINTFLAG ( 1u32 ) ; pub const PRINTFLAG_PROMPTUSER : PRINTFLAG = PRINTFLAG ( 2u32 ) ; pub const PRINTFLAG_USERMAYCHANGEPRINTER : PRINTFLAG = PRINTFLAG ( 4u32 ) ; pub const PRINTFLAG_RECOMPOSETODEVICE : PRINTFLAG = PRINTFLAG ( 8u32 ) ; pub const PRINTFLAG_DONTACTUALLYPRINT : PRINTFLAG = PRINTFLAG ( 16u32 ) ; pub const PRINTFLAG_FORCEPROPERTIES : PRINTFLAG = PRINTFLAG ( 32u32 ) ; pub const PRINTFLAG_PRINTTOFILE : PRINTFLAG = PRINTFLAG ( 64u32 ) ; impl :: std :: convert :: From < u32 > for PRINTFLAG { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for PRINTFLAG { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for PRINTFLAG { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for PRINTFLAG { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for PRINTFLAG { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for PRINTFLAG { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PROPBAG2 { pub dwType : u32 , pub vt : u16 , pub cfType : u16 , pub dwHint : u32 , pub pstrName : super::super::Foundation:: PWSTR , pub clsid : :: windows :: Guid } impl PROPBAG2 { } impl :: std :: default :: Default for PROPBAG2 { fn default ( ) -> Self { Self { dwType : 0 , vt : 0 , cfType : 0 , dwHint : 0 , pstrName : :: std :: default :: Default :: default ( ) , clsid : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for PROPBAG2 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "PROPBAG2" ) . field ( "dwType" , & self . dwType ) . field ( "vt" , & self . vt ) . field ( "cfType" , & self . cfType ) . field ( "dwHint" , & self . dwHint ) . field ( "pstrName" , & self . pstrName ) . field ( "clsid" , & self . clsid ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PROPBAG2 { fn eq ( & self , other : & Self ) -> bool { self . dwType == other . dwType && self . vt == other . vt && self . cfType == other . cfType && self . dwHint == other . dwHint && self . pstrName == other . pstrName && self . clsid == other . clsid } } impl :: std :: cmp :: Eq for PROPBAG2 { } unsafe impl :: windows :: Abi for PROPBAG2 { 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 PROPBAG2_TYPE ( pub i32 ) ; pub const PROPBAG2_TYPE_UNDEFINED : PROPBAG2_TYPE = PROPBAG2_TYPE ( 0i32 ) ; pub const PROPBAG2_TYPE_DATA : PROPBAG2_TYPE = PROPBAG2_TYPE ( 1i32 ) ; pub const PROPBAG2_TYPE_URL : PROPBAG2_TYPE = PROPBAG2_TYPE ( 2i32 ) ; pub const PROPBAG2_TYPE_OBJECT : PROPBAG2_TYPE = PROPBAG2_TYPE ( 3i32 ) ; pub const PROPBAG2_TYPE_STREAM : PROPBAG2_TYPE = PROPBAG2_TYPE ( 4i32 ) ; pub const PROPBAG2_TYPE_STORAGE : PROPBAG2_TYPE = PROPBAG2_TYPE ( 5i32 ) ; pub const PROPBAG2_TYPE_MONIKER : PROPBAG2_TYPE = PROPBAG2_TYPE ( 6i32 ) ; impl :: std :: convert :: From < i32 > for PROPBAG2_TYPE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for PROPBAG2_TYPE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PROPPAGEINFO { pub cb : u32 , pub pszTitle : super::super::Foundation:: PWSTR , pub size : super::super::Foundation:: SIZE , pub pszDocString : super::super::Foundation:: PWSTR , pub pszHelpFile : super::super::Foundation:: PWSTR , pub dwHelpContext : u32 } impl PROPPAGEINFO { } impl :: std :: default :: Default for PROPPAGEINFO { fn default ( ) -> Self { Self { cb : 0 , pszTitle : :: std :: default :: Default :: default ( ) , size : :: std :: default :: Default :: default ( ) , pszDocString : :: std :: default :: Default :: default ( ) , pszHelpFile : :: std :: default :: Default :: default ( ) , dwHelpContext : 0 } } } impl :: std :: fmt :: Debug for PROPPAGEINFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "PROPPAGEINFO" ) . field ( "cb" , & self . cb ) . field ( "pszTitle" , & self . pszTitle ) . field ( "size" , & self . size ) . field ( "pszDocString" , & self . pszDocString ) . field ( "pszHelpFile" , & self . pszHelpFile ) . field ( "dwHelpContext" , & self . dwHelpContext ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PROPPAGEINFO { fn eq ( & self , other : & Self ) -> bool { self . cb == other . cb && self . pszTitle == other . pszTitle && self . size == other . size && self . pszDocString == other . pszDocString && self . pszHelpFile == other . pszHelpFile && self . dwHelpContext == other . dwHelpContext } } impl :: std :: cmp :: Eq for PROPPAGEINFO { } unsafe impl :: windows :: Abi for PROPPAGEINFO { 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 PROPPAGESTATUS ( pub i32 ) ; pub const PROPPAGESTATUS_DIRTY : PROPPAGESTATUS = PROPPAGESTATUS ( 1i32 ) ; pub const PROPPAGESTATUS_VALIDATE : PROPPAGESTATUS = PROPPAGESTATUS ( 2i32 ) ; pub const PROPPAGESTATUS_CLEAN : PROPPAGESTATUS = PROPPAGESTATUS ( 4i32 ) ; impl :: std :: convert :: From < i32 > for PROPPAGESTATUS { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for PROPPAGESTATUS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PROTOCOLDATA { pub grfFlags : u32 , pub dwState : u32 , pub pData : * mut :: std :: ffi :: c_void , pub cbData : u32 } impl PROTOCOLDATA { } impl :: std :: default :: Default for PROTOCOLDATA { fn default ( ) -> Self { Self { grfFlags : 0 , dwState : 0 , pData : :: std :: ptr :: null_mut ( ) , cbData : 0 } } } impl :: std :: fmt :: Debug for PROTOCOLDATA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "PROTOCOLDATA" ) . field ( "grfFlags" , & self . grfFlags ) . field ( "dwState" , & self . dwState ) . field ( "pData" , & self . pData ) . field ( "cbData" , & self . cbData ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PROTOCOLDATA { fn eq ( & self , other : & Self ) -> bool { self . grfFlags == other . grfFlags && self . dwState == other . dwState && self . pData == other . pData && self . cbData == other . cbData } } impl :: std :: cmp :: Eq for PROTOCOLDATA { } unsafe impl :: windows :: Abi for PROTOCOLDATA { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone ) ] # [ repr ( C ) ] pub struct PROTOCOLFILTERDATA { pub cbSize : u32 , pub pProtocolSink : :: std :: option :: Option < IInternetProtocolSink > , pub pProtocol : :: std :: option :: Option < IInternetProtocol > , pub pUnk : :: std :: option :: Option < :: windows :: IUnknown > , pub dwFilterFlags : u32 } impl PROTOCOLFILTERDATA { } impl :: std :: default :: Default for PROTOCOLFILTERDATA { fn default ( ) -> Self { Self { cbSize : 0 , pProtocolSink : :: std :: default :: Default :: default ( ) , pProtocol : :: std :: default :: Default :: default ( ) , pUnk : :: std :: default :: Default :: default ( ) , dwFilterFlags : 0 } } } impl :: std :: fmt :: Debug for PROTOCOLFILTERDATA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "PROTOCOLFILTERDATA" ) . field ( "cbSize" , & self . cbSize ) . field ( "pProtocolSink" , & self . pProtocolSink ) . field ( "pProtocol" , & self . pProtocol ) . field ( "pUnk" , & self . pUnk ) . field ( "dwFilterFlags" , & self . dwFilterFlags ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PROTOCOLFILTERDATA { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . pProtocolSink == other . pProtocolSink && self . pProtocol == other . pProtocol && self . pUnk == other . pUnk && self . dwFilterFlags == other . dwFilterFlags } } impl :: std :: cmp :: Eq for PROTOCOLFILTERDATA { } # [ repr ( C ) ] # [ doc ( hidden ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct PROTOCOLFILTERDATA_abi { pub cbSize : u32 , pub pProtocolSink : :: windows :: RawPtr , pub pProtocol : :: windows :: RawPtr , pub pUnk : :: windows :: RawPtr , pub dwFilterFlags : u32 } unsafe impl :: windows :: Abi for PROTOCOLFILTERDATA { type Abi = PROTOCOLFILTERDATA_abi ; type DefaultType = Self ; } pub const PROTOCOLFLAG_NO_PICS_CHECK : u32 = 1u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct PROTOCOL_ARGUMENT { pub szMethod : super::super::Foundation:: PWSTR , pub szTargetUrl : super::super::Foundation:: PWSTR } impl PROTOCOL_ARGUMENT { } impl :: std :: default :: Default for PROTOCOL_ARGUMENT { fn default ( ) -> Self { Self { szMethod : :: std :: default :: Default :: default ( ) , szTargetUrl : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for PROTOCOL_ARGUMENT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "PROTOCOL_ARGUMENT" ) . field ( "szMethod" , & self . szMethod ) . field ( "szTargetUrl" , & self . szTargetUrl ) . finish ( ) } } impl :: std :: cmp :: PartialEq for PROTOCOL_ARGUMENT { fn eq ( & self , other : & Self ) -> bool { self . szMethod == other . szMethod && self . szTargetUrl == other . szTargetUrl } } impl :: std :: cmp :: Eq for PROTOCOL_ARGUMENT { } unsafe impl :: windows :: Abi for PROTOCOL_ARGUMENT { type Abi = Self ; type DefaultType = Self ; } pub const PSF_CHECKDISPLAYASICON : i32 = 8i32 ; pub const PSF_DISABLEDISPLAYASICON : i32 = 16i32 ; pub const PSF_HIDECHANGEICON : i32 = 32i32 ; pub const PSF_NOREFRESHDATAOBJECT : i32 = 128i32 ; pub const PSF_SELECTPASTE : i32 = 2i32 ; pub const PSF_SELECTPASTELINK : i32 = 4i32 ; pub const PSF_SHOWHELP : i32 = 1i32 ; pub const PSF_STAYONCLIPBOARDCHANGE : i32 = 64i32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct PSUACTION ( pub i32 ) ; pub const PSU_DEFAULT : PSUACTION = PSUACTION ( 1i32 ) ; pub const PSU_SECURITY_URL_ONLY : PSUACTION = PSUACTION ( 2i32 ) ; impl :: std :: convert :: From < i32 > for PSUACTION { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for PSUACTION { type Abi = Self ; type DefaultType = Self ; } pub const PS_MAXLINKTYPES : 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 PUAF ( pub i32 ) ; pub const PUAF_DEFAULT : PUAF = PUAF ( 0i32 ) ; pub const PUAF_NOUI : PUAF = PUAF ( 1i32 ) ; pub const PUAF_ISFILE : PUAF = PUAF ( 2i32 ) ; pub const PUAF_WARN_IF_DENIED : PUAF = PUAF ( 4i32 ) ; pub const PUAF_FORCEUI_FOREGROUND : PUAF = PUAF ( 8i32 ) ; pub const PUAF_CHECK_TIFS : PUAF = PUAF ( 16i32 ) ; pub const PUAF_DONTCHECKBOXINDIALOG : PUAF = PUAF ( 32i32 ) ; pub const PUAF_TRUSTED : PUAF = PUAF ( 64i32 ) ; pub const PUAF_ACCEPT_WILDCARD_SCHEME : PUAF = PUAF ( 128i32 ) ; pub const PUAF_ENFORCERESTRICTED : PUAF = PUAF ( 256i32 ) ; pub const PUAF_NOSAVEDFILECHECK : PUAF = PUAF ( 512i32 ) ; pub const PUAF_REQUIRESAVEDFILECHECK : PUAF = PUAF ( 1024i32 ) ; pub const PUAF_DONT_USE_CACHE : PUAF = PUAF ( 4096i32 ) ; pub const PUAF_RESERVED1 : PUAF = PUAF ( 8192i32 ) ; pub const PUAF_RESERVED2 : PUAF = PUAF ( 16384i32 ) ; pub const PUAF_LMZ_UNLOCKED : PUAF = PUAF ( 65536i32 ) ; pub const PUAF_LMZ_LOCKED : PUAF = PUAF ( 131072i32 ) ; pub const PUAF_DEFAULTZONEPOL : PUAF = PUAF ( 262144i32 ) ; pub const PUAF_NPL_USE_LOCKED_IF_RESTRICTED : PUAF = PUAF ( 524288i32 ) ; pub const PUAF_NOUIIFLOCKED : PUAF = PUAF ( 1048576i32 ) ; pub const PUAF_DRAGPROTOCOLCHECK : PUAF = PUAF ( 2097152i32 ) ; impl :: std :: convert :: From < i32 > for PUAF { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for PUAF { 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 PUAFOUT ( pub i32 ) ; pub const PUAFOUT_DEFAULT : PUAFOUT = PUAFOUT ( 0i32 ) ; pub const PUAFOUT_ISLOCKZONEPOLICY : PUAFOUT = PUAFOUT ( 1i32 ) ; impl :: std :: convert :: From < i32 > for PUAFOUT { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for PUAFOUT { 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 PictureAttributes ( pub i32 ) ; pub const PICTURE_SCALABLE : PictureAttributes = PictureAttributes ( 1i32 ) ; pub const PICTURE_TRANSPARENT : PictureAttributes = PictureAttributes ( 2i32 ) ; impl :: std :: convert :: From < i32 > for PictureAttributes { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for PictureAttributes { type Abi = Self ; type DefaultType = Self ; } pub unsafe fn ProgIDFromCLSID < > ( clsid : * const :: windows :: Guid , ) -> :: windows :: Result < super::super::Foundation:: PWSTR > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn ProgIDFromCLSID ( clsid : * const :: windows :: Guid , lplpszprogid : * mut super::super::Foundation:: PWSTR ) -> :: windows :: HRESULT ; } let mut result__ : < super::super::Foundation:: PWSTR as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ProgIDFromCLSID ( :: std :: mem :: transmute ( clsid ) , & mut result__ ) . from_abi :: < super::super::Foundation:: PWSTR > ( result__ ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: clone :: Clone ) ] # [ repr ( C ) ] pub struct QACONTAINER { pub cbSize : u32 , pub pClientSite : :: std :: option :: Option < IOleClientSite > , pub pAdviseSink : :: std :: option :: Option < IAdviseSinkEx > , pub pPropertyNotifySink : :: std :: option :: Option < IPropertyNotifySink > , pub pUnkEventSink : :: std :: option :: Option < :: windows :: IUnknown > , pub dwAmbientFlags : u32 , pub colorFore : u32 , pub colorBack : u32 , pub pFont : :: std :: option :: Option < IFont > , pub pUndoMgr : :: std :: option :: Option < IOleUndoManager > , pub dwAppearance : u32 , pub lcid : i32 , pub hpal : super::super::Graphics::Gdi:: HPALETTE , pub pBindHost : :: std :: option :: Option < IBindHost > , pub pOleControlSite : :: std :: option :: Option < IOleControlSite > , pub pServiceProvider : :: std :: option :: Option < super::SystemServices:: IServiceProvider > } impl QACONTAINER { } impl :: std :: default :: Default for QACONTAINER { fn default ( ) -> Self { Self { cbSize : 0 , pClientSite : :: std :: default :: Default :: default ( ) , pAdviseSink : :: std :: default :: Default :: default ( ) , pPropertyNotifySink : :: std :: default :: Default :: default ( ) , pUnkEventSink : :: std :: default :: Default :: default ( ) , dwAmbientFlags : 0 , colorFore : 0 , colorBack : 0 , pFont : :: std :: default :: Default :: default ( ) , pUndoMgr : :: std :: default :: Default :: default ( ) , dwAppearance : 0 , lcid : 0 , hpal : :: std :: default :: Default :: default ( ) , pBindHost : :: std :: default :: Default :: default ( ) , pOleControlSite : :: std :: default :: Default :: default ( ) , pServiceProvider : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for QACONTAINER { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "QACONTAINER" ) . field ( "cbSize" , & self . cbSize ) . field ( "pClientSite" , & self . pClientSite ) . field ( "pAdviseSink" , & self . pAdviseSink ) . field ( "pPropertyNotifySink" , & self . pPropertyNotifySink ) . field ( "pUnkEventSink" , & self . pUnkEventSink ) . field ( "dwAmbientFlags" , & self . dwAmbientFlags ) . field ( "colorFore" , & self . colorFore ) . field ( "colorBack" , & self . colorBack ) . field ( "pFont" , & self . pFont ) . field ( "pUndoMgr" , & self . pUndoMgr ) . field ( "dwAppearance" , & self . dwAppearance ) . field ( "lcid" , & self . lcid ) . field ( "hpal" , & self . hpal ) . field ( "pBindHost" , & self . pBindHost ) . field ( "pOleControlSite" , & self . pOleControlSite ) . field ( "pServiceProvider" , & self . pServiceProvider ) . finish ( ) } } impl :: std :: cmp :: PartialEq for QACONTAINER { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . pClientSite == other . pClientSite && self . pAdviseSink == other . pAdviseSink && self . pPropertyNotifySink == other . pPropertyNotifySink && self . pUnkEventSink == other . pUnkEventSink && self . dwAmbientFlags == other . dwAmbientFlags && self . colorFore == other . colorFore && self . colorBack == other . colorBack && self . pFont == other . pFont && self . pUndoMgr == other . pUndoMgr && self . dwAppearance == other . dwAppearance && self . lcid == other . lcid && self . hpal == other . hpal && self . pBindHost == other . pBindHost && self . pOleControlSite == other . pOleControlSite && self . pServiceProvider == other . pServiceProvider } } impl :: std :: cmp :: Eq for QACONTAINER { } # [ repr ( C ) ] # [ doc ( hidden ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct QACONTAINER_abi { pub cbSize : u32 , pub pClientSite : :: windows :: RawPtr , pub pAdviseSink : :: windows :: RawPtr , pub pPropertyNotifySink : :: windows :: RawPtr , pub pUnkEventSink : :: windows :: RawPtr , pub dwAmbientFlags : u32 , pub colorFore : u32 , pub colorBack : u32 , pub pFont : :: windows :: RawPtr , pub pUndoMgr : :: windows :: RawPtr , pub dwAppearance : u32 , pub lcid : i32 , pub hpal : super::super::Graphics::Gdi:: HPALETTE , pub pBindHost : :: windows :: RawPtr , pub pOleControlSite : :: windows :: RawPtr , pub pServiceProvider : :: windows :: RawPtr } unsafe impl :: windows :: Abi for QACONTAINER { type Abi = QACONTAINER_abi ; 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 QACONTAINERFLAGS ( pub i32 ) ; pub const QACONTAINER_SHOWHATCHING : QACONTAINERFLAGS = QACONTAINERFLAGS ( 1i32 ) ; pub const QACONTAINER_SHOWGRABHANDLES : QACONTAINERFLAGS = QACONTAINERFLAGS ( 2i32 ) ; pub const QACONTAINER_USERMODE : QACONTAINERFLAGS = QACONTAINERFLAGS ( 4i32 ) ; pub const QACONTAINER_DISPLAYASDEFAULT : QACONTAINERFLAGS = QACONTAINERFLAGS ( 8i32 ) ; pub const QACONTAINER_UIDEAD : QACONTAINERFLAGS = QACONTAINERFLAGS ( 16i32 ) ; pub const QACONTAINER_AUTOCLIP : QACONTAINERFLAGS = QACONTAINERFLAGS ( 32i32 ) ; pub const QACONTAINER_MESSAGEREFLECT : QACONTAINERFLAGS = QACONTAINERFLAGS ( 64i32 ) ; pub const QACONTAINER_SUPPORTSMNEMONICS : QACONTAINERFLAGS = QACONTAINERFLAGS ( 128i32 ) ; impl :: std :: convert :: From < i32 > for QACONTAINERFLAGS { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for QACONTAINERFLAGS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct QACONTROL { pub cbSize : u32 , pub dwMiscStatus : u32 , pub dwViewStatus : u32 , pub dwEventCookie : u32 , pub dwPropNotifyCookie : u32 , pub dwPointerActivationPolicy : u32 } impl QACONTROL { } impl :: std :: default :: Default for QACONTROL { fn default ( ) -> Self { Self { cbSize : 0 , dwMiscStatus : 0 , dwViewStatus : 0 , dwEventCookie : 0 , dwPropNotifyCookie : 0 , dwPointerActivationPolicy : 0 } } } impl :: std :: fmt :: Debug for QACONTROL { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "QACONTROL" ) . field ( "cbSize" , & self . cbSize ) . field ( "dwMiscStatus" , & self . dwMiscStatus ) . field ( "dwViewStatus" , & self . dwViewStatus ) . field ( "dwEventCookie" , & self . dwEventCookie ) . field ( "dwPropNotifyCookie" , & self . dwPropNotifyCookie ) . field ( "dwPointerActivationPolicy" , & self . dwPointerActivationPolicy ) . finish ( ) } } impl :: std :: cmp :: PartialEq for QACONTROL { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . dwMiscStatus == other . dwMiscStatus && self . dwViewStatus == other . dwViewStatus && self . dwEventCookie == other . dwEventCookie && self . dwPropNotifyCookie == other . dwPropNotifyCookie && self . dwPointerActivationPolicy == other . dwPointerActivationPolicy } } impl :: std :: cmp :: Eq for QACONTROL { } unsafe impl :: windows :: Abi for QACONTROL { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct QUERYCONTEXT { pub dwContext : u32 , pub Platform : CSPLATFORM , pub Locale : u32 , pub dwVersionHi : u32 , pub dwVersionLo : u32 } impl QUERYCONTEXT { } impl :: std :: default :: Default for QUERYCONTEXT { fn default ( ) -> Self { Self { dwContext : 0 , Platform : :: std :: default :: Default :: default ( ) , Locale : 0 , dwVersionHi : 0 , dwVersionLo : 0 } } } impl :: std :: fmt :: Debug for QUERYCONTEXT { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "QUERYCONTEXT" ) . field ( "dwContext" , & self . dwContext ) . field ( "Platform" , & self . Platform ) . field ( "Locale" , & self . Locale ) . field ( "dwVersionHi" , & self . dwVersionHi ) . field ( "dwVersionLo" , & self . dwVersionLo ) . finish ( ) } } impl :: std :: cmp :: PartialEq for QUERYCONTEXT { fn eq ( & self , other : & Self ) -> bool { self . dwContext == other . dwContext && self . Platform == other . Platform && self . Locale == other . Locale && self . dwVersionHi == other . dwVersionHi && self . dwVersionLo == other . dwVersionLo } } impl :: std :: cmp :: Eq for QUERYCONTEXT { } unsafe impl :: windows :: Abi for QUERYCONTEXT { 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 QUERYOPTION ( pub i32 ) ; pub const QUERY_EXPIRATION_DATE : QUERYOPTION = QUERYOPTION ( 1i32 ) ; pub const QUERY_TIME_OF_LAST_CHANGE : QUERYOPTION = QUERYOPTION ( 2i32 ) ; pub const QUERY_CONTENT_ENCODING : QUERYOPTION = QUERYOPTION ( 3i32 ) ; pub const QUERY_CONTENT_TYPE : QUERYOPTION = QUERYOPTION ( 4i32 ) ; pub const QUERY_REFRESH : QUERYOPTION = QUERYOPTION ( 5i32 ) ; pub const QUERY_RECOMBINE : QUERYOPTION = QUERYOPTION ( 6i32 ) ; pub const QUERY_CAN_NAVIGATE : QUERYOPTION = QUERYOPTION ( 7i32 ) ; pub const QUERY_USES_NETWORK : QUERYOPTION = QUERYOPTION ( 8i32 ) ; pub const QUERY_IS_CACHED : QUERYOPTION = QUERYOPTION ( 9i32 ) ; pub const QUERY_IS_INSTALLEDENTRY : QUERYOPTION = QUERYOPTION ( 10i32 ) ; pub const QUERY_IS_CACHED_OR_MAPPED : QUERYOPTION = QUERYOPTION ( 11i32 ) ; pub const QUERY_USES_CACHE : QUERYOPTION = QUERYOPTION ( 12i32 ) ; pub const QUERY_IS_SECURE : QUERYOPTION = QUERYOPTION ( 13i32 ) ; pub const QUERY_IS_SAFE : QUERYOPTION = QUERYOPTION ( 14i32 ) ; pub const QUERY_USES_HISTORYFOLDER : QUERYOPTION = QUERYOPTION ( 15i32 ) ; pub const QUERY_IS_CACHED_AND_USABLE_OFFLINE : QUERYOPTION = QUERYOPTION ( 16i32 ) ; impl :: std :: convert :: From < i32 > for QUERYOPTION { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for QUERYOPTION { 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 READYSTATE ( pub i32 ) ; pub const READYSTATE_UNINITIALIZED : READYSTATE = READYSTATE ( 0i32 ) ; pub const READYSTATE_LOADING : READYSTATE = READYSTATE ( 1i32 ) ; pub const READYSTATE_LOADED : READYSTATE = READYSTATE ( 2i32 ) ; pub const READYSTATE_INTERACTIVE : READYSTATE = READYSTATE ( 3i32 ) ; pub const READYSTATE_COMPLETE : READYSTATE = READYSTATE ( 4i32 ) ; impl :: std :: convert :: From < i32 > for READYSTATE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for READYSTATE { 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 REGCLS ( pub i32 ) ; pub const REGCLS_SINGLEUSE : REGCLS = REGCLS ( 0i32 ) ; pub const REGCLS_MULTIPLEUSE : REGCLS = REGCLS ( 1i32 ) ; pub const REGCLS_MULTI_SEPARATE : REGCLS = REGCLS ( 2i32 ) ; pub const REGCLS_SUSPENDED : REGCLS = REGCLS ( 4i32 ) ; pub const REGCLS_SURROGATE : REGCLS = REGCLS ( 8i32 ) ; pub const REGCLS_AGILE : REGCLS = REGCLS ( 16i32 ) ; impl :: std :: convert :: From < i32 > for REGCLS { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for REGCLS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct REMSECURITY_ATTRIBUTES { pub nLength : u32 , pub lpSecurityDescriptor : u32 , pub bInheritHandle : super::super::Foundation:: BOOL } impl REMSECURITY_ATTRIBUTES { } impl :: std :: default :: Default for REMSECURITY_ATTRIBUTES { fn default ( ) -> Self { Self { nLength : 0 , lpSecurityDescriptor : 0 , bInheritHandle : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for REMSECURITY_ATTRIBUTES { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "REMSECURITY_ATTRIBUTES" ) . field ( "nLength" , & self . nLength ) . field ( "lpSecurityDescriptor" , & self . lpSecurityDescriptor ) . field ( "bInheritHandle" , & self . bInheritHandle ) . finish ( ) } } impl :: std :: cmp :: PartialEq for REMSECURITY_ATTRIBUTES { fn eq ( & self , other : & Self ) -> bool { self . nLength == other . nLength && self . lpSecurityDescriptor == other . lpSecurityDescriptor && self . bInheritHandle == other . bInheritHandle } } impl :: std :: cmp :: Eq for REMSECURITY_ATTRIBUTES { } unsafe impl :: windows :: Abi for REMSECURITY_ATTRIBUTES { type Abi = Self ; type DefaultType = Self ; } pub const ROTREGFLAGS_ALLOWANYCLIENT : u32 = 1u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct RPCOLEMESSAGE { pub reserved1 : * mut :: std :: ffi :: c_void , pub dataRepresentation : u32 , pub Buffer : * mut :: std :: ffi :: c_void , pub cbBuffer : u32 , pub iMethod : u32 , pub reserved2 : [ * mut :: std :: ffi :: c_void ;5 ] , pub rpcFlags : u32 } impl RPCOLEMESSAGE { } impl :: std :: default :: Default for RPCOLEMESSAGE { fn default ( ) -> Self { Self { reserved1 : :: std :: ptr :: null_mut ( ) , dataRepresentation : 0 , Buffer : :: std :: ptr :: null_mut ( ) , cbBuffer : 0 , iMethod : 0 , reserved2 : [ :: std :: ptr :: null_mut ( ) ;5 ] , rpcFlags : 0 } } } impl :: std :: fmt :: Debug for RPCOLEMESSAGE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "RPCOLEMESSAGE" ) . field ( "reserved1" , & self . reserved1 ) . field ( "dataRepresentation" , & self . dataRepresentation ) . field ( "Buffer" , & self . Buffer ) . field ( "cbBuffer" , & self . cbBuffer ) . field ( "iMethod" , & self . iMethod ) . field ( "reserved2" , & self . reserved2 ) . field ( "rpcFlags" , & self . rpcFlags ) . finish ( ) } } impl :: std :: cmp :: PartialEq for RPCOLEMESSAGE { fn eq ( & self , other : & Self ) -> bool { self . reserved1 == other . reserved1 && self . dataRepresentation == other . dataRepresentation && self . Buffer == other . Buffer && self . cbBuffer == other . cbBuffer && self . iMethod == other . iMethod && self . reserved2 == other . reserved2 && self . rpcFlags == other . rpcFlags } } impl :: std :: cmp :: Eq for RPCOLEMESSAGE { } unsafe impl :: windows :: Abi for RPCOLEMESSAGE { 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 RPCOPT_PROPERTIES ( pub i32 ) ; pub const COMBND_RPCTIMEOUT : RPCOPT_PROPERTIES = RPCOPT_PROPERTIES ( 1i32 ) ; pub const COMBND_SERVER_LOCALITY : RPCOPT_PROPERTIES = RPCOPT_PROPERTIES ( 2i32 ) ; pub const COMBND_RESERVED1 : RPCOPT_PROPERTIES = RPCOPT_PROPERTIES ( 4i32 ) ; pub const COMBND_RESERVED2 : RPCOPT_PROPERTIES = RPCOPT_PROPERTIES ( 5i32 ) ; pub const COMBND_RESERVED3 : RPCOPT_PROPERTIES = RPCOPT_PROPERTIES ( 8i32 ) ; pub const COMBND_RESERVED4 : RPCOPT_PROPERTIES = RPCOPT_PROPERTIES ( 16i32 ) ; impl :: std :: convert :: From < i32 > for RPCOPT_PROPERTIES { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for RPCOPT_PROPERTIES { 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 RPCOPT_SERVER_LOCALITY_VALUES ( pub i32 ) ; pub const SERVER_LOCALITY_PROCESS_LOCAL : RPCOPT_SERVER_LOCALITY_VALUES = RPCOPT_SERVER_LOCALITY_VALUES ( 0i32 ) ; pub const SERVER_LOCALITY_MACHINE_LOCAL : RPCOPT_SERVER_LOCALITY_VALUES = RPCOPT_SERVER_LOCALITY_VALUES ( 1i32 ) ; pub const SERVER_LOCALITY_REMOTE : RPCOPT_SERVER_LOCALITY_VALUES = RPCOPT_SERVER_LOCALITY_VALUES ( 2i32 ) ; impl :: std :: convert :: From < i32 > for RPCOPT_SERVER_LOCALITY_VALUES { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for RPCOPT_SERVER_LOCALITY_VALUES { 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_C_AUTHN_LEVEL ( pub u32 ) ; pub const RPC_C_AUTHN_LEVEL_DEFAULT : RPC_C_AUTHN_LEVEL = RPC_C_AUTHN_LEVEL ( 0u32 ) ; pub const RPC_C_AUTHN_LEVEL_NONE : RPC_C_AUTHN_LEVEL = RPC_C_AUTHN_LEVEL ( 1u32 ) ; pub const RPC_C_AUTHN_LEVEL_CONNECT : RPC_C_AUTHN_LEVEL = RPC_C_AUTHN_LEVEL ( 2u32 ) ; pub const RPC_C_AUTHN_LEVEL_CALL : RPC_C_AUTHN_LEVEL = RPC_C_AUTHN_LEVEL ( 3u32 ) ; pub const RPC_C_AUTHN_LEVEL_PKT : RPC_C_AUTHN_LEVEL = RPC_C_AUTHN_LEVEL ( 4u32 ) ; pub const RPC_C_AUTHN_LEVEL_PKT_INTEGRITY : RPC_C_AUTHN_LEVEL = RPC_C_AUTHN_LEVEL ( 5u32 ) ; pub const RPC_C_AUTHN_LEVEL_PKT_PRIVACY : RPC_C_AUTHN_LEVEL = RPC_C_AUTHN_LEVEL ( 6u32 ) ; impl :: std :: convert :: From < u32 > for RPC_C_AUTHN_LEVEL { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for RPC_C_AUTHN_LEVEL { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for RPC_C_AUTHN_LEVEL { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for RPC_C_AUTHN_LEVEL { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for RPC_C_AUTHN_LEVEL { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for RPC_C_AUTHN_LEVEL { 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 RPC_C_IMP_LEVEL ( pub u32 ) ; pub const RPC_C_IMP_LEVEL_DEFAULT : RPC_C_IMP_LEVEL = RPC_C_IMP_LEVEL ( 0u32 ) ; pub const RPC_C_IMP_LEVEL_ANONYMOUS : RPC_C_IMP_LEVEL = RPC_C_IMP_LEVEL ( 1u32 ) ; pub const RPC_C_IMP_LEVEL_IDENTIFY : RPC_C_IMP_LEVEL = RPC_C_IMP_LEVEL ( 2u32 ) ; pub const RPC_C_IMP_LEVEL_IMPERSONATE : RPC_C_IMP_LEVEL = RPC_C_IMP_LEVEL ( 3u32 ) ; pub const RPC_C_IMP_LEVEL_DELEGATE : RPC_C_IMP_LEVEL = RPC_C_IMP_LEVEL ( 4u32 ) ; impl :: std :: convert :: From < u32 > for RPC_C_IMP_LEVEL { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for RPC_C_IMP_LEVEL { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for RPC_C_IMP_LEVEL { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for RPC_C_IMP_LEVEL { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for RPC_C_IMP_LEVEL { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for RPC_C_IMP_LEVEL { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub unsafe fn RegisterBindStatusCallback < 'a , > ( pbc : impl :: windows :: IntoParam < 'a , IBindCtx > , pbscb : impl :: windows :: IntoParam < 'a , IBindStatusCallback > , ppbscbprev : * mut :: std :: option :: Option < IBindStatusCallback > , dwreserved : u32 , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="urlmon" ) ] extern "system" { fn RegisterBindStatusCallback ( pbc : :: windows :: RawPtr , pbscb : :: windows :: RawPtr , ppbscbprev : * mut :: windows :: RawPtr , dwreserved : u32 ) -> :: windows :: HRESULT ; } RegisterBindStatusCallback ( pbc . into_param ( ) . abi ( ) , pbscb . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ppbscbprev ) , :: std :: mem :: transmute ( dwreserved ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn RegisterDragDrop < 'a , > ( hwnd : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HWND > , pdroptarget : impl :: windows :: IntoParam < 'a , IDropTarget > , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn RegisterDragDrop ( hwnd : super::super::Foundation:: HWND , pdroptarget : :: windows :: RawPtr ) -> :: windows :: HRESULT ; } RegisterDragDrop ( hwnd . into_param ( ) . abi ( ) , pdroptarget . into_param ( ) . abi ( ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn RegisterFormatEnumerator < 'a , > ( pbc : impl :: windows :: IntoParam < 'a , IBindCtx > , pefetc : impl :: windows :: IntoParam < 'a , IEnumFORMATETC > , reserved : u32 , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="urlmon" ) ] extern "system" { fn RegisterFormatEnumerator ( pbc : :: windows :: RawPtr , pefetc : :: windows :: RawPtr , reserved : u32 ) -> :: windows :: HRESULT ; } RegisterFormatEnumerator ( pbc . into_param ( ) . abi ( ) , pefetc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( reserved ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn RegisterMediaTypeClass < 'a , > ( pbc : impl :: windows :: IntoParam < 'a , IBindCtx > , ctypes : u32 , rgsztypes : * const super::super::Foundation:: PSTR , rgclsid : * mut :: windows :: Guid , reserved : u32 , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="urlmon" ) ] extern "system" { fn RegisterMediaTypeClass ( pbc : :: windows :: RawPtr , ctypes : u32 , rgsztypes : * const super::super::Foundation:: PSTR , rgclsid : * mut :: windows :: Guid , reserved : u32 ) -> :: windows :: HRESULT ; } RegisterMediaTypeClass ( pbc . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ctypes ) , :: std :: mem :: transmute ( rgsztypes ) , :: std :: mem :: transmute ( rgclsid ) , :: std :: mem :: transmute ( reserved ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn RegisterMediaTypes < > ( ctypes : u32 , rgsztypes : * const super::super::Foundation:: PSTR , rgcftypes : * mut u16 , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="urlmon" ) ] extern "system" { fn RegisterMediaTypes ( ctypes : u32 , rgsztypes : * const super::super::Foundation:: PSTR , rgcftypes : * mut u16 ) -> :: windows :: HRESULT ; } RegisterMediaTypes ( :: std :: mem :: transmute ( ctypes ) , :: std :: mem :: transmute ( rgsztypes ) , :: std :: mem :: transmute ( rgcftypes ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn ReleaseBindInfo < > ( pbindinfo : * mut BINDINFO , ) { # [ cfg ( windows ) ] { # [ link ( name ="urlmon" ) ] extern "system" { fn ReleaseBindInfo ( pbindinfo : * mut BINDINFO_abi ) ; } ReleaseBindInfo ( :: std :: mem :: transmute ( pbindinfo ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn ReleaseStgMedium < > ( param0 : * mut STGMEDIUM , ) { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn ReleaseStgMedium ( param0 : * mut STGMEDIUM_abi ) ; } ReleaseStgMedium ( :: std :: mem :: transmute ( param0 ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: clone :: Clone ) ] # [ repr ( C ) ] pub struct RemBINDINFO { pub cbSize : u32 , pub szExtraInfo : super::super::Foundation:: PWSTR , pub grfBindInfoF : u32 , pub dwBindVerb : u32 , pub szCustomVerb : super::super::Foundation:: PWSTR , pub cbstgmedData : u32 , pub dwOptions : u32 , pub dwOptionsFlags : u32 , pub dwCodePage : u32 , pub securityAttributes : REMSECURITY_ATTRIBUTES , pub iid : :: windows :: Guid , pub pUnk : :: std :: option :: Option < :: windows :: IUnknown > , pub dwReserved : u32 } impl RemBINDINFO { } impl :: std :: default :: Default for RemBINDINFO { fn default ( ) -> Self { Self { cbSize : 0 , szExtraInfo : :: std :: default :: Default :: default ( ) , grfBindInfoF : 0 , dwBindVerb : 0 , szCustomVerb : :: std :: default :: Default :: default ( ) , cbstgmedData : 0 , dwOptions : 0 , dwOptionsFlags : 0 , dwCodePage : 0 , securityAttributes : :: std :: default :: Default :: default ( ) , iid : :: std :: default :: Default :: default ( ) , pUnk : :: std :: default :: Default :: default ( ) , dwReserved : 0 } } } impl :: std :: fmt :: Debug for RemBINDINFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "RemBINDINFO" ) . field ( "cbSize" , & self . cbSize ) . field ( "szExtraInfo" , & self . szExtraInfo ) . field ( "grfBindInfoF" , & self . grfBindInfoF ) . field ( "dwBindVerb" , & self . dwBindVerb ) . field ( "szCustomVerb" , & self . szCustomVerb ) . field ( "cbstgmedData" , & self . cbstgmedData ) . field ( "dwOptions" , & self . dwOptions ) . field ( "dwOptionsFlags" , & self . dwOptionsFlags ) . field ( "dwCodePage" , & self . dwCodePage ) . field ( "securityAttributes" , & self . securityAttributes ) . field ( "iid" , & self . iid ) . field ( "pUnk" , & self . pUnk ) . field ( "dwReserved" , & self . dwReserved ) . finish ( ) } } impl :: std :: cmp :: PartialEq for RemBINDINFO { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . szExtraInfo == other . szExtraInfo && self . grfBindInfoF == other . grfBindInfoF && self . dwBindVerb == other . dwBindVerb && self . szCustomVerb == other . szCustomVerb && self . cbstgmedData == other . cbstgmedData && self . dwOptions == other . dwOptions && self . dwOptionsFlags == other . dwOptionsFlags && self . dwCodePage == other . dwCodePage && self . securityAttributes == other . securityAttributes && self . iid == other . iid && self . pUnk == other . pUnk && self . dwReserved == other . dwReserved } } impl :: std :: cmp :: Eq for RemBINDINFO { } # [ repr ( C ) ] # [ doc ( hidden ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct RemBINDINFO_abi { pub cbSize : u32 , pub szExtraInfo : super::super::Foundation:: PWSTR , pub grfBindInfoF : u32 , pub dwBindVerb : u32 , pub szCustomVerb : super::super::Foundation:: PWSTR , pub cbstgmedData : u32 , pub dwOptions : u32 , pub dwOptionsFlags : u32 , pub dwCodePage : u32 , pub securityAttributes : REMSECURITY_ATTRIBUTES , pub iid : :: windows :: Guid , pub pUnk : :: windows :: RawPtr , pub dwReserved : u32 } unsafe impl :: windows :: Abi for RemBINDINFO { type Abi = RemBINDINFO_abi ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct RemFORMATETC { pub cfFormat : u32 , pub ptd : u32 , pub dwAspect : u32 , pub lindex : i32 , pub tymed : u32 } impl RemFORMATETC { } impl :: std :: default :: Default for RemFORMATETC { fn default ( ) -> Self { Self { cfFormat : 0 , ptd : 0 , dwAspect : 0 , lindex : 0 , tymed : 0 } } } impl :: std :: fmt :: Debug for RemFORMATETC { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "RemFORMATETC" ) . field ( "cfFormat" , & self . cfFormat ) . field ( "ptd" , & self . ptd ) . field ( "dwAspect" , & self . dwAspect ) . field ( "lindex" , & self . lindex ) . field ( "tymed" , & self . tymed ) . finish ( ) } } impl :: std :: cmp :: PartialEq for RemFORMATETC { fn eq ( & self , other : & Self ) -> bool { self . cfFormat == other . cfFormat && self . ptd == other . ptd && self . dwAspect == other . dwAspect && self . lindex == other . lindex && self . tymed == other . tymed } } impl :: std :: cmp :: Eq for RemFORMATETC { } unsafe impl :: windows :: Abi for RemFORMATETC { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct RemSTGMEDIUM { pub tymed : u32 , pub dwHandleType : u32 , pub pData : u32 , pub pUnkForRelease : u32 , pub cbData : u32 , pub data : [ u8 ;1 ] } impl RemSTGMEDIUM { } impl :: std :: default :: Default for RemSTGMEDIUM { fn default ( ) -> Self { Self { tymed : 0 , dwHandleType : 0 , pData : 0 , pUnkForRelease : 0 , cbData : 0 , data : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for RemSTGMEDIUM { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "RemSTGMEDIUM" ) . field ( "tymed" , & self . tymed ) . field ( "dwHandleType" , & self . dwHandleType ) . field ( "pData" , & self . pData ) . field ( "pUnkForRelease" , & self . pUnkForRelease ) . field ( "cbData" , & self . cbData ) . field ( "data" , & self . data ) . finish ( ) } } impl :: std :: cmp :: PartialEq for RemSTGMEDIUM { fn eq ( & self , other : & Self ) -> bool { self . tymed == other . tymed && self . dwHandleType == other . dwHandleType && self . pData == other . pData && self . pUnkForRelease == other . pUnkForRelease && self . cbData == other . cbData && self . data == other . data } } impl :: std :: cmp :: Eq for RemSTGMEDIUM { } unsafe impl :: windows :: Abi for RemSTGMEDIUM { type Abi = Self ; type DefaultType = Self ; } pub unsafe fn RevokeBindStatusCallback < 'a , > ( pbc : impl :: windows :: IntoParam < 'a , IBindCtx > , pbscb : impl :: windows :: IntoParam < 'a , IBindStatusCallback > , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="urlmon" ) ] extern "system" { fn RevokeBindStatusCallback ( pbc : :: windows :: RawPtr , pbscb : :: windows :: RawPtr ) -> :: windows :: HRESULT ; } RevokeBindStatusCallback ( pbc . into_param ( ) . abi ( ) , pbscb . into_param ( ) . abi ( ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn RevokeDragDrop < 'a , > ( hwnd : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HWND > , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn RevokeDragDrop ( hwnd : super::super::Foundation:: HWND ) -> :: windows :: HRESULT ; } RevokeDragDrop ( hwnd . into_param ( ) . abi ( ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn RevokeFormatEnumerator < 'a , > ( pbc : impl :: windows :: IntoParam < 'a , IBindCtx > , pefetc : impl :: windows :: IntoParam < 'a , IEnumFORMATETC > , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="urlmon" ) ] extern "system" { fn RevokeFormatEnumerator ( pbc : :: windows :: RawPtr , pefetc : :: windows :: RawPtr ) -> :: windows :: HRESULT ; } RevokeFormatEnumerator ( pbc . into_param ( ) . abi ( ) , pefetc . into_param ( ) . abi ( ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SChannelHookCallInfo { pub iid : :: windows :: Guid , pub cbSize : u32 , pub uCausality : :: windows :: Guid , pub dwServerPid : u32 , pub iMethod : u32 , pub pObject : * mut :: std :: ffi :: c_void } impl SChannelHookCallInfo { } impl :: std :: default :: Default for SChannelHookCallInfo { fn default ( ) -> Self { Self { iid : :: std :: default :: Default :: default ( ) , cbSize : 0 , uCausality : :: std :: default :: Default :: default ( ) , dwServerPid : 0 , iMethod : 0 , pObject : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for SChannelHookCallInfo { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SChannelHookCallInfo" ) . field ( "iid" , & self . iid ) . field ( "cbSize" , & self . cbSize ) . field ( "uCausality" , & self . uCausality ) . field ( "dwServerPid" , & self . dwServerPid ) . field ( "iMethod" , & self . iMethod ) . field ( "pObject" , & self . pObject ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SChannelHookCallInfo { fn eq ( & self , other : & Self ) -> bool { self . iid == other . iid && self . cbSize == other . cbSize && self . uCausality == other . uCausality && self . dwServerPid == other . dwServerPid && self . iMethod == other . iMethod && self . pObject == other . pObject } } impl :: std :: cmp :: Eq for SChannelHookCallInfo { } unsafe impl :: windows :: Abi for SChannelHookCallInfo { type Abi = Self ; type DefaultType = Self ; } pub const SECURITY_IE_STATE_GREEN : u32 = 0u32 ; pub const SECURITY_IE_STATE_RED : u32 = 1u32 ; pub const SELFREG_E_CLASS : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220991i32 as _ ) ; pub const SELFREG_E_FIRST : i32 = -2147220992i32 ; pub const SELFREG_E_LAST : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220977i32 as _ ) ; pub const SELFREG_E_TYPELIB : :: windows :: HRESULT = :: windows :: HRESULT ( -2147220992i32 as _ ) ; pub const SELFREG_S_FIRST : :: windows :: HRESULT = :: windows :: HRESULT ( 262656i32 as _ ) ; pub const SELFREG_S_LAST : :: windows :: HRESULT = :: windows :: HRESULT ( 262671i32 as _ ) ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct SERVERCALL ( pub i32 ) ; pub const SERVERCALL_ISHANDLED : SERVERCALL = SERVERCALL ( 0i32 ) ; pub const SERVERCALL_REJECTED : SERVERCALL = SERVERCALL ( 1i32 ) ; pub const SERVERCALL_RETRYLATER : SERVERCALL = SERVERCALL ( 2i32 ) ; impl :: std :: convert :: From < i32 > for SERVERCALL { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for SERVERCALL { type Abi = Self ; type DefaultType = Self ; } pub const SET_FEATURE_IN_REGISTRY : u32 = 4u32 ; pub const SET_FEATURE_ON_PROCESS : u32 = 2u32 ; pub const SET_FEATURE_ON_THREAD : u32 = 1u32 ; pub const SET_FEATURE_ON_THREAD_INTERNET : u32 = 64u32 ; pub const SET_FEATURE_ON_THREAD_INTRANET : u32 = 16u32 ; pub const SET_FEATURE_ON_THREAD_LOCALMACHINE : u32 = 8u32 ; pub const SET_FEATURE_ON_THREAD_RESTRICTED : u32 = 128u32 ; pub const SET_FEATURE_ON_THREAD_TRUSTED : u32 = 32u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SHORT_SIZEDARR { pub clSize : u32 , pub pData : * mut u16 } impl SHORT_SIZEDARR { } impl :: std :: default :: Default for SHORT_SIZEDARR { fn default ( ) -> Self { Self { clSize : 0 , pData : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for SHORT_SIZEDARR { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SHORT_SIZEDARR" ) . field ( "clSize" , & self . clSize ) . field ( "pData" , & self . pData ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SHORT_SIZEDARR { fn eq ( & self , other : & Self ) -> bool { self . clSize == other . clSize && self . pData == other . pData } } impl :: std :: cmp :: Eq for SHORT_SIZEDARR { } unsafe impl :: windows :: Abi for SHORT_SIZEDARR { type Abi = Self ; type DefaultType = Self ; } pub unsafe fn SNB_UserFree < > ( param0 : * mut u32 , param1 : * mut * mut * mut u16 , ) { # [ cfg ( windows ) ] { # [ link ( name ="ole32" ) ] extern "system" { fn SNB_UserFree ( param0 : * mut u32 , param1 : * mut * mut * mut u16 ) ; } SNB_UserFree ( :: std :: mem :: transmute ( param0 ) , :: std :: mem :: transmute ( param1 ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SNB_UserFree64 < > ( param0 : * mut u32 , param1 : * mut * mut * mut u16 , ) { # [ cfg ( windows ) ] { # [ link ( name ="ole32" ) ] extern "system" { fn SNB_UserFree64 ( param0 : * mut u32 , param1 : * mut * mut * mut u16 ) ; } SNB_UserFree64 ( :: std :: mem :: transmute ( param0 ) , :: std :: mem :: transmute ( param1 ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SNB_UserMarshal < > ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut * mut * mut u16 , ) -> * mut u8 { # [ cfg ( windows ) ] { # [ link ( name ="ole32" ) ] extern "system" { fn SNB_UserMarshal ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut * mut * mut u16 ) -> * mut u8 ; } SNB_UserMarshal ( :: std :: mem :: transmute ( param0 ) , :: std :: mem :: transmute ( param1 ) , :: std :: mem :: transmute ( param2 ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SNB_UserMarshal64 < > ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut * mut * mut u16 , ) -> * mut u8 { # [ cfg ( windows ) ] { # [ link ( name ="ole32" ) ] extern "system" { fn SNB_UserMarshal64 ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut * mut * mut u16 ) -> * mut u8 ; } SNB_UserMarshal64 ( :: std :: mem :: transmute ( param0 ) , :: std :: mem :: transmute ( param1 ) , :: std :: mem :: transmute ( param2 ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SNB_UserSize < > ( param0 : * mut u32 , param1 : u32 , param2 : * mut * mut * mut u16 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="ole32" ) ] extern "system" { fn SNB_UserSize ( param0 : * mut u32 , param1 : u32 , param2 : * mut * mut * mut u16 ) -> u32 ; } SNB_UserSize ( :: std :: mem :: transmute ( param0 ) , :: std :: mem :: transmute ( param1 ) , :: std :: mem :: transmute ( param2 ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SNB_UserSize64 < > ( param0 : * mut u32 , param1 : u32 , param2 : * mut * mut * mut u16 , ) -> u32 { # [ cfg ( windows ) ] { # [ link ( name ="ole32" ) ] extern "system" { fn SNB_UserSize64 ( param0 : * mut u32 , param1 : u32 , param2 : * mut * mut * mut u16 ) -> u32 ; } SNB_UserSize64 ( :: std :: mem :: transmute ( param0 ) , :: std :: mem :: transmute ( param1 ) , :: std :: mem :: transmute ( param2 ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SNB_UserUnmarshal < > ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut * mut * mut u16 , ) -> * mut u8 { # [ cfg ( windows ) ] { # [ link ( name ="ole32" ) ] extern "system" { fn SNB_UserUnmarshal ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut * mut * mut u16 ) -> * mut u8 ; } SNB_UserUnmarshal ( :: std :: mem :: transmute ( param0 ) , :: std :: mem :: transmute ( param1 ) , :: std :: mem :: transmute ( param2 ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SNB_UserUnmarshal64 < > ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut * mut * mut u16 , ) -> * mut u8 { # [ cfg ( windows ) ] { # [ link ( name ="ole32" ) ] extern "system" { fn SNB_UserUnmarshal64 ( param0 : * mut u32 , param1 : * mut u8 , param2 : * mut * mut * mut u16 ) -> * mut u8 ; } SNB_UserUnmarshal64 ( :: std :: mem :: transmute ( param0 ) , :: std :: mem :: transmute ( param1 ) , :: std :: mem :: transmute ( param2 ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub const SOFTDIST_ADSTATE_AVAILABLE : u32 = 1u32 ; pub const SOFTDIST_ADSTATE_DOWNLOADED : u32 = 2u32 ; pub const SOFTDIST_ADSTATE_INSTALLED : u32 = 3u32 ; pub const SOFTDIST_ADSTATE_NONE : u32 = 0u32 ; pub const SOFTDIST_FLAG_DELETE_SUBSCRIPTION : u32 = 8u32 ; pub const SOFTDIST_FLAG_USAGE_AUTOINSTALL : u32 = 4u32 ; pub const SOFTDIST_FLAG_USAGE_EMAIL : u32 = 1u32 ; pub const SOFTDIST_FLAG_USAGE_PRECACHE : u32 = 2u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SOLE_AUTHENTICATION_INFO { pub dwAuthnSvc : u32 , pub dwAuthzSvc : u32 , pub pAuthInfo : * mut :: std :: ffi :: c_void } impl SOLE_AUTHENTICATION_INFO { } impl :: std :: default :: Default for SOLE_AUTHENTICATION_INFO { fn default ( ) -> Self { Self { dwAuthnSvc : 0 , dwAuthzSvc : 0 , pAuthInfo : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for SOLE_AUTHENTICATION_INFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SOLE_AUTHENTICATION_INFO" ) . field ( "dwAuthnSvc" , & self . dwAuthnSvc ) . field ( "dwAuthzSvc" , & self . dwAuthzSvc ) . field ( "pAuthInfo" , & self . pAuthInfo ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SOLE_AUTHENTICATION_INFO { fn eq ( & self , other : & Self ) -> bool { self . dwAuthnSvc == other . dwAuthnSvc && self . dwAuthzSvc == other . dwAuthzSvc && self . pAuthInfo == other . pAuthInfo } } impl :: std :: cmp :: Eq for SOLE_AUTHENTICATION_INFO { } unsafe impl :: windows :: Abi for SOLE_AUTHENTICATION_INFO { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SOLE_AUTHENTICATION_LIST { pub cAuthInfo : u32 , pub aAuthInfo : * mut SOLE_AUTHENTICATION_INFO } impl SOLE_AUTHENTICATION_LIST { } impl :: std :: default :: Default for SOLE_AUTHENTICATION_LIST { fn default ( ) -> Self { Self { cAuthInfo : 0 , aAuthInfo : :: std :: ptr :: null_mut ( ) } } } impl :: std :: fmt :: Debug for SOLE_AUTHENTICATION_LIST { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SOLE_AUTHENTICATION_LIST" ) . field ( "cAuthInfo" , & self . cAuthInfo ) . field ( "aAuthInfo" , & self . aAuthInfo ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SOLE_AUTHENTICATION_LIST { fn eq ( & self , other : & Self ) -> bool { self . cAuthInfo == other . cAuthInfo && self . aAuthInfo == other . aAuthInfo } } impl :: std :: cmp :: Eq for SOLE_AUTHENTICATION_LIST { } unsafe impl :: windows :: Abi for SOLE_AUTHENTICATION_LIST { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SOLE_AUTHENTICATION_SERVICE { pub dwAuthnSvc : u32 , pub dwAuthzSvc : u32 , pub pPrincipalName : super::super::Foundation:: PWSTR , pub hr : :: windows :: HRESULT } impl SOLE_AUTHENTICATION_SERVICE { } impl :: std :: default :: Default for SOLE_AUTHENTICATION_SERVICE { fn default ( ) -> Self { Self { dwAuthnSvc : 0 , dwAuthzSvc : 0 , pPrincipalName : :: std :: default :: Default :: default ( ) , hr : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for SOLE_AUTHENTICATION_SERVICE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SOLE_AUTHENTICATION_SERVICE" ) . field ( "dwAuthnSvc" , & self . dwAuthnSvc ) . field ( "dwAuthzSvc" , & self . dwAuthzSvc ) . field ( "pPrincipalName" , & self . pPrincipalName ) . field ( "hr" , & self . hr ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SOLE_AUTHENTICATION_SERVICE { fn eq ( & self , other : & Self ) -> bool { self . dwAuthnSvc == other . dwAuthnSvc && self . dwAuthzSvc == other . dwAuthzSvc && self . pPrincipalName == other . pPrincipalName && self . hr == other . hr } } impl :: std :: cmp :: Eq for SOLE_AUTHENTICATION_SERVICE { } unsafe impl :: windows :: Abi for SOLE_AUTHENTICATION_SERVICE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone ) ] # [ repr ( C ) ] pub struct STATDATA { pub formatetc : FORMATETC , pub advf : u32 , pub pAdvSink : :: std :: option :: Option < IAdviseSink > , pub dwConnection : u32 } impl STATDATA { } impl :: std :: default :: Default for STATDATA { fn default ( ) -> Self { Self { formatetc : :: std :: default :: Default :: default ( ) , advf : 0 , pAdvSink : :: std :: default :: Default :: default ( ) , dwConnection : 0 } } } impl :: std :: fmt :: Debug for STATDATA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "STATDATA" ) . field ( "formatetc" , & self . formatetc ) . field ( "advf" , & self . advf ) . field ( "pAdvSink" , & self . pAdvSink ) . field ( "dwConnection" , & self . dwConnection ) . finish ( ) } } impl :: std :: cmp :: PartialEq for STATDATA { fn eq ( & self , other : & Self ) -> bool { self . formatetc == other . formatetc && self . advf == other . advf && self . pAdvSink == other . pAdvSink && self . dwConnection == other . dwConnection } } impl :: std :: cmp :: Eq for STATDATA { } # [ repr ( C ) ] # [ doc ( hidden ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct STATDATA_abi { pub formatetc : FORMATETC , pub advf : u32 , pub pAdvSink : :: windows :: RawPtr , pub dwConnection : u32 } unsafe impl :: windows :: Abi for STATDATA { type Abi = STATDATA_abi ; 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 STDMSHLFLAGS ( pub i32 ) ; pub const SMEXF_SERVER : STDMSHLFLAGS = STDMSHLFLAGS ( 1i32 ) ; pub const SMEXF_HANDLER : STDMSHLFLAGS = STDMSHLFLAGS ( 2i32 ) ; impl :: std :: convert :: From < i32 > for STDMSHLFLAGS { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for STDMSHLFLAGS { type Abi = Self ; type DefaultType = Self ; } impl :: std :: clone :: Clone for STGMEDIUM { fn clone ( & self ) -> Self { unimplemented ! ( ) } } # [ repr ( C ) ] pub struct STGMEDIUM { pub tymed : u32 , pub Anonymous : STGMEDIUM_0 , pub pUnkForRelease : :: std :: option :: Option < :: windows :: IUnknown > } impl STGMEDIUM { } impl :: std :: cmp :: PartialEq for STGMEDIUM { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for STGMEDIUM { } # [ repr ( C ) ] # [ doc ( hidden ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct STGMEDIUM_abi { pub tymed : u32 , pub Anonymous : STGMEDIUM_0_abi , pub pUnkForRelease : :: windows :: RawPtr } unsafe impl :: windows :: Abi for STGMEDIUM { type Abi = STGMEDIUM_abi ; type DefaultType = Self ; } impl :: std :: clone :: Clone for STGMEDIUM_0 { fn clone ( & self ) -> Self { unimplemented ! ( ) } } # [ repr ( C ) ] pub union STGMEDIUM_0 { pub hBitmap : super::super::Graphics::Gdi:: HBITMAP , pub hMetaFilePict : * mut :: std :: ffi :: c_void , pub hEnhMetaFile : super::super::Graphics::Gdi:: HENHMETAFILE , pub hGlobal : isize , pub lpszFileName : super::super::Foundation:: PWSTR , pub pstm : :: windows :: RawPtr , pub pstg : :: windows :: RawPtr } impl STGMEDIUM_0 { } impl :: std :: cmp :: PartialEq for STGMEDIUM_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for STGMEDIUM_0 { } # [ repr ( C ) ] # [ doc ( hidden ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub union STGMEDIUM_0_abi { pub hBitmap : super::super::Graphics::Gdi:: HBITMAP , pub hMetaFilePict : * mut :: std :: ffi :: c_void , pub hEnhMetaFile : super::super::Graphics::Gdi:: HENHMETAFILE , pub hGlobal : isize , pub lpszFileName : super::super::Foundation:: PWSTR , pub pstm : :: windows :: RawPtr , pub pstg : :: windows :: RawPtr } unsafe impl :: windows :: Abi for STGMEDIUM_0 { type Abi = STGMEDIUM_0_abi ; 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 SZM_FLAGS ( pub i32 ) ; pub const SZM_CREATE : SZM_FLAGS = SZM_FLAGS ( 0i32 ) ; pub const SZM_DELETE : SZM_FLAGS = SZM_FLAGS ( 1i32 ) ; impl :: std :: convert :: From < i32 > for SZM_FLAGS { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for SZM_FLAGS { type Abi = Self ; type DefaultType = Self ; } pub unsafe fn SetAccessForIEAppContainer < 'a , > ( hobject : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HANDLE > , ieobjecttype : IEObjectType , dwaccessmask : u32 , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="urlmon" ) ] extern "system" { fn SetAccessForIEAppContainer ( hobject : super::super::Foundation:: HANDLE , ieobjecttype : IEObjectType , dwaccessmask : u32 ) -> :: windows :: HRESULT ; } SetAccessForIEAppContainer ( hobject . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ieobjecttype ) , :: std :: mem :: transmute ( dwaccessmask ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn SetSoftwareUpdateAdvertisementState < 'a , > ( szdistunit : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , dwadstate : u32 , dwadvertisedversionms : u32 , dwadvertisedversionls : u32 , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="urlmon" ) ] extern "system" { fn SetSoftwareUpdateAdvertisementState ( szdistunit : super::super::Foundation:: PWSTR , dwadstate : u32 , dwadvertisedversionms : u32 , dwadvertisedversionls : u32 ) -> :: windows :: HRESULT ; } SetSoftwareUpdateAdvertisementState ( szdistunit . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( dwadstate ) , :: std :: mem :: transmute ( dwadvertisedversionms ) , :: std :: mem :: transmute ( dwadvertisedversionls ) ) . ok ( ) } # [ 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 ShutdownType ( pub i32 ) ; pub const IdleShutdown : ShutdownType = ShutdownType ( 0i32 ) ; pub const ForcedShutdown : ShutdownType = ShutdownType ( 1i32 ) ; impl :: std :: convert :: From < i32 > for ShutdownType { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for ShutdownType { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone ) ] # [ repr ( C ) ] pub struct StartParam { pub iid : :: windows :: Guid , pub pIBindCtx : :: std :: option :: Option < IBindCtx > , pub pItf : :: std :: option :: Option < :: windows :: IUnknown > } impl StartParam { } impl :: std :: default :: Default for StartParam { fn default ( ) -> Self { Self { iid : :: std :: default :: Default :: default ( ) , pIBindCtx : :: std :: default :: Default :: default ( ) , pItf : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for StartParam { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "StartParam" ) . field ( "iid" , & self . iid ) . field ( "pIBindCtx" , & self . pIBindCtx ) . field ( "pItf" , & self . pItf ) . finish ( ) } } impl :: std :: cmp :: PartialEq for StartParam { fn eq ( & self , other : & Self ) -> bool { self . iid == other . iid && self . pIBindCtx == other . pIBindCtx && self . pItf == other . pItf } } impl :: std :: cmp :: Eq for StartParam { } # [ repr ( C ) ] # [ doc ( hidden ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct StartParam_abi { pub iid : :: windows :: Guid , pub pIBindCtx : :: windows :: RawPtr , pub pItf : :: windows :: RawPtr } unsafe impl :: windows :: Abi for StartParam { type Abi = StartParam_abi ; type DefaultType = Self ; } pub unsafe fn StringFromCLSID < > ( rclsid : * const :: windows :: Guid , ) -> :: windows :: Result < super::super::Foundation:: PWSTR > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn StringFromCLSID ( rclsid : * const :: windows :: Guid , lplpsz : * mut super::super::Foundation:: PWSTR ) -> :: windows :: HRESULT ; } let mut result__ : < super::super::Foundation:: PWSTR as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; StringFromCLSID ( :: std :: mem :: transmute ( rclsid ) , & mut result__ ) . from_abi :: < super::super::Foundation:: PWSTR > ( result__ ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn StringFromGUID2 < > ( rguid : * const :: windows :: Guid , lpsz : super::super::Foundation:: PWSTR , cchmax : i32 , ) -> i32 { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn StringFromGUID2 ( rguid : * const :: windows :: Guid , lpsz : super::super::Foundation:: PWSTR , cchmax : i32 ) -> i32 ; } StringFromGUID2 ( :: std :: mem :: transmute ( rguid ) , :: std :: mem :: transmute ( lpsz ) , :: std :: mem :: transmute ( cchmax ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn StringFromIID < > ( rclsid : * const :: windows :: Guid , ) -> :: windows :: Result < super::super::Foundation:: PWSTR > { # [ cfg ( windows ) ] { # [ link ( name ="OLE32" ) ] extern "system" { fn StringFromIID ( rclsid : * const :: windows :: Guid , lplpsz : * mut super::super::Foundation:: PWSTR ) -> :: windows :: HRESULT ; } let mut result__ : < super::super::Foundation:: PWSTR as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; StringFromIID ( :: std :: mem :: transmute ( rclsid ) , & mut result__ ) . from_abi :: < super::super::Foundation:: PWSTR > ( result__ ) } # [ 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 THDTYPE ( pub i32 ) ; pub const THDTYPE_BLOCKMESSAGES : THDTYPE = THDTYPE ( 0i32 ) ; pub const THDTYPE_PROCESSMESSAGES : THDTYPE = THDTYPE ( 1i32 ) ; impl :: std :: convert :: From < i32 > for THDTYPE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for THDTYPE { type Abi = Self ; type DefaultType = Self ; } pub const TIFLAGS_EXTENDDISPATCHONLY : 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 TYMED ( pub i32 ) ; pub const TYMED_HGLOBAL : TYMED = TYMED ( 1i32 ) ; pub const TYMED_FILE : TYMED = TYMED ( 2i32 ) ; pub const TYMED_ISTREAM : TYMED = TYMED ( 4i32 ) ; pub const TYMED_ISTORAGE : TYMED = TYMED ( 8i32 ) ; pub const TYMED_GDI : TYMED = TYMED ( 16i32 ) ; pub const TYMED_MFPICT : TYMED = TYMED ( 32i32 ) ; pub const TYMED_ENHMF : TYMED = TYMED ( 64i32 ) ; pub const TYMED_NULL : TYMED = TYMED ( 0i32 ) ; impl :: std :: convert :: From < i32 > for TYMED { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for TYMED { 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 TYSPEC ( pub i32 ) ; pub const TYSPEC_CLSID : TYSPEC = TYSPEC ( 0i32 ) ; pub const TYSPEC_FILEEXT : TYSPEC = TYSPEC ( 1i32 ) ; pub const TYSPEC_MIMETYPE : TYSPEC = TYSPEC ( 2i32 ) ; pub const TYSPEC_FILENAME : TYSPEC = TYSPEC ( 3i32 ) ; pub const TYSPEC_PROGID : TYSPEC = TYSPEC ( 4i32 ) ; pub const TYSPEC_PACKAGENAME : TYSPEC = TYSPEC ( 5i32 ) ; pub const TYSPEC_OBJECTID : TYSPEC = TYSPEC ( 6i32 ) ; impl :: std :: convert :: From < i32 > for TYSPEC { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for TYSPEC { 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 UASFLAGS ( pub i32 ) ; pub const UAS_NORMAL : UASFLAGS = UASFLAGS ( 0i32 ) ; pub const UAS_BLOCKED : UASFLAGS = UASFLAGS ( 1i32 ) ; pub const UAS_NOPARENTENABLE : UASFLAGS = UASFLAGS ( 2i32 ) ; pub const UAS_MASK : UASFLAGS = UASFLAGS ( 3i32 ) ; impl :: std :: convert :: From < i32 > for UASFLAGS { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for UASFLAGS { type Abi = Self ; type DefaultType = Self ; } pub const UAS_EXACTLEGACY : u32 = 4096u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct UPDFCACHE_FLAGS ( pub u32 ) ; pub const UPDFCACHE_ALL : UPDFCACHE_FLAGS = UPDFCACHE_FLAGS ( 2147483647u32 ) ; pub const UPDFCACHE_ALLBUTNODATACACHE : UPDFCACHE_FLAGS = UPDFCACHE_FLAGS ( 2147483646u32 ) ; pub const UPDFCACHE_NORMALCACHE : UPDFCACHE_FLAGS = UPDFCACHE_FLAGS ( 8u32 ) ; pub const UPDFCACHE_IFBLANK : UPDFCACHE_FLAGS = UPDFCACHE_FLAGS ( 16u32 ) ; pub const UPDFCACHE_ONLYIFBLANK : UPDFCACHE_FLAGS = UPDFCACHE_FLAGS ( 2147483648u32 ) ; pub const UPDFCACHE_NODATACACHE : UPDFCACHE_FLAGS = UPDFCACHE_FLAGS ( 1u32 ) ; pub const UPDFCACHE_ONSAVECACHE : UPDFCACHE_FLAGS = UPDFCACHE_FLAGS ( 2u32 ) ; pub const UPDFCACHE_ONSTOPCACHE : UPDFCACHE_FLAGS = UPDFCACHE_FLAGS ( 4u32 ) ; pub const UPDFCACHE_IFBLANKORONSAVECACHE : UPDFCACHE_FLAGS = UPDFCACHE_FLAGS ( 18u32 ) ; impl :: std :: convert :: From < u32 > for UPDFCACHE_FLAGS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for UPDFCACHE_FLAGS { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for UPDFCACHE_FLAGS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for UPDFCACHE_FLAGS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for UPDFCACHE_FLAGS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for UPDFCACHE_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 URI_CREATE_FLAGS ( pub u32 ) ; pub const Uri_CREATE_ALLOW_RELATIVE : URI_CREATE_FLAGS = URI_CREATE_FLAGS ( 1u32 ) ; pub const Uri_CREATE_ALLOW_IMPLICIT_WILDCARD_SCHEME : URI_CREATE_FLAGS = URI_CREATE_FLAGS ( 2u32 ) ; pub const Uri_CREATE_ALLOW_IMPLICIT_FILE_SCHEME : URI_CREATE_FLAGS = URI_CREATE_FLAGS ( 4u32 ) ; pub const Uri_CREATE_NOFRAG : URI_CREATE_FLAGS = URI_CREATE_FLAGS ( 8u32 ) ; pub const Uri_CREATE_NO_CANONICALIZE : URI_CREATE_FLAGS = URI_CREATE_FLAGS ( 16u32 ) ; pub const Uri_CREATE_CANONICALIZE : URI_CREATE_FLAGS = URI_CREATE_FLAGS ( 256u32 ) ; pub const Uri_CREATE_FILE_USE_DOS_PATH : URI_CREATE_FLAGS = URI_CREATE_FLAGS ( 32u32 ) ; pub const Uri_CREATE_DECODE_EXTRA_INFO : URI_CREATE_FLAGS = URI_CREATE_FLAGS ( 64u32 ) ; pub const Uri_CREATE_NO_DECODE_EXTRA_INFO : URI_CREATE_FLAGS = URI_CREATE_FLAGS ( 128u32 ) ; pub const Uri_CREATE_CRACK_UNKNOWN_SCHEMES : URI_CREATE_FLAGS = URI_CREATE_FLAGS ( 512u32 ) ; pub const Uri_CREATE_NO_CRACK_UNKNOWN_SCHEMES : URI_CREATE_FLAGS = URI_CREATE_FLAGS ( 1024u32 ) ; pub const Uri_CREATE_PRE_PROCESS_HTML_URI : URI_CREATE_FLAGS = URI_CREATE_FLAGS ( 2048u32 ) ; pub const Uri_CREATE_NO_PRE_PROCESS_HTML_URI : URI_CREATE_FLAGS = URI_CREATE_FLAGS ( 4096u32 ) ; pub const Uri_CREATE_IE_SETTINGS : URI_CREATE_FLAGS = URI_CREATE_FLAGS ( 8192u32 ) ; pub const Uri_CREATE_NO_IE_SETTINGS : URI_CREATE_FLAGS = URI_CREATE_FLAGS ( 16384u32 ) ; pub const Uri_CREATE_NO_ENCODE_FORBIDDEN_CHARACTERS : URI_CREATE_FLAGS = URI_CREATE_FLAGS ( 32768u32 ) ; pub const Uri_CREATE_NORMALIZE_INTL_CHARACTERS : URI_CREATE_FLAGS = URI_CREATE_FLAGS ( 65536u32 ) ; pub const Uri_CREATE_CANONICALIZE_ABSOLUTE : URI_CREATE_FLAGS = URI_CREATE_FLAGS ( 131072u32 ) ; impl :: std :: convert :: From < u32 > for URI_CREATE_FLAGS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for URI_CREATE_FLAGS { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for URI_CREATE_FLAGS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for URI_CREATE_FLAGS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for URI_CREATE_FLAGS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for URI_CREATE_FLAGS { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub const URLACTION_ACTIVEX_ALLOW_TDC : u32 = 4620u32 ; pub const URLACTION_ACTIVEX_CONFIRM_NOOBJECTSAFETY : u32 = 4612u32 ; pub const URLACTION_ACTIVEX_CURR_MAX : u32 = 4620u32 ; pub const URLACTION_ACTIVEX_DYNSRC_VIDEO_AND_ANIMATION : u32 = 4618u32 ; pub const URLACTION_ACTIVEX_MAX : u32 = 5119u32 ; pub const URLACTION_ACTIVEX_MIN : u32 = 4608u32 ; pub const URLACTION_ACTIVEX_NO_WEBOC_SCRIPT : u32 = 4614u32 ; pub const URLACTION_ACTIVEX_OVERRIDE_DATA_SAFETY : u32 = 4610u32 ; pub const URLACTION_ACTIVEX_OVERRIDE_DOMAINLIST : u32 = 4619u32 ; pub const URLACTION_ACTIVEX_OVERRIDE_OBJECT_SAFETY : u32 = 4609u32 ; pub const URLACTION_ACTIVEX_OVERRIDE_OPTIN : u32 = 4616u32 ; pub const URLACTION_ACTIVEX_OVERRIDE_REPURPOSEDETECTION : u32 = 4615u32 ; pub const URLACTION_ACTIVEX_OVERRIDE_SCRIPT_SAFETY : u32 = 4611u32 ; pub const URLACTION_ACTIVEX_RUN : u32 = 4608u32 ; pub const URLACTION_ACTIVEX_SCRIPTLET_RUN : u32 = 4617u32 ; pub const URLACTION_ACTIVEX_TREATASUNTRUSTED : u32 = 4613u32 ; pub const URLACTION_ALLOW_ACTIVEX_FILTERING : u32 = 9986u32 ; pub const URLACTION_ALLOW_ANTIMALWARE_SCANNING_OF_ACTIVEX : u32 = 9996u32 ; pub const URLACTION_ALLOW_APEVALUATION : u32 = 8961u32 ; pub const URLACTION_ALLOW_AUDIO_VIDEO : u32 = 9985u32 ; pub const URLACTION_ALLOW_AUDIO_VIDEO_PLUGINS : u32 = 9988u32 ; pub const URLACTION_ALLOW_CROSSDOMAIN_APPCACHE_MANIFEST : u32 = 9994u32 ; pub const URLACTION_ALLOW_CROSSDOMAIN_DROP_ACROSS_WINDOWS : u32 = 9993u32 ; pub const URLACTION_ALLOW_CROSSDOMAIN_DROP_WITHIN_WINDOW : u32 = 9992u32 ; pub const URLACTION_ALLOW_CSS_EXPRESSIONS : u32 = 9997u32 ; pub const URLACTION_ALLOW_RENDER_LEGACY_DXTFILTERS : u32 = 9995u32 ; pub const URLACTION_ALLOW_RESTRICTEDPROTOCOLS : u32 = 8960u32 ; pub const URLACTION_ALLOW_STRUCTURED_STORAGE_SNIFFING : u32 = 9987u32 ; pub const URLACTION_ALLOW_VBSCRIPT_IE : u32 = 5132u32 ; pub const URLACTION_ALLOW_XDOMAIN_SUBFRAME_RESIZE : u32 = 5128u32 ; pub const URLACTION_ALLOW_XHR_EVALUATION : u32 = 8962u32 ; pub const URLACTION_ALLOW_ZONE_ELEVATION_OPT_OUT_ADDITION : u32 = 9990u32 ; pub const URLACTION_ALLOW_ZONE_ELEVATION_VIA_OPT_OUT : u32 = 9989u32 ; pub const URLACTION_AUTHENTICATE_CLIENT : u32 = 6657u32 ; pub const URLACTION_AUTOMATIC_ACTIVEX_UI : u32 = 8705u32 ; pub const URLACTION_AUTOMATIC_DOWNLOAD_UI : u32 = 8704u32 ; pub const URLACTION_AUTOMATIC_DOWNLOAD_UI_MIN : u32 = 8704u32 ; pub const URLACTION_BEHAVIOR_MIN : u32 = 8192u32 ; pub const URLACTION_BEHAVIOR_RUN : u32 = 8192u32 ; pub const URLACTION_CHANNEL_SOFTDIST_MAX : u32 = 7935u32 ; pub const URLACTION_CHANNEL_SOFTDIST_MIN : u32 = 7680u32 ; pub const URLACTION_CHANNEL_SOFTDIST_PERMISSIONS : u32 = 7685u32 ; pub const URLACTION_CLIENT_CERT_PROMPT : u32 = 6660u32 ; pub const URLACTION_COOKIES : u32 = 6658u32 ; pub const URLACTION_COOKIES_ENABLED : u32 = 6672u32 ; pub const URLACTION_COOKIES_SESSION : u32 = 6659u32 ; pub const URLACTION_COOKIES_SESSION_THIRD_PARTY : u32 = 6662u32 ; pub const URLACTION_COOKIES_THIRD_PARTY : u32 = 6661u32 ; pub const URLACTION_CREDENTIALS_USE : u32 = 6656u32 ; pub const URLACTION_CROSS_DOMAIN_DATA : u32 = 5126u32 ; pub const URLACTION_DOTNET_USERCONTROLS : u32 = 8197u32 ; pub const URLACTION_DOWNLOAD_CURR_MAX : u32 = 4100u32 ; pub const URLACTION_DOWNLOAD_MAX : u32 = 4607u32 ; pub const URLACTION_DOWNLOAD_MIN : u32 = 4096u32 ; pub const URLACTION_DOWNLOAD_SIGNED_ACTIVEX : u32 = 4097u32 ; pub const URLACTION_DOWNLOAD_UNSIGNED_ACTIVEX : u32 = 4100u32 ; pub const URLACTION_FEATURE_BLOCK_INPUT_PROMPTS : u32 = 8453u32 ; pub const URLACTION_FEATURE_CROSSDOMAIN_FOCUS_CHANGE : u32 = 8455u32 ; pub const URLACTION_FEATURE_DATA_BINDING : u32 = 8454u32 ; pub const URLACTION_FEATURE_FORCE_ADDR_AND_STATUS : u32 = 8452u32 ; pub const URLACTION_FEATURE_MIME_SNIFFING : u32 = 8448u32 ; pub const URLACTION_FEATURE_MIN : u32 = 8448u32 ; pub const URLACTION_FEATURE_SCRIPT_STATUS_BAR : u32 = 8451u32 ; pub const URLACTION_FEATURE_WINDOW_RESTRICTIONS : u32 = 8450u32 ; pub const URLACTION_FEATURE_ZONE_ELEVATION : u32 = 8449u32 ; pub const URLACTION_HTML_ALLOW_CROSS_DOMAIN_CANVAS : u32 = 5645u32 ; pub const URLACTION_HTML_ALLOW_CROSS_DOMAIN_TEXTTRACK : u32 = 5648u32 ; pub const URLACTION_HTML_ALLOW_CROSS_DOMAIN_WEBWORKER : u32 = 5647u32 ; pub const URLACTION_HTML_ALLOW_INDEXEDDB : u32 = 5649u32 ; pub const URLACTION_HTML_ALLOW_INJECTED_DYNAMIC_HTML : u32 = 5643u32 ; pub const URLACTION_HTML_ALLOW_WINDOW_CLOSE : u32 = 5646u32 ; pub const URLACTION_HTML_FONT_DOWNLOAD : u32 = 5636u32 ; pub const URLACTION_HTML_INCLUDE_FILE_PATH : u32 = 5642u32 ; pub const URLACTION_HTML_JAVA_RUN : u32 = 5637u32 ; pub const URLACTION_HTML_MAX : u32 = 6143u32 ; pub const URLACTION_HTML_META_REFRESH : u32 = 5640u32 ; pub const URLACTION_HTML_MIN : u32 = 5632u32 ; pub const URLACTION_HTML_MIXED_CONTENT : u32 = 5641u32 ; pub const URLACTION_HTML_REQUIRE_UTF8_DOCUMENT_CODEPAGE : u32 = 5644u32 ; pub const URLACTION_HTML_SUBFRAME_NAVIGATE : u32 = 5639u32 ; pub const URLACTION_HTML_SUBMIT_FORMS : u32 = 5633u32 ; pub const URLACTION_HTML_SUBMIT_FORMS_FROM : u32 = 5634u32 ; pub const URLACTION_HTML_SUBMIT_FORMS_TO : u32 = 5635u32 ; pub const URLACTION_HTML_USERDATA_SAVE : u32 = 5638u32 ; pub const URLACTION_INFODELIVERY_CURR_MAX : u32 = 7430u32 ; pub const URLACTION_INFODELIVERY_MAX : u32 = 7679u32 ; pub const URLACTION_INFODELIVERY_MIN : u32 = 7424u32 ; pub const URLACTION_INFODELIVERY_NO_ADDING_CHANNELS : u32 = 7424u32 ; pub const URLACTION_INFODELIVERY_NO_ADDING_SUBSCRIPTIONS : u32 = 7427u32 ; pub const URLACTION_INFODELIVERY_NO_CHANNEL_LOGGING : u32 = 7430u32 ; pub const URLACTION_INFODELIVERY_NO_EDITING_CHANNELS : u32 = 7425u32 ; pub const URLACTION_INFODELIVERY_NO_EDITING_SUBSCRIPTIONS : u32 = 7428u32 ; pub const URLACTION_INFODELIVERY_NO_REMOVING_CHANNELS : u32 = 7426u32 ; pub const URLACTION_INFODELIVERY_NO_REMOVING_SUBSCRIPTIONS : u32 = 7429u32 ; pub const URLACTION_INPRIVATE_BLOCKING : u32 = 9984u32 ; pub const URLACTION_JAVA_CURR_MAX : u32 = 7168u32 ; pub const URLACTION_JAVA_MAX : u32 = 7423u32 ; pub const URLACTION_JAVA_MIN : u32 = 7168u32 ; pub const URLACTION_JAVA_PERMISSIONS : u32 = 7168u32 ; pub const URLACTION_LOOSE_XAML : u32 = 9218u32 ; pub const URLACTION_LOWRIGHTS : u32 = 9472u32 ; pub const URLACTION_MIN : u32 = 4096u32 ; pub const URLACTION_NETWORK_CURR_MAX : u32 = 6672u32 ; pub const URLACTION_NETWORK_MAX : u32 = 7167u32 ; pub const URLACTION_NETWORK_MIN : u32 = 6656u32 ; pub const URLACTION_PLUGGABLE_PROTOCOL_XHR : u32 = 5131u32 ; pub const URLACTION_SCRIPT_CURR_MAX : u32 = 5132u32 ; pub const URLACTION_SCRIPT_JAVA_USE : u32 = 5122u32 ; pub const URLACTION_SCRIPT_MAX : u32 = 5631u32 ; pub const URLACTION_SCRIPT_MIN : u32 = 5120u32 ; pub const URLACTION_SCRIPT_NAVIGATE : u32 = 5130u32 ; pub const URLACTION_SCRIPT_OVERRIDE_SAFETY : u32 = 5121u32 ; pub const URLACTION_SCRIPT_PASTE : u32 = 5127u32 ; pub const URLACTION_SCRIPT_RUN : u32 = 5120u32 ; pub const URLACTION_SCRIPT_SAFE_ACTIVEX : u32 = 5125u32 ; pub const URLACTION_SCRIPT_XSSFILTER : u32 = 5129u32 ; pub const URLACTION_SHELL_ALLOW_CROSS_SITE_SHARE : u32 = 6161u32 ; pub const URLACTION_SHELL_CURR_MAX : u32 = 6162u32 ; pub const URLACTION_SHELL_ENHANCED_DRAGDROP_SECURITY : u32 = 6155u32 ; pub const URLACTION_SHELL_EXECUTE_HIGHRISK : u32 = 6150u32 ; pub const URLACTION_SHELL_EXECUTE_LOWRISK : u32 = 6152u32 ; pub const URLACTION_SHELL_EXECUTE_MODRISK : u32 = 6151u32 ; pub const URLACTION_SHELL_EXTENSIONSECURITY : u32 = 6156u32 ; pub const URLACTION_SHELL_FILE_DOWNLOAD : u32 = 6147u32 ; pub const URLACTION_SHELL_INSTALL_DTITEMS : u32 = 6144u32 ; pub const URLACTION_SHELL_MAX : u32 = 6655u32 ; pub const URLACTION_SHELL_MIN : u32 = 6144u32 ; pub const URLACTION_SHELL_MOVE_OR_COPY : u32 = 6146u32 ; pub const URLACTION_SHELL_POPUPMGR : u32 = 6153u32 ; pub const URLACTION_SHELL_PREVIEW : u32 = 6159u32 ; pub const URLACTION_SHELL_REMOTEQUERY : u32 = 6158u32 ; pub const URLACTION_SHELL_RTF_OBJECTS_LOAD : u32 = 6154u32 ; pub const URLACTION_SHELL_SECURE_DRAGSOURCE : u32 = 6157u32 ; pub const URLACTION_SHELL_SHARE : u32 = 6160u32 ; pub const URLACTION_SHELL_SHELLEXECUTE : u32 = 6150u32 ; pub const URLACTION_SHELL_TOCTOU_RISK : u32 = 6162u32 ; pub const URLACTION_SHELL_VERB : u32 = 6148u32 ; pub const URLACTION_SHELL_WEBVIEW_VERB : u32 = 6149u32 ; pub const URLACTION_WINDOWS_BROWSER_APPLICATIONS : u32 = 9216u32 ; pub const URLACTION_WINFX_SETUP : u32 = 9728u32 ; pub const URLACTION_XPS_DOCUMENTS : u32 = 9217u32 ; pub unsafe fn URLDownloadToCacheFileA < 'a , > ( param0 : impl :: windows :: IntoParam < 'a , :: windows :: IUnknown > , param1 : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , param2 : super::super::Foundation:: PSTR , cchfilename : u32 , param4 : u32 , param5 : impl :: windows :: IntoParam < 'a , IBindStatusCallback > , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="urlmon" ) ] extern "system" { fn URLDownloadToCacheFileA ( param0 : :: windows :: RawPtr , param1 : super::super::Foundation:: PSTR , param2 : super::super::Foundation:: PSTR , cchfilename : u32 , param4 : u32 , param5 : :: windows :: RawPtr ) -> :: windows :: HRESULT ; } URLDownloadToCacheFileA ( param0 . into_param ( ) . abi ( ) , param1 . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( param2 ) , :: std :: mem :: transmute ( cchfilename ) , :: std :: mem :: transmute ( param4 ) , param5 . into_param ( ) . abi ( ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn URLDownloadToCacheFileW < 'a , > ( param0 : impl :: windows :: IntoParam < 'a , :: windows :: IUnknown > , param1 : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , param2 : super::super::Foundation:: PWSTR , cchfilename : u32 , param4 : u32 , param5 : impl :: windows :: IntoParam < 'a , IBindStatusCallback > , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="urlmon" ) ] extern "system" { fn URLDownloadToCacheFileW ( param0 : :: windows :: RawPtr , param1 : super::super::Foundation:: PWSTR , param2 : super::super::Foundation:: PWSTR , cchfilename : u32 , param4 : u32 , param5 : :: windows :: RawPtr ) -> :: windows :: HRESULT ; } URLDownloadToCacheFileW ( param0 . into_param ( ) . abi ( ) , param1 . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( param2 ) , :: std :: mem :: transmute ( cchfilename ) , :: std :: mem :: transmute ( param4 ) , param5 . into_param ( ) . abi ( ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn URLDownloadToFileA < 'a , > ( param0 : impl :: windows :: IntoParam < 'a , :: windows :: IUnknown > , param1 : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , param2 : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , param3 : u32 , param4 : impl :: windows :: IntoParam < 'a , IBindStatusCallback > , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="urlmon" ) ] extern "system" { fn URLDownloadToFileA ( param0 : :: windows :: RawPtr , param1 : super::super::Foundation:: PSTR , param2 : super::super::Foundation:: PSTR , param3 : u32 , param4 : :: windows :: RawPtr ) -> :: windows :: HRESULT ; } URLDownloadToFileA ( param0 . into_param ( ) . abi ( ) , param1 . into_param ( ) . abi ( ) , param2 . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( param3 ) , param4 . into_param ( ) . abi ( ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn URLDownloadToFileW < 'a , > ( param0 : impl :: windows :: IntoParam < 'a , :: windows :: IUnknown > , param1 : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , param2 : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , param3 : u32 , param4 : impl :: windows :: IntoParam < 'a , IBindStatusCallback > , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="urlmon" ) ] extern "system" { fn URLDownloadToFileW ( param0 : :: windows :: RawPtr , param1 : super::super::Foundation:: PWSTR , param2 : super::super::Foundation:: PWSTR , param3 : u32 , param4 : :: windows :: RawPtr ) -> :: windows :: HRESULT ; } URLDownloadToFileW ( param0 . into_param ( ) . abi ( ) , param1 . into_param ( ) . abi ( ) , param2 . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( param3 ) , param4 . into_param ( ) . abi ( ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub const URLMON_OPTION_URL_ENCODING : u32 = 268435460u32 ; pub const URLMON_OPTION_USERAGENT : u32 = 268435457u32 ; pub const URLMON_OPTION_USERAGENT_REFRESH : u32 = 268435458u32 ; pub const URLMON_OPTION_USE_BINDSTRINGCREDS : u32 = 268435464u32 ; pub const URLMON_OPTION_USE_BROWSERAPPSDOCUMENTS : u32 = 268435472u32 ; pub const URLOSTRM_GETNEWESTVERSION : u32 = 3u32 ; pub const URLOSTRM_USECACHEDCOPY : u32 = 2u32 ; pub const URLOSTRM_USECACHEDCOPY_ONLY : u32 = 1u32 ; pub unsafe fn URLOpenBlockingStreamA < 'a , > ( param0 : impl :: windows :: IntoParam < 'a , :: windows :: IUnknown > , param1 : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , param2 : * mut :: std :: option :: Option < super::super::Storage::StructuredStorage:: IStream > , param3 : u32 , param4 : impl :: windows :: IntoParam < 'a , IBindStatusCallback > , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="urlmon" ) ] extern "system" { fn URLOpenBlockingStreamA ( param0 : :: windows :: RawPtr , param1 : super::super::Foundation:: PSTR , param2 : * mut :: windows :: RawPtr , param3 : u32 , param4 : :: windows :: RawPtr ) -> :: windows :: HRESULT ; } URLOpenBlockingStreamA ( param0 . into_param ( ) . abi ( ) , param1 . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( param2 ) , :: std :: mem :: transmute ( param3 ) , param4 . into_param ( ) . abi ( ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn URLOpenBlockingStreamW < 'a , > ( param0 : impl :: windows :: IntoParam < 'a , :: windows :: IUnknown > , param1 : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , param2 : * mut :: std :: option :: Option < super::super::Storage::StructuredStorage:: IStream > , param3 : u32 , param4 : impl :: windows :: IntoParam < 'a , IBindStatusCallback > , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="urlmon" ) ] extern "system" { fn URLOpenBlockingStreamW ( param0 : :: windows :: RawPtr , param1 : super::super::Foundation:: PWSTR , param2 : * mut :: windows :: RawPtr , param3 : u32 , param4 : :: windows :: RawPtr ) -> :: windows :: HRESULT ; } URLOpenBlockingStreamW ( param0 . into_param ( ) . abi ( ) , param1 . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( param2 ) , :: std :: mem :: transmute ( param3 ) , param4 . into_param ( ) . abi ( ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn URLOpenPullStreamA < 'a , > ( param0 : impl :: windows :: IntoParam < 'a , :: windows :: IUnknown > , param1 : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , param2 : u32 , param3 : impl :: windows :: IntoParam < 'a , IBindStatusCallback > , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="urlmon" ) ] extern "system" { fn URLOpenPullStreamA ( param0 : :: windows :: RawPtr , param1 : super::super::Foundation:: PSTR , param2 : u32 , param3 : :: windows :: RawPtr ) -> :: windows :: HRESULT ; } URLOpenPullStreamA ( param0 . into_param ( ) . abi ( ) , param1 . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( param2 ) , param3 . into_param ( ) . abi ( ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn URLOpenPullStreamW < 'a , > ( param0 : impl :: windows :: IntoParam < 'a , :: windows :: IUnknown > , param1 : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , param2 : u32 , param3 : impl :: windows :: IntoParam < 'a , IBindStatusCallback > , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="urlmon" ) ] extern "system" { fn URLOpenPullStreamW ( param0 : :: windows :: RawPtr , param1 : super::super::Foundation:: PWSTR , param2 : u32 , param3 : :: windows :: RawPtr ) -> :: windows :: HRESULT ; } URLOpenPullStreamW ( param0 . into_param ( ) . abi ( ) , param1 . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( param2 ) , param3 . into_param ( ) . abi ( ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn URLOpenStreamA < 'a , > ( param0 : impl :: windows :: IntoParam < 'a , :: windows :: IUnknown > , param1 : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PSTR > , param2 : u32 , param3 : impl :: windows :: IntoParam < 'a , IBindStatusCallback > , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="urlmon" ) ] extern "system" { fn URLOpenStreamA ( param0 : :: windows :: RawPtr , param1 : super::super::Foundation:: PSTR , param2 : u32 , param3 : :: windows :: RawPtr ) -> :: windows :: HRESULT ; } URLOpenStreamA ( param0 . into_param ( ) . abi ( ) , param1 . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( param2 ) , param3 . into_param ( ) . abi ( ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn URLOpenStreamW < 'a , > ( param0 : impl :: windows :: IntoParam < 'a , :: windows :: IUnknown > , param1 : impl :: windows :: IntoParam < 'a , super::super::Foundation:: PWSTR > , param2 : u32 , param3 : impl :: windows :: IntoParam < 'a , IBindStatusCallback > , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="urlmon" ) ] extern "system" { fn URLOpenStreamW ( param0 : :: windows :: RawPtr , param1 : super::super::Foundation:: PWSTR , param2 : u32 , param3 : :: windows :: RawPtr ) -> :: windows :: HRESULT ; } URLOpenStreamW ( param0 . into_param ( ) . abi ( ) , param1 . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( param2 ) , param3 . into_param ( ) . abi ( ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub const URLPOLICY_ACTIVEX_CHECK_LIST : u32 = 65536u32 ; pub const URLPOLICY_ALLOW : u32 = 0u32 ; pub const URLPOLICY_AUTHENTICATE_CHALLENGE_RESPONSE : u32 = 65536u32 ; pub const URLPOLICY_AUTHENTICATE_CLEARTEXT_OK : u32 = 0u32 ; pub const URLPOLICY_AUTHENTICATE_MUTUAL_ONLY : u32 = 196608u32 ; pub const URLPOLICY_BEHAVIOR_CHECK_LIST : u32 = 65536u32 ; pub const URLPOLICY_CHANNEL_SOFTDIST_AUTOINSTALL : u32 = 196608u32 ; pub const URLPOLICY_CHANNEL_SOFTDIST_PRECACHE : u32 = 131072u32 ; pub const URLPOLICY_CHANNEL_SOFTDIST_PROHIBIT : u32 = 65536u32 ; pub const URLPOLICY_CREDENTIALS_ANONYMOUS_ONLY : u32 = 196608u32 ; pub const URLPOLICY_CREDENTIALS_CONDITIONAL_PROMPT : u32 = 131072u32 ; pub const URLPOLICY_CREDENTIALS_MUST_PROMPT_USER : u32 = 65536u32 ; pub const URLPOLICY_CREDENTIALS_SILENT_LOGON_OK : u32 = 0u32 ; pub const URLPOLICY_DISALLOW : u32 = 3u32 ; pub const URLPOLICY_DONTCHECKDLGBOX : u32 = 256u32 ; pub const URLPOLICY_JAVA_CUSTOM : u32 = 8388608u32 ; pub const URLPOLICY_JAVA_HIGH : u32 = 65536u32 ; pub const URLPOLICY_JAVA_LOW : u32 = 196608u32 ; pub const URLPOLICY_JAVA_MEDIUM : u32 = 131072u32 ; pub const URLPOLICY_JAVA_PROHIBIT : u32 = 0u32 ; pub const URLPOLICY_LOG_ON_ALLOW : u32 = 64u32 ; pub const URLPOLICY_LOG_ON_DISALLOW : u32 = 128u32 ; pub const URLPOLICY_MASK_PERMISSIONS : u32 = 15u32 ; pub const URLPOLICY_NOTIFY_ON_ALLOW : u32 = 16u32 ; pub const URLPOLICY_NOTIFY_ON_DISALLOW : u32 = 32u32 ; pub const URLPOLICY_QUERY : 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 URLTEMPLATE ( pub i32 ) ; pub const URLTEMPLATE_CUSTOM : URLTEMPLATE = URLTEMPLATE ( 0i32 ) ; pub const URLTEMPLATE_PREDEFINED_MIN : URLTEMPLATE = URLTEMPLATE ( 65536i32 ) ; pub const URLTEMPLATE_LOW : URLTEMPLATE = URLTEMPLATE ( 65536i32 ) ; pub const URLTEMPLATE_MEDLOW : URLTEMPLATE = URLTEMPLATE ( 66816i32 ) ; pub const URLTEMPLATE_MEDIUM : URLTEMPLATE = URLTEMPLATE ( 69632i32 ) ; pub const URLTEMPLATE_MEDHIGH : URLTEMPLATE = URLTEMPLATE ( 70912i32 ) ; pub const URLTEMPLATE_HIGH : URLTEMPLATE = URLTEMPLATE ( 73728i32 ) ; pub const URLTEMPLATE_PREDEFINED_MAX : URLTEMPLATE = URLTEMPLATE ( 131072i32 ) ; impl :: std :: convert :: From < i32 > for URLTEMPLATE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for URLTEMPLATE { 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 URLZONE ( pub i32 ) ; pub const URLZONE_INVALID : URLZONE = URLZONE ( -1i32 ) ; pub const URLZONE_PREDEFINED_MIN : URLZONE = URLZONE ( 0i32 ) ; pub const URLZONE_LOCAL_MACHINE : URLZONE = URLZONE ( 0i32 ) ; pub const URLZONE_INTRANET : URLZONE = URLZONE ( 1i32 ) ; pub const URLZONE_TRUSTED : URLZONE = URLZONE ( 2i32 ) ; pub const URLZONE_INTERNET : URLZONE = URLZONE ( 3i32 ) ; pub const URLZONE_UNTRUSTED : URLZONE = URLZONE ( 4i32 ) ; pub const URLZONE_PREDEFINED_MAX : URLZONE = URLZONE ( 999i32 ) ; pub const URLZONE_USER_MIN : URLZONE = URLZONE ( 1000i32 ) ; pub const URLZONE_USER_MAX : URLZONE = URLZONE ( 10000i32 ) ; impl :: std :: convert :: From < i32 > for URLZONE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for URLZONE { 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 URLZONEREG ( pub i32 ) ; pub const URLZONEREG_DEFAULT : URLZONEREG = URLZONEREG ( 0i32 ) ; pub const URLZONEREG_HKLM : URLZONEREG = URLZONEREG ( 1i32 ) ; pub const URLZONEREG_HKCU : URLZONEREG = URLZONEREG ( 2i32 ) ; impl :: std :: convert :: From < i32 > for URLZONEREG { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for URLZONEREG { type Abi = Self ; type DefaultType = Self ; } pub const URLZONE_ESC_FLAG : u32 = 256u32 ; # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct URL_ENCODING ( pub i32 ) ; pub const URL_ENCODING_NONE : URL_ENCODING = URL_ENCODING ( 0i32 ) ; pub const URL_ENCODING_ENABLE_UTF8 : URL_ENCODING = URL_ENCODING ( 268435456i32 ) ; pub const URL_ENCODING_DISABLE_UTF8 : URL_ENCODING = URL_ENCODING ( 536870912i32 ) ; impl :: std :: convert :: From < i32 > for URL_ENCODING { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for URL_ENCODING { type Abi = Self ; type DefaultType = Self ; } pub const URL_MK_LEGACY : u32 = 0u32 ; pub const URL_MK_NO_CANONICALIZE : u32 = 2u32 ; pub const URL_MK_UNIFORM : 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 USERCLASSTYPE ( pub i32 ) ; pub const USERCLASSTYPE_FULL : USERCLASSTYPE = USERCLASSTYPE ( 1i32 ) ; pub const USERCLASSTYPE_SHORT : USERCLASSTYPE = USERCLASSTYPE ( 2i32 ) ; pub const USERCLASSTYPE_APPNAME : USERCLASSTYPE = USERCLASSTYPE ( 3i32 ) ; impl :: std :: convert :: From < i32 > for USERCLASSTYPE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for USERCLASSTYPE { type Abi = Self ; type DefaultType = Self ; } pub const UriBuilder_USE_ORIGINAL_FLAGS : u32 = 1u32 ; pub const Uri_DISPLAY_IDN_HOST : u32 = 4u32 ; pub const Uri_DISPLAY_NO_FRAGMENT : u32 = 1u32 ; pub const Uri_DISPLAY_NO_PUNYCODE : u32 = 8u32 ; pub const Uri_ENCODING_HOST_IS_IDN : u32 = 4u32 ; pub const Uri_ENCODING_HOST_IS_PERCENT_ENCODED_CP : u32 = 16u32 ; pub const Uri_ENCODING_HOST_IS_PERCENT_ENCODED_UTF8 : u32 = 8u32 ; pub const Uri_ENCODING_QUERY_AND_FRAGMENT_IS_CP : u32 = 64u32 ; pub const Uri_ENCODING_QUERY_AND_FRAGMENT_IS_PERCENT_ENCODED_UTF8 : u32 = 32u32 ; pub const Uri_ENCODING_USER_INFO_AND_PATH_IS_CP : u32 = 2u32 ; pub const Uri_ENCODING_USER_INFO_AND_PATH_IS_PERCENT_ENCODED_UTF8 : 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 Uri_HOST_TYPE ( pub i32 ) ; pub const Uri_HOST_UNKNOWN : Uri_HOST_TYPE = Uri_HOST_TYPE ( 0i32 ) ; pub const Uri_HOST_DNS : Uri_HOST_TYPE = Uri_HOST_TYPE ( 1i32 ) ; pub const Uri_HOST_IPV4 : Uri_HOST_TYPE = Uri_HOST_TYPE ( 2i32 ) ; pub const Uri_HOST_IPV6 : Uri_HOST_TYPE = Uri_HOST_TYPE ( 3i32 ) ; pub const Uri_HOST_IDN : Uri_HOST_TYPE = Uri_HOST_TYPE ( 4i32 ) ; impl :: std :: convert :: From < i32 > for Uri_HOST_TYPE { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for Uri_HOST_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 Uri_PROPERTY ( pub i32 ) ; pub const Uri_PROPERTY_ABSOLUTE_URI : Uri_PROPERTY = Uri_PROPERTY ( 0i32 ) ; pub const Uri_PROPERTY_STRING_START : Uri_PROPERTY = Uri_PROPERTY ( 0i32 ) ; pub const Uri_PROPERTY_AUTHORITY : Uri_PROPERTY = Uri_PROPERTY ( 1i32 ) ; pub const Uri_PROPERTY_DISPLAY_URI : Uri_PROPERTY = Uri_PROPERTY ( 2i32 ) ; pub const Uri_PROPERTY_DOMAIN : Uri_PROPERTY = Uri_PROPERTY ( 3i32 ) ; pub const Uri_PROPERTY_EXTENSION : Uri_PROPERTY = Uri_PROPERTY ( 4i32 ) ; pub const Uri_PROPERTY_FRAGMENT : Uri_PROPERTY = Uri_PROPERTY ( 5i32 ) ; pub const Uri_PROPERTY_HOST : Uri_PROPERTY = Uri_PROPERTY ( 6i32 ) ; pub const Uri_PROPERTY_PASSWORD : Uri_PROPERTY = Uri_PROPERTY ( 7i32 ) ; pub const Uri_PROPERTY_PATH : Uri_PROPERTY = Uri_PROPERTY ( 8i32 ) ; pub const Uri_PROPERTY_PATH_AND_QUERY : Uri_PROPERTY = Uri_PROPERTY ( 9i32 ) ; pub const Uri_PROPERTY_QUERY : Uri_PROPERTY = Uri_PROPERTY ( 10i32 ) ; pub const Uri_PROPERTY_RAW_URI : Uri_PROPERTY = Uri_PROPERTY ( 11i32 ) ; pub const Uri_PROPERTY_SCHEME_NAME : Uri_PROPERTY = Uri_PROPERTY ( 12i32 ) ; pub const Uri_PROPERTY_USER_INFO : Uri_PROPERTY = Uri_PROPERTY ( 13i32 ) ; pub const Uri_PROPERTY_USER_NAME : Uri_PROPERTY = Uri_PROPERTY ( 14i32 ) ; pub const Uri_PROPERTY_STRING_LAST : Uri_PROPERTY = Uri_PROPERTY ( 14i32 ) ; pub const Uri_PROPERTY_HOST_TYPE : Uri_PROPERTY = Uri_PROPERTY ( 15i32 ) ; pub const Uri_PROPERTY_DWORD_START : Uri_PROPERTY = Uri_PROPERTY ( 15i32 ) ; pub const Uri_PROPERTY_PORT : Uri_PROPERTY = Uri_PROPERTY ( 16i32 ) ; pub const Uri_PROPERTY_SCHEME : Uri_PROPERTY = Uri_PROPERTY ( 17i32 ) ; pub const Uri_PROPERTY_ZONE : Uri_PROPERTY = Uri_PROPERTY ( 18i32 ) ; pub const Uri_PROPERTY_DWORD_LAST : Uri_PROPERTY = Uri_PROPERTY ( 18i32 ) ; impl :: std :: convert :: From < i32 > for Uri_PROPERTY { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for Uri_PROPERTY { type Abi = Self ; type DefaultType = Self ; } pub const Uri_PUNYCODE_IDN_HOST : u32 = 2u32 ; pub unsafe fn UrlMkGetSessionOption < > ( dwoption : u32 , pbuffer : * mut :: std :: ffi :: c_void , dwbufferlength : u32 , pdwbufferlengthout : * mut u32 , dwreserved : u32 , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="urlmon" ) ] extern "system" { fn UrlMkGetSessionOption ( dwoption : u32 , pbuffer : * mut :: std :: ffi :: c_void , dwbufferlength : u32 , pdwbufferlengthout : * mut u32 , dwreserved : u32 ) -> :: windows :: HRESULT ; } UrlMkGetSessionOption ( :: std :: mem :: transmute ( dwoption ) , :: std :: mem :: transmute ( pbuffer ) , :: std :: mem :: transmute ( dwbufferlength ) , :: std :: mem :: transmute ( pdwbufferlengthout ) , :: std :: mem :: transmute ( dwreserved ) ) . ok ( ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } pub unsafe fn UrlMkSetSessionOption < > ( dwoption : u32 , pbuffer : * mut :: std :: ffi :: c_void , dwbufferlength : u32 , dwreserved : u32 , ) -> :: windows :: Result < ( ) > { # [ cfg ( windows ) ] { # [ link ( name ="urlmon" ) ] extern "system" { fn UrlMkSetSessionOption ( dwoption : u32 , pbuffer : * mut :: std :: ffi :: c_void , dwbufferlength : u32 , dwreserved : u32 ) -> :: windows :: HRESULT ; } UrlMkSetSessionOption ( :: std :: mem :: transmute ( dwoption ) , :: std :: mem :: transmute ( pbuffer ) , :: std :: mem :: transmute ( dwbufferlength ) , :: std :: mem :: transmute ( dwreserved ) ) . ok ( ) } # [ 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 VIEWSTATUS ( pub i32 ) ; pub const VIEWSTATUS_OPAQUE : VIEWSTATUS = VIEWSTATUS ( 1i32 ) ; pub const VIEWSTATUS_SOLIDBKGND : VIEWSTATUS = VIEWSTATUS ( 2i32 ) ; pub const VIEWSTATUS_DVASPECTOPAQUE : VIEWSTATUS = VIEWSTATUS ( 4i32 ) ; pub const VIEWSTATUS_DVASPECTTRANSPARENT : VIEWSTATUS = VIEWSTATUS ( 8i32 ) ; pub const VIEWSTATUS_SURFACE : VIEWSTATUS = VIEWSTATUS ( 16i32 ) ; pub const VIEWSTATUS_3DSURFACE : VIEWSTATUS = VIEWSTATUS ( 32i32 ) ; impl :: std :: convert :: From < i32 > for VIEWSTATUS { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for VIEWSTATUS { type Abi = Self ; type DefaultType = Self ; } pub const VPF_DISABLERELATIVE : i32 = 2i32 ; pub const VPF_DISABLESCALE : i32 = 4i32 ; pub const VPF_SELECTRELATIVE : i32 = 1i32 ; pub const VT_BLOB_PROPSET : u32 = 75u32 ; pub const VT_STORED_PROPSET : u32 = 74u32 ; pub const VT_STREAMED_PROPSET : u32 = 73u32 ; pub const VT_VERBOSE_ENUM : u32 = 76u32 ; pub const WIN32 : u32 = 100u32 ; pub const WININETINFO_OPTION_LOCK_HANDLE : u32 = 65534u32 ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct WORD_BLOB { pub clSize : u32 , pub asData : [ u16 ;1 ] } impl WORD_BLOB { } impl :: std :: default :: Default for WORD_BLOB { fn default ( ) -> Self { Self { clSize : 0 , asData : [ 0 ;1 ] } } } impl :: std :: fmt :: Debug for WORD_BLOB { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "WORD_BLOB" ) . field ( "clSize" , & self . clSize ) . field ( "asData" , & self . asData ) . finish ( ) } } impl :: std :: cmp :: PartialEq for WORD_BLOB { fn eq ( & self , other : & Self ) -> bool { self . clSize == other . clSize && self . asData == other . asData } } impl :: std :: cmp :: Eq for WORD_BLOB { } unsafe impl :: windows :: Abi for WORD_BLOB { 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 WPCSETTING ( pub i32 ) ; pub const WPCSETTING_LOGGING_ENABLED : WPCSETTING = WPCSETTING ( 1i32 ) ; pub const WPCSETTING_FILEDOWNLOAD_BLOCKED : WPCSETTING = WPCSETTING ( 2i32 ) ; impl :: std :: convert :: From < i32 > for WPCSETTING { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for WPCSETTING { type Abi = Self ; type DefaultType = Self ; } pub unsafe fn WriteHitLogging < > ( lplogginginfo : * mut HIT_LOGGING_INFO , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="urlmon" ) ] extern "system" { fn WriteHitLogging ( lplogginginfo : * mut HIT_LOGGING_INFO ) -> super::super::Foundation:: BOOL ; } WriteHitLogging ( :: std :: mem :: transmute ( lplogginginfo ) ) } # [ 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 XFORMCOORDS ( pub i32 ) ; pub const XFORMCOORDS_POSITION : XFORMCOORDS = XFORMCOORDS ( 1i32 ) ; pub const XFORMCOORDS_SIZE : XFORMCOORDS = XFORMCOORDS ( 2i32 ) ; pub const XFORMCOORDS_HIMETRICTOCONTAINER : XFORMCOORDS = XFORMCOORDS ( 4i32 ) ; pub const XFORMCOORDS_CONTAINERTOHIMETRIC : XFORMCOORDS = XFORMCOORDS ( 8i32 ) ; pub const XFORMCOORDS_EVENTCOMPAT : XFORMCOORDS = XFORMCOORDS ( 16i32 ) ; impl :: std :: convert :: From < i32 > for XFORMCOORDS { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for XFORMCOORDS { 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 ZAFLAGS ( pub i32 ) ; pub const ZAFLAGS_CUSTOM_EDIT : ZAFLAGS = ZAFLAGS ( 1i32 ) ; pub const ZAFLAGS_ADD_SITES : ZAFLAGS = ZAFLAGS ( 2i32 ) ; pub const ZAFLAGS_REQUIRE_VERIFICATION : ZAFLAGS = ZAFLAGS ( 4i32 ) ; pub const ZAFLAGS_INCLUDE_PROXY_OVERRIDE : ZAFLAGS = ZAFLAGS ( 8i32 ) ; pub const ZAFLAGS_INCLUDE_INTRANET_SITES : ZAFLAGS = ZAFLAGS ( 16i32 ) ; pub const ZAFLAGS_NO_UI : ZAFLAGS = ZAFLAGS ( 32i32 ) ; pub const ZAFLAGS_SUPPORTS_VERIFICATION : ZAFLAGS = ZAFLAGS ( 64i32 ) ; pub const ZAFLAGS_UNC_AS_INTRANET : ZAFLAGS = ZAFLAGS ( 128i32 ) ; pub const ZAFLAGS_DETECT_INTRANET : ZAFLAGS = ZAFLAGS ( 256i32 ) ; pub const ZAFLAGS_USE_LOCKED_ZONES : ZAFLAGS = ZAFLAGS ( 65536i32 ) ; pub const ZAFLAGS_VERIFY_TEMPLATE_SETTINGS : ZAFLAGS = ZAFLAGS ( 131072i32 ) ; pub const ZAFLAGS_NO_CACHE : ZAFLAGS = ZAFLAGS ( 262144i32 ) ; impl :: std :: convert :: From < i32 > for ZAFLAGS { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for ZAFLAGS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct ZONEATTRIBUTES { pub cbSize : u32 , pub szDisplayName : [ u16 ;260 ] , pub szDescription : [ u16 ;200 ] , pub szIconPath : [ u16 ;260 ] , pub dwTemplateMinLevel : u32 , pub dwTemplateRecommended : u32 , pub dwTemplateCurrentLevel : u32 , pub dwFlags : u32 } impl ZONEATTRIBUTES { } impl :: std :: default :: Default for ZONEATTRIBUTES { fn default ( ) -> Self { Self { cbSize : 0 , szDisplayName : [ 0 ;260 ] , szDescription : [ 0 ;200 ] , szIconPath : [ 0 ;260 ] , dwTemplateMinLevel : 0 , dwTemplateRecommended : 0 , dwTemplateCurrentLevel : 0 , dwFlags : 0 } } } impl :: std :: fmt :: Debug for ZONEATTRIBUTES { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "ZONEATTRIBUTES" ) . field ( "cbSize" , & self . cbSize ) . field ( "szDisplayName" , & self . szDisplayName ) . field ( "szDescription" , & self . szDescription ) . field ( "szIconPath" , & self . szIconPath ) . field ( "dwTemplateMinLevel" , & self . dwTemplateMinLevel ) . field ( "dwTemplateRecommended" , & self . dwTemplateRecommended ) . field ( "dwTemplateCurrentLevel" , & self . dwTemplateCurrentLevel ) . field ( "dwFlags" , & self . dwFlags ) . finish ( ) } } impl :: std :: cmp :: PartialEq for ZONEATTRIBUTES { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . szDisplayName == other . szDisplayName && self . szDescription == other . szDescription && self . szIconPath == other . szIconPath && self . dwTemplateMinLevel == other . dwTemplateMinLevel && self . dwTemplateRecommended == other . dwTemplateRecommended && self . dwTemplateCurrentLevel == other . dwTemplateCurrentLevel && self . dwFlags == other . dwFlags } } impl :: std :: cmp :: Eq for ZONEATTRIBUTES { } unsafe impl :: windows :: Abi for ZONEATTRIBUTES { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone ) ] # [ repr ( C ) ] pub struct userFLAG_STGMEDIUM { pub ContextFlags : i32 , pub fPassOwnership : i32 , pub Stgmed : userSTGMEDIUM } impl userFLAG_STGMEDIUM { } impl :: std :: default :: Default for userFLAG_STGMEDIUM { fn default ( ) -> Self { Self { ContextFlags : 0 , fPassOwnership : 0 , Stgmed : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for userFLAG_STGMEDIUM { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "userFLAG_STGMEDIUM" ) . field ( "ContextFlags" , & self . ContextFlags ) . field ( "fPassOwnership" , & self . fPassOwnership ) . field ( "Stgmed" , & self . Stgmed ) . finish ( ) } } impl :: std :: cmp :: PartialEq for userFLAG_STGMEDIUM { fn eq ( & self , other : & Self ) -> bool { self . ContextFlags == other . ContextFlags && self . fPassOwnership == other . fPassOwnership && self . Stgmed == other . Stgmed } } impl :: std :: cmp :: Eq for userFLAG_STGMEDIUM { } # [ repr ( C ) ] # [ doc ( hidden ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct userFLAG_STGMEDIUM_abi { pub ContextFlags : i32 , pub fPassOwnership : i32 , pub Stgmed : userSTGMEDIUM_abi } unsafe impl :: windows :: Abi for userFLAG_STGMEDIUM { type Abi = userFLAG_STGMEDIUM_abi ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone ) ] # [ repr ( C ) ] pub struct userSTGMEDIUM { pub pUnkForRelease : :: std :: option :: Option < :: windows :: IUnknown > } impl userSTGMEDIUM { } impl :: std :: default :: Default for userSTGMEDIUM { fn default ( ) -> Self { Self { pUnkForRelease : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for userSTGMEDIUM { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "userSTGMEDIUM" ) . field ( "pUnkForRelease" , & self . pUnkForRelease ) . finish ( ) } } impl :: std :: cmp :: PartialEq for userSTGMEDIUM { fn eq ( & self , other : & Self ) -> bool { self . pUnkForRelease == other . pUnkForRelease } } impl :: std :: cmp :: Eq for userSTGMEDIUM { } # [ repr ( C ) ] # [ doc ( hidden ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct userSTGMEDIUM_abi { pub pUnkForRelease : :: windows :: RawPtr } unsafe impl :: windows :: Abi for userSTGMEDIUM { type Abi = userSTGMEDIUM_abi ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct userSTGMEDIUM_0 { pub tymed : u32 , pub u : userSTGMEDIUM_0_0 } impl userSTGMEDIUM_0 { } impl :: std :: cmp :: PartialEq for userSTGMEDIUM_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for userSTGMEDIUM_0 { } unsafe impl :: windows :: Abi for userSTGMEDIUM_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union userSTGMEDIUM_0_0 { pub hMetaFilePict : * mut super::SystemServices:: userHMETAFILEPICT , pub hHEnhMetaFile : * mut super::SystemServices:: userHENHMETAFILE , pub hGdiHandle : * mut GDI_OBJECT , pub hGlobal : * mut super::SystemServices:: userHGLOBAL , pub lpszFileName : super::super::Foundation:: PWSTR , pub pstm : * mut BYTE_BLOB , pub pstg : * mut BYTE_BLOB } impl userSTGMEDIUM_0_0 { } impl :: std :: cmp :: PartialEq for userSTGMEDIUM_0_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for userSTGMEDIUM_0_0 { } unsafe impl :: windows :: Abi for userSTGMEDIUM_0_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 ComponentServices { # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] # [ doc ( hidden ) ] pub struct IEventObjectCollection ( :: windows :: IUnknown ) ; unsafe impl :: windows :: Interface for IEventObjectCollection { type Vtable = < :: windows :: IUnknown as :: windows :: Interface > :: Vtable ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 4170891888 ,54507 ,4561 , [ 182 ,130 ,0 ,128 ,95 ,199 ,146 ,22 ] , ) ; } } # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod Console { 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" ) ; } } # [ 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 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 ; } } # [ allow ( unused_variables , non_upper_case_globals , non_snake_case , unused_unsafe , non_camel_case_types , dead_code , clippy :: all ) ] pub mod LibraryLoader { # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( transparent ) ] pub struct HRSRC ( pub isize ) ; impl HRSRC { } impl :: std :: default :: Default for HRSRC { fn default ( ) -> Self { Self ( 0 ) } } impl HRSRC { pub const NULL : Self = Self ( 0 ) ; pub fn is_null ( & self ) -> bool { self . 0 == 0 } } impl :: std :: fmt :: Debug for HRSRC { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "HRSRC" ) . field ( "Value" , & self .0 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for HRSRC { fn eq ( & self , other : & Self ) -> bool { self .0 == other .0 } } impl :: std :: cmp :: Eq for HRSRC { } unsafe impl :: windows :: Abi for HRSRC { 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 OleAutomation { # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct DISPPARAMS { pub rgvarg : * mut VARIANT , pub rgdispidNamedArgs : * mut i32 , pub cArgs : u32 , pub cNamedArgs : u32 } impl DISPPARAMS { } impl :: std :: default :: Default for DISPPARAMS { fn default ( ) -> Self { Self { rgvarg : :: std :: ptr :: null_mut ( ) , rgdispidNamedArgs : :: std :: ptr :: null_mut ( ) , cArgs : 0 , cNamedArgs : 0 } } } impl :: std :: fmt :: Debug for DISPPARAMS { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "DISPPARAMS" ) . field ( "rgvarg" , & self . rgvarg ) . field ( "rgdispidNamedArgs" , & self . rgdispidNamedArgs ) . field ( "cArgs" , & self . cArgs ) . field ( "cNamedArgs" , & self . cNamedArgs ) . finish ( ) } } impl :: std :: cmp :: PartialEq for DISPPARAMS { fn eq ( & self , other : & Self ) -> bool { self . rgvarg == other . rgvarg && self . rgdispidNamedArgs == other . rgdispidNamedArgs && self . cArgs == other . cArgs && self . cNamedArgs == other . cNamedArgs } } impl :: std :: cmp :: Eq for DISPPARAMS { } unsafe impl :: windows :: Abi for DISPPARAMS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone ) ] # [ repr ( C ) ] pub struct EXCEPINFO { pub wCode : u16 , pub wReserved : u16 , pub bstrSource : super::super::Foundation:: BSTR , pub bstrDescription : super::super::Foundation:: BSTR , pub bstrHelpFile : super::super::Foundation:: BSTR , pub dwHelpContext : u32 , pub pvReserved : * mut :: std :: ffi :: c_void , pub pfnDeferredFillIn : :: std :: option :: Option < LPEXCEPFINO_DEFERRED_FILLIN > , pub scode : i32 } impl EXCEPINFO { } impl :: std :: default :: Default for EXCEPINFO { fn default ( ) -> Self { Self { wCode : 0 , wReserved : 0 , bstrSource : :: std :: default :: Default :: default ( ) , bstrDescription : :: std :: default :: Default :: default ( ) , bstrHelpFile : :: std :: default :: Default :: default ( ) , dwHelpContext : 0 , pvReserved : :: std :: ptr :: null_mut ( ) , pfnDeferredFillIn : :: std :: default :: Default :: default ( ) , scode : 0 } } } impl :: std :: fmt :: Debug for EXCEPINFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "EXCEPINFO" ) . field ( "wCode" , & self . wCode ) . field ( "wReserved" , & self . wReserved ) . field ( "bstrSource" , & self . bstrSource ) . field ( "bstrDescription" , & self . bstrDescription ) . field ( "bstrHelpFile" , & self . bstrHelpFile ) . field ( "dwHelpContext" , & self . dwHelpContext ) . field ( "pvReserved" , & self . pvReserved ) . field ( "scode" , & self . scode ) . finish ( ) } } impl :: std :: cmp :: PartialEq for EXCEPINFO { fn eq ( & self , other : & Self ) -> bool { self . wCode == other . wCode && self . wReserved == other . wReserved && self . bstrSource == other . bstrSource && self . bstrDescription == other . bstrDescription && self . bstrHelpFile == other . bstrHelpFile && self . dwHelpContext == other . dwHelpContext && self . pvReserved == other . pvReserved && self . pfnDeferredFillIn . map ( | f | f as usize ) == other . pfnDeferredFillIn . map ( | f | f as usize ) && self . scode == other . scode } } impl :: std :: cmp :: Eq for EXCEPINFO { } # [ repr ( C ) ] # [ doc ( hidden ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct EXCEPINFO_abi { pub wCode : u16 , pub wReserved : u16 , pub bstrSource : super::super::Foundation:: BSTR_abi , pub bstrDescription : super::super::Foundation:: BSTR_abi , pub bstrHelpFile : super::super::Foundation:: BSTR_abi , pub dwHelpContext : u32 , pub pvReserved : * mut :: std :: ffi :: c_void , pub pfnDeferredFillIn : :: windows :: RawPtr , pub scode : i32 } unsafe impl :: windows :: Abi for EXCEPINFO { type Abi = EXCEPINFO_abi ; type DefaultType = Self ; } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IDispatch ( :: windows :: IUnknown ) ; impl IDispatch { pub unsafe fn GetTypeInfoCount < > ( & self , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn GetTypeInfo < > ( & self , itinfo : u32 , lcid : u32 , ) -> :: windows :: Result < ITypeInfo > { let mut result__ : < ITypeInfo as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( itinfo ) , :: std :: mem :: transmute ( lcid ) , & mut result__ ) . from_abi :: < ITypeInfo > ( result__ ) } pub unsafe fn GetIDsOfNames < > ( & self , riid : * const :: windows :: Guid , rgsznames : * mut super::super::Foundation:: PWSTR , cnames : u32 , lcid : u32 , rgdispid : * mut i32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( riid ) , :: std :: mem :: transmute ( rgsznames ) , :: std :: mem :: transmute ( cnames ) , :: std :: mem :: transmute ( lcid ) , :: std :: mem :: transmute ( rgdispid ) , ) . ok ( ) } pub unsafe fn Invoke < > ( & self , dispidmember : i32 , riid : * const :: windows :: Guid , lcid : u32 , wflags : u16 , pdispparams : * mut DISPPARAMS , pvarresult : * mut VARIANT , pexcepinfo : * mut EXCEPINFO , puargerr : * mut u32 , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( dispidmember ) , :: std :: mem :: transmute ( riid ) , :: std :: mem :: transmute ( lcid ) , :: std :: mem :: transmute ( wflags ) , :: std :: mem :: transmute ( pdispparams ) , :: std :: mem :: transmute ( pvarresult ) , :: std :: mem :: transmute ( pexcepinfo ) , :: std :: mem :: transmute ( puargerr ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IDispatch { type Vtable = IDispatch_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 132096 ,0 ,0 , [ 192 ,0 ,0 ,0 ,0 ,0 ,0 ,70 ] , ) ; } impl :: std :: convert :: From < IDispatch > for :: windows :: IUnknown { fn from ( value : IDispatch ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IDispatch > for :: windows :: IUnknown { fn from ( value : & IDispatch ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IDispatch { 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 IDispatch { 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 IDispatch_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 , pctinfo : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , itinfo : u32 , lcid : u32 , pptinfo : * mut :: windows :: RawPtr , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , riid : * const :: windows :: Guid , rgsznames : * mut super::super::Foundation:: PWSTR , cnames : u32 , lcid : u32 , rgdispid : * mut i32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , dispidmember : i32 , riid : * const :: windows :: Guid , lcid : u32 , wflags : u16 , pdispparams : * mut DISPPARAMS , pvarresult : * mut VARIANT_abi , pexcepinfo : * mut EXCEPINFO_abi , puargerr : * mut u32 , ) -> :: windows :: HRESULT , ) ; # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] # [ doc ( hidden ) ] pub struct IErrorLog ( :: windows :: IUnknown ) ; unsafe impl :: windows :: Interface for IErrorLog { type Vtable = < :: windows :: IUnknown as :: windows :: Interface > :: Vtable ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 824691264 ,17518 ,4558 , [ 129 ,53 ,0 ,170 ,0 ,75 ,184 ,81 ] , ) ; } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] # [ doc ( hidden ) ] pub struct IPropertyBag ( :: windows :: IUnknown ) ; unsafe impl :: windows :: Interface for IPropertyBag { type Vtable = < :: windows :: IUnknown as :: windows :: Interface > :: Vtable ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 1428630016 ,17099 ,4558 , [ 129 ,53 ,0 ,170 ,0 ,75 ,184 ,81 ] , ) ; } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] # [ doc ( hidden ) ] pub struct IRecordInfo ( :: windows :: IUnknown ) ; unsafe impl :: windows :: Interface for IRecordInfo { type Vtable = < :: windows :: IUnknown as :: windows :: Interface > :: Vtable ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 47 ,0 ,0 , [ 192 ,0 ,0 ,0 ,0 ,0 ,0 ,70 ] , ) ; } # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] # [ doc ( hidden ) ] pub struct ITypeInfo ( :: windows :: IUnknown ) ; unsafe impl :: windows :: Interface for ITypeInfo { type Vtable = < :: windows :: IUnknown as :: windows :: Interface > :: Vtable ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 132097 ,0 ,0 , [ 192 ,0 ,0 ,0 ,0 ,0 ,0 ,70 ] , ) ; } pub type LPEXCEPFINO_DEFERRED_FILLIN = unsafe extern "system" fn ( pexcepinfo : * mut EXCEPINFO_abi ) -> :: windows :: HRESULT ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SAFEARRAY { pub cDims : u16 , pub fFeatures : u16 , pub cbElements : u32 , pub cLocks : u32 , pub pvData : * mut :: std :: ffi :: c_void , pub rgsabound : [ SAFEARRAYBOUND ;1 ] } impl SAFEARRAY { } impl :: std :: default :: Default for SAFEARRAY { fn default ( ) -> Self { Self { cDims : 0 , fFeatures : 0 , cbElements : 0 , cLocks : 0 , pvData : :: std :: ptr :: null_mut ( ) , rgsabound : [ :: std :: default :: Default :: default ( ) ;1 ] } } } impl :: std :: fmt :: Debug for SAFEARRAY { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SAFEARRAY" ) . field ( "cDims" , & self . cDims ) . field ( "fFeatures" , & self . fFeatures ) . field ( "cbElements" , & self . cbElements ) . field ( "cLocks" , & self . cLocks ) . field ( "pvData" , & self . pvData ) . field ( "rgsabound" , & self . rgsabound ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SAFEARRAY { fn eq ( & self , other : & Self ) -> bool { self . cDims == other . cDims && self . fFeatures == other . fFeatures && self . cbElements == other . cbElements && self . cLocks == other . cLocks && self . pvData == other . pvData && self . rgsabound == other . rgsabound } } impl :: std :: cmp :: Eq for SAFEARRAY { } unsafe impl :: windows :: Abi for SAFEARRAY { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SAFEARRAYBOUND { pub cElements : u32 , pub lLbound : i32 } impl SAFEARRAYBOUND { } impl :: std :: default :: Default for SAFEARRAYBOUND { fn default ( ) -> Self { Self { cElements : 0 , lLbound : 0 } } } impl :: std :: fmt :: Debug for SAFEARRAYBOUND { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SAFEARRAYBOUND" ) . field ( "cElements" , & self . cElements ) . field ( "lLbound" , & self . lLbound ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SAFEARRAYBOUND { fn eq ( & self , other : & Self ) -> bool { self . cElements == other . cElements && self . lLbound == other . lLbound } } impl :: std :: cmp :: Eq for SAFEARRAYBOUND { } unsafe impl :: windows :: Abi for SAFEARRAYBOUND { type Abi = Self ; type DefaultType = Self ; } impl :: std :: clone :: Clone for VARIANT { fn clone ( & self ) -> Self { unimplemented ! ( ) } } # [ repr ( C ) ] pub struct VARIANT { pub Anonymous : VARIANT_0 } impl VARIANT { } impl :: std :: cmp :: PartialEq for VARIANT { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for VARIANT { } # [ repr ( C ) ] # [ doc ( hidden ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct VARIANT_abi { pub Anonymous : VARIANT_0_abi } unsafe impl :: windows :: Abi for VARIANT { type Abi = VARIANT_abi ; type DefaultType = Self ; } impl :: std :: clone :: Clone for VARIANT_0 { fn clone ( & self ) -> Self { unimplemented ! ( ) } } # [ repr ( C ) ] pub union VARIANT_0 { pub Anonymous : VARIANT_0_0_abi , pub decVal : super::SystemServices:: DECIMAL } impl VARIANT_0 { } impl :: std :: cmp :: PartialEq for VARIANT_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for VARIANT_0 { } # [ repr ( C ) ] # [ doc ( hidden ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub union VARIANT_0_abi { pub Anonymous : VARIANT_0_0_abi , pub decVal : super::SystemServices:: DECIMAL } unsafe impl :: windows :: Abi for VARIANT_0 { type Abi = VARIANT_0_abi ; type DefaultType = Self ; } impl :: std :: clone :: Clone for VARIANT_0_0 { fn clone ( & self ) -> Self { unimplemented ! ( ) } } # [ repr ( C ) ] pub struct VARIANT_0_0 { pub vt : u16 , pub wReserved1 : u16 , pub wReserved2 : u16 , pub wReserved3 : u16 , pub Anonymous : VARIANT_0_0_0 } impl VARIANT_0_0 { } impl :: std :: cmp :: PartialEq for VARIANT_0_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for VARIANT_0_0 { } # [ repr ( C ) ] # [ doc ( hidden ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct VARIANT_0_0_abi { pub vt : u16 , pub wReserved1 : u16 , pub wReserved2 : u16 , pub wReserved3 : u16 , pub Anonymous : VARIANT_0_0_0_abi } unsafe impl :: windows :: Abi for VARIANT_0_0 { type Abi = VARIANT_0_0_abi ; type DefaultType = Self ; } impl :: std :: clone :: Clone for VARIANT_0_0_0 { fn clone ( & self ) -> Self { unimplemented ! ( ) } } # [ repr ( C ) ] pub union VARIANT_0_0_0 { pub llVal : i64 , pub lVal : i32 , pub bVal : u8 , pub iVal : i16 , pub fltVal : f32 , pub dblVal : f64 , pub boolVal : i16 , pub __OBSOLETE__VARIANT_BOOL : i16 , pub scode : i32 , pub cyVal : super::SystemServices:: CY , pub date : f64 , pub bstrVal : super::super::Foundation:: BSTR_abi , pub punkVal : :: windows :: RawPtr , pub pdispVal : :: windows :: RawPtr , pub parray : * mut SAFEARRAY , pub pbVal : * mut u8 , pub piVal : * mut i16 , pub plVal : * mut i32 , pub pllVal : * mut i64 , pub pfltVal : * mut f32 , pub pdblVal : * mut f64 , pub pboolVal : * mut i16 , pub __OBSOLETE__VARIANT_PBOOL : * mut i16 , pub pscode : * mut i32 , pub pcyVal : * mut super::SystemServices:: CY , pub pdate : * mut f64 , pub pbstrVal : * mut super::super::Foundation:: BSTR_abi , pub ppunkVal : * mut :: windows :: RawPtr , pub ppdispVal : * mut :: windows :: RawPtr , pub pparray : * mut * mut SAFEARRAY , pub pvarVal : * mut VARIANT_abi , pub byref : * mut :: std :: ffi :: c_void , pub cVal : super::SystemServices:: CHAR , pub uiVal : u16 , pub ulVal : u32 , pub ullVal : u64 , pub intVal : i32 , pub uintVal : u32 , pub pdecVal : * mut super::SystemServices:: DECIMAL , pub pcVal : super::super::Foundation:: PSTR , pub puiVal : * mut u16 , pub pulVal : * mut u32 , pub pullVal : * mut u64 , pub pintVal : * mut i32 , pub puintVal : * mut u32 , pub Anonymous : VARIANT_0_0_0_0_abi } impl VARIANT_0_0_0 { } impl :: std :: cmp :: PartialEq for VARIANT_0_0_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for VARIANT_0_0_0 { } # [ repr ( C ) ] # [ doc ( hidden ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub union VARIANT_0_0_0_abi { pub llVal : i64 , pub lVal : i32 , pub bVal : u8 , pub iVal : i16 , pub fltVal : f32 , pub dblVal : f64 , pub boolVal : i16 , pub __OBSOLETE__VARIANT_BOOL : i16 , pub scode : i32 , pub cyVal : super::SystemServices:: CY , pub date : f64 , pub bstrVal : super::super::Foundation:: BSTR_abi , pub punkVal : :: windows :: RawPtr , pub pdispVal : :: windows :: RawPtr , pub parray : * mut SAFEARRAY , pub pbVal : * mut u8 , pub piVal : * mut i16 , pub plVal : * mut i32 , pub pllVal : * mut i64 , pub pfltVal : * mut f32 , pub pdblVal : * mut f64 , pub pboolVal : * mut i16 , pub __OBSOLETE__VARIANT_PBOOL : * mut i16 , pub pscode : * mut i32 , pub pcyVal : * mut super::SystemServices:: CY , pub pdate : * mut f64 , pub pbstrVal : * mut super::super::Foundation:: BSTR_abi , pub ppunkVal : * mut :: windows :: RawPtr , pub ppdispVal : * mut :: windows :: RawPtr , pub pparray : * mut * mut SAFEARRAY , pub pvarVal : * mut VARIANT_abi , pub byref : * mut :: std :: ffi :: c_void , pub cVal : super::SystemServices:: CHAR , pub uiVal : u16 , pub ulVal : u32 , pub ullVal : u64 , pub intVal : i32 , pub uintVal : u32 , pub pdecVal : * mut super::SystemServices:: DECIMAL , pub pcVal : super::super::Foundation:: PSTR , pub puiVal : * mut u16 , pub pulVal : * mut u32 , pub pullVal : * mut u64 , pub pintVal : * mut i32 , pub puintVal : * mut u32 , pub Anonymous : VARIANT_0_0_0_0_abi } unsafe impl :: windows :: Abi for VARIANT_0_0_0 { type Abi = VARIANT_0_0_0_abi ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone ) ] # [ repr ( C ) ] pub struct VARIANT_0_0_0_0 { pub pvRecord : * mut :: std :: ffi :: c_void , pub pRecInfo : :: std :: option :: Option < IRecordInfo > } impl VARIANT_0_0_0_0 { } impl :: std :: default :: Default for VARIANT_0_0_0_0 { fn default ( ) -> Self { Self { pvRecord : :: std :: ptr :: null_mut ( ) , pRecInfo : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for VARIANT_0_0_0_0 { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "_Anonymous_e__Struct" ) . field ( "pvRecord" , & self . pvRecord ) . field ( "pRecInfo" , & self . pRecInfo ) . finish ( ) } } impl :: std :: cmp :: PartialEq for VARIANT_0_0_0_0 { fn eq ( & self , other : & Self ) -> bool { self . pvRecord == other . pvRecord && self . pRecInfo == other . pRecInfo } } impl :: std :: cmp :: Eq for VARIANT_0_0_0_0 { } # [ repr ( C ) ] # [ doc ( hidden ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct VARIANT_0_0_0_0_abi { pub pvRecord : * mut :: std :: ffi :: c_void , pub pRecInfo : :: windows :: RawPtr } unsafe impl :: windows :: Abi for VARIANT_0_0_0_0 { type Abi = VARIANT_0_0_0_0_abi ; 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 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 { # [ repr ( transparent ) ] # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: clone :: Clone , :: std :: fmt :: Debug ) ] pub struct IPropertyStore ( :: windows :: IUnknown ) ; impl IPropertyStore { pub unsafe fn GetCount < > ( & self , ) -> :: windows :: Result < u32 > { let mut result__ : < u32 as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .3 ) ( :: windows :: Abi :: abi ( self ) , & mut result__ ) . from_abi :: < u32 > ( result__ ) } pub unsafe fn GetAt < > ( & self , iprop : u32 , ) -> :: windows :: Result < PROPERTYKEY > { let mut result__ : < PROPERTYKEY as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .4 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( iprop ) , & mut result__ ) . from_abi :: < PROPERTYKEY > ( result__ ) } pub unsafe fn GetValue < > ( & self , key : * const PROPERTYKEY , ) -> :: windows :: Result < super::super::Storage::StructuredStorage:: PROPVARIANT > { let mut result__ : < super::super::Storage::StructuredStorage:: PROPVARIANT as :: windows :: Abi > :: Abi = :: std :: mem :: zeroed ( ) ; ( :: windows :: Interface :: vtable ( self ) .5 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( key ) , & mut result__ ) . from_abi :: < super::super::Storage::StructuredStorage:: PROPVARIANT > ( result__ ) } pub unsafe fn SetValue < > ( & self , key : * const PROPERTYKEY , propvar : * const super::super::Storage::StructuredStorage:: PROPVARIANT , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .6 ) ( :: windows :: Abi :: abi ( self ) , :: std :: mem :: transmute ( key ) , :: std :: mem :: transmute ( propvar ) , ) . ok ( ) } pub unsafe fn Commit < > ( & self , ) -> :: windows :: Result < ( ) > { ( :: windows :: Interface :: vtable ( self ) .7 ) ( :: windows :: Abi :: abi ( self ) , ) . ok ( ) } } unsafe impl :: windows :: Interface for IPropertyStore { type Vtable = IPropertyStore_abi ; const IID : :: windows :: Guid = :: windows :: Guid :: from_values ( 2288881387 ,36082 ,17478 , [ 141 ,2 ,205 ,186 ,29 ,189 ,207 ,153 ] , ) ; } impl :: std :: convert :: From < IPropertyStore > for :: windows :: IUnknown { fn from ( value : IPropertyStore ) -> Self { unsafe { :: std :: mem :: transmute ( value ) } } } impl :: std :: convert :: From < & IPropertyStore > for :: windows :: IUnknown { fn from ( value : & IPropertyStore ) -> Self { :: std :: convert :: From :: from ( :: std :: clone :: Clone :: clone ( value ) ) } } impl < 'a > :: windows :: IntoParam < 'a , :: windows :: IUnknown > for IPropertyStore { 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 IPropertyStore { 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 IPropertyStore_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 , cprops : * mut u32 , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , iprop : u32 , pkey : * mut PROPERTYKEY , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , key : * const PROPERTYKEY , pv : * mut super::super::Storage::StructuredStorage:: PROPVARIANT_abi , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , key : * const PROPERTYKEY , propvar : * const super::super::Storage::StructuredStorage:: PROPVARIANT_abi , ) -> :: windows :: HRESULT , pub unsafe extern "system" fn ( this : :: windows :: RawPtr , ) -> :: windows :: HRESULT , ) ; # [ 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 RemoteDesktop { # [ derive ( :: std :: cmp :: PartialEq , :: std :: cmp :: Eq , :: std :: marker :: Copy , :: std :: clone :: Clone , :: std :: default :: Default , :: std :: fmt :: Debug ) ] # [ repr ( transparent ) ] pub struct APO_BUFFER_FLAGS ( pub i32 ) ; pub const BUFFER_INVALID : APO_BUFFER_FLAGS = APO_BUFFER_FLAGS ( 0i32 ) ; pub const BUFFER_VALID : APO_BUFFER_FLAGS = APO_BUFFER_FLAGS ( 1i32 ) ; pub const BUFFER_SILENT : APO_BUFFER_FLAGS = APO_BUFFER_FLAGS ( 2i32 ) ; impl :: std :: convert :: From < i32 > for APO_BUFFER_FLAGS { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for APO_BUFFER_FLAGS { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct APO_CONNECTION_PROPERTY { pub pBuffer : usize , pub u32ValidFrameCount : u32 , pub u32BufferFlags : APO_BUFFER_FLAGS , pub u32Signature : u32 } impl APO_CONNECTION_PROPERTY { } impl :: std :: default :: Default for APO_CONNECTION_PROPERTY { fn default ( ) -> Self { Self { pBuffer : 0 , u32ValidFrameCount : 0 , u32BufferFlags : :: std :: default :: Default :: default ( ) , u32Signature : 0 } } } impl :: std :: fmt :: Debug for APO_CONNECTION_PROPERTY { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "APO_CONNECTION_PROPERTY" ) . field ( "pBuffer" , & self . pBuffer ) . field ( "u32ValidFrameCount" , & self . u32ValidFrameCount ) . field ( "u32BufferFlags" , & self . u32BufferFlags ) . field ( "u32Signature" , & self . u32Signature ) . finish ( ) } } impl :: std :: cmp :: PartialEq for APO_CONNECTION_PROPERTY { fn eq ( & self , other : & Self ) -> bool { self . pBuffer == other . pBuffer && self . u32ValidFrameCount == other . u32ValidFrameCount && self . u32BufferFlags == other . u32BufferFlags && self . u32Signature == other . u32Signature } } impl :: std :: cmp :: Eq for APO_CONNECTION_PROPERTY { } unsafe impl :: windows :: Abi for APO_CONNECTION_PROPERTY { 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 ( 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 ; } } } # [ 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 Controls { # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( transparent ) ] pub struct HPROPSHEETPAGE ( pub isize ) ; impl HPROPSHEETPAGE { } impl :: std :: default :: Default for HPROPSHEETPAGE { fn default ( ) -> Self { Self ( 0 ) } } impl HPROPSHEETPAGE { pub const NULL : Self = Self ( 0 ) ; pub fn is_null ( & self ) -> bool { self . 0 == 0 } } impl :: std :: fmt :: Debug for HPROPSHEETPAGE { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "HPROPSHEETPAGE" ) . field ( "Value" , & self .0 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for HPROPSHEETPAGE { fn eq ( & self , other : & Self ) -> bool { self .0 == other .0 } } impl :: std :: cmp :: Eq for HPROPSHEETPAGE { } unsafe impl :: windows :: Abi for HPROPSHEETPAGE { type Abi = Self ; type DefaultType = Self ; } pub type LPFNPSPCALLBACKA = unsafe extern "system" fn ( hwnd : super::super::Foundation:: HWND , umsg : PSPCB_MESSAGE , ppsp : * mut PROPSHEETPAGEA_abi ) -> u32 ; pub type LPFNPSPCALLBACKW = unsafe extern "system" fn ( hwnd : super::super::Foundation:: HWND , umsg : PSPCB_MESSAGE , ppsp : * mut PROPSHEETPAGEW_abi ) -> u32 ; pub type PFNPROPSHEETCALLBACK = unsafe extern "system" fn ( param0 : super::super::Foundation:: HWND , param1 : u32 , param2 : super::super::Foundation:: LPARAM ) -> i32 ; impl :: std :: clone :: Clone for PROPSHEETHEADERA_V2 { fn clone ( & self ) -> Self { unimplemented ! ( ) } } # [ repr ( C ) ] pub struct PROPSHEETHEADERA_V2 { pub dwSize : u32 , pub dwFlags : u32 , pub hwndParent : super::super::Foundation:: HWND , pub hInstance : super::super::Foundation:: HINSTANCE , pub Anonymous1 : PROPSHEETHEADERA_V2_0 , pub pszCaption : super::super::Foundation:: PSTR , pub nPages : u32 , pub Anonymous2 : PROPSHEETHEADERA_V2_1 , pub Anonymous3 : PROPSHEETHEADERA_V2_2 , pub pfnCallback : :: std :: option :: Option < PFNPROPSHEETCALLBACK > , pub Anonymous4 : PROPSHEETHEADERA_V2_3 , pub hplWatermark : super::super::Graphics::Gdi:: HPALETTE , pub Anonymous5 : PROPSHEETHEADERA_V2_4 } impl PROPSHEETHEADERA_V2 { } impl :: std :: cmp :: PartialEq for PROPSHEETHEADERA_V2 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for PROPSHEETHEADERA_V2 { } # [ repr ( C ) ] # [ doc ( hidden ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct PROPSHEETHEADERA_V2_abi { pub dwSize : u32 , pub dwFlags : u32 , pub hwndParent : super::super::Foundation:: HWND , pub hInstance : super::super::Foundation:: HINSTANCE , pub Anonymous1 : PROPSHEETHEADERA_V2_0 , pub pszCaption : super::super::Foundation:: PSTR , pub nPages : u32 , pub Anonymous2 : PROPSHEETHEADERA_V2_1 , pub Anonymous3 : PROPSHEETHEADERA_V2_2 , pub pfnCallback : :: windows :: RawPtr , pub Anonymous4 : PROPSHEETHEADERA_V2_3 , pub hplWatermark : super::super::Graphics::Gdi:: HPALETTE , pub Anonymous5 : PROPSHEETHEADERA_V2_4 } unsafe impl :: windows :: Abi for PROPSHEETHEADERA_V2 { type Abi = PROPSHEETHEADERA_V2_abi ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union PROPSHEETHEADERA_V2_0 { pub hIcon : super::WindowsAndMessaging:: HICON , pub pszIcon : super::super::Foundation:: PSTR } impl PROPSHEETHEADERA_V2_0 { } impl :: std :: cmp :: PartialEq for PROPSHEETHEADERA_V2_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for PROPSHEETHEADERA_V2_0 { } unsafe impl :: windows :: Abi for PROPSHEETHEADERA_V2_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union PROPSHEETHEADERA_V2_1 { pub nStartPage : u32 , pub pStartPage : super::super::Foundation:: PSTR } impl PROPSHEETHEADERA_V2_1 { } impl :: std :: cmp :: PartialEq for PROPSHEETHEADERA_V2_1 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for PROPSHEETHEADERA_V2_1 { } unsafe impl :: windows :: Abi for PROPSHEETHEADERA_V2_1 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union PROPSHEETHEADERA_V2_2 { pub ppsp : * mut PROPSHEETPAGEA_abi , pub phpage : * mut HPROPSHEETPAGE } impl PROPSHEETHEADERA_V2_2 { } impl :: std :: cmp :: PartialEq for PROPSHEETHEADERA_V2_2 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for PROPSHEETHEADERA_V2_2 { } unsafe impl :: windows :: Abi for PROPSHEETHEADERA_V2_2 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union PROPSHEETHEADERA_V2_3 { pub hbmWatermark : super::super::Graphics::Gdi:: HBITMAP , pub pszbmWatermark : super::super::Foundation:: PSTR } impl PROPSHEETHEADERA_V2_3 { } impl :: std :: cmp :: PartialEq for PROPSHEETHEADERA_V2_3 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for PROPSHEETHEADERA_V2_3 { } unsafe impl :: windows :: Abi for PROPSHEETHEADERA_V2_3 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union PROPSHEETHEADERA_V2_4 { pub hbmHeader : super::super::Graphics::Gdi:: HBITMAP , pub pszbmHeader : super::super::Foundation:: PSTR } impl PROPSHEETHEADERA_V2_4 { } impl :: std :: cmp :: PartialEq for PROPSHEETHEADERA_V2_4 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for PROPSHEETHEADERA_V2_4 { } unsafe impl :: windows :: Abi for PROPSHEETHEADERA_V2_4 { type Abi = Self ; type DefaultType = Self ; } impl :: std :: clone :: Clone for PROPSHEETHEADERW_V2 { fn clone ( & self ) -> Self { unimplemented ! ( ) } } # [ repr ( C ) ] pub struct PROPSHEETHEADERW_V2 { pub dwSize : u32 , pub dwFlags : u32 , pub hwndParent : super::super::Foundation:: HWND , pub hInstance : super::super::Foundation:: HINSTANCE , pub Anonymous1 : PROPSHEETHEADERW_V2_0 , pub pszCaption : super::super::Foundation:: PWSTR , pub nPages : u32 , pub Anonymous2 : PROPSHEETHEADERW_V2_1 , pub Anonymous3 : PROPSHEETHEADERW_V2_2 , pub pfnCallback : :: std :: option :: Option < PFNPROPSHEETCALLBACK > , pub Anonymous4 : PROPSHEETHEADERW_V2_3 , pub hplWatermark : super::super::Graphics::Gdi:: HPALETTE , pub Anonymous5 : PROPSHEETHEADERW_V2_4 } impl PROPSHEETHEADERW_V2 { } impl :: std :: cmp :: PartialEq for PROPSHEETHEADERW_V2 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for PROPSHEETHEADERW_V2 { } # [ repr ( C ) ] # [ doc ( hidden ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct PROPSHEETHEADERW_V2_abi { pub dwSize : u32 , pub dwFlags : u32 , pub hwndParent : super::super::Foundation:: HWND , pub hInstance : super::super::Foundation:: HINSTANCE , pub Anonymous1 : PROPSHEETHEADERW_V2_0 , pub pszCaption : super::super::Foundation:: PWSTR , pub nPages : u32 , pub Anonymous2 : PROPSHEETHEADERW_V2_1 , pub Anonymous3 : PROPSHEETHEADERW_V2_2 , pub pfnCallback : :: windows :: RawPtr , pub Anonymous4 : PROPSHEETHEADERW_V2_3 , pub hplWatermark : super::super::Graphics::Gdi:: HPALETTE , pub Anonymous5 : PROPSHEETHEADERW_V2_4 } unsafe impl :: windows :: Abi for PROPSHEETHEADERW_V2 { type Abi = PROPSHEETHEADERW_V2_abi ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union PROPSHEETHEADERW_V2_0 { pub hIcon : super::WindowsAndMessaging:: HICON , pub pszIcon : super::super::Foundation:: PWSTR } impl PROPSHEETHEADERW_V2_0 { } impl :: std :: cmp :: PartialEq for PROPSHEETHEADERW_V2_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for PROPSHEETHEADERW_V2_0 { } unsafe impl :: windows :: Abi for PROPSHEETHEADERW_V2_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union PROPSHEETHEADERW_V2_1 { pub nStartPage : u32 , pub pStartPage : super::super::Foundation:: PWSTR } impl PROPSHEETHEADERW_V2_1 { } impl :: std :: cmp :: PartialEq for PROPSHEETHEADERW_V2_1 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for PROPSHEETHEADERW_V2_1 { } unsafe impl :: windows :: Abi for PROPSHEETHEADERW_V2_1 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union PROPSHEETHEADERW_V2_2 { pub ppsp : * mut PROPSHEETPAGEW_abi , pub phpage : * mut HPROPSHEETPAGE } impl PROPSHEETHEADERW_V2_2 { } impl :: std :: cmp :: PartialEq for PROPSHEETHEADERW_V2_2 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for PROPSHEETHEADERW_V2_2 { } unsafe impl :: windows :: Abi for PROPSHEETHEADERW_V2_2 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union PROPSHEETHEADERW_V2_3 { pub hbmWatermark : super::super::Graphics::Gdi:: HBITMAP , pub pszbmWatermark : super::super::Foundation:: PWSTR } impl PROPSHEETHEADERW_V2_3 { } impl :: std :: cmp :: PartialEq for PROPSHEETHEADERW_V2_3 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for PROPSHEETHEADERW_V2_3 { } unsafe impl :: windows :: Abi for PROPSHEETHEADERW_V2_3 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union PROPSHEETHEADERW_V2_4 { pub hbmHeader : super::super::Graphics::Gdi:: HBITMAP , pub pszbmHeader : super::super::Foundation:: PWSTR } impl PROPSHEETHEADERW_V2_4 { } impl :: std :: cmp :: PartialEq for PROPSHEETHEADERW_V2_4 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for PROPSHEETHEADERW_V2_4 { } unsafe impl :: windows :: Abi for PROPSHEETHEADERW_V2_4 { type Abi = Self ; type DefaultType = Self ; } impl :: std :: clone :: Clone for PROPSHEETPAGEA { fn clone ( & self ) -> Self { unimplemented ! ( ) } } # [ repr ( C ) ] pub struct PROPSHEETPAGEA { pub dwSize : u32 , pub dwFlags : u32 , pub hInstance : super::super::Foundation:: HINSTANCE , pub Anonymous1 : PROPSHEETPAGEA_0 , pub Anonymous2 : PROPSHEETPAGEA_1 , pub pszTitle : super::super::Foundation:: PSTR , pub pfnDlgProc : :: std :: option :: Option < super::WindowsAndMessaging:: DLGPROC > , pub lParam : super::super::Foundation:: LPARAM , pub pfnCallback : :: std :: option :: Option < LPFNPSPCALLBACKA > , pub pcRefParent : * mut u32 , pub pszHeaderTitle : super::super::Foundation:: PSTR , pub pszHeaderSubTitle : super::super::Foundation:: PSTR , pub hActCtx : super::super::Foundation:: HANDLE , pub Anonymous3 : PROPSHEETPAGEA_2 } impl PROPSHEETPAGEA { } impl :: std :: cmp :: PartialEq for PROPSHEETPAGEA { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for PROPSHEETPAGEA { } # [ repr ( C ) ] # [ doc ( hidden ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct PROPSHEETPAGEA_abi { pub dwSize : u32 , pub dwFlags : u32 , pub hInstance : super::super::Foundation:: HINSTANCE , pub Anonymous1 : PROPSHEETPAGEA_0 , pub Anonymous2 : PROPSHEETPAGEA_1 , pub pszTitle : super::super::Foundation:: PSTR , pub pfnDlgProc : :: windows :: RawPtr , pub lParam : super::super::Foundation:: LPARAM , pub pfnCallback : :: windows :: RawPtr , pub pcRefParent : * mut u32 , pub pszHeaderTitle : super::super::Foundation:: PSTR , pub pszHeaderSubTitle : super::super::Foundation:: PSTR , pub hActCtx : super::super::Foundation:: HANDLE , pub Anonymous3 : PROPSHEETPAGEA_2 } unsafe impl :: windows :: Abi for PROPSHEETPAGEA { type Abi = PROPSHEETPAGEA_abi ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union PROPSHEETPAGEA_0 { pub pszTemplate : super::super::Foundation:: PSTR , pub pResource : * mut super::WindowsAndMessaging:: DLGTEMPLATE } impl PROPSHEETPAGEA_0 { } impl :: std :: cmp :: PartialEq for PROPSHEETPAGEA_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for PROPSHEETPAGEA_0 { } unsafe impl :: windows :: Abi for PROPSHEETPAGEA_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union PROPSHEETPAGEA_1 { pub hIcon : super::WindowsAndMessaging:: HICON , pub pszIcon : super::super::Foundation:: PSTR } impl PROPSHEETPAGEA_1 { } impl :: std :: cmp :: PartialEq for PROPSHEETPAGEA_1 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for PROPSHEETPAGEA_1 { } unsafe impl :: windows :: Abi for PROPSHEETPAGEA_1 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union PROPSHEETPAGEA_2 { pub hbmHeader : super::super::Graphics::Gdi:: HBITMAP , pub pszbmHeader : super::super::Foundation:: PSTR } impl PROPSHEETPAGEA_2 { } impl :: std :: cmp :: PartialEq for PROPSHEETPAGEA_2 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for PROPSHEETPAGEA_2 { } unsafe impl :: windows :: Abi for PROPSHEETPAGEA_2 { type Abi = Self ; type DefaultType = Self ; } impl :: std :: clone :: Clone for PROPSHEETPAGEW { fn clone ( & self ) -> Self { unimplemented ! ( ) } } # [ repr ( C ) ] pub struct PROPSHEETPAGEW { pub dwSize : u32 , pub dwFlags : u32 , pub hInstance : super::super::Foundation:: HINSTANCE , pub Anonymous1 : PROPSHEETPAGEW_0 , pub Anonymous2 : PROPSHEETPAGEW_1 , pub pszTitle : super::super::Foundation:: PWSTR , pub pfnDlgProc : :: std :: option :: Option < super::WindowsAndMessaging:: DLGPROC > , pub lParam : super::super::Foundation:: LPARAM , pub pfnCallback : :: std :: option :: Option < LPFNPSPCALLBACKW > , pub pcRefParent : * mut u32 , pub pszHeaderTitle : super::super::Foundation:: PWSTR , pub pszHeaderSubTitle : super::super::Foundation:: PWSTR , pub hActCtx : super::super::Foundation:: HANDLE , pub Anonymous3 : PROPSHEETPAGEW_2 } impl PROPSHEETPAGEW { } impl :: std :: cmp :: PartialEq for PROPSHEETPAGEW { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for PROPSHEETPAGEW { } # [ repr ( C ) ] # [ doc ( hidden ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct PROPSHEETPAGEW_abi { pub dwSize : u32 , pub dwFlags : u32 , pub hInstance : super::super::Foundation:: HINSTANCE , pub Anonymous1 : PROPSHEETPAGEW_0 , pub Anonymous2 : PROPSHEETPAGEW_1 , pub pszTitle : super::super::Foundation:: PWSTR , pub pfnDlgProc : :: windows :: RawPtr , pub lParam : super::super::Foundation:: LPARAM , pub pfnCallback : :: windows :: RawPtr , pub pcRefParent : * mut u32 , pub pszHeaderTitle : super::super::Foundation:: PWSTR , pub pszHeaderSubTitle : super::super::Foundation:: PWSTR , pub hActCtx : super::super::Foundation:: HANDLE , pub Anonymous3 : PROPSHEETPAGEW_2 } unsafe impl :: windows :: Abi for PROPSHEETPAGEW { type Abi = PROPSHEETPAGEW_abi ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union PROPSHEETPAGEW_0 { pub pszTemplate : super::super::Foundation:: PWSTR , pub pResource : * mut super::WindowsAndMessaging:: DLGTEMPLATE } impl PROPSHEETPAGEW_0 { } impl :: std :: cmp :: PartialEq for PROPSHEETPAGEW_0 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for PROPSHEETPAGEW_0 { } unsafe impl :: windows :: Abi for PROPSHEETPAGEW_0 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union PROPSHEETPAGEW_1 { pub hIcon : super::WindowsAndMessaging:: HICON , pub pszIcon : super::super::Foundation:: PWSTR } impl PROPSHEETPAGEW_1 { } impl :: std :: cmp :: PartialEq for PROPSHEETPAGEW_1 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for PROPSHEETPAGEW_1 { } unsafe impl :: windows :: Abi for PROPSHEETPAGEW_1 { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub union PROPSHEETPAGEW_2 { pub hbmHeader : super::super::Graphics::Gdi:: HBITMAP , pub pszbmHeader : super::super::Foundation:: PWSTR } impl PROPSHEETPAGEW_2 { } impl :: std :: cmp :: PartialEq for PROPSHEETPAGEW_2 { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for PROPSHEETPAGEW_2 { } unsafe impl :: windows :: Abi for PROPSHEETPAGEW_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 PSPCB_MESSAGE ( pub u32 ) ; pub const PSPCB_ADDREF : PSPCB_MESSAGE = PSPCB_MESSAGE ( 0u32 ) ; pub const PSPCB_CREATE : PSPCB_MESSAGE = PSPCB_MESSAGE ( 2u32 ) ; pub const PSPCB_RELEASE : PSPCB_MESSAGE = PSPCB_MESSAGE ( 1u32 ) ; pub const PSPCB_SI_INITDIALOG : PSPCB_MESSAGE = PSPCB_MESSAGE ( 1025u32 ) ; impl :: std :: convert :: From < u32 > for PSPCB_MESSAGE { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for PSPCB_MESSAGE { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for PSPCB_MESSAGE { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for PSPCB_MESSAGE { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for PSPCB_MESSAGE { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for PSPCB_MESSAGE { 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 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 Shell { # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct SOFTDISTINFO { pub cbSize : u32 , pub dwFlags : u32 , pub dwAdState : u32 , pub szTitle : super::super::Foundation:: PWSTR , pub szAbstract : super::super::Foundation:: PWSTR , pub szHREF : super::super::Foundation:: PWSTR , pub dwInstalledVersionMS : u32 , pub dwInstalledVersionLS : u32 , pub dwUpdateVersionMS : u32 , pub dwUpdateVersionLS : u32 , pub dwAdvertisedVersionMS : u32 , pub dwAdvertisedVersionLS : u32 , pub dwReserved : u32 } impl SOFTDISTINFO { } impl :: std :: default :: Default for SOFTDISTINFO { fn default ( ) -> Self { Self { cbSize : 0 , dwFlags : 0 , dwAdState : 0 , szTitle : :: std :: default :: Default :: default ( ) , szAbstract : :: std :: default :: Default :: default ( ) , szHREF : :: std :: default :: Default :: default ( ) , dwInstalledVersionMS : 0 , dwInstalledVersionLS : 0 , dwUpdateVersionMS : 0 , dwUpdateVersionLS : 0 , dwAdvertisedVersionMS : 0 , dwAdvertisedVersionLS : 0 , dwReserved : 0 } } } impl :: std :: fmt :: Debug for SOFTDISTINFO { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "SOFTDISTINFO" ) . field ( "cbSize" , & self . cbSize ) . field ( "dwFlags" , & self . dwFlags ) . field ( "dwAdState" , & self . dwAdState ) . field ( "szTitle" , & self . szTitle ) . field ( "szAbstract" , & self . szAbstract ) . field ( "szHREF" , & self . szHREF ) . field ( "dwInstalledVersionMS" , & self . dwInstalledVersionMS ) . field ( "dwInstalledVersionLS" , & self . dwInstalledVersionLS ) . field ( "dwUpdateVersionMS" , & self . dwUpdateVersionMS ) . field ( "dwUpdateVersionLS" , & self . dwUpdateVersionLS ) . field ( "dwAdvertisedVersionMS" , & self . dwAdvertisedVersionMS ) . field ( "dwAdvertisedVersionLS" , & self . dwAdvertisedVersionLS ) . field ( "dwReserved" , & self . dwReserved ) . finish ( ) } } impl :: std :: cmp :: PartialEq for SOFTDISTINFO { fn eq ( & self , other : & Self ) -> bool { self . cbSize == other . cbSize && self . dwFlags == other . dwFlags && self . dwAdState == other . dwAdState && self . szTitle == other . szTitle && self . szAbstract == other . szAbstract && self . szHREF == other . szHREF && self . dwInstalledVersionMS == other . dwInstalledVersionMS && self . dwInstalledVersionLS == other . dwInstalledVersionLS && self . dwUpdateVersionMS == other . dwUpdateVersionMS && self . dwUpdateVersionLS == other . dwUpdateVersionLS && self . dwAdvertisedVersionMS == other . dwAdvertisedVersionMS && self . dwAdvertisedVersionLS == other . dwAdvertisedVersionLS && self . dwReserved == other . dwReserved } } impl :: std :: cmp :: Eq for SOFTDISTINFO { } unsafe impl :: windows :: Abi for SOFTDISTINFO { 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 UNDOCK_REASON ( pub i32 ) ; pub const UR_RESOLUTION_CHANGE : UNDOCK_REASON = UNDOCK_REASON ( 0i32 ) ; pub const UR_MONITOR_DISCONNECT : UNDOCK_REASON = UNDOCK_REASON ( 1i32 ) ; impl :: std :: convert :: From < i32 > for UNDOCK_REASON { fn from ( value : i32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for UNDOCK_REASON { 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 { pub type DLGPROC = unsafe extern "system" fn ( param0 : super::super::Foundation:: HWND , param1 : u32 , param2 : super::super::Foundation:: WPARAM , param3 : super::super::Foundation:: LPARAM ) -> isize ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C , packed ( 2 ) ) ] pub struct DLGTEMPLATE { pub style : u32 , pub dwExtendedStyle : u32 , pub cdit : u16 , pub x : i16 , pub y : i16 , pub cx : i16 , pub cy : i16 } impl DLGTEMPLATE { } impl :: std :: cmp :: PartialEq for DLGTEMPLATE { fn eq ( & self , _other : & Self ) -> bool { unimplemented ! ( ) } } impl :: std :: cmp :: Eq for DLGTEMPLATE { } unsafe impl :: windows :: Abi for DLGTEMPLATE { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( transparent ) ] pub struct HACCEL ( pub isize ) ; impl HACCEL { } impl :: std :: default :: Default for HACCEL { fn default ( ) -> Self { Self ( 0 ) } } impl HACCEL { pub const NULL : Self = Self ( 0 ) ; pub fn is_null ( & self ) -> bool { self . 0 == 0 } } impl :: std :: fmt :: Debug for HACCEL { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "HACCEL" ) . field ( "Value" , & self .0 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for HACCEL { fn eq ( & self , other : & Self ) -> bool { self .0 == other .0 } } impl :: std :: cmp :: Eq for HACCEL { } unsafe impl :: windows :: Abi for HACCEL { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( transparent ) ] pub struct HCURSOR ( pub isize ) ; impl HCURSOR { } impl :: std :: default :: Default for HCURSOR { fn default ( ) -> Self { Self ( 0 ) } } impl HCURSOR { pub const NULL : Self = Self ( 0 ) ; pub fn is_null ( & self ) -> bool { self . 0 == 0 } } impl :: std :: fmt :: Debug for HCURSOR { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "HCURSOR" ) . field ( "Value" , & self .0 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for HCURSOR { fn eq ( & self , other : & Self ) -> bool { self .0 == other .0 } } impl :: std :: cmp :: Eq for HCURSOR { } unsafe impl :: windows :: Abi for HCURSOR { type Abi = Self ; type DefaultType = Self ; } impl < 'a > :: windows :: IntoParam < 'a , HICON > for HCURSOR { fn into_param ( self ) -> :: windows :: Param < 'a , HICON > { :: windows :: Param :: Owned ( HICON ( self . 0 ) ) } } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( transparent ) ] pub struct HICON ( pub isize ) ; impl HICON { } impl :: std :: default :: Default for HICON { fn default ( ) -> Self { Self ( 0 ) } } impl HICON { pub const NULL : Self = Self ( 0 ) ; pub fn is_null ( & self ) -> bool { self . 0 == 0 } } impl :: std :: fmt :: Debug for HICON { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "HICON" ) . field ( "Value" , & self .0 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for HICON { fn eq ( & self , other : & Self ) -> bool { self .0 == other .0 } } impl :: std :: cmp :: Eq for HICON { } unsafe impl :: windows :: Abi for HICON { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( transparent ) ] pub struct HMENU ( pub isize ) ; impl HMENU { } impl :: std :: default :: Default for HMENU { fn default ( ) -> Self { Self ( 0 ) } } impl HMENU { pub const NULL : Self = Self ( 0 ) ; pub fn is_null ( & self ) -> bool { self . 0 == 0 } } impl :: std :: fmt :: Debug for HMENU { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "HMENU" ) . field ( "Value" , & self .0 ) . finish ( ) } } impl :: std :: cmp :: PartialEq for HMENU { fn eq ( & self , other : & Self ) -> bool { self .0 == other .0 } } impl :: std :: cmp :: Eq for HMENU { } unsafe impl :: windows :: Abi for HMENU { type Abi = Self ; type DefaultType = Self ; } pub type LPOFNHOOKPROC = unsafe extern "system" fn ( param0 : super::super::Foundation:: HWND , param1 : u32 , param2 : super::super::Foundation:: WPARAM , param3 : super::super::Foundation:: LPARAM ) -> usize ; # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] # [ repr ( C ) ] pub struct MSG { pub hwnd : super::super::Foundation:: HWND , pub message : u32 , pub wParam : super::super::Foundation:: WPARAM , pub lParam : super::super::Foundation:: LPARAM , pub time : u32 , pub pt : super::super::Foundation:: POINT } impl MSG { } impl :: std :: default :: Default for MSG { fn default ( ) -> Self { Self { hwnd : :: std :: default :: Default :: default ( ) , message : 0 , wParam : :: std :: default :: Default :: default ( ) , lParam : :: std :: default :: Default :: default ( ) , time : 0 , pt : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for MSG { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "MSG" ) . field ( "hwnd" , & self . hwnd ) . field ( "message" , & self . message ) . field ( "wParam" , & self . wParam ) . field ( "lParam" , & self . lParam ) . field ( "time" , & self . time ) . field ( "pt" , & self . pt ) . finish ( ) } } impl :: std :: cmp :: PartialEq for MSG { fn eq ( & self , other : & Self ) -> bool { self . hwnd == other . hwnd && self . message == other . message && self . wParam == other . wParam && self . lParam == other . lParam && self . time == other . time && self . pt == other . pt } } impl :: std :: cmp :: Eq for MSG { } unsafe impl :: windows :: Abi for MSG { type Abi = Self ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone ) ] # [ repr ( C ) ] pub struct OPENFILENAMEA { pub lStructSize : u32 , pub hwndOwner : super::super::Foundation:: HWND , pub hInstance : super::super::Foundation:: HINSTANCE , pub lpstrFilter : super::super::Foundation:: PSTR , pub lpstrCustomFilter : super::super::Foundation:: PSTR , pub nMaxCustFilter : u32 , pub nFilterIndex : u32 , pub lpstrFile : super::super::Foundation:: PSTR , pub nMaxFile : u32 , pub lpstrFileTitle : super::super::Foundation:: PSTR , pub nMaxFileTitle : u32 , pub lpstrInitialDir : super::super::Foundation:: PSTR , pub lpstrTitle : super::super::Foundation:: PSTR , pub Flags : OPEN_FILENAME_FLAGS , pub nFileOffset : u16 , pub nFileExtension : u16 , pub lpstrDefExt : super::super::Foundation:: PSTR , pub lCustData : super::super::Foundation:: LPARAM , pub lpfnHook : :: std :: option :: Option < LPOFNHOOKPROC > , pub lpTemplateName : super::super::Foundation:: PSTR , pub pvReserved : * mut :: std :: ffi :: c_void , pub dwReserved : u32 , pub FlagsEx : OPEN_FILENAME_FLAGS_EX } impl OPENFILENAMEA { } impl :: std :: default :: Default for OPENFILENAMEA { fn default ( ) -> Self { Self { lStructSize : 0 , hwndOwner : :: std :: default :: Default :: default ( ) , hInstance : :: std :: default :: Default :: default ( ) , lpstrFilter : :: std :: default :: Default :: default ( ) , lpstrCustomFilter : :: std :: default :: Default :: default ( ) , nMaxCustFilter : 0 , nFilterIndex : 0 , lpstrFile : :: std :: default :: Default :: default ( ) , nMaxFile : 0 , lpstrFileTitle : :: std :: default :: Default :: default ( ) , nMaxFileTitle : 0 , lpstrInitialDir : :: std :: default :: Default :: default ( ) , lpstrTitle : :: std :: default :: Default :: default ( ) , Flags : :: std :: default :: Default :: default ( ) , nFileOffset : 0 , nFileExtension : 0 , lpstrDefExt : :: std :: default :: Default :: default ( ) , lCustData : :: std :: default :: Default :: default ( ) , lpfnHook : :: std :: default :: Default :: default ( ) , lpTemplateName : :: std :: default :: Default :: default ( ) , pvReserved : :: std :: ptr :: null_mut ( ) , dwReserved : 0 , FlagsEx : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for OPENFILENAMEA { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "OPENFILENAMEA" ) . field ( "lStructSize" , & self . lStructSize ) . field ( "hwndOwner" , & self . hwndOwner ) . field ( "hInstance" , & self . hInstance ) . field ( "lpstrFilter" , & self . lpstrFilter ) . field ( "lpstrCustomFilter" , & self . lpstrCustomFilter ) . field ( "nMaxCustFilter" , & self . nMaxCustFilter ) . field ( "nFilterIndex" , & self . nFilterIndex ) . field ( "lpstrFile" , & self . lpstrFile ) . field ( "nMaxFile" , & self . nMaxFile ) . field ( "lpstrFileTitle" , & self . lpstrFileTitle ) . field ( "nMaxFileTitle" , & self . nMaxFileTitle ) . field ( "lpstrInitialDir" , & self . lpstrInitialDir ) . field ( "lpstrTitle" , & self . lpstrTitle ) . field ( "Flags" , & self . Flags ) . field ( "nFileOffset" , & self . nFileOffset ) . field ( "nFileExtension" , & self . nFileExtension ) . field ( "lpstrDefExt" , & self . lpstrDefExt ) . field ( "lCustData" , & self . lCustData ) . field ( "lpTemplateName" , & self . lpTemplateName ) . field ( "pvReserved" , & self . pvReserved ) . field ( "dwReserved" , & self . dwReserved ) . field ( "FlagsEx" , & self . FlagsEx ) . finish ( ) } } impl :: std :: cmp :: PartialEq for OPENFILENAMEA { fn eq ( & self , other : & Self ) -> bool { self . lStructSize == other . lStructSize && self . hwndOwner == other . hwndOwner && self . hInstance == other . hInstance && self . lpstrFilter == other . lpstrFilter && self . lpstrCustomFilter == other . lpstrCustomFilter && self . nMaxCustFilter == other . nMaxCustFilter && self . nFilterIndex == other . nFilterIndex && self . lpstrFile == other . lpstrFile && self . nMaxFile == other . nMaxFile && self . lpstrFileTitle == other . lpstrFileTitle && self . nMaxFileTitle == other . nMaxFileTitle && self . lpstrInitialDir == other . lpstrInitialDir && self . lpstrTitle == other . lpstrTitle && self . Flags == other . Flags && self . nFileOffset == other . nFileOffset && self . nFileExtension == other . nFileExtension && self . lpstrDefExt == other . lpstrDefExt && self . lCustData == other . lCustData && self . lpfnHook . map ( | f | f as usize ) == other . lpfnHook . map ( | f | f as usize ) && self . lpTemplateName == other . lpTemplateName && self . pvReserved == other . pvReserved && self . dwReserved == other . dwReserved && self . FlagsEx == other . FlagsEx } } impl :: std :: cmp :: Eq for OPENFILENAMEA { } # [ repr ( C ) ] # [ doc ( hidden ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct OPENFILENAMEA_abi { pub lStructSize : u32 , pub hwndOwner : super::super::Foundation:: HWND , pub hInstance : super::super::Foundation:: HINSTANCE , pub lpstrFilter : super::super::Foundation:: PSTR , pub lpstrCustomFilter : super::super::Foundation:: PSTR , pub nMaxCustFilter : u32 , pub nFilterIndex : u32 , pub lpstrFile : super::super::Foundation:: PSTR , pub nMaxFile : u32 , pub lpstrFileTitle : super::super::Foundation:: PSTR , pub nMaxFileTitle : u32 , pub lpstrInitialDir : super::super::Foundation:: PSTR , pub lpstrTitle : super::super::Foundation:: PSTR , pub Flags : OPEN_FILENAME_FLAGS , pub nFileOffset : u16 , pub nFileExtension : u16 , pub lpstrDefExt : super::super::Foundation:: PSTR , pub lCustData : super::super::Foundation:: LPARAM , pub lpfnHook : :: windows :: RawPtr , pub lpTemplateName : super::super::Foundation:: PSTR , pub pvReserved : * mut :: std :: ffi :: c_void , pub dwReserved : u32 , pub FlagsEx : OPEN_FILENAME_FLAGS_EX } unsafe impl :: windows :: Abi for OPENFILENAMEA { type Abi = OPENFILENAMEA_abi ; type DefaultType = Self ; } # [ derive ( :: std :: clone :: Clone ) ] # [ repr ( C ) ] pub struct OPENFILENAMEW { pub lStructSize : u32 , pub hwndOwner : super::super::Foundation:: HWND , pub hInstance : super::super::Foundation:: HINSTANCE , pub lpstrFilter : super::super::Foundation:: PWSTR , pub lpstrCustomFilter : super::super::Foundation:: PWSTR , pub nMaxCustFilter : u32 , pub nFilterIndex : u32 , pub lpstrFile : super::super::Foundation:: PWSTR , pub nMaxFile : u32 , pub lpstrFileTitle : super::super::Foundation:: PWSTR , pub nMaxFileTitle : u32 , pub lpstrInitialDir : super::super::Foundation:: PWSTR , pub lpstrTitle : super::super::Foundation:: PWSTR , pub Flags : OPEN_FILENAME_FLAGS , pub nFileOffset : u16 , pub nFileExtension : u16 , pub lpstrDefExt : super::super::Foundation:: PWSTR , pub lCustData : super::super::Foundation:: LPARAM , pub lpfnHook : :: std :: option :: Option < LPOFNHOOKPROC > , pub lpTemplateName : super::super::Foundation:: PWSTR , pub pvReserved : * mut :: std :: ffi :: c_void , pub dwReserved : u32 , pub FlagsEx : OPEN_FILENAME_FLAGS_EX } impl OPENFILENAMEW { } impl :: std :: default :: Default for OPENFILENAMEW { fn default ( ) -> Self { Self { lStructSize : 0 , hwndOwner : :: std :: default :: Default :: default ( ) , hInstance : :: std :: default :: Default :: default ( ) , lpstrFilter : :: std :: default :: Default :: default ( ) , lpstrCustomFilter : :: std :: default :: Default :: default ( ) , nMaxCustFilter : 0 , nFilterIndex : 0 , lpstrFile : :: std :: default :: Default :: default ( ) , nMaxFile : 0 , lpstrFileTitle : :: std :: default :: Default :: default ( ) , nMaxFileTitle : 0 , lpstrInitialDir : :: std :: default :: Default :: default ( ) , lpstrTitle : :: std :: default :: Default :: default ( ) , Flags : :: std :: default :: Default :: default ( ) , nFileOffset : 0 , nFileExtension : 0 , lpstrDefExt : :: std :: default :: Default :: default ( ) , lCustData : :: std :: default :: Default :: default ( ) , lpfnHook : :: std :: default :: Default :: default ( ) , lpTemplateName : :: std :: default :: Default :: default ( ) , pvReserved : :: std :: ptr :: null_mut ( ) , dwReserved : 0 , FlagsEx : :: std :: default :: Default :: default ( ) } } } impl :: std :: fmt :: Debug for OPENFILENAMEW { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . debug_struct ( "OPENFILENAMEW" ) . field ( "lStructSize" , & self . lStructSize ) . field ( "hwndOwner" , & self . hwndOwner ) . field ( "hInstance" , & self . hInstance ) . field ( "lpstrFilter" , & self . lpstrFilter ) . field ( "lpstrCustomFilter" , & self . lpstrCustomFilter ) . field ( "nMaxCustFilter" , & self . nMaxCustFilter ) . field ( "nFilterIndex" , & self . nFilterIndex ) . field ( "lpstrFile" , & self . lpstrFile ) . field ( "nMaxFile" , & self . nMaxFile ) . field ( "lpstrFileTitle" , & self . lpstrFileTitle ) . field ( "nMaxFileTitle" , & self . nMaxFileTitle ) . field ( "lpstrInitialDir" , & self . lpstrInitialDir ) . field ( "lpstrTitle" , & self . lpstrTitle ) . field ( "Flags" , & self . Flags ) . field ( "nFileOffset" , & self . nFileOffset ) . field ( "nFileExtension" , & self . nFileExtension ) . field ( "lpstrDefExt" , & self . lpstrDefExt ) . field ( "lCustData" , & self . lCustData ) . field ( "lpTemplateName" , & self . lpTemplateName ) . field ( "pvReserved" , & self . pvReserved ) . field ( "dwReserved" , & self . dwReserved ) . field ( "FlagsEx" , & self . FlagsEx ) . finish ( ) } } impl :: std :: cmp :: PartialEq for OPENFILENAMEW { fn eq ( & self , other : & Self ) -> bool { self . lStructSize == other . lStructSize && self . hwndOwner == other . hwndOwner && self . hInstance == other . hInstance && self . lpstrFilter == other . lpstrFilter && self . lpstrCustomFilter == other . lpstrCustomFilter && self . nMaxCustFilter == other . nMaxCustFilter && self . nFilterIndex == other . nFilterIndex && self . lpstrFile == other . lpstrFile && self . nMaxFile == other . nMaxFile && self . lpstrFileTitle == other . lpstrFileTitle && self . nMaxFileTitle == other . nMaxFileTitle && self . lpstrInitialDir == other . lpstrInitialDir && self . lpstrTitle == other . lpstrTitle && self . Flags == other . Flags && self . nFileOffset == other . nFileOffset && self . nFileExtension == other . nFileExtension && self . lpstrDefExt == other . lpstrDefExt && self . lCustData == other . lCustData && self . lpfnHook . map ( | f | f as usize ) == other . lpfnHook . map ( | f | f as usize ) && self . lpTemplateName == other . lpTemplateName && self . pvReserved == other . pvReserved && self . dwReserved == other . dwReserved && self . FlagsEx == other . FlagsEx } } impl :: std :: cmp :: Eq for OPENFILENAMEW { } # [ repr ( C ) ] # [ doc ( hidden ) ] # [ derive ( :: std :: clone :: Clone , :: std :: marker :: Copy ) ] pub struct OPENFILENAMEW_abi { pub lStructSize : u32 , pub hwndOwner : super::super::Foundation:: HWND , pub hInstance : super::super::Foundation:: HINSTANCE , pub lpstrFilter : super::super::Foundation:: PWSTR , pub lpstrCustomFilter : super::super::Foundation:: PWSTR , pub nMaxCustFilter : u32 , pub nFilterIndex : u32 , pub lpstrFile : super::super::Foundation:: PWSTR , pub nMaxFile : u32 , pub lpstrFileTitle : super::super::Foundation:: PWSTR , pub nMaxFileTitle : u32 , pub lpstrInitialDir : super::super::Foundation:: PWSTR , pub lpstrTitle : super::super::Foundation:: PWSTR , pub Flags : OPEN_FILENAME_FLAGS , pub nFileOffset : u16 , pub nFileExtension : u16 , pub lpstrDefExt : super::super::Foundation:: PWSTR , pub lCustData : super::super::Foundation:: LPARAM , pub lpfnHook : :: windows :: RawPtr , pub lpTemplateName : super::super::Foundation:: PWSTR , pub pvReserved : * mut :: std :: ffi :: c_void , pub dwReserved : u32 , pub FlagsEx : OPEN_FILENAME_FLAGS_EX } unsafe impl :: windows :: Abi for OPENFILENAMEW { type Abi = OPENFILENAMEW_abi ; 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 OPEN_FILENAME_FLAGS ( pub u32 ) ; pub const OFN_READONLY : OPEN_FILENAME_FLAGS = OPEN_FILENAME_FLAGS ( 1u32 ) ; pub const OFN_OVERWRITEPROMPT : OPEN_FILENAME_FLAGS = OPEN_FILENAME_FLAGS ( 2u32 ) ; pub const OFN_HIDEREADONLY : OPEN_FILENAME_FLAGS = OPEN_FILENAME_FLAGS ( 4u32 ) ; pub const OFN_NOCHANGEDIR : OPEN_FILENAME_FLAGS = OPEN_FILENAME_FLAGS ( 8u32 ) ; pub const OFN_SHOWHELP : OPEN_FILENAME_FLAGS = OPEN_FILENAME_FLAGS ( 16u32 ) ; pub const OFN_ENABLEHOOK : OPEN_FILENAME_FLAGS = OPEN_FILENAME_FLAGS ( 32u32 ) ; pub const OFN_ENABLETEMPLATE : OPEN_FILENAME_FLAGS = OPEN_FILENAME_FLAGS ( 64u32 ) ; pub const OFN_ENABLETEMPLATEHANDLE : OPEN_FILENAME_FLAGS = OPEN_FILENAME_FLAGS ( 128u32 ) ; pub const OFN_NOVALIDATE : OPEN_FILENAME_FLAGS = OPEN_FILENAME_FLAGS ( 256u32 ) ; pub const OFN_ALLOWMULTISELECT : OPEN_FILENAME_FLAGS = OPEN_FILENAME_FLAGS ( 512u32 ) ; pub const OFN_EXTENSIONDIFFERENT : OPEN_FILENAME_FLAGS = OPEN_FILENAME_FLAGS ( 1024u32 ) ; pub const OFN_PATHMUSTEXIST : OPEN_FILENAME_FLAGS = OPEN_FILENAME_FLAGS ( 2048u32 ) ; pub const OFN_FILEMUSTEXIST : OPEN_FILENAME_FLAGS = OPEN_FILENAME_FLAGS ( 4096u32 ) ; pub const OFN_CREATEPROMPT : OPEN_FILENAME_FLAGS = OPEN_FILENAME_FLAGS ( 8192u32 ) ; pub const OFN_SHAREAWARE : OPEN_FILENAME_FLAGS = OPEN_FILENAME_FLAGS ( 16384u32 ) ; pub const OFN_NOREADONLYRETURN : OPEN_FILENAME_FLAGS = OPEN_FILENAME_FLAGS ( 32768u32 ) ; pub const OFN_NOTESTFILECREATE : OPEN_FILENAME_FLAGS = OPEN_FILENAME_FLAGS ( 65536u32 ) ; pub const OFN_NONETWORKBUTTON : OPEN_FILENAME_FLAGS = OPEN_FILENAME_FLAGS ( 131072u32 ) ; pub const OFN_NOLONGNAMES : OPEN_FILENAME_FLAGS = OPEN_FILENAME_FLAGS ( 262144u32 ) ; pub const OFN_EXPLORER : OPEN_FILENAME_FLAGS = OPEN_FILENAME_FLAGS ( 524288u32 ) ; pub const OFN_NODEREFERENCELINKS : OPEN_FILENAME_FLAGS = OPEN_FILENAME_FLAGS ( 1048576u32 ) ; pub const OFN_LONGNAMES : OPEN_FILENAME_FLAGS = OPEN_FILENAME_FLAGS ( 2097152u32 ) ; pub const OFN_ENABLEINCLUDENOTIFY : OPEN_FILENAME_FLAGS = OPEN_FILENAME_FLAGS ( 4194304u32 ) ; pub const OFN_ENABLESIZING : OPEN_FILENAME_FLAGS = OPEN_FILENAME_FLAGS ( 8388608u32 ) ; pub const OFN_DONTADDTORECENT : OPEN_FILENAME_FLAGS = OPEN_FILENAME_FLAGS ( 33554432u32 ) ; pub const OFN_FORCESHOWHIDDEN : OPEN_FILENAME_FLAGS = OPEN_FILENAME_FLAGS ( 268435456u32 ) ; impl :: std :: convert :: From < u32 > for OPEN_FILENAME_FLAGS { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for OPEN_FILENAME_FLAGS { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for OPEN_FILENAME_FLAGS { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for OPEN_FILENAME_FLAGS { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for OPEN_FILENAME_FLAGS { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for OPEN_FILENAME_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 OPEN_FILENAME_FLAGS_EX ( pub u32 ) ; pub const OFN_EX_NONE : OPEN_FILENAME_FLAGS_EX = OPEN_FILENAME_FLAGS_EX ( 0u32 ) ; pub const OFN_EX_NOPLACESBAR : OPEN_FILENAME_FLAGS_EX = OPEN_FILENAME_FLAGS_EX ( 1u32 ) ; impl :: std :: convert :: From < u32 > for OPEN_FILENAME_FLAGS_EX { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for OPEN_FILENAME_FLAGS_EX { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for OPEN_FILENAME_FLAGS_EX { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for OPEN_FILENAME_FLAGS_EX { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for OPEN_FILENAME_FLAGS_EX { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for OPEN_FILENAME_FLAGS_EX { 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 SHOW_WINDOW_CMD ( pub u32 ) ; pub const SW_FORCEMINIMIZE : SHOW_WINDOW_CMD = SHOW_WINDOW_CMD ( 11u32 ) ; pub const SW_HIDE : SHOW_WINDOW_CMD = SHOW_WINDOW_CMD ( 0u32 ) ; pub const SW_MAXIMIZE : SHOW_WINDOW_CMD = SHOW_WINDOW_CMD ( 3u32 ) ; pub const SW_MINIMIZE : SHOW_WINDOW_CMD = SHOW_WINDOW_CMD ( 6u32 ) ; pub const SW_RESTORE : SHOW_WINDOW_CMD = SHOW_WINDOW_CMD ( 9u32 ) ; pub const SW_SHOW : SHOW_WINDOW_CMD = SHOW_WINDOW_CMD ( 5u32 ) ; pub const SW_SHOWDEFAULT : SHOW_WINDOW_CMD = SHOW_WINDOW_CMD ( 10u32 ) ; pub const SW_SHOWMAXIMIZED : SHOW_WINDOW_CMD = SHOW_WINDOW_CMD ( 3u32 ) ; pub const SW_SHOWMINIMIZED : SHOW_WINDOW_CMD = SHOW_WINDOW_CMD ( 2u32 ) ; pub const SW_SHOWMINNOACTIVE : SHOW_WINDOW_CMD = SHOW_WINDOW_CMD ( 7u32 ) ; pub const SW_SHOWNA : SHOW_WINDOW_CMD = SHOW_WINDOW_CMD ( 8u32 ) ; pub const SW_SHOWNOACTIVATE : SHOW_WINDOW_CMD = SHOW_WINDOW_CMD ( 4u32 ) ; pub const SW_SHOWNORMAL : SHOW_WINDOW_CMD = SHOW_WINDOW_CMD ( 1u32 ) ; pub const SW_NORMAL : SHOW_WINDOW_CMD = SHOW_WINDOW_CMD ( 1u32 ) ; pub const SW_MAX : SHOW_WINDOW_CMD = SHOW_WINDOW_CMD ( 11u32 ) ; pub const SW_PARENTCLOSING : SHOW_WINDOW_CMD = SHOW_WINDOW_CMD ( 1u32 ) ; pub const SW_OTHERZOOM : SHOW_WINDOW_CMD = SHOW_WINDOW_CMD ( 2u32 ) ; pub const SW_PARENTOPENING : SHOW_WINDOW_CMD = SHOW_WINDOW_CMD ( 3u32 ) ; pub const SW_OTHERUNZOOM : SHOW_WINDOW_CMD = SHOW_WINDOW_CMD ( 4u32 ) ; pub const SW_SCROLLCHILDREN : SHOW_WINDOW_CMD = SHOW_WINDOW_CMD ( 1u32 ) ; pub const SW_INVALIDATE : SHOW_WINDOW_CMD = SHOW_WINDOW_CMD ( 2u32 ) ; pub const SW_ERASE : SHOW_WINDOW_CMD = SHOW_WINDOW_CMD ( 4u32 ) ; pub const SW_SMOOTHSCROLL : SHOW_WINDOW_CMD = SHOW_WINDOW_CMD ( 16u32 ) ; impl :: std :: convert :: From < u32 > for SHOW_WINDOW_CMD { fn from ( value : u32 ) -> Self { Self ( value ) } } unsafe impl :: windows :: Abi for SHOW_WINDOW_CMD { type Abi = Self ; type DefaultType = Self ; } impl :: std :: ops :: BitOr for SHOW_WINDOW_CMD { type Output = Self ; fn bitor ( self , rhs : Self ) -> Self { Self ( self . 0 | rhs . 0 ) } } impl :: std :: ops :: BitAnd for SHOW_WINDOW_CMD { type Output = Self ; fn bitand ( self , rhs : Self ) -> Self { Self ( self . 0 & rhs . 0 ) } } impl :: std :: ops :: BitOrAssign for SHOW_WINDOW_CMD { fn bitor_assign ( & mut self , rhs : Self ) { self . 0 . bitor_assign ( rhs . 0 ) } } impl :: std :: ops :: BitAndAssign for SHOW_WINDOW_CMD { fn bitand_assign ( & mut self , rhs : Self ) { self . 0 . bitand_assign ( rhs . 0 ) } } pub unsafe fn ShowWindow < 'a , > ( hwnd : impl :: windows :: IntoParam < 'a , super::super::Foundation:: HWND > , ncmdshow : SHOW_WINDOW_CMD , ) -> super::super::Foundation:: BOOL { # [ cfg ( windows ) ] { # [ link ( name ="USER32" ) ] extern "system" { fn ShowWindow ( hwnd : super::super::Foundation:: HWND , ncmdshow : SHOW_WINDOW_CMD ) -> super::super::Foundation:: BOOL ; } ShowWindow ( hwnd . into_param ( ) . abi ( ) , :: std :: mem :: transmute ( ncmdshow ) ) } # [ cfg ( not ( windows ) ) ] unimplemented ! ( "Unsupported target OS" ) ; } } } } } [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/yeti-575feabe69de4bdd/out/windows.rs:1:21815 [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [WARN] too much data in the log, truncating it